From a92e30fdf42e7fb363e496efddc5218f8574ee3d Mon Sep 17 00:00:00 2001 From: ShanYi-Hui Date: Thu, 12 Dec 2024 08:20:58 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20syh-micr?= =?UTF-8?q?o-build/mb-admin@b8e7574839039b3a2b6f14da41dff9a01790d5c3=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/{403-CnRHHCrJ.js => 403-C8zlE3NN.js} | 2 +- assets/{404-BKfga0Uu.js => 404-DeNxoW2L.js} | 2 +- assets/{500-COoO2h7N.js => 500-lB2W0Nmh.js} | 2 +- assets/AddButtonPermission-B8TH2K3O.js | 1 - assets/AddButtonPermission-PX8OWnbU.js | 1 + ...e_type_script_setup_true_lang-BMs1Poyx.js} | 2 +- ...lysis-zj_VDP5d.js => Analysis-zpqCMMyB.js} | 2 +- ...e_type_script_setup_true_lang-CA67jKJm.js} | 2 +- ...able-DTkm0w2u.js => CardTable-Bw7janir.js} | 2 +- ...tor-BEzINA0Y.js => CodeEditor-B5qkoQbs.js} | 14 ++-- ...e_type_script_setup_true_lang-DErSb9RI.js} | 2 +- ...e_type_script_setup_true_lang-CzUrEcaT.js} | 2 +- ...ountTo-D4X9qZ89.js => CountTo-CH36VAch.js} | 2 +- ...e_type_script_setup_true_lang-D4Y-eB8W.js} | 2 +- ...rm-Dh9MD6vF.js => DefaultForm-DsmB2kiS.js} | 2 +- ...e-BJJvZkhr.js => DefaultTable-BwJ06UZq.js} | 2 +- ...ent-C5C6D85i.js => Department-CT-Tkbul.js} | 2 +- ...s--u1xvnS0.js => Descriptions-DW3GVgul.js} | 2 +- ...s-CzZKAhwM.js => Descriptions-rpjc8zzb.js} | 2 +- assets/Detail-4sc3_iLC.js | 1 - assets/Detail-BPfZS6hC.js | 1 + assets/Detail-BmxW-dC0.js | 1 + assets/Detail-BtARhvZe.js | 1 - assets/Detail-C2Ng9oK6.js | 1 - assets/Detail-CyFuQtkj.js | 1 + assets/Detail-D0nfR0GF.js | 1 - assets/Detail-DiOqeDqA.js | 1 + assets/Detail-Dt0elAQ9.js | 1 - assets/Detail-djoFnPGT.js | 1 + assets/Detail-hm17oh4g.js | 1 + assets/Detail-m7a5N8W2.js | 1 - ...e_type_script_setup_true_lang-BRFp-Yeo.js} | 2 +- ...e_type_script_setup_true_lang-CCD8ZcPJ.js} | 2 +- ...e_type_script_setup_true_lang-Cny8NhwP.js} | 2 +- ...e_type_script_setup_true_lang-Mv9acJJj.js} | 2 +- ...e_type_script_setup_true_lang-OorPkSVl.js} | 2 +- ...e_type_script_setup_true_lang-aWVdu_MR.js} | 2 +- ...{Dialog-DJZkjZet.js => Dialog-C5agpchq.js} | 2 +- ...e_vue_type_style_index_0_lang-BoblqZ6B.js} | 2 +- assets/Echart-5azuN68U.js | 1 - assets/Echart-DmGiZfu_.js | 1 + ...e_type_script_setup_true_lang-8zTOKyf-.js} | 2 +- ...e_type_script_setup_true_lang-BvfM6q8e.js} | 2 +- ...{Editor-DFQI76OW.js => Editor-B3tCMAco.js} | 2 +- ...e_type_script_setup_true_lang--bmLm9t-.js} | 2 +- ...Add-it-453Mt.js => ExampleAdd-DrUZi0UV.js} | 2 +- ...-DCEa9X2-.js => ExampleDetail-CJG4v3wL.js} | 2 +- ...-C8ADQ1fU.js => ExampleDialog-CfF_W4Cz.js} | 2 +- ...it-CR38Szb2.js => ExampleEdit-DeJwcuSy.js} | 2 +- ...ge-CQvORskv.js => ExamplePage-DOesSW2Q.js} | 2 +- assets/{Form-Cq-QZJdy.js => Form-BTUMYN5B.js} | 2 +- .../{Guide-BcwvGLxh.js => Guide-DyAdza91.js} | 2 +- ...ight-Cl0yHROR.js => Highlight-CKZh1vpZ.js} | 2 +- ...ight.vue_vue_type_script_lang-BFIi4_k_.js} | 2 +- ...eView-Bh1E7SjH.js => HomeView-Dc4x2cQA.js} | 2 +- assets/{Icon-CdhVCYkm.js => Icon-BTLftY2_.js} | 2 +- assets/{Icon-DlM7WIYN.js => Icon-Dqr2xHxm.js} | 2 +- ...ker-DQ9E_oKs.js => IconPicker-DRoe2BX4.js} | 2 +- ...ker-BDI0d7RO.js => IconPicker-xreVUfVq.js} | 2 +- ...-BsfX8iwY.js => ImageCropping-DxUYpy0B.js} | 2 +- ...er-BCj9bDfj.js => ImageViewer-BOf9L9uI.js} | 2 +- ...nfotip-BqE8s74y.js => Infotip-GXE8Z7-L.js} | 2 +- ...e_type_script_setup_true_lang-DijMvXPW.js} | 2 +- ...-B_t5xWgQ.js => InputPassword-B4kdpMyw.js} | 2 +- ...-B5LjKqPC.js => InputPassword-Bb3KYe36.js} | 2 +- ...tor-BGmKji5m.js => JsonEditor-zaPyVnuj.js} | 2 +- ...e_type_script_setup_true_lang-3XSTlyWf.js} | 2 +- assets/Layout-DgfJ2_4Z.js | 65 +++++++++++++++++++ assets/Layout-Dyynae5W.js | 65 ------------------- ...ayout-9p1-t-kF.css => Layout-LFIB6Af9.css} | 2 +- .../{Login-DZqDEiBM.js => Login-ulpAKuw2.js} | 2 +- assets/LoginForm-BaIImPr6.js | 1 + assets/LoginForm-CBofAzQ_.js | 1 - ...e_type_script_setup_true_lang-BJnt7Swo.js} | 2 +- assets/{Menu-BnxyyFaH.js => Menu-juqxCjCo.js} | 2 +- ...enu111-CTvkJeB3.js => Menu111-BYJERKej.js} | 2 +- ...{Menu12-CwOmbDhY.js => Menu12-CV0PrZli.js} | 2 +- .../{Menu2-eNKIVwxQ.js => Menu2-DmSnK1_9.js} | 2 +- ...s-aIk0Mle1.js => MultipleTabs-Bh9UBkkQ.js} | 2 +- ...OUOpYL.js => MultipleTabsDemo-Dih0tn0w.js} | 2 +- ...oup-BQ99DrB-.js => PanelGroup-DFIPybM9.js} | 2 +- ...{Qrcode-uZHiTaF5.js => Qrcode-DVJsoV0Q.js} | 2 +- assets/RegisterForm-BTz8enix.js | 1 + assets/RegisterForm-Bk48RHaa.js | 1 - ...e_type_script_setup_true_lang-rMaeBqbr.js} | 2 +- ...equest-BOZrtJGd.js => Request-BxlDewr2.js} | 2 +- assets/{Role-ekj1GbUi.js => Role-CNvE3WMG.js} | 2 +- ...{Search-CnrbA_Xc.js => Search-DgAux1Qa.js} | 2 +- ...e_type_script_setup_true_lang-BJBGl7Mf.js} | 2 +- ...able.vue_vue_type_script_lang-DWskqAmn.js} | 2 +- ...d2aaJ.js => TableImagePreview-TQvekAeQ.js} | 2 +- ...ykb1S.js => TableVideoPreview-dskQFQoF.js} | 2 +- assets/{Test-B45QZFfm.js => Test-D54RbRsz.js} | 2 +- ...ch-Ct6XHugw.js => ThemeSwitch-F8Fn7TL9.js} | 2 +- ...able-VW3aBxkT.js => TreeTable-Cdrgo-oH.js} | 2 +- ...mo-DZPTJ2XC.js => UseFormDemo-DpljFsZ8.js} | 2 +- ...o-CYYBYN6L.js => UseTableDemo-Dz53_phS.js} | 2 +- assets/{User-B4SjHWuj.js => User-ClfDpmHQ.js} | 2 +- ...er-Cp5IbmHZ.js => VideoPlayer-D61ftkwv.js} | 2 +- ...fall-DtRTP80y.js => Waterfall-Cl9cBNyL.js} | 2 +- ...lace-BeEV4fv_.js => Workplace-bECAtLqj.js} | 2 +- assets/Write-BuCNNk6h.js | 1 + assets/Write-Bw97qwh5.js | 1 - assets/Write-CHNSlToc.js | 1 + assets/Write-CYvj7Ptn.js | 1 + assets/Write-C_erNWyS.js | 1 - assets/Write-DnmvdHta.js | 1 - assets/Write-DnyGiie8.js | 1 + assets/Write-HeqJSiNs.js | 1 - assets/Write-LswfH9i1.js | 1 - assets/Write-mP3B8ACp.js | 1 - assets/Write-o_Ty8ubp.js | 1 + assets/Write-v5CwIKFi.js | 1 + ...e_type_script_setup_true_lang-B4zYXPIq.js} | 2 +- ...e_type_script_setup_true_lang-BxVx4IpO.js} | 2 +- ...e_type_script_setup_true_lang-CUmHDdQF.js} | 2 +- ...e_type_script_setup_true_lang-Cpi5XeJB.js} | 2 +- ...e_type_script_setup_true_lang-sb3KtAtc.js} | 2 +- ...e_type_script_setup_true_lang-yRGGtvFF.js} | 2 +- ...ssMode-Dfh5t4w7.js => cssMode-BcjICpkS.js} | 2 +- ...NBtg-nU.js => el-radio-button-DcVH7Drv.js} | 2 +- ...r2-CWHnVJ6v.js => freemarker2-Du7UvBnj.js} | 2 +- ...ars-CmWypNxw.js => handlebars-Bwish1Ot.js} | 2 +- assets/{html-D-endfds.js => html-BAsTLnFe.js} | 2 +- ...lMode-CiORHnUy.js => htmlMode-PXBApk8t.js} | 2 +- assets/index-547q2w5n.css | 1 - .../{index-DVP3NWK5.js => index-B_-BHM8A.js} | 2 +- assets/index-BxYrjAxU.js | 1 + assets/index-CjJH7ccC.js | 1 - assets/index-D9LF1rJ-.css | 1 + .../{index-BQQdmLe5.js => index-DBEGipag.js} | 2 +- .../{index-CPGYCljv.js => index-Dw2-9OhJ.js} | 2 +- assets/index-eEONdqWJ.js | 1 - assets/index-iuvt-R6t.js | 1 + .../{index-DFQGkRZD.js => index-wRPr5Q4s.js} | 2 +- .../{index-DHbc4UQl.js => index-wnyZ7Zvr.js} | 4 +- ...ipt-DxDXNr0Y.js => javascript-CxJNxUap.js} | 2 +- ...nMode-CxL1oSpF.js => jsonMode-DSsbwNx-.js} | 2 +- ...{liquid-D2ShIWRF.js => liquid-CAEorw33.js} | 2 +- assets/{mdx-CNUEAJY1.js => mdx-DiXs2CiW.js} | 2 +- ...{python-BkHK70YH.js => python-BLX68HFQ.js} | 2 +- .../{razor-BpYgokUT.js => razor-D4UnLl2f.js} | 2 +- ...e_style_index_0_src_true_lang-Cea37_-4.js} | 2 +- ...{tsMode-LtsHhXxD.js => tsMode-DDWCoP3Q.js} | 2 +- ...ipt-DydL70xz.js => typescript-M-1CxcOC.js} | 2 +- ...d-DvdUTWVq.js => useClipboard-DEl80QDH.js} | 2 +- ...EqAlQvZJ.js => useCrudSchemas-Bpoua2iq.js} | 2 +- ...seForm-B1_iUn_7.js => useForm-B3urKjox.js} | 2 +- assets/useIcon-B724d8dT.js | 1 + assets/useIcon-CKHK9-or.js | 1 - ...ork-OuhEptXZ.js => useNetwork-B4kGtv6d.js} | 2 +- ...Table-B0KZmPSP.js => useTable-CCTWSpiR.js} | 2 +- ...ew-DGPX7zkv.js => useTagsView-Cuqnabeg.js} | 2 +- ...ew-CijhIO7t.js => useTagsView-zngDgP3k.js} | 2 +- ...r--00tdyYQ.js => useValidator-BWnAimwi.js} | 2 +- ...k-DaAwyLnq.js => useWatermark-B0SmaTRL.js} | 2 +- assets/{xml-yajEARIc.js => xml-BelG5VnH.js} | 2 +- assets/{yaml-ChWugdwZ.js => yaml-UQHD_GqP.js} | 2 +- index.html | 4 +- 159 files changed, 210 insertions(+), 210 deletions(-) rename assets/{403-CnRHHCrJ.js => 403-C8zlE3NN.js} (60%) rename assets/{404-BKfga0Uu.js => 404-DeNxoW2L.js} (59%) rename assets/{500-COoO2h7N.js => 500-lB2W0Nmh.js} (60%) delete mode 100644 assets/AddButtonPermission-B8TH2K3O.js create mode 100644 assets/AddButtonPermission-PX8OWnbU.js rename assets/{AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js => AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js} (85%) rename assets/{Analysis-zj_VDP5d.js => Analysis-zpqCMMyB.js} (89%) rename assets/{Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js => Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js} (96%) rename assets/{CardTable-DTkm0w2u.js => CardTable-Bw7janir.js} (81%) rename assets/{CodeEditor-BEzINA0Y.js => CodeEditor-B5qkoQbs.js} (99%) rename assets/{ContentDetailWrap.vue_vue_type_script_setup_true_lang-BkzQY2Fe.js => ContentDetailWrap.vue_vue_type_script_setup_true_lang-DErSb9RI.js} (90%) rename assets/{ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js => ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js} (87%) rename assets/{CountTo-D4X9qZ89.js => CountTo-CH36VAch.js} (90%) rename assets/{CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js => CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js} (97%) rename assets/{DefaultForm-Dh9MD6vF.js => DefaultForm-DsmB2kiS.js} (96%) rename assets/{DefaultTable-BJJvZkhr.js => DefaultTable-BwJ06UZq.js} (74%) rename assets/{Department-C5C6D85i.js => Department-CT-Tkbul.js} (80%) rename assets/{Descriptions--u1xvnS0.js => Descriptions-DW3GVgul.js} (81%) rename assets/{Descriptions-CzZKAhwM.js => Descriptions-rpjc8zzb.js} (96%) delete mode 100644 assets/Detail-4sc3_iLC.js create mode 100644 assets/Detail-BPfZS6hC.js create mode 100644 assets/Detail-BmxW-dC0.js delete mode 100644 assets/Detail-BtARhvZe.js delete mode 100644 assets/Detail-C2Ng9oK6.js create mode 100644 assets/Detail-CyFuQtkj.js delete mode 100644 assets/Detail-D0nfR0GF.js create mode 100644 assets/Detail-DiOqeDqA.js delete mode 100644 assets/Detail-Dt0elAQ9.js create mode 100644 assets/Detail-djoFnPGT.js create mode 100644 assets/Detail-hm17oh4g.js delete mode 100644 assets/Detail-m7a5N8W2.js rename assets/{Detail.vue_vue_type_script_setup_true_lang-7ShYqy7f.js => Detail.vue_vue_type_script_setup_true_lang-BRFp-Yeo.js} (82%) rename assets/{Detail.vue_vue_type_script_setup_true_lang-BRxK8yrz.js => Detail.vue_vue_type_script_setup_true_lang-CCD8ZcPJ.js} (90%) rename assets/{Detail.vue_vue_type_script_setup_true_lang-JbtuF_S2.js => Detail.vue_vue_type_script_setup_true_lang-Cny8NhwP.js} (82%) rename assets/{Detail.vue_vue_type_script_setup_true_lang-HZfjDJgG.js => Detail.vue_vue_type_script_setup_true_lang-Mv9acJJj.js} (85%) rename assets/{Detail.vue_vue_type_script_setup_true_lang-DH3x2BBE.js => Detail.vue_vue_type_script_setup_true_lang-OorPkSVl.js} (93%) rename assets/{Detail.vue_vue_type_script_setup_true_lang-CaWgxeP_.js => Detail.vue_vue_type_script_setup_true_lang-aWVdu_MR.js} (81%) rename assets/{Dialog-DJZkjZet.js => Dialog-C5agpchq.js} (71%) rename assets/{Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js => Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js} (97%) delete mode 100644 assets/Echart-5azuN68U.js create mode 100644 assets/Echart-DmGiZfu_.js rename assets/{Echart.vue_vue_type_script_setup_true_lang-CQl_xxzM.js => Echart.vue_vue_type_script_setup_true_lang-8zTOKyf-.js} (86%) rename assets/{Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js => Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js} (98%) rename assets/{Editor-DFQI76OW.js => Editor-B3tCMAco.js} (83%) rename assets/{Error.vue_vue_type_script_setup_true_lang-B0aIg5iw.js => Error.vue_vue_type_script_setup_true_lang--bmLm9t-.js} (88%) rename assets/{ExampleAdd-it-453Mt.js => ExampleAdd-DrUZi0UV.js} (64%) rename assets/{ExampleDetail-DCEa9X2-.js => ExampleDetail-CJG4v3wL.js} (65%) rename assets/{ExampleDialog-C8ADQ1fU.js => ExampleDialog-CfF_W4Cz.js} (80%) rename assets/{ExampleEdit-CR38Szb2.js => ExampleEdit-DeJwcuSy.js} (67%) rename assets/{ExamplePage-CQvORskv.js => ExamplePage-DOesSW2Q.js} (82%) rename assets/{Form-Cq-QZJdy.js => Form-BTUMYN5B.js} (95%) rename assets/{Guide-BcwvGLxh.js => Guide-DyAdza91.js} (98%) rename assets/{Highlight-Cl0yHROR.js => Highlight-CKZh1vpZ.js} (73%) rename assets/{Highlight.vue_vue_type_script_lang-DurFEquh.js => Highlight.vue_vue_type_script_lang-BFIi4_k_.js} (91%) rename assets/{HomeView-Bh1E7SjH.js => HomeView-Dc4x2cQA.js} (86%) rename assets/{Icon-CdhVCYkm.js => Icon-BTLftY2_.js} (99%) rename assets/{Icon-DlM7WIYN.js => Icon-Dqr2xHxm.js} (81%) rename assets/{IconPicker-DQ9E_oKs.js => IconPicker-DRoe2BX4.js} (99%) rename assets/{IconPicker-BDI0d7RO.js => IconPicker-xreVUfVq.js} (64%) rename assets/{ImageCropping-BsfX8iwY.js => ImageCropping-DxUYpy0B.js} (99%) rename assets/{ImageViewer-BCj9bDfj.js => ImageViewer-BOf9L9uI.js} (88%) rename assets/{Infotip-BqE8s74y.js => Infotip-GXE8Z7-L.js} (67%) rename assets/{Infotip.vue_vue_type_script_setup_true_lang-nMjZ8saZ.js => Infotip.vue_vue_type_script_setup_true_lang-DijMvXPW.js} (85%) rename assets/{InputPassword-B_t5xWgQ.js => InputPassword-B4kdpMyw.js} (99%) rename assets/{InputPassword-B5LjKqPC.js => InputPassword-Bb3KYe36.js} (79%) rename assets/{JsonEditor-BGmKji5m.js => JsonEditor-zaPyVnuj.js} (77%) rename assets/{JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js => JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js} (99%) create mode 100644 assets/Layout-DgfJ2_4Z.js delete mode 100644 assets/Layout-Dyynae5W.js rename assets/{Layout-9p1-t-kF.css => Layout-LFIB6Af9.css} (95%) rename assets/{Login-DZqDEiBM.js => Login-ulpAKuw2.js} (78%) create mode 100644 assets/LoginForm-BaIImPr6.js delete mode 100644 assets/LoginForm-CBofAzQ_.js rename assets/{LoginForm.vue_vue_type_script_setup_true_lang-B_w0J2SY.js => LoginForm.vue_vue_type_script_setup_true_lang-BJnt7Swo.js} (90%) rename assets/{Menu-BnxyyFaH.js => Menu-juqxCjCo.js} (72%) rename assets/{Menu111-CTvkJeB3.js => Menu111-BYJERKej.js} (72%) rename assets/{Menu12-CwOmbDhY.js => Menu12-CV0PrZli.js} (72%) rename assets/{Menu2-eNKIVwxQ.js => Menu2-DmSnK1_9.js} (72%) rename assets/{MultipleTabs-aIk0Mle1.js => MultipleTabs-Bh9UBkkQ.js} (74%) rename assets/{MultipleTabsDemo-kTOUOpYL.js => MultipleTabsDemo-Dih0tn0w.js} (73%) rename assets/{PanelGroup-BQ99DrB-.js => PanelGroup-DFIPybM9.js} (95%) rename assets/{Qrcode-uZHiTaF5.js => Qrcode-DVJsoV0Q.js} (99%) create mode 100644 assets/RegisterForm-BTz8enix.js delete mode 100644 assets/RegisterForm-Bk48RHaa.js rename assets/{RegisterForm.vue_vue_type_script_setup_true_lang-BNRPQB3d.js => RegisterForm.vue_vue_type_script_setup_true_lang-rMaeBqbr.js} (92%) rename assets/{Request-BOZrtJGd.js => Request-BxlDewr2.js} (92%) rename assets/{Role-ekj1GbUi.js => Role-CNvE3WMG.js} (73%) rename assets/{Search-CnrbA_Xc.js => Search-DgAux1Qa.js} (87%) rename assets/{Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js => Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js} (96%) rename assets/{Table.vue_vue_type_script_lang-B22YyWum.js => Table.vue_vue_type_script_lang-DWskqAmn.js} (99%) rename assets/{TableImagePreview-7urd2aaJ.js => TableImagePreview-TQvekAeQ.js} (71%) rename assets/{TableVideoPreview-Do6ykb1S.js => TableVideoPreview-dskQFQoF.js} (69%) rename assets/{Test-B45QZFfm.js => Test-D54RbRsz.js} (90%) rename assets/{ThemeSwitch-Ct6XHugw.js => ThemeSwitch-F8Fn7TL9.js} (71%) rename assets/{TreeTable-VW3aBxkT.js => TreeTable-Cdrgo-oH.js} (74%) rename assets/{UseFormDemo-DZPTJ2XC.js => UseFormDemo-DpljFsZ8.js} (88%) rename assets/{UseTableDemo-CYYBYN6L.js => UseTableDemo-Dz53_phS.js} (88%) rename assets/{User-B4SjHWuj.js => User-ClfDpmHQ.js} (84%) rename assets/{VideoPlayer-Cp5IbmHZ.js => VideoPlayer-D61ftkwv.js} (65%) rename assets/{Waterfall-DtRTP80y.js => Waterfall-Cl9cBNyL.js} (97%) rename assets/{Workplace-BeEV4fv_.js => Workplace-bECAtLqj.js} (95%) create mode 100644 assets/Write-BuCNNk6h.js delete mode 100644 assets/Write-Bw97qwh5.js create mode 100644 assets/Write-CHNSlToc.js create mode 100644 assets/Write-CYvj7Ptn.js delete mode 100644 assets/Write-C_erNWyS.js delete mode 100644 assets/Write-DnmvdHta.js create mode 100644 assets/Write-DnyGiie8.js delete mode 100644 assets/Write-HeqJSiNs.js delete mode 100644 assets/Write-LswfH9i1.js delete mode 100644 assets/Write-mP3B8ACp.js create mode 100644 assets/Write-o_Ty8ubp.js create mode 100644 assets/Write-v5CwIKFi.js rename assets/{Write.vue_vue_type_script_setup_true_lang-CcmM6xjl.js => Write.vue_vue_type_script_setup_true_lang-B4zYXPIq.js} (87%) rename assets/{Write.vue_vue_type_script_setup_true_lang-CPowj1Ha.js => Write.vue_vue_type_script_setup_true_lang-BxVx4IpO.js} (87%) rename assets/{Write.vue_vue_type_script_setup_true_lang-CCaiKO23.js => Write.vue_vue_type_script_setup_true_lang-CUmHDdQF.js} (91%) rename assets/{Write.vue_vue_type_script_setup_true_lang-DWoLw2ys.js => Write.vue_vue_type_script_setup_true_lang-Cpi5XeJB.js} (93%) rename assets/{Write.vue_vue_type_script_setup_true_lang-yBnrTVwy.js => Write.vue_vue_type_script_setup_true_lang-sb3KtAtc.js} (88%) rename assets/{Write.vue_vue_type_script_setup_true_lang-CckuT9uE.js => Write.vue_vue_type_script_setup_true_lang-yRGGtvFF.js} (94%) rename assets/{cssMode-Dfh5t4w7.js => cssMode-BcjICpkS.js} (99%) rename assets/{el-radio-button-BNBtg-nU.js => el-radio-button-DcVH7Drv.js} (70%) rename assets/{freemarker2-CWHnVJ6v.js => freemarker2-Du7UvBnj.js} (98%) rename assets/{handlebars-CmWypNxw.js => handlebars-Bwish1Ot.js} (96%) rename assets/{html-D-endfds.js => html-BAsTLnFe.js} (95%) rename assets/{htmlMode-CiORHnUy.js => htmlMode-PXBApk8t.js} (99%) delete mode 100644 assets/index-547q2w5n.css rename assets/{index-DVP3NWK5.js => index-B_-BHM8A.js} (86%) create mode 100644 assets/index-BxYrjAxU.js delete mode 100644 assets/index-CjJH7ccC.js create mode 100644 assets/index-D9LF1rJ-.css rename assets/{index-BQQdmLe5.js => index-DBEGipag.js} (99%) rename assets/{index-CPGYCljv.js => index-Dw2-9OhJ.js} (81%) delete mode 100644 assets/index-eEONdqWJ.js create mode 100644 assets/index-iuvt-R6t.js rename assets/{index-DFQGkRZD.js => index-wRPr5Q4s.js} (83%) rename assets/{index-DHbc4UQl.js => index-wnyZ7Zvr.js} (96%) rename assets/{javascript-DxDXNr0Y.js => javascript-CxJNxUap.js} (80%) rename assets/{jsonMode-CxL1oSpF.js => jsonMode-DSsbwNx-.js} (99%) rename assets/{liquid-D2ShIWRF.js => liquid-CAEorw33.js} (94%) rename assets/{mdx-CNUEAJY1.js => mdx-DiXs2CiW.js} (95%) rename assets/{python-BkHK70YH.js => python-BLX68HFQ.js} (94%) rename assets/{razor-BpYgokUT.js => razor-D4UnLl2f.js} (97%) rename assets/{style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js => style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js} (96%) rename assets/{tsMode-LtsHhXxD.js => tsMode-DDWCoP3Q.js} (98%) rename assets/{typescript-DydL70xz.js => typescript-M-1CxcOC.js} (95%) rename assets/{useClipboard-DvdUTWVq.js => useClipboard-DEl80QDH.js} (85%) rename assets/{useCrudSchemas-EqAlQvZJ.js => useCrudSchemas-Bpoua2iq.js} (91%) rename assets/{useForm-B1_iUn_7.js => useForm-B3urKjox.js} (96%) create mode 100644 assets/useIcon-B724d8dT.js delete mode 100644 assets/useIcon-CKHK9-or.js rename assets/{useNetwork-OuhEptXZ.js => useNetwork-B4kGtv6d.js} (84%) rename assets/{useTable-B0KZmPSP.js => useTable-CCTWSpiR.js} (93%) rename assets/{useTagsView-DGPX7zkv.js => useTagsView-Cuqnabeg.js} (81%) rename assets/{useTagsView-CijhIO7t.js => useTagsView-zngDgP3k.js} (92%) rename assets/{useValidator--00tdyYQ.js => useValidator-BWnAimwi.js} (73%) rename assets/{useWatermark-DaAwyLnq.js => useWatermark-B0SmaTRL.js} (83%) rename assets/{xml-yajEARIc.js => xml-BelG5VnH.js} (91%) rename assets/{yaml-ChWugdwZ.js => yaml-UQHD_GqP.js} (94%) diff --git a/assets/403-CnRHHCrJ.js b/assets/403-C8zlE3NN.js similarity index 60% rename from assets/403-CnRHHCrJ.js rename to assets/403-C8zlE3NN.js index b4d73247..12aebaa1 100644 --- a/assets/403-CnRHHCrJ.js +++ b/assets/403-C8zlE3NN.js @@ -1 +1 @@ -import{_ as t}from"./Error.vue_vue_type_script_setup_true_lang-B0aIg5iw.js";import{c as a}from"./index-DHbc4UQl.js";import{y as n,aA as c,z as p,K as i,u as m}from"./vue-chunks-ChjHxF1G.js";import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./element-plus-CUBv5pjL.js";const C=n({__name:"403",setup(u){const{push:r}=c(),e=a(),s=()=>{var o;r((o=e.addRouters[0])==null?void 0:o.path)};return(o,_)=>(p(),i(m(t),{type:"403",onErrorClick:s}))}});export{C as default}; +import{_ as t}from"./Error.vue_vue_type_script_setup_true_lang--bmLm9t-.js";import{c as a}from"./index-wnyZ7Zvr.js";import{y as n,aA as c,z as p,K as i,u as m}from"./vue-chunks-ChjHxF1G.js";import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./element-plus-CUBv5pjL.js";const C=n({__name:"403",setup(u){const{push:r}=c(),e=a(),s=()=>{var o;r((o=e.addRouters[0])==null?void 0:o.path)};return(o,_)=>(p(),i(m(t),{type:"403",onErrorClick:s}))}});export{C as default}; diff --git a/assets/404-BKfga0Uu.js b/assets/404-DeNxoW2L.js similarity index 59% rename from assets/404-BKfga0Uu.js rename to assets/404-DeNxoW2L.js index 0116d688..45a6dd74 100644 --- a/assets/404-BKfga0Uu.js +++ b/assets/404-DeNxoW2L.js @@ -1 +1 @@ -import{_ as t}from"./Error.vue_vue_type_script_setup_true_lang-B0aIg5iw.js";import{c as a}from"./index-DHbc4UQl.js";import{y as n,aA as c,z as i,K as m,u as p}from"./vue-chunks-ChjHxF1G.js";import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./element-plus-CUBv5pjL.js";const C=n({__name:"404",setup(u){const{push:r}=c(),s=a(),e=()=>{var o;r((o=s.addRouters[0])==null?void 0:o.path)};return(o,_)=>(i(),m(p(t),{onErrorClick:e}))}});export{C as default}; +import{_ as t}from"./Error.vue_vue_type_script_setup_true_lang--bmLm9t-.js";import{c as a}from"./index-wnyZ7Zvr.js";import{y as n,aA as c,z as i,K as m,u as p}from"./vue-chunks-ChjHxF1G.js";import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./element-plus-CUBv5pjL.js";const C=n({__name:"404",setup(u){const{push:r}=c(),s=a(),e=()=>{var o;r((o=s.addRouters[0])==null?void 0:o.path)};return(o,_)=>(i(),m(p(t),{onErrorClick:e}))}});export{C as default}; diff --git a/assets/500-COoO2h7N.js b/assets/500-lB2W0Nmh.js similarity index 60% rename from assets/500-COoO2h7N.js rename to assets/500-lB2W0Nmh.js index 7c0137d8..d3d31678 100644 --- a/assets/500-COoO2h7N.js +++ b/assets/500-lB2W0Nmh.js @@ -1 +1 @@ -import{_ as t}from"./Error.vue_vue_type_script_setup_true_lang-B0aIg5iw.js";import{c as a}from"./index-DHbc4UQl.js";import{y as n,aA as c,z as p,K as i,u as m}from"./vue-chunks-ChjHxF1G.js";import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./element-plus-CUBv5pjL.js";const C=n({__name:"500",setup(u){const{push:r}=c(),e=a(),s=()=>{var o;r((o=e.addRouters[0])==null?void 0:o.path)};return(o,_)=>(p(),i(m(t),{type:"500",onErrorClick:s}))}});export{C as default}; +import{_ as t}from"./Error.vue_vue_type_script_setup_true_lang--bmLm9t-.js";import{c as a}from"./index-wnyZ7Zvr.js";import{y as n,aA as c,z as p,K as i,u as m}from"./vue-chunks-ChjHxF1G.js";import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./element-plus-CUBv5pjL.js";const C=n({__name:"500",setup(u){const{push:r}=c(),e=a(),s=()=>{var o;r((o=e.addRouters[0])==null?void 0:o.path)};return(o,_)=>(p(),i(m(t),{type:"500",onErrorClick:s}))}});export{C as default}; diff --git a/assets/AddButtonPermission-B8TH2K3O.js b/assets/AddButtonPermission-B8TH2K3O.js deleted file mode 100644 index 242cb538..00000000 --- a/assets/AddButtonPermission-B8TH2K3O.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js";import"./Form-Cq-QZJdy.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css *//* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";export{o as default}; diff --git a/assets/AddButtonPermission-PX8OWnbU.js b/assets/AddButtonPermission-PX8OWnbU.js new file mode 100644 index 00000000..0fd167b7 --- /dev/null +++ b/assets/AddButtonPermission-PX8OWnbU.js @@ -0,0 +1 @@ +import{_ as o}from"./AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js";import"./Form-BTUMYN5B.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css *//* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";export{o as default}; diff --git a/assets/AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js b/assets/AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js similarity index 85% rename from assets/AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js rename to assets/AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js index c60d5324..f24bf34a 100644 --- a/assets/AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js +++ b/assets/AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js @@ -1 +1 @@ -var V=(d,f,e)=>new Promise((n,i)=>{var p=o=>{try{t(e.next(o))}catch(l){i(l)}},c=o=>{try{t(e.throw(o))}catch(l){i(l)}},t=o=>o.done?n(o.value):Promise.resolve(o.value).then(p,c);t((e=e.apply(d,f)).next())});import{F as B}from"./Form-Cq-QZJdy.js";import"./index-DHbc4UQl.js";/* empty css */import{u as C}from"./useForm-B1_iUn_7.js";import{u as _}from"./useValidator-Nt61Jv1p.js";import{_ as g}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{a9 as k}from"./element-plus-CUBv5pjL.js";import{y as x,aD as F,aC as M,W as w,z as N,K as P,L as u,O as v,u as m,D as R,a4 as D}from"./vue-chunks-ChjHxF1G.js";const T=x({__name:"AddButtonPermission",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:F(["confirm"],["update:modelValue"]),setup(d,{emit:f}){const e=M(d,"modelValue"),{required:n}=_(),i=w([{field:"label",label:"label",component:"Input",colProps:{span:24}},{field:"value",label:"value",component:"Input",colProps:{span:24}}]),{formRegister:p,formMethods:c}=C(),{getFormData:t,getElFormExpose:o}=c,l=f,b=w({label:[n()],value:[n()]}),y=()=>V(this,null,function*(){const r=yield o();if(!r)return;if(yield r==null?void 0:r.validate().catch(s=>{})){const s=yield t();s.id=Date.now(),l("confirm",s),e.value=!1}});return(r,a)=>(N(),P(m(k),{modelValue:e.value,"onUpdate:modelValue":a[1]||(a[1]=s=>e.value=s),title:"新增按钮权限"},{default:u(()=>[v(m(B),{rules:b,onRegister:m(p),schema:i},null,8,["rules","onRegister","schema"])]),footer:u(()=>[R("div",null,[v(m(g),{onClick:a[0]||(a[0]=()=>e.value=!1)},{default:u(()=>a[2]||(a[2]=[D("取消")])),_:1}),v(m(g),{type:"primary",onClick:y},{default:u(()=>a[3]||(a[3]=[D("确认")])),_:1})])]),_:1},8,["modelValue"]))}});export{T as _}; +var V=(d,f,e)=>new Promise((n,i)=>{var p=o=>{try{t(e.next(o))}catch(l){i(l)}},c=o=>{try{t(e.throw(o))}catch(l){i(l)}},t=o=>o.done?n(o.value):Promise.resolve(o.value).then(p,c);t((e=e.apply(d,f)).next())});import{F as B}from"./Form-BTUMYN5B.js";import"./index-wnyZ7Zvr.js";/* empty css */import{u as C}from"./useForm-B3urKjox.js";import{u as _}from"./useValidator-Nt61Jv1p.js";import{_ as g}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{a9 as k}from"./element-plus-CUBv5pjL.js";import{y as x,aD as F,aC as M,W as w,z as N,K as P,L as u,O as v,u as m,D as R,a4 as D}from"./vue-chunks-ChjHxF1G.js";const T=x({__name:"AddButtonPermission",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:F(["confirm"],["update:modelValue"]),setup(d,{emit:f}){const e=M(d,"modelValue"),{required:n}=_(),i=w([{field:"label",label:"label",component:"Input",colProps:{span:24}},{field:"value",label:"value",component:"Input",colProps:{span:24}}]),{formRegister:p,formMethods:c}=C(),{getFormData:t,getElFormExpose:o}=c,l=f,b=w({label:[n()],value:[n()]}),y=()=>V(this,null,function*(){const r=yield o();if(!r)return;if(yield r==null?void 0:r.validate().catch(s=>{})){const s=yield t();s.id=Date.now(),l("confirm",s),e.value=!1}});return(r,a)=>(N(),P(m(k),{modelValue:e.value,"onUpdate:modelValue":a[1]||(a[1]=s=>e.value=s),title:"新增按钮权限"},{default:u(()=>[v(m(B),{rules:b,onRegister:m(p),schema:i},null,8,["rules","onRegister","schema"])]),footer:u(()=>[R("div",null,[v(m(g),{onClick:a[0]||(a[0]=()=>e.value=!1)},{default:u(()=>a[2]||(a[2]=[D("取消")])),_:1}),v(m(g),{type:"primary",onClick:y},{default:u(()=>a[3]||(a[3]=[D("确认")])),_:1})])]),_:1},8,["modelValue"]))}});export{T as _}; diff --git a/assets/Analysis-zj_VDP5d.js b/assets/Analysis-zpqCMMyB.js similarity index 89% rename from assets/Analysis-zj_VDP5d.js rename to assets/Analysis-zpqCMMyB.js index 12d34b8a..db7447c2 100644 --- a/assets/Analysis-zj_VDP5d.js +++ b/assets/Analysis-zpqCMMyB.js @@ -1 +1 @@ -var c=(x,l,i)=>new Promise((u,r)=>{var g=o=>{try{p(i.next(o))}catch(a){r(a)}},m=o=>{try{p(i.throw(o))}catch(a){r(a)}},p=o=>o.done?u(o.value):Promise.resolve(o.value).then(g,m);p((i=i.apply(x,l)).next())});import{P as v,g as w,a as b,b as O}from"./PanelGroup-BQ99DrB-.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{p as E,b as k,l as S,_ as f}from"./Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js";import"./echarts-DNv_PrpY.js";import{k as h,l as _,m as y,n as D,s as d}from"./element-plus-CUBv5pjL.js";import{y as C,r as U,W as A,z as P,A as W,O as e,L as n,u as s,I as B}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js";const H=C({__name:"Analysis",setup(x){const l=U(!0),i=A(E),u=()=>c(this,null,function*(){const a=yield w().catch(()=>{});a&&(d(i,"legend.data",a.data.map(t=>t.name)),i.series[0].data=a.data.map(t=>({name:t.name,value:t.value})))}),r=A(k),g=()=>c(this,null,function*(){const a=yield b().catch(()=>{});a&&(d(r,"xAxis.data",a.data.map(t=>t.name)),d(r,"series",[{name:"活跃量",data:a.data.map(t=>t.value),type:"bar"}]))}),m=A(S),p=()=>c(this,null,function*(){const a=yield O().catch(()=>{});a&&(d(m,"xAxis.data",a.data.map(t=>t.name)),d(m,"series",[{name:"预计",smooth:!0,type:"line",data:a.data.map(t=>t.estimate),animationDuration:2800,animationEasing:"cubicInOut"},{name:"实际",smooth:!0,type:"line",itemStyle:{},data:a.data.map(t=>t.actual),animationDuration:2800,animationEasing:"quadraticOut"}]))});return c(this,null,function*(){yield Promise.all([u(),g(),p()]),l.value=!1}),(a,t)=>(P(),W(B,null,[e(v),e(s(D),{gutter:20,justify:"space-between"},{default:n(()=>[e(s(h),{xl:10,lg:10,md:24,sm:24,xs:24},{default:n(()=>[e(s(_),{shadow:"hover",class:"mb-20px"},{default:n(()=>[e(s(y),{loading:l.value,animated:""},{default:n(()=>[e(s(f),{options:i,height:300},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(h),{xl:14,lg:14,md:24,sm:24,xs:24},{default:n(()=>[e(s(_),{shadow:"hover",class:"mb-20px"},{default:n(()=>[e(s(y),{loading:l.value,animated:""},{default:n(()=>[e(s(f),{options:r,height:300},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(h),{span:24},{default:n(()=>[e(s(_),{shadow:"hover",class:"mb-20px"},{default:n(()=>[e(s(y),{loading:l.value,animated:"",rows:4},{default:n(()=>[e(s(f),{options:m,height:350},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})],64))}});export{H as default}; +var c=(x,l,i)=>new Promise((u,r)=>{var g=o=>{try{p(i.next(o))}catch(a){r(a)}},m=o=>{try{p(i.throw(o))}catch(a){r(a)}},p=o=>o.done?u(o.value):Promise.resolve(o.value).then(g,m);p((i=i.apply(x,l)).next())});import{P as v,g as w,a as b,b as O}from"./PanelGroup-DFIPybM9.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{p as E,b as k,l as S,_ as f}from"./Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js";import"./echarts-DNv_PrpY.js";import{k as h,l as _,m as y,n as D,s as d}from"./element-plus-CUBv5pjL.js";import{y as C,r as U,W as A,z as P,A as W,O as e,L as n,u as s,I as B}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js";const H=C({__name:"Analysis",setup(x){const l=U(!0),i=A(E),u=()=>c(this,null,function*(){const a=yield w().catch(()=>{});a&&(d(i,"legend.data",a.data.map(t=>t.name)),i.series[0].data=a.data.map(t=>({name:t.name,value:t.value})))}),r=A(k),g=()=>c(this,null,function*(){const a=yield b().catch(()=>{});a&&(d(r,"xAxis.data",a.data.map(t=>t.name)),d(r,"series",[{name:"活跃量",data:a.data.map(t=>t.value),type:"bar"}]))}),m=A(S),p=()=>c(this,null,function*(){const a=yield O().catch(()=>{});a&&(d(m,"xAxis.data",a.data.map(t=>t.name)),d(m,"series",[{name:"预计",smooth:!0,type:"line",data:a.data.map(t=>t.estimate),animationDuration:2800,animationEasing:"cubicInOut"},{name:"实际",smooth:!0,type:"line",itemStyle:{},data:a.data.map(t=>t.actual),animationDuration:2800,animationEasing:"quadraticOut"}]))});return c(this,null,function*(){yield Promise.all([u(),g(),p()]),l.value=!1}),(a,t)=>(P(),W(B,null,[e(v),e(s(D),{gutter:20,justify:"space-between"},{default:n(()=>[e(s(h),{xl:10,lg:10,md:24,sm:24,xs:24},{default:n(()=>[e(s(_),{shadow:"hover",class:"mb-20px"},{default:n(()=>[e(s(y),{loading:l.value,animated:""},{default:n(()=>[e(s(f),{options:i,height:300},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(h),{xl:14,lg:14,md:24,sm:24,xs:24},{default:n(()=>[e(s(_),{shadow:"hover",class:"mb-20px"},{default:n(()=>[e(s(y),{loading:l.value,animated:""},{default:n(()=>[e(s(f),{options:r,height:300},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(h),{span:24},{default:n(()=>[e(s(_),{shadow:"hover",class:"mb-20px"},{default:n(()=>[e(s(y),{loading:l.value,animated:"",rows:4},{default:n(()=>[e(s(f),{options:m,height:350},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})],64))}});export{H as default}; diff --git a/assets/Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js b/assets/Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js similarity index 96% rename from assets/Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js rename to assets/Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js index 181aad87..cfb13817 100644 --- a/assets/Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js +++ b/assets/Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js @@ -1 +1 @@ -var B=Object.defineProperty;var f=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var u=(o,e,t)=>e in o?B(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,p=(o,e)=>{for(var t in e||(e={}))g.call(e,t)&&u(o,t,e[t]);if(f)for(var t of f(e))S.call(e,t)&&u(o,t,e[t]);return o};import{u as b}from"./index-DHbc4UQl.js";import{a3 as k}from"./element-plus-CUBv5pjL.js";import{y as v,c as r,z as C,K as h,L as j,B as s,C as x,u as i}from"./vue-chunks-ChjHxF1G.js";const z=v({__name:"Button",props:{size:{type:String,default:void 0},type:{type:String,default:"default"},disabled:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},text:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},link:{type:Boolean,default:!1},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingIcon:{type:[String,Object],default:void 0},icon:{type:[String,Object],default:void 0},autofocus:{type:Boolean,default:!1},nativeType:{type:String,default:"button"},autoInsertSpace:{type:Boolean,default:!1},color:{type:String,default:""},darker:{type:Boolean,default:!1},tag:{type:[String,Object],default:"button"}},emits:["click"],setup(o,{emit:e}){const t=b(),c=r(()=>t.getTheme),n=o,d=e,y=r(()=>{const{type:l,link:a}=n;return l==="primary"&&!a?i(c).elColorPrimary:""}),m=r(()=>{const{type:l,link:a}=n;return l==="primary"&&!a?"--el-button-text-color: #fff; --el-button-hover-text-color: #fff":""});return(l,a)=>(C(),h(i(k),x({class:"button color-#fff"},p({},n),{color:y.value,style:m.value,onClick:a[0]||(a[0]=()=>d("click"))}),{default:j(()=>[s(l.$slots,"default"),s(l.$slots,"icon"),s(l.$slots,"loading")]),_:3},16,["color","style"]))}});export{z as _}; +var B=Object.defineProperty;var f=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var u=(o,e,t)=>e in o?B(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,p=(o,e)=>{for(var t in e||(e={}))g.call(e,t)&&u(o,t,e[t]);if(f)for(var t of f(e))S.call(e,t)&&u(o,t,e[t]);return o};import{u as b}from"./index-wnyZ7Zvr.js";import{a3 as k}from"./element-plus-CUBv5pjL.js";import{y as v,c as r,z as C,K as h,L as j,B as s,C as x,u as i}from"./vue-chunks-ChjHxF1G.js";const z=v({__name:"Button",props:{size:{type:String,default:void 0},type:{type:String,default:"default"},disabled:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},text:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},link:{type:Boolean,default:!1},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingIcon:{type:[String,Object],default:void 0},icon:{type:[String,Object],default:void 0},autofocus:{type:Boolean,default:!1},nativeType:{type:String,default:"button"},autoInsertSpace:{type:Boolean,default:!1},color:{type:String,default:""},darker:{type:Boolean,default:!1},tag:{type:[String,Object],default:"button"}},emits:["click"],setup(o,{emit:e}){const t=b(),c=r(()=>t.getTheme),n=o,d=e,y=r(()=>{const{type:l,link:a}=n;return l==="primary"&&!a?i(c).elColorPrimary:""}),m=r(()=>{const{type:l,link:a}=n;return l==="primary"&&!a?"--el-button-text-color: #fff; --el-button-hover-text-color: #fff":""});return(l,a)=>(C(),h(i(k),x({class:"button color-#fff"},p({},n),{color:y.value,style:m.value,onClick:a[0]||(a[0]=()=>d("click"))}),{default:j(()=>[s(l.$slots,"default"),s(l.$slots,"icon"),s(l.$slots,"loading")]),_:3},16,["color","style"]))}});export{z as _}; diff --git a/assets/CardTable-DTkm0w2u.js b/assets/CardTable-Bw7janir.js similarity index 81% rename from assets/CardTable-DTkm0w2u.js rename to assets/CardTable-Bw7janir.js index a8be3034..f6b3ee2e 100644 --- a/assets/CardTable-DTkm0w2u.js +++ b/assets/CardTable-Bw7janir.js @@ -1 +1 @@ -var f=(m,c,s)=>new Promise((_,a)=>{var n=i=>{try{t(s.next(i))}catch(d){a(d)}},e=i=>{try{t(s.throw(i))}catch(d){a(d)}},t=i=>i.done?_(i.value):Promise.resolve(i.value).then(n,e);t((s=s.apply(m,c)).next())});import{_ as h}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as C}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{b as k}from"./index-DFQGkRZD.js";/* empty css *//* empty css */import{r as u,q as b}from"./element-plus-CUBv5pjL.js";import{y,r as x,z as L,K as T,L as r,O as p,u as l,D as o,Q as g,a4 as v}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./index-BQQdmLe5.js";const z={class:"flex cursor-pointer"},B={class:"pr-16px"},D=["src"],w={class:"mb-12px font-700 font-size-16px"},N={class:"line-clamp-3 font-size-12px"},V={class:"flex justify-center items-center"},E=["onClick"],S=["onClick"],st=y({__name:"CardTable",setup(m){const c=x(!0),s=x([]);(n=>f(this,null,function*(){const e=yield k({pageIndex:1,pageSize:10}).catch(()=>{}).finally(()=>{c.value=!1});e&&(s.value=e.data.list)}))();const a=n=>{};return(n,e)=>(L(),T(l(h),{title:"卡片表格"},{default:r(()=>[p(l(C),{columns:[],data:s.value,loading:c.value,"custom-content":"","card-wrap-style":{width:"200px",marginBottom:"20px",marginRight:"20px"}},{content:r(t=>[o("div",z,[o("div",B,[o("img",{src:t.logo,class:"w-48px h-48px rounded-[50%]",alt:""},null,8,D)]),o("div",null,[o("div",w,g(t.name),1),o("div",N,g(t.desc),1)])])]),"content-footer":r(t=>[o("div",V,[o("div",{class:"flex-1 text-center",onClick:()=>a(t)},[p(l(u),{underline:!1},{default:r(()=>e[0]||(e[0]=[v("操作一")])),_:1})],8,E),p(l(b),{direction:"vertical"}),o("div",{class:"flex-1 text-center",onClick:()=>a(t)},[p(l(u),{underline:!1},{default:r(()=>e[1]||(e[1]=[v("操作二")])),_:1})],8,S)])]),_:1},8,["data","loading"])]),_:1}))}});export{st as default}; +var f=(m,c,s)=>new Promise((_,a)=>{var n=i=>{try{t(s.next(i))}catch(d){a(d)}},e=i=>{try{t(s.throw(i))}catch(d){a(d)}},t=i=>i.done?_(i.value):Promise.resolve(i.value).then(n,e);t((s=s.apply(m,c)).next())});import{_ as h}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as C}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{b as k}from"./index-wRPr5Q4s.js";/* empty css *//* empty css */import{r as u,q as b}from"./element-plus-CUBv5pjL.js";import{y,r as x,z as L,K as T,L as r,O as p,u as l,D as o,Q as g,a4 as v}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./index-DBEGipag.js";const z={class:"flex cursor-pointer"},B={class:"pr-16px"},D=["src"],w={class:"mb-12px font-700 font-size-16px"},N={class:"line-clamp-3 font-size-12px"},V={class:"flex justify-center items-center"},E=["onClick"],S=["onClick"],st=y({__name:"CardTable",setup(m){const c=x(!0),s=x([]);(n=>f(this,null,function*(){const e=yield k({pageIndex:1,pageSize:10}).catch(()=>{}).finally(()=>{c.value=!1});e&&(s.value=e.data.list)}))();const a=n=>{};return(n,e)=>(L(),T(l(h),{title:"卡片表格"},{default:r(()=>[p(l(C),{columns:[],data:s.value,loading:c.value,"custom-content":"","card-wrap-style":{width:"200px",marginBottom:"20px",marginRight:"20px"}},{content:r(t=>[o("div",z,[o("div",B,[o("img",{src:t.logo,class:"w-48px h-48px rounded-[50%]",alt:""},null,8,D)]),o("div",null,[o("div",w,g(t.name),1),o("div",N,g(t.desc),1)])])]),"content-footer":r(t=>[o("div",V,[o("div",{class:"flex-1 text-center",onClick:()=>a(t)},[p(l(u),{underline:!1},{default:r(()=>e[0]||(e[0]=[v("操作一")])),_:1})],8,E),p(l(b),{direction:"vertical"}),o("div",{class:"flex-1 text-center",onClick:()=>a(t)},[p(l(u),{underline:!1},{default:r(()=>e[1]||(e[1]=[v("操作二")])),_:1})],8,S)])]),_:1},8,["data","loading"])]),_:1}))}});export{st as default}; diff --git a/assets/CodeEditor-BEzINA0Y.js b/assets/CodeEditor-B5qkoQbs.js similarity index 99% rename from assets/CodeEditor-BEzINA0Y.js rename to assets/CodeEditor-B5qkoQbs.js index 60e087b3..43a85bd5 100644 --- a/assets/CodeEditor-BEzINA0Y.js +++ b/assets/CodeEditor-B5qkoQbs.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/freemarker2-CWHnVJ6v.js","assets/index-DHbc4UQl.js","assets/vue-chunks-ChjHxF1G.js","assets/element-plus-CUBv5pjL.js","assets/index-547q2w5n.css","assets/ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js","assets/Icon-CdhVCYkm.js","assets/Icon-D-aJjhUp.css","assets/el-card-fwQOLwdi.css","assets/el-popper-DG5wR-qi.css","assets/Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js","assets/el-tag-DljBBxJR.css","assets/el-select-BaQA8IKP.css","assets/el-form-item-CKZiX9BY.css","assets/el-divider-BUtF_RGI.css","assets/handlebars-CmWypNxw.js","assets/html-D-endfds.js","assets/javascript-DxDXNr0Y.js","assets/typescript-DydL70xz.js","assets/liquid-D2ShIWRF.js","assets/mdx-CNUEAJY1.js","assets/python-BkHK70YH.js","assets/razor-BpYgokUT.js","assets/xml-yajEARIc.js","assets/yaml-ChWugdwZ.js","assets/cssMode-Dfh5t4w7.js","assets/htmlMode-CiORHnUy.js","assets/jsonMode-CxL1oSpF.js","assets/tsMode-LtsHhXxD.js"])))=>i.map(i=>d[i]); -var ZY=Object.defineProperty,YY=Object.defineProperties;var XY=Object.getOwnPropertyDescriptors;var ES=Object.getOwnPropertySymbols,QY=Object.getPrototypeOf,RB=Object.prototype.hasOwnProperty,MB=Object.prototype.propertyIsEnumerable,JY=Reflect.get;var Yb=(o,e)=>(e=Symbol[o])?e:Symbol.for("Symbol."+o),eX=o=>{throw TypeError(o)},lc=Math.pow,tN=(o,e,t)=>e in o?ZY(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,$=(o,e)=>{for(var t in e||(e={}))RB.call(e,t)&&tN(o,t,e[t]);if(ES)for(var t of ES(e))MB.call(e,t)&&tN(o,t,e[t]);return o},de=(o,e)=>YY(o,XY(e));var AB=(o,e)=>{var t={};for(var i in o)RB.call(o,i)&&e.indexOf(i)<0&&(t[i]=o[i]);if(o!=null&&ES)for(var i of ES(o))e.indexOf(i)<0&&MB.call(o,i)&&(t[i]=o[i]);return t};var Bi=(o,e,t)=>tN(o,typeof e!="symbol"?e+"":e,t);var PB=(o,e,t)=>JY(QY(o),t,e);var I=(o,e,t)=>new Promise((i,n)=>{var s=l=>{try{a(t.next(l))}catch(c){n(c)}},r=l=>{try{a(t.throw(l))}catch(c){n(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(s,r);a((t=t.apply(o,e)).next())}),tX=function(o,e){this[0]=o,this[1]=e};var Xb=o=>{var e=o[Yb("asyncIterator")],t=!1,i,n={};return e==null?(e=o[Yb("iterator")](),i=s=>n[s]=r=>e[s](r)):(e=e.call(o),i=s=>n[s]=r=>{if(t){if(t=!1,s==="throw")throw r;return r}return t=!0,{done:!1,value:new tX(new Promise(a=>{var l=e[s](r);l instanceof Object||eX("Object expected"),a(l)}),1)}}),n[Yb("iterator")]=()=>n,i("next"),"throw"in e?i("throw"):n.throw=s=>{throw s},"return"in e&&i("return"),n},cc=(o,e,t)=>(e=o[Yb("asyncIterator")])?e.call(o):(o=o[Yb("iterator")](),e={},t=(i,n)=>(n=o[i])&&(e[i]=s=>new Promise((r,a,l)=>(s=n.call(o,s),l=s.done,Promise.resolve(s.value).then(c=>r({value:c,done:l}),a)))),t("next"),t("return"),e);import{_ as xe}from"./index-DHbc4UQl.js";import{r as iw,S as iX,n as nX,y as mz,c as sX,o as oX,w as iN,z as Ad,A as nN,O as qp,L as Ku,K as IC,u as dr,I as sN,a3 as OB,H as FB,D as pz,R as rX,a4 as aX}from"./vue-chunks-ChjHxF1G.js";/* empty css *//* empty css *//* empty css *//* empty css */import{D as WB,F as BB,t as HB,G as lX,q as cX}from"./element-plus-CUBv5pjL.js";import{_ as dX}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as hX}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css */function ar(o,e=0){return o[o.length-(1+e)]}function uX(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function si(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;it(o[i],e))}function fX(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function uR(o,e,t){if(o=o|0,o>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o!!e)}function zB(o){let e=0;for(let t=0;t0}function sd(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function F4(o,e){return o.length>0?o[0]:e}function Ts(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;ne;n--)i.push(n);return i}function gI(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function oN(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function NS(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function gR(o,e){for(const t of e)o.push(t)}function W4(o){return Array.isArray(o)?o:[o]}function pX(o,e,t){const i=Cz(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r0}o.isGreaterThan=i;function n(s){return s===0}o.isNeitherLessOrGreaterThan=n,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(sw||(sw={}));function ps(o,e){return(t,i)=>e(o(t),o(i))}function _X(...o){return(e,t)=>{for(const i of o){const n=i(e,t);if(!sw.isNeitherLessOrGreaterThan(n))return n}return sw.neitherLessOrGreaterThan}}const Zr=(o,e)=>o-e,bX=(o,e)=>Zr(o?1:0,e?1:0);function vz(o){return(e,t)=>-o(e,t)}class od{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}const Tp=class Tp{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new Tp(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new Tp(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||sw.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}};Tp.empty=new Tp(e=>{});let vg=Tp;class Ty{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,s)=>t(e[n],e[s]));return new Ty(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t{e[t]=i&&typeof i=="object"?Dc(i):i}),e}function SX(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(Sz.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!CX(n)&&e.push(n)}}return o}const Sz=Object.prototype.hasOwnProperty;function yz(o,e){return fR(o,e,new Set)}function fR(o,e,t){if(Wo(o))return o;const i=e(o);if(typeof i!="undefined")return i;if(Array.isArray(o)){const n=[];for(const s of o)n.push(fR(s,e,t));return n}if(ln(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)Sz.call(o,s)&&(n[s]=fR(o[s],e,t));return t.delete(o),n}return o}function fI(o,e,t=!0){return ln(o)?(ln(e)&&Object.keys(e).forEach(i=>{i in o?t&&(ln(o[i])&&ln(e[i])?fI(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function uo(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;tfunction(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}function Lz(){return globalThis._VSCODE_NLS_MESSAGES}function B4(){return globalThis._VSCODE_NLS_LANGUAGE}const xX=B4()==="pseudo"||typeof document!="undefined"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function Ry(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),xX&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return Ry(typeof o=="number"?xz(o,e):e,t)}function xz(o,e){var i;const t=(i=Lz())==null?void 0:i[o];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${o} !!!`)}return t}function Ae(o,e,...t){let i;typeof o=="number"?i=xz(o,e):i=e;const n=Ry(i,t);return{value:n,original:e===i?n:Ry(e,t)}}const rp="en";let My=!1,Ay=!1,z0=!1,kz=!1,H4=!1,V4=!1,Dz=!1,TS,U0=rp,jB=rp,kX,ha;const Xc=globalThis;let as;var hz;typeof Xc.vscode!="undefined"&&typeof Xc.vscode.process!="undefined"?as=Xc.vscode.process:typeof process!="undefined"&&typeof((hz=process==null?void 0:process.versions)==null?void 0:hz.node)=="string"&&(as=process);var uz;const DX=typeof((uz=as==null?void 0:as.versions)==null?void 0:uz.electron)=="string",IX=DX&&(as==null?void 0:as.type)==="renderer";var gz;if(typeof as=="object"){My=as.platform==="win32",Ay=as.platform==="darwin",z0=as.platform==="linux",z0&&as.env.SNAP&&as.env.SNAP_REVISION,as.env.CI||as.env.BUILD_ARTIFACTSTAGINGDIRECTORY,TS=rp,U0=rp;const o=as.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o);TS=e.userLocale,jB=e.osLocale,U0=e.resolvedLanguage||rp,kX=(gz=e.languagePack)==null?void 0:gz.translationsConfigFile}catch(e){}kz=!0}else typeof navigator=="object"&&!IX?(ha=navigator.userAgent,My=ha.indexOf("Windows")>=0,Ay=ha.indexOf("Macintosh")>=0,V4=(ha.indexOf("Macintosh")>=0||ha.indexOf("iPad")>=0||ha.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,z0=ha.indexOf("Linux")>=0,Dz=(ha==null?void 0:ha.indexOf("Mobi"))>=0,H4=!0,U0=B4()||rp,TS=navigator.language.toLowerCase(),jB=TS):console.error("Unable to resolve platform.");const Mn=My,tt=Ay,Cs=z0,Aa=kz,rm=H4,EX=H4&&typeof Xc.importScripts=="function",NX=EX?Xc.origin:void 0,za=V4,Iz=Dz,zl=ha,TX=U0,RX=typeof Xc.postMessage=="function"&&!Xc.importScripts,Ez=(()=>{if(RX){const o=[];Xc.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i{const i=++e;o.push({id:i,callback:t}),Xc.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),ho=Ay||V4?2:My?1:3;let KB=!0,qB=!1;function Nz(){if(!qB){qB=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,KB=new Uint16Array(o.buffer)[0]===513}return KB}const Tz=!!(zl&&zl.indexOf("Chrome")>=0),MX=!!(zl&&zl.indexOf("Firefox")>=0),AX=!!(!Tz&&zl&&zl.indexOf("Safari")>=0),PX=!!(zl&&zl.indexOf("Edg/")>=0),OX=!!(zl&&zl.indexOf("Android")>=0),Wn={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var rt;(function(o){function e(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(w){yield w}o.single=n;function s(w){return e(w)?w:n(w)}o.wrap=s;function r(w){return w||t}o.from=r;function*a(w){for(let S=w.length-1;S>=0;S--)yield w[S]}o.reverse=a;function l(w){return!w||w[Symbol.iterator]().next().done===!0}o.isEmpty=l;function c(w){return w[Symbol.iterator]().next().value}o.first=c;function d(w,S){let y=0;for(const k of w)if(S(k,y++))return!0;return!1}o.some=d;function h(w,S){for(const y of w)if(S(y))return y}o.find=h;function*u(w,S){for(const y of w)S(y)&&(yield y)}o.filter=u;function*g(w,S){let y=0;for(const k of w)yield S(k,y++)}o.map=g;function*f(w,S){let y=0;for(const k of w)yield*Xb(S(k,y++))}o.flatMap=f;function*p(...w){for(const S of w)yield*Xb(S)}o.concat=p;function _(w,S,y){let k=y;for(const D of w)k=S(k,D);return k}o.reduce=_;function*b(w,S,y=w.length){for(S<0&&(S+=w.length),y<0?y+=w.length:y>w.length&&(y=w.length);S{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Zi.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Zi.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Zi.Undefined&&e.next!==Zi.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Zi.Undefined&&e.next===Zi.Undefined?(this._first=Zi.Undefined,this._last=Zi.Undefined):e.next===Zi.Undefined?(this._last=this._last.prev,this._last.next=Zi.Undefined):e.prev===Zi.Undefined&&(this._first=this._first.next,this._first.prev=Zi.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Zi.Undefined;)yield e.element,e=e.next}}const Py="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function FX(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of Py)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const z4=FX();function U4(o){let e=z4;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const Rz=new us;Rz.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function rw(o,e,t,i,n){if(e=U4(e),n||(n=rt.first(Rz)),t.length>n.maxLen){let c=o-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,o+n.maxLen/2),rw(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-s>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const h=WX(e,t,r,a);if(!h&&l||(l=h,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function WX(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}const hl=8;class Mz{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class Az{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class ei{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return mI(e,t)}compute(e,t,i){return i}}class QC{constructor(e,t){this.newValue=e,this.didChange=t}}function mI(o,e){if(typeof o!="object"||typeof e!="object"||!o||!e)return new QC(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const i=Array.isArray(o)&&Array.isArray(e)&&si(o,e);return new QC(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=mI(o[i],e[i]);n.didChange&&(o[i]=n.newValue,t=!0)}return new QC(o,t)}class W1{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return mI(e,t)}validate(e){return this.defaultValue}}class Cb{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return mI(e,t)}validate(e){return typeof e=="undefined"?this.defaultValue:e}compute(e,t,i){return i}}function we(o,e){return typeof o=="undefined"?e:o==="false"?!1:!!o}class gt extends Cb{constructor(e,t,i,n=void 0){typeof n!="undefined"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return we(e,this.defaultValue)}}function Au(o,e,t,i){if(typeof o=="undefined")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Pt extends Cb{static clampedInt(e,t,i,n){return Au(e,t,i,n)}constructor(e,t,i,n,s,r=void 0){typeof r!="undefined"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}validate(e){return Pt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function BX(o,e,t,i){if(typeof o=="undefined")return e;const n=zo.float(o,e);return zo.clamp(n,t,i)}class zo extends Cb{static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e=="undefined")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,s){typeof s!="undefined"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}validate(e){return this.validationFn(zo.float(e,this.defaultValue))}}class Jn extends Cb{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n!="undefined"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return Jn.string(e,this.defaultValue)}}function pi(o,e,t,i){return typeof o!="string"?e:i&&o in i?i[o]:t.indexOf(o)===-1?e:o}class mi extends Cb{constructor(e,t,i,n,s=void 0){typeof s!="undefined"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return pi(e,this.defaultValue,this._allowedValues)}}class RS extends ei{constructor(e,t,i,n,s,r,a=void 0){typeof a!="undefined"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function HX(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class VX extends ei{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class zX extends ei{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:we(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:we(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function UX(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var bn;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(bn||(bn={}));function $X(o){switch(o){case"line":return bn.Line;case"block":return bn.Block;case"underline":return bn.Underline;case"line-thin":return bn.LineThin;case"block-outline":return bn.BlockOutline;case"underline-thin":return bn.UnderlineThin}}class jX extends W1{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}}class KX extends gt{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class qX extends ei{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:tt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:we(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":pi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":pi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:we(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:we(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:we(t.loop,this.defaultValue.loop)}}}const Sc=class Sc extends ei{constructor(){super(51,"fontLigatures",Sc.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?Sc.OFF:e==="true"?Sc.ON:e:e?Sc.ON:Sc.OFF}};Sc.OFF='"liga" off, "calt" off',Sc.ON='"liga" on, "calt" on';let Vh=Sc;const yc=class yc extends ei{constructor(){super(54,"fontVariations",yc.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e==="false"?yc.OFF:e==="true"?yc.TRANSLATE:e:e?yc.TRANSLATE:yc.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}};yc.OFF="normal",yc.TRANSLATE="translate";let aw=yc;class GX extends W1{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class ZX extends Cb{constructor(){super(52,"fontSize",_s.fontSize,{type:"number",minimum:6,maximum:100,default:_s.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=zo.float(e,this.defaultValue);return t===0?_s.fontSize:zo.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}const pl=class pl extends ei{constructor(){super(53,"fontWeight",_s.fontWeight,{anyOf:[{type:"number",minimum:pl.MINIMUM_VALUE,maximum:pl.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:pl.SUGGESTION_VALUES}],default:_s.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Pt.clampedInt(e,_s.fontWeight,pl.MINIMUM_VALUE,pl.MAXIMUM_VALUE))}};pl.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],pl.MINIMUM_VALUE=1,pl.MAXIMUM_VALUE=1e3;let pR=pl;class YX extends ei{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":$({description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":$({description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":$({description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":$({description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":$({description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var i,n,s,r,a,l;if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:pi(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(i=t.multipleDefinitions)!=null?i:pi(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(n=t.multipleTypeDefinitions)!=null?n:pi(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(s=t.multipleDeclarations)!=null?s:pi(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(r=t.multipleImplementations)!=null?r:pi(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(a=t.multipleReferences)!=null?a:pi(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:(l=t.multipleTests)!=null?l:pi(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Jn.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Jn.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Jn.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Jn.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Jn.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:Jn.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}class XX extends ei{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),delay:Pt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:we(t.sticky,this.defaultValue.sticky),hidingDelay:Pt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:we(t.above,this.defaultValue.above)}}}class Gp extends W1{constructor(){super(146)}compute(e,t,i){return Gp.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const s=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/s);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,_=e.verticalScrollbarWidth,b=e.viewLineCount,C=e.remainingWidth,v=e.isViewportWrapping,w=h?2:3;let S=Math.floor(s*n);const y=S/s;let k=!1,D=!1,T=w*u,B=u/s,H=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:be,extraLinesBeforeFirstLine:Ce,extraLinesBeyondLastLine:Re,desiredRatio:Me,minimapLineCount:ti}=Gp.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:s});if(b/ti>1)k=!0,D=!0,u=1,T=1,B=u/s;else{let fi=!1,Vt=u+1;if(f==="fit"){const $i=Math.ceil((Ce+b+Re)*T);v&&a&&C<=t.stableFitRemainingWidth?(fi=!0,Vt=t.stableFitMaxMinimapScale):fi=$i>S}if(f==="fill"||fi){k=!0;const $i=u;T=Math.min(l*s,Math.max(1,Math.floor(1/Me))),v&&a&&C<=t.stableFitRemainingWidth&&(Vt=t.stableFitMaxMinimapScale),u=Math.min(Vt,Math.max(1,Math.floor(T/w))),u>$i&&(H=Math.min(2,u/$i)),B=u/s/H,S=Math.ceil(Math.max(be,Ce+b+Re)*T),v?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const z=Math.floor(g*B),K=Math.min(z,Math.max(0,Math.floor((C-_-2)*B/(c+B)))+hl);let V=Math.floor(s*K);const Q=V/s;V=Math.floor(V*H);const ae=h?1:2,me=p==="left"?0:i-K-_;return{renderMinimap:ae,minimapLeft:me,minimapWidth:K,minimapHeightIsEditorHeight:k,minimapIsSampling:D,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:V,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:Q,minimapCanvasOuterHeight:y}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(138),u=h==="inherit"?e.get(137):h,g=u==="inherit"?e.get(133):u,f=e.get(136),p=t.isDominatedByLongLines,_=e.get(57),b=e.get(68).renderType!==0,C=e.get(69),v=e.get(106),w=e.get(84),S=e.get(73),y=e.get(104),k=y.verticalScrollbarSize,D=y.verticalHasArrows,T=y.arrowSize,B=y.horizontalScrollbarSize,H=e.get(43),z=e.get(111)!=="never";let K=e.get(66);H&&z&&(K+=16);let V=0;if(b){const ji=Math.max(r,C);V=Math.round(ji*l)}let Q=0;_&&(Q=s*t.glyphMarginDecorationLaneCount);let ae=0,me=ae+Q,be=me+V,Ce=be+K;const Re=i-Q-V-K;let Me=!1,ti=!1,Dt=-1;u==="inherit"&&p?(Me=!0,ti=!0):g==="on"||g==="bounded"?ti=!0:g==="wordWrapColumn"&&(Dt=f);const fi=Gp._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:v,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:Re,isViewportWrapping:ti},t.memory||new Az);fi.renderMinimap!==0&&fi.minimapLeft===0&&(ae+=fi.minimapWidth,me+=fi.minimapWidth,be+=fi.minimapWidth,Ce+=fi.minimapWidth);const Vt=Re-fi.minimapWidth,$i=Math.max(1,Math.floor((Vt-k-2)/a)),yt=D?T:0;return ti&&(Dt=Math.max(1,$i),g==="bounded"&&(Dt=Math.min(Dt,f))),{width:i,height:n,glyphMarginLeft:ae,glyphMarginWidth:Q,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:me,lineNumbersWidth:V,decorationsLeft:be,decorationsWidth:K,contentLeft:Ce,contentWidth:Vt,minimap:fi,viewportColumn:$i,isWordWrapMinified:Me,isViewportWrapping:ti,wrappingColumn:Dt,verticalScrollbarWidth:k,horizontalScrollbarHeight:B,overviewRuler:{top:yt,width:k,height:n-2*yt,right:0}}}}class QX extends ei{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return pi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var Vr;(function(o){o.Off="off",o.OnCode="onCode",o.On="on"})(Vr||(Vr={}));class JX extends ei{constructor(){const e={enabled:Vr.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[Vr.Off,Vr.OnCode,Vr.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:pi(e.enabled,this.defaultValue.enabled,[Vr.Off,Vr.OnCode,Vr.On])}}}class eQ extends ei{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),maxLineCount:Pt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:pi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:we(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class tQ extends ei{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",tt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",tt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:pi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Pt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Jn.string(t.fontFamily,this.defaultValue.fontFamily),padding:we(t.padding,this.defaultValue.padding)}}}class iQ extends ei{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Pt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?Pt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class nQ extends zo{constructor(){super(67,"lineHeight",_s.lineHeight,e=>zo.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height. +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/freemarker2-Du7UvBnj.js","assets/index-wnyZ7Zvr.js","assets/vue-chunks-ChjHxF1G.js","assets/element-plus-CUBv5pjL.js","assets/index-D9LF1rJ-.css","assets/ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js","assets/Icon-BTLftY2_.js","assets/Icon-D-aJjhUp.css","assets/el-card-fwQOLwdi.css","assets/el-popper-DG5wR-qi.css","assets/Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js","assets/el-tag-DljBBxJR.css","assets/el-select-BaQA8IKP.css","assets/el-form-item-CKZiX9BY.css","assets/el-divider-BUtF_RGI.css","assets/handlebars-Bwish1Ot.js","assets/html-BAsTLnFe.js","assets/javascript-CxJNxUap.js","assets/typescript-M-1CxcOC.js","assets/liquid-CAEorw33.js","assets/mdx-DiXs2CiW.js","assets/python-BLX68HFQ.js","assets/razor-D4UnLl2f.js","assets/xml-BelG5VnH.js","assets/yaml-UQHD_GqP.js","assets/cssMode-BcjICpkS.js","assets/htmlMode-PXBApk8t.js","assets/jsonMode-DSsbwNx-.js","assets/tsMode-DDWCoP3Q.js"])))=>i.map(i=>d[i]); +var ZY=Object.defineProperty,YY=Object.defineProperties;var XY=Object.getOwnPropertyDescriptors;var ES=Object.getOwnPropertySymbols,QY=Object.getPrototypeOf,RB=Object.prototype.hasOwnProperty,MB=Object.prototype.propertyIsEnumerable,JY=Reflect.get;var Yb=(o,e)=>(e=Symbol[o])?e:Symbol.for("Symbol."+o),eX=o=>{throw TypeError(o)},lc=Math.pow,tN=(o,e,t)=>e in o?ZY(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,$=(o,e)=>{for(var t in e||(e={}))RB.call(e,t)&&tN(o,t,e[t]);if(ES)for(var t of ES(e))MB.call(e,t)&&tN(o,t,e[t]);return o},de=(o,e)=>YY(o,XY(e));var AB=(o,e)=>{var t={};for(var i in o)RB.call(o,i)&&e.indexOf(i)<0&&(t[i]=o[i]);if(o!=null&&ES)for(var i of ES(o))e.indexOf(i)<0&&MB.call(o,i)&&(t[i]=o[i]);return t};var Bi=(o,e,t)=>tN(o,typeof e!="symbol"?e+"":e,t);var PB=(o,e,t)=>JY(QY(o),t,e);var I=(o,e,t)=>new Promise((i,n)=>{var s=l=>{try{a(t.next(l))}catch(c){n(c)}},r=l=>{try{a(t.throw(l))}catch(c){n(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(s,r);a((t=t.apply(o,e)).next())}),tX=function(o,e){this[0]=o,this[1]=e};var Xb=o=>{var e=o[Yb("asyncIterator")],t=!1,i,n={};return e==null?(e=o[Yb("iterator")](),i=s=>n[s]=r=>e[s](r)):(e=e.call(o),i=s=>n[s]=r=>{if(t){if(t=!1,s==="throw")throw r;return r}return t=!0,{done:!1,value:new tX(new Promise(a=>{var l=e[s](r);l instanceof Object||eX("Object expected"),a(l)}),1)}}),n[Yb("iterator")]=()=>n,i("next"),"throw"in e?i("throw"):n.throw=s=>{throw s},"return"in e&&i("return"),n},cc=(o,e,t)=>(e=o[Yb("asyncIterator")])?e.call(o):(o=o[Yb("iterator")](),e={},t=(i,n)=>(n=o[i])&&(e[i]=s=>new Promise((r,a,l)=>(s=n.call(o,s),l=s.done,Promise.resolve(s.value).then(c=>r({value:c,done:l}),a)))),t("next"),t("return"),e);import{_ as xe}from"./index-wnyZ7Zvr.js";import{r as iw,S as iX,n as nX,y as mz,c as sX,o as oX,w as iN,z as Ad,A as nN,O as qp,L as Ku,K as IC,u as dr,I as sN,a3 as OB,H as FB,D as pz,R as rX,a4 as aX}from"./vue-chunks-ChjHxF1G.js";/* empty css *//* empty css *//* empty css *//* empty css */import{D as WB,F as BB,t as HB,G as lX,q as cX}from"./element-plus-CUBv5pjL.js";import{_ as dX}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as hX}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css */function ar(o,e=0){return o[o.length-(1+e)]}function uX(o){if(o.length===0)throw new Error("Invalid tail call");return[o.slice(0,o.length-1),o[o.length-1]]}function si(o,e,t=(i,n)=>i===n){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let i=0,n=o.length;it(o[i],e))}function fX(o,e){let t=0,i=o-1;for(;t<=i;){const n=(t+i)/2|0,s=e(n);if(s<0)t=n+1;else if(s>0)i=n-1;else return n}return-(t+1)}function uR(o,e,t){if(o=o|0,o>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],s=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?s.push(a):r.push(a)}return o!!e)}function zB(o){let e=0;for(let t=0;t0}function sd(o,e=t=>t){const t=new Set;return o.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function F4(o,e){return o.length>0?o[0]:e}function Ts(o,e){let t=typeof e=="number"?o:0;typeof e=="number"?t=o:(t=0,e=o);const i=[];if(t<=e)for(let n=t;ne;n--)i.push(n);return i}function gI(o,e,t){const i=o.slice(0,e),n=o.slice(e);return i.concat(t,n)}function oN(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function NS(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function gR(o,e){for(const t of e)o.push(t)}function W4(o){return Array.isArray(o)?o:[o]}function pX(o,e,t){const i=Cz(o,e),n=o.length,s=t.length;o.length=n+s;for(let r=n-1;r>=i;r--)o[r+s]=o[r];for(let r=0;r0}o.isGreaterThan=i;function n(s){return s===0}o.isNeitherLessOrGreaterThan=n,o.greaterThan=1,o.lessThan=-1,o.neitherLessOrGreaterThan=0})(sw||(sw={}));function ps(o,e){return(t,i)=>e(o(t),o(i))}function _X(...o){return(e,t)=>{for(const i of o){const n=i(e,t);if(!sw.isNeitherLessOrGreaterThan(n))return n}return sw.neitherLessOrGreaterThan}}const Zr=(o,e)=>o-e,bX=(o,e)=>Zr(o?1:0,e?1:0);function vz(o){return(e,t)=>-o(e,t)}class od{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}const Tp=class Tp{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new Tp(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new Tp(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||sw.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}};Tp.empty=new Tp(e=>{});let vg=Tp;class Ty{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,s)=>t(e[n],e[s]));return new Ty(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t{e[t]=i&&typeof i=="object"?Dc(i):i}),e}function SX(o){if(!o||typeof o!="object")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(Sz.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!CX(n)&&e.push(n)}}return o}const Sz=Object.prototype.hasOwnProperty;function yz(o,e){return fR(o,e,new Set)}function fR(o,e,t){if(Wo(o))return o;const i=e(o);if(typeof i!="undefined")return i;if(Array.isArray(o)){const n=[];for(const s of o)n.push(fR(s,e,t));return n}if(ln(o)){if(t.has(o))throw new Error("Cannot clone recursive data-structure");t.add(o);const n={};for(const s in o)Sz.call(o,s)&&(n[s]=fR(o[s],e,t));return t.delete(o),n}return o}function fI(o,e,t=!0){return ln(o)?(ln(e)&&Object.keys(e).forEach(i=>{i in o?t&&(ln(o[i])&&ln(e[i])?fI(o[i],e[i],t):o[i]=e[i]):o[i]=e[i]}),o):e}function uo(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!="object"||Array.isArray(o)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;tfunction(){const s=Array.prototype.slice.call(arguments,0);return e(n,s)},i={};for(const n of o)i[n]=t(n);return i}function Lz(){return globalThis._VSCODE_NLS_MESSAGES}function B4(){return globalThis._VSCODE_NLS_LANGUAGE}const xX=B4()==="pseudo"||typeof document!="undefined"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function Ry(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=n[0],r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),xX&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return Ry(typeof o=="number"?xz(o,e):e,t)}function xz(o,e){var i;const t=(i=Lz())==null?void 0:i[o];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${o} !!!`)}return t}function Ae(o,e,...t){let i;typeof o=="number"?i=xz(o,e):i=e;const n=Ry(i,t);return{value:n,original:e===i?n:Ry(e,t)}}const rp="en";let My=!1,Ay=!1,z0=!1,kz=!1,H4=!1,V4=!1,Dz=!1,TS,U0=rp,jB=rp,kX,ha;const Xc=globalThis;let as;var hz;typeof Xc.vscode!="undefined"&&typeof Xc.vscode.process!="undefined"?as=Xc.vscode.process:typeof process!="undefined"&&typeof((hz=process==null?void 0:process.versions)==null?void 0:hz.node)=="string"&&(as=process);var uz;const DX=typeof((uz=as==null?void 0:as.versions)==null?void 0:uz.electron)=="string",IX=DX&&(as==null?void 0:as.type)==="renderer";var gz;if(typeof as=="object"){My=as.platform==="win32",Ay=as.platform==="darwin",z0=as.platform==="linux",z0&&as.env.SNAP&&as.env.SNAP_REVISION,as.env.CI||as.env.BUILD_ARTIFACTSTAGINGDIRECTORY,TS=rp,U0=rp;const o=as.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o);TS=e.userLocale,jB=e.osLocale,U0=e.resolvedLanguage||rp,kX=(gz=e.languagePack)==null?void 0:gz.translationsConfigFile}catch(e){}kz=!0}else typeof navigator=="object"&&!IX?(ha=navigator.userAgent,My=ha.indexOf("Windows")>=0,Ay=ha.indexOf("Macintosh")>=0,V4=(ha.indexOf("Macintosh")>=0||ha.indexOf("iPad")>=0||ha.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,z0=ha.indexOf("Linux")>=0,Dz=(ha==null?void 0:ha.indexOf("Mobi"))>=0,H4=!0,U0=B4()||rp,TS=navigator.language.toLowerCase(),jB=TS):console.error("Unable to resolve platform.");const Mn=My,tt=Ay,Cs=z0,Aa=kz,rm=H4,EX=H4&&typeof Xc.importScripts=="function",NX=EX?Xc.origin:void 0,za=V4,Iz=Dz,zl=ha,TX=U0,RX=typeof Xc.postMessage=="function"&&!Xc.importScripts,Ez=(()=>{if(RX){const o=[];Xc.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=o.length;i{const i=++e;o.push({id:i,callback:t}),Xc.postMessage({vscodeScheduleAsyncWork:i},"*")}}return o=>setTimeout(o)})(),ho=Ay||V4?2:My?1:3;let KB=!0,qB=!1;function Nz(){if(!qB){qB=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,KB=new Uint16Array(o.buffer)[0]===513}return KB}const Tz=!!(zl&&zl.indexOf("Chrome")>=0),MX=!!(zl&&zl.indexOf("Firefox")>=0),AX=!!(!Tz&&zl&&zl.indexOf("Safari")>=0),PX=!!(zl&&zl.indexOf("Edg/")>=0),OX=!!(zl&&zl.indexOf("Android")>=0),Wn={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var rt;(function(o){function e(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}o.is=e;const t=Object.freeze([]);function i(){return t}o.empty=i;function*n(w){yield w}o.single=n;function s(w){return e(w)?w:n(w)}o.wrap=s;function r(w){return w||t}o.from=r;function*a(w){for(let S=w.length-1;S>=0;S--)yield w[S]}o.reverse=a;function l(w){return!w||w[Symbol.iterator]().next().done===!0}o.isEmpty=l;function c(w){return w[Symbol.iterator]().next().value}o.first=c;function d(w,S){let y=0;for(const k of w)if(S(k,y++))return!0;return!1}o.some=d;function h(w,S){for(const y of w)if(S(y))return y}o.find=h;function*u(w,S){for(const y of w)S(y)&&(yield y)}o.filter=u;function*g(w,S){let y=0;for(const k of w)yield S(k,y++)}o.map=g;function*f(w,S){let y=0;for(const k of w)yield*Xb(S(k,y++))}o.flatMap=f;function*p(...w){for(const S of w)yield*Xb(S)}o.concat=p;function _(w,S,y){let k=y;for(const D of w)k=S(k,D);return k}o.reduce=_;function*b(w,S,y=w.length){for(S<0&&(S+=w.length),y<0?y+=w.length:y>w.length&&(y=w.length);S{n||(n=!0,this._remove(i))}}shift(){if(this._first!==Zi.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Zi.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Zi.Undefined&&e.next!==Zi.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Zi.Undefined&&e.next===Zi.Undefined?(this._first=Zi.Undefined,this._last=Zi.Undefined):e.next===Zi.Undefined?(this._last=this._last.prev,this._last.next=Zi.Undefined):e.prev===Zi.Undefined&&(this._first=this._first.next,this._first.prev=Zi.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Zi.Undefined;)yield e.element,e=e.next}}const Py="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function FX(o=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of Py)o.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const z4=FX();function U4(o){let e=z4;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t="g";o.ignoreCase&&(t+="i"),o.multiline&&(t+="m"),o.unicode&&(t+="u"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const Rz=new us;Rz.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function rw(o,e,t,i,n){if(e=U4(e),n||(n=rt.first(Rz)),t.length>n.maxLen){let c=o-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,o+n.maxLen/2),rw(o,e,t,i,n)}const s=Date.now(),r=o-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-s>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const h=WX(e,t,r,a);if(!h&&l||(l=h,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function WX(o,e,t,i){let n;for(;n=o.exec(e);){const s=n.index||0;if(s<=t&&o.lastIndex>=t)return n;if(i>0&&s>i)return null}return null}const hl=8;class Mz{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class Az{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class ei{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return mI(e,t)}compute(e,t,i){return i}}class QC{constructor(e,t){this.newValue=e,this.didChange=t}}function mI(o,e){if(typeof o!="object"||typeof e!="object"||!o||!e)return new QC(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const i=Array.isArray(o)&&Array.isArray(e)&&si(o,e);return new QC(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=mI(o[i],e[i]);n.didChange&&(o[i]=n.newValue,t=!0)}return new QC(o,t)}class W1{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return mI(e,t)}validate(e){return this.defaultValue}}class Cb{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return mI(e,t)}validate(e){return typeof e=="undefined"?this.defaultValue:e}compute(e,t,i){return i}}function we(o,e){return typeof o=="undefined"?e:o==="false"?!1:!!o}class gt extends Cb{constructor(e,t,i,n=void 0){typeof n!="undefined"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return we(e,this.defaultValue)}}function Au(o,e,t,i){if(typeof o=="undefined")return e;let n=parseInt(o,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class Pt extends Cb{static clampedInt(e,t,i,n){return Au(e,t,i,n)}constructor(e,t,i,n,s,r=void 0){typeof r!="undefined"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=s),super(e,t,i,r),this.minimum=n,this.maximum=s}validate(e){return Pt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function BX(o,e,t,i){if(typeof o=="undefined")return e;const n=zo.float(o,e);return zo.clamp(n,t,i)}class zo extends Cb{static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e=="undefined")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,s){typeof s!="undefined"&&(s.type="number",s.default=i),super(e,t,i,s),this.validationFn=n}validate(e){return this.validationFn(zo.float(e,this.defaultValue))}}class Jn extends Cb{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n!="undefined"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return Jn.string(e,this.defaultValue)}}function pi(o,e,t,i){return typeof o!="string"?e:i&&o in i?i[o]:t.indexOf(o)===-1?e:o}class mi extends Cb{constructor(e,t,i,n,s=void 0){typeof s!="undefined"&&(s.type="string",s.enum=n,s.default=i),super(e,t,i,s),this._allowedValues=n}validate(e){return pi(e,this.defaultValue,this._allowedValues)}}class RS extends ei{constructor(e,t,i,n,s,r,a=void 0){typeof a!="undefined"&&(a.type="string",a.enum=s,a.default=n),super(e,t,i,a),this._allowedValues=s,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function HX(o){switch(o){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class VX extends ei{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[m("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),m("accessibilitySupport.on","Optimize for usage with a Screen Reader."),m("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:m("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class zX extends ei{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:m("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:m("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:we(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:we(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function UX(o){switch(o){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var bn;(function(o){o[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin"})(bn||(bn={}));function $X(o){switch(o){case"line":return bn.Line;case"block":return bn.Block;case"underline":return bn.Underline;case"line-thin":return bn.LineThin;case"block-outline":return bn.BlockOutline;case"underline-thin":return bn.UnderlineThin}}class jX extends W1{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}}class KX extends gt{constructor(){super(37,"emptySelectionClipboard",!0,{description:m("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class qX extends ei{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:m("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[m("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),m("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),m("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:m("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[m("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),m("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),m("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:m("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:m("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:tt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:m("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:m("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:we(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":pi(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":pi(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:we(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:we(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:we(t.loop,this.defaultValue.loop)}}}const Sc=class Sc extends ei{constructor(){super(51,"fontLigatures",Sc.OFF,{anyOf:[{type:"boolean",description:m("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:m("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:m("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?Sc.OFF:e==="true"?Sc.ON:e:e?Sc.ON:Sc.OFF}};Sc.OFF='"liga" off, "calt" off',Sc.ON='"liga" on, "calt" on';let Vh=Sc;const yc=class yc extends ei{constructor(){super(54,"fontVariations",yc.OFF,{anyOf:[{type:"boolean",description:m("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:m("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:m("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e==="false"?yc.OFF:e==="true"?yc.TRANSLATE:e:e?yc.TRANSLATE:yc.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}};yc.OFF="normal",yc.TRANSLATE="translate";let aw=yc;class GX extends W1{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class ZX extends Cb{constructor(){super(52,"fontSize",_s.fontSize,{type:"number",minimum:6,maximum:100,default:_s.fontSize,description:m("fontSize","Controls the font size in pixels.")})}validate(e){const t=zo.float(e,this.defaultValue);return t===0?_s.fontSize:zo.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}const pl=class pl extends ei{constructor(){super(53,"fontWeight",_s.fontWeight,{anyOf:[{type:"number",minimum:pl.MINIMUM_VALUE,maximum:pl.MAXIMUM_VALUE,errorMessage:m("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:pl.SUGGESTION_VALUES}],default:_s.fontWeight,description:m("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(Pt.clampedInt(e,_s.fontWeight,pl.MINIMUM_VALUE,pl.MAXIMUM_VALUE))}};pl.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],pl.MINIMUM_VALUE=1,pl.MAXIMUM_VALUE=1e3;let pR=pl;class YX extends ei{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[m("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),m("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),m("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(58,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:m("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":$({description:m("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":$({description:m("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":$({description:m("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":$({description:m("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":$({description:m("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:m("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:m("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:m("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:m("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:m("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var i,n,s,r,a,l;if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:pi(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(i=t.multipleDefinitions)!=null?i:pi(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(n=t.multipleTypeDefinitions)!=null?n:pi(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(s=t.multipleDeclarations)!=null?s:pi(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(r=t.multipleImplementations)!=null?r:pi(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(a=t.multipleReferences)!=null?a:pi(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:(l=t.multipleTests)!=null?l:pi(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Jn.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Jn.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Jn.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Jn.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Jn.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:Jn.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}class XX extends ei{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:m("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:m("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:m("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,description:m("hover.hidingDelay","Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:m("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),delay:Pt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:we(t.sticky,this.defaultValue.sticky),hidingDelay:Pt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:we(t.above,this.defaultValue.above)}}}class Gp extends W1{constructor(){super(146)}compute(e,t,i){return Gp.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const s=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/s);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:s,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,s=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(s*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,p=e.minimap.side,_=e.verticalScrollbarWidth,b=e.viewLineCount,C=e.remainingWidth,v=e.isViewportWrapping,w=h?2:3;let S=Math.floor(s*n);const y=S/s;let k=!1,D=!1,T=w*u,B=u/s,H=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:be,extraLinesBeforeFirstLine:Ce,extraLinesBeyondLastLine:Re,desiredRatio:Me,minimapLineCount:ti}=Gp.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:s});if(b/ti>1)k=!0,D=!0,u=1,T=1,B=u/s;else{let fi=!1,Vt=u+1;if(f==="fit"){const $i=Math.ceil((Ce+b+Re)*T);v&&a&&C<=t.stableFitRemainingWidth?(fi=!0,Vt=t.stableFitMaxMinimapScale):fi=$i>S}if(f==="fill"||fi){k=!0;const $i=u;T=Math.min(l*s,Math.max(1,Math.floor(1/Me))),v&&a&&C<=t.stableFitRemainingWidth&&(Vt=t.stableFitMaxMinimapScale),u=Math.min(Vt,Math.max(1,Math.floor(T/w))),u>$i&&(H=Math.min(2,u/$i)),B=u/s/H,S=Math.ceil(Math.max(be,Ce+b+Re)*T),v?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=C,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const z=Math.floor(g*B),K=Math.min(z,Math.max(0,Math.floor((C-_-2)*B/(c+B)))+hl);let V=Math.floor(s*K);const Q=V/s;V=Math.floor(V*H);const ae=h?1:2,me=p==="left"?0:i-K-_;return{renderMinimap:ae,minimapLeft:me,minimapWidth:K,minimapHeightIsEditorHeight:k,minimapIsSampling:D,minimapScale:u,minimapLineHeight:T,minimapCanvasInnerWidth:V,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:Q,minimapCanvasOuterHeight:y}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,s=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(138),u=h==="inherit"?e.get(137):h,g=u==="inherit"?e.get(133):u,f=e.get(136),p=t.isDominatedByLongLines,_=e.get(57),b=e.get(68).renderType!==0,C=e.get(69),v=e.get(106),w=e.get(84),S=e.get(73),y=e.get(104),k=y.verticalScrollbarSize,D=y.verticalHasArrows,T=y.arrowSize,B=y.horizontalScrollbarSize,H=e.get(43),z=e.get(111)!=="never";let K=e.get(66);H&&z&&(K+=16);let V=0;if(b){const ji=Math.max(r,C);V=Math.round(ji*l)}let Q=0;_&&(Q=s*t.glyphMarginDecorationLaneCount);let ae=0,me=ae+Q,be=me+V,Ce=be+K;const Re=i-Q-V-K;let Me=!1,ti=!1,Dt=-1;u==="inherit"&&p?(Me=!0,ti=!0):g==="on"||g==="bounded"?ti=!0:g==="wordWrapColumn"&&(Dt=f);const fi=Gp._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:s,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:v,paddingTop:w.top,paddingBottom:w.bottom,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:Re,isViewportWrapping:ti},t.memory||new Az);fi.renderMinimap!==0&&fi.minimapLeft===0&&(ae+=fi.minimapWidth,me+=fi.minimapWidth,be+=fi.minimapWidth,Ce+=fi.minimapWidth);const Vt=Re-fi.minimapWidth,$i=Math.max(1,Math.floor((Vt-k-2)/a)),yt=D?T:0;return ti&&(Dt=Math.max(1,$i),g==="bounded"&&(Dt=Math.min(Dt,f))),{width:i,height:n,glyphMarginLeft:ae,glyphMarginWidth:Q,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:me,lineNumbersWidth:V,decorationsLeft:be,decorationsWidth:K,contentLeft:Ce,contentWidth:Vt,minimap:fi,viewportColumn:$i,isWordWrapMinified:Me,isViewportWrapping:ti,wrappingColumn:Dt,verticalScrollbarWidth:k,horizontalScrollbarHeight:B,overviewRuler:{top:yt,width:k,height:n-2*yt,right:0}}}}class QX extends ei{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[m("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),m("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:m("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return pi(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var Vr;(function(o){o.Off="off",o.OnCode="onCode",o.On="on"})(Vr||(Vr={}));class JX extends ei{constructor(){const e={enabled:Vr.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[Vr.Off,Vr.OnCode,Vr.On],default:e.enabled,enumDescriptions:[m("editor.lightbulb.enabled.off","Disable the code action menu."),m("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),m("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:m("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:pi(e.enabled,this.defaultValue.enabled,[Vr.Off,Vr.OnCode,Vr.On])}}}class eQ extends ei{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:m("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor."),tags:["experimental"]},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:m("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:m("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:m("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),maxLineCount:Pt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:pi(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:we(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class tQ extends ei{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:m("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[m("editor.inlayHints.on","Inlay hints are enabled"),m("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",tt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",tt?"Ctrl+Option":"Ctrl+Alt"),m("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:m("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:m("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:m("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:pi(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:Pt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Jn.string(t.fontFamily,this.defaultValue.fontFamily),padding:we(t.padding,this.defaultValue.padding)}}}class iQ extends ei{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Pt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?Pt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class nQ extends zo{constructor(){super(67,"lineHeight",_s.lineHeight,e=>zo.clamp(e,0,150),{markdownDescription:m("lineHeight",`Controls the line height. - Use 0 to automatically compute the line height from the font size. - Values between 0 and 8 will be used as a multiplier with the font size. - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}}class sQ extends ei{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9,sectionHeaderLetterSpacing:1};super(73,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:m("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:m("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[m("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),m("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),m("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:m("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:m("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:m("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:m("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:m("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:m("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.minimap.showRegionSectionHeaders":{type:"boolean",default:e.showRegionSectionHeaders,description:m("minimap.showRegionSectionHeaders","Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:m("minimap.showMarkSectionHeaders","Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:m("minimap.sectionHeaderFontSize","Controls the font size of section headers in the minimap.")},"editor.minimap.sectionHeaderLetterSpacing":{type:"number",default:e.sectionHeaderLetterSpacing,description:m("minimap.sectionHeaderLetterSpacing","Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")}})}validate(e){var i,n;if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),autohide:we(t.autohide,this.defaultValue.autohide),size:pi(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:pi(t.side,this.defaultValue.side,["right","left"]),showSlider:pi(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:we(t.renderCharacters,this.defaultValue.renderCharacters),scale:Pt.clampedInt(t.scale,1,1,3),maxColumn:Pt.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:we(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:we(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:zo.clamp((i=t.sectionHeaderFontSize)!=null?i:this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:zo.clamp((n=t.sectionHeaderLetterSpacing)!=null?n:this.defaultValue.sectionHeaderLetterSpacing,0,5)}}}function oQ(o){return o==="ctrlCmd"?tt?"metaKey":"ctrlKey":"altKey"}class rQ extends ei{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:m("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:Pt.clampedInt(t.top,0,0,1e3),bottom:Pt.clampedInt(t.bottom,0,0,1e3)}}}class aQ extends ei{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:m("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:m("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),cycle:we(t.cycle,this.defaultValue.cycle)}}}class lQ extends W1{constructor(){super(144)}compute(e,t,i){return e.pixelRatio}}class cQ extends ei{constructor(){super(88,"placeholder",void 0)}validate(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e:this.defaultValue}}class dQ extends ei{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[m("on","Quick suggestions show inside the suggest widget"),m("inline","Quick suggestions show as ghost text"),m("off","Quick suggestions are disabled")]}];super(90,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:m("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:m("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:m("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:m("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.","`#editor.suggestOnTriggerCharacters#`")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const c=e?"on":"off";return{comments:c,strings:c,other:c}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,s=["on","inline","off"];let r,a,l;return typeof t=="boolean"?r=t?"on":"off":r=pi(t,this.defaultValue.other,s),typeof i=="boolean"?a=i?"on":"off":a=pi(i,this.defaultValue.comments,s),typeof n=="boolean"?l=n?"on":"off":l=pi(n,this.defaultValue.strings,s),{other:r,comments:a,strings:l}}}class hQ extends ei{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[m("lineNumbers.off","Line numbers are not rendered."),m("lineNumbers.on","Line numbers are rendered as absolute number."),m("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),m("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:m("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e!="undefined"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}}function Oy(o){const e=o.get(99);return e==="editable"?o.get(92):e!=="on"}class uQ extends ei{constructor(){const e=[],t={type:"number",description:m("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(103,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:m("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:m("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="number")t.push({column:Pt.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:Pt.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}class gQ extends ei{constructor(){super(93,"readOnlyMessage",void 0)}validate(e){return!e||typeof e!="object"?this.defaultValue:e}}function GB(o,e){if(typeof o!="string")return e;switch(o){case"hidden":return 2;case"visible":return 3;default:return 1}}let fQ=class extends ei{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(104,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),m("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),m("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[m("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),m("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),m("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:m("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:m("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:m("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:m("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:m("scrollbar.ignoreHorizontalScrollbarInContentHeight","When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,i=Pt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=Pt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:Pt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:GB(t.vertical,this.defaultValue.vertical),horizontal:GB(t.horizontal,this.defaultValue.horizontal),useShadows:we(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:we(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:we(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:we(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:we(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:Pt.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:Pt.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:we(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:we(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const To="inUntrustedWorkspace",Rs={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class mQ extends ei{constructor(){const e={nonBasicASCII:To,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:To,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(126,"unicodeHighlight",e,{[Rs.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,To],default:e.nonBasicASCII,description:m("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[Rs.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:m("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Rs.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:m("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[Rs.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,To],default:e.includeComments,description:m("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[Rs.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,To],default:e.includeStrings,description:m("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[Rs.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:m("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[Rs.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:m("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(uo(e.allowedCharacters,t.allowedCharacters)||(e=de($({},e),{allowedCharacters:t.allowedCharacters}),i=!0)),t.allowedLocales&&e&&(uo(e.allowedLocales,t.allowedLocales)||(e=de($({},e),{allowedLocales:t.allowedLocales}),i=!0));const n=super.applyUpdate(e,t);return i?new QC(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:Zp(t.nonBasicASCII,To,[!0,!1,To]),invisibleCharacters:we(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:we(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Zp(t.includeComments,To,[!0,!1,To]),includeStrings:Zp(t.includeStrings,To,[!0,!1,To]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!="object"||!e)return t;const i={};for(const[n,s]of Object.entries(e))s===!0&&(i[n]=!0);return i}}class pQ extends ei{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default"};super(62,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:m("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),m("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),m("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:m("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:m("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),mode:pi(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:pi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:we(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:we(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:Jn.string(t.fontFamily,this.defaultValue.fontFamily)}}}class _Q extends ei{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:m("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[m("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),m("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),m("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:m("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:m("inlineEdit.fontFamily","Controls the font family of the inline edit.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),showToolbar:pi(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:Jn.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:we(t.keepOnBlur,this.defaultValue.keepOnBlur)}}}class bQ extends ei{constructor(){const e={enabled:Wn.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:Wn.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:m("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:we(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class CQ extends ei{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairs.true","Enables bracket pair guides."),m("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),m("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:m("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[m("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),m("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),m("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:m("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:m("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:m("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[m("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),m("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),m("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:m("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:Zp(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:Zp(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:we(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:we(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Zp(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function Zp(o,e,t){const i=t.indexOf(o);return i===-1?e:t[i]}class vQ extends ei{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(119,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[m("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),m("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:m("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:m("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:m("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:m("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[m("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),m("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),m("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:m("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.","`#editor.quickSuggestions#`","`#editor.suggestOnTriggerCharacters#`")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:m("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:m("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:m("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:m("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:m("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:m("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:m("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:m("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:pi(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:we(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:we(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:we(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:we(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:pi(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:we(t.showIcons,this.defaultValue.showIcons),showStatusBar:we(t.showStatusBar,this.defaultValue.showStatusBar),preview:we(t.preview,this.defaultValue.preview),previewMode:pi(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:we(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:we(t.showMethods,this.defaultValue.showMethods),showFunctions:we(t.showFunctions,this.defaultValue.showFunctions),showConstructors:we(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:we(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:we(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:we(t.showFields,this.defaultValue.showFields),showVariables:we(t.showVariables,this.defaultValue.showVariables),showClasses:we(t.showClasses,this.defaultValue.showClasses),showStructs:we(t.showStructs,this.defaultValue.showStructs),showInterfaces:we(t.showInterfaces,this.defaultValue.showInterfaces),showModules:we(t.showModules,this.defaultValue.showModules),showProperties:we(t.showProperties,this.defaultValue.showProperties),showEvents:we(t.showEvents,this.defaultValue.showEvents),showOperators:we(t.showOperators,this.defaultValue.showOperators),showUnits:we(t.showUnits,this.defaultValue.showUnits),showValues:we(t.showValues,this.defaultValue.showValues),showConstants:we(t.showConstants,this.defaultValue.showConstants),showEnums:we(t.showEnums,this.defaultValue.showEnums),showEnumMembers:we(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:we(t.showKeywords,this.defaultValue.showKeywords),showWords:we(t.showWords,this.defaultValue.showWords),showColors:we(t.showColors,this.defaultValue.showColors),showFiles:we(t.showFiles,this.defaultValue.showFiles),showReferences:we(t.showReferences,this.defaultValue.showReferences),showFolders:we(t.showFolders,this.defaultValue.showFolders),showTypeParameters:we(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:we(t.showSnippets,this.defaultValue.showSnippets),showUsers:we(t.showUsers,this.defaultValue.showUsers),showIssues:we(t.showIssues,this.defaultValue.showIssues)}}}class wQ extends ei{constructor(){super(114,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:m("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:m("selectSubwords","Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:we(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:we(e.selectSubwords,this.defaultValue.selectSubwords)}}}class SQ extends ei{constructor(){const e=[];super(131,"wordSegmenterLocales",e,{anyOf:[{description:m("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"string"},{description:m("wordSegmenterLocales","Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"array",items:{type:"string"}}]})}validate(e){if(typeof e=="string"&&(e=[e]),Array.isArray(e)){const t=[];for(const i of e)if(typeof i=="string")try{Intl.Segmenter.supportedLocalesOf(i).length>0&&t.push(i)}catch(n){}return t}return this.defaultValue}}class yQ extends ei{constructor(){super(139,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[m("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),m("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),m("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),m("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:m("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,i){return t.get(2)===2?0:i}}class LQ extends W1{constructor(){super(147)}compute(e,t,i){const n=t.get(146);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class xQ extends ei{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:m("dropIntoEditor.showDropSelector","Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[m("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),m("dropIntoEditor.showDropSelector.never","Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),showDropSelector:pi(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class kQ extends ei{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:m("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:m("pasteAs.showPasteSelector","Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[m("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),m("pasteAs.showPasteSelector.never","Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:we(t.enabled,this.defaultValue.enabled),showPasteSelector:pi(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const DQ="Consolas, 'Courier New', monospace",IQ="Menlo, Monaco, 'Courier New', monospace",EQ="'Droid Sans Mono', 'monospace', monospace",_s={fontFamily:tt?IQ:Cs?EQ:DQ,fontWeight:"normal",fontSize:tt?12:14,lineHeight:0,letterSpacing:0},ap=[];function oe(o){return ap[o.id]=o,o}const Ya={acceptSuggestionOnCommitCharacter:oe(new gt(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:m("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:oe(new mi(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",m("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:m("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:oe(new VX),accessibilityPageSize:oe(new Pt(3,"accessibilityPageSize",10,1,1073741824,{description:m("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:oe(new Jn(4,"ariaLabel",m("editorViewAccessibleLabel","Editor content"))),ariaRequired:oe(new gt(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:oe(new gt(8,"screenReaderAnnounceInlineSuggestion",!0,{description:m("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:oe(new mi(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),m("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:m("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:oe(new mi(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),m("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:m("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:oe(new mi(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:oe(new mi(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",m("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:m("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:oe(new mi(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",m("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),m("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:m("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:oe(new RS(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],HX,{enumDescriptions:[m("editor.autoIndent.none","The editor will not insert indentation automatically."),m("editor.autoIndent.keep","The editor will keep the current line's indentation."),m("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),m("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),m("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:m("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:oe(new gt(13,"automaticLayout",!1)),autoSurround:oe(new mi(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[m("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),m("editor.autoSurround.quotes","Surround with quotes but not brackets."),m("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:m("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:oe(new bQ),bracketPairGuides:oe(new CQ),stickyTabStops:oe(new gt(117,"stickyTabStops",!1,{description:m("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:oe(new gt(17,"codeLens",!0,{description:m("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:oe(new Jn(18,"codeLensFontFamily","",{description:m("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:oe(new Pt(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:m("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:oe(new gt(20,"colorDecorators",!0,{description:m("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:oe(new mi(149,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[m("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),m("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),m("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:m("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:oe(new Pt(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:m("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:oe(new gt(22,"columnSelection",!1,{description:m("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:oe(new zX),contextmenu:oe(new gt(24,"contextmenu",!0)),copyWithSyntaxHighlighting:oe(new gt(25,"copyWithSyntaxHighlighting",!0,{description:m("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:oe(new RS(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],UX,{description:m("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:oe(new mi(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[m("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),m("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),m("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:m("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:oe(new RS(28,"cursorStyle",bn.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],$X,{description:m("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:oe(new Pt(29,"cursorSurroundingLines",0,0,1073741824,{description:m("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:oe(new mi(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[m("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),m("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:m("cursorSurroundingLinesStyle","Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:oe(new Pt(31,"cursorWidth",0,0,1073741824,{markdownDescription:m("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:oe(new gt(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:oe(new gt(33,"disableMonospaceOptimizations",!1)),domReadOnly:oe(new gt(34,"domReadOnly",!1)),dragAndDrop:oe(new gt(35,"dragAndDrop",!0,{description:m("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:oe(new KX),dropIntoEditor:oe(new xQ),stickyScroll:oe(new eQ),experimentalWhitespaceRendering:oe(new mi(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[m("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),m("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),m("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:m("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:oe(new Jn(39,"extraEditorClassName","")),fastScrollSensitivity:oe(new zo(40,"fastScrollSensitivity",5,o=>o<=0?5:o,{markdownDescription:m("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:oe(new qX),fixedOverflowWidgets:oe(new gt(42,"fixedOverflowWidgets",!1)),folding:oe(new gt(43,"folding",!0,{description:m("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:oe(new mi(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[m("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),m("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:m("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:oe(new gt(45,"foldingHighlight",!0,{description:m("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:oe(new gt(46,"foldingImportsByDefault",!1,{description:m("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:oe(new Pt(47,"foldingMaximumRegions",5e3,10,65e3,{description:m("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:oe(new gt(48,"unfoldOnClickAfterEndOfLine",!1,{description:m("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:oe(new Jn(49,"fontFamily",_s.fontFamily,{description:m("fontFamily","Controls the font family.")})),fontInfo:oe(new GX),fontLigatures2:oe(new Vh),fontSize:oe(new ZX),fontWeight:oe(new pR),fontVariations:oe(new aw),formatOnPaste:oe(new gt(55,"formatOnPaste",!1,{description:m("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:oe(new gt(56,"formatOnType",!1,{description:m("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:oe(new gt(57,"glyphMargin",!0,{description:m("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:oe(new YX),hideCursorInOverviewRuler:oe(new gt(59,"hideCursorInOverviewRuler",!1,{description:m("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:oe(new XX),inDiffEditor:oe(new gt(61,"inDiffEditor",!1)),letterSpacing:oe(new zo(64,"letterSpacing",_s.letterSpacing,o=>zo.clamp(o,-5,20),{description:m("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:oe(new JX),lineDecorationsWidth:oe(new iQ),lineHeight:oe(new nQ),lineNumbers:oe(new hQ),lineNumbersMinChars:oe(new Pt(69,"lineNumbersMinChars",5,1,300)),linkedEditing:oe(new gt(70,"linkedEditing",!1,{description:m("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:oe(new gt(71,"links",!0,{description:m("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:oe(new mi(72,"matchBrackets","always",["always","near","never"],{description:m("matchBrackets","Highlight matching brackets.")})),minimap:oe(new sQ),mouseStyle:oe(new mi(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:oe(new zo(75,"mouseWheelScrollSensitivity",1,o=>o===0?1:o,{markdownDescription:m("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:oe(new gt(76,"mouseWheelZoom",!1,{markdownDescription:tt?m("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):m("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:oe(new gt(77,"multiCursorMergeOverlapping",!0,{description:m("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:oe(new RS(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],oQ,{markdownEnumDescriptions:[m("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),m("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:m({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:oe(new mi(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[m("multiCursorPaste.spread","Each cursor pastes a single line of the text."),m("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:m("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:oe(new Pt(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:m("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:oe(new mi(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[m("occurrencesHighlight.off","Does not highlight occurrences."),m("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),m("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:m("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:oe(new gt(82,"overviewRulerBorder",!0,{description:m("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:oe(new Pt(83,"overviewRulerLanes",3,0,3)),padding:oe(new rQ),pasteAs:oe(new kQ),parameterHints:oe(new aQ),peekWidgetDefaultFocus:oe(new mi(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[m("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),m("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:m("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),placeholder:oe(new cQ),definitionLinkOpensInPeek:oe(new gt(89,"definitionLinkOpensInPeek",!1,{description:m("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:oe(new dQ),quickSuggestionsDelay:oe(new Pt(91,"quickSuggestionsDelay",10,0,1073741824,{description:m("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:oe(new gt(92,"readOnly",!1)),readOnlyMessage:oe(new gQ),renameOnType:oe(new gt(94,"renameOnType",!1,{description:m("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:m("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:oe(new gt(95,"renderControlCharacters",!0,{description:m("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:oe(new mi(96,"renderFinalNewline",Cs?"dimmed":"on",["off","on","dimmed"],{description:m("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:oe(new mi(97,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",m("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:m("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:oe(new gt(98,"renderLineHighlightOnlyWhenFocus",!1,{description:m("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:oe(new mi(99,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:oe(new mi(100,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",m("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),m("renderWhitespace.selection","Render whitespace characters only on selected text."),m("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:m("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:oe(new Pt(101,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:oe(new gt(102,"roundedSelection",!0,{description:m("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:oe(new uQ),scrollbar:oe(new fQ),scrollBeyondLastColumn:oe(new Pt(105,"scrollBeyondLastColumn",4,0,1073741824,{description:m("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:oe(new gt(106,"scrollBeyondLastLine",!0,{description:m("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:oe(new gt(107,"scrollPredominantAxis",!0,{description:m("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:oe(new gt(108,"selectionClipboard",!0,{description:m("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:Cs})),selectionHighlight:oe(new gt(109,"selectionHighlight",!0,{description:m("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:oe(new gt(110,"selectOnLineNumbers",!0)),showFoldingControls:oe(new mi(111,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[m("showFoldingControls.always","Always show the folding controls."),m("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),m("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:m("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:oe(new gt(112,"showUnused",!0,{description:m("showUnused","Controls fading out of unused code.")})),showDeprecated:oe(new gt(141,"showDeprecated",!0,{description:m("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:oe(new tQ),snippetSuggestions:oe(new mi(113,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[m("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),m("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),m("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),m("snippetSuggestions.none","Do not show snippet suggestions.")],description:m("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:oe(new wQ),smoothScrolling:oe(new gt(115,"smoothScrolling",!1,{description:m("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:oe(new Pt(118,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:oe(new vQ),inlineSuggest:oe(new pQ),inlineEdit:oe(new _Q),inlineCompletionsAccessibilityVerbose:oe(new gt(150,"inlineCompletionsAccessibilityVerbose",!1,{description:m("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:oe(new Pt(120,"suggestFontSize",0,0,1e3,{markdownDescription:m("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:oe(new Pt(121,"suggestLineHeight",0,0,1e3,{markdownDescription:m("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:oe(new gt(122,"suggestOnTriggerCharacters",!0,{description:m("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:oe(new mi(123,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[m("suggestSelection.first","Always select the first suggestion."),m("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),m("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:m("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:oe(new mi(124,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[m("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),m("tabCompletion.off","Disable tab completions."),m("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:m("tabCompletion","Enables tab completions.")})),tabIndex:oe(new Pt(125,"tabIndex",0,-1,1073741824)),unicodeHighlight:oe(new mQ),unusualLineTerminators:oe(new mi(127,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[m("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),m("unusualLineTerminators.off","Unusual line terminators are ignored."),m("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:m("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:oe(new gt(128,"useShadowDOM",!0)),useTabStops:oe(new gt(129,"useTabStops",!0,{description:m("useTabStops","Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:oe(new mi(130,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[m("wordBreak.normal","Use the default line break rule."),m("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:m("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:oe(new SQ),wordSeparators:oe(new Jn(132,"wordSeparators",Py,{description:m("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:oe(new mi(133,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[m("wordWrap.off","Lines will never wrap."),m("wordWrap.on","Lines will wrap at the viewport width."),m({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),m({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:m({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:oe(new Jn(134,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:oe(new Jn(135,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:oe(new Pt(136,"wordWrapColumn",80,1,1073741824,{markdownDescription:m({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:oe(new mi(137,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:oe(new mi(138,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:oe(new jX),defaultColorDecorators:oe(new gt(148,"defaultColorDecorators",!1,{markdownDescription:m("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:oe(new lQ),tabFocusMode:oe(new gt(145,"tabFocusMode",!1,{markdownDescription:m("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:oe(new Gp),wrappingInfo:oe(new LQ),wrappingIndent:oe(new yQ),wrappingStrategy:oe(new QX)};class NQ{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?R_.isErrorNoTelemetry(e)?new R_(e.message+` @@ -663,27 +663,27 @@ ${e.toString()}`}}class nx{constructor(e=new Fb,t=!1,i,n=Rfe){var s;this._servic * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Wwe=Object.defineProperty,Bwe=Object.getOwnPropertyDescriptor,Hwe=Object.getOwnPropertyNames,Vwe=Object.prototype.hasOwnProperty,zwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Hwe(e))!Vwe.call(o,n)&&n!==t&&Wwe(o,n,{get:()=>e[n],enumerable:!(i=Bwe(e,n))||i.enumerable});return o},Uwe=(o,e,t)=>(zwe(o,e,"default"),t),VC={};Uwe(VC,gS);var eG={},MT={},$we=class tG{static getOrCreate(e){return MT[e]||(MT[e]=new tG(e)),MT[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,eG[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function Ie(o){const e=o.id;eG[e]=o,VC.languages.register(o);const t=$we.getOrCreate(e);VC.languages.registerTokensProviderFactory(e,{create:()=>I(this,null,function*(){return(yield t.load()).language})}),VC.languages.onLanguageEncountered(e,()=>I(this,null,function*(){const i=yield t.load();VC.languages.setLanguageConfiguration(e,i.conf)}))}Ie({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>xe(()=>import("./abap-BrgZPUOV.js"),[])});Ie({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>xe(()=>import("./apex-DyP6w7ZV.js"),[])});Ie({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>xe(()=>import("./azcli-BaLxmfj-.js"),[])});Ie({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>xe(()=>import("./bat-CFOPXBzS.js"),[])});Ie({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>xe(()=>import("./bicep-BfEKNvv3.js"),[])});Ie({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>xe(()=>import("./cameligo-BFG1Mk7z.js"),[])});Ie({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>xe(()=>import("./clojure-DTECt2xU.js"),[])});Ie({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>xe(()=>import("./coffee-CDGzqUPQ.js"),[])});Ie({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>xe(()=>import("./cpp-CLLBncYj.js"),[])});Ie({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>xe(()=>import("./cpp-CLLBncYj.js"),[])});Ie({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>xe(()=>import("./csharp-dUCx_-0o.js"),[])});Ie({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>xe(()=>import("./csp-5Rap-vPy.js"),[])});Ie({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>xe(()=>import("./css-D3h14YRZ.js"),[])});Ie({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>xe(()=>import("./cypher-DrQuvNYM.js"),[])});Ie({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>xe(()=>import("./dart-CFKIUWau.js"),[])});Ie({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>xe(()=>import("./dockerfile-Zznr-cwX.js"),[])});Ie({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>xe(()=>import("./ecl-Ce3n6wWz.js"),[])});Ie({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>xe(()=>import("./elixir-deUWdS0T.js"),[])});Ie({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>xe(()=>import("./flow9-i9-g7ZhI.js"),[])});Ie({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>xe(()=>import("./fsharp-CzKuDChf.js"),[])});Ie({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>xe(()=>import("./freemarker2-CWHnVJ6v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAutoInterpolationDollar)});Ie({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>xe(()=>import("./freemarker2-CWHnVJ6v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAngleInterpolationDollar)});Ie({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>xe(()=>import("./freemarker2-CWHnVJ6v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagBracketInterpolationDollar)});Ie({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>xe(()=>import("./freemarker2-CWHnVJ6v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAngleInterpolationBracket)});Ie({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>xe(()=>import("./freemarker2-CWHnVJ6v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagBracketInterpolationBracket)});Ie({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>xe(()=>import("./freemarker2-CWHnVJ6v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAutoInterpolationDollar)});Ie({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>xe(()=>import("./freemarker2-CWHnVJ6v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAutoInterpolationBracket)});Ie({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>xe(()=>import("./go-Cphgjts3.js"),[])});Ie({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>xe(()=>import("./graphql-Cg7bfA9N.js"),[])});Ie({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>xe(()=>import("./handlebars-CmWypNxw.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>xe(()=>import("./hcl-0cvrggvQ.js"),[])});Ie({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>xe(()=>import("./html-D-endfds.js"),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>xe(()=>import("./ini-Drc7WvVn.js"),[])});Ie({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>xe(()=>import("./java-B_fMsGYe.js"),[])});Ie({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>xe(()=>import("./javascript-DxDXNr0Y.js"),__vite__mapDeps([17,18,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>xe(()=>import("./julia-Bqgm2twL.js"),[])});Ie({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>xe(()=>import("./kotlin-BSkB5QuD.js"),[])});Ie({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>xe(()=>import("./less-BsTHnhdd.js"),[])});Ie({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>xe(()=>import("./lexon-YWi4-JPR.js"),[])});Ie({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>xe(()=>import("./lua-nf6ki56Z.js"),[])});Ie({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>xe(()=>import("./liquid-D2ShIWRF.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>xe(()=>import("./m3-Cpb6xl2v.js"),[])});Ie({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>xe(()=>import("./markdown-DSZPf7rp.js"),[])});Ie({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>xe(()=>import("./mdx-CNUEAJY1.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>xe(()=>import("./mips-B_c3zf-v.js"),[])});Ie({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>xe(()=>import("./msdax-rUNN04Wq.js"),[])});Ie({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>xe(()=>import("./mysql-DDwshQtU.js"),[])});Ie({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>xe(()=>import("./objective-c-B5zXfXm9.js"),[])});Ie({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>xe(()=>import("./pascal-CXOwvkN_.js"),[])});Ie({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>xe(()=>import("./pascaligo-Bc-ZgV77.js"),[])});Ie({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>xe(()=>import("./perl-CwNk8-XU.js"),[])});Ie({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>xe(()=>import("./pgsql-tGk8EFnU.js"),[])});Ie({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>xe(()=>import("./php-CpIb_Oan.js"),[])});Ie({id:"pla",extensions:[".pla"],loader:()=>xe(()=>import("./pla-B03wrqEc.js"),[])});Ie({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>xe(()=>import("./postiats-BKlk5iyT.js"),[])});Ie({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>xe(()=>import("./powerquery-Bhzvs7bI.js"),[])});Ie({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>xe(()=>import("./powershell-Dd3NCNK9.js"),[])});Ie({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>xe(()=>import("./protobuf-COyEY5Pt.js"),[])});Ie({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>xe(()=>import("./pug-BaJupSGV.js"),[])});Ie({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>xe(()=>import("./python-BkHK70YH.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>xe(()=>import("./qsharp-DXyYeYxl.js"),[])});Ie({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>xe(()=>import("./r-CdQndTaG.js"),[])});Ie({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>xe(()=>import("./razor-BpYgokUT.js"),__vite__mapDeps([22,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>xe(()=>import("./redis-CVwtpugi.js"),[])});Ie({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>xe(()=>import("./redshift-25W9uPmb.js"),[])});Ie({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>xe(()=>import("./restructuredtext-DfzH4Xui.js"),[])});Ie({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>xe(()=>import("./ruby-Cp1zYvxS.js"),[])});Ie({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>xe(()=>import("./rust-D5C2fndG.js"),[])});Ie({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>xe(()=>import("./sb-CDntyWJ8.js"),[])});Ie({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>xe(()=>import("./scala-BoFRg7Ot.js"),[])});Ie({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>xe(()=>import("./scheme-Bio4gycK.js"),[])});Ie({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>xe(()=>import("./scss-4Ik7cdeQ.js"),[])});Ie({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>xe(()=>import("./shell-CX-rkNHf.js"),[])});Ie({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>xe(()=>import("./solidity-Tw7wswEv.js"),[])});Ie({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>xe(()=>import("./sophia-C5WLch3f.js"),[])});Ie({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>xe(()=>import("./sparql-DHaeiCBh.js"),[])});Ie({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>xe(()=>import("./sql-CCSDG5nI.js"),[])});Ie({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>xe(()=>import("./st-pnP8ivHi.js"),[])});Ie({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>xe(()=>import("./swift-DwJ7jVG9.js"),[])});Ie({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>xe(()=>import("./systemverilog-B9Xyijhd.js"),[])});Ie({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>xe(()=>import("./systemverilog-B9Xyijhd.js"),[])});Ie({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>xe(()=>import("./tcl-DnHyzjbg.js"),[])});Ie({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>xe(()=>import("./twig-CPajHgWi.js"),[])});Ie({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>xe(()=>import("./typescript-DydL70xz.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>xe(()=>import("./typespec-D-MeaMDU.js"),[])});Ie({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>xe(()=>import("./vb-DgyLZaXg.js"),[])});Ie({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>xe(()=>import("./wgsl-BIv9DU6q.js"),[])});Ie({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\xe(()=>import("./xml-yajEARIc.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>xe(()=>import("./yaml-ChWugdwZ.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Wwe=Object.defineProperty,Bwe=Object.getOwnPropertyDescriptor,Hwe=Object.getOwnPropertyNames,Vwe=Object.prototype.hasOwnProperty,zwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Hwe(e))!Vwe.call(o,n)&&n!==t&&Wwe(o,n,{get:()=>e[n],enumerable:!(i=Bwe(e,n))||i.enumerable});return o},Uwe=(o,e,t)=>(zwe(o,e,"default"),t),VC={};Uwe(VC,gS);var eG={},MT={},$we=class tG{static getOrCreate(e){return MT[e]||(MT[e]=new tG(e)),MT[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,eG[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}};function Ie(o){const e=o.id;eG[e]=o,VC.languages.register(o);const t=$we.getOrCreate(e);VC.languages.registerTokensProviderFactory(e,{create:()=>I(this,null,function*(){return(yield t.load()).language})}),VC.languages.onLanguageEncountered(e,()=>I(this,null,function*(){const i=yield t.load();VC.languages.setLanguageConfiguration(e,i.conf)}))}Ie({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>xe(()=>import("./abap-BrgZPUOV.js"),[])});Ie({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>xe(()=>import("./apex-DyP6w7ZV.js"),[])});Ie({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>xe(()=>import("./azcli-BaLxmfj-.js"),[])});Ie({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>xe(()=>import("./bat-CFOPXBzS.js"),[])});Ie({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>xe(()=>import("./bicep-BfEKNvv3.js"),[])});Ie({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>xe(()=>import("./cameligo-BFG1Mk7z.js"),[])});Ie({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>xe(()=>import("./clojure-DTECt2xU.js"),[])});Ie({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>xe(()=>import("./coffee-CDGzqUPQ.js"),[])});Ie({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>xe(()=>import("./cpp-CLLBncYj.js"),[])});Ie({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>xe(()=>import("./cpp-CLLBncYj.js"),[])});Ie({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>xe(()=>import("./csharp-dUCx_-0o.js"),[])});Ie({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>xe(()=>import("./csp-5Rap-vPy.js"),[])});Ie({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>xe(()=>import("./css-D3h14YRZ.js"),[])});Ie({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>xe(()=>import("./cypher-DrQuvNYM.js"),[])});Ie({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>xe(()=>import("./dart-CFKIUWau.js"),[])});Ie({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>xe(()=>import("./dockerfile-Zznr-cwX.js"),[])});Ie({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>xe(()=>import("./ecl-Ce3n6wWz.js"),[])});Ie({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>xe(()=>import("./elixir-deUWdS0T.js"),[])});Ie({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>xe(()=>import("./flow9-i9-g7ZhI.js"),[])});Ie({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>xe(()=>import("./fsharp-CzKuDChf.js"),[])});Ie({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>xe(()=>import("./freemarker2-Du7UvBnj.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAutoInterpolationDollar)});Ie({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>xe(()=>import("./freemarker2-Du7UvBnj.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAngleInterpolationDollar)});Ie({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>xe(()=>import("./freemarker2-Du7UvBnj.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagBracketInterpolationDollar)});Ie({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>xe(()=>import("./freemarker2-Du7UvBnj.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAngleInterpolationBracket)});Ie({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>xe(()=>import("./freemarker2-Du7UvBnj.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagBracketInterpolationBracket)});Ie({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>xe(()=>import("./freemarker2-Du7UvBnj.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAutoInterpolationDollar)});Ie({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>xe(()=>import("./freemarker2-Du7UvBnj.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14])).then(o=>o.TagAutoInterpolationBracket)});Ie({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>xe(()=>import("./go-Cphgjts3.js"),[])});Ie({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>xe(()=>import("./graphql-Cg7bfA9N.js"),[])});Ie({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>xe(()=>import("./handlebars-Bwish1Ot.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>xe(()=>import("./hcl-0cvrggvQ.js"),[])});Ie({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>xe(()=>import("./html-BAsTLnFe.js"),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>xe(()=>import("./ini-Drc7WvVn.js"),[])});Ie({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>xe(()=>import("./java-B_fMsGYe.js"),[])});Ie({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>xe(()=>import("./javascript-CxJNxUap.js"),__vite__mapDeps([17,18,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>xe(()=>import("./julia-Bqgm2twL.js"),[])});Ie({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>xe(()=>import("./kotlin-BSkB5QuD.js"),[])});Ie({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>xe(()=>import("./less-BsTHnhdd.js"),[])});Ie({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>xe(()=>import("./lexon-YWi4-JPR.js"),[])});Ie({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>xe(()=>import("./lua-nf6ki56Z.js"),[])});Ie({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>xe(()=>import("./liquid-CAEorw33.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>xe(()=>import("./m3-Cpb6xl2v.js"),[])});Ie({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>xe(()=>import("./markdown-DSZPf7rp.js"),[])});Ie({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>xe(()=>import("./mdx-DiXs2CiW.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>xe(()=>import("./mips-B_c3zf-v.js"),[])});Ie({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>xe(()=>import("./msdax-rUNN04Wq.js"),[])});Ie({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>xe(()=>import("./mysql-DDwshQtU.js"),[])});Ie({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>xe(()=>import("./objective-c-B5zXfXm9.js"),[])});Ie({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>xe(()=>import("./pascal-CXOwvkN_.js"),[])});Ie({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>xe(()=>import("./pascaligo-Bc-ZgV77.js"),[])});Ie({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>xe(()=>import("./perl-CwNk8-XU.js"),[])});Ie({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>xe(()=>import("./pgsql-tGk8EFnU.js"),[])});Ie({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>xe(()=>import("./php-CpIb_Oan.js"),[])});Ie({id:"pla",extensions:[".pla"],loader:()=>xe(()=>import("./pla-B03wrqEc.js"),[])});Ie({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>xe(()=>import("./postiats-BKlk5iyT.js"),[])});Ie({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>xe(()=>import("./powerquery-Bhzvs7bI.js"),[])});Ie({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>xe(()=>import("./powershell-Dd3NCNK9.js"),[])});Ie({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>xe(()=>import("./protobuf-COyEY5Pt.js"),[])});Ie({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>xe(()=>import("./pug-BaJupSGV.js"),[])});Ie({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>xe(()=>import("./python-BLX68HFQ.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>xe(()=>import("./qsharp-DXyYeYxl.js"),[])});Ie({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>xe(()=>import("./r-CdQndTaG.js"),[])});Ie({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>xe(()=>import("./razor-D4UnLl2f.js"),__vite__mapDeps([22,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>xe(()=>import("./redis-CVwtpugi.js"),[])});Ie({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>xe(()=>import("./redshift-25W9uPmb.js"),[])});Ie({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>xe(()=>import("./restructuredtext-DfzH4Xui.js"),[])});Ie({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>xe(()=>import("./ruby-Cp1zYvxS.js"),[])});Ie({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>xe(()=>import("./rust-D5C2fndG.js"),[])});Ie({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>xe(()=>import("./sb-CDntyWJ8.js"),[])});Ie({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>xe(()=>import("./scala-BoFRg7Ot.js"),[])});Ie({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>xe(()=>import("./scheme-Bio4gycK.js"),[])});Ie({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>xe(()=>import("./scss-4Ik7cdeQ.js"),[])});Ie({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>xe(()=>import("./shell-CX-rkNHf.js"),[])});Ie({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>xe(()=>import("./solidity-Tw7wswEv.js"),[])});Ie({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>xe(()=>import("./sophia-C5WLch3f.js"),[])});Ie({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>xe(()=>import("./sparql-DHaeiCBh.js"),[])});Ie({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>xe(()=>import("./sql-CCSDG5nI.js"),[])});Ie({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>xe(()=>import("./st-pnP8ivHi.js"),[])});Ie({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>xe(()=>import("./swift-DwJ7jVG9.js"),[])});Ie({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>xe(()=>import("./systemverilog-B9Xyijhd.js"),[])});Ie({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>xe(()=>import("./systemverilog-B9Xyijhd.js"),[])});Ie({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>xe(()=>import("./tcl-DnHyzjbg.js"),[])});Ie({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>xe(()=>import("./twig-CPajHgWi.js"),[])});Ie({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>xe(()=>import("./typescript-M-1CxcOC.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>xe(()=>import("./typespec-D-MeaMDU.js"),[])});Ie({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>xe(()=>import("./vb-DgyLZaXg.js"),[])});Ie({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>xe(()=>import("./wgsl-BIv9DU6q.js"),[])});Ie({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\xe(()=>import("./xml-BelG5VnH.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});Ie({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>xe(()=>import("./yaml-UQHD_GqP.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var jwe=Object.defineProperty,Kwe=Object.getOwnPropertyDescriptor,qwe=Object.getOwnPropertyNames,Gwe=Object.prototype.hasOwnProperty,Zwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of qwe(e))!Gwe.call(o,n)&&n!==t&&jwe(o,n,{get:()=>e[n],enumerable:!(i=Kwe(e,n))||i.enumerable});return o},Ywe=(o,e,t)=>(Zwe(o,e,"default"),t),Hb={};Ywe(Hb,gS);var xW=class{constructor(e,t,i){this._onDidChange=new Hb.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},kW={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},DW={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},iG=new xW("css",kW,DW),nG=new xW("scss",kW,DW),sG=new xW("less",kW,DW);Hb.languages.css={cssDefaults:iG,lessDefaults:sG,scssDefaults:nG};function IW(){return xe(()=>import("./cssMode-Dfh5t4w7.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))}Hb.languages.onLanguage("less",()=>{IW().then(o=>o.setupMode(sG))});Hb.languages.onLanguage("scss",()=>{IW().then(o=>o.setupMode(nG))});Hb.languages.onLanguage("css",()=>{IW().then(o=>o.setupMode(iG))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var jwe=Object.defineProperty,Kwe=Object.getOwnPropertyDescriptor,qwe=Object.getOwnPropertyNames,Gwe=Object.prototype.hasOwnProperty,Zwe=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of qwe(e))!Gwe.call(o,n)&&n!==t&&jwe(o,n,{get:()=>e[n],enumerable:!(i=Kwe(e,n))||i.enumerable});return o},Ywe=(o,e,t)=>(Zwe(o,e,"default"),t),Hb={};Ywe(Hb,gS);var xW=class{constructor(e,t,i){this._onDidChange=new Hb.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},kW={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},DW={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},iG=new xW("css",kW,DW),nG=new xW("scss",kW,DW),sG=new xW("less",kW,DW);Hb.languages.css={cssDefaults:iG,lessDefaults:sG,scssDefaults:nG};function IW(){return xe(()=>import("./cssMode-BcjICpkS.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))}Hb.languages.onLanguage("less",()=>{IW().then(o=>o.setupMode(sG))});Hb.languages.onLanguage("scss",()=>{IW().then(o=>o.setupMode(nG))});Hb.languages.onLanguage("css",()=>{IW().then(o=>o.setupMode(iG))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Xwe=Object.defineProperty,Qwe=Object.getOwnPropertyDescriptor,Jwe=Object.getOwnPropertyNames,e1e=Object.prototype.hasOwnProperty,t1e=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Jwe(e))!e1e.call(o,n)&&n!==t&&Xwe(o,n,{get:()=>e[n],enumerable:!(i=Qwe(e,n))||i.enumerable});return o},i1e=(o,e,t)=>(t1e(o,e,"default"),t),kE={};i1e(kE,gS);var n1e=class{constructor(e,t,i){this._onDidChange=new kE.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},s1e={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},DE={format:s1e,suggest:{},data:{useDefaultDataProvider:!0}};function IE(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===Dv,documentFormattingEdits:o===Dv,documentRangeFormattingEdits:o===Dv}}var Dv="html",LV="handlebars",xV="razor",oG=EE(Dv,DE,IE(Dv)),o1e=oG.defaults,rG=EE(LV,DE,IE(LV)),r1e=rG.defaults,aG=EE(xV,DE,IE(xV)),a1e=aG.defaults;kE.languages.html={htmlDefaults:o1e,razorDefaults:a1e,handlebarDefaults:r1e,htmlLanguageService:oG,handlebarLanguageService:rG,razorLanguageService:aG,registerHTMLLanguageService:EE};function l1e(){return xe(()=>import("./htmlMode-CiORHnUy.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))}function EE(o,e=DE,t=IE(o)){const i=new n1e(o,e,t);let n;const s=kE.languages.onLanguage(o,()=>I(this,null,function*(){n=(yield l1e()).setupMode(i)}));return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Xwe=Object.defineProperty,Qwe=Object.getOwnPropertyDescriptor,Jwe=Object.getOwnPropertyNames,e1e=Object.prototype.hasOwnProperty,t1e=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Jwe(e))!e1e.call(o,n)&&n!==t&&Xwe(o,n,{get:()=>e[n],enumerable:!(i=Qwe(e,n))||i.enumerable});return o},i1e=(o,e,t)=>(t1e(o,e,"default"),t),kE={};i1e(kE,gS);var n1e=class{constructor(e,t,i){this._onDidChange=new kE.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},s1e={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},DE={format:s1e,suggest:{},data:{useDefaultDataProvider:!0}};function IE(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===Dv,documentFormattingEdits:o===Dv,documentRangeFormattingEdits:o===Dv}}var Dv="html",LV="handlebars",xV="razor",oG=EE(Dv,DE,IE(Dv)),o1e=oG.defaults,rG=EE(LV,DE,IE(LV)),r1e=rG.defaults,aG=EE(xV,DE,IE(xV)),a1e=aG.defaults;kE.languages.html={htmlDefaults:o1e,razorDefaults:a1e,handlebarDefaults:r1e,htmlLanguageService:oG,handlebarLanguageService:rG,razorLanguageService:aG,registerHTMLLanguageService:EE};function l1e(){return xe(()=>import("./htmlMode-PXBApk8t.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))}function EE(o,e=DE,t=IE(o)){const i=new n1e(o,e,t);let n;const s=kE.languages.onLanguage(o,()=>I(this,null,function*(){n=(yield l1e()).setupMode(i)}));return{defaults:i,dispose(){s.dispose(),n==null||n.dispose(),n=void 0}}}/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var c1e=Object.defineProperty,d1e=Object.getOwnPropertyDescriptor,h1e=Object.getOwnPropertyNames,u1e=Object.prototype.hasOwnProperty,g1e=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of h1e(e))!u1e.call(o,n)&&n!==t&&c1e(o,n,{get:()=>e[n],enumerable:!(i=d1e(e,n))||i.enumerable});return o},f1e=(o,e,t)=>(g1e(o,e,"default"),t),fS={};f1e(fS,gS);var m1e=class{constructor(e,t,i){this._onDidChange=new fS.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},p1e={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},_1e={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},lG=new m1e("json",p1e,_1e),b1e=()=>cG().then(o=>o.getWorker());fS.languages.json={jsonDefaults:lG,getWorker:b1e};function cG(){return xe(()=>import("./jsonMode-CxL1oSpF.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))}fS.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});fS.languages.onLanguage("json",()=>{cG().then(o=>o.setupMode(lG))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var c1e=Object.defineProperty,d1e=Object.getOwnPropertyDescriptor,h1e=Object.getOwnPropertyNames,u1e=Object.prototype.hasOwnProperty,g1e=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of h1e(e))!u1e.call(o,n)&&n!==t&&c1e(o,n,{get:()=>e[n],enumerable:!(i=d1e(e,n))||i.enumerable});return o},f1e=(o,e,t)=>(g1e(o,e,"default"),t),fS={};f1e(fS,gS);var m1e=class{constructor(e,t,i){this._onDidChange=new fS.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},p1e={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},_1e={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},lG=new m1e("json",p1e,_1e),b1e=()=>cG().then(o=>o.getWorker());fS.languages.json={jsonDefaults:lG,getWorker:b1e};function cG(){return xe(()=>import("./jsonMode-DSsbwNx-.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))}fS.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});fS.languages.onLanguage("json",()=>{cG().then(o=>o.setupMode(lG))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var C1e=Object.defineProperty,v1e=Object.getOwnPropertyDescriptor,w1e=Object.getOwnPropertyNames,S1e=Object.prototype.hasOwnProperty,y1e=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of w1e(e))!S1e.call(o,n)&&n!==t&&C1e(o,n,{get:()=>e[n],enumerable:!(i=v1e(e,n))||i.enumerable});return o},L1e=(o,e,t)=>(y1e(o,e,"default"),t),x1e="5.4.5",sb={};L1e(sb,gS);var dG=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(dG||{}),hG=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(hG||{}),uG=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(uG||{}),gG=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(gG||{}),fG=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(fG||{}),mG=class{constructor(o,e,t,i,n){this._onDidChange=new sb.Emitter,this._onDidExtraLibsChange=new sb.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e=="undefined"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(void 0)}},k1e=x1e,pG={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},_G=new mG({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},pG),bG=new mG({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},pG),D1e=()=>NE().then(o=>o.getTypeScriptWorker()),I1e=()=>NE().then(o=>o.getJavaScriptWorker());sb.languages.typescript={ModuleKind:dG,JsxEmit:hG,NewLineKind:uG,ScriptTarget:gG,ModuleResolutionKind:fG,typescriptVersion:k1e,typescriptDefaults:_G,javascriptDefaults:bG,getTypeScriptWorker:D1e,getJavaScriptWorker:I1e};function NE(){return xe(()=>import("./tsMode-LtsHhXxD.js"),__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))}sb.languages.onLanguage("typescript",()=>NE().then(o=>o.setupTypeScript(_G)));sb.languages.onLanguage("javascript",()=>NE().then(o=>o.setupJavaScript(bG)));class E1e extends Ls{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:Ae("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:ie.map,toggled:Z.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:Z.has("isInDiffEditor"),menu:{when:Z.has("isInDiffEditor"),id:pe.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(Ze),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class CG extends Ls{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:Ae("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:Z.has("isInDiffEditor")})}run(e,...t){const i=e.get(Ze),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class vG extends Ls{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:Ae("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:Z.has("isInDiffEditor")})}run(e,...t){const i=e.get(Ze),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}const mS=Ae("diffEditor","Diff Editor");class N1e extends Xa{constructor(){super({id:"diffEditor.switchSide",title:Ae("switchSide","Switch Side"),icon:ie.arrowSwap,precondition:Z.has("isInDiffEditor"),f1:!0,category:mS})}runEditorCommand(e,t,i){const n=Vb(e);if(n instanceof gd){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class T1e extends Xa{constructor(){super({id:"diffEditor.exitCompareMove",title:Ae("exitCompareMove","Exit Compare Move"),icon:ie.close,precondition:E.comparingMovedCode,f1:!1,category:mS,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=Vb(e);n instanceof gd&&n.exitCompareMove()}}class R1e extends Xa{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:Ae("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:ie.fold,precondition:Z.has("isInDiffEditor"),f1:!0,category:mS})}runEditorCommand(e,t,...i){const n=Vb(e);n instanceof gd&&n.collapseAllUnchangedRegions()}}class M1e extends Xa{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:Ae("showAllUnchangedRegions","Show All Unchanged Regions"),icon:ie.unfold,precondition:Z.has("isInDiffEditor"),f1:!0,category:mS})}runEditorCommand(e,t,...i){const n=Vb(e);n instanceof gd&&n.showAllUnchangedRegions()}}class XP extends Ls{constructor(){super({id:"diffEditor.revert",title:Ae("revert","Revert"),f1:!1,category:mS})}run(e,t){var n;const i=A1e(e,t.originalUri,t.modifiedUri);i instanceof gd&&i.revertRangeMappings((n=t.mapping.innerChanges)!=null?n:[])}}const wG=Ae("accessibleDiffViewer","Accessible Diff Viewer"),xD=class xD extends Ls{constructor(){super({id:xD.id,title:Ae("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:wG,precondition:Z.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=Vb(e);t==null||t.accessibleDiffViewerNext()}};xD.id="editor.action.accessibleDiffViewer.next";let d1=xD;const kD=class kD extends Ls{constructor(){super({id:kD.id,title:Ae("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:wG,precondition:Z.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=Vb(e);t==null||t.accessibleDiffViewerPrev()}};kD.id="editor.action.accessibleDiffViewer.prev";let Rx=kD;function A1e(o,e,t){return o.get(pt).listDiffEditors().find(s=>{var l,c;const r=s.getModifiedEditor(),a=s.getOriginalEditor();return r&&((l=r.getModel())==null?void 0:l.uri.toString())===t.toString()&&a&&((c=a.getModel())==null?void 0:c.uri.toString())===e.toString()})||null}function Vb(o){const t=o.get(pt).listDiffEditors(),i=Tn();if(i)for(const n of t){const s=n.getContainerDomNode();if(P1e(s,i))return n}return null}function P1e(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentElement}return!1}Ft(E1e);Ft(CG);Ft(vG);cn.appendMenuItem(pe.EditorTitle,{command:{id:new vG().desc.id,title:m("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:Z.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:Z.has("isInDiffEditor")},order:11,group:"1_diff",when:Z.and(E.diffEditorRenderSideBySideInlineBreakpointReached,Z.has("isInDiffEditor"))});cn.appendMenuItem(pe.EditorTitle,{command:{id:new CG().desc.id,title:m("showMoves","Show Moved Code Blocks"),icon:ie.move,toggled:yb.create("config.diffEditor.experimental.showMoves",!0),precondition:Z.has("isInDiffEditor")},order:10,group:"1_diff",when:Z.has("isInDiffEditor")});Ft(XP);for(const o of[{icon:ie.arrowRight,key:E.diffEditorInlineMode.toNegated()},{icon:ie.discard,key:E.diffEditorInlineMode}])cn.appendMenuItem(pe.DiffEditorHunkToolbar,{command:{id:new XP().desc.id,title:m("revertHunk","Revert Block"),icon:o.icon},when:Z.and(E.diffEditorModifiedWritable,o.key),order:5,group:"primary"}),cn.appendMenuItem(pe.DiffEditorSelectionToolbar,{command:{id:new XP().desc.id,title:m("revertSelection","Revert Selection"),icon:o.icon},when:Z.and(E.diffEditorModifiedWritable,o.key),order:5,group:"primary"});Ft(N1e);Ft(T1e);Ft(R1e);Ft(M1e);cn.appendMenuItem(pe.EditorTitle,{command:{id:d1.id,title:m("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:Z.has("isInDiffEditor")},order:10,group:"2_diff",when:Z.and(E.accessibleDiffViewerVisible.negate(),Z.has("isInDiffEditor"))});at.registerCommandAlias("editor.action.diffReview.next",d1.id);Ft(d1);at.registerCommandAlias("editor.action.diffReview.prev",Rx.id);Ft(Rx);var O1e=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},F1e=function(o,e){return function(t,i){e(t,i,o)}},QP;const TE=new he("selectionAnchorSet",!1);var $g;let nu=($g=class{static get(e){return e.getContribution(QP.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=TE.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(_e.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new Bn().appendText(m("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),Ss(m("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(_e.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}},QP=$g,$g.ID="editor.contrib.selectionAnchorController",$g);nu=QP=O1e([F1e(1,Te)],nu);class W1e extends ge{constructor(){super({id:"editor.action.setSelectionAnchor",label:m("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:zi(2089,2080),weight:100}})}run(e,t){return I(this,null,function*(){var i;(i=nu.get(t))==null||i.setSelectionAnchor()})}}class B1e extends ge{constructor(){super({id:"editor.action.goToSelectionAnchor",label:m("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:TE})}run(e,t){return I(this,null,function*(){var i;(i=nu.get(t))==null||i.goToSelectionAnchor()})}}class H1e extends ge{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:m("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:TE,kbOpts:{kbExpr:E.editorTextFocus,primary:zi(2089,2089),weight:100}})}run(e,t){return I(this,null,function*(){var i;(i=nu.get(t))==null||i.selectFromAnchorToCursor()})}}class V1e extends ge{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:m("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:TE,kbOpts:{kbExpr:E.editorTextFocus,primary:9,weight:100}})}run(e,t){return I(this,null,function*(){var i;(i=nu.get(t))==null||i.cancelSelectionAnchor()})}}dt(nu.ID,nu,4);ee(W1e);ee(B1e);ee(H1e);ee(V1e);const z1e=N("editorOverviewRuler.bracketMatchForeground","#A0A0A0",m("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class U1e extends ge{constructor(){super({id:"editor.action.jumpToBracket",label:m("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Gf.get(t))==null||i.jumpToBracket()}}class $1e extends ge{constructor(){super({id:"editor.action.selectToBracket",label:m("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:Ae("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var s;let n=!0;i&&i.selectBrackets===!1&&(n=!1),(s=Gf.get(t))==null||s.selectToBracket(n)}}class j1e extends ge{constructor(){super({id:"editor.action.removeBrackets",label:m("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Gf.get(t))==null||i.removeBrackets(this.id)}}class K1e{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}const $d=class $d extends W{static get(e){return e.getContribution($d.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Et(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new _e(r.lineNumber,r.column,r.lineNumber,r.column):new _e(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const c=t.bracketPairs.findNextBracket(s);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new _e(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h1&&s.sort(P.compare);const a=[];let l=0,c=0;const d=n.length;for(let h=0,u=s.length;h0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}ee(Y1e);const RE=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let o;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?o=crypto.getRandomValues.bind(crypto):o=function(i){for(let n=0;nI(this,null,function*(){return o}),asFile:()=>{},value:typeof o=="string"?o:void 0}}function X1e(o,e,t){const i={id:RE(),name:o,uri:e,data:t};return{asString:()=>I(this,null,function*(){return""}),asFile:()=>i,value:void 0}}class yG{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return rt.some(this,([i,n])=>n.asFile())&&t.push("files"),xG(Mx(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))==null?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return Mx(e)}}function Mx(o){return o.toLowerCase()}function LG(o,e){return xG(Mx(o),e.map(Mx))}function xG(o,e){if(o==="*/*")return e.length>0;if(e.includes(o))return!0;const t=o.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,s]=t;return s==="*"?e.some(r=>r.startsWith(n+"/")):!1}const ME=Object.freeze({create:o=>sd(o.map(e=>e.toString())).join(`\r + *-----------------------------------------------------------------------------*/var C1e=Object.defineProperty,v1e=Object.getOwnPropertyDescriptor,w1e=Object.getOwnPropertyNames,S1e=Object.prototype.hasOwnProperty,y1e=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of w1e(e))!S1e.call(o,n)&&n!==t&&C1e(o,n,{get:()=>e[n],enumerable:!(i=v1e(e,n))||i.enumerable});return o},L1e=(o,e,t)=>(y1e(o,e,"default"),t),x1e="5.4.5",sb={};L1e(sb,gS);var dG=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(dG||{}),hG=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(hG||{}),uG=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(uG||{}),gG=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(gG||{}),fG=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(fG||{}),mG=class{constructor(o,e,t,i,n){this._onDidChange=new sb.Emitter,this._onDidExtraLibsChange=new sb.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e=="undefined"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(void 0)}},k1e=x1e,pG={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},_G=new mG({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},pG),bG=new mG({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},pG),D1e=()=>NE().then(o=>o.getTypeScriptWorker()),I1e=()=>NE().then(o=>o.getJavaScriptWorker());sb.languages.typescript={ModuleKind:dG,JsxEmit:hG,NewLineKind:uG,ScriptTarget:gG,ModuleResolutionKind:fG,typescriptVersion:k1e,typescriptDefaults:_G,javascriptDefaults:bG,getTypeScriptWorker:D1e,getJavaScriptWorker:I1e};function NE(){return xe(()=>import("./tsMode-DDWCoP3Q.js"),__vite__mapDeps([28,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))}sb.languages.onLanguage("typescript",()=>NE().then(o=>o.setupTypeScript(_G)));sb.languages.onLanguage("javascript",()=>NE().then(o=>o.setupJavaScript(bG)));class E1e extends Ls{constructor(){super({id:"diffEditor.toggleCollapseUnchangedRegions",title:Ae("toggleCollapseUnchangedRegions","Toggle Collapse Unchanged Regions"),icon:ie.map,toggled:Z.has("config.diffEditor.hideUnchangedRegions.enabled"),precondition:Z.has("isInDiffEditor"),menu:{when:Z.has("isInDiffEditor"),id:pe.EditorTitle,order:22,group:"navigation"}})}run(e,...t){const i=e.get(Ze),n=!i.getValue("diffEditor.hideUnchangedRegions.enabled");i.updateValue("diffEditor.hideUnchangedRegions.enabled",n)}}class CG extends Ls{constructor(){super({id:"diffEditor.toggleShowMovedCodeBlocks",title:Ae("toggleShowMovedCodeBlocks","Toggle Show Moved Code Blocks"),precondition:Z.has("isInDiffEditor")})}run(e,...t){const i=e.get(Ze),n=!i.getValue("diffEditor.experimental.showMoves");i.updateValue("diffEditor.experimental.showMoves",n)}}class vG extends Ls{constructor(){super({id:"diffEditor.toggleUseInlineViewWhenSpaceIsLimited",title:Ae("toggleUseInlineViewWhenSpaceIsLimited","Toggle Use Inline View When Space Is Limited"),precondition:Z.has("isInDiffEditor")})}run(e,...t){const i=e.get(Ze),n=!i.getValue("diffEditor.useInlineViewWhenSpaceIsLimited");i.updateValue("diffEditor.useInlineViewWhenSpaceIsLimited",n)}}const mS=Ae("diffEditor","Diff Editor");class N1e extends Xa{constructor(){super({id:"diffEditor.switchSide",title:Ae("switchSide","Switch Side"),icon:ie.arrowSwap,precondition:Z.has("isInDiffEditor"),f1:!0,category:mS})}runEditorCommand(e,t,i){const n=Vb(e);if(n instanceof gd){if(i&&i.dryRun)return{destinationSelection:n.mapToOtherSide().destinationSelection};n.switchSide()}}}class T1e extends Xa{constructor(){super({id:"diffEditor.exitCompareMove",title:Ae("exitCompareMove","Exit Compare Move"),icon:ie.close,precondition:E.comparingMovedCode,f1:!1,category:mS,keybinding:{weight:1e4,primary:9}})}runEditorCommand(e,t,...i){const n=Vb(e);n instanceof gd&&n.exitCompareMove()}}class R1e extends Xa{constructor(){super({id:"diffEditor.collapseAllUnchangedRegions",title:Ae("collapseAllUnchangedRegions","Collapse All Unchanged Regions"),icon:ie.fold,precondition:Z.has("isInDiffEditor"),f1:!0,category:mS})}runEditorCommand(e,t,...i){const n=Vb(e);n instanceof gd&&n.collapseAllUnchangedRegions()}}class M1e extends Xa{constructor(){super({id:"diffEditor.showAllUnchangedRegions",title:Ae("showAllUnchangedRegions","Show All Unchanged Regions"),icon:ie.unfold,precondition:Z.has("isInDiffEditor"),f1:!0,category:mS})}runEditorCommand(e,t,...i){const n=Vb(e);n instanceof gd&&n.showAllUnchangedRegions()}}class XP extends Ls{constructor(){super({id:"diffEditor.revert",title:Ae("revert","Revert"),f1:!1,category:mS})}run(e,t){var n;const i=A1e(e,t.originalUri,t.modifiedUri);i instanceof gd&&i.revertRangeMappings((n=t.mapping.innerChanges)!=null?n:[])}}const wG=Ae("accessibleDiffViewer","Accessible Diff Viewer"),xD=class xD extends Ls{constructor(){super({id:xD.id,title:Ae("editor.action.accessibleDiffViewer.next","Go to Next Difference"),category:wG,precondition:Z.has("isInDiffEditor"),keybinding:{primary:65,weight:100},f1:!0})}run(e){const t=Vb(e);t==null||t.accessibleDiffViewerNext()}};xD.id="editor.action.accessibleDiffViewer.next";let d1=xD;const kD=class kD extends Ls{constructor(){super({id:kD.id,title:Ae("editor.action.accessibleDiffViewer.prev","Go to Previous Difference"),category:wG,precondition:Z.has("isInDiffEditor"),keybinding:{primary:1089,weight:100},f1:!0})}run(e){const t=Vb(e);t==null||t.accessibleDiffViewerPrev()}};kD.id="editor.action.accessibleDiffViewer.prev";let Rx=kD;function A1e(o,e,t){return o.get(pt).listDiffEditors().find(s=>{var l,c;const r=s.getModifiedEditor(),a=s.getOriginalEditor();return r&&((l=r.getModel())==null?void 0:l.uri.toString())===t.toString()&&a&&((c=a.getModel())==null?void 0:c.uri.toString())===e.toString()})||null}function Vb(o){const t=o.get(pt).listDiffEditors(),i=Tn();if(i)for(const n of t){const s=n.getContainerDomNode();if(P1e(s,i))return n}return null}function P1e(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentElement}return!1}Ft(E1e);Ft(CG);Ft(vG);cn.appendMenuItem(pe.EditorTitle,{command:{id:new vG().desc.id,title:m("useInlineViewWhenSpaceIsLimited","Use Inline View When Space Is Limited"),toggled:Z.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),precondition:Z.has("isInDiffEditor")},order:11,group:"1_diff",when:Z.and(E.diffEditorRenderSideBySideInlineBreakpointReached,Z.has("isInDiffEditor"))});cn.appendMenuItem(pe.EditorTitle,{command:{id:new CG().desc.id,title:m("showMoves","Show Moved Code Blocks"),icon:ie.move,toggled:yb.create("config.diffEditor.experimental.showMoves",!0),precondition:Z.has("isInDiffEditor")},order:10,group:"1_diff",when:Z.has("isInDiffEditor")});Ft(XP);for(const o of[{icon:ie.arrowRight,key:E.diffEditorInlineMode.toNegated()},{icon:ie.discard,key:E.diffEditorInlineMode}])cn.appendMenuItem(pe.DiffEditorHunkToolbar,{command:{id:new XP().desc.id,title:m("revertHunk","Revert Block"),icon:o.icon},when:Z.and(E.diffEditorModifiedWritable,o.key),order:5,group:"primary"}),cn.appendMenuItem(pe.DiffEditorSelectionToolbar,{command:{id:new XP().desc.id,title:m("revertSelection","Revert Selection"),icon:o.icon},when:Z.and(E.diffEditorModifiedWritable,o.key),order:5,group:"primary"});Ft(N1e);Ft(T1e);Ft(R1e);Ft(M1e);cn.appendMenuItem(pe.EditorTitle,{command:{id:d1.id,title:m("Open Accessible Diff Viewer","Open Accessible Diff Viewer"),precondition:Z.has("isInDiffEditor")},order:10,group:"2_diff",when:Z.and(E.accessibleDiffViewerVisible.negate(),Z.has("isInDiffEditor"))});at.registerCommandAlias("editor.action.diffReview.next",d1.id);Ft(d1);at.registerCommandAlias("editor.action.diffReview.prev",Rx.id);Ft(Rx);var O1e=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},F1e=function(o,e){return function(t,i){e(t,i,o)}},QP;const TE=new he("selectionAnchorSet",!1);var $g;let nu=($g=class{static get(e){return e.getContribution(QP.ID)}constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=TE.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations(t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(_e.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:new Bn().appendText(m("selectionAnchor","Selection Anchor")),className:"selection-anchor"})}),this.selectionAnchorSetContextKey.set(!!this.decorationId),Ss(m("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(_e.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations(t=>{t.removeDecoration(e),this.decorationId=void 0}),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}},QP=$g,$g.ID="editor.contrib.selectionAnchorController",$g);nu=QP=O1e([F1e(1,Te)],nu);class W1e extends ge{constructor(){super({id:"editor.action.setSelectionAnchor",label:m("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:zi(2089,2080),weight:100}})}run(e,t){return I(this,null,function*(){var i;(i=nu.get(t))==null||i.setSelectionAnchor()})}}class B1e extends ge{constructor(){super({id:"editor.action.goToSelectionAnchor",label:m("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:TE})}run(e,t){return I(this,null,function*(){var i;(i=nu.get(t))==null||i.goToSelectionAnchor()})}}class H1e extends ge{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:m("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:TE,kbOpts:{kbExpr:E.editorTextFocus,primary:zi(2089,2089),weight:100}})}run(e,t){return I(this,null,function*(){var i;(i=nu.get(t))==null||i.selectFromAnchorToCursor()})}}class V1e extends ge{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:m("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:TE,kbOpts:{kbExpr:E.editorTextFocus,primary:9,weight:100}})}run(e,t){return I(this,null,function*(){var i;(i=nu.get(t))==null||i.cancelSelectionAnchor()})}}dt(nu.ID,nu,4);ee(W1e);ee(B1e);ee(H1e);ee(V1e);const z1e=N("editorOverviewRuler.bracketMatchForeground","#A0A0A0",m("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class U1e extends ge{constructor(){super({id:"editor.action.jumpToBracket",label:m("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:3165,weight:100}})}run(e,t){var i;(i=Gf.get(t))==null||i.jumpToBracket()}}class $1e extends ge{constructor(){super({id:"editor.action.selectToBracket",label:m("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,metadata:{description:Ae("smartSelect.selectToBracketDescription","Select the text inside and including the brackets or curly braces"),args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){var s;let n=!0;i&&i.selectBrackets===!1&&(n=!1),(s=Gf.get(t))==null||s.selectToBracket(n)}}class j1e extends ge{constructor(){super({id:"editor.action.removeBrackets",label:m("smartSelect.removeBrackets","Remove Brackets"),alias:"Remove Brackets",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:2561,weight:100}})}run(e,t){var i;(i=Gf.get(t))==null||i.removeBrackets(this.id)}}class K1e{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}const $d=class $d extends W{static get(e){return e.getContribution($d.ID)}constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new Et(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(72),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(72)&&(this._matchBrackets=this._editor.getOption(72),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),s=e.bracketPairs.matchBracket(n);let r=null;if(s)s[0].containsPosition(n)&&!s[1].containsPosition(n)?r=s[1].getStartPosition():s[1].containsPosition(n)&&(r=s[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[1].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new _e(r.lineNumber,r.column,r.lineNumber,r.column):new _e(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const s=n.getStartPosition();let r=t.bracketPairs.matchBracket(s);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(s),!r)){const c=t.bracketPairs.findNextBracket(s);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(s)){const h=a;a=l,l=h}}a&&l&&i.push(new _e(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}removeBrackets(e){if(!this._editor.hasModel())return;const t=this._editor.getModel();this._editor.getSelections().forEach(i=>{const n=i.getPosition();let s=t.bracketPairs.matchBracket(n);s||(s=t.bracketPairs.findEnclosingBrackets(n)),s&&(this._editor.pushUndoStop(),this._editor.executeEdits(e,[{range:s[0],text:""},{range:s[1],text:""}]),this._editor.pushUndoStop())})}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();const e=[];let t=0;for(const i of this._lastBracketsData){const n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);const s=[];let r=0;for(let h=0,u=e.length;h1&&s.sort(P.compare);const a=[];let l=0,c=0;const d=n.length;for(let h=0,u=s.length;h0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}ee(Y1e);const RE=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let o;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?o=crypto.getRandomValues.bind(crypto):o=function(i){for(let n=0;nI(this,null,function*(){return o}),asFile:()=>{},value:typeof o=="string"?o:void 0}}function X1e(o,e,t){const i={id:RE(),name:o,uri:e,data:t};return{asString:()=>I(this,null,function*(){return""}),asFile:()=>i,value:void 0}}class yG{constructor(){this._entries=new Map}get size(){let e=0;for(const t of this._entries)e++;return e}has(e){return this._entries.has(this.toKey(e))}matches(e){const t=[...this._entries.keys()];return rt.some(this,([i,n])=>n.asFile())&&t.push("files"),xG(Mx(e),t)}get(e){var t;return(t=this._entries.get(this.toKey(e)))==null?void 0:t[0]}append(e,t){const i=this._entries.get(e);i?i.push(t):this._entries.set(this.toKey(e),[t])}replace(e,t){this._entries.set(this.toKey(e),[t])}delete(e){this._entries.delete(this.toKey(e))}*[Symbol.iterator](){for(const[e,t]of this._entries)for(const i of t)yield[e,i]}toKey(e){return Mx(e)}}function Mx(o){return o.toLowerCase()}function LG(o,e){return xG(Mx(o),e.map(Mx))}function xG(o,e){if(o==="*/*")return e.length>0;if(e.includes(o))return!0;const t=o.match(/^([a-z]+)\/([a-z]+|\*)$/i);if(!t)return!1;const[i,n,s]=t;return s==="*"?e.some(r=>r.startsWith(n+"/")):!1}const ME=Object.freeze({create:o=>sd(o.map(e=>e.toString())).join(`\r `),split:o=>o.split(`\r `),parse:o=>ME.split(o).filter(e=>!e.startsWith("#"))}),Cl=class Cl{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+Cl.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(...e){return new Cl((this.value?[this.value,...e]:e).join(Cl.sep))}};Cl.sep=".",Cl.None=new Cl("@@none@@"),Cl.Empty=new Cl("");let ni=Cl;const kV={EDITORS:"CodeEditors",FILES:"CodeFiles"};class Q1e{}const J1e={DragAndDropContribution:"workbench.contributions.dragAndDrop"};hi.add(J1e.DragAndDropContribution,new Q1e);const Qv=class Qv{constructor(){}static getInstance(){return Qv.INSTANCE}hasData(e){return e&&e===this.proto}getData(e){if(this.hasData(e))return this.data}};Qv.INSTANCE=new Qv;let JP=Qv;function kG(o){const e=new yG;for(const t of o.items){const i=t.type;if(t.kind==="string"){const n=new Promise(s=>t.getAsString(s));e.append(i,EW(n))}else if(t.kind==="file"){const n=t.getAsFile();n&&e.append(i,eSe(n))}}return e}function eSe(o){const e=o.path?Le.parse(o.path):void 0;return X1e(o.name,e,()=>I(this,null,function*(){return new Uint8Array(yield o.arrayBuffer())}))}const tSe=Object.freeze([kV.EDITORS,kV.FILES,Ow.RESOURCES,Ow.INTERNAL_URI_LIST]);function DG(o,e=!1){const t=kG(o),i=t.get(Ow.INTERNAL_URI_LIST);if(i)t.replace(yi.uriList,i);else if(e||!t.has(yi.uriList)){const n=[];for(const s of o.items){const r=s.getAsFile();if(r){const a=r.path;try{a?n.push(Le.file(a).toString()):n.push(Le.parse(r.name,!0).toString())}catch(l){}}}n.length&&t.replace(yi.uriList,EW(ME.create(n)))}for(const n of tSe)t.delete(n);return t}var NW=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},h1=function(o,e){return function(t,i){e(t,i,o)}};class TW{provideDocumentPasteEdits(e,t,i,n,s){return I(this,null,function*(){const r=yield this.getEdit(i,s);if(r)return{edits:[{insertText:r.insertText,title:r.title,kind:r.kind,handledMimeType:r.handledMimeType,yieldTo:r.yieldTo}],dispose(){}}})}provideDocumentDropEdits(e,t,i,n){return I(this,null,function*(){const s=yield this.getEdit(i,n);if(s)return{edits:[{insertText:s.insertText,title:s.title,kind:s.kind,handledMimeType:s.handledMimeType,yieldTo:s.yieldTo}],dispose(){}}})}}const Jv=class Jv extends TW{constructor(){super(...arguments),this.kind=Jv.kind,this.dropMimeTypes=[yi.text],this.pasteMimeTypes=[yi.text]}getEdit(e,t){return I(this,null,function*(){const i=e.get(yi.text);if(!i||e.has(yi.uriList))return;const n=yield i.asString();return{handledMimeType:yi.text,title:m("text.label","Insert Plain Text"),insertText:n,kind:this.kind}})}};Jv.id="text",Jv.kind=new ni("text.plain");let Zf=Jv;class IG extends TW{constructor(){super(...arguments),this.kind=new ni("uri.absolute"),this.dropMimeTypes=[yi.uriList],this.pasteMimeTypes=[yi.uriList]}getEdit(e,t){return I(this,null,function*(){const i=yield EG(e);if(!i.length||t.isCancellationRequested)return;let n=0;const s=i.map(({uri:a,originalText:l})=>a.scheme===Be.file?a.fsPath:(n++,l)).join(" ");let r;return n>0?r=i.length>1?m("defaultDropProvider.uriList.uris","Insert Uris"):m("defaultDropProvider.uriList.uri","Insert Uri"):r=i.length>1?m("defaultDropProvider.uriList.paths","Insert Paths"):m("defaultDropProvider.uriList.path","Insert Path"),{handledMimeType:yi.uriList,insertText:s,title:r,kind:this.kind}})}}let Ax=class extends TW{constructor(e){super(),this._workspaceContextService=e,this.kind=new ni("uri.relative"),this.dropMimeTypes=[yi.uriList],this.pasteMimeTypes=[yi.uriList]}getEdit(e,t){return I(this,null,function*(){const i=yield EG(e);if(!i.length||t.isCancellationRequested)return;const n=Xr(i.map(({uri:s})=>{const r=this._workspaceContextService.getWorkspaceFolder(s);return r?rae(r.uri,s):void 0}));if(n.length)return{handledMimeType:yi.uriList,insertText:n.join(" "),title:i.length>1?m("defaultDropProvider.uriList.relativePaths","Insert Relative Paths"):m("defaultDropProvider.uriList.relativePath","Insert Relative Path"),kind:this.kind}})}};Ax=NW([h1(0,zf)],Ax);class iSe{constructor(){this.kind=new ni("html"),this.pasteMimeTypes=["text/html"],this._yieldTo=[{mimeType:yi.text}]}provideDocumentPasteEdits(e,t,i,n,s){return I(this,null,function*(){var l;if(n.triggerKind!==dw.PasteAs&&!((l=n.only)!=null&&l.contains(this.kind)))return;const r=i.get("text/html"),a=yield r==null?void 0:r.asString();if(!(!a||s.isCancellationRequested))return{dispose(){},edits:[{insertText:a,yieldTo:this._yieldTo,title:m("pasteHtmlLabel","Insert HTML"),kind:this.kind}]}})}}function EG(o){return I(this,null,function*(){const e=o.get(yi.uriList);if(!e)return[];const t=yield e.asString(),i=[];for(const n of ME.parse(t))try{i.push({uri:Le.parse(n),originalText:n})}catch(s){}return i})}let eO=class extends W{constructor(e,t){super(),this._register(e.documentDropEditProvider.register("*",new Zf)),this._register(e.documentDropEditProvider.register("*",new IG)),this._register(e.documentDropEditProvider.register("*",new Ax(t)))}};eO=NW([h1(0,fe),h1(1,zf)],eO);let tO=class extends W{constructor(e,t){super(),this._register(e.documentPasteEditProvider.register("*",new Zf)),this._register(e.documentPasteEditProvider.register("*",new IG)),this._register(e.documentPasteEditProvider.register("*",new Ax(t))),this._register(e.documentPasteEditProvider.register("*",new iSe))}};tO=NW([h1(0,fe),h1(1,zf)],tO);const Wr=class Wr{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return e===95||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};const e=this.pos;let t=0,i=this.value.charCodeAt(e),n;if(n=Wr._table[i],typeof n=="number")return this.pos+=1,{type:n,pos:e,len:1};if(Wr.isDigitCharacter(i)){n=8;do t+=1,i=this.value.charCodeAt(e+t);while(Wr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}if(Wr.isVariableCharacter(i)){n=9;do i=this.value.charCodeAt(e+ ++t);while(Wr.isVariableCharacter(i)||Wr.isDigitCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}n=10;do t+=1,i=this.value.charCodeAt(e+t);while(!isNaN(i)&&typeof Wr._table[i]=="undefined"&&!Wr.isDigitCharacter(i)&&!Wr.isVariableCharacter(i));return this.pos+=t,{type:n,pos:e,len:t}}};Wr._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};let iO=Wr;class zb{constructor(){this._children=[]}appendChild(e){return e instanceof hs&&this._children[this._children.length-1]instanceof hs?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:i}=e,n=i.children.indexOf(e),s=i.children.slice(0);s.splice(n,1,...t),i._children=s,function r(a,l){for(const c of a)c.parent=l,r(c.children,c)}(t,i)}get children(){return this._children}get rightMostDescendant(){return this._children.length>0?this._children[this._children.length-1].rightMostDescendant:this}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof pS)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class hs extends zb{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new hs(this.value)}}class NG extends zb{}class gr extends NG{static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.indext.index?1:0}constructor(e){super(),this.index=e}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof Ub?this._children[0]:void 0}clone(){const e=new gr(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}class Ub extends zb{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof hs&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){const e=new Ub;return this.options.forEach(e.appendChild,e),e}}class RW extends zb{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let i=!1,n=e.replace(this.regexp,function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!i&&this._children.some(s=>s instanceof ya&&!!s.elseValue)&&(n=this._replace([])),n}_replace(e){let t="";for(const i of this._children)if(i instanceof ya){let n=e[i.index]||"";n=i.resolve(n),t+=n}else t+=i.toString();return t}toString(){return""}clone(){const e=new RW;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(t=>t.clone()),e}}class ya extends zb{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){return this.shorthandName==="upcase"?e?e.toLocaleUpperCase():"":this.shorthandName==="downcase"?e?e.toLocaleLowerCase():"":this.shorthandName==="capitalize"?e?e[0].toLocaleUpperCase()+e.substr(1):"":this.shorthandName==="pascalcase"?e?this._toPascalCase(e):"":this.shorthandName==="camelcase"?e?this._toCamelCase(e):"":e&&typeof this.ifValue=="string"?this.ifValue:!e&&typeof this.elseValue=="string"?this.elseValue:e||""}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(i=>i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((i,n)=>n===0?i.charAt(0).toLowerCase()+i.substr(1):i.charAt(0).toUpperCase()+i.substr(1)).join(""):e}clone(){return new ya(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class u1 extends NG{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),t!==void 0?(this._children=[new hs(t)],!0):!1}clone(){const e=new u1(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}function DV(o,e){const t=[...o];for(;t.length>0;){const i=t.shift();if(!e(i))break;t.unshift(...i.children)}}class pS extends zb{get placeholderInfo(){if(!this._placeholders){const e=[];let t;this.walk(function(i){return i instanceof gr&&(e.push(i),t=!t||t.indexn===e?(i=!0,!1):(t+=n.len(),!0)),i?t:-1}fullLen(e){let t=0;return DV([e],i=>(t+=i.len(),!0)),t}enclosingPlaceholders(e){const t=[];let{parent:i}=e;for(;i;)i instanceof gr&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof u1&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){const e=new pS;return this._children=this.children.map(t=>t.clone()),e}walk(e){DV(this.children,e)}}class Yf{constructor(){this._scanner=new iO,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){const n=new pS;return this.parseFragment(e,n),this.ensureFinalTabstop(n,i!=null?i:!1,t!=null?t:!1),n}parseFragment(e,t){const i=t.children.length;for(this._scanner.text(e),this._token=this._scanner.next();this._parse(t););const n=new Map,s=[];t.walk(l=>(l instanceof gr&&(l.isFinalTabstop?n.set(0,void 0):!n.has(l.index)&&l.children.length>0?n.set(l.index,l.children):s.push(l)),!0));const r=(l,c)=>{const d=n.get(l.index);if(!d)return;const h=new gr(l.index);h.transform=l.transform;for(const u of d){const g=u.clone();h.appendChild(g),g instanceof gr&&n.has(g.index)&&!c.has(g.index)&&(c.add(g.index),r(g,c),c.delete(g.index))}t.replace(l,[h])},a=new Set;for(const l of s)r(l,a);return t.children.slice(i)}ensureFinalTabstop(e,t,i){(t||i&&e.placeholders.length>0)&&(e.placeholders.find(s=>s.index===0)||e.appendChild(new gr(0)))}_accept(e,t){if(e===void 0||this._token.type===e){const i=t?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),i}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(this._token.type===14)return!1;if(this._token.type===5){const n=this._scanner.next();if(n.type!==0&&n.type!==4&&n.type!==5)return!1}this._token=this._scanner.next()}const i=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),i}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return(t=this._accept(5,!0))?(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new hs(t)),!0):!1}_parseTabstopOrVariableName(e){let t;const i=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new gr(Number(t)):new u1(t)),!0):this._backTo(i)}_parseComplexPlaceholder(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(i);const s=new gr(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new hs("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else if(s.index>0&&this._accept(7)){const r=new Ub;for(;;){if(this._parseChoiceElement(r)){if(this._accept(2))continue;if(this._accept(7)&&(s.appendChild(r),this._accept(4)))return e.appendChild(s),!0}return this._backTo(i),!1}}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(i)}_parseChoiceElement(e){const t=this._token,i=[];for(;!(this._token.type===2||this._token.type===7);){let n;if((n=this._accept(5,!0))?n=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||n:n=this._accept(void 0,!0),!n)return this._backTo(t),!1;i.push(n)}return i.length===0?(this._backTo(t),!1):(e.appendChild(new hs(i.join(""))),!0)}_parseComplexVariable(e){let t;const i=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(i);const s=new u1(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new hs("${"+t+":")),s.children.forEach(e.appendChild,e),!0}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(i),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(i)}_parseTransform(e){const t=new RW;let i="",n="";for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(6,!0)||s,i+=s;continue}if(this._token.type!==14){i+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(5,!0)||this._accept(6,!0)||s,t.appendChild(new hs(s));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(this._token.type!==14){n+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(i,n)}catch(s){return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let i=!1;this._accept(3)&&(i=!0);const n=this._accept(8,!0);if(n)if(i){if(this._accept(4))return e.appendChild(new ya(Number(n))),!0;if(!this._accept(1))return this._backTo(t),!1}else return e.appendChild(new ya(Number(n))),!0;else return this._backTo(t),!1;if(this._accept(6)){const s=this._accept(9,!0);return!s||!this._accept(4)?(this._backTo(t),!1):(e.appendChild(new ya(Number(n),s)),!0)}else if(this._accept(11)){const s=this._until(4);if(s)return e.appendChild(new ya(Number(n),void 0,s,void 0)),!0}else if(this._accept(12)){const s=this._until(4);if(s)return e.appendChild(new ya(Number(n),void 0,void 0,s)),!0}else if(this._accept(13)){const s=this._until(1);if(s){const r=this._until(4);if(r)return e.appendChild(new ya(Number(n),void 0,s,r)),!0}}else{const s=this._until(4);if(s)return e.appendChild(new ya(Number(n),void 0,void 0,s)),!0}return this._backTo(t),!1}_parseAnything(e){return this._token.type!==14?(e.appendChild(new hs(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}function TG(o,e,t){var i,n,s,r;return(typeof t.insertText=="string"?t.insertText==="":t.insertText.snippet==="")?{edits:(n=(i=t.additionalEdit)==null?void 0:i.edits)!=null?n:[]}:{edits:[...e.map(a=>new Ch(o,{range:a,text:typeof t.insertText=="string"?Yf.escape(t.insertText)+"$0":t.insertText.snippet,insertAsSnippet:!0})),...(r=(s=t.additionalEdit)==null?void 0:s.edits)!=null?r:[]]}}function RG(o){var r;function e(a,l){return"mimeType"in a?a.mimeType===l.handledMimeType:!!l.kind&&a.kind.contains(l.kind)}const t=new Map;for(const a of o)for(const l of(r=a.yieldTo)!=null?r:[])for(const c of o)if(c!==a&&e(l,c)){let d=t.get(a);d||(d=[],t.set(a,d)),d.push(c)}if(!t.size)return Array.from(o);const i=new Set,n=[];function s(a){if(!a.length)return[];const l=a[0];if(n.includes(l))return console.warn("Yield to cycle detected",l),a;if(i.has(l))return s(a.slice(1));let c=[];const d=t.get(l);return d&&(n.push(l),c=s(d),n.pop()),i.add(l),[...c,l,...s(a.slice(1))]}return s(Array.from(o))}var nSe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},sSe=function(o,e){return function(t,i){e(t,i,o)}};const oSe=He.register({description:"inline-progress-widget",stickiness:1,showIfCollapsed:!0,after:{content:oU,inlineClassName:"inline-editor-progress-decoration",inlineClassNameAffectsLetterSpacing:!0}}),DD=class DD extends W{constructor(e,t,i,n,s){super(),this.typeId=e,this.editor=t,this.range=i,this.delegate=s,this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this.create(n),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this)}create(e){this.domNode=se(".inline-progress-widget"),this.domNode.role="button",this.domNode.title=e;const t=se("span.icon");this.domNode.append(t),t.classList.add(...Ne.asClassNameArray(ie.loading),"codicon-modifier-spin");const i=()=>{const n=this.editor.getOption(67);this.domNode.style.height=`${n}px`,this.domNode.style.width=`${Math.ceil(.8*n)}px`};i(),this._register(this.editor.onDidChangeConfiguration(n=>{(n.hasChanged(52)||n.hasChanged(67))&&i()})),this._register(j(this.domNode,ne.CLICK,n=>{this.delegate.cancel()}))}getId(){return DD.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:{lineNumber:this.range.startLineNumber,column:this.range.startColumn},preference:[0]}}dispose(){super.dispose(),this.editor.removeContentWidget(this)}};DD.baseId="editor.widget.inlineProgressWidget";let nO=DD,Px=class extends W{constructor(e,t,i){super(),this.id=e,this._editor=t,this._instantiationService=i,this._showDelay=500,this._showPromise=this._register(new nn),this._currentWidget=this._register(new nn),this._operationIdPool=0,this._currentDecorations=t.createDecorationsCollection()}dispose(){super.dispose(),this._currentDecorations.clear()}showWhile(e,t,i,n,s){return I(this,null,function*(){const r=this._operationIdPool++;this._currentOperation=r,this.clear(),this._showPromise.value=Kh(()=>{const a=x.fromPositions(e);this._currentDecorations.set([{range:a,options:oSe}]).length>0&&(this._currentWidget.value=this._instantiationService.createInstance(nO,this.id,this._editor,a,t,n))},s!=null?s:this._showDelay);try{return yield i}finally{this._currentOperation===r&&(this.clear(),this._currentOperation=void 0)}})}clear(){this._showPromise.clear(),this._currentDecorations.clear(),this._currentWidget.clear()}};Px=nSe([sSe(2,ye)],Px);var rSe=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},IV=function(o,e){return function(t,i){e(t,i,o)}},by,Lh;let mo=(Lh=class{static get(e){return e.getContribution(by.ID)}constructor(e,t,i){this._openerService=i,this._messageWidget=new nn,this._messageListeners=new G,this._mouseOverMessage=!1,this._editor=e,this._visible=by.MESSAGE_VISIBLE.bindTo(t)}dispose(){var e;(e=this._message)==null||e.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){Ss(Va(e)?e.value:e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._message=Va(e)?JI(e,{actionHandler:{callback:n=>{this.closeMessage(),X5(this._openerService,n,Va(e)?e.isTrusted:void 0)},disposables:this._messageListeners}}):void 0,this._messageWidget.value=new EV(this._editor,t,typeof e=="string"?e:this._message.element),this._messageListeners.add(re.debounce(this._editor.onDidBlurEditorText,(n,s)=>s,0)(()=>{this._mouseOverMessage||this._messageWidget.value&&Qi(Tn(),this._messageWidget.value.getDomNode())||this.closeMessage()})),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(j(this._messageWidget.value.getDomNode(),ne.MOUSE_ENTER,()=>this._mouseOverMessage=!0,!0)),this._messageListeners.add(j(this._messageWidget.value.getDomNode(),ne.MOUSE_LEAVE,()=>this._mouseOverMessage=!1,!0));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new x(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(EV.fadeOut(this._messageWidget.value))}},by=Lh,Lh.ID="editor.contrib.messageController",Lh.MESSAGE_VISIBLE=new he("messageVisible",!1,m("messageVisible","Whether the editor is currently showing an inline message")),Lh);mo=by=rSe([IV(1,Te),IV(2,js)],mo);const aSe=qi.bindToContribution(mo.get);ce(new aSe({id:"leaveEditorMessage",precondition:mo.MESSAGE_VISIBLE,handler:o=>o.closeMessage(),kbOpts:{weight:130,primary:9}}));let EV=class{static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const s=document.createElement("div");s.classList.add("anchor","top"),this._domNode.appendChild(s);const r=document.createElement("div");typeof n=="string"?(r.classList.add("message"),r.textContent=n):(n.classList.add("message"),r.appendChild(n)),this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};dt(mo.ID,mo,4);function AT(o,e){return e&&(o.stack||o.stacktrace)?m("stackTrace.format","{0}: {1}",TV(o),NV(o.stack)||NV(o.stacktrace)):TV(o)}function NV(o){return Array.isArray(o)?o.join(` `):o}function TV(o){return o.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${o.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof o.code=="string"&&typeof o.errno=="number"&&typeof o.syscall=="string"?m("nodeExceptionMessage","A system error occurred ({0})",o.message):o.message||m("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function Ox(o=null,e=!1){if(!o)return m("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(o)){const t=Xr(o),i=Ox(t[0],e);return t.length>1?m("error.moreErrors","{0} ({1} errors in total)",i,t.length):i}if(Fs(o))return o;if(o.detail){const t=o.detail;if(t.error)return AT(t.error,e);if(t.exception)return AT(t.exception,e)}return o.stack?AT(o,e):o.message?o.message:m("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var MG=function(o,e,t,i){var n=arguments.length,s=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,e,t,i);else for(var a=o.length-1;a>=0;a--)(r=o[a])&&(s=(n<3?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},__=function(o,e){return function(t,i){e(t,i,o)}},sO,jg;let oO=(jg=class extends W{constructor(e,t,i,n,s,r,a,l,c,d){super(),this.typeId=e,this.editor=t,this.showCommand=n,this.range=s,this.edits=r,this.onSelectNewEdit=a,this._contextMenuService=l,this._keybindingService=d,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.create(),this.visibleContext=i.bindTo(c),this.visibleContext.set(!0),this._register(Se(()=>this.visibleContext.reset())),this.editor.addContentWidget(this),this.editor.layoutContentWidget(this),this._register(Se(()=>this.editor.removeContentWidget(this))),this._register(this.editor.onDidChangeCursorPosition(h=>{s.containsPosition(h.position)||this.dispose()})),this._register(re.runAndSubscribe(d.onDidUpdateKeybindings,()=>{this._updateButtonTitle()}))}_updateButtonTitle(){var t;const e=(t=this._keybindingService.lookupKeybinding(this.showCommand.id))==null?void 0:t.getLabel();this.button.element.title=this.showCommand.label+(e?` (${e})`:"")}create(){this.domNode=se(".post-edit-widget"),this.button=this._register(new zL(this.domNode,{supportIcons:!0})),this.button.label="$(insert)",this._register(j(this.domNode,ne.CLICK,()=>this.showSelector()))}getId(){return sO.baseId+"."+this.typeId}getDomNode(){return this.domNode}getPosition(){return{position:this.range.getEndPosition(),preference:[2]}}showSelector(){this._contextMenuService.showContextMenu({getAnchor:()=>{const e=Li(this.button.element);return{x:e.left+e.width,y:e.top+e.height}},getActions:()=>this.edits.allEdits.map((e,t)=>Lg({id:"",label:e.title,checked:t===this.edits.activeEditIndex,run:()=>{if(t!==this.edits.activeEditIndex)return this.onSelectNewEdit(t)}}))})}},sO=jg,jg.baseId="editor.widget.postEditWidget",jg);oO=sO=MG([__(7,wo),__(8,Te),__(9,St)],oO);let Fx=class extends W{constructor(e,t,i,n,s,r,a){super(),this._id=e,this._editor=t,this._visibleContext=i,this._showCommand=n,this._instantiationService=s,this._bulkEditService=r,this._notificationService=a,this._currentWidget=this._register(new nn),this._register(re.any(t.onDidChangeModel,t.onDidChangeModelContent)(()=>this.clear()))}applyEditAndShowIfNeeded(e,t,i,n,s){return I(this,null,function*(){const r=this._editor.getModel();if(!r||!e.length)return;const a=t.allEdits.at(t.activeEditIndex);if(!a)return;const l=_=>I(this,null,function*(){const b=this._editor.getModel();b&&(yield b.undo(),this.applyEditAndShowIfNeeded(e,{activeEditIndex:_,allEdits:t.allEdits},i,n,s))}),c=(_,b)=>{Er(_)||(this._notificationService.error(b),i&&this.show(e[0],t,l))};let d;try{d=yield n(a,s)}catch(_){return c(_,m("resolveError",`Error resolving edit '{0}': diff --git a/assets/ContentDetailWrap.vue_vue_type_script_setup_true_lang-BkzQY2Fe.js b/assets/ContentDetailWrap.vue_vue_type_script_setup_true_lang-DErSb9RI.js similarity index 90% rename from assets/ContentDetailWrap.vue_vue_type_script_setup_true_lang-BkzQY2Fe.js rename to assets/ContentDetailWrap.vue_vue_type_script_setup_true_lang-DErSb9RI.js index 3d0b2fdd..4711f06d 100644 --- a/assets/ContentDetailWrap.vue_vue_type_script_setup_true_lang-BkzQY2Fe.js +++ b/assets/ContentDetailWrap.vue_vue_type_script_setup_true_lang-DErSb9RI.js @@ -1 +1 @@ -import{p as s}from"./index-DHbc4UQl.js";/* empty css */import{l as a}from"./element-plus-CUBv5pjL.js";import{y as r,z as n,A as l,O as p,L as d,D as i,B as t,J as o,u as c}from"./vue-chunks-ChjHxF1G.js";const m={class:o(["content-detail-wrap-container","relative"])},_={class:"mb-20px pb-20px",style:{"border-bottom":"1px solid var(--el-border-color)"}},C=r({__name:"ContentDetailWrap",props:{title:s.string.def(""),message:s.string.def("")},setup(f){return(e,b)=>(n(),l("div",m,[p(c(a),{class:o(["content-detail-wrap-body","mb-20px"]),shadow:"never"},{default:d(()=>[i("div",_,[t(e.$slots,"header")]),t(e.$slots,"default")]),_:3})]))}});export{C as _}; +import{p as s}from"./index-wnyZ7Zvr.js";/* empty css */import{l as a}from"./element-plus-CUBv5pjL.js";import{y as r,z as n,A as l,O as p,L as d,D as i,B as t,J as o,u as c}from"./vue-chunks-ChjHxF1G.js";const m={class:o(["content-detail-wrap-container","relative"])},_={class:"mb-20px pb-20px",style:{"border-bottom":"1px solid var(--el-border-color)"}},C=r({__name:"ContentDetailWrap",props:{title:s.string.def(""),message:s.string.def("")},setup(f){return(e,b)=>(n(),l("div",m,[p(c(a),{class:o(["content-detail-wrap-body","mb-20px"]),shadow:"never"},{default:d(()=>[i("div",_,[t(e.$slots,"header")]),t(e.$slots,"default")]),_:3})]))}});export{C as _}; diff --git a/assets/ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js b/assets/ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js similarity index 87% rename from assets/ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js rename to assets/ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js index 8ee86b10..b8624490 100644 --- a/assets/ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js +++ b/assets/ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js @@ -1 +1 @@ -import{I as m}from"./Icon-CdhVCYkm.js";import{p as o}from"./index-DHbc4UQl.js";/* empty css *//* empty css */import{P as p,l as f}from"./element-plus-CUBv5pjL.js";import{y as u,z as n,K as r,a6 as _,L as s,D as e,Q as i,u as l,O as h,H as x,B as c}from"./vue-chunks-ChjHxF1G.js";const g={class:"flex items-center"},v={class:"text-16px font-700"},k={class:"max-w-200px"},w={class:"flex pl-20px flex-grow"},z=u({__name:"ContentWrap",props:{title:o.string.def(""),message:o.string.def("")},setup(t){return(a,y)=>{const d=m;return n(),r(l(f),{class:"content-wrap",shadow:"never"},_({default:s(()=>[e("div",null,[c(a.$slots,"default")])]),_:2},[t.title?{name:"header",fn:s(()=>[e("div",g,[e("span",v,i(t.title),1),t.message?(n(),r(l(p),{key:0,effect:"dark",placement:"right"},{content:s(()=>[e("div",k,i(t.message),1)]),default:s(()=>[h(d,{class:"ml-5px",icon:"bi:question-circle-fill",size:14})]),_:1})):x("",!0),e("div",w,[c(a.$slots,"header")])])]),key:"0"}:void 0]),1024)}}});export{z as _}; +import{I as m}from"./Icon-BTLftY2_.js";import{p as o}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css */import{P as p,l as f}from"./element-plus-CUBv5pjL.js";import{y as u,z as n,K as r,a6 as _,L as s,D as e,Q as i,u as l,O as h,H as x,B as c}from"./vue-chunks-ChjHxF1G.js";const g={class:"flex items-center"},v={class:"text-16px font-700"},k={class:"max-w-200px"},w={class:"flex pl-20px flex-grow"},z=u({__name:"ContentWrap",props:{title:o.string.def(""),message:o.string.def("")},setup(t){return(a,y)=>{const d=m;return n(),r(l(f),{class:"content-wrap",shadow:"never"},_({default:s(()=>[e("div",null,[c(a.$slots,"default")])]),_:2},[t.title?{name:"header",fn:s(()=>[e("div",g,[e("span",v,i(t.title),1),t.message?(n(),r(l(p),{key:0,effect:"dark",placement:"right"},{content:s(()=>[e("div",k,i(t.message),1)]),default:s(()=>[h(d,{class:"ml-5px",icon:"bi:question-circle-fill",size:14})]),_:1})):x("",!0),e("div",w,[c(a.$slots,"header")])])]),key:"0"}:void 0]),1024)}}});export{z as _}; diff --git a/assets/CountTo-D4X9qZ89.js b/assets/CountTo-CH36VAch.js similarity index 90% rename from assets/CountTo-D4X9qZ89.js rename to assets/CountTo-CH36VAch.js index 585547bb..d45a8273 100644 --- a/assets/CountTo-D4X9qZ89.js +++ b/assets/CountTo-CH36VAch.js @@ -1 +1 @@ -import{_ as C}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as U}from"./CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js";import{_ as g}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css */import{n as R,k as u,J as V,A as _}from"./element-plus-CUBv5pjL.js";import{y as E,r as n,z as N,K as B,L as o,D as s,O as l,u as t,a4 as b}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const $={class:"text-center mb-40px"},I={class:"flex mb-20px items-center"},T={class:"flex mb-20px items-center"},j={class:"flex mb-20px items-center"},z={class:"flex mb-20px items-center"},A={class:"flex mb-20px items-center"},D={class:"flex mb-20px items-center"},J={class:"text-center"},X=E({__name:"CountTo",setup(K){const d=n(),i=n(0),r=n(1314521),p=n(3e3),c=n(0),x=n(","),f=n("¥ "),v=n(" rmb"),w=n(!1),y=()=>{var m;(m=t(d))==null||m.start()},k=()=>{var m;(m=t(d))==null||m.pauseResume()};return(m,e)=>(N(),B(t(C),{title:"数字动画",message:"基于 vue-count-to 进行改造,支持所有 vue-count-to 参数。"},{default:o(()=>[s("div",$,[l(t(U),{ref_key:"countRef",ref:d,"start-val":i.value,"end-val":r.value,duration:p.value,decimals:c.value,separator:x.value,prefix:f.value,suffix:v.value,autoplay:w.value,class:"text-30px font-bold text-[var(--el-color-primary)]"},null,8,["start-val","end-val","duration","decimals","separator","prefix","suffix","autoplay"])]),l(t(R),{gutter:20,justify:"space-between"},{default:o(()=>[l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",I,[e[6]||(e[6]=s("span",{class:"min-w-90px text-right"},"开始值:",-1)),l(t(V),{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=a=>i.value=a),min:0},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",T,[e[7]||(e[7]=s("span",{class:"min-w-90px text-right"},"结束值:",-1)),l(t(V),{modelValue:r.value,"onUpdate:modelValue":e[1]||(e[1]=a=>r.value=a),min:1},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",j,[e[8]||(e[8]=s("span",{class:"min-w-90px text-right"},"持续时间:",-1)),l(t(V),{modelValue:p.value,"onUpdate:modelValue":e[2]||(e[2]=a=>p.value=a),min:1e3},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",z,[e[9]||(e[9]=s("span",{class:"min-w-90px text-right"},"分割符号:",-1)),l(t(_),{modelValue:x.value,"onUpdate:modelValue":e[3]||(e[3]=a=>x.value=a)},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",A,[e[10]||(e[10]=s("span",{class:"min-w-90px text-right"},"前缀:",-1)),l(t(_),{modelValue:f.value,"onUpdate:modelValue":e[4]||(e[4]=a=>f.value=a)},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",D,[e[11]||(e[11]=s("span",{class:"min-w-90px text-right"},"后缀:",-1)),l(t(_),{modelValue:v.value,"onUpdate:modelValue":e[5]||(e[5]=a=>v.value=a)},null,8,["modelValue"])])]),_:1}),l(t(u),{span:24},{default:o(()=>[s("div",J,[l(t(g),{type:"primary",onClick:y},{default:o(()=>e[12]||(e[12]=[b("开始")])),_:1}),l(t(g),{onClick:k},{default:o(()=>e[13]||(e[13]=[b(" 暂停/继续 ")])),_:1})])]),_:1})]),_:1})]),_:1}))}});export{X as default}; +import{_ as C}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as U}from"./CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js";import{_ as g}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css */import{n as R,k as u,J as V,A as _}from"./element-plus-CUBv5pjL.js";import{y as E,r as n,z as N,K as B,L as o,D as s,O as l,u as t,a4 as b}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const $={class:"text-center mb-40px"},I={class:"flex mb-20px items-center"},T={class:"flex mb-20px items-center"},j={class:"flex mb-20px items-center"},z={class:"flex mb-20px items-center"},A={class:"flex mb-20px items-center"},D={class:"flex mb-20px items-center"},J={class:"text-center"},X=E({__name:"CountTo",setup(K){const d=n(),i=n(0),r=n(1314521),p=n(3e3),c=n(0),x=n(","),f=n("¥ "),v=n(" rmb"),w=n(!1),y=()=>{var m;(m=t(d))==null||m.start()},k=()=>{var m;(m=t(d))==null||m.pauseResume()};return(m,e)=>(N(),B(t(C),{title:"数字动画",message:"基于 vue-count-to 进行改造,支持所有 vue-count-to 参数。"},{default:o(()=>[s("div",$,[l(t(U),{ref_key:"countRef",ref:d,"start-val":i.value,"end-val":r.value,duration:p.value,decimals:c.value,separator:x.value,prefix:f.value,suffix:v.value,autoplay:w.value,class:"text-30px font-bold text-[var(--el-color-primary)]"},null,8,["start-val","end-val","duration","decimals","separator","prefix","suffix","autoplay"])]),l(t(R),{gutter:20,justify:"space-between"},{default:o(()=>[l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",I,[e[6]||(e[6]=s("span",{class:"min-w-90px text-right"},"开始值:",-1)),l(t(V),{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=a=>i.value=a),min:0},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",T,[e[7]||(e[7]=s("span",{class:"min-w-90px text-right"},"结束值:",-1)),l(t(V),{modelValue:r.value,"onUpdate:modelValue":e[1]||(e[1]=a=>r.value=a),min:1},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",j,[e[8]||(e[8]=s("span",{class:"min-w-90px text-right"},"持续时间:",-1)),l(t(V),{modelValue:p.value,"onUpdate:modelValue":e[2]||(e[2]=a=>p.value=a),min:1e3},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",z,[e[9]||(e[9]=s("span",{class:"min-w-90px text-right"},"分割符号:",-1)),l(t(_),{modelValue:x.value,"onUpdate:modelValue":e[3]||(e[3]=a=>x.value=a)},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",A,[e[10]||(e[10]=s("span",{class:"min-w-90px text-right"},"前缀:",-1)),l(t(_),{modelValue:f.value,"onUpdate:modelValue":e[4]||(e[4]=a=>f.value=a)},null,8,["modelValue"])])]),_:1}),l(t(u),{xl:8,lg:8,md:12,sm:24,xs:24},{default:o(()=>[s("div",D,[e[11]||(e[11]=s("span",{class:"min-w-90px text-right"},"后缀:",-1)),l(t(_),{modelValue:v.value,"onUpdate:modelValue":e[5]||(e[5]=a=>v.value=a)},null,8,["modelValue"])])]),_:1}),l(t(u),{span:24},{default:o(()=>[s("div",J,[l(t(g),{type:"primary",onClick:y},{default:o(()=>e[12]||(e[12]=[b("开始")])),_:1}),l(t(g),{onClick:k},{default:o(()=>e[13]||(e[13]=[b(" 暂停/继续 ")])),_:1})])]),_:1})]),_:1})]),_:1}))}});export{X as default}; diff --git a/assets/CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js b/assets/CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js similarity index 97% rename from assets/CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js rename to assets/CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js index dd230f3a..5495a37b 100644 --- a/assets/CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js +++ b/assets/CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js @@ -1 +1 @@ -import{p as r,q as w}from"./index-DHbc4UQl.js";import{y as k,W as q,E,o as v,c as C,w as N,u as F,z as B,A as M,Q as R}from"./vue-chunks-ChjHxF1G.js";const $={class:"count-to"},W=k({__name:"CountTo",props:{startVal:r.number.def(0),endVal:r.number.def(2021),duration:r.number.def(3e3),autoplay:r.bool.def(!0),decimals:r.number.validate(o=>o>=0).def(0),decimal:r.string.def("."),separator:r.string.def(","),prefix:r.string.def(""),suffix:r.string.def(""),useEasing:r.bool.def(!0),easingFn:{type:Function,default(o,c,p,t){return p*(-Math.pow(2,-10*o/t)+1)*1024/1023+c}}},emits:["mounted","callback"],setup(o,{expose:c,emit:p}){const t=o,x=p,m=l=>{const{decimals:s,decimal:i,separator:e,suffix:n,prefix:_}=t;l=Number(l).toFixed(s),l+="";const g=l.split(".");let u=g[0];const h=g.length>1?i+g[1]:"",S=/(\d+)(\d{3})/;if(e&&!w(e))for(;S.test(u);)u=u.replace(S,"$1"+e+"$2");return _+u+h+n},a=q({localStartVal:t.startVal,displayValue:m(t.startVal),printVal:null,paused:!1,localDuration:t.duration,startTime:null,timestamp:null,remaining:null,rAF:null}),b=E(a,"displayValue");v(()=>{t.autoplay&&V(),x("mounted")});const d=C(()=>t.startVal>t.endVal);N([()=>t.startVal,()=>t.endVal],()=>{t.autoplay&&V()});const V=()=>{const{startVal:l,duration:s}=t;a.localStartVal=l,a.startTime=null,a.localDuration=s,a.paused=!1,a.rAF=requestAnimationFrame(f)},A=()=>{a.paused?(D(),a.paused=!1):(y(),a.paused=!0)},y=()=>{cancelAnimationFrame(a.rAF)},D=()=>{a.startTime=null,a.localDuration=+a.remaining,a.localStartVal=+a.printVal,requestAnimationFrame(f)},T=()=>{a.startTime=null,cancelAnimationFrame(a.rAF),a.displayValue=m(t.startVal)},f=l=>{const{useEasing:s,easingFn:i,endVal:e}=t;a.startTime||(a.startTime=l),a.timestamp=l;const n=l-a.startTime;a.remaining=a.localDuration-n,s?F(d)?a.printVal=a.localStartVal-i(n,0,a.localStartVal-e,a.localDuration):a.printVal=i(n,a.localStartVal,e-a.localStartVal,a.localDuration):F(d)?a.printVal=a.localStartVal-(a.localStartVal-e)*(n/a.localDuration):a.printVal=a.localStartVal+(e-a.localStartVal)*(n/a.localDuration),F(d)?a.printVal=a.printVale?e:a.printVal,a.displayValue=m(a.printVal),n(B(),M("span",$,R(b.value),1))}});export{W as _}; +import{p as r,q as w}from"./index-wnyZ7Zvr.js";import{y as k,W as q,E,o as v,c as C,w as N,u as F,z as B,A as M,Q as R}from"./vue-chunks-ChjHxF1G.js";const $={class:"count-to"},W=k({__name:"CountTo",props:{startVal:r.number.def(0),endVal:r.number.def(2021),duration:r.number.def(3e3),autoplay:r.bool.def(!0),decimals:r.number.validate(o=>o>=0).def(0),decimal:r.string.def("."),separator:r.string.def(","),prefix:r.string.def(""),suffix:r.string.def(""),useEasing:r.bool.def(!0),easingFn:{type:Function,default(o,c,p,t){return p*(-Math.pow(2,-10*o/t)+1)*1024/1023+c}}},emits:["mounted","callback"],setup(o,{expose:c,emit:p}){const t=o,x=p,m=l=>{const{decimals:s,decimal:i,separator:e,suffix:n,prefix:_}=t;l=Number(l).toFixed(s),l+="";const g=l.split(".");let u=g[0];const h=g.length>1?i+g[1]:"",S=/(\d+)(\d{3})/;if(e&&!w(e))for(;S.test(u);)u=u.replace(S,"$1"+e+"$2");return _+u+h+n},a=q({localStartVal:t.startVal,displayValue:m(t.startVal),printVal:null,paused:!1,localDuration:t.duration,startTime:null,timestamp:null,remaining:null,rAF:null}),b=E(a,"displayValue");v(()=>{t.autoplay&&V(),x("mounted")});const d=C(()=>t.startVal>t.endVal);N([()=>t.startVal,()=>t.endVal],()=>{t.autoplay&&V()});const V=()=>{const{startVal:l,duration:s}=t;a.localStartVal=l,a.startTime=null,a.localDuration=s,a.paused=!1,a.rAF=requestAnimationFrame(f)},A=()=>{a.paused?(D(),a.paused=!1):(y(),a.paused=!0)},y=()=>{cancelAnimationFrame(a.rAF)},D=()=>{a.startTime=null,a.localDuration=+a.remaining,a.localStartVal=+a.printVal,requestAnimationFrame(f)},T=()=>{a.startTime=null,cancelAnimationFrame(a.rAF),a.displayValue=m(t.startVal)},f=l=>{const{useEasing:s,easingFn:i,endVal:e}=t;a.startTime||(a.startTime=l),a.timestamp=l;const n=l-a.startTime;a.remaining=a.localDuration-n,s?F(d)?a.printVal=a.localStartVal-i(n,0,a.localStartVal-e,a.localDuration):a.printVal=i(n,a.localStartVal,e-a.localStartVal,a.localDuration):F(d)?a.printVal=a.localStartVal-(a.localStartVal-e)*(n/a.localDuration):a.printVal=a.localStartVal+(e-a.localStartVal)*(n/a.localDuration),F(d)?a.printVal=a.printVale?e:a.printVal,a.displayValue=m(a.printVal),n(B(),M("span",$,R(b.value),1))}});export{W as _}; diff --git a/assets/DefaultForm-Dh9MD6vF.js b/assets/DefaultForm-DsmB2kiS.js similarity index 96% rename from assets/DefaultForm-Dh9MD6vF.js rename to assets/DefaultForm-DsmB2kiS.js index 529daf46..172e3b42 100644 --- a/assets/DefaultForm-Dh9MD6vF.js +++ b/assets/DefaultForm-DsmB2kiS.js @@ -1 +1 @@ -var f=(w,k,s)=>new Promise((u,m)=>{var b=i=>{try{d(s.next(i))}catch(p){m(p)}},y=i=>{try{d(s.throw(i))}catch(p){m(p)}},d=i=>i.done?u(i.value):Promise.resolve(i.value).then(b,y);d((s=s.apply(w,k)).next())});import{F as O}from"./Form-Cq-QZJdy.js";import{_ as R}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{u as F}from"./index-DHbc4UQl.js";/* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css */import{g}from"./index-CPGYCljv.js";import{I as o}from"./Icon-CdhVCYkm.js";import{_ as S}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{t as A,v as G,w as M,x as j,y as V,z as U,A as Y,j as K,E as C,B as H}from"./element-plus-CUBv5pjL.js";import{y as J,c as W,r as P,o as q,W as Q,O as a,I as c,a4 as n,z as X,K as Z,L as ee,u as L}from"./vue-chunks-ChjHxF1G.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css *//* empty css */const Ie=J({__name:"DefaultForm",setup(w){const k=F(),s=W(()=>k.getMobile),u=P([]),m=(e,l)=>{const t=e?u.value.filter(d(e)):u.value;l(t)};let b;const y=(e,l)=>{const t=e?u.value.filter(d(e)):u.value;clearTimeout(b),b=setTimeout(()=>{l(t)},3e3*Math.random())},d=e=>l=>l.value.toLowerCase().indexOf(e.toLowerCase())===0,i=()=>[{value:"vue",link:"https://github.com/vuejs/vue"},{value:"element",link:"https://github.com/ElemeFE/element"},{value:"cooking",link:"https://github.com/ElemeFE/cooking"},{value:"mint-ui",link:"https://github.com/ElemeFE/mint-ui"},{value:"vuex",link:"https://github.com/vuejs/vuex"},{value:"vue-router",link:"https://github.com/vuejs/vue-router"},{value:"babel",link:"https://github.com/babel/babel"}],p=e=>{};q(()=>{u.value=i()});const T=["a","b","c","d","e","f","g","h","i","j"],$=P(Array.from({length:1e3}).map((e,l)=>({value:`Option ${l+1}`,label:`${T[l%10]}${l}`}))),I=P(Array.from({length:10}).map((e,l)=>{const t=l+1;return{value:`Group ${t}`,label:`Group ${t}`,options:Array.from({length:10}).map((le,x)=>({value:`Option ${x+1+10*t}`,label:`${T[x%10]}${x+1+10*t}`}))}})),E=[{value:"guide",label:"Guide",children:[{value:"disciplines",label:"Disciplines",children:[{value:"consistency",label:"Consistency"},{value:"feedback",label:"Feedback"},{value:"efficiency",label:"Efficiency"},{value:"controllability",label:"Controllability"}]},{value:"navigation",label:"Navigation",children:[{value:"side nav",label:"Side Navigation"},{value:"top nav",label:"Top Navigation"}]}]},{value:"component",label:"Component",children:[{value:"basic",label:"Basic",children:[{value:"layout",label:"Layout"},{value:"color",label:"Color"},{value:"typography",label:"Typography"},{value:"icon",label:"Icon"},{value:"button",label:"Button"}]},{value:"form",label:"Form",children:[{value:"radio",label:"Radio"},{value:"checkbox",label:"Checkbox"},{value:"input",label:"Input"},{value:"input-number",label:"InputNumber"},{value:"select",label:"Select"},{value:"cascader",label:"Cascader"},{value:"switch",label:"Switch"},{value:"slider",label:"Slider"},{value:"time-picker",label:"TimePicker"},{value:"date-picker",label:"DatePicker"},{value:"datetime-picker",label:"DateTimePicker"},{value:"upload",label:"Upload"},{value:"rate",label:"Rate"},{value:"form",label:"Form"}]},{value:"data",label:"Data",children:[{value:"table",label:"Table"},{value:"tag",label:"Tag"},{value:"progress",label:"Progress"},{value:"tree",label:"Tree"},{value:"pagination",label:"Pagination"},{value:"badge",label:"Badge"}]},{value:"notice",label:"Notice",children:[{value:"alert",label:"Alert"},{value:"loading",label:"Loading"},{value:"message",label:"Message"},{value:"message-box",label:"MessageBox"},{value:"notification",label:"Notification"}]},{value:"navigation",label:"Navigation",children:[{value:"menu",label:"Menu"},{value:"tabs",label:"Tabs"},{value:"breadcrumb",label:"Breadcrumb"},{value:"dropdown",label:"Dropdown"},{value:"steps",label:"Steps"}]},{value:"others",label:"Others",children:[{value:"dialog",label:"Dialog"},{value:"tooltip",label:"Tooltip"},{value:"popover",label:"Popover"},{value:"card",label:"Card"},{value:"carousel",label:"Carousel"},{value:"collapse",label:"Collapse"}]}]}],D=()=>{const e=[];for(let l=1;l<=15;l++)e.push({value:l,desc:`Option ${l}`,disabled:l%4===0});return e},N=["2021-10-01","2021-10-02","2021-10-03","2021-10-04","2021-10-05","2021-10-06","2021-10-07"],_=({dayjs:e})=>N.includes(e.format("YYYY-MM-DD")),r=[{value:"1",label:"Level one 1",children:[{value:"1-1",label:"Level two 1-1",children:[{value:"1-1-1",label:"Level three 1-1-1"}]}]},{value:"2",label:"Level one 2",children:[{value:"2-1",label:"Level two 2-1",children:[{value:"2-1-1",label:"Level three 2-1-1"}]},{value:"2-2",label:"Level two 2-2",children:[{value:"2-2-1",label:"Level three 2-2-1"}]}]},{value:"3",label:"Level one 3",children:[{value:"3-1",label:"Level two 3-1",children:[{value:"3-1-1",label:"Level three 3-1-1"}]},{value:"3-2",label:"Level two 3-2",children:[{value:"3-2-1",label:"Level three 3-2-1"}]}]}],B=()=>new Promise(e=>{setTimeout(()=>{e(r)},3e3)});let v=0;const h=P(""),z=Q([{field:"field1",label:"输入框",component:"Divider"},{field:"field2",label:"默认",component:"Input",componentProps:{formatter:e=>`$ ${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,","),parser:e=>e.replace(/\$\s?|(,*)/g,"")}},{field:"field3",label:"图标1",component:"Input",componentProps:{suffixIcon:a(o,{icon:"ep:calendar"},null),prefixIcon:a(o,{icon:"ep:share"},null)}},{field:"field4",label:"图标2",component:"Input",componentProps:{slots:{suffix:()=>a(o,{icon:"ep:share"},null),prefix:()=>a(o,{icon:"ep:calendar"},null)}}},{field:"field5",label:"复合型",component:"Input",componentProps:{slots:{prepend:()=>a(o,{icon:"ep:calendar"},null),append:()=>a(o,{icon:"ep:share"},null)}}},{field:"input-field7",label:"密码框",component:"Input",componentProps:{showPassword:!0}},{field:"field6",label:" 多行文本",component:"Input",componentProps:{type:"textarea",rows:2}},{field:"field7",label:"自动补全",component:"Divider"},{field:"field8",label:"默认",component:"Autocomplete",componentProps:{fetchSuggestions:m,on:{select:p}}},{field:"field9",label:"插槽",component:"Autocomplete",componentProps:{fetchSuggestions:m,on:{select:p},slots:{default:({item:e})=>a(c,null,[a("div",{class:"value"},[e==null?void 0:e.value]),a("span",{class:"link"},[e==null?void 0:e.link])])}}},{field:"autocomplete-field10",label:"远程搜索",component:"Autocomplete",componentProps:{fetchSuggestions:y,on:{select:p}}},{field:"field10",component:"Divider",label:"数字输入框"},{field:"field11",label:"默认",component:"InputNumber",value:0},{field:"field12",label:"位置",component:"InputNumber",componentProps:{controlsPosition:"right"},value:10},{field:"field13",label:"选择器",component:"Divider"},{field:"field14",label:"默认",component:"Select",componentProps:{options:[{disabled:!0,label:"option1",value:"1"},{label:"option2",value:"2"}]}},{field:"field15",label:"插槽",component:"Select",componentProps:{options:[{label:"option1",value:"1"},{label:"option2",value:"2"}],slots:{default:e=>e.length?e==null?void 0:e.map(l=>a(A,{key:l.value,label:l.label,value:l.value},null)):null,prefix:()=>a(o,{icon:"ep:calendar"},null)}}},{field:"select-field18",label:"选项插槽",component:"Select",componentProps:{options:[{value:"Beijing",label:"Beijing"},{value:"Shanghai",label:"Shanghai"},{value:"Nanjing",label:"Nanjing"},{value:"Chengdu",label:"Chengdu"},{value:"Shenzhen",label:"Shenzhen"},{value:"Guangzhou",label:"Guangzhou"}],slots:{optionDefault:e=>a(c,null,[a("span",{style:"float: left"},[e.label]),a("span",{style:"float: right; color: var(--el-text-color-secondary); font-size: 13px;"},[e.value])])}}},{field:"field16",label:"选项分组",component:"Select",componentProps:{options:[{label:"option1",options:[{disabled:!0,label:"option1-1",value:"1-1"},{label:"option1-2",value:"1-2"}]},{label:"option2",options:[{label:"option2-1",value:"2-1"},{label:"option2-2",value:"2-2"}]}]}},{field:"field17",label:"选项分组 插槽",component:"Select",componentProps:{options:[{label:"option1",options:[{label:"option1-1",value:"1-1"},{label:"option1-2",value:"1-2"}]},{label:"option2",options:[{label:"option2-1",value:"2-1"},{label:"option2-2",value:"2-2"}]}],slots:{optionGroupDefault:e=>a(G,{key:e.label,label:`${e.label} ${e.label}`},{default:()=>{var l;return[(l=e==null?void 0:e.options)==null?void 0:l.map(t=>a(A,{key:t.value,label:t.label,value:t.value},null))]}})}}},{field:"field18",label:"虚拟列表选择器",component:"Divider"},{field:"field19",label:"默认",component:"SelectV2",componentProps:{value:void 0,options:$.value}},{field:"field20",label:"插槽",component:"SelectV2",componentProps:{options:$.value,slots:{default:e=>a(c,null,[a("span",{style:"margin-right: 8px"},[e==null?void 0:e.label]),a("span",{style:"color: var(--el-text-color-secondary); font-size: 13px"},[e==null?void 0:e.value])])}}},{field:"field21",label:"选项分组",component:"SelectV2",componentProps:{options:I.value}},{field:"field22",label:"选项分组 插槽",component:"SelectV2",componentProps:{options:I.value,slots:{default:e=>a(c,null,[a("span",{style:"margin-right: 8px"},[e==null?void 0:e.label]),a("span",{style:"color: var(--el-text-color-secondary); font-size: 13px"},[e==null?void 0:e.value])])}}},{field:"field23",label:"级联选择器",component:"Divider"},{field:"field24",label:"默认",component:"Cascader",componentProps:{options:E,props:{multiple:!0}}},{field:"field25",label:"插槽",component:"Cascader",componentProps:{options:E,slots:{default:({data:e,node:l})=>a(c,null,[a("span",null,[e.label]),l.isLeaf?null:a("span",null,[n(" ("),e.children.length,n(") ")])])}}},{field:"field26",label:"开关",component:"Divider"},{field:"field27",label:"默认",component:"Switch",value:!1},{field:"field28",label:"图标",component:"Switch",value:!1,componentProps:{activeIcon:a(o,{icon:"ep:check"},null),inactiveIcon:a(o,{icon:"ep:close"},null)}},{field:"field29",label:"评分",component:"Divider"},{field:"field30",label:"默认",component:"Rate",value:0},{field:"field31",label:"图标",component:"Rate",value:null,componentProps:{voidIcon:a(o,{icon:"ep:chat-round"},null),icons:[a(o,{icon:"ep:chat-round"},null),a(o,{icon:"ep:chat-line-round"},null),a(o,{icon:"ep:chat-dot-round"},null)]}},{field:"field32",label:"颜色选择器",component:"Divider"},{field:"field33",label:"默认",component:"ColorPicker"},{field:"field34",label:"穿梭框",component:"Divider"},{field:"field35",label:"默认",component:"Transfer",componentProps:{props:{key:"value",label:"desc"},data:D()},value:[],colProps:{span:24}},{field:"field36",label:"插槽",component:"Transfer",componentProps:{props:{key:"value",label:"desc"},filterable:!0,leftDefaultChecked:[2,3],rightDefaultChecked:[1],titles:["Source","Target"],buttonTexts:["To Left","To Right"],format:{noChecked:"${total}",hasChecked:"${checked}/${total}"},data:D(),slots:{default:({option:e})=>a("span",null,[e.value,n(" - "),e.desc]),leftFooter:()=>a(S,{class:"transfer-footer",size:"small"},{default:()=>[n("Operation")]}),rightFooter:()=>a(S,{class:"transfer-footer",size:"small"},{default:()=>[n("Operation")]})}},value:[1],colProps:{span:24}},{field:"field37",label:"渲染器",component:"Transfer",componentProps:{props:{key:"value",label:"desc",disabled:"disabled"},leftDefaultChecked:[2,3],rightDefaultChecked:[1],data:D(),renderContent:(e,l)=>e("span",null,`${l.value} - ${l.desc}`)},value:[1],colProps:{span:24}},{field:"field38",label:"单选框",component:"Divider"},{field:"field39-2",label:"单选框组",component:"RadioGroup",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field39-3",label:"单选框组 插槽",component:"RadioGroup",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}],slots:{default:e=>e==null?void 0:e.map(l=>a(M,{label:l.label+`(${l.value})`,value:l.value},null))}}},{field:"field40",label:"按钮",component:"RadioButton",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field40-1",label:"按钮 插槽",component:"RadioButton",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}],slots:{default:e=>e==null?void 0:e.map(l=>a(j,{label:l.label+`(${l.value})`,value:l.value},null))}}},{field:"field41",label:"多选框",component:"Divider"},{field:"field42-2",label:"多选框组",component:"CheckboxGroup",value:[],componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"3"}]}},{field:"field42-3",label:"多选框组 插槽",component:"CheckboxGroup",value:[],componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"3"}],slots:{default:e=>e==null?void 0:e.map(l=>a(V,{label:l.label+`(${l.value})`,value:l.value},null))}}},{field:"field43",label:"按钮",component:"CheckboxButton",value:[],componentProps:{options:[{disabled:!0,label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"23"}]}},{field:"field43-1",label:"按钮 插槽",component:"CheckboxButton",value:[],componentProps:{options:[{disabled:!0,label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"23"}],slots:{default:e=>e==null?void 0:e.map(l=>a(U,{label:l.label+`(${l.value})`,value:l.value},null))}}},{field:"field44",component:"Divider",label:"滑块"},{field:"field45",component:"Slider",label:"默认",value:0},{field:"field46",component:"Divider",label:"日期选择器"},{field:"field47",component:"DatePicker",label:"默认",componentProps:{type:"date"}},{field:"field48",component:"DatePicker",label:"日期选择器",componentProps:{type:"date",disabledDate:e=>e.getTime()>Date.now(),shortcuts:[{text:"今天",value:new Date},{text:"昨天",value:()=>{const e=new Date;return e.setTime(e.getTime()-3600*1e3*24),e}},{text:"一周前",value:()=>{const e=new Date;return e.setTime(e.getTime()-3600*1e3*24*7),e}}]}},{field:"field47-1",component:"DatePicker",label:"插槽",value:"2021-10-29",componentProps:{type:"date",slots:{default:e=>a("div",{class:{cell:!0,current:e.isCurrent}},[a("span",{class:"text"},[e.text]),_(e)?a("span",{class:"holiday"},null):null])}}},{field:"field49",component:"DatePicker",label:"周",componentProps:{type:"week",format:"[周]"}},{field:"field50",component:"DatePicker",label:"年",componentProps:{type:"year"}},{field:"field51",component:"DatePicker",label:"月",componentProps:{type:"month"}},{field:"field52",component:"DatePicker",label:"日期",componentProps:{type:"dates"}},{field:"field53",component:"DatePicker",label:"日期范围",componentProps:{type:"daterange"}},{field:"field54",component:"DatePicker",label:"月份范围",componentProps:{type:"monthrange"}},{field:"field56",component:"Divider",label:"日期时间选择器"},{field:"field57",component:"DatePicker",label:"默认",componentProps:{type:"datetime"}},{field:"field58",component:"DatePicker",label:"日期选择器",componentProps:{type:"datetime",shortcuts:[{text:"今天",value:new Date},{text:"昨天",value:()=>{const e=new Date;return e.setTime(e.getTime()-3600*1e3*24),e}},{text:"一周前",value:()=>{const e=new Date;return e.setTime(e.getTime()-3600*1e3*24*7),e}}]}},{field:"field59",component:"DatePicker",label:"日期时间范围",componentProps:{type:"datetimerange"}},{field:"field60",component:"Divider",label:"时间选择器"},{field:"field61",component:"TimePicker",label:"默认"},{field:"field62",component:"Divider",label:"时间选择"},{field:"field63",component:"TimeSelect",label:"默认"},{field:"field66",component:"Divider",label:"密码输入框"},{field:"field67",component:"InputPassword",label:"默认",componentProps:{strength:!0}},{field:"field68",component:"Divider",label:"表单 插槽"},{field:"field69",component:"Input",label:"label",formItemProps:{slots:{label:({label:e})=>a("div",{class:"custom-label"},[a("span",{class:"label-text"},[n("custom "),e])])}}},{field:"field69-1",component:"Input",label:"custom formItem",formItemProps:{slots:{default:e=>a(Y,{modelValue:e["field69-1"],"onUpdate:modelValue":l=>e["field69-1"]=l},null)}}},{field:"field70",component:"Divider",label:"远程加载"},{field:"field71",label:"选择器",component:"Select",componentProps:{options:[]},optionApi:()=>f(this,null,function*(){return(yield g()).data})},{field:"field72",label:"虚拟列表选择器",component:"SelectV2",componentProps:{options:[]},optionApi:()=>f(this,null,function*(){return(yield g()).data})},{field:"field73",label:"多选框组",component:"CheckboxGroup",componentProps:{options:[]},optionApi:()=>f(this,null,function*(){return(yield g()).data})},{field:"field74",label:"单选框组",component:"RadioGroup",componentProps:{options:[]},optionApi:()=>f(this,null,function*(){return(yield g()).data})},{field:"field82",label:"树形选择器",component:"TreeSelect",optionApi:()=>f(this,null,function*(){return yield B()})},{field:"field75",component:"Divider",label:"树形选择器"},{field:"field76",component:"TreeSelect",label:"默认",componentProps:{renderAfterExpand:!1,data:r}},{field:"field76",component:"TreeSelect",label:"显示复选框",componentProps:{renderAfterExpand:!1,showCheckbox:!0,data:r}},{field:"field77",component:"TreeSelect",label:"选择任意级别",componentProps:{renderAfterExpand:!1,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,data:r}},{field:"field78",component:"TreeSelect",label:"多选",componentProps:{renderAfterExpand:!1,multiple:!0,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,data:r}},{field:"field79",component:"TreeSelect",label:"可筛选",componentProps:{renderAfterExpand:!1,multiple:!0,filterable:!0,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,filterNodeMethod:(e,l)=>l.label.includes(e),data:r}},{field:"field80",component:"TreeSelect",label:"自定义内容",componentProps:{renderAfterExpand:!1,multiple:!0,filterable:!0,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,filterNodeMethod:(e,l)=>l.label.includes(e),slots:{default:({data:{label:e}})=>a(c,null,[e,a("span",{style:"color: gray"},[n("(suffix)")])])},data:r}},{field:"field81",component:"TreeSelect",label:"懒加载",componentProps:{renderAfterExpand:!1,lazy:!0,load:(e,l)=>{if(e.isLeaf)return l([]);setTimeout(()=>{l([{value:++v,label:`lazy load node${v}`},{value:++v,label:`lazy load node${v}`,isLeaf:!0}])},400)},multiple:!0,filterable:!0,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,filterNodeMethod:(e,l)=>l.label.includes(e),slots:{default:({data:{label:e}})=>a(c,null,[e,a("span",{style:"color: gray"},[n("(suffix)")])])},data:r}},{field:"field82",component:"Divider",label:"上传"},{field:"field83",component:"Upload",label:"默认",componentProps:{limit:3,action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",fileList:[{name:"element-plus-logo.svg",url:"https://element-plus.org/images/element-plus-logo.svg"},{name:"element-plus-logo2.svg",url:"https://element-plus.org/images/element-plus-logo.svg"}],multiple:!0,onPreview:e=>{},onRemove:e=>{},beforeRemove:e=>K.confirm(`Cancel the transfer of ${e.name} ?`).then(()=>!0,()=>!1),onExceed:(e,l)=>{C.warning(`The limit is 3, you selected ${e.length} files this time, add up to ${e.length+l.length} totally`)},slots:{default:()=>a(S,{type:"primary"},{default:()=>[n("Click to upload")]}),tip:()=>a("div",{class:"el-upload__tip"},[n("jpg/png files with a size less than 500KB.")])}}},{field:"field84",component:"Upload",label:"用户头像",componentProps:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",showFileList:!1,onSuccess:(e,l)=>{h.value=URL.createObjectURL(l.raw)},beforeUpload:e=>e.type!=="image/jpeg"?(C.error("Avatar picture must be JPG format!"),!1):e.size/1024/1024>2?(C.error("Avatar picture size can not exceed 2MB!"),!1):!0,slots:{default:()=>a(c,null,[h.value?a("img",{src:h.value,class:"avatar"},null):null,h.value?null:a(H,{class:"avatar-uploader-icon",size:"large"},{default:()=>[n("add")]})])}}},{field:"field87",component:"Divider",label:"图标选择器"},{field:"field88",component:"IconPicker",label:"默认",value:"tdesign:archway"}]);return(e,l)=>(X(),Z(L(R),{title:"全部示例",message:"基于 ElementPlus 的 Form 组件二次封装,实现数据驱动,支持所有 Form 参数"},{default:ee(()=>[a(L(O),{schema:z,"label-width":"auto","label-position":s.value?"top":"right"},null,8,["schema","label-position"])]),_:1}))}});export{Ie as default}; +var f=(w,k,s)=>new Promise((u,m)=>{var b=i=>{try{d(s.next(i))}catch(p){m(p)}},y=i=>{try{d(s.throw(i))}catch(p){m(p)}},d=i=>i.done?u(i.value):Promise.resolve(i.value).then(b,y);d((s=s.apply(w,k)).next())});import{F as O}from"./Form-BTUMYN5B.js";import{_ as R}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{u as F}from"./index-wnyZ7Zvr.js";/* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css */import{g}from"./index-Dw2-9OhJ.js";import{I as o}from"./Icon-BTLftY2_.js";import{_ as S}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{t as A,v as G,w as M,x as j,y as V,z as U,A as Y,j as K,E as C,B as H}from"./element-plus-CUBv5pjL.js";import{y as J,c as W,r as P,o as q,W as Q,O as a,I as c,a4 as n,z as X,K as Z,L as ee,u as L}from"./vue-chunks-ChjHxF1G.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css *//* empty css */const Ie=J({__name:"DefaultForm",setup(w){const k=F(),s=W(()=>k.getMobile),u=P([]),m=(e,l)=>{const t=e?u.value.filter(d(e)):u.value;l(t)};let b;const y=(e,l)=>{const t=e?u.value.filter(d(e)):u.value;clearTimeout(b),b=setTimeout(()=>{l(t)},3e3*Math.random())},d=e=>l=>l.value.toLowerCase().indexOf(e.toLowerCase())===0,i=()=>[{value:"vue",link:"https://github.com/vuejs/vue"},{value:"element",link:"https://github.com/ElemeFE/element"},{value:"cooking",link:"https://github.com/ElemeFE/cooking"},{value:"mint-ui",link:"https://github.com/ElemeFE/mint-ui"},{value:"vuex",link:"https://github.com/vuejs/vuex"},{value:"vue-router",link:"https://github.com/vuejs/vue-router"},{value:"babel",link:"https://github.com/babel/babel"}],p=e=>{};q(()=>{u.value=i()});const T=["a","b","c","d","e","f","g","h","i","j"],$=P(Array.from({length:1e3}).map((e,l)=>({value:`Option ${l+1}`,label:`${T[l%10]}${l}`}))),I=P(Array.from({length:10}).map((e,l)=>{const t=l+1;return{value:`Group ${t}`,label:`Group ${t}`,options:Array.from({length:10}).map((le,x)=>({value:`Option ${x+1+10*t}`,label:`${T[x%10]}${x+1+10*t}`}))}})),E=[{value:"guide",label:"Guide",children:[{value:"disciplines",label:"Disciplines",children:[{value:"consistency",label:"Consistency"},{value:"feedback",label:"Feedback"},{value:"efficiency",label:"Efficiency"},{value:"controllability",label:"Controllability"}]},{value:"navigation",label:"Navigation",children:[{value:"side nav",label:"Side Navigation"},{value:"top nav",label:"Top Navigation"}]}]},{value:"component",label:"Component",children:[{value:"basic",label:"Basic",children:[{value:"layout",label:"Layout"},{value:"color",label:"Color"},{value:"typography",label:"Typography"},{value:"icon",label:"Icon"},{value:"button",label:"Button"}]},{value:"form",label:"Form",children:[{value:"radio",label:"Radio"},{value:"checkbox",label:"Checkbox"},{value:"input",label:"Input"},{value:"input-number",label:"InputNumber"},{value:"select",label:"Select"},{value:"cascader",label:"Cascader"},{value:"switch",label:"Switch"},{value:"slider",label:"Slider"},{value:"time-picker",label:"TimePicker"},{value:"date-picker",label:"DatePicker"},{value:"datetime-picker",label:"DateTimePicker"},{value:"upload",label:"Upload"},{value:"rate",label:"Rate"},{value:"form",label:"Form"}]},{value:"data",label:"Data",children:[{value:"table",label:"Table"},{value:"tag",label:"Tag"},{value:"progress",label:"Progress"},{value:"tree",label:"Tree"},{value:"pagination",label:"Pagination"},{value:"badge",label:"Badge"}]},{value:"notice",label:"Notice",children:[{value:"alert",label:"Alert"},{value:"loading",label:"Loading"},{value:"message",label:"Message"},{value:"message-box",label:"MessageBox"},{value:"notification",label:"Notification"}]},{value:"navigation",label:"Navigation",children:[{value:"menu",label:"Menu"},{value:"tabs",label:"Tabs"},{value:"breadcrumb",label:"Breadcrumb"},{value:"dropdown",label:"Dropdown"},{value:"steps",label:"Steps"}]},{value:"others",label:"Others",children:[{value:"dialog",label:"Dialog"},{value:"tooltip",label:"Tooltip"},{value:"popover",label:"Popover"},{value:"card",label:"Card"},{value:"carousel",label:"Carousel"},{value:"collapse",label:"Collapse"}]}]}],D=()=>{const e=[];for(let l=1;l<=15;l++)e.push({value:l,desc:`Option ${l}`,disabled:l%4===0});return e},N=["2021-10-01","2021-10-02","2021-10-03","2021-10-04","2021-10-05","2021-10-06","2021-10-07"],_=({dayjs:e})=>N.includes(e.format("YYYY-MM-DD")),r=[{value:"1",label:"Level one 1",children:[{value:"1-1",label:"Level two 1-1",children:[{value:"1-1-1",label:"Level three 1-1-1"}]}]},{value:"2",label:"Level one 2",children:[{value:"2-1",label:"Level two 2-1",children:[{value:"2-1-1",label:"Level three 2-1-1"}]},{value:"2-2",label:"Level two 2-2",children:[{value:"2-2-1",label:"Level three 2-2-1"}]}]},{value:"3",label:"Level one 3",children:[{value:"3-1",label:"Level two 3-1",children:[{value:"3-1-1",label:"Level three 3-1-1"}]},{value:"3-2",label:"Level two 3-2",children:[{value:"3-2-1",label:"Level three 3-2-1"}]}]}],B=()=>new Promise(e=>{setTimeout(()=>{e(r)},3e3)});let v=0;const h=P(""),z=Q([{field:"field1",label:"输入框",component:"Divider"},{field:"field2",label:"默认",component:"Input",componentProps:{formatter:e=>`$ ${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,","),parser:e=>e.replace(/\$\s?|(,*)/g,"")}},{field:"field3",label:"图标1",component:"Input",componentProps:{suffixIcon:a(o,{icon:"ep:calendar"},null),prefixIcon:a(o,{icon:"ep:share"},null)}},{field:"field4",label:"图标2",component:"Input",componentProps:{slots:{suffix:()=>a(o,{icon:"ep:share"},null),prefix:()=>a(o,{icon:"ep:calendar"},null)}}},{field:"field5",label:"复合型",component:"Input",componentProps:{slots:{prepend:()=>a(o,{icon:"ep:calendar"},null),append:()=>a(o,{icon:"ep:share"},null)}}},{field:"input-field7",label:"密码框",component:"Input",componentProps:{showPassword:!0}},{field:"field6",label:" 多行文本",component:"Input",componentProps:{type:"textarea",rows:2}},{field:"field7",label:"自动补全",component:"Divider"},{field:"field8",label:"默认",component:"Autocomplete",componentProps:{fetchSuggestions:m,on:{select:p}}},{field:"field9",label:"插槽",component:"Autocomplete",componentProps:{fetchSuggestions:m,on:{select:p},slots:{default:({item:e})=>a(c,null,[a("div",{class:"value"},[e==null?void 0:e.value]),a("span",{class:"link"},[e==null?void 0:e.link])])}}},{field:"autocomplete-field10",label:"远程搜索",component:"Autocomplete",componentProps:{fetchSuggestions:y,on:{select:p}}},{field:"field10",component:"Divider",label:"数字输入框"},{field:"field11",label:"默认",component:"InputNumber",value:0},{field:"field12",label:"位置",component:"InputNumber",componentProps:{controlsPosition:"right"},value:10},{field:"field13",label:"选择器",component:"Divider"},{field:"field14",label:"默认",component:"Select",componentProps:{options:[{disabled:!0,label:"option1",value:"1"},{label:"option2",value:"2"}]}},{field:"field15",label:"插槽",component:"Select",componentProps:{options:[{label:"option1",value:"1"},{label:"option2",value:"2"}],slots:{default:e=>e.length?e==null?void 0:e.map(l=>a(A,{key:l.value,label:l.label,value:l.value},null)):null,prefix:()=>a(o,{icon:"ep:calendar"},null)}}},{field:"select-field18",label:"选项插槽",component:"Select",componentProps:{options:[{value:"Beijing",label:"Beijing"},{value:"Shanghai",label:"Shanghai"},{value:"Nanjing",label:"Nanjing"},{value:"Chengdu",label:"Chengdu"},{value:"Shenzhen",label:"Shenzhen"},{value:"Guangzhou",label:"Guangzhou"}],slots:{optionDefault:e=>a(c,null,[a("span",{style:"float: left"},[e.label]),a("span",{style:"float: right; color: var(--el-text-color-secondary); font-size: 13px;"},[e.value])])}}},{field:"field16",label:"选项分组",component:"Select",componentProps:{options:[{label:"option1",options:[{disabled:!0,label:"option1-1",value:"1-1"},{label:"option1-2",value:"1-2"}]},{label:"option2",options:[{label:"option2-1",value:"2-1"},{label:"option2-2",value:"2-2"}]}]}},{field:"field17",label:"选项分组 插槽",component:"Select",componentProps:{options:[{label:"option1",options:[{label:"option1-1",value:"1-1"},{label:"option1-2",value:"1-2"}]},{label:"option2",options:[{label:"option2-1",value:"2-1"},{label:"option2-2",value:"2-2"}]}],slots:{optionGroupDefault:e=>a(G,{key:e.label,label:`${e.label} ${e.label}`},{default:()=>{var l;return[(l=e==null?void 0:e.options)==null?void 0:l.map(t=>a(A,{key:t.value,label:t.label,value:t.value},null))]}})}}},{field:"field18",label:"虚拟列表选择器",component:"Divider"},{field:"field19",label:"默认",component:"SelectV2",componentProps:{value:void 0,options:$.value}},{field:"field20",label:"插槽",component:"SelectV2",componentProps:{options:$.value,slots:{default:e=>a(c,null,[a("span",{style:"margin-right: 8px"},[e==null?void 0:e.label]),a("span",{style:"color: var(--el-text-color-secondary); font-size: 13px"},[e==null?void 0:e.value])])}}},{field:"field21",label:"选项分组",component:"SelectV2",componentProps:{options:I.value}},{field:"field22",label:"选项分组 插槽",component:"SelectV2",componentProps:{options:I.value,slots:{default:e=>a(c,null,[a("span",{style:"margin-right: 8px"},[e==null?void 0:e.label]),a("span",{style:"color: var(--el-text-color-secondary); font-size: 13px"},[e==null?void 0:e.value])])}}},{field:"field23",label:"级联选择器",component:"Divider"},{field:"field24",label:"默认",component:"Cascader",componentProps:{options:E,props:{multiple:!0}}},{field:"field25",label:"插槽",component:"Cascader",componentProps:{options:E,slots:{default:({data:e,node:l})=>a(c,null,[a("span",null,[e.label]),l.isLeaf?null:a("span",null,[n(" ("),e.children.length,n(") ")])])}}},{field:"field26",label:"开关",component:"Divider"},{field:"field27",label:"默认",component:"Switch",value:!1},{field:"field28",label:"图标",component:"Switch",value:!1,componentProps:{activeIcon:a(o,{icon:"ep:check"},null),inactiveIcon:a(o,{icon:"ep:close"},null)}},{field:"field29",label:"评分",component:"Divider"},{field:"field30",label:"默认",component:"Rate",value:0},{field:"field31",label:"图标",component:"Rate",value:null,componentProps:{voidIcon:a(o,{icon:"ep:chat-round"},null),icons:[a(o,{icon:"ep:chat-round"},null),a(o,{icon:"ep:chat-line-round"},null),a(o,{icon:"ep:chat-dot-round"},null)]}},{field:"field32",label:"颜色选择器",component:"Divider"},{field:"field33",label:"默认",component:"ColorPicker"},{field:"field34",label:"穿梭框",component:"Divider"},{field:"field35",label:"默认",component:"Transfer",componentProps:{props:{key:"value",label:"desc"},data:D()},value:[],colProps:{span:24}},{field:"field36",label:"插槽",component:"Transfer",componentProps:{props:{key:"value",label:"desc"},filterable:!0,leftDefaultChecked:[2,3],rightDefaultChecked:[1],titles:["Source","Target"],buttonTexts:["To Left","To Right"],format:{noChecked:"${total}",hasChecked:"${checked}/${total}"},data:D(),slots:{default:({option:e})=>a("span",null,[e.value,n(" - "),e.desc]),leftFooter:()=>a(S,{class:"transfer-footer",size:"small"},{default:()=>[n("Operation")]}),rightFooter:()=>a(S,{class:"transfer-footer",size:"small"},{default:()=>[n("Operation")]})}},value:[1],colProps:{span:24}},{field:"field37",label:"渲染器",component:"Transfer",componentProps:{props:{key:"value",label:"desc",disabled:"disabled"},leftDefaultChecked:[2,3],rightDefaultChecked:[1],data:D(),renderContent:(e,l)=>e("span",null,`${l.value} - ${l.desc}`)},value:[1],colProps:{span:24}},{field:"field38",label:"单选框",component:"Divider"},{field:"field39-2",label:"单选框组",component:"RadioGroup",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field39-3",label:"单选框组 插槽",component:"RadioGroup",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}],slots:{default:e=>e==null?void 0:e.map(l=>a(M,{label:l.label+`(${l.value})`,value:l.value},null))}}},{field:"field40",label:"按钮",component:"RadioButton",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field40-1",label:"按钮 插槽",component:"RadioButton",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}],slots:{default:e=>e==null?void 0:e.map(l=>a(j,{label:l.label+`(${l.value})`,value:l.value},null))}}},{field:"field41",label:"多选框",component:"Divider"},{field:"field42-2",label:"多选框组",component:"CheckboxGroup",value:[],componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"3"}]}},{field:"field42-3",label:"多选框组 插槽",component:"CheckboxGroup",value:[],componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"3"}],slots:{default:e=>e==null?void 0:e.map(l=>a(V,{label:l.label+`(${l.value})`,value:l.value},null))}}},{field:"field43",label:"按钮",component:"CheckboxButton",value:[],componentProps:{options:[{disabled:!0,label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"23"}]}},{field:"field43-1",label:"按钮 插槽",component:"CheckboxButton",value:[],componentProps:{options:[{disabled:!0,label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"23"}],slots:{default:e=>e==null?void 0:e.map(l=>a(U,{label:l.label+`(${l.value})`,value:l.value},null))}}},{field:"field44",component:"Divider",label:"滑块"},{field:"field45",component:"Slider",label:"默认",value:0},{field:"field46",component:"Divider",label:"日期选择器"},{field:"field47",component:"DatePicker",label:"默认",componentProps:{type:"date"}},{field:"field48",component:"DatePicker",label:"日期选择器",componentProps:{type:"date",disabledDate:e=>e.getTime()>Date.now(),shortcuts:[{text:"今天",value:new Date},{text:"昨天",value:()=>{const e=new Date;return e.setTime(e.getTime()-3600*1e3*24),e}},{text:"一周前",value:()=>{const e=new Date;return e.setTime(e.getTime()-3600*1e3*24*7),e}}]}},{field:"field47-1",component:"DatePicker",label:"插槽",value:"2021-10-29",componentProps:{type:"date",slots:{default:e=>a("div",{class:{cell:!0,current:e.isCurrent}},[a("span",{class:"text"},[e.text]),_(e)?a("span",{class:"holiday"},null):null])}}},{field:"field49",component:"DatePicker",label:"周",componentProps:{type:"week",format:"[周]"}},{field:"field50",component:"DatePicker",label:"年",componentProps:{type:"year"}},{field:"field51",component:"DatePicker",label:"月",componentProps:{type:"month"}},{field:"field52",component:"DatePicker",label:"日期",componentProps:{type:"dates"}},{field:"field53",component:"DatePicker",label:"日期范围",componentProps:{type:"daterange"}},{field:"field54",component:"DatePicker",label:"月份范围",componentProps:{type:"monthrange"}},{field:"field56",component:"Divider",label:"日期时间选择器"},{field:"field57",component:"DatePicker",label:"默认",componentProps:{type:"datetime"}},{field:"field58",component:"DatePicker",label:"日期选择器",componentProps:{type:"datetime",shortcuts:[{text:"今天",value:new Date},{text:"昨天",value:()=>{const e=new Date;return e.setTime(e.getTime()-3600*1e3*24),e}},{text:"一周前",value:()=>{const e=new Date;return e.setTime(e.getTime()-3600*1e3*24*7),e}}]}},{field:"field59",component:"DatePicker",label:"日期时间范围",componentProps:{type:"datetimerange"}},{field:"field60",component:"Divider",label:"时间选择器"},{field:"field61",component:"TimePicker",label:"默认"},{field:"field62",component:"Divider",label:"时间选择"},{field:"field63",component:"TimeSelect",label:"默认"},{field:"field66",component:"Divider",label:"密码输入框"},{field:"field67",component:"InputPassword",label:"默认",componentProps:{strength:!0}},{field:"field68",component:"Divider",label:"表单 插槽"},{field:"field69",component:"Input",label:"label",formItemProps:{slots:{label:({label:e})=>a("div",{class:"custom-label"},[a("span",{class:"label-text"},[n("custom "),e])])}}},{field:"field69-1",component:"Input",label:"custom formItem",formItemProps:{slots:{default:e=>a(Y,{modelValue:e["field69-1"],"onUpdate:modelValue":l=>e["field69-1"]=l},null)}}},{field:"field70",component:"Divider",label:"远程加载"},{field:"field71",label:"选择器",component:"Select",componentProps:{options:[]},optionApi:()=>f(this,null,function*(){return(yield g()).data})},{field:"field72",label:"虚拟列表选择器",component:"SelectV2",componentProps:{options:[]},optionApi:()=>f(this,null,function*(){return(yield g()).data})},{field:"field73",label:"多选框组",component:"CheckboxGroup",componentProps:{options:[]},optionApi:()=>f(this,null,function*(){return(yield g()).data})},{field:"field74",label:"单选框组",component:"RadioGroup",componentProps:{options:[]},optionApi:()=>f(this,null,function*(){return(yield g()).data})},{field:"field82",label:"树形选择器",component:"TreeSelect",optionApi:()=>f(this,null,function*(){return yield B()})},{field:"field75",component:"Divider",label:"树形选择器"},{field:"field76",component:"TreeSelect",label:"默认",componentProps:{renderAfterExpand:!1,data:r}},{field:"field76",component:"TreeSelect",label:"显示复选框",componentProps:{renderAfterExpand:!1,showCheckbox:!0,data:r}},{field:"field77",component:"TreeSelect",label:"选择任意级别",componentProps:{renderAfterExpand:!1,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,data:r}},{field:"field78",component:"TreeSelect",label:"多选",componentProps:{renderAfterExpand:!1,multiple:!0,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,data:r}},{field:"field79",component:"TreeSelect",label:"可筛选",componentProps:{renderAfterExpand:!1,multiple:!0,filterable:!0,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,filterNodeMethod:(e,l)=>l.label.includes(e),data:r}},{field:"field80",component:"TreeSelect",label:"自定义内容",componentProps:{renderAfterExpand:!1,multiple:!0,filterable:!0,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,filterNodeMethod:(e,l)=>l.label.includes(e),slots:{default:({data:{label:e}})=>a(c,null,[e,a("span",{style:"color: gray"},[n("(suffix)")])])},data:r}},{field:"field81",component:"TreeSelect",label:"懒加载",componentProps:{renderAfterExpand:!1,lazy:!0,load:(e,l)=>{if(e.isLeaf)return l([]);setTimeout(()=>{l([{value:++v,label:`lazy load node${v}`},{value:++v,label:`lazy load node${v}`,isLeaf:!0}])},400)},multiple:!0,filterable:!0,showCheckbox:!0,checkStrictly:!0,checkOnClickNode:!0,filterNodeMethod:(e,l)=>l.label.includes(e),slots:{default:({data:{label:e}})=>a(c,null,[e,a("span",{style:"color: gray"},[n("(suffix)")])])},data:r}},{field:"field82",component:"Divider",label:"上传"},{field:"field83",component:"Upload",label:"默认",componentProps:{limit:3,action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",fileList:[{name:"element-plus-logo.svg",url:"https://element-plus.org/images/element-plus-logo.svg"},{name:"element-plus-logo2.svg",url:"https://element-plus.org/images/element-plus-logo.svg"}],multiple:!0,onPreview:e=>{},onRemove:e=>{},beforeRemove:e=>K.confirm(`Cancel the transfer of ${e.name} ?`).then(()=>!0,()=>!1),onExceed:(e,l)=>{C.warning(`The limit is 3, you selected ${e.length} files this time, add up to ${e.length+l.length} totally`)},slots:{default:()=>a(S,{type:"primary"},{default:()=>[n("Click to upload")]}),tip:()=>a("div",{class:"el-upload__tip"},[n("jpg/png files with a size less than 500KB.")])}}},{field:"field84",component:"Upload",label:"用户头像",componentProps:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",showFileList:!1,onSuccess:(e,l)=>{h.value=URL.createObjectURL(l.raw)},beforeUpload:e=>e.type!=="image/jpeg"?(C.error("Avatar picture must be JPG format!"),!1):e.size/1024/1024>2?(C.error("Avatar picture size can not exceed 2MB!"),!1):!0,slots:{default:()=>a(c,null,[h.value?a("img",{src:h.value,class:"avatar"},null):null,h.value?null:a(H,{class:"avatar-uploader-icon",size:"large"},{default:()=>[n("add")]})])}}},{field:"field87",component:"Divider",label:"图标选择器"},{field:"field88",component:"IconPicker",label:"默认",value:"tdesign:archway"}]);return(e,l)=>(X(),Z(L(R),{title:"全部示例",message:"基于 ElementPlus 的 Form 组件二次封装,实现数据驱动,支持所有 Form 参数"},{default:ee(()=>[a(L(O),{schema:z,"label-width":"auto","label-position":s.value?"top":"right"},null,8,["schema","label-position"])]),_:1}))}});export{Ie as default}; diff --git a/assets/DefaultTable-BJJvZkhr.js b/assets/DefaultTable-BwJ06UZq.js similarity index 74% rename from assets/DefaultTable-BJJvZkhr.js rename to assets/DefaultTable-BwJ06UZq.js index fb6ac889..8aed8326 100644 --- a/assets/DefaultTable-BJJvZkhr.js +++ b/assets/DefaultTable-BwJ06UZq.js @@ -1 +1 @@ -var p=(n,r,o)=>new Promise((i,s)=>{var l=t=>{try{e(o.next(t))}catch(m){s(m)}},a=t=>{try{e(o.throw(t))}catch(m){s(m)}},e=t=>t.done?i(t.value):Promise.resolve(t.value).then(l,a);e((o=o.apply(n,r)).next())});import{_ as u}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{g}from"./index-DFQGkRZD.js";/* empty css */import{_ as b}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{C as y}from"./element-plus-CUBv5pjL.js";import{y as T,r as c,z as C,K as h,L as v,O as f,u as d,ad as x,a4 as L}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css */import"./index-BQQdmLe5.js";const Q=T({__name:"DefaultTable",setup(n){const r=[{field:"title",label:"标题"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间",sortable:!0},{field:"importance",label:"重要性",formatter:(a,e,t)=>x(y,{type:t===1?"success":t===2?"warning":"danger"},()=>t===1?"重要":t===2?"良好":"一般")},{field:"pageviews",label:"阅读数"},{field:"action",label:"操作",slots:{default:a=>f(b,{type:"primary",onClick:()=>l(a)},{default:()=>[L("操作")]})}}],o=c(!0),i=c([]);(a=>p(this,null,function*(){const e=yield g({pageIndex:1,pageSize:10}).catch(()=>{}).finally(()=>{o.value=!1});e&&(i.value=e.data.list)}))();const l=a=>{};return(a,e)=>(C(),h(d(u),{title:"表格",message:"基于 ElementPlus 的 Table 组件二次封装"},{default:v(()=>[f(d(_),{columns:r,data:i.value,loading:o.value,defaultSort:{prop:"display_time",order:"descending"}},null,8,["data","loading"])]),_:1}))}});export{Q as default}; +var p=(n,r,o)=>new Promise((i,s)=>{var l=t=>{try{e(o.next(t))}catch(m){s(m)}},a=t=>{try{e(o.throw(t))}catch(m){s(m)}},e=t=>t.done?i(t.value):Promise.resolve(t.value).then(l,a);e((o=o.apply(n,r)).next())});import{_ as u}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{g}from"./index-wRPr5Q4s.js";/* empty css */import{_ as b}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{C as y}from"./element-plus-CUBv5pjL.js";import{y as T,r as c,z as C,K as h,L as v,O as f,u as d,ad as x,a4 as L}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css */import"./index-DBEGipag.js";const Q=T({__name:"DefaultTable",setup(n){const r=[{field:"title",label:"标题"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间",sortable:!0},{field:"importance",label:"重要性",formatter:(a,e,t)=>x(y,{type:t===1?"success":t===2?"warning":"danger"},()=>t===1?"重要":t===2?"良好":"一般")},{field:"pageviews",label:"阅读数"},{field:"action",label:"操作",slots:{default:a=>f(b,{type:"primary",onClick:()=>l(a)},{default:()=>[L("操作")]})}}],o=c(!0),i=c([]);(a=>p(this,null,function*(){const e=yield g({pageIndex:1,pageSize:10}).catch(()=>{}).finally(()=>{o.value=!1});e&&(i.value=e.data.list)}))();const l=a=>{};return(a,e)=>(C(),h(d(u),{title:"表格",message:"基于 ElementPlus 的 Table 组件二次封装"},{default:v(()=>[f(d(_),{columns:r,data:i.value,loading:o.value,defaultSort:{prop:"display_time",order:"descending"}},null,8,["data","loading"])]),_:1}))}});export{Q as default}; diff --git a/assets/Department-C5C6D85i.js b/assets/Department-CT-Tkbul.js similarity index 80% rename from assets/Department-C5C6D85i.js rename to assets/Department-CT-Tkbul.js index 33bb2945..d7bbafd2 100644 --- a/assets/Department-C5C6D85i.js +++ b/assets/Department-CT-Tkbul.js @@ -1 +1 @@ -var q=Object.defineProperty;var E=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var F=(i,o,l)=>o in i?q(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,I=(i,o)=>{for(var l in o||(o={}))G.call(o,l)&&F(i,l,o[l]);if(E)for(var l of E(o))J.call(o,l)&&F(i,l,o[l]);return i};var v=(i,o,l)=>new Promise((b,w)=>{var C=n=>{try{y(l.next(n))}catch(m){w(m)}},P=n=>{try{y(l.throw(n))}catch(m){w(m)}},y=n=>n.done?b(n.value):Promise.resolve(n.value).then(C,P);y((l=l.apply(i,o)).next())});import{_ as Q}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as X}from"./Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js";import{_ as Y}from"./Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js";import"./index-DHbc4UQl.js";/* empty css */import{_ as Z}from"./Table.vue_vue_type_script_lang-B22YyWum.js";/* empty css *//* empty css *//* empty css */import{g as ee,a as te,d as ae,s as re}from"./index-DVP3NWK5.js";import{u as le}from"./useTable-B0KZmPSP.js";import{_ as oe}from"./Write.vue_vue_type_script_setup_true_lang-CPowj1Ha.js";import{_ as se}from"./Detail.vue_vue_type_script_setup_true_lang-7ShYqy7f.js";import{u as ne}from"./useCrudSchemas-DdqHtvsp.js";import{_ as d}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{C as U}from"./element-plus-CUBv5pjL.js";import{y as ie,r as u,W as ue,O as r,I as p,a4 as c,u as a,z as k,A as me,L as f,D as de,l as K,K as R,H as $}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Form-Cq-QZJdy.js";/* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useIcon-CKHK9-or.js";/* empty css *//* empty css *//* empty css */import"./index-BQQdmLe5.js";import"./useValidator-Nt61Jv1p.js";import"./Descriptions-CzZKAhwM.js";import"./tree-Dgaev6Pi.js";const pe={class:"mb-10px"},rt=ie({__name:"Department",setup(i){const o=u([]),{tableRegister:l,tableState:b,tableMethods:w}=le({fetchDataApi:()=>v(this,null,function*(){const{currentPage:t,pageSize:e}=b,s=yield te(I({pageIndex:a(t),pageSize:a(e)},a(V)));return{list:s.data.list,total:s.data.total}}),fetchDelApi:()=>v(this,null,function*(){return!!(yield ae(a(o)))})}),{loading:C,dataList:P,total:y,currentPage:n,pageSize:m}=b,{getList:T,getElTableExpose:H,delList:M}=w,V=u({}),z=t=>{V.value=t,T()},O=ue([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",type:"index",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}},{field:"id",label:"部门名称",table:{slots:{default:t=>r(p,null,[t.row.departmentName])}},form:{component:"TreeSelect",componentProps:{nodeKey:"id",props:{label:"departmentName"}},optionApi:()=>v(this,null,function*(){return(yield ee()).data.list})},detail:{slots:{default:t=>r(p,null,[t.departmentName])}}},{field:"status",label:"状态",search:{hidden:!0},table:{slots:{default:t=>{const e=t.row.status;return r(p,null,[r(U,{type:e===0?"danger":"success"},{default:()=>[e===1?"启用":"禁用"]})])}}},form:{component:"Select",componentProps:{options:[{value:0,label:"禁用"},{value:1,label:"启用"}]}},detail:{slots:{default:t=>r(p,null,[r(U,{type:t.status===0?"danger":"success"},{default:()=>[t.status===1?"启用":"禁用"]})])}}},{field:"createTime",label:"创建时间",search:{hidden:!0},form:{hidden:!0}},{field:"remark",label:"备注",search:{hidden:!0},form:{component:"Input",componentProps:{type:"textarea",rows:5},colProps:{span:24}},detail:{slots:{default:t=>r(p,null,[t.remark])}}},{field:"action",width:"260px",label:"操作",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{slots:{default:t=>r(p,null,[r(d,{type:"primary",onClick:()=>L(t.row,"edit")},{default:()=>[c("编辑")]}),r(d,{type:"success",onClick:()=>L(t.row,"detail")},{default:()=>[c("详情")]}),r(d,{type:"danger",onClick:()=>N(t.row)},{default:()=>[c("删除")]})])}}}]),{allSchemas:_}=ne(O),g=u(!1),x=u(""),S=u(null),h=u(""),W=()=>{x.value="新增",S.value=null,g.value=!0,h.value=""},A=u(!1),N=t=>v(this,null,function*(){const e=yield H();o.value=t?[t.id]:(e==null?void 0:e.getSelectionRows().map(s=>s.id))||[],A.value=!0,yield M(a(o).length).finally(()=>{A.value=!1})}),L=(t,e)=>{x.value=e==="edit"?"编辑":"详情",h.value=e,S.value=t,g.value=!0},B=u(),D=u(!1),j=()=>v(this,null,function*(){const t=a(B),e=yield t==null?void 0:t.submit();e&&(D.value=!0,(yield re(e).catch(()=>{}).finally(()=>{D.value=!1}))&&(g.value=!1,n.value=1,T()))});return(t,e)=>(k(),me(p,null,[r(a(Q),null,{default:f(()=>[r(a(X),{schema:a(_).searchSchema,onSearch:z,onReset:z},null,8,["schema"]),de("div",pe,[r(a(d),{type:"primary",onClick:W},{default:f(()=>e[5]||(e[5]=[c("新增")])),_:1}),r(a(d),{loading:A.value,type:"danger",onClick:e[0]||(e[0]=s=>N(null))},{default:f(()=>e[6]||(e[6]=[c(" 删除 ")])),_:1},8,["loading"])]),r(a(Z),{pageSize:a(m),"onUpdate:pageSize":e[1]||(e[1]=s=>K(m)?m.value=s:null),currentPage:a(n),"onUpdate:currentPage":e[2]||(e[2]=s=>K(n)?n.value=s:null),columns:a(_).tableColumns,data:a(P),loading:a(C),pagination:{total:a(y)},onRegister:a(l)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister"])]),_:1}),r(a(Y),{modelValue:g.value,"onUpdate:modelValue":e[4]||(e[4]=s=>g.value=s),title:x.value},{footer:f(()=>[h.value!=="detail"?(k(),R(a(d),{key:0,type:"primary",loading:D.value,onClick:j},{default:f(()=>e[7]||(e[7]=[c(" 保存 ")])),_:1},8,["loading"])):$("",!0),r(a(d),{onClick:e[3]||(e[3]=s=>g.value=!1)},{default:f(()=>e[8]||(e[8]=[c("关闭")])),_:1})]),default:f(()=>[h.value!=="detail"?(k(),R(oe,{key:0,ref_key:"writeRef",ref:B,"form-schema":a(_).formSchema,"current-row":S.value},null,8,["form-schema","current-row"])):$("",!0),h.value==="detail"?(k(),R(se,{key:1,"detail-schema":a(_).detailSchema,"current-row":S.value},null,8,["detail-schema","current-row"])):$("",!0)]),_:1},8,["modelValue","title"])],64))}});export{rt as default}; +var q=Object.defineProperty;var E=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var F=(i,o,l)=>o in i?q(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,I=(i,o)=>{for(var l in o||(o={}))G.call(o,l)&&F(i,l,o[l]);if(E)for(var l of E(o))J.call(o,l)&&F(i,l,o[l]);return i};var v=(i,o,l)=>new Promise((b,w)=>{var C=n=>{try{y(l.next(n))}catch(m){w(m)}},P=n=>{try{y(l.throw(n))}catch(m){w(m)}},y=n=>n.done?b(n.value):Promise.resolve(n.value).then(C,P);y((l=l.apply(i,o)).next())});import{_ as Q}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as X}from"./Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js";import{_ as Y}from"./Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js";import"./index-wnyZ7Zvr.js";/* empty css */import{_ as Z}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";/* empty css *//* empty css *//* empty css */import{g as ee,a as te,d as ae,s as re}from"./index-B_-BHM8A.js";import{u as le}from"./useTable-CCTWSpiR.js";import{_ as oe}from"./Write.vue_vue_type_script_setup_true_lang-BxVx4IpO.js";import{_ as se}from"./Detail.vue_vue_type_script_setup_true_lang-Cny8NhwP.js";import{u as ne}from"./useCrudSchemas-DdqHtvsp.js";import{_ as d}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{C as U}from"./element-plus-CUBv5pjL.js";import{y as ie,r as u,W as ue,O as r,I as p,a4 as c,u as a,z as k,A as me,L as f,D as de,l as K,K as R,H as $}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Form-BTUMYN5B.js";/* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useIcon-B724d8dT.js";/* empty css *//* empty css *//* empty css */import"./index-DBEGipag.js";import"./useValidator-Nt61Jv1p.js";import"./Descriptions-rpjc8zzb.js";import"./tree-Dgaev6Pi.js";const pe={class:"mb-10px"},rt=ie({__name:"Department",setup(i){const o=u([]),{tableRegister:l,tableState:b,tableMethods:w}=le({fetchDataApi:()=>v(this,null,function*(){const{currentPage:t,pageSize:e}=b,s=yield te(I({pageIndex:a(t),pageSize:a(e)},a(V)));return{list:s.data.list,total:s.data.total}}),fetchDelApi:()=>v(this,null,function*(){return!!(yield ae(a(o)))})}),{loading:C,dataList:P,total:y,currentPage:n,pageSize:m}=b,{getList:T,getElTableExpose:H,delList:M}=w,V=u({}),z=t=>{V.value=t,T()},O=ue([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",type:"index",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}},{field:"id",label:"部门名称",table:{slots:{default:t=>r(p,null,[t.row.departmentName])}},form:{component:"TreeSelect",componentProps:{nodeKey:"id",props:{label:"departmentName"}},optionApi:()=>v(this,null,function*(){return(yield ee()).data.list})},detail:{slots:{default:t=>r(p,null,[t.departmentName])}}},{field:"status",label:"状态",search:{hidden:!0},table:{slots:{default:t=>{const e=t.row.status;return r(p,null,[r(U,{type:e===0?"danger":"success"},{default:()=>[e===1?"启用":"禁用"]})])}}},form:{component:"Select",componentProps:{options:[{value:0,label:"禁用"},{value:1,label:"启用"}]}},detail:{slots:{default:t=>r(p,null,[r(U,{type:t.status===0?"danger":"success"},{default:()=>[t.status===1?"启用":"禁用"]})])}}},{field:"createTime",label:"创建时间",search:{hidden:!0},form:{hidden:!0}},{field:"remark",label:"备注",search:{hidden:!0},form:{component:"Input",componentProps:{type:"textarea",rows:5},colProps:{span:24}},detail:{slots:{default:t=>r(p,null,[t.remark])}}},{field:"action",width:"260px",label:"操作",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{slots:{default:t=>r(p,null,[r(d,{type:"primary",onClick:()=>L(t.row,"edit")},{default:()=>[c("编辑")]}),r(d,{type:"success",onClick:()=>L(t.row,"detail")},{default:()=>[c("详情")]}),r(d,{type:"danger",onClick:()=>N(t.row)},{default:()=>[c("删除")]})])}}}]),{allSchemas:_}=ne(O),g=u(!1),x=u(""),S=u(null),h=u(""),W=()=>{x.value="新增",S.value=null,g.value=!0,h.value=""},A=u(!1),N=t=>v(this,null,function*(){const e=yield H();o.value=t?[t.id]:(e==null?void 0:e.getSelectionRows().map(s=>s.id))||[],A.value=!0,yield M(a(o).length).finally(()=>{A.value=!1})}),L=(t,e)=>{x.value=e==="edit"?"编辑":"详情",h.value=e,S.value=t,g.value=!0},B=u(),D=u(!1),j=()=>v(this,null,function*(){const t=a(B),e=yield t==null?void 0:t.submit();e&&(D.value=!0,(yield re(e).catch(()=>{}).finally(()=>{D.value=!1}))&&(g.value=!1,n.value=1,T()))});return(t,e)=>(k(),me(p,null,[r(a(Q),null,{default:f(()=>[r(a(X),{schema:a(_).searchSchema,onSearch:z,onReset:z},null,8,["schema"]),de("div",pe,[r(a(d),{type:"primary",onClick:W},{default:f(()=>e[5]||(e[5]=[c("新增")])),_:1}),r(a(d),{loading:A.value,type:"danger",onClick:e[0]||(e[0]=s=>N(null))},{default:f(()=>e[6]||(e[6]=[c(" 删除 ")])),_:1},8,["loading"])]),r(a(Z),{pageSize:a(m),"onUpdate:pageSize":e[1]||(e[1]=s=>K(m)?m.value=s:null),currentPage:a(n),"onUpdate:currentPage":e[2]||(e[2]=s=>K(n)?n.value=s:null),columns:a(_).tableColumns,data:a(P),loading:a(C),pagination:{total:a(y)},onRegister:a(l)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister"])]),_:1}),r(a(Y),{modelValue:g.value,"onUpdate:modelValue":e[4]||(e[4]=s=>g.value=s),title:x.value},{footer:f(()=>[h.value!=="detail"?(k(),R(a(d),{key:0,type:"primary",loading:D.value,onClick:j},{default:f(()=>e[7]||(e[7]=[c(" 保存 ")])),_:1},8,["loading"])):$("",!0),r(a(d),{onClick:e[3]||(e[3]=s=>g.value=!1)},{default:f(()=>e[8]||(e[8]=[c("关闭")])),_:1})]),default:f(()=>[h.value!=="detail"?(k(),R(oe,{key:0,ref_key:"writeRef",ref:B,"form-schema":a(_).formSchema,"current-row":S.value},null,8,["form-schema","current-row"])):$("",!0),h.value==="detail"?(k(),R(se,{key:1,"detail-schema":a(_).detailSchema,"current-row":S.value},null,8,["detail-schema","current-row"])):$("",!0)]),_:1},8,["modelValue","title"])],64))}});export{rt as default}; diff --git a/assets/Descriptions--u1xvnS0.js b/assets/Descriptions-DW3GVgul.js similarity index 81% rename from assets/Descriptions--u1xvnS0.js rename to assets/Descriptions-DW3GVgul.js index a57f68ba..c7e0fbb5 100644 --- a/assets/Descriptions--u1xvnS0.js +++ b/assets/Descriptions-DW3GVgul.js @@ -1 +1 @@ -var _=(x,r,o)=>new Promise((f,u)=>{var l=t=>{try{s(o.next(t))}catch(m){u(m)}},b=t=>{try{s(o.throw(t))}catch(m){u(m)}},s=t=>t.done?f(t.value):Promise.resolve(t.value).then(l,b);s((o=o.apply(x,r)).next())});import{D as h}from"./Descriptions-CzZKAhwM.js";import{_ as N}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{F as g}from"./Form-Cq-QZJdy.js";import"./index-DHbc4UQl.js";/* empty css */import{u as q}from"./useValidator-Nt61Jv1p.js";import{u as D}from"./useForm-B1_iUn_7.js";import{A as i,D as n}from"./element-plus-CUBv5pjL.js";import{y as F,W as d,O as a,z as E,A as U,u as p,L as V,D as v,a4 as I,I as y}from"./vue-chunks-ChjHxF1G.js";import{_ as B}from"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */const C={class:"text-center mt-10px"},R=F({__name:"Descriptions",setup(x){const{required:r}=q(),o=d({username:"chenkl",nickName:"梦似花落。",age:26,phone:"13655971xxxx",email:"502431556@qq.com",addr:"这是一个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的地址",sex:"男",certy:"3505831994xxxxxxxx"}),f=d([{field:"username",label:"用户名"},{field:"nickName",label:"昵称"},{field:"phone",label:"联系电话"},{field:"email",label:"邮箱"},{field:"addr",label:"地址",span:24}]),u=d([{field:"username",label:"用户名",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"username"},{default:()=>[a(i,{modelValue:l.username,"onUpdate:modelValue":e=>l.username=e},null)]})}},{field:"nickName",label:"昵称",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"nickName"},{default:()=>[a(i,{modelValue:l.nickName,"onUpdate:modelValue":e=>l.nickName=e},null)]})}},{field:"phone",label:"联系电话",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"phone"},{default:()=>[a(i,{modelValue:l.phone,"onUpdate:modelValue":e=>l.phone=e},null)]})}},{field:"email",label:"邮箱",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"email"},{default:()=>[a(i,{modelValue:l.email,"onUpdate:modelValue":e=>l.email=e},null)]})}},{field:"addr",label:"地址",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"addr"},{default:()=>[a(i,{modelValue:l.addr,"onUpdate:modelValue":e=>l.addr=e},null)]})},span:24}]),l=d({username:"",nickName:"",phone:"",email:"",addr:""}),b=d({username:[r()],nickName:[r()],phone:[r()],email:[r()],addr:[r()]}),{formRegister:s,formMethods:t}=D(),{getElFormExpose:m}=t,k=()=>_(this,null,function*(){const e=yield m();e==null||e.validate(c=>{})});return(e,c)=>(E(),U(y,null,[a(p(h),{title:"描述",message:"基于 ElementPlus 的 Descriptions 组件二次封装",data:o,schema:f},null,8,["data","schema"]),a(p(g),{"is-custom":"",model:l,rules:b,onRegister:p(s)},{default:V(()=>[a(p(h),{title:"与 Form 组件组合",data:o,schema:u,class:"mt-20px"},null,8,["data","schema"]),v("div",C,[a(p(N),{onClick:k},{default:V(()=>c[0]||(c[0]=[I(" 表单验证 ")])),_:1})])]),_:1},8,["model","rules","onRegister"])],64))}}),me=B(R,[["__scopeId","data-v-c9ce99bc"]]);export{me as default}; +var _=(x,r,o)=>new Promise((f,u)=>{var l=t=>{try{s(o.next(t))}catch(m){u(m)}},b=t=>{try{s(o.throw(t))}catch(m){u(m)}},s=t=>t.done?f(t.value):Promise.resolve(t.value).then(l,b);s((o=o.apply(x,r)).next())});import{D as h}from"./Descriptions-rpjc8zzb.js";import{_ as N}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{F as g}from"./Form-BTUMYN5B.js";import"./index-wnyZ7Zvr.js";/* empty css */import{u as q}from"./useValidator-Nt61Jv1p.js";import{u as D}from"./useForm-B3urKjox.js";import{A as i,D as n}from"./element-plus-CUBv5pjL.js";import{y as F,W as d,O as a,z as E,A as U,u as p,L as V,D as v,a4 as I,I as y}from"./vue-chunks-ChjHxF1G.js";import{_ as B}from"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */const C={class:"text-center mt-10px"},R=F({__name:"Descriptions",setup(x){const{required:r}=q(),o=d({username:"chenkl",nickName:"梦似花落。",age:26,phone:"13655971xxxx",email:"502431556@qq.com",addr:"这是一个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的地址",sex:"男",certy:"3505831994xxxxxxxx"}),f=d([{field:"username",label:"用户名"},{field:"nickName",label:"昵称"},{field:"phone",label:"联系电话"},{field:"email",label:"邮箱"},{field:"addr",label:"地址",span:24}]),u=d([{field:"username",label:"用户名",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"username"},{default:()=>[a(i,{modelValue:l.username,"onUpdate:modelValue":e=>l.username=e},null)]})}},{field:"nickName",label:"昵称",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"nickName"},{default:()=>[a(i,{modelValue:l.nickName,"onUpdate:modelValue":e=>l.nickName=e},null)]})}},{field:"phone",label:"联系电话",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"phone"},{default:()=>[a(i,{modelValue:l.phone,"onUpdate:modelValue":e=>l.phone=e},null)]})}},{field:"email",label:"邮箱",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"email"},{default:()=>[a(i,{modelValue:l.email,"onUpdate:modelValue":e=>l.email=e},null)]})}},{field:"addr",label:"地址",slots:{label:e=>a("span",{class:"is-required--item"},[e.label]),default:()=>a(n,{prop:"addr"},{default:()=>[a(i,{modelValue:l.addr,"onUpdate:modelValue":e=>l.addr=e},null)]})},span:24}]),l=d({username:"",nickName:"",phone:"",email:"",addr:""}),b=d({username:[r()],nickName:[r()],phone:[r()],email:[r()],addr:[r()]}),{formRegister:s,formMethods:t}=D(),{getElFormExpose:m}=t,k=()=>_(this,null,function*(){const e=yield m();e==null||e.validate(c=>{})});return(e,c)=>(E(),U(y,null,[a(p(h),{title:"描述",message:"基于 ElementPlus 的 Descriptions 组件二次封装",data:o,schema:f},null,8,["data","schema"]),a(p(g),{"is-custom":"",model:l,rules:b,onRegister:p(s)},{default:V(()=>[a(p(h),{title:"与 Form 组件组合",data:o,schema:u,class:"mt-20px"},null,8,["data","schema"]),v("div",C,[a(p(N),{onClick:k},{default:V(()=>c[0]||(c[0]=[I(" 表单验证 ")])),_:1})])]),_:1},8,["model","rules","onRegister"])],64))}}),me=B(R,[["__scopeId","data-v-c9ce99bc"]]);export{me as default}; diff --git a/assets/Descriptions-CzZKAhwM.js b/assets/Descriptions-rpjc8zzb.js similarity index 96% rename from assets/Descriptions-CzZKAhwM.js rename to assets/Descriptions-rpjc8zzb.js index 32bf7932..6142cc0c 100644 --- a/assets/Descriptions-CzZKAhwM.js +++ b/assets/Descriptions-rpjc8zzb.js @@ -1 +1 @@ -var j=Object.defineProperty;var m=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var h=(e,o,r)=>o in e?j(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r,n=(e,o)=>{for(var r in o||(o={}))z.call(o,r)&&h(e,r,o[r]);if(m)for(var r of m(o))C.call(o,r)&&h(e,r,o[r]);return e};import{y as D,c as k,u as f,r as S,O as t,T as A,U as E,C as u,a8 as I}from"./vue-chunks-ChjHxF1G.js";import{p as s,u as T}from"./index-DHbc4UQl.js";/* empty css *//* empty css */import{I as y,_ as V}from"./Icon-CdhVCYkm.js";import{P as N,ai as B,n as P,k as q,a2 as _}from"./element-plus-CUBv5pjL.js";function M(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!I(e)}const R=T(),U=k(()=>R.getMobile),w="-",F=D({name:"Descriptions",props:{title:s.string.def(""),message:s.string.def(""),collapse:s.bool.def(!0),border:s.bool.def(!0),column:s.number.def(2),size:s.oneOf(["large","default","small"]).def("default"),direction:s.oneOf(["horizontal","vertical"]).def("horizontal"),extra:s.string.def(""),schema:{type:Array,default:()=>[]},data:{type:Object,default:()=>({})}},setup(e,{attrs:o}){const r=k(()=>{const i=["title","message","collapse","schema","data","class"],l=n(n({},o),e);for(const a in l)i.indexOf(a)!==-1&&delete l[a];return f(U)&&(l.direction="vertical"),l}),p=i=>{const l=["field"],a=n({},i);for(const c in a)l.indexOf(c)!==-1&&delete a[c];return n({labelClassName:"descriptions-label"},a)},d=S(!0),O=()=>{e.collapse&&(d.value=!f(d))};return()=>{let i;return t("div",{class:["descriptions","bg-[var(--el-color-white)] dark:bg-[var(--el-bg-color)] dark:border-[var(--el-border-color)] dark:border-1px"]},[e.title?t("div",{class:["descriptions-header","relative h-50px flex justify-between items-center layout-border__bottom px-10px cursor-pointer"],onClick:O},[t("div",{class:["descriptions-header__title","relative font-18px font-bold ml-10px"]},[t("div",{class:"flex items-center"},[e.title,e.message?t(N,{content:e.message,placement:"right"},{default:()=>[t(y,{icon:"bi:question-circle-fill",class:"ml-5px",size:14},null)]}):null])]),e.collapse?t(y,{icon:d.value?"ep:arrow-down":"ep:arrow-up"},null):null]):null,t(B,null,{default:()=>[A(t("div",{class:["descriptions-content","p-20px"]},[t(P,u({gutter:0},f(r),{class:"outline-1px outline-[var(--el-border-color-lighter)] outline-solid"}),M(i=e.schema.map(l=>t(q,{key:l.field,span:l.span||24/e.column,class:"flex items-stretch"},{default:()=>{var a,c,x,b,g,v;return[e.direction==="horizontal"?t("div",{class:"flex items-stretch bg-[var(--el-fill-color-light)] outline-1px outline-[var(--el-border-color-lighter)] outline-solid flex-1"},[t("div",u(p(l),{class:"w-120px text-left px-8px py-11px font-700 color-[var(--el-text-color-regular)] border-r-1px border-r-[var(--el-border-color-lighter)] border-r-solid "}),[l.label]),t("div",{class:"flex-1 px-8px py-11px bg-[var(--el-bg-color)] color-[var(--el-text-color-primary)] text-size-14px"},[(a=l.slots)!=null&&a.default?(c=l.slots)==null?void 0:c.default(e.data):(x=_(e.data,l.field))!=null?x:w])]):t("div",{class:"bg-[var(--el-fill-color-light)] outline-1px outline-[var(--el-border-color-lighter)] outline-solid flex-1"},[t("div",u(p(l),{class:"text-left px-8px py-11px font-700 color-[var(--el-text-color-regular)] border-b-1px border-b-[var(--el-border-color-lighter)] border-b-solid"}),[l.label]),t("div",{class:"flex-1 px-8px py-11px bg-[var(--el-bg-color)] color-[var(--el-text-color-primary)] text-size-14px"},[(b=l.slots)!=null&&b.default?(g=l.slots)==null?void 0:g.default(e.data):(v=_(e.data,l.field))!=null?v:w])])]}})))?i:{default:()=>[i]})]),[[E,f(d)]])]})])}}}),X=V(F,[["__scopeId","data-v-5a549d48"]]);export{X as D}; +var j=Object.defineProperty;var m=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var h=(e,o,r)=>o in e?j(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r,n=(e,o)=>{for(var r in o||(o={}))z.call(o,r)&&h(e,r,o[r]);if(m)for(var r of m(o))C.call(o,r)&&h(e,r,o[r]);return e};import{y as D,c as k,u as f,r as S,O as t,T as A,U as E,C as u,a8 as I}from"./vue-chunks-ChjHxF1G.js";import{p as s,u as T}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css */import{I as y,_ as V}from"./Icon-BTLftY2_.js";import{P as N,ai as B,n as P,k as q,a2 as _}from"./element-plus-CUBv5pjL.js";function M(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!I(e)}const R=T(),U=k(()=>R.getMobile),w="-",F=D({name:"Descriptions",props:{title:s.string.def(""),message:s.string.def(""),collapse:s.bool.def(!0),border:s.bool.def(!0),column:s.number.def(2),size:s.oneOf(["large","default","small"]).def("default"),direction:s.oneOf(["horizontal","vertical"]).def("horizontal"),extra:s.string.def(""),schema:{type:Array,default:()=>[]},data:{type:Object,default:()=>({})}},setup(e,{attrs:o}){const r=k(()=>{const i=["title","message","collapse","schema","data","class"],l=n(n({},o),e);for(const a in l)i.indexOf(a)!==-1&&delete l[a];return f(U)&&(l.direction="vertical"),l}),p=i=>{const l=["field"],a=n({},i);for(const c in a)l.indexOf(c)!==-1&&delete a[c];return n({labelClassName:"descriptions-label"},a)},d=S(!0),O=()=>{e.collapse&&(d.value=!f(d))};return()=>{let i;return t("div",{class:["descriptions","bg-[var(--el-color-white)] dark:bg-[var(--el-bg-color)] dark:border-[var(--el-border-color)] dark:border-1px"]},[e.title?t("div",{class:["descriptions-header","relative h-50px flex justify-between items-center layout-border__bottom px-10px cursor-pointer"],onClick:O},[t("div",{class:["descriptions-header__title","relative font-18px font-bold ml-10px"]},[t("div",{class:"flex items-center"},[e.title,e.message?t(N,{content:e.message,placement:"right"},{default:()=>[t(y,{icon:"bi:question-circle-fill",class:"ml-5px",size:14},null)]}):null])]),e.collapse?t(y,{icon:d.value?"ep:arrow-down":"ep:arrow-up"},null):null]):null,t(B,null,{default:()=>[A(t("div",{class:["descriptions-content","p-20px"]},[t(P,u({gutter:0},f(r),{class:"outline-1px outline-[var(--el-border-color-lighter)] outline-solid"}),M(i=e.schema.map(l=>t(q,{key:l.field,span:l.span||24/e.column,class:"flex items-stretch"},{default:()=>{var a,c,x,b,g,v;return[e.direction==="horizontal"?t("div",{class:"flex items-stretch bg-[var(--el-fill-color-light)] outline-1px outline-[var(--el-border-color-lighter)] outline-solid flex-1"},[t("div",u(p(l),{class:"w-120px text-left px-8px py-11px font-700 color-[var(--el-text-color-regular)] border-r-1px border-r-[var(--el-border-color-lighter)] border-r-solid "}),[l.label]),t("div",{class:"flex-1 px-8px py-11px bg-[var(--el-bg-color)] color-[var(--el-text-color-primary)] text-size-14px"},[(a=l.slots)!=null&&a.default?(c=l.slots)==null?void 0:c.default(e.data):(x=_(e.data,l.field))!=null?x:w])]):t("div",{class:"bg-[var(--el-fill-color-light)] outline-1px outline-[var(--el-border-color-lighter)] outline-solid flex-1"},[t("div",u(p(l),{class:"text-left px-8px py-11px font-700 color-[var(--el-text-color-regular)] border-b-1px border-b-[var(--el-border-color-lighter)] border-b-solid"}),[l.label]),t("div",{class:"flex-1 px-8px py-11px bg-[var(--el-bg-color)] color-[var(--el-text-color-primary)] text-size-14px"},[(b=l.slots)!=null&&b.default?(g=l.slots)==null?void 0:g.default(e.data):(v=_(e.data,l.field))!=null?v:w])])]}})))?i:{default:()=>[i]})]),[[E,f(d)]])]})])}}}),X=V(F,[["__scopeId","data-v-5a549d48"]]);export{X as D}; diff --git a/assets/Detail-4sc3_iLC.js b/assets/Detail-4sc3_iLC.js deleted file mode 100644 index 6a23801b..00000000 --- a/assets/Detail-4sc3_iLC.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-CaWgxeP_.js";import"./Descriptions-CzZKAhwM.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-CdhVCYkm.js";export{o as default}; diff --git a/assets/Detail-BPfZS6hC.js b/assets/Detail-BPfZS6hC.js new file mode 100644 index 00000000..e5df23a3 --- /dev/null +++ b/assets/Detail-BPfZS6hC.js @@ -0,0 +1 @@ +import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-Mv9acJJj.js";import"./Descriptions-rpjc8zzb.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-BTLftY2_.js";/* empty css */export{o as default}; diff --git a/assets/Detail-BmxW-dC0.js b/assets/Detail-BmxW-dC0.js new file mode 100644 index 00000000..9921d1af --- /dev/null +++ b/assets/Detail-BmxW-dC0.js @@ -0,0 +1 @@ +import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-OorPkSVl.js";import"./Descriptions-rpjc8zzb.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-BTLftY2_.js";/* empty css */export{o as default}; diff --git a/assets/Detail-BtARhvZe.js b/assets/Detail-BtARhvZe.js deleted file mode 100644 index 5680a0dd..00000000 --- a/assets/Detail-BtARhvZe.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-JbtuF_S2.js";import"./Descriptions-CzZKAhwM.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-CdhVCYkm.js";export{o as default}; diff --git a/assets/Detail-C2Ng9oK6.js b/assets/Detail-C2Ng9oK6.js deleted file mode 100644 index 17bfe0d5..00000000 --- a/assets/Detail-C2Ng9oK6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-DH3x2BBE.js";import"./Descriptions-CzZKAhwM.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-CdhVCYkm.js";/* empty css */export{o as default}; diff --git a/assets/Detail-CyFuQtkj.js b/assets/Detail-CyFuQtkj.js new file mode 100644 index 00000000..c47371a8 --- /dev/null +++ b/assets/Detail-CyFuQtkj.js @@ -0,0 +1 @@ +import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-aWVdu_MR.js";import"./Descriptions-rpjc8zzb.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-BTLftY2_.js";export{o as default}; diff --git a/assets/Detail-D0nfR0GF.js b/assets/Detail-D0nfR0GF.js deleted file mode 100644 index d85b3ddd..00000000 --- a/assets/Detail-D0nfR0GF.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-7ShYqy7f.js";import"./Descriptions-CzZKAhwM.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-CdhVCYkm.js";export{o as default}; diff --git a/assets/Detail-DiOqeDqA.js b/assets/Detail-DiOqeDqA.js new file mode 100644 index 00000000..914feb6f --- /dev/null +++ b/assets/Detail-DiOqeDqA.js @@ -0,0 +1 @@ +import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-Cny8NhwP.js";import"./Descriptions-rpjc8zzb.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-BTLftY2_.js";export{o as default}; diff --git a/assets/Detail-Dt0elAQ9.js b/assets/Detail-Dt0elAQ9.js deleted file mode 100644 index 6dd49582..00000000 --- a/assets/Detail-Dt0elAQ9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-BRxK8yrz.js";import"./Descriptions-CzZKAhwM.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css */import"./index-CjJH7ccC.js";export{o as default}; diff --git a/assets/Detail-djoFnPGT.js b/assets/Detail-djoFnPGT.js new file mode 100644 index 00000000..033d178c --- /dev/null +++ b/assets/Detail-djoFnPGT.js @@ -0,0 +1 @@ +import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-CCD8ZcPJ.js";import"./Descriptions-rpjc8zzb.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css */import"./index-iuvt-R6t.js";export{o as default}; diff --git a/assets/Detail-hm17oh4g.js b/assets/Detail-hm17oh4g.js new file mode 100644 index 00000000..d0f8f707 --- /dev/null +++ b/assets/Detail-hm17oh4g.js @@ -0,0 +1 @@ +import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-BRFp-Yeo.js";import"./Descriptions-rpjc8zzb.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-BTLftY2_.js";export{o as default}; diff --git a/assets/Detail-m7a5N8W2.js b/assets/Detail-m7a5N8W2.js deleted file mode 100644 index 86c1ef37..00000000 --- a/assets/Detail-m7a5N8W2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Detail.vue_vue_type_script_setup_true_lang-HZfjDJgG.js";import"./Descriptions-CzZKAhwM.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-CdhVCYkm.js";/* empty css */export{o as default}; diff --git a/assets/Detail.vue_vue_type_script_setup_true_lang-7ShYqy7f.js b/assets/Detail.vue_vue_type_script_setup_true_lang-BRFp-Yeo.js similarity index 82% rename from assets/Detail.vue_vue_type_script_setup_true_lang-7ShYqy7f.js rename to assets/Detail.vue_vue_type_script_setup_true_lang-BRFp-Yeo.js index 51f038a8..df8c6ff3 100644 --- a/assets/Detail.vue_vue_type_script_setup_true_lang-7ShYqy7f.js +++ b/assets/Detail.vue_vue_type_script_setup_true_lang-BRFp-Yeo.js @@ -1 +1 @@ -import{D as a}from"./Descriptions-CzZKAhwM.js";import{y as t,z as r,K as c,u as n}from"./vue-chunks-ChjHxF1G.js";const u=t({__name:"Detail",props:{currentRow:{type:Object,default:()=>null},detailSchema:{type:Array,default:()=>[]}},setup(e){return(o,s)=>(r(),c(n(a),{schema:e.detailSchema,data:e.currentRow||{}},null,8,["schema","data"]))}});export{u as _}; +import{D as a}from"./Descriptions-rpjc8zzb.js";import{y as t,z as r,K as c,u as n}from"./vue-chunks-ChjHxF1G.js";const u=t({__name:"Detail",props:{currentRow:{type:Object,default:()=>null},detailSchema:{type:Array,default:()=>[]}},setup(e){return(o,s)=>(r(),c(n(a),{schema:e.detailSchema,data:e.currentRow||{}},null,8,["schema","data"]))}});export{u as _}; diff --git a/assets/Detail.vue_vue_type_script_setup_true_lang-BRxK8yrz.js b/assets/Detail.vue_vue_type_script_setup_true_lang-CCD8ZcPJ.js similarity index 90% rename from assets/Detail.vue_vue_type_script_setup_true_lang-BRxK8yrz.js rename to assets/Detail.vue_vue_type_script_setup_true_lang-CCD8ZcPJ.js index e82d0fd1..7cbce51e 100644 --- a/assets/Detail.vue_vue_type_script_setup_true_lang-BRxK8yrz.js +++ b/assets/Detail.vue_vue_type_script_setup_true_lang-CCD8ZcPJ.js @@ -1 +1 @@ -var h=(l,p,i)=>new Promise((g,a)=>{var b=t=>{try{f(i.next(t))}catch(e){a(e)}},d=t=>{try{f(i.throw(t))}catch(e){a(e)}},f=t=>t.done?g(t.value):Promise.resolve(t.value).then(b,d);f((i=i.apply(l,p)).next())});import{D as _}from"./Descriptions-CzZKAhwM.js";import{m as v}from"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{g as y}from"./index-CjJH7ccC.js";import{ak as L,C as k}from"./element-plus-CUBv5pjL.js";import{y as w,r as m,O as n,u,I as D,z as N,K as T,a8 as j,n as O}from"./vue-chunks-ChjHxF1G.js";function C(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!j(l)}const F=w({__name:"Detail",props:{currentRow:{type:Object,default:()=>{}}},setup(l){const p=e=>{var c,r,s;const o=v(((c=u(a))==null?void 0:c.permissionList)||[],x=>x.value===e);return(s=(((r=u(a))==null?void 0:r.permissionList)||[])[o].label)!=null?s:""},i=e=>n(k,{type:e?"success":"danger"},{default:()=>[e?"启用":"禁用"]}),g=m(),a=m(),b=e=>{a.value=e},d=m([]);h(this,null,function*(){const e=yield y();e&&(d.value=e.data.list,yield O())});const t=m([{field:"roleName",label:"角色名称"},{field:"status",label:"状态",slots:{default:e=>i(e.status)}},{field:"remark",label:"备注",span:24},{field:"permissionList",label:"菜单分配",span:24,slots:{default:()=>{var e,o,c;return n(D,null,[n("div",{class:"flex w-full"},[n("div",{class:"flex-1"},[n(L,{ref:g,"node-key":"id",props:{children:"children",label:"title"},"highlight-current":!0,"expand-on-click-node":!1,data:d.value,"onNode-click":b},{default:r=>{var s;return n("span",null,[(s=r==null?void 0:r.data)==null?void 0:s.title])}})]),n("div",{class:"flex-1"},[u(a)?(c=(o=(e=u(a))==null?void 0:e.meta)==null?void 0:o.permission)==null?void 0:c.map(r=>{let s;return n(k,{class:"ml-2 mt-2"},C(s=p(r))?s:{default:()=>[s]})}):null])])])}}}]);return(e,o)=>(N(),T(u(_),{schema:t.value,data:l.currentRow||{}},null,8,["schema","data"]))}});export{F as _}; +var h=(l,p,i)=>new Promise((g,a)=>{var b=t=>{try{f(i.next(t))}catch(e){a(e)}},d=t=>{try{f(i.throw(t))}catch(e){a(e)}},f=t=>t.done?g(t.value):Promise.resolve(t.value).then(b,d);f((i=i.apply(l,p)).next())});import{D as _}from"./Descriptions-rpjc8zzb.js";import{m as v}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{g as y}from"./index-iuvt-R6t.js";import{ak as L,C as k}from"./element-plus-CUBv5pjL.js";import{y as w,r as m,O as n,u,I as D,z as N,K as T,a8 as j,n as O}from"./vue-chunks-ChjHxF1G.js";function C(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!j(l)}const F=w({__name:"Detail",props:{currentRow:{type:Object,default:()=>{}}},setup(l){const p=e=>{var c,r,s;const o=v(((c=u(a))==null?void 0:c.permissionList)||[],x=>x.value===e);return(s=(((r=u(a))==null?void 0:r.permissionList)||[])[o].label)!=null?s:""},i=e=>n(k,{type:e?"success":"danger"},{default:()=>[e?"启用":"禁用"]}),g=m(),a=m(),b=e=>{a.value=e},d=m([]);h(this,null,function*(){const e=yield y();e&&(d.value=e.data.list,yield O())});const t=m([{field:"roleName",label:"角色名称"},{field:"status",label:"状态",slots:{default:e=>i(e.status)}},{field:"remark",label:"备注",span:24},{field:"permissionList",label:"菜单分配",span:24,slots:{default:()=>{var e,o,c;return n(D,null,[n("div",{class:"flex w-full"},[n("div",{class:"flex-1"},[n(L,{ref:g,"node-key":"id",props:{children:"children",label:"title"},"highlight-current":!0,"expand-on-click-node":!1,data:d.value,"onNode-click":b},{default:r=>{var s;return n("span",null,[(s=r==null?void 0:r.data)==null?void 0:s.title])}})]),n("div",{class:"flex-1"},[u(a)?(c=(o=(e=u(a))==null?void 0:e.meta)==null?void 0:o.permission)==null?void 0:c.map(r=>{let s;return n(k,{class:"ml-2 mt-2"},C(s=p(r))?s:{default:()=>[s]})}):null])])])}}}]);return(e,o)=>(N(),T(u(_),{schema:t.value,data:l.currentRow||{}},null,8,["schema","data"]))}});export{F as _}; diff --git a/assets/Detail.vue_vue_type_script_setup_true_lang-JbtuF_S2.js b/assets/Detail.vue_vue_type_script_setup_true_lang-Cny8NhwP.js similarity index 82% rename from assets/Detail.vue_vue_type_script_setup_true_lang-JbtuF_S2.js rename to assets/Detail.vue_vue_type_script_setup_true_lang-Cny8NhwP.js index 51f038a8..df8c6ff3 100644 --- a/assets/Detail.vue_vue_type_script_setup_true_lang-JbtuF_S2.js +++ b/assets/Detail.vue_vue_type_script_setup_true_lang-Cny8NhwP.js @@ -1 +1 @@ -import{D as a}from"./Descriptions-CzZKAhwM.js";import{y as t,z as r,K as c,u as n}from"./vue-chunks-ChjHxF1G.js";const u=t({__name:"Detail",props:{currentRow:{type:Object,default:()=>null},detailSchema:{type:Array,default:()=>[]}},setup(e){return(o,s)=>(r(),c(n(a),{schema:e.detailSchema,data:e.currentRow||{}},null,8,["schema","data"]))}});export{u as _}; +import{D as a}from"./Descriptions-rpjc8zzb.js";import{y as t,z as r,K as c,u as n}from"./vue-chunks-ChjHxF1G.js";const u=t({__name:"Detail",props:{currentRow:{type:Object,default:()=>null},detailSchema:{type:Array,default:()=>[]}},setup(e){return(o,s)=>(r(),c(n(a),{schema:e.detailSchema,data:e.currentRow||{}},null,8,["schema","data"]))}});export{u as _}; diff --git a/assets/Detail.vue_vue_type_script_setup_true_lang-HZfjDJgG.js b/assets/Detail.vue_vue_type_script_setup_true_lang-Mv9acJJj.js similarity index 85% rename from assets/Detail.vue_vue_type_script_setup_true_lang-HZfjDJgG.js rename to assets/Detail.vue_vue_type_script_setup_true_lang-Mv9acJJj.js index f088040d..61efd4e0 100644 --- a/assets/Detail.vue_vue_type_script_setup_true_lang-HZfjDJgG.js +++ b/assets/Detail.vue_vue_type_script_setup_true_lang-Mv9acJJj.js @@ -1 +1 @@ -import{D as r}from"./Descriptions-CzZKAhwM.js";import"./index-DHbc4UQl.js";/* empty css */import{C as n}from"./element-plus-CUBv5pjL.js";import{y as o,W as s,O as t,z as i,K as c,u as p}from"./vue-chunks-ChjHxF1G.js";const h=o({__name:"Detail",props:{currentRow:{type:Object,default:()=>null}},setup(a){const l=s([{field:"title",label:"标题",span:24},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"importance",label:"重要性",slots:{default:e=>t(n,{type:e.importance===1?"success":e.importance===2?"warning":"danger"},{default:()=>[e.importance===1?"重要":e.importance===2?"良好":"一般"]})}},{field:"pageviews",label:"阅读数"},{field:"content",label:"内容",span:24,slots:{default:e=>t("div",{innerHTML:e.content},null)}}]);return(e,m)=>(i(),c(p(r),{schema:l,data:a.currentRow||{}},null,8,["schema","data"]))}});export{h as _}; +import{D as r}from"./Descriptions-rpjc8zzb.js";import"./index-wnyZ7Zvr.js";/* empty css */import{C as n}from"./element-plus-CUBv5pjL.js";import{y as o,W as s,O as t,z as i,K as c,u as p}from"./vue-chunks-ChjHxF1G.js";const h=o({__name:"Detail",props:{currentRow:{type:Object,default:()=>null}},setup(a){const l=s([{field:"title",label:"标题",span:24},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"importance",label:"重要性",slots:{default:e=>t(n,{type:e.importance===1?"success":e.importance===2?"warning":"danger"},{default:()=>[e.importance===1?"重要":e.importance===2?"良好":"一般"]})}},{field:"pageviews",label:"阅读数"},{field:"content",label:"内容",span:24,slots:{default:e=>t("div",{innerHTML:e.content},null)}}]);return(e,m)=>(i(),c(p(r),{schema:l,data:a.currentRow||{}},null,8,["schema","data"]))}});export{h as _}; diff --git a/assets/Detail.vue_vue_type_script_setup_true_lang-DH3x2BBE.js b/assets/Detail.vue_vue_type_script_setup_true_lang-OorPkSVl.js similarity index 93% rename from assets/Detail.vue_vue_type_script_setup_true_lang-DH3x2BBE.js rename to assets/Detail.vue_vue_type_script_setup_true_lang-OorPkSVl.js index 8e6360ae..44190f5f 100644 --- a/assets/Detail.vue_vue_type_script_setup_true_lang-DH3x2BBE.js +++ b/assets/Detail.vue_vue_type_script_setup_true_lang-OorPkSVl.js @@ -1 +1 @@ -import{D as i}from"./Descriptions-CzZKAhwM.js";import{I as d}from"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";/* empty css */import{C as s}from"./element-plus-CUBv5pjL.js";import{y as f,r as m,O as t,I as n,z as c,K as b,u as p}from"./vue-chunks-ChjHxF1G.js";const T=f({__name:"Detail",props:{currentRow:{type:Object,default:()=>{}}},setup(o){const a=e=>t(s,{type:e?"success":"danger"},{default:()=>[e?"启用":"禁用"]}),u=m([{field:"type",label:"菜单类型",span:24,slots:{default:e=>{const l=e.type;return t(n,null,[l===1?"菜单":"目录"])}}},{field:"parentName",label:"父级菜单"},{field:"meta.title",label:"菜单名称"},{field:"component",label:"组件",slots:{default:e=>{const l=e.component;return t(n,null,[l==="#"?"顶级目录":l==="##"?"子目录":l])}}},{field:"name",label:"组件名称"},{field:"meta.icon",label:"图标",slots:{default:e=>{const l=e.icon;return l?t(n,null,[t(d,{icon:l},null)]):null}}},{field:"path",label:"路径"},{field:"meta.activeMenu",label:"高亮菜单"},{field:"permissionList",label:"按钮权限",span:24,slots:{default:e=>{var l;return t(n,null,[(l=e==null?void 0:e.permissionList)==null?void 0:l.map(r=>t(s,{class:"mr-1",key:r.value},{default:()=>[r.label]}))])}}},{field:"menuState",label:"菜单状态",slots:{default:e=>a(e.menuState)}},{field:"meta.hidden",label:"是否隐藏",slots:{default:e=>a(e.enableHidden)}},{field:"meta.alwaysShow",label:"是否一直显示",slots:{default:e=>a(e.enableDisplay)}},{field:"meta.noCache",label:"是否清除缓存",slots:{default:e=>a(e.enableCleanCache)}},{field:"meta.breadcrumb",label:"是否显示面包屑",slots:{default:e=>a(e.enableShowCrumb)}},{field:"meta.affix",label:"是否固定标签页",slots:{default:e=>a(e.enablePinnedTab)}},{field:"meta.noTagsView",label:"是否隐藏标签页",slots:{default:e=>a(e.enableHiddenTab)}},{field:"meta.canTo",label:"是否可跳转",slots:{default:e=>a(e.enableSkip)}}]);return(e,l)=>(c(),b(p(i),{schema:u.value,data:o.currentRow||{}},null,8,["schema","data"]))}});export{T as _}; +import{D as i}from"./Descriptions-rpjc8zzb.js";import{I as d}from"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";/* empty css */import{C as s}from"./element-plus-CUBv5pjL.js";import{y as f,r as m,O as t,I as n,z as c,K as b,u as p}from"./vue-chunks-ChjHxF1G.js";const T=f({__name:"Detail",props:{currentRow:{type:Object,default:()=>{}}},setup(o){const a=e=>t(s,{type:e?"success":"danger"},{default:()=>[e?"启用":"禁用"]}),u=m([{field:"type",label:"菜单类型",span:24,slots:{default:e=>{const l=e.type;return t(n,null,[l===1?"菜单":"目录"])}}},{field:"parentName",label:"父级菜单"},{field:"meta.title",label:"菜单名称"},{field:"component",label:"组件",slots:{default:e=>{const l=e.component;return t(n,null,[l==="#"?"顶级目录":l==="##"?"子目录":l])}}},{field:"name",label:"组件名称"},{field:"meta.icon",label:"图标",slots:{default:e=>{const l=e.icon;return l?t(n,null,[t(d,{icon:l},null)]):null}}},{field:"path",label:"路径"},{field:"meta.activeMenu",label:"高亮菜单"},{field:"permissionList",label:"按钮权限",span:24,slots:{default:e=>{var l;return t(n,null,[(l=e==null?void 0:e.permissionList)==null?void 0:l.map(r=>t(s,{class:"mr-1",key:r.value},{default:()=>[r.label]}))])}}},{field:"menuState",label:"菜单状态",slots:{default:e=>a(e.menuState)}},{field:"meta.hidden",label:"是否隐藏",slots:{default:e=>a(e.enableHidden)}},{field:"meta.alwaysShow",label:"是否一直显示",slots:{default:e=>a(e.enableDisplay)}},{field:"meta.noCache",label:"是否清除缓存",slots:{default:e=>a(e.enableCleanCache)}},{field:"meta.breadcrumb",label:"是否显示面包屑",slots:{default:e=>a(e.enableShowCrumb)}},{field:"meta.affix",label:"是否固定标签页",slots:{default:e=>a(e.enablePinnedTab)}},{field:"meta.noTagsView",label:"是否隐藏标签页",slots:{default:e=>a(e.enableHiddenTab)}},{field:"meta.canTo",label:"是否可跳转",slots:{default:e=>a(e.enableSkip)}}]);return(e,l)=>(c(),b(p(i),{schema:u.value,data:o.currentRow||{}},null,8,["schema","data"]))}});export{T as _}; diff --git a/assets/Detail.vue_vue_type_script_setup_true_lang-CaWgxeP_.js b/assets/Detail.vue_vue_type_script_setup_true_lang-aWVdu_MR.js similarity index 81% rename from assets/Detail.vue_vue_type_script_setup_true_lang-CaWgxeP_.js rename to assets/Detail.vue_vue_type_script_setup_true_lang-aWVdu_MR.js index de0d772a..0af75b6a 100644 --- a/assets/Detail.vue_vue_type_script_setup_true_lang-CaWgxeP_.js +++ b/assets/Detail.vue_vue_type_script_setup_true_lang-aWVdu_MR.js @@ -1 +1 @@ -import{D as a}from"./Descriptions-CzZKAhwM.js";import{y as t,z as r,K as c,u as o}from"./vue-chunks-ChjHxF1G.js";const u=t({__name:"Detail",props:{currentRow:{type:Object,default:()=>{}},detailSchema:{type:Array,default:()=>[]}},setup(e){return(n,s)=>(r(),c(o(a),{schema:e.detailSchema,data:e.currentRow||{}},null,8,["schema","data"]))}});export{u as _}; +import{D as a}from"./Descriptions-rpjc8zzb.js";import{y as t,z as r,K as c,u as o}from"./vue-chunks-ChjHxF1G.js";const u=t({__name:"Detail",props:{currentRow:{type:Object,default:()=>{}},detailSchema:{type:Array,default:()=>[]}},setup(e){return(n,s)=>(r(),c(o(a),{schema:e.detailSchema,data:e.currentRow||{}},null,8,["schema","data"]))}});export{u as _}; diff --git a/assets/Dialog-DJZkjZet.js b/assets/Dialog-C5agpchq.js similarity index 71% rename from assets/Dialog-DJZkjZet.js rename to assets/Dialog-C5agpchq.js index f31580ab..4b54e753 100644 --- a/assets/Dialog-DJZkjZet.js +++ b/assets/Dialog-C5agpchq.js @@ -1 +1 @@ -var g=(V,d,e)=>new Promise((m,u)=>{var v=i=>{try{n(e.next(i))}catch(r){u(r)}},b=i=>{try{n(e.throw(i))}catch(r){u(r)}},n=i=>i.done?m(i.value):Promise.resolve(i.value).then(v,b);n((e=e.apply(V,d)).next())});import{_ as C}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as y}from"./Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js";import{_ as s}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{F as $}from"./Form-Cq-QZJdy.js";import{u as P}from"./useValidator-Nt61Jv1p.js";import{g as _}from"./index-CPGYCljv.js";import{u as x}from"./useForm-B1_iUn_7.js";import{_ as D}from"./Echart.vue_vue_type_script_setup_true_lang-CQl_xxzM.js";import{y as R,r as k,W as c,z as w,K as F,L as t,O as a,u as l,a4 as f}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js";import"./echarts-DNv_PrpY.js";const no=R({__name:"Dialog",setup(V){const{required:d}=P(),e=k(!1),m=k(!1),{formRegister:u,formMethods:v}=x(),{getElFormExpose:b}=v,n=c([{field:"field1",label:"输入框",component:"Input",formItemProps:{rules:[d()]}},{field:"field2",label:"选择器",component:"Select",optionApi:()=>g(this,null,function*(){return(yield _()).data})},{field:"field3",label:"单选框",component:"RadioGroup",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field4",label:"多选框",component:"CheckboxGroup",value:[],componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field5",component:"DatePicker",label:"日期选择器",componentProps:{type:"date"}},{field:"field6",component:"TimeSelect",label:"时间选择"}]),i=()=>g(this,null,function*(){const r=yield b();r==null||r.validate(o=>{})});return(r,o)=>(w(),F(l(C),{title:"弹窗",message:"基于 ElementPlus 的 Dialog 组件二次封装"},{default:t(()=>[a(l(s),{type:"primary",onClick:o[0]||(o[0]=p=>e.value=!e.value)},{default:t(()=>o[6]||(o[6]=[f(" 打开 ")])),_:1}),a(l(s),{type:"primary",onClick:o[1]||(o[1]=p=>m.value=!m.value)},{default:t(()=>o[7]||(o[7]=[f(" 与表单结合 ")])),_:1}),a(l(y),{modelValue:e.value,"onUpdate:modelValue":o[3]||(o[3]=p=>e.value=p),title:"弹窗"},{footer:t(()=>[a(l(s),{onClick:o[2]||(o[2]=p=>e.value=!1)},{default:t(()=>o[8]||(o[8]=[f("关闭")])),_:1})]),default:t(()=>[a(D)]),_:1},8,["modelValue"]),a(l(y),{modelValue:m.value,"onUpdate:modelValue":o[5]||(o[5]=p=>m.value=p),title:"弹窗"},{footer:t(()=>[a(l(s),{type:"primary",onClick:i},{default:t(()=>o[9]||(o[9]=[f("提交")])),_:1}),a(l(s),{onClick:o[4]||(o[4]=p=>m.value=!1)},{default:t(()=>o[10]||(o[10]=[f("关闭")])),_:1})]),default:t(()=>[a(l($),{schema:n,onRegister:l(u)},null,8,["schema","onRegister"])]),_:1},8,["modelValue"])]),_:1}))}});export{no as default}; +var g=(V,d,e)=>new Promise((m,u)=>{var v=i=>{try{n(e.next(i))}catch(r){u(r)}},b=i=>{try{n(e.throw(i))}catch(r){u(r)}},n=i=>i.done?m(i.value):Promise.resolve(i.value).then(v,b);n((e=e.apply(V,d)).next())});import{_ as C}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as y}from"./Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js";import{_ as s}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{F as $}from"./Form-BTUMYN5B.js";import{u as P}from"./useValidator-Nt61Jv1p.js";import{g as _}from"./index-Dw2-9OhJ.js";import{u as x}from"./useForm-B3urKjox.js";import{_ as D}from"./Echart.vue_vue_type_script_setup_true_lang-8zTOKyf-.js";import{y as R,r as k,W as c,z as w,K as F,L as t,O as a,u as l,a4 as f}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js";import"./echarts-DNv_PrpY.js";const no=R({__name:"Dialog",setup(V){const{required:d}=P(),e=k(!1),m=k(!1),{formRegister:u,formMethods:v}=x(),{getElFormExpose:b}=v,n=c([{field:"field1",label:"输入框",component:"Input",formItemProps:{rules:[d()]}},{field:"field2",label:"选择器",component:"Select",optionApi:()=>g(this,null,function*(){return(yield _()).data})},{field:"field3",label:"单选框",component:"RadioGroup",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field4",label:"多选框",component:"CheckboxGroup",value:[],componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field5",component:"DatePicker",label:"日期选择器",componentProps:{type:"date"}},{field:"field6",component:"TimeSelect",label:"时间选择"}]),i=()=>g(this,null,function*(){const r=yield b();r==null||r.validate(o=>{})});return(r,o)=>(w(),F(l(C),{title:"弹窗",message:"基于 ElementPlus 的 Dialog 组件二次封装"},{default:t(()=>[a(l(s),{type:"primary",onClick:o[0]||(o[0]=p=>e.value=!e.value)},{default:t(()=>o[6]||(o[6]=[f(" 打开 ")])),_:1}),a(l(s),{type:"primary",onClick:o[1]||(o[1]=p=>m.value=!m.value)},{default:t(()=>o[7]||(o[7]=[f(" 与表单结合 ")])),_:1}),a(l(y),{modelValue:e.value,"onUpdate:modelValue":o[3]||(o[3]=p=>e.value=p),title:"弹窗"},{footer:t(()=>[a(l(s),{onClick:o[2]||(o[2]=p=>e.value=!1)},{default:t(()=>o[8]||(o[8]=[f("关闭")])),_:1})]),default:t(()=>[a(D)]),_:1},8,["modelValue"]),a(l(y),{modelValue:m.value,"onUpdate:modelValue":o[5]||(o[5]=p=>m.value=p),title:"弹窗"},{footer:t(()=>[a(l(s),{type:"primary",onClick:i},{default:t(()=>o[9]||(o[9]=[f("提交")])),_:1}),a(l(s),{onClick:o[4]||(o[4]=p=>m.value=!1)},{default:t(()=>o[10]||(o[10]=[f("关闭")])),_:1})]),default:t(()=>[a(l($),{schema:n,onRegister:l(u)},null,8,["schema","onRegister"])]),_:1},8,["modelValue"])]),_:1}))}});export{no as default}; diff --git a/assets/Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js b/assets/Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js similarity index 97% rename from assets/Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js rename to assets/Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js index 5e41397e..c5fb0ca9 100644 --- a/assets/Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js +++ b/assets/Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js @@ -1 +1 @@ -var N=Object.defineProperty;var g=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var v=(s,o,e)=>o in s?N(s,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[o]=e,h=(s,o)=>{for(var e in o||(o={}))V.call(o,e)&&v(s,e,o[e]);if(g)for(var e of g(o))$.call(o,e)&&v(s,e,o[e]);return s};var y=(s,o,e)=>new Promise((p,l)=>{var d=t=>{try{c(e.next(t))}catch(a){l(a)}},n=t=>{try{c(e.throw(t))}catch(a){l(a)}},c=t=>t.done?p(t.value):Promise.resolve(t.value).then(d,n);c((e=e.apply(s,o)).next())});import{I as B}from"./Icon-CdhVCYkm.js";import{p as f,q as H}from"./index-DHbc4UQl.js";import{f as D,aj as j}from"./element-plus-CUBv5pjL.js";import{y as T,G as E,c as k,r as b,w as F,n as I,z as w,K as S,a6 as O,u as i,L as m,B as x,D as _,H as z,O as C,R as A,C as q,F as G,a4 as K,Q as L}from"./vue-chunks-ChjHxF1G.js";const P={class:"flex justify-between items-center h-54px pl-15px pr-15px relative"},Q={class:"h-54px flex justify-between items-center absolute top-[50%] right-15px translate-y-[-50%]"},X=T({__name:"Dialog",props:{modelValue:f.bool.def(!1),title:f.string.def("Dialog"),fullscreen:f.bool.def(!0),maxHeight:f.oneOfType([String,Number]).def("400px")},setup(s){const o=E(),e=s,p=k(()=>{const t=["fullscreen","title","maxHeight"],a=G(),r=h(h({},a),e);for(const u in r)t.indexOf(u)!==-1&&delete r[u];return r}),l=b(!1),d=()=>{l.value=!i(l)},n=b(H(e.maxHeight)?`${e.maxHeight}px`:e.maxHeight);F(()=>l.value,t=>y(this,null,function*(){if(yield I(),t){const a=document.documentElement.offsetHeight;n.value=`${a-55-60-(o.footer?63:0)}px`}else n.value=H(e.maxHeight)?`${e.maxHeight}px`:e.maxHeight}),{immediate:!0});const c=k(()=>({height:i(n)}));return(t,a)=>{const r=B;return w(),S(i(j),q(p.value,{fullscreen:l.value,"destroy-on-close":"","lock-scroll":"",draggable:"",top:"0","close-on-click-modal":!1,"show-close":!1}),O({header:m(({close:u})=>[_("div",P,[x(t.$slots,"title",{},()=>[K(L(s.title),1)]),_("div",Q,[s.fullscreen?(w(),S(r,{key:0,class:"cursor-pointer is-hover !h-54px mr-10px",icon:l.value?"radix-icons:exit-full-screen":"radix-icons:enter-full-screen",color:"var(--el-color-info)","hover-color":"var(--el-color-primary)",onClick:d},null,8,["icon"])):z("",!0),C(r,{class:"cursor-pointer is-hover !h-54px",icon:"ep:close","hover-color":"var(--el-color-primary)",color:"var(--el-color-info)",onClick:u},null,8,["onClick"])])])]),default:m(()=>[C(i(D),{style:A(c.value)},{default:m(()=>[x(t.$slots,"default")]),_:3},8,["style"])]),_:2},[i(o).footer?{name:"footer",fn:m(()=>[x(t.$slots,"footer")]),key:"0"}:void 0]),1040,["fullscreen"])}}});export{X as _}; +var N=Object.defineProperty;var g=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var v=(s,o,e)=>o in s?N(s,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[o]=e,h=(s,o)=>{for(var e in o||(o={}))V.call(o,e)&&v(s,e,o[e]);if(g)for(var e of g(o))$.call(o,e)&&v(s,e,o[e]);return s};var y=(s,o,e)=>new Promise((p,l)=>{var d=t=>{try{c(e.next(t))}catch(a){l(a)}},n=t=>{try{c(e.throw(t))}catch(a){l(a)}},c=t=>t.done?p(t.value):Promise.resolve(t.value).then(d,n);c((e=e.apply(s,o)).next())});import{I as B}from"./Icon-BTLftY2_.js";import{p as f,q as H}from"./index-wnyZ7Zvr.js";import{f as D,aj as j}from"./element-plus-CUBv5pjL.js";import{y as T,G as E,c as k,r as b,w as F,n as I,z as w,K as S,a6 as O,u as i,L as m,B as x,D as _,H as z,O as C,R as A,C as q,F as G,a4 as K,Q as L}from"./vue-chunks-ChjHxF1G.js";const P={class:"flex justify-between items-center h-54px pl-15px pr-15px relative"},Q={class:"h-54px flex justify-between items-center absolute top-[50%] right-15px translate-y-[-50%]"},X=T({__name:"Dialog",props:{modelValue:f.bool.def(!1),title:f.string.def("Dialog"),fullscreen:f.bool.def(!0),maxHeight:f.oneOfType([String,Number]).def("400px")},setup(s){const o=E(),e=s,p=k(()=>{const t=["fullscreen","title","maxHeight"],a=G(),r=h(h({},a),e);for(const u in r)t.indexOf(u)!==-1&&delete r[u];return r}),l=b(!1),d=()=>{l.value=!i(l)},n=b(H(e.maxHeight)?`${e.maxHeight}px`:e.maxHeight);F(()=>l.value,t=>y(this,null,function*(){if(yield I(),t){const a=document.documentElement.offsetHeight;n.value=`${a-55-60-(o.footer?63:0)}px`}else n.value=H(e.maxHeight)?`${e.maxHeight}px`:e.maxHeight}),{immediate:!0});const c=k(()=>({height:i(n)}));return(t,a)=>{const r=B;return w(),S(i(j),q(p.value,{fullscreen:l.value,"destroy-on-close":"","lock-scroll":"",draggable:"",top:"0","close-on-click-modal":!1,"show-close":!1}),O({header:m(({close:u})=>[_("div",P,[x(t.$slots,"title",{},()=>[K(L(s.title),1)]),_("div",Q,[s.fullscreen?(w(),S(r,{key:0,class:"cursor-pointer is-hover !h-54px mr-10px",icon:l.value?"radix-icons:exit-full-screen":"radix-icons:enter-full-screen",color:"var(--el-color-info)","hover-color":"var(--el-color-primary)",onClick:d},null,8,["icon"])):z("",!0),C(r,{class:"cursor-pointer is-hover !h-54px",icon:"ep:close","hover-color":"var(--el-color-primary)",color:"var(--el-color-info)",onClick:u},null,8,["onClick"])])])]),default:m(()=>[C(i(D),{style:A(c.value)},{default:m(()=>[x(t.$slots,"default")]),_:3},8,["style"])]),_:2},[i(o).footer?{name:"footer",fn:m(()=>[x(t.$slots,"footer")]),key:"0"}:void 0]),1040,["fullscreen"])}}});export{X as _}; diff --git a/assets/Echart-5azuN68U.js b/assets/Echart-5azuN68U.js deleted file mode 100644 index 9a73889c..00000000 --- a/assets/Echart-5azuN68U.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Echart.vue_vue_type_script_setup_true_lang-CQl_xxzM.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js";import"./echarts-DNv_PrpY.js";/* empty css */export{o as default}; diff --git a/assets/Echart-DmGiZfu_.js b/assets/Echart-DmGiZfu_.js new file mode 100644 index 00000000..fe3590ee --- /dev/null +++ b/assets/Echart-DmGiZfu_.js @@ -0,0 +1 @@ +import{_ as o}from"./Echart.vue_vue_type_script_setup_true_lang-8zTOKyf-.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js";import"./echarts-DNv_PrpY.js";/* empty css */export{o as default}; diff --git a/assets/Echart.vue_vue_type_script_setup_true_lang-CQl_xxzM.js b/assets/Echart.vue_vue_type_script_setup_true_lang-8zTOKyf-.js similarity index 86% rename from assets/Echart.vue_vue_type_script_setup_true_lang-CQl_xxzM.js rename to assets/Echart.vue_vue_type_script_setup_true_lang-8zTOKyf-.js index 7cce7746..264516f8 100644 --- a/assets/Echart.vue_vue_type_script_setup_true_lang-CQl_xxzM.js +++ b/assets/Echart.vue_vue_type_script_setup_true_lang-8zTOKyf-.js @@ -1 +1 @@ -import{_ as p}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as a,p as i,b as n,l as r,w as m}from"./Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css */import{n as _,k as e,l}from"./element-plus-CUBv5pjL.js";import{y as h,z as u,K as d,L as o,O as t,u as s}from"./vue-chunks-ChjHxF1G.js";const k=h({__name:"Echart",setup(f){return(c,x)=>(u(),d(s(p),{title:"图表",message:"基于 echarts 二次封装组件,自适应宽度,只需传入 options 与 height 属性即可展示对应的图表。"},{default:o(()=>[t(s(_),{gutter:20,justify:"space-between"},{default:o(()=>[t(s(e),{xl:10,lg:10,md:24,sm:24,xs:24},{default:o(()=>[t(s(l),{shadow:"hover",class:"mb-20px"},{default:o(()=>[t(s(a),{options:s(i),height:300},null,8,["options"])]),_:1})]),_:1}),t(s(e),{xl:14,lg:14,md:24,sm:24,xs:24},{default:o(()=>[t(s(l),{shadow:"hover",class:"mb-20px"},{default:o(()=>[t(s(a),{options:s(n),height:300},null,8,["options"])]),_:1})]),_:1}),t(s(e),{span:24},{default:o(()=>[t(s(l),{shadow:"hover",class:"mb-20px"},{default:o(()=>[t(s(a),{options:s(r),height:350},null,8,["options"])]),_:1})]),_:1}),t(s(e),{span:24},{default:o(()=>[t(s(l),{shadow:"hover",class:"mb-20px"},{default:o(()=>[t(s(a),{options:s(m),height:300},null,8,["options"])]),_:1})]),_:1})]),_:1})]),_:1}))}});export{k as _}; +import{_ as p}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as a,p as i,b as n,l as r,w as m}from"./Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css */import{n as _,k as e,l}from"./element-plus-CUBv5pjL.js";import{y as h,z as u,K as d,L as o,O as t,u as s}from"./vue-chunks-ChjHxF1G.js";const k=h({__name:"Echart",setup(f){return(c,x)=>(u(),d(s(p),{title:"图表",message:"基于 echarts 二次封装组件,自适应宽度,只需传入 options 与 height 属性即可展示对应的图表。"},{default:o(()=>[t(s(_),{gutter:20,justify:"space-between"},{default:o(()=>[t(s(e),{xl:10,lg:10,md:24,sm:24,xs:24},{default:o(()=>[t(s(l),{shadow:"hover",class:"mb-20px"},{default:o(()=>[t(s(a),{options:s(i),height:300},null,8,["options"])]),_:1})]),_:1}),t(s(e),{xl:14,lg:14,md:24,sm:24,xs:24},{default:o(()=>[t(s(l),{shadow:"hover",class:"mb-20px"},{default:o(()=>[t(s(a),{options:s(n),height:300},null,8,["options"])]),_:1})]),_:1}),t(s(e),{span:24},{default:o(()=>[t(s(l),{shadow:"hover",class:"mb-20px"},{default:o(()=>[t(s(a),{options:s(r),height:350},null,8,["options"])]),_:1})]),_:1}),t(s(e),{span:24},{default:o(()=>[t(s(l),{shadow:"hover",class:"mb-20px"},{default:o(()=>[t(s(a),{options:s(m),height:300},null,8,["options"])]),_:1})]),_:1})]),_:1})]),_:1}))}});export{k as _}; diff --git a/assets/Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js b/assets/Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js similarity index 98% rename from assets/Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js rename to assets/Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js index f96c1a4b..642a815c 100644 --- a/assets/Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js +++ b/assets/Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js @@ -1 +1 @@ -var v=(d,u,a)=>new Promise((c,o)=>{var l=t=>{try{e(a.next(t))}catch(i){o(i)}},r=t=>{try{e(a.throw(t))}catch(i){o(i)}},e=t=>t.done?c(t.value):Promise.resolve(t.value).then(l,r);e((a=a.apply(d,u)).next())});import{A as C,C as O,a as M,b as $,S as A,M as z,P,c as T,d as k,e as E,f as L,g as _,h as D,i as I,j as B,k as N,l as R,m as j,n as J,o as V,p as H,q as U,r as F,s as G,t as W,u as q,v as X,w as K,x as Y,y as Q,z as Z,B as y,D as ee,E as ae,F as te,G as se,H as ne,I as re,J as ie,K as oe,L as le,N as me,O as de,Q as ue,R as ce,T as pe,U as he,V as ge,W as ve,X as ye,Y as w,Z as fe,_ as xe,$ as be,a0 as we,a1 as Se,a2 as Ce,a3 as Oe,a4 as Me,a5 as $e,a6 as Ae,a7 as ze,a8 as Pe,a9 as Te,aa as ke,ab as Ee,ac as Le,ad as _e,ae as De,af as Ie}from"./echarts-DNv_PrpY.js";import{p as f,u as Be,a as x}from"./index-DHbc4UQl.js";import{I as Ne}from"./element-plus-CUBv5pjL.js";import{y as Re,c as m,u as s,r as b,w as je,o as Je,S as Ve,X as He,z as Ue,A as Fe,J as Ge,R as We}from"./vue-chunks-ChjHxF1G.js";const ea={title:{text:"每月销售额",left:"center"},xAxis:{data:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],boundaryGap:!1,axisTick:{show:!1}},grid:{left:20,right:20,bottom:20,top:80,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:{axisTick:{show:!1}},legend:{data:["预计","实际"],top:50},series:[{name:"预计",smooth:!0,type:"line",data:[100,120,161,134,105,160,165,114,163,185,118,123],animationDuration:2800,animationEasing:"cubicInOut"},{name:"实际",smooth:!0,type:"line",itemStyle:{},data:[120,82,91,154,162,140,145,250,134,56,99,123],animationDuration:2800,animationEasing:"quadraticOut"}]},aa={title:{text:"用户访问来源",left:"center"},tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:["直接访问","邮件营销","联盟广告","视频广告","搜索引擎"]},series:[{name:"用户访问来源",type:"pie",radius:"55%",center:["50%","60%"],data:[{value:335,name:"直接访问"},{value:310,name:"邮件营销"},{value:234,name:"联盟广告"},{value:135,name:"视频广告"},{value:1548,name:"搜索引擎"}]}]},ta={title:{text:"每周用户活跃量",left:"center"},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:50,right:20,bottom:20},xAxis:{type:"category",data:["周一","周二","周三","周四","周五","周六","周日"],axisTick:{alignWithLabel:!0}},yAxis:{type:"value"},series:[{name:"活跃量",data:[13253,34235,26321,12340,24643,1322,1324],type:"bar"}]},sa={legend:{data:["个人","团队"]},radar:{indicator:[{name:"引用",max:65},{name:"贡献",max:160},{name:"热度",max:300},{name:"产量",max:130},{name:"关注",max:100}]},series:[{name:"xxx指数",type:"radar",data:[{value:[42,30,20,35,80],name:"个人"},{value:[50,140,290,100,90],name:"团队"}]}]},na={series:[{type:"wordCloud",gridSize:2,sizeRange:[12,50],rotationRange:[-90,90],shape:"pentagon",width:600,height:400,drawOutOfBound:!0,textStyle:{color:function(){return"rgb("+[Math.round(Math.random()*160),Math.round(Math.random()*160),Math.round(Math.random()*160)].join(",")+")"}},emphasis:{textStyle:{shadowBlur:10,shadowColor:"#333"}},data:[{name:"Sam S Club",value:1e4,textStyle:{color:"black"},emphasis:{textStyle:{color:"red"}}},{name:"Macys",value:6181},{name:"Amy Schumer",value:4386},{name:"Jurassic World",value:4055},{name:"Charter Communications",value:2467},{name:"Chick Fil A",value:2244},{name:"Planet Fitness",value:1898},{name:"Pitch Perfect",value:1484},{name:"Express",value:1112},{name:"Home",value:965},{name:"Johnny Depp",value:847},{name:"Lena Dunham",value:582},{name:"Lewis Hamilton",value:555},{name:"KXAN",value:550},{name:"Mary Ellen Mark",value:462},{name:"Farrah Abraham",value:366},{name:"Rita Ora",value:360},{name:"Serena Williams",value:282},{name:"NCAA baseball tournament",value:273},{name:"Point Break",value:265}]}]},qe=Object.freeze(Object.defineProperty({__proto__:null,Axis:C,ChartView:O,ComponentModel:M,ComponentView:$,List:A,Model:z,PRIORITY:P,SeriesModel:T,color:k,connect:E,dataTool:L,dependencies:_,disConnect:D,disconnect:I,dispose:B,env:N,extendChartView:R,extendComponentModel:j,extendComponentView:J,extendSeriesModel:V,format:H,getCoordinateSystemDimensions:U,getInstanceByDom:F,getInstanceById:G,getMap:W,graphic:q,helper:X,init:K,innerDrawElementOnCanvas:Y,matrix:Q,number:Z,parseGeoJSON:y,parseGeoJson:y,registerAction:ee,registerCoordinateSystem:ae,registerLayout:te,registerLoading:se,registerLocale:ne,registerMap:re,registerPostInit:ie,registerPostUpdate:oe,registerPreprocessor:le,registerProcessor:me,registerTheme:de,registerTransform:ue,registerUpdateLifecycle:ce,registerVisual:pe,setCanvasCreator:he,setPlatformAPI:ge,throttle:ve,time:ye,use:w,util:fe,vector:xe,version:be,zrUtil:we,zrender:Se},Symbol.toStringTag,{value:"Module"}));w([Ce,Oe,Me,$e,Ae,ze,Pe,Te,ke,Ee,Le,_e,De,Ie]);const ra=Re({__name:"Echart",props:{options:{type:Object,required:!0},width:f.oneOfType([Number,String]).def("100%"),height:f.oneOfType([Number,String]).def("500px")},setup(d){const u=Be(),a=d,c=m(()=>u.getIsDark),o=m(()=>s(c)?!0:"auto"),l=m(()=>Object.assign(a.options,{darkMode:s(o)})),r=b();let e=null;const t=b(),i=m(()=>{const n=x(a.width)?a.width:`${a.width}px`,g=x(a.height)?a.height:`${a.height}px`;return{width:n,height:g}}),S=()=>{s(r)&&a.options&&(e=qe.init(s(r)),e==null||e.setOption(s(l)))};je(()=>l.value,n=>{e&&(e==null||e.setOption(n))},{deep:!0});const p=Ne(()=>{e&&e.resize()},100),h=n=>v(this,null,function*(){n.propertyName==="width"&&p()});return Je(()=>{setTimeout(()=>{S()},0),window.addEventListener("resize",p),t.value=document.getElementsByClassName("layout-content")[0],s(t)&&s(t).addEventListener("transitionend",h)}),Ve(()=>{window.removeEventListener("resize",p),s(t)&&s(t).removeEventListener("transitionend",h)}),He(()=>{e&&e.resize()}),(n,g)=>(Ue(),Fe("div",{ref_key:"elRef",ref:r,class:Ge([n.$attrs.class,"echart"]),style:We(i.value)},null,6))}});export{ra as _,ta as b,ea as l,aa as p,sa as r,na as w}; +var v=(d,u,a)=>new Promise((c,o)=>{var l=t=>{try{e(a.next(t))}catch(i){o(i)}},r=t=>{try{e(a.throw(t))}catch(i){o(i)}},e=t=>t.done?c(t.value):Promise.resolve(t.value).then(l,r);e((a=a.apply(d,u)).next())});import{A as C,C as O,a as M,b as $,S as A,M as z,P,c as T,d as k,e as E,f as L,g as _,h as D,i as I,j as B,k as N,l as R,m as j,n as J,o as V,p as H,q as U,r as F,s as G,t as W,u as q,v as X,w as K,x as Y,y as Q,z as Z,B as y,D as ee,E as ae,F as te,G as se,H as ne,I as re,J as ie,K as oe,L as le,N as me,O as de,Q as ue,R as ce,T as pe,U as he,V as ge,W as ve,X as ye,Y as w,Z as fe,_ as xe,$ as be,a0 as we,a1 as Se,a2 as Ce,a3 as Oe,a4 as Me,a5 as $e,a6 as Ae,a7 as ze,a8 as Pe,a9 as Te,aa as ke,ab as Ee,ac as Le,ad as _e,ae as De,af as Ie}from"./echarts-DNv_PrpY.js";import{p as f,u as Be,a as x}from"./index-wnyZ7Zvr.js";import{I as Ne}from"./element-plus-CUBv5pjL.js";import{y as Re,c as m,u as s,r as b,w as je,o as Je,S as Ve,X as He,z as Ue,A as Fe,J as Ge,R as We}from"./vue-chunks-ChjHxF1G.js";const ea={title:{text:"每月销售额",left:"center"},xAxis:{data:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],boundaryGap:!1,axisTick:{show:!1}},grid:{left:20,right:20,bottom:20,top:80,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:{axisTick:{show:!1}},legend:{data:["预计","实际"],top:50},series:[{name:"预计",smooth:!0,type:"line",data:[100,120,161,134,105,160,165,114,163,185,118,123],animationDuration:2800,animationEasing:"cubicInOut"},{name:"实际",smooth:!0,type:"line",itemStyle:{},data:[120,82,91,154,162,140,145,250,134,56,99,123],animationDuration:2800,animationEasing:"quadraticOut"}]},aa={title:{text:"用户访问来源",left:"center"},tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:["直接访问","邮件营销","联盟广告","视频广告","搜索引擎"]},series:[{name:"用户访问来源",type:"pie",radius:"55%",center:["50%","60%"],data:[{value:335,name:"直接访问"},{value:310,name:"邮件营销"},{value:234,name:"联盟广告"},{value:135,name:"视频广告"},{value:1548,name:"搜索引擎"}]}]},ta={title:{text:"每周用户活跃量",left:"center"},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:50,right:20,bottom:20},xAxis:{type:"category",data:["周一","周二","周三","周四","周五","周六","周日"],axisTick:{alignWithLabel:!0}},yAxis:{type:"value"},series:[{name:"活跃量",data:[13253,34235,26321,12340,24643,1322,1324],type:"bar"}]},sa={legend:{data:["个人","团队"]},radar:{indicator:[{name:"引用",max:65},{name:"贡献",max:160},{name:"热度",max:300},{name:"产量",max:130},{name:"关注",max:100}]},series:[{name:"xxx指数",type:"radar",data:[{value:[42,30,20,35,80],name:"个人"},{value:[50,140,290,100,90],name:"团队"}]}]},na={series:[{type:"wordCloud",gridSize:2,sizeRange:[12,50],rotationRange:[-90,90],shape:"pentagon",width:600,height:400,drawOutOfBound:!0,textStyle:{color:function(){return"rgb("+[Math.round(Math.random()*160),Math.round(Math.random()*160),Math.round(Math.random()*160)].join(",")+")"}},emphasis:{textStyle:{shadowBlur:10,shadowColor:"#333"}},data:[{name:"Sam S Club",value:1e4,textStyle:{color:"black"},emphasis:{textStyle:{color:"red"}}},{name:"Macys",value:6181},{name:"Amy Schumer",value:4386},{name:"Jurassic World",value:4055},{name:"Charter Communications",value:2467},{name:"Chick Fil A",value:2244},{name:"Planet Fitness",value:1898},{name:"Pitch Perfect",value:1484},{name:"Express",value:1112},{name:"Home",value:965},{name:"Johnny Depp",value:847},{name:"Lena Dunham",value:582},{name:"Lewis Hamilton",value:555},{name:"KXAN",value:550},{name:"Mary Ellen Mark",value:462},{name:"Farrah Abraham",value:366},{name:"Rita Ora",value:360},{name:"Serena Williams",value:282},{name:"NCAA baseball tournament",value:273},{name:"Point Break",value:265}]}]},qe=Object.freeze(Object.defineProperty({__proto__:null,Axis:C,ChartView:O,ComponentModel:M,ComponentView:$,List:A,Model:z,PRIORITY:P,SeriesModel:T,color:k,connect:E,dataTool:L,dependencies:_,disConnect:D,disconnect:I,dispose:B,env:N,extendChartView:R,extendComponentModel:j,extendComponentView:J,extendSeriesModel:V,format:H,getCoordinateSystemDimensions:U,getInstanceByDom:F,getInstanceById:G,getMap:W,graphic:q,helper:X,init:K,innerDrawElementOnCanvas:Y,matrix:Q,number:Z,parseGeoJSON:y,parseGeoJson:y,registerAction:ee,registerCoordinateSystem:ae,registerLayout:te,registerLoading:se,registerLocale:ne,registerMap:re,registerPostInit:ie,registerPostUpdate:oe,registerPreprocessor:le,registerProcessor:me,registerTheme:de,registerTransform:ue,registerUpdateLifecycle:ce,registerVisual:pe,setCanvasCreator:he,setPlatformAPI:ge,throttle:ve,time:ye,use:w,util:fe,vector:xe,version:be,zrUtil:we,zrender:Se},Symbol.toStringTag,{value:"Module"}));w([Ce,Oe,Me,$e,Ae,ze,Pe,Te,ke,Ee,Le,_e,De,Ie]);const ra=Re({__name:"Echart",props:{options:{type:Object,required:!0},width:f.oneOfType([Number,String]).def("100%"),height:f.oneOfType([Number,String]).def("500px")},setup(d){const u=Be(),a=d,c=m(()=>u.getIsDark),o=m(()=>s(c)?!0:"auto"),l=m(()=>Object.assign(a.options,{darkMode:s(o)})),r=b();let e=null;const t=b(),i=m(()=>{const n=x(a.width)?a.width:`${a.width}px`,g=x(a.height)?a.height:`${a.height}px`;return{width:n,height:g}}),S=()=>{s(r)&&a.options&&(e=qe.init(s(r)),e==null||e.setOption(s(l)))};je(()=>l.value,n=>{e&&(e==null||e.setOption(n))},{deep:!0});const p=Ne(()=>{e&&e.resize()},100),h=n=>v(this,null,function*(){n.propertyName==="width"&&p()});return Je(()=>{setTimeout(()=>{S()},0),window.addEventListener("resize",p),t.value=document.getElementsByClassName("layout-content")[0],s(t)&&s(t).addEventListener("transitionend",h)}),Ve(()=>{window.removeEventListener("resize",p),s(t)&&s(t).removeEventListener("transitionend",h)}),He(()=>{e&&e.resize()}),(n,g)=>(Ue(),Fe("div",{ref_key:"elRef",ref:r,class:Ge([n.$attrs.class,"echart"]),style:We(i.value)},null,6))}});export{ra as _,ta as b,ea as l,aa as p,sa as r,na as w}; diff --git a/assets/Editor-DFQI76OW.js b/assets/Editor-B3tCMAco.js similarity index 83% rename from assets/Editor-DFQI76OW.js rename to assets/Editor-B3tCMAco.js index 97f67abd..531eb261 100644 --- a/assets/Editor-DFQI76OW.js +++ b/assets/Editor-B3tCMAco.js @@ -1 +1 @@ -var f=(p,n,o)=>new Promise((a,e)=>{var r=t=>{try{l(o.next(t))}catch(m){e(m)}},s=t=>{try{l(o.throw(t))}catch(m){e(m)}},l=t=>t.done?a(t.value):Promise.resolve(t.value).then(r,s);l((o=o.apply(p,n)).next())});import{_ as d}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_}from"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import{y as c,r as u,o as g,u as i,z as w,K as V,L as h,O as k}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./wang-editor-qsc5EwLN.js";const K=c({__name:"Editor",setup(p){const n=e=>{e.getHtml()},o=u(),a=u("");return g(()=>f(this,null,function*(){var e;yield(e=i(o))==null?void 0:e.getEditorRef()})),setTimeout(()=>{a.value="

hello world

"},3e3),(e,r)=>(w(),V(i(d),{title:"富文本",message:"基于 wangeditor 二次封装"},{default:h(()=>[k(i(_),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=s=>a.value=s),ref_key:"editorRef",ref:o,onChange:n},null,8,["modelValue"])]),_:1}))}});export{K as default}; +var f=(p,n,o)=>new Promise((a,e)=>{var r=t=>{try{l(o.next(t))}catch(m){e(m)}},s=t=>{try{l(o.throw(t))}catch(m){e(m)}},l=t=>t.done?a(t.value):Promise.resolve(t.value).then(r,s);l((o=o.apply(p,n)).next())});import{_ as d}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_}from"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import{y as c,r as u,o as g,u as i,z as w,K as V,L as h,O as k}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./wang-editor-qsc5EwLN.js";const K=c({__name:"Editor",setup(p){const n=e=>{e.getHtml()},o=u(),a=u("");return g(()=>f(this,null,function*(){var e;yield(e=i(o))==null?void 0:e.getEditorRef()})),setTimeout(()=>{a.value="

hello world

"},3e3),(e,r)=>(w(),V(i(d),{title:"富文本",message:"基于 wangeditor 二次封装"},{default:h(()=>[k(i(_),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=s=>a.value=s),ref_key:"editorRef",ref:o,onChange:n},null,8,["modelValue"])]),_:1}))}});export{K as default}; diff --git a/assets/Error.vue_vue_type_script_setup_true_lang-B0aIg5iw.js b/assets/Error.vue_vue_type_script_setup_true_lang--bmLm9t-.js similarity index 88% rename from assets/Error.vue_vue_type_script_setup_true_lang-B0aIg5iw.js rename to assets/Error.vue_vue_type_script_setup_true_lang--bmLm9t-.js index 4b9eff7e..cd8c9ad3 100644 --- a/assets/Error.vue_vue_type_script_setup_true_lang-B0aIg5iw.js +++ b/assets/Error.vue_vue_type_script_setup_true_lang--bmLm9t-.js @@ -1 +1 @@ -import{p as i}from"./index-DHbc4UQl.js";import{_ as l}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{y as m,z as p,A as d,D as e,Q as o,O as u,L as _,a4 as f,u as x}from"./vue-chunks-ChjHxF1G.js";const y="/assets/404-B3JyPfEa.svg",g="/assets/500-BGu8fdSB.svg",v="/assets/403-RqeqO19C.svg",h={class:"flex justify-center"},k={class:"text-center"},C=["src"],B={class:"text-14px text-[var(--el-color-info)]"},T={class:"mt-20px"},q=m({__name:"Error",props:{type:i.string.validate(t=>["404","500","403"].includes(t)).def("404")},emits:["errorClick"],setup(t,{emit:r}){const s={404:{url:y,message:"抱歉,您访问的页面不存在。",buttonText:"返回首页"},500:{url:g,message:"抱歉,服务器报告错误。",buttonText:"返回首页"},403:{url:v,message:"抱歉,您无权访问此页面。",buttonText:"返回首页"}},a=t,n=r,c=()=>{n("errorClick",a.type)};return(b,E)=>(p(),d("div",h,[e("div",k,[e("img",{width:"350",src:s[t.type].url,alt:""},null,8,C),e("div",B,o(s[t.type].message),1),e("div",T,[u(x(l),{type:"primary",onClick:c},{default:_(()=>[f(o(s[t.type].buttonText),1)]),_:1})])])]))}});export{q as _}; +import{p as i}from"./index-wnyZ7Zvr.js";import{_ as l}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{y as m,z as p,A as d,D as e,Q as o,O as u,L as _,a4 as f,u as x}from"./vue-chunks-ChjHxF1G.js";const y="/assets/404-B3JyPfEa.svg",g="/assets/500-BGu8fdSB.svg",v="/assets/403-RqeqO19C.svg",h={class:"flex justify-center"},k={class:"text-center"},C=["src"],B={class:"text-14px text-[var(--el-color-info)]"},T={class:"mt-20px"},q=m({__name:"Error",props:{type:i.string.validate(t=>["404","500","403"].includes(t)).def("404")},emits:["errorClick"],setup(t,{emit:r}){const s={404:{url:y,message:"抱歉,您访问的页面不存在。",buttonText:"返回首页"},500:{url:g,message:"抱歉,服务器报告错误。",buttonText:"返回首页"},403:{url:v,message:"抱歉,您无权访问此页面。",buttonText:"返回首页"}},a=t,n=r,c=()=>{n("errorClick",a.type)};return(b,E)=>(p(),d("div",h,[e("div",k,[e("img",{width:"350",src:s[t.type].url,alt:""},null,8,C),e("div",B,o(s[t.type].message),1),e("div",T,[u(x(l),{type:"primary",onClick:c},{default:_(()=>[f(o(s[t.type].buttonText),1)]),_:1})])])]))}});export{q as _}; diff --git a/assets/ExampleAdd-it-453Mt.js b/assets/ExampleAdd-DrUZi0UV.js similarity index 64% rename from assets/ExampleAdd-it-453Mt.js rename to assets/ExampleAdd-DrUZi0UV.js index 1bd87de1..8cc3909b 100644 --- a/assets/ExampleAdd-it-453Mt.js +++ b/assets/ExampleAdd-DrUZi0UV.js @@ -1 +1 @@ -var d=(u,s,e)=>new Promise((n,i)=>{var m=t=>{try{o(e.next(t))}catch(r){i(r)}},f=t=>{try{o(e.throw(t))}catch(r){i(r)}},o=t=>t.done?n(t.value):Promise.resolve(t.value).then(m,f);o((e=e.apply(u,s)).next())});import{_ as v}from"./Write.vue_vue_type_script_setup_true_lang-DWoLw2ys.js";import{_ as g}from"./ContentDetailWrap.vue_vue_type_script_setup_true_lang-BkzQY2Fe.js";import{_}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{y as k,aA as y,r as c,z as $,K as w,L as p,O as l,u as a,a4 as x}from"./vue-chunks-ChjHxF1G.js";import{s as B}from"./index-DFQGkRZD.js";import{u as C}from"./useEventBus-CGLr9wTq.js";import"./Form-Cq-QZJdy.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";/* empty css */const et=k({__name:"ExampleAdd",setup(u){const{emit:s}=C(),{push:e,go:n}=y(),i=c(),m=c(!1),f=()=>d(this,null,function*(){const o=a(i),t=yield o==null?void 0:o.submit();t&&(m.value=!0,(yield B(t).catch(()=>{}).finally(()=>{m.value=!1}))&&(s("getList","add"),e("/example/example-page")))});return(o,t)=>($(),w(a(g),{title:"新增",onBack:t[1]||(t[1]=r=>a(e)("/example/example-page"))},{header:p(()=>[l(a(_),{onClick:t[0]||(t[0]=r=>a(n)(-1))},{default:p(()=>t[2]||(t[2]=[x(" 返回 ")])),_:1}),l(a(_),{type:"primary",loading:m.value,onClick:f},{default:p(()=>t[3]||(t[3]=[x("保存 ")])),_:1},8,["loading"])]),default:p(()=>[l(v,{ref_key:"writeRef",ref:i},null,512)]),_:1}))}});export{et as default}; +var d=(u,s,e)=>new Promise((n,i)=>{var m=t=>{try{o(e.next(t))}catch(r){i(r)}},f=t=>{try{o(e.throw(t))}catch(r){i(r)}},o=t=>t.done?n(t.value):Promise.resolve(t.value).then(m,f);o((e=e.apply(u,s)).next())});import{_ as v}from"./Write.vue_vue_type_script_setup_true_lang-Cpi5XeJB.js";import{_ as g}from"./ContentDetailWrap.vue_vue_type_script_setup_true_lang-DErSb9RI.js";import{_}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{y as k,aA as y,r as c,z as $,K as w,L as p,O as l,u as a,a4 as x}from"./vue-chunks-ChjHxF1G.js";import{s as B}from"./index-wRPr5Q4s.js";import{u as C}from"./useEventBus-CGLr9wTq.js";import"./Form-BTUMYN5B.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";/* empty css */const et=k({__name:"ExampleAdd",setup(u){const{emit:s}=C(),{push:e,go:n}=y(),i=c(),m=c(!1),f=()=>d(this,null,function*(){const o=a(i),t=yield o==null?void 0:o.submit();t&&(m.value=!0,(yield B(t).catch(()=>{}).finally(()=>{m.value=!1}))&&(s("getList","add"),e("/example/example-page")))});return(o,t)=>($(),w(a(g),{title:"新增",onBack:t[1]||(t[1]=r=>a(e)("/example/example-page"))},{header:p(()=>[l(a(_),{onClick:t[0]||(t[0]=r=>a(n)(-1))},{default:p(()=>t[2]||(t[2]=[x(" 返回 ")])),_:1}),l(a(_),{type:"primary",loading:m.value,onClick:f},{default:p(()=>t[3]||(t[3]=[x("保存 ")])),_:1},8,["loading"])]),default:p(()=>[l(v,{ref_key:"writeRef",ref:i},null,512)]),_:1}))}});export{et as default}; diff --git a/assets/ExampleDetail-DCEa9X2-.js b/assets/ExampleDetail-CJG4v3wL.js similarity index 65% rename from assets/ExampleDetail-DCEa9X2-.js rename to assets/ExampleDetail-CJG4v3wL.js index c5768755..f67a53b5 100644 --- a/assets/ExampleDetail-DCEa9X2-.js +++ b/assets/ExampleDetail-CJG4v3wL.js @@ -1 +1 @@ -var f=(u,n,r)=>new Promise((m,a)=>{var l=t=>{try{e(r.next(t))}catch(i){a(i)}},o=t=>{try{e(r.throw(t))}catch(i){a(i)}},e=t=>t.done?m(t.value):Promise.resolve(t.value).then(l,o);e((r=r.apply(u,n)).next())});import{_}from"./Detail.vue_vue_type_script_setup_true_lang-HZfjDJgG.js";import{_ as d}from"./ContentDetailWrap.vue_vue_type_script_setup_true_lang-BkzQY2Fe.js";import{_ as x}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{y as g,aA as w,aE as $,r as k,z as v,K as D,L as p,O as c,u as s,a4 as T}from"./vue-chunks-ChjHxF1G.js";import{c as b}from"./index-DFQGkRZD.js";import"./Descriptions-CzZKAhwM.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const F=g({__name:"ExampleDetail",setup(u){const{push:n,go:r}=w(),{query:m}=$(),a=k(null);return f(this,null,function*(){const o=yield b(m.id);o&&(a.value=o.data)}),(o,e)=>(v(),D(s(d),{title:"详情",onBack:e[1]||(e[1]=t=>s(n)("/example/example-page"))},{header:p(()=>[c(s(x),{onClick:e[0]||(e[0]=t=>s(r)(-1))},{default:p(()=>e[2]||(e[2]=[T(" 返回 ")])),_:1})]),default:p(()=>[c(_,{"current-row":a.value},null,8,["current-row"])]),_:1}))}});export{F as default}; +var f=(u,n,r)=>new Promise((m,a)=>{var l=t=>{try{e(r.next(t))}catch(i){a(i)}},o=t=>{try{e(r.throw(t))}catch(i){a(i)}},e=t=>t.done?m(t.value):Promise.resolve(t.value).then(l,o);e((r=r.apply(u,n)).next())});import{_}from"./Detail.vue_vue_type_script_setup_true_lang-Mv9acJJj.js";import{_ as d}from"./ContentDetailWrap.vue_vue_type_script_setup_true_lang-DErSb9RI.js";import{_ as x}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{y as g,aA as w,aE as $,r as k,z as v,K as D,L as p,O as c,u as s,a4 as T}from"./vue-chunks-ChjHxF1G.js";import{c as b}from"./index-wRPr5Q4s.js";import"./Descriptions-rpjc8zzb.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const F=g({__name:"ExampleDetail",setup(u){const{push:n,go:r}=w(),{query:m}=$(),a=k(null);return f(this,null,function*(){const o=yield b(m.id);o&&(a.value=o.data)}),(o,e)=>(v(),D(s(d),{title:"详情",onBack:e[1]||(e[1]=t=>s(n)("/example/example-page"))},{header:p(()=>[c(s(x),{onClick:e[0]||(e[0]=t=>s(r)(-1))},{default:p(()=>e[2]||(e[2]=[T(" 返回 ")])),_:1})]),default:p(()=>[c(_,{"current-row":a.value},null,8,["current-row"])]),_:1}))}});export{F as default}; diff --git a/assets/ExampleDialog-C8ADQ1fU.js b/assets/ExampleDialog-CfF_W4Cz.js similarity index 80% rename from assets/ExampleDialog-C8ADQ1fU.js rename to assets/ExampleDialog-CfF_W4Cz.js index 911ea051..2eac2fde 100644 --- a/assets/ExampleDialog-C8ADQ1fU.js +++ b/assets/ExampleDialog-CfF_W4Cz.js @@ -1 +1 @@ -var W=Object.defineProperty;var B=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var I=(s,o,l)=>o in s?W(s,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[o]=l,N=(s,o)=>{for(var l in o||(o={}))j.call(o,l)&&I(s,l,o[l]);if(B)for(var l of B(o))q.call(o,l)&&I(s,l,o[l]);return s};var h=(s,o,l)=>new Promise((b,y)=>{var k=n=>{try{v(l.next(n))}catch(m){y(m)}},C=n=>{try{v(l.throw(n))}catch(m){y(m)}},v=n=>n.done?b(n.value):Promise.resolve(n.value).then(k,C);v((l=l.apply(s,o)).next())});import{_ as G}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as J}from"./Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js";import{_ as Q}from"./Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js";import"./index-DHbc4UQl.js";/* empty css */import{_ as X}from"./Table.vue_vue_type_script_lang-B22YyWum.js";/* empty css *//* empty css *//* empty css */import{g as Z,d as ee,s as te}from"./index-DFQGkRZD.js";import{u as ae}from"./useTable-B0KZmPSP.js";import{_ as le}from"./Write.vue_vue_type_script_setup_true_lang-yBnrTVwy.js";import{_ as oe}from"./Detail.vue_vue_type_script_setup_true_lang-JbtuF_S2.js";import{u as re}from"./useCrudSchemas-DdqHtvsp.js";import{_ as d}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{C as ie}from"./element-plus-CUBv5pjL.js";import{y as ne,r as u,W as se,O as i,a4 as p,I as F,u as a,z as S,A as ue,L as c,D as me,l as H,K as L,H as R}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Form-Cq-QZJdy.js";/* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useIcon-CKHK9-or.js";/* empty css *//* empty css *//* empty css */import"./index-BQQdmLe5.js";import"./useValidator-Nt61Jv1p.js";import"./Descriptions-CzZKAhwM.js";import"./tree-Dgaev6Pi.js";const de={class:"mb-10px"},at=ne({__name:"ExampleDialog",setup(s){const o=u([]),{tableRegister:l,tableState:b,tableMethods:y}=ae({fetchDataApi:()=>h(this,null,function*(){const{currentPage:t,pageSize:e}=b,r=yield Z(N({pageIndex:a(t),pageSize:a(e)},a($)));return{list:r.data.list,total:r.data.total}}),fetchDelApi:()=>h(this,null,function*(){return!!(yield ee(a(o)))})}),{loading:k,dataList:C,total:v,currentPage:n,pageSize:m}=b,{getList:T,getElTableExpose:M,delList:Y}=y,$=u({}),A=t=>{$.value=t,T()},U=se([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",type:"index",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}},{field:"title",label:"标题",search:{component:"Input"},form:{component:"Input",colProps:{span:24}},detail:{span:24}},{field:"author",label:"作者",search:{hidden:!0}},{field:"display_time",label:"创建时间",search:{hidden:!0},form:{component:"DatePicker",componentProps:{type:"datetime",valueFormat:"YYYY-MM-DD HH:mm:ss"}}},{field:"importance",label:"重要性",search:{hidden:!0},form:{component:"Select",componentProps:{style:{width:"100%"},options:[{label:"重要",value:3},{label:"良好",value:2},{label:"一般",value:1}]}},detail:{slots:{default:t=>i(ie,{type:t.importance===1?"success":t.importance===2?"warning":"danger"},{default:()=>[t.importance===1?"重要":t.importance===2?"良好":"一般"]})}}},{field:"pageviews",label:"阅读数",search:{hidden:!0},form:{component:"InputNumber",value:0}},{field:"content",label:"内容",search:{hidden:!0},table:{show:!1},form:{component:"Editor",colProps:{span:24}},detail:{span:24,slots:{default:t=>i("div",{innerHTML:t.content},null)}}},{field:"action",width:"260px",label:"操作",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{slots:{default:t=>i(F,null,[i(d,{type:"primary",onClick:()=>z(t.row,"edit")},{default:()=>[p("编辑")]}),i(d,{type:"success",onClick:()=>z(t.row,"detail")},{default:()=>[p("详情")]}),i(d,{type:"danger",onClick:()=>V(t.row)},{default:()=>[p("删除")]})])}}}]),{allSchemas:w}=re(U),f=u(!1),P=u(""),_=u(null),g=u(""),K=()=>{P.value="新增",_.value=null,f.value=!0,g.value=""},x=u(!1),V=t=>h(this,null,function*(){const e=yield M();o.value=t?[t.id]:(e==null?void 0:e.getSelectionRows().map(r=>r.id))||[],x.value=!0,yield Y(a(o).length).finally(()=>{x.value=!1})}),z=(t,e)=>{P.value=e==="edit"?"编辑":"详情",g.value=e,_.value=t,f.value=!0},E=u(),D=u(!1),O=()=>h(this,null,function*(){const t=a(E),e=yield t==null?void 0:t.submit();e&&(D.value=!0,(yield te(e).catch(()=>{}).finally(()=>{D.value=!1}))&&(f.value=!1,n.value=1,T()))});return(t,e)=>(S(),ue(F,null,[i(a(G),null,{default:c(()=>[i(a(J),{schema:a(w).searchSchema,onSearch:A,onReset:A},null,8,["schema"]),me("div",de,[i(a(d),{type:"primary",onClick:K},{default:c(()=>e[5]||(e[5]=[p("新增")])),_:1}),i(a(d),{loading:x.value,type:"danger",onClick:e[0]||(e[0]=r=>V(null))},{default:c(()=>e[6]||(e[6]=[p(" 删除 ")])),_:1},8,["loading"])]),i(a(X),{pageSize:a(m),"onUpdate:pageSize":e[1]||(e[1]=r=>H(m)?m.value=r:null),currentPage:a(n),"onUpdate:currentPage":e[2]||(e[2]=r=>H(n)?n.value=r:null),columns:a(w).tableColumns,data:a(C),loading:a(k),pagination:{total:a(v)},onRegister:a(l)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister"])]),_:1}),i(a(Q),{modelValue:f.value,"onUpdate:modelValue":e[4]||(e[4]=r=>f.value=r),title:P.value},{footer:c(()=>[g.value!=="detail"?(S(),L(a(d),{key:0,type:"primary",loading:D.value,onClick:O},{default:c(()=>e[7]||(e[7]=[p(" 保存 ")])),_:1},8,["loading"])):R("",!0),i(a(d),{onClick:e[3]||(e[3]=r=>f.value=!1)},{default:c(()=>e[8]||(e[8]=[p("关闭")])),_:1})]),default:c(()=>[g.value!=="detail"?(S(),L(le,{key:0,ref_key:"writeRef",ref:E,"form-schema":a(w).formSchema,"current-row":_.value},null,8,["form-schema","current-row"])):R("",!0),g.value==="detail"?(S(),L(oe,{key:1,"detail-schema":a(w).detailSchema,"current-row":_.value},null,8,["detail-schema","current-row"])):R("",!0)]),_:1},8,["modelValue","title"])],64))}});export{at as default}; +var W=Object.defineProperty;var B=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var I=(s,o,l)=>o in s?W(s,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[o]=l,N=(s,o)=>{for(var l in o||(o={}))j.call(o,l)&&I(s,l,o[l]);if(B)for(var l of B(o))q.call(o,l)&&I(s,l,o[l]);return s};var h=(s,o,l)=>new Promise((b,y)=>{var k=n=>{try{v(l.next(n))}catch(m){y(m)}},C=n=>{try{v(l.throw(n))}catch(m){y(m)}},v=n=>n.done?b(n.value):Promise.resolve(n.value).then(k,C);v((l=l.apply(s,o)).next())});import{_ as G}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as J}from"./Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js";import{_ as Q}from"./Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js";import"./index-wnyZ7Zvr.js";/* empty css */import{_ as X}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";/* empty css *//* empty css *//* empty css */import{g as Z,d as ee,s as te}from"./index-wRPr5Q4s.js";import{u as ae}from"./useTable-CCTWSpiR.js";import{_ as le}from"./Write.vue_vue_type_script_setup_true_lang-sb3KtAtc.js";import{_ as oe}from"./Detail.vue_vue_type_script_setup_true_lang-BRFp-Yeo.js";import{u as re}from"./useCrudSchemas-DdqHtvsp.js";import{_ as d}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{C as ie}from"./element-plus-CUBv5pjL.js";import{y as ne,r as u,W as se,O as i,a4 as p,I as F,u as a,z as S,A as ue,L as c,D as me,l as H,K as L,H as R}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Form-BTUMYN5B.js";/* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useIcon-B724d8dT.js";/* empty css *//* empty css *//* empty css */import"./index-DBEGipag.js";import"./useValidator-Nt61Jv1p.js";import"./Descriptions-rpjc8zzb.js";import"./tree-Dgaev6Pi.js";const de={class:"mb-10px"},at=ne({__name:"ExampleDialog",setup(s){const o=u([]),{tableRegister:l,tableState:b,tableMethods:y}=ae({fetchDataApi:()=>h(this,null,function*(){const{currentPage:t,pageSize:e}=b,r=yield Z(N({pageIndex:a(t),pageSize:a(e)},a($)));return{list:r.data.list,total:r.data.total}}),fetchDelApi:()=>h(this,null,function*(){return!!(yield ee(a(o)))})}),{loading:k,dataList:C,total:v,currentPage:n,pageSize:m}=b,{getList:T,getElTableExpose:M,delList:Y}=y,$=u({}),A=t=>{$.value=t,T()},U=se([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",type:"index",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}},{field:"title",label:"标题",search:{component:"Input"},form:{component:"Input",colProps:{span:24}},detail:{span:24}},{field:"author",label:"作者",search:{hidden:!0}},{field:"display_time",label:"创建时间",search:{hidden:!0},form:{component:"DatePicker",componentProps:{type:"datetime",valueFormat:"YYYY-MM-DD HH:mm:ss"}}},{field:"importance",label:"重要性",search:{hidden:!0},form:{component:"Select",componentProps:{style:{width:"100%"},options:[{label:"重要",value:3},{label:"良好",value:2},{label:"一般",value:1}]}},detail:{slots:{default:t=>i(ie,{type:t.importance===1?"success":t.importance===2?"warning":"danger"},{default:()=>[t.importance===1?"重要":t.importance===2?"良好":"一般"]})}}},{field:"pageviews",label:"阅读数",search:{hidden:!0},form:{component:"InputNumber",value:0}},{field:"content",label:"内容",search:{hidden:!0},table:{show:!1},form:{component:"Editor",colProps:{span:24}},detail:{span:24,slots:{default:t=>i("div",{innerHTML:t.content},null)}}},{field:"action",width:"260px",label:"操作",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{slots:{default:t=>i(F,null,[i(d,{type:"primary",onClick:()=>z(t.row,"edit")},{default:()=>[p("编辑")]}),i(d,{type:"success",onClick:()=>z(t.row,"detail")},{default:()=>[p("详情")]}),i(d,{type:"danger",onClick:()=>V(t.row)},{default:()=>[p("删除")]})])}}}]),{allSchemas:w}=re(U),f=u(!1),P=u(""),_=u(null),g=u(""),K=()=>{P.value="新增",_.value=null,f.value=!0,g.value=""},x=u(!1),V=t=>h(this,null,function*(){const e=yield M();o.value=t?[t.id]:(e==null?void 0:e.getSelectionRows().map(r=>r.id))||[],x.value=!0,yield Y(a(o).length).finally(()=>{x.value=!1})}),z=(t,e)=>{P.value=e==="edit"?"编辑":"详情",g.value=e,_.value=t,f.value=!0},E=u(),D=u(!1),O=()=>h(this,null,function*(){const t=a(E),e=yield t==null?void 0:t.submit();e&&(D.value=!0,(yield te(e).catch(()=>{}).finally(()=>{D.value=!1}))&&(f.value=!1,n.value=1,T()))});return(t,e)=>(S(),ue(F,null,[i(a(G),null,{default:c(()=>[i(a(J),{schema:a(w).searchSchema,onSearch:A,onReset:A},null,8,["schema"]),me("div",de,[i(a(d),{type:"primary",onClick:K},{default:c(()=>e[5]||(e[5]=[p("新增")])),_:1}),i(a(d),{loading:x.value,type:"danger",onClick:e[0]||(e[0]=r=>V(null))},{default:c(()=>e[6]||(e[6]=[p(" 删除 ")])),_:1},8,["loading"])]),i(a(X),{pageSize:a(m),"onUpdate:pageSize":e[1]||(e[1]=r=>H(m)?m.value=r:null),currentPage:a(n),"onUpdate:currentPage":e[2]||(e[2]=r=>H(n)?n.value=r:null),columns:a(w).tableColumns,data:a(C),loading:a(k),pagination:{total:a(v)},onRegister:a(l)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister"])]),_:1}),i(a(Q),{modelValue:f.value,"onUpdate:modelValue":e[4]||(e[4]=r=>f.value=r),title:P.value},{footer:c(()=>[g.value!=="detail"?(S(),L(a(d),{key:0,type:"primary",loading:D.value,onClick:O},{default:c(()=>e[7]||(e[7]=[p(" 保存 ")])),_:1},8,["loading"])):R("",!0),i(a(d),{onClick:e[3]||(e[3]=r=>f.value=!1)},{default:c(()=>e[8]||(e[8]=[p("关闭")])),_:1})]),default:c(()=>[g.value!=="detail"?(S(),L(le,{key:0,ref_key:"writeRef",ref:E,"form-schema":a(w).formSchema,"current-row":_.value},null,8,["form-schema","current-row"])):R("",!0),g.value==="detail"?(S(),L(oe,{key:1,"detail-schema":a(w).detailSchema,"current-row":_.value},null,8,["detail-schema","current-row"])):R("",!0)]),_:1},8,["modelValue","title"])],64))}});export{at as default}; diff --git a/assets/ExampleEdit-CR38Szb2.js b/assets/ExampleEdit-DeJwcuSy.js similarity index 67% rename from assets/ExampleEdit-CR38Szb2.js rename to assets/ExampleEdit-DeJwcuSy.js index 1ec994a9..e6e7820c 100644 --- a/assets/ExampleEdit-CR38Szb2.js +++ b/assets/ExampleEdit-DeJwcuSy.js @@ -1 +1 @@ -var f=(_,l,o)=>new Promise((u,m)=>{var p=t=>{try{a(o.next(t))}catch(s){m(s)}},g=t=>{try{a(o.throw(t))}catch(s){m(s)}},a=t=>t.done?u(t.value):Promise.resolve(t.value).then(p,g);a((o=o.apply(_,l)).next())});import{_ as y}from"./Write.vue_vue_type_script_setup_true_lang-DWoLw2ys.js";import{_ as k}from"./ContentDetailWrap.vue_vue_type_script_setup_true_lang-BkzQY2Fe.js";import{_ as x}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{y as b,aA as R,aE as T,r as c,z as $,K as B,L as n,O as d,u as i,a4 as w}from"./vue-chunks-ChjHxF1G.js";import{c as C,s as D}from"./index-DFQGkRZD.js";import{u as E}from"./useEventBus-CGLr9wTq.js";import"./Form-Cq-QZJdy.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";/* empty css */const mt=b({__name:"ExampleEdit",setup(_){const{emit:l}=E(),{push:o,go:u}=R(),{query:m}=T(),p=c(null);f(this,null,function*(){const r=yield C(m.id);r&&(p.value=r.data)});const a=c(),t=c(!1),s=()=>f(this,null,function*(){const r=i(a),e=yield r==null?void 0:r.submit();e&&(t.value=!0,(yield D(e).catch(()=>{}).finally(()=>{t.value=!1}))&&(l("getList","editor"),o("/example/example-page")))});return(r,e)=>($(),B(i(k),{title:"编辑",onBack:e[1]||(e[1]=v=>i(o)("/example/example-page"))},{header:n(()=>[d(i(x),{onClick:e[0]||(e[0]=v=>i(u)(-1))},{default:n(()=>e[2]||(e[2]=[w(" 返回 ")])),_:1}),d(i(x),{type:"primary",loading:t.value,onClick:s},{default:n(()=>e[3]||(e[3]=[w(" 保存 ")])),_:1},8,["loading"])]),default:n(()=>[d(y,{ref_key:"writeRef",ref:a,"current-row":p.value},null,8,["current-row"])]),_:1}))}});export{mt as default}; +var f=(_,l,o)=>new Promise((u,m)=>{var p=t=>{try{a(o.next(t))}catch(s){m(s)}},g=t=>{try{a(o.throw(t))}catch(s){m(s)}},a=t=>t.done?u(t.value):Promise.resolve(t.value).then(p,g);a((o=o.apply(_,l)).next())});import{_ as y}from"./Write.vue_vue_type_script_setup_true_lang-Cpi5XeJB.js";import{_ as k}from"./ContentDetailWrap.vue_vue_type_script_setup_true_lang-DErSb9RI.js";import{_ as x}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{y as b,aA as R,aE as T,r as c,z as $,K as B,L as n,O as d,u as i,a4 as w}from"./vue-chunks-ChjHxF1G.js";import{c as C,s as D}from"./index-wRPr5Q4s.js";import{u as E}from"./useEventBus-CGLr9wTq.js";import"./Form-BTUMYN5B.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";/* empty css */const mt=b({__name:"ExampleEdit",setup(_){const{emit:l}=E(),{push:o,go:u}=R(),{query:m}=T(),p=c(null);f(this,null,function*(){const r=yield C(m.id);r&&(p.value=r.data)});const a=c(),t=c(!1),s=()=>f(this,null,function*(){const r=i(a),e=yield r==null?void 0:r.submit();e&&(t.value=!0,(yield D(e).catch(()=>{}).finally(()=>{t.value=!1}))&&(l("getList","editor"),o("/example/example-page")))});return(r,e)=>($(),B(i(k),{title:"编辑",onBack:e[1]||(e[1]=v=>i(o)("/example/example-page"))},{header:n(()=>[d(i(x),{onClick:e[0]||(e[0]=v=>i(u)(-1))},{default:n(()=>e[2]||(e[2]=[w(" 返回 ")])),_:1}),d(i(x),{type:"primary",loading:t.value,onClick:s},{default:n(()=>e[3]||(e[3]=[w(" 保存 ")])),_:1},8,["loading"])]),default:n(()=>[d(y,{ref_key:"writeRef",ref:a,"current-row":p.value},null,8,["current-row"])]),_:1}))}});export{mt as default}; diff --git a/assets/ExamplePage-CQvORskv.js b/assets/ExamplePage-DOesSW2Q.js similarity index 82% rename from assets/ExamplePage-CQvORskv.js rename to assets/ExamplePage-DOesSW2Q.js index 189ef52b..f028b03b 100644 --- a/assets/ExamplePage-CQvORskv.js +++ b/assets/ExamplePage-DOesSW2Q.js @@ -1 +1 @@ -var I=Object.defineProperty;var L=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var z=(r,i,t)=>i in r?I(r,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[i]=t,A=(r,i)=>{for(var t in i||(i={}))F.call(i,t)&&z(r,t,i[t]);if(L)for(var t of L(i))M.call(i,t)&&z(r,t,i[t]);return r};var b=(r,i,t)=>new Promise((f,p)=>{var v=l=>{try{m(t.next(l))}catch(d){p(d)}},g=l=>{try{m(t.throw(l))}catch(d){p(d)}},m=l=>l.done?f(l.value):Promise.resolve(l.value).then(v,g);m((t=t.apply(r,i)).next())});import{_ as N}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as Y}from"./Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js";import"./index-DHbc4UQl.js";/* empty css */import{_ as H}from"./Table.vue_vue_type_script_lang-B22YyWum.js";/* empty css *//* empty css *//* empty css */import{g as V,d as U}from"./index-DFQGkRZD.js";import{u as K}from"./useTable-B0KZmPSP.js";import{y as O,aA as W,r as S,W as j,O as n,a4 as u,I as q,u as o,z as G,K as J,L as P,D as Q,l as D}from"./vue-chunks-ChjHxF1G.js";import{u as X}from"./useEventBus-CGLr9wTq.js";import{u as Z}from"./useCrudSchemas-DdqHtvsp.js";import{_ as c}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{C as ee}from"./element-plus-CUBv5pjL.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Form-Cq-QZJdy.js";/* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useIcon-CKHK9-or.js";/* empty css *//* empty css *//* empty css */import"./index-BQQdmLe5.js";import"./tree-Dgaev6Pi.js";const te={class:"mb-10px"},Ve=O({name:"ExamplePage",__name:"ExamplePage",setup(r){const{push:i}=W(),t=S([]),f=S({}),p=e=>{f.value=e,_()},{tableRegister:v,tableState:g,tableMethods:m}=K({fetchDataApi:()=>b(this,null,function*(){const{currentPage:e,pageSize:a}=g,s=yield V(A({pageIndex:o(e),pageSize:o(a)},o(f)));return{list:s.data.list,total:s.data.total}}),fetchDelApi:()=>b(this,null,function*(){return!!(yield U(o(t)))})}),{loading:l,dataList:d,total:E,currentPage:h,pageSize:y}=g,{getList:_,getElTableExpose:R,delList:$}=m;_(),X({name:"getList",callback:e=>{e==="add"&&(h.value=1),_()}});const T=j([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",type:"index",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}},{field:"title",label:"标题",search:{component:"Input"},form:{component:"Input",colProps:{span:24}},detail:{span:24}},{field:"author",label:"作者",search:{hidden:!0}},{field:"display_time",label:"创建时间",search:{hidden:!0},form:{component:"DatePicker",componentProps:{type:"datetime",valueFormat:"YYYY-MM-DD HH:mm:ss"}}},{field:"importance",label:"重要性",search:{hidden:!0},form:{component:"Select",componentProps:{style:{width:"100%"},options:[{label:"重要",value:3},{label:"良好",value:2},{label:"一般",value:1}]}},detail:{slots:{default:e=>n(ee,{type:e.importance===1?"success":e.importance===2?"warning":"danger"},{default:()=>[e.importance===1?"重要":e.importance===2?"良好":" 一般"]})}}},{field:"pageviews",label:"阅读数",search:{hidden:!0},form:{component:"InputNumber",value:0}},{field:"content",label:"内容",search:{hidden:!0},table:{show:!1},form:{component:"Editor",colProps:{span:24}},detail:{span:24,slots:{default:e=>n("div",{innerHTML:e.content},null)}}},{field:"action",width:"260px",label:"操作",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{slots:{default:e=>n(q,null,[n(c,{type:"primary",onClick:()=>k(e.row,"edit")},{default:()=>[u("编辑")]}),n(c,{type:"success",onClick:()=>k(e.row,"detail")},{default:()=>[u("详情")]}),n(c,{type:"danger",onClick:()=>C(e.row)},{default:()=>[u("删除")]})])}}}]),{allSchemas:w}=Z(T),B=()=>{i("/example/example-add")},x=S(!1),C=e=>b(this,null,function*(){const a=yield R();t.value=e?[e.id]:(a==null?void 0:a.getSelectionRows().map(s=>s.id))||[],x.value=!0,yield $(o(t).length).finally(()=>{x.value=!1})}),k=(e,a)=>{i(`/example/example-${a}?id=${e.id}`)};return(e,a)=>(G(),J(o(N),null,{default:P(()=>[n(o(Y),{schema:o(w).searchSchema,onSearch:p,onReset:p},null,8,["schema"]),Q("div",te,[n(o(c),{type:"primary",onClick:B},{default:P(()=>a[3]||(a[3]=[u("新增")])),_:1}),n(o(c),{loading:x.value,type:"danger",onClick:a[0]||(a[0]=s=>C(null))},{default:P(()=>a[4]||(a[4]=[u(" 删除 ")])),_:1},8,["loading"])]),n(o(H),{pageSize:o(y),"onUpdate:pageSize":a[1]||(a[1]=s=>D(y)?y.value=s:null),currentPage:o(h),"onUpdate:currentPage":a[2]||(a[2]=s=>D(h)?h.value=s:null),columns:o(w).tableColumns,data:o(d),loading:o(l),pagination:{total:o(E)},onRegister:o(v)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister"])]),_:1}))}});export{Ve as default}; +var I=Object.defineProperty;var L=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var z=(r,i,t)=>i in r?I(r,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[i]=t,A=(r,i)=>{for(var t in i||(i={}))F.call(i,t)&&z(r,t,i[t]);if(L)for(var t of L(i))M.call(i,t)&&z(r,t,i[t]);return r};var b=(r,i,t)=>new Promise((f,p)=>{var v=l=>{try{m(t.next(l))}catch(d){p(d)}},g=l=>{try{m(t.throw(l))}catch(d){p(d)}},m=l=>l.done?f(l.value):Promise.resolve(l.value).then(v,g);m((t=t.apply(r,i)).next())});import{_ as N}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as Y}from"./Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js";import"./index-wnyZ7Zvr.js";/* empty css */import{_ as H}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";/* empty css *//* empty css *//* empty css */import{g as V,d as U}from"./index-wRPr5Q4s.js";import{u as K}from"./useTable-CCTWSpiR.js";import{y as O,aA as W,r as S,W as j,O as n,a4 as u,I as q,u as o,z as G,K as J,L as P,D as Q,l as D}from"./vue-chunks-ChjHxF1G.js";import{u as X}from"./useEventBus-CGLr9wTq.js";import{u as Z}from"./useCrudSchemas-DdqHtvsp.js";import{_ as c}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{C as ee}from"./element-plus-CUBv5pjL.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Form-BTUMYN5B.js";/* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useIcon-B724d8dT.js";/* empty css *//* empty css *//* empty css */import"./index-DBEGipag.js";import"./tree-Dgaev6Pi.js";const te={class:"mb-10px"},Ve=O({name:"ExamplePage",__name:"ExamplePage",setup(r){const{push:i}=W(),t=S([]),f=S({}),p=e=>{f.value=e,_()},{tableRegister:v,tableState:g,tableMethods:m}=K({fetchDataApi:()=>b(this,null,function*(){const{currentPage:e,pageSize:a}=g,s=yield V(A({pageIndex:o(e),pageSize:o(a)},o(f)));return{list:s.data.list,total:s.data.total}}),fetchDelApi:()=>b(this,null,function*(){return!!(yield U(o(t)))})}),{loading:l,dataList:d,total:E,currentPage:h,pageSize:y}=g,{getList:_,getElTableExpose:R,delList:$}=m;_(),X({name:"getList",callback:e=>{e==="add"&&(h.value=1),_()}});const T=j([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",type:"index",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}},{field:"title",label:"标题",search:{component:"Input"},form:{component:"Input",colProps:{span:24}},detail:{span:24}},{field:"author",label:"作者",search:{hidden:!0}},{field:"display_time",label:"创建时间",search:{hidden:!0},form:{component:"DatePicker",componentProps:{type:"datetime",valueFormat:"YYYY-MM-DD HH:mm:ss"}}},{field:"importance",label:"重要性",search:{hidden:!0},form:{component:"Select",componentProps:{style:{width:"100%"},options:[{label:"重要",value:3},{label:"良好",value:2},{label:"一般",value:1}]}},detail:{slots:{default:e=>n(ee,{type:e.importance===1?"success":e.importance===2?"warning":"danger"},{default:()=>[e.importance===1?"重要":e.importance===2?"良好":" 一般"]})}}},{field:"pageviews",label:"阅读数",search:{hidden:!0},form:{component:"InputNumber",value:0}},{field:"content",label:"内容",search:{hidden:!0},table:{show:!1},form:{component:"Editor",colProps:{span:24}},detail:{span:24,slots:{default:e=>n("div",{innerHTML:e.content},null)}}},{field:"action",width:"260px",label:"操作",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{slots:{default:e=>n(q,null,[n(c,{type:"primary",onClick:()=>k(e.row,"edit")},{default:()=>[u("编辑")]}),n(c,{type:"success",onClick:()=>k(e.row,"detail")},{default:()=>[u("详情")]}),n(c,{type:"danger",onClick:()=>C(e.row)},{default:()=>[u("删除")]})])}}}]),{allSchemas:w}=Z(T),B=()=>{i("/example/example-add")},x=S(!1),C=e=>b(this,null,function*(){const a=yield R();t.value=e?[e.id]:(a==null?void 0:a.getSelectionRows().map(s=>s.id))||[],x.value=!0,yield $(o(t).length).finally(()=>{x.value=!1})}),k=(e,a)=>{i(`/example/example-${a}?id=${e.id}`)};return(e,a)=>(G(),J(o(N),null,{default:P(()=>[n(o(Y),{schema:o(w).searchSchema,onSearch:p,onReset:p},null,8,["schema"]),Q("div",te,[n(o(c),{type:"primary",onClick:B},{default:P(()=>a[3]||(a[3]=[u("新增")])),_:1}),n(o(c),{loading:x.value,type:"danger",onClick:a[0]||(a[0]=s=>C(null))},{default:P(()=>a[4]||(a[4]=[u(" 删除 ")])),_:1},8,["loading"])]),n(o(H),{pageSize:o(y),"onUpdate:pageSize":a[1]||(a[1]=s=>D(y)?y.value=s:null),currentPage:o(h),"onUpdate:currentPage":a[2]||(a[2]=s=>D(h)?h.value=s:null),columns:o(w).tableColumns,data:o(d),loading:o(l),pagination:{total:o(E)},onRegister:o(v)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister"])]),_:1}))}});export{Ve as default}; diff --git a/assets/Form-Cq-QZJdy.js b/assets/Form-BTUMYN5B.js similarity index 95% rename from assets/Form-Cq-QZJdy.js rename to assets/Form-BTUMYN5B.js index c118fce5..a90c6461 100644 --- a/assets/Form-Cq-QZJdy.js +++ b/assets/Form-BTUMYN5B.js @@ -1 +1 @@ -var be=Object.defineProperty;var w=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var Z=(o,t,l)=>t in o?be(o,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):o[t]=l,R=(o,t)=>{for(var l in t||(t={}))N.call(t,l)&&Z(o,l,t[l]);if(w)for(var l of w(t))m.call(t,l)&&Z(o,l,t[l]);return o};var G=(o,t)=>{var l={};for(var r in o)N.call(o,r)&&t.indexOf(r)<0&&(l[r]=o[r]);if(o!=null&&w)for(var r of w(o))t.indexOf(r)<0&&m.call(o,r)&&(l[r]=o[r]);return l};var ee=(o,t,l)=>new Promise((r,s)=>{var b=u=>{try{E(l.next(u))}catch(c){s(c)}},f=u=>{try{E(l.throw(u))}catch(c){s(c)}},E=u=>u.done?r(u.value):Promise.resolve(u.value).then(b,f);E((l=l.apply(o,t)).next())});import{O as C,C as h,y as Ee,r as y,c as oe,o as Oe,u as p,w as Te,T as Se,U as Ie,a8 as Re,I as Ce}from"./vue-chunks-ChjHxF1G.js";import{h as Pe,j as le,k as ve,p as T,m as _e}from"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as ge}from"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{I as ke}from"./InputPassword-B_t5xWgQ.js";import{_ as Ae}from"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import{_ as he}from"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import{I as De}from"./IconPicker-DQ9E_oKs.js";import{R as re,S as te,A as ye,T as Ue,J as xe,F as Me,U as Be,Q as we,V as Fe,W as Ge,X as Le,Y as Ve,Z as je,_ as Ke,q as We,$ as He,a0 as Xe,a1 as $e,O as Je,a2 as F,s as V,v as qe,t as ze,w as Qe,x as Ye,y as Ze,z as Ne,G as me,n as eo,k as oo,D as lo}from"./element-plus-CUBv5pjL.js";import{_ as ro}from"./Icon-CdhVCYkm.js";const se={RadioGroup:re,RadioButton:re,CheckboxGroup:te,CheckboxButton:te,Input:ye,Autocomplete:Ue,InputNumber:xe,Select:Me,Cascader:Be,Switch:we,Slider:Fe,TimePicker:Ge,DatePicker:Le,Rate:Ve,ColorPicker:je,Transfer:Ke,Divider:We,TimeSelect:He,SelectV2:Xe,InputPassword:ke,Editor:Ae,TreeSelect:$e,Upload:Je,JsonEditor:he,IconPicker:De};var i=(o=>(o.RADIO_GROUP="RadioGroup",o.RADIO_BUTTON="RadioButton",o.CHECKBOX_GROUP="CheckboxGroup",o.CHECKBOX_BUTTON="CheckboxButton",o.INPUT="Input",o.AUTOCOMPLETE="Autocomplete",o.INPUT_NUMBER="InputNumber",o.SELECT="Select",o.CASCADER="Cascader",o.SWITCH="Switch",o.SLIDER="Slider",o.TIME_PICKER="TimePicker",o.DATE_PICKER="DatePicker",o.RATE="Rate",o.COLOR_PICKER="ColorPicker",o.TRANSFER="Transfer",o.DIVIDER="Divider",o.TIME_SELECT="TimeSelect",o.SELECT_V2="SelectV2",o.INPUT_PASSWORD="InputPassword",o.EDITOR="Editor",o.TREE_SELECT="TreeSelect",o.UPLOAD="Upload",o.JSON_EDITOR="JsonEditor",o.ICON_PICKER="IconPicker",o))(i||{});const ae=o=>{var r,s;const t=[i.INPUT,i.AUTOCOMPLETE,i.INPUT_NUMBER,i.INPUT_PASSWORD],l=[i.SELECT,i.TIME_PICKER,i.DATE_PICKER,i.TIME_SELECT,i.SELECT_V2];return t.includes(o==null?void 0:o.component)?{placeholder:"请输入"}:l.includes(o==null?void 0:o.component)?["datetimerange","daterange","monthrange","datetimerange","daterange"].includes(((r=o==null?void 0:o.componentProps)==null?void 0:r.type)||((s=o==null?void 0:o.componentProps)==null?void 0:s.isRange))?{startPlaceholder:"开始时间",endPlaceholder:"结束时间",rangeSeparator:"-"}:{placeholder:"请选择"}:{}},to=(o={})=>R(R({},o.span?{}:{xs:24,sm:12,md:12,lg:12,xl:12}),o),ne=o=>{var s;const t=((s=o==null?void 0:o.componentProps)==null?void 0:s.on)||{},l={};for(const b in t)t[b]&&(l[`on${ve(b)}`]=(...f)=>{t[b](...f)});const r=R(R({clearable:!0},o.componentProps),l);return r.slots&&delete r.slots,r.on&&delete r.on,r},so=(o={})=>{const t={};for(const l in o)o[l]&&(Pe(o[l])?t[le(l)]=(...r)=>{var s;return(s=o[l])==null?void 0:s.call(o,...r)}:t[le(l)]=()=>o[l]);return t},ao=(o,t)=>{const l=R({},t);o.map(r=>{if(r.remove)delete l[r.field];else if(r.component!=="Divider"){const s=F(l,r.field);V(l,r.field,s!==void 0?F(l,r.field):r.value!==void 0?r.value:void 0)}});for(let r=0;r{const o=l=>{var E,u,c,S;const r=l==null?void 0:l.componentProps,s=(E=r==null?void 0:r.slots)==null?void 0:E.optionGroupDefault,b=(u=r==null?void 0:r.props)==null?void 0:u.label,f=(c=r==null?void 0:r.props)==null?void 0:c.key;return(S=r==null?void 0:r.options)==null?void 0:S.map(d=>{var P;return(P=d==null?void 0:d.options)!=null&&P.length?s?s(d):C(qe,{label:d[b||"label"],key:d[f||"key"]},{default:()=>{var U;return(U=d==null?void 0:d.options)==null?void 0:U.map(x=>t(l,x))}}):t(l,d)})},t=(l,r)=>{var c,S,d,P;const s=l.componentProps,b=(c=s==null?void 0:s.props)==null?void 0:c.label,f=(S=s==null?void 0:s.props)==null?void 0:S.value,E=(d=s==null?void 0:s.props)==null?void 0:d.key,u=(P=s.slots)==null?void 0:P.optionDefault;return C(ze,h(r,{key:r[E||"key"],label:r[b||"label"],value:r[f||"value"]}),{default:()=>u?u(r):void 0})};return{renderSelectOptions:o}},co=()=>({renderRadioOptions:t=>{var E,u,c,S;const l=t==null?void 0:t.componentProps,r=((E=l==null?void 0:l.props)==null?void 0:E.value)||"value",s=((u=l==null?void 0:l.props)==null?void 0:u.label)||"label",b=((c=l==null?void 0:l.props)==null?void 0:c.disabled)||"disabled",f=t.component===i.RADIO_GROUP?Qe:Ye;return(S=l==null?void 0:l.options)==null?void 0:S.map(d=>{const P=G(d,[]);return C(f,h(P,{disabled:d[b||"disabled"],label:d[s||"label"],value:d[r||"value"]}),{default:()=>[d[s||"label"]]})})}}),fo=()=>({renderCheckboxOptions:t=>{var E,u,c,S;const l=t==null?void 0:t.componentProps,r=((E=l==null?void 0:l.props)==null?void 0:E.value)||"value",s=((u=l==null?void 0:l.props)==null?void 0:u.label)||"label",b=((c=l==null?void 0:l.props)==null?void 0:c.disabled)||"disabled",f=t.component===i.CHECKBOX_GROUP?Ze:Ne;return(S=l==null?void 0:l.options)==null?void 0:S.map(d=>{const P=G(d,[]);return C(f,h(P,{disabled:d[b||"disabled"],label:d[s||"label"],value:d[r||"value"]}),{default:()=>[d[s||"label"]]})})}});function L(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!Re(o)}const{renderSelectOptions:uo}=no(),{renderRadioOptions:po}=co(),{renderCheckboxOptions:io}=fo(),bo=Ee({name:"Form",props:{schema:{type:Array,default:()=>[]},isCol:T.bool.def(!0),model:{type:Object,default:()=>({})},autoSetPlaceholder:T.bool.def(!0),isCustom:T.bool.def(!1),labelWidth:T.oneOfType([String,Number]).def("auto"),rules:{type:Object,default:()=>({})},labelPosition:T.oneOf(["left","right","top"]).def("right"),labelSuffix:T.string.def(""),hideRequiredAsterisk:T.bool.def(!1),requireAsteriskPosition:T.oneOf(["left","right"]).def("left"),showMessage:T.bool.def(!0),inlineMessage:T.bool.def(!1),statusIcon:T.bool.def(!1),validateOnRuleChange:T.bool.def(!0),size:{type:String,default:void 0},disabled:T.bool.def(!1),scrollToError:T.bool.def(!1),scrollToErrorOffset:T.oneOfType([Boolean,Object]).def(void 0)},emits:["register"],setup(o,{slots:t,expose:l,emit:r}){const s=y(),b=y({}),f=oe(()=>{const e=R({},o);return Object.assign(e,p(b)),e}),E=y({}),u=y({}),c=y(o.model);Oe(()=>{var e;r("register",(e=p(s))==null?void 0:e.$parent,p(s))});const S=(e={})=>{c.value=Object.assign(p(c),e)},d=(e={})=>{b.value=Object.assign(p(b),e)},P=e=>{const{schema:a}=p(f),n=_e(a,I=>I.field===e);n>-1&&a.splice(n,1)},U=(e,a)=>{const{schema:n}=p(f);if(a!==void 0){n.splice(a,0,e);return}n.push(e)},x=e=>{const{schema:a}=p(f);for(const n of a)for(const I of e)n.field===I.field&&V(n,I.path,I.value)},de=(e,a)=>ee(this,null,function*(){const n=yield e();x([{field:a.field,path:a.component===i.TREE_SELECT||a.component===i.TRANSFER?"componentProps.data":"componentProps.options",value:n}])}),ce=e=>p(E)[e],fe=e=>p(u)[e],j=(e,a)=>{E.value[a]=e},ue=(e,a)=>{u.value[a]=e};l({setValues:S,formModel:c,setProps:d,delSchema:P,addSchema:U,setSchema:x,getComponentExpose:ce,getFormItemExpose:fe}),Te(()=>p(f).schema,(e=[])=>{c.value=ao(e,p(c))},{immediate:!0,deep:!0});const pe=()=>{let e;const{isCol:a}=p(f);return a?C(eo,{gutter:20},L(e=K())?e:{default:()=>[e]}):K()},K=()=>{const{schema:e=[],isCol:a}=p(f);return e.filter(n=>!n.remove).map(n=>{let I;const M=n.component==="Divider",B=se.Divider;return M?C(B,R({contentPosition:"left"},n.componentProps),{default:()=>[n==null?void 0:n.label]}):a?C(oo,to(n.colProps),L(I=W(n))?I:{default:()=>[I]}):W(n)})},W=e=>{var n,I,M,B,H,X;e.optionApi&&(!((n=e.componentProps)!=null&&n.options)||!((I=e.componentProps)!=null&&I.options.length))&&de(e.optionApi,e);const a={default:()=>{var g,k,A,$,J;if((k=(g=e==null?void 0:e.formItemProps)==null?void 0:g.slots)!=null&&k.default)return($=(A=e==null?void 0:e.formItemProps)==null?void 0:A.slots)==null?void 0:$.default(c.value);{const q=se[e.component],{autoSetPlaceholder:z}=p(f),v=((J=e==null?void 0:e.componentProps)==null?void 0:J.slots)||{},D=R({},so(v));return e.component===i.SELECT&&(D.default=v.default?()=>{var O;return v.default(p((O=e==null?void 0:e.componentProps)==null?void 0:O.options))}:()=>uo(e)),e.component===i.SELECT_V2&&v.default&&(D.default=({item:O})=>v.default(O)),(e.component===i.RADIO_GROUP||e.component===i.RADIO_BUTTON)&&(D.default=v.default?()=>{var O;return v.default(p((O=e==null?void 0:e.componentProps)==null?void 0:O.options))}:()=>po(e)),(e.component===i.CHECKBOX_GROUP||e.component===i.CHECKBOX_BUTTON)&&(D.default=v.default?()=>{var O;return v.default(p((O=e==null?void 0:e.componentProps)==null?void 0:O.options))}:()=>io(e)),C(Ce,null,[(()=>{var Q,Y;const O=oe({get:()=>F(c.value,e.field),set:_=>{V(c.value,e.field,_)}});return e.component===i.UPLOAD?C(q,h({"file-list":O.value,"onUpdate:file-list":_=>O.value=_,ref:_=>j(_,e.field)},z&&ae(e),ne(e),{style:((Q=e.componentProps)==null?void 0:Q.style)||{width:"100%"}}),R({},D)):C(q,h({modelValue:O.value,"onUpdate:modelValue":_=>O.value=_,ref:_=>j(_,e.field)},z&&ae(e),ne(e),{style:((Y=e.componentProps)==null?void 0:Y.style)||{width:"100%"}}),R({},D))})()])}}};return(B=(M=e==null?void 0:e.formItemProps)==null?void 0:M.slots)!=null&&B.label&&(a.label=(...g)=>{var k,A;return(A=(k=e==null?void 0:e.formItemProps)==null?void 0:k.slots)==null?void 0:A.label(...g)}),(X=(H=e==null?void 0:e.formItemProps)==null?void 0:H.slots)!=null&&X.error&&(a.error=(...g)=>{var k,A;return(A=(k=e==null?void 0:e.formItemProps)==null?void 0:k.slots)==null?void 0:A.error(...g)}),Se(C(lo,h({ref:g=>ue(g,e.field)},e.formItemProps||{},{prop:e.field,label:e.label||""}),L(a)?a:{default:()=>[a]}),[[Ie,!e.hidden]])},ie=()=>{const e=["schema","isCol","autoSetPlaceholder","isCustom","model"],a=R({},p(f));for(const n in a)e.indexOf(n)!==-1&&delete a[n];return a};return()=>C(me,h({ref:s},ie(),{model:p(f).isCustom?p(f).model:c,class:"form",onSubmit:e=>{e.preventDefault()}}),{default:()=>{const{isCustom:e}=p(f);return e?ge(t,"default"):pe()}})}}),Fo=ro(bo,[["__scopeId","data-v-66ec27e1"]]);export{Fo as F,ao as i}; +var be=Object.defineProperty;var w=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var Z=(o,t,l)=>t in o?be(o,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):o[t]=l,R=(o,t)=>{for(var l in t||(t={}))N.call(t,l)&&Z(o,l,t[l]);if(w)for(var l of w(t))m.call(t,l)&&Z(o,l,t[l]);return o};var G=(o,t)=>{var l={};for(var r in o)N.call(o,r)&&t.indexOf(r)<0&&(l[r]=o[r]);if(o!=null&&w)for(var r of w(o))t.indexOf(r)<0&&m.call(o,r)&&(l[r]=o[r]);return l};var ee=(o,t,l)=>new Promise((r,s)=>{var b=u=>{try{E(l.next(u))}catch(c){s(c)}},f=u=>{try{E(l.throw(u))}catch(c){s(c)}},E=u=>u.done?r(u.value):Promise.resolve(u.value).then(b,f);E((l=l.apply(o,t)).next())});import{O as C,C as h,y as Ee,r as y,c as oe,o as Oe,u as p,w as Te,T as Se,U as Ie,a8 as Re,I as Ce}from"./vue-chunks-ChjHxF1G.js";import{h as Pe,j as le,k as ve,p as T,m as _e}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as ge}from"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{I as ke}from"./InputPassword-B4kdpMyw.js";import{_ as Ae}from"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import{_ as he}from"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import{I as De}from"./IconPicker-DRoe2BX4.js";import{R as re,S as te,A as ye,T as Ue,J as xe,F as Me,U as Be,Q as we,V as Fe,W as Ge,X as Le,Y as Ve,Z as je,_ as Ke,q as We,$ as He,a0 as Xe,a1 as $e,O as Je,a2 as F,s as V,v as qe,t as ze,w as Qe,x as Ye,y as Ze,z as Ne,G as me,n as eo,k as oo,D as lo}from"./element-plus-CUBv5pjL.js";import{_ as ro}from"./Icon-BTLftY2_.js";const se={RadioGroup:re,RadioButton:re,CheckboxGroup:te,CheckboxButton:te,Input:ye,Autocomplete:Ue,InputNumber:xe,Select:Me,Cascader:Be,Switch:we,Slider:Fe,TimePicker:Ge,DatePicker:Le,Rate:Ve,ColorPicker:je,Transfer:Ke,Divider:We,TimeSelect:He,SelectV2:Xe,InputPassword:ke,Editor:Ae,TreeSelect:$e,Upload:Je,JsonEditor:he,IconPicker:De};var i=(o=>(o.RADIO_GROUP="RadioGroup",o.RADIO_BUTTON="RadioButton",o.CHECKBOX_GROUP="CheckboxGroup",o.CHECKBOX_BUTTON="CheckboxButton",o.INPUT="Input",o.AUTOCOMPLETE="Autocomplete",o.INPUT_NUMBER="InputNumber",o.SELECT="Select",o.CASCADER="Cascader",o.SWITCH="Switch",o.SLIDER="Slider",o.TIME_PICKER="TimePicker",o.DATE_PICKER="DatePicker",o.RATE="Rate",o.COLOR_PICKER="ColorPicker",o.TRANSFER="Transfer",o.DIVIDER="Divider",o.TIME_SELECT="TimeSelect",o.SELECT_V2="SelectV2",o.INPUT_PASSWORD="InputPassword",o.EDITOR="Editor",o.TREE_SELECT="TreeSelect",o.UPLOAD="Upload",o.JSON_EDITOR="JsonEditor",o.ICON_PICKER="IconPicker",o))(i||{});const ae=o=>{var r,s;const t=[i.INPUT,i.AUTOCOMPLETE,i.INPUT_NUMBER,i.INPUT_PASSWORD],l=[i.SELECT,i.TIME_PICKER,i.DATE_PICKER,i.TIME_SELECT,i.SELECT_V2];return t.includes(o==null?void 0:o.component)?{placeholder:"请输入"}:l.includes(o==null?void 0:o.component)?["datetimerange","daterange","monthrange","datetimerange","daterange"].includes(((r=o==null?void 0:o.componentProps)==null?void 0:r.type)||((s=o==null?void 0:o.componentProps)==null?void 0:s.isRange))?{startPlaceholder:"开始时间",endPlaceholder:"结束时间",rangeSeparator:"-"}:{placeholder:"请选择"}:{}},to=(o={})=>R(R({},o.span?{}:{xs:24,sm:12,md:12,lg:12,xl:12}),o),ne=o=>{var s;const t=((s=o==null?void 0:o.componentProps)==null?void 0:s.on)||{},l={};for(const b in t)t[b]&&(l[`on${ve(b)}`]=(...f)=>{t[b](...f)});const r=R(R({clearable:!0},o.componentProps),l);return r.slots&&delete r.slots,r.on&&delete r.on,r},so=(o={})=>{const t={};for(const l in o)o[l]&&(Pe(o[l])?t[le(l)]=(...r)=>{var s;return(s=o[l])==null?void 0:s.call(o,...r)}:t[le(l)]=()=>o[l]);return t},ao=(o,t)=>{const l=R({},t);o.map(r=>{if(r.remove)delete l[r.field];else if(r.component!=="Divider"){const s=F(l,r.field);V(l,r.field,s!==void 0?F(l,r.field):r.value!==void 0?r.value:void 0)}});for(let r=0;r{const o=l=>{var E,u,c,S;const r=l==null?void 0:l.componentProps,s=(E=r==null?void 0:r.slots)==null?void 0:E.optionGroupDefault,b=(u=r==null?void 0:r.props)==null?void 0:u.label,f=(c=r==null?void 0:r.props)==null?void 0:c.key;return(S=r==null?void 0:r.options)==null?void 0:S.map(d=>{var P;return(P=d==null?void 0:d.options)!=null&&P.length?s?s(d):C(qe,{label:d[b||"label"],key:d[f||"key"]},{default:()=>{var U;return(U=d==null?void 0:d.options)==null?void 0:U.map(x=>t(l,x))}}):t(l,d)})},t=(l,r)=>{var c,S,d,P;const s=l.componentProps,b=(c=s==null?void 0:s.props)==null?void 0:c.label,f=(S=s==null?void 0:s.props)==null?void 0:S.value,E=(d=s==null?void 0:s.props)==null?void 0:d.key,u=(P=s.slots)==null?void 0:P.optionDefault;return C(ze,h(r,{key:r[E||"key"],label:r[b||"label"],value:r[f||"value"]}),{default:()=>u?u(r):void 0})};return{renderSelectOptions:o}},co=()=>({renderRadioOptions:t=>{var E,u,c,S;const l=t==null?void 0:t.componentProps,r=((E=l==null?void 0:l.props)==null?void 0:E.value)||"value",s=((u=l==null?void 0:l.props)==null?void 0:u.label)||"label",b=((c=l==null?void 0:l.props)==null?void 0:c.disabled)||"disabled",f=t.component===i.RADIO_GROUP?Qe:Ye;return(S=l==null?void 0:l.options)==null?void 0:S.map(d=>{const P=G(d,[]);return C(f,h(P,{disabled:d[b||"disabled"],label:d[s||"label"],value:d[r||"value"]}),{default:()=>[d[s||"label"]]})})}}),fo=()=>({renderCheckboxOptions:t=>{var E,u,c,S;const l=t==null?void 0:t.componentProps,r=((E=l==null?void 0:l.props)==null?void 0:E.value)||"value",s=((u=l==null?void 0:l.props)==null?void 0:u.label)||"label",b=((c=l==null?void 0:l.props)==null?void 0:c.disabled)||"disabled",f=t.component===i.CHECKBOX_GROUP?Ze:Ne;return(S=l==null?void 0:l.options)==null?void 0:S.map(d=>{const P=G(d,[]);return C(f,h(P,{disabled:d[b||"disabled"],label:d[s||"label"],value:d[r||"value"]}),{default:()=>[d[s||"label"]]})})}});function L(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!Re(o)}const{renderSelectOptions:uo}=no(),{renderRadioOptions:po}=co(),{renderCheckboxOptions:io}=fo(),bo=Ee({name:"Form",props:{schema:{type:Array,default:()=>[]},isCol:T.bool.def(!0),model:{type:Object,default:()=>({})},autoSetPlaceholder:T.bool.def(!0),isCustom:T.bool.def(!1),labelWidth:T.oneOfType([String,Number]).def("auto"),rules:{type:Object,default:()=>({})},labelPosition:T.oneOf(["left","right","top"]).def("right"),labelSuffix:T.string.def(""),hideRequiredAsterisk:T.bool.def(!1),requireAsteriskPosition:T.oneOf(["left","right"]).def("left"),showMessage:T.bool.def(!0),inlineMessage:T.bool.def(!1),statusIcon:T.bool.def(!1),validateOnRuleChange:T.bool.def(!0),size:{type:String,default:void 0},disabled:T.bool.def(!1),scrollToError:T.bool.def(!1),scrollToErrorOffset:T.oneOfType([Boolean,Object]).def(void 0)},emits:["register"],setup(o,{slots:t,expose:l,emit:r}){const s=y(),b=y({}),f=oe(()=>{const e=R({},o);return Object.assign(e,p(b)),e}),E=y({}),u=y({}),c=y(o.model);Oe(()=>{var e;r("register",(e=p(s))==null?void 0:e.$parent,p(s))});const S=(e={})=>{c.value=Object.assign(p(c),e)},d=(e={})=>{b.value=Object.assign(p(b),e)},P=e=>{const{schema:a}=p(f),n=_e(a,I=>I.field===e);n>-1&&a.splice(n,1)},U=(e,a)=>{const{schema:n}=p(f);if(a!==void 0){n.splice(a,0,e);return}n.push(e)},x=e=>{const{schema:a}=p(f);for(const n of a)for(const I of e)n.field===I.field&&V(n,I.path,I.value)},de=(e,a)=>ee(this,null,function*(){const n=yield e();x([{field:a.field,path:a.component===i.TREE_SELECT||a.component===i.TRANSFER?"componentProps.data":"componentProps.options",value:n}])}),ce=e=>p(E)[e],fe=e=>p(u)[e],j=(e,a)=>{E.value[a]=e},ue=(e,a)=>{u.value[a]=e};l({setValues:S,formModel:c,setProps:d,delSchema:P,addSchema:U,setSchema:x,getComponentExpose:ce,getFormItemExpose:fe}),Te(()=>p(f).schema,(e=[])=>{c.value=ao(e,p(c))},{immediate:!0,deep:!0});const pe=()=>{let e;const{isCol:a}=p(f);return a?C(eo,{gutter:20},L(e=K())?e:{default:()=>[e]}):K()},K=()=>{const{schema:e=[],isCol:a}=p(f);return e.filter(n=>!n.remove).map(n=>{let I;const M=n.component==="Divider",B=se.Divider;return M?C(B,R({contentPosition:"left"},n.componentProps),{default:()=>[n==null?void 0:n.label]}):a?C(oo,to(n.colProps),L(I=W(n))?I:{default:()=>[I]}):W(n)})},W=e=>{var n,I,M,B,H,X;e.optionApi&&(!((n=e.componentProps)!=null&&n.options)||!((I=e.componentProps)!=null&&I.options.length))&&de(e.optionApi,e);const a={default:()=>{var g,k,A,$,J;if((k=(g=e==null?void 0:e.formItemProps)==null?void 0:g.slots)!=null&&k.default)return($=(A=e==null?void 0:e.formItemProps)==null?void 0:A.slots)==null?void 0:$.default(c.value);{const q=se[e.component],{autoSetPlaceholder:z}=p(f),v=((J=e==null?void 0:e.componentProps)==null?void 0:J.slots)||{},D=R({},so(v));return e.component===i.SELECT&&(D.default=v.default?()=>{var O;return v.default(p((O=e==null?void 0:e.componentProps)==null?void 0:O.options))}:()=>uo(e)),e.component===i.SELECT_V2&&v.default&&(D.default=({item:O})=>v.default(O)),(e.component===i.RADIO_GROUP||e.component===i.RADIO_BUTTON)&&(D.default=v.default?()=>{var O;return v.default(p((O=e==null?void 0:e.componentProps)==null?void 0:O.options))}:()=>po(e)),(e.component===i.CHECKBOX_GROUP||e.component===i.CHECKBOX_BUTTON)&&(D.default=v.default?()=>{var O;return v.default(p((O=e==null?void 0:e.componentProps)==null?void 0:O.options))}:()=>io(e)),C(Ce,null,[(()=>{var Q,Y;const O=oe({get:()=>F(c.value,e.field),set:_=>{V(c.value,e.field,_)}});return e.component===i.UPLOAD?C(q,h({"file-list":O.value,"onUpdate:file-list":_=>O.value=_,ref:_=>j(_,e.field)},z&&ae(e),ne(e),{style:((Q=e.componentProps)==null?void 0:Q.style)||{width:"100%"}}),R({},D)):C(q,h({modelValue:O.value,"onUpdate:modelValue":_=>O.value=_,ref:_=>j(_,e.field)},z&&ae(e),ne(e),{style:((Y=e.componentProps)==null?void 0:Y.style)||{width:"100%"}}),R({},D))})()])}}};return(B=(M=e==null?void 0:e.formItemProps)==null?void 0:M.slots)!=null&&B.label&&(a.label=(...g)=>{var k,A;return(A=(k=e==null?void 0:e.formItemProps)==null?void 0:k.slots)==null?void 0:A.label(...g)}),(X=(H=e==null?void 0:e.formItemProps)==null?void 0:H.slots)!=null&&X.error&&(a.error=(...g)=>{var k,A;return(A=(k=e==null?void 0:e.formItemProps)==null?void 0:k.slots)==null?void 0:A.error(...g)}),Se(C(lo,h({ref:g=>ue(g,e.field)},e.formItemProps||{},{prop:e.field,label:e.label||""}),L(a)?a:{default:()=>[a]}),[[Ie,!e.hidden]])},ie=()=>{const e=["schema","isCol","autoSetPlaceholder","isCustom","model"],a=R({},p(f));for(const n in a)e.indexOf(n)!==-1&&delete a[n];return a};return()=>C(me,h({ref:s},ie(),{model:p(f).isCustom?p(f).model:c,class:"form",onSubmit:e=>{e.preventDefault()}}),{default:()=>{const{isCustom:e}=p(f);return e?ge(t,"default"):pe()}})}}),Fo=ro(bo,[["__scopeId","data-v-66ec27e1"]]);export{Fo as F,ao as i}; diff --git a/assets/Guide-BcwvGLxh.js b/assets/Guide-DyAdza91.js similarity index 98% rename from assets/Guide-BcwvGLxh.js rename to assets/Guide-DyAdza91.js index 66515fd1..e3b84c17 100644 --- a/assets/Guide-BcwvGLxh.js +++ b/assets/Guide-DyAdza91.js @@ -1,2 +1,2 @@ -var pe=Object.defineProperty,ce=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var ue=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var K=(e,t,n)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))ue.call(t,n)&&K(e,n,t[n]);if(j)for(var n of j(t))me.call(t,n)&&K(e,n,t[n]);return e},N=(e,t)=>ce(e,ve(t));import{_ as he}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as we}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{y as fe,z as ge,K as ye,L as V,O as xe,u as G,a4 as be}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */let F={};function q(e={}){F=k({animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000"},e)}function l(e){return e?F[e]:F}function I(e,t,n,i){return(e/=i/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function U(e){const t='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return e.flatMap(n=>{const i=n.matches(t),o=Array.from(n.querySelectorAll(t));return[...i?[n]:[],...o]}).filter(n=>getComputedStyle(n).pointerEvents!=="none"&&Le(n))}function ee(e){if(!e||_e(e))return;const t=l("smoothScroll");e.scrollIntoView({behavior:!t||Ce(e)?"auto":"smooth",inline:"center",block:"center"})}function Ce(e){if(!e||!e.parentElement)return;const t=e.parentElement;return t.scrollHeight>t.clientHeight}function _e(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function Le(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}let z={};function b(e,t){z[e]=t}function d(e){return e?z[e]:z}function X(){z={}}let O={};function R(e,t){O[e]=t}function B(e){var t;(t=O[e])==null||t.call(O)}function Ee(){O={}}function Pe(e,t,n,i){let o=d("__activeStagePosition");const a=o||n.getBoundingClientRect(),m=i.getBoundingClientRect(),h=I(e,a.x,m.x-a.x,t),s=I(e,a.y,m.y-a.y,t),u=I(e,a.width,m.width-a.width,t),r=I(e,a.height,m.height-a.height,t);o={x:h,y:s,width:u,height:r},ne(o),b("__activeStagePosition",o)}function te(e){if(!e)return;const t=e.getBoundingClientRect(),n={x:t.x,y:t.y,width:t.width,height:t.height};b("__activeStagePosition",n),ne(n)}function ke(){const e=d("__activeStagePosition"),t=d("__overlaySvg");if(!e)return;if(!t){console.warn("No stage svg found.");return}const n=window.innerWidth,i=window.innerHeight;t.setAttribute("viewBox",`0 0 ${n} ${i}`)}function $e(e){const t=Be(e);document.body.appendChild(t),re(t,n=>{n.target.tagName==="path"&&B("overlayClick")}),b("__overlaySvg",t)}function ne(e){const t=d("__overlaySvg");if(!t){$e(e);return}const n=t.firstElementChild;if((n==null?void 0:n.tagName)!=="path")throw new Error("no path element found in stage svg");n.setAttribute("d",oe(e))}function Be(e){const t=window.innerWidth,n=window.innerHeight,i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.classList.add("driver-overlay","driver-overlay-animated"),i.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("xmlSpace","preserve"),i.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),i.setAttribute("preserveAspectRatio","xMinYMin slice"),i.style.fillRule="evenodd",i.style.clipRule="evenodd",i.style.strokeLinejoin="round",i.style.strokeMiterlimit="2",i.style.zIndex="10000",i.style.position="fixed",i.style.top="0",i.style.left="0",i.style.width="100%",i.style.height="100%";const o=document.createElementNS("http://www.w3.org/2000/svg","path");return o.setAttribute("d",oe(e)),o.style.fill=l("overlayColor")||"rgb(0,0,0)",o.style.opacity=`${l("overlayOpacity")}`,o.style.pointerEvents="auto",o.style.cursor="auto",i.appendChild(o),i}function oe(e){const t=window.innerWidth,n=window.innerHeight,i=l("stagePadding")||0,o=l("stageRadius")||0,a=e.width+i*2,m=e.height+i*2,h=Math.min(o,a/2,m/2),s=Math.floor(Math.max(h,0)),u=e.x-i+s,r=e.y-i,p=a-s*2,c=m-s*2;return`M${t},0L0,0L0,${n}L${t},${n}L${t},0Z +var pe=Object.defineProperty,ce=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var ue=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var K=(e,t,n)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))ue.call(t,n)&&K(e,n,t[n]);if(j)for(var n of j(t))me.call(t,n)&&K(e,n,t[n]);return e},N=(e,t)=>ce(e,ve(t));import{_ as he}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as we}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{y as fe,z as ge,K as ye,L as V,O as xe,u as G,a4 as be}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */let F={};function q(e={}){F=k({animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000"},e)}function l(e){return e?F[e]:F}function I(e,t,n,i){return(e/=i/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function U(e){const t='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return e.flatMap(n=>{const i=n.matches(t),o=Array.from(n.querySelectorAll(t));return[...i?[n]:[],...o]}).filter(n=>getComputedStyle(n).pointerEvents!=="none"&&Le(n))}function ee(e){if(!e||_e(e))return;const t=l("smoothScroll");e.scrollIntoView({behavior:!t||Ce(e)?"auto":"smooth",inline:"center",block:"center"})}function Ce(e){if(!e||!e.parentElement)return;const t=e.parentElement;return t.scrollHeight>t.clientHeight}function _e(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function Le(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}let z={};function b(e,t){z[e]=t}function d(e){return e?z[e]:z}function X(){z={}}let O={};function R(e,t){O[e]=t}function B(e){var t;(t=O[e])==null||t.call(O)}function Ee(){O={}}function Pe(e,t,n,i){let o=d("__activeStagePosition");const a=o||n.getBoundingClientRect(),m=i.getBoundingClientRect(),h=I(e,a.x,m.x-a.x,t),s=I(e,a.y,m.y-a.y,t),u=I(e,a.width,m.width-a.width,t),r=I(e,a.height,m.height-a.height,t);o={x:h,y:s,width:u,height:r},ne(o),b("__activeStagePosition",o)}function te(e){if(!e)return;const t=e.getBoundingClientRect(),n={x:t.x,y:t.y,width:t.width,height:t.height};b("__activeStagePosition",n),ne(n)}function ke(){const e=d("__activeStagePosition"),t=d("__overlaySvg");if(!e)return;if(!t){console.warn("No stage svg found.");return}const n=window.innerWidth,i=window.innerHeight;t.setAttribute("viewBox",`0 0 ${n} ${i}`)}function $e(e){const t=Be(e);document.body.appendChild(t),re(t,n=>{n.target.tagName==="path"&&B("overlayClick")}),b("__overlaySvg",t)}function ne(e){const t=d("__overlaySvg");if(!t){$e(e);return}const n=t.firstElementChild;if((n==null?void 0:n.tagName)!=="path")throw new Error("no path element found in stage svg");n.setAttribute("d",oe(e))}function Be(e){const t=window.innerWidth,n=window.innerHeight,i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.classList.add("driver-overlay","driver-overlay-animated"),i.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("xmlSpace","preserve"),i.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),i.setAttribute("preserveAspectRatio","xMinYMin slice"),i.style.fillRule="evenodd",i.style.clipRule="evenodd",i.style.strokeLinejoin="round",i.style.strokeMiterlimit="2",i.style.zIndex="10000",i.style.position="fixed",i.style.top="0",i.style.left="0",i.style.width="100%",i.style.height="100%";const o=document.createElementNS("http://www.w3.org/2000/svg","path");return o.setAttribute("d",oe(e)),o.style.fill=l("overlayColor")||"rgb(0,0,0)",o.style.opacity=`${l("overlayOpacity")}`,o.style.pointerEvents="auto",o.style.cursor="auto",i.appendChild(o),i}function oe(e){const t=window.innerWidth,n=window.innerHeight,i=l("stagePadding")||0,o=l("stageRadius")||0,a=e.width+i*2,m=e.height+i*2,h=Math.min(o,a/2,m/2),s=Math.floor(Math.max(h,0)),u=e.x-i+s,r=e.y-i,p=a-s*2,c=m-s*2;return`M${t},0L0,0L0,${n}L${t},${n}L${t},0Z M${u},${r} h${p} a${s},${s} 0 0 1 ${s},${s} v${c} a${s},${s} 0 0 1 -${s},${s} h-${p} a${s},${s} 0 0 1 -${s},-${s} v-${c} a${s},${s} 0 0 1 ${s},-${s} z`}function Ae(){const e=d("__overlaySvg");e&&e.remove()}function Se(){const e=document.getElementById("driver-dummy-element");if(e)return e;let t=document.createElement("div");return t.id="driver-dummy-element",t.style.width="0",t.style.height="0",t.style.pointerEvents="none",t.style.opacity="0",t.style.position="fixed",t.style.top="50%",t.style.left="50%",document.body.appendChild(t),t}function Y(e){const{element:t}=e;let n=typeof t=="string"?document.querySelector(t):t;n||(n=Se()),Me(n,e)}function He(){const e=d("__activeElement"),t=d("__activeStep");e&&(te(e),ke(),le(e,t))}function Me(e,t){const n=Date.now(),i=d("__activeStep"),o=d("__activeElement")||e,a=!o||o===e,m=e.id==="driver-dummy-element",h=o.id==="driver-dummy-element",s=l("animate"),u=t.onHighlightStarted||l("onHighlightStarted"),r=(t==null?void 0:t.onHighlighted)||l("onHighlighted"),p=(i==null?void 0:i.onDeselected)||l("onDeselected"),c=l(),w=d();!a&&p&&p(h?void 0:o,i,{config:c,state:w}),u&&u(m?void 0:e,t,{config:c,state:w});const g=!a&&s;let f=!1;Ie(),b("previousStep",i),b("previousElement",o),b("activeStep",t),b("activeElement",e);const v=()=>{if(d("__transitionCallback")!==v)return;const y=Date.now()-n,L=400-y<=400/2;t.popover&&L&&!f&&g&&(Z(e,t),f=!0),l("animate")&&y<400?Pe(y,400,o,e):(te(e),r&&r(m?void 0:e,t,{config:l(),state:d()}),b("__transitionCallback",void 0),b("__previousStep",i),b("__previousElement",o),b("__activeStep",t),b("__activeElement",e)),window.requestAnimationFrame(v)};b("__transitionCallback",v),window.requestAnimationFrame(v),ee(e),!g&&t.popover&&Z(e,t),o.classList.remove("driver-active-element","driver-no-interaction"),o.removeAttribute("aria-haspopup"),o.removeAttribute("aria-expanded"),o.removeAttribute("aria-controls"),l("disableActiveInteraction")&&e.classList.add("driver-no-interaction"),e.classList.add("driver-active-element"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded","true"),e.setAttribute("aria-controls","driver-popover-content")}function Te(){var e;(e=document.getElementById("driver-dummy-element"))==null||e.remove(),document.querySelectorAll(".driver-active-element").forEach(t=>{t.classList.remove("driver-active-element","driver-no-interaction"),t.removeAttribute("aria-haspopup"),t.removeAttribute("aria-expanded"),t.removeAttribute("aria-controls")})}function A(){const e=d("__resizeTimeout");e&&window.cancelAnimationFrame(e),b("__resizeTimeout",window.requestAnimationFrame(He))}function De(e){var t;if(!d("isInitialized")||!(e.key==="Tab"||e.keyCode===9))return;const n=d("__activeElement"),i=(t=d("popover"))==null?void 0:t.wrapper,o=U([...i?[i]:[],...n?[n]:[]]),a=o[0],m=o[o.length-1];if(e.preventDefault(),e.shiftKey){const h=o[o.indexOf(document.activeElement)-1]||m;h==null||h.focus()}else{const h=o[o.indexOf(document.activeElement)+1]||a;h==null||h.focus()}}function ie(e){var t;((t=l("allowKeyboardControl"))==null||t)&&(e.key==="Escape"?B("escapePress"):e.key==="ArrowRight"?B("arrowRightPress"):e.key==="ArrowLeft"&&B("arrowLeftPress"))}function re(e,t,n){const i=(o,a)=>{const m=o.target;e.contains(m)&&((!n||n(m))&&(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()),a==null||a(o))};document.addEventListener("pointerdown",i,!0),document.addEventListener("mousedown",i,!0),document.addEventListener("pointerup",i,!0),document.addEventListener("mouseup",i,!0),document.addEventListener("click",o=>{i(o,t)},!0)}function We(){window.addEventListener("keyup",ie,!1),window.addEventListener("keydown",De,!1),window.addEventListener("resize",A),window.addEventListener("scroll",A)}function Ne(){window.removeEventListener("keyup",ie),window.removeEventListener("resize",A),window.removeEventListener("scroll",A)}function Ie(){const e=d("popover");e&&(e.wrapper.style.display="none")}function Z(e,t){var n,i;let o=d("popover");o&&document.body.removeChild(o.wrapper),o=ze(),document.body.appendChild(o.wrapper);const{title:a,description:m,showButtons:h,disableButtons:s,showProgress:u,nextBtnText:r=l("nextBtnText")||"Next →",prevBtnText:p=l("prevBtnText")||"← Previous",progressText:c=l("progressText")||"{current} of {total}"}=t.popover||{};o.nextButton.innerHTML=r,o.previousButton.innerHTML=p,o.progress.innerHTML=c,a?(o.title.innerHTML=a,o.title.style.display="block"):o.title.style.display="none",m?(o.description.innerHTML=m,o.description.style.display="block"):o.description.style.display="none";const w=h||l("showButtons"),g=u||l("showProgress")||!1,f=(w==null?void 0:w.includes("next"))||(w==null?void 0:w.includes("previous"))||g;o.closeButton.style.display=w.includes("close")?"block":"none",f?(o.footer.style.display="flex",o.progress.style.display=g?"block":"none",o.nextButton.style.display=w.includes("next")?"block":"none",o.previousButton.style.display=w.includes("previous")?"block":"none"):o.footer.style.display="none";const v=s||l("disableButtons")||[];v!=null&&v.includes("next")&&(o.nextButton.disabled=!0,o.nextButton.classList.add("driver-popover-btn-disabled")),v!=null&&v.includes("previous")&&(o.previousButton.disabled=!0,o.previousButton.classList.add("driver-popover-btn-disabled")),v!=null&&v.includes("close")&&(o.closeButton.disabled=!0,o.closeButton.classList.add("driver-popover-btn-disabled"));const y=o.wrapper;y.style.display="block",y.style.left="",y.style.top="",y.style.bottom="",y.style.right="",y.id="driver-popover-content",y.setAttribute("role","dialog"),y.setAttribute("aria-labelledby","driver-popover-title"),y.setAttribute("aria-describedby","driver-popover-description");const L=o.arrow;L.className="driver-popover-arrow";const E=((n=t.popover)==null?void 0:n.popoverClass)||l("popoverClass")||"";y.className=`driver-popover ${E}`.trim(),re(o.wrapper,P=>{var S,H,M;const $=P.target,T=((S=t.popover)==null?void 0:S.onNextClick)||l("onNextClick"),D=((H=t.popover)==null?void 0:H.onPrevClick)||l("onPrevClick"),W=((M=t.popover)==null?void 0:M.onCloseClick)||l("onCloseClick");if($.classList.contains("driver-popover-next-btn"))return T?T(e,t,{config:l(),state:d()}):B("nextClick");if($.classList.contains("driver-popover-prev-btn"))return D?D(e,t,{config:l(),state:d()}):B("prevClick");if($.classList.contains("driver-popover-close-btn"))return W?W(e,t,{config:l(),state:d()}):B("closeClick")},P=>!(o!=null&&o.description.contains(P))&&!(o!=null&&o.title.contains(P))&&typeof P.className=="string"&&P.className.includes("driver-popover")),b("popover",o);const x=((i=t.popover)==null?void 0:i.onPopoverRender)||l("onPopoverRender");x&&x(o,{config:l(),state:d()}),le(e,t),ee(y);const C=e.classList.contains("driver-dummy-element"),_=U([y,...C?[]:[e]]);_.length>0&&_[0].focus()}function se(){const e=d("popover");if(!(e!=null&&e.wrapper))return;const t=e.wrapper.getBoundingClientRect(),n=l("stagePadding")||0,i=l("popoverOffset")||0;return{width:t.width+n+i,height:t.height+n+i,realWidth:t.width,realHeight:t.height}}function J(e,t){const{elementDimensions:n,popoverDimensions:i,popoverPadding:o,popoverArrowDimensions:a}=t;return e==="start"?Math.max(Math.min(n.top-o,window.innerHeight-i.realHeight-a.width),a.width):e==="end"?Math.max(Math.min(n.top-(i==null?void 0:i.realHeight)+n.height+o,window.innerHeight-(i==null?void 0:i.realHeight)-a.width),a.width):e==="center"?Math.max(Math.min(n.top+n.height/2-(i==null?void 0:i.realHeight)/2,window.innerHeight-(i==null?void 0:i.realHeight)-a.width),a.width):0}function Q(e,t){const{elementDimensions:n,popoverDimensions:i,popoverPadding:o,popoverArrowDimensions:a}=t;return e==="start"?Math.max(Math.min(n.left-o,window.innerWidth-i.realWidth-a.width),a.width):e==="end"?Math.max(Math.min(n.left-(i==null?void 0:i.realWidth)+n.width+o,window.innerWidth-(i==null?void 0:i.realWidth)-a.width),a.width):e==="center"?Math.max(Math.min(n.left+n.width/2-(i==null?void 0:i.realWidth)/2,window.innerWidth-(i==null?void 0:i.realWidth)-a.width),a.width):0}function le(e,t){const n=d("popover");if(!n)return;const{align:i="start",side:o="left"}=(t==null?void 0:t.popover)||{},a=i,m=e.id==="driver-dummy-element"?"over":o,h=l("stagePadding")||0,s=se(),u=n.arrow.getBoundingClientRect(),r=e.getBoundingClientRect(),p=r.top-s.height;let c=p>=0;const w=window.innerHeight-(r.bottom+s.height);let g=w>=0;const f=r.left-s.width;let v=f>=0;const y=window.innerWidth-(r.right+s.width);let L=y>=0;const E=!c&&!g&&!v&&!L;let x=m;if(m==="top"&&c?L=v=g=!1:m==="bottom"&&g?L=v=c=!1:m==="left"&&v?L=c=g=!1:m==="right"&&L&&(v=c=g=!1),m==="over"){const C=window.innerWidth/2-s.realWidth/2,_=window.innerHeight/2-s.realHeight/2;n.wrapper.style.left=`${C}px`,n.wrapper.style.right="auto",n.wrapper.style.top=`${_}px`,n.wrapper.style.bottom="auto"}else if(E){const C=window.innerWidth/2-(s==null?void 0:s.realWidth)/2,_=10;n.wrapper.style.left=`${C}px`,n.wrapper.style.right="auto",n.wrapper.style.bottom=`${_}px`,n.wrapper.style.top="auto"}else if(v){const C=Math.min(f,window.innerWidth-(s==null?void 0:s.realWidth)-u.width),_=J(a,{elementDimensions:r,popoverDimensions:s,popoverPadding:h,popoverArrowDimensions:u});n.wrapper.style.left=`${C}px`,n.wrapper.style.top=`${_}px`,n.wrapper.style.bottom="auto",n.wrapper.style.right="auto",x="left"}else if(L){const C=Math.min(y,window.innerWidth-(s==null?void 0:s.realWidth)-u.width),_=J(a,{elementDimensions:r,popoverDimensions:s,popoverPadding:h,popoverArrowDimensions:u});n.wrapper.style.right=`${C}px`,n.wrapper.style.top=`${_}px`,n.wrapper.style.bottom="auto",n.wrapper.style.left="auto",x="right"}else if(c){const C=Math.min(p,window.innerHeight-s.realHeight-u.width);let _=Q(a,{elementDimensions:r,popoverDimensions:s,popoverPadding:h,popoverArrowDimensions:u});n.wrapper.style.top=`${C}px`,n.wrapper.style.left=`${_}px`,n.wrapper.style.bottom="auto",n.wrapper.style.right="auto",x="top"}else if(g){const C=Math.min(w,window.innerHeight-(s==null?void 0:s.realHeight)-u.width);let _=Q(a,{elementDimensions:r,popoverDimensions:s,popoverPadding:h,popoverArrowDimensions:u});n.wrapper.style.left=`${_}px`,n.wrapper.style.bottom=`${C}px`,n.wrapper.style.top="auto",n.wrapper.style.right="auto",x="bottom"}E?n.arrow.classList.add("driver-popover-arrow-none"):Re(a,x,e)}function Re(e,t,n){const i=d("popover");if(!i)return;const o=n.getBoundingClientRect(),a=se(),m=i.arrow,h=a.width,s=window.innerWidth,u=o.width,r=o.left,p=a.height,c=window.innerHeight,w=o.top,g=o.height;m.className="driver-popover-arrow";let f=t,v=e;t==="top"?(r+u<=0?(f="right",v="end"):r+u-h<=0&&(f="top",v="start"),r>=s?(f="left",v="end"):r+h>=s&&(f="top",v="end")):t==="bottom"?(r+u<=0?(f="right",v="start"):r+u-h<=0&&(f="bottom",v="start"),r>=s?(f="left",v="start"):r+h>=s&&(f="bottom",v="end")):t==="left"?(w+g<=0?(f="bottom",v="end"):w+g-p<=0&&(f="left",v="start"),w>=c?(f="top",v="end"):w+p>=c&&(f="left",v="end")):t==="right"&&(w+g<=0?(f="bottom",v="start"):w+g-p<=0&&(f="right",v="start"),w>=c?(f="top",v="start"):w+p>=c&&(f="right",v="end")),f?(m.classList.add(`driver-popover-arrow-side-${f}`),m.classList.add(`driver-popover-arrow-align-${v}`)):m.classList.add("driver-popover-arrow-none")}function ze(){const e=document.createElement("div");e.classList.add("driver-popover");const t=document.createElement("div");t.classList.add("driver-popover-arrow");const n=document.createElement("header");n.id="driver-popover-title",n.classList.add("driver-popover-title"),n.style.display="none",n.innerText="Popover Title";const i=document.createElement("div");i.id="driver-popover-description",i.classList.add("driver-popover-description"),i.style.display="none",i.innerText="Popover description is here";const o=document.createElement("button");o.type="button",o.classList.add("driver-popover-close-btn"),o.setAttribute("aria-label","Close"),o.innerHTML="×";const a=document.createElement("footer");a.classList.add("driver-popover-footer");const m=document.createElement("span");m.classList.add("driver-popover-progress-text"),m.innerText="";const h=document.createElement("span");h.classList.add("driver-popover-navigation-btns");const s=document.createElement("button");s.type="button",s.classList.add("driver-popover-prev-btn"),s.innerHTML="← Previous";const u=document.createElement("button");return u.type="button",u.classList.add("driver-popover-next-btn"),u.innerHTML="Next →",h.appendChild(s),h.appendChild(u),a.appendChild(m),a.appendChild(h),e.appendChild(o),e.appendChild(t),e.appendChild(n),e.appendChild(i),e.appendChild(a),{wrapper:e,arrow:t,title:n,description:i,footer:a,previousButton:s,nextButton:u,closeButton:o,footerButtons:h,progress:m}}function Oe(){var e;const t=d("popover");t&&((e=t.wrapper.parentElement)==null||e.removeChild(t.wrapper))}function qe(e={}){q(e);function t(){l("allowClose")&&u()}function n(){const r=d("activeIndex"),p=l("steps")||[];if(typeof r=="undefined")return;const c=r+1;p[c]?s(c):u()}function i(){const r=d("activeIndex"),p=l("steps")||[];if(typeof r=="undefined")return;const c=r-1;p[c]?s(c):u()}function o(r){(l("steps")||[])[r]?s(r):u()}function a(){var r;if(d("__transitionCallback"))return;const p=d("activeIndex"),c=d("__activeStep"),w=d("__activeElement");if(typeof p=="undefined"||typeof c=="undefined"||typeof d("activeIndex")=="undefined")return;const g=((r=c.popover)==null?void 0:r.onPrevClick)||l("onPrevClick");if(g)return g(w,c,{config:l(),state:d()});i()}function m(){var r;if(d("__transitionCallback"))return;const p=d("activeIndex"),c=d("__activeStep"),w=d("__activeElement");if(typeof p=="undefined"||typeof c=="undefined")return;const g=((r=c.popover)==null?void 0:r.onNextClick)||l("onNextClick");if(g)return g(w,c,{config:l(),state:d()});n()}function h(){d("isInitialized")||(b("isInitialized",!0),document.body.classList.add("driver-active",l("animate")?"driver-fade":"driver-simple"),We(),R("overlayClick",t),R("escapePress",t),R("arrowLeftPress",a),R("arrowRightPress",m))}function s(r=0){var p,c,w,g,f,v,y,L;const E=l("steps");if(!E){console.error("No steps to drive through"),u();return}if(!E[r]){u();return}b("__activeOnDestroyed",document.activeElement),b("activeIndex",r);const x=E[r],C=E[r+1],_=E[r-1],P=((p=x.popover)==null?void 0:p.doneBtnText)||l("doneBtnText")||"Done",S=l("allowClose"),H=typeof((c=x.popover)==null?void 0:c.showProgress)!="undefined"?(w=x.popover)==null?void 0:w.showProgress:l("showProgress"),M=(((g=x.popover)==null?void 0:g.progressText)||l("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${r+1}`).replace("{{total}}",`${E.length}`),$=((f=x.popover)==null?void 0:f.showButtons)||l("showButtons"),T=["next","previous",...S?["close"]:[]].filter(ae=>!($!=null&&$.length)||$.includes(ae)),D=((v=x.popover)==null?void 0:v.onNextClick)||l("onNextClick"),W=((y=x.popover)==null?void 0:y.onPrevClick)||l("onPrevClick"),de=((L=x.popover)==null?void 0:L.onCloseClick)||l("onCloseClick");Y(N(k({},x),{popover:k({showButtons:T,nextBtnText:C?void 0:P,disableButtons:[..._?[]:["previous"]],showProgress:H,progressText:M,onNextClick:D||(()=>{C?s(r+1):u()}),onPrevClick:W||(()=>{s(r-1)}),onCloseClick:de||(()=>{u()})},(x==null?void 0:x.popover)||{})}))}function u(r=!0){const p=d("__activeElement"),c=d("__activeStep"),w=d("__activeOnDestroyed"),g=l("onDestroyStarted");if(r&&g){const y=!p||(p==null?void 0:p.id)==="driver-dummy-element";g(y?void 0:p,c,{config:l(),state:d()});return}const f=(c==null?void 0:c.onDeselected)||l("onDeselected"),v=l("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),Ne(),Oe(),Te(),Ae(),Ee(),X(),p&&c){const y=p.id==="driver-dummy-element";f&&f(y?void 0:p,c,{config:l(),state:d()}),v&&v(y?void 0:p,c,{config:l(),state:d()})}w&&w.focus()}return{isActive:()=>d("isInitialized")||!1,refresh:A,drive:(r=0)=>{h(),s(r)},setConfig:q,setSteps:r=>{X(),q(N(k({},l()),{steps:r}))},getConfig:l,getState:d,getActiveIndex:()=>d("activeIndex"),isFirstStep:()=>d("activeIndex")===0,isLastStep:()=>{const r=l("steps")||[],p=d("activeIndex");return p!==void 0&&p===r.length-1},getActiveStep:()=>d("activeStep"),getActiveElement:()=>d("activeElement"),getPreviousElement:()=>d("previousElement"),getPreviousStep:()=>d("previousStep"),moveNext:n,movePrevious:i,moveTo:o,hasNextStep:()=>{const r=l("steps")||[],p=d("activeIndex");return p!==void 0&&r[p+1]},hasPreviousStep:()=>{const r=l("steps")||[],p=d("activeIndex");return p!==void 0&&r[p-1]},highlight:r=>{h(),Y(N(k({},r),{popover:r.popover?k({showButtons:[],showProgress:!1,progressText:""},r.popover):void 0}))},destroy:()=>{u(!1)}}}const Fe=e=>{const t=qe({showProgress:!0,nextBtnText:"下一步",prevBtnText:"上一步",doneBtnText:"结束",steps:[{element:"#menu",popover:{title:"菜单",description:"以路由的结构渲染的菜单栏",side:"right"}},{element:"#tool-header",popover:{title:"工具",description:"用于设置定制系统",side:"left"}},{element:"#tags-view",popover:{title:"标签页",description:"用于记录路由历史记录",side:"bottom"}}]});return k({},t)},Ue=fe({__name:"Guide",setup(e){const{drive:t}=Fe(),n=()=>{t()};return(i,o)=>(ge(),ye(G(he),{title:"引导页",message:"引导页对于一些第一次进入项目的人很有用,你可以简单介绍下项目的功能。引导页基于 driver.js"},{default:V(()=>[xe(G(we),{type:"primary",onClick:n},{default:V(()=>o[0]||(o[0]=[be("开始")])),_:1})]),_:1}))}});export{Ue as default}; diff --git a/assets/Highlight-Cl0yHROR.js b/assets/Highlight-CKZh1vpZ.js similarity index 73% rename from assets/Highlight-Cl0yHROR.js rename to assets/Highlight-CKZh1vpZ.js index ecebe7e3..cf5423ad 100644 --- a/assets/Highlight-Cl0yHROR.js +++ b/assets/Highlight-CKZh1vpZ.js @@ -1 +1 @@ -import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as i}from"./Highlight.vue_vue_type_script_lang-DurFEquh.js";import"./index-DHbc4UQl.js";import{E as m}from"./element-plus-CUBv5pjL.js";import{y as n,z as p,K as _,L as o,O as f,u as a,a4 as c}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const B=n({__name:"Highlight",setup(l){const r=t=>{m.info(t)};return(t,e)=>(p(),_(a(s),{title:"高亮"},{default:o(()=>[f(a(i),{keys:["十年前","现在"],onClick:r},{default:o(()=>e[0]||(e[0]=[c(" 种一棵树最好的时间是十年前,其次就是现在。 ")])),_:1})]),_:1}))}});export{B as default}; +import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as i}from"./Highlight.vue_vue_type_script_lang-BFIi4_k_.js";import"./index-wnyZ7Zvr.js";import{E as m}from"./element-plus-CUBv5pjL.js";import{y as n,z as p,K as _,L as o,O as f,u as a,a4 as c}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const B=n({__name:"Highlight",setup(l){const r=t=>{m.info(t)};return(t,e)=>(p(),_(a(s),{title:"高亮"},{default:o(()=>[f(a(i),{keys:["十年前","现在"],onClick:r},{default:o(()=>e[0]||(e[0]=[c(" 种一棵树最好的时间是十年前,其次就是现在。 ")])),_:1})]),_:1}))}});export{B as default}; diff --git a/assets/Highlight.vue_vue_type_script_lang-DurFEquh.js b/assets/Highlight.vue_vue_type_script_lang-BFIi4_k_.js similarity index 91% rename from assets/Highlight.vue_vue_type_script_lang-DurFEquh.js rename to assets/Highlight.vue_vue_type_script_lang-BFIi4_k_.js index 7a60645b..d9c6b79f 100644 --- a/assets/Highlight.vue_vue_type_script_lang-DurFEquh.js +++ b/assets/Highlight.vue_vue_type_script_lang-BFIi4_k_.js @@ -1 +1 @@ -import{p}from"./index-DHbc4UQl.js";import{y as g,c as y,ad as u,u as k}from"./vue-chunks-ChjHxF1G.js";const x=g({name:"Highlight",props:{tag:p.string.def("span"),keys:{type:Array,default:()=>[]},color:p.string.def("var(--el-color-primary)")},emits:["click"],setup(n,{emit:o,slots:e}){const f=y(()=>n.keys.map(r=>u("span",{onClick:()=>{o("click",r)},style:{color:n.color,cursor:"pointer"}},r))),d=r=>(n.keys.forEach((c,t)=>{const i=new RegExp(c,"g");r=r.replace(i,`{{${t}}}`)}),r.split(/{{|}}/)),m=()=>{if(!(e!=null&&e.default))return null;const r=e==null?void 0:e.default()[0].children;if(!r)return e==null?void 0:e.default()[0];const c=d(r),t=/^[0-9]*$/,i=c.map(a=>t.test(a)&&k(f)[a]||a);return u(n.tag,i)};return()=>m()}});export{x as _}; +import{p}from"./index-wnyZ7Zvr.js";import{y as g,c as y,ad as u,u as k}from"./vue-chunks-ChjHxF1G.js";const x=g({name:"Highlight",props:{tag:p.string.def("span"),keys:{type:Array,default:()=>[]},color:p.string.def("var(--el-color-primary)")},emits:["click"],setup(n,{emit:o,slots:e}){const f=y(()=>n.keys.map(r=>u("span",{onClick:()=>{o("click",r)},style:{color:n.color,cursor:"pointer"}},r))),d=r=>(n.keys.forEach((c,t)=>{const i=new RegExp(c,"g");r=r.replace(i,`{{${t}}}`)}),r.split(/{{|}}/)),m=()=>{if(!(e!=null&&e.default))return null;const r=e==null?void 0:e.default()[0].children;if(!r)return e==null?void 0:e.default()[0];const c=d(r),t=/^[0-9]*$/,i=c.map(a=>t.test(a)&&k(f)[a]||a);return u(n.tag,i)};return()=>m()}});export{x as _}; diff --git a/assets/HomeView-Bh1E7SjH.js b/assets/HomeView-Dc4x2cQA.js similarity index 86% rename from assets/HomeView-Bh1E7SjH.js rename to assets/HomeView-Dc4x2cQA.js index 17b33b4f..326f84ab 100644 --- a/assets/HomeView-Bh1E7SjH.js +++ b/assets/HomeView-Dc4x2cQA.js @@ -1 +1 @@ -import"./index-DHbc4UQl.js";import{a3 as o}from"./element-plus-CUBv5pjL.js";import{y as a,z as r,A as s,O as n,L as m,a4 as i,D as p}from"./vue-chunks-ChjHxF1G.js";const f=a({__name:"HomeView",setup(l){return(u,t)=>{const e=o;return r(),s("main",null,[n(e,{class:"mt-6 !micro-build-text-r",type:"primary"},{default:m(()=>t[0]||(t[0]=[i(" 首页 ")])),_:1}),t[1]||(t[1]=p("div",{class:"pt-6 micro-build-text-r"},"不用!引入!important",-1))])}}});export{f as default}; +import"./index-wnyZ7Zvr.js";import{a3 as o}from"./element-plus-CUBv5pjL.js";import{y as a,z as r,A as s,O as n,L as m,a4 as i,D as p}from"./vue-chunks-ChjHxF1G.js";const f=a({__name:"HomeView",setup(l){return(u,t)=>{const e=o;return r(),s("main",null,[n(e,{class:"mt-6 !micro-build-text-r",type:"primary"},{default:m(()=>t[0]||(t[0]=[i(" 首页 ")])),_:1}),t[1]||(t[1]=p("div",{class:"pt-6 micro-build-text-r"},"不用!引入!important",-1))])}}});export{f as default}; diff --git a/assets/Icon-CdhVCYkm.js b/assets/Icon-BTLftY2_.js similarity index 99% rename from assets/Icon-CdhVCYkm.js rename to assets/Icon-BTLftY2_.js index 766a71a8..e8f03490 100644 --- a/assets/Icon-CdhVCYkm.js +++ b/assets/Icon-BTLftY2_.js @@ -1 +1 @@ -var qe=Object.defineProperty,He=Object.defineProperties;var Ge=Object.getOwnPropertyDescriptors;var le=Object.getOwnPropertySymbols;var Ke=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable;var fe=(e,t,n)=>t in e?qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))Ke.call(t,n)&&fe(e,n,t[n]);if(le)for(var n of le(t))Je.call(t,n)&&fe(e,n,t[n]);return e},C=(e,t)=>He(e,Ge(t));import{y as Pe,ad as ue,c as A,z as P,K as ae,L as We,u as q,aB as Xe,A as H,D as Ye,R as de,J as Ze,I as et}from"./vue-chunks-ChjHxF1G.js";import{p as _}from"./index-DHbc4UQl.js";import{B as tt}from"./element-plus-CUBv5pjL.js";const Ee=/^[a-z0-9]+(-[a-z0-9]+)*$/,$=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),l=o.pop(),u={provider:o.length>0?o[0]:r,prefix:l,name:c};return t&&!z(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const c={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!z(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:i};return t&&!z(c,n)?null:c}return null},z=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Le=Object.freeze({left:0,top:0,width:16,height:16}),R=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),V=Object.freeze(d(d({},Le),R)),J=Object.freeze(C(d({},V),{body:"",hidden:!1}));function nt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function he(e,t){const n=nt(e,t);for(const r in J)r in R?r in e&&!(r in n)&&(n[r]=R[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ot(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const c=r[s]&&r[s].parent,l=c&&i(c);l&&(o[s]=[c].concat(l))}return o[s]}return Object.keys(n).concat(Object.keys(r)).forEach(i),o}function rt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function s(c){i=he(r[c]||o[c],i)}return s(t),n.forEach(s),he(e,i)}function Oe(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=ot(e);for(const o in r){const i=r[o];i&&(t(o,rt(e,o,i)),n.push(o))}return n}const it=d({provider:"",aliases:{},not_found:{}},Le);function G(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Me(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!G(e,it))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!G(i,J))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],s=i.parent;if(!o||typeof s!="string"||!n[s]&&!r[s]||!G(i,J))return null}return t}const pe=Object.create(null);function st(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function k(e,t){const n=pe[e]||(pe[e]=Object.create(null));return n[t]||(n[t]=st(e,t))}function ne(e,t){return Me(t)?Oe(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function ct(e,t,n){try{if(typeof n.body=="string")return e.icons[t]=d({},n),!0}catch(r){}return!1}let O=!1;function Fe(e){return typeof e=="boolean"&&(O=e),O}function lt(e){const t=typeof e=="string"?$(e,!0,O):e;if(t){const n=k(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function ft(e,t){const n=$(e,!0,O);if(!n)return!1;const r=k(n.provider,n.prefix);return t?ct(r,n.name,t):(r.missing.add(n.name),!0)}function ut(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),O&&!t&&!e.prefix){let o=!1;return Me(e)&&(e.prefix="",Oe(e,(i,s)=>{ft(i,s)&&(o=!0)})),o}const n=e.prefix;if(!z({provider:t,prefix:n,name:"a"}))return!1;const r=k(t,n);return!!ne(r,e)}const Ae=Object.freeze({width:null,height:null}),_e=Object.freeze(d(d({},Ae),R)),at=/(-?[0-9.]*[0-9]+[0-9.]*)/g,dt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ge(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(at);if(r===null||!r.length)return e;const o=[];let i=r.shift(),s=dt.test(i);for(;;){if(s){const c=parseFloat(i);isNaN(c)?o.push(i):o.push(Math.ceil(c*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}function ht(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),i=e.indexOf("",i);if(s===-1)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}function pt(e,t){return e?""+e+""+t:t}function gt(e,t,n){const r=ht(e);return pt(r.defs,t+r.content+n)}const mt=e=>e==="unset"||e==="undefined"||e==="none";function yt(e,t){const n=d(d({},V),e),r=d(d({},_e),t),o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(m=>{const a=[],T=m.hFlip,v=m.vFlip;let w=m.rotate;T?v?w+=2:(a.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),a.push("scale(-1 1)"),o.top=o.left=0):v&&(a.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),a.push("scale(1 -1)"),o.top=o.left=0);let b;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:b=o.height/2+o.top,a.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:a.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,a.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}w%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),a.length&&(i=gt(i,'',""))});const s=r.width,c=r.height,l=o.width,u=o.height;let f,h;s===null?(h=c===null?"1em":c==="auto"?u:c,f=ge(h,l/u)):(f=s==="auto"?l:s,h=c===null?ge(f,u/l):c==="auto"?u:c);const g={},y=(m,a)=>{mt(a)||(g[m]=a.toString())};y("width",f),y("height",h);const I=[o.left,o.top,l,u];return g.viewBox=I.join(" "),{attributes:g,viewBox:I,body:i}}const bt=/\sid="(\S+)"/g,xt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let wt=0;function It(e,t=xt){const n=[];let r;for(;r=bt.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const s=typeof t=="function"?t(i):t+(wt++).toString(),c=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const W=Object.create(null);function vt(e,t){W[e]=t}function X(e){return W[e]||W[""]}function oe(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const re=Object.create(null),E=["https://api.simplesvg.com","https://api.unisvg.com"],D=[];for(;E.length>0;)E.length===1||Math.random()>.5?D.push(E.shift()):D.push(E.pop());re[""]=oe({resources:["https://api.iconify.design"].concat(D)});function St(e,t){const n=oe(t);return n===null?!1:(re[e]=n,!0)}function ie(e){return re[e]}const Ct=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch(t){}};let me=Ct();function kt(e,t){const n=ie(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function Tt(e){return e===404}const jt=(e,t,n)=>{const r=[],o=kt(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},c=0;return n.forEach((l,u)=>{c+=l.length+1,c>=o&&u>0&&(r.push(s),s={type:i,provider:e,prefix:t,icons:[]},c=l.length),s.icons.push(l)}),r.push(s),r};function Pt(e){if(typeof e=="string"){const t=ie(e);if(t)return t.path}return"/"}const Et=(e,t,n)=>{if(!me){n("abort",424);return}let r=Pt(t.provider);switch(t.type){case"icons":{const i=t.prefix,c=t.icons.join(","),l=new URLSearchParams({icons:c});r+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;me(e+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(Tt(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},Lt={prepare:jt,send:Et};function Ot(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,s=o.prefix,c=o.name,l=n[i]||(n[i]=Object.create(null)),u=l[s]||(l[s]=k(i,s));let f;c in u.icons?f=t.loaded:s===""||u.missing.has(c)?f=t.missing:f=t.pending;const h={provider:i,prefix:s,name:c};f.push(h)}),t}function Ne(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Mt(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,c=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const u=l.name;if(e.icons[u])s.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),s.pending.length!==c&&(n||Ne([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Ft=0;function At(e,t,n){const r=Ft++,o=Ne.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function _t(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?$(o,t,n):o;i&&r.push(i)}),r}var Nt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function zt(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let p=e.resources.slice(0);for(s=[];p.length>1;){const x=Math.floor(Math.random()*p.length);s.push(p[x]),p=p.slice(0,x).concat(p.slice(x+1))}s=s.concat(p)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const c=Date.now();let l="pending",u=0,f,h=null,g=[],y=[];typeof r=="function"&&y.push(r);function I(){h&&(clearTimeout(h),h=null)}function m(){l==="pending"&&(l="aborted"),I(),g.forEach(p=>{p.status==="pending"&&(p.status="aborted")}),g=[]}function a(p,x){x&&(y=[]),typeof p=="function"&&y.push(p)}function T(){return{startTime:c,payload:t,status:l,queriesSent:u,queriesPending:g.length,subscribe:a,abort:m}}function v(){l="failed",y.forEach(p=>{p(void 0,f)})}function w(){g.forEach(p=>{p.status==="pending"&&(p.status="aborted")}),g=[]}function b(p,x,j){const F=x!=="success";switch(g=g.filter(S=>S!==p),l){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){f=j,v();return}if(F){f=j,g.length||(s.length?U():v());return}if(I(),w(),!e.random){const S=e.resources.indexOf(p.resource);S!==-1&&S!==e.index&&(e.index=S)}l="completed",y.forEach(S=>{S(j)})}function U(){if(l!=="pending")return;I();const p=s.shift();if(p===void 0){if(g.length){h=setTimeout(()=>{I(),l==="pending"&&(w(),v())},e.timeout);return}v();return}const x={status:"pending",resource:p,callback:(j,F)=>{b(x,j,F)}};g.push(x),u++,h=setTimeout(U,e.rotate),n(p,t,x.callback)}return setTimeout(U),T}function ze(e){const t=d(d({},Nt),e);let n=[];function r(){n=n.filter(c=>c().status==="pending")}function o(c,l,u){const f=zt(t,c,l,(h,g)=>{r(),u&&u(h,g)});return n.push(f),f}function i(c){return n.find(l=>c(l))||null}return{query:o,find:i,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function ye(){}const K=Object.create(null);function Dt(e){if(!K[e]){const t=ie(e);if(!t)return;const n=ze(t),r={config:t,redundancy:n};K[e]=r}return K[e]}function Bt(e,t,n){let r,o;if(typeof e=="string"){const i=X(e);if(!i)return n(void 0,424),ye;o=i.send;const s=Dt(e);s&&(r=s.redundancy)}else{const i=oe(e);if(i){r=ze(i);const s=e.resources?e.resources[0]:"",c=X(s);c&&(o=c.send)}}return!r||!o?(n(void 0,424),ye):r.query(t,o,n)().abort}const be="iconify2",M="iconify",De=M+"-count",xe=M+"-version",Be=36e5,Rt=168,$t=50;function Y(e,t){try{return e.getItem(t)}catch(n){}}function se(e,t,n){try{return e.setItem(t,n),!0}catch(r){}}function we(e,t){try{e.removeItem(t)}catch(n){}}function Z(e,t){return se(e,De,t.toString())}function ee(e){return parseInt(Y(e,De))||0}const Q={local:!0,session:!0},Re={local:new Set,session:new Set};let ce=!1;function Vt(e){ce=e}let N=typeof window=="undefined"?{}:window;function $e(e){const t=e+"Storage";try{if(N&&N[t]&&typeof N[t].length=="number")return N[t]}catch(n){}Q[e]=!1}function Ve(e,t){const n=$e(e);if(!n)return;const r=Y(n,xe);if(r!==be){if(r){const c=ee(n);for(let l=0;l{const l=M+c.toString(),u=Y(n,l);if(typeof u=="string"){try{const f=JSON.parse(u);if(typeof f=="object"&&typeof f.cached=="number"&&f.cached>o&&typeof f.provider=="string"&&typeof f.data=="object"&&typeof f.data.prefix=="string"&&t(f,c))return!0}catch(f){}we(n,l)}};let s=ee(n);for(let c=s-1;c>=0;c--)i(c)||(c===s-1?(s--,Z(n,s)):Re[e].add(c))}function Qe(){if(!ce){Vt(!0);for(const e in Q)Ve(e,t=>{const n=t.data,r=t.provider,o=n.prefix,i=k(r,o);if(!ne(i,n).length)return!1;const s=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,s):s,!0})}}function Qt(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Q)Ve(r,o=>{const i=o.data;return o.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function Ut(e,t){ce||Qe();function n(r){let o;if(!Q[r]||!(o=$e(r)))return;const i=Re[r];let s;if(i.size)i.delete(s=Array.from(i).shift());else if(s=ee(o),s>=$t||!Z(o,s+1))return;const c={cached:Math.floor(Date.now()/Be),provider:e.provider,data:t};return se(o,M+s.toString(),JSON.stringify(c))}t.lastModified&&!Qt(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ie(){}function qt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Mt(e)}))}function Ht(e){const t=[],n=[];return e.forEach(r=>{(r.match(Ee)?t:n).push(r)}),{valid:t,invalid:n}}function L(e,t,n,r){function o(){const i=e.pendingIcons;t.forEach(s=>{i&&i.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!ne(e,n).length){o();return}r&&Ut(e,n)}catch(i){console.error(i)}o(),qt(e)}function ve(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function Gt(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){ve(e.loadIcons(o,r,n),f=>{L(e,o,f,!1)});return}if(i){o.forEach(f=>{const h=i(f,r,n);ve(h,g=>{const y=g?{prefix:r,icons:{[f]:g}}:null;L(e,[f],y,!1)})});return}const{valid:s,invalid:c}=Ht(o);if(c.length&&L(e,c,null,!1),!s.length)return;const l=r.match(Ee)?X(n):null;if(!l){L(e,s,null,!1);return}l.prepare(n,r,s).forEach(f=>{Bt(n,f,h=>{L(e,f.icons,h,!0)})})}))}const Kt=(e,t)=>{const n=_t(e,!0,Fe()),r=Ot(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Ie)}),()=>{l=!1}}const o=Object.create(null),i=[];let s,c;return r.pending.forEach(l=>{const{provider:u,prefix:f}=l;if(f===c&&u===s)return;s=u,c=f,i.push(k(u,f));const h=o[u]||(o[u]=Object.create(null));h[f]||(h[f]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:f,name:h}=l,g=k(u,f),y=g.pendingIcons||(g.pendingIcons=new Set);y.has(h)||(y.add(h),o[u][f].push(h))}),i.forEach(l=>{const u=o[l.provider][l.prefix];u.length&&Gt(l,u)}),t?At(t,r,i):Ie};function Jt(e,t){const n=d({},e);for(const r in t){const o=t[r],i=typeof o;r in Ae?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Wt=/[\s,]+/;function Xt(e,t){t.split(Wt).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Yt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}function Zt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function en(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function tn(e){return"data:image/svg+xml,"+en(e)}function nn(e){return'url("'+tn(e)+'")'}const Se=C(d({},_e),{inline:!1}),on={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},rn={display:"inline-block"},te={backgroundColor:"currentColor"},Ue={backgroundColor:"transparent"},Ce={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ke={webkitMask:te,mask:te,background:Ue};for(const e in ke){const t=ke[e];for(const n in Ce)t[e+n]=Ce[n]}const B={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";B[e+"-flip"]=t,B[e.slice(0,1)+"-flip"]=t,B[e+"Flip"]=t});function Te(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const je=(e,t)=>{const n=Jt(Se,t),r=d({},on),o=t.mode||"svg",i={},s=t.style,c=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const a=t[m];if(a!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[m]=a===!0||a==="true"||a===1;break;case"flip":typeof a=="string"&&Xt(n,a);break;case"color":i.color=a;break;case"rotate":typeof a=="string"?n[m]=Yt(a):typeof a=="number"&&(n[m]=a);break;case"ariaHidden":case"aria-hidden":a!==!0&&a!=="true"&&delete r["aria-hidden"];break;default:{const T=B[m];T?(a===!0||a==="true"||a===1)&&(n[T]=!0):Se[m]===void 0&&(r[m]=a)}}}const l=yt(e,n),u=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style=d(d({},i),c),Object.assign(r,u);let m=0,a=t.id;return typeof a=="string"&&(a=a.replace(/-/g,"_")),r.innerHTML=It(l.body,a?()=>a+"ID"+m++:"iconifyVue"),ue("svg",r)}const{body:f,width:h,height:g}=e,y=o==="mask"||(o==="bg"?!1:f.indexOf("currentColor")!==-1),I=Zt(f,C(d({},u),{width:h+"",height:g+""}));return r.style=d(d(d(C(d({},i),{"--svg":nn(I),width:Te(u.width),height:Te(u.height)}),rn),y?te:Ue),c),ue("span",r)};Fe(!0);vt("",Lt);if(typeof document!="undefined"&&typeof window!="undefined"){Qe();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!ut(r))&&console.error(n)}catch(o){console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;St(n,o)||console.error(r)}catch(o){console.error(r)}}}}const sn=C(d({},V),{body:""}),cn=Pe({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t,n){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=$(e,!1,!0))===null)return this.abortLoading(),null;let o=lt(r);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:Kt([r],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e)),n){o=Object.assign({},o);const s=n(o.body,r.name,r.prefix,r.provider);typeof s=="string"&&(o.body=s)}const i=["iconify"];return r.prefix!==""&&i.push("iconify--"+r.prefix),r.provider!==""&&i.push("iconify--"+r.provider),{data:o,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!t)return je(sn,e);let n=e;return t.classes&&(n=C(d({},e),{class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")})),je(d(d({},V),t.data),n)}}),ln={key:0,"aria-hidden":"true"},fn=["xlink:href"],un=Pe({__name:"Icon",props:{icon:_.string,color:_.string,size:_.number.def(16),hoverColor:_.string},setup(e){Xe(s=>({"62c74319":e.hoverColor}));const t=e,n=A(()=>t.icon.startsWith("svg-icon:")),r=A(()=>q(n)?`#icon-${t.icon.split("svg-icon:")[1]}`:t.icon),o=A(()=>!0),i=A(()=>{const{color:s,size:c}=t;return{fontSize:`${c}px`,color:s}});return(s,c)=>(P(),ae(q(tt),{class:"icon",size:e.size,color:e.color},{default:We(()=>[n.value?(P(),H("svg",ln,[Ye("use",{"xlink:href":r.value},null,8,fn)])):(P(),H(et,{key:1},[o.value?(P(),ae(q(cn),{key:0,icon:e.icon,style:de(i.value)},null,8,["icon","style"])):(P(),H("div",{key:1,class:Ze(`${e.icon} iconify`),style:de(i.value)},null,6))],64))]),_:1},8,["size","color"]))}}),an=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},mn=an(un,[["__scopeId","data-v-49dab17b"]]);export{mn as I,an as _}; +var qe=Object.defineProperty,He=Object.defineProperties;var Ge=Object.getOwnPropertyDescriptors;var le=Object.getOwnPropertySymbols;var Ke=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable;var fe=(e,t,n)=>t in e?qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))Ke.call(t,n)&&fe(e,n,t[n]);if(le)for(var n of le(t))Je.call(t,n)&&fe(e,n,t[n]);return e},C=(e,t)=>He(e,Ge(t));import{y as Pe,ad as ue,c as A,z as P,K as ae,L as We,u as q,aB as Xe,A as H,D as Ye,R as de,J as Ze,I as et}from"./vue-chunks-ChjHxF1G.js";import{p as _}from"./index-wnyZ7Zvr.js";import{B as tt}from"./element-plus-CUBv5pjL.js";const Ee=/^[a-z0-9]+(-[a-z0-9]+)*$/,$=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),l=o.pop(),u={provider:o.length>0?o[0]:r,prefix:l,name:c};return t&&!z(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const c={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!z(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:i};return t&&!z(c,n)?null:c}return null},z=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Le=Object.freeze({left:0,top:0,width:16,height:16}),R=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),V=Object.freeze(d(d({},Le),R)),J=Object.freeze(C(d({},V),{body:"",hidden:!1}));function nt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function he(e,t){const n=nt(e,t);for(const r in J)r in R?r in e&&!(r in n)&&(n[r]=R[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ot(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const c=r[s]&&r[s].parent,l=c&&i(c);l&&(o[s]=[c].concat(l))}return o[s]}return Object.keys(n).concat(Object.keys(r)).forEach(i),o}function rt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function s(c){i=he(r[c]||o[c],i)}return s(t),n.forEach(s),he(e,i)}function Oe(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=ot(e);for(const o in r){const i=r[o];i&&(t(o,rt(e,o,i)),n.push(o))}return n}const it=d({provider:"",aliases:{},not_found:{}},Le);function G(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Me(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!G(e,it))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!G(i,J))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],s=i.parent;if(!o||typeof s!="string"||!n[s]&&!r[s]||!G(i,J))return null}return t}const pe=Object.create(null);function st(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function k(e,t){const n=pe[e]||(pe[e]=Object.create(null));return n[t]||(n[t]=st(e,t))}function ne(e,t){return Me(t)?Oe(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function ct(e,t,n){try{if(typeof n.body=="string")return e.icons[t]=d({},n),!0}catch(r){}return!1}let O=!1;function Fe(e){return typeof e=="boolean"&&(O=e),O}function lt(e){const t=typeof e=="string"?$(e,!0,O):e;if(t){const n=k(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function ft(e,t){const n=$(e,!0,O);if(!n)return!1;const r=k(n.provider,n.prefix);return t?ct(r,n.name,t):(r.missing.add(n.name),!0)}function ut(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),O&&!t&&!e.prefix){let o=!1;return Me(e)&&(e.prefix="",Oe(e,(i,s)=>{ft(i,s)&&(o=!0)})),o}const n=e.prefix;if(!z({provider:t,prefix:n,name:"a"}))return!1;const r=k(t,n);return!!ne(r,e)}const Ae=Object.freeze({width:null,height:null}),_e=Object.freeze(d(d({},Ae),R)),at=/(-?[0-9.]*[0-9]+[0-9.]*)/g,dt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ge(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(at);if(r===null||!r.length)return e;const o=[];let i=r.shift(),s=dt.test(i);for(;;){if(s){const c=parseFloat(i);isNaN(c)?o.push(i):o.push(Math.ceil(c*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}function ht(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),i=e.indexOf("",i);if(s===-1)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}function pt(e,t){return e?""+e+""+t:t}function gt(e,t,n){const r=ht(e);return pt(r.defs,t+r.content+n)}const mt=e=>e==="unset"||e==="undefined"||e==="none";function yt(e,t){const n=d(d({},V),e),r=d(d({},_e),t),o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(m=>{const a=[],T=m.hFlip,v=m.vFlip;let w=m.rotate;T?v?w+=2:(a.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),a.push("scale(-1 1)"),o.top=o.left=0):v&&(a.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),a.push("scale(1 -1)"),o.top=o.left=0);let b;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:b=o.height/2+o.top,a.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:a.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,a.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}w%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),a.length&&(i=gt(i,'',""))});const s=r.width,c=r.height,l=o.width,u=o.height;let f,h;s===null?(h=c===null?"1em":c==="auto"?u:c,f=ge(h,l/u)):(f=s==="auto"?l:s,h=c===null?ge(f,u/l):c==="auto"?u:c);const g={},y=(m,a)=>{mt(a)||(g[m]=a.toString())};y("width",f),y("height",h);const I=[o.left,o.top,l,u];return g.viewBox=I.join(" "),{attributes:g,viewBox:I,body:i}}const bt=/\sid="(\S+)"/g,xt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let wt=0;function It(e,t=xt){const n=[];let r;for(;r=bt.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const s=typeof t=="function"?t(i):t+(wt++).toString(),c=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const W=Object.create(null);function vt(e,t){W[e]=t}function X(e){return W[e]||W[""]}function oe(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const re=Object.create(null),E=["https://api.simplesvg.com","https://api.unisvg.com"],D=[];for(;E.length>0;)E.length===1||Math.random()>.5?D.push(E.shift()):D.push(E.pop());re[""]=oe({resources:["https://api.iconify.design"].concat(D)});function St(e,t){const n=oe(t);return n===null?!1:(re[e]=n,!0)}function ie(e){return re[e]}const Ct=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch(t){}};let me=Ct();function kt(e,t){const n=ie(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function Tt(e){return e===404}const jt=(e,t,n)=>{const r=[],o=kt(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},c=0;return n.forEach((l,u)=>{c+=l.length+1,c>=o&&u>0&&(r.push(s),s={type:i,provider:e,prefix:t,icons:[]},c=l.length),s.icons.push(l)}),r.push(s),r};function Pt(e){if(typeof e=="string"){const t=ie(e);if(t)return t.path}return"/"}const Et=(e,t,n)=>{if(!me){n("abort",424);return}let r=Pt(t.provider);switch(t.type){case"icons":{const i=t.prefix,c=t.icons.join(","),l=new URLSearchParams({icons:c});r+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;me(e+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(Tt(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},Lt={prepare:jt,send:Et};function Ot(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,s=o.prefix,c=o.name,l=n[i]||(n[i]=Object.create(null)),u=l[s]||(l[s]=k(i,s));let f;c in u.icons?f=t.loaded:s===""||u.missing.has(c)?f=t.missing:f=t.pending;const h={provider:i,prefix:s,name:c};f.push(h)}),t}function Ne(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Mt(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,c=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const u=l.name;if(e.icons[u])s.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),s.pending.length!==c&&(n||Ne([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Ft=0;function At(e,t,n){const r=Ft++,o=Ne.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function _t(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?$(o,t,n):o;i&&r.push(i)}),r}var Nt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function zt(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let p=e.resources.slice(0);for(s=[];p.length>1;){const x=Math.floor(Math.random()*p.length);s.push(p[x]),p=p.slice(0,x).concat(p.slice(x+1))}s=s.concat(p)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const c=Date.now();let l="pending",u=0,f,h=null,g=[],y=[];typeof r=="function"&&y.push(r);function I(){h&&(clearTimeout(h),h=null)}function m(){l==="pending"&&(l="aborted"),I(),g.forEach(p=>{p.status==="pending"&&(p.status="aborted")}),g=[]}function a(p,x){x&&(y=[]),typeof p=="function"&&y.push(p)}function T(){return{startTime:c,payload:t,status:l,queriesSent:u,queriesPending:g.length,subscribe:a,abort:m}}function v(){l="failed",y.forEach(p=>{p(void 0,f)})}function w(){g.forEach(p=>{p.status==="pending"&&(p.status="aborted")}),g=[]}function b(p,x,j){const F=x!=="success";switch(g=g.filter(S=>S!==p),l){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){f=j,v();return}if(F){f=j,g.length||(s.length?U():v());return}if(I(),w(),!e.random){const S=e.resources.indexOf(p.resource);S!==-1&&S!==e.index&&(e.index=S)}l="completed",y.forEach(S=>{S(j)})}function U(){if(l!=="pending")return;I();const p=s.shift();if(p===void 0){if(g.length){h=setTimeout(()=>{I(),l==="pending"&&(w(),v())},e.timeout);return}v();return}const x={status:"pending",resource:p,callback:(j,F)=>{b(x,j,F)}};g.push(x),u++,h=setTimeout(U,e.rotate),n(p,t,x.callback)}return setTimeout(U),T}function ze(e){const t=d(d({},Nt),e);let n=[];function r(){n=n.filter(c=>c().status==="pending")}function o(c,l,u){const f=zt(t,c,l,(h,g)=>{r(),u&&u(h,g)});return n.push(f),f}function i(c){return n.find(l=>c(l))||null}return{query:o,find:i,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function ye(){}const K=Object.create(null);function Dt(e){if(!K[e]){const t=ie(e);if(!t)return;const n=ze(t),r={config:t,redundancy:n};K[e]=r}return K[e]}function Bt(e,t,n){let r,o;if(typeof e=="string"){const i=X(e);if(!i)return n(void 0,424),ye;o=i.send;const s=Dt(e);s&&(r=s.redundancy)}else{const i=oe(e);if(i){r=ze(i);const s=e.resources?e.resources[0]:"",c=X(s);c&&(o=c.send)}}return!r||!o?(n(void 0,424),ye):r.query(t,o,n)().abort}const be="iconify2",M="iconify",De=M+"-count",xe=M+"-version",Be=36e5,Rt=168,$t=50;function Y(e,t){try{return e.getItem(t)}catch(n){}}function se(e,t,n){try{return e.setItem(t,n),!0}catch(r){}}function we(e,t){try{e.removeItem(t)}catch(n){}}function Z(e,t){return se(e,De,t.toString())}function ee(e){return parseInt(Y(e,De))||0}const Q={local:!0,session:!0},Re={local:new Set,session:new Set};let ce=!1;function Vt(e){ce=e}let N=typeof window=="undefined"?{}:window;function $e(e){const t=e+"Storage";try{if(N&&N[t]&&typeof N[t].length=="number")return N[t]}catch(n){}Q[e]=!1}function Ve(e,t){const n=$e(e);if(!n)return;const r=Y(n,xe);if(r!==be){if(r){const c=ee(n);for(let l=0;l{const l=M+c.toString(),u=Y(n,l);if(typeof u=="string"){try{const f=JSON.parse(u);if(typeof f=="object"&&typeof f.cached=="number"&&f.cached>o&&typeof f.provider=="string"&&typeof f.data=="object"&&typeof f.data.prefix=="string"&&t(f,c))return!0}catch(f){}we(n,l)}};let s=ee(n);for(let c=s-1;c>=0;c--)i(c)||(c===s-1?(s--,Z(n,s)):Re[e].add(c))}function Qe(){if(!ce){Vt(!0);for(const e in Q)Ve(e,t=>{const n=t.data,r=t.provider,o=n.prefix,i=k(r,o);if(!ne(i,n).length)return!1;const s=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,s):s,!0})}}function Qt(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Q)Ve(r,o=>{const i=o.data;return o.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function Ut(e,t){ce||Qe();function n(r){let o;if(!Q[r]||!(o=$e(r)))return;const i=Re[r];let s;if(i.size)i.delete(s=Array.from(i).shift());else if(s=ee(o),s>=$t||!Z(o,s+1))return;const c={cached:Math.floor(Date.now()/Be),provider:e.provider,data:t};return se(o,M+s.toString(),JSON.stringify(c))}t.lastModified&&!Qt(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ie(){}function qt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Mt(e)}))}function Ht(e){const t=[],n=[];return e.forEach(r=>{(r.match(Ee)?t:n).push(r)}),{valid:t,invalid:n}}function L(e,t,n,r){function o(){const i=e.pendingIcons;t.forEach(s=>{i&&i.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!ne(e,n).length){o();return}r&&Ut(e,n)}catch(i){console.error(i)}o(),qt(e)}function ve(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function Gt(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){ve(e.loadIcons(o,r,n),f=>{L(e,o,f,!1)});return}if(i){o.forEach(f=>{const h=i(f,r,n);ve(h,g=>{const y=g?{prefix:r,icons:{[f]:g}}:null;L(e,[f],y,!1)})});return}const{valid:s,invalid:c}=Ht(o);if(c.length&&L(e,c,null,!1),!s.length)return;const l=r.match(Ee)?X(n):null;if(!l){L(e,s,null,!1);return}l.prepare(n,r,s).forEach(f=>{Bt(n,f,h=>{L(e,f.icons,h,!0)})})}))}const Kt=(e,t)=>{const n=_t(e,!0,Fe()),r=Ot(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Ie)}),()=>{l=!1}}const o=Object.create(null),i=[];let s,c;return r.pending.forEach(l=>{const{provider:u,prefix:f}=l;if(f===c&&u===s)return;s=u,c=f,i.push(k(u,f));const h=o[u]||(o[u]=Object.create(null));h[f]||(h[f]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:f,name:h}=l,g=k(u,f),y=g.pendingIcons||(g.pendingIcons=new Set);y.has(h)||(y.add(h),o[u][f].push(h))}),i.forEach(l=>{const u=o[l.provider][l.prefix];u.length&&Gt(l,u)}),t?At(t,r,i):Ie};function Jt(e,t){const n=d({},e);for(const r in t){const o=t[r],i=typeof o;r in Ae?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Wt=/[\s,]+/;function Xt(e,t){t.split(Wt).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Yt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}function Zt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function en(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function tn(e){return"data:image/svg+xml,"+en(e)}function nn(e){return'url("'+tn(e)+'")'}const Se=C(d({},_e),{inline:!1}),on={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},rn={display:"inline-block"},te={backgroundColor:"currentColor"},Ue={backgroundColor:"transparent"},Ce={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ke={webkitMask:te,mask:te,background:Ue};for(const e in ke){const t=ke[e];for(const n in Ce)t[e+n]=Ce[n]}const B={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";B[e+"-flip"]=t,B[e.slice(0,1)+"-flip"]=t,B[e+"Flip"]=t});function Te(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const je=(e,t)=>{const n=Jt(Se,t),r=d({},on),o=t.mode||"svg",i={},s=t.style,c=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const a=t[m];if(a!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[m]=a===!0||a==="true"||a===1;break;case"flip":typeof a=="string"&&Xt(n,a);break;case"color":i.color=a;break;case"rotate":typeof a=="string"?n[m]=Yt(a):typeof a=="number"&&(n[m]=a);break;case"ariaHidden":case"aria-hidden":a!==!0&&a!=="true"&&delete r["aria-hidden"];break;default:{const T=B[m];T?(a===!0||a==="true"||a===1)&&(n[T]=!0):Se[m]===void 0&&(r[m]=a)}}}const l=yt(e,n),u=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style=d(d({},i),c),Object.assign(r,u);let m=0,a=t.id;return typeof a=="string"&&(a=a.replace(/-/g,"_")),r.innerHTML=It(l.body,a?()=>a+"ID"+m++:"iconifyVue"),ue("svg",r)}const{body:f,width:h,height:g}=e,y=o==="mask"||(o==="bg"?!1:f.indexOf("currentColor")!==-1),I=Zt(f,C(d({},u),{width:h+"",height:g+""}));return r.style=d(d(d(C(d({},i),{"--svg":nn(I),width:Te(u.width),height:Te(u.height)}),rn),y?te:Ue),c),ue("span",r)};Fe(!0);vt("",Lt);if(typeof document!="undefined"&&typeof window!="undefined"){Qe();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!ut(r))&&console.error(n)}catch(o){console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;St(n,o)||console.error(r)}catch(o){console.error(r)}}}}const sn=C(d({},V),{body:""}),cn=Pe({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t,n){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=$(e,!1,!0))===null)return this.abortLoading(),null;let o=lt(r);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:Kt([r],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e)),n){o=Object.assign({},o);const s=n(o.body,r.name,r.prefix,r.provider);typeof s=="string"&&(o.body=s)}const i=["iconify"];return r.prefix!==""&&i.push("iconify--"+r.prefix),r.provider!==""&&i.push("iconify--"+r.provider),{data:o,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!t)return je(sn,e);let n=e;return t.classes&&(n=C(d({},e),{class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")})),je(d(d({},V),t.data),n)}}),ln={key:0,"aria-hidden":"true"},fn=["xlink:href"],un=Pe({__name:"Icon",props:{icon:_.string,color:_.string,size:_.number.def(16),hoverColor:_.string},setup(e){Xe(s=>({"62c74319":e.hoverColor}));const t=e,n=A(()=>t.icon.startsWith("svg-icon:")),r=A(()=>q(n)?`#icon-${t.icon.split("svg-icon:")[1]}`:t.icon),o=A(()=>!0),i=A(()=>{const{color:s,size:c}=t;return{fontSize:`${c}px`,color:s}});return(s,c)=>(P(),ae(q(tt),{class:"icon",size:e.size,color:e.color},{default:We(()=>[n.value?(P(),H("svg",ln,[Ye("use",{"xlink:href":r.value},null,8,fn)])):(P(),H(et,{key:1},[o.value?(P(),ae(q(cn),{key:0,icon:e.icon,style:de(i.value)},null,8,["icon","style"])):(P(),H("div",{key:1,class:Ze(`${e.icon} iconify`),style:de(i.value)},null,6))],64))]),_:1},8,["size","color"]))}}),an=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},mn=an(un,[["__scopeId","data-v-49dab17b"]]);export{mn as I,an as _}; diff --git a/assets/Icon-DlM7WIYN.js b/assets/Icon-Dqr2xHxm.js similarity index 81% rename from assets/Icon-DlM7WIYN.js rename to assets/Icon-Dqr2xHxm.js index 8f39eb0e..3ab18670 100644 --- a/assets/Icon-DlM7WIYN.js +++ b/assets/Icon-Dqr2xHxm.js @@ -1 +1 @@ -import{_ as l}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as y}from"./Infotip.vue_vue_type_script_setup_true_lang-nMjZ8saZ.js";import{u as s}from"./useIcon-CKHK9-or.js";import{_ as c}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{I as i}from"./Icon-CdhVCYkm.js";import{y as g,z as k,A as I,O as e,u as o,L as t,D as m,a4 as a,I as v}from"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Highlight.vue_vue_type_script_lang-DurFEquh.js";const x={class:"flex justify-between"},b={class:"flex justify-between"},w={class:"flex justify-between"},L=g({__name:"Icon",setup(B){const p=f=>{f==="访问地址"&&window.open("https://iconify.design/")},r=s({icon:"svg-icon:peoples"}),u=s({icon:"svg-icon:money"}),d=s({icon:"ep:aim"}),_=s({icon:"ep:alarm-clock"});return(f,n)=>(k(),I(v,null,[e(o(y),{"show-index":!1,title:"推荐使用 Iconify 组件",schema:[{label:"Iconify组件基本包含所有的图标,你可以查询到你想要的任何图标。并且打包只会打包所用到的图标。",keys:["Iconify"]},{label:"访问地址",keys:["访问地址"]}],onClick:p}),e(o(l),{title:"本地图标"},{default:t(()=>[m("div",x,[e(o(i),{icon:"svg-icon:peoples"}),e(o(i),{icon:"svg-icon:money"}),e(o(i),{icon:"svg-icon:message"}),e(o(i),{icon:"svg-icon:shopping"})])]),_:1}),e(o(l),{title:"Iconify组件"},{default:t(()=>[m("div",b,[e(o(i),{icon:"ep:aim"}),e(o(i),{icon:"ep:alarm-clock"}),e(o(i),{icon:"ep:baseball"}),e(o(i),{icon:"ep:chat-line-round"})])]),_:1}),e(o(l),{title:"useIcon"},{default:t(()=>[m("div",w,[e(o(c),{icon:o(r)},{default:t(()=>n[0]||(n[0]=[a("Button")])),_:1},8,["icon"]),e(o(c),{icon:o(u)},{default:t(()=>n[1]||(n[1]=[a("Button")])),_:1},8,["icon"]),e(o(c),{icon:o(d)},{default:t(()=>n[2]||(n[2]=[a("Button")])),_:1},8,["icon"]),e(o(c),{icon:o(_)},{default:t(()=>n[3]||(n[3]=[a("Button")])),_:1},8,["icon"])])]),_:1})],64))}});export{L as default}; +import{_ as l}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as y}from"./Infotip.vue_vue_type_script_setup_true_lang-DijMvXPW.js";import{u as s}from"./useIcon-B724d8dT.js";import{_ as c}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{I as i}from"./Icon-BTLftY2_.js";import{y as g,z as k,A as I,O as e,u as o,L as t,D as m,a4 as a,I as v}from"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Highlight.vue_vue_type_script_lang-BFIi4_k_.js";const x={class:"flex justify-between"},b={class:"flex justify-between"},w={class:"flex justify-between"},L=g({__name:"Icon",setup(B){const p=f=>{f==="访问地址"&&window.open("https://iconify.design/")},r=s({icon:"svg-icon:peoples"}),u=s({icon:"svg-icon:money"}),d=s({icon:"ep:aim"}),_=s({icon:"ep:alarm-clock"});return(f,n)=>(k(),I(v,null,[e(o(y),{"show-index":!1,title:"推荐使用 Iconify 组件",schema:[{label:"Iconify组件基本包含所有的图标,你可以查询到你想要的任何图标。并且打包只会打包所用到的图标。",keys:["Iconify"]},{label:"访问地址",keys:["访问地址"]}],onClick:p}),e(o(l),{title:"本地图标"},{default:t(()=>[m("div",x,[e(o(i),{icon:"svg-icon:peoples"}),e(o(i),{icon:"svg-icon:money"}),e(o(i),{icon:"svg-icon:message"}),e(o(i),{icon:"svg-icon:shopping"})])]),_:1}),e(o(l),{title:"Iconify组件"},{default:t(()=>[m("div",b,[e(o(i),{icon:"ep:aim"}),e(o(i),{icon:"ep:alarm-clock"}),e(o(i),{icon:"ep:baseball"}),e(o(i),{icon:"ep:chat-line-round"})])]),_:1}),e(o(l),{title:"useIcon"},{default:t(()=>[m("div",w,[e(o(c),{icon:o(r)},{default:t(()=>n[0]||(n[0]=[a("Button")])),_:1},8,["icon"]),e(o(c),{icon:o(u)},{default:t(()=>n[1]||(n[1]=[a("Button")])),_:1},8,["icon"]),e(o(c),{icon:o(d)},{default:t(()=>n[2]||(n[2]=[a("Button")])),_:1},8,["icon"]),e(o(c),{icon:o(_)},{default:t(()=>n[3]||(n[3]=[a("Button")])),_:1},8,["icon"])])]),_:1})],64))}});export{L as default}; diff --git a/assets/IconPicker-DQ9E_oKs.js b/assets/IconPicker-DRoe2BX4.js similarity index 99% rename from assets/IconPicker-DQ9E_oKs.js rename to assets/IconPicker-DRoe2BX4.js index 764a9c45..e18c0b40 100644 --- a/assets/IconPicker-DQ9E_oKs.js +++ b/assets/IconPicker-DRoe2BX4.js @@ -1 +1 @@ -var j=(v,u,n)=>new Promise((x,p)=>{var l=s=>{try{g(n.next(s))}catch(f){p(f)}},q=s=>{try{g(n.throw(s))}catch(f){p(f)}},g=s=>s.done?x(s.value):Promise.resolve(s.value).then(l,q);g((n=n.apply(v,u)).next())});import{I as D,_ as M}from"./Icon-CdhVCYkm.js";import{u as L}from"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css *//* empty css */import{y as $,aC as F,c as b,u as e,r as k,w as H,n as _,z as h,A as y,O as o,L as w,D as V,R as S,K,H as O,I as C,a3 as E}from"./vue-chunks-ChjHxF1G.js";import{A as P,f as R,a4 as W,a5 as G,a6 as J,a7 as Q}from"./element-plus-CUBv5pjL.js";const X={name:"Element Plus",prefix:"ep",icons:["ep:add-location","ep:aim","ep:alarm-clock","ep:apple","ep:arrow-down","ep:arrow-down-bold","ep:arrow-left","ep:arrow-left-bold","ep:arrow-right","ep:arrow-right-bold","ep:arrow-up","ep:arrow-up-bold","ep:avatar","ep:back","ep:baseball","ep:basketball","ep:bell","ep:bell-filled","ep:bicycle","ep:bottom","ep:bottom-left","ep:bottom-right","ep:bowl","ep:box","ep:briefcase","ep:brush","ep:brush-filled","ep:burger","ep:calendar","ep:camera","ep:camera-filled","ep:caret-bottom","ep:caret-left","ep:caret-right","ep:caret-top","ep:cellphone","ep:chat-dot-round","ep:chat-dot-square","ep:chat-line-round","ep:chat-line-square","ep:chat-round","ep:chat-square","ep:check","ep:checked","ep:cherry","ep:chicken","ep:chrome-filled","ep:circle-check","ep:circle-check-filled","ep:circle-close","ep:circle-close-filled","ep:circle-plus","ep:circle-plus-filled","ep:clock","ep:close","ep:close-bold","ep:cloudy","ep:coffee","ep:coffee-cup","ep:coin","ep:cold-drink","ep:collection","ep:collection-tag","ep:comment","ep:compass","ep:connection","ep:coordinate","ep:copy-document","ep:cpu","ep:credit-card","ep:crop","ep:d-arrow-left","ep:d-arrow-right","ep:d-caret","ep:data-analysis","ep:data-board","ep:data-line","ep:delete","ep:delete-filled","ep:delete-location","ep:dessert","ep:discount","ep:dish","ep:dish-dot","ep:document","ep:document-add","ep:document-checked","ep:document-copy","ep:document-delete","ep:document-remove","ep:download","ep:drizzling","ep:edit","ep:edit-pen","ep:eleme","ep:eleme-filled","ep:element-plus","ep:expand","ep:failed","ep:female","ep:files","ep:film","ep:filter","ep:finished","ep:first-aid-kit","ep:flag","ep:fold","ep:folder","ep:folder-add","ep:folder-checked","ep:folder-delete","ep:folder-opened","ep:folder-remove","ep:food","ep:football","ep:fork-spoon","ep:fries","ep:full-screen","ep:goblet","ep:goblet-full","ep:goblet-square","ep:goblet-square-full","ep:gold-medal","ep:goods","ep:goods-filled","ep:grape","ep:grid","ep:guide","ep:handbag","ep:headset","ep:help","ep:help-filled","ep:hide","ep:histogram","ep:home-filled","ep:hot-water","ep:house","ep:ice-cream","ep:ice-cream-round","ep:ice-cream-square","ep:ice-drink","ep:ice-tea","ep:info-filled","ep:iphone","ep:key","ep:knife-fork","ep:lightning","ep:link","ep:list","ep:loading","ep:location","ep:location-filled","ep:location-information","ep:lock","ep:lollipop","ep:magic-stick","ep:magnet","ep:male","ep:management","ep:map-location","ep:medal","ep:memo","ep:menu","ep:message","ep:message-box","ep:mic","ep:microphone","ep:milk-tea","ep:minus","ep:money","ep:monitor","ep:moon","ep:moon-night","ep:more","ep:more-filled","ep:mostly-cloudy","ep:mouse","ep:mug","ep:mute","ep:mute-notification","ep:no-smoking","ep:notebook","ep:notification","ep:odometer","ep:office-building","ep:open","ep:operation","ep:opportunity","ep:orange","ep:paperclip","ep:partly-cloudy","ep:pear","ep:phone","ep:phone-filled","ep:picture","ep:picture-filled","ep:picture-rounded","ep:pie-chart","ep:place","ep:platform","ep:plus","ep:pointer","ep:position","ep:postcard","ep:pouring","ep:present","ep:price-tag","ep:printer","ep:promotion","ep:quartz-watch","ep:question-filled","ep:rank","ep:reading","ep:reading-lamp","ep:refresh","ep:refresh-left","ep:refresh-right","ep:refrigerator","ep:remove","ep:remove-filled","ep:right","ep:scale-to-original","ep:school","ep:scissor","ep:search","ep:select","ep:sell","ep:semi-select","ep:service","ep:set-up","ep:setting","ep:share","ep:ship","ep:shop","ep:shopping-bag","ep:shopping-cart","ep:shopping-cart-full","ep:shopping-trolley","ep:smoking","ep:soccer","ep:sold-out","ep:sort","ep:sort-down","ep:sort-up","ep:stamp","ep:star","ep:star-filled","ep:stopwatch","ep:success-filled","ep:sugar","ep:suitcase","ep:suitcase-line","ep:sunny","ep:sunrise","ep:sunset","ep:switch","ep:switch-button","ep:switch-filled","ep:takeaway-box","ep:ticket","ep:tickets","ep:timer","ep:toilet-paper","ep:tools","ep:top","ep:top-left","ep:top-right","ep:trend-charts","ep:trophy","ep:trophy-base","ep:turn-off","ep:umbrella","ep:unlock","ep:upload","ep:upload-filled","ep:user","ep:user-filled","ep:van","ep:video-camera","ep:video-camera-filled","ep:video-pause","ep:video-play","ep:view","ep:wallet","ep:wallet-filled","ep:warn-triangle-filled","ep:warning","ep:warning-filled","ep:watch","ep:watermelon","ep:wind-power","ep:zoom-in","ep:zoom-out"]},Y={name:"Ant Design Icons",prefix:"ant-design",icons:["ant-design:account-book-filled","ant-design:account-book-outlined","ant-design:account-book-twotone","ant-design:aim-outlined","ant-design:alert-filled","ant-design:alert-outlined","ant-design:alert-twotone","ant-design:alibaba-outlined","ant-design:align-center-outlined","ant-design:align-left-outlined","ant-design:align-right-outlined","ant-design:alipay-circle-filled","ant-design:alipay-circle-outlined","ant-design:alipay-outlined","ant-design:alipay-square-filled","ant-design:aliwangwang-filled","ant-design:aliwangwang-outlined","ant-design:aliyun-outlined","ant-design:amazon-circle-filled","ant-design:amazon-outlined","ant-design:amazon-square-filled","ant-design:android-filled","ant-design:android-outlined","ant-design:ant-cloud-outlined","ant-design:ant-design-outlined","ant-design:apartment-outlined","ant-design:api-filled","ant-design:api-outlined","ant-design:api-twotone","ant-design:apple-filled","ant-design:apple-outlined","ant-design:appstore-add-outlined","ant-design:appstore-filled","ant-design:appstore-outlined","ant-design:appstore-twotone","ant-design:area-chart-outlined","ant-design:arrow-down-outlined","ant-design:arrow-left-outlined","ant-design:arrow-right-outlined","ant-design:arrow-up-outlined","ant-design:arrows-alt-outlined","ant-design:audio-filled","ant-design:audio-muted-outlined","ant-design:audio-outlined","ant-design:audio-twotone","ant-design:audit-outlined","ant-design:backward-filled","ant-design:backward-outlined","ant-design:bank-filled","ant-design:bank-outlined","ant-design:bank-twotone","ant-design:bar-chart-outlined","ant-design:barcode-outlined","ant-design:bars-outlined","ant-design:behance-circle-filled","ant-design:behance-outlined","ant-design:behance-square-filled","ant-design:behance-square-outlined","ant-design:bell-filled","ant-design:bell-outlined","ant-design:bell-twotone","ant-design:bg-colors-outlined","ant-design:block-outlined","ant-design:bold-outlined","ant-design:book-filled","ant-design:book-outlined","ant-design:book-twotone","ant-design:border-bottom-outlined","ant-design:border-horizontal-outlined","ant-design:border-inner-outlined","ant-design:border-left-outlined","ant-design:border-outer-outlined","ant-design:border-outlined","ant-design:border-right-outlined","ant-design:border-top-outlined","ant-design:border-verticle-outlined","ant-design:borderless-table-outlined","ant-design:box-plot-filled","ant-design:box-plot-outlined","ant-design:box-plot-twotone","ant-design:branches-outlined","ant-design:bug-filled","ant-design:bug-outlined","ant-design:bug-twotone","ant-design:build-filled","ant-design:build-outlined","ant-design:build-twotone","ant-design:bulb-filled","ant-design:bulb-outlined","ant-design:bulb-twotone","ant-design:calculator-filled","ant-design:calculator-outlined","ant-design:calculator-twotone","ant-design:calendar-filled","ant-design:calendar-outlined","ant-design:calendar-twotone","ant-design:camera-filled","ant-design:camera-outlined","ant-design:camera-twotone","ant-design:car-filled","ant-design:car-outlined","ant-design:car-twotone","ant-design:caret-down-filled","ant-design:caret-down-outlined","ant-design:caret-left-filled","ant-design:caret-left-outlined","ant-design:caret-right-filled","ant-design:caret-right-outlined","ant-design:caret-up-filled","ant-design:caret-up-outlined","ant-design:carry-out-filled","ant-design:carry-out-outlined","ant-design:carry-out-twotone","ant-design:check-circle-filled","ant-design:check-circle-outlined","ant-design:check-circle-twotone","ant-design:check-outlined","ant-design:check-square-filled","ant-design:check-square-outlined","ant-design:check-square-twotone","ant-design:chrome-filled","ant-design:chrome-outlined","ant-design:ci-circle-filled","ant-design:ci-circle-outlined","ant-design:ci-circle-twotone","ant-design:ci-outlined","ant-design:ci-twotone","ant-design:clear-outlined","ant-design:clock-circle-filled","ant-design:clock-circle-outlined","ant-design:clock-circle-twotone","ant-design:close-circle-filled","ant-design:close-circle-outlined","ant-design:close-circle-twotone","ant-design:close-outlined","ant-design:close-square-filled","ant-design:close-square-outlined","ant-design:close-square-twotone","ant-design:cloud-download-outlined","ant-design:cloud-filled","ant-design:cloud-outlined","ant-design:cloud-server-outlined","ant-design:cloud-sync-outlined","ant-design:cloud-twotone","ant-design:cloud-upload-outlined","ant-design:cluster-outlined","ant-design:code-filled","ant-design:code-outlined","ant-design:code-sandbox-circle-filled","ant-design:code-sandbox-outlined","ant-design:code-sandbox-square-filled","ant-design:code-twotone","ant-design:codepen-circle-filled","ant-design:codepen-circle-outlined","ant-design:codepen-outlined","ant-design:codepen-square-filled","ant-design:coffee-outlined","ant-design:column-height-outlined","ant-design:column-width-outlined","ant-design:comment-outlined","ant-design:compass-filled","ant-design:compass-outlined","ant-design:compass-twotone","ant-design:compress-outlined","ant-design:console-sql-outlined","ant-design:contacts-filled","ant-design:contacts-outlined","ant-design:contacts-twotone","ant-design:container-filled","ant-design:container-outlined","ant-design:container-twotone","ant-design:control-filled","ant-design:control-outlined","ant-design:control-twotone","ant-design:copy-filled","ant-design:copy-outlined","ant-design:copy-twotone","ant-design:copyright-circle-filled","ant-design:copyright-circle-outlined","ant-design:copyright-circle-twotone","ant-design:copyright-outlined","ant-design:copyright-twotone","ant-design:credit-card-filled","ant-design:credit-card-outlined","ant-design:credit-card-twotone","ant-design:crown-filled","ant-design:crown-outlined","ant-design:crown-twotone","ant-design:customer-service-filled","ant-design:customer-service-outlined","ant-design:customer-service-twotone","ant-design:dash-outlined","ant-design:dashboard-filled","ant-design:dashboard-outlined","ant-design:dashboard-twotone","ant-design:database-filled","ant-design:database-outlined","ant-design:database-twotone","ant-design:delete-column-outlined","ant-design:delete-filled","ant-design:delete-outlined","ant-design:delete-row-outlined","ant-design:delete-twotone","ant-design:delivered-procedure-outlined","ant-design:deployment-unit-outlined","ant-design:desktop-outlined","ant-design:diff-filled","ant-design:diff-outlined","ant-design:diff-twotone","ant-design:dingding-outlined","ant-design:dingtalk-circle-filled","ant-design:dingtalk-outlined","ant-design:dingtalk-square-filled","ant-design:disconnect-outlined","ant-design:dislike-filled","ant-design:dislike-outlined","ant-design:dislike-twotone","ant-design:dollar-circle-filled","ant-design:dollar-circle-outlined","ant-design:dollar-circle-twotone","ant-design:dollar-outlined","ant-design:dollar-twotone","ant-design:dot-chart-outlined","ant-design:double-left-outlined","ant-design:double-right-outlined","ant-design:down-circle-filled","ant-design:down-circle-outlined","ant-design:down-circle-twotone","ant-design:down-outlined","ant-design:down-square-filled","ant-design:down-square-outlined","ant-design:down-square-twotone","ant-design:download-outlined","ant-design:drag-outlined","ant-design:dribbble-circle-filled","ant-design:dribbble-outlined","ant-design:dribbble-square-filled","ant-design:dribbble-square-outlined","ant-design:dropbox-circle-filled","ant-design:dropbox-outlined","ant-design:dropbox-square-filled","ant-design:edit-filled","ant-design:edit-outlined","ant-design:edit-twotone","ant-design:ellipsis-outlined","ant-design:enter-outlined","ant-design:environment-filled","ant-design:environment-outlined","ant-design:environment-twotone","ant-design:euro-circle-filled","ant-design:euro-circle-outlined","ant-design:euro-circle-twotone","ant-design:euro-outlined","ant-design:euro-twotone","ant-design:exception-outlined","ant-design:exclamation-circle-filled","ant-design:exclamation-circle-outlined","ant-design:exclamation-circle-twotone","ant-design:exclamation-outlined","ant-design:expand-alt-outlined","ant-design:expand-outlined","ant-design:experiment-filled","ant-design:experiment-outlined","ant-design:experiment-twotone","ant-design:export-outlined","ant-design:eye-filled","ant-design:eye-invisible-filled","ant-design:eye-invisible-outlined","ant-design:eye-invisible-twotone","ant-design:eye-outlined","ant-design:eye-twotone","ant-design:facebook-filled","ant-design:facebook-outlined","ant-design:fall-outlined","ant-design:fast-backward-filled","ant-design:fast-backward-outlined","ant-design:fast-forward-filled","ant-design:fast-forward-outlined","ant-design:field-binary-outlined","ant-design:field-number-outlined","ant-design:field-string-outlined","ant-design:field-time-outlined","ant-design:file-add-filled","ant-design:file-add-outlined","ant-design:file-add-twotone","ant-design:file-done-outlined","ant-design:file-excel-filled","ant-design:file-excel-outlined","ant-design:file-excel-twotone","ant-design:file-exclamation-filled","ant-design:file-exclamation-outlined","ant-design:file-exclamation-twotone","ant-design:file-filled","ant-design:file-gif-outlined","ant-design:file-image-filled","ant-design:file-image-outlined","ant-design:file-image-twotone","ant-design:file-jpg-outlined","ant-design:file-markdown-filled","ant-design:file-markdown-outlined","ant-design:file-markdown-twotone","ant-design:file-outlined","ant-design:file-pdf-filled","ant-design:file-pdf-outlined","ant-design:file-pdf-twotone","ant-design:file-ppt-filled","ant-design:file-ppt-outlined","ant-design:file-ppt-twotone","ant-design:file-protect-outlined","ant-design:file-search-outlined","ant-design:file-sync-outlined","ant-design:file-text-filled","ant-design:file-text-outlined","ant-design:file-text-twotone","ant-design:file-twotone","ant-design:file-unknown-filled","ant-design:file-unknown-outlined","ant-design:file-unknown-twotone","ant-design:file-word-filled","ant-design:file-word-outlined","ant-design:file-word-twotone","ant-design:file-zip-filled","ant-design:file-zip-outlined","ant-design:file-zip-twotone","ant-design:filter-filled","ant-design:filter-outlined","ant-design:filter-twotone","ant-design:fire-filled","ant-design:fire-outlined","ant-design:fire-twotone","ant-design:flag-filled","ant-design:flag-outlined","ant-design:flag-twotone","ant-design:folder-add-filled","ant-design:folder-add-outlined","ant-design:folder-add-twotone","ant-design:folder-filled","ant-design:folder-open-filled","ant-design:folder-open-outlined","ant-design:folder-open-twotone","ant-design:folder-outlined","ant-design:folder-twotone","ant-design:folder-view-outlined","ant-design:font-colors-outlined","ant-design:font-size-outlined","ant-design:fork-outlined","ant-design:form-outlined","ant-design:format-painter-filled","ant-design:format-painter-outlined","ant-design:forward-filled","ant-design:forward-outlined","ant-design:frown-filled","ant-design:frown-outlined","ant-design:frown-twotone","ant-design:fullscreen-exit-outlined","ant-design:fullscreen-outlined","ant-design:function-outlined","ant-design:fund-filled","ant-design:fund-outlined","ant-design:fund-projection-screen-outlined","ant-design:fund-twotone","ant-design:fund-view-outlined","ant-design:funnel-plot-filled","ant-design:funnel-plot-outlined","ant-design:funnel-plot-twotone","ant-design:gateway-outlined","ant-design:gif-outlined","ant-design:gift-filled","ant-design:gift-outlined","ant-design:gift-twotone","ant-design:github-filled","ant-design:github-outlined","ant-design:gitlab-filled","ant-design:gitlab-outlined","ant-design:global-outlined","ant-design:gold-filled","ant-design:gold-outlined","ant-design:gold-twotone","ant-design:golden-filled","ant-design:google-circle-filled","ant-design:google-outlined","ant-design:google-plus-circle-filled","ant-design:google-plus-outlined","ant-design:google-plus-square-filled","ant-design:google-square-filled","ant-design:group-outlined","ant-design:hdd-filled","ant-design:hdd-outlined","ant-design:hdd-twotone","ant-design:heart-filled","ant-design:heart-outlined","ant-design:heart-twotone","ant-design:heat-map-outlined","ant-design:highlight-filled","ant-design:highlight-outlined","ant-design:highlight-twotone","ant-design:history-outlined","ant-design:holder-outlined","ant-design:home-filled","ant-design:home-outlined","ant-design:home-twotone","ant-design:hourglass-filled","ant-design:hourglass-outlined","ant-design:hourglass-twotone","ant-design:html5-filled","ant-design:html5-outlined","ant-design:html5-twotone","ant-design:idcard-filled","ant-design:idcard-outlined","ant-design:idcard-twotone","ant-design:ie-circle-filled","ant-design:ie-outlined","ant-design:ie-square-filled","ant-design:import-outlined","ant-design:inbox-outlined","ant-design:info-circle-filled","ant-design:info-circle-outlined","ant-design:info-circle-twotone","ant-design:info-outlined","ant-design:insert-row-above-outlined","ant-design:insert-row-below-outlined","ant-design:insert-row-left-outlined","ant-design:insert-row-right-outlined","ant-design:instagram-filled","ant-design:instagram-outlined","ant-design:insurance-filled","ant-design:insurance-outlined","ant-design:insurance-twotone","ant-design:interaction-filled","ant-design:interaction-outlined","ant-design:interaction-twotone","ant-design:issues-close-outlined","ant-design:italic-outlined","ant-design:key-outlined","ant-design:laptop-outlined","ant-design:layout-filled","ant-design:layout-outlined","ant-design:layout-twotone","ant-design:left-circle-filled","ant-design:left-circle-outlined","ant-design:left-circle-twotone","ant-design:left-outlined","ant-design:left-square-filled","ant-design:left-square-outlined","ant-design:left-square-twotone","ant-design:like-filled","ant-design:like-outlined","ant-design:like-twotone","ant-design:line-chart-outlined","ant-design:line-height-outlined","ant-design:line-outlined","ant-design:link-outlined","ant-design:linkedin-filled","ant-design:linkedin-outlined","ant-design:loading-3-quarters-outlined","ant-design:loading-outlined","ant-design:lock-filled","ant-design:lock-outlined","ant-design:lock-twotone","ant-design:login-outlined","ant-design:logout-outlined","ant-design:mac-command-filled","ant-design:mac-command-outlined","ant-design:mail-filled","ant-design:mail-outlined","ant-design:mail-twotone","ant-design:man-outlined","ant-design:medicine-box-filled","ant-design:medicine-box-outlined","ant-design:medicine-box-twotone","ant-design:medium-circle-filled","ant-design:medium-outlined","ant-design:medium-square-filled","ant-design:medium-workmark-outlined","ant-design:meh-filled","ant-design:meh-outlined","ant-design:meh-twotone","ant-design:menu-fold-outlined","ant-design:menu-outlined","ant-design:menu-unfold-outlined","ant-design:merge-cells-outlined","ant-design:message-filled","ant-design:message-outlined","ant-design:message-twotone","ant-design:minus-circle-filled","ant-design:minus-circle-outlined","ant-design:minus-circle-twotone","ant-design:minus-outlined","ant-design:minus-square-filled","ant-design:minus-square-outlined","ant-design:minus-square-twotone","ant-design:mobile-filled","ant-design:mobile-outlined","ant-design:mobile-twotone","ant-design:money-collect-filled","ant-design:money-collect-outlined","ant-design:money-collect-twotone","ant-design:monitor-outlined","ant-design:more-outlined","ant-design:node-collapse-outlined","ant-design:node-expand-outlined","ant-design:node-index-outlined","ant-design:notification-filled","ant-design:notification-outlined","ant-design:notification-twotone","ant-design:number-outlined","ant-design:one-to-one-outlined","ant-design:ordered-list-outlined","ant-design:paper-clip-outlined","ant-design:partition-outlined","ant-design:pause-circle-filled","ant-design:pause-circle-outlined","ant-design:pause-circle-twotone","ant-design:pause-outlined","ant-design:pay-circle-filled","ant-design:pay-circle-outlined","ant-design:percentage-outlined","ant-design:phone-filled","ant-design:phone-outlined","ant-design:phone-twotone","ant-design:pic-center-outlined","ant-design:pic-left-outlined","ant-design:pic-right-outlined","ant-design:picture-filled","ant-design:picture-outlined","ant-design:picture-twotone","ant-design:pie-chart-filled","ant-design:pie-chart-outlined","ant-design:pie-chart-twotone","ant-design:play-circle-filled","ant-design:play-circle-outlined","ant-design:play-circle-twotone","ant-design:play-square-filled","ant-design:play-square-outlined","ant-design:play-square-twotone","ant-design:plus-circle-filled","ant-design:plus-circle-outlined","ant-design:plus-circle-twotone","ant-design:plus-outlined","ant-design:plus-square-filled","ant-design:plus-square-outlined","ant-design:plus-square-twotone","ant-design:pound-circle-filled","ant-design:pound-circle-outlined","ant-design:pound-circle-twotone","ant-design:pound-outlined","ant-design:poweroff-outlined","ant-design:printer-filled","ant-design:printer-outlined","ant-design:printer-twotone","ant-design:profile-filled","ant-design:profile-outlined","ant-design:profile-twotone","ant-design:project-filled","ant-design:project-outlined","ant-design:project-twotone","ant-design:property-safety-filled","ant-design:property-safety-outlined","ant-design:property-safety-twotone","ant-design:pull-request-outlined","ant-design:pushpin-filled","ant-design:pushpin-outlined","ant-design:pushpin-twotone","ant-design:qq-circle-filled","ant-design:qq-outlined","ant-design:qq-square-filled","ant-design:qrcode-outlined","ant-design:question-circle-filled","ant-design:question-circle-outlined","ant-design:question-circle-twotone","ant-design:question-outlined","ant-design:radar-chart-outlined","ant-design:radius-bottomleft-outlined","ant-design:radius-bottomright-outlined","ant-design:radius-setting-outlined","ant-design:radius-upleft-outlined","ant-design:radius-upright-outlined","ant-design:read-filled","ant-design:read-outlined","ant-design:reconciliation-filled","ant-design:reconciliation-outlined","ant-design:reconciliation-twotone","ant-design:red-envelope-filled","ant-design:red-envelope-outlined","ant-design:red-envelope-twotone","ant-design:reddit-circle-filled","ant-design:reddit-outlined","ant-design:reddit-square-filled","ant-design:redo-outlined","ant-design:reload-outlined","ant-design:rest-filled","ant-design:rest-outlined","ant-design:rest-twotone","ant-design:retweet-outlined","ant-design:right-circle-filled","ant-design:right-circle-outlined","ant-design:right-circle-twotone","ant-design:right-outlined","ant-design:right-square-filled","ant-design:right-square-outlined","ant-design:right-square-twotone","ant-design:rise-outlined","ant-design:robot-filled","ant-design:robot-outlined","ant-design:rocket-filled","ant-design:rocket-outlined","ant-design:rocket-twotone","ant-design:rollback-outlined","ant-design:rotate-left-outlined","ant-design:rotate-right-outlined","ant-design:safety-certificate-filled","ant-design:safety-certificate-outlined","ant-design:safety-certificate-twotone","ant-design:safety-outlined","ant-design:save-filled","ant-design:save-outlined","ant-design:save-twotone","ant-design:scan-outlined","ant-design:schedule-filled","ant-design:schedule-outlined","ant-design:schedule-twotone","ant-design:scissor-outlined","ant-design:search-outlined","ant-design:security-scan-filled","ant-design:security-scan-outlined","ant-design:security-scan-twotone","ant-design:select-outlined","ant-design:send-outlined","ant-design:setting-filled","ant-design:setting-outlined","ant-design:setting-twotone","ant-design:shake-outlined","ant-design:share-alt-outlined","ant-design:shop-filled","ant-design:shop-outlined","ant-design:shop-twotone","ant-design:shopping-cart-outlined","ant-design:shopping-filled","ant-design:shopping-outlined","ant-design:shopping-twotone","ant-design:shrink-outlined","ant-design:signal-filled","ant-design:sisternode-outlined","ant-design:sketch-circle-filled","ant-design:sketch-outlined","ant-design:sketch-square-filled","ant-design:skin-filled","ant-design:skin-outlined","ant-design:skin-twotone","ant-design:skype-filled","ant-design:skype-outlined","ant-design:slack-circle-filled","ant-design:slack-outlined","ant-design:slack-square-filled","ant-design:slack-square-outlined","ant-design:sliders-filled","ant-design:sliders-outlined","ant-design:sliders-twotone","ant-design:small-dash-outlined","ant-design:smile-filled","ant-design:smile-outlined","ant-design:smile-twotone","ant-design:snippets-filled","ant-design:snippets-outlined","ant-design:snippets-twotone","ant-design:solution-outlined","ant-design:sort-ascending-outlined","ant-design:sort-descending-outlined","ant-design:sound-filled","ant-design:sound-outlined","ant-design:sound-twotone","ant-design:split-cells-outlined","ant-design:star-filled","ant-design:star-outlined","ant-design:star-twotone","ant-design:step-backward-filled","ant-design:step-backward-outlined","ant-design:step-forward-filled","ant-design:step-forward-outlined","ant-design:stock-outlined","ant-design:stop-filled","ant-design:stop-outlined","ant-design:stop-twotone","ant-design:strikethrough-outlined","ant-design:subnode-outlined","ant-design:swap-left-outlined","ant-design:swap-outlined","ant-design:swap-right-outlined","ant-design:switcher-filled","ant-design:switcher-outlined","ant-design:switcher-twotone","ant-design:sync-outlined","ant-design:table-outlined","ant-design:tablet-filled","ant-design:tablet-outlined","ant-design:tablet-twotone","ant-design:tag-filled","ant-design:tag-outlined","ant-design:tag-twotone","ant-design:tags-filled","ant-design:tags-outlined","ant-design:tags-twotone","ant-design:taobao-circle-filled","ant-design:taobao-circle-outlined","ant-design:taobao-outlined","ant-design:taobao-square-filled","ant-design:team-outlined","ant-design:thunderbolt-filled","ant-design:thunderbolt-outlined","ant-design:thunderbolt-twotone","ant-design:to-top-outlined","ant-design:tool-filled","ant-design:tool-outlined","ant-design:tool-twotone","ant-design:trademark-circle-filled","ant-design:trademark-circle-outlined","ant-design:trademark-circle-twotone","ant-design:trademark-outlined","ant-design:transaction-outlined","ant-design:translation-outlined","ant-design:trophy-filled","ant-design:trophy-outlined","ant-design:trophy-twotone","ant-design:twitter-circle-filled","ant-design:twitter-outlined","ant-design:twitter-square-filled","ant-design:underline-outlined","ant-design:undo-outlined","ant-design:ungroup-outlined","ant-design:unlock-filled","ant-design:unlock-outlined","ant-design:unlock-twotone","ant-design:unordered-list-outlined","ant-design:up-circle-filled","ant-design:up-circle-outlined","ant-design:up-circle-twotone","ant-design:up-outlined","ant-design:up-square-filled","ant-design:up-square-outlined","ant-design:up-square-twotone","ant-design:upload-outlined","ant-design:usb-filled","ant-design:usb-outlined","ant-design:usb-twotone","ant-design:user-add-outlined","ant-design:user-delete-outlined","ant-design:user-outlined","ant-design:user-switch-outlined","ant-design:usergroup-add-outlined","ant-design:usergroup-delete-outlined","ant-design:verified-outlined","ant-design:vertical-align-bottom-outlined","ant-design:vertical-align-middle-outlined","ant-design:vertical-align-top-outlined","ant-design:vertical-left-outlined","ant-design:vertical-right-outlined","ant-design:video-camera-add-outlined","ant-design:video-camera-filled","ant-design:video-camera-outlined","ant-design:video-camera-twotone","ant-design:wallet-filled","ant-design:wallet-outlined","ant-design:wallet-twotone","ant-design:warning-filled","ant-design:warning-outlined","ant-design:warning-twotone","ant-design:wechat-filled","ant-design:wechat-outlined","ant-design:weibo-circle-filled","ant-design:weibo-circle-outlined","ant-design:weibo-outlined","ant-design:weibo-square-filled","ant-design:weibo-square-outlined","ant-design:whats-app-outlined","ant-design:wifi-outlined","ant-design:windows-filled","ant-design:windows-outlined","ant-design:woman-outlined","ant-design:yahoo-filled","ant-design:yahoo-outlined","ant-design:youtube-filled","ant-design:youtube-outlined","ant-design:yuque-filled","ant-design:yuque-outlined","ant-design:zhihu-circle-filled","ant-design:zhihu-outlined","ant-design:zhihu-square-filled","ant-design:zoom-in-outlined","ant-design:zoom-out-outlined"]},Z={name:"TDesign Icons",prefix:"tdesign",icons:["tdesign:activity","tdesign:add","tdesign:add-and-subtract","tdesign:add-circle","tdesign:add-rectangle","tdesign:address-book","tdesign:adjustment","tdesign:airplay-wave","tdesign:alarm","tdesign:alarm-add","tdesign:alarm-off","tdesign:align-top","tdesign:align-vertical","tdesign:alpha","tdesign:analytics","tdesign:anchor","tdesign:angry","tdesign:animation","tdesign:animation-1","tdesign:anticlockwise","tdesign:api","tdesign:app","tdesign:apple","tdesign:application","tdesign:architecture-hui-style","tdesign:archway","tdesign:archway-1","tdesign:arrow-down","tdesign:arrow-down-circle","tdesign:arrow-down-rectangle","tdesign:arrow-left","tdesign:arrow-left-circle","tdesign:arrow-left-down","tdesign:arrow-left-down-circle","tdesign:arrow-left-right-1","tdesign:arrow-left-right-2","tdesign:arrow-left-right-3","tdesign:arrow-left-right-circle","tdesign:arrow-left-up","tdesign:arrow-left-up-circle","tdesign:arrow-right","tdesign:arrow-right-circle","tdesign:arrow-right-down","tdesign:arrow-right-down-circle","tdesign:arrow-right-up","tdesign:arrow-right-up-circle","tdesign:arrow-triangle-down","tdesign:arrow-triangle-down-filled","tdesign:arrow-triangle-up","tdesign:arrow-triangle-up-filled","tdesign:arrow-up","tdesign:arrow-up-circle","tdesign:arrow-up-down-1","tdesign:arrow-up-down-2","tdesign:arrow-up-down-3","tdesign:arrow-up-down-circle","tdesign:artboard","tdesign:article","tdesign:assignment","tdesign:assignment-checked","tdesign:assignment-code","tdesign:assignment-error","tdesign:assignment-user","tdesign:attach","tdesign:attic","tdesign:attic-1","tdesign:audio","tdesign:awkward","tdesign:backtop","tdesign:backtop-rectangle","tdesign:backup","tdesign:backward","tdesign:bad-laugh","tdesign:bamboo-shoot","tdesign:banana","tdesign:barbecue","tdesign:barcode","tdesign:barcode-1","tdesign:base-station","tdesign:battery","tdesign:battery-add","tdesign:battery-charging","tdesign:battery-low","tdesign:bean","tdesign:beer","tdesign:beta","tdesign:bifurcate","tdesign:bill","tdesign:blockchain","tdesign:bluetooth","tdesign:bone","tdesign:book","tdesign:book-open","tdesign:bookmark","tdesign:bookmark-add","tdesign:bookmark-checked","tdesign:bookmark-double","tdesign:bookmark-minus","tdesign:braces","tdesign:brackets","tdesign:bread","tdesign:bridge","tdesign:bridge-1","tdesign:bridge-2","tdesign:bridge-3","tdesign:bridge-4","tdesign:bridge-5","tdesign:bridge-6","tdesign:brightness","tdesign:brightness-1","tdesign:broccoli","tdesign:browse","tdesign:browse-gallery","tdesign:browse-off","tdesign:brush","tdesign:bug","tdesign:bug-report","tdesign:building","tdesign:building-1","tdesign:building-2","tdesign:building-3","tdesign:building-4","tdesign:building-5","tdesign:bulletpoint","tdesign:button","tdesign:cabbage","tdesign:cake","tdesign:calculation","tdesign:calculation-1","tdesign:calculator","tdesign:calculator-1","tdesign:calendar","tdesign:calendar-1","tdesign:calendar-2","tdesign:calendar-edit","tdesign:calendar-event","tdesign:call","tdesign:call-1","tdesign:call-cancel","tdesign:call-forwarded","tdesign:call-incoming","tdesign:call-off","tdesign:calm","tdesign:calm-1","tdesign:camera","tdesign:camera-1","tdesign:camera-2","tdesign:camera-off","tdesign:candy","tdesign:card","tdesign:cardmembership","tdesign:caret-down","tdesign:caret-down-small","tdesign:caret-left","tdesign:caret-left-small","tdesign:caret-right","tdesign:caret-right-small","tdesign:caret-up","tdesign:caret-up-small","tdesign:cart","tdesign:cart-add","tdesign:cast","tdesign:castle","tdesign:castle-1","tdesign:castle-2","tdesign:castle-3","tdesign:castle-4","tdesign:castle-5","tdesign:castle-6","tdesign:castle-7","tdesign:cat","tdesign:catalog","tdesign:cd","tdesign:celsius","tdesign:center-focus-strong","tdesign:centimeter","tdesign:certificate","tdesign:certificate-1","tdesign:chart","tdesign:chart-3d","tdesign:chart-add","tdesign:chart-analytics","tdesign:chart-area","tdesign:chart-area-multi","tdesign:chart-bar","tdesign:chart-bubble","tdesign:chart-colum","tdesign:chart-combo","tdesign:chart-line","tdesign:chart-line-data","tdesign:chart-line-data-1","tdesign:chart-line-multi","tdesign:chart-maximum","tdesign:chart-median","tdesign:chart-minimum","tdesign:chart-pie","tdesign:chart-radar","tdesign:chart-radial","tdesign:chart-ring","tdesign:chart-ring-1","tdesign:chart-scatter","tdesign:chart-stacked","tdesign:chat","tdesign:chat-add","tdesign:chat-bubble","tdesign:chat-bubble-1","tdesign:chat-bubble-add","tdesign:chat-bubble-error","tdesign:chat-bubble-help","tdesign:chat-bubble-history","tdesign:chat-bubble-locked","tdesign:chat-bubble-smile","tdesign:chat-checked","tdesign:chat-clear","tdesign:chat-double","tdesign:chat-error","tdesign:chat-heart","tdesign:chat-message","tdesign:chat-off","tdesign:chat-poll","tdesign:chat-setting","tdesign:check","tdesign:check-circle","tdesign:check-circle-filled","tdesign:check-double","tdesign:check-rectangle","tdesign:check-rectangle-filled","tdesign:cheese","tdesign:cherry","tdesign:chevron-down","tdesign:chevron-down-circle","tdesign:chevron-down-double","tdesign:chevron-down-double-s","tdesign:chevron-down-rectangle","tdesign:chevron-down-s","tdesign:chevron-left","tdesign:chevron-left-circle","tdesign:chevron-left-double","tdesign:chevron-left-double-s","tdesign:chevron-left-rectangle","tdesign:chevron-left-s","tdesign:chevron-right","tdesign:chevron-right-circle","tdesign:chevron-right-double","tdesign:chevron-right-double-s","tdesign:chevron-right-rectangle","tdesign:chevron-right-s","tdesign:chevron-up","tdesign:chevron-up-circle","tdesign:chevron-up-double","tdesign:chevron-up-double-s","tdesign:chevron-up-rectangle","tdesign:chevron-up-s","tdesign:chicken","tdesign:chili","tdesign:chimney","tdesign:chimney-1","tdesign:chimney-2","tdesign:chinese-cabbage","tdesign:church","tdesign:circle","tdesign:city","tdesign:city-1","tdesign:city-10","tdesign:city-11","tdesign:city-12","tdesign:city-13","tdesign:city-14","tdesign:city-15","tdesign:city-2","tdesign:city-3","tdesign:city-4","tdesign:city-5","tdesign:city-6","tdesign:city-7","tdesign:city-8","tdesign:city-9","tdesign:city-ancient","tdesign:city-ancient-1","tdesign:city-ancient-2","tdesign:clear","tdesign:clear-formatting","tdesign:clear-formatting-1","tdesign:close","tdesign:close-circle","tdesign:close-circle-filled","tdesign:close-octagon","tdesign:close-rectangle","tdesign:cloud","tdesign:cloud-download","tdesign:cloud-upload","tdesign:cloudy-day","tdesign:cloudy-night","tdesign:cloudy-night-rain","tdesign:cloudy-rain","tdesign:cloudy-sunny","tdesign:code","tdesign:code-1","tdesign:code-off","tdesign:cola","tdesign:collage","tdesign:collection","tdesign:color-invert","tdesign:combination","tdesign:command","tdesign:compass","tdesign:compass-1","tdesign:component-breadcrumb","tdesign:component-checkbox","tdesign:component-divider-horizontal","tdesign:component-divider-vertical","tdesign:component-dropdown","tdesign:component-grid","tdesign:component-input","tdesign:component-layout","tdesign:component-radio","tdesign:component-space","tdesign:component-steps","tdesign:component-switch","tdesign:constraint","tdesign:contrast","tdesign:contrast-1","tdesign:control-platform","tdesign:cooperate","tdesign:coordinate-system","tdesign:copy","tdesign:copyright","tdesign:corn","tdesign:coupon","tdesign:course","tdesign:cpu","tdesign:crack","tdesign:creditcard","tdesign:creditcard-add","tdesign:creditcard-off","tdesign:crooked-smile","tdesign:cry-and-laugh","tdesign:cry-loudly","tdesign:css3","tdesign:cucumber","tdesign:currency-exchange","tdesign:cursor","tdesign:curtain","tdesign:curve","tdesign:cut","tdesign:cut-1","tdesign:dam","tdesign:dam-1","tdesign:dam-2","tdesign:dam-3","tdesign:dam-4","tdesign:dam-5","tdesign:dam-6","tdesign:dam-7","tdesign:dart-board","tdesign:dashboard","tdesign:dashboard-1","tdesign:data","tdesign:data-base","tdesign:data-checked","tdesign:data-display","tdesign:data-error","tdesign:data-search","tdesign:delete","tdesign:delete-1","tdesign:delete-time","tdesign:delta","tdesign:depressed","tdesign:desktop","tdesign:desktop-1","tdesign:despise","tdesign:device","tdesign:discount","tdesign:discount-filled","tdesign:dissatisfaction","tdesign:divide","tdesign:dividers","tdesign:dividers-1","tdesign:doge","tdesign:double-storey","tdesign:download","tdesign:download-1","tdesign:downscale","tdesign:drag-drop","tdesign:drag-move","tdesign:drink","tdesign:drumstick","tdesign:dv","tdesign:dvd","tdesign:earphone","tdesign:earth","tdesign:edit","tdesign:edit-1","tdesign:edit-2","tdesign:edit-off","tdesign:education","tdesign:eggplant","tdesign:ellipsis","tdesign:emo-emotional","tdesign:enter","tdesign:equal","tdesign:error","tdesign:error-circle","tdesign:error-circle-filled","tdesign:error-triangle","tdesign:excited","tdesign:excited-1","tdesign:expand-horizontal","tdesign:expand-vertical","tdesign:explore","tdesign:explore-off","tdesign:exposure","tdesign:extension","tdesign:extension-off","tdesign:face-retouching","tdesign:fact-check","tdesign:fahrenheit-scale","tdesign:feel-at-ease","tdesign:ferocious","tdesign:ferris-wheel","tdesign:file","tdesign:file-1","tdesign:file-add","tdesign:file-add-1","tdesign:file-attachment","tdesign:file-blocked","tdesign:file-code","tdesign:file-code-1","tdesign:file-copy","tdesign:file-download","tdesign:file-excel","tdesign:file-export","tdesign:file-icon","tdesign:file-image","tdesign:file-import","tdesign:file-locked","tdesign:file-minus","tdesign:file-music","tdesign:file-onenote","tdesign:file-outlook","tdesign:file-paste","tdesign:file-pdf","tdesign:file-powerpoint","tdesign:file-restore","tdesign:file-safety","tdesign:file-search","tdesign:file-setting","tdesign:file-teams","tdesign:file-unknown","tdesign:file-unlocked","tdesign:file-word","tdesign:file-zip","tdesign:fill-color","tdesign:fill-color-1","tdesign:film","tdesign:film-1","tdesign:filter","tdesign:filter-1","tdesign:filter-2","tdesign:filter-3","tdesign:filter-clear","tdesign:filter-off","tdesign:fingerprint","tdesign:fingerprint-1","tdesign:fingerprint-2","tdesign:fingerprint-3","tdesign:fish","tdesign:flag","tdesign:flag-1","tdesign:flag-2","tdesign:flag-3","tdesign:flag-4","tdesign:flashlight","tdesign:flight-landing","tdesign:flight-takeoff","tdesign:flip-smiling-face","tdesign:flip-to-back","tdesign:flip-to-front","tdesign:focus","tdesign:fog","tdesign:fog-night","tdesign:fog-sunny","tdesign:folder","tdesign:folder-1","tdesign:folder-add","tdesign:folder-add-1","tdesign:folder-blocked","tdesign:folder-details","tdesign:folder-export","tdesign:folder-import","tdesign:folder-locked","tdesign:folder-minus","tdesign:folder-move","tdesign:folder-off","tdesign:folder-open","tdesign:folder-open-1","tdesign:folder-search","tdesign:folder-setting","tdesign:folder-shared","tdesign:folder-unlocked","tdesign:folder-zip","tdesign:forest","tdesign:fork","tdesign:form","tdesign:format-horizontal-align-bottom","tdesign:format-horizontal-align-center","tdesign:format-horizontal-align-top","tdesign:format-vertical-align-center","tdesign:format-vertical-align-left","tdesign:format-vertical-align-right","tdesign:forward","tdesign:frame","tdesign:frame-1","tdesign:fries","tdesign:fullscreen","tdesign:fullscreen-1","tdesign:fullscreen-2","tdesign:fullscreen-exit","tdesign:fullscreen-exit-1","tdesign:function-curve","tdesign:functions","tdesign:functions-1","tdesign:gamepad","tdesign:gamepad-1","tdesign:gamma","tdesign:garlic","tdesign:gender-female","tdesign:gender-male","tdesign:gesture-applause","tdesign:gesture-click","tdesign:gesture-down","tdesign:gesture-expansion","tdesign:gesture-left","tdesign:gesture-left-slip","tdesign:gesture-pray","tdesign:gesture-pray-1","tdesign:gesture-press","tdesign:gesture-ranslation","tdesign:gesture-ranslation-1","tdesign:gesture-right","tdesign:gesture-right-slip","tdesign:gesture-slide-up","tdesign:gesture-up","tdesign:gesture-up-1","tdesign:gesture-up-2","tdesign:gesture-up-and-down","tdesign:gesture-wipe-down","tdesign:gift","tdesign:giggle","tdesign:git-branch","tdesign:git-commit","tdesign:git-merge","tdesign:git-pull-request","tdesign:git-repository","tdesign:git-repository-commits","tdesign:git-repository-private","tdesign:gps","tdesign:grape","tdesign:greater-than","tdesign:greater-than-or-equal","tdesign:green-onion","tdesign:grid-add","tdesign:grid-view","tdesign:guitar","tdesign:hamburger","tdesign:happy","tdesign:hard-disk-storage","tdesign:hard-drive","tdesign:hashtag","tdesign:hd","tdesign:heart","tdesign:heart-filled","tdesign:help","tdesign:help-circle","tdesign:help-circle-filled","tdesign:help-rectangle","tdesign:highlight","tdesign:highlight-1","tdesign:history","tdesign:history-setting","tdesign:home","tdesign:hospital","tdesign:hospital-1","tdesign:hotspot-wave","tdesign:hourglass","tdesign:houses","tdesign:houses-1","tdesign:houses-2","tdesign:html5","tdesign:https","tdesign:ice-cream","tdesign:icon","tdesign:image","tdesign:image-1","tdesign:image-add","tdesign:image-edit","tdesign:image-error","tdesign:image-off","tdesign:image-search","tdesign:indent-left","tdesign:indent-right","tdesign:indicator","tdesign:info-circle","tdesign:info-circle-filled","tdesign:ink","tdesign:install","tdesign:install-desktop","tdesign:install-mobile","tdesign:institution","tdesign:institution-checked","tdesign:internet","tdesign:ipod","tdesign:joyful","tdesign:jump","tdesign:jump-off","tdesign:keyboard","tdesign:laptop","tdesign:layers","tdesign:layout","tdesign:leaderboard","tdesign:lemon","tdesign:lemon-slice","tdesign:less-than","tdesign:less-than-or-equal","tdesign:letters-a","tdesign:letters-b","tdesign:letters-c","tdesign:letters-d","tdesign:letters-e","tdesign:letters-f","tdesign:letters-g","tdesign:letters-h","tdesign:letters-i","tdesign:letters-j","tdesign:letters-k","tdesign:letters-l","tdesign:letters-m","tdesign:letters-n","tdesign:letters-o","tdesign:letters-p","tdesign:letters-q","tdesign:letters-r","tdesign:letters-s","tdesign:letters-t","tdesign:letters-u","tdesign:letters-v","tdesign:letters-w","tdesign:letters-x","tdesign:letters-y","tdesign:letters-z","tdesign:lightbulb","tdesign:lightbulb-circle","tdesign:lighthouse","tdesign:lighthouse-1","tdesign:lighthouse-2","tdesign:lighting-circle","tdesign:line-height","tdesign:link","tdesign:link-1","tdesign:link-unlink","tdesign:liquor","tdesign:list","tdesign:load","tdesign:loading","tdesign:location","tdesign:location-1","tdesign:location-enlargement","tdesign:location-error","tdesign:location-parking-place","tdesign:location-reduction","tdesign:location-setting","tdesign:lock-off","tdesign:lock-on","tdesign:lock-time","tdesign:login","tdesign:logo-adobe-illustrate","tdesign:logo-adobe-photoshop","tdesign:logo-adobe-photoshop-1","tdesign:logo-android","tdesign:logo-apple","tdesign:logo-apple-filled","tdesign:logo-behance","tdesign:logo-chrome","tdesign:logo-chrome-filled","tdesign:logo-cinema4d","tdesign:logo-codepen","tdesign:logo-codesandbox","tdesign:logo-dribbble","tdesign:logo-facebook","tdesign:logo-figma","tdesign:logo-framer","tdesign:logo-github","tdesign:logo-github-filled","tdesign:logo-gitlab","tdesign:logo-ie","tdesign:logo-ie-filled","tdesign:logo-instagram","tdesign:logo-qq","tdesign:logo-twitter","tdesign:logo-wechat","tdesign:logo-wechat-stroke","tdesign:logo-wecom","tdesign:logo-windows","tdesign:logo-windows-filled","tdesign:logo-youtube","tdesign:logout","tdesign:look-around","tdesign:loudspeaker","tdesign:mail","tdesign:map","tdesign:map-3d","tdesign:map-add","tdesign:map-aiming","tdesign:map-blocked","tdesign:map-bubble","tdesign:map-cancel","tdesign:map-chat","tdesign:map-checked","tdesign:map-collection","tdesign:map-connection","tdesign:map-distance","tdesign:map-double","tdesign:map-edit","tdesign:map-grid","tdesign:map-information","tdesign:map-information-1","tdesign:map-information-2","tdesign:map-location","tdesign:map-locked","tdesign:map-marked","tdesign:map-navigation","tdesign:map-outline","tdesign:map-route-planning","tdesign:map-ruler","tdesign:map-safety","tdesign:map-search","tdesign:map-search-1","tdesign:map-setting","tdesign:map-unlocked","tdesign:mark-as-unread","tdesign:markup","tdesign:mathematics","tdesign:measurement","tdesign:measurement-1","tdesign:measurement-2","tdesign:meat-pepper","tdesign:media-library","tdesign:member","tdesign:menu","tdesign:menu-application","tdesign:menu-fold","tdesign:menu-unfold","tdesign:merge-cells","tdesign:microphone","tdesign:microphone-1","tdesign:microphone-2","tdesign:milk","tdesign:minus","tdesign:minus-circle","tdesign:minus-circle-filled","tdesign:minus-rectangle","tdesign:minus-rectangle-filled","tdesign:mirror","tdesign:mobile","tdesign:mobile-blocked","tdesign:mobile-list","tdesign:mobile-navigation","tdesign:mobile-shortcut","tdesign:mobile-vibrate","tdesign:mode-dark","tdesign:mode-light","tdesign:module","tdesign:money","tdesign:monument","tdesign:moon","tdesign:moon-fall","tdesign:moon-rising","tdesign:more","tdesign:mosque","tdesign:mosque-1","tdesign:mouse","tdesign:move","tdesign:move-1","tdesign:movie-clapper","tdesign:multiply","tdesign:museum","tdesign:museum-1","tdesign:museum-2","tdesign:mushroom","tdesign:mushroom-1","tdesign:music","tdesign:music-1","tdesign:music-2","tdesign:music-rectangle-add","tdesign:navigation-arrow","tdesign:next","tdesign:no-expression","tdesign:noodle","tdesign:notification","tdesign:notification-add","tdesign:notification-circle","tdesign:notification-error","tdesign:notification-filled","tdesign:numbers-0","tdesign:numbers-0-1","tdesign:numbers-1","tdesign:numbers-1-1","tdesign:numbers-2","tdesign:numbers-2-1","tdesign:numbers-3","tdesign:numbers-3-1","tdesign:numbers-4","tdesign:numbers-4-1","tdesign:numbers-5","tdesign:numbers-5-1","tdesign:numbers-6","tdesign:numbers-6-1","tdesign:numbers-7","tdesign:numbers-7-1","tdesign:numbers-8","tdesign:numbers-8-1","tdesign:numbers-9","tdesign:numbers-9-1","tdesign:nut","tdesign:object-storage","tdesign:open-mouth","tdesign:opera","tdesign:order-adjustment-column","tdesign:order-ascending","tdesign:order-descending","tdesign:outbox","tdesign:page-first","tdesign:page-head","tdesign:page-last","tdesign:palace","tdesign:palace-1","tdesign:palace-2","tdesign:palace-3","tdesign:palace-4","tdesign:palette","tdesign:palette-1","tdesign:panorama-horizontal","tdesign:panorama-vertical","tdesign:pantone","tdesign:parabola","tdesign:parentheses","tdesign:paste","tdesign:patio","tdesign:pause","tdesign:pause-circle","tdesign:pause-circle-filled","tdesign:pause-circle-stroke","tdesign:pea","tdesign:peach","tdesign:pear","tdesign:pearl-of-the-orient","tdesign:pen","tdesign:pen-ball","tdesign:pen-brush","tdesign:pen-mark","tdesign:pen-quill","tdesign:pending","tdesign:percent","tdesign:personal-information","tdesign:phone-locked","tdesign:phone-search","tdesign:pi","tdesign:piano","tdesign:pin","tdesign:pin-filled","tdesign:play","tdesign:play-circle","tdesign:play-circle-filled","tdesign:play-circle-stroke","tdesign:play-circle-stroke-add","tdesign:play-demo","tdesign:play-rectangle","tdesign:plus","tdesign:popsicle","tdesign:portrait","tdesign:pout","tdesign:poweroff","tdesign:precise-monitor","tdesign:previous","tdesign:print","tdesign:pumpkin","tdesign:pyramid","tdesign:pyramid-maya","tdesign:qrcode","tdesign:quadratic","tdesign:questionnaire","tdesign:queue","tdesign:radar","tdesign:radio-1","tdesign:radio-2","tdesign:radish","tdesign:rain-heavy","tdesign:rain-light","tdesign:rain-medium","tdesign:rainbow","tdesign:rectangle","tdesign:refresh","tdesign:relation","tdesign:relativity","tdesign:remote-wave","tdesign:remove","tdesign:replay","tdesign:rice","tdesign:rice-ball","tdesign:roast","tdesign:rocket","tdesign:rollback","tdesign:rollfront","tdesign:root-list","tdesign:rotate","tdesign:rotate-locked","tdesign:rotation","tdesign:round","tdesign:router-wave","tdesign:rss","tdesign:ruler","tdesign:sailing-hotel","tdesign:sandwich","tdesign:saturation","tdesign:sausage","tdesign:save","tdesign:saving-pot","tdesign:scan","tdesign:screen-4k","tdesign:screencast","tdesign:screenshot","tdesign:scroll-bar","tdesign:sd-card","tdesign:sd-card-1","tdesign:search","tdesign:search-error","tdesign:secured","tdesign:send","tdesign:send-cancel","tdesign:sensors","tdesign:sensors-1","tdesign:sensors-2","tdesign:sensors-off","tdesign:serenity","tdesign:server","tdesign:service","tdesign:setting","tdesign:setting-1","tdesign:share","tdesign:share-1","tdesign:sharpness","tdesign:shield-error","tdesign:shimen","tdesign:shop","tdesign:shop-1","tdesign:shop-2","tdesign:shop-3","tdesign:shop-4","tdesign:shop-5","tdesign:shrimp","tdesign:shrink-horizontal","tdesign:shrink-vertical","tdesign:shutter","tdesign:shutup","tdesign:sim-card","tdesign:sim-card-1","tdesign:sim-card-2","tdesign:sinister-smile","tdesign:sip","tdesign:slash","tdesign:sleep","tdesign:slice","tdesign:slideshow","tdesign:smile","tdesign:sneer","tdesign:snowflake","tdesign:sonic","tdesign:sound","tdesign:sound-down","tdesign:sound-high","tdesign:sound-low","tdesign:sound-mute","tdesign:sound-mute-1","tdesign:sound-up","tdesign:space","tdesign:speechless-1","tdesign:star","tdesign:star-filled","tdesign:statue-of-jesus","tdesign:sticky-note","tdesign:stop","tdesign:stop-circle","tdesign:stop-circle-filled","tdesign:stop-circle-stroke","tdesign:store","tdesign:street-road","tdesign:street-road-1","tdesign:subtitle","tdesign:subway-line","tdesign:sum","tdesign:sun-fall","tdesign:sun-rising","tdesign:sunny","tdesign:support","tdesign:surprised","tdesign:surprised-1","tdesign:swap","tdesign:swap-left","tdesign:swap-right","tdesign:swear-1","tdesign:swear-2","tdesign:system-2","tdesign:system-3","tdesign:system-application","tdesign:system-blocked","tdesign:system-code","tdesign:system-components","tdesign:system-coordinate","tdesign:system-device","tdesign:system-interface","tdesign:system-location","tdesign:system-locked","tdesign:system-log","tdesign:system-marked","tdesign:system-messages","tdesign:system-regulation","tdesign:system-search","tdesign:system-setting","tdesign:system-storage","tdesign:system-sum","tdesign:system-unlocked","tdesign:tab","tdesign:table","tdesign:table-1","tdesign:table-2","tdesign:table-add","tdesign:table-split","tdesign:tag","tdesign:tangerinr","tdesign:tape","tdesign:task","tdesign:task-1","tdesign:task-add","tdesign:task-add-1","tdesign:task-checked","tdesign:task-error","tdesign:task-location","tdesign:task-marked","tdesign:task-setting","tdesign:task-visible","tdesign:tea","tdesign:teahouse","tdesign:template","tdesign:temple","tdesign:terminal","tdesign:terminal-rectangle","tdesign:terminal-rectangle-1","tdesign:terminal-window","tdesign:textbox","tdesign:textformat-bold","tdesign:textformat-color","tdesign:textformat-italic","tdesign:textformat-strikethrough","tdesign:textformat-underline","tdesign:textformat-wrap","tdesign:theaters","tdesign:thumb-down","tdesign:thumb-down-1","tdesign:thumb-down-2","tdesign:thumb-up","tdesign:thumb-up-1","tdesign:thumb-up-2","tdesign:thunder","tdesign:thunderstorm","tdesign:thunderstorm-night","tdesign:thunderstorm-sunny","tdesign:ticket","tdesign:time","tdesign:time-filled","tdesign:tips","tdesign:tips-double","tdesign:tomato","tdesign:tools","tdesign:tools-circle","tdesign:tornado","tdesign:tower","tdesign:tower-1","tdesign:tower-2","tdesign:tower-3","tdesign:tower-clock","tdesign:town","tdesign:traffic","tdesign:traffic-events","tdesign:transform","tdesign:transform-1","tdesign:transform-2","tdesign:transform-3","tdesign:translate","tdesign:translate-1","tdesign:tree-list","tdesign:tree-round-dot","tdesign:tree-round-dot-vertical","tdesign:tree-square-dot","tdesign:tree-square-dot-vertical","tdesign:trending-down","tdesign:trending-up","tdesign:tv","tdesign:tv-1","tdesign:tv-2","tdesign:typography","tdesign:uncomfortable","tdesign:uncomfortable-1","tdesign:uncomfortable-2","tdesign:undertake","tdesign:undertake-delivery","tdesign:undertake-environment-protection","tdesign:undertake-hold-up","tdesign:undertake-transaction","tdesign:unfold-less","tdesign:unfold-more","tdesign:unhappy","tdesign:unhappy-1","tdesign:uninstall","tdesign:upload","tdesign:upload-1","tdesign:upscale","tdesign:usb","tdesign:user","tdesign:user-1","tdesign:user-add","tdesign:user-arrow-down","tdesign:user-arrow-left","tdesign:user-arrow-right","tdesign:user-arrow-up","tdesign:user-avatar","tdesign:user-blocked","tdesign:user-business","tdesign:user-checked","tdesign:user-checked-1","tdesign:user-circle","tdesign:user-clear","tdesign:user-error-1","tdesign:user-invisible","tdesign:user-list","tdesign:user-locked","tdesign:user-marked","tdesign:user-password","tdesign:user-safety","tdesign:user-search","tdesign:user-setting","tdesign:user-talk","tdesign:user-talk-1","tdesign:user-talk-off-1","tdesign:user-time","tdesign:user-transmit","tdesign:user-unknown","tdesign:user-unlocked","tdesign:user-vip","tdesign:user-visible","tdesign:usergroup","tdesign:usergroup-add","tdesign:usergroup-clear","tdesign:vehicle","tdesign:verified","tdesign:verify","tdesign:video","tdesign:video-camera","tdesign:video-camera-1","tdesign:video-camera-2","tdesign:video-camera-dollar","tdesign:video-camera-minus","tdesign:video-camera-music","tdesign:video-camera-off","tdesign:video-library","tdesign:view-agenda","tdesign:view-column","tdesign:view-in-ar","tdesign:view-list","tdesign:view-module","tdesign:visual-recognition","tdesign:wallet","tdesign:watch","tdesign:watermelon","tdesign:wave-left","tdesign:wave-right","tdesign:wealth","tdesign:wealth-1","tdesign:widget","tdesign:wifi","tdesign:wifi-1","tdesign:wifi-off","tdesign:wifi-off-1","tdesign:window","tdesign:window-1","tdesign:windy","tdesign:windy-rain","tdesign:wink","tdesign:work","tdesign:work-history","tdesign:work-off","tdesign:wry-smile","tdesign:zoom-in","tdesign:zoom-out"]},ee={class:"icon-picker flex justify-center items-center box"},ne={class:"flex flex-wrap box-border"},te=["onClick"],ie={class:"h-50px absolute bottom-0 left-0 flex items-center pl-[var(--el-popover-padding)] pr-[var(--el-popover-padding)]"},de=$({__name:"IconPicker",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(v){const u=i=>j(this,null,function*(){if(!i)return;const t=i.split(":");s.value=t[0];const c=g.findIndex(a=>a.prefix===t[0]),d=I(g[c].icons).findIndex(a=>a===i);yield _(),r.value=Math.ceil((d+1)/e(m))}),n=F(v,"modelValue"),x=L(),p=b(()=>x.getCurrentSize),l=b(()=>e(p)==="small"?"var(--el-component-size-small)":e(p)==="large"?"var(--el-component-size-large)":"var(--el-component-size)"),q=b(()=>({width:e(l),height:e(l),display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset",position:"relative",left:"-1px",cursor:"pointer"})),g=[X,Y,Z],s=k(g[0].prefix),f=b(()=>g.findIndex(i=>i.prefix===e(s))),N=()=>{r.value=1},m=k(49),r=k(1),T=i=>{const t=(e(r)-1)*e(m),c=e(r)*e(m);return i.slice(t,c)};H(()=>n.value,i=>j(this,null,function*(){yield _(),i&&u(i)}),{immediate:!0});const U=()=>{u(e(n))},A=i=>{if(i===e(n)){n.value="";return}n.value=i},z=k(""),I=i=>i.filter(t=>t.includes(e(z))),B=()=>{u(e(n))};return(i,t)=>{const c=D;return h(),y("div",ee,[o(e(P),{disabled:"",modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=d=>n.value=d),clearable:""},null,8,["modelValue"]),o(e(Q),{placement:"bottom",trigger:"click",width:450,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; height: 380px;",onShow:U},{reference:w(()=>[V("div",{style:S(q.value)},[n.value?(h(),K(c,{key:0,icon:n.value},null,8,["icon"])):O("",!0)],4)]),default:w(()=>[o(e(R),{class:"h-[calc(100%-50px)]!"},{default:w(()=>[o(e(P),{modelValue:z.value,"onUpdate:modelValue":t[1]||(t[1]=d=>z.value=d),class:"mb-20px",clearable:"",placeholder:"搜索图标",onClear:B},null,8,["modelValue"]),o(e(W),{"tab-position":"left",modelValue:s.value,"onUpdate:modelValue":t[2]||(t[2]=d=>s.value=d),onTabChange:N},{default:w(()=>[(h(),y(C,null,E(g,d=>o(e(G),{key:d.name,label:d.name,name:d.prefix},{default:w(()=>[V("div",ne,[(h(!0),y(C,null,E(T(I(d.icons)),a=>(h(),y("div",{key:a,style:S({width:l.value,height:l.value,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",border:`1px solid ${a===n.value?"var(--el-color-primary)":"var(--el-border-color)"}`,boxSizing:"border-box",margin:"2px",transition:"all 0.3s"}),class:"hover:border-color-[var(--el-color-primary)]!",onClick:se=>A(a)},[o(c,{icon:a,color:a===n.value?"var(--el-color-primary)":"inherit"},null,8,["icon","color"])],12,te))),128))])]),_:2},1032,["label","name"])),64))]),_:1},8,["modelValue"])]),_:1}),V("div",ie,[o(e(J),{"current-page":r.value,"onUpdate:currentPage":t[3]||(t[3]=d=>r.value=d),"page-size":m.value,"onUpdate:pageSize":t[4]||(t[4]=d=>m.value=d),"pager-count":5,small:"","page-sizes":[100,200,300,400],layout:"total, prev, pager, next, jumper",total:I(g[f.value].icons).length},null,8,["current-page","page-size","total"])])]),_:1})])}}}),me=M(de,[["__scopeId","data-v-1079899e"]]);export{me as I}; +var j=(v,u,n)=>new Promise((x,p)=>{var l=s=>{try{g(n.next(s))}catch(f){p(f)}},q=s=>{try{g(n.throw(s))}catch(f){p(f)}},g=s=>s.done?x(s.value):Promise.resolve(s.value).then(l,q);g((n=n.apply(v,u)).next())});import{I as D,_ as M}from"./Icon-BTLftY2_.js";import{u as L}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css *//* empty css */import{y as $,aC as F,c as b,u as e,r as k,w as H,n as _,z as h,A as y,O as o,L as w,D as V,R as S,K,H as O,I as C,a3 as E}from"./vue-chunks-ChjHxF1G.js";import{A as P,f as R,a4 as W,a5 as G,a6 as J,a7 as Q}from"./element-plus-CUBv5pjL.js";const X={name:"Element Plus",prefix:"ep",icons:["ep:add-location","ep:aim","ep:alarm-clock","ep:apple","ep:arrow-down","ep:arrow-down-bold","ep:arrow-left","ep:arrow-left-bold","ep:arrow-right","ep:arrow-right-bold","ep:arrow-up","ep:arrow-up-bold","ep:avatar","ep:back","ep:baseball","ep:basketball","ep:bell","ep:bell-filled","ep:bicycle","ep:bottom","ep:bottom-left","ep:bottom-right","ep:bowl","ep:box","ep:briefcase","ep:brush","ep:brush-filled","ep:burger","ep:calendar","ep:camera","ep:camera-filled","ep:caret-bottom","ep:caret-left","ep:caret-right","ep:caret-top","ep:cellphone","ep:chat-dot-round","ep:chat-dot-square","ep:chat-line-round","ep:chat-line-square","ep:chat-round","ep:chat-square","ep:check","ep:checked","ep:cherry","ep:chicken","ep:chrome-filled","ep:circle-check","ep:circle-check-filled","ep:circle-close","ep:circle-close-filled","ep:circle-plus","ep:circle-plus-filled","ep:clock","ep:close","ep:close-bold","ep:cloudy","ep:coffee","ep:coffee-cup","ep:coin","ep:cold-drink","ep:collection","ep:collection-tag","ep:comment","ep:compass","ep:connection","ep:coordinate","ep:copy-document","ep:cpu","ep:credit-card","ep:crop","ep:d-arrow-left","ep:d-arrow-right","ep:d-caret","ep:data-analysis","ep:data-board","ep:data-line","ep:delete","ep:delete-filled","ep:delete-location","ep:dessert","ep:discount","ep:dish","ep:dish-dot","ep:document","ep:document-add","ep:document-checked","ep:document-copy","ep:document-delete","ep:document-remove","ep:download","ep:drizzling","ep:edit","ep:edit-pen","ep:eleme","ep:eleme-filled","ep:element-plus","ep:expand","ep:failed","ep:female","ep:files","ep:film","ep:filter","ep:finished","ep:first-aid-kit","ep:flag","ep:fold","ep:folder","ep:folder-add","ep:folder-checked","ep:folder-delete","ep:folder-opened","ep:folder-remove","ep:food","ep:football","ep:fork-spoon","ep:fries","ep:full-screen","ep:goblet","ep:goblet-full","ep:goblet-square","ep:goblet-square-full","ep:gold-medal","ep:goods","ep:goods-filled","ep:grape","ep:grid","ep:guide","ep:handbag","ep:headset","ep:help","ep:help-filled","ep:hide","ep:histogram","ep:home-filled","ep:hot-water","ep:house","ep:ice-cream","ep:ice-cream-round","ep:ice-cream-square","ep:ice-drink","ep:ice-tea","ep:info-filled","ep:iphone","ep:key","ep:knife-fork","ep:lightning","ep:link","ep:list","ep:loading","ep:location","ep:location-filled","ep:location-information","ep:lock","ep:lollipop","ep:magic-stick","ep:magnet","ep:male","ep:management","ep:map-location","ep:medal","ep:memo","ep:menu","ep:message","ep:message-box","ep:mic","ep:microphone","ep:milk-tea","ep:minus","ep:money","ep:monitor","ep:moon","ep:moon-night","ep:more","ep:more-filled","ep:mostly-cloudy","ep:mouse","ep:mug","ep:mute","ep:mute-notification","ep:no-smoking","ep:notebook","ep:notification","ep:odometer","ep:office-building","ep:open","ep:operation","ep:opportunity","ep:orange","ep:paperclip","ep:partly-cloudy","ep:pear","ep:phone","ep:phone-filled","ep:picture","ep:picture-filled","ep:picture-rounded","ep:pie-chart","ep:place","ep:platform","ep:plus","ep:pointer","ep:position","ep:postcard","ep:pouring","ep:present","ep:price-tag","ep:printer","ep:promotion","ep:quartz-watch","ep:question-filled","ep:rank","ep:reading","ep:reading-lamp","ep:refresh","ep:refresh-left","ep:refresh-right","ep:refrigerator","ep:remove","ep:remove-filled","ep:right","ep:scale-to-original","ep:school","ep:scissor","ep:search","ep:select","ep:sell","ep:semi-select","ep:service","ep:set-up","ep:setting","ep:share","ep:ship","ep:shop","ep:shopping-bag","ep:shopping-cart","ep:shopping-cart-full","ep:shopping-trolley","ep:smoking","ep:soccer","ep:sold-out","ep:sort","ep:sort-down","ep:sort-up","ep:stamp","ep:star","ep:star-filled","ep:stopwatch","ep:success-filled","ep:sugar","ep:suitcase","ep:suitcase-line","ep:sunny","ep:sunrise","ep:sunset","ep:switch","ep:switch-button","ep:switch-filled","ep:takeaway-box","ep:ticket","ep:tickets","ep:timer","ep:toilet-paper","ep:tools","ep:top","ep:top-left","ep:top-right","ep:trend-charts","ep:trophy","ep:trophy-base","ep:turn-off","ep:umbrella","ep:unlock","ep:upload","ep:upload-filled","ep:user","ep:user-filled","ep:van","ep:video-camera","ep:video-camera-filled","ep:video-pause","ep:video-play","ep:view","ep:wallet","ep:wallet-filled","ep:warn-triangle-filled","ep:warning","ep:warning-filled","ep:watch","ep:watermelon","ep:wind-power","ep:zoom-in","ep:zoom-out"]},Y={name:"Ant Design Icons",prefix:"ant-design",icons:["ant-design:account-book-filled","ant-design:account-book-outlined","ant-design:account-book-twotone","ant-design:aim-outlined","ant-design:alert-filled","ant-design:alert-outlined","ant-design:alert-twotone","ant-design:alibaba-outlined","ant-design:align-center-outlined","ant-design:align-left-outlined","ant-design:align-right-outlined","ant-design:alipay-circle-filled","ant-design:alipay-circle-outlined","ant-design:alipay-outlined","ant-design:alipay-square-filled","ant-design:aliwangwang-filled","ant-design:aliwangwang-outlined","ant-design:aliyun-outlined","ant-design:amazon-circle-filled","ant-design:amazon-outlined","ant-design:amazon-square-filled","ant-design:android-filled","ant-design:android-outlined","ant-design:ant-cloud-outlined","ant-design:ant-design-outlined","ant-design:apartment-outlined","ant-design:api-filled","ant-design:api-outlined","ant-design:api-twotone","ant-design:apple-filled","ant-design:apple-outlined","ant-design:appstore-add-outlined","ant-design:appstore-filled","ant-design:appstore-outlined","ant-design:appstore-twotone","ant-design:area-chart-outlined","ant-design:arrow-down-outlined","ant-design:arrow-left-outlined","ant-design:arrow-right-outlined","ant-design:arrow-up-outlined","ant-design:arrows-alt-outlined","ant-design:audio-filled","ant-design:audio-muted-outlined","ant-design:audio-outlined","ant-design:audio-twotone","ant-design:audit-outlined","ant-design:backward-filled","ant-design:backward-outlined","ant-design:bank-filled","ant-design:bank-outlined","ant-design:bank-twotone","ant-design:bar-chart-outlined","ant-design:barcode-outlined","ant-design:bars-outlined","ant-design:behance-circle-filled","ant-design:behance-outlined","ant-design:behance-square-filled","ant-design:behance-square-outlined","ant-design:bell-filled","ant-design:bell-outlined","ant-design:bell-twotone","ant-design:bg-colors-outlined","ant-design:block-outlined","ant-design:bold-outlined","ant-design:book-filled","ant-design:book-outlined","ant-design:book-twotone","ant-design:border-bottom-outlined","ant-design:border-horizontal-outlined","ant-design:border-inner-outlined","ant-design:border-left-outlined","ant-design:border-outer-outlined","ant-design:border-outlined","ant-design:border-right-outlined","ant-design:border-top-outlined","ant-design:border-verticle-outlined","ant-design:borderless-table-outlined","ant-design:box-plot-filled","ant-design:box-plot-outlined","ant-design:box-plot-twotone","ant-design:branches-outlined","ant-design:bug-filled","ant-design:bug-outlined","ant-design:bug-twotone","ant-design:build-filled","ant-design:build-outlined","ant-design:build-twotone","ant-design:bulb-filled","ant-design:bulb-outlined","ant-design:bulb-twotone","ant-design:calculator-filled","ant-design:calculator-outlined","ant-design:calculator-twotone","ant-design:calendar-filled","ant-design:calendar-outlined","ant-design:calendar-twotone","ant-design:camera-filled","ant-design:camera-outlined","ant-design:camera-twotone","ant-design:car-filled","ant-design:car-outlined","ant-design:car-twotone","ant-design:caret-down-filled","ant-design:caret-down-outlined","ant-design:caret-left-filled","ant-design:caret-left-outlined","ant-design:caret-right-filled","ant-design:caret-right-outlined","ant-design:caret-up-filled","ant-design:caret-up-outlined","ant-design:carry-out-filled","ant-design:carry-out-outlined","ant-design:carry-out-twotone","ant-design:check-circle-filled","ant-design:check-circle-outlined","ant-design:check-circle-twotone","ant-design:check-outlined","ant-design:check-square-filled","ant-design:check-square-outlined","ant-design:check-square-twotone","ant-design:chrome-filled","ant-design:chrome-outlined","ant-design:ci-circle-filled","ant-design:ci-circle-outlined","ant-design:ci-circle-twotone","ant-design:ci-outlined","ant-design:ci-twotone","ant-design:clear-outlined","ant-design:clock-circle-filled","ant-design:clock-circle-outlined","ant-design:clock-circle-twotone","ant-design:close-circle-filled","ant-design:close-circle-outlined","ant-design:close-circle-twotone","ant-design:close-outlined","ant-design:close-square-filled","ant-design:close-square-outlined","ant-design:close-square-twotone","ant-design:cloud-download-outlined","ant-design:cloud-filled","ant-design:cloud-outlined","ant-design:cloud-server-outlined","ant-design:cloud-sync-outlined","ant-design:cloud-twotone","ant-design:cloud-upload-outlined","ant-design:cluster-outlined","ant-design:code-filled","ant-design:code-outlined","ant-design:code-sandbox-circle-filled","ant-design:code-sandbox-outlined","ant-design:code-sandbox-square-filled","ant-design:code-twotone","ant-design:codepen-circle-filled","ant-design:codepen-circle-outlined","ant-design:codepen-outlined","ant-design:codepen-square-filled","ant-design:coffee-outlined","ant-design:column-height-outlined","ant-design:column-width-outlined","ant-design:comment-outlined","ant-design:compass-filled","ant-design:compass-outlined","ant-design:compass-twotone","ant-design:compress-outlined","ant-design:console-sql-outlined","ant-design:contacts-filled","ant-design:contacts-outlined","ant-design:contacts-twotone","ant-design:container-filled","ant-design:container-outlined","ant-design:container-twotone","ant-design:control-filled","ant-design:control-outlined","ant-design:control-twotone","ant-design:copy-filled","ant-design:copy-outlined","ant-design:copy-twotone","ant-design:copyright-circle-filled","ant-design:copyright-circle-outlined","ant-design:copyright-circle-twotone","ant-design:copyright-outlined","ant-design:copyright-twotone","ant-design:credit-card-filled","ant-design:credit-card-outlined","ant-design:credit-card-twotone","ant-design:crown-filled","ant-design:crown-outlined","ant-design:crown-twotone","ant-design:customer-service-filled","ant-design:customer-service-outlined","ant-design:customer-service-twotone","ant-design:dash-outlined","ant-design:dashboard-filled","ant-design:dashboard-outlined","ant-design:dashboard-twotone","ant-design:database-filled","ant-design:database-outlined","ant-design:database-twotone","ant-design:delete-column-outlined","ant-design:delete-filled","ant-design:delete-outlined","ant-design:delete-row-outlined","ant-design:delete-twotone","ant-design:delivered-procedure-outlined","ant-design:deployment-unit-outlined","ant-design:desktop-outlined","ant-design:diff-filled","ant-design:diff-outlined","ant-design:diff-twotone","ant-design:dingding-outlined","ant-design:dingtalk-circle-filled","ant-design:dingtalk-outlined","ant-design:dingtalk-square-filled","ant-design:disconnect-outlined","ant-design:dislike-filled","ant-design:dislike-outlined","ant-design:dislike-twotone","ant-design:dollar-circle-filled","ant-design:dollar-circle-outlined","ant-design:dollar-circle-twotone","ant-design:dollar-outlined","ant-design:dollar-twotone","ant-design:dot-chart-outlined","ant-design:double-left-outlined","ant-design:double-right-outlined","ant-design:down-circle-filled","ant-design:down-circle-outlined","ant-design:down-circle-twotone","ant-design:down-outlined","ant-design:down-square-filled","ant-design:down-square-outlined","ant-design:down-square-twotone","ant-design:download-outlined","ant-design:drag-outlined","ant-design:dribbble-circle-filled","ant-design:dribbble-outlined","ant-design:dribbble-square-filled","ant-design:dribbble-square-outlined","ant-design:dropbox-circle-filled","ant-design:dropbox-outlined","ant-design:dropbox-square-filled","ant-design:edit-filled","ant-design:edit-outlined","ant-design:edit-twotone","ant-design:ellipsis-outlined","ant-design:enter-outlined","ant-design:environment-filled","ant-design:environment-outlined","ant-design:environment-twotone","ant-design:euro-circle-filled","ant-design:euro-circle-outlined","ant-design:euro-circle-twotone","ant-design:euro-outlined","ant-design:euro-twotone","ant-design:exception-outlined","ant-design:exclamation-circle-filled","ant-design:exclamation-circle-outlined","ant-design:exclamation-circle-twotone","ant-design:exclamation-outlined","ant-design:expand-alt-outlined","ant-design:expand-outlined","ant-design:experiment-filled","ant-design:experiment-outlined","ant-design:experiment-twotone","ant-design:export-outlined","ant-design:eye-filled","ant-design:eye-invisible-filled","ant-design:eye-invisible-outlined","ant-design:eye-invisible-twotone","ant-design:eye-outlined","ant-design:eye-twotone","ant-design:facebook-filled","ant-design:facebook-outlined","ant-design:fall-outlined","ant-design:fast-backward-filled","ant-design:fast-backward-outlined","ant-design:fast-forward-filled","ant-design:fast-forward-outlined","ant-design:field-binary-outlined","ant-design:field-number-outlined","ant-design:field-string-outlined","ant-design:field-time-outlined","ant-design:file-add-filled","ant-design:file-add-outlined","ant-design:file-add-twotone","ant-design:file-done-outlined","ant-design:file-excel-filled","ant-design:file-excel-outlined","ant-design:file-excel-twotone","ant-design:file-exclamation-filled","ant-design:file-exclamation-outlined","ant-design:file-exclamation-twotone","ant-design:file-filled","ant-design:file-gif-outlined","ant-design:file-image-filled","ant-design:file-image-outlined","ant-design:file-image-twotone","ant-design:file-jpg-outlined","ant-design:file-markdown-filled","ant-design:file-markdown-outlined","ant-design:file-markdown-twotone","ant-design:file-outlined","ant-design:file-pdf-filled","ant-design:file-pdf-outlined","ant-design:file-pdf-twotone","ant-design:file-ppt-filled","ant-design:file-ppt-outlined","ant-design:file-ppt-twotone","ant-design:file-protect-outlined","ant-design:file-search-outlined","ant-design:file-sync-outlined","ant-design:file-text-filled","ant-design:file-text-outlined","ant-design:file-text-twotone","ant-design:file-twotone","ant-design:file-unknown-filled","ant-design:file-unknown-outlined","ant-design:file-unknown-twotone","ant-design:file-word-filled","ant-design:file-word-outlined","ant-design:file-word-twotone","ant-design:file-zip-filled","ant-design:file-zip-outlined","ant-design:file-zip-twotone","ant-design:filter-filled","ant-design:filter-outlined","ant-design:filter-twotone","ant-design:fire-filled","ant-design:fire-outlined","ant-design:fire-twotone","ant-design:flag-filled","ant-design:flag-outlined","ant-design:flag-twotone","ant-design:folder-add-filled","ant-design:folder-add-outlined","ant-design:folder-add-twotone","ant-design:folder-filled","ant-design:folder-open-filled","ant-design:folder-open-outlined","ant-design:folder-open-twotone","ant-design:folder-outlined","ant-design:folder-twotone","ant-design:folder-view-outlined","ant-design:font-colors-outlined","ant-design:font-size-outlined","ant-design:fork-outlined","ant-design:form-outlined","ant-design:format-painter-filled","ant-design:format-painter-outlined","ant-design:forward-filled","ant-design:forward-outlined","ant-design:frown-filled","ant-design:frown-outlined","ant-design:frown-twotone","ant-design:fullscreen-exit-outlined","ant-design:fullscreen-outlined","ant-design:function-outlined","ant-design:fund-filled","ant-design:fund-outlined","ant-design:fund-projection-screen-outlined","ant-design:fund-twotone","ant-design:fund-view-outlined","ant-design:funnel-plot-filled","ant-design:funnel-plot-outlined","ant-design:funnel-plot-twotone","ant-design:gateway-outlined","ant-design:gif-outlined","ant-design:gift-filled","ant-design:gift-outlined","ant-design:gift-twotone","ant-design:github-filled","ant-design:github-outlined","ant-design:gitlab-filled","ant-design:gitlab-outlined","ant-design:global-outlined","ant-design:gold-filled","ant-design:gold-outlined","ant-design:gold-twotone","ant-design:golden-filled","ant-design:google-circle-filled","ant-design:google-outlined","ant-design:google-plus-circle-filled","ant-design:google-plus-outlined","ant-design:google-plus-square-filled","ant-design:google-square-filled","ant-design:group-outlined","ant-design:hdd-filled","ant-design:hdd-outlined","ant-design:hdd-twotone","ant-design:heart-filled","ant-design:heart-outlined","ant-design:heart-twotone","ant-design:heat-map-outlined","ant-design:highlight-filled","ant-design:highlight-outlined","ant-design:highlight-twotone","ant-design:history-outlined","ant-design:holder-outlined","ant-design:home-filled","ant-design:home-outlined","ant-design:home-twotone","ant-design:hourglass-filled","ant-design:hourglass-outlined","ant-design:hourglass-twotone","ant-design:html5-filled","ant-design:html5-outlined","ant-design:html5-twotone","ant-design:idcard-filled","ant-design:idcard-outlined","ant-design:idcard-twotone","ant-design:ie-circle-filled","ant-design:ie-outlined","ant-design:ie-square-filled","ant-design:import-outlined","ant-design:inbox-outlined","ant-design:info-circle-filled","ant-design:info-circle-outlined","ant-design:info-circle-twotone","ant-design:info-outlined","ant-design:insert-row-above-outlined","ant-design:insert-row-below-outlined","ant-design:insert-row-left-outlined","ant-design:insert-row-right-outlined","ant-design:instagram-filled","ant-design:instagram-outlined","ant-design:insurance-filled","ant-design:insurance-outlined","ant-design:insurance-twotone","ant-design:interaction-filled","ant-design:interaction-outlined","ant-design:interaction-twotone","ant-design:issues-close-outlined","ant-design:italic-outlined","ant-design:key-outlined","ant-design:laptop-outlined","ant-design:layout-filled","ant-design:layout-outlined","ant-design:layout-twotone","ant-design:left-circle-filled","ant-design:left-circle-outlined","ant-design:left-circle-twotone","ant-design:left-outlined","ant-design:left-square-filled","ant-design:left-square-outlined","ant-design:left-square-twotone","ant-design:like-filled","ant-design:like-outlined","ant-design:like-twotone","ant-design:line-chart-outlined","ant-design:line-height-outlined","ant-design:line-outlined","ant-design:link-outlined","ant-design:linkedin-filled","ant-design:linkedin-outlined","ant-design:loading-3-quarters-outlined","ant-design:loading-outlined","ant-design:lock-filled","ant-design:lock-outlined","ant-design:lock-twotone","ant-design:login-outlined","ant-design:logout-outlined","ant-design:mac-command-filled","ant-design:mac-command-outlined","ant-design:mail-filled","ant-design:mail-outlined","ant-design:mail-twotone","ant-design:man-outlined","ant-design:medicine-box-filled","ant-design:medicine-box-outlined","ant-design:medicine-box-twotone","ant-design:medium-circle-filled","ant-design:medium-outlined","ant-design:medium-square-filled","ant-design:medium-workmark-outlined","ant-design:meh-filled","ant-design:meh-outlined","ant-design:meh-twotone","ant-design:menu-fold-outlined","ant-design:menu-outlined","ant-design:menu-unfold-outlined","ant-design:merge-cells-outlined","ant-design:message-filled","ant-design:message-outlined","ant-design:message-twotone","ant-design:minus-circle-filled","ant-design:minus-circle-outlined","ant-design:minus-circle-twotone","ant-design:minus-outlined","ant-design:minus-square-filled","ant-design:minus-square-outlined","ant-design:minus-square-twotone","ant-design:mobile-filled","ant-design:mobile-outlined","ant-design:mobile-twotone","ant-design:money-collect-filled","ant-design:money-collect-outlined","ant-design:money-collect-twotone","ant-design:monitor-outlined","ant-design:more-outlined","ant-design:node-collapse-outlined","ant-design:node-expand-outlined","ant-design:node-index-outlined","ant-design:notification-filled","ant-design:notification-outlined","ant-design:notification-twotone","ant-design:number-outlined","ant-design:one-to-one-outlined","ant-design:ordered-list-outlined","ant-design:paper-clip-outlined","ant-design:partition-outlined","ant-design:pause-circle-filled","ant-design:pause-circle-outlined","ant-design:pause-circle-twotone","ant-design:pause-outlined","ant-design:pay-circle-filled","ant-design:pay-circle-outlined","ant-design:percentage-outlined","ant-design:phone-filled","ant-design:phone-outlined","ant-design:phone-twotone","ant-design:pic-center-outlined","ant-design:pic-left-outlined","ant-design:pic-right-outlined","ant-design:picture-filled","ant-design:picture-outlined","ant-design:picture-twotone","ant-design:pie-chart-filled","ant-design:pie-chart-outlined","ant-design:pie-chart-twotone","ant-design:play-circle-filled","ant-design:play-circle-outlined","ant-design:play-circle-twotone","ant-design:play-square-filled","ant-design:play-square-outlined","ant-design:play-square-twotone","ant-design:plus-circle-filled","ant-design:plus-circle-outlined","ant-design:plus-circle-twotone","ant-design:plus-outlined","ant-design:plus-square-filled","ant-design:plus-square-outlined","ant-design:plus-square-twotone","ant-design:pound-circle-filled","ant-design:pound-circle-outlined","ant-design:pound-circle-twotone","ant-design:pound-outlined","ant-design:poweroff-outlined","ant-design:printer-filled","ant-design:printer-outlined","ant-design:printer-twotone","ant-design:profile-filled","ant-design:profile-outlined","ant-design:profile-twotone","ant-design:project-filled","ant-design:project-outlined","ant-design:project-twotone","ant-design:property-safety-filled","ant-design:property-safety-outlined","ant-design:property-safety-twotone","ant-design:pull-request-outlined","ant-design:pushpin-filled","ant-design:pushpin-outlined","ant-design:pushpin-twotone","ant-design:qq-circle-filled","ant-design:qq-outlined","ant-design:qq-square-filled","ant-design:qrcode-outlined","ant-design:question-circle-filled","ant-design:question-circle-outlined","ant-design:question-circle-twotone","ant-design:question-outlined","ant-design:radar-chart-outlined","ant-design:radius-bottomleft-outlined","ant-design:radius-bottomright-outlined","ant-design:radius-setting-outlined","ant-design:radius-upleft-outlined","ant-design:radius-upright-outlined","ant-design:read-filled","ant-design:read-outlined","ant-design:reconciliation-filled","ant-design:reconciliation-outlined","ant-design:reconciliation-twotone","ant-design:red-envelope-filled","ant-design:red-envelope-outlined","ant-design:red-envelope-twotone","ant-design:reddit-circle-filled","ant-design:reddit-outlined","ant-design:reddit-square-filled","ant-design:redo-outlined","ant-design:reload-outlined","ant-design:rest-filled","ant-design:rest-outlined","ant-design:rest-twotone","ant-design:retweet-outlined","ant-design:right-circle-filled","ant-design:right-circle-outlined","ant-design:right-circle-twotone","ant-design:right-outlined","ant-design:right-square-filled","ant-design:right-square-outlined","ant-design:right-square-twotone","ant-design:rise-outlined","ant-design:robot-filled","ant-design:robot-outlined","ant-design:rocket-filled","ant-design:rocket-outlined","ant-design:rocket-twotone","ant-design:rollback-outlined","ant-design:rotate-left-outlined","ant-design:rotate-right-outlined","ant-design:safety-certificate-filled","ant-design:safety-certificate-outlined","ant-design:safety-certificate-twotone","ant-design:safety-outlined","ant-design:save-filled","ant-design:save-outlined","ant-design:save-twotone","ant-design:scan-outlined","ant-design:schedule-filled","ant-design:schedule-outlined","ant-design:schedule-twotone","ant-design:scissor-outlined","ant-design:search-outlined","ant-design:security-scan-filled","ant-design:security-scan-outlined","ant-design:security-scan-twotone","ant-design:select-outlined","ant-design:send-outlined","ant-design:setting-filled","ant-design:setting-outlined","ant-design:setting-twotone","ant-design:shake-outlined","ant-design:share-alt-outlined","ant-design:shop-filled","ant-design:shop-outlined","ant-design:shop-twotone","ant-design:shopping-cart-outlined","ant-design:shopping-filled","ant-design:shopping-outlined","ant-design:shopping-twotone","ant-design:shrink-outlined","ant-design:signal-filled","ant-design:sisternode-outlined","ant-design:sketch-circle-filled","ant-design:sketch-outlined","ant-design:sketch-square-filled","ant-design:skin-filled","ant-design:skin-outlined","ant-design:skin-twotone","ant-design:skype-filled","ant-design:skype-outlined","ant-design:slack-circle-filled","ant-design:slack-outlined","ant-design:slack-square-filled","ant-design:slack-square-outlined","ant-design:sliders-filled","ant-design:sliders-outlined","ant-design:sliders-twotone","ant-design:small-dash-outlined","ant-design:smile-filled","ant-design:smile-outlined","ant-design:smile-twotone","ant-design:snippets-filled","ant-design:snippets-outlined","ant-design:snippets-twotone","ant-design:solution-outlined","ant-design:sort-ascending-outlined","ant-design:sort-descending-outlined","ant-design:sound-filled","ant-design:sound-outlined","ant-design:sound-twotone","ant-design:split-cells-outlined","ant-design:star-filled","ant-design:star-outlined","ant-design:star-twotone","ant-design:step-backward-filled","ant-design:step-backward-outlined","ant-design:step-forward-filled","ant-design:step-forward-outlined","ant-design:stock-outlined","ant-design:stop-filled","ant-design:stop-outlined","ant-design:stop-twotone","ant-design:strikethrough-outlined","ant-design:subnode-outlined","ant-design:swap-left-outlined","ant-design:swap-outlined","ant-design:swap-right-outlined","ant-design:switcher-filled","ant-design:switcher-outlined","ant-design:switcher-twotone","ant-design:sync-outlined","ant-design:table-outlined","ant-design:tablet-filled","ant-design:tablet-outlined","ant-design:tablet-twotone","ant-design:tag-filled","ant-design:tag-outlined","ant-design:tag-twotone","ant-design:tags-filled","ant-design:tags-outlined","ant-design:tags-twotone","ant-design:taobao-circle-filled","ant-design:taobao-circle-outlined","ant-design:taobao-outlined","ant-design:taobao-square-filled","ant-design:team-outlined","ant-design:thunderbolt-filled","ant-design:thunderbolt-outlined","ant-design:thunderbolt-twotone","ant-design:to-top-outlined","ant-design:tool-filled","ant-design:tool-outlined","ant-design:tool-twotone","ant-design:trademark-circle-filled","ant-design:trademark-circle-outlined","ant-design:trademark-circle-twotone","ant-design:trademark-outlined","ant-design:transaction-outlined","ant-design:translation-outlined","ant-design:trophy-filled","ant-design:trophy-outlined","ant-design:trophy-twotone","ant-design:twitter-circle-filled","ant-design:twitter-outlined","ant-design:twitter-square-filled","ant-design:underline-outlined","ant-design:undo-outlined","ant-design:ungroup-outlined","ant-design:unlock-filled","ant-design:unlock-outlined","ant-design:unlock-twotone","ant-design:unordered-list-outlined","ant-design:up-circle-filled","ant-design:up-circle-outlined","ant-design:up-circle-twotone","ant-design:up-outlined","ant-design:up-square-filled","ant-design:up-square-outlined","ant-design:up-square-twotone","ant-design:upload-outlined","ant-design:usb-filled","ant-design:usb-outlined","ant-design:usb-twotone","ant-design:user-add-outlined","ant-design:user-delete-outlined","ant-design:user-outlined","ant-design:user-switch-outlined","ant-design:usergroup-add-outlined","ant-design:usergroup-delete-outlined","ant-design:verified-outlined","ant-design:vertical-align-bottom-outlined","ant-design:vertical-align-middle-outlined","ant-design:vertical-align-top-outlined","ant-design:vertical-left-outlined","ant-design:vertical-right-outlined","ant-design:video-camera-add-outlined","ant-design:video-camera-filled","ant-design:video-camera-outlined","ant-design:video-camera-twotone","ant-design:wallet-filled","ant-design:wallet-outlined","ant-design:wallet-twotone","ant-design:warning-filled","ant-design:warning-outlined","ant-design:warning-twotone","ant-design:wechat-filled","ant-design:wechat-outlined","ant-design:weibo-circle-filled","ant-design:weibo-circle-outlined","ant-design:weibo-outlined","ant-design:weibo-square-filled","ant-design:weibo-square-outlined","ant-design:whats-app-outlined","ant-design:wifi-outlined","ant-design:windows-filled","ant-design:windows-outlined","ant-design:woman-outlined","ant-design:yahoo-filled","ant-design:yahoo-outlined","ant-design:youtube-filled","ant-design:youtube-outlined","ant-design:yuque-filled","ant-design:yuque-outlined","ant-design:zhihu-circle-filled","ant-design:zhihu-outlined","ant-design:zhihu-square-filled","ant-design:zoom-in-outlined","ant-design:zoom-out-outlined"]},Z={name:"TDesign Icons",prefix:"tdesign",icons:["tdesign:activity","tdesign:add","tdesign:add-and-subtract","tdesign:add-circle","tdesign:add-rectangle","tdesign:address-book","tdesign:adjustment","tdesign:airplay-wave","tdesign:alarm","tdesign:alarm-add","tdesign:alarm-off","tdesign:align-top","tdesign:align-vertical","tdesign:alpha","tdesign:analytics","tdesign:anchor","tdesign:angry","tdesign:animation","tdesign:animation-1","tdesign:anticlockwise","tdesign:api","tdesign:app","tdesign:apple","tdesign:application","tdesign:architecture-hui-style","tdesign:archway","tdesign:archway-1","tdesign:arrow-down","tdesign:arrow-down-circle","tdesign:arrow-down-rectangle","tdesign:arrow-left","tdesign:arrow-left-circle","tdesign:arrow-left-down","tdesign:arrow-left-down-circle","tdesign:arrow-left-right-1","tdesign:arrow-left-right-2","tdesign:arrow-left-right-3","tdesign:arrow-left-right-circle","tdesign:arrow-left-up","tdesign:arrow-left-up-circle","tdesign:arrow-right","tdesign:arrow-right-circle","tdesign:arrow-right-down","tdesign:arrow-right-down-circle","tdesign:arrow-right-up","tdesign:arrow-right-up-circle","tdesign:arrow-triangle-down","tdesign:arrow-triangle-down-filled","tdesign:arrow-triangle-up","tdesign:arrow-triangle-up-filled","tdesign:arrow-up","tdesign:arrow-up-circle","tdesign:arrow-up-down-1","tdesign:arrow-up-down-2","tdesign:arrow-up-down-3","tdesign:arrow-up-down-circle","tdesign:artboard","tdesign:article","tdesign:assignment","tdesign:assignment-checked","tdesign:assignment-code","tdesign:assignment-error","tdesign:assignment-user","tdesign:attach","tdesign:attic","tdesign:attic-1","tdesign:audio","tdesign:awkward","tdesign:backtop","tdesign:backtop-rectangle","tdesign:backup","tdesign:backward","tdesign:bad-laugh","tdesign:bamboo-shoot","tdesign:banana","tdesign:barbecue","tdesign:barcode","tdesign:barcode-1","tdesign:base-station","tdesign:battery","tdesign:battery-add","tdesign:battery-charging","tdesign:battery-low","tdesign:bean","tdesign:beer","tdesign:beta","tdesign:bifurcate","tdesign:bill","tdesign:blockchain","tdesign:bluetooth","tdesign:bone","tdesign:book","tdesign:book-open","tdesign:bookmark","tdesign:bookmark-add","tdesign:bookmark-checked","tdesign:bookmark-double","tdesign:bookmark-minus","tdesign:braces","tdesign:brackets","tdesign:bread","tdesign:bridge","tdesign:bridge-1","tdesign:bridge-2","tdesign:bridge-3","tdesign:bridge-4","tdesign:bridge-5","tdesign:bridge-6","tdesign:brightness","tdesign:brightness-1","tdesign:broccoli","tdesign:browse","tdesign:browse-gallery","tdesign:browse-off","tdesign:brush","tdesign:bug","tdesign:bug-report","tdesign:building","tdesign:building-1","tdesign:building-2","tdesign:building-3","tdesign:building-4","tdesign:building-5","tdesign:bulletpoint","tdesign:button","tdesign:cabbage","tdesign:cake","tdesign:calculation","tdesign:calculation-1","tdesign:calculator","tdesign:calculator-1","tdesign:calendar","tdesign:calendar-1","tdesign:calendar-2","tdesign:calendar-edit","tdesign:calendar-event","tdesign:call","tdesign:call-1","tdesign:call-cancel","tdesign:call-forwarded","tdesign:call-incoming","tdesign:call-off","tdesign:calm","tdesign:calm-1","tdesign:camera","tdesign:camera-1","tdesign:camera-2","tdesign:camera-off","tdesign:candy","tdesign:card","tdesign:cardmembership","tdesign:caret-down","tdesign:caret-down-small","tdesign:caret-left","tdesign:caret-left-small","tdesign:caret-right","tdesign:caret-right-small","tdesign:caret-up","tdesign:caret-up-small","tdesign:cart","tdesign:cart-add","tdesign:cast","tdesign:castle","tdesign:castle-1","tdesign:castle-2","tdesign:castle-3","tdesign:castle-4","tdesign:castle-5","tdesign:castle-6","tdesign:castle-7","tdesign:cat","tdesign:catalog","tdesign:cd","tdesign:celsius","tdesign:center-focus-strong","tdesign:centimeter","tdesign:certificate","tdesign:certificate-1","tdesign:chart","tdesign:chart-3d","tdesign:chart-add","tdesign:chart-analytics","tdesign:chart-area","tdesign:chart-area-multi","tdesign:chart-bar","tdesign:chart-bubble","tdesign:chart-colum","tdesign:chart-combo","tdesign:chart-line","tdesign:chart-line-data","tdesign:chart-line-data-1","tdesign:chart-line-multi","tdesign:chart-maximum","tdesign:chart-median","tdesign:chart-minimum","tdesign:chart-pie","tdesign:chart-radar","tdesign:chart-radial","tdesign:chart-ring","tdesign:chart-ring-1","tdesign:chart-scatter","tdesign:chart-stacked","tdesign:chat","tdesign:chat-add","tdesign:chat-bubble","tdesign:chat-bubble-1","tdesign:chat-bubble-add","tdesign:chat-bubble-error","tdesign:chat-bubble-help","tdesign:chat-bubble-history","tdesign:chat-bubble-locked","tdesign:chat-bubble-smile","tdesign:chat-checked","tdesign:chat-clear","tdesign:chat-double","tdesign:chat-error","tdesign:chat-heart","tdesign:chat-message","tdesign:chat-off","tdesign:chat-poll","tdesign:chat-setting","tdesign:check","tdesign:check-circle","tdesign:check-circle-filled","tdesign:check-double","tdesign:check-rectangle","tdesign:check-rectangle-filled","tdesign:cheese","tdesign:cherry","tdesign:chevron-down","tdesign:chevron-down-circle","tdesign:chevron-down-double","tdesign:chevron-down-double-s","tdesign:chevron-down-rectangle","tdesign:chevron-down-s","tdesign:chevron-left","tdesign:chevron-left-circle","tdesign:chevron-left-double","tdesign:chevron-left-double-s","tdesign:chevron-left-rectangle","tdesign:chevron-left-s","tdesign:chevron-right","tdesign:chevron-right-circle","tdesign:chevron-right-double","tdesign:chevron-right-double-s","tdesign:chevron-right-rectangle","tdesign:chevron-right-s","tdesign:chevron-up","tdesign:chevron-up-circle","tdesign:chevron-up-double","tdesign:chevron-up-double-s","tdesign:chevron-up-rectangle","tdesign:chevron-up-s","tdesign:chicken","tdesign:chili","tdesign:chimney","tdesign:chimney-1","tdesign:chimney-2","tdesign:chinese-cabbage","tdesign:church","tdesign:circle","tdesign:city","tdesign:city-1","tdesign:city-10","tdesign:city-11","tdesign:city-12","tdesign:city-13","tdesign:city-14","tdesign:city-15","tdesign:city-2","tdesign:city-3","tdesign:city-4","tdesign:city-5","tdesign:city-6","tdesign:city-7","tdesign:city-8","tdesign:city-9","tdesign:city-ancient","tdesign:city-ancient-1","tdesign:city-ancient-2","tdesign:clear","tdesign:clear-formatting","tdesign:clear-formatting-1","tdesign:close","tdesign:close-circle","tdesign:close-circle-filled","tdesign:close-octagon","tdesign:close-rectangle","tdesign:cloud","tdesign:cloud-download","tdesign:cloud-upload","tdesign:cloudy-day","tdesign:cloudy-night","tdesign:cloudy-night-rain","tdesign:cloudy-rain","tdesign:cloudy-sunny","tdesign:code","tdesign:code-1","tdesign:code-off","tdesign:cola","tdesign:collage","tdesign:collection","tdesign:color-invert","tdesign:combination","tdesign:command","tdesign:compass","tdesign:compass-1","tdesign:component-breadcrumb","tdesign:component-checkbox","tdesign:component-divider-horizontal","tdesign:component-divider-vertical","tdesign:component-dropdown","tdesign:component-grid","tdesign:component-input","tdesign:component-layout","tdesign:component-radio","tdesign:component-space","tdesign:component-steps","tdesign:component-switch","tdesign:constraint","tdesign:contrast","tdesign:contrast-1","tdesign:control-platform","tdesign:cooperate","tdesign:coordinate-system","tdesign:copy","tdesign:copyright","tdesign:corn","tdesign:coupon","tdesign:course","tdesign:cpu","tdesign:crack","tdesign:creditcard","tdesign:creditcard-add","tdesign:creditcard-off","tdesign:crooked-smile","tdesign:cry-and-laugh","tdesign:cry-loudly","tdesign:css3","tdesign:cucumber","tdesign:currency-exchange","tdesign:cursor","tdesign:curtain","tdesign:curve","tdesign:cut","tdesign:cut-1","tdesign:dam","tdesign:dam-1","tdesign:dam-2","tdesign:dam-3","tdesign:dam-4","tdesign:dam-5","tdesign:dam-6","tdesign:dam-7","tdesign:dart-board","tdesign:dashboard","tdesign:dashboard-1","tdesign:data","tdesign:data-base","tdesign:data-checked","tdesign:data-display","tdesign:data-error","tdesign:data-search","tdesign:delete","tdesign:delete-1","tdesign:delete-time","tdesign:delta","tdesign:depressed","tdesign:desktop","tdesign:desktop-1","tdesign:despise","tdesign:device","tdesign:discount","tdesign:discount-filled","tdesign:dissatisfaction","tdesign:divide","tdesign:dividers","tdesign:dividers-1","tdesign:doge","tdesign:double-storey","tdesign:download","tdesign:download-1","tdesign:downscale","tdesign:drag-drop","tdesign:drag-move","tdesign:drink","tdesign:drumstick","tdesign:dv","tdesign:dvd","tdesign:earphone","tdesign:earth","tdesign:edit","tdesign:edit-1","tdesign:edit-2","tdesign:edit-off","tdesign:education","tdesign:eggplant","tdesign:ellipsis","tdesign:emo-emotional","tdesign:enter","tdesign:equal","tdesign:error","tdesign:error-circle","tdesign:error-circle-filled","tdesign:error-triangle","tdesign:excited","tdesign:excited-1","tdesign:expand-horizontal","tdesign:expand-vertical","tdesign:explore","tdesign:explore-off","tdesign:exposure","tdesign:extension","tdesign:extension-off","tdesign:face-retouching","tdesign:fact-check","tdesign:fahrenheit-scale","tdesign:feel-at-ease","tdesign:ferocious","tdesign:ferris-wheel","tdesign:file","tdesign:file-1","tdesign:file-add","tdesign:file-add-1","tdesign:file-attachment","tdesign:file-blocked","tdesign:file-code","tdesign:file-code-1","tdesign:file-copy","tdesign:file-download","tdesign:file-excel","tdesign:file-export","tdesign:file-icon","tdesign:file-image","tdesign:file-import","tdesign:file-locked","tdesign:file-minus","tdesign:file-music","tdesign:file-onenote","tdesign:file-outlook","tdesign:file-paste","tdesign:file-pdf","tdesign:file-powerpoint","tdesign:file-restore","tdesign:file-safety","tdesign:file-search","tdesign:file-setting","tdesign:file-teams","tdesign:file-unknown","tdesign:file-unlocked","tdesign:file-word","tdesign:file-zip","tdesign:fill-color","tdesign:fill-color-1","tdesign:film","tdesign:film-1","tdesign:filter","tdesign:filter-1","tdesign:filter-2","tdesign:filter-3","tdesign:filter-clear","tdesign:filter-off","tdesign:fingerprint","tdesign:fingerprint-1","tdesign:fingerprint-2","tdesign:fingerprint-3","tdesign:fish","tdesign:flag","tdesign:flag-1","tdesign:flag-2","tdesign:flag-3","tdesign:flag-4","tdesign:flashlight","tdesign:flight-landing","tdesign:flight-takeoff","tdesign:flip-smiling-face","tdesign:flip-to-back","tdesign:flip-to-front","tdesign:focus","tdesign:fog","tdesign:fog-night","tdesign:fog-sunny","tdesign:folder","tdesign:folder-1","tdesign:folder-add","tdesign:folder-add-1","tdesign:folder-blocked","tdesign:folder-details","tdesign:folder-export","tdesign:folder-import","tdesign:folder-locked","tdesign:folder-minus","tdesign:folder-move","tdesign:folder-off","tdesign:folder-open","tdesign:folder-open-1","tdesign:folder-search","tdesign:folder-setting","tdesign:folder-shared","tdesign:folder-unlocked","tdesign:folder-zip","tdesign:forest","tdesign:fork","tdesign:form","tdesign:format-horizontal-align-bottom","tdesign:format-horizontal-align-center","tdesign:format-horizontal-align-top","tdesign:format-vertical-align-center","tdesign:format-vertical-align-left","tdesign:format-vertical-align-right","tdesign:forward","tdesign:frame","tdesign:frame-1","tdesign:fries","tdesign:fullscreen","tdesign:fullscreen-1","tdesign:fullscreen-2","tdesign:fullscreen-exit","tdesign:fullscreen-exit-1","tdesign:function-curve","tdesign:functions","tdesign:functions-1","tdesign:gamepad","tdesign:gamepad-1","tdesign:gamma","tdesign:garlic","tdesign:gender-female","tdesign:gender-male","tdesign:gesture-applause","tdesign:gesture-click","tdesign:gesture-down","tdesign:gesture-expansion","tdesign:gesture-left","tdesign:gesture-left-slip","tdesign:gesture-pray","tdesign:gesture-pray-1","tdesign:gesture-press","tdesign:gesture-ranslation","tdesign:gesture-ranslation-1","tdesign:gesture-right","tdesign:gesture-right-slip","tdesign:gesture-slide-up","tdesign:gesture-up","tdesign:gesture-up-1","tdesign:gesture-up-2","tdesign:gesture-up-and-down","tdesign:gesture-wipe-down","tdesign:gift","tdesign:giggle","tdesign:git-branch","tdesign:git-commit","tdesign:git-merge","tdesign:git-pull-request","tdesign:git-repository","tdesign:git-repository-commits","tdesign:git-repository-private","tdesign:gps","tdesign:grape","tdesign:greater-than","tdesign:greater-than-or-equal","tdesign:green-onion","tdesign:grid-add","tdesign:grid-view","tdesign:guitar","tdesign:hamburger","tdesign:happy","tdesign:hard-disk-storage","tdesign:hard-drive","tdesign:hashtag","tdesign:hd","tdesign:heart","tdesign:heart-filled","tdesign:help","tdesign:help-circle","tdesign:help-circle-filled","tdesign:help-rectangle","tdesign:highlight","tdesign:highlight-1","tdesign:history","tdesign:history-setting","tdesign:home","tdesign:hospital","tdesign:hospital-1","tdesign:hotspot-wave","tdesign:hourglass","tdesign:houses","tdesign:houses-1","tdesign:houses-2","tdesign:html5","tdesign:https","tdesign:ice-cream","tdesign:icon","tdesign:image","tdesign:image-1","tdesign:image-add","tdesign:image-edit","tdesign:image-error","tdesign:image-off","tdesign:image-search","tdesign:indent-left","tdesign:indent-right","tdesign:indicator","tdesign:info-circle","tdesign:info-circle-filled","tdesign:ink","tdesign:install","tdesign:install-desktop","tdesign:install-mobile","tdesign:institution","tdesign:institution-checked","tdesign:internet","tdesign:ipod","tdesign:joyful","tdesign:jump","tdesign:jump-off","tdesign:keyboard","tdesign:laptop","tdesign:layers","tdesign:layout","tdesign:leaderboard","tdesign:lemon","tdesign:lemon-slice","tdesign:less-than","tdesign:less-than-or-equal","tdesign:letters-a","tdesign:letters-b","tdesign:letters-c","tdesign:letters-d","tdesign:letters-e","tdesign:letters-f","tdesign:letters-g","tdesign:letters-h","tdesign:letters-i","tdesign:letters-j","tdesign:letters-k","tdesign:letters-l","tdesign:letters-m","tdesign:letters-n","tdesign:letters-o","tdesign:letters-p","tdesign:letters-q","tdesign:letters-r","tdesign:letters-s","tdesign:letters-t","tdesign:letters-u","tdesign:letters-v","tdesign:letters-w","tdesign:letters-x","tdesign:letters-y","tdesign:letters-z","tdesign:lightbulb","tdesign:lightbulb-circle","tdesign:lighthouse","tdesign:lighthouse-1","tdesign:lighthouse-2","tdesign:lighting-circle","tdesign:line-height","tdesign:link","tdesign:link-1","tdesign:link-unlink","tdesign:liquor","tdesign:list","tdesign:load","tdesign:loading","tdesign:location","tdesign:location-1","tdesign:location-enlargement","tdesign:location-error","tdesign:location-parking-place","tdesign:location-reduction","tdesign:location-setting","tdesign:lock-off","tdesign:lock-on","tdesign:lock-time","tdesign:login","tdesign:logo-adobe-illustrate","tdesign:logo-adobe-photoshop","tdesign:logo-adobe-photoshop-1","tdesign:logo-android","tdesign:logo-apple","tdesign:logo-apple-filled","tdesign:logo-behance","tdesign:logo-chrome","tdesign:logo-chrome-filled","tdesign:logo-cinema4d","tdesign:logo-codepen","tdesign:logo-codesandbox","tdesign:logo-dribbble","tdesign:logo-facebook","tdesign:logo-figma","tdesign:logo-framer","tdesign:logo-github","tdesign:logo-github-filled","tdesign:logo-gitlab","tdesign:logo-ie","tdesign:logo-ie-filled","tdesign:logo-instagram","tdesign:logo-qq","tdesign:logo-twitter","tdesign:logo-wechat","tdesign:logo-wechat-stroke","tdesign:logo-wecom","tdesign:logo-windows","tdesign:logo-windows-filled","tdesign:logo-youtube","tdesign:logout","tdesign:look-around","tdesign:loudspeaker","tdesign:mail","tdesign:map","tdesign:map-3d","tdesign:map-add","tdesign:map-aiming","tdesign:map-blocked","tdesign:map-bubble","tdesign:map-cancel","tdesign:map-chat","tdesign:map-checked","tdesign:map-collection","tdesign:map-connection","tdesign:map-distance","tdesign:map-double","tdesign:map-edit","tdesign:map-grid","tdesign:map-information","tdesign:map-information-1","tdesign:map-information-2","tdesign:map-location","tdesign:map-locked","tdesign:map-marked","tdesign:map-navigation","tdesign:map-outline","tdesign:map-route-planning","tdesign:map-ruler","tdesign:map-safety","tdesign:map-search","tdesign:map-search-1","tdesign:map-setting","tdesign:map-unlocked","tdesign:mark-as-unread","tdesign:markup","tdesign:mathematics","tdesign:measurement","tdesign:measurement-1","tdesign:measurement-2","tdesign:meat-pepper","tdesign:media-library","tdesign:member","tdesign:menu","tdesign:menu-application","tdesign:menu-fold","tdesign:menu-unfold","tdesign:merge-cells","tdesign:microphone","tdesign:microphone-1","tdesign:microphone-2","tdesign:milk","tdesign:minus","tdesign:minus-circle","tdesign:minus-circle-filled","tdesign:minus-rectangle","tdesign:minus-rectangle-filled","tdesign:mirror","tdesign:mobile","tdesign:mobile-blocked","tdesign:mobile-list","tdesign:mobile-navigation","tdesign:mobile-shortcut","tdesign:mobile-vibrate","tdesign:mode-dark","tdesign:mode-light","tdesign:module","tdesign:money","tdesign:monument","tdesign:moon","tdesign:moon-fall","tdesign:moon-rising","tdesign:more","tdesign:mosque","tdesign:mosque-1","tdesign:mouse","tdesign:move","tdesign:move-1","tdesign:movie-clapper","tdesign:multiply","tdesign:museum","tdesign:museum-1","tdesign:museum-2","tdesign:mushroom","tdesign:mushroom-1","tdesign:music","tdesign:music-1","tdesign:music-2","tdesign:music-rectangle-add","tdesign:navigation-arrow","tdesign:next","tdesign:no-expression","tdesign:noodle","tdesign:notification","tdesign:notification-add","tdesign:notification-circle","tdesign:notification-error","tdesign:notification-filled","tdesign:numbers-0","tdesign:numbers-0-1","tdesign:numbers-1","tdesign:numbers-1-1","tdesign:numbers-2","tdesign:numbers-2-1","tdesign:numbers-3","tdesign:numbers-3-1","tdesign:numbers-4","tdesign:numbers-4-1","tdesign:numbers-5","tdesign:numbers-5-1","tdesign:numbers-6","tdesign:numbers-6-1","tdesign:numbers-7","tdesign:numbers-7-1","tdesign:numbers-8","tdesign:numbers-8-1","tdesign:numbers-9","tdesign:numbers-9-1","tdesign:nut","tdesign:object-storage","tdesign:open-mouth","tdesign:opera","tdesign:order-adjustment-column","tdesign:order-ascending","tdesign:order-descending","tdesign:outbox","tdesign:page-first","tdesign:page-head","tdesign:page-last","tdesign:palace","tdesign:palace-1","tdesign:palace-2","tdesign:palace-3","tdesign:palace-4","tdesign:palette","tdesign:palette-1","tdesign:panorama-horizontal","tdesign:panorama-vertical","tdesign:pantone","tdesign:parabola","tdesign:parentheses","tdesign:paste","tdesign:patio","tdesign:pause","tdesign:pause-circle","tdesign:pause-circle-filled","tdesign:pause-circle-stroke","tdesign:pea","tdesign:peach","tdesign:pear","tdesign:pearl-of-the-orient","tdesign:pen","tdesign:pen-ball","tdesign:pen-brush","tdesign:pen-mark","tdesign:pen-quill","tdesign:pending","tdesign:percent","tdesign:personal-information","tdesign:phone-locked","tdesign:phone-search","tdesign:pi","tdesign:piano","tdesign:pin","tdesign:pin-filled","tdesign:play","tdesign:play-circle","tdesign:play-circle-filled","tdesign:play-circle-stroke","tdesign:play-circle-stroke-add","tdesign:play-demo","tdesign:play-rectangle","tdesign:plus","tdesign:popsicle","tdesign:portrait","tdesign:pout","tdesign:poweroff","tdesign:precise-monitor","tdesign:previous","tdesign:print","tdesign:pumpkin","tdesign:pyramid","tdesign:pyramid-maya","tdesign:qrcode","tdesign:quadratic","tdesign:questionnaire","tdesign:queue","tdesign:radar","tdesign:radio-1","tdesign:radio-2","tdesign:radish","tdesign:rain-heavy","tdesign:rain-light","tdesign:rain-medium","tdesign:rainbow","tdesign:rectangle","tdesign:refresh","tdesign:relation","tdesign:relativity","tdesign:remote-wave","tdesign:remove","tdesign:replay","tdesign:rice","tdesign:rice-ball","tdesign:roast","tdesign:rocket","tdesign:rollback","tdesign:rollfront","tdesign:root-list","tdesign:rotate","tdesign:rotate-locked","tdesign:rotation","tdesign:round","tdesign:router-wave","tdesign:rss","tdesign:ruler","tdesign:sailing-hotel","tdesign:sandwich","tdesign:saturation","tdesign:sausage","tdesign:save","tdesign:saving-pot","tdesign:scan","tdesign:screen-4k","tdesign:screencast","tdesign:screenshot","tdesign:scroll-bar","tdesign:sd-card","tdesign:sd-card-1","tdesign:search","tdesign:search-error","tdesign:secured","tdesign:send","tdesign:send-cancel","tdesign:sensors","tdesign:sensors-1","tdesign:sensors-2","tdesign:sensors-off","tdesign:serenity","tdesign:server","tdesign:service","tdesign:setting","tdesign:setting-1","tdesign:share","tdesign:share-1","tdesign:sharpness","tdesign:shield-error","tdesign:shimen","tdesign:shop","tdesign:shop-1","tdesign:shop-2","tdesign:shop-3","tdesign:shop-4","tdesign:shop-5","tdesign:shrimp","tdesign:shrink-horizontal","tdesign:shrink-vertical","tdesign:shutter","tdesign:shutup","tdesign:sim-card","tdesign:sim-card-1","tdesign:sim-card-2","tdesign:sinister-smile","tdesign:sip","tdesign:slash","tdesign:sleep","tdesign:slice","tdesign:slideshow","tdesign:smile","tdesign:sneer","tdesign:snowflake","tdesign:sonic","tdesign:sound","tdesign:sound-down","tdesign:sound-high","tdesign:sound-low","tdesign:sound-mute","tdesign:sound-mute-1","tdesign:sound-up","tdesign:space","tdesign:speechless-1","tdesign:star","tdesign:star-filled","tdesign:statue-of-jesus","tdesign:sticky-note","tdesign:stop","tdesign:stop-circle","tdesign:stop-circle-filled","tdesign:stop-circle-stroke","tdesign:store","tdesign:street-road","tdesign:street-road-1","tdesign:subtitle","tdesign:subway-line","tdesign:sum","tdesign:sun-fall","tdesign:sun-rising","tdesign:sunny","tdesign:support","tdesign:surprised","tdesign:surprised-1","tdesign:swap","tdesign:swap-left","tdesign:swap-right","tdesign:swear-1","tdesign:swear-2","tdesign:system-2","tdesign:system-3","tdesign:system-application","tdesign:system-blocked","tdesign:system-code","tdesign:system-components","tdesign:system-coordinate","tdesign:system-device","tdesign:system-interface","tdesign:system-location","tdesign:system-locked","tdesign:system-log","tdesign:system-marked","tdesign:system-messages","tdesign:system-regulation","tdesign:system-search","tdesign:system-setting","tdesign:system-storage","tdesign:system-sum","tdesign:system-unlocked","tdesign:tab","tdesign:table","tdesign:table-1","tdesign:table-2","tdesign:table-add","tdesign:table-split","tdesign:tag","tdesign:tangerinr","tdesign:tape","tdesign:task","tdesign:task-1","tdesign:task-add","tdesign:task-add-1","tdesign:task-checked","tdesign:task-error","tdesign:task-location","tdesign:task-marked","tdesign:task-setting","tdesign:task-visible","tdesign:tea","tdesign:teahouse","tdesign:template","tdesign:temple","tdesign:terminal","tdesign:terminal-rectangle","tdesign:terminal-rectangle-1","tdesign:terminal-window","tdesign:textbox","tdesign:textformat-bold","tdesign:textformat-color","tdesign:textformat-italic","tdesign:textformat-strikethrough","tdesign:textformat-underline","tdesign:textformat-wrap","tdesign:theaters","tdesign:thumb-down","tdesign:thumb-down-1","tdesign:thumb-down-2","tdesign:thumb-up","tdesign:thumb-up-1","tdesign:thumb-up-2","tdesign:thunder","tdesign:thunderstorm","tdesign:thunderstorm-night","tdesign:thunderstorm-sunny","tdesign:ticket","tdesign:time","tdesign:time-filled","tdesign:tips","tdesign:tips-double","tdesign:tomato","tdesign:tools","tdesign:tools-circle","tdesign:tornado","tdesign:tower","tdesign:tower-1","tdesign:tower-2","tdesign:tower-3","tdesign:tower-clock","tdesign:town","tdesign:traffic","tdesign:traffic-events","tdesign:transform","tdesign:transform-1","tdesign:transform-2","tdesign:transform-3","tdesign:translate","tdesign:translate-1","tdesign:tree-list","tdesign:tree-round-dot","tdesign:tree-round-dot-vertical","tdesign:tree-square-dot","tdesign:tree-square-dot-vertical","tdesign:trending-down","tdesign:trending-up","tdesign:tv","tdesign:tv-1","tdesign:tv-2","tdesign:typography","tdesign:uncomfortable","tdesign:uncomfortable-1","tdesign:uncomfortable-2","tdesign:undertake","tdesign:undertake-delivery","tdesign:undertake-environment-protection","tdesign:undertake-hold-up","tdesign:undertake-transaction","tdesign:unfold-less","tdesign:unfold-more","tdesign:unhappy","tdesign:unhappy-1","tdesign:uninstall","tdesign:upload","tdesign:upload-1","tdesign:upscale","tdesign:usb","tdesign:user","tdesign:user-1","tdesign:user-add","tdesign:user-arrow-down","tdesign:user-arrow-left","tdesign:user-arrow-right","tdesign:user-arrow-up","tdesign:user-avatar","tdesign:user-blocked","tdesign:user-business","tdesign:user-checked","tdesign:user-checked-1","tdesign:user-circle","tdesign:user-clear","tdesign:user-error-1","tdesign:user-invisible","tdesign:user-list","tdesign:user-locked","tdesign:user-marked","tdesign:user-password","tdesign:user-safety","tdesign:user-search","tdesign:user-setting","tdesign:user-talk","tdesign:user-talk-1","tdesign:user-talk-off-1","tdesign:user-time","tdesign:user-transmit","tdesign:user-unknown","tdesign:user-unlocked","tdesign:user-vip","tdesign:user-visible","tdesign:usergroup","tdesign:usergroup-add","tdesign:usergroup-clear","tdesign:vehicle","tdesign:verified","tdesign:verify","tdesign:video","tdesign:video-camera","tdesign:video-camera-1","tdesign:video-camera-2","tdesign:video-camera-dollar","tdesign:video-camera-minus","tdesign:video-camera-music","tdesign:video-camera-off","tdesign:video-library","tdesign:view-agenda","tdesign:view-column","tdesign:view-in-ar","tdesign:view-list","tdesign:view-module","tdesign:visual-recognition","tdesign:wallet","tdesign:watch","tdesign:watermelon","tdesign:wave-left","tdesign:wave-right","tdesign:wealth","tdesign:wealth-1","tdesign:widget","tdesign:wifi","tdesign:wifi-1","tdesign:wifi-off","tdesign:wifi-off-1","tdesign:window","tdesign:window-1","tdesign:windy","tdesign:windy-rain","tdesign:wink","tdesign:work","tdesign:work-history","tdesign:work-off","tdesign:wry-smile","tdesign:zoom-in","tdesign:zoom-out"]},ee={class:"icon-picker flex justify-center items-center box"},ne={class:"flex flex-wrap box-border"},te=["onClick"],ie={class:"h-50px absolute bottom-0 left-0 flex items-center pl-[var(--el-popover-padding)] pr-[var(--el-popover-padding)]"},de=$({__name:"IconPicker",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(v){const u=i=>j(this,null,function*(){if(!i)return;const t=i.split(":");s.value=t[0];const c=g.findIndex(a=>a.prefix===t[0]),d=I(g[c].icons).findIndex(a=>a===i);yield _(),r.value=Math.ceil((d+1)/e(m))}),n=F(v,"modelValue"),x=L(),p=b(()=>x.getCurrentSize),l=b(()=>e(p)==="small"?"var(--el-component-size-small)":e(p)==="large"?"var(--el-component-size-large)":"var(--el-component-size)"),q=b(()=>({width:e(l),height:e(l),display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset",position:"relative",left:"-1px",cursor:"pointer"})),g=[X,Y,Z],s=k(g[0].prefix),f=b(()=>g.findIndex(i=>i.prefix===e(s))),N=()=>{r.value=1},m=k(49),r=k(1),T=i=>{const t=(e(r)-1)*e(m),c=e(r)*e(m);return i.slice(t,c)};H(()=>n.value,i=>j(this,null,function*(){yield _(),i&&u(i)}),{immediate:!0});const U=()=>{u(e(n))},A=i=>{if(i===e(n)){n.value="";return}n.value=i},z=k(""),I=i=>i.filter(t=>t.includes(e(z))),B=()=>{u(e(n))};return(i,t)=>{const c=D;return h(),y("div",ee,[o(e(P),{disabled:"",modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=d=>n.value=d),clearable:""},null,8,["modelValue"]),o(e(Q),{placement:"bottom",trigger:"click",width:450,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; height: 380px;",onShow:U},{reference:w(()=>[V("div",{style:S(q.value)},[n.value?(h(),K(c,{key:0,icon:n.value},null,8,["icon"])):O("",!0)],4)]),default:w(()=>[o(e(R),{class:"h-[calc(100%-50px)]!"},{default:w(()=>[o(e(P),{modelValue:z.value,"onUpdate:modelValue":t[1]||(t[1]=d=>z.value=d),class:"mb-20px",clearable:"",placeholder:"搜索图标",onClear:B},null,8,["modelValue"]),o(e(W),{"tab-position":"left",modelValue:s.value,"onUpdate:modelValue":t[2]||(t[2]=d=>s.value=d),onTabChange:N},{default:w(()=>[(h(),y(C,null,E(g,d=>o(e(G),{key:d.name,label:d.name,name:d.prefix},{default:w(()=>[V("div",ne,[(h(!0),y(C,null,E(T(I(d.icons)),a=>(h(),y("div",{key:a,style:S({width:l.value,height:l.value,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",border:`1px solid ${a===n.value?"var(--el-color-primary)":"var(--el-border-color)"}`,boxSizing:"border-box",margin:"2px",transition:"all 0.3s"}),class:"hover:border-color-[var(--el-color-primary)]!",onClick:se=>A(a)},[o(c,{icon:a,color:a===n.value?"var(--el-color-primary)":"inherit"},null,8,["icon","color"])],12,te))),128))])]),_:2},1032,["label","name"])),64))]),_:1},8,["modelValue"])]),_:1}),V("div",ie,[o(e(J),{"current-page":r.value,"onUpdate:currentPage":t[3]||(t[3]=d=>r.value=d),"page-size":m.value,"onUpdate:pageSize":t[4]||(t[4]=d=>m.value=d),"pager-count":5,small:"","page-sizes":[100,200,300,400],layout:"total, prev, pager, next, jumper",total:I(g[f.value].icons).length},null,8,["current-page","page-size","total"])])]),_:1})])}}}),me=M(de,[["__scopeId","data-v-1079899e"]]);export{me as I}; diff --git a/assets/IconPicker-BDI0d7RO.js b/assets/IconPicker-xreVUfVq.js similarity index 64% rename from assets/IconPicker-BDI0d7RO.js rename to assets/IconPicker-xreVUfVq.js index 4e3f2fb1..c7f07038 100644 --- a/assets/IconPicker-BDI0d7RO.js +++ b/assets/IconPicker-xreVUfVq.js @@ -1 +1 @@ -import{I as a}from"./IconPicker-DQ9E_oKs.js";import{_ as m}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{y as i,r as n,z as p,K as s,L as l,O as u,u as r}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const y=i({__name:"IconPicker",setup(c){const o=n("");return(f,e)=>(p(),s(r(m),{title:"图标选择器"},{default:l(()=>[u(r(a),{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value=t)},null,8,["modelValue"])]),_:1}))}});export{y as default}; +import{I as a}from"./IconPicker-DRoe2BX4.js";import{_ as m}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{y as i,r as n,z as p,K as s,L as l,O as u,u as r}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const y=i({__name:"IconPicker",setup(c){const o=n("");return(f,e)=>(p(),s(r(m),{title:"图标选择器"},{default:l(()=>[u(r(a),{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value=t)},null,8,["modelValue"])]),_:1}))}});export{y as default}; diff --git a/assets/ImageCropping-BsfX8iwY.js b/assets/ImageCropping-DxUYpy0B.js similarity index 99% rename from assets/ImageCropping-BsfX8iwY.js rename to assets/ImageCropping-DxUYpy0B.js index 6fba7df2..40d22e2e 100644 --- a/assets/ImageCropping-BsfX8iwY.js +++ b/assets/ImageCropping-DxUYpy0B.js @@ -1,4 +1,4 @@ -var $t=(a,t,i)=>new Promise((e,n)=>{var r=l=>{try{s(i.next(l))}catch(f){n(f)}},o=l=>{try{s(i.throw(l))}catch(f){n(f)}},s=l=>l.done?e(l.value):Promise.resolve(l.value).then(r,o);s((i=i.apply(a,t)).next())});import{_ as ke}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{I as Ie}from"./Icon-CdhVCYkm.js";import{y as ue,u as m,c as Gt,r as V,o as Le,w as ze,n as Pe,S as He,z as bt,A as Mt,D as z,R as at,T as Xe,U as Ye,O as E,L as R,H as qt,J as We,K as Ue,a4 as Kt}from"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{_ as Y}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{N as je,O as Ve,P as G,q as me,E as $e,A as Qt}from"./element-plus-CUBv5pjL.js";/* empty css *//*! +var $t=(a,t,i)=>new Promise((e,n)=>{var r=l=>{try{s(i.next(l))}catch(f){n(f)}},o=l=>{try{s(i.throw(l))}catch(f){n(f)}},s=l=>l.done?e(l.value):Promise.resolve(l.value).then(r,o);s((i=i.apply(a,t)).next())});import{_ as ke}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{I as Ie}from"./Icon-BTLftY2_.js";import{y as ue,u as m,c as Gt,r as V,o as Le,w as ze,n as Pe,S as He,z as bt,A as Mt,D as z,R as at,T as Xe,U as Ye,O as E,L as R,H as qt,J as We,K as Ue,a4 as Kt}from"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{_ as Y}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{N as je,O as Ve,P as G,q as me,E as $e,A as Qt}from"./element-plus-CUBv5pjL.js";/* empty css *//*! * Cropper.js v1.6.2 * https://fengyuanchen.github.io/cropperjs * diff --git a/assets/ImageViewer-BCj9bDfj.js b/assets/ImageViewer-BOf9L9uI.js similarity index 88% rename from assets/ImageViewer-BCj9bDfj.js rename to assets/ImageViewer-BOf9L9uI.js index 01bfb8ea..d070203f 100644 --- a/assets/ImageViewer-BCj9bDfj.js +++ b/assets/ImageViewer-BOf9L9uI.js @@ -1 +1 @@ -var C=Object.defineProperty;var c=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var d=(a,e,t)=>e in a?C(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,u=(a,e)=>{for(var t in e||(e={}))I.call(e,t)&&d(a,t,e[t]);if(c)for(var t of c(e))V.call(e,t)&&d(a,t,e[t]);return a};import{_ as y}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{p as r,i as k}from"./index-DHbc4UQl.js";/* empty css */import{H as L}from"./element-plus-CUBv5pjL.js";import{y as b,c as v,r as z,z as g,K as _,C as O,u as l,H as B,O as w,ar as E,L as f,a4 as M}from"./vue-chunks-ChjHxF1G.js";import{_ as N}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const $=b({__name:"ImageViewer",props:{urlList:{type:Array,default:()=>[]},zIndex:r.number.def(200),initialIndex:r.number.def(0),infinite:r.bool.def(!0),hideOnClickModal:r.bool.def(!1),teleported:r.bool.def(!1),show:r.bool.def(!1)},setup(a){const e=a,t=v(()=>{const i=u({},e);return delete i.show,i}),s=z(e.show),n=()=>{s.value=!1};return(i,p)=>s.value?(g(),_(l(L),O({key:0},t.value,{onClose:n}),null,16)):B("",!0)}});let h=null;function D(a){if(!k)return;const{urlList:e,initialIndex:t=0,infinite:s=!0,hideOnClickModal:n=!1,teleported:i=!1,zIndex:p=2e3,show:x=!0}=a,o={},m=document.createElement("div");o.urlList=e,o.initialIndex=t,o.infinite=s,o.hideOnClickModal=n,o.teleported=i,o.zIndex=p,o.show=x,document.body.appendChild(m),h=w($,o),E(h,m)}const Q=b({__name:"ImageViewer",setup(a){const e=()=>{D({urlList:["https://images6.alphacoders.com/657/thumbbig-657194.webp","https://images3.alphacoders.com/677/thumbbig-677688.webp","https://images4.alphacoders.com/200/thumbbig-200966.webp","https://images5.alphacoders.com/657/thumbbig-657248.webp","https://images3.alphacoders.com/679/thumbbig-679917.webp","https://images3.alphacoders.com/737/thumbbig-73785.webp"]})};return(t,s)=>(g(),_(l(y),{title:"图片预览",message:"基于 ElementPlus 的 ImageViewer 组件二次封装"},{default:f(()=>[w(l(N),{type:"primary",onClick:e},{default:f(()=>s[0]||(s[0]=[M("打开")])),_:1})]),_:1}))}});export{Q as default}; +var C=Object.defineProperty;var c=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var d=(a,e,t)=>e in a?C(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,u=(a,e)=>{for(var t in e||(e={}))I.call(e,t)&&d(a,t,e[t]);if(c)for(var t of c(e))V.call(e,t)&&d(a,t,e[t]);return a};import{_ as y}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{p as r,i as k}from"./index-wnyZ7Zvr.js";/* empty css */import{H as L}from"./element-plus-CUBv5pjL.js";import{y as b,c as v,r as z,z as g,K as _,C as O,u as l,H as B,O as w,ar as E,L as f,a4 as M}from"./vue-chunks-ChjHxF1G.js";import{_ as N}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const $=b({__name:"ImageViewer",props:{urlList:{type:Array,default:()=>[]},zIndex:r.number.def(200),initialIndex:r.number.def(0),infinite:r.bool.def(!0),hideOnClickModal:r.bool.def(!1),teleported:r.bool.def(!1),show:r.bool.def(!1)},setup(a){const e=a,t=v(()=>{const i=u({},e);return delete i.show,i}),s=z(e.show),n=()=>{s.value=!1};return(i,p)=>s.value?(g(),_(l(L),O({key:0},t.value,{onClose:n}),null,16)):B("",!0)}});let h=null;function D(a){if(!k)return;const{urlList:e,initialIndex:t=0,infinite:s=!0,hideOnClickModal:n=!1,teleported:i=!1,zIndex:p=2e3,show:x=!0}=a,o={},m=document.createElement("div");o.urlList=e,o.initialIndex=t,o.infinite=s,o.hideOnClickModal=n,o.teleported=i,o.zIndex=p,o.show=x,document.body.appendChild(m),h=w($,o),E(h,m)}const Q=b({__name:"ImageViewer",setup(a){const e=()=>{D({urlList:["https://images6.alphacoders.com/657/thumbbig-657194.webp","https://images3.alphacoders.com/677/thumbbig-677688.webp","https://images4.alphacoders.com/200/thumbbig-200966.webp","https://images5.alphacoders.com/657/thumbbig-657248.webp","https://images3.alphacoders.com/679/thumbbig-679917.webp","https://images3.alphacoders.com/737/thumbbig-73785.webp"]})};return(t,s)=>(g(),_(l(y),{title:"图片预览",message:"基于 ElementPlus 的 ImageViewer 组件二次封装"},{default:f(()=>[w(l(N),{type:"primary",onClick:e},{default:f(()=>s[0]||(s[0]=[M("打开")])),_:1})]),_:1}))}});export{Q as default}; diff --git a/assets/Infotip-BqE8s74y.js b/assets/Infotip-GXE8Z7-L.js similarity index 67% rename from assets/Infotip-BqE8s74y.js rename to assets/Infotip-GXE8Z7-L.js index 23ac90ea..59aac5bd 100644 --- a/assets/Infotip-BqE8s74y.js +++ b/assets/Infotip-GXE8Z7-L.js @@ -1 +1 @@ -import{_ as i}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as s}from"./Infotip.vue_vue_type_script_setup_true_lang-nMjZ8saZ.js";import{y as a,z as n,K as r,L as c,O as m,u as o}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Highlight.vue_vue_type_script_lang-DurFEquh.js";const x=a({__name:"Infotip",setup(p){const t=e=>{e==="访问地址"&&window.open("https://iconify.design/")};return(e,f)=>(n(),r(o(i),{title:"信息提示",message:"基于 Highlight 组件二次封装"},{default:c(()=>[m(o(s),{"show-index":!1,title:"推荐使用Iconify组件",schema:[{label:"Iconify组件基本包含所有的图标,你可以查询到你想要的任何图标。并且打包只会打包所用到的图标。",keys:["Iconify"]},{label:"访问地址",keys:["访问地址"]}],onClick:t})]),_:1}))}});export{x as default}; +import{_ as i}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as s}from"./Infotip.vue_vue_type_script_setup_true_lang-DijMvXPW.js";import{y as a,z as n,K as r,L as c,O as m,u as o}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Highlight.vue_vue_type_script_lang-BFIi4_k_.js";const x=a({__name:"Infotip",setup(p){const t=e=>{e==="访问地址"&&window.open("https://iconify.design/")};return(e,f)=>(n(),r(o(i),{title:"信息提示",message:"基于 Highlight 组件二次封装"},{default:c(()=>[m(o(s),{"show-index":!1,title:"推荐使用Iconify组件",schema:[{label:"Iconify组件基本包含所有的图标,你可以查询到你想要的任何图标。并且打包只会打包所用到的图标。",keys:["Iconify"]},{label:"访问地址",keys:["访问地址"]}],onClick:t})]),_:1}))}});export{x as default}; diff --git a/assets/Infotip.vue_vue_type_script_setup_true_lang-nMjZ8saZ.js b/assets/Infotip.vue_vue_type_script_setup_true_lang-DijMvXPW.js similarity index 85% rename from assets/Infotip.vue_vue_type_script_setup_true_lang-nMjZ8saZ.js rename to assets/Infotip.vue_vue_type_script_setup_true_lang-DijMvXPW.js index 42902bef..51992f78 100644 --- a/assets/Infotip.vue_vue_type_script_setup_true_lang-nMjZ8saZ.js +++ b/assets/Infotip.vue_vue_type_script_setup_true_lang-DijMvXPW.js @@ -1 +1 @@ -import{I as h}from"./Icon-CdhVCYkm.js";import{_ as y}from"./Highlight.vue_vue_type_script_lang-DurFEquh.js";import{p as a}from"./index-DHbc4UQl.js";import{y as x,z as o,A as r,O as n,D as p,Q as i,H as u,I as g,a3 as k,L as b,a4 as C,u as v,J as s}from"./vue-chunks-ChjHxF1G.js";const I={class:s(["infotip","p-20px mb-20px border-1px border-solid border-[var(--el-color-primary)] bg-[var(--el-color-primary-light-9)]"])},N={key:0,class:s(["infotip__header","flex items-center"])},V={class:s(["infotip__title","pl-5px text-16px font-bold"])},w={class:s("infotip__content")},T=x({__name:"Infotip",props:{title:a.string.def(""),schema:{type:Array,required:!0,default:()=>[]},showIndex:a.bool.def(!0),highlightColor:a.string.def("var(--el-color-primary)")},emits:["click"],setup(e,{emit:m}){const d=m,f=l=>{d("click",l)};return(l,z)=>{const _=h;return o(),r("div",I,[e.title?(o(),r("div",N,[n(_,{icon:"bi:exclamation-circle-fill",size:22,color:"var(--el-color-primary)"}),p("span",V,i(e.title),1)])):u("",!0),p("div",w,[(o(!0),r(g,null,k(e.schema,(t,c)=>(o(),r("p",{key:c,class:"text-14px mt-15px"},[n(v(y),{keys:typeof t=="string"?[]:t.keys,color:e.highlightColor,onClick:f},{default:b(()=>[C(i(e.showIndex?`${c+1}、`:"")+i(typeof t=="string"?t:t.label),1)]),_:2},1032,["keys","color"])]))),128))])])}}});export{T as _}; +import{I as h}from"./Icon-BTLftY2_.js";import{_ as y}from"./Highlight.vue_vue_type_script_lang-BFIi4_k_.js";import{p as a}from"./index-wnyZ7Zvr.js";import{y as x,z as o,A as r,O as n,D as p,Q as i,H as u,I as g,a3 as k,L as b,a4 as C,u as v,J as s}from"./vue-chunks-ChjHxF1G.js";const I={class:s(["infotip","p-20px mb-20px border-1px border-solid border-[var(--el-color-primary)] bg-[var(--el-color-primary-light-9)]"])},N={key:0,class:s(["infotip__header","flex items-center"])},V={class:s(["infotip__title","pl-5px text-16px font-bold"])},w={class:s("infotip__content")},T=x({__name:"Infotip",props:{title:a.string.def(""),schema:{type:Array,required:!0,default:()=>[]},showIndex:a.bool.def(!0),highlightColor:a.string.def("var(--el-color-primary)")},emits:["click"],setup(e,{emit:m}){const d=m,f=l=>{d("click",l)};return(l,z)=>{const _=h;return o(),r("div",I,[e.title?(o(),r("div",N,[n(_,{icon:"bi:exclamation-circle-fill",size:22,color:"var(--el-color-primary)"}),p("span",V,i(e.title),1)])):u("",!0),p("div",w,[(o(!0),r(g,null,k(e.schema,(t,c)=>(o(),r("p",{key:c,class:"text-14px mt-15px"},[n(v(y),{keys:typeof t=="string"?[]:t.keys,color:e.highlightColor,onClick:f},{default:b(()=>[C(i(e.showIndex?`${c+1}、`:"")+i(typeof t=="string"?t:t.label),1)]),_:2},1032,["keys","color"])]))),128))])])}}});export{T as _}; diff --git a/assets/InputPassword-B_t5xWgQ.js b/assets/InputPassword-B4kdpMyw.js similarity index 99% rename from assets/InputPassword-B_t5xWgQ.js rename to assets/InputPassword-B4kdpMyw.js index 00f1a7fc..4a066ddc 100644 --- a/assets/InputPassword-B_t5xWgQ.js +++ b/assets/InputPassword-B4kdpMyw.js @@ -1,2 +1,2 @@ -var be=Object.defineProperty,Me=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable;var D=Math.pow,V=(r,e,t)=>e in r?be(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))xe.call(e,t)&&V(r,t,e[t]);if($)for(var t of $(e))ke.call(e,t)&&V(r,t,e[t]);return r},A=(r,e)=>Me(r,ye(e));import{p as q}from"./index-DHbc4UQl.js";import{i as Ee,y as Se,w as F,r as H,c as ve,z as B,A as Z,O as we,C as Ae,u as R,J as _,D as Te,H as De}from"./vue-chunks-ChjHxF1G.js";import{A as Ie}from"./element-plus-CUBv5pjL.js";import{_ as Ce}from"./Icon-CdhVCYkm.js";const Re=()=>({configGlobal:Ee("configGlobal",{})}),U=(r,e)=>r.push.apply(r,e),I=r=>r.sort((e,t)=>e.i-t.i||e.j-t.j),X=r=>{const e={};let t=1;return r.forEach(s=>{e[s]=t,t+=1}),e};var Pe={4:[[1,2],[2,3]],5:[[1,3],[2,3],[2,4]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const K=2050,J=1e3,Le=Pe,je=10,_e=1e4,re=10,ie=50,ae=20,oe=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,Ne=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,Oe=/^[A-Z\xbf-\xdf]+$/,ce=/^[^a-z\xdf-\xff]+$/,Ue=/^[a-z\xdf-\xff]+$/,We=/^[^A-Z\xbf-\xdf]+$/,ze=/[a-z\xdf-\xff]/,Ge=/[A-Z\xbf-\xdf]/,Ye=/[^A-Za-z\xbf-\xdf]/gi,$e=/^\d+$/,z=new Date().getFullYear(),Ve={recentYear:/19\d\d|200\d|201\d|202\d/g},le=[" ",",",";",":","|","/","\\","_",".","-"],qe=le.length;class Fe{match({password:e}){const t=[...this.getMatchesWithoutSeparator(e),...this.getMatchesWithSeparator(e)],s=this.filterNoise(t);return I(s)}getMatchesWithSeparator(e){const t=[],s=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let n=0;n<=Math.abs(e.length-6);n+=1)for(let i=n+5;i<=n+9&&!(i>=e.length);i+=1){const a=e.slice(n,+i+1||9e9),c=s.exec(a);if(c!=null){const o=this.mapIntegersToDayMonthYear([parseInt(c[1],10),parseInt(c[3],10),parseInt(c[4],10)]);o!=null&&t.push({pattern:"date",token:a,i:n,j:i,separator:c[2],year:o.year,month:o.month,day:o.day})}}return t}getMatchesWithoutSeparator(e){const t=[],s=/^\d{4,8}$/,n=i=>Math.abs(i.year-z);for(let i=0;i<=Math.abs(e.length-4);i+=1)for(let a=i+3;a<=i+7&&!(a>=e.length);a+=1){const c=e.slice(i,+a+1||9e9);if(s.exec(c)){const o=[],l=c.length;if(Le[l].forEach(([f,p])=>{const m=this.mapIntegersToDayMonthYear([parseInt(c.slice(0,f),10),parseInt(c.slice(f,p),10),parseInt(c.slice(p),10)]);m!=null&&o.push(m)}),o.length>0){let f=o[0],p=n(o[0]);o.slice(1).forEach(m=>{const d=n(m);d{let s=!1;const n=e.length;for(let i=0;i=t.j){s=!0;break}}return!s})}mapIntegersToDayMonthYear(e){if(e[1]>31||e[1]<=0)return null;let t=0,s=0,n=0;for(let i=0,a=e.length;i99&&cK)return null;c>31&&(s+=1),c>12&&(t+=1),c<=0&&(n+=1)}return s>=2||t===3||n>=2?null:this.getDayMonth(e)}getDayMonth(e){const t=[[e[2],e.slice(0,2)],[e[0],e.slice(1,3)]],s=t.length;for(let n=0;n=1&&i<=31&&a>=1&&a<=12)return{day:i,month:a}}return null}twoToFourDigitYear(e){return e>99?e:e>50?e+1900:e+2e3}}const w=new Uint32Array(65536),He=(r,e)=>{const t=r.length,s=e.length,n=1<{const t=e.length,s=r.length,n=[],i=[],a=Math.ceil(t/32),c=Math.ceil(s/32);for(let d=0;d>>g&1,v=n[g/32|0]>>>g&1,G=k|d,Y=((k|v)&b)+b^b|k|v;let C=d|~(Y|b),L=b&Y;C>>>31^x&&(i[g/32|0]^=1<>>31^v&&(n[g/32|0]^=1<>>d&1,y=n[d/32|0]>>>d&1,g=b|l,k=((b|y)&h)+h^h|b|y;let x=l|~(k|h),v=h&k;m+=x>>>s-1&1,m-=v>>>s-1&1,x>>>31^S&&(i[d/32|0]^=1<>>31^y&&(n[d/32|0]^=1<{if(r.length{const s=r.length<=e.length,n=r.length<=t;return s||n?Math.ceil(r.length/4):t},Ke=(r,e,t)=>{let s=0;const n=Object.keys(e).find(i=>{const a=Xe(r,i,t);if(Math.abs(r.length-i.length)>a)return!1;const c=Ze(r,i),o=c<=a;return o&&(s=c),o});return n?{levenshteinDistance:s,levenshteinDistanceEntry:n}:{}};var Q={a:["4","@"],b:["8"],c:["(","{","[","<"],d:["6","|)"],e:["3"],f:["#"],g:["6","9","&"],h:["#","|-|"],i:["1","!","|"],k:["<","|<"],l:["!","1","|","7"],m:["^^","nn","2n","/\\\\/\\\\"],n:["//"],o:["0","()"],q:["9"],u:["|_|"],s:["$","5"],t:["+","7"],v:["<",">","/"],w:["^/","uu","vv","2u","2v","\\\\/\\\\/"],x:["%","><"],z:["2"]},N={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class P{constructor(e=[]){this.parents=e,this.children=new Map}addSub(e,...t){const s=e.charAt(0);this.children.has(s)||this.children.set(s,new P([...this.parents,s]));let n=this.children.get(s);for(let i=1;i(Object.entries(r).forEach(([t,s])=>{s.forEach(n=>{e.addSub(n,t)})}),e);class Je{constructor(){this.matchers={},this.l33tTable=Q,this.trieNodeRoot=ee(Q,new P),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=N,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(e={}){e.l33tTable&&(this.l33tTable=e.l33tTable,this.trieNodeRoot=ee(e.l33tTable,new P)),e.dictionary&&(this.dictionary=e.dictionary,this.setRankedDictionaries()),e.translations&&this.setTranslations(e.translations),e.graphs&&(this.graphs=e.graphs),e.useLevenshteinDistance!==void 0&&(this.useLevenshteinDistance=e.useLevenshteinDistance),e.levenshteinThreshold!==void 0&&(this.levenshteinThreshold=e.levenshteinThreshold),e.l33tMaxSubstitutions!==void 0&&(this.l33tMaxSubstitutions=e.l33tMaxSubstitutions),e.maxLength!==void 0&&(this.maxLength=e.maxLength)}setTranslations(e){if(this.checkCustomTranslations(e))this.translations=e;else throw new Error("Invalid translations object fallback to keys")}checkCustomTranslations(e){let t=!0;return Object.keys(N).forEach(s=>{if(s in e){const n=s;Object.keys(N[n]).forEach(i=>{i in e[n]||(t=!1)})}else t=!1}),t}setRankedDictionaries(){const e={},t={};Object.keys(this.dictionary).forEach(s=>{e[s]=X(this.dictionary[s]),t[s]=this.getRankedDictionariesMaxWordSize(this.dictionary[s])}),this.rankedDictionaries=e,this.rankedDictionariesMaxWordSize=t}getRankedDictionariesMaxWordSize(e){const t=e.map(s=>typeof s!="string"?s.toString().length:s.length);return t.length===0?0:t.reduce((s,n)=>Math.max(s,n),-1/0)}buildSanitizedRankedDictionary(e){const t=[];return e.forEach(s=>{const n=typeof s;(n==="string"||n==="number"||n==="boolean")&&t.push(s.toString().toLowerCase())}),X(t)}extendUserInputsDictionary(e){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const t=[...this.dictionary.userInputs,...e];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(t),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(t)}addMatcher(e,t){this.matchers[e]?console.info(`Matcher ${e} already exists`):this.matchers[e]=t}}const u=new Je;class Qe{constructor(e){this.defaultMatch=e}match({password:e}){const t=e.split("").reverse().join("");return this.defaultMatch({password:t}).map(s=>A(E({},s),{token:s.token.split("").reverse().join(""),reversed:!0,i:e.length-1-s.j,j:e.length-1-s.i}))}}class et{constructor({substr:e,limit:t,trieRoot:s}){this.buffer=[],this.finalPasswords=[],this.substr=e,this.limit=t,this.trieRoot=s}getAllPossibleSubsAtIndex(e){const t=[];let s=this.trieRoot;for(let n=e;n=this.limit)return;if(s===this.substr.length){e===t&&this.finalPasswords.push({password:this.buffer.join(""),changes:i});return}const o=[...this.getAllPossibleSubsAtIndex(s)];let l=!1;for(let h=s+o.length-1;h>=s;h-=1){const f=o[h-s];if(f.isTerminal()){if(a===f.parents.join("")&&c>=3)continue;l=!0;const p=f.subs;for(const m of p){this.buffer.push(m);const d=i.concat({i:n,letter:m,substitution:f.parents.join("")});if(this.helper({onlyFullSub:e,isFullSub:t,index:h+1,subIndex:n+m.length,changes:d,lastSubLetter:f.parents.join(""),consecutiveSubCount:a===f.parents.join("")?c+1:1}),this.buffer.pop(),this.finalPasswords.length>=this.limit)return}}}if(!e||!l){const h=this.substr.charAt(s);this.buffer.push(h),this.helper({onlyFullSub:e,isFullSub:t&&!l,index:s+1,subIndex:n+1,changes:i,lastSubLetter:a,consecutiveSubCount:c}),this.buffer.pop()}}getAll(){return this.helper({onlyFullSub:!0,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.helper({onlyFullSub:!1,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.finalPasswords}}const tt=(r,e,t)=>new et({substr:r,limit:e,trieRoot:t}).getAll(),st=(r,e,t)=>{const n=r.changes.filter(l=>l.il-h.letter.length+h.substitution.length,e),i=r.changes.filter(l=>l.i>=e&&l.i<=t),a=i.reduce((l,h)=>l-h.letter.length+h.substitution.length,t-e+n),c=[],o=[];return i.forEach(l=>{c.findIndex(f=>f.letter===l.letter&&f.substitution===l.substitution)<0&&(c.push({letter:l.letter,substitution:l.substitution}),o.push(`${l.substitution} -> ${l.letter}`))}),{i:n,j:a,subs:c,subDisplay:o.join(", ")}};class nt{constructor(e){this.defaultMatch=e}isAlreadyIncluded(e,t){return e.some(s=>Object.entries(s).every(([n,i])=>n==="subs"||i===t[n]))}match({password:e}){const t=[],s=tt(e,u.l33tMaxSubstitutions,u.trieNodeRoot);let n=!1,i=!0;return s.forEach(a=>{if(n)return;const c=this.defaultMatch({password:a.password,useLevenshtein:i});i=!1,c.forEach(o=>{n||(n=o.i===0&&o.j===e.length-1);const l=st(a,o.i,o.j),h=e.slice(l.i,+l.j+1||9e9),f=E(A(E({},o),{l33t:!0,token:h}),l),p=this.isAlreadyIncluded(t,f);h.toLowerCase()!==o.matchedWord&&!p&&t.push(f)})}),t.filter(a=>a.token.length>1)}}class rt{constructor(){this.l33t=new nt(this.defaultMatch),this.reverse=new Qe(this.defaultMatch)}match({password:e}){const t=[...this.defaultMatch({password:e}),...this.reverse.match({password:e}),...this.l33t.match({password:e})];return I(t)}defaultMatch({password:e,useLevenshtein:t=!0}){const s=[],n=e.length,i=e.toLowerCase();return Object.keys(u.rankedDictionaries).forEach(a=>{const c=u.rankedDictionaries[a],o=u.rankedDictionariesMaxWordSize[a],l=Math.min(o,n);for(let h=0;h{const i=t[n];i.lastIndex=0;let a;for(;a=i.exec(e);)if(a){const c=a[0];s.push({pattern:"regex",token:c,i:a.index,j:a.index+a[0].length-1,regexName:n,regexMatch:a})}}),I(s)}}var T={nCk(r,e){let t=r;if(e>t)return 0;if(e===0)return 1;let s=1;for(let n=1;n<=e;n+=1)s*=t,s/=n,t-=1;return s},log10(r){return r===0?0:Math.log(r)/Math.log(10)},log2(r){return Math.log(r)/Math.log(2)},factorial(r){let e=1;for(let t=2;t<=r;t+=1)e*=t;return e}},at=({token:r})=>{let e=D(je,r.length);e===Number.POSITIVE_INFINITY&&(e=Number.MAX_VALUE);let t;return r.length===1?t=re+1:t=ie+1,Math.max(e,t)},ot=({year:r,separator:e})=>{let s=Math.max(Math.abs(r-z),ae)*365;return e&&(s*=4),s};const ct=r=>{const e=r.split(""),t=e.filter(a=>a.match(Ge)).length,s=e.filter(a=>a.match(ze)).length;let n=0;const i=Math.min(t,s);for(let a=1;a<=i;a+=1)n+=T.nCk(t+s,a);return n};var lt=r=>{const e=r.replace(Ye,"");if(e.match(We)||e.toLowerCase()===e)return 1;const t=[oe,Ne,ce],s=t.length;for(let n=0;n{let t=0,s=r.indexOf(e);for(;s>=0;)t+=1,s=r.indexOf(e,s+e.length);return t},ht=({sub:r,token:e})=>{const t=e.toLowerCase(),s=te(t,r.substitution),n=te(t,r.letter);return{subbedCount:s,unsubbedCount:n}};var ut=({l33t:r,subs:e,token:t})=>{if(!r)return 1;let s=1;return e.forEach(n=>{const{subbedCount:i,unsubbedCount:a}=ht({sub:n,token:t});if(i===0||a===0)s*=2;else{const c=Math.min(a,i);let o=0;for(let l=1;l<=c;l+=1)o+=T.nCk(a+i,l);s*=o}}),s},dt=({rank:r,reversed:e,l33t:t,subs:s,token:n,dictionaryName:i})=>{const a=r,c=lt(n),o=ut({l33t:t,subs:s,token:n}),l=e&&2||1;let h;return i==="diceware"?h=D(6,5)/2:h=a*c*o*l,{baseGuesses:a,uppercaseVariations:c,l33tVariations:o,calculation:h}},ft=({regexName:r,regexMatch:e,token:t})=>{const s={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(r in s)return D(s[r],t.length);switch(r){case"recentYear":return Math.max(Math.abs(parseInt(e[0],10)-z),ae)}return 0},gt=({baseGuesses:r,repeatCount:e})=>r*e,pt=({token:r,ascending:e})=>{const t=r.charAt(0);let s=0;return["a","A","z","Z","0","1","9"].includes(t)?s=4:t.match(/\d/)?s=10:s=26,e||(s*=2),s*r.length};const mt=r=>{let e=0;return Object.keys(r).forEach(t=>{const s=r[t];e+=s.filter(n=>!!n).length}),e/=Object.entries(r).length,e},bt=({token:r,graph:e,turns:t})=>{const s=Object.keys(u.graphs[e]).length,n=mt(u.graphs[e]);let i=0;const a=r.length;for(let c=2;c<=a;c+=1){const o=Math.min(t,c-1);for(let l=1;l<=o;l+=1)i+=T.nCk(c-1,l-1)*s*D(n,l)}return i};var Mt=({graph:r,token:e,shiftedCount:t,turns:s})=>{let n=bt({token:e,graph:r,turns:s});if(t){const i=e.length-t;if(t===0||i===0)n*=2;else{let a=0;for(let c=1;c<=Math.min(t,i);c+=1)a+=T.nCk(t+i,c);n*=a}}return Math.round(n)},yt=()=>qe;const xt=(r,e)=>{let t=1;return r.token.lengthse[r]?se[r](e):u.matchers[r]&&"scoring"in u.matchers[r]?u.matchers[r].scoring(e):0;var Et=(r,e)=>{const t={};if("guesses"in r&&r.guesses!=null)return r;const s=xt(r,e),n=kt(r.pattern,r);let i=0;typeof n=="number"?i=n:r.pattern==="dictionary"&&(i=n.calculation,t.baseGuesses=n.baseGuesses,t.uppercaseVariations=n.uppercaseVariations,t.l33tVariations=n.l33tVariations);const a=Math.max(i,s);return A(E(E({},r),t),{guesses:a,guessesLog10:T.log10(a)})};const M={password:"",optimal:{},excludeAdditive:!1,separatorRegex:void 0,fillArray(r,e){const t=[];for(let s=0;s1&&(n*=this.optimal.pi[s.i-1][e-1]);let i=T.factorial(e)*n;this.excludeAdditive||(i+=D(_e,e-1));let a=!1;Object.keys(this.optimal.g[t]).forEach(c=>{const o=this.optimal.g[t][c];parseInt(c,10)<=e&&o<=i&&(a=!0)}),a||(this.optimal.g[t][e]=i,this.optimal.m[t][e]=s,this.optimal.pi[t][e]=n)},bruteforceUpdate(r){let e=this.makeBruteforceMatch(0,r);this.update(e,1);for(let t=1;t<=r;t+=1){e=this.makeBruteforceMatch(t,r);const s=this.optimal.m[t-1];Object.keys(s).forEach(n=>{s[n].pattern!=="bruteforce"&&this.update(e,parseInt(n,10)+1)})}},unwind(r){const e=[];let t=r-1,s=0,n=1/0;const i=this.optimal.g[t];for(i&&Object.keys(i).forEach(a=>{const c=i[a];c=0;){const a=this.optimal.m[t][s];e.unshift(a),t=a.i-1,s-=1}return e}};var W={mostGuessableMatchSequence(r,e,t=!1){M.password=r,M.excludeAdditive=t;const s=r.length;let n=M.fillArray(s,"array");e.forEach(o=>{n[o.j].push(o)}),n=n.map(o=>o.sort((l,h)=>l.i-h.i)),M.optimal={m:M.fillArray(s,"object"),pi:M.fillArray(s,"object"),g:M.fillArray(s,"object")};for(let o=0;o{l.i>0?Object.keys(M.optimal.m[l.i-1]).forEach(h=>{M.update(l,parseInt(h,10)+1)}):M.update(l,1)}),M.bruteforceUpdate(o);const i=M.unwind(s),a=i.length,c=this.getGuesses(r,a);return{password:r,guesses:c,guessesLog10:T.log10(c),sequence:i}},getGuesses(r,e){const t=r.length;let s=0;return r.length===0?s=1:s=M.optimal.g[t-1][e],s}};class St{match({password:e,omniMatch:t}){const s=[];let n=0;for(;na instanceof Promise)?Promise.all(s):s}normalizeMatch(e,t,s,n){const i={pattern:"repeat",i:s.index,j:t,token:s[0],baseToken:e,baseGuesses:0,repeatCount:s[0].length/e.length};return n instanceof Promise?n.then(a=>A(E({},i),{baseGuesses:a})):A(E({},i),{baseGuesses:n})}getGreedyMatch(e,t){const s=/(.+)\1+/g;return s.lastIndex=t,s.exec(e)}getLazyMatch(e,t){const s=/(.+?)\1+/g;return s.lastIndex=t,s.exec(e)}setMatchToken(e,t){const s=/^(.+?)\1+$/;let n,i="";if(t&&e[0].length>t[0].length){n=e;const a=s.exec(n[0]);a&&(i=a[1])}else n=t,n&&(i=n[1]);return{match:n,baseToken:i}}getBaseGuesses(e,t){const s=t.match(e);return s instanceof Promise?s.then(i=>W.mostGuessableMatchSequence(e,i).guesses):W.mostGuessableMatchSequence(e,s).guesses}}class vt{constructor(){this.MAX_DELTA=5}match({password:e}){const t=[];if(e.length===1)return[];let s=0,n=null;const i=e.length;for(let a=1;a1||Math.abs(s)===1){const a=Math.abs(s);if(a>0&&a<=this.MAX_DELTA){const c=n.slice(e,+t+1||9e9),{sequenceName:o,sequenceSpace:l}=this.getSequence(c);return i.push({pattern:"sequence",i:e,j:t,token:n.slice(e,+t+1||9e9),sequenceName:o,sequenceSpace:l,ascending:s>0})}}return null}getSequence(e){let t="unicode",s=26;return Ue.test(e)?(t="lower",s=26):Oe.test(e)?(t="upper",s=26):$e.test(e)&&(t="digits",s=10),{sequenceName:t,sequenceSpace:s}}}class wt{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:e}){const t=[];return Object.keys(u.graphs).forEach(s=>{const n=u.graphs[s];U(t,this.helper(e,n,s))}),I(t)}checkIfShifted(e,t,s){return!e.includes("keypad")&&this.SHIFTED_RX.test(t.charAt(s))?1:0}helper(e,t,s){let n;const i=[];let a=0;const c=e.length;for(;a2&&i.push({pattern:"spatial",i:a,j:o-1,token:e.slice(a,o),graph:s,turns:h,shiftedCount:n}),a=o;break}}}return i}}const At=new RegExp(`[${le.join("")}]`);class j{static getMostUsedSeparatorChar(e){const t=[...e.split("").filter(n=>At.test(n)).reduce((n,i)=>{const a=n.get(i);return a?n.set(i,a+1):n.set(i,1),n},new Map).entries()].sort(([n,i],[a,c])=>c-i);if(!t.length)return;const s=t[0];if(!(s[1]<2))return s[0]}static getSeparatorRegex(e){return new RegExp(`([^${e} +var be=Object.defineProperty,Me=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable;var D=Math.pow,V=(r,e,t)=>e in r?be(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))xe.call(e,t)&&V(r,t,e[t]);if($)for(var t of $(e))ke.call(e,t)&&V(r,t,e[t]);return r},A=(r,e)=>Me(r,ye(e));import{p as q}from"./index-wnyZ7Zvr.js";import{i as Ee,y as Se,w as F,r as H,c as ve,z as B,A as Z,O as we,C as Ae,u as R,J as _,D as Te,H as De}from"./vue-chunks-ChjHxF1G.js";import{A as Ie}from"./element-plus-CUBv5pjL.js";import{_ as Ce}from"./Icon-BTLftY2_.js";const Re=()=>({configGlobal:Ee("configGlobal",{})}),U=(r,e)=>r.push.apply(r,e),I=r=>r.sort((e,t)=>e.i-t.i||e.j-t.j),X=r=>{const e={};let t=1;return r.forEach(s=>{e[s]=t,t+=1}),e};var Pe={4:[[1,2],[2,3]],5:[[1,3],[2,3],[2,4]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const K=2050,J=1e3,Le=Pe,je=10,_e=1e4,re=10,ie=50,ae=20,oe=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,Ne=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,Oe=/^[A-Z\xbf-\xdf]+$/,ce=/^[^a-z\xdf-\xff]+$/,Ue=/^[a-z\xdf-\xff]+$/,We=/^[^A-Z\xbf-\xdf]+$/,ze=/[a-z\xdf-\xff]/,Ge=/[A-Z\xbf-\xdf]/,Ye=/[^A-Za-z\xbf-\xdf]/gi,$e=/^\d+$/,z=new Date().getFullYear(),Ve={recentYear:/19\d\d|200\d|201\d|202\d/g},le=[" ",",",";",":","|","/","\\","_",".","-"],qe=le.length;class Fe{match({password:e}){const t=[...this.getMatchesWithoutSeparator(e),...this.getMatchesWithSeparator(e)],s=this.filterNoise(t);return I(s)}getMatchesWithSeparator(e){const t=[],s=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let n=0;n<=Math.abs(e.length-6);n+=1)for(let i=n+5;i<=n+9&&!(i>=e.length);i+=1){const a=e.slice(n,+i+1||9e9),c=s.exec(a);if(c!=null){const o=this.mapIntegersToDayMonthYear([parseInt(c[1],10),parseInt(c[3],10),parseInt(c[4],10)]);o!=null&&t.push({pattern:"date",token:a,i:n,j:i,separator:c[2],year:o.year,month:o.month,day:o.day})}}return t}getMatchesWithoutSeparator(e){const t=[],s=/^\d{4,8}$/,n=i=>Math.abs(i.year-z);for(let i=0;i<=Math.abs(e.length-4);i+=1)for(let a=i+3;a<=i+7&&!(a>=e.length);a+=1){const c=e.slice(i,+a+1||9e9);if(s.exec(c)){const o=[],l=c.length;if(Le[l].forEach(([f,p])=>{const m=this.mapIntegersToDayMonthYear([parseInt(c.slice(0,f),10),parseInt(c.slice(f,p),10),parseInt(c.slice(p),10)]);m!=null&&o.push(m)}),o.length>0){let f=o[0],p=n(o[0]);o.slice(1).forEach(m=>{const d=n(m);d{let s=!1;const n=e.length;for(let i=0;i=t.j){s=!0;break}}return!s})}mapIntegersToDayMonthYear(e){if(e[1]>31||e[1]<=0)return null;let t=0,s=0,n=0;for(let i=0,a=e.length;i99&&cK)return null;c>31&&(s+=1),c>12&&(t+=1),c<=0&&(n+=1)}return s>=2||t===3||n>=2?null:this.getDayMonth(e)}getDayMonth(e){const t=[[e[2],e.slice(0,2)],[e[0],e.slice(1,3)]],s=t.length;for(let n=0;n=1&&i<=31&&a>=1&&a<=12)return{day:i,month:a}}return null}twoToFourDigitYear(e){return e>99?e:e>50?e+1900:e+2e3}}const w=new Uint32Array(65536),He=(r,e)=>{const t=r.length,s=e.length,n=1<{const t=e.length,s=r.length,n=[],i=[],a=Math.ceil(t/32),c=Math.ceil(s/32);for(let d=0;d>>g&1,v=n[g/32|0]>>>g&1,G=k|d,Y=((k|v)&b)+b^b|k|v;let C=d|~(Y|b),L=b&Y;C>>>31^x&&(i[g/32|0]^=1<>>31^v&&(n[g/32|0]^=1<>>d&1,y=n[d/32|0]>>>d&1,g=b|l,k=((b|y)&h)+h^h|b|y;let x=l|~(k|h),v=h&k;m+=x>>>s-1&1,m-=v>>>s-1&1,x>>>31^S&&(i[d/32|0]^=1<>>31^y&&(n[d/32|0]^=1<{if(r.length{const s=r.length<=e.length,n=r.length<=t;return s||n?Math.ceil(r.length/4):t},Ke=(r,e,t)=>{let s=0;const n=Object.keys(e).find(i=>{const a=Xe(r,i,t);if(Math.abs(r.length-i.length)>a)return!1;const c=Ze(r,i),o=c<=a;return o&&(s=c),o});return n?{levenshteinDistance:s,levenshteinDistanceEntry:n}:{}};var Q={a:["4","@"],b:["8"],c:["(","{","[","<"],d:["6","|)"],e:["3"],f:["#"],g:["6","9","&"],h:["#","|-|"],i:["1","!","|"],k:["<","|<"],l:["!","1","|","7"],m:["^^","nn","2n","/\\\\/\\\\"],n:["//"],o:["0","()"],q:["9"],u:["|_|"],s:["$","5"],t:["+","7"],v:["<",">","/"],w:["^/","uu","vv","2u","2v","\\\\/\\\\/"],x:["%","><"],z:["2"]},N={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class P{constructor(e=[]){this.parents=e,this.children=new Map}addSub(e,...t){const s=e.charAt(0);this.children.has(s)||this.children.set(s,new P([...this.parents,s]));let n=this.children.get(s);for(let i=1;i(Object.entries(r).forEach(([t,s])=>{s.forEach(n=>{e.addSub(n,t)})}),e);class Je{constructor(){this.matchers={},this.l33tTable=Q,this.trieNodeRoot=ee(Q,new P),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=N,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(e={}){e.l33tTable&&(this.l33tTable=e.l33tTable,this.trieNodeRoot=ee(e.l33tTable,new P)),e.dictionary&&(this.dictionary=e.dictionary,this.setRankedDictionaries()),e.translations&&this.setTranslations(e.translations),e.graphs&&(this.graphs=e.graphs),e.useLevenshteinDistance!==void 0&&(this.useLevenshteinDistance=e.useLevenshteinDistance),e.levenshteinThreshold!==void 0&&(this.levenshteinThreshold=e.levenshteinThreshold),e.l33tMaxSubstitutions!==void 0&&(this.l33tMaxSubstitutions=e.l33tMaxSubstitutions),e.maxLength!==void 0&&(this.maxLength=e.maxLength)}setTranslations(e){if(this.checkCustomTranslations(e))this.translations=e;else throw new Error("Invalid translations object fallback to keys")}checkCustomTranslations(e){let t=!0;return Object.keys(N).forEach(s=>{if(s in e){const n=s;Object.keys(N[n]).forEach(i=>{i in e[n]||(t=!1)})}else t=!1}),t}setRankedDictionaries(){const e={},t={};Object.keys(this.dictionary).forEach(s=>{e[s]=X(this.dictionary[s]),t[s]=this.getRankedDictionariesMaxWordSize(this.dictionary[s])}),this.rankedDictionaries=e,this.rankedDictionariesMaxWordSize=t}getRankedDictionariesMaxWordSize(e){const t=e.map(s=>typeof s!="string"?s.toString().length:s.length);return t.length===0?0:t.reduce((s,n)=>Math.max(s,n),-1/0)}buildSanitizedRankedDictionary(e){const t=[];return e.forEach(s=>{const n=typeof s;(n==="string"||n==="number"||n==="boolean")&&t.push(s.toString().toLowerCase())}),X(t)}extendUserInputsDictionary(e){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const t=[...this.dictionary.userInputs,...e];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(t),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(t)}addMatcher(e,t){this.matchers[e]?console.info(`Matcher ${e} already exists`):this.matchers[e]=t}}const u=new Je;class Qe{constructor(e){this.defaultMatch=e}match({password:e}){const t=e.split("").reverse().join("");return this.defaultMatch({password:t}).map(s=>A(E({},s),{token:s.token.split("").reverse().join(""),reversed:!0,i:e.length-1-s.j,j:e.length-1-s.i}))}}class et{constructor({substr:e,limit:t,trieRoot:s}){this.buffer=[],this.finalPasswords=[],this.substr=e,this.limit=t,this.trieRoot=s}getAllPossibleSubsAtIndex(e){const t=[];let s=this.trieRoot;for(let n=e;n=this.limit)return;if(s===this.substr.length){e===t&&this.finalPasswords.push({password:this.buffer.join(""),changes:i});return}const o=[...this.getAllPossibleSubsAtIndex(s)];let l=!1;for(let h=s+o.length-1;h>=s;h-=1){const f=o[h-s];if(f.isTerminal()){if(a===f.parents.join("")&&c>=3)continue;l=!0;const p=f.subs;for(const m of p){this.buffer.push(m);const d=i.concat({i:n,letter:m,substitution:f.parents.join("")});if(this.helper({onlyFullSub:e,isFullSub:t,index:h+1,subIndex:n+m.length,changes:d,lastSubLetter:f.parents.join(""),consecutiveSubCount:a===f.parents.join("")?c+1:1}),this.buffer.pop(),this.finalPasswords.length>=this.limit)return}}}if(!e||!l){const h=this.substr.charAt(s);this.buffer.push(h),this.helper({onlyFullSub:e,isFullSub:t&&!l,index:s+1,subIndex:n+1,changes:i,lastSubLetter:a,consecutiveSubCount:c}),this.buffer.pop()}}getAll(){return this.helper({onlyFullSub:!0,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.helper({onlyFullSub:!1,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.finalPasswords}}const tt=(r,e,t)=>new et({substr:r,limit:e,trieRoot:t}).getAll(),st=(r,e,t)=>{const n=r.changes.filter(l=>l.il-h.letter.length+h.substitution.length,e),i=r.changes.filter(l=>l.i>=e&&l.i<=t),a=i.reduce((l,h)=>l-h.letter.length+h.substitution.length,t-e+n),c=[],o=[];return i.forEach(l=>{c.findIndex(f=>f.letter===l.letter&&f.substitution===l.substitution)<0&&(c.push({letter:l.letter,substitution:l.substitution}),o.push(`${l.substitution} -> ${l.letter}`))}),{i:n,j:a,subs:c,subDisplay:o.join(", ")}};class nt{constructor(e){this.defaultMatch=e}isAlreadyIncluded(e,t){return e.some(s=>Object.entries(s).every(([n,i])=>n==="subs"||i===t[n]))}match({password:e}){const t=[],s=tt(e,u.l33tMaxSubstitutions,u.trieNodeRoot);let n=!1,i=!0;return s.forEach(a=>{if(n)return;const c=this.defaultMatch({password:a.password,useLevenshtein:i});i=!1,c.forEach(o=>{n||(n=o.i===0&&o.j===e.length-1);const l=st(a,o.i,o.j),h=e.slice(l.i,+l.j+1||9e9),f=E(A(E({},o),{l33t:!0,token:h}),l),p=this.isAlreadyIncluded(t,f);h.toLowerCase()!==o.matchedWord&&!p&&t.push(f)})}),t.filter(a=>a.token.length>1)}}class rt{constructor(){this.l33t=new nt(this.defaultMatch),this.reverse=new Qe(this.defaultMatch)}match({password:e}){const t=[...this.defaultMatch({password:e}),...this.reverse.match({password:e}),...this.l33t.match({password:e})];return I(t)}defaultMatch({password:e,useLevenshtein:t=!0}){const s=[],n=e.length,i=e.toLowerCase();return Object.keys(u.rankedDictionaries).forEach(a=>{const c=u.rankedDictionaries[a],o=u.rankedDictionariesMaxWordSize[a],l=Math.min(o,n);for(let h=0;h{const i=t[n];i.lastIndex=0;let a;for(;a=i.exec(e);)if(a){const c=a[0];s.push({pattern:"regex",token:c,i:a.index,j:a.index+a[0].length-1,regexName:n,regexMatch:a})}}),I(s)}}var T={nCk(r,e){let t=r;if(e>t)return 0;if(e===0)return 1;let s=1;for(let n=1;n<=e;n+=1)s*=t,s/=n,t-=1;return s},log10(r){return r===0?0:Math.log(r)/Math.log(10)},log2(r){return Math.log(r)/Math.log(2)},factorial(r){let e=1;for(let t=2;t<=r;t+=1)e*=t;return e}},at=({token:r})=>{let e=D(je,r.length);e===Number.POSITIVE_INFINITY&&(e=Number.MAX_VALUE);let t;return r.length===1?t=re+1:t=ie+1,Math.max(e,t)},ot=({year:r,separator:e})=>{let s=Math.max(Math.abs(r-z),ae)*365;return e&&(s*=4),s};const ct=r=>{const e=r.split(""),t=e.filter(a=>a.match(Ge)).length,s=e.filter(a=>a.match(ze)).length;let n=0;const i=Math.min(t,s);for(let a=1;a<=i;a+=1)n+=T.nCk(t+s,a);return n};var lt=r=>{const e=r.replace(Ye,"");if(e.match(We)||e.toLowerCase()===e)return 1;const t=[oe,Ne,ce],s=t.length;for(let n=0;n{let t=0,s=r.indexOf(e);for(;s>=0;)t+=1,s=r.indexOf(e,s+e.length);return t},ht=({sub:r,token:e})=>{const t=e.toLowerCase(),s=te(t,r.substitution),n=te(t,r.letter);return{subbedCount:s,unsubbedCount:n}};var ut=({l33t:r,subs:e,token:t})=>{if(!r)return 1;let s=1;return e.forEach(n=>{const{subbedCount:i,unsubbedCount:a}=ht({sub:n,token:t});if(i===0||a===0)s*=2;else{const c=Math.min(a,i);let o=0;for(let l=1;l<=c;l+=1)o+=T.nCk(a+i,l);s*=o}}),s},dt=({rank:r,reversed:e,l33t:t,subs:s,token:n,dictionaryName:i})=>{const a=r,c=lt(n),o=ut({l33t:t,subs:s,token:n}),l=e&&2||1;let h;return i==="diceware"?h=D(6,5)/2:h=a*c*o*l,{baseGuesses:a,uppercaseVariations:c,l33tVariations:o,calculation:h}},ft=({regexName:r,regexMatch:e,token:t})=>{const s={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(r in s)return D(s[r],t.length);switch(r){case"recentYear":return Math.max(Math.abs(parseInt(e[0],10)-z),ae)}return 0},gt=({baseGuesses:r,repeatCount:e})=>r*e,pt=({token:r,ascending:e})=>{const t=r.charAt(0);let s=0;return["a","A","z","Z","0","1","9"].includes(t)?s=4:t.match(/\d/)?s=10:s=26,e||(s*=2),s*r.length};const mt=r=>{let e=0;return Object.keys(r).forEach(t=>{const s=r[t];e+=s.filter(n=>!!n).length}),e/=Object.entries(r).length,e},bt=({token:r,graph:e,turns:t})=>{const s=Object.keys(u.graphs[e]).length,n=mt(u.graphs[e]);let i=0;const a=r.length;for(let c=2;c<=a;c+=1){const o=Math.min(t,c-1);for(let l=1;l<=o;l+=1)i+=T.nCk(c-1,l-1)*s*D(n,l)}return i};var Mt=({graph:r,token:e,shiftedCount:t,turns:s})=>{let n=bt({token:e,graph:r,turns:s});if(t){const i=e.length-t;if(t===0||i===0)n*=2;else{let a=0;for(let c=1;c<=Math.min(t,i);c+=1)a+=T.nCk(t+i,c);n*=a}}return Math.round(n)},yt=()=>qe;const xt=(r,e)=>{let t=1;return r.token.lengthse[r]?se[r](e):u.matchers[r]&&"scoring"in u.matchers[r]?u.matchers[r].scoring(e):0;var Et=(r,e)=>{const t={};if("guesses"in r&&r.guesses!=null)return r;const s=xt(r,e),n=kt(r.pattern,r);let i=0;typeof n=="number"?i=n:r.pattern==="dictionary"&&(i=n.calculation,t.baseGuesses=n.baseGuesses,t.uppercaseVariations=n.uppercaseVariations,t.l33tVariations=n.l33tVariations);const a=Math.max(i,s);return A(E(E({},r),t),{guesses:a,guessesLog10:T.log10(a)})};const M={password:"",optimal:{},excludeAdditive:!1,separatorRegex:void 0,fillArray(r,e){const t=[];for(let s=0;s1&&(n*=this.optimal.pi[s.i-1][e-1]);let i=T.factorial(e)*n;this.excludeAdditive||(i+=D(_e,e-1));let a=!1;Object.keys(this.optimal.g[t]).forEach(c=>{const o=this.optimal.g[t][c];parseInt(c,10)<=e&&o<=i&&(a=!0)}),a||(this.optimal.g[t][e]=i,this.optimal.m[t][e]=s,this.optimal.pi[t][e]=n)},bruteforceUpdate(r){let e=this.makeBruteforceMatch(0,r);this.update(e,1);for(let t=1;t<=r;t+=1){e=this.makeBruteforceMatch(t,r);const s=this.optimal.m[t-1];Object.keys(s).forEach(n=>{s[n].pattern!=="bruteforce"&&this.update(e,parseInt(n,10)+1)})}},unwind(r){const e=[];let t=r-1,s=0,n=1/0;const i=this.optimal.g[t];for(i&&Object.keys(i).forEach(a=>{const c=i[a];c=0;){const a=this.optimal.m[t][s];e.unshift(a),t=a.i-1,s-=1}return e}};var W={mostGuessableMatchSequence(r,e,t=!1){M.password=r,M.excludeAdditive=t;const s=r.length;let n=M.fillArray(s,"array");e.forEach(o=>{n[o.j].push(o)}),n=n.map(o=>o.sort((l,h)=>l.i-h.i)),M.optimal={m:M.fillArray(s,"object"),pi:M.fillArray(s,"object"),g:M.fillArray(s,"object")};for(let o=0;o{l.i>0?Object.keys(M.optimal.m[l.i-1]).forEach(h=>{M.update(l,parseInt(h,10)+1)}):M.update(l,1)}),M.bruteforceUpdate(o);const i=M.unwind(s),a=i.length,c=this.getGuesses(r,a);return{password:r,guesses:c,guessesLog10:T.log10(c),sequence:i}},getGuesses(r,e){const t=r.length;let s=0;return r.length===0?s=1:s=M.optimal.g[t-1][e],s}};class St{match({password:e,omniMatch:t}){const s=[];let n=0;for(;na instanceof Promise)?Promise.all(s):s}normalizeMatch(e,t,s,n){const i={pattern:"repeat",i:s.index,j:t,token:s[0],baseToken:e,baseGuesses:0,repeatCount:s[0].length/e.length};return n instanceof Promise?n.then(a=>A(E({},i),{baseGuesses:a})):A(E({},i),{baseGuesses:n})}getGreedyMatch(e,t){const s=/(.+)\1+/g;return s.lastIndex=t,s.exec(e)}getLazyMatch(e,t){const s=/(.+?)\1+/g;return s.lastIndex=t,s.exec(e)}setMatchToken(e,t){const s=/^(.+?)\1+$/;let n,i="";if(t&&e[0].length>t[0].length){n=e;const a=s.exec(n[0]);a&&(i=a[1])}else n=t,n&&(i=n[1]);return{match:n,baseToken:i}}getBaseGuesses(e,t){const s=t.match(e);return s instanceof Promise?s.then(i=>W.mostGuessableMatchSequence(e,i).guesses):W.mostGuessableMatchSequence(e,s).guesses}}class vt{constructor(){this.MAX_DELTA=5}match({password:e}){const t=[];if(e.length===1)return[];let s=0,n=null;const i=e.length;for(let a=1;a1||Math.abs(s)===1){const a=Math.abs(s);if(a>0&&a<=this.MAX_DELTA){const c=n.slice(e,+t+1||9e9),{sequenceName:o,sequenceSpace:l}=this.getSequence(c);return i.push({pattern:"sequence",i:e,j:t,token:n.slice(e,+t+1||9e9),sequenceName:o,sequenceSpace:l,ascending:s>0})}}return null}getSequence(e){let t="unicode",s=26;return Ue.test(e)?(t="lower",s=26):Oe.test(e)?(t="upper",s=26):$e.test(e)&&(t="digits",s=10),{sequenceName:t,sequenceSpace:s}}}class wt{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:e}){const t=[];return Object.keys(u.graphs).forEach(s=>{const n=u.graphs[s];U(t,this.helper(e,n,s))}),I(t)}checkIfShifted(e,t,s){return!e.includes("keypad")&&this.SHIFTED_RX.test(t.charAt(s))?1:0}helper(e,t,s){let n;const i=[];let a=0;const c=e.length;for(;a2&&i.push({pattern:"spatial",i:a,j:o-1,token:e.slice(a,o),graph:s,turns:h,shiftedCount:n}),a=o;break}}}return i}}const At=new RegExp(`[${le.join("")}]`);class j{static getMostUsedSeparatorChar(e){const t=[...e.split("").filter(n=>At.test(n)).reduce((n,i)=>{const a=n.get(i);return a?n.set(i,a+1):n.set(i,1),n},new Map).entries()].sort(([n,i],[a,c])=>c-i);if(!t.length)return;const s=t[0];if(!(s[1]<2))return s[0]}static getSeparatorRegex(e){return new RegExp(`([^${e} ])(${e})(?!${e})`,"g")}match({password:e}){const t=[];if(e.length===0)return t;const s=j.getMostUsedSeparatorChar(e);if(s===void 0)return t;const n=j.getSeparatorRegex(s);for(const i of e.matchAll(n)){if(i.index===void 0)continue;const a=i.index+1;t.push({pattern:"separator",token:s,i:a,j:a})}return t}}class Tt{constructor(){this.matchers={date:Fe,dictionary:rt,regex:it,repeat:St,sequence:vt,spatial:wt,separator:j}}match(e){const t=[],s=[];return[...Object.keys(this.matchers),...Object.keys(u.matchers)].forEach(i=>{if(!this.matchers[i]&&!u.matchers[i])return;const a=this.matchers[i]?this.matchers[i]:u.matchers[i].Matching,o=new a().match({password:e,omniMatch:this});o instanceof Promise?(o.then(l=>{U(t,l)}),s.push(o)):U(t,o)}),s.length>0?new Promise((i,a)=>{Promise.all(s).then(()=>{i(I(t))}).catch(c=>{a(c)})}):I(t)}}const he=1,ue=he*60,de=ue*60,fe=de*24,ge=fe*31,pe=ge*12,Dt=pe*100,O={second:he,minute:ue,hour:de,day:fe,month:ge,year:pe,century:Dt};class It{translate(e,t){let s=e;t!==void 0&&t!==1&&(s+="s");const{timeEstimation:n}=u.translations;return n[s].replace("{base}",`${t}`)}estimateAttackTimes(e){const t={onlineThrottling100PerHour:e/.027777777777777776,onlineNoThrottling10PerSecond:e/10,offlineSlowHashing1e4PerSecond:e/1e4,offlineFastHashing1e10PerSecond:e/1e10},s={onlineThrottling100PerHour:"",onlineNoThrottling10PerSecond:"",offlineSlowHashing1e4PerSecond:"",offlineFastHashing1e10PerSecond:""};return Object.keys(t).forEach(n=>{const i=t[n];s[n]=this.displayTime(i)}),{crackTimesSeconds:t,crackTimesDisplay:s,score:this.guessesToScore(e)}}guessesToScore(e){return e<1005?0:e<1000005?1:e<100000005?2:e<1e10+5?3:4}displayTime(e){let t="centuries",s;const n=Object.keys(O),i=n.findIndex(a=>e-1&&(t=n[i-1],i!==0?s=Math.round(e/O[t]):t="ltSecond"),this.translate(t,s)}}var Ct=()=>null,Rt=()=>({warning:u.translations.warnings.dates,suggestions:[u.translations.suggestions.dates]});const Pt=(r,e)=>{let t=null;return e&&!r.l33t&&!r.reversed?r.rank<=10?t=u.translations.warnings.topTen:r.rank<=100?t=u.translations.warnings.topHundred:t=u.translations.warnings.common:r.guessesLog10<=4&&(t=u.translations.warnings.similarToCommon),t},Lt=(r,e)=>{let t=null;return e&&(t=u.translations.warnings.wordByItself),t},jt=(r,e)=>e?u.translations.warnings.namesByThemselves:u.translations.warnings.commonNames,_t=(r,e)=>{let t=null;const s=r.dictionaryName,n=s==="lastnames"||s.toLowerCase().includes("firstnames");return s==="passwords"?t=Pt(r,e):s.includes("wikipedia")?t=Lt(r,e):n?t=jt(r,e):s==="userInputs"&&(t=u.translations.warnings.userInputs),t};var Nt=(r,e)=>{const t=_t(r,e),s=[],n=r.token;return n.match(oe)?s.push(u.translations.suggestions.capitalization):n.match(ce)&&n.toLowerCase()!==n&&s.push(u.translations.suggestions.allUppercase),r.reversed&&r.token.length>=4&&s.push(u.translations.suggestions.reverseWords),r.l33t&&s.push(u.translations.suggestions.l33t),{warning:t,suggestions:s}},Ot=r=>r.regexName==="recentYear"?{warning:u.translations.warnings.recentYears,suggestions:[u.translations.suggestions.recentYears,u.translations.suggestions.associatedYears]}:{warning:null,suggestions:[]},Ut=r=>{let e=u.translations.warnings.extendedRepeat;return r.baseToken.length===1&&(e=u.translations.warnings.simpleRepeat),{warning:e,suggestions:[u.translations.suggestions.repeated]}},Wt=()=>({warning:u.translations.warnings.sequences,suggestions:[u.translations.suggestions.sequences]}),zt=r=>{let e=u.translations.warnings.keyPattern;return r.turns===1&&(e=u.translations.warnings.straightRow),{warning:e,suggestions:[u.translations.suggestions.longerKeyboardPattern]}},Gt=()=>null;const ne={warning:null,suggestions:[]};class Yt{constructor(){this.matchers={bruteforce:Ct,date:Rt,dictionary:Nt,regex:Ot,repeat:Ut,sequence:Wt,spatial:zt,separator:Gt},this.defaultFeedback={warning:null,suggestions:[]},this.setDefaultSuggestions()}setDefaultSuggestions(){this.defaultFeedback.suggestions.push(u.translations.suggestions.useWords,u.translations.suggestions.noNeed)}getFeedback(e,t){if(t.length===0)return this.defaultFeedback;if(e>2)return ne;const s=u.translations.suggestions.anotherWord,n=this.getLongestMatch(t);let i=this.getMatchFeedback(n,t.length===1);return i!=null?i.suggestions.unshift(s):i={warning:null,suggestions:[s]},i}getLongestMatch(e){let t=e[0];return e.slice(1).forEach(n=>{n.token.length>t.token.length&&(t=n)}),t}getMatchFeedback(e,t){return this.matchers[e.pattern]?this.matchers[e.pattern](e,t):u.matchers[e.pattern]&&"feedback"in u.matchers[e.pattern]?u.matchers[e.pattern].feedback(e,t):ne}}const me=()=>new Date().getTime(),$t=(r,e,t)=>{const s=new Yt,n=new It,i=W.mostGuessableMatchSequence(e,r),a=me()-t,c=n.estimateAttackTimes(i.guesses);return A(E(E({calcTime:a},i),c),{feedback:s.getFeedback(c.score,i.sequence)})},Vt=(r,e)=>new Tt().match(r),qt=(r,e)=>{const t=me(),s=Vt(r);if(s instanceof Promise)throw new Error("You are using a Promised matcher, please use `zxcvbnAsync` for it.");return $t(s,r,t)},Ft=["data-score"],Ht=Se({__name:"InputPassword",props:{strength:q.bool.def(!1),modelValue:q.string.def("")},emits:["update:modelValue"],setup(r,{emit:e}){const t=r;F(()=>t.modelValue,o=>{o!==R(a)&&(a.value=o)});const{configGlobal:s}=Re(),n=e,i=H("password"),a=H(t.modelValue);F(()=>a.value,o=>{n("update:modelValue",o)});const c=ve(()=>{const o=R(a),l=qt(R(a));return o?l.score:-1});return(o,l)=>{var h;return B(),Z("div",{class:_(["input-password",`input-password--${(h=R(s))==null?void 0:h.size}`])},[we(R(Ie),Ae(o.$attrs,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=f=>a.value=f),showPassword:"",type:i.value}),null,16,["modelValue","type"]),r.strength?(B(),Z("div",{key:0,class:_(["input-password__bar","relative h-6px mt-10px mb-6px mr-auto ml-auto"])},[Te("div",{class:_("input-password__bar--fill"),"data-score":c.value},null,8,Ft)])):De("",!0)],2)}}}),Qt=Ce(Ht,[["__scopeId","data-v-32d8d5a7"]]);export{Qt as I}; diff --git a/assets/InputPassword-B5LjKqPC.js b/assets/InputPassword-Bb3KYe36.js similarity index 79% rename from assets/InputPassword-B5LjKqPC.js rename to assets/InputPassword-Bb3KYe36.js index d2347ec6..e1a5e7f2 100644 --- a/assets/InputPassword-B5LjKqPC.js +++ b/assets/InputPassword-Bb3KYe36.js @@ -1 +1 @@ -import{_ as u}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{I as t}from"./InputPassword-B_t5xWgQ.js";import{y as m,r,z as n,K as p,L as d,O as s,u as o}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const U=m({__name:"InputPassword",setup(i){const e=r("");return(f,l)=>(n(),p(o(u),{title:"密码输入框",message:"基于 ElementPlus 的 Input 组件二次封装"},{default:d(()=>[s(o(t),{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=a=>e.value=a),class:"mb-20px"},null,8,["modelValue"]),s(o(t),{modelValue:e.value,"onUpdate:modelValue":l[1]||(l[1]=a=>e.value=a),strength:""},null,8,["modelValue"]),s(o(t),{modelValue:e.value,"onUpdate:modelValue":l[2]||(l[2]=a=>e.value=a),strength:"",disabled:"",class:"mt-20px"},null,8,["modelValue"])]),_:1}))}});export{U as default}; +import{_ as u}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{I as t}from"./InputPassword-B4kdpMyw.js";import{y as m,r,z as n,K as p,L as d,O as s,u as o}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const U=m({__name:"InputPassword",setup(i){const e=r("");return(f,l)=>(n(),p(o(u),{title:"密码输入框",message:"基于 ElementPlus 的 Input 组件二次封装"},{default:d(()=>[s(o(t),{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=a=>e.value=a),class:"mb-20px"},null,8,["modelValue"]),s(o(t),{modelValue:e.value,"onUpdate:modelValue":l[1]||(l[1]=a=>e.value=a),strength:""},null,8,["modelValue"]),s(o(t),{modelValue:e.value,"onUpdate:modelValue":l[2]||(l[2]=a=>e.value=a),strength:"",disabled:"",class:"mt-20px"},null,8,["modelValue"])]),_:1}))}});export{U as default}; diff --git a/assets/JsonEditor-BGmKji5m.js b/assets/JsonEditor-zaPyVnuj.js similarity index 77% rename from assets/JsonEditor-BGmKji5m.js rename to assets/JsonEditor-zaPyVnuj.js index 0c437da5..5cad2866 100644 --- a/assets/JsonEditor-BGmKji5m.js +++ b/assets/JsonEditor-zaPyVnuj.js @@ -1 +1 @@ -import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as l}from"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import{y as m,r as n,w as u,z as i,K as p,L as _,O as f,u as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const C=m({__name:"JsonEditor",setup(c){const e=n({title:"标题",content:"内容"});return u(()=>e.value,o=>{},{deep:!0}),setTimeout(()=>{e.value={title:"异步标题",content:"异步内容"}},4e3),(o,t)=>(i(),p(a(s),{title:"JSON编辑器",message:"基于 vue-json-pretty 二次封装"},{default:_(()=>[f(a(l),{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r)},null,8,["modelValue"])]),_:1}))}});export{C as default}; +import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as l}from"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import{y as m,r as n,w as u,z as i,K as p,L as _,O as f,u as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const C=m({__name:"JsonEditor",setup(c){const e=n({title:"标题",content:"内容"});return u(()=>e.value,o=>{},{deep:!0}),setTimeout(()=>{e.value={title:"异步标题",content:"异步内容"}},4e3),(o,t)=>(i(),p(a(s),{title:"JSON编辑器",message:"基于 vue-json-pretty 二次封装"},{default:_(()=>[f(a(l),{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r)},null,8,["modelValue"])]),_:1}))}});export{C as default}; diff --git a/assets/JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js b/assets/JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js similarity index 99% rename from assets/JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js rename to assets/JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js index 779b96de..e17d0882 100644 --- a/assets/JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js +++ b/assets/JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js @@ -1,3 +1,3 @@ -import{c as M,a4 as re,O as ae,y as _,W as ce,r as ie,w as ue,j as de,z as se,K as he,u as fe}from"./vue-chunks-ChjHxF1G.js";import{p as h}from"./index-DHbc4UQl.js";var E={d:(e,t)=>{for(var n in t)E.o(t,n)&&!E.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},ee={};function Q(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n{for(var n in t)E.o(t,n)&&!E.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},ee={};function Q(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nme});const l=($={computed:()=>M,createTextVNode:()=>re,createVNode:()=>ae,defineComponent:()=>_,reactive:()=>ce,ref:()=>ie,watch:()=>ue,watchEffect:()=>de},H={},E.d(H,$),H),pe=(0,l.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,l.createVNode)("span",{class:"vjs-tree-brackets",onClick:t},[e])}}),ge=(0,l.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var n=t.emit;return{uiType:(0,l.computed)(function(){return e.isMultiple?"checkbox":"radio"}),model:(0,l.computed)({get:function(){return e.checked},set:function(a){return n("update:modelValue",a)}})}},render:function(){var e=this.uiType,t=this.model,n=this.$emit;return(0,l.createVNode)("label",{class:["vjs-check-controller",t?"is-checked":""],onClick:function(a){return a.stopPropagation()}},[(0,l.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(e)},null),(0,l.createVNode)("input",{checked:t,class:"vjs-check-controller-original is-".concat(e),type:e,onChange:function(){return n("change",t)}},null)])}}),ye=(0,l.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,n=e==="objectStart"||e==="arrayStart";return n||e==="objectCollapsed"||e==="arrayCollapsed"?(0,l.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(n?"open":"close"),onClick:t},[(0,l.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,l.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var $,H;function q(e){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q(e)}function ne(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function V(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3?arguments[3]:void 0,f=a||{},y=f.key,C=f.index,d=f.type,k=d===void 0?"content":d,b=f.showComma,p=b!==void 0&&b,m=f.length,S=m===void 0?1:m,P=ne(e);if(P==="array"){var L=J(e.map(function(w,u,o){return V(w,"".concat(t,"[").concat(u,"]"),n+1,{index:u,showComma:u!==o.length-1,length:S,type:k})}));return[V("[",t,n,{showComma:!1,key:y,length:e.length,type:"arrayStart"})[0]].concat(L,V("]",t,n,{showComma:p,length:e.length,type:"arrayEnd"})[0])}if(P==="object"){var O=Object.keys(e),x=J(O.map(function(w,u,o){return V(e[w],/^[a-zA-Z_]\w*$/.test(w)?"".concat(t,".").concat(w):"".concat(t,'["').concat(w,'"]'),n+1,{key:w,showComma:u!==o.length-1,length:S,type:k})}));return[V("{",t,n,{showComma:!1,key:y,index:C,length:O.length,type:"objectStart"})[0]].concat(x,V("}",t,n,{showComma:p,length:O.length,type:"objectEnd"})[0])}return[{content:e,level:n,key:y,index:C,path:t,showComma:p,length:S,type:k}]}function J(e){if(typeof Array.prototype.flat=="function")return e.flat();for(var t=A(e),n=[];t.length;){var a=t.shift();Array.isArray(a)?t.unshift.apply(t,A(a)):n.push(a)}return n}function z(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(q(e)!=="object")return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map(function(y){return z(y,t)});return t.set(e,n),n}var a={};for(var f in e)a[f]=z(e[f],t);return t.set(e,a),a}function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(f){return Object.getOwnPropertyDescriptor(e,f).enumerable})),n.push.apply(n,a)}return n}function G(e){for(var t=1;t=o||i.length>=r,N=(s=e.pathCollapsible)===null||s===void 0?void 0:s.call(e,i);return i.type!=="objectStart"&&i.type!=="arrayStart"||!g&&!N?c:v(v({},c),{},I({},i.path,1))},{})},d=(0,l.reactive)({translateY:0,visibleData:null,hiddenPaths:C(e.deep,e.collapsedNodeLength)}),k=(0,l.computed)(function(){for(var o=null,r=[],c=y.value.length,i=0;io.length?o.length-c:s;g<0&&(g=0);var N=g+c;d.translateY=g*e.itemHeight,d.visibleData=o.filter(function(D,B){return B>=g&&B({})},deep:h.number.def(5),showLength:h.bool.def(!0),showLineNumbers:h.bool.def(!0),showLineNumber:h.bool.def(!0),showIcon:h.bool.def(!0),showDoubleQuotes:h.bool.def(!0),virtual:h.bool.def(!1),height:h.number.def(400),itemHeight:h.number.def(20),rootPath:h.string.def("root"),nodeSelectable:h.func.def(),selectableType:h.oneOf(["multiple","single"]).def(),showSelectController:h.bool.def(!1),selectOnClickNode:h.bool.def(!0),highlightSelectedNode:h.bool.def(!0),collapsedOnClickBrackets:h.bool.def(!0),renderNodeKey:h.func.def(),renderNodeValue:h.func.def(),editable:h.bool.def(!0),editableTrigger:h.oneOf(["click","dblclick"]).def("click")},emits:["update:modelValue","node-click","brackets-click","icon-click","selected-value"],setup(e,{emit:t}){const n=t,a=e,f=M(()=>a.modelValue),y=M({get:()=>f.value,set:p=>{n("update:modelValue",p)}}),C=p=>{n("node-click",p)},d=p=>{n("brackets-click",p)},k=p=>{n("icon-click",p)},b=(p,m)=>{n("selected-value",p,m)};return(p,m)=>(se(),he(fe(ve),{data:y.value,"onUpdate:data":m[0]||(m[0]=S=>y.value=S),deep:e.deep,"show-length":e.showLength,"show-line-numbers":e.showLineNumbers,"show-line-number":e.showLineNumber,"show-icon":e.showIcon,"show-double-quotes":e.showDoubleQuotes,virtual:e.virtual,height:e.height,"item-height":e.itemHeight,"root-path":e.rootPath,"node-selectable":e.nodeSelectable,"selectable-type":e.selectableType,"show-select-controller":e.showSelectController,"select-on-click-node":e.selectOnClickNode,"highlight-selected-node":e.highlightSelectedNode,"collapsed-on-click-brackets":e.collapsedOnClickBrackets,"render-node-key":e.renderNodeKey,"render-node-value":e.renderNodeValue,editable:e.editable,"editable-trigger":e.editableTrigger,onNodeClick:C,onBracketsClick:d,onIconClick:k,onSelectedChange:b},null,8,["data","deep","show-length","show-line-numbers","show-line-number","show-icon","show-double-quotes","virtual","height","item-height","root-path","node-selectable","selectable-type","show-select-controller","select-on-click-node","highlight-selected-node","collapsed-on-click-brackets","render-node-key","render-node-value","editable","editable-trigger"]))}});export{Ce as _}; diff --git a/assets/Layout-DgfJ2_4Z.js b/assets/Layout-DgfJ2_4Z.js new file mode 100644 index 00000000..91aa00c4 --- /dev/null +++ b/assets/Layout-DgfJ2_4Z.js @@ -0,0 +1,65 @@ +var Ht=Object.defineProperty,Ot=Object.defineProperties;var Ft=Object.getOwnPropertyDescriptors;var _t=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable;var yt=(s,l,e)=>l in s?Ht(s,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[l]=e,ee=(s,l)=>{for(var e in l||(l={}))Et.call(l,e)&&yt(s,e,l[e]);if(_t)for(var e of _t(l))qt.call(l,e)&&yt(s,e,l[e]);return s},pe=(s,l)=>Ot(s,Ft(l));var se=(s,l,e)=>new Promise((c,a)=>{var r=p=>{try{u(e.next(p))}catch(g){a(g)}},i=p=>{try{u(e.throw(p))}catch(g){a(g)}},u=p=>p.done?c(p.value):Promise.resolve(p.value).then(r,i);u((e=e.apply(s,l)).next())});import{p as Je,u as W,w as Ve,x as Nt,y as Ct,z as kt,A as Vt,g as Wt,B as Qe,C as ie,c as Ye,E as lt,F as Gt,G as Kt,b as Jt}from"./index-wnyZ7Zvr.js";import{am as Qt,Q as F,E as Ne,q as ce,a9 as Yt,u as Tt,an as Xt,ao as Zt,ap as el,f as fe,aq as tl,d as We,ar as ll,ab as ot,ac as Se,aa as at,as as St,at as ol,au as al,av as nl,A as sl,aw as rl,ax as il,ay as ul}from"./element-plus-CUBv5pjL.js";import{y as R,z as k,K as N,J as P,u as t,r as b,w as le,A as z,I as G,a3 as Xe,R as cl,H as ue,c as h,D as d,O as o,L as _,a4 as U,aA as $e,a8 as It,W as Ge,o as nt,T as te,ap as Te,Q as E,B as dl,ae as st,P as fl,n as pl,aF as ml,M as gl,aw as vl,ab as hl,U as Ae,V as Pt,a0 as xl,al as wl}from"./vue-chunks-ChjHxF1G.js";import{I as K,_ as J}from"./Icon-BTLftY2_.js";/* empty css *//* empty css */import{T as bl}from"./ThemeSwitch-F8Fn7TL9.js";import{F as _l}from"./Form-BTUMYN5B.js";import{_ as me}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css */import{a as yl,f as Cl,b as kl}from"./tree-Dgaev6Pi.js";/* empty css */import{u as Vl}from"./useTagsView-zngDgP3k.js";import{_ as Tl}from"./logo-CqD-cdkl.js";import{_ as rt}from"./avatar-CIGAabYz.js";import{_ as Sl}from"./Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js";import{u as $l}from"./useForm-B3urKjox.js";import{u as Ml}from"./useValidator-Nt61Jv1p.js";import"./useIcon-B724d8dT.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */const Ll=R({__name:"Backtop",setup(s){return(l,e)=>(k(),N(t(Qt),{class:P("backtop-backtop"),target:".layout-content-scrollbar .el-scrollbar__wrap"}))}}),Il={class:"color-radio-picker flex flex-wrap space-x-14px"},Pl=["onClick"],Rl=R({__name:"ColorRadioPicker",props:{schema:{type:Array,default:()=>[]},modelValue:Je.string.def("")},emits:["update:modelValue","change"],setup(s,{emit:l}){const e=s,c=l,a=b(e.modelValue);return le(()=>e.modelValue,r=>{r!==t(a)&&(a.value=r)}),le(()=>a.value,r=>{c("update:modelValue",r),c("change",r)}),(r,i)=>{const u=K;return k(),z("div",Il,[(k(!0),z(G,null,Xe(s.schema,(p,g)=>(k(),z("span",{key:`radio-${g}`,class:P(["w-20px h-20px cursor-pointer rounded-2px border-solid border-gray-300 border-2px text-center leading-20px mb-5px",{"is-active":a.value===p}]),style:cl({background:p}),onClick:x=>a.value=p},[a.value===p?(k(),N(u,{key:0,color:"#fff",icon:"ep:check",size:16})):ue("",!0)],14,Pl))),128))])}}}),tt=J(Rl,[["__scopeId","data-v-79c0f447"]]),Bl={class:"interface-display"},zl={class:"flex justify-between items-center"},jl={class:"flex justify-between items-center"},Al={class:"flex justify-between items-center"},Dl={class:"flex justify-between items-center"},Ul={class:"flex justify-between items-center"},Hl={class:"flex justify-between items-center"},Ol={class:"flex justify-between items-center"},Fl={class:"flex justify-between items-center"},El={class:"flex justify-between items-center"},ql={class:"flex justify-between items-center"},Nl={class:"flex justify-between items-center"},Wl={class:"flex justify-between items-center"},Gl={class:"flex justify-between items-center"},Kl={class:"flex justify-between items-center"},Jl={class:"flex justify-between items-center"},Ql={class:"flex justify-between items-center"},Yl=R({__name:"InterfaceDisplay",setup(s){const l=W(),e=b(l.getBreadcrumb),c=w=>{l.setBreadcrumb(w)},a=b(l.getBreadcrumbIcon),r=w=>{l.setBreadcrumbIcon(w)},i=b(l.getHamburger),u=w=>{l.setHamburger(w)},p=b(l.getScreenfull),g=w=>{l.setScreenfull(w)},x=b(l.getSize),C=w=>{l.setSize(w)},S=b(l.getLocale),A=w=>{l.setLocale(w)},m=b(l.getTagsView),n=w=>{Ve("--tags-view-height",w?"35px":"0px"),l.setTagsView(w)},v=b(l.getTagsViewIcon),$=w=>{l.setTagsViewIcon(w)},M=b(l.getLogo),q=w=>{l.setLogo(w)},T=b(l.getUniqueOpened),H=w=>{l.setUniqueOpened(w)},ae=b(l.getFixedHeader),Le=w=>{l.setFixedHeader(w)},ge=b(l.getFooter),ve=w=>{l.setFooter(w)},he=b(l.getGreyMode),Ie=w=>{l.setGreyMode(w)},Pe=b(!!l.getDynamicRouter),Re=w=>{Ne.info("请重新退出登录体验"),l.setDynamicRouter(w)},Be=b(l.getServerDynamicRouter),ze=w=>{Ne.info("请重新退出登录体验"),l.setServerDynamicRouter(w)},xe=b(l.getFixedMenu),et=w=>{l.setFixedMenu(w)},we=h(()=>l.getLayout);return le(()=>we.value,w=>{w==="top"&&l.setCollapse(!1)}),(w,f)=>(k(),z("div",Bl,[d("div",zl,[f[16]||(f[16]=d("span",{class:"text-14px"},"面包屑",-1)),o(t(F),{modelValue:e.value,"onUpdate:modelValue":f[0]||(f[0]=V=>e.value=V),onChange:c},null,8,["modelValue"])]),d("div",jl,[f[17]||(f[17]=d("span",{class:"text-14px"},"面包屑图标",-1)),o(t(F),{modelValue:a.value,"onUpdate:modelValue":f[1]||(f[1]=V=>a.value=V),onChange:r},null,8,["modelValue"])]),d("div",Al,[f[18]||(f[18]=d("span",{class:"text-14px"},"折叠图标",-1)),o(t(F),{modelValue:i.value,"onUpdate:modelValue":f[2]||(f[2]=V=>i.value=V),onChange:u},null,8,["modelValue"])]),d("div",Dl,[f[19]||(f[19]=d("span",{class:"text-14px"},"全屏图标",-1)),o(t(F),{modelValue:p.value,"onUpdate:modelValue":f[3]||(f[3]=V=>p.value=V),onChange:g},null,8,["modelValue"])]),d("div",Ul,[f[20]||(f[20]=d("span",{class:"text-14px"},"尺寸图标",-1)),o(t(F),{modelValue:x.value,"onUpdate:modelValue":f[4]||(f[4]=V=>x.value=V),onChange:C},null,8,["modelValue"])]),d("div",Hl,[f[21]||(f[21]=d("span",{class:"text-14px"},"多语言图标",-1)),o(t(F),{modelValue:S.value,"onUpdate:modelValue":f[5]||(f[5]=V=>S.value=V),onChange:A},null,8,["modelValue"])]),d("div",Ol,[f[22]||(f[22]=d("span",{class:"text-14px"},"标签页",-1)),o(t(F),{modelValue:m.value,"onUpdate:modelValue":f[6]||(f[6]=V=>m.value=V),onChange:n},null,8,["modelValue"])]),d("div",Fl,[f[23]||(f[23]=d("span",{class:"text-14px"},"标签页图标",-1)),o(t(F),{modelValue:v.value,"onUpdate:modelValue":f[7]||(f[7]=V=>v.value=V),onChange:$},null,8,["modelValue"])]),d("div",El,[f[24]||(f[24]=d("span",{class:"text-14px"},"Logo",-1)),o(t(F),{modelValue:M.value,"onUpdate:modelValue":f[8]||(f[8]=V=>M.value=V),onChange:q},null,8,["modelValue"])]),d("div",ql,[f[25]||(f[25]=d("span",{class:"text-14px"},"菜单手风琴",-1)),o(t(F),{modelValue:T.value,"onUpdate:modelValue":f[9]||(f[9]=V=>T.value=V),onChange:H},null,8,["modelValue"])]),d("div",Nl,[f[26]||(f[26]=d("span",{class:"text-14px"},"固定头部",-1)),o(t(F),{modelValue:ae.value,"onUpdate:modelValue":f[10]||(f[10]=V=>ae.value=V),onChange:Le},null,8,["modelValue"])]),d("div",Wl,[f[27]||(f[27]=d("span",{class:"text-14px"},"页脚",-1)),o(t(F),{modelValue:ge.value,"onUpdate:modelValue":f[11]||(f[11]=V=>ge.value=V),onChange:ve},null,8,["modelValue"])]),d("div",Gl,[f[28]||(f[28]=d("span",{class:"text-14px"},"灰色模式",-1)),o(t(F),{modelValue:he.value,"onUpdate:modelValue":f[12]||(f[12]=V=>he.value=V),onChange:Ie},null,8,["modelValue"])]),d("div",Kl,[f[29]||(f[29]=d("span",{class:"text-14px"},"开启动态路由",-1)),o(t(F),{modelValue:Pe.value,"onUpdate:modelValue":f[13]||(f[13]=V=>Pe.value=V),onChange:Re},null,8,["modelValue"])]),d("div",Jl,[f[30]||(f[30]=d("span",{class:"text-14px"},"服务端动态路由",-1)),o(t(F),{modelValue:Be.value,"onUpdate:modelValue":f[14]||(f[14]=V=>Be.value=V),onChange:ze},null,8,["modelValue"])]),d("div",Ql,[f[31]||(f[31]=d("span",{class:"text-14px"},"固定菜单",-1)),o(t(F),{modelValue:xe.value,"onUpdate:modelValue":f[15]||(f[15]=V=>xe.value=V),onChange:et},null,8,["modelValue"])])]))}}),Xl={class:"layout-radio-picker flex flex-wrap space-x-14px"},Zl=R({__name:"LayoutRadioPicker",setup(s){const l=W(),e=h(()=>l.getLayout);return(c,a)=>(k(),z("div",Xl,[d("div",{class:P(["layout-radio-picker__classic","relative w-56px h-48px cursor-pointer bg-gray-300",{"is-acitve":e.value==="classic"}]),onClick:a[0]||(a[0]=r=>t(l).setLayout("classic"))},null,2),d("div",{class:P(["layout-radio-picker__top-left","relative w-56px h-48px cursor-pointer bg-gray-300",{"is-acitve":e.value==="topLeft"}]),onClick:a[1]||(a[1]=r=>t(l).setLayout("topLeft"))},null,2),d("div",{class:P(["layout-radio-picker__top","relative w-56px h-48px cursor-pointer bg-gray-300",{"is-acitve":e.value==="top"}]),onClick:a[2]||(a[2]=r=>t(l).setLayout("top"))},null,2),d("div",{class:P(["layout-radio-picker__cut-menu","relative w-56px h-48px cursor-pointer bg-gray-300",{"is-acitve":e.value==="cutMenu"}]),onClick:a[3]||(a[3]=r=>t(l).setLayout("cutMenu"))},a[4]||(a[4]=[d("div",{class:"absolute h-full w-[33%] top-0 left-[10%] bg-gray-200"},null,-1)]),2)]))}}),eo=J(Zl,[["__scopeId","data-v-f0593eff"]]),to=s=>Object.prototype.toString.call(s).slice(8,-1),Rt=(s="sessionStorage")=>({setStorage:(r,i)=>{const u=to(i);window[s].setItem(r,JSON.stringify({type:u,value:i}))},getStorage:r=>{const i=window[s].getItem(r);if(i){const{value:u}=JSON.parse(i);return u}else return i},removeStorage:r=>{window[s].removeItem(r)},clear:r=>{const i=Object.keys(window[s]),u=["dynamicRouter","serverDynamicRouter"],p=r?[...r,...u]:u;(p?i.filter(x=>!p.includes(x)):i).forEach(x=>{window[s].removeItem(x)})}}),lo={class:"text-center"},oo={class:"mt-5px"},ao=R({__name:"Setting",setup(s){const{clear:l}=Rt("localStorage"),e=W(),c=h(()=>e.getLayout),a=b(!1),r=b(e.getTheme.elColorPrimary),i=m=>{Ve("--el-color-primary",m),e.setTheme({elColorPrimary:m});const n=Tt("--left-menu-bg-color",document.documentElement);x(Nt(t(n)))},u=b(e.getTheme.topHeaderBgColor||""),p=m=>{const n=Ct(m),v=n?"#fff":"inherit",$=n?kt(m,6):"#f6f6f6",M=n?m:"#eee";Ve("--top-header-bg-color",m),Ve("--top-header-text-color",v),Ve("--top-header-hover-color",$),e.setTheme({topHeaderBgColor:m,topHeaderTextColor:v,topHeaderHoverColor:$,topToolBorderColor:M}),t(c)==="top"&&x(m)},g=b(e.getTheme.leftMenuBgColor||""),x=m=>{const n=Tt("--el-color-primary",document.documentElement),v=Ct(m),$={leftMenuBorderColor:v?"inherit":"#eee",leftMenuBgColor:m,leftMenuBgLightColor:v?kt(m,6):m,leftMenuBgActiveColor:v?"var(--el-color-primary)":Vt(t(n),.1),leftMenuCollapseBgActiveColor:v?"var(--el-color-primary)":Vt(t(n),.1),leftMenuTextColor:v?"#bfcbd9":"#333",leftMenuTextActiveColor:v?"#fff":"var(--el-color-primary)",logoTitleTextColor:v?"#fff":"inherit",logoBorderColor:v?m:"#eee"};e.setTheme($),e.setCssVarTheme()},C=()=>se(this,null,function*(){const{copy:m,copied:n,isSupported:v}=Xt({source:` + // 面包屑 + breadcrumb: ${e.getBreadcrumb}, + // 面包屑图标 + breadcrumbIcon: ${e.getBreadcrumbIcon}, + // 折叠图标 + hamburger: ${e.getHamburger}, + // 全屏图标 + screenfull: ${e.getScreenfull}, + // 尺寸图标 + size: ${e.getSize}, + // 多语言图标 + locale: ${e.getLocale}, + // 标签页 + tagsView: ${e.getTagsView}, + // 标签页图标 + getTagsViewIcon: ${e.getTagsViewIcon}, + // logo + logo: ${e.getLogo}, + // 菜单手风琴 + uniqueOpened: ${e.getUniqueOpened}, + // 固定header + fixedHeader: ${e.getFixedHeader}, + // 页脚 + footer: ${e.getFooter}, + // 灰色模式 + greyMode: ${e.getGreyMode}, + // layout布局 + layout: '${e.getLayout}', + // 暗黑模式 + isDark: ${e.getIsDark}, + // 组件尺寸 + currentSize: '${e.getCurrentSize}', + // 主题相关 + theme: { + // 主题色 + elColorPrimary: '${e.getTheme.elColorPrimary}', + // 左侧菜单边框颜色 + leftMenuBorderColor: '${e.getTheme.leftMenuBorderColor}', + // 左侧菜单背景颜色 + leftMenuBgColor: '${e.getTheme.leftMenuBgColor}', + // 左侧菜单浅色背景颜色 + leftMenuBgLightColor: '${e.getTheme.leftMenuBgLightColor}', + // 左侧菜单选中背景颜色 + leftMenuBgActiveColor: '${e.getTheme.leftMenuBgActiveColor}', + // 左侧菜单收起选中背景颜色 + leftMenuCollapseBgActiveColor: '${e.getTheme.leftMenuCollapseBgActiveColor}', + // 左侧菜单字体颜色 + leftMenuTextColor: '${e.getTheme.leftMenuTextColor}', + // 左侧菜单选中字体颜色 + leftMenuTextActiveColor: '${e.getTheme.leftMenuTextActiveColor}', + // logo字体颜色 + logoTitleTextColor: '${e.getTheme.logoTitleTextColor}', + // logo边框颜色 + logoBorderColor: '${e.getTheme.logoBorderColor}', + // 头部背景颜色 + topHeaderBgColor: '${e.getTheme.topHeaderBgColor}', + // 头部字体颜色 + topHeaderTextColor: '${e.getTheme.topHeaderTextColor}', + // 头部悬停颜色 + topHeaderHoverColor: '${e.getTheme.topHeaderHoverColor}', + // 头部边框颜色 + topToolBorderColor: '${e.getTheme.topToolBorderColor}' + } + `,legacy:!0});v?(yield m(),t(n)&&Ne.success("拷贝成功")):Ne.error("拷贝失败")}),S=()=>{l(),window.location.reload()},A=()=>{const m=Wt("--el-bg-color");x(m),p(m)};return(m,n)=>{const v=K;return k(),z(G,null,[d("div",{class:"setting fixed top-[45%] right-0 w-40px h-40px flex items-center justify-center bg-[var(--el-color-primary)] cursor-pointer z-10",onClick:n[0]||(n[0]=$=>a.value=!0)},[o(v,{icon:"ant-design:setting-outlined",color:"#fff"})]),o(t(Yt),{modelValue:a.value,"onUpdate:modelValue":n[4]||(n[4]=$=>a.value=$),direction:"rtl",size:"350px","z-index":4e3},{header:_(()=>n[5]||(n[5]=[d("span",{class:"text-16px font-700"},"项目配置",-1)])),default:_(()=>[d("div",lo,[o(t(ce),null,{default:_(()=>n[6]||(n[6]=[U("主题")])),_:1}),o(t(bl),{onChange:A}),o(t(ce),null,{default:_(()=>n[7]||(n[7]=[U("布局")])),_:1}),o(eo),o(t(ce),null,{default:_(()=>n[8]||(n[8]=[U("系统主题")])),_:1}),o(tt,{modelValue:r.value,"onUpdate:modelValue":n[1]||(n[1]=$=>r.value=$),schema:["#409eff","#009688","#536dfe","#ff5c93","#ee4f12","#0096c7","#9c27b0","#ff9800"],onChange:i},null,8,["modelValue"]),o(t(ce),null,{default:_(()=>n[9]||(n[9]=[U("头部主题")])),_:1}),o(tt,{modelValue:u.value,"onUpdate:modelValue":n[2]||(n[2]=$=>u.value=$),schema:["#fff","#151515","#5172dc","#e74c3c","#24292e","#394664","#009688","#383f45"],onChange:p},null,8,["modelValue"]),c.value!=="top"?(k(),z(G,{key:0},[o(t(ce),null,{default:_(()=>n[10]||(n[10]=[U("菜单主题")])),_:1}),o(tt,{modelValue:g.value,"onUpdate:modelValue":n[3]||(n[3]=$=>g.value=$),schema:["#fff","#001529","#212121","#273352","#191b24","#383f45","#001628","#344058"],onChange:x},null,8,["modelValue"])],64)):ue("",!0)]),o(t(ce),null,{default:_(()=>n[11]||(n[11]=[U("界面显示")])),_:1}),o(Yl),o(t(ce)),d("div",null,[o(t(me),{type:"primary",class:"w-full",onClick:C},{default:_(()=>n[12]||(n[12]=[U("拷贝")])),_:1})]),d("div",oo,[o(t(me),{type:"danger",class:"w-full",onClick:S},{default:_(()=>n[13]||(n[13]=[U(" 清除缓存并且重置 ")])),_:1})])]),_:1},8,["modelValue"])],64)}}}),no=J(ao,[["__scopeId","data-v-57aaa342"]]),so=(s,l)=>(yl(s,c=>c.path===l)||[]).map(c=>c.path),ro=(s=[],l)=>{const e=b(),c=s.filter(a=>{var i;return((i=a.meta)!=null?i:{}).hidden?!1:(e.value=a,!0)});return c.length===1?{oneShowingChild:!0,onlyOneChild:t(e)}:c.length?{oneShowingChild:!1,onlyOneChild:t(e)}:(e.value=pe(ee({},l),{path:"",noShowingChildren:!0}),{oneShowingChild:!0,onlyOneChild:t(e)})},io=()=>({renderMenuTitle:l=>{const{title:e="请设置标题",icon:c}=l;return c?o(G,null,[o(K,{icon:l.icon},null),o("span",{class:"v-menu__title overflow-hidden overflow-ellipsis whitespace-nowrap"},[e])]):o("span",{class:"v-menu__title overflow-hidden overflow-ellipsis whitespace-nowrap"},[e])}}),{renderMenuTitle:$t}=io(),uo=s=>{const l=(e,c="/")=>e.filter(a=>{var r;return!((r=a.meta)!=null&&r.hidden)}).map(a=>{var g;const r=(g=a.meta)!=null?g:{},{oneShowingChild:i,onlyOneChild:u}=ro(a.children,a),p=Qe(a.path)?a.path:ie(c,a.path);return i&&(!(u!=null&&u.children)||u!=null&&u.noShowingChildren)&&!(r!=null&&r.alwaysShow)?o(Zt,{index:u?ie(p,u.path):p},{default:()=>$t(u?u==null?void 0:u.meta:r)}):o(el,{index:p,teleported:!0,popperClass:s==="vertical"?"submenu-popper--vertical":"submenu-popper--horizontal"},{title:()=>$t(r),default:()=>l(a.children,p)})});return{renderMenuItem:l}};function co(s){return typeof s=="function"||Object.prototype.toString.call(s)==="[object Object]"&&!It(s)}const fo=R({name:"Menu",props:{menuSelect:{type:Function,default:void 0}},setup(s){const l=W(),e=h(()=>l.getLayout),{push:c,currentRoute:a}=$e(),r=Ye(),i=h(()=>["classic","topLeft","cutMenu"].includes(t(e))?"vertical":"horizontal"),u=h(()=>t(e)==="cutMenu"?r.getMenuTabRouters:r.getRouters),p=h(()=>l.getCollapse),g=h(()=>l.getUniqueOpened),x=h(()=>{const{meta:m,path:n}=t(a);return m.activeMenu?m.activeMenu:n}),C=m=>{s.menuSelect&&s.menuSelect(m),Qe(m)?window.open(m):c(m)},S=()=>{if(t(e)==="top")return A();{let m;return o(fe,null,co(m=A())?m:{default:()=>[m]})}},A=()=>o(tl,{defaultActive:t(x),mode:t(i),collapse:t(e)==="top"||t(e)==="cutMenu"?!1:t(p),uniqueOpened:t(e)==="top"?!1:t(g),backgroundColor:"var(--left-menu-bg-color)",textColor:"var(--left-menu-text-color)",activeTextColor:"var(--left-menu-text-active-color)",onSelect:C},{default:()=>{const{renderMenuItem:m}=uo(t(i));return m(t(u))}});return()=>o("div",{id:"menu",class:[`menu menu__${t(i)}`,"h-[100%] overflow-hidden flex-col bg-[var(--left-menu-bg-color)]",{"w-[var(--left-menu-min-width)]":t(p)&&t(e)!=="cutMenu","w-[var(--left-menu-max-width)]":!t(p)&&t(e)!=="cutMenu"}]},[S()])}}),qe=J(fo,[["__scopeId","data-v-b6e6745e"]]),Ke=Ge({}),po=s=>{var l;for(const e of s){const c=(l=e.meta)!=null?l:{};c!=null&&c.hidden||(Ke[e.path]=[])}},Bt=(s,l)=>{var c;const e=[];for(const a of s){let r=null;const i=(c=a.meta)!=null?c:{};if(!i.hidden||i.canTo){const u=so(l,a.path),p=Qe(a.path)?a.path:u.join("/");r=We(a),r.path=p,a.children&&r&&(r.children=Bt(a.children,l)),r&&e.push(r),u.length&&Reflect.has(Ke,u[0])&&Ke[u[0]].push(p)}}return e},mo=R({name:"TabMenu",directives:{ClickOutside:ll},setup(){const{push:s,currentRoute:l}=$e(),e=W(),c=h(()=>e.getCollapse),a=h(()=>e.getFixedMenu),r=Ye(),i=h(()=>r.getRouters),u=h(()=>t(i).filter(n=>{var v;return!((v=n==null?void 0:n.meta)!=null&&v.hidden)})),p=()=>{e.setCollapse(!t(c))};nt(()=>{var n;if(t(a)){const v=`/${t(l).path.split("/")[1]}`,$=(n=t(u).find(M=>{var q,T,H;return(((q=M.meta)==null?void 0:q.alwaysShow)||((T=M==null?void 0:M.children)==null?void 0:T.length)&&((H=M==null?void 0:M.children)==null?void 0:H.length)>1)&&M.path===v}))==null?void 0:n.children;C.value=v,$&&r.setMenuTabRouters(We($).map(M=>(M.path=ie(t(C),M.path),M)))}}),le(()=>i.value,n=>{po(n),Bt(n,n)},{immediate:!0,deep:!0});const g=b(!0);le(()=>c.value,n=>{n?g.value=!n:setTimeout(()=>{g.value=!n},200)});const x=b(!!t(a)),C=b(""),S=n=>{if(Qe(n.path)){window.open(n.path);return}const v=n.children?n.path:n.path.split("/")[0],$=t(C);C.value=n.children?n.path:n.path.split("/")[0],n.children?((v===$||!t(x))&&(x.value=!t(x)),t(x)&&r.setMenuTabRouters(We(n.children).map(M=>(M.path=ie(t(C),M.path),M)))):(s(n.path),r.setMenuTabRouters([]),x.value=!1)},A=n=>{const{path:v}=t(l);return!!Ke[n].includes(v)},m=()=>{t(a)||(x.value=!1)};return()=>te(o("div",{id:"menu",class:["tab-menu","relative bg-[var(--left-menu-bg-color)] top-1px layout-border__right",{"w-[var(--tab-menu-max-width)]":!t(c),"w-[var(--tab-menu-min-width)]":t(c)}]},[o(fe,{class:"!h-[calc(100%-var(--tab-menu-collapse-height)-1px)]"},{default:()=>[o("div",null,{default:()=>t(u).map(n=>{var $,M,q,T,H,ae;const v=($=n.meta)!=null&&$.alwaysShow||(M=n==null?void 0:n.children)!=null&&M.length&&((q=n==null?void 0:n.children)==null?void 0:q.length)>1?n:pe(ee({},(n==null?void 0:n.children)&&(n==null?void 0:n.children[0])),{path:ie(n.path,(T=(n==null?void 0:n.children)&&(n==null?void 0:n.children[0]))==null?void 0:T.path)});return o("div",{class:["tab-menu__item","text-center text-12px relative py-12px cursor-pointer",{"is-active":A(n.path)}],onClick:()=>{S(v)}},[o("div",null,[o(K,{icon:(H=v==null?void 0:v.meta)==null?void 0:H.icon},null)]),t(g)?o("p",{class:"break-words mt-5px px-2px"},[((ae=v.meta)==null?void 0:ae.title)||""]):void 0])})})]}),o("div",{class:["tab-menu--collapse","text-center h-[var(--tab-menu-collapse-height)] leading-[var(--tab-menu-collapse-height)] cursor-pointer"],onClick:p},[o(K,{icon:t(c)?"ep:d-arrow-right":"ep:d-arrow-left"},null)]),o(qe,{class:["!absolute top-0 z-3000",{"!left-[var(--tab-menu-min-width)]":t(c),"!left-[var(--tab-menu-max-width)]":!t(c),"!w-[var(--left-menu-max-width)]":t(x)||t(a),"!w-0":!t(x)&&!t(a)}],style:"transition: width var(--transition-time-02), left var(--transition-time-02);"},null)]),[[Te("click-outside"),m]])}}),go=J(mo,[["__scopeId","data-v-6af19399"]]),zt=(s,l="")=>{let e=[];return s.forEach(c=>{var i;const a=(i=c.meta)!=null?i:{},r=ie(l,c.path);if(a!=null&&a.affix&&e.push(pe(ee({},c),{path:r,fullPath:r})),c.children){const u=zt(c.children,r);u.length>=1&&(e=[...e,...u])}}),e},Mt=R({__name:"ContextMenu",props:{schema:{type:Array,default:()=>[]},trigger:{type:String,default:"contextmenu"},tagItem:{type:Object,default:()=>({})}},emits:["visibleChange"],setup(s,{expose:l,emit:e}){const c=e,a=s,r=p=>{p.command&&p.command(p)},i=p=>{c("visibleChange",p,a.tagItem)},u=b(null);return l({elDropdownMenuRef:u,tagItem:a.tagItem}),(p,g)=>{const x=K;return k(),N(t(at),{ref_key:"elDropdownMenuRef",ref:u,class:"context-menu",trigger:s.trigger,placement:"bottom-start",onCommand:r,onVisibleChange:i,"popper-class":"v-context-menu-popper"},{dropdown:_(()=>[o(t(ot),null,{default:_(()=>[(k(!0),z(G,null,Xe(s.schema,(C,S)=>(k(),N(t(Se),{key:`dropdown${S}`,divided:C.divided,disabled:C.disabled,command:C},{default:_(()=>[o(x,{icon:C.icon},null,8,["icon"]),U(" "+E(C.label),1)]),_:2},1032,["divided","disabled","command"]))),128))]),_:1})]),default:_(()=>[dl(p.$slots,"default")]),_:3},8,["trigger"])}}}),vo=(s,l,e,c)=>(s/=c/2,s<1?e/2*s*s+l:(s--,-e/2*(s*(s-2)-1)+l)),ho=(s,l,e)=>{s[l]=e};function Ce({el:s,position:l="scrollLeft",to:e,duration:c=500,callback:a}){const r=b(!1),i=s[l],u=e-i,p=20;let g=0;function x(){if(!t(r))return;g+=p;const A=vo(g,i,u,c);ho(s,l,A),gg.getRouters),C=lt(),S=h(()=>C.getVisitedViews),A=b([]),m=h(()=>C.getSelectedTag),n=C.setSelectedTag,v=W(),$=h(()=>v.getTagsViewIcon),M=h(()=>v.getIsDark),q=()=>{A.value=zt(t(x));for(const y of t(A))y.name&&C.addVisitedView(We(y))},T=()=>{const{name:y}=t(l);y&&(n(t(l)),C.addView(t(l)))},H=y=>{u(y,()=>{ze(y)&&ae()})},ae=()=>{const I=C.getVisitedViews.slice(-1)[0];if(I)e(I);else{if(t(l).path===g.getAddRouters[0].path||t(l).path===g.getAddRouters[0].redirect){T();return}e(g.getAddRouters[0].path)}},Le=()=>{c(()=>{ae()})},ge=()=>{i()},ve=y=>se(this,null,function*(){p(y)}),he=()=>{a()},Ie=()=>{r()},Pe=()=>se(this,null,function*(){yield pl();for(const y of t(S))if(y.fullPath===t(l).path){Be(y),y.fullPath!==t(l).fullPath&&C.updateVisitedView(t(l));break}}),Re=St(),Be=y=>{var ne;const I=(ne=t(we))==null?void 0:ne.wrapRef;let j=null,O=null;const Q=t(Re);if(Q.length>0&&(j=Q[0],O=Q[Q.length-1]),(j==null?void 0:j.to).fullPath===y.fullPath){const{start:Z}=Ce({el:I,position:"scrollLeft",to:0,duration:500});Z()}else if((O==null?void 0:O.to).fullPath===y.fullPath){const{start:Z}=Ce({el:I,position:"scrollLeft",to:I.scrollWidth-I.offsetWidth,duration:500});Z()}else{const Z=Q.findIndex(Y=>(Y==null?void 0:Y.to).fullPath===y.fullPath),be=document.getElementsByClassName("tags-view__item"),je=be[Z-1],_e=be[Z+1],L=_e.offsetLeft+_e.offsetWidth+4,ye=je.offsetLeft-4;if(L>t(w)+I.offsetWidth){const{start:Y}=Ce({el:I,position:"scrollLeft",to:L-I.offsetWidth,duration:500});Y()}else if(yey.path===t(l).path,xe=St(),et=(y,I)=>{if(y)for(const j of t(xe)){const O=j.elDropdownMenuRef;I.fullPath!==j.tagItem.fullPath&&(O==null||O.handleClose(),n(I))}},we=b(),w=b(0),f=({scrollLeft:y})=>{w.value=y},V=y=>{var O;const I=(O=t(we))==null?void 0:O.wrapRef,{start:j}=Ce({el:I,position:"scrollLeft",to:t(w)+y,duration:500});j()},Dt=y=>{var I,j,O,Q,ne;return!!((O=(j=(I=y==null?void 0:y.matched)==null?void 0:I[1])==null?void 0:j.meta)!=null&&O.icon&&t($)||(Q=y==null?void 0:y.meta)!=null&&Q.affix&&t($)&&((ne=y==null?void 0:y.meta)!=null&&ne.icon))};return nt(()=>{q(),T()}),le(()=>l.value,()=>{T(),Pe()}),(y,I)=>{var Q,ne,Z,be,je,_e;const j=K,O=st("router-link");return k(),z("div",xo,[d("span",{class:P(["tags-view__tool tags-view__tool--first","w-[var(--tags-view-height)] h-[var(--tags-view-height)] flex items-center justify-center cursor-pointer"]),onClick:I[0]||(I[0]=L=>V(-200))},[o(j,{icon:"ep:d-arrow-left",color:"var(--el-text-color-placeholder)","hover-color":M.value?"#fff":"var(--el-color-black)"},null,8,["hover-color"])]),d("div",wo,[o(t(fe),{ref_key:"scrollbarRef",ref:we,class:"h-full",onScroll:f},{default:_(()=>[d("div",bo,[(k(!0),z(G,null,Xe(S.value,L=>{var ye,Y,ut,ct,dt,ft,pt,mt,gt;return k(),N(t(Mt),{ref_for:!0,ref:t(xe).set,schema:[{icon:"ant-design:sync-outlined",label:"重新加载",disabled:((ye=m.value)==null?void 0:ye.fullPath)!==L.fullPath,command:()=>{ve(L)}},{icon:"ant-design:close-outlined",label:"关闭标签页",disabled:!!((Y=S.value)!=null&&Y.length)&&((ut=m.value)==null?void 0:ut.meta.affix),command:()=>{H(L)}},{divided:!0,icon:"ant-design:vertical-right-outlined",label:"关闭左侧标签页",disabled:!!((ct=S.value)!=null&&ct.length)&&(L.fullPath===S.value[0].fullPath||((dt=m.value)==null?void 0:dt.fullPath)!==L.fullPath),command:()=>{he()}},{icon:"ant-design:vertical-left-outlined",label:"关闭右侧标签页",disabled:!!((ft=S.value)!=null&&ft.length)&&(L.fullPath===S.value[S.value.length-1].fullPath||((pt=m.value)==null?void 0:pt.fullPath)!==L.fullPath),command:()=>{Ie()}},{divided:!0,icon:"ant-design:tag-outlined",label:"关闭其它标签页",disabled:((mt=m.value)==null?void 0:mt.fullPath)!==L.fullPath,command:()=>{ge()}},{icon:"ant-design:line-outlined",label:"关闭全部标签页",command:()=>{Le()}}],key:L.fullPath,"tag-item":L,class:P(["tags-view__item",(gt=L==null?void 0:L.meta)!=null&>.affix?"tags-view__item--affix":"",{"is-active":ze(L)}]),onVisibleChange:et},{default:_(()=>[d("div",null,[o(O,{ref_for:!0,ref:t(Re).set,to:ee({},L),custom:""},{default:_(({navigate:Ut})=>{var vt,ht,xt,wt,bt;return[d("div",{onClick:Ut,class:"h-full flex justify-center items-center whitespace-nowrap pl-15px"},[Dt(L)?(k(),N(j,{key:0,icon:((xt=(ht=(vt=L==null?void 0:L.matched)==null?void 0:vt[1])==null?void 0:ht.meta)==null?void 0:xt.icon)||((wt=L==null?void 0:L.meta)==null?void 0:wt.icon),size:12,class:"mr-5px"},null,8,["icon"])):ue("",!0),U(" "+E((bt=L==null?void 0:L.meta)==null?void 0:bt.title)+" ",1),o(j,{class:P("tags-view__item--close"),color:"#333",icon:"ant-design:close-outlined",size:12,onClick:fl(fa=>H(L),["prevent","stop"])},null,8,["onClick"])],8,_o)]}),_:2},1032,["to"])])]),_:2},1032,["schema","tag-item","class"])}),128))])]),_:1},512)]),d("span",{class:P(["tags-view__tool","w-[var(--tags-view-height)] h-[var(--tags-view-height)] flex items-center justify-center cursor-pointer"]),onClick:I[1]||(I[1]=L=>V(200))},[o(j,{icon:"ep:d-arrow-right",color:"var(--el-text-color-placeholder)","hover-color":M.value?"#fff":"var(--el-color-black)"},null,8,["hover-color"])]),d("span",{class:P(["tags-view__tool","w-[var(--tags-view-height)] h-[var(--tags-view-height)] flex items-center justify-center cursor-pointer"]),onClick:I[2]||(I[2]=L=>ve(m.value))},[o(j,{icon:"ant-design:reload-outlined",color:"var(--el-text-color-placeholder)","hover-color":M.value?"#fff":"var(--el-color-black)"},null,8,["hover-color"])]),o(t(Mt),{trigger:"click",schema:[{icon:"ant-design:sync-outlined",label:"重新加载",command:()=>{ve(m.value)}},{icon:"ant-design:close-outlined",label:"关闭标签页",disabled:!!((Q=S.value)!=null&&Q.length)&&((ne=m.value)==null?void 0:ne.meta.affix),command:()=>{m.value&&H(m.value)}},{divided:!0,icon:"ant-design:vertical-right-outlined",label:"关闭左侧标签页",disabled:!!((Z=S.value)!=null&&Z.length)&&((be=m.value)==null?void 0:be.fullPath)===S.value[0].fullPath,command:()=>{he()}},{icon:"ant-design:vertical-left-outlined",label:"关闭右侧标签页",disabled:!!((je=S.value)!=null&&je.length)&&((_e=m.value)==null?void 0:_e.fullPath)===S.value[S.value.length-1].fullPath,command:()=>{Ie()}},{divided:!0,icon:"ant-design:tag-outlined",label:"关闭其它标签页",command:()=>{ge()}},{icon:"ant-design:line-outlined",label:"关闭全部标签页",command:()=>{Le()}}]},{default:_(()=>[d("span",{class:P(["tags-view__tool","w-[var(--tags-view-height)] h-[var(--tags-view-height)] flex items-center justify-center cursor-pointer block"])},[o(j,{icon:"ant-design:setting-outlined",color:"var(--el-text-color-placeholder)","hover-color":M.value?"#fff":"var(--el-color-black)"},null,8,["hover-color"])])]),_:1},8,["schema"])])}}}),De=J(yo,[["__scopeId","data-v-1ea8766d"]]),Ue=R({__name:"Logo",setup(s){const l=W(),e=b(!0),c=h(()=>l.getTitle),a=h(()=>l.getLayout),r=h(()=>l.getCollapse);return nt(()=>{t(r)&&(e.value=!1)}),le(()=>r.value,i=>{if(t(a)==="topLeft"||t(a)==="cutMenu"){e.value=!0;return}e.value=!i}),le(()=>a.value,i=>{i==="top"||i==="cutMenu"?e.value=!0:t(r)?e.value=!1:e.value=!0}),(i,u)=>{const p=st("router-link");return k(),z("div",null,[o(p,{class:P(["logo",a.value!=="classic"?"logo__Top":"","flex !h-[var(--logo-height)] items-center cursor-pointer pl-8px relative decoration-none overflow-hidden"]),to:"/"},{default:_(()=>[u[0]||(u[0]=d("img",{src:Tl,class:"w-[calc(var(--logo-height)-10px)] h-[calc(var(--logo-height)-10px)]"},null,-1)),e.value?(k(),z("div",{key:0,class:P(["ml-10px text-16px font-700",{"text-[var(--logo-title-text-color)]":a.value==="classic","text-[var(--top-header-text-color)]":a.value==="topLeft"||a.value==="top"||a.value==="cutMenu"}])},E(c.value),3)):ue("",!0)]),_:1},8,["class"])])}}}),Co={class:"footer text-center text-[var(--el-text-color-placeholder)] bg-[var(--app-content-bg-color)] h-[var(--app-footer-height)] leading-[var(--app-footer-height)] dark:bg-[var(--el-bg-color)]"},ko=R({__name:"Footer",setup(s){const l=W(),e=h(()=>l.getTitle);return(c,a)=>(k(),z("div",Co," Copyright ©2021-present "+E(e.value),1))}}),Vo={class:P(["flex-1 p-[var(--app-content-padding)] w-full bg-[var(--app-content-bg-color)] dark:bg-[var(--el-bg-color)]"])},He=R({__name:"AppView",setup(s){const l=W(),e=h(()=>l.getFooter),c=lt(),a=h(()=>c.getCachedViews);return h(()=>l.getTagsView),(r,i)=>{const u=st("router-view");return k(),z(G,null,[d("section",Vo,[o(u,null,{default:_(({Component:p,route:g})=>[(k(),N(ml,{include:a.value},[(k(),N(gl(p),{key:g.fullPath}))],1032,["include"]))]),_:1})]),e.value?(k(),N(t(ko),{key:0})):ue("",!0)],64)}}}),To=R({__name:"Collapse",props:{color:Je.string.def("")},setup(s){const l=W(),e=h(()=>l.getCollapse),c=()=>{const a=t(e);l.setCollapse(!a)};return(a,r)=>{const i=K;return k(),z("div",{class:"collapse",onClick:c},[o(i,{size:18,icon:e.value?"ant-design:menu-unfold-outlined":"ant-design:menu-fold-outlined",color:s.color,class:"cursor-pointer"},null,8,["icon","color"])])}}}),So=R({__name:"SizeDropdown",props:{color:Je.string.def("")},setup(s){const l=W(),e=h(()=>l.sizeMap),c=a=>{l.setCurrentSize(a)};return(a,r)=>{const i=K;return k(),N(t(at),{class:"size-dropdown",trigger:"click",onCommand:c},{dropdown:_(()=>[o(t(ot),null,{default:_(()=>[(k(!0),z(G,null,Xe(e.value,u=>(k(),N(t(Se),{key:u,command:u},{default:_(()=>[U(E(u),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:_(()=>[o(i,{size:18,icon:"mdi:format-size",color:s.color,class:"cursor-pointer"},null,8,["color"])]),_:1})}}}),it=vl("lock",{state:()=>({lockInfo:{}}),getters:{getLockInfo(){return this.lockInfo}},actions:{setLockInfo(s){this.lockInfo=s},resetLockInfo(){this.lockInfo={}},unLock(s){var l;return((l=this.lockInfo)==null?void 0:l.password)===s?(this.resetLockInfo(),!0):!1}},persist:!0}),$o=R({__name:"LockDialog",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(s,{emit:l}){const{required:e}=Ml(),c=it(),a=s,r=l,i=h({get:()=>a.modelValue,set:n=>{r("update:modelValue",n)}}),u=b("锁定屏幕"),p=Ge({password:[e()]}),g=Ge([{label:"锁屏密码",field:"password",component:"Input",componentProps:{type:"password",showPassword:!0}}]),{formRegister:x,formMethods:C}=$l(),{getFormData:S,getElFormExpose:A}=C,m=()=>se(this,null,function*(){const n=yield A();n==null||n.validate(v=>se(this,null,function*(){if(v){i.value=!1;const $=yield S();c.setLockInfo(ee({isLock:!0},$))}}))});return(n,v)=>(k(),N(t(Sl),{modelValue:i.value,"onUpdate:modelValue":v[0]||(v[0]=$=>i.value=$),width:"500px","max-height":"170px",class:"lock-dialog",title:u.value},{footer:_(()=>[o(t(me),{type:"primary",onClick:m},{default:_(()=>v[1]||(v[1]=[U("锁定")])),_:1})]),default:_(()=>[v[2]||(v[2]=d("div",{class:"flex flex-col items-center"},[d("img",{src:rt,alt:"",class:"w-70px h-70px rounded-[50%]"}),d("span",{class:"text-14px my-10px text-[var(--top-header-text-color)]"},"ShanYi")],-1)),o(t(_l),{"is-col":!1,schema:g,rules:p,onRegister:t(x)},null,8,["schema","rules","onRegister"])]),_:1},8,["modelValue","title"]))}}),Mo=J($o,[["__scopeId","data-v-4b32b401"]]),Lo=ol,Io=(s=!0)=>{let l;const e=Ge({year:0,month:0,week:"",day:0,hour:"",minute:"",second:0,meridiem:""}),c=()=>{const i=Lo(),u=i.format("HH"),p=i.format("mm"),g=i.get("s");e.year=i.get("y"),e.month=i.get("M")+1,e.week="星期"+["日","一","二","三","四","五","六"][i.day()],e.day=i.get("date"),e.hour=u,e.minute=p,e.second=g,e.meridiem=i.format("A")};function a(){c(),clearInterval(l),l=setInterval(()=>c(),1e3)}function r(){clearInterval(l)}return al(()=>{s&&a()}),nl(()=>{r()}),pe(ee({},hl(e)),{start:a,stop:r})},Po={class:"lock-page fixed inset-0 flex h-screen w-screen bg-black items-center justify-center"},Ro={class:"flex w-screen h-screen justify-center items-center"},Bo={class:P("lock-page__minute w-2/5 h-2/5 md:h-4/5 ")},zo={class:P("lock-page-entry")},jo={class:P("lock-page-entry-content")},Ao={key:0,class:P("text-14px lock-page-entry__err-msg enter-x")},Do={class:P("lock-page-entry__footer enter-x")},Uo={class:"absolute bottom-5 w-full text-gray-300 xl:text-xl 2xl:text-3xl text-center enter-y"},Ho={class:"text-5xl mb-4 enter-x"},Oo={class:"text-3xl"},Fo={class:"text-2xl"},Eo=R({__name:"LockPage",setup(s){const l=lt(),{clear:e}=Rt(),{replace:c}=$e(),a=b(""),r=b(!1),i=b(!1),u=b(!0),p=it(),{hour:g,month:x,minute:C,meridiem:S,year:A,day:m,week:n}=Io(!0);function v(){return se(this,null,function*(){if(!a.value)return;const q=a.value;try{r.value=!0;const T=yield p.unLock(q);i.value=!T}finally{r.value=!1}})}function $(){return se(this,null,function*(){(yield Gt().catch(()=>{}))&&(e(),l.delAllViews(),Kt(),p.resetLockInfo(),c("/login"))})}function M(q=!1){u.value=q}return(q,T)=>(k(),z("div",Po,[te(d("div",{class:P(["lock-page__unlock","absolute top-0 left-1/2 flex pt-5 h-16 items-center justify-center sm:text-md xl:text-xl text-white flex-col cursor-pointer transform translate-x-1/2"]),onClick:T[0]||(T[0]=H=>M(!1))},[o(t(K),{icon:"ep:lock"}),T[4]||(T[4]=d("span",null,"点击解锁",-1))],512),[[Ae,u.value]]),d("div",Ro,[d("div",{class:P(["lock-page__hour","relative mr-5 md:mr-20 w-2/5 h-2/5 md:h-4/5"])},[d("span",null,E(t(g)),1),te(d("span",{class:"meridiem absolute left-5 top-5 text-md xl:text-xl"},E(t(S)),513),[[Ae,u.value]])]),d("div",Bo,[d("span",null,E(t(C)),1)])]),o(Pt,{name:"fade-slide"},{default:_(()=>[te(d("div",zo,[d("div",jo,[T[8]||(T[8]=d("div",{class:"flex flex-col items-center"},[d("img",{src:rt,alt:"",class:"w-70px h-70px rounded-[50%]"}),d("span",{class:"text-14px my-10px text-[var(--logo-title-text-color)]"},"ShanYi")],-1)),o(t(sl),{type:"password",placeholder:"请输入锁屏密码",class:"enter-x",modelValue:a.value,"onUpdate:modelValue":T[1]||(T[1]=H=>a.value=H)},null,8,["modelValue"]),i.value?(k(),z("span",Ao," 锁屏密码错误 ")):ue("",!0),d("div",Do,[o(t(me),{type:"primary",size:"small",class:"mt-2 mr-2 enter-x",link:"",disabled:r.value,onClick:T[2]||(T[2]=H=>M(!0))},{default:_(()=>T[5]||(T[5]=[U(" 返回 ")])),_:1},8,["disabled"]),o(t(me),{type:"primary",size:"small",class:"mt-2 mr-2 enter-x",link:"",disabled:r.value,onClick:$},{default:_(()=>T[6]||(T[6]=[U(" 返回登录 ")])),_:1},8,["disabled"]),o(t(me),{type:"primary",class:"mt-2",size:"small",link:"",onClick:T[3]||(T[3]=H=>v()),disabled:r.value},{default:_(()=>T[7]||(T[7]=[U(" 进入系统 ")])),_:1},8,["disabled"])])])],512),[[Ae,!u.value]])]),_:1}),d("div",Uo,[te(d("div",Ho,[U(E(t(g))+":"+E(t(C))+" ",1),d("span",Oo,E(t(S)),1)],512),[[Ae,!u.value]]),d("div",Fo,E(t(A))+"/"+E(t(x))+"/"+E(t(m))+" "+E(t(n)),1)])]))}}),qo=J(Eo,[["__scopeId","data-v-17ba496a"]]),No={class:"flex items-center"},Wo={class:"{var p,g;return(g=(p=e.getLockInfo)==null?void 0:p.isLock)!=null?g:!1}),a=()=>{l.logoutConfirm()},r=b(!1),i=()=>{r.value=!0},u=()=>{window.open("https://admindoc.mbuild.top")};return(p,g)=>(k(),z(G,null,[o(t(at),{class:"user-info custom-hover",trigger:"click"},{dropdown:_(()=>[o(t(ot),null,{default:_(()=>[o(t(Se),null,{default:_(()=>[d("div",{onClick:u},"项目文档")]),_:1}),o(t(Se),{divided:""},{default:_(()=>[d("div",{onClick:i},"锁定屏幕")]),_:1}),o(t(Se),null,{default:_(()=>[d("div",{onClick:a},"退出系统")]),_:1})]),_:1})]),default:_(()=>{var x;return[d("div",No,[g[1]||(g[1]=d("img",{src:rt,alt:"",class:"w-[calc(var(--logo-height)-25px)] rounded-[50%]"},null,-1)),d("span",Wo,E((x=t(l).getUserInfo)==null?void 0:x.username),1)])]}),_:1}),r.value?(k(),N(Mo,{key:0,modelValue:r.value,"onUpdate:modelValue":g[0]||(g[0]=x=>r.value=x)},null,8,["modelValue"])):ue("",!0),(k(),N(xl,{to:"body"},[o(Pt,{name:"fade-bottom",mode:"out-in"},{default:_(()=>[c.value?(k(),N(qo,{key:0})):ue("",!0)]),_:1})]))],64))}}),Ko=J(Go,[["__scopeId","data-v-eabcd710"]]),Jo=R({__name:"Screenfull",props:{color:Je.string.def("")},setup(s){const{toggle:l,isFullscreen:e}=rl(),c=()=>{l()};return(a,r)=>(k(),z("div",{class:"screenfull",onClick:c},[o(t(K),{size:18,icon:t(e)?"zmdi:fullscreen-exit":"zmdi:fullscreen",color:s.color},null,8,["icon","color"])]))}}),jt=(s,l="")=>{var c;const e=[];for(const a of s){const r=a==null?void 0:a.meta;if(r.hidden&&!r.canTo)continue;const i=!r.alwaysShow&&((c=a.children)==null?void 0:c.length)===1?pe(ee({},a.children[0]),{path:ie(a.path,a.children[0].path)}):ee({},a);i.path=ie(l,i.path),i.children&&(i.children=jt(i.children,i.path)),i&&e.push(i)}return e};function Qo(s){return typeof s=="function"||Object.prototype.toString.call(s)==="[object Object]"&&!It(s)}const Yo=W(),Xo=h(()=>Yo.getBreadcrumbIcon),Zo=R({name:"Breadcrumb",setup(){const{currentRoute:s}=$e(),l=b([]),e=Ye(),c=h(()=>{const i=e.getRouters;return jt(i)}),a=()=>{const i=s.value.matched.slice(-1)[0].path;l.value=Cl(t(c),u=>u.path===i)},r=()=>kl(t(l)).map(u=>{const p=!u.redirect||u.redirect==="noredirect",g=u.meta;return o(ul,{to:{path:p?"":u.path},key:u.name},{default:()=>{var x,C;return[g!=null&&g.icon&&Xo.value?o(G,null,[o(K,{icon:g.icon,class:"mr-[5px]"},null),U(" "),(x=u==null?void 0:u.meta)==null?void 0:x.title]):(C=u==null?void 0:u.meta)==null?void 0:C.title]}})});return le(()=>s.value,i=>{i.path.startsWith("/redirect/")||a()},{immediate:!0}),()=>{let i;return o(il,{separator:"/",class:"breadcrumb flex items-center h-full ml-[10px]"},{default:()=>[o(wl,{appear:!0,"enter-active-class":"animate__animated animate__fadeInRight"},Qo(i=r())?i:{default:()=>[i]})]})}}}),ea=J(Zo,[["__scopeId","data-v-3449b691"]]),Me=W(),ta=h(()=>Me.getBreadcrumb),la=h(()=>Me.getHamburger),oa=h(()=>Me.getScreenfull),aa=h(()=>Me.getSize),Lt=h(()=>Me.getLayout),na=R({name:"ToolHeader",setup(){return()=>o("div",{id:"tool-header",class:["tool-header","h-[var(--top-tool-height)] relative px-[var(--top-tool-p-x)] flex items-center justify-between"]},[Lt.value!=="top"?o("div",{class:"h-full flex items-center"},[la.value&&Lt.value!=="cutMenu"?o(To,{class:"custom-hover",color:"var(--top-header-text-color)"},null):void 0,ta.value?o(ea,{class:"oe.getPageLoading),re=h(()=>oe.getTagsView),D=h(()=>oe.getCollapse),ke=h(()=>oe.logo),B=h(()=>oe.getFixedHeader),X=h(()=>oe.getMobile),de=h(()=>oe.getFixedMenu),Ee=()=>({renderClassic:()=>o(G,null,[o("div",{class:["absolute top-0 left-0 h-full layout-border__right",{"!fixed z-3000":X.value}]},[ke.value?o(Ue,{class:["bg-[var(--left-menu-bg-color)] relative",{"!pl-0":X.value&&D.value,"w-[var(--left-menu-min-width)]":oe.getCollapse,"w-[var(--left-menu-max-width)]":!oe.getCollapse}],style:"transition: all var(--transition-time-02);"},null):void 0,o(qe,{class:[{"!h-[calc(100%-var(--logo-height))]":ke.value}]},null)]),o("div",{class:["layout-content","absolute top-0 h-[100%]",{"w-[calc(100%-var(--left-menu-min-width))] left-[var(--left-menu-min-width)]":D.value&&!X.value&&!X.value,"w-[calc(100%-var(--left-menu-max-width))] left-[var(--left-menu-max-width)]":!D.value&&!X.value&&!X.value,"fixed !w-full !left-0":X.value}],style:"transition: all var(--transition-time-02);"},[te(o(fe,{class:["layout-content-scrollbar",{"!h-[calc(100%-var(--top-tool-height)-var(--tags-view-height))] mt-[calc(var(--top-tool-height)+var(--tags-view-height))]":B.value}]},{default:()=>[o("div",{class:[{"fixed top-0 left-0 z-10":B.value,"w-[calc(100%-var(--left-menu-min-width))] !left-[var(--left-menu-min-width)]":D.value&&B.value&&!X.value,"w-[calc(100%-var(--left-menu-max-width))] !left-[var(--left-menu-max-width)]":!D.value&&B.value&&!X.value,"!w-full !left-0":X.value}],style:"transition: all var(--transition-time-02);"},[o(Oe,{class:["bg-[var(--top-header-bg-color)]",{"layout-border__bottom":!re.value}]},null),re.value?o(De,{class:"layout-border__bottom layout-border__top"},null):void 0]),o(He,null,null)]}),[[Te("loading"),Fe.value]])])]),renderTopLeft:()=>o(G,null,[o("div",{class:"flex items-center bg-[var(--top-header-bg-color)] relative layout-border__bottom dark:bg-[var(--el-bg-color)]"},[ke.value?o(Ue,{class:"custom-hover"},null):void 0,o(Oe,{class:"flex-1"},null)]),o("div",{class:"absolute top-[var(--logo-height)+1px] left-0 w-full h-[calc(100%-1px-var(--logo-height))] flex"},[o(qe,{class:"!h-full relative layout-border__right"},null),o("div",{class:["layout-content","h-[100%]",{"w-[calc(100%-var(--left-menu-min-width))] left-[var(--left-menu-min-width)]":D.value,"w-[calc(100%-var(--left-menu-max-width))] left-[var(--left-menu-max-width)]":!D.value}],style:"transition: all var(--transition-time-02);"},[te(o(fe,{class:["layout-content-scrollbar",{"!h-[calc(100%-var(--tags-view-height))] mt-[calc(var(--tags-view-height))]":B.value&&re.value}]},{default:()=>[re.value?o(De,{class:["layout-border__bottom absolute",{"!fixed top-0 left-0 z-10":B.value,"w-[calc(100%-var(--left-menu-min-width))] !left-[var(--left-menu-min-width)] mt-[calc(var(--logo-height)+1px)]":D.value&&B.value,"w-[calc(100%-var(--left-menu-max-width))] !left-[var(--left-menu-max-width)] mt-[calc(var(--logo-height)+1px)]":!D.value&&B.value}],style:"transition: width var(--transition-time-02), left var(--transition-time-02);"},null):void 0,o(He,null,null)]}),[[Te("loading"),Fe.value]])])])]),renderTop:()=>o(G,null,[o("div",{class:["flex items-center justify-between bg-[var(--top-header-bg-color)] relative",{"layout-border__bottom":!re.value}]},[ke.value?o(Ue,{class:"custom-hover"},null):void 0,o(qe,{class:"flex-1 px-10px h-[var(--top-tool-height)]"},null),o(Oe,null,null)]),o("div",{class:["layout-content","w-full",{"h-[calc(100%-var(--top-tool-height))]":!B.value,"h-[calc(100%-var(--tags-view-height)-var(--top-tool-height))]":B.value}]},[te(o(fe,{class:["layout-content-scrollbar",{"mt-[var(--tags-view-height)] !pb-[calc(var(--tags-view-height)+var(--app-footer-height))]":B.value,"pb-[var(--app-footer-height)]":!B.value}]},{default:()=>[re.value?o(De,{class:["layout-border__bottom layout-border__top relative",{"!fixed w-full top-[calc(var(--top-tool-height)+1px)] left-0":B.value}],style:"transition: width var(--transition-time-02), left var(--transition-time-02);"},null):void 0,o(He,null,null)]}),[[Te("loading"),Fe.value]])])]),renderCutMenu:()=>o(G,null,[o("div",{class:"flex items-center bg-[var(--top-header-bg-color)] relative layout-border__bottom"},[ke.value?o(Ue,{class:"custom-hover !pr-15px"},null):void 0,o(Oe,{class:"flex-1"},null)]),o("div",{class:"absolute top-[var(--logo-height)] left-0 w-[calc(100%-2px)] h-[calc(100%-var(--logo-height))] flex"},[o(go,null,null),o("div",{class:["layout-content","h-[100%]",{"w-[calc(100%-var(--tab-menu-min-width))] left-[var(--tab-menu-min-width)]":D.value&&!de.value,"w-[calc(100%-var(--tab-menu-max-width))] left-[var(--tab-menu-max-width)]":!D.value&&!de.value,"w-[calc(100%-var(--tab-menu-min-width)-var(--left-menu-max-width))] ml-[var(--left-menu-max-width)]":D.value&&de.value,"w-[calc(100%-var(--tab-menu-max-width)-var(--left-menu-max-width))] ml-[var(--left-menu-max-width)]":!D.value&&de.value}],style:"transition: all var(--transition-time-02);"},[te(o(fe,{class:["layout-content-scrollbar",{"!h-[calc(100%-var(--tags-view-height))] mt-[calc(var(--tags-view-height))]":B.value&&re.value}]},{default:()=>[re.value?o(De,{class:["relative layout-border__bottom layout-border__top",{"!fixed top-0 left-0 z-10":B.value,"w-[calc(100%-var(--tab-menu-min-width))] !left-[var(--tab-menu-min-width)] mt-[var(--logo-height)]":D.value&&B.value,"w-[calc(100%-var(--tab-menu-max-width))] !left-[var(--tab-menu-max-width)] mt-[var(--logo-height)]":!D.value&&B.value,"!fixed top-0 !left-[var(--tab-menu-min-width)+var(--left-menu-max-width)] z-10":B.value&&de.value,"w-[calc(100%-var(--tab-menu-min-width)-var(--left-menu-max-width))] !left-[var(--tab-menu-min-width)+var(--left-menu-max-width)] mt-[var(--logo-height)]":D.value&&B.value&&de.value,"w-[calc(100%-var(--tab-menu-max-width)-var(--left-menu-max-width))] !left-[var(--tab-menu-max-width)+var(--left-menu-max-width)] mt-[var(--logo-height)]":!D.value&&B.value&&de.value}],style:"transition: width var(--transition-time-02), left var(--transition-time-02);"},null):void 0,o(He,null,null)]}),[[Te("loading"),Fe.value]])])])])}),Ze=W(),sa=h(()=>Ze.getMobile),ra=h(()=>Ze.getCollapse),At=h(()=>Ze.getLayout),ia=h(()=>!1),ua=()=>{Ze.setCollapse(!0)},ca=()=>{switch(t(At)){case"classic":{const{renderClassic:s}=Ee();return s()}case"topLeft":{const{renderTopLeft:s}=Ee();return s()}case"top":{const{renderTop:s}=Ee();return s()}case"cutMenu":{const{renderCutMenu:s}=Ee();return s()}}},da=R({name:"Layout",setup(){return()=>o("section",{class:["layout",`layout__${At.value}`,"w-[100%] h-[100%] relative"]},[sa.value&&!ra.value?o("div",{class:"absolute top-0 left-0 w-full h-full opacity-30 z-99 bg-[var(--el-color-black)]",onClick:ua},null):void 0,ca(),o(Ll,null,null),!t(ia)&&o(no,null,null)])}}),Ka=J(da,[["__scopeId","data-v-786b8344"]]);export{Ka as default}; diff --git a/assets/Layout-Dyynae5W.js b/assets/Layout-Dyynae5W.js deleted file mode 100644 index bf73191c..00000000 --- a/assets/Layout-Dyynae5W.js +++ /dev/null @@ -1,65 +0,0 @@ -var Ht=Object.defineProperty,Ot=Object.defineProperties;var Ft=Object.getOwnPropertyDescriptors;var _t=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable;var yt=(s,l,e)=>l in s?Ht(s,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[l]=e,ee=(s,l)=>{for(var e in l||(l={}))Et.call(l,e)&&yt(s,e,l[e]);if(_t)for(var e of _t(l))qt.call(l,e)&&yt(s,e,l[e]);return s},fe=(s,l)=>Ot(s,Ft(l));var se=(s,l,e)=>new Promise((c,a)=>{var r=f=>{try{u(e.next(f))}catch(v){a(v)}},i=f=>{try{u(e.throw(f))}catch(v){a(v)}},u=f=>f.done?c(f.value):Promise.resolve(f.value).then(r,i);u((e=e.apply(s,l)).next())});import{p as Je,u as W,w as Ve,x as Nt,y as Ct,z as kt,A as Vt,g as Wt,B as Qe,C as ie,c as Ye,E as lt,F as Gt,G as Kt,b as Jt}from"./index-DHbc4UQl.js";import{am as Qt,Q as F,E as Ne,q as ce,a9 as Yt,u as Tt,an as Xt,ao as Zt,ap as el,f as pe,aq as tl,d as We,ar as ll,ab as ot,ac as Se,aa as at,as as St,at as ol,au as al,av as nl,A as sl,aw as rl,ax as il,ay as ul}from"./element-plus-CUBv5pjL.js";import{y as R,z as k,K as N,J as P,u as t,r as b,w as le,A as z,I as G,a3 as Xe,R as cl,H as ue,c as g,D as d,O as o,L as _,a4 as U,aA as $e,a8 as It,W as Ge,o as nt,T as te,ap as Te,Q as E,B as dl,ae as st,P as pl,n as fl,aF as ml,M as vl,aw as gl,ab as hl,U as Ae,V as Pt,a0 as xl,al as wl}from"./vue-chunks-ChjHxF1G.js";import{I as K,_ as J}from"./Icon-CdhVCYkm.js";/* empty css *//* empty css */import{T as bl}from"./ThemeSwitch-Ct6XHugw.js";import{F as _l}from"./Form-Cq-QZJdy.js";import{_ as me}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css */import{a as yl,f as Cl,b as kl}from"./tree-Dgaev6Pi.js";/* empty css */import{u as Vl}from"./useTagsView-CijhIO7t.js";import{_ as Tl}from"./logo-CqD-cdkl.js";import{_ as rt}from"./avatar-CIGAabYz.js";import{_ as Sl}from"./Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js";import{u as $l}from"./useForm-B1_iUn_7.js";import{u as Ml}from"./useValidator-Nt61Jv1p.js";import"./useIcon-CKHK9-or.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */const Ll=R({__name:"Backtop",setup(s){return(l,e)=>(k(),N(t(Qt),{class:P("backtop-backtop"),target:".layout-content-scrollbar .el-scrollbar__wrap"}))}}),Il={class:"color-radio-picker flex flex-wrap space-x-14px"},Pl=["onClick"],Rl=R({__name:"ColorRadioPicker",props:{schema:{type:Array,default:()=>[]},modelValue:Je.string.def("")},emits:["update:modelValue","change"],setup(s,{emit:l}){const e=s,c=l,a=b(e.modelValue);return le(()=>e.modelValue,r=>{r!==t(a)&&(a.value=r)}),le(()=>a.value,r=>{c("update:modelValue",r),c("change",r)}),(r,i)=>{const u=K;return k(),z("div",Il,[(k(!0),z(G,null,Xe(s.schema,(f,v)=>(k(),z("span",{key:`radio-${v}`,class:P(["w-20px h-20px cursor-pointer rounded-2px border-solid border-gray-300 border-2px text-center leading-20px mb-5px",{"is-active":a.value===f}]),style:cl({background:f}),onClick:x=>a.value=f},[a.value===f?(k(),N(u,{key:0,color:"#fff",icon:"ep:check",size:16})):ue("",!0)],14,Pl))),128))])}}}),tt=J(Rl,[["__scopeId","data-v-79c0f447"]]),Bl={class:"interface-display"},zl={class:"flex justify-between items-center"},jl={class:"flex justify-between items-center"},Al={class:"flex justify-between items-center"},Dl={class:"flex justify-between items-center"},Ul={class:"flex justify-between items-center"},Hl={class:"flex justify-between items-center"},Ol={class:"flex justify-between items-center"},Fl={class:"flex justify-between items-center"},El={class:"flex justify-between items-center"},ql={class:"flex justify-between items-center"},Nl={class:"flex justify-between items-center"},Wl={class:"flex justify-between items-center"},Gl={class:"flex justify-between items-center"},Kl={class:"flex justify-between items-center"},Jl={class:"flex justify-between items-center"},Ql={class:"flex justify-between items-center"},Yl=R({__name:"InterfaceDisplay",setup(s){const l=W(),e=b(l.getBreadcrumb),c=w=>{l.setBreadcrumb(w)},a=b(l.getBreadcrumbIcon),r=w=>{l.setBreadcrumbIcon(w)},i=b(l.getHamburger),u=w=>{l.setHamburger(w)},f=b(l.getScreenfull),v=w=>{l.setScreenfull(w)},x=b(l.getSize),y=w=>{l.setSize(w)},V=b(l.getLocale),A=w=>{l.setLocale(w)},m=b(l.getTagsView),n=w=>{Ve("--tags-view-height",w?"35px":"0px"),l.setTagsView(w)},h=b(l.getTagsViewIcon),$=w=>{l.setTagsViewIcon(w)},M=b(l.getLogo),q=w=>{l.setLogo(w)},S=b(l.getUniqueOpened),H=w=>{l.setUniqueOpened(w)},ae=b(l.getFixedHeader),Le=w=>{l.setFixedHeader(w)},ve=b(l.getFooter),ge=w=>{l.setFooter(w)},he=b(l.getGreyMode),Ie=w=>{l.setGreyMode(w)},Pe=b(!!l.getDynamicRouter),Re=w=>{Ne.info("请重新退出登录体验"),l.setDynamicRouter(w)},Be=b(l.getServerDynamicRouter),ze=w=>{Ne.info("请重新退出登录体验"),l.setServerDynamicRouter(w)},xe=b(l.getFixedMenu),et=w=>{l.setFixedMenu(w)},we=g(()=>l.getLayout);return le(()=>we.value,w=>{w==="top"&&l.setCollapse(!1)}),(w,p)=>(k(),z("div",Bl,[d("div",zl,[p[16]||(p[16]=d("span",{class:"text-14px"},"面包屑",-1)),o(t(F),{modelValue:e.value,"onUpdate:modelValue":p[0]||(p[0]=T=>e.value=T),onChange:c},null,8,["modelValue"])]),d("div",jl,[p[17]||(p[17]=d("span",{class:"text-14px"},"面包屑图标",-1)),o(t(F),{modelValue:a.value,"onUpdate:modelValue":p[1]||(p[1]=T=>a.value=T),onChange:r},null,8,["modelValue"])]),d("div",Al,[p[18]||(p[18]=d("span",{class:"text-14px"},"折叠图标",-1)),o(t(F),{modelValue:i.value,"onUpdate:modelValue":p[2]||(p[2]=T=>i.value=T),onChange:u},null,8,["modelValue"])]),d("div",Dl,[p[19]||(p[19]=d("span",{class:"text-14px"},"全屏图标",-1)),o(t(F),{modelValue:f.value,"onUpdate:modelValue":p[3]||(p[3]=T=>f.value=T),onChange:v},null,8,["modelValue"])]),d("div",Ul,[p[20]||(p[20]=d("span",{class:"text-14px"},"尺寸图标",-1)),o(t(F),{modelValue:x.value,"onUpdate:modelValue":p[4]||(p[4]=T=>x.value=T),onChange:y},null,8,["modelValue"])]),d("div",Hl,[p[21]||(p[21]=d("span",{class:"text-14px"},"多语言图标",-1)),o(t(F),{modelValue:V.value,"onUpdate:modelValue":p[5]||(p[5]=T=>V.value=T),onChange:A},null,8,["modelValue"])]),d("div",Ol,[p[22]||(p[22]=d("span",{class:"text-14px"},"标签页",-1)),o(t(F),{modelValue:m.value,"onUpdate:modelValue":p[6]||(p[6]=T=>m.value=T),onChange:n},null,8,["modelValue"])]),d("div",Fl,[p[23]||(p[23]=d("span",{class:"text-14px"},"标签页图标",-1)),o(t(F),{modelValue:h.value,"onUpdate:modelValue":p[7]||(p[7]=T=>h.value=T),onChange:$},null,8,["modelValue"])]),d("div",El,[p[24]||(p[24]=d("span",{class:"text-14px"},"Logo",-1)),o(t(F),{modelValue:M.value,"onUpdate:modelValue":p[8]||(p[8]=T=>M.value=T),onChange:q},null,8,["modelValue"])]),d("div",ql,[p[25]||(p[25]=d("span",{class:"text-14px"},"菜单手风琴",-1)),o(t(F),{modelValue:S.value,"onUpdate:modelValue":p[9]||(p[9]=T=>S.value=T),onChange:H},null,8,["modelValue"])]),d("div",Nl,[p[26]||(p[26]=d("span",{class:"text-14px"},"固定头部",-1)),o(t(F),{modelValue:ae.value,"onUpdate:modelValue":p[10]||(p[10]=T=>ae.value=T),onChange:Le},null,8,["modelValue"])]),d("div",Wl,[p[27]||(p[27]=d("span",{class:"text-14px"},"页脚",-1)),o(t(F),{modelValue:ve.value,"onUpdate:modelValue":p[11]||(p[11]=T=>ve.value=T),onChange:ge},null,8,["modelValue"])]),d("div",Gl,[p[28]||(p[28]=d("span",{class:"text-14px"},"灰色模式",-1)),o(t(F),{modelValue:he.value,"onUpdate:modelValue":p[12]||(p[12]=T=>he.value=T),onChange:Ie},null,8,["modelValue"])]),d("div",Kl,[p[29]||(p[29]=d("span",{class:"text-14px"},"开启动态路由",-1)),o(t(F),{modelValue:Pe.value,"onUpdate:modelValue":p[13]||(p[13]=T=>Pe.value=T),onChange:Re},null,8,["modelValue"])]),d("div",Jl,[p[30]||(p[30]=d("span",{class:"text-14px"},"服务端动态路由",-1)),o(t(F),{modelValue:Be.value,"onUpdate:modelValue":p[14]||(p[14]=T=>Be.value=T),onChange:ze},null,8,["modelValue"])]),d("div",Ql,[p[31]||(p[31]=d("span",{class:"text-14px"},"固定菜单",-1)),o(t(F),{modelValue:xe.value,"onUpdate:modelValue":p[15]||(p[15]=T=>xe.value=T),onChange:et},null,8,["modelValue"])])]))}}),Xl={class:"layout-radio-picker flex flex-wrap space-x-14px"},Zl=R({__name:"LayoutRadioPicker",setup(s){const l=W(),e=g(()=>l.getLayout);return(c,a)=>(k(),z("div",Xl,[d("div",{class:P(["layout-radio-picker__classic","relative w-56px h-48px cursor-pointer bg-gray-300",{"is-acitve":e.value==="classic"}]),onClick:a[0]||(a[0]=r=>t(l).setLayout("classic"))},null,2),d("div",{class:P(["layout-radio-picker__top-left","relative w-56px h-48px cursor-pointer bg-gray-300",{"is-acitve":e.value==="topLeft"}]),onClick:a[1]||(a[1]=r=>t(l).setLayout("topLeft"))},null,2),d("div",{class:P(["layout-radio-picker__top","relative w-56px h-48px cursor-pointer bg-gray-300",{"is-acitve":e.value==="top"}]),onClick:a[2]||(a[2]=r=>t(l).setLayout("top"))},null,2),d("div",{class:P(["layout-radio-picker__cut-menu","relative w-56px h-48px cursor-pointer bg-gray-300",{"is-acitve":e.value==="cutMenu"}]),onClick:a[3]||(a[3]=r=>t(l).setLayout("cutMenu"))},a[4]||(a[4]=[d("div",{class:"absolute h-full w-[33%] top-0 left-[10%] bg-gray-200"},null,-1)]),2)]))}}),eo=J(Zl,[["__scopeId","data-v-f0593eff"]]),to=s=>Object.prototype.toString.call(s).slice(8,-1),Rt=(s="sessionStorage")=>({setStorage:(r,i)=>{const u=to(i);window[s].setItem(r,JSON.stringify({type:u,value:i}))},getStorage:r=>{const i=window[s].getItem(r);if(i){const{value:u}=JSON.parse(i);return u}else return i},removeStorage:r=>{window[s].removeItem(r)},clear:r=>{const i=Object.keys(window[s]),u=["dynamicRouter","serverDynamicRouter"],f=r?[...r,...u]:u;(f?i.filter(x=>!f.includes(x)):i).forEach(x=>{window[s].removeItem(x)})}}),lo={class:"text-center"},oo={class:"mt-5px"},ao=R({__name:"Setting",setup(s){const{clear:l}=Rt("localStorage"),e=W(),c=g(()=>e.getLayout),a=b(!1),r=b(e.getTheme.elColorPrimary),i=m=>{Ve("--el-color-primary",m),e.setTheme({elColorPrimary:m});const n=Tt("--left-menu-bg-color",document.documentElement);x(Nt(t(n)))},u=b(e.getTheme.topHeaderBgColor||""),f=m=>{const n=Ct(m),h=n?"#fff":"inherit",$=n?kt(m,6):"#f6f6f6",M=n?m:"#eee";Ve("--top-header-bg-color",m),Ve("--top-header-text-color",h),Ve("--top-header-hover-color",$),e.setTheme({topHeaderBgColor:m,topHeaderTextColor:h,topHeaderHoverColor:$,topToolBorderColor:M}),t(c)==="top"&&x(m)},v=b(e.getTheme.leftMenuBgColor||""),x=m=>{const n=Tt("--el-color-primary",document.documentElement),h=Ct(m),$={leftMenuBorderColor:h?"inherit":"#eee",leftMenuBgColor:m,leftMenuBgLightColor:h?kt(m,6):m,leftMenuBgActiveColor:h?"var(--el-color-primary)":Vt(t(n),.1),leftMenuCollapseBgActiveColor:h?"var(--el-color-primary)":Vt(t(n),.1),leftMenuTextColor:h?"#bfcbd9":"#333",leftMenuTextActiveColor:h?"#fff":"var(--el-color-primary)",logoTitleTextColor:h?"#fff":"inherit",logoBorderColor:h?m:"#eee"};e.setTheme($),e.setCssVarTheme()},y=()=>se(this,null,function*(){const{copy:m,copied:n,isSupported:h}=Xt({source:` - // 面包屑 - breadcrumb: ${e.getBreadcrumb}, - // 面包屑图标 - breadcrumbIcon: ${e.getBreadcrumbIcon}, - // 折叠图标 - hamburger: ${e.getHamburger}, - // 全屏图标 - screenfull: ${e.getScreenfull}, - // 尺寸图标 - size: ${e.getSize}, - // 多语言图标 - locale: ${e.getLocale}, - // 标签页 - tagsView: ${e.getTagsView}, - // 标签页图标 - getTagsViewIcon: ${e.getTagsViewIcon}, - // logo - logo: ${e.getLogo}, - // 菜单手风琴 - uniqueOpened: ${e.getUniqueOpened}, - // 固定header - fixedHeader: ${e.getFixedHeader}, - // 页脚 - footer: ${e.getFooter}, - // 灰色模式 - greyMode: ${e.getGreyMode}, - // layout布局 - layout: '${e.getLayout}', - // 暗黑模式 - isDark: ${e.getIsDark}, - // 组件尺寸 - currentSize: '${e.getCurrentSize}', - // 主题相关 - theme: { - // 主题色 - elColorPrimary: '${e.getTheme.elColorPrimary}', - // 左侧菜单边框颜色 - leftMenuBorderColor: '${e.getTheme.leftMenuBorderColor}', - // 左侧菜单背景颜色 - leftMenuBgColor: '${e.getTheme.leftMenuBgColor}', - // 左侧菜单浅色背景颜色 - leftMenuBgLightColor: '${e.getTheme.leftMenuBgLightColor}', - // 左侧菜单选中背景颜色 - leftMenuBgActiveColor: '${e.getTheme.leftMenuBgActiveColor}', - // 左侧菜单收起选中背景颜色 - leftMenuCollapseBgActiveColor: '${e.getTheme.leftMenuCollapseBgActiveColor}', - // 左侧菜单字体颜色 - leftMenuTextColor: '${e.getTheme.leftMenuTextColor}', - // 左侧菜单选中字体颜色 - leftMenuTextActiveColor: '${e.getTheme.leftMenuTextActiveColor}', - // logo字体颜色 - logoTitleTextColor: '${e.getTheme.logoTitleTextColor}', - // logo边框颜色 - logoBorderColor: '${e.getTheme.logoBorderColor}', - // 头部背景颜色 - topHeaderBgColor: '${e.getTheme.topHeaderBgColor}', - // 头部字体颜色 - topHeaderTextColor: '${e.getTheme.topHeaderTextColor}', - // 头部悬停颜色 - topHeaderHoverColor: '${e.getTheme.topHeaderHoverColor}', - // 头部边框颜色 - topToolBorderColor: '${e.getTheme.topToolBorderColor}' - } - `,legacy:!0});h?(yield m(),t(n)&&Ne.success("拷贝成功")):Ne.error("拷贝失败")}),V=()=>{l(),window.location.reload()},A=()=>{const m=Wt("--el-bg-color");x(m),f(m)};return(m,n)=>{const h=K;return k(),z(G,null,[d("div",{class:"setting fixed top-[45%] right-0 w-40px h-40px flex items-center justify-center bg-[var(--el-color-primary)] cursor-pointer z-10",onClick:n[0]||(n[0]=$=>a.value=!0)},[o(h,{icon:"ant-design:setting-outlined",color:"#fff"})]),o(t(Yt),{modelValue:a.value,"onUpdate:modelValue":n[4]||(n[4]=$=>a.value=$),direction:"rtl",size:"350px","z-index":4e3},{header:_(()=>n[5]||(n[5]=[d("span",{class:"text-16px font-700"},"项目配置",-1)])),default:_(()=>[d("div",lo,[o(t(ce),null,{default:_(()=>n[6]||(n[6]=[U("主题")])),_:1}),o(t(bl),{onChange:A}),o(t(ce),null,{default:_(()=>n[7]||(n[7]=[U("布局")])),_:1}),o(eo),o(t(ce),null,{default:_(()=>n[8]||(n[8]=[U("系统主题")])),_:1}),o(tt,{modelValue:r.value,"onUpdate:modelValue":n[1]||(n[1]=$=>r.value=$),schema:["#409eff","#009688","#536dfe","#ff5c93","#ee4f12","#0096c7","#9c27b0","#ff9800"],onChange:i},null,8,["modelValue"]),o(t(ce),null,{default:_(()=>n[9]||(n[9]=[U("头部主题")])),_:1}),o(tt,{modelValue:u.value,"onUpdate:modelValue":n[2]||(n[2]=$=>u.value=$),schema:["#fff","#151515","#5172dc","#e74c3c","#24292e","#394664","#009688","#383f45"],onChange:f},null,8,["modelValue"]),c.value!=="top"?(k(),z(G,{key:0},[o(t(ce),null,{default:_(()=>n[10]||(n[10]=[U("菜单主题")])),_:1}),o(tt,{modelValue:v.value,"onUpdate:modelValue":n[3]||(n[3]=$=>v.value=$),schema:["#fff","#001529","#212121","#273352","#191b24","#383f45","#001628","#344058"],onChange:x},null,8,["modelValue"])],64)):ue("",!0)]),o(t(ce),null,{default:_(()=>n[11]||(n[11]=[U("界面显示")])),_:1}),o(Yl),o(t(ce)),d("div",null,[o(t(me),{type:"primary",class:"w-full",onClick:y},{default:_(()=>n[12]||(n[12]=[U("拷贝")])),_:1})]),d("div",oo,[o(t(me),{type:"danger",class:"w-full",onClick:V},{default:_(()=>n[13]||(n[13]=[U(" 清除缓存并且重置 ")])),_:1})])]),_:1},8,["modelValue"])],64)}}}),no=J(ao,[["__scopeId","data-v-57aaa342"]]),so=(s,l)=>(yl(s,c=>c.path===l)||[]).map(c=>c.path),ro=(s=[],l)=>{const e=b(),c=s.filter(a=>{var i;return((i=a.meta)!=null?i:{}).hidden?!1:(e.value=a,!0)});return c.length===1?{oneShowingChild:!0,onlyOneChild:t(e)}:c.length?{oneShowingChild:!1,onlyOneChild:t(e)}:(e.value=fe(ee({},l),{path:"",noShowingChildren:!0}),{oneShowingChild:!0,onlyOneChild:t(e)})},io=()=>({renderMenuTitle:l=>{const{title:e="请设置标题",icon:c}=l;return c?o(G,null,[o(K,{icon:l.icon},null),o("span",{class:"v-menu__title overflow-hidden overflow-ellipsis whitespace-nowrap"},[e])]):o("span",{class:"v-menu__title overflow-hidden overflow-ellipsis whitespace-nowrap"},[e])}}),{renderMenuTitle:$t}=io(),uo=s=>{const l=(e,c="/")=>e.filter(a=>{var r;return!((r=a.meta)!=null&&r.hidden)}).map(a=>{var v;const r=(v=a.meta)!=null?v:{},{oneShowingChild:i,onlyOneChild:u}=ro(a.children,a),f=Qe(a.path)?a.path:ie(c,a.path);return i&&(!(u!=null&&u.children)||u!=null&&u.noShowingChildren)&&!(r!=null&&r.alwaysShow)?o(Zt,{index:u?ie(f,u.path):f},{default:()=>$t(u?u==null?void 0:u.meta:r)}):o(el,{index:f,teleported:!0,popperClass:s==="vertical"?"submenu-popper--vertical":"submenu-popper--horizontal"},{title:()=>$t(r),default:()=>l(a.children,f)})});return{renderMenuItem:l}};function co(s){return typeof s=="function"||Object.prototype.toString.call(s)==="[object Object]"&&!It(s)}const po=R({name:"Menu",props:{menuSelect:{type:Function,default:void 0}},setup(s){const l=W(),e=g(()=>l.getLayout),{push:c,currentRoute:a}=$e(),r=Ye(),i=g(()=>["classic","topLeft","cutMenu"].includes(t(e))?"vertical":"horizontal"),u=g(()=>t(e)==="cutMenu"?r.getMenuTabRouters:r.getRouters),f=g(()=>l.getCollapse),v=g(()=>l.getUniqueOpened),x=g(()=>{const{meta:m,path:n}=t(a);return m.activeMenu?m.activeMenu:n}),y=m=>{s.menuSelect&&s.menuSelect(m),Qe(m)?window.open(m):c(m)},V=()=>{if(t(e)==="top")return A();{let m;return o(pe,null,co(m=A())?m:{default:()=>[m]})}},A=()=>o(tl,{defaultActive:t(x),mode:t(i),collapse:t(e)==="top"||t(e)==="cutMenu"?!1:t(f),uniqueOpened:t(e)==="top"?!1:t(v),backgroundColor:"var(--left-menu-bg-color)",textColor:"var(--left-menu-text-color)",activeTextColor:"var(--left-menu-text-active-color)",onSelect:y},{default:()=>{const{renderMenuItem:m}=uo(t(i));return m(t(u))}});return()=>o("div",{id:"menu",class:[`menu menu__${t(i)}`,"h-[100%] overflow-hidden flex-col bg-[var(--left-menu-bg-color)]",{"w-[var(--left-menu-min-width)]":t(f)&&t(e)!=="cutMenu","w-[var(--left-menu-max-width)]":!t(f)&&t(e)!=="cutMenu"}]},[V()])}}),qe=J(po,[["__scopeId","data-v-b6e6745e"]]),Ke=Ge({}),fo=s=>{var l;for(const e of s){const c=(l=e.meta)!=null?l:{};c!=null&&c.hidden||(Ke[e.path]=[])}},Bt=(s,l)=>{var c;const e=[];for(const a of s){let r=null;const i=(c=a.meta)!=null?c:{};if(!i.hidden||i.canTo){const u=so(l,a.path),f=Qe(a.path)?a.path:u.join("/");r=We(a),r.path=f,a.children&&r&&(r.children=Bt(a.children,l)),r&&e.push(r),u.length&&Reflect.has(Ke,u[0])&&Ke[u[0]].push(f)}}return e},mo=R({name:"TabMenu",directives:{ClickOutside:ll},setup(){const{push:s,currentRoute:l}=$e(),e=W(),c=g(()=>e.getCollapse),a=g(()=>e.getFixedMenu),r=Ye(),i=g(()=>r.getRouters),u=g(()=>t(i).filter(n=>{var h;return!((h=n==null?void 0:n.meta)!=null&&h.hidden)})),f=()=>{e.setCollapse(!t(c))};nt(()=>{var n;if(t(a)){const h=`/${t(l).path.split("/")[1]}`,$=(n=t(u).find(M=>{var q,S,H;return(((q=M.meta)==null?void 0:q.alwaysShow)||((S=M==null?void 0:M.children)==null?void 0:S.length)&&((H=M==null?void 0:M.children)==null?void 0:H.length)>1)&&M.path===h}))==null?void 0:n.children;y.value=h,$&&r.setMenuTabRouters(We($).map(M=>(M.path=ie(t(y),M.path),M)))}}),le(()=>i.value,n=>{fo(n),Bt(n,n)},{immediate:!0,deep:!0});const v=b(!0);le(()=>c.value,n=>{n?v.value=!n:setTimeout(()=>{v.value=!n},200)});const x=b(!!t(a)),y=b(""),V=n=>{if(Qe(n.path)){window.open(n.path);return}const h=n.children?n.path:n.path.split("/")[0],$=t(y);y.value=n.children?n.path:n.path.split("/")[0],n.children?((h===$||!t(x))&&(x.value=!t(x)),t(x)&&r.setMenuTabRouters(We(n.children).map(M=>(M.path=ie(t(y),M.path),M)))):(s(n.path),r.setMenuTabRouters([]),x.value=!1)},A=n=>{const{path:h}=t(l);return!!Ke[n].includes(h)},m=()=>{t(a)||(x.value=!1)};return()=>te(o("div",{id:"menu",class:["tab-menu","relative bg-[var(--left-menu-bg-color)] top-1px layout-border__right",{"w-[var(--tab-menu-max-width)]":!t(c),"w-[var(--tab-menu-min-width)]":t(c)}]},[o(pe,{class:"!h-[calc(100%-var(--tab-menu-collapse-height)-1px)]"},{default:()=>[o("div",null,{default:()=>t(u).map(n=>{var $,M,q,S,H,ae;const h=($=n.meta)!=null&&$.alwaysShow||(M=n==null?void 0:n.children)!=null&&M.length&&((q=n==null?void 0:n.children)==null?void 0:q.length)>1?n:fe(ee({},(n==null?void 0:n.children)&&(n==null?void 0:n.children[0])),{path:ie(n.path,(S=(n==null?void 0:n.children)&&(n==null?void 0:n.children[0]))==null?void 0:S.path)});return o("div",{class:["tab-menu__item","text-center text-12px relative py-12px cursor-pointer",{"is-active":A(n.path)}],onClick:()=>{V(h)}},[o("div",null,[o(K,{icon:(H=h==null?void 0:h.meta)==null?void 0:H.icon},null)]),t(v)?o("p",{class:"break-words mt-5px px-2px"},[((ae=h.meta)==null?void 0:ae.title)||""]):void 0])})})]}),o("div",{class:["tab-menu--collapse","text-center h-[var(--tab-menu-collapse-height)] leading-[var(--tab-menu-collapse-height)] cursor-pointer"],onClick:f},[o(K,{icon:t(c)?"ep:d-arrow-right":"ep:d-arrow-left"},null)]),o(qe,{class:["!absolute top-0 z-3000",{"!left-[var(--tab-menu-min-width)]":t(c),"!left-[var(--tab-menu-max-width)]":!t(c),"!w-[var(--left-menu-max-width)]":t(x)||t(a),"!w-0":!t(x)&&!t(a)}],style:"transition: width var(--transition-time-02), left var(--transition-time-02);"},null)]),[[Te("click-outside"),m]])}}),vo=J(mo,[["__scopeId","data-v-6af19399"]]),zt=(s,l="")=>{let e=[];return s.forEach(c=>{var i;const a=(i=c.meta)!=null?i:{},r=ie(l,c.path);if(a!=null&&a.affix&&e.push(fe(ee({},c),{path:r,fullPath:r})),c.children){const u=zt(c.children,r);u.length>=1&&(e=[...e,...u])}}),e},Mt=R({__name:"ContextMenu",props:{schema:{type:Array,default:()=>[]},trigger:{type:String,default:"contextmenu"},tagItem:{type:Object,default:()=>({})}},emits:["visibleChange"],setup(s,{expose:l,emit:e}){const c=e,a=s,r=f=>{f.command&&f.command(f)},i=f=>{c("visibleChange",f,a.tagItem)},u=b(null);return l({elDropdownMenuRef:u,tagItem:a.tagItem}),(f,v)=>{const x=K;return k(),N(t(at),{ref_key:"elDropdownMenuRef",ref:u,class:"context-menu",trigger:s.trigger,placement:"bottom-start",onCommand:r,onVisibleChange:i,"popper-class":"v-context-menu-popper"},{dropdown:_(()=>[o(t(ot),null,{default:_(()=>[(k(!0),z(G,null,Xe(s.schema,(y,V)=>(k(),N(t(Se),{key:`dropdown${V}`,divided:y.divided,disabled:y.disabled,command:y},{default:_(()=>[o(x,{icon:y.icon},null,8,["icon"]),U(" "+E(y.label),1)]),_:2},1032,["divided","disabled","command"]))),128))]),_:1})]),default:_(()=>[dl(f.$slots,"default")]),_:3},8,["trigger"])}}}),go=(s,l,e,c)=>(s/=c/2,s<1?e/2*s*s+l:(s--,-e/2*(s*(s-2)-1)+l)),ho=(s,l,e)=>{s[l]=e};function Ce({el:s,position:l="scrollLeft",to:e,duration:c=500,callback:a}){const r=b(!1),i=s[l],u=e-i,f=20;let v=0;function x(){if(!t(r))return;v+=f;const A=go(v,i,u,c);ho(s,l,A),vv.getRouters),y=lt(),V=g(()=>y.getVisitedViews),A=b([]),m=g(()=>y.getSelectedTag),n=y.setSelectedTag,h=W(),$=g(()=>h.getTagsViewIcon),M=g(()=>h.getIsDark),q=()=>{A.value=zt(t(x));for(const C of t(A))C.name&&y.addVisitedView(We(C))},S=()=>{const{name:C}=t(l);C&&(n(t(l)),y.addView(t(l)))},H=C=>{u(C,()=>{ze(C)&&ae()})},ae=()=>{const I=y.getVisitedViews.slice(-1)[0];if(I)e(I);else{if(t(l).path===v.getAddRouters[0].path||t(l).path===v.getAddRouters[0].redirect){S();return}e(v.getAddRouters[0].path)}},Le=()=>{c(()=>{ae()})},ve=()=>{i()},ge=C=>se(this,null,function*(){f(C)}),he=()=>{a()},Ie=()=>{r()},Pe=()=>se(this,null,function*(){yield fl();for(const C of t(V))if(C.fullPath===t(l).path){Be(C),C.fullPath!==t(l).fullPath&&y.updateVisitedView(t(l));break}}),Re=St(),Be=C=>{var ne;const I=(ne=t(we))==null?void 0:ne.wrapRef;let j=null,O=null;const Q=t(Re);if(Q.length>0&&(j=Q[0],O=Q[Q.length-1]),(j==null?void 0:j.to).fullPath===C.fullPath){const{start:Z}=Ce({el:I,position:"scrollLeft",to:0,duration:500});Z()}else if((O==null?void 0:O.to).fullPath===C.fullPath){const{start:Z}=Ce({el:I,position:"scrollLeft",to:I.scrollWidth-I.offsetWidth,duration:500});Z()}else{const Z=Q.findIndex(Y=>(Y==null?void 0:Y.to).fullPath===C.fullPath),be=document.getElementsByClassName("tags-view__item"),je=be[Z-1],_e=be[Z+1],L=_e.offsetLeft+_e.offsetWidth+4,ye=je.offsetLeft-4;if(L>t(w)+I.offsetWidth){const{start:Y}=Ce({el:I,position:"scrollLeft",to:L-I.offsetWidth,duration:500});Y()}else if(yeC.path===t(l).path,xe=St(),et=(C,I)=>{if(C)for(const j of t(xe)){const O=j.elDropdownMenuRef;I.fullPath!==j.tagItem.fullPath&&(O==null||O.handleClose(),n(I))}},we=b(),w=b(0),p=({scrollLeft:C})=>{w.value=C},T=C=>{var O;const I=(O=t(we))==null?void 0:O.wrapRef,{start:j}=Ce({el:I,position:"scrollLeft",to:t(w)+C,duration:500});j()},Dt=C=>{var I,j,O,Q,ne;return!!((O=(j=(I=C==null?void 0:C.matched)==null?void 0:I[1])==null?void 0:j.meta)!=null&&O.icon&&t($)||(Q=C==null?void 0:C.meta)!=null&&Q.affix&&t($)&&((ne=C==null?void 0:C.meta)!=null&&ne.icon))};return nt(()=>{q(),S()}),le(()=>l.value,()=>{S(),Pe()}),(C,I)=>{var Q,ne,Z,be,je,_e;const j=K,O=st("router-link");return k(),z("div",xo,[d("span",{class:P(["tags-view__tool tags-view__tool--first","w-[var(--tags-view-height)] h-[var(--tags-view-height)] flex items-center justify-center cursor-pointer"]),onClick:I[0]||(I[0]=L=>T(-200))},[o(j,{icon:"ep:d-arrow-left",color:"var(--el-text-color-placeholder)","hover-color":M.value?"#fff":"var(--el-color-black)"},null,8,["hover-color"])]),d("div",wo,[o(t(pe),{ref_key:"scrollbarRef",ref:we,class:"h-full",onScroll:p},{default:_(()=>[d("div",bo,[(k(!0),z(G,null,Xe(V.value,L=>{var ye,Y,ut,ct,dt,pt,ft,mt,vt;return k(),N(t(Mt),{ref_for:!0,ref:t(xe).set,schema:[{icon:"ant-design:sync-outlined",label:"重新加载",disabled:((ye=m.value)==null?void 0:ye.fullPath)!==L.fullPath,command:()=>{ge(L)}},{icon:"ant-design:close-outlined",label:"关闭标签页",disabled:!!((Y=V.value)!=null&&Y.length)&&((ut=m.value)==null?void 0:ut.meta.affix),command:()=>{H(L)}},{divided:!0,icon:"ant-design:vertical-right-outlined",label:"关闭左侧标签页",disabled:!!((ct=V.value)!=null&&ct.length)&&(L.fullPath===V.value[0].fullPath||((dt=m.value)==null?void 0:dt.fullPath)!==L.fullPath),command:()=>{he()}},{icon:"ant-design:vertical-left-outlined",label:"关闭右侧标签页",disabled:!!((pt=V.value)!=null&&pt.length)&&(L.fullPath===V.value[V.value.length-1].fullPath||((ft=m.value)==null?void 0:ft.fullPath)!==L.fullPath),command:()=>{Ie()}},{divided:!0,icon:"ant-design:tag-outlined",label:"关闭其它标签页",disabled:((mt=m.value)==null?void 0:mt.fullPath)!==L.fullPath,command:()=>{ve()}},{icon:"ant-design:line-outlined",label:"关闭全部标签页",command:()=>{Le()}}],key:L.fullPath,"tag-item":L,class:P(["tags-view__item",(vt=L==null?void 0:L.meta)!=null&&vt.affix?"tags-view__item--affix":"",{"is-active":ze(L)}]),onVisibleChange:et},{default:_(()=>[d("div",null,[o(O,{ref_for:!0,ref:t(Re).set,to:ee({},L),custom:""},{default:_(({navigate:Ut})=>{var gt,ht,xt,wt,bt;return[d("div",{onClick:Ut,class:"h-full flex justify-center items-center whitespace-nowrap pl-15px"},[Dt(L)?(k(),N(j,{key:0,icon:((xt=(ht=(gt=L==null?void 0:L.matched)==null?void 0:gt[1])==null?void 0:ht.meta)==null?void 0:xt.icon)||((wt=L==null?void 0:L.meta)==null?void 0:wt.icon),size:12,class:"mr-5px"},null,8,["icon"])):ue("",!0),U(" "+E((bt=L==null?void 0:L.meta)==null?void 0:bt.title)+" ",1),o(j,{class:P("tags-view__item--close"),color:"#333",icon:"ant-design:close-outlined",size:12,onClick:pl(da=>H(L),["prevent","stop"])},null,8,["onClick"])],8,_o)]}),_:2},1032,["to"])])]),_:2},1032,["schema","tag-item","class"])}),128))])]),_:1},512)]),d("span",{class:P(["tags-view__tool","w-[var(--tags-view-height)] h-[var(--tags-view-height)] flex items-center justify-center cursor-pointer"]),onClick:I[1]||(I[1]=L=>T(200))},[o(j,{icon:"ep:d-arrow-right",color:"var(--el-text-color-placeholder)","hover-color":M.value?"#fff":"var(--el-color-black)"},null,8,["hover-color"])]),d("span",{class:P(["tags-view__tool","w-[var(--tags-view-height)] h-[var(--tags-view-height)] flex items-center justify-center cursor-pointer"]),onClick:I[2]||(I[2]=L=>ge(m.value))},[o(j,{icon:"ant-design:reload-outlined",color:"var(--el-text-color-placeholder)","hover-color":M.value?"#fff":"var(--el-color-black)"},null,8,["hover-color"])]),o(t(Mt),{trigger:"click",schema:[{icon:"ant-design:sync-outlined",label:"重新加载",command:()=>{ge(m.value)}},{icon:"ant-design:close-outlined",label:"关闭标签页",disabled:!!((Q=V.value)!=null&&Q.length)&&((ne=m.value)==null?void 0:ne.meta.affix),command:()=>{H(m.value)}},{divided:!0,icon:"ant-design:vertical-right-outlined",label:"关闭左侧标签页",disabled:!!((Z=V.value)!=null&&Z.length)&&((be=m.value)==null?void 0:be.fullPath)===V.value[0].fullPath,command:()=>{he()}},{icon:"ant-design:vertical-left-outlined",label:"关闭右侧标签页",disabled:!!((je=V.value)!=null&&je.length)&&((_e=m.value)==null?void 0:_e.fullPath)===V.value[V.value.length-1].fullPath,command:()=>{Ie()}},{divided:!0,icon:"ant-design:tag-outlined",label:"关闭其它标签页",command:()=>{ve()}},{icon:"ant-design:line-outlined",label:"关闭全部标签页",command:()=>{Le()}}]},{default:_(()=>[d("span",{class:P(["tags-view__tool","w-[var(--tags-view-height)] h-[var(--tags-view-height)] flex items-center justify-center cursor-pointer block"])},[o(j,{icon:"ant-design:setting-outlined",color:"var(--el-text-color-placeholder)","hover-color":M.value?"#fff":"var(--el-color-black)"},null,8,["hover-color"])])]),_:1},8,["schema"])])}}}),De=J(yo,[["__scopeId","data-v-fe927eb3"]]),Ue=R({__name:"Logo",setup(s){const l=W(),e=b(!0),c=g(()=>l.getTitle),a=g(()=>l.getLayout),r=g(()=>l.getCollapse);return nt(()=>{t(r)&&(e.value=!1)}),le(()=>r.value,i=>{if(t(a)==="topLeft"||t(a)==="cutMenu"){e.value=!0;return}e.value=!i}),le(()=>a.value,i=>{i==="top"||i==="cutMenu"?e.value=!0:t(r)?e.value=!1:e.value=!0}),(i,u)=>{const f=st("router-link");return k(),z("div",null,[o(f,{class:P(["logo",a.value!=="classic"?"logo__Top":"","flex !h-[var(--logo-height)] items-center cursor-pointer pl-8px relative decoration-none overflow-hidden"]),to:"/"},{default:_(()=>[u[0]||(u[0]=d("img",{src:Tl,class:"w-[calc(var(--logo-height)-10px)] h-[calc(var(--logo-height)-10px)]"},null,-1)),e.value?(k(),z("div",{key:0,class:P(["ml-10px text-16px font-700",{"text-[var(--logo-title-text-color)]":a.value==="classic","text-[var(--top-header-text-color)]":a.value==="topLeft"||a.value==="top"||a.value==="cutMenu"}])},E(c.value),3)):ue("",!0)]),_:1},8,["class"])])}}}),Co={class:"footer text-center text-[var(--el-text-color-placeholder)] bg-[var(--app-content-bg-color)] h-[var(--app-footer-height)] leading-[var(--app-footer-height)] dark:bg-[var(--el-bg-color)]"},ko=R({__name:"Footer",setup(s){const l=W(),e=g(()=>l.getTitle);return(c,a)=>(k(),z("div",Co," Copyright ©2021-present "+E(e.value),1))}}),He=R({__name:"AppView",setup(s){const l=W(),e=g(()=>l.getLayout),c=g(()=>l.getFixedHeader),a=g(()=>l.getFooter),r=lt(),i=g(()=>r.getCachedViews),u=g(()=>l.getTagsView);return(f,v)=>{const x=st("router-view");return k(),z(G,null,[d("section",{class:P(["p-[var(--app-content-padding)] w-[calc(100%-var(--app-content-padding)-var(--app-content-padding))] bg-[var(--app-content-bg-color)] dark:bg-[var(--el-bg-color)]",{"!min-h-[calc(100%-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height))]":c.value&&(e.value==="classic"||e.value==="topLeft"||e.value==="top")&&a.value||!u.value&&e.value==="top"&&a.value,"!min-h-[calc(100%-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height)-var(--tags-view-height))]":u.value&&e.value==="top"&&a.value,"!min-h-[calc(100%-var(--tags-view-height)-var(--app-content-padding)-var(--app-content-padding)-var(--top-tool-height)-var(--app-footer-height))]":!c.value&&e.value==="classic"&&a.value,"!min-h-[calc(100%-var(--tags-view-height)-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height))]":!c.value&&e.value==="topLeft"&&a.value,"!min-h-[calc(100%-var(--app-footer-height)-var(--app-content-padding)-var(--app-content-padding))]":c.value&&e.value==="cutMenu"&&a.value,"!min-h-[calc(100%-var(--app-footer-height)-var(--app-content-padding)-var(--app-content-padding)-var(--tags-view-height))]":!c.value&&e.value==="cutMenu"&&a.value}])},[o(x,null,{default:_(({Component:y,route:V})=>[(k(),N(ml,{include:i.value},[(k(),N(vl(y),{key:V.fullPath}))],1032,["include"]))]),_:1})],2),a.value?(k(),N(t(ko),{key:0})):ue("",!0)],64)}}}),Vo=R({__name:"Collapse",props:{color:Je.string.def("")},setup(s){const l=W(),e=g(()=>l.getCollapse),c=()=>{const a=t(e);l.setCollapse(!a)};return(a,r)=>{const i=K;return k(),z("div",{class:"collapse",onClick:c},[o(i,{size:18,icon:e.value?"ant-design:menu-unfold-outlined":"ant-design:menu-fold-outlined",color:s.color,class:"cursor-pointer"},null,8,["icon","color"])])}}}),To=R({__name:"SizeDropdown",props:{color:Je.string.def("")},setup(s){const l=W(),e=g(()=>l.sizeMap),c=a=>{l.setCurrentSize(a)};return(a,r)=>{const i=K;return k(),N(t(at),{class:"size-dropdown",trigger:"click",onCommand:c},{dropdown:_(()=>[o(t(ot),null,{default:_(()=>[(k(!0),z(G,null,Xe(e.value,u=>(k(),N(t(Se),{key:u,command:u},{default:_(()=>[U(E(u),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:_(()=>[o(i,{size:18,icon:"mdi:format-size",color:s.color,class:"cursor-pointer"},null,8,["color"])]),_:1})}}}),it=gl("lock",{state:()=>({lockInfo:{}}),getters:{getLockInfo(){return this.lockInfo}},actions:{setLockInfo(s){this.lockInfo=s},resetLockInfo(){this.lockInfo={}},unLock(s){var l;return((l=this.lockInfo)==null?void 0:l.password)===s?(this.resetLockInfo(),!0):!1}},persist:!0}),So=R({__name:"LockDialog",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(s,{emit:l}){const{required:e}=Ml(),c=it(),a=s,r=l,i=g({get:()=>a.modelValue,set:n=>{r("update:modelValue",n)}}),u=b("锁定屏幕"),f=Ge({password:[e()]}),v=Ge([{label:"锁屏密码",field:"password",component:"Input",componentProps:{type:"password",showPassword:!0}}]),{formRegister:x,formMethods:y}=$l(),{getFormData:V,getElFormExpose:A}=y,m=()=>se(this,null,function*(){const n=yield A();n==null||n.validate(h=>se(this,null,function*(){if(h){i.value=!1;const $=yield V();c.setLockInfo(ee({isLock:!0},$))}}))});return(n,h)=>(k(),N(t(Sl),{modelValue:i.value,"onUpdate:modelValue":h[0]||(h[0]=$=>i.value=$),width:"500px","max-height":"170px",class:"lock-dialog",title:u.value},{footer:_(()=>[o(t(me),{type:"primary",onClick:m},{default:_(()=>h[1]||(h[1]=[U("锁定")])),_:1})]),default:_(()=>[h[2]||(h[2]=d("div",{class:"flex flex-col items-center"},[d("img",{src:rt,alt:"",class:"w-70px h-70px rounded-[50%]"}),d("span",{class:"text-14px my-10px text-[var(--top-header-text-color)]"},"ShanYi")],-1)),o(t(_l),{"is-col":!1,schema:v,rules:f,onRegister:t(x)},null,8,["schema","rules","onRegister"])]),_:1},8,["modelValue","title"]))}}),$o=J(So,[["__scopeId","data-v-4b32b401"]]),Mo=ol,Lo=(s=!0)=>{let l;const e=Ge({year:0,month:0,week:"",day:0,hour:"",minute:"",second:0,meridiem:""}),c=()=>{const i=Mo(),u=i.format("HH"),f=i.format("mm"),v=i.get("s");e.year=i.get("y"),e.month=i.get("M")+1,e.week="星期"+["日","一","二","三","四","五","六"][i.day()],e.day=i.get("date"),e.hour=u,e.minute=f,e.second=v,e.meridiem=i.format("A")};function a(){c(),clearInterval(l),l=setInterval(()=>c(),1e3)}function r(){clearInterval(l)}return al(()=>{s&&a()}),nl(()=>{r()}),fe(ee({},hl(e)),{start:a,stop:r})},Io={class:"lock-page fixed inset-0 flex h-screen w-screen bg-black items-center justify-center"},Po={class:"flex w-screen h-screen justify-center items-center"},Ro={class:P("lock-page__minute w-2/5 h-2/5 md:h-4/5 ")},Bo={class:P("lock-page-entry")},zo={class:P("lock-page-entry-content")},jo={key:0,class:P("text-14px lock-page-entry__err-msg enter-x")},Ao={class:P("lock-page-entry__footer enter-x")},Do={class:"absolute bottom-5 w-full text-gray-300 xl:text-xl 2xl:text-3xl text-center enter-y"},Uo={class:"text-5xl mb-4 enter-x"},Ho={class:"text-3xl"},Oo={class:"text-2xl"},Fo=R({__name:"LockPage",setup(s){const l=lt(),{clear:e}=Rt(),{replace:c}=$e(),a=b(""),r=b(!1),i=b(!1),u=b(!0),f=it(),{hour:v,month:x,minute:y,meridiem:V,year:A,day:m,week:n}=Lo(!0);function h(){return se(this,null,function*(){if(!a.value)return;const q=a.value;try{r.value=!0;const S=yield f.unLock(q);i.value=!S}finally{r.value=!1}})}function $(){return se(this,null,function*(){(yield Gt().catch(()=>{}))&&(e(),l.delAllViews(),Kt(),f.resetLockInfo(),c("/login"))})}function M(q=!1){u.value=q}return(q,S)=>(k(),z("div",Io,[te(d("div",{class:P(["lock-page__unlock","absolute top-0 left-1/2 flex pt-5 h-16 items-center justify-center sm:text-md xl:text-xl text-white flex-col cursor-pointer transform translate-x-1/2"]),onClick:S[0]||(S[0]=H=>M(!1))},[o(t(K),{icon:"ep:lock"}),S[4]||(S[4]=d("span",null,"点击解锁",-1))],512),[[Ae,u.value]]),d("div",Po,[d("div",{class:P(["lock-page__hour","relative mr-5 md:mr-20 w-2/5 h-2/5 md:h-4/5"])},[d("span",null,E(t(v)),1),te(d("span",{class:"meridiem absolute left-5 top-5 text-md xl:text-xl"},E(t(V)),513),[[Ae,u.value]])]),d("div",Ro,[d("span",null,E(t(y)),1)])]),o(Pt,{name:"fade-slide"},{default:_(()=>[te(d("div",Bo,[d("div",zo,[S[8]||(S[8]=d("div",{class:"flex flex-col items-center"},[d("img",{src:rt,alt:"",class:"w-70px h-70px rounded-[50%]"}),d("span",{class:"text-14px my-10px text-[var(--logo-title-text-color)]"},"ShanYi")],-1)),o(t(sl),{type:"password",placeholder:"请输入锁屏密码",class:"enter-x",modelValue:a.value,"onUpdate:modelValue":S[1]||(S[1]=H=>a.value=H)},null,8,["modelValue"]),i.value?(k(),z("span",jo," 锁屏密码错误 ")):ue("",!0),d("div",Ao,[o(t(me),{type:"primary",size:"small",class:"mt-2 mr-2 enter-x",link:"",disabled:r.value,onClick:S[2]||(S[2]=H=>M(!0))},{default:_(()=>S[5]||(S[5]=[U(" 返回 ")])),_:1},8,["disabled"]),o(t(me),{type:"primary",size:"small",class:"mt-2 mr-2 enter-x",link:"",disabled:r.value,onClick:$},{default:_(()=>S[6]||(S[6]=[U(" 返回登录 ")])),_:1},8,["disabled"]),o(t(me),{type:"primary",class:"mt-2",size:"small",link:"",onClick:S[3]||(S[3]=H=>h()),disabled:r.value},{default:_(()=>S[7]||(S[7]=[U(" 进入系统 ")])),_:1},8,["disabled"])])])],512),[[Ae,!u.value]])]),_:1}),d("div",Do,[te(d("div",Uo,[U(E(t(v))+":"+E(t(y))+" ",1),d("span",Ho,E(t(V)),1)],512),[[Ae,!u.value]]),d("div",Oo,E(t(A))+"/"+E(t(x))+"/"+E(t(m))+" "+E(t(n)),1)])]))}}),Eo=J(Fo,[["__scopeId","data-v-17ba496a"]]),qo={class:"flex items-center"},No={class:"{var f,v;return(v=(f=e.getLockInfo)==null?void 0:f.isLock)!=null?v:!1}),a=()=>{l.logoutConfirm()},r=b(!1),i=()=>{r.value=!0},u=()=>{window.open("https://admindoc.mbuild.top")};return(f,v)=>(k(),z(G,null,[o(t(at),{class:"user-info custom-hover",trigger:"click"},{dropdown:_(()=>[o(t(ot),null,{default:_(()=>[o(t(Se),null,{default:_(()=>[d("div",{onClick:u},"项目文档")]),_:1}),o(t(Se),{divided:""},{default:_(()=>[d("div",{onClick:i},"锁定屏幕")]),_:1}),o(t(Se),null,{default:_(()=>[d("div",{onClick:a},"退出系统")]),_:1})]),_:1})]),default:_(()=>{var x;return[d("div",qo,[v[1]||(v[1]=d("img",{src:rt,alt:"",class:"w-[calc(var(--logo-height)-25px)] rounded-[50%]"},null,-1)),d("span",No,E((x=t(l).getUserInfo)==null?void 0:x.username),1)])]}),_:1}),r.value?(k(),N($o,{key:0,modelValue:r.value,"onUpdate:modelValue":v[0]||(v[0]=x=>r.value=x)},null,8,["modelValue"])):ue("",!0),(k(),N(xl,{to:"body"},[o(Pt,{name:"fade-bottom",mode:"out-in"},{default:_(()=>[c.value?(k(),N(Eo,{key:0})):ue("",!0)]),_:1})]))],64))}}),Go=J(Wo,[["__scopeId","data-v-eabcd710"]]),Ko=R({__name:"Screenfull",props:{color:Je.string.def("")},setup(s){const{toggle:l,isFullscreen:e}=rl(),c=()=>{l()};return(a,r)=>(k(),z("div",{class:"screenfull",onClick:c},[o(t(K),{size:18,icon:t(e)?"zmdi:fullscreen-exit":"zmdi:fullscreen",color:s.color},null,8,["icon","color"])]))}}),jt=(s,l="")=>{var c;const e=[];for(const a of s){const r=a==null?void 0:a.meta;if(r.hidden&&!r.canTo)continue;const i=!r.alwaysShow&&((c=a.children)==null?void 0:c.length)===1?fe(ee({},a.children[0]),{path:ie(a.path,a.children[0].path)}):ee({},a);i.path=ie(l,i.path),i.children&&(i.children=jt(i.children,i.path)),i&&e.push(i)}return e};function Jo(s){return typeof s=="function"||Object.prototype.toString.call(s)==="[object Object]"&&!It(s)}const Qo=W(),Yo=g(()=>Qo.getBreadcrumbIcon),Xo=R({name:"Breadcrumb",setup(){const{currentRoute:s}=$e(),l=b([]),e=Ye(),c=g(()=>{const i=e.getRouters;return jt(i)}),a=()=>{const i=s.value.matched.slice(-1)[0].path;l.value=Cl(t(c),u=>u.path===i)},r=()=>kl(t(l)).map(u=>{const f=!u.redirect||u.redirect==="noredirect",v=u.meta;return o(ul,{to:{path:f?"":u.path},key:u.name},{default:()=>{var x,y;return[v!=null&&v.icon&&Yo.value?o(G,null,[o(K,{icon:v.icon,class:"mr-[5px]"},null),U(" "),(x=u==null?void 0:u.meta)==null?void 0:x.title]):(y=u==null?void 0:u.meta)==null?void 0:y.title]}})});return le(()=>s.value,i=>{i.path.startsWith("/redirect/")||a()},{immediate:!0}),()=>{let i;return o(il,{separator:"/",class:"breadcrumb flex items-center h-full ml-[10px]"},{default:()=>[o(wl,{appear:!0,"enter-active-class":"animate__animated animate__fadeInRight"},Jo(i=r())?i:{default:()=>[i]})]})}}}),Zo=J(Xo,[["__scopeId","data-v-3449b691"]]),Me=W(),ea=g(()=>Me.getBreadcrumb),ta=g(()=>Me.getHamburger),la=g(()=>Me.getScreenfull),oa=g(()=>Me.getSize),Lt=g(()=>Me.getLayout),aa=R({name:"ToolHeader",setup(){return()=>o("div",{id:"tool-header",class:["tool-header","h-[var(--top-tool-height)] relative px-[var(--top-tool-p-x)] flex items-center justify-between"]},[Lt.value!=="top"?o("div",{class:"h-full flex items-center"},[ta.value&&Lt.value!=="cutMenu"?o(Vo,{class:"custom-hover",color:"var(--top-header-text-color)"},null):void 0,ea.value?o(Zo,{class:"oe.getPageLoading),re=g(()=>oe.getTagsView),D=g(()=>oe.getCollapse),ke=g(()=>oe.logo),B=g(()=>oe.getFixedHeader),X=g(()=>oe.getMobile),de=g(()=>oe.getFixedMenu),Ee=()=>({renderClassic:()=>o(G,null,[o("div",{class:["absolute top-0 left-0 h-full layout-border__right",{"!fixed z-3000":X.value}]},[ke.value?o(Ue,{class:["bg-[var(--left-menu-bg-color)] relative",{"!pl-0":X.value&&D.value,"w-[var(--left-menu-min-width)]":oe.getCollapse,"w-[var(--left-menu-max-width)]":!oe.getCollapse}],style:"transition: all var(--transition-time-02);"},null):void 0,o(qe,{class:[{"!h-[calc(100%-var(--logo-height))]":ke.value}]},null)]),o("div",{class:["layout-content","absolute top-0 h-[100%]",{"w-[calc(100%-var(--left-menu-min-width))] left-[var(--left-menu-min-width)]":D.value&&!X.value&&!X.value,"w-[calc(100%-var(--left-menu-max-width))] left-[var(--left-menu-max-width)]":!D.value&&!X.value&&!X.value,"fixed !w-full !left-0":X.value}],style:"transition: all var(--transition-time-02);"},[te(o(pe,{class:["layout-content-scrollbar",{"!h-[calc(100%-var(--top-tool-height)-var(--tags-view-height))] mt-[calc(var(--top-tool-height)+var(--tags-view-height))]":B.value}]},{default:()=>[o("div",{class:[{"fixed top-0 left-0 z-10":B.value,"w-[calc(100%-var(--left-menu-min-width))] !left-[var(--left-menu-min-width)]":D.value&&B.value&&!X.value,"w-[calc(100%-var(--left-menu-max-width))] !left-[var(--left-menu-max-width)]":!D.value&&B.value&&!X.value,"!w-full !left-0":X.value}],style:"transition: all var(--transition-time-02);"},[o(Oe,{class:["bg-[var(--top-header-bg-color)]",{"layout-border__bottom":!re.value}]},null),re.value?o(De,{class:"layout-border__bottom layout-border__top"},null):void 0]),o(He,null,null)]}),[[Te("loading"),Fe.value]])])]),renderTopLeft:()=>o(G,null,[o("div",{class:"flex items-center bg-[var(--top-header-bg-color)] relative layout-border__bottom dark:bg-[var(--el-bg-color)]"},[ke.value?o(Ue,{class:"custom-hover"},null):void 0,o(Oe,{class:"flex-1"},null)]),o("div",{class:"absolute top-[var(--logo-height)+1px] left-0 w-full h-[calc(100%-1px-var(--logo-height))] flex"},[o(qe,{class:"!h-full relative layout-border__right"},null),o("div",{class:["layout-content","h-[100%]",{"w-[calc(100%-var(--left-menu-min-width))] left-[var(--left-menu-min-width)]":D.value,"w-[calc(100%-var(--left-menu-max-width))] left-[var(--left-menu-max-width)]":!D.value}],style:"transition: all var(--transition-time-02);"},[te(o(pe,{class:["layout-content-scrollbar",{"!h-[calc(100%-var(--tags-view-height))] mt-[calc(var(--tags-view-height))]":B.value&&re.value}]},{default:()=>[re.value?o(De,{class:["layout-border__bottom absolute",{"!fixed top-0 left-0 z-10":B.value,"w-[calc(100%-var(--left-menu-min-width))] !left-[var(--left-menu-min-width)] mt-[calc(var(--logo-height)+1px)]":D.value&&B.value,"w-[calc(100%-var(--left-menu-max-width))] !left-[var(--left-menu-max-width)] mt-[calc(var(--logo-height)+1px)]":!D.value&&B.value}],style:"transition: width var(--transition-time-02), left var(--transition-time-02);"},null):void 0,o(He,null,null)]}),[[Te("loading"),Fe.value]])])])]),renderTop:()=>o(G,null,[o("div",{class:["flex items-center justify-between bg-[var(--top-header-bg-color)] relative",{"layout-border__bottom":!re.value}]},[ke.value?o(Ue,{class:"custom-hover"},null):void 0,o(qe,{class:"flex-1 px-10px h-[var(--top-tool-height)]"},null),o(Oe,null,null)]),o("div",{class:["layout-content","w-full",{"h-[calc(100%-var(--top-tool-height))]":!B.value,"h-[calc(100%-var(--tags-view-height)-var(--top-tool-height))]":B.value}]},[te(o(pe,{class:["layout-content-scrollbar",{"mt-[var(--tags-view-height)] !pb-[calc(var(--tags-view-height)+var(--app-footer-height))]":B.value,"pb-[var(--app-footer-height)]":!B.value}]},{default:()=>[re.value?o(De,{class:["layout-border__bottom layout-border__top relative",{"!fixed w-full top-[calc(var(--top-tool-height)+1px)] left-0":B.value}],style:"transition: width var(--transition-time-02), left var(--transition-time-02);"},null):void 0,o(He,null,null)]}),[[Te("loading"),Fe.value]])])]),renderCutMenu:()=>o(G,null,[o("div",{class:"flex items-center bg-[var(--top-header-bg-color)] relative layout-border__bottom"},[ke.value?o(Ue,{class:"custom-hover !pr-15px"},null):void 0,o(Oe,{class:"flex-1"},null)]),o("div",{class:"absolute top-[var(--logo-height)] left-0 w-[calc(100%-2px)] h-[calc(100%-var(--logo-height))] flex"},[o(vo,null,null),o("div",{class:["layout-content","h-[100%]",{"w-[calc(100%-var(--tab-menu-min-width))] left-[var(--tab-menu-min-width)]":D.value&&!de.value,"w-[calc(100%-var(--tab-menu-max-width))] left-[var(--tab-menu-max-width)]":!D.value&&!de.value,"w-[calc(100%-var(--tab-menu-min-width)-var(--left-menu-max-width))] ml-[var(--left-menu-max-width)]":D.value&&de.value,"w-[calc(100%-var(--tab-menu-max-width)-var(--left-menu-max-width))] ml-[var(--left-menu-max-width)]":!D.value&&de.value}],style:"transition: all var(--transition-time-02);"},[te(o(pe,{class:["layout-content-scrollbar",{"!h-[calc(100%-var(--tags-view-height))] mt-[calc(var(--tags-view-height))]":B.value&&re.value}]},{default:()=>[re.value?o(De,{class:["relative layout-border__bottom layout-border__top",{"!fixed top-0 left-0 z-10":B.value,"w-[calc(100%-var(--tab-menu-min-width))] !left-[var(--tab-menu-min-width)] mt-[var(--logo-height)]":D.value&&B.value,"w-[calc(100%-var(--tab-menu-max-width))] !left-[var(--tab-menu-max-width)] mt-[var(--logo-height)]":!D.value&&B.value,"!fixed top-0 !left-[var(--tab-menu-min-width)+var(--left-menu-max-width)] z-10":B.value&&de.value,"w-[calc(100%-var(--tab-menu-min-width)-var(--left-menu-max-width))] !left-[var(--tab-menu-min-width)+var(--left-menu-max-width)] mt-[var(--logo-height)]":D.value&&B.value&&de.value,"w-[calc(100%-var(--tab-menu-max-width)-var(--left-menu-max-width))] !left-[var(--tab-menu-max-width)+var(--left-menu-max-width)] mt-[var(--logo-height)]":!D.value&&B.value&&de.value}],style:"transition: width var(--transition-time-02), left var(--transition-time-02);"},null):void 0,o(He,null,null)]}),[[Te("loading"),Fe.value]])])])])}),Ze=W(),na=g(()=>Ze.getMobile),sa=g(()=>Ze.getCollapse),At=g(()=>Ze.getLayout),ra=g(()=>!1),ia=()=>{Ze.setCollapse(!0)},ua=()=>{switch(t(At)){case"classic":{const{renderClassic:s}=Ee();return s()}case"topLeft":{const{renderTopLeft:s}=Ee();return s()}case"top":{const{renderTop:s}=Ee();return s()}case"cutMenu":{const{renderCutMenu:s}=Ee();return s()}}},ca=R({name:"Layout",setup(){return()=>o("section",{class:["layout",`layout__${At.value}`,"w-[100%] h-[100%] relative"]},[na.value&&!sa.value?o("div",{class:"absolute top-0 left-0 w-full h-full opacity-30 z-99 bg-[var(--el-color-black)]",onClick:ia},null):void 0,ua(),o(Ll,null,null),!t(ra)&&o(no,null,null)])}}),Ga=J(ca,[["__scopeId","data-v-786b8344"]]);export{Ga as default}; diff --git a/assets/Layout-9p1-t-kF.css b/assets/Layout-LFIB6Af9.css similarity index 95% rename from assets/Layout-9p1-t-kF.css rename to assets/Layout-LFIB6Af9.css index 7a0ca271..f76897ef 100644 --- a/assets/Layout-9p1-t-kF.css +++ b/assets/Layout-LFIB6Af9.css @@ -1 +1 @@ -.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.color-radio-picker .is-active[data-v-79c0f447]{border-color:var(--el-color-primary)}.layout-radio-picker__classic[data-v-f0593eff]{border:2px solid #e5e7eb;border-radius:4px}.layout-radio-picker__classic[data-v-f0593eff]:before{position:absolute;top:0;left:0;z-index:1;width:33%;height:100%;background-color:#273352;border-radius:4px 0 0 4px;content:""}.layout-radio-picker__classic[data-v-f0593eff]:after{position:absolute;top:0;left:0;width:100%;height:25%;background-color:#fff;border-radius:4px 4px 0;content:""}.layout-radio-picker__top-left[data-v-f0593eff]{border:2px solid #e5e7eb;border-radius:4px}.layout-radio-picker__top-left[data-v-f0593eff]:before{position:absolute;top:0;left:0;z-index:1;width:100%;height:33%;background-color:#273352;border-radius:4px 4px 0 0;content:""}.layout-radio-picker__top-left[data-v-f0593eff]:after{position:absolute;top:0;left:0;width:33%;height:100%;background-color:#fff;border-radius:4px 0 0 4px;content:""}.layout-radio-picker__top[data-v-f0593eff]{border:2px solid #e5e7eb;border-radius:4px}.layout-radio-picker__top[data-v-f0593eff]:before{position:absolute;top:0;left:0;z-index:1;width:100%;height:33%;background-color:#273352;border-radius:4px 4px 0 0;content:""}.layout-radio-picker__cut-menu[data-v-f0593eff]{border:2px solid #e5e7eb;border-radius:4px}.layout-radio-picker__cut-menu[data-v-f0593eff]:before{position:absolute;top:0;left:0;z-index:1;width:100%;height:33%;background-color:#273352;border-radius:4px 4px 0 0;content:""}.layout-radio-picker__cut-menu[data-v-f0593eff]:after{position:absolute;top:0;left:0;width:10%;height:100%;background-color:#fff;border-radius:4px 0 0 4px;content:""}.layout-radio-picker .is-acitve[data-v-f0593eff]{border-color:var(--el-color-primary)}.setting[data-v-57aaa342]{border-radius:6px 0 0 6px}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-hover-text-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.menu[data-v-b6e6745e]{position:relative;transition:width var(--transition-time-02)}.menu[data-v-b6e6745e] .el-menu{width:100%!important;border-right:none}.menu[data-v-b6e6745e] .el-menu .is-active>.el-sub-menu__title{color:var(--left-menu-text-active-color)!important}.menu[data-v-b6e6745e] .el-menu .el-sub-menu__title:hover,.menu[data-v-b6e6745e] .el-menu .el-menu-item:hover{color:var(--left-menu-text-active-color)!important;background-color:var(--left-menu-bg-color)!important}.menu[data-v-b6e6745e] .el-menu .el-menu-item.is-active{color:var(--left-menu-text-active-color)!important;background-color:var(--left-menu-bg-active-color)!important}.menu[data-v-b6e6745e] .el-menu .el-menu-item.is-active:hover{background-color:var(--left-menu-bg-active-color)!important}.menu[data-v-b6e6745e] .el-menu .el-menu-item.is-active{position:relative}.menu[data-v-b6e6745e] .el-menu .el-menu .el-sub-menu__title,.menu[data-v-b6e6745e] .el-menu .el-menu .el-menu-item:not(.is-active){background-color:var(--left-menu-bg-light-color)!important}.menu[data-v-b6e6745e] .el-menu--collapse{width:var(--left-menu-min-width)}.menu[data-v-b6e6745e] .el-menu--collapse>.is-active,.menu[data-v-b6e6745e] .el-menu--collapse>.is-active>.el-sub-menu__title{position:relative;background-color:var(--left-menu-collapse-bg-active-color)!important}.menu[data-v-b6e6745e] .horizontal-collapse-transition .menu__title{display:none}.menu__horizontal[data-v-b6e6745e]{height:calc(var(--top-tool-height))!important}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal{height:calc(var(--top-tool-height));border-bottom:none}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-color-primary)!important}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal .el-menu-item.is-active{position:relative}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal .el-menu-item.is-active:after{display:none!important}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal .menu__title{max-height:calc(var(--top-tool-height) - 2px)!important;line-height:calc(var(--top-tool-height) - 2px)}.menu-popper--vertical .is-active>.el-sub-menu__title,.menu-popper--horizontal .is-active>.el-sub-menu__title{color:var(--left-menu-text-active-color)!important}.menu-popper--vertical .el-sub-menu__title:hover,.menu-popper--horizontal .el-sub-menu__title:hover,.menu-popper--vertical .el-menu-item:hover,.menu-popper--horizontal .el-menu-item:hover{color:var(--left-menu-text-active-color)!important;background-color:var(--left-menu-bg-color)!important}.menu-popper--vertical .el-menu-item.is-active,.menu-popper--horizontal .el-menu-item.is-active{position:relative;background-color:var(--left-menu-bg-active-color)!important}.menu-popper--vertical .el-menu-item.is-active:hover,.menu-popper--horizontal .el-menu-item.is-active:hover{background-color:var(--left-menu-bg-active-color)!important}.submenu-popper--vertical{max-height:100%;overflow-y:auto}.submenu-popper--vertical::-webkit-scrollbar{width:6px;background-color:transparent}.submenu-popper--vertical::-webkit-scrollbar-thumb{background-color:rgba(144,147,153,.3);border-radius:4px}.tab-menu[data-v-6af19399]{transition:all var(--transition-time-02)}.tab-menu__item[data-v-6af19399]{color:var(--left-menu-text-color);transition:all var(--transition-time-02)}.tab-menu__item[data-v-6af19399]:hover{color:var(--left-menu-text-active-color)}.tab-menu--collapse[data-v-6af19399]{color:var(--left-menu-text-color);background-color:var(--left-menu-bg-light-color)}.tab-menu .is-active[data-v-6af19399]{color:var(--left-menu-text-active-color);background-color:var(--left-menu-bg-active-color)}.tags-view[data-v-fe927eb3] .el-scrollbar__view{height:100%}.tags-view__tool[data-v-fe927eb3]{position:relative}.tags-view__tool[data-v-fe927eb3]:before{position:absolute;top:1px;left:0;width:100%;height:calc(100% - 1px);border-left:1px solid var(--el-border-color);content:""}.tags-view__tool--first[data-v-fe927eb3]:before{position:absolute;top:1px;left:0;width:100%;height:calc(100% - 1px);border-right:1px solid var(--el-border-color);border-left:none;content:""}.tags-view__item[data-v-fe927eb3]{position:relative;top:2px;height:calc(100% - 6px);padding-right:25px;margin-left:4px;font-size:12px;cursor:pointer;border:1px solid #d9d9d9;border-radius:2px}.tags-view__item--close[data-v-fe927eb3]{position:absolute;top:50%;right:5px;display:none;transform:translateY(-50%)}.tags-view__item:not(.tags-view__item--affix):hover .tags-view__item--close[data-v-fe927eb3]{display:block}.tags-view__item[data-v-fe927eb3]:not(.is-active):hover{color:var(--el-color-primary)}.tags-view__item.is-active[data-v-fe927eb3]{color:var(--el-color-white);background-color:var(--el-color-primary);border:1px solid var(--el-color-primary)}.tags-view__item.is-active .tags-view__item--close[data-v-fe927eb3] svg{color:var(--el-color-white)!important}.dark .tags-view__tool--first[data-v-fe927eb3]:after{display:none}.dark .tags-view__item[data-v-fe927eb3]{border:1px solid var(--el-border-color)}.dark .tags-view__item[data-v-fe927eb3]:not(.is-active):hover{color:var(--el-color-primary)}.dark .tags-view__item.is-active[data-v-fe927eb3]{color:var(--el-color-white);background-color:var(--el-color-primary);border:1px solid var(--el-color-primary)}.dark .tags-view__item.is-active .tags-view__item--close[data-v-fe927eb3] svg{color:var(--el-color-white)!important}@media (width <= 767px){.lock-dialog{max-width:calc(100vw - 16px)}}.lock-page[data-v-17ba496a]{z-index:3000}.lock-page__unlock[data-v-17ba496a]{transform:translate(-50%)}.lock-page__hour[data-v-17ba496a],.lock-page__minute[data-v-17ba496a]{display:flex;font-weight:700;color:#bababa;background-color:#141313;border-radius:30px;justify-content:center;align-items:center}@media screen and (max-width: 768px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:160px}}@media screen and (min-width: 768px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:160px}}@media screen and (max-width: 576px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:90px}}@media screen and (min-width: 992px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:220px}}@media screen and (min-width: 1200px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:260px}}@media screen and (min-width: 1600px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:320px}}.lock-page-entry[data-v-17ba496a]{position:absolute;top:0;left:0;display:flex;width:100%;height:100%;background-color:rgba(0,0,0,.5);backdrop-filter:blur(8px);justify-content:center;align-items:center}.lock-page-entry-content[data-v-17ba496a]{width:260px}.lock-page-entry__header[data-v-17ba496a]{text-align:center}.lock-page-entry__header-img[data-v-17ba496a]{width:70px;margin:0 auto;border-radius:50%}.lock-page-entry__header-name[data-v-17ba496a]{margin-top:5px;font-weight:500;color:#bababa}.lock-page-entry__err-msg[data-v-17ba496a]{display:inline-block;margin-top:10px;color:#ed6f6f}.lock-page-entry__footer[data-v-17ba496a]{display:flex;justify-content:space-between}.fade-bottom-enter-active[data-v-eabcd710],.fade-bottom-leave-active[data-v-eabcd710]{transition:opacity .25s,transform .3s}.fade-bottom-enter-from[data-v-eabcd710]{opacity:0;transform:translateY(-10%)}.fade-bottom-leave-to[data-v-eabcd710]{opacity:0;transform:translateY(10%)}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;transition:var(--el-transition-color)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}[data-v-3449b691] .breadcrumb__item{display:flex}[data-v-3449b691] .breadcrumb__item .breadcrumb__inner{display:flex;align-items:center;color:var(--top-header-text-color)}[data-v-3449b691] .breadcrumb__item .breadcrumb__inner:hover{color:var(--el-color-primary)}[data-v-3449b691] .breadcrumb__item:not(:last-child) .breadcrumb__inner{color:var(--top-header-text-color)}[data-v-3449b691] .breadcrumb__item:not(:last-child) .breadcrumb__inner:hover{color:var(--el-color-primary)}[data-v-3449b691] .breadcrumb__item:last-child .breadcrumb__inner{color:var(--el-text-color-placeholder)}[data-v-3449b691] .breadcrumb__item:last-child .breadcrumb__inner:hover{color:var(--el-text-color-placeholder)}.tool-header[data-v-2e79c79b]{transition:left var(--transition-time-02)}.layout[data-v-786b8344]{background-color:var(--app-content-bg-color)}.layout[data-v-786b8344] .el-scrollbar__view{height:100%!important} +.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.color-radio-picker .is-active[data-v-79c0f447]{border-color:var(--el-color-primary)}.layout-radio-picker__classic[data-v-f0593eff]{border:2px solid #e5e7eb;border-radius:4px}.layout-radio-picker__classic[data-v-f0593eff]:before{position:absolute;top:0;left:0;z-index:1;width:33%;height:100%;background-color:#273352;border-radius:4px 0 0 4px;content:""}.layout-radio-picker__classic[data-v-f0593eff]:after{position:absolute;top:0;left:0;width:100%;height:25%;background-color:#fff;border-radius:4px 4px 0;content:""}.layout-radio-picker__top-left[data-v-f0593eff]{border:2px solid #e5e7eb;border-radius:4px}.layout-radio-picker__top-left[data-v-f0593eff]:before{position:absolute;top:0;left:0;z-index:1;width:100%;height:33%;background-color:#273352;border-radius:4px 4px 0 0;content:""}.layout-radio-picker__top-left[data-v-f0593eff]:after{position:absolute;top:0;left:0;width:33%;height:100%;background-color:#fff;border-radius:4px 0 0 4px;content:""}.layout-radio-picker__top[data-v-f0593eff]{border:2px solid #e5e7eb;border-radius:4px}.layout-radio-picker__top[data-v-f0593eff]:before{position:absolute;top:0;left:0;z-index:1;width:100%;height:33%;background-color:#273352;border-radius:4px 4px 0 0;content:""}.layout-radio-picker__cut-menu[data-v-f0593eff]{border:2px solid #e5e7eb;border-radius:4px}.layout-radio-picker__cut-menu[data-v-f0593eff]:before{position:absolute;top:0;left:0;z-index:1;width:100%;height:33%;background-color:#273352;border-radius:4px 4px 0 0;content:""}.layout-radio-picker__cut-menu[data-v-f0593eff]:after{position:absolute;top:0;left:0;width:10%;height:100%;background-color:#fff;border-radius:4px 0 0 4px;content:""}.layout-radio-picker .is-acitve[data-v-f0593eff]{border-color:var(--el-color-primary)}.setting[data-v-57aaa342]{border-radius:6px 0 0 6px}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-hover-text-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.menu[data-v-b6e6745e]{position:relative;transition:width var(--transition-time-02)}.menu[data-v-b6e6745e] .el-menu{width:100%!important;border-right:none}.menu[data-v-b6e6745e] .el-menu .is-active>.el-sub-menu__title{color:var(--left-menu-text-active-color)!important}.menu[data-v-b6e6745e] .el-menu .el-sub-menu__title:hover,.menu[data-v-b6e6745e] .el-menu .el-menu-item:hover{color:var(--left-menu-text-active-color)!important;background-color:var(--left-menu-bg-color)!important}.menu[data-v-b6e6745e] .el-menu .el-menu-item.is-active{color:var(--left-menu-text-active-color)!important;background-color:var(--left-menu-bg-active-color)!important}.menu[data-v-b6e6745e] .el-menu .el-menu-item.is-active:hover{background-color:var(--left-menu-bg-active-color)!important}.menu[data-v-b6e6745e] .el-menu .el-menu-item.is-active{position:relative}.menu[data-v-b6e6745e] .el-menu .el-menu .el-sub-menu__title,.menu[data-v-b6e6745e] .el-menu .el-menu .el-menu-item:not(.is-active){background-color:var(--left-menu-bg-light-color)!important}.menu[data-v-b6e6745e] .el-menu--collapse{width:var(--left-menu-min-width)}.menu[data-v-b6e6745e] .el-menu--collapse>.is-active,.menu[data-v-b6e6745e] .el-menu--collapse>.is-active>.el-sub-menu__title{position:relative;background-color:var(--left-menu-collapse-bg-active-color)!important}.menu[data-v-b6e6745e] .horizontal-collapse-transition .menu__title{display:none}.menu__horizontal[data-v-b6e6745e]{height:calc(var(--top-tool-height))!important}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal{height:calc(var(--top-tool-height));border-bottom:none}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-color-primary)!important}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal .el-menu-item.is-active{position:relative}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal .el-menu-item.is-active:after{display:none!important}.menu__horizontal[data-v-b6e6745e] .el-menu--horizontal .menu__title{max-height:calc(var(--top-tool-height) - 2px)!important;line-height:calc(var(--top-tool-height) - 2px)}.menu-popper--vertical .is-active>.el-sub-menu__title,.menu-popper--horizontal .is-active>.el-sub-menu__title{color:var(--left-menu-text-active-color)!important}.menu-popper--vertical .el-sub-menu__title:hover,.menu-popper--horizontal .el-sub-menu__title:hover,.menu-popper--vertical .el-menu-item:hover,.menu-popper--horizontal .el-menu-item:hover{color:var(--left-menu-text-active-color)!important;background-color:var(--left-menu-bg-color)!important}.menu-popper--vertical .el-menu-item.is-active,.menu-popper--horizontal .el-menu-item.is-active{position:relative;background-color:var(--left-menu-bg-active-color)!important}.menu-popper--vertical .el-menu-item.is-active:hover,.menu-popper--horizontal .el-menu-item.is-active:hover{background-color:var(--left-menu-bg-active-color)!important}.submenu-popper--vertical{max-height:100%;overflow-y:auto}.submenu-popper--vertical::-webkit-scrollbar{width:6px;background-color:transparent}.submenu-popper--vertical::-webkit-scrollbar-thumb{background-color:rgba(144,147,153,.3);border-radius:4px}.tab-menu[data-v-6af19399]{transition:all var(--transition-time-02)}.tab-menu__item[data-v-6af19399]{color:var(--left-menu-text-color);transition:all var(--transition-time-02)}.tab-menu__item[data-v-6af19399]:hover{color:var(--left-menu-text-active-color)}.tab-menu--collapse[data-v-6af19399]{color:var(--left-menu-text-color);background-color:var(--left-menu-bg-light-color)}.tab-menu .is-active[data-v-6af19399]{color:var(--left-menu-text-active-color);background-color:var(--left-menu-bg-active-color)}.tags-view[data-v-1ea8766d] .el-scrollbar__view{height:100%}.tags-view__tool[data-v-1ea8766d]{position:relative}.tags-view__tool[data-v-1ea8766d]:before{position:absolute;top:1px;left:0;width:100%;height:calc(100% - 1px);border-left:1px solid var(--el-border-color);content:""}.tags-view__tool--first[data-v-1ea8766d]:before{position:absolute;top:1px;left:0;width:100%;height:calc(100% - 1px);border-right:1px solid var(--el-border-color);border-left:none;content:""}.tags-view__item[data-v-1ea8766d]{position:relative;top:3px;height:calc(100% - 6px);padding-right:25px;margin-left:4px;font-size:12px;cursor:pointer;border:1px solid #d9d9d9;border-radius:2px}.tags-view__item--close[data-v-1ea8766d]{position:absolute;top:50%;right:5px;display:none;transform:translateY(-50%)}.tags-view__item:not(.tags-view__item--affix):hover .tags-view__item--close[data-v-1ea8766d]{display:block}.tags-view__item[data-v-1ea8766d]:not(.is-active):hover{color:var(--el-color-primary)}.tags-view__item.is-active[data-v-1ea8766d]{color:var(--el-color-white);background-color:var(--el-color-primary);border:1px solid var(--el-color-primary)}.tags-view__item.is-active .tags-view__item--close[data-v-1ea8766d] svg{color:var(--el-color-white)!important}.dark .tags-view__tool--first[data-v-1ea8766d]:after{display:none}.dark .tags-view__item[data-v-1ea8766d]{border:1px solid var(--el-border-color)}.dark .tags-view__item[data-v-1ea8766d]:not(.is-active):hover{color:var(--el-color-primary)}.dark .tags-view__item.is-active[data-v-1ea8766d]{color:var(--el-color-white);background-color:var(--el-color-primary);border:1px solid var(--el-color-primary)}.dark .tags-view__item.is-active .tags-view__item--close[data-v-1ea8766d] svg{color:var(--el-color-white)!important}@media (width <= 767px){.lock-dialog{max-width:calc(100vw - 16px)}}.lock-page[data-v-17ba496a]{z-index:3000}.lock-page__unlock[data-v-17ba496a]{transform:translate(-50%)}.lock-page__hour[data-v-17ba496a],.lock-page__minute[data-v-17ba496a]{display:flex;font-weight:700;color:#bababa;background-color:#141313;border-radius:30px;justify-content:center;align-items:center}@media screen and (max-width: 768px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:160px}}@media screen and (min-width: 768px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:160px}}@media screen and (max-width: 576px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:90px}}@media screen and (min-width: 992px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:220px}}@media screen and (min-width: 1200px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:260px}}@media screen and (min-width: 1600px){.lock-page__hour span[data-v-17ba496a]:not(.meridiem),.lock-page__minute span[data-v-17ba496a]:not(.meridiem){font-size:320px}}.lock-page-entry[data-v-17ba496a]{position:absolute;top:0;left:0;display:flex;width:100%;height:100%;background-color:rgba(0,0,0,.5);backdrop-filter:blur(8px);justify-content:center;align-items:center}.lock-page-entry-content[data-v-17ba496a]{width:260px}.lock-page-entry__header[data-v-17ba496a]{text-align:center}.lock-page-entry__header-img[data-v-17ba496a]{width:70px;margin:0 auto;border-radius:50%}.lock-page-entry__header-name[data-v-17ba496a]{margin-top:5px;font-weight:500;color:#bababa}.lock-page-entry__err-msg[data-v-17ba496a]{display:inline-block;margin-top:10px;color:#ed6f6f}.lock-page-entry__footer[data-v-17ba496a]{display:flex;justify-content:space-between}.fade-bottom-enter-active[data-v-eabcd710],.fade-bottom-leave-active[data-v-eabcd710]{transition:opacity .25s,transform .3s}.fade-bottom-enter-from[data-v-eabcd710]{opacity:0;transform:translateY(-10%)}.fade-bottom-leave-to[data-v-eabcd710]{opacity:0;transform:translateY(10%)}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;transition:var(--el-transition-color)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}[data-v-3449b691] .breadcrumb__item{display:flex}[data-v-3449b691] .breadcrumb__item .breadcrumb__inner{display:flex;align-items:center;color:var(--top-header-text-color)}[data-v-3449b691] .breadcrumb__item .breadcrumb__inner:hover{color:var(--el-color-primary)}[data-v-3449b691] .breadcrumb__item:not(:last-child) .breadcrumb__inner{color:var(--top-header-text-color)}[data-v-3449b691] .breadcrumb__item:not(:last-child) .breadcrumb__inner:hover{color:var(--el-color-primary)}[data-v-3449b691] .breadcrumb__item:last-child .breadcrumb__inner{color:var(--el-text-color-placeholder)}[data-v-3449b691] .breadcrumb__item:last-child .breadcrumb__inner:hover{color:var(--el-text-color-placeholder)}.tool-header[data-v-2e79c79b]{transition:left var(--transition-time-02)}.layout[data-v-786b8344]{background-color:var(--app-content-bg-color)}.layout[data-v-786b8344] .el-scrollbar__view{height:100%!important} diff --git a/assets/Login-DZqDEiBM.js b/assets/Login-ulpAKuw2.js similarity index 78% rename from assets/Login-DZqDEiBM.js rename to assets/Login-ulpAKuw2.js index 2c1e9872..923e68a2 100644 --- a/assets/Login-DZqDEiBM.js +++ b/assets/Login-ulpAKuw2.js @@ -1 +1 @@ -import{y as u,c as g,r as h,z as l,A as v,O as s,L as r,u as p,D as t,Q as m,al as b,V as w,K as c,J as y}from"./vue-chunks-ChjHxF1G.js";import{_ as x}from"./logo-CqD-cdkl.js";import{_ as T}from"./LoginForm.vue_vue_type_script_setup_true_lang-B_w0J2SY.js";import{_ as k}from"./RegisterForm.vue_vue_type_script_setup_true_lang-BNRPQB3d.js";import{T as L}from"./ThemeSwitch-Ct6XHugw.js";import{u as C,g as j}from"./index-DHbc4UQl.js";import{f as S}from"./element-plus-CUBv5pjL.js";import{_ as B}from"./Icon-CdhVCYkm.js";import"./Form-Cq-QZJdy.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css *//* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./useIcon-CKHK9-or.js";const V="/assets/login-box-bg-CL6i7T2F.svg",I={class:"login h-[100%] relative lt-xl:bg-[var(--login-bg-color)] lt-sm:px-10px lt-xl:px-10px lt-md:px-10px"},R={class:"relative flex mx-auto min-h-100vh"},z={class:y("login__left flex-1 bg-gray-500 bg-opacity-20 relative p-30px lt-xl:hidden")},A={class:"flex items-center relative text-white"},D={class:"text-20px font-bold"},E={class:"flex justify-center items-center h-[calc(100%-60px)]"},N={class:"flex-1 p-30px lt-sm:p-10px dark:bg-[var(--login-bg-color)] relative"},$={class:"flex justify-between items-center text-white at-2xl:justify-end at-xl:justify-end"},F={class:"flex items-center at-2xl:hidden at-xl:hidden"},G={class:"text-20px font-bold"},H={class:"flex justify-end items-center space-x-10px"},J={class:"h-full flex items-center m-auto w-[100%] at-2xl:max-w-500px at-xl:max-w-500px at-md:max-w-500px at-lg:max-w-500px"},K=u({__name:"Login",setup(M){const o=C(),n=g(()=>o.getTitle),a=h(!0),d=()=>{a.value=!1},_=()=>{a.value=!0},f=()=>{const i=j("--el-bg-color");o.setMenuTheme(i),o.setHeaderTheme(i)};return(i,e)=>(l(),v("div",I,[s(p(S),{class:"h-full"},{default:r(()=>[t("div",R,[t("div",z,[t("div",A,[e[0]||(e[0]=t("img",{src:x,alt:"",class:"w-48px h-48px mr-10px"},null,-1)),t("span",D,m(n.value),1)]),t("div",E,[s(b,{appear:"",tag:"div","enter-active-class":"animate__animated animate__bounceInLeft"},{default:r(()=>e[1]||(e[1]=[t("img",{src:V,key:"1",alt:"",class:"w-350px"},null,-1),t("div",{class:"text-3xl text-white",key:"2"},"欢迎使用本系统",-1),t("div",{class:"mt-5 font-normal text-white text-14px",key:"3"}," 开箱即用的中后台管理系统 ",-1)])),_:1})])]),t("div",N,[t("div",$,[t("div",F,[e[2]||(e[2]=t("img",{src:x,alt:"",class:"w-48px h-48px mr-10px"},null,-1)),t("span",G,m(n.value),1)]),t("div",H,[s(p(L),{onChange:f})])]),s(w,{appear:"","enter-active-class":"animate__animated animate__bounceInRight"},{default:r(()=>[t("div",J,[a.value?(l(),c(T,{key:0,class:"p-20px h-auto m-auto lt-xl:rounded-3xl lt-xl:light:bg-white",onToRegister:d})):(l(),c(k,{key:1,class:"p-20px h-auto m-auto lt-xl:rounded-3xl lt-xl:light:bg-white",onToLogin:_}))])]),_:1})])])]),_:1})]))}}),yt=B(K,[["__scopeId","data-v-0f3afdf3"]]);export{yt as default}; +import{y as u,c as g,r as h,z as l,A as v,O as s,L as r,u as p,D as t,Q as m,al as b,V as w,K as c,J as y}from"./vue-chunks-ChjHxF1G.js";import{_ as x}from"./logo-CqD-cdkl.js";import{_ as T}from"./LoginForm.vue_vue_type_script_setup_true_lang-BJnt7Swo.js";import{_ as k}from"./RegisterForm.vue_vue_type_script_setup_true_lang-rMaeBqbr.js";import{T as L}from"./ThemeSwitch-F8Fn7TL9.js";import{u as C,g as j}from"./index-wnyZ7Zvr.js";import{f as S}from"./element-plus-CUBv5pjL.js";import{_ as B}from"./Icon-BTLftY2_.js";import"./Form-BTUMYN5B.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css *//* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./useIcon-B724d8dT.js";const V="/assets/login-box-bg-CL6i7T2F.svg",I={class:"login h-[100%] relative lt-xl:bg-[var(--login-bg-color)] lt-sm:px-10px lt-xl:px-10px lt-md:px-10px"},R={class:"relative flex mx-auto min-h-100vh"},z={class:y("login__left flex-1 bg-gray-500 bg-opacity-20 relative p-30px lt-xl:hidden")},A={class:"flex items-center relative text-white"},D={class:"text-20px font-bold"},E={class:"flex justify-center items-center h-[calc(100%-60px)]"},N={class:"flex-1 p-30px lt-sm:p-10px dark:bg-[var(--login-bg-color)] relative"},$={class:"flex justify-between items-center text-white at-2xl:justify-end at-xl:justify-end"},F={class:"flex items-center at-2xl:hidden at-xl:hidden"},G={class:"text-20px font-bold"},H={class:"flex justify-end items-center space-x-10px"},J={class:"h-full flex items-center m-auto w-[100%] at-2xl:max-w-500px at-xl:max-w-500px at-md:max-w-500px at-lg:max-w-500px"},K=u({__name:"Login",setup(M){const o=C(),n=g(()=>o.getTitle),a=h(!0),d=()=>{a.value=!1},_=()=>{a.value=!0},f=()=>{const i=j("--el-bg-color");o.setMenuTheme(i),o.setHeaderTheme(i)};return(i,e)=>(l(),v("div",I,[s(p(S),{class:"h-full"},{default:r(()=>[t("div",R,[t("div",z,[t("div",A,[e[0]||(e[0]=t("img",{src:x,alt:"",class:"w-48px h-48px mr-10px"},null,-1)),t("span",D,m(n.value),1)]),t("div",E,[s(b,{appear:"",tag:"div","enter-active-class":"animate__animated animate__bounceInLeft"},{default:r(()=>e[1]||(e[1]=[t("img",{src:V,key:"1",alt:"",class:"w-350px"},null,-1),t("div",{class:"text-3xl text-white",key:"2"},"欢迎使用本系统",-1),t("div",{class:"mt-5 font-normal text-white text-14px",key:"3"}," 开箱即用的中后台管理系统 ",-1)])),_:1})])]),t("div",N,[t("div",$,[t("div",F,[e[2]||(e[2]=t("img",{src:x,alt:"",class:"w-48px h-48px mr-10px"},null,-1)),t("span",G,m(n.value),1)]),t("div",H,[s(p(L),{onChange:f})])]),s(w,{appear:"","enter-active-class":"animate__animated animate__bounceInRight"},{default:r(()=>[t("div",J,[a.value?(l(),c(T,{key:0,class:"p-20px h-auto m-auto lt-xl:rounded-3xl lt-xl:light:bg-white",onToRegister:d})):(l(),c(k,{key:1,class:"p-20px h-auto m-auto lt-xl:rounded-3xl lt-xl:light:bg-white",onToLogin:_}))])]),_:1})])])]),_:1})]))}}),yt=B(K,[["__scopeId","data-v-0f3afdf3"]]);export{yt as default}; diff --git a/assets/LoginForm-BaIImPr6.js b/assets/LoginForm-BaIImPr6.js new file mode 100644 index 00000000..d2f12a1e --- /dev/null +++ b/assets/LoginForm-BaIImPr6.js @@ -0,0 +1 @@ +import{_ as o}from"./LoginForm.vue_vue_type_script_setup_true_lang-BJnt7Swo.js";import"./Form-BTUMYN5B.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css *//* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";export{o as default}; diff --git a/assets/LoginForm-CBofAzQ_.js b/assets/LoginForm-CBofAzQ_.js deleted file mode 100644 index ae0f3e1d..00000000 --- a/assets/LoginForm-CBofAzQ_.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./LoginForm.vue_vue_type_script_setup_true_lang-B_w0J2SY.js";import"./Form-Cq-QZJdy.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css *//* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";export{o as default}; diff --git a/assets/LoginForm.vue_vue_type_script_setup_true_lang-B_w0J2SY.js b/assets/LoginForm.vue_vue_type_script_setup_true_lang-BJnt7Swo.js similarity index 90% rename from assets/LoginForm.vue_vue_type_script_setup_true_lang-B_w0J2SY.js rename to assets/LoginForm.vue_vue_type_script_setup_true_lang-BJnt7Swo.js index cdbdc159..62e0d0f9 100644 --- a/assets/LoginForm.vue_vue_type_script_setup_true_lang-B_w0J2SY.js +++ b/assets/LoginForm.vue_vue_type_script_setup_true_lang-BJnt7Swo.js @@ -1 +1 @@ -var p=(x,y,i)=>new Promise((b,n)=>{var a=s=>{try{d(i.next(s))}catch(c){n(c)}},t=s=>{try{d(i.throw(s))}catch(c){n(c)}},d=s=>s.done?b(s.value):Promise.resolve(s.value).then(a,t);d((i=i.apply(x,y)).next())});import{F as U}from"./Form-Cq-QZJdy.js";import{u as j,b as T,c as K,l as O,d as W,e as $}from"./index-DHbc4UQl.js";/* empty css *//* empty css */import{u as G}from"./useForm-B1_iUn_7.js";import{y as H,aA as J,W as Q,r as F,o as X,w as Y,z as Z,K as ee,u as f,O as e,a4 as g,I as _}from"./vue-chunks-ChjHxF1G.js";import{u as oe}from"./useValidator-Nt61Jv1p.js";import{I as h}from"./Icon-CdhVCYkm.js";import{_ as k}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{y as te,r as se}from"./element-plus-CUBv5pjL.js";const w=30,R="#999",v="var(--el-color-primary)",ge=H({__name:"LoginForm",emits:["to-register"],setup(x,{emit:y}){const{required:i}=oe(),b=y,n=j(),a=T(),t=K(),{currentRoute:d,addRoute:s,push:c}=J(),A={username:[i()],password:[i()]},B=Q([{field:"title",colProps:{span:24},formItemProps:{slots:{default:()=>e("h2",{class:"text-2xl font-bold text-center w-[100%]"},[g("登录")])}}},{field:"username",label:"用户名",component:"Input",colProps:{span:24},componentProps:{placeholder:"admin or test"}},{field:"password",label:"密码",component:"InputPassword",colProps:{span:24},componentProps:{style:{width:"100%"},placeholder:"admin or test"}},{field:"tool",colProps:{span:24},formItemProps:{slots:{default:()=>e(_,null,[e("div",{class:"flex justify-between items-center w-[100%]"},[e(te,{modelValue:m.value,"onUpdate:modelValue":o=>m.value=o,label:"记住我",size:"small"},null),e(se,{type:"primary",underline:!1},{default:()=>[g("忘记密码")]})])])}}},{field:"login",colProps:{span:24},formItemProps:{slots:{default:()=>e(_,null,[e("div",{class:"w-[100%]"},[e(k,{loading:I.value,type:"primary",class:"w-[100%]",onClick:M},{default:()=>[g("登录")]})]),e("div",{class:"w-[100%] mt-15px"},[e(k,{class:"w-[100%]",onClick:N},{default:()=>[g("注册")]})])])}}},{field:"other",component:"Divider",label:"其它登录方式",componentProps:{contentPosition:"center"}},{field:"otherIcon",colProps:{span:24},formItemProps:{slots:{default:()=>e(_,null,[e("div",{class:"flex justify-between w-[100%]"},[e(h,{icon:"ant-design:github-filled",size:w,class:"cursor-pointer ant-icon",color:R,hoverColor:v},null),e(h,{icon:"ant-design:wechat-filled",size:w,class:"cursor-pointer ant-icon",color:R,hoverColor:v},null),e(h,{icon:"ant-design:alipay-circle-filled",size:w,color:R,hoverColor:v,class:"cursor-pointer ant-icon"},null),e(h,{icon:"ant-design:weibo-circle-filled",size:w,color:R,hoverColor:v,class:"cursor-pointer ant-icon"},null)])])}}}]),m=F(a.getRememberMe),S=()=>{const o=a.getLoginInfo;if(o){const{username:r,password:l}=o;V({username:r,password:l})}};X(()=>{S()});const{formRegister:z,formMethods:E}=G(),{getFormData:D,getElFormExpose:L,setValues:V}=E,I=F(!1),P=F("");Y(()=>d.value,o=>{var r;P.value=(r=o==null?void 0:o.query)==null?void 0:r.redirect},{immediate:!0});const M=()=>p(this,null,function*(){const o=yield L();yield o==null?void 0:o.validate(r=>p(this,null,function*(){if(r){I.value=!0;const l=yield D();try{const u=yield O(l);u&&(f(m)?a.setLoginInfo({username:l.username,password:l.password}):a.setLoginInfo(void 0),a.setRememberMe(f(m)),a.setUserInfo(u.data),n.getDynamicRouter?q():(yield t.generateRoutes("static").catch(()=>{}),t.getAddRouters.forEach(C=>{s(C)}),t.setIsAddRouters(!0),c({path:P.value||t.addRouters[0].path})))}finally{I.value=!1}}}))}),q=()=>p(this,null,function*(){const r={roleName:(yield D()).username},l=n.getDynamicRouter&&n.getServerDynamicRouter?yield W(r):yield $(r);if(l){const u=l.data||[];a.setRoleRouters(u),n.getDynamicRouter&&n.getServerDynamicRouter?yield t.generateRoutes("server",u).catch(()=>{}):yield t.generateRoutes("frontEnd",u).catch(()=>{}),t.getAddRouters.forEach(C=>{s(C)}),t.setIsAddRouters(!0),c({path:P.value||t.addRouters[0].path})}}),N=()=>{b("to-register")};return(o,r)=>(Z(),ee(f(U),{schema:B,rules:A,"label-position":"top","hide-required-asterisk":"",size:"large",class:"dark:border-1 dark:border-[var(--el-border-color)] dark:border-solid",onRegister:f(z)},null,8,["schema","onRegister"]))}});export{ge as _}; +var p=(x,y,i)=>new Promise((b,n)=>{var a=s=>{try{d(i.next(s))}catch(c){n(c)}},t=s=>{try{d(i.throw(s))}catch(c){n(c)}},d=s=>s.done?b(s.value):Promise.resolve(s.value).then(a,t);d((i=i.apply(x,y)).next())});import{F as U}from"./Form-BTUMYN5B.js";import{u as j,b as T,c as K,l as O,d as W,e as $}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css */import{u as G}from"./useForm-B3urKjox.js";import{y as H,aA as J,W as Q,r as F,o as X,w as Y,z as Z,K as ee,u as f,O as e,a4 as g,I as _}from"./vue-chunks-ChjHxF1G.js";import{u as oe}from"./useValidator-Nt61Jv1p.js";import{I as h}from"./Icon-BTLftY2_.js";import{_ as k}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{y as te,r as se}from"./element-plus-CUBv5pjL.js";const w=30,R="#999",v="var(--el-color-primary)",ge=H({__name:"LoginForm",emits:["to-register"],setup(x,{emit:y}){const{required:i}=oe(),b=y,n=j(),a=T(),t=K(),{currentRoute:d,addRoute:s,push:c}=J(),A={username:[i()],password:[i()]},B=Q([{field:"title",colProps:{span:24},formItemProps:{slots:{default:()=>e("h2",{class:"text-2xl font-bold text-center w-[100%]"},[g("登录")])}}},{field:"username",label:"用户名",component:"Input",colProps:{span:24},componentProps:{placeholder:"admin or test"}},{field:"password",label:"密码",component:"InputPassword",colProps:{span:24},componentProps:{style:{width:"100%"},placeholder:"admin or test"}},{field:"tool",colProps:{span:24},formItemProps:{slots:{default:()=>e(_,null,[e("div",{class:"flex justify-between items-center w-[100%]"},[e(te,{modelValue:m.value,"onUpdate:modelValue":o=>m.value=o,label:"记住我",size:"small"},null),e(se,{type:"primary",underline:!1},{default:()=>[g("忘记密码")]})])])}}},{field:"login",colProps:{span:24},formItemProps:{slots:{default:()=>e(_,null,[e("div",{class:"w-[100%]"},[e(k,{loading:I.value,type:"primary",class:"w-[100%]",onClick:M},{default:()=>[g("登录")]})]),e("div",{class:"w-[100%] mt-15px"},[e(k,{class:"w-[100%]",onClick:N},{default:()=>[g("注册")]})])])}}},{field:"other",component:"Divider",label:"其它登录方式",componentProps:{contentPosition:"center"}},{field:"otherIcon",colProps:{span:24},formItemProps:{slots:{default:()=>e(_,null,[e("div",{class:"flex justify-between w-[100%]"},[e(h,{icon:"ant-design:github-filled",size:w,class:"cursor-pointer ant-icon",color:R,hoverColor:v},null),e(h,{icon:"ant-design:wechat-filled",size:w,class:"cursor-pointer ant-icon",color:R,hoverColor:v},null),e(h,{icon:"ant-design:alipay-circle-filled",size:w,color:R,hoverColor:v,class:"cursor-pointer ant-icon"},null),e(h,{icon:"ant-design:weibo-circle-filled",size:w,color:R,hoverColor:v,class:"cursor-pointer ant-icon"},null)])])}}}]),m=F(a.getRememberMe),S=()=>{const o=a.getLoginInfo;if(o){const{username:r,password:l}=o;V({username:r,password:l})}};X(()=>{S()});const{formRegister:z,formMethods:E}=G(),{getFormData:D,getElFormExpose:L,setValues:V}=E,I=F(!1),P=F("");Y(()=>d.value,o=>{var r;P.value=(r=o==null?void 0:o.query)==null?void 0:r.redirect},{immediate:!0});const M=()=>p(this,null,function*(){const o=yield L();yield o==null?void 0:o.validate(r=>p(this,null,function*(){if(r){I.value=!0;const l=yield D();try{const u=yield O(l);u&&(f(m)?a.setLoginInfo({username:l.username,password:l.password}):a.setLoginInfo(void 0),a.setRememberMe(f(m)),a.setUserInfo(u.data),n.getDynamicRouter?q():(yield t.generateRoutes("static").catch(()=>{}),t.getAddRouters.forEach(C=>{s(C)}),t.setIsAddRouters(!0),c({path:P.value||t.addRouters[0].path})))}finally{I.value=!1}}}))}),q=()=>p(this,null,function*(){const r={roleName:(yield D()).username},l=n.getDynamicRouter&&n.getServerDynamicRouter?yield W(r):yield $(r);if(l){const u=l.data||[];a.setRoleRouters(u),n.getDynamicRouter&&n.getServerDynamicRouter?yield t.generateRoutes("server",u).catch(()=>{}):yield t.generateRoutes("frontEnd",u).catch(()=>{}),t.getAddRouters.forEach(C=>{s(C)}),t.setIsAddRouters(!0),c({path:P.value||t.addRouters[0].path})}}),N=()=>{b("to-register")};return(o,r)=>(Z(),ee(f(U),{schema:B,rules:A,"label-position":"top","hide-required-asterisk":"",size:"large",class:"dark:border-1 dark:border-[var(--el-border-color)] dark:border-solid",onRegister:f(z)},null,8,["schema","onRegister"]))}});export{ge as _}; diff --git a/assets/Menu-BnxyyFaH.js b/assets/Menu-juqxCjCo.js similarity index 72% rename from assets/Menu-BnxyyFaH.js rename to assets/Menu-juqxCjCo.js index a3d4fe59..a11d257c 100644 --- a/assets/Menu-BnxyyFaH.js +++ b/assets/Menu-juqxCjCo.js @@ -1 +1 @@ -var V=(T,y,i)=>new Promise((w,v)=>{var b=l=>{try{c(i.next(l))}catch(d){v(d)}},k=l=>{try{c(i.throw(l))}catch(d){v(d)}},c=l=>l.done?w(l.value):Promise.resolve(l.value).then(b,k);c((i=i.apply(T,y)).next())});import{g as D}from"./index-CjJH7ccC.js";import{u as E}from"./useTable-B0KZmPSP.js";import{_ as F}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css *//* empty css */import{I as M}from"./Icon-CdhVCYkm.js";import{_ as P}from"./Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js";import{_ as z}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as H}from"./Write.vue_vue_type_script_setup_true_lang-CckuT9uE.js";import{_ as K}from"./Detail.vue_vue_type_script_setup_true_lang-DH3x2BBE.js";import{_ as O}from"./Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js";import{_ as n}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{C as U}from"./element-plus-CUBv5pjL.js";import{y as W,W as I,O as o,I as u,a4 as m,r,z as g,A as j,L as p,u as a,D as q,K as $,H as R}from"./vue-chunks-ChjHxF1G.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css */import"./index-BQQdmLe5.js";import"./Form-Cq-QZJdy.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";import"./useForm-B1_iUn_7.js";import"./useIcon-CKHK9-or.js";import"./useValidator-Nt61Jv1p.js";import"./AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js";import"./Descriptions-CzZKAhwM.js";const G={class:"mb-10px"},Mt=W({__name:"Menu",setup(T){const{tableRegister:y,tableState:i,tableMethods:w}=E({fetchDataApi:()=>V(this,null,function*(){return{list:(yield D()).data.list||[]}})}),{dataList:v,loading:b}=i,{getList:k}=w,c=I([{field:"index",label:"序号",type:"index"},{field:"meta.title",label:"菜单名称",slots:{default:e=>{const t=e.row.meta.title;return o(u,null,[t])}}},{field:"meta.icon",label:"图标",slots:{default:e=>{const t=e.row.meta.icon;return t?o(u,null,[o(M,{icon:t},null)]):null}}},{field:"component",label:"组件",slots:{default:e=>{const t=e.row.component;return o(u,null,[t==="#"?"顶级目录":t==="##"?"子目录":t])}}},{field:"path",label:"路径"},{field:"status",label:"状态",slots:{default:e=>o(u,null,[o(U,{type:e.row.status===0?"danger":"success"},{default:()=>[e.row.status===1?"启用":"禁用"]})])}},{field:"action",label:"操作",width:240,slots:{default:e=>{const t=e.row;return o(u,null,[o(n,{type:"primary",onClick:()=>L(t,"edit")},{default:()=>[m("编辑")]}),o(n,{type:"success",onClick:()=>L(t,"detail")},{default:()=>[m("详情")]}),o(n,{type:"danger"},{default:()=>[m("删除")]})])}}}]),l=I([{field:"meta.title",label:"菜单名称",component:"Input"}]),d=r({}),A=e=>{d.value=e,k()},s=r(!1),C=r(""),_=r(),f=r(""),B=r(),x=r(!1),L=(e,t)=>{C.value=t==="edit"?"编辑":"详情",f.value=t,_.value=e,s.value=!0},N=()=>{C.value="新增",_.value=void 0,s.value=!0,f.value=""},S=()=>V(this,null,function*(){const e=a(B),t=yield e==null?void 0:e.submit();t&&(x.value=!0,setTimeout(()=>{x.value=!1,s.value=!1},1e3))});return(e,t)=>(g(),j(u,null,[o(a(z),null,{default:p(()=>[o(a(P),{schema:l,onReset:A,onSearch:A},null,8,["schema"]),q("div",G,[o(a(n),{type:"primary",onClick:N},{default:p(()=>t[2]||(t[2]=[m("新增")])),_:1})]),o(a(F),{columns:c,"default-expand-all":"","node-key":"id",data:a(v),loading:a(b),onRegister:a(y)},null,8,["columns","data","loading","onRegister"])]),_:1}),o(a(O),{modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=h=>s.value=h),title:C.value},{footer:p(()=>[f.value!=="detail"?(g(),$(a(n),{key:0,type:"primary",loading:x.value,onClick:S},{default:p(()=>t[3]||(t[3]=[m(" 保存 ")])),_:1},8,["loading"])):R("",!0),o(a(n),{onClick:t[0]||(t[0]=h=>s.value=!1)},{default:p(()=>t[4]||(t[4]=[m("关闭")])),_:1})]),default:p(()=>[f.value!=="detail"?(g(),$(H,{key:0,ref_key:"writeRef",ref:B,"current-row":_.value},null,8,["current-row"])):R("",!0),f.value==="detail"?(g(),$(K,{key:1,"current-row":_.value},null,8,["current-row"])):R("",!0)]),_:1},8,["modelValue","title"])],64))}});export{Mt as default}; +var V=(T,y,i)=>new Promise((w,v)=>{var b=l=>{try{c(i.next(l))}catch(d){v(d)}},k=l=>{try{c(i.throw(l))}catch(d){v(d)}},c=l=>l.done?w(l.value):Promise.resolve(l.value).then(b,k);c((i=i.apply(T,y)).next())});import{g as D}from"./index-iuvt-R6t.js";import{u as E}from"./useTable-CCTWSpiR.js";import{_ as F}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css *//* empty css */import{I as M}from"./Icon-BTLftY2_.js";import{_ as P}from"./Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js";import{_ as z}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as H}from"./Write.vue_vue_type_script_setup_true_lang-yRGGtvFF.js";import{_ as K}from"./Detail.vue_vue_type_script_setup_true_lang-OorPkSVl.js";import{_ as O}from"./Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js";import{_ as n}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{C as U}from"./element-plus-CUBv5pjL.js";import{y as W,W as I,O as o,I as u,a4 as m,r,z as g,A as j,L as p,u as a,D as q,K as $,H as R}from"./vue-chunks-ChjHxF1G.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css */import"./index-DBEGipag.js";import"./Form-BTUMYN5B.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";import"./useForm-B3urKjox.js";import"./useIcon-B724d8dT.js";import"./useValidator-Nt61Jv1p.js";import"./AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js";import"./Descriptions-rpjc8zzb.js";const G={class:"mb-10px"},Mt=W({__name:"Menu",setup(T){const{tableRegister:y,tableState:i,tableMethods:w}=E({fetchDataApi:()=>V(this,null,function*(){return{list:(yield D()).data.list||[]}})}),{dataList:v,loading:b}=i,{getList:k}=w,c=I([{field:"index",label:"序号",type:"index"},{field:"meta.title",label:"菜单名称",slots:{default:e=>{const t=e.row.meta.title;return o(u,null,[t])}}},{field:"meta.icon",label:"图标",slots:{default:e=>{const t=e.row.meta.icon;return t?o(u,null,[o(M,{icon:t},null)]):null}}},{field:"component",label:"组件",slots:{default:e=>{const t=e.row.component;return o(u,null,[t==="#"?"顶级目录":t==="##"?"子目录":t])}}},{field:"path",label:"路径"},{field:"status",label:"状态",slots:{default:e=>o(u,null,[o(U,{type:e.row.status===0?"danger":"success"},{default:()=>[e.row.status===1?"启用":"禁用"]})])}},{field:"action",label:"操作",width:240,slots:{default:e=>{const t=e.row;return o(u,null,[o(n,{type:"primary",onClick:()=>L(t,"edit")},{default:()=>[m("编辑")]}),o(n,{type:"success",onClick:()=>L(t,"detail")},{default:()=>[m("详情")]}),o(n,{type:"danger"},{default:()=>[m("删除")]})])}}}]),l=I([{field:"meta.title",label:"菜单名称",component:"Input"}]),d=r({}),A=e=>{d.value=e,k()},s=r(!1),C=r(""),_=r(),f=r(""),B=r(),x=r(!1),L=(e,t)=>{C.value=t==="edit"?"编辑":"详情",f.value=t,_.value=e,s.value=!0},N=()=>{C.value="新增",_.value=void 0,s.value=!0,f.value=""},S=()=>V(this,null,function*(){const e=a(B),t=yield e==null?void 0:e.submit();t&&(x.value=!0,setTimeout(()=>{x.value=!1,s.value=!1},1e3))});return(e,t)=>(g(),j(u,null,[o(a(z),null,{default:p(()=>[o(a(P),{schema:l,onReset:A,onSearch:A},null,8,["schema"]),q("div",G,[o(a(n),{type:"primary",onClick:N},{default:p(()=>t[2]||(t[2]=[m("新增")])),_:1})]),o(a(F),{columns:c,"default-expand-all":"","node-key":"id",data:a(v),loading:a(b),onRegister:a(y)},null,8,["columns","data","loading","onRegister"])]),_:1}),o(a(O),{modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=h=>s.value=h),title:C.value},{footer:p(()=>[f.value!=="detail"?(g(),$(a(n),{key:0,type:"primary",loading:x.value,onClick:S},{default:p(()=>t[3]||(t[3]=[m(" 保存 ")])),_:1},8,["loading"])):R("",!0),o(a(n),{onClick:t[0]||(t[0]=h=>s.value=!1)},{default:p(()=>t[4]||(t[4]=[m("关闭")])),_:1})]),default:p(()=>[f.value!=="detail"?(g(),$(H,{key:0,ref_key:"writeRef",ref:B,"current-row":_.value},null,8,["current-row"])):R("",!0),f.value==="detail"?(g(),$(K,{key:1,"current-row":_.value},null,8,["current-row"])):R("",!0)]),_:1},8,["modelValue","title"])],64))}});export{Mt as default}; diff --git a/assets/Menu111-CTvkJeB3.js b/assets/Menu111-BYJERKej.js similarity index 72% rename from assets/Menu111-CTvkJeB3.js rename to assets/Menu111-BYJERKej.js index e21dc6bb..c3e78e0f 100644 --- a/assets/Menu111-CTvkJeB3.js +++ b/assets/Menu111-BYJERKej.js @@ -1 +1 @@ -import"./index-DHbc4UQl.js";import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{A as r}from"./element-plus-CUBv5pjL.js";import{y as n,r as l,z as m,K as p,L as u,D as i,a4 as d,O as f,u as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const _={class:"flex items-center"},w=n({name:"Menu111",__name:"Menu111",setup(c){const t=l("");return(x,e)=>(m(),p(a(s),{title:"多级菜单缓存"},{default:u(()=>[i("div",_,[e[1]||(e[1]=d("Menu111: ")),f(a(r),{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=o=>t.value=o),class:"pl-20px"},null,8,["modelValue"])])]),_:1}))}});export{w as default}; +import"./index-wnyZ7Zvr.js";import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{A as r}from"./element-plus-CUBv5pjL.js";import{y as n,r as l,z as m,K as p,L as u,D as i,a4 as d,O as f,u as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const _={class:"flex items-center"},w=n({name:"Menu111",__name:"Menu111",setup(c){const t=l("");return(x,e)=>(m(),p(a(s),{title:"多级菜单缓存"},{default:u(()=>[i("div",_,[e[1]||(e[1]=d("Menu111: ")),f(a(r),{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=o=>t.value=o),class:"pl-20px"},null,8,["modelValue"])])]),_:1}))}});export{w as default}; diff --git a/assets/Menu12-CwOmbDhY.js b/assets/Menu12-CV0PrZli.js similarity index 72% rename from assets/Menu12-CwOmbDhY.js rename to assets/Menu12-CV0PrZli.js index 025142e7..0c261c57 100644 --- a/assets/Menu12-CwOmbDhY.js +++ b/assets/Menu12-CV0PrZli.js @@ -1 +1 @@ -import"./index-DHbc4UQl.js";import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{A as r}from"./element-plus-CUBv5pjL.js";import{y as n,r as l,z as m,K as p,L as u,D as i,a4 as d,O as f,u as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const _={class:"flex items-center"},w=n({name:"Menu12",__name:"Menu12",setup(c){const t=l("");return(x,e)=>(m(),p(a(s),{title:"多级菜单缓存"},{default:u(()=>[i("div",_,[e[1]||(e[1]=d("Menu12: ")),f(a(r),{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=o=>t.value=o),class:"pl-20px"},null,8,["modelValue"])])]),_:1}))}});export{w as default}; +import"./index-wnyZ7Zvr.js";import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{A as r}from"./element-plus-CUBv5pjL.js";import{y as n,r as l,z as m,K as p,L as u,D as i,a4 as d,O as f,u as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const _={class:"flex items-center"},w=n({name:"Menu12",__name:"Menu12",setup(c){const t=l("");return(x,e)=>(m(),p(a(s),{title:"多级菜单缓存"},{default:u(()=>[i("div",_,[e[1]||(e[1]=d("Menu12: ")),f(a(r),{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=o=>t.value=o),class:"pl-20px"},null,8,["modelValue"])])]),_:1}))}});export{w as default}; diff --git a/assets/Menu2-eNKIVwxQ.js b/assets/Menu2-DmSnK1_9.js similarity index 72% rename from assets/Menu2-eNKIVwxQ.js rename to assets/Menu2-DmSnK1_9.js index 99090163..009461d0 100644 --- a/assets/Menu2-eNKIVwxQ.js +++ b/assets/Menu2-DmSnK1_9.js @@ -1 +1 @@ -import"./index-DHbc4UQl.js";import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{A as r}from"./element-plus-CUBv5pjL.js";import{y as n,r as l,z as m,K as p,L as u,D as i,a4 as d,O as f,u as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const _={class:"flex items-center"},w=n({name:"Menu2",__name:"Menu2",setup(c){const t=l("");return(x,e)=>(m(),p(a(s),{title:"多级菜单缓存"},{default:u(()=>[i("div",_,[e[1]||(e[1]=d("Menu2: ")),f(a(r),{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=o=>t.value=o),class:"pl-20px"},null,8,["modelValue"])])]),_:1}))}});export{w as default}; +import"./index-wnyZ7Zvr.js";import{_ as s}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{A as r}from"./element-plus-CUBv5pjL.js";import{y as n,r as l,z as m,K as p,L as u,D as i,a4 as d,O as f,u as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const _={class:"flex items-center"},w=n({name:"Menu2",__name:"Menu2",setup(c){const t=l("");return(x,e)=>(m(),p(a(s),{title:"多级菜单缓存"},{default:u(()=>[i("div",_,[e[1]||(e[1]=d("Menu2: ")),f(a(r),{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=o=>t.value=o),class:"pl-20px"},null,8,["modelValue"])])]),_:1}))}});export{w as default}; diff --git a/assets/MultipleTabs-aIk0Mle1.js b/assets/MultipleTabs-Bh9UBkkQ.js similarity index 74% rename from assets/MultipleTabs-aIk0Mle1.js rename to assets/MultipleTabs-Bh9UBkkQ.js index 51c4cc2d..1fe37bc8 100644 --- a/assets/MultipleTabs-aIk0Mle1.js +++ b/assets/MultipleTabs-Bh9UBkkQ.js @@ -1 +1 @@ -import{_ as p}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{y as i,aA as c,z as a,K as m,L as o,A as l,I as u,a3 as _,O as f,u as r,a4 as d,Q as k}from"./vue-chunks-ChjHxF1G.js";import{_ as y}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const V=i({__name:"MultipleTabs",setup(x){const{push:s}=c(),n=t=>{s(`/function/multiple-tabs-demo/${t}`)};return(t,C)=>(a(),m(r(p),null,{default:o(()=>[(a(),l(u,null,_(5,e=>f(r(y),{key:e,type:"primary",onClick:$=>n(e)},{default:o(()=>[d(" 打开详情页"+k(e),1)]),_:2},1032,["onClick"])),64))]),_:1}))}});export{V as default}; +import{_ as p}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{y as i,aA as c,z as a,K as m,L as o,A as l,I as u,a3 as _,O as f,u as r,a4 as d,Q as k}from"./vue-chunks-ChjHxF1G.js";import{_ as y}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const V=i({__name:"MultipleTabs",setup(x){const{push:s}=c(),n=t=>{s(`/function/multiple-tabs-demo/${t}`)};return(t,C)=>(a(),m(r(p),null,{default:o(()=>[(a(),l(u,null,_(5,e=>f(r(y),{key:e,type:"primary",onClick:$=>n(e)},{default:o(()=>[d(" 打开详情页"+k(e),1)]),_:2},1032,["onClick"])),64))]),_:1}))}});export{V as default}; diff --git a/assets/MultipleTabsDemo-kTOUOpYL.js b/assets/MultipleTabsDemo-Dih0tn0w.js similarity index 73% rename from assets/MultipleTabsDemo-kTOUOpYL.js rename to assets/MultipleTabsDemo-Dih0tn0w.js index 53aee6ec..e608eca0 100644 --- a/assets/MultipleTabsDemo-kTOUOpYL.js +++ b/assets/MultipleTabsDemo-Dih0tn0w.js @@ -1 +1 @@ -import{_ as l}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./index-DHbc4UQl.js";import{y as m,aE as u,r as n,z as p,K as i,L as f,a4 as d,O as _,u as t}from"./vue-chunks-ChjHxF1G.js";import{u as c}from"./useTagsView-CijhIO7t.js";import{A as V}from"./element-plus-CUBv5pjL.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const b=m({__name:"MultipleTabsDemo",setup(v){const{setTitle:o}=c(),{params:s}=u(),a=n(s.id);return o(`详情页-${a.value}`),(x,e)=>(p(),i(t(l),null,{default:f(()=>[e[1]||(e[1]=d(" 获取参数: ")),_(t(V),{modelValue:a.value,"onUpdate:modelValue":e[0]||(e[0]=r=>a.value=r)},null,8,["modelValue"])]),_:1}))}});export{b as default}; +import{_ as l}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./index-wnyZ7Zvr.js";import{y as m,aE as u,r as n,z as p,K as i,L as f,a4 as d,O as _,u as t}from"./vue-chunks-ChjHxF1G.js";import{u as c}from"./useTagsView-zngDgP3k.js";import{A as V}from"./element-plus-CUBv5pjL.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const b=m({__name:"MultipleTabsDemo",setup(v){const{setTitle:o}=c(),{params:s}=u(),a=n(s.id);return o(`详情页-${a.value}`),(x,e)=>(p(),i(t(l),null,{default:f(()=>[e[1]||(e[1]=d(" 获取参数: ")),_(t(V),{modelValue:a.value,"onUpdate:modelValue":e[0]||(e[0]=r=>a.value=r)},null,8,["modelValue"])]),_:1}))}});export{b as default}; diff --git a/assets/PanelGroup-BQ99DrB-.js b/assets/PanelGroup-DFIPybM9.js similarity index 95% rename from assets/PanelGroup-BQ99DrB-.js rename to assets/PanelGroup-DFIPybM9.js index f59b77ad..c6d2834a 100644 --- a/assets/PanelGroup-BQ99DrB-.js +++ b/assets/PanelGroup-DFIPybM9.js @@ -1 +1 @@ -var h=(v,n,i)=>new Promise((y,d)=>{var o=r=>{try{f(i.next(r))}catch(g){d(g)}},c=r=>{try{f(i.throw(r))}catch(g){d(g)}},f=r=>r.done?y(r.value):Promise.resolve(r.value).then(o,c);f((i=i.apply(v,n)).next())});import{I as b,_ as w}from"./Icon-CdhVCYkm.js";import{r as m}from"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{_}from"./CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js";import{k as p,l as u,m as x,n as k}from"./element-plus-CUBv5pjL.js";import{y as j,r as A,W as C,z as S,K as z,L as a,O as e,u as s,D as t,J as l}from"./vue-chunks-ChjHxF1G.js";const P=()=>m.get({url:"/mock/analysis/total"}),Z=()=>m.get({url:"/mock/analysis/userAccessSource"}),ee=()=>m.get({url:"/mock/analysis/weeklyUserActivity"}),te=()=>m.get({url:"/mock/analysis/monthlySales"}),E={class:l("panel__item flex justify-between")},I={class:l("panel__item--icon panel__item--peoples p-16px inline-block rounded-6px")},O={class:"flex flex-col justify-between"},B={class:l("panel__item flex justify-between")},G={class:l("panel__item--icon panel__item--message p-16px inline-block rounded-6px")},U={class:"flex flex-col justify-between"},M={class:l("panel__item flex justify-between")},N={class:l("panel__item--icon panel__item--money p-16px inline-block rounded-6px")},V={class:"flex flex-col justify-between"},W={class:l("panel__item flex justify-between")},$={class:l("panel__item--icon panel__item--shopping p-16px inline-block rounded-6px")},q={class:"flex flex-col justify-between"},D=j({__name:"PanelGroup",setup(v){const n=A(!0);let i=C({users:0,messages:0,moneys:0,shoppings:0});return h(this,null,function*(){const d=yield P().catch(()=>{}).finally(()=>{n.value=!1});i=Object.assign(i,(d==null?void 0:d.data)||{})}),(d,o)=>{const c=b;return S(),z(s(k),{gutter:20,justify:"space-between",class:"panel"},{default:a(()=>[e(s(p),{xl:6,lg:6,md:12,sm:12,xs:24},{default:a(()=>[e(s(u),{shadow:"hover",class:"mb-20px"},{default:a(()=>[e(s(x),{loading:n.value,animated:"",rows:2},{default:a(()=>[t("div",E,[t("div",null,[t("div",I,[e(c,{icon:"svg-icon:peoples",size:40})])]),t("div",O,[o[0]||(o[0]=t("div",{class:l("panel__item--text text-16px text-gray-500 text-right")},"新增用户",-1)),e(s(_),{class:"text-20px font-700 text-right","start-val":0,"end-val":102400,duration:2600})])])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(p),{xl:6,lg:6,md:12,sm:12,xs:24},{default:a(()=>[e(s(u),{shadow:"hover",class:"mb-20px"},{default:a(()=>[e(s(x),{loading:n.value,animated:"",rows:2},{default:a(()=>[t("div",B,[t("div",null,[t("div",G,[e(c,{icon:"svg-icon:message",size:40})])]),t("div",U,[o[1]||(o[1]=t("div",{class:l("panel__item--text text-16px text-gray-500 text-right")},"未读消息",-1)),e(s(_),{class:"text-20px font-700 text-right","start-val":0,"end-val":81212,duration:2600})])])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(p),{xl:6,lg:6,md:12,sm:12,xs:24},{default:a(()=>[e(s(u),{shadow:"hover",class:"mb-20px"},{default:a(()=>[e(s(x),{loading:n.value,animated:"",rows:2},{default:a(()=>[t("div",M,[t("div",null,[t("div",N,[e(c,{icon:"svg-icon:money",size:40})])]),t("div",V,[o[2]||(o[2]=t("div",{class:l("panel__item--text text-16px text-gray-500 text-right")},"成交金额",-1)),e(s(_),{class:"text-20px font-700 text-right","start-val":0,"end-val":9280,duration:2600})])])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(p),{xl:6,lg:6,md:12,sm:12,xs:24},{default:a(()=>[e(s(u),{shadow:"hover",class:"mb-20px"},{default:a(()=>[e(s(x),{loading:n.value,animated:"",rows:2},{default:a(()=>[t("div",W,[t("div",null,[t("div",$,[e(c,{icon:"svg-icon:shopping",size:40})])]),t("div",q,[o[3]||(o[3]=t("div",{class:l("panel__item--text text-16px text-gray-500 text-right")},"购物总量",-1)),e(s(_),{class:"text-20px font-700 text-right","start-val":0,"end-val":13600,duration:2600})])])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})}}}),J=w(D,[["__scopeId","data-v-a47e3ee7"]]),se=Object.freeze(Object.defineProperty({__proto__:null,default:J},Symbol.toStringTag,{value:"Module"}));export{J as P,ee as a,te as b,se as c,Z as g}; +var h=(v,n,i)=>new Promise((y,d)=>{var o=r=>{try{f(i.next(r))}catch(g){d(g)}},c=r=>{try{f(i.throw(r))}catch(g){d(g)}},f=r=>r.done?y(r.value):Promise.resolve(r.value).then(o,c);f((i=i.apply(v,n)).next())});import{I as b,_ as w}from"./Icon-BTLftY2_.js";import{r as m}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{_}from"./CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js";import{k as p,l as u,m as x,n as k}from"./element-plus-CUBv5pjL.js";import{y as j,r as A,W as C,z as S,K as z,L as a,O as e,u as s,D as t,J as l}from"./vue-chunks-ChjHxF1G.js";const P=()=>m.get({url:"/mock/analysis/total"}),Z=()=>m.get({url:"/mock/analysis/userAccessSource"}),ee=()=>m.get({url:"/mock/analysis/weeklyUserActivity"}),te=()=>m.get({url:"/mock/analysis/monthlySales"}),E={class:l("panel__item flex justify-between")},I={class:l("panel__item--icon panel__item--peoples p-16px inline-block rounded-6px")},O={class:"flex flex-col justify-between"},B={class:l("panel__item flex justify-between")},G={class:l("panel__item--icon panel__item--message p-16px inline-block rounded-6px")},U={class:"flex flex-col justify-between"},M={class:l("panel__item flex justify-between")},N={class:l("panel__item--icon panel__item--money p-16px inline-block rounded-6px")},V={class:"flex flex-col justify-between"},W={class:l("panel__item flex justify-between")},$={class:l("panel__item--icon panel__item--shopping p-16px inline-block rounded-6px")},q={class:"flex flex-col justify-between"},D=j({__name:"PanelGroup",setup(v){const n=A(!0);let i=C({users:0,messages:0,moneys:0,shoppings:0});return h(this,null,function*(){const d=yield P().catch(()=>{}).finally(()=>{n.value=!1});i=Object.assign(i,(d==null?void 0:d.data)||{})}),(d,o)=>{const c=b;return S(),z(s(k),{gutter:20,justify:"space-between",class:"panel"},{default:a(()=>[e(s(p),{xl:6,lg:6,md:12,sm:12,xs:24},{default:a(()=>[e(s(u),{shadow:"hover",class:"mb-20px"},{default:a(()=>[e(s(x),{loading:n.value,animated:"",rows:2},{default:a(()=>[t("div",E,[t("div",null,[t("div",I,[e(c,{icon:"svg-icon:peoples",size:40})])]),t("div",O,[o[0]||(o[0]=t("div",{class:l("panel__item--text text-16px text-gray-500 text-right")},"新增用户",-1)),e(s(_),{class:"text-20px font-700 text-right","start-val":0,"end-val":102400,duration:2600})])])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(p),{xl:6,lg:6,md:12,sm:12,xs:24},{default:a(()=>[e(s(u),{shadow:"hover",class:"mb-20px"},{default:a(()=>[e(s(x),{loading:n.value,animated:"",rows:2},{default:a(()=>[t("div",B,[t("div",null,[t("div",G,[e(c,{icon:"svg-icon:message",size:40})])]),t("div",U,[o[1]||(o[1]=t("div",{class:l("panel__item--text text-16px text-gray-500 text-right")},"未读消息",-1)),e(s(_),{class:"text-20px font-700 text-right","start-val":0,"end-val":81212,duration:2600})])])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(p),{xl:6,lg:6,md:12,sm:12,xs:24},{default:a(()=>[e(s(u),{shadow:"hover",class:"mb-20px"},{default:a(()=>[e(s(x),{loading:n.value,animated:"",rows:2},{default:a(()=>[t("div",M,[t("div",null,[t("div",N,[e(c,{icon:"svg-icon:money",size:40})])]),t("div",V,[o[2]||(o[2]=t("div",{class:l("panel__item--text text-16px text-gray-500 text-right")},"成交金额",-1)),e(s(_),{class:"text-20px font-700 text-right","start-val":0,"end-val":9280,duration:2600})])])]),_:1},8,["loading"])]),_:1})]),_:1}),e(s(p),{xl:6,lg:6,md:12,sm:12,xs:24},{default:a(()=>[e(s(u),{shadow:"hover",class:"mb-20px"},{default:a(()=>[e(s(x),{loading:n.value,animated:"",rows:2},{default:a(()=>[t("div",W,[t("div",null,[t("div",$,[e(c,{icon:"svg-icon:shopping",size:40})])]),t("div",q,[o[3]||(o[3]=t("div",{class:l("panel__item--text text-16px text-gray-500 text-right")},"购物总量",-1)),e(s(_),{class:"text-20px font-700 text-right","start-val":0,"end-val":13600,duration:2600})])])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})}}}),J=w(D,[["__scopeId","data-v-a47e3ee7"]]),se=Object.freeze(Object.defineProperty({__proto__:null,default:J},Symbol.toStringTag,{value:"Module"}));export{J as P,ee as a,te as b,se as c,Z as g}; diff --git a/assets/Qrcode-uZHiTaF5.js b/assets/Qrcode-DVJsoV0Q.js similarity index 99% rename from assets/Qrcode-uZHiTaF5.js rename to assets/Qrcode-DVJsoV0Q.js index b1ab3bef..68030c41 100644 --- a/assets/Qrcode-uZHiTaF5.js +++ b/assets/Qrcode-DVJsoV0Q.js @@ -1,4 +1,4 @@ -var ve=Object.defineProperty;var kt=Object.getOwnPropertySymbols;var Te=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable;var qt=(o,i,r)=>i in o?ve(o,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[i]=r,Ut=(o,i)=>{for(var r in i||(i={}))Te.call(i,r)&&qt(o,r,i[r]);if(kt)for(var r of kt(i))Ae.call(i,r)&&qt(o,r,i[r]);return o};var at=(o,i,r)=>new Promise((e,t)=>{var n=u=>{try{s(r.next(u))}catch(c){t(c)}},a=u=>{try{s(r.throw(u))}catch(c){t(c)}},s=u=>u.done?e(u.value):Promise.resolve(u.value).then(n,a);s((r=r.apply(o,i)).next())});import{p as tt,a as Ft,u as Se}from"./index-DHbc4UQl.js";import{I as Ie,_ as Ne}from"./Icon-CdhVCYkm.js";import{g as Me,d as Pe,K as Le,n as _e,k as x,l as V,E as zt}from"./element-plus-CUBv5pjL.js";import{y as Ce,r as Pt,c as Lt,w as De,T as ke,z as nt,A as xt,K as pe,M as qe,J as Vt,D as q,O as M,Q as Ue,H as Fe,R as ze,n as xe,u as N,L as D}from"./vue-chunks-ChjHxF1G.js";import{_ as Ve}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";/* empty css *//* empty css */import{_ as Ht}from"./logo-CqD-cdkl.js";/* empty css */var $={},ut,Kt;function He(){return Kt||(Kt=1,ut=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ut}var lt={},O={},Ot;function Y(){if(Ot)return O;Ot=1;let o;const i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return O.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17},O.getSymbolTotalCodewords=function(e){return i[e]},O.getBCHDigit=function(r){let e=0;for(;r!==0;)e++,r>>>=1;return e},O.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');o=e},O.isKanjiModeEnabled=function(){return typeof o!="undefined"},O.toSJIS=function(e){return o(e)},O}var ct={},Jt;function _t(){return Jt||(Jt=1,function(o){o.L={bit:1},o.M={bit:0},o.Q={bit:3},o.H={bit:2};function i(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return o.L;case"m":case"medium":return o.M;case"q":case"quartile":return o.Q;case"h":case"high":return o.H;default:throw new Error("Unknown EC Level: "+r)}}o.isValid=function(e){return e&&typeof e.bit!="undefined"&&e.bit>=0&&e.bit<4},o.from=function(e,t){if(o.isValid(e))return e;try{return i(e)}catch(n){return t}}}(ct)),ct}var ft,jt;function Ke(){if(jt)return ft;jt=1;function o(){this.buffer=[],this.length=0}return o.prototype={get:function(i){const r=Math.floor(i/8);return(this.buffer[r]>>>7-i%8&1)===1},put:function(i,r){for(let e=0;e>>r-e-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(i){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),i&&(this.buffer[r]|=128>>>this.length%8),this.length++}},ft=o,ft}var dt,Yt;function Oe(){if(Yt)return dt;Yt=1;function o(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}return o.prototype.set=function(i,r,e,t){const n=i*this.size+r;this.data[n]=e,t&&(this.reservedBit[n]=!0)},o.prototype.get=function(i,r){return this.data[i*this.size+r]},o.prototype.xor=function(i,r,e){this.data[i*this.size+r]^=e},o.prototype.isReserved=function(i,r){return this.reservedBit[i*this.size+r]},dt=o,dt}var gt={},Qt;function Je(){return Qt||(Qt=1,function(o){const i=Y().getSymbolSize;o.getRowColCoords=function(e){if(e===1)return[];const t=Math.floor(e/7)+2,n=i(e),a=n===145?26:Math.ceil((n-13)/(2*t-2))*2,s=[n-7];for(let u=1;u=0&&t<=7},o.from=function(t){return o.isValid(t)?parseInt(t,10):void 0},o.getPenaltyN1=function(t){const n=t.size;let a=0,s=0,u=0,c=null,p=null;for(let v=0;v=5&&(a+=i.N1+(s-5)),c=h,s=1),h=t.get(b,v),h===p?u++:(u>=5&&(a+=i.N1+(u-5)),p=h,u=1)}s>=5&&(a+=i.N1+(s-5)),u>=5&&(a+=i.N1+(u-5))}return a},o.getPenaltyN2=function(t){const n=t.size;let a=0;for(let s=0;s=10&&(s===1488||s===93)&&a++,u=u<<1&2047|t.get(p,c),p>=10&&(u===1488||u===93)&&a++}return a*i.N3},o.getPenaltyN4=function(t){let n=0;const a=t.data.length;for(let u=0;u=0;){const a=n[0];for(let u=0;u0){const s=new Uint8Array(this.degree);return s.set(n,a),s}return n},Ct=i,Ct}var pt={},yt={},Et={},ee;function Ee(){return ee||(ee=1,Et.isValid=function(i){return!isNaN(i)&&i>=1&&i<=40}),Et}var U={},ne;function Be(){if(ne)return U;ne=1;const o="[0-9]+",i="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const e="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+`)(?:.|[\r +var ve=Object.defineProperty;var kt=Object.getOwnPropertySymbols;var Te=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable;var qt=(o,i,r)=>i in o?ve(o,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[i]=r,Ut=(o,i)=>{for(var r in i||(i={}))Te.call(i,r)&&qt(o,r,i[r]);if(kt)for(var r of kt(i))Ae.call(i,r)&&qt(o,r,i[r]);return o};var at=(o,i,r)=>new Promise((e,t)=>{var n=u=>{try{s(r.next(u))}catch(c){t(c)}},a=u=>{try{s(r.throw(u))}catch(c){t(c)}},s=u=>u.done?e(u.value):Promise.resolve(u.value).then(n,a);s((r=r.apply(o,i)).next())});import{p as tt,a as Ft,u as Se}from"./index-wnyZ7Zvr.js";import{I as Ie,_ as Ne}from"./Icon-BTLftY2_.js";import{g as Me,d as Pe,K as Le,n as _e,k as x,l as V,E as zt}from"./element-plus-CUBv5pjL.js";import{y as Ce,r as Pt,c as Lt,w as De,T as ke,z as nt,A as xt,K as pe,M as qe,J as Vt,D as q,O as M,Q as Ue,H as Fe,R as ze,n as xe,u as N,L as D}from"./vue-chunks-ChjHxF1G.js";import{_ as Ve}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";/* empty css *//* empty css */import{_ as Ht}from"./logo-CqD-cdkl.js";/* empty css */var $={},ut,Kt;function He(){return Kt||(Kt=1,ut=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ut}var lt={},O={},Ot;function Y(){if(Ot)return O;Ot=1;let o;const i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return O.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17},O.getSymbolTotalCodewords=function(e){return i[e]},O.getBCHDigit=function(r){let e=0;for(;r!==0;)e++,r>>>=1;return e},O.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');o=e},O.isKanjiModeEnabled=function(){return typeof o!="undefined"},O.toSJIS=function(e){return o(e)},O}var ct={},Jt;function _t(){return Jt||(Jt=1,function(o){o.L={bit:1},o.M={bit:0},o.Q={bit:3},o.H={bit:2};function i(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return o.L;case"m":case"medium":return o.M;case"q":case"quartile":return o.Q;case"h":case"high":return o.H;default:throw new Error("Unknown EC Level: "+r)}}o.isValid=function(e){return e&&typeof e.bit!="undefined"&&e.bit>=0&&e.bit<4},o.from=function(e,t){if(o.isValid(e))return e;try{return i(e)}catch(n){return t}}}(ct)),ct}var ft,jt;function Ke(){if(jt)return ft;jt=1;function o(){this.buffer=[],this.length=0}return o.prototype={get:function(i){const r=Math.floor(i/8);return(this.buffer[r]>>>7-i%8&1)===1},put:function(i,r){for(let e=0;e>>r-e-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(i){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),i&&(this.buffer[r]|=128>>>this.length%8),this.length++}},ft=o,ft}var dt,Yt;function Oe(){if(Yt)return dt;Yt=1;function o(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}return o.prototype.set=function(i,r,e,t){const n=i*this.size+r;this.data[n]=e,t&&(this.reservedBit[n]=!0)},o.prototype.get=function(i,r){return this.data[i*this.size+r]},o.prototype.xor=function(i,r,e){this.data[i*this.size+r]^=e},o.prototype.isReserved=function(i,r){return this.reservedBit[i*this.size+r]},dt=o,dt}var gt={},Qt;function Je(){return Qt||(Qt=1,function(o){const i=Y().getSymbolSize;o.getRowColCoords=function(e){if(e===1)return[];const t=Math.floor(e/7)+2,n=i(e),a=n===145?26:Math.ceil((n-13)/(2*t-2))*2,s=[n-7];for(let u=1;u=0&&t<=7},o.from=function(t){return o.isValid(t)?parseInt(t,10):void 0},o.getPenaltyN1=function(t){const n=t.size;let a=0,s=0,u=0,c=null,p=null;for(let v=0;v=5&&(a+=i.N1+(s-5)),c=h,s=1),h=t.get(b,v),h===p?u++:(u>=5&&(a+=i.N1+(u-5)),p=h,u=1)}s>=5&&(a+=i.N1+(s-5)),u>=5&&(a+=i.N1+(u-5))}return a},o.getPenaltyN2=function(t){const n=t.size;let a=0;for(let s=0;s=10&&(s===1488||s===93)&&a++,u=u<<1&2047|t.get(p,c),p>=10&&(u===1488||u===93)&&a++}return a*i.N3},o.getPenaltyN4=function(t){let n=0;const a=t.data.length;for(let u=0;u=0;){const a=n[0];for(let u=0;u0){const s=new Uint8Array(this.degree);return s.set(n,a),s}return n},Ct=i,Ct}var pt={},yt={},Et={},ee;function Ee(){return ee||(ee=1,Et.isValid=function(i){return!isNaN(i)&&i>=1&&i<=40}),Et}var U={},ne;function Be(){if(ne)return U;ne=1;const o="[0-9]+",i="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const e="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+`)(?:.|[\r ]))+`;U.KANJI=new RegExp(r,"g"),U.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),U.BYTE=new RegExp(e,"g"),U.NUMERIC=new RegExp(o,"g"),U.ALPHANUMERIC=new RegExp(i,"g");const t=new RegExp("^"+r+"$"),n=new RegExp("^"+o+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return U.testKanji=function(u){return t.test(u)},U.testNumeric=function(u){return n.test(u)},U.testAlphanumeric=function(u){return a.test(u)},U}var re;function Q(){return re||(re=1,function(o){const i=Ee(),r=Be();o.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},o.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},o.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},o.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},o.MIXED={bit:-1},o.getCharCountIndicator=function(n,a){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!i.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?n.ccBits[0]:a<27?n.ccBits[1]:n.ccBits[2]},o.getBestModeForData=function(n){return r.testNumeric(n)?o.NUMERIC:r.testAlphanumeric(n)?o.ALPHANUMERIC:r.testKanji(n)?o.KANJI:o.BYTE},o.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},o.isValid=function(n){return n&&n.bit&&n.ccBits};function e(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return o.NUMERIC;case"alphanumeric":return o.ALPHANUMERIC;case"kanji":return o.KANJI;case"byte":return o.BYTE;default:throw new Error("Unknown mode: "+t)}}o.from=function(n,a){if(o.isValid(n))return n;try{return e(n)}catch(s){return a}}}(yt)),yt}var oe;function We(){return oe||(oe=1,function(o){const i=Y(),r=ye(),e=_t(),t=Q(),n=Ee(),a=7973,s=i.getBCHDigit(a);function u(b,h,S){for(let I=1;I<=40;I++)if(h<=o.getCapacity(I,S,b))return I}function c(b,h){return t.getCharCountIndicator(b,h)+4}function p(b,h){let S=0;return b.forEach(function(I){const L=c(I.mode,h);S+=L+I.getBitsLength()}),S}function v(b,h){for(let S=1;S<=40;S++)if(p(b,S)<=o.getCapacity(S,h,t.MIXED))return S}o.from=function(h,S){return n.isValid(h)?parseInt(h,10):S},o.getCapacity=function(h,S,I){if(!n.isValid(h))throw new Error("Invalid QR Code version");typeof I=="undefined"&&(I=t.BYTE);const L=i.getSymbolTotalCodewords(h),l=r.getTotalCodewordsCount(h,S),w=(L-l)*8;if(I===t.MIXED)return w;const d=w-c(I,h);switch(I){case t.NUMERIC:return Math.floor(d/10*3);case t.ALPHANUMERIC:return Math.floor(d/11*2);case t.KANJI:return Math.floor(d/13);case t.BYTE:default:return Math.floor(d/8)}},o.getBestVersionForData=function(h,S){let I;const L=e.from(S,e.M);if(Array.isArray(h)){if(h.length>1)return v(h,L);if(h.length===0)return 1;I=h[0]}else I=h;return u(I.mode,I.getLength(),L)},o.getEncodedBits=function(h){if(!n.isValid(h)||h<7)throw new Error("Invalid QR Code version");let S=h<<12;for(;i.getBCHDigit(S)-s>=0;)S^=a<=0;)u^=i<0&&(n=this.data.substr(t),a=parseInt(n,10),e.put(a,s*3+1))},Rt=i,Rt}var vt,ae;function tn(){if(ae)return vt;ae=1;const o=Q(),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function r(e){this.mode=o.ALPHANUMERIC,this.data=e}return r.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let a=i.indexOf(this.data[n])*45;a+=i.indexOf(this.data[n+1]),t.put(a,11)}this.data.length%2&&t.put(i.indexOf(this.data[n]),6)},vt=r,vt}var Tt,ue;function en(){if(ue)return Tt;ue=1;const o=Q();function i(r){this.mode=o.BYTE,typeof r=="string"?this.data=new TextEncoder().encode(r):this.data=new Uint8Array(r)}return i.getBitsLength=function(e){return e*8},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(r){for(let e=0,t=this.data.length;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}},At=r,At}var St={exports:{}},ce;function rn(){return ce||(ce=1,function(o){var i={single_source_shortest_paths:function(r,e,t){var n={},a={};a[e]=0;var s=i.PriorityQueue.make();s.push(e,0);for(var u,c,p,v,b,h,S,I,L;!s.empty();){u=s.pop(),c=u.value,v=u.cost,b=r[c]||{};for(p in b)b.hasOwnProperty(p)&&(h=b[p],S=v+h,I=a[p],L=typeof a[p]=="undefined",(L||I>S)&&(a[p]=S,s.push(p,S),n[p]=c))}if(typeof t!="undefined"&&typeof a[t]=="undefined"){var l=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(l)}return n},extract_shortest_path_from_predecessor_list:function(r,e){for(var t=[],n=e;n;)t.push(n),r[n],n=r[n];return t.reverse(),t},find_path:function(r,e,t){var n=i.single_source_shortest_paths(r,e,t);return i.extract_shortest_path_from_predecessor_list(n,t)},PriorityQueue:{make:function(r){var e=i.PriorityQueue,t={},n;r=r||{};for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t.queue=[],t.sorter=r.sorter||e.default_sorter,t},default_sorter:function(r,e){return r.cost-e.cost},push:function(r,e){var t={value:r,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};o.exports=i}(St)),St.exports}var fe;function on(){return fe||(fe=1,function(o){const i=Q(),r=Ze(),e=tn(),t=en(),n=nn(),a=Be(),s=Y(),u=rn();function c(l){return unescape(encodeURIComponent(l)).length}function p(l,w,d){const m=[];let P;for(;(P=l.exec(d))!==null;)m.push({data:P[0],index:P.index,mode:w,length:P[0].length});return m}function v(l){const w=p(a.NUMERIC,i.NUMERIC,l),d=p(a.ALPHANUMERIC,i.ALPHANUMERIC,l);let m,P;return s.isKanjiModeEnabled()?(m=p(a.BYTE,i.BYTE,l),P=p(a.KANJI,i.KANJI,l)):(m=p(a.BYTE_KANJI,i.BYTE,l),P=[]),w.concat(d,m,P).sort(function(E,R){return E.index-R.index}).map(function(E){return{data:E.data,mode:E.mode,length:E.length}})}function b(l,w){switch(w){case i.NUMERIC:return r.getBitsLength(l);case i.ALPHANUMERIC:return e.getBitsLength(l);case i.KANJI:return n.getBitsLength(l);case i.BYTE:return t.getBitsLength(l)}}function h(l){return l.reduce(function(w,d){const m=w.length-1>=0?w[w.length-1]:null;return m&&m.mode===d.mode?(w[w.length-1].data+=d.data,w):(w.push(d),w)},[])}function S(l){const w=[];for(let d=0;d=0&&B<=6&&(A===0||A===6)||A>=0&&A<=6&&(B===0||B===6)||B>=2&&B<=4&&A>=2&&A<=4?f.set(C+B,y+A,!0,!0):f.set(C+B,y+A,!1,!0))}}function S(f){const E=f.size;for(let R=8;R>B&1)===1,f.set(T,C,y,!0),f.set(C,T,y,!0)}function l(f,E,R){const g=f.size,T=p.getEncodedBits(E,R);let C,y;for(C=0;C<15;C++)y=(T>>C&1)===1,C<6?f.set(C,8,y,!0):C<8?f.set(C+1,8,y,!0):f.set(g-15+C,8,y,!0),C<8?f.set(8,g-C-1,y,!0):C<9?f.set(8,15-C-1+1,y,!0):f.set(8,15-C-1,y,!0);f.set(g-8,8,1,!0)}function w(f,E){const R=f.size;let g=-1,T=R-1,C=7,y=0;for(let B=R-1;B>0;B-=2)for(B===6&&B--;;){for(let A=0;A<2;A++)if(!f.isReserved(T,B-A)){let _=!1;y>>C&1)===1),f.set(T,B-A,_),C--,C===-1&&(y++,C=7)}if(T+=g,T<0||R<=T){T-=g,g=-g;break}}}function d(f,E,R){const g=new r;R.forEach(function(A){g.put(A.mode.bit,4),g.put(A.getLength(),v.getCharCountIndicator(A.mode,f)),A.write(g)});const T=o.getSymbolTotalCodewords(f),C=s.getTotalCodewordsCount(f,E),y=(T-C)*8;for(g.getLengthInBits()+4<=y&&g.put(0,4);g.getLengthInBits()%8!==0;)g.putBit(0);const B=(y-g.getLengthInBits())/8;for(let A=0;Anew Promise((p,n)=>{var i=e=>{try{l(r.next(e))}catch(a){n(a)}},t=e=>{try{l(r.throw(e))}catch(a){n(a)}},l=e=>e.done?p(e.value):Promise.resolve(e.value).then(i,t);l((r=r.apply(g,u)).next())});import{F as P}from"./Form-Cq-QZJdy.js";import{u as _}from"./useForm-B1_iUn_7.js";import"./index-DHbc4UQl.js";import{u as v}from"./useValidator-Nt61Jv1p.js";import{_ as h}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{A as b}from"./element-plus-CUBv5pjL.js";import{y as k,W as x,r as y,z as C,K as I,u as w,O as o,a4 as f,I as B}from"./vue-chunks-ChjHxF1G.js";const K=k({__name:"RegisterForm",emits:["to-login"],setup(g,{emit:u}){const r=u,{formRegister:p,formMethods:n}=_(),{getElFormExpose:i}=n,{required:t}=v(),l=x([{field:"title",colProps:{span:24},formItemProps:{slots:{default:()=>o("h2",{class:"text-2xl font-bold text-center w-[100%]"},[f("注册")])}}},{field:"username",label:"用户名",value:"",component:"Input",colProps:{span:24},componentProps:{placeholder:"请输入用户名"}},{field:"password",label:"密码",value:"",component:"InputPassword",colProps:{span:24},componentProps:{style:{width:"100%"},strength:!0,placeholder:"请输入密码"}},{field:"check_password",label:"确认密码",value:"",component:"InputPassword",colProps:{span:24},componentProps:{style:{width:"100%"},strength:!0,placeholder:"请输入密码"}},{field:"code",label:"验证码",colProps:{span:24},formItemProps:{slots:{default:s=>o("div",{class:"w-[100%] flex"},[o(b,{modelValue:s.code,"onUpdate:modelValue":c=>s.code=c,placeholder:"请输入验证码"},null)])}}},{field:"register",colProps:{span:24},formItemProps:{slots:{default:()=>o(B,null,[o("div",{class:"w-[100%]"},[o(h,{type:"primary",class:"w-[100%]",loading:d.value,onClick:F},{default:()=>[f("注册")]})]),o("div",{class:"w-[100%] mt-15px"},[o(h,{class:"w-[100%]",onClick:a},{default:()=>[f("已有账号?去登录")]})])])}}}]),e={username:[t()],password:[t()],check_password:[t()],code:[t()]},a=()=>{r("to-login")},d=y(!1),F=()=>m(this,null,function*(){const s=yield i();s==null||s.validate(c=>m(this,null,function*(){if(c)try{d.value=!0,a()}finally{d.value=!1}}))});return(s,c)=>(C(),I(w(P),{schema:l,rules:e,"label-position":"top","hide-required-asterisk":"",size:"large",class:"dark:border-1 dark:border-[var(--el-border-color)] dark:border-solid",onRegister:w(p)},null,8,["schema","onRegister"]))}});export{K as _}; +var m=(g,u,r)=>new Promise((p,n)=>{var i=e=>{try{l(r.next(e))}catch(a){n(a)}},t=e=>{try{l(r.throw(e))}catch(a){n(a)}},l=e=>e.done?p(e.value):Promise.resolve(e.value).then(i,t);l((r=r.apply(g,u)).next())});import{F as P}from"./Form-BTUMYN5B.js";import{u as _}from"./useForm-B3urKjox.js";import"./index-wnyZ7Zvr.js";import{u as v}from"./useValidator-Nt61Jv1p.js";import{_ as h}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{A as b}from"./element-plus-CUBv5pjL.js";import{y as k,W as x,r as y,z as C,K as I,u as w,O as o,a4 as f,I as B}from"./vue-chunks-ChjHxF1G.js";const K=k({__name:"RegisterForm",emits:["to-login"],setup(g,{emit:u}){const r=u,{formRegister:p,formMethods:n}=_(),{getElFormExpose:i}=n,{required:t}=v(),l=x([{field:"title",colProps:{span:24},formItemProps:{slots:{default:()=>o("h2",{class:"text-2xl font-bold text-center w-[100%]"},[f("注册")])}}},{field:"username",label:"用户名",value:"",component:"Input",colProps:{span:24},componentProps:{placeholder:"请输入用户名"}},{field:"password",label:"密码",value:"",component:"InputPassword",colProps:{span:24},componentProps:{style:{width:"100%"},strength:!0,placeholder:"请输入密码"}},{field:"check_password",label:"确认密码",value:"",component:"InputPassword",colProps:{span:24},componentProps:{style:{width:"100%"},strength:!0,placeholder:"请输入密码"}},{field:"code",label:"验证码",colProps:{span:24},formItemProps:{slots:{default:s=>o("div",{class:"w-[100%] flex"},[o(b,{modelValue:s.code,"onUpdate:modelValue":c=>s.code=c,placeholder:"请输入验证码"},null)])}}},{field:"register",colProps:{span:24},formItemProps:{slots:{default:()=>o(B,null,[o("div",{class:"w-[100%]"},[o(h,{type:"primary",class:"w-[100%]",loading:d.value,onClick:F},{default:()=>[f("注册")]})]),o("div",{class:"w-[100%] mt-15px"},[o(h,{class:"w-[100%]",onClick:a},{default:()=>[f("已有账号?去登录")]})])])}}}]),e={username:[t()],password:[t()],check_password:[t()],code:[t()]},a=()=>{r("to-login")},d=y(!1),F=()=>m(this,null,function*(){const s=yield i();s==null||s.validate(c=>m(this,null,function*(){if(c)try{d.value=!0,a()}finally{d.value=!1}}))});return(s,c)=>(C(),I(w(P),{schema:l,rules:e,"label-position":"top","hide-required-asterisk":"",size:"large",class:"dark:border-1 dark:border-[var(--el-border-color)] dark:border-solid",onRegister:w(p)},null,8,["schema","onRegister"]))}});export{K as _}; diff --git a/assets/Request-BOZrtJGd.js b/assets/Request-BxlDewr2.js similarity index 92% rename from assets/Request-BOZrtJGd.js rename to assets/Request-BxlDewr2.js index e4489e58..6377d367 100644 --- a/assets/Request-BOZrtJGd.js +++ b/assets/Request-BxlDewr2.js @@ -1 +1 @@ -var i=(k,e,q)=>new Promise((y,d)=>{var m=a=>{try{p(q.next(a))}catch(f){d(f)}},v=a=>{try{p(q.throw(a))}catch(f){d(f)}},p=a=>a.done?y(a.value):Promise.resolve(a.value).then(m,v);p((q=q.apply(k,e)).next())});import{_ as h}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as o}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{r as s}from"./index-DHbc4UQl.js";/* empty css */import{q as B}from"./element-plus-CUBv5pjL.js";import{y as D,r as E,z as N,K as V,L as l,D as S,Q as T,O as n,u,a4 as c}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const $=()=>s.get({url:"/mock/request/1"}),z=()=>s.get({url:"/mock/request/2"}),K=()=>s.get({url:"/mock/request/3"}),L=()=>s.get({url:"/mock/request/4"}),O=()=>s.get({url:"/mock/request/5"}),Q=()=>s.get({url:"/mock/request/expired"}),W=D({__name:"Request",setup(k){const e=E(new Set),q=()=>i(this,null,function*(){if(!e.value.has("/request/1"))try{e.value.add("/request/1");const r=yield $()}catch(r){}finally{e.value.delete("/request/1")}}),y=()=>i(this,null,function*(){if(!e.value.has("/request/2"))try{e.value.add("/request/2");const r=yield z()}catch(r){}finally{e.value.delete("/request/2")}}),d=()=>i(this,null,function*(){if(!e.value.has("/request/3"))try{e.value.add("/request/3");const r=yield K()}catch(r){}finally{e.value.delete("/request/3")}}),m=()=>i(this,null,function*(){if(!e.value.has("/request/4"))try{e.value.add("/request/4");const r=yield L()}catch(r){}finally{e.value.delete("/request/4")}}),v=()=>i(this,null,function*(){if(!e.value.has("/request/5"))try{e.value.add("/request/5");const r=yield O()}catch(r){}finally{e.value.delete("/request/5")}}),p=()=>{q(),y(),d(),m(),v()},a=()=>{s.cancelAllRequest(),e.value.clear()},f=r=>{const t=[];return r.forEach(A=>{t.push(A)}),t},g=()=>{if(e.value.has("/request/1")){s.cancelRequest("/request/1"),e.value.delete("/request/1");return}q()},R=()=>{if(e.value.has("/request/2")){s.cancelRequest("/request/2"),e.value.delete("/request/2");return}y()},C=()=>{if(e.value.has("/request/3")){s.cancelRequest("/request/3"),e.value.delete("/request/3");return}d()},w=()=>{if(e.value.has("/request/4")){s.cancelRequest("/request/4"),e.value.delete("/request/4");return}m()},x=()=>{if(e.value.has("/request/5")){s.cancelRequest("/request/5"),e.value.delete("/request/5");return}v()},_=()=>{Q()};return(r,t)=>(N(),V(u(h),{title:"请求"},{default:l(()=>[S("p",null,"正在请求的接口:"+T(f(e.value)),1),n(u(o),{type:"primary",onClick:g},{default:l(()=>t[0]||(t[0]=[c("请求/取消request1")])),_:1}),n(u(o),{type:"primary",onClick:R},{default:l(()=>t[1]||(t[1]=[c("请求/取消request2")])),_:1}),n(u(o),{type:"primary",onClick:C},{default:l(()=>t[2]||(t[2]=[c("请求/取消request3")])),_:1}),n(u(o),{type:"primary",onClick:w},{default:l(()=>t[3]||(t[3]=[c("请求/取消request4")])),_:1}),n(u(o),{type:"primary",onClick:x},{default:l(()=>t[4]||(t[4]=[c("请求/取消request5")])),_:1}),n(u(o),{type:"primary",onClick:p},{default:l(()=>t[5]||(t[5]=[c("发送五个请求")])),_:1}),n(u(o),{type:"primary",onClick:a},{default:l(()=>t[6]||(t[6]=[c("关闭所有请求")])),_:1}),n(u(B)),n(u(o),{type:"primary",onClick:_},{default:l(()=>t[7]||(t[7]=[c("token过期")])),_:1})]),_:1}))}});export{W as default}; +var i=(k,e,q)=>new Promise((y,d)=>{var m=a=>{try{p(q.next(a))}catch(f){d(f)}},v=a=>{try{p(q.throw(a))}catch(f){d(f)}},p=a=>a.done?y(a.value):Promise.resolve(a.value).then(m,v);p((q=q.apply(k,e)).next())});import{_ as h}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as o}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{r as s}from"./index-wnyZ7Zvr.js";/* empty css */import{q as B}from"./element-plus-CUBv5pjL.js";import{y as D,r as E,z as N,K as V,L as l,D as S,Q as T,O as n,u,a4 as c}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const $=()=>s.get({url:"/mock/request/1"}),z=()=>s.get({url:"/mock/request/2"}),K=()=>s.get({url:"/mock/request/3"}),L=()=>s.get({url:"/mock/request/4"}),O=()=>s.get({url:"/mock/request/5"}),Q=()=>s.get({url:"/mock/request/expired"}),W=D({__name:"Request",setup(k){const e=E(new Set),q=()=>i(this,null,function*(){if(!e.value.has("/request/1"))try{e.value.add("/request/1");const r=yield $()}catch(r){}finally{e.value.delete("/request/1")}}),y=()=>i(this,null,function*(){if(!e.value.has("/request/2"))try{e.value.add("/request/2");const r=yield z()}catch(r){}finally{e.value.delete("/request/2")}}),d=()=>i(this,null,function*(){if(!e.value.has("/request/3"))try{e.value.add("/request/3");const r=yield K()}catch(r){}finally{e.value.delete("/request/3")}}),m=()=>i(this,null,function*(){if(!e.value.has("/request/4"))try{e.value.add("/request/4");const r=yield L()}catch(r){}finally{e.value.delete("/request/4")}}),v=()=>i(this,null,function*(){if(!e.value.has("/request/5"))try{e.value.add("/request/5");const r=yield O()}catch(r){}finally{e.value.delete("/request/5")}}),p=()=>{q(),y(),d(),m(),v()},a=()=>{s.cancelAllRequest(),e.value.clear()},f=r=>{const t=[];return r.forEach(A=>{t.push(A)}),t},g=()=>{if(e.value.has("/request/1")){s.cancelRequest("/request/1"),e.value.delete("/request/1");return}q()},R=()=>{if(e.value.has("/request/2")){s.cancelRequest("/request/2"),e.value.delete("/request/2");return}y()},C=()=>{if(e.value.has("/request/3")){s.cancelRequest("/request/3"),e.value.delete("/request/3");return}d()},w=()=>{if(e.value.has("/request/4")){s.cancelRequest("/request/4"),e.value.delete("/request/4");return}m()},x=()=>{if(e.value.has("/request/5")){s.cancelRequest("/request/5"),e.value.delete("/request/5");return}v()},_=()=>{Q()};return(r,t)=>(N(),V(u(h),{title:"请求"},{default:l(()=>[S("p",null,"正在请求的接口:"+T(f(e.value)),1),n(u(o),{type:"primary",onClick:g},{default:l(()=>t[0]||(t[0]=[c("请求/取消request1")])),_:1}),n(u(o),{type:"primary",onClick:R},{default:l(()=>t[1]||(t[1]=[c("请求/取消request2")])),_:1}),n(u(o),{type:"primary",onClick:C},{default:l(()=>t[2]||(t[2]=[c("请求/取消request3")])),_:1}),n(u(o),{type:"primary",onClick:w},{default:l(()=>t[3]||(t[3]=[c("请求/取消request4")])),_:1}),n(u(o),{type:"primary",onClick:x},{default:l(()=>t[4]||(t[4]=[c("请求/取消request5")])),_:1}),n(u(o),{type:"primary",onClick:p},{default:l(()=>t[5]||(t[5]=[c("发送五个请求")])),_:1}),n(u(o),{type:"primary",onClick:a},{default:l(()=>t[6]||(t[6]=[c("关闭所有请求")])),_:1}),n(u(B)),n(u(o),{type:"primary",onClick:_},{default:l(()=>t[7]||(t[7]=[c("token过期")])),_:1})]),_:1}))}});export{W as default}; diff --git a/assets/Role-ekj1GbUi.js b/assets/Role-CNvE3WMG.js similarity index 73% rename from assets/Role-ekj1GbUi.js rename to assets/Role-CNvE3WMG.js index 268aa9ea..fad6ed95 100644 --- a/assets/Role-ekj1GbUi.js +++ b/assets/Role-CNvE3WMG.js @@ -1 +1 @@ -var R=($,g,i)=>new Promise((y,f)=>{var b=l=>{try{p(i.next(l))}catch(d){f(d)}},k=l=>{try{p(i.throw(l))}catch(d){f(d)}},p=l=>l.done?y(l.value):Promise.resolve(l.value).then(b,k);p((i=i.apply($,g)).next())});import{g as E}from"./index-eEONdqWJ.js";import{u as F}from"./useTable-B0KZmPSP.js";import{_ as I}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as P}from"./Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js";import{_ as z}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as H}from"./Write.vue_vue_type_script_setup_true_lang-CCaiKO23.js";import{_ as K}from"./Detail.vue_vue_type_script_setup_true_lang-BRxK8yrz.js";import{_ as M}from"./Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js";import{_ as n}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{C as O}from"./element-plus-CUBv5pjL.js";import{y as U,W as L,O as a,I as x,a4 as m,r,z as v,A as W,L as u,u as o,D as j,K as V,H as q}from"./vue-chunks-ChjHxF1G.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css */import"./Icon-CdhVCYkm.js";/* empty css */import"./index-BQQdmLe5.js";import"./Form-Cq-QZJdy.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";import"./useForm-B1_iUn_7.js";import"./useIcon-CKHK9-or.js";import"./useValidator-Nt61Jv1p.js";import"./index-CjJH7ccC.js";import"./tree-Dgaev6Pi.js";import"./Descriptions-CzZKAhwM.js";const G={class:"mb-10px"},zt=U({__name:"Role",setup($){const{tableRegister:g,tableState:i,tableMethods:y}=F({fetchDataApi:()=>R(this,null,function*(){const e=yield E();return{list:e.data.list||[],total:e.data.total}})}),{dataList:f,loading:b,total:k}=i,{getList:p}=y,l=L([{field:"index",label:"序号",type:"index"},{field:"roleName",label:"角色名称"},{field:"status",label:"状态",slots:{default:e=>a(x,null,[a(O,{type:e.row.status===0?"danger":"success"},{default:()=>[e.row.status===1?"启用":"禁用"]})])}},{field:"createTime",label:"创建时间"},{field:"remark",label:"备注"},{field:"action",label:"操作",width:240,slots:{default:e=>{const t=e.row;return a(x,null,[a(n,{type:"primary",onClick:()=>A(t,"edit")},{default:()=>[m("编辑")]}),a(n,{type:"success",onClick:()=>A(t,"detail")},{default:()=>[m("详情")]}),a(n,{type:"danger"},{default:()=>[m("删除")]})])}}}]),d=L([{field:"roleName",label:"角色名称",component:"Input"}]),D=r({}),T=e=>{D.value=e,p()},s=r(!1),w=r(""),c=r(),_=r(""),N=r(),C=r(!1),A=(e,t)=>{w.value=t==="edit"?"编辑":"详情",_.value=t,c.value=e,s.value=!0},S=()=>{w.value="新增",c.value=void 0,s.value=!0,_.value=""},h=()=>R(this,null,function*(){const e=o(N);(yield e==null?void 0:e.submit())&&(C.value=!0,setTimeout(()=>{C.value=!1,s.value=!1},1e3))});return(e,t)=>(v(),W(x,null,[a(o(z),null,{default:u(()=>[a(o(P),{schema:d,onReset:T,onSearch:T},null,8,["schema"]),j("div",G,[a(o(n),{type:"primary",onClick:S},{default:u(()=>t[2]||(t[2]=[m("新增")])),_:1})]),a(o(I),{columns:l,"default-expand-all":"","node-key":"id",data:o(f),loading:o(b),pagination:{total:o(k)},onRegister:o(g)},null,8,["columns","data","loading","pagination","onRegister"])]),_:1}),a(o(M),{modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=B=>s.value=B),title:w.value},{footer:u(()=>[_.value!=="detail"?(v(),V(o(n),{key:0,type:"primary",loading:C.value,onClick:h},{default:u(()=>t[3]||(t[3]=[m(" 保存 ")])),_:1},8,["loading"])):q("",!0),a(o(n),{onClick:t[0]||(t[0]=B=>s.value=!1)},{default:u(()=>t[4]||(t[4]=[m("关闭")])),_:1})]),default:u(()=>[_.value!=="detail"?(v(),V(H,{key:0,ref_key:"writeRef",ref:N,"current-row":c.value},null,8,["current-row"])):(v(),V(K,{key:1,"current-row":c.value},null,8,["current-row"]))]),_:1},8,["modelValue","title"])],64))}});export{zt as default}; +var R=($,g,i)=>new Promise((y,f)=>{var b=l=>{try{p(i.next(l))}catch(d){f(d)}},k=l=>{try{p(i.throw(l))}catch(d){f(d)}},p=l=>l.done?y(l.value):Promise.resolve(l.value).then(b,k);p((i=i.apply($,g)).next())});import{g as E}from"./index-BxYrjAxU.js";import{u as F}from"./useTable-CCTWSpiR.js";import{_ as I}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as P}from"./Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js";import{_ as z}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as H}from"./Write.vue_vue_type_script_setup_true_lang-CUmHDdQF.js";import{_ as K}from"./Detail.vue_vue_type_script_setup_true_lang-CCD8ZcPJ.js";import{_ as M}from"./Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js";import{_ as n}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{C as O}from"./element-plus-CUBv5pjL.js";import{y as U,W as L,O as a,I as x,a4 as m,r,z as v,A as W,L as u,u as o,D as j,K as V,H as q}from"./vue-chunks-ChjHxF1G.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css */import"./Icon-BTLftY2_.js";/* empty css */import"./index-DBEGipag.js";import"./Form-BTUMYN5B.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";import"./useForm-B3urKjox.js";import"./useIcon-B724d8dT.js";import"./useValidator-Nt61Jv1p.js";import"./index-iuvt-R6t.js";import"./tree-Dgaev6Pi.js";import"./Descriptions-rpjc8zzb.js";const G={class:"mb-10px"},zt=U({__name:"Role",setup($){const{tableRegister:g,tableState:i,tableMethods:y}=F({fetchDataApi:()=>R(this,null,function*(){const e=yield E();return{list:e.data.list||[],total:e.data.total}})}),{dataList:f,loading:b,total:k}=i,{getList:p}=y,l=L([{field:"index",label:"序号",type:"index"},{field:"roleName",label:"角色名称"},{field:"status",label:"状态",slots:{default:e=>a(x,null,[a(O,{type:e.row.status===0?"danger":"success"},{default:()=>[e.row.status===1?"启用":"禁用"]})])}},{field:"createTime",label:"创建时间"},{field:"remark",label:"备注"},{field:"action",label:"操作",width:240,slots:{default:e=>{const t=e.row;return a(x,null,[a(n,{type:"primary",onClick:()=>A(t,"edit")},{default:()=>[m("编辑")]}),a(n,{type:"success",onClick:()=>A(t,"detail")},{default:()=>[m("详情")]}),a(n,{type:"danger"},{default:()=>[m("删除")]})])}}}]),d=L([{field:"roleName",label:"角色名称",component:"Input"}]),D=r({}),T=e=>{D.value=e,p()},s=r(!1),w=r(""),c=r(),_=r(""),N=r(),C=r(!1),A=(e,t)=>{w.value=t==="edit"?"编辑":"详情",_.value=t,c.value=e,s.value=!0},S=()=>{w.value="新增",c.value=void 0,s.value=!0,_.value=""},h=()=>R(this,null,function*(){const e=o(N);(yield e==null?void 0:e.submit())&&(C.value=!0,setTimeout(()=>{C.value=!1,s.value=!1},1e3))});return(e,t)=>(v(),W(x,null,[a(o(z),null,{default:u(()=>[a(o(P),{schema:d,onReset:T,onSearch:T},null,8,["schema"]),j("div",G,[a(o(n),{type:"primary",onClick:S},{default:u(()=>t[2]||(t[2]=[m("新增")])),_:1})]),a(o(I),{columns:l,"default-expand-all":"","node-key":"id",data:o(f),loading:o(b),pagination:{total:o(k)},onRegister:o(g)},null,8,["columns","data","loading","pagination","onRegister"])]),_:1}),a(o(M),{modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=B=>s.value=B),title:w.value},{footer:u(()=>[_.value!=="detail"?(v(),V(o(n),{key:0,type:"primary",loading:C.value,onClick:h},{default:u(()=>t[3]||(t[3]=[m(" 保存 ")])),_:1},8,["loading"])):q("",!0),a(o(n),{onClick:t[0]||(t[0]=B=>s.value=!1)},{default:u(()=>t[4]||(t[4]=[m("关闭")])),_:1})]),default:u(()=>[_.value!=="detail"?(v(),V(H,{key:0,ref_key:"writeRef",ref:N,"current-row":c.value},null,8,["current-row"])):(v(),V(K,{key:1,"current-row":c.value},null,8,["current-row"]))]),_:1},8,["modelValue","title"])],64))}});export{zt as default}; diff --git a/assets/Search-CnrbA_Xc.js b/assets/Search-DgAux1Qa.js similarity index 87% rename from assets/Search-CnrbA_Xc.js rename to assets/Search-DgAux1Qa.js index 6ae071d5..763bfbbf 100644 --- a/assets/Search-CnrbA_Xc.js +++ b/assets/Search-DgAux1Qa.js @@ -1 +1 @@ -var m=(v,b,s)=>new Promise((f,t)=>{var o=p=>{try{g(s.next(p))}catch(S){t(S)}},a=p=>{try{g(s.throw(p))}catch(S){t(S)}},g=p=>p.done?f(p.value):Promise.resolve(p.value).then(o,a);g((s=s.apply(v,b)).next())});import{_ as R}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as O}from"./Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js";import{_ as d}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{g as B}from"./index-CPGYCljv.js";import{r as c,n as M,u as l,y as N,W as _,z,A as E,O as n,L as i,a4 as u,I as J}from"./vue-chunks-ChjHxF1G.js";import{_ as W}from"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Form-Cq-QZJdy.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useIcon-CKHK9-or.js";const j=()=>{const v=c(),b=t=>{v.value=t},s=()=>m(void 0,null,function*(){yield M();const t=l(v);return t||console.error("The Search is not registered. Please use the register method to register"),t});return{searchRegister:b,searchMethods:{setProps:(...o)=>m(void 0,[...o],function*(t={}){const a=yield s();a==null||a.setProps(t),t.model&&(a==null||a.setValues(t.model))}),setValues:t=>m(void 0,null,function*(){const o=yield s();o==null||o.setValues(t)}),setSchema:t=>m(void 0,null,function*(){const o=yield s();o==null||o.setSchema(t)}),addSchema:(t,o)=>m(void 0,null,function*(){const a=yield s();a==null||a.addSchema(t,o)}),delSchema:t=>m(void 0,null,function*(){const o=yield s();o==null||o.delSchema(t)}),getFormData:()=>m(void 0,null,function*(){const t=yield s();return t==null?void 0:t.getFormData()})}}},q=N({__name:"Search",setup(v){const{searchRegister:b,searchMethods:s}=j(),{setSchema:f,setProps:t,setValues:o,getFormData:a}=s,g=[{value:"1",label:"Level one 1",children:[{value:"1-1",label:"Level two 1-1",children:[{value:"1-1-1",label:"Level three 1-1-1"}]}]},{value:"2",label:"Level one 2",children:[{value:"2-1",label:"Level two 2-1",children:[{value:"2-1-1",label:"Level three 2-1-1"}]},{value:"2-2",label:"Level two 2-2",children:[{value:"2-2-1",label:"Level three 2-2-1"}]}]},{value:"3",label:"Level one 3",children:[{value:"3-1",label:"Level two 3-1",children:[{value:"3-1-1",label:"Level three 3-1-1"}]},{value:"3-2",label:"Level two 3-2",children:[{value:"3-2-1",label:"Level three 3-2-1"}]}]}],p=()=>new Promise(r=>{setTimeout(()=>{r(g)},3e3)}),S=_([{field:"field1",label:"输入框",component:"Input"},{field:"field2",label:"选择器",component:"Select",componentProps:{options:[{label:"option1",value:"1"},{label:"option2",value:"2"}],on:{change:r=>{}}}},{field:"field3",label:"单选框",component:"RadioGroup",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field5",component:"DatePicker",label:"日期选择器",componentProps:{type:"date"}},{field:"field6",component:"TimeSelect",label:"时间选择"},{field:"field8",label:"输入框",component:"Input"},{field:"field9",label:"输入框",component:"Input"},{field:"field10",label:"输入框",component:"Input"},{field:"field11",label:"输入框",component:"Input"},{field:"field12",label:"输入框",component:"Input"},{field:"field13",label:"输入框",component:"Input"},{field:"field14",label:"输入框",component:"Input"},{field:"field15",label:"输入框",component:"Input"},{field:"field16",label:"输入框",component:"Input"},{field:"field17",label:"输入框",component:"Input"},{field:"field18",label:"输入框",component:"Input"},{field:"field19",label:"树形选择器",component:"TreeSelect",optionApi:()=>m(this,null,function*(){return yield p()})}]),x=c(!1),C=r=>{t({isCol:r})},L=c("inline"),T=()=>{L.value=l(L)==="inline"?"bottom":"inline"},I=c("left"),w=r=>{L.value="bottom",I.value=r},D=()=>m(this,null,function*(){const r=yield B();r&&f([{field:"field2",path:"componentProps.options",value:r.data}])}),P=r=>m(this,null,function*(){yield a()}),$=()=>{f([{field:"field3",path:"remove",value:!0}])},V=()=>{f([{field:"field3",path:"remove",value:!1}])},F=()=>{o({field1:"Joy"})},y=c(!1),A=()=>{y.value=!0,setTimeout(()=>{y.value=!1},2e3)},k=c(!1),G=()=>{k.value=!0,setTimeout(()=>{k.value=!1},2e3)};return(r,e)=>(z(),E(J,null,[n(l(R),{title:"查询 操作",style:{"margin-bottom":"20px"}},{default:i(()=>[n(l(d),{onClick:e[0]||(e[0]=h=>C(!0))},{default:i(()=>e[5]||(e[5]=[u("栅格")])),_:1}),n(l(d),{onClick:e[1]||(e[1]=h=>C(!1))},{default:i(()=>e[6]||(e[6]=[u(" 还原 栅格 ")])),_:1}),n(l(d),{onClick:T},{default:i(()=>e[7]||(e[7]=[u(" 按钮 位置 ")])),_:1}),n(l(d),{onClick:e[2]||(e[2]=h=>w("left"))},{default:i(()=>e[8]||(e[8]=[u(" 底部 位置-左 ")])),_:1}),n(l(d),{onClick:e[3]||(e[3]=h=>w("center"))},{default:i(()=>e[9]||(e[9]=[u(" 底部 位置-中 ")])),_:1}),n(l(d),{onClick:e[4]||(e[4]=h=>w("right"))},{default:i(()=>e[10]||(e[10]=[u(" 底部 位置-右 ")])),_:1}),n(l(d),{onClick:D},{default:i(()=>e[11]||(e[11]=[u(" 选择器 动态选项 ")])),_:1}),n(l(d),{onClick:$},{default:i(()=>e[12]||(e[12]=[u("删除单选框")])),_:1}),n(l(d),{onClick:V},{default:i(()=>e[13]||(e[13]=[u("还原单选框")])),_:1}),n(l(d),{onClick:F},{default:i(()=>e[14]||(e[14]=[u("设置值")])),_:1}),n(l(d),{onClick:A},{default:i(()=>e[15]||(e[15]=[u(" 查询 加载中 ")])),_:1}),n(l(d),{onClick:G},{default:i(()=>e[16]||(e[16]=[u(" 重置 加载中 ")])),_:1})]),_:1}),n(l(R),{title:"查询",message:"基于 Form 组件二次封装,实现查询、重置功能"},{default:i(()=>[n(l(O),{schema:S,"is-col":x.value,layout:L.value,"button-position":I.value,"search-loading":y.value,"reset-loading":k.value,"show-expand":"","expand-field":"field6",onSearch:P,onReset:P,onRegister:l(b)},null,8,["schema","is-col","layout","button-position","search-loading","reset-loading","onRegister"])]),_:1})],64))}}),ke=W(q,[["__scopeId","data-v-536165e5"]]);export{ke as default}; +var m=(v,b,s)=>new Promise((f,t)=>{var o=p=>{try{g(s.next(p))}catch(S){t(S)}},a=p=>{try{g(s.throw(p))}catch(S){t(S)}},g=p=>p.done?f(p.value):Promise.resolve(p.value).then(o,a);g((s=s.apply(v,b)).next())});import{_ as R}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as O}from"./Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js";import{_ as d}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{g as B}from"./index-Dw2-9OhJ.js";import{r as c,n as M,u as l,y as N,W as _,z,A as E,O as n,L as i,a4 as u,I as J}from"./vue-chunks-ChjHxF1G.js";import{_ as W}from"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */import"./Form-BTUMYN5B.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useIcon-B724d8dT.js";const j=()=>{const v=c(),b=t=>{v.value=t},s=()=>m(void 0,null,function*(){yield M();const t=l(v);return t||console.error("The Search is not registered. Please use the register method to register"),t});return{searchRegister:b,searchMethods:{setProps:(...o)=>m(void 0,[...o],function*(t={}){const a=yield s();a==null||a.setProps(t),t.model&&(a==null||a.setValues(t.model))}),setValues:t=>m(void 0,null,function*(){const o=yield s();o==null||o.setValues(t)}),setSchema:t=>m(void 0,null,function*(){const o=yield s();o==null||o.setSchema(t)}),addSchema:(t,o)=>m(void 0,null,function*(){const a=yield s();a==null||a.addSchema(t,o)}),delSchema:t=>m(void 0,null,function*(){const o=yield s();o==null||o.delSchema(t)}),getFormData:()=>m(void 0,null,function*(){const t=yield s();return t==null?void 0:t.getFormData()})}}},q=N({__name:"Search",setup(v){const{searchRegister:b,searchMethods:s}=j(),{setSchema:f,setProps:t,setValues:o,getFormData:a}=s,g=[{value:"1",label:"Level one 1",children:[{value:"1-1",label:"Level two 1-1",children:[{value:"1-1-1",label:"Level three 1-1-1"}]}]},{value:"2",label:"Level one 2",children:[{value:"2-1",label:"Level two 2-1",children:[{value:"2-1-1",label:"Level three 2-1-1"}]},{value:"2-2",label:"Level two 2-2",children:[{value:"2-2-1",label:"Level three 2-2-1"}]}]},{value:"3",label:"Level one 3",children:[{value:"3-1",label:"Level two 3-1",children:[{value:"3-1-1",label:"Level three 3-1-1"}]},{value:"3-2",label:"Level two 3-2",children:[{value:"3-2-1",label:"Level three 3-2-1"}]}]}],p=()=>new Promise(r=>{setTimeout(()=>{r(g)},3e3)}),S=_([{field:"field1",label:"输入框",component:"Input"},{field:"field2",label:"选择器",component:"Select",componentProps:{options:[{label:"option1",value:"1"},{label:"option2",value:"2"}],on:{change:r=>{}}}},{field:"field3",label:"单选框",component:"RadioGroup",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field5",component:"DatePicker",label:"日期选择器",componentProps:{type:"date"}},{field:"field6",component:"TimeSelect",label:"时间选择"},{field:"field8",label:"输入框",component:"Input"},{field:"field9",label:"输入框",component:"Input"},{field:"field10",label:"输入框",component:"Input"},{field:"field11",label:"输入框",component:"Input"},{field:"field12",label:"输入框",component:"Input"},{field:"field13",label:"输入框",component:"Input"},{field:"field14",label:"输入框",component:"Input"},{field:"field15",label:"输入框",component:"Input"},{field:"field16",label:"输入框",component:"Input"},{field:"field17",label:"输入框",component:"Input"},{field:"field18",label:"输入框",component:"Input"},{field:"field19",label:"树形选择器",component:"TreeSelect",optionApi:()=>m(this,null,function*(){return yield p()})}]),x=c(!1),C=r=>{t({isCol:r})},L=c("inline"),T=()=>{L.value=l(L)==="inline"?"bottom":"inline"},I=c("left"),w=r=>{L.value="bottom",I.value=r},D=()=>m(this,null,function*(){const r=yield B();r&&f([{field:"field2",path:"componentProps.options",value:r.data}])}),P=r=>m(this,null,function*(){yield a()}),$=()=>{f([{field:"field3",path:"remove",value:!0}])},V=()=>{f([{field:"field3",path:"remove",value:!1}])},F=()=>{o({field1:"Joy"})},y=c(!1),A=()=>{y.value=!0,setTimeout(()=>{y.value=!1},2e3)},k=c(!1),G=()=>{k.value=!0,setTimeout(()=>{k.value=!1},2e3)};return(r,e)=>(z(),E(J,null,[n(l(R),{title:"查询 操作",style:{"margin-bottom":"20px"}},{default:i(()=>[n(l(d),{onClick:e[0]||(e[0]=h=>C(!0))},{default:i(()=>e[5]||(e[5]=[u("栅格")])),_:1}),n(l(d),{onClick:e[1]||(e[1]=h=>C(!1))},{default:i(()=>e[6]||(e[6]=[u(" 还原 栅格 ")])),_:1}),n(l(d),{onClick:T},{default:i(()=>e[7]||(e[7]=[u(" 按钮 位置 ")])),_:1}),n(l(d),{onClick:e[2]||(e[2]=h=>w("left"))},{default:i(()=>e[8]||(e[8]=[u(" 底部 位置-左 ")])),_:1}),n(l(d),{onClick:e[3]||(e[3]=h=>w("center"))},{default:i(()=>e[9]||(e[9]=[u(" 底部 位置-中 ")])),_:1}),n(l(d),{onClick:e[4]||(e[4]=h=>w("right"))},{default:i(()=>e[10]||(e[10]=[u(" 底部 位置-右 ")])),_:1}),n(l(d),{onClick:D},{default:i(()=>e[11]||(e[11]=[u(" 选择器 动态选项 ")])),_:1}),n(l(d),{onClick:$},{default:i(()=>e[12]||(e[12]=[u("删除单选框")])),_:1}),n(l(d),{onClick:V},{default:i(()=>e[13]||(e[13]=[u("还原单选框")])),_:1}),n(l(d),{onClick:F},{default:i(()=>e[14]||(e[14]=[u("设置值")])),_:1}),n(l(d),{onClick:A},{default:i(()=>e[15]||(e[15]=[u(" 查询 加载中 ")])),_:1}),n(l(d),{onClick:G},{default:i(()=>e[16]||(e[16]=[u(" 重置 加载中 ")])),_:1})]),_:1}),n(l(R),{title:"查询",message:"基于 Form 组件二次封装,实现查询、重置功能"},{default:i(()=>[n(l(O),{schema:S,"is-col":x.value,layout:L.value,"button-position":I.value,"search-loading":y.value,"reset-loading":k.value,"show-expand":"","expand-field":"field6",onSearch:P,onReset:P,onRegister:l(b)},null,8,["schema","is-col","layout","button-position","search-loading","reset-loading","onRegister"])]),_:1})],64))}}),ke=W(q,[["__scopeId","data-v-536165e5"]]);export{ke as default}; diff --git a/assets/Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js b/assets/Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js similarity index 96% rename from assets/Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js rename to assets/Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js index 802b6f1a..f181274b 100644 --- a/assets/Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js +++ b/assets/Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js @@ -1 +1 @@ -var X=Object.defineProperty;var D=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var T=(o,r,a)=>r in o?X(o,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[r]=a,W=(o,r)=>{for(var a in r||(r={}))Y.call(r,a)&&T(o,a,r[a]);if(D)for(var a of D(r))Z.call(r,a)&&T(o,a,r[a]);return o};var p=(o,r,a)=>new Promise((g,u)=>{var h=m=>{try{d(a.next(m))}catch(w){u(w)}},f=m=>{try{d(a.throw(m))}catch(w){u(w)}},d=m=>m.done?g(m.value):Promise.resolve(m.value).then(h,f);d((a=a.apply(o,r)).next())});import{i as ee,F as oe}from"./Form-Cq-QZJdy.js";import{p as i,m as z,n as te,o as se}from"./index-DHbc4UQl.js";import{u as ae}from"./useForm-B1_iUn_7.js";import{_ as E}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{u as L}from"./useIcon-CKHK9-or.js";import{y as q,z as b,A as C,K as V,L as F,a4 as x,u as n,H as S,Q as ne,I as H,r as v,c as O,O as y,w as ie,o as le,R as re}from"./vue-chunks-ChjHxF1G.js";import{d as ce,s as de}from"./element-plus-CUBv5pjL.js";const $=q({__name:"ActionButton",props:{showSearch:i.bool.def(!0),showReset:i.bool.def(!0),showExpand:i.bool.def(!1),visible:i.bool.def(!0),searchLoading:i.bool.def(!1),resetLoading:i.bool.def(!1)},emits:["search","reset","expand"],setup(o,{emit:r}){const a=r,g=()=>{a("search")},u=()=>{a("reset")},h=()=>{a("expand")};return(f,d)=>(b(),C(H,null,[o.showSearch?(b(),V(n(E),{key:0,type:"primary",loading:o.searchLoading,icon:n(L)({icon:"ep:search"}),onClick:g},{default:F(()=>d[0]||(d[0]=[x(" 查询 ")])),_:1},8,["loading","icon"])):S("",!0),o.showReset?(b(),V(n(E),{key:1,loading:o.resetLoading,plain:"",icon:n(L)({icon:"ep:refresh-right"}),onClick:u},{default:F(()=>d[1]||(d[1]=[x(" 重置 ")])),_:1},8,["loading","icon"])):S("",!0),o.showExpand?(b(),V(n(E),{key:2,icon:n(L)({icon:o.visible?"ep:arrow-up":"ep:arrow-down"}),text:"",onClick:h},{default:F(()=>[x(ne(o.visible?"收起":"展开"),1)]),_:1},8,["icon"])):S("",!0)],64))}}),Re=q({__name:"Search",props:{schema:{type:Array,default:()=>[]},isCol:i.bool.def(!1),labelWidth:i.oneOfType([String,Number]).def("auto"),layout:i.string.validate(o=>["inline","bottom"].includes(o)).def("inline"),buttonPosition:i.string.validate(o=>["left","center","right"].includes(o)).def("center"),showSearch:i.bool.def(!0),showReset:i.bool.def(!0),showExpand:i.bool.def(!1),expandField:i.string.def(""),inline:i.bool.def(!0),removeNoValueItem:i.bool.def(!0),model:{type:Object,default:()=>({})},searchLoading:i.bool.def(!1),resetLoading:i.bool.def(!1)},emits:["search","reset","register","validate"],setup(o,{expose:r,emit:a}){const g=o,u=a,h=v(!0),f=v(g.model),d=O(()=>{const e=n(c);let t=ce(e.schema);if(e.showExpand&&e.expandField&&!n(h)){const s=z(t,l=>l.field===e.expandField);t.map((l,U)=>(U>=s?l.hidden=!0:l.hidden=!1,l))}return e.layout==="inline"&&(t=t.concat([{field:"action",formItemProps:{labelWidth:"0px",slots:{default:()=>y("div",null,[y($,{showSearch:e.showSearch,showReset:e.showReset,showExpand:e.showExpand,searchLoading:e.searchLoading,resetLoading:e.resetLoading,visible:h.value,onExpand:B,onReset:A,onSearch:N},null)]),label:()=>y("span",null,[x(" ")])}}}])),t}),{formRegister:m,formMethods:w}=ae(),{getElFormExpose:R,getFormData:j,getFormExpose:K}=w,Q=v({}),k=v({}),c=O(()=>{const e=W({},g);return Object.assign(e,n(k)),e}),_=(e={})=>{k.value=Object.assign(n(k),e),Q.value=e},P=v([]);ie(()=>n(d),(...t)=>p(this,[...t],function*(e=[]){f.value=ee(e,n(f)),P.value=e}),{immediate:!0,deep:!0});const I=()=>p(this,null,function*(){const e=yield j();return n(c).removeNoValueItem?Object.keys(e).reduce((t,s)=>{const l=e[s];return te(l)||(se(l)?Object.keys(l).length>0&&(t[s]=l):t[s]=l),t},{}):e}),N=()=>p(this,null,function*(){const e=yield R();yield e==null?void 0:e.validate(t=>p(this,null,function*(){if(t){const s=yield I();u("search",s)}}))}),A=()=>p(this,null,function*(){const e=yield R();e==null||e.resetFields();const t=yield I();u("reset",t)}),G=O(()=>({textAlign:n(c).buttonPosition})),B=()=>p(this,null,function*(){h.value=!n(h)}),M={getElFormExpose:R,setProps:_,setSchema:e=>{const{schema:t}=n(c);for(const s of t)for(const l of e)s.field===l.field&&de(s,l.path,l.value)},setValues:(...t)=>p(this,[...t],function*(e={}){f.value=Object.assign(g.model,n(f),e);const s=yield K();s==null||s.setValues(e)}),delSchema:e=>{const{schema:t}=n(c),s=z(t,l=>l.field===e);s>-1&&t.splice(s,1)},addSchema:(e,t)=>{const{schema:s}=n(c);if(t!==void 0){s.splice(t,0,e);return}s.push(e)},getFormData:j};le(()=>{u("register",M)}),r(M);const J=(e,t,s)=>{u("validate",e,t,s)};return(e,t)=>(b(),C(H,null,[y(n(oe),{model:f.value,"is-custom":!1,"label-width":c.value.labelWidth,"hide-required-asterisk":"",inline:c.value.inline,"is-col":c.value.isCol,schema:P.value,onRegister:n(m),onValidate:J},null,8,["model","label-width","inline","is-col","schema","onRegister"]),o.layout==="bottom"?(b(),C("div",{key:0,style:re(G.value)},[y($,{"show-reset":c.value.showReset,"show-search":c.value.showSearch,"show-expand":c.value.showExpand,"search-loading":c.value.searchLoading,"reset-loading":c.value.resetLoading,visible:h.value,onExpand:B,onReset:A,onSearch:N},null,8,["show-reset","show-search","show-expand","search-loading","reset-loading","visible"])],4)):S("",!0)],64))}});export{Re as _}; +var X=Object.defineProperty;var D=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var T=(o,r,a)=>r in o?X(o,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[r]=a,W=(o,r)=>{for(var a in r||(r={}))Y.call(r,a)&&T(o,a,r[a]);if(D)for(var a of D(r))Z.call(r,a)&&T(o,a,r[a]);return o};var p=(o,r,a)=>new Promise((g,u)=>{var h=m=>{try{d(a.next(m))}catch(w){u(w)}},f=m=>{try{d(a.throw(m))}catch(w){u(w)}},d=m=>m.done?g(m.value):Promise.resolve(m.value).then(h,f);d((a=a.apply(o,r)).next())});import{i as ee,F as oe}from"./Form-BTUMYN5B.js";import{p as i,m as z,n as te,o as se}from"./index-wnyZ7Zvr.js";import{u as ae}from"./useForm-B3urKjox.js";import{_ as E}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{u as L}from"./useIcon-B724d8dT.js";import{y as q,z as b,A as C,K as V,L as F,a4 as x,u as n,H as S,Q as ne,I as H,r as v,c as O,O as y,w as ie,o as le,R as re}from"./vue-chunks-ChjHxF1G.js";import{d as ce,s as de}from"./element-plus-CUBv5pjL.js";const $=q({__name:"ActionButton",props:{showSearch:i.bool.def(!0),showReset:i.bool.def(!0),showExpand:i.bool.def(!1),visible:i.bool.def(!0),searchLoading:i.bool.def(!1),resetLoading:i.bool.def(!1)},emits:["search","reset","expand"],setup(o,{emit:r}){const a=r,g=()=>{a("search")},u=()=>{a("reset")},h=()=>{a("expand")};return(f,d)=>(b(),C(H,null,[o.showSearch?(b(),V(n(E),{key:0,type:"primary",loading:o.searchLoading,icon:n(L)({icon:"ep:search"}),onClick:g},{default:F(()=>d[0]||(d[0]=[x(" 查询 ")])),_:1},8,["loading","icon"])):S("",!0),o.showReset?(b(),V(n(E),{key:1,loading:o.resetLoading,plain:"",icon:n(L)({icon:"ep:refresh-right"}),onClick:u},{default:F(()=>d[1]||(d[1]=[x(" 重置 ")])),_:1},8,["loading","icon"])):S("",!0),o.showExpand?(b(),V(n(E),{key:2,icon:n(L)({icon:o.visible?"ep:arrow-up":"ep:arrow-down"}),text:"",onClick:h},{default:F(()=>[x(ne(o.visible?"收起":"展开"),1)]),_:1},8,["icon"])):S("",!0)],64))}}),Re=q({__name:"Search",props:{schema:{type:Array,default:()=>[]},isCol:i.bool.def(!1),labelWidth:i.oneOfType([String,Number]).def("auto"),layout:i.string.validate(o=>["inline","bottom"].includes(o)).def("inline"),buttonPosition:i.string.validate(o=>["left","center","right"].includes(o)).def("center"),showSearch:i.bool.def(!0),showReset:i.bool.def(!0),showExpand:i.bool.def(!1),expandField:i.string.def(""),inline:i.bool.def(!0),removeNoValueItem:i.bool.def(!0),model:{type:Object,default:()=>({})},searchLoading:i.bool.def(!1),resetLoading:i.bool.def(!1)},emits:["search","reset","register","validate"],setup(o,{expose:r,emit:a}){const g=o,u=a,h=v(!0),f=v(g.model),d=O(()=>{const e=n(c);let t=ce(e.schema);if(e.showExpand&&e.expandField&&!n(h)){const s=z(t,l=>l.field===e.expandField);t.map((l,U)=>(U>=s?l.hidden=!0:l.hidden=!1,l))}return e.layout==="inline"&&(t=t.concat([{field:"action",formItemProps:{labelWidth:"0px",slots:{default:()=>y("div",null,[y($,{showSearch:e.showSearch,showReset:e.showReset,showExpand:e.showExpand,searchLoading:e.searchLoading,resetLoading:e.resetLoading,visible:h.value,onExpand:B,onReset:A,onSearch:N},null)]),label:()=>y("span",null,[x(" ")])}}}])),t}),{formRegister:m,formMethods:w}=ae(),{getElFormExpose:R,getFormData:j,getFormExpose:K}=w,Q=v({}),k=v({}),c=O(()=>{const e=W({},g);return Object.assign(e,n(k)),e}),_=(e={})=>{k.value=Object.assign(n(k),e),Q.value=e},P=v([]);ie(()=>n(d),(...t)=>p(this,[...t],function*(e=[]){f.value=ee(e,n(f)),P.value=e}),{immediate:!0,deep:!0});const I=()=>p(this,null,function*(){const e=yield j();return n(c).removeNoValueItem?Object.keys(e).reduce((t,s)=>{const l=e[s];return te(l)||(se(l)?Object.keys(l).length>0&&(t[s]=l):t[s]=l),t},{}):e}),N=()=>p(this,null,function*(){const e=yield R();yield e==null?void 0:e.validate(t=>p(this,null,function*(){if(t){const s=yield I();u("search",s)}}))}),A=()=>p(this,null,function*(){const e=yield R();e==null||e.resetFields();const t=yield I();u("reset",t)}),G=O(()=>({textAlign:n(c).buttonPosition})),B=()=>p(this,null,function*(){h.value=!n(h)}),M={getElFormExpose:R,setProps:_,setSchema:e=>{const{schema:t}=n(c);for(const s of t)for(const l of e)s.field===l.field&&de(s,l.path,l.value)},setValues:(...t)=>p(this,[...t],function*(e={}){f.value=Object.assign(g.model,n(f),e);const s=yield K();s==null||s.setValues(e)}),delSchema:e=>{const{schema:t}=n(c),s=z(t,l=>l.field===e);s>-1&&t.splice(s,1)},addSchema:(e,t)=>{const{schema:s}=n(c);if(t!==void 0){s.splice(t,0,e);return}s.push(e)},getFormData:j};le(()=>{u("register",M)}),r(M);const J=(e,t,s)=>{u("validate",e,t,s)};return(e,t)=>(b(),C(H,null,[y(n(oe),{model:f.value,"is-custom":!1,"label-width":c.value.labelWidth,"hide-required-asterisk":"",inline:c.value.inline,"is-col":c.value.isCol,schema:P.value,onRegister:n(m),onValidate:J},null,8,["model","label-width","inline","is-col","schema","onRegister"]),o.layout==="bottom"?(b(),C("div",{key:0,style:re(G.value)},[y($,{"show-reset":c.value.showReset,"show-search":c.value.showSearch,"show-expand":c.value.showExpand,"search-loading":c.value.searchLoading,"reset-loading":c.value.resetLoading,visible:h.value,onExpand:B,onReset:A,onSearch:N},null,8,["show-reset","show-search","show-expand","search-loading","reset-loading","visible"])],4)):S("",!0)],64))}});export{Re as _}; diff --git a/assets/Table.vue_vue_type_script_lang-B22YyWum.js b/assets/Table.vue_vue_type_script_lang-DWskqAmn.js similarity index 99% rename from assets/Table.vue_vue_type_script_lang-B22YyWum.js rename to assets/Table.vue_vue_type_script_lang-DWskqAmn.js index 92d89bdc..1f35d22a 100644 --- a/assets/Table.vue_vue_type_script_lang-B22YyWum.js +++ b/assets/Table.vue_vue_type_script_lang-DWskqAmn.js @@ -1,4 +1,4 @@ -var Yn=Object.defineProperty;var Lt=Object.getOwnPropertySymbols;var Xn=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable;var $t=(e,n,t)=>n in e?Yn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,me=(e,n)=>{for(var t in n||(n={}))Xn.call(n,t)&&$t(e,t,n[t]);if(Lt)for(var t of Lt(n))zn.call(n,t)&&$t(e,t,n[t]);return e};import{D as Gt,u as Hn,p as R}from"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as de}from"./el-radio-button-BNBtg-nU.js";/* empty css */import{I as Xe}from"./Icon-CdhVCYkm.js";/* empty css */import{y as ht,c as je,ab as Wn,u as f,r as Q,W as Un,ad as Ln,g as Ft,w as Ne,k as $n,o as vn,n as bn,l as vt,aD as qt,aC as Gn,z as qe,K as qn,L as ee,D as De,O as S,a4 as Pe,Q as bt,A as yt,I as Vt,a3 as Kn,H as Jn,a8 as yn,T as Zn,C as Ke}from"./vue-chunks-ChjHxF1G.js";import{_ as Nt}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{y as Kt,a8 as Jt,S as Qn,R as eo,x as wt,a9 as to,d as Je,aa as no,ab as oo,ac as ro,K as io,l as ao,ad as lo,ae as so,a6 as uo,s as co,af as Ze,a2 as Te,ag as fo}from"./element-plus-CUBv5pjL.js";import{c as po}from"./index-BQQdmLe5.js";const ho=(e,n,t,o)=>{const r=n+1;return e?t*(o-1)+r:r};var go=Object.defineProperty,st=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Zt=(e,n,t)=>n in e?go(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Me=(e,n)=>{for(var t in n||(n={}))wn.call(n,t)&&Zt(e,t,n[t]);if(st)for(var t of st(n))Sn.call(n,t)&&Zt(e,t,n[t]);return e},Cn=(e,n)=>{var t={};for(var o in e)wn.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&st)for(var o of st(e))n.indexOf(o)<0&&Sn.call(e,o)&&(t[o]=e[o]);return t};const xn="[vue-draggable-plus]: ";function mo(e){console.warn(xn+e)}function vo(e){console.error(xn+e)}function Qt(e,n,t){return t>=0&&tt?t.toUpperCase():"")}function yo(e){return Object.keys(e).reduce((n,t)=>(typeof e[t]!="undefined"&&(n[bo(t)]=e[t]),n),{})}function en(e,n){return Array.isArray(e)&&e.splice(n,1),e}function tn(e,n,t){return Array.isArray(e)&&e.splice(n,0,t),e}function wo(e){return typeof e=="undefined"}function So(e){return typeof e=="string"}function nn(e,n,t){const o=e.children[t];e.insertBefore(n,o)}function St(e){e.parentNode&&e.parentNode.removeChild(e)}function Co(e,n=document){var t;let o=null;return typeof(n==null?void 0:n.querySelector)=="function"?o=(t=n==null?void 0:n.querySelector)==null?void 0:t.call(n,e):o=document.querySelector(e),o||mo(`Element not found: ${e}`),o}function xo(e,n,t=null){return function(...o){return e.apply(t,o),n.apply(t,o)}}function Eo(e,n){const t=Me({},e);return Object.keys(n).forEach(o=>{t[o]?t[o]=xo(e[o],n[o]):t[o]=n[o]}),t}function _o(e){return e instanceof HTMLElement}function on(e,n){Object.keys(e).forEach(t=>{n(t,e[t])})}function Do(e){return e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)}const To=Object.assign;/**! +var Yn=Object.defineProperty;var Lt=Object.getOwnPropertySymbols;var Xn=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable;var $t=(e,n,t)=>n in e?Yn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,me=(e,n)=>{for(var t in n||(n={}))Xn.call(n,t)&&$t(e,t,n[t]);if(Lt)for(var t of Lt(n))zn.call(n,t)&&$t(e,t,n[t]);return e};import{D as Gt,u as Hn,p as R}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as de}from"./el-radio-button-DcVH7Drv.js";/* empty css */import{I as Xe}from"./Icon-BTLftY2_.js";/* empty css */import{y as ht,c as je,ab as Wn,u as f,r as Q,W as Un,ad as Ln,g as Ft,w as Ne,k as $n,o as vn,n as bn,l as vt,aD as qt,aC as Gn,z as qe,K as qn,L as ee,D as De,O as S,a4 as Pe,Q as bt,A as yt,I as Vt,a3 as Kn,H as Jn,a8 as yn,T as Zn,C as Ke}from"./vue-chunks-ChjHxF1G.js";import{_ as Nt}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{y as Kt,a8 as Jt,S as Qn,R as eo,x as wt,a9 as to,d as Je,aa as no,ab as oo,ac as ro,K as io,l as ao,ad as lo,ae as so,a6 as uo,s as co,af as Ze,a2 as Te,ag as fo}from"./element-plus-CUBv5pjL.js";import{c as po}from"./index-DBEGipag.js";const ho=(e,n,t,o)=>{const r=n+1;return e?t*(o-1)+r:r};var go=Object.defineProperty,st=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Zt=(e,n,t)=>n in e?go(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Me=(e,n)=>{for(var t in n||(n={}))wn.call(n,t)&&Zt(e,t,n[t]);if(st)for(var t of st(n))Sn.call(n,t)&&Zt(e,t,n[t]);return e},Cn=(e,n)=>{var t={};for(var o in e)wn.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&st)for(var o of st(e))n.indexOf(o)<0&&Sn.call(e,o)&&(t[o]=e[o]);return t};const xn="[vue-draggable-plus]: ";function mo(e){console.warn(xn+e)}function vo(e){console.error(xn+e)}function Qt(e,n,t){return t>=0&&tt?t.toUpperCase():"")}function yo(e){return Object.keys(e).reduce((n,t)=>(typeof e[t]!="undefined"&&(n[bo(t)]=e[t]),n),{})}function en(e,n){return Array.isArray(e)&&e.splice(n,1),e}function tn(e,n,t){return Array.isArray(e)&&e.splice(n,0,t),e}function wo(e){return typeof e=="undefined"}function So(e){return typeof e=="string"}function nn(e,n,t){const o=e.children[t];e.insertBefore(n,o)}function St(e){e.parentNode&&e.parentNode.removeChild(e)}function Co(e,n=document){var t;let o=null;return typeof(n==null?void 0:n.querySelector)=="function"?o=(t=n==null?void 0:n.querySelector)==null?void 0:t.call(n,e):o=document.querySelector(e),o||mo(`Element not found: ${e}`),o}function xo(e,n,t=null){return function(...o){return e.apply(t,o),n.apply(t,o)}}function Eo(e,n){const t=Me({},e);return Object.keys(n).forEach(o=>{t[o]?t[o]=xo(e[o],n[o]):t[o]=n[o]}),t}function _o(e){return e instanceof HTMLElement}function on(e,n){Object.keys(e).forEach(t=>{n(t,e[t])})}function Do(e){return e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)}const To=Object.assign;/**! * Sortable 1.15.2 * @author RubaXa * @author owenm diff --git a/assets/TableImagePreview-7urd2aaJ.js b/assets/TableImagePreview-TQvekAeQ.js similarity index 71% rename from assets/TableImagePreview-7urd2aaJ.js rename to assets/TableImagePreview-TQvekAeQ.js index a262a73c..5c3fd84f 100644 --- a/assets/TableImagePreview-7urd2aaJ.js +++ b/assets/TableImagePreview-TQvekAeQ.js @@ -1 +1 @@ -var n=(p,m,t)=>new Promise((r,s)=>{var o=e=>{try{a(t.next(e))}catch(l){s(l)}},i=e=>{try{a(t.throw(e))}catch(l){s(l)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,i);a((t=t.apply(p,m)).next())});import{_ as d}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as u}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{g}from"./index-DFQGkRZD.js";/* empty css */import{C as b}from"./element-plus-CUBv5pjL.js";import{y as v,r as f,z as w,K as y,L,O as c,u as _}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./index-BQQdmLe5.js";const H=v({__name:"TableImagePreview",setup(p){const m=[{field:"title",label:"标题"},{field:"image_uri",label:"封面"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"importance",label:"重要性",formatter:(o,i,a)=>c(b,{type:a===1?"success":a===2?"warning":"danger"},{default:()=>[a===1?"重要":a===2?"良好":"一般"]})},{field:"pageviews",label:"阅读数"}],t=f(!0),r=f([]);return(o=>n(this,null,function*(){const i=yield g({pageIndex:1,pageSize:10}).catch(()=>{}).finally(()=>{t.value=!1});i&&(r.value=i.data.list)}))(),(o,i)=>(w(),y(_(d),{title:"表格图片预览"},{default:L(()=>[c(_(u),{columns:m,data:r.value,loading:t.value,"image-preview":["image_uri"]},null,8,["data","loading"])]),_:1}))}});export{H as default}; +var n=(p,m,t)=>new Promise((r,s)=>{var o=e=>{try{a(t.next(e))}catch(l){s(l)}},i=e=>{try{a(t.throw(e))}catch(l){s(l)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,i);a((t=t.apply(p,m)).next())});import{_ as d}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as u}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{g}from"./index-wRPr5Q4s.js";/* empty css */import{C as b}from"./element-plus-CUBv5pjL.js";import{y as v,r as f,z as w,K as y,L,O as c,u as _}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./index-DBEGipag.js";const H=v({__name:"TableImagePreview",setup(p){const m=[{field:"title",label:"标题"},{field:"image_uri",label:"封面"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"importance",label:"重要性",formatter:(o,i,a)=>c(b,{type:a===1?"success":a===2?"warning":"danger"},{default:()=>[a===1?"重要":a===2?"良好":"一般"]})},{field:"pageviews",label:"阅读数"}],t=f(!0),r=f([]);return(o=>n(this,null,function*(){const i=yield g({pageIndex:1,pageSize:10}).catch(()=>{}).finally(()=>{t.value=!1});i&&(r.value=i.data.list)}))(),(o,i)=>(w(),y(_(d),{title:"表格图片预览"},{default:L(()=>[c(_(u),{columns:m,data:r.value,loading:t.value,"image-preview":["image_uri"]},null,8,["data","loading"])]),_:1}))}});export{H as default}; diff --git a/assets/TableVideoPreview-Do6ykb1S.js b/assets/TableVideoPreview-dskQFQoF.js similarity index 69% rename from assets/TableVideoPreview-Do6ykb1S.js rename to assets/TableVideoPreview-dskQFQoF.js index fb1aebbf..8bbe88f8 100644 --- a/assets/TableVideoPreview-Do6ykb1S.js +++ b/assets/TableVideoPreview-dskQFQoF.js @@ -1 +1 @@ -var n=(p,o,e)=>new Promise((i,r)=>{var l=t=>{try{s(e.next(t))}catch(m){r(m)}},a=t=>{try{s(e.throw(t))}catch(m){r(m)}},s=t=>t.done?i(t.value):Promise.resolve(t.value).then(l,a);s((e=e.apply(p,o)).next())});import{_ as f}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as u}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{g as _}from"./index-DFQGkRZD.js";import{y as g,r as c,z as b,K as v,L as w,O as L,u as d}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import"./index-BQQdmLe5.js";const F=g({__name:"TableVideoPreview",setup(p){const o=[{field:"title",label:"标题"},{field:"video_uri",label:"视频预览"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"pageviews",label:"阅读数"}],e=c(!0),i=c([]);return(l=>n(this,null,function*(){const a=yield _({pageIndex:1,pageSize:10}).catch(()=>{}).finally(()=>{e.value=!1});a&&(i.value=a.data.list)}))(),(l,a)=>(b(),v(d(f),{title:"表格图片预览"},{default:w(()=>[L(d(u),{columns:o,data:i.value,loading:e.value,"video-preview":["image_uri","video_uri"]},null,8,["data","loading"])]),_:1}))}});export{F as default}; +var n=(p,o,e)=>new Promise((i,r)=>{var l=t=>{try{s(e.next(t))}catch(m){r(m)}},a=t=>{try{s(e.throw(t))}catch(m){r(m)}},s=t=>t.done?i(t.value):Promise.resolve(t.value).then(l,a);s((e=e.apply(p,o)).next())});import{_ as f}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as u}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{g as _}from"./index-wRPr5Q4s.js";import{y as g,r as c,z as b,K as v,L as w,O as L,u as d}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import"./index-DBEGipag.js";const F=g({__name:"TableVideoPreview",setup(p){const o=[{field:"title",label:"标题"},{field:"video_uri",label:"视频预览"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"pageviews",label:"阅读数"}],e=c(!0),i=c([]);return(l=>n(this,null,function*(){const a=yield _({pageIndex:1,pageSize:10}).catch(()=>{}).finally(()=>{e.value=!1});a&&(i.value=a.data.list)}))(),(l,a)=>(b(),v(d(f),{title:"表格图片预览"},{default:w(()=>[L(d(u),{columns:o,data:i.value,loading:e.value,"video-preview":["image_uri","video_uri"]},null,8,["data","loading"])]),_:1}))}});export{F as default}; diff --git a/assets/Test-B45QZFfm.js b/assets/Test-D54RbRsz.js similarity index 90% rename from assets/Test-B45QZFfm.js rename to assets/Test-D54RbRsz.js index 4e76ffa5..17eb7d62 100644 --- a/assets/Test-B45QZFfm.js +++ b/assets/Test-D54RbRsz.js @@ -1 +1 @@ -import{p as V,v as T}from"./index-DHbc4UQl.js";import{y as D,aA as x,c as P,u as t,B as A,H as f,r as C,ap as E,z as d,K as l,L as r,O as s,a4 as i,T as v}from"./vue-chunks-ChjHxF1G.js";import{_ as R}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";/* empty css *//* empty css */import{_ as u}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{q as w,n as _,k as o}from"./element-plus-CUBv5pjL.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const $=D({__name:"Permission",props:{permission:V.string.def()},setup(a){const{currentRoute:p}=x(),k=a,e=P(()=>{var n,y;return((y=(n=t(p))==null?void 0:n.meta)==null?void 0:y.permission)||[]}),m=P(()=>{const n=t(k.permission);return n?t(e).includes(n):!0});return(n,y)=>m.value?A(n.$slots,"default",{key:0}):f("",!0)}}),g=a=>{const p=T.currentRoute.value.meta.permission||[];if(!a)throw new Error("请设置操作权限值");return!!p.includes(a)},j=D({__name:"Test",setup(a){const p=C("add");return setTimeout(()=>{p.value="view"},3e3),(k,e)=>{const m=$,n=E("hasPermi");return d(),l(t(R),null,{default:r(()=>[s(t(w),null,{default:r(()=>e[0]||(e[0]=[i("组件方式判断(已经全局注册,支持动态修改)")])),_:1}),s(t(_),{gutter:20},{default:r(()=>[s(t(o),{span:8},{default:r(()=>[e[2]||(e[2]=i(" 新增权限: ")),s(m,{permission:"add"},{default:r(()=>[s(t(u),{type:"primary"},{default:r(()=>e[1]||(e[1]=[i(" Add ")])),_:1})]),_:1})]),_:1}),s(t(o),{span:8},{default:r(()=>[e[4]||(e[4]=i(" 删除权限: ")),s(m,{permission:"delete"},{default:r(()=>[s(t(u),{type:"danger"},{default:r(()=>e[3]||(e[3]=[i(" Delete ")])),_:1})]),_:1})]),_:1}),s(t(o),{span:8},{default:r(()=>[e[6]||(e[6]=i(" 3秒后切换查看权限: ")),s(m,{permission:p.value},{default:r(()=>[s(t(u),{type:"primary"},{default:r(()=>e[5]||(e[5]=[i(" View ")])),_:1})]),_:1},8,["permission"])]),_:1})]),_:1}),s(t(w),null,{default:r(()=>e[7]||(e[7]=[i("指令方式判断(已经全局注册,不支持动态修改)")])),_:1}),s(t(_),{gutter:20},{default:r(()=>[s(t(o),{span:8},{default:r(()=>[e[9]||(e[9]=i(" 新增权限: ")),v((d(),l(t(u),{type:"primary"},{default:r(()=>e[8]||(e[8]=[i(" Add ")])),_:1})),[[n,"add"]])]),_:1}),s(t(o),{span:8},{default:r(()=>[e[11]||(e[11]=i(" 删除权限: ")),v((d(),l(t(u),{type:"danger"},{default:r(()=>e[10]||(e[10]=[i(" Delete ")])),_:1})),[[n,"delete"]])]),_:1}),s(t(o),{span:8},{default:r(()=>[e[13]||(e[13]=i(" 3秒后切换查看权限(无法动态修改): ")),v((d(),l(t(u),{type:"primary"},{default:r(()=>e[12]||(e[12]=[i(" View ")])),_:1})),[[n,p.value]])]),_:1})]),_:1}),s(t(w),null,{default:r(()=>e[14]||(e[14]=[i("函数方式判断")])),_:1}),s(t(_),{gutter:20},{default:r(()=>[s(t(o),{span:8},{default:r(()=>[e[16]||(e[16]=i(" 新增权限: ")),t(g)("add")?(d(),l(t(u),{key:0,type:"primary"},{default:r(()=>e[15]||(e[15]=[i(" Add ")])),_:1})):f("",!0)]),_:1}),s(t(o),{span:8},{default:r(()=>[e[18]||(e[18]=i(" 删除权限: ")),t(g)("delete")?(d(),l(t(u),{key:0,type:"danger"},{default:r(()=>e[17]||(e[17]=[i(" Delete ")])),_:1})):f("",!0)]),_:1}),s(t(o),{span:8},{default:r(()=>[e[20]||(e[20]=i(" 3秒后切换查看权限: ")),t(g)(t(p.value))?(d(),l(t(u),{key:0,type:"primary"},{default:r(()=>e[19]||(e[19]=[i(" View ")])),_:1})):f("",!0)]),_:1})]),_:1})]),_:1})}}});export{j as default}; +import{p as V,v as T}from"./index-wnyZ7Zvr.js";import{y as D,aA as x,c as P,u as t,B as A,H as f,r as C,ap as E,z as d,K as l,L as r,O as s,a4 as i,T as v}from"./vue-chunks-ChjHxF1G.js";import{_ as R}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";/* empty css *//* empty css */import{_ as u}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{q as w,n as _,k as o}from"./element-plus-CUBv5pjL.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const $=D({__name:"Permission",props:{permission:V.string.def()},setup(a){const{currentRoute:p}=x(),k=a,e=P(()=>{var n,y;return((y=(n=t(p))==null?void 0:n.meta)==null?void 0:y.permission)||[]}),m=P(()=>{const n=t(k.permission);return n?t(e).includes(n):!0});return(n,y)=>m.value?A(n.$slots,"default",{key:0}):f("",!0)}}),g=a=>{const p=T.currentRoute.value.meta.permission||[];if(!a)throw new Error("请设置操作权限值");return!!p.includes(a)},j=D({__name:"Test",setup(a){const p=C("add");return setTimeout(()=>{p.value="view"},3e3),(k,e)=>{const m=$,n=E("hasPermi");return d(),l(t(R),null,{default:r(()=>[s(t(w),null,{default:r(()=>e[0]||(e[0]=[i("组件方式判断(已经全局注册,支持动态修改)")])),_:1}),s(t(_),{gutter:20},{default:r(()=>[s(t(o),{span:8},{default:r(()=>[e[2]||(e[2]=i(" 新增权限: ")),s(m,{permission:"add"},{default:r(()=>[s(t(u),{type:"primary"},{default:r(()=>e[1]||(e[1]=[i(" Add ")])),_:1})]),_:1})]),_:1}),s(t(o),{span:8},{default:r(()=>[e[4]||(e[4]=i(" 删除权限: ")),s(m,{permission:"delete"},{default:r(()=>[s(t(u),{type:"danger"},{default:r(()=>e[3]||(e[3]=[i(" Delete ")])),_:1})]),_:1})]),_:1}),s(t(o),{span:8},{default:r(()=>[e[6]||(e[6]=i(" 3秒后切换查看权限: ")),s(m,{permission:p.value},{default:r(()=>[s(t(u),{type:"primary"},{default:r(()=>e[5]||(e[5]=[i(" View ")])),_:1})]),_:1},8,["permission"])]),_:1})]),_:1}),s(t(w),null,{default:r(()=>e[7]||(e[7]=[i("指令方式判断(已经全局注册,不支持动态修改)")])),_:1}),s(t(_),{gutter:20},{default:r(()=>[s(t(o),{span:8},{default:r(()=>[e[9]||(e[9]=i(" 新增权限: ")),v((d(),l(t(u),{type:"primary"},{default:r(()=>e[8]||(e[8]=[i(" Add ")])),_:1})),[[n,"add"]])]),_:1}),s(t(o),{span:8},{default:r(()=>[e[11]||(e[11]=i(" 删除权限: ")),v((d(),l(t(u),{type:"danger"},{default:r(()=>e[10]||(e[10]=[i(" Delete ")])),_:1})),[[n,"delete"]])]),_:1}),s(t(o),{span:8},{default:r(()=>[e[13]||(e[13]=i(" 3秒后切换查看权限(无法动态修改): ")),v((d(),l(t(u),{type:"primary"},{default:r(()=>e[12]||(e[12]=[i(" View ")])),_:1})),[[n,p.value]])]),_:1})]),_:1}),s(t(w),null,{default:r(()=>e[14]||(e[14]=[i("函数方式判断")])),_:1}),s(t(_),{gutter:20},{default:r(()=>[s(t(o),{span:8},{default:r(()=>[e[16]||(e[16]=i(" 新增权限: ")),t(g)("add")?(d(),l(t(u),{key:0,type:"primary"},{default:r(()=>e[15]||(e[15]=[i(" Add ")])),_:1})):f("",!0)]),_:1}),s(t(o),{span:8},{default:r(()=>[e[18]||(e[18]=i(" 删除权限: ")),t(g)("delete")?(d(),l(t(u),{key:0,type:"danger"},{default:r(()=>e[17]||(e[17]=[i(" Delete ")])),_:1})):f("",!0)]),_:1}),s(t(o),{span:8},{default:r(()=>[e[20]||(e[20]=i(" 3秒后切换查看权限: ")),t(g)(t(p.value))?(d(),l(t(u),{key:0,type:"primary"},{default:r(()=>e[19]||(e[19]=[i(" View ")])),_:1})):f("",!0)]),_:1})]),_:1})]),_:1})}}});export{j as default}; diff --git a/assets/ThemeSwitch-Ct6XHugw.js b/assets/ThemeSwitch-F8Fn7TL9.js similarity index 71% rename from assets/ThemeSwitch-Ct6XHugw.js rename to assets/ThemeSwitch-F8Fn7TL9.js index 38dcd8dc..f8055a41 100644 --- a/assets/ThemeSwitch-Ct6XHugw.js +++ b/assets/ThemeSwitch-F8Fn7TL9.js @@ -1 +1 @@ -import{u as f}from"./index-DHbc4UQl.js";import"./Form-Cq-QZJdy.js";import{u as a}from"./useIcon-CKHK9-or.js";import{Q as h}from"./element-plus-CUBv5pjL.js";import{y as _,r as d,z as v,K as k,u as e}from"./vue-chunks-ChjHxF1G.js";import{_ as S}from"./Icon-CdhVCYkm.js";const n="var(--el-color-black)",g=_({__name:"ThemeSwitch",emits:["change"],setup(C,{emit:s}){const i=s,m=a({icon:"emojione-monotone:sun",color:"#fde047"}),l=a({icon:"emojione-monotone:crescent-moon",color:"#fde047"}),t=f(),c=d(t.getIsDark),p=o=>{t.setIsDark(o),i("change",o)};return(o,r)=>(v(),k(e(h),{class:"theme-switch",modelValue:c.value,"onUpdate:modelValue":r[0]||(r[0]=u=>c.value=u),"inline-prompt":"","border-color":n,"inactive-color":n,"active-color":n,"active-icon":e(m),"inactive-icon":e(l),onChange:p},null,8,["modelValue","active-icon","inactive-icon"]))}}),V=S(g,[["__scopeId","data-v-f475567a"]]);export{V as T}; +import{u as f}from"./index-wnyZ7Zvr.js";import"./Form-BTUMYN5B.js";import{u as a}from"./useIcon-B724d8dT.js";import{Q as h}from"./element-plus-CUBv5pjL.js";import{y as _,r as d,z as v,K as k,u as e}from"./vue-chunks-ChjHxF1G.js";import{_ as S}from"./Icon-BTLftY2_.js";const n="var(--el-color-black)",g=_({__name:"ThemeSwitch",emits:["change"],setup(C,{emit:s}){const i=s,m=a({icon:"emojione-monotone:sun",color:"#fde047"}),l=a({icon:"emojione-monotone:crescent-moon",color:"#fde047"}),t=f(),c=d(t.getIsDark),p=o=>{t.setIsDark(o),i("change",o)};return(o,r)=>(v(),k(e(h),{class:"theme-switch",modelValue:c.value,"onUpdate:modelValue":r[0]||(r[0]=u=>c.value=u),"inline-prompt":"","border-color":n,"inactive-color":n,"active-color":n,"active-icon":e(m),"inactive-icon":e(l),onChange:p},null,8,["modelValue","active-icon","inactive-icon"]))}}),V=S(g,[["__scopeId","data-v-f475567a"]]);export{V as T}; diff --git a/assets/TreeTable-VW3aBxkT.js b/assets/TreeTable-Cdrgo-oH.js similarity index 74% rename from assets/TreeTable-VW3aBxkT.js rename to assets/TreeTable-Cdrgo-oH.js index 3fe9c8ec..9381b03b 100644 --- a/assets/TreeTable-VW3aBxkT.js +++ b/assets/TreeTable-Cdrgo-oH.js @@ -1 +1 @@ -var g=(u,m,o)=>new Promise((d,p)=>{var c=a=>{try{i(o.next(a))}catch(s){p(s)}},l=a=>{try{i(o.throw(a))}catch(s){p(s)}},i=a=>a.done?d(a.value):Promise.resolve(a.value).then(c,l);i((o=o.apply(u,m)).next())});import{_ as b}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as y}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{a as T}from"./index-DFQGkRZD.js";/* empty css */import{u as x}from"./useTable-B0KZmPSP.js";import{_ as z}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{C as S}from"./element-plus-CUBv5pjL.js";import{y as C,W as v,O as f,a4 as w,z as P,K as k,L as R,u as t,l as _}from"./vue-chunks-ChjHxF1G.js";import{_ as L}from"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css */import"./index-BQQdmLe5.js";const $=C({__name:"TreeTable",setup(u){const{tableRegister:m,tableState:o}=x({fetchDataApi:()=>g(this,null,function*(){const{currentPage:r,pageSize:n}=o,e=yield T({pageIndex:t(r),pageSize:t(n)});return{list:e.data.list,total:e.data.total}})}),{loading:d,dataList:p,total:c,currentPage:l,pageSize:i}=o,a=v([{field:"selection",type:"selection"},{field:"index",label:"序号",type:"index"},{field:"content",label:"头部",children:[{field:"title",label:"标题"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"importance",label:"重要性",formatter:(r,n,e)=>f(S,{type:e===1?"success":e===2?"warning":"danger"},{default:()=>[e===1?"重要":e===2?"良好":"一般"]})},{field:"pageviews",label:"阅读数"}]},{field:"action",label:"操作",slots:{default:r=>f(z,{type:"primary",onClick:()=>s(r)},{default:()=>[w("操作")]})}}]),s=r=>{};return(r,n)=>(P(),k(t(b),{title:"树形表格 示例"},{default:R(()=>[f(t(y),{pageSize:t(i),"onUpdate:pageSize":n[0]||(n[0]=e=>_(i)?i.value=e:null),currentPage:t(l),"onUpdate:currentPage":n[1]||(n[1]=e=>_(l)?l.value=e:null),columns:a,data:t(p),"row-key":"id",loading:t(d),sortable:"",pagination:{total:t(c)},onRegister:t(m)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister"])]),_:1}))}}),V=L($,[["__scopeId","data-v-047b7751"]]);export{V as default}; +var g=(u,m,o)=>new Promise((d,p)=>{var c=a=>{try{i(o.next(a))}catch(s){p(s)}},l=a=>{try{i(o.throw(a))}catch(s){p(s)}},i=a=>a.done?d(a.value):Promise.resolve(a.value).then(c,l);i((o=o.apply(u,m)).next())});import{_ as b}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as y}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{a as T}from"./index-wRPr5Q4s.js";/* empty css */import{u as x}from"./useTable-CCTWSpiR.js";import{_ as z}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{C as S}from"./element-plus-CUBv5pjL.js";import{y as C,W as v,O as f,a4 as w,z as P,K as k,L as R,u as t,l as _}from"./vue-chunks-ChjHxF1G.js";import{_ as L}from"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css */import"./index-DBEGipag.js";const $=C({__name:"TreeTable",setup(u){const{tableRegister:m,tableState:o}=x({fetchDataApi:()=>g(this,null,function*(){const{currentPage:r,pageSize:n}=o,e=yield T({pageIndex:t(r),pageSize:t(n)});return{list:e.data.list,total:e.data.total}})}),{loading:d,dataList:p,total:c,currentPage:l,pageSize:i}=o,a=v([{field:"selection",type:"selection"},{field:"index",label:"序号",type:"index"},{field:"content",label:"头部",children:[{field:"title",label:"标题"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"importance",label:"重要性",formatter:(r,n,e)=>f(S,{type:e===1?"success":e===2?"warning":"danger"},{default:()=>[e===1?"重要":e===2?"良好":"一般"]})},{field:"pageviews",label:"阅读数"}]},{field:"action",label:"操作",slots:{default:r=>f(z,{type:"primary",onClick:()=>s(r)},{default:()=>[w("操作")]})}}]),s=r=>{};return(r,n)=>(P(),k(t(b),{title:"树形表格 示例"},{default:R(()=>[f(t(y),{pageSize:t(i),"onUpdate:pageSize":n[0]||(n[0]=e=>_(i)?i.value=e:null),currentPage:t(l),"onUpdate:currentPage":n[1]||(n[1]=e=>_(l)?l.value=e:null),columns:a,data:t(p),"row-key":"id",loading:t(d),sortable:"",pagination:{total:t(c)},onRegister:t(m)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister"])]),_:1}))}}),V=L($,[["__scopeId","data-v-047b7751"]]);export{V as default}; diff --git a/assets/UseFormDemo-DZPTJ2XC.js b/assets/UseFormDemo-DpljFsZ8.js similarity index 88% rename from assets/UseFormDemo-DZPTJ2XC.js rename to assets/UseFormDemo-DpljFsZ8.js index fdcc1cd5..619b1bf3 100644 --- a/assets/UseFormDemo-DZPTJ2XC.js +++ b/assets/UseFormDemo-DpljFsZ8.js @@ -1 +1 @@ -var r=($,b,u)=>new Promise((g,v)=>{var c=d=>{try{p(u.next(d))}catch(f){v(f)}},k=d=>{try{p(u.throw(d))}catch(f){v(f)}},p=d=>d.done?g(d.value):Promise.resolve(d.value).then(c,k);p((u=u.apply($,b)).next())});import{F as j}from"./Form-Cq-QZJdy.js";import{_ as V}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{u as G}from"./useForm-B1_iUn_7.js";import"./index-DHbc4UQl.js";import{u as N}from"./useValidator-Nt61Jv1p.js";import{g as q}from"./index-CPGYCljv.js";import{_ as a}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{j as K,E as H}from"./element-plus-CUBv5pjL.js";import{y as J,W as Q,O as t,a4 as n,r as X,z as Y,A as Z,L as i,u as o,I as h}from"./vue-chunks-ChjHxF1G.js";import{_}from"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css *//* empty css */const ee=J({__name:"UseFormDemo",setup($){const{required:b}=N(),u=[{value:"1",label:"Level one 1",children:[{value:"1-1",label:"Level two 1-1",children:[{value:"1-1-1",label:"Level three 1-1-1"}]}]},{value:"2",label:"Level one 2",children:[{value:"2-1",label:"Level two 2-1",children:[{value:"2-1-1",label:"Level three 2-1-1"}]},{value:"2-2",label:"Level two 2-2",children:[{value:"2-2-1",label:"Level three 2-2-1"}]}]},{value:"3",label:"Level one 3",children:[{value:"3-1",label:"Level two 3-1",children:[{value:"3-1-1",label:"Level three 3-1-1"}]},{value:"3-2",label:"Level two 3-2",children:[{value:"3-2-1",label:"Level three 3-2-1"}]}]}],g=()=>new Promise(l=>{setTimeout(()=>{l(u)},3e3)}),v=Q([{field:"field1",label:"输入框",component:"Input",formItemProps:{rules:[b()]}},{field:"field2",label:"选择器",component:"Select",componentProps:{options:[{label:"option1",value:"1"},{label:"option2",value:"2"}]},formItemProps:{rules:[b()]}},{field:"field3",label:"单选框",component:"RadioGroup",hidden:!0,value:"1",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field4",label:"多选框",component:"CheckboxGroup",value:["1"],remove:!0,componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"3"}]}},{field:"field5",component:"DatePicker",label:"日期选择器",componentProps:{type:"date"}},{field:"field6",component:"TimeSelect",label:"时间选择"},{field:"field7",label:"树形选择器",component:"TreeSelect",optionApi:()=>r(this,null,function*(){return yield g()})},{field:"field8",component:"Upload",label:"默认",componentProps:{limit:3,action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",multiple:!0,onPreview:l=>{},onRemove:l=>{},beforeRemove:l=>K.confirm(`Cancel the transfer of ${l.name} ?`).then(()=>!0,()=>!1),onExceed:(l,e)=>{H.warning(`The limit is 3, you selected ${l.length} files this time, add up to ${l.length+e.length} totally`)},slots:{default:()=>t(a,{type:"primary"},{default:()=>[n("Click to upload")]}),tip:()=>t("div",{class:"el-upload__tip"},[n("jpg/png files with a size less than 500KB.")])}}}]),{formRegister:c,formMethods:k}=G(),{setProps:p,delSchema:d,addSchema:f,setValues:I,setSchema:y,getComponentExpose:L,getFormItemExpose:R,getElFormExpose:C,getFormData:w}=k,P=l=>{p({labelWidth:l})},D=l=>{p({size:l})},F=l=>{p({disabled:l})},S=l=>{l?d("field2"):!l&&v[1].field!=="field2"&&f({field:"field2",label:"选择器",component:"Select",componentProps:{options:[{label:"option1",value:"1"},{label:"option2",value:"2"}]}},1)},x=l=>r(this,null,function*(){const e=yield C();if(l)e==null||e.resetFields();else{I({field1:"field1",field2:"2",field3:"2",field4:["1","3"],field5:"2022-01-27",field6:"17:00",field8:[{name:"element-plus-logo.svg",url:"https://element-plus.org/images/element-plus-logo.svg"},{name:"element-plus-logo2.svg",url:"https://element-plus.org/images/element-plus-logo.svg"}]});const s=yield w()}}),m=X(7),T=()=>{y([{field:"field2",path:"label",value:`选择器 ${m.value}`},{field:"field2",path:"componentProps.options",value:[{label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"3"}]}]),m.value++},z=()=>{o(m)%2===0?f({field:`field${o(m)}`,label:`输入框${o(m)}`,component:"Input"}):f({field:`field${o(m)}`,label:`输入框${o(m)}`,component:"Input"},o(m)),m.value++},U=()=>r(this,null,function*(){const l=yield C();l==null||l.validate(e=>{})}),W=()=>r(this,null,function*(){const l=yield C();l==null||l.resetFields()}),B=()=>r(this,null,function*(){const l=yield q();l&&y([{field:"field2",path:"componentProps.options",value:l.data}])}),E=()=>r(this,null,function*(){const l=yield L("field1");l==null||l.focus()}),A=()=>r(this,null,function*(){const l=yield R("field1"),e=yield L("field1");e==null||e.focus(),l==null||l.validate("focus",s=>{})}),M=(l,e,s)=>{};setTimeout(()=>r(this,null,function*(){const l=yield w()}),2e3);const O=()=>r(this,null,function*(){const l=yield w()});return(l,e)=>(Y(),Z(h,null,[t(o(V),{title:"UseForm 操作",style:{"margin-bottom":"20px"}},{default:i(()=>[t(o(a),{onClick:e[0]||(e[0]=s=>P(150))},{default:i(()=>e[10]||(e[10]=[n("更改 labelWidth")])),_:1}),t(o(a),{onClick:e[1]||(e[1]=s=>P("auto"))},{default:i(()=>e[11]||(e[11]=[n("还原 labelWidth")])),_:1}),t(o(a),{onClick:e[2]||(e[2]=s=>D("large"))},{default:i(()=>e[12]||(e[12]=[n("更改 size")])),_:1}),t(o(a),{onClick:e[3]||(e[3]=s=>D("default"))},{default:i(()=>e[13]||(e[13]=[n("还原 size")])),_:1}),t(o(a),{onClick:e[4]||(e[4]=s=>F(!0))},{default:i(()=>e[14]||(e[14]=[n("禁用")])),_:1}),t(o(a),{onClick:e[5]||(e[5]=s=>F(!1))},{default:i(()=>e[15]||(e[15]=[n("解除禁用")])),_:1}),t(o(a),{onClick:e[6]||(e[6]=s=>S(!0))},{default:i(()=>e[16]||(e[16]=[n(" 删除 选择器 ")])),_:1}),t(o(a),{onClick:e[7]||(e[7]=s=>S(!1))},{default:i(()=>e[17]||(e[17]=[n(" 添加 选择器 ")])),_:1}),t(o(a),{onClick:e[8]||(e[8]=s=>x(!1))},{default:i(()=>e[18]||(e[18]=[n("设置值")])),_:1}),t(o(a),{onClick:e[9]||(e[9]=s=>x(!0))},{default:i(()=>e[19]||(e[19]=[n("重置值")])),_:1}),t(o(a),{onClick:T},{default:i(()=>e[20]||(e[20]=[n(" 设置 选择器 label ")])),_:1}),t(o(a),{onClick:z},{default:i(()=>e[21]||(e[21]=[n(" 添加 子项 ")])),_:1}),t(o(a),{onClick:U},{default:i(()=>e[22]||(e[22]=[n(" 表单验证 ")])),_:1}),t(o(a),{onClick:W},{default:i(()=>e[23]||(e[23]=[n(" 验证重置 ")])),_:1}),t(o(a),{onClick:B},{default:i(()=>e[24]||(e[24]=[n(" 选择器 动态选项 ")])),_:1}),t(o(a),{onClick:E},{default:i(()=>e[25]||(e[25]=[n(" 输入框 聚焦 ")])),_:1}),t(o(a),{onClick:A},{default:i(()=>e[26]||(e[26]=[n(" 输入框 表单验证 ")])),_:1}),t(o(a),{onClick:O},{default:i(()=>e[27]||(e[27]=[n(" 获取值 ")])),_:1})]),_:1}),t(o(V),{title:"UseForm 示例"},{default:i(()=>[t(o(j),{schema:v,onRegister:o(c),onValidate:M},null,8,["schema","onRegister"])]),_:1})],64))}}),Ie=_(ee,[["__scopeId","data-v-41286e55"]]);export{Ie as default}; +var r=($,b,u)=>new Promise((g,v)=>{var c=d=>{try{p(u.next(d))}catch(f){v(f)}},k=d=>{try{p(u.throw(d))}catch(f){v(f)}},p=d=>d.done?g(d.value):Promise.resolve(d.value).then(c,k);p((u=u.apply($,b)).next())});import{F as j}from"./Form-BTUMYN5B.js";import{_ as V}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{u as G}from"./useForm-B3urKjox.js";import"./index-wnyZ7Zvr.js";import{u as N}from"./useValidator-Nt61Jv1p.js";import{g as q}from"./index-Dw2-9OhJ.js";import{_ as a}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{j as K,E as H}from"./element-plus-CUBv5pjL.js";import{y as J,W as Q,O as t,a4 as n,r as X,z as Y,A as Z,L as i,u as o,I as h}from"./vue-chunks-ChjHxF1G.js";import{_}from"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css *//* empty css */const ee=J({__name:"UseFormDemo",setup($){const{required:b}=N(),u=[{value:"1",label:"Level one 1",children:[{value:"1-1",label:"Level two 1-1",children:[{value:"1-1-1",label:"Level three 1-1-1"}]}]},{value:"2",label:"Level one 2",children:[{value:"2-1",label:"Level two 2-1",children:[{value:"2-1-1",label:"Level three 2-1-1"}]},{value:"2-2",label:"Level two 2-2",children:[{value:"2-2-1",label:"Level three 2-2-1"}]}]},{value:"3",label:"Level one 3",children:[{value:"3-1",label:"Level two 3-1",children:[{value:"3-1-1",label:"Level three 3-1-1"}]},{value:"3-2",label:"Level two 3-2",children:[{value:"3-2-1",label:"Level three 3-2-1"}]}]}],g=()=>new Promise(l=>{setTimeout(()=>{l(u)},3e3)}),v=Q([{field:"field1",label:"输入框",component:"Input",formItemProps:{rules:[b()]}},{field:"field2",label:"选择器",component:"Select",componentProps:{options:[{label:"option1",value:"1"},{label:"option2",value:"2"}]},formItemProps:{rules:[b()]}},{field:"field3",label:"单选框",component:"RadioGroup",hidden:!0,value:"1",componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"}]}},{field:"field4",label:"多选框",component:"CheckboxGroup",value:["1"],remove:!0,componentProps:{options:[{label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"3"}]}},{field:"field5",component:"DatePicker",label:"日期选择器",componentProps:{type:"date"}},{field:"field6",component:"TimeSelect",label:"时间选择"},{field:"field7",label:"树形选择器",component:"TreeSelect",optionApi:()=>r(this,null,function*(){return yield g()})},{field:"field8",component:"Upload",label:"默认",componentProps:{limit:3,action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",multiple:!0,onPreview:l=>{},onRemove:l=>{},beforeRemove:l=>K.confirm(`Cancel the transfer of ${l.name} ?`).then(()=>!0,()=>!1),onExceed:(l,e)=>{H.warning(`The limit is 3, you selected ${l.length} files this time, add up to ${l.length+e.length} totally`)},slots:{default:()=>t(a,{type:"primary"},{default:()=>[n("Click to upload")]}),tip:()=>t("div",{class:"el-upload__tip"},[n("jpg/png files with a size less than 500KB.")])}}}]),{formRegister:c,formMethods:k}=G(),{setProps:p,delSchema:d,addSchema:f,setValues:I,setSchema:y,getComponentExpose:L,getFormItemExpose:R,getElFormExpose:C,getFormData:w}=k,P=l=>{p({labelWidth:l})},D=l=>{p({size:l})},F=l=>{p({disabled:l})},S=l=>{l?d("field2"):!l&&v[1].field!=="field2"&&f({field:"field2",label:"选择器",component:"Select",componentProps:{options:[{label:"option1",value:"1"},{label:"option2",value:"2"}]}},1)},x=l=>r(this,null,function*(){const e=yield C();if(l)e==null||e.resetFields();else{I({field1:"field1",field2:"2",field3:"2",field4:["1","3"],field5:"2022-01-27",field6:"17:00",field8:[{name:"element-plus-logo.svg",url:"https://element-plus.org/images/element-plus-logo.svg"},{name:"element-plus-logo2.svg",url:"https://element-plus.org/images/element-plus-logo.svg"}]});const s=yield w()}}),m=X(7),T=()=>{y([{field:"field2",path:"label",value:`选择器 ${m.value}`},{field:"field2",path:"componentProps.options",value:[{label:"option-1",value:"1"},{label:"option-2",value:"2"},{label:"option-3",value:"3"}]}]),m.value++},z=()=>{o(m)%2===0?f({field:`field${o(m)}`,label:`输入框${o(m)}`,component:"Input"}):f({field:`field${o(m)}`,label:`输入框${o(m)}`,component:"Input"},o(m)),m.value++},U=()=>r(this,null,function*(){const l=yield C();l==null||l.validate(e=>{})}),W=()=>r(this,null,function*(){const l=yield C();l==null||l.resetFields()}),B=()=>r(this,null,function*(){const l=yield q();l&&y([{field:"field2",path:"componentProps.options",value:l.data}])}),E=()=>r(this,null,function*(){const l=yield L("field1");l==null||l.focus()}),A=()=>r(this,null,function*(){const l=yield R("field1"),e=yield L("field1");e==null||e.focus(),l==null||l.validate("focus",s=>{})}),M=(l,e,s)=>{};setTimeout(()=>r(this,null,function*(){const l=yield w()}),2e3);const O=()=>r(this,null,function*(){const l=yield w()});return(l,e)=>(Y(),Z(h,null,[t(o(V),{title:"UseForm 操作",style:{"margin-bottom":"20px"}},{default:i(()=>[t(o(a),{onClick:e[0]||(e[0]=s=>P(150))},{default:i(()=>e[10]||(e[10]=[n("更改 labelWidth")])),_:1}),t(o(a),{onClick:e[1]||(e[1]=s=>P("auto"))},{default:i(()=>e[11]||(e[11]=[n("还原 labelWidth")])),_:1}),t(o(a),{onClick:e[2]||(e[2]=s=>D("large"))},{default:i(()=>e[12]||(e[12]=[n("更改 size")])),_:1}),t(o(a),{onClick:e[3]||(e[3]=s=>D("default"))},{default:i(()=>e[13]||(e[13]=[n("还原 size")])),_:1}),t(o(a),{onClick:e[4]||(e[4]=s=>F(!0))},{default:i(()=>e[14]||(e[14]=[n("禁用")])),_:1}),t(o(a),{onClick:e[5]||(e[5]=s=>F(!1))},{default:i(()=>e[15]||(e[15]=[n("解除禁用")])),_:1}),t(o(a),{onClick:e[6]||(e[6]=s=>S(!0))},{default:i(()=>e[16]||(e[16]=[n(" 删除 选择器 ")])),_:1}),t(o(a),{onClick:e[7]||(e[7]=s=>S(!1))},{default:i(()=>e[17]||(e[17]=[n(" 添加 选择器 ")])),_:1}),t(o(a),{onClick:e[8]||(e[8]=s=>x(!1))},{default:i(()=>e[18]||(e[18]=[n("设置值")])),_:1}),t(o(a),{onClick:e[9]||(e[9]=s=>x(!0))},{default:i(()=>e[19]||(e[19]=[n("重置值")])),_:1}),t(o(a),{onClick:T},{default:i(()=>e[20]||(e[20]=[n(" 设置 选择器 label ")])),_:1}),t(o(a),{onClick:z},{default:i(()=>e[21]||(e[21]=[n(" 添加 子项 ")])),_:1}),t(o(a),{onClick:U},{default:i(()=>e[22]||(e[22]=[n(" 表单验证 ")])),_:1}),t(o(a),{onClick:W},{default:i(()=>e[23]||(e[23]=[n(" 验证重置 ")])),_:1}),t(o(a),{onClick:B},{default:i(()=>e[24]||(e[24]=[n(" 选择器 动态选项 ")])),_:1}),t(o(a),{onClick:E},{default:i(()=>e[25]||(e[25]=[n(" 输入框 聚焦 ")])),_:1}),t(o(a),{onClick:A},{default:i(()=>e[26]||(e[26]=[n(" 输入框 表单验证 ")])),_:1}),t(o(a),{onClick:O},{default:i(()=>e[27]||(e[27]=[n(" 获取值 ")])),_:1})]),_:1}),t(o(V),{title:"UseForm 示例"},{default:i(()=>[t(o(j),{schema:v,onRegister:o(c),onValidate:M},null,8,["schema","onRegister"])]),_:1})],64))}}),Ie=_(ee,[["__scopeId","data-v-41286e55"]]);export{Ie as default}; diff --git a/assets/UseTableDemo-CYYBYN6L.js b/assets/UseTableDemo-Dz53_phS.js similarity index 88% rename from assets/UseTableDemo-CYYBYN6L.js rename to assets/UseTableDemo-Dz53_phS.js index 6f69d263..0803bab8 100644 --- a/assets/UseTableDemo-CYYBYN6L.js +++ b/assets/UseTableDemo-Dz53_phS.js @@ -1 +1 @@ -var v=(A,C,p)=>new Promise((m,g)=>{var b=r=>{try{d(p.next(r))}catch(u){g(u)}},x=r=>{try{d(p.throw(r))}catch(u){g(u)}},d=r=>r.done?m(r.value):Promise.resolve(r.value).then(b,x);d((p=p.apply(A,C)).next())});import{_ as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as J}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{g as K}from"./index-DFQGkRZD.js";/* empty css */import{u as Q}from"./useTable-B0KZmPSP.js";import{_ as s}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{C as X}from"./element-plus-CUBv5pjL.js";import{y as Y,W as Z,o as V,O as l,a4 as i,r as f,z as c,A as _,L as a,u as e,l as I,I as h}from"./vue-chunks-ChjHxF1G.js";import{_ as tt}from"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css */import"./index-BQQdmLe5.js";const et=Y({__name:"UseTableDemo",setup(A){const{tableRegister:C,tableMethods:p,tableState:m}=Q({fetchDataApi:()=>v(this,null,function*(){const{currentPage:o,pageSize:t}=m,n=yield K({pageIndex:e(o),pageSize:e(t)});return{list:n.data.list,total:n.data.total}})}),{loading:g,dataList:b,total:x,currentPage:d,pageSize:r}=m,{setProps:u,setColumn:k,getElTableExpose:F,addColumn:O,delColumn:B,refresh:L}=p,N=Z([]);V(()=>{setTimeout(()=>{u({columns:[{field:"expand",type:"expand",slots:{default:o=>{const{row:t}=o;return l("div",{class:"ml-30px"},[l("div",null,[i("标题:"),t.title]),l("div",null,[i("作者:"),t.author]),l("div",null,[i("创建时间:"),t.display_time])])}}},{field:"selection",type:"selection"},{field:"index",label:"序号",type:"index"},{field:"title",label:"标题"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"importance",label:"重要性",formatter:(o,t,n)=>l(X,{type:n===1?"success":n===2?"warning":"danger"},{default:()=>[n===1?"重要":n===2?"良好":"一般"]})},{field:"pageviews",label:"阅读数"},{field:"action",label:"操作",slots:{default:o=>l(s,{type:"primary",onClick:()=>$(o)},{default:()=>[i("操作")]})}}]})},2e3)});const $=o=>{},T=f(!0),P=o=>{T.value=o},z=o=>{u({reserveIndex:o})},E=o=>{k([{field:"selection",path:"hidden",value:!o}])},R=f(1),H=()=>{k([{field:"title",path:"label",value:`标题${e(R)}`}]),R.value++},U=o=>{k([{field:"expand",path:"hidden",value:!o}])},M=()=>v(this,null,function*(){const o=yield F();o==null||o.toggleAllSelection()}),w=f(!0),W=()=>{e(w)?(B("action"),w.value=!1):(O({field:"action",label:"操作",slots:{default:o=>l(s,{type:"primary",onClick:()=>$(o)},{default:()=>[i("操作")]})}}),w.value=!0)},y=f(!1),j=()=>{u({stripe:!e(y)}),y.value=!e(y)},S=f("auto"),q=()=>{e(S)==="auto"?(u({height:300}),S.value=300):(u({height:"auto"}),S.value="auto")},G=()=>v(this,null,function*(){const o=yield F(),t=o==null?void 0:o.getSelectionRows()});return(o,t)=>(c(),_(h,null,[l(e(D),{title:"UseTable 操作",style:{"margin-bottom":"20px"}},{default:a(()=>[l(e(s),{onClick:t[0]||(t[0]=n=>P(!0))},{default:a(()=>t[10]||(t[10]=[i(" 显示 分页 ")])),_:1}),l(e(s),{onClick:t[1]||(t[1]=n=>P(!1))},{default:a(()=>t[11]||(t[11]=[i(" 隐藏 分页 ")])),_:1}),l(e(s),{onClick:t[2]||(t[2]=n=>z(!0))},{default:a(()=>t[12]||(t[12]=[i("叠加序号")])),_:1}),l(e(s),{onClick:t[3]||(t[3]=n=>z(!1))},{default:a(()=>t[13]||(t[13]=[i("还原序号")])),_:1}),l(e(s),{onClick:t[4]||(t[4]=n=>E(!0))},{default:a(()=>t[14]||(t[14]=[i("显示多选")])),_:1}),l(e(s),{onClick:t[5]||(t[5]=n=>E(!1))},{default:a(()=>t[15]||(t[15]=[i("隐藏多选")])),_:1}),l(e(s),{onClick:H},{default:a(()=>t[16]||(t[16]=[i("修改标题")])),_:1}),l(e(s),{onClick:t[6]||(t[6]=n=>U(!0))},{default:a(()=>t[17]||(t[17]=[i("显示展开行")])),_:1}),l(e(s),{onClick:t[7]||(t[7]=n=>U(!1))},{default:a(()=>t[18]||(t[18]=[i("隐藏展开行")])),_:1}),l(e(s),{onClick:M},{default:a(()=>t[19]||(t[19]=[i("全选/全不选")])),_:1}),l(e(s),{onClick:W},{default:a(()=>t[20]||(t[20]=[i("删除/添加操作列")])),_:1}),l(e(s),{onClick:j},{default:a(()=>t[21]||(t[21]=[i("显示/隐藏斑马纹")])),_:1}),l(e(s),{onClick:q},{default:a(()=>t[22]||(t[22]=[i("固定头部/自动")])),_:1}),l(e(s),{onClick:G},{default:a(()=>t[23]||(t[23]=[i("获取多选数据")])),_:1})]),_:1}),l(e(D),{title:"UseTable 示例"},{default:a(()=>[l(e(J),{pageSize:e(r),"onUpdate:pageSize":t[8]||(t[8]=n=>I(r)?r.value=n:null),currentPage:e(d),"onUpdate:currentPage":t[9]||(t[9]=n=>I(d)?d.value=n:null),showAction:"",showSummary:"","default-expand-all":"",columns:N,"row-key":"id",data:e(b),loading:e(g),pagination:T.value?{total:e(x)}:void 0,onRegister:e(C),onRefresh:e(L)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister","onRefresh"])]),_:1})],64))}}),Ft=tt(et,[["__scopeId","data-v-9eb76fdb"]]);export{Ft as default}; +var v=(A,C,p)=>new Promise((m,g)=>{var b=r=>{try{d(p.next(r))}catch(u){g(u)}},x=r=>{try{d(p.throw(r))}catch(u){g(u)}},d=r=>r.done?m(r.value):Promise.resolve(r.value).then(b,x);d((p=p.apply(A,C)).next())});import{_ as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as J}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{g as K}from"./index-wRPr5Q4s.js";/* empty css */import{u as Q}from"./useTable-CCTWSpiR.js";import{_ as s}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{C as X}from"./element-plus-CUBv5pjL.js";import{y as Y,W as Z,o as V,O as l,a4 as i,r as f,z as c,A as _,L as a,u as e,l as I,I as h}from"./vue-chunks-ChjHxF1G.js";import{_ as tt}from"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css */import"./index-DBEGipag.js";const et=Y({__name:"UseTableDemo",setup(A){const{tableRegister:C,tableMethods:p,tableState:m}=Q({fetchDataApi:()=>v(this,null,function*(){const{currentPage:o,pageSize:t}=m,n=yield K({pageIndex:e(o),pageSize:e(t)});return{list:n.data.list,total:n.data.total}})}),{loading:g,dataList:b,total:x,currentPage:d,pageSize:r}=m,{setProps:u,setColumn:k,getElTableExpose:F,addColumn:O,delColumn:B,refresh:L}=p,N=Z([]);V(()=>{setTimeout(()=>{u({columns:[{field:"expand",type:"expand",slots:{default:o=>{const{row:t}=o;return l("div",{class:"ml-30px"},[l("div",null,[i("标题:"),t.title]),l("div",null,[i("作者:"),t.author]),l("div",null,[i("创建时间:"),t.display_time])])}}},{field:"selection",type:"selection"},{field:"index",label:"序号",type:"index"},{field:"title",label:"标题"},{field:"author",label:"作者"},{field:"display_time",label:"创建时间"},{field:"importance",label:"重要性",formatter:(o,t,n)=>l(X,{type:n===1?"success":n===2?"warning":"danger"},{default:()=>[n===1?"重要":n===2?"良好":"一般"]})},{field:"pageviews",label:"阅读数"},{field:"action",label:"操作",slots:{default:o=>l(s,{type:"primary",onClick:()=>$(o)},{default:()=>[i("操作")]})}}]})},2e3)});const $=o=>{},T=f(!0),P=o=>{T.value=o},z=o=>{u({reserveIndex:o})},E=o=>{k([{field:"selection",path:"hidden",value:!o}])},R=f(1),H=()=>{k([{field:"title",path:"label",value:`标题${e(R)}`}]),R.value++},U=o=>{k([{field:"expand",path:"hidden",value:!o}])},M=()=>v(this,null,function*(){const o=yield F();o==null||o.toggleAllSelection()}),w=f(!0),W=()=>{e(w)?(B("action"),w.value=!1):(O({field:"action",label:"操作",slots:{default:o=>l(s,{type:"primary",onClick:()=>$(o)},{default:()=>[i("操作")]})}}),w.value=!0)},y=f(!1),j=()=>{u({stripe:!e(y)}),y.value=!e(y)},S=f("auto"),q=()=>{e(S)==="auto"?(u({height:300}),S.value=300):(u({height:"auto"}),S.value="auto")},G=()=>v(this,null,function*(){const o=yield F(),t=o==null?void 0:o.getSelectionRows()});return(o,t)=>(c(),_(h,null,[l(e(D),{title:"UseTable 操作",style:{"margin-bottom":"20px"}},{default:a(()=>[l(e(s),{onClick:t[0]||(t[0]=n=>P(!0))},{default:a(()=>t[10]||(t[10]=[i(" 显示 分页 ")])),_:1}),l(e(s),{onClick:t[1]||(t[1]=n=>P(!1))},{default:a(()=>t[11]||(t[11]=[i(" 隐藏 分页 ")])),_:1}),l(e(s),{onClick:t[2]||(t[2]=n=>z(!0))},{default:a(()=>t[12]||(t[12]=[i("叠加序号")])),_:1}),l(e(s),{onClick:t[3]||(t[3]=n=>z(!1))},{default:a(()=>t[13]||(t[13]=[i("还原序号")])),_:1}),l(e(s),{onClick:t[4]||(t[4]=n=>E(!0))},{default:a(()=>t[14]||(t[14]=[i("显示多选")])),_:1}),l(e(s),{onClick:t[5]||(t[5]=n=>E(!1))},{default:a(()=>t[15]||(t[15]=[i("隐藏多选")])),_:1}),l(e(s),{onClick:H},{default:a(()=>t[16]||(t[16]=[i("修改标题")])),_:1}),l(e(s),{onClick:t[6]||(t[6]=n=>U(!0))},{default:a(()=>t[17]||(t[17]=[i("显示展开行")])),_:1}),l(e(s),{onClick:t[7]||(t[7]=n=>U(!1))},{default:a(()=>t[18]||(t[18]=[i("隐藏展开行")])),_:1}),l(e(s),{onClick:M},{default:a(()=>t[19]||(t[19]=[i("全选/全不选")])),_:1}),l(e(s),{onClick:W},{default:a(()=>t[20]||(t[20]=[i("删除/添加操作列")])),_:1}),l(e(s),{onClick:j},{default:a(()=>t[21]||(t[21]=[i("显示/隐藏斑马纹")])),_:1}),l(e(s),{onClick:q},{default:a(()=>t[22]||(t[22]=[i("固定头部/自动")])),_:1}),l(e(s),{onClick:G},{default:a(()=>t[23]||(t[23]=[i("获取多选数据")])),_:1})]),_:1}),l(e(D),{title:"UseTable 示例"},{default:a(()=>[l(e(J),{pageSize:e(r),"onUpdate:pageSize":t[8]||(t[8]=n=>I(r)?r.value=n:null),currentPage:e(d),"onUpdate:currentPage":t[9]||(t[9]=n=>I(d)?d.value=n:null),showAction:"",showSummary:"","default-expand-all":"",columns:N,"row-key":"id",data:e(b),loading:e(g),pagination:T.value?{total:e(x)}:void 0,onRegister:e(C),onRefresh:e(L)},null,8,["pageSize","currentPage","columns","data","loading","pagination","onRegister","onRefresh"])]),_:1})],64))}}),Ft=tt(et,[["__scopeId","data-v-9eb76fdb"]]);export{Ft as default}; diff --git a/assets/User-B4SjHWuj.js b/assets/User-ClfDpmHQ.js similarity index 84% rename from assets/User-B4SjHWuj.js rename to assets/User-ClfDpmHQ.js index ecef5b32..ff6078a9 100644 --- a/assets/User-B4SjHWuj.js +++ b/assets/User-ClfDpmHQ.js @@ -1 +1 @@ -var ae=Object.defineProperty,re=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var H=(d,o,l)=>o in d?ae(d,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):d[o]=l,E=(d,o)=>{for(var l in o||(o={}))oe.call(o,l)&&H(d,l,o[l]);if(q)for(var l of q(o))ie.call(o,l)&&H(d,l,o[l]);return d},M=(d,o)=>re(d,le(o));var m=(d,o,l)=>new Promise((S,w)=>{var A=n=>{try{p(l.next(n))}catch(c){w(c)}},N=n=>{try{p(l.throw(n))}catch(c){w(c)}},p=n=>n.done?S(n.value):Promise.resolve(n.value).then(A,N);p((l=l.apply(d,o)).next())});import{_ as O}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as ne}from"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as Q,b as se,c as de,e as ue}from"./index-DVP3NWK5.js";import{u as me}from"./useTable-B0KZmPSP.js";import{_ as pe}from"./Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js";import{_ as ce}from"./Write.vue_vue_type_script_setup_true_lang-CcmM6xjl.js";import{_ as fe}from"./Detail.vue_vue_type_script_setup_true_lang-CaWgxeP_.js";import{_ as ve}from"./Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js";import{g as ge}from"./index-eEONdqWJ.js";import{u as he}from"./useCrudSchemas-DdqHtvsp.js";import{_ as f}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{A as ye,q as we,ak as be}from"./element-plus-CUBv5pjL.js";import{y as _e,W as ke,O as i,a4 as v,I as xe,r as s,w as Ce,u as t,z as x,A as Se,L as u,D as C,Q as Ae,l as W,K as L,H as U,n as Ne}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css */import"./index-BQQdmLe5.js";import"./Form-Cq-QZJdy.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";import"./useForm-B1_iUn_7.js";import"./useIcon-CKHK9-or.js";import"./useValidator-Nt61Jv1p.js";import"./Descriptions-CzZKAhwM.js";import"./tree-Dgaev6Pi.js";const De={class:"flex w-100% h-100%"},Ve={class:"flex justify-center items-center"},Re=["title"],Te={class:"mb-10px"},Ct=_e({__name:"User",setup(d){const{tableRegister:o,tableState:l,tableMethods:S}=me({fetchDataApi:()=>m(this,null,function*(){const{pageSize:a,currentPage:e}=l,r=yield se(E({id:t(h),pageIndex:t(e),pageSize:t(a)},t(z)));return{list:r.data.list||[],total:r.data.total||0}}),fetchDelApi:()=>m(this,null,function*(){return!!(yield de(t(T)))})}),{total:w,loading:A,dataList:N,pageSize:p,currentPage:n}=l,{getList:c,getElTableExpose:G,delList:J}=S,X=ke([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",form:{hidden:!0},search:{hidden:!0},detail:{hidden:!0},table:{type:"index"}},{field:"username",label:"用户名"},{field:"account",label:"账号"},{field:"department.id",label:"所属部门",detail:{hidden:!0},search:{hidden:!0},form:{component:"TreeSelect",componentProps:{nodeKey:"id",props:{label:"departmentName"}},optionApi:()=>m(this,null,function*(){return(yield Q()).data.list})},table:{hidden:!0}},{field:"role",label:"角色",search:{hidden:!0},form:{component:"Select",value:[],componentProps:{multiple:!0,collapseTags:!0,maxCollapseTags:1},optionApi:()=>m(this,null,function*(){var e,r;return(r=(e=(yield ge()).data)==null?void 0:e.list)==null?void 0:r.map(j=>({label:j.roleName,value:j.id}))})}},{field:"email",label:"邮箱",form:{component:"Input"},search:{hidden:!0}},{field:"createTime",label:"创建时间",form:{component:"Input"},search:{hidden:!0}},{field:"action",label:"操作",form:{hidden:!0},detail:{hidden:!0},search:{hidden:!0},table:{width:240,slots:{default:a=>{const e=a.row;return i(xe,null,[i(f,{type:"primary",onClick:()=>K(e,"edit")},{default:()=>[v("编辑")]}),i(f,{type:"success",onClick:()=>K(e,"detail")},{default:()=>[v("详情")]}),i(f,{type:"danger",onClick:()=>P(e)},{default:()=>[v("删除")]})])}}}}]),{allSchemas:b}=he(X),z=s({}),B=a=>{n.value=1,z.value=a,c()},_=s(),h=s(""),I=s([]);m(this,null,function*(){var e,r;const a=yield Q();I.value=a.data.list,h.value=a.data.list[0]&&((e=a.data.list[0])==null?void 0:e.children)&&a.data.list[0].children[0].id||"",yield Ne(),(r=t(_))==null||r.setCurrentKey(h.value)});const D=s("");Ce(()=>D.value,a=>{t(_).filter(a)});const Y=a=>{h.value=a.id,n.value=1,c()},Z=(a,e)=>a?e.departmentName.includes(a):!0,g=s(!1),V=s(""),k=s(),y=s(""),ee=()=>{V.value="新增",k.value=void 0,g.value=!0,y.value=""},R=s(!1),T=s([]),P=a=>m(this,null,function*(){const e=yield G();T.value=a?[a.id]:(e==null?void 0:e.getSelectionRows().map(r=>r.id))||[],R.value=!0,yield J(t(T).length).finally(()=>{R.value=!1})}),K=(a,e)=>{var r;V.value=e==="edit"?"编辑":"详情",y.value=e,k.value=M(E({},a),{department:((r=t(_))==null?void 0:r.getCurrentNode())||{}}),g.value=!0},F=s(),$=s(!1),te=()=>m(this,null,function*(){const a=t(F),e=yield a==null?void 0:a.submit();if(e){$.value=!0;try{(yield ue(e))&&(n.value=1,c())}catch(r){}finally{$.value=!1,g.value=!1}}});return(a,e)=>(x(),Se("div",De,[i(t(O),{class:"w-250px"},{default:u(()=>[C("div",Ve,[e[6]||(e[6]=C("div",{class:"flex-1"},"部门列表",-1)),i(t(ye),{modelValue:D.value,"onUpdate:modelValue":e[0]||(e[0]=r=>D.value=r),class:"flex-[2]",placeholder:"搜索部门",clearable:""},null,8,["modelValue"])]),i(t(we)),i(t(be),{ref_key:"treeEl",ref:_,data:I.value,"default-expand-all":"","expand-on-click-node":!1,"node-key":"id","current-node-key":h.value,props:{label:"departmentName"},"filter-node-method":Z,onCurrentChange:Y},{default:u(({data:r})=>[C("div",{title:r.departmentName,class:"whitespace-nowrap overflow-ellipsis overflow-hidden"},Ae(r.departmentName),9,Re)]),_:1},8,["data","current-node-key","filter-node-method"])]),_:1}),i(t(O),{class:"flex-[3] ml-20px"},{default:u(()=>[i(t(pe),{schema:t(b).searchSchema,onReset:B,onSearch:B},null,8,["schema"]),C("div",Te,[i(t(f),{type:"primary",onClick:ee},{default:u(()=>e[7]||(e[7]=[v("新增")])),_:1}),i(t(f),{loading:R.value,type:"danger",onClick:e[1]||(e[1]=r=>P())},{default:u(()=>e[8]||(e[8]=[v(" 删除 ")])),_:1},8,["loading"])]),i(t(ne),{"current-page":t(n),"onUpdate:currentPage":e[2]||(e[2]=r=>W(n)?n.value=r:null),"page-size":t(p),"onUpdate:pageSize":e[3]||(e[3]=r=>W(p)?p.value=r:null),columns:t(b).tableColumns,data:t(N),loading:t(A),onRegister:t(o),pagination:{total:t(w)}},null,8,["current-page","page-size","columns","data","loading","onRegister","pagination"])]),_:1}),i(t(ve),{modelValue:g.value,"onUpdate:modelValue":e[5]||(e[5]=r=>g.value=r),title:V.value},{footer:u(()=>[y.value!=="detail"?(x(),L(t(f),{key:0,type:"primary",loading:$.value,onClick:te},{default:u(()=>e[9]||(e[9]=[v(" 保存 ")])),_:1},8,["loading"])):U("",!0),i(t(f),{onClick:e[4]||(e[4]=r=>g.value=!1)},{default:u(()=>e[10]||(e[10]=[v("关闭")])),_:1})]),default:u(()=>[y.value!=="detail"?(x(),L(ce,{key:0,ref_key:"writeRef",ref:F,"form-schema":t(b).formSchema,"current-row":k.value},null,8,["form-schema","current-row"])):U("",!0),y.value==="detail"?(x(),L(fe,{key:1,"detail-schema":t(b).detailSchema,"current-row":k.value},null,8,["detail-schema","current-row"])):U("",!0)]),_:1},8,["modelValue","title"])]))}});export{Ct as default}; +var ae=Object.defineProperty,re=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var H=(d,o,l)=>o in d?ae(d,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):d[o]=l,E=(d,o)=>{for(var l in o||(o={}))oe.call(o,l)&&H(d,l,o[l]);if(q)for(var l of q(o))ie.call(o,l)&&H(d,l,o[l]);return d},M=(d,o)=>re(d,le(o));var m=(d,o,l)=>new Promise((S,w)=>{var A=n=>{try{p(l.next(n))}catch(c){w(c)}},N=n=>{try{p(l.throw(n))}catch(c){w(c)}},p=n=>n.done?S(n.value):Promise.resolve(n.value).then(A,N);p((l=l.apply(d,o)).next())});import{_ as O}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as ne}from"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as Q,b as se,c as de,e as ue}from"./index-B_-BHM8A.js";import{u as me}from"./useTable-CCTWSpiR.js";import{_ as pe}from"./Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js";import{_ as ce}from"./Write.vue_vue_type_script_setup_true_lang-B4zYXPIq.js";import{_ as fe}from"./Detail.vue_vue_type_script_setup_true_lang-aWVdu_MR.js";import{_ as ve}from"./Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js";import{g as ge}from"./index-BxYrjAxU.js";import{u as he}from"./useCrudSchemas-DdqHtvsp.js";import{_ as f}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{A as ye,q as we,ak as be}from"./element-plus-CUBv5pjL.js";import{y as _e,W as ke,O as i,a4 as v,I as xe,r as s,w as Ce,u as t,z as x,A as Se,L as u,D as C,Q as Ae,l as W,K as L,H as U,n as Ne}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css */import"./index-DBEGipag.js";import"./Form-BTUMYN5B.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";import"./useForm-B3urKjox.js";import"./useIcon-B724d8dT.js";import"./useValidator-Nt61Jv1p.js";import"./Descriptions-rpjc8zzb.js";import"./tree-Dgaev6Pi.js";const De={class:"flex w-100% h-100%"},Ve={class:"flex justify-center items-center"},Re=["title"],Te={class:"mb-10px"},Ct=_e({__name:"User",setup(d){const{tableRegister:o,tableState:l,tableMethods:S}=me({fetchDataApi:()=>m(this,null,function*(){const{pageSize:a,currentPage:e}=l,r=yield se(E({id:t(h),pageIndex:t(e),pageSize:t(a)},t(z)));return{list:r.data.list||[],total:r.data.total||0}}),fetchDelApi:()=>m(this,null,function*(){return!!(yield de(t(T)))})}),{total:w,loading:A,dataList:N,pageSize:p,currentPage:n}=l,{getList:c,getElTableExpose:G,delList:J}=S,X=ke([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",form:{hidden:!0},search:{hidden:!0},detail:{hidden:!0},table:{type:"index"}},{field:"username",label:"用户名"},{field:"account",label:"账号"},{field:"department.id",label:"所属部门",detail:{hidden:!0},search:{hidden:!0},form:{component:"TreeSelect",componentProps:{nodeKey:"id",props:{label:"departmentName"}},optionApi:()=>m(this,null,function*(){return(yield Q()).data.list})},table:{hidden:!0}},{field:"role",label:"角色",search:{hidden:!0},form:{component:"Select",value:[],componentProps:{multiple:!0,collapseTags:!0,maxCollapseTags:1},optionApi:()=>m(this,null,function*(){var e,r;return(r=(e=(yield ge()).data)==null?void 0:e.list)==null?void 0:r.map(j=>({label:j.roleName,value:j.id}))})}},{field:"email",label:"邮箱",form:{component:"Input"},search:{hidden:!0}},{field:"createTime",label:"创建时间",form:{component:"Input"},search:{hidden:!0}},{field:"action",label:"操作",form:{hidden:!0},detail:{hidden:!0},search:{hidden:!0},table:{width:240,slots:{default:a=>{const e=a.row;return i(xe,null,[i(f,{type:"primary",onClick:()=>K(e,"edit")},{default:()=>[v("编辑")]}),i(f,{type:"success",onClick:()=>K(e,"detail")},{default:()=>[v("详情")]}),i(f,{type:"danger",onClick:()=>P(e)},{default:()=>[v("删除")]})])}}}}]),{allSchemas:b}=he(X),z=s({}),B=a=>{n.value=1,z.value=a,c()},_=s(),h=s(""),I=s([]);m(this,null,function*(){var e,r;const a=yield Q();I.value=a.data.list,h.value=a.data.list[0]&&((e=a.data.list[0])==null?void 0:e.children)&&a.data.list[0].children[0].id||"",yield Ne(),(r=t(_))==null||r.setCurrentKey(h.value)});const D=s("");Ce(()=>D.value,a=>{t(_).filter(a)});const Y=a=>{h.value=a.id,n.value=1,c()},Z=(a,e)=>a?e.departmentName.includes(a):!0,g=s(!1),V=s(""),k=s(),y=s(""),ee=()=>{V.value="新增",k.value=void 0,g.value=!0,y.value=""},R=s(!1),T=s([]),P=a=>m(this,null,function*(){const e=yield G();T.value=a?[a.id]:(e==null?void 0:e.getSelectionRows().map(r=>r.id))||[],R.value=!0,yield J(t(T).length).finally(()=>{R.value=!1})}),K=(a,e)=>{var r;V.value=e==="edit"?"编辑":"详情",y.value=e,k.value=M(E({},a),{department:((r=t(_))==null?void 0:r.getCurrentNode())||{}}),g.value=!0},F=s(),$=s(!1),te=()=>m(this,null,function*(){const a=t(F),e=yield a==null?void 0:a.submit();if(e){$.value=!0;try{(yield ue(e))&&(n.value=1,c())}catch(r){}finally{$.value=!1,g.value=!1}}});return(a,e)=>(x(),Se("div",De,[i(t(O),{class:"w-250px"},{default:u(()=>[C("div",Ve,[e[6]||(e[6]=C("div",{class:"flex-1"},"部门列表",-1)),i(t(ye),{modelValue:D.value,"onUpdate:modelValue":e[0]||(e[0]=r=>D.value=r),class:"flex-[2]",placeholder:"搜索部门",clearable:""},null,8,["modelValue"])]),i(t(we)),i(t(be),{ref_key:"treeEl",ref:_,data:I.value,"default-expand-all":"","expand-on-click-node":!1,"node-key":"id","current-node-key":h.value,props:{label:"departmentName"},"filter-node-method":Z,onCurrentChange:Y},{default:u(({data:r})=>[C("div",{title:r.departmentName,class:"whitespace-nowrap overflow-ellipsis overflow-hidden"},Ae(r.departmentName),9,Re)]),_:1},8,["data","current-node-key","filter-node-method"])]),_:1}),i(t(O),{class:"flex-[3] ml-20px"},{default:u(()=>[i(t(pe),{schema:t(b).searchSchema,onReset:B,onSearch:B},null,8,["schema"]),C("div",Te,[i(t(f),{type:"primary",onClick:ee},{default:u(()=>e[7]||(e[7]=[v("新增")])),_:1}),i(t(f),{loading:R.value,type:"danger",onClick:e[1]||(e[1]=r=>P())},{default:u(()=>e[8]||(e[8]=[v(" 删除 ")])),_:1},8,["loading"])]),i(t(ne),{"current-page":t(n),"onUpdate:currentPage":e[2]||(e[2]=r=>W(n)?n.value=r:null),"page-size":t(p),"onUpdate:pageSize":e[3]||(e[3]=r=>W(p)?p.value=r:null),columns:t(b).tableColumns,data:t(N),loading:t(A),onRegister:t(o),pagination:{total:t(w)}},null,8,["current-page","page-size","columns","data","loading","onRegister","pagination"])]),_:1}),i(t(ve),{modelValue:g.value,"onUpdate:modelValue":e[5]||(e[5]=r=>g.value=r),title:V.value},{footer:u(()=>[y.value!=="detail"?(x(),L(t(f),{key:0,type:"primary",loading:$.value,onClick:te},{default:u(()=>e[9]||(e[9]=[v(" 保存 ")])),_:1},8,["loading"])):U("",!0),i(t(f),{onClick:e[4]||(e[4]=r=>g.value=!1)},{default:u(()=>e[10]||(e[10]=[v("关闭")])),_:1})]),default:u(()=>[y.value!=="detail"?(x(),L(ce,{key:0,ref_key:"writeRef",ref:F,"form-schema":t(b).formSchema,"current-row":k.value},null,8,["form-schema","current-row"])):U("",!0),y.value==="detail"?(x(),L(fe,{key:1,"detail-schema":t(b).detailSchema,"current-row":k.value},null,8,["detail-schema","current-row"])):U("",!0)]),_:1},8,["modelValue","title"])]))}});export{Ct as default}; diff --git a/assets/VideoPlayer-Cp5IbmHZ.js b/assets/VideoPlayer-D61ftkwv.js similarity index 65% rename from assets/VideoPlayer-Cp5IbmHZ.js rename to assets/VideoPlayer-D61ftkwv.js index 421515e4..3f74edf6 100644 --- a/assets/VideoPlayer-Cp5IbmHZ.js +++ b/assets/VideoPlayer-D61ftkwv.js @@ -1 +1 @@ -import{_ as p,c as s}from"./index-BQQdmLe5.js";import{_ as m}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./index-DHbc4UQl.js";/* empty css */import{_ as i}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{q as c}from"./element-plus-CUBv5pjL.js";import{y as n,z as d,K as _,L as r,O as e,u as o,a4 as f}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const C=n({__name:"VideoPlayer",setup(l){const a=()=>{s({url:"//sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-720p.mp4",poster:"//lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/poster.jpg"})};return(u,t)=>(d(),_(o(m),{title:"视频播放器"},{default:r(()=>[e(o(p),{url:"//sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-720p.mp4",poster:"//lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/poster.jpg"}),e(o(c)),e(o(i),{type:"primary",onClick:a},{default:r(()=>t[0]||(t[0]=[f("弹窗展示")])),_:1})]),_:1}))}});export{C as default}; +import{_ as p,c as s}from"./index-DBEGipag.js";import{_ as m}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./index-wnyZ7Zvr.js";/* empty css */import{_ as i}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{q as c}from"./element-plus-CUBv5pjL.js";import{y as n,z as d,K as _,L as r,O as e,u as o,a4 as f}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const C=n({__name:"VideoPlayer",setup(l){const a=()=>{s({url:"//sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-720p.mp4",poster:"//lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/poster.jpg"})};return(u,t)=>(d(),_(o(m),{title:"视频播放器"},{default:r(()=>[e(o(p),{url:"//sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-720p.mp4",poster:"//lf3-static.bytednsdoc.com/obj/eden-cn/nupenuvpxnuvo/xgplayer_doc/poster.jpg"}),e(o(c)),e(o(i),{type:"primary",onClick:a},{default:r(()=>t[0]||(t[0]=[f("弹窗展示")])),_:1})]),_:1}))}});export{C as default}; diff --git a/assets/Waterfall-DtRTP80y.js b/assets/Waterfall-Cl9cBNyL.js similarity index 97% rename from assets/Waterfall-DtRTP80y.js rename to assets/Waterfall-Cl9cBNyL.js index 54af0e23..7da4e27f 100644 --- a/assets/Waterfall-DtRTP80y.js +++ b/assets/Waterfall-Cl9cBNyL.js @@ -1 +1 @@ -var K=Object.defineProperty,Q=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var H=(e,t,a)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,B=(e,t)=>{for(var a in t||(t={}))G.call(t,a)&&H(e,a,t[a]);if(D)for(var a of D(t))P.call(t,a)&&H(e,a,t[a]);return e},O=(e,t)=>Q(e,q(t));var R=(e,t,a)=>new Promise((l,x)=>{var f=r=>{try{h(a.next(r))}catch(i){x(i)}},d=r=>{try{h(a.throw(r))}catch(i){x(i)}},h=r=>r.done?l(r.value):Promise.resolve(r.value).then(f,d);h((a=a.apply(e,t)).next())});import{p as u,M as W,t as U}from"./index-DHbc4UQl.js";import{L as X,I as Y,M as Z}from"./element-plus-CUBv5pjL.js";import{y as V,r as v,w as _,o as ee,u as o,z as m,A as y,R as k,I as z,a3 as E,J as I,D as C,Q as N,H as te,n as S,K as ae,L as le,O as se}from"./vue-chunks-ChjHxF1G.js";import{_ as oe}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const ne=["src"],re=["src"],ie=V({__name:"Waterfall",props:{data:u.arrayOf(u.any),reset:u.bool.def(!0),width:u.number.def(200),gap:u.number.def(20),props:u.objectOf(u.string).def({src:"src",height:"height"}),cols:u.number.def(void 0),loadingText:u.string.def("加载中..."),loading:u.bool.def(!1),end:u.bool.def(!1),endText:u.string.def("没有更多了"),autoCenter:u.bool.def(!0),layout:u.oneOf(["javascript","flex"]).def("flex")},emits:["loadMore"],setup(e,{emit:t}){const a=t,l=e,x=v(),f=v([]),d=v(0),h=v(0),r=v(),i=v(0),p=v([]),F=()=>R(this,null,function*(){var j;p.value=[];const{props:g,width:w,gap:s}=l,n=l.data;yield S();const $=o(x);if(!$)return;i.value=(j=l.cols)!=null?j:Math.floor($.clientWidth/(w+s));const b=n.length;for(let c=0;cR(this,null,function*(){var j;const{width:g,gap:w}=l,s=l.data;yield S();const n=o(x);if(!n)return;i.value=(j=l.cols)!=null?j:Math.floor(n.clientWidth/(g+w));const $=s.length,b=new Array(o(i)).fill([]);for(let c=0;c<$;c++){const M=c%o(i);b[M]=[...b[M],s[c]]}p.value=b}),A=()=>{const{layout:g}=l;g==="javascript"?F():g==="flex"&&J()};return _(()=>[l.data,l.cols],()=>{A()},{immediate:!0}),ee(()=>{o(l.reset)&&X(window,"resize",Y(A,300)),Z(o(r),([{isIntersecting:g}])=>{g&&!l.loading&&!l.end&&a("loadMore")},{threshold:.1})}),(g,w)=>(m(),y("div",{class:I(["waterfall","flex","items-center",{"justify-center":e.autoCenter}]),ref_key:"wrapEl",ref:x,style:k({height:`${e.layout==="javascript"?d.value+40:"auto"}px`})},[e.layout==="javascript"?(m(),y("div",{key:0,class:"relative",style:k({width:`${h.value}px`,height:`${d.value+40}px`})},[(m(!0),y(z,null,E(p.value,(s,n)=>(m(),y("div",{class:I([`waterfall-item__${n}`,{absolute:e.layout==="javascript"}]),key:`water-${n}`,style:k({width:`${e.width}px`,height:`${s[e.props.height]}px`,top:`${s.top}px`,left:`${s.left}px`})},[C("img",{src:s[e.props.src],class:"w-full h-full block",alt:"",srcset:""},null,8,ne)],6))),128)),C("div",{ref_key:"loadMore",ref:r,class:"h-40px flex justify-center absolute w-full",style:k({top:`${d.value+e.gap}px`})},N(e.end?e.endText:e.loadingText),5)],4)):e.layout==="flex"?(m(),y("div",{key:1,class:"relative flex pb-40px",style:k({width:e.cols?"100%":"auto"})},[(m(!0),y(z,null,E(p.value,(s,n)=>(m(),y("div",{key:`waterWrap-${n}`,class:"flex-1",style:k({marginRight:n===p.value.length-1?"0":`${e.gap}px`})},[(m(!0),y(z,null,E(s,($,b)=>(m(),y("div",{key:`waterWrap-${n}-${b}`,style:k({marginBottom:`${e.gap}px`,width:e.cols?"100%":`${e.width}px`,height:e.cols?"auto":`${$[e.props.height]}px`})},[C("img",{src:$[e.props.src],class:"w-full h-full block",alt:"",srcset:""},null,8,re)],4))),128))],4))),128)),C("div",{ref_key:"loadMore",ref:r,class:"h-40px flex justify-center absolute w-full items-center",style:{bottom:0}},N(e.end?e.endText:e.loadingText),513)],4)):te("",!0)],6))}}),xe=V({__name:"Waterfall",setup(e){const t=v([]),a=()=>{const d=[];for(let h=0;h<20;h++){const r=W.Random.integer(100,500),i=W.Random.integer(100,500);d.push(W.mock({width:i,height:r,id:U(),image_uri:W.Random.image(`${i}x${r}`).replace("http://","https://")}))}t.value=[...o(t),...d],o(t).length>=60&&(x.value=!0)};a();const l=v(!1),x=v(!1),f=()=>{l.value=!0,setTimeout(()=>{a(),l.value=!1},1e3)};return(d,h)=>(m(),ae(o(oe),{title:"瀑布流"},{default:le(()=>[se(o(ie),{data:t.value,loading:l.value,end:x.value,props:{src:"image_uri",height:"height"},onLoadMore:f},null,8,["data","loading","end"])]),_:1}))}});export{xe as default}; +var K=Object.defineProperty,Q=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var H=(e,t,a)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,B=(e,t)=>{for(var a in t||(t={}))G.call(t,a)&&H(e,a,t[a]);if(D)for(var a of D(t))P.call(t,a)&&H(e,a,t[a]);return e},O=(e,t)=>Q(e,q(t));var R=(e,t,a)=>new Promise((l,x)=>{var f=r=>{try{h(a.next(r))}catch(i){x(i)}},d=r=>{try{h(a.throw(r))}catch(i){x(i)}},h=r=>r.done?l(r.value):Promise.resolve(r.value).then(f,d);h((a=a.apply(e,t)).next())});import{p as u,M as W,t as U}from"./index-wnyZ7Zvr.js";import{L as X,I as Y,M as Z}from"./element-plus-CUBv5pjL.js";import{y as V,r as v,w as _,o as ee,u as o,z as m,A as y,R as k,I as z,a3 as E,J as I,D as C,Q as N,H as te,n as S,K as ae,L as le,O as se}from"./vue-chunks-ChjHxF1G.js";import{_ as oe}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const ne=["src"],re=["src"],ie=V({__name:"Waterfall",props:{data:u.arrayOf(u.any),reset:u.bool.def(!0),width:u.number.def(200),gap:u.number.def(20),props:u.objectOf(u.string).def({src:"src",height:"height"}),cols:u.number.def(void 0),loadingText:u.string.def("加载中..."),loading:u.bool.def(!1),end:u.bool.def(!1),endText:u.string.def("没有更多了"),autoCenter:u.bool.def(!0),layout:u.oneOf(["javascript","flex"]).def("flex")},emits:["loadMore"],setup(e,{emit:t}){const a=t,l=e,x=v(),f=v([]),d=v(0),h=v(0),r=v(),i=v(0),p=v([]),F=()=>R(this,null,function*(){var j;p.value=[];const{props:g,width:w,gap:s}=l,n=l.data;yield S();const $=o(x);if(!$)return;i.value=(j=l.cols)!=null?j:Math.floor($.clientWidth/(w+s));const b=n.length;for(let c=0;cR(this,null,function*(){var j;const{width:g,gap:w}=l,s=l.data;yield S();const n=o(x);if(!n)return;i.value=(j=l.cols)!=null?j:Math.floor(n.clientWidth/(g+w));const $=s.length,b=new Array(o(i)).fill([]);for(let c=0;c<$;c++){const M=c%o(i);b[M]=[...b[M],s[c]]}p.value=b}),A=()=>{const{layout:g}=l;g==="javascript"?F():g==="flex"&&J()};return _(()=>[l.data,l.cols],()=>{A()},{immediate:!0}),ee(()=>{o(l.reset)&&X(window,"resize",Y(A,300)),Z(o(r),([{isIntersecting:g}])=>{g&&!l.loading&&!l.end&&a("loadMore")},{threshold:.1})}),(g,w)=>(m(),y("div",{class:I(["waterfall","flex","items-center",{"justify-center":e.autoCenter}]),ref_key:"wrapEl",ref:x,style:k({height:`${e.layout==="javascript"?d.value+40:"auto"}px`})},[e.layout==="javascript"?(m(),y("div",{key:0,class:"relative",style:k({width:`${h.value}px`,height:`${d.value+40}px`})},[(m(!0),y(z,null,E(p.value,(s,n)=>(m(),y("div",{class:I([`waterfall-item__${n}`,{absolute:e.layout==="javascript"}]),key:`water-${n}`,style:k({width:`${e.width}px`,height:`${s[e.props.height]}px`,top:`${s.top}px`,left:`${s.left}px`})},[C("img",{src:s[e.props.src],class:"w-full h-full block",alt:"",srcset:""},null,8,ne)],6))),128)),C("div",{ref_key:"loadMore",ref:r,class:"h-40px flex justify-center absolute w-full",style:k({top:`${d.value+e.gap}px`})},N(e.end?e.endText:e.loadingText),5)],4)):e.layout==="flex"?(m(),y("div",{key:1,class:"relative flex pb-40px",style:k({width:e.cols?"100%":"auto"})},[(m(!0),y(z,null,E(p.value,(s,n)=>(m(),y("div",{key:`waterWrap-${n}`,class:"flex-1",style:k({marginRight:n===p.value.length-1?"0":`${e.gap}px`})},[(m(!0),y(z,null,E(s,($,b)=>(m(),y("div",{key:`waterWrap-${n}-${b}`,style:k({marginBottom:`${e.gap}px`,width:e.cols?"100%":`${e.width}px`,height:e.cols?"auto":`${$[e.props.height]}px`})},[C("img",{src:$[e.props.src],class:"w-full h-full block",alt:"",srcset:""},null,8,re)],4))),128))],4))),128)),C("div",{ref_key:"loadMore",ref:r,class:"h-40px flex justify-center absolute w-full items-center",style:{bottom:0}},N(e.end?e.endText:e.loadingText),513)],4)):te("",!0)],6))}}),xe=V({__name:"Waterfall",setup(e){const t=v([]),a=()=>{const d=[];for(let h=0;h<20;h++){const r=W.Random.integer(100,500),i=W.Random.integer(100,500);d.push(W.mock({width:i,height:r,id:U(),image_uri:W.Random.image(`${i}x${r}`).replace("http://","https://")}))}t.value=[...o(t),...d],o(t).length>=60&&(x.value=!0)};a();const l=v(!1),x=v(!1),f=()=>{l.value=!0,setTimeout(()=>{a(),l.value=!1},1e3)};return(d,h)=>(m(),ae(o(oe),{title:"瀑布流"},{default:le(()=>[se(o(ie),{data:t.value,loading:l.value,end:x.value,props:{src:"image_uri",height:"height"},onLoadMore:f},null,8,["data","loading","end"])]),_:1}))}});export{xe as default}; diff --git a/assets/Workplace-BeEV4fv_.js b/assets/Workplace-bECAtLqj.js similarity index 95% rename from assets/Workplace-BeEV4fv_.js rename to assets/Workplace-bECAtLqj.js index fa2fb1f4..c789b76a 100644 --- a/assets/Workplace-BeEV4fv_.js +++ b/assets/Workplace-bECAtLqj.js @@ -1 +1 @@ -var p=(n,r,u)=>new Promise((C,g)=>{var D=i=>{try{w(u.next(i))}catch(k){g(k)}},y=i=>{try{w(u.throw(i))}catch(k){g(k)}},w=i=>i.done?C(i.value):Promise.resolve(i.value).then(D,y);w((u=u.apply(n,r)).next())});import{I as z}from"./Icon-CdhVCYkm.js";import{_ as L}from"./avatar-CIGAabYz.js";import{p as M,m as _,n as h,k as c,q as B,l as x,r as O,s as P}from"./element-plus-CUBv5pjL.js";import{r as A,f as W}from"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as I}from"./CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js";import{r as Y,_ as F}from"./Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js";import"./echarts-DNv_PrpY.js";import{_ as G}from"./Highlight.vue_vue_type_script_lang-DurFEquh.js";import{y as K,r as Q,W as b,z as m,A as v,D as l,O as e,L as a,u as t,a4 as j,I as $,a3 as E,K as R,Q as f}from"./vue-chunks-ChjHxF1G.js";const H={justNow:"刚刚",invalid:"无效时间",past:n=>n.match(/\d/)?`${n}前`:n,future:n=>n.match(/\d/)?`${n}后`:n,month:(n,r)=>n===1?r?"上个月":"下个月":`${n} 个月`,year:(n,r)=>n===1?r?"去年":"明年":`${n} 年`,day:(n,r)=>n===1?r?"昨天":"明天":`${n} 天`,week:(n,r)=>n===1?r?"上周":"下周":`${n} 周`,hour:n=>`${n} 小时`,minute:n=>`${n} 分钟`,second:n=>`${n} 秒`},J=n=>M(n,{messages:H}),U=()=>A.get({url:"/mock/workplace/total"}),X=()=>A.get({url:"/mock/workplace/project"}),Z=()=>A.get({url:"/mock/workplace/dynamic"}),tt=()=>A.get({url:"/mock/workplace/team"}),et=()=>A.get({url:"/mock/workplace/radar"}),at={class:"flex h-70px items-center justify-end lt-sm:mt-20px"},st={class:"px-8px text-right"},lt={class:"px-8px text-right"},nt={class:"px-8px text-right"},rt={class:"flex justify-between"},ot={class:"flex items-center"},dt={class:"text-16px"},it={class:"mt-15px text-14px text-gray-400"},ut={class:"mt-20px text-12px text-gray-400 flex justify-between"},mt={class:"flex justify-between"},pt={class:"flex items-center"},ct={class:"text-14px"},xt={class:"mt-15px text-12px text-gray-400"},ft={class:"flex items-center"},St=K({__name:"Workplace",setup(n){const r=Q(!0);let u=b({project:0,access:0,todo:0});const C=()=>p(this,null,function*(){const o=yield U().catch(()=>{});o&&(u=Object.assign(u,o.data))});let g=b([]);const D=()=>p(this,null,function*(){const o=yield X().catch(()=>{});o&&(g=Object.assign(g,o.data))});let y=b([]);const w=()=>p(this,null,function*(){const o=yield Z().catch(()=>{});o&&(y=Object.assign(y,o.data))});let i=b([]);const k=()=>p(this,null,function*(){const o=yield tt().catch(()=>{});o&&(i=Object.assign(i,o.data))}),T=b(Y),V=()=>p(this,null,function*(){const o=yield et().catch(()=>{});o&&(P(T,"radar.indicator",o.data.map(s=>({name:s.name,max:s.max}))),P(T,"series",[{name:"xxx指数",type:"radar",data:[{value:o.data.map(s=>s.personal),name:"个人"},{value:o.data.map(s=>s.team),name:"团队"}]}]))});return p(this,null,function*(){yield Promise.all([C(),D(),w(),k(),V()]),r.value=!1}),(o,s)=>{const N=z;return m(),v($,null,[l("div",null,[e(t(x),{shadow:"never"},{default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(h),{gutter:20,justify:"space-between"},{default:a(()=>[e(t(c),{xl:12,lg:12,md:12,sm:24,xs:24},{default:a(()=>s[0]||(s[0]=[l("div",{class:"flex items-center"},[l("img",{src:L,alt:"",class:"w-70px h-70px rounded-[50%] mr-20px"}),l("div",null,[l("div",{class:"text-20px"},"早安,ShanYi,祝你开心每一天!"),l("div",{class:"mt-10px text-14px text-gray-500"},"今日晴,20℃ - 32℃!")])],-1)])),_:1}),e(t(c),{xl:12,lg:12,md:12,sm:24,xs:24},{default:a(()=>[l("div",at,[l("div",st,[s[1]||(s[1]=l("div",{class:"text-14px text-gray-400 mb-20px"},"项目数",-1)),e(t(I),{class:"text-20px","start-val":0,"end-val":t(u).project,duration:2600},null,8,["end-val"])]),e(t(B),{direction:"vertical"}),l("div",lt,[s[2]||(s[2]=l("div",{class:"text-14px text-gray-400 mb-20px"},"待办",-1)),e(t(I),{class:"text-20px","start-val":0,"end-val":t(u).todo,duration:2600},null,8,["end-val"])]),e(t(B),{direction:"vertical","border-style":"dashed"}),l("div",nt,[s[3]||(s[3]=l("div",{class:"text-14px text-gray-400 mb-20px"},"项目访问",-1)),e(t(I),{class:"text-20px","start-val":0,"end-val":t(u).access,duration:2600},null,8,["end-val"])])])]),_:1})]),_:1})]),_:1},8,["loading"])]),_:1})]),e(t(h),{class:"mt-20px",gutter:20,justify:"space-between"},{default:a(()=>[e(t(c),{xl:16,lg:16,md:24,sm:24,xs:24,class:"mb-20px"},{default:a(()=>[e(t(x),{shadow:"never"},{header:a(()=>[l("div",rt,[s[5]||(s[5]=l("span",null,"项目数",-1)),e(t(O),{type:"primary",underline:!1},{default:a(()=>s[4]||(s[4]=[j("更多")])),_:1})])]),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(h),null,{default:a(()=>[(m(!0),v($,null,E(t(g),(d,S)=>(m(),R(t(c),{key:`card-${S}`,xl:8,lg:8,md:12,sm:24,xs:24},{default:a(()=>[e(t(x),{shadow:"hover"},{default:a(()=>[l("div",ot,[e(N,{icon:d.icon,size:25,class:"mr-10px"},null,8,["icon"]),l("span",dt,f(d.name),1)]),l("div",it,f(d.message),1),l("div",ut,[l("span",null,f(d.personal),1),l("span",null,f(t(W)(d.time,"yyyy-MM-dd")),1)])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["loading"])]),_:1}),e(t(x),{shadow:"never",class:"mt-20px"},{header:a(()=>[l("div",mt,[s[7]||(s[7]=l("span",null,"动态",-1)),e(t(O),{type:"primary",underline:!1},{default:a(()=>s[6]||(s[6]=[j("更多")])),_:1})])]),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[(m(!0),v($,null,E(t(y),(d,S)=>(m(),v("div",{key:`dynamics-${S}`},[l("div",pt,[s[9]||(s[9]=l("img",{src:L,alt:"",class:"w-35px h-35px rounded-[50%] mr-20px"},null,-1)),l("div",null,[l("div",ct,[e(t(G),{keys:d.keys.map(q=>q)},{default:a(()=>s[8]||(s[8]=[j(" ShanYi 推送 代码到 Github ")])),_:2},1032,["keys"])]),l("div",xt,f(t(J)(d.time)),1)])]),e(t(B))]))),128))]),_:1},8,["loading"])]),_:1})]),_:1}),e(t(c),{xl:8,lg:8,md:24,sm:24,xs:24,class:"mb-20px"},{default:a(()=>[e(t(x),{shadow:"never"},{header:a(()=>s[10]||(s[10]=[l("span",null,"快捷操作",-1)])),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(h),null,{default:a(()=>[(m(),v($,null,E(9,d=>e(t(c),{key:`card-${d}`,xl:12,lg:12,md:12,sm:24,xs:24,class:"mb-10px"},{default:a(()=>[e(t(O),{type:"default",underline:!1},{default:a(()=>[j(" 操作"+f(d),1)]),_:2},1024)]),_:2},1024)),64))]),_:1})]),_:1},8,["loading"])]),_:1}),e(t(x),{shadow:"never",class:"mt-20px"},{header:a(()=>s[11]||(s[11]=[l("span",null,"xx指数",-1)])),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(F),{options:T,height:400},null,8,["options"])]),_:1},8,["loading"])]),_:1}),e(t(x),{shadow:"never",class:"mt-20px"},{header:a(()=>s[12]||(s[12]=[l("span",null,"团队",-1)])),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(h),null,{default:a(()=>[(m(!0),v($,null,E(t(i),d=>(m(),R(t(c),{key:`team-${d.name}`,span:12,class:"mb-20px"},{default:a(()=>[l("div",ft,[e(N,{icon:d.icon,class:"mr-10px"},null,8,["icon"]),e(t(O),{type:"default",underline:!1},{default:a(()=>[j(f(d.name),1)]),_:2},1024)])]),_:2},1024))),128))]),_:1})]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})],64)}}});export{St as default}; +var p=(n,r,u)=>new Promise((C,g)=>{var D=i=>{try{w(u.next(i))}catch(k){g(k)}},y=i=>{try{w(u.throw(i))}catch(k){g(k)}},w=i=>i.done?C(i.value):Promise.resolve(i.value).then(D,y);w((u=u.apply(n,r)).next())});import{I as z}from"./Icon-BTLftY2_.js";import{_ as L}from"./avatar-CIGAabYz.js";import{p as M,m as _,n as h,k as c,q as B,l as x,r as O,s as P}from"./element-plus-CUBv5pjL.js";import{r as A,f as W}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as I}from"./CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js";import{r as Y,_ as F}from"./Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js";import"./echarts-DNv_PrpY.js";import{_ as G}from"./Highlight.vue_vue_type_script_lang-BFIi4_k_.js";import{y as K,r as Q,W as b,z as m,A as v,D as l,O as e,L as a,u as t,a4 as j,I as $,a3 as E,K as R,Q as f}from"./vue-chunks-ChjHxF1G.js";const H={justNow:"刚刚",invalid:"无效时间",past:n=>n.match(/\d/)?`${n}前`:n,future:n=>n.match(/\d/)?`${n}后`:n,month:(n,r)=>n===1?r?"上个月":"下个月":`${n} 个月`,year:(n,r)=>n===1?r?"去年":"明年":`${n} 年`,day:(n,r)=>n===1?r?"昨天":"明天":`${n} 天`,week:(n,r)=>n===1?r?"上周":"下周":`${n} 周`,hour:n=>`${n} 小时`,minute:n=>`${n} 分钟`,second:n=>`${n} 秒`},J=n=>M(n,{messages:H}),U=()=>A.get({url:"/mock/workplace/total"}),X=()=>A.get({url:"/mock/workplace/project"}),Z=()=>A.get({url:"/mock/workplace/dynamic"}),tt=()=>A.get({url:"/mock/workplace/team"}),et=()=>A.get({url:"/mock/workplace/radar"}),at={class:"flex h-70px items-center justify-end lt-sm:mt-20px"},st={class:"px-8px text-right"},lt={class:"px-8px text-right"},nt={class:"px-8px text-right"},rt={class:"flex justify-between"},ot={class:"flex items-center"},dt={class:"text-16px"},it={class:"mt-15px text-14px text-gray-400"},ut={class:"mt-20px text-12px text-gray-400 flex justify-between"},mt={class:"flex justify-between"},pt={class:"flex items-center"},ct={class:"text-14px"},xt={class:"mt-15px text-12px text-gray-400"},ft={class:"flex items-center"},St=K({__name:"Workplace",setup(n){const r=Q(!0);let u=b({project:0,access:0,todo:0});const C=()=>p(this,null,function*(){const o=yield U().catch(()=>{});o&&(u=Object.assign(u,o.data))});let g=b([]);const D=()=>p(this,null,function*(){const o=yield X().catch(()=>{});o&&(g=Object.assign(g,o.data))});let y=b([]);const w=()=>p(this,null,function*(){const o=yield Z().catch(()=>{});o&&(y=Object.assign(y,o.data))});let i=b([]);const k=()=>p(this,null,function*(){const o=yield tt().catch(()=>{});o&&(i=Object.assign(i,o.data))}),T=b(Y),V=()=>p(this,null,function*(){const o=yield et().catch(()=>{});o&&(P(T,"radar.indicator",o.data.map(s=>({name:s.name,max:s.max}))),P(T,"series",[{name:"xxx指数",type:"radar",data:[{value:o.data.map(s=>s.personal),name:"个人"},{value:o.data.map(s=>s.team),name:"团队"}]}]))});return p(this,null,function*(){yield Promise.all([C(),D(),w(),k(),V()]),r.value=!1}),(o,s)=>{const N=z;return m(),v($,null,[l("div",null,[e(t(x),{shadow:"never"},{default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(h),{gutter:20,justify:"space-between"},{default:a(()=>[e(t(c),{xl:12,lg:12,md:12,sm:24,xs:24},{default:a(()=>s[0]||(s[0]=[l("div",{class:"flex items-center"},[l("img",{src:L,alt:"",class:"w-70px h-70px rounded-[50%] mr-20px"}),l("div",null,[l("div",{class:"text-20px"},"早安,ShanYi,祝你开心每一天!"),l("div",{class:"mt-10px text-14px text-gray-500"},"今日晴,20℃ - 32℃!")])],-1)])),_:1}),e(t(c),{xl:12,lg:12,md:12,sm:24,xs:24},{default:a(()=>[l("div",at,[l("div",st,[s[1]||(s[1]=l("div",{class:"text-14px text-gray-400 mb-20px"},"项目数",-1)),e(t(I),{class:"text-20px","start-val":0,"end-val":t(u).project,duration:2600},null,8,["end-val"])]),e(t(B),{direction:"vertical"}),l("div",lt,[s[2]||(s[2]=l("div",{class:"text-14px text-gray-400 mb-20px"},"待办",-1)),e(t(I),{class:"text-20px","start-val":0,"end-val":t(u).todo,duration:2600},null,8,["end-val"])]),e(t(B),{direction:"vertical","border-style":"dashed"}),l("div",nt,[s[3]||(s[3]=l("div",{class:"text-14px text-gray-400 mb-20px"},"项目访问",-1)),e(t(I),{class:"text-20px","start-val":0,"end-val":t(u).access,duration:2600},null,8,["end-val"])])])]),_:1})]),_:1})]),_:1},8,["loading"])]),_:1})]),e(t(h),{class:"mt-20px",gutter:20,justify:"space-between"},{default:a(()=>[e(t(c),{xl:16,lg:16,md:24,sm:24,xs:24,class:"mb-20px"},{default:a(()=>[e(t(x),{shadow:"never"},{header:a(()=>[l("div",rt,[s[5]||(s[5]=l("span",null,"项目数",-1)),e(t(O),{type:"primary",underline:!1},{default:a(()=>s[4]||(s[4]=[j("更多")])),_:1})])]),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(h),null,{default:a(()=>[(m(!0),v($,null,E(t(g),(d,S)=>(m(),R(t(c),{key:`card-${S}`,xl:8,lg:8,md:12,sm:24,xs:24},{default:a(()=>[e(t(x),{shadow:"hover"},{default:a(()=>[l("div",ot,[e(N,{icon:d.icon,size:25,class:"mr-10px"},null,8,["icon"]),l("span",dt,f(d.name),1)]),l("div",it,f(d.message),1),l("div",ut,[l("span",null,f(d.personal),1),l("span",null,f(t(W)(d.time,"yyyy-MM-dd")),1)])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["loading"])]),_:1}),e(t(x),{shadow:"never",class:"mt-20px"},{header:a(()=>[l("div",mt,[s[7]||(s[7]=l("span",null,"动态",-1)),e(t(O),{type:"primary",underline:!1},{default:a(()=>s[6]||(s[6]=[j("更多")])),_:1})])]),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[(m(!0),v($,null,E(t(y),(d,S)=>(m(),v("div",{key:`dynamics-${S}`},[l("div",pt,[s[9]||(s[9]=l("img",{src:L,alt:"",class:"w-35px h-35px rounded-[50%] mr-20px"},null,-1)),l("div",null,[l("div",ct,[e(t(G),{keys:d.keys.map(q=>q)},{default:a(()=>s[8]||(s[8]=[j(" ShanYi 推送 代码到 Github ")])),_:2},1032,["keys"])]),l("div",xt,f(t(J)(d.time)),1)])]),e(t(B))]))),128))]),_:1},8,["loading"])]),_:1})]),_:1}),e(t(c),{xl:8,lg:8,md:24,sm:24,xs:24,class:"mb-20px"},{default:a(()=>[e(t(x),{shadow:"never"},{header:a(()=>s[10]||(s[10]=[l("span",null,"快捷操作",-1)])),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(h),null,{default:a(()=>[(m(),v($,null,E(9,d=>e(t(c),{key:`card-${d}`,xl:12,lg:12,md:12,sm:24,xs:24,class:"mb-10px"},{default:a(()=>[e(t(O),{type:"default",underline:!1},{default:a(()=>[j(" 操作"+f(d),1)]),_:2},1024)]),_:2},1024)),64))]),_:1})]),_:1},8,["loading"])]),_:1}),e(t(x),{shadow:"never",class:"mt-20px"},{header:a(()=>s[11]||(s[11]=[l("span",null,"xx指数",-1)])),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(F),{options:T,height:400},null,8,["options"])]),_:1},8,["loading"])]),_:1}),e(t(x),{shadow:"never",class:"mt-20px"},{header:a(()=>s[12]||(s[12]=[l("span",null,"团队",-1)])),default:a(()=>[e(t(_),{loading:r.value,animated:""},{default:a(()=>[e(t(h),null,{default:a(()=>[(m(!0),v($,null,E(t(i),d=>(m(),R(t(c),{key:`team-${d.name}`,span:12,class:"mb-20px"},{default:a(()=>[l("div",ft,[e(N,{icon:d.icon,class:"mr-10px"},null,8,["icon"]),e(t(O),{type:"default",underline:!1},{default:a(()=>[j(f(d.name),1)]),_:2},1024)])]),_:2},1024))),128))]),_:1})]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1})],64)}}});export{St as default}; diff --git a/assets/Write-BuCNNk6h.js b/assets/Write-BuCNNk6h.js new file mode 100644 index 00000000..c950f0de --- /dev/null +++ b/assets/Write-BuCNNk6h.js @@ -0,0 +1 @@ +import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-sb3KtAtc.js";import"./Form-BTUMYN5B.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";export{o as default}; diff --git a/assets/Write-Bw97qwh5.js b/assets/Write-Bw97qwh5.js deleted file mode 100644 index 192e9c35..00000000 --- a/assets/Write-Bw97qwh5.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-CcmM6xjl.js";import"./Form-Cq-QZJdy.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";export{o as default}; diff --git a/assets/Write-CHNSlToc.js b/assets/Write-CHNSlToc.js new file mode 100644 index 00000000..8ec1deb8 --- /dev/null +++ b/assets/Write-CHNSlToc.js @@ -0,0 +1 @@ +import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-BxVx4IpO.js";import"./Form-BTUMYN5B.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";export{o as default}; diff --git a/assets/Write-CYvj7Ptn.js b/assets/Write-CYvj7Ptn.js new file mode 100644 index 00000000..cc781777 --- /dev/null +++ b/assets/Write-CYvj7Ptn.js @@ -0,0 +1 @@ +import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-Cpi5XeJB.js";import"./Form-BTUMYN5B.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";export{o as default}; diff --git a/assets/Write-C_erNWyS.js b/assets/Write-C_erNWyS.js deleted file mode 100644 index 2de281c9..00000000 --- a/assets/Write-C_erNWyS.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-CPowj1Ha.js";import"./Form-Cq-QZJdy.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";export{o as default}; diff --git a/assets/Write-DnmvdHta.js b/assets/Write-DnmvdHta.js deleted file mode 100644 index fa6d4dbe..00000000 --- a/assets/Write-DnmvdHta.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-CCaiKO23.js";import"./Form-Cq-QZJdy.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";import"./index-CjJH7ccC.js";import"./tree-Dgaev6Pi.js";export{o as default}; diff --git a/assets/Write-DnyGiie8.js b/assets/Write-DnyGiie8.js new file mode 100644 index 00000000..6871cae4 --- /dev/null +++ b/assets/Write-DnyGiie8.js @@ -0,0 +1 @@ +import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-CUmHDdQF.js";import"./Form-BTUMYN5B.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";import"./index-iuvt-R6t.js";import"./tree-Dgaev6Pi.js";export{o as default}; diff --git a/assets/Write-HeqJSiNs.js b/assets/Write-HeqJSiNs.js deleted file mode 100644 index 5ca7f894..00000000 --- a/assets/Write-HeqJSiNs.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-CckuT9uE.js";import"./Form-Cq-QZJdy.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";import"./index-CjJH7ccC.js";/* empty css */import"./AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";export{o as default}; diff --git a/assets/Write-LswfH9i1.js b/assets/Write-LswfH9i1.js deleted file mode 100644 index 4bb62756..00000000 --- a/assets/Write-LswfH9i1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-yBnrTVwy.js";import"./Form-Cq-QZJdy.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";export{o as default}; diff --git a/assets/Write-mP3B8ACp.js b/assets/Write-mP3B8ACp.js deleted file mode 100644 index c67a5166..00000000 --- a/assets/Write-mP3B8ACp.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-DWoLw2ys.js";import"./Form-Cq-QZJdy.js";import"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./Icon-CdhVCYkm.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */import"./useForm-B1_iUn_7.js";import"./useValidator-Nt61Jv1p.js";export{o as default}; diff --git a/assets/Write-o_Ty8ubp.js b/assets/Write-o_Ty8ubp.js new file mode 100644 index 00000000..f6529f7d --- /dev/null +++ b/assets/Write-o_Ty8ubp.js @@ -0,0 +1 @@ +import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-yRGGtvFF.js";import"./Form-BTUMYN5B.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";import"./index-iuvt-R6t.js";/* empty css */import"./AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";export{o as default}; diff --git a/assets/Write-v5CwIKFi.js b/assets/Write-v5CwIKFi.js new file mode 100644 index 00000000..73ba893a --- /dev/null +++ b/assets/Write-v5CwIKFi.js @@ -0,0 +1 @@ +import{_ as o}from"./Write.vue_vue_type_script_setup_true_lang-B4zYXPIq.js";import"./Form-BTUMYN5B.js";import"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./Icon-BTLftY2_.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */import"./useForm-B3urKjox.js";import"./useValidator-Nt61Jv1p.js";export{o as default}; diff --git a/assets/Write.vue_vue_type_script_setup_true_lang-CcmM6xjl.js b/assets/Write.vue_vue_type_script_setup_true_lang-B4zYXPIq.js similarity index 87% rename from assets/Write.vue_vue_type_script_setup_true_lang-CcmM6xjl.js rename to assets/Write.vue_vue_type_script_setup_true_lang-B4zYXPIq.js index 18ccdf19..ccc07e55 100644 --- a/assets/Write.vue_vue_type_script_setup_true_lang-CcmM6xjl.js +++ b/assets/Write.vue_vue_type_script_setup_true_lang-B4zYXPIq.js @@ -1 +1 @@ -var f=(s,m,t)=>new Promise((n,c)=>{var i=e=>{try{a(t.next(e))}catch(o){c(o)}},u=e=>{try{a(t.throw(e))}catch(o){c(o)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(i,u);a((t=t.apply(s,m)).next())});import{F as w}from"./Form-Cq-QZJdy.js";import{u as g}from"./useForm-B1_iUn_7.js";import{u as v}from"./useValidator-Nt61Jv1p.js";import{y,W as _,w as x,z as F,K as R,u as p}from"./vue-chunks-ChjHxF1G.js";const S=y({__name:"Write",props:{currentRow:{type:Object,default:()=>{}},formSchema:{type:Array,default:()=>[]}},setup(s,{expose:m}){const{required:t}=v(),n=s,c=_({username:[t()],account:[t()],"department.id":[t()]}),{formRegister:i,formMethods:u}=g(),{setValues:a,getFormData:e,getElFormExpose:o}=u,d=()=>f(this,null,function*(){const r=yield o();if(yield r==null?void 0:r.validate().catch(h=>{}))return yield e()});return x(()=>n.currentRow,r=>{r&&a(r)},{deep:!0,immediate:!0}),m({submit:d}),(r,l)=>(F(),R(p(w),{rules:c,onRegister:p(i),schema:s.formSchema},null,8,["rules","onRegister","schema"]))}});export{S as _}; +var f=(s,m,t)=>new Promise((n,c)=>{var i=e=>{try{a(t.next(e))}catch(o){c(o)}},u=e=>{try{a(t.throw(e))}catch(o){c(o)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(i,u);a((t=t.apply(s,m)).next())});import{F as w}from"./Form-BTUMYN5B.js";import{u as g}from"./useForm-B3urKjox.js";import{u as v}from"./useValidator-Nt61Jv1p.js";import{y,W as _,w as x,z as F,K as R,u as p}from"./vue-chunks-ChjHxF1G.js";const S=y({__name:"Write",props:{currentRow:{type:Object,default:()=>{}},formSchema:{type:Array,default:()=>[]}},setup(s,{expose:m}){const{required:t}=v(),n=s,c=_({username:[t()],account:[t()],"department.id":[t()]}),{formRegister:i,formMethods:u}=g(),{setValues:a,getFormData:e,getElFormExpose:o}=u,d=()=>f(this,null,function*(){const r=yield o();if(yield r==null?void 0:r.validate().catch(h=>{}))return yield e()});return x(()=>n.currentRow,r=>{r&&a(r)},{deep:!0,immediate:!0}),m({submit:d}),(r,l)=>(F(),R(p(w),{rules:c,onRegister:p(i),schema:s.formSchema},null,8,["rules","onRegister","schema"]))}});export{S as _}; diff --git a/assets/Write.vue_vue_type_script_setup_true_lang-CPowj1Ha.js b/assets/Write.vue_vue_type_script_setup_true_lang-BxVx4IpO.js similarity index 87% rename from assets/Write.vue_vue_type_script_setup_true_lang-CPowj1Ha.js rename to assets/Write.vue_vue_type_script_setup_true_lang-BxVx4IpO.js index 9697b62d..2ede4061 100644 --- a/assets/Write.vue_vue_type_script_setup_true_lang-CPowj1Ha.js +++ b/assets/Write.vue_vue_type_script_setup_true_lang-BxVx4IpO.js @@ -1 +1 @@ -var f=(s,m,t)=>new Promise((n,c)=>{var i=e=>{try{a(t.next(e))}catch(o){c(o)}},u=e=>{try{a(t.throw(e))}catch(o){c(o)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(i,u);a((t=t.apply(s,m)).next())});import{F as w}from"./Form-Cq-QZJdy.js";import{u as g}from"./useForm-B1_iUn_7.js";import{u as y}from"./useValidator-Nt61Jv1p.js";import{y as _,W as v,w as x,z as F,K as R,u as l}from"./vue-chunks-ChjHxF1G.js";const S=_({__name:"Write",props:{currentRow:{type:Object,default:()=>null},formSchema:{type:Array,default:()=>[]}},setup(s,{expose:m}){const{required:t}=y(),n=s,c=v({id:[t()],status:[t()]}),{formRegister:i,formMethods:u}=g(),{setValues:a,getFormData:e,getElFormExpose:o}=u,p=()=>f(this,null,function*(){const r=yield o();if(yield r==null?void 0:r.validate().catch(h=>{}))return yield e()});return x(()=>n.currentRow,r=>{r&&a(r)},{deep:!0,immediate:!0}),m({submit:p}),(r,d)=>(F(),R(l(w),{rules:c,onRegister:l(i),schema:s.formSchema},null,8,["rules","onRegister","schema"]))}});export{S as _}; +var f=(s,m,t)=>new Promise((n,c)=>{var i=e=>{try{a(t.next(e))}catch(o){c(o)}},u=e=>{try{a(t.throw(e))}catch(o){c(o)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(i,u);a((t=t.apply(s,m)).next())});import{F as w}from"./Form-BTUMYN5B.js";import{u as g}from"./useForm-B3urKjox.js";import{u as y}from"./useValidator-Nt61Jv1p.js";import{y as _,W as v,w as x,z as F,K as R,u as l}from"./vue-chunks-ChjHxF1G.js";const S=_({__name:"Write",props:{currentRow:{type:Object,default:()=>null},formSchema:{type:Array,default:()=>[]}},setup(s,{expose:m}){const{required:t}=y(),n=s,c=v({id:[t()],status:[t()]}),{formRegister:i,formMethods:u}=g(),{setValues:a,getFormData:e,getElFormExpose:o}=u,p=()=>f(this,null,function*(){const r=yield o();if(yield r==null?void 0:r.validate().catch(h=>{}))return yield e()});return x(()=>n.currentRow,r=>{r&&a(r)},{deep:!0,immediate:!0}),m({submit:p}),(r,d)=>(F(),R(l(w),{rules:c,onRegister:l(i),schema:s.formSchema},null,8,["rules","onRegister","schema"]))}});export{S as _}; diff --git a/assets/Write.vue_vue_type_script_setup_true_lang-CCaiKO23.js b/assets/Write.vue_vue_type_script_setup_true_lang-CUmHDdQF.js similarity index 91% rename from assets/Write.vue_vue_type_script_setup_true_lang-CCaiKO23.js rename to assets/Write.vue_vue_type_script_setup_true_lang-CUmHDdQF.js index fefd32c8..c03122d5 100644 --- a/assets/Write.vue_vue_type_script_setup_true_lang-CCaiKO23.js +++ b/assets/Write.vue_vue_type_script_setup_true_lang-CUmHDdQF.js @@ -1 +1 @@ -var I=Object.defineProperty;var v=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var y=(o,s,e)=>s in o?I(o,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[s]=e,R=(o,s)=>{for(var e in s||(s={}))M.call(s,e)&&y(o,e,s[e]);if(v)for(var e of v(s))N.call(s,e)&&y(o,e,s[e]);return o};var w=(o,s,e)=>new Promise((f,d)=>{var b=l=>{try{h(e.next(l))}catch(k){d(k)}},c=l=>{try{h(e.throw(l))}catch(k){d(k)}},h=l=>l.done?f(l.value):Promise.resolve(l.value).then(b,c);h((e=e.apply(o,s)).next())});import{F as T}from"./Form-Cq-QZJdy.js";import{u as K}from"./useForm-B1_iUn_7.js";import{u as P}from"./useValidator-Nt61Jv1p.js";import{m as S}from"./index-DHbc4UQl.js";/* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";import{g as B}from"./index-CjJH7ccC.js";import{e as _,f as O}from"./tree-Dgaev6Pi.js";import{ak as W,S as j,y as q}from"./element-plus-CUBv5pjL.js";import{y as z,r as x,O as u,u as i,I as A,W as G,w as U,z as H,K as J,n as Q}from"./vue-chunks-ChjHxF1G.js";const ce=z({__name:"Write",props:{currentRow:{type:Object,default:()=>null}},setup(o,{expose:s}){const{required:e}=P(),f=o,d=x(),b=x([{field:"roleName",label:"角色名称",component:"Input"},{field:"status",label:"状态",component:"Select",componentProps:{options:[{label:"禁用",value:0},{label:"启用",value:1}]}},{field:"menu",label:"菜单分配",colProps:{span:24},formItemProps:{slots:{default:()=>{var t;return u(A,null,[u("div",{class:"flex w-full"},[u("div",{class:"flex-1"},[u(W,{ref:d,"show-checkbox":!0,"node-key":"id","highlight-current":!0,"check-strictly":!0,"expand-on-click-node":!1,data:g.value,"onNode-click":h},{default:r=>u("span",null,[r.data.meta.title])})]),u("div",{class:"flex-1"},[i(c)&&((t=i(c))!=null&&t.permissionList)?u(j,{modelValue:i(c).meta.permission,"onUpdate:modelValue":r=>i(c).meta.permission=r},{default:()=>{var r;return[(r=i(c))==null?void 0:r.permissionList.map(n=>u(q,{label:n.value},{default:()=>[n.label]}))]}}):null])])])}}}}]),c=x(),h=t=>{c.value=t},l=G({roleName:[e()],role:[e()],status:[e()]}),{formRegister:k,formMethods:C}=K(),{setValues:E,getFormData:F,getElFormExpose:L}=C,g=x([]);w(this,null,function*(){var r;const t=yield B();if(t){if(g.value=t.data.list,!f.currentRow)return;yield Q();const n=[];_(f.currentRow.menu,a=>{var m;n.push({id:a.id,permission:((m=a.meta)==null?void 0:m.permission)||[]})}),_(g.value,a=>{const m=S(n,p=>p.id===a.id);if(m>-1){const p=R({},a.meta||{});p.permission=n[m].permission,a.meta=p}});for(const a of n)(r=i(d))==null||r.setChecked(a.id,!0,!1)}});const V=()=>w(this,null,function*(){var n;const t=yield L();if(yield t==null?void 0:t.validate().catch(a=>{})){const a=yield F(),m=((n=i(d))==null?void 0:n.getCheckedKeys())||[],p=O(i(g),D=>m.includes(D.id));return a.menu=p||[],a}});return U(()=>f.currentRow,t=>{t&&E(t)},{deep:!0,immediate:!0}),s({submit:V}),(t,r)=>(H(),J(i(T),{rules:l,onRegister:i(k),schema:b.value},null,8,["rules","onRegister","schema"]))}});export{ce as _}; +var I=Object.defineProperty;var v=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var y=(o,s,e)=>s in o?I(o,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[s]=e,R=(o,s)=>{for(var e in s||(s={}))M.call(s,e)&&y(o,e,s[e]);if(v)for(var e of v(s))N.call(s,e)&&y(o,e,s[e]);return o};var w=(o,s,e)=>new Promise((f,d)=>{var b=l=>{try{h(e.next(l))}catch(k){d(k)}},c=l=>{try{h(e.throw(l))}catch(k){d(k)}},h=l=>l.done?f(l.value):Promise.resolve(l.value).then(b,c);h((e=e.apply(o,s)).next())});import{F as T}from"./Form-BTUMYN5B.js";import{u as K}from"./useForm-B3urKjox.js";import{u as P}from"./useValidator-Nt61Jv1p.js";import{m as S}from"./index-wnyZ7Zvr.js";/* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";import{g as B}from"./index-iuvt-R6t.js";import{e as _,f as O}from"./tree-Dgaev6Pi.js";import{ak as W,S as j,y as q}from"./element-plus-CUBv5pjL.js";import{y as z,r as x,O as u,u as i,I as A,W as G,w as U,z as H,K as J,n as Q}from"./vue-chunks-ChjHxF1G.js";const ce=z({__name:"Write",props:{currentRow:{type:Object,default:()=>null}},setup(o,{expose:s}){const{required:e}=P(),f=o,d=x(),b=x([{field:"roleName",label:"角色名称",component:"Input"},{field:"status",label:"状态",component:"Select",componentProps:{options:[{label:"禁用",value:0},{label:"启用",value:1}]}},{field:"menu",label:"菜单分配",colProps:{span:24},formItemProps:{slots:{default:()=>{var t;return u(A,null,[u("div",{class:"flex w-full"},[u("div",{class:"flex-1"},[u(W,{ref:d,"show-checkbox":!0,"node-key":"id","highlight-current":!0,"check-strictly":!0,"expand-on-click-node":!1,data:g.value,"onNode-click":h},{default:r=>u("span",null,[r.data.meta.title])})]),u("div",{class:"flex-1"},[i(c)&&((t=i(c))!=null&&t.permissionList)?u(j,{modelValue:i(c).meta.permission,"onUpdate:modelValue":r=>i(c).meta.permission=r},{default:()=>{var r;return[(r=i(c))==null?void 0:r.permissionList.map(n=>u(q,{label:n.value},{default:()=>[n.label]}))]}}):null])])])}}}}]),c=x(),h=t=>{c.value=t},l=G({roleName:[e()],role:[e()],status:[e()]}),{formRegister:k,formMethods:C}=K(),{setValues:E,getFormData:F,getElFormExpose:L}=C,g=x([]);w(this,null,function*(){var r;const t=yield B();if(t){if(g.value=t.data.list,!f.currentRow)return;yield Q();const n=[];_(f.currentRow.menu,a=>{var m;n.push({id:a.id,permission:((m=a.meta)==null?void 0:m.permission)||[]})}),_(g.value,a=>{const m=S(n,p=>p.id===a.id);if(m>-1){const p=R({},a.meta||{});p.permission=n[m].permission,a.meta=p}});for(const a of n)(r=i(d))==null||r.setChecked(a.id,!0,!1)}});const V=()=>w(this,null,function*(){var n;const t=yield L();if(yield t==null?void 0:t.validate().catch(a=>{})){const a=yield F(),m=((n=i(d))==null?void 0:n.getCheckedKeys())||[],p=O(i(g),D=>m.includes(D.id));return a.menu=p||[],a}});return U(()=>f.currentRow,t=>{t&&E(t)},{deep:!0,immediate:!0}),s({submit:V}),(t,r)=>(H(),J(i(T),{rules:l,onRegister:i(k),schema:b.value},null,8,["rules","onRegister","schema"]))}});export{ce as _}; diff --git a/assets/Write.vue_vue_type_script_setup_true_lang-DWoLw2ys.js b/assets/Write.vue_vue_type_script_setup_true_lang-Cpi5XeJB.js similarity index 93% rename from assets/Write.vue_vue_type_script_setup_true_lang-DWoLw2ys.js rename to assets/Write.vue_vue_type_script_setup_true_lang-Cpi5XeJB.js index b8e5b5d2..f15d42db 100644 --- a/assets/Write.vue_vue_type_script_setup_true_lang-DWoLw2ys.js +++ b/assets/Write.vue_vue_type_script_setup_true_lang-Cpi5XeJB.js @@ -1 +1 @@ -var i=(l,m,e)=>new Promise((p,n)=>{var c=o=>{try{a(e.next(o))}catch(r){n(r)}},s=o=>{try{a(e.throw(o))}catch(r){n(r)}},a=o=>o.done?p(o.value):Promise.resolve(o.value).then(c,s);a((e=e.apply(l,m)).next())});import{F as g}from"./Form-Cq-QZJdy.js";import{u as _}from"./useForm-B1_iUn_7.js";import{u as I}from"./useValidator-Nt61Jv1p.js";import{y as w,W as u,w as y,z as D,K as F,u as f}from"./vue-chunks-ChjHxF1G.js";const M=w({__name:"Write",props:{currentRow:{type:Object,default:()=>null}},setup(l,{expose:m}){const{required:e}=I(),p=l,{formRegister:n,formMethods:c}=_(),{setValues:s,getFormData:a,getElFormExpose:o,setSchema:r}=c,d=u([{field:"title",label:"标题",component:"Input",formItemProps:{rules:[e()]},colProps:{span:24}},{field:"author",label:"作者",component:"Input",formItemProps:{rules:[e()]}},{field:"display_time",label:"创建时间",component:"DatePicker",componentProps:{type:"datetime",valueFormat:"YYYY-MM-DD HH:mm:ss"},formItemProps:{rules:[e()]}},{field:"importance",label:"重要性",component:"Select",formItemProps:{rules:[e()]},componentProps:{options:[{label:"重要",value:3},{label:"良好",value:2},{label:"一般",value:1}]}},{field:"pageviews",label:"阅读数",component:"InputNumber",value:0,formItemProps:{rules:[e()]}},{field:"content",component:"Editor",colProps:{span:24},componentProps:{defaultHtml:"",onChange:t=>{s({content:t.getHtml()})}},label:"内容"}]),b=u({title:[e()],author:[e()],importance:[e()],pageviews:[e()],display_time:[e()],content:[e()]}),v=()=>i(this,null,function*(){const t=yield o();if(yield t==null?void 0:t.validate().catch(h=>{}))return yield a()});return y(()=>p.currentRow,t=>{t&&(s(t),r([{field:"content",path:"componentProps.defaultHtml",value:t.content}]))},{deep:!0,immediate:!0}),m({submit:v}),(t,P)=>(D(),F(f(g),{rules:b,onRegister:f(n),schema:d},null,8,["rules","onRegister","schema"]))}});export{M as _}; +var i=(l,m,e)=>new Promise((p,n)=>{var c=o=>{try{a(e.next(o))}catch(r){n(r)}},s=o=>{try{a(e.throw(o))}catch(r){n(r)}},a=o=>o.done?p(o.value):Promise.resolve(o.value).then(c,s);a((e=e.apply(l,m)).next())});import{F as g}from"./Form-BTUMYN5B.js";import{u as _}from"./useForm-B3urKjox.js";import{u as I}from"./useValidator-Nt61Jv1p.js";import{y as w,W as u,w as y,z as D,K as F,u as f}from"./vue-chunks-ChjHxF1G.js";const M=w({__name:"Write",props:{currentRow:{type:Object,default:()=>null}},setup(l,{expose:m}){const{required:e}=I(),p=l,{formRegister:n,formMethods:c}=_(),{setValues:s,getFormData:a,getElFormExpose:o,setSchema:r}=c,d=u([{field:"title",label:"标题",component:"Input",formItemProps:{rules:[e()]},colProps:{span:24}},{field:"author",label:"作者",component:"Input",formItemProps:{rules:[e()]}},{field:"display_time",label:"创建时间",component:"DatePicker",componentProps:{type:"datetime",valueFormat:"YYYY-MM-DD HH:mm:ss"},formItemProps:{rules:[e()]}},{field:"importance",label:"重要性",component:"Select",formItemProps:{rules:[e()]},componentProps:{options:[{label:"重要",value:3},{label:"良好",value:2},{label:"一般",value:1}]}},{field:"pageviews",label:"阅读数",component:"InputNumber",value:0,formItemProps:{rules:[e()]}},{field:"content",component:"Editor",colProps:{span:24},componentProps:{defaultHtml:"",onChange:t=>{s({content:t.getHtml()})}},label:"内容"}]),b=u({title:[e()],author:[e()],importance:[e()],pageviews:[e()],display_time:[e()],content:[e()]}),v=()=>i(this,null,function*(){const t=yield o();if(yield t==null?void 0:t.validate().catch(h=>{}))return yield a()});return y(()=>p.currentRow,t=>{t&&(s(t),r([{field:"content",path:"componentProps.defaultHtml",value:t.content}]))},{deep:!0,immediate:!0}),m({submit:v}),(t,P)=>(D(),F(f(g),{rules:b,onRegister:f(n),schema:d},null,8,["rules","onRegister","schema"]))}});export{M as _}; diff --git a/assets/Write.vue_vue_type_script_setup_true_lang-yBnrTVwy.js b/assets/Write.vue_vue_type_script_setup_true_lang-sb3KtAtc.js similarity index 88% rename from assets/Write.vue_vue_type_script_setup_true_lang-yBnrTVwy.js rename to assets/Write.vue_vue_type_script_setup_true_lang-sb3KtAtc.js index 3b4a093d..df4b6e30 100644 --- a/assets/Write.vue_vue_type_script_setup_true_lang-yBnrTVwy.js +++ b/assets/Write.vue_vue_type_script_setup_true_lang-sb3KtAtc.js @@ -1 +1 @@ -var p=(s,n,e)=>new Promise((i,c)=>{var m=t=>{try{r(e.next(t))}catch(o){c(o)}},u=t=>{try{r(e.throw(t))}catch(o){c(o)}},r=t=>t.done?i(t.value):Promise.resolve(t.value).then(m,u);r((e=e.apply(s,n)).next())});import{F as w}from"./Form-Cq-QZJdy.js";import{u as g}from"./useForm-B1_iUn_7.js";import{u as y}from"./useValidator-Nt61Jv1p.js";import{y as _,W as v,w as x,z as F,K as R,u as f}from"./vue-chunks-ChjHxF1G.js";const S=_({__name:"Write",props:{currentRow:{type:Object,default:()=>null},formSchema:{type:Array,default:()=>[]}},setup(s,{expose:n}){const{required:e}=y(),i=s,c=v({title:[e()],author:[e()],importance:[e()],pageviews:[e()],display_time:[e()],content:[e()]}),{formRegister:m,formMethods:u}=g(),{setValues:r,getFormData:t,getElFormExpose:o}=u,l=()=>p(this,null,function*(){const a=yield o();if(yield a==null?void 0:a.validate().catch(h=>{}))return yield t()});return x(()=>i.currentRow,a=>{a&&r(a)},{deep:!0,immediate:!0}),n({submit:l}),(a,d)=>(F(),R(f(w),{rules:c,onRegister:f(m),schema:s.formSchema},null,8,["rules","onRegister","schema"]))}});export{S as _}; +var p=(s,n,e)=>new Promise((i,c)=>{var m=t=>{try{r(e.next(t))}catch(o){c(o)}},u=t=>{try{r(e.throw(t))}catch(o){c(o)}},r=t=>t.done?i(t.value):Promise.resolve(t.value).then(m,u);r((e=e.apply(s,n)).next())});import{F as w}from"./Form-BTUMYN5B.js";import{u as g}from"./useForm-B3urKjox.js";import{u as y}from"./useValidator-Nt61Jv1p.js";import{y as _,W as v,w as x,z as F,K as R,u as f}from"./vue-chunks-ChjHxF1G.js";const S=_({__name:"Write",props:{currentRow:{type:Object,default:()=>null},formSchema:{type:Array,default:()=>[]}},setup(s,{expose:n}){const{required:e}=y(),i=s,c=v({title:[e()],author:[e()],importance:[e()],pageviews:[e()],display_time:[e()],content:[e()]}),{formRegister:m,formMethods:u}=g(),{setValues:r,getFormData:t,getElFormExpose:o}=u,l=()=>p(this,null,function*(){const a=yield o();if(yield a==null?void 0:a.validate().catch(h=>{}))return yield t()});return x(()=>i.currentRow,a=>{a&&r(a)},{deep:!0,immediate:!0}),n({submit:l}),(a,d)=>(F(),R(f(w),{rules:c,onRegister:f(m),schema:s.formSchema},null,8,["rules","onRegister","schema"]))}});export{S as _}; diff --git a/assets/Write.vue_vue_type_script_setup_true_lang-CckuT9uE.js b/assets/Write.vue_vue_type_script_setup_true_lang-yRGGtvFF.js similarity index 94% rename from assets/Write.vue_vue_type_script_setup_true_lang-CckuT9uE.js rename to assets/Write.vue_vue_type_script_setup_true_lang-yRGGtvFF.js index 0cf87756..dac5c08a 100644 --- a/assets/Write.vue_vue_type_script_setup_true_lang-CckuT9uE.js +++ b/assets/Write.vue_vue_type_script_setup_true_lang-yRGGtvFF.js @@ -1 +1 @@ -var D=Object.defineProperty;var E=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var k=(i,s,a)=>s in i?D(i,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[s]=a,S=(i,s)=>{for(var a in s||(s={}))O.call(s,a)&&k(i,a,s[a]);if(E)for(var a of E(s))N.call(s,a)&&k(i,a,s[a]);return i};var c=(i,s,a)=>new Promise((w,f)=>{var g=t=>{try{r(a.next(t))}catch(d){f(d)}},C=t=>{try{r(a.throw(t))}catch(d){f(d)}},r=t=>t.done?w(t.value):Promise.resolve(t.value).then(g,C);r((a=a.apply(i,s)).next())});import{F as M}from"./Form-Cq-QZJdy.js";import{u as U}from"./useForm-B1_iUn_7.js";import{u as W}from"./useValidator-Nt61Jv1p.js";import{g as $}from"./index-CjJH7ccC.js";import"./index-DHbc4UQl.js";/* empty css */import"./IconPicker-DQ9E_oKs.js";/* empty css *//* empty css *//* empty css */import{_ as j}from"./AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js";import{_ as q}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{ae as G,af as v,A as _,C as K,a3 as I,al as H,d as J}from"./element-plus-CUBv5pjL.js";import{y as Q,r as V,W as L,u as h,O as o,a4 as y,I as x,w as X,z as Y,A as Z}from"./vue-chunks-ChjHxF1G.js";const be=Q({__name:"Write",props:{currentRow:{type:Object,default:()=>null}},setup(i,{expose:s}){const{required:a}=W(),w=i,f=l=>c(this,null,function*(){var n;const e=yield m();p({permissionList:(n=e==null?void 0:e.permissionList)==null?void 0:n.filter(P=>P.value!==l.value)})}),g=l=>c(this,null,function*(){t.value=S({},l)}),C=()=>c(this,null,function*(){var n;const l=yield m(),e=(n=l==null?void 0:l.permissionList)==null?void 0:n.findIndex(P=>P.id===t.value.id);e!==-1&&(l.permissionList[e]=S({},t.value),t.value=null)}),r=V(!1),t=V(null),d=L([{field:"type",label:"菜单类型",component:"RadioButton",value:0,colProps:{span:24},componentProps:{options:[{label:"目录",value:0},{label:"菜单",value:1}],on:{change:l=>c(this,null,function*(){const e=yield m();l===1?(u([{field:"component",path:"componentProps.disabled",value:!1}]),p({component:h(b)})):(u([{field:"component",path:"componentProps.disabled",value:!0}]),e.parentId===void 0?p({component:"#"}):p({component:"##"}))})}}},{field:"parentId",label:"父级菜单",component:"TreeSelect",componentProps:{nodeKey:"id",props:{label:"title",value:"id",children:"children"},highlightCurrent:!0,expandOnClickNode:!1,checkStrictly:!0,checkOnClickNode:!0,clearable:!0,on:{change:l=>c(this,null,function*(){var n;const e=yield m();l&&e.type===0?p({component:"##"}):!l&&e.type===0?p({component:"#"}):e.type===1&&p({component:(n=h(b))!=null?n:""})})}},optionApi:()=>c(this,null,function*(){return(yield $()).data.list||[]})},{field:"meta.title",label:"菜单名称",component:"Input"},{field:"component",label:"组件",component:"Input",value:"#",componentProps:{disabled:!0,placeholder:"#为顶级目录,##为子目录",on:{change:l=>{b.value=l}}}},{field:"name",label:"组件名称",component:"Input"},{field:"meta.icon",label:"图标",component:"Input"},{field:"path",label:"路径",component:"Input"},{field:"meta.activeMenu",label:"高亮菜单",component:"Input"},{field:"status",label:"状态",component:"Select",componentProps:{options:[{label:"禁用",value:0},{label:"启用",value:1}]}},{field:"permissionList",label:"按钮权限",component:"CheckboxGroup",colProps:{span:24},formItemProps:{slots:{default:l=>o(x,null,[o(q,{class:"m-t-5px",type:"primary",size:"small",onClick:()=>r.value=!0},{default:()=>[y("添加权限")]}),o(G,{data:l==null?void 0:l.permissionList},{default:()=>[o(v,{type:"index",prop:"id"},null),o(v,{prop:"value",label:"Value"},{default:({row:e})=>t.value&&t.value.id===e.id?o(_,{modelValue:t.value.value,"onUpdate:modelValue":n=>t.value.value=n,size:"small"},null):o("span",null,[e.value])}),o(v,{prop:"label",label:"Label"},{default:({row:e})=>t.value&&t.value.id===e.id?o(_,{modelValue:t.value.label,"onUpdate:modelValue":n=>t.value.label=n,size:"small"},null):o(K,{class:"mr-1",key:e.value},{default:()=>[e.label]})}),o(v,{label:"Operations",width:"180"},{default:({row:e})=>t.value&&t.value.id===e.id?o(I,{size:"small",type:"primary",onClick:C},{default:()=>[y("确定")]}):o(x,null,[o(I,{size:"small",type:"primary",onClick:()=>g(e)},{default:()=>[y("编辑")]}),o(H,{title:"Are you sure to delete this?",onConfirm:()=>f(e)},{reference:()=>o(I,{size:"small",type:"danger"},{default:()=>[y("删除")]})})])})]})])}}},{field:"meta.hidden",label:"是否隐藏",component:"Switch"},{field:"meta.alwaysShow",label:"是否一直显示",component:"Switch"},{field:"meta.noCache",label:"是否清除缓存",component:"Switch"},{field:"meta.breadcrumb",label:"是否显示面包屑",component:"Switch"},{field:"meta.affix",label:"是否固定在标签页",component:"Switch"},{field:"meta.noTagsView",label:"是否隐藏标签页",component:"Switch"},{field:"meta.canTo",label:"是否可跳转",component:"Switch"}]),F=L({component:[a()],path:[a()],"meta.title":[a()]}),{formRegister:R,formMethods:z}=U(),{setValues:p,getFormData:m,getElFormExpose:A,setSchema:u}=z,T=()=>c(this,null,function*(){const l=yield A();if(yield l==null?void 0:l.validate().catch(n=>{}))return yield m()}),b=V("");X(()=>w.currentRow,l=>{if(!l)return;const e=J(l);b.value=e.type===1?e.component:"",e.parentId===0?u([{field:"component",path:"componentProps.disabled",value:!0}]):u([{field:"component",path:"componentProps.disabled",value:!1}]),e.type===1?u([{field:"component",path:"componentProps.disabled",value:!1}]):u([{field:"component",path:"componentProps.disabled",value:!0}]),p(e)},{deep:!0,immediate:!0}),s({submit:T});const B=l=>c(this,null,function*(){const e=yield m();p({permissionList:[...(e==null?void 0:e.permissionList)||[],l]})});return(l,e)=>(Y(),Z(x,null,[o(h(M),{rules:F,onRegister:h(R),schema:d},null,8,["rules","onRegister","schema"]),o(j,{modelValue:r.value,"onUpdate:modelValue":e[0]||(e[0]=n=>r.value=n),onConfirm:B},null,8,["modelValue"])],64))}});export{be as _}; +var D=Object.defineProperty;var E=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var k=(i,s,a)=>s in i?D(i,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[s]=a,S=(i,s)=>{for(var a in s||(s={}))O.call(s,a)&&k(i,a,s[a]);if(E)for(var a of E(s))N.call(s,a)&&k(i,a,s[a]);return i};var c=(i,s,a)=>new Promise((w,f)=>{var g=t=>{try{r(a.next(t))}catch(d){f(d)}},C=t=>{try{r(a.throw(t))}catch(d){f(d)}},r=t=>t.done?w(t.value):Promise.resolve(t.value).then(g,C);r((a=a.apply(i,s)).next())});import{F as M}from"./Form-BTUMYN5B.js";import{u as U}from"./useForm-B3urKjox.js";import{u as W}from"./useValidator-Nt61Jv1p.js";import{g as $}from"./index-iuvt-R6t.js";import"./index-wnyZ7Zvr.js";/* empty css */import"./IconPicker-DRoe2BX4.js";/* empty css *//* empty css *//* empty css */import{_ as j}from"./AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js";import{_ as q}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{ae as G,af as v,A as _,C as K,a3 as I,al as H,d as J}from"./element-plus-CUBv5pjL.js";import{y as Q,r as V,W as L,u as h,O as o,a4 as y,I as x,w as X,z as Y,A as Z}from"./vue-chunks-ChjHxF1G.js";const be=Q({__name:"Write",props:{currentRow:{type:Object,default:()=>null}},setup(i,{expose:s}){const{required:a}=W(),w=i,f=l=>c(this,null,function*(){var n;const e=yield m();p({permissionList:(n=e==null?void 0:e.permissionList)==null?void 0:n.filter(P=>P.value!==l.value)})}),g=l=>c(this,null,function*(){t.value=S({},l)}),C=()=>c(this,null,function*(){var n;const l=yield m(),e=(n=l==null?void 0:l.permissionList)==null?void 0:n.findIndex(P=>P.id===t.value.id);e!==-1&&(l.permissionList[e]=S({},t.value),t.value=null)}),r=V(!1),t=V(null),d=L([{field:"type",label:"菜单类型",component:"RadioButton",value:0,colProps:{span:24},componentProps:{options:[{label:"目录",value:0},{label:"菜单",value:1}],on:{change:l=>c(this,null,function*(){const e=yield m();l===1?(u([{field:"component",path:"componentProps.disabled",value:!1}]),p({component:h(b)})):(u([{field:"component",path:"componentProps.disabled",value:!0}]),e.parentId===void 0?p({component:"#"}):p({component:"##"}))})}}},{field:"parentId",label:"父级菜单",component:"TreeSelect",componentProps:{nodeKey:"id",props:{label:"title",value:"id",children:"children"},highlightCurrent:!0,expandOnClickNode:!1,checkStrictly:!0,checkOnClickNode:!0,clearable:!0,on:{change:l=>c(this,null,function*(){var n;const e=yield m();l&&e.type===0?p({component:"##"}):!l&&e.type===0?p({component:"#"}):e.type===1&&p({component:(n=h(b))!=null?n:""})})}},optionApi:()=>c(this,null,function*(){return(yield $()).data.list||[]})},{field:"meta.title",label:"菜单名称",component:"Input"},{field:"component",label:"组件",component:"Input",value:"#",componentProps:{disabled:!0,placeholder:"#为顶级目录,##为子目录",on:{change:l=>{b.value=l}}}},{field:"name",label:"组件名称",component:"Input"},{field:"meta.icon",label:"图标",component:"Input"},{field:"path",label:"路径",component:"Input"},{field:"meta.activeMenu",label:"高亮菜单",component:"Input"},{field:"status",label:"状态",component:"Select",componentProps:{options:[{label:"禁用",value:0},{label:"启用",value:1}]}},{field:"permissionList",label:"按钮权限",component:"CheckboxGroup",colProps:{span:24},formItemProps:{slots:{default:l=>o(x,null,[o(q,{class:"m-t-5px",type:"primary",size:"small",onClick:()=>r.value=!0},{default:()=>[y("添加权限")]}),o(G,{data:l==null?void 0:l.permissionList},{default:()=>[o(v,{type:"index",prop:"id"},null),o(v,{prop:"value",label:"Value"},{default:({row:e})=>t.value&&t.value.id===e.id?o(_,{modelValue:t.value.value,"onUpdate:modelValue":n=>t.value.value=n,size:"small"},null):o("span",null,[e.value])}),o(v,{prop:"label",label:"Label"},{default:({row:e})=>t.value&&t.value.id===e.id?o(_,{modelValue:t.value.label,"onUpdate:modelValue":n=>t.value.label=n,size:"small"},null):o(K,{class:"mr-1",key:e.value},{default:()=>[e.label]})}),o(v,{label:"Operations",width:"180"},{default:({row:e})=>t.value&&t.value.id===e.id?o(I,{size:"small",type:"primary",onClick:C},{default:()=>[y("确定")]}):o(x,null,[o(I,{size:"small",type:"primary",onClick:()=>g(e)},{default:()=>[y("编辑")]}),o(H,{title:"Are you sure to delete this?",onConfirm:()=>f(e)},{reference:()=>o(I,{size:"small",type:"danger"},{default:()=>[y("删除")]})})])})]})])}}},{field:"meta.hidden",label:"是否隐藏",component:"Switch"},{field:"meta.alwaysShow",label:"是否一直显示",component:"Switch"},{field:"meta.noCache",label:"是否清除缓存",component:"Switch"},{field:"meta.breadcrumb",label:"是否显示面包屑",component:"Switch"},{field:"meta.affix",label:"是否固定在标签页",component:"Switch"},{field:"meta.noTagsView",label:"是否隐藏标签页",component:"Switch"},{field:"meta.canTo",label:"是否可跳转",component:"Switch"}]),F=L({component:[a()],path:[a()],"meta.title":[a()]}),{formRegister:R,formMethods:z}=U(),{setValues:p,getFormData:m,getElFormExpose:A,setSchema:u}=z,T=()=>c(this,null,function*(){const l=yield A();if(yield l==null?void 0:l.validate().catch(n=>{}))return yield m()}),b=V("");X(()=>w.currentRow,l=>{if(!l)return;const e=J(l);b.value=e.type===1?e.component:"",e.parentId===0?u([{field:"component",path:"componentProps.disabled",value:!0}]):u([{field:"component",path:"componentProps.disabled",value:!1}]),e.type===1?u([{field:"component",path:"componentProps.disabled",value:!1}]):u([{field:"component",path:"componentProps.disabled",value:!0}]),p(e)},{deep:!0,immediate:!0}),s({submit:T});const B=l=>c(this,null,function*(){const e=yield m();p({permissionList:[...(e==null?void 0:e.permissionList)||[],l]})});return(l,e)=>(Y(),Z(x,null,[o(h(M),{rules:F,onRegister:h(R),schema:d},null,8,["rules","onRegister","schema"]),o(j,{modelValue:r.value,"onUpdate:modelValue":e[0]||(e[0]=n=>r.value=n),onConfirm:B},null,8,["modelValue"])],64))}});export{be as _}; diff --git a/assets/cssMode-Dfh5t4w7.js b/assets/cssMode-BcjICpkS.js similarity index 99% rename from assets/cssMode-Dfh5t4w7.js rename to assets/cssMode-BcjICpkS.js index 7234d555..e76aec00 100644 --- a/assets/cssMode-Dfh5t4w7.js +++ b/assets/cssMode-BcjICpkS.js @@ -1,4 +1,4 @@ -import{m as et}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as et}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/el-radio-button-BNBtg-nU.js b/assets/el-radio-button-DcVH7Drv.js similarity index 70% rename from assets/el-radio-button-BNBtg-nU.js rename to assets/el-radio-button-DcVH7Drv.js index bbaf5cfa..1330ae10 100644 --- a/assets/el-radio-button-BNBtg-nU.js +++ b/assets/el-radio-button-DcVH7Drv.js @@ -1 +1 @@ -import{h as u}from"./index-DHbc4UQl.js";const f=(n,r="default",t)=>{if(!n||!Reflect.has(n,r))return null;if(!u(n[r]))return console.error(`${r} is not a function!`),null;const e=n[r];return e?e(t):null};export{f as g}; +import{h as u}from"./index-wnyZ7Zvr.js";const f=(n,r="default",t)=>{if(!n||!Reflect.has(n,r))return null;if(!u(n[r]))return console.error(`${r} is not a function!`),null;const e=n[r];return e?e(t):null};export{f as g}; diff --git a/assets/freemarker2-CWHnVJ6v.js b/assets/freemarker2-Du7UvBnj.js similarity index 98% rename from assets/freemarker2-CWHnVJ6v.js rename to assets/freemarker2-Du7UvBnj.js index c8a2fa79..0102dfc7 100644 --- a/assets/freemarker2-CWHnVJ6v.js +++ b/assets/freemarker2-Du7UvBnj.js @@ -1,4 +1,4 @@ -var $=Object.defineProperty,v=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var f=(t,n,_)=>n in t?$(t,n,{enumerable:!0,configurable:!0,writable:!0,value:_}):t[n]=_,i=(t,n)=>{for(var _ in n||(n={}))D.call(n,_)&&f(t,_,n[_]);if(m)for(var _ of m(n))B.call(n,_)&&f(t,_,n[_]);return t},s=(t,n)=>v(t,E(n));import{m as C}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +var $=Object.defineProperty,v=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var f=(t,n,_)=>n in t?$(t,n,{enumerable:!0,configurable:!0,writable:!0,value:_}):t[n]=_,i=(t,n)=>{for(var _ in n||(n={}))D.call(n,_)&&f(t,_,n[_]);if(m)for(var _ of m(n))B.call(n,_)&&f(t,_,n[_]);return t},s=(t,n)=>v(t,E(n));import{m as C}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/handlebars-CmWypNxw.js b/assets/handlebars-Bwish1Ot.js similarity index 96% rename from assets/handlebars-CmWypNxw.js rename to assets/handlebars-Bwish1Ot.js index 59a10f34..e6d0ff1d 100644 --- a/assets/handlebars-CmWypNxw.js +++ b/assets/handlebars-Bwish1Ot.js @@ -1,4 +1,4 @@ -import{m as i}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as i}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/html-D-endfds.js b/assets/html-BAsTLnFe.js similarity index 95% rename from assets/html-D-endfds.js rename to assets/html-BAsTLnFe.js index e62065e9..3963427d 100644 --- a/assets/html-D-endfds.js +++ b/assets/html-BAsTLnFe.js @@ -1,4 +1,4 @@ -import{m as p}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as p}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/htmlMode-CiORHnUy.js b/assets/htmlMode-PXBApk8t.js similarity index 99% rename from assets/htmlMode-CiORHnUy.js rename to assets/htmlMode-PXBApk8t.js index a09893e4..f59f6223 100644 --- a/assets/htmlMode-CiORHnUy.js +++ b/assets/htmlMode-PXBApk8t.js @@ -1,4 +1,4 @@ -import{m as lt}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as lt}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/index-547q2w5n.css b/assets/index-547q2w5n.css deleted file mode 100644 index 0aee14e0..00000000 --- a/assets/index-547q2w5n.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";:root{--login-bg-color: #293146;--left-menu-max-width: 200px;--left-menu-min-width: 64px;--left-menu-bg-color: #001529;--left-menu-bg-light-color: #0f2438;--left-menu-bg-active-color: var(--el-color-primary);--left-menu-text-color: #bfcbd9;--left-menu-text-active-color: #fff;--left-menu-collapse-bg-active-color: var(--el-color-primary);--logo-height: 50px;--logo-title-text-color: #fff;--top-header-bg-color: "#fff";--top-header-text-color: "inherit";--top-header-hover-color: #f6f6f6;--top-tool-height: var(--logo-height);--top-tool-p-x: 0;--tags-view-height: 35px;--tab-menu-max-width: 80px;--tab-menu-min-width: 30px;--tab-menu-collapse-height: 36px;--app-content-padding: 20px;--app-content-bg-color: #f5f7f9;--app-footer-height: 50px;--transition-time-02: .2s}.dark{--app-content-bg-color: var(--el-bg-color)}html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(50.8,116.6,184.5);--el-color-primary-light-5:rgb(42,89,137.5);--el-color-primary-light-7:rgb(33.2,61.4,90.5);--el-color-primary-light-8:rgb(28.8,47.6,67);--el-color-primary-light-9:rgb(24.4,33.8,43.5);--el-color-primary-dark-2:rgb(102.2,177.4,255);--el-color-success:#67c23a;--el-color-success-light-3:rgb(78.1,141.8,46.6);--el-color-success-light-5:rgb(61.5,107,39);--el-color-success-light-7:rgb(44.9,72.2,31.4);--el-color-success-light-8:rgb(36.6,54.8,27.6);--el-color-success-light-9:rgb(28.3,37.4,23.8);--el-color-success-dark-2:rgb(133.4,206.2,97.4);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(167,119.4,48);--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:rgb(83,62.6,32);--el-color-warning-light-8:rgb(62,48.4,28);--el-color-warning-light-9:rgb(41,34.2,24);--el-color-warning-dark-2:rgb(235,180.6,99);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(177.5,81.6,81.6);--el-color-danger-light-5:rgb(132.5,64,64);--el-color-danger-light-7:rgb(87.5,46.4,46.4);--el-color-danger-light-8:rgb(65,37.6,37.6);--el-color-danger-light-9:rgb(42.5,28.8,28.8);--el-color-danger-dark-2:rgb(247,137.4,137.4);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(177.5,81.6,81.6);--el-color-error-light-5:rgb(132.5,64,64);--el-color-error-light-7:rgb(87.5,46.4,46.4);--el-color-error-light-8:rgb(65,37.6,37.6);--el-color-error-light-9:rgb(42.5,28.8,28.8);--el-color-error-dark-2:rgb(247,137.4,137.4);--el-color-info:#909399;--el-color-info-light-3:rgb(106.8,108.9,113.1);--el-color-info-light-5:rgb(82,83.5,86.5);--el-color-info-light-7:rgb(57.2,58.1,59.9);--el-color-info-light-8:rgb(44.8,45.4,46.6);--el-color-info-light-9:rgb(32.4,32.7,33.3);--el-color-info-dark-2:rgb(166.2,168.6,173.4);--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.36),0px 8px 20px rgba(0,0,0,.72);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.72);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.72);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.72),0px 12px 32px #000000,0px 8px 16px -8px #000000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#E5EAF3;--el-text-color-regular:#CFD3DC;--el-text-color-secondary:#A3A6AD;--el-text-color-placeholder:#8D9095;--el-text-color-disabled:#6C6E72;--el-border-color-darker:#636466;--el-border-color-dark:#58585B;--el-border-color:#4C4D4F;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2B2B2C;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393A;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1D1D1D;--el-fill-color-extra-light:#191919;--el-fill-color-blank:transparent;--el-mask-color:rgba(0,0,0,.8);--el-mask-color-extra-light:rgba(0,0,0,.3)}html.dark .el-button{--el-button-disabled-text-color:rgba(255,255,255,.5)}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}.el-popup-parent--hidden{width:100%!important}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.\!absolute{position:absolute!important}.\!fixed{position:fixed!important}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{top:0;right:0;bottom:0;left:0}.\!left-\[var\(--left-menu-max-width\)\]{left:var(--left-menu-max-width)!important}.\!left-\[var\(--left-menu-min-width\)\]{left:var(--left-menu-min-width)!important}.\!left-\[var\(--tab-menu-max-width\)\]{left:var(--tab-menu-max-width)!important}.\!left-\[var\(--tab-menu-max-width\)\+var\(--left-menu-max-width\)\]{left:var(--tab-menu-max-width)+var(--left-menu-max-width)!important}.\!left-\[var\(--tab-menu-min-width\)\]{left:var(--tab-menu-min-width)!important}.\!left-\[var\(--tab-menu-min-width\)\+var\(--left-menu-max-width\)\]{left:var(--tab-menu-min-width)+var(--left-menu-max-width)!important}.\!left-0{left:0!important}.bottom-0{bottom:0}.bottom-5{bottom:1.25rem}.left-\[10\%\]{left:10%}.left-\[50\%\],.left-1\/2{left:50%}.left-\[var\(--left-menu-max-width\)\]{left:var(--left-menu-max-width)}.left-\[var\(--left-menu-min-width\)\]{left:var(--left-menu-min-width)}.left-\[var\(--tab-menu-max-width\)\]{left:var(--tab-menu-max-width)}.left-\[var\(--tab-menu-min-width\)\]{left:var(--tab-menu-min-width)}.left-0{left:0}.left-5{left:1.25rem}.right-0{right:0}.right-15px{right:15px}.right-40px{right:40px}.top-\[45\%\]{top:45%}.top-\[50\%\]{top:50%}.top-\[calc\(var\(--top-tool-height\)\+1px\)\]{top:calc(var(--top-tool-height) + 1px)}.top-\[var\(--logo-height\)\]{top:var(--logo-height)}.top-\[var\(--logo-height\)\+1px\]{top:var(--logo-height)+1px}.top-0{top:0}.top-1px{top:1px}.top-40px{top:40px}.top-5{top:1.25rem}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.z-10{z-index:10}.z-3000{z-index:3000}.z-99{z-index:99}.grid{display:grid}.m-auto{margin:auto}.m3{margin:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10px{margin-top:10px;margin-bottom:10px}.m-t-5px,.mt-5px{margin-top:5px}.mb-10px{margin-bottom:10px}.mb-12px{margin-bottom:12px}.mb-20px{margin-bottom:20px}.mb-4{margin-bottom:1rem}.mb-40px{margin-bottom:40px}.mb-5px{margin-bottom:5px}.mb-5px\!{margin-bottom:5px!important}.mb-6px{margin-bottom:6px}.ml-\[10px\],.ml-10px{margin-left:10px}.ml-\[var\(--left-menu-max-width\)\]{margin-left:var(--left-menu-max-width)}.ml-12px{margin-left:12px}.ml-2{margin-left:.5rem}.ml-20px{margin-left:20px}.ml-30px{margin-left:30px}.ml-5px{margin-left:5px}.ml-8px\!{margin-left:8px!important}.ml-auto{margin-left:auto}.mr-\[5px\],.mr-5px{margin-right:5px}.mr-1{margin-right:.25rem}.mr-10px{margin-right:10px}.mr-2{margin-right:.5rem}.mr-20px{margin-right:20px}.mr-5{margin-right:1.25rem}.mr-auto{margin-right:auto}.mt-\[calc\(var\(--logo-height\)\+1px\)\]{margin-top:calc(var(--logo-height) + 1px)}.mt-\[calc\(var\(--tags-view-height\)\)\]{margin-top:calc(var(--tags-view-height))}.mt-\[calc\(var\(--top-tool-height\)\+var\(--tags-view-height\)\)\]{margin-top:calc(var(--top-tool-height) + var(--tags-view-height))}.mt-\[var\(--logo-height\)\]{margin-top:var(--logo-height)}.mt-\[var\(--tags-view-height\)\]{margin-top:var(--tags-view-height)}.mt-10px{margin-top:10px}.mt-12px{margin-top:12px}.mt-15px{margin-top:15px}.mt-2{margin-top:.5rem}.mt-20px{margin-top:20px}.mt-2px{margin-top:2px}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.box-border{box-sizing:border-box}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.\!h-\[calc\(100\%-var\(--logo-height\)\)\]{height:calc(100% - var(--logo-height))!important}.\!h-\[calc\(100\%-var\(--tab-menu-collapse-height\)-1px\)\]{height:calc(100% - var(--tab-menu-collapse-height) - 1px)!important}.\!h-\[calc\(100\%-var\(--tags-view-height\)\)\]{height:calc(100% - var(--tags-view-height))!important}.\!h-\[calc\(100\%-var\(--top-tool-height\)-var\(--tags-view-height\)\)\]{height:calc(100% - var(--top-tool-height) - var(--tags-view-height))!important}.\!h-\[var\(--logo-height\)\]{height:var(--logo-height)!important}.\!h-54px{height:54px!important}.\!h-full{height:100%!important}.\!min-h-\[calc\(100\%-var\(--app-content-padding\)-var\(--app-content-padding\)-var\(--app-footer-height\)-var\(--tags-view-height\)-var\(--top-tool-height\)\)\]{min-height:calc(100% - var(--app-content-padding) - var(--app-content-padding) - var(--app-footer-height) - var(--tags-view-height) - var(--top-tool-height))!important}.\!min-h-\[calc\(100\%-var\(--app-content-padding\)-var\(--app-content-padding\)-var\(--app-footer-height\)-var\(--tags-view-height\)\)\]{min-height:calc(100% - var(--app-content-padding) - var(--app-content-padding) - var(--app-footer-height) - var(--tags-view-height))!important}.\!min-h-\[calc\(100\%-var\(--app-content-padding\)-var\(--app-content-padding\)-var\(--app-footer-height\)\)\]{min-height:calc(100% - var(--app-content-padding) - var(--app-content-padding) - var(--app-footer-height))!important}.\!min-h-\[calc\(100\%-var\(--app-footer-height\)-var\(--app-content-padding\)-var\(--app-content-padding\)-var\(--tags-view-height\)\)\]{min-height:calc(100% - var(--app-footer-height) - var(--app-content-padding) - var(--app-content-padding) - var(--tags-view-height))!important}.\!min-h-\[calc\(100\%-var\(--app-footer-height\)-var\(--app-content-padding\)-var\(--app-content-padding\)\)\]{min-height:calc(100% - var(--app-footer-height) - var(--app-content-padding) - var(--app-content-padding))!important}.\!min-h-\[calc\(100\%-var\(--tags-view-height\)-var\(--app-content-padding\)-var\(--app-content-padding\)-var\(--app-footer-height\)\)\]{min-height:calc(100% - var(--tags-view-height) - var(--app-content-padding) - var(--app-content-padding) - var(--app-footer-height))!important}.\!min-h-\[calc\(100\%-var\(--tags-view-height\)-var\(--app-content-padding\)-var\(--app-content-padding\)-var\(--top-tool-height\)-var\(--app-footer-height\)\)\]{min-height:calc(100% - var(--tags-view-height) - var(--app-content-padding) - var(--app-content-padding) - var(--top-tool-height) - var(--app-footer-height))!important}.\!w-\[var\(--left-menu-max-width\)\]{width:var(--left-menu-max-width)!important}.\!w-0{width:0!important}.\!w-full{width:100%!important}.h-\[100\%\],.h-100\%,.h-full{height:100%}.h-\[calc\(100\%-1px-var\(--logo-height\)\)\]{height:calc(100% - 1px - var(--logo-height))}.h-\[calc\(100\%-50px\)\]\!{height:calc(100% - 50px)!important}.h-\[calc\(100\%-60px\)\]{height:calc(100% - 60px)}.h-\[calc\(100\%-var\(--logo-height\)\)\]{height:calc(100% - var(--logo-height))}.h-\[calc\(100\%-var\(--tags-view-height\)-var\(--top-tool-height\)\)\]{height:calc(100% - var(--tags-view-height) - var(--top-tool-height))}.h-\[calc\(100\%-var\(--top-tool-height\)\)\]{height:calc(100% - var(--top-tool-height))}.h-\[calc\(var\(--logo-height\)-10px\)\]{height:calc(var(--logo-height) - 10px)}.h-\[var\(--app-footer-height\)\]{height:var(--app-footer-height)}.h-\[var\(--tab-menu-collapse-height\)\]{height:var(--tab-menu-collapse-height)}.h-\[var\(--tags-view-height\)\]{height:var(--tags-view-height)}.h-\[var\(--top-tool-height\)\]{height:var(--top-tool-height)}.h-16{height:4rem}.h-2\/5{height:40%}.h-20px{height:20px}.h-28px{height:28px}.h-35px{height:35px}.h-40px{height:40px}.h-44px{height:44px}.h-48px{height:48px}.h-50px{height:50px}.h-54px{height:54px}.h-60vh{height:60vh}.h-6px{height:6px}.h-70px{height:70px}.h-auto{height:auto}.h-screen{height:100vh}.max-w-200px{max-width:200px}.max-w-full{max-width:100%}.min-h-100vh{min-height:100vh}.min-w-90px{min-width:90px}.w-\[100\%\],.w-100\%,.w-full{width:100%}.w-\[33\%\]{width:33%}.w-\[calc\(100\%-2px\)\]{width:calc(100% - 2px)}.w-\[calc\(100\%-var\(--app-content-padding\)-var\(--app-content-padding\)\)\]{width:calc(100% - var(--app-content-padding) - var(--app-content-padding))}.w-\[calc\(100\%-var\(--left-menu-max-width\)\)\]{width:calc(100% - var(--left-menu-max-width))}.w-\[calc\(100\%-var\(--left-menu-min-width\)\)\]{width:calc(100% - var(--left-menu-min-width))}.w-\[calc\(100\%-var\(--tab-menu-max-width\)-var\(--left-menu-max-width\)\)\]{width:calc(100% - var(--tab-menu-max-width) - var(--left-menu-max-width))}.w-\[calc\(100\%-var\(--tab-menu-max-width\)\)\]{width:calc(100% - var(--tab-menu-max-width))}.w-\[calc\(100\%-var\(--tab-menu-min-width\)-var\(--left-menu-max-width\)\)\]{width:calc(100% - var(--tab-menu-min-width) - var(--left-menu-max-width))}.w-\[calc\(100\%-var\(--tab-menu-min-width\)\)\]{width:calc(100% - var(--tab-menu-min-width))}.w-\[calc\(var\(--logo-height\)-10px\)\]{width:calc(var(--logo-height) - 10px)}.w-\[calc\(var\(--logo-height\)-25px\)\]{width:calc(var(--logo-height) - 25px)}.w-\[var\(--left-menu-max-width\)\]{width:var(--left-menu-max-width)}.w-\[var\(--left-menu-min-width\)\]{width:var(--left-menu-min-width)}.w-\[var\(--tab-menu-max-width\)\]{width:var(--tab-menu-max-width)}.w-\[var\(--tab-menu-min-width\)\]{width:var(--tab-menu-min-width)}.w-\[var\(--tags-view-height\)\]{width:var(--tags-view-height)}.w-120px{width:120px}.w-2\/5{width:40%}.w-20px{width:20px}.w-250px{width:250px}.w-30\%{width:30%}.w-30px{width:30px}.w-350px{width:350px}.w-35px{width:35px}.w-40px{width:40px}.w-44px{width:44px}.w-48px{width:48px}.w-56px{width:56px}.w-70px{width:70px}.w-screen{width:100vw}.flex{display:flex}.flex-\[2\]{flex:2}.flex-\[3\]{flex:3}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.table{display:table}.default-table:default{display:table}.translate-x-1\/2{--un-translate-x:50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-\[-50\%\]{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer{cursor:pointer}.cursor-move{cursor:move}.resize{resize:both}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-10px>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(10px * calc(1 - var(--un-space-x-reverse)));margin-right:calc(10px * var(--un-space-x-reverse))}.space-x-14px>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(14px * calc(1 - var(--un-space-x-reverse)));margin-right:calc(14px * var(--un-space-x-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.b,.border,.border-1,.border-1px,.dark .dark\:border-1,.dark .dark\:border-1px{border-width:1px}.border-0{border-width:0px}.border-2px{border-width:2px}.b-b-1,.border-b-1px{border-bottom-width:1px}.border-r-1px{border-right-width:1px}.border-\[\#fff\]{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.border-\[var\(--el-border-color\)\],.dark .dark\:border-\[var\(--el-border-color\)\]{border-color:var(--el-border-color)}.border-\[var\(--el-color-primary\)\]{border-color:var(--el-color-primary)}.border-gray-300{--un-border-opacity:1;border-color:rgb(209 213 219 / var(--un-border-opacity))}.hover\:border-color-\[var\(--el-color-primary\)\]\!:hover{border-color:var(--el-color-primary)!important}.border-b-\[var\(--el-border-color-lighter\)\]{border-bottom-color:var(--el-border-color-lighter)}.border-r-\[var\(--el-border-color-lighter\)\]{border-right-color:var(--el-border-color-lighter)}.rounded-\[50\%\]{border-radius:50%}.rounded-2px{border-radius:2px}.rounded-6px{border-radius:6px}.rounded-full{border-radius:9999px}.border-solid,.dark .dark\:border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.border-r-solid{border-right-style:solid}.bg-\[\#fff\]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-\[var\(--app-content-bg-color\)\]{background-color:var(--app-content-bg-color)}.bg-\[var\(--el-bg-color\)\],.dark .dark\:bg-\[var\(--el-bg-color\)\]{background-color:var(--el-bg-color)}.bg-\[var\(--el-color-black\)\]{background-color:var(--el-color-black)}.bg-\[var\(--el-color-primary-light-9\)\]{background-color:var(--el-color-primary-light-9)}.bg-\[var\(--el-color-primary\)\]{background-color:var(--el-color-primary)}.bg-\[var\(--el-color-white\)\]{background-color:var(--el-color-white)}.bg-\[var\(--el-fill-color-light\)\]{background-color:var(--el-fill-color-light)}.bg-\[var\(--el-text-color-regular\)\]{background-color:var(--el-text-color-regular)}.bg-\[var\(--left-menu-bg-color\)\]{background-color:var(--left-menu-bg-color)}.bg-\[var\(--top-header-bg-color\)\]{background-color:var(--top-header-bg-color)}.bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-gray-300{--un-bg-opacity:1;background-color:rgb(209 213 219 / var(--un-bg-opacity))}.bg-gray-500{--un-bg-opacity:1;background-color:rgb(107 114 128 / var(--un-bg-opacity))}.dark .dark\:bg-\[var\(--login-bg-color\)\]{background-color:var(--login-bg-color)}.bg-opacity-20{--un-bg-opacity:.2}.p-\[var\(--app-content-padding\)\]{padding:var(--app-content-padding)}.p-16px{padding:16px}.p-20px{padding:20px}.p-30px{padding:30px}.px{padding-left:1rem;padding-right:1rem}.px-\[var\(--top-tool-p-x\)\]{padding-left:var(--top-tool-p-x);padding-right:var(--top-tool-p-x)}.px-10px{padding-left:10px;padding-right:10px}.px-2px{padding-left:2px;padding-right:2px}.px-8px{padding-left:8px;padding-right:8px}.py-11px{padding-top:11px;padding-bottom:11px}.py-12px{padding-top:12px;padding-bottom:12px}.\!pb-\[calc\(var\(--tags-view-height\)\+var\(--app-footer-height\)\)\]{padding-bottom:calc(var(--tags-view-height) + var(--app-footer-height))!important}.\!pl-0{padding-left:0!important}.\!pr-15px{padding-right:15px!important}.pb-\[var\(--app-footer-height\)\]{padding-bottom:var(--app-footer-height)}.pb-20px{padding-bottom:20px}.pb-40px{padding-bottom:40px}.pl-\[5px\],.pl-5px{padding-left:5px}.pl-\[var\(--el-popover-padding\)\]{padding-left:var(--el-popover-padding)}.pl-15px{padding-left:15px}.pl-20px{padding-left:20px}.pl-8px{padding-left:8px}.pla{padding-left:auto}.pr-\[var\(--el-popover-padding\)\]{padding-right:var(--el-popover-padding)}.pr-15px{padding-right:15px}.pr-16px{padding-right:16px}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pie{padding-inline-end:1rem}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:1.5rem}.font-size-12px,.text-12px{font-size:12px}.text-14px,.text-size-14px{font-size:14px}.font-size-16px,.text-16px{font-size:16px}.text-20px{font-size:20px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-30px{font-size:30px}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-\[var\(--el-color-info\)\]{color:var(--el-color-info)}.text-\[var\(--el-color-primary\)\]{color:var(--el-color-primary)}.text-\[var\(--el-text-color-placeholder\)\]{color:var(--el-text-color-placeholder)}.text-\[var\(--logo-title-text-color\)\]{color:var(--logo-title-text-color)}.text-\[var\(--top-header-text-color\)\]{color:var(--top-header-text-color)}.text-gray-300{--un-text-opacity:1;color:rgb(209 213 219 / var(--un-text-opacity))}.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-\[\#fff\],.color-\#fff,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.color-\[var\(--el-text-color-primary\)\]{color:var(--el-text-color-primary)}.color-\[var\(--el-text-color-regular\)\]{color:var(--el-text-color-regular)}.font-700,.font-bold{font-weight:700}.font-normal{font-weight:400}.leading-\[var\(--app-footer-height\)\]{line-height:var(--app-footer-height)}.leading-\[var\(--tab-menu-collapse-height\)\]{line-height:var(--tab-menu-collapse-height)}.leading-20px{line-height:20px}.underline{text-decoration-line:underline}.decoration-none{text-decoration:none}.opacity-30{opacity:.3}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-1px{outline-width:1px}.outline-\[var\(--el-border-color-lighter\)\]{outline-color:var(--el-border-color-lighter)}.outline-solid{outline-style:solid}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\!micro-build-text-r{color:red!important}.micro-build-text-r{color:red}.overflow-ellipsis{text-overflow:ellipsis}.custom-hover{display:flex;height:100%;padding:1px 10px 0;cursor:pointer;align-items:center;transition:background var(--transition-time-02)}.custom-hover:hover{background-color:var(--top-header-hover-color)}.dark .custom-hover:hover{background-color:var(--el-bg-color-overlay)}.layout-border__right:after{content:"";position:absolute;top:0;right:0;width:1px;height:100%;background-color:var(--el-border-color);z-index:3}.layout-border__top:before{content:"";position:absolute;top:0;left:0;width:100%;height:1px;background-color:var(--el-border-color);z-index:3}.layout-border__bottom:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--el-border-color);z-index:3}@media (max-width: 1279.9px){.lt-xl\:hidden{display:none}.lt-xl\:rounded-3xl{border-radius:1.5rem}.light .lt-xl\:light\:bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.lt-xl\:bg-\[var\(--login-bg-color\)\]{background-color:var(--login-bg-color)}.lt-xl\:px-10px{padding-left:10px;padding-right:10px}}@media (max-width: 1023.9px){.\div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.el-overlay.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0} diff --git a/assets/index-DVP3NWK5.js b/assets/index-B_-BHM8A.js similarity index 86% rename from assets/index-DVP3NWK5.js rename to assets/index-B_-BHM8A.js index fad5acbe..1333299d 100644 --- a/assets/index-DVP3NWK5.js +++ b/assets/index-B_-BHM8A.js @@ -1 +1 @@ -import{r as t}from"./index-DHbc4UQl.js";const s=()=>t.get({url:"/mock/department/list"}),a=e=>t.get({url:"/mock/department/users",params:e}),n=e=>t.post({url:"/mock/department/user/delete",data:{ids:e}}),p=e=>t.post({url:"/mock/department/user/save",data:e}),o=e=>t.post({url:"/mock/department/save",data:e}),m=e=>t.post({url:"/mock/department/delete",data:{ids:e}}),u=e=>t.get({url:"/mock/department/table/list",params:e});export{u as a,a as b,n as c,m as d,p as e,s as g,o as s}; +import{r as t}from"./index-wnyZ7Zvr.js";const s=()=>t.get({url:"/mock/department/list"}),a=e=>t.get({url:"/mock/department/users",params:e}),n=e=>t.post({url:"/mock/department/user/delete",data:{ids:e}}),p=e=>t.post({url:"/mock/department/user/save",data:e}),o=e=>t.post({url:"/mock/department/save",data:e}),m=e=>t.post({url:"/mock/department/delete",data:{ids:e}}),u=e=>t.get({url:"/mock/department/table/list",params:e});export{u as a,a as b,n as c,m as d,p as e,s as g,o as s}; diff --git a/assets/index-BxYrjAxU.js b/assets/index-BxYrjAxU.js new file mode 100644 index 00000000..f611e476 --- /dev/null +++ b/assets/index-BxYrjAxU.js @@ -0,0 +1 @@ +import{r as e}from"./index-wnyZ7Zvr.js";const t=()=>e.get({url:"/mock/role/table"});export{t as g}; diff --git a/assets/index-CjJH7ccC.js b/assets/index-CjJH7ccC.js deleted file mode 100644 index 53f04aa9..00000000 --- a/assets/index-CjJH7ccC.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./index-DHbc4UQl.js";const r=()=>t.get({url:"/mock/menu/list"});export{r as g}; diff --git a/assets/index-D9LF1rJ-.css b/assets/index-D9LF1rJ-.css new file mode 100644 index 00000000..e347b979 --- /dev/null +++ b/assets/index-D9LF1rJ-.css @@ -0,0 +1 @@ +@charset "UTF-8";:root{--login-bg-color: #293146;--left-menu-max-width: 200px;--left-menu-min-width: 64px;--left-menu-bg-color: #001529;--left-menu-bg-light-color: #0f2438;--left-menu-bg-active-color: var(--el-color-primary);--left-menu-text-color: #bfcbd9;--left-menu-text-active-color: #fff;--left-menu-collapse-bg-active-color: var(--el-color-primary);--logo-height: 50px;--logo-title-text-color: #fff;--top-header-bg-color: "#fff";--top-header-text-color: "inherit";--top-header-hover-color: #f6f6f6;--top-tool-height: var(--logo-height);--top-tool-p-x: 0;--tags-view-height: 35px;--tab-menu-max-width: 80px;--tab-menu-min-width: 30px;--tab-menu-collapse-height: 36px;--app-content-padding: 20px;--app-content-bg-color: #f5f7f9;--app-footer-height: 50px;--transition-time-02: .2s}.dark{--app-content-bg-color: var(--el-bg-color)}*,:after,:before{margin:0;padding:0;box-sizing:border-box}html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(50.8,116.6,184.5);--el-color-primary-light-5:rgb(42,89,137.5);--el-color-primary-light-7:rgb(33.2,61.4,90.5);--el-color-primary-light-8:rgb(28.8,47.6,67);--el-color-primary-light-9:rgb(24.4,33.8,43.5);--el-color-primary-dark-2:rgb(102.2,177.4,255);--el-color-success:#67c23a;--el-color-success-light-3:rgb(78.1,141.8,46.6);--el-color-success-light-5:rgb(61.5,107,39);--el-color-success-light-7:rgb(44.9,72.2,31.4);--el-color-success-light-8:rgb(36.6,54.8,27.6);--el-color-success-light-9:rgb(28.3,37.4,23.8);--el-color-success-dark-2:rgb(133.4,206.2,97.4);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(167,119.4,48);--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:rgb(83,62.6,32);--el-color-warning-light-8:rgb(62,48.4,28);--el-color-warning-light-9:rgb(41,34.2,24);--el-color-warning-dark-2:rgb(235,180.6,99);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(177.5,81.6,81.6);--el-color-danger-light-5:rgb(132.5,64,64);--el-color-danger-light-7:rgb(87.5,46.4,46.4);--el-color-danger-light-8:rgb(65,37.6,37.6);--el-color-danger-light-9:rgb(42.5,28.8,28.8);--el-color-danger-dark-2:rgb(247,137.4,137.4);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(177.5,81.6,81.6);--el-color-error-light-5:rgb(132.5,64,64);--el-color-error-light-7:rgb(87.5,46.4,46.4);--el-color-error-light-8:rgb(65,37.6,37.6);--el-color-error-light-9:rgb(42.5,28.8,28.8);--el-color-error-dark-2:rgb(247,137.4,137.4);--el-color-info:#909399;--el-color-info-light-3:rgb(106.8,108.9,113.1);--el-color-info-light-5:rgb(82,83.5,86.5);--el-color-info-light-7:rgb(57.2,58.1,59.9);--el-color-info-light-8:rgb(44.8,45.4,46.6);--el-color-info-light-9:rgb(32.4,32.7,33.3);--el-color-info-dark-2:rgb(166.2,168.6,173.4);--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.36),0px 8px 20px rgba(0,0,0,.72);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.72);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.72);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.72),0px 12px 32px #000000,0px 8px 16px -8px #000000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#E5EAF3;--el-text-color-regular:#CFD3DC;--el-text-color-secondary:#A3A6AD;--el-text-color-placeholder:#8D9095;--el-text-color-disabled:#6C6E72;--el-border-color-darker:#636466;--el-border-color-dark:#58585B;--el-border-color:#4C4D4F;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2B2B2C;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393A;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1D1D1D;--el-fill-color-extra-light:#191919;--el-fill-color-blank:transparent;--el-mask-color:rgba(0,0,0,.8);--el-mask-color-extra-light:rgba(0,0,0,.3)}html.dark .el-button{--el-button-disabled-text-color:rgba(255,255,255,.5)}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}.el-popup-parent--hidden{width:100%!important}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.\!absolute{position:absolute!important}.\!fixed{position:fixed!important}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{top:0;right:0;bottom:0;left:0}.\!left-\[var\(--left-menu-max-width\)\]{left:var(--left-menu-max-width)!important}.\!left-\[var\(--left-menu-min-width\)\]{left:var(--left-menu-min-width)!important}.\!left-\[var\(--tab-menu-max-width\)\]{left:var(--tab-menu-max-width)!important}.\!left-\[var\(--tab-menu-max-width\)\+var\(--left-menu-max-width\)\]{left:var(--tab-menu-max-width)+var(--left-menu-max-width)!important}.\!left-\[var\(--tab-menu-min-width\)\]{left:var(--tab-menu-min-width)!important}.\!left-\[var\(--tab-menu-min-width\)\+var\(--left-menu-max-width\)\]{left:var(--tab-menu-min-width)+var(--left-menu-max-width)!important}.\!left-0{left:0!important}.bottom-0{bottom:0}.bottom-5{bottom:1.25rem}.left-\[10\%\]{left:10%}.left-\[50\%\],.left-1\/2{left:50%}.left-\[var\(--left-menu-max-width\)\]{left:var(--left-menu-max-width)}.left-\[var\(--left-menu-min-width\)\]{left:var(--left-menu-min-width)}.left-\[var\(--tab-menu-max-width\)\]{left:var(--tab-menu-max-width)}.left-\[var\(--tab-menu-min-width\)\]{left:var(--tab-menu-min-width)}.left-0{left:0}.left-5{left:1.25rem}.right-0{right:0}.right-15px{right:15px}.right-40px{right:40px}.top-\[45\%\]{top:45%}.top-\[50\%\]{top:50%}.top-\[calc\(var\(--top-tool-height\)\+1px\)\]{top:calc(var(--top-tool-height) + 1px)}.top-\[var\(--logo-height\)\]{top:var(--logo-height)}.top-\[var\(--logo-height\)\+1px\]{top:var(--logo-height)+1px}.top-0{top:0}.top-1px{top:1px}.top-40px{top:40px}.top-5{top:1.25rem}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.z-10{z-index:10}.z-3000{z-index:3000}.z-99{z-index:99}.grid{display:grid}.m-auto{margin:auto}.m3{margin:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10px{margin-top:10px;margin-bottom:10px}.m-t-5px,.mt-5px{margin-top:5px}.mb-10px{margin-bottom:10px}.mb-12px{margin-bottom:12px}.mb-20px{margin-bottom:20px}.mb-4{margin-bottom:1rem}.mb-40px{margin-bottom:40px}.mb-5px{margin-bottom:5px}.mb-5px\!{margin-bottom:5px!important}.mb-6px{margin-bottom:6px}.ml-\[10px\],.ml-10px{margin-left:10px}.ml-\[var\(--left-menu-max-width\)\]{margin-left:var(--left-menu-max-width)}.ml-12px{margin-left:12px}.ml-2{margin-left:.5rem}.ml-20px{margin-left:20px}.ml-30px{margin-left:30px}.ml-5px{margin-left:5px}.ml-8px\!{margin-left:8px!important}.ml-auto{margin-left:auto}.mr-\[5px\],.mr-5px{margin-right:5px}.mr-1{margin-right:.25rem}.mr-10px{margin-right:10px}.mr-2{margin-right:.5rem}.mr-20px{margin-right:20px}.mr-5{margin-right:1.25rem}.mr-auto{margin-right:auto}.mt-\[calc\(var\(--logo-height\)\+1px\)\]{margin-top:calc(var(--logo-height) + 1px)}.mt-\[calc\(var\(--tags-view-height\)\)\]{margin-top:calc(var(--tags-view-height))}.mt-\[calc\(var\(--top-tool-height\)\+var\(--tags-view-height\)\)\]{margin-top:calc(var(--top-tool-height) + var(--tags-view-height))}.mt-\[var\(--logo-height\)\]{margin-top:var(--logo-height)}.mt-\[var\(--tags-view-height\)\]{margin-top:var(--tags-view-height)}.mt-10px{margin-top:10px}.mt-12px{margin-top:12px}.mt-15px{margin-top:15px}.mt-2{margin-top:.5rem}.mt-20px{margin-top:20px}.mt-2px{margin-top:2px}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.box-border{box-sizing:border-box}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.\!h-\[calc\(100\%-var\(--logo-height\)\)\]{height:calc(100% - var(--logo-height))!important}.\!h-\[calc\(100\%-var\(--tab-menu-collapse-height\)-1px\)\]{height:calc(100% - var(--tab-menu-collapse-height) - 1px)!important}.\!h-\[calc\(100\%-var\(--tags-view-height\)\)\]{height:calc(100% - var(--tags-view-height))!important}.\!h-\[calc\(100\%-var\(--top-tool-height\)-var\(--tags-view-height\)\)\]{height:calc(100% - var(--top-tool-height) - var(--tags-view-height))!important}.\!h-\[var\(--logo-height\)\]{height:var(--logo-height)!important}.\!h-54px{height:54px!important}.\!h-full{height:100%!important}.\!w-\[var\(--left-menu-max-width\)\]{width:var(--left-menu-max-width)!important}.\!w-0{width:0!important}.\!w-full{width:100%!important}.h-\[100\%\],.h-100\%,.h-full{height:100%}.h-\[calc\(100\%-1px-var\(--logo-height\)\)\]{height:calc(100% - 1px - var(--logo-height))}.h-\[calc\(100\%-50px\)\]\!{height:calc(100% - 50px)!important}.h-\[calc\(100\%-60px\)\]{height:calc(100% - 60px)}.h-\[calc\(100\%-var\(--logo-height\)\)\]{height:calc(100% - var(--logo-height))}.h-\[calc\(100\%-var\(--tags-view-height\)-var\(--top-tool-height\)\)\]{height:calc(100% - var(--tags-view-height) - var(--top-tool-height))}.h-\[calc\(100\%-var\(--top-tool-height\)\)\]{height:calc(100% - var(--top-tool-height))}.h-\[calc\(var\(--logo-height\)-10px\)\]{height:calc(var(--logo-height) - 10px)}.h-\[var\(--app-footer-height\)\]{height:var(--app-footer-height)}.h-\[var\(--tab-menu-collapse-height\)\]{height:var(--tab-menu-collapse-height)}.h-\[var\(--tags-view-height\)\]{height:var(--tags-view-height)}.h-\[var\(--top-tool-height\)\]{height:var(--top-tool-height)}.h-16{height:4rem}.h-2\/5{height:40%}.h-20px{height:20px}.h-28px{height:28px}.h-35px{height:35px}.h-40px{height:40px}.h-44px{height:44px}.h-48px{height:48px}.h-50px{height:50px}.h-54px{height:54px}.h-60vh{height:60vh}.h-6px{height:6px}.h-70px{height:70px}.h-auto{height:auto}.h-screen{height:100vh}.max-w-200px{max-width:200px}.max-w-full{max-width:100%}.min-h-100vh{min-height:100vh}.min-w-90px{min-width:90px}.w-\[100\%\],.w-100\%,.w-full{width:100%}.w-\[33\%\]{width:33%}.w-\[calc\(100\%-2px\)\]{width:calc(100% - 2px)}.w-\[calc\(100\%-var\(--left-menu-max-width\)\)\]{width:calc(100% - var(--left-menu-max-width))}.w-\[calc\(100\%-var\(--left-menu-min-width\)\)\]{width:calc(100% - var(--left-menu-min-width))}.w-\[calc\(100\%-var\(--tab-menu-max-width\)-var\(--left-menu-max-width\)\)\]{width:calc(100% - var(--tab-menu-max-width) - var(--left-menu-max-width))}.w-\[calc\(100\%-var\(--tab-menu-max-width\)\)\]{width:calc(100% - var(--tab-menu-max-width))}.w-\[calc\(100\%-var\(--tab-menu-min-width\)-var\(--left-menu-max-width\)\)\]{width:calc(100% - var(--tab-menu-min-width) - var(--left-menu-max-width))}.w-\[calc\(100\%-var\(--tab-menu-min-width\)\)\]{width:calc(100% - var(--tab-menu-min-width))}.w-\[calc\(var\(--logo-height\)-10px\)\]{width:calc(var(--logo-height) - 10px)}.w-\[calc\(var\(--logo-height\)-25px\)\]{width:calc(var(--logo-height) - 25px)}.w-\[var\(--left-menu-max-width\)\]{width:var(--left-menu-max-width)}.w-\[var\(--left-menu-min-width\)\]{width:var(--left-menu-min-width)}.w-\[var\(--tab-menu-max-width\)\]{width:var(--tab-menu-max-width)}.w-\[var\(--tab-menu-min-width\)\]{width:var(--tab-menu-min-width)}.w-\[var\(--tags-view-height\)\]{width:var(--tags-view-height)}.w-120px{width:120px}.w-2\/5{width:40%}.w-20px{width:20px}.w-250px{width:250px}.w-30\%{width:30%}.w-30px{width:30px}.w-350px{width:350px}.w-35px{width:35px}.w-40px{width:40px}.w-44px{width:44px}.w-48px{width:48px}.w-56px{width:56px}.w-70px{width:70px}.w-screen{width:100vw}.flex{display:flex}.flex-\[2\]{flex:2}.flex-\[3\]{flex:3}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.table{display:table}.default-table:default{display:table}.translate-x-1\/2{--un-translate-x:50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-\[-50\%\]{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer{cursor:pointer}.cursor-move{cursor:move}.resize{resize:both}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-10px>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(10px * calc(1 - var(--un-space-x-reverse)));margin-right:calc(10px * var(--un-space-x-reverse))}.space-x-14px>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(14px * calc(1 - var(--un-space-x-reverse)));margin-right:calc(14px * var(--un-space-x-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.b,.border,.border-1,.border-1px,.dark .dark\:border-1,.dark .dark\:border-1px{border-width:1px}.border-0{border-width:0px}.border-2px{border-width:2px}.b-b-1,.border-b-1px{border-bottom-width:1px}.border-r-1px{border-right-width:1px}.border-\[\#fff\]{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.border-\[var\(--el-border-color\)\],.dark .dark\:border-\[var\(--el-border-color\)\]{border-color:var(--el-border-color)}.border-\[var\(--el-color-primary\)\]{border-color:var(--el-color-primary)}.border-gray-300{--un-border-opacity:1;border-color:rgb(209 213 219 / var(--un-border-opacity))}.hover\:border-color-\[var\(--el-color-primary\)\]\!:hover{border-color:var(--el-color-primary)!important}.border-b-\[var\(--el-border-color-lighter\)\]{border-bottom-color:var(--el-border-color-lighter)}.border-r-\[var\(--el-border-color-lighter\)\]{border-right-color:var(--el-border-color-lighter)}.rounded-\[50\%\]{border-radius:50%}.rounded-2px{border-radius:2px}.rounded-6px{border-radius:6px}.rounded-full{border-radius:9999px}.border-solid,.dark .dark\:border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.border-r-solid{border-right-style:solid}.bg-\[\#fff\]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-\[var\(--app-content-bg-color\)\]{background-color:var(--app-content-bg-color)}.bg-\[var\(--el-bg-color\)\],.dark .dark\:bg-\[var\(--el-bg-color\)\]{background-color:var(--el-bg-color)}.bg-\[var\(--el-color-black\)\]{background-color:var(--el-color-black)}.bg-\[var\(--el-color-primary-light-9\)\]{background-color:var(--el-color-primary-light-9)}.bg-\[var\(--el-color-primary\)\]{background-color:var(--el-color-primary)}.bg-\[var\(--el-color-white\)\]{background-color:var(--el-color-white)}.bg-\[var\(--el-fill-color-light\)\]{background-color:var(--el-fill-color-light)}.bg-\[var\(--el-text-color-regular\)\]{background-color:var(--el-text-color-regular)}.bg-\[var\(--left-menu-bg-color\)\]{background-color:var(--left-menu-bg-color)}.bg-\[var\(--top-header-bg-color\)\]{background-color:var(--top-header-bg-color)}.bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-gray-300{--un-bg-opacity:1;background-color:rgb(209 213 219 / var(--un-bg-opacity))}.bg-gray-500{--un-bg-opacity:1;background-color:rgb(107 114 128 / var(--un-bg-opacity))}.dark .dark\:bg-\[var\(--login-bg-color\)\]{background-color:var(--login-bg-color)}.bg-opacity-20{--un-bg-opacity:.2}.p-\[var\(--app-content-padding\)\]{padding:var(--app-content-padding)}.p-16px{padding:16px}.p-20px{padding:20px}.p-30px{padding:30px}.px{padding-left:1rem;padding-right:1rem}.px-\[var\(--top-tool-p-x\)\]{padding-left:var(--top-tool-p-x);padding-right:var(--top-tool-p-x)}.px-10px{padding-left:10px;padding-right:10px}.px-2px{padding-left:2px;padding-right:2px}.px-8px{padding-left:8px;padding-right:8px}.py-11px{padding-top:11px;padding-bottom:11px}.py-12px{padding-top:12px;padding-bottom:12px}.\!pb-\[calc\(var\(--tags-view-height\)\+var\(--app-footer-height\)\)\]{padding-bottom:calc(var(--tags-view-height) + var(--app-footer-height))!important}.\!pl-0{padding-left:0!important}.\!pr-15px{padding-right:15px!important}.pb-\[var\(--app-footer-height\)\]{padding-bottom:var(--app-footer-height)}.pb-20px{padding-bottom:20px}.pb-40px{padding-bottom:40px}.pl-\[5px\],.pl-5px{padding-left:5px}.pl-\[var\(--el-popover-padding\)\]{padding-left:var(--el-popover-padding)}.pl-15px{padding-left:15px}.pl-20px{padding-left:20px}.pl-8px{padding-left:8px}.pla{padding-left:auto}.pr-\[var\(--el-popover-padding\)\]{padding-right:var(--el-popover-padding)}.pr-15px{padding-right:15px}.pr-16px{padding-right:16px}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pie{padding-inline-end:1rem}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:1.5rem}.font-size-12px,.text-12px{font-size:12px}.text-14px,.text-size-14px{font-size:14px}.font-size-16px,.text-16px{font-size:16px}.text-20px{font-size:20px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-30px{font-size:30px}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-\[var\(--el-color-info\)\]{color:var(--el-color-info)}.text-\[var\(--el-color-primary\)\]{color:var(--el-color-primary)}.text-\[var\(--el-text-color-placeholder\)\]{color:var(--el-text-color-placeholder)}.text-\[var\(--logo-title-text-color\)\]{color:var(--logo-title-text-color)}.text-\[var\(--top-header-text-color\)\]{color:var(--top-header-text-color)}.text-gray-300{--un-text-opacity:1;color:rgb(209 213 219 / var(--un-text-opacity))}.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-\[\#fff\],.color-\#fff,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.color-\[var\(--el-text-color-primary\)\]{color:var(--el-text-color-primary)}.color-\[var\(--el-text-color-regular\)\]{color:var(--el-text-color-regular)}.font-700,.font-bold{font-weight:700}.font-normal{font-weight:400}.leading-\[var\(--app-footer-height\)\]{line-height:var(--app-footer-height)}.leading-\[var\(--tab-menu-collapse-height\)\]{line-height:var(--tab-menu-collapse-height)}.leading-20px{line-height:20px}.underline{text-decoration-line:underline}.decoration-none{text-decoration:none}.opacity-30{opacity:.3}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-1px{outline-width:1px}.outline-\[var\(--el-border-color-lighter\)\]{outline-color:var(--el-border-color-lighter)}.outline-solid{outline-style:solid}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\!micro-build-text-r{color:red!important}.micro-build-text-r{color:red}.overflow-ellipsis{text-overflow:ellipsis}.custom-hover{display:flex;height:100%;padding:1px 10px 0;cursor:pointer;align-items:center;transition:background var(--transition-time-02)}.custom-hover:hover{background-color:var(--top-header-hover-color)}.dark .custom-hover:hover{background-color:var(--el-bg-color-overlay)}.layout-border__right:after{content:"";position:absolute;top:0;right:0;width:1px;height:100%;background-color:var(--el-border-color);z-index:3}.layout-border__top:before{content:"";position:absolute;top:0;left:0;width:100%;height:1px;background-color:var(--el-border-color);z-index:3}.layout-border__bottom:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--el-border-color);z-index:3}@media (max-width: 1279.9px){.lt-xl\:hidden{display:none}.lt-xl\:rounded-3xl{border-radius:1.5rem}.light .lt-xl\:light\:bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.lt-xl\:bg-\[var\(--login-bg-color\)\]{background-color:var(--login-bg-color)}.lt-xl\:px-10px{padding-left:10px;padding-right:10px}}@media (max-width: 1023.9px){.\div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.el-overlay.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0} diff --git a/assets/index-BQQdmLe5.js b/assets/index-DBEGipag.js similarity index 99% rename from assets/index-BQQdmLe5.js rename to assets/index-DBEGipag.js index 503cd0b2..1ccd3b2d 100644 --- a/assets/index-BQQdmLe5.js +++ b/assets/index-DBEGipag.js @@ -1,4 +1,4 @@ -var rn=Object.defineProperty,sn=Object.defineProperties;var an=Object.getOwnPropertyDescriptors;var Ut=Object.getOwnPropertySymbols;var on=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable;var Vt=(o,a,r)=>a in o?rn(o,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[a]=r,jt=(o,a)=>{for(var r in a||(a={}))on.call(a,r)&&Vt(o,r,a[r]);if(Ut)for(var r of Ut(a))un.call(a,r)&&Vt(o,r,a[r]);return o},Gt=(o,a)=>sn(o,an(a));var it=(o,a,r)=>new Promise((t,e)=>{var i=u=>{try{s(r.next(u))}catch(l){e(l)}},n=u=>{try{s(r.throw(u))}catch(l){e(l)}},s=u=>u.done?t(u.value):Promise.resolve(u.value).then(i,n);s((r=r.apply(o,a)).next())});import{y as Si,r as _t,o as ln,w as cn,n as wi,u as he,S as fn,z as xi,A as hn,T as dn,U as gn,K as pn,L as vn,D as Wt,O as Ct,ar as mn}from"./vue-chunks-ChjHxF1G.js";import{i as yn,t as _n}from"./index-DHbc4UQl.js";import{g as xt,ah as Cn}from"./element-plus-CUBv5pjL.js";import{I as kn}from"./Icon-CdhVCYkm.js";function zt(o,a){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})),r.push.apply(r,t)}return r}function U(o){for(var a=1;ao.length)&&(a=o.length);for(var r=0,t=new Array(a);ra in o?rn(o,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[a]=r,jt=(o,a)=>{for(var r in a||(a={}))on.call(a,r)&&Vt(o,r,a[r]);if(Ut)for(var r of Ut(a))un.call(a,r)&&Vt(o,r,a[r]);return o},Gt=(o,a)=>sn(o,an(a));var it=(o,a,r)=>new Promise((t,e)=>{var i=u=>{try{s(r.next(u))}catch(l){e(l)}},n=u=>{try{s(r.throw(u))}catch(l){e(l)}},s=u=>u.done?t(u.value):Promise.resolve(u.value).then(i,n);s((r=r.apply(o,a)).next())});import{y as Si,r as _t,o as ln,w as cn,n as wi,u as he,S as fn,z as xi,A as hn,T as dn,U as gn,K as pn,L as vn,D as Wt,O as Ct,ar as mn}from"./vue-chunks-ChjHxF1G.js";import{i as yn,t as _n}from"./index-wnyZ7Zvr.js";import{g as xt,ah as Cn}from"./element-plus-CUBv5pjL.js";import{I as kn}from"./Icon-BTLftY2_.js";function zt(o,a){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})),r.push.apply(r,t)}return r}function U(o){for(var a=1;ao.length)&&(a=o.length);for(var r=0,t=new Array(a);r-1,rt={info:"color: #525252; background-color: #90ee90;",error:"color: #525252; background-color: red;",warn:"color: #525252; background-color: yellow; "},st="%c[xgplayer]",D={config:{debug:An?3:0},logInfo:function(a){for(var r,t=arguments.length,e=new Array(t>1?t-1:0),i=1;i=3&&(r=console).log.apply(r,[st,rt.info,a].concat(e))},logWarn:function(a){for(var r,t=arguments.length,e=new Array(t>1?t-1:0),i=1;i=1&&(r=console).warn.apply(r,[st,rt.warn,a].concat(e))},logError:function(a){var r;if(!(this.config.debug<1)){for(var t=this.config.debug>=2?"trace":"error",e=arguments.length,i=new Array(e>1?e-1:0),n=1;n0&&arguments[0]!==void 0?arguments[0]:"div",a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",e=document.createElement(o);return e.className=t,e.innerHTML=a,Object.keys(r).forEach(function(i){var n=i,s=r[i];o==="video"||o==="audio"||o==="live-video"?s&&e.setAttribute(n,s):e.setAttribute(n,s)}),e};c.createDomFromHtml=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";try{var t=document.createElement("div");t.innerHTML=o;var e=t.children;return t=null,e.length>0?(e=e[0],r&&c.addClass(e,r),a&&Object.keys(a).forEach(function(i){e.setAttribute(i,a[i])}),e):null}catch(i){return D.logError("util.createDomFromHtml",i),null}};c.hasClass=function(o,a){if(!o||!a)return!1;try{return Array.prototype.some.call(o.classList,function(t){return t===a})}catch(t){var r=o.className&&W(o.className)==="object"?o.getAttribute("class"):o.className;return r&&!!r.match(new RegExp("(\\s|^)"+a+"(\\s|$)"))}};c.addClass=function(o,a){if(!(!o||!a))try{a.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach(function(r){r&&o.classList.add(r)})}catch(r){c.hasClass(o,a)||(o.className&&W(o.className)==="object"?o.setAttribute("class",o.getAttribute("class")+" "+a):o.className+=" "+a)}};c.removeClass=function(o,a){if(!(!o||!a))try{a.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach(function(r){r&&o.classList.remove(r)})}catch(r){c.hasClass(o,a)&&a.split(/\s+/g).forEach(function(t){var e=new RegExp("(\\s|^)"+t+"(\\s|$)");o.className&&W(o.className)==="object"?o.setAttribute("class",o.getAttribute("class").replace(e," ")):o.className=o.className.replace(e," ")})}};c.toggleClass=function(o,a){o&&a.split(/\s+/g).forEach(function(r){c.hasClass(o,r)?c.removeClass(o,r):c.addClass(o,r)})};c.classNames=function(){for(var o=arguments,a=[],r=function(i){c.typeOf(o[i])==="String"?a.push(o[i]):c.typeOf(o[i])==="Object"&&Object.keys(o[i]).map(function(n){o[i][n]&&a.push(n)})},t=0;t0&&arguments[0]!==void 0?arguments[0]:document,a=arguments.length>1?arguments[1]:void 0,r;try{r=o.querySelector(a)}catch(t){D.logError("util.findDom",t),a.indexOf("#")===0&&(r=o.getElementById(a.slice(1)))}return r};c.getCss=function(o,a){return o.currentStyle?o.currentStyle[a]:document.defaultView.getComputedStyle(o,!1)[a]};c.padStart=function(o,a,r){for(var t=String(r),e=a>>0,i=Math.ceil(e/t.length),n=[],s=String(o);i--;)n.push(t);return n.join("").substring(0,e-s.length)+s};c.format=function(o){if(window.isNaN(o))return"";o=Math.round(o);var a=c.padStart(Math.floor(o/3600),2,0),r=c.padStart(Math.floor((o-a*3600)/60),2,0),t=c.padStart(Math.floor(o-a*3600-r*60),2,0);return(a==="00"?[r,t]:[a,r,t]).join(":")};c.event=function(o){if(o.touches){var a=o.touches[0]||o.changedTouches[0];o.clientX=a.clientX||0,o.clientY=a.clientY||0,o.offsetX=a.pageX-a.target.offsetLeft,o.offsetY=a.pageY-a.target.offsetTop}o._target=o.target||o.srcElement};c.typeOf=function(o){return Object.prototype.toString.call(o).match(/([^\s.*]+)(?=]$)/g)[0]};c.deepCopy=function(o,a){if(c.typeOf(a)==="Object"&&c.typeOf(o)==="Object")return Object.keys(a).forEach(function(r){c.typeOf(a[r])==="Object"&&!(a[r]instanceof Node)?o[r]===void 0||o[r]===void 0?o[r]=a[r]:c.deepCopy(o[r],a[r]):c.typeOf(a[r])==="Array"?o[r]=c.typeOf(o[r])==="Array"?o[r].concat(a[r]):a[r]:o[r]=a[r]}),o};c.deepMerge=function(o,a){return Object.keys(a).map(function(r){if(c.typeOf(a[r])==="Array"&&c.typeOf(o[r])==="Array"){if(c.typeOf(o[r])==="Array"){var t;(t=o[r]).push.apply(t,Q(a[r]))}}else c.typeOf(o[r])===c.typeOf(a[r])&&o[r]!==null&&c.typeOf(o[r])==="Object"&&!(a[r]instanceof window.Node)?c.deepMerge(o[r],a[r]):a[r]!==null&&(o[r]=a[r])}),o};c.getBgImage=function(o){var a=(o.currentStyle||window.getComputedStyle(o,null)).backgroundImage;if(!a||a==="none")return"";var r=document.createElement("a");return r.href=a.replace(/url\("|"\)/g,""),r.href};c.copyDom=function(o){if(o&&o.nodeType===1){var a=document.createElement(o.tagName);return Array.prototype.forEach.call(o.attributes,function(r){a.setAttribute(r.name,r.value)}),o.innerHTML&&(a.innerHTML=o.innerHTML),a}else return""};c.setInterval=function(o,a,r,t){o._interval[a]||(o._interval[a]=window.setInterval(r.bind(o),t))};c.clearInterval=function(o,a){clearInterval(o._interval[a]),o._interval[a]=null};c.setTimeout=function(o,a,r){o._timers||(o._timers=[]);var t=setTimeout(function(){a(),c.clearTimeout(o,t)},r);return o._timers.push(t),t};c.clearTimeout=function(o,a){var r=o._timers;if(c.typeOf(r)==="Array"){for(var t=0;t-1&&t.indexOf(u)>-1?(i=parseFloat(r.slice(0,r.indexOf(u)).trim()),n=parseFloat(t.slice(0,t.indexOf(u)).trim()),s=u,!1):!0}),e.style.width="".concat(i).concat(s),e.style.height="".concat(n).concat(s),e.style.backgroundSize="".concat(i).concat(s," ").concat(n).concat(s),o==="start"?e.style.margin="-".concat(n/2).concat(s," auto auto -").concat(i/2).concat(s):e.style.margin="auto 5px auto 5px"}return e};c.Hex2RGBA=function(o,a){var r=[];if(/^\#[0-9A-F]{3}$/i.test(o)){var t="#";o.replace(/[0-9A-F]/ig,function(e){t+=e+e}),o=t}return/^#[0-9A-F]{6}$/i.test(o)?(o.replace(/[0-9A-F]{2}/ig,function(e){r.push(parseInt(e,16))}),"rgba(".concat(r.join(","),", ").concat(a,")")):"rgba(255, 255, 255, 0.1)"};c.getFullScreenEl=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement};c.checkIsFunction=function(o){return o&&typeof o=="function"};c.checkIsObject=function(o){return o!==null&&W(o)==="object"};c.hide=function(o){o.style.display="none"};c.show=function(o,a){o.style.display=a||"block"};c.isUndefined=function(o){if(typeof o=="undefined"||o===null)return!0};c.isNotNull=function(o){return o!=null};c.setStyleFromCsstext=function(o,a){if(a)if(c.typeOf(a)==="String"){var r=a.replace(/\s+/g,"").split(";");r.map(function(t){if(t){var e=t.split(":");e.length>1&&(o.style[e[0]]=e[1])}})}else Object.keys(a).map(function(t){o.style[t]=a[t]})};function Rn(o,a){for(var r=0,t=a.length;r-1)return!0;return!1}c.filterStyleFromText=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:["width","height","top","left","bottom","right","position","z-index","padding","margin","transform"],r=o.style.cssText;if(!r)return{};var t=r.replace(/\s+/g,"").split(";"),e={},i={};return t.map(function(n){if(n){var s=n.split(":");s.length>1&&(Rn(s[0],a)?e[s[0]]=s[1]:i[s[0]]=s[1])}}),o.setAttribute("style",""),Object.keys(i).map(function(n){o.style[n]=i[n]}),e};c.getStyleFromCsstext=function(o){var a=o.style.cssText;if(!a)return{};var r=a.replace(/\s+/g,"").split(";"),t={};return r.map(function(e){if(e){var i=e.split(":");i.length>1&&(t[i[0]]=i[1])}}),t};c.preloadImg=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};if(o){var t=new window.Image;t.onload=function(e){t=null,a&&a(e)},t.onerror=function(e){t=null,r&&r(e)},t.src=o}};c.stopPropagation=function(o){o&&o.stopPropagation()};c.scrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0};c.scrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0};c.checkTouchSupport=function(){return"ontouchstart"in window};c.getBuffered2=function(o){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.5,r=[],t=0;ts&&(e[n-1].end=r[i].end):e.push(r[i])}else e.push(r[i])}else e=r;return new Dn(e)};c.getEventPos=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return o.touches&&o.touches.length>0&&(o=o.touches[0]),{x:o.x/a,y:o.y/a,clientX:o.clientX/a,clientY:o.clientY/a,offsetX:o.offsetX/a,offsetY:o.offsetY/a,pageX:o.pageX/a,pageY:o.pageY/a}};c.requestAnimationFrame=function(o){var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(a)return a(o)};c.getHostFromUrl=function(o){if(c.typeOf(o)!=="String")return"";var a=o.split("/"),r="";return a.length>3&&a[2]&&(r=a[2]),r};c.cancelAnimationFrame=function(o){var a=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.cancelRequestAnimationFrame;a&&a(o)};c.isMSE=function(o){return o.media&&(o=o.media),!o||!(o instanceof HTMLMediaElement)?!1:/^blob/.test(o.currentSrc)||/^blob/.test(o.src)};c.isBlob=function(o){return typeof o=="string"&&/^blob/.test(o)};c.generateSessionId=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,a=new Date().getTime();try{o=parseInt(o)}catch(t){o=0}a+=o,window.performance&&typeof window.performance.now=="function"&&(a+=parseInt(window.performance.now()));var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=(a+Math.random()*16)%16|0;return a=Math.floor(a/16),(t==="x"?e:e&3|8).toString(16)});return r};c.createEvent=function(o){var a;return typeof window.Event=="function"?a=new Event(o):(a=document.createEvent("Event"),a.initEvent(o,!0,!0)),a};c.adjustTimeByDuration=function(o,a,r){return!a||!o?o:o>a||r&&o0&&arguments[0]!==void 0?arguments[0]:{x:0,y:0,scale:1,rotate:0},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r={scale:"".concat(o.scale||1),translate:"".concat(o.x||0,"%, ").concat(o.y||0,"%"),rotate:"".concat(o.rotate||0,"deg")},t=Object.keys(r);return t.forEach(function(e){var i=new RegExp("".concat(e,"\\([^\\(]+\\)"),"g"),n="".concat(e,"(").concat(r[e],")");i.test(a)?(i.lastIndex=-1,a=a.replace(i,n)):a+="".concat(n," ")}),a};c.convertDeg=function(o){return Math.abs(o)<=1?o*360:o%360};c.getIndexByTime=function(o,a){var r=a.length,t=-1;if(r<1)return t;if(o<=a[0].end||r<2)t=0;else if(o>a[r-1].end)t=r-1;else for(var e=1;ea[e-1].end&&o<=a[e].end){t=e;break}return t};c.getOffsetCurrentTime=function(o,a){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-1,t=-1;if(r>=0&&r=n&&o<=s?o-l:o>s&&t>=e-1?s:-1};c.getCurrentTimeByOffset=function(o,a){var r=-1;if(!a||a.length<0)return o;for(var t=0;t=a||Y<0||h&&Z>=i}function F(){var M=Date.now();if(T(M))return R(M);s=m(F,k(M))}function R(M){return s=void 0,d&&t?p(M):(t=e=void 0,n)}function B(){s!==void 0&&_(s),l=0,t=u=e=s=void 0}function A(){return s===void 0?n:R(Date.now())}function z(){return s!==void 0}function V(){for(var M=Date.now(),Y=T(M),Z=arguments.length,J=new Array(Z),ve=0;ve1,n=i||t&&!/(?:Mobile)/.test(o)||e&&/(?:Tablet)/.test(o),s=/(?:iPhone)/.test(o)&&!n,u=!s&&!t&&!r&&!n;return{isTablet:n,isPhone:s,isIpad:i,isIos:s||i,isAndroid:t,isPc:u,isSymbian:r,isWindowsPhone:a,isFireFox:e}},get osVersion(){if(typeof navigator=="undefined")return 0;var o=navigator.userAgent,a="";/(?:iPhone)|(?:iPad|PlayBook)/.test(o)?a=$t.ios:a=$t.android;var r=a?a.exec(o):[];if(r&&r.length>=3){var t=r[2].split(".");return t.length>0?parseInt(t[0]):0}return 0},get isWeixin(){if(typeof navigator=="undefined")return!1;var o=/(micromessenger)\/([\d.]+)/,a=o.exec(navigator.userAgent.toLocaleLowerCase());return!!a},isSupportMP4:function(){var a={isSupport:!1,mime:""};if(typeof document=="undefined")return a;if(this.supportResult)return this.supportResult;var r=document.createElement("video");return typeof r.canPlayType=="function"&&Bn.map(function(t){r.canPlayType('video/mp4; codecs="'.concat(t,'"'))==="probably"&&(a.isSupport=!0,a.mime+="||".concat(t))}),this.supportResult=a,r=null,a},isMSESupport:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:'video/mp4; codecs="avc1.42E01E,mp4a.40.2"';if(typeof MediaSource=="undefined"||!MediaSource)return!1;try{return MediaSource.isTypeSupported(a)}catch(r){return this._logger.error(a,r),!1}},isHevcSupported:function(){return typeof MediaSource=="undefined"||!MediaSource.isTypeSupported?!1:MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"')},probeConfigSupported:function(a){var r={supported:!1,smooth:!1,powerEfficient:!1};if(!a||typeof navigator=="undefined")return Promise.resolve(r);if(navigator.mediaCapabilities&&navigator.mediaCapabilities.decodingInfo)return navigator.mediaCapabilities.decodingInfo(a);var t=a.video||{},e=a.audio||{};try{var i=MediaSource.isTypeSupported(t.contentType),n=MediaSource.isTypeSupported(e.contentType);return Promise.resolve({supported:i&&n,smooth:!1,powerEfficient:!1})}catch(s){return Promise.resolve(r)}}},bt="3.0.20",Xt={1:"media",2:"media",3:"media",4:"media",5:"media",6:"media"},qt={1:5101,2:5102,3:5103,4:5104,5:5105,6:5106},Ve=S(function o(a){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{errorType:"",errorCode:0,errorMessage:"",originError:"",ext:{},mediaError:null};E(this,o);var t=a&&a.i18n?a.i18n.ERROR_TYPES:null;if(a.media){var e=r.mediaError?r.mediaError:a.media.error||{},i=a.duration,n=a.currentTime,s=a.ended,u=a.src,l=a.currentSrc,f=a.media,h=f.readyState,d=f.networkState,g=r.errorCode||e.code;qt[g]&&(g=qt[g]);var p={playerVersion:bt,currentTime:n,duration:i,ended:s,readyState:h,networkState:d,src:u||l,errorType:r.errorType,errorCode:g,message:r.errorMessage||e.message,mediaError:e,originError:r.originError?r.originError.stack:"",host:c.getHostFromUrl(u||l)};return r.ext&&Object.keys(r.ext).map(function(k){p[k]=r.ext[k]}),p}else if(arguments.length>1){for(var m={playerVersion:bt,domain:document.domain},_=["errorType","currentTime","duration","networkState","readyState","src","currentSrc","ended","errd","errorCode","mediaError"],b=0;b0&&arguments[0]!==void 0?arguments[0]:this.media;this._evHandlers||(this._evHandlers=Ki.map(function(n){var s="on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));return typeof e[s]=="function"&&e.on(n,e[s]),y({},n,qn(n,e))})),this._evHandlers.forEach(function(n){var s=Object.keys(n)[0];i.addEventListener(s,n[s],!1)})}},{key:"detachVideoEvents",value:function(){var e=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.media;this._evHandlers.forEach(function(n){var s=Object.keys(n)[0];i.removeEventListener(s,n[s],!1)}),this._evHandlers.forEach(function(n){var s=Object.keys(n)[0],u="on".concat(s.charAt(0).toUpperCase()).concat(s.slice(1));typeof e[u]=="function"&&e.off(s,e[u])}),this._evHandlers=null}},{key:"_attachSourceEvents",value:function(e,i){var n=this;e.removeAttribute("src"),e.load(),i.forEach(function(h,d){n.media.appendChild(c.createDom("source","",{src:"".concat(h.src),type:"".concat(h.type||""),"data-index":d+1}))});var s=e.children;if(s){this._videoSourceCount=s.length,this._videoSourceIndex=s.length,this._vLoadeddata=function(h){n.emit(zi,{src:h.target.currentSrc,host:c.getHostFromUrl(h.target.currentSrc)})};for(var u=null,l=0;l=n._videoSourceCount){var g={code:4,message:"sources_load_error"};u?u.error(h,g):n.errorHandler("error",g)}var p=Xt[4];n.emit(Wi,new Ve(n,{errorType:p,errorCode:4,errorMessage:"sources_load_error",mediaError:{code:4,message:"sources_load_error"},src:h.target.src}))});for(var f=0;f0;)e.removeChild(i[0]);this._vLoadeddata&&e.removeEventListener("loadeddata",this._vLoadeddata)}}},{key:"errorHandler",value:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.media&&(this.media.error||i)){var n=this.media.error||i,s=n.code?Xt[n.code]:"other",u=n.message;this.media.currentSrc||(u="empty_src",n={code:6,message:u}),this.emit(e,new Ve(this,{errorType:s,errorCode:n.code,errorMessage:n.message||"",mediaError:n}))}}},{key:"destroy",value:function(){this.media&&(this.media.pause&&(this.media.pause(),this.media.muted=!0),this.media.removeAttribute("src"),this.media.load()),this._currentTime=0,this._duration=0,this.mediaConfig=null;for(var e in this._interval)Object.prototype.hasOwnProperty.call(this._interval,e)&&(clearInterval(this._interval[e]),this._interval[e]=null);this.detachVideoEvents(),this.media=null,this.mediaEventMiddleware={},this.removeAllListeners()}},{key:"video",get:function(){return this.media},set:function(e){this.media=e}},{key:"play",value:function(){var e=this.media?this.media.play():null;return e}},{key:"pause",value:function(){this.media&&this.media.pause()}},{key:"load",value:function(){this.media&&this.media.load()}},{key:"canPlayType",value:function(e){return this.media?this.media.canPlayType(e):!1}},{key:"getBufferedRange",value:function(e){var i=[0,0];if(!this.media)return i;e||(e=this.media.buffered);var n=this.media.currentTime;if(e)for(var s=0,u=e.length;s=this.currentTime)return{start:i.start(n),end:i.end(n)};return e}},{key:"crossOrigin",get:function(){return this.media?this.media.crossOrigin:""},set:function(e){this.media&&(this.media.crossOrigin=e)}},{key:"currentSrc",get:function(){return this.media?this.media.currentSrc:""},set:function(e){this.media&&(this.media.currentSrc=e)}},{key:"currentTime",get:function(){return this.media?this.media.currentTime!==void 0?this.media.currentTime:this._currentTime:0},set:function(e){this.media&&(this.media.currentTime=e)}},{key:"defaultMuted",get:function(){return this.media?this.media.defaultMuted:!1},set:function(e){this.media&&(this.media.defaultMuted=e)}},{key:"duration",get:function(){return this._duration}},{key:"ended",get:function(){return this.media?this.media.ended:!1}},{key:"error",get:function(){return this.media.error}},{key:"errorNote",get:function(){var e=this.media.error;if(!e)return"";var i=["MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED"];return i[this.media.error.code-1]}},{key:"loop",get:function(){return this.media?this.media.loop:!1},set:function(e){this.media&&(this.media.loop=e)}},{key:"muted",get:function(){return this.media?this.media.muted:!1},set:function(e){!this.media||this.media.muted===e||(this._lastMuted=this.media.muted,this.media.muted=e)}},{key:"networkState",get:function(){return this.media.networkState}},{key:"paused",get:function(){return this.media?this.media.paused:!0}},{key:"playbackRate",get:function(){return this.media?this.media.playbackRate:0},set:function(e){!this.media||e===1/0||(this.media.defaultPlaybackRate=e,this.media.playbackRate=e)}},{key:"played",get:function(){return this.media?this.media.played:null}},{key:"preload",get:function(){return this.media?this.media.preload:!1},set:function(e){this.media&&(this.media.preload=e)}},{key:"readyState",get:function(){return this.media.readyState}},{key:"seekable",get:function(){return this.media?this.media.seekable:!1}},{key:"seeking",get:function(){return this.media?this.media.seeking:!1}},{key:"src",get:function(){return this.media?this.media.src:""},set:function(e){if(this.media){if(this.emit(Qe,e),this.emit(Me),this._currentTime=0,this._duration=0,c.isMSE(this.media)){this.onWaiting();return}this._detachSourceEvents(this.media),c.typeOf(e)==="Array"?this._attachSourceEvents(this.media,e):e?this.media.src=e:this.media.removeAttribute("src"),this.load()}}},{key:"volume",get:function(){return this.media?this.media.volume:0},set:function(e){e===1/0||!this.media||(this.media.volume=e)}},{key:"aspectRatio",get:function(){return this.media?this.media.videoWidth/this.media.videoHeight:0}},{key:"addInnerOP",value:function(e){this._internalOp[e]=!0}},{key:"removeInnerOP",value:function(e){delete this._internalOp[e]}},{key:"emit",value:function(e,i){for(var n,s=arguments.length,u=new Array(s>2?s-2:0),l=2;l2?s-2:0),l=2;l2?s-2:0),l=2;l2?s-2:0),l=2;l0&&arguments[0]!==void 0?arguments[0]:{name:"xgplayer",version:1,db:null,ojstore:{name:"xg-m4a",keypath:"vid"}};E(this,o),this.indexedDB=window.indexedDB||window.webkitindexedDB,this.IDBKeyRange=window.IDBKeyRange||window.webkitIDBKeyRange,this.myDB=a}return S(o,[{key:"openDB",value:function(r){var t=this,e=this,i=this.myDB.version||1,n=e.indexedDB.open(e.myDB.name,i);n.onerror=function(s){},n.onsuccess=function(s){t.myDB.db=s.target.result,r.call(e)},n.onupgradeneeded=function(s){var u=s.target.result;s.target.transaction,u.objectStoreNames.contains(e.myDB.ojstore.name)||u.createObjectStore(e.myDB.ojstore.name,{keyPath:e.myDB.ojstore.keypath})}}},{key:"deletedb",value:function(){var r=this;r.indexedDB.deleteDatabase(this.myDB.name)}},{key:"closeDB",value:function(){this.myDB.db.close()}},{key:"addData",value:function(r,t){for(var e=this.myDB.db.transaction(r,"readwrite").objectStore(r),i,n=0;n3?t-3:0),i=3;i2&&arguments[2]!==void 0?arguments[2]:{pre:null,next:null};return this.__hooks||(this.__hooks={}),!this.__hooks[o]&&(this.__hooks[o]=null),function(){var t=arguments,e=this;if(r.pre)try{var i;(i=r.pre).call.apply(i,[this].concat(Array.prototype.slice.call(arguments)))}catch(s){throw s.message="[pluginName: ".concat(this.pluginName,":").concat(o,":pre error] >> ").concat(s.message),s}if(this.__hooks&&this.__hooks[o])try{var n=ne(this,o,a);n?n.then?n.then(function(s){s!==!1&&Ne.apply(void 0,[e,a,r.next].concat(Q(t)))}).catch(function(s){throw s}):Ne.apply(void 0,[this,a,r.next].concat(Array.prototype.slice.call(arguments))):n===void 0&&Ne.apply(void 0,[this,a,r.next].concat(Array.prototype.slice.call(arguments)))}catch(s){throw s.message="[pluginName: ".concat(this.pluginName,":").concat(o,"] >> ").concat(s.message),s}else Ne.apply(void 0,[this,a,r.next].concat(Array.prototype.slice.call(arguments)))}.bind(this)}function Xi(o,a){var r=this.__hooks;if(!r||!Array.isArray(r[o]))return-1;for(var t=r[o],e=0;e1?r-1:0),e=1;e1?r-1:0),e=1;e1&&arguments[1]!==void 0?arguments[1]:[];o.__hooks={},a&&a.map(function(r){o.__hooks[r]=null}),Object.defineProperty(o,"hooks",{get:function(){return o.__hooks&&Object.keys(o.__hooks).map(function(t){if(o.__hooks[t])return t})}})}function Zi(o){o.__hooks=null}function ne(o,a,r){for(var t=arguments.length,e=new Array(t>3?t-3:0),i=3;i3?g-3:0),m=3;m1?e-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:{};if(this.player){var i=U(U({},e),{},{pluginName:this.pluginName});this.player.emitUserAction(r,t,i)}}},{key:"hook",value:function(r,t){return Ye.call.apply(Ye,[this].concat(Array.prototype.slice.call(arguments)))}},{key:"useHooks",value:function(r,t){for(var e=arguments.length,i=new Array(e>2?e-2:0),n=2;n2?e-2:0),n=2;n1&&arguments[1]!==void 0?arguments[1]:{},e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";if(this.player)return e&&(t.pluginName=e),this.player.registerPlugin({plugin:r,options:t})}},{key:"getPlugin",value:function(r){return this.player?this.player.getPlugin(r):null}},{key:"__destroy",value:function(){var r=this,t=this.player,e=this.pluginName;this.offAll(),c.clearAllTimers(this),c.checkIsFunction(this.destroy)&&this.destroy(),["player","playerConfig","pluginName","logger","__args","__hooks"].map(function(i){r[i]=null}),t.unRegisterPlugin(e),Zi(this)}}],[{key:"defineGetterOrSetter",value:function(r,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&Object.defineProperty(r,e,t[e])}},{key:"defineMethod",value:function(r,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&typeof t[e]=="function"&&Object.defineProperty(r,e,{configurable:!0,value:t[e]})}},{key:"defaultConfig",get:function(){return{}}},{key:"pluginName",get:function(){return"pluginName"}}]),o}(),ut,ii;function Qn(){if(ii)return ut;ii=1;var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var a=Element.prototype;a.matches=a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}function r(t,e){for(;t&&t.nodeType!==o;){if(typeof t.matches=="function"&&t.matches(e))return t;t=t.parentNode}}return ut=r,ut}var lt,ni;function er(){if(ni)return lt;ni=1;var o=Qn();function a(e,i,n,s,u){var l=t.apply(this,arguments);return e.addEventListener(n,l,u),{destroy:function(){e.removeEventListener(n,l,u)}}}function r(e,i,n,s,u){return typeof e.addEventListener=="function"?a.apply(null,arguments):typeof n=="function"?a.bind(null,document).apply(null,arguments):(typeof e=="string"&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(l){return a(l,i,n,s,u)}))}function t(e,i,n,s){return function(u){u.delegateTarget=o(u.target,i),u.delegateTarget&&s.call(e,u)}}return lt=r,lt}var tr=er();const ri=xt(tr);var ir={CONTROLS:"controls",ROOT:"root"},H={ROOT:"root",ROOT_LEFT:"rootLeft",ROOT_RIGHT:"rootRight",ROOT_TOP:"rootTop",CONTROLS_LEFT:"controlsLeft",CONTROLS_RIGTH:"controlsRight",CONTROLS_RIGHT:"controlsRight",CONTROLS_CENTER:"controlsCenter",CONTROLS:"controls"},si={ICON_DISABLE:"xg-icon-disable",ICON_HIDE:"xg-icon-hide"};function ct(o){return o?o.indexOf&&/^(?:http|data:|\/)/.test(o):!1}function nr(o,a){return W(o)==="object"&&o.class&&typeof o.class=="string"?"".concat(a," ").concat(o.class):a}function rr(o,a){return W(o)==="object"&&o.attr&&W(o.attr)==="object"&&Object.keys(o.attr).map(function(r){a[r]=o.attr[r]}),a}function ai(o,a){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},e=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"",i=null;if(o instanceof window.Element)return c.addClass(o,r),Object.keys(t).map(function(n){o.setAttribute(n,t[n])}),o;if(ct(o)||ct(o.url))return t.src=ct(o)?o:o.url||"",i=c.createDom(o.tag||"img","",t,"xg-img ".concat(r)),i;if(typeof o=="function")try{return i=o(),i instanceof window.Element?(c.addClass(i,r),Object.keys(t).map(function(n){i.setAttribute(n,t[n])}),i):(D.logWarn("warn>>icons.".concat(a," in config of plugin named [").concat(e,"] is a function mast return an Element Object")),null)}catch(n){return D.logError("Plugin named [".concat(e,"]:createIcon"),n),null}return typeof o=="string"?c.createDomFromHtml(o,t,r):(D.logWarn("warn>>icons.".concat(a," in config of plugin named [").concat(e,"] is invalid")),null)}function sr(o,a){var r=a.config.icons||a.playerConfig.icons;Object.keys(o).map(function(t){var e=o[t],i=e&&e.class?e.class:"",n=e&&e.attr?e.attr:{},s=null;r&&r[t]&&(i=nr(r[t],i),n=rr(r[t],n),s=ai(r[t],t,i,n,a.pluginName)),!s&&e&&(s=ai(e.icon?e.icon:e,n,i,{},a.pluginName)),a.icons[t]=s})}function ar(o,a){Object.keys(o).map(function(r){Object.defineProperty(a.langText,r,{get:function(){var e=a.lang,i=a.i18n;return i[r]?i[r]:o[r]&&o[r][e]||""}})})}var N=function(o){w(r,o);var a=x(r);function r(){var t,e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return E(this,r),t=a.call(this,e),t.__delegates=[],t}return S(r,[{key:"__init",value:function(e){if(I(P(r.prototype),"__init",this).call(this,e),!!e.root){var i=e.root,n=null;this.icons={},this.root=null,this.parent=null;var s=this.registerIcons()||{};sr(s,this),this.langText={};var u=this.registerLanguageTexts()||{};ar(u,this);var l="";try{l=this.render()}catch(d){throw D.logError("Plugin:".concat(this.pluginName,":render"),d),new Error("Plugin:".concat(this.pluginName,":render:").concat(d.message))}if(l)n=r.insert(l,i,e.index),n.setAttribute("data-index",e.index);else if(e.tag)n=c.createDom(e.tag,"",e.attr,e.name),n.setAttribute("data-index",e.index),i.appendChild(n);else return;this.root=n,this.parent=i;var f=this.config.attr||{},h=this.config.style||{};this.setAttr(f),this.setStyle(h),this.config.index&&this.root.setAttribute("data-index",this.config.index),this.__registerChildren()}}},{key:"__registerChildren",value:function(){var e=this;if(this.root){this._children=[];var i=this.children();i&&W(i)==="object"&&Object.keys(i).length>0&&Object.keys(i).map(function(n){var s=n,u=i[s],l={root:e.root},f,h;typeof u=="function"?(f=e.config[s]||{},h=u):W(u)==="object"&&typeof u.plugin=="function"&&(f=u.options?c.deepCopy(e.config[s]||{},u.options):e.config[s]||{},h=u.plugin),l.config=f,f.index!==void 0&&(l.index=f.index),f.root&&(l.root=f.root),e.registerPlugin(h,l,s)})}}},{key:"updateLang",value:function(e){e||(e=this.lang);function i(l,f){for(var h=0;h0?i(l.children[h],f):f(l.children[h])}var n=this.root,s=this.i18n,u=this.langText;n&&i(n,function(l){var f=l.getAttribute&&l.getAttribute("lang-key");if(f){var h=s[f.toUpperCase()]||u[f];h&&(l.innerHTML=typeof h=="function"?h(e):h)}})}},{key:"lang",get:function(){return this.player.lang}},{key:"changeLangTextKey",value:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=this.i18n||{},s=this.langText;e.setAttribute&&e.setAttribute("lang-key",i);var u=n[i]||s[i]||"";u&&(e.innerHTML=u)}},{key:"plugins",value:function(){return this._children}},{key:"disable",value:function(){this.config.disable=!0,c.addClass(this.find(".xgplayer-icon"),si.ICON_DISABLE)}},{key:"enable",value:function(){this.config.disable=!1,c.removeClass(this.find(".xgplayer-icon"),si.ICON_DISABLE)}},{key:"children",value:function(){return{}}},{key:"registerPlugin",value:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";i.root=i.root||this.root;var s=I(P(r.prototype),"registerPlugin",this).call(this,e,i,n);return this._children.push(s),s}},{key:"registerIcons",value:function(){return{}}},{key:"registerLanguageTexts",value:function(){return{}}},{key:"find",value:function(e){if(this.root)return this.root.querySelector(e)}},{key:"bind",value:function(e,i,n){var s=this;if(arguments.length<3&&typeof i=="function")Array.isArray(e)?e.forEach(function(l){s.bindEL(l,i)}):this.bindEL(e,i);else{var u=r.delegate.call(this,this.root,e,i,n);this.__delegates=this.__delegates.concat(u)}}},{key:"unbind",value:function(e,i){var n=this;if(arguments.length<3&&typeof i=="function")Array.isArray(e)?e.forEach(function(l){n.unbindEL(l,i)}):this.unbindEL(e,i);else for(var s="".concat(e,"_").concat(i),u=0;u2&&arguments[2]!==void 0?arguments[2]:!1;this.root&&"on".concat(e)in this.root&&typeof i=="function"&&this.root.addEventListener(e,i,n)}},{key:"unbindEL",value:function(e,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.root&&"on".concat(e)in this.root&&typeof i=="function"&&this.root.removeEventListener(e,i,n)}},{key:"show",value:function(e){if(this.root){this.root.style.display=e!==void 0?e:"block";var i=window.getComputedStyle(this.root,null),n=i.getPropertyValue("display");if(n==="none")return this.root.style.display="block"}}},{key:"hide",value:function(){this.root&&(this.root.style.display="none")}},{key:"appendChild",value:function(e,i){if(!this.root)return null;if(arguments.length<2&&arguments[0]instanceof window.Element)return this.root.appendChild(arguments[0]);if(!i||!(i instanceof window.Element))return null;try{return typeof e=="string"?this.find(e).appendChild(i):e.appendChild(i)}catch(n){return D.logError("Plugin:appendChild",n),null}}},{key:"render",value:function(){return""}},{key:"destroy",value:function(){}},{key:"__destroy",value:function(){var e=this,i=this.player;this.__delegates.map(function(n){n.destroy()}),this.__delegates=[],this._children instanceof Array&&(this._children.map(function(n){i.unRegisterPlugin(n.pluginName)}),this._children=null),this.root&&(this.root.hasOwnProperty("remove")?this.root.remove():this.root.parentNode&&this.root.parentNode.removeChild(this.root)),I(P(r.prototype),"__destroy",this).call(this),this.icons={},["root","parent"].map(function(n){e[n]=null})}}],[{key:"insert",value:function(e,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=i.children.length,u=Number(n),l=e instanceof window.Node;if(s){for(var f=0,h=null,d="";f=u){d="beforebegin";break}else g4&&arguments[4]!==void 0?arguments[4]:!1,l=[];if(e instanceof window.Node&&typeof s=="function")if(Array.isArray(n))n.forEach(function(h){var d=ri(e,i,h,s,u);d.key="".concat(i,"_").concat(h),l.push(d)});else{var f=ri(e,i,n,s,u);f.key="".concat(i,"_").concat(n),l.push(f)}return l}},{key:"ROOT_TYPES",get:function(){return ir}},{key:"POSITIONS",get:function(){return H}}]),r}(ge),or=function(){function o(){var a=this;if(E(this,o),y(this,"__trigger",function(r){var t=new Date().getTime();a.timeStamp=t;for(var e=0;e-1?this.__handlers[n].handler=t:this.__handlers.push({target:r,handler:t,playerId:e})}}},{key:"unObserver",value:function(r){var t=-1;this.__handlers.map(function(i,n){r===i.target&&(t=n)});try{var e;(e=this.observer)===null||e===void 0||e.unobserve(r)}catch(i){}t>-1&&this.__handlers.splice(t,1)}},{key:"destroyObserver",value:function(){var r;(r=this.observer)===null||r===void 0||r.disconnect(),this.observer=null,this.__handlers=null}},{key:"__runHandler",value:function(r){for(var t=this.__handlers,e=0;e2&&arguments[2]!==void 0?arguments[2]:{};if(!(!a||!r||typeof r!="function"||r.prototype===void 0)){var e=a._pluginInfoId;if(!(!e||!this.pluginGroup[e])){this.pluginGroup[e]._plugins||(this.pluginGroup[e]._plugins={});var i=this.pluginGroup[e]._plugins,n=this.pluginGroup[e]._originalOptions;t.player=a;var s=t.pluginName||r.pluginName;if(!s)throw new Error("The property pluginName is necessary");if(r.isSupported&&!r.isSupported(a.config.mediaType,a.config.codecType)){console.warn("not supported plugin [".concat(s,"]"));return}t.config||(t.config={});for(var u=Object.keys(n),l=0;l1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(this.root){var s=e.defaultConfig||{};if(!i.root){var u=i.position?i.position:i.config&&i.config.position?i.config.position:s.position;switch(u){case H.CONTROLS_LEFT:i.root=this.left;break;case H.CONTROLS_RIGHT:i.root=this.right;break;case H.CONTROLS_CENTER:i.root=this.center;break;case H.CONTROLS:i.root=this.root;break;default:i.root=this.left}return I(P(r.prototype),"registerPlugin",this).call(this,e,i,n)}}}},{key:"destroy",value:function(){L.device!=="mobile"&&(this.unbind("mouseenter",this.onMouseEnter),this.unbind("mouseleave",this.onMouseLeave))}},{key:"render",value:function(){var e=this.config,i=e.mode,n=e.autoHide,s=e.initShow,u=e.disable;if(!u){var l=c.classNames({"xgplayer-controls":!0},{"flex-controls":i==="flex"},{"bottom-controls":i==="bottom"},y({},C.CONTROLS_AUTOHIDE,n),{"xgplayer-controls-initshow":s||!n});return' diff --git a/assets/index-CPGYCljv.js b/assets/index-Dw2-9OhJ.js similarity index 81% rename from assets/index-CPGYCljv.js rename to assets/index-Dw2-9OhJ.js index 278078af..69d8320d 100644 --- a/assets/index-CPGYCljv.js +++ b/assets/index-Dw2-9OhJ.js @@ -1 +1 @@ -var n=(s,i,e)=>new Promise((a,c)=>{var g=t=>{try{r(e.next(t))}catch(o){c(o)}},m=t=>{try{r(e.throw(t))}catch(o){c(o)}},r=t=>t.done?a(t.value):Promise.resolve(t.value).then(g,m);r((e=e.apply(s,i)).next())});import{r as p}from"./index-DHbc4UQl.js";const f=()=>n(void 0,null,function*(){return p.get({url:"/mock/dict/one"})});export{f as g}; +var n=(s,i,e)=>new Promise((a,c)=>{var g=t=>{try{r(e.next(t))}catch(o){c(o)}},m=t=>{try{r(e.throw(t))}catch(o){c(o)}},r=t=>t.done?a(t.value):Promise.resolve(t.value).then(g,m);r((e=e.apply(s,i)).next())});import{r as p}from"./index-wnyZ7Zvr.js";const f=()=>n(void 0,null,function*(){return p.get({url:"/mock/dict/one"})});export{f as g}; diff --git a/assets/index-eEONdqWJ.js b/assets/index-eEONdqWJ.js deleted file mode 100644 index f63901cb..00000000 --- a/assets/index-eEONdqWJ.js +++ /dev/null @@ -1 +0,0 @@ -import{r as e}from"./index-DHbc4UQl.js";const t=()=>e.get({url:"/mock/role/table"});export{t as g}; diff --git a/assets/index-iuvt-R6t.js b/assets/index-iuvt-R6t.js new file mode 100644 index 00000000..db5f2634 --- /dev/null +++ b/assets/index-iuvt-R6t.js @@ -0,0 +1 @@ +import{r as t}from"./index-wnyZ7Zvr.js";const r=()=>t.get({url:"/mock/menu/list"});export{r as g}; diff --git a/assets/index-DFQGkRZD.js b/assets/index-wRPr5Q4s.js similarity index 83% rename from assets/index-DFQGkRZD.js rename to assets/index-wRPr5Q4s.js index ac12f982..bff2f16f 100644 --- a/assets/index-DFQGkRZD.js +++ b/assets/index-wRPr5Q4s.js @@ -1 +1 @@ -import{r as t}from"./index-DHbc4UQl.js";const r=e=>t.get({url:"/mock/example/list",params:e}),s=e=>t.get({url:"/mock/card/list",params:e}),l=e=>t.get({url:"/mock/example/treeList",params:e}),o=e=>t.post({url:"/mock/example/save",data:e}),p=e=>t.get({url:"/mock/example/detail",params:{id:e}}),i=e=>t.post({url:"/mock/example/delete",data:{ids:e}});export{l as a,s as b,p as c,i as d,r as g,o as s}; +import{r as t}from"./index-wnyZ7Zvr.js";const r=e=>t.get({url:"/mock/example/list",params:e}),s=e=>t.get({url:"/mock/card/list",params:e}),l=e=>t.get({url:"/mock/example/treeList",params:e}),o=e=>t.post({url:"/mock/example/save",data:e}),p=e=>t.get({url:"/mock/example/detail",params:{id:e}}),i=e=>t.post({url:"/mock/example/delete",data:{ids:e}});export{l as a,s as b,p as c,i as d,r as g,o as s}; diff --git a/assets/index-DHbc4UQl.js b/assets/index-wnyZ7Zvr.js similarity index 96% rename from assets/index-DHbc4UQl.js rename to assets/index-wnyZ7Zvr.js index 4f12a0cf..04fe2ed0 100644 --- a/assets/index-DHbc4UQl.js +++ b/assets/index-wnyZ7Zvr.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Department-C5C6D85i.js","assets/ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js","assets/Icon-CdhVCYkm.js","assets/vue-chunks-ChjHxF1G.js","assets/element-plus-CUBv5pjL.js","assets/Icon-D-aJjhUp.css","assets/el-card-fwQOLwdi.css","assets/el-popper-DG5wR-qi.css","assets/Search.vue_vue_type_script_setup_true_lang-D-U57YTU.js","assets/Form-Cq-QZJdy.js","assets/el-radio-button-BNBtg-nU.js","assets/el-radio-button-B78UD0vY.css","assets/InputPassword-B_t5xWgQ.js","assets/InputPassword-qSCAHEnt.css","assets/style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js","assets/wang-editor-qsc5EwLN.js","assets/style-Bxz62H_n.css","assets/JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js","assets/JsonEditor-Imkheof_.css","assets/IconPicker-DQ9E_oKs.js","assets/IconPicker-Div6PzmZ.css","assets/el-pagination-BNQcHhjS.css","assets/el-tag-DljBBxJR.css","assets/el-select-BaQA8IKP.css","assets/Form-Co8432sJ.css","assets/el-form-item-CKZiX9BY.css","assets/el-col-Ds2mGN2S.css","assets/el-checkbox-DIPHKmvR.css","assets/el-input-number-DTeFLKxK.css","assets/el-divider-BUtF_RGI.css","assets/el-tree-C2sTlbKd.css","assets/el-progress-DBWeHy1f.css","assets/useForm-B1_iUn_7.js","assets/Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js","assets/useIcon-CKHK9-or.js","assets/Dialog.vue_vue_type_style_index_0_lang-nsnCt3_1.js","assets/Dialog-EOOtDb9H.css","assets/Table.vue_vue_type_script_lang-B22YyWum.js","assets/index-BQQdmLe5.js","assets/index-CKpcPpbR.css","assets/Table-B2A8obam.css","assets/el-table-column-CBdd4Iyj.css","assets/el-image-viewer-C8DJ3a5T.css","assets/el-dropdown-item-11ZCvSOX.css","assets/el-drawer-CpuVa63I.css","assets/index-DVP3NWK5.js","assets/useTable-B0KZmPSP.js","assets/Write.vue_vue_type_script_setup_true_lang-CPowj1Ha.js","assets/useValidator-Nt61Jv1p.js","assets/Detail.vue_vue_type_script_setup_true_lang-7ShYqy7f.js","assets/Descriptions-CzZKAhwM.js","assets/Descriptions-BcFzvVFM.css","assets/useCrudSchemas-DdqHtvsp.js","assets/tree-Dgaev6Pi.js","assets/Detail-D0nfR0GF.js","assets/Write-C_erNWyS.js","assets/Menu-BnxyyFaH.js","assets/index-CjJH7ccC.js","assets/Write.vue_vue_type_script_setup_true_lang-CckuT9uE.js","assets/AddButtonPermission.vue_vue_type_script_setup_true_lang-DuimvjZC.js","assets/Write-Du63PGr7.css","assets/Detail.vue_vue_type_script_setup_true_lang-DH3x2BBE.js","assets/AddButtonPermission-B8TH2K3O.js","assets/Detail-C2Ng9oK6.js","assets/Write-HeqJSiNs.js","assets/Role-ekj1GbUi.js","assets/index-eEONdqWJ.js","assets/Write.vue_vue_type_script_setup_true_lang-CCaiKO23.js","assets/Detail.vue_vue_type_script_setup_true_lang-BRxK8yrz.js","assets/Detail-Dt0elAQ9.js","assets/Write-DnmvdHta.js","assets/User-B4SjHWuj.js","assets/Write.vue_vue_type_script_setup_true_lang-CcmM6xjl.js","assets/Detail.vue_vue_type_script_setup_true_lang-CaWgxeP_.js","assets/Detail-4sc3_iLC.js","assets/Write-Bw97qwh5.js","assets/CountTo-D4X9qZ89.js","assets/CountTo.vue_vue_type_script_setup_true_lang-g8sL_no4.js","assets/Descriptions--u1xvnS0.js","assets/Descriptions-BYpLu4dI.css","assets/Dialog-DJZkjZet.js","assets/index-CPGYCljv.js","assets/Echart.vue_vue_type_script_setup_true_lang-CQl_xxzM.js","assets/Echart.vue_vue_type_script_setup_true_lang-DnJJbKlI.js","assets/echarts-DNv_PrpY.js","assets/Echart-5azuN68U.js","assets/CodeEditor-BEzINA0Y.js","assets/CodeEditor-DikjCtKv.css","assets/Editor-DFQI76OW.js","assets/JsonEditor-BGmKji5m.js","assets/DefaultForm-Dh9MD6vF.js","assets/DefaultForm-BuwUJ48D.css","assets/UseFormDemo-DZPTJ2XC.js","assets/UseFormDemo-CRUuH019.css","assets/Highlight-Cl0yHROR.js","assets/Highlight.vue_vue_type_script_lang-DurFEquh.js","assets/Icon-DlM7WIYN.js","assets/Infotip.vue_vue_type_script_setup_true_lang-nMjZ8saZ.js","assets/IconPicker-BDI0d7RO.js","assets/ImageCropping-BsfX8iwY.js","assets/ImageCropping-J8w7y2qu.css","assets/ImageViewer-BCj9bDfj.js","assets/Infotip-BqE8s74y.js","assets/InputPassword-B5LjKqPC.js","assets/Qrcode-uZHiTaF5.js","assets/logo-CqD-cdkl.js","assets/Qrcode-8402dAXi.css","assets/Search-CnrbA_Xc.js","assets/Search-Cge_AruW.css","assets/CardTable-DTkm0w2u.js","assets/index-DFQGkRZD.js","assets/el-link-Dkj8bMmD.css","assets/DefaultTable-BJJvZkhr.js","assets/TableImagePreview-7urd2aaJ.js","assets/TableVideoPreview-Do6ykb1S.js","assets/TreeTable-VW3aBxkT.js","assets/TreeTable-CeGMdEWQ.css","assets/UseTableDemo-CYYBYN6L.js","assets/UseTableDemo-DTdLHelk.css","assets/VideoPlayer-Cp5IbmHZ.js","assets/Waterfall-DtRTP80y.js","assets/Analysis-zj_VDP5d.js","assets/PanelGroup-BQ99DrB-.js","assets/PanelGroup-OlA_3NnW.css","assets/el-skeleton-item-BLY1jEuR.css","assets/Workplace-BeEV4fv_.js","assets/avatar-CIGAabYz.js","assets/403-CnRHHCrJ.js","assets/Error.vue_vue_type_script_setup_true_lang-B0aIg5iw.js","assets/404-BKfga0Uu.js","assets/500-COoO2h7N.js","assets/ExampleDialog-C8ADQ1fU.js","assets/Write.vue_vue_type_script_setup_true_lang-yBnrTVwy.js","assets/Detail.vue_vue_type_script_setup_true_lang-JbtuF_S2.js","assets/Detail-BtARhvZe.js","assets/Write-LswfH9i1.js","assets/ExampleAdd-it-453Mt.js","assets/Write.vue_vue_type_script_setup_true_lang-DWoLw2ys.js","assets/ContentDetailWrap.vue_vue_type_script_setup_true_lang-BkzQY2Fe.js","assets/useEventBus-CGLr9wTq.js","assets/ExampleDetail-DCEa9X2-.js","assets/Detail.vue_vue_type_script_setup_true_lang-HZfjDJgG.js","assets/ExampleEdit-CR38Szb2.js","assets/ExamplePage-CQvORskv.js","assets/Detail-m7a5N8W2.js","assets/Write-mP3B8ACp.js","assets/MultipleTabs-aIk0Mle1.js","assets/MultipleTabsDemo-kTOUOpYL.js","assets/useTagsView-CijhIO7t.js","assets/Request-BOZrtJGd.js","assets/Test-B45QZFfm.js","assets/Guide-BcwvGLxh.js","assets/Guide-BXjlMtfo.css","assets/HomeView-Bh1E7SjH.js","assets/Menu111-CTvkJeB3.js","assets/Menu12-CwOmbDhY.js","assets/Menu2-eNKIVwxQ.js","assets/Login-DZqDEiBM.js","assets/LoginForm.vue_vue_type_script_setup_true_lang-B_w0J2SY.js","assets/RegisterForm.vue_vue_type_script_setup_true_lang-BNRPQB3d.js","assets/ThemeSwitch-Ct6XHugw.js","assets/ThemeSwitch-DmzcMem7.css","assets/Login-Ce_mzG1y.css","assets/LoginForm-CBofAzQ_.js","assets/RegisterForm-Bk48RHaa.js","assets/Redirect-Dp-dz-Ac.js","assets/useClipboard-DvdUTWVq.js","assets/useCrudSchemas-EqAlQvZJ.js","assets/useNetwork-OuhEptXZ.js","assets/useTagsView-DGPX7zkv.js","assets/useValidator--00tdyYQ.js","assets/useWatermark-DaAwyLnq.js","assets/Layout-Dyynae5W.js","assets/Layout-9p1-t-kF.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Department-CT-Tkbul.js","assets/ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js","assets/Icon-BTLftY2_.js","assets/vue-chunks-ChjHxF1G.js","assets/element-plus-CUBv5pjL.js","assets/Icon-D-aJjhUp.css","assets/el-card-fwQOLwdi.css","assets/el-popper-DG5wR-qi.css","assets/Search.vue_vue_type_script_setup_true_lang-BJBGl7Mf.js","assets/Form-BTUMYN5B.js","assets/el-radio-button-DcVH7Drv.js","assets/el-radio-button-B78UD0vY.css","assets/InputPassword-B4kdpMyw.js","assets/InputPassword-qSCAHEnt.css","assets/style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js","assets/wang-editor-qsc5EwLN.js","assets/style-Bxz62H_n.css","assets/JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js","assets/JsonEditor-Imkheof_.css","assets/IconPicker-DRoe2BX4.js","assets/IconPicker-Div6PzmZ.css","assets/el-pagination-BNQcHhjS.css","assets/el-tag-DljBBxJR.css","assets/el-select-BaQA8IKP.css","assets/Form-Co8432sJ.css","assets/el-form-item-CKZiX9BY.css","assets/el-col-Ds2mGN2S.css","assets/el-checkbox-DIPHKmvR.css","assets/el-input-number-DTeFLKxK.css","assets/el-divider-BUtF_RGI.css","assets/el-tree-C2sTlbKd.css","assets/el-progress-DBWeHy1f.css","assets/useForm-B3urKjox.js","assets/Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js","assets/useIcon-B724d8dT.js","assets/Dialog.vue_vue_type_style_index_0_lang-BoblqZ6B.js","assets/Dialog-EOOtDb9H.css","assets/Table.vue_vue_type_script_lang-DWskqAmn.js","assets/index-DBEGipag.js","assets/index-CKpcPpbR.css","assets/Table-B2A8obam.css","assets/el-table-column-CBdd4Iyj.css","assets/el-image-viewer-C8DJ3a5T.css","assets/el-dropdown-item-11ZCvSOX.css","assets/el-drawer-CpuVa63I.css","assets/index-B_-BHM8A.js","assets/useTable-CCTWSpiR.js","assets/Write.vue_vue_type_script_setup_true_lang-BxVx4IpO.js","assets/useValidator-Nt61Jv1p.js","assets/Detail.vue_vue_type_script_setup_true_lang-Cny8NhwP.js","assets/Descriptions-rpjc8zzb.js","assets/Descriptions-BcFzvVFM.css","assets/useCrudSchemas-DdqHtvsp.js","assets/tree-Dgaev6Pi.js","assets/Detail-DiOqeDqA.js","assets/Write-CHNSlToc.js","assets/Menu-juqxCjCo.js","assets/index-iuvt-R6t.js","assets/Write.vue_vue_type_script_setup_true_lang-yRGGtvFF.js","assets/AddButtonPermission.vue_vue_type_script_setup_true_lang-BMs1Poyx.js","assets/Write-Du63PGr7.css","assets/Detail.vue_vue_type_script_setup_true_lang-OorPkSVl.js","assets/AddButtonPermission-PX8OWnbU.js","assets/Detail-BmxW-dC0.js","assets/Write-o_Ty8ubp.js","assets/Role-CNvE3WMG.js","assets/index-BxYrjAxU.js","assets/Write.vue_vue_type_script_setup_true_lang-CUmHDdQF.js","assets/Detail.vue_vue_type_script_setup_true_lang-CCD8ZcPJ.js","assets/Detail-djoFnPGT.js","assets/Write-DnyGiie8.js","assets/User-ClfDpmHQ.js","assets/Write.vue_vue_type_script_setup_true_lang-B4zYXPIq.js","assets/Detail.vue_vue_type_script_setup_true_lang-aWVdu_MR.js","assets/Detail-CyFuQtkj.js","assets/Write-v5CwIKFi.js","assets/CountTo-CH36VAch.js","assets/CountTo.vue_vue_type_script_setup_true_lang-D4Y-eB8W.js","assets/Descriptions-DW3GVgul.js","assets/Descriptions-BYpLu4dI.css","assets/Dialog-C5agpchq.js","assets/index-Dw2-9OhJ.js","assets/Echart.vue_vue_type_script_setup_true_lang-8zTOKyf-.js","assets/Echart.vue_vue_type_script_setup_true_lang-BvfM6q8e.js","assets/echarts-DNv_PrpY.js","assets/Echart-DmGiZfu_.js","assets/CodeEditor-B5qkoQbs.js","assets/CodeEditor-DikjCtKv.css","assets/Editor-B3tCMAco.js","assets/JsonEditor-zaPyVnuj.js","assets/DefaultForm-DsmB2kiS.js","assets/DefaultForm-BuwUJ48D.css","assets/UseFormDemo-DpljFsZ8.js","assets/UseFormDemo-CRUuH019.css","assets/Highlight-CKZh1vpZ.js","assets/Highlight.vue_vue_type_script_lang-BFIi4_k_.js","assets/Icon-Dqr2xHxm.js","assets/Infotip.vue_vue_type_script_setup_true_lang-DijMvXPW.js","assets/IconPicker-xreVUfVq.js","assets/ImageCropping-DxUYpy0B.js","assets/ImageCropping-J8w7y2qu.css","assets/ImageViewer-BOf9L9uI.js","assets/Infotip-GXE8Z7-L.js","assets/InputPassword-Bb3KYe36.js","assets/Qrcode-DVJsoV0Q.js","assets/logo-CqD-cdkl.js","assets/Qrcode-8402dAXi.css","assets/Search-DgAux1Qa.js","assets/Search-Cge_AruW.css","assets/CardTable-Bw7janir.js","assets/index-wRPr5Q4s.js","assets/el-link-Dkj8bMmD.css","assets/DefaultTable-BwJ06UZq.js","assets/TableImagePreview-TQvekAeQ.js","assets/TableVideoPreview-dskQFQoF.js","assets/TreeTable-Cdrgo-oH.js","assets/TreeTable-CeGMdEWQ.css","assets/UseTableDemo-Dz53_phS.js","assets/UseTableDemo-DTdLHelk.css","assets/VideoPlayer-D61ftkwv.js","assets/Waterfall-Cl9cBNyL.js","assets/Analysis-zpqCMMyB.js","assets/PanelGroup-DFIPybM9.js","assets/PanelGroup-OlA_3NnW.css","assets/el-skeleton-item-BLY1jEuR.css","assets/Workplace-bECAtLqj.js","assets/avatar-CIGAabYz.js","assets/403-C8zlE3NN.js","assets/Error.vue_vue_type_script_setup_true_lang--bmLm9t-.js","assets/404-DeNxoW2L.js","assets/500-lB2W0Nmh.js","assets/ExampleDialog-CfF_W4Cz.js","assets/Write.vue_vue_type_script_setup_true_lang-sb3KtAtc.js","assets/Detail.vue_vue_type_script_setup_true_lang-BRFp-Yeo.js","assets/Detail-hm17oh4g.js","assets/Write-BuCNNk6h.js","assets/ExampleAdd-DrUZi0UV.js","assets/Write.vue_vue_type_script_setup_true_lang-Cpi5XeJB.js","assets/ContentDetailWrap.vue_vue_type_script_setup_true_lang-DErSb9RI.js","assets/useEventBus-CGLr9wTq.js","assets/ExampleDetail-CJG4v3wL.js","assets/Detail.vue_vue_type_script_setup_true_lang-Mv9acJJj.js","assets/ExampleEdit-DeJwcuSy.js","assets/ExamplePage-DOesSW2Q.js","assets/Detail-BPfZS6hC.js","assets/Write-CYvj7Ptn.js","assets/MultipleTabs-Bh9UBkkQ.js","assets/MultipleTabsDemo-Dih0tn0w.js","assets/useTagsView-zngDgP3k.js","assets/Request-BxlDewr2.js","assets/Test-D54RbRsz.js","assets/Guide-DyAdza91.js","assets/Guide-BXjlMtfo.css","assets/HomeView-Dc4x2cQA.js","assets/Menu111-BYJERKej.js","assets/Menu12-CV0PrZli.js","assets/Menu2-DmSnK1_9.js","assets/Login-ulpAKuw2.js","assets/LoginForm.vue_vue_type_script_setup_true_lang-BJnt7Swo.js","assets/RegisterForm.vue_vue_type_script_setup_true_lang-rMaeBqbr.js","assets/ThemeSwitch-F8Fn7TL9.js","assets/ThemeSwitch-DmzcMem7.css","assets/Login-Ce_mzG1y.css","assets/LoginForm-BaIImPr6.js","assets/RegisterForm-BTz8enix.js","assets/Redirect-Dp-dz-Ac.js","assets/useClipboard-DEl80QDH.js","assets/useCrudSchemas-Bpoua2iq.js","assets/useNetwork-B4kGtv6d.js","assets/useTagsView-Cuqnabeg.js","assets/useValidator-BWnAimwi.js","assets/useWatermark-B0SmaTRL.js","assets/Layout-DgfJ2_4Z.js","assets/Layout-LFIB6Af9.css"])))=>i.map(i=>d[i]); var x1=Object.defineProperty,w1=Object.defineProperties;var D1=Object.getOwnPropertyDescriptors;var er=Object.getOwnPropertySymbols;var Wr=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable;var Pt=(e,G)=>(G=Symbol[e])?G:Symbol.for("Symbol."+e),R1=e=>{throw TypeError(e)};var jr=(e,G,C)=>G in e?x1(e,G,{enumerable:!0,configurable:!0,writable:!0,value:C}):e[G]=C,it=(e,G)=>{for(var C in G||(G={}))Wr.call(G,C)&&jr(e,C,G[C]);if(er)for(var C of er(G))Kr.call(G,C)&&jr(e,C,G[C]);return e},tr=(e,G)=>w1(e,D1(G));var Jr=(e,G)=>{var C={};for(var H in e)Wr.call(e,H)&&G.indexOf(H)<0&&(C[H]=e[H]);if(e!=null&&er)for(var H of er(e))G.indexOf(H)<0&&Kr.call(e,H)&&(C[H]=e[H]);return C};var pt=(e,G,C)=>new Promise((H,W)=>{var K=ne=>{try{Z(C.next(ne))}catch(ee){W(ee)}},Q=ne=>{try{Z(C.throw(ne))}catch(ee){W(ee)}},Z=ne=>ne.done?H(ne.value):Promise.resolve(ne.value).then(K,Q);Z((C=C.apply(e,G)).next())}),bt=function(e,G){this[0]=e,this[1]=G},fr=(e,G,C)=>{var H=(Q,Z,ne,ee)=>{try{var ie=C[Q](Z),ce=(Z=ie.value)instanceof bt,pe=ie.done;Promise.resolve(ce?Z[0]:Z).then(de=>ce?H(Q==="return"?Q:"next",Z[1]?{done:de.done,value:de.value}:de,ne,ee):ne({value:de,done:pe})).catch(de=>H("throw",de,ne,ee))}catch(de){ee(de)}},W=Q=>K[Q]=Z=>new Promise((ne,ee)=>H(Q,Z,ne,ee)),K={};return C=C.apply(e,G),K[Pt("asyncIterator")]=()=>K,W("next"),W("throw"),W("return"),K},Ar=e=>{var G=e[Pt("asyncIterator")],C=!1,H,W={};return G==null?(G=e[Pt("iterator")](),H=K=>W[K]=Q=>G[K](Q)):(G=G.call(e),H=K=>W[K]=Q=>{if(C){if(C=!1,K==="throw")throw Q;return Q}return C=!0,{done:!1,value:new bt(new Promise(Z=>{var ne=G[K](Q);ne instanceof Object||R1("Object expected"),Z(ne)}),1)}}),W[Pt("iterator")]=()=>W,H("next"),"throw"in G?H("throw"):W.throw=K=>{throw K},"return"in G&&H("return"),W},Xr=(e,G,C)=>(G=e[Pt("asyncIterator")])?G.call(e):(e=e[Pt("iterator")](),G={},C=(H,W)=>(W=e[H])&&(G[H]=K=>new Promise((Q,Z,ne)=>(K=W.call(e,K),ne=K.done,Promise.resolve(K.value).then(ee=>Q({value:ee,done:ne}),Z)))),C("next"),C("return"),G);import{av as createPinia,aw as defineStore,u as unref,y as defineComponent,o as onMounted,w as watch,K as createBlock,z as openBlock,L as withCtx,v as provide,B as renderSlot,c as computed,ae as resolveComponent,O as createVNode,J as normalizeClass,ax as createRouter,ay as createWebHashHistory,az as createWebHistory,r as ref$1,n as nextTick,as as createApp}from"./vue-chunks-ChjHxF1G.js";import{E as ElMessage,u as useCssVar,a as useDark,b as useWindowSize,c as ElConfigProvider,d as cloneDeep,o as omit,e as ElLoading,f as ElScrollbar,g as getDefaultExportFromCjs,h as getAugmentedNamespace,i as commonjsGlobal,j as ElMessageBox}from"./element-plus-CUBv5pjL.js";(function(){const G=document.createElement("link").relList;if(G&&G.supports&&G.supports("modulepreload"))return;for(const W of document.querySelectorAll('link[rel="modulepreload"]'))H(W);new MutationObserver(W=>{for(const K of W)if(K.type==="childList")for(const Q of K.addedNodes)Q.tagName==="LINK"&&Q.rel==="modulepreload"&&H(Q)}).observe(document,{childList:!0,subtree:!0});function C(W){const K={};return W.integrity&&(K.integrity=W.integrity),W.referrerPolicy&&(K.referrerPolicy=W.referrerPolicy),W.crossOrigin==="use-credentials"?K.credentials="include":W.crossOrigin==="anonymous"?K.credentials="omit":K.credentials="same-origin",K}function H(W){if(W.ep)return;W.ep=!0;const K=C(W);fetch(W.href,K)}})();if(typeof window!="undefined"){let e=function(){var G=document.body,C=document.getElementById("__svg__icons__dom__");C||(C=document.createElementNS("http://www.w3.org/2000/svg","svg"),C.style.position="absolute",C.style.width="0",C.style.height="0",C.id="__svg__icons__dom__",C.setAttribute("xmlns","http://www.w3.org/2000/svg"),C.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),C.innerHTML='',G.insertBefore(C,G.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const suspectProtoRx=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,suspectConstructorRx=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,JsonSigRx=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,G){if(e==="__proto__"||e==="constructor"&&G&&typeof G=="object"&&"prototype"in G){warnKeyDropped(e);return}return G}function warnKeyDropped(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function destr(e,G={}){if(typeof e!="string")return e;const C=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return C.slice(1,-1);if(C.length<=9){const H=C.toLowerCase();if(H==="true")return!0;if(H==="false")return!1;if(H==="undefined")return;if(H==="null")return null;if(H==="nan")return Number.NaN;if(H==="infinity")return Number.POSITIVE_INFINITY;if(H==="-infinity")return Number.NEGATIVE_INFINITY}if(!JsonSigRx.test(e)){if(G.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(suspectProtoRx.test(e)||suspectConstructorRx.test(e)){if(G.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(H){if(G.strict)throw H;return e}}function get$1(e,G){if(e==null)return;let C=e;for(let H=0;H1&&(G=set(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,H)?Number.isInteger(Number(C[1]))?[]:{}:e[H],G,Array.prototype.slice.call(C,1))),Number.isInteger(Number(H))&&Array.isArray(e)?e.slice()[H]:Object.assign({},e,{[H]:G})}function unset(e,G){if(e==null||G.length===0)return e;if(G.length===1){if(e==null)return e;if(Number.isInteger(G[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(G[0],1);const C={};for(const H in e)C[H]=e[H];return delete C[G[0]],C}if(e[G[0]]==null){if(Number.isInteger(G[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const C={};for(const H in e)C[H]=e[H];return C}return set(e,unset(e[G[0]],Array.prototype.slice.call(G,1)),[G[0]])}function deepPickUnsafe(e,G){return G.map(C=>C.split(".")).map(C=>[C,get$1(e,C)]).filter(C=>C[1]!==void 0).reduce((C,H)=>set(C,H[1],H[0]),{})}function deepOmitUnsafe(e,G){return G.map(C=>C.split(".")).reduce((C,H)=>unset(C,H),e)}function hydrateStore(e,{storage:G,serializer:C,key:H,debug:W,pick:K,omit:Q,beforeHydrate:Z,afterHydrate:ne},ee,ie=!0){try{ie&&(Z==null||Z(ee));const ce=G.getItem(H);if(ce){const pe=C.deserialize(ce),de=K?deepPickUnsafe(pe,K):pe,oe=Q?deepOmitUnsafe(de,Q):de;e.$patch(oe)}ie&&(ne==null||ne(ee))}catch(ce){W&&console.error("[pinia-plugin-persistedstate]",ce)}}function persistState(e,{storage:G,serializer:C,key:H,debug:W,pick:K,omit:Q}){try{const Z=K?deepPickUnsafe(e,K):e,ne=Q?deepOmitUnsafe(Z,Q):Z,ee=C.serialize(ne);G.setItem(H,ee)}catch(Z){W&&console.error("[pinia-plugin-persistedstate]",Z)}}function createPersistence(e,G,C){const{pinia:H,store:W,options:{persist:K=C}}=e;if(!K)return;if(!(W.$id in H.state.value)){const ne=H._s.get(W.$id.replace("__hot:",""));ne&&Promise.resolve().then(()=>ne.$persist());return}const Z=(Array.isArray(K)?K:K===!0?[{}]:[K]).map(G);W.$hydrate=({runHooks:ne=!0}={})=>{Z.forEach(ee=>{hydrateStore(W,ee,e,ne)})},W.$persist=()=>{Z.forEach(ne=>{persistState(W.$state,ne)})},Z.forEach(ne=>{hydrateStore(W,ne,e),W.$subscribe((ee,ie)=>persistState(ie,ne),{detached:!0})})}function createPersistedState(e={}){return function(G){var C;createPersistence(G,H=>{var W,K,Q,Z,ne,ee,ie;return{key:(e.key?e.key:ce=>ce)((W=H.key)!=null?W:G.store.$id),debug:(Q=(K=H.debug)!=null?K:e.debug)!=null?Q:!1,serializer:(ne=(Z=H.serializer)!=null?Z:e.serializer)!=null?ne:{serialize:ce=>JSON.stringify(ce),deserialize:ce=>destr(ce)},storage:(ie=(ee=H.storage)!=null?ee:e.storage)!=null?ie:window.localStorage,beforeHydrate:H.beforeHydrate,afterHydrate:H.afterHydrate,pick:H.pick,omit:H.omit}},(C=e.auto)!=null?C:!1)}}var src_default=createPersistedState();const store=createPinia();store.use(src_default);const setupStore=e=>{e.use(store)},humpToUnderline=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase(),humpToDash=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase(),setCssVar=(e,G,C=document.documentElement)=>{C.style.setProperty(e,G)},getCssVar=(e,G=document.documentElement)=>getComputedStyle(G).getPropertyValue(e),findIndex=(e,G)=>{if(e.findIndex)return e.findIndex(G);let C=-1;return e.some((H,W,K)=>{const Q=G(H,W,K);if(Q)return C=W,Q}),C},trim$1=e=>e.replace(/(^\s*)|(\s*$)/g,"");function formatTime(e,G){if(e){const C=new Date(e),H={"M+":C.getMonth()+1,"d+":C.getDate(),"H+":C.getHours(),"m+":C.getMinutes(),"s+":C.getSeconds(),"q+":Math.floor((C.getMonth()+3)/3),S:C.getMilliseconds()};/(y+)/.test(G)&&(G=G.replace(RegExp.$1,(C.getFullYear()+"").substr(4-RegExp.$1.length)));for(const W in H)new RegExp("("+W+")").test(G)&&(G=G.replace(RegExp.$1,RegExp.$1.length===1?H[W]:("00"+H[W]).substr((""+H[W]).length)));return G}else return""}function toAnyString(){return"xxxxx-xxxxx-4xxxx-yxxxx-xxxxx".replace(/[xy]/g,G=>{const C=Math.random()*16|0;return(G==="x"?C:C&3|8).toString()})}function firstUpperCase(e){return e.toLowerCase().replace(/( |^)[a-z]/g,G=>G.toUpperCase())}function objToFormData(e){const G=new FormData;return Object.keys(e).forEach(C=>{G.append(C,e[C])}),G}const isHexColor=e=>/^#([0-9a-fA-F]{3}|[0-9a-fA-f]{6})$/.test(e),hexToRGB=(e,G)=>{let C=e.toLowerCase();if(isHexColor(e)){if(C.length===4){let W="#";for(let K=1;K<4;K+=1)W+=C.slice(K,K+1).concat(C.slice(K,K+1));C=W}const H=[];for(let W=1;W<7;W+=2)H.push(parseInt("0x"+C.slice(W,W+2)));return G?"RGBA("+H.join(",")+","+G+")":"RGB("+H.join(",")+")"}return C},colorIsDark=e=>{if(!isHexColor(e))return;const[G,C,H]=hexToRGB(e).replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map(W=>Number(W));return G*.299+C*.578+H*.114<192},lighten=(e,G)=>(e=e.indexOf("#")>=0?e.substring(1,e.length):e,G=Math.trunc(255*G/100),`#${addLight(e.substring(0,2),G)}${addLight(e.substring(2,4),G)}${addLight(e.substring(4,6),G)}`),addLight=(e,G)=>{const C=parseInt(e,16)+G,H=C>255?255:C;return H.toString(16).length>1?H.toString(16):`0${H.toString(16)}`},mix=(e,G,C=.5)=>{let H="#";for(let W=0;W<=2;W++){const K=parseInt(e.substring(1+W*2,3+W*2),16),Q=parseInt(G.substring(1+W*2,3+W*2),16),Z=Math.round(K*C+Q*(1-C));H+=Z.toString(16).padStart(2,"0")}return H},useAppStore=defineStore("app",{state:()=>({sizeMap:["default","large","small"],mobile:!1,title:"MicroBuild",pageLoading:!1,breadcrumb:!0,breadcrumbIcon:!0,collapse:!1,uniqueOpened:!1,hamburger:!0,screenfull:!0,size:!0,locale:!0,tagsView:!0,tagsViewIcon:!0,logo:!0,fixedHeader:!0,footer:!0,greyMode:!1,dynamicRouter:!1,serverDynamicRouter:!0,fixedMenu:!1,layout:"classic",isDark:!1,currentSize:"default",theme:{elColorPrimary:"#409eff",leftMenuBorderColor:"inherit",leftMenuBgColor:"#001529",leftMenuBgLightColor:"#0f2438",leftMenuBgActiveColor:"var(--el-color-primary)",leftMenuCollapseBgActiveColor:"var(--el-color-primary)",leftMenuTextColor:"#bfcbd9",leftMenuTextActiveColor:"#fff",logoTitleTextColor:"#fff",logoBorderColor:"inherit",topHeaderBgColor:"#fff",topHeaderTextColor:"inherit",topHeaderHoverColor:"#f6f6f6",topToolBorderColor:"#eee"}}),getters:{getBreadcrumb(){return this.breadcrumb},getBreadcrumbIcon(){return this.breadcrumbIcon},getCollapse(){return this.collapse},getUniqueOpened(){return this.uniqueOpened},getHamburger(){return this.hamburger},getScreenfull(){return this.screenfull},getSize(){return this.size},getLocale(){return this.locale},getTagsView(){return this.tagsView},getTagsViewIcon(){return this.tagsViewIcon},getLogo(){return this.logo},getFixedHeader(){return this.fixedHeader},getGreyMode(){return this.greyMode},getDynamicRouter(){return this.dynamicRouter},getServerDynamicRouter(){return this.serverDynamicRouter},getFixedMenu(){return this.fixedMenu},getPageLoading(){return this.pageLoading},getLayout(){return this.layout},getTitle(){return this.title},getIsDark(){return this.isDark},getCurrentSize(){return this.currentSize},getSizeMap(){return this.sizeMap},getMobile(){return this.mobile},getTheme(){return this.theme},getFooter(){return this.footer}},actions:{setBreadcrumb(e){this.breadcrumb=e},setBreadcrumbIcon(e){this.breadcrumbIcon=e},setCollapse(e){this.collapse=e},setUniqueOpened(e){this.uniqueOpened=e},setHamburger(e){this.hamburger=e},setScreenfull(e){this.screenfull=e},setSize(e){this.size=e},setLocale(e){this.locale=e},setTagsView(e){this.tagsView=e},setTagsViewIcon(e){this.tagsViewIcon=e},setLogo(e){this.logo=e},setFixedHeader(e){this.fixedHeader=e},setGreyMode(e){this.greyMode=e},setDynamicRouter(e){this.dynamicRouter=e},setServerDynamicRouter(e){this.serverDynamicRouter=e},setFixedMenu(e){this.fixedMenu=e},setPageLoading(e){this.pageLoading=e},setLayout(e){if(this.mobile&&e!=="classic"){ElMessage.warning("移动端模式下不支持切换其它布局");return}this.layout=e},setTitle(e){this.title=e},setIsDark(e){this.isDark=e,this.isDark?(document.documentElement.classList.add("dark"),document.documentElement.classList.remove("light")):(document.documentElement.classList.add("light"),document.documentElement.classList.remove("dark")),this.setPrimaryLight()},setCurrentSize(e){this.currentSize=e},setMobile(e){this.mobile=e},setTheme(e){this.theme=Object.assign(this.theme,e)},setCssVarTheme(){for(const e in this.theme)setCssVar(`--${humpToUnderline(e)}`,this.theme[e]);this.setPrimaryLight()},setFooter(e){this.footer=e},setPrimaryLight(){if(this.theme.elColorPrimary){const e=this.theme.elColorPrimary,G=this.isDark?"#000000":"#ffffff";[3,5,7,8,9].forEach(H=>{setCssVar(`--el-color-primary-light-${H}`,mix(G,e,H/10))}),setCssVar("--el-color-primary-dark-2",mix(G,e,.2))}},setMenuTheme(e){const G=useCssVar("--el-color-primary",document.documentElement),C=colorIsDark(e),H={leftMenuBorderColor:C?"inherit":"#eee",leftMenuBgColor:e,leftMenuBgLightColor:C?lighten(e,6):e,leftMenuBgActiveColor:C?"var(--el-color-primary)":hexToRGB(unref(G),.1),leftMenuCollapseBgActiveColor:C?"var(--el-color-primary)":hexToRGB(unref(G),.1),leftMenuTextColor:C?"#bfcbd9":"#333",leftMenuTextActiveColor:C?"#fff":"var(--el-color-primary)",logoTitleTextColor:C?"#fff":"inherit",logoBorderColor:C?e:"#eee"};this.setTheme(H),this.setCssVarTheme()},setHeaderTheme(e){const G=colorIsDark(e),C=G?"#fff":"inherit",H=G?lighten(e,6):"#f6f6f6",W=G?e:"#eee";setCssVar("--top-header-bg-color",e),setCssVar("--top-header-text-color",C),setCssVar("--top-header-hover-color",H),this.setTheme({topHeaderBgColor:e,topHeaderTextColor:C,topHeaderHoverColor:H,topToolBorderColor:W}),this.getLayout==="top"&&this.setMenuTheme(e)},initTheme(){const e=useDark({valueDark:"dark",valueLight:"light"});e.value=this.getIsDark}},persist:!0}),useAppStoreWithOut=()=>useAppStore(store);/*! * is-plain-object * @@ -11,7 +11,7 @@ ${$(Q.join(` `))}`),Z}}:{type:W})}function F(e){return j("arrayOf",{type:Array,validator(G){let C="";const H=G.every(W=>(C=m(e,W,!0),C===!0));return H||d(`arrayOf - value validation error: ${$(C)}`),H}})}function Y(e){return j("instanceOf",{type:e})}function I(e){return j("objectOf",{type:Object,validator(G){let C="";const H=Object.keys(G).every(W=>(C=m(e,G[W],!0),C===!0));return H||d(`objectOf - value validation error: ${$(C)}`),H}})}function J(e){const G=Object.keys(e),C=G.filter(W=>{var K;return!((K=e[W])===null||K===void 0||!K.required)}),H=j("shape",{type:Object,validator(W){if(!c(W))return!1;const K=Object.keys(W);if(C.length>0&&C.some(Q=>K.indexOf(Q)===-1)){const Q=C.filter(Z=>K.indexOf(Z)===-1);return d(Q.length===1?`shape - required property "${Q[0]}" is not defined.`:`shape - required properties "${Q.join('", "')}" are not defined.`),!1}return K.every(Q=>{if(G.indexOf(Q)===-1)return this._vueTypes_isLoose===!0||(d(`shape - shape definition does not include a "${Q}" property. Allowed keys: "${G.join('", "')}".`),!1);const Z=m(e[Q],W[Q],!0);return typeof Z=="string"&&d(`shape - "${Q}" property validation error: - ${$(Z)}`),Z===!0})}});return Object.defineProperty(H,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(H,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),H}const M=["name","validate","getter"],R=(e=>((e=class{static get any(){return w()}static get func(){return x().def(this.defaults.func)}static get bool(){return this.defaults.bool===void 0?P():P().def(this.defaults.bool)}static get string(){return A().def(this.defaults.string)}static get number(){return E().def(this.defaults.number)}static get array(){return S().def(this.defaults.array)}static get object(){return N().def(this.defaults.object)}static get integer(){return V().def(this.defaults.integer)}static get symbol(){return q()}static get nullable(){return k()}static extend(G){if(d("VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details."),v(G))return G.forEach(ne=>this.extend(ne)),this;const{name:C,validate:H=!1,getter:W=!1}=G,K=n(G,M);if(p(this,C))throw new TypeError(`[VueTypes error]: Type "${C}" already defined`);const{type:Q}=K;if(b(Q))return delete K.type,Object.defineProperty(this,C,W?{get:()=>T(C,Q,K)}:{value(...ne){const ee=T(C,Q,K);return ee.validator&&(ee.validator=ee.validator.bind(ee,...ne)),ee}});let Z;return Z=W?{get(){const ne=Object.assign({},K);return H?_(C,ne):j(C,ne)},enumerable:!0}:{value(...ne){const ee=Object.assign({},K);let ie;return ie=H?_(C,ee):j(C,ee),ee.validator&&(ie.validator=ee.validator.bind(ie,...ne)),ie},enumerable:!0},Object.defineProperty(this,C,Z)}}).defaults={},e.sensibleDefaults=void 0,e.config=r,e.custom=D,e.oneOf=L,e.instanceOf=Y,e.oneOfType=B,e.arrayOf=F,e.objectOf=I,e.shape=J,e.utils={validate:(G,C)=>m(C,G,!0)===!0,toType:(G,C,H=!1)=>H?_(G,C):j(G,C)},e))();function U(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var G;return(G=class extends R{static get sensibleDefaults(){return t({},this.defaults)}static set sensibleDefaults(C){this.defaults=C!==!1?t({},C!==!0?C:e):{}}}).defaults=t({},e),G}class z extends U(){}const newPropTypes=U({func:void 0,bool:void 0,string:void 0,number:void 0,object:void 0,integer:void 0});class propTypes extends newPropTypes{static get style(){return _("style",{type:[String,Object]})}}var zhCn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _sfc_main$1=defineComponent({__name:"ConfigGlobal",props:{size:propTypes.oneOf(["default","small","large"]).def("default")},setup(e){const G=useAppStore();provide("configGlobal",e),onMounted(()=>{G.setCssVarTheme()});const{width:H}=useWindowSize();return watch(()=>H.value,W=>{W<768?(G.getMobile||G.setMobile(!0),setCssVar("--left-menu-min-width","0"),G.setCollapse(!0),G.getLayout!=="classic"&&G.setLayout("classic")):(G.getMobile&&G.setMobile(!1),setCssVar("--left-menu-min-width","64px"))},{immediate:!0}),(W,K)=>(openBlock(),createBlock(unref(ElConfigProvider),{namespace:"el",message:{max:1},size:e.size,locale:unref(zhCn)},{default:withCtx(()=>[renderSlot(W.$slots,"default")]),_:3},8,["size","locale"]))}}),_sfc_main=defineComponent({__name:"App",setup(e){const G=useAppStore(),C=computed(()=>G.getCurrentSize),H=computed(()=>G.getGreyMode),W=useDark({valueDark:"dark",valueLight:"light"});return W.value=G.getIsDark,(K,Q)=>{const Z=resolveComponent("RouterView");return openBlock(),createBlock(unref(_sfc_main$1),{size:C.value},{default:withCtx(()=>[createVNode(Z,{class:normalizeClass(H.value?"app-grey-mode":"")},null,8,["class"])]),_:1},8,["size"])}}}),scriptRel="modulepreload",assetsURL=function(e){return"/"+e},seen={},__vitePreload=function(G,C,H){let W=Promise.resolve();if(C&&C.length>0){document.getElementsByTagName("link");const Q=document.querySelector("meta[property=csp-nonce]"),Z=(Q==null?void 0:Q.nonce)||(Q==null?void 0:Q.getAttribute("nonce"));W=Promise.allSettled(C.map(ne=>{if(ne=assetsURL(ne),ne in seen)return;seen[ne]=!0;const ee=ne.endsWith(".css"),ie=ee?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${ne}"]${ie}`))return;const ce=document.createElement("link");if(ce.rel=ee?"stylesheet":scriptRel,ee||(ce.as="script"),ce.crossOrigin="",ce.href=ne,Z&&ce.setAttribute("nonce",Z),document.head.appendChild(ce),ee)return new Promise((pe,de)=>{ce.addEventListener("load",pe),ce.addEventListener("error",()=>de(new Error(`Unable to preload CSS for ${ne}`)))})}))}function K(Q){const Z=new Event("vite:preloadError",{cancelable:!0});if(Z.payload=Q,window.dispatchEvent(Z),!Z.defaultPrevented)throw Q}return W.then(Q=>{for(const Z of Q||[])Z.status==="rejected"&&K(Z.reason);return G().catch(K)})},toString$1=Object.prototype.toString,is=(e,G)=>toString$1.call(e)===`[object ${G}]`,isObject$1=e=>e!==null&&is(e,"Object"),isNumber$1=e=>is(e,"Number"),isString$1=e=>is(e,"String"),isFunction$1=e=>typeof e=="function",isServer=typeof window=="undefined",isClient=!isServer,isUrl=e=>/(((^https?:(?:\/\/)?)(?:[-:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&%@.\w_]*)#?(?:[\w]*))?)$/.test(e),isEmptyVal=e=>e===""||e===null||e===void 0,modules$1=Object.assign({"../views/Authorization/Department/Department.vue":()=>__vitePreload(()=>import("./Department-C5C6D85i.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53])),"../views/Authorization/Department/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-D0nfR0GF.js"),__vite__mapDeps([54,49,50,3,2,4,5,51,7,26])),"../views/Authorization/Department/components/Write.vue":()=>__vitePreload(()=>import("./Write-C_erNWyS.js"),__vite__mapDeps([55,47,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48])),"../views/Authorization/Menu/Menu.vue":()=>__vitePreload(()=>import("./Menu-BnxyyFaH.js"),__vite__mapDeps([56,57,46,37,10,11,2,3,4,5,33,38,39,40,41,27,7,22,21,23,42,6,43,44,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,1,58,48,59,60,61,50,51,35,36])),"../views/Authorization/Menu/components/AddButtonPermission.vue":()=>__vitePreload(()=>import("./AddButtonPermission-B8TH2K3O.js"),__vite__mapDeps([62,59,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33,44])),"../views/Authorization/Menu/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-C2Ng9oK6.js"),__vite__mapDeps([63,61,50,3,2,4,5,51,7,26,22])),"../views/Authorization/Menu/components/Write.vue":()=>__vitePreload(()=>import("./Write-HeqJSiNs.js"),__vite__mapDeps([64,58,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,57,59,33,44,60,41])),"../views/Authorization/Role/Role.vue":()=>__vitePreload(()=>import("./Role-ekj1GbUi.js"),__vite__mapDeps([65,66,46,37,10,11,2,3,4,5,33,38,39,40,41,27,7,22,21,23,42,6,43,44,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,1,67,48,57,53,68,50,51,35,36])),"../views/Authorization/Role/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-Dt0elAQ9.js"),__vite__mapDeps([69,68,50,3,2,4,5,51,7,26,57,22,30,27])),"../views/Authorization/Role/components/Write.vue":()=>__vitePreload(()=>import("./Write-DnmvdHta.js"),__vite__mapDeps([70,67,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,57,53])),"../views/Authorization/User/User.vue":()=>__vitePreload(()=>import("./User-B4SjHWuj.js"),__vite__mapDeps([71,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,45,46,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,72,48,73,50,51,35,36,66,52,53])),"../views/Authorization/User/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-4sc3_iLC.js"),__vite__mapDeps([74,73,50,3,2,4,5,51,7,26])),"../views/Authorization/User/components/Write.vue":()=>__vitePreload(()=>import("./Write-Bw97qwh5.js"),__vite__mapDeps([75,72,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48])),"../views/Components/CountTo.vue":()=>__vitePreload(()=>import("./CountTo-D4X9qZ89.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,77,33,26,28])),"../views/Components/Descriptions.vue":()=>__vitePreload(()=>import("./Descriptions--u1xvnS0.js"),__vite__mapDeps([78,50,3,2,4,5,51,7,26,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,48,32,79])),"../views/Components/Dialog.vue":()=>__vitePreload(()=>import("./Dialog-DJZkjZet.js"),__vite__mapDeps([80,1,2,3,4,5,6,7,35,36,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,81,32,82,83,84])),"../views/Components/Echart.vue":()=>__vitePreload(()=>import("./Echart-5azuN68U.js"),__vite__mapDeps([85,82,1,2,3,4,5,6,7,83,84,26])),"../views/Components/Editor/CodeEditor.vue":()=>__vitePreload(()=>import("./CodeEditor-BEzINA0Y.js").then(e=>e.C),__vite__mapDeps([86,3,4,1,2,5,6,7,33,87,22,23,25,29])),"../views/Components/Editor/Editor.vue":()=>__vitePreload(()=>import("./Editor-DFQI76OW.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,14,15,16])),"../views/Components/Editor/JsonEditor.vue":()=>__vitePreload(()=>import("./JsonEditor-BGmKji5m.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,17,18])),"../views/Components/Form/DefaultForm.vue":()=>__vitePreload(()=>import("./DefaultForm-Dh9MD6vF.js"),__vite__mapDeps([90,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,1,6,81,33,91])),"../views/Components/Form/UseFormDemo.vue":()=>__vitePreload(()=>import("./UseFormDemo-DZPTJ2XC.js"),__vite__mapDeps([92,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,1,6,32,48,81,33,93])),"../views/Components/Highlight.vue":()=>__vitePreload(()=>import("./Highlight-Cl0yHROR.js"),__vite__mapDeps([94,1,2,3,4,5,6,7,95])),"../views/Components/Icon.vue":()=>__vitePreload(()=>import("./Icon-DlM7WIYN.js"),__vite__mapDeps([96,1,2,3,4,5,6,7,97,95,34,33])),"../views/Components/IconPicker.vue":()=>__vitePreload(()=>import("./IconPicker-BDI0d7RO.js"),__vite__mapDeps([98,19,2,3,4,5,20,7,21,22,23,1,6])),"../views/Components/ImageCropping.vue":()=>__vitePreload(()=>import("./ImageCropping-BsfX8iwY.js"),__vite__mapDeps([99,1,2,3,4,5,6,7,33,100,29,31])),"../views/Components/ImageViewer.vue":()=>__vitePreload(()=>import("./ImageViewer-BCj9bDfj.js"),__vite__mapDeps([101,1,2,3,4,5,6,7,33,42])),"../views/Components/Infotip.vue":()=>__vitePreload(()=>import("./Infotip-BqE8s74y.js"),__vite__mapDeps([102,1,2,3,4,5,6,7,97,95])),"../views/Components/InputPassword.vue":()=>__vitePreload(()=>import("./InputPassword-B5LjKqPC.js"),__vite__mapDeps([103,1,2,3,4,5,6,7,12,13])),"../views/Components/Qrcode.vue":()=>__vitePreload(()=>import("./Qrcode-uZHiTaF5.js"),__vite__mapDeps([104,2,3,4,5,1,6,7,105,106,26])),"../views/Components/Search.vue":()=>__vitePreload(()=>import("./Search-CnrbA_Xc.js"),__vite__mapDeps([107,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,81,108])),"../views/Components/Table/CardTable.vue":()=>__vitePreload(()=>import("./CardTable-DTkm0w2u.js"),__vite__mapDeps([109,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,111,29])),"../views/Components/Table/DefaultTable.vue":()=>__vitePreload(()=>import("./DefaultTable-BJJvZkhr.js"),__vite__mapDeps([112,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),"../views/Components/Table/TableImagePreview.vue":()=>__vitePreload(()=>import("./TableImagePreview-7urd2aaJ.js"),__vite__mapDeps([113,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),"../views/Components/Table/TableVideoPreview.vue":()=>__vitePreload(()=>import("./TableVideoPreview-Do6ykb1S.js"),__vite__mapDeps([114,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),"../views/Components/Table/TreeTable.vue":()=>__vitePreload(()=>import("./TreeTable-VW3aBxkT.js"),__vite__mapDeps([115,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,46,116])),"../views/Components/Table/UseTableDemo.vue":()=>__vitePreload(()=>import("./UseTableDemo-CYYBYN6L.js"),__vite__mapDeps([117,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,46,118])),"../views/Components/VideoPlayer.vue":()=>__vitePreload(()=>import("./VideoPlayer-Cp5IbmHZ.js"),__vite__mapDeps([119,38,3,4,2,5,39,1,6,7,33,29])),"../views/Components/Waterfall.vue":()=>__vitePreload(()=>import("./Waterfall-DtRTP80y.js"),__vite__mapDeps([120,4,3,1,2,5,6,7])),"../views/Dashboard/Analysis.vue":()=>__vitePreload(()=>import("./Analysis-zj_VDP5d.js"),__vite__mapDeps([121,122,2,3,4,5,77,123,26,6,124,83,84])),"../views/Dashboard/Workplace.vue":()=>__vitePreload(()=>import("./Workplace-BeEV4fv_.js"),__vite__mapDeps([125,2,3,4,5,126,77,83,84,95,26,124,6,29,111])),"../views/Dashboard/components/PanelGroup.vue":()=>__vitePreload(()=>import("./PanelGroup-BQ99DrB-.js").then(e=>e.c),__vite__mapDeps([122,2,3,4,5,77,123,26,6,124])),"../views/Error/403.vue":()=>__vitePreload(()=>import("./403-CnRHHCrJ.js"),__vite__mapDeps([127,128,33,4,3])),"../views/Error/404.vue":()=>__vitePreload(()=>import("./404-BKfga0Uu.js"),__vite__mapDeps([129,128,33,4,3])),"../views/Error/500.vue":()=>__vitePreload(()=>import("./500-COoO2h7N.js"),__vite__mapDeps([130,128,33,4,3])),"../views/Example/Dialog/ExampleDialog.vue":()=>__vitePreload(()=>import("./ExampleDialog-C8ADQ1fU.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,110,46,132,48,133,50,51,52,53])),"../views/Example/Dialog/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-BtARhvZe.js"),__vite__mapDeps([134,133,50,3,2,4,5,51,7,26])),"../views/Example/Dialog/components/Write.vue":()=>__vitePreload(()=>import("./Write-LswfH9i1.js"),__vite__mapDeps([135,132,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48])),"../views/Example/Page/ExampleAdd.vue":()=>__vitePreload(()=>import("./ExampleAdd-it-453Mt.js"),__vite__mapDeps([136,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,138,6,33,110,139])),"../views/Example/Page/ExampleDetail.vue":()=>__vitePreload(()=>import("./ExampleDetail-DCEa9X2-.js"),__vite__mapDeps([140,141,50,3,2,4,5,51,7,26,22,138,6,33,110])),"../views/Example/Page/ExampleEdit.vue":()=>__vitePreload(()=>import("./ExampleEdit-CR38Szb2.js"),__vite__mapDeps([142,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,138,6,33,110,139])),"../views/Example/Page/ExamplePage.vue":()=>__vitePreload(()=>import("./ExamplePage-CQvORskv.js"),__vite__mapDeps([143,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,37,38,39,40,41,42,43,44,110,46,139,52,53])),"../views/Example/Page/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-m7a5N8W2.js"),__vite__mapDeps([144,141,50,3,2,4,5,51,7,26,22])),"../views/Example/Page/components/Write.vue":()=>__vitePreload(()=>import("./Write-mP3B8ACp.js"),__vite__mapDeps([145,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48])),"../views/Function/MultipleTabs.vue":()=>__vitePreload(()=>import("./MultipleTabs-aIk0Mle1.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,33])),"../views/Function/MultipleTabsDemo.vue":()=>__vitePreload(()=>import("./MultipleTabsDemo-kTOUOpYL.js"),__vite__mapDeps([147,1,2,3,4,5,6,7,148])),"../views/Function/Request.vue":()=>__vitePreload(()=>import("./Request-BOZrtJGd.js"),__vite__mapDeps([149,1,2,3,4,5,6,7,33,29])),"../views/Function/Test.vue":()=>__vitePreload(()=>import("./Test-B45QZFfm.js"),__vite__mapDeps([150,3,1,2,4,5,6,7,33,29,26])),"../views/Guide/Guide.vue":()=>__vitePreload(()=>import("./Guide-BcwvGLxh.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,33,152])),"../views/HomeView.vue":()=>__vitePreload(()=>import("./HomeView-Bh1E7SjH.js"),__vite__mapDeps([153,4,3])),"../views/Level/Menu111.vue":()=>__vitePreload(()=>import("./Menu111-CTvkJeB3.js"),__vite__mapDeps([154,1,2,3,4,5,6,7])),"../views/Level/Menu12.vue":()=>__vitePreload(()=>import("./Menu12-CwOmbDhY.js"),__vite__mapDeps([155,1,2,3,4,5,6,7])),"../views/Level/Menu2.vue":()=>__vitePreload(()=>import("./Menu2-eNKIVwxQ.js"),__vite__mapDeps([156,1,2,3,4,5,6,7])),"../views/Login/Login.vue":()=>__vitePreload(()=>import("./Login-DZqDEiBM.js"),__vite__mapDeps([157,3,105,158,9,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33,111,159,160,34,161,162])),"../views/Login/components/LoginForm.vue":()=>__vitePreload(()=>import("./LoginForm-CBofAzQ_.js"),__vite__mapDeps([163,158,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33,111])),"../views/Login/components/RegisterForm.vue":()=>__vitePreload(()=>import("./RegisterForm-Bk48RHaa.js"),__vite__mapDeps([164,159,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33])),"../views/Redirect/Redirect.vue":()=>__vitePreload(()=>import("./Redirect-Dp-dz-Ac.js"),__vite__mapDeps([165,3])),"../views/hooks/useClipboard.vue":()=>__vitePreload(()=>import("./useClipboard-DvdUTWVq.js"),__vite__mapDeps([166,1,2,3,4,5,6,7,33])),"../views/hooks/useCrudSchemas.vue":()=>__vitePreload(()=>import("./useCrudSchemas-EqAlQvZJ.js"),__vite__mapDeps([167,52,53,3,17,18,1,2,4,5,6,7,26])),"../views/hooks/useNetwork.vue":()=>__vitePreload(()=>import("./useNetwork-OuhEptXZ.js"),__vite__mapDeps([168,1,2,3,4,5,6,7])),"../views/hooks/useTagsView.vue":()=>__vitePreload(()=>import("./useTagsView-DGPX7zkv.js"),__vite__mapDeps([169,1,2,3,4,5,6,7,33,148])),"../views/hooks/useValidator.vue":()=>__vitePreload(()=>import("./useValidator--00tdyYQ.js"),__vite__mapDeps([170,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,32])),"../views/hooks/useWatermark.vue":()=>__vitePreload(()=>import("./useWatermark-DaAwyLnq.js"),__vite__mapDeps([171,1,2,3,4,5,6,7,33]))}),Layout=()=>__vitePreload(()=>import("./Layout-Dyynae5W.js"),__vite__mapDeps([172,4,3,2,5,160,9,10,11,12,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,34,161,33,53,148,105,126,35,36,32,48,173,44,43])),getParentLayout=()=>()=>new Promise(e=>{e({name:"ParentLayout"})}),getRawRoute=e=>{if(!e)return e;const H=e,{matched:G}=H,C=Jr(H,["matched"]);return tr(it({},C),{matched:G?G.map(W=>({meta:W.meta,name:W.name,path:W.path})):void 0})},generateRoutesByFrontEnd=(e,G,C="/")=>{var W;const H=[];for(const K of e){const Q=(W=K.meta)!=null?W:{};if(Q.hidden&&!Q.canTo)continue;let Z=null,ne=null;K.children&&K.children.length===1&&!Q.alwaysShow&&(ne=isUrl(K.children[0].path)?K.children[0].path:pathResolve(pathResolve(C,K.path),K.children[0].path));for(const ee of G)isUrl(ee)&&(ne===ee||K.path===ee)?Z=Object.assign({},K):((ne!=null?ne:pathResolve(C,K.path)).trim()===ee||Q.followRoute===ee)&&(Z=Object.assign({},K));K.children&&Z&&(Z.children=generateRoutesByFrontEnd(K.children,G,pathResolve(C,Z.path))),Z&&H.push(Z)}return H},generateRoutesByServer=e=>{const G=[];for(const C of e){const H={path:C.path,name:C.name,redirect:C.redirect,meta:C.meta};if(C.component){const W=modules$1[`../${C.component}.vue`]||modules$1[`../${C.component}.tsx`],K=C.component;!W&&!K.includes("#")?console.error(`未找到${C.component}.vue文件或${C.component}.tsx文件,请创建`):H.component=K==="#"?Layout:K.includes("##")?getParentLayout():W}C.children&&(H.children=generateRoutesByServer(C.children)),G.push(H)}return G},pathResolve=(e,G)=>{if(isUrl(G))return G;const C=G.startsWith("/")||!G?G:`/${G}`;return`${e}${C}`.replace(/\/\//g,"/").trim()},flatMultiLevelRoutes=e=>{const G=cloneDeep(e);for(let C=0;C{var H,W;if(!e||!Reflect.has(e,"children")||!((H=e.children)!=null&&H.length))return!1;const G=e.children;let C=!1;for(let K=0;K{var H;let G=createRouter({routes:[e],history:createWebHashHistory()});const C=G.getRoutes();addToChildren(C,e.children||[],e),G=null,e.children=(H=e.children)==null?void 0:H.map(W=>omit(W,"children"))},addToChildren=(e,G,C)=>{var H,W;for(let K=0;Kne.name===Q.name);Z&&(C.children=C.children||[],C.children.find(ne=>ne.name===Z.name)||(H=C.children)==null||H.push(Z),(W=Q.children)!=null&&W.length&&addToChildren(e,Q.children,C))}},SUCCESS_CODE=0,CONTENT_TYPE="application/json",REQUEST_TIMEOUT=6e4,NO_REDIRECT_WHITE_LIST=["/login"],NO_RESET_WHITE_LIST=["Redirect","RedirectCon","Login","NoFind","Root"],DEFAULT_FILTER_COLUMN=["expand","selection"],constantRouterMap=[{path:"/",component:Layout,redirect:"/dashboard/analysis",name:"Root",meta:{hidden:!0}},{path:"/redirect",component:Layout,name:"Redirect",children:[{path:"/redirect/:path(.*)",name:"RedirectCon",component:()=>__vitePreload(()=>import("./Redirect-Dp-dz-Ac.js"),__vite__mapDeps([165,3])),meta:{}}],meta:{hidden:!0,noTagsView:!0}},{path:"/login",component:()=>__vitePreload(()=>import("./Login-DZqDEiBM.js"),__vite__mapDeps([157,3,105,158,9,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33,111,159,160,34,161,162])),name:"Login",meta:{hidden:!0,title:"登录",noTagsView:!0}}],asyncRouterMap=[{path:"/dashboard",component:Layout,redirect:"/dashboard/analysis",name:"Dashboard",meta:{title:"首页",icon:"ant-design:dashboard-filled",alwaysShow:!0},children:[{path:"analysis",component:()=>__vitePreload(()=>import("./Analysis-zj_VDP5d.js"),__vite__mapDeps([121,122,2,3,4,5,77,123,26,6,124,83,84])),name:"Analysis",meta:{title:"分析页",noCache:!0,affix:!0}},{path:"workplace",component:()=>__vitePreload(()=>import("./Workplace-BeEV4fv_.js"),__vite__mapDeps([125,2,3,4,5,126,77,83,84,95,26,124,6,29,111])),name:"Workplace",meta:{title:"工作台",noCache:!0}}]},{path:"/external-link",component:Layout,meta:{},name:"ExternalLink",children:[{path:"https://admindoc.mbuild.top",name:"DocumentLink",meta:{title:"文档",icon:"clarity:document-solid"}}]},{path:"/guide",component:Layout,name:"Guide",meta:{},children:[{path:"index",component:()=>__vitePreload(()=>import("./Guide-BcwvGLxh.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,33,152])),name:"GuideDemo",meta:{title:"引导",icon:"cib:telegram-plane"}}]},{path:"/components",component:Layout,name:"ComponentsDemo",meta:{title:"组件",icon:"bx:bxs-component",alwaysShow:!0},children:[{path:"form",component:getParentLayout(),redirect:"/components/form/default-form",name:"Form",meta:{title:"表单",alwaysShow:!0},children:[{path:"default-form",component:()=>__vitePreload(()=>import("./DefaultForm-Dh9MD6vF.js"),__vite__mapDeps([90,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,1,6,81,33,91])),name:"DefaultForm",meta:{title:"全部示例"}},{path:"use-form",component:()=>__vitePreload(()=>import("./UseFormDemo-DZPTJ2XC.js"),__vite__mapDeps([92,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,1,6,32,48,81,33,93])),name:"UseForm",meta:{title:"UseForm"}}]},{path:"table",component:getParentLayout(),redirect:"/components/table/default-table",name:"TableDemo",meta:{title:"表格",alwaysShow:!0},children:[{path:"default-table",component:()=>__vitePreload(()=>import("./DefaultTable-BJJvZkhr.js"),__vite__mapDeps([112,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),name:"DefaultTable",meta:{title:"基础示例"}},{path:"use-table",component:()=>__vitePreload(()=>import("./UseTableDemo-CYYBYN6L.js"),__vite__mapDeps([117,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,46,118])),name:"UseTable",meta:{title:"UseTable"}},{path:"tree-table",component:()=>__vitePreload(()=>import("./TreeTable-VW3aBxkT.js"),__vite__mapDeps([115,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,46,116])),name:"TreeTable",meta:{title:"treeTable"}},{path:"table-image-preview",component:()=>__vitePreload(()=>import("./TableImagePreview-7urd2aaJ.js"),__vite__mapDeps([113,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),name:"TableImagePreview",meta:{title:"表格图片预览"}},{path:"table-video-preview",component:()=>__vitePreload(()=>import("./TableVideoPreview-Do6ykb1S.js"),__vite__mapDeps([114,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),name:"TableVideoPreview",meta:{title:"表格视频预览"}},{path:"card-table",component:()=>__vitePreload(()=>import("./CardTable-DTkm0w2u.js"),__vite__mapDeps([109,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,111,29])),name:"CardTable",meta:{title:"卡片表格"}}]},{path:"editor-demo",component:getParentLayout(),redirect:"/components/editor-demo/editor",name:"EditorDemo",meta:{title:"编辑器",alwaysShow:!0},children:[{path:"editor",component:()=>__vitePreload(()=>import("./Editor-DFQI76OW.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,14,15,16])),name:"Editor",meta:{title:"富文本"}},{path:"json-editor",component:()=>__vitePreload(()=>import("./JsonEditor-BGmKji5m.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,17,18])),name:"JsonEditor",meta:{title:"JSON编辑器"}},{path:"code-editor",component:()=>__vitePreload(()=>import("./CodeEditor-BEzINA0Y.js").then(e=>e.C),__vite__mapDeps([86,3,4,1,2,5,6,7,33,87,22,23,25,29])),name:"CodeEditor",meta:{title:"代码编辑器"}}]},{path:"search",component:()=>__vitePreload(()=>import("./Search-CnrbA_Xc.js"),__vite__mapDeps([107,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,81,108])),name:"Search",meta:{title:"查询"}},{path:"descriptions",component:()=>__vitePreload(()=>import("./Descriptions--u1xvnS0.js"),__vite__mapDeps([78,50,3,2,4,5,51,7,26,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,48,32,79])),name:"Descriptions",meta:{title:"描述"}},{path:"image-viewer",component:()=>__vitePreload(()=>import("./ImageViewer-BCj9bDfj.js"),__vite__mapDeps([101,1,2,3,4,5,6,7,33,42])),name:"ImageViewer",meta:{title:"图片预览"}},{path:"dialog",component:()=>__vitePreload(()=>import("./Dialog-DJZkjZet.js"),__vite__mapDeps([80,1,2,3,4,5,6,7,35,36,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,81,32,82,83,84])),name:"Dialog",meta:{title:"弹窗"}},{path:"icon",component:()=>__vitePreload(()=>import("./Icon-DlM7WIYN.js"),__vite__mapDeps([96,1,2,3,4,5,6,7,97,95,34,33])),name:"Icon",meta:{title:"图标"}},{path:"icon-picker",component:()=>__vitePreload(()=>import("./IconPicker-BDI0d7RO.js"),__vite__mapDeps([98,19,2,3,4,5,20,7,21,22,23,1,6])),name:"IconPicker",meta:{title:"图标选择器"}},{path:"echart",component:()=>__vitePreload(()=>import("./Echart-5azuN68U.js"),__vite__mapDeps([85,82,1,2,3,4,5,6,7,83,84,26])),name:"Echart",meta:{title:"图表"}},{path:"count-to",component:()=>__vitePreload(()=>import("./CountTo-D4X9qZ89.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,77,33,26,28])),name:"CountTo",meta:{title:"数字动画"}},{path:"qrcode",component:()=>__vitePreload(()=>import("./Qrcode-uZHiTaF5.js"),__vite__mapDeps([104,2,3,4,5,1,6,7,105,106,26])),name:"Qrcode",meta:{title:"二维码"}},{path:"highlight",component:()=>__vitePreload(()=>import("./Highlight-Cl0yHROR.js"),__vite__mapDeps([94,1,2,3,4,5,6,7,95])),name:"Highlight",meta:{title:"高亮"}},{path:"infotip",component:()=>__vitePreload(()=>import("./Infotip-BqE8s74y.js"),__vite__mapDeps([102,1,2,3,4,5,6,7,97,95])),name:"Infotip",meta:{title:"信息提示"}},{path:"input-password",component:()=>__vitePreload(()=>import("./InputPassword-B5LjKqPC.js"),__vite__mapDeps([103,1,2,3,4,5,6,7,12,13])),name:"InputPassword",meta:{title:"密码输入框"}},{path:"waterfall",component:()=>__vitePreload(()=>import("./Waterfall-DtRTP80y.js"),__vite__mapDeps([120,4,3,1,2,5,6,7])),name:"waterfall",meta:{title:"瀑布流"}},{path:"image-cropping",component:()=>__vitePreload(()=>import("./ImageCropping-BsfX8iwY.js"),__vite__mapDeps([99,1,2,3,4,5,6,7,33,100,29,31])),name:"ImageCropping",meta:{title:"图片裁剪"}},{path:"video-player",component:()=>__vitePreload(()=>import("./VideoPlayer-Cp5IbmHZ.js"),__vite__mapDeps([119,38,3,4,2,5,39,1,6,7,33,29])),name:"VideoPlayer",meta:{title:"视频播放器"}}]},{path:"/function",component:Layout,redirect:"/function/multipleTabs",name:"Function",meta:{title:"功能",icon:"ri:function-fill",alwaysShow:!0},children:[{path:"multiple-tabs",component:()=>__vitePreload(()=>import("./MultipleTabs-aIk0Mle1.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,33])),name:"MultipleTabs",meta:{title:"多开标签页"}},{path:"multiple-tabs-demo/:id",component:()=>__vitePreload(()=>import("./MultipleTabsDemo-kTOUOpYL.js"),__vite__mapDeps([147,1,2,3,4,5,6,7,148])),name:"MultipleTabsDemo",meta:{hidden:!0,title:"详情页",canTo:!0,activeMenu:"/function/multiple-tabs"}},{path:"request",component:()=>__vitePreload(()=>import("./Request-BOZrtJGd.js"),__vite__mapDeps([149,1,2,3,4,5,6,7,33,29])),name:"Request",meta:{title:"请求"}},{path:"test",component:()=>__vitePreload(()=>import("./Test-B45QZFfm.js"),__vite__mapDeps([150,3,1,2,4,5,6,7,33,29,26])),name:"Test",meta:{title:"权限测试页",permission:["add","edit","delete"]}}]},{path:"/hooks",component:Layout,redirect:"/hooks/useWatermark",name:"Hooks",meta:{title:"hooks",icon:"ic:outline-webhook",alwaysShow:!0},children:[{path:"useWatermark",component:()=>__vitePreload(()=>import("./useWatermark-DaAwyLnq.js"),__vite__mapDeps([171,1,2,3,4,5,6,7,33])),name:"UseWatermark",meta:{title:"useWatermark"}},{path:"useTagsView",component:()=>__vitePreload(()=>import("./useTagsView-DGPX7zkv.js"),__vite__mapDeps([169,1,2,3,4,5,6,7,33,148])),name:"UseTagsView",meta:{title:"useTagsView"}},{path:"useValidator",component:()=>__vitePreload(()=>import("./useValidator--00tdyYQ.js"),__vite__mapDeps([170,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,32])),name:"UseValidator",meta:{title:"useValidator"}},{path:"useCrudSchemas",component:()=>__vitePreload(()=>import("./useCrudSchemas-EqAlQvZJ.js"),__vite__mapDeps([167,52,53,3,17,18,1,2,4,5,6,7,26])),name:"UseCrudSchemas",meta:{title:"useCrudSchemas"}},{path:"useClipboard",component:()=>__vitePreload(()=>import("./useClipboard-DvdUTWVq.js"),__vite__mapDeps([166,1,2,3,4,5,6,7,33])),name:"UseClipboard",meta:{title:"useClipboard"}},{path:"useNetwork",component:()=>__vitePreload(()=>import("./useNetwork-OuhEptXZ.js"),__vite__mapDeps([168,1,2,3,4,5,6,7])),name:"UseNetwork",meta:{title:"useNetwork"}}]},{path:"/level",component:Layout,redirect:"/level/menu1/menu1-1/menu1-1-1",name:"Level",meta:{title:"多级菜单",icon:"carbon:skill-level-advanced"},children:[{path:"menu1",name:"Menu1",component:getParentLayout(),redirect:"/level/menu1/menu1-1/menu1-1-1",meta:{title:"菜单1"},children:[{path:"menu1-1",name:"Menu11",component:getParentLayout(),redirect:"/level/menu1/menu1-1/menu1-1-1",meta:{title:"菜单1-1",alwaysShow:!0},children:[{path:"menu1-1-1",name:"Menu111",component:()=>__vitePreload(()=>import("./Menu111-CTvkJeB3.js"),__vite__mapDeps([154,1,2,3,4,5,6,7])),meta:{title:"菜单1-1-1"}}]},{path:"menu1-2",name:"Menu12",component:()=>__vitePreload(()=>import("./Menu12-CwOmbDhY.js"),__vite__mapDeps([155,1,2,3,4,5,6,7])),meta:{title:"菜单1-2"}}]},{path:"menu2",name:"Menu2",component:()=>__vitePreload(()=>import("./Menu2-eNKIVwxQ.js"),__vite__mapDeps([156,1,2,3,4,5,6,7])),meta:{title:"菜单2"}}]},{path:"/example",component:Layout,redirect:"/example/example-dialog",name:"Example",meta:{title:"综合示例",icon:"ep:management",alwaysShow:!0},children:[{path:"example-dialog",component:()=>__vitePreload(()=>import("./ExampleDialog-C8ADQ1fU.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,110,46,132,48,133,50,51,52,53])),name:"ExampleDialog",meta:{title:"综合示例 - 弹窗"}},{path:"example-page",component:()=>__vitePreload(()=>import("./ExamplePage-CQvORskv.js"),__vite__mapDeps([143,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,37,38,39,40,41,42,43,44,110,46,139,52,53])),name:"ExamplePage",meta:{title:"综合示例 - 页面"}},{path:"example-add",component:()=>__vitePreload(()=>import("./ExampleAdd-it-453Mt.js"),__vite__mapDeps([136,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,138,6,33,110,139])),name:"ExampleAdd",meta:{title:"综合示例 - 新增",noTagsView:!0,noCache:!0,hidden:!0,canTo:!0,activeMenu:"/example/example-page"}},{path:"example-edit",component:()=>__vitePreload(()=>import("./ExampleEdit-CR38Szb2.js"),__vite__mapDeps([142,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,138,6,33,110,139])),name:"ExampleEdit",meta:{title:"综合示例 - 编辑",noTagsView:!0,noCache:!0,hidden:!0,canTo:!0,activeMenu:"/example/example-page"}},{path:"example-detail",component:()=>__vitePreload(()=>import("./ExampleDetail-DCEa9X2-.js"),__vite__mapDeps([140,141,50,3,2,4,5,51,7,26,22,138,6,33,110])),name:"ExampleDetail",meta:{title:"综合示例 - 详情",noTagsView:!0,noCache:!0,hidden:!0,canTo:!0,activeMenu:"/example/example-page"}}]},{path:"/error",component:Layout,redirect:"/error/404",name:"Error",meta:{title:"错误页面",icon:"ci:error",alwaysShow:!0},children:[{path:"404-demo",component:()=>__vitePreload(()=>import("./404-BKfga0Uu.js"),__vite__mapDeps([129,128,33,4,3])),name:"404Demo",meta:{title:"404"}},{path:"403-demo",component:()=>__vitePreload(()=>import("./403-CnRHHCrJ.js"),__vite__mapDeps([127,128,33,4,3])),name:"403Demo",meta:{title:"403"}},{path:"500-demo",component:()=>__vitePreload(()=>import("./500-COoO2h7N.js"),__vite__mapDeps([130,128,33,4,3])),name:"500Demo",meta:{title:"500"}}]},{path:"/authorization",component:Layout,redirect:"/authorization/user",name:"Authorization",meta:{title:"权限管理",icon:"eos-icons:role-binding",alwaysShow:!0},children:[{path:"department",component:()=>__vitePreload(()=>import("./Department-C5C6D85i.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53])),name:"Department",meta:{title:"部门管理"}},{path:"user",component:()=>__vitePreload(()=>import("./User-B4SjHWuj.js"),__vite__mapDeps([71,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,45,46,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,72,48,73,50,51,35,36,66,52,53])),name:"User",meta:{title:"用户管理"}},{path:"menu",component:()=>__vitePreload(()=>import("./Menu-BnxyyFaH.js"),__vite__mapDeps([56,57,46,37,10,11,2,3,4,5,33,38,39,40,41,27,7,22,21,23,42,6,43,44,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,1,58,48,59,60,61,50,51,35,36])),name:"Menu",meta:{title:"菜单管理"}},{path:"role",component:()=>__vitePreload(()=>import("./Role-ekj1GbUi.js"),__vite__mapDeps([65,66,46,37,10,11,2,3,4,5,33,38,39,40,41,27,7,22,21,23,42,6,43,44,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,1,67,48,57,53,68,50,51,35,36])),name:"Role",meta:{title:"角色管理"}}]}],router=createRouter({history:createWebHistory("/"),routes:constantRouterMap,scrollBehavior:()=>({left:0,top:0})}),resetRouter=()=>{router.getRoutes().forEach(e=>{const{name:G}=e;G&&!NO_RESET_WHITE_LIST.includes(G)&&router.hasRoute(G)&&router.removeRoute(G)})},plugins=[ElLoading],components=[ElScrollbar],setupElementPlus=e=>{plugins.forEach(G=>{e.use(G)}),components.forEach(G=>{e.component(G.name,G)})},hasPermission=e=>{const G=router.currentRoute.value.meta.permission||[];if(!e)throw new Error("请设置操作权限值");return!!G.includes(e)};function hasPermi(e,G){var W;const C=G.value;hasPermission(C)||(W=e.parentNode)==null||W.removeChild(e)}const mounted=(e,G)=>{hasPermi(e,G)},permiDirective={mounted},setupPermissionDirective=e=>{e.directive("hasPermi",permiDirective)},setupPermission=e=>{setupPermissionDirective(e)},useTitle=e=>{const G=useAppStoreWithOut(),C=ref$1(e?`${G.getTitle} - ${e}`:G.getTitle);return watch(C,(H,W)=>{isString$1(H)&&H!==W&&document&&(document.title=H)},{immediate:!0}),C};var nprogress$1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + ${$(Z)}`),Z===!0})}});return Object.defineProperty(H,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(H,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),H}const M=["name","validate","getter"],R=(e=>((e=class{static get any(){return w()}static get func(){return x().def(this.defaults.func)}static get bool(){return this.defaults.bool===void 0?P():P().def(this.defaults.bool)}static get string(){return A().def(this.defaults.string)}static get number(){return E().def(this.defaults.number)}static get array(){return S().def(this.defaults.array)}static get object(){return N().def(this.defaults.object)}static get integer(){return V().def(this.defaults.integer)}static get symbol(){return q()}static get nullable(){return k()}static extend(G){if(d("VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details."),v(G))return G.forEach(ne=>this.extend(ne)),this;const{name:C,validate:H=!1,getter:W=!1}=G,K=n(G,M);if(p(this,C))throw new TypeError(`[VueTypes error]: Type "${C}" already defined`);const{type:Q}=K;if(b(Q))return delete K.type,Object.defineProperty(this,C,W?{get:()=>T(C,Q,K)}:{value(...ne){const ee=T(C,Q,K);return ee.validator&&(ee.validator=ee.validator.bind(ee,...ne)),ee}});let Z;return Z=W?{get(){const ne=Object.assign({},K);return H?_(C,ne):j(C,ne)},enumerable:!0}:{value(...ne){const ee=Object.assign({},K);let ie;return ie=H?_(C,ee):j(C,ee),ee.validator&&(ie.validator=ee.validator.bind(ie,...ne)),ie},enumerable:!0},Object.defineProperty(this,C,Z)}}).defaults={},e.sensibleDefaults=void 0,e.config=r,e.custom=D,e.oneOf=L,e.instanceOf=Y,e.oneOfType=B,e.arrayOf=F,e.objectOf=I,e.shape=J,e.utils={validate:(G,C)=>m(C,G,!0)===!0,toType:(G,C,H=!1)=>H?_(G,C):j(G,C)},e))();function U(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var G;return(G=class extends R{static get sensibleDefaults(){return t({},this.defaults)}static set sensibleDefaults(C){this.defaults=C!==!1?t({},C!==!0?C:e):{}}}).defaults=t({},e),G}class z extends U(){}const newPropTypes=U({func:void 0,bool:void 0,string:void 0,number:void 0,object:void 0,integer:void 0});class propTypes extends newPropTypes{static get style(){return _("style",{type:[String,Object]})}}var zhCn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _sfc_main$1=defineComponent({__name:"ConfigGlobal",props:{size:propTypes.oneOf(["default","small","large"]).def("default")},setup(e){const G=useAppStore();provide("configGlobal",e),onMounted(()=>{G.setCssVarTheme()});const{width:H}=useWindowSize();return watch(()=>H.value,W=>{W<768?(G.getMobile||G.setMobile(!0),setCssVar("--left-menu-min-width","0"),G.setCollapse(!0),G.getLayout!=="classic"&&G.setLayout("classic")):(G.getMobile&&G.setMobile(!1),setCssVar("--left-menu-min-width","64px"))},{immediate:!0}),(W,K)=>(openBlock(),createBlock(unref(ElConfigProvider),{namespace:"el",message:{max:1},size:e.size,locale:unref(zhCn)},{default:withCtx(()=>[renderSlot(W.$slots,"default")]),_:3},8,["size","locale"]))}}),_sfc_main=defineComponent({__name:"App",setup(e){const G=useAppStore(),C=computed(()=>G.getCurrentSize),H=computed(()=>G.getGreyMode),W=useDark({valueDark:"dark",valueLight:"light"});return W.value=G.getIsDark,(K,Q)=>{const Z=resolveComponent("RouterView");return openBlock(),createBlock(unref(_sfc_main$1),{size:C.value},{default:withCtx(()=>[createVNode(Z,{class:normalizeClass(H.value?"app-grey-mode":"")},null,8,["class"])]),_:1},8,["size"])}}}),scriptRel="modulepreload",assetsURL=function(e){return"/"+e},seen={},__vitePreload=function(G,C,H){let W=Promise.resolve();if(C&&C.length>0){document.getElementsByTagName("link");const Q=document.querySelector("meta[property=csp-nonce]"),Z=(Q==null?void 0:Q.nonce)||(Q==null?void 0:Q.getAttribute("nonce"));W=Promise.allSettled(C.map(ne=>{if(ne=assetsURL(ne),ne in seen)return;seen[ne]=!0;const ee=ne.endsWith(".css"),ie=ee?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${ne}"]${ie}`))return;const ce=document.createElement("link");if(ce.rel=ee?"stylesheet":scriptRel,ee||(ce.as="script"),ce.crossOrigin="",ce.href=ne,Z&&ce.setAttribute("nonce",Z),document.head.appendChild(ce),ee)return new Promise((pe,de)=>{ce.addEventListener("load",pe),ce.addEventListener("error",()=>de(new Error(`Unable to preload CSS for ${ne}`)))})}))}function K(Q){const Z=new Event("vite:preloadError",{cancelable:!0});if(Z.payload=Q,window.dispatchEvent(Z),!Z.defaultPrevented)throw Q}return W.then(Q=>{for(const Z of Q||[])Z.status==="rejected"&&K(Z.reason);return G().catch(K)})},toString$1=Object.prototype.toString,is=(e,G)=>toString$1.call(e)===`[object ${G}]`,isObject$1=e=>e!==null&&is(e,"Object"),isNumber$1=e=>is(e,"Number"),isString$1=e=>is(e,"String"),isFunction$1=e=>typeof e=="function",isServer=typeof window=="undefined",isClient=!isServer,isUrl=e=>/(((^https?:(?:\/\/)?)(?:[-:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&%@.\w_]*)#?(?:[\w]*))?)$/.test(e),isEmptyVal=e=>e===""||e===null||e===void 0,modules$1=Object.assign({"../views/Authorization/Department/Department.vue":()=>__vitePreload(()=>import("./Department-CT-Tkbul.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53])),"../views/Authorization/Department/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-DiOqeDqA.js"),__vite__mapDeps([54,49,50,3,2,4,5,51,7,26])),"../views/Authorization/Department/components/Write.vue":()=>__vitePreload(()=>import("./Write-CHNSlToc.js"),__vite__mapDeps([55,47,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48])),"../views/Authorization/Menu/Menu.vue":()=>__vitePreload(()=>import("./Menu-juqxCjCo.js"),__vite__mapDeps([56,57,46,37,10,11,2,3,4,5,33,38,39,40,41,27,7,22,21,23,42,6,43,44,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,1,58,48,59,60,61,50,51,35,36])),"../views/Authorization/Menu/components/AddButtonPermission.vue":()=>__vitePreload(()=>import("./AddButtonPermission-PX8OWnbU.js"),__vite__mapDeps([62,59,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33,44])),"../views/Authorization/Menu/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-BmxW-dC0.js"),__vite__mapDeps([63,61,50,3,2,4,5,51,7,26,22])),"../views/Authorization/Menu/components/Write.vue":()=>__vitePreload(()=>import("./Write-o_Ty8ubp.js"),__vite__mapDeps([64,58,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,57,59,33,44,60,41])),"../views/Authorization/Role/Role.vue":()=>__vitePreload(()=>import("./Role-CNvE3WMG.js"),__vite__mapDeps([65,66,46,37,10,11,2,3,4,5,33,38,39,40,41,27,7,22,21,23,42,6,43,44,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,1,67,48,57,53,68,50,51,35,36])),"../views/Authorization/Role/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-djoFnPGT.js"),__vite__mapDeps([69,68,50,3,2,4,5,51,7,26,57,22,30,27])),"../views/Authorization/Role/components/Write.vue":()=>__vitePreload(()=>import("./Write-DnyGiie8.js"),__vite__mapDeps([70,67,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,57,53])),"../views/Authorization/User/User.vue":()=>__vitePreload(()=>import("./User-ClfDpmHQ.js"),__vite__mapDeps([71,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,45,46,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,72,48,73,50,51,35,36,66,52,53])),"../views/Authorization/User/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-CyFuQtkj.js"),__vite__mapDeps([74,73,50,3,2,4,5,51,7,26])),"../views/Authorization/User/components/Write.vue":()=>__vitePreload(()=>import("./Write-v5CwIKFi.js"),__vite__mapDeps([75,72,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48])),"../views/Components/CountTo.vue":()=>__vitePreload(()=>import("./CountTo-CH36VAch.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,77,33,26,28])),"../views/Components/Descriptions.vue":()=>__vitePreload(()=>import("./Descriptions-DW3GVgul.js"),__vite__mapDeps([78,50,3,2,4,5,51,7,26,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,48,32,79])),"../views/Components/Dialog.vue":()=>__vitePreload(()=>import("./Dialog-C5agpchq.js"),__vite__mapDeps([80,1,2,3,4,5,6,7,35,36,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,81,32,82,83,84])),"../views/Components/Echart.vue":()=>__vitePreload(()=>import("./Echart-DmGiZfu_.js"),__vite__mapDeps([85,82,1,2,3,4,5,6,7,83,84,26])),"../views/Components/Editor/CodeEditor.vue":()=>__vitePreload(()=>import("./CodeEditor-B5qkoQbs.js").then(e=>e.C),__vite__mapDeps([86,3,4,1,2,5,6,7,33,87,22,23,25,29])),"../views/Components/Editor/Editor.vue":()=>__vitePreload(()=>import("./Editor-B3tCMAco.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,14,15,16])),"../views/Components/Editor/JsonEditor.vue":()=>__vitePreload(()=>import("./JsonEditor-zaPyVnuj.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,17,18])),"../views/Components/Form/DefaultForm.vue":()=>__vitePreload(()=>import("./DefaultForm-DsmB2kiS.js"),__vite__mapDeps([90,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,1,6,81,33,91])),"../views/Components/Form/UseFormDemo.vue":()=>__vitePreload(()=>import("./UseFormDemo-DpljFsZ8.js"),__vite__mapDeps([92,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,1,6,32,48,81,33,93])),"../views/Components/Highlight.vue":()=>__vitePreload(()=>import("./Highlight-CKZh1vpZ.js"),__vite__mapDeps([94,1,2,3,4,5,6,7,95])),"../views/Components/Icon.vue":()=>__vitePreload(()=>import("./Icon-Dqr2xHxm.js"),__vite__mapDeps([96,1,2,3,4,5,6,7,97,95,34,33])),"../views/Components/IconPicker.vue":()=>__vitePreload(()=>import("./IconPicker-xreVUfVq.js"),__vite__mapDeps([98,19,2,3,4,5,20,7,21,22,23,1,6])),"../views/Components/ImageCropping.vue":()=>__vitePreload(()=>import("./ImageCropping-DxUYpy0B.js"),__vite__mapDeps([99,1,2,3,4,5,6,7,33,100,29,31])),"../views/Components/ImageViewer.vue":()=>__vitePreload(()=>import("./ImageViewer-BOf9L9uI.js"),__vite__mapDeps([101,1,2,3,4,5,6,7,33,42])),"../views/Components/Infotip.vue":()=>__vitePreload(()=>import("./Infotip-GXE8Z7-L.js"),__vite__mapDeps([102,1,2,3,4,5,6,7,97,95])),"../views/Components/InputPassword.vue":()=>__vitePreload(()=>import("./InputPassword-Bb3KYe36.js"),__vite__mapDeps([103,1,2,3,4,5,6,7,12,13])),"../views/Components/Qrcode.vue":()=>__vitePreload(()=>import("./Qrcode-DVJsoV0Q.js"),__vite__mapDeps([104,2,3,4,5,1,6,7,105,106,26])),"../views/Components/Search.vue":()=>__vitePreload(()=>import("./Search-DgAux1Qa.js"),__vite__mapDeps([107,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,81,108])),"../views/Components/Table/CardTable.vue":()=>__vitePreload(()=>import("./CardTable-Bw7janir.js"),__vite__mapDeps([109,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,111,29])),"../views/Components/Table/DefaultTable.vue":()=>__vitePreload(()=>import("./DefaultTable-BwJ06UZq.js"),__vite__mapDeps([112,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),"../views/Components/Table/TableImagePreview.vue":()=>__vitePreload(()=>import("./TableImagePreview-TQvekAeQ.js"),__vite__mapDeps([113,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),"../views/Components/Table/TableVideoPreview.vue":()=>__vitePreload(()=>import("./TableVideoPreview-dskQFQoF.js"),__vite__mapDeps([114,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),"../views/Components/Table/TreeTable.vue":()=>__vitePreload(()=>import("./TreeTable-Cdrgo-oH.js"),__vite__mapDeps([115,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,46,116])),"../views/Components/Table/UseTableDemo.vue":()=>__vitePreload(()=>import("./UseTableDemo-Dz53_phS.js"),__vite__mapDeps([117,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,46,118])),"../views/Components/VideoPlayer.vue":()=>__vitePreload(()=>import("./VideoPlayer-D61ftkwv.js"),__vite__mapDeps([119,38,3,4,2,5,39,1,6,7,33,29])),"../views/Components/Waterfall.vue":()=>__vitePreload(()=>import("./Waterfall-Cl9cBNyL.js"),__vite__mapDeps([120,4,3,1,2,5,6,7])),"../views/Dashboard/Analysis.vue":()=>__vitePreload(()=>import("./Analysis-zpqCMMyB.js"),__vite__mapDeps([121,122,2,3,4,5,77,123,26,6,124,83,84])),"../views/Dashboard/Workplace.vue":()=>__vitePreload(()=>import("./Workplace-bECAtLqj.js"),__vite__mapDeps([125,2,3,4,5,126,77,83,84,95,26,124,6,29,111])),"../views/Dashboard/components/PanelGroup.vue":()=>__vitePreload(()=>import("./PanelGroup-DFIPybM9.js").then(e=>e.c),__vite__mapDeps([122,2,3,4,5,77,123,26,6,124])),"../views/Error/403.vue":()=>__vitePreload(()=>import("./403-C8zlE3NN.js"),__vite__mapDeps([127,128,33,4,3])),"../views/Error/404.vue":()=>__vitePreload(()=>import("./404-DeNxoW2L.js"),__vite__mapDeps([129,128,33,4,3])),"../views/Error/500.vue":()=>__vitePreload(()=>import("./500-lB2W0Nmh.js"),__vite__mapDeps([130,128,33,4,3])),"../views/Example/Dialog/ExampleDialog.vue":()=>__vitePreload(()=>import("./ExampleDialog-CfF_W4Cz.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,110,46,132,48,133,50,51,52,53])),"../views/Example/Dialog/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-hm17oh4g.js"),__vite__mapDeps([134,133,50,3,2,4,5,51,7,26])),"../views/Example/Dialog/components/Write.vue":()=>__vitePreload(()=>import("./Write-BuCNNk6h.js"),__vite__mapDeps([135,132,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48])),"../views/Example/Page/ExampleAdd.vue":()=>__vitePreload(()=>import("./ExampleAdd-DrUZi0UV.js"),__vite__mapDeps([136,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,138,6,33,110,139])),"../views/Example/Page/ExampleDetail.vue":()=>__vitePreload(()=>import("./ExampleDetail-CJG4v3wL.js"),__vite__mapDeps([140,141,50,3,2,4,5,51,7,26,22,138,6,33,110])),"../views/Example/Page/ExampleEdit.vue":()=>__vitePreload(()=>import("./ExampleEdit-DeJwcuSy.js"),__vite__mapDeps([142,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,138,6,33,110,139])),"../views/Example/Page/ExamplePage.vue":()=>__vitePreload(()=>import("./ExamplePage-DOesSW2Q.js"),__vite__mapDeps([143,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,37,38,39,40,41,42,43,44,110,46,139,52,53])),"../views/Example/Page/components/Detail.vue":()=>__vitePreload(()=>import("./Detail-BPfZS6hC.js"),__vite__mapDeps([144,141,50,3,2,4,5,51,7,26,22])),"../views/Example/Page/components/Write.vue":()=>__vitePreload(()=>import("./Write-CYvj7Ptn.js"),__vite__mapDeps([145,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48])),"../views/Function/MultipleTabs.vue":()=>__vitePreload(()=>import("./MultipleTabs-Bh9UBkkQ.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,33])),"../views/Function/MultipleTabsDemo.vue":()=>__vitePreload(()=>import("./MultipleTabsDemo-Dih0tn0w.js"),__vite__mapDeps([147,1,2,3,4,5,6,7,148])),"../views/Function/Request.vue":()=>__vitePreload(()=>import("./Request-BxlDewr2.js"),__vite__mapDeps([149,1,2,3,4,5,6,7,33,29])),"../views/Function/Test.vue":()=>__vitePreload(()=>import("./Test-D54RbRsz.js"),__vite__mapDeps([150,3,1,2,4,5,6,7,33,29,26])),"../views/Guide/Guide.vue":()=>__vitePreload(()=>import("./Guide-DyAdza91.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,33,152])),"../views/HomeView.vue":()=>__vitePreload(()=>import("./HomeView-Dc4x2cQA.js"),__vite__mapDeps([153,4,3])),"../views/Level/Menu111.vue":()=>__vitePreload(()=>import("./Menu111-BYJERKej.js"),__vite__mapDeps([154,1,2,3,4,5,6,7])),"../views/Level/Menu12.vue":()=>__vitePreload(()=>import("./Menu12-CV0PrZli.js"),__vite__mapDeps([155,1,2,3,4,5,6,7])),"../views/Level/Menu2.vue":()=>__vitePreload(()=>import("./Menu2-DmSnK1_9.js"),__vite__mapDeps([156,1,2,3,4,5,6,7])),"../views/Login/Login.vue":()=>__vitePreload(()=>import("./Login-ulpAKuw2.js"),__vite__mapDeps([157,3,105,158,9,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33,111,159,160,34,161,162])),"../views/Login/components/LoginForm.vue":()=>__vitePreload(()=>import("./LoginForm-BaIImPr6.js"),__vite__mapDeps([163,158,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33,111])),"../views/Login/components/RegisterForm.vue":()=>__vitePreload(()=>import("./RegisterForm-BTz8enix.js"),__vite__mapDeps([164,159,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33])),"../views/Redirect/Redirect.vue":()=>__vitePreload(()=>import("./Redirect-Dp-dz-Ac.js"),__vite__mapDeps([165,3])),"../views/hooks/useClipboard.vue":()=>__vitePreload(()=>import("./useClipboard-DEl80QDH.js"),__vite__mapDeps([166,1,2,3,4,5,6,7,33])),"../views/hooks/useCrudSchemas.vue":()=>__vitePreload(()=>import("./useCrudSchemas-Bpoua2iq.js"),__vite__mapDeps([167,52,53,3,17,18,1,2,4,5,6,7,26])),"../views/hooks/useNetwork.vue":()=>__vitePreload(()=>import("./useNetwork-B4kGtv6d.js"),__vite__mapDeps([168,1,2,3,4,5,6,7])),"../views/hooks/useTagsView.vue":()=>__vitePreload(()=>import("./useTagsView-Cuqnabeg.js"),__vite__mapDeps([169,1,2,3,4,5,6,7,33,148])),"../views/hooks/useValidator.vue":()=>__vitePreload(()=>import("./useValidator-BWnAimwi.js"),__vite__mapDeps([170,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,32])),"../views/hooks/useWatermark.vue":()=>__vitePreload(()=>import("./useWatermark-B0SmaTRL.js"),__vite__mapDeps([171,1,2,3,4,5,6,7,33]))}),Layout=()=>__vitePreload(()=>import("./Layout-DgfJ2_4Z.js"),__vite__mapDeps([172,4,3,2,5,160,9,10,11,12,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,34,161,33,53,148,105,126,35,36,32,48,173,44,43])),getParentLayout=()=>()=>new Promise(e=>{e({name:"ParentLayout"})}),getRawRoute=e=>{if(!e)return e;const H=e,{matched:G}=H,C=Jr(H,["matched"]);return tr(it({},C),{matched:G?G.map(W=>({meta:W.meta,name:W.name,path:W.path})):void 0})},generateRoutesByFrontEnd=(e,G,C="/")=>{var W;const H=[];for(const K of e){const Q=(W=K.meta)!=null?W:{};if(Q.hidden&&!Q.canTo)continue;let Z=null,ne=null;K.children&&K.children.length===1&&!Q.alwaysShow&&(ne=isUrl(K.children[0].path)?K.children[0].path:pathResolve(pathResolve(C,K.path),K.children[0].path));for(const ee of G)isUrl(ee)&&(ne===ee||K.path===ee)?Z=Object.assign({},K):((ne!=null?ne:pathResolve(C,K.path)).trim()===ee||Q.followRoute===ee)&&(Z=Object.assign({},K));K.children&&Z&&(Z.children=generateRoutesByFrontEnd(K.children,G,pathResolve(C,Z.path))),Z&&H.push(Z)}return H},generateRoutesByServer=e=>{const G=[];for(const C of e){const H={path:C.path,name:C.name,redirect:C.redirect,meta:C.meta};if(C.component){const W=modules$1[`../${C.component}.vue`]||modules$1[`../${C.component}.tsx`],K=C.component;!W&&!K.includes("#")?console.error(`未找到${C.component}.vue文件或${C.component}.tsx文件,请创建`):H.component=K==="#"?Layout:K.includes("##")?getParentLayout():W}C.children&&(H.children=generateRoutesByServer(C.children)),G.push(H)}return G},pathResolve=(e,G)=>{if(isUrl(G))return G;const C=G.startsWith("/")||!G?G:`/${G}`;return`${e}${C}`.replace(/\/\//g,"/").trim()},flatMultiLevelRoutes=e=>{const G=cloneDeep(e);for(let C=0;C{var H,W;if(!e||!Reflect.has(e,"children")||!((H=e.children)!=null&&H.length))return!1;const G=e.children;let C=!1;for(let K=0;K{var H;let G=createRouter({routes:[e],history:createWebHashHistory()});const C=G.getRoutes();addToChildren(C,e.children||[],e),G=null,e.children=(H=e.children)==null?void 0:H.map(W=>omit(W,"children"))},addToChildren=(e,G,C)=>{var H,W;for(let K=0;Kne.name===Q.name);Z&&(C.children=C.children||[],C.children.find(ne=>ne.name===Z.name)||(H=C.children)==null||H.push(Z),(W=Q.children)!=null&&W.length&&addToChildren(e,Q.children,C))}},SUCCESS_CODE=0,CONTENT_TYPE="application/json",REQUEST_TIMEOUT=6e4,NO_REDIRECT_WHITE_LIST=["/login"],NO_RESET_WHITE_LIST=["Redirect","RedirectCon","Login","NoFind","Root"],DEFAULT_FILTER_COLUMN=["expand","selection"],constantRouterMap=[{path:"/",component:Layout,redirect:"/dashboard/analysis",name:"Root",meta:{hidden:!0}},{path:"/redirect",component:Layout,name:"Redirect",children:[{path:"/redirect/:path(.*)",name:"RedirectCon",component:()=>__vitePreload(()=>import("./Redirect-Dp-dz-Ac.js"),__vite__mapDeps([165,3])),meta:{}}],meta:{hidden:!0,noTagsView:!0}},{path:"/login",component:()=>__vitePreload(()=>import("./Login-ulpAKuw2.js"),__vite__mapDeps([157,3,105,158,9,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,33,111,159,160,34,161,162])),name:"Login",meta:{hidden:!0,title:"登录",noTagsView:!0}}],asyncRouterMap=[{path:"/dashboard",component:Layout,redirect:"/dashboard/analysis",name:"Dashboard",meta:{title:"首页",icon:"ant-design:dashboard-filled",alwaysShow:!0},children:[{path:"analysis",component:()=>__vitePreload(()=>import("./Analysis-zpqCMMyB.js"),__vite__mapDeps([121,122,2,3,4,5,77,123,26,6,124,83,84])),name:"Analysis",meta:{title:"分析页",noCache:!0,affix:!0}},{path:"workplace",component:()=>__vitePreload(()=>import("./Workplace-bECAtLqj.js"),__vite__mapDeps([125,2,3,4,5,126,77,83,84,95,26,124,6,29,111])),name:"Workplace",meta:{title:"工作台",noCache:!0}}]},{path:"/external-link",component:Layout,meta:{},name:"ExternalLink",children:[{path:"https://admindoc.mbuild.top",name:"DocumentLink",meta:{title:"文档",icon:"clarity:document-solid"}}]},{path:"/guide",component:Layout,name:"Guide",meta:{},children:[{path:"index",component:()=>__vitePreload(()=>import("./Guide-DyAdza91.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,33,152])),name:"GuideDemo",meta:{title:"引导",icon:"cib:telegram-plane"}}]},{path:"/components",component:Layout,name:"ComponentsDemo",meta:{title:"组件",icon:"bx:bxs-component",alwaysShow:!0},children:[{path:"form",component:getParentLayout(),redirect:"/components/form/default-form",name:"Form",meta:{title:"表单",alwaysShow:!0},children:[{path:"default-form",component:()=>__vitePreload(()=>import("./DefaultForm-DsmB2kiS.js"),__vite__mapDeps([90,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,1,6,81,33,91])),name:"DefaultForm",meta:{title:"全部示例"}},{path:"use-form",component:()=>__vitePreload(()=>import("./UseFormDemo-DpljFsZ8.js"),__vite__mapDeps([92,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,1,6,32,48,81,33,93])),name:"UseForm",meta:{title:"UseForm"}}]},{path:"table",component:getParentLayout(),redirect:"/components/table/default-table",name:"TableDemo",meta:{title:"表格",alwaysShow:!0},children:[{path:"default-table",component:()=>__vitePreload(()=>import("./DefaultTable-BwJ06UZq.js"),__vite__mapDeps([112,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),name:"DefaultTable",meta:{title:"基础示例"}},{path:"use-table",component:()=>__vitePreload(()=>import("./UseTableDemo-Dz53_phS.js"),__vite__mapDeps([117,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,46,118])),name:"UseTable",meta:{title:"UseTable"}},{path:"tree-table",component:()=>__vitePreload(()=>import("./TreeTable-Cdrgo-oH.js"),__vite__mapDeps([115,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,46,116])),name:"TreeTable",meta:{title:"treeTable"}},{path:"table-image-preview",component:()=>__vitePreload(()=>import("./TableImagePreview-TQvekAeQ.js"),__vite__mapDeps([113,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),name:"TableImagePreview",meta:{title:"表格图片预览"}},{path:"table-video-preview",component:()=>__vitePreload(()=>import("./TableVideoPreview-dskQFQoF.js"),__vite__mapDeps([114,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110])),name:"TableVideoPreview",meta:{title:"表格视频预览"}},{path:"card-table",component:()=>__vitePreload(()=>import("./CardTable-Bw7janir.js"),__vite__mapDeps([109,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,110,111,29])),name:"CardTable",meta:{title:"卡片表格"}}]},{path:"editor-demo",component:getParentLayout(),redirect:"/components/editor-demo/editor",name:"EditorDemo",meta:{title:"编辑器",alwaysShow:!0},children:[{path:"editor",component:()=>__vitePreload(()=>import("./Editor-B3tCMAco.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,14,15,16])),name:"Editor",meta:{title:"富文本"}},{path:"json-editor",component:()=>__vitePreload(()=>import("./JsonEditor-zaPyVnuj.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,17,18])),name:"JsonEditor",meta:{title:"JSON编辑器"}},{path:"code-editor",component:()=>__vitePreload(()=>import("./CodeEditor-B5qkoQbs.js").then(e=>e.C),__vite__mapDeps([86,3,4,1,2,5,6,7,33,87,22,23,25,29])),name:"CodeEditor",meta:{title:"代码编辑器"}}]},{path:"search",component:()=>__vitePreload(()=>import("./Search-DgAux1Qa.js"),__vite__mapDeps([107,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,81,108])),name:"Search",meta:{title:"查询"}},{path:"descriptions",component:()=>__vitePreload(()=>import("./Descriptions-DW3GVgul.js"),__vite__mapDeps([78,50,3,2,4,5,51,7,26,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,48,32,79])),name:"Descriptions",meta:{title:"描述"}},{path:"image-viewer",component:()=>__vitePreload(()=>import("./ImageViewer-BOf9L9uI.js"),__vite__mapDeps([101,1,2,3,4,5,6,7,33,42])),name:"ImageViewer",meta:{title:"图片预览"}},{path:"dialog",component:()=>__vitePreload(()=>import("./Dialog-C5agpchq.js"),__vite__mapDeps([80,1,2,3,4,5,6,7,35,36,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,81,32,82,83,84])),name:"Dialog",meta:{title:"弹窗"}},{path:"icon",component:()=>__vitePreload(()=>import("./Icon-Dqr2xHxm.js"),__vite__mapDeps([96,1,2,3,4,5,6,7,97,95,34,33])),name:"Icon",meta:{title:"图标"}},{path:"icon-picker",component:()=>__vitePreload(()=>import("./IconPicker-xreVUfVq.js"),__vite__mapDeps([98,19,2,3,4,5,20,7,21,22,23,1,6])),name:"IconPicker",meta:{title:"图标选择器"}},{path:"echart",component:()=>__vitePreload(()=>import("./Echart-DmGiZfu_.js"),__vite__mapDeps([85,82,1,2,3,4,5,6,7,83,84,26])),name:"Echart",meta:{title:"图表"}},{path:"count-to",component:()=>__vitePreload(()=>import("./CountTo-CH36VAch.js"),__vite__mapDeps([76,1,2,3,4,5,6,7,77,33,26,28])),name:"CountTo",meta:{title:"数字动画"}},{path:"qrcode",component:()=>__vitePreload(()=>import("./Qrcode-DVJsoV0Q.js"),__vite__mapDeps([104,2,3,4,5,1,6,7,105,106,26])),name:"Qrcode",meta:{title:"二维码"}},{path:"highlight",component:()=>__vitePreload(()=>import("./Highlight-CKZh1vpZ.js"),__vite__mapDeps([94,1,2,3,4,5,6,7,95])),name:"Highlight",meta:{title:"高亮"}},{path:"infotip",component:()=>__vitePreload(()=>import("./Infotip-GXE8Z7-L.js"),__vite__mapDeps([102,1,2,3,4,5,6,7,97,95])),name:"Infotip",meta:{title:"信息提示"}},{path:"input-password",component:()=>__vitePreload(()=>import("./InputPassword-Bb3KYe36.js"),__vite__mapDeps([103,1,2,3,4,5,6,7,12,13])),name:"InputPassword",meta:{title:"密码输入框"}},{path:"waterfall",component:()=>__vitePreload(()=>import("./Waterfall-Cl9cBNyL.js"),__vite__mapDeps([120,4,3,1,2,5,6,7])),name:"waterfall",meta:{title:"瀑布流"}},{path:"image-cropping",component:()=>__vitePreload(()=>import("./ImageCropping-DxUYpy0B.js"),__vite__mapDeps([99,1,2,3,4,5,6,7,33,100,29,31])),name:"ImageCropping",meta:{title:"图片裁剪"}},{path:"video-player",component:()=>__vitePreload(()=>import("./VideoPlayer-D61ftkwv.js"),__vite__mapDeps([119,38,3,4,2,5,39,1,6,7,33,29])),name:"VideoPlayer",meta:{title:"视频播放器"}}]},{path:"/function",component:Layout,redirect:"/function/multipleTabs",name:"Function",meta:{title:"功能",icon:"ri:function-fill",alwaysShow:!0},children:[{path:"multiple-tabs",component:()=>__vitePreload(()=>import("./MultipleTabs-Bh9UBkkQ.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,33])),name:"MultipleTabs",meta:{title:"多开标签页"}},{path:"multiple-tabs-demo/:id",component:()=>__vitePreload(()=>import("./MultipleTabsDemo-Dih0tn0w.js"),__vite__mapDeps([147,1,2,3,4,5,6,7,148])),name:"MultipleTabsDemo",meta:{hidden:!0,title:"详情页",canTo:!0,activeMenu:"/function/multiple-tabs"}},{path:"request",component:()=>__vitePreload(()=>import("./Request-BxlDewr2.js"),__vite__mapDeps([149,1,2,3,4,5,6,7,33,29])),name:"Request",meta:{title:"请求"}},{path:"test",component:()=>__vitePreload(()=>import("./Test-D54RbRsz.js"),__vite__mapDeps([150,3,1,2,4,5,6,7,33,29,26])),name:"Test",meta:{title:"权限测试页",permission:["add","edit","delete"]}}]},{path:"/hooks",component:Layout,redirect:"/hooks/useWatermark",name:"Hooks",meta:{title:"hooks",icon:"ic:outline-webhook",alwaysShow:!0},children:[{path:"useWatermark",component:()=>__vitePreload(()=>import("./useWatermark-B0SmaTRL.js"),__vite__mapDeps([171,1,2,3,4,5,6,7,33])),name:"UseWatermark",meta:{title:"useWatermark"}},{path:"useTagsView",component:()=>__vitePreload(()=>import("./useTagsView-Cuqnabeg.js"),__vite__mapDeps([169,1,2,3,4,5,6,7,33,148])),name:"UseTagsView",meta:{title:"useTagsView"}},{path:"useValidator",component:()=>__vitePreload(()=>import("./useValidator-BWnAimwi.js"),__vite__mapDeps([170,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,48,32])),name:"UseValidator",meta:{title:"useValidator"}},{path:"useCrudSchemas",component:()=>__vitePreload(()=>import("./useCrudSchemas-Bpoua2iq.js"),__vite__mapDeps([167,52,53,3,17,18,1,2,4,5,6,7,26])),name:"UseCrudSchemas",meta:{title:"useCrudSchemas"}},{path:"useClipboard",component:()=>__vitePreload(()=>import("./useClipboard-DEl80QDH.js"),__vite__mapDeps([166,1,2,3,4,5,6,7,33])),name:"UseClipboard",meta:{title:"useClipboard"}},{path:"useNetwork",component:()=>__vitePreload(()=>import("./useNetwork-B4kGtv6d.js"),__vite__mapDeps([168,1,2,3,4,5,6,7])),name:"UseNetwork",meta:{title:"useNetwork"}}]},{path:"/level",component:Layout,redirect:"/level/menu1/menu1-1/menu1-1-1",name:"Level",meta:{title:"多级菜单",icon:"carbon:skill-level-advanced"},children:[{path:"menu1",name:"Menu1",component:getParentLayout(),redirect:"/level/menu1/menu1-1/menu1-1-1",meta:{title:"菜单1"},children:[{path:"menu1-1",name:"Menu11",component:getParentLayout(),redirect:"/level/menu1/menu1-1/menu1-1-1",meta:{title:"菜单1-1",alwaysShow:!0},children:[{path:"menu1-1-1",name:"Menu111",component:()=>__vitePreload(()=>import("./Menu111-BYJERKej.js"),__vite__mapDeps([154,1,2,3,4,5,6,7])),meta:{title:"菜单1-1-1"}}]},{path:"menu1-2",name:"Menu12",component:()=>__vitePreload(()=>import("./Menu12-CV0PrZli.js"),__vite__mapDeps([155,1,2,3,4,5,6,7])),meta:{title:"菜单1-2"}}]},{path:"menu2",name:"Menu2",component:()=>__vitePreload(()=>import("./Menu2-DmSnK1_9.js"),__vite__mapDeps([156,1,2,3,4,5,6,7])),meta:{title:"菜单2"}}]},{path:"/example",component:Layout,redirect:"/example/example-dialog",name:"Example",meta:{title:"综合示例",icon:"ep:management",alwaysShow:!0},children:[{path:"example-dialog",component:()=>__vitePreload(()=>import("./ExampleDialog-CfF_W4Cz.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,110,46,132,48,133,50,51,52,53])),name:"ExampleDialog",meta:{title:"综合示例 - 弹窗"}},{path:"example-page",component:()=>__vitePreload(()=>import("./ExamplePage-DOesSW2Q.js"),__vite__mapDeps([143,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,37,38,39,40,41,42,43,44,110,46,139,52,53])),name:"ExamplePage",meta:{title:"综合示例 - 页面"}},{path:"example-add",component:()=>__vitePreload(()=>import("./ExampleAdd-DrUZi0UV.js"),__vite__mapDeps([136,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,138,6,33,110,139])),name:"ExampleAdd",meta:{title:"综合示例 - 新增",noTagsView:!0,noCache:!0,hidden:!0,canTo:!0,activeMenu:"/example/example-page"}},{path:"example-edit",component:()=>__vitePreload(()=>import("./ExampleEdit-DeJwcuSy.js"),__vite__mapDeps([142,137,9,3,10,11,12,4,2,5,13,14,15,16,17,18,19,20,7,21,22,23,24,25,26,27,28,29,30,31,32,48,138,6,33,110,139])),name:"ExampleEdit",meta:{title:"综合示例 - 编辑",noTagsView:!0,noCache:!0,hidden:!0,canTo:!0,activeMenu:"/example/example-page"}},{path:"example-detail",component:()=>__vitePreload(()=>import("./ExampleDetail-CJG4v3wL.js"),__vite__mapDeps([140,141,50,3,2,4,5,51,7,26,22,138,6,33,110])),name:"ExampleDetail",meta:{title:"综合示例 - 详情",noTagsView:!0,noCache:!0,hidden:!0,canTo:!0,activeMenu:"/example/example-page"}}]},{path:"/error",component:Layout,redirect:"/error/404",name:"Error",meta:{title:"错误页面",icon:"ci:error",alwaysShow:!0},children:[{path:"404-demo",component:()=>__vitePreload(()=>import("./404-DeNxoW2L.js"),__vite__mapDeps([129,128,33,4,3])),name:"404Demo",meta:{title:"404"}},{path:"403-demo",component:()=>__vitePreload(()=>import("./403-C8zlE3NN.js"),__vite__mapDeps([127,128,33,4,3])),name:"403Demo",meta:{title:"403"}},{path:"500-demo",component:()=>__vitePreload(()=>import("./500-lB2W0Nmh.js"),__vite__mapDeps([130,128,33,4,3])),name:"500Demo",meta:{title:"500"}}]},{path:"/authorization",component:Layout,redirect:"/authorization/user",name:"Authorization",meta:{title:"权限管理",icon:"eos-icons:role-binding",alwaysShow:!0},children:[{path:"department",component:()=>__vitePreload(()=>import("./Department-CT-Tkbul.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53])),name:"Department",meta:{title:"部门管理"}},{path:"user",component:()=>__vitePreload(()=>import("./User-ClfDpmHQ.js"),__vite__mapDeps([71,1,2,3,4,5,6,7,37,10,11,33,38,39,40,41,27,22,21,23,42,43,44,45,46,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,72,48,73,50,51,35,36,66,52,53])),name:"User",meta:{title:"用户管理"}},{path:"menu",component:()=>__vitePreload(()=>import("./Menu-juqxCjCo.js"),__vite__mapDeps([56,57,46,37,10,11,2,3,4,5,33,38,39,40,41,27,7,22,21,23,42,6,43,44,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,1,58,48,59,60,61,50,51,35,36])),name:"Menu",meta:{title:"菜单管理"}},{path:"role",component:()=>__vitePreload(()=>import("./Role-CNvE3WMG.js"),__vite__mapDeps([65,66,46,37,10,11,2,3,4,5,33,38,39,40,41,27,7,22,21,23,42,6,43,44,8,9,12,13,14,15,16,17,18,19,20,24,25,26,28,29,30,31,32,34,1,67,48,57,53,68,50,51,35,36])),name:"Role",meta:{title:"角色管理"}}]}],router=createRouter({history:createWebHistory("/"),routes:constantRouterMap,scrollBehavior:()=>({left:0,top:0})}),resetRouter=()=>{router.getRoutes().forEach(e=>{const{name:G}=e;G&&!NO_RESET_WHITE_LIST.includes(G)&&router.hasRoute(G)&&router.removeRoute(G)})},plugins=[ElLoading],components=[ElScrollbar],setupElementPlus=e=>{plugins.forEach(G=>{e.use(G)}),components.forEach(G=>{e.component(G.name,G)})},hasPermission=e=>{const G=router.currentRoute.value.meta.permission||[];if(!e)throw new Error("请设置操作权限值");return!!G.includes(e)};function hasPermi(e,G){var W;const C=G.value;hasPermission(C)||(W=e.parentNode)==null||W.removeChild(e)}const mounted=(e,G)=>{hasPermi(e,G)},permiDirective={mounted},setupPermissionDirective=e=>{e.directive("hasPermi",permiDirective)},setupPermission=e=>{setupPermissionDirective(e)},useTitle=e=>{const G=useAppStoreWithOut(),C=ref$1(e?`${G.getTitle} - ${e}`:G.getTitle);return watch(C,(H,W)=>{isString$1(H)&&H!==W&&document&&(document.title=H)},{immediate:!0}),C};var nprogress$1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT */var nprogress=nprogress$1.exports,hasRequiredNprogress;function requireNprogress(){return hasRequiredNprogress||(hasRequiredNprogress=1,function(e,G){(function(C,H){e.exports=H()})(nprogress,function(){var C={};C.version="0.2.0";var H=C.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};C.configure=function(oe){var se,ae;for(se in oe)ae=oe[se],ae!==void 0&&oe.hasOwnProperty(se)&&(H[se]=ae);return this},C.status=null,C.set=function(oe){var se=C.isStarted();oe=W(oe,H.minimum,1),C.status=oe===1?null:oe;var ae=C.render(!se),ue=ae.querySelector(H.barSelector),fe=H.speed,he=H.easing;return ae.offsetWidth,Z(function(Ae){H.positionUsing===""&&(H.positionUsing=C.getPositioningCSS()),ne(ue,Q(oe,fe,he)),oe===1?(ne(ae,{transition:"none",opacity:1}),ae.offsetWidth,setTimeout(function(){ne(ae,{transition:"all "+fe+"ms linear",opacity:0}),setTimeout(function(){C.remove(),Ae()},fe)},fe)):setTimeout(Ae,fe)}),this},C.isStarted=function(){return typeof C.status=="number"},C.start=function(){C.status||C.set(0);var oe=function(){setTimeout(function(){C.status&&(C.trickle(),oe())},H.trickleSpeed)};return H.trickle&&oe(),this},C.done=function(oe){return!oe&&!C.status?this:C.inc(.3+.5*Math.random()).set(1)},C.inc=function(oe){var se=C.status;return se?(typeof oe!="number"&&(oe=(1-se)*W(Math.random()*se,.1,.95)),se=W(se+oe,0,.994),C.set(se)):C.start()},C.trickle=function(){return C.inc(Math.random()*H.trickleRate)},function(){var oe=0,se=0;C.promise=function(ae){return!ae||ae.state()==="resolved"?this:(se===0&&C.start(),oe++,se++,ae.always(function(){se--,se===0?(oe=0,C.done()):C.set((oe-se)/oe)}),this)}}(),C.render=function(oe){if(C.isRendered())return document.getElementById("nprogress");ie(document.documentElement,"nprogress-busy");var se=document.createElement("div");se.id="nprogress",se.innerHTML=H.template;var ae=se.querySelector(H.barSelector),ue=oe?"-100":K(C.status||0),fe=document.querySelector(H.parent),he;return ne(ae,{transition:"all 0 linear",transform:"translate3d("+ue+"%,0,0)"}),H.showSpinner||(he=se.querySelector(H.spinnerSelector),he&&de(he)),fe!=document.body&&ie(fe,"nprogress-custom-parent"),fe.appendChild(se),se},C.remove=function(){ce(document.documentElement,"nprogress-busy"),ce(document.querySelector(H.parent),"nprogress-custom-parent");var oe=document.getElementById("nprogress");oe&&de(oe)},C.isRendered=function(){return!!document.getElementById("nprogress")},C.getPositioningCSS=function(){var oe=document.body.style,se="WebkitTransform"in oe?"Webkit":"MozTransform"in oe?"Moz":"msTransform"in oe?"ms":"OTransform"in oe?"O":"";return se+"Perspective"in oe?"translate3d":se+"Transform"in oe?"translate":"margin"};function W(oe,se,ae){return oeae?ae:oe}function K(oe){return(-1+oe)*100}function Q(oe,se,ae){var ue;return H.positionUsing==="translate3d"?ue={transform:"translate3d("+K(oe)+"%,0,0)"}:H.positionUsing==="translate"?ue={transform:"translate("+K(oe)+"%,0)"}:ue={"margin-left":K(oe)+"%"},ue.transition="all "+se+"ms "+ae,ue}var Z=function(){var oe=[];function se(){var ae=oe.shift();ae&&ae(se)}return function(ae){oe.push(ae),oe.length==1&&se()}}(),ne=function(){var oe=["Webkit","O","Moz","ms"],se={};function ae(Ae){return Ae.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(ye,Se){return Se.toUpperCase()})}function ue(Ae){var ye=document.body.style;if(Ae in ye)return Ae;for(var Se=oe.length,ge=Ae.charAt(0).toUpperCase()+Ae.slice(1),be;Se--;)if(be=oe[Se]+ge,be in ye)return be;return Ae}function fe(Ae){return Ae=ae(Ae),se[Ae]||(se[Ae]=ue(Ae))}function he(Ae,ye,Se){ye=fe(ye),Ae.style[ye]=Se}return function(Ae,ye){var Se=arguments,ge,be;if(Se.length==2)for(ge in ye)be=ye[ge],be!==void 0&&ye.hasOwnProperty(ge)&&he(Ae,ge,be);else he(Ae,Se[1],Se[2])}}();function ee(oe,se){var ae=typeof oe=="string"?oe:pe(oe);return ae.indexOf(" "+se+" ")>=0}function ie(oe,se){var ae=pe(oe),ue=ae+se;ee(ae,se)||(oe.className=ue.substring(1))}function ce(oe,se){var ae=pe(oe),ue;ee(oe,se)&&(ue=ae.replace(" "+se+" "," "),oe.className=ue.substring(1,ue.length-1))}function pe(oe){return(" "+(oe.className||"")+" ").replace(/\s+/gi," ")}function de(oe){oe&&oe.parentNode&&oe.parentNode.removeChild(oe)}return C})}(nprogress$1)),nprogress$1.exports}var nprogressExports=requireNprogress();const NProgress=getDefaultExportFromCjs(nprogressExports),primaryColor=useCssVar("--el-color-primary",document.documentElement),useNProgress=()=>(NProgress.configure({showSpinner:!1}),pt(void 0,null,function*(){var W;yield nextTick();const H=(W=document.getElementById("nprogress"))==null?void 0:W.getElementsByClassName("bar")[0];H&&(H.style.background=unref(primaryColor.value))}),{start:()=>{NProgress.start()},done:()=>{NProgress.done()}}),usePermissionStore=defineStore("permission",{state:()=>({routers:[],addRouters:[],isAddRouters:!1,menuTabRouters:[]}),getters:{getRouters(){return this.routers},getAddRouters(){return flatMultiLevelRoutes(cloneDeep(this.addRouters))},getIsAddRouters(){return this.isAddRouters},getMenuTabRouters(){return this.menuTabRouters}},actions:{generateRoutes(e,G){return new Promise(C=>{let H=[];e==="server"?H=generateRoutesByServer(G):e==="frontEnd"?H=generateRoutesByFrontEnd(cloneDeep(asyncRouterMap),G):H=cloneDeep(asyncRouterMap),this.addRouters=H.concat([{path:"/:path(.*)*",redirect:"/404",name:"404Page",meta:{hidden:!0,breadcrumb:!1}}]),this.routers=cloneDeep(constantRouterMap).concat(H),C()})},setIsAddRouters(e){this.isAddRouters=e},setMenuTabRouters(e){this.menuTabRouters=e}},persist:{pick:["routers","addRouters","menuTabRouters"]}}),usePermissionStoreWithOut=()=>usePermissionStore(store),usePageLoading=()=>({loadStart:()=>{useAppStoreWithOut().setPageLoading(!0)},loadDone:()=>{useAppStoreWithOut().setPageLoading(!1)}});function bind(e,G){return function(){return e.apply(G,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(e=>G=>{const C=toString.call(G);return e[C]||(e[C]=C.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=e=>(e=e.toLowerCase(),G=>kindOf(G)===e),typeOfTest=e=>G=>typeof G===e,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(e){return e!==null&&!isUndefined(e)&&e.constructor!==null&&!isUndefined(e.constructor)&&isFunction(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let G;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?G=ArrayBuffer.isView(e):G=e&&e.buffer&&isArrayBuffer(e.buffer),G}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject=e=>e!==null&&typeof e=="object",isBoolean=e=>e===!0||e===!1,isPlainObject=e=>{if(kindOf(e)!=="object")return!1;const G=getPrototypeOf(e);return(G===null||G===Object.prototype||Object.getPrototypeOf(G)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=e=>isObject(e)&&isFunction(e.pipe),isFormData=e=>{let G;return e&&(typeof FormData=="function"&&e instanceof FormData||isFunction(e.append)&&((G=kindOf(e))==="formdata"||G==="object"&&isFunction(e.toString)&&e.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,G,{allOwnKeys:C=!1}={}){if(e===null||typeof e=="undefined")return;let H,W;if(typeof e!="object"&&(e=[e]),isArray(e))for(H=0,W=e.length;H0;)if(W=C[H],G===W.toLowerCase())return W;return null}const _global=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,isContextDefined=e=>!isUndefined(e)&&e!==_global;function merge(){const{caseless:e}=isContextDefined(this)&&this||{},G={},C=(H,W)=>{const K=e&&findKey(G,W)||W;isPlainObject(G[K])&&isPlainObject(H)?G[K]=merge(G[K],H):isPlainObject(H)?G[K]=merge({},H):isArray(H)?G[K]=H.slice():G[K]=H};for(let H=0,W=arguments.length;H(forEach(G,(W,K)=>{C&&isFunction(W)?e[K]=bind(W,C):e[K]=W},{allOwnKeys:H}),e),stripBOM=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),inherits=(e,G,C,H)=>{e.prototype=Object.create(G.prototype,H),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:G.prototype}),C&&Object.assign(e.prototype,C)},toFlatObject=(e,G,C,H)=>{let W,K,Q;const Z={};if(G=G||{},e==null)return G;do{for(W=Object.getOwnPropertyNames(e),K=W.length;K-- >0;)Q=W[K],(!H||H(Q,e,G))&&!Z[Q]&&(G[Q]=e[Q],Z[Q]=!0);e=C!==!1&&getPrototypeOf(e)}while(e&&(!C||C(e,G))&&e!==Object.prototype);return G},endsWith=(e,G,C)=>{e=String(e),(C===void 0||C>e.length)&&(C=e.length),C-=G.length;const H=e.indexOf(G,C);return H!==-1&&H===C},toArray=e=>{if(!e)return null;if(isArray(e))return e;let G=e.length;if(!isNumber(G))return null;const C=new Array(G);for(;G-- >0;)C[G]=e[G];return C},isTypedArray=(e=>G=>e&&G instanceof e)(typeof Uint8Array!="undefined"&&getPrototypeOf(Uint8Array)),forEachEntry=(e,G)=>{const H=(e&&e[Symbol.iterator]).call(e);let W;for(;(W=H.next())&&!W.done;){const K=W.value;G.call(e,K[0],K[1])}},matchAll=(e,G)=>{let C;const H=[];for(;(C=e.exec(G))!==null;)H.push(C);return H},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(C,H,W){return H.toUpperCase()+W}),hasOwnProperty=(({hasOwnProperty:e})=>(G,C)=>e.call(G,C))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(e,G)=>{const C=Object.getOwnPropertyDescriptors(e),H={};forEach(C,(W,K)=>{let Q;(Q=G(W,K,e))!==!1&&(H[K]=Q||W)}),Object.defineProperties(e,H)},freezeMethods=e=>{reduceDescriptors(e,(G,C)=>{if(isFunction(e)&&["arguments","caller","callee"].indexOf(C)!==-1)return!1;const H=e[C];if(isFunction(H)){if(G.enumerable=!1,"writable"in G){G.writable=!1;return}G.set||(G.set=()=>{throw Error("Can not rewrite read-only method '"+C+"'")})}})},toObjectSet=(e,G)=>{const C={},H=W=>{W.forEach(K=>{C[K]=!0})};return isArray(e)?H(e):H(String(e).split(G)),C},noop=()=>{},toFiniteNumber=(e,G)=>e!=null&&Number.isFinite(e=+e)?e:G,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(e=16,G=ALPHABET.ALPHA_DIGIT)=>{let C="";const{length:H}=G;for(;e--;)C+=G[Math.random()*H|0];return C};function isSpecCompliantForm(e){return!!(e&&isFunction(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const toJSONObject=e=>{const G=new Array(10),C=(H,W)=>{if(isObject(H)){if(G.indexOf(H)>=0)return;if(!("toJSON"in H)){G[W]=H;const K=isArray(H)?[]:{};return forEach(H,(Q,Z)=>{const ne=C(Q,W+1);!isUndefined(ne)&&(K[Z]=ne)}),G[W]=void 0,K}}return H};return C(e,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=e=>e&&(isObject(e)||isFunction(e))&&isFunction(e.then)&&isFunction(e.catch),_setImmediate=((e,G)=>e?setImmediate:G?((C,H)=>(_global.addEventListener("message",({source:W,data:K})=>{W===_global&&K===C&&H.length&&H.shift()()},!1),W=>{H.push(W),_global.postMessage(C,"*")}))(`axios@${Math.random()}`,[]):C=>setTimeout(C))(typeof setImmediate=="function",isFunction(_global.postMessage)),asap=typeof queueMicrotask!="undefined"?queueMicrotask.bind(_global):typeof process!="undefined"&&process.nextTick||_setImmediate,utils$2={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString,isNumber,isBoolean,isObject,isPlainObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(e,G,C,H,W){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",G&&(this.code=G),C&&(this.config=C),H&&(this.request=H),W&&(this.response=W,this.status=W.status?W.status:null)}utils$2.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$2.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{descriptors[e]={value:e}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(e,G,C,H,W,K)=>{const Q=Object.create(prototype$1);return utils$2.toFlatObject(e,Q,function(ne){return ne!==Error.prototype},Z=>Z!=="isAxiosError"),AxiosError.call(Q,e.message,G,C,H,W),Q.cause=e,Q.name=e.name,K&&Object.assign(Q,K),Q};const httpAdapter=null;function isVisitable(e){return utils$2.isPlainObject(e)||utils$2.isArray(e)}function removeBrackets(e){return utils$2.endsWith(e,"[]")?e.slice(0,-2):e}function renderKey(e,G,C){return e?e.concat(G).map(function(W,K){return W=removeBrackets(W),!C&&K?"["+W+"]":W}).join(C?".":""):G}function isFlatArray(e){return utils$2.isArray(e)&&!e.some(isVisitable)}const predicates=utils$2.toFlatObject(utils$2,{},null,function(G){return/^is[A-Z]/.test(G)});function toFormData(e,G,C){if(!utils$2.isObject(e))throw new TypeError("target must be an object");G=G||new FormData,C=utils$2.toFlatObject(C,{metaTokens:!0,dots:!1,indexes:!1},!1,function(se,ae){return!utils$2.isUndefined(ae[se])});const H=C.metaTokens,W=C.visitor||ie,K=C.dots,Q=C.indexes,ne=(C.Blob||typeof Blob!="undefined"&&Blob)&&utils$2.isSpecCompliantForm(G);if(!utils$2.isFunction(W))throw new TypeError("visitor must be a function");function ee(oe){if(oe===null)return"";if(utils$2.isDate(oe))return oe.toISOString();if(!ne&&utils$2.isBlob(oe))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$2.isArrayBuffer(oe)||utils$2.isTypedArray(oe)?ne&&typeof Blob=="function"?new Blob([oe]):Buffer.from(oe):oe}function ie(oe,se,ae){let ue=oe;if(oe&&!ae&&typeof oe=="object"){if(utils$2.endsWith(se,"{}"))se=H?se:se.slice(0,-2),oe=JSON.stringify(oe);else if(utils$2.isArray(oe)&&isFlatArray(oe)||(utils$2.isFileList(oe)||utils$2.endsWith(se,"[]"))&&(ue=utils$2.toArray(oe)))return se=removeBrackets(se),ue.forEach(function(he,Ae){!(utils$2.isUndefined(he)||he===null)&&G.append(Q===!0?renderKey([se],Ae,K):Q===null?se:se+"[]",ee(he))}),!1}return isVisitable(oe)?!0:(G.append(renderKey(ae,se,K),ee(oe)),!1)}const ce=[],pe=Object.assign(predicates,{defaultVisitor:ie,convertValue:ee,isVisitable});function de(oe,se){if(!utils$2.isUndefined(oe)){if(ce.indexOf(oe)!==-1)throw Error("Circular reference detected in "+se.join("."));ce.push(oe),utils$2.forEach(oe,function(ue,fe){(!(utils$2.isUndefined(ue)||ue===null)&&W.call(G,ue,utils$2.isString(fe)?fe.trim():fe,se,pe))===!0&&de(ue,se?se.concat(fe):[fe])}),ce.pop()}}if(!utils$2.isObject(e))throw new TypeError("data must be an object");return de(e),G}function encode$1(e){const G={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(H){return G[H]})}function AxiosURLSearchParams(e,G){this._pairs=[],e&&toFormData(e,this,G)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(G,C){this._pairs.push([G,C])};prototype.toString=function(G){const C=G?function(H){return G.call(this,H,encode$1)}:encode$1;return this._pairs.map(function(W){return C(W[0])+"="+C(W[1])},"").join("&")};function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(e,G,C){if(!G)return e;const H=C&&C.encode||encode;utils$2.isFunction(C)&&(C={serialize:C});const W=C&&C.serialize;let K;if(W?K=W(G,C):K=utils$2.isURLSearchParams(G)?G.toString():new AxiosURLSearchParams(G,C).toString(H),K){const Q=e.indexOf("#");Q!==-1&&(e=e.slice(0,Q)),e+=(e.indexOf("?")===-1?"?":"&")+K}return e}class InterceptorManager{constructor(){this.handlers=[]}use(G,C,H){return this.handlers.push({fulfilled:G,rejected:C,synchronous:H?H.synchronous:!1,runWhen:H?H.runWhen:null}),this.handlers.length-1}eject(G){this.handlers[G]&&(this.handlers[G]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(G){utils$2.forEach(this.handlers,function(H){H!==null&&G(H)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams!="undefined"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData!="undefined"?FormData:null,Blob$1=typeof Blob!="undefined"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window!="undefined"&&typeof document!="undefined",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils$1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform=it(it({},utils$1),platform$1);function toURLEncodedForm(e,G){return toFormData(e,new platform.classes.URLSearchParams,Object.assign({visitor:function(C,H,W,K){return platform.isNode&&utils$2.isBuffer(C)?(this.append(H,C.toString("base64")),!1):K.defaultVisitor.apply(this,arguments)}},G))}function parsePropPath(e){return utils$2.matchAll(/\w+|\[(\w*)]/g,e).map(G=>G[0]==="[]"?"":G[1]||G[0])}function arrayToObject(e){const G={},C=Object.keys(e);let H;const W=C.length;let K;for(H=0;H=C.length;return Q=!Q&&utils$2.isArray(W)?W.length:Q,ne?(utils$2.hasOwnProp(W,Q)?W[Q]=[W[Q],H]:W[Q]=H,!Z):((!W[Q]||!utils$2.isObject(W[Q]))&&(W[Q]=[]),G(C,H,W[Q],K)&&utils$2.isArray(W[Q])&&(W[Q]=arrayToObject(W[Q])),!Z)}if(utils$2.isFormData(e)&&utils$2.isFunction(e.entries)){const C={};return utils$2.forEachEntry(e,(H,W)=>{G(parsePropPath(H),W,C,0)}),C}return null}function stringifySafely(e,G,C){if(utils$2.isString(e))try{return(G||JSON.parse)(e),utils$2.trim(e)}catch(H){if(H.name!=="SyntaxError")throw H}return(0,JSON.stringify)(e)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(G,C){const H=C.getContentType()||"",W=H.indexOf("application/json")>-1,K=utils$2.isObject(G);if(K&&utils$2.isHTMLForm(G)&&(G=new FormData(G)),utils$2.isFormData(G))return W?JSON.stringify(formDataToJSON(G)):G;if(utils$2.isArrayBuffer(G)||utils$2.isBuffer(G)||utils$2.isStream(G)||utils$2.isFile(G)||utils$2.isBlob(G)||utils$2.isReadableStream(G))return G;if(utils$2.isArrayBufferView(G))return G.buffer;if(utils$2.isURLSearchParams(G))return C.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),G.toString();let Z;if(K){if(H.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(G,this.formSerializer).toString();if((Z=utils$2.isFileList(G))||H.indexOf("multipart/form-data")>-1){const ne=this.env&&this.env.FormData;return toFormData(Z?{"files[]":G}:G,ne&&new ne,this.formSerializer)}}return K||W?(C.setContentType("application/json",!1),stringifySafely(G)):G}],transformResponse:[function(G){const C=this.transitional||defaults.transitional,H=C&&C.forcedJSONParsing,W=this.responseType==="json";if(utils$2.isResponse(G)||utils$2.isReadableStream(G))return G;if(G&&utils$2.isString(G)&&(H&&!this.responseType||W)){const Q=!(C&&C.silentJSONParsing)&&W;try{return JSON.parse(G)}catch(Z){if(Q)throw Z.name==="SyntaxError"?AxiosError.from(Z,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):Z}}return G}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(G){return G>=200&&G<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$2.forEach(["delete","get","head","post","put","patch"],e=>{defaults.headers[e]={}});const ignoreDuplicateOf=utils$2.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=e=>{const G={};let C,H,W;return e&&e.split(` `).forEach(function(Q){W=Q.indexOf(":"),C=Q.substring(0,W).trim().toLowerCase(),H=Q.substring(W+1).trim(),!(!C||G[C]&&ignoreDuplicateOf[C])&&(C==="set-cookie"?G[C]?G[C].push(H):G[C]=[H]:G[C]=G[C]?G[C]+", "+H:H)}),G},$internals=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){return e===!1||e==null?e:utils$2.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const G=Object.create(null),C=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let H;for(;H=C.exec(e);)G[H[1]]=H[2];return G}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,G,C,H,W){if(utils$2.isFunction(H))return H.call(this,G,C);if(W&&(G=C),!!utils$2.isString(G)){if(utils$2.isString(H))return G.indexOf(H)!==-1;if(utils$2.isRegExp(H))return H.test(G)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(G,C,H)=>C.toUpperCase()+H)}function buildAccessors(e,G){const C=utils$2.toCamelCase(" "+G);["get","set","has"].forEach(H=>{Object.defineProperty(e,H+C,{value:function(W,K,Q){return this[H].call(this,G,W,K,Q)},configurable:!0})})}class AxiosHeaders{constructor(G){G&&this.set(G)}set(G,C,H){const W=this;function K(Z,ne,ee){const ie=normalizeHeader(ne);if(!ie)throw new Error("header name must be a non-empty string");const ce=utils$2.findKey(W,ie);(!ce||W[ce]===void 0||ee===!0||ee===void 0&&W[ce]!==!1)&&(W[ce||ne]=normalizeValue(Z))}const Q=(Z,ne)=>utils$2.forEach(Z,(ee,ie)=>K(ee,ie,ne));if(utils$2.isPlainObject(G)||G instanceof this.constructor)Q(G,C);else if(utils$2.isString(G)&&(G=G.trim())&&!isValidHeaderName(G))Q(parseHeaders(G),C);else if(utils$2.isHeaders(G))for(const[Z,ne]of G.entries())K(ne,Z,H);else G!=null&&K(C,G,H);return this}get(G,C){if(G=normalizeHeader(G),G){const H=utils$2.findKey(this,G);if(H){const W=this[H];if(!C)return W;if(C===!0)return parseTokens(W);if(utils$2.isFunction(C))return C.call(this,W,H);if(utils$2.isRegExp(C))return C.exec(W);throw new TypeError("parser must be boolean|regexp|function")}}}has(G,C){if(G=normalizeHeader(G),G){const H=utils$2.findKey(this,G);return!!(H&&this[H]!==void 0&&(!C||matchHeaderValue(this,this[H],H,C)))}return!1}delete(G,C){const H=this;let W=!1;function K(Q){if(Q=normalizeHeader(Q),Q){const Z=utils$2.findKey(H,Q);Z&&(!C||matchHeaderValue(H,H[Z],Z,C))&&(delete H[Z],W=!0)}}return utils$2.isArray(G)?G.forEach(K):K(G),W}clear(G){const C=Object.keys(this);let H=C.length,W=!1;for(;H--;){const K=C[H];(!G||matchHeaderValue(this,this[K],K,G,!0))&&(delete this[K],W=!0)}return W}normalize(G){const C=this,H={};return utils$2.forEach(this,(W,K)=>{const Q=utils$2.findKey(H,K);if(Q){C[Q]=normalizeValue(W),delete C[K];return}const Z=G?formatHeader(K):String(K).trim();Z!==K&&delete C[K],C[Z]=normalizeValue(W),H[Z]=!0}),this}concat(...G){return this.constructor.concat(this,...G)}toJSON(G){const C=Object.create(null);return utils$2.forEach(this,(H,W)=>{H!=null&&H!==!1&&(C[W]=G&&utils$2.isArray(H)?H.join(", "):H)}),C}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([G,C])=>G+": "+C).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(G){return G instanceof this?G:new this(G)}static concat(G,...C){const H=new this(G);return C.forEach(W=>H.set(W)),H}static accessor(G){const H=(this[$internals]=this[$internals]={accessors:{}}).accessors,W=this.prototype;function K(Q){const Z=normalizeHeader(Q);H[Z]||(buildAccessors(W,Q),H[Z]=!0)}return utils$2.isArray(G)?G.forEach(K):K(G),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$2.reduceDescriptors(AxiosHeaders.prototype,({value:e},G)=>{let C=G[0].toUpperCase()+G.slice(1);return{get:()=>e,set(H){this[C]=H}}});utils$2.freezeMethods(AxiosHeaders);function transformData(e,G){const C=this||defaults,H=G||C,W=AxiosHeaders.from(H.headers);let K=H.data;return utils$2.forEach(e,function(Z){K=Z.call(C,K,W.normalize(),G?G.status:void 0)}),W.normalize(),K}function isCancel(e){return!!(e&&e.__CANCEL__)}function CanceledError(e,G,C){AxiosError.call(this,e==null?"canceled":e,AxiosError.ERR_CANCELED,G,C),this.name="CanceledError"}utils$2.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(e,G,C){const H=C.config.validateStatus;!C.status||!H||H(C.status)?e(C):G(new AxiosError("Request failed with status code "+C.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(C.status/100)-4],C.config,C.request,C))}function parseProtocol(e){const G=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return G&&G[1]||""}function speedometer(e,G){e=e||10;const C=new Array(e),H=new Array(e);let W=0,K=0,Q;return G=G!==void 0?G:1e3,function(ne){const ee=Date.now(),ie=H[K];Q||(Q=ee),C[W]=ne,H[W]=ee;let ce=K,pe=0;for(;ce!==W;)pe+=C[ce++],ce=ce%e;if(W=(W+1)%e,W===K&&(K=(K+1)%e),ee-Q{C=ie,W=null,K&&(clearTimeout(K),K=null),e.apply(null,ee)};return[(...ee)=>{const ie=Date.now(),ce=ie-C;ce>=H?Q(ee,ie):(W=ee,K||(K=setTimeout(()=>{K=null,Q(W)},H-ce)))},()=>W&&Q(W)]}const progressEventReducer=(e,G,C=3)=>{let H=0;const W=speedometer(50,250);return throttle(K=>{const Q=K.loaded,Z=K.lengthComputable?K.total:void 0,ne=Q-H,ee=W(ne),ie=Q<=Z;H=Q;const ce={loaded:Q,total:Z,progress:Z?Q/Z:void 0,bytes:ne,rate:ee||void 0,estimated:ee&&Z&&ie?(Z-Q)/ee:void 0,event:K,lengthComputable:Z!=null,[G?"download":"upload"]:!0};e(ce)},C)},progressEventDecorator=(e,G)=>{const C=e!=null;return[H=>G[0]({lengthComputable:C,total:e,loaded:H}),G[1]]},asyncDecorator=e=>(...G)=>utils$2.asap(()=>e(...G)),isURLSameOrigin=platform.hasStandardBrowserEnv?((e,G)=>C=>(C=new URL(C,platform.origin),e.protocol===C.protocol&&e.host===C.host&&(G||e.port===C.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0,cookies=platform.hasStandardBrowserEnv?{write(e,G,C,H,W,K){const Q=[e+"="+encodeURIComponent(G)];utils$2.isNumber(C)&&Q.push("expires="+new Date(C).toGMTString()),utils$2.isString(H)&&Q.push("path="+H),utils$2.isString(W)&&Q.push("domain="+W),K===!0&&Q.push("secure"),document.cookie=Q.join("; ")},read(e){const G=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return G?decodeURIComponent(G[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,G){return G?e.replace(/\/?\/$/,"")+"/"+G.replace(/^\/+/,""):e}function buildFullPath(e,G){return e&&!isAbsoluteURL(G)?combineURLs(e,G):G}const headersToObject=e=>e instanceof AxiosHeaders?it({},e):e;function mergeConfig(e,G){G=G||{};const C={};function H(ee,ie,ce,pe){return utils$2.isPlainObject(ee)&&utils$2.isPlainObject(ie)?utils$2.merge.call({caseless:pe},ee,ie):utils$2.isPlainObject(ie)?utils$2.merge({},ie):utils$2.isArray(ie)?ie.slice():ie}function W(ee,ie,ce,pe){if(utils$2.isUndefined(ie)){if(!utils$2.isUndefined(ee))return H(void 0,ee,ce,pe)}else return H(ee,ie,ce,pe)}function K(ee,ie){if(!utils$2.isUndefined(ie))return H(void 0,ie)}function Q(ee,ie){if(utils$2.isUndefined(ie)){if(!utils$2.isUndefined(ee))return H(void 0,ee)}else return H(void 0,ie)}function Z(ee,ie,ce){if(ce in G)return H(ee,ie);if(ce in e)return H(void 0,ee)}const ne={url:K,method:K,data:K,baseURL:Q,transformRequest:Q,transformResponse:Q,paramsSerializer:Q,timeout:Q,timeoutMessage:Q,withCredentials:Q,withXSRFToken:Q,adapter:Q,responseType:Q,xsrfCookieName:Q,xsrfHeaderName:Q,onUploadProgress:Q,onDownloadProgress:Q,decompress:Q,maxContentLength:Q,maxBodyLength:Q,beforeRedirect:Q,transport:Q,httpAgent:Q,httpsAgent:Q,cancelToken:Q,socketPath:Q,responseEncoding:Q,validateStatus:Z,headers:(ee,ie,ce)=>W(headersToObject(ee),headersToObject(ie),ce,!0)};return utils$2.forEach(Object.keys(Object.assign({},e,G)),function(ie){const ce=ne[ie]||W,pe=ce(e[ie],G[ie],ie);utils$2.isUndefined(pe)&&ce!==Z||(C[ie]=pe)}),C}const resolveConfig=e=>{const G=mergeConfig({},e);let{data:C,withXSRFToken:H,xsrfHeaderName:W,xsrfCookieName:K,headers:Q,auth:Z}=G;G.headers=Q=AxiosHeaders.from(Q),G.url=buildURL(buildFullPath(G.baseURL,G.url),e.params,e.paramsSerializer),Z&&Q.set("Authorization","Basic "+btoa((Z.username||"")+":"+(Z.password?unescape(encodeURIComponent(Z.password)):"")));let ne;if(utils$2.isFormData(C)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)Q.setContentType(void 0);else if((ne=Q.getContentType())!==!1){const[ee,...ie]=ne?ne.split(";").map(ce=>ce.trim()).filter(Boolean):[];Q.setContentType([ee||"multipart/form-data",...ie].join("; "))}}if(platform.hasStandardBrowserEnv&&(H&&utils$2.isFunction(H)&&(H=H(G)),H||H!==!1&&isURLSameOrigin(G.url))){const ee=W&&K&&cookies.read(K);ee&&Q.set(W,ee)}return G},isXHRAdapterSupported=typeof XMLHttpRequest!="undefined",xhrAdapter=isXHRAdapterSupported&&function(e){return new Promise(function(C,H){const W=resolveConfig(e);let K=W.data;const Q=AxiosHeaders.from(W.headers).normalize();let{responseType:Z,onUploadProgress:ne,onDownloadProgress:ee}=W,ie,ce,pe,de,oe;function se(){de&&de(),oe&&oe(),W.cancelToken&&W.cancelToken.unsubscribe(ie),W.signal&&W.signal.removeEventListener("abort",ie)}let ae=new XMLHttpRequest;ae.open(W.method.toUpperCase(),W.url,!0),ae.timeout=W.timeout;function ue(){if(!ae)return;const he=AxiosHeaders.from("getAllResponseHeaders"in ae&&ae.getAllResponseHeaders()),ye={data:!Z||Z==="text"||Z==="json"?ae.responseText:ae.response,status:ae.status,statusText:ae.statusText,headers:he,config:e,request:ae};settle(function(ge){C(ge),se()},function(ge){H(ge),se()},ye),ae=null}"onloadend"in ae?ae.onloadend=ue:ae.onreadystatechange=function(){!ae||ae.readyState!==4||ae.status===0&&!(ae.responseURL&&ae.responseURL.indexOf("file:")===0)||setTimeout(ue)},ae.onabort=function(){ae&&(H(new AxiosError("Request aborted",AxiosError.ECONNABORTED,e,ae)),ae=null)},ae.onerror=function(){H(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,ae)),ae=null},ae.ontimeout=function(){let Ae=W.timeout?"timeout of "+W.timeout+"ms exceeded":"timeout exceeded";const ye=W.transitional||transitionalDefaults;W.timeoutErrorMessage&&(Ae=W.timeoutErrorMessage),H(new AxiosError(Ae,ye.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,ae)),ae=null},K===void 0&&Q.setContentType(null),"setRequestHeader"in ae&&utils$2.forEach(Q.toJSON(),function(Ae,ye){ae.setRequestHeader(ye,Ae)}),utils$2.isUndefined(W.withCredentials)||(ae.withCredentials=!!W.withCredentials),Z&&Z!=="json"&&(ae.responseType=W.responseType),ee&&([pe,oe]=progressEventReducer(ee,!0),ae.addEventListener("progress",pe)),ne&&ae.upload&&([ce,de]=progressEventReducer(ne),ae.upload.addEventListener("progress",ce),ae.upload.addEventListener("loadend",de)),(W.cancelToken||W.signal)&&(ie=he=>{ae&&(H(!he||he.type?new CanceledError(null,e,ae):he),ae.abort(),ae=null)},W.cancelToken&&W.cancelToken.subscribe(ie),W.signal&&(W.signal.aborted?ie():W.signal.addEventListener("abort",ie)));const fe=parseProtocol(W.url);if(fe&&platform.protocols.indexOf(fe)===-1){H(new AxiosError("Unsupported protocol "+fe+":",AxiosError.ERR_BAD_REQUEST,e));return}ae.send(K||null)})},composeSignals=(e,G)=>{const{length:C}=e=e?e.filter(Boolean):[];if(G||C){let H=new AbortController,W;const K=function(ee){if(!W){W=!0,Z();const ie=ee instanceof Error?ee:this.reason;H.abort(ie instanceof AxiosError?ie:new CanceledError(ie instanceof Error?ie.message:ie))}};let Q=G&&setTimeout(()=>{Q=null,K(new AxiosError(`timeout ${G} of ms exceeded`,AxiosError.ETIMEDOUT))},G);const Z=()=>{e&&(Q&&clearTimeout(Q),Q=null,e.forEach(ee=>{ee.unsubscribe?ee.unsubscribe(K):ee.removeEventListener("abort",K)}),e=null)};e.forEach(ee=>ee.addEventListener("abort",K));const{signal:ne}=H;return ne.unsubscribe=()=>utils$2.asap(Z),ne}},streamChunk=function*(e,G){let C=e.byteLength;if(C{const W=readBytes(e,G);let K=0,Q,Z=ee=>{Q||(Q=!0,H&&H(ee))};return new ReadableStream({pull(ee){return pt(this,null,function*(){try{const{done:ie,value:ce}=yield W.next();if(ie){Z(),ee.close();return}let pe=ce.byteLength;if(C){let de=K+=pe;C(de)}ee.enqueue(new Uint8Array(ce))}catch(ie){throw Z(ie),ie}})},cancel(ee){return Z(ee),W.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(e=>G=>e.encode(G))(new TextEncoder):e=>pt(void 0,null,function*(){return new Uint8Array(yield new Response(e).arrayBuffer())})),test=(e,...G)=>{try{return!!e(...G)}catch(C){return!1}},supportsRequestStream=isReadableStreamSupported&&test(()=>{let e=!1;const G=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!G}),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&test(()=>utils$2.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(e=>e.body)};isFetchSupported&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(G=>{!resolvers[G]&&(resolvers[G]=utils$2.isFunction(e[G])?C=>C[G]():(C,H)=>{throw new AxiosError(`Response type '${G}' is not supported`,AxiosError.ERR_NOT_SUPPORT,H)})})})(new Response);const getBodyLength=e=>pt(void 0,null,function*(){if(e==null)return 0;if(utils$2.isBlob(e))return e.size;if(utils$2.isSpecCompliantForm(e))return(yield new Request(platform.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(utils$2.isArrayBufferView(e)||utils$2.isArrayBuffer(e))return e.byteLength;if(utils$2.isURLSearchParams(e)&&(e=e+""),utils$2.isString(e))return(yield encodeText(e)).byteLength}),resolveBodyLength=(e,G)=>pt(void 0,null,function*(){const C=utils$2.toFiniteNumber(e.getContentLength());return C==null?getBodyLength(G):C}),fetchAdapter=isFetchSupported&&(e=>pt(void 0,null,function*(){let{url:G,method:C,data:H,signal:W,cancelToken:K,timeout:Q,onDownloadProgress:Z,onUploadProgress:ne,responseType:ee,headers:ie,withCredentials:ce="same-origin",fetchOptions:pe}=resolveConfig(e);ee=ee?(ee+"").toLowerCase():"text";let de=composeSignals([W,K&&K.toAbortSignal()],Q),oe;const se=de&&de.unsubscribe&&(()=>{de.unsubscribe()});let ae;try{if(ne&&supportsRequestStream&&C!=="get"&&C!=="head"&&(ae=yield resolveBodyLength(ie,H))!==0){let ye=new Request(G,{method:"POST",body:H,duplex:"half"}),Se;if(utils$2.isFormData(H)&&(Se=ye.headers.get("content-type"))&&ie.setContentType(Se),ye.body){const[ge,be]=progressEventDecorator(ae,progressEventReducer(asyncDecorator(ne)));H=trackStream(ye.body,DEFAULT_CHUNK_SIZE,ge,be)}}utils$2.isString(ce)||(ce=ce?"include":"omit");const ue="credentials"in Request.prototype;oe=new Request(G,tr(it({},pe),{signal:de,method:C.toUpperCase(),headers:ie.normalize().toJSON(),body:H,duplex:"half",credentials:ue?ce:void 0}));let fe=yield fetch(oe);const he=supportsResponseStream&&(ee==="stream"||ee==="response");if(supportsResponseStream&&(Z||he&&se)){const ye={};["status","statusText","headers"].forEach(De=>{ye[De]=fe[De]});const Se=utils$2.toFiniteNumber(fe.headers.get("content-length")),[ge,be]=Z&&progressEventDecorator(Se,progressEventReducer(asyncDecorator(Z),!0))||[];fe=new Response(trackStream(fe.body,DEFAULT_CHUNK_SIZE,ge,()=>{be&&be(),se&&se()}),ye)}ee=ee||"text";let Ae=yield resolvers[utils$2.findKey(resolvers,ee)||"text"](fe,e);return!he&&se&&se(),yield new Promise((ye,Se)=>{settle(ye,Se,{data:Ae,headers:AxiosHeaders.from(fe.headers),status:fe.status,statusText:fe.statusText,config:e,request:oe})})}catch(ue){throw se&&se(),ue&&ue.name==="TypeError"&&/fetch/i.test(ue.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,oe),{cause:ue.cause||ue}):AxiosError.from(ue,ue&&ue.code,e,oe)}})),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$2.forEach(knownAdapters,(e,G)=>{if(e){try{Object.defineProperty(e,"name",{value:G})}catch(C){}Object.defineProperty(e,"adapterName",{value:G})}});const renderReason=e=>`- ${e}`,isResolvedHandle=e=>utils$2.isFunction(e)||e===null||e===!1,adapters={getAdapter:e=>{e=utils$2.isArray(e)?e:[e];const{length:G}=e;let C,H;const W={};for(let K=0;K`adapter ${Z} `+(ne===!1?"is not supported by the environment":"is not available in the build"));let Q=G?K.length>1?`since : diff --git a/assets/javascript-DxDXNr0Y.js b/assets/javascript-CxJNxUap.js similarity index 80% rename from assets/javascript-DxDXNr0Y.js rename to assets/javascript-CxJNxUap.js index fd8404df..c43ace4b 100644 --- a/assets/javascript-DxDXNr0Y.js +++ b/assets/javascript-CxJNxUap.js @@ -1,4 +1,4 @@ -import{conf as e,language as t}from"./typescript-DydL70xz.js";import"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{conf as e,language as t}from"./typescript-M-1CxcOC.js";import"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/jsonMode-CxL1oSpF.js b/assets/jsonMode-DSsbwNx-.js similarity index 99% rename from assets/jsonMode-CxL1oSpF.js rename to assets/jsonMode-DSsbwNx-.js index 486989b1..2ffb0693 100644 --- a/assets/jsonMode-CxL1oSpF.js +++ b/assets/jsonMode-DSsbwNx-.js @@ -1,4 +1,4 @@ -import{m as Et}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as Et}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/liquid-D2ShIWRF.js b/assets/liquid-CAEorw33.js similarity index 94% rename from assets/liquid-D2ShIWRF.js rename to assets/liquid-CAEorw33.js index 8c242bae..6fab3b35 100644 --- a/assets/liquid-D2ShIWRF.js +++ b/assets/liquid-CAEorw33.js @@ -1,4 +1,4 @@ -import{m as l}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as l}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/mdx-CNUEAJY1.js b/assets/mdx-DiXs2CiW.js similarity index 95% rename from assets/mdx-CNUEAJY1.js rename to assets/mdx-DiXs2CiW.js index f4ebb097..6e78817a 100644 --- a/assets/mdx-CNUEAJY1.js +++ b/assets/mdx-DiXs2CiW.js @@ -1,4 +1,4 @@ -import{m as s}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as s}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/python-BkHK70YH.js b/assets/python-BLX68HFQ.js similarity index 94% rename from assets/python-BkHK70YH.js rename to assets/python-BLX68HFQ.js index fca7bdc8..288bed52 100644 --- a/assets/python-BkHK70YH.js +++ b/assets/python-BLX68HFQ.js @@ -1,4 +1,4 @@ -import{m as o}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as o}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/razor-BpYgokUT.js b/assets/razor-D4UnLl2f.js similarity index 97% rename from assets/razor-BpYgokUT.js rename to assets/razor-D4UnLl2f.js index 48ddadf2..768ebf32 100644 --- a/assets/razor-BpYgokUT.js +++ b/assets/razor-D4UnLl2f.js @@ -1,4 +1,4 @@ -import{m as n}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as n}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js b/assets/style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js similarity index 96% rename from assets/style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js rename to assets/style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js index c486272b..5ec79e44 100644 --- a/assets/style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js +++ b/assets/style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js @@ -1 +1 @@ -var p=(d,m,a)=>new Promise((r,l)=>{var s=o=>{try{n(a.next(o))}catch(i){l(i)}},t=o=>{try{n(a.throw(o))}catch(i){l(i)}},n=o=>o.done?r(o.value):Promise.resolve(o.value).then(s,t);n((a=a.apply(d,m)).next())});import{T as w,E}from"./wang-editor-qsc5EwLN.js";import{p as g,q as V}from"./index-DHbc4UQl.js";import{E as u}from"./element-plus-CUBv5pjL.js";import{y as k,s as I,r as O,w as b,c as h,S as x,u as c,z as R,A as S,O as v,R as T,n as B}from"./vue-chunks-ChjHxF1G.js";const z={class:"border-1 border-solid border-[var(--el-border-color)] z-10"},F=k({__name:"Editor",props:{editorId:g.string.def("wangeEditor-1"),height:g.oneOfType([Number,String]).def("500px"),editorConfig:{type:Object,default:()=>{}},modelValue:g.string.def("")},emits:["change","update:modelValue"],setup(d,{expose:m,emit:a}){const r=d,l=a,s=I(),t=O("");b(()=>r.modelValue,e=>{e!==c(t)&&(t.value=e)}),b(()=>t.value,e=>{l("update:modelValue",e)});const n=e=>{s.value=e,t.value=r.modelValue},o=h(()=>Object.assign({readOnly:!1,customAlert:(e,f)=>{switch(f){case"success":u.success(e);break;case"info":u.info(e);break;case"warning":u.warning(e);break;case"error":u.error(e);break;default:u.info(e);break}},autoFocus:!1,scroll:!0,uploadImgShowBase64:!0},r.editorConfig||{})),i=h(()=>({height:V(r.height)?`${r.height}px`:r.height})),y=e=>{l("change",e)};return x(()=>{const e=c(s.value);e==null||e.destroy()}),m({getEditorRef:()=>p(this,null,function*(){return yield B(),c(s.value)})}),(e,f)=>(R(),S("div",z,[v(c(w),{editor:s.value,editorId:d.editorId,class:"border-0 b-b-1 border-solid border-[var(--el-border-color)]"},null,8,["editor","editorId"]),v(c(E),{modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=C=>t.value=C),editorId:d.editorId,defaultConfig:o.value,style:T(i.value),onOnChange:y,onOnCreated:n},null,8,["modelValue","editorId","defaultConfig","style"])]))}});export{F as _}; +var p=(d,m,a)=>new Promise((r,l)=>{var s=o=>{try{n(a.next(o))}catch(i){l(i)}},t=o=>{try{n(a.throw(o))}catch(i){l(i)}},n=o=>o.done?r(o.value):Promise.resolve(o.value).then(s,t);n((a=a.apply(d,m)).next())});import{T as w,E}from"./wang-editor-qsc5EwLN.js";import{p as g,q as V}from"./index-wnyZ7Zvr.js";import{E as u}from"./element-plus-CUBv5pjL.js";import{y as k,s as I,r as O,w as b,c as h,S as x,u as c,z as R,A as S,O as v,R as T,n as B}from"./vue-chunks-ChjHxF1G.js";const z={class:"border-1 border-solid border-[var(--el-border-color)] z-10"},F=k({__name:"Editor",props:{editorId:g.string.def("wangeEditor-1"),height:g.oneOfType([Number,String]).def("500px"),editorConfig:{type:Object,default:()=>{}},modelValue:g.string.def("")},emits:["change","update:modelValue"],setup(d,{expose:m,emit:a}){const r=d,l=a,s=I(),t=O("");b(()=>r.modelValue,e=>{e!==c(t)&&(t.value=e)}),b(()=>t.value,e=>{l("update:modelValue",e)});const n=e=>{s.value=e,t.value=r.modelValue},o=h(()=>Object.assign({readOnly:!1,customAlert:(e,f)=>{switch(f){case"success":u.success(e);break;case"info":u.info(e);break;case"warning":u.warning(e);break;case"error":u.error(e);break;default:u.info(e);break}},autoFocus:!1,scroll:!0,uploadImgShowBase64:!0},r.editorConfig||{})),i=h(()=>({height:V(r.height)?`${r.height}px`:r.height})),y=e=>{l("change",e)};return x(()=>{const e=c(s.value);e==null||e.destroy()}),m({getEditorRef:()=>p(this,null,function*(){return yield B(),c(s.value)})}),(e,f)=>(R(),S("div",z,[v(c(w),{editor:s.value,editorId:d.editorId,class:"border-0 b-b-1 border-solid border-[var(--el-border-color)]"},null,8,["editor","editorId"]),v(c(E),{modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=C=>t.value=C),editorId:d.editorId,defaultConfig:o.value,style:T(i.value),onOnChange:y,onOnCreated:n},null,8,["modelValue","editorId","defaultConfig","style"])]))}});export{F as _}; diff --git a/assets/tsMode-LtsHhXxD.js b/assets/tsMode-DDWCoP3Q.js similarity index 98% rename from assets/tsMode-LtsHhXxD.js rename to assets/tsMode-DDWCoP3Q.js index 797a0c90..64d06f53 100644 --- a/assets/tsMode-LtsHhXxD.js +++ b/assets/tsMode-DDWCoP3Q.js @@ -1,4 +1,4 @@ -var K=Object.defineProperty,E=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var L=(e,t,s)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,O=(e,t)=>{for(var s in t||(t={}))V.call(t,s)&&L(e,s,t[s]);if(P)for(var s of P(t))W.call(t,s)&&L(e,s,t[s]);return e},I=(e,t)=>E(e,H(t));var b=(e,t,s)=>new Promise((o,n)=>{var c=l=>{try{r(s.next(l))}catch(g){n(g)}},u=l=>{try{r(s.throw(l))}catch(g){n(g)}},r=l=>l.done?o(l.value):Promise.resolve(l.value).then(c,u);r((s=s.apply(e,t)).next())});import{t as j,m as B}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +var K=Object.defineProperty,E=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var L=(e,t,s)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,O=(e,t)=>{for(var s in t||(t={}))V.call(t,s)&&L(e,s,t[s]);if(P)for(var s of P(t))W.call(t,s)&&L(e,s,t[s]);return e},I=(e,t)=>E(e,H(t));var b=(e,t,s)=>new Promise((o,n)=>{var c=l=>{try{r(s.next(l))}catch(g){n(g)}},u=l=>{try{r(s.throw(l))}catch(g){n(g)}},r=l=>l.done?o(l.value):Promise.resolve(l.value).then(c,u);r((s=s.apply(e,t)).next())});import{t as j,m as B}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/typescript-DydL70xz.js b/assets/typescript-M-1CxcOC.js similarity index 95% rename from assets/typescript-DydL70xz.js rename to assets/typescript-M-1CxcOC.js index be5917ef..3a022587 100644 --- a/assets/typescript-DydL70xz.js +++ b/assets/typescript-M-1CxcOC.js @@ -1,4 +1,4 @@ -import{m as s}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as s}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/useClipboard-DvdUTWVq.js b/assets/useClipboard-DEl80QDH.js similarity index 85% rename from assets/useClipboard-DvdUTWVq.js rename to assets/useClipboard-DEl80QDH.js index 58d669e4..5243535f 100644 --- a/assets/useClipboard-DvdUTWVq.js +++ b/assets/useClipboard-DEl80QDH.js @@ -1 +1 @@ -import{_ as v}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as y}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{r as p,y as C,z as r,K as b,L as m,O as f,u as o,A as u,D as _,a4 as x,Q as k}from"./vue-chunks-ChjHxF1G.js";import"./index-DHbc4UQl.js";import{A as V}from"./element-plus-CUBv5pjL.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const g=()=>{const n=p(!1),s=p(""),l=p(!1);!navigator.clipboard&&!document.execCommand?l.value=!1:l.value=!0;const d=e=>{if(navigator.clipboard){navigator.clipboard.writeText(e).then(()=>{s.value=e,n.value=!0,i()});return}const t=document.createElement("input");t.setAttribute("readonly","readonly"),t.setAttribute("value",e),document.body.appendChild(t),t.select(),t.setSelectionRange(0,9999),document.execCommand("copy")&&(s.value=e,document.execCommand("copy"),n.value=!0,i()),document.body.removeChild(t)},i=()=>{setTimeout(()=>{n.value=!1},1500)};return{copy:d,text:s,copied:n,isSupported:l}},A={key:0},h={key:0},B={key:1},S={key:1},K=C({__name:"useClipboard",setup(n){const{copy:s,copied:l,text:d,isSupported:i}=g(),e=p("");return(t,a)=>(r(),b(o(v),{title:"useClipboard"},{default:m(()=>[f(o(V),{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=c=>e.value=c),placeholder:"请输入要复制的内容"},null,8,["modelValue"]),o(i)?(r(),u("div",A,[f(o(y),{onClick:a[1]||(a[1]=c=>o(s)(e.value)),type:"primary",class:"mt-20px"},{default:m(()=>[o(l)?(r(),u("span",B,"已复制")):(r(),u("span",h,"复制"))]),_:1}),_("p",null,[a[2]||(a[2]=x(" 当前已复制: ")),_("code",null,k(o(d)||"none"),1)])])):(r(),u("p",S,"你的浏览器不支持 Clipboard API"))]),_:1}))}});export{K as default}; +import{_ as v}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as y}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{r as p,y as C,z as r,K as b,L as m,O as f,u as o,A as u,D as _,a4 as x,Q as k}from"./vue-chunks-ChjHxF1G.js";import"./index-wnyZ7Zvr.js";import{A as V}from"./element-plus-CUBv5pjL.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const g=()=>{const n=p(!1),s=p(""),l=p(!1);!navigator.clipboard&&!document.execCommand?l.value=!1:l.value=!0;const d=e=>{if(navigator.clipboard){navigator.clipboard.writeText(e).then(()=>{s.value=e,n.value=!0,i()});return}const t=document.createElement("input");t.setAttribute("readonly","readonly"),t.setAttribute("value",e),document.body.appendChild(t),t.select(),t.setSelectionRange(0,9999),document.execCommand("copy")&&(s.value=e,document.execCommand("copy"),n.value=!0,i()),document.body.removeChild(t)},i=()=>{setTimeout(()=>{n.value=!1},1500)};return{copy:d,text:s,copied:n,isSupported:l}},A={key:0},h={key:0},B={key:1},S={key:1},K=C({__name:"useClipboard",setup(n){const{copy:s,copied:l,text:d,isSupported:i}=g(),e=p("");return(t,a)=>(r(),b(o(v),{title:"useClipboard"},{default:m(()=>[f(o(V),{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=c=>e.value=c),placeholder:"请输入要复制的内容"},null,8,["modelValue"]),o(i)?(r(),u("div",A,[f(o(y),{onClick:a[1]||(a[1]=c=>o(s)(e.value)),type:"primary",class:"mt-20px"},{default:m(()=>[o(l)?(r(),u("span",B,"已复制")):(r(),u("span",h,"复制"))]),_:1}),_("p",null,[a[2]||(a[2]=x(" 当前已复制: ")),_("code",null,k(o(d)||"none"),1)])])):(r(),u("p",S,"你的浏览器不支持 Clipboard API"))]),_:1}))}});export{K as default}; diff --git a/assets/useCrudSchemas-EqAlQvZJ.js b/assets/useCrudSchemas-Bpoua2iq.js similarity index 91% rename from assets/useCrudSchemas-EqAlQvZJ.js rename to assets/useCrudSchemas-Bpoua2iq.js index e0f9b776..3877989a 100644 --- a/assets/useCrudSchemas-EqAlQvZJ.js +++ b/assets/useCrudSchemas-Bpoua2iq.js @@ -1 +1 @@ -import{u}from"./useCrudSchemas-DdqHtvsp.js";import{_ as n}from"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import{_ as m}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./index-DHbc4UQl.js";/* empty css */import{n as i,k as r}from"./element-plus-CUBv5pjL.js";import{y as p,W as f,z as c,K as h,L as t,O as l,u as e}from"./vue-chunks-ChjHxF1G.js";import"./tree-Dgaev6Pi.js";import"./Icon-CdhVCYkm.js";/* empty css *//* empty css */const D=p({__name:"useCrudSchemas",setup(_){const s=f([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",type:"index",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}},{field:"title",label:"标题",search:{component:"Input"},form:{component:"Input",colProps:{span:24}},detail:{span:24}},{field:"author",label:"作者",search:{hidden:!0}},{field:"display_time",label:"创建时间",search:{hidden:!0},form:{component:"DatePicker",componentProps:{type:"datetime",valueFormat:"YYYY-MM-DD HH:mm:ss"}}},{field:"importance",label:"重要性",search:{hidden:!0},form:{component:"Select",componentProps:{style:{width:"100%"},options:[{label:"重要",value:3},{label:"良好",value:2},{label:"一般",value:1}]}}},{field:"pageviews",label:"阅读数",search:{hidden:!0},form:{component:"InputNumber",value:0}},{field:"content",label:"内容",search:{hidden:!0},table:{show:!1},form:{component:"Editor",colProps:{span:24}},detail:{span:24}},{field:"action",width:"260px",label:"操作",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}}]),{allSchemas:d}=u(s);return(b,a)=>(c(),h(e(m),{title:"useCrudSchemas"},{default:t(()=>[l(e(i),{gutter:20},{default:t(()=>[l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"原始数据数据",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:s,"onUpdate:modelValue":a[0]||(a[0]=o=>s=o)},null,8,["modelValue"])]),_:1})]),_:1}),l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"查询组件数据结构",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:e(d).searchSchema,"onUpdate:modelValue":a[1]||(a[1]=o=>e(d).searchSchema=o)},null,8,["modelValue"])]),_:1})]),_:1}),l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"表单组件数据结构",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:e(d).formSchema,"onUpdate:modelValue":a[2]||(a[2]=o=>e(d).formSchema=o)},null,8,["modelValue"])]),_:1})]),_:1}),l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"表格组件数据结构",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:e(d).tableColumns,"onUpdate:modelValue":a[3]||(a[3]=o=>e(d).tableColumns=o)},null,8,["modelValue"])]),_:1})]),_:1}),l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"详情组件数据结构",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:e(d).detailSchema,"onUpdate:modelValue":a[4]||(a[4]=o=>e(d).detailSchema=o)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}))}});export{D as default}; +import{u}from"./useCrudSchemas-DdqHtvsp.js";import{_ as n}from"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import{_ as m}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./index-wnyZ7Zvr.js";/* empty css */import{n as i,k as r}from"./element-plus-CUBv5pjL.js";import{y as p,W as f,z as c,K as h,L as t,O as l,u as e}from"./vue-chunks-ChjHxF1G.js";import"./tree-Dgaev6Pi.js";import"./Icon-BTLftY2_.js";/* empty css *//* empty css */const D=p({__name:"useCrudSchemas",setup(_){const s=f([{field:"selection",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0},table:{type:"selection"}},{field:"index",label:"序号",type:"index",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}},{field:"title",label:"标题",search:{component:"Input"},form:{component:"Input",colProps:{span:24}},detail:{span:24}},{field:"author",label:"作者",search:{hidden:!0}},{field:"display_time",label:"创建时间",search:{hidden:!0},form:{component:"DatePicker",componentProps:{type:"datetime",valueFormat:"YYYY-MM-DD HH:mm:ss"}}},{field:"importance",label:"重要性",search:{hidden:!0},form:{component:"Select",componentProps:{style:{width:"100%"},options:[{label:"重要",value:3},{label:"良好",value:2},{label:"一般",value:1}]}}},{field:"pageviews",label:"阅读数",search:{hidden:!0},form:{component:"InputNumber",value:0}},{field:"content",label:"内容",search:{hidden:!0},table:{show:!1},form:{component:"Editor",colProps:{span:24}},detail:{span:24}},{field:"action",width:"260px",label:"操作",search:{hidden:!0},form:{hidden:!0},detail:{hidden:!0}}]),{allSchemas:d}=u(s);return(b,a)=>(c(),h(e(m),{title:"useCrudSchemas"},{default:t(()=>[l(e(i),{gutter:20},{default:t(()=>[l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"原始数据数据",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:s,"onUpdate:modelValue":a[0]||(a[0]=o=>s=o)},null,8,["modelValue"])]),_:1})]),_:1}),l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"查询组件数据结构",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:e(d).searchSchema,"onUpdate:modelValue":a[1]||(a[1]=o=>e(d).searchSchema=o)},null,8,["modelValue"])]),_:1})]),_:1}),l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"表单组件数据结构",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:e(d).formSchema,"onUpdate:modelValue":a[2]||(a[2]=o=>e(d).formSchema=o)},null,8,["modelValue"])]),_:1})]),_:1}),l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"表格组件数据结构",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:e(d).tableColumns,"onUpdate:modelValue":a[3]||(a[3]=o=>e(d).tableColumns=o)},null,8,["modelValue"])]),_:1})]),_:1}),l(e(r),{span:24},{default:t(()=>[l(e(m),{title:"详情组件数据结构",class:"mt-20px"},{default:t(()=>[l(e(n),{modelValue:e(d).detailSchema,"onUpdate:modelValue":a[4]||(a[4]=o=>e(d).detailSchema=o)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}))}});export{D as default}; diff --git a/assets/useForm-B1_iUn_7.js b/assets/useForm-B3urKjox.js similarity index 96% rename from assets/useForm-B1_iUn_7.js rename to assets/useForm-B3urKjox.js index 3ab204d0..df55d246 100644 --- a/assets/useForm-B1_iUn_7.js +++ b/assets/useForm-B3urKjox.js @@ -1 +1 @@ -var o=(i,u,c)=>new Promise((a,l)=>{var t=n=>{try{s(c.next(n))}catch(r){l(r)}},e=n=>{try{s(c.throw(n))}catch(r){l(r)}},s=n=>n.done?a(n.value):Promise.resolve(n.value).then(t,e);s((c=c.apply(i,u)).next())});import{n as y,o as h}from"./index-DHbc4UQl.js";import{r as g,u as d,n as w}from"./vue-chunks-ChjHxF1G.js";const F=()=>{const i=g(),u=g(),c=(t,e)=>{i.value=t,u.value=e},a=()=>o(void 0,null,function*(){yield w();const t=d(i);return t||console.error("The form is not registered. Please use the register method to register"),t});return{formRegister:c,formMethods:{setProps:(...e)=>o(void 0,[...e],function*(t={}){const s=yield a();s==null||s.setProps(t),t.model&&(s==null||s.setValues(t.model))}),setValues:t=>o(void 0,null,function*(){const e=yield a();e==null||e.setValues(t)}),setSchema:t=>o(void 0,null,function*(){const e=yield a();e==null||e.setSchema(t)}),addSchema:(t,e)=>o(void 0,null,function*(){const s=yield a();s==null||s.addSchema(t,e)}),delSchema:t=>o(void 0,null,function*(){const e=yield a();e==null||e.delSchema(t)}),getFormData:(t=!0)=>o(void 0,null,function*(){const e=yield a(),s=e==null?void 0:e.formModel;return t?Object.keys(s).reduce((n,r)=>{const m=s[r];return y(m)||(h(m)?Object.keys(m).length>0&&(n[r]=m):n[r]=m),n},{}):s}),getComponentExpose:t=>o(void 0,null,function*(){const e=yield a();return e==null?void 0:e.getComponentExpose(t)}),getFormItemExpose:t=>o(void 0,null,function*(){const e=yield a();return e==null?void 0:e.getFormItemExpose(t)}),getElFormExpose:()=>o(void 0,null,function*(){return yield a(),d(u)}),getFormExpose:()=>o(void 0,null,function*(){return yield a(),d(i)})}}};export{F as u}; +var o=(i,u,c)=>new Promise((a,l)=>{var t=n=>{try{s(c.next(n))}catch(r){l(r)}},e=n=>{try{s(c.throw(n))}catch(r){l(r)}},s=n=>n.done?a(n.value):Promise.resolve(n.value).then(t,e);s((c=c.apply(i,u)).next())});import{n as y,o as h}from"./index-wnyZ7Zvr.js";import{r as g,u as d,n as w}from"./vue-chunks-ChjHxF1G.js";const F=()=>{const i=g(),u=g(),c=(t,e)=>{i.value=t,u.value=e},a=()=>o(void 0,null,function*(){yield w();const t=d(i);return t||console.error("The form is not registered. Please use the register method to register"),t});return{formRegister:c,formMethods:{setProps:(...e)=>o(void 0,[...e],function*(t={}){const s=yield a();s==null||s.setProps(t),t.model&&(s==null||s.setValues(t.model))}),setValues:t=>o(void 0,null,function*(){const e=yield a();e==null||e.setValues(t)}),setSchema:t=>o(void 0,null,function*(){const e=yield a();e==null||e.setSchema(t)}),addSchema:(t,e)=>o(void 0,null,function*(){const s=yield a();s==null||s.addSchema(t,e)}),delSchema:t=>o(void 0,null,function*(){const e=yield a();e==null||e.delSchema(t)}),getFormData:(t=!0)=>o(void 0,null,function*(){const e=yield a(),s=e==null?void 0:e.formModel;return t?Object.keys(s).reduce((n,r)=>{const m=s[r];return y(m)||(h(m)?Object.keys(m).length>0&&(n[r]=m):n[r]=m),n},{}):s}),getComponentExpose:t=>o(void 0,null,function*(){const e=yield a();return e==null?void 0:e.getComponentExpose(t)}),getFormItemExpose:t=>o(void 0,null,function*(){const e=yield a();return e==null?void 0:e.getFormItemExpose(t)}),getElFormExpose:()=>o(void 0,null,function*(){return yield a(),d(u)}),getFormExpose:()=>o(void 0,null,function*(){return yield a(),d(i)})}}};export{F as u}; diff --git a/assets/useIcon-B724d8dT.js b/assets/useIcon-B724d8dT.js new file mode 100644 index 00000000..4393eac7 --- /dev/null +++ b/assets/useIcon-B724d8dT.js @@ -0,0 +1 @@ +import{I as r}from"./Icon-BTLftY2_.js";import{ad as s}from"./vue-chunks-ChjHxF1G.js";const m=o=>s(r,o);export{m as u}; diff --git a/assets/useIcon-CKHK9-or.js b/assets/useIcon-CKHK9-or.js deleted file mode 100644 index 435cd57b..00000000 --- a/assets/useIcon-CKHK9-or.js +++ /dev/null @@ -1 +0,0 @@ -import{I as r}from"./Icon-CdhVCYkm.js";import{ad as s}from"./vue-chunks-ChjHxF1G.js";const m=o=>s(r,o);export{m as u}; diff --git a/assets/useNetwork-OuhEptXZ.js b/assets/useNetwork-B4kGtv6d.js similarity index 84% rename from assets/useNetwork-OuhEptXZ.js rename to assets/useNetwork-B4kGtv6d.js index 6fdbb92a..8bfb5b4c 100644 --- a/assets/useNetwork-OuhEptXZ.js +++ b/assets/useNetwork-B4kGtv6d.js @@ -1 +1 @@ -import{_ as r}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{r as i,S as s,y as a,z as m,K as u,L as d,a4 as l,D as p,Q as f,u as o}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const w=()=>{const t=i(!0),e=()=>{t.value=navigator.onLine};return window.addEventListener("online",e),window.addEventListener("offline",e),s(()=>{window.removeEventListener("online",e),window.removeEventListener("offline",e)}),{online:t}},E=a({__name:"useNetwork",setup(t){const{online:e}=w();return(c,n)=>(m(),u(o(r),{title:"useNetwork"},{default:d(()=>[n[0]||(n[0]=l(" 当前网络状态: ")),p("code",null,f(o(e)?"已连接":"已断开"),1)]),_:1}))}});export{E as default}; +import{_ as r}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{r as i,S as s,y as a,z as m,K as u,L as d,a4 as l,D as p,Q as f,u as o}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const w=()=>{const t=i(!0),e=()=>{t.value=navigator.onLine};return window.addEventListener("online",e),window.addEventListener("offline",e),s(()=>{window.removeEventListener("online",e),window.removeEventListener("offline",e)}),{online:t}},E=a({__name:"useNetwork",setup(t){const{online:e}=w();return(c,n)=>(m(),u(o(r),{title:"useNetwork"},{default:d(()=>[n[0]||(n[0]=l(" 当前网络状态: ")),p("code",null,f(o(e)?"已连接":"已断开"),1)]),_:1}))}});export{E as default}; diff --git a/assets/useTable-B0KZmPSP.js b/assets/useTable-CCTWSpiR.js similarity index 93% rename from assets/useTable-B0KZmPSP.js rename to assets/useTable-CCTWSpiR.js index 0e89a16d..5d416032 100644 --- a/assets/useTable-B0KZmPSP.js +++ b/assets/useTable-CCTWSpiR.js @@ -1 +1 @@ -var o=(l,w,r)=>new Promise((s,c)=>{var f=n=>{try{d(r.next(n))}catch(p){c(p)}},h=n=>{try{d(r.throw(n))}catch(p){c(p)}},d=n=>n.done?s(n.value):Promise.resolve(n.value).then(f,h);d((r=r.apply(l,w)).next())});import"./Table.vue_vue_type_script_lang-B22YyWum.js";import"./index-DHbc4UQl.js";/* empty css *//* empty css *//* empty css */import{j as L,E as T}from"./element-plus-CUBv5pjL.js";import{r as m,w as y,u as a,o as b,n as x}from"./vue-chunks-ChjHxF1G.js";const S=l=>{const{immediate:w=!0}=l,r=m(!1),s=m(1),c=m(10),f=m(0),h=m([]);y(()=>s.value,()=>{u.getList()}),y(()=>c.value,()=>{a(s)===1||(s.value=1),u.getList()}),b(()=>{w&&u.getList()});const d=m(),n=m(),p=(e,t)=>{d.value=e,n.value=a(t)},g=()=>o(void 0,null,function*(){yield x();const e=a(d);return e||console.error("The table is not registered. Please use the register method to register"),e}),u={getList:()=>o(void 0,null,function*(){r.value=!0;try{const e=yield l==null?void 0:l.fetchDataApi();e&&(h.value=e.list,f.value=e.total||0)}catch(e){}finally{r.value=!1}}),setProps:(...t)=>o(void 0,[...t],function*(e={}){const i=yield g();i==null||i.setProps(e)}),setColumn:e=>o(void 0,null,function*(){const t=yield g();t==null||t.setColumn(e)}),addColumn:(e,t)=>o(void 0,null,function*(){const i=yield g();i==null||i.addColumn(e,t)}),delColumn:e=>o(void 0,null,function*(){const t=yield g();t==null||t.delColumn(e)}),getElTableExpose:()=>o(void 0,null,function*(){return yield g(),a(n)}),refresh:()=>{u.getList()},delList:e=>o(void 0,null,function*(){const{fetchDelApi:t}=l;if(!t){console.warn("fetchDelApi is undefined");return}L.confirm("是否删除所选中数据?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>o(void 0,null,function*(){if(yield t()){T.success("删除成功");const v=a(f)%a(c)===e||a(c)===1?a(s)>1?a(s)-1:a(s):a(s);s.value=v,u.getList()}}))})};return{tableRegister:p,tableMethods:u,tableState:{currentPage:s,pageSize:c,total:f,dataList:h,loading:r}}};export{S as u}; +var o=(l,w,r)=>new Promise((s,c)=>{var f=n=>{try{d(r.next(n))}catch(p){c(p)}},h=n=>{try{d(r.throw(n))}catch(p){c(p)}},d=n=>n.done?s(n.value):Promise.resolve(n.value).then(f,h);d((r=r.apply(l,w)).next())});import"./Table.vue_vue_type_script_lang-DWskqAmn.js";import"./index-wnyZ7Zvr.js";/* empty css *//* empty css *//* empty css */import{j as L,E as T}from"./element-plus-CUBv5pjL.js";import{r as m,w as y,u as a,o as b,n as x}from"./vue-chunks-ChjHxF1G.js";const S=l=>{const{immediate:w=!0}=l,r=m(!1),s=m(1),c=m(10),f=m(0),h=m([]);y(()=>s.value,()=>{u.getList()}),y(()=>c.value,()=>{a(s)===1||(s.value=1),u.getList()}),b(()=>{w&&u.getList()});const d=m(),n=m(),p=(e,t)=>{d.value=e,n.value=a(t)},g=()=>o(void 0,null,function*(){yield x();const e=a(d);return e||console.error("The table is not registered. Please use the register method to register"),e}),u={getList:()=>o(void 0,null,function*(){r.value=!0;try{const e=yield l==null?void 0:l.fetchDataApi();e&&(h.value=e.list,f.value=e.total||0)}catch(e){}finally{r.value=!1}}),setProps:(...t)=>o(void 0,[...t],function*(e={}){const i=yield g();i==null||i.setProps(e)}),setColumn:e=>o(void 0,null,function*(){const t=yield g();t==null||t.setColumn(e)}),addColumn:(e,t)=>o(void 0,null,function*(){const i=yield g();i==null||i.addColumn(e,t)}),delColumn:e=>o(void 0,null,function*(){const t=yield g();t==null||t.delColumn(e)}),getElTableExpose:()=>o(void 0,null,function*(){return yield g(),a(n)}),refresh:()=>{u.getList()},delList:e=>o(void 0,null,function*(){const{fetchDelApi:t}=l;if(!t){console.warn("fetchDelApi is undefined");return}L.confirm("是否删除所选中数据?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>o(void 0,null,function*(){if(yield t()){T.success("删除成功");const v=a(f)%a(c)===e||a(c)===1?a(s)>1?a(s)-1:a(s):a(s);s.value=v,u.getList()}}))})};return{tableRegister:p,tableMethods:u,tableState:{currentPage:s,pageSize:c,total:f,dataList:h,loading:r}}};export{S as u}; diff --git a/assets/useTagsView-DGPX7zkv.js b/assets/useTagsView-Cuqnabeg.js similarity index 81% rename from assets/useTagsView-DGPX7zkv.js rename to assets/useTagsView-Cuqnabeg.js index a2547869..c49645f9 100644 --- a/assets/useTagsView-DGPX7zkv.js +++ b/assets/useTagsView-Cuqnabeg.js @@ -1 +1 @@ -import{_ as w}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as o}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{u as V}from"./useTagsView-CijhIO7t.js";import{y as x,aA as A,z as L,K as O,L as e,O as r,u as s,a4 as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const q=x({__name:"useTagsView",setup(R){const{push:i}=A(),{closeAll:n,closeLeft:p,closeRight:m,closeOther:u,closeCurrent:f,refreshPage:y,setTitle:l}=V(),d=()=>{n(()=>{i("/dashboard/analysis")})},T=()=>{p()},C=()=>{m()},g=()=>{u()},k=()=>{y()},b=()=>{f(void 0,()=>{i("/dashboard/analysis")})},c=()=>{l(new Date().getTime().toString())},_=()=>{l(`分析页-${new Date().getTime().toString()}`,"/dashboard/analysis")};return($,t)=>(L(),O(s(w),{title:"useTagsView"},{default:e(()=>[r(s(o),{type:"primary",onClick:d},{default:e(()=>t[0]||(t[0]=[a(" 关闭所有标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:T},{default:e(()=>t[1]||(t[1]=[a(" 关闭左侧标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:C},{default:e(()=>t[2]||(t[2]=[a(" 关闭右侧标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:g},{default:e(()=>t[3]||(t[3]=[a(" 关闭其他标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:b},{default:e(()=>t[4]||(t[4]=[a(" 关闭当前标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:k},{default:e(()=>t[5]||(t[5]=[a(" 刷新当前标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:c},{default:e(()=>t[6]||(t[6]=[a(" 修改当前标题 ")])),_:1}),r(s(o),{type:"primary",onClick:_},{default:e(()=>t[7]||(t[7]=[a(" 修改分析页标题 ")])),_:1})]),_:1}))}});export{q as default}; +import{_ as w}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as o}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{u as V}from"./useTagsView-zngDgP3k.js";import{y as x,aA as A,z as L,K as O,L as e,O as r,u as s,a4 as a}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const q=x({__name:"useTagsView",setup(R){const{push:i}=A(),{closeAll:n,closeLeft:p,closeRight:m,closeOther:u,closeCurrent:f,refreshPage:y,setTitle:l}=V(),d=()=>{n(()=>{i("/dashboard/analysis")})},T=()=>{p()},C=()=>{m()},g=()=>{u()},k=()=>{y()},b=()=>{f(void 0,()=>{i("/dashboard/analysis")})},c=()=>{l(new Date().getTime().toString())},_=()=>{l(`分析页-${new Date().getTime().toString()}`,"/dashboard/analysis")};return($,t)=>(L(),O(s(w),{title:"useTagsView"},{default:e(()=>[r(s(o),{type:"primary",onClick:d},{default:e(()=>t[0]||(t[0]=[a(" 关闭所有标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:T},{default:e(()=>t[1]||(t[1]=[a(" 关闭左侧标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:C},{default:e(()=>t[2]||(t[2]=[a(" 关闭右侧标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:g},{default:e(()=>t[3]||(t[3]=[a(" 关闭其他标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:b},{default:e(()=>t[4]||(t[4]=[a(" 关闭当前标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:k},{default:e(()=>t[5]||(t[5]=[a(" 刷新当前标签页 ")])),_:1}),r(s(o),{type:"primary",onClick:c},{default:e(()=>t[6]||(t[6]=[a(" 修改当前标题 ")])),_:1}),r(s(o),{type:"primary",onClick:_},{default:e(()=>t[7]||(t[7]=[a(" 修改分析页标题 ")])),_:1})]),_:1}))}});export{q as default}; diff --git a/assets/useTagsView-CijhIO7t.js b/assets/useTagsView-zngDgP3k.js similarity index 92% rename from assets/useTagsView-CijhIO7t.js rename to assets/useTagsView-zngDgP3k.js index 483f4d8c..6045d818 100644 --- a/assets/useTagsView-CijhIO7t.js +++ b/assets/useTagsView-zngDgP3k.js @@ -1 +1 @@ -var p=(t,f,r)=>new Promise((n,g)=>{var V=o=>{try{u(r.next(o))}catch(h){g(h)}},T=o=>{try{u(r.throw(o))}catch(h){g(h)}},u=o=>o.done?n(o.value):Promise.resolve(o.value).then(V,T);u((r=r.apply(t,f)).next())});import{s as w}from"./index-DHbc4UQl.js";import{aA as R,c as A,u as i,n as O}from"./vue-chunks-ChjHxF1G.js";const y=()=>{const t=w(),{replace:f,currentRoute:r}=R(),n=A(()=>t.getSelectedTag);return{closeAll:e=>{t.delAllViews(),e==null||e()},closeLeft:e=>{t.delLeftViews(i(n)),e==null||e()},closeRight:e=>{t.delRightViews(i(n)),e==null||e()},closeOther:e=>{t.delOthersViews(i(n)),e==null||e()},closeCurrent:(e,s)=>{var d;(d=e==null?void 0:e.meta)!=null&&d.affix||(t.delView(e||i(r)),s==null||s())},refreshPage:(e,s)=>p(void 0,null,function*(){t.delCachedView();const{path:d,query:m}=e||i(r);yield O(),f({path:"/redirect"+d,query:m}),s==null||s()}),setTitle:(e,s)=>{t.setTitle(e,s)}}};export{y as u}; +var p=(t,f,r)=>new Promise((n,g)=>{var V=o=>{try{u(r.next(o))}catch(h){g(h)}},T=o=>{try{u(r.throw(o))}catch(h){g(h)}},u=o=>o.done?n(o.value):Promise.resolve(o.value).then(V,T);u((r=r.apply(t,f)).next())});import{s as w}from"./index-wnyZ7Zvr.js";import{aA as R,c as A,u as i,n as O}from"./vue-chunks-ChjHxF1G.js";const y=()=>{const t=w(),{replace:f,currentRoute:r}=R(),n=A(()=>t.getSelectedTag);return{closeAll:e=>{t.delAllViews(),e==null||e()},closeLeft:e=>{t.delLeftViews(i(n)),e==null||e()},closeRight:e=>{t.delRightViews(i(n)),e==null||e()},closeOther:e=>{t.delOthersViews(i(n)),e==null||e()},closeCurrent:(e,s)=>{var d;(d=e==null?void 0:e.meta)!=null&&d.affix||(t.delView(e||i(r)),s==null||s())},refreshPage:(e,s)=>p(void 0,null,function*(){t.delCachedView();const{path:d,query:m}=e||i(r);yield O(),f({path:"/redirect"+d,query:m}),s==null||s()}),setTitle:(e,s)=>{t.setTitle(e,s)}}};export{y as u}; diff --git a/assets/useValidator--00tdyYQ.js b/assets/useValidator-BWnAimwi.js similarity index 73% rename from assets/useValidator--00tdyYQ.js rename to assets/useValidator-BWnAimwi.js index 7e55194d..11ce3c6f 100644 --- a/assets/useValidator--00tdyYQ.js +++ b/assets/useValidator-BWnAimwi.js @@ -1 +1 @@ -var d=(s,m,t)=>new Promise((a,i)=>{var n=e=>{try{o(t.next(e))}catch(r){i(r)}},p=e=>{try{o(t.throw(e))}catch(r){i(r)}},o=e=>e.done?a(e.value):Promise.resolve(e.value).then(n,p);o((t=t.apply(s,m)).next())});import{_ as I}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{F as b}from"./Form-Cq-QZJdy.js";import{u as V}from"./useValidator-Nt61Jv1p.js";import{u as x}from"./useForm-B1_iUn_7.js";import{y as F,W as u,z as R,K as w,L as y,O as C,u as l}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./index-DHbc4UQl.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-BNBtg-nU.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B_t5xWgQ.js";import"./style.css_vue_type_style_index_0_src_true_lang-DG4kLPFJ.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-DsBVBzGy.js";import"./IconPicker-DQ9E_oKs.js";/* empty css */const ee=F({__name:"useValidator",setup(s){const{formRegister:m,formMethods:t}=x(),{getFormData:a}=t,{required:i,lengthRange:n,notSpace:p,notSpecialCharacters:o}=V(),e=u([{field:"field1",label:"必填",component:"Input"},{field:"field2",label:"长度范围",component:"Input"},{field:"field3",label:"不能有空格",component:"Input"},{field:"field4",label:"不能有特殊字符",component:"Input"},{field:"field5",label:"是否相等-值1",component:"Input"},{field:"field6",label:"是否相等-值2",component:"Input"}]),r=u({field1:[i()],field2:[n({min:2,max:5})],field3:[p()],field4:[o()],field5:[{asyncValidator:(_,f,c)=>d(this,null,function*(){const h=yield a(),{field6:g}=h;f!==g?c(new Error("两个值不相等")):c()})}]});return(_,f)=>(R(),w(l(I),{title:"useValidator"},{default:y(()=>[C(l(b),{schema:e,rules:r,onRegister:l(m)},null,8,["schema","rules","onRegister"])]),_:1}))}});export{ee as default}; +var d=(s,m,t)=>new Promise((a,i)=>{var n=e=>{try{o(t.next(e))}catch(r){i(r)}},p=e=>{try{o(t.throw(e))}catch(r){i(r)}},o=e=>e.done?a(e.value):Promise.resolve(e.value).then(n,p);o((t=t.apply(s,m)).next())});import{_ as I}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{F as b}from"./Form-BTUMYN5B.js";import{u as V}from"./useValidator-Nt61Jv1p.js";import{u as x}from"./useForm-B3urKjox.js";import{y as F,W as u,z as R,K as w,L as y,O as C,u as l}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./index-wnyZ7Zvr.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-radio-button-DcVH7Drv.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./InputPassword-B4kdpMyw.js";import"./style.css_vue_type_style_index_0_src_true_lang-Cea37_-4.js";import"./wang-editor-qsc5EwLN.js";import"./JsonEditor.vue_vue_type_script_setup_true_lang-3XSTlyWf.js";import"./IconPicker-DRoe2BX4.js";/* empty css */const ee=F({__name:"useValidator",setup(s){const{formRegister:m,formMethods:t}=x(),{getFormData:a}=t,{required:i,lengthRange:n,notSpace:p,notSpecialCharacters:o}=V(),e=u([{field:"field1",label:"必填",component:"Input"},{field:"field2",label:"长度范围",component:"Input"},{field:"field3",label:"不能有空格",component:"Input"},{field:"field4",label:"不能有特殊字符",component:"Input"},{field:"field5",label:"是否相等-值1",component:"Input"},{field:"field6",label:"是否相等-值2",component:"Input"}]),r=u({field1:[i()],field2:[n({min:2,max:5})],field3:[p()],field4:[o()],field5:[{asyncValidator:(_,f,c)=>d(this,null,function*(){const h=yield a(),{field6:g}=h;f!==g?c(new Error("两个值不相等")):c()})}]});return(_,f)=>(R(),w(l(I),{title:"useValidator"},{default:y(()=>[C(l(b),{schema:e,rules:r,onRegister:l(m)},null,8,["schema","rules","onRegister"])]),_:1}))}});export{ee as default}; diff --git a/assets/useWatermark-DaAwyLnq.js b/assets/useWatermark-B0SmaTRL.js similarity index 83% rename from assets/useWatermark-DaAwyLnq.js rename to assets/useWatermark-B0SmaTRL.js index 7494208a..2d2a443b 100644 --- a/assets/useWatermark-DaAwyLnq.js +++ b/assets/useWatermark-B0SmaTRL.js @@ -1 +1 @@ -import{_ as g}from"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import{_ as u}from"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";import{u as k}from"./index-DHbc4UQl.js";import{y as x,c as v,S as w,z as C,K as _,L as m,O as p,u as r,a4 as c}from"./vue-chunks-ChjHxF1G.js";import"./Icon-CdhVCYkm.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const E=Symbol("watermark-dom");function S(d=document.body){let i=()=>{};const a=E.toString(),s=()=>{const t=document.getElementById(a);if(t){const e=d;e&&e.removeChild(t)}window.removeEventListener("resize",i)},l=t=>{s();const e=document.createElement("canvas");e.width=300,e.height=240;const o=e.getContext("2d");o&&(o.rotate(-20*Math.PI/120),o.font="15px Vedana",o.fillStyle="rgba(0, 0, 0, 0.15)",o.textAlign="left",o.textBaseline="middle",o.fillText(t,e.width/20,e.height));const n=document.createElement("div");n.id=a,n.style.pointerEvents="none",n.style.top="0px",n.style.left="0px",n.style.position="absolute",n.style.zIndex="100000000",n.style.width=document.documentElement.clientWidth+"px",n.style.height=document.documentElement.clientHeight+"px",n.style.background="url("+e.toDataURL("image/png")+") left top repeat";const y=d;return y&&y.appendChild(n),a};function f(t){l(t),i=()=>{l(t)},window.addEventListener("resize",i)}return{setWatermark:f,clear:s}}const N=x({__name:"useWatermark",setup(d){const i=k(),a=v(()=>i.getTitle),{setWatermark:s,clear:l}=S();return w(()=>{l()}),(f,t)=>(C(),_(r(g),{title:"useWatermark"},{default:m(()=>[p(r(u),{type:"primary",onClick:t[0]||(t[0]=e=>r(s)(a.value))},{default:m(()=>t[2]||(t[2]=[c(" 创建水印 ")])),_:1}),p(r(u),{type:"danger",onClick:r(l)},{default:m(()=>t[3]||(t[3]=[c("清除水印")])),_:1},8,["onClick"]),p(r(u),{type:"warning",onClick:t[1]||(t[1]=e=>r(s)(`New${a.value}`))},{default:m(()=>t[4]||(t[4]=[c(" 重置水印 ")])),_:1})]),_:1}))}});export{N as default}; +import{_ as g}from"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import{_ as u}from"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";import{u as k}from"./index-wnyZ7Zvr.js";import{y as x,c as v,S as w,z as C,K as _,L as m,O as p,u as r,a4 as c}from"./vue-chunks-ChjHxF1G.js";import"./Icon-BTLftY2_.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css */const E=Symbol("watermark-dom");function S(d=document.body){let i=()=>{};const a=E.toString(),s=()=>{const t=document.getElementById(a);if(t){const e=d;e&&e.removeChild(t)}window.removeEventListener("resize",i)},l=t=>{s();const e=document.createElement("canvas");e.width=300,e.height=240;const o=e.getContext("2d");o&&(o.rotate(-20*Math.PI/120),o.font="15px Vedana",o.fillStyle="rgba(0, 0, 0, 0.15)",o.textAlign="left",o.textBaseline="middle",o.fillText(t,e.width/20,e.height));const n=document.createElement("div");n.id=a,n.style.pointerEvents="none",n.style.top="0px",n.style.left="0px",n.style.position="absolute",n.style.zIndex="100000000",n.style.width=document.documentElement.clientWidth+"px",n.style.height=document.documentElement.clientHeight+"px",n.style.background="url("+e.toDataURL("image/png")+") left top repeat";const y=d;return y&&y.appendChild(n),a};function f(t){l(t),i=()=>{l(t)},window.addEventListener("resize",i)}return{setWatermark:f,clear:s}}const N=x({__name:"useWatermark",setup(d){const i=k(),a=v(()=>i.getTitle),{setWatermark:s,clear:l}=S();return w(()=>{l()}),(f,t)=>(C(),_(r(g),{title:"useWatermark"},{default:m(()=>[p(r(u),{type:"primary",onClick:t[0]||(t[0]=e=>r(s)(a.value))},{default:m(()=>t[2]||(t[2]=[c(" 创建水印 ")])),_:1}),p(r(u),{type:"danger",onClick:r(l)},{default:m(()=>t[3]||(t[3]=[c("清除水印")])),_:1},8,["onClick"]),p(r(u),{type:"warning",onClick:t[1]||(t[1]=e=>r(s)(`New${a.value}`))},{default:m(()=>t[4]||(t[4]=[c(" 重置水印 ")])),_:1})]),_:1}))}});export{N as default}; diff --git a/assets/xml-yajEARIc.js b/assets/xml-BelG5VnH.js similarity index 91% rename from assets/xml-yajEARIc.js rename to assets/xml-BelG5VnH.js index 73e5064c..64bc07e4 100644 --- a/assets/xml-yajEARIc.js +++ b/assets/xml-BelG5VnH.js @@ -1,4 +1,4 @@ -import{m as r}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as r}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/assets/yaml-ChWugdwZ.js b/assets/yaml-UQHD_GqP.js similarity index 94% rename from assets/yaml-ChWugdwZ.js rename to assets/yaml-UQHD_GqP.js index 1169b1c7..98997370 100644 --- a/assets/yaml-ChWugdwZ.js +++ b/assets/yaml-UQHD_GqP.js @@ -1,4 +1,4 @@ -import{m as a}from"./CodeEditor-BEzINA0Y.js";import"./index-DHbc4UQl.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-BufG6Jwo.js";import"./Icon-CdhVCYkm.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-Zi7YaU9y.js";/* empty css *//*!----------------------------------------------------------------------------- +import{m as a}from"./CodeEditor-B5qkoQbs.js";import"./index-wnyZ7Zvr.js";import"./vue-chunks-ChjHxF1G.js";import"./element-plus-CUBv5pjL.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./ContentWrap.vue_vue_type_script_setup_true_lang-CzUrEcaT.js";import"./Icon-BTLftY2_.js";/* empty css */import"./Button.vue_vue_type_script_setup_true_lang-CA67jKJm.js";/* empty css *//*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) * Released under the MIT license diff --git a/index.html b/index.html index a00f60d5..8b6064c5 100644 --- a/index.html +++ b/index.html @@ -5,10 +5,10 @@ MicroBuild - + - +