From 131766bba114548382e944fc64ddb56d2e4332b1 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Mon, 26 Jun 2023 11:33:52 +0800 Subject: [PATCH] chore: update --- dist/index.html | 2 +- dist/serverConfig.json | 2 +- dist/static/js/{403-69364b20.js => 403-923ecc0c.js} | 2 +- dist/static/js/{404-d529caea.js => 404-f814f494.js} | 2 +- dist/static/js/{500-2e35626a.js => 500-d232a69f.js} | 2 +- dist/static/js/Bar-1e362d2e.js | 1 - dist/static/js/Bar-5dd280ac.js | 1 + ...> Bar.vue_vue_type_script_setup_true_lang-f681038a.js} | 2 +- dist/static/js/{Card-c7385b78.js => Card-1d4ec2a8.js} | 2 +- .../js/{DialogForm-65a1c5e1.js => DialogForm-ea3ce960.js} | 2 +- ...gForm.vue_vue_type_script_setup_true_lang-18417c6d.js} | 2 +- dist/static/js/{Github-d8c093d3.js => Github-e3136640.js} | 2 +- ...ithub.vue_vue_type_script_setup_true_lang-524b5d97.js} | 2 +- dist/static/js/Line-332af404.js | 1 - dist/static/js/Line-96b5493d.js | 1 + ... Line.vue_vue_type_script_setup_true_lang-4df5663e.js} | 2 +- dist/static/js/Pie-3793eb0d.js | 1 + dist/static/js/Pie-b5286371.js | 1 - ...> Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js} | 2 +- dist/static/js/{app-c56ccba4.js => app-246d46a6.js} | 2 +- .../js/{back_top-489ad631.js => back_top-58cf79de.js} | 2 +- .../js/{barcode-900bacb0.js => barcode-e0bac78c.js} | 2 +- dist/static/js/base-2ca3e2d6.js | 1 + dist/static/js/base-382bf325.js | 1 - dist/static/js/base-42abfe28.js | 1 - dist/static/js/base-d5082843.js | 1 + ... base.vue_vue_type_script_setup_true_lang-612cd722.js} | 2 +- ... base.vue_vue_type_script_setup_true_lang-64b0f3d7.js} | 2 +- dist/static/js/{basic-1658a9a9.js => basic-9e4768f3.js} | 2 +- dist/static/js/{border-67eecd65.js => border-09aca474.js} | 2 +- ...order.vue_vue_type_script_setup_true_lang-4222cc4e.js} | 2 +- .../js/{cascader-02616d41.js => cascader-cc413635.js} | 2 +- .../js/{columns-1bc0ce1c.js => columns-03aeaacd.js} | 2 +- .../js/{columns-1b794032.js => columns-1b8f8615.js} | 2 +- .../js/{columns-b74d2f49.js => columns-2aa5fe39.js} | 2 +- .../js/{columns-dae514b7.js => columns-342fbfd7.js} | 2 +- .../js/{columns-ebf2e2fa.js => columns-474c4a4a.js} | 2 +- .../js/{columns-67044dfe.js => columns-6b41d831.js} | 2 +- .../js/{columns-963fe6ad.js => columns-6d554563.js} | 2 +- .../js/{columns-2e2a5dc4.js => columns-7e32d1da.js} | 2 +- .../js/{columns-15aaedc0.js => columns-81a95c64.js} | 2 +- .../js/{columns-43640cdf.js => columns-94e2a27b.js} | 2 +- .../js/{columns-d8def6bf.js => columns-a9e72791.js} | 2 +- .../js/{columns-2bdec4e7.js => columns-b312cbd2.js} | 2 +- .../js/{columns-75d79a61.js => columns-cecb48d1.js} | 2 +- .../js/{columns-453a481e.js => columns-e229e9c2.js} | 2 +- .../js/{columns-a9925c7c.js => columns-e5795be2.js} | 2 +- .../js/{columns-9576412b.js => columns-ffa8f14e.js} | 2 +- .../js/{columns-bcc35f9f.js => columns-ffb3ebcb.js} | 2 +- dist/static/js/customIndex-3b58db8d.js | 1 + dist/static/js/customIndex-d177d940.js | 1 - ...Index.vue_vue_type_script_setup_true_lang-092ec924.js} | 2 +- dist/static/js/{dark-3015d878.js => dark-6ca62a74.js} | 2 +- dist/static/js/{data-c6346f61.js => data-43132d69.js} | 2 +- dist/static/js/{data-ce9440dd.js => data-9af24e22.js} | 2 +- .../js/{debounce-dbd986da.js => debounce-70fda773.js} | 2 +- .../js/{directives-a1012ef7.js => directives-73adb01b.js} | 2 +- .../js/{download-153a3b00.js => download-f58fa444.js} | 2 +- .../js/{epTheme-904e4673.js => epTheme-ff3a171c.js} | 2 +- dist/static/js/{execl-4649cc0f.js => execl-de1d8d0c.js} | 2 +- dist/static/js/{expand-20ee9a2d.js => expand-a75862a7.js} | 2 +- ...xpand.vue_vue_type_script_setup_true_lang-3909fccf.js} | 2 +- dist/static/js/{fail-eaf477ca.js => fail-3b176f5f.js} | 2 +- .../js/{filters-519832c3.js => filters-e430cb5f.js} | 2 +- ...lters.vue_vue_type_script_setup_true_lang-782bece9.js} | 2 +- dist/static/js/fixColumn-510ab3fc.js | 1 + dist/static/js/fixColumn-c205a3c1.js | 1 - ...olumn.vue_vue_type_script_setup_true_lang-501e751f.js} | 2 +- dist/static/js/fixHeader-3ff03587.js | 1 + dist/static/js/fixHeader-d6f28bc5.js | 1 - ...eader.vue_vue_type_script_setup_true_lang-b5bb4f13.js} | 2 +- dist/static/js/fluidHeight-3e3d1bb8.js | 1 - dist/static/js/fluidHeight-4ba3358c.js | 1 + ...eight.vue_vue_type_script_setup_true_lang-edf42a61.js} | 2 +- dist/static/js/form-0cf76bae.js | 1 + dist/static/js/form-37ef77b1.js | 1 - dist/static/js/form-3d4fecb5.js | 1 + dist/static/js/form-b83f824c.js | 1 - dist/static/js/form-c0c48db9.js | 1 - dist/static/js/form-ec3d941e.js | 1 + ... form.vue_vue_type_script_setup_true_lang-20cd937b.js} | 2 +- ... form.vue_vue_type_script_setup_true_lang-2a77ad63.js} | 2 +- ... form.vue_vue_type_script_setup_true_lang-a7e35271.js} | 2 +- ...ormPrimitive-1e937fa9.js => formPrimitive-b4519716.js} | 2 +- ...itive.vue_vue_type_script_setup_true_lang-10b640c7.js} | 2 +- .../js/{frameView-5ae09b01.js => frameView-b346d222.js} | 2 +- dist/static/js/groupHeader-a0785989.js | 1 - dist/static/js/groupHeader-fef6e98c.js | 1 + ...eader.vue_vue_type_script_setup_true_lang-e3f92fa7.js} | 2 +- dist/static/js/{high-576e7673.js => high-51cafcc9.js} | 2 +- dist/static/js/{hook-047bb42e.js => hook-70100432.js} | 2 +- dist/static/js/{hook-aa4c8e54.js => hook-b6edb070.js} | 2 +- dist/static/js/{hook-567db8d9.js => hook-fb180ed8.js} | 2 +- dist/static/js/{hooks-82c6b5e4.js => hooks-2ea9b191.js} | 2 +- dist/static/js/{hooks-0879ef18.js => hooks-7e719396.js} | 2 +- dist/static/js/{hooks-25ed90b2.js => hooks-bc14fdba.js} | 2 +- .../js/{horizontal-a2f578f8.js => horizontal-c6d584ff.js} | 2 +- .../{icon-select-ee6e6301.js => icon-select-7d7c4c67.js} | 2 +- dist/static/js/imgPreview-3ca9fb9b.js | 1 + dist/static/js/imgPreview-494b3d33.js | 1 - ...eview.vue_vue_type_script_setup_true_lang-20b57e0d.js} | 2 +- dist/static/js/index-0070af91.js | 1 + dist/static/js/index-01708126.js | 1 + dist/static/js/{index-9e7cb3e4.js => index-08f7b72f.js} | 2 +- dist/static/js/{index-2d45ac87.js => index-09be365d.js} | 2 +- dist/static/js/{index-11a0f3ed.js => index-17230558.js} | 2 +- dist/static/js/index-1990ba2b.js | 1 + dist/static/js/{index-b04a1fb1.js => index-1a43b023.js} | 2 +- dist/static/js/index-1a5ef16d.js | 1 + dist/static/js/index-1ad3c190.js | 1 + dist/static/js/{index-2a56b4d5.js => index-29da3f8e.js} | 2 +- dist/static/js/{index-a9b0cd40.js => index-2a6d5ddb.js} | 2 +- dist/static/js/index-2acaf07e.js | 1 + dist/static/js/index-2e2618de.js | 1 - dist/static/js/{index-0fc14658.js => index-3a7716a0.js} | 2 +- dist/static/js/{index-06a908ca.js => index-3cc9d30a.js} | 2 +- dist/static/js/{index-4c91919c.js => index-41fb1d6a.js} | 2 +- dist/static/js/{index-ceadd577.js => index-42b0cfe4.js} | 8 ++++---- dist/static/js/{index-f2ccae50.js => index-4346aa6e.js} | 2 +- dist/static/js/{index-207ac8cd.js => index-436c44e5.js} | 2 +- dist/static/js/{index-c609ccff.js => index-44694419.js} | 2 +- dist/static/js/index-449e60c5.js | 2 -- dist/static/js/{index-49508c44.js => index-44e4b79c.js} | 2 +- dist/static/js/{index-24224ed6.js => index-4b663c01.js} | 2 +- dist/static/js/{index-08eb722d.js => index-4f983af3.js} | 2 +- dist/static/js/{index-a74ac77a.js => index-500f8d5b.js} | 2 +- dist/static/js/{index-be036424.js => index-5e55af8f.js} | 2 +- dist/static/js/{index-e5cd6a13.js => index-6393607f.js} | 2 +- dist/static/js/{index-9e6d1e33.js => index-66b6681d.js} | 2 +- dist/static/js/{index-500acd9e.js => index-66c26666.js} | 2 +- dist/static/js/index-6819d4a2.js | 1 - dist/static/js/index-70fa98c8.js | 1 + dist/static/js/{index-9996e8d2.js => index-7cec5734.js} | 2 +- dist/static/js/index-7f14b3c0.js | 1 - dist/static/js/index-834daa44.js | 1 + dist/static/js/index-88866009.js | 1 + dist/static/js/{index-11f8ea63.js => index-89e931c0.js} | 2 +- dist/static/js/{index-3e45a184.js => index-8ed7452d.js} | 2 +- dist/static/js/{index-85a09f73.js => index-8ef104cf.js} | 2 +- dist/static/js/index-91335a73.js | 1 - dist/static/js/index-91dda045.js | 1 + dist/static/js/index-933c2dc7.js | 1 - dist/static/js/index-94a61ec6.js | 1 - dist/static/js/{index-8460cfed.js => index-95007ff2.js} | 2 +- dist/static/js/index-9a4aa307.js | 1 + dist/static/js/index-9bc34734.js | 1 - dist/static/js/index-9f1354af.js | 1 + dist/static/js/{index-8c391611.js => index-a372afac.js} | 2 +- dist/static/js/{index-4586da2e.js => index-a7e6eb22.js} | 2 +- dist/static/js/{index-171b2cb1.js => index-a86504d6.js} | 2 +- dist/static/js/{index-026bd28f.js => index-a8afb2c0.js} | 2 +- dist/static/js/{index-4f6d577f.js => index-a8e6f192.js} | 2 +- dist/static/js/{index-83c5e682.js => index-abb152db.js} | 2 +- dist/static/js/{index-7ace001d.js => index-afca5026.js} | 2 +- dist/static/js/index-b435def2.js | 1 - dist/static/js/{index-2bf43699.js => index-bac7b6d4.js} | 2 +- dist/static/js/{index-8c09e38e.js => index-c35013cb.js} | 4 ++-- dist/static/js/{index-cb5b4b6f.js => index-ce657e0b.js} | 2 +- dist/static/js/{index-99e2b4d1.js => index-d0d2892c.js} | 2 +- dist/static/js/index-d34e9ba8.js | 1 - dist/static/js/index-d35d45ca.js | 2 ++ dist/static/js/{index-8ac4644e.js => index-d57d3027.js} | 2 +- dist/static/js/{index-5940b582.js => index-de2c4931.js} | 2 +- dist/static/js/{index-e13ce893.js => index-de52d59b.js} | 2 +- dist/static/js/index-dee002d6.js | 1 - dist/static/js/{index-473f73b2.js => index-e4012f33.js} | 2 +- dist/static/js/index-e45aa78f.js | 1 + dist/static/js/{index-9d9cd6a4.js => index-e4f048dd.js} | 2 +- dist/static/js/index-e864bef2.js | 1 - dist/static/js/index-e8663534.js | 1 - dist/static/js/{index-2ec31c36.js => index-f21835af.js} | 2 +- dist/static/js/index-f4375a30.js | 1 + dist/static/js/index-f4bd1594.js | 1 - dist/static/js/index-f50f18ad.js | 1 + dist/static/js/index-f96beb87.js | 1 - dist/static/js/index-fa568bbc.js | 1 - dist/static/js/{index-fa4f7129.js => index-fb5fc7d1.js} | 2 +- .../js/{index.esm-74f5f9a0.js => index.esm-88833e99.js} | 2 +- .../js/{index.esm-7c905650.js => index.esm-afc87593.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-0c2046d1.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-289544ea.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-3c1d02d2.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-3e2fded0.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-443a04b9.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-5e5d23a5.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-6b1426e7.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-709c24e0.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-91560990.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-9cbaaa8a.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-a3e0389a.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-c03ca486.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-dc219594.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-f369f7f2.js} | 2 +- ...index.vue_vue_type_script_setup_true_lang-fc1e8d16.js} | 2 +- ...ite-scroll-30a43124.js => infinite-scroll-2b517294.js} | 2 +- dist/static/js/{layout-2419ec36.js => layout-ddac27c5.js} | 2 +- ...ayout.vue_vue_type_script_setup_true_lang-7f60d3fd.js} | 2 +- .../js/{line-tree-12d57615.js => line-tree-bfe94cf9.js} | 2 +- dist/static/js/{list-9060fb6b.js => list-04e09b6f.js} | 2 +- dist/static/js/list-501aa27e.js | 1 - dist/static/js/list-7857d918.js | 1 + dist/static/js/{list-80891f62.js => list-b5711b9c.js} | 2 +- .../js/{menu-tree-8383d632.js => menu-tree-68ee9633.js} | 2 +- .../{menuDynamic-26c92eb4.js => menuDynamic-e26cc4a5.js} | 2 +- .../js/{menuGroup-513a794f.js => menuGroup-2c9d1f41.js} | 2 +- dist/static/js/merge-777ccc5f.js | 1 - dist/static/js/merge-d09e58bd.js | 1 + ...merge.vue_vue_type_script_setup_true_lang-5d77abbf.js} | 2 +- dist/static/js/{motion-3122a87d.js => motion-c3b5429c.js} | 2 +- dist/static/js/multi-77ed68ed.js | 1 - dist/static/js/multi-93b2a340.js | 1 + ...multi.vue_vue_type_script_setup_true_lang-05075165.js} | 2 +- dist/static/js/multipleChoice-cee3f4cc.js | 1 - dist/static/js/multipleChoice-f15719d2.js | 1 + ...hoice.vue_vue_type_script_setup_true_lang-c54a4e8c.js} | 2 +- .../js/{nestProp-605e1081.js => nestProp-bed95f7d.js} | 2 +- ...tProp.vue_vue_type_script_setup_true_lang-79a7fd0b.js} | 2 +- ...arams-detail-ebead4e8.js => params-detail-0c1b9bac.js} | 2 +- dist/static/js/{pdf-4b215f44.js => pdf-30820686.js} | 2 +- dist/static/js/phone-4a230adf.js | 1 + dist/static/js/phone-fe62ebcd.js | 1 - ...phone.vue_vue_type_script_setup_true_lang-8ba64388.js} | 2 +- dist/static/js/picUpload-70dbe5d3.js | 1 + dist/static/js/picUpload-c6c4842d.js | 1 - ...pload.vue_vue_type_script_setup_true_lang-c067a5b6.js} | 2 +- dist/static/js/{pinyin-514c5d3d.js => pinyin-f5885dfd.js} | 2 +- dist/static/js/{print-9e6ffe48.js => print-18e0e65b.js} | 2 +- dist/static/js/qrCode-aa5e4e54.js | 1 - dist/static/js/qrCode-d15509b3.js | 1 + ...rCode.vue_vue_type_script_setup_true_lang-fef89734.js} | 2 +- dist/static/js/{qrcode-6bdaa7dc.js => qrcode-84039e2a.js} | 2 +- ...{query-detail-afb4e354.js => query-detail-6cfba70f.js} | 2 +- dist/static/js/radio-90874a7f.js | 1 - dist/static/js/radio-e3d99afb.js | 1 + ...radio.vue_vue_type_script_setup_true_lang-5588d1c7.js} | 2 +- .../js/{redirect-51f11b86.js => redirect-eff42436.js} | 2 +- .../js/{refresh-66a59325.js => refresh-ac0fe015.js} | 2 +- dist/static/js/{regist-5000705d.js => regist-d7f63c7a.js} | 2 +- ...egist.vue_vue_type_script_setup_true_lang-91f1bfc3.js} | 2 +- .../js/{sensitive-22a0368b.js => sensitive-7bcb2912.js} | 2 +- dist/static/js/sortable-66f8681b.js | 1 + dist/static/js/sortable-d9f0b442.js | 1 - ...table.vue_vue_type_script_setup_true_lang-4444de65.js} | 2 +- dist/static/js/status-056eae3e.js | 1 + dist/static/js/status-18955830.js | 1 - ...=> status.vue_vue_type_style_index_0_lang-2ca59ed4.js} | 2 +- dist/static/js/{stripe-91a49bcc.js => stripe-5b61ad85.js} | 2 +- ...tripe.vue_vue_type_script_setup_true_lang-4a967d59.js} | 2 +- dist/static/js/{styles-71e87efa.js => styles-7ba5c6fe.js} | 2 +- .../js/{success-16238c8b.js => success-4cd503ed.js} | 2 +- dist/static/js/{swiper-21516ff1.js => swiper-b12015b6.js} | 2 +- dist/static/js/{system-64319881.js => system-b32e34d2.js} | 2 +- .../js/{timeline-11cca6d9.js => timeline-fe79178f.js} | 2 +- .../js/{totalRow-7bea06e1.js => totalRow-f06ef6c7.js} | 2 +- ...alRow.vue_vue_type_script_setup_true_lang-fa751452.js} | 2 +- dist/static/js/tree-56bb1784.js | 1 - dist/static/js/{tree-c021e085.js => tree-686f8835.js} | 2 +- dist/static/js/tree-82623834.js | 1 + ... tree.vue_vue_type_script_setup_true_lang-4deb1854.js} | 2 +- dist/static/js/{update-2189da1f.js => update-69854212.js} | 2 +- ...pdate.vue_vue_type_script_setup_true_lang-9a96c023.js} | 2 +- .../js/{verifyCode-71c44392.js => verifyCode-3d75d9a0.js} | 2 +- .../js/{vertical-415d74d4.js => vertical-2f20122a.js} | 2 +- ...m-540eb406.js => vue-virtual-scroller.esm-aa84258e.js} | 2 +- dist/static/js/vue.runtime.esm-bundler-44233a4d.js | 1 - dist/static/js/vue.runtime.esm-bundler-a6324638.js | 1 + .../js/{watermark-63f78491.js => watermark-4c0738ba.js} | 2 +- dist/version.json | 2 +- 268 files changed, 231 insertions(+), 231 deletions(-) rename dist/static/js/{403-69364b20.js => 403-923ecc0c.js} (99%) rename dist/static/js/{404-d529caea.js => 404-f814f494.js} (99%) rename dist/static/js/{500-2e35626a.js => 500-d232a69f.js} (99%) delete mode 100644 dist/static/js/Bar-1e362d2e.js create mode 100644 dist/static/js/Bar-5dd280ac.js rename dist/static/js/{Bar.vue_vue_type_script_setup_true_lang-1501b08b.js => Bar.vue_vue_type_script_setup_true_lang-f681038a.js} (89%) rename dist/static/js/{Card-c7385b78.js => Card-1d4ec2a8.js} (96%) rename dist/static/js/{DialogForm-65a1c5e1.js => DialogForm-ea3ce960.js} (51%) rename dist/static/js/{DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js => DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js} (97%) rename dist/static/js/{Github-d8c093d3.js => Github-e3136640.js} (55%) rename dist/static/js/{Github.vue_vue_type_script_setup_true_lang-b99b9114.js => Github.vue_vue_type_script_setup_true_lang-524b5d97.js} (73%) delete mode 100644 dist/static/js/Line-332af404.js create mode 100644 dist/static/js/Line-96b5493d.js rename dist/static/js/{Line.vue_vue_type_script_setup_true_lang-30123dc5.js => Line.vue_vue_type_script_setup_true_lang-4df5663e.js} (93%) create mode 100644 dist/static/js/Pie-3793eb0d.js delete mode 100644 dist/static/js/Pie-b5286371.js rename dist/static/js/{Pie.vue_vue_type_script_setup_true_lang-51a62997.js => Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js} (75%) rename dist/static/js/{app-c56ccba4.js => app-246d46a6.js} (94%) rename dist/static/js/{back_top-489ad631.js => back_top-58cf79de.js} (91%) rename dist/static/js/{barcode-900bacb0.js => barcode-e0bac78c.js} (99%) create mode 100644 dist/static/js/base-2ca3e2d6.js delete mode 100644 dist/static/js/base-382bf325.js delete mode 100644 dist/static/js/base-42abfe28.js create mode 100644 dist/static/js/base-d5082843.js rename dist/static/js/{base.vue_vue_type_script_setup_true_lang-c0453f4f.js => base.vue_vue_type_script_setup_true_lang-612cd722.js} (63%) rename dist/static/js/{base.vue_vue_type_script_setup_true_lang-126ca264.js => base.vue_vue_type_script_setup_true_lang-64b0f3d7.js} (84%) rename dist/static/js/{basic-1658a9a9.js => basic-9e4768f3.js} (85%) rename dist/static/js/{border-67eecd65.js => border-09aca474.js} (58%) rename dist/static/js/{border.vue_vue_type_script_setup_true_lang-13c02543.js => border.vue_vue_type_script_setup_true_lang-4222cc4e.js} (64%) rename dist/static/js/{cascader-02616d41.js => cascader-cc413635.js} (99%) rename dist/static/js/{columns-1bc0ce1c.js => columns-03aeaacd.js} (88%) rename dist/static/js/{columns-1b794032.js => columns-1b8f8615.js} (88%) rename dist/static/js/{columns-b74d2f49.js => columns-2aa5fe39.js} (92%) rename dist/static/js/{columns-dae514b7.js => columns-342fbfd7.js} (82%) rename dist/static/js/{columns-ebf2e2fa.js => columns-474c4a4a.js} (99%) rename dist/static/js/{columns-67044dfe.js => columns-6b41d831.js} (83%) rename dist/static/js/{columns-963fe6ad.js => columns-6d554563.js} (91%) rename dist/static/js/{columns-2e2a5dc4.js => columns-7e32d1da.js} (82%) rename dist/static/js/{columns-15aaedc0.js => columns-81a95c64.js} (74%) rename dist/static/js/{columns-43640cdf.js => columns-94e2a27b.js} (78%) rename dist/static/js/{columns-d8def6bf.js => columns-a9e72791.js} (95%) rename dist/static/js/{columns-2bdec4e7.js => columns-b312cbd2.js} (93%) rename dist/static/js/{columns-75d79a61.js => columns-cecb48d1.js} (82%) rename dist/static/js/{columns-453a481e.js => columns-e229e9c2.js} (95%) rename dist/static/js/{columns-a9925c7c.js => columns-e5795be2.js} (92%) rename dist/static/js/{columns-9576412b.js => columns-ffa8f14e.js} (80%) rename dist/static/js/{columns-bcc35f9f.js => columns-ffb3ebcb.js} (95%) create mode 100644 dist/static/js/customIndex-3b58db8d.js delete mode 100644 dist/static/js/customIndex-d177d940.js rename dist/static/js/{customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js => customIndex.vue_vue_type_script_setup_true_lang-092ec924.js} (67%) rename dist/static/js/{dark-3015d878.js => dark-6ca62a74.js} (98%) rename dist/static/js/{data-c6346f61.js => data-43132d69.js} (94%) rename dist/static/js/{data-ce9440dd.js => data-9af24e22.js} (98%) rename dist/static/js/{debounce-dbd986da.js => debounce-70fda773.js} (95%) rename dist/static/js/{directives-a1012ef7.js => directives-73adb01b.js} (96%) rename dist/static/js/{download-153a3b00.js => download-f58fa444.js} (98%) rename dist/static/js/{epTheme-904e4673.js => epTheme-ff3a171c.js} (80%) rename dist/static/js/{execl-4649cc0f.js => execl-de1d8d0c.js} (95%) rename dist/static/js/{expand-20ee9a2d.js => expand-a75862a7.js} (58%) rename dist/static/js/{expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js => expand.vue_vue_type_script_setup_true_lang-3909fccf.js} (89%) rename dist/static/js/{fail-eaf477ca.js => fail-3b176f5f.js} (86%) rename dist/static/js/{filters-519832c3.js => filters-e430cb5f.js} (50%) rename dist/static/js/{filters.vue_vue_type_script_setup_true_lang-2cee2599.js => filters.vue_vue_type_script_setup_true_lang-782bece9.js} (95%) create mode 100644 dist/static/js/fixColumn-510ab3fc.js delete mode 100644 dist/static/js/fixColumn-c205a3c1.js rename dist/static/js/{fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js => fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js} (86%) create mode 100644 dist/static/js/fixHeader-3ff03587.js delete mode 100644 dist/static/js/fixHeader-d6f28bc5.js rename dist/static/js/{fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js => fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js} (67%) delete mode 100644 dist/static/js/fluidHeight-3e3d1bb8.js create mode 100644 dist/static/js/fluidHeight-4ba3358c.js rename dist/static/js/{fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js => fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js} (89%) create mode 100644 dist/static/js/form-0cf76bae.js delete mode 100644 dist/static/js/form-37ef77b1.js create mode 100644 dist/static/js/form-3d4fecb5.js delete mode 100644 dist/static/js/form-b83f824c.js delete mode 100644 dist/static/js/form-c0c48db9.js create mode 100644 dist/static/js/form-ec3d941e.js rename dist/static/js/{form.vue_vue_type_script_setup_true_lang-0e445be8.js => form.vue_vue_type_script_setup_true_lang-20cd937b.js} (94%) rename dist/static/js/{form.vue_vue_type_script_setup_true_lang-668c070a.js => form.vue_vue_type_script_setup_true_lang-2a77ad63.js} (93%) rename dist/static/js/{form.vue_vue_type_script_setup_true_lang-88b521bf.js => form.vue_vue_type_script_setup_true_lang-a7e35271.js} (95%) rename dist/static/js/{formPrimitive-1e937fa9.js => formPrimitive-b4519716.js} (52%) rename dist/static/js/{formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js => formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js} (85%) rename dist/static/js/{frameView-5ae09b01.js => frameView-b346d222.js} (92%) delete mode 100644 dist/static/js/groupHeader-a0785989.js create mode 100644 dist/static/js/groupHeader-fef6e98c.js rename dist/static/js/{groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js => groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js} (73%) rename dist/static/js/{high-576e7673.js => high-51cafcc9.js} (52%) rename dist/static/js/{hook-047bb42e.js => hook-70100432.js} (90%) rename dist/static/js/{hook-aa4c8e54.js => hook-b6edb070.js} (94%) rename dist/static/js/{hook-567db8d9.js => hook-fb180ed8.js} (88%) rename dist/static/js/{hooks-82c6b5e4.js => hooks-2ea9b191.js} (77%) rename dist/static/js/{hooks-0879ef18.js => hooks-7e719396.js} (88%) rename dist/static/js/{hooks-25ed90b2.js => hooks-bc14fdba.js} (82%) rename dist/static/js/{horizontal-a2f578f8.js => horizontal-c6d584ff.js} (91%) rename dist/static/js/{icon-select-ee6e6301.js => icon-select-7d7c4c67.js} (99%) create mode 100644 dist/static/js/imgPreview-3ca9fb9b.js delete mode 100644 dist/static/js/imgPreview-494b3d33.js rename dist/static/js/{imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js => imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js} (85%) create mode 100644 dist/static/js/index-0070af91.js create mode 100644 dist/static/js/index-01708126.js rename dist/static/js/{index-9e7cb3e4.js => index-08f7b72f.js} (96%) rename dist/static/js/{index-2d45ac87.js => index-09be365d.js} (99%) rename dist/static/js/{index-11a0f3ed.js => index-17230558.js} (96%) create mode 100644 dist/static/js/index-1990ba2b.js rename dist/static/js/{index-b04a1fb1.js => index-1a43b023.js} (66%) create mode 100644 dist/static/js/index-1a5ef16d.js create mode 100644 dist/static/js/index-1ad3c190.js rename dist/static/js/{index-2a56b4d5.js => index-29da3f8e.js} (99%) rename dist/static/js/{index-a9b0cd40.js => index-2a6d5ddb.js} (70%) create mode 100644 dist/static/js/index-2acaf07e.js delete mode 100644 dist/static/js/index-2e2618de.js rename dist/static/js/{index-0fc14658.js => index-3a7716a0.js} (98%) rename dist/static/js/{index-06a908ca.js => index-3cc9d30a.js} (99%) rename dist/static/js/{index-4c91919c.js => index-41fb1d6a.js} (99%) rename dist/static/js/{index-ceadd577.js => index-42b0cfe4.js} (98%) rename dist/static/js/{index-f2ccae50.js => index-4346aa6e.js} (97%) rename dist/static/js/{index-207ac8cd.js => index-436c44e5.js} (86%) rename dist/static/js/{index-c609ccff.js => index-44694419.js} (99%) delete mode 100644 dist/static/js/index-449e60c5.js rename dist/static/js/{index-49508c44.js => index-44e4b79c.js} (96%) rename dist/static/js/{index-24224ed6.js => index-4b663c01.js} (88%) rename dist/static/js/{index-08eb722d.js => index-4f983af3.js} (91%) rename dist/static/js/{index-a74ac77a.js => index-500f8d5b.js} (96%) rename dist/static/js/{index-be036424.js => index-5e55af8f.js} (95%) rename dist/static/js/{index-e5cd6a13.js => index-6393607f.js} (99%) rename dist/static/js/{index-9e6d1e33.js => index-66b6681d.js} (69%) rename dist/static/js/{index-500acd9e.js => index-66c26666.js} (86%) delete mode 100644 dist/static/js/index-6819d4a2.js create mode 100644 dist/static/js/index-70fa98c8.js rename dist/static/js/{index-9996e8d2.js => index-7cec5734.js} (82%) delete mode 100644 dist/static/js/index-7f14b3c0.js create mode 100644 dist/static/js/index-834daa44.js create mode 100644 dist/static/js/index-88866009.js rename dist/static/js/{index-11f8ea63.js => index-89e931c0.js} (99%) rename dist/static/js/{index-3e45a184.js => index-8ed7452d.js} (93%) rename dist/static/js/{index-85a09f73.js => index-8ef104cf.js} (89%) delete mode 100644 dist/static/js/index-91335a73.js create mode 100644 dist/static/js/index-91dda045.js delete mode 100644 dist/static/js/index-933c2dc7.js delete mode 100644 dist/static/js/index-94a61ec6.js rename dist/static/js/{index-8460cfed.js => index-95007ff2.js} (75%) create mode 100644 dist/static/js/index-9a4aa307.js delete mode 100644 dist/static/js/index-9bc34734.js create mode 100644 dist/static/js/index-9f1354af.js rename dist/static/js/{index-8c391611.js => index-a372afac.js} (84%) rename dist/static/js/{index-4586da2e.js => index-a7e6eb22.js} (96%) rename dist/static/js/{index-171b2cb1.js => index-a86504d6.js} (97%) rename dist/static/js/{index-026bd28f.js => index-a8afb2c0.js} (86%) rename dist/static/js/{index-4f6d577f.js => index-a8e6f192.js} (96%) rename dist/static/js/{index-83c5e682.js => index-abb152db.js} (99%) rename dist/static/js/{index-7ace001d.js => index-afca5026.js} (99%) delete mode 100644 dist/static/js/index-b435def2.js rename dist/static/js/{index-2bf43699.js => index-bac7b6d4.js} (99%) rename dist/static/js/{index-8c09e38e.js => index-c35013cb.js} (99%) rename dist/static/js/{index-cb5b4b6f.js => index-ce657e0b.js} (99%) rename dist/static/js/{index-99e2b4d1.js => index-d0d2892c.js} (99%) delete mode 100644 dist/static/js/index-d34e9ba8.js create mode 100644 dist/static/js/index-d35d45ca.js rename dist/static/js/{index-8ac4644e.js => index-d57d3027.js} (71%) rename dist/static/js/{index-5940b582.js => index-de2c4931.js} (90%) rename dist/static/js/{index-e13ce893.js => index-de52d59b.js} (70%) delete mode 100644 dist/static/js/index-dee002d6.js rename dist/static/js/{index-473f73b2.js => index-e4012f33.js} (86%) create mode 100644 dist/static/js/index-e45aa78f.js rename dist/static/js/{index-9d9cd6a4.js => index-e4f048dd.js} (97%) delete mode 100644 dist/static/js/index-e864bef2.js delete mode 100644 dist/static/js/index-e8663534.js rename dist/static/js/{index-2ec31c36.js => index-f21835af.js} (94%) create mode 100644 dist/static/js/index-f4375a30.js delete mode 100644 dist/static/js/index-f4bd1594.js create mode 100644 dist/static/js/index-f50f18ad.js delete mode 100644 dist/static/js/index-f96beb87.js delete mode 100644 dist/static/js/index-fa568bbc.js rename dist/static/js/{index-fa4f7129.js => index-fb5fc7d1.js} (94%) rename dist/static/js/{index.esm-74f5f9a0.js => index.esm-88833e99.js} (99%) rename dist/static/js/{index.esm-7c905650.js => index.esm-afc87593.js} (99%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-97e25004.js => index.vue_vue_type_script_setup_true_lang-0c2046d1.js} (66%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-9d69299b.js => index.vue_vue_type_script_setup_true_lang-289544ea.js} (75%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-a2c109d6.js => index.vue_vue_type_script_setup_true_lang-3c1d02d2.js} (65%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-662cb145.js => index.vue_vue_type_script_setup_true_lang-3e2fded0.js} (84%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-cef39cb0.js => index.vue_vue_type_script_setup_true_lang-443a04b9.js} (74%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-2f204d9d.js => index.vue_vue_type_script_setup_true_lang-5e5d23a5.js} (95%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-7c698d53.js => index.vue_vue_type_script_setup_true_lang-6b1426e7.js} (85%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-cd853b95.js => index.vue_vue_type_script_setup_true_lang-709c24e0.js} (63%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-808d4627.js => index.vue_vue_type_script_setup_true_lang-91560990.js} (89%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-56274f1f.js => index.vue_vue_type_script_setup_true_lang-9cbaaa8a.js} (58%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-fbc09ad7.js => index.vue_vue_type_script_setup_true_lang-a3e0389a.js} (61%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-71f20b48.js => index.vue_vue_type_script_setup_true_lang-c03ca486.js} (59%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-ad86bd1d.js => index.vue_vue_type_script_setup_true_lang-dc219594.js} (70%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-fb59f01c.js => index.vue_vue_type_script_setup_true_lang-f369f7f2.js} (82%) rename dist/static/js/{index.vue_vue_type_script_setup_true_lang-959d3879.js => index.vue_vue_type_script_setup_true_lang-fc1e8d16.js} (67%) rename dist/static/js/{infinite-scroll-30a43124.js => infinite-scroll-2b517294.js} (99%) rename dist/static/js/{layout-2419ec36.js => layout-ddac27c5.js} (58%) rename dist/static/js/{layout.vue_vue_type_script_setup_true_lang-dec8a425.js => layout.vue_vue_type_script_setup_true_lang-7f60d3fd.js} (79%) rename dist/static/js/{line-tree-12d57615.js => line-tree-bfe94cf9.js} (98%) rename dist/static/js/{list-9060fb6b.js => list-04e09b6f.js} (55%) delete mode 100644 dist/static/js/list-501aa27e.js create mode 100644 dist/static/js/list-7857d918.js rename dist/static/js/{list-80891f62.js => list-b5711b9c.js} (57%) rename dist/static/js/{menu-tree-8383d632.js => menu-tree-68ee9633.js} (96%) rename dist/static/js/{menuDynamic-26c92eb4.js => menuDynamic-e26cc4a5.js} (93%) rename dist/static/js/{menuGroup-513a794f.js => menuGroup-2c9d1f41.js} (85%) delete mode 100644 dist/static/js/merge-777ccc5f.js create mode 100644 dist/static/js/merge-d09e58bd.js rename dist/static/js/{merge.vue_vue_type_script_setup_true_lang-22a85f07.js => merge.vue_vue_type_script_setup_true_lang-5d77abbf.js} (93%) rename dist/static/js/{motion-3122a87d.js => motion-c3b5429c.js} (80%) delete mode 100644 dist/static/js/multi-77ed68ed.js create mode 100644 dist/static/js/multi-93b2a340.js rename dist/static/js/{multi.vue_vue_type_script_setup_true_lang-bd046a75.js => multi.vue_vue_type_script_setup_true_lang-05075165.js} (84%) delete mode 100644 dist/static/js/multipleChoice-cee3f4cc.js create mode 100644 dist/static/js/multipleChoice-f15719d2.js rename dist/static/js/{multipleChoice.vue_vue_type_script_setup_true_lang-29b608cd.js => multipleChoice.vue_vue_type_script_setup_true_lang-c54a4e8c.js} (85%) rename dist/static/js/{nestProp-605e1081.js => nestProp-bed95f7d.js} (50%) rename dist/static/js/{nestProp.vue_vue_type_script_setup_true_lang-f8affc62.js => nestProp.vue_vue_type_script_setup_true_lang-79a7fd0b.js} (89%) rename dist/static/js/{params-detail-ebead4e8.js => params-detail-0c1b9bac.js} (68%) rename dist/static/js/{pdf-4b215f44.js => pdf-30820686.js} (99%) create mode 100644 dist/static/js/phone-4a230adf.js delete mode 100644 dist/static/js/phone-fe62ebcd.js rename dist/static/js/{phone.vue_vue_type_script_setup_true_lang-1edc5613.js => phone.vue_vue_type_script_setup_true_lang-8ba64388.js} (91%) create mode 100644 dist/static/js/picUpload-70dbe5d3.js delete mode 100644 dist/static/js/picUpload-c6c4842d.js rename dist/static/js/{picUpload.vue_vue_type_script_setup_true_lang-31bef239.js => picUpload.vue_vue_type_script_setup_true_lang-c067a5b6.js} (87%) rename dist/static/js/{pinyin-514c5d3d.js => pinyin-f5885dfd.js} (83%) rename dist/static/js/{print-9e6ffe48.js => print-18e0e65b.js} (93%) delete mode 100644 dist/static/js/qrCode-aa5e4e54.js create mode 100644 dist/static/js/qrCode-d15509b3.js rename dist/static/js/{qrCode.vue_vue_type_script_setup_true_lang-76abe551.js => qrCode.vue_vue_type_script_setup_true_lang-fef89734.js} (75%) rename dist/static/js/{qrcode-6bdaa7dc.js => qrcode-84039e2a.js} (95%) rename dist/static/js/{query-detail-afb4e354.js => query-detail-6cfba70f.js} (68%) delete mode 100644 dist/static/js/radio-90874a7f.js create mode 100644 dist/static/js/radio-e3d99afb.js rename dist/static/js/{radio.vue_vue_type_script_setup_true_lang-2664c557.js => radio.vue_vue_type_script_setup_true_lang-5588d1c7.js} (75%) rename dist/static/js/{redirect-51f11b86.js => redirect-eff42436.js} (79%) rename dist/static/js/{refresh-66a59325.js => refresh-ac0fe015.js} (98%) rename dist/static/js/{regist-5000705d.js => regist-d7f63c7a.js} (58%) rename dist/static/js/{regist.vue_vue_type_script_setup_true_lang-73a81ed6.js => regist.vue_vue_type_script_setup_true_lang-91f1bfc3.js} (95%) rename dist/static/js/{sensitive-22a0368b.js => sensitive-7bcb2912.js} (97%) create mode 100644 dist/static/js/sortable-66f8681b.js delete mode 100644 dist/static/js/sortable-d9f0b442.js rename dist/static/js/{sortable.vue_vue_type_script_setup_true_lang-7f949bf2.js => sortable.vue_vue_type_script_setup_true_lang-4444de65.js} (72%) create mode 100644 dist/static/js/status-056eae3e.js delete mode 100644 dist/static/js/status-18955830.js rename dist/static/js/{status.vue_vue_type_style_index_0_lang-6a3855f3.js => status.vue_vue_type_style_index_0_lang-2ca59ed4.js} (71%) rename dist/static/js/{stripe-91a49bcc.js => stripe-5b61ad85.js} (58%) rename dist/static/js/{stripe.vue_vue_type_script_setup_true_lang-80337a01.js => stripe.vue_vue_type_script_setup_true_lang-4a967d59.js} (64%) rename dist/static/js/{styles-71e87efa.js => styles-7ba5c6fe.js} (99%) rename dist/static/js/{success-16238c8b.js => success-4cd503ed.js} (97%) rename dist/static/js/{swiper-21516ff1.js => swiper-b12015b6.js} (99%) rename dist/static/js/{system-64319881.js => system-b32e34d2.js} (67%) rename dist/static/js/{timeline-11cca6d9.js => timeline-fe79178f.js} (93%) rename dist/static/js/{totalRow-7bea06e1.js => totalRow-f06ef6c7.js} (50%) rename dist/static/js/{totalRow.vue_vue_type_script_setup_true_lang-551b34da.js => totalRow.vue_vue_type_script_setup_true_lang-fa751452.js} (90%) delete mode 100644 dist/static/js/tree-56bb1784.js rename dist/static/js/{tree-c021e085.js => tree-686f8835.js} (95%) create mode 100644 dist/static/js/tree-82623834.js rename dist/static/js/{tree.vue_vue_type_script_setup_true_lang-36370dff.js => tree.vue_vue_type_script_setup_true_lang-4deb1854.js} (93%) rename dist/static/js/{update-2189da1f.js => update-69854212.js} (53%) rename dist/static/js/{update.vue_vue_type_script_setup_true_lang-63cf9497.js => update.vue_vue_type_script_setup_true_lang-9a96c023.js} (93%) rename dist/static/js/{verifyCode-71c44392.js => verifyCode-3d75d9a0.js} (96%) rename dist/static/js/{vertical-415d74d4.js => vertical-2f20122a.js} (90%) rename dist/static/js/{vue-virtual-scroller.esm-540eb406.js => vue-virtual-scroller.esm-aa84258e.js} (99%) delete mode 100644 dist/static/js/vue.runtime.esm-bundler-44233a4d.js create mode 100644 dist/static/js/vue.runtime.esm-bundler-a6324638.js rename dist/static/js/{watermark-63f78491.js => watermark-4c0738ba.js} (98%) diff --git a/dist/index.html b/dist/index.html index cb88e45c0..c5565ab5b 100644 --- a/dist/index.html +++ b/dist/index.html @@ -21,7 +21,7 @@ - + diff --git a/dist/serverConfig.json b/dist/serverConfig.json index 3f7324560..4bab15ad8 100644 --- a/dist/serverConfig.json +++ b/dist/serverConfig.json @@ -1,5 +1,5 @@ { - "Version": "4.4.0", + "Version": "4.5.0", "Title": "PureAdmin", "FixedHeader": true, "HiddenSideBar": false, diff --git a/dist/static/js/403-69364b20.js b/dist/static/js/403-923ecc0c.js similarity index 99% rename from dist/static/js/403-69364b20.js rename to dist/static/js/403-923ecc0c.js index 92ea4bb15..c30672b9b 100644 --- a/dist/static/js/403-69364b20.js +++ b/dist/static/js/403-923ecc0c.js @@ -1 +1 @@ -import{o as t,i as a,aw as d,d as m,a2 as F,a as r,b as n,h as f,u as c,e as M,g as h,f as p,c as B,w as _}from"./index-ceadd577.js";const k={width:"251",height:"294"},v=d('',1),y=[v];function u(i,l){return t(),a("svg",k,y)}const A={render:u},C={class:"flex justify-center items-center h-[640px]"},D={class:"ml-12"},E={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:100}}},z={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:300}}},V=m({name:"403",__name:"403",setup(i){const l=F();return(x,e)=>{const o=r("el-button"),s=n("motion");return t(),a("div",C,[f(c(A)),M("div",D,[h((t(),a("p",E,[p(" 403 ")])),[[s]]),h((t(),a("p",z,[p(" 抱歉,你无权访问该页面 ")])),[[s]]),h((t(),B(o,{type:"primary",onClick:e[0]||(e[0]=g=>c(l).push("/")),initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:500}}},{default:_(()=>[p(" 返回首页 ")]),_:1})),[[s]])])])}}});export{V as default}; +import{o as t,i as a,aw as d,d as m,a2 as F,a as r,b as n,h as f,u as c,e as M,g as h,f as p,c as B,w as _}from"./index-42b0cfe4.js";const k={width:"251",height:"294"},v=d('',1),y=[v];function u(i,l){return t(),a("svg",k,y)}const A={render:u},C={class:"flex justify-center items-center h-[640px]"},D={class:"ml-12"},E={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:100}}},z={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:300}}},V=m({name:"403",__name:"403",setup(i){const l=F();return(x,e)=>{const o=r("el-button"),s=n("motion");return t(),a("div",C,[f(c(A)),M("div",D,[h((t(),a("p",E,[p(" 403 ")])),[[s]]),h((t(),a("p",z,[p(" 抱歉,你无权访问该页面 ")])),[[s]]),h((t(),B(o,{type:"primary",onClick:e[0]||(e[0]=g=>c(l).push("/")),initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:500}}},{default:_(()=>[p(" 返回首页 ")]),_:1})),[[s]])])])}}});export{V as default}; diff --git a/dist/static/js/404-d529caea.js b/dist/static/js/404-f814f494.js similarity index 99% rename from dist/static/js/404-d529caea.js rename to dist/static/js/404-f814f494.js index 66e82a4bc..8cd9963c9 100644 --- a/dist/static/js/404-d529caea.js +++ b/dist/static/js/404-f814f494.js @@ -1 +1 @@ -import{o as t,i as a,aw as d,d as m,a2 as r,a as n,b as F,h as f,u as e,e as M,g as s,f as l,c as v,w as B}from"./index-ceadd577.js";const _={width:"252",height:"294"},D=d('',1),k=[D];function C(i,p){return t(),a("svg",_,k)}const y={render:C},u={class:"flex justify-center items-center h-[640px]"},E={class:"ml-12"},z={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:100}}},A={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:300}}},w=m({name:"404",__name:"404",setup(i){const p=r();return(x,c)=>{const o=n("el-button"),h=F("motion");return t(),a("div",u,[f(e(y)),M("div",E,[s((t(),a("p",z,[l(" 404 ")])),[[h]]),s((t(),a("p",A,[l(" 抱歉,你访问的页面不存在 ")])),[[h]]),s((t(),v(o,{type:"primary",onClick:c[0]||(c[0]=b=>e(p).push("/")),initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:500}}},{default:B(()=>[l(" 返回首页 ")]),_:1})),[[h]])])])}}});export{w as default}; +import{o as t,i as a,aw as d,d as m,a2 as r,a as n,b as F,h as f,u as e,e as M,g as s,f as l,c as v,w as B}from"./index-42b0cfe4.js";const _={width:"252",height:"294"},D=d('',1),k=[D];function C(i,p){return t(),a("svg",_,k)}const y={render:C},u={class:"flex justify-center items-center h-[640px]"},E={class:"ml-12"},z={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:100}}},A={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:300}}},w=m({name:"404",__name:"404",setup(i){const p=r();return(x,c)=>{const o=n("el-button"),h=F("motion");return t(),a("div",u,[f(e(y)),M("div",E,[s((t(),a("p",z,[l(" 404 ")])),[[h]]),s((t(),a("p",A,[l(" 抱歉,你访问的页面不存在 ")])),[[h]]),s((t(),v(o,{type:"primary",onClick:c[0]||(c[0]=b=>e(p).push("/")),initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:500}}},{default:B(()=>[l(" 返回首页 ")]),_:1})),[[h]])])])}}});export{w as default}; diff --git a/dist/static/js/500-2e35626a.js b/dist/static/js/500-d232a69f.js similarity index 99% rename from dist/static/js/500-2e35626a.js rename to dist/static/js/500-d232a69f.js index a2776900a..e63a0ff0c 100644 --- a/dist/static/js/500-2e35626a.js +++ b/dist/static/js/500-d232a69f.js @@ -1 +1 @@ -import{o as a,i as t,aw as m,d as o,a2 as r,a as F,b as n,h as f,u as e,e as M,g as s,f as p,c as k,w as v}from"./index-ceadd577.js";const B={width:"254",height:"294"},u=m('',1),_=[u];function C(d,l){return a(),t("svg",B,_)}const D={render:C},A={class:"flex justify-center items-center h-[640px]"},y={class:"ml-12"},E={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:100}}},x={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:300}}},w=o({name:"500",__name:"500",setup(d){const l=r();return(V,c)=>{const i=F("el-button"),h=n("motion");return a(),t("div",A,[f(e(D)),M("div",y,[s((a(),t("p",E,[p(" 500 ")])),[[h]]),s((a(),t("p",x,[p(" 抱歉,服务器出错了 ")])),[[h]]),s((a(),k(i,{type:"primary",onClick:c[0]||(c[0]=b=>e(l).push("/")),initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:500}}},{default:v(()=>[p(" 返回首页 ")]),_:1})),[[h]])])])}}});export{w as default}; +import{o as a,i as t,aw as m,d as o,a2 as r,a as F,b as n,h as f,u as e,e as M,g as s,f as p,c as k,w as v}from"./index-42b0cfe4.js";const B={width:"254",height:"294"},u=m('',1),_=[u];function C(d,l){return a(),t("svg",B,_)}const D={render:C},A={class:"flex justify-center items-center h-[640px]"},y={class:"ml-12"},E={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:100}}},x={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:300}}},w=o({name:"500",__name:"500",setup(d){const l=r();return(V,c)=>{const i=F("el-button"),h=n("motion");return a(),t("div",A,[f(e(D)),M("div",y,[s((a(),t("p",E,[p(" 500 ")])),[[h]]),s((a(),t("p",x,[p(" 抱歉,服务器出错了 ")])),[[h]]),s((a(),k(i,{type:"primary",onClick:c[0]||(c[0]=b=>e(l).push("/")),initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:500}}},{default:v(()=>[p(" 返回首页 ")]),_:1})),[[h]])])])}}});export{w as default}; diff --git a/dist/static/js/Bar-1e362d2e.js b/dist/static/js/Bar-1e362d2e.js deleted file mode 100644 index 03042f31c..000000000 --- a/dist/static/js/Bar-1e362d2e.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Bar.vue_vue_type_script_setup_true_lang-1501b08b.js";import"./app-c56ccba4.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/Bar-5dd280ac.js b/dist/static/js/Bar-5dd280ac.js new file mode 100644 index 000000000..626a135fe --- /dev/null +++ b/dist/static/js/Bar-5dd280ac.js @@ -0,0 +1 @@ +import{_ as o}from"./Bar.vue_vue_type_script_setup_true_lang-f681038a.js";import"./app-246d46a6.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/Bar.vue_vue_type_script_setup_true_lang-1501b08b.js b/dist/static/js/Bar.vue_vue_type_script_setup_true_lang-f681038a.js similarity index 89% rename from dist/static/js/Bar.vue_vue_type_script_setup_true_lang-1501b08b.js rename to dist/static/js/Bar.vue_vue_type_script_setup_true_lang-f681038a.js index 4261c71ab..c07bbd736 100644 --- a/dist/static/js/Bar.vue_vue_type_script_setup_true_lang-1501b08b.js +++ b/dist/static/js/Bar.vue_vue_type_script_setup_true_lang-f681038a.js @@ -1 +1 @@ -import{u as c}from"./app-c56ccba4.js";import{d as n,a9 as l,D as f,r as p,aE as d,bF as e,E as h,o as m,i as u,ay as b}from"./index-ceadd577.js";const _=n({__name:"Bar",setup(g){const{isDark:a}=l(),r=f(()=>a.value?"dark":"light"),t=p(null),{setOptions:o,resize:s}=d(t,{theme:r});return o({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["watchers","fork","star"]},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{interval:0},data:["2021","2022","2023"],triggerEvent:!0}],yAxis:[{type:"value",triggerEvent:!0}],series:[{name:"watchers",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#e6a23c"},{offset:1,color:"#eebe77"}])},data:[200,320,800]},{name:"fork",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#f56c6c"},{offset:1,color:"#f89898"}])},data:[1600,2460,4500]},{name:"star",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#409EFF"},{offset:1,color:"#53a7ff"}])},data:[1450,3620,7500]}],addTooltip:!0},{name:"click",callback:i=>{}}),h(()=>c().getSidebarStatus,()=>{b(600).then(()=>s())}),(i,y)=>(m(),u("div",{ref_key:"barChartRef",ref:t,style:{width:"100%",height:"35vh"}},null,512))}});export{_}; +import{u as c}from"./app-246d46a6.js";import{d as n,a9 as l,D as f,r as p,aE as d,bF as e,E as h,o as m,i as u,ay as b}from"./index-42b0cfe4.js";const _=n({__name:"Bar",setup(g){const{isDark:a}=l(),r=f(()=>a.value?"dark":"light"),t=p(null),{setOptions:o,resize:s}=d(t,{theme:r});return o({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["watchers","fork","star"]},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{interval:0},data:["2021","2022","2023"],triggerEvent:!0}],yAxis:[{type:"value",triggerEvent:!0}],series:[{name:"watchers",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#e6a23c"},{offset:1,color:"#eebe77"}])},data:[200,320,800]},{name:"fork",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#f56c6c"},{offset:1,color:"#f89898"}])},data:[1600,2460,4500]},{name:"star",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#409EFF"},{offset:1,color:"#53a7ff"}])},data:[1450,3620,7500]}],addTooltip:!0},{name:"click",callback:i=>{}}),h(()=>c().getSidebarStatus,()=>{b(600).then(()=>s())}),(i,y)=>(m(),u("div",{ref_key:"barChartRef",ref:t,style:{width:"100%",height:"35vh"}},null,512))}});export{_}; diff --git a/dist/static/js/Card-c7385b78.js b/dist/static/js/Card-1d4ec2a8.js similarity index 96% rename from dist/static/js/Card-c7385b78.js rename to dist/static/js/Card-1d4ec2a8.js index 19d2273cc..d50cfd516 100644 --- a/dist/static/js/Card-c7385b78.js +++ b/dist/static/js/Card-1d4ec2a8.js @@ -1 +1 @@ -import{o as t,i,e as o,d as b,D as f,a as s,h as n,w as a,aq as g,c as l,u as d,j as r,f as u,t as m,_ as I}from"./index-ceadd577.js";import{d as B}from"./more-2-fill-a666858a.js";const S={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-shop",viewBox:"0 0 16 16"},A=o("path",{fill:"currentColor",d:"M8 1a2.5 2.5 0 0 0-2.5 2.5V5h-2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-2V3.5A2.5 2.5 0 0 0 8 1zm1.5 5v2h1V6H12v8H4V6h1.5v2h1V6h3zm0-1h-3V3.5a1.5 1.5 0 1 1 3 0V5z"},null,-1),N=[A];function j(e,c){return t(),i("svg",S,N)}const D={render:j},O={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"},q=o("path",{fill:"currentColor",d:"M2.5 12a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-11zm0-1h11V4h-11v7zM15 13H1v1h14v-1z"},null,-1),E=[q];function L(e,c){return t(),i("svg",O,E)}const R={render:L},T={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"},F=o("path",{fill:"currentColor",d:"M2.52 6.37a5.5 5.5 0 0 1 10.98.13v4c0 .05 0 .1-.02.15A4.5 4.5 0 0 1 9 14.7H8v-1h1a3.5 3.5 0 0 0 3.4-2.7h-1.9a.5.5 0 0 1-.5-.5v-4c0-.28.22-.5.5-.5h1.93a4.5 4.5 0 0 0-8.86 0H5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5v-4c0-.04 0-.09.02-.13zM12.5 7H11v3h1.5V7zm-9 0v3H5V7H3.5z"},null,-1),G=[F];function J(e,c){return t(),i("svg",T,G)}const K={render:J},P={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"},Q=o("path",{fill:"currentColor",d:"M10 3H6V1.5H5V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-2V1.5h-1V3zM5 5h1V4h4v1h1V4h2v2H3V4h2v1zM3 7h10v6H3V7z"},null,-1),U=[Q];function W(e,c){return t(),i("svg",P,U)}const X={render:W},Y={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-user-avatar",viewBox:"0 0 16 16"},Z=o("path",{fill:"currentColor",d:"M8 10.5c1.24 0 2.42.31 3.5.88v1.12h1v-1.14a.94.94 0 0 0-.49-.84 8.48 8.48 0 0 0-8.02 0 .94.94 0 0 0-.49.84v1.14h1v-1.12A7.47 7.47 0 0 1 8 10.5zM10.5 6a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0zm-1 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"},null,-1),ee=o("path",{fill:"currentColor",d:"M2.5 1.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11zm11 1v11h-11v-11h11z"},null,-1),te=[Z,ee];function oe(e,c){return t(),i("svg",Y,te)}const ce={render:oe},ne={class:"list-card-item_detail bg-bg_color"},ae={class:"list-card-item_detail--operation"},se={class:"list-card-item_detail--name text-text_color_primary"},de={class:"list-card-item_detail--desc text-text_color_regular"},ie=b({name:"ReCard",__name:"Card",props:{product:{type:Object}},emits:["manage-product","delete-item"],setup(e,{emit:c}){const v=e,V=h=>{c("manage-product",h)},x=h=>{c("delete-item",h)},w=f(()=>["list-card-item",{"list-card-item__disabled":!v.product.isSetup}]),$=f(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!v.product.isSetup}]);return(h,_)=>{const C=s("el-tag"),y=s("IconifyIconOffline"),p=s("el-dropdown-item"),z=s("el-dropdown-menu"),k=s("el-dropdown"),H=s("el-row");return t(),i("div",{class:g(w.value)},[o("div",ne,[n(H,{justify:"space-between"},{default:a(()=>[o("div",{class:g($.value)},[e.product.type===1?(t(),l(d(D),{key:0})):r("",!0),e.product.type===2?(t(),l(d(X),{key:1})):r("",!0),e.product.type===3?(t(),l(d(K),{key:2})):r("",!0),e.product.type===4?(t(),l(d(ce),{key:3})):r("",!0),e.product.type===5?(t(),l(d(R),{key:4})):r("",!0)],2),o("div",ae,[n(C,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:a(()=>[u(m(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),n(k,{trigger:"click",disabled:!e.product.isSetup},{dropdown:a(()=>[n(z,{disabled:!e.product.isSetup},{default:a(()=>[n(p,{onClick:_[0]||(_[0]=M=>V(e.product))},{default:a(()=>[u(" 管理 ")]),_:1}),n(p,{onClick:_[1]||(_[1]=M=>x(e.product))},{default:a(()=>[u(" 删除 ")]),_:1})]),_:1},8,["disabled"])]),default:a(()=>[n(y,{icon:d(B),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),o("p",se,m(e.product.name),1),o("p",de,m(e.product.description),1)])],2)}}});const he=I(ie,[["__scopeId","data-v-aa9a6877"]]);export{he as default}; +import{o as t,i,e as o,d as b,D as f,a as s,h as n,w as a,aq as g,c as l,u as d,j as r,f as u,t as m,_ as I}from"./index-42b0cfe4.js";import{d as B}from"./more-2-fill-a666858a.js";const S={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-shop",viewBox:"0 0 16 16"},A=o("path",{fill:"currentColor",d:"M8 1a2.5 2.5 0 0 0-2.5 2.5V5h-2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-2V3.5A2.5 2.5 0 0 0 8 1zm1.5 5v2h1V6H12v8H4V6h1.5v2h1V6h3zm0-1h-3V3.5a1.5 1.5 0 1 1 3 0V5z"},null,-1),N=[A];function j(e,c){return t(),i("svg",S,N)}const D={render:j},O={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"},q=o("path",{fill:"currentColor",d:"M2.5 12a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-11zm0-1h11V4h-11v7zM15 13H1v1h14v-1z"},null,-1),E=[q];function L(e,c){return t(),i("svg",O,E)}const R={render:L},T={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"},F=o("path",{fill:"currentColor",d:"M2.52 6.37a5.5 5.5 0 0 1 10.98.13v4c0 .05 0 .1-.02.15A4.5 4.5 0 0 1 9 14.7H8v-1h1a3.5 3.5 0 0 0 3.4-2.7h-1.9a.5.5 0 0 1-.5-.5v-4c0-.28.22-.5.5-.5h1.93a4.5 4.5 0 0 0-8.86 0H5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5v-4c0-.04 0-.09.02-.13zM12.5 7H11v3h1.5V7zm-9 0v3H5V7H3.5z"},null,-1),G=[F];function J(e,c){return t(),i("svg",T,G)}const K={render:J},P={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"},Q=o("path",{fill:"currentColor",d:"M10 3H6V1.5H5V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-2V1.5h-1V3zM5 5h1V4h4v1h1V4h2v2H3V4h2v1zM3 7h10v6H3V7z"},null,-1),U=[Q];function W(e,c){return t(),i("svg",P,U)}const X={render:W},Y={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-user-avatar",viewBox:"0 0 16 16"},Z=o("path",{fill:"currentColor",d:"M8 10.5c1.24 0 2.42.31 3.5.88v1.12h1v-1.14a.94.94 0 0 0-.49-.84 8.48 8.48 0 0 0-8.02 0 .94.94 0 0 0-.49.84v1.14h1v-1.12A7.47 7.47 0 0 1 8 10.5zM10.5 6a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0zm-1 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"},null,-1),ee=o("path",{fill:"currentColor",d:"M2.5 1.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11zm11 1v11h-11v-11h11z"},null,-1),te=[Z,ee];function oe(e,c){return t(),i("svg",Y,te)}const ce={render:oe},ne={class:"list-card-item_detail bg-bg_color"},ae={class:"list-card-item_detail--operation"},se={class:"list-card-item_detail--name text-text_color_primary"},de={class:"list-card-item_detail--desc text-text_color_regular"},ie=b({name:"ReCard",__name:"Card",props:{product:{type:Object}},emits:["manage-product","delete-item"],setup(e,{emit:c}){const v=e,V=h=>{c("manage-product",h)},x=h=>{c("delete-item",h)},w=f(()=>["list-card-item",{"list-card-item__disabled":!v.product.isSetup}]),$=f(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!v.product.isSetup}]);return(h,_)=>{const C=s("el-tag"),y=s("IconifyIconOffline"),p=s("el-dropdown-item"),z=s("el-dropdown-menu"),k=s("el-dropdown"),H=s("el-row");return t(),i("div",{class:g(w.value)},[o("div",ne,[n(H,{justify:"space-between"},{default:a(()=>[o("div",{class:g($.value)},[e.product.type===1?(t(),l(d(D),{key:0})):r("",!0),e.product.type===2?(t(),l(d(X),{key:1})):r("",!0),e.product.type===3?(t(),l(d(K),{key:2})):r("",!0),e.product.type===4?(t(),l(d(ce),{key:3})):r("",!0),e.product.type===5?(t(),l(d(R),{key:4})):r("",!0)],2),o("div",ae,[n(C,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:a(()=>[u(m(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),n(k,{trigger:"click",disabled:!e.product.isSetup},{dropdown:a(()=>[n(z,{disabled:!e.product.isSetup},{default:a(()=>[n(p,{onClick:_[0]||(_[0]=M=>V(e.product))},{default:a(()=>[u(" 管理 ")]),_:1}),n(p,{onClick:_[1]||(_[1]=M=>x(e.product))},{default:a(()=>[u(" 删除 ")]),_:1})]),_:1},8,["disabled"])]),default:a(()=>[n(y,{icon:d(B),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),o("p",se,m(e.product.name),1),o("p",de,m(e.product.description),1)])],2)}}});const he=I(ie,[["__scopeId","data-v-aa9a6877"]]);export{he as default}; diff --git a/dist/static/js/DialogForm-65a1c5e1.js b/dist/static/js/DialogForm-ea3ce960.js similarity index 51% rename from dist/static/js/DialogForm-65a1c5e1.js rename to dist/static/js/DialogForm-ea3ce960.js index ec2d1e00d..684b4553f 100644 --- a/dist/static/js/DialogForm-65a1c5e1.js +++ b/dist/static/js/DialogForm-ea3ce960.js @@ -1 +1 @@ -import{_ as m}from"./DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js";import"./index-ceadd577.js";export{m as default}; +import{_ as m}from"./DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js";import"./index-42b0cfe4.js";export{m as default}; diff --git a/dist/static/js/DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js b/dist/static/js/DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js similarity index 97% rename from dist/static/js/DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js rename to dist/static/js/DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js index ff403ba40..511c16c67 100644 --- a/dist/static/js/DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js +++ b/dist/static/js/DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js @@ -1 +1 @@ -import{d as T,r as p,E as f,a as n,c as q,w as t,o as g,h as a,f as d,i as L,q as R,t as j,F as E,m as I}from"./index-ceadd577.js";const P=T({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(x,{emit:w}){const i=x,k=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],m=p(),s=p(!1),u=p(i.data),v=p(""),F=async o=>{o&&await o.validate(e=>{e&&(I("提交成功",{type:"success"}),s.value=!1,c(o))})},c=o=>{o&&o.resetFields()},b=()=>{s.value=!1,c(m.value)};f(()=>s.value,o=>{w("update:visible",o)}),f(()=>i.visible,o=>{s.value=o}),f(()=>i.data,o=>{u.value=o});const C={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const _=n("el-input"),r=n("el-form-item"),V=n("el-radio"),U=n("el-radio-group"),B=n("el-option"),D=n("el-select"),N=n("el-form"),y=n("el-button"),O=n("el-dialog");return g(),q(O,{modelValue:s.value,"onUpdate:modelValue":e[6]||(e[6]=l=>s.value=l),title:"新建产品",width:680,draggable:"","before-close":b},{footer:t(()=>[a(y,{onClick:b},{default:t(()=>[d("取消")]),_:1}),a(y,{type:"primary",onClick:e[5]||(e[5]=l=>F(m.value))},{default:t(()=>[d(" 确定 ")]),_:1})]),default:t(()=>[a(N,{ref_key:"ruleFormRef",ref:m,model:u.value,rules:C,"label-width":"100px"},{default:t(()=>[a(r,{label:"产品名称",prop:"name"},{default:t(()=>[a(_,{modelValue:u.value.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.value.name=l),style:{width:"480px"},placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1}),a(r,{label:"产品状态",prop:"status"},{default:t(()=>[a(U,{modelValue:u.value.status,"onUpdate:modelValue":e[1]||(e[1]=l=>u.value.status=l)},{default:t(()=>[a(V,{label:"0"},{default:t(()=>[d("已停用")]),_:1}),a(V,{label:"1"},{default:t(()=>[d("已启用")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"产品描述",prop:"description"},{default:t(()=>[a(_,{modelValue:u.value.description,"onUpdate:modelValue":e[2]||(e[2]=l=>u.value.description=l),style:{width:"480px"},placeholder:"请输入产品描述"},null,8,["modelValue"])]),_:1}),a(r,{label:"产品类型",prop:"type"},{default:t(()=>[a(D,{modelValue:u.value.type,"onUpdate:modelValue":e[3]||(e[3]=l=>u.value.type=l),clearable:"",style:{width:"480px"}},{default:t(()=>[(g(),L(E,null,R(k,(l,S)=>a(B,{key:S,value:l.value,label:l.label},{default:t(()=>[d(j(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"备注",prop:"mark"},{default:t(()=>[a(_,{modelValue:v.value,"onUpdate:modelValue":e[4]||(e[4]=l=>v.value=l),type:"textarea",style:{width:"480px"},placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{P as _}; +import{d as T,r as p,E as f,a as n,c as q,w as t,o as g,h as a,f as d,i as L,q as R,t as j,F as E,m as I}from"./index-42b0cfe4.js";const P=T({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(x,{emit:w}){const i=x,k=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],m=p(),s=p(!1),u=p(i.data),v=p(""),F=async o=>{o&&await o.validate(e=>{e&&(I("提交成功",{type:"success"}),s.value=!1,c(o))})},c=o=>{o&&o.resetFields()},b=()=>{s.value=!1,c(m.value)};f(()=>s.value,o=>{w("update:visible",o)}),f(()=>i.visible,o=>{s.value=o}),f(()=>i.data,o=>{u.value=o});const C={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const _=n("el-input"),r=n("el-form-item"),V=n("el-radio"),U=n("el-radio-group"),B=n("el-option"),D=n("el-select"),N=n("el-form"),y=n("el-button"),O=n("el-dialog");return g(),q(O,{modelValue:s.value,"onUpdate:modelValue":e[6]||(e[6]=l=>s.value=l),title:"新建产品",width:680,draggable:"","before-close":b},{footer:t(()=>[a(y,{onClick:b},{default:t(()=>[d("取消")]),_:1}),a(y,{type:"primary",onClick:e[5]||(e[5]=l=>F(m.value))},{default:t(()=>[d(" 确定 ")]),_:1})]),default:t(()=>[a(N,{ref_key:"ruleFormRef",ref:m,model:u.value,rules:C,"label-width":"100px"},{default:t(()=>[a(r,{label:"产品名称",prop:"name"},{default:t(()=>[a(_,{modelValue:u.value.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.value.name=l),style:{width:"480px"},placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1}),a(r,{label:"产品状态",prop:"status"},{default:t(()=>[a(U,{modelValue:u.value.status,"onUpdate:modelValue":e[1]||(e[1]=l=>u.value.status=l)},{default:t(()=>[a(V,{label:"0"},{default:t(()=>[d("已停用")]),_:1}),a(V,{label:"1"},{default:t(()=>[d("已启用")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"产品描述",prop:"description"},{default:t(()=>[a(_,{modelValue:u.value.description,"onUpdate:modelValue":e[2]||(e[2]=l=>u.value.description=l),style:{width:"480px"},placeholder:"请输入产品描述"},null,8,["modelValue"])]),_:1}),a(r,{label:"产品类型",prop:"type"},{default:t(()=>[a(D,{modelValue:u.value.type,"onUpdate:modelValue":e[3]||(e[3]=l=>u.value.type=l),clearable:"",style:{width:"480px"}},{default:t(()=>[(g(),L(E,null,R(k,(l,S)=>a(B,{key:S,value:l.value,label:l.label},{default:t(()=>[d(j(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"备注",prop:"mark"},{default:t(()=>[a(_,{modelValue:v.value,"onUpdate:modelValue":e[4]||(e[4]=l=>v.value=l),type:"textarea",style:{width:"480px"},placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{P as _}; diff --git a/dist/static/js/Github-d8c093d3.js b/dist/static/js/Github-e3136640.js similarity index 55% rename from dist/static/js/Github-d8c093d3.js rename to dist/static/js/Github-e3136640.js index a562472cf..024ae87f1 100644 --- a/dist/static/js/Github-d8c093d3.js +++ b/dist/static/js/Github-e3136640.js @@ -1 +1 @@ -import{_ as o}from"./Github.vue_vue_type_script_setup_true_lang-b99b9114.js";import"./columns-453a481e.js";import"./index-e5cd6a13.js";import"./index-ceadd577.js";import"./office-building-cc7a1721.js";import"./iphone-bcaa848c.js";import"./user-3-fill-70ba8c19.js";export{o as default}; +import{_ as o}from"./Github.vue_vue_type_script_setup_true_lang-524b5d97.js";import"./columns-e229e9c2.js";import"./index-6393607f.js";import"./index-42b0cfe4.js";import"./office-building-cc7a1721.js";import"./iphone-bcaa848c.js";import"./user-3-fill-70ba8c19.js";export{o as default}; diff --git a/dist/static/js/Github.vue_vue_type_script_setup_true_lang-b99b9114.js b/dist/static/js/Github.vue_vue_type_script_setup_true_lang-524b5d97.js similarity index 73% rename from dist/static/js/Github.vue_vue_type_script_setup_true_lang-b99b9114.js rename to dist/static/js/Github.vue_vue_type_script_setup_true_lang-524b5d97.js index ef287562e..af8e858f1 100644 --- a/dist/static/js/Github.vue_vue_type_script_setup_true_lang-b99b9114.js +++ b/dist/static/js/Github.vue_vue_type_script_setup_true_lang-524b5d97.js @@ -1 +1 @@ -import{useColumns as r}from"./columns-453a481e.js";import{d as u,a as t,o as a,i,q as p,h as _,F as d}from"./index-ceadd577.js";const b=u({__name:"Github",setup(f){const{columnsA:n,columnsB:e,columnsC:s}=r(),c=[{columns:n,column:3},{columns:e,column:2},{columns:s,column:1}];return(C,h)=>{const l=t("PureDescriptions");return a(),i(d,null,p(c,(o,m)=>_(l,{key:m,columns:o.columns,column:o.column,direction:"vertical",border:""},null,8,["columns","column"])),64)}}});export{b as _}; +import{useColumns as r}from"./columns-e229e9c2.js";import{d as u,a as t,o as a,i,q as p,h as _,F as d}from"./index-42b0cfe4.js";const b=u({__name:"Github",setup(f){const{columnsA:n,columnsB:e,columnsC:s}=r(),c=[{columns:n,column:3},{columns:e,column:2},{columns:s,column:1}];return(C,h)=>{const l=t("PureDescriptions");return a(),i(d,null,p(c,(o,m)=>_(l,{key:m,columns:o.columns,column:o.column,direction:"vertical",border:""},null,8,["columns","column"])),64)}}});export{b as _}; diff --git a/dist/static/js/Line-332af404.js b/dist/static/js/Line-332af404.js deleted file mode 100644 index 9453a4948..000000000 --- a/dist/static/js/Line-332af404.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Line.vue_vue_type_script_setup_true_lang-30123dc5.js";import"./app-c56ccba4.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/Line-96b5493d.js b/dist/static/js/Line-96b5493d.js new file mode 100644 index 000000000..2b99cf384 --- /dev/null +++ b/dist/static/js/Line-96b5493d.js @@ -0,0 +1 @@ +import{_ as o}from"./Line.vue_vue_type_script_setup_true_lang-4df5663e.js";import"./app-246d46a6.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/Line.vue_vue_type_script_setup_true_lang-30123dc5.js b/dist/static/js/Line.vue_vue_type_script_setup_true_lang-4df5663e.js similarity index 93% rename from dist/static/js/Line.vue_vue_type_script_setup_true_lang-30123dc5.js rename to dist/static/js/Line.vue_vue_type_script_setup_true_lang-4df5663e.js index a116d43a1..6617e47f7 100644 --- a/dist/static/js/Line.vue_vue_type_script_setup_true_lang-30123dc5.js +++ b/dist/static/js/Line.vue_vue_type_script_setup_true_lang-4df5663e.js @@ -1 +1 @@ -import{u as m}from"./app-c56ccba4.js";import{d as p,a9 as u,D as d,r as f,aE as h,aF as y,E as k,o as g,i as x,ay as b}from"./index-ceadd577.js";const E=p({__name:"Line",setup(_){const{isDark:o}=u(),l=d(()=>o.value?"dark":"default"),r=f(null),{setOptions:n,getInstance:i,resize:c}=h(r,{theme:l}),s=(()=>{const e=[];for(let t=1;t<31;t++)e.push(`${t}日`);return e})();n({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["fork","star"]},calculable:!0,xAxis:[{triggerEvent:!0,type:"category",splitLine:{show:!1},axisTick:{show:!1},data:s}],yAxis:[{triggerEvent:!0,type:"value",splitLine:{show:!1},axisLine:{show:!0}}],dataZoom:[{type:"slider",show:!1,realtime:!0,startValue:0,endValue:24}],series:[{name:"fork",type:"line",symbolSize:10,symbol:"circle",color:"#f56c6c",markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[509,917,2455,2610,2719,3033,3044,3085,2708,2809,2117,2e3,1455,1210,719,733,944,2285,2208,3372,3936,3693,2962,2810,3519,2455,2610,2719,2484,2078]},{name:"star",type:"line",symbolSize:10,symbol:"circle",color:"#53a7ff",markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[2136,3693,2962,3810,3519,3484,3915,3823,3455,4310,4019,3433,3544,3885,4208,3372,3484,3915,3748,3675,4009,4433,3544,3285,4208,3372,3484,3915,3823,4265,4298]}],addTooltip:!0},{name:"click",callback:e=>{}},{name:"contextmenu",callback:e=>{}},{type:"zrender",name:"click",callback:e=>{}});let a=1;return y(()=>{a==s.length-24&&(a=0),i().dispatchAction({type:"dataZoom",startValue:a,endValue:a+24}),a++},2e3),k(()=>m().getSidebarStatus,()=>{b(600).then(()=>c())}),(e,t)=>(g(),x("div",{ref_key:"lineChartRef",ref:r,style:{width:"100%",height:"35vh"}},null,512))}});export{E as _}; +import{u as m}from"./app-246d46a6.js";import{d as p,a9 as u,D as d,r as f,aE as h,aF as y,E as k,o as g,i as x,ay as b}from"./index-42b0cfe4.js";const E=p({__name:"Line",setup(_){const{isDark:o}=u(),l=d(()=>o.value?"dark":"default"),r=f(null),{setOptions:n,getInstance:i,resize:c}=h(r,{theme:l}),s=(()=>{const e=[];for(let t=1;t<31;t++)e.push(`${t}日`);return e})();n({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["fork","star"]},calculable:!0,xAxis:[{triggerEvent:!0,type:"category",splitLine:{show:!1},axisTick:{show:!1},data:s}],yAxis:[{triggerEvent:!0,type:"value",splitLine:{show:!1},axisLine:{show:!0}}],dataZoom:[{type:"slider",show:!1,realtime:!0,startValue:0,endValue:24}],series:[{name:"fork",type:"line",symbolSize:10,symbol:"circle",color:"#f56c6c",markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[509,917,2455,2610,2719,3033,3044,3085,2708,2809,2117,2e3,1455,1210,719,733,944,2285,2208,3372,3936,3693,2962,2810,3519,2455,2610,2719,2484,2078]},{name:"star",type:"line",symbolSize:10,symbol:"circle",color:"#53a7ff",markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[2136,3693,2962,3810,3519,3484,3915,3823,3455,4310,4019,3433,3544,3885,4208,3372,3484,3915,3748,3675,4009,4433,3544,3285,4208,3372,3484,3915,3823,4265,4298]}],addTooltip:!0},{name:"click",callback:e=>{}},{name:"contextmenu",callback:e=>{}},{type:"zrender",name:"click",callback:e=>{}});let a=1;return y(()=>{a==s.length-24&&(a=0),i().dispatchAction({type:"dataZoom",startValue:a,endValue:a+24}),a++},2e3),k(()=>m().getSidebarStatus,()=>{b(600).then(()=>c())}),(e,t)=>(g(),x("div",{ref_key:"lineChartRef",ref:r,style:{width:"100%",height:"35vh"}},null,512))}});export{E as _}; diff --git a/dist/static/js/Pie-3793eb0d.js b/dist/static/js/Pie-3793eb0d.js new file mode 100644 index 000000000..cb4fde627 --- /dev/null +++ b/dist/static/js/Pie-3793eb0d.js @@ -0,0 +1 @@ +import{_ as o}from"./Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js";import"./app-246d46a6.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/Pie-b5286371.js b/dist/static/js/Pie-b5286371.js deleted file mode 100644 index e7b1edf3e..000000000 --- a/dist/static/js/Pie-b5286371.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Pie.vue_vue_type_script_setup_true_lang-51a62997.js";import"./app-c56ccba4.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/Pie.vue_vue_type_script_setup_true_lang-51a62997.js b/dist/static/js/Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js similarity index 75% rename from dist/static/js/Pie.vue_vue_type_script_setup_true_lang-51a62997.js rename to dist/static/js/Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js index 7f8f99386..6fc21bea0 100644 --- a/dist/static/js/Pie.vue_vue_type_script_setup_true_lang-51a62997.js +++ b/dist/static/js/Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js @@ -1 +1 @@ -import{u as n}from"./app-c56ccba4.js";import{d as o,a9 as i,D as l,r as p,aE as m,E as u,o as h,i as f,ay as d}from"./index-ceadd577.js";const y=o({__name:"Pie",setup(k){const{isDark:t}=i(),r=l(()=>t.value?"dark":"light"),e=p(null),{setOptions:s,resize:c}=m(e,{theme:r});return s({tooltip:{trigger:"item"},legend:{icon:"circle",right:!0},series:[{name:"Github信息",type:"pie",top:"20%",radius:"80%",center:["40%","50%"],color:["#e6a23c","#f56c6c","#53a7ff"],data:[{value:400,name:"watchers"},{value:1600,name:"forks"},{value:7200,name:"star"}]}]},{name:"click",callback:a=>{}},{type:"zrender",name:"click",callback:a=>{}}),u(()=>n().getSidebarStatus,()=>{d(600).then(()=>c())}),(a,_)=>(h(),f("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});export{y as _}; +import{u as n}from"./app-246d46a6.js";import{d as o,a9 as i,D as l,r as p,aE as m,E as u,o as h,i as f,ay as d}from"./index-42b0cfe4.js";const y=o({__name:"Pie",setup(k){const{isDark:t}=i(),r=l(()=>t.value?"dark":"light"),e=p(null),{setOptions:s,resize:c}=m(e,{theme:r});return s({tooltip:{trigger:"item"},legend:{icon:"circle",right:!0},series:[{name:"Github信息",type:"pie",top:"20%",radius:"80%",center:["40%","50%"],color:["#e6a23c","#f56c6c","#53a7ff"],data:[{value:400,name:"watchers"},{value:1600,name:"forks"},{value:7200,name:"star"}]}]},{name:"click",callback:a=>{}},{type:"zrender",name:"click",callback:a=>{}}),u(()=>n().getSidebarStatus,()=>{d(600).then(()=>c())}),(a,_)=>(h(),f("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});export{y as _}; diff --git a/dist/static/js/app-c56ccba4.js b/dist/static/js/app-246d46a6.js similarity index 94% rename from dist/static/js/app-c56ccba4.js rename to dist/static/js/app-246d46a6.js index 880d62e92..fa62c27b6 100644 --- a/dist/static/js/app-c56ccba4.js +++ b/dist/static/js/app-246d46a6.js @@ -1 +1 @@ -import{aG as r,aH as s,aI as i,aJ as o,am as u,aK as d}from"./index-ceadd577.js";const n=r({id:"pure-app",state:()=>{var e,t;return{sidebar:{opened:((e=s().getItem(`${i()}layout`))==null?void 0:e.sidebarStatus)??o().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:((t=s().getItem(`${i()}layout`))==null?void 0:t.layout)??o().Layout,device:u()?"mobile":"desktop",sortSwap:!1}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device}},actions:{TOGGLE_SIDEBAR(e,t){const a=s().getItem(`${i()}layout`);e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,a.sidebarStatus=!0):!e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,a.sidebarStatus=!1):!e&&!t&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,a.sidebarStatus=this.sidebar.opened),s().setItem(`${i()}layout`,a)},async toggleSideBar(e,t){await this.TOGGLE_SIDEBAR(e,t)},toggleDevice(e){this.device=e},setLayout(e){this.layout=e},setSortSwap(e){this.sortSwap=e}}});function p(){return n(d)}export{p as u}; +import{aG as r,aH as s,aI as i,aJ as o,am as u,aK as d}from"./index-42b0cfe4.js";const n=r({id:"pure-app",state:()=>{var e,t;return{sidebar:{opened:((e=s().getItem(`${i()}layout`))==null?void 0:e.sidebarStatus)??o().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:((t=s().getItem(`${i()}layout`))==null?void 0:t.layout)??o().Layout,device:u()?"mobile":"desktop",sortSwap:!1}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device}},actions:{TOGGLE_SIDEBAR(e,t){const a=s().getItem(`${i()}layout`);e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,a.sidebarStatus=!0):!e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,a.sidebarStatus=!1):!e&&!t&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,a.sidebarStatus=this.sidebar.opened),s().setItem(`${i()}layout`,a)},async toggleSideBar(e,t){await this.TOGGLE_SIDEBAR(e,t)},toggleDevice(e){this.device=e},setLayout(e){this.layout=e},setSortSwap(e){this.sortSwap=e}}});function p(){return n(d)}export{p as u}; diff --git a/dist/static/js/back_top-489ad631.js b/dist/static/js/back_top-58cf79de.js similarity index 91% rename from dist/static/js/back_top-489ad631.js rename to dist/static/js/back_top-58cf79de.js index 03c6ec879..a5bc1d13f 100644 --- a/dist/static/js/back_top-489ad631.js +++ b/dist/static/js/back_top-58cf79de.js @@ -1 +1 @@ -import{o as t,i as o,e}from"./index-ceadd577.js";const a={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},c=e("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),n=e("path",{d:"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zm6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42.137 42.137 0 0 0 4.227-.454A33.913 33.913 0 0 0 12 4.09a33.913 33.913 0 0 0-6.649 12.387c1.395.222 2.805.374 4.227.454zM12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"},null,-1),s=[c,n];function l(h,r){return t(),o("svg",a,s)}const i={render:l};export{i as b}; +import{o as t,i as o,e}from"./index-42b0cfe4.js";const a={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},c=e("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),n=e("path",{d:"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zm6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42.137 42.137 0 0 0 4.227-.454A33.913 33.913 0 0 0 12 4.09a33.913 33.913 0 0 0-6.649 12.387c1.395.222 2.805.374 4.227.454zM12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"},null,-1),s=[c,n];function l(h,r){return t(),o("svg",a,s)}const i={render:l};export{i as b}; diff --git a/dist/static/js/barcode-900bacb0.js b/dist/static/js/barcode-e0bac78c.js similarity index 99% rename from dist/static/js/barcode-900bacb0.js rename to dist/static/js/barcode-e0bac78c.js index ad943e286..5d51695d2 100644 --- a/dist/static/js/barcode-900bacb0.js +++ b/dist/static/js/barcode-e0bac78c.js @@ -1 +1 @@ -import{S as Dt,d as ut,r as Bt,k as jt,c as Lt,T as Nt,o as de,U as Ct,a as z,i as qe,h as x,w as S,e as Gt,f as ae,F as Ft,q as Ht,u as zt}from"./index-ceadd577.js";var se={},J={},l={};Object.defineProperty(l,"__esModule",{value:!0});function Xt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Ut=function t(e,r){Xt(this,t),this.data=e,this.text=r.text||e,this.options=r};l.default=Ut;Object.defineProperty(J,"__esModule",{value:!0});J.CODE39=void 0;var qt=function(){function t(e,r){for(var n=0;n=200){u=n.shift()-105;var d=h.SWAP[u];d!==void 0?o=e.next(n,a+1,d):((i===h.SET_A||i===h.SET_B)&&u===h.SHIFT&&(n[0]=i===h.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),o=e.next(n,a+1,i))}else u=e.correctIndex(n,i),o=e.next(n,a+1,i);var g=e.getBar(u),It=u*a;return{result:g+o.result,checksum:It+o.checksum}}}]),e}(ln.default);M.default=sn;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});var O=f,_t=function(e){return e.match(new RegExp("^"+O.A_CHARS+"*"))[0].length},vt=function(e){return e.match(new RegExp("^"+O.B_CHARS+"*"))[0].length},st=function(e){return e.match(new RegExp("^"+O.C_CHARS+"*"))[0]};function ge(t,e){var r=e?O.A_CHARS:O.B_CHARS,n=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+String.fromCharCode(204)+yt(t.substring(n[1].length));var a=t.match(new RegExp("^"+r+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ge(t.substring(a.length),!e)}function yt(t){var e=st(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var n=_t(t)>=vt(t);return e+String.fromCharCode(n?206:205)+ge(t,n)}pe.default=function(t){var e=void 0,r=st(t).length;if(r>=2)e=O.C_START_CHAR+yt(t);else{var n=_t(t)>vt(t);e=(n?O.A_START_CHAR:O.B_START_CHAR)+ge(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,i){return String.fromCharCode(203)+i})};Object.defineProperty(ye,"__esModule",{value:!0});var yn=M,pn=pt(yn),gn=pe,On=pt(gn);function pt(t){return t&&t.__esModule?t:{default:t}}function En(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function bn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var mn=function(t){bn(e,t);function e(r,n){if(En(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var a=ue(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,On.default)(r),n));else var a=ue(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return ue(a)}return e}(pn.default);ye.default=mn;var Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});var wn=function(){function t(e,r){for(var n=0;nn.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return rr(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,We.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,We.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:R.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:R.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:R.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[R.SIDE_BIN,this.leftEncode(),R.MIDDLE_BIN,this.rightEncode(),R.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(or.default);W.default=lr;Object.defineProperty(me,"__esModule",{value:!0});var dr=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return Qr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==he(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,A.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,A.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,A.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,A.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,A.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,A.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(Zr.default);function he(t){var e=0,r;for(r=1;r<11;r+=2)e+=parseInt(t[r]);for(r=0;r<11;r+=2)e+=parseInt(t[r])*3;return(10-e%10)%10}C.default=na;var Se={};Object.defineProperty(Se,"__esModule",{value:!0});var ra=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ra(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],i=ha[parseInt(a)][parseInt(n)];return(0,ia.default)(this.middleDigits,i)}}]),e}(ua.default);function Ke(t,e){for(var r=parseInt(t[t.length-1]),n=da[r],a="",i=0,o=0;o=3&&this.number<=131070}}]),e}(Ui.default);Z.pharmacode=Wi;var K={};Object.defineProperty(K,"__esModule",{value:!0});K.codabar=void 0;var Yi=function(){function t(e,r){for(var n=0;n0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function St(t,e,r){if(r.displayValue&&ee&&(e=t[r].height);return e}function Io(t,e,r){var n;if(r)n=r;else if(typeof document<"u")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var i=a.width;return i}_.getMaximumHeightOfEncodings=ko;_.getEncodingHeight=xt;_.getBarcodePadding=St;_.calculateEncodingAttributes=To;_.getTotalWidthOfEncodings=Mo;Object.defineProperty(Le,"__esModule",{value:!0});var Do=function(){function t(e,r){for(var n=0;n0?(o=0,a.textAlign="left"):r.textAlign=="right"?(o=n.width-1,a.textAlign="right"):(o=n.width/2,a.textAlign="center"),a.fillText(n.text,o,u)}}},{key:"moveCanvasDrawing",value:function(r){var n=this.canvas.getContext("2d");n.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),t}();Le.default=Co;var Ne={};Object.defineProperty(Ne,"__esModule",{value:!0});var Go=function(){function t(e,r){for(var n=0;n0&&(this.drawRect(d-n.width*u,o,n.width*u,n.height,r),u=0);u>0&&this.drawRect(d-n.width*(u-1),o,n.width*u,n.height,r)}},{key:"drawSVGText",value:function(r,n,a){var i=this.document.createElementNS(V,"text");if(n.displayValue){var o,u;i.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?u=n.fontSize-n.textMargin:u=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(o=0,i.setAttribute("text-anchor","start")):n.textAlign=="right"?(o=a.width-1,i.setAttribute("text-anchor","end")):(o=a.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",o),i.setAttribute("y",u),i.appendChild(this.document.createTextNode(a.text)),r.appendChild(i)}}},{key:"setSvgAttributes",value:function(r,n){var a=this.svg;a.setAttribute("width",r+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+r+" "+n),a.setAttribute("xmlns",V),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,n,a){var i=this.document.createElementNS(V,"g");return i.setAttribute("transform","translate("+r+", "+n+")"),a.appendChild(i),i}},{key:"setGroupOptions",value:function(r,n){r.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(r,n,a,i,o){var u=this.document.createElementNS(V,"rect");return u.setAttribute("x",r),u.setAttribute("y",n),u.setAttribute("width",a),u.setAttribute("height",i),o.appendChild(u),u}}]),t}();Ne.default=Uo;var Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});var qo=function(){function t(e,r){for(var n=0;n"u"?"undefined":au(t))==="object"&&!t.nodeName)return{element:t,renderer:N.default.ObjectRenderer};throw new uu.InvalidElementException}}function fu(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var r=[],n=0;n"u")throw Error("No element to render on was provided.");return a._renderProperties=(0,gu.default)(e),a._encodings=[],a._options=Tt.default,a._errorHandler=new mu.default(a),typeof r<"u"&&(n=n||{},n.format||(n.format=kt()),a.options(n)[n.format](r,n).render()),a};re.getModule=function(t){return b.default[t]};for(var ot in b.default)b.default.hasOwnProperty(ot)&&$u(b.default,ot);function $u(t,e){p.prototype[e]=p.prototype[e.toUpperCase()]=p.prototype[e.toLowerCase()]=function(r,n){var a=this;return a._errorHandler.wrapBarcodeCall(function(){n.text=typeof n.text>"u"?void 0:""+n.text;var i=(0,H.default)(a._options,n);i=(0,Eu.default)(i);var o=t[e],u=Mt(r,o,i);return a._encodings.push(u),a})}}function Mt(t,e,r){t=""+t;var n=new e(t,r);if(!n.valid())throw new Pt.InvalidInputException(n.constructor.name,t);var a=n.encode();a=(0,At.default)(a);for(var i=0;i{const n={...e.options,format:e.type};Su(r.value,e.text,n)}),(n,a)=>(de(),Lt(Nt(t.tag),{ref_key:"wrapEl",ref:r},null,512))}}),Au=Ct(Ru),Pu={class:"font-medium"},Mu=ut({name:"BarCode",__name:"barcode",setup(t){const e=[{text:"CODE128",type:"CODE128",options:{}},{text:"CODE39",type:"CODE39",options:{lineColor:"#990000"}},{text:"123456",type:"pharmacode",options:{background:"#eee",width:5}}];return(r,n)=>{const a=z("el-link"),i=z("el-card"),o=z("el-col"),u=z("el-row");return de(),qe("div",null,[x(i,{shadow:"never"},{header:S(()=>[Gt("div",Pu,[ae(" 条形码(基于 "),x(a,{href:"https://lindell.me/JsBarcode/",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:S(()=>[ae(" JsBarcode ")]),_:1}),ae(" 生成) ")])]),default:S(()=>[x(u,{gutter:12},{default:S(()=>[(de(),qe(Ft,null,Ht(e,(d,g)=>x(o,{key:g,xs:24,sm:24,md:12,lg:8,xl:8},{default:S(()=>[x(i,{shadow:"hover",class:"flex justify-center"},{default:S(()=>[x(zt(Au),{text:d.text,type:d.type,options:d.options},null,8,["text","type","options"])]),_:2},1024)]),_:2},1024)),64))]),_:1})]),_:1})])}}});export{Mu as default}; +import{S as Dt,d as ut,r as Bt,k as jt,c as Lt,T as Nt,o as de,U as Ct,a as z,i as qe,h as x,w as S,e as Gt,f as ae,F as Ft,q as Ht,u as zt}from"./index-42b0cfe4.js";var se={},J={},l={};Object.defineProperty(l,"__esModule",{value:!0});function Xt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Ut=function t(e,r){Xt(this,t),this.data=e,this.text=r.text||e,this.options=r};l.default=Ut;Object.defineProperty(J,"__esModule",{value:!0});J.CODE39=void 0;var qt=function(){function t(e,r){for(var n=0;n=200){u=n.shift()-105;var d=h.SWAP[u];d!==void 0?o=e.next(n,a+1,d):((i===h.SET_A||i===h.SET_B)&&u===h.SHIFT&&(n[0]=i===h.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),o=e.next(n,a+1,i))}else u=e.correctIndex(n,i),o=e.next(n,a+1,i);var g=e.getBar(u),It=u*a;return{result:g+o.result,checksum:It+o.checksum}}}]),e}(ln.default);M.default=sn;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});var O=f,_t=function(e){return e.match(new RegExp("^"+O.A_CHARS+"*"))[0].length},vt=function(e){return e.match(new RegExp("^"+O.B_CHARS+"*"))[0].length},st=function(e){return e.match(new RegExp("^"+O.C_CHARS+"*"))[0]};function ge(t,e){var r=e?O.A_CHARS:O.B_CHARS,n=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+String.fromCharCode(204)+yt(t.substring(n[1].length));var a=t.match(new RegExp("^"+r+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ge(t.substring(a.length),!e)}function yt(t){var e=st(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var n=_t(t)>=vt(t);return e+String.fromCharCode(n?206:205)+ge(t,n)}pe.default=function(t){var e=void 0,r=st(t).length;if(r>=2)e=O.C_START_CHAR+yt(t);else{var n=_t(t)>vt(t);e=(n?O.A_START_CHAR:O.B_START_CHAR)+ge(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,i){return String.fromCharCode(203)+i})};Object.defineProperty(ye,"__esModule",{value:!0});var yn=M,pn=pt(yn),gn=pe,On=pt(gn);function pt(t){return t&&t.__esModule?t:{default:t}}function En(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function bn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var mn=function(t){bn(e,t);function e(r,n){if(En(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var a=ue(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,On.default)(r),n));else var a=ue(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return ue(a)}return e}(pn.default);ye.default=mn;var Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});var wn=function(){function t(e,r){for(var n=0;nn.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return rr(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,We.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,We.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:R.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:R.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:R.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[R.SIDE_BIN,this.leftEncode(),R.MIDDLE_BIN,this.rightEncode(),R.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(or.default);W.default=lr;Object.defineProperty(me,"__esModule",{value:!0});var dr=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return Qr(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==he(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,A.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,A.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,A.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,A.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,A.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,A.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(Zr.default);function he(t){var e=0,r;for(r=1;r<11;r+=2)e+=parseInt(t[r]);for(r=0;r<11;r+=2)e+=parseInt(t[r])*3;return(10-e%10)%10}C.default=na;var Se={};Object.defineProperty(Se,"__esModule",{value:!0});var ra=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ra(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],i=ha[parseInt(a)][parseInt(n)];return(0,ia.default)(this.middleDigits,i)}}]),e}(ua.default);function Ke(t,e){for(var r=parseInt(t[t.length-1]),n=da[r],a="",i=0,o=0;o=3&&this.number<=131070}}]),e}(Ui.default);Z.pharmacode=Wi;var K={};Object.defineProperty(K,"__esModule",{value:!0});K.codabar=void 0;var Yi=function(){function t(e,r){for(var n=0;n0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function St(t,e,r){if(r.displayValue&&ee&&(e=t[r].height);return e}function Io(t,e,r){var n;if(r)n=r;else if(typeof document<"u")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var i=a.width;return i}_.getMaximumHeightOfEncodings=ko;_.getEncodingHeight=xt;_.getBarcodePadding=St;_.calculateEncodingAttributes=To;_.getTotalWidthOfEncodings=Mo;Object.defineProperty(Le,"__esModule",{value:!0});var Do=function(){function t(e,r){for(var n=0;n0?(o=0,a.textAlign="left"):r.textAlign=="right"?(o=n.width-1,a.textAlign="right"):(o=n.width/2,a.textAlign="center"),a.fillText(n.text,o,u)}}},{key:"moveCanvasDrawing",value:function(r){var n=this.canvas.getContext("2d");n.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),t}();Le.default=Co;var Ne={};Object.defineProperty(Ne,"__esModule",{value:!0});var Go=function(){function t(e,r){for(var n=0;n0&&(this.drawRect(d-n.width*u,o,n.width*u,n.height,r),u=0);u>0&&this.drawRect(d-n.width*(u-1),o,n.width*u,n.height,r)}},{key:"drawSVGText",value:function(r,n,a){var i=this.document.createElementNS(V,"text");if(n.displayValue){var o,u;i.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?u=n.fontSize-n.textMargin:u=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(o=0,i.setAttribute("text-anchor","start")):n.textAlign=="right"?(o=a.width-1,i.setAttribute("text-anchor","end")):(o=a.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",o),i.setAttribute("y",u),i.appendChild(this.document.createTextNode(a.text)),r.appendChild(i)}}},{key:"setSvgAttributes",value:function(r,n){var a=this.svg;a.setAttribute("width",r+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+r+" "+n),a.setAttribute("xmlns",V),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,n,a){var i=this.document.createElementNS(V,"g");return i.setAttribute("transform","translate("+r+", "+n+")"),a.appendChild(i),i}},{key:"setGroupOptions",value:function(r,n){r.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(r,n,a,i,o){var u=this.document.createElementNS(V,"rect");return u.setAttribute("x",r),u.setAttribute("y",n),u.setAttribute("width",a),u.setAttribute("height",i),o.appendChild(u),u}}]),t}();Ne.default=Uo;var Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});var qo=function(){function t(e,r){for(var n=0;n"u"?"undefined":au(t))==="object"&&!t.nodeName)return{element:t,renderer:N.default.ObjectRenderer};throw new uu.InvalidElementException}}function fu(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var r=[],n=0;n"u")throw Error("No element to render on was provided.");return a._renderProperties=(0,gu.default)(e),a._encodings=[],a._options=Tt.default,a._errorHandler=new mu.default(a),typeof r<"u"&&(n=n||{},n.format||(n.format=kt()),a.options(n)[n.format](r,n).render()),a};re.getModule=function(t){return b.default[t]};for(var ot in b.default)b.default.hasOwnProperty(ot)&&$u(b.default,ot);function $u(t,e){p.prototype[e]=p.prototype[e.toUpperCase()]=p.prototype[e.toLowerCase()]=function(r,n){var a=this;return a._errorHandler.wrapBarcodeCall(function(){n.text=typeof n.text>"u"?void 0:""+n.text;var i=(0,H.default)(a._options,n);i=(0,Eu.default)(i);var o=t[e],u=Mt(r,o,i);return a._encodings.push(u),a})}}function Mt(t,e,r){t=""+t;var n=new e(t,r);if(!n.valid())throw new Pt.InvalidInputException(n.constructor.name,t);var a=n.encode();a=(0,At.default)(a);for(var i=0;i{const n={...e.options,format:e.type};Su(r.value,e.text,n)}),(n,a)=>(de(),Lt(Nt(t.tag),{ref_key:"wrapEl",ref:r},null,512))}}),Au=Ct(Ru),Pu={class:"font-medium"},Mu=ut({name:"BarCode",__name:"barcode",setup(t){const e=[{text:"CODE128",type:"CODE128",options:{}},{text:"CODE39",type:"CODE39",options:{lineColor:"#990000"}},{text:"123456",type:"pharmacode",options:{background:"#eee",width:5}}];return(r,n)=>{const a=z("el-link"),i=z("el-card"),o=z("el-col"),u=z("el-row");return de(),qe("div",null,[x(i,{shadow:"never"},{header:S(()=>[Gt("div",Pu,[ae(" 条形码(基于 "),x(a,{href:"https://lindell.me/JsBarcode/",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:S(()=>[ae(" JsBarcode ")]),_:1}),ae(" 生成) ")])]),default:S(()=>[x(u,{gutter:12},{default:S(()=>[(de(),qe(Ft,null,Ht(e,(d,g)=>x(o,{key:g,xs:24,sm:24,md:12,lg:8,xl:8},{default:S(()=>[x(i,{shadow:"hover",class:"flex justify-center"},{default:S(()=>[x(zt(Au),{text:d.text,type:d.type,options:d.options},null,8,["text","type","options"])]),_:2},1024)]),_:2},1024)),64))]),_:1})]),_:1})])}}});export{Mu as default}; diff --git a/dist/static/js/base-2ca3e2d6.js b/dist/static/js/base-2ca3e2d6.js new file mode 100644 index 000000000..405d46008 --- /dev/null +++ b/dist/static/js/base-2ca3e2d6.js @@ -0,0 +1 @@ +import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-612cd722.js";import"./data-9af24e22.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/base-382bf325.js b/dist/static/js/base-382bf325.js deleted file mode 100644 index 4d0048498..000000000 --- a/dist/static/js/base-382bf325.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-126ca264.js";import"./index.esm-7c905650.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/base-42abfe28.js b/dist/static/js/base-42abfe28.js deleted file mode 100644 index 2a7243aeb..000000000 --- a/dist/static/js/base-42abfe28.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-c0453f4f.js";import"./data-ce9440dd.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/base-d5082843.js b/dist/static/js/base-d5082843.js new file mode 100644 index 000000000..f2f43c5d1 --- /dev/null +++ b/dist/static/js/base-d5082843.js @@ -0,0 +1 @@ +import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-64b0f3d7.js";import"./index.esm-afc87593.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/base.vue_vue_type_script_setup_true_lang-c0453f4f.js b/dist/static/js/base.vue_vue_type_script_setup_true_lang-612cd722.js similarity index 63% rename from dist/static/js/base.vue_vue_type_script_setup_true_lang-c0453f4f.js rename to dist/static/js/base.vue_vue_type_script_setup_true_lang-612cd722.js index e7a0a1e01..638a3a93f 100644 --- a/dist/static/js/base.vue_vue_type_script_setup_true_lang-c0453f4f.js +++ b/dist/static/js/base.vue_vue_type_script_setup_true_lang-612cd722.js @@ -1 +1 @@ -import{t as o}from"./data-ce9440dd.js";import{d as t,a as n,o as r,c as p,u as s}from"./index-ceadd577.js";const b=t({__name:"base",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=n("pure-table");return r(),p(a,{data:s(o),columns:e},null,8,["data"])}}});export{b as _}; +import{t as o}from"./data-9af24e22.js";import{d as t,a as n,o as r,c as p,u as s}from"./index-42b0cfe4.js";const b=t({__name:"base",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=n("pure-table");return r(),p(a,{data:s(o),columns:e},null,8,["data"])}}});export{b as _}; diff --git a/dist/static/js/base.vue_vue_type_script_setup_true_lang-126ca264.js b/dist/static/js/base.vue_vue_type_script_setup_true_lang-64b0f3d7.js similarity index 84% rename from dist/static/js/base.vue_vue_type_script_setup_true_lang-126ca264.js rename to dist/static/js/base.vue_vue_type_script_setup_true_lang-64b0f3d7.js index 759efae2c..1527be78f 100644 --- a/dist/static/js/base.vue_vue_type_script_setup_true_lang-126ca264.js +++ b/dist/static/js/base.vue_vue_type_script_setup_true_lang-64b0f3d7.js @@ -1 +1 @@ -import{T as c,E as f}from"./index.esm-7c905650.js";import{d as m,b3 as p,r as v,k as _,l as h,o as C,i as b,h as a,u as n}from"./index-ceadd577.js";const g={class:"wangeditor"},r="default",E=m({name:"BaseEditor",__name:"base",setup(x){const o=p(),t=v("

你好

");_(()=>{setTimeout(()=>{t.value="

我是模拟的异步数据

"},1500)});const s={excludeKeys:"fullScreen"},d={placeholder:"请输入内容..."},u=e=>{o.value=e};return h(()=>{const e=o.value;e!=null&&e.destroy()}),(e,l)=>(C(),b("div",g,[a(n(c),{editor:o.value,defaultConfig:s,mode:r,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),a(n(f),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=i=>t.value=i),defaultConfig:d,mode:r,style:{height:"500px","overflow-y":"hidden"},onOnCreated:u},null,8,["modelValue"])]))}});export{E as _}; +import{T as c,E as f}from"./index.esm-afc87593.js";import{d as m,b3 as p,r as v,k as _,l as h,o as C,i as b,h as a,u as n}from"./index-42b0cfe4.js";const g={class:"wangeditor"},r="default",E=m({name:"BaseEditor",__name:"base",setup(x){const o=p(),t=v("

你好

");_(()=>{setTimeout(()=>{t.value="

我是模拟的异步数据

"},1500)});const s={excludeKeys:"fullScreen"},d={placeholder:"请输入内容..."},u=e=>{o.value=e};return h(()=>{const e=o.value;e!=null&&e.destroy()}),(e,l)=>(C(),b("div",g,[a(n(c),{editor:o.value,defaultConfig:s,mode:r,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),a(n(f),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=i=>t.value=i),defaultConfig:d,mode:r,style:{height:"500px","overflow-y":"hidden"},onOnCreated:u},null,8,["modelValue"])]))}});export{E as _}; diff --git a/dist/static/js/basic-1658a9a9.js b/dist/static/js/basic-9e4768f3.js similarity index 85% rename from dist/static/js/basic-1658a9a9.js rename to dist/static/js/basic-9e4768f3.js index cca6e9f8a..0dc63bd57 100644 --- a/dist/static/js/basic-1658a9a9.js +++ b/dist/static/js/basic-9e4768f3.js @@ -1 +1 @@ -import{C as _,a as d,b as m,c as l,d as i,e as D}from"./index.esm-74f5f9a0.js";import{d as h,_ as b,a,b as F,o as r,i as p,g as B,h as e,w as t,f as u,s as w,v as E,e as v}from"./index-ceadd577.js";const I=h({name:"ExampleSimple",components:{[_.name]:_,[d.name]:d,[m.name]:m,[l.name]:l,[i.name]:i},directives:{contextmenu:D}});const x=o=>(w("data-v-17318510"),o=o(),E(),o),S=x(()=>v("h1",null,"基本使用",-1)),A={class:"wrapper"},$=x(()=>v("code",null,"右键点击此区域",-1)),G=[$];function N(o,V,g,k,y,H){const n=a("v-contextmenu-item"),s=a("v-contextmenu-divider"),c=a("v-contextmenu-submenu"),C=a("v-contextmenu"),f=F("contextmenu");return r(),p("div",null,[S,B((r(),p("div",A,G)),[[f,void 0,"contextmenu"]]),e(C,{ref:"contextmenu"},{default:t(()=>[e(n,null,{default:t(()=>[u("GitHub")]),_:1}),e(n,null,{default:t(()=>[u("GitLab")]),_:1}),e(s),e(c,{title:"蔬菜菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("土豆")]),_:1}),e(c,{title:"青菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("小油菜")]),_:1}),e(n,null,{default:t(()=>[u("空心菜")]),_:1})]),_:1}),e(n,null,{default:t(()=>[u("黄瓜")]),_:1})]),_:1}),e(n,{disabled:""},{default:t(()=>[u("菠萝蜜")]),_:1}),e(s),e(n,null,{default:t(()=>[u("哈密瓜")]),_:1})]),_:1},512)])}const j=b(I,[["render",N],["__scopeId","data-v-17318510"]]);export{j as default}; +import{C as _,a as d,b as m,c as l,d as i,e as D}from"./index.esm-88833e99.js";import{d as h,_ as b,a,b as F,o as r,i as p,g as B,h as e,w as t,f as u,s as w,v as E,e as v}from"./index-42b0cfe4.js";const I=h({name:"ExampleSimple",components:{[_.name]:_,[d.name]:d,[m.name]:m,[l.name]:l,[i.name]:i},directives:{contextmenu:D}});const x=o=>(w("data-v-17318510"),o=o(),E(),o),S=x(()=>v("h1",null,"基本使用",-1)),A={class:"wrapper"},$=x(()=>v("code",null,"右键点击此区域",-1)),G=[$];function N(o,V,g,k,y,H){const n=a("v-contextmenu-item"),s=a("v-contextmenu-divider"),c=a("v-contextmenu-submenu"),C=a("v-contextmenu"),f=F("contextmenu");return r(),p("div",null,[S,B((r(),p("div",A,G)),[[f,void 0,"contextmenu"]]),e(C,{ref:"contextmenu"},{default:t(()=>[e(n,null,{default:t(()=>[u("GitHub")]),_:1}),e(n,null,{default:t(()=>[u("GitLab")]),_:1}),e(s),e(c,{title:"蔬菜菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("土豆")]),_:1}),e(c,{title:"青菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("小油菜")]),_:1}),e(n,null,{default:t(()=>[u("空心菜")]),_:1})]),_:1}),e(n,null,{default:t(()=>[u("黄瓜")]),_:1})]),_:1}),e(n,{disabled:""},{default:t(()=>[u("菠萝蜜")]),_:1}),e(s),e(n,null,{default:t(()=>[u("哈密瓜")]),_:1})]),_:1},512)])}const j=b(I,[["render",N],["__scopeId","data-v-17318510"]]);export{j as default}; diff --git a/dist/static/js/border-67eecd65.js b/dist/static/js/border-09aca474.js similarity index 58% rename from dist/static/js/border-67eecd65.js rename to dist/static/js/border-09aca474.js index 522de2e2c..9f45f3d95 100644 --- a/dist/static/js/border-67eecd65.js +++ b/dist/static/js/border-09aca474.js @@ -1 +1 @@ -import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-13c02543.js";import"./data-ce9440dd.js";import"./index-ceadd577.js";export{o as default}; +import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-4222cc4e.js";import"./data-9af24e22.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/border.vue_vue_type_script_setup_true_lang-13c02543.js b/dist/static/js/border.vue_vue_type_script_setup_true_lang-4222cc4e.js similarity index 64% rename from dist/static/js/border.vue_vue_type_script_setup_true_lang-13c02543.js rename to dist/static/js/border.vue_vue_type_script_setup_true_lang-4222cc4e.js index c2bacba68..06582cbb6 100644 --- a/dist/static/js/border.vue_vue_type_script_setup_true_lang-13c02543.js +++ b/dist/static/js/border.vue_vue_type_script_setup_true_lang-4222cc4e.js @@ -1 +1 @@ -import{t as o}from"./data-ce9440dd.js";import{d as r,a as t,o as n,c as p,u as s}from"./index-ceadd577.js";const u=r({__name:"border",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=t("pure-table");return n(),p(a,{data:s(o),columns:e,border:""},null,8,["data"])}}});export{u as _}; +import{t as o}from"./data-9af24e22.js";import{d as r,a as t,o as n,c as p,u as s}from"./index-42b0cfe4.js";const u=r({__name:"border",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=t("pure-table");return n(),p(a,{data:s(o),columns:e,border:""},null,8,["data"])}}});export{u as _}; diff --git a/dist/static/js/cascader-02616d41.js b/dist/static/js/cascader-cc413635.js similarity index 99% rename from dist/static/js/cascader-02616d41.js rename to dist/static/js/cascader-cc413635.js index 38e5fa602..b07f2b262 100644 --- a/dist/static/js/cascader-02616d41.js +++ b/dist/static/js/cascader-cc413635.js @@ -1 +1 @@ -import{S as A,C as y,d as N,r as b,a as V,c as U,w as h,o as B,f as x,h as _,e as a,u as s,t as u,_ as L}from"./index-ceadd577.js";const P={86:{11e4:"北京市",12e4:"天津市",13e4:"河北省",14e4:"山西省",15e4:"内蒙古自治区",21e4:"辽宁省",22e4:"吉林省",23e4:"黑龙江省",31e4:"上海市",32e4:"江苏省",33e4:"浙江省",34e4:"安徽省",35e4:"福建省",36e4:"江西省",37e4:"山东省",41e4:"河南省",42e4:"湖北省",43e4:"湖南省",44e4:"广东省",45e4:"广西壮族自治区",46e4:"海南省",5e5:"重庆市",51e4:"四川省",52e4:"贵州省",53e4:"云南省",54e4:"西藏自治区",61e4:"陕西省",62e4:"甘肃省",63e4:"青海省",64e4:"宁夏回族自治区",65e4:"新疆维吾尔自治区",71e4:"台湾省",81e4:"香港特别行政区",82e4:"澳门特别行政区"},11e4:{110100:"市辖区"},110100:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"},12e4:{120100:"市辖区"},120100:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"},13e4:{130100:"石家庄市",130200:"唐山市",130300:"秦皇岛市",130400:"邯郸市",130500:"邢台市",130600:"保定市",130700:"张家口市",130800:"承德市",130900:"沧州市",131e3:"廊坊市",131100:"衡水市"},130100:{130101:"市辖区",130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130171:"石家庄高新技术产业开发区",130172:"石家庄循环化工园区",130181:"辛集市",130183:"晋州市",130184:"新乐市"},130200:{130201:"市辖区",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130271:"河北唐山芦台经济开发区",130272:"唐山市汉沽管理区",130273:"唐山高新技术产业开发区",130274:"河北唐山海港经济开发区",130281:"遵化市",130283:"迁安市",130284:"滦州市"},130300:{130301:"市辖区",130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县",130371:"秦皇岛市经济技术开发区",130372:"北戴河新区"},130400:{130401:"市辖区",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130471:"邯郸经济技术开发区",130473:"邯郸冀南新区",130481:"武安市"},130500:{130501:"市辖区",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130571:"河北邢台经济开发区",130581:"南宫市",130582:"沙河市"},130600:{130601:"市辖区",130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130671:"保定高新技术产业开发区",130672:"保定白沟新城",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市"},130700:{130701:"市辖区",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130771:"张家口经济开发区",130772:"张家口市察北管理区",130773:"张家口市塞北管理区"},130800:{130801:"市辖区",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130871:"承德高新技术产业开发区",130881:"平泉市"},130900:{130901:"市辖区",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130971:"河北沧州经济开发区",130972:"沧州高新技术产业开发区",130973:"沧州渤海新区",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市"},131e3:{131001:"市辖区",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131071:"廊坊经济技术开发区",131081:"霸州市",131082:"三河市"},131100:{131101:"市辖区",131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131171:"河北衡水高新技术产业开发区",131172:"衡水滨湖新区",131182:"深州市"},14e4:{140100:"太原市",140200:"大同市",140300:"阳泉市",140400:"长治市",140500:"晋城市",140600:"朔州市",140700:"晋中市",140800:"运城市",140900:"忻州市",141e3:"临汾市",141100:"吕梁市"},140100:{140101:"市辖区",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140171:"山西转型综合改革示范区",140181:"古交市"},140200:{140201:"市辖区",140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140271:"山西大同经济开发区"},140300:{140301:"市辖区",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"},140400:{140401:"市辖区",140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140471:"山西长治高新技术产业园区"},140500:{140501:"市辖区",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市"},140600:{140601:"市辖区",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140671:"山西朔州经济开发区",140681:"怀仁市"},140700:{140701:"市辖区",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市"},140800:{140801:"市辖区",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市"},140900:{140901:"市辖区",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140971:"五台山风景名胜区",140981:"原平市"},141e3:{141001:"市辖区",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市"},141100:{141101:"市辖区",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市"},15e4:{150100:"呼和浩特市",150200:"包头市",150300:"乌海市",150400:"赤峰市",150500:"通辽市",150600:"鄂尔多斯市",150700:"呼伦贝尔市",150800:"巴彦淖尔市",150900:"乌兰察布市",152200:"兴安盟",152500:"锡林郭勒盟",152900:"阿拉善盟"},150100:{150101:"市辖区",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150171:"呼和浩特金海工业园区",150172:"呼和浩特经济技术开发区"},150200:{150201:"市辖区",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150271:"包头稀土高新技术产业开发区"},150300:{150301:"市辖区",150302:"海勃湾区",150303:"海南区",150304:"乌达区"},150400:{150401:"市辖区",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"},150500:{150501:"市辖区",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150571:"通辽经济技术开发区",150581:"霍林郭勒市"},150600:{150601:"市辖区",150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"},150700:{150701:"市辖区",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市"},150800:{150801:"市辖区",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"},150900:{150901:"市辖区",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市"},152200:{152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"},152500:{152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152571:"乌拉盖管委会"},152900:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152971:"内蒙古阿拉善经济开发区"},21e4:{210100:"沈阳市",210200:"大连市",210300:"鞍山市",210400:"抚顺市",210500:"本溪市",210600:"丹东市",210700:"锦州市",210800:"营口市",210900:"阜新市",211e3:"辽阳市",211100:"盘锦市",211200:"铁岭市",211300:"朝阳市",211400:"葫芦岛市"},210100:{210101:"市辖区",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民市"},210200:{210201:"市辖区",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店市",210283:"庄河市"},210300:{210301:"市辖区",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市"},210400:{210401:"市辖区",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"},210500:{210501:"市辖区",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"},210600:{210601:"市辖区",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市"},210700:{210701:"市辖区",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市"},210800:{210801:"市辖区",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市"},210900:{210901:"市辖区",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"},211e3:{211001:"市辖区",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市"},211100:{211101:"市辖区",211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"},211200:{211201:"市辖区",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市"},211300:{211301:"市辖区",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市"},211400:{211401:"市辖区",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市"},22e4:{220100:"长春市",220200:"吉林市",220300:"四平市",220400:"辽源市",220500:"通化市",220600:"白山市",220700:"松原市",220800:"白城市",222400:"延边朝鲜族自治州"},220100:{220101:"市辖区",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220171:"长春经济技术开发区",220172:"长春净月高新技术产业开发区",220173:"长春高新技术产业开发区",220174:"长春汽车经济技术开发区",220182:"榆树市",220183:"德惠市"},220200:{220201:"市辖区",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220271:"吉林经济开发区",220272:"吉林高新技术产业开发区",220273:"吉林中国新加坡食品区",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市"},220300:{220301:"市辖区",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市"},220400:{220401:"市辖区",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"},220500:{220501:"市辖区",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市"},220600:{220601:"市辖区",220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江市"},220700:{220701:"市辖区",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220771:"吉林松原经济开发区",220781:"扶余市"},220800:{220801:"市辖区",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220871:"吉林白城经济开发区",220881:"洮南市",220882:"大安市"},222400:{222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县"},23e4:{230100:"哈尔滨市",230200:"齐齐哈尔市",230300:"鸡西市",230400:"鹤岗市",230500:"双鸭山市",230600:"大庆市",230700:"伊春市",230800:"佳木斯市",230900:"七台河市",231e3:"牡丹江市",231100:"黑河市",231200:"绥化市",232700:"大兴安岭地区"},230100:{230101:"市辖区",230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志市",230184:"五常市"},230200:{230201:"市辖区",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市"},230300:{230301:"市辖区",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市"},230400:{230401:"市辖区",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"},230500:{230501:"市辖区",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"},230600:{230601:"市辖区",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230671:"大庆高新技术产业开发区"},230700:{230701:"市辖区",230717:"伊美区",230718:"乌翠区",230719:"友好区",230722:"嘉荫县",230723:"汤旺县",230724:"丰林县",230725:"大箐山县",230726:"南岔县",230751:"金林区",230781:"铁力市"},230800:{230801:"市辖区",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江市",230882:"富锦市",230883:"抚远市"},230900:{230901:"市辖区",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"},231e3:{231001:"市辖区",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231071:"牡丹江经济技术开发区",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"东宁市"},231100:{231101:"市辖区",231102:"爱辉区",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"嫩江市"},231200:{231201:"市辖区",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市"},232700:{232701:"漠河市",232721:"呼玛县",232722:"塔河县",232761:"加格达奇区",232762:"松岭区",232763:"新林区",232764:"呼中区"},31e4:{310100:"市辖区"},310100:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"},32e4:{320100:"南京市",320200:"无锡市",320300:"徐州市",320400:"常州市",320500:"苏州市",320600:"南通市",320700:"连云港市",320800:"淮安市",320900:"盐城市",321e3:"扬州市",321100:"镇江市",321200:"泰州市",321300:"宿迁市"},320100:{320101:"市辖区",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"},320200:{320201:"市辖区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴市",320282:"宜兴市"},320300:{320301:"市辖区",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320371:"徐州经济技术开发区",320381:"新沂市",320382:"邳州市"},320400:{320401:"市辖区",320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳市"},320500:{320501:"市辖区",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320571:"苏州工业园区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320585:"太仓市"},320600:{320601:"市辖区",320602:"崇川区",320611:"港闸区",320612:"通州区",320623:"如东县",320671:"南通经济技术开发区",320681:"启东市",320682:"如皋市",320684:"海门市",320685:"海安市"},320700:{320701:"市辖区",320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县",320771:"连云港经济技术开发区",320772:"连云港高新技术产业开发区"},320800:{320801:"市辖区",320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县",320871:"淮安经济技术开发区"},320900:{320901:"市辖区",320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320971:"盐城经济技术开发区",320981:"东台市"},321e3:{321001:"市辖区",321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321071:"扬州经济技术开发区",321081:"仪征市",321084:"高邮市"},321100:{321101:"市辖区",321102:"京口区",321111:"润州区",321112:"丹徒区",321171:"镇江新区",321181:"丹阳市",321182:"扬中市",321183:"句容市"},321200:{321201:"市辖区",321202:"海陵区",321203:"高港区",321204:"姜堰区",321271:"泰州医药高新技术产业开发区",321281:"兴化市",321282:"靖江市",321283:"泰兴市"},321300:{321301:"市辖区",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321371:"宿迁经济技术开发区"},33e4:{330100:"杭州市",330200:"宁波市",330300:"温州市",330400:"嘉兴市",330500:"湖州市",330600:"绍兴市",330700:"金华市",330800:"衢州市",330900:"舟山市",331e3:"台州市",331100:"丽水市"},330100:{330101:"市辖区",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330122:"桐庐县",330127:"淳安县",330182:"建德市"},330200:{330201:"市辖区",330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市"},330300:{330301:"市辖区",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330371:"温州经济技术开发区",330381:"瑞安市",330382:"乐清市",330383:"龙港市"},330400:{330401:"市辖区",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市"},330500:{330501:"市辖区",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"},330600:{330601:"市辖区",330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨市",330683:"嵊州市"},330700:{330701:"市辖区",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市"},330800:{330801:"市辖区",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市"},330900:{330901:"市辖区",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"},331e3:{331001:"市辖区",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"玉环市"},331100:{331101:"市辖区",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市"},34e4:{340100:"合肥市",340200:"芜湖市",340300:"蚌埠市",340400:"淮南市",340500:"马鞍山市",340600:"淮北市",340700:"铜陵市",340800:"安庆市",341e3:"黄山市",341100:"滁州市",341200:"阜阳市",341300:"宿州市",341500:"六安市",341600:"亳州市",341700:"池州市",341800:"宣城市"},340100:{340101:"市辖区",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340171:"合肥高新技术产业开发区",340172:"合肥经济技术开发区",340173:"合肥新站高新技术产业开发区",340181:"巢湖市"},340200:{340201:"市辖区",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340225:"无为县",340271:"芜湖经济技术开发区",340272:"安徽芜湖长江大桥经济开发区"},340300:{340301:"市辖区",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340371:"蚌埠市高新技术开发区",340372:"蚌埠市经济开发区"},340400:{340401:"市辖区",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"},340500:{340501:"市辖区",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"},340600:{340601:"市辖区",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"},340700:{340701:"市辖区",340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"},340800:{340801:"市辖区",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340871:"安徽安庆经济开发区",340881:"桐城市",340882:"潜山市"},341e3:{341001:"市辖区",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"},341100:{341101:"市辖区",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341171:"苏滁现代产业园",341172:"滁州经济技术开发区",341181:"天长市",341182:"明光市"},341200:{341201:"市辖区",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341271:"阜阳合肥现代产业园区",341272:"阜阳经济技术开发区",341282:"界首市"},341300:{341301:"市辖区",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341371:"宿州马鞍山现代产业园区",341372:"宿州经济技术开发区"},341500:{341501:"市辖区",341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"},341600:{341601:"市辖区",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"},341700:{341701:"市辖区",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"},341800:{341801:"市辖区",341802:"宣州区",341821:"郎溪县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341871:"宣城市经济开发区",341881:"宁国市",341882:"广德市"},35e4:{350100:"福州市",350200:"厦门市",350300:"莆田市",350400:"三明市",350500:"泉州市",350600:"漳州市",350700:"南平市",350800:"龙岩市",350900:"宁德市"},350100:{350101:"市辖区",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市"},350200:{350201:"市辖区",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"},350300:{350301:"市辖区",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"},350400:{350401:"市辖区",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市"},350500:{350501:"市辖区",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市"},350600:{350601:"市辖区",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市"},350700:{350701:"市辖区",350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市"},350800:{350801:"市辖区",350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市"},350900:{350901:"市辖区",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市"},36e4:{360100:"南昌市",360200:"景德镇市",360300:"萍乡市",360400:"九江市",360500:"新余市",360600:"鹰潭市",360700:"赣州市",360800:"吉安市",360900:"宜春市",361e3:"抚州市",361100:"上饶市"},360100:{360101:"市辖区",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360112:"新建区",360121:"南昌县",360123:"安义县",360124:"进贤县"},360200:{360201:"市辖区",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市"},360300:{360301:"市辖区",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"},360400:{360401:"市辖区",360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"共青城市",360483:"庐山市"},360500:{360501:"市辖区",360502:"渝水区",360521:"分宜县"},360600:{360601:"市辖区",360602:"月湖区",360603:"余江区",360681:"贵溪市"},360700:{360701:"市辖区",360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市"},360800:{360801:"市辖区",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市"},360900:{360901:"市辖区",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市"},361e3:{361001:"市辖区",361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"},361100:{361101:"市辖区",361102:"信州区",361103:"广丰区",361104:"广信区",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市"},37e4:{370100:"济南市",370200:"青岛市",370300:"淄博市",370400:"枣庄市",370500:"东营市",370600:"烟台市",370700:"潍坊市",370800:"济宁市",370900:"泰安市",371e3:"威海市",371100:"日照市",371300:"临沂市",371400:"德州市",371500:"聊城市",371600:"滨州市",371700:"菏泽市"},370100:{370101:"市辖区",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县",370171:"济南高新技术产业开发区"},370200:{370201:"市辖区",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370271:"青岛高新技术产业开发区",370281:"胶州市",370283:"平度市",370285:"莱西市"},370300:{370301:"市辖区",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"},370400:{370401:"市辖区",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市"},370500:{370501:"市辖区",370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县",370571:"东营经济技术开发区",370572:"东营港经济开发区"},370600:{370601:"市辖区",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370671:"烟台高新技术产业开发区",370672:"烟台经济技术开发区",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市"},370700:{370701:"市辖区",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370772:"潍坊滨海经济技术开发区",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市"},370800:{370801:"市辖区",370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370871:"济宁高新技术产业开发区",370881:"曲阜市",370883:"邹城市"},370900:{370901:"市辖区",370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市"},371e3:{371001:"市辖区",371002:"环翠区",371003:"文登区",371071:"威海火炬高技术产业开发区",371072:"威海经济技术开发区",371073:"威海临港经济技术开发区",371082:"荣成市",371083:"乳山市"},371100:{371101:"市辖区",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371171:"日照经济技术开发区"},371300:{371301:"市辖区",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371371:"临沂高新技术产业开发区",371372:"临沂经济技术开发区",371373:"临沂临港经济开发区"},371400:{371401:"市辖区",371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371471:"德州经济技术开发区",371472:"德州运河经济开发区",371481:"乐陵市",371482:"禹城市"},371500:{371501:"市辖区",371502:"东昌府区",371503:"茌平区",371521:"阳谷县",371522:"莘县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市"},371600:{371601:"市辖区",371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平市"},371700:{371701:"市辖区",371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县",371771:"菏泽经济技术开发区",371772:"菏泽高新技术开发区"},41e4:{410100:"郑州市",410200:"开封市",410300:"洛阳市",410400:"平顶山市",410500:"安阳市",410600:"鹤壁市",410700:"新乡市",410800:"焦作市",410900:"濮阳市",411e3:"许昌市",411100:"漯河市",411200:"三门峡市",411300:"南阳市",411400:"商丘市",411500:"信阳市",411600:"周口市",411700:"驻马店市",419e3:"省直辖县级行政区划"},410100:{410101:"市辖区",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410171:"郑州经济技术开发区",410172:"郑州高新技术产业开发区",410173:"郑州航空港经济综合实验区",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市"},410200:{410201:"市辖区",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"},410300:{410301:"市辖区",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410311:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410371:"洛阳高新技术产业开发区",410381:"偃师市"},410400:{410401:"市辖区",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410471:"平顶山高新技术产业开发区",410472:"平顶山市城乡一体化示范区",410481:"舞钢市",410482:"汝州市"},410500:{410501:"市辖区",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410571:"安阳高新技术产业开发区",410581:"林州市"},410600:{410601:"市辖区",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410671:"鹤壁经济技术开发区"},410700:{410701:"市辖区",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410771:"新乡高新技术产业开发区",410772:"新乡经济技术开发区",410773:"新乡市平原城乡一体化示范区",410781:"卫辉市",410782:"辉县市",410783:"长垣市"},410800:{410801:"市辖区",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410871:"焦作城乡一体化示范区",410882:"沁阳市",410883:"孟州市"},410900:{410901:"市辖区",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410971:"河南濮阳工业园区",410972:"濮阳经济技术开发区"},411e3:{411001:"市辖区",411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411071:"许昌经济技术开发区",411081:"禹州市",411082:"长葛市"},411100:{411101:"市辖区",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411171:"漯河经济技术开发区"},411200:{411201:"市辖区",411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411271:"河南三门峡经济开发区",411281:"义马市",411282:"灵宝市"},411300:{411301:"市辖区",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411371:"南阳高新技术产业开发区",411372:"南阳市城乡一体化示范区",411381:"邓州市"},411400:{411401:"市辖区",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411471:"豫东综合物流产业聚集区",411472:"河南商丘经济开发区",411481:"永城市"},411500:{411501:"市辖区",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411571:"信阳高新技术产业开发区"},411600:{411601:"市辖区",411602:"川汇区",411603:"淮阳区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411627:"太康县",411628:"鹿邑县",411671:"河南周口经济开发区",411681:"项城市"},411700:{411701:"市辖区",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411771:"河南驻马店经济开发区"},419e3:{419001:"济源市"},42e4:{420100:"武汉市",420200:"黄石市",420300:"十堰市",420500:"宜昌市",420600:"襄阳市",420700:"鄂州市",420800:"荆门市",420900:"孝感市",421e3:"荆州市",421100:"黄冈市",421200:"咸宁市",421300:"随州市",422800:"恩施土家族苗族自治州",429e3:"省直辖县级行政区划"},420100:{420101:"市辖区",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"},420200:{420201:"市辖区",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市"},420300:{420301:"市辖区",420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市"},420500:{420501:"市辖区",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市"},420600:{420601:"市辖区",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市"},420700:{420701:"市辖区",420702:"梁子湖区",420703:"华容区",420704:"鄂城区"},420800:{420801:"市辖区",420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥市",420882:"京山市"},420900:{420901:"市辖区",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市"},421e3:{421001:"市辖区",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421071:"荆州经济技术开发区",421081:"石首市",421083:"洪湖市",421087:"松滋市"},421100:{421101:"市辖区",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421171:"龙感湖管理区",421181:"麻城市",421182:"武穴市"},421200:{421201:"市辖区",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市"},421300:{421301:"市辖区",421303:"曾都区",421321:"随县",421381:"广水市"},422800:{422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"},429e3:{429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区"},43e4:{430100:"长沙市",430200:"株洲市",430300:"湘潭市",430400:"衡阳市",430500:"邵阳市",430600:"岳阳市",430700:"常德市",430800:"张家界市",430900:"益阳市",431e3:"郴州市",431100:"永州市",431200:"怀化市",431300:"娄底市",433100:"湘西土家族苗族自治州"},430100:{430101:"市辖区",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳市",430182:"宁乡市"},430200:{430201:"市辖区",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430271:"云龙示范区",430281:"醴陵市"},430300:{430301:"市辖区",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430371:"湖南湘潭高新技术产业园区",430372:"湘潭昭山示范区",430373:"湘潭九华示范区",430381:"湘乡市",430382:"韶山市"},430400:{430401:"市辖区",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430471:"衡阳综合保税区",430472:"湖南衡阳高新技术产业园区",430473:"湖南衡阳松木经济开发区",430481:"耒阳市",430482:"常宁市"},430500:{430501:"市辖区",430502:"双清区",430503:"大祥区",430511:"北塔区",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"邵东市"},430600:{430601:"市辖区",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430671:"岳阳市屈原管理区",430681:"汨罗市",430682:"临湘市"},430700:{430701:"市辖区",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430771:"常德市西洞庭管理区",430781:"津市市"},430800:{430801:"市辖区",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"},430900:{430901:"市辖区",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430971:"益阳市大通湖管理区",430972:"湖南益阳高新技术产业园区",430981:"沅江市"},431e3:{431001:"市辖区",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市"},431100:{431101:"市辖区",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431171:"永州经济技术开发区",431172:"永州市金洞管理区",431173:"永州市回龙圩管理区"},431200:{431201:"市辖区",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431271:"怀化市洪江管理区",431281:"洪江市"},431300:{431301:"市辖区",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市"},433100:{433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433173:"湖南永顺经济开发区"},44e4:{440100:"广州市",440200:"韶关市",440300:"深圳市",440400:"珠海市",440500:"汕头市",440600:"佛山市",440700:"江门市",440800:"湛江市",440900:"茂名市",441200:"肇庆市",441300:"惠州市",441400:"梅州市",441500:"汕尾市",441600:"河源市",441700:"阳江市",441800:"清远市",441900:"东莞市",442e3:"中山市",445100:"潮州市",445200:"揭阳市",445300:"云浮市"},440100:{440101:"市辖区",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"},440200:{440201:"市辖区",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市"},440300:{440301:"市辖区",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"},440400:{440401:"市辖区",440402:"香洲区",440403:"斗门区",440404:"金湾区"},440500:{440501:"市辖区",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"},440600:{440601:"市辖区",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"},440700:{440701:"市辖区",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市"},440800:{440801:"市辖区",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市"},440900:{440901:"市辖区",440902:"茂南区",440904:"电白区",440981:"高州市",440982:"化州市",440983:"信宜市"},441200:{441201:"市辖区",441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会市"},441300:{441301:"市辖区",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"},441400:{441401:"市辖区",441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市"},441500:{441501:"市辖区",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市"},441600:{441601:"市辖区",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"},441700:{441701:"市辖区",441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春市"},441800:{441801:"市辖区",441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德市",441882:"连州市"},441900:{441900003:"东城街道",441900004:"南城街道",441900005:"万江街道",441900006:"莞城街道",441900101:"石碣镇",441900102:"石龙镇",441900103:"茶山镇",441900104:"石排镇",441900105:"企石镇",441900106:"横沥镇",441900107:"桥头镇",441900108:"谢岗镇",441900109:"东坑镇",441900110:"常平镇",441900111:"寮步镇",441900112:"樟木头镇",441900113:"大朗镇",441900114:"黄江镇",441900115:"清溪镇",441900116:"塘厦镇",441900117:"凤岗镇",441900118:"大岭山镇",441900119:"长安镇",441900121:"虎门镇",441900122:"厚街镇",441900123:"沙田镇",441900124:"道滘镇",441900125:"洪梅镇",441900126:"麻涌镇",441900127:"望牛墩镇",441900128:"中堂镇",441900129:"高埗镇",441900401:"松山湖",441900402:"东莞港",441900403:"东莞生态园"},442e3:{442000001:"石岐街道",442000002:"东区街道",442000003:"中山港街道",442000004:"西区街道",442000005:"南区街道",442000006:"五桂山街道",442000100:"小榄镇",442000101:"黄圃镇",442000102:"民众镇",442000103:"东凤镇",442000104:"东升镇",442000105:"古镇镇",442000106:"沙溪镇",442000107:"坦洲镇",442000108:"港口镇",442000109:"三角镇",442000110:"横栏镇",442000111:"南头镇",442000112:"阜沙镇",442000113:"南朗镇",442000114:"三乡镇",442000115:"板芙镇",442000116:"大涌镇",442000117:"神湾镇"},445100:{445101:"市辖区",445102:"湘桥区",445103:"潮安区",445122:"饶平县"},445200:{445201:"市辖区",445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市"},445300:{445301:"市辖区",445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定市"},45e4:{450100:"南宁市",450200:"柳州市",450300:"桂林市",450400:"梧州市",450500:"北海市",450600:"防城港市",450700:"钦州市",450800:"贵港市",450900:"玉林市",451e3:"百色市",451100:"贺州市",451200:"河池市",451300:"来宾市",451400:"崇左市"},450100:{450101:"市辖区",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县"},450200:{450201:"市辖区",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"},450300:{450301:"市辖区",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦市"},450400:{450401:"市辖区",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市"},450500:{450501:"市辖区",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"},450600:{450601:"市辖区",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市"},450700:{450701:"市辖区",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"},450800:{450801:"市辖区",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市"},450900:{450901:"市辖区",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市"},451e3:{451001:"市辖区",451002:"右江区",451003:"田阳区",451022:"田东县",451023:"平果县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西市"},451100:{451101:"市辖区",451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"},451200:{451201:"市辖区",451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"},451300:{451301:"市辖区",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市"},451400:{451401:"市辖区",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市"},46e4:{460100:"海口市",460200:"三亚市",460300:"三沙市",460400:"儋州市",469e3:"省直辖县级行政区划"},460100:{460101:"市辖区",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"},460200:{460201:"市辖区",460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"},460300:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域"},460400:{460400100:"那大镇",460400101:"和庆镇",460400102:"南丰镇",460400103:"大成镇",460400104:"雅星镇",460400105:"兰洋镇",460400106:"光村镇",460400107:"木棠镇",460400108:"海头镇",460400109:"峨蔓镇",460400111:"王五镇",460400112:"白马井镇",460400113:"中和镇",460400114:"排浦镇",460400115:"东成镇",460400116:"新州镇",460400499:"洋浦经济开发区",460400500:"华南热作学院"},469e3:{469001:"五指山市",469002:"琼海市",469005:"文昌市",469006:"万宁市",469007:"东方市",469021:"定安县",469022:"屯昌县",469023:"澄迈县",469024:"临高县",469025:"白沙黎族自治县",469026:"昌江黎族自治县",469027:"乐东黎族自治县",469028:"陵水黎族自治县",469029:"保亭黎族苗族自治县",469030:"琼中黎族苗族自治县"},5e5:{500100:"市辖区",500200:"县"},500100:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区"},500200:{500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县"},51e4:{510100:"成都市",510300:"自贡市",510400:"攀枝花市",510500:"泸州市",510600:"德阳市",510700:"绵阳市",510800:"广元市",510900:"遂宁市",511e3:"内江市",511100:"乐山市",511300:"南充市",511400:"眉山市",511500:"宜宾市",511600:"广安市",511700:"达州市",511800:"雅安市",511900:"巴中市",512e3:"资阳市",513200:"阿坝藏族羌族自治州",513300:"甘孜藏族自治州",513400:"凉山彝族自治州"},510100:{510101:"市辖区",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"简阳市"},510300:{510301:"市辖区",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"},510400:{510401:"市辖区",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"},510500:{510501:"市辖区",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"},510600:{510601:"市辖区",510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市"},510700:{510701:"市辖区",510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市"},510800:{510801:"市辖区",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"},510900:{510901:"市辖区",510903:"船山区",510904:"安居区",510921:"蓬溪县",510923:"大英县",510981:"射洪市"},511e3:{511001:"市辖区",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511071:"内江经济开发区",511083:"隆昌市"},511100:{511101:"市辖区",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市"},511300:{511301:"市辖区",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市"},511400:{511401:"市辖区",511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"},511500:{511501:"市辖区",511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"},511600:{511601:"市辖区",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市"},511700:{511701:"市辖区",511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511771:"达州经济开发区",511781:"万源市"},511800:{511801:"市辖区",511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"},511900:{511901:"市辖区",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511971:"巴中经济开发区"},512e3:{512001:"市辖区",512002:"雁江区",512021:"安岳县",512022:"乐至县"},513200:{513201:"马尔康市",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"},513300:{513301:"康定市",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"},513400:{513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"},52e4:{520100:"贵阳市",520200:"六盘水市",520300:"遵义市",520400:"安顺市",520500:"毕节市",520600:"铜仁市",522300:"黔西南布依族苗族自治州",522600:"黔东南苗族侗族自治州",522700:"黔南布依族苗族自治州"},520100:{520101:"市辖区",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇市"},520200:{520201:"钟山区",520203:"六枝特区",520221:"水城县",520281:"盘州市"},520300:{520301:"市辖区",520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市"},520400:{520401:"市辖区",520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"},520500:{520501:"市辖区",520502:"七星关区",520521:"大方县",520522:"黔西县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县"},520600:{520601:"市辖区",520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"},522300:{522301:"兴义市",522302:"兴仁市",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"},522600:{522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"},522700:{522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"},53e4:{530100:"昆明市",530300:"曲靖市",530400:"玉溪市",530500:"保山市",530600:"昭通市",530700:"丽江市",530800:"普洱市",530900:"临沧市",532300:"楚雄彝族自治州",532500:"红河哈尼族彝族自治州",532600:"文山壮族苗族自治州",532800:"西双版纳傣族自治州",532900:"大理白族自治州",533100:"德宏傣族景颇族自治州",533300:"怒江傈僳族自治州",533400:"迪庆藏族自治州"},530100:{530101:"市辖区",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市"},530300:{530301:"市辖区",530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威市"},530400:{530401:"市辖区",530402:"红塔区",530403:"江川区",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县"},530500:{530501:"市辖区",530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲市"},530600:{530601:"市辖区",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富市"},530700:{530701:"市辖区",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"},530800:{530801:"市辖区",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"},530900:{530901:"市辖区",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"},532300:{532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县"},532500:{532501:"个旧市",532502:"开远市",532503:"蒙自市",532504:"弥勒市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"},532600:{532601:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"},532800:{532801:"景洪市",532822:"勐海县",532823:"勐腊县"},532900:{532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"},533100:{533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县"},533300:{533301:"泸水市",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"},533400:{533401:"香格里拉市",533422:"德钦县",533423:"维西傈僳族自治县"},54e4:{540100:"拉萨市",540200:"日喀则市",540300:"昌都市",540400:"林芝市",540500:"山南市",540600:"那曲市",542500:"阿里地区"},540100:{540101:"市辖区",540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县",540171:"格尔木藏青工业园区",540172:"拉萨经济技术开发区",540173:"西藏文化旅游创意园区",540174:"达孜工业园区"},540200:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"},540300:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"},540400:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"},540500:{540501:"市辖区",540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"},540600:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"},542500:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"},61e4:{610100:"西安市",610200:"铜川市",610300:"宝鸡市",610400:"咸阳市",610500:"渭南市",610600:"延安市",610700:"汉中市",610800:"榆林市",610900:"安康市",611e3:"商洛市"},610100:{610101:"市辖区",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"},610200:{610201:"市辖区",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"},610300:{610301:"市辖区",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"},610400:{610401:"市辖区",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"彬州市"},610500:{610501:"市辖区",610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市"},610600:{610601:"市辖区",610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610681:"子长市"},610700:{610701:"市辖区",610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"},610800:{610801:"市辖区",610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木市"},610900:{610901:"市辖区",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县"},611e3:{611001:"市辖区",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"},62e4:{620100:"兰州市",620200:"嘉峪关市",620300:"金昌市",620400:"白银市",620500:"天水市",620600:"武威市",620700:"张掖市",620800:"平凉市",620900:"酒泉市",621e3:"庆阳市",621100:"定西市",621200:"陇南市",622900:"临夏回族自治州",623e3:"甘南藏族自治州"},620100:{620101:"市辖区",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620171:"兰州新区"},620200:{620201:"市辖区"},620300:{620301:"市辖区",620302:"金川区",620321:"永昌县"},620400:{620401:"市辖区",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"},620500:{620501:"市辖区",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"},620600:{620601:"市辖区",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"},620700:{620701:"市辖区",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"},620800:{620801:"市辖区",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭市"},620900:{620901:"市辖区",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市"},621e3:{621001:"市辖区",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"},621100:{621101:"市辖区",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"},621200:{621201:"市辖区",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"},622900:{622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"},623e3:{623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"},63e4:{630100:"西宁市",630200:"海东市",632200:"海北藏族自治州",632300:"黄南藏族自治州",632500:"海南藏族自治州",632600:"果洛藏族自治州",632700:"玉树藏族自治州",632800:"海西蒙古族藏族自治州"},630100:{630101:"市辖区",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县"},630200:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"},632200:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"},632300:{632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"},632500:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"},632600:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"},632700:{632701:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"},632800:{632801:"格尔木市",632802:"德令哈市",632803:"茫崖市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632857:"大柴旦行政委员会"},64e4:{640100:"银川市",640200:"石嘴山市",640300:"吴忠市",640400:"固原市",640500:"中卫市"},640100:{640101:"市辖区",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市"},640200:{640201:"市辖区",640202:"大武口区",640205:"惠农区",640221:"平罗县"},640300:{640301:"市辖区",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市"},640400:{640401:"市辖区",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"},640500:{640501:"市辖区",640502:"沙坡头区",640521:"中宁县",640522:"海原县"},65e4:{650100:"乌鲁木齐市",650200:"克拉玛依市",650400:"吐鲁番市",650500:"哈密市",652300:"昌吉回族自治州",652700:"博尔塔拉蒙古自治州",652800:"巴音郭楞蒙古自治州",652900:"阿克苏地区",653e3:"克孜勒苏柯尔克孜自治州",653100:"喀什地区",653200:"和田地区",654e3:"伊犁哈萨克自治州",654200:"塔城地区",654300:"阿勒泰地区",659e3:"自治区直辖县级行政区划"},650100:{650101:"市辖区",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"},650200:{650201:"市辖区",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"},650400:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"},650500:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"},652300:{652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"},652700:{652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县"},652800:{652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652871:"库尔勒经济技术开发区"},652900:{652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"},653e3:{653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"},653100:{653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"},653200:{653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"},654e3:{654002:"伊宁市",654003:"奎屯市",654004:"霍尔果斯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"},654200:{654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"},654300:{654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"},659e3:{659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",659006:"铁门关市"},71e4:{710100:"台北市",710200:"高雄市",710300:"基隆市",710400:"台中市",710500:"台南市",710600:"新竹市",710700:"嘉义市"},710100:{710101:"内湖区",710102:"南港区",710103:"中正区",710104:"松山区",710105:"信义区",710106:"大安区",710107:"中山区",710108:"文山区",710109:"大同区",710110:"万华区",710111:"士林区",710112:"北投区"},710200:{710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区"},710300:{710301:"仁爱区",710302:"信义区",710303:"中正区",710304:"暖暖区",710305:"安乐区",710307:"七堵区"},710400:{710301:"中区",710302:"东区",710303:"南区",710304:"西区",710305:"北区",710306:"北屯区",710307:"西屯区",710308:"南屯区"},710500:{710501:"中西区",710502:"东区",710503:"南区",710504:"北区",710505:"安平区",710506:"安南区"},710600:{710601:"东区",710602:"北区",710603:"香山区"},710700:{710701:"东区",710702:"西区"},81e4:{810001:"中西區",810002:"灣仔區",810003:"東區",810004:"南區",810005:"油尖旺區",810006:"深水埗區",810007:"九龍城區",810008:"黃大仙區",810009:"觀塘區",810010:"荃灣區",810011:"屯門區",810012:"元朗區",810013:"北區",810014:"大埔區",810015:"西貢區",810016:"沙田區",810017:"葵青區",810018:"離島區"},82e4:{820001:"花地瑪堂區",820002:"花王堂區",820003:"望德堂區",820004:"大堂區",820005:"風順堂區",820006:"嘉模堂區",820007:"路氹填海區",820008:"聖方濟各堂區"}};var S=P;const j=A(S),n={},m={},T=j[86],g=[];let D=[];const r="全部";n[""]=r;Object.keys(T).forEach(c=>{const e=T[c];g.push({value:c,label:e}),n[c]=e,m[e]={code:c},m[e][r]={code:""}});g.forEach(c=>{const e=c.value,t=c.label,l=[],o=j[e]??{};Object.keys(o).forEach(d=>{l.push({value:d,label:o[d]}),n[d]=o[d],m[t][o[d]]={code:d},m[t][o[d]][r]={code:""}}),l.length&&(c.children=l)});D=y(g);g.forEach(c=>{const e=c.children,t=c.label;e&&e.forEach(l=>{const o=l.value,d=l.label,p=[],i=j[o]??{};Object.keys(i).forEach(v=>{p.push({value:v,label:i[v]}),n[v]=i[v],m[t][d][i[v]]={code:v}}),p.length&&(l.children=p)})});const O=y(D);O.unshift({value:"",label:r});O.forEach(c=>{const e=c.children;e!=null&&e.length&&(e.unshift({value:"",label:r}),e.forEach(t=>{const l=t.children;l!=null&&l.length&&l.unshift({value:"",label:r})}))});const $=y(g);$.unshift({value:"",label:r});$.forEach(c=>{const e=c.children;e!=null&&e.length&&(e.unshift({value:"",label:r}),e.forEach(t=>{const l=t.children;l!=null&&l.length&&l.unshift({value:"",label:r})}))});function E(c,e,t){let l="";if(c&&m[c]){const o=m[c];if(l=o.code,e&&o[e]){const d=o[e];l=`${l}${e===r?"":", "}${d.code}`,t&&d[t]&&(l=`${l}${t===r?"":", "}${d[t].code}`)}}return l}const q={class:"flex flex-col items-center justify-center"},F={class:"imp"},G={class:"leading-10"},R={class:"flex flex-col items-center justify-center mt-3"},X={class:"imp"},z={class:"leading-10"},H={class:"flex flex-col items-center justify-center mt-3"},I={class:"imp"},J={class:"leading-10"},K={class:"flex flex-col items-center justify-center mt-3"},M={class:"imp"},Q={class:"leading-10"},W=N({name:"Cascader",__name:"cascader",setup(c){const e=b(["110000","110100"]),t=b(["120000","120100","120101"]),l=b(["130000",""]),o=b(["120000","120100",""]),d=p=>{};return(p,i)=>{const v=V("el-cascader"),C=V("el-col"),k=V("el-row"),w=V("el-card");return B(),U(w,{shadow:"never"},{header:h(()=>[x(" 区域级联选择器 ")]),default:h(()=>[_(k,{gutter:20},{default:h(()=>[_(C,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[a("div",q,[a("span",F,[x(" 1. 二级联动(不带“全部”选项) "),_(v,{options:s(D),modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=f=>e.value=f),onChange:d},null,8,["options","modelValue"])]),a("div",G,[a("div",null,"绑定值:"+u(e.value),1),a("div",null," 区域码转汉字: "+u(s(n)[e.value[0]])+", "+u(s(n)[e.value[1]]),1),a("div",null," 汉字转区域码: "+u(s(E)(s(n)[e.value[0]],s(n)[e.value[1]])),1)])])]),_:1}),_(C,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[a("div",R,[a("span",X,[x(" 2. 二级联动(带有“全部”选项) "),_(v,{options:s(O),modelValue:l.value,"onUpdate:modelValue":i[1]||(i[1]=f=>l.value=f),onChange:d},null,8,["options","modelValue"])]),a("div",z,[a("div",null,"绑定值:"+u(l.value),1),a("div",null," 区域码转汉字: "+u(s(n)[l.value[0]])+", "+u(s(n)[l.value[1]]),1),a("div",null," 汉字转区域码: "+u(s(E)(s(n)[l.value[0]],s(n)[l.value[1]])),1)])])]),_:1}),_(C,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[a("div",H,[a("span",I,[x(" 3. 三级联动(不带“全部”选项) "),_(v,{options:s(g),modelValue:t.value,"onUpdate:modelValue":i[2]||(i[2]=f=>t.value=f),onChange:d},null,8,["options","modelValue"])]),a("div",J,[a("div",null,"绑定值:"+u(t.value),1),a("div",null," 区域码转汉字: "+u(s(n)[t.value[0]])+", "+u(s(n)[t.value[1]])+", "+u(s(n)[t.value[2]]),1),a("div",null," 汉字转区域码: "+u(s(E)(s(n)[t.value[0]],s(n)[t.value[1]],s(n)[t.value[2]])),1)])])]),_:1}),_(C,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[a("div",K,[a("span",M,[x(' 4. 三级联动(带"全部选项") '),_(v,{options:s($),modelValue:o.value,"onUpdate:modelValue":i[3]||(i[3]=f=>o.value=f),onChange:d},null,8,["options","modelValue"])]),a("div",Q,[a("div",null,"绑定值:"+u(o.value),1),a("div",null," 区域码转汉字: "+u(s(n)[o.value[0]])+", "+u(s(n)[o.value[1]])+", "+u(s(n)[o.value[2]]),1),a("div",null," 汉字转区域码: "+u(s(E)(s(n)[o.value[0]],s(n)[o.value[1]],s(n)[o.value[2]])),1)])])]),_:1})]),_:1})]),_:1})}}});const Z=L(W,[["__scopeId","data-v-4ebc4965"]]);export{Z as default}; +import{S as A,C as y,d as N,r as b,a as V,c as U,w as h,o as B,f as x,h as _,e as a,u as s,t as u,_ as L}from"./index-42b0cfe4.js";const P={86:{11e4:"北京市",12e4:"天津市",13e4:"河北省",14e4:"山西省",15e4:"内蒙古自治区",21e4:"辽宁省",22e4:"吉林省",23e4:"黑龙江省",31e4:"上海市",32e4:"江苏省",33e4:"浙江省",34e4:"安徽省",35e4:"福建省",36e4:"江西省",37e4:"山东省",41e4:"河南省",42e4:"湖北省",43e4:"湖南省",44e4:"广东省",45e4:"广西壮族自治区",46e4:"海南省",5e5:"重庆市",51e4:"四川省",52e4:"贵州省",53e4:"云南省",54e4:"西藏自治区",61e4:"陕西省",62e4:"甘肃省",63e4:"青海省",64e4:"宁夏回族自治区",65e4:"新疆维吾尔自治区",71e4:"台湾省",81e4:"香港特别行政区",82e4:"澳门特别行政区"},11e4:{110100:"市辖区"},110100:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"},12e4:{120100:"市辖区"},120100:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"},13e4:{130100:"石家庄市",130200:"唐山市",130300:"秦皇岛市",130400:"邯郸市",130500:"邢台市",130600:"保定市",130700:"张家口市",130800:"承德市",130900:"沧州市",131e3:"廊坊市",131100:"衡水市"},130100:{130101:"市辖区",130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130171:"石家庄高新技术产业开发区",130172:"石家庄循环化工园区",130181:"辛集市",130183:"晋州市",130184:"新乐市"},130200:{130201:"市辖区",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130271:"河北唐山芦台经济开发区",130272:"唐山市汉沽管理区",130273:"唐山高新技术产业开发区",130274:"河北唐山海港经济开发区",130281:"遵化市",130283:"迁安市",130284:"滦州市"},130300:{130301:"市辖区",130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县",130371:"秦皇岛市经济技术开发区",130372:"北戴河新区"},130400:{130401:"市辖区",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130471:"邯郸经济技术开发区",130473:"邯郸冀南新区",130481:"武安市"},130500:{130501:"市辖区",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130571:"河北邢台经济开发区",130581:"南宫市",130582:"沙河市"},130600:{130601:"市辖区",130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130671:"保定高新技术产业开发区",130672:"保定白沟新城",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市"},130700:{130701:"市辖区",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130771:"张家口经济开发区",130772:"张家口市察北管理区",130773:"张家口市塞北管理区"},130800:{130801:"市辖区",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130871:"承德高新技术产业开发区",130881:"平泉市"},130900:{130901:"市辖区",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130971:"河北沧州经济开发区",130972:"沧州高新技术产业开发区",130973:"沧州渤海新区",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市"},131e3:{131001:"市辖区",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131071:"廊坊经济技术开发区",131081:"霸州市",131082:"三河市"},131100:{131101:"市辖区",131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131171:"河北衡水高新技术产业开发区",131172:"衡水滨湖新区",131182:"深州市"},14e4:{140100:"太原市",140200:"大同市",140300:"阳泉市",140400:"长治市",140500:"晋城市",140600:"朔州市",140700:"晋中市",140800:"运城市",140900:"忻州市",141e3:"临汾市",141100:"吕梁市"},140100:{140101:"市辖区",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140171:"山西转型综合改革示范区",140181:"古交市"},140200:{140201:"市辖区",140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140271:"山西大同经济开发区"},140300:{140301:"市辖区",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"},140400:{140401:"市辖区",140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140471:"山西长治高新技术产业园区"},140500:{140501:"市辖区",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市"},140600:{140601:"市辖区",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140671:"山西朔州经济开发区",140681:"怀仁市"},140700:{140701:"市辖区",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市"},140800:{140801:"市辖区",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市"},140900:{140901:"市辖区",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140971:"五台山风景名胜区",140981:"原平市"},141e3:{141001:"市辖区",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市"},141100:{141101:"市辖区",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市"},15e4:{150100:"呼和浩特市",150200:"包头市",150300:"乌海市",150400:"赤峰市",150500:"通辽市",150600:"鄂尔多斯市",150700:"呼伦贝尔市",150800:"巴彦淖尔市",150900:"乌兰察布市",152200:"兴安盟",152500:"锡林郭勒盟",152900:"阿拉善盟"},150100:{150101:"市辖区",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150171:"呼和浩特金海工业园区",150172:"呼和浩特经济技术开发区"},150200:{150201:"市辖区",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150271:"包头稀土高新技术产业开发区"},150300:{150301:"市辖区",150302:"海勃湾区",150303:"海南区",150304:"乌达区"},150400:{150401:"市辖区",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"},150500:{150501:"市辖区",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150571:"通辽经济技术开发区",150581:"霍林郭勒市"},150600:{150601:"市辖区",150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"},150700:{150701:"市辖区",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市"},150800:{150801:"市辖区",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"},150900:{150901:"市辖区",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市"},152200:{152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"},152500:{152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152571:"乌拉盖管委会"},152900:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152971:"内蒙古阿拉善经济开发区"},21e4:{210100:"沈阳市",210200:"大连市",210300:"鞍山市",210400:"抚顺市",210500:"本溪市",210600:"丹东市",210700:"锦州市",210800:"营口市",210900:"阜新市",211e3:"辽阳市",211100:"盘锦市",211200:"铁岭市",211300:"朝阳市",211400:"葫芦岛市"},210100:{210101:"市辖区",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民市"},210200:{210201:"市辖区",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店市",210283:"庄河市"},210300:{210301:"市辖区",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市"},210400:{210401:"市辖区",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"},210500:{210501:"市辖区",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"},210600:{210601:"市辖区",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市"},210700:{210701:"市辖区",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市"},210800:{210801:"市辖区",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市"},210900:{210901:"市辖区",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"},211e3:{211001:"市辖区",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市"},211100:{211101:"市辖区",211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"},211200:{211201:"市辖区",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市"},211300:{211301:"市辖区",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市"},211400:{211401:"市辖区",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市"},22e4:{220100:"长春市",220200:"吉林市",220300:"四平市",220400:"辽源市",220500:"通化市",220600:"白山市",220700:"松原市",220800:"白城市",222400:"延边朝鲜族自治州"},220100:{220101:"市辖区",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220171:"长春经济技术开发区",220172:"长春净月高新技术产业开发区",220173:"长春高新技术产业开发区",220174:"长春汽车经济技术开发区",220182:"榆树市",220183:"德惠市"},220200:{220201:"市辖区",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220271:"吉林经济开发区",220272:"吉林高新技术产业开发区",220273:"吉林中国新加坡食品区",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市"},220300:{220301:"市辖区",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市"},220400:{220401:"市辖区",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"},220500:{220501:"市辖区",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市"},220600:{220601:"市辖区",220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江市"},220700:{220701:"市辖区",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220771:"吉林松原经济开发区",220781:"扶余市"},220800:{220801:"市辖区",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220871:"吉林白城经济开发区",220881:"洮南市",220882:"大安市"},222400:{222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县"},23e4:{230100:"哈尔滨市",230200:"齐齐哈尔市",230300:"鸡西市",230400:"鹤岗市",230500:"双鸭山市",230600:"大庆市",230700:"伊春市",230800:"佳木斯市",230900:"七台河市",231e3:"牡丹江市",231100:"黑河市",231200:"绥化市",232700:"大兴安岭地区"},230100:{230101:"市辖区",230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志市",230184:"五常市"},230200:{230201:"市辖区",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市"},230300:{230301:"市辖区",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市"},230400:{230401:"市辖区",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"},230500:{230501:"市辖区",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"},230600:{230601:"市辖区",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230671:"大庆高新技术产业开发区"},230700:{230701:"市辖区",230717:"伊美区",230718:"乌翠区",230719:"友好区",230722:"嘉荫县",230723:"汤旺县",230724:"丰林县",230725:"大箐山县",230726:"南岔县",230751:"金林区",230781:"铁力市"},230800:{230801:"市辖区",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江市",230882:"富锦市",230883:"抚远市"},230900:{230901:"市辖区",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"},231e3:{231001:"市辖区",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231071:"牡丹江经济技术开发区",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"东宁市"},231100:{231101:"市辖区",231102:"爱辉区",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"嫩江市"},231200:{231201:"市辖区",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市"},232700:{232701:"漠河市",232721:"呼玛县",232722:"塔河县",232761:"加格达奇区",232762:"松岭区",232763:"新林区",232764:"呼中区"},31e4:{310100:"市辖区"},310100:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"},32e4:{320100:"南京市",320200:"无锡市",320300:"徐州市",320400:"常州市",320500:"苏州市",320600:"南通市",320700:"连云港市",320800:"淮安市",320900:"盐城市",321e3:"扬州市",321100:"镇江市",321200:"泰州市",321300:"宿迁市"},320100:{320101:"市辖区",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"},320200:{320201:"市辖区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴市",320282:"宜兴市"},320300:{320301:"市辖区",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320371:"徐州经济技术开发区",320381:"新沂市",320382:"邳州市"},320400:{320401:"市辖区",320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳市"},320500:{320501:"市辖区",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320571:"苏州工业园区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320585:"太仓市"},320600:{320601:"市辖区",320602:"崇川区",320611:"港闸区",320612:"通州区",320623:"如东县",320671:"南通经济技术开发区",320681:"启东市",320682:"如皋市",320684:"海门市",320685:"海安市"},320700:{320701:"市辖区",320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县",320771:"连云港经济技术开发区",320772:"连云港高新技术产业开发区"},320800:{320801:"市辖区",320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县",320871:"淮安经济技术开发区"},320900:{320901:"市辖区",320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320971:"盐城经济技术开发区",320981:"东台市"},321e3:{321001:"市辖区",321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321071:"扬州经济技术开发区",321081:"仪征市",321084:"高邮市"},321100:{321101:"市辖区",321102:"京口区",321111:"润州区",321112:"丹徒区",321171:"镇江新区",321181:"丹阳市",321182:"扬中市",321183:"句容市"},321200:{321201:"市辖区",321202:"海陵区",321203:"高港区",321204:"姜堰区",321271:"泰州医药高新技术产业开发区",321281:"兴化市",321282:"靖江市",321283:"泰兴市"},321300:{321301:"市辖区",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321371:"宿迁经济技术开发区"},33e4:{330100:"杭州市",330200:"宁波市",330300:"温州市",330400:"嘉兴市",330500:"湖州市",330600:"绍兴市",330700:"金华市",330800:"衢州市",330900:"舟山市",331e3:"台州市",331100:"丽水市"},330100:{330101:"市辖区",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330122:"桐庐县",330127:"淳安县",330182:"建德市"},330200:{330201:"市辖区",330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市"},330300:{330301:"市辖区",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330371:"温州经济技术开发区",330381:"瑞安市",330382:"乐清市",330383:"龙港市"},330400:{330401:"市辖区",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市"},330500:{330501:"市辖区",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"},330600:{330601:"市辖区",330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨市",330683:"嵊州市"},330700:{330701:"市辖区",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市"},330800:{330801:"市辖区",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市"},330900:{330901:"市辖区",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"},331e3:{331001:"市辖区",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"玉环市"},331100:{331101:"市辖区",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市"},34e4:{340100:"合肥市",340200:"芜湖市",340300:"蚌埠市",340400:"淮南市",340500:"马鞍山市",340600:"淮北市",340700:"铜陵市",340800:"安庆市",341e3:"黄山市",341100:"滁州市",341200:"阜阳市",341300:"宿州市",341500:"六安市",341600:"亳州市",341700:"池州市",341800:"宣城市"},340100:{340101:"市辖区",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340171:"合肥高新技术产业开发区",340172:"合肥经济技术开发区",340173:"合肥新站高新技术产业开发区",340181:"巢湖市"},340200:{340201:"市辖区",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340225:"无为县",340271:"芜湖经济技术开发区",340272:"安徽芜湖长江大桥经济开发区"},340300:{340301:"市辖区",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340371:"蚌埠市高新技术开发区",340372:"蚌埠市经济开发区"},340400:{340401:"市辖区",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"},340500:{340501:"市辖区",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"},340600:{340601:"市辖区",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"},340700:{340701:"市辖区",340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"},340800:{340801:"市辖区",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340871:"安徽安庆经济开发区",340881:"桐城市",340882:"潜山市"},341e3:{341001:"市辖区",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"},341100:{341101:"市辖区",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341171:"苏滁现代产业园",341172:"滁州经济技术开发区",341181:"天长市",341182:"明光市"},341200:{341201:"市辖区",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341271:"阜阳合肥现代产业园区",341272:"阜阳经济技术开发区",341282:"界首市"},341300:{341301:"市辖区",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341371:"宿州马鞍山现代产业园区",341372:"宿州经济技术开发区"},341500:{341501:"市辖区",341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"},341600:{341601:"市辖区",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"},341700:{341701:"市辖区",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"},341800:{341801:"市辖区",341802:"宣州区",341821:"郎溪县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341871:"宣城市经济开发区",341881:"宁国市",341882:"广德市"},35e4:{350100:"福州市",350200:"厦门市",350300:"莆田市",350400:"三明市",350500:"泉州市",350600:"漳州市",350700:"南平市",350800:"龙岩市",350900:"宁德市"},350100:{350101:"市辖区",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市"},350200:{350201:"市辖区",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"},350300:{350301:"市辖区",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"},350400:{350401:"市辖区",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市"},350500:{350501:"市辖区",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市"},350600:{350601:"市辖区",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市"},350700:{350701:"市辖区",350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市"},350800:{350801:"市辖区",350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市"},350900:{350901:"市辖区",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市"},36e4:{360100:"南昌市",360200:"景德镇市",360300:"萍乡市",360400:"九江市",360500:"新余市",360600:"鹰潭市",360700:"赣州市",360800:"吉安市",360900:"宜春市",361e3:"抚州市",361100:"上饶市"},360100:{360101:"市辖区",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360112:"新建区",360121:"南昌县",360123:"安义县",360124:"进贤县"},360200:{360201:"市辖区",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市"},360300:{360301:"市辖区",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"},360400:{360401:"市辖区",360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"共青城市",360483:"庐山市"},360500:{360501:"市辖区",360502:"渝水区",360521:"分宜县"},360600:{360601:"市辖区",360602:"月湖区",360603:"余江区",360681:"贵溪市"},360700:{360701:"市辖区",360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市"},360800:{360801:"市辖区",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市"},360900:{360901:"市辖区",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市"},361e3:{361001:"市辖区",361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"},361100:{361101:"市辖区",361102:"信州区",361103:"广丰区",361104:"广信区",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市"},37e4:{370100:"济南市",370200:"青岛市",370300:"淄博市",370400:"枣庄市",370500:"东营市",370600:"烟台市",370700:"潍坊市",370800:"济宁市",370900:"泰安市",371e3:"威海市",371100:"日照市",371300:"临沂市",371400:"德州市",371500:"聊城市",371600:"滨州市",371700:"菏泽市"},370100:{370101:"市辖区",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县",370171:"济南高新技术产业开发区"},370200:{370201:"市辖区",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370271:"青岛高新技术产业开发区",370281:"胶州市",370283:"平度市",370285:"莱西市"},370300:{370301:"市辖区",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"},370400:{370401:"市辖区",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市"},370500:{370501:"市辖区",370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县",370571:"东营经济技术开发区",370572:"东营港经济开发区"},370600:{370601:"市辖区",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370671:"烟台高新技术产业开发区",370672:"烟台经济技术开发区",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市"},370700:{370701:"市辖区",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370772:"潍坊滨海经济技术开发区",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市"},370800:{370801:"市辖区",370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370871:"济宁高新技术产业开发区",370881:"曲阜市",370883:"邹城市"},370900:{370901:"市辖区",370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市"},371e3:{371001:"市辖区",371002:"环翠区",371003:"文登区",371071:"威海火炬高技术产业开发区",371072:"威海经济技术开发区",371073:"威海临港经济技术开发区",371082:"荣成市",371083:"乳山市"},371100:{371101:"市辖区",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371171:"日照经济技术开发区"},371300:{371301:"市辖区",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371371:"临沂高新技术产业开发区",371372:"临沂经济技术开发区",371373:"临沂临港经济开发区"},371400:{371401:"市辖区",371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371471:"德州经济技术开发区",371472:"德州运河经济开发区",371481:"乐陵市",371482:"禹城市"},371500:{371501:"市辖区",371502:"东昌府区",371503:"茌平区",371521:"阳谷县",371522:"莘县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市"},371600:{371601:"市辖区",371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平市"},371700:{371701:"市辖区",371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县",371771:"菏泽经济技术开发区",371772:"菏泽高新技术开发区"},41e4:{410100:"郑州市",410200:"开封市",410300:"洛阳市",410400:"平顶山市",410500:"安阳市",410600:"鹤壁市",410700:"新乡市",410800:"焦作市",410900:"濮阳市",411e3:"许昌市",411100:"漯河市",411200:"三门峡市",411300:"南阳市",411400:"商丘市",411500:"信阳市",411600:"周口市",411700:"驻马店市",419e3:"省直辖县级行政区划"},410100:{410101:"市辖区",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410171:"郑州经济技术开发区",410172:"郑州高新技术产业开发区",410173:"郑州航空港经济综合实验区",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市"},410200:{410201:"市辖区",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"},410300:{410301:"市辖区",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410311:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410371:"洛阳高新技术产业开发区",410381:"偃师市"},410400:{410401:"市辖区",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410471:"平顶山高新技术产业开发区",410472:"平顶山市城乡一体化示范区",410481:"舞钢市",410482:"汝州市"},410500:{410501:"市辖区",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410571:"安阳高新技术产业开发区",410581:"林州市"},410600:{410601:"市辖区",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410671:"鹤壁经济技术开发区"},410700:{410701:"市辖区",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410771:"新乡高新技术产业开发区",410772:"新乡经济技术开发区",410773:"新乡市平原城乡一体化示范区",410781:"卫辉市",410782:"辉县市",410783:"长垣市"},410800:{410801:"市辖区",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410871:"焦作城乡一体化示范区",410882:"沁阳市",410883:"孟州市"},410900:{410901:"市辖区",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410971:"河南濮阳工业园区",410972:"濮阳经济技术开发区"},411e3:{411001:"市辖区",411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411071:"许昌经济技术开发区",411081:"禹州市",411082:"长葛市"},411100:{411101:"市辖区",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411171:"漯河经济技术开发区"},411200:{411201:"市辖区",411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411271:"河南三门峡经济开发区",411281:"义马市",411282:"灵宝市"},411300:{411301:"市辖区",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411371:"南阳高新技术产业开发区",411372:"南阳市城乡一体化示范区",411381:"邓州市"},411400:{411401:"市辖区",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411471:"豫东综合物流产业聚集区",411472:"河南商丘经济开发区",411481:"永城市"},411500:{411501:"市辖区",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411571:"信阳高新技术产业开发区"},411600:{411601:"市辖区",411602:"川汇区",411603:"淮阳区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411627:"太康县",411628:"鹿邑县",411671:"河南周口经济开发区",411681:"项城市"},411700:{411701:"市辖区",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411771:"河南驻马店经济开发区"},419e3:{419001:"济源市"},42e4:{420100:"武汉市",420200:"黄石市",420300:"十堰市",420500:"宜昌市",420600:"襄阳市",420700:"鄂州市",420800:"荆门市",420900:"孝感市",421e3:"荆州市",421100:"黄冈市",421200:"咸宁市",421300:"随州市",422800:"恩施土家族苗族自治州",429e3:"省直辖县级行政区划"},420100:{420101:"市辖区",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"},420200:{420201:"市辖区",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市"},420300:{420301:"市辖区",420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市"},420500:{420501:"市辖区",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市"},420600:{420601:"市辖区",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市"},420700:{420701:"市辖区",420702:"梁子湖区",420703:"华容区",420704:"鄂城区"},420800:{420801:"市辖区",420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥市",420882:"京山市"},420900:{420901:"市辖区",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市"},421e3:{421001:"市辖区",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421071:"荆州经济技术开发区",421081:"石首市",421083:"洪湖市",421087:"松滋市"},421100:{421101:"市辖区",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421171:"龙感湖管理区",421181:"麻城市",421182:"武穴市"},421200:{421201:"市辖区",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市"},421300:{421301:"市辖区",421303:"曾都区",421321:"随县",421381:"广水市"},422800:{422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"},429e3:{429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区"},43e4:{430100:"长沙市",430200:"株洲市",430300:"湘潭市",430400:"衡阳市",430500:"邵阳市",430600:"岳阳市",430700:"常德市",430800:"张家界市",430900:"益阳市",431e3:"郴州市",431100:"永州市",431200:"怀化市",431300:"娄底市",433100:"湘西土家族苗族自治州"},430100:{430101:"市辖区",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳市",430182:"宁乡市"},430200:{430201:"市辖区",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430271:"云龙示范区",430281:"醴陵市"},430300:{430301:"市辖区",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430371:"湖南湘潭高新技术产业园区",430372:"湘潭昭山示范区",430373:"湘潭九华示范区",430381:"湘乡市",430382:"韶山市"},430400:{430401:"市辖区",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430471:"衡阳综合保税区",430472:"湖南衡阳高新技术产业园区",430473:"湖南衡阳松木经济开发区",430481:"耒阳市",430482:"常宁市"},430500:{430501:"市辖区",430502:"双清区",430503:"大祥区",430511:"北塔区",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"邵东市"},430600:{430601:"市辖区",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430671:"岳阳市屈原管理区",430681:"汨罗市",430682:"临湘市"},430700:{430701:"市辖区",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430771:"常德市西洞庭管理区",430781:"津市市"},430800:{430801:"市辖区",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"},430900:{430901:"市辖区",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430971:"益阳市大通湖管理区",430972:"湖南益阳高新技术产业园区",430981:"沅江市"},431e3:{431001:"市辖区",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市"},431100:{431101:"市辖区",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431171:"永州经济技术开发区",431172:"永州市金洞管理区",431173:"永州市回龙圩管理区"},431200:{431201:"市辖区",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431271:"怀化市洪江管理区",431281:"洪江市"},431300:{431301:"市辖区",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市"},433100:{433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433173:"湖南永顺经济开发区"},44e4:{440100:"广州市",440200:"韶关市",440300:"深圳市",440400:"珠海市",440500:"汕头市",440600:"佛山市",440700:"江门市",440800:"湛江市",440900:"茂名市",441200:"肇庆市",441300:"惠州市",441400:"梅州市",441500:"汕尾市",441600:"河源市",441700:"阳江市",441800:"清远市",441900:"东莞市",442e3:"中山市",445100:"潮州市",445200:"揭阳市",445300:"云浮市"},440100:{440101:"市辖区",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"},440200:{440201:"市辖区",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市"},440300:{440301:"市辖区",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"},440400:{440401:"市辖区",440402:"香洲区",440403:"斗门区",440404:"金湾区"},440500:{440501:"市辖区",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"},440600:{440601:"市辖区",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"},440700:{440701:"市辖区",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市"},440800:{440801:"市辖区",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市"},440900:{440901:"市辖区",440902:"茂南区",440904:"电白区",440981:"高州市",440982:"化州市",440983:"信宜市"},441200:{441201:"市辖区",441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会市"},441300:{441301:"市辖区",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"},441400:{441401:"市辖区",441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市"},441500:{441501:"市辖区",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市"},441600:{441601:"市辖区",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"},441700:{441701:"市辖区",441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春市"},441800:{441801:"市辖区",441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德市",441882:"连州市"},441900:{441900003:"东城街道",441900004:"南城街道",441900005:"万江街道",441900006:"莞城街道",441900101:"石碣镇",441900102:"石龙镇",441900103:"茶山镇",441900104:"石排镇",441900105:"企石镇",441900106:"横沥镇",441900107:"桥头镇",441900108:"谢岗镇",441900109:"东坑镇",441900110:"常平镇",441900111:"寮步镇",441900112:"樟木头镇",441900113:"大朗镇",441900114:"黄江镇",441900115:"清溪镇",441900116:"塘厦镇",441900117:"凤岗镇",441900118:"大岭山镇",441900119:"长安镇",441900121:"虎门镇",441900122:"厚街镇",441900123:"沙田镇",441900124:"道滘镇",441900125:"洪梅镇",441900126:"麻涌镇",441900127:"望牛墩镇",441900128:"中堂镇",441900129:"高埗镇",441900401:"松山湖",441900402:"东莞港",441900403:"东莞生态园"},442e3:{442000001:"石岐街道",442000002:"东区街道",442000003:"中山港街道",442000004:"西区街道",442000005:"南区街道",442000006:"五桂山街道",442000100:"小榄镇",442000101:"黄圃镇",442000102:"民众镇",442000103:"东凤镇",442000104:"东升镇",442000105:"古镇镇",442000106:"沙溪镇",442000107:"坦洲镇",442000108:"港口镇",442000109:"三角镇",442000110:"横栏镇",442000111:"南头镇",442000112:"阜沙镇",442000113:"南朗镇",442000114:"三乡镇",442000115:"板芙镇",442000116:"大涌镇",442000117:"神湾镇"},445100:{445101:"市辖区",445102:"湘桥区",445103:"潮安区",445122:"饶平县"},445200:{445201:"市辖区",445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市"},445300:{445301:"市辖区",445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定市"},45e4:{450100:"南宁市",450200:"柳州市",450300:"桂林市",450400:"梧州市",450500:"北海市",450600:"防城港市",450700:"钦州市",450800:"贵港市",450900:"玉林市",451e3:"百色市",451100:"贺州市",451200:"河池市",451300:"来宾市",451400:"崇左市"},450100:{450101:"市辖区",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县"},450200:{450201:"市辖区",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"},450300:{450301:"市辖区",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦市"},450400:{450401:"市辖区",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市"},450500:{450501:"市辖区",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"},450600:{450601:"市辖区",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市"},450700:{450701:"市辖区",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"},450800:{450801:"市辖区",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市"},450900:{450901:"市辖区",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市"},451e3:{451001:"市辖区",451002:"右江区",451003:"田阳区",451022:"田东县",451023:"平果县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西市"},451100:{451101:"市辖区",451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"},451200:{451201:"市辖区",451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"},451300:{451301:"市辖区",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市"},451400:{451401:"市辖区",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市"},46e4:{460100:"海口市",460200:"三亚市",460300:"三沙市",460400:"儋州市",469e3:"省直辖县级行政区划"},460100:{460101:"市辖区",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"},460200:{460201:"市辖区",460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"},460300:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域"},460400:{460400100:"那大镇",460400101:"和庆镇",460400102:"南丰镇",460400103:"大成镇",460400104:"雅星镇",460400105:"兰洋镇",460400106:"光村镇",460400107:"木棠镇",460400108:"海头镇",460400109:"峨蔓镇",460400111:"王五镇",460400112:"白马井镇",460400113:"中和镇",460400114:"排浦镇",460400115:"东成镇",460400116:"新州镇",460400499:"洋浦经济开发区",460400500:"华南热作学院"},469e3:{469001:"五指山市",469002:"琼海市",469005:"文昌市",469006:"万宁市",469007:"东方市",469021:"定安县",469022:"屯昌县",469023:"澄迈县",469024:"临高县",469025:"白沙黎族自治县",469026:"昌江黎族自治县",469027:"乐东黎族自治县",469028:"陵水黎族自治县",469029:"保亭黎族苗族自治县",469030:"琼中黎族苗族自治县"},5e5:{500100:"市辖区",500200:"县"},500100:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区"},500200:{500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县"},51e4:{510100:"成都市",510300:"自贡市",510400:"攀枝花市",510500:"泸州市",510600:"德阳市",510700:"绵阳市",510800:"广元市",510900:"遂宁市",511e3:"内江市",511100:"乐山市",511300:"南充市",511400:"眉山市",511500:"宜宾市",511600:"广安市",511700:"达州市",511800:"雅安市",511900:"巴中市",512e3:"资阳市",513200:"阿坝藏族羌族自治州",513300:"甘孜藏族自治州",513400:"凉山彝族自治州"},510100:{510101:"市辖区",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"简阳市"},510300:{510301:"市辖区",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"},510400:{510401:"市辖区",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"},510500:{510501:"市辖区",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"},510600:{510601:"市辖区",510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市"},510700:{510701:"市辖区",510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市"},510800:{510801:"市辖区",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"},510900:{510901:"市辖区",510903:"船山区",510904:"安居区",510921:"蓬溪县",510923:"大英县",510981:"射洪市"},511e3:{511001:"市辖区",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511071:"内江经济开发区",511083:"隆昌市"},511100:{511101:"市辖区",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市"},511300:{511301:"市辖区",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市"},511400:{511401:"市辖区",511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"},511500:{511501:"市辖区",511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"},511600:{511601:"市辖区",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市"},511700:{511701:"市辖区",511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511771:"达州经济开发区",511781:"万源市"},511800:{511801:"市辖区",511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"},511900:{511901:"市辖区",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511971:"巴中经济开发区"},512e3:{512001:"市辖区",512002:"雁江区",512021:"安岳县",512022:"乐至县"},513200:{513201:"马尔康市",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"},513300:{513301:"康定市",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"},513400:{513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"},52e4:{520100:"贵阳市",520200:"六盘水市",520300:"遵义市",520400:"安顺市",520500:"毕节市",520600:"铜仁市",522300:"黔西南布依族苗族自治州",522600:"黔东南苗族侗族自治州",522700:"黔南布依族苗族自治州"},520100:{520101:"市辖区",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇市"},520200:{520201:"钟山区",520203:"六枝特区",520221:"水城县",520281:"盘州市"},520300:{520301:"市辖区",520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市"},520400:{520401:"市辖区",520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"},520500:{520501:"市辖区",520502:"七星关区",520521:"大方县",520522:"黔西县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县"},520600:{520601:"市辖区",520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"},522300:{522301:"兴义市",522302:"兴仁市",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"},522600:{522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"},522700:{522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"},53e4:{530100:"昆明市",530300:"曲靖市",530400:"玉溪市",530500:"保山市",530600:"昭通市",530700:"丽江市",530800:"普洱市",530900:"临沧市",532300:"楚雄彝族自治州",532500:"红河哈尼族彝族自治州",532600:"文山壮族苗族自治州",532800:"西双版纳傣族自治州",532900:"大理白族自治州",533100:"德宏傣族景颇族自治州",533300:"怒江傈僳族自治州",533400:"迪庆藏族自治州"},530100:{530101:"市辖区",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市"},530300:{530301:"市辖区",530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威市"},530400:{530401:"市辖区",530402:"红塔区",530403:"江川区",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县"},530500:{530501:"市辖区",530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲市"},530600:{530601:"市辖区",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富市"},530700:{530701:"市辖区",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"},530800:{530801:"市辖区",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"},530900:{530901:"市辖区",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"},532300:{532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县"},532500:{532501:"个旧市",532502:"开远市",532503:"蒙自市",532504:"弥勒市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"},532600:{532601:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"},532800:{532801:"景洪市",532822:"勐海县",532823:"勐腊县"},532900:{532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"},533100:{533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县"},533300:{533301:"泸水市",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"},533400:{533401:"香格里拉市",533422:"德钦县",533423:"维西傈僳族自治县"},54e4:{540100:"拉萨市",540200:"日喀则市",540300:"昌都市",540400:"林芝市",540500:"山南市",540600:"那曲市",542500:"阿里地区"},540100:{540101:"市辖区",540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县",540171:"格尔木藏青工业园区",540172:"拉萨经济技术开发区",540173:"西藏文化旅游创意园区",540174:"达孜工业园区"},540200:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"},540300:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"},540400:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"},540500:{540501:"市辖区",540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"},540600:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"},542500:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"},61e4:{610100:"西安市",610200:"铜川市",610300:"宝鸡市",610400:"咸阳市",610500:"渭南市",610600:"延安市",610700:"汉中市",610800:"榆林市",610900:"安康市",611e3:"商洛市"},610100:{610101:"市辖区",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"},610200:{610201:"市辖区",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"},610300:{610301:"市辖区",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"},610400:{610401:"市辖区",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"彬州市"},610500:{610501:"市辖区",610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市"},610600:{610601:"市辖区",610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610681:"子长市"},610700:{610701:"市辖区",610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"},610800:{610801:"市辖区",610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木市"},610900:{610901:"市辖区",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县"},611e3:{611001:"市辖区",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"},62e4:{620100:"兰州市",620200:"嘉峪关市",620300:"金昌市",620400:"白银市",620500:"天水市",620600:"武威市",620700:"张掖市",620800:"平凉市",620900:"酒泉市",621e3:"庆阳市",621100:"定西市",621200:"陇南市",622900:"临夏回族自治州",623e3:"甘南藏族自治州"},620100:{620101:"市辖区",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620171:"兰州新区"},620200:{620201:"市辖区"},620300:{620301:"市辖区",620302:"金川区",620321:"永昌县"},620400:{620401:"市辖区",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"},620500:{620501:"市辖区",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"},620600:{620601:"市辖区",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"},620700:{620701:"市辖区",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"},620800:{620801:"市辖区",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭市"},620900:{620901:"市辖区",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市"},621e3:{621001:"市辖区",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"},621100:{621101:"市辖区",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"},621200:{621201:"市辖区",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"},622900:{622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"},623e3:{623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"},63e4:{630100:"西宁市",630200:"海东市",632200:"海北藏族自治州",632300:"黄南藏族自治州",632500:"海南藏族自治州",632600:"果洛藏族自治州",632700:"玉树藏族自治州",632800:"海西蒙古族藏族自治州"},630100:{630101:"市辖区",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县"},630200:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"},632200:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"},632300:{632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"},632500:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"},632600:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"},632700:{632701:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"},632800:{632801:"格尔木市",632802:"德令哈市",632803:"茫崖市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632857:"大柴旦行政委员会"},64e4:{640100:"银川市",640200:"石嘴山市",640300:"吴忠市",640400:"固原市",640500:"中卫市"},640100:{640101:"市辖区",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市"},640200:{640201:"市辖区",640202:"大武口区",640205:"惠农区",640221:"平罗县"},640300:{640301:"市辖区",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市"},640400:{640401:"市辖区",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"},640500:{640501:"市辖区",640502:"沙坡头区",640521:"中宁县",640522:"海原县"},65e4:{650100:"乌鲁木齐市",650200:"克拉玛依市",650400:"吐鲁番市",650500:"哈密市",652300:"昌吉回族自治州",652700:"博尔塔拉蒙古自治州",652800:"巴音郭楞蒙古自治州",652900:"阿克苏地区",653e3:"克孜勒苏柯尔克孜自治州",653100:"喀什地区",653200:"和田地区",654e3:"伊犁哈萨克自治州",654200:"塔城地区",654300:"阿勒泰地区",659e3:"自治区直辖县级行政区划"},650100:{650101:"市辖区",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"},650200:{650201:"市辖区",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"},650400:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"},650500:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"},652300:{652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"},652700:{652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县"},652800:{652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652871:"库尔勒经济技术开发区"},652900:{652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"},653e3:{653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"},653100:{653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"},653200:{653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"},654e3:{654002:"伊宁市",654003:"奎屯市",654004:"霍尔果斯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"},654200:{654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"},654300:{654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"},659e3:{659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",659006:"铁门关市"},71e4:{710100:"台北市",710200:"高雄市",710300:"基隆市",710400:"台中市",710500:"台南市",710600:"新竹市",710700:"嘉义市"},710100:{710101:"内湖区",710102:"南港区",710103:"中正区",710104:"松山区",710105:"信义区",710106:"大安区",710107:"中山区",710108:"文山区",710109:"大同区",710110:"万华区",710111:"士林区",710112:"北投区"},710200:{710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区"},710300:{710301:"仁爱区",710302:"信义区",710303:"中正区",710304:"暖暖区",710305:"安乐区",710307:"七堵区"},710400:{710301:"中区",710302:"东区",710303:"南区",710304:"西区",710305:"北区",710306:"北屯区",710307:"西屯区",710308:"南屯区"},710500:{710501:"中西区",710502:"东区",710503:"南区",710504:"北区",710505:"安平区",710506:"安南区"},710600:{710601:"东区",710602:"北区",710603:"香山区"},710700:{710701:"东区",710702:"西区"},81e4:{810001:"中西區",810002:"灣仔區",810003:"東區",810004:"南區",810005:"油尖旺區",810006:"深水埗區",810007:"九龍城區",810008:"黃大仙區",810009:"觀塘區",810010:"荃灣區",810011:"屯門區",810012:"元朗區",810013:"北區",810014:"大埔區",810015:"西貢區",810016:"沙田區",810017:"葵青區",810018:"離島區"},82e4:{820001:"花地瑪堂區",820002:"花王堂區",820003:"望德堂區",820004:"大堂區",820005:"風順堂區",820006:"嘉模堂區",820007:"路氹填海區",820008:"聖方濟各堂區"}};var S=P;const j=A(S),n={},m={},T=j[86],g=[];let D=[];const r="全部";n[""]=r;Object.keys(T).forEach(c=>{const e=T[c];g.push({value:c,label:e}),n[c]=e,m[e]={code:c},m[e][r]={code:""}});g.forEach(c=>{const e=c.value,t=c.label,l=[],o=j[e]??{};Object.keys(o).forEach(d=>{l.push({value:d,label:o[d]}),n[d]=o[d],m[t][o[d]]={code:d},m[t][o[d]][r]={code:""}}),l.length&&(c.children=l)});D=y(g);g.forEach(c=>{const e=c.children,t=c.label;e&&e.forEach(l=>{const o=l.value,d=l.label,p=[],i=j[o]??{};Object.keys(i).forEach(v=>{p.push({value:v,label:i[v]}),n[v]=i[v],m[t][d][i[v]]={code:v}}),p.length&&(l.children=p)})});const O=y(D);O.unshift({value:"",label:r});O.forEach(c=>{const e=c.children;e!=null&&e.length&&(e.unshift({value:"",label:r}),e.forEach(t=>{const l=t.children;l!=null&&l.length&&l.unshift({value:"",label:r})}))});const $=y(g);$.unshift({value:"",label:r});$.forEach(c=>{const e=c.children;e!=null&&e.length&&(e.unshift({value:"",label:r}),e.forEach(t=>{const l=t.children;l!=null&&l.length&&l.unshift({value:"",label:r})}))});function E(c,e,t){let l="";if(c&&m[c]){const o=m[c];if(l=o.code,e&&o[e]){const d=o[e];l=`${l}${e===r?"":", "}${d.code}`,t&&d[t]&&(l=`${l}${t===r?"":", "}${d[t].code}`)}}return l}const q={class:"flex flex-col items-center justify-center"},F={class:"imp"},G={class:"leading-10"},R={class:"flex flex-col items-center justify-center mt-3"},X={class:"imp"},z={class:"leading-10"},H={class:"flex flex-col items-center justify-center mt-3"},I={class:"imp"},J={class:"leading-10"},K={class:"flex flex-col items-center justify-center mt-3"},M={class:"imp"},Q={class:"leading-10"},W=N({name:"Cascader",__name:"cascader",setup(c){const e=b(["110000","110100"]),t=b(["120000","120100","120101"]),l=b(["130000",""]),o=b(["120000","120100",""]),d=p=>{};return(p,i)=>{const v=V("el-cascader"),C=V("el-col"),k=V("el-row"),w=V("el-card");return B(),U(w,{shadow:"never"},{header:h(()=>[x(" 区域级联选择器 ")]),default:h(()=>[_(k,{gutter:20},{default:h(()=>[_(C,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[a("div",q,[a("span",F,[x(" 1. 二级联动(不带“全部”选项) "),_(v,{options:s(D),modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=f=>e.value=f),onChange:d},null,8,["options","modelValue"])]),a("div",G,[a("div",null,"绑定值:"+u(e.value),1),a("div",null," 区域码转汉字: "+u(s(n)[e.value[0]])+", "+u(s(n)[e.value[1]]),1),a("div",null," 汉字转区域码: "+u(s(E)(s(n)[e.value[0]],s(n)[e.value[1]])),1)])])]),_:1}),_(C,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[a("div",R,[a("span",X,[x(" 2. 二级联动(带有“全部”选项) "),_(v,{options:s(O),modelValue:l.value,"onUpdate:modelValue":i[1]||(i[1]=f=>l.value=f),onChange:d},null,8,["options","modelValue"])]),a("div",z,[a("div",null,"绑定值:"+u(l.value),1),a("div",null," 区域码转汉字: "+u(s(n)[l.value[0]])+", "+u(s(n)[l.value[1]]),1),a("div",null," 汉字转区域码: "+u(s(E)(s(n)[l.value[0]],s(n)[l.value[1]])),1)])])]),_:1}),_(C,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[a("div",H,[a("span",I,[x(" 3. 三级联动(不带“全部”选项) "),_(v,{options:s(g),modelValue:t.value,"onUpdate:modelValue":i[2]||(i[2]=f=>t.value=f),onChange:d},null,8,["options","modelValue"])]),a("div",J,[a("div",null,"绑定值:"+u(t.value),1),a("div",null," 区域码转汉字: "+u(s(n)[t.value[0]])+", "+u(s(n)[t.value[1]])+", "+u(s(n)[t.value[2]]),1),a("div",null," 汉字转区域码: "+u(s(E)(s(n)[t.value[0]],s(n)[t.value[1]],s(n)[t.value[2]])),1)])])]),_:1}),_(C,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[a("div",K,[a("span",M,[x(' 4. 三级联动(带"全部选项") '),_(v,{options:s($),modelValue:o.value,"onUpdate:modelValue":i[3]||(i[3]=f=>o.value=f),onChange:d},null,8,["options","modelValue"])]),a("div",Q,[a("div",null,"绑定值:"+u(o.value),1),a("div",null," 区域码转汉字: "+u(s(n)[o.value[0]])+", "+u(s(n)[o.value[1]])+", "+u(s(n)[o.value[2]]),1),a("div",null," 汉字转区域码: "+u(s(E)(s(n)[o.value[0]],s(n)[o.value[1]],s(n)[o.value[2]])),1)])])]),_:1})]),_:1})]),_:1})}}});const Z=L(W,[["__scopeId","data-v-4ebc4965"]]);export{Z as default}; diff --git a/dist/static/js/columns-1bc0ce1c.js b/dist/static/js/columns-03aeaacd.js similarity index 88% rename from dist/static/js/columns-1bc0ce1c.js rename to dist/static/js/columns-03aeaacd.js index 224742008..21b4a61fb 100644 --- a/dist/static/js/columns-1bc0ce1c.js +++ b/dist/static/js/columns-03aeaacd.js @@ -1,4 +1,4 @@ -import{t as h}from"./data-c6346f61.js";import{r as s,ai as l,k as d,ay as r,I as m}from"./index-ceadd577.js";function C(){const e=s([]),a=s(!0),i=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=l({pageSize:20,currentPage:1,pageSizes:[20,40,60],total:0,align:"right",background:!0,small:!1}),o=l({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:` +import{t as h}from"./data-43132d69.js";import{r as s,ai as l,k as d,ay as r,I as m}from"./index-42b0cfe4.js";function C(){const e=s([]),a=s(!0),i=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=l({pageSize:20,currentPage:1,pageSizes:[20,40,60],total:0,align:"right",background:!0,small:!1}),o=l({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:` l("div",{style:"display: flex; align-items: center"},[l(a("iconify-icon-online"),{icon:"ep:timer"},null),l("span",{style:"margin-left: 10px"},[e.date])])},{label:"姓名",prop:"name",cellRenderer:({row:e})=>l(a("el-popover"),{effect:"light",trigger:"hover",placement:"top",width:"auto"},{default:()=>l(s,null,[l("div",null,[n("name: "),e.name]),l("div",null,[n("address: "),e.address])]),reference:()=>l(a("el-tag"),null,{default:()=>[e.name]})})},{label:"地址",prop:"address"},{label:"操作",cellRenderer:({index:e,row:t})=>l(s,null,[l(a("el-button"),{size:"small",onClick:()=>i(e+1,t)},{default:()=>[n("Edit")]}),l(a("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,t)},{default:()=>[n("Delete")]})])}],i=(e,t)=>{r(`您编辑了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},d=(e,t)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:o,tableData:c}}export{u as useColumns}; +import{h as l,a,F as s,f as n,m as r}from"./index-42b0cfe4.js";import{t as c}from"./data-9af24e22.js";function u(){const o=[{label:"日期",prop:"date",cellRenderer:({row:e})=>l("div",{style:"display: flex; align-items: center"},[l(a("iconify-icon-online"),{icon:"ep:timer"},null),l("span",{style:"margin-left: 10px"},[e.date])])},{label:"姓名",prop:"name",cellRenderer:({row:e})=>l(a("el-popover"),{effect:"light",trigger:"hover",placement:"top",width:"auto"},{default:()=>l(s,null,[l("div",null,[n("name: "),e.name]),l("div",null,[n("address: "),e.address])]),reference:()=>l(a("el-tag"),null,{default:()=>[e.name]})})},{label:"地址",prop:"address"},{label:"操作",cellRenderer:({index:e,row:t})=>l(s,null,[l(a("el-button"),{size:"small",onClick:()=>i(e+1,t)},{default:()=>[n("Edit")]}),l(a("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,t)},{default:()=>[n("Delete")]})])}],i=(e,t)=>{r(`您编辑了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},d=(e,t)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:o,tableData:c}}export{u as useColumns}; diff --git a/dist/static/js/columns-b74d2f49.js b/dist/static/js/columns-2aa5fe39.js similarity index 92% rename from dist/static/js/columns-b74d2f49.js rename to dist/static/js/columns-2aa5fe39.js index 46072e58c..bb3937d7e 100644 --- a/dist/static/js/columns-b74d2f49.js +++ b/dist/static/js/columns-2aa5fe39.js @@ -1 +1 @@ -import{r as c,I as m,a9 as i,D as p,aE as u,aY as h,m as f}from"./index-ceadd577.js";import{a as d}from"./data-c6346f61.js";function v(){const a=c(m(d,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=i(),r=p(()=>s.value?"dark":"light");return a.value.forEach((b,e)=>{const{setOptions:o}=u(h(`PieChartRef${e}`),{theme:r});o({tooltip:{trigger:"item",confine:!0},series:[{name:"Github信息",type:"pie",data:[{value:1067,name:"watchers"},{value:4037,name:"star"},{value:859,name:"forks"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:({data:{name:l,value:n}})=>{f(`您点击了第 ${e+1} 行,图表标题为${l},图表数据为:${n}`,{type:"success"})}})}),{columns:t,dataList:a}}export{v as useColumns}; +import{r as c,I as m,a9 as i,D as p,aE as u,aY as h,m as f}from"./index-42b0cfe4.js";import{a as d}from"./data-43132d69.js";function v(){const a=c(m(d,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=i(),r=p(()=>s.value?"dark":"light");return a.value.forEach((b,e)=>{const{setOptions:o}=u(h(`PieChartRef${e}`),{theme:r});o({tooltip:{trigger:"item",confine:!0},series:[{name:"Github信息",type:"pie",data:[{value:1067,name:"watchers"},{value:4037,name:"star"},{value:859,name:"forks"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:({data:{name:l,value:n}})=>{f(`您点击了第 ${e+1} 行,图表标题为${l},图表数据为:${n}`,{type:"success"})}})}),{columns:t,dataList:a}}export{v as useColumns}; diff --git a/dist/static/js/columns-dae514b7.js b/dist/static/js/columns-342fbfd7.js similarity index 82% rename from dist/static/js/columns-dae514b7.js rename to dist/static/js/columns-342fbfd7.js index 470ace5f0..afc5c55fe 100644 --- a/dist/static/js/columns-dae514b7.js +++ b/dist/static/js/columns-342fbfd7.js @@ -1 +1 @@ -import{S as m}from"./sortable.esm-e674cde8.js";import{r as o,I as i,k as b,n as t}from"./index-ceadd577.js";import{a as v}from"./data-c6346f61.js";function I(){const l=o(i(v,!0)),e=o([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),p=o([{label:"ID",prop:a=>e.value[a].prop},{label:"日期",prop:a=>e.value[a].prop},{label:"姓名",prop:a=>e.value[a].prop}]),n=a=>{a.preventDefault(),t(()=>{const s=document.querySelector(".el-table__header-wrapper tr");m.create(s,{animation:300,delay:0,onEnd:({newIndex:u,oldIndex:r})=>{const c=e.value[r];e.value.splice(r,1),e.value.splice(u,0,c)}})})};return b(()=>{t(()=>{n(event)})}),{columns:p,dataList:l,columnsDrag:e}}export{I as useColumns}; +import{S as m}from"./sortable.esm-e674cde8.js";import{r as o,I as i,k as b,n as t}from"./index-42b0cfe4.js";import{a as v}from"./data-43132d69.js";function I(){const l=o(i(v,!0)),e=o([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),p=o([{label:"ID",prop:a=>e.value[a].prop},{label:"日期",prop:a=>e.value[a].prop},{label:"姓名",prop:a=>e.value[a].prop}]),n=a=>{a.preventDefault(),t(()=>{const s=document.querySelector(".el-table__header-wrapper tr");m.create(s,{animation:300,delay:0,onEnd:({newIndex:u,oldIndex:r})=>{const c=e.value[r];e.value.splice(r,1),e.value.splice(u,0,c)}})})};return b(()=>{t(()=>{n(event)})}),{columns:p,dataList:l,columnsDrag:e}}export{I as useColumns}; diff --git a/dist/static/js/columns-ebf2e2fa.js b/dist/static/js/columns-474c4a4a.js similarity index 99% rename from dist/static/js/columns-ebf2e2fa.js rename to dist/static/js/columns-474c4a4a.js index 08a621559..4e1a6ba3e 100644 --- a/dist/static/js/columns-ebf2e2fa.js +++ b/dist/static/js/columns-474c4a4a.js @@ -1,4 +1,4 @@ -import{a as K}from"./data-c6346f61.js";import{d as Q,r as f,D as X,E as I,ac as Y,s as Z,v as ee,o as m,c as A,i as b,F as k,q as N,aq as x,ak as R,g as z,ar as T,T as ne,j as g,e as M,t as L,G as $,b0 as te,n as E,O as ae,av as ie,I as _e,m as oe}from"./index-ceadd577.js";/*! ***************************************************************************** +import{a as K}from"./data-43132d69.js";import{d as Q,r as f,D as X,E as I,ac as Y,s as Z,v as ee,o as m,c as A,i as b,F as k,q as N,aq as x,ak as R,g as z,ar as T,T as ne,j as g,e as M,t as L,G as $,b0 as te,n as E,O as ae,av as ie,I as _e,m as oe}from"./index-42b0cfe4.js";/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any diff --git a/dist/static/js/columns-67044dfe.js b/dist/static/js/columns-6b41d831.js similarity index 83% rename from dist/static/js/columns-67044dfe.js rename to dist/static/js/columns-6b41d831.js index 6295a016c..331dd4e31 100644 --- a/dist/static/js/columns-67044dfe.js +++ b/dist/static/js/columns-6b41d831.js @@ -1 +1 @@ -import{S as c}from"./sortable.esm-e674cde8.js";import{r as p,I as i,h as a,a as u,n as d}from"./index-ceadd577.js";import{a as m}from"./data-c6346f61.js";function D(){const e=p(i(m,!0)),n=o=>{o.preventDefault(),d(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:t,oldIndex:l})=>{const s=e.value.splice(l,1)[0];e.value.splice(t,0,s)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>a("div",{class:"flex items-center"},[a(u("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>n(r)},null),a("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{D as useColumns}; +import{S as c}from"./sortable.esm-e674cde8.js";import{r as p,I as i,h as a,a as u,n as d}from"./index-42b0cfe4.js";import{a as m}from"./data-43132d69.js";function D(){const e=p(i(m,!0)),n=o=>{o.preventDefault(),d(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:t,oldIndex:l})=>{const s=e.value.splice(l,1)[0];e.value.splice(t,0,s)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>a("div",{class:"flex items-center"},[a(u("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>n(r)},null),a("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{D as useColumns}; diff --git a/dist/static/js/columns-963fe6ad.js b/dist/static/js/columns-6d554563.js similarity index 91% rename from dist/static/js/columns-963fe6ad.js rename to dist/static/js/columns-6d554563.js index 98451c660..27d795433 100644 --- a/dist/static/js/columns-963fe6ad.js +++ b/dist/static/js/columns-6d554563.js @@ -1,4 +1,4 @@ -import{t as C}from"./data-c6346f61.js";import{r as a,ai as u,b4 as S,k as x,ay as c,I as y}from"./index-ceadd577.js";function z(){const o=a([]),t=a(!0),s=a("no"),n=a("nohide"),f=a("default"),h=a(!1),i=a("right"),d=[{type:"selection",align:"left",reserveSelection:!0,hide:()=>s.value==="no"},{label:"日期",prop:"date",hide:()=>n.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>n.value==="hideName"},{label:"地址",prop:"address",hide:()=>n.value==="hideAddress"}],l=u({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),r=u({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:` +import{t as C}from"./data-43132d69.js";import{r as a,ai as u,b4 as S,k as x,ay as c,I as y}from"./index-42b0cfe4.js";function z(){const o=a([]),t=a(!0),s=a("no"),n=a("nohide"),f=a("default"),h=a(!1),i=a("right"),d=[{type:"selection",align:"left",reserveSelection:!0,hide:()=>s.value==="no"},{label:"日期",prop:"date",hide:()=>n.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>n.value==="hideName"},{label:"地址",prop:"address",hide:()=>n.value==="hideAddress"}],l=u({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),r=u({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:` {d(a.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:f}){if(r==="id")return f<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:e,dataList:t,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{g as useColumns}; +import{P as d}from"./print-a6e42845.js";import{b}from"./data-43132d69.js";import{r as c,I as i}from"./index-42b0cfe4.js";function g(a){const t=c(i(b,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=()=>{d(a.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:f}){if(r==="id")return f<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:e,dataList:t,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{g as useColumns}; diff --git a/dist/static/js/columns-15aaedc0.js b/dist/static/js/columns-81a95c64.js similarity index 74% rename from dist/static/js/columns-15aaedc0.js rename to dist/static/js/columns-81a95c64.js index ef63dfacb..fde44d112 100644 --- a/dist/static/js/columns-15aaedc0.js +++ b/dist/static/js/columns-81a95c64.js @@ -1 +1 @@ -import{b as r}from"./data-c6346f61.js";import{r as s,I as l,k as p,ay as n,p as i}from"./index-ceadd577.js";function u(a){const e=s(l(r,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return p(()=>{n().then(()=>{const{setWatermark:o}=i(a.value.getTableDoms().tableWrapper);o("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:252,height:80})})}),{columns:t,dataList:e}}export{u as useColumns}; +import{b as r}from"./data-43132d69.js";import{r as s,I as l,k as p,ay as n,p as i}from"./index-42b0cfe4.js";function u(a){const e=s(l(r,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return p(()=>{n().then(()=>{const{setWatermark:o}=i(a.value.getTableDoms().tableWrapper);o("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:252,height:80})})}),{columns:t,dataList:e}}export{u as useColumns}; diff --git a/dist/static/js/columns-43640cdf.js b/dist/static/js/columns-94e2a27b.js similarity index 78% rename from dist/static/js/columns-43640cdf.js rename to dist/static/js/columns-94e2a27b.js index 616440f02..716ca7a8e 100644 --- a/dist/static/js/columns-43640cdf.js +++ b/dist/static/js/columns-94e2a27b.js @@ -1 +1 @@ -import{u as t,w as u}from"./xlsx-f5126985.js";import{a as i}from"./data-c6346f61.js";import{r as m,I as b,m as f}from"./index-ceadd577.js";function w(){const s=m(b(i,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:s,exportExcel:()=>{const a=s.value.map(o=>{const p=[];return e.forEach(c=>{p.push(o[c.prop])}),p}),r=[];e.forEach(o=>{r.push(o.label)}),a.unshift(r);const l=t.aoa_to_sheet(a),n=t.book_new();t.book_append_sheet(n,l,"数据报表"),u(n,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns}; +import{u as t,w as u}from"./xlsx-f5126985.js";import{a as i}from"./data-43132d69.js";import{r as m,I as b,m as f}from"./index-42b0cfe4.js";function w(){const s=m(b(i,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:s,exportExcel:()=>{const a=s.value.map(o=>{const p=[];return e.forEach(c=>{p.push(o[c.prop])}),p}),r=[];e.forEach(o=>{r.push(o.label)}),a.unshift(r);const l=t.aoa_to_sheet(a),n=t.book_new();t.book_append_sheet(n,l,"数据报表"),u(n,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns}; diff --git a/dist/static/js/columns-d8def6bf.js b/dist/static/js/columns-a9e72791.js similarity index 95% rename from dist/static/js/columns-d8def6bf.js rename to dist/static/js/columns-a9e72791.js index 903c15d23..f04793b74 100644 --- a/dist/static/js/columns-d8def6bf.js +++ b/dist/static/js/columns-a9e72791.js @@ -1 +1 @@ -import{h as e,a as n,f as i,au as o}from"./index-ceadd577.js";function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o(t)}function p(){const{pkg:t,lastBuildTime:s}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.6","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.7","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.4.0"},lastBuildTime:"2023-06-25 18:38:46"},{version:r}=t;return{columns:[{label:"版本",cellRenderer:()=>e(n("el-tag"),{size:"small"},l(r)?r:{default:()=>[r]})},{label:"最后编译时间",cellRenderer:()=>e(n("el-tag"),{size:"small"},l(s)?s:{default:()=>[s]})},{label:"文档地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("文档地址")])])},{label:"预览地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("预览地址")])])},{label:"Github",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("Github")])])},{label:"精简版",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/pure-admin-thin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("精简版")])])}]}}export{p as useColumns}; +import{h as e,a as n,f as i,au as o}from"./index-42b0cfe4.js";function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o(t)}function p(){const{pkg:t,lastBuildTime:s}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.6","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.7","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.5.0"},lastBuildTime:"2023-06-26 11:32:41"},{version:r}=t;return{columns:[{label:"版本",cellRenderer:()=>e(n("el-tag"),{size:"small"},l(r)?r:{default:()=>[r]})},{label:"最后编译时间",cellRenderer:()=>e(n("el-tag"),{size:"small"},l(s)?s:{default:()=>[s]})},{label:"文档地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("文档地址")])])},{label:"预览地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("预览地址")])])},{label:"Github",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("Github")])])},{label:"精简版",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/pure-admin-thin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("精简版")])])}]}}export{p as useColumns}; diff --git a/dist/static/js/columns-2bdec4e7.js b/dist/static/js/columns-b312cbd2.js similarity index 93% rename from dist/static/js/columns-2bdec4e7.js rename to dist/static/js/columns-b312cbd2.js index 243b399da..04ee55b01 100644 --- a/dist/static/js/columns-2bdec4e7.js +++ b/dist/static/js/columns-b312cbd2.js @@ -1 +1 @@ -import{r as d,D as i,h as t,a as s,f as o,F as m,m as r}from"./index-ceadd577.js";import{t as p}from"./data-ce9440dd.js";function g(){const a=d(""),n=i(()=>p.filter(e=>!a.value||e.name.toLowerCase().includes(a.value.toLowerCase()))),u=(e,l)=>{r(`您编辑了第 ${e} 行,数据为:${JSON.stringify(l)}`,{type:"success"})},c=(e,l)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(l)}`)};return{columns:[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>t(s("el-input"),{modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:l})=>t(m,null,[t(s("el-button"),{size:"small",onClick:()=>u(e+1,l)},{default:()=>[o("Edit")]}),t(s("el-button"),{size:"small",type:"danger",onClick:()=>c(e+1,l)},{default:()=>[o("Delete")]})])}],filterTableData:n}}export{g as useColumns}; +import{r as d,D as i,h as t,a as s,f as o,F as m,m as r}from"./index-42b0cfe4.js";import{t as p}from"./data-9af24e22.js";function g(){const a=d(""),n=i(()=>p.filter(e=>!a.value||e.name.toLowerCase().includes(a.value.toLowerCase()))),u=(e,l)=>{r(`您编辑了第 ${e} 行,数据为:${JSON.stringify(l)}`,{type:"success"})},c=(e,l)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(l)}`)};return{columns:[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>t(s("el-input"),{modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:l})=>t(m,null,[t(s("el-button"),{size:"small",onClick:()=>u(e+1,l)},{default:()=>[o("Edit")]}),t(s("el-button"),{size:"small",type:"danger",onClick:()=>c(e+1,l)},{default:()=>[o("Delete")]})])}],filterTableData:n}}export{g as useColumns}; diff --git a/dist/static/js/columns-75d79a61.js b/dist/static/js/columns-cecb48d1.js similarity index 82% rename from dist/static/js/columns-75d79a61.js rename to dist/static/js/columns-cecb48d1.js index 0961e384f..aa6b88179 100644 --- a/dist/static/js/columns-75d79a61.js +++ b/dist/static/js/columns-cecb48d1.js @@ -1 +1 @@ -import{b as o}from"./data-c6346f61.js";import{r as u,ai as i}from"./index-ceadd577.js";function h(r,l){const n=u([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=i({pageSize:10,currentPage:1,layout:"prev, pager, next",total:o.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:o,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=l.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=l.value.getTableRef();a(o.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{h as useColumns}; +import{b as o}from"./data-43132d69.js";import{r as u,ai as i}from"./index-42b0cfe4.js";function h(r,l){const n=u([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=i({pageSize:10,currentPage:1,layout:"prev, pager, next",total:o.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:o,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=l.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=l.value.getTableRef();a(o.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{h as useColumns}; diff --git a/dist/static/js/columns-453a481e.js b/dist/static/js/columns-e229e9c2.js similarity index 95% rename from dist/static/js/columns-453a481e.js rename to dist/static/js/columns-e229e9c2.js index ca132e35b..6aefb7d71 100644 --- a/dist/static/js/columns-453a481e.js +++ b/dist/static/js/columns-e229e9c2.js @@ -1 +1 @@ -import{T as o}from"./index-e5cd6a13.js";import{d as i}from"./office-building-cc7a1721.js";import{d as c}from"./iphone-bcaa848c.js";import{d as u}from"./user-3-fill-70ba8c19.js";import{h as e,a as l,f as n}from"./index-ceadd577.js";const r={width:1024,height:1024,body:''},s={width:1024,height:1024,body:''},f={width:1024,height:1024,body:''};function C(){const a=[{type:"",label:"善良"},{type:"success",label:"好学"},{type:"info",label:"幽默"},{type:"danger",label:"旅游"},{type:"warning",label:"追剧"}];return{columnsA:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:u},null)]}),n("用户名")]),value:"乐于分享的程序员小铭"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:c},null)]}),n("手机号")]),value:"123456789"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:s},null)]}),n("居住地")]),value:"中国"}],columnsB:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:r},null)]}),n("标签")]),cellRenderer:()=>a.map(t=>e(l("el-tag"),{class:"mr-[10px]",type:t.type,size:"small",effect:"dark"},{default:()=>[t.label]}))},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:i},null)]}),n("联系地址")]),value:"中华人民共和国"}],columnsC:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:f},null)]}),n("个性签名")]),cellRenderer:()=>e(o,{className:"github",values:["办法总比困难多"],cursor:!1,speed:100},null)}]}}export{C as useColumns}; +import{T as o}from"./index-6393607f.js";import{d as i}from"./office-building-cc7a1721.js";import{d as c}from"./iphone-bcaa848c.js";import{d as u}from"./user-3-fill-70ba8c19.js";import{h as e,a as l,f as n}from"./index-42b0cfe4.js";const r={width:1024,height:1024,body:''},s={width:1024,height:1024,body:''},f={width:1024,height:1024,body:''};function C(){const a=[{type:"",label:"善良"},{type:"success",label:"好学"},{type:"info",label:"幽默"},{type:"danger",label:"旅游"},{type:"warning",label:"追剧"}];return{columnsA:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:u},null)]}),n("用户名")]),value:"乐于分享的程序员小铭"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:c},null)]}),n("手机号")]),value:"123456789"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:s},null)]}),n("居住地")]),value:"中国"}],columnsB:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:r},null)]}),n("标签")]),cellRenderer:()=>a.map(t=>e(l("el-tag"),{class:"mr-[10px]",type:t.type,size:"small",effect:"dark"},{default:()=>[t.label]}))},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:i},null)]}),n("联系地址")]),value:"中华人民共和国"}],columnsC:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:f},null)]}),n("个性签名")]),cellRenderer:()=>e(o,{className:"github",values:["办法总比困难多"],cursor:!1,speed:100},null)}]}}export{C as useColumns}; diff --git a/dist/static/js/columns-a9925c7c.js b/dist/static/js/columns-e5795be2.js similarity index 92% rename from dist/static/js/columns-a9925c7c.js rename to dist/static/js/columns-e5795be2.js index 3dcb477f8..73e5a214e 100644 --- a/dist/static/js/columns-a9925c7c.js +++ b/dist/static/js/columns-e5795be2.js @@ -1 +1 @@ -import{r as n,I as _,D as i,h as t,g as r,ar as c,bm as D,a as f,m as I,ay as M}from"./index-ceadd577.js";import{b as O}from"./data-c6346f61.js";import{d as S}from"./edit-pen-37b5ced2.js";import{d as V}from"./check-3815600c.js";function E(){const l=n({}),u=n({}),o=n(-1),v=n(_(O,!0)),m=i(()=>e=>{var a;return(a=l.value[e])==null?void 0:a.value}),s=i(()=>e=>{var a;return(a=u.value[e])==null?void 0:a.editing}),p=i(()=>(e,a=!1)=>["cursor-pointer","ml-2","transition","delay-100",a?["hover:scale-110","hover:text-red-500"]:s.value(e)&&["scale-150","text-red-500"]]),b=[{label:"ID(可编辑)",prop:"id",cellRenderer:({row:e,index:a})=>t("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>o.value=a,onMouseleave:()=>d(a)},[r(t("p",null,[e.id]),[[c,!s.value(a)]]),t(D,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[r(t(f("el-input"),{modelValue:m.value(a),onInput:C=>h(C,a)},null),[[c,s.value(a)]])]}),r(t(f("iconify-icon-offline"),{icon:V,class:p.value(a),onClick:()=>y(a)},null),[[c,s.value(a)]]),r(t(f("iconify-icon-offline"),{icon:S,class:p.value(a,!0),onClick:()=>g(e,a)},null),[[c,o.value===a&&!s.value(a)]])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];function g({id:e},a){l.value[a]=Object.assign({},l.value[a],{value:e}),u.value[a]=Object.assign({},u.value[a],{editing:!0})}function d(e){var a;(a=l.value[e])!=null&&a.value?o.value=e:o.value=-1}function h(e,a){l.value[a].value=e}function y(e){v.value[e].id=l.value[e].value,I(`您编辑了第 ${e+1} 行,编辑后数据为:${JSON.stringify(v.value[e])}`,{type:"success"}),u.value[e]=Object.assign({},u.value[e],{editing:!1}),M().then(()=>l.value[e].value=null)}return{columns:b,dataList:v}}export{E as useColumns}; +import{r as n,I as _,D as i,h as t,g as r,ar as c,bm as D,a as f,m as I,ay as M}from"./index-42b0cfe4.js";import{b as O}from"./data-43132d69.js";import{d as S}from"./edit-pen-37b5ced2.js";import{d as V}from"./check-3815600c.js";function E(){const l=n({}),u=n({}),o=n(-1),v=n(_(O,!0)),m=i(()=>e=>{var a;return(a=l.value[e])==null?void 0:a.value}),s=i(()=>e=>{var a;return(a=u.value[e])==null?void 0:a.editing}),p=i(()=>(e,a=!1)=>["cursor-pointer","ml-2","transition","delay-100",a?["hover:scale-110","hover:text-red-500"]:s.value(e)&&["scale-150","text-red-500"]]),b=[{label:"ID(可编辑)",prop:"id",cellRenderer:({row:e,index:a})=>t("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>o.value=a,onMouseleave:()=>d(a)},[r(t("p",null,[e.id]),[[c,!s.value(a)]]),t(D,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[r(t(f("el-input"),{modelValue:m.value(a),onInput:C=>h(C,a)},null),[[c,s.value(a)]])]}),r(t(f("iconify-icon-offline"),{icon:V,class:p.value(a),onClick:()=>y(a)},null),[[c,s.value(a)]]),r(t(f("iconify-icon-offline"),{icon:S,class:p.value(a,!0),onClick:()=>g(e,a)},null),[[c,o.value===a&&!s.value(a)]])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];function g({id:e},a){l.value[a]=Object.assign({},l.value[a],{value:e}),u.value[a]=Object.assign({},u.value[a],{editing:!0})}function d(e){var a;(a=l.value[e])!=null&&a.value?o.value=e:o.value=-1}function h(e,a){l.value[a].value=e}function y(e){v.value[e].id=l.value[e].value,I(`您编辑了第 ${e+1} 行,编辑后数据为:${JSON.stringify(v.value[e])}`,{type:"success"}),u.value[e]=Object.assign({},u.value[e],{editing:!1}),M().then(()=>l.value[e].value=null)}return{columns:b,dataList:v}}export{E as useColumns}; diff --git a/dist/static/js/columns-9576412b.js b/dist/static/js/columns-ffa8f14e.js similarity index 80% rename from dist/static/js/columns-9576412b.js rename to dist/static/js/columns-ffa8f14e.js index ee4b426d3..042f244be 100644 --- a/dist/static/js/columns-9576412b.js +++ b/dist/static/js/columns-ffa8f14e.js @@ -1 +1 @@ -import{r as u,ai as i,m as p}from"./index-ceadd577.js";import{b as r}from"./data-c6346f61.js";function f(t){const a=u(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=i({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,small:!0});function l({row:{name:e}}){return{cursor:"pointer",background:e===a.value?"#f5f7fa":""}}function s(e){a.value=e.name,t.value.blur(),p(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:a,tableDataEdit:r,rowStyle:l,onRowClick:s}}export{f as useColumns}; +import{r as u,ai as i,m as p}from"./index-42b0cfe4.js";import{b as r}from"./data-43132d69.js";function f(t){const a=u(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=i({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,small:!0});function l({row:{name:e}}){return{cursor:"pointer",background:e===a.value?"#f5f7fa":""}}function s(e){a.value=e.name,t.value.blur(),p(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:a,tableDataEdit:r,rowStyle:l,onRowClick:s}}export{f as useColumns}; diff --git a/dist/static/js/columns-bcc35f9f.js b/dist/static/js/columns-ffb3ebcb.js similarity index 95% rename from dist/static/js/columns-bcc35f9f.js rename to dist/static/js/columns-ffb3ebcb.js index 34951349d..f80e8868a 100644 --- a/dist/static/js/columns-bcc35f9f.js +++ b/dist/static/js/columns-ffb3ebcb.js @@ -1 +1 @@ -import{d as r}from"./arrow-right-s-line-2977cc7e.js";import{h as l,a as e,f as o}from"./index-ceadd577.js";const i={width:24,height:24,body:''};function u(){return{columns:[{cellRenderer:()=>l("span",{class:"flex items-center -mt-6"},[l(e("iconify-icon-offline"),{icon:i,color:"#F56C6C",width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[o("您的账户已被冻结")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[o("立即解冻"),l(e("iconify-icon-offline"),{icon:r,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])},{cellRenderer:()=>l("span",{class:"flex items-center -mt-8"},[l(e("iconify-icon-offline"),{icon:i,color:"#F56C6C",width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[o("您的账户还不具备申请资格")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[o("立即升级"),l(e("iconify-icon-offline"),{icon:r,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])}]}}export{u as useColumns}; +import{d as r}from"./arrow-right-s-line-2977cc7e.js";import{h as l,a as e,f as o}from"./index-42b0cfe4.js";const i={width:24,height:24,body:''};function u(){return{columns:[{cellRenderer:()=>l("span",{class:"flex items-center -mt-6"},[l(e("iconify-icon-offline"),{icon:i,color:"#F56C6C",width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[o("您的账户已被冻结")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[o("立即解冻"),l(e("iconify-icon-offline"),{icon:r,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])},{cellRenderer:()=>l("span",{class:"flex items-center -mt-8"},[l(e("iconify-icon-offline"),{icon:i,color:"#F56C6C",width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[o("您的账户还不具备申请资格")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[o("立即升级"),l(e("iconify-icon-offline"),{icon:r,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])}]}}export{u as useColumns}; diff --git a/dist/static/js/customIndex-3b58db8d.js b/dist/static/js/customIndex-3b58db8d.js new file mode 100644 index 000000000..85f946215 --- /dev/null +++ b/dist/static/js/customIndex-3b58db8d.js @@ -0,0 +1 @@ +import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-092ec924.js";import"./data-9af24e22.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/customIndex-d177d940.js b/dist/static/js/customIndex-d177d940.js deleted file mode 100644 index 4a5d98521..000000000 --- a/dist/static/js/customIndex-d177d940.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js";import"./data-ce9440dd.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js b/dist/static/js/customIndex.vue_vue_type_script_setup_true_lang-092ec924.js similarity index 67% rename from dist/static/js/customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js rename to dist/static/js/customIndex.vue_vue_type_script_setup_true_lang-092ec924.js index 858dba006..8e5a333a7 100644 --- a/dist/static/js/customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js +++ b/dist/static/js/customIndex.vue_vue_type_script_setup_true_lang-092ec924.js @@ -1 +1 @@ -import{t as a}from"./data-ce9440dd.js";import{d as n,a as r,o as p,c as s,u as c}from"./index-ceadd577.js";const i=n({__name:"customIndex",setup(l){const o=[{type:"index",index:e=>e*2},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(e,m)=>{const t=r("pure-table");return p(),s(t,{data:c(a),columns:o},null,8,["data"])}}});export{i as _}; +import{t as a}from"./data-9af24e22.js";import{d as n,a as r,o as p,c as s,u as c}from"./index-42b0cfe4.js";const i=n({__name:"customIndex",setup(l){const o=[{type:"index",index:e=>e*2},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(e,m)=>{const t=r("pure-table");return p(),s(t,{data:c(a),columns:o},null,8,["data"])}}});export{i as _}; diff --git a/dist/static/js/dark-3015d878.js b/dist/static/js/dark-6ca62a74.js similarity index 98% rename from dist/static/js/dark-3015d878.js rename to dist/static/js/dark-6ca62a74.js index 09ed1140d..7cc678744 100644 --- a/dist/static/js/dark-3015d878.js +++ b/dist/static/js/dark-6ca62a74.js @@ -1,4 +1,4 @@ -import{bq as y,D as i,bw as Y,bp as I,$ as E,r as z,aJ as T,a2 as J,bx as Z,J as q,by as S,L,bz as G,bk as _,bA as ee,b7 as te,E as ne,ao as oe,o as A,i as x,e as g}from"./index-ceadd577.js";import{u as b}from"./epTheme-904e4673.js";import{u as ae}from"./app-c56ccba4.js";function ue(){const{$storage:t,$config:e}=y(),o=()=>{Y().multiTagsCache&&(!t.tags||t.tags.length===0)&&(t.tags=I),t.locale||(t.locale={locale:(e==null?void 0:e.Locale)??"zh"},E().locale.value=(e==null?void 0:e.Locale)??"zh"),t.layout||(t.layout={layout:(e==null?void 0:e.Layout)??"vertical",theme:(e==null?void 0:e.Theme)??"default",darkMode:(e==null?void 0:e.DarkMode)??!1,sidebarStatus:(e==null?void 0:e.SidebarStatus)??!0,epThemeColor:(e==null?void 0:e.EpThemeColor)??"#409EFF"}),t.configure||(t.configure={grey:(e==null?void 0:e.Grey)??!1,weak:(e==null?void 0:e.Weak)??!1,hideTabs:(e==null?void 0:e.HideTabs)??!1,showLogo:(e==null?void 0:e.ShowLogo)??!0,showModel:(e==null?void 0:e.ShowModel)??"smart",multiTagsCache:(e==null?void 0:e.MultiTagsCache)??!1})},n=i(()=>t==null?void 0:t.layout.layout),a=i(()=>t.layout);return{layout:n,layoutTheme:a,initStorage:o}}const B={outputDir:"",defaultScopeName:"",includeStyleWithColors:[],extract:!0,themeLinkTagId:"theme-link-tag",themeLinkTagInjectTo:"head",removeCssScopeName:!1,customThemeCssFileName:null,arbitraryMode:!1,defaultPrimaryColor:"",customThemeOutputPath:"/Users/zhangyi/Desktop/vue-pure-admin/node_modules/.pnpm/@pureadmin+theme@3.1.0/node_modules/@pureadmin/theme/setCustomTheme.js",styleTagId:"custom-theme-tagid",InjectDefaultStyleTagToHtml:!0,hueDiffControls:{low:0,high:0},multipleScopeVars:[{scopeName:"layout-theme-default",varsContent:` +import{bq as y,D as i,bw as Y,bp as I,$ as E,r as z,aJ as T,a2 as J,bx as Z,J as q,by as S,L,bz as G,bk as _,bA as ee,b7 as te,E as ne,ao as oe,o as A,i as x,e as g}from"./index-42b0cfe4.js";import{u as b}from"./epTheme-ff3a171c.js";import{u as ae}from"./app-246d46a6.js";function ue(){const{$storage:t,$config:e}=y(),o=()=>{Y().multiTagsCache&&(!t.tags||t.tags.length===0)&&(t.tags=I),t.locale||(t.locale={locale:(e==null?void 0:e.Locale)??"zh"},E().locale.value=(e==null?void 0:e.Locale)??"zh"),t.layout||(t.layout={layout:(e==null?void 0:e.Layout)??"vertical",theme:(e==null?void 0:e.Theme)??"default",darkMode:(e==null?void 0:e.DarkMode)??!1,sidebarStatus:(e==null?void 0:e.SidebarStatus)??!0,epThemeColor:(e==null?void 0:e.EpThemeColor)??"#409EFF"}),t.configure||(t.configure={grey:(e==null?void 0:e.Grey)??!1,weak:(e==null?void 0:e.Weak)??!1,hideTabs:(e==null?void 0:e.HideTabs)??!1,showLogo:(e==null?void 0:e.ShowLogo)??!0,showModel:(e==null?void 0:e.ShowModel)??"smart",multiTagsCache:(e==null?void 0:e.MultiTagsCache)??!1})},n=i(()=>t==null?void 0:t.layout.layout),a=i(()=>t.layout);return{layout:n,layoutTheme:a,initStorage:o}}const B={outputDir:"",defaultScopeName:"",includeStyleWithColors:[],extract:!0,themeLinkTagId:"theme-link-tag",themeLinkTagInjectTo:"head",removeCssScopeName:!1,customThemeCssFileName:null,arbitraryMode:!1,defaultPrimaryColor:"",customThemeOutputPath:"/Users/zhangyi/Desktop/vue-pure-admin/node_modules/.pnpm/@pureadmin+theme@3.1.0/node_modules/@pureadmin/theme/setCustomTheme.js",styleTagId:"custom-theme-tagid",InjectDefaultStyleTagToHtml:!0,hueDiffControls:{low:0,high:0},multipleScopeVars:[{scopeName:"layout-theme-default",varsContent:` $subMenuActiveText: #fff !default; $menuBg: #001529 !default; $menuHover: #4091f7 !default; diff --git a/dist/static/js/data-c6346f61.js b/dist/static/js/data-43132d69.js similarity index 94% rename from dist/static/js/data-c6346f61.js rename to dist/static/js/data-43132d69.js index 60f6303b7..7ae0c99fd 100644 --- a/dist/static/js/data-c6346f61.js +++ b/dist/static/js/data-43132d69.js @@ -1 +1 @@ -import{bD as r,I as t}from"./index-ceadd577.js";const s=r(new Date).format("YYYY-MM-DD"),o=[{date:s,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike",address:"No. 189, Grove St, Los Angeles"}];t(o,!0).map(e=>Object.assign(e,{state:"California",city:"Los Angeles","post-code":"CA 90036"}));t(o,!0).map((e,a)=>Object.assign(e,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${a+1}.jpg`}));t(o,!0).map((e,a)=>{delete e.date,Object.assign(e,{date:`${r(new Date).format("YYYY-MM")}-${a+1}`})});const n=t(o,!0).map((e,a)=>(delete e.address,delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e))),m=t(o,!0).map((e,a)=>(delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e)));export{n as a,m as b,o as t}; +import{bD as r,I as t}from"./index-42b0cfe4.js";const s=r(new Date).format("YYYY-MM-DD"),o=[{date:s,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike",address:"No. 189, Grove St, Los Angeles"}];t(o,!0).map(e=>Object.assign(e,{state:"California",city:"Los Angeles","post-code":"CA 90036"}));t(o,!0).map((e,a)=>Object.assign(e,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${a+1}.jpg`}));t(o,!0).map((e,a)=>{delete e.date,Object.assign(e,{date:`${r(new Date).format("YYYY-MM")}-${a+1}`})});const n=t(o,!0).map((e,a)=>(delete e.address,delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e))),m=t(o,!0).map((e,a)=>(delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e)));export{n as a,m as b,o as t}; diff --git a/dist/static/js/data-ce9440dd.js b/dist/static/js/data-9af24e22.js similarity index 98% rename from dist/static/js/data-ce9440dd.js rename to dist/static/js/data-9af24e22.js index 1eb45a786..bcddaba29 100644 --- a/dist/static/js/data-ce9440dd.js +++ b/dist/static/js/data-9af24e22.js @@ -1 +1 @@ -import{bD as t,I as e}from"./index-ceadd577.js";const a=t(new Date).format("YYYY-MM-DD"),c=[{date:a,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mike",address:"No. 189, Grove St, Los Angeles"}],i=e(c,!0),o=i.map(s=>Object.assign(s,{state:"California",city:"Los Angeles","post-code":"CA 90036"})),S=i.map((s,n)=>Object.assign(s,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${n+1}.jpg`})),d=i.map((s,n)=>Object.assign(s,{date:`${t(new Date).format("YYYY-MM")}-${n+1}`})),m=[{date:"2016-05-03",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-02",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-04",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-01",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-08",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-06",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-07",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]}];export{o as a,d as b,m as c,S as d,c as t}; +import{bD as t,I as e}from"./index-42b0cfe4.js";const a=t(new Date).format("YYYY-MM-DD"),c=[{date:a,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mike",address:"No. 189, Grove St, Los Angeles"}],i=e(c,!0),o=i.map(s=>Object.assign(s,{state:"California",city:"Los Angeles","post-code":"CA 90036"})),S=i.map((s,n)=>Object.assign(s,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${n+1}.jpg`})),d=i.map((s,n)=>Object.assign(s,{date:`${t(new Date).format("YYYY-MM")}-${n+1}`})),m=[{date:"2016-05-03",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-02",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-04",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-01",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-08",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-06",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-07",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]}];export{o as a,d as b,m as c,S as d,c as t}; diff --git a/dist/static/js/debounce-dbd986da.js b/dist/static/js/debounce-70fda773.js similarity index 95% rename from dist/static/js/debounce-dbd986da.js rename to dist/static/js/debounce-70fda773.js index a316dbb77..894a80682 100644 --- a/dist/static/js/debounce-dbd986da.js +++ b/dist/static/js/debounce-70fda773.js @@ -1 +1 @@ -import{d as m,a as d,i as h,h as t,w as e,o as f,u as c,f as a,e as o,Q as _,R as p,m as C}from"./index-ceadd577.js";const b=o("div",null,"防抖:debounce",-1),k=o("div",{class:"mb-5"}," 所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。 ",-1),v=o("div",null,"节流:throttle",-1),w=o("div",{class:"mb-5"}," 所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。 ",-1),D=m({name:"Debounce",__name:"debounce",setup(x){const n=()=>C("恭喜你,这是一条成功消息",{type:"success"}),i=_(n,1e3,!0),r=_(n,1e3),u=p(n);return(B,N)=>{const s=d("el-button"),l=d("el-card");return f(),h("div",null,[t(l,{class:"mb-5",shadow:"never"},{header:e(()=>[b]),default:e(()=>[k,t(s,{onClick:c(i)},{default:e(()=>[a(" 连续点击我,只会执行第一次点击事件,立即执行 ")]),_:1},8,["onClick"]),t(s,{onClick:c(r)},{default:e(()=>[a(" 连续点击我,只会执行最后一次点击事件,延后执行 ")]),_:1},8,["onClick"])]),_:1}),t(l,{shadow:"never"},{header:e(()=>[v]),default:e(()=>[w,t(s,{onClick:c(u)},{default:e(()=>[a(" 连续点击我,每一秒只会执行一次点击事件 ")]),_:1},8,["onClick"])]),_:1})])}}});export{D as default}; +import{d as m,a as d,i as h,h as t,w as e,o as f,u as c,f as a,e as o,Q as _,R as p,m as C}from"./index-42b0cfe4.js";const b=o("div",null,"防抖:debounce",-1),k=o("div",{class:"mb-5"}," 所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。 ",-1),v=o("div",null,"节流:throttle",-1),w=o("div",{class:"mb-5"}," 所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。 ",-1),D=m({name:"Debounce",__name:"debounce",setup(x){const n=()=>C("恭喜你,这是一条成功消息",{type:"success"}),i=_(n,1e3,!0),r=_(n,1e3),u=p(n);return(B,N)=>{const s=d("el-button"),l=d("el-card");return f(),h("div",null,[t(l,{class:"mb-5",shadow:"never"},{header:e(()=>[b]),default:e(()=>[k,t(s,{onClick:c(i)},{default:e(()=>[a(" 连续点击我,只会执行第一次点击事件,立即执行 ")]),_:1},8,["onClick"]),t(s,{onClick:c(r)},{default:e(()=>[a(" 连续点击我,只会执行最后一次点击事件,延后执行 ")]),_:1},8,["onClick"])]),_:1}),t(l,{shadow:"never"},{header:e(()=>[v]),default:e(()=>[w,t(s,{onClick:c(u)},{default:e(()=>[a(" 连续点击我,每一秒只会执行一次点击事件 ")]),_:1},8,["onClick"])]),_:1})])}}});export{D as default}; diff --git a/dist/static/js/directives-a1012ef7.js b/dist/static/js/directives-73adb01b.js similarity index 96% rename from dist/static/js/directives-a1012ef7.js rename to dist/static/js/directives-73adb01b.js index e024b0814..399a8acd6 100644 --- a/dist/static/js/directives-a1012ef7.js +++ b/dist/static/js/directives-73adb01b.js @@ -1 +1 @@ -import{d as H,r as n,a as d,b as T,c as v,w as s,o as r,e as u,f as l,g as o,h as t,i as J,t as U,j as K,m as p}from"./index-ceadd577.js";const M=u("div",{class:"card-header"},[u("span",{class:"font-medium"},"自定义防抖、截流、文本复制、长按指令")],-1),O={class:"mb-2"},P={class:"mb-2"},Q={class:"mb-2"},W={class:"mb-2"},X={class:"text-sky-500"},ee=H({name:"Directives",__name:"directives",setup(Y){const x=n(""),b=n(""),g=n(""),w=n(""),h=n(""),y=n("copy"),I=n("可复制的文本"),c=n(!1),_=n(""),C=n(0);function z(){p(x.value)}function F(){p(b.value)}function N({name:f,sex:e}){p(`${f}${e}${g.value}`)}function L(){p(w.value)}function S({name:f,sex:e}){p(`${f}${e}${h.value}`)}function j(){c.value=!0}function E(){c.value=!0}function R(){C.value+=1,c.value=!0,_.value=`持续回调${C.value}次`}function q(){c.value=!1,_.value="",C.value=0}return(f,e)=>{const i=d("el-input"),k=d("el-divider"),V=d("el-button"),B=d("el-tag"),A=d("el-space"),G=d("el-card"),m=T("optimize"),D=T("copy"),$=T("longpress");return r(),v(G,{shadow:"never"},{header:s(()=>[M]),default:s(()=>[u("div",O,[l(" 防抖指令(连续输入,只会执行第一次点击事件,立即执行) "),o(t(i,{modelValue:x.value,"onUpdate:modelValue":e[0]||(e[0]=a=>x.value=a),class:"!w-[200px]",clearable:"",onClear:z},null,8,["modelValue"]),[[m,{event:"input",fn:z,immediate:!0,timeout:1e3}]])]),u("div",P,[l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行) "),o(t(i,{modelValue:b.value,"onUpdate:modelValue":e[1]||(e[1]=a=>b.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:F,timeout:400}]])]),u("div",null,[l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行,传参用法) "),o(t(i,{modelValue:g.value,"onUpdate:modelValue":e[2]||(e[2]=a=>g.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:N,timeout:400,params:{name:"小明",sex:"男"}}]])]),t(k),u("div",Q,[l(" 节流指令(连续输入,每一秒只会执行一次事件) "),o(t(i,{modelValue:w.value,"onUpdate:modelValue":e[3]||(e[3]=a=>w.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:L,timeout:1e3},"throttle"]])]),u("div",null,[l(" 节流指令(连续输入,每一秒只会执行一次事件,传参用法) "),o(t(i,{modelValue:h.value,"onUpdate:modelValue":e[4]||(e[4]=a=>h.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:S,params:{name:"小明",sex:"男"}},"throttle"]])]),t(k),u("div",W,[l(" 文本复制指令(双击输入框内容即可复制) "),o(t(i,{modelValue:y.value,"onUpdate:modelValue":e[5]||(e[5]=a=>y.value=a),class:"!w-[200px]"},null,8,["modelValue"]),[[D,y.value]])]),u("div",null,[l(" 文本复制指令(自定义触发事件,单击复制) "),o((r(),J("span",X,[l(U(I.value),1)])),[[D,I.value,"click"]])]),t(k),t(A,{wrap:""},{default:s(()=>[l(" 长按指令 "),o((r(),v(V,null,{default:s(()=>[l("长按(默认500ms)")]),_:1})),[[$,j]]),o((r(),v(V,null,{default:s(()=>[l(" 自定义长按时长(1000ms) ")]),_:1})),[[$,E,"1000"]]),o((r(),v(V,null,{default:s(()=>[l(" 2秒后每200ms持续回调 ")]),_:1})),[[$,R,"2000:200"]]),t(V,{onClick:q},{default:s(()=>[l(" 重置状态 ")]),_:1}),t(B,{type:c.value?"success":"info",class:"ml-2",size:"large"},{default:s(()=>[l(U(c.value?"当前为长按状态":"当前非长按状态"),1)]),_:1},8,["type"]),_.value?(r(),v(B,{key:0,type:"danger",class:"ml-2",size:"large"},{default:s(()=>[l(U(_.value),1)]),_:1})):K("",!0)]),_:1})]),_:1})}}});export{ee as default}; +import{d as H,r as n,a as d,b as T,c as v,w as s,o as r,e as u,f as l,g as o,h as t,i as J,t as U,j as K,m as p}from"./index-42b0cfe4.js";const M=u("div",{class:"card-header"},[u("span",{class:"font-medium"},"自定义防抖、截流、文本复制、长按指令")],-1),O={class:"mb-2"},P={class:"mb-2"},Q={class:"mb-2"},W={class:"mb-2"},X={class:"text-sky-500"},ee=H({name:"Directives",__name:"directives",setup(Y){const x=n(""),b=n(""),g=n(""),w=n(""),h=n(""),y=n("copy"),I=n("可复制的文本"),c=n(!1),_=n(""),C=n(0);function z(){p(x.value)}function F(){p(b.value)}function N({name:f,sex:e}){p(`${f}${e}${g.value}`)}function L(){p(w.value)}function S({name:f,sex:e}){p(`${f}${e}${h.value}`)}function j(){c.value=!0}function E(){c.value=!0}function R(){C.value+=1,c.value=!0,_.value=`持续回调${C.value}次`}function q(){c.value=!1,_.value="",C.value=0}return(f,e)=>{const i=d("el-input"),k=d("el-divider"),V=d("el-button"),B=d("el-tag"),A=d("el-space"),G=d("el-card"),m=T("optimize"),D=T("copy"),$=T("longpress");return r(),v(G,{shadow:"never"},{header:s(()=>[M]),default:s(()=>[u("div",O,[l(" 防抖指令(连续输入,只会执行第一次点击事件,立即执行) "),o(t(i,{modelValue:x.value,"onUpdate:modelValue":e[0]||(e[0]=a=>x.value=a),class:"!w-[200px]",clearable:"",onClear:z},null,8,["modelValue"]),[[m,{event:"input",fn:z,immediate:!0,timeout:1e3}]])]),u("div",P,[l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行) "),o(t(i,{modelValue:b.value,"onUpdate:modelValue":e[1]||(e[1]=a=>b.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:F,timeout:400}]])]),u("div",null,[l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行,传参用法) "),o(t(i,{modelValue:g.value,"onUpdate:modelValue":e[2]||(e[2]=a=>g.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:N,timeout:400,params:{name:"小明",sex:"男"}}]])]),t(k),u("div",Q,[l(" 节流指令(连续输入,每一秒只会执行一次事件) "),o(t(i,{modelValue:w.value,"onUpdate:modelValue":e[3]||(e[3]=a=>w.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:L,timeout:1e3},"throttle"]])]),u("div",null,[l(" 节流指令(连续输入,每一秒只会执行一次事件,传参用法) "),o(t(i,{modelValue:h.value,"onUpdate:modelValue":e[4]||(e[4]=a=>h.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:S,params:{name:"小明",sex:"男"}},"throttle"]])]),t(k),u("div",W,[l(" 文本复制指令(双击输入框内容即可复制) "),o(t(i,{modelValue:y.value,"onUpdate:modelValue":e[5]||(e[5]=a=>y.value=a),class:"!w-[200px]"},null,8,["modelValue"]),[[D,y.value]])]),u("div",null,[l(" 文本复制指令(自定义触发事件,单击复制) "),o((r(),J("span",X,[l(U(I.value),1)])),[[D,I.value,"click"]])]),t(k),t(A,{wrap:""},{default:s(()=>[l(" 长按指令 "),o((r(),v(V,null,{default:s(()=>[l("长按(默认500ms)")]),_:1})),[[$,j]]),o((r(),v(V,null,{default:s(()=>[l(" 自定义长按时长(1000ms) ")]),_:1})),[[$,E,"1000"]]),o((r(),v(V,null,{default:s(()=>[l(" 2秒后每200ms持续回调 ")]),_:1})),[[$,R,"2000:200"]]),t(V,{onClick:q},{default:s(()=>[l(" 重置状态 ")]),_:1}),t(B,{type:c.value?"success":"info",class:"ml-2",size:"large"},{default:s(()=>[l(U(c.value?"当前为长按状态":"当前非长按状态"),1)]),_:1},8,["type"]),_.value?(r(),v(B,{key:0,type:"danger",class:"ml-2",size:"large"},{default:s(()=>[l(U(_.value),1)]),_:1})):K("",!0)]),_:1})]),_:1})}}});export{ee as default}; diff --git a/dist/static/js/download-153a3b00.js b/dist/static/js/download-f58fa444.js similarity index 98% rename from dist/static/js/download-153a3b00.js rename to dist/static/js/download-f58fa444.js index fa7f52f08..c0ae4b94b 100644 --- a/dist/static/js/download-153a3b00.js +++ b/dist/static/js/download-f58fa444.js @@ -1 +1 @@ -import{d as L,a as u,c as d,w as a,o as l,e as r,h as o,f as i,u as n,N as q,z as m,B as h,x as w,y as c}from"./index-ceadd577.js";const x=r("span",{class:"font-medium"},"文件下载功能",-1),H={class:"flex flex-wrap"},g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALEAAAAwCAYAAABexZu4AAAAAXNSR0IArs4c6QAAC5pJREFUeF7tnQ9wFNUdx7+/vQQsiOb2orHyp0JuQ/1TpFVbS+2I7RS1aqdlKu2oU2WqQvbQFmtrO7QFpp22U0ZhgNuQInXa6rTFKo5oi3XGPzNqiwIWBDTZS2Boi8aQDQxYId7tr/M2CZNc7u69vdtLLrI7k2GG/b3fe+/3Pvu737597/cIRVw1ydaZEWAmE13MwEwCojj5R+PA/B4IxwA6RuD3uPff3UzYRhneU/X++7s7vn/xe0VUHRYJLTDEAqRqk5qV+2q0senbANwKYKZquVxyBHQy0eNw+XEnYfy9FF0jWbZmjT1bVv/hu4wXZDK57st0V42pbjm04Ly3i9FdzjKnr7bPqiJcWKiOYm2ST6cSxHqyZRkocivA5wVvAH7NMRs+raR34+4xNR1jZ1VrJ7Z1Ji46plSmTEJRy36eACnEbgZX+R00Vd2OaSiNX5lMkFOtbtksq4+BF7pN4yqZnOr9gkbQ19uT8AEeAHCjqkLfckRvOI3xGYXKCa+kRehegL8A4CN9sq8A2qOOWb/Kd50BFFAFLYR4qLGHDWLdap0P0G8DGO+CKgi0rsuMN+YTija1XU/sbs6rhPmPTqLhpnK3M1t/CHFui1eMJ44lW29jooeGAwwm3NLdaDySq67aDZ0T3BOH3wJwbqG2cET7fPeC+peGo739dYQQVzDEsWTbZUzuq8MFhEvpqYcbz9+fqz49aX8bhAcV2rLBMY3bFeQCEwkhrlCI61bsHN8zftyLBFwS2GgXVrTHMY2L8onoVmszQHcqtKWwnnX2BewiKdNDGhLOQmOvTE7cDyGuUIhjVurHDP6ZyiAGJFPQg+pW6jGA58rrYscxG2L55HpfDPG8TI+fl7AQ4gqEONrcdialM6+DaKpssIfcJ7wFF7tAfICAA3DpgKtpaWL3HCLUMXMdiOoYqBs0LcW43UkYG/LVF2tKLWLmNdL2SF7uQoilFgxMYERf7HTL/i6Alb56w+5ykLbFMY1/+innQaW5s92eMasOL556OF/ZM9fan9I0vELA2IL6JQ9DCLGf0SlNduQg3sgR/VDbDoALztcO6p6GC1Xjx1LMEk3avyTCDwvoeMYxjWsK1RFCXMoI+Cs7YhDH1rXNZdd9TLW5THRFd2P8ZVX5UuV6vxhqS7P1EOORyJjI9969Y1pHCHGpVg6m/IhBHG1K/ZyYl6h0g4AlXabxCxXZIGX0ZOoaBl8JwuXE2A7CVsc0HlWpI/TEKlYKRmbEINYt+xkAc2TdYGB7t2lcKpOrtPshxMM3IiMD8VLW9LqUWEzTvyYhb48ZtKDbjP9m+EwSTE0hxMHYUUVLMRDrydQsIDOHNS1GzLUgisHlQwy0E1O7y2gvtIiKate1Xeq67msKDTzomMZEBbnARHx8/p6XK7Q4e317XbonczFAM0C8opSG9aRx9rG7jc5+HZU4TxxN2kkQLijUTw042mUaX5HZQvRPJkPsvugkpi8bKKcKcSRSfZObPrGASbuZgLisLoB2gTObsusT5Uh1ao2AzSqdlzdGXSLfC90QDewu7+9cbfP+j3Km56cswAXE3+nqNeaXzP4QUokQqwAkeqiyhFNFV67VaKrlVJax5hmNIV9nSU/aD4CwWDrQA0CRygYkUAzEymV8trEUiH1WBYpgqcogZ8OoAlAlQOzXHtnyDKS6TcPo/3+KJu3fEeFbMsVM2g3djfVPyeSCvK8M5IAHTLmMz4YWC7HPanyJn6oQ9xnpUcc05nnhRKzJ3syM62XW0zTtskML67cVkvMAKvJiihzMfmlUBjKE2LP6qeKJT3pgjW7tWhj/PelN9itgfFbGXkTTGjoX1tv55JSBK1DREM+S5yNHoZhYb7KXglH0w5SveaEnHmqZYmNiGWs+7j/nmMYXSbdSLQA3yApWE9V1NMbfDSHutYDqi53MrqXcP8XDiV7TMV0rZicOAci7jLHfyHoap6XuNk5UPMSq3tsnPaEnDt4TE/A6AzuI+aWMS97GCNJwtWStzOCGMO4XEEt3p4pSThqnYRRALNqaa7u76nrifGxnT7aHnhgoIZz4mwb6ySEzvj2vU7TsbjGUCr5mJ+lWa5eYLpYJZ0/2Z8tXSkycqx8j+cVOZtdS7o/acEJhuja6ru3L5LpPq9iHopZtq3wxyUQQP7LAaKv0cCKEWD7sI/2xAwoQi17oVuurAF0m65EIJ8SC9s/IBDMuLjmyyNgRQuzzxY6wDK7rK8kJk3blh/pjhzLE9p8AfEPGpoD4rwCulQnK9p+F4URuC8rslquUarz9YQ4nej2xfT+Ae2RsUixpP8yEm2WCYLrXScSF0rxXvvxhKi9V3stjVlom5QdD8mSPZEwcQpwDF3VPrLRljqJW62oC3SWHuPhMO8ozICHE3jCEnriXxpjV8lWGtknGJil7O6DVMY3pMoW57ocQ+8uMGULcS5GebJ8DyogNGwUvqrVSl7jggmsi+jUU89PYF9uozUWHnjj0xANw1ZP210GQbkHz3pp1y/6vLN+ZkGOG1Z0wErInI/t+6IlDTzyICeWYuG0+4EqTWvZBrJYuihmdFMFsv1v1Q4hDiIuCONn6HRBJU/d6EEct+xYC/qDoYQvmPQtj4sEWKCYEC2Pi/hc7tbRqHsQ1a/d+TNOqc2amzAWl3yTJoSeuLE9M5E7qapwuQsi8l8qYFb12QjGciFn2DgY+KXOuJ78kRS17LQHK8a7ogKZpa7oW1j8uq0TFIEJHueaJo02pz4mVUrJ2QpIOa2B5VW85zJ5Y7FofL+unSptUxqycEOtrW78EjVTOczl6EmJ9tX0BqrDV/8ZKeo3ALQzaT8StYPdthhZlUBTgKBhTiGDKDFtOiGut9ukuMiJZt+wSCVkulwn1hWAVd2aHbqX2qZ2rQiscM/6DfP3Um+yrwdgis0MpEFf/7/iKQidoKe/9BHYO+qYfs+xfMXCfrPHlul8uTzyhuaW2OqOd3G4vaf/LGvBrYtrbmYinvHNLTmCys8j4R+V7YrUFM14/2F2uRaqeihw99qY77owJGUqLQ4XEAyyS6EiXIXgqchwgo+LB++x4kEBPZjL8Z1Sl94tE67GmFpESYiKY5jNooRJnTM2DII6u2j2Fxpy2FeBzlBQELFQuiEUzfRg3d6+y4rhKDCdE3gnVX70ghq5EiINoAth1rxuyusrnTEUgDelXUmaIN5Z0CtRogFh2SE+go1WyJw6iNe2OadTnXCIYs+wEA2uDqMWPjnJCHLVSdxK42U97BsmOBoi9ROnubhAmFd1PHwUrwBMvdkxjVd51rjHL/hEDw5r9spwQn/Hgv/WqnuNvqHyZzDmOowBiL2xqsheDvbMHy36NJMQMeqLbjH9NdLLwYYyWfaOXHUhhS3/JFmPe5CQaBp3Pobw4SXHeMdpk30yMh4tq6yiBuC/+Ly10GmggRgcIdbls5h9iehrg64qy/+BCe6BhXv+XY6UdB97T7eKeMv1MPZZJ474jdw/d+hQ0xN4AJ+05IIiE4v5ytI0iiAMC+TjAawESx8GJh2LI5R9izBNHVzBhCRgfLxLmQQBLPfHASsTB09URnktEwltKcxlLGriFiZ+PUOS5QlmF+hazi4Ma8x7G6K3nICRUE26LdkXXvPkJqqoSJ6beBHEojsqVBXHMsp9k4AZZUdkG21zlVXXL9sr1JYsUefamyNo54P4eAM8yIg91m9N2eZlFP8i8kxPiHAvCCs4CVWOyc4fxHxHaRXqO30HgbwKketj9QbC7Xqsa25x9MLuSJ87ugAB6rOZewRSZxuBpBExjwlkERAUj3p/3M8QdAL3DQAeBO5h4ezrjPnt00fldPoxaNtGalftqImN7ZgPa5Sz6AHh9AZAB0AJGi0gsThG84HfRU9kaXYRiXYSFvXPAE8E8EUTnEjCRAbHTvb03D3Bmnwt64nCi4V9FVFF0EW+5JTDL+5UXfy4me/+e5EfbC3L/kuHjzx0xZ4ht/EOu/wNFbO2YhmAeMQAAAABJRU5ErkJggg==",b=L({name:"Download",__name:"download",setup(C){function E(){w.get("https://pure-admin.github.io/pure-admin-doc/img/pure.png",{responseType:"blob"}).then(({data:s})=>{c(s,"test-data.png")})}return(s,e)=>{const t=u("el-button"),p=u("el-card");return l(),d(p,{shadow:"never"},{header:a(()=>[x]),default:a(()=>[r("div",H,[o(t,{onClick:e[0]||(e[0]=A=>n(q)("https://pure-admin.github.io/pure-admin-doc/img/pure.png","test-url.png"))},{default:a(()=>[i(" 下载在线图片 ")]),_:1}),o(t,{onClick:e[1]||(e[1]=A=>n(m)(g,"test-base64.png"))},{default:a(()=>[i(" 基于 base64 下载图片 ")]),_:1}),o(t,{onClick:e[2]||(e[2]=A=>n(h)("https://github.com/xiaoxian521/xiaoxian521/archive/refs/heads/main.zip","xiaoxian521.zip"))},{default:a(()=>[i(" 根据文件地址下载文件 ")]),_:1}),o(t,{onClick:E},{default:a(()=>[i(" 根据后台接口文件流下载 ")]),_:1})])]),_:1})}}});export{b as default}; +import{d as L,a as u,c as d,w as a,o as l,e as r,h as o,f as i,u as n,N as q,z as m,B as h,x as w,y as c}from"./index-42b0cfe4.js";const x=r("span",{class:"font-medium"},"文件下载功能",-1),H={class:"flex flex-wrap"},g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALEAAAAwCAYAAABexZu4AAAAAXNSR0IArs4c6QAAC5pJREFUeF7tnQ9wFNUdx7+/vQQsiOb2orHyp0JuQ/1TpFVbS+2I7RS1aqdlKu2oU2WqQvbQFmtrO7QFpp22U0ZhgNuQInXa6rTFKo5oi3XGPzNqiwIWBDTZS2Boi8aQDQxYId7tr/M2CZNc7u69vdtLLrI7k2GG/b3fe+/3Pvu737597/cIRVw1ydaZEWAmE13MwEwCojj5R+PA/B4IxwA6RuD3uPff3UzYRhneU/X++7s7vn/xe0VUHRYJLTDEAqRqk5qV+2q0senbANwKYKZquVxyBHQy0eNw+XEnYfy9FF0jWbZmjT1bVv/hu4wXZDK57st0V42pbjm04Ly3i9FdzjKnr7bPqiJcWKiOYm2ST6cSxHqyZRkocivA5wVvAH7NMRs+raR34+4xNR1jZ1VrJ7Z1Ji46plSmTEJRy36eACnEbgZX+R00Vd2OaSiNX5lMkFOtbtksq4+BF7pN4yqZnOr9gkbQ19uT8AEeAHCjqkLfckRvOI3xGYXKCa+kRehegL8A4CN9sq8A2qOOWb/Kd50BFFAFLYR4qLGHDWLdap0P0G8DGO+CKgi0rsuMN+YTija1XU/sbs6rhPmPTqLhpnK3M1t/CHFui1eMJ44lW29jooeGAwwm3NLdaDySq67aDZ0T3BOH3wJwbqG2cET7fPeC+peGo739dYQQVzDEsWTbZUzuq8MFhEvpqYcbz9+fqz49aX8bhAcV2rLBMY3bFeQCEwkhrlCI61bsHN8zftyLBFwS2GgXVrTHMY2L8onoVmszQHcqtKWwnnX2BewiKdNDGhLOQmOvTE7cDyGuUIhjVurHDP6ZyiAGJFPQg+pW6jGA58rrYscxG2L55HpfDPG8TI+fl7AQ4gqEONrcdialM6+DaKpssIfcJ7wFF7tAfICAA3DpgKtpaWL3HCLUMXMdiOoYqBs0LcW43UkYG/LVF2tKLWLmNdL2SF7uQoilFgxMYERf7HTL/i6Alb56w+5ykLbFMY1/+innQaW5s92eMasOL556OF/ZM9fan9I0vELA2IL6JQ9DCLGf0SlNduQg3sgR/VDbDoALztcO6p6GC1Xjx1LMEk3avyTCDwvoeMYxjWsK1RFCXMoI+Cs7YhDH1rXNZdd9TLW5THRFd2P8ZVX5UuV6vxhqS7P1EOORyJjI9969Y1pHCHGpVg6m/IhBHG1K/ZyYl6h0g4AlXabxCxXZIGX0ZOoaBl8JwuXE2A7CVsc0HlWpI/TEKlYKRmbEINYt+xkAc2TdYGB7t2lcKpOrtPshxMM3IiMD8VLW9LqUWEzTvyYhb48ZtKDbjP9m+EwSTE0hxMHYUUVLMRDrydQsIDOHNS1GzLUgisHlQwy0E1O7y2gvtIiKate1Xeq67msKDTzomMZEBbnARHx8/p6XK7Q4e317XbonczFAM0C8opSG9aRx9rG7jc5+HZU4TxxN2kkQLijUTw042mUaX5HZQvRPJkPsvugkpi8bKKcKcSRSfZObPrGASbuZgLisLoB2gTObsusT5Uh1ao2AzSqdlzdGXSLfC90QDewu7+9cbfP+j3Km56cswAXE3+nqNeaXzP4QUokQqwAkeqiyhFNFV67VaKrlVJax5hmNIV9nSU/aD4CwWDrQA0CRygYkUAzEymV8trEUiH1WBYpgqcogZ8OoAlAlQOzXHtnyDKS6TcPo/3+KJu3fEeFbMsVM2g3djfVPyeSCvK8M5IAHTLmMz4YWC7HPanyJn6oQ9xnpUcc05nnhRKzJ3syM62XW0zTtskML67cVkvMAKvJiihzMfmlUBjKE2LP6qeKJT3pgjW7tWhj/PelN9itgfFbGXkTTGjoX1tv55JSBK1DREM+S5yNHoZhYb7KXglH0w5SveaEnHmqZYmNiGWs+7j/nmMYXSbdSLQA3yApWE9V1NMbfDSHutYDqi53MrqXcP8XDiV7TMV0rZicOAci7jLHfyHoap6XuNk5UPMSq3tsnPaEnDt4TE/A6AzuI+aWMS97GCNJwtWStzOCGMO4XEEt3p4pSThqnYRRALNqaa7u76nrifGxnT7aHnhgoIZz4mwb6ySEzvj2vU7TsbjGUCr5mJ+lWa5eYLpYJZ0/2Z8tXSkycqx8j+cVOZtdS7o/acEJhuja6ru3L5LpPq9iHopZtq3wxyUQQP7LAaKv0cCKEWD7sI/2xAwoQi17oVuurAF0m65EIJ8SC9s/IBDMuLjmyyNgRQuzzxY6wDK7rK8kJk3blh/pjhzLE9p8AfEPGpoD4rwCulQnK9p+F4URuC8rslquUarz9YQ4nej2xfT+Ae2RsUixpP8yEm2WCYLrXScSF0rxXvvxhKi9V3stjVlom5QdD8mSPZEwcQpwDF3VPrLRljqJW62oC3SWHuPhMO8ozICHE3jCEnriXxpjV8lWGtknGJil7O6DVMY3pMoW57ocQ+8uMGULcS5GebJ8DyogNGwUvqrVSl7jggmsi+jUU89PYF9uozUWHnjj0xANw1ZP210GQbkHz3pp1y/6vLN+ZkGOG1Z0wErInI/t+6IlDTzyICeWYuG0+4EqTWvZBrJYuihmdFMFsv1v1Q4hDiIuCONn6HRBJU/d6EEct+xYC/qDoYQvmPQtj4sEWKCYEC2Pi/hc7tbRqHsQ1a/d+TNOqc2amzAWl3yTJoSeuLE9M5E7qapwuQsi8l8qYFb12QjGciFn2DgY+KXOuJ78kRS17LQHK8a7ogKZpa7oW1j8uq0TFIEJHueaJo02pz4mVUrJ2QpIOa2B5VW85zJ5Y7FofL+unSptUxqycEOtrW78EjVTOczl6EmJ9tX0BqrDV/8ZKeo3ALQzaT8StYPdthhZlUBTgKBhTiGDKDFtOiGut9ukuMiJZt+wSCVkulwn1hWAVd2aHbqX2qZ2rQiscM/6DfP3Um+yrwdgis0MpEFf/7/iKQidoKe/9BHYO+qYfs+xfMXCfrPHlul8uTzyhuaW2OqOd3G4vaf/LGvBrYtrbmYinvHNLTmCys8j4R+V7YrUFM14/2F2uRaqeihw99qY77owJGUqLQ4XEAyyS6EiXIXgqchwgo+LB++x4kEBPZjL8Z1Sl94tE67GmFpESYiKY5jNooRJnTM2DII6u2j2Fxpy2FeBzlBQELFQuiEUzfRg3d6+y4rhKDCdE3gnVX70ghq5EiINoAth1rxuyusrnTEUgDelXUmaIN5Z0CtRogFh2SE+go1WyJw6iNe2OadTnXCIYs+wEA2uDqMWPjnJCHLVSdxK42U97BsmOBoi9ROnubhAmFd1PHwUrwBMvdkxjVd51rjHL/hEDw5r9spwQn/Hgv/WqnuNvqHyZzDmOowBiL2xqsheDvbMHy36NJMQMeqLbjH9NdLLwYYyWfaOXHUhhS3/JFmPe5CQaBp3Pobw4SXHeMdpk30yMh4tq6yiBuC/+Ly10GmggRgcIdbls5h9iehrg64qy/+BCe6BhXv+XY6UdB97T7eKeMv1MPZZJ474jdw/d+hQ0xN4AJ+05IIiE4v5ytI0iiAMC+TjAawESx8GJh2LI5R9izBNHVzBhCRgfLxLmQQBLPfHASsTB09URnktEwltKcxlLGriFiZ+PUOS5QlmF+hazi4Ma8x7G6K3nICRUE26LdkXXvPkJqqoSJ6beBHEojsqVBXHMsp9k4AZZUdkG21zlVXXL9sr1JYsUefamyNo54P4eAM8yIg91m9N2eZlFP8i8kxPiHAvCCs4CVWOyc4fxHxHaRXqO30HgbwKketj9QbC7Xqsa25x9MLuSJ87ugAB6rOZewRSZxuBpBExjwlkERAUj3p/3M8QdAL3DQAeBO5h4ezrjPnt00fldPoxaNtGalftqImN7ZgPa5Sz6AHh9AZAB0AJGi0gsThG84HfRU9kaXYRiXYSFvXPAE8E8EUTnEjCRAbHTvb03D3Bmnwt64nCi4V9FVFF0EW+5JTDL+5UXfy4me/+e5EfbC3L/kuHjzx0xZ4ht/EOu/wNFbO2YhmAeMQAAAABJRU5ErkJggg==",b=L({name:"Download",__name:"download",setup(C){function E(){w.get("https://pure-admin.github.io/pure-admin-doc/img/pure.png",{responseType:"blob"}).then(({data:s})=>{c(s,"test-data.png")})}return(s,e)=>{const t=u("el-button"),p=u("el-card");return l(),d(p,{shadow:"never"},{header:a(()=>[x]),default:a(()=>[r("div",H,[o(t,{onClick:e[0]||(e[0]=A=>n(q)("https://pure-admin.github.io/pure-admin-doc/img/pure.png","test-url.png"))},{default:a(()=>[i(" 下载在线图片 ")]),_:1}),o(t,{onClick:e[1]||(e[1]=A=>n(m)(g,"test-base64.png"))},{default:a(()=>[i(" 基于 base64 下载图片 ")]),_:1}),o(t,{onClick:e[2]||(e[2]=A=>n(h)("https://github.com/xiaoxian521/xiaoxian521/archive/refs/heads/main.zip","xiaoxian521.zip"))},{default:a(()=>[i(" 根据文件地址下载文件 ")]),_:1}),o(t,{onClick:E},{default:a(()=>[i(" 根据后台接口文件流下载 ")]),_:1})])]),_:1})}}});export{b as default}; diff --git a/dist/static/js/epTheme-904e4673.js b/dist/static/js/epTheme-ff3a171c.js similarity index 80% rename from dist/static/js/epTheme-904e4673.js rename to dist/static/js/epTheme-ff3a171c.js index a2bb5621f..630771102 100644 --- a/dist/static/js/epTheme-904e4673.js +++ b/dist/static/js/epTheme-ff3a171c.js @@ -1 +1 @@ -import{aG as h,aH as o,aI as r,aJ as m,aK as s}from"./index-ceadd577.js";const p=h({id:"pure-epTheme",state:()=>{var e,t;return{epThemeColor:((e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)??m().EpThemeColor,epTheme:((t=o().getItem(`${r()}layout`))==null?void 0:t.theme)??m().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":e.epTheme==="yellow"?"#d25f00":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function l(){return p(s)}export{l as u}; +import{aG as h,aH as o,aI as r,aJ as m,aK as s}from"./index-42b0cfe4.js";const p=h({id:"pure-epTheme",state:()=>{var e,t;return{epThemeColor:((e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)??m().EpThemeColor,epTheme:((t=o().getItem(`${r()}layout`))==null?void 0:t.theme)??m().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":e.epTheme==="yellow"?"#d25f00":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function l(){return p(s)}export{l as u}; diff --git a/dist/static/js/execl-4649cc0f.js b/dist/static/js/execl-de1d8d0c.js similarity index 95% rename from dist/static/js/execl-4649cc0f.js rename to dist/static/js/execl-de1d8d0c.js index 105659c43..ff7450fbf 100644 --- a/dist/static/js/execl-4649cc0f.js +++ b/dist/static/js/execl-de1d8d0c.js @@ -1 +1 @@ -import{u as d,w as y}from"./xlsx-f5126985.js";import{d as $,a as c,c as g,w as l,o as C,e as h,f as u,h as i,u as f}from"./index-ceadd577.js";const v={class:"font-medium"},E={class:"h-[25rem] mt-3"},z=$({name:"Excel",__name:"execl",setup(B){const k=(o=10,t="column-",a)=>Array.from({length:o}).map((s,e)=>({...a,key:`${t}${e}`,dataKey:`${t}${e}`,title:`Column ${e}`,width:150})),x=(o,t=200,a="row-")=>Array.from({length:t}).map((s,e)=>o.reduce((n,r,m)=>(n[r.dataKey]=`Row ${e} - Col ${m}`,n),{id:`${a}${e}`,parentId:null})),_=k(10),p=x(_,1e3),b=()=>{const o=p.map(e=>{const n=[];return _.forEach(r=>{n.push(e[r.dataKey])}),n}),t=[];_.forEach(e=>{t.push(e.title)}),o.unshift(t);const a=d.aoa_to_sheet(o),s=d.book_new();d.book_append_sheet(s,a,"数据报表"),y(s,"tableV2.xlsx")};return(o,t)=>{const a=c("el-link"),s=c("el-button"),e=c("el-table-v2"),n=c("el-auto-resizer"),r=c("el-card");return C(),g(r,{shadow:"never"},{header:l(()=>[h("div",v,[u(" 导出Execl( "),i(a,{href:"https://github.com/SheetJS/sheetjs",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:l(()=>[u(" github地址 ")]),_:1}),u(" ) ")])]),default:l(()=>[i(s,{type:"primary",onClick:b},{default:l(()=>[u("导出Excel")]),_:1}),h("div",E,[i(n,null,{default:l(({height:m,width:w})=>[i(e,{columns:f(_),data:f(p),width:w,height:m,fixed:""},null,8,["columns","data","width","height"])]),_:1})])]),_:1})}}});export{z as default}; +import{u as d,w as y}from"./xlsx-f5126985.js";import{d as $,a as c,c as g,w as l,o as C,e as h,f as u,h as i,u as f}from"./index-42b0cfe4.js";const v={class:"font-medium"},E={class:"h-[25rem] mt-3"},z=$({name:"Excel",__name:"execl",setup(B){const k=(o=10,t="column-",a)=>Array.from({length:o}).map((s,e)=>({...a,key:`${t}${e}`,dataKey:`${t}${e}`,title:`Column ${e}`,width:150})),x=(o,t=200,a="row-")=>Array.from({length:t}).map((s,e)=>o.reduce((n,r,m)=>(n[r.dataKey]=`Row ${e} - Col ${m}`,n),{id:`${a}${e}`,parentId:null})),_=k(10),p=x(_,1e3),b=()=>{const o=p.map(e=>{const n=[];return _.forEach(r=>{n.push(e[r.dataKey])}),n}),t=[];_.forEach(e=>{t.push(e.title)}),o.unshift(t);const a=d.aoa_to_sheet(o),s=d.book_new();d.book_append_sheet(s,a,"数据报表"),y(s,"tableV2.xlsx")};return(o,t)=>{const a=c("el-link"),s=c("el-button"),e=c("el-table-v2"),n=c("el-auto-resizer"),r=c("el-card");return C(),g(r,{shadow:"never"},{header:l(()=>[h("div",v,[u(" 导出Execl( "),i(a,{href:"https://github.com/SheetJS/sheetjs",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:l(()=>[u(" github地址 ")]),_:1}),u(" ) ")])]),default:l(()=>[i(s,{type:"primary",onClick:b},{default:l(()=>[u("导出Excel")]),_:1}),h("div",E,[i(n,null,{default:l(({height:m,width:w})=>[i(e,{columns:f(_),data:f(p),width:w,height:m,fixed:""},null,8,["columns","data","width","height"])]),_:1})])]),_:1})}}});export{z as default}; diff --git a/dist/static/js/expand-20ee9a2d.js b/dist/static/js/expand-a75862a7.js similarity index 58% rename from dist/static/js/expand-20ee9a2d.js rename to dist/static/js/expand-a75862a7.js index 5cf4d2e95..1f553bea9 100644 --- a/dist/static/js/expand-20ee9a2d.js +++ b/dist/static/js/expand-a75862a7.js @@ -1 +1 @@ -import{_ as o}from"./expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js";import"./data-ce9440dd.js";import"./index-ceadd577.js";export{o as default}; +import{_ as o}from"./expand.vue_vue_type_script_setup_true_lang-3909fccf.js";import"./data-9af24e22.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js b/dist/static/js/expand.vue_vue_type_script_setup_true_lang-3909fccf.js similarity index 89% rename from dist/static/js/expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js rename to dist/static/js/expand.vue_vue_type_script_setup_true_lang-3909fccf.js index d0a7ecc6a..b78ec3968 100644 --- a/dist/static/js/expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js +++ b/dist/static/js/expand.vue_vue_type_script_setup_true_lang-3909fccf.js @@ -1 +1 @@ -import{c as _}from"./data-ce9440dd.js";import{d as b,r,a as c,o as h,i as f,f as i,h as l,w as v,e as a,t as s,u as x}from"./index-ceadd577.js";const V={class:"m-4"},y={class:"mb-2"},C={class:"mb-2"},B={class:"mb-2"},N={class:"mb-4"},S=a("h3",null,"Family",-1),D=b({__name:"expand",setup(k){const o=r(!1),d=r(!1),m=[{type:"expand",slot:"expand"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],u=[{label:"Name",prop:"name"},{label:"State",prop:"state"},{label:"City",prop:"city"},{label:"Address",prop:"address"},{label:"Zip",prop:"zip"}];return(w,t)=>{const n=c("el-switch"),p=c("pure-table");return h(),f("div",null,[i(" switch parent border: "),l(n,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},null,8,["modelValue"]),i(" switch child border: "),l(n,{modelValue:d.value,"onUpdate:modelValue":t[1]||(t[1]=e=>d.value=e)},null,8,["modelValue"]),l(p,{data:x(_),columns:m,border:o.value},{expand:v(({row:e})=>[a("div",V,[a("p",y,"State: "+s(e.state),1),a("p",C,"City: "+s(e.city),1),a("p",B,"Address: "+s(e.address),1),a("p",N,"Zip: "+s(e.zip),1),S,l(p,{data:e.family,columns:u,border:d.value},null,8,["data","border"])])]),_:1},8,["data","border"])])}}});export{D as _}; +import{c as _}from"./data-9af24e22.js";import{d as b,r,a as c,o as h,i as f,f as i,h as l,w as v,e as a,t as s,u as x}from"./index-42b0cfe4.js";const V={class:"m-4"},y={class:"mb-2"},C={class:"mb-2"},B={class:"mb-2"},N={class:"mb-4"},S=a("h3",null,"Family",-1),D=b({__name:"expand",setup(k){const o=r(!1),d=r(!1),m=[{type:"expand",slot:"expand"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],u=[{label:"Name",prop:"name"},{label:"State",prop:"state"},{label:"City",prop:"city"},{label:"Address",prop:"address"},{label:"Zip",prop:"zip"}];return(w,t)=>{const n=c("el-switch"),p=c("pure-table");return h(),f("div",null,[i(" switch parent border: "),l(n,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},null,8,["modelValue"]),i(" switch child border: "),l(n,{modelValue:d.value,"onUpdate:modelValue":t[1]||(t[1]=e=>d.value=e)},null,8,["modelValue"]),l(p,{data:x(_),columns:m,border:o.value},{expand:v(({row:e})=>[a("div",V,[a("p",y,"State: "+s(e.state),1),a("p",C,"City: "+s(e.city),1),a("p",B,"Address: "+s(e.address),1),a("p",N,"Zip: "+s(e.zip),1),S,l(p,{data:e.family,columns:u,border:d.value},null,8,["data","border"])])]),_:1},8,["data","border"])])}}});export{D as _}; diff --git a/dist/static/js/fail-eaf477ca.js b/dist/static/js/fail-3b176f5f.js similarity index 86% rename from dist/static/js/fail-eaf477ca.js rename to dist/static/js/fail-3b176f5f.js index ee00aef63..fb88cb779 100644 --- a/dist/static/js/fail-eaf477ca.js +++ b/dist/static/js/fail-3b176f5f.js @@ -1 +1 @@ -import{useColumns as d}from"./columns-bcc35f9f.js";import{d as p,a as t,c as u,w as o,o as i,h as s,f as m,u as f,s as h,v as b,e as a,_ as v}from"./index-ceadd577.js";import"./arrow-right-s-line-2977cc7e.js";const x=e=>(h("data-v-3a9748db"),e=e(),b(),e),w=x(()=>a("div",{class:"card-header"},[a("span",{class:"font-medium"},"失败页")],-1)),y=p({name:"Fail",__name:"fail",setup(e){const{columns:c}=d();return(C,I)=>{const n=t("el-button"),_=t("el-result"),r=t("PureDescriptions"),l=t("el-card");return i(),u(l,{shadow:"never"},{header:o(()=>[w]),default:o(()=>[s(_,{icon:"error",title:"提交失败","sub-title":"请核对并修改以下信息后,再重新提交。"},{extra:o(()=>[s(n,{type:"primary"},{default:o(()=>[m("返回修改")]),_:1})]),_:1}),s(r,{columns:f(c),title:"您提交的内容有如下错误:",class:"p-6 ml-10 mr-10 bg-[#fafafa] dark:bg-[#1d1d1d]"},null,8,["columns"])]),_:1})}}});const N=v(y,[["__scopeId","data-v-3a9748db"]]);export{N as default}; +import{useColumns as d}from"./columns-ffb3ebcb.js";import{d as p,a as t,c as u,w as o,o as i,h as s,f as m,u as f,s as h,v as b,e as a,_ as v}from"./index-42b0cfe4.js";import"./arrow-right-s-line-2977cc7e.js";const x=e=>(h("data-v-3a9748db"),e=e(),b(),e),w=x(()=>a("div",{class:"card-header"},[a("span",{class:"font-medium"},"失败页")],-1)),y=p({name:"Fail",__name:"fail",setup(e){const{columns:c}=d();return(C,I)=>{const n=t("el-button"),_=t("el-result"),r=t("PureDescriptions"),l=t("el-card");return i(),u(l,{shadow:"never"},{header:o(()=>[w]),default:o(()=>[s(_,{icon:"error",title:"提交失败","sub-title":"请核对并修改以下信息后,再重新提交。"},{extra:o(()=>[s(n,{type:"primary"},{default:o(()=>[m("返回修改")]),_:1})]),_:1}),s(r,{columns:f(c),title:"您提交的内容有如下错误:",class:"p-6 ml-10 mr-10 bg-[#fafafa] dark:bg-[#1d1d1d]"},null,8,["columns"])]),_:1})}}});const N=v(y,[["__scopeId","data-v-3a9748db"]]);export{N as default}; diff --git a/dist/static/js/filters-519832c3.js b/dist/static/js/filters-e430cb5f.js similarity index 50% rename from dist/static/js/filters-519832c3.js rename to dist/static/js/filters-e430cb5f.js index 16b9cfd08..77fb69cd2 100644 --- a/dist/static/js/filters-519832c3.js +++ b/dist/static/js/filters-e430cb5f.js @@ -1 +1 @@ -import{_ as m}from"./filters.vue_vue_type_script_setup_true_lang-2cee2599.js";import"./index-ceadd577.js";export{m as default}; +import{_ as m}from"./filters.vue_vue_type_script_setup_true_lang-782bece9.js";import"./index-42b0cfe4.js";export{m as default}; diff --git a/dist/static/js/filters.vue_vue_type_script_setup_true_lang-2cee2599.js b/dist/static/js/filters.vue_vue_type_script_setup_true_lang-782bece9.js similarity index 95% rename from dist/static/js/filters.vue_vue_type_script_setup_true_lang-2cee2599.js rename to dist/static/js/filters.vue_vue_type_script_setup_true_lang-782bece9.js index 45ac5e369..265ff62b6 100644 --- a/dist/static/js/filters.vue_vue_type_script_setup_true_lang-2cee2599.js +++ b/dist/static/js/filters.vue_vue_type_script_setup_true_lang-782bece9.js @@ -1 +1 @@ -import{d as _,r as g,a as s,o as b,i as v,h as o,w as l,f as n,t as x}from"./index-ceadd577.js";const N=_({__name:"filters",setup(y){const c=g(),d=e=>{const{clearFilter:t}=c.value.getTableRef();t(e)},i=()=>{d(["date"])},m=[{label:"日期",prop:"date",sortable:!0,columnKey:"date",filters:[{text:"2016-05-01",value:"2016-05-01"},{text:"2016-05-02",value:"2016-05-02"},{text:"2016-05-03",value:"2016-05-03"},{text:"2016-05-04",value:"2016-05-04"}],filterMethod:(e,t,a)=>{const r=a.property;return t[r]===e}},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"标签",prop:"tag",filters:[{text:"Home",value:"Home"},{text:"Office",value:"Office"}],filterMethod:(e,t)=>t.tag===e,filterPlacement:"bottom-end",slot:"tag"}],p=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"}];return(e,t)=>{const a=s("el-button"),r=s("el-tag"),u=s("pure-table");return b(),v("div",null,[o(a,{onClick:i},{default:l(()=>[n("reset date filter")]),_:1}),o(a,{onClick:d},{default:l(()=>[n("reset all filters")]),_:1}),o(u,{ref_key:"tableRef",ref:c,"row-key":"date",data:p,columns:m},{tag:l(({row:f})=>[o(r,{type:f.tag==="Home"?"":"success","disable-transitions":""},{default:l(()=>[n(x(f.tag),1)]),_:2},1032,["type"])]),_:1},512)])}}});export{N as _}; +import{d as _,r as g,a as s,o as b,i as v,h as o,w as l,f as n,t as x}from"./index-42b0cfe4.js";const N=_({__name:"filters",setup(y){const c=g(),d=e=>{const{clearFilter:t}=c.value.getTableRef();t(e)},i=()=>{d(["date"])},m=[{label:"日期",prop:"date",sortable:!0,columnKey:"date",filters:[{text:"2016-05-01",value:"2016-05-01"},{text:"2016-05-02",value:"2016-05-02"},{text:"2016-05-03",value:"2016-05-03"},{text:"2016-05-04",value:"2016-05-04"}],filterMethod:(e,t,a)=>{const r=a.property;return t[r]===e}},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"标签",prop:"tag",filters:[{text:"Home",value:"Home"},{text:"Office",value:"Office"}],filterMethod:(e,t)=>t.tag===e,filterPlacement:"bottom-end",slot:"tag"}],p=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"}];return(e,t)=>{const a=s("el-button"),r=s("el-tag"),u=s("pure-table");return b(),v("div",null,[o(a,{onClick:i},{default:l(()=>[n("reset date filter")]),_:1}),o(a,{onClick:d},{default:l(()=>[n("reset all filters")]),_:1}),o(u,{ref_key:"tableRef",ref:c,"row-key":"date",data:p,columns:m},{tag:l(({row:f})=>[o(r,{type:f.tag==="Home"?"":"success","disable-transitions":""},{default:l(()=>[n(x(f.tag),1)]),_:2},1032,["type"])]),_:1},512)])}}});export{N as _}; diff --git a/dist/static/js/fixColumn-510ab3fc.js b/dist/static/js/fixColumn-510ab3fc.js new file mode 100644 index 000000000..118660985 --- /dev/null +++ b/dist/static/js/fixColumn-510ab3fc.js @@ -0,0 +1 @@ +import{_ as o}from"./fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js";import"./data-9af24e22.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/fixColumn-c205a3c1.js b/dist/static/js/fixColumn-c205a3c1.js deleted file mode 100644 index e06aed012..000000000 --- a/dist/static/js/fixColumn-c205a3c1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js";import"./data-ce9440dd.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js b/dist/static/js/fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js similarity index 86% rename from dist/static/js/fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js rename to dist/static/js/fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js index 72e19a4d5..44951135e 100644 --- a/dist/static/js/fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js +++ b/dist/static/js/fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js @@ -1 +1 @@ -import{a as e}from"./data-ce9440dd.js";import{d as m,a as n,o as u,c as _,w as a,h as i,f as r,u as t}from"./index-ceadd577.js";const C=m({__name:"fixColumn",props:{height:{default:null}},setup(p){const o=p,s=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}];function f(c){}return(c,b)=>{const l=n("el-button"),d=n("pure-table");return u(),_(d,{data:o.height?t(e).concat(t(e)).concat(t(e)):t(e),columns:s,height:o.height},{operation:a(({row:h})=>[i(l,{link:"",type:"primary",size:"small",onClick:w=>void 0},{default:a(()=>[r(" Detail ")]),_:2},1032,["onClick"]),i(l,{link:"",type:"primary",size:"small"},{default:a(()=>[r("Edit")]),_:1})]),_:1},8,["data","height"])}}});export{C as _}; +import{a as e}from"./data-9af24e22.js";import{d as m,a as n,o as u,c as _,w as a,h as i,f as r,u as t}from"./index-42b0cfe4.js";const C=m({__name:"fixColumn",props:{height:{default:null}},setup(p){const o=p,s=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}];function f(c){}return(c,b)=>{const l=n("el-button"),d=n("pure-table");return u(),_(d,{data:o.height?t(e).concat(t(e)).concat(t(e)):t(e),columns:s,height:o.height},{operation:a(({row:h})=>[i(l,{link:"",type:"primary",size:"small",onClick:w=>void 0},{default:a(()=>[r(" Detail ")]),_:2},1032,["onClick"]),i(l,{link:"",type:"primary",size:"small"},{default:a(()=>[r("Edit")]),_:1})]),_:1},8,["data","height"])}}});export{C as _}; diff --git a/dist/static/js/fixHeader-3ff03587.js b/dist/static/js/fixHeader-3ff03587.js new file mode 100644 index 000000000..d9dc4f30a --- /dev/null +++ b/dist/static/js/fixHeader-3ff03587.js @@ -0,0 +1 @@ +import{_ as o}from"./fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js";import"./data-9af24e22.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/fixHeader-d6f28bc5.js b/dist/static/js/fixHeader-d6f28bc5.js deleted file mode 100644 index 1736f3d1b..000000000 --- a/dist/static/js/fixHeader-d6f28bc5.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js";import"./data-ce9440dd.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js b/dist/static/js/fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js similarity index 67% rename from dist/static/js/fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js rename to dist/static/js/fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js index ab4b173a9..b56de5907 100644 --- a/dist/static/js/fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js +++ b/dist/static/js/fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js @@ -1 +1 @@ -import{t as e}from"./data-ce9440dd.js";import{d as n,a as r,o as p,c,u as a}from"./index-ceadd577.js";const d=n({__name:"fixHeader",setup(s){const o=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(l,_)=>{const t=r("pure-table");return p(),c(t,{data:a(e).concat(a(e)).concat(a(e)),columns:o,height:"360"},null,8,["data"])}}});export{d as _}; +import{t as e}from"./data-9af24e22.js";import{d as n,a as r,o as p,c,u as a}from"./index-42b0cfe4.js";const d=n({__name:"fixHeader",setup(s){const o=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(l,_)=>{const t=r("pure-table");return p(),c(t,{data:a(e).concat(a(e)).concat(a(e)),columns:o,height:"360"},null,8,["data"])}}});export{d as _}; diff --git a/dist/static/js/fluidHeight-3e3d1bb8.js b/dist/static/js/fluidHeight-3e3d1bb8.js deleted file mode 100644 index ef09e412f..000000000 --- a/dist/static/js/fluidHeight-3e3d1bb8.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js";import"./index-ceadd577.js";import"./data-ce9440dd.js";export{o as default}; diff --git a/dist/static/js/fluidHeight-4ba3358c.js b/dist/static/js/fluidHeight-4ba3358c.js new file mode 100644 index 000000000..f085dc256 --- /dev/null +++ b/dist/static/js/fluidHeight-4ba3358c.js @@ -0,0 +1 @@ +import{_ as o}from"./fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js";import"./index-42b0cfe4.js";import"./data-9af24e22.js";export{o as default}; diff --git a/dist/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js b/dist/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js similarity index 89% rename from dist/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js rename to dist/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js index d847141bd..a7c6582cf 100644 --- a/dist/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js +++ b/dist/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js @@ -1 +1 @@ -import{d as _,r as u,a as n,o as h,i as b,h as a,w as o,ak as f,f as r,bD as w}from"./index-ceadd577.js";import{a as v}from"./data-ce9440dd.js";const y=_({__name:"fluidHeight",setup(C){const i=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}],e=new Date,t=u(v),d=s=>{t.value.splice(s,1)},p=()=>{e.setDate(e.getDate()+1),t.value.push({date:w(e).format("YYYY-MM-DD"),name:"Tom",address:"No. 189, Grove St, Los Angeles",state:"California",city:"Los Angeles","post-code":"CA 90036"})};return(s,D)=>{const l=n("el-button"),c=n("pure-table");return h(),b("div",null,[a(c,{data:t.value,columns:i,maxHeight:"500"},{operation:o(({$index:m})=>[a(l,{link:"",type:"primary",size:"small",onClick:f(k=>d(m),["prevent"])},{default:o(()=>[r(" Remove ")]),_:2},1032,["onClick"])]),_:1},8,["data"]),a(l,{class:"mt-4",style:{width:"100%"},onClick:p},{default:o(()=>[r(" Add Item ")]),_:1})])}}});export{y as _}; +import{d as _,r as u,a as n,o as h,i as b,h as a,w as o,ak as f,f as r,bD as w}from"./index-42b0cfe4.js";import{a as v}from"./data-9af24e22.js";const y=_({__name:"fluidHeight",setup(C){const i=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}],e=new Date,t=u(v),d=s=>{t.value.splice(s,1)},p=()=>{e.setDate(e.getDate()+1),t.value.push({date:w(e).format("YYYY-MM-DD"),name:"Tom",address:"No. 189, Grove St, Los Angeles",state:"California",city:"Los Angeles","post-code":"CA 90036"})};return(s,D)=>{const l=n("el-button"),c=n("pure-table");return h(),b("div",null,[a(c,{data:t.value,columns:i,maxHeight:"500"},{operation:o(({$index:m})=>[a(l,{link:"",type:"primary",size:"small",onClick:f(k=>d(m),["prevent"])},{default:o(()=>[r(" Remove ")]),_:2},1032,["onClick"])]),_:1},8,["data"]),a(l,{class:"mt-4",style:{width:"100%"},onClick:p},{default:o(()=>[r(" Add Item ")]),_:1})])}}});export{y as _}; diff --git a/dist/static/js/form-0cf76bae.js b/dist/static/js/form-0cf76bae.js new file mode 100644 index 000000000..c09400bd7 --- /dev/null +++ b/dist/static/js/form-0cf76bae.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-a7e35271.js";import"./index-42b0cfe4.js";export{m as default}; diff --git a/dist/static/js/form-37ef77b1.js b/dist/static/js/form-37ef77b1.js deleted file mode 100644 index 0df85e48c..000000000 --- a/dist/static/js/form-37ef77b1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-88b521bf.js";import"./index-ceadd577.js";export{m as default}; diff --git a/dist/static/js/form-3d4fecb5.js b/dist/static/js/form-3d4fecb5.js new file mode 100644 index 000000000..efc908ddd --- /dev/null +++ b/dist/static/js/form-3d4fecb5.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-20cd937b.js";import"./index-95007ff2.js";import"./index-42b0cfe4.js";import"./hooks-7e719396.js";export{o as default}; diff --git a/dist/static/js/form-b83f824c.js b/dist/static/js/form-b83f824c.js deleted file mode 100644 index 3b80748e7..000000000 --- a/dist/static/js/form-b83f824c.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-0e445be8.js";import"./index-8460cfed.js";import"./index-ceadd577.js";import"./hooks-0879ef18.js";export{o as default}; diff --git a/dist/static/js/form-c0c48db9.js b/dist/static/js/form-c0c48db9.js deleted file mode 100644 index e07fdffa8..000000000 --- a/dist/static/js/form-c0c48db9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-668c070a.js";import"./index-ceadd577.js";export{m as default}; diff --git a/dist/static/js/form-ec3d941e.js b/dist/static/js/form-ec3d941e.js new file mode 100644 index 000000000..33a2e93e3 --- /dev/null +++ b/dist/static/js/form-ec3d941e.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-2a77ad63.js";import"./index-42b0cfe4.js";export{m as default}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-0e445be8.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-20cd937b.js similarity index 94% rename from dist/static/js/form.vue_vue_type_script_setup_true_lang-0e445be8.js rename to dist/static/js/form.vue_vue_type_script_setup_true_lang-20cd937b.js index fa152956e..e5304e4ea 100644 --- a/dist/static/js/form.vue_vue_type_script_setup_true_lang-0e445be8.js +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-20cd937b.js @@ -1 +1 @@ -import{R as s}from"./index-8460cfed.js";import{ai as k,bH as I,bL as R,d as B,r as v,a as d,o as c,c as C,w as l,h as e,u,e as S,t as V,i as D,j as E,G as F}from"./index-ceadd577.js";import{u as H}from"./hooks-0879ef18.js";const N=k({name:[{required:!0,message:"部门名称为必填项",trigger:"blur"}],phone:[{validator:(i,m,r)=>{m===""||I(m)?r():r(new Error("请输入正确的手机号码格式"))},trigger:"blur"}],email:[{validator:(i,m,r)=>{m===""||R(m)?r():r(new Error("请输入正确的邮箱格式"))},trigger:"blur"}]}),L={key:0},z=B({__name:"form",props:{formInline:{default:()=>({higherDeptOptions:[],parentId:0,name:"",principal:"",phone:"",email:"",sort:0,status:1,remark:""})}},setup(i,{expose:m}){const r=i,f=v(),{switchStyle:b}=H(),a=v(r.formInline);function x(){return f.value}return m({getRef:x}),(O,t)=>{const g=d("el-cascader"),n=d("el-form-item"),p=d("el-input"),h=d("el-input-number"),w=d("el-switch"),y=d("el-row"),U=d("el-form");return c(),C(U,{ref_key:"ruleFormRef",ref:f,model:a.value,rules:u(N),"label-width":"82px"},{default:l(()=>[e(y,{gutter:30},{default:l(()=>[e(u(s),null,{default:l(()=>[e(n,{label:"上级部门"},{default:l(()=>[e(g,{class:"w-full",modelValue:a.value.parentId,"onUpdate:modelValue":t[0]||(t[0]=o=>a.value.parentId=o),options:a.value.higherDeptOptions,props:{value:"id",label:"name",emitPath:!1,checkStrictly:!0},clearable:"",filterable:"",placeholder:"请选择上级部门"},{default:l(({node:o,data:_})=>[S("span",null,V(_.name),1),o.isLeaf?E("",!0):(c(),D("span",L," ("+V(_.children.length)+") ",1))]),_:1},8,["modelValue","options"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门名称",prop:"name"},{default:l(()=>[e(p,{modelValue:a.value.name,"onUpdate:modelValue":t[1]||(t[1]=o=>a.value.name=o),clearable:"",placeholder:"请输入部门名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门负责人"},{default:l(()=>[e(p,{modelValue:a.value.principal,"onUpdate:modelValue":t[2]||(t[2]=o=>a.value.principal=o),clearable:"",placeholder:"请输入部门负责人"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"手机号",prop:"phone"},{default:l(()=>[e(p,{modelValue:a.value.phone,"onUpdate:modelValue":t[3]||(t[3]=o=>a.value.phone=o),clearable:"",placeholder:"请输入手机号"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"邮箱",prop:"email"},{default:l(()=>[e(p,{modelValue:a.value.email,"onUpdate:modelValue":t[4]||(t[4]=o=>a.value.email=o),clearable:"",placeholder:"请输入邮箱"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"排序"},{default:l(()=>[e(h,{modelValue:a.value.sort,"onUpdate:modelValue":t[5]||(t[5]=o=>a.value.sort=o),min:0,max:9999,"controls-position":"right"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门状态"},{default:l(()=>[e(w,{modelValue:a.value.status,"onUpdate:modelValue":t[6]||(t[6]=o=>a.value.status=o),"inline-prompt":"","active-value":1,"inactive-value":0,"active-text":"启用","inactive-text":"停用",style:F(u(b))},null,8,["modelValue","style"])]),_:1})]),_:1}),e(u(s),null,{default:l(()=>[e(n,{label:"备注"},{default:l(()=>[e(p,{modelValue:a.value.remark,"onUpdate:modelValue":t[7]||(t[7]=o=>a.value.remark=o),placeholder:"请输入备注信息",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{z as _}; +import{R as s}from"./index-95007ff2.js";import{ai as k,bH as I,bL as R,d as B,r as v,a as d,o as c,c as C,w as l,h as e,u,e as S,t as V,i as D,j as E,G as F}from"./index-42b0cfe4.js";import{u as H}from"./hooks-7e719396.js";const N=k({name:[{required:!0,message:"部门名称为必填项",trigger:"blur"}],phone:[{validator:(i,m,r)=>{m===""||I(m)?r():r(new Error("请输入正确的手机号码格式"))},trigger:"blur"}],email:[{validator:(i,m,r)=>{m===""||R(m)?r():r(new Error("请输入正确的邮箱格式"))},trigger:"blur"}]}),L={key:0},z=B({__name:"form",props:{formInline:{default:()=>({higherDeptOptions:[],parentId:0,name:"",principal:"",phone:"",email:"",sort:0,status:1,remark:""})}},setup(i,{expose:m}){const r=i,f=v(),{switchStyle:b}=H(),a=v(r.formInline);function x(){return f.value}return m({getRef:x}),(O,t)=>{const g=d("el-cascader"),n=d("el-form-item"),p=d("el-input"),h=d("el-input-number"),w=d("el-switch"),y=d("el-row"),U=d("el-form");return c(),C(U,{ref_key:"ruleFormRef",ref:f,model:a.value,rules:u(N),"label-width":"82px"},{default:l(()=>[e(y,{gutter:30},{default:l(()=>[e(u(s),null,{default:l(()=>[e(n,{label:"上级部门"},{default:l(()=>[e(g,{class:"w-full",modelValue:a.value.parentId,"onUpdate:modelValue":t[0]||(t[0]=o=>a.value.parentId=o),options:a.value.higherDeptOptions,props:{value:"id",label:"name",emitPath:!1,checkStrictly:!0},clearable:"",filterable:"",placeholder:"请选择上级部门"},{default:l(({node:o,data:_})=>[S("span",null,V(_.name),1),o.isLeaf?E("",!0):(c(),D("span",L," ("+V(_.children.length)+") ",1))]),_:1},8,["modelValue","options"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门名称",prop:"name"},{default:l(()=>[e(p,{modelValue:a.value.name,"onUpdate:modelValue":t[1]||(t[1]=o=>a.value.name=o),clearable:"",placeholder:"请输入部门名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门负责人"},{default:l(()=>[e(p,{modelValue:a.value.principal,"onUpdate:modelValue":t[2]||(t[2]=o=>a.value.principal=o),clearable:"",placeholder:"请输入部门负责人"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"手机号",prop:"phone"},{default:l(()=>[e(p,{modelValue:a.value.phone,"onUpdate:modelValue":t[3]||(t[3]=o=>a.value.phone=o),clearable:"",placeholder:"请输入手机号"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"邮箱",prop:"email"},{default:l(()=>[e(p,{modelValue:a.value.email,"onUpdate:modelValue":t[4]||(t[4]=o=>a.value.email=o),clearable:"",placeholder:"请输入邮箱"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"排序"},{default:l(()=>[e(h,{modelValue:a.value.sort,"onUpdate:modelValue":t[5]||(t[5]=o=>a.value.sort=o),min:0,max:9999,"controls-position":"right"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门状态"},{default:l(()=>[e(w,{modelValue:a.value.status,"onUpdate:modelValue":t[6]||(t[6]=o=>a.value.status=o),"inline-prompt":"","active-value":1,"inactive-value":0,"active-text":"启用","inactive-text":"停用",style:F(u(b))},null,8,["modelValue","style"])]),_:1})]),_:1}),e(u(s),null,{default:l(()=>[e(n,{label:"备注"},{default:l(()=>[e(p,{modelValue:a.value.remark,"onUpdate:modelValue":t[7]||(t[7]=o=>a.value.remark=o),placeholder:"请输入备注信息",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{z as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-668c070a.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-2a77ad63.js similarity index 93% rename from dist/static/js/form.vue_vue_type_script_setup_true_lang-668c070a.js rename to dist/static/js/form.vue_vue_type_script_setup_true_lang-2a77ad63.js index 6a031c0aa..81e8a25d7 100644 --- a/dist/static/js/form.vue_vue_type_script_setup_true_lang-668c070a.js +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-2a77ad63.js @@ -1 +1 @@ -import{d as c,r as d,a as o,o as f,c as i,w as a,h as e}from"./index-ceadd577.js";const w=c({__name:"form",props:{formInline:{default:()=>({user:"",region:""})}},setup(m){const l=d(m.formInline);return(V,n)=>{const u=o("el-input"),s=o("el-form-item"),t=o("el-option"),p=o("el-select"),_=o("el-form");return f(),i(_,{model:l.value},{default:a(()=>[e(s,{label:"姓名"},{default:a(()=>[e(u,{class:"!w-[220px]",modelValue:l.value.user,"onUpdate:modelValue":n[0]||(n[0]=r=>l.value.user=r),placeholder:"请输入姓名"},null,8,["modelValue"])]),_:1}),e(s,{label:"城市"},{default:a(()=>[e(p,{class:"!w-[220px]",modelValue:l.value.region,"onUpdate:modelValue":n[1]||(n[1]=r=>l.value.region=r),placeholder:"请选择城市"},{default:a(()=>[e(t,{label:"上海",value:"上海"}),e(t,{label:"浙江",value:"浙江"}),e(t,{label:"深圳",value:"深圳"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])}}});export{w as _}; +import{d as c,r as d,a as o,o as f,c as i,w as a,h as e}from"./index-42b0cfe4.js";const w=c({__name:"form",props:{formInline:{default:()=>({user:"",region:""})}},setup(m){const l=d(m.formInline);return(V,n)=>{const u=o("el-input"),s=o("el-form-item"),t=o("el-option"),p=o("el-select"),_=o("el-form");return f(),i(_,{model:l.value},{default:a(()=>[e(s,{label:"姓名"},{default:a(()=>[e(u,{class:"!w-[220px]",modelValue:l.value.user,"onUpdate:modelValue":n[0]||(n[0]=r=>l.value.user=r),placeholder:"请输入姓名"},null,8,["modelValue"])]),_:1}),e(s,{label:"城市"},{default:a(()=>[e(p,{class:"!w-[220px]",modelValue:l.value.region,"onUpdate:modelValue":n[1]||(n[1]=r=>l.value.region=r),placeholder:"请选择城市"},{default:a(()=>[e(t,{label:"上海",value:"上海"}),e(t,{label:"浙江",value:"浙江"}),e(t,{label:"深圳",value:"深圳"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])}}});export{w as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-88b521bf.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-a7e35271.js similarity index 95% rename from dist/static/js/form.vue_vue_type_script_setup_true_lang-88b521bf.js rename to dist/static/js/form.vue_vue_type_script_setup_true_lang-a7e35271.js index 39823e748..0df1418d8 100644 --- a/dist/static/js/form.vue_vue_type_script_setup_true_lang-88b521bf.js +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-a7e35271.js @@ -1 +1 @@ -import{ai as _,d as v,r as d,a as u,o as V,c as b,w as a,h as o,u as g}from"./index-ceadd577.js";const k=_({name:[{required:!0,message:"角色名称为必填项",trigger:"blur"}],code:[{required:!0,message:"角色标识为必填项",trigger:"blur"}]}),R=v({__name:"form",props:{formInline:{default:()=>({name:"",code:"",remark:""})}},setup(s,{expose:p}){const f=s,m=d(),e=d(f.formInline);function c(){return m.value}return p({getRef:c}),(x,l)=>{const n=u("el-input"),t=u("el-form-item"),i=u("el-form");return V(),b(i,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:g(k),"label-width":"82px"},{default:a(()=>[o(t,{label:"角色名称",prop:"name"},{default:a(()=>[o(n,{modelValue:e.value.name,"onUpdate:modelValue":l[0]||(l[0]=r=>e.value.name=r),clearable:"",placeholder:"请输入角色名称"},null,8,["modelValue"])]),_:1}),o(t,{label:"角色标识",prop:"code"},{default:a(()=>[o(n,{modelValue:e.value.code,"onUpdate:modelValue":l[1]||(l[1]=r=>e.value.code=r),clearable:"",placeholder:"请输入角色标识"},null,8,["modelValue"])]),_:1}),o(t,{label:"备注"},{default:a(()=>[o(n,{modelValue:e.value.remark,"onUpdate:modelValue":l[2]||(l[2]=r=>e.value.remark=r),placeholder:"请输入备注信息",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; +import{ai as _,d as v,r as d,a as u,o as V,c as b,w as a,h as o,u as g}from"./index-42b0cfe4.js";const k=_({name:[{required:!0,message:"角色名称为必填项",trigger:"blur"}],code:[{required:!0,message:"角色标识为必填项",trigger:"blur"}]}),R=v({__name:"form",props:{formInline:{default:()=>({name:"",code:"",remark:""})}},setup(s,{expose:p}){const f=s,m=d(),e=d(f.formInline);function c(){return m.value}return p({getRef:c}),(x,l)=>{const n=u("el-input"),t=u("el-form-item"),i=u("el-form");return V(),b(i,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:g(k),"label-width":"82px"},{default:a(()=>[o(t,{label:"角色名称",prop:"name"},{default:a(()=>[o(n,{modelValue:e.value.name,"onUpdate:modelValue":l[0]||(l[0]=r=>e.value.name=r),clearable:"",placeholder:"请输入角色名称"},null,8,["modelValue"])]),_:1}),o(t,{label:"角色标识",prop:"code"},{default:a(()=>[o(n,{modelValue:e.value.code,"onUpdate:modelValue":l[1]||(l[1]=r=>e.value.code=r),clearable:"",placeholder:"请输入角色标识"},null,8,["modelValue"])]),_:1}),o(t,{label:"备注"},{default:a(()=>[o(n,{modelValue:e.value.remark,"onUpdate:modelValue":l[2]||(l[2]=r=>e.value.remark=r),placeholder:"请输入备注信息",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; diff --git a/dist/static/js/formPrimitive-1e937fa9.js b/dist/static/js/formPrimitive-b4519716.js similarity index 52% rename from dist/static/js/formPrimitive-1e937fa9.js rename to dist/static/js/formPrimitive-b4519716.js index 46e3e173b..0410abbe0 100644 --- a/dist/static/js/formPrimitive-1e937fa9.js +++ b/dist/static/js/formPrimitive-b4519716.js @@ -1 +1 @@ -import{_ as m}from"./formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js";import"./index-ceadd577.js";export{m as default}; +import{_ as m}from"./formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js";import"./index-42b0cfe4.js";export{m as default}; diff --git a/dist/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js b/dist/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js similarity index 85% rename from dist/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js rename to dist/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js index ca7824549..fb827b209 100644 --- a/dist/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js +++ b/dist/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js @@ -1 +1 @@ -import{d as l,aU as p,a as r,o as u,c as d,u as m,as as c}from"./index-ceadd577.js";const V=l({__name:"formPrimitive",props:{data:{default:()=>""}},emits:["update:data"],setup(o,{emit:t}){const e=p(o,"data",t);return(_,a)=>{const s=r("el-input");return u(),d(s,{class:"!w-[220px]",modelValue:m(e),"onUpdate:modelValue":a[0]||(a[0]=n=>c(e)?e.value=n:null),placeholder:"请输入内容"},null,8,["modelValue"])}}});export{V as _}; +import{d as l,aU as p,a as r,o as u,c as d,u as m,as as c}from"./index-42b0cfe4.js";const V=l({__name:"formPrimitive",props:{data:{default:()=>""}},emits:["update:data"],setup(o,{emit:t}){const e=p(o,"data",t);return(_,a)=>{const s=r("el-input");return u(),d(s,{class:"!w-[220px]",modelValue:m(e),"onUpdate:modelValue":a[0]||(a[0]=n=>c(e)?e.value=n:null),placeholder:"请输入内容"},null,8,["modelValue"])}}});export{V as _}; diff --git a/dist/static/js/frameView-5ae09b01.js b/dist/static/js/frameView-b346d222.js similarity index 92% rename from dist/static/js/frameView-5ae09b01.js rename to dist/static/js/frameView-b346d222.js index eaa33719e..cc0fb0733 100644 --- a/dist/static/js/frameView-5ae09b01.js +++ b/dist/static/js/frameView-b346d222.js @@ -1 +1 @@ -import{d as v,$ as p,r as o,b7 as g,u as e,k as h,b as x,g as k,o as w,i as V,e as b,n as R,_ as y}from"./index-ceadd577.js";const B=["element-loading-text"],E=["src"],L=v({name:"FrameView",__name:"frameView",setup(S){var f,_,l;const{t:m}=p(),r=o(!0),t=g(),c=o(""),i=o(null);(f=e(t.meta))!=null&&f.frameSrc&&(c.value=(_=e(t.meta))==null?void 0:_.frameSrc),((l=e(t.meta))==null?void 0:l.frameLoading)===!1&&n();function n(){r.value=!1}function u(){R(()=>{const a=e(i);if(!a)return;const s=a;s.attachEvent?s.attachEvent("onload",()=>{n()}):a.onload=()=>{n()}})}return h(()=>{u()}),(a,s)=>{const d=x("loading");return k((w(),V("div",{class:"frame","element-loading-text":e(m)("status.hsLoad")},[b("iframe",{src:c.value,class:"frame-iframe",ref_key:"frameRef",ref:i},null,8,E)],8,B)),[[d,r.value]])}}});const I=y(L,[["__scopeId","data-v-94a6f1bc"]]);export{I as default}; +import{d as v,$ as p,r as o,b7 as g,u as e,k as h,b as x,g as k,o as w,i as V,e as b,n as R,_ as y}from"./index-42b0cfe4.js";const B=["element-loading-text"],E=["src"],L=v({name:"FrameView",__name:"frameView",setup(S){var f,_,l;const{t:m}=p(),r=o(!0),t=g(),c=o(""),i=o(null);(f=e(t.meta))!=null&&f.frameSrc&&(c.value=(_=e(t.meta))==null?void 0:_.frameSrc),((l=e(t.meta))==null?void 0:l.frameLoading)===!1&&n();function n(){r.value=!1}function u(){R(()=>{const a=e(i);if(!a)return;const s=a;s.attachEvent?s.attachEvent("onload",()=>{n()}):a.onload=()=>{n()}})}return h(()=>{u()}),(a,s)=>{const d=x("loading");return k((w(),V("div",{class:"frame","element-loading-text":e(m)("status.hsLoad")},[b("iframe",{src:c.value,class:"frame-iframe",ref_key:"frameRef",ref:i},null,8,E)],8,B)),[[d,r.value]])}}});const I=y(L,[["__scopeId","data-v-94a6f1bc"]]);export{I as default}; diff --git a/dist/static/js/groupHeader-a0785989.js b/dist/static/js/groupHeader-a0785989.js deleted file mode 100644 index b28e04937..000000000 --- a/dist/static/js/groupHeader-a0785989.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js";import"./data-ce9440dd.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/groupHeader-fef6e98c.js b/dist/static/js/groupHeader-fef6e98c.js new file mode 100644 index 000000000..bd08dcd6c --- /dev/null +++ b/dist/static/js/groupHeader-fef6e98c.js @@ -0,0 +1 @@ +import{_ as o}from"./groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js";import"./data-9af24e22.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js b/dist/static/js/groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js similarity index 73% rename from dist/static/js/groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js rename to dist/static/js/groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js index 0ddd85d83..6eae6afb9 100644 --- a/dist/static/js/groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js +++ b/dist/static/js/groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js @@ -1 +1 @@ -import{a as o}from"./data-ce9440dd.js";import{d as r,a as l,o as t,c as p,u as n}from"./index-ceadd577.js";const u=r({__name:"groupHeader",setup(c){const e=[{label:"日期",prop:"date",fixed:!0},{label:"姓名",prop:"name",children:[{label:"地区",children:[{label:"城市",prop:"city"},{label:"地址",prop:"address"}]}]},{label:"邮编",prop:"post-code"}];return(s,d)=>{const a=l("pure-table");return t(),p(a,{data:n(o),columns:e,alignWhole:"center"},null,8,["data"])}}});export{u as _}; +import{a as o}from"./data-9af24e22.js";import{d as r,a as l,o as t,c as p,u as n}from"./index-42b0cfe4.js";const u=r({__name:"groupHeader",setup(c){const e=[{label:"日期",prop:"date",fixed:!0},{label:"姓名",prop:"name",children:[{label:"地区",children:[{label:"城市",prop:"city"},{label:"地址",prop:"address"}]}]},{label:"邮编",prop:"post-code"}];return(s,d)=>{const a=l("pure-table");return t(),p(a,{data:n(o),columns:e,alignWhole:"center"},null,8,["data"])}}});export{u as _}; diff --git a/dist/static/js/high-576e7673.js b/dist/static/js/high-51cafcc9.js similarity index 52% rename from dist/static/js/high-576e7673.js rename to dist/static/js/high-51cafcc9.js index 6ea2663ca..180f8c6d2 100644 --- a/dist/static/js/high-576e7673.js +++ b/dist/static/js/high-51cafcc9.js @@ -1,2 +1,2 @@ -import{list as k}from"./list-501aa27e.js";import{d as y,r as g,a as t,c as r,w as e,o as a,e as p,f as i,h as n,i as v,q as x,t as C,T,j as w,u as B,F as N,_ as V}from"./index-ceadd577.js";import"./index.vue_vue_type_script_setup_true_lang-662cb145.js";import"./columns-1bc0ce1c.js";import"./data-c6346f61.js";import"./index.vue_vue_type_script_setup_true_lang-2f204d9d.js";import"./columns-963fe6ad.js";import"./index.vue_vue_type_script_setup_true_lang-cef39cb0.js";import"./columns-67044dfe.js";import"./sortable.esm-e674cde8.js";import"./index.vue_vue_type_script_setup_true_lang-9d69299b.js";import"./columns-dae514b7.js";import"./index.vue_vue_type_script_setup_true_lang-959d3879.js";import"./columns-ebf2e2fa.js";import"./index.vue_vue_type_script_setup_true_lang-cd853b95.js";import"./columns-43640cdf.js";import"./xlsx-f5126985.js";import"./index.vue_vue_type_script_setup_true_lang-fbc09ad7.js";import"./columns-a9925c7c.js";import"./edit-pen-37b5ced2.js";import"./check-3815600c.js";import"./index.vue_vue_type_script_setup_true_lang-a2c109d6.js";import"./columns-15aaedc0.js";import"./index.vue_vue_type_script_setup_true_lang-fb59f01c.js";import"./columns-2e2a5dc4.js";import"./print-a6e42845.js";import"./index.vue_vue_type_script_setup_true_lang-ad86bd1d.js";import"./columns-b74d2f49.js";import"./index.vue_vue_type_script_setup_true_lang-97e25004.js";import"./index.vue_vue_type_script_setup_true_lang-7c698d53.js";import"./columns-9576412b.js";import"./index.vue_vue_type_script_setup_true_lang-808d4627.js";import"./columns-75d79a61.js";const z={class:"card-header"},D={class:"font-medium"},F=y({name:"PureTableHigh",__name:"high",setup($){const s=g(0);function c({index:l}){s.value=l}return(l,j)=>{const _=t("el-link"),d=t("el-alert"),u=t("el-tooltip"),f=t("el-tab-pane"),h=t("el-tabs"),b=t("el-card");return a(),r(b,{shadow:"never"},{header:e(()=>[p("div",z,[p("span",D,[i(" 高级用法全部采用 tsx 语法,充分发挥 "),n(_,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:e(()=>[i(" @pureadmin/table ")]),_:1}),i(" 的灵活性,维护整体表格只需操作 columns 配置即可 ")])])]),default:e(()=>[n(d,{title:`高级用法中所有表格都设置了 row-key ,后端需返回唯一值的字段,比如id 作用:1. 用来优化 Table +import{list as k}from"./list-7857d918.js";import{d as y,r as g,a as t,c as r,w as e,o as a,e as p,f as i,h as n,i as v,q as x,t as C,T,j as w,u as B,F as N,_ as V}from"./index-42b0cfe4.js";import"./index.vue_vue_type_script_setup_true_lang-3e2fded0.js";import"./columns-03aeaacd.js";import"./data-43132d69.js";import"./index.vue_vue_type_script_setup_true_lang-5e5d23a5.js";import"./columns-6d554563.js";import"./index.vue_vue_type_script_setup_true_lang-443a04b9.js";import"./columns-6b41d831.js";import"./sortable.esm-e674cde8.js";import"./index.vue_vue_type_script_setup_true_lang-289544ea.js";import"./columns-342fbfd7.js";import"./index.vue_vue_type_script_setup_true_lang-fc1e8d16.js";import"./columns-474c4a4a.js";import"./index.vue_vue_type_script_setup_true_lang-709c24e0.js";import"./columns-94e2a27b.js";import"./xlsx-f5126985.js";import"./index.vue_vue_type_script_setup_true_lang-a3e0389a.js";import"./columns-e5795be2.js";import"./edit-pen-37b5ced2.js";import"./check-3815600c.js";import"./index.vue_vue_type_script_setup_true_lang-3c1d02d2.js";import"./columns-81a95c64.js";import"./index.vue_vue_type_script_setup_true_lang-f369f7f2.js";import"./columns-7e32d1da.js";import"./print-a6e42845.js";import"./index.vue_vue_type_script_setup_true_lang-dc219594.js";import"./columns-2aa5fe39.js";import"./index.vue_vue_type_script_setup_true_lang-0c2046d1.js";import"./index.vue_vue_type_script_setup_true_lang-6b1426e7.js";import"./columns-ffa8f14e.js";import"./index.vue_vue_type_script_setup_true_lang-91560990.js";import"./columns-cecb48d1.js";const z={class:"card-header"},D={class:"font-medium"},F=y({name:"PureTableHigh",__name:"high",setup($){const s=g(0);function c({index:l}){s.value=l}return(l,j)=>{const _=t("el-link"),d=t("el-alert"),u=t("el-tooltip"),f=t("el-tab-pane"),h=t("el-tabs"),b=t("el-card");return a(),r(b,{shadow:"never"},{header:e(()=>[p("div",z,[p("span",D,[i(" 高级用法全部采用 tsx 语法,充分发挥 "),n(_,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:e(()=>[i(" @pureadmin/table ")]),_:1}),i(" 的灵活性,维护整体表格只需操作 columns 配置即可 ")])])]),default:e(()=>[n(d,{title:`高级用法中所有表格都设置了 row-key ,后端需返回唯一值的字段,比如id 作用:1. 用来优化 Table 的渲染,尤其当字段在深层结构中;2. 防止拖拽后表格组件内部混乱(拖拽必须设置哦,坑都帮您们踩过啦 ❤️)`,type:"info",closable:!1}),n(h,{onTabClick:c},{default:e(()=>[(a(!0),v(N,null,x(B(k),(o,m)=>(a(),r(f,{key:o.key,lazy:!0},{label:e(()=>[n(u,{content:`(第 ${m+1} 个示例)${o.content}`,placement:"top-end"},{default:e(()=>[p("span",null,C(o.title),1)]),_:2},1032,["content"])]),default:e(()=>[s.value==m?(a(),r(T(o.component),{key:0})):w("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}});const de=V(F,[["__scopeId","data-v-d1e9a4ec"]]);export{de as default}; diff --git a/dist/static/js/hook-047bb42e.js b/dist/static/js/hook-70100432.js similarity index 90% rename from dist/static/js/hook-047bb42e.js rename to dist/static/js/hook-70100432.js index fd492f4fc..beb4cbd44 100644 --- a/dist/static/js/hook-047bb42e.js +++ b/dist/static/js/hook-70100432.js @@ -1 +1 @@ -import{ai as g,r as l,k as F,h as T,a as W,bD as x,bG as H,m as o,b5 as L,a3 as O,O as P}from"./index-ceadd577.js";import{_ as Y}from"./form.vue_vue_type_script_setup_true_lang-88b521bf.js";import{a as j}from"./system-64319881.js";import{u as B}from"./hooks-0879ef18.js";function G(){const r=g({name:"",code:"",status:""}),c=l(),m=l([]),i=l(!0),t=l({}),{switchStyle:f}=B(),s=g({total:0,pageSize:10,currentPage:1,background:!0}),p=[{label:"角色编号",prop:"id",minWidth:100},{label:"角色名称",prop:"name",minWidth:120},{label:"角色标识",prop:"code",minWidth:150},{label:"状态",minWidth:130,cellRenderer:e=>{var a;return T(W("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(a=t.value[e.index])==null?void 0:a.loading,modelValue:e.row.status,"onUpdate:modelValue":u=>e.row.status=u,"active-value":1,"inactive-value":0,"active-text":"已启用","inactive-text":"已停用","inline-prompt":!0,style:f.value,onChange:()=>h(e)},null)}},{label:"备注",prop:"remark",minWidth:150},{label:"创建时间",minWidth:180,prop:"createTime",formatter:({createTime:e})=>x(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:240,slot:"operation"}];function h({row:e,index:a}){H.confirm(`确认要${e.status===0?"停用":"启用"}${e.name}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{t.value[a]=Object.assign({},t.value[a],{loading:!0}),setTimeout(()=>{t.value[a]=Object.assign({},t.value[a],{loading:!1}),o(`已${e.status===0?"停用":"启用"}${e.name}`,{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function v(e){o(`您删除了角色名称为${e.name}的这条数据`,{type:"success"}),n()}function b(e){}function y(e){}function C(e){}async function n(){i.value=!0;const{data:e}=await j(L(r));m.value=e.list,s.total=e.total,s.pageSize=e.pageSize,s.currentPage=e.currentPage,setTimeout(()=>{i.value=!1},500)}const D=e=>{e&&(e.resetFields(),n())};function S(e="新增",a){O({title:`${e}角色`,props:{formInline:{name:(a==null?void 0:a.name)??"",code:(a==null?void 0:a.code)??"",remark:(a==null?void 0:a.remark)??""}},width:"40%",draggable:!0,fullscreenIcon:!0,closeOnClickModal:!1,contentRenderer:()=>P(Y,{ref:c}),beforeSure:(u,{options:R})=>{const $=c.value.getRef(),k=R.props.formInline;function d(){o(`您${e}了角色名称为${k.name}的这条数据`,{type:"success"}),u(),n()}$.validate(z=>{z&&d()})}})}function M(){o("等菜单管理页面开发后完善")}return F(()=>{n()}),{form:r,loading:i,columns:p,dataList:m,pagination:s,onSearch:n,resetForm:D,openDialog:S,handleMenu:M,handleDelete:v,handleSizeChange:b,handleCurrentChange:y,handleSelectionChange:C}}export{G as useRole}; +import{ai as g,r as l,k as F,h as T,a as W,bD as x,bG as H,m as o,b5 as L,a3 as O,O as P}from"./index-42b0cfe4.js";import{_ as Y}from"./form.vue_vue_type_script_setup_true_lang-a7e35271.js";import{a as j}from"./system-b32e34d2.js";import{u as B}from"./hooks-7e719396.js";function G(){const r=g({name:"",code:"",status:""}),c=l(),m=l([]),i=l(!0),t=l({}),{switchStyle:f}=B(),s=g({total:0,pageSize:10,currentPage:1,background:!0}),p=[{label:"角色编号",prop:"id",minWidth:100},{label:"角色名称",prop:"name",minWidth:120},{label:"角色标识",prop:"code",minWidth:150},{label:"状态",minWidth:130,cellRenderer:e=>{var a;return T(W("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(a=t.value[e.index])==null?void 0:a.loading,modelValue:e.row.status,"onUpdate:modelValue":u=>e.row.status=u,"active-value":1,"inactive-value":0,"active-text":"已启用","inactive-text":"已停用","inline-prompt":!0,style:f.value,onChange:()=>h(e)},null)}},{label:"备注",prop:"remark",minWidth:150},{label:"创建时间",minWidth:180,prop:"createTime",formatter:({createTime:e})=>x(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:240,slot:"operation"}];function h({row:e,index:a}){H.confirm(`确认要${e.status===0?"停用":"启用"}${e.name}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{t.value[a]=Object.assign({},t.value[a],{loading:!0}),setTimeout(()=>{t.value[a]=Object.assign({},t.value[a],{loading:!1}),o(`已${e.status===0?"停用":"启用"}${e.name}`,{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function v(e){o(`您删除了角色名称为${e.name}的这条数据`,{type:"success"}),n()}function b(e){}function y(e){}function C(e){}async function n(){i.value=!0;const{data:e}=await j(L(r));m.value=e.list,s.total=e.total,s.pageSize=e.pageSize,s.currentPage=e.currentPage,setTimeout(()=>{i.value=!1},500)}const D=e=>{e&&(e.resetFields(),n())};function S(e="新增",a){O({title:`${e}角色`,props:{formInline:{name:(a==null?void 0:a.name)??"",code:(a==null?void 0:a.code)??"",remark:(a==null?void 0:a.remark)??""}},width:"40%",draggable:!0,fullscreenIcon:!0,closeOnClickModal:!1,contentRenderer:()=>P(Y,{ref:c}),beforeSure:(u,{options:R})=>{const $=c.value.getRef(),k=R.props.formInline;function d(){o(`您${e}了角色名称为${k.name}的这条数据`,{type:"success"}),u(),n()}$.validate(z=>{z&&d()})}})}function M(){o("等菜单管理页面开发后完善")}return F(()=>{n()}),{form:r,loading:i,columns:p,dataList:m,pagination:s,onSearch:n,resetForm:D,openDialog:S,handleMenu:M,handleDelete:v,handleSizeChange:b,handleCurrentChange:y,handleSelectionChange:C}}export{G as useRole}; diff --git a/dist/static/js/hook-aa4c8e54.js b/dist/static/js/hook-b6edb070.js similarity index 94% rename from dist/static/js/hook-aa4c8e54.js rename to dist/static/js/hook-b6edb070.js index fd7c7f026..54d0e5bf4 100644 --- a/dist/static/js/hook-aa4c8e54.js +++ b/dist/static/js/hook-b6edb070.js @@ -1 +1 @@ -import{ai as o,r as l,D,k as W,h as u,a as c,bD as w,bG as z,m as F}from"./index-ceadd577.js";import{b as M}from"./system-64319881.js";function S(){const d=o({username:"",mobile:"",status:""}),r=l([]),n=l(!0),a=l({}),i=o({total:0,pageSize:10,currentPage:1,background:!0}),m=[{label:"序号",type:"index",width:70,fixed:"left"},{label:"用户编号",prop:"id",minWidth:130},{label:"用户名称",prop:"username",minWidth:130},{label:"用户昵称",prop:"nickname",minWidth:130},{label:"性别",prop:"sex",minWidth:90,cellRenderer:({row:e,props:t})=>u(c("el-tag"),{size:t.size,type:e.sex===1?"danger":"",effect:"plain"},{default:()=>[e.sex===1?"女":"男"]})},{label:"部门",prop:"dept",minWidth:90,formatter:({dept:e})=>e.name},{label:"手机号码",prop:"mobile",minWidth:90},{label:"状态",prop:"status",minWidth:90,cellRenderer:e=>{var t;return u(c("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(t=a.value[e.index])==null?void 0:t.loading,modelValue:e.row.status,"onUpdate:modelValue":C=>e.row.status=C,"active-value":1,"inactive-value":0,"active-text":"已开启","inactive-text":"已关闭","inline-prompt":!0,onChange:()=>g(e)},null)}},{label:"创建时间",minWidth:90,prop:"createTime",formatter:({createTime:e})=>w(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:180,slot:"operation"}],p=D(()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]);function g({row:e,index:t}){z.confirm(`确认要${e.status===0?"停用":"启用"}${e.username}用户吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!0}),setTimeout(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!1}),F("已成功修改用户状态",{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function h(e){}function f(e){}function v(e){}function b(e){}function x(e){}async function s(){n.value=!0;const{data:e}=await M();r.value=e.list,i.total=e.total,setTimeout(()=>{n.value=!1},500)}const y=e=>{e&&(e.resetFields(),s())};return W(()=>{s()}),{form:d,loading:n,columns:m,dataList:r,pagination:i,buttonClass:p,onSearch:s,resetForm:y,handleUpdate:h,handleDelete:f,handleSizeChange:v,handleCurrentChange:b,handleSelectionChange:x}}export{S as useUser}; +import{ai as o,r as l,D,k as W,h as u,a as c,bD as w,bG as z,m as F}from"./index-42b0cfe4.js";import{b as M}from"./system-b32e34d2.js";function S(){const d=o({username:"",mobile:"",status:""}),r=l([]),n=l(!0),a=l({}),i=o({total:0,pageSize:10,currentPage:1,background:!0}),m=[{label:"序号",type:"index",width:70,fixed:"left"},{label:"用户编号",prop:"id",minWidth:130},{label:"用户名称",prop:"username",minWidth:130},{label:"用户昵称",prop:"nickname",minWidth:130},{label:"性别",prop:"sex",minWidth:90,cellRenderer:({row:e,props:t})=>u(c("el-tag"),{size:t.size,type:e.sex===1?"danger":"",effect:"plain"},{default:()=>[e.sex===1?"女":"男"]})},{label:"部门",prop:"dept",minWidth:90,formatter:({dept:e})=>e.name},{label:"手机号码",prop:"mobile",minWidth:90},{label:"状态",prop:"status",minWidth:90,cellRenderer:e=>{var t;return u(c("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(t=a.value[e.index])==null?void 0:t.loading,modelValue:e.row.status,"onUpdate:modelValue":C=>e.row.status=C,"active-value":1,"inactive-value":0,"active-text":"已开启","inactive-text":"已关闭","inline-prompt":!0,onChange:()=>g(e)},null)}},{label:"创建时间",minWidth:90,prop:"createTime",formatter:({createTime:e})=>w(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:180,slot:"operation"}],p=D(()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]);function g({row:e,index:t}){z.confirm(`确认要${e.status===0?"停用":"启用"}${e.username}用户吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!0}),setTimeout(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!1}),F("已成功修改用户状态",{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function h(e){}function f(e){}function v(e){}function b(e){}function x(e){}async function s(){n.value=!0;const{data:e}=await M();r.value=e.list,i.total=e.total,setTimeout(()=>{n.value=!1},500)}const y=e=>{e&&(e.resetFields(),s())};return W(()=>{s()}),{form:d,loading:n,columns:m,dataList:r,pagination:i,buttonClass:p,onSearch:s,resetForm:y,handleUpdate:h,handleDelete:f,handleSizeChange:v,handleCurrentChange:b,handleSelectionChange:x}}export{S as useUser}; diff --git a/dist/static/js/hook-567db8d9.js b/dist/static/js/hook-fb180ed8.js similarity index 88% rename from dist/static/js/hook-567db8d9.js rename to dist/static/js/hook-fb180ed8.js index afa00032c..cc4cd58c2 100644 --- a/dist/static/js/hook-567db8d9.js +++ b/dist/static/js/hook-fb180ed8.js @@ -1 +1 @@ -import{ai as M,r as u,k as R,h as C,a as H,bD as O,ba as p,bM as S,a3 as T,C as W,O as Y,m as o}from"./index-ceadd577.js";import{_ as $}from"./form.vue_vue_type_script_setup_true_lang-0e445be8.js";import{g as F}from"./system-64319881.js";import{u as _}from"./hooks-0879ef18.js";import"./index-8460cfed.js";function V(){const n=M({name:"",status:null}),m=u(),l=u([]),i=u(!0),{tagStyle:r}=_(),d=[{label:"部门名称",prop:"name",width:180,align:"left"},{label:"排序",prop:"sort",minWidth:70},{label:"状态",prop:"status",minWidth:100,cellRenderer:({row:a,props:e})=>C(H("el-tag"),{size:e.size,style:r.value(a.status)},{default:()=>[a.status===1?"启用":"停用"]})},{label:"创建时间",minWidth:200,prop:"createTime",formatter:({createTime:a})=>O(a).format("YYYY-MM-DD HH:mm:ss")},{label:"备注",prop:"remark",minWidth:320},{label:"操作",fixed:"right",width:160,slot:"operation"}];function h(a){}function g(a){a&&(a.resetFields(),s())}async function s(){i.value=!0;const{data:a}=await F();let e=a;p(n.name)||(e=e.filter(t=>t.name.includes(n.name))),p(n.status)||(e=e.filter(t=>t.status===n.status)),l.value=S(e),setTimeout(()=>{i.value=!1},500)}function c(a){if(!a||!a.length)return;const e=[];for(let t=0;tY($,{ref:m}),beforeSure:(t,{options:v})=>{const k=m.value.getRef(),y=v.props.formInline;function f(){o(`您${a}了部门名称为${y.name}的这条数据`,{type:"success"}),t(),s()}k.validate(I=>{I&&f()})}})}function D(a){o(`您删除了部门名称为${a.name}的这条数据`,{type:"success"}),s()}return R(()=>{s()}),{form:n,loading:i,columns:d,dataList:l,onSearch:s,resetForm:g,openDialog:b,handleDelete:D,handleSelectionChange:h}}export{V as useDept}; +import{ai as M,r as u,k as R,h as C,a as H,bD as O,ba as p,bM as S,a3 as T,C as W,O as Y,m as o}from"./index-42b0cfe4.js";import{_ as $}from"./form.vue_vue_type_script_setup_true_lang-20cd937b.js";import{g as F}from"./system-b32e34d2.js";import{u as _}from"./hooks-7e719396.js";import"./index-95007ff2.js";function V(){const n=M({name:"",status:null}),m=u(),l=u([]),i=u(!0),{tagStyle:r}=_(),d=[{label:"部门名称",prop:"name",width:180,align:"left"},{label:"排序",prop:"sort",minWidth:70},{label:"状态",prop:"status",minWidth:100,cellRenderer:({row:a,props:e})=>C(H("el-tag"),{size:e.size,style:r.value(a.status)},{default:()=>[a.status===1?"启用":"停用"]})},{label:"创建时间",minWidth:200,prop:"createTime",formatter:({createTime:a})=>O(a).format("YYYY-MM-DD HH:mm:ss")},{label:"备注",prop:"remark",minWidth:320},{label:"操作",fixed:"right",width:160,slot:"operation"}];function h(a){}function g(a){a&&(a.resetFields(),s())}async function s(){i.value=!0;const{data:a}=await F();let e=a;p(n.name)||(e=e.filter(t=>t.name.includes(n.name))),p(n.status)||(e=e.filter(t=>t.status===n.status)),l.value=S(e),setTimeout(()=>{i.value=!1},500)}function c(a){if(!a||!a.length)return;const e=[];for(let t=0;tY($,{ref:m}),beforeSure:(t,{options:v})=>{const k=m.value.getRef(),y=v.props.formInline;function f(){o(`您${a}了部门名称为${y.name}的这条数据`,{type:"success"}),t(),s()}k.validate(I=>{I&&f()})}})}function D(a){o(`您删除了部门名称为${a.name}的这条数据`,{type:"success"}),s()}return R(()=>{s()}),{form:n,loading:i,columns:d,dataList:l,onSearch:s,resetForm:g,openDialog:b,handleDelete:D,handleSelectionChange:h}}export{V as useDept}; diff --git a/dist/static/js/hooks-82c6b5e4.js b/dist/static/js/hooks-2ea9b191.js similarity index 77% rename from dist/static/js/hooks-82c6b5e4.js rename to dist/static/js/hooks-2ea9b191.js index 30b39997f..bcdb8162b 100644 --- a/dist/static/js/hooks-82c6b5e4.js +++ b/dist/static/js/hooks-2ea9b191.js @@ -1 +1 @@ -import{d as r,O as f,aL as u,aM as s,aN as a}from"./index-ceadd577.js";function I(e,t){const o=/^IF-/;if(o.test(e)){const n=e.split(o)[1],c=n.slice(0,n.indexOf(" ")==-1?n.length:n.indexOf(" ")),i=n.slice(n.indexOf(" ")+1,n.length);return r({name:"FontIcon",render(){return f(u,{icon:c,iconType:i,...t})}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?e:typeof e=="object"?r({name:"OfflineIcon",render(){return f(s,{icon:e,...t})}}):r({name:"Icon",render(){const n=e&&e.includes(":")?a:s;return f(n,{icon:e,...t})}})}export{I as u}; +import{d as r,O as f,aL as u,aM as s,aN as a}from"./index-42b0cfe4.js";function I(e,t){const o=/^IF-/;if(o.test(e)){const n=e.split(o)[1],c=n.slice(0,n.indexOf(" ")==-1?n.length:n.indexOf(" ")),i=n.slice(n.indexOf(" ")+1,n.length);return r({name:"FontIcon",render(){return f(u,{icon:c,iconType:i,...t})}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?e:typeof e=="object"?r({name:"OfflineIcon",render(){return f(s,{icon:e,...t})}}):r({name:"Icon",render(){const n=e&&e.includes(":")?a:s;return f(n,{icon:e,...t})}})}export{I as u}; diff --git a/dist/static/js/hooks-0879ef18.js b/dist/static/js/hooks-7e719396.js similarity index 88% rename from dist/static/js/hooks-0879ef18.js rename to dist/static/js/hooks-7e719396.js index e7cff691d..37e76b228 100644 --- a/dist/static/js/hooks-0879ef18.js +++ b/dist/static/js/hooks-7e719396.js @@ -1 +1 @@ -import{a9 as a,D as o}from"./index-ceadd577.js";function f(){const{isDark:e}=a(),t=o(()=>({"--el-switch-on-color":"#6abe39","--el-switch-off-color":"#e84749"})),l=o(()=>r=>r===1?{"--el-tag-text-color":e.value?"#6abe39":"#389e0d","--el-tag-bg-color":e.value?"#172412":"#f6ffed","--el-tag-border-color":e.value?"#274a17":"#b7eb8f"}:{"--el-tag-text-color":e.value?"#e84749":"#cf1322","--el-tag-bg-color":e.value?"#2b1316":"#fff1f0","--el-tag-border-color":e.value?"#58191c":"#ffa39e"});return{isDark:e,switchStyle:t,tagStyle:l}}export{f as u}; +import{a9 as a,D as o}from"./index-42b0cfe4.js";function f(){const{isDark:e}=a(),t=o(()=>({"--el-switch-on-color":"#6abe39","--el-switch-off-color":"#e84749"})),l=o(()=>r=>r===1?{"--el-tag-text-color":e.value?"#6abe39":"#389e0d","--el-tag-bg-color":e.value?"#172412":"#f6ffed","--el-tag-border-color":e.value?"#274a17":"#b7eb8f"}:{"--el-tag-text-color":e.value?"#e84749":"#cf1322","--el-tag-bg-color":e.value?"#2b1316":"#fff1f0","--el-tag-border-color":e.value?"#58191c":"#ffa39e"});return{isDark:e,switchStyle:t,tagStyle:l}}export{f as u}; diff --git a/dist/static/js/hooks-25ed90b2.js b/dist/static/js/hooks-bc14fdba.js similarity index 82% rename from dist/static/js/hooks-25ed90b2.js rename to dist/static/js/hooks-bc14fdba.js index d8e6c2678..29861ac06 100644 --- a/dist/static/js/hooks-25ed90b2.js +++ b/dist/static/js/hooks-bc14fdba.js @@ -1 +1 @@ -import{b7 as l,a2 as h,bQ as b,aO as d,bd as n}from"./index-ceadd577.js";function c(){const a=l(),i=h(),s=b(a.params)?a.query:a.params;function o(t,u){Object.keys(t).forEach(e=>{d(t[e])||(t[e]=t[e].toString())}),u==="query"?(n().handleTags("push",{path:"/tabs/query-detail",name:"TabQueryDetail",query:t,meta:{title:{zh:`No.${t.id} - 详情信息`,en:`No.${t.id} - DetailInfo`},dynamicLevel:3}}),i.push({name:"TabQueryDetail",query:t})):u==="params"&&(n().handleTags("push",{path:"/tabs/params-detail/:id",name:"TabParamsDetail",params:t,meta:{title:{zh:`No.${t.id} - 详情信息`,en:`No.${t.id} - DetailInfo`}}}),i.push({name:"TabParamsDetail",params:t}))}return{toDetail:o,initToDetail:t=>{s&&o(s,t)},getParameter:s,router:i}}export{c as u}; +import{b7 as l,a2 as h,bQ as b,aO as d,bd as n}from"./index-42b0cfe4.js";function c(){const a=l(),i=h(),s=b(a.params)?a.query:a.params;function o(t,u){Object.keys(t).forEach(e=>{d(t[e])||(t[e]=t[e].toString())}),u==="query"?(n().handleTags("push",{path:"/tabs/query-detail",name:"TabQueryDetail",query:t,meta:{title:{zh:`No.${t.id} - 详情信息`,en:`No.${t.id} - DetailInfo`},dynamicLevel:3}}),i.push({name:"TabQueryDetail",query:t})):u==="params"&&(n().handleTags("push",{path:"/tabs/params-detail/:id",name:"TabParamsDetail",params:t,meta:{title:{zh:`No.${t.id} - 详情信息`,en:`No.${t.id} - DetailInfo`}}}),i.push({name:"TabParamsDetail",params:t}))}return{toDetail:o,initToDetail:t=>{s&&o(s,t)},getParameter:s,router:i}}export{c as u}; diff --git a/dist/static/js/horizontal-a2f578f8.js b/dist/static/js/horizontal-c6d584ff.js similarity index 91% rename from dist/static/js/horizontal-a2f578f8.js rename to dist/static/js/horizontal-c6d584ff.js index 39966634a..f66465c14 100644 --- a/dist/static/js/horizontal-a2f578f8.js +++ b/dist/static/js/horizontal-c6d584ff.js @@ -1 +1 @@ -import{s as v,a as x}from"./vue-virtual-scroller.esm-540eb406.js";import{d as y,r as d,D as w,a as _,o as z,i as g,e as n,f as I,h as o,w as m,u as p,G as V,t as C,_ as b}from"./index-ceadd577.js";const k={class:"dynamic-scroller-demo"},B={class:"flex-ac mb-4 shadow-2xl"},N={class:"text-center"},S=y({__name:"horizontal",setup($){const l=d([]),a=d("");for(let e=0;e<800;e++)l.value.push({id:e});const u=w(()=>{if(!a.value)return l.value;const e=a.value;return l.value.filter(s=>s.id==e)});return(e,s)=>{const h=_("el-input"),f=_("IconifyIconOnline");return z(),g("div",k,[n("div",B,[I(" 水平模式 horizontal "),o(h,{class:"mr-2 !w-[1/1.5]",clearable:"",modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=t=>a.value=t),placeholder:"Filter...",style:{width:"300px"}},null,8,["modelValue"])]),o(p(x),{items:u.value,"min-item-size":54,direction:"horizontal",class:"scroller"},{default:m(({item:t,index:i,active:c})=>{var r;return[o(p(v),{item:t,active:c,"size-dependencies":[t.id],"data-index":i,"data-active":c,title:`Click to change message ${i}`,style:V({width:`${Math.max(130,Math.round(((r=t.id)==null?void 0:r.length)/20*20))}px`}),class:"message"},{default:m(()=>[n("div",null,[o(f,{icon:"openmoji:beaming-face-with-smiling-eyes",width:"40"}),n("p",N,C(t.id),1)])]),_:2},1032,["item","active","size-dependencies","data-index","data-active","title","style"])]}),_:1},8,["items"])])}}});const O=b(S,[["__scopeId","data-v-c066a931"]]);export{O as default}; +import{s as v,a as x}from"./vue-virtual-scroller.esm-aa84258e.js";import{d as y,r as d,D as w,a as _,o as z,i as g,e as n,f as I,h as o,w as m,u as p,G as V,t as C,_ as b}from"./index-42b0cfe4.js";const k={class:"dynamic-scroller-demo"},B={class:"flex-ac mb-4 shadow-2xl"},N={class:"text-center"},S=y({__name:"horizontal",setup($){const l=d([]),a=d("");for(let e=0;e<800;e++)l.value.push({id:e});const u=w(()=>{if(!a.value)return l.value;const e=a.value;return l.value.filter(s=>s.id==e)});return(e,s)=>{const h=_("el-input"),f=_("IconifyIconOnline");return z(),g("div",k,[n("div",B,[I(" 水平模式 horizontal "),o(h,{class:"mr-2 !w-[1/1.5]",clearable:"",modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=t=>a.value=t),placeholder:"Filter...",style:{width:"300px"}},null,8,["modelValue"])]),o(p(x),{items:u.value,"min-item-size":54,direction:"horizontal",class:"scroller"},{default:m(({item:t,index:i,active:c})=>{var r;return[o(p(v),{item:t,active:c,"size-dependencies":[t.id],"data-index":i,"data-active":c,title:`Click to change message ${i}`,style:V({width:`${Math.max(130,Math.round(((r=t.id)==null?void 0:r.length)/20*20))}px`}),class:"message"},{default:m(()=>[n("div",null,[o(f,{icon:"openmoji:beaming-face-with-smiling-eyes",width:"40"}),n("p",N,C(t.id),1)])]),_:2},1032,["item","active","size-dependencies","data-index","data-active","title","style"])]}),_:1},8,["items"])])}}});const O=b(S,[["__scopeId","data-v-c066a931"]]);export{O as default}; diff --git a/dist/static/js/icon-select-ee6e6301.js b/dist/static/js/icon-select-7d7c4c67.js similarity index 99% rename from dist/static/js/icon-select-ee6e6301.js rename to dist/static/js/icon-select-7d7c4c67.js index dc59a87d2..c0544eb2d 100644 --- a/dist/static/js/icon-select-ee6e6301.js +++ b/dist/static/js/icon-select-7d7c4c67.js @@ -1 +1 @@ -import{d as I,r as i,A as G,C as J,D as z,E as V,a as n,o as b,i as k,h as r,w as c,e as v,F as j,q as C,G as R,u as H,_ as K,c as M}from"./index-ceadd577.js";const Q={"ep:":["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","goods","goods-filled","grape","grid","guide","headset","help","help-filled","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","sunny","sunrise","sunset","switch","switch-button","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"],"fa:":["500px","address-book","address-book-o","address-card","address-card-o","adjust","adn","align-center","align-justify","align-left","amazon","ambulance","american-sign-language-interpreting","anchor","android","angellist","angle-double-left","angle-double-up","angle-down","angle-left","angle-up","apple","archive","area-chart","arrow-circle-left","arrow-circle-o-left","arrow-circle-o-up","arrow-circle-up","arrow-left","arrow-up","arrows","arrows-alt","arrows-h","arrows-v","assistive-listening-systems","asterisk","at","audio-description","automobile","backward","balance-scale","ban","bandcamp","bank","bar-chart","barcode","bars","bath","battery","battery-0","battery-1","battery-2","battery-3","bed","beer","behance","behance-square","bell","bell-o","bell-slash","bell-slash-o","bicycle","binoculars","birthday-cake","bitbucket","bitbucket-square","bitcoin","black-tie","blind","bluetooth","bluetooth-b","bold","bolt","bomb","book","bookmark","bookmark-o","braille","briefcase","bug","building","building-o","bullhorn","bullseye","bus","buysellads","cab","calculator","calendar","calendar-check-o","calendar-minus-o","calendar-o","calendar-plus-o","calendar-times-o","camera","camera-retro","caret-down","caret-left","caret-square-o-left","caret-square-o-up","caret-up","cart-arrow-down","cart-plus","cc","cc-amex","cc-diners-club","cc-discover","cc-jcb","cc-mastercard","cc-paypal","cc-stripe","cc-visa","certificate","chain","chain-broken","check","check-circle","check-circle-o","check-square","check-square-o","chevron-circle-left","chevron-circle-up","chevron-down","chevron-left","chevron-up","child","chrome","circle","circle-o","circle-o-notch","circle-thin","clipboard","clock-o","clone","close","cloud","cloud-download","cloud-upload","cny","code","code-fork","codepen","codiepie","coffee","cog","cogs","columns","comment","comment-o","commenting","commenting-o","comments","comments-o","compass","compress","connectdevelop","contao","copy","copyright","creative-commons","credit-card","credit-card-alt","crop","crosshairs","css3","cube","cubes","cut","cutlery","dashboard","dashcube","database","deaf","dedent","delicious","desktop","deviantart","diamond","digg","dollar","dot-circle-o","download","dribbble","drivers-license","drivers-license-o","dropbox","drupal","edge","edit","eercast","eject","ellipsis-h","ellipsis-v","empire","envelope","envelope-o","envelope-open","envelope-open-o","envelope-square","envira","eraser","etsy","eur","exchange","exclamation","exclamation-circle","exclamation-triangle","expand","expeditedssl","external-link","external-link-square","eye","eye-slash","eyedropper","fa","facebook","facebook-official","facebook-square","fast-backward","fax","feed","female","fighter-jet","file","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o","file-o","file-pdf-o","file-powerpoint-o","file-text","file-text-o","file-word-o","film","filter","fire","fire-extinguisher","firefox","first-order","flag","flag-checkered","flag-o","flask","flickr","floppy-o","folder","folder-o","folder-open","folder-open-o","font","fonticons","fort-awesome","forumbee","foursquare","free-code-camp","frown-o","futbol-o","gamepad","gavel","gbp","genderless","get-pocket","gg","gg-circle","gift","git","git-square","github","github-alt","github-square","gitlab","gittip","glass","glide","glide-g","globe","google","google-plus","google-plus-circle","google-plus-square","google-wallet","graduation-cap","grav","group","h-square","hacker-news","hand-grab-o","hand-lizard-o","hand-o-left","hand-o-up","hand-paper-o","hand-peace-o","hand-pointer-o","hand-scissors-o","hand-spock-o","handshake-o","hashtag","hdd-o","header","headphones","heart","heart-o","heartbeat","history","home","hospital-o","hourglass","hourglass-1","hourglass-2","hourglass-3","hourglass-o","houzz","html5","i-cursor","id-badge","ils","image","imdb","inbox","indent","industry","info","info-circle","inr","instagram","internet-explorer","intersex","ioxhost","italic","joomla","jsfiddle","key","keyboard-o","krw","language","laptop","lastfm","lastfm-square","leaf","leanpub","lemon-o","level-up","life-bouy","lightbulb-o","line-chart","linkedin","linkedin-square","linode","linux","list","list-alt","list-ol","list-ul","location-arrow","lock","long-arrow-left","long-arrow-up","low-vision","magic","magnet","mail-forward","mail-reply","mail-reply-all","male","map","map-marker","map-o","map-pin","map-signs","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","maxcdn","meanpath","medium","medkit","meetup","meh-o","mercury","microchip","microphone","microphone-slash","minus","minus-circle","minus-square","minus-square-o","mixcloud","mobile","modx","money","moon-o","motorcycle","mouse-pointer","music","neuter","newspaper-o","object-group","object-ungroup","odnoklassniki","odnoklassniki-square","opencart","openid","opera","optin-monster","pagelines","paint-brush","paper-plane","paper-plane-o","paperclip","paragraph","pause","pause-circle","pause-circle-o","paw","paypal","pencil","pencil-square","percent","phone","phone-square","pie-chart","pied-piper","pied-piper-alt","pied-piper-pp","pinterest","pinterest-p","pinterest-square","plane","play","play-circle","play-circle-o","plug","plus","plus-circle","plus-square","plus-square-o","podcast","power-off","print","product-hunt","puzzle-piece","qq","qrcode","question","question-circle","question-circle-o","quora","quote-left","quote-right","ra","random","ravelry","recycle","reddit","reddit-alien","reddit-square","refresh","registered","renren","repeat","retweet","road","rocket","rotate-left","rouble","rss-square","safari","scribd","search","search-minus","search-plus","sellsy","server","share-alt","share-alt-square","share-square","share-square-o","shield","ship","shirtsinbulk","shopping-bag","shopping-basket","shopping-cart","shower","sign-in","sign-language","sign-out","signal","simplybuilt","sitemap","skyatlas","skype","slack","sliders","slideshare","smile-o","snapchat","snapchat-ghost","snapchat-square","snowflake-o","sort","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-asc","sort-numeric-asc","sort-numeric-desc","soundcloud","space-shuttle","spinner","spoon","spotify","square","square-o","stack-exchange","stack-overflow","star","star-half","star-half-empty","star-o","steam","steam-square","step-backward","stethoscope","sticky-note","sticky-note-o","stop","stop-circle","stop-circle-o","street-view","strikethrough","stumbleupon","stumbleupon-circle","subscript","subway","suitcase","sun-o","superpowers","superscript","table","tablet","tag","tags","tasks","telegram","television","tencent-weibo","terminal","text-height","text-width","th","th-large","th-list","themeisle","thermometer","thermometer-0","thermometer-1","thermometer-2","thermometer-3","thumb-tack","thumbs-down","thumbs-o-up","thumbs-up","ticket","times-circle","times-circle-o","times-rectangle","times-rectangle-o","tint","toggle-off","toggle-on","trademark","train","transgender-alt","trash","trash-o","tree","trello","tripadvisor","trophy","truck","try","tty","tumblr","tumblr-square","twitch","twitter","twitter-square","umbrella","underline","universal-access","unlock","unlock-alt","upload","usb","user","user-circle","user-circle-o","user-md","user-o","user-plus","user-secret","user-times","venus","venus-double","venus-mars","viacoin","viadeo","viadeo-square","video-camera","vimeo","vimeo-square","vine","vk","volume-control-phone","volume-down","volume-off","volume-up","wechat","weibo","whatsapp","wheelchair","wheelchair-alt","wifi","wikipedia-w","window-maximize","window-minimize","window-restore","windows","wordpress","wpbeginner","wpexplorer","wpforms","wrench","xing","xing-square","y-combinator","yahoo","yelp","yoast","youtube","youtube-play","youtube-square"],"fa-solid:":["abacus","ad","address-book","address-card","adjust","air-freshener","align-center","align-justify","align-left","align-right","allergies","ambulance","american-sign-language-interpreting","anchor","angle-double-down","angle-double-left","angle-double-right","angle-double-up","angle-down","angle-left","angle-right","angle-up","angry","ankh","apple-alt","archive","archway","arrow-alt-circle-down","arrow-alt-circle-left","arrow-alt-circle-right","arrow-alt-circle-up","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-left","arrow-right","arrow-up","arrows-alt","arrows-alt-h","arrows-alt-v","assistive-listening-systems","asterisk","at","atlas","atom","audio-description","award","baby","baby-carriage","backspace","backward","bacon","bacteria","bacterium","bahai","balance-scale","balance-scale-left","balance-scale-right","ban","band-aid","barcode","bars","baseball-ball","basketball-ball","bath","battery-empty","battery-full","battery-half","battery-quarter","battery-three-quarters","bed","beer","bell","bell-slash","bezier-curve","bible","bicycle","biking","binoculars","biohazard","birthday-cake","blender","blender-phone","blind","blog","bold","bolt","bomb","bone","bong","book","book-dead","book-medical","book-open","book-reader","bookmark","border-all","border-none","border-style","bowling-ball","box","box-open","box-tissue","boxes","braille","brain","bread-slice","briefcase","briefcase-medical","broadcast-tower","broom","brush","bug","building","bullhorn","bullseye","burn","bus","bus-alt","business-time","calculator","calculator-alt","calendar","calendar-alt","calendar-check","calendar-day","calendar-minus","calendar-plus","calendar-times","calendar-week","camera","camera-retro","campground","candy-cane","cannabis","capsules","car","car-alt","car-battery","car-crash","car-side","caravan","caret-down","caret-left","caret-right","caret-square-down","caret-square-left","caret-square-right","caret-square-up","caret-up","carrot","cart-arrow-down","cart-plus","cash-register","cat","certificate","chair","chalkboard","chalkboard-teacher","charging-station","chart-area","chart-bar","chart-line","chart-pie","check","check-circle","check-double","check-square","cheese","chess","chess-bishop","chess-board","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-circle-down","chevron-circle-left","chevron-circle-right","chevron-circle-up","chevron-down","chevron-left","chevron-right","chevron-up","child","church","circle","circle-notch","city","clinic-medical","clipboard","clipboard-check","clipboard-list","clock","clone","closed-captioning","cloud","cloud-download-alt","cloud-meatball","cloud-moon","cloud-moon-rain","cloud-rain","cloud-showers-heavy","cloud-sun","cloud-sun-rain","cloud-upload-alt","cocktail","code","code-branch","coffee","cog","cogs","coins","columns","comment","comment-alt","comment-dollar","comment-dots","comment-medical","comment-slash","comments","comments-dollar","compact-disc","compass","compress","compress-alt","compress-arrows-alt","concierge-bell","cookie","cookie-bite","copy","copyright","couch","credit-card","crop","crop-alt","cross","crosshairs","crow","crown","crutch","cube","cubes","cut","database","deaf","democrat","desktop","dharmachakra","diagnoses","dice","dice-d20","dice-d6","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","digital-tachograph","directions","disease","divide","dizzy","dna","dog","dollar-sign","dolly","dolly-flatbed","donate","door-closed","door-open","dot-circle","dove","download","drafting-compass","dragon","draw-polygon","drum","drum-steelpan","drumstick-bite","dumbbell","dumpster","dumpster-fire","dungeon","edit","egg","eject","ellipsis-h","ellipsis-v","empty-set","envelope","envelope-open","envelope-open-text","envelope-square","equals","eraser","ethernet","euro-sign","exchange-alt","exclamation","exclamation-circle","exclamation-triangle","expand","expand-alt","expand-arrows-alt","external-link-alt","external-link-square-alt","eye","eye-dropper","eye-slash","fan","fast-backward","fast-forward","faucet","fax","feather","feather-alt","female","fighter-jet","file","file-alt","file-archive","file-audio","file-code","file-contract","file-csv","file-download","file-excel","file-export","file-image","file-import","file-invoice","file-invoice-dollar","file-medical","file-medical-alt","file-pdf","file-powerpoint","file-prescription","file-signature","file-upload","file-video","file-word","fill","fill-drip","film","filter","fingerprint","fire","fire-alt","fire-extinguisher","first-aid","fish","fist-raised","flag","flag-checkered","flag-usa","flask","flushed","folder","folder-minus","folder-open","folder-plus","font","football-ball","forward","frog","frown","frown-open","function","funnel-dollar","futbol","gamepad","gas-pump","gavel","gem","genderless","ghost","gift","gifts","glass-cheers","glass-martini","glass-martini-alt","glass-whiskey","glasses","globe","globe-africa","globe-americas","globe-asia","globe-europe","golf-ball","gopuram","graduation-cap","greater-than","greater-than-equal","grimace","grin","grin-alt","grin-beam","grin-beam-sweat","grin-hearts","grin-squint","grin-squint-tears","grin-stars","grin-tears","grin-tongue","grin-tongue-squint","grin-tongue-wink","grin-wink","grip-horizontal","grip-lines","grip-lines-vertical","grip-vertical","guitar","h-square","hamburger","hammer","hamsa","hand-holding","hand-holding-heart","hand-holding-medical","hand-holding-usd","hand-holding-water","hand-lizard","hand-middle-finger","hand-paper","hand-peace","hand-point-down","hand-point-left","hand-point-right","hand-point-up","hand-pointer","hand-rock","hand-scissors","hand-sparkles","hand-spock","hands","hands-helping","hands-wash","handshake","handshake-alt-slash","handshake-slash","hanukiah","hard-hat","hashtag","hat-cowboy","hat-cowboy-side","hat-wizard","hdd","head-side-cough","head-side-cough-slash","head-side-mask","head-side-virus","heading","headphones","headphones-alt","headset","heart","heart-broken","heartbeat","helicopter","highlighter","hiking","hippo","history","hockey-puck","holly-berry","home","horse","horse-head","hospital","hospital-alt","hospital-symbol","hospital-user","hot-tub","hotdog","hotel","hourglass","hourglass-end","hourglass-half","hourglass-start","house-damage","house-user","hryvnia","i-cursor","ice-cream","icicles","icons","id-badge","id-card","id-card-alt","igloo","image","images","inbox","indent","industry","infinity","info","info-circle","integral","intersection","italic","jedi","joint","journal-whills","kaaba","key","keyboard","khanda","kiss","kiss-beam","kiss-wink-heart","kiwi-bird","lambda","landmark","language","laptop","laptop-code","laptop-house","laptop-medical","laugh","laugh-beam","laugh-squint","laugh-wink","layer-group","leaf","lemon","less-than","less-than-equal","level-down-alt","level-up-alt","life-ring","lightbulb","link","lira-sign","list","list-alt","list-ol","list-ul","location-arrow","lock","lock-open","long-arrow-alt-down","long-arrow-alt-left","long-arrow-alt-right","long-arrow-alt-up","low-vision","luggage-cart","lungs","lungs-virus","magic","magnet","mail-bulk","male","map","map-marked","map-marked-alt","map-marker","map-marker-alt","map-pin","map-signs","marker","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mask","medal","medkit","meh","meh-blank","meh-rolling-eyes","memory","menorah","mercury","meteor","microchip","microphone","microphone-alt","microphone-alt-slash","microphone-slash","microscope","minus","minus-circle","minus-square","mitten","mobile","mobile-alt","money-bill","money-bill-alt","money-bill-wave","money-bill-wave-alt","money-check","money-check-alt","monument","moon","mortar-pestle","mosque","motorcycle","mountain","mouse","mouse-pointer","mug-hot","music","network-wired","neuter","newspaper","not-equal","notes-medical","object-group","object-ungroup","oil-can","om","omega","otter","outdent","pager","paint-brush","paint-roller","palette","pallet","paper-plane","paperclip","parachute-box","paragraph","parking","passport","pastafarianism","paste","pause","pause-circle","paw","peace","pen","pen-alt","pen-fancy","pen-nib","pen-square","pencil-alt","pencil-ruler","people-arrows","people-carry","pepper-hot","percent","percentage","person-booth","phone","phone-alt","phone-slash","phone-square","phone-square-alt","phone-volume","photo-video","pi","piggy-bank","pills","pizza-slice","place-of-worship","plane","plane-arrival","plane-departure","plane-slash","play","play-circle","plug","plus","plus-circle","plus-square","podcast","poll","poll-h","poo","poo-storm","poop","portrait","pound-sign","power-off","pray","praying-hands","prescription","prescription-bottle","prescription-bottle-alt","print","procedures","project-diagram","pump-medical","pump-soap","puzzle-piece","qrcode","question","question-circle","quidditch","quote-left","quote-right","quran","radiation","radiation-alt","rainbow","random","receipt","record-vinyl","recycle","redo","redo-alt","registered","remove-format","reply","reply-all","republican","restroom","retweet","ribbon","ring","road","robot","rocket","route","rss","rss-square","ruble-sign","ruler","ruler-combined","ruler-horizontal","ruler-vertical","running","rupee-sign","sad-cry","sad-tear","satellite","satellite-dish","save","school","screwdriver","scroll","sd-card","search","search-dollar","search-location","search-minus","search-plus","seedling","server","shapes","share","share-alt","share-alt-square","share-square","shekel-sign","shield-alt","shield-virus","ship","shipping-fast","shoe-prints","shopping-bag","shopping-basket","shopping-cart","shower","shuttle-van","sigma","sign","sign-in-alt","sign-language","sign-out-alt","signal","signal-alt","signal-alt-slash","signal-slash","signature","sim-card","sink","sitemap","skating","skiing","skiing-nordic","skull","skull-crossbones","slash","sleigh","sliders-h","smile","smile-beam","smile-wink","smog","smoking","smoking-ban","sms","snowboarding","snowflake","snowman","snowplow","soap","socks","solar-panel","sort","sort-alpha-down","sort-alpha-down-alt","sort-alpha-up","sort-alpha-up-alt","sort-amount-down","sort-amount-down-alt","sort-amount-up","sort-amount-up-alt","sort-down","sort-numeric-down","sort-numeric-down-alt","sort-numeric-up","sort-numeric-up-alt","sort-up","spa","space-shuttle","spell-check","spider","spinner","splotch","spray-can","square","square-full","square-root","square-root-alt","stamp","star","star-and-crescent","star-half","star-half-alt","star-of-david","star-of-life","step-backward","step-forward","stethoscope","sticky-note","stop","stop-circle","stopwatch","stopwatch-20","store","store-alt","store-alt-slash","store-slash","stream","street-view","strikethrough","stroopwafel","subscript","subway","suitcase","suitcase-rolling","sun","superscript","surprise","swatchbook","swimmer","swimming-pool","synagogue","sync","sync-alt","syringe","table","table-tennis","tablet","tablet-alt","tablets","tachometer-alt","tag","tags","tally","tape","tasks","taxi","teeth","teeth-open","temperature-high","temperature-low","tenge","terminal","text-height","text-width","th","th-large","th-list","theater-masks","thermometer","thermometer-empty","thermometer-full","thermometer-half","thermometer-quarter","thermometer-three-quarters","theta","thumbs-down","thumbs-up","thumbtack","ticket-alt","tilde","times","times-circle","tint","tint-slash","tired","toggle-off","toggle-on","toilet","toilet-paper","toilet-paper-slash","toolbox","tools","tooth","torah","torii-gate","tractor","trademark","traffic-light","trailer","train","tram","transgender","transgender-alt","trash","trash-alt","trash-restore","trash-restore-alt","tree","trophy","truck","truck-loading","truck-monster","truck-moving","truck-pickup","tshirt","tty","tv","umbrella","umbrella-beach","underline","undo","undo-alt","union","universal-access","university","unlink","unlock","unlock-alt","upload","user","user-alt","user-alt-slash","user-astronaut","user-check","user-circle","user-clock","user-cog","user-edit","user-friends","user-graduate","user-injured","user-lock","user-md","user-minus","user-ninja","user-nurse","user-plus","user-secret","user-shield","user-slash","user-tag","user-tie","user-times","users","users-cog","users-slash","utensil-spoon","utensils","value-absolute","vector-square","venus","venus-double","venus-mars","vest","vest-patches","vial","vials","video","video-slash","vihara","virus","virus-slash","viruses","voicemail","volleyball-ball","volume","volume-down","volume-mute","volume-off","volume-slash","volume-up","vote-yea","vr-cardboard","walking","wallet","warehouse","water","wave-square","weight","weight-hanging","wheelchair","wifi","wifi-slash","wind","window-close","window-maximize","window-minimize","window-restore","wine-bottle","wine-glass","wine-glass-alt","won-sign","wrench","x-ray","yen-sign","yin-yang"]},W={class:"selector w-[350px]"},X={class:"flex flex-wrap px-2 ml-2"},Y=["title","onClick"],Z=I({name:"IconSelect",__name:"Select",props:{modelValue:{require:!1,type:String}},emits:["update:modelValue"],setup(q,{emit:d}){const l=q,u=i(!1),p=G(l,"modelValue"),h=i(Q),f=i("add-location"),e=i("ep:"),y=J(h.value),m=i(96),t=i(1),g=i(""),S=[{label:"Element Plus",name:"ep:"},{label:"Font Awesome 4",name:"fa:"},{label:"Font Awesome 5 Solid",name:"fa-solid:"}],L=z(()=>t.value===1?y[e.value].filter(a=>a.includes(g.value)).slice(t.value-1,m.value):y[e.value].filter(a=>a.includes(g.value)).slice(m.value*(t.value-1),m.value*(t.value-1)+m.value)),A=z(()=>a=>{if(p.value===e.value+a)return{borderColor:"var(--el-color-primary)",color:"var(--el-color-primary)"}});function B({props:a}){t.value=1,e.value=a.name,d("update:modelValue",e.value+h.value[e.value][0]),f.value=h.value[e.value][0]}function F(a){f.value=a,d("update:modelValue",e.value+a),u.value=!1}function O(a){t.value=a}return V(()=>l.modelValue,()=>{l.modelValue&&(e.value=l.modelValue.substring(0,l.modelValue.indexOf(":")+1),f.value=l.modelValue.substring(l.modelValue.indexOf(":")+1))},{immediate:!0}),V(()=>g.value,()=>{t.value=1}),(a,s)=>{const x=n("IconifyIconOnline"),_=n("el-input"),U=n("el-scrollbar"),$=n("el-tab-pane"),E=n("el-tabs"),N=n("el-pagination"),P=n("el-popover");return b(),k("div",W,[r(_,{modelValue:p.value,"onUpdate:modelValue":s[3]||(s[3]=o=>p.value=o),disabled:""},{append:c(()=>[r(P,{width:350,trigger:"click","popper-class":"pure-popper","popper-options":{placement:"auto"},visible:u.value},{reference:c(()=>[v("div",{class:"w-[40px] h-[32px] cursor-pointer flex justify-center items-center",onClick:s[0]||(s[0]=o=>u.value=!u.value)},[r(x,{icon:e.value+f.value},null,8,["icon"])])]),default:c(()=>[r(_,{class:"px-2 pt-2",modelValue:g.value,"onUpdate:modelValue":s[1]||(s[1]=o=>g.value=o),placeholder:"搜索图标",clearable:""},null,8,["modelValue"]),r(E,{modelValue:e.value,"onUpdate:modelValue":s[2]||(s[2]=o=>e.value=o),onTabClick:B},{default:c(()=>[(b(),k(j,null,C(S,(o,T)=>r($,{key:T,label:o.label,name:o.name},{default:c(()=>[r(U,{height:"220px"},{default:c(()=>[v("ul",X,[(b(!0),k(j,null,C(L.value,(w,D)=>(b(),k("li",{key:D,title:w,class:"icon-item p-2 cursor-pointer mr-2 mt-1 flex justify-center items-center border border-solid",style:R(A.value(w)),onClick:re=>F(w)},[r(x,{icon:e.value+w,width:"20px",height:"20px"},null,8,["icon"])],12,Y))),128))])]),_:1})]),_:2},1032,["label","name"])),64))]),_:1},8,["modelValue"]),r(N,{small:"",total:H(y)[e.value].length,"page-size":m.value,"current-page":t.value,background:"",layout:"prev, pager, next",class:"flex items-center justify-center h-10",onCurrentChange:O},null,8,["total","page-size","current-page"])]),_:1},8,["visible"])]),_:1},8,["modelValue"])])}}});const ee=K(Z,[["__scopeId","data-v-545633ca"]]),ae=v("div",{class:"card-header"},[v("span",{class:"font-medium"},"图标选择器")],-1),le=I({name:"IconSelect",__name:"icon-select",setup(q){const d=i("ep:add-location");return(l,u)=>{const p=n("el-card");return b(),M(p,{shadow:"never"},{header:c(()=>[ae]),default:c(()=>[r(ee,{modelValue:d.value,"onUpdate:modelValue":u[0]||(u[0]=h=>d.value=h)},null,8,["modelValue"])]),_:1})}}});export{le as default}; +import{d as I,r as i,A as G,C as J,D as z,E as V,a as n,o as b,i as k,h as r,w as c,e as v,F as j,q as C,G as R,u as H,_ as K,c as M}from"./index-42b0cfe4.js";const Q={"ep:":["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","goods","goods-filled","grape","grid","guide","headset","help","help-filled","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","sunny","sunrise","sunset","switch","switch-button","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"],"fa:":["500px","address-book","address-book-o","address-card","address-card-o","adjust","adn","align-center","align-justify","align-left","amazon","ambulance","american-sign-language-interpreting","anchor","android","angellist","angle-double-left","angle-double-up","angle-down","angle-left","angle-up","apple","archive","area-chart","arrow-circle-left","arrow-circle-o-left","arrow-circle-o-up","arrow-circle-up","arrow-left","arrow-up","arrows","arrows-alt","arrows-h","arrows-v","assistive-listening-systems","asterisk","at","audio-description","automobile","backward","balance-scale","ban","bandcamp","bank","bar-chart","barcode","bars","bath","battery","battery-0","battery-1","battery-2","battery-3","bed","beer","behance","behance-square","bell","bell-o","bell-slash","bell-slash-o","bicycle","binoculars","birthday-cake","bitbucket","bitbucket-square","bitcoin","black-tie","blind","bluetooth","bluetooth-b","bold","bolt","bomb","book","bookmark","bookmark-o","braille","briefcase","bug","building","building-o","bullhorn","bullseye","bus","buysellads","cab","calculator","calendar","calendar-check-o","calendar-minus-o","calendar-o","calendar-plus-o","calendar-times-o","camera","camera-retro","caret-down","caret-left","caret-square-o-left","caret-square-o-up","caret-up","cart-arrow-down","cart-plus","cc","cc-amex","cc-diners-club","cc-discover","cc-jcb","cc-mastercard","cc-paypal","cc-stripe","cc-visa","certificate","chain","chain-broken","check","check-circle","check-circle-o","check-square","check-square-o","chevron-circle-left","chevron-circle-up","chevron-down","chevron-left","chevron-up","child","chrome","circle","circle-o","circle-o-notch","circle-thin","clipboard","clock-o","clone","close","cloud","cloud-download","cloud-upload","cny","code","code-fork","codepen","codiepie","coffee","cog","cogs","columns","comment","comment-o","commenting","commenting-o","comments","comments-o","compass","compress","connectdevelop","contao","copy","copyright","creative-commons","credit-card","credit-card-alt","crop","crosshairs","css3","cube","cubes","cut","cutlery","dashboard","dashcube","database","deaf","dedent","delicious","desktop","deviantart","diamond","digg","dollar","dot-circle-o","download","dribbble","drivers-license","drivers-license-o","dropbox","drupal","edge","edit","eercast","eject","ellipsis-h","ellipsis-v","empire","envelope","envelope-o","envelope-open","envelope-open-o","envelope-square","envira","eraser","etsy","eur","exchange","exclamation","exclamation-circle","exclamation-triangle","expand","expeditedssl","external-link","external-link-square","eye","eye-slash","eyedropper","fa","facebook","facebook-official","facebook-square","fast-backward","fax","feed","female","fighter-jet","file","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o","file-o","file-pdf-o","file-powerpoint-o","file-text","file-text-o","file-word-o","film","filter","fire","fire-extinguisher","firefox","first-order","flag","flag-checkered","flag-o","flask","flickr","floppy-o","folder","folder-o","folder-open","folder-open-o","font","fonticons","fort-awesome","forumbee","foursquare","free-code-camp","frown-o","futbol-o","gamepad","gavel","gbp","genderless","get-pocket","gg","gg-circle","gift","git","git-square","github","github-alt","github-square","gitlab","gittip","glass","glide","glide-g","globe","google","google-plus","google-plus-circle","google-plus-square","google-wallet","graduation-cap","grav","group","h-square","hacker-news","hand-grab-o","hand-lizard-o","hand-o-left","hand-o-up","hand-paper-o","hand-peace-o","hand-pointer-o","hand-scissors-o","hand-spock-o","handshake-o","hashtag","hdd-o","header","headphones","heart","heart-o","heartbeat","history","home","hospital-o","hourglass","hourglass-1","hourglass-2","hourglass-3","hourglass-o","houzz","html5","i-cursor","id-badge","ils","image","imdb","inbox","indent","industry","info","info-circle","inr","instagram","internet-explorer","intersex","ioxhost","italic","joomla","jsfiddle","key","keyboard-o","krw","language","laptop","lastfm","lastfm-square","leaf","leanpub","lemon-o","level-up","life-bouy","lightbulb-o","line-chart","linkedin","linkedin-square","linode","linux","list","list-alt","list-ol","list-ul","location-arrow","lock","long-arrow-left","long-arrow-up","low-vision","magic","magnet","mail-forward","mail-reply","mail-reply-all","male","map","map-marker","map-o","map-pin","map-signs","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","maxcdn","meanpath","medium","medkit","meetup","meh-o","mercury","microchip","microphone","microphone-slash","minus","minus-circle","minus-square","minus-square-o","mixcloud","mobile","modx","money","moon-o","motorcycle","mouse-pointer","music","neuter","newspaper-o","object-group","object-ungroup","odnoklassniki","odnoklassniki-square","opencart","openid","opera","optin-monster","pagelines","paint-brush","paper-plane","paper-plane-o","paperclip","paragraph","pause","pause-circle","pause-circle-o","paw","paypal","pencil","pencil-square","percent","phone","phone-square","pie-chart","pied-piper","pied-piper-alt","pied-piper-pp","pinterest","pinterest-p","pinterest-square","plane","play","play-circle","play-circle-o","plug","plus","plus-circle","plus-square","plus-square-o","podcast","power-off","print","product-hunt","puzzle-piece","qq","qrcode","question","question-circle","question-circle-o","quora","quote-left","quote-right","ra","random","ravelry","recycle","reddit","reddit-alien","reddit-square","refresh","registered","renren","repeat","retweet","road","rocket","rotate-left","rouble","rss-square","safari","scribd","search","search-minus","search-plus","sellsy","server","share-alt","share-alt-square","share-square","share-square-o","shield","ship","shirtsinbulk","shopping-bag","shopping-basket","shopping-cart","shower","sign-in","sign-language","sign-out","signal","simplybuilt","sitemap","skyatlas","skype","slack","sliders","slideshare","smile-o","snapchat","snapchat-ghost","snapchat-square","snowflake-o","sort","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-asc","sort-numeric-asc","sort-numeric-desc","soundcloud","space-shuttle","spinner","spoon","spotify","square","square-o","stack-exchange","stack-overflow","star","star-half","star-half-empty","star-o","steam","steam-square","step-backward","stethoscope","sticky-note","sticky-note-o","stop","stop-circle","stop-circle-o","street-view","strikethrough","stumbleupon","stumbleupon-circle","subscript","subway","suitcase","sun-o","superpowers","superscript","table","tablet","tag","tags","tasks","telegram","television","tencent-weibo","terminal","text-height","text-width","th","th-large","th-list","themeisle","thermometer","thermometer-0","thermometer-1","thermometer-2","thermometer-3","thumb-tack","thumbs-down","thumbs-o-up","thumbs-up","ticket","times-circle","times-circle-o","times-rectangle","times-rectangle-o","tint","toggle-off","toggle-on","trademark","train","transgender-alt","trash","trash-o","tree","trello","tripadvisor","trophy","truck","try","tty","tumblr","tumblr-square","twitch","twitter","twitter-square","umbrella","underline","universal-access","unlock","unlock-alt","upload","usb","user","user-circle","user-circle-o","user-md","user-o","user-plus","user-secret","user-times","venus","venus-double","venus-mars","viacoin","viadeo","viadeo-square","video-camera","vimeo","vimeo-square","vine","vk","volume-control-phone","volume-down","volume-off","volume-up","wechat","weibo","whatsapp","wheelchair","wheelchair-alt","wifi","wikipedia-w","window-maximize","window-minimize","window-restore","windows","wordpress","wpbeginner","wpexplorer","wpforms","wrench","xing","xing-square","y-combinator","yahoo","yelp","yoast","youtube","youtube-play","youtube-square"],"fa-solid:":["abacus","ad","address-book","address-card","adjust","air-freshener","align-center","align-justify","align-left","align-right","allergies","ambulance","american-sign-language-interpreting","anchor","angle-double-down","angle-double-left","angle-double-right","angle-double-up","angle-down","angle-left","angle-right","angle-up","angry","ankh","apple-alt","archive","archway","arrow-alt-circle-down","arrow-alt-circle-left","arrow-alt-circle-right","arrow-alt-circle-up","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-left","arrow-right","arrow-up","arrows-alt","arrows-alt-h","arrows-alt-v","assistive-listening-systems","asterisk","at","atlas","atom","audio-description","award","baby","baby-carriage","backspace","backward","bacon","bacteria","bacterium","bahai","balance-scale","balance-scale-left","balance-scale-right","ban","band-aid","barcode","bars","baseball-ball","basketball-ball","bath","battery-empty","battery-full","battery-half","battery-quarter","battery-three-quarters","bed","beer","bell","bell-slash","bezier-curve","bible","bicycle","biking","binoculars","biohazard","birthday-cake","blender","blender-phone","blind","blog","bold","bolt","bomb","bone","bong","book","book-dead","book-medical","book-open","book-reader","bookmark","border-all","border-none","border-style","bowling-ball","box","box-open","box-tissue","boxes","braille","brain","bread-slice","briefcase","briefcase-medical","broadcast-tower","broom","brush","bug","building","bullhorn","bullseye","burn","bus","bus-alt","business-time","calculator","calculator-alt","calendar","calendar-alt","calendar-check","calendar-day","calendar-minus","calendar-plus","calendar-times","calendar-week","camera","camera-retro","campground","candy-cane","cannabis","capsules","car","car-alt","car-battery","car-crash","car-side","caravan","caret-down","caret-left","caret-right","caret-square-down","caret-square-left","caret-square-right","caret-square-up","caret-up","carrot","cart-arrow-down","cart-plus","cash-register","cat","certificate","chair","chalkboard","chalkboard-teacher","charging-station","chart-area","chart-bar","chart-line","chart-pie","check","check-circle","check-double","check-square","cheese","chess","chess-bishop","chess-board","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-circle-down","chevron-circle-left","chevron-circle-right","chevron-circle-up","chevron-down","chevron-left","chevron-right","chevron-up","child","church","circle","circle-notch","city","clinic-medical","clipboard","clipboard-check","clipboard-list","clock","clone","closed-captioning","cloud","cloud-download-alt","cloud-meatball","cloud-moon","cloud-moon-rain","cloud-rain","cloud-showers-heavy","cloud-sun","cloud-sun-rain","cloud-upload-alt","cocktail","code","code-branch","coffee","cog","cogs","coins","columns","comment","comment-alt","comment-dollar","comment-dots","comment-medical","comment-slash","comments","comments-dollar","compact-disc","compass","compress","compress-alt","compress-arrows-alt","concierge-bell","cookie","cookie-bite","copy","copyright","couch","credit-card","crop","crop-alt","cross","crosshairs","crow","crown","crutch","cube","cubes","cut","database","deaf","democrat","desktop","dharmachakra","diagnoses","dice","dice-d20","dice-d6","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","digital-tachograph","directions","disease","divide","dizzy","dna","dog","dollar-sign","dolly","dolly-flatbed","donate","door-closed","door-open","dot-circle","dove","download","drafting-compass","dragon","draw-polygon","drum","drum-steelpan","drumstick-bite","dumbbell","dumpster","dumpster-fire","dungeon","edit","egg","eject","ellipsis-h","ellipsis-v","empty-set","envelope","envelope-open","envelope-open-text","envelope-square","equals","eraser","ethernet","euro-sign","exchange-alt","exclamation","exclamation-circle","exclamation-triangle","expand","expand-alt","expand-arrows-alt","external-link-alt","external-link-square-alt","eye","eye-dropper","eye-slash","fan","fast-backward","fast-forward","faucet","fax","feather","feather-alt","female","fighter-jet","file","file-alt","file-archive","file-audio","file-code","file-contract","file-csv","file-download","file-excel","file-export","file-image","file-import","file-invoice","file-invoice-dollar","file-medical","file-medical-alt","file-pdf","file-powerpoint","file-prescription","file-signature","file-upload","file-video","file-word","fill","fill-drip","film","filter","fingerprint","fire","fire-alt","fire-extinguisher","first-aid","fish","fist-raised","flag","flag-checkered","flag-usa","flask","flushed","folder","folder-minus","folder-open","folder-plus","font","football-ball","forward","frog","frown","frown-open","function","funnel-dollar","futbol","gamepad","gas-pump","gavel","gem","genderless","ghost","gift","gifts","glass-cheers","glass-martini","glass-martini-alt","glass-whiskey","glasses","globe","globe-africa","globe-americas","globe-asia","globe-europe","golf-ball","gopuram","graduation-cap","greater-than","greater-than-equal","grimace","grin","grin-alt","grin-beam","grin-beam-sweat","grin-hearts","grin-squint","grin-squint-tears","grin-stars","grin-tears","grin-tongue","grin-tongue-squint","grin-tongue-wink","grin-wink","grip-horizontal","grip-lines","grip-lines-vertical","grip-vertical","guitar","h-square","hamburger","hammer","hamsa","hand-holding","hand-holding-heart","hand-holding-medical","hand-holding-usd","hand-holding-water","hand-lizard","hand-middle-finger","hand-paper","hand-peace","hand-point-down","hand-point-left","hand-point-right","hand-point-up","hand-pointer","hand-rock","hand-scissors","hand-sparkles","hand-spock","hands","hands-helping","hands-wash","handshake","handshake-alt-slash","handshake-slash","hanukiah","hard-hat","hashtag","hat-cowboy","hat-cowboy-side","hat-wizard","hdd","head-side-cough","head-side-cough-slash","head-side-mask","head-side-virus","heading","headphones","headphones-alt","headset","heart","heart-broken","heartbeat","helicopter","highlighter","hiking","hippo","history","hockey-puck","holly-berry","home","horse","horse-head","hospital","hospital-alt","hospital-symbol","hospital-user","hot-tub","hotdog","hotel","hourglass","hourglass-end","hourglass-half","hourglass-start","house-damage","house-user","hryvnia","i-cursor","ice-cream","icicles","icons","id-badge","id-card","id-card-alt","igloo","image","images","inbox","indent","industry","infinity","info","info-circle","integral","intersection","italic","jedi","joint","journal-whills","kaaba","key","keyboard","khanda","kiss","kiss-beam","kiss-wink-heart","kiwi-bird","lambda","landmark","language","laptop","laptop-code","laptop-house","laptop-medical","laugh","laugh-beam","laugh-squint","laugh-wink","layer-group","leaf","lemon","less-than","less-than-equal","level-down-alt","level-up-alt","life-ring","lightbulb","link","lira-sign","list","list-alt","list-ol","list-ul","location-arrow","lock","lock-open","long-arrow-alt-down","long-arrow-alt-left","long-arrow-alt-right","long-arrow-alt-up","low-vision","luggage-cart","lungs","lungs-virus","magic","magnet","mail-bulk","male","map","map-marked","map-marked-alt","map-marker","map-marker-alt","map-pin","map-signs","marker","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mask","medal","medkit","meh","meh-blank","meh-rolling-eyes","memory","menorah","mercury","meteor","microchip","microphone","microphone-alt","microphone-alt-slash","microphone-slash","microscope","minus","minus-circle","minus-square","mitten","mobile","mobile-alt","money-bill","money-bill-alt","money-bill-wave","money-bill-wave-alt","money-check","money-check-alt","monument","moon","mortar-pestle","mosque","motorcycle","mountain","mouse","mouse-pointer","mug-hot","music","network-wired","neuter","newspaper","not-equal","notes-medical","object-group","object-ungroup","oil-can","om","omega","otter","outdent","pager","paint-brush","paint-roller","palette","pallet","paper-plane","paperclip","parachute-box","paragraph","parking","passport","pastafarianism","paste","pause","pause-circle","paw","peace","pen","pen-alt","pen-fancy","pen-nib","pen-square","pencil-alt","pencil-ruler","people-arrows","people-carry","pepper-hot","percent","percentage","person-booth","phone","phone-alt","phone-slash","phone-square","phone-square-alt","phone-volume","photo-video","pi","piggy-bank","pills","pizza-slice","place-of-worship","plane","plane-arrival","plane-departure","plane-slash","play","play-circle","plug","plus","plus-circle","plus-square","podcast","poll","poll-h","poo","poo-storm","poop","portrait","pound-sign","power-off","pray","praying-hands","prescription","prescription-bottle","prescription-bottle-alt","print","procedures","project-diagram","pump-medical","pump-soap","puzzle-piece","qrcode","question","question-circle","quidditch","quote-left","quote-right","quran","radiation","radiation-alt","rainbow","random","receipt","record-vinyl","recycle","redo","redo-alt","registered","remove-format","reply","reply-all","republican","restroom","retweet","ribbon","ring","road","robot","rocket","route","rss","rss-square","ruble-sign","ruler","ruler-combined","ruler-horizontal","ruler-vertical","running","rupee-sign","sad-cry","sad-tear","satellite","satellite-dish","save","school","screwdriver","scroll","sd-card","search","search-dollar","search-location","search-minus","search-plus","seedling","server","shapes","share","share-alt","share-alt-square","share-square","shekel-sign","shield-alt","shield-virus","ship","shipping-fast","shoe-prints","shopping-bag","shopping-basket","shopping-cart","shower","shuttle-van","sigma","sign","sign-in-alt","sign-language","sign-out-alt","signal","signal-alt","signal-alt-slash","signal-slash","signature","sim-card","sink","sitemap","skating","skiing","skiing-nordic","skull","skull-crossbones","slash","sleigh","sliders-h","smile","smile-beam","smile-wink","smog","smoking","smoking-ban","sms","snowboarding","snowflake","snowman","snowplow","soap","socks","solar-panel","sort","sort-alpha-down","sort-alpha-down-alt","sort-alpha-up","sort-alpha-up-alt","sort-amount-down","sort-amount-down-alt","sort-amount-up","sort-amount-up-alt","sort-down","sort-numeric-down","sort-numeric-down-alt","sort-numeric-up","sort-numeric-up-alt","sort-up","spa","space-shuttle","spell-check","spider","spinner","splotch","spray-can","square","square-full","square-root","square-root-alt","stamp","star","star-and-crescent","star-half","star-half-alt","star-of-david","star-of-life","step-backward","step-forward","stethoscope","sticky-note","stop","stop-circle","stopwatch","stopwatch-20","store","store-alt","store-alt-slash","store-slash","stream","street-view","strikethrough","stroopwafel","subscript","subway","suitcase","suitcase-rolling","sun","superscript","surprise","swatchbook","swimmer","swimming-pool","synagogue","sync","sync-alt","syringe","table","table-tennis","tablet","tablet-alt","tablets","tachometer-alt","tag","tags","tally","tape","tasks","taxi","teeth","teeth-open","temperature-high","temperature-low","tenge","terminal","text-height","text-width","th","th-large","th-list","theater-masks","thermometer","thermometer-empty","thermometer-full","thermometer-half","thermometer-quarter","thermometer-three-quarters","theta","thumbs-down","thumbs-up","thumbtack","ticket-alt","tilde","times","times-circle","tint","tint-slash","tired","toggle-off","toggle-on","toilet","toilet-paper","toilet-paper-slash","toolbox","tools","tooth","torah","torii-gate","tractor","trademark","traffic-light","trailer","train","tram","transgender","transgender-alt","trash","trash-alt","trash-restore","trash-restore-alt","tree","trophy","truck","truck-loading","truck-monster","truck-moving","truck-pickup","tshirt","tty","tv","umbrella","umbrella-beach","underline","undo","undo-alt","union","universal-access","university","unlink","unlock","unlock-alt","upload","user","user-alt","user-alt-slash","user-astronaut","user-check","user-circle","user-clock","user-cog","user-edit","user-friends","user-graduate","user-injured","user-lock","user-md","user-minus","user-ninja","user-nurse","user-plus","user-secret","user-shield","user-slash","user-tag","user-tie","user-times","users","users-cog","users-slash","utensil-spoon","utensils","value-absolute","vector-square","venus","venus-double","venus-mars","vest","vest-patches","vial","vials","video","video-slash","vihara","virus","virus-slash","viruses","voicemail","volleyball-ball","volume","volume-down","volume-mute","volume-off","volume-slash","volume-up","vote-yea","vr-cardboard","walking","wallet","warehouse","water","wave-square","weight","weight-hanging","wheelchair","wifi","wifi-slash","wind","window-close","window-maximize","window-minimize","window-restore","wine-bottle","wine-glass","wine-glass-alt","won-sign","wrench","x-ray","yen-sign","yin-yang"]},W={class:"selector w-[350px]"},X={class:"flex flex-wrap px-2 ml-2"},Y=["title","onClick"],Z=I({name:"IconSelect",__name:"Select",props:{modelValue:{require:!1,type:String}},emits:["update:modelValue"],setup(q,{emit:d}){const l=q,u=i(!1),p=G(l,"modelValue"),h=i(Q),f=i("add-location"),e=i("ep:"),y=J(h.value),m=i(96),t=i(1),g=i(""),S=[{label:"Element Plus",name:"ep:"},{label:"Font Awesome 4",name:"fa:"},{label:"Font Awesome 5 Solid",name:"fa-solid:"}],L=z(()=>t.value===1?y[e.value].filter(a=>a.includes(g.value)).slice(t.value-1,m.value):y[e.value].filter(a=>a.includes(g.value)).slice(m.value*(t.value-1),m.value*(t.value-1)+m.value)),A=z(()=>a=>{if(p.value===e.value+a)return{borderColor:"var(--el-color-primary)",color:"var(--el-color-primary)"}});function B({props:a}){t.value=1,e.value=a.name,d("update:modelValue",e.value+h.value[e.value][0]),f.value=h.value[e.value][0]}function F(a){f.value=a,d("update:modelValue",e.value+a),u.value=!1}function O(a){t.value=a}return V(()=>l.modelValue,()=>{l.modelValue&&(e.value=l.modelValue.substring(0,l.modelValue.indexOf(":")+1),f.value=l.modelValue.substring(l.modelValue.indexOf(":")+1))},{immediate:!0}),V(()=>g.value,()=>{t.value=1}),(a,s)=>{const x=n("IconifyIconOnline"),_=n("el-input"),U=n("el-scrollbar"),$=n("el-tab-pane"),E=n("el-tabs"),N=n("el-pagination"),P=n("el-popover");return b(),k("div",W,[r(_,{modelValue:p.value,"onUpdate:modelValue":s[3]||(s[3]=o=>p.value=o),disabled:""},{append:c(()=>[r(P,{width:350,trigger:"click","popper-class":"pure-popper","popper-options":{placement:"auto"},visible:u.value},{reference:c(()=>[v("div",{class:"w-[40px] h-[32px] cursor-pointer flex justify-center items-center",onClick:s[0]||(s[0]=o=>u.value=!u.value)},[r(x,{icon:e.value+f.value},null,8,["icon"])])]),default:c(()=>[r(_,{class:"px-2 pt-2",modelValue:g.value,"onUpdate:modelValue":s[1]||(s[1]=o=>g.value=o),placeholder:"搜索图标",clearable:""},null,8,["modelValue"]),r(E,{modelValue:e.value,"onUpdate:modelValue":s[2]||(s[2]=o=>e.value=o),onTabClick:B},{default:c(()=>[(b(),k(j,null,C(S,(o,T)=>r($,{key:T,label:o.label,name:o.name},{default:c(()=>[r(U,{height:"220px"},{default:c(()=>[v("ul",X,[(b(!0),k(j,null,C(L.value,(w,D)=>(b(),k("li",{key:D,title:w,class:"icon-item p-2 cursor-pointer mr-2 mt-1 flex justify-center items-center border border-solid",style:R(A.value(w)),onClick:re=>F(w)},[r(x,{icon:e.value+w,width:"20px",height:"20px"},null,8,["icon"])],12,Y))),128))])]),_:1})]),_:2},1032,["label","name"])),64))]),_:1},8,["modelValue"]),r(N,{small:"",total:H(y)[e.value].length,"page-size":m.value,"current-page":t.value,background:"",layout:"prev, pager, next",class:"flex items-center justify-center h-10",onCurrentChange:O},null,8,["total","page-size","current-page"])]),_:1},8,["visible"])]),_:1},8,["modelValue"])])}}});const ee=K(Z,[["__scopeId","data-v-545633ca"]]),ae=v("div",{class:"card-header"},[v("span",{class:"font-medium"},"图标选择器")],-1),le=I({name:"IconSelect",__name:"icon-select",setup(q){const d=i("ep:add-location");return(l,u)=>{const p=n("el-card");return b(),M(p,{shadow:"never"},{header:c(()=>[ae]),default:c(()=>[r(ee,{modelValue:d.value,"onUpdate:modelValue":u[0]||(u[0]=h=>d.value=h)},null,8,["modelValue"])]),_:1})}}});export{le as default}; diff --git a/dist/static/js/imgPreview-3ca9fb9b.js b/dist/static/js/imgPreview-3ca9fb9b.js new file mode 100644 index 000000000..6448f2e51 --- /dev/null +++ b/dist/static/js/imgPreview-3ca9fb9b.js @@ -0,0 +1 @@ +import{_ as o}from"./imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js";import"./data-9af24e22.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/imgPreview-494b3d33.js b/dist/static/js/imgPreview-494b3d33.js deleted file mode 100644 index d025fcf2f..000000000 --- a/dist/static/js/imgPreview-494b3d33.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js";import"./data-ce9440dd.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js b/dist/static/js/imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js similarity index 85% rename from dist/static/js/imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js rename to dist/static/js/imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js index 4429a9d19..436be494b 100644 --- a/dist/static/js/imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js +++ b/dist/static/js/imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js @@ -1 +1 @@ -import{d as e}from"./data-ce9440dd.js";import{d as m,a,o as d,c as _,w as o,h as g,u as t,e as i}from"./index-ceadd577.js";const u=i("video",{width:"180",height:"180",controls:""},[i("source",{src:"https://yiming_chang.gitee.io/pure-admin-doc/video/url.mov",type:"video/mp4"})],-1),f=m({__name:"imgPreview",setup(v){const s=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"视频",slot:"video"},{label:"图像",slot:"image"}];return(h,b)=>{const r=a("el-image"),l=a("pure-table");return d(),_(l,{data:t(e),columns:s},{video:o(()=>[u]),image:o(({row:n,index:p})=>[g(r,{"preview-teleported":"",loading:"lazy",src:n.image,"preview-src-list":t(e).map(c=>c.image),"initial-index":p,fit:"cover",class:"w-[100px] h-[100px]"},null,8,["src","preview-src-list","initial-index"])]),_:1},8,["data"])}}});export{f as _}; +import{d as e}from"./data-9af24e22.js";import{d as m,a,o as d,c as _,w as o,h as g,u as t,e as i}from"./index-42b0cfe4.js";const u=i("video",{width:"180",height:"180",controls:""},[i("source",{src:"https://yiming_chang.gitee.io/pure-admin-doc/video/url.mov",type:"video/mp4"})],-1),f=m({__name:"imgPreview",setup(v){const s=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"视频",slot:"video"},{label:"图像",slot:"image"}];return(h,b)=>{const r=a("el-image"),l=a("pure-table");return d(),_(l,{data:t(e),columns:s},{video:o(()=>[u]),image:o(({row:n,index:p})=>[g(r,{"preview-teleported":"",loading:"lazy",src:n.image,"preview-src-list":t(e).map(c=>c.image),"initial-index":p,fit:"cover",class:"w-[100px] h-[100px]"},null,8,["src","preview-src-list","initial-index"])]),_:1},8,["data"])}}});export{f as _}; diff --git a/dist/static/js/index-0070af91.js b/dist/static/js/index-0070af91.js new file mode 100644 index 000000000..841df7302 --- /dev/null +++ b/dist/static/js/index-0070af91.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-c03ca486.js";import"./columns-b312cbd2.js";import"./index-42b0cfe4.js";import"./data-9af24e22.js";export{o as default}; diff --git a/dist/static/js/index-01708126.js b/dist/static/js/index-01708126.js new file mode 100644 index 000000000..e69f978da --- /dev/null +++ b/dist/static/js/index-01708126.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-dc219594.js";import"./columns-2aa5fe39.js";import"./index-42b0cfe4.js";import"./data-43132d69.js";export{o as default}; diff --git a/dist/static/js/index-9e7cb3e4.js b/dist/static/js/index-08f7b72f.js similarity index 96% rename from dist/static/js/index-9e7cb3e4.js rename to dist/static/js/index-08f7b72f.js index 8216d0edc..5e1e44109 100644 --- a/dist/static/js/index-9e7cb3e4.js +++ b/dist/static/js/index-08f7b72f.js @@ -1 +1 @@ -import{d as R,r as i,a9 as M,E as S,h as e,P as $,O as b,n as k,aa as B,U as E,a as I,c as N,w as L,o as W,u as d,e as u,f as x,m as q}from"./index-ceadd577.js";import{d as C}from"./home-filled-05cc090c.js";import{u as _}from"./hooks-82c6b5e4.js";const A={options:{type:Array,default:()=>[]},defaultValue:{type:Number,default:0}},O=R({name:"ReSegmented",props:A,emits:["change"],setup(w,{emit:y}){const p=i(0),f=i(0),{isDark:h}=M(),g=i(!1),o=i(-1),c=i(""),r=B(),t=i(w.defaultValue);function n({option:a,index:l},s){a.disabled||(s.preventDefault(),t.value=l,c.value="",y("change",{index:l,option:a}))}function v({option:a,index:l},s){s.preventDefault(),o.value=l,a.disabled||t.value===l?c.value="":c.value=h.value?"#1f1f1f":"rgba(0, 0, 0, 0.06)"}function j(a,l){l.preventDefault(),o.value=-1}function V(a=t.value){k(()=>{var s;const l=(s=r==null?void 0:r.proxy)==null?void 0:s.$refs[`labelRef${a}`];p.value=l.clientWidth,f.value=l.offsetLeft,g.value=!0})}S(()=>t.value,a=>{k(()=>{V(a)})},{deep:!0,immediate:!0});const D=()=>w.options.map((a,l)=>e("label",{ref:`labelRef${l}`,class:["pure-segmented-item",(a==null?void 0:a.disabled)&&"pure-segmented-item-disabled"],style:{background:o.value===l?c.value:"",color:!a.disabled&&(t.value===l||o.value===l)?h.value?"rgba(255, 255, 255, 0.85)":"rgba(0,0,0,.88)":""},onMouseenter:s=>v({option:a,index:l},s),onMouseleave:s=>j({option:a,index:l},s),onClick:s=>n({option:a,index:l},s)},[e("input",{type:"radio",name:"segmented"},null),e("div",{class:"pure-segmented-item-label"},[a.icon&&!$(a.label)?e("span",{class:"pure-segmented-item-icon",style:{marginRight:a.label?"6px":0}},[b(_(a.icon))]):null,a.label?$(a.label)?b(a.label):e("span",null,[a.label]):null])]));return()=>e("div",{class:"pure-segmented"},[e("div",{class:"pure-segmented-group"},[e("div",{class:"pure-segmented-item-selected",style:{width:`${p.value}px`,transform:`translateX(${f.value}px)`,display:g.value?"block":"none"}},null),D()])])}}),m=E(O),T=u("div",{class:"card-header"},[u("span",{class:"font-medium"},"分段控制器")],-1),X=u("p",{class:"mb-2"},"基础用法",-1),F=u("p",{class:"mb-2"},"默认选中和禁用",-1),P=u("p",{class:"mb-2"},"设置图标",-1),U=u("p",{class:"mb-2"},"只设置图标",-1),z=u("p",{class:"mb-2"},"自定义渲染",-1),G=u("p",{class:"mb-2"},"change事件",-1),Q=R({name:"Segmented",__name:"index",setup(w){const y=[{label:"周一",value:1},{label:"周二",value:2},{label:"周三",value:3},{label:"周四",value:4},{label:"周五",value:5}],p=[{label:"周一",value:1},{label:"周二",value:2},{label:"周三",value:3,disabled:!0},{label:"周四",value:4},{label:"周五",value:5,disabled:!0}],f=[{label:"周一",value:1,icon:C},{label:"周二",value:2},{label:"周三",value:3,icon:"terminalWindowLine"},{label:"周四",value:4,icon:"streamline-emojis:airplane"},{label:"周五",value:5,icon:"streamline-emojis:2"}],h=[{value:1,icon:C},{value:2,icon:"terminalWindowLine"},{value:3,icon:"streamline-emojis:cow-face"},{value:4,icon:"streamline-emojis:airplane"},{value:5,icon:"streamline-emojis:2"}],g=[{label:()=>e("div",null,[b(_(C),{class:"m-auto w-[20px] h-[20px]"}),e("p",null,[x("周一")])]),value:1},{label:()=>e("div",null,[b(_("terminalWindowLine"),{class:"m-auto w-[20px] h-[20px]"}),e("p",null,[x("周二")])]),value:2},{label:()=>e("div",null,[b(_("streamline-emojis:cow-face"),{class:"m-auto w-[20px] h-[20px]"}),e("p",null,[x("周三")])]),value:3}],o=[{label:"周一",value:1},{label:"周二",value:2},{label:"周三",value:3}];function c({index:r,option:t}){const{label:n,value:v}=t;q(`当前选中项索引为:${r},名字为${n},值为${v}`,{type:"success"})}return(r,t)=>{const n=I("el-divider"),v=I("el-card");return W(),N(v,{shadow:"never"},{header:L(()=>[T]),default:L(()=>[X,e(d(m),{options:y}),e(n),F,e(d(m),{options:p,defaultValue:2}),e(n),P,e(d(m),{options:f}),e(n),U,e(d(m),{options:h}),e(n),z,e(d(m),{options:g}),e(n),G,e(d(m),{options:o,onChange:c}),e(n)]),_:1})}}});export{Q as default}; +import{d as R,r as i,a9 as M,E as S,h as e,P as $,O as b,n as k,aa as B,U as E,a as I,c as N,w as L,o as W,u as d,e as u,f as x,m as q}from"./index-42b0cfe4.js";import{d as C}from"./home-filled-05cc090c.js";import{u as _}from"./hooks-2ea9b191.js";const A={options:{type:Array,default:()=>[]},defaultValue:{type:Number,default:0}},O=R({name:"ReSegmented",props:A,emits:["change"],setup(w,{emit:y}){const p=i(0),f=i(0),{isDark:h}=M(),g=i(!1),o=i(-1),c=i(""),r=B(),t=i(w.defaultValue);function n({option:a,index:l},s){a.disabled||(s.preventDefault(),t.value=l,c.value="",y("change",{index:l,option:a}))}function v({option:a,index:l},s){s.preventDefault(),o.value=l,a.disabled||t.value===l?c.value="":c.value=h.value?"#1f1f1f":"rgba(0, 0, 0, 0.06)"}function j(a,l){l.preventDefault(),o.value=-1}function V(a=t.value){k(()=>{var s;const l=(s=r==null?void 0:r.proxy)==null?void 0:s.$refs[`labelRef${a}`];p.value=l.clientWidth,f.value=l.offsetLeft,g.value=!0})}S(()=>t.value,a=>{k(()=>{V(a)})},{deep:!0,immediate:!0});const D=()=>w.options.map((a,l)=>e("label",{ref:`labelRef${l}`,class:["pure-segmented-item",(a==null?void 0:a.disabled)&&"pure-segmented-item-disabled"],style:{background:o.value===l?c.value:"",color:!a.disabled&&(t.value===l||o.value===l)?h.value?"rgba(255, 255, 255, 0.85)":"rgba(0,0,0,.88)":""},onMouseenter:s=>v({option:a,index:l},s),onMouseleave:s=>j({option:a,index:l},s),onClick:s=>n({option:a,index:l},s)},[e("input",{type:"radio",name:"segmented"},null),e("div",{class:"pure-segmented-item-label"},[a.icon&&!$(a.label)?e("span",{class:"pure-segmented-item-icon",style:{marginRight:a.label?"6px":0}},[b(_(a.icon))]):null,a.label?$(a.label)?b(a.label):e("span",null,[a.label]):null])]));return()=>e("div",{class:"pure-segmented"},[e("div",{class:"pure-segmented-group"},[e("div",{class:"pure-segmented-item-selected",style:{width:`${p.value}px`,transform:`translateX(${f.value}px)`,display:g.value?"block":"none"}},null),D()])])}}),m=E(O),T=u("div",{class:"card-header"},[u("span",{class:"font-medium"},"分段控制器")],-1),X=u("p",{class:"mb-2"},"基础用法",-1),F=u("p",{class:"mb-2"},"默认选中和禁用",-1),P=u("p",{class:"mb-2"},"设置图标",-1),U=u("p",{class:"mb-2"},"只设置图标",-1),z=u("p",{class:"mb-2"},"自定义渲染",-1),G=u("p",{class:"mb-2"},"change事件",-1),Q=R({name:"Segmented",__name:"index",setup(w){const y=[{label:"周一",value:1},{label:"周二",value:2},{label:"周三",value:3},{label:"周四",value:4},{label:"周五",value:5}],p=[{label:"周一",value:1},{label:"周二",value:2},{label:"周三",value:3,disabled:!0},{label:"周四",value:4},{label:"周五",value:5,disabled:!0}],f=[{label:"周一",value:1,icon:C},{label:"周二",value:2},{label:"周三",value:3,icon:"terminalWindowLine"},{label:"周四",value:4,icon:"streamline-emojis:airplane"},{label:"周五",value:5,icon:"streamline-emojis:2"}],h=[{value:1,icon:C},{value:2,icon:"terminalWindowLine"},{value:3,icon:"streamline-emojis:cow-face"},{value:4,icon:"streamline-emojis:airplane"},{value:5,icon:"streamline-emojis:2"}],g=[{label:()=>e("div",null,[b(_(C),{class:"m-auto w-[20px] h-[20px]"}),e("p",null,[x("周一")])]),value:1},{label:()=>e("div",null,[b(_("terminalWindowLine"),{class:"m-auto w-[20px] h-[20px]"}),e("p",null,[x("周二")])]),value:2},{label:()=>e("div",null,[b(_("streamline-emojis:cow-face"),{class:"m-auto w-[20px] h-[20px]"}),e("p",null,[x("周三")])]),value:3}],o=[{label:"周一",value:1},{label:"周二",value:2},{label:"周三",value:3}];function c({index:r,option:t}){const{label:n,value:v}=t;q(`当前选中项索引为:${r},名字为${n},值为${v}`,{type:"success"})}return(r,t)=>{const n=I("el-divider"),v=I("el-card");return W(),N(v,{shadow:"never"},{header:L(()=>[T]),default:L(()=>[X,e(d(m),{options:y}),e(n),F,e(d(m),{options:p,defaultValue:2}),e(n),P,e(d(m),{options:f}),e(n),U,e(d(m),{options:h}),e(n),z,e(d(m),{options:g}),e(n),G,e(d(m),{options:o,onChange:c}),e(n)]),_:1})}}});export{Q as default}; diff --git a/dist/static/js/index-2d45ac87.js b/dist/static/js/index-09be365d.js similarity index 99% rename from dist/static/js/index-2d45ac87.js rename to dist/static/js/index-09be365d.js index a28120249..469dd3964 100644 --- a/dist/static/js/index-2d45ac87.js +++ b/dist/static/js/index-09be365d.js @@ -1,4 +1,4 @@ -import{S as _t,a as sn}from"./sortable.esm-e674cde8.js";import{a as ye,ap as un,d as Rt,O as wt,n as Xt,r as Ke,k as cn,c as dn,w as A,o as Ze,e as L,f as yt,h as j,u as Fe,aq as fn,t as Me,i as Et,q as hn,F as pn,s as mn,v as gn,_ as vn}from"./index-ceadd577.js";import{u as Dt}from"./app-c56ccba4.js";import{u as bn}from"./hooks-82c6b5e4.js";/**! +import{S as _t,a as sn}from"./sortable.esm-e674cde8.js";import{a as ye,ap as un,d as Rt,O as wt,n as Xt,r as Ke,k as cn,c as dn,w as A,o as Ze,e as L,f as yt,h as j,u as Fe,aq as fn,t as Me,i as Et,q as hn,F as pn,s as mn,v as gn,_ as vn}from"./index-42b0cfe4.js";import{u as Dt}from"./app-246d46a6.js";import{u as bn}from"./hooks-2ea9b191.js";/**! * Sortable 1.14.0 * @author RubaXa * @author owenm diff --git a/dist/static/js/index-11a0f3ed.js b/dist/static/js/index-17230558.js similarity index 96% rename from dist/static/js/index-11a0f3ed.js rename to dist/static/js/index-17230558.js index 44dc6437b..99b21041e 100644 --- a/dist/static/js/index-11a0f3ed.js +++ b/dist/static/js/index-17230558.js @@ -1 +1 @@ -import{useColumns as k}from"./columns-d8def6bf.js";import{d as q,a as r,i as d,h as t,w as s,o as p,u as S,F as y,q as h,e,t as b,s as D,v as B,_ as C}from"./index-ceadd577.js";const i=l=>(D("data-v-cd5e0712"),l=l(),B(),l),E=i(()=>e("div",{class:"card-header"},[e("span",{class:"font-medium"},"关于")],-1)),I=i(()=>e("span",{style:{"font-size":"15px"}}," Pure-Admin 是一个基于Vue3、Vite、TypeScript、Element-Plus 的中后台解决方案,它可以帮助您快速搭建企业级中后台,提供现成的开箱解决方案及丰富的示例。原则上不收取任何费用及版权,可以放心使用,不过如需二次开源(比如用此平台二次开发并开源)请联系作者获取许可! ",-1)),P=i(()=>e("div",{class:"card-header"},[e("span",{class:"font-medium"},"项目信息")],-1)),V=i(()=>e("div",{class:"card-header"},[e("span",{class:"font-medium"},"生产环境依赖")],-1)),z=["href"],A={style:{color:"var(--el-color-primary)"}},F=i(()=>e("div",{class:"card-header"},[e("span",{class:"font-medium"},"开发环境依赖")],-1)),N=["href"],O={style:{color:"var(--el-color-primary)"}},T=q({name:"About",__name:"index",setup(l){const{pkg:x}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.6","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.7","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.4.0"},lastBuildTime:"2023-06-25 18:38:46"},{dependencies:u,devDependencies:m}=x,v=[],_=[],{columns:j}=k();return Object.keys(u).forEach(o=>{v.push({field:u[o],label:o})}),Object.keys(m).forEach(o=>{_.push({field:m[o],label:o})}),(o,L)=>{const a=r("el-card"),w=r("PureDescriptions"),f=r("el-descriptions-item"),g=r("el-descriptions");return p(),d("div",null,[t(a,{class:"mb-4 box-card",shadow:"never"},{header:s(()=>[E]),default:s(()=>[I]),_:1}),t(a,{class:"m-4 box-card",shadow:"never"},{header:s(()=>[P]),default:s(()=>[t(w,{columns:S(j),border:"",column:3,align:"left"},null,8,["columns"])]),_:1}),t(a,{class:"m-4 box-card",shadow:"never"},{header:s(()=>[V]),default:s(()=>[t(g,{border:""},{default:s(()=>[(p(),d(y,null,h(v,(n,c)=>t(f,{label:n.label,"label-align":"left",align:"left",key:c},{default:s(()=>[e("a",{href:"https://www.npmjs.com/package/"+n.label,target:"_blank"},[e("span",A,b(n.field),1)],8,z)]),_:2},1032,["label"])),64))]),_:1})]),_:1}),t(a,{class:"m-4 box-card",shadow:"never"},{header:s(()=>[F]),default:s(()=>[t(g,{border:""},{default:s(()=>[(p(),d(y,null,h(_,(n,c)=>t(f,{label:n.label,"label-align":"left",align:"left",key:c},{default:s(()=>[e("a",{href:"https://www.npmjs.com/package/"+n.label,target:"_blank"},[e("span",O,b(n.field),1)],8,N)]),_:2},1032,["label"])),64))]),_:1})]),_:1})])}}});const J=C(T,[["__scopeId","data-v-cd5e0712"]]);export{J as default}; +import{useColumns as k}from"./columns-a9e72791.js";import{d as q,a as r,i as d,h as t,w as s,o as p,u as S,F as y,q as h,e,t as b,s as D,v as B,_ as C}from"./index-42b0cfe4.js";const i=l=>(D("data-v-cd5e0712"),l=l(),B(),l),E=i(()=>e("div",{class:"card-header"},[e("span",{class:"font-medium"},"关于")],-1)),I=i(()=>e("span",{style:{"font-size":"15px"}}," Pure-Admin 是一个基于Vue3、Vite、TypeScript、Element-Plus 的中后台解决方案,它可以帮助您快速搭建企业级中后台,提供现成的开箱解决方案及丰富的示例。原则上不收取任何费用及版权,可以放心使用,不过如需二次开源(比如用此平台二次开发并开源)请联系作者获取许可! ",-1)),P=i(()=>e("div",{class:"card-header"},[e("span",{class:"font-medium"},"项目信息")],-1)),V=i(()=>e("div",{class:"card-header"},[e("span",{class:"font-medium"},"生产环境依赖")],-1)),z=["href"],A={style:{color:"var(--el-color-primary)"}},F=i(()=>e("div",{class:"card-header"},[e("span",{class:"font-medium"},"开发环境依赖")],-1)),N=["href"],O={style:{color:"var(--el-color-primary)"}},T=q({name:"About",__name:"index",setup(l){const{pkg:x}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.6","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.7","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.5.0"},lastBuildTime:"2023-06-26 11:32:41"},{dependencies:u,devDependencies:m}=x,v=[],_=[],{columns:j}=k();return Object.keys(u).forEach(o=>{v.push({field:u[o],label:o})}),Object.keys(m).forEach(o=>{_.push({field:m[o],label:o})}),(o,L)=>{const a=r("el-card"),w=r("PureDescriptions"),f=r("el-descriptions-item"),g=r("el-descriptions");return p(),d("div",null,[t(a,{class:"mb-4 box-card",shadow:"never"},{header:s(()=>[E]),default:s(()=>[I]),_:1}),t(a,{class:"m-4 box-card",shadow:"never"},{header:s(()=>[P]),default:s(()=>[t(w,{columns:S(j),border:"",column:3,align:"left"},null,8,["columns"])]),_:1}),t(a,{class:"m-4 box-card",shadow:"never"},{header:s(()=>[V]),default:s(()=>[t(g,{border:""},{default:s(()=>[(p(),d(y,null,h(v,(n,c)=>t(f,{label:n.label,"label-align":"left",align:"left",key:c},{default:s(()=>[e("a",{href:"https://www.npmjs.com/package/"+n.label,target:"_blank"},[e("span",A,b(n.field),1)],8,z)]),_:2},1032,["label"])),64))]),_:1})]),_:1}),t(a,{class:"m-4 box-card",shadow:"never"},{header:s(()=>[F]),default:s(()=>[t(g,{border:""},{default:s(()=>[(p(),d(y,null,h(_,(n,c)=>t(f,{label:n.label,"label-align":"left",align:"left",key:c},{default:s(()=>[e("a",{href:"https://www.npmjs.com/package/"+n.label,target:"_blank"},[e("span",O,b(n.field),1)],8,N)]),_:2},1032,["label"])),64))]),_:1})]),_:1})])}}});const J=C(T,[["__scopeId","data-v-cd5e0712"]]);export{J as default}; diff --git a/dist/static/js/index-1990ba2b.js b/dist/static/js/index-1990ba2b.js new file mode 100644 index 000000000..48b42746d --- /dev/null +++ b/dist/static/js/index-1990ba2b.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-443a04b9.js";import"./columns-6b41d831.js";import"./sortable.esm-e674cde8.js";import"./index-42b0cfe4.js";import"./data-43132d69.js";export{o as default}; diff --git a/dist/static/js/index-b04a1fb1.js b/dist/static/js/index-1a43b023.js similarity index 66% rename from dist/static/js/index-b04a1fb1.js rename to dist/static/js/index-1a43b023.js index 9f7a4919a..77f981314 100644 --- a/dist/static/js/index-b04a1fb1.js +++ b/dist/static/js/index-1a43b023.js @@ -1 +1 @@ -import c from"./basic-1658a9a9.js";import m from"./menuGroup-513a794f.js";import l from"./menuDynamic-26c92eb4.js";import{d as _,a,c as d,w as o,o as p,h as e,e as s}from"./index-ceadd577.js";import"./index.esm-74f5f9a0.js";const u=s("div",{class:"card-header"},[s("span",{class:"font-medium"},"右键菜单组件")],-1),B=_({name:"ContextMenu",__name:"index",setup(f){return(i,x)=>{const t=a("el-col"),n=a("el-row"),r=a("el-card");return p(),d(r,{shadow:"never"},{header:o(()=>[u]),default:o(()=>[e(n,{gutter:24},{default:o(()=>[e(t,{xs:24,sm:10,md:10,lg:8,xl:10},{default:o(()=>[e(c)]),_:1}),e(t,{xs:24,sm:10,md:10,lg:8,xl:10},{default:o(()=>[e(m)]),_:1}),e(t,{xs:24,sm:10,md:10,lg:8,xl:10},{default:o(()=>[e(l)]),_:1})]),_:1})]),_:1})}}});export{B as default}; +import c from"./basic-9e4768f3.js";import m from"./menuGroup-2c9d1f41.js";import l from"./menuDynamic-e26cc4a5.js";import{d as _,a,c as d,w as o,o as p,h as e,e as s}from"./index-42b0cfe4.js";import"./index.esm-88833e99.js";const u=s("div",{class:"card-header"},[s("span",{class:"font-medium"},"右键菜单组件")],-1),B=_({name:"ContextMenu",__name:"index",setup(f){return(i,x)=>{const t=a("el-col"),n=a("el-row"),r=a("el-card");return p(),d(r,{shadow:"never"},{header:o(()=>[u]),default:o(()=>[e(n,{gutter:24},{default:o(()=>[e(t,{xs:24,sm:10,md:10,lg:8,xl:10},{default:o(()=>[e(c)]),_:1}),e(t,{xs:24,sm:10,md:10,lg:8,xl:10},{default:o(()=>[e(m)]),_:1}),e(t,{xs:24,sm:10,md:10,lg:8,xl:10},{default:o(()=>[e(l)]),_:1})]),_:1})]),_:1})}}});export{B as default}; diff --git a/dist/static/js/index-1a5ef16d.js b/dist/static/js/index-1a5ef16d.js new file mode 100644 index 000000000..02bd4ca05 --- /dev/null +++ b/dist/static/js/index-1a5ef16d.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-0c2046d1.js";import"./index.vue_vue_type_script_setup_true_lang-6b1426e7.js";import"./columns-ffa8f14e.js";import"./index-42b0cfe4.js";import"./data-43132d69.js";import"./index.vue_vue_type_script_setup_true_lang-91560990.js";import"./columns-cecb48d1.js";export{o as default}; diff --git a/dist/static/js/index-1ad3c190.js b/dist/static/js/index-1ad3c190.js new file mode 100644 index 000000000..22adda4c5 --- /dev/null +++ b/dist/static/js/index-1ad3c190.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-3e2fded0.js";import"./columns-03aeaacd.js";import"./data-43132d69.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/index-2a56b4d5.js b/dist/static/js/index-29da3f8e.js similarity index 99% rename from dist/static/js/index-2a56b4d5.js rename to dist/static/js/index-29da3f8e.js index a53ef2809..a4d8ea00a 100644 --- a/dist/static/js/index-2a56b4d5.js +++ b/dist/static/js/index-29da3f8e.js @@ -1 +1 @@ -import{d as le,r as v,aY as L,D as c,aZ as Ce,a_ as Ae,i as F,G as y,aq as ie,ad as I,j as se,e as h,u as e,n as Me,a$ as Oe,o as O,U as Fe,ai as $e,a as Y,c as He,w as x,h as M,q as Pe,t as qe,F as je,s as De,v as Be,_ as Ee}from"./index-ceadd577.js";const Re=()=>{window.cancelAnimationFrame=(()=>window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(a){return window.clearTimeout(a)})(),window.requestAnimationFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return window.setTimeout(a,1e3/60)}}()},We=(a,d)=>{if(a===d)return!0;if(a.length!==d.length)return!1;for(let r=0;re(t)<0),K=c(()=>Math.abs(e(t))({step:1,limitMoveNum:5,hoverStop:!0,direction:"top",openTouch:!0,singleHeight:0,singleWidth:0,waitTime:1e3,switchOffset:30,autoPlay:!0,navigation:!1,switchSingleStep:134,switchDelay:400,switchDisabledClass:"disabled",isSingleRemUnit:!1})),i=c(()=>g({},e(re),l.classOption)),ce=c(()=>e(J)?"":e(i).switchDisabledClass),ue=c(()=>e(K)?"":e(i).switchDisabledClass),fe=c(()=>({position:"absolute",margin:`${e(S)/2}px 0 0 -${e(i).switchOffset}px`,transform:"translate(-100%,-50%)"})),de=c(()=>({position:"absolute",margin:`${e(S)/2}px 0 0 ${e(f)+e(i).switchOffset}px`,transform:"translateY(-50%)"})),D=c(()=>e(i).direction!=="bottom"&&e(i).direction!=="top"),Q=c(()=>e(D)?{float:"left",overflow:"hidden"}:{overflow:"hidden"}),pe=c(()=>({transform:`translate(${e(t)}px,${e(n)}px)`,transition:`all ${j} ${e(p)}ms`,overflow:"hidden"})),B=c(()=>e(i).navigation),E=c(()=>e(B)?!1:e(i).autoPlay),ee=c(()=>l.data.length>=e(i).limitMoveNum),te=c(()=>e(i).hoverStop&&e(E)&&e(ee)),R=c(()=>e(i).openTouch),ne=c(()=>e(i).isSingleRemUnit?parseInt(window.getComputedStyle(document.documentElement,null).fontSize):1),W=c(()=>e(i).singleWidth*e(ne)),z=c(()=>e(i).singleHeight*e(ne)),b=c(()=>{let o;const s=e(i).step;if(e(D)?o=e(W):o=e(z),o>0&&o%s>0)throw"如果设置了单步滚动,step需是单步大小的约数,否则无法保证单步滚动结束的位置是否准确";return s});function me(){t.value=0,n.value=0,C(),oe()}function he(){if(e(J)){if(Math.abs(e(t)){C()},w+20)):C()}function ye(o){if(!e(R)||o.targetTouches.length>1||o.scale&&o.scale!==1)return;const s=o.targetTouches[0],{direction:u}=e(i),w={x:s.pageX-P.x,y:s.pageY-P.y};o.preventDefault();const A=Math.abs(w.x)0&&(n.value=0);else if(s==="bottom"){const u=e($)/2*-1;e(n)0&&(t.value=0);else if(s==="right"){const u=e(_)*-1;e(t){p.value=0,k()},e(p))}function Se(){e(te)&&ke()}function _e(){e(te)&&be()}function k(){q||(N=requestAnimationFrame(function(){const o=e($)/2,s=e(_)/2,{direction:u,waitTime:w}=e(i);u==="top"?(Math.abs(e(n))>=o&&(r("scrollEnd"),n.value=0),n.value-=b.value):u==="bottom"?(e(n)>=0&&(r("scrollEnd"),n.value=o*-1),n.value+=b.value):u==="left"?(Math.abs(e(t))>=s&&(r("scrollEnd"),t.value=0),t.value-=b.value):u==="right"&&(e(t)>=0&&(r("scrollEnd"),t.value=s*-1),t.value+=b.value),T&&clearTimeout(T),e(z)?Math.abs(e(n))%e(z){k()},w):k():e(W)&&Math.abs(e(t))%e(W){k()},w):k()}))}function oe(){Me(()=>{const{switchDelay:o}=e(i);if(H.value="",e(D)){S.value=e(X).offsetHeight,f.value=e(X).offsetWidth;let s=e(G).offsetWidth;e(E)&&(s=s*2+1),e(Z).style.width=s+"px",_.value=s}if(e(E))j="ease-in",p.value=0;else{j="linear",p.value=o;return}e(ee)?(H.value=e(G).innerHTML,setTimeout(()=>{var s;$.value=(s=e(Z))==null?void 0:s.offsetHeight,k()},0)):(C(),n.value=t.value=0)})}function be(){q=!1,k()}function ke(){q=!0,T&&clearTimeout(T),C()}function xe(o){e(i).direction==="left"||e(i).direction==="right"||Oe(()=>{o.deltaY>0?n.value-=b.value:n.value+=b.value},50)()}return Ce(()=>{oe()}),Ae(()=>{C(),clearTimeout(T)}),d({reset:me}),(o,s)=>(O(),F("div",{ref:"wrap"+l.classOption.key},[B.value?(O(),F("div",{key:0,style:y(fe.value),class:ie(ce.value),onClick:he},[I(o.$slots,"left-switch")],6)):se("",!0),B.value?(O(),F("div",{key:1,style:y(de.value),class:ie(ue.value),onClick:ve},[I(o.$slots,"right-switch")],6)):se("",!0),h("div",{ref:"realBox"+l.classOption.key,style:y(pe.value),onMouseenter:Se,onMouseleave:_e,onTouchstartPassive:we,onTouchmovePassive:ye,onTouchend:ge,onMousewheelPassive:xe},[h("div",{ref:"slotList"+l.classOption.key,style:y(Q.value)},[I(o.$slots,"default")],4),h("div",{innerHTML:H.value,style:y(Q.value)},null,12,Le)],36)],512))}}),Ye=Fe(Ie),Ne=a=>(De("data-v-28c9d5d1"),a=a(),Be(),a),Ue={class:"card-header"},Ve=Ne(()=>h("span",null,"无缝滚动示例",-1)),Xe={class:"item"},Ge=["textContent"],Ze=le({name:"SeamlessScroll",__name:"index",setup(a){const d=v(),r=v([{title:"无缝滚动第一行无缝滚动第一行!!!!!!!!!!"},{title:"无缝滚动第二行无缝滚动第二行!!!!!!!!!!"},{title:"无缝滚动第三行无缝滚动第三行!!!!!!!!!!"},{title:"无缝滚动第四行无缝滚动第四行!!!!!!!!!!"},{title:"无缝滚动第五行无缝滚动第五行!!!!!!!!!!"},{title:"无缝滚动第六行无缝滚动第六行!!!!!!!!!!"},{title:"无缝滚动第七行无缝滚动第七行!!!!!!!!!!"},{title:"无缝滚动第八行无缝滚动第八行!!!!!!!!!!"},{title:"无缝滚动第九行无缝滚动第九行!!!!!!!!!!"}]),l=$e({direction:"top"});function m(g){e(d).reset(),e(l).direction=g}return(g,t)=>{const n=Y("el-button"),p=Y("el-card"),S=Y("el-space");return O(),He(S,{wrap:""},{default:x(()=>[M(p,{class:"box-card",shadow:"never"},{header:x(()=>[h("div",Ue,[Ve,M(n,{class:"button",link:"",type:"primary",onClick:t[0]||(t[0]=f=>m("top"))},{default:x(()=>[h("span",{style:y({color:l.direction==="top"?"red":""})}," 向上滚动 ",4)]),_:1}),M(n,{class:"button",link:"",type:"primary",onClick:t[1]||(t[1]=f=>m("bottom"))},{default:x(()=>[h("span",{style:y({color:l.direction==="bottom"?"red":""})}," 向下滚动 ",4)]),_:1}),M(n,{class:"button",link:"",type:"primary",onClick:t[2]||(t[2]=f=>m("left"))},{default:x(()=>[h("span",{style:y({color:l.direction==="left"?"red":""})}," 向左滚动 ",4)]),_:1}),M(n,{class:"button",link:"",type:"primary",onClick:t[3]||(t[3]=f=>m("right"))},{default:x(()=>[h("span",{style:y({color:l.direction==="right"?"red":""})}," 向右滚动 ",4)]),_:1})])]),default:x(()=>[M(e(Ye),{ref_key:"scroll",ref:d,data:r.value,"class-option":l,class:"warp"},{default:x(()=>[h("ul",Xe,[(O(!0),F(je,null,Pe(r.value,(f,_)=>(O(),F("li",{key:_},[h("span",{class:"title",textContent:qe(f.title)},null,8,Ge)]))),128))])]),_:1},8,["data","class-option"])]),_:1})]),_:1})}}});const Ke=Ee(Ze,[["__scopeId","data-v-28c9d5d1"]]);export{Ke as default}; +import{d as le,r as v,aY as L,D as c,aZ as Ce,a_ as Ae,i as F,G as y,aq as ie,ad as I,j as se,e as h,u as e,n as Me,a$ as Oe,o as O,U as Fe,ai as $e,a as Y,c as He,w as x,h as M,q as Pe,t as qe,F as je,s as De,v as Be,_ as Ee}from"./index-42b0cfe4.js";const Re=()=>{window.cancelAnimationFrame=(()=>window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(a){return window.clearTimeout(a)})(),window.requestAnimationFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return window.setTimeout(a,1e3/60)}}()},We=(a,d)=>{if(a===d)return!0;if(a.length!==d.length)return!1;for(let r=0;re(t)<0),K=c(()=>Math.abs(e(t))({step:1,limitMoveNum:5,hoverStop:!0,direction:"top",openTouch:!0,singleHeight:0,singleWidth:0,waitTime:1e3,switchOffset:30,autoPlay:!0,navigation:!1,switchSingleStep:134,switchDelay:400,switchDisabledClass:"disabled",isSingleRemUnit:!1})),i=c(()=>g({},e(re),l.classOption)),ce=c(()=>e(J)?"":e(i).switchDisabledClass),ue=c(()=>e(K)?"":e(i).switchDisabledClass),fe=c(()=>({position:"absolute",margin:`${e(S)/2}px 0 0 -${e(i).switchOffset}px`,transform:"translate(-100%,-50%)"})),de=c(()=>({position:"absolute",margin:`${e(S)/2}px 0 0 ${e(f)+e(i).switchOffset}px`,transform:"translateY(-50%)"})),D=c(()=>e(i).direction!=="bottom"&&e(i).direction!=="top"),Q=c(()=>e(D)?{float:"left",overflow:"hidden"}:{overflow:"hidden"}),pe=c(()=>({transform:`translate(${e(t)}px,${e(n)}px)`,transition:`all ${j} ${e(p)}ms`,overflow:"hidden"})),B=c(()=>e(i).navigation),E=c(()=>e(B)?!1:e(i).autoPlay),ee=c(()=>l.data.length>=e(i).limitMoveNum),te=c(()=>e(i).hoverStop&&e(E)&&e(ee)),R=c(()=>e(i).openTouch),ne=c(()=>e(i).isSingleRemUnit?parseInt(window.getComputedStyle(document.documentElement,null).fontSize):1),W=c(()=>e(i).singleWidth*e(ne)),z=c(()=>e(i).singleHeight*e(ne)),b=c(()=>{let o;const s=e(i).step;if(e(D)?o=e(W):o=e(z),o>0&&o%s>0)throw"如果设置了单步滚动,step需是单步大小的约数,否则无法保证单步滚动结束的位置是否准确";return s});function me(){t.value=0,n.value=0,C(),oe()}function he(){if(e(J)){if(Math.abs(e(t)){C()},w+20)):C()}function ye(o){if(!e(R)||o.targetTouches.length>1||o.scale&&o.scale!==1)return;const s=o.targetTouches[0],{direction:u}=e(i),w={x:s.pageX-P.x,y:s.pageY-P.y};o.preventDefault();const A=Math.abs(w.x)0&&(n.value=0);else if(s==="bottom"){const u=e($)/2*-1;e(n)0&&(t.value=0);else if(s==="right"){const u=e(_)*-1;e(t){p.value=0,k()},e(p))}function Se(){e(te)&&ke()}function _e(){e(te)&&be()}function k(){q||(N=requestAnimationFrame(function(){const o=e($)/2,s=e(_)/2,{direction:u,waitTime:w}=e(i);u==="top"?(Math.abs(e(n))>=o&&(r("scrollEnd"),n.value=0),n.value-=b.value):u==="bottom"?(e(n)>=0&&(r("scrollEnd"),n.value=o*-1),n.value+=b.value):u==="left"?(Math.abs(e(t))>=s&&(r("scrollEnd"),t.value=0),t.value-=b.value):u==="right"&&(e(t)>=0&&(r("scrollEnd"),t.value=s*-1),t.value+=b.value),T&&clearTimeout(T),e(z)?Math.abs(e(n))%e(z){k()},w):k():e(W)&&Math.abs(e(t))%e(W){k()},w):k()}))}function oe(){Me(()=>{const{switchDelay:o}=e(i);if(H.value="",e(D)){S.value=e(X).offsetHeight,f.value=e(X).offsetWidth;let s=e(G).offsetWidth;e(E)&&(s=s*2+1),e(Z).style.width=s+"px",_.value=s}if(e(E))j="ease-in",p.value=0;else{j="linear",p.value=o;return}e(ee)?(H.value=e(G).innerHTML,setTimeout(()=>{var s;$.value=(s=e(Z))==null?void 0:s.offsetHeight,k()},0)):(C(),n.value=t.value=0)})}function be(){q=!1,k()}function ke(){q=!0,T&&clearTimeout(T),C()}function xe(o){e(i).direction==="left"||e(i).direction==="right"||Oe(()=>{o.deltaY>0?n.value-=b.value:n.value+=b.value},50)()}return Ce(()=>{oe()}),Ae(()=>{C(),clearTimeout(T)}),d({reset:me}),(o,s)=>(O(),F("div",{ref:"wrap"+l.classOption.key},[B.value?(O(),F("div",{key:0,style:y(fe.value),class:ie(ce.value),onClick:he},[I(o.$slots,"left-switch")],6)):se("",!0),B.value?(O(),F("div",{key:1,style:y(de.value),class:ie(ue.value),onClick:ve},[I(o.$slots,"right-switch")],6)):se("",!0),h("div",{ref:"realBox"+l.classOption.key,style:y(pe.value),onMouseenter:Se,onMouseleave:_e,onTouchstartPassive:we,onTouchmovePassive:ye,onTouchend:ge,onMousewheelPassive:xe},[h("div",{ref:"slotList"+l.classOption.key,style:y(Q.value)},[I(o.$slots,"default")],4),h("div",{innerHTML:H.value,style:y(Q.value)},null,12,Le)],36)],512))}}),Ye=Fe(Ie),Ne=a=>(De("data-v-28c9d5d1"),a=a(),Be(),a),Ue={class:"card-header"},Ve=Ne(()=>h("span",null,"无缝滚动示例",-1)),Xe={class:"item"},Ge=["textContent"],Ze=le({name:"SeamlessScroll",__name:"index",setup(a){const d=v(),r=v([{title:"无缝滚动第一行无缝滚动第一行!!!!!!!!!!"},{title:"无缝滚动第二行无缝滚动第二行!!!!!!!!!!"},{title:"无缝滚动第三行无缝滚动第三行!!!!!!!!!!"},{title:"无缝滚动第四行无缝滚动第四行!!!!!!!!!!"},{title:"无缝滚动第五行无缝滚动第五行!!!!!!!!!!"},{title:"无缝滚动第六行无缝滚动第六行!!!!!!!!!!"},{title:"无缝滚动第七行无缝滚动第七行!!!!!!!!!!"},{title:"无缝滚动第八行无缝滚动第八行!!!!!!!!!!"},{title:"无缝滚动第九行无缝滚动第九行!!!!!!!!!!"}]),l=$e({direction:"top"});function m(g){e(d).reset(),e(l).direction=g}return(g,t)=>{const n=Y("el-button"),p=Y("el-card"),S=Y("el-space");return O(),He(S,{wrap:""},{default:x(()=>[M(p,{class:"box-card",shadow:"never"},{header:x(()=>[h("div",Ue,[Ve,M(n,{class:"button",link:"",type:"primary",onClick:t[0]||(t[0]=f=>m("top"))},{default:x(()=>[h("span",{style:y({color:l.direction==="top"?"red":""})}," 向上滚动 ",4)]),_:1}),M(n,{class:"button",link:"",type:"primary",onClick:t[1]||(t[1]=f=>m("bottom"))},{default:x(()=>[h("span",{style:y({color:l.direction==="bottom"?"red":""})}," 向下滚动 ",4)]),_:1}),M(n,{class:"button",link:"",type:"primary",onClick:t[2]||(t[2]=f=>m("left"))},{default:x(()=>[h("span",{style:y({color:l.direction==="left"?"red":""})}," 向左滚动 ",4)]),_:1}),M(n,{class:"button",link:"",type:"primary",onClick:t[3]||(t[3]=f=>m("right"))},{default:x(()=>[h("span",{style:y({color:l.direction==="right"?"red":""})}," 向右滚动 ",4)]),_:1})])]),default:x(()=>[M(e(Ye),{ref_key:"scroll",ref:d,data:r.value,"class-option":l,class:"warp"},{default:x(()=>[h("ul",Xe,[(O(!0),F(je,null,Pe(r.value,(f,_)=>(O(),F("li",{key:_},[h("span",{class:"title",textContent:qe(f.title)},null,8,Ge)]))),128))])]),_:1},8,["data","class-option"])]),_:1})]),_:1})}}});const Ke=Ee(Ze,[["__scopeId","data-v-28c9d5d1"]]);export{Ke as default}; diff --git a/dist/static/js/index-a9b0cd40.js b/dist/static/js/index-2a6d5ddb.js similarity index 70% rename from dist/static/js/index-a9b0cd40.js rename to dist/static/js/index-2a6d5ddb.js index 0fff1ad90..9050700fa 100644 --- a/dist/static/js/index-a9b0cd40.js +++ b/dist/static/js/index-2a6d5ddb.js @@ -1 +1 @@ -import{d as e,i as n,o}from"./index-ceadd577.js";const l=e({name:"MenuOverflow",__name:"index",setup(t){return(a,r)=>(o(),n("div",null,"目录、菜单文字超出显示 Tooltip 文字提示"))}});export{l as default}; +import{d as e,i as n,o}from"./index-42b0cfe4.js";const l=e({name:"MenuOverflow",__name:"index",setup(t){return(a,r)=>(o(),n("div",null,"目录、菜单文字超出显示 Tooltip 文字提示"))}});export{l as default}; diff --git a/dist/static/js/index-2acaf07e.js b/dist/static/js/index-2acaf07e.js new file mode 100644 index 000000000..0d3fe06d4 --- /dev/null +++ b/dist/static/js/index-2acaf07e.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-91560990.js";import"./columns-cecb48d1.js";import"./data-43132d69.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/index-2e2618de.js b/dist/static/js/index-2e2618de.js deleted file mode 100644 index f565dfe1b..000000000 --- a/dist/static/js/index-2e2618de.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-808d4627.js";import"./columns-75d79a61.js";import"./data-c6346f61.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/index-0fc14658.js b/dist/static/js/index-3a7716a0.js similarity index 98% rename from dist/static/js/index-0fc14658.js rename to dist/static/js/index-3a7716a0.js index b2afc10c7..02faa0b4c 100644 --- a/dist/static/js/index-0fc14658.js +++ b/dist/static/js/index-3a7716a0.js @@ -1,4 +1,4 @@ -import{p as n}from"./propTypes-03d1d3a5.js";import{d as S,ai as N,D as w,E as z,aD as A,k as B,h as a,F as h,u as m,r as x,ao as k,l as q,f as r,U as v,a as R,c as E,w as T,o as F,e as g,i as $,q as M}from"./index-ceadd577.js";const U={startVal:n.number.def(0),endVal:n.number.def(2020),duration:n.number.def(1300),autoplay:n.bool.def(!0),decimals:{type:Number,required:!1,default:0,validator(t){return t>=0}},color:n.string.def(),fontSize:n.string.def(),decimal:n.string.def("."),separator:n.string.def(","),prefix:n.string.def(""),suffix:n.string.def(""),useEasing:n.bool.def(!0),easingFn:{type:Function,default(t,u,e,i){return e*(-Math.pow(2,-10*t/i)+1)*1024/1023+u}}},G=S({name:"ReNormalCountTo",props:U,emits:["mounted","callback"],setup(t,{emit:u}){const e=N({localStartVal:t.startVal,displayValue:p(t.startVal),printVal:null,paused:!1,localDuration:t.duration,startTime:null,timestamp:null,remaining:null,rAF:null,color:null,fontSize:"16px"}),i=w(()=>t.startVal>t.endVal);z([()=>t.startVal,()=>t.endVal],()=>{t.autoplay&&c()});function c(){const{startVal:o,duration:V,color:f,fontSize:l}=t;e.localStartVal=o,e.startTime=null,e.localDuration=V,e.paused=!1,e.color=f,e.fontSize=l,e.rAF=requestAnimationFrame(d)}function d(o){const{useEasing:V,easingFn:f,endVal:l}=t;e.startTime||(e.startTime=o),e.timestamp=o;const s=o-e.startTime;e.remaining=e.localDuration-s,V?m(i)?e.printVal=e.localStartVal-f(s,0,e.localStartVal-l,e.localDuration):e.printVal=f(s,e.localStartVal,l-e.localStartVal,e.localDuration):m(i)?e.printVal=e.localStartVal-(e.localStartVal-l)*(s/e.localDuration):e.printVal=e.localStartVal+(l-e.localStartVal)*(s/e.localDuration),m(i)?e.printVal=e.printVall?l:e.printVal,e.displayValue=p(e.printVal),s1?f+y[1]:"",_=/(\d+)(\d{3})/;if(l&&!A(l))for(;_.test(b);)b=b.replace(_,"$1"+l+"$2");return C+b+D+s}return B(()=>{t.autoplay&&c(),u("mounted")}),()=>a(h,null,[a("span",{style:{color:t.color,fontSize:t.fontSize}},[e.displayValue])])}});const L={delay:n.number.def(1),blur:n.number.def(2),i:{type:Number,required:!1,default:0,validator(t){return t<10&&t>=0&&Number.isInteger(t)}}},P=S({name:"ReboundCountTo",props:L,setup(t){const u=x(),e=x(null);return k(()=>{const i=navigator.userAgent.toLowerCase(),c=p=>p.test(i);c(/safari/g)&&!c(/chrome/g)&&(e.value=setTimeout(()=>{u.value.setAttribute("style",` +import{p as n}from"./propTypes-03d1d3a5.js";import{d as S,ai as N,D as w,E as z,aD as A,k as B,h as a,F as h,u as m,r as x,ao as k,l as q,f as r,U as v,a as R,c as E,w as T,o as F,e as g,i as $,q as M}from"./index-42b0cfe4.js";const U={startVal:n.number.def(0),endVal:n.number.def(2020),duration:n.number.def(1300),autoplay:n.bool.def(!0),decimals:{type:Number,required:!1,default:0,validator(t){return t>=0}},color:n.string.def(),fontSize:n.string.def(),decimal:n.string.def("."),separator:n.string.def(","),prefix:n.string.def(""),suffix:n.string.def(""),useEasing:n.bool.def(!0),easingFn:{type:Function,default(t,u,e,i){return e*(-Math.pow(2,-10*t/i)+1)*1024/1023+u}}},G=S({name:"ReNormalCountTo",props:U,emits:["mounted","callback"],setup(t,{emit:u}){const e=N({localStartVal:t.startVal,displayValue:p(t.startVal),printVal:null,paused:!1,localDuration:t.duration,startTime:null,timestamp:null,remaining:null,rAF:null,color:null,fontSize:"16px"}),i=w(()=>t.startVal>t.endVal);z([()=>t.startVal,()=>t.endVal],()=>{t.autoplay&&c()});function c(){const{startVal:o,duration:V,color:f,fontSize:l}=t;e.localStartVal=o,e.startTime=null,e.localDuration=V,e.paused=!1,e.color=f,e.fontSize=l,e.rAF=requestAnimationFrame(d)}function d(o){const{useEasing:V,easingFn:f,endVal:l}=t;e.startTime||(e.startTime=o),e.timestamp=o;const s=o-e.startTime;e.remaining=e.localDuration-s,V?m(i)?e.printVal=e.localStartVal-f(s,0,e.localStartVal-l,e.localDuration):e.printVal=f(s,e.localStartVal,l-e.localStartVal,e.localDuration):m(i)?e.printVal=e.localStartVal-(e.localStartVal-l)*(s/e.localDuration):e.printVal=e.localStartVal+(l-e.localStartVal)*(s/e.localDuration),m(i)?e.printVal=e.printVall?l:e.printVal,e.displayValue=p(e.printVal),s1?f+y[1]:"",_=/(\d+)(\d{3})/;if(l&&!A(l))for(;_.test(b);)b=b.replace(_,"$1"+l+"$2");return C+b+D+s}return B(()=>{t.autoplay&&c(),u("mounted")}),()=>a(h,null,[a("span",{style:{color:t.color,fontSize:t.fontSize}},[e.displayValue])])}});const L={delay:n.number.def(1),blur:n.number.def(2),i:{type:Number,required:!1,default:0,validator(t){return t<10&&t>=0&&Number.isInteger(t)}}},P=S({name:"ReboundCountTo",props:L,setup(t){const u=x(),e=x(null);return k(()=>{const i=navigator.userAgent.toLowerCase(),c=p=>p.test(i);c(/safari/g)&&!c(/chrome/g)&&(e.value=setTimeout(()=>{u.value.setAttribute("style",` animation: none; transform: translateY(calc(var(--i) * -9.09%)) `)},t.delay*1e3))}),q(()=>{clearTimeout(m(e))}),()=>a(h,null,[a("div",{class:"scroll-num",style:{"--i":t.i,"--delay":t.delay}},[a("ul",{ref:"ulRef",style:{fontSize:"32px"}},[a("li",null,[r("0")]),a("li",null,[r("1")]),a("li",null,[r("2")]),a("li",null,[r("3")]),a("li",null,[r("4")]),a("li",null,[r("5")]),a("li",null,[r("6")]),a("li",null,[r("7")]),a("li",null,[r("8")]),a("li",null,[r("9")]),a("li",null,[r("0")])]),a("svg",{width:"0",height:"0"},[a("filter",{id:"blur"},[a("feGaussianBlur",{in:"SourceGraphic",stdDeviation:`0 ${t.blur}`},null)])])])])}}),I=v(G),Y=v(P),j=g("div",{class:"card-header"},[g("span",{class:"font-medium"},"数字动画组件")],-1),H={class:"flex items-center"},J={class:"flex ml-8"},Q=S({name:"CountTo",__name:"index",setup(t){return(u,e)=>{const i=R("el-card");return F(),E(i,{shadow:"never"},{header:T(()=>[j]),default:T(()=>[g("div",H,[a(m(I),{prefix:"$",duration:1e3,color:"#409EFF",fontSize:"2em",startVal:1,endVal:1e3}),g("ul",J,[(F(),$(h,null,M([1,6,6,6],(c,d)=>a(m(Y),{key:d,i:c,blur:d,delay:d+1},null,8,["i","blur","delay"])),64))])])]),_:1})}}});export{Q as default}; diff --git a/dist/static/js/index-06a908ca.js b/dist/static/js/index-3cc9d30a.js similarity index 99% rename from dist/static/js/index-06a908ca.js rename to dist/static/js/index-3cc9d30a.js index 863d3454b..abdb9f69b 100644 --- a/dist/static/js/index-06a908ca.js +++ b/dist/static/js/index-3cc9d30a.js @@ -1,4 +1,4 @@ -import{r as ot,k as Or,ac as Dr,as as Ut,at as ki,E as $i,aa as gn,au as mn,av as Hi,O as wn,o as q,i as Q,e as X,aw as yn,d as li,D as $e,ax as bn,u as Ue,ay as xn,h as Y,g as K,Q as Cn,az as On,ar as Dn,aA as En,aB as Tn,b as j,z as Mn,U as An,a as He,c as zi,w as fe,f as ii,j as Vi,t as ze,aC as _n}from"./index-ceadd577.js";const Sn="/vue-pure-admin/static/png/avatar-f405a975.png";/*! +import{r as ot,k as Or,ac as Dr,as as Ut,at as ki,E as $i,aa as gn,au as mn,av as Hi,O as wn,o as q,i as Q,e as X,aw as yn,d as li,D as $e,ax as bn,u as Ue,ay as xn,h as Y,g as K,Q as Cn,az as On,ar as Dn,aA as En,aB as Tn,b as j,z as Mn,U as An,a as He,c as zi,w as fe,f as ii,j as Vi,t as ze,aC as _n}from"./index-42b0cfe4.js";const Sn="/vue-pure-admin/static/png/avatar-f405a975.png";/*! * Cropper.js v1.5.13 * https://fengyuanchen.github.io/cropperjs * diff --git a/dist/static/js/index-4c91919c.js b/dist/static/js/index-41fb1d6a.js similarity index 99% rename from dist/static/js/index-4c91919c.js rename to dist/static/js/index-41fb1d6a.js index d6ff58b26..e72914a89 100644 --- a/dist/static/js/index-4c91919c.js +++ b/dist/static/js/index-41fb1d6a.js @@ -1,4 +1,4 @@ -import{d as ne,a as kt,c as re,w as pt,o as ie,h as oe,f as ae,e as Ct}from"./index-ceadd577.js";/*! +import{d as ne,a as kt,c as re,w as pt,o as ie,h as oe,f as ae,e as Ct}from"./index-42b0cfe4.js";/*! * Intro.js v7.0.1 * https://introjs.com * diff --git a/dist/static/js/index-ceadd577.js b/dist/static/js/index-42b0cfe4.js similarity index 98% rename from dist/static/js/index-ceadd577.js rename to dist/static/js/index-42b0cfe4.js index 9c427edf7..7bff51bb2 100644 --- a/dist/static/js/index-ceadd577.js +++ b/dist/static/js/index-42b0cfe4.js @@ -155,7 +155,7 @@ var Fi=Object.defineProperty;var zi=(oe,ie,le)=>ie in oe?Fi(oe,ie,{enumerable:!0 background-color: #303133; z-index: 99999;color: #fff; box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 8px; - `;xn.style.cssText=In,xn.innerHTML=On==null?void 0:On.value,Pn.onmousemove=Fn=>{let Vn=Fn.pageX-10,Dn=Fn.pageY+15;xn.style.top=Dn+"px",xn.style.left=Vn+"px"}};pe==null||pe.on("mouseover",On=>{(wn==="x"&&On.componentType=="xAxis"||wn==="y"&&On.componentType=="yAxis"||wn.toString()==="true"&&On.componentType.includes("Axis"))&&An(On)}),pe==null||pe.on("mouseout",()=>{Pn.onmousemove=null,xn.style.cssText="display:none"})}(0,a$1.watch)(()=>le.value,wn=>{pe&&(pe.dispose(),Ie(wn),Ve(he.value,..._e.value))});function $n(){var wn;!pe||D$1(((wn=he.value)==null?void 0:wn.delay)??300).then(()=>{Ue()})}return(0,a$1.onMounted)(()=>{(0,a$1.nextTick)(()=>{window.addEventListener("resize",$n)})}),L$1(()=>{var wn;window.removeEventListener("resize",$n),pe&&(pe.dispose(),pe=null,(wn=document.querySelector(`#${ue}`))==null||wn.remove())}),{echarts:de,clear:Fe,resize:Ue,getDom:_n,getWidth:Lt,getOption:bn,getHeight:hn,addTooltip:En,getDataURL:Sn,setOptions:Ve,appendData:At,getInstance:vn,showLoading:qe,hideLoading:Et,getConnectedDataURL:Cn}},ae=Symbol("watermark-dom"),po=(oe=(0,a$1.ref)(document.body))=>{let ie=ae.toString(),le=(0,a$1.shallowRef)(),ue=()=>{let Fe=(0,a$1.unref)(le);le.value=void 0;let Ue=(0,a$1.unref)(oe);!Ue||Fe&&Ue.removeChild(Fe)};function de(Fe,Ue){let qe=document.createElement("canvas"),Et=(Ue==null?void 0:Ue.width)??250,At=(Ue==null?void 0:Ue.height)??100;Object.assign(qe,{width:Et,height:At});let Lt=qe.getContext("2d");if(Lt){if(Lt.rotate(((Ue==null?void 0:Ue.rotate)??-10*Math.PI)/120),Lt.font=(Ue==null?void 0:Ue.font)??"15px Reggae One",(Ue==null?void 0:Ue.gradient)&&$(Ue==null?void 0:Ue.gradient)){let hn=Lt.createLinearGradient(0,0,Et,0);Ue==null||Ue.gradient.forEach(vn=>{hn.addColorStop(vn.value,vn.color)}),Lt.fillStyle=hn}else Lt.fillStyle=(Ue==null?void 0:Ue.fillStyle)??"rgba(0, 0, 0, 0.15)";if(Lt.textAlign="left",Lt.textBaseline="middle",Ue!=null&&Ue.globalAlpha&&(Lt.globalAlpha=Ue.globalAlpha),Ue==null?void 0:Ue.shadowConfig){let{shadowConfig:hn}=Ue;Lt.shadowBlur=hn[0],Lt.shadowColor=(hn==null?void 0:hn[1])??"#000000",Lt.shadowOffsetX=(hn==null?void 0:hn[2])??0,Lt.shadowOffsetY=(hn==null?void 0:hn[3])??0}Lt.fillText(Fe,Et/((Ue==null?void 0:Ue.fillTextWidth)??20),At/((Ue==null?void 0:Ue.fillTextHeight)??2))}return qe.toDataURL("image/png")}function pe(Fe={}){let Ue=(0,a$1.unref)(le);!Ue||(R(Fe.width)&&(Ue.style.width=`${Fe.width}px`),R(Fe.height)&&(Ue.style.height=`${Fe.height}px`),R(Fe.str)&&(Ue.style.background=`url(${de(Fe.str,Fe.attr)}) left top repeat`))}let he=vt(()=>{let Fe=(0,a$1.unref)(oe);if(!Fe)return;let{clientHeight:Ue,clientWidth:qe}=Fe;pe({height:Ue,width:qe})}),_e=(Fe,Ue)=>{var hn;if((0,a$1.unref)(le))return pe({str:Fe,attr:Ue}),ie;let qe=document.createElement("div");le.value=qe,qe.id=ie,qe.style.pointerEvents="none",qe.style.top="0px",qe.style.left="0px",qe.style.position="absolute",qe.style.zIndex=(Ue==null?void 0:Ue.zIndex)??"100000";let Et=(0,a$1.unref)(oe);if(!Et)return ie;let{clientHeight:At,clientWidth:Lt}=Et;return pe({str:Fe,width:Lt,height:At,attr:Ue}),(hn=Et==null?void 0:Et.style)!=null&&hn.position||(Et.style.position="relative"),Et.appendChild(qe),ie};function $e(Fe,{str:Ue,attr:qe}){Fe[0].removedNodes[0]&&Fe[0].removedNodes[0].id===ie&&(le.value=void 0,_e(Ue,qe))}function Ie(Fe,Ue){let qe={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(Et=>$e(Et,{str:Fe,attr:Ue})).observe((0,a$1.unref)(oe),qe)}function Ve(Fe,Ue){_e(Fe,Ue),window.addEventListener("resize",he),Ue!=null&&Ue.forever&&Ie(Fe,Ue),(0,a$1.getCurrentInstance)()&&ue&&ue()}return L$1(()=>{window.removeEventListener("resize",he)}),{clear:ue,setWatermark:Ve}};const data$1={width:24,height:24,body:''},data={width:24,height:24,body:''},_hoisted_1$1={key:0,class:"flex items-center justify-between"},_hoisted_2$1=["id"],_hoisted_3$1={key:1},_sfc_main$1=defineComponent({__name:"index",setup(oe){const ie=ref(!1),le=computed(()=>he=>{var _e;return((_e=he==null?void 0:he.footerButtons)==null?void 0:_e.length)>0?he.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:$e,index:Ie}})=>{const Ve=()=>closeDialog($e,Ie,{command:"cancel"});$e!=null&&$e.beforeCancel&&q$1($e==null?void 0:$e.beforeCancel)?$e.beforeCancel(Ve,{options:$e,index:Ie}):Ve()}},{label:"确定",type:"primary",text:!0,bg:!0,btnClick:({dialog:{options:$e,index:Ie}})=>{const Ve=()=>closeDialog($e,Ie,{command:"sure"});$e!=null&&$e.beforeSure&&q$1($e==null?void 0:$e.beforeSure)?$e.beforeSure(Ve,{options:$e,index:Ie}):Ve()}}]}),ue=computed(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function de(he,_e,$e){if(ie.value=(_e==null?void 0:_e.fullscreen)??!1,_e!=null&&_e[he]&&q$1(_e==null?void 0:_e[he]))return _e==null?void 0:_e[he]({options:_e,index:$e})}function pe(he,_e,$e={command:"close"}){closeDialog(he,_e,$e),de("close",he,_e)}return(he,_e)=>{const $e=resolveComponent("IconifyIconOffline"),Ie=resolveComponent("el-button"),Ve=resolveComponent("el-dialog");return openBlock(!0),createElementBlock(Fragment,null,renderList(unref(dialogStore),(Fe,Ue)=>(openBlock(),createBlock(Ve,mergeProps({class:"pure-dialog",key:Ue},Fe,{modelValue:Fe.visible,"onUpdate:modelValue":qe=>Fe.visible=qe,fullscreen:ie.value?!0:!!(Fe!=null&&Fe.fullscreen),onClose:qe=>pe(Fe,Ue),onOpened:qe=>de("open",Fe,Ue),onOpenAutoFocus:qe=>de("openAutoFocus",Fe,Ue),onCloseAutoFocus:qe=>de("closeAutoFocus",Fe,Ue)}),createSlots({default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.contentRenderer({options:Fe,index:Ue})),mergeProps(Fe==null?void 0:Fe.props,{onClose:qe=>pe(Fe,Ue,qe)}),null,16,["onClose"]))]),_:2},[Fe!=null&&Fe.fullscreenIcon||Fe!=null&&Fe.headerRenderer?{name:"header",fn:withCtx(({close:qe,titleId:Et,titleClass:At})=>[Fe!=null&&Fe.fullscreenIcon?(openBlock(),createElementBlock("div",_hoisted_1$1,[createBaseVNode("span",{id:Et,class:normalizeClass(At)},toDisplayString$1(Fe==null?void 0:Fe.title),11,_hoisted_2$1),Fe!=null&&Fe.fullscreen?createCommentVNode("",!0):(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(ue.value),onClick:_e[0]||(_e[0]=Lt=>ie.value=!ie.value)},[createVNode($e,{class:"pure-dialog-svg",icon:Fe!=null&&Fe.fullscreen||ie.value?unref(data):unref(data$1)},null,8,["icon"])],2))])):(openBlock(),createBlock(resolveDynamicComponent(Fe==null?void 0:Fe.headerRenderer({close:qe,titleId:Et,titleClass:At})),{key:1}))]),key:"0"}:void 0,Fe!=null&&Fe.hideFooter?void 0:{name:"footer",fn:withCtx(()=>[Fe!=null&&Fe.footerRenderer?(openBlock(),createBlock(resolveDynamicComponent(Fe==null?void 0:Fe.footerRenderer({options:Fe,index:Ue})),{key:0})):(openBlock(),createElementBlock("span",_hoisted_3$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.value(Fe),(qe,Et)=>(openBlock(),createBlock(Ie,mergeProps({key:Et},qe,{onClick:At=>qe.btnClick({dialog:{options:Fe,index:Ue},button:{btn:qe,index:Et}})}),{default:withCtx(()=>[createTextVNode(toDisplayString$1(qe==null?void 0:qe.label),1)]),_:2},1040,["onClick"]))),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClose","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function tryOnScopeDispose(oe){return getCurrentScope()?(onScopeDispose(oe),!0):!1}function toValue(oe){return typeof oe=="function"?oe():unref(oe)}const isClient=typeof window<"u",isDef=oe=>typeof oe<"u",notNullish=oe=>oe!=null,toString$1=Object.prototype.toString,isObject$7=oe=>toString$1.call(oe)==="[object Object]",noop$4=()=>{},isIOS=getIsIOS();function getIsIOS(){var oe;return isClient&&((oe=window==null?void 0:window.navigator)==null?void 0:oe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function createFilterWrapper(oe,ie){function le(...ue){return new Promise((de,pe)=>{Promise.resolve(oe(()=>ie.apply(this,ue),{fn:ie,thisArg:this,args:ue})).then(de).catch(pe)})}return le}function debounceFilter(oe,ie={}){let le,ue,de=noop$4;const pe=_e=>{clearTimeout(_e),de(),de=noop$4};return _e=>{const $e=toValue(oe),Ie=toValue(ie.maxWait);return le&&pe(le),$e<=0||Ie!==void 0&&Ie<=0?(ue&&(pe(ue),ue=null),Promise.resolve(_e())):new Promise((Ve,Fe)=>{de=ie.rejectOnCancel?Fe:Ve,Ie&&!ue&&(ue=setTimeout(()=>{le&&pe(le),ue=null,Ve(_e())},Ie)),le=setTimeout(()=>{ue&&pe(ue),ue=null,Ve(_e())},$e)})}}function toRef(...oe){if(oe.length!==1)return toRef$1(...oe);const ie=oe[0];return typeof ie=="function"?readonly(customRef(()=>({get:ie,set:noop$4}))):ref(ie)}function useDebounceFn(oe,ie=200,le={}){return createFilterWrapper(debounceFilter(ie,le),oe)}function tryOnMounted(oe,ie=!0){getCurrentInstance()?onMounted(oe):ie?oe():nextTick(oe)}function tryOnUnmounted(oe){getCurrentInstance()&&onUnmounted(oe)}function useIntervalFn(oe,ie=1e3,le={}){const{immediate:ue=!0,immediateCallback:de=!1}=le;let pe=null;const he=ref(!1);function _e(){pe&&(clearInterval(pe),pe=null)}function $e(){he.value=!1,_e()}function Ie(){const Ve=toValue(ie);Ve<=0||(he.value=!0,de&&oe(),_e(),pe=setInterval(oe,Ve))}if(ue&&isClient&&Ie(),isRef(ie)||typeof ie=="function"){const Ve=watch(ie,()=>{he.value&&isClient&&Ie()});tryOnScopeDispose(Ve)}return tryOnScopeDispose($e),{isActive:he,pause:$e,resume:Ie}}function useTimeoutFn(oe,ie,le={}){const{immediate:ue=!0}=le,de=ref(!1);let pe=null;function he(){pe&&(clearTimeout(pe),pe=null)}function _e(){de.value=!1,he()}function $e(...Ie){he(),de.value=!0,pe=setTimeout(()=>{de.value=!1,pe=null,oe(...Ie)},toValue(ie))}return ue&&(de.value=!0,isClient&&$e()),tryOnScopeDispose(_e),{isPending:readonly(de),start:$e,stop:_e}}function unrefElement(oe){var ie;const le=toValue(oe);return(ie=le==null?void 0:le.$el)!=null?ie:le}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...oe){let ie,le,ue,de;if(typeof oe[0]=="string"||Array.isArray(oe[0])?([le,ue,de]=oe,ie=defaultWindow):[ie,le,ue,de]=oe,!ie)return noop$4;Array.isArray(le)||(le=[le]),Array.isArray(ue)||(ue=[ue]);const pe=[],he=()=>{pe.forEach(Ve=>Ve()),pe.length=0},_e=(Ve,Fe,Ue,qe)=>(Ve.addEventListener(Fe,Ue,qe),()=>Ve.removeEventListener(Fe,Ue,qe)),$e=watch(()=>[unrefElement(ie),toValue(de)],([Ve,Fe])=>{he(),Ve&&pe.push(...le.flatMap(Ue=>ue.map(qe=>_e(Ve,Ue,qe,Fe))))},{immediate:!0,flush:"post"}),Ie=()=>{$e(),he()};return tryOnScopeDispose(Ie),Ie}let _iOSWorkaround=!1;function onClickOutside(oe,ie,le={}){const{window:ue=defaultWindow,ignore:de=[],capture:pe=!0,detectIframe:he=!1}=le;if(!ue)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(ue.document.body.children).forEach(Ue=>Ue.addEventListener("click",noop$4)));let _e=!0;const $e=Ue=>de.some(qe=>{if(typeof qe=="string")return Array.from(ue.document.querySelectorAll(qe)).some(Et=>Et===Ue.target||Ue.composedPath().includes(Et));{const Et=unrefElement(qe);return Et&&(Ue.target===Et||Ue.composedPath().includes(Et))}}),Ve=[useEventListener(ue,"click",Ue=>{const qe=unrefElement(oe);if(!(!qe||qe===Ue.target||Ue.composedPath().includes(qe))){if(Ue.detail===0&&(_e=!$e(Ue)),!_e){_e=!0;return}ie(Ue)}},{passive:!0,capture:pe}),useEventListener(ue,"pointerdown",Ue=>{const qe=unrefElement(oe);qe&&(_e=!Ue.composedPath().includes(qe)&&!$e(Ue))},{passive:!0}),he&&useEventListener(ue,"blur",Ue=>{setTimeout(()=>{var qe;const Et=unrefElement(oe);((qe=ue.document.activeElement)==null?void 0:qe.tagName)==="IFRAME"&&!(Et!=null&&Et.contains(ue.document.activeElement))&&ie(Ue)},0)})].filter(Boolean);return()=>Ve.forEach(Ue=>Ue())}function createKeyPredicate(oe){return typeof oe=="function"?oe:typeof oe=="string"?ie=>ie.key===oe:Array.isArray(oe)?ie=>oe.includes(ie.key):()=>!0}function onKeyStroke(...oe){let ie,le,ue={};oe.length===3?(ie=oe[0],le=oe[1],ue=oe[2]):oe.length===2?typeof oe[1]=="object"?(ie=!0,le=oe[0],ue=oe[1]):(ie=oe[0],le=oe[1]):(ie=!0,le=oe[0]);const{target:de=defaultWindow,eventName:pe="keydown",passive:he=!1,dedupe:_e=!1}=ue,$e=createKeyPredicate(ie);return useEventListener(de,pe,Ve=>{Ve.repeat&&toValue(_e)||$e(Ve)&&le(Ve)},he)}function templateRef(oe,ie=null){const le=getCurrentInstance();let ue=()=>{};const de=customRef((pe,he)=>(ue=he,{get(){var _e,$e;return pe(),($e=(_e=le==null?void 0:le.proxy)==null?void 0:_e.$refs[oe])!=null?$e:ie},set(){}}));return tryOnMounted(ue),onUpdated(ue),de}function useMounted(){const oe=ref(!1);return getCurrentInstance()&&onMounted(()=>{oe.value=!0}),oe}function useSupported(oe){const ie=useMounted();return computed(()=>(ie.value,!!oe()))}function useMediaQuery(oe,ie={}){const{window:le=defaultWindow}=ie,ue=useSupported(()=>le&&"matchMedia"in le&&typeof le.matchMedia=="function");let de;const pe=ref(!1),he=()=>{de&&("removeEventListener"in de?de.removeEventListener("change",_e):de.removeListener(_e))},_e=()=>{ue.value&&(he(),de=le.matchMedia(toRef(oe).value),pe.value=!!(de!=null&&de.matches),de&&("addEventListener"in de?de.addEventListener("change",_e):de.addListener(_e)))};return watchEffect(_e),tryOnScopeDispose(()=>he()),pe}function cloneFnJSON(oe){return JSON.parse(JSON.stringify(oe))}var __getOwnPropSymbols$h=Object.getOwnPropertySymbols,__hasOwnProp$h=Object.prototype.hasOwnProperty,__propIsEnum$h=Object.prototype.propertyIsEnumerable,__objRest$2=(oe,ie)=>{var le={};for(var ue in oe)__hasOwnProp$h.call(oe,ue)&&ie.indexOf(ue)<0&&(le[ue]=oe[ue]);if(oe!=null&&__getOwnPropSymbols$h)for(var ue of __getOwnPropSymbols$h(oe))ie.indexOf(ue)<0&&__propIsEnum$h.call(oe,ue)&&(le[ue]=oe[ue]);return le};function useResizeObserver(oe,ie,le={}){const ue=le,{window:de=defaultWindow}=ue,pe=__objRest$2(ue,["window"]);let he;const _e=useSupported(()=>de&&"ResizeObserver"in de),$e=()=>{he&&(he.disconnect(),he=void 0)},Ie=computed(()=>Array.isArray(oe)?oe.map(Ue=>unrefElement(Ue)):[unrefElement(oe)]),Ve=watch(Ie,Ue=>{if($e(),_e.value&&de){he=new ResizeObserver(ie);for(const qe of Ue)qe&&he.observe(qe,pe)}},{immediate:!0,flush:"post",deep:!0}),Fe=()=>{$e(),Ve()};return tryOnScopeDispose(Fe),{isSupported:_e,stop:Fe}}function useIntersectionObserver(oe,ie,le={}){const{root:ue,rootMargin:de="0px",threshold:pe=.1,window:he=defaultWindow,immediate:_e=!0}=le,$e=useSupported(()=>he&&"IntersectionObserver"in he),Ie=computed(()=>{const Et=toValue(oe);return(Array.isArray(Et)?Et:[Et]).map(unrefElement).filter(notNullish)});let Ve=noop$4;const Fe=ref(_e),Ue=$e.value?watch(()=>[Ie.value,unrefElement(ue),Fe.value],([Et,At])=>{if(Ve(),!Fe.value||!Et.length)return;const Lt=new IntersectionObserver(ie,{root:unrefElement(At),rootMargin:de,threshold:pe});Et.forEach(hn=>hn&&Lt.observe(hn)),Ve=()=>{Lt.disconnect(),Ve=noop$4}},{immediate:_e,flush:"post"}):noop$4,qe=()=>{Ve(),Ue(),Fe.value=!1};return tryOnScopeDispose(qe),{isSupported:$e,isActive:Fe,pause(){Ve(),Fe.value=!1},resume(){Fe.value=!0},stop:qe}}const eventHandlers=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function useFullscreen(oe,ie={}){const{document:le=defaultDocument,autoExit:ue=!1}=ie,de=computed(()=>{var hn;return(hn=unrefElement(oe))!=null?hn:le==null?void 0:le.querySelector("html")}),pe=ref(!1),he=computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(hn=>le&&hn in le||de.value&&hn in de.value)),_e=computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(hn=>le&&hn in le||de.value&&hn in de.value)),$e=computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(hn=>le&&hn in le||de.value&&hn in de.value)),Ie=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(hn=>le&&hn in le),Ve=useSupported(()=>de.value&&le&&he.value!==void 0&&_e.value!==void 0&&$e.value!==void 0),Fe=()=>Ie?(le==null?void 0:le[Ie])===de.value:!1,Ue=()=>{if($e.value){if(le&&le[$e.value]!=null)return le[$e.value];{const hn=de.value;if((hn==null?void 0:hn[$e.value])!=null)return!!hn[$e.value]}}return!1};async function qe(){if(Ve.value){if(_e.value)if((le==null?void 0:le[_e.value])!=null)await le[_e.value]();else{const hn=de.value;(hn==null?void 0:hn[_e.value])!=null&&await hn[_e.value]()}pe.value=!1}}async function Et(){if(!Ve.value)return;Ue()&&await qe();const hn=de.value;he.value&&(hn==null?void 0:hn[he.value])!=null&&(await hn[he.value](),pe.value=!0)}async function At(){await(pe.value?qe():Et())}const Lt=()=>{const hn=Ue();(!hn||hn&&Fe())&&(pe.value=hn)};return useEventListener(le,eventHandlers,Lt,!1),useEventListener(()=>unrefElement(de),eventHandlers,Lt,!1),ue&&tryOnScopeDispose(qe),{isSupported:Ve,isFullscreen:pe,enter:Et,exit:qe,toggle:At}}function useVModel(oe,ie,le,ue={}){var de,pe,he;const{clone:_e=!1,passive:$e=!1,eventName:Ie,deep:Ve=!1,defaultValue:Fe,shouldEmit:Ue}=ue,qe=getCurrentInstance(),Et=le||(qe==null?void 0:qe.emit)||((de=qe==null?void 0:qe.$emit)==null?void 0:de.bind(qe))||((he=(pe=qe==null?void 0:qe.proxy)==null?void 0:pe.$emit)==null?void 0:he.bind(qe==null?void 0:qe.proxy));let At=Ie;ie||(ie="modelValue"),At=At||`update:${ie.toString()}`;const Lt=_n=>_e?typeof _e=="function"?_e(_n):cloneFnJSON(_n):_n,hn=()=>isDef(oe[ie])?Lt(oe[ie]):Fe,vn=_n=>{Ue?Ue(_n)&&Et(At,_n):Et(At,_n)};if($e){const _n=hn(),bn=ref(_n);return watch(()=>oe[ie],Sn=>bn.value=Lt(Sn)),watch(bn,Sn=>{(Sn!==oe[ie]||Ve)&&vn(Sn)},{deep:Ve}),bn}else return computed({get(){return hn()},set(_n){vn(_n)}})}function useWindowSize(oe={}){const{window:ie=defaultWindow,initialWidth:le=1/0,initialHeight:ue=1/0,listenOrientation:de=!0,includeScrollbar:pe=!0}=oe,he=ref(le),_e=ref(ue),$e=()=>{ie&&(pe?(he.value=ie.innerWidth,_e.value=ie.innerHeight):(he.value=ie.document.documentElement.clientWidth,_e.value=ie.document.documentElement.clientHeight))};if($e(),tryOnMounted($e),useEventListener("resize",$e,{passive:!0}),de){const Ie=useMediaQuery("(orientation: portrait)");watch(Ie,()=>$e())}return{width:he,height:_e}}const dialogStore=ref([]),addDialog=oe=>{const ie=()=>dialogStore.value.push(Object.assign(oe,{visible:!0}));oe!=null&&oe.openDelay?useTimeoutFn(()=>{ie()},oe.openDelay):ie()},closeDialog=(oe,ie,le)=>{dialogStore.value.splice(ie,1),oe.closeCallBack&&oe.closeCallBack({options:oe,index:ie,args:le})},updateDialog=(oe,ie="title",le=0)=>{dialogStore.value[le][ie]=oe},closeAllDialog=()=>{dialogStore.value=[]},ReDialog=qn(_sfc_main$1);var zhCn={};(function(oe){Object.defineProperty(oe,"__esModule",{value:!0});var ie={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",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:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};oe.default=ie})(zhCn);const zhLocale=getDefaultExportFromCjs(zhCn),_sfc_main=defineComponent({name:"app",components:{[ElConfigProvider.name]:ElConfigProvider,ReDialog},computed:{currentLocale(){var oe;return((oe=this.$storage.locale)==null?void 0:oe.locale)==="zh"?zhLocale:enLocale}},beforeCreate(){const{version:oe,name:ie}={dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.6","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.7","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.4.0"},{VITE_PUBLIC_PATH:le,MODE:ue}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};ue==="production"&&checkVersion({pollingTime:3e5,localPackageVersion:oe,originVersionFileUrl:`${location.origin}${le}version.json`},{title:ie,description:"检测到新版本",buttonText:"立即更新"})}}),_export_sfc=(oe,ie)=>{const le=oe.__vccOpts||oe;for(const[ue,de]of ie)le[ue]=de;return le};function _sfc_render(oe,ie,le,ue,de,pe){const he=resolveComponent("router-view"),_e=resolveComponent("ReDialog"),$e=resolveComponent("el-config-provider");return openBlock(),createBlock($e,{locale:oe.currentLocale},{default:withCtx(()=>[createVNode(he),createVNode(_e)]),_:1},8,["locale"])}const App=_export_sfc(_sfc_main,[["render",_sfc_render]]),scriptRel="modulepreload",assetsURL=function(oe){return"/vue-pure-admin/"+oe},seen={},__vitePreload=function(ie,le,ue){if(!le||le.length===0)return ie();const de=document.getElementsByTagName("link");return Promise.all(le.map(pe=>{if(pe=assetsURL(pe),pe in seen)return;seen[pe]=!0;const he=pe.endsWith(".css"),_e=he?'[rel="stylesheet"]':"";if(!!ue)for(let Ve=de.length-1;Ve>=0;Ve--){const Fe=de[Ve];if(Fe.href===pe&&(!he||Fe.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${pe}"]${_e}`))return;const Ie=document.createElement("link");if(Ie.rel=he?"stylesheet":scriptRel,he||(Ie.as="script",Ie.crossOrigin=""),Ie.href=pe,document.head.appendChild(Ie),he)return new Promise((Ve,Fe)=>{Ie.addEventListener("load",Ve),Ie.addEventListener("error",()=>Fe(new Error(`Unable to preload CSS for ${pe}`)))})})).then(()=>ie())},resource$1={buttons:{hsLoginOut:oe=>{const{normalize:ie}=oe;return ie(["LoginOut"])},hsfullscreen:oe=>{const{normalize:ie}=oe;return ie(["FullScreen"])},hsexitfullscreen:oe=>{const{normalize:ie}=oe;return ie(["ExitFullscreen"])},hsrefreshRoute:oe=>{const{normalize:ie}=oe;return ie(["RefreshRoute"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["Login"])},hsadd:oe=>{const{normalize:ie}=oe;return ie(["Add"])},hsmark:oe=>{const{normalize:ie}=oe;return ie(["Mark/Cancel"])},hssave:oe=>{const{normalize:ie}=oe;return ie(["Save"])},hssearch:oe=>{const{normalize:ie}=oe;return ie(["Search"])},hsexpendAll:oe=>{const{normalize:ie}=oe;return ie(["Expand All"])},hscollapseAll:oe=>{const{normalize:ie}=oe;return ie(["Collapse All"])},hssystemSet:oe=>{const{normalize:ie}=oe;return ie(["Open ProjectConfig"])},hsdelete:oe=>{const{normalize:ie}=oe;return ie(["Delete"])},hsreload:oe=>{const{normalize:ie}=oe;return ie(["Reload"])},hscloseCurrentTab:oe=>{const{normalize:ie}=oe;return ie(["Close CurrentTab"])},hscloseLeftTabs:oe=>{const{normalize:ie}=oe;return ie(["Close LeftTabs"])},hscloseRightTabs:oe=>{const{normalize:ie}=oe;return ie(["Close RightTabs"])},hscloseOtherTabs:oe=>{const{normalize:ie}=oe;return ie(["Close OtherTabs"])},hscloseAllTabs:oe=>{const{normalize:ie}=oe;return ie(["Close AllTabs"])},hswholeFullScreen:oe=>{const{normalize:ie}=oe;return ie(["FullScreen"])},hswholeExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["ExitFull"])},hscontentFullScreen:oe=>{const{normalize:ie}=oe;return ie(["Content FullScreen"])},hscontentExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["Content ExitFullScreen"])}},menus:{hshome:oe=>{const{normalize:ie}=oe;return ie(["Home"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["Login"])},hsempty:oe=>{const{normalize:ie}=oe;return ie(["Empty Page"])},hssysManagement:oe=>{const{normalize:ie}=oe;return ie(["System Manage"])},hsUser:oe=>{const{normalize:ie}=oe;return ie(["User Manage"])},hsRole:oe=>{const{normalize:ie}=oe;return ie(["Role Manage"])},hsDept:oe=>{const{normalize:ie}=oe;return ie(["Dept Manage"])},hseditor:oe=>{const{normalize:ie}=oe;return ie(["Editor"])},hsabnormal:oe=>{const{normalize:ie}=oe;return ie(["Abnormal Page"])},hsfourZeroFour:oe=>{const{normalize:ie}=oe;return ie(["404"])},hsfourZeroOne:oe=>{const{normalize:ie}=oe;return ie(["403"])},hsFive:oe=>{const{normalize:ie}=oe;return ie(["500"])},hscomponents:oe=>{const{normalize:ie}=oe;return ie(["Components"])},hsdialog:oe=>{const{normalize:ie}=oe;return ie(["Dialog Components"])},hsmessage:oe=>{const{normalize:ie}=oe;return ie(["Message Tips Components"])},hsvideo:oe=>{const{normalize:ie}=oe;return ie(["Video Components"])},hssegmented:oe=>{const{normalize:ie}=oe;return ie(["Segmented Components"])},hswaterfall:oe=>{const{normalize:ie}=oe;return ie(["Waterfall Components"])},hsmap:oe=>{const{normalize:ie}=oe;return ie(["Map Components"])},hsdraggable:oe=>{const{normalize:ie}=oe;return ie(["Draggable Components"])},hssplitPane:oe=>{const{normalize:ie}=oe;return ie(["Split Pane"])},hsbutton:oe=>{const{normalize:ie}=oe;return ie(["Button Components"])},hscropping:oe=>{const{normalize:ie}=oe;return ie(["Picture Cropping"])},hscountTo:oe=>{const{normalize:ie}=oe;return ie(["Digital Animation"])},hsselector:oe=>{const{normalize:ie}=oe;return ie(["Selector Components"])},hsflowChart:oe=>{const{normalize:ie}=oe;return ie(["Flow Chart"])},hsseamless:oe=>{const{normalize:ie}=oe;return ie(["Seamless Scroll"])},hscontextmenu:oe=>{const{normalize:ie}=oe;return ie(["Context Menu"])},hstypeit:oe=>{const{normalize:ie}=oe;return ie(["Typeit Components"])},hsjsoneditor:oe=>{const{normalize:ie}=oe;return ie(["JSON Editor"])},hsmenus:oe=>{const{normalize:ie}=oe;return ie(["MultiLevel Menu"])},hsmenu1:oe=>{const{normalize:ie}=oe;return ie(["Menu1"])},"hsmenu1-1":oe=>{const{normalize:ie}=oe;return ie(["Menu1-1"])},"hsmenu1-2":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2"])},"hsmenu1-2-1":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2-1"])},"hsmenu1-2-2":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2-2"])},"hsmenu1-3":oe=>{const{normalize:ie}=oe;return ie(["Menu1-3"])},hsmenu2:oe=>{const{normalize:ie}=oe;return ie(["Menu2"])},permission:oe=>{const{normalize:ie}=oe;return ie(["Permission Manage"])},permissionPage:oe=>{const{normalize:ie}=oe;return ie(["Page Permission"])},permissionButton:oe=>{const{normalize:ie}=oe;return ie(["Button Permission"])},hstabs:oe=>{const{normalize:ie}=oe;return ie(["Tabs Operate"])},hsguide:oe=>{const{normalize:ie}=oe;return ie(["Guide"])},hsAble:oe=>{const{normalize:ie}=oe;return ie(["Able"])},hsMenuTree:oe=>{const{normalize:ie}=oe;return ie(["Menu Tree"])},hsOptimize:oe=>{const{normalize:ie}=oe;return ie(["Debounce、Throttle、Copy、Longpress Directives"])},hsWatermark:oe=>{const{normalize:ie}=oe;return ie(["Water Mark"])},hsPrint:oe=>{const{normalize:ie}=oe;return ie(["Print"])},hsDownload:oe=>{const{normalize:ie}=oe;return ie(["Download"])},hsExternalPage:oe=>{const{normalize:ie}=oe;return ie(["External Page"])},hsPureDocument:oe=>{const{normalize:ie}=oe;return ie(["Pure Doc(Embedded)"])},externalLink:oe=>{const{normalize:ie}=oe;return ie(["Pure Doc(External)"])},hsEpDocument:oe=>{const{normalize:ie}=oe;return ie(["Element Plus Doc(Embedded)"])},hsVueDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue3 Doc(Embedded)"])},hsViteDocument:oe=>{const{normalize:ie}=oe;return ie(["Vite Doc(Embedded)"])},hsPiniaDocument:oe=>{const{normalize:ie}=oe;return ie(["Pinia Doc(Embedded)"])},hsRouterDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue Router Doc(Embedded)"])},hsTailwindcssDocument:oe=>{const{normalize:ie}=oe;return ie(["Tailwindcss Doc(Embedded)"])},hsAbout:oe=>{const{normalize:ie}=oe;return ie(["About"])},hsResult:oe=>{const{normalize:ie}=oe;return ie(["Result Page"])},hsSuccess:oe=>{const{normalize:ie}=oe;return ie(["Success Page"])},hsFail:oe=>{const{normalize:ie}=oe;return ie(["Fail Page"])},hsIconSelect:oe=>{const{normalize:ie}=oe;return ie(["Icon Select"])},hsTimeline:oe=>{const{normalize:ie}=oe;return ie(["Time Line"])},hsLineTree:oe=>{const{normalize:ie}=oe;return ie(["LineTree"])},hsList:oe=>{const{normalize:ie}=oe;return ie(["List Page"])},hsListCard:oe=>{const{normalize:ie}=oe;return ie(["Card List Page"])},hsDebounce:oe=>{const{normalize:ie}=oe;return ie(["Debounce & Throttle"])},hsFormDesign:oe=>{const{normalize:ie}=oe;return ie(["Form Design"])},hsBarcode:oe=>{const{normalize:ie}=oe;return ie(["Barcode"])},hsQrcode:oe=>{const{normalize:ie}=oe;return ie(["Qrcode"])},hsCascader:oe=>{const{normalize:ie}=oe;return ie(["Area Cascader"])},hsSwiper:oe=>{const{normalize:ie}=oe;return ie(["Swiper Plugin"])},hsVirtualList:oe=>{const{normalize:ie}=oe;return ie(["Virtual List"])},hsPdf:oe=>{const{normalize:ie}=oe;return ie(["PDF Preview"])},hsExecl:oe=>{const{normalize:ie}=oe;return ie(["Export Excel"])},hsInfiniteScroll:oe=>{const{normalize:ie}=oe;return ie(["Table Infinite Scroll"])},hsSensitive:oe=>{const{normalize:ie}=oe;return ie(["Sensitive Filter"])},hsPinyin:oe=>{const{normalize:ie}=oe;return ie(["PinYin"])},hsdanmaku:oe=>{const{normalize:ie}=oe;return ie(["Danmaku Components"])},hsPureTableBase:oe=>{const{normalize:ie}=oe;return ie(["Base Usage"])},hsPureTableHigh:oe=>{const{normalize:ie}=oe;return ie(["High Usage"])},hsTree:oe=>{const{normalize:ie}=oe;return ie(["Big Data Tree"])},hsMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["Menu Overflow Show Tooltip Text"])},hsChildMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["Child Menu Overflow Show Tooltip Text"])}},status:{hsLoad:oe=>{const{normalize:ie}=oe;return ie(["Loading..."])}},login:{username:oe=>{const{normalize:ie}=oe;return ie(["Username"])},password:oe=>{const{normalize:ie}=oe;return ie(["Password"])},verifyCode:oe=>{const{normalize:ie}=oe;return ie(["VerifyCode"])},remember:oe=>{const{normalize:ie}=oe;return ie(["Remember Password"])},sure:oe=>{const{normalize:ie}=oe;return ie(["Sure Password"])},forget:oe=>{const{normalize:ie}=oe;return ie(["Forget Password?"])},login:oe=>{const{normalize:ie}=oe;return ie(["Login"])},thirdLogin:oe=>{const{normalize:ie}=oe;return ie(["Third Login"])},phoneLogin:oe=>{const{normalize:ie}=oe;return ie(["Phone Login"])},qRCodeLogin:oe=>{const{normalize:ie}=oe;return ie(["QRCode Login"])},register:oe=>{const{normalize:ie}=oe;return ie(["Register"])},weChatLogin:oe=>{const{normalize:ie}=oe;return ie(["WeChat Login"])},alipayLogin:oe=>{const{normalize:ie}=oe;return ie(["Alipay Login"])},qqLogin:oe=>{const{normalize:ie}=oe;return ie(["QQ Login"])},weiboLogin:oe=>{const{normalize:ie}=oe;return ie(["Weibo Login"])},phone:oe=>{const{normalize:ie}=oe;return ie(["Phone"])},smsVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["SMS VerifyCode"])},back:oe=>{const{normalize:ie}=oe;return ie(["Back"])},test:oe=>{const{normalize:ie}=oe;return ie(["Mock Test"])},tip:oe=>{const{normalize:ie}=oe;return ie(['After scanning the code, click "Confirm" to complete the login'])},definite:oe=>{const{normalize:ie}=oe;return ie(["Definite"])},loginSuccess:oe=>{const{normalize:ie}=oe;return ie(["Login Success"])},registerSuccess:oe=>{const{normalize:ie}=oe;return ie(["Regist Success"])},tickPrivacy:oe=>{const{normalize:ie}=oe;return ie(["Please tick Privacy Policy"])},readAccept:oe=>{const{normalize:ie}=oe;return ie(["I have read it carefully and accept"])},privacyPolicy:oe=>{const{normalize:ie}=oe;return ie(["Privacy Policy"])},getVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["Get VerifyCode"])},info:oe=>{const{normalize:ie}=oe;return ie(["Seconds"])},usernameReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter username"])},passwordReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter password"])},verifyCodeReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter verify code"])},verifyCodeCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter correct verify code"])},verifyCodeSixReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter a 6-digit verify code"])},phoneReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter the phone"])},phoneCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter the correct phone number format"])},passwordRuleReg:oe=>{const{normalize:ie}=oe;return ie(["The password format should be any combination of 8-18 digits"])},passwordSureReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter confirm password"])},passwordDifferentReg:oe=>{const{normalize:ie}=oe;return ie(["The two passwords do not match!"])},passwordUpdateReg:oe=>{const{normalize:ie}=oe;return ie(["Password has been updated"])}}},__vite_glob_0_0$2=Object.freeze(Object.defineProperty({__proto__:null,default:resource$1},Symbol.toStringTag,{value:"Module"})),resource={buttons:{hsLoginOut:oe=>{const{normalize:ie}=oe;return ie(["退出系统"])},hsfullscreen:oe=>{const{normalize:ie}=oe;return ie(["全屏"])},hsexitfullscreen:oe=>{const{normalize:ie}=oe;return ie(["退出全屏"])},hsrefreshRoute:oe=>{const{normalize:ie}=oe;return ie(["刷新路由"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["登录"])},hsadd:oe=>{const{normalize:ie}=oe;return ie(["新增"])},hsmark:oe=>{const{normalize:ie}=oe;return ie(["标记/取消"])},hssave:oe=>{const{normalize:ie}=oe;return ie(["保存"])},hssearch:oe=>{const{normalize:ie}=oe;return ie(["搜索"])},hsexpendAll:oe=>{const{normalize:ie}=oe;return ie(["全部展开"])},hscollapseAll:oe=>{const{normalize:ie}=oe;return ie(["全部折叠"])},hssystemSet:oe=>{const{normalize:ie}=oe;return ie(["打开项目配置"])},hsdelete:oe=>{const{normalize:ie}=oe;return ie(["删除"])},hsreload:oe=>{const{normalize:ie}=oe;return ie(["重新加载"])},hscloseCurrentTab:oe=>{const{normalize:ie}=oe;return ie(["关闭当前标签页"])},hscloseLeftTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭左侧标签页"])},hscloseRightTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭右侧标签页"])},hscloseOtherTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭其他标签页"])},hscloseAllTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭全部标签页"])},hswholeFullScreen:oe=>{const{normalize:ie}=oe;return ie(["全屏"])},hswholeExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["退出全屏"])},hscontentFullScreen:oe=>{const{normalize:ie}=oe;return ie(["内容区全屏"])},hscontentExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["内容区退出全屏"])}},menus:{hshome:oe=>{const{normalize:ie}=oe;return ie(["首页"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["登录"])},hsempty:oe=>{const{normalize:ie}=oe;return ie(["无Layout页"])},hssysManagement:oe=>{const{normalize:ie}=oe;return ie(["系统管理"])},hsUser:oe=>{const{normalize:ie}=oe;return ie(["用户管理"])},hsRole:oe=>{const{normalize:ie}=oe;return ie(["角色管理"])},hsDept:oe=>{const{normalize:ie}=oe;return ie(["部门管理"])},hseditor:oe=>{const{normalize:ie}=oe;return ie(["编辑器"])},hsabnormal:oe=>{const{normalize:ie}=oe;return ie(["异常页面"])},hsfourZeroFour:oe=>{const{normalize:ie}=oe;return ie(["404"])},hsfourZeroOne:oe=>{const{normalize:ie}=oe;return ie(["403"])},hsFive:oe=>{const{normalize:ie}=oe;return ie(["500"])},hscomponents:oe=>{const{normalize:ie}=oe;return ie(["组件"])},hsdialog:oe=>{const{normalize:ie}=oe;return ie(["函数式弹框组件"])},hsmessage:oe=>{const{normalize:ie}=oe;return ie(["消息提示组件"])},hsvideo:oe=>{const{normalize:ie}=oe;return ie(["视频组件"])},hssegmented:oe=>{const{normalize:ie}=oe;return ie(["分段控制器组件"])},hswaterfall:oe=>{const{normalize:ie}=oe;return ie(["瀑布流无限滚动组件"])},hsmap:oe=>{const{normalize:ie}=oe;return ie(["地图组件"])},hsdraggable:oe=>{const{normalize:ie}=oe;return ie(["拖拽组件"])},hssplitPane:oe=>{const{normalize:ie}=oe;return ie(["切割面板"])},hsbutton:oe=>{const{normalize:ie}=oe;return ie(["按钮组件"])},hscropping:oe=>{const{normalize:ie}=oe;return ie(["图片裁剪"])},hscountTo:oe=>{const{normalize:ie}=oe;return ie(["数字动画"])},hsselector:oe=>{const{normalize:ie}=oe;return ie(["选择器组件"])},hsflowChart:oe=>{const{normalize:ie}=oe;return ie(["流程图"])},hsseamless:oe=>{const{normalize:ie}=oe;return ie(["无缝滚动"])},hscontextmenu:oe=>{const{normalize:ie}=oe;return ie(["右键菜单"])},hstypeit:oe=>{const{normalize:ie}=oe;return ie(["打字机组件"])},hsjsoneditor:oe=>{const{normalize:ie}=oe;return ie(["JSON编辑器"])},hsmenus:oe=>{const{normalize:ie}=oe;return ie(["多级菜单"])},hsmenu1:oe=>{const{normalize:ie}=oe;return ie(["菜单1"])},"hsmenu1-1":oe=>{const{normalize:ie}=oe;return ie(["菜单1-1"])},"hsmenu1-2":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2"])},"hsmenu1-2-1":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2-1"])},"hsmenu1-2-2":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2-2"])},"hsmenu1-3":oe=>{const{normalize:ie}=oe;return ie(["菜单1-3"])},hsmenu2:oe=>{const{normalize:ie}=oe;return ie(["菜单2"])},permission:oe=>{const{normalize:ie}=oe;return ie(["权限管理"])},permissionPage:oe=>{const{normalize:ie}=oe;return ie(["页面权限"])},permissionButton:oe=>{const{normalize:ie}=oe;return ie(["按钮权限"])},hstabs:oe=>{const{normalize:ie}=oe;return ie(["标签页操作"])},hsguide:oe=>{const{normalize:ie}=oe;return ie(["引导页"])},hsAble:oe=>{const{normalize:ie}=oe;return ie(["功能"])},hsMenuTree:oe=>{const{normalize:ie}=oe;return ie(["菜单树结构"])},hsOptimize:oe=>{const{normalize:ie}=oe;return ie(["防抖、截流、复制、长按指令"])},hsWatermark:oe=>{const{normalize:ie}=oe;return ie(["水印"])},hsPrint:oe=>{const{normalize:ie}=oe;return ie(["打印"])},hsDownload:oe=>{const{normalize:ie}=oe;return ie(["下载"])},hsExternalPage:oe=>{const{normalize:ie}=oe;return ie(["外部页面"])},hsPureDocument:oe=>{const{normalize:ie}=oe;return ie(["平台文档(内嵌)"])},externalLink:oe=>{const{normalize:ie}=oe;return ie(["平台文档(外链)"])},hsEpDocument:oe=>{const{normalize:ie}=oe;return ie(["Element Plus 文档(内嵌)"])},hsVueDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue3 文档(内嵌)"])},hsViteDocument:oe=>{const{normalize:ie}=oe;return ie(["Vite 文档(内嵌)"])},hsPiniaDocument:oe=>{const{normalize:ie}=oe;return ie(["Pinia 文档(内嵌)"])},hsRouterDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue Router 文档(内嵌)"])},hsTailwindcssDocument:oe=>{const{normalize:ie}=oe;return ie(["Tailwindcss 文档(内嵌)"])},hsAbout:oe=>{const{normalize:ie}=oe;return ie(["关于"])},hsResult:oe=>{const{normalize:ie}=oe;return ie(["结果页面"])},hsSuccess:oe=>{const{normalize:ie}=oe;return ie(["成功页面"])},hsFail:oe=>{const{normalize:ie}=oe;return ie(["失败页面"])},hsIconSelect:oe=>{const{normalize:ie}=oe;return ie(["图标选择器"])},hsTimeline:oe=>{const{normalize:ie}=oe;return ie(["时间线"])},hsLineTree:oe=>{const{normalize:ie}=oe;return ie(["树形连接线"])},hsList:oe=>{const{normalize:ie}=oe;return ie(["列表页"])},hsListCard:oe=>{const{normalize:ie}=oe;return ie(["卡片列表页"])},hsDebounce:oe=>{const{normalize:ie}=oe;return ie(["防抖节流"])},hsFormDesign:oe=>{const{normalize:ie}=oe;return ie(["表单设计器"])},hsBarcode:oe=>{const{normalize:ie}=oe;return ie(["条形码"])},hsQrcode:oe=>{const{normalize:ie}=oe;return ie(["二维码"])},hsCascader:oe=>{const{normalize:ie}=oe;return ie(["区域级联选择器"])},hsSwiper:oe=>{const{normalize:ie}=oe;return ie(["Swiper插件"])},hsVirtualList:oe=>{const{normalize:ie}=oe;return ie(["虚拟列表"])},hsPdf:oe=>{const{normalize:ie}=oe;return ie(["PDF预览"])},hsExecl:oe=>{const{normalize:ie}=oe;return ie(["导出Excel"])},hsInfiniteScroll:oe=>{const{normalize:ie}=oe;return ie(["表格无限滚动"])},hsSensitive:oe=>{const{normalize:ie}=oe;return ie(["敏感词过滤"])},hsPinyin:oe=>{const{normalize:ie}=oe;return ie(["汉语拼音"])},hsdanmaku:oe=>{const{normalize:ie}=oe;return ie(["弹幕组件"])},hsPureTableBase:oe=>{const{normalize:ie}=oe;return ie(["基础用法(23个示例)"])},hsPureTableHigh:oe=>{const{normalize:ie}=oe;return ie(["高级用法(11个示例)"])},hsTree:oe=>{const{normalize:ie}=oe;return ie(["大数据树业务组件"])},hsMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["目录超出显示 Tooltip 文字提示"])},hsChildMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["菜单超出显示 Tooltip 文字提示"])}},status:{hsLoad:oe=>{const{normalize:ie}=oe;return ie(["加载中..."])}},login:{username:oe=>{const{normalize:ie}=oe;return ie(["账号"])},password:oe=>{const{normalize:ie}=oe;return ie(["密码"])},verifyCode:oe=>{const{normalize:ie}=oe;return ie(["验证码"])},remember:oe=>{const{normalize:ie}=oe;return ie(["记住密码"])},sure:oe=>{const{normalize:ie}=oe;return ie(["确认密码"])},forget:oe=>{const{normalize:ie}=oe;return ie(["忘记密码?"])},login:oe=>{const{normalize:ie}=oe;return ie(["登录"])},thirdLogin:oe=>{const{normalize:ie}=oe;return ie(["第三方登录"])},phoneLogin:oe=>{const{normalize:ie}=oe;return ie(["手机登录"])},qRCodeLogin:oe=>{const{normalize:ie}=oe;return ie(["二维码登录"])},register:oe=>{const{normalize:ie}=oe;return ie(["注册"])},weChatLogin:oe=>{const{normalize:ie}=oe;return ie(["微信登录"])},alipayLogin:oe=>{const{normalize:ie}=oe;return ie(["支付宝登录"])},qqLogin:oe=>{const{normalize:ie}=oe;return ie(["QQ登录"])},weiboLogin:oe=>{const{normalize:ie}=oe;return ie(["微博登录"])},phone:oe=>{const{normalize:ie}=oe;return ie(["手机号码"])},smsVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["短信验证码"])},back:oe=>{const{normalize:ie}=oe;return ie(["返回"])},test:oe=>{const{normalize:ie}=oe;return ie(["模拟测试"])},tip:oe=>{const{normalize:ie}=oe;return ie(['扫码后点击"确认",即可完成登录'])},definite:oe=>{const{normalize:ie}=oe;return ie(["确定"])},loginSuccess:oe=>{const{normalize:ie}=oe;return ie(["登录成功"])},registerSuccess:oe=>{const{normalize:ie}=oe;return ie(["注册成功"])},tickPrivacy:oe=>{const{normalize:ie}=oe;return ie(["请勾选隐私政策"])},readAccept:oe=>{const{normalize:ie}=oe;return ie(["我已仔细阅读并接受"])},privacyPolicy:oe=>{const{normalize:ie}=oe;return ie(["《隐私政策》"])},getVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["获取验证码"])},info:oe=>{const{normalize:ie}=oe;return ie(["秒后重新获取"])},usernameReg:oe=>{const{normalize:ie}=oe;return ie(["请输入账号"])},passwordReg:oe=>{const{normalize:ie}=oe;return ie(["请输入密码"])},verifyCodeReg:oe=>{const{normalize:ie}=oe;return ie(["请输入验证码"])},verifyCodeCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["请输入正确的验证码"])},verifyCodeSixReg:oe=>{const{normalize:ie}=oe;return ie(["请输入6位数字验证码"])},phoneReg:oe=>{const{normalize:ie}=oe;return ie(["请输入手机号码"])},phoneCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["请输入正确的手机号码格式"])},passwordRuleReg:oe=>{const{normalize:ie}=oe;return ie(["密码格式应为8-18位数字、字母、符号的任意两种组合"])},passwordSureReg:oe=>{const{normalize:ie}=oe;return ie(["请输入确认密码"])},passwordDifferentReg:oe=>{const{normalize:ie}=oe;return ie(["两次密码不一致!"])},passwordUpdateReg:oe=>{const{normalize:ie}=oe;return ie(["修改密码成功"])}}},__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:resource},Symbol.toStringTag,{value:"Module"}));/*! + `;xn.style.cssText=In,xn.innerHTML=On==null?void 0:On.value,Pn.onmousemove=Fn=>{let Vn=Fn.pageX-10,Dn=Fn.pageY+15;xn.style.top=Dn+"px",xn.style.left=Vn+"px"}};pe==null||pe.on("mouseover",On=>{(wn==="x"&&On.componentType=="xAxis"||wn==="y"&&On.componentType=="yAxis"||wn.toString()==="true"&&On.componentType.includes("Axis"))&&An(On)}),pe==null||pe.on("mouseout",()=>{Pn.onmousemove=null,xn.style.cssText="display:none"})}(0,a$1.watch)(()=>le.value,wn=>{pe&&(pe.dispose(),Ie(wn),Ve(he.value,..._e.value))});function $n(){var wn;!pe||D$1(((wn=he.value)==null?void 0:wn.delay)??300).then(()=>{Ue()})}return(0,a$1.onMounted)(()=>{(0,a$1.nextTick)(()=>{window.addEventListener("resize",$n)})}),L$1(()=>{var wn;window.removeEventListener("resize",$n),pe&&(pe.dispose(),pe=null,(wn=document.querySelector(`#${ue}`))==null||wn.remove())}),{echarts:de,clear:Fe,resize:Ue,getDom:_n,getWidth:Lt,getOption:bn,getHeight:hn,addTooltip:En,getDataURL:Sn,setOptions:Ve,appendData:At,getInstance:vn,showLoading:qe,hideLoading:Et,getConnectedDataURL:Cn}},ae=Symbol("watermark-dom"),po=(oe=(0,a$1.ref)(document.body))=>{let ie=ae.toString(),le=(0,a$1.shallowRef)(),ue=()=>{let Fe=(0,a$1.unref)(le);le.value=void 0;let Ue=(0,a$1.unref)(oe);!Ue||Fe&&Ue.removeChild(Fe)};function de(Fe,Ue){let qe=document.createElement("canvas"),Et=(Ue==null?void 0:Ue.width)??250,At=(Ue==null?void 0:Ue.height)??100;Object.assign(qe,{width:Et,height:At});let Lt=qe.getContext("2d");if(Lt){if(Lt.rotate(((Ue==null?void 0:Ue.rotate)??-10*Math.PI)/120),Lt.font=(Ue==null?void 0:Ue.font)??"15px Reggae One",(Ue==null?void 0:Ue.gradient)&&$(Ue==null?void 0:Ue.gradient)){let hn=Lt.createLinearGradient(0,0,Et,0);Ue==null||Ue.gradient.forEach(vn=>{hn.addColorStop(vn.value,vn.color)}),Lt.fillStyle=hn}else Lt.fillStyle=(Ue==null?void 0:Ue.fillStyle)??"rgba(0, 0, 0, 0.15)";if(Lt.textAlign="left",Lt.textBaseline="middle",Ue!=null&&Ue.globalAlpha&&(Lt.globalAlpha=Ue.globalAlpha),Ue==null?void 0:Ue.shadowConfig){let{shadowConfig:hn}=Ue;Lt.shadowBlur=hn[0],Lt.shadowColor=(hn==null?void 0:hn[1])??"#000000",Lt.shadowOffsetX=(hn==null?void 0:hn[2])??0,Lt.shadowOffsetY=(hn==null?void 0:hn[3])??0}Lt.fillText(Fe,Et/((Ue==null?void 0:Ue.fillTextWidth)??20),At/((Ue==null?void 0:Ue.fillTextHeight)??2))}return qe.toDataURL("image/png")}function pe(Fe={}){let Ue=(0,a$1.unref)(le);!Ue||(R(Fe.width)&&(Ue.style.width=`${Fe.width}px`),R(Fe.height)&&(Ue.style.height=`${Fe.height}px`),R(Fe.str)&&(Ue.style.background=`url(${de(Fe.str,Fe.attr)}) left top repeat`))}let he=vt(()=>{let Fe=(0,a$1.unref)(oe);if(!Fe)return;let{clientHeight:Ue,clientWidth:qe}=Fe;pe({height:Ue,width:qe})}),_e=(Fe,Ue)=>{var hn;if((0,a$1.unref)(le))return pe({str:Fe,attr:Ue}),ie;let qe=document.createElement("div");le.value=qe,qe.id=ie,qe.style.pointerEvents="none",qe.style.top="0px",qe.style.left="0px",qe.style.position="absolute",qe.style.zIndex=(Ue==null?void 0:Ue.zIndex)??"100000";let Et=(0,a$1.unref)(oe);if(!Et)return ie;let{clientHeight:At,clientWidth:Lt}=Et;return pe({str:Fe,width:Lt,height:At,attr:Ue}),(hn=Et==null?void 0:Et.style)!=null&&hn.position||(Et.style.position="relative"),Et.appendChild(qe),ie};function $e(Fe,{str:Ue,attr:qe}){Fe[0].removedNodes[0]&&Fe[0].removedNodes[0].id===ie&&(le.value=void 0,_e(Ue,qe))}function Ie(Fe,Ue){let qe={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(Et=>$e(Et,{str:Fe,attr:Ue})).observe((0,a$1.unref)(oe),qe)}function Ve(Fe,Ue){_e(Fe,Ue),window.addEventListener("resize",he),Ue!=null&&Ue.forever&&Ie(Fe,Ue),(0,a$1.getCurrentInstance)()&&ue&&ue()}return L$1(()=>{window.removeEventListener("resize",he)}),{clear:ue,setWatermark:Ve}};const data$1={width:24,height:24,body:''},data={width:24,height:24,body:''},_hoisted_1$1={key:0,class:"flex items-center justify-between"},_hoisted_2$1=["id"],_hoisted_3$1={key:1},_sfc_main$1=defineComponent({__name:"index",setup(oe){const ie=ref(!1),le=computed(()=>he=>{var _e;return((_e=he==null?void 0:he.footerButtons)==null?void 0:_e.length)>0?he.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:$e,index:Ie}})=>{const Ve=()=>closeDialog($e,Ie,{command:"cancel"});$e!=null&&$e.beforeCancel&&q$1($e==null?void 0:$e.beforeCancel)?$e.beforeCancel(Ve,{options:$e,index:Ie}):Ve()}},{label:"确定",type:"primary",text:!0,bg:!0,btnClick:({dialog:{options:$e,index:Ie}})=>{const Ve=()=>closeDialog($e,Ie,{command:"sure"});$e!=null&&$e.beforeSure&&q$1($e==null?void 0:$e.beforeSure)?$e.beforeSure(Ve,{options:$e,index:Ie}):Ve()}}]}),ue=computed(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function de(he,_e,$e){if(ie.value=(_e==null?void 0:_e.fullscreen)??!1,_e!=null&&_e[he]&&q$1(_e==null?void 0:_e[he]))return _e==null?void 0:_e[he]({options:_e,index:$e})}function pe(he,_e,$e={command:"close"}){closeDialog(he,_e,$e),de("close",he,_e)}return(he,_e)=>{const $e=resolveComponent("IconifyIconOffline"),Ie=resolveComponent("el-button"),Ve=resolveComponent("el-dialog");return openBlock(!0),createElementBlock(Fragment,null,renderList(unref(dialogStore),(Fe,Ue)=>(openBlock(),createBlock(Ve,mergeProps({class:"pure-dialog",key:Ue},Fe,{modelValue:Fe.visible,"onUpdate:modelValue":qe=>Fe.visible=qe,fullscreen:ie.value?!0:!!(Fe!=null&&Fe.fullscreen),onClose:qe=>pe(Fe,Ue),onOpened:qe=>de("open",Fe,Ue),onOpenAutoFocus:qe=>de("openAutoFocus",Fe,Ue),onCloseAutoFocus:qe=>de("closeAutoFocus",Fe,Ue)}),createSlots({default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.contentRenderer({options:Fe,index:Ue})),mergeProps(Fe==null?void 0:Fe.props,{onClose:qe=>pe(Fe,Ue,qe)}),null,16,["onClose"]))]),_:2},[Fe!=null&&Fe.fullscreenIcon||Fe!=null&&Fe.headerRenderer?{name:"header",fn:withCtx(({close:qe,titleId:Et,titleClass:At})=>[Fe!=null&&Fe.fullscreenIcon?(openBlock(),createElementBlock("div",_hoisted_1$1,[createBaseVNode("span",{id:Et,class:normalizeClass(At)},toDisplayString$1(Fe==null?void 0:Fe.title),11,_hoisted_2$1),Fe!=null&&Fe.fullscreen?createCommentVNode("",!0):(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(ue.value),onClick:_e[0]||(_e[0]=Lt=>ie.value=!ie.value)},[createVNode($e,{class:"pure-dialog-svg",icon:Fe!=null&&Fe.fullscreen||ie.value?unref(data):unref(data$1)},null,8,["icon"])],2))])):(openBlock(),createBlock(resolveDynamicComponent(Fe==null?void 0:Fe.headerRenderer({close:qe,titleId:Et,titleClass:At})),{key:1}))]),key:"0"}:void 0,Fe!=null&&Fe.hideFooter?void 0:{name:"footer",fn:withCtx(()=>[Fe!=null&&Fe.footerRenderer?(openBlock(),createBlock(resolveDynamicComponent(Fe==null?void 0:Fe.footerRenderer({options:Fe,index:Ue})),{key:0})):(openBlock(),createElementBlock("span",_hoisted_3$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.value(Fe),(qe,Et)=>(openBlock(),createBlock(Ie,mergeProps({key:Et},qe,{onClick:At=>qe.btnClick({dialog:{options:Fe,index:Ue},button:{btn:qe,index:Et}})}),{default:withCtx(()=>[createTextVNode(toDisplayString$1(qe==null?void 0:qe.label),1)]),_:2},1040,["onClick"]))),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClose","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function tryOnScopeDispose(oe){return getCurrentScope()?(onScopeDispose(oe),!0):!1}function toValue(oe){return typeof oe=="function"?oe():unref(oe)}const isClient=typeof window<"u",isDef=oe=>typeof oe<"u",notNullish=oe=>oe!=null,toString$1=Object.prototype.toString,isObject$7=oe=>toString$1.call(oe)==="[object Object]",noop$4=()=>{},isIOS=getIsIOS();function getIsIOS(){var oe;return isClient&&((oe=window==null?void 0:window.navigator)==null?void 0:oe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function createFilterWrapper(oe,ie){function le(...ue){return new Promise((de,pe)=>{Promise.resolve(oe(()=>ie.apply(this,ue),{fn:ie,thisArg:this,args:ue})).then(de).catch(pe)})}return le}function debounceFilter(oe,ie={}){let le,ue,de=noop$4;const pe=_e=>{clearTimeout(_e),de(),de=noop$4};return _e=>{const $e=toValue(oe),Ie=toValue(ie.maxWait);return le&&pe(le),$e<=0||Ie!==void 0&&Ie<=0?(ue&&(pe(ue),ue=null),Promise.resolve(_e())):new Promise((Ve,Fe)=>{de=ie.rejectOnCancel?Fe:Ve,Ie&&!ue&&(ue=setTimeout(()=>{le&&pe(le),ue=null,Ve(_e())},Ie)),le=setTimeout(()=>{ue&&pe(ue),ue=null,Ve(_e())},$e)})}}function toRef(...oe){if(oe.length!==1)return toRef$1(...oe);const ie=oe[0];return typeof ie=="function"?readonly(customRef(()=>({get:ie,set:noop$4}))):ref(ie)}function useDebounceFn(oe,ie=200,le={}){return createFilterWrapper(debounceFilter(ie,le),oe)}function tryOnMounted(oe,ie=!0){getCurrentInstance()?onMounted(oe):ie?oe():nextTick(oe)}function tryOnUnmounted(oe){getCurrentInstance()&&onUnmounted(oe)}function useIntervalFn(oe,ie=1e3,le={}){const{immediate:ue=!0,immediateCallback:de=!1}=le;let pe=null;const he=ref(!1);function _e(){pe&&(clearInterval(pe),pe=null)}function $e(){he.value=!1,_e()}function Ie(){const Ve=toValue(ie);Ve<=0||(he.value=!0,de&&oe(),_e(),pe=setInterval(oe,Ve))}if(ue&&isClient&&Ie(),isRef(ie)||typeof ie=="function"){const Ve=watch(ie,()=>{he.value&&isClient&&Ie()});tryOnScopeDispose(Ve)}return tryOnScopeDispose($e),{isActive:he,pause:$e,resume:Ie}}function useTimeoutFn(oe,ie,le={}){const{immediate:ue=!0}=le,de=ref(!1);let pe=null;function he(){pe&&(clearTimeout(pe),pe=null)}function _e(){de.value=!1,he()}function $e(...Ie){he(),de.value=!0,pe=setTimeout(()=>{de.value=!1,pe=null,oe(...Ie)},toValue(ie))}return ue&&(de.value=!0,isClient&&$e()),tryOnScopeDispose(_e),{isPending:readonly(de),start:$e,stop:_e}}function unrefElement(oe){var ie;const le=toValue(oe);return(ie=le==null?void 0:le.$el)!=null?ie:le}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...oe){let ie,le,ue,de;if(typeof oe[0]=="string"||Array.isArray(oe[0])?([le,ue,de]=oe,ie=defaultWindow):[ie,le,ue,de]=oe,!ie)return noop$4;Array.isArray(le)||(le=[le]),Array.isArray(ue)||(ue=[ue]);const pe=[],he=()=>{pe.forEach(Ve=>Ve()),pe.length=0},_e=(Ve,Fe,Ue,qe)=>(Ve.addEventListener(Fe,Ue,qe),()=>Ve.removeEventListener(Fe,Ue,qe)),$e=watch(()=>[unrefElement(ie),toValue(de)],([Ve,Fe])=>{he(),Ve&&pe.push(...le.flatMap(Ue=>ue.map(qe=>_e(Ve,Ue,qe,Fe))))},{immediate:!0,flush:"post"}),Ie=()=>{$e(),he()};return tryOnScopeDispose(Ie),Ie}let _iOSWorkaround=!1;function onClickOutside(oe,ie,le={}){const{window:ue=defaultWindow,ignore:de=[],capture:pe=!0,detectIframe:he=!1}=le;if(!ue)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(ue.document.body.children).forEach(Ue=>Ue.addEventListener("click",noop$4)));let _e=!0;const $e=Ue=>de.some(qe=>{if(typeof qe=="string")return Array.from(ue.document.querySelectorAll(qe)).some(Et=>Et===Ue.target||Ue.composedPath().includes(Et));{const Et=unrefElement(qe);return Et&&(Ue.target===Et||Ue.composedPath().includes(Et))}}),Ve=[useEventListener(ue,"click",Ue=>{const qe=unrefElement(oe);if(!(!qe||qe===Ue.target||Ue.composedPath().includes(qe))){if(Ue.detail===0&&(_e=!$e(Ue)),!_e){_e=!0;return}ie(Ue)}},{passive:!0,capture:pe}),useEventListener(ue,"pointerdown",Ue=>{const qe=unrefElement(oe);qe&&(_e=!Ue.composedPath().includes(qe)&&!$e(Ue))},{passive:!0}),he&&useEventListener(ue,"blur",Ue=>{setTimeout(()=>{var qe;const Et=unrefElement(oe);((qe=ue.document.activeElement)==null?void 0:qe.tagName)==="IFRAME"&&!(Et!=null&&Et.contains(ue.document.activeElement))&&ie(Ue)},0)})].filter(Boolean);return()=>Ve.forEach(Ue=>Ue())}function createKeyPredicate(oe){return typeof oe=="function"?oe:typeof oe=="string"?ie=>ie.key===oe:Array.isArray(oe)?ie=>oe.includes(ie.key):()=>!0}function onKeyStroke(...oe){let ie,le,ue={};oe.length===3?(ie=oe[0],le=oe[1],ue=oe[2]):oe.length===2?typeof oe[1]=="object"?(ie=!0,le=oe[0],ue=oe[1]):(ie=oe[0],le=oe[1]):(ie=!0,le=oe[0]);const{target:de=defaultWindow,eventName:pe="keydown",passive:he=!1,dedupe:_e=!1}=ue,$e=createKeyPredicate(ie);return useEventListener(de,pe,Ve=>{Ve.repeat&&toValue(_e)||$e(Ve)&&le(Ve)},he)}function templateRef(oe,ie=null){const le=getCurrentInstance();let ue=()=>{};const de=customRef((pe,he)=>(ue=he,{get(){var _e,$e;return pe(),($e=(_e=le==null?void 0:le.proxy)==null?void 0:_e.$refs[oe])!=null?$e:ie},set(){}}));return tryOnMounted(ue),onUpdated(ue),de}function useMounted(){const oe=ref(!1);return getCurrentInstance()&&onMounted(()=>{oe.value=!0}),oe}function useSupported(oe){const ie=useMounted();return computed(()=>(ie.value,!!oe()))}function useMediaQuery(oe,ie={}){const{window:le=defaultWindow}=ie,ue=useSupported(()=>le&&"matchMedia"in le&&typeof le.matchMedia=="function");let de;const pe=ref(!1),he=()=>{de&&("removeEventListener"in de?de.removeEventListener("change",_e):de.removeListener(_e))},_e=()=>{ue.value&&(he(),de=le.matchMedia(toRef(oe).value),pe.value=!!(de!=null&&de.matches),de&&("addEventListener"in de?de.addEventListener("change",_e):de.addListener(_e)))};return watchEffect(_e),tryOnScopeDispose(()=>he()),pe}function cloneFnJSON(oe){return JSON.parse(JSON.stringify(oe))}var __getOwnPropSymbols$h=Object.getOwnPropertySymbols,__hasOwnProp$h=Object.prototype.hasOwnProperty,__propIsEnum$h=Object.prototype.propertyIsEnumerable,__objRest$2=(oe,ie)=>{var le={};for(var ue in oe)__hasOwnProp$h.call(oe,ue)&&ie.indexOf(ue)<0&&(le[ue]=oe[ue]);if(oe!=null&&__getOwnPropSymbols$h)for(var ue of __getOwnPropSymbols$h(oe))ie.indexOf(ue)<0&&__propIsEnum$h.call(oe,ue)&&(le[ue]=oe[ue]);return le};function useResizeObserver(oe,ie,le={}){const ue=le,{window:de=defaultWindow}=ue,pe=__objRest$2(ue,["window"]);let he;const _e=useSupported(()=>de&&"ResizeObserver"in de),$e=()=>{he&&(he.disconnect(),he=void 0)},Ie=computed(()=>Array.isArray(oe)?oe.map(Ue=>unrefElement(Ue)):[unrefElement(oe)]),Ve=watch(Ie,Ue=>{if($e(),_e.value&&de){he=new ResizeObserver(ie);for(const qe of Ue)qe&&he.observe(qe,pe)}},{immediate:!0,flush:"post",deep:!0}),Fe=()=>{$e(),Ve()};return tryOnScopeDispose(Fe),{isSupported:_e,stop:Fe}}function useIntersectionObserver(oe,ie,le={}){const{root:ue,rootMargin:de="0px",threshold:pe=.1,window:he=defaultWindow,immediate:_e=!0}=le,$e=useSupported(()=>he&&"IntersectionObserver"in he),Ie=computed(()=>{const Et=toValue(oe);return(Array.isArray(Et)?Et:[Et]).map(unrefElement).filter(notNullish)});let Ve=noop$4;const Fe=ref(_e),Ue=$e.value?watch(()=>[Ie.value,unrefElement(ue),Fe.value],([Et,At])=>{if(Ve(),!Fe.value||!Et.length)return;const Lt=new IntersectionObserver(ie,{root:unrefElement(At),rootMargin:de,threshold:pe});Et.forEach(hn=>hn&&Lt.observe(hn)),Ve=()=>{Lt.disconnect(),Ve=noop$4}},{immediate:_e,flush:"post"}):noop$4,qe=()=>{Ve(),Ue(),Fe.value=!1};return tryOnScopeDispose(qe),{isSupported:$e,isActive:Fe,pause(){Ve(),Fe.value=!1},resume(){Fe.value=!0},stop:qe}}const eventHandlers=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function useFullscreen(oe,ie={}){const{document:le=defaultDocument,autoExit:ue=!1}=ie,de=computed(()=>{var hn;return(hn=unrefElement(oe))!=null?hn:le==null?void 0:le.querySelector("html")}),pe=ref(!1),he=computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(hn=>le&&hn in le||de.value&&hn in de.value)),_e=computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(hn=>le&&hn in le||de.value&&hn in de.value)),$e=computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(hn=>le&&hn in le||de.value&&hn in de.value)),Ie=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(hn=>le&&hn in le),Ve=useSupported(()=>de.value&&le&&he.value!==void 0&&_e.value!==void 0&&$e.value!==void 0),Fe=()=>Ie?(le==null?void 0:le[Ie])===de.value:!1,Ue=()=>{if($e.value){if(le&&le[$e.value]!=null)return le[$e.value];{const hn=de.value;if((hn==null?void 0:hn[$e.value])!=null)return!!hn[$e.value]}}return!1};async function qe(){if(Ve.value){if(_e.value)if((le==null?void 0:le[_e.value])!=null)await le[_e.value]();else{const hn=de.value;(hn==null?void 0:hn[_e.value])!=null&&await hn[_e.value]()}pe.value=!1}}async function Et(){if(!Ve.value)return;Ue()&&await qe();const hn=de.value;he.value&&(hn==null?void 0:hn[he.value])!=null&&(await hn[he.value](),pe.value=!0)}async function At(){await(pe.value?qe():Et())}const Lt=()=>{const hn=Ue();(!hn||hn&&Fe())&&(pe.value=hn)};return useEventListener(le,eventHandlers,Lt,!1),useEventListener(()=>unrefElement(de),eventHandlers,Lt,!1),ue&&tryOnScopeDispose(qe),{isSupported:Ve,isFullscreen:pe,enter:Et,exit:qe,toggle:At}}function useVModel(oe,ie,le,ue={}){var de,pe,he;const{clone:_e=!1,passive:$e=!1,eventName:Ie,deep:Ve=!1,defaultValue:Fe,shouldEmit:Ue}=ue,qe=getCurrentInstance(),Et=le||(qe==null?void 0:qe.emit)||((de=qe==null?void 0:qe.$emit)==null?void 0:de.bind(qe))||((he=(pe=qe==null?void 0:qe.proxy)==null?void 0:pe.$emit)==null?void 0:he.bind(qe==null?void 0:qe.proxy));let At=Ie;ie||(ie="modelValue"),At=At||`update:${ie.toString()}`;const Lt=_n=>_e?typeof _e=="function"?_e(_n):cloneFnJSON(_n):_n,hn=()=>isDef(oe[ie])?Lt(oe[ie]):Fe,vn=_n=>{Ue?Ue(_n)&&Et(At,_n):Et(At,_n)};if($e){const _n=hn(),bn=ref(_n);return watch(()=>oe[ie],Sn=>bn.value=Lt(Sn)),watch(bn,Sn=>{(Sn!==oe[ie]||Ve)&&vn(Sn)},{deep:Ve}),bn}else return computed({get(){return hn()},set(_n){vn(_n)}})}function useWindowSize(oe={}){const{window:ie=defaultWindow,initialWidth:le=1/0,initialHeight:ue=1/0,listenOrientation:de=!0,includeScrollbar:pe=!0}=oe,he=ref(le),_e=ref(ue),$e=()=>{ie&&(pe?(he.value=ie.innerWidth,_e.value=ie.innerHeight):(he.value=ie.document.documentElement.clientWidth,_e.value=ie.document.documentElement.clientHeight))};if($e(),tryOnMounted($e),useEventListener("resize",$e,{passive:!0}),de){const Ie=useMediaQuery("(orientation: portrait)");watch(Ie,()=>$e())}return{width:he,height:_e}}const dialogStore=ref([]),addDialog=oe=>{const ie=()=>dialogStore.value.push(Object.assign(oe,{visible:!0}));oe!=null&&oe.openDelay?useTimeoutFn(()=>{ie()},oe.openDelay):ie()},closeDialog=(oe,ie,le)=>{dialogStore.value.splice(ie,1),oe.closeCallBack&&oe.closeCallBack({options:oe,index:ie,args:le})},updateDialog=(oe,ie="title",le=0)=>{dialogStore.value[le][ie]=oe},closeAllDialog=()=>{dialogStore.value=[]},ReDialog=qn(_sfc_main$1);var zhCn={};(function(oe){Object.defineProperty(oe,"__esModule",{value:!0});var ie={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",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:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};oe.default=ie})(zhCn);const zhLocale=getDefaultExportFromCjs(zhCn),_sfc_main=defineComponent({name:"app",components:{[ElConfigProvider.name]:ElConfigProvider,ReDialog},computed:{currentLocale(){var oe;return((oe=this.$storage.locale)==null?void 0:oe.locale)==="zh"?zhLocale:enLocale}},beforeCreate(){const{version:oe,name:ie}={dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.6","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.7","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.5.0"},{VITE_PUBLIC_PATH:le,MODE:ue}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};ue==="production"&&checkVersion({pollingTime:3e5,localPackageVersion:oe,originVersionFileUrl:`${location.origin}${le}version.json`},{title:ie,description:"检测到新版本",buttonText:"立即更新"})}}),_export_sfc=(oe,ie)=>{const le=oe.__vccOpts||oe;for(const[ue,de]of ie)le[ue]=de;return le};function _sfc_render(oe,ie,le,ue,de,pe){const he=resolveComponent("router-view"),_e=resolveComponent("ReDialog"),$e=resolveComponent("el-config-provider");return openBlock(),createBlock($e,{locale:oe.currentLocale},{default:withCtx(()=>[createVNode(he),createVNode(_e)]),_:1},8,["locale"])}const App=_export_sfc(_sfc_main,[["render",_sfc_render]]),scriptRel="modulepreload",assetsURL=function(oe){return"/vue-pure-admin/"+oe},seen={},__vitePreload=function(ie,le,ue){if(!le||le.length===0)return ie();const de=document.getElementsByTagName("link");return Promise.all(le.map(pe=>{if(pe=assetsURL(pe),pe in seen)return;seen[pe]=!0;const he=pe.endsWith(".css"),_e=he?'[rel="stylesheet"]':"";if(!!ue)for(let Ve=de.length-1;Ve>=0;Ve--){const Fe=de[Ve];if(Fe.href===pe&&(!he||Fe.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${pe}"]${_e}`))return;const Ie=document.createElement("link");if(Ie.rel=he?"stylesheet":scriptRel,he||(Ie.as="script",Ie.crossOrigin=""),Ie.href=pe,document.head.appendChild(Ie),he)return new Promise((Ve,Fe)=>{Ie.addEventListener("load",Ve),Ie.addEventListener("error",()=>Fe(new Error(`Unable to preload CSS for ${pe}`)))})})).then(()=>ie())},resource$1={buttons:{hsLoginOut:oe=>{const{normalize:ie}=oe;return ie(["LoginOut"])},hsfullscreen:oe=>{const{normalize:ie}=oe;return ie(["FullScreen"])},hsexitfullscreen:oe=>{const{normalize:ie}=oe;return ie(["ExitFullscreen"])},hsrefreshRoute:oe=>{const{normalize:ie}=oe;return ie(["RefreshRoute"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["Login"])},hsadd:oe=>{const{normalize:ie}=oe;return ie(["Add"])},hsmark:oe=>{const{normalize:ie}=oe;return ie(["Mark/Cancel"])},hssave:oe=>{const{normalize:ie}=oe;return ie(["Save"])},hssearch:oe=>{const{normalize:ie}=oe;return ie(["Search"])},hsexpendAll:oe=>{const{normalize:ie}=oe;return ie(["Expand All"])},hscollapseAll:oe=>{const{normalize:ie}=oe;return ie(["Collapse All"])},hssystemSet:oe=>{const{normalize:ie}=oe;return ie(["Open ProjectConfig"])},hsdelete:oe=>{const{normalize:ie}=oe;return ie(["Delete"])},hsreload:oe=>{const{normalize:ie}=oe;return ie(["Reload"])},hscloseCurrentTab:oe=>{const{normalize:ie}=oe;return ie(["Close CurrentTab"])},hscloseLeftTabs:oe=>{const{normalize:ie}=oe;return ie(["Close LeftTabs"])},hscloseRightTabs:oe=>{const{normalize:ie}=oe;return ie(["Close RightTabs"])},hscloseOtherTabs:oe=>{const{normalize:ie}=oe;return ie(["Close OtherTabs"])},hscloseAllTabs:oe=>{const{normalize:ie}=oe;return ie(["Close AllTabs"])},hswholeFullScreen:oe=>{const{normalize:ie}=oe;return ie(["FullScreen"])},hswholeExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["ExitFull"])},hscontentFullScreen:oe=>{const{normalize:ie}=oe;return ie(["Content FullScreen"])},hscontentExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["Content ExitFullScreen"])}},menus:{hshome:oe=>{const{normalize:ie}=oe;return ie(["Home"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["Login"])},hsempty:oe=>{const{normalize:ie}=oe;return ie(["Empty Page"])},hssysManagement:oe=>{const{normalize:ie}=oe;return ie(["System Manage"])},hsUser:oe=>{const{normalize:ie}=oe;return ie(["User Manage"])},hsRole:oe=>{const{normalize:ie}=oe;return ie(["Role Manage"])},hsDept:oe=>{const{normalize:ie}=oe;return ie(["Dept Manage"])},hseditor:oe=>{const{normalize:ie}=oe;return ie(["Editor"])},hsabnormal:oe=>{const{normalize:ie}=oe;return ie(["Abnormal Page"])},hsfourZeroFour:oe=>{const{normalize:ie}=oe;return ie(["404"])},hsfourZeroOne:oe=>{const{normalize:ie}=oe;return ie(["403"])},hsFive:oe=>{const{normalize:ie}=oe;return ie(["500"])},hscomponents:oe=>{const{normalize:ie}=oe;return ie(["Components"])},hsdialog:oe=>{const{normalize:ie}=oe;return ie(["Dialog Components"])},hsmessage:oe=>{const{normalize:ie}=oe;return ie(["Message Tips Components"])},hsvideo:oe=>{const{normalize:ie}=oe;return ie(["Video Components"])},hssegmented:oe=>{const{normalize:ie}=oe;return ie(["Segmented Components"])},hswaterfall:oe=>{const{normalize:ie}=oe;return ie(["Waterfall Components"])},hsmap:oe=>{const{normalize:ie}=oe;return ie(["Map Components"])},hsdraggable:oe=>{const{normalize:ie}=oe;return ie(["Draggable Components"])},hssplitPane:oe=>{const{normalize:ie}=oe;return ie(["Split Pane"])},hsbutton:oe=>{const{normalize:ie}=oe;return ie(["Button Components"])},hscropping:oe=>{const{normalize:ie}=oe;return ie(["Picture Cropping"])},hscountTo:oe=>{const{normalize:ie}=oe;return ie(["Digital Animation"])},hsselector:oe=>{const{normalize:ie}=oe;return ie(["Selector Components"])},hsflowChart:oe=>{const{normalize:ie}=oe;return ie(["Flow Chart"])},hsseamless:oe=>{const{normalize:ie}=oe;return ie(["Seamless Scroll"])},hscontextmenu:oe=>{const{normalize:ie}=oe;return ie(["Context Menu"])},hstypeit:oe=>{const{normalize:ie}=oe;return ie(["Typeit Components"])},hsjsoneditor:oe=>{const{normalize:ie}=oe;return ie(["JSON Editor"])},hsmenus:oe=>{const{normalize:ie}=oe;return ie(["MultiLevel Menu"])},hsmenu1:oe=>{const{normalize:ie}=oe;return ie(["Menu1"])},"hsmenu1-1":oe=>{const{normalize:ie}=oe;return ie(["Menu1-1"])},"hsmenu1-2":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2"])},"hsmenu1-2-1":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2-1"])},"hsmenu1-2-2":oe=>{const{normalize:ie}=oe;return ie(["Menu1-2-2"])},"hsmenu1-3":oe=>{const{normalize:ie}=oe;return ie(["Menu1-3"])},hsmenu2:oe=>{const{normalize:ie}=oe;return ie(["Menu2"])},permission:oe=>{const{normalize:ie}=oe;return ie(["Permission Manage"])},permissionPage:oe=>{const{normalize:ie}=oe;return ie(["Page Permission"])},permissionButton:oe=>{const{normalize:ie}=oe;return ie(["Button Permission"])},hstabs:oe=>{const{normalize:ie}=oe;return ie(["Tabs Operate"])},hsguide:oe=>{const{normalize:ie}=oe;return ie(["Guide"])},hsAble:oe=>{const{normalize:ie}=oe;return ie(["Able"])},hsMenuTree:oe=>{const{normalize:ie}=oe;return ie(["Menu Tree"])},hsOptimize:oe=>{const{normalize:ie}=oe;return ie(["Debounce、Throttle、Copy、Longpress Directives"])},hsWatermark:oe=>{const{normalize:ie}=oe;return ie(["Water Mark"])},hsPrint:oe=>{const{normalize:ie}=oe;return ie(["Print"])},hsDownload:oe=>{const{normalize:ie}=oe;return ie(["Download"])},hsExternalPage:oe=>{const{normalize:ie}=oe;return ie(["External Page"])},hsPureDocument:oe=>{const{normalize:ie}=oe;return ie(["Pure Doc(Embedded)"])},externalLink:oe=>{const{normalize:ie}=oe;return ie(["Pure Doc(External)"])},hsEpDocument:oe=>{const{normalize:ie}=oe;return ie(["Element Plus Doc(Embedded)"])},hsVueDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue3 Doc(Embedded)"])},hsViteDocument:oe=>{const{normalize:ie}=oe;return ie(["Vite Doc(Embedded)"])},hsPiniaDocument:oe=>{const{normalize:ie}=oe;return ie(["Pinia Doc(Embedded)"])},hsRouterDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue Router Doc(Embedded)"])},hsTailwindcssDocument:oe=>{const{normalize:ie}=oe;return ie(["Tailwindcss Doc(Embedded)"])},hsAbout:oe=>{const{normalize:ie}=oe;return ie(["About"])},hsResult:oe=>{const{normalize:ie}=oe;return ie(["Result Page"])},hsSuccess:oe=>{const{normalize:ie}=oe;return ie(["Success Page"])},hsFail:oe=>{const{normalize:ie}=oe;return ie(["Fail Page"])},hsIconSelect:oe=>{const{normalize:ie}=oe;return ie(["Icon Select"])},hsTimeline:oe=>{const{normalize:ie}=oe;return ie(["Time Line"])},hsLineTree:oe=>{const{normalize:ie}=oe;return ie(["LineTree"])},hsList:oe=>{const{normalize:ie}=oe;return ie(["List Page"])},hsListCard:oe=>{const{normalize:ie}=oe;return ie(["Card List Page"])},hsDebounce:oe=>{const{normalize:ie}=oe;return ie(["Debounce & Throttle"])},hsFormDesign:oe=>{const{normalize:ie}=oe;return ie(["Form Design"])},hsBarcode:oe=>{const{normalize:ie}=oe;return ie(["Barcode"])},hsQrcode:oe=>{const{normalize:ie}=oe;return ie(["Qrcode"])},hsCascader:oe=>{const{normalize:ie}=oe;return ie(["Area Cascader"])},hsSwiper:oe=>{const{normalize:ie}=oe;return ie(["Swiper Plugin"])},hsVirtualList:oe=>{const{normalize:ie}=oe;return ie(["Virtual List"])},hsPdf:oe=>{const{normalize:ie}=oe;return ie(["PDF Preview"])},hsExecl:oe=>{const{normalize:ie}=oe;return ie(["Export Excel"])},hsInfiniteScroll:oe=>{const{normalize:ie}=oe;return ie(["Table Infinite Scroll"])},hsSensitive:oe=>{const{normalize:ie}=oe;return ie(["Sensitive Filter"])},hsPinyin:oe=>{const{normalize:ie}=oe;return ie(["PinYin"])},hsdanmaku:oe=>{const{normalize:ie}=oe;return ie(["Danmaku Components"])},hsPureTableBase:oe=>{const{normalize:ie}=oe;return ie(["Base Usage"])},hsPureTableHigh:oe=>{const{normalize:ie}=oe;return ie(["High Usage"])},hsTree:oe=>{const{normalize:ie}=oe;return ie(["Big Data Tree"])},hsMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["Menu Overflow Show Tooltip Text"])},hsChildMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["Child Menu Overflow Show Tooltip Text"])}},status:{hsLoad:oe=>{const{normalize:ie}=oe;return ie(["Loading..."])}},login:{username:oe=>{const{normalize:ie}=oe;return ie(["Username"])},password:oe=>{const{normalize:ie}=oe;return ie(["Password"])},verifyCode:oe=>{const{normalize:ie}=oe;return ie(["VerifyCode"])},remember:oe=>{const{normalize:ie}=oe;return ie(["Remember Password"])},sure:oe=>{const{normalize:ie}=oe;return ie(["Sure Password"])},forget:oe=>{const{normalize:ie}=oe;return ie(["Forget Password?"])},login:oe=>{const{normalize:ie}=oe;return ie(["Login"])},thirdLogin:oe=>{const{normalize:ie}=oe;return ie(["Third Login"])},phoneLogin:oe=>{const{normalize:ie}=oe;return ie(["Phone Login"])},qRCodeLogin:oe=>{const{normalize:ie}=oe;return ie(["QRCode Login"])},register:oe=>{const{normalize:ie}=oe;return ie(["Register"])},weChatLogin:oe=>{const{normalize:ie}=oe;return ie(["WeChat Login"])},alipayLogin:oe=>{const{normalize:ie}=oe;return ie(["Alipay Login"])},qqLogin:oe=>{const{normalize:ie}=oe;return ie(["QQ Login"])},weiboLogin:oe=>{const{normalize:ie}=oe;return ie(["Weibo Login"])},phone:oe=>{const{normalize:ie}=oe;return ie(["Phone"])},smsVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["SMS VerifyCode"])},back:oe=>{const{normalize:ie}=oe;return ie(["Back"])},test:oe=>{const{normalize:ie}=oe;return ie(["Mock Test"])},tip:oe=>{const{normalize:ie}=oe;return ie(['After scanning the code, click "Confirm" to complete the login'])},definite:oe=>{const{normalize:ie}=oe;return ie(["Definite"])},loginSuccess:oe=>{const{normalize:ie}=oe;return ie(["Login Success"])},registerSuccess:oe=>{const{normalize:ie}=oe;return ie(["Regist Success"])},tickPrivacy:oe=>{const{normalize:ie}=oe;return ie(["Please tick Privacy Policy"])},readAccept:oe=>{const{normalize:ie}=oe;return ie(["I have read it carefully and accept"])},privacyPolicy:oe=>{const{normalize:ie}=oe;return ie(["Privacy Policy"])},getVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["Get VerifyCode"])},info:oe=>{const{normalize:ie}=oe;return ie(["Seconds"])},usernameReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter username"])},passwordReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter password"])},verifyCodeReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter verify code"])},verifyCodeCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter correct verify code"])},verifyCodeSixReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter a 6-digit verify code"])},phoneReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter the phone"])},phoneCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter the correct phone number format"])},passwordRuleReg:oe=>{const{normalize:ie}=oe;return ie(["The password format should be any combination of 8-18 digits"])},passwordSureReg:oe=>{const{normalize:ie}=oe;return ie(["Please enter confirm password"])},passwordDifferentReg:oe=>{const{normalize:ie}=oe;return ie(["The two passwords do not match!"])},passwordUpdateReg:oe=>{const{normalize:ie}=oe;return ie(["Password has been updated"])}}},__vite_glob_0_0$2=Object.freeze(Object.defineProperty({__proto__:null,default:resource$1},Symbol.toStringTag,{value:"Module"})),resource={buttons:{hsLoginOut:oe=>{const{normalize:ie}=oe;return ie(["退出系统"])},hsfullscreen:oe=>{const{normalize:ie}=oe;return ie(["全屏"])},hsexitfullscreen:oe=>{const{normalize:ie}=oe;return ie(["退出全屏"])},hsrefreshRoute:oe=>{const{normalize:ie}=oe;return ie(["刷新路由"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["登录"])},hsadd:oe=>{const{normalize:ie}=oe;return ie(["新增"])},hsmark:oe=>{const{normalize:ie}=oe;return ie(["标记/取消"])},hssave:oe=>{const{normalize:ie}=oe;return ie(["保存"])},hssearch:oe=>{const{normalize:ie}=oe;return ie(["搜索"])},hsexpendAll:oe=>{const{normalize:ie}=oe;return ie(["全部展开"])},hscollapseAll:oe=>{const{normalize:ie}=oe;return ie(["全部折叠"])},hssystemSet:oe=>{const{normalize:ie}=oe;return ie(["打开项目配置"])},hsdelete:oe=>{const{normalize:ie}=oe;return ie(["删除"])},hsreload:oe=>{const{normalize:ie}=oe;return ie(["重新加载"])},hscloseCurrentTab:oe=>{const{normalize:ie}=oe;return ie(["关闭当前标签页"])},hscloseLeftTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭左侧标签页"])},hscloseRightTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭右侧标签页"])},hscloseOtherTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭其他标签页"])},hscloseAllTabs:oe=>{const{normalize:ie}=oe;return ie(["关闭全部标签页"])},hswholeFullScreen:oe=>{const{normalize:ie}=oe;return ie(["全屏"])},hswholeExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["退出全屏"])},hscontentFullScreen:oe=>{const{normalize:ie}=oe;return ie(["内容区全屏"])},hscontentExitFullScreen:oe=>{const{normalize:ie}=oe;return ie(["内容区退出全屏"])}},menus:{hshome:oe=>{const{normalize:ie}=oe;return ie(["首页"])},hslogin:oe=>{const{normalize:ie}=oe;return ie(["登录"])},hsempty:oe=>{const{normalize:ie}=oe;return ie(["无Layout页"])},hssysManagement:oe=>{const{normalize:ie}=oe;return ie(["系统管理"])},hsUser:oe=>{const{normalize:ie}=oe;return ie(["用户管理"])},hsRole:oe=>{const{normalize:ie}=oe;return ie(["角色管理"])},hsDept:oe=>{const{normalize:ie}=oe;return ie(["部门管理"])},hseditor:oe=>{const{normalize:ie}=oe;return ie(["编辑器"])},hsabnormal:oe=>{const{normalize:ie}=oe;return ie(["异常页面"])},hsfourZeroFour:oe=>{const{normalize:ie}=oe;return ie(["404"])},hsfourZeroOne:oe=>{const{normalize:ie}=oe;return ie(["403"])},hsFive:oe=>{const{normalize:ie}=oe;return ie(["500"])},hscomponents:oe=>{const{normalize:ie}=oe;return ie(["组件"])},hsdialog:oe=>{const{normalize:ie}=oe;return ie(["函数式弹框组件"])},hsmessage:oe=>{const{normalize:ie}=oe;return ie(["消息提示组件"])},hsvideo:oe=>{const{normalize:ie}=oe;return ie(["视频组件"])},hssegmented:oe=>{const{normalize:ie}=oe;return ie(["分段控制器组件"])},hswaterfall:oe=>{const{normalize:ie}=oe;return ie(["瀑布流无限滚动组件"])},hsmap:oe=>{const{normalize:ie}=oe;return ie(["地图组件"])},hsdraggable:oe=>{const{normalize:ie}=oe;return ie(["拖拽组件"])},hssplitPane:oe=>{const{normalize:ie}=oe;return ie(["切割面板"])},hsbutton:oe=>{const{normalize:ie}=oe;return ie(["按钮组件"])},hscropping:oe=>{const{normalize:ie}=oe;return ie(["图片裁剪"])},hscountTo:oe=>{const{normalize:ie}=oe;return ie(["数字动画"])},hsselector:oe=>{const{normalize:ie}=oe;return ie(["选择器组件"])},hsflowChart:oe=>{const{normalize:ie}=oe;return ie(["流程图"])},hsseamless:oe=>{const{normalize:ie}=oe;return ie(["无缝滚动"])},hscontextmenu:oe=>{const{normalize:ie}=oe;return ie(["右键菜单"])},hstypeit:oe=>{const{normalize:ie}=oe;return ie(["打字机组件"])},hsjsoneditor:oe=>{const{normalize:ie}=oe;return ie(["JSON编辑器"])},hsmenus:oe=>{const{normalize:ie}=oe;return ie(["多级菜单"])},hsmenu1:oe=>{const{normalize:ie}=oe;return ie(["菜单1"])},"hsmenu1-1":oe=>{const{normalize:ie}=oe;return ie(["菜单1-1"])},"hsmenu1-2":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2"])},"hsmenu1-2-1":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2-1"])},"hsmenu1-2-2":oe=>{const{normalize:ie}=oe;return ie(["菜单1-2-2"])},"hsmenu1-3":oe=>{const{normalize:ie}=oe;return ie(["菜单1-3"])},hsmenu2:oe=>{const{normalize:ie}=oe;return ie(["菜单2"])},permission:oe=>{const{normalize:ie}=oe;return ie(["权限管理"])},permissionPage:oe=>{const{normalize:ie}=oe;return ie(["页面权限"])},permissionButton:oe=>{const{normalize:ie}=oe;return ie(["按钮权限"])},hstabs:oe=>{const{normalize:ie}=oe;return ie(["标签页操作"])},hsguide:oe=>{const{normalize:ie}=oe;return ie(["引导页"])},hsAble:oe=>{const{normalize:ie}=oe;return ie(["功能"])},hsMenuTree:oe=>{const{normalize:ie}=oe;return ie(["菜单树结构"])},hsOptimize:oe=>{const{normalize:ie}=oe;return ie(["防抖、截流、复制、长按指令"])},hsWatermark:oe=>{const{normalize:ie}=oe;return ie(["水印"])},hsPrint:oe=>{const{normalize:ie}=oe;return ie(["打印"])},hsDownload:oe=>{const{normalize:ie}=oe;return ie(["下载"])},hsExternalPage:oe=>{const{normalize:ie}=oe;return ie(["外部页面"])},hsPureDocument:oe=>{const{normalize:ie}=oe;return ie(["平台文档(内嵌)"])},externalLink:oe=>{const{normalize:ie}=oe;return ie(["平台文档(外链)"])},hsEpDocument:oe=>{const{normalize:ie}=oe;return ie(["Element Plus 文档(内嵌)"])},hsVueDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue3 文档(内嵌)"])},hsViteDocument:oe=>{const{normalize:ie}=oe;return ie(["Vite 文档(内嵌)"])},hsPiniaDocument:oe=>{const{normalize:ie}=oe;return ie(["Pinia 文档(内嵌)"])},hsRouterDocument:oe=>{const{normalize:ie}=oe;return ie(["Vue Router 文档(内嵌)"])},hsTailwindcssDocument:oe=>{const{normalize:ie}=oe;return ie(["Tailwindcss 文档(内嵌)"])},hsAbout:oe=>{const{normalize:ie}=oe;return ie(["关于"])},hsResult:oe=>{const{normalize:ie}=oe;return ie(["结果页面"])},hsSuccess:oe=>{const{normalize:ie}=oe;return ie(["成功页面"])},hsFail:oe=>{const{normalize:ie}=oe;return ie(["失败页面"])},hsIconSelect:oe=>{const{normalize:ie}=oe;return ie(["图标选择器"])},hsTimeline:oe=>{const{normalize:ie}=oe;return ie(["时间线"])},hsLineTree:oe=>{const{normalize:ie}=oe;return ie(["树形连接线"])},hsList:oe=>{const{normalize:ie}=oe;return ie(["列表页"])},hsListCard:oe=>{const{normalize:ie}=oe;return ie(["卡片列表页"])},hsDebounce:oe=>{const{normalize:ie}=oe;return ie(["防抖节流"])},hsFormDesign:oe=>{const{normalize:ie}=oe;return ie(["表单设计器"])},hsBarcode:oe=>{const{normalize:ie}=oe;return ie(["条形码"])},hsQrcode:oe=>{const{normalize:ie}=oe;return ie(["二维码"])},hsCascader:oe=>{const{normalize:ie}=oe;return ie(["区域级联选择器"])},hsSwiper:oe=>{const{normalize:ie}=oe;return ie(["Swiper插件"])},hsVirtualList:oe=>{const{normalize:ie}=oe;return ie(["虚拟列表"])},hsPdf:oe=>{const{normalize:ie}=oe;return ie(["PDF预览"])},hsExecl:oe=>{const{normalize:ie}=oe;return ie(["导出Excel"])},hsInfiniteScroll:oe=>{const{normalize:ie}=oe;return ie(["表格无限滚动"])},hsSensitive:oe=>{const{normalize:ie}=oe;return ie(["敏感词过滤"])},hsPinyin:oe=>{const{normalize:ie}=oe;return ie(["汉语拼音"])},hsdanmaku:oe=>{const{normalize:ie}=oe;return ie(["弹幕组件"])},hsPureTableBase:oe=>{const{normalize:ie}=oe;return ie(["基础用法(23个示例)"])},hsPureTableHigh:oe=>{const{normalize:ie}=oe;return ie(["高级用法(11个示例)"])},hsTree:oe=>{const{normalize:ie}=oe;return ie(["大数据树业务组件"])},hsMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["目录超出显示 Tooltip 文字提示"])},hsChildMenuoverflow:oe=>{const{normalize:ie}=oe;return ie(["菜单超出显示 Tooltip 文字提示"])}},status:{hsLoad:oe=>{const{normalize:ie}=oe;return ie(["加载中..."])}},login:{username:oe=>{const{normalize:ie}=oe;return ie(["账号"])},password:oe=>{const{normalize:ie}=oe;return ie(["密码"])},verifyCode:oe=>{const{normalize:ie}=oe;return ie(["验证码"])},remember:oe=>{const{normalize:ie}=oe;return ie(["记住密码"])},sure:oe=>{const{normalize:ie}=oe;return ie(["确认密码"])},forget:oe=>{const{normalize:ie}=oe;return ie(["忘记密码?"])},login:oe=>{const{normalize:ie}=oe;return ie(["登录"])},thirdLogin:oe=>{const{normalize:ie}=oe;return ie(["第三方登录"])},phoneLogin:oe=>{const{normalize:ie}=oe;return ie(["手机登录"])},qRCodeLogin:oe=>{const{normalize:ie}=oe;return ie(["二维码登录"])},register:oe=>{const{normalize:ie}=oe;return ie(["注册"])},weChatLogin:oe=>{const{normalize:ie}=oe;return ie(["微信登录"])},alipayLogin:oe=>{const{normalize:ie}=oe;return ie(["支付宝登录"])},qqLogin:oe=>{const{normalize:ie}=oe;return ie(["QQ登录"])},weiboLogin:oe=>{const{normalize:ie}=oe;return ie(["微博登录"])},phone:oe=>{const{normalize:ie}=oe;return ie(["手机号码"])},smsVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["短信验证码"])},back:oe=>{const{normalize:ie}=oe;return ie(["返回"])},test:oe=>{const{normalize:ie}=oe;return ie(["模拟测试"])},tip:oe=>{const{normalize:ie}=oe;return ie(['扫码后点击"确认",即可完成登录'])},definite:oe=>{const{normalize:ie}=oe;return ie(["确定"])},loginSuccess:oe=>{const{normalize:ie}=oe;return ie(["登录成功"])},registerSuccess:oe=>{const{normalize:ie}=oe;return ie(["注册成功"])},tickPrivacy:oe=>{const{normalize:ie}=oe;return ie(["请勾选隐私政策"])},readAccept:oe=>{const{normalize:ie}=oe;return ie(["我已仔细阅读并接受"])},privacyPolicy:oe=>{const{normalize:ie}=oe;return ie(["《隐私政策》"])},getVerifyCode:oe=>{const{normalize:ie}=oe;return ie(["获取验证码"])},info:oe=>{const{normalize:ie}=oe;return ie(["秒后重新获取"])},usernameReg:oe=>{const{normalize:ie}=oe;return ie(["请输入账号"])},passwordReg:oe=>{const{normalize:ie}=oe;return ie(["请输入密码"])},verifyCodeReg:oe=>{const{normalize:ie}=oe;return ie(["请输入验证码"])},verifyCodeCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["请输入正确的验证码"])},verifyCodeSixReg:oe=>{const{normalize:ie}=oe;return ie(["请输入6位数字验证码"])},phoneReg:oe=>{const{normalize:ie}=oe;return ie(["请输入手机号码"])},phoneCorrectReg:oe=>{const{normalize:ie}=oe;return ie(["请输入正确的手机号码格式"])},passwordRuleReg:oe=>{const{normalize:ie}=oe;return ie(["密码格式应为8-18位数字、字母、符号的任意两种组合"])},passwordSureReg:oe=>{const{normalize:ie}=oe;return ie(["请输入确认密码"])},passwordDifferentReg:oe=>{const{normalize:ie}=oe;return ie(["两次密码不一致!"])},passwordUpdateReg:oe=>{const{normalize:ie}=oe;return ie(["修改密码成功"])}}},__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:resource},Symbol.toStringTag,{value:"Module"}));/*! * shared v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. @@ -173,7 +173,7 @@ var Fi=Object.defineProperty;var zi=(oe,ie,le)=>ie in oe?Fi(oe,ie,{enumerable:!0 * Released under the MIT License. */const VERSION$1="9.2.2";let code=CompileErrorCodes.__EXTEND_POINT__;const inc=()=>++code,I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSLALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSLALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(oe,...ie){return createCompileError(oe,null,void 0)}const TransrateVNodeSymbol=makeSymbol("__transrateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules");makeSymbol("__intlifyMeta");const InejctWithOption=makeSymbol("__injectWithOption");function handleFlatJson(oe){if(!isObject$6(oe))return oe;for(const ie in oe)if(hasOwn$3(oe,ie))if(!ie.includes("."))isObject$6(oe[ie])&&handleFlatJson(oe[ie]);else{const le=ie.split("."),ue=le.length-1;let de=oe;for(let pe=0;pe{if("locale"in _e&&"resource"in _e){const{locale:$e,resource:Ie}=_e;$e?(he[$e]=he[$e]||{},deepCopy(Ie,he[$e])):deepCopy(Ie,he)}else isString$4(_e)&&deepCopy(JSON.parse(_e),he)}),de==null&&pe)for(const _e in he)hasOwn$3(he,_e)&&handleFlatJson(he[_e]);return he}const isNotObjectOrIsArray=oe=>!isObject$6(oe)||isArray$9(oe);function deepCopy(oe,ie){if(isNotObjectOrIsArray(oe)||isNotObjectOrIsArray(ie))throw createI18nError(I18nErrorCodes.INVALID_VALUE);for(const le in oe)hasOwn$3(oe,le)&&(isNotObjectOrIsArray(oe[le])||isNotObjectOrIsArray(ie[le])?ie[le]=oe[le]:deepCopy(oe[le],ie[le]))}function getComponentOptions(oe){return oe.type}function adjustI18nResources(oe,ie,le){let ue=isObject$6(ie.messages)?ie.messages:{};"__i18nGlobal"in le&&(ue=getLocaleMessages(oe.locale.value,{messages:ue,__i18n:le.__i18nGlobal}));const de=Object.keys(ue);de.length&&de.forEach(pe=>{oe.mergeLocaleMessage(pe,ue[pe])});{if(isObject$6(ie.datetimeFormats)){const pe=Object.keys(ie.datetimeFormats);pe.length&&pe.forEach(he=>{oe.mergeDateTimeFormat(he,ie.datetimeFormats[he])})}if(isObject$6(ie.numberFormats)){const pe=Object.keys(ie.numberFormats);pe.length&&pe.forEach(he=>{oe.mergeNumberFormat(he,ie.numberFormats[he])})}}}function createTextNode(oe){return createVNode(Text$1,null,oe,0)}let composerID=0;function defineCoreMissingHandler(oe){return(ie,le,ue,de)=>oe(le,ue,getCurrentInstance()||void 0,de)}function createComposer(oe={},ie){const{__root:le}=oe,ue=le===void 0;let de=isBoolean$2(oe.inheritLocale)?oe.inheritLocale:!0;const pe=ref(le&&de?le.locale.value:isString$4(oe.locale)?oe.locale:DEFAULT_LOCALE$1),he=ref(le&&de?le.fallbackLocale.value:isString$4(oe.fallbackLocale)||isArray$9(oe.fallbackLocale)||isPlainObject$2(oe.fallbackLocale)||oe.fallbackLocale===!1?oe.fallbackLocale:pe.value),_e=ref(getLocaleMessages(pe.value,oe)),$e=ref(isPlainObject$2(oe.datetimeFormats)?oe.datetimeFormats:{[pe.value]:{}}),Ie=ref(isPlainObject$2(oe.numberFormats)?oe.numberFormats:{[pe.value]:{}});let Ve=le?le.missingWarn:isBoolean$2(oe.missingWarn)||isRegExp$4(oe.missingWarn)?oe.missingWarn:!0,Fe=le?le.fallbackWarn:isBoolean$2(oe.fallbackWarn)||isRegExp$4(oe.fallbackWarn)?oe.fallbackWarn:!0,Ue=le?le.fallbackRoot:isBoolean$2(oe.fallbackRoot)?oe.fallbackRoot:!0,qe=!!oe.fallbackFormat,Et=isFunction$2(oe.missing)?oe.missing:null,At=isFunction$2(oe.missing)?defineCoreMissingHandler(oe.missing):null,Lt=isFunction$2(oe.postTranslation)?oe.postTranslation:null,hn=le?le.warnHtmlMessage:isBoolean$2(oe.warnHtmlMessage)?oe.warnHtmlMessage:!0,vn=!!oe.escapeParameter;const _n=le?le.modifiers:isPlainObject$2(oe.modifiers)?oe.modifiers:{};let bn=oe.pluralRules||le&&le.pluralRules,Sn;Sn=(()=>{const ir={version:VERSION$1,locale:pe.value,fallbackLocale:he.value,messages:_e.value,modifiers:_n,pluralRules:bn,missing:At===null?void 0:At,missingWarn:Ve,fallbackWarn:Fe,fallbackFormat:qe,unresolving:!0,postTranslation:Lt===null?void 0:Lt,warnHtmlMessage:hn,escapeParameter:vn,messageResolver:oe.messageResolver,__meta:{framework:"vue"}};return ir.datetimeFormats=$e.value,ir.numberFormats=Ie.value,ir.__datetimeFormatters=isPlainObject$2(Sn)?Sn.__datetimeFormatters:void 0,ir.__numberFormatters=isPlainObject$2(Sn)?Sn.__numberFormatters:void 0,createCoreContext(ir)})(),updateFallbackLocale(Sn,pe.value,he.value);function En(){return[pe.value,he.value,_e.value,$e.value,Ie.value]}const $n=computed({get:()=>pe.value,set:ir=>{pe.value=ir,Sn.locale=pe.value}}),wn=computed({get:()=>he.value,set:ir=>{he.value=ir,Sn.fallbackLocale=he.value,updateFallbackLocale(Sn,pe.value,ir)}}),Pn=computed(()=>_e.value),xn=computed(()=>$e.value),An=computed(()=>Ie.value);function On(){return isFunction$2(Lt)?Lt:null}function In(ir){Lt=ir,Sn.postTranslation=ir}function Fn(){return Et}function Vn(ir){ir!==null&&(At=defineCoreMissingHandler(ir)),Et=ir,Sn.missing=At}const Dn=(ir,dr,pr,kr,Rr,Hr)=>{En();let Vr;if(Vr=ir(Sn),isNumber$3(Vr)&&Vr===NOT_REOSLVED){const[$r,wr]=dr();return le&&Ue?kr(le):Rr($r)}else{if(Hr(Vr))return Vr;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function zn(...ir){return Dn(dr=>Reflect.apply(translate$1,null,[dr,...ir]),()=>parseTranslateArgs(...ir),"translate",dr=>Reflect.apply(dr.t,dr,[...ir]),dr=>dr,dr=>isString$4(dr))}function Mn(...ir){const[dr,pr,kr]=ir;if(kr&&!isObject$6(kr))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return zn(dr,pr,assign$4({resolvedMessage:!0},kr||{}))}function Hn(...ir){return Dn(dr=>Reflect.apply(datetime,null,[dr,...ir]),()=>parseDateTimeArgs(...ir),"datetime format",dr=>Reflect.apply(dr.d,dr,[...ir]),()=>MISSING_RESOLVE_VALUE,dr=>isString$4(dr))}function Wn(...ir){return Dn(dr=>Reflect.apply(number$2,null,[dr,...ir]),()=>parseNumberArgs(...ir),"number format",dr=>Reflect.apply(dr.n,dr,[...ir]),()=>MISSING_RESOLVE_VALUE,dr=>isString$4(dr))}function Un(ir){return ir.map(dr=>isString$4(dr)||isNumber$3(dr)||isBoolean$2(dr)?createTextNode(String(dr)):dr)}const ar={normalize:Un,interpolate:ir=>ir,type:"vnode"};function mr(...ir){return Dn(dr=>{let pr;const kr=dr;try{kr.processor=ar,pr=Reflect.apply(translate$1,null,[kr,...ir])}finally{kr.processor=null}return pr},()=>parseTranslateArgs(...ir),"translate",dr=>dr[TransrateVNodeSymbol](...ir),dr=>[createTextNode(dr)],dr=>isArray$9(dr))}function rr(...ir){return Dn(dr=>Reflect.apply(number$2,null,[dr,...ir]),()=>parseNumberArgs(...ir),"number format",dr=>dr[NumberPartsSymbol](...ir),()=>[],dr=>isString$4(dr)||isArray$9(dr))}function Yn(...ir){return Dn(dr=>Reflect.apply(datetime,null,[dr,...ir]),()=>parseDateTimeArgs(...ir),"datetime format",dr=>dr[DatetimePartsSymbol](...ir),()=>[],dr=>isString$4(dr)||isArray$9(dr))}function Kn(ir){bn=ir,Sn.pluralRules=bn}function tr(ir,dr){const pr=isString$4(dr)?dr:pe.value,kr=jn(pr);return Sn.messageResolver(kr,ir)!==null}function lr(ir){let dr=null;const pr=fallbackWithLocaleChain(Sn,he.value,pe.value);for(let kr=0;kr{de&&(pe.value=ir,Sn.locale=ir,updateFallbackLocale(Sn,pe.value,he.value))}),watch(le.fallbackLocale,ir=>{de&&(he.value=ir,Sn.fallbackLocale=ir,updateFallbackLocale(Sn,pe.value,he.value))}));const vr={id:composerID,locale:$n,fallbackLocale:wn,get inheritLocale(){return de},set inheritLocale(ir){de=ir,ir&&le&&(pe.value=le.locale.value,he.value=le.fallbackLocale.value,updateFallbackLocale(Sn,pe.value,he.value))},get availableLocales(){return Object.keys(_e.value).sort()},messages:Pn,get modifiers(){return _n},get pluralRules(){return bn||{}},get isGlobal(){return ue},get missingWarn(){return Ve},set missingWarn(ir){Ve=ir,Sn.missingWarn=Ve},get fallbackWarn(){return Fe},set fallbackWarn(ir){Fe=ir,Sn.fallbackWarn=Fe},get fallbackRoot(){return Ue},set fallbackRoot(ir){Ue=ir},get fallbackFormat(){return qe},set fallbackFormat(ir){qe=ir,Sn.fallbackFormat=qe},get warnHtmlMessage(){return hn},set warnHtmlMessage(ir){hn=ir,Sn.warnHtmlMessage=ir},get escapeParameter(){return vn},set escapeParameter(ir){vn=ir,Sn.escapeParameter=ir},t:zn,getLocaleMessage:jn,setLocaleMessage:Xn,mergeLocaleMessage:or,getPostTranslationHandler:On,setPostTranslationHandler:In,getMissingHandler:Fn,setMissingHandler:Vn,[SetPluralRulesSymbol]:Kn};return vr.datetimeFormats=xn,vr.numberFormats=An,vr.rt=Mn,vr.te=tr,vr.tm=ur,vr.d=Hn,vr.n=Wn,vr.getDateTimeFormat=hr,vr.setDateTimeFormat=Cr,vr.mergeDateTimeFormat=fr,vr.getNumberFormat=xr,vr.setNumberFormat=br,vr.mergeNumberFormat=yr,vr[InejctWithOption]=oe.__injectWithOption,vr[TransrateVNodeSymbol]=mr,vr[DatetimePartsSymbol]=Yn,vr[NumberPartsSymbol]=rr,vr}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:oe=>oe==="parent"||oe==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:oe},ie){return ie.length===1&&ie[0]==="default"?(oe.default?oe.default():[]).reduce((ue,de)=>ue=[...ue,...isArray$9(de.children)?de.children:[de]],[]):ie.reduce((le,ue)=>{const de=oe[ue];return de&&(le[ue]=de()),le},{})}function getFragmentableTag(oe){return Fragment}const Translation={name:"i18n-t",props:assign$4({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:oe=>isNumber$3(oe)||!isNaN(oe)}},baseFormatProps),setup(oe,ie){const{slots:le,attrs:ue}=ie,de=oe.i18n||useI18n$1({useScope:oe.scope,__useComponent:!0});return()=>{const pe=Object.keys(le).filter(Fe=>Fe!=="_"),he={};oe.locale&&(he.locale=oe.locale),oe.plural!==void 0&&(he.plural=isString$4(oe.plural)?+oe.plural:oe.plural);const _e=getInterpolateArg(ie,pe),$e=de[TransrateVNodeSymbol](oe.keypath,_e,he),Ie=assign$4({},ue),Ve=isString$4(oe.tag)||isObject$6(oe.tag)?oe.tag:getFragmentableTag();return h$3(Ve,Ie,$e)}}};function isVNode(oe){return isArray$9(oe)&&!isString$4(oe[0])}function renderFormatter(oe,ie,le,ue){const{slots:de,attrs:pe}=ie;return()=>{const he={part:!0};let _e={};oe.locale&&(he.locale=oe.locale),isString$4(oe.format)?he.key=oe.format:isObject$6(oe.format)&&(isString$4(oe.format.key)&&(he.key=oe.format.key),_e=Object.keys(oe.format).reduce((Ue,qe)=>le.includes(qe)?assign$4({},Ue,{[qe]:oe.format[qe]}):Ue,{}));const $e=ue(oe.value,he,_e);let Ie=[he.key];isArray$9($e)?Ie=$e.map((Ue,qe)=>{const Et=de[Ue.type],At=Et?Et({[Ue.type]:Ue.value,index:qe,parts:$e}):[Ue.value];return isVNode(At)&&(At[0].key=`${Ue.type}-${qe}`),At}):isString$4($e)&&(Ie=[$e]);const Ve=assign$4({},pe),Fe=isString$4(oe.tag)||isObject$6(oe.tag)?oe.tag:getFragmentableTag();return h$3(Fe,Ve,Ie)}}const NumberFormat={name:"i18n-n",props:assign$4({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(oe,ie){const le=oe.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter(oe,ie,NUMBER_FORMAT_OPTIONS_KEYS,(...ue)=>le[NumberPartsSymbol](...ue))}},DatetimeFormat={name:"i18n-d",props:assign$4({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(oe,ie){const le=oe.i18n||useI18n$1({useScope:"parent",__useComponent:!0});return renderFormatter(oe,ie,DATETIME_FORMAT_OPTIONS_KEYS,(...ue)=>le[DatetimePartsSymbol](...ue))}};function getComposer$2(oe,ie){const le=oe;if(oe.mode==="composition")return le.__getInstance(ie)||oe.global;{const ue=le.__getInstance(ie);return ue!=null?ue.__composer:oe.global.__composer}}function vTDirective(oe){const ie=he=>{const{instance:_e,modifiers:$e,value:Ie}=he;if(!_e||!_e.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const Ve=getComposer$2(oe,_e.$),Fe=parseValue(Ie);return[Reflect.apply(Ve.t,Ve,[...makeParams(Fe)]),Ve]};return{created:(he,_e)=>{const[$e,Ie]=ie(_e);inBrowser&&oe.global===Ie&&(he.__i18nWatcher=watch(Ie.locale,()=>{_e.instance&&_e.instance.$forceUpdate()})),he.__composer=Ie,he.textContent=$e},unmounted:he=>{inBrowser&&he.__i18nWatcher&&(he.__i18nWatcher(),he.__i18nWatcher=void 0,delete he.__i18nWatcher),he.__composer&&(he.__composer=void 0,delete he.__composer)},beforeUpdate:(he,{value:_e})=>{if(he.__composer){const $e=he.__composer,Ie=parseValue(_e);he.textContent=Reflect.apply($e.t,$e,[...makeParams(Ie)])}},getSSRProps:he=>{const[_e]=ie(he);return{textContent:_e}}}}function parseValue(oe){if(isString$4(oe))return{path:oe};if(isPlainObject$2(oe)){if(!("path"in oe))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return oe}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(oe){const{path:ie,locale:le,args:ue,choice:de,plural:pe}=oe,he={},_e=ue||{};return isString$4(le)&&(he.locale=le),isNumber$3(de)&&(he.plural=de),isNumber$3(pe)&&(he.plural=pe),[ie,_e,he]}function apply(oe,ie,...le){const ue=isPlainObject$2(le[0])?le[0]:{},de=!!ue.useI18nComponentName;(isBoolean$2(ue.globalInstall)?ue.globalInstall:!0)&&(oe.component(de?"i18n":Translation.name,Translation),oe.component(NumberFormat.name,NumberFormat),oe.component(DatetimeFormat.name,DatetimeFormat)),oe.directive("t",vTDirective(ie))}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(oe={},ie){const le=isBoolean$2(oe.globalInjection)?oe.globalInjection:!0,ue=!0,de=new Map,[pe,he]=createGlobal(oe),_e=makeSymbol("");function $e(Fe){return de.get(Fe)||null}function Ie(Fe,Ue){de.set(Fe,Ue)}function Ve(Fe){de.delete(Fe)}{const Fe={get mode(){return"composition"},get allowComposition(){return ue},async install(Ue,...qe){Ue.__VUE_I18N_SYMBOL__=_e,Ue.provide(Ue.__VUE_I18N_SYMBOL__,Fe),le&&injectGlobalFields(Ue,Fe.global),apply(Ue,Fe,...qe);const Et=Ue.unmount;Ue.unmount=()=>{Fe.dispose(),Et()}},get global(){return he},dispose(){pe.stop()},__instances:de,__getInstance:$e,__setInstance:Ie,__deleteInstance:Ve};return Fe}}function useI18n$1(oe={}){const ie=getCurrentInstance();if(ie==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!ie.isCE&&ie.appContext.app!=null&&!ie.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSLALLED);const le=getI18nInstance(ie),ue=getGlobalComposer(le),de=getComponentOptions(ie),pe=getScope(oe,de);if(pe==="global")return adjustI18nResources(ue,oe,de),ue;if(pe==="parent"){let $e=getComposer(le,ie,oe.__useComponent);return $e==null&&($e=ue),$e}const he=le;let _e=he.__getInstance(ie);if(_e==null){const $e=assign$4({},oe);"__i18n"in de&&($e.__i18n=de.__i18n),ue&&($e.__root=ue),_e=createComposer($e),setupLifeCycle(he,ie),he.__setInstance(ie,_e)}return _e}function createGlobal(oe,ie,le){const ue=effectScope();{const de=ue.run(()=>createComposer(oe));if(de==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[ue,de]}}function getI18nInstance(oe){{const ie=inject(oe.isCE?I18nInjectionKey:oe.appContext.app.__VUE_I18N_SYMBOL__);if(!ie)throw createI18nError(oe.isCE?I18nErrorCodes.NOT_INSLALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return ie}}function getScope(oe,ie){return isEmptyObject(oe)?"__i18n"in ie?"local":"global":oe.useScope?oe.useScope:"local"}function getGlobalComposer(oe){return oe.mode==="composition"?oe.global:oe.global.__composer}function getComposer(oe,ie,le=!1){let ue=null;const de=ie.root;let pe=ie.parent;for(;pe!=null;){const he=oe;if(oe.mode==="composition"&&(ue=he.__getInstance(pe)),ue!=null||de===pe)break;pe=pe.parent}return ue}function setupLifeCycle(oe,ie,le){onMounted(()=>{},ie),onUnmounted(()=>{oe.__deleteInstance(ie)},ie)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm"];function injectGlobalFields(oe,ie){const le=Object.create(null);globalExportProps.forEach(ue=>{const de=Object.getOwnPropertyDescriptor(ie,ue);if(!de)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const pe=isRef(de.value)?{get(){return de.value.value},set(he){de.value.value=he}}:{get(){return de.get&&de.get()}};Object.defineProperty(le,ue,pe)}),oe.config.globalProperties.$i18n=le,globalExportMethods.forEach(ue=>{const de=Object.getOwnPropertyDescriptor(ie,ue);if(!de||!de.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(oe.config.globalProperties,`$${ue}`,de)})}registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);function bind$4(oe,ie){return function(){return oe.apply(ie,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(oe=>ie=>{const le=toString.call(ie);return oe[le]||(oe[le]=le.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=oe=>(oe=oe.toLowerCase(),ie=>kindOf(ie)===oe),typeOfTest=oe=>ie=>typeof ie===oe,{isArray:isArray$8}=Array,isUndefined=typeOfTest("undefined");function isBuffer$1(oe){return oe!==null&&!isUndefined(oe)&&oe.constructor!==null&&!isUndefined(oe.constructor)&&isFunction$1(oe.constructor.isBuffer)&&oe.constructor.isBuffer(oe)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(oe){let ie;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ie=ArrayBuffer.isView(oe):ie=oe&&oe.buffer&&isArrayBuffer(oe.buffer),ie}const isString$3=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$2=typeOfTest("number"),isObject$5=oe=>oe!==null&&typeof oe=="object",isBoolean$1=oe=>oe===!0||oe===!1,isPlainObject$1=oe=>{if(kindOf(oe)!=="object")return!1;const ie=getPrototypeOf(oe);return(ie===null||ie===Object.prototype||Object.getPrototypeOf(ie)===null)&&!(Symbol.toStringTag in oe)&&!(Symbol.iterator in oe)},isDate$1=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=oe=>isObject$5(oe)&&isFunction$1(oe.pipe),isFormData=oe=>{let ie;return oe&&(typeof FormData=="function"&&oe instanceof FormData||isFunction$1(oe.append)&&((ie=kindOf(oe))==="formdata"||ie==="object"&&isFunction$1(oe.toString)&&oe.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),trim$2=oe=>oe.trim?oe.trim():oe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(oe,ie,{allOwnKeys:le=!1}={}){if(oe===null||typeof oe>"u")return;let ue,de;if(typeof oe!="object"&&(oe=[oe]),isArray$8(oe))for(ue=0,de=oe.length;ue0;)if(de=le[ue],ie===de.toLowerCase())return de;return null}const _global=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),isContextDefined=oe=>!isUndefined(oe)&&oe!==_global;function merge$2(){const{caseless:oe}=isContextDefined(this)&&this||{},ie={},le=(ue,de)=>{const pe=oe&&findKey(ie,de)||de;isPlainObject$1(ie[pe])&&isPlainObject$1(ue)?ie[pe]=merge$2(ie[pe],ue):isPlainObject$1(ue)?ie[pe]=merge$2({},ue):isArray$8(ue)?ie[pe]=ue.slice():ie[pe]=ue};for(let ue=0,de=arguments.length;ue(forEach(ie,(de,pe)=>{le&&isFunction$1(de)?oe[pe]=bind$4(de,le):oe[pe]=de},{allOwnKeys:ue}),oe),stripBOM=oe=>(oe.charCodeAt(0)===65279&&(oe=oe.slice(1)),oe),inherits$1=(oe,ie,le,ue)=>{oe.prototype=Object.create(ie.prototype,ue),oe.prototype.constructor=oe,Object.defineProperty(oe,"super",{value:ie.prototype}),le&&Object.assign(oe.prototype,le)},toFlatObject=(oe,ie,le,ue)=>{let de,pe,he;const _e={};if(ie=ie||{},oe==null)return ie;do{for(de=Object.getOwnPropertyNames(oe),pe=de.length;pe-- >0;)he=de[pe],(!ue||ue(he,oe,ie))&&!_e[he]&&(ie[he]=oe[he],_e[he]=!0);oe=le!==!1&&getPrototypeOf(oe)}while(oe&&(!le||le(oe,ie))&&oe!==Object.prototype);return ie},endsWith=(oe,ie,le)=>{oe=String(oe),(le===void 0||le>oe.length)&&(le=oe.length),le-=ie.length;const ue=oe.indexOf(ie,le);return ue!==-1&&ue===le},toArray=oe=>{if(!oe)return null;if(isArray$8(oe))return oe;let ie=oe.length;if(!isNumber$2(ie))return null;const le=new Array(ie);for(;ie-- >0;)le[ie]=oe[ie];return le},isTypedArray$1=(oe=>ie=>oe&&ie instanceof oe)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(oe,ie)=>{const ue=(oe&&oe[Symbol.iterator]).call(oe);let de;for(;(de=ue.next())&&!de.done;){const pe=de.value;ie.call(oe,pe[0],pe[1])}},matchAll=(oe,ie)=>{let le;const ue=[];for(;(le=oe.exec(ie))!==null;)ue.push(le);return ue},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=oe=>oe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(le,ue,de){return ue.toUpperCase()+de}),hasOwnProperty=(({hasOwnProperty:oe})=>(ie,le)=>oe.call(ie,le))(Object.prototype),isRegExp$3=kindOfTest("RegExp"),reduceDescriptors=(oe,ie)=>{const le=Object.getOwnPropertyDescriptors(oe),ue={};forEach(le,(de,pe)=>{ie(de,pe,oe)!==!1&&(ue[pe]=de)}),Object.defineProperties(oe,ue)},freezeMethods=oe=>{reduceDescriptors(oe,(ie,le)=>{if(isFunction$1(oe)&&["arguments","caller","callee"].indexOf(le)!==-1)return!1;const ue=oe[le];if(isFunction$1(ue)){if(ie.enumerable=!1,"writable"in ie){ie.writable=!1;return}ie.set||(ie.set=()=>{throw Error("Can not rewrite read-only method '"+le+"'")})}})},toObjectSet=(oe,ie)=>{const le={},ue=de=>{de.forEach(pe=>{le[pe]=!0})};return isArray$8(oe)?ue(oe):ue(String(oe).split(ie)),le},noop$3=()=>{},toFiniteNumber=(oe,ie)=>(oe=+oe,Number.isFinite(oe)?oe:ie),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(oe=16,ie=ALPHABET.ALPHA_DIGIT)=>{let le="";const{length:ue}=ie;for(;oe--;)le+=ie[Math.random()*ue|0];return le};function isSpecCompliantForm(oe){return!!(oe&&isFunction$1(oe.append)&&oe[Symbol.toStringTag]==="FormData"&&oe[Symbol.iterator])}const toJSONObject=oe=>{const ie=new Array(10),le=(ue,de)=>{if(isObject$5(ue)){if(ie.indexOf(ue)>=0)return;if(!("toJSON"in ue)){ie[de]=ue;const pe=isArray$8(ue)?[]:{};return forEach(ue,(he,_e)=>{const $e=le(he,de+1);!isUndefined($e)&&(pe[_e]=$e)}),ie[de]=void 0,pe}}return ue};return le(oe,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=oe=>oe&&(isObject$5(oe)||isFunction$1(oe))&&isFunction$1(oe.then)&&isFunction$1(oe.catch),utils$4={isArray:isArray$8,isArrayBuffer,isBuffer:isBuffer$1,isFormData,isArrayBufferView,isString:isString$3,isNumber:isNumber$2,isBoolean:isBoolean$1,isObject:isObject$5,isPlainObject:isPlainObject$1,isUndefined,isDate:isDate$1,isFile,isBlob,isRegExp:isRegExp$3,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach,merge:merge$2,extend:extend$1,trim:trim$2,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$3,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(oe,ie,le,ue,de){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=oe,this.name="AxiosError",ie&&(this.code=ie),le&&(this.config=le),ue&&(this.request=ue),de&&(this.response=de)}utils$4.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$4.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});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(oe=>{descriptors[oe]={value:oe}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(oe,ie,le,ue,de,pe)=>{const he=Object.create(prototype$1);return utils$4.toFlatObject(oe,he,function($e){return $e!==Error.prototype},_e=>_e!=="isAxiosError"),AxiosError.call(he,oe.message,ie,le,ue,de),he.cause=oe,he.name=oe.name,pe&&Object.assign(he,pe),he};const httpAdapter=null;function isVisitable(oe){return utils$4.isPlainObject(oe)||utils$4.isArray(oe)}function removeBrackets(oe){return utils$4.endsWith(oe,"[]")?oe.slice(0,-2):oe}function renderKey(oe,ie,le){return oe?oe.concat(ie).map(function(de,pe){return de=removeBrackets(de),!le&&pe?"["+de+"]":de}).join(le?".":""):ie}function isFlatArray(oe){return utils$4.isArray(oe)&&!oe.some(isVisitable)}const predicates=utils$4.toFlatObject(utils$4,{},null,function(ie){return/^is[A-Z]/.test(ie)});function toFormData(oe,ie,le){if(!utils$4.isObject(oe))throw new TypeError("target must be an object");ie=ie||new FormData,le=utils$4.toFlatObject(le,{metaTokens:!0,dots:!1,indexes:!1},!1,function(At,Lt){return!utils$4.isUndefined(Lt[At])});const ue=le.metaTokens,de=le.visitor||Ve,pe=le.dots,he=le.indexes,$e=(le.Blob||typeof Blob<"u"&&Blob)&&utils$4.isSpecCompliantForm(ie);if(!utils$4.isFunction(de))throw new TypeError("visitor must be a function");function Ie(Et){if(Et===null)return"";if(utils$4.isDate(Et))return Et.toISOString();if(!$e&&utils$4.isBlob(Et))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$4.isArrayBuffer(Et)||utils$4.isTypedArray(Et)?$e&&typeof Blob=="function"?new Blob([Et]):Buffer.from(Et):Et}function Ve(Et,At,Lt){let hn=Et;if(Et&&!Lt&&typeof Et=="object"){if(utils$4.endsWith(At,"{}"))At=ue?At:At.slice(0,-2),Et=JSON.stringify(Et);else if(utils$4.isArray(Et)&&isFlatArray(Et)||(utils$4.isFileList(Et)||utils$4.endsWith(At,"[]"))&&(hn=utils$4.toArray(Et)))return At=removeBrackets(At),hn.forEach(function(_n,bn){!(utils$4.isUndefined(_n)||_n===null)&&ie.append(he===!0?renderKey([At],bn,pe):he===null?At:At+"[]",Ie(_n))}),!1}return isVisitable(Et)?!0:(ie.append(renderKey(Lt,At,pe),Ie(Et)),!1)}const Fe=[],Ue=Object.assign(predicates,{defaultVisitor:Ve,convertValue:Ie,isVisitable});function qe(Et,At){if(!utils$4.isUndefined(Et)){if(Fe.indexOf(Et)!==-1)throw Error("Circular reference detected in "+At.join("."));Fe.push(Et),utils$4.forEach(Et,function(hn,vn){(!(utils$4.isUndefined(hn)||hn===null)&&de.call(ie,hn,utils$4.isString(vn)?vn.trim():vn,At,Ue))===!0&&qe(hn,At?At.concat(vn):[vn])}),Fe.pop()}}if(!utils$4.isObject(oe))throw new TypeError("data must be an object");return qe(oe),ie}function encode$2(oe){const ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(oe).replace(/[!'()~]|%20|%00/g,function(ue){return ie[ue]})}function AxiosURLSearchParams(oe,ie){this._pairs=[],oe&&toFormData(oe,this,ie)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(ie,le){this._pairs.push([ie,le])};prototype.toString=function(ie){const le=ie?function(ue){return ie.call(this,ue,encode$2)}:encode$2;return this._pairs.map(function(de){return le(de[0])+"="+le(de[1])},"").join("&")};function encode$1(oe){return encodeURIComponent(oe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(oe,ie,le){if(!ie)return oe;const ue=le&&le.encode||encode$1,de=le&&le.serialize;let pe;if(de?pe=de(ie,le):pe=utils$4.isURLSearchParams(ie)?ie.toString():new AxiosURLSearchParams(ie,le).toString(ue),pe){const he=oe.indexOf("#");he!==-1&&(oe=oe.slice(0,he)),oe+=(oe.indexOf("?")===-1?"?":"&")+pe}return oe}class InterceptorManager{constructor(){this.handlers=[]}use(ie,le,ue){return this.handlers.push({fulfilled:ie,rejected:le,synchronous:ue?ue.synchronous:!1,runWhen:ue?ue.runWhen:null}),this.handlers.length-1}eject(ie){this.handlers[ie]&&(this.handlers[ie]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(ie){utils$4.forEach(this.handlers,function(ue){ue!==null&&ie(ue)})}}const InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,isStandardBrowserEnv=(()=>{let oe;return typeof navigator<"u"&&((oe=navigator.product)==="ReactNative"||oe==="NativeScript"||oe==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),isStandardBrowserWebWorkerEnv=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},isStandardBrowserEnv,isStandardBrowserWebWorkerEnv,protocols:["http","https","file","blob","url","data"]};function toURLEncodedForm(oe,ie){return toFormData(oe,new platform$1.classes.URLSearchParams,Object.assign({visitor:function(le,ue,de,pe){return platform$1.isNode&&utils$4.isBuffer(le)?(this.append(ue,le.toString("base64")),!1):pe.defaultVisitor.apply(this,arguments)}},ie))}function parsePropPath(oe){return utils$4.matchAll(/\w+|\[(\w*)]/g,oe).map(ie=>ie[0]==="[]"?"":ie[1]||ie[0])}function arrayToObject$1(oe){const ie={},le=Object.keys(oe);let ue;const de=le.length;let pe;for(ue=0;ue=le.length;return he=!he&&utils$4.isArray(de)?de.length:he,$e?(utils$4.hasOwnProp(de,he)?de[he]=[de[he],ue]:de[he]=ue,!_e):((!de[he]||!utils$4.isObject(de[he]))&&(de[he]=[]),ie(le,ue,de[he],pe)&&utils$4.isArray(de[he])&&(de[he]=arrayToObject$1(de[he])),!_e)}if(utils$4.isFormData(oe)&&utils$4.isFunction(oe.entries)){const le={};return utils$4.forEachEntry(oe,(ue,de)=>{ie(parsePropPath(ue),de,le,0)}),le}return null}const DEFAULT_CONTENT_TYPE={"Content-Type":void 0};function stringifySafely(oe,ie,le){if(utils$4.isString(oe))try{return(ie||JSON.parse)(oe),utils$4.trim(oe)}catch(ue){if(ue.name!=="SyntaxError")throw ue}return(le||JSON.stringify)(oe)}const defaults$3={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(ie,le){const ue=le.getContentType()||"",de=ue.indexOf("application/json")>-1,pe=utils$4.isObject(ie);if(pe&&utils$4.isHTMLForm(ie)&&(ie=new FormData(ie)),utils$4.isFormData(ie))return de&&de?JSON.stringify(formDataToJSON(ie)):ie;if(utils$4.isArrayBuffer(ie)||utils$4.isBuffer(ie)||utils$4.isStream(ie)||utils$4.isFile(ie)||utils$4.isBlob(ie))return ie;if(utils$4.isArrayBufferView(ie))return ie.buffer;if(utils$4.isURLSearchParams(ie))return le.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),ie.toString();let _e;if(pe){if(ue.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(ie,this.formSerializer).toString();if((_e=utils$4.isFileList(ie))||ue.indexOf("multipart/form-data")>-1){const $e=this.env&&this.env.FormData;return toFormData(_e?{"files[]":ie}:ie,$e&&new $e,this.formSerializer)}}return pe||de?(le.setContentType("application/json",!1),stringifySafely(ie)):ie}],transformResponse:[function(ie){const le=this.transitional||defaults$3.transitional,ue=le&&le.forcedJSONParsing,de=this.responseType==="json";if(ie&&utils$4.isString(ie)&&(ue&&!this.responseType||de)){const he=!(le&&le.silentJSONParsing)&&de;try{return JSON.parse(ie)}catch(_e){if(he)throw _e.name==="SyntaxError"?AxiosError.from(_e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):_e}}return ie}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$1.classes.FormData,Blob:platform$1.classes.Blob},validateStatus:function(ie){return ie>=200&&ie<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils$4.forEach(["delete","get","head"],function(ie){defaults$3.headers[ie]={}});utils$4.forEach(["post","put","patch"],function(ie){defaults$3.headers[ie]=utils$4.merge(DEFAULT_CONTENT_TYPE)});const defaults$4=defaults$3,ignoreDuplicateOf=utils$4.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=oe=>{const ie={};let le,ue,de;return oe&&oe.split(` `).forEach(function(he){de=he.indexOf(":"),le=he.substring(0,de).trim().toLowerCase(),ue=he.substring(de+1).trim(),!(!le||ie[le]&&ignoreDuplicateOf[le])&&(le==="set-cookie"?ie[le]?ie[le].push(ue):ie[le]=[ue]:ie[le]=ie[le]?ie[le]+", "+ue:ue)}),ie},$internals=Symbol("internals");function normalizeHeader(oe){return oe&&String(oe).trim().toLowerCase()}function normalizeValue(oe){return oe===!1||oe==null?oe:utils$4.isArray(oe)?oe.map(normalizeValue):String(oe)}function parseTokens(oe){const ie=Object.create(null),le=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let ue;for(;ue=le.exec(oe);)ie[ue[1]]=ue[2];return ie}const isValidHeaderName=oe=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(oe.trim());function matchHeaderValue(oe,ie,le,ue,de){if(utils$4.isFunction(ue))return ue.call(this,ie,le);if(de&&(ie=le),!!utils$4.isString(ie)){if(utils$4.isString(ue))return ie.indexOf(ue)!==-1;if(utils$4.isRegExp(ue))return ue.test(ie)}}function formatHeader(oe){return oe.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(ie,le,ue)=>le.toUpperCase()+ue)}function buildAccessors(oe,ie){const le=utils$4.toCamelCase(" "+ie);["get","set","has"].forEach(ue=>{Object.defineProperty(oe,ue+le,{value:function(de,pe,he){return this[ue].call(this,ie,de,pe,he)},configurable:!0})})}class AxiosHeaders{constructor(ie){ie&&this.set(ie)}set(ie,le,ue){const de=this;function pe(_e,$e,Ie){const Ve=normalizeHeader($e);if(!Ve)throw new Error("header name must be a non-empty string");const Fe=utils$4.findKey(de,Ve);(!Fe||de[Fe]===void 0||Ie===!0||Ie===void 0&&de[Fe]!==!1)&&(de[Fe||$e]=normalizeValue(_e))}const he=(_e,$e)=>utils$4.forEach(_e,(Ie,Ve)=>pe(Ie,Ve,$e));return utils$4.isPlainObject(ie)||ie instanceof this.constructor?he(ie,le):utils$4.isString(ie)&&(ie=ie.trim())&&!isValidHeaderName(ie)?he(parseHeaders(ie),le):ie!=null&&pe(le,ie,ue),this}get(ie,le){if(ie=normalizeHeader(ie),ie){const ue=utils$4.findKey(this,ie);if(ue){const de=this[ue];if(!le)return de;if(le===!0)return parseTokens(de);if(utils$4.isFunction(le))return le.call(this,de,ue);if(utils$4.isRegExp(le))return le.exec(de);throw new TypeError("parser must be boolean|regexp|function")}}}has(ie,le){if(ie=normalizeHeader(ie),ie){const ue=utils$4.findKey(this,ie);return!!(ue&&this[ue]!==void 0&&(!le||matchHeaderValue(this,this[ue],ue,le)))}return!1}delete(ie,le){const ue=this;let de=!1;function pe(he){if(he=normalizeHeader(he),he){const _e=utils$4.findKey(ue,he);_e&&(!le||matchHeaderValue(ue,ue[_e],_e,le))&&(delete ue[_e],de=!0)}}return utils$4.isArray(ie)?ie.forEach(pe):pe(ie),de}clear(ie){const le=Object.keys(this);let ue=le.length,de=!1;for(;ue--;){const pe=le[ue];(!ie||matchHeaderValue(this,this[pe],pe,ie,!0))&&(delete this[pe],de=!0)}return de}normalize(ie){const le=this,ue={};return utils$4.forEach(this,(de,pe)=>{const he=utils$4.findKey(ue,pe);if(he){le[he]=normalizeValue(de),delete le[pe];return}const _e=ie?formatHeader(pe):String(pe).trim();_e!==pe&&delete le[pe],le[_e]=normalizeValue(de),ue[_e]=!0}),this}concat(...ie){return this.constructor.concat(this,...ie)}toJSON(ie){const le=Object.create(null);return utils$4.forEach(this,(ue,de)=>{ue!=null&&ue!==!1&&(le[de]=ie&&utils$4.isArray(ue)?ue.join(", "):ue)}),le}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([ie,le])=>ie+": "+le).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(ie){return ie instanceof this?ie:new this(ie)}static concat(ie,...le){const ue=new this(ie);return le.forEach(de=>ue.set(de)),ue}static accessor(ie){const ue=(this[$internals]=this[$internals]={accessors:{}}).accessors,de=this.prototype;function pe(he){const _e=normalizeHeader(he);ue[_e]||(buildAccessors(de,he),ue[_e]=!0)}return utils$4.isArray(ie)?ie.forEach(pe):pe(ie),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$4.freezeMethods(AxiosHeaders.prototype);utils$4.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(oe,ie){const le=this||defaults$4,ue=ie||le,de=AxiosHeaders$1.from(ue.headers);let pe=ue.data;return utils$4.forEach(oe,function(_e){pe=_e.call(le,pe,de.normalize(),ie?ie.status:void 0)}),de.normalize(),pe}function isCancel(oe){return!!(oe&&oe.__CANCEL__)}function CanceledError(oe,ie,le){AxiosError.call(this,oe??"canceled",AxiosError.ERR_CANCELED,ie,le),this.name="CanceledError"}utils$4.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(oe,ie,le){const ue=le.config.validateStatus;!le.status||!ue||ue(le.status)?oe(le):ie(new AxiosError("Request failed with status code "+le.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(le.status/100)-4],le.config,le.request,le))}const cookies=platform$1.isStandardBrowserEnv?function(){return{write:function(le,ue,de,pe,he,_e){const $e=[];$e.push(le+"="+encodeURIComponent(ue)),utils$4.isNumber(de)&&$e.push("expires="+new Date(de).toGMTString()),utils$4.isString(pe)&&$e.push("path="+pe),utils$4.isString(he)&&$e.push("domain="+he),_e===!0&&$e.push("secure"),document.cookie=$e.join("; ")},read:function(le){const ue=document.cookie.match(new RegExp("(^|;\\s*)("+le+")=([^;]*)"));return ue?decodeURIComponent(ue[3]):null},remove:function(le){this.write(le,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function isAbsoluteURL(oe){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(oe)}function combineURLs(oe,ie){return ie?oe.replace(/\/+$/,"")+"/"+ie.replace(/^\/+/,""):oe}function buildFullPath(oe,ie){return oe&&!isAbsoluteURL(ie)?combineURLs(oe,ie):ie}const isURLSameOrigin=platform$1.isStandardBrowserEnv?function(){const ie=/(msie|trident)/i.test(navigator.userAgent),le=document.createElement("a");let ue;function de(pe){let he=pe;return ie&&(le.setAttribute("href",he),he=le.href),le.setAttribute("href",he),{href:le.href,protocol:le.protocol?le.protocol.replace(/:$/,""):"",host:le.host,search:le.search?le.search.replace(/^\?/,""):"",hash:le.hash?le.hash.replace(/^#/,""):"",hostname:le.hostname,port:le.port,pathname:le.pathname.charAt(0)==="/"?le.pathname:"/"+le.pathname}}return ue=de(window.location.href),function(he){const _e=utils$4.isString(he)?de(he):he;return _e.protocol===ue.protocol&&_e.host===ue.host}}():function(){return function(){return!0}}();function parseProtocol(oe){const ie=/^([-+\w]{1,25})(:?\/\/|:)/.exec(oe);return ie&&ie[1]||""}function speedometer(oe,ie){oe=oe||10;const le=new Array(oe),ue=new Array(oe);let de=0,pe=0,he;return ie=ie!==void 0?ie:1e3,function($e){const Ie=Date.now(),Ve=ue[pe];he||(he=Ie),le[de]=$e,ue[de]=Ie;let Fe=pe,Ue=0;for(;Fe!==de;)Ue+=le[Fe++],Fe=Fe%oe;if(de=(de+1)%oe,de===pe&&(pe=(pe+1)%oe),Ie-he{const pe=de.loaded,he=de.lengthComputable?de.total:void 0,_e=pe-le,$e=ue(_e),Ie=pe<=he;le=pe;const Ve={loaded:pe,total:he,progress:he?pe/he:void 0,bytes:_e,rate:$e||void 0,estimated:$e&&he&&Ie?(he-pe)/$e:void 0,event:de};Ve[ie?"download":"upload"]=!0,oe(Ve)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(oe){return new Promise(function(le,ue){let de=oe.data;const pe=AxiosHeaders$1.from(oe.headers).normalize(),he=oe.responseType;let _e;function $e(){oe.cancelToken&&oe.cancelToken.unsubscribe(_e),oe.signal&&oe.signal.removeEventListener("abort",_e)}utils$4.isFormData(de)&&(platform$1.isStandardBrowserEnv||platform$1.isStandardBrowserWebWorkerEnv?pe.setContentType(!1):pe.setContentType("multipart/form-data;",!1));let Ie=new XMLHttpRequest;if(oe.auth){const qe=oe.auth.username||"",Et=oe.auth.password?unescape(encodeURIComponent(oe.auth.password)):"";pe.set("Authorization","Basic "+btoa(qe+":"+Et))}const Ve=buildFullPath(oe.baseURL,oe.url);Ie.open(oe.method.toUpperCase(),buildURL(Ve,oe.params,oe.paramsSerializer),!0),Ie.timeout=oe.timeout;function Fe(){if(!Ie)return;const qe=AxiosHeaders$1.from("getAllResponseHeaders"in Ie&&Ie.getAllResponseHeaders()),At={data:!he||he==="text"||he==="json"?Ie.responseText:Ie.response,status:Ie.status,statusText:Ie.statusText,headers:qe,config:oe,request:Ie};settle(function(hn){le(hn),$e()},function(hn){ue(hn),$e()},At),Ie=null}if("onloadend"in Ie?Ie.onloadend=Fe:Ie.onreadystatechange=function(){!Ie||Ie.readyState!==4||Ie.status===0&&!(Ie.responseURL&&Ie.responseURL.indexOf("file:")===0)||setTimeout(Fe)},Ie.onabort=function(){Ie&&(ue(new AxiosError("Request aborted",AxiosError.ECONNABORTED,oe,Ie)),Ie=null)},Ie.onerror=function(){ue(new AxiosError("Network Error",AxiosError.ERR_NETWORK,oe,Ie)),Ie=null},Ie.ontimeout=function(){let Et=oe.timeout?"timeout of "+oe.timeout+"ms exceeded":"timeout exceeded";const At=oe.transitional||transitionalDefaults;oe.timeoutErrorMessage&&(Et=oe.timeoutErrorMessage),ue(new AxiosError(Et,At.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,oe,Ie)),Ie=null},platform$1.isStandardBrowserEnv){const qe=(oe.withCredentials||isURLSameOrigin(Ve))&&oe.xsrfCookieName&&cookies.read(oe.xsrfCookieName);qe&&pe.set(oe.xsrfHeaderName,qe)}de===void 0&&pe.setContentType(null),"setRequestHeader"in Ie&&utils$4.forEach(pe.toJSON(),function(Et,At){Ie.setRequestHeader(At,Et)}),utils$4.isUndefined(oe.withCredentials)||(Ie.withCredentials=!!oe.withCredentials),he&&he!=="json"&&(Ie.responseType=oe.responseType),typeof oe.onDownloadProgress=="function"&&Ie.addEventListener("progress",progressEventReducer(oe.onDownloadProgress,!0)),typeof oe.onUploadProgress=="function"&&Ie.upload&&Ie.upload.addEventListener("progress",progressEventReducer(oe.onUploadProgress)),(oe.cancelToken||oe.signal)&&(_e=qe=>{Ie&&(ue(!qe||qe.type?new CanceledError(null,oe,Ie):qe),Ie.abort(),Ie=null)},oe.cancelToken&&oe.cancelToken.subscribe(_e),oe.signal&&(oe.signal.aborted?_e():oe.signal.addEventListener("abort",_e)));const Ue=parseProtocol(Ve);if(Ue&&platform$1.protocols.indexOf(Ue)===-1){ue(new AxiosError("Unsupported protocol "+Ue+":",AxiosError.ERR_BAD_REQUEST,oe));return}Ie.send(de||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils$4.forEach(knownAdapters,(oe,ie)=>{if(oe){try{Object.defineProperty(oe,"name",{value:ie})}catch{}Object.defineProperty(oe,"adapterName",{value:ie})}});const adapters={getAdapter:oe=>{oe=utils$4.isArray(oe)?oe:[oe];const{length:ie}=oe;let le,ue;for(let de=0;deoe instanceof AxiosHeaders$1?oe.toJSON():oe;function mergeConfig(oe,ie){ie=ie||{};const le={};function ue(Ie,Ve,Fe){return utils$4.isPlainObject(Ie)&&utils$4.isPlainObject(Ve)?utils$4.merge.call({caseless:Fe},Ie,Ve):utils$4.isPlainObject(Ve)?utils$4.merge({},Ve):utils$4.isArray(Ve)?Ve.slice():Ve}function de(Ie,Ve,Fe){if(utils$4.isUndefined(Ve)){if(!utils$4.isUndefined(Ie))return ue(void 0,Ie,Fe)}else return ue(Ie,Ve,Fe)}function pe(Ie,Ve){if(!utils$4.isUndefined(Ve))return ue(void 0,Ve)}function he(Ie,Ve){if(utils$4.isUndefined(Ve)){if(!utils$4.isUndefined(Ie))return ue(void 0,Ie)}else return ue(void 0,Ve)}function _e(Ie,Ve,Fe){if(Fe in ie)return ue(Ie,Ve);if(Fe in oe)return ue(void 0,Ie)}const $e={url:pe,method:pe,data:pe,baseURL:he,transformRequest:he,transformResponse:he,paramsSerializer:he,timeout:he,timeoutMessage:he,withCredentials:he,adapter:he,responseType:he,xsrfCookieName:he,xsrfHeaderName:he,onUploadProgress:he,onDownloadProgress:he,decompress:he,maxContentLength:he,maxBodyLength:he,beforeRedirect:he,transport:he,httpAgent:he,httpsAgent:he,cancelToken:he,socketPath:he,responseEncoding:he,validateStatus:_e,headers:(Ie,Ve)=>de(headersToObject(Ie),headersToObject(Ve),!0)};return utils$4.forEach(Object.keys(Object.assign({},oe,ie)),function(Ve){const Fe=$e[Ve]||de,Ue=Fe(oe[Ve],ie[Ve],Ve);utils$4.isUndefined(Ue)&&Fe!==_e||(le[Ve]=Ue)}),le}const VERSION="1.4.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach((oe,ie)=>{validators$1[oe]=function(ue){return typeof ue===oe||"a"+(ie<1?"n ":" ")+oe}});const deprecatedWarnings={};validators$1.transitional=function(ie,le,ue){function de(pe,he){return"[Axios v"+VERSION+"] Transitional option '"+pe+"'"+he+(ue?". "+ue:"")}return(pe,he,_e)=>{if(ie===!1)throw new AxiosError(de(he," has been removed"+(le?" in "+le:"")),AxiosError.ERR_DEPRECATED);return le&&!deprecatedWarnings[he]&&(deprecatedWarnings[he]=!0,console.warn(de(he," has been deprecated since v"+le+" and will be removed in the near future"))),ie?ie(pe,he,_e):!0}};function assertOptions(oe,ie,le){if(typeof oe!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const ue=Object.keys(oe);let de=ue.length;for(;de-- >0;){const pe=ue[de],he=ie[pe];if(he){const _e=oe[pe],$e=_e===void 0||he(_e,pe,oe);if($e!==!0)throw new AxiosError("option "+pe+" must be "+$e,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(le!==!0)throw new AxiosError("Unknown option "+pe,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(ie){this.defaults=ie,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}request(ie,le){typeof ie=="string"?(le=le||{},le.url=ie):le=ie||{},le=mergeConfig(this.defaults,le);const{transitional:ue,paramsSerializer:de,headers:pe}=le;ue!==void 0&&validator.assertOptions(ue,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),de!=null&&(utils$4.isFunction(de)?le.paramsSerializer={serialize:de}:validator.assertOptions(de,{encode:validators.function,serialize:validators.function},!0)),le.method=(le.method||this.defaults.method||"get").toLowerCase();let he;he=pe&&utils$4.merge(pe.common,pe[le.method]),he&&utils$4.forEach(["delete","get","head","post","put","patch","common"],Et=>{delete pe[Et]}),le.headers=AxiosHeaders$1.concat(he,pe);const _e=[];let $e=!0;this.interceptors.request.forEach(function(At){typeof At.runWhen=="function"&&At.runWhen(le)===!1||($e=$e&&At.synchronous,_e.unshift(At.fulfilled,At.rejected))});const Ie=[];this.interceptors.response.forEach(function(At){Ie.push(At.fulfilled,At.rejected)});let Ve,Fe=0,Ue;if(!$e){const Et=[dispatchRequest.bind(this),void 0];for(Et.unshift.apply(Et,_e),Et.push.apply(Et,Ie),Ue=Et.length,Ve=Promise.resolve(le);Fe{if(!ue._listeners)return;let pe=ue._listeners.length;for(;pe-- >0;)ue._listeners[pe](de);ue._listeners=null}),this.promise.then=de=>{let pe;const he=new Promise(_e=>{ue.subscribe(_e),pe=_e}).then(de);return he.cancel=function(){ue.unsubscribe(pe)},he},ie(function(pe,he,_e){ue.reason||(ue.reason=new CanceledError(pe,he,_e),le(ue.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(ie){if(this.reason){ie(this.reason);return}this._listeners?this._listeners.push(ie):this._listeners=[ie]}unsubscribe(ie){if(!this._listeners)return;const le=this._listeners.indexOf(ie);le!==-1&&this._listeners.splice(le,1)}static source(){let ie;return{token:new CancelToken(function(de){ie=de}),cancel:ie}}}const CancelToken$1=CancelToken;function spread(oe){return function(le){return oe.apply(null,le)}}function isAxiosError(oe){return utils$4.isObject(oe)&&oe.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([oe,ie])=>{HttpStatusCode[ie]=oe});const HttpStatusCode$1=HttpStatusCode;function createInstance(oe){const ie=new Axios$1(oe),le=bind$4(Axios$1.prototype.request,ie);return utils$4.extend(le,Axios$1.prototype,ie,{allOwnKeys:!0}),utils$4.extend(le,ie,null,{allOwnKeys:!0}),le.create=function(de){return createInstance(mergeConfig(oe,de))},le}const axios=createInstance(defaults$4);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(ie){return Promise.all(ie)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=oe=>formDataToJSON(utils$4.isHTMLForm(oe)?new FormData(oe):oe);axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;const axios$1=axios;let config={};const{VITE_PUBLIC_PATH}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},setConfig=oe=>{config=Object.assign(config,oe)},getConfig=oe=>{if(typeof oe=="string"){const ie=oe.split(".");if(ie&&ie.length){let le=config;return ie.forEach(ue=>{le&&typeof le[ue]<"u"?le=le[ue]:le=null}),le}}return config},getServerConfig=async oe=>(oe.config.globalProperties.$config=getConfig(),axios$1({method:"get",url:`${VITE_PUBLIC_PATH}serverConfig.json`}).then(({data:ie})=>{let le=oe.config.globalProperties.$config;return oe&&le&&typeof ie=="object"&&(le=Object.assign(le,ie),oe.config.globalProperties.$config=le,setConfig(le)),le}).catch(()=>{throw"请在public文件夹下添加serverConfig.json配置文件"})),responsiveStorageNameSpace=()=>getConfig().ResponsiveStorageNameSpace;function siphonI18n(oe="zh-CN"){return Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yaml":__vite_glob_0_0$2,"../../locales/zh-CN.yaml":__vite_glob_0_1$2})).map(([ie,le])=>[ie.match(/([A-Za-z0-9-_]+)\./i)[1],le.default]))[oe]}const localesConfigs={zh:{...siphonI18n("zh-CN"),...zhLocale},en:{...siphonI18n("en"),...enLocale}};function transformI18n(oe=""){var le;if(!oe)return"";if(typeof oe=="object"){const ue=i18n.global.locale;return oe[ue==null?void 0:ue.value]}const ie=(le=oe.match(/(\S*)\./))==null?void 0:le[1];return ie&&Object.keys(siphonI18n("zh-CN")).includes(ie)||!ie&&Object.keys(siphonI18n("zh-CN")).includes(oe)?i18n.global.t.call(i18n.global.locale,oe):oe}const $t=oe=>oe;var ea;const i18n=createI18n({legacy:!1,locale:((ea=er().getItem(`${responsiveStorageNameSpace()}locale`))==null?void 0:ea.locale)??"zh",fallbackLocale:"en",messages:localesConfigs});function useI18n(oe){oe.use(i18n)}const home$1=0,doc=1,utils$3=2,table$1=3,components$1=4,able$1=5,frame$1=6,nested$1=7,result$1=8,error$1=9,list$2=10,permission=11,system$1=12,tabs=13,formdesign$1=14,flowchart$1=15,ppt$1=16,editor$1=17,guide$1=18,menuoverflow$1=19,about$1=20,able={path:"/able",redirect:"/able/watermark",meta:{icon:"ubuntuFill",title:$t("menus.hsAble"),rank:able$1},children:[{path:"/able/directives",name:"Directives",component:()=>__vitePreload(()=>import("./directives-a1012ef7.js"),[]),meta:{title:$t("menus.hsOptimize"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/watermark",name:"WaterMark",component:()=>__vitePreload(()=>import("./watermark-63f78491.js"),[]),meta:{title:$t("menus.hsWatermark")}},{path:"/able/print",name:"Print",component:()=>__vitePreload(()=>import("./print-9e6ffe48.js"),["static/js/print-9e6ffe48.js","static/js/print-a6e42845.js","static/js/Line.vue_vue_type_script_setup_true_lang-30123dc5.js","static/js/app-c56ccba4.js","static/css/print-8831c8b6.css"]),meta:{title:$t("menus.hsPrint")}},{path:"/able/download",name:"Download",component:()=>__vitePreload(()=>import("./download-153a3b00.js"),[]),meta:{title:$t("menus.hsDownload")}},{path:"/able/iconSelect",name:"IconSelect",component:()=>__vitePreload(()=>import("./icon-select-ee6e6301.js"),["static/js/icon-select-ee6e6301.js","static/css/icon-select-e8efdfdc.css"]),meta:{title:$t("menus.hsIconSelect")}},{path:"/able/timeline",name:"TimeLine",component:()=>__vitePreload(()=>import("./timeline-11cca6d9.js"),["static/js/timeline-11cca6d9.js","static/js/index-026bd28f.js","static/css/index-18417f34.css","static/js/hooks-82c6b5e4.js","static/js/iphone-bcaa848c.js","static/css/timeline-12434188.css"]),meta:{title:$t("menus.hsTimeline")}},{path:"/able/menuTree",name:"MenuTree",component:()=>__vitePreload(()=>import("./menu-tree-8383d632.js"),["static/js/menu-tree-8383d632.js","static/js/hooks-82c6b5e4.js"]),meta:{title:$t("menus.hsMenuTree")}},{path:"/able/lineTree",name:"LineTree",component:()=>__vitePreload(()=>import("./line-tree-12d57615.js"),["static/js/line-tree-12d57615.js","static/css/line-tree-970a113a.css"]),meta:{title:$t("menus.hsLineTree")}},{path:"/able/debounce",name:"Debounce",component:()=>__vitePreload(()=>import("./debounce-dbd986da.js"),[]),meta:{title:$t("menus.hsDebounce")}},{path:"/able/barcode",name:"BarCode",component:()=>__vitePreload(()=>import("./barcode-900bacb0.js"),[]),meta:{title:$t("menus.hsBarcode")}},{path:"/able/qrcode",name:"QrCode",component:()=>__vitePreload(()=>import("./qrcode-6bdaa7dc.js"),["static/js/qrcode-6bdaa7dc.js","static/js/index-7ace001d.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),meta:{title:$t("menus.hsQrcode")}},{path:"/able/cascader",name:"Cascader",component:()=>__vitePreload(()=>import("./cascader-02616d41.js"),["static/js/cascader-02616d41.js","static/css/cascader-843853c0.css"]),meta:{title:$t("menus.hsCascader")}},{path:"/able/swiper",name:"Swiper",component:()=>__vitePreload(()=>import("./swiper-21516ff1.js"),["static/js/swiper-21516ff1.js","static/css/swiper-fdcb3fa3.css"]),meta:{title:$t("menus.hsSwiper")}},{path:"/able/virtualList",name:"VirtualList",component:()=>__vitePreload(()=>import("./index-9e6d1e33.js"),["static/js/index-9e6d1e33.js","static/js/vertical-415d74d4.js","static/js/vue-virtual-scroller.esm-540eb406.js","static/css/vertical-c0ec8bec.css","static/js/horizontal-a2f578f8.js","static/css/horizontal-f9c9bac5.css","static/css/index-bbe280a3.css"]),meta:{title:$t("menus.hsVirtualList")}},{path:"/able/pdf",name:"Pdf",component:()=>__vitePreload(()=>import("./pdf-4b215f44.js"),["static/js/pdf-4b215f44.js","static/js/vue.runtime.esm-bundler-44233a4d.js"]),meta:{title:$t("menus.hsPdf")}},{path:"/able/execl",name:"Execl",component:()=>__vitePreload(()=>import("./execl-4649cc0f.js"),["static/js/execl-4649cc0f.js","static/js/xlsx-f5126985.js"]),meta:{title:$t("menus.hsExecl")}},{path:"/able/infiniteScroll",name:"InfiniteScroll",component:()=>__vitePreload(()=>import("./infinite-scroll-30a43124.js"),[]),meta:{title:$t("menus.hsInfiniteScroll")}},{path:"/able/sensitive",name:"Sensitive",component:()=>__vitePreload(()=>import("./sensitive-22a0368b.js"),[]),meta:{title:$t("menus.hsSensitive"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/pinyin",name:"Pinyin",component:()=>__vitePreload(()=>import("./pinyin-514c5d3d.js"),["static/js/pinyin-514c5d3d.js","static/js/index-d5731855.js","static/css/pinyin-f2728430.css"]),meta:{title:$t("menus.hsPinyin"),extraIcon:"IF-pure-iconfont-new svg"}}]},__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:able},Symbol.toStringTag,{value:"Module"})),about={path:"/about",redirect:"/about/index",meta:{title:$t("menus.hsAbout"),rank:about$1},children:[{path:"/about/index",name:"About",component:()=>__vitePreload(()=>import("./index-11a0f3ed.js"),["static/js/index-11a0f3ed.js","static/js/columns-d8def6bf.js","static/css/index-cb8197dd.css"]),meta:{title:$t("menus.hsAbout")}}]},__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:about},Symbol.toStringTag,{value:"Module"})),components={path:"/components",redirect:"/components/dialog",meta:{icon:"menu",title:$t("menus.hscomponents"),rank:components$1},children:[{path:"/components/dialog",name:"DialogPage",component:()=>__vitePreload(()=>import("./index-f2ccae50.js"),["static/js/index-f2ccae50.js","static/js/form.vue_vue_type_script_setup_true_lang-668c070a.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js"]),meta:{title:$t("menus.hsdialog"),extraIcon:"IF-pure-iconfont-new svg",transition:{enterTransition:"animate__fadeInLeft",leaveTransition:"animate__fadeOutRight"}}},{path:"/components/message",name:"Message",component:()=>__vitePreload(()=>import("./index-4f6d577f.js"),["static/js/index-4f6d577f.js","static/js/hooks-82c6b5e4.js","static/js/check-3815600c.js"]),meta:{title:$t("menus.hsmessage")}},{path:"/components/segmented",name:"Segmented",component:()=>__vitePreload(()=>import("./index-9e7cb3e4.js"),["static/js/index-9e7cb3e4.js","static/js/home-filled-05cc090c.js","static/js/hooks-82c6b5e4.js","static/css/index-fa517f4b.css"]),meta:{title:$t("menus.hssegmented"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/waterfall",name:"Waterfall",component:()=>__vitePreload(()=>import("./index-c609ccff.js"),["static/js/index-c609ccff.js","static/js/back_top-489ad631.js","static/css/index-d102724b.css"]),meta:{title:$t("menus.hswaterfall"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/video",name:"VideoPage",component:()=>__vitePreload(()=>import("./index-83c5e682.js"),["static/js/index-83c5e682.js","static/js/hooks-82c6b5e4.js","static/css/index-48d8c7cf.css"]),meta:{title:$t("menus.hsvideo")}},{path:"/components/map",name:"MapPage",component:()=>__vitePreload(()=>import("./index-99e2b4d1.js"),["static/js/index-99e2b4d1.js","static/css/index-c6f744fa.css"]),meta:{title:$t("menus.hsmap"),keepAlive:!0,transition:{name:"fade"}}},{path:"/components/draggable",name:"Draggable",component:()=>__vitePreload(()=>import("./index-2d45ac87.js"),["static/js/index-2d45ac87.js","static/js/sortable.esm-e674cde8.js","static/js/app-c56ccba4.js","static/js/hooks-82c6b5e4.js","static/css/index-b2ddca14.css"]),meta:{title:$t("menus.hsdraggable"),transition:{enterTransition:"animate__zoomIn",leaveTransition:"animate__zoomOut"}}},{path:"/components/splitPane",name:"SplitPane",component:()=>__vitePreload(()=>import("./index-9d9cd6a4.js"),["static/js/index-9d9cd6a4.js","static/css/index-e0a7f2a0.css"]),meta:{title:$t("menus.hssplitPane")}},{path:"/components/button",name:"ButtonPage",component:()=>__vitePreload(()=>import("./index-9996e8d2.js"),[]),meta:{title:$t("menus.hsbutton")}},{path:"/components/cropping",name:"Cropping",component:()=>__vitePreload(()=>import("./index-06a908ca.js"),["static/js/index-06a908ca.js","static/css/index-f3c73bbb.css"]),meta:{title:$t("menus.hscropping")}},{path:"/components/countTo",name:"CountTo",component:()=>__vitePreload(()=>import("./index-0fc14658.js"),["static/js/index-0fc14658.js","static/js/propTypes-03d1d3a5.js","static/css/index-a129e600.css"]),meta:{title:$t("menus.hscountTo")}},{path:"/components/selector",name:"Selector",component:()=>__vitePreload(()=>import("./index-49508c44.js"),["static/js/index-49508c44.js","static/css/index-ea4ab5c7.css"]),meta:{title:$t("menus.hsselector")}},{path:"/components/seamlessScroll",name:"SeamlessScroll",component:()=>__vitePreload(()=>import("./index-2a56b4d5.js"),["static/js/index-2a56b4d5.js","static/css/index-53a917f7.css"]),meta:{title:$t("menus.hsseamless")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>__vitePreload(()=>import("./index-b04a1fb1.js"),["static/js/index-b04a1fb1.js","static/js/basic-1658a9a9.js","static/js/index.esm-74f5f9a0.js","static/css/basic-d842f1a0.css","static/js/menuGroup-513a794f.js","static/css/menuGroup-1ac3332c.css","static/js/menuDynamic-26c92eb4.js","static/css/menuDynamic-8e12a25c.css","static/css/index-5d2daf4d.css"]),meta:{title:$t("menus.hscontextmenu")}},{path:"/components/typeit",name:"Typeit",component:()=>__vitePreload(()=>import("./index-8ac4644e.js"),["static/js/index-8ac4644e.js","static/js/index-e5cd6a13.js"]),meta:{title:$t("menus.hstypeit")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>__vitePreload(()=>import("./index-08eb722d.js"),["static/js/index-08eb722d.js","static/js/styles-71e87efa.js","static/js/vue.runtime.esm-bundler-44233a4d.js","static/css/styles-0eafbc64.css"]),meta:{title:$t("menus.hsjsoneditor")}},{path:"/components/danmaku",name:"Danmaku",component:()=>__vitePreload(()=>import("./index-2bf43699.js"),["static/js/index-2bf43699.js","static/css/index-14392f45.css"]),meta:{title:$t("menus.hsdanmaku")}}]},__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:components},Symbol.toStringTag,{value:"Module"})),editor={path:"/editor",redirect:"/editor/index",meta:{icon:"edit",title:$t("menus.hseditor"),rank:editor$1},children:[{path:"/editor/index",name:"Editor",component:()=>__vitePreload(()=>import("./index-e13ce893.js"),["static/js/index-e13ce893.js","static/js/base.vue_vue_type_script_setup_true_lang-126ca264.js","static/js/index.esm-7c905650.js","static/css/index-f38a3df6.css","static/js/multi.vue_vue_type_script_setup_true_lang-bd046a75.js","static/js/index-8460cfed.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-31bef239.js","static/css/index-2bb08053.css"]),meta:{title:$t("menus.hseditor"),keepAlive:!0}}]},__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:editor},Symbol.toStringTag,{value:"Module"})),error={path:"/error",redirect:"/error/403",meta:{icon:"informationLine",title:$t("menus.hsabnormal"),rank:error$1},children:[{path:"/error/403",name:"403",component:()=>__vitePreload(()=>import("./403-69364b20.js"),[]),meta:{title:$t("menus.hsfourZeroOne")}},{path:"/error/404",name:"404",component:()=>__vitePreload(()=>import("./404-d529caea.js"),[]),meta:{title:$t("menus.hsfourZeroFour")}},{path:"/error/500",name:"500",component:()=>__vitePreload(()=>import("./500-2e35626a.js"),[]),meta:{title:$t("menus.hsFive")}}]},__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:error},Symbol.toStringTag,{value:"Module"})),flowchart={path:"/flowChart",redirect:"/flowChart/index",meta:{icon:"setUp",title:$t("menus.hsflowChart"),rank:flowchart$1},children:[{path:"/flowChart/index",name:"FlowChart",component:()=>__vitePreload(()=>import("./index-cb5b4b6f.js"),["static/js/index-cb5b4b6f.js","static/js/hooks-82c6b5e4.js","static/js/styles-71e87efa.js","static/js/vue.runtime.esm-bundler-44233a4d.js","static/css/styles-0eafbc64.css","static/js/set-up-e6942411.js","static/css/index-6bd35e69.css"]),meta:{title:$t("menus.hsflowChart")}}]},__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:flowchart},Symbol.toStringTag,{value:"Module"})),IFrame$4=()=>__vitePreload(()=>import("./frameView-5ae09b01.js"),["static/js/frameView-5ae09b01.js","static/css/frameView-ed080731.css"]),formdesign={path:"/formDesign",redirect:"/formDesign/index",meta:{icon:"terminalWindowLine",title:$t("menus.hsFormDesign"),rank:formdesign$1},children:[{path:"/formDesign/index",name:"FormDesign",component:IFrame$4,meta:{title:$t("menus.hsFormDesign"),frameSrc:"https://haixin-fang.github.io/starfish-vue3-lowcode/playground/index.html#/"}}]},__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:formdesign},Symbol.toStringTag,{value:"Module"})),guide={path:"/guide",redirect:"/guide/index",meta:{icon:"guide",title:$t("menus.hsguide"),rank:guide$1},children:[{path:"/guide/index",name:"Guide",component:()=>__vitePreload(()=>import("./index-4c91919c.js"),["static/js/index-4c91919c.js","static/css/index-38ef32bb.css"]),meta:{title:$t("menus.hsguide")}}]},__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:guide},Symbol.toStringTag,{value:"Module"})),{VITE_HIDE_HOME:VITE_HIDE_HOME$2}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},Layout$1=()=>__vitePreload(()=>import("./index-11f8ea63.js"),["static/js/index-11f8ea63.js","static/js/menu-a4fe64fb.js","static/js/set-up-e6942411.js","static/js/home-filled-05cc090c.js","static/js/admin-line-92b9acda.js","static/js/git-branch-line-aa4cb38f.js","static/js/dark-3015d878.js","static/js/epTheme-904e4673.js","static/js/app-c56ccba4.js","static/js/index-d5731855.js","static/js/hooks-82c6b5e4.js","static/js/search-cc37b371.js","static/js/check-3815600c.js","static/js/refresh-right-6177e75c.js","static/js/arrow-right-s-line-2977cc7e.js","static/js/back_top-489ad631.js","static/css/index-a3451fa4.css"]),home={path:"/",name:"Home",component:Layout$1,redirect:"/welcome",meta:{icon:"homeFilled",title:$t("menus.hshome"),rank:home$1},children:[{path:"/welcome",name:"Welcome",component:()=>__vitePreload(()=>import("./index-8c09e38e.js"),["static/js/index-8c09e38e.js","static/js/Bar.vue_vue_type_script_setup_true_lang-1501b08b.js","static/js/app-c56ccba4.js","static/js/Pie.vue_vue_type_script_setup_true_lang-51a62997.js","static/js/Line.vue_vue_type_script_setup_true_lang-30123dc5.js","static/js/list-80891f62.js","static/js/index-e5cd6a13.js","static/js/Github.vue_vue_type_script_setup_true_lang-b99b9114.js","static/js/columns-453a481e.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js","static/js/index-026bd28f.js","static/css/index-18417f34.css","static/css/index-f927fe6c.css"]),meta:{title:$t("menus.hshome"),showLink:VITE_HIDE_HOME$2!=="true"}}]},__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:home},Symbol.toStringTag,{value:"Module"})),list$1={path:"/list",redirect:"/list/card",meta:{icon:"listCheck",title:$t("menus.hsList"),rank:list$2},children:[{path:"/list/card",name:"ListCard",component:()=>__vitePreload(()=>import("./index-fa4f7129.js"),["static/js/index-fa4f7129.js","static/js/Card-c7385b78.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css","static/js/list-80891f62.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js","static/js/hooks-82c6b5e4.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.js"]),meta:{icon:"card",title:$t("menus.hsListCard"),showParent:!0}}]},__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:list$1},Symbol.toStringTag,{value:"Module"})),menuoverflow={path:"/menuoverflow",redirect:"/menuoverflow/index",meta:{title:$t("menus.hsMenuoverflow"),rank:menuoverflow$1},children:[{path:"/menuoverflow/index",name:"MenuOverflow",component:()=>__vitePreload(()=>import("./index-a9b0cd40.js"),[]),meta:{title:$t("menus.hsChildMenuoverflow"),showParent:!0}}]},__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:menuoverflow},Symbol.toStringTag,{value:"Module"})),nested={path:"/nested",redirect:"/nested/menu1/menu1-1",meta:{title:$t("menus.hsmenus"),icon:"histogram",rank:nested$1},children:[{path:"/nested/menu1",meta:{title:$t("menus.hsmenu1"),keepAlive:!0},redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>__vitePreload(()=>import("./index-500acd9e.js"),[]),name:"Menu1-1",meta:{title:$t("menus.hsmenu1-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:$t("menus.hsmenu1-2"),keepAlive:!0},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>__vitePreload(()=>import("./index-24224ed6.js"),[]),name:"Menu1-2-1",meta:{title:$t("menus.hsmenu1-2-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>__vitePreload(()=>import("./index-5940b582.js"),[]),name:"Menu1-2-2",meta:{title:$t("menus.hsmenu1-2-2"),keepAlive:!0,extraIcon:"IF-pure-iconfont-new svg"}}]},{path:"/nested/menu1/menu1-3",component:()=>__vitePreload(()=>import("./index-207ac8cd.js"),[]),name:"Menu1-3",meta:{title:$t("menus.hsmenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>__vitePreload(()=>import("./index-8c391611.js"),[]),meta:{title:$t("menus.hsmenu2"),keepAlive:!0}}]},__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:nested},Symbol.toStringTag,{value:"Module"})),IFrame$3=()=>__vitePreload(()=>import("./frameView-5ae09b01.js"),["static/js/frameView-5ae09b01.js","static/css/frameView-ed080731.css"]),ppt={path:"/ppt",redirect:"/ppt/index",meta:{icon:"ppt",title:"PPT",rank:ppt$1},children:[{path:"/ppt/index",name:"FramePpt",component:IFrame$3,meta:{title:"PPT",frameSrc:"https://pipipi-pikachu.github.io/PPTist/",frameLoading:!1}}]},__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:ppt},Symbol.toStringTag,{value:"Module"})),_hoisted_1={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 1024"},_hoisted_2=createBaseVNode("path",{fill:"#FF5D50",d:"M428.698 107.315c-6.503 72.192-36.352 207.258-160.256 337.408 3.686-48.025-7.117-83.763-19.047-107.673-6.605-13.159-26.06-10.599-28.877 3.84-5.734 29.44-20.582 75.059-57.6 137.779-71.628 121.395-62.566 459.878 340.736 459.878S934.093 585.728 876.8 442.522c-37.376-93.44-93.952-152.525-128.82-182.324-11.417-9.779-29.132-1.945-29.593 13.056-.921 30.464-7.321 73.37-33.075 102.144-.666-52.787-38.144-208.384-202.445-296.857-23.296-12.544-51.763 2.457-54.17 28.774z"},null,-1),_hoisted_3=createBaseVNode("path",{fill:"#FFDF99",d:"M702.26 678.4c-4.2-45.056-60.673-166.554-212.634-246.426-10.599-5.58-23.092 3.124-21.504 15.002 6.246 46.848 12.953 140.493-24.064 184.73 4.044-40.397-18.125-73.83-36.66-94.31-8.396-9.217-23.552-4.66-25.497 7.68-3.533 22.322-12.851 56.268-36.557 97.945-42.086 74.035-86.989 188.672 124.57 294.656 10.956.563 22.17.87 33.74.87a617.97 617.97 0 0 0 32.717-.87C694.631 878.182 709.837 759.706 702.26 678.4z"},null,-1),_hoisted_4=[_hoisted_2,_hoisted_3];function render$3(oe,ie){return openBlock(),createElementBlock("svg",_hoisted_1,_hoisted_4)}const hot={render:render$3},IFrame$2=()=>__vitePreload(()=>import("./frameView-5ae09b01.js"),["static/js/frameView-5ae09b01.js","static/css/frameView-ed080731.css"]),puredoc={path:"/pure-admin-doc",redirect:"/pure-admin-doc/index",meta:{icon:hot,title:"pure-admin-doc",rank:doc},children:[{path:"/pure-admin-doc/index",name:"FrameDoc",component:IFrame$2,meta:{title:"pure-admin-doc",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc/"}}]},__vite_glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,default:puredoc},Symbol.toStringTag,{value:"Module"})),IFrame$1=()=>__vitePreload(()=>import("./frameView-5ae09b01.js"),["static/js/frameView-5ae09b01.js","static/css/frameView-ed080731.css"]),pureutils={path:"/pure-admin-utils",redirect:"/pure-admin-utils/index",meta:{icon:hot,title:"pure-admin-utils",rank:utils$3},children:[{path:"/pure-admin-utils/index",name:"FrameUtils",component:IFrame$1,meta:{title:"pure-admin-utils",frameSrc:"https://pure-admin-utils.netlify.app/"}}]},__vite_glob_0_14=Object.freeze(Object.defineProperty({__proto__:null,default:pureutils},Symbol.toStringTag,{value:"Module"})),result={path:"/result",redirect:"/result/success",meta:{icon:"checkboxCircleLine",title:$t("menus.hsResult"),rank:result$1},children:[{path:"/result/success",name:"Success",component:()=>__vitePreload(()=>import("./success-16238c8b.js"),["static/js/success-16238c8b.js","static/css/success-42084dfc.css"]),meta:{title:$t("menus.hsSuccess")}},{path:"/result/fail",name:"Fail",component:()=>__vitePreload(()=>import("./fail-eaf477ca.js"),["static/js/fail-eaf477ca.js","static/js/columns-bcc35f9f.js","static/js/arrow-right-s-line-2977cc7e.js","static/css/fail-8c7d12a4.css"]),meta:{title:$t("menus.hsFail")}}]},__vite_glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:result},Symbol.toStringTag,{value:"Module"})),table={path:"/pure-table",redirect:"/pure-table/index",meta:{icon:hot,title:"pure-admin-table",rank:table$1},children:[{path:"/pure-table/index",name:"PureTable",component:()=>__vitePreload(()=>import("./index-449e60c5.js"),["static/js/index-449e60c5.js","static/js/list-9060fb6b.js","static/js/base.vue_vue_type_script_setup_true_lang-c0453f4f.js","static/js/data-ce9440dd.js","static/js/stripe.vue_vue_type_script_setup_true_lang-80337a01.js","static/js/border.vue_vue_type_script_setup_true_lang-13c02543.js","static/js/status.vue_vue_type_style_index_0_lang-6a3855f3.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js","static/js/radio.vue_vue_type_script_setup_true_lang-2664c557.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-29b608cd.js","static/js/sortable.vue_vue_type_script_setup_true_lang-7f949bf2.js","static/js/filters.vue_vue_type_script_setup_true_lang-2cee2599.js","static/js/index.vue_vue_type_script_setup_true_lang-56274f1f.js","static/js/columns-1b794032.js","static/js/index.vue_vue_type_script_setup_true_lang-71f20b48.js","static/js/columns-2bdec4e7.js","static/js/expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js","static/js/tree.vue_vue_type_script_setup_true_lang-36370dff.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-551b34da.js","static/js/merge.vue_vue_type_script_setup_true_lang-22a85f07.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js","static/js/layout.vue_vue_type_script_setup_true_lang-dec8a425.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-f8affc62.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js","static/css/index-c6b6432d.css"]),meta:{title:$t("menus.hsPureTableBase")}},{path:"/pure-table/high",name:"PureTableHigh",component:()=>__vitePreload(()=>import("./high-576e7673.js"),["static/js/high-576e7673.js","static/js/list-501aa27e.js","static/js/index.vue_vue_type_script_setup_true_lang-662cb145.js","static/js/columns-1bc0ce1c.js","static/js/data-c6346f61.js","static/js/index.vue_vue_type_script_setup_true_lang-2f204d9d.js","static/js/columns-963fe6ad.js","static/js/index.vue_vue_type_script_setup_true_lang-cef39cb0.js","static/js/columns-67044dfe.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-9d69299b.js","static/js/columns-dae514b7.js","static/js/index.vue_vue_type_script_setup_true_lang-959d3879.js","static/js/columns-ebf2e2fa.js","static/js/index.vue_vue_type_script_setup_true_lang-cd853b95.js","static/js/columns-43640cdf.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-fbc09ad7.js","static/js/columns-a9925c7c.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-a2c109d6.js","static/js/columns-15aaedc0.js","static/js/index.vue_vue_type_script_setup_true_lang-fb59f01c.js","static/js/columns-2e2a5dc4.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-ad86bd1d.js","static/js/columns-b74d2f49.js","static/js/index.vue_vue_type_script_setup_true_lang-97e25004.js","static/js/index.vue_vue_type_script_setup_true_lang-7c698d53.js","static/js/columns-9576412b.js","static/js/index.vue_vue_type_script_setup_true_lang-808d4627.js","static/js/columns-75d79a61.js","static/css/high-5bc3f1f1.css"]),meta:{title:$t("menus.hsPureTableHigh")}}]},__vite_glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,default:table},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.5 | MIT */function assign$3(oe){for(var ie=1;ie"u")){he=assign$3({},ie,he),typeof he.expires=="number"&&(he.expires=new Date(Date.now()+he.expires*864e5)),he.expires&&(he.expires=he.expires.toUTCString()),de=encodeURIComponent(de).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var _e="";for(var $e in he)he[$e]&&(_e+="; "+$e,he[$e]!==!0&&(_e+="="+he[$e].split(";")[0]));return document.cookie=de+"="+oe.write(pe,de)+_e}}function ue(de){if(!(typeof document>"u"||arguments.length&&!de)){for(var pe=document.cookie?document.cookie.split("; "):[],he={},_e=0;_eue.set(de)),ue}static accessor(ie){const ue=(this[$internals]=this[$internals]={accessors:{}}).accessors,de=this.prototype;function pe(he){const _e=normalizeHeader(he);ue[_e]||(buildAccessors(de,he),ue[_e]=!0)}return utils$4.isArray(ie)?ie.forEach(pe):pe(ie),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$4.freezeMethods(AxiosHeaders.prototype);utils$4.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(oe,ie){const le=this||defaults$4,ue=ie||le,de=AxiosHeaders$1.from(ue.headers);let pe=ue.data;return utils$4.forEach(oe,function(_e){pe=_e.call(le,pe,de.normalize(),ie?ie.status:void 0)}),de.normalize(),pe}function isCancel(oe){return!!(oe&&oe.__CANCEL__)}function CanceledError(oe,ie,le){AxiosError.call(this,oe??"canceled",AxiosError.ERR_CANCELED,ie,le),this.name="CanceledError"}utils$4.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(oe,ie,le){const ue=le.config.validateStatus;!le.status||!ue||ue(le.status)?oe(le):ie(new AxiosError("Request failed with status code "+le.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(le.status/100)-4],le.config,le.request,le))}const cookies=platform$1.isStandardBrowserEnv?function(){return{write:function(le,ue,de,pe,he,_e){const $e=[];$e.push(le+"="+encodeURIComponent(ue)),utils$4.isNumber(de)&&$e.push("expires="+new Date(de).toGMTString()),utils$4.isString(pe)&&$e.push("path="+pe),utils$4.isString(he)&&$e.push("domain="+he),_e===!0&&$e.push("secure"),document.cookie=$e.join("; ")},read:function(le){const ue=document.cookie.match(new RegExp("(^|;\\s*)("+le+")=([^;]*)"));return ue?decodeURIComponent(ue[3]):null},remove:function(le){this.write(le,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function isAbsoluteURL(oe){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(oe)}function combineURLs(oe,ie){return ie?oe.replace(/\/+$/,"")+"/"+ie.replace(/^\/+/,""):oe}function buildFullPath(oe,ie){return oe&&!isAbsoluteURL(ie)?combineURLs(oe,ie):ie}const isURLSameOrigin=platform$1.isStandardBrowserEnv?function(){const ie=/(msie|trident)/i.test(navigator.userAgent),le=document.createElement("a");let ue;function de(pe){let he=pe;return ie&&(le.setAttribute("href",he),he=le.href),le.setAttribute("href",he),{href:le.href,protocol:le.protocol?le.protocol.replace(/:$/,""):"",host:le.host,search:le.search?le.search.replace(/^\?/,""):"",hash:le.hash?le.hash.replace(/^#/,""):"",hostname:le.hostname,port:le.port,pathname:le.pathname.charAt(0)==="/"?le.pathname:"/"+le.pathname}}return ue=de(window.location.href),function(he){const _e=utils$4.isString(he)?de(he):he;return _e.protocol===ue.protocol&&_e.host===ue.host}}():function(){return function(){return!0}}();function parseProtocol(oe){const ie=/^([-+\w]{1,25})(:?\/\/|:)/.exec(oe);return ie&&ie[1]||""}function speedometer(oe,ie){oe=oe||10;const le=new Array(oe),ue=new Array(oe);let de=0,pe=0,he;return ie=ie!==void 0?ie:1e3,function($e){const Ie=Date.now(),Ve=ue[pe];he||(he=Ie),le[de]=$e,ue[de]=Ie;let Fe=pe,Ue=0;for(;Fe!==de;)Ue+=le[Fe++],Fe=Fe%oe;if(de=(de+1)%oe,de===pe&&(pe=(pe+1)%oe),Ie-he{const pe=de.loaded,he=de.lengthComputable?de.total:void 0,_e=pe-le,$e=ue(_e),Ie=pe<=he;le=pe;const Ve={loaded:pe,total:he,progress:he?pe/he:void 0,bytes:_e,rate:$e||void 0,estimated:$e&&he&&Ie?(he-pe)/$e:void 0,event:de};Ve[ie?"download":"upload"]=!0,oe(Ve)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(oe){return new Promise(function(le,ue){let de=oe.data;const pe=AxiosHeaders$1.from(oe.headers).normalize(),he=oe.responseType;let _e;function $e(){oe.cancelToken&&oe.cancelToken.unsubscribe(_e),oe.signal&&oe.signal.removeEventListener("abort",_e)}utils$4.isFormData(de)&&(platform$1.isStandardBrowserEnv||platform$1.isStandardBrowserWebWorkerEnv?pe.setContentType(!1):pe.setContentType("multipart/form-data;",!1));let Ie=new XMLHttpRequest;if(oe.auth){const qe=oe.auth.username||"",Et=oe.auth.password?unescape(encodeURIComponent(oe.auth.password)):"";pe.set("Authorization","Basic "+btoa(qe+":"+Et))}const Ve=buildFullPath(oe.baseURL,oe.url);Ie.open(oe.method.toUpperCase(),buildURL(Ve,oe.params,oe.paramsSerializer),!0),Ie.timeout=oe.timeout;function Fe(){if(!Ie)return;const qe=AxiosHeaders$1.from("getAllResponseHeaders"in Ie&&Ie.getAllResponseHeaders()),At={data:!he||he==="text"||he==="json"?Ie.responseText:Ie.response,status:Ie.status,statusText:Ie.statusText,headers:qe,config:oe,request:Ie};settle(function(hn){le(hn),$e()},function(hn){ue(hn),$e()},At),Ie=null}if("onloadend"in Ie?Ie.onloadend=Fe:Ie.onreadystatechange=function(){!Ie||Ie.readyState!==4||Ie.status===0&&!(Ie.responseURL&&Ie.responseURL.indexOf("file:")===0)||setTimeout(Fe)},Ie.onabort=function(){Ie&&(ue(new AxiosError("Request aborted",AxiosError.ECONNABORTED,oe,Ie)),Ie=null)},Ie.onerror=function(){ue(new AxiosError("Network Error",AxiosError.ERR_NETWORK,oe,Ie)),Ie=null},Ie.ontimeout=function(){let Et=oe.timeout?"timeout of "+oe.timeout+"ms exceeded":"timeout exceeded";const At=oe.transitional||transitionalDefaults;oe.timeoutErrorMessage&&(Et=oe.timeoutErrorMessage),ue(new AxiosError(Et,At.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,oe,Ie)),Ie=null},platform$1.isStandardBrowserEnv){const qe=(oe.withCredentials||isURLSameOrigin(Ve))&&oe.xsrfCookieName&&cookies.read(oe.xsrfCookieName);qe&&pe.set(oe.xsrfHeaderName,qe)}de===void 0&&pe.setContentType(null),"setRequestHeader"in Ie&&utils$4.forEach(pe.toJSON(),function(Et,At){Ie.setRequestHeader(At,Et)}),utils$4.isUndefined(oe.withCredentials)||(Ie.withCredentials=!!oe.withCredentials),he&&he!=="json"&&(Ie.responseType=oe.responseType),typeof oe.onDownloadProgress=="function"&&Ie.addEventListener("progress",progressEventReducer(oe.onDownloadProgress,!0)),typeof oe.onUploadProgress=="function"&&Ie.upload&&Ie.upload.addEventListener("progress",progressEventReducer(oe.onUploadProgress)),(oe.cancelToken||oe.signal)&&(_e=qe=>{Ie&&(ue(!qe||qe.type?new CanceledError(null,oe,Ie):qe),Ie.abort(),Ie=null)},oe.cancelToken&&oe.cancelToken.subscribe(_e),oe.signal&&(oe.signal.aborted?_e():oe.signal.addEventListener("abort",_e)));const Ue=parseProtocol(Ve);if(Ue&&platform$1.protocols.indexOf(Ue)===-1){ue(new AxiosError("Unsupported protocol "+Ue+":",AxiosError.ERR_BAD_REQUEST,oe));return}Ie.send(de||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils$4.forEach(knownAdapters,(oe,ie)=>{if(oe){try{Object.defineProperty(oe,"name",{value:ie})}catch{}Object.defineProperty(oe,"adapterName",{value:ie})}});const adapters={getAdapter:oe=>{oe=utils$4.isArray(oe)?oe:[oe];const{length:ie}=oe;let le,ue;for(let de=0;deoe instanceof AxiosHeaders$1?oe.toJSON():oe;function mergeConfig(oe,ie){ie=ie||{};const le={};function ue(Ie,Ve,Fe){return utils$4.isPlainObject(Ie)&&utils$4.isPlainObject(Ve)?utils$4.merge.call({caseless:Fe},Ie,Ve):utils$4.isPlainObject(Ve)?utils$4.merge({},Ve):utils$4.isArray(Ve)?Ve.slice():Ve}function de(Ie,Ve,Fe){if(utils$4.isUndefined(Ve)){if(!utils$4.isUndefined(Ie))return ue(void 0,Ie,Fe)}else return ue(Ie,Ve,Fe)}function pe(Ie,Ve){if(!utils$4.isUndefined(Ve))return ue(void 0,Ve)}function he(Ie,Ve){if(utils$4.isUndefined(Ve)){if(!utils$4.isUndefined(Ie))return ue(void 0,Ie)}else return ue(void 0,Ve)}function _e(Ie,Ve,Fe){if(Fe in ie)return ue(Ie,Ve);if(Fe in oe)return ue(void 0,Ie)}const $e={url:pe,method:pe,data:pe,baseURL:he,transformRequest:he,transformResponse:he,paramsSerializer:he,timeout:he,timeoutMessage:he,withCredentials:he,adapter:he,responseType:he,xsrfCookieName:he,xsrfHeaderName:he,onUploadProgress:he,onDownloadProgress:he,decompress:he,maxContentLength:he,maxBodyLength:he,beforeRedirect:he,transport:he,httpAgent:he,httpsAgent:he,cancelToken:he,socketPath:he,responseEncoding:he,validateStatus:_e,headers:(Ie,Ve)=>de(headersToObject(Ie),headersToObject(Ve),!0)};return utils$4.forEach(Object.keys(Object.assign({},oe,ie)),function(Ve){const Fe=$e[Ve]||de,Ue=Fe(oe[Ve],ie[Ve],Ve);utils$4.isUndefined(Ue)&&Fe!==_e||(le[Ve]=Ue)}),le}const VERSION="1.4.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach((oe,ie)=>{validators$1[oe]=function(ue){return typeof ue===oe||"a"+(ie<1?"n ":" ")+oe}});const deprecatedWarnings={};validators$1.transitional=function(ie,le,ue){function de(pe,he){return"[Axios v"+VERSION+"] Transitional option '"+pe+"'"+he+(ue?". "+ue:"")}return(pe,he,_e)=>{if(ie===!1)throw new AxiosError(de(he," has been removed"+(le?" in "+le:"")),AxiosError.ERR_DEPRECATED);return le&&!deprecatedWarnings[he]&&(deprecatedWarnings[he]=!0,console.warn(de(he," has been deprecated since v"+le+" and will be removed in the near future"))),ie?ie(pe,he,_e):!0}};function assertOptions(oe,ie,le){if(typeof oe!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const ue=Object.keys(oe);let de=ue.length;for(;de-- >0;){const pe=ue[de],he=ie[pe];if(he){const _e=oe[pe],$e=_e===void 0||he(_e,pe,oe);if($e!==!0)throw new AxiosError("option "+pe+" must be "+$e,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(le!==!0)throw new AxiosError("Unknown option "+pe,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(ie){this.defaults=ie,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}request(ie,le){typeof ie=="string"?(le=le||{},le.url=ie):le=ie||{},le=mergeConfig(this.defaults,le);const{transitional:ue,paramsSerializer:de,headers:pe}=le;ue!==void 0&&validator.assertOptions(ue,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),de!=null&&(utils$4.isFunction(de)?le.paramsSerializer={serialize:de}:validator.assertOptions(de,{encode:validators.function,serialize:validators.function},!0)),le.method=(le.method||this.defaults.method||"get").toLowerCase();let he;he=pe&&utils$4.merge(pe.common,pe[le.method]),he&&utils$4.forEach(["delete","get","head","post","put","patch","common"],Et=>{delete pe[Et]}),le.headers=AxiosHeaders$1.concat(he,pe);const _e=[];let $e=!0;this.interceptors.request.forEach(function(At){typeof At.runWhen=="function"&&At.runWhen(le)===!1||($e=$e&&At.synchronous,_e.unshift(At.fulfilled,At.rejected))});const Ie=[];this.interceptors.response.forEach(function(At){Ie.push(At.fulfilled,At.rejected)});let Ve,Fe=0,Ue;if(!$e){const Et=[dispatchRequest.bind(this),void 0];for(Et.unshift.apply(Et,_e),Et.push.apply(Et,Ie),Ue=Et.length,Ve=Promise.resolve(le);Fe{if(!ue._listeners)return;let pe=ue._listeners.length;for(;pe-- >0;)ue._listeners[pe](de);ue._listeners=null}),this.promise.then=de=>{let pe;const he=new Promise(_e=>{ue.subscribe(_e),pe=_e}).then(de);return he.cancel=function(){ue.unsubscribe(pe)},he},ie(function(pe,he,_e){ue.reason||(ue.reason=new CanceledError(pe,he,_e),le(ue.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(ie){if(this.reason){ie(this.reason);return}this._listeners?this._listeners.push(ie):this._listeners=[ie]}unsubscribe(ie){if(!this._listeners)return;const le=this._listeners.indexOf(ie);le!==-1&&this._listeners.splice(le,1)}static source(){let ie;return{token:new CancelToken(function(de){ie=de}),cancel:ie}}}const CancelToken$1=CancelToken;function spread(oe){return function(le){return oe.apply(null,le)}}function isAxiosError(oe){return utils$4.isObject(oe)&&oe.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([oe,ie])=>{HttpStatusCode[ie]=oe});const HttpStatusCode$1=HttpStatusCode;function createInstance(oe){const ie=new Axios$1(oe),le=bind$4(Axios$1.prototype.request,ie);return utils$4.extend(le,Axios$1.prototype,ie,{allOwnKeys:!0}),utils$4.extend(le,ie,null,{allOwnKeys:!0}),le.create=function(de){return createInstance(mergeConfig(oe,de))},le}const axios=createInstance(defaults$4);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(ie){return Promise.all(ie)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=oe=>formDataToJSON(utils$4.isHTMLForm(oe)?new FormData(oe):oe);axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;const axios$1=axios;let config={};const{VITE_PUBLIC_PATH}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},setConfig=oe=>{config=Object.assign(config,oe)},getConfig=oe=>{if(typeof oe=="string"){const ie=oe.split(".");if(ie&&ie.length){let le=config;return ie.forEach(ue=>{le&&typeof le[ue]<"u"?le=le[ue]:le=null}),le}}return config},getServerConfig=async oe=>(oe.config.globalProperties.$config=getConfig(),axios$1({method:"get",url:`${VITE_PUBLIC_PATH}serverConfig.json`}).then(({data:ie})=>{let le=oe.config.globalProperties.$config;return oe&&le&&typeof ie=="object"&&(le=Object.assign(le,ie),oe.config.globalProperties.$config=le,setConfig(le)),le}).catch(()=>{throw"请在public文件夹下添加serverConfig.json配置文件"})),responsiveStorageNameSpace=()=>getConfig().ResponsiveStorageNameSpace;function siphonI18n(oe="zh-CN"){return Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yaml":__vite_glob_0_0$2,"../../locales/zh-CN.yaml":__vite_glob_0_1$2})).map(([ie,le])=>[ie.match(/([A-Za-z0-9-_]+)\./i)[1],le.default]))[oe]}const localesConfigs={zh:{...siphonI18n("zh-CN"),...zhLocale},en:{...siphonI18n("en"),...enLocale}};function transformI18n(oe=""){var le;if(!oe)return"";if(typeof oe=="object"){const ue=i18n.global.locale;return oe[ue==null?void 0:ue.value]}const ie=(le=oe.match(/(\S*)\./))==null?void 0:le[1];return ie&&Object.keys(siphonI18n("zh-CN")).includes(ie)||!ie&&Object.keys(siphonI18n("zh-CN")).includes(oe)?i18n.global.t.call(i18n.global.locale,oe):oe}const $t=oe=>oe;var ea;const i18n=createI18n({legacy:!1,locale:((ea=er().getItem(`${responsiveStorageNameSpace()}locale`))==null?void 0:ea.locale)??"zh",fallbackLocale:"en",messages:localesConfigs});function useI18n(oe){oe.use(i18n)}const home$1=0,doc=1,utils$3=2,table$1=3,components$1=4,able$1=5,frame$1=6,nested$1=7,result$1=8,error$1=9,list$2=10,permission=11,system$1=12,tabs=13,formdesign$1=14,flowchart$1=15,ppt$1=16,editor$1=17,guide$1=18,menuoverflow$1=19,about$1=20,able={path:"/able",redirect:"/able/watermark",meta:{icon:"ubuntuFill",title:$t("menus.hsAble"),rank:able$1},children:[{path:"/able/directives",name:"Directives",component:()=>__vitePreload(()=>import("./directives-73adb01b.js"),[]),meta:{title:$t("menus.hsOptimize"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/watermark",name:"WaterMark",component:()=>__vitePreload(()=>import("./watermark-4c0738ba.js"),[]),meta:{title:$t("menus.hsWatermark")}},{path:"/able/print",name:"Print",component:()=>__vitePreload(()=>import("./print-18e0e65b.js"),["static/js/print-18e0e65b.js","static/js/print-a6e42845.js","static/js/Line.vue_vue_type_script_setup_true_lang-4df5663e.js","static/js/app-246d46a6.js","static/css/print-8831c8b6.css"]),meta:{title:$t("menus.hsPrint")}},{path:"/able/download",name:"Download",component:()=>__vitePreload(()=>import("./download-f58fa444.js"),[]),meta:{title:$t("menus.hsDownload")}},{path:"/able/iconSelect",name:"IconSelect",component:()=>__vitePreload(()=>import("./icon-select-7d7c4c67.js"),["static/js/icon-select-7d7c4c67.js","static/css/icon-select-e8efdfdc.css"]),meta:{title:$t("menus.hsIconSelect")}},{path:"/able/timeline",name:"TimeLine",component:()=>__vitePreload(()=>import("./timeline-fe79178f.js"),["static/js/timeline-fe79178f.js","static/js/index-a8afb2c0.js","static/css/index-18417f34.css","static/js/hooks-2ea9b191.js","static/js/iphone-bcaa848c.js","static/css/timeline-12434188.css"]),meta:{title:$t("menus.hsTimeline")}},{path:"/able/menuTree",name:"MenuTree",component:()=>__vitePreload(()=>import("./menu-tree-68ee9633.js"),["static/js/menu-tree-68ee9633.js","static/js/hooks-2ea9b191.js"]),meta:{title:$t("menus.hsMenuTree")}},{path:"/able/lineTree",name:"LineTree",component:()=>__vitePreload(()=>import("./line-tree-bfe94cf9.js"),["static/js/line-tree-bfe94cf9.js","static/css/line-tree-970a113a.css"]),meta:{title:$t("menus.hsLineTree")}},{path:"/able/debounce",name:"Debounce",component:()=>__vitePreload(()=>import("./debounce-70fda773.js"),[]),meta:{title:$t("menus.hsDebounce")}},{path:"/able/barcode",name:"BarCode",component:()=>__vitePreload(()=>import("./barcode-e0bac78c.js"),[]),meta:{title:$t("menus.hsBarcode")}},{path:"/able/qrcode",name:"QrCode",component:()=>__vitePreload(()=>import("./qrcode-84039e2a.js"),["static/js/qrcode-84039e2a.js","static/js/index-afca5026.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),meta:{title:$t("menus.hsQrcode")}},{path:"/able/cascader",name:"Cascader",component:()=>__vitePreload(()=>import("./cascader-cc413635.js"),["static/js/cascader-cc413635.js","static/css/cascader-843853c0.css"]),meta:{title:$t("menus.hsCascader")}},{path:"/able/swiper",name:"Swiper",component:()=>__vitePreload(()=>import("./swiper-b12015b6.js"),["static/js/swiper-b12015b6.js","static/css/swiper-fdcb3fa3.css"]),meta:{title:$t("menus.hsSwiper")}},{path:"/able/virtualList",name:"VirtualList",component:()=>__vitePreload(()=>import("./index-66b6681d.js"),["static/js/index-66b6681d.js","static/js/vertical-2f20122a.js","static/js/vue-virtual-scroller.esm-aa84258e.js","static/css/vertical-c0ec8bec.css","static/js/horizontal-c6d584ff.js","static/css/horizontal-f9c9bac5.css","static/css/index-bbe280a3.css"]),meta:{title:$t("menus.hsVirtualList")}},{path:"/able/pdf",name:"Pdf",component:()=>__vitePreload(()=>import("./pdf-30820686.js"),["static/js/pdf-30820686.js","static/js/vue.runtime.esm-bundler-a6324638.js"]),meta:{title:$t("menus.hsPdf")}},{path:"/able/execl",name:"Execl",component:()=>__vitePreload(()=>import("./execl-de1d8d0c.js"),["static/js/execl-de1d8d0c.js","static/js/xlsx-f5126985.js"]),meta:{title:$t("menus.hsExecl")}},{path:"/able/infiniteScroll",name:"InfiniteScroll",component:()=>__vitePreload(()=>import("./infinite-scroll-2b517294.js"),[]),meta:{title:$t("menus.hsInfiniteScroll")}},{path:"/able/sensitive",name:"Sensitive",component:()=>__vitePreload(()=>import("./sensitive-7bcb2912.js"),[]),meta:{title:$t("menus.hsSensitive"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/pinyin",name:"Pinyin",component:()=>__vitePreload(()=>import("./pinyin-f5885dfd.js"),["static/js/pinyin-f5885dfd.js","static/js/index-d5731855.js","static/css/pinyin-f2728430.css"]),meta:{title:$t("menus.hsPinyin"),extraIcon:"IF-pure-iconfont-new svg"}}]},__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:able},Symbol.toStringTag,{value:"Module"})),about={path:"/about",redirect:"/about/index",meta:{title:$t("menus.hsAbout"),rank:about$1},children:[{path:"/about/index",name:"About",component:()=>__vitePreload(()=>import("./index-17230558.js"),["static/js/index-17230558.js","static/js/columns-a9e72791.js","static/css/index-cb8197dd.css"]),meta:{title:$t("menus.hsAbout")}}]},__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:about},Symbol.toStringTag,{value:"Module"})),components={path:"/components",redirect:"/components/dialog",meta:{icon:"menu",title:$t("menus.hscomponents"),rank:components$1},children:[{path:"/components/dialog",name:"DialogPage",component:()=>__vitePreload(()=>import("./index-4346aa6e.js"),["static/js/index-4346aa6e.js","static/js/form.vue_vue_type_script_setup_true_lang-2a77ad63.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js"]),meta:{title:$t("menus.hsdialog"),extraIcon:"IF-pure-iconfont-new svg",transition:{enterTransition:"animate__fadeInLeft",leaveTransition:"animate__fadeOutRight"}}},{path:"/components/message",name:"Message",component:()=>__vitePreload(()=>import("./index-a8e6f192.js"),["static/js/index-a8e6f192.js","static/js/hooks-2ea9b191.js","static/js/check-3815600c.js"]),meta:{title:$t("menus.hsmessage")}},{path:"/components/segmented",name:"Segmented",component:()=>__vitePreload(()=>import("./index-08f7b72f.js"),["static/js/index-08f7b72f.js","static/js/home-filled-05cc090c.js","static/js/hooks-2ea9b191.js","static/css/index-fa517f4b.css"]),meta:{title:$t("menus.hssegmented"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/waterfall",name:"Waterfall",component:()=>__vitePreload(()=>import("./index-44694419.js"),["static/js/index-44694419.js","static/js/back_top-58cf79de.js","static/css/index-d102724b.css"]),meta:{title:$t("menus.hswaterfall"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/video",name:"VideoPage",component:()=>__vitePreload(()=>import("./index-abb152db.js"),["static/js/index-abb152db.js","static/js/hooks-2ea9b191.js","static/css/index-48d8c7cf.css"]),meta:{title:$t("menus.hsvideo")}},{path:"/components/map",name:"MapPage",component:()=>__vitePreload(()=>import("./index-d0d2892c.js"),["static/js/index-d0d2892c.js","static/css/index-c6f744fa.css"]),meta:{title:$t("menus.hsmap"),keepAlive:!0,transition:{name:"fade"}}},{path:"/components/draggable",name:"Draggable",component:()=>__vitePreload(()=>import("./index-09be365d.js"),["static/js/index-09be365d.js","static/js/sortable.esm-e674cde8.js","static/js/app-246d46a6.js","static/js/hooks-2ea9b191.js","static/css/index-b2ddca14.css"]),meta:{title:$t("menus.hsdraggable"),transition:{enterTransition:"animate__zoomIn",leaveTransition:"animate__zoomOut"}}},{path:"/components/splitPane",name:"SplitPane",component:()=>__vitePreload(()=>import("./index-e4f048dd.js"),["static/js/index-e4f048dd.js","static/css/index-e0a7f2a0.css"]),meta:{title:$t("menus.hssplitPane")}},{path:"/components/button",name:"ButtonPage",component:()=>__vitePreload(()=>import("./index-7cec5734.js"),[]),meta:{title:$t("menus.hsbutton")}},{path:"/components/cropping",name:"Cropping",component:()=>__vitePreload(()=>import("./index-3cc9d30a.js"),["static/js/index-3cc9d30a.js","static/css/index-f3c73bbb.css"]),meta:{title:$t("menus.hscropping")}},{path:"/components/countTo",name:"CountTo",component:()=>__vitePreload(()=>import("./index-3a7716a0.js"),["static/js/index-3a7716a0.js","static/js/propTypes-03d1d3a5.js","static/css/index-a129e600.css"]),meta:{title:$t("menus.hscountTo")}},{path:"/components/selector",name:"Selector",component:()=>__vitePreload(()=>import("./index-44e4b79c.js"),["static/js/index-44e4b79c.js","static/css/index-ea4ab5c7.css"]),meta:{title:$t("menus.hsselector")}},{path:"/components/seamlessScroll",name:"SeamlessScroll",component:()=>__vitePreload(()=>import("./index-29da3f8e.js"),["static/js/index-29da3f8e.js","static/css/index-53a917f7.css"]),meta:{title:$t("menus.hsseamless")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>__vitePreload(()=>import("./index-1a43b023.js"),["static/js/index-1a43b023.js","static/js/basic-9e4768f3.js","static/js/index.esm-88833e99.js","static/css/basic-d842f1a0.css","static/js/menuGroup-2c9d1f41.js","static/css/menuGroup-1ac3332c.css","static/js/menuDynamic-e26cc4a5.js","static/css/menuDynamic-8e12a25c.css","static/css/index-5d2daf4d.css"]),meta:{title:$t("menus.hscontextmenu")}},{path:"/components/typeit",name:"Typeit",component:()=>__vitePreload(()=>import("./index-d57d3027.js"),["static/js/index-d57d3027.js","static/js/index-6393607f.js"]),meta:{title:$t("menus.hstypeit")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>__vitePreload(()=>import("./index-4f983af3.js"),["static/js/index-4f983af3.js","static/js/styles-7ba5c6fe.js","static/js/vue.runtime.esm-bundler-a6324638.js","static/css/styles-0eafbc64.css"]),meta:{title:$t("menus.hsjsoneditor")}},{path:"/components/danmaku",name:"Danmaku",component:()=>__vitePreload(()=>import("./index-bac7b6d4.js"),["static/js/index-bac7b6d4.js","static/css/index-14392f45.css"]),meta:{title:$t("menus.hsdanmaku")}}]},__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:components},Symbol.toStringTag,{value:"Module"})),editor={path:"/editor",redirect:"/editor/index",meta:{icon:"edit",title:$t("menus.hseditor"),rank:editor$1},children:[{path:"/editor/index",name:"Editor",component:()=>__vitePreload(()=>import("./index-de52d59b.js"),["static/js/index-de52d59b.js","static/js/base.vue_vue_type_script_setup_true_lang-64b0f3d7.js","static/js/index.esm-afc87593.js","static/css/index-f38a3df6.css","static/js/multi.vue_vue_type_script_setup_true_lang-05075165.js","static/js/index-95007ff2.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-c067a5b6.js","static/css/index-2bb08053.css"]),meta:{title:$t("menus.hseditor"),keepAlive:!0}}]},__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:editor},Symbol.toStringTag,{value:"Module"})),error={path:"/error",redirect:"/error/403",meta:{icon:"informationLine",title:$t("menus.hsabnormal"),rank:error$1},children:[{path:"/error/403",name:"403",component:()=>__vitePreload(()=>import("./403-923ecc0c.js"),[]),meta:{title:$t("menus.hsfourZeroOne")}},{path:"/error/404",name:"404",component:()=>__vitePreload(()=>import("./404-f814f494.js"),[]),meta:{title:$t("menus.hsfourZeroFour")}},{path:"/error/500",name:"500",component:()=>__vitePreload(()=>import("./500-d232a69f.js"),[]),meta:{title:$t("menus.hsFive")}}]},__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:error},Symbol.toStringTag,{value:"Module"})),flowchart={path:"/flowChart",redirect:"/flowChart/index",meta:{icon:"setUp",title:$t("menus.hsflowChart"),rank:flowchart$1},children:[{path:"/flowChart/index",name:"FlowChart",component:()=>__vitePreload(()=>import("./index-ce657e0b.js"),["static/js/index-ce657e0b.js","static/js/hooks-2ea9b191.js","static/js/styles-7ba5c6fe.js","static/js/vue.runtime.esm-bundler-a6324638.js","static/css/styles-0eafbc64.css","static/js/set-up-e6942411.js","static/css/index-6bd35e69.css"]),meta:{title:$t("menus.hsflowChart")}}]},__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:flowchart},Symbol.toStringTag,{value:"Module"})),IFrame$4=()=>__vitePreload(()=>import("./frameView-b346d222.js"),["static/js/frameView-b346d222.js","static/css/frameView-ed080731.css"]),formdesign={path:"/formDesign",redirect:"/formDesign/index",meta:{icon:"terminalWindowLine",title:$t("menus.hsFormDesign"),rank:formdesign$1},children:[{path:"/formDesign/index",name:"FormDesign",component:IFrame$4,meta:{title:$t("menus.hsFormDesign"),frameSrc:"https://haixin-fang.github.io/starfish-vue3-lowcode/playground/index.html#/"}}]},__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:formdesign},Symbol.toStringTag,{value:"Module"})),guide={path:"/guide",redirect:"/guide/index",meta:{icon:"guide",title:$t("menus.hsguide"),rank:guide$1},children:[{path:"/guide/index",name:"Guide",component:()=>__vitePreload(()=>import("./index-41fb1d6a.js"),["static/js/index-41fb1d6a.js","static/css/index-38ef32bb.css"]),meta:{title:$t("menus.hsguide")}}]},__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:guide},Symbol.toStringTag,{value:"Module"})),{VITE_HIDE_HOME:VITE_HIDE_HOME$2}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},Layout$1=()=>__vitePreload(()=>import("./index-89e931c0.js"),["static/js/index-89e931c0.js","static/js/menu-a4fe64fb.js","static/js/set-up-e6942411.js","static/js/home-filled-05cc090c.js","static/js/admin-line-92b9acda.js","static/js/git-branch-line-aa4cb38f.js","static/js/dark-6ca62a74.js","static/js/epTheme-ff3a171c.js","static/js/app-246d46a6.js","static/js/index-d5731855.js","static/js/hooks-2ea9b191.js","static/js/search-cc37b371.js","static/js/check-3815600c.js","static/js/refresh-right-6177e75c.js","static/js/arrow-right-s-line-2977cc7e.js","static/js/back_top-58cf79de.js","static/css/index-a3451fa4.css"]),home={path:"/",name:"Home",component:Layout$1,redirect:"/welcome",meta:{icon:"homeFilled",title:$t("menus.hshome"),rank:home$1},children:[{path:"/welcome",name:"Welcome",component:()=>__vitePreload(()=>import("./index-c35013cb.js"),["static/js/index-c35013cb.js","static/js/Bar.vue_vue_type_script_setup_true_lang-f681038a.js","static/js/app-246d46a6.js","static/js/Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js","static/js/Line.vue_vue_type_script_setup_true_lang-4df5663e.js","static/js/list-b5711b9c.js","static/js/index-6393607f.js","static/js/Github.vue_vue_type_script_setup_true_lang-524b5d97.js","static/js/columns-e229e9c2.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js","static/js/index-a8afb2c0.js","static/css/index-18417f34.css","static/css/index-f927fe6c.css"]),meta:{title:$t("menus.hshome"),showLink:VITE_HIDE_HOME$2!=="true"}}]},__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:home},Symbol.toStringTag,{value:"Module"})),list$1={path:"/list",redirect:"/list/card",meta:{icon:"listCheck",title:$t("menus.hsList"),rank:list$2},children:[{path:"/list/card",name:"ListCard",component:()=>__vitePreload(()=>import("./index-fb5fc7d1.js"),["static/js/index-fb5fc7d1.js","static/js/Card-1d4ec2a8.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css","static/js/list-b5711b9c.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js","static/js/hooks-2ea9b191.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.js"]),meta:{icon:"card",title:$t("menus.hsListCard"),showParent:!0}}]},__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:list$1},Symbol.toStringTag,{value:"Module"})),menuoverflow={path:"/menuoverflow",redirect:"/menuoverflow/index",meta:{title:$t("menus.hsMenuoverflow"),rank:menuoverflow$1},children:[{path:"/menuoverflow/index",name:"MenuOverflow",component:()=>__vitePreload(()=>import("./index-2a6d5ddb.js"),[]),meta:{title:$t("menus.hsChildMenuoverflow"),showParent:!0}}]},__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:menuoverflow},Symbol.toStringTag,{value:"Module"})),nested={path:"/nested",redirect:"/nested/menu1/menu1-1",meta:{title:$t("menus.hsmenus"),icon:"histogram",rank:nested$1},children:[{path:"/nested/menu1",meta:{title:$t("menus.hsmenu1"),keepAlive:!0},redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>__vitePreload(()=>import("./index-66c26666.js"),[]),name:"Menu1-1",meta:{title:$t("menus.hsmenu1-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:$t("menus.hsmenu1-2"),keepAlive:!0},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>__vitePreload(()=>import("./index-4b663c01.js"),[]),name:"Menu1-2-1",meta:{title:$t("menus.hsmenu1-2-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>__vitePreload(()=>import("./index-de2c4931.js"),[]),name:"Menu1-2-2",meta:{title:$t("menus.hsmenu1-2-2"),keepAlive:!0,extraIcon:"IF-pure-iconfont-new svg"}}]},{path:"/nested/menu1/menu1-3",component:()=>__vitePreload(()=>import("./index-436c44e5.js"),[]),name:"Menu1-3",meta:{title:$t("menus.hsmenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>__vitePreload(()=>import("./index-a372afac.js"),[]),meta:{title:$t("menus.hsmenu2"),keepAlive:!0}}]},__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:nested},Symbol.toStringTag,{value:"Module"})),IFrame$3=()=>__vitePreload(()=>import("./frameView-b346d222.js"),["static/js/frameView-b346d222.js","static/css/frameView-ed080731.css"]),ppt={path:"/ppt",redirect:"/ppt/index",meta:{icon:"ppt",title:"PPT",rank:ppt$1},children:[{path:"/ppt/index",name:"FramePpt",component:IFrame$3,meta:{title:"PPT",frameSrc:"https://pipipi-pikachu.github.io/PPTist/",frameLoading:!1}}]},__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:ppt},Symbol.toStringTag,{value:"Module"})),_hoisted_1={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 1024"},_hoisted_2=createBaseVNode("path",{fill:"#FF5D50",d:"M428.698 107.315c-6.503 72.192-36.352 207.258-160.256 337.408 3.686-48.025-7.117-83.763-19.047-107.673-6.605-13.159-26.06-10.599-28.877 3.84-5.734 29.44-20.582 75.059-57.6 137.779-71.628 121.395-62.566 459.878 340.736 459.878S934.093 585.728 876.8 442.522c-37.376-93.44-93.952-152.525-128.82-182.324-11.417-9.779-29.132-1.945-29.593 13.056-.921 30.464-7.321 73.37-33.075 102.144-.666-52.787-38.144-208.384-202.445-296.857-23.296-12.544-51.763 2.457-54.17 28.774z"},null,-1),_hoisted_3=createBaseVNode("path",{fill:"#FFDF99",d:"M702.26 678.4c-4.2-45.056-60.673-166.554-212.634-246.426-10.599-5.58-23.092 3.124-21.504 15.002 6.246 46.848 12.953 140.493-24.064 184.73 4.044-40.397-18.125-73.83-36.66-94.31-8.396-9.217-23.552-4.66-25.497 7.68-3.533 22.322-12.851 56.268-36.557 97.945-42.086 74.035-86.989 188.672 124.57 294.656 10.956.563 22.17.87 33.74.87a617.97 617.97 0 0 0 32.717-.87C694.631 878.182 709.837 759.706 702.26 678.4z"},null,-1),_hoisted_4=[_hoisted_2,_hoisted_3];function render$3(oe,ie){return openBlock(),createElementBlock("svg",_hoisted_1,_hoisted_4)}const hot={render:render$3},IFrame$2=()=>__vitePreload(()=>import("./frameView-b346d222.js"),["static/js/frameView-b346d222.js","static/css/frameView-ed080731.css"]),puredoc={path:"/pure-admin-doc",redirect:"/pure-admin-doc/index",meta:{icon:hot,title:"pure-admin-doc",rank:doc},children:[{path:"/pure-admin-doc/index",name:"FrameDoc",component:IFrame$2,meta:{title:"pure-admin-doc",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc/"}}]},__vite_glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,default:puredoc},Symbol.toStringTag,{value:"Module"})),IFrame$1=()=>__vitePreload(()=>import("./frameView-b346d222.js"),["static/js/frameView-b346d222.js","static/css/frameView-ed080731.css"]),pureutils={path:"/pure-admin-utils",redirect:"/pure-admin-utils/index",meta:{icon:hot,title:"pure-admin-utils",rank:utils$3},children:[{path:"/pure-admin-utils/index",name:"FrameUtils",component:IFrame$1,meta:{title:"pure-admin-utils",frameSrc:"https://pure-admin-utils.netlify.app/"}}]},__vite_glob_0_14=Object.freeze(Object.defineProperty({__proto__:null,default:pureutils},Symbol.toStringTag,{value:"Module"})),result={path:"/result",redirect:"/result/success",meta:{icon:"checkboxCircleLine",title:$t("menus.hsResult"),rank:result$1},children:[{path:"/result/success",name:"Success",component:()=>__vitePreload(()=>import("./success-4cd503ed.js"),["static/js/success-4cd503ed.js","static/css/success-42084dfc.css"]),meta:{title:$t("menus.hsSuccess")}},{path:"/result/fail",name:"Fail",component:()=>__vitePreload(()=>import("./fail-3b176f5f.js"),["static/js/fail-3b176f5f.js","static/js/columns-ffb3ebcb.js","static/js/arrow-right-s-line-2977cc7e.js","static/css/fail-8c7d12a4.css"]),meta:{title:$t("menus.hsFail")}}]},__vite_glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:result},Symbol.toStringTag,{value:"Module"})),table={path:"/pure-table",redirect:"/pure-table/index",meta:{icon:hot,title:"pure-admin-table",rank:table$1},children:[{path:"/pure-table/index",name:"PureTable",component:()=>__vitePreload(()=>import("./index-d35d45ca.js"),["static/js/index-d35d45ca.js","static/js/list-04e09b6f.js","static/js/base.vue_vue_type_script_setup_true_lang-612cd722.js","static/js/data-9af24e22.js","static/js/stripe.vue_vue_type_script_setup_true_lang-4a967d59.js","static/js/border.vue_vue_type_script_setup_true_lang-4222cc4e.js","static/js/status.vue_vue_type_style_index_0_lang-2ca59ed4.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js","static/js/radio.vue_vue_type_script_setup_true_lang-5588d1c7.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-c54a4e8c.js","static/js/sortable.vue_vue_type_script_setup_true_lang-4444de65.js","static/js/filters.vue_vue_type_script_setup_true_lang-782bece9.js","static/js/index.vue_vue_type_script_setup_true_lang-9cbaaa8a.js","static/js/columns-1b8f8615.js","static/js/index.vue_vue_type_script_setup_true_lang-c03ca486.js","static/js/columns-b312cbd2.js","static/js/expand.vue_vue_type_script_setup_true_lang-3909fccf.js","static/js/tree.vue_vue_type_script_setup_true_lang-4deb1854.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-fa751452.js","static/js/merge.vue_vue_type_script_setup_true_lang-5d77abbf.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-092ec924.js","static/js/layout.vue_vue_type_script_setup_true_lang-7f60d3fd.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-79a7fd0b.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js","static/css/index-c6b6432d.css"]),meta:{title:$t("menus.hsPureTableBase")}},{path:"/pure-table/high",name:"PureTableHigh",component:()=>__vitePreload(()=>import("./high-51cafcc9.js"),["static/js/high-51cafcc9.js","static/js/list-7857d918.js","static/js/index.vue_vue_type_script_setup_true_lang-3e2fded0.js","static/js/columns-03aeaacd.js","static/js/data-43132d69.js","static/js/index.vue_vue_type_script_setup_true_lang-5e5d23a5.js","static/js/columns-6d554563.js","static/js/index.vue_vue_type_script_setup_true_lang-443a04b9.js","static/js/columns-6b41d831.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-289544ea.js","static/js/columns-342fbfd7.js","static/js/index.vue_vue_type_script_setup_true_lang-fc1e8d16.js","static/js/columns-474c4a4a.js","static/js/index.vue_vue_type_script_setup_true_lang-709c24e0.js","static/js/columns-94e2a27b.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-a3e0389a.js","static/js/columns-e5795be2.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-3c1d02d2.js","static/js/columns-81a95c64.js","static/js/index.vue_vue_type_script_setup_true_lang-f369f7f2.js","static/js/columns-7e32d1da.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-dc219594.js","static/js/columns-2aa5fe39.js","static/js/index.vue_vue_type_script_setup_true_lang-0c2046d1.js","static/js/index.vue_vue_type_script_setup_true_lang-6b1426e7.js","static/js/columns-ffa8f14e.js","static/js/index.vue_vue_type_script_setup_true_lang-91560990.js","static/js/columns-cecb48d1.js","static/css/high-5bc3f1f1.css"]),meta:{title:$t("menus.hsPureTableHigh")}}]},__vite_glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,default:table},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.5 | MIT */function assign$3(oe){for(var ie=1;ie"u")){he=assign$3({},ie,he),typeof he.expires=="number"&&(he.expires=new Date(Date.now()+he.expires*864e5)),he.expires&&(he.expires=he.expires.toUTCString()),de=encodeURIComponent(de).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var _e="";for(var $e in he)he[$e]&&(_e+="; "+$e,he[$e]!==!0&&(_e+="="+he[$e].split(";")[0]));return document.cookie=de+"="+oe.write(pe,de)+_e}}function ue(de){if(!(typeof document>"u"||arguments.length&&!de)){for(var pe=document.cookie?document.cookie.split("; "):[],he={},_e=0;_eie in oe?Fi(oe,ie,{enumerable:!0 * vue-router v4.2.2 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const isBrowser$1=typeof window<"u";function isESModule(oe){return oe.__esModule||oe[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(oe,ie){const le={};for(const ue in ie){const de=ie[ue];le[ue]=isArray$3(de)?de.map(oe):oe(de)}return le}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=oe=>oe.replace(TRAILING_SLASH_RE,"");function parseURL(oe,ie,le="/"){let ue,de={},pe="",he="";const _e=ie.indexOf("#");let $e=ie.indexOf("?");return _e<$e&&_e>=0&&($e=-1),$e>-1&&(ue=ie.slice(0,$e),pe=ie.slice($e+1,_e>-1?_e:ie.length),de=oe(pe)),_e>-1&&(ue=ue||ie.slice(0,_e),he=ie.slice(_e,ie.length)),ue=resolveRelativePath(ue??ie,le),{fullPath:ue+(pe&&"?")+pe+he,path:ue,query:de,hash:he}}function stringifyURL(oe,ie){const le=ie.query?oe(ie.query):"";return ie.path+(le&&"?")+le+(ie.hash||"")}function stripBase(oe,ie){return!ie||!oe.toLowerCase().startsWith(ie.toLowerCase())?oe:oe.slice(ie.length)||"/"}function isSameRouteLocation(oe,ie,le){const ue=ie.matched.length-1,de=le.matched.length-1;return ue>-1&&ue===de&&isSameRouteRecord(ie.matched[ue],le.matched[de])&&isSameRouteLocationParams(ie.params,le.params)&&oe(ie.query)===oe(le.query)&&ie.hash===le.hash}function isSameRouteRecord(oe,ie){return(oe.aliasOf||oe)===(ie.aliasOf||ie)}function isSameRouteLocationParams(oe,ie){if(Object.keys(oe).length!==Object.keys(ie).length)return!1;for(const le in oe)if(!isSameRouteLocationParamsValue(oe[le],ie[le]))return!1;return!0}function isSameRouteLocationParamsValue(oe,ie){return isArray$3(oe)?isEquivalentArray(oe,ie):isArray$3(ie)?isEquivalentArray(ie,oe):oe===ie}function isEquivalentArray(oe,ie){return isArray$3(ie)?oe.length===ie.length&&oe.every((le,ue)=>le===ie[ue]):oe.length===1&&oe[0]===ie}function resolveRelativePath(oe,ie){if(oe.startsWith("/"))return oe;if(!oe)return ie;const le=ie.split("/"),ue=oe.split("/"),de=ue[ue.length-1];(de===".."||de===".")&&ue.push("");let pe=le.length-1,he,_e;for(he=0;he1&&pe--;else break;return le.slice(0,pe).join("/")+"/"+ue.slice(he-(he===ue.length?1:0)).join("/")}var NavigationType;(function(oe){oe.pop="pop",oe.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(oe){oe.back="back",oe.forward="forward",oe.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(oe){if(!oe)if(isBrowser$1){const ie=document.querySelector("base");oe=ie&&ie.getAttribute("href")||"/",oe=oe.replace(/^\w+:\/\/[^\/]+/,"")}else oe="/";return oe[0]!=="/"&&oe[0]!=="#"&&(oe="/"+oe),removeTrailingSlash(oe)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(oe,ie){return oe.replace(BEFORE_HASH_RE,"#")+ie}function getElementPosition(oe,ie){const le=document.documentElement.getBoundingClientRect(),ue=oe.getBoundingClientRect();return{behavior:ie.behavior,left:ue.left-le.left-(ie.left||0),top:ue.top-le.top-(ie.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(oe){let ie;if("el"in oe){const le=oe.el,ue=typeof le=="string"&&le.startsWith("#"),de=typeof le=="string"?ue?document.getElementById(le.slice(1)):document.querySelector(le):le;if(!de)return;ie=getElementPosition(de,oe)}else ie=oe;"scrollBehavior"in document.documentElement.style?window.scrollTo(ie):window.scrollTo(ie.left!=null?ie.left:window.pageXOffset,ie.top!=null?ie.top:window.pageYOffset)}function getScrollKey(oe,ie){return(history.state?history.state.position-ie:-1)+oe}const scrollPositions=new Map;function saveScrollPosition(oe,ie){scrollPositions.set(oe,ie)}function getSavedScrollPosition(oe){const ie=scrollPositions.get(oe);return scrollPositions.delete(oe),ie}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(oe,ie){const{pathname:le,search:ue,hash:de}=ie,pe=oe.indexOf("#");if(pe>-1){let _e=de.includes(oe.slice(pe))?oe.slice(pe).length:1,$e=de.slice(_e);return $e[0]!=="/"&&($e="/"+$e),stripBase($e,"")}return stripBase(le,oe)+ue+de}function useHistoryListeners(oe,ie,le,ue){let de=[],pe=[],he=null;const _e=({state:Ue})=>{const qe=createCurrentLocation(oe,location),Et=le.value,At=ie.value;let Lt=0;if(Ue){if(le.value=qe,ie.value=Ue,he&&he===Et){he=null;return}Lt=At?Ue.position-At.position:0}else ue(qe);de.forEach(hn=>{hn(le.value,Et,{delta:Lt,type:NavigationType.pop,direction:Lt?Lt>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function $e(){he=le.value}function Ie(Ue){de.push(Ue);const qe=()=>{const Et=de.indexOf(Ue);Et>-1&&de.splice(Et,1)};return pe.push(qe),qe}function Ve(){const{history:Ue}=window;Ue.state&&Ue.replaceState(assign({},Ue.state,{scroll:computeScrollPosition()}),"")}function Fe(){for(const Ue of pe)Ue();pe=[],window.removeEventListener("popstate",_e),window.removeEventListener("beforeunload",Ve)}return window.addEventListener("popstate",_e),window.addEventListener("beforeunload",Ve,{passive:!0}),{pauseListeners:$e,listen:Ie,destroy:Fe}}function buildState(oe,ie,le,ue=!1,de=!1){return{back:oe,current:ie,forward:le,replaced:ue,position:window.history.length,scroll:de?computeScrollPosition():null}}function useHistoryStateNavigation(oe){const{history:ie,location:le}=window,ue={value:createCurrentLocation(oe,le)},de={value:ie.state};de.value||pe(ue.value,{back:null,current:ue.value,forward:null,position:ie.length-1,replaced:!0,scroll:null},!0);function pe($e,Ie,Ve){const Fe=oe.indexOf("#"),Ue=Fe>-1?(le.host&&document.querySelector("base")?oe:oe.slice(Fe))+$e:createBaseLocation()+oe+$e;try{ie[Ve?"replaceState":"pushState"](Ie,"",Ue),de.value=Ie}catch(qe){console.error(qe),le[Ve?"replace":"assign"](Ue)}}function he($e,Ie){const Ve=assign({},ie.state,buildState(de.value.back,$e,de.value.forward,!0),Ie,{position:de.value.position});pe($e,Ve,!0),ue.value=$e}function _e($e,Ie){const Ve=assign({},de.value,ie.state,{forward:$e,scroll:computeScrollPosition()});pe(Ve.current,Ve,!0);const Fe=assign({},buildState(ue.value,$e,null),{position:Ve.position+1},Ie);pe($e,Fe,!1),ue.value=$e}return{location:ue,state:de,push:_e,replace:he}}function createWebHistory(oe){oe=normalizeBase(oe);const ie=useHistoryStateNavigation(oe),le=useHistoryListeners(oe,ie.state,ie.location,ie.replace);function ue(pe,he=!0){he||le.pauseListeners(),history.go(pe)}const de=assign({location:"",base:oe,go:ue,createHref:createHref.bind(null,oe)},ie,le);return Object.defineProperty(de,"location",{enumerable:!0,get:()=>ie.location.value}),Object.defineProperty(de,"state",{enumerable:!0,get:()=>ie.state.value}),de}function createWebHashHistory(oe){return oe=location.host?oe||location.pathname+location.search:"",oe.includes("#")||(oe+="#"),createWebHistory(oe)}function isRouteLocation(oe){return typeof oe=="string"||oe&&typeof oe=="object"}function isRouteName(oe){return typeof oe=="string"||typeof oe=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(oe){oe[oe.aborted=4]="aborted",oe[oe.cancelled=8]="cancelled",oe[oe.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(oe,ie){return assign(new Error,{type:oe,[NavigationFailureSymbol]:!0},ie)}function isNavigationFailure(oe,ie){return oe instanceof Error&&NavigationFailureSymbol in oe&&(ie==null||!!(oe.type&ie))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(oe,ie){const le=assign({},BASE_PATH_PARSER_OPTIONS,ie),ue=[];let de=le.start?"^":"";const pe=[];for(const Ie of oe){const Ve=Ie.length?[]:[90];le.strict&&!Ie.length&&(de+="/");for(let Fe=0;Feie.length?ie.length===1&&ie[0]===40+40?1:-1:0}function comparePathParserScore(oe,ie){let le=0;const ue=oe.score,de=ie.score;for(;le0&&ie[ie.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(oe){if(!oe)return[[]];if(oe==="/")return[[ROOT_TOKEN]];if(!oe.startsWith("/"))throw new Error(`Invalid path "${oe}"`);function ie(qe){throw new Error(`ERR (${le})/"${Ie}": ${qe}`)}let le=0,ue=le;const de=[];let pe;function he(){pe&&de.push(pe),pe=[]}let _e=0,$e,Ie="",Ve="";function Fe(){Ie&&(le===0?pe.push({type:0,value:Ie}):le===1||le===2||le===3?(pe.length>1&&($e==="*"||$e==="+")&&ie(`A repeatable param (${Ie}) must be alone in its segment. eg: '/:ids+.`),pe.push({type:1,value:Ie,regexp:Ve,repeatable:$e==="*"||$e==="+",optional:$e==="*"||$e==="?"})):ie("Invalid state to consume buffer"),Ie="")}function Ue(){Ie+=$e}for(;_e{he(vn)}:noop$1}function he(Ve){if(isRouteName(Ve)){const Fe=ue.get(Ve);Fe&&(ue.delete(Ve),le.splice(le.indexOf(Fe),1),Fe.children.forEach(he),Fe.alias.forEach(he))}else{const Fe=le.indexOf(Ve);Fe>-1&&(le.splice(Fe,1),Ve.record.name&&ue.delete(Ve.record.name),Ve.children.forEach(he),Ve.alias.forEach(he))}}function _e(){return le}function $e(Ve){let Fe=0;for(;Fe=0&&(Ve.record.path!==le[Fe].record.path||!isRecordChildOf(Ve,le[Fe]));)Fe++;le.splice(Fe,0,Ve),Ve.record.name&&!isAliasRecord(Ve)&&ue.set(Ve.record.name,Ve)}function Ie(Ve,Fe){let Ue,qe={},Et,At;if("name"in Ve&&Ve.name){if(Ue=ue.get(Ve.name),!Ue)throw createRouterError(1,{location:Ve});At=Ue.record.name,qe=assign(paramsFromLocation(Fe.params,Ue.keys.filter(vn=>!vn.optional).map(vn=>vn.name)),Ve.params&¶msFromLocation(Ve.params,Ue.keys.map(vn=>vn.name))),Et=Ue.stringify(qe)}else if("path"in Ve)Et=Ve.path,Ue=le.find(vn=>vn.re.test(Et)),Ue&&(qe=Ue.parse(Et),At=Ue.record.name);else{if(Ue=Fe.name?ue.get(Fe.name):le.find(vn=>vn.re.test(Fe.path)),!Ue)throw createRouterError(1,{location:Ve,currentLocation:Fe});At=Ue.record.name,qe=assign({},Fe.params,Ve.params),Et=Ue.stringify(qe)}const Lt=[];let hn=Ue;for(;hn;)Lt.unshift(hn.record),hn=hn.parent;return{name:At,path:Et,params:qe,matched:Lt,meta:mergeMetaFields(Lt)}}return oe.forEach(Ve=>pe(Ve)),{addRoute:pe,resolve:Ie,removeRoute:he,getRoutes:_e,getRecordMatcher:de}}function paramsFromLocation(oe,ie){const le={};for(const ue of ie)ue in oe&&(le[ue]=oe[ue]);return le}function normalizeRouteRecord(oe){return{path:oe.path,redirect:oe.redirect,name:oe.name,meta:oe.meta||{},aliasOf:void 0,beforeEnter:oe.beforeEnter,props:normalizeRecordProps(oe),children:oe.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in oe?oe.components||null:oe.component&&{default:oe.component}}}function normalizeRecordProps(oe){const ie={},le=oe.props||!1;if("component"in oe)ie.default=le;else for(const ue in oe.components)ie[ue]=typeof le=="boolean"?le:le[ue];return ie}function isAliasRecord(oe){for(;oe;){if(oe.record.aliasOf)return!0;oe=oe.parent}return!1}function mergeMetaFields(oe){return oe.reduce((ie,le)=>assign(ie,le.meta),{})}function mergeOptions(oe,ie){const le={};for(const ue in oe)le[ue]=ue in ie?ie[ue]:oe[ue];return le}function isRecordChildOf(oe,ie){return ie.children.some(le=>le===oe||isRecordChildOf(oe,le))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(oe){return encodeURI(""+oe).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(oe){return commonEncode(oe).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(oe){return commonEncode(oe).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(oe){return encodeQueryValue(oe).replace(EQUAL_RE,"%3D")}function encodePath(oe){return commonEncode(oe).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(oe){return oe==null?"":encodePath(oe).replace(SLASH_RE,"%2F")}function decode$1(oe){try{return decodeURIComponent(""+oe)}catch{}return""+oe}function parseQuery(oe){const ie={};if(oe===""||oe==="?")return ie;const ue=(oe[0]==="?"?oe.slice(1):oe).split("&");for(let de=0;depe&&encodeQueryValue(pe)):[ue&&encodeQueryValue(ue)]).forEach(pe=>{pe!==void 0&&(ie+=(ie.length?"&":"")+le,pe!=null&&(ie+="="+pe))})}return ie}function normalizeQuery(oe){const ie={};for(const le in oe){const ue=oe[le];ue!==void 0&&(ie[le]=isArray$3(ue)?ue.map(de=>de==null?null:""+de):ue==null?ue:""+ue)}return ie}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let oe=[];function ie(ue){return oe.push(ue),()=>{const de=oe.indexOf(ue);de>-1&&oe.splice(de,1)}}function le(){oe=[]}return{add:ie,list:()=>oe,reset:le}}function guardToPromiseFn(oe,ie,le,ue,de){const pe=ue&&(ue.enterCallbacks[de]=ue.enterCallbacks[de]||[]);return()=>new Promise((he,_e)=>{const $e=Fe=>{Fe===!1?_e(createRouterError(4,{from:le,to:ie})):Fe instanceof Error?_e(Fe):isRouteLocation(Fe)?_e(createRouterError(2,{from:ie,to:Fe})):(pe&&ue.enterCallbacks[de]===pe&&typeof Fe=="function"&&pe.push(Fe),he())},Ie=oe.call(ue&&ue.instances[de],ie,le,$e);let Ve=Promise.resolve(Ie);oe.length<3&&(Ve=Ve.then($e)),Ve.catch(Fe=>_e(Fe))})}function extractComponentsGuards(oe,ie,le,ue){const de=[];for(const pe of oe)for(const he in pe.components){let _e=pe.components[he];if(!(ie!=="beforeRouteEnter"&&!pe.instances[he]))if(isRouteComponent(_e)){const Ie=(_e.__vccOpts||_e)[ie];Ie&&de.push(guardToPromiseFn(Ie,le,ue,pe,he))}else{let $e=_e();de.push(()=>$e.then(Ie=>{if(!Ie)return Promise.reject(new Error(`Couldn't resolve component "${he}" at "${pe.path}"`));const Ve=isESModule(Ie)?Ie.default:Ie;pe.components[he]=Ve;const Ue=(Ve.__vccOpts||Ve)[ie];return Ue&&guardToPromiseFn(Ue,le,ue,pe,he)()}))}}return de}function isRouteComponent(oe){return typeof oe=="object"||"displayName"in oe||"props"in oe||"__vccOpts"in oe}function useLink(oe){const ie=inject(routerKey),le=inject(routeLocationKey),ue=computed(()=>ie.resolve(unref(oe.to))),de=computed(()=>{const{matched:$e}=ue.value,{length:Ie}=$e,Ve=$e[Ie-1],Fe=le.matched;if(!Ve||!Fe.length)return-1;const Ue=Fe.findIndex(isSameRouteRecord.bind(null,Ve));if(Ue>-1)return Ue;const qe=getOriginalPath($e[Ie-2]);return Ie>1&&getOriginalPath(Ve)===qe&&Fe[Fe.length-1].path!==qe?Fe.findIndex(isSameRouteRecord.bind(null,$e[Ie-2])):Ue}),pe=computed(()=>de.value>-1&&includesParams(le.params,ue.value.params)),he=computed(()=>de.value>-1&&de.value===le.matched.length-1&&isSameRouteLocationParams(le.params,ue.value.params));function _e($e={}){return guardEvent($e)?ie[unref(oe.replace)?"replace":"push"](unref(oe.to)).catch(noop$1):Promise.resolve()}return{route:ue,href:computed(()=>ue.value.href),isActive:pe,isExactActive:he,navigate:_e}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(oe,{slots:ie}){const le=reactive(useLink(oe)),{options:ue}=inject(routerKey),de=computed(()=>({[getLinkClass(oe.activeClass,ue.linkActiveClass,"router-link-active")]:le.isActive,[getLinkClass(oe.exactActiveClass,ue.linkExactActiveClass,"router-link-exact-active")]:le.isExactActive}));return()=>{const pe=ie.default&&ie.default(le);return oe.custom?pe:h$3("a",{"aria-current":le.isExactActive?oe.ariaCurrentValue:null,href:le.href,onClick:le.navigate,class:de.value},pe)}}}),RouterLink=RouterLinkImpl;function guardEvent(oe){if(!(oe.metaKey||oe.altKey||oe.ctrlKey||oe.shiftKey)&&!oe.defaultPrevented&&!(oe.button!==void 0&&oe.button!==0)){if(oe.currentTarget&&oe.currentTarget.getAttribute){const ie=oe.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(ie))return}return oe.preventDefault&&oe.preventDefault(),!0}}function includesParams(oe,ie){for(const le in ie){const ue=ie[le],de=oe[le];if(typeof ue=="string"){if(ue!==de)return!1}else if(!isArray$3(de)||de.length!==ue.length||ue.some((pe,he)=>pe!==de[he]))return!1}return!0}function getOriginalPath(oe){return oe?oe.aliasOf?oe.aliasOf.path:oe.path:""}const getLinkClass=(oe,ie,le)=>oe??ie??le,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(oe,{attrs:ie,slots:le}){const ue=inject(routerViewLocationKey),de=computed(()=>oe.route||ue.value),pe=inject(viewDepthKey,0),he=computed(()=>{let Ie=unref(pe);const{matched:Ve}=de.value;let Fe;for(;(Fe=Ve[Ie])&&!Fe.components;)Ie++;return Ie}),_e=computed(()=>de.value.matched[he.value]);provide(viewDepthKey,computed(()=>he.value+1)),provide(matchedRouteKey,_e),provide(routerViewLocationKey,de);const $e=ref();return watch(()=>[$e.value,_e.value,oe.name],([Ie,Ve,Fe],[Ue,qe,Et])=>{Ve&&(Ve.instances[Fe]=Ie,qe&&qe!==Ve&&Ie&&Ie===Ue&&(Ve.leaveGuards.size||(Ve.leaveGuards=qe.leaveGuards),Ve.updateGuards.size||(Ve.updateGuards=qe.updateGuards))),Ie&&Ve&&(!qe||!isSameRouteRecord(Ve,qe)||!Ue)&&(Ve.enterCallbacks[Fe]||[]).forEach(At=>At(Ie))},{flush:"post"}),()=>{const Ie=de.value,Ve=oe.name,Fe=_e.value,Ue=Fe&&Fe.components[Ve];if(!Ue)return normalizeSlot(le.default,{Component:Ue,route:Ie});const qe=Fe.props[Ve],Et=qe?qe===!0?Ie.params:typeof qe=="function"?qe(Ie):qe:null,Lt=h$3(Ue,assign({},Et,ie,{onVnodeUnmounted:hn=>{hn.component.isUnmounted&&(Fe.instances[Ve]=null)},ref:$e}));return normalizeSlot(le.default,{Component:Lt,route:Ie})||Lt}}});function normalizeSlot(oe,ie){if(!oe)return null;const le=oe(ie);return le.length===1?le[0]:le}const RouterView=RouterViewImpl;function createRouter(oe){const ie=createRouterMatcher(oe.routes,oe),le=oe.parseQuery||parseQuery,ue=oe.stringifyQuery||stringifyQuery,de=oe.history,pe=useCallbacks(),he=useCallbacks(),_e=useCallbacks(),$e=shallowRef(START_LOCATION_NORMALIZED);let Ie=START_LOCATION_NORMALIZED;isBrowser$1&&oe.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Ve=applyToParams.bind(null,Yn=>""+Yn),Fe=applyToParams.bind(null,encodeParam),Ue=applyToParams.bind(null,decode$1);function qe(Yn,Kn){let tr,lr;return isRouteName(Yn)?(tr=ie.getRecordMatcher(Yn),lr=Kn):lr=Yn,ie.addRoute(lr,tr)}function Et(Yn){const Kn=ie.getRecordMatcher(Yn);Kn&&ie.removeRoute(Kn)}function At(){return ie.getRoutes().map(Yn=>Yn.record)}function Lt(Yn){return!!ie.getRecordMatcher(Yn)}function hn(Yn,Kn){if(Kn=assign({},Kn||$e.value),typeof Yn=="string"){const or=parseURL(le,Yn,Kn.path),hr=ie.resolve({path:or.path},Kn),Cr=de.createHref(or.fullPath);return assign(or,hr,{params:Ue(hr.params),hash:decode$1(or.hash),redirectedFrom:void 0,href:Cr})}let tr;if("path"in Yn)tr=assign({},Yn,{path:parseURL(le,Yn.path,Kn.path).path});else{const or=assign({},Yn.params);for(const hr in or)or[hr]==null&&delete or[hr];tr=assign({},Yn,{params:Fe(or)}),Kn.params=Fe(Kn.params)}const lr=ie.resolve(tr,Kn),ur=Yn.hash||"";lr.params=Ve(Ue(lr.params));const jn=stringifyURL(ue,assign({},Yn,{hash:encodeHash(ur),path:lr.path})),Xn=de.createHref(jn);return assign({fullPath:jn,hash:ur,query:ue===stringifyQuery?normalizeQuery(Yn.query):Yn.query||{}},lr,{redirectedFrom:void 0,href:Xn})}function vn(Yn){return typeof Yn=="string"?parseURL(le,Yn,$e.value.path):assign({},Yn)}function _n(Yn,Kn){if(Ie!==Yn)return createRouterError(8,{from:Kn,to:Yn})}function bn(Yn){return En(Yn)}function Sn(Yn){return bn(assign(vn(Yn),{replace:!0}))}function Cn(Yn){const Kn=Yn.matched[Yn.matched.length-1];if(Kn&&Kn.redirect){const{redirect:tr}=Kn;let lr=typeof tr=="function"?tr(Yn):tr;return typeof lr=="string"&&(lr=lr.includes("?")||lr.includes("#")?lr=vn(lr):{path:lr},lr.params={}),assign({query:Yn.query,hash:Yn.hash,params:"path"in lr?{}:Yn.params},lr)}}function En(Yn,Kn){const tr=Ie=hn(Yn),lr=$e.value,ur=Yn.state,jn=Yn.force,Xn=Yn.replace===!0,or=Cn(tr);if(or)return En(assign(vn(or),{state:typeof or=="object"?assign({},ur,or.state):ur,force:jn,replace:Xn}),Kn||tr);const hr=tr;hr.redirectedFrom=Kn;let Cr;return!jn&&isSameRouteLocation(ue,lr,tr)&&(Cr=createRouterError(16,{to:hr,from:lr}),Wn(lr,lr,!0,!1)),(Cr?Promise.resolve(Cr):Pn(hr,lr)).catch(fr=>isNavigationFailure(fr)?isNavigationFailure(fr,2)?fr:Hn(fr):zn(fr,hr,lr)).then(fr=>{if(fr){if(isNavigationFailure(fr,2))return En(assign({replace:Xn},vn(fr.to),{state:typeof fr.to=="object"?assign({},ur,fr.to.state):ur,force:jn}),Kn||hr)}else fr=An(hr,lr,!0,Xn,ur);return xn(hr,lr,fr),fr})}function $n(Yn,Kn){const tr=_n(Yn,Kn);return tr?Promise.reject(tr):Promise.resolve()}function wn(Yn){const Kn=ar.values().next().value;return Kn&&typeof Kn.runWithContext=="function"?Kn.runWithContext(Yn):Yn()}function Pn(Yn,Kn){let tr;const[lr,ur,jn]=extractChangingRecords(Yn,Kn);tr=extractComponentsGuards(lr.reverse(),"beforeRouteLeave",Yn,Kn);for(const or of lr)or.leaveGuards.forEach(hr=>{tr.push(guardToPromiseFn(hr,Yn,Kn))});const Xn=$n.bind(null,Yn,Kn);return tr.push(Xn),rr(tr).then(()=>{tr=[];for(const or of pe.list())tr.push(guardToPromiseFn(or,Yn,Kn));return tr.push(Xn),rr(tr)}).then(()=>{tr=extractComponentsGuards(ur,"beforeRouteUpdate",Yn,Kn);for(const or of ur)or.updateGuards.forEach(hr=>{tr.push(guardToPromiseFn(hr,Yn,Kn))});return tr.push(Xn),rr(tr)}).then(()=>{tr=[];for(const or of Yn.matched)if(or.beforeEnter&&!Kn.matched.includes(or))if(isArray$3(or.beforeEnter))for(const hr of or.beforeEnter)tr.push(guardToPromiseFn(hr,Yn,Kn));else tr.push(guardToPromiseFn(or.beforeEnter,Yn,Kn));return tr.push(Xn),rr(tr)}).then(()=>(Yn.matched.forEach(or=>or.enterCallbacks={}),tr=extractComponentsGuards(jn,"beforeRouteEnter",Yn,Kn),tr.push(Xn),rr(tr))).then(()=>{tr=[];for(const or of he.list())tr.push(guardToPromiseFn(or,Yn,Kn));return tr.push(Xn),rr(tr)}).catch(or=>isNavigationFailure(or,8)?or:Promise.reject(or))}function xn(Yn,Kn,tr){for(const lr of _e.list())wn(()=>lr(Yn,Kn,tr))}function An(Yn,Kn,tr,lr,ur){const jn=_n(Yn,Kn);if(jn)return jn;const Xn=Kn===START_LOCATION_NORMALIZED,or=isBrowser$1?history.state:{};tr&&(lr||Xn?de.replace(Yn.fullPath,assign({scroll:Xn&&or&&or.scroll},ur)):de.push(Yn.fullPath,ur)),$e.value=Yn,Wn(Yn,Kn,tr,Xn),Hn()}let On;function In(){On||(On=de.listen((Yn,Kn,tr)=>{if(!mr.listening)return;const lr=hn(Yn),ur=Cn(lr);if(ur){En(assign(ur,{replace:!0}),lr).catch(noop$1);return}Ie=lr;const jn=$e.value;isBrowser$1&&saveScrollPosition(getScrollKey(jn.fullPath,tr.delta),computeScrollPosition()),Pn(lr,jn).catch(Xn=>isNavigationFailure(Xn,12)?Xn:isNavigationFailure(Xn,2)?(En(Xn.to,lr).then(or=>{isNavigationFailure(or,20)&&!tr.delta&&tr.type===NavigationType.pop&&de.go(-1,!1)}).catch(noop$1),Promise.reject()):(tr.delta&&de.go(-tr.delta,!1),zn(Xn,lr,jn))).then(Xn=>{Xn=Xn||An(lr,jn,!1),Xn&&(tr.delta&&!isNavigationFailure(Xn,8)?de.go(-tr.delta,!1):tr.type===NavigationType.pop&&isNavigationFailure(Xn,20)&&de.go(-1,!1)),xn(lr,jn,Xn)}).catch(noop$1)}))}let Fn=useCallbacks(),Vn=useCallbacks(),Dn;function zn(Yn,Kn,tr){Hn(Yn);const lr=Vn.list();return lr.length?lr.forEach(ur=>ur(Yn,Kn,tr)):console.error(Yn),Promise.reject(Yn)}function Mn(){return Dn&&$e.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((Yn,Kn)=>{Fn.add([Yn,Kn])})}function Hn(Yn){return Dn||(Dn=!Yn,In(),Fn.list().forEach(([Kn,tr])=>Yn?tr(Yn):Kn()),Fn.reset()),Yn}function Wn(Yn,Kn,tr,lr){const{scrollBehavior:ur}=oe;if(!isBrowser$1||!ur)return Promise.resolve();const jn=!tr&&getSavedScrollPosition(getScrollKey(Yn.fullPath,0))||(lr||!tr)&&history.state&&history.state.scroll||null;return nextTick().then(()=>ur(Yn,Kn,jn)).then(Xn=>Xn&&scrollToPosition(Xn)).catch(Xn=>zn(Xn,Yn,Kn))}const Un=Yn=>de.go(Yn);let Zn;const ar=new Set,mr={currentRoute:$e,listening:!0,addRoute:qe,removeRoute:Et,hasRoute:Lt,getRoutes:At,resolve:hn,options:oe,push:bn,replace:Sn,go:Un,back:()=>Un(-1),forward:()=>Un(1),beforeEach:pe.add,beforeResolve:he.add,afterEach:_e.add,onError:Vn.add,isReady:Mn,install(Yn){const Kn=this;Yn.component("RouterLink",RouterLink),Yn.component("RouterView",RouterView),Yn.config.globalProperties.$router=Kn,Object.defineProperty(Yn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref($e)}),isBrowser$1&&!Zn&&$e.value===START_LOCATION_NORMALIZED&&(Zn=!0,bn(de.location).catch(ur=>{}));const tr={};for(const ur in START_LOCATION_NORMALIZED)tr[ur]=computed(()=>$e.value[ur]);Yn.provide(routerKey,Kn),Yn.provide(routeLocationKey,reactive(tr)),Yn.provide(routerViewLocationKey,$e);const lr=Yn.unmount;ar.add(Yn),Yn.unmount=function(){ar.delete(Yn),ar.size<1&&(Ie=START_LOCATION_NORMALIZED,On&&On(),On=null,$e.value=START_LOCATION_NORMALIZED,Zn=!1,Dn=!1),lr()}}};function rr(Yn){return Yn.reduce((Kn,tr)=>Kn.then(()=>wn(tr)),Promise.resolve())}return mr}function extractChangingRecords(oe,ie){const le=[],ue=[],de=[],pe=Math.max(ie.matched.length,oe.matched.length);for(let he=0;heisSameRouteRecord(Ie,_e))?ue.push(_e):le.push(_e));const $e=oe.matched[he];$e&&(ie.matched.find(Ie=>isSameRouteRecord(Ie,$e))||de.push($e))}return[le,ue,de]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const extractPathList=oe=>{if(!Array.isArray(oe))return console.warn("tree must be an array"),[];if(!oe||oe.length===0)return[];const ie=[];for(const le of oe)le.children&&le.children.length>0&&extractPathList(le.children),ie.push(le.uniqueId);return ie},deleteChildren=(oe,ie=[])=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];for(const[le,ue]of oe.entries())ue.children&&ue.children.length===1&&delete ue.children,ue.id=le,ue.parentId=ie.length?ie[ie.length-1]:null,ue.pathList=[...ie,ue.id],ue.uniqueId=ue.pathList.length>1?ue.pathList.join("-"):ue.pathList[0],ue.children&&ue.children.length>0&&deleteChildren(ue.children,ue.pathList);return oe},buildHierarchyTree=(oe,ie=[])=>{if(!Array.isArray(oe))return console.warn("tree must be an array"),[];if(!oe||oe.length===0)return[];for(const[le,ue]of oe.entries())ue.id=le,ue.parentId=ie.length?ie[ie.length-1]:null,ue.pathList=[...ie,ue.id],ue.children&&ue.children.length>0&&buildHierarchyTree(ue.children,ue.pathList);return oe},getNodeByUniqueId=(oe,ie)=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];const le=oe.find(de=>de.uniqueId===ie);if(le)return le;const ue=oe.filter(de=>de.children).map(de=>de.children).flat(1);return getNodeByUniqueId(ue,ie)},appendFieldByUniqueId=(oe,ie,le)=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];for(const ue of oe){const de=ue.children&&ue.children.length>0;ue.uniqueId===ie&&Object.prototype.toString.call(le)==="[object Object]"&&Object.assign(ue,le),de&&appendFieldByUniqueId(ue.children,ie,le)}return oe},handleTree=(oe,ie,le,ue)=>{if(!Array.isArray(oe))return console.warn("data must be an array"),[];const de={id:ie||"id",parentId:le||"parentId",childrenList:ue||"children"},pe={},he={},_e=[];for(const Ie of oe){const Ve=Ie[de.parentId];pe[Ve]==null&&(pe[Ve]=[]),he[Ie[de.id]]=Ie,pe[Ve].push(Ie)}for(const Ie of oe){const Ve=Ie[de.parentId];he[Ve]==null&&_e.push(Ie)}for(const Ie of _e)$e(Ie);function $e(Ie){if(pe[Ie[de.id]]!==null&&(Ie[de.childrenList]=pe[Ie[de.id]]),Ie[de.childrenList])for(const Ve of Ie[de.childrenList])$e(Ve)}return _e},getAsyncRoutes=()=>http.request("get","/getAsyncRoutes"),IFrame=()=>__vitePreload(()=>import("./frameView-5ae09b01.js"),["static/js/frameView-5ae09b01.js","static/css/frameView-ed080731.css"]),modulesRoutes=Object.assign({"/src/views/able/barcode.vue":()=>__vitePreload(()=>import("./barcode-900bacb0.js"),[]),"/src/views/able/cascader.vue":()=>__vitePreload(()=>import("./cascader-02616d41.js"),["static/js/cascader-02616d41.js","static/css/cascader-843853c0.css"]),"/src/views/able/debounce.vue":()=>__vitePreload(()=>import("./debounce-dbd986da.js"),[]),"/src/views/able/directives.vue":()=>__vitePreload(()=>import("./directives-a1012ef7.js"),[]),"/src/views/able/download.vue":()=>__vitePreload(()=>import("./download-153a3b00.js"),[]),"/src/views/able/execl.vue":()=>__vitePreload(()=>import("./execl-4649cc0f.js"),["static/js/execl-4649cc0f.js","static/js/xlsx-f5126985.js"]),"/src/views/able/icon-select.vue":()=>__vitePreload(()=>import("./icon-select-ee6e6301.js"),["static/js/icon-select-ee6e6301.js","static/css/icon-select-e8efdfdc.css"]),"/src/views/able/infinite-scroll.vue":()=>__vitePreload(()=>import("./infinite-scroll-30a43124.js"),[]),"/src/views/able/line-tree.vue":()=>__vitePreload(()=>import("./line-tree-12d57615.js"),["static/js/line-tree-12d57615.js","static/css/line-tree-970a113a.css"]),"/src/views/able/menu-tree.vue":()=>__vitePreload(()=>import("./menu-tree-8383d632.js"),["static/js/menu-tree-8383d632.js","static/js/hooks-82c6b5e4.js"]),"/src/views/able/pdf.vue":()=>__vitePreload(()=>import("./pdf-4b215f44.js"),["static/js/pdf-4b215f44.js","static/js/vue.runtime.esm-bundler-44233a4d.js"]),"/src/views/able/pinyin.vue":()=>__vitePreload(()=>import("./pinyin-514c5d3d.js"),["static/js/pinyin-514c5d3d.js","static/js/index-d5731855.js","static/css/pinyin-f2728430.css"]),"/src/views/able/print.vue":()=>__vitePreload(()=>import("./print-9e6ffe48.js"),["static/js/print-9e6ffe48.js","static/js/print-a6e42845.js","static/js/Line.vue_vue_type_script_setup_true_lang-30123dc5.js","static/js/app-c56ccba4.js","static/css/print-8831c8b6.css"]),"/src/views/able/qrcode.vue":()=>__vitePreload(()=>import("./qrcode-6bdaa7dc.js"),["static/js/qrcode-6bdaa7dc.js","static/js/index-7ace001d.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),"/src/views/able/sensitive.vue":()=>__vitePreload(()=>import("./sensitive-22a0368b.js"),[]),"/src/views/able/swiper.vue":()=>__vitePreload(()=>import("./swiper-21516ff1.js"),["static/js/swiper-21516ff1.js","static/css/swiper-fdcb3fa3.css"]),"/src/views/able/timeline.vue":()=>__vitePreload(()=>import("./timeline-11cca6d9.js"),["static/js/timeline-11cca6d9.js","static/js/index-026bd28f.js","static/css/index-18417f34.css","static/js/hooks-82c6b5e4.js","static/js/iphone-bcaa848c.js","static/css/timeline-12434188.css"]),"/src/views/able/virtual-list/horizontal.vue":()=>__vitePreload(()=>import("./horizontal-a2f578f8.js"),["static/js/horizontal-a2f578f8.js","static/js/vue-virtual-scroller.esm-540eb406.js","static/css/horizontal-f9c9bac5.css"]),"/src/views/able/virtual-list/index.vue":()=>__vitePreload(()=>import("./index-9e6d1e33.js"),["static/js/index-9e6d1e33.js","static/js/vertical-415d74d4.js","static/js/vue-virtual-scroller.esm-540eb406.js","static/css/vertical-c0ec8bec.css","static/js/horizontal-a2f578f8.js","static/css/horizontal-f9c9bac5.css","static/css/index-bbe280a3.css"]),"/src/views/able/virtual-list/vertical.vue":()=>__vitePreload(()=>import("./vertical-415d74d4.js"),["static/js/vertical-415d74d4.js","static/js/vue-virtual-scroller.esm-540eb406.js","static/css/vertical-c0ec8bec.css"]),"/src/views/able/watermark.vue":()=>__vitePreload(()=>import("./watermark-63f78491.js"),[]),"/src/views/about/columns.tsx":()=>__vitePreload(()=>import("./columns-d8def6bf.js"),[]),"/src/views/about/index.vue":()=>__vitePreload(()=>import("./index-11a0f3ed.js"),["static/js/index-11a0f3ed.js","static/js/columns-d8def6bf.js","static/css/index-cb8197dd.css"]),"/src/views/components/button/index.vue":()=>__vitePreload(()=>import("./index-9996e8d2.js"),[]),"/src/views/components/contextmenu/basic.vue":()=>__vitePreload(()=>import("./basic-1658a9a9.js"),["static/js/basic-1658a9a9.js","static/js/index.esm-74f5f9a0.js","static/css/basic-d842f1a0.css"]),"/src/views/components/contextmenu/index.vue":()=>__vitePreload(()=>import("./index-b04a1fb1.js"),["static/js/index-b04a1fb1.js","static/js/basic-1658a9a9.js","static/js/index.esm-74f5f9a0.js","static/css/basic-d842f1a0.css","static/js/menuGroup-513a794f.js","static/css/menuGroup-1ac3332c.css","static/js/menuDynamic-26c92eb4.js","static/css/menuDynamic-8e12a25c.css","static/css/index-5d2daf4d.css"]),"/src/views/components/contextmenu/menuDynamic.vue":()=>__vitePreload(()=>import("./menuDynamic-26c92eb4.js"),["static/js/menuDynamic-26c92eb4.js","static/js/index.esm-74f5f9a0.js","static/css/menuDynamic-8e12a25c.css"]),"/src/views/components/contextmenu/menuGroup.vue":()=>__vitePreload(()=>import("./menuGroup-513a794f.js"),["static/js/menuGroup-513a794f.js","static/js/index.esm-74f5f9a0.js","static/css/menuGroup-1ac3332c.css"]),"/src/views/components/count-to/index.vue":()=>__vitePreload(()=>import("./index-0fc14658.js"),["static/js/index-0fc14658.js","static/js/propTypes-03d1d3a5.js","static/css/index-a129e600.css"]),"/src/views/components/cropping/index.vue":()=>__vitePreload(()=>import("./index-06a908ca.js"),["static/js/index-06a908ca.js","static/css/index-f3c73bbb.css"]),"/src/views/components/danmaku/index.vue":()=>__vitePreload(()=>import("./index-2bf43699.js"),["static/js/index-2bf43699.js","static/css/index-14392f45.css"]),"/src/views/components/dialog/form.vue":()=>__vitePreload(()=>import("./form-c0c48db9.js"),["static/js/form-c0c48db9.js","static/js/form.vue_vue_type_script_setup_true_lang-668c070a.js"]),"/src/views/components/dialog/formPrimitive.vue":()=>__vitePreload(()=>import("./formPrimitive-1e937fa9.js"),["static/js/formPrimitive-1e937fa9.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js"]),"/src/views/components/dialog/index.vue":()=>__vitePreload(()=>import("./index-f2ccae50.js"),["static/js/index-f2ccae50.js","static/js/form.vue_vue_type_script_setup_true_lang-668c070a.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js"]),"/src/views/components/draggable/index.vue":()=>__vitePreload(()=>import("./index-2d45ac87.js"),["static/js/index-2d45ac87.js","static/js/sortable.esm-e674cde8.js","static/js/app-c56ccba4.js","static/js/hooks-82c6b5e4.js","static/css/index-b2ddca14.css"]),"/src/views/components/json-editor/index.vue":()=>__vitePreload(()=>import("./index-08eb722d.js"),["static/js/index-08eb722d.js","static/js/styles-71e87efa.js","static/js/vue.runtime.esm-bundler-44233a4d.js","static/css/styles-0eafbc64.css"]),"/src/views/components/map/index.vue":()=>__vitePreload(()=>import("./index-99e2b4d1.js"),["static/js/index-99e2b4d1.js","static/css/index-c6f744fa.css"]),"/src/views/components/message/index.vue":()=>__vitePreload(()=>import("./index-4f6d577f.js"),["static/js/index-4f6d577f.js","static/js/hooks-82c6b5e4.js","static/js/check-3815600c.js"]),"/src/views/components/seamless-scroll/index.vue":()=>__vitePreload(()=>import("./index-2a56b4d5.js"),["static/js/index-2a56b4d5.js","static/css/index-53a917f7.css"]),"/src/views/components/segmented/index.vue":()=>__vitePreload(()=>import("./index-9e7cb3e4.js"),["static/js/index-9e7cb3e4.js","static/js/home-filled-05cc090c.js","static/js/hooks-82c6b5e4.js","static/css/index-fa517f4b.css"]),"/src/views/components/selector/index.vue":()=>__vitePreload(()=>import("./index-49508c44.js"),["static/js/index-49508c44.js","static/css/index-ea4ab5c7.css"]),"/src/views/components/split-pane/index.vue":()=>__vitePreload(()=>import("./index-9d9cd6a4.js"),["static/js/index-9d9cd6a4.js","static/css/index-e0a7f2a0.css"]),"/src/views/components/typeit/index.vue":()=>__vitePreload(()=>import("./index-8ac4644e.js"),["static/js/index-8ac4644e.js","static/js/index-e5cd6a13.js"]),"/src/views/components/video/index.vue":()=>__vitePreload(()=>import("./index-83c5e682.js"),["static/js/index-83c5e682.js","static/js/hooks-82c6b5e4.js","static/css/index-48d8c7cf.css"]),"/src/views/components/waterfall/index.vue":()=>__vitePreload(()=>import("./index-c609ccff.js"),["static/js/index-c609ccff.js","static/js/back_top-489ad631.js","static/css/index-d102724b.css"]),"/src/views/editor/components/base.vue":()=>__vitePreload(()=>import("./base-382bf325.js"),["static/js/base-382bf325.js","static/js/base.vue_vue_type_script_setup_true_lang-126ca264.js","static/js/index.esm-7c905650.js","static/css/index-f38a3df6.css"]),"/src/views/editor/components/multi.vue":()=>__vitePreload(()=>import("./multi-77ed68ed.js"),["static/js/multi-77ed68ed.js","static/js/multi.vue_vue_type_script_setup_true_lang-bd046a75.js","static/js/index-8460cfed.js","static/js/index.esm-7c905650.js","static/css/index-f38a3df6.css"]),"/src/views/editor/components/picUpload.vue":()=>__vitePreload(()=>import("./picUpload-c6c4842d.js"),["static/js/picUpload-c6c4842d.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-31bef239.js","static/js/index.esm-7c905650.js","static/css/index-f38a3df6.css"]),"/src/views/editor/index.vue":()=>__vitePreload(()=>import("./index-e13ce893.js"),["static/js/index-e13ce893.js","static/js/base.vue_vue_type_script_setup_true_lang-126ca264.js","static/js/index.esm-7c905650.js","static/css/index-f38a3df6.css","static/js/multi.vue_vue_type_script_setup_true_lang-bd046a75.js","static/js/index-8460cfed.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-31bef239.js","static/css/index-2bb08053.css"]),"/src/views/empty/index.vue":()=>__vitePreload(()=>import("./index-2ec31c36.js"),["static/js/index-2ec31c36.js","static/css/index-18755a0a.css"]),"/src/views/error/403.vue":()=>__vitePreload(()=>import("./403-69364b20.js"),[]),"/src/views/error/404.vue":()=>__vitePreload(()=>import("./404-d529caea.js"),[]),"/src/views/error/500.vue":()=>__vitePreload(()=>import("./500-2e35626a.js"),[]),"/src/views/flow-chart/index.vue":()=>__vitePreload(()=>import("./index-cb5b4b6f.js"),["static/js/index-cb5b4b6f.js","static/js/hooks-82c6b5e4.js","static/js/styles-71e87efa.js","static/js/vue.runtime.esm-bundler-44233a4d.js","static/css/styles-0eafbc64.css","static/js/set-up-e6942411.js","static/css/index-6bd35e69.css"]),"/src/views/guide/index.vue":()=>__vitePreload(()=>import("./index-4c91919c.js"),["static/js/index-4c91919c.js","static/css/index-38ef32bb.css"]),"/src/views/list/card/components/Card.vue":()=>__vitePreload(()=>import("./Card-c7385b78.js"),["static/js/Card-c7385b78.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css"]),"/src/views/list/card/components/DialogForm.vue":()=>__vitePreload(()=>import("./DialogForm-65a1c5e1.js"),["static/js/DialogForm-65a1c5e1.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js"]),"/src/views/list/card/index.vue":()=>__vitePreload(()=>import("./index-fa4f7129.js"),["static/js/index-fa4f7129.js","static/js/Card-c7385b78.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css","static/js/list-80891f62.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js","static/js/hooks-82c6b5e4.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.js"]),"/src/views/login/components/phone.vue":()=>__vitePreload(()=>import("./phone-fe62ebcd.js"),["static/js/phone-fe62ebcd.js","static/js/phone.vue_vue_type_script_setup_true_lang-1edc5613.js","static/js/motion-3122a87d.js","static/js/verifyCode-71c44392.js","static/js/hooks-82c6b5e4.js","static/js/iphone-bcaa848c.js"]),"/src/views/login/components/qrCode.vue":()=>__vitePreload(()=>import("./qrCode-aa5e4e54.js"),["static/js/qrCode-aa5e4e54.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-76abe551.js","static/js/motion-3122a87d.js","static/js/index-7ace001d.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),"/src/views/login/components/regist.vue":()=>__vitePreload(()=>import("./regist-5000705d.js"),["static/js/regist-5000705d.js","static/js/regist.vue_vue_type_script_setup_true_lang-73a81ed6.js","static/js/motion-3122a87d.js","static/js/verifyCode-71c44392.js","static/js/hooks-82c6b5e4.js","static/js/lock-fill-34b71c6c.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/login/components/update.vue":()=>__vitePreload(()=>import("./update-2189da1f.js"),["static/js/update-2189da1f.js","static/js/update.vue_vue_type_script_setup_true_lang-63cf9497.js","static/js/motion-3122a87d.js","static/js/verifyCode-71c44392.js","static/js/hooks-82c6b5e4.js","static/js/lock-fill-34b71c6c.js","static/js/iphone-bcaa848c.js"]),"/src/views/login/index.vue":()=>__vitePreload(()=>import("./index-4586da2e.js"),["static/js/index-4586da2e.js","static/js/motion-3122a87d.js","static/js/verifyCode-71c44392.js","static/js/phone.vue_vue_type_script_setup_true_lang-1edc5613.js","static/js/hooks-82c6b5e4.js","static/js/iphone-bcaa848c.js","static/js/index-e5cd6a13.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-76abe551.js","static/js/index-7ace001d.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css","static/js/regist.vue_vue_type_script_setup_true_lang-73a81ed6.js","static/js/lock-fill-34b71c6c.js","static/js/user-3-fill-70ba8c19.js","static/js/update.vue_vue_type_script_setup_true_lang-63cf9497.js","static/js/dark-3015d878.js","static/js/epTheme-904e4673.js","static/js/app-c56ccba4.js","static/js/check-3815600c.js","static/css/index-90a3ebb5.css"]),"/src/views/menuoverflow/index.vue":()=>__vitePreload(()=>import("./index-a9b0cd40.js"),[]),"/src/views/nested/menu1/menu1-1/index.vue":()=>__vitePreload(()=>import("./index-500acd9e.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>__vitePreload(()=>import("./index-24224ed6.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>__vitePreload(()=>import("./index-5940b582.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>__vitePreload(()=>import("./index-207ac8cd.js"),[]),"/src/views/nested/menu2/index.vue":()=>__vitePreload(()=>import("./index-8c391611.js"),[]),"/src/views/permission/button/index.vue":()=>__vitePreload(()=>import("./index-171b2cb1.js"),[]),"/src/views/permission/page/index.vue":()=>__vitePreload(()=>import("./index-be036424.js"),[]),"/src/views/pure-table/base/base.vue":()=>__vitePreload(()=>import("./base-42abfe28.js"),["static/js/base-42abfe28.js","static/js/base.vue_vue_type_script_setup_true_lang-c0453f4f.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/border.vue":()=>__vitePreload(()=>import("./border-67eecd65.js"),["static/js/border-67eecd65.js","static/js/border.vue_vue_type_script_setup_true_lang-13c02543.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/column-template/columns.tsx":()=>__vitePreload(()=>import("./columns-1b794032.js"),["static/js/columns-1b794032.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/column-template/index.vue":()=>__vitePreload(()=>import("./index-dee002d6.js"),["static/js/index-dee002d6.js","static/js/index.vue_vue_type_script_setup_true_lang-56274f1f.js","static/js/columns-1b794032.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/customIndex.vue":()=>__vitePreload(()=>import("./customIndex-d177d940.js"),["static/js/customIndex-d177d940.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/expand.vue":()=>__vitePreload(()=>import("./expand-20ee9a2d.js"),["static/js/expand-20ee9a2d.js","static/js/expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/filters.vue":()=>__vitePreload(()=>import("./filters-519832c3.js"),["static/js/filters-519832c3.js","static/js/filters.vue_vue_type_script_setup_true_lang-2cee2599.js"]),"/src/views/pure-table/base/fixColumn.vue":()=>__vitePreload(()=>import("./fixColumn-c205a3c1.js"),["static/js/fixColumn-c205a3c1.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/fixHeader.vue":()=>__vitePreload(()=>import("./fixHeader-d6f28bc5.js"),["static/js/fixHeader-d6f28bc5.js","static/js/fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/fluidHeight.vue":()=>__vitePreload(()=>import("./fluidHeight-3e3d1bb8.js"),["static/js/fluidHeight-3e3d1bb8.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/groupHeader.vue":()=>__vitePreload(()=>import("./groupHeader-a0785989.js"),["static/js/groupHeader-a0785989.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/header-renderer/columns.tsx":()=>__vitePreload(()=>import("./columns-2bdec4e7.js"),["static/js/columns-2bdec4e7.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/header-renderer/index.vue":()=>__vitePreload(()=>import("./index-e864bef2.js"),["static/js/index-e864bef2.js","static/js/index.vue_vue_type_script_setup_true_lang-71f20b48.js","static/js/columns-2bdec4e7.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/imgPreview.vue":()=>__vitePreload(()=>import("./imgPreview-494b3d33.js"),["static/js/imgPreview-494b3d33.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/layout.vue":()=>__vitePreload(()=>import("./layout-2419ec36.js"),["static/js/layout-2419ec36.js","static/js/layout.vue_vue_type_script_setup_true_lang-dec8a425.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/list.tsx":()=>__vitePreload(()=>import("./list-9060fb6b.js"),["static/js/list-9060fb6b.js","static/js/base.vue_vue_type_script_setup_true_lang-c0453f4f.js","static/js/data-ce9440dd.js","static/js/stripe.vue_vue_type_script_setup_true_lang-80337a01.js","static/js/border.vue_vue_type_script_setup_true_lang-13c02543.js","static/js/status.vue_vue_type_style_index_0_lang-6a3855f3.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js","static/js/radio.vue_vue_type_script_setup_true_lang-2664c557.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-29b608cd.js","static/js/sortable.vue_vue_type_script_setup_true_lang-7f949bf2.js","static/js/filters.vue_vue_type_script_setup_true_lang-2cee2599.js","static/js/index.vue_vue_type_script_setup_true_lang-56274f1f.js","static/js/columns-1b794032.js","static/js/index.vue_vue_type_script_setup_true_lang-71f20b48.js","static/js/columns-2bdec4e7.js","static/js/expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js","static/js/tree.vue_vue_type_script_setup_true_lang-36370dff.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-551b34da.js","static/js/merge.vue_vue_type_script_setup_true_lang-22a85f07.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js","static/js/layout.vue_vue_type_script_setup_true_lang-dec8a425.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-f8affc62.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js"]),"/src/views/pure-table/base/merge.vue":()=>__vitePreload(()=>import("./merge-777ccc5f.js"),["static/js/merge-777ccc5f.js","static/js/merge.vue_vue_type_script_setup_true_lang-22a85f07.js"]),"/src/views/pure-table/base/multipleChoice.vue":()=>__vitePreload(()=>import("./multipleChoice-cee3f4cc.js"),["static/js/multipleChoice-cee3f4cc.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-29b608cd.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/nestProp.vue":()=>__vitePreload(()=>import("./nestProp-605e1081.js"),["static/js/nestProp-605e1081.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-f8affc62.js"]),"/src/views/pure-table/base/radio.vue":()=>__vitePreload(()=>import("./radio-90874a7f.js"),["static/js/radio-90874a7f.js","static/js/radio.vue_vue_type_script_setup_true_lang-2664c557.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/sortable.vue":()=>__vitePreload(()=>import("./sortable-d9f0b442.js"),["static/js/sortable-d9f0b442.js","static/js/sortable.vue_vue_type_script_setup_true_lang-7f949bf2.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/status.vue":()=>__vitePreload(()=>import("./status-18955830.js"),["static/js/status-18955830.js","static/js/status.vue_vue_type_style_index_0_lang-6a3855f3.js","static/js/data-ce9440dd.js","static/css/status-3db11369.css"]),"/src/views/pure-table/base/stripe.vue":()=>__vitePreload(()=>import("./stripe-91a49bcc.js"),["static/js/stripe-91a49bcc.js","static/js/stripe.vue_vue_type_script_setup_true_lang-80337a01.js","static/js/data-ce9440dd.js"]),"/src/views/pure-table/base/totalRow.vue":()=>__vitePreload(()=>import("./totalRow-7bea06e1.js"),["static/js/totalRow-7bea06e1.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-551b34da.js"]),"/src/views/pure-table/base/tree.vue":()=>__vitePreload(()=>import("./tree-56bb1784.js"),["static/js/tree-56bb1784.js","static/js/tree.vue_vue_type_script_setup_true_lang-36370dff.js"]),"/src/views/pure-table/high.vue":()=>__vitePreload(()=>import("./high-576e7673.js"),["static/js/high-576e7673.js","static/js/list-501aa27e.js","static/js/index.vue_vue_type_script_setup_true_lang-662cb145.js","static/js/columns-1bc0ce1c.js","static/js/data-c6346f61.js","static/js/index.vue_vue_type_script_setup_true_lang-2f204d9d.js","static/js/columns-963fe6ad.js","static/js/index.vue_vue_type_script_setup_true_lang-cef39cb0.js","static/js/columns-67044dfe.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-9d69299b.js","static/js/columns-dae514b7.js","static/js/index.vue_vue_type_script_setup_true_lang-959d3879.js","static/js/columns-ebf2e2fa.js","static/js/index.vue_vue_type_script_setup_true_lang-cd853b95.js","static/js/columns-43640cdf.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-fbc09ad7.js","static/js/columns-a9925c7c.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-a2c109d6.js","static/js/columns-15aaedc0.js","static/js/index.vue_vue_type_script_setup_true_lang-fb59f01c.js","static/js/columns-2e2a5dc4.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-ad86bd1d.js","static/js/columns-b74d2f49.js","static/js/index.vue_vue_type_script_setup_true_lang-97e25004.js","static/js/index.vue_vue_type_script_setup_true_lang-7c698d53.js","static/js/columns-9576412b.js","static/js/index.vue_vue_type_script_setup_true_lang-808d4627.js","static/js/columns-75d79a61.js","static/css/high-5bc3f1f1.css"]),"/src/views/pure-table/high/adaptive/columns.tsx":()=>__vitePreload(()=>import("./columns-1bc0ce1c.js"),["static/js/columns-1bc0ce1c.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/adaptive/index.vue":()=>__vitePreload(()=>import("./index-f96beb87.js"),["static/js/index-f96beb87.js","static/js/index.vue_vue_type_script_setup_true_lang-662cb145.js","static/js/columns-1bc0ce1c.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/contextmenu/columns.tsx":()=>__vitePreload(()=>import("./columns-ebf2e2fa.js"),["static/js/columns-ebf2e2fa.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/contextmenu/index.vue":()=>__vitePreload(()=>import("./index-7f14b3c0.js"),["static/js/index-7f14b3c0.js","static/js/index.vue_vue_type_script_setup_true_lang-959d3879.js","static/js/columns-ebf2e2fa.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/drag/column/columns.tsx":()=>__vitePreload(()=>import("./columns-dae514b7.js"),["static/js/columns-dae514b7.js","static/js/sortable.esm-e674cde8.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/drag/column/index.vue":()=>__vitePreload(()=>import("./index-f4bd1594.js"),["static/js/index-f4bd1594.js","static/js/index.vue_vue_type_script_setup_true_lang-9d69299b.js","static/js/columns-dae514b7.js","static/js/sortable.esm-e674cde8.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/drag/row/columns.tsx":()=>__vitePreload(()=>import("./columns-67044dfe.js"),["static/js/columns-67044dfe.js","static/js/sortable.esm-e674cde8.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/drag/row/index.vue":()=>__vitePreload(()=>import("./index-e8663534.js"),["static/js/index-e8663534.js","static/js/index.vue_vue_type_script_setup_true_lang-cef39cb0.js","static/js/columns-67044dfe.js","static/js/sortable.esm-e674cde8.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/echarts/columns.tsx":()=>__vitePreload(()=>import("./columns-b74d2f49.js"),["static/js/columns-b74d2f49.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/echarts/index.vue":()=>__vitePreload(()=>import("./index-94a61ec6.js"),["static/js/index-94a61ec6.js","static/js/index.vue_vue_type_script_setup_true_lang-ad86bd1d.js","static/js/columns-b74d2f49.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/edit/columns.tsx":()=>__vitePreload(()=>import("./columns-a9925c7c.js"),["static/js/columns-a9925c7c.js","static/js/data-c6346f61.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js"]),"/src/views/pure-table/high/edit/index.vue":()=>__vitePreload(()=>import("./index-91335a73.js"),["static/js/index-91335a73.js","static/js/index.vue_vue_type_script_setup_true_lang-fbc09ad7.js","static/js/columns-a9925c7c.js","static/js/data-c6346f61.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js"]),"/src/views/pure-table/high/execl/columns.tsx":()=>__vitePreload(()=>import("./columns-43640cdf.js"),["static/js/columns-43640cdf.js","static/js/xlsx-f5126985.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/execl/index.vue":()=>__vitePreload(()=>import("./index-fa568bbc.js"),["static/js/index-fa568bbc.js","static/js/index.vue_vue_type_script_setup_true_lang-cd853b95.js","static/js/columns-43640cdf.js","static/js/xlsx-f5126985.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/list.tsx":()=>__vitePreload(()=>import("./list-501aa27e.js"),["static/js/list-501aa27e.js","static/js/index.vue_vue_type_script_setup_true_lang-662cb145.js","static/js/columns-1bc0ce1c.js","static/js/data-c6346f61.js","static/js/index.vue_vue_type_script_setup_true_lang-2f204d9d.js","static/js/columns-963fe6ad.js","static/js/index.vue_vue_type_script_setup_true_lang-cef39cb0.js","static/js/columns-67044dfe.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-9d69299b.js","static/js/columns-dae514b7.js","static/js/index.vue_vue_type_script_setup_true_lang-959d3879.js","static/js/columns-ebf2e2fa.js","static/js/index.vue_vue_type_script_setup_true_lang-cd853b95.js","static/js/columns-43640cdf.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-fbc09ad7.js","static/js/columns-a9925c7c.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-a2c109d6.js","static/js/columns-15aaedc0.js","static/js/index.vue_vue_type_script_setup_true_lang-fb59f01c.js","static/js/columns-2e2a5dc4.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-ad86bd1d.js","static/js/columns-b74d2f49.js","static/js/index.vue_vue_type_script_setup_true_lang-97e25004.js","static/js/index.vue_vue_type_script_setup_true_lang-7c698d53.js","static/js/columns-9576412b.js","static/js/index.vue_vue_type_script_setup_true_lang-808d4627.js","static/js/columns-75d79a61.js"]),"/src/views/pure-table/high/page/columns.tsx":()=>__vitePreload(()=>import("./columns-963fe6ad.js"),["static/js/columns-963fe6ad.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/page/index.vue":()=>__vitePreload(()=>import("./index-b435def2.js"),["static/js/index-b435def2.js","static/js/index.vue_vue_type_script_setup_true_lang-2f204d9d.js","static/js/columns-963fe6ad.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/prints/columns.tsx":()=>__vitePreload(()=>import("./columns-2e2a5dc4.js"),["static/js/columns-2e2a5dc4.js","static/js/print-a6e42845.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/prints/index.vue":()=>__vitePreload(()=>import("./index-d34e9ba8.js"),["static/js/index-d34e9ba8.js","static/js/index.vue_vue_type_script_setup_true_lang-fb59f01c.js","static/js/columns-2e2a5dc4.js","static/js/print-a6e42845.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/table-select/index.vue":()=>__vitePreload(()=>import("./index-933c2dc7.js"),["static/js/index-933c2dc7.js","static/js/index.vue_vue_type_script_setup_true_lang-97e25004.js","static/js/index.vue_vue_type_script_setup_true_lang-7c698d53.js","static/js/columns-9576412b.js","static/js/data-c6346f61.js","static/js/index.vue_vue_type_script_setup_true_lang-808d4627.js","static/js/columns-75d79a61.js"]),"/src/views/pure-table/high/table-select/multiple/columns.tsx":()=>__vitePreload(()=>import("./columns-75d79a61.js"),["static/js/columns-75d79a61.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/table-select/multiple/index.vue":()=>__vitePreload(()=>import("./index-2e2618de.js"),["static/js/index-2e2618de.js","static/js/index.vue_vue_type_script_setup_true_lang-808d4627.js","static/js/columns-75d79a61.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/table-select/radio/columns.tsx":()=>__vitePreload(()=>import("./columns-9576412b.js"),["static/js/columns-9576412b.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/table-select/radio/index.vue":()=>__vitePreload(()=>import("./index-9bc34734.js"),["static/js/index-9bc34734.js","static/js/index.vue_vue_type_script_setup_true_lang-7c698d53.js","static/js/columns-9576412b.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/watermark/columns.tsx":()=>__vitePreload(()=>import("./columns-15aaedc0.js"),["static/js/columns-15aaedc0.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/high/watermark/index.vue":()=>__vitePreload(()=>import("./index-6819d4a2.js"),["static/js/index-6819d4a2.js","static/js/index.vue_vue_type_script_setup_true_lang-a2c109d6.js","static/js/columns-15aaedc0.js","static/js/data-c6346f61.js"]),"/src/views/pure-table/index.vue":()=>__vitePreload(()=>import("./index-449e60c5.js"),["static/js/index-449e60c5.js","static/js/list-9060fb6b.js","static/js/base.vue_vue_type_script_setup_true_lang-c0453f4f.js","static/js/data-ce9440dd.js","static/js/stripe.vue_vue_type_script_setup_true_lang-80337a01.js","static/js/border.vue_vue_type_script_setup_true_lang-13c02543.js","static/js/status.vue_vue_type_style_index_0_lang-6a3855f3.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js","static/js/radio.vue_vue_type_script_setup_true_lang-2664c557.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-29b608cd.js","static/js/sortable.vue_vue_type_script_setup_true_lang-7f949bf2.js","static/js/filters.vue_vue_type_script_setup_true_lang-2cee2599.js","static/js/index.vue_vue_type_script_setup_true_lang-56274f1f.js","static/js/columns-1b794032.js","static/js/index.vue_vue_type_script_setup_true_lang-71f20b48.js","static/js/columns-2bdec4e7.js","static/js/expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js","static/js/tree.vue_vue_type_script_setup_true_lang-36370dff.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-551b34da.js","static/js/merge.vue_vue_type_script_setup_true_lang-22a85f07.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js","static/js/layout.vue_vue_type_script_setup_true_lang-dec8a425.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-f8affc62.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js","static/css/index-c6b6432d.css"]),"/src/views/result/columns.tsx":()=>__vitePreload(()=>import("./columns-bcc35f9f.js"),["static/js/columns-bcc35f9f.js","static/js/arrow-right-s-line-2977cc7e.js"]),"/src/views/result/fail.vue":()=>__vitePreload(()=>import("./fail-eaf477ca.js"),["static/js/fail-eaf477ca.js","static/js/columns-bcc35f9f.js","static/js/arrow-right-s-line-2977cc7e.js","static/css/fail-8c7d12a4.css"]),"/src/views/result/success.vue":()=>__vitePreload(()=>import("./success-16238c8b.js"),["static/js/success-16238c8b.js","static/css/success-42084dfc.css"]),"/src/views/system/dept/form.vue":()=>__vitePreload(()=>import("./form-b83f824c.js"),["static/js/form-b83f824c.js","static/js/form.vue_vue_type_script_setup_true_lang-0e445be8.js","static/js/index-8460cfed.js","static/js/hooks-0879ef18.js"]),"/src/views/system/dept/index.vue":()=>__vitePreload(()=>import("./index-473f73b2.js"),["static/js/index-473f73b2.js","static/js/hook-567db8d9.js","static/js/form.vue_vue_type_script_setup_true_lang-0e445be8.js","static/js/index-8460cfed.js","static/js/hooks-0879ef18.js","static/js/system-64319881.js","static/js/refresh-66a59325.js","static/js/epTheme-904e4673.js","static/js/sortable.esm-e674cde8.js","static/js/hooks-82c6b5e4.js","static/js/edit-pen-37b5ced2.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-929e1037.css"]),"/src/views/system/dept/utils/hook.tsx":()=>__vitePreload(()=>import("./hook-567db8d9.js"),["static/js/hook-567db8d9.js","static/js/form.vue_vue_type_script_setup_true_lang-0e445be8.js","static/js/index-8460cfed.js","static/js/hooks-0879ef18.js","static/js/system-64319881.js"]),"/src/views/system/role/form.vue":()=>__vitePreload(()=>import("./form-37ef77b1.js"),["static/js/form-37ef77b1.js","static/js/form.vue_vue_type_script_setup_true_lang-88b521bf.js"]),"/src/views/system/role/index.vue":()=>__vitePreload(()=>import("./index-85a09f73.js"),["static/js/index-85a09f73.js","static/js/hook-047bb42e.js","static/js/form.vue_vue_type_script_setup_true_lang-88b521bf.js","static/js/system-64319881.js","static/js/hooks-0879ef18.js","static/js/refresh-66a59325.js","static/js/epTheme-904e4673.js","static/js/sortable.esm-e674cde8.js","static/js/hooks-82c6b5e4.js","static/js/edit-pen-37b5ced2.js","static/js/search-cc37b371.js","static/js/menu-a4fe64fb.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-22e18281.css"]),"/src/views/system/role/utils/hook.tsx":()=>__vitePreload(()=>import("./hook-047bb42e.js"),["static/js/hook-047bb42e.js","static/js/form.vue_vue_type_script_setup_true_lang-88b521bf.js","static/js/system-64319881.js","static/js/hooks-0879ef18.js"]),"/src/views/system/user/hook.tsx":()=>__vitePreload(()=>import("./hook-aa4c8e54.js"),["static/js/hook-aa4c8e54.js","static/js/system-64319881.js"]),"/src/views/system/user/index.vue":()=>__vitePreload(()=>import("./index-3e45a184.js"),["static/js/index-3e45a184.js","static/js/tree-c021e085.js","static/js/system-64319881.js","static/js/hooks-82c6b5e4.js","static/js/git-branch-line-aa4cb38f.js","static/js/search-cc37b371.js","static/js/more-2-fill-a666858a.js","static/js/office-building-cc7a1721.js","static/css/tree-d8d9615c.css","static/js/hook-aa4c8e54.js","static/js/refresh-66a59325.js","static/js/epTheme-904e4673.js","static/js/sortable.esm-e674cde8.js","static/js/admin-line-92b9acda.js","static/js/edit-pen-37b5ced2.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-b98b5b2a.css"]),"/src/views/system/user/tree.vue":()=>__vitePreload(()=>import("./tree-c021e085.js"),["static/js/tree-c021e085.js","static/js/system-64319881.js","static/js/hooks-82c6b5e4.js","static/js/git-branch-line-aa4cb38f.js","static/js/search-cc37b371.js","static/js/more-2-fill-a666858a.js","static/js/office-building-cc7a1721.js","static/css/tree-d8d9615c.css"]),"/src/views/tabs/index.vue":()=>__vitePreload(()=>import("./index-a74ac77a.js"),["static/js/index-a74ac77a.js","static/js/hooks-25ed90b2.js"]),"/src/views/tabs/params-detail.vue":()=>__vitePreload(()=>import("./params-detail-ebead4e8.js"),["static/js/params-detail-ebead4e8.js","static/js/hooks-25ed90b2.js"]),"/src/views/tabs/query-detail.vue":()=>__vitePreload(()=>import("./query-detail-afb4e354.js"),["static/js/query-detail-afb4e354.js","static/js/hooks-25ed90b2.js"]),"/src/views/welcome/components/Bar.vue":()=>__vitePreload(()=>import("./Bar-1e362d2e.js"),["static/js/Bar-1e362d2e.js","static/js/Bar.vue_vue_type_script_setup_true_lang-1501b08b.js","static/js/app-c56ccba4.js"]),"/src/views/welcome/components/Github.vue":()=>__vitePreload(()=>import("./Github-d8c093d3.js"),["static/js/Github-d8c093d3.js","static/js/Github.vue_vue_type_script_setup_true_lang-b99b9114.js","static/js/columns-453a481e.js","static/js/index-e5cd6a13.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/welcome/components/Line.vue":()=>__vitePreload(()=>import("./Line-332af404.js"),["static/js/Line-332af404.js","static/js/Line.vue_vue_type_script_setup_true_lang-30123dc5.js","static/js/app-c56ccba4.js"]),"/src/views/welcome/components/Pie.vue":()=>__vitePreload(()=>import("./Pie-b5286371.js"),["static/js/Pie-b5286371.js","static/js/Pie.vue_vue_type_script_setup_true_lang-51a62997.js","static/js/app-c56ccba4.js"]),"/src/views/welcome/components/columns.tsx":()=>__vitePreload(()=>import("./columns-453a481e.js"),["static/js/columns-453a481e.js","static/js/index-e5cd6a13.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/welcome/index.vue":()=>__vitePreload(()=>import("./index-8c09e38e.js"),["static/js/index-8c09e38e.js","static/js/Bar.vue_vue_type_script_setup_true_lang-1501b08b.js","static/js/app-c56ccba4.js","static/js/Pie.vue_vue_type_script_setup_true_lang-51a62997.js","static/js/Line.vue_vue_type_script_setup_true_lang-30123dc5.js","static/js/list-80891f62.js","static/js/index-e5cd6a13.js","static/js/Github.vue_vue_type_script_setup_true_lang-b99b9114.js","static/js/columns-453a481e.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js","static/js/index-026bd28f.js","static/css/index-18417f34.css","static/css/index-f927fe6c.css"])});function handRank(oe){const{name:ie,path:le,parentId:ue,meta:de}=oe;return N(ue)?!!(N(de==null?void 0:de.rank)||(de==null?void 0:de.rank)===0&&ie!=="Home"&&le!=="/"):!1}function ascending(oe){return oe.forEach((ie,le)=>{handRank(ie)&&(ie.meta.rank=le+2)}),oe.sort((ie,le)=>(ie==null?void 0:ie.meta.rank)-(le==null?void 0:le.meta.rank))}function filterTree(oe){const ie=en(oe).filter(le=>{var ue;return((ue=le.meta)==null?void 0:ue.showLink)!==!1});return ie.forEach(le=>le.children&&(le.children=filterTree(le.children))),ie}function filterChildrenTree(oe){const ie=en(oe).filter(le=>{var ue;return((ue=le==null?void 0:le.children)==null?void 0:ue.length)!==0});return ie.forEach(le=>le.children&&(le.children=filterTree(le.children))),ie}function isOneOfArray(oe,ie){return Array.isArray(oe)&&Array.isArray(ie)?Tr(oe,ie).length>0:!0}function filterNoPermissionTree(oe){var ue;const ie=((ue=nr().getItem(sessionKey))==null?void 0:ue.roles)??[],le=en(oe).filter(de=>{var pe;return isOneOfArray((pe=de.meta)==null?void 0:pe.roles,ie)});return le.forEach(de=>de.children&&(de.children=filterNoPermissionTree(de.children))),filterChildrenTree(le)}function getParentPaths(oe,ie,le="path"){function ue(de,pe,he){for(let _e=0;_eue.path==oe);if(le)return isProxy(le)?toRaw(le):le;for(let ue=0;ue0&&(le=findRouteByPath(oe,ie[ue].children),le))return isProxy(le)?toRaw(le):le;return null}function addPathMatch(){router.hasRoute("pathMatch")||router.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function handleAsyncRoutes(oe){oe.length===0||formatFlatteningRoutes(addAsyncRoutes(oe)).map(ie=>{if(router.options.routes[0].children.findIndex(le=>le.path===ie.path)===-1){router.options.routes[0].children.push(ie),ascending(router.options.routes[0].children),router.hasRoute(ie==null?void 0:ie.name)||router.addRoute(ie);const le=router.getRoutes().find(ue=>ue.path==="/");router.addRoute(le)}}),usePermissionStoreHook().handleWholeMenus(oe),addPathMatch()}function initRouter(){var oe;if((oe=getConfig())!=null&&oe.CachingAsyncRoutes){const ie="async-routes",le=nr().getItem(ie);return le&&(le==null?void 0:le.length)>0?new Promise(ue=>{handleAsyncRoutes(le),ue(router)}):new Promise(ue=>{getAsyncRoutes().then(({data:de})=>{handleAsyncRoutes(en(de)),nr().setItem(ie,de),ue(router)})})}else return new Promise(ie=>{getAsyncRoutes().then(({data:le})=>{handleAsyncRoutes(en(le)),ie(router)})})}function formatFlatteningRoutes(oe){if(oe.length===0)return oe;let ie=buildHierarchyTree(oe);for(let le=0;le{var ue;le.path==="/"?ie.push({component:le.component,name:le.name,path:le.path,redirect:le.redirect,meta:le.meta,children:[]}):(ue=ie[0])==null||ue.children.push({...le})}),ie}function handleAliveRoute({name:oe},ie){switch(ie){case"add":usePermissionStoreHook().cacheOperate({mode:"add",name:oe});break;case"delete":usePermissionStoreHook().cacheOperate({mode:"delete",name:oe});break;case"refresh":usePermissionStoreHook().cacheOperate({mode:"refresh",name:oe});break;default:usePermissionStoreHook().cacheOperate({mode:"delete",name:oe}),useTimeoutFn(()=>{usePermissionStoreHook().cacheOperate({mode:"add",name:oe})},100)}}function addAsyncRoutes(oe){if(!oe||!oe.length)return;const ie=Object.keys(modulesRoutes);return oe.forEach(le=>{var ue;if(le.meta.backstage=!0,le!=null&&le.children&&le.children.length&&!le.redirect&&(le.redirect=le.children[0].path),le!=null&&le.children&&le.children.length&&!le.name&&(le.name=le.children[0].name+"Parent"),(ue=le.meta)!=null&&ue.frameSrc)le.component=IFrame;else{const de=le!=null&&le.component?ie.findIndex(pe=>pe.includes(le.component)):ie.findIndex(pe=>pe.includes(le.path));le.component=modulesRoutes[ie[de]]}le!=null&&le.children&&le.children.length&&addAsyncRoutes(le.children)}),oe}function getHistoryMode(oe){const ie=oe.split(","),le=ie[0],ue=ie[1];if(ie.length===1){if(le==="hash")return createWebHashHistory("");if(le==="h5")return createWebHistory("")}else if(ie.length===2){if(le==="hash")return createWebHashHistory(ue);if(le==="h5")return createWebHistory(ue)}}function getAuths(){return router.currentRoute.value.meta.auths}function hasAuth(oe){if(!oe)return!1;const ie=getAuths();return ie?!!(A(oe)?ie.includes(oe):Er(oe,ie)):!1}function getTopMenu(oe=!1){var le;const ie=(le=usePermissionStoreHook().wholeMenus[0])==null?void 0:le.children[0];return oe&&useMultiTagsStoreHook().handleTags("push",ie),ie}const usePermissionStore=defineStore({id:"pure-permission",state:()=>({constantMenus,wholeMenus:[],cachePageList:[]}),actions:{handleWholeMenus(oe){this.wholeMenus=filterNoPermissionTree(filterTree(ascending(this.constantMenus.concat(oe))))},cacheOperate({mode:oe,name:ie}){const le=this.cachePageList.findIndex(ue=>ue===ie);switch(oe){case"refresh":this.cachePageList=this.cachePageList.filter(ue=>ue!==ie);break;case"add":this.cachePageList.push(ie);break;case"delete":le!==-1&&this.cachePageList.splice(le,1);break}vt(()=>{let ue=this.cachePageList.length;const de=Mr(useMultiTagsStoreHook().multiTags,"name");for(;ue>0;)de.findIndex(pe=>pe===this.cachePageList[ue-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[ue-1]),1),ue--})()},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function usePermissionStoreHook(){return usePermissionStore(store)}const Layout=()=>__vitePreload(()=>import("./index-11f8ea63.js"),["static/js/index-11f8ea63.js","static/js/menu-a4fe64fb.js","static/js/set-up-e6942411.js","static/js/home-filled-05cc090c.js","static/js/admin-line-92b9acda.js","static/js/git-branch-line-aa4cb38f.js","static/js/dark-3015d878.js","static/js/epTheme-904e4673.js","static/js/app-c56ccba4.js","static/js/index-d5731855.js","static/js/hooks-82c6b5e4.js","static/js/search-cc37b371.js","static/js/check-3815600c.js","static/js/refresh-right-6177e75c.js","static/js/arrow-right-s-line-2977cc7e.js","static/js/back_top-489ad631.js","static/css/index-a3451fa4.css"]),remainingRouter=[{path:"/login",name:"Login",component:()=>__vitePreload(()=>import("./index-4586da2e.js"),["static/js/index-4586da2e.js","static/js/motion-3122a87d.js","static/js/verifyCode-71c44392.js","static/js/phone.vue_vue_type_script_setup_true_lang-1edc5613.js","static/js/hooks-82c6b5e4.js","static/js/iphone-bcaa848c.js","static/js/index-e5cd6a13.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-76abe551.js","static/js/index-7ace001d.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css","static/js/regist.vue_vue_type_script_setup_true_lang-73a81ed6.js","static/js/lock-fill-34b71c6c.js","static/js/user-3-fill-70ba8c19.js","static/js/update.vue_vue_type_script_setup_true_lang-63cf9497.js","static/js/dark-3015d878.js","static/js/epTheme-904e4673.js","static/js/app-c56ccba4.js","static/js/check-3815600c.js","static/css/index-90a3ebb5.css"]),meta:{title:$t("menus.hslogin"),showLink:!1,rank:101}},{path:"/redirect",component:Layout,meta:{title:$t("status.hsLoad"),showLink:!1,rank:102},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>__vitePreload(()=>import("./redirect-51f11b86.js"),[])}]},{path:"/empty",name:"Empty",component:()=>__vitePreload(()=>import("./index-2ec31c36.js"),["static/js/index-2ec31c36.js","static/css/index-18755a0a.css"]),meta:{title:$t("menus.hsempty"),showLink:!1,rank:103}}],modules$1=Object.assign({"./modules/able.ts":__vite_glob_0_0$1,"./modules/about.ts":__vite_glob_0_1$1,"./modules/components.ts":__vite_glob_0_2$1,"./modules/editor.ts":__vite_glob_0_3$1,"./modules/error.ts":__vite_glob_0_4$1,"./modules/flowchart.ts":__vite_glob_0_5$1,"./modules/formdesign.ts":__vite_glob_0_6,"./modules/guide.ts":__vite_glob_0_7,"./modules/home.ts":__vite_glob_0_8,"./modules/list.ts":__vite_glob_0_9,"./modules/menuoverflow.ts":__vite_glob_0_10,"./modules/nested.ts":__vite_glob_0_11,"./modules/ppt.ts":__vite_glob_0_12,"./modules/puredoc.ts":__vite_glob_0_13,"./modules/pureutils.ts":__vite_glob_0_14,"./modules/result.ts":__vite_glob_0_15,"./modules/table.ts":__vite_glob_0_16}),routes=[];Object.keys(modules$1).forEach(oe=>{routes.push(modules$1[oe].default)});const constantRoutes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))),constantMenus=ascending(routes.flat(1/0)).concat(...remainingRouter),remainingPaths=Object.keys(remainingRouter).map(oe=>remainingRouter[oe].path),router=createRouter({history:getHistoryMode("hash"),routes:constantRoutes.concat(...remainingRouter),strict:!0,scrollBehavior(oe,ie,le){return new Promise(ue=>{if(le)return le;if(ie.meta.saveSrollTop){const de=document.documentElement.scrollTop||document.body.scrollTop;ue({left:0,top:de})}})}});function resetRouter(){router.getRoutes().forEach(oe=>{const{name:ie,meta:le}=oe;ie&&router.hasRoute(ie)&&(le!=null&&le.backstage)&&(router.removeRoute(ie),router.options.routes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))))}),usePermissionStoreHook().clearAllCachePage()}const whiteList=["/login"],{VITE_HIDE_HOME}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};router.beforeEach((oe,ie,le)=>{var he,_e,$e;(he=oe.meta)!=null&&he.keepAlive&&(handleAliveRoute(oe,"add"),(ie.name===void 0||ie.name==="Redirect")&&handleAliveRoute(oe));const ue=nr().getItem(sessionKey);NProgress.start();const de=gt(oe==null?void 0:oe.name);de||oe.matched.some(Ie=>{if(!Ie.meta.title)return"";const Ve=getConfig().Title;Ve?document.title=`${transformI18n(Ie.meta.title)} | ${Ve}`:document.title=transformI18n(Ie.meta.title)});function pe(){whiteList.includes(oe.fullPath)?le(ie.fullPath):le()}ue?((_e=oe.meta)!=null&&_e.roles&&!isOneOfArray(($e=oe.meta)==null?void 0:$e.roles,ue==null?void 0:ue.roles)&&le({path:"/error/403"}),VITE_HIDE_HOME==="true"&&oe.fullPath==="/welcome"&&le({path:"/error/404"}),ie!=null&&ie.name?de?(Mt(oe==null?void 0:oe.name),NProgress.done()):pe():(usePermissionStoreHook().wholeMenus.length===0&&oe.path!=="/login"&&initRouter().then(Ie=>{var Ve,Fe;if(!useMultiTagsStoreHook().getMultiTagsCache){const{path:Ue}=oe,qe=findRouteByPath(Ue,Ie.options.routes[0].children);if(getTopMenu(!0),qe&&((Ve=qe.meta)!=null&&Ve.title))if(N(qe.parentId)&&((Fe=qe.meta)!=null&&Fe.backstage)){const{path:Et,name:At,meta:Lt}=qe.children[0];useMultiTagsStoreHook().handleTags("push",{path:Et,name:At,meta:Lt})}else{const{path:Et,name:At,meta:Lt}=qe;useMultiTagsStoreHook().handleTags("push",{path:Et,name:At,meta:Lt})}}N(oe.name)&&Ie.push(oe.fullPath)}),pe())):oe.path!=="/login"?whiteList.indexOf(oe.path)!==-1?le():le({path:"/login"}):le()});router.afterEach(()=>{NProgress.done()});function isObject$4(oe){return oe!==null&&typeof oe=="object"}function _defu(oe,ie,le=".",ue){if(!isObject$4(ie))return _defu(oe,{},le,ue);const de=Object.assign({},ie);for(const pe in oe){if(pe==="__proto__"||pe==="constructor")continue;const he=oe[pe];he!=null&&(ue&&ue(de,pe,he,le)||(Array.isArray(he)&&Array.isArray(de[pe])?de[pe]=[...he,...de[pe]]:isObject$4(he)&&isObject$4(de[pe])?de[pe]=_defu(he,de[pe],(le?`${le}.`:"")+pe.toString(),ue):de[pe]=he))}return de}function createDefu(oe){return(...ie)=>ie.reduce((le,ue)=>_defu(le,ue,"",oe),{})}const defu=createDefu(),defaultTimestep=1/60*1e3,getCurrentTime=typeof performance<"u"?()=>performance.now():()=>Date.now(),onNextFrame=typeof window<"u"?oe=>window.requestAnimationFrame(oe):oe=>setTimeout(()=>oe(getCurrentTime()),defaultTimestep);function createRenderStep(oe){let ie=[],le=[],ue=0,de=!1,pe=!1;const he=new WeakSet,_e={schedule:($e,Ie=!1,Ve=!1)=>{const Fe=Ve&&de,Ue=Fe?ie:le;return Ie&&he.add($e),Ue.indexOf($e)===-1&&(Ue.push($e),Fe&&de&&(ue=ie.length)),$e},cancel:$e=>{const Ie=le.indexOf($e);Ie!==-1&&le.splice(Ie,1),he.delete($e)},process:$e=>{if(de){pe=!0;return}if(de=!0,[ie,le]=[le,ie],le.length=0,ue=ie.length,ue)for(let Ie=0;Ie(oe[ie]=createRenderStep(()=>runNextFrame=!0),oe),{}),sync=stepsOrder.reduce((oe,ie)=>{const le=steps[ie];return oe[ie]=(ue,de=!1,pe=!1)=>(runNextFrame||startLoop(),le.schedule(ue,de,pe)),oe},{}),cancelSync=stepsOrder.reduce((oe,ie)=>(oe[ie]=steps[ie].cancel,oe),{});stepsOrder.reduce((oe,ie)=>(oe[ie]=()=>steps[ie].process(frame),oe),{});const processStep=oe=>steps[oe].process(frame),processFrame=oe=>{runNextFrame=!1,frame.delta=useDefaultElapsed?defaultTimestep:Math.max(Math.min(oe-frame.timestamp,maxElapsed),1),frame.timestamp=oe,isProcessing=!0,stepsOrder.forEach(processStep),isProcessing=!1,runNextFrame&&(useDefaultElapsed=!1,onNextFrame(processFrame))},startLoop=()=>{runNextFrame=!0,useDefaultElapsed=!0,isProcessing||onNextFrame(processFrame)},getFrameData=()=>frame;function __rest(oe,ie){var le={};for(var ue in oe)Object.prototype.hasOwnProperty.call(oe,ue)&&ie.indexOf(ue)<0&&(le[ue]=oe[ue]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ue=Object.getOwnPropertySymbols(oe);deMath.min(Math.max(le,oe),ie),safeMin=.001,minDuration=.01,maxDuration=10,minDamping=.05,maxDamping=1;function findSpring({duration:oe=800,bounce:ie=.25,velocity:le=0,mass:ue=1}){let de,pe;warning(oe<=maxDuration*1e3);let he=1-ie;he=clamp$2(minDamping,maxDamping,he),oe=clamp$2(minDuration,maxDuration,oe/1e3),he<1?(de=Ie=>{const Ve=Ie*he,Fe=Ve*oe,Ue=Ve-le,qe=calcAngularFreq(Ie,he),Et=Math.exp(-Fe);return safeMin-Ue/qe*Et},pe=Ie=>{const Fe=Ie*he*oe,Ue=Fe*le+le,qe=Math.pow(he,2)*Math.pow(Ie,2)*oe,Et=Math.exp(-Fe),At=calcAngularFreq(Math.pow(Ie,2),he);return(-de(Ie)+safeMin>0?-1:1)*((Ue-qe)*Et)/At}):(de=Ie=>{const Ve=Math.exp(-Ie*oe),Fe=(Ie-le)*oe+1;return-safeMin+Ve*Fe},pe=Ie=>{const Ve=Math.exp(-Ie*oe),Fe=(le-Ie)*(oe*oe);return Ve*Fe});const _e=5/oe,$e=approximateRoot(de,pe,_e);if(oe=oe*1e3,isNaN($e))return{stiffness:100,damping:10,duration:oe};{const Ie=Math.pow($e,2)*ue;return{stiffness:Ie,damping:he*2*Math.sqrt(ue*Ie),duration:oe}}}const rootIterations=12;function approximateRoot(oe,ie,le){let ue=le;for(let de=1;deoe[le]!==void 0)}function getSpringOptions(oe){let ie=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},oe);if(!isSpringType(oe,physicsKeys)&&isSpringType(oe,durationKeys)){const le=findSpring(oe);ie=Object.assign(Object.assign(Object.assign({},ie),le),{velocity:0,mass:1}),ie.isResolvedFromDuration=!0}return ie}function spring(oe){var{from:ie=0,to:le=1,restSpeed:ue=2,restDelta:de}=oe,pe=__rest(oe,["from","to","restSpeed","restDelta"]);const he={done:!1,value:ie};let{stiffness:_e,damping:$e,mass:Ie,velocity:Ve,duration:Fe,isResolvedFromDuration:Ue}=getSpringOptions(pe),qe=zero,Et=zero;function At(){const Lt=Ve?-(Ve/1e3):0,hn=le-ie,vn=$e/(2*Math.sqrt(_e*Ie)),_n=Math.sqrt(_e/Ie)/1e3;if(de===void 0&&(de=Math.min(Math.abs(le-ie)/100,.4)),vn<1){const bn=calcAngularFreq(_n,vn);qe=Sn=>{const Cn=Math.exp(-vn*_n*Sn);return le-Cn*((Lt+vn*_n*hn)/bn*Math.sin(bn*Sn)+hn*Math.cos(bn*Sn))},Et=Sn=>{const Cn=Math.exp(-vn*_n*Sn);return vn*_n*Cn*(Math.sin(bn*Sn)*(Lt+vn*_n*hn)/bn+hn*Math.cos(bn*Sn))-Cn*(Math.cos(bn*Sn)*(Lt+vn*_n*hn)-bn*hn*Math.sin(bn*Sn))}}else if(vn===1)qe=bn=>le-Math.exp(-_n*bn)*(hn+(Lt+_n*hn)*bn);else{const bn=_n*Math.sqrt(vn*vn-1);qe=Sn=>{const Cn=Math.exp(-vn*_n*Sn),En=Math.min(bn*Sn,300);return le-Cn*((Lt+vn*_n*hn)*Math.sinh(En)+bn*hn*Math.cosh(En))/bn}}}return At(),{next:Lt=>{const hn=qe(Lt);if(Ue)he.done=Lt>=Fe;else{const vn=Et(Lt)*1e3,_n=Math.abs(vn)<=ue,bn=Math.abs(le-hn)<=de;he.done=_n&&bn}return he.value=he.done?le:hn,he},flipTarget:()=>{Ve=-Ve,[ie,le]=[le,ie],At()}}}spring.needsInterpolation=(oe,ie)=>typeof oe=="string"||typeof ie=="string";const zero=oe=>0,progress=(oe,ie,le)=>{const ue=ie-oe;return ue===0?1:(le-oe)/ue},mix=(oe,ie,le)=>-le*oe+le*ie+oe,clamp$1=(oe,ie)=>le=>Math.max(Math.min(le,ie),oe),sanitize=oe=>oe%1?Number(oe.toFixed(5)):oe,floatRegex=/(-)?([\d]*\.?[\d])+/g,colorRegex=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,singleColorRegex=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function isString$1(oe){return typeof oe=="string"}const number$1={test:oe=>typeof oe=="number",parse:parseFloat,transform:oe=>oe},alpha=Object.assign(Object.assign({},number$1),{transform:clamp$1(0,1)}),scale$3=Object.assign(Object.assign({},number$1),{default:1}),createUnitType=oe=>({test:ie=>isString$1(ie)&&ie.endsWith(oe)&&ie.split(" ").length===1,parse:parseFloat,transform:ie=>`${ie}${oe}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),progressPercentage=Object.assign(Object.assign({},percent),{parse:oe=>percent.parse(oe)/100,transform:oe=>percent.transform(oe*100)}),isColorString=(oe,ie)=>le=>!!(isString$1(le)&&singleColorRegex.test(le)&&le.startsWith(oe)||ie&&Object.prototype.hasOwnProperty.call(le,ie)),splitColor=(oe,ie,le)=>ue=>{if(!isString$1(ue))return ue;const[de,pe,he,_e]=ue.match(floatRegex);return{[oe]:parseFloat(de),[ie]:parseFloat(pe),[le]:parseFloat(he),alpha:_e!==void 0?parseFloat(_e):1}},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:oe,saturation:ie,lightness:le,alpha:ue=1})=>"hsla("+Math.round(oe)+", "+percent.transform(sanitize(ie))+", "+percent.transform(sanitize(le))+", "+sanitize(alpha.transform(ue))+")"},clampRgbUnit=clamp$1(0,255),rgbUnit=Object.assign(Object.assign({},number$1),{transform:oe=>Math.round(clampRgbUnit(oe))}),rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:oe,green:ie,blue:le,alpha:ue=1})=>"rgba("+rgbUnit.transform(oe)+", "+rgbUnit.transform(ie)+", "+rgbUnit.transform(le)+", "+sanitize(alpha.transform(ue))+")"};function parseHex(oe){let ie="",le="",ue="",de="";return oe.length>5?(ie=oe.substr(1,2),le=oe.substr(3,2),ue=oe.substr(5,2),de=oe.substr(7,2)):(ie=oe.substr(1,1),le=oe.substr(2,1),ue=oe.substr(3,1),de=oe.substr(4,1),ie+=ie,le+=le,ue+=ue,de+=de),{red:parseInt(ie,16),green:parseInt(le,16),blue:parseInt(ue,16),alpha:de?parseInt(de,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},color$1={test:oe=>rgba.test(oe)||hex.test(oe)||hsla.test(oe),parse:oe=>rgba.test(oe)?rgba.parse(oe):hsla.test(oe)?hsla.parse(oe):hex.parse(oe),transform:oe=>isString$1(oe)?oe:oe.hasOwnProperty("red")?rgba.transform(oe):hsla.transform(oe)},colorToken="${c}",numberToken="${n}";function test(oe){var ie,le,ue,de;return isNaN(oe)&&isString$1(oe)&&((le=(ie=oe.match(floatRegex))===null||ie===void 0?void 0:ie.length)!==null&&le!==void 0?le:0)+((de=(ue=oe.match(colorRegex))===null||ue===void 0?void 0:ue.length)!==null&&de!==void 0?de:0)>0}function analyse$1(oe){typeof oe=="number"&&(oe=`${oe}`);const ie=[];let le=0;const ue=oe.match(colorRegex);ue&&(le=ue.length,oe=oe.replace(colorRegex,colorToken),ie.push(...ue.map(color$1.parse)));const de=oe.match(floatRegex);return de&&(oe=oe.replace(floatRegex,numberToken),ie.push(...de.map(number$1.parse))),{values:ie,numColors:le,tokenised:oe}}function parse$2(oe){return analyse$1(oe).values}function createTransformer(oe){const{values:ie,numColors:le,tokenised:ue}=analyse$1(oe),de=ie.length;return pe=>{let he=ue;for(let _e=0;_etypeof oe=="number"?0:oe;function getAnimatableNone$1(oe){const ie=parse$2(oe);return createTransformer(oe)(ie.map(convertNumbersToZero))}const complex={test,parse:parse$2,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(oe){let[ie,le]=oe.slice(0,-1).split("(");if(ie==="drop-shadow")return oe;const[ue]=le.match(floatRegex)||[];if(!ue)return oe;const de=le.replace(ue,"");let pe=maxDefaults.has(ie)?1:0;return ue!==le&&(pe*=100),ie+"("+pe+de+")"}const functionRegex=/([a-z-]*)\(.*?\)/g,filter$1=Object.assign(Object.assign({},complex),{getAnimatableNone:oe=>{const ie=oe.match(functionRegex);return ie?ie.map(applyDefaultFilter).join(" "):oe}});function hueToRgb(oe,ie,le){return le<0&&(le+=1),le>1&&(le-=1),le<1/6?oe+(ie-oe)*6*le:le<1/2?ie:le<2/3?oe+(ie-oe)*(2/3-le)*6:oe}function hslaToRgba({hue:oe,saturation:ie,lightness:le,alpha:ue}){oe/=360,ie/=100,le/=100;let de=0,pe=0,he=0;if(!ie)de=pe=he=le;else{const _e=le<.5?le*(1+ie):le+ie-le*ie,$e=2*le-_e;de=hueToRgb($e,_e,oe+1/3),pe=hueToRgb($e,_e,oe),he=hueToRgb($e,_e,oe-1/3)}return{red:Math.round(de*255),green:Math.round(pe*255),blue:Math.round(he*255),alpha:ue}}const mixLinearColor=(oe,ie,le)=>{const ue=oe*oe,de=ie*ie;return Math.sqrt(Math.max(0,le*(de-ue)+ue))},colorTypes=[hex,rgba,hsla],getColorType=oe=>colorTypes.find(ie=>ie.test(oe)),mixColor=(oe,ie)=>{let le=getColorType(oe),ue=getColorType(ie),de=le.parse(oe),pe=ue.parse(ie);le===hsla&&(de=hslaToRgba(de),le=rgba),ue===hsla&&(pe=hslaToRgba(pe),ue=rgba);const he=Object.assign({},de);return _e=>{for(const $e in he)$e!=="alpha"&&(he[$e]=mixLinearColor(de[$e],pe[$e],_e));return he.alpha=mix(de.alpha,pe.alpha,_e),le.transform(he)}},isNum=oe=>typeof oe=="number",combineFunctions=(oe,ie)=>le=>ie(oe(le)),pipe=(...oe)=>oe.reduce(combineFunctions);function getMixer(oe,ie){return isNum(oe)?le=>mix(oe,ie,le):color$1.test(oe)?mixColor(oe,ie):mixComplex(oe,ie)}const mixArray=(oe,ie)=>{const le=[...oe],ue=le.length,de=oe.map((pe,he)=>getMixer(pe,ie[he]));return pe=>{for(let he=0;he{const le=Object.assign(Object.assign({},oe),ie),ue={};for(const de in le)oe[de]!==void 0&&ie[de]!==void 0&&(ue[de]=getMixer(oe[de],ie[de]));return de=>{for(const pe in ue)le[pe]=ue[pe](de);return le}};function analyse(oe){const ie=complex.parse(oe),le=ie.length;let ue=0,de=0,pe=0;for(let he=0;he{const le=complex.createTransformer(ie),ue=analyse(oe),de=analyse(ie);return ue.numHSL===de.numHSL&&ue.numRGB===de.numRGB&&ue.numNumbers>=de.numNumbers?pipe(mixArray(ue.parsed,de.parsed),le):he=>`${he>0?ie:oe}`},mixNumber=(oe,ie)=>le=>mix(oe,ie,le);function detectMixerFactory(oe){if(typeof oe=="number")return mixNumber;if(typeof oe=="string")return color$1.test(oe)?mixColor:mixComplex;if(Array.isArray(oe))return mixArray;if(typeof oe=="object")return mixObject}function createMixers(oe,ie,le){const ue=[],de=le||detectMixerFactory(oe[0]),pe=oe.length-1;for(let he=0;hele(progress(oe,ie,ue))}function slowInterpolate(oe,ie){const le=oe.length,ue=le-1;return de=>{let pe=0,he=!1;if(de<=oe[0]?he=!0:de>=oe[ue]&&(pe=ue-1,he=!0),!he){let $e=1;for(;$ede||$e===ue);$e++);pe=$e-1}const _e=progress(oe[pe],oe[pe+1],de);return ie[pe](_e)}}function interpolate(oe,ie,{clamp:le=!0,ease:ue,mixer:de}={}){const pe=oe.length;invariant(pe===ie.length),invariant(!ue||!Array.isArray(ue)||ue.length===pe-1),oe[0]>oe[pe-1]&&(oe=[].concat(oe),ie=[].concat(ie),oe.reverse(),ie.reverse());const he=createMixers(ie,ue,de),_e=pe===2?fastInterpolate(oe,he):slowInterpolate(oe,he);return le?$e=>_e(clamp$2(oe[0],oe[pe-1],$e)):_e}const reverseEasing=oe=>ie=>1-oe(1-ie),mirrorEasing=oe=>ie=>ie<=.5?oe(2*ie)/2:(2-oe(2*(1-ie)))/2,createExpoIn=oe=>ie=>Math.pow(ie,oe),createBackIn=oe=>ie=>ie*ie*((oe+1)*ie-oe),createAnticipate=oe=>{const ie=createBackIn(oe);return le=>(le*=2)<1?.5*ie(le):.5*(2-Math.pow(2,-10*(le-1)))},DEFAULT_OVERSHOOT_STRENGTH=1.525,BOUNCE_FIRST_THRESHOLD=4/11,BOUNCE_SECOND_THRESHOLD=8/11,BOUNCE_THIRD_THRESHOLD=9/10,linear=oe=>oe,easeIn=createExpoIn(2),easeOut=reverseEasing(easeIn),easeInOut=mirrorEasing(easeIn),circIn=oe=>1-Math.sin(Math.acos(oe)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circOut),backIn=createBackIn(DEFAULT_OVERSHOOT_STRENGTH),backOut=reverseEasing(backIn),backInOut=mirrorEasing(backIn),anticipate=createAnticipate(DEFAULT_OVERSHOOT_STRENGTH),ca=4356/361,cb=35442/1805,cc=16061/1805,bounceOut=oe=>{if(oe===1||oe===0)return oe;const ie=oe*oe;return oeoe<.5?.5*(1-bounceOut(1-oe*2)):.5*bounceOut(oe*2-1)+.5;function defaultEasing(oe,ie){return oe.map(()=>ie||easeInOut).splice(0,oe.length-1)}function defaultOffset(oe){const ie=oe.length;return oe.map((le,ue)=>ue!==0?ue/(ie-1):0)}function convertOffsetToTimes(oe,ie){return oe.map(le=>le*ie)}function keyframes$1({from:oe=0,to:ie=1,ease:le,offset:ue,duration:de=300}){const pe={done:!1,value:oe},he=Array.isArray(ie)?ie:[oe,ie],_e=convertOffsetToTimes(ue&&ue.length===he.length?ue:defaultOffset(he),de);function $e(){return interpolate(_e,he,{ease:Array.isArray(le)?le:defaultEasing(he,le)})}let Ie=$e();return{next:Ve=>(pe.value=Ie(Ve),pe.done=Ve>=de,pe),flipTarget:()=>{he.reverse(),Ie=$e()}}}function decay({velocity:oe=0,from:ie=0,power:le=.8,timeConstant:ue=350,restDelta:de=.5,modifyTarget:pe}){const he={done:!1,value:ie};let _e=le*oe;const $e=ie+_e,Ie=pe===void 0?$e:pe($e);return Ie!==$e&&(_e=Ie-ie),{next:Ve=>{const Fe=-_e*Math.exp(-Ve/ue);return he.done=!(Fe>de||Fe<-de),he.value=he.done?Ie:Ie+Fe,he},flipTarget:()=>{}}}const types={keyframes:keyframes$1,spring,decay};function detectAnimationFromOptions(oe){if(Array.isArray(oe.to))return keyframes$1;if(types[oe.type])return types[oe.type];const ie=new Set(Object.keys(oe));return ie.has("ease")||ie.has("duration")&&!ie.has("dampingRatio")?keyframes$1:ie.has("dampingRatio")||ie.has("stiffness")||ie.has("mass")||ie.has("damping")||ie.has("restSpeed")||ie.has("restDelta")?spring:keyframes$1}function loopElapsed(oe,ie,le=0){return oe-ie-le}function reverseElapsed(oe,ie,le=0,ue=!0){return ue?loopElapsed(ie+-oe,ie,le):ie-(oe-ie)+le}function hasRepeatDelayElapsed(oe,ie,le,ue){return ue?oe>=ie+le:oe<=-le}const framesync=oe=>{const ie=({delta:le})=>oe(le);return{start:()=>sync.update(ie,!0),stop:()=>cancelSync.update(ie)}};function animate(oe){var ie,le,{from:ue,autoplay:de=!0,driver:pe=framesync,elapsed:he=0,repeat:_e=0,repeatType:$e="loop",repeatDelay:Ie=0,onPlay:Ve,onStop:Fe,onComplete:Ue,onRepeat:qe,onUpdate:Et}=oe,At=__rest(oe,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:Lt}=At,hn,vn=0,_n=At.duration,bn,Sn=!1,Cn=!0,En;const $n=detectAnimationFromOptions(At);!((le=(ie=$n).needsInterpolation)===null||le===void 0)&&le.call(ie,ue,Lt)&&(En=interpolate([0,100],[ue,Lt],{clamp:!1}),ue=0,Lt=100);const wn=$n(Object.assign(Object.assign({},At),{from:ue,to:Lt}));function Pn(){vn++,$e==="reverse"?(Cn=vn%2===0,he=reverseElapsed(he,_n,Ie,Cn)):(he=loopElapsed(he,_n,Ie),$e==="mirror"&&wn.flipTarget()),Sn=!1,qe&&qe()}function xn(){hn.stop(),Ue&&Ue()}function An(In){if(Cn||(In=-In),he+=In,!Sn){const Fn=wn.next(Math.max(0,he));bn=Fn.value,En&&(bn=En(bn)),Sn=Cn?Fn.done:he<=0}Et==null||Et(bn),Sn&&(vn===0&&(_n??(_n=he)),vn<_e?hasRepeatDelayElapsed(he,_n,Ie,Cn)&&Pn():xn())}function On(){Ve==null||Ve(),hn=pe(An),hn.start()}return de&&On(),{stop:()=>{Fe==null||Fe(),hn.stop()}}}function velocityPerSecond(oe,ie){return ie?oe*(1e3/ie):0}function inertia({from:oe=0,velocity:ie=0,min:le,max:ue,power:de=.8,timeConstant:pe=750,bounceStiffness:he=500,bounceDamping:_e=10,restDelta:$e=1,modifyTarget:Ie,driver:Ve,onUpdate:Fe,onComplete:Ue,onStop:qe}){let Et;function At(_n){return le!==void 0&&_nue}function Lt(_n){return le===void 0?ue:ue===void 0||Math.abs(le-_n){var Sn;Fe==null||Fe(bn),(Sn=_n.onUpdate)===null||Sn===void 0||Sn.call(_n,bn)},onComplete:Ue,onStop:qe}))}function vn(_n){hn(Object.assign({type:"spring",stiffness:he,damping:_e,restDelta:$e},_n))}if(At(oe))vn({from:oe,velocity:ie,to:Lt(oe)});else{let _n=de*ie+oe;typeof Ie<"u"&&(_n=Ie(_n));const bn=Lt(_n),Sn=bn===le?-1:1;let Cn,En;const $n=wn=>{Cn=En,En=wn,ie=velocityPerSecond(wn-Cn,getFrameData().delta),(Sn===1&&wn>bn||Sn===-1&&wnEt==null?void 0:Et.stop()}}const a=(oe,ie)=>1-3*ie+3*oe,b=(oe,ie)=>3*ie-6*oe,c$1=oe=>3*oe,calcBezier=(oe,ie,le)=>((a(ie,le)*oe+b(ie,le))*oe+c$1(ie))*oe,getSlope=(oe,ie,le)=>3*a(ie,le)*oe*oe+2*b(ie,le)*oe+c$1(ie),subdivisionPrecision=1e-7,subdivisionMaxIterations=10;function binarySubdivide(oe,ie,le,ue,de){let pe,he,_e=0;do he=ie+(le-ie)/2,pe=calcBezier(he,ue,de)-oe,pe>0?le=he:ie=he;while(Math.abs(pe)>subdivisionPrecision&&++_e=newtonMinSlope?newtonRaphsonIterate(he,Fe,oe,le):Ue===0?Fe:binarySubdivide(he,_e,_e+kSampleStepSize,oe,le)}return he=>he===0||he===1?he:calcBezier(pe(he),ie,ue)}const motionState={};class SubscriptionManager{constructor(){this.subscriptions=new Set}add(ie){return this.subscriptions.add(ie),()=>this.subscriptions.delete(ie)}notify(ie,le,ue){if(this.subscriptions.size)for(const de of this.subscriptions)de(ie,le,ue)}clear(){this.subscriptions.clear()}}function isFloat(oe){return!isNaN(parseFloat(oe))}class MotionValue{constructor(ie){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new SubscriptionManager,this.canTrackVelocity=!1,this.updateAndNotify=le=>{this.prev=this.current,this.current=le;const{delta:ue,timestamp:de}=getFrameData();this.lastUpdated!==de&&(this.timeDelta=ue,this.lastUpdated=de),sync.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>sync.postRender(this.velocityCheck),this.velocityCheck=({timestamp:le})=>{this.canTrackVelocity||(this.canTrackVelocity=isFloat(this.current)),le!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=ie,this.canTrackVelocity=isFloat(this.current)}onChange(ie){return this.updateSubscribers.add(ie)}clearListeners(){this.updateSubscribers.clear()}set(ie){this.updateAndNotify(ie)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?velocityPerSecond(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(ie){return this.stop(),new Promise(le=>{const{stop:ue}=ie(le);this.stopAnimation=ue}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function getMotionValue(oe){return new MotionValue(oe)}const{isArray:isArray$2}=Array;function useMotionValues(){const oe=ref({}),ie=ue=>{const de=pe=>{oe.value[pe]&&(oe.value[pe].stop(),oe.value[pe].destroy(),delete oe.value[pe])};ue?isArray$2(ue)?ue.forEach(de):de(ue):Object.keys(oe.value).forEach(de)},le=(ue,de,pe)=>{if(oe.value[ue])return oe.value[ue];const he=getMotionValue(de);return he.onChange(_e=>pe[ue]=_e),oe.value[ue]=he,he};return tryOnUnmounted(ie),{motionValues:oe,get:le,stop:ie}}function isKeyframesTarget(oe){return Array.isArray(oe)}function underDampedSpring(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function criticallyDampedSpring(oe){return{type:"spring",stiffness:550,damping:oe===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function overDampedSpring(oe){return{type:"spring",stiffness:550,damping:oe===0?100:30,restDelta:.01,restSpeed:10}}function linearTween(){return{type:"keyframes",ease:"linear",duration:300}}function keyframes(oe){return{type:"keyframes",duration:800,values:oe}}const defaultTransitions={default:overDampedSpring,x:underDampedSpring,y:underDampedSpring,z:underDampedSpring,rotate:underDampedSpring,rotateX:underDampedSpring,rotateY:underDampedSpring,rotateZ:underDampedSpring,scaleX:criticallyDampedSpring,scaleY:criticallyDampedSpring,scale:criticallyDampedSpring,backgroundColor:linearTween,color:linearTween,opacity:linearTween};function getDefaultTransition(oe,ie){let le;return isKeyframesTarget(ie)?le=keyframes:le=defaultTransitions[oe]||defaultTransitions.default,{to:ie,...le(ie)}}const int={...number$1,transform:Math.round},valueTypes={color:color$1,backgroundColor:color$1,outlineColor:color$1,fill:color$1,stroke:color$1,borderColor:color$1,borderTopColor:color$1,borderRightColor:color$1,borderBottomColor:color$1,borderLeftColor:color$1,borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,radius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,size:px,top:px,right:px,bottom:px,left:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale:scale$3,scaleX:scale$3,scaleY:scale$3,scaleZ:scale$3,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha,originX:progressPercentage,originY:progressPercentage,originZ:px,zIndex:int,filter:filter$1,WebkitFilter:filter$1,fillOpacity:alpha,strokeOpacity:alpha,numOctaves:int},getValueType=oe=>valueTypes[oe];function getValueAsType(oe,ie){return ie&&typeof oe=="number"&&ie.transform?ie.transform(oe):oe}function getAnimatableNone(oe,ie){let le=getValueType(oe);return le!==filter$1&&(le=complex),le.getAnimatableNone?le.getAnimatableNone(ie):void 0}const easingLookup={linear,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate,bounceIn,bounceInOut,bounceOut};function easingDefinitionToFunction(oe){if(Array.isArray(oe)){const[ie,le,ue,de]=oe;return cubicBezier(ie,le,ue,de)}else if(typeof oe=="string")return easingLookup[oe];return oe}function isEasingArray(oe){return Array.isArray(oe)&&typeof oe[0]!="number"}function isAnimatable(oe,ie){return oe==="zIndex"?!1:!!(typeof ie=="number"||Array.isArray(ie)||typeof ie=="string"&&complex.test(ie)&&!ie.startsWith("url("))}function hydrateKeyframes(oe){return Array.isArray(oe.to)&&oe.to[0]===null&&(oe.to=[...oe.to],oe.to[0]=oe.from),oe}function convertTransitionToAnimationOptions({ease:oe,times:ie,delay:le,...ue}){const de={...ue};return ie&&(de.offset=ie),oe&&(de.ease=isEasingArray(oe)?oe.map(easingDefinitionToFunction):easingDefinitionToFunction(oe)),le&&(de.elapsed=-le),de}function getPopmotionAnimationOptions(oe,ie,le){return Array.isArray(ie.to)&&(oe.duration||(oe.duration=800)),hydrateKeyframes(ie),isTransitionDefined(oe)||(oe={...oe,...getDefaultTransition(le,ie.to)}),{...ie,...convertTransitionToAnimationOptions(oe)}}function isTransitionDefined({delay:oe,repeat:ie,repeatType:le,repeatDelay:ue,from:de,...pe}){return!!Object.keys(pe).length}function getValueTransition(oe,ie){return oe[ie]||oe.default||oe}function getAnimation(oe,ie,le,ue,de){const pe=getValueTransition(ue,oe);let he=pe.from===null||pe.from===void 0?ie.get():pe.from;const _e=isAnimatable(oe,le);he==="none"&&_e&&typeof le=="string"&&(he=getAnimatableNone(oe,le));const $e=isAnimatable(oe,he);function Ie(Fe){const Ue={from:he,to:le,velocity:ue.velocity?ue.velocity:ie.getVelocity(),onUpdate:qe=>ie.set(qe)};return pe.type==="inertia"||pe.type==="decay"?inertia({...Ue,...pe}):animate({...getPopmotionAnimationOptions(pe,Ue,oe),onUpdate:qe=>{Ue.onUpdate(qe),pe.onUpdate&&pe.onUpdate(qe)},onComplete:()=>{ue.onComplete&&ue.onComplete(),de&&de(),Fe&&Fe()}})}function Ve(Fe){return ie.set(le),ue.onComplete&&ue.onComplete(),de&&de(),Fe&&Fe(),{stop:()=>{}}}return!$e||!_e||pe.type===!1?Ve:Ie}function useMotionTransitions(){const{motionValues:oe,stop:ie,get:le}=useMotionValues();return{motionValues:oe,stop:ie,push:(de,pe,he,_e={},$e)=>{const Ie=he[de],Ve=le(de,Ie,he);if(_e&&_e.immediate){Ve.set(pe);return}const Fe=getAnimation(de,Ve,pe,_e,$e);Ve.start(Fe)}}}function useMotionControls(oe,ie={},{motionValues:le,push:ue,stop:de}=useMotionTransitions()){const pe=unref(ie),he=ref(!1);watch(le,Fe=>{he.value=Object.values(Fe).filter(Ue=>Ue.isAnimating()).length>0},{immediate:!0,deep:!0});const _e=Fe=>{if(!pe||!pe[Fe])throw new Error(`The variant ${Fe} does not exist.`);return pe[Fe]},$e=Fe=>(typeof Fe=="string"&&(Fe=_e(Fe)),Promise.all(Object.entries(Fe).map(([Ue,qe])=>{if(Ue!=="transition")return new Promise(Et=>ue(Ue,qe,oe,Fe.transition||getDefaultTransition(Ue,Fe[Ue]),Et))}).filter(Boolean)));return{isAnimating:he,apply:$e,set:Fe=>{const Ue=isObject$7(Fe)?Fe:_e(Fe);Object.entries(Ue).forEach(([qe,Et])=>{qe!=="transition"&&ue(qe,Et,oe,{immediate:!0})})},leave:async Fe=>{let Ue;if(pe&&(pe.leave&&(Ue=pe.leave),!pe.leave&&pe.initial&&(Ue=pe.initial)),!Ue){Fe();return}await $e(Ue),Fe()},stop:de}}const isBrowser=typeof window<"u",supportsPointerEvents=()=>isBrowser&&window.onpointerdown===null,supportsTouchEvents=()=>isBrowser&&window.ontouchstart===null,supportsMouseEvents=()=>isBrowser&&window.onmousedown===null;function registerEventListeners({target:oe,state:ie,variants:le,apply:ue}){const de=unref(le),pe=ref(!1),he=ref(!1),_e=ref(!1),$e=computed(()=>{let Ve=[];return de&&(de.hovered&&(Ve=[...Ve,...Object.keys(de.hovered)]),de.tapped&&(Ve=[...Ve,...Object.keys(de.tapped)]),de.focused&&(Ve=[...Ve,...Object.keys(de.focused)])),Ve}),Ie=computed(()=>{const Ve={};Object.assign(Ve,ie.value),pe.value&&de.hovered&&Object.assign(Ve,de.hovered),he.value&&de.tapped&&Object.assign(Ve,de.tapped),_e.value&&de.focused&&Object.assign(Ve,de.focused);for(const Fe in Ve)$e.value.includes(Fe)||delete Ve[Fe];return Ve});de.hovered&&(useEventListener(oe,"mouseenter",()=>pe.value=!0),useEventListener(oe,"mouseleave",()=>{pe.value=!1,he.value=!1}),useEventListener(oe,"mouseout",()=>{pe.value=!1,he.value=!1})),de.tapped&&(supportsMouseEvents()&&(useEventListener(oe,"mousedown",()=>he.value=!0),useEventListener(oe,"mouseup",()=>he.value=!1)),supportsPointerEvents()&&(useEventListener(oe,"pointerdown",()=>he.value=!0),useEventListener(oe,"pointerup",()=>he.value=!1)),supportsTouchEvents()&&(useEventListener(oe,"touchstart",()=>he.value=!0),useEventListener(oe,"touchend",()=>he.value=!1))),de.focused&&(useEventListener(oe,"focus",()=>_e.value=!0),useEventListener(oe,"blur",()=>_e.value=!1)),watch(Ie,ue)}function registerLifeCycleHooks({set:oe,target:ie,variants:le,variant:ue}){const de=unref(le);watch(()=>ie,()=>{de&&(de.initial&&oe("initial"),de.enter&&(ue.value="enter"))},{immediate:!0,flush:"pre"})}function registerVariantsSync({state:oe,apply:ie}){watch(oe,le=>{le&&ie(le)},{immediate:!0})}function registerVisibilityHooks({target:oe,variants:ie,variant:le}){const ue=unref(ie);ue&&(ue.visible||ue.visibleOnce)&&useIntersectionObserver(oe,([{isIntersecting:de}])=>{ue.visible?de?le.value="visible":le.value="initial":ue.visibleOnce&&(de&&le.value!=="visibleOnce"?le.value="visibleOnce":le.value||(le.value="initial"))})}function useMotionFeatures(oe,ie={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){ie.lifeCycleHooks&®isterLifeCycleHooks(oe),ie.syncVariants&®isterVariantsSync(oe),ie.visibilityHooks&®isterVisibilityHooks(oe),ie.eventListeners&®isterEventListeners(oe)}function reactiveStyle(oe={}){const ie=reactive({...oe}),le=ref({});return watch(ie,()=>{const ue={};for(const[de,pe]of Object.entries(ie)){const he=getValueType(de),_e=getValueAsType(pe,he);ue[de]=_e}le.value=ue},{immediate:!0,deep:!0}),{state:ie,style:le}}function usePermissiveTarget(oe,ie){watch(()=>unrefElement(oe),le=>{le&&ie(le)},{immediate:!0})}const translateAlias={x:"translateX",y:"translateY",z:"translateZ"};function reactiveTransform(oe={},ie=!0){const le=reactive({...oe}),ue=ref("");return watch(le,de=>{let pe="",he=!1;if(ie&&(de.x||de.y||de.z)){const _e=[de.x||0,de.y||0,de.z||0].map(px.transform).join(",");pe+=`translate3d(${_e}) `,he=!0}for(const[_e,$e]of Object.entries(de)){if(ie&&(_e==="x"||_e==="y"||_e==="z"))continue;const Ie=getValueType(_e),Ve=getValueAsType($e,Ie);pe+=`${translateAlias[_e]||_e}(${Ve}) `}ie&&!he&&(pe+="translateZ(0px) "),ue.value=pe.trim()},{immediate:!0,deep:!0}),{state:le,transform:ue}}const transformAxes=["","X","Y","Z"],order=["perspective","translate","scale","rotate","skew"],transformProps=["transformPerspective","x","y","z"];order.forEach(oe=>{transformAxes.forEach(ie=>{const le=oe+ie;transformProps.push(le)})});const transformPropSet=new Set(transformProps);function isTransformProp(oe){return transformPropSet.has(oe)}const transformOriginProps=new Set(["originX","originY","originZ"]);function isTransformOriginProp(oe){return transformOriginProps.has(oe)}function splitValues(oe){const ie={},le={};return Object.entries(oe).forEach(([ue,de])=>{isTransformProp(ue)||isTransformOriginProp(ue)?ie[ue]=de:le[ue]=de}),{transform:ie,style:le}}function variantToStyle(oe){const{transform:ie,style:le}=splitValues(oe),{transform:ue}=reactiveTransform(ie),{style:de}=reactiveStyle(le);return ue.value&&(de.value.transform=ue.value),de.value}function useElementStyle(oe,ie){let le,ue;const{state:de,style:pe}=reactiveStyle();return usePermissiveTarget(oe,he=>{ue=he;for(const _e of Object.keys(valueTypes))he.style[_e]===null||he.style[_e]===""||isTransformProp(_e)||isTransformOriginProp(_e)||(de[_e]=he.style[_e]);le&&Object.entries(le).forEach(([_e,$e])=>he.style[_e]=$e),ie&&ie(de)}),watch(pe,he=>{if(!ue){le=he;return}for(const _e in he)ue.style[_e]=he[_e]},{immediate:!0}),{style:de}}function parseTransform(oe){const ie=oe.trim().split(/\) |\)/);if(ie.length===1)return{};const le=ue=>ue.endsWith("px")||ue.endsWith("deg")?parseFloat(ue):isNaN(Number(ue))?Number(ue):ue;return ie.reduce((ue,de)=>{if(!de)return ue;const[pe,he]=de.split("("),$e=he.split(",").map(Ve=>le(Ve.endsWith(")")?Ve.replace(")",""):Ve.trim())),Ie=$e.length===1?$e[0]:$e;return{...ue,[pe]:Ie}},{})}function stateFromTransform(oe,ie){Object.entries(parseTransform(ie)).forEach(([le,ue])=>{const de=["x","y","z"];if(le==="translate3d"){if(ue===0){de.forEach(pe=>oe[pe]=0);return}ue.forEach((pe,he)=>oe[de[he]]=pe);return}if(ue=parseFloat(ue),le==="translateX"){oe.x=ue;return}if(le==="translateY"){oe.y=ue;return}if(le==="translateZ"){oe.z=ue;return}oe[le]=ue})}function useElementTransform(oe,ie){let le,ue;const{state:de,transform:pe}=reactiveTransform();return usePermissiveTarget(oe,he=>{ue=he,he.style.transform&&stateFromTransform(de,he.style.transform),le&&(he.style.transform=le),ie&&ie(de)}),watch(pe,he=>{if(!ue){le=he;return}ue.style.transform=he},{immediate:!0}),{transform:de}}function useMotionProperties(oe,ie){const le=reactive({}),ue=he=>Object.entries(he).forEach(([_e,$e])=>le[_e]=$e),{style:de}=useElementStyle(oe,ue),{transform:pe}=useElementTransform(oe,ue);return watch(le,he=>{Object.entries(he).forEach(([_e,$e])=>{const Ie=isTransformProp(_e)?pe:de;Ie[_e]&&Ie[_e]===$e||(Ie[_e]=$e)})},{immediate:!0,deep:!0}),usePermissiveTarget(oe,()=>ie&&ue(ie)),{motionProperties:le,style:de,transform:pe}}function useMotionVariants(oe={}){const ie=unref(oe),le=ref();return{state:computed(()=>{if(le.value)return ie[le.value]}),variant:le}}function useMotion(oe,ie={},le){const{motionProperties:ue}=useMotionProperties(oe),{variant:de,state:pe}=useMotionVariants(ie),he=useMotionControls(ue,ie),_e={target:oe,variant:de,variants:ie,state:pe,motionProperties:ue,...he};return useMotionFeatures(_e,le),_e}const directivePropsKeys=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function resolveVariants(oe,ie){const le=oe.props?oe.props:oe.data&&oe.data.attrs?oe.data.attrs:{};le&&(le.variants&&isObject$7(le.variants)&&(ie.value={...ie.value,...le.variants}),directivePropsKeys.forEach(ue=>{if(ue==="delay"){if(le&&le[ue]&&typeof le[ue]=="number"){const de=le[ue];ie&&ie.value&&(ie.value.enter&&(ie.value.enter.transition||(ie.value.enter.transition={}),ie.value.enter.transition={delay:de,...ie.value.enter.transition}),ie.value.visible&&(ie.value.visible.transition||(ie.value.visible.transition={}),ie.value.visible.transition={delay:de,...ie.value.visible.transition}),ie.value.visibleOnce&&(ie.value.visibleOnce.transition||(ie.value.visibleOnce.transition={}),ie.value.visibleOnce.transition={delay:de,...ie.value.visibleOnce.transition}))}return}ue==="visible-once"&&(ue="visibleOnce"),le&&le[ue]&&isObject$7(le[ue])&&(ie.value[ue]=le[ue])}))}function directive(oe){return{created:(le,ue,de)=>{const pe=ue.value&&typeof ue.value=="string"?ue.value:de.key;pe&&motionState[pe]&&motionState[pe].stop();const he=ref(oe||{});typeof ue.value=="object"&&(he.value=ue.value),resolveVariants(de,he);const _e=useMotion(le,he);le.motionInstance=_e,pe&&(motionState[pe]=_e)},getSSRProps(le,ue){let{initial:de}=le.value||ue&&(ue==null?void 0:ue.props)||{};de=unref(de);const pe=defu((oe==null?void 0:oe.initial)||{},de||{});return!pe||Object.keys(pe).length===0?void 0:{style:variantToStyle(pe)}}}}const fade={initial:{opacity:0},enter:{opacity:1}},fadeVisible={initial:{opacity:0},visible:{opacity:1}},fadeVisibleOnce={initial:{opacity:0},visibleOnce:{opacity:1}},pop$1={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},popVisible={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},popVisibleOnce={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},rollLeft={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleLeft={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceLeft={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollRight={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleRight={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceRight={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollTop={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleTop={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceTop={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollBottom={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleBottom={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceBottom={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},slideLeft={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},slideVisibleLeft={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceLeft={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},slideRight={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},slideVisibleRight={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceRight={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},slideTop={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},slideVisibleTop={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceTop={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},slideBottom={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},slideVisibleBottom={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceBottom={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},presets={__proto__:null,fade,fadeVisible,fadeVisibleOnce,pop:pop$1,popVisible,popVisibleOnce,rollBottom,rollLeft,rollRight,rollTop,rollVisibleBottom,rollVisibleLeft,rollVisibleOnceBottom,rollVisibleOnceLeft,rollVisibleOnceRight,rollVisibleOnceTop,rollVisibleRight,rollVisibleTop,slideBottom,slideLeft,slideRight,slideTop,slideVisibleBottom,slideVisibleLeft,slideVisibleOnceBottom,slideVisibleOnceLeft,slideVisibleOnceRight,slideVisibleOnceTop,slideVisibleRight,slideVisibleTop},component=defineComponent({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(oe){var _e;const ie=useSlots(),le=reactive({});if(!oe.is&&!ie.default)return()=>h$3("div",{});const ue=computed(()=>{let $e;return oe.preset&&($e=presets[oe.preset]),$e}),de=computed(()=>({initial:oe.initial,enter:oe.enter,leave:oe.leave,visible:oe.visible,visibleOnce:oe.visibleOnce,hovered:oe.hovered,tapped:oe.tapped,focused:oe.focused})),pe=computed(()=>{const $e={...de.value,...ue.value||{},...oe.variants||{}};return oe.delay&&($e.enter.transition={...$e.enter.transition},$e.enter.transition.delay=parseInt(oe.delay)),$e}),he=computed(()=>{if(!oe.is)return;let $e=oe.is;return typeof he.value=="string"&&!isHTMLTag($e)&&($e=resolveComponent($e)),$e});if(((_e=process==null?void 0:process.env)==null?void 0:_e.NODE_ENV)==="development"||process!=null&&process.dev){const $e=Ie=>{var Ve;(Ve=Ie.variants)!=null&&Ve.initial&&Ie.set("initial"),setTimeout(()=>{var Fe,Ue,qe;(Fe=Ie.variants)!=null&&Fe.enter&&Ie.apply("enter"),(Ue=Ie.variants)!=null&&Ue.visible&&Ie.apply("visible"),(qe=Ie.variants)!=null&&qe.visibleOnce&&Ie.apply("visibleOnce")},10)};onUpdated(()=>Object.entries(le).forEach(([Ie,Ve])=>$e(Ve)))}return{slots:ie,component:he,motionConfig:pe,instances:le}},render({slots:oe,motionConfig:ie,instances:le,component:ue}){var _e;const de=variantToStyle(ie.initial||{}),pe=($e,Ie)=>($e.props||($e.props={}),$e.props.style=de,$e.props.onVnodeMounted=({el:Ve})=>{const Fe=useMotion(Ve,ie);le[Ie]=Fe},$e);if(ue){const $e=h$3(ue,void 0,oe);return pe($e,0),$e}return(((_e=oe.default)==null?void 0:_e.call(oe))||[]).map(($e,Ie)=>pe($e,Ie))}});function slugify(oe){const ie="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",le="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",ue=new RegExp(ie.split("").join("|"),"g");return oe.toString().replace(/[A-Z]/g,de=>`-${de}`).toLowerCase().replace(/\s+/g,"-").replace(ue,de=>le.charAt(ie.indexOf(de))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const MotionPlugin={install(oe,ie){if(oe.directive("motion",directive()),oe.component("Motion",component),!ie||ie&&!ie.excludePresets)for(const le in presets){const ue=presets[le];oe.directive(`motion-${slugify(le)}`,directive(ue))}if(ie&&ie.directives)for(const le in ie.directives){const ue=ie.directives[le];!ue.initial&&__DEV__&&console.warn(`Your directive v-motion-${le} is missing initial variant!`),oe.directive(`motion-${le}`,directive(ue))}}};/*! ***************************************************************************** + */const isBrowser$1=typeof window<"u";function isESModule(oe){return oe.__esModule||oe[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(oe,ie){const le={};for(const ue in ie){const de=ie[ue];le[ue]=isArray$3(de)?de.map(oe):oe(de)}return le}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=oe=>oe.replace(TRAILING_SLASH_RE,"");function parseURL(oe,ie,le="/"){let ue,de={},pe="",he="";const _e=ie.indexOf("#");let $e=ie.indexOf("?");return _e<$e&&_e>=0&&($e=-1),$e>-1&&(ue=ie.slice(0,$e),pe=ie.slice($e+1,_e>-1?_e:ie.length),de=oe(pe)),_e>-1&&(ue=ue||ie.slice(0,_e),he=ie.slice(_e,ie.length)),ue=resolveRelativePath(ue??ie,le),{fullPath:ue+(pe&&"?")+pe+he,path:ue,query:de,hash:he}}function stringifyURL(oe,ie){const le=ie.query?oe(ie.query):"";return ie.path+(le&&"?")+le+(ie.hash||"")}function stripBase(oe,ie){return!ie||!oe.toLowerCase().startsWith(ie.toLowerCase())?oe:oe.slice(ie.length)||"/"}function isSameRouteLocation(oe,ie,le){const ue=ie.matched.length-1,de=le.matched.length-1;return ue>-1&&ue===de&&isSameRouteRecord(ie.matched[ue],le.matched[de])&&isSameRouteLocationParams(ie.params,le.params)&&oe(ie.query)===oe(le.query)&&ie.hash===le.hash}function isSameRouteRecord(oe,ie){return(oe.aliasOf||oe)===(ie.aliasOf||ie)}function isSameRouteLocationParams(oe,ie){if(Object.keys(oe).length!==Object.keys(ie).length)return!1;for(const le in oe)if(!isSameRouteLocationParamsValue(oe[le],ie[le]))return!1;return!0}function isSameRouteLocationParamsValue(oe,ie){return isArray$3(oe)?isEquivalentArray(oe,ie):isArray$3(ie)?isEquivalentArray(ie,oe):oe===ie}function isEquivalentArray(oe,ie){return isArray$3(ie)?oe.length===ie.length&&oe.every((le,ue)=>le===ie[ue]):oe.length===1&&oe[0]===ie}function resolveRelativePath(oe,ie){if(oe.startsWith("/"))return oe;if(!oe)return ie;const le=ie.split("/"),ue=oe.split("/"),de=ue[ue.length-1];(de===".."||de===".")&&ue.push("");let pe=le.length-1,he,_e;for(he=0;he1&&pe--;else break;return le.slice(0,pe).join("/")+"/"+ue.slice(he-(he===ue.length?1:0)).join("/")}var NavigationType;(function(oe){oe.pop="pop",oe.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(oe){oe.back="back",oe.forward="forward",oe.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(oe){if(!oe)if(isBrowser$1){const ie=document.querySelector("base");oe=ie&&ie.getAttribute("href")||"/",oe=oe.replace(/^\w+:\/\/[^\/]+/,"")}else oe="/";return oe[0]!=="/"&&oe[0]!=="#"&&(oe="/"+oe),removeTrailingSlash(oe)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(oe,ie){return oe.replace(BEFORE_HASH_RE,"#")+ie}function getElementPosition(oe,ie){const le=document.documentElement.getBoundingClientRect(),ue=oe.getBoundingClientRect();return{behavior:ie.behavior,left:ue.left-le.left-(ie.left||0),top:ue.top-le.top-(ie.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(oe){let ie;if("el"in oe){const le=oe.el,ue=typeof le=="string"&&le.startsWith("#"),de=typeof le=="string"?ue?document.getElementById(le.slice(1)):document.querySelector(le):le;if(!de)return;ie=getElementPosition(de,oe)}else ie=oe;"scrollBehavior"in document.documentElement.style?window.scrollTo(ie):window.scrollTo(ie.left!=null?ie.left:window.pageXOffset,ie.top!=null?ie.top:window.pageYOffset)}function getScrollKey(oe,ie){return(history.state?history.state.position-ie:-1)+oe}const scrollPositions=new Map;function saveScrollPosition(oe,ie){scrollPositions.set(oe,ie)}function getSavedScrollPosition(oe){const ie=scrollPositions.get(oe);return scrollPositions.delete(oe),ie}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(oe,ie){const{pathname:le,search:ue,hash:de}=ie,pe=oe.indexOf("#");if(pe>-1){let _e=de.includes(oe.slice(pe))?oe.slice(pe).length:1,$e=de.slice(_e);return $e[0]!=="/"&&($e="/"+$e),stripBase($e,"")}return stripBase(le,oe)+ue+de}function useHistoryListeners(oe,ie,le,ue){let de=[],pe=[],he=null;const _e=({state:Ue})=>{const qe=createCurrentLocation(oe,location),Et=le.value,At=ie.value;let Lt=0;if(Ue){if(le.value=qe,ie.value=Ue,he&&he===Et){he=null;return}Lt=At?Ue.position-At.position:0}else ue(qe);de.forEach(hn=>{hn(le.value,Et,{delta:Lt,type:NavigationType.pop,direction:Lt?Lt>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function $e(){he=le.value}function Ie(Ue){de.push(Ue);const qe=()=>{const Et=de.indexOf(Ue);Et>-1&&de.splice(Et,1)};return pe.push(qe),qe}function Ve(){const{history:Ue}=window;Ue.state&&Ue.replaceState(assign({},Ue.state,{scroll:computeScrollPosition()}),"")}function Fe(){for(const Ue of pe)Ue();pe=[],window.removeEventListener("popstate",_e),window.removeEventListener("beforeunload",Ve)}return window.addEventListener("popstate",_e),window.addEventListener("beforeunload",Ve,{passive:!0}),{pauseListeners:$e,listen:Ie,destroy:Fe}}function buildState(oe,ie,le,ue=!1,de=!1){return{back:oe,current:ie,forward:le,replaced:ue,position:window.history.length,scroll:de?computeScrollPosition():null}}function useHistoryStateNavigation(oe){const{history:ie,location:le}=window,ue={value:createCurrentLocation(oe,le)},de={value:ie.state};de.value||pe(ue.value,{back:null,current:ue.value,forward:null,position:ie.length-1,replaced:!0,scroll:null},!0);function pe($e,Ie,Ve){const Fe=oe.indexOf("#"),Ue=Fe>-1?(le.host&&document.querySelector("base")?oe:oe.slice(Fe))+$e:createBaseLocation()+oe+$e;try{ie[Ve?"replaceState":"pushState"](Ie,"",Ue),de.value=Ie}catch(qe){console.error(qe),le[Ve?"replace":"assign"](Ue)}}function he($e,Ie){const Ve=assign({},ie.state,buildState(de.value.back,$e,de.value.forward,!0),Ie,{position:de.value.position});pe($e,Ve,!0),ue.value=$e}function _e($e,Ie){const Ve=assign({},de.value,ie.state,{forward:$e,scroll:computeScrollPosition()});pe(Ve.current,Ve,!0);const Fe=assign({},buildState(ue.value,$e,null),{position:Ve.position+1},Ie);pe($e,Fe,!1),ue.value=$e}return{location:ue,state:de,push:_e,replace:he}}function createWebHistory(oe){oe=normalizeBase(oe);const ie=useHistoryStateNavigation(oe),le=useHistoryListeners(oe,ie.state,ie.location,ie.replace);function ue(pe,he=!0){he||le.pauseListeners(),history.go(pe)}const de=assign({location:"",base:oe,go:ue,createHref:createHref.bind(null,oe)},ie,le);return Object.defineProperty(de,"location",{enumerable:!0,get:()=>ie.location.value}),Object.defineProperty(de,"state",{enumerable:!0,get:()=>ie.state.value}),de}function createWebHashHistory(oe){return oe=location.host?oe||location.pathname+location.search:"",oe.includes("#")||(oe+="#"),createWebHistory(oe)}function isRouteLocation(oe){return typeof oe=="string"||oe&&typeof oe=="object"}function isRouteName(oe){return typeof oe=="string"||typeof oe=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(oe){oe[oe.aborted=4]="aborted",oe[oe.cancelled=8]="cancelled",oe[oe.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(oe,ie){return assign(new Error,{type:oe,[NavigationFailureSymbol]:!0},ie)}function isNavigationFailure(oe,ie){return oe instanceof Error&&NavigationFailureSymbol in oe&&(ie==null||!!(oe.type&ie))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(oe,ie){const le=assign({},BASE_PATH_PARSER_OPTIONS,ie),ue=[];let de=le.start?"^":"";const pe=[];for(const Ie of oe){const Ve=Ie.length?[]:[90];le.strict&&!Ie.length&&(de+="/");for(let Fe=0;Feie.length?ie.length===1&&ie[0]===40+40?1:-1:0}function comparePathParserScore(oe,ie){let le=0;const ue=oe.score,de=ie.score;for(;le0&&ie[ie.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(oe){if(!oe)return[[]];if(oe==="/")return[[ROOT_TOKEN]];if(!oe.startsWith("/"))throw new Error(`Invalid path "${oe}"`);function ie(qe){throw new Error(`ERR (${le})/"${Ie}": ${qe}`)}let le=0,ue=le;const de=[];let pe;function he(){pe&&de.push(pe),pe=[]}let _e=0,$e,Ie="",Ve="";function Fe(){Ie&&(le===0?pe.push({type:0,value:Ie}):le===1||le===2||le===3?(pe.length>1&&($e==="*"||$e==="+")&&ie(`A repeatable param (${Ie}) must be alone in its segment. eg: '/:ids+.`),pe.push({type:1,value:Ie,regexp:Ve,repeatable:$e==="*"||$e==="+",optional:$e==="*"||$e==="?"})):ie("Invalid state to consume buffer"),Ie="")}function Ue(){Ie+=$e}for(;_e{he(vn)}:noop$1}function he(Ve){if(isRouteName(Ve)){const Fe=ue.get(Ve);Fe&&(ue.delete(Ve),le.splice(le.indexOf(Fe),1),Fe.children.forEach(he),Fe.alias.forEach(he))}else{const Fe=le.indexOf(Ve);Fe>-1&&(le.splice(Fe,1),Ve.record.name&&ue.delete(Ve.record.name),Ve.children.forEach(he),Ve.alias.forEach(he))}}function _e(){return le}function $e(Ve){let Fe=0;for(;Fe=0&&(Ve.record.path!==le[Fe].record.path||!isRecordChildOf(Ve,le[Fe]));)Fe++;le.splice(Fe,0,Ve),Ve.record.name&&!isAliasRecord(Ve)&&ue.set(Ve.record.name,Ve)}function Ie(Ve,Fe){let Ue,qe={},Et,At;if("name"in Ve&&Ve.name){if(Ue=ue.get(Ve.name),!Ue)throw createRouterError(1,{location:Ve});At=Ue.record.name,qe=assign(paramsFromLocation(Fe.params,Ue.keys.filter(vn=>!vn.optional).map(vn=>vn.name)),Ve.params&¶msFromLocation(Ve.params,Ue.keys.map(vn=>vn.name))),Et=Ue.stringify(qe)}else if("path"in Ve)Et=Ve.path,Ue=le.find(vn=>vn.re.test(Et)),Ue&&(qe=Ue.parse(Et),At=Ue.record.name);else{if(Ue=Fe.name?ue.get(Fe.name):le.find(vn=>vn.re.test(Fe.path)),!Ue)throw createRouterError(1,{location:Ve,currentLocation:Fe});At=Ue.record.name,qe=assign({},Fe.params,Ve.params),Et=Ue.stringify(qe)}const Lt=[];let hn=Ue;for(;hn;)Lt.unshift(hn.record),hn=hn.parent;return{name:At,path:Et,params:qe,matched:Lt,meta:mergeMetaFields(Lt)}}return oe.forEach(Ve=>pe(Ve)),{addRoute:pe,resolve:Ie,removeRoute:he,getRoutes:_e,getRecordMatcher:de}}function paramsFromLocation(oe,ie){const le={};for(const ue of ie)ue in oe&&(le[ue]=oe[ue]);return le}function normalizeRouteRecord(oe){return{path:oe.path,redirect:oe.redirect,name:oe.name,meta:oe.meta||{},aliasOf:void 0,beforeEnter:oe.beforeEnter,props:normalizeRecordProps(oe),children:oe.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in oe?oe.components||null:oe.component&&{default:oe.component}}}function normalizeRecordProps(oe){const ie={},le=oe.props||!1;if("component"in oe)ie.default=le;else for(const ue in oe.components)ie[ue]=typeof le=="boolean"?le:le[ue];return ie}function isAliasRecord(oe){for(;oe;){if(oe.record.aliasOf)return!0;oe=oe.parent}return!1}function mergeMetaFields(oe){return oe.reduce((ie,le)=>assign(ie,le.meta),{})}function mergeOptions(oe,ie){const le={};for(const ue in oe)le[ue]=ue in ie?ie[ue]:oe[ue];return le}function isRecordChildOf(oe,ie){return ie.children.some(le=>le===oe||isRecordChildOf(oe,le))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(oe){return encodeURI(""+oe).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(oe){return commonEncode(oe).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(oe){return commonEncode(oe).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(oe){return encodeQueryValue(oe).replace(EQUAL_RE,"%3D")}function encodePath(oe){return commonEncode(oe).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(oe){return oe==null?"":encodePath(oe).replace(SLASH_RE,"%2F")}function decode$1(oe){try{return decodeURIComponent(""+oe)}catch{}return""+oe}function parseQuery(oe){const ie={};if(oe===""||oe==="?")return ie;const ue=(oe[0]==="?"?oe.slice(1):oe).split("&");for(let de=0;depe&&encodeQueryValue(pe)):[ue&&encodeQueryValue(ue)]).forEach(pe=>{pe!==void 0&&(ie+=(ie.length?"&":"")+le,pe!=null&&(ie+="="+pe))})}return ie}function normalizeQuery(oe){const ie={};for(const le in oe){const ue=oe[le];ue!==void 0&&(ie[le]=isArray$3(ue)?ue.map(de=>de==null?null:""+de):ue==null?ue:""+ue)}return ie}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let oe=[];function ie(ue){return oe.push(ue),()=>{const de=oe.indexOf(ue);de>-1&&oe.splice(de,1)}}function le(){oe=[]}return{add:ie,list:()=>oe,reset:le}}function guardToPromiseFn(oe,ie,le,ue,de){const pe=ue&&(ue.enterCallbacks[de]=ue.enterCallbacks[de]||[]);return()=>new Promise((he,_e)=>{const $e=Fe=>{Fe===!1?_e(createRouterError(4,{from:le,to:ie})):Fe instanceof Error?_e(Fe):isRouteLocation(Fe)?_e(createRouterError(2,{from:ie,to:Fe})):(pe&&ue.enterCallbacks[de]===pe&&typeof Fe=="function"&&pe.push(Fe),he())},Ie=oe.call(ue&&ue.instances[de],ie,le,$e);let Ve=Promise.resolve(Ie);oe.length<3&&(Ve=Ve.then($e)),Ve.catch(Fe=>_e(Fe))})}function extractComponentsGuards(oe,ie,le,ue){const de=[];for(const pe of oe)for(const he in pe.components){let _e=pe.components[he];if(!(ie!=="beforeRouteEnter"&&!pe.instances[he]))if(isRouteComponent(_e)){const Ie=(_e.__vccOpts||_e)[ie];Ie&&de.push(guardToPromiseFn(Ie,le,ue,pe,he))}else{let $e=_e();de.push(()=>$e.then(Ie=>{if(!Ie)return Promise.reject(new Error(`Couldn't resolve component "${he}" at "${pe.path}"`));const Ve=isESModule(Ie)?Ie.default:Ie;pe.components[he]=Ve;const Ue=(Ve.__vccOpts||Ve)[ie];return Ue&&guardToPromiseFn(Ue,le,ue,pe,he)()}))}}return de}function isRouteComponent(oe){return typeof oe=="object"||"displayName"in oe||"props"in oe||"__vccOpts"in oe}function useLink(oe){const ie=inject(routerKey),le=inject(routeLocationKey),ue=computed(()=>ie.resolve(unref(oe.to))),de=computed(()=>{const{matched:$e}=ue.value,{length:Ie}=$e,Ve=$e[Ie-1],Fe=le.matched;if(!Ve||!Fe.length)return-1;const Ue=Fe.findIndex(isSameRouteRecord.bind(null,Ve));if(Ue>-1)return Ue;const qe=getOriginalPath($e[Ie-2]);return Ie>1&&getOriginalPath(Ve)===qe&&Fe[Fe.length-1].path!==qe?Fe.findIndex(isSameRouteRecord.bind(null,$e[Ie-2])):Ue}),pe=computed(()=>de.value>-1&&includesParams(le.params,ue.value.params)),he=computed(()=>de.value>-1&&de.value===le.matched.length-1&&isSameRouteLocationParams(le.params,ue.value.params));function _e($e={}){return guardEvent($e)?ie[unref(oe.replace)?"replace":"push"](unref(oe.to)).catch(noop$1):Promise.resolve()}return{route:ue,href:computed(()=>ue.value.href),isActive:pe,isExactActive:he,navigate:_e}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(oe,{slots:ie}){const le=reactive(useLink(oe)),{options:ue}=inject(routerKey),de=computed(()=>({[getLinkClass(oe.activeClass,ue.linkActiveClass,"router-link-active")]:le.isActive,[getLinkClass(oe.exactActiveClass,ue.linkExactActiveClass,"router-link-exact-active")]:le.isExactActive}));return()=>{const pe=ie.default&&ie.default(le);return oe.custom?pe:h$3("a",{"aria-current":le.isExactActive?oe.ariaCurrentValue:null,href:le.href,onClick:le.navigate,class:de.value},pe)}}}),RouterLink=RouterLinkImpl;function guardEvent(oe){if(!(oe.metaKey||oe.altKey||oe.ctrlKey||oe.shiftKey)&&!oe.defaultPrevented&&!(oe.button!==void 0&&oe.button!==0)){if(oe.currentTarget&&oe.currentTarget.getAttribute){const ie=oe.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(ie))return}return oe.preventDefault&&oe.preventDefault(),!0}}function includesParams(oe,ie){for(const le in ie){const ue=ie[le],de=oe[le];if(typeof ue=="string"){if(ue!==de)return!1}else if(!isArray$3(de)||de.length!==ue.length||ue.some((pe,he)=>pe!==de[he]))return!1}return!0}function getOriginalPath(oe){return oe?oe.aliasOf?oe.aliasOf.path:oe.path:""}const getLinkClass=(oe,ie,le)=>oe??ie??le,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(oe,{attrs:ie,slots:le}){const ue=inject(routerViewLocationKey),de=computed(()=>oe.route||ue.value),pe=inject(viewDepthKey,0),he=computed(()=>{let Ie=unref(pe);const{matched:Ve}=de.value;let Fe;for(;(Fe=Ve[Ie])&&!Fe.components;)Ie++;return Ie}),_e=computed(()=>de.value.matched[he.value]);provide(viewDepthKey,computed(()=>he.value+1)),provide(matchedRouteKey,_e),provide(routerViewLocationKey,de);const $e=ref();return watch(()=>[$e.value,_e.value,oe.name],([Ie,Ve,Fe],[Ue,qe,Et])=>{Ve&&(Ve.instances[Fe]=Ie,qe&&qe!==Ve&&Ie&&Ie===Ue&&(Ve.leaveGuards.size||(Ve.leaveGuards=qe.leaveGuards),Ve.updateGuards.size||(Ve.updateGuards=qe.updateGuards))),Ie&&Ve&&(!qe||!isSameRouteRecord(Ve,qe)||!Ue)&&(Ve.enterCallbacks[Fe]||[]).forEach(At=>At(Ie))},{flush:"post"}),()=>{const Ie=de.value,Ve=oe.name,Fe=_e.value,Ue=Fe&&Fe.components[Ve];if(!Ue)return normalizeSlot(le.default,{Component:Ue,route:Ie});const qe=Fe.props[Ve],Et=qe?qe===!0?Ie.params:typeof qe=="function"?qe(Ie):qe:null,Lt=h$3(Ue,assign({},Et,ie,{onVnodeUnmounted:hn=>{hn.component.isUnmounted&&(Fe.instances[Ve]=null)},ref:$e}));return normalizeSlot(le.default,{Component:Lt,route:Ie})||Lt}}});function normalizeSlot(oe,ie){if(!oe)return null;const le=oe(ie);return le.length===1?le[0]:le}const RouterView=RouterViewImpl;function createRouter(oe){const ie=createRouterMatcher(oe.routes,oe),le=oe.parseQuery||parseQuery,ue=oe.stringifyQuery||stringifyQuery,de=oe.history,pe=useCallbacks(),he=useCallbacks(),_e=useCallbacks(),$e=shallowRef(START_LOCATION_NORMALIZED);let Ie=START_LOCATION_NORMALIZED;isBrowser$1&&oe.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Ve=applyToParams.bind(null,Yn=>""+Yn),Fe=applyToParams.bind(null,encodeParam),Ue=applyToParams.bind(null,decode$1);function qe(Yn,Kn){let tr,lr;return isRouteName(Yn)?(tr=ie.getRecordMatcher(Yn),lr=Kn):lr=Yn,ie.addRoute(lr,tr)}function Et(Yn){const Kn=ie.getRecordMatcher(Yn);Kn&&ie.removeRoute(Kn)}function At(){return ie.getRoutes().map(Yn=>Yn.record)}function Lt(Yn){return!!ie.getRecordMatcher(Yn)}function hn(Yn,Kn){if(Kn=assign({},Kn||$e.value),typeof Yn=="string"){const or=parseURL(le,Yn,Kn.path),hr=ie.resolve({path:or.path},Kn),Cr=de.createHref(or.fullPath);return assign(or,hr,{params:Ue(hr.params),hash:decode$1(or.hash),redirectedFrom:void 0,href:Cr})}let tr;if("path"in Yn)tr=assign({},Yn,{path:parseURL(le,Yn.path,Kn.path).path});else{const or=assign({},Yn.params);for(const hr in or)or[hr]==null&&delete or[hr];tr=assign({},Yn,{params:Fe(or)}),Kn.params=Fe(Kn.params)}const lr=ie.resolve(tr,Kn),ur=Yn.hash||"";lr.params=Ve(Ue(lr.params));const jn=stringifyURL(ue,assign({},Yn,{hash:encodeHash(ur),path:lr.path})),Xn=de.createHref(jn);return assign({fullPath:jn,hash:ur,query:ue===stringifyQuery?normalizeQuery(Yn.query):Yn.query||{}},lr,{redirectedFrom:void 0,href:Xn})}function vn(Yn){return typeof Yn=="string"?parseURL(le,Yn,$e.value.path):assign({},Yn)}function _n(Yn,Kn){if(Ie!==Yn)return createRouterError(8,{from:Kn,to:Yn})}function bn(Yn){return En(Yn)}function Sn(Yn){return bn(assign(vn(Yn),{replace:!0}))}function Cn(Yn){const Kn=Yn.matched[Yn.matched.length-1];if(Kn&&Kn.redirect){const{redirect:tr}=Kn;let lr=typeof tr=="function"?tr(Yn):tr;return typeof lr=="string"&&(lr=lr.includes("?")||lr.includes("#")?lr=vn(lr):{path:lr},lr.params={}),assign({query:Yn.query,hash:Yn.hash,params:"path"in lr?{}:Yn.params},lr)}}function En(Yn,Kn){const tr=Ie=hn(Yn),lr=$e.value,ur=Yn.state,jn=Yn.force,Xn=Yn.replace===!0,or=Cn(tr);if(or)return En(assign(vn(or),{state:typeof or=="object"?assign({},ur,or.state):ur,force:jn,replace:Xn}),Kn||tr);const hr=tr;hr.redirectedFrom=Kn;let Cr;return!jn&&isSameRouteLocation(ue,lr,tr)&&(Cr=createRouterError(16,{to:hr,from:lr}),Wn(lr,lr,!0,!1)),(Cr?Promise.resolve(Cr):Pn(hr,lr)).catch(fr=>isNavigationFailure(fr)?isNavigationFailure(fr,2)?fr:Hn(fr):zn(fr,hr,lr)).then(fr=>{if(fr){if(isNavigationFailure(fr,2))return En(assign({replace:Xn},vn(fr.to),{state:typeof fr.to=="object"?assign({},ur,fr.to.state):ur,force:jn}),Kn||hr)}else fr=An(hr,lr,!0,Xn,ur);return xn(hr,lr,fr),fr})}function $n(Yn,Kn){const tr=_n(Yn,Kn);return tr?Promise.reject(tr):Promise.resolve()}function wn(Yn){const Kn=ar.values().next().value;return Kn&&typeof Kn.runWithContext=="function"?Kn.runWithContext(Yn):Yn()}function Pn(Yn,Kn){let tr;const[lr,ur,jn]=extractChangingRecords(Yn,Kn);tr=extractComponentsGuards(lr.reverse(),"beforeRouteLeave",Yn,Kn);for(const or of lr)or.leaveGuards.forEach(hr=>{tr.push(guardToPromiseFn(hr,Yn,Kn))});const Xn=$n.bind(null,Yn,Kn);return tr.push(Xn),rr(tr).then(()=>{tr=[];for(const or of pe.list())tr.push(guardToPromiseFn(or,Yn,Kn));return tr.push(Xn),rr(tr)}).then(()=>{tr=extractComponentsGuards(ur,"beforeRouteUpdate",Yn,Kn);for(const or of ur)or.updateGuards.forEach(hr=>{tr.push(guardToPromiseFn(hr,Yn,Kn))});return tr.push(Xn),rr(tr)}).then(()=>{tr=[];for(const or of Yn.matched)if(or.beforeEnter&&!Kn.matched.includes(or))if(isArray$3(or.beforeEnter))for(const hr of or.beforeEnter)tr.push(guardToPromiseFn(hr,Yn,Kn));else tr.push(guardToPromiseFn(or.beforeEnter,Yn,Kn));return tr.push(Xn),rr(tr)}).then(()=>(Yn.matched.forEach(or=>or.enterCallbacks={}),tr=extractComponentsGuards(jn,"beforeRouteEnter",Yn,Kn),tr.push(Xn),rr(tr))).then(()=>{tr=[];for(const or of he.list())tr.push(guardToPromiseFn(or,Yn,Kn));return tr.push(Xn),rr(tr)}).catch(or=>isNavigationFailure(or,8)?or:Promise.reject(or))}function xn(Yn,Kn,tr){for(const lr of _e.list())wn(()=>lr(Yn,Kn,tr))}function An(Yn,Kn,tr,lr,ur){const jn=_n(Yn,Kn);if(jn)return jn;const Xn=Kn===START_LOCATION_NORMALIZED,or=isBrowser$1?history.state:{};tr&&(lr||Xn?de.replace(Yn.fullPath,assign({scroll:Xn&&or&&or.scroll},ur)):de.push(Yn.fullPath,ur)),$e.value=Yn,Wn(Yn,Kn,tr,Xn),Hn()}let On;function In(){On||(On=de.listen((Yn,Kn,tr)=>{if(!mr.listening)return;const lr=hn(Yn),ur=Cn(lr);if(ur){En(assign(ur,{replace:!0}),lr).catch(noop$1);return}Ie=lr;const jn=$e.value;isBrowser$1&&saveScrollPosition(getScrollKey(jn.fullPath,tr.delta),computeScrollPosition()),Pn(lr,jn).catch(Xn=>isNavigationFailure(Xn,12)?Xn:isNavigationFailure(Xn,2)?(En(Xn.to,lr).then(or=>{isNavigationFailure(or,20)&&!tr.delta&&tr.type===NavigationType.pop&&de.go(-1,!1)}).catch(noop$1),Promise.reject()):(tr.delta&&de.go(-tr.delta,!1),zn(Xn,lr,jn))).then(Xn=>{Xn=Xn||An(lr,jn,!1),Xn&&(tr.delta&&!isNavigationFailure(Xn,8)?de.go(-tr.delta,!1):tr.type===NavigationType.pop&&isNavigationFailure(Xn,20)&&de.go(-1,!1)),xn(lr,jn,Xn)}).catch(noop$1)}))}let Fn=useCallbacks(),Vn=useCallbacks(),Dn;function zn(Yn,Kn,tr){Hn(Yn);const lr=Vn.list();return lr.length?lr.forEach(ur=>ur(Yn,Kn,tr)):console.error(Yn),Promise.reject(Yn)}function Mn(){return Dn&&$e.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((Yn,Kn)=>{Fn.add([Yn,Kn])})}function Hn(Yn){return Dn||(Dn=!Yn,In(),Fn.list().forEach(([Kn,tr])=>Yn?tr(Yn):Kn()),Fn.reset()),Yn}function Wn(Yn,Kn,tr,lr){const{scrollBehavior:ur}=oe;if(!isBrowser$1||!ur)return Promise.resolve();const jn=!tr&&getSavedScrollPosition(getScrollKey(Yn.fullPath,0))||(lr||!tr)&&history.state&&history.state.scroll||null;return nextTick().then(()=>ur(Yn,Kn,jn)).then(Xn=>Xn&&scrollToPosition(Xn)).catch(Xn=>zn(Xn,Yn,Kn))}const Un=Yn=>de.go(Yn);let Zn;const ar=new Set,mr={currentRoute:$e,listening:!0,addRoute:qe,removeRoute:Et,hasRoute:Lt,getRoutes:At,resolve:hn,options:oe,push:bn,replace:Sn,go:Un,back:()=>Un(-1),forward:()=>Un(1),beforeEach:pe.add,beforeResolve:he.add,afterEach:_e.add,onError:Vn.add,isReady:Mn,install(Yn){const Kn=this;Yn.component("RouterLink",RouterLink),Yn.component("RouterView",RouterView),Yn.config.globalProperties.$router=Kn,Object.defineProperty(Yn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref($e)}),isBrowser$1&&!Zn&&$e.value===START_LOCATION_NORMALIZED&&(Zn=!0,bn(de.location).catch(ur=>{}));const tr={};for(const ur in START_LOCATION_NORMALIZED)tr[ur]=computed(()=>$e.value[ur]);Yn.provide(routerKey,Kn),Yn.provide(routeLocationKey,reactive(tr)),Yn.provide(routerViewLocationKey,$e);const lr=Yn.unmount;ar.add(Yn),Yn.unmount=function(){ar.delete(Yn),ar.size<1&&(Ie=START_LOCATION_NORMALIZED,On&&On(),On=null,$e.value=START_LOCATION_NORMALIZED,Zn=!1,Dn=!1),lr()}}};function rr(Yn){return Yn.reduce((Kn,tr)=>Kn.then(()=>wn(tr)),Promise.resolve())}return mr}function extractChangingRecords(oe,ie){const le=[],ue=[],de=[],pe=Math.max(ie.matched.length,oe.matched.length);for(let he=0;heisSameRouteRecord(Ie,_e))?ue.push(_e):le.push(_e));const $e=oe.matched[he];$e&&(ie.matched.find(Ie=>isSameRouteRecord(Ie,$e))||de.push($e))}return[le,ue,de]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const extractPathList=oe=>{if(!Array.isArray(oe))return console.warn("tree must be an array"),[];if(!oe||oe.length===0)return[];const ie=[];for(const le of oe)le.children&&le.children.length>0&&extractPathList(le.children),ie.push(le.uniqueId);return ie},deleteChildren=(oe,ie=[])=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];for(const[le,ue]of oe.entries())ue.children&&ue.children.length===1&&delete ue.children,ue.id=le,ue.parentId=ie.length?ie[ie.length-1]:null,ue.pathList=[...ie,ue.id],ue.uniqueId=ue.pathList.length>1?ue.pathList.join("-"):ue.pathList[0],ue.children&&ue.children.length>0&&deleteChildren(ue.children,ue.pathList);return oe},buildHierarchyTree=(oe,ie=[])=>{if(!Array.isArray(oe))return console.warn("tree must be an array"),[];if(!oe||oe.length===0)return[];for(const[le,ue]of oe.entries())ue.id=le,ue.parentId=ie.length?ie[ie.length-1]:null,ue.pathList=[...ie,ue.id],ue.children&&ue.children.length>0&&buildHierarchyTree(ue.children,ue.pathList);return oe},getNodeByUniqueId=(oe,ie)=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];const le=oe.find(de=>de.uniqueId===ie);if(le)return le;const ue=oe.filter(de=>de.children).map(de=>de.children).flat(1);return getNodeByUniqueId(ue,ie)},appendFieldByUniqueId=(oe,ie,le)=>{if(!Array.isArray(oe))return console.warn("menuTree must be an array"),[];if(!oe||oe.length===0)return[];for(const ue of oe){const de=ue.children&&ue.children.length>0;ue.uniqueId===ie&&Object.prototype.toString.call(le)==="[object Object]"&&Object.assign(ue,le),de&&appendFieldByUniqueId(ue.children,ie,le)}return oe},handleTree=(oe,ie,le,ue)=>{if(!Array.isArray(oe))return console.warn("data must be an array"),[];const de={id:ie||"id",parentId:le||"parentId",childrenList:ue||"children"},pe={},he={},_e=[];for(const Ie of oe){const Ve=Ie[de.parentId];pe[Ve]==null&&(pe[Ve]=[]),he[Ie[de.id]]=Ie,pe[Ve].push(Ie)}for(const Ie of oe){const Ve=Ie[de.parentId];he[Ve]==null&&_e.push(Ie)}for(const Ie of _e)$e(Ie);function $e(Ie){if(pe[Ie[de.id]]!==null&&(Ie[de.childrenList]=pe[Ie[de.id]]),Ie[de.childrenList])for(const Ve of Ie[de.childrenList])$e(Ve)}return _e},getAsyncRoutes=()=>http.request("get","/getAsyncRoutes"),IFrame=()=>__vitePreload(()=>import("./frameView-b346d222.js"),["static/js/frameView-b346d222.js","static/css/frameView-ed080731.css"]),modulesRoutes=Object.assign({"/src/views/able/barcode.vue":()=>__vitePreload(()=>import("./barcode-e0bac78c.js"),[]),"/src/views/able/cascader.vue":()=>__vitePreload(()=>import("./cascader-cc413635.js"),["static/js/cascader-cc413635.js","static/css/cascader-843853c0.css"]),"/src/views/able/debounce.vue":()=>__vitePreload(()=>import("./debounce-70fda773.js"),[]),"/src/views/able/directives.vue":()=>__vitePreload(()=>import("./directives-73adb01b.js"),[]),"/src/views/able/download.vue":()=>__vitePreload(()=>import("./download-f58fa444.js"),[]),"/src/views/able/execl.vue":()=>__vitePreload(()=>import("./execl-de1d8d0c.js"),["static/js/execl-de1d8d0c.js","static/js/xlsx-f5126985.js"]),"/src/views/able/icon-select.vue":()=>__vitePreload(()=>import("./icon-select-7d7c4c67.js"),["static/js/icon-select-7d7c4c67.js","static/css/icon-select-e8efdfdc.css"]),"/src/views/able/infinite-scroll.vue":()=>__vitePreload(()=>import("./infinite-scroll-2b517294.js"),[]),"/src/views/able/line-tree.vue":()=>__vitePreload(()=>import("./line-tree-bfe94cf9.js"),["static/js/line-tree-bfe94cf9.js","static/css/line-tree-970a113a.css"]),"/src/views/able/menu-tree.vue":()=>__vitePreload(()=>import("./menu-tree-68ee9633.js"),["static/js/menu-tree-68ee9633.js","static/js/hooks-2ea9b191.js"]),"/src/views/able/pdf.vue":()=>__vitePreload(()=>import("./pdf-30820686.js"),["static/js/pdf-30820686.js","static/js/vue.runtime.esm-bundler-a6324638.js"]),"/src/views/able/pinyin.vue":()=>__vitePreload(()=>import("./pinyin-f5885dfd.js"),["static/js/pinyin-f5885dfd.js","static/js/index-d5731855.js","static/css/pinyin-f2728430.css"]),"/src/views/able/print.vue":()=>__vitePreload(()=>import("./print-18e0e65b.js"),["static/js/print-18e0e65b.js","static/js/print-a6e42845.js","static/js/Line.vue_vue_type_script_setup_true_lang-4df5663e.js","static/js/app-246d46a6.js","static/css/print-8831c8b6.css"]),"/src/views/able/qrcode.vue":()=>__vitePreload(()=>import("./qrcode-84039e2a.js"),["static/js/qrcode-84039e2a.js","static/js/index-afca5026.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),"/src/views/able/sensitive.vue":()=>__vitePreload(()=>import("./sensitive-7bcb2912.js"),[]),"/src/views/able/swiper.vue":()=>__vitePreload(()=>import("./swiper-b12015b6.js"),["static/js/swiper-b12015b6.js","static/css/swiper-fdcb3fa3.css"]),"/src/views/able/timeline.vue":()=>__vitePreload(()=>import("./timeline-fe79178f.js"),["static/js/timeline-fe79178f.js","static/js/index-a8afb2c0.js","static/css/index-18417f34.css","static/js/hooks-2ea9b191.js","static/js/iphone-bcaa848c.js","static/css/timeline-12434188.css"]),"/src/views/able/virtual-list/horizontal.vue":()=>__vitePreload(()=>import("./horizontal-c6d584ff.js"),["static/js/horizontal-c6d584ff.js","static/js/vue-virtual-scroller.esm-aa84258e.js","static/css/horizontal-f9c9bac5.css"]),"/src/views/able/virtual-list/index.vue":()=>__vitePreload(()=>import("./index-66b6681d.js"),["static/js/index-66b6681d.js","static/js/vertical-2f20122a.js","static/js/vue-virtual-scroller.esm-aa84258e.js","static/css/vertical-c0ec8bec.css","static/js/horizontal-c6d584ff.js","static/css/horizontal-f9c9bac5.css","static/css/index-bbe280a3.css"]),"/src/views/able/virtual-list/vertical.vue":()=>__vitePreload(()=>import("./vertical-2f20122a.js"),["static/js/vertical-2f20122a.js","static/js/vue-virtual-scroller.esm-aa84258e.js","static/css/vertical-c0ec8bec.css"]),"/src/views/able/watermark.vue":()=>__vitePreload(()=>import("./watermark-4c0738ba.js"),[]),"/src/views/about/columns.tsx":()=>__vitePreload(()=>import("./columns-a9e72791.js"),[]),"/src/views/about/index.vue":()=>__vitePreload(()=>import("./index-17230558.js"),["static/js/index-17230558.js","static/js/columns-a9e72791.js","static/css/index-cb8197dd.css"]),"/src/views/components/button/index.vue":()=>__vitePreload(()=>import("./index-7cec5734.js"),[]),"/src/views/components/contextmenu/basic.vue":()=>__vitePreload(()=>import("./basic-9e4768f3.js"),["static/js/basic-9e4768f3.js","static/js/index.esm-88833e99.js","static/css/basic-d842f1a0.css"]),"/src/views/components/contextmenu/index.vue":()=>__vitePreload(()=>import("./index-1a43b023.js"),["static/js/index-1a43b023.js","static/js/basic-9e4768f3.js","static/js/index.esm-88833e99.js","static/css/basic-d842f1a0.css","static/js/menuGroup-2c9d1f41.js","static/css/menuGroup-1ac3332c.css","static/js/menuDynamic-e26cc4a5.js","static/css/menuDynamic-8e12a25c.css","static/css/index-5d2daf4d.css"]),"/src/views/components/contextmenu/menuDynamic.vue":()=>__vitePreload(()=>import("./menuDynamic-e26cc4a5.js"),["static/js/menuDynamic-e26cc4a5.js","static/js/index.esm-88833e99.js","static/css/menuDynamic-8e12a25c.css"]),"/src/views/components/contextmenu/menuGroup.vue":()=>__vitePreload(()=>import("./menuGroup-2c9d1f41.js"),["static/js/menuGroup-2c9d1f41.js","static/js/index.esm-88833e99.js","static/css/menuGroup-1ac3332c.css"]),"/src/views/components/count-to/index.vue":()=>__vitePreload(()=>import("./index-3a7716a0.js"),["static/js/index-3a7716a0.js","static/js/propTypes-03d1d3a5.js","static/css/index-a129e600.css"]),"/src/views/components/cropping/index.vue":()=>__vitePreload(()=>import("./index-3cc9d30a.js"),["static/js/index-3cc9d30a.js","static/css/index-f3c73bbb.css"]),"/src/views/components/danmaku/index.vue":()=>__vitePreload(()=>import("./index-bac7b6d4.js"),["static/js/index-bac7b6d4.js","static/css/index-14392f45.css"]),"/src/views/components/dialog/form.vue":()=>__vitePreload(()=>import("./form-ec3d941e.js"),["static/js/form-ec3d941e.js","static/js/form.vue_vue_type_script_setup_true_lang-2a77ad63.js"]),"/src/views/components/dialog/formPrimitive.vue":()=>__vitePreload(()=>import("./formPrimitive-b4519716.js"),["static/js/formPrimitive-b4519716.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js"]),"/src/views/components/dialog/index.vue":()=>__vitePreload(()=>import("./index-4346aa6e.js"),["static/js/index-4346aa6e.js","static/js/form.vue_vue_type_script_setup_true_lang-2a77ad63.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js"]),"/src/views/components/draggable/index.vue":()=>__vitePreload(()=>import("./index-09be365d.js"),["static/js/index-09be365d.js","static/js/sortable.esm-e674cde8.js","static/js/app-246d46a6.js","static/js/hooks-2ea9b191.js","static/css/index-b2ddca14.css"]),"/src/views/components/json-editor/index.vue":()=>__vitePreload(()=>import("./index-4f983af3.js"),["static/js/index-4f983af3.js","static/js/styles-7ba5c6fe.js","static/js/vue.runtime.esm-bundler-a6324638.js","static/css/styles-0eafbc64.css"]),"/src/views/components/map/index.vue":()=>__vitePreload(()=>import("./index-d0d2892c.js"),["static/js/index-d0d2892c.js","static/css/index-c6f744fa.css"]),"/src/views/components/message/index.vue":()=>__vitePreload(()=>import("./index-a8e6f192.js"),["static/js/index-a8e6f192.js","static/js/hooks-2ea9b191.js","static/js/check-3815600c.js"]),"/src/views/components/seamless-scroll/index.vue":()=>__vitePreload(()=>import("./index-29da3f8e.js"),["static/js/index-29da3f8e.js","static/css/index-53a917f7.css"]),"/src/views/components/segmented/index.vue":()=>__vitePreload(()=>import("./index-08f7b72f.js"),["static/js/index-08f7b72f.js","static/js/home-filled-05cc090c.js","static/js/hooks-2ea9b191.js","static/css/index-fa517f4b.css"]),"/src/views/components/selector/index.vue":()=>__vitePreload(()=>import("./index-44e4b79c.js"),["static/js/index-44e4b79c.js","static/css/index-ea4ab5c7.css"]),"/src/views/components/split-pane/index.vue":()=>__vitePreload(()=>import("./index-e4f048dd.js"),["static/js/index-e4f048dd.js","static/css/index-e0a7f2a0.css"]),"/src/views/components/typeit/index.vue":()=>__vitePreload(()=>import("./index-d57d3027.js"),["static/js/index-d57d3027.js","static/js/index-6393607f.js"]),"/src/views/components/video/index.vue":()=>__vitePreload(()=>import("./index-abb152db.js"),["static/js/index-abb152db.js","static/js/hooks-2ea9b191.js","static/css/index-48d8c7cf.css"]),"/src/views/components/waterfall/index.vue":()=>__vitePreload(()=>import("./index-44694419.js"),["static/js/index-44694419.js","static/js/back_top-58cf79de.js","static/css/index-d102724b.css"]),"/src/views/editor/components/base.vue":()=>__vitePreload(()=>import("./base-d5082843.js"),["static/js/base-d5082843.js","static/js/base.vue_vue_type_script_setup_true_lang-64b0f3d7.js","static/js/index.esm-afc87593.js","static/css/index-f38a3df6.css"]),"/src/views/editor/components/multi.vue":()=>__vitePreload(()=>import("./multi-93b2a340.js"),["static/js/multi-93b2a340.js","static/js/multi.vue_vue_type_script_setup_true_lang-05075165.js","static/js/index-95007ff2.js","static/js/index.esm-afc87593.js","static/css/index-f38a3df6.css"]),"/src/views/editor/components/picUpload.vue":()=>__vitePreload(()=>import("./picUpload-70dbe5d3.js"),["static/js/picUpload-70dbe5d3.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-c067a5b6.js","static/js/index.esm-afc87593.js","static/css/index-f38a3df6.css"]),"/src/views/editor/index.vue":()=>__vitePreload(()=>import("./index-de52d59b.js"),["static/js/index-de52d59b.js","static/js/base.vue_vue_type_script_setup_true_lang-64b0f3d7.js","static/js/index.esm-afc87593.js","static/css/index-f38a3df6.css","static/js/multi.vue_vue_type_script_setup_true_lang-05075165.js","static/js/index-95007ff2.js","static/js/picUpload.vue_vue_type_script_setup_true_lang-c067a5b6.js","static/css/index-2bb08053.css"]),"/src/views/empty/index.vue":()=>__vitePreload(()=>import("./index-f21835af.js"),["static/js/index-f21835af.js","static/css/index-18755a0a.css"]),"/src/views/error/403.vue":()=>__vitePreload(()=>import("./403-923ecc0c.js"),[]),"/src/views/error/404.vue":()=>__vitePreload(()=>import("./404-f814f494.js"),[]),"/src/views/error/500.vue":()=>__vitePreload(()=>import("./500-d232a69f.js"),[]),"/src/views/flow-chart/index.vue":()=>__vitePreload(()=>import("./index-ce657e0b.js"),["static/js/index-ce657e0b.js","static/js/hooks-2ea9b191.js","static/js/styles-7ba5c6fe.js","static/js/vue.runtime.esm-bundler-a6324638.js","static/css/styles-0eafbc64.css","static/js/set-up-e6942411.js","static/css/index-6bd35e69.css"]),"/src/views/guide/index.vue":()=>__vitePreload(()=>import("./index-41fb1d6a.js"),["static/js/index-41fb1d6a.js","static/css/index-38ef32bb.css"]),"/src/views/list/card/components/Card.vue":()=>__vitePreload(()=>import("./Card-1d4ec2a8.js"),["static/js/Card-1d4ec2a8.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css"]),"/src/views/list/card/components/DialogForm.vue":()=>__vitePreload(()=>import("./DialogForm-ea3ce960.js"),["static/js/DialogForm-ea3ce960.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js"]),"/src/views/list/card/index.vue":()=>__vitePreload(()=>import("./index-fb5fc7d1.js"),["static/js/index-fb5fc7d1.js","static/js/Card-1d4ec2a8.js","static/js/more-2-fill-a666858a.js","static/css/Card-6b1295ac.css","static/js/list-b5711b9c.js","static/js/DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js","static/js/hooks-2ea9b191.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.js"]),"/src/views/login/components/phone.vue":()=>__vitePreload(()=>import("./phone-4a230adf.js"),["static/js/phone-4a230adf.js","static/js/phone.vue_vue_type_script_setup_true_lang-8ba64388.js","static/js/motion-c3b5429c.js","static/js/verifyCode-3d75d9a0.js","static/js/hooks-2ea9b191.js","static/js/iphone-bcaa848c.js"]),"/src/views/login/components/qrCode.vue":()=>__vitePreload(()=>import("./qrCode-d15509b3.js"),["static/js/qrCode-d15509b3.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-fef89734.js","static/js/motion-c3b5429c.js","static/js/index-afca5026.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css"]),"/src/views/login/components/regist.vue":()=>__vitePreload(()=>import("./regist-d7f63c7a.js"),["static/js/regist-d7f63c7a.js","static/js/regist.vue_vue_type_script_setup_true_lang-91f1bfc3.js","static/js/motion-c3b5429c.js","static/js/verifyCode-3d75d9a0.js","static/js/hooks-2ea9b191.js","static/js/lock-fill-34b71c6c.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/login/components/update.vue":()=>__vitePreload(()=>import("./update-69854212.js"),["static/js/update-69854212.js","static/js/update.vue_vue_type_script_setup_true_lang-9a96c023.js","static/js/motion-c3b5429c.js","static/js/verifyCode-3d75d9a0.js","static/js/hooks-2ea9b191.js","static/js/lock-fill-34b71c6c.js","static/js/iphone-bcaa848c.js"]),"/src/views/login/index.vue":()=>__vitePreload(()=>import("./index-a7e6eb22.js"),["static/js/index-a7e6eb22.js","static/js/motion-c3b5429c.js","static/js/verifyCode-3d75d9a0.js","static/js/phone.vue_vue_type_script_setup_true_lang-8ba64388.js","static/js/hooks-2ea9b191.js","static/js/iphone-bcaa848c.js","static/js/index-6393607f.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-fef89734.js","static/js/index-afca5026.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css","static/js/regist.vue_vue_type_script_setup_true_lang-91f1bfc3.js","static/js/lock-fill-34b71c6c.js","static/js/user-3-fill-70ba8c19.js","static/js/update.vue_vue_type_script_setup_true_lang-9a96c023.js","static/js/dark-6ca62a74.js","static/js/epTheme-ff3a171c.js","static/js/app-246d46a6.js","static/js/check-3815600c.js","static/css/index-90a3ebb5.css"]),"/src/views/menuoverflow/index.vue":()=>__vitePreload(()=>import("./index-2a6d5ddb.js"),[]),"/src/views/nested/menu1/menu1-1/index.vue":()=>__vitePreload(()=>import("./index-66c26666.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>__vitePreload(()=>import("./index-4b663c01.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>__vitePreload(()=>import("./index-de2c4931.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>__vitePreload(()=>import("./index-436c44e5.js"),[]),"/src/views/nested/menu2/index.vue":()=>__vitePreload(()=>import("./index-a372afac.js"),[]),"/src/views/permission/button/index.vue":()=>__vitePreload(()=>import("./index-a86504d6.js"),[]),"/src/views/permission/page/index.vue":()=>__vitePreload(()=>import("./index-5e55af8f.js"),[]),"/src/views/pure-table/base/base.vue":()=>__vitePreload(()=>import("./base-2ca3e2d6.js"),["static/js/base-2ca3e2d6.js","static/js/base.vue_vue_type_script_setup_true_lang-612cd722.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/border.vue":()=>__vitePreload(()=>import("./border-09aca474.js"),["static/js/border-09aca474.js","static/js/border.vue_vue_type_script_setup_true_lang-4222cc4e.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/column-template/columns.tsx":()=>__vitePreload(()=>import("./columns-1b8f8615.js"),["static/js/columns-1b8f8615.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/column-template/index.vue":()=>__vitePreload(()=>import("./index-9f1354af.js"),["static/js/index-9f1354af.js","static/js/index.vue_vue_type_script_setup_true_lang-9cbaaa8a.js","static/js/columns-1b8f8615.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/customIndex.vue":()=>__vitePreload(()=>import("./customIndex-3b58db8d.js"),["static/js/customIndex-3b58db8d.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-092ec924.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/expand.vue":()=>__vitePreload(()=>import("./expand-a75862a7.js"),["static/js/expand-a75862a7.js","static/js/expand.vue_vue_type_script_setup_true_lang-3909fccf.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/filters.vue":()=>__vitePreload(()=>import("./filters-e430cb5f.js"),["static/js/filters-e430cb5f.js","static/js/filters.vue_vue_type_script_setup_true_lang-782bece9.js"]),"/src/views/pure-table/base/fixColumn.vue":()=>__vitePreload(()=>import("./fixColumn-510ab3fc.js"),["static/js/fixColumn-510ab3fc.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/fixHeader.vue":()=>__vitePreload(()=>import("./fixHeader-3ff03587.js"),["static/js/fixHeader-3ff03587.js","static/js/fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/fluidHeight.vue":()=>__vitePreload(()=>import("./fluidHeight-4ba3358c.js"),["static/js/fluidHeight-4ba3358c.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/groupHeader.vue":()=>__vitePreload(()=>import("./groupHeader-fef6e98c.js"),["static/js/groupHeader-fef6e98c.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/header-renderer/columns.tsx":()=>__vitePreload(()=>import("./columns-b312cbd2.js"),["static/js/columns-b312cbd2.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/header-renderer/index.vue":()=>__vitePreload(()=>import("./index-0070af91.js"),["static/js/index-0070af91.js","static/js/index.vue_vue_type_script_setup_true_lang-c03ca486.js","static/js/columns-b312cbd2.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/imgPreview.vue":()=>__vitePreload(()=>import("./imgPreview-3ca9fb9b.js"),["static/js/imgPreview-3ca9fb9b.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/layout.vue":()=>__vitePreload(()=>import("./layout-ddac27c5.js"),["static/js/layout-ddac27c5.js","static/js/layout.vue_vue_type_script_setup_true_lang-7f60d3fd.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/list.tsx":()=>__vitePreload(()=>import("./list-04e09b6f.js"),["static/js/list-04e09b6f.js","static/js/base.vue_vue_type_script_setup_true_lang-612cd722.js","static/js/data-9af24e22.js","static/js/stripe.vue_vue_type_script_setup_true_lang-4a967d59.js","static/js/border.vue_vue_type_script_setup_true_lang-4222cc4e.js","static/js/status.vue_vue_type_style_index_0_lang-2ca59ed4.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js","static/js/radio.vue_vue_type_script_setup_true_lang-5588d1c7.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-c54a4e8c.js","static/js/sortable.vue_vue_type_script_setup_true_lang-4444de65.js","static/js/filters.vue_vue_type_script_setup_true_lang-782bece9.js","static/js/index.vue_vue_type_script_setup_true_lang-9cbaaa8a.js","static/js/columns-1b8f8615.js","static/js/index.vue_vue_type_script_setup_true_lang-c03ca486.js","static/js/columns-b312cbd2.js","static/js/expand.vue_vue_type_script_setup_true_lang-3909fccf.js","static/js/tree.vue_vue_type_script_setup_true_lang-4deb1854.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-fa751452.js","static/js/merge.vue_vue_type_script_setup_true_lang-5d77abbf.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-092ec924.js","static/js/layout.vue_vue_type_script_setup_true_lang-7f60d3fd.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-79a7fd0b.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js"]),"/src/views/pure-table/base/merge.vue":()=>__vitePreload(()=>import("./merge-d09e58bd.js"),["static/js/merge-d09e58bd.js","static/js/merge.vue_vue_type_script_setup_true_lang-5d77abbf.js"]),"/src/views/pure-table/base/multipleChoice.vue":()=>__vitePreload(()=>import("./multipleChoice-f15719d2.js"),["static/js/multipleChoice-f15719d2.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-c54a4e8c.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/nestProp.vue":()=>__vitePreload(()=>import("./nestProp-bed95f7d.js"),["static/js/nestProp-bed95f7d.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-79a7fd0b.js"]),"/src/views/pure-table/base/radio.vue":()=>__vitePreload(()=>import("./radio-e3d99afb.js"),["static/js/radio-e3d99afb.js","static/js/radio.vue_vue_type_script_setup_true_lang-5588d1c7.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/sortable.vue":()=>__vitePreload(()=>import("./sortable-66f8681b.js"),["static/js/sortable-66f8681b.js","static/js/sortable.vue_vue_type_script_setup_true_lang-4444de65.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/status.vue":()=>__vitePreload(()=>import("./status-056eae3e.js"),["static/js/status-056eae3e.js","static/js/status.vue_vue_type_style_index_0_lang-2ca59ed4.js","static/js/data-9af24e22.js","static/css/status-3db11369.css"]),"/src/views/pure-table/base/stripe.vue":()=>__vitePreload(()=>import("./stripe-5b61ad85.js"),["static/js/stripe-5b61ad85.js","static/js/stripe.vue_vue_type_script_setup_true_lang-4a967d59.js","static/js/data-9af24e22.js"]),"/src/views/pure-table/base/totalRow.vue":()=>__vitePreload(()=>import("./totalRow-f06ef6c7.js"),["static/js/totalRow-f06ef6c7.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-fa751452.js"]),"/src/views/pure-table/base/tree.vue":()=>__vitePreload(()=>import("./tree-82623834.js"),["static/js/tree-82623834.js","static/js/tree.vue_vue_type_script_setup_true_lang-4deb1854.js"]),"/src/views/pure-table/high.vue":()=>__vitePreload(()=>import("./high-51cafcc9.js"),["static/js/high-51cafcc9.js","static/js/list-7857d918.js","static/js/index.vue_vue_type_script_setup_true_lang-3e2fded0.js","static/js/columns-03aeaacd.js","static/js/data-43132d69.js","static/js/index.vue_vue_type_script_setup_true_lang-5e5d23a5.js","static/js/columns-6d554563.js","static/js/index.vue_vue_type_script_setup_true_lang-443a04b9.js","static/js/columns-6b41d831.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-289544ea.js","static/js/columns-342fbfd7.js","static/js/index.vue_vue_type_script_setup_true_lang-fc1e8d16.js","static/js/columns-474c4a4a.js","static/js/index.vue_vue_type_script_setup_true_lang-709c24e0.js","static/js/columns-94e2a27b.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-a3e0389a.js","static/js/columns-e5795be2.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-3c1d02d2.js","static/js/columns-81a95c64.js","static/js/index.vue_vue_type_script_setup_true_lang-f369f7f2.js","static/js/columns-7e32d1da.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-dc219594.js","static/js/columns-2aa5fe39.js","static/js/index.vue_vue_type_script_setup_true_lang-0c2046d1.js","static/js/index.vue_vue_type_script_setup_true_lang-6b1426e7.js","static/js/columns-ffa8f14e.js","static/js/index.vue_vue_type_script_setup_true_lang-91560990.js","static/js/columns-cecb48d1.js","static/css/high-5bc3f1f1.css"]),"/src/views/pure-table/high/adaptive/columns.tsx":()=>__vitePreload(()=>import("./columns-03aeaacd.js"),["static/js/columns-03aeaacd.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/adaptive/index.vue":()=>__vitePreload(()=>import("./index-1ad3c190.js"),["static/js/index-1ad3c190.js","static/js/index.vue_vue_type_script_setup_true_lang-3e2fded0.js","static/js/columns-03aeaacd.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/contextmenu/columns.tsx":()=>__vitePreload(()=>import("./columns-474c4a4a.js"),["static/js/columns-474c4a4a.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/contextmenu/index.vue":()=>__vitePreload(()=>import("./index-e45aa78f.js"),["static/js/index-e45aa78f.js","static/js/index.vue_vue_type_script_setup_true_lang-fc1e8d16.js","static/js/columns-474c4a4a.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/drag/column/columns.tsx":()=>__vitePreload(()=>import("./columns-342fbfd7.js"),["static/js/columns-342fbfd7.js","static/js/sortable.esm-e674cde8.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/drag/column/index.vue":()=>__vitePreload(()=>import("./index-834daa44.js"),["static/js/index-834daa44.js","static/js/index.vue_vue_type_script_setup_true_lang-289544ea.js","static/js/columns-342fbfd7.js","static/js/sortable.esm-e674cde8.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/drag/row/columns.tsx":()=>__vitePreload(()=>import("./columns-6b41d831.js"),["static/js/columns-6b41d831.js","static/js/sortable.esm-e674cde8.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/drag/row/index.vue":()=>__vitePreload(()=>import("./index-1990ba2b.js"),["static/js/index-1990ba2b.js","static/js/index.vue_vue_type_script_setup_true_lang-443a04b9.js","static/js/columns-6b41d831.js","static/js/sortable.esm-e674cde8.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/echarts/columns.tsx":()=>__vitePreload(()=>import("./columns-2aa5fe39.js"),["static/js/columns-2aa5fe39.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/echarts/index.vue":()=>__vitePreload(()=>import("./index-01708126.js"),["static/js/index-01708126.js","static/js/index.vue_vue_type_script_setup_true_lang-dc219594.js","static/js/columns-2aa5fe39.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/edit/columns.tsx":()=>__vitePreload(()=>import("./columns-e5795be2.js"),["static/js/columns-e5795be2.js","static/js/data-43132d69.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js"]),"/src/views/pure-table/high/edit/index.vue":()=>__vitePreload(()=>import("./index-91dda045.js"),["static/js/index-91dda045.js","static/js/index.vue_vue_type_script_setup_true_lang-a3e0389a.js","static/js/columns-e5795be2.js","static/js/data-43132d69.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js"]),"/src/views/pure-table/high/execl/columns.tsx":()=>__vitePreload(()=>import("./columns-94e2a27b.js"),["static/js/columns-94e2a27b.js","static/js/xlsx-f5126985.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/execl/index.vue":()=>__vitePreload(()=>import("./index-9a4aa307.js"),["static/js/index-9a4aa307.js","static/js/index.vue_vue_type_script_setup_true_lang-709c24e0.js","static/js/columns-94e2a27b.js","static/js/xlsx-f5126985.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/list.tsx":()=>__vitePreload(()=>import("./list-7857d918.js"),["static/js/list-7857d918.js","static/js/index.vue_vue_type_script_setup_true_lang-3e2fded0.js","static/js/columns-03aeaacd.js","static/js/data-43132d69.js","static/js/index.vue_vue_type_script_setup_true_lang-5e5d23a5.js","static/js/columns-6d554563.js","static/js/index.vue_vue_type_script_setup_true_lang-443a04b9.js","static/js/columns-6b41d831.js","static/js/sortable.esm-e674cde8.js","static/js/index.vue_vue_type_script_setup_true_lang-289544ea.js","static/js/columns-342fbfd7.js","static/js/index.vue_vue_type_script_setup_true_lang-fc1e8d16.js","static/js/columns-474c4a4a.js","static/js/index.vue_vue_type_script_setup_true_lang-709c24e0.js","static/js/columns-94e2a27b.js","static/js/xlsx-f5126985.js","static/js/index.vue_vue_type_script_setup_true_lang-a3e0389a.js","static/js/columns-e5795be2.js","static/js/edit-pen-37b5ced2.js","static/js/check-3815600c.js","static/js/index.vue_vue_type_script_setup_true_lang-3c1d02d2.js","static/js/columns-81a95c64.js","static/js/index.vue_vue_type_script_setup_true_lang-f369f7f2.js","static/js/columns-7e32d1da.js","static/js/print-a6e42845.js","static/js/index.vue_vue_type_script_setup_true_lang-dc219594.js","static/js/columns-2aa5fe39.js","static/js/index.vue_vue_type_script_setup_true_lang-0c2046d1.js","static/js/index.vue_vue_type_script_setup_true_lang-6b1426e7.js","static/js/columns-ffa8f14e.js","static/js/index.vue_vue_type_script_setup_true_lang-91560990.js","static/js/columns-cecb48d1.js"]),"/src/views/pure-table/high/page/columns.tsx":()=>__vitePreload(()=>import("./columns-6d554563.js"),["static/js/columns-6d554563.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/page/index.vue":()=>__vitePreload(()=>import("./index-70fa98c8.js"),["static/js/index-70fa98c8.js","static/js/index.vue_vue_type_script_setup_true_lang-5e5d23a5.js","static/js/columns-6d554563.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/prints/columns.tsx":()=>__vitePreload(()=>import("./columns-7e32d1da.js"),["static/js/columns-7e32d1da.js","static/js/print-a6e42845.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/prints/index.vue":()=>__vitePreload(()=>import("./index-88866009.js"),["static/js/index-88866009.js","static/js/index.vue_vue_type_script_setup_true_lang-f369f7f2.js","static/js/columns-7e32d1da.js","static/js/print-a6e42845.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/table-select/index.vue":()=>__vitePreload(()=>import("./index-1a5ef16d.js"),["static/js/index-1a5ef16d.js","static/js/index.vue_vue_type_script_setup_true_lang-0c2046d1.js","static/js/index.vue_vue_type_script_setup_true_lang-6b1426e7.js","static/js/columns-ffa8f14e.js","static/js/data-43132d69.js","static/js/index.vue_vue_type_script_setup_true_lang-91560990.js","static/js/columns-cecb48d1.js"]),"/src/views/pure-table/high/table-select/multiple/columns.tsx":()=>__vitePreload(()=>import("./columns-cecb48d1.js"),["static/js/columns-cecb48d1.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/table-select/multiple/index.vue":()=>__vitePreload(()=>import("./index-2acaf07e.js"),["static/js/index-2acaf07e.js","static/js/index.vue_vue_type_script_setup_true_lang-91560990.js","static/js/columns-cecb48d1.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/table-select/radio/columns.tsx":()=>__vitePreload(()=>import("./columns-ffa8f14e.js"),["static/js/columns-ffa8f14e.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/table-select/radio/index.vue":()=>__vitePreload(()=>import("./index-f4375a30.js"),["static/js/index-f4375a30.js","static/js/index.vue_vue_type_script_setup_true_lang-6b1426e7.js","static/js/columns-ffa8f14e.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/watermark/columns.tsx":()=>__vitePreload(()=>import("./columns-81a95c64.js"),["static/js/columns-81a95c64.js","static/js/data-43132d69.js"]),"/src/views/pure-table/high/watermark/index.vue":()=>__vitePreload(()=>import("./index-f50f18ad.js"),["static/js/index-f50f18ad.js","static/js/index.vue_vue_type_script_setup_true_lang-3c1d02d2.js","static/js/columns-81a95c64.js","static/js/data-43132d69.js"]),"/src/views/pure-table/index.vue":()=>__vitePreload(()=>import("./index-d35d45ca.js"),["static/js/index-d35d45ca.js","static/js/list-04e09b6f.js","static/js/base.vue_vue_type_script_setup_true_lang-612cd722.js","static/js/data-9af24e22.js","static/js/stripe.vue_vue_type_script_setup_true_lang-4a967d59.js","static/js/border.vue_vue_type_script_setup_true_lang-4222cc4e.js","static/js/status.vue_vue_type_style_index_0_lang-2ca59ed4.js","static/css/status-3db11369.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js","static/js/radio.vue_vue_type_script_setup_true_lang-5588d1c7.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-c54a4e8c.js","static/js/sortable.vue_vue_type_script_setup_true_lang-4444de65.js","static/js/filters.vue_vue_type_script_setup_true_lang-782bece9.js","static/js/index.vue_vue_type_script_setup_true_lang-9cbaaa8a.js","static/js/columns-1b8f8615.js","static/js/index.vue_vue_type_script_setup_true_lang-c03ca486.js","static/js/columns-b312cbd2.js","static/js/expand.vue_vue_type_script_setup_true_lang-3909fccf.js","static/js/tree.vue_vue_type_script_setup_true_lang-4deb1854.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-fa751452.js","static/js/merge.vue_vue_type_script_setup_true_lang-5d77abbf.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-092ec924.js","static/js/layout.vue_vue_type_script_setup_true_lang-7f60d3fd.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-79a7fd0b.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js","static/css/index-c6b6432d.css"]),"/src/views/result/columns.tsx":()=>__vitePreload(()=>import("./columns-ffb3ebcb.js"),["static/js/columns-ffb3ebcb.js","static/js/arrow-right-s-line-2977cc7e.js"]),"/src/views/result/fail.vue":()=>__vitePreload(()=>import("./fail-3b176f5f.js"),["static/js/fail-3b176f5f.js","static/js/columns-ffb3ebcb.js","static/js/arrow-right-s-line-2977cc7e.js","static/css/fail-8c7d12a4.css"]),"/src/views/result/success.vue":()=>__vitePreload(()=>import("./success-4cd503ed.js"),["static/js/success-4cd503ed.js","static/css/success-42084dfc.css"]),"/src/views/system/dept/form.vue":()=>__vitePreload(()=>import("./form-3d4fecb5.js"),["static/js/form-3d4fecb5.js","static/js/form.vue_vue_type_script_setup_true_lang-20cd937b.js","static/js/index-95007ff2.js","static/js/hooks-7e719396.js"]),"/src/views/system/dept/index.vue":()=>__vitePreload(()=>import("./index-e4012f33.js"),["static/js/index-e4012f33.js","static/js/hook-fb180ed8.js","static/js/form.vue_vue_type_script_setup_true_lang-20cd937b.js","static/js/index-95007ff2.js","static/js/hooks-7e719396.js","static/js/system-b32e34d2.js","static/js/refresh-ac0fe015.js","static/js/epTheme-ff3a171c.js","static/js/sortable.esm-e674cde8.js","static/js/hooks-2ea9b191.js","static/js/edit-pen-37b5ced2.js","static/js/search-cc37b371.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-929e1037.css"]),"/src/views/system/dept/utils/hook.tsx":()=>__vitePreload(()=>import("./hook-fb180ed8.js"),["static/js/hook-fb180ed8.js","static/js/form.vue_vue_type_script_setup_true_lang-20cd937b.js","static/js/index-95007ff2.js","static/js/hooks-7e719396.js","static/js/system-b32e34d2.js"]),"/src/views/system/role/form.vue":()=>__vitePreload(()=>import("./form-0cf76bae.js"),["static/js/form-0cf76bae.js","static/js/form.vue_vue_type_script_setup_true_lang-a7e35271.js"]),"/src/views/system/role/index.vue":()=>__vitePreload(()=>import("./index-8ef104cf.js"),["static/js/index-8ef104cf.js","static/js/hook-70100432.js","static/js/form.vue_vue_type_script_setup_true_lang-a7e35271.js","static/js/system-b32e34d2.js","static/js/hooks-7e719396.js","static/js/refresh-ac0fe015.js","static/js/epTheme-ff3a171c.js","static/js/sortable.esm-e674cde8.js","static/js/hooks-2ea9b191.js","static/js/edit-pen-37b5ced2.js","static/js/search-cc37b371.js","static/js/menu-a4fe64fb.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-22e18281.css"]),"/src/views/system/role/utils/hook.tsx":()=>__vitePreload(()=>import("./hook-70100432.js"),["static/js/hook-70100432.js","static/js/form.vue_vue_type_script_setup_true_lang-a7e35271.js","static/js/system-b32e34d2.js","static/js/hooks-7e719396.js"]),"/src/views/system/user/hook.tsx":()=>__vitePreload(()=>import("./hook-b6edb070.js"),["static/js/hook-b6edb070.js","static/js/system-b32e34d2.js"]),"/src/views/system/user/index.vue":()=>__vitePreload(()=>import("./index-8ed7452d.js"),["static/js/index-8ed7452d.js","static/js/tree-686f8835.js","static/js/system-b32e34d2.js","static/js/hooks-2ea9b191.js","static/js/git-branch-line-aa4cb38f.js","static/js/search-cc37b371.js","static/js/more-2-fill-a666858a.js","static/js/office-building-cc7a1721.js","static/css/tree-d8d9615c.css","static/js/hook-b6edb070.js","static/js/refresh-ac0fe015.js","static/js/epTheme-ff3a171c.js","static/js/sortable.esm-e674cde8.js","static/js/admin-line-92b9acda.js","static/js/edit-pen-37b5ced2.js","static/js/add-circle-line-a03ff6bd.js","static/css/index-b98b5b2a.css"]),"/src/views/system/user/tree.vue":()=>__vitePreload(()=>import("./tree-686f8835.js"),["static/js/tree-686f8835.js","static/js/system-b32e34d2.js","static/js/hooks-2ea9b191.js","static/js/git-branch-line-aa4cb38f.js","static/js/search-cc37b371.js","static/js/more-2-fill-a666858a.js","static/js/office-building-cc7a1721.js","static/css/tree-d8d9615c.css"]),"/src/views/tabs/index.vue":()=>__vitePreload(()=>import("./index-500f8d5b.js"),["static/js/index-500f8d5b.js","static/js/hooks-bc14fdba.js"]),"/src/views/tabs/params-detail.vue":()=>__vitePreload(()=>import("./params-detail-0c1b9bac.js"),["static/js/params-detail-0c1b9bac.js","static/js/hooks-bc14fdba.js"]),"/src/views/tabs/query-detail.vue":()=>__vitePreload(()=>import("./query-detail-6cfba70f.js"),["static/js/query-detail-6cfba70f.js","static/js/hooks-bc14fdba.js"]),"/src/views/welcome/components/Bar.vue":()=>__vitePreload(()=>import("./Bar-5dd280ac.js"),["static/js/Bar-5dd280ac.js","static/js/Bar.vue_vue_type_script_setup_true_lang-f681038a.js","static/js/app-246d46a6.js"]),"/src/views/welcome/components/Github.vue":()=>__vitePreload(()=>import("./Github-e3136640.js"),["static/js/Github-e3136640.js","static/js/Github.vue_vue_type_script_setup_true_lang-524b5d97.js","static/js/columns-e229e9c2.js","static/js/index-6393607f.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/welcome/components/Line.vue":()=>__vitePreload(()=>import("./Line-96b5493d.js"),["static/js/Line-96b5493d.js","static/js/Line.vue_vue_type_script_setup_true_lang-4df5663e.js","static/js/app-246d46a6.js"]),"/src/views/welcome/components/Pie.vue":()=>__vitePreload(()=>import("./Pie-3793eb0d.js"),["static/js/Pie-3793eb0d.js","static/js/Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js","static/js/app-246d46a6.js"]),"/src/views/welcome/components/columns.tsx":()=>__vitePreload(()=>import("./columns-e229e9c2.js"),["static/js/columns-e229e9c2.js","static/js/index-6393607f.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js"]),"/src/views/welcome/index.vue":()=>__vitePreload(()=>import("./index-c35013cb.js"),["static/js/index-c35013cb.js","static/js/Bar.vue_vue_type_script_setup_true_lang-f681038a.js","static/js/app-246d46a6.js","static/js/Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js","static/js/Line.vue_vue_type_script_setup_true_lang-4df5663e.js","static/js/list-b5711b9c.js","static/js/index-6393607f.js","static/js/Github.vue_vue_type_script_setup_true_lang-524b5d97.js","static/js/columns-e229e9c2.js","static/js/office-building-cc7a1721.js","static/js/iphone-bcaa848c.js","static/js/user-3-fill-70ba8c19.js","static/js/index-a8afb2c0.js","static/css/index-18417f34.css","static/css/index-f927fe6c.css"])});function handRank(oe){const{name:ie,path:le,parentId:ue,meta:de}=oe;return N(ue)?!!(N(de==null?void 0:de.rank)||(de==null?void 0:de.rank)===0&&ie!=="Home"&&le!=="/"):!1}function ascending(oe){return oe.forEach((ie,le)=>{handRank(ie)&&(ie.meta.rank=le+2)}),oe.sort((ie,le)=>(ie==null?void 0:ie.meta.rank)-(le==null?void 0:le.meta.rank))}function filterTree(oe){const ie=en(oe).filter(le=>{var ue;return((ue=le.meta)==null?void 0:ue.showLink)!==!1});return ie.forEach(le=>le.children&&(le.children=filterTree(le.children))),ie}function filterChildrenTree(oe){const ie=en(oe).filter(le=>{var ue;return((ue=le==null?void 0:le.children)==null?void 0:ue.length)!==0});return ie.forEach(le=>le.children&&(le.children=filterTree(le.children))),ie}function isOneOfArray(oe,ie){return Array.isArray(oe)&&Array.isArray(ie)?Tr(oe,ie).length>0:!0}function filterNoPermissionTree(oe){var ue;const ie=((ue=nr().getItem(sessionKey))==null?void 0:ue.roles)??[],le=en(oe).filter(de=>{var pe;return isOneOfArray((pe=de.meta)==null?void 0:pe.roles,ie)});return le.forEach(de=>de.children&&(de.children=filterNoPermissionTree(de.children))),filterChildrenTree(le)}function getParentPaths(oe,ie,le="path"){function ue(de,pe,he){for(let _e=0;_eue.path==oe);if(le)return isProxy(le)?toRaw(le):le;for(let ue=0;ue0&&(le=findRouteByPath(oe,ie[ue].children),le))return isProxy(le)?toRaw(le):le;return null}function addPathMatch(){router.hasRoute("pathMatch")||router.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function handleAsyncRoutes(oe){oe.length===0||formatFlatteningRoutes(addAsyncRoutes(oe)).map(ie=>{if(router.options.routes[0].children.findIndex(le=>le.path===ie.path)===-1){router.options.routes[0].children.push(ie),ascending(router.options.routes[0].children),router.hasRoute(ie==null?void 0:ie.name)||router.addRoute(ie);const le=router.getRoutes().find(ue=>ue.path==="/");router.addRoute(le)}}),usePermissionStoreHook().handleWholeMenus(oe),addPathMatch()}function initRouter(){var oe;if((oe=getConfig())!=null&&oe.CachingAsyncRoutes){const ie="async-routes",le=nr().getItem(ie);return le&&(le==null?void 0:le.length)>0?new Promise(ue=>{handleAsyncRoutes(le),ue(router)}):new Promise(ue=>{getAsyncRoutes().then(({data:de})=>{handleAsyncRoutes(en(de)),nr().setItem(ie,de),ue(router)})})}else return new Promise(ie=>{getAsyncRoutes().then(({data:le})=>{handleAsyncRoutes(en(le)),ie(router)})})}function formatFlatteningRoutes(oe){if(oe.length===0)return oe;let ie=buildHierarchyTree(oe);for(let le=0;le{var ue;le.path==="/"?ie.push({component:le.component,name:le.name,path:le.path,redirect:le.redirect,meta:le.meta,children:[]}):(ue=ie[0])==null||ue.children.push({...le})}),ie}function handleAliveRoute({name:oe},ie){switch(ie){case"add":usePermissionStoreHook().cacheOperate({mode:"add",name:oe});break;case"delete":usePermissionStoreHook().cacheOperate({mode:"delete",name:oe});break;case"refresh":usePermissionStoreHook().cacheOperate({mode:"refresh",name:oe});break;default:usePermissionStoreHook().cacheOperate({mode:"delete",name:oe}),useTimeoutFn(()=>{usePermissionStoreHook().cacheOperate({mode:"add",name:oe})},100)}}function addAsyncRoutes(oe){if(!oe||!oe.length)return;const ie=Object.keys(modulesRoutes);return oe.forEach(le=>{var ue;if(le.meta.backstage=!0,le!=null&&le.children&&le.children.length&&!le.redirect&&(le.redirect=le.children[0].path),le!=null&&le.children&&le.children.length&&!le.name&&(le.name=le.children[0].name+"Parent"),(ue=le.meta)!=null&&ue.frameSrc)le.component=IFrame;else{const de=le!=null&&le.component?ie.findIndex(pe=>pe.includes(le.component)):ie.findIndex(pe=>pe.includes(le.path));le.component=modulesRoutes[ie[de]]}le!=null&&le.children&&le.children.length&&addAsyncRoutes(le.children)}),oe}function getHistoryMode(oe){const ie=oe.split(","),le=ie[0],ue=ie[1];if(ie.length===1){if(le==="hash")return createWebHashHistory("");if(le==="h5")return createWebHistory("")}else if(ie.length===2){if(le==="hash")return createWebHashHistory(ue);if(le==="h5")return createWebHistory(ue)}}function getAuths(){return router.currentRoute.value.meta.auths}function hasAuth(oe){if(!oe)return!1;const ie=getAuths();return ie?!!(A(oe)?ie.includes(oe):Er(oe,ie)):!1}function getTopMenu(oe=!1){var le;const ie=(le=usePermissionStoreHook().wholeMenus[0])==null?void 0:le.children[0];return oe&&useMultiTagsStoreHook().handleTags("push",ie),ie}const usePermissionStore=defineStore({id:"pure-permission",state:()=>({constantMenus,wholeMenus:[],cachePageList:[]}),actions:{handleWholeMenus(oe){this.wholeMenus=filterNoPermissionTree(filterTree(ascending(this.constantMenus.concat(oe))))},cacheOperate({mode:oe,name:ie}){const le=this.cachePageList.findIndex(ue=>ue===ie);switch(oe){case"refresh":this.cachePageList=this.cachePageList.filter(ue=>ue!==ie);break;case"add":this.cachePageList.push(ie);break;case"delete":le!==-1&&this.cachePageList.splice(le,1);break}vt(()=>{let ue=this.cachePageList.length;const de=Mr(useMultiTagsStoreHook().multiTags,"name");for(;ue>0;)de.findIndex(pe=>pe===this.cachePageList[ue-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[ue-1]),1),ue--})()},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function usePermissionStoreHook(){return usePermissionStore(store)}const Layout=()=>__vitePreload(()=>import("./index-89e931c0.js"),["static/js/index-89e931c0.js","static/js/menu-a4fe64fb.js","static/js/set-up-e6942411.js","static/js/home-filled-05cc090c.js","static/js/admin-line-92b9acda.js","static/js/git-branch-line-aa4cb38f.js","static/js/dark-6ca62a74.js","static/js/epTheme-ff3a171c.js","static/js/app-246d46a6.js","static/js/index-d5731855.js","static/js/hooks-2ea9b191.js","static/js/search-cc37b371.js","static/js/check-3815600c.js","static/js/refresh-right-6177e75c.js","static/js/arrow-right-s-line-2977cc7e.js","static/js/back_top-58cf79de.js","static/css/index-a3451fa4.css"]),remainingRouter=[{path:"/login",name:"Login",component:()=>__vitePreload(()=>import("./index-a7e6eb22.js"),["static/js/index-a7e6eb22.js","static/js/motion-c3b5429c.js","static/js/verifyCode-3d75d9a0.js","static/js/phone.vue_vue_type_script_setup_true_lang-8ba64388.js","static/js/hooks-2ea9b191.js","static/js/iphone-bcaa848c.js","static/js/index-6393607f.js","static/js/qrCode.vue_vue_type_script_setup_true_lang-fef89734.js","static/js/index-afca5026.js","static/js/propTypes-03d1d3a5.js","static/js/refresh-right-6177e75c.js","static/css/index-1a1bea52.css","static/js/regist.vue_vue_type_script_setup_true_lang-91f1bfc3.js","static/js/lock-fill-34b71c6c.js","static/js/user-3-fill-70ba8c19.js","static/js/update.vue_vue_type_script_setup_true_lang-9a96c023.js","static/js/dark-6ca62a74.js","static/js/epTheme-ff3a171c.js","static/js/app-246d46a6.js","static/js/check-3815600c.js","static/css/index-90a3ebb5.css"]),meta:{title:$t("menus.hslogin"),showLink:!1,rank:101}},{path:"/redirect",component:Layout,meta:{title:$t("status.hsLoad"),showLink:!1,rank:102},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>__vitePreload(()=>import("./redirect-eff42436.js"),[])}]},{path:"/empty",name:"Empty",component:()=>__vitePreload(()=>import("./index-f21835af.js"),["static/js/index-f21835af.js","static/css/index-18755a0a.css"]),meta:{title:$t("menus.hsempty"),showLink:!1,rank:103}}],modules$1=Object.assign({"./modules/able.ts":__vite_glob_0_0$1,"./modules/about.ts":__vite_glob_0_1$1,"./modules/components.ts":__vite_glob_0_2$1,"./modules/editor.ts":__vite_glob_0_3$1,"./modules/error.ts":__vite_glob_0_4$1,"./modules/flowchart.ts":__vite_glob_0_5$1,"./modules/formdesign.ts":__vite_glob_0_6,"./modules/guide.ts":__vite_glob_0_7,"./modules/home.ts":__vite_glob_0_8,"./modules/list.ts":__vite_glob_0_9,"./modules/menuoverflow.ts":__vite_glob_0_10,"./modules/nested.ts":__vite_glob_0_11,"./modules/ppt.ts":__vite_glob_0_12,"./modules/puredoc.ts":__vite_glob_0_13,"./modules/pureutils.ts":__vite_glob_0_14,"./modules/result.ts":__vite_glob_0_15,"./modules/table.ts":__vite_glob_0_16}),routes=[];Object.keys(modules$1).forEach(oe=>{routes.push(modules$1[oe].default)});const constantRoutes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))),constantMenus=ascending(routes.flat(1/0)).concat(...remainingRouter),remainingPaths=Object.keys(remainingRouter).map(oe=>remainingRouter[oe].path),router=createRouter({history:getHistoryMode("hash"),routes:constantRoutes.concat(...remainingRouter),strict:!0,scrollBehavior(oe,ie,le){return new Promise(ue=>{if(le)return le;if(ie.meta.saveSrollTop){const de=document.documentElement.scrollTop||document.body.scrollTop;ue({left:0,top:de})}})}});function resetRouter(){router.getRoutes().forEach(oe=>{const{name:ie,meta:le}=oe;ie&&router.hasRoute(ie)&&(le!=null&&le.backstage)&&(router.removeRoute(ie),router.options.routes=formatTwoStageRoutes(formatFlatteningRoutes(buildHierarchyTree(ascending(routes.flat(1/0))))))}),usePermissionStoreHook().clearAllCachePage()}const whiteList=["/login"],{VITE_HIDE_HOME}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};router.beforeEach((oe,ie,le)=>{var he,_e,$e;(he=oe.meta)!=null&&he.keepAlive&&(handleAliveRoute(oe,"add"),(ie.name===void 0||ie.name==="Redirect")&&handleAliveRoute(oe));const ue=nr().getItem(sessionKey);NProgress.start();const de=gt(oe==null?void 0:oe.name);de||oe.matched.some(Ie=>{if(!Ie.meta.title)return"";const Ve=getConfig().Title;Ve?document.title=`${transformI18n(Ie.meta.title)} | ${Ve}`:document.title=transformI18n(Ie.meta.title)});function pe(){whiteList.includes(oe.fullPath)?le(ie.fullPath):le()}ue?((_e=oe.meta)!=null&&_e.roles&&!isOneOfArray(($e=oe.meta)==null?void 0:$e.roles,ue==null?void 0:ue.roles)&&le({path:"/error/403"}),VITE_HIDE_HOME==="true"&&oe.fullPath==="/welcome"&&le({path:"/error/404"}),ie!=null&&ie.name?de?(Mt(oe==null?void 0:oe.name),NProgress.done()):pe():(usePermissionStoreHook().wholeMenus.length===0&&oe.path!=="/login"&&initRouter().then(Ie=>{var Ve,Fe;if(!useMultiTagsStoreHook().getMultiTagsCache){const{path:Ue}=oe,qe=findRouteByPath(Ue,Ie.options.routes[0].children);if(getTopMenu(!0),qe&&((Ve=qe.meta)!=null&&Ve.title))if(N(qe.parentId)&&((Fe=qe.meta)!=null&&Fe.backstage)){const{path:Et,name:At,meta:Lt}=qe.children[0];useMultiTagsStoreHook().handleTags("push",{path:Et,name:At,meta:Lt})}else{const{path:Et,name:At,meta:Lt}=qe;useMultiTagsStoreHook().handleTags("push",{path:Et,name:At,meta:Lt})}}N(oe.name)&&Ie.push(oe.fullPath)}),pe())):oe.path!=="/login"?whiteList.indexOf(oe.path)!==-1?le():le({path:"/login"}):le()});router.afterEach(()=>{NProgress.done()});function isObject$4(oe){return oe!==null&&typeof oe=="object"}function _defu(oe,ie,le=".",ue){if(!isObject$4(ie))return _defu(oe,{},le,ue);const de=Object.assign({},ie);for(const pe in oe){if(pe==="__proto__"||pe==="constructor")continue;const he=oe[pe];he!=null&&(ue&&ue(de,pe,he,le)||(Array.isArray(he)&&Array.isArray(de[pe])?de[pe]=[...he,...de[pe]]:isObject$4(he)&&isObject$4(de[pe])?de[pe]=_defu(he,de[pe],(le?`${le}.`:"")+pe.toString(),ue):de[pe]=he))}return de}function createDefu(oe){return(...ie)=>ie.reduce((le,ue)=>_defu(le,ue,"",oe),{})}const defu=createDefu(),defaultTimestep=1/60*1e3,getCurrentTime=typeof performance<"u"?()=>performance.now():()=>Date.now(),onNextFrame=typeof window<"u"?oe=>window.requestAnimationFrame(oe):oe=>setTimeout(()=>oe(getCurrentTime()),defaultTimestep);function createRenderStep(oe){let ie=[],le=[],ue=0,de=!1,pe=!1;const he=new WeakSet,_e={schedule:($e,Ie=!1,Ve=!1)=>{const Fe=Ve&&de,Ue=Fe?ie:le;return Ie&&he.add($e),Ue.indexOf($e)===-1&&(Ue.push($e),Fe&&de&&(ue=ie.length)),$e},cancel:$e=>{const Ie=le.indexOf($e);Ie!==-1&&le.splice(Ie,1),he.delete($e)},process:$e=>{if(de){pe=!0;return}if(de=!0,[ie,le]=[le,ie],le.length=0,ue=ie.length,ue)for(let Ie=0;Ie(oe[ie]=createRenderStep(()=>runNextFrame=!0),oe),{}),sync=stepsOrder.reduce((oe,ie)=>{const le=steps[ie];return oe[ie]=(ue,de=!1,pe=!1)=>(runNextFrame||startLoop(),le.schedule(ue,de,pe)),oe},{}),cancelSync=stepsOrder.reduce((oe,ie)=>(oe[ie]=steps[ie].cancel,oe),{});stepsOrder.reduce((oe,ie)=>(oe[ie]=()=>steps[ie].process(frame),oe),{});const processStep=oe=>steps[oe].process(frame),processFrame=oe=>{runNextFrame=!1,frame.delta=useDefaultElapsed?defaultTimestep:Math.max(Math.min(oe-frame.timestamp,maxElapsed),1),frame.timestamp=oe,isProcessing=!0,stepsOrder.forEach(processStep),isProcessing=!1,runNextFrame&&(useDefaultElapsed=!1,onNextFrame(processFrame))},startLoop=()=>{runNextFrame=!0,useDefaultElapsed=!0,isProcessing||onNextFrame(processFrame)},getFrameData=()=>frame;function __rest(oe,ie){var le={};for(var ue in oe)Object.prototype.hasOwnProperty.call(oe,ue)&&ie.indexOf(ue)<0&&(le[ue]=oe[ue]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ue=Object.getOwnPropertySymbols(oe);deMath.min(Math.max(le,oe),ie),safeMin=.001,minDuration=.01,maxDuration=10,minDamping=.05,maxDamping=1;function findSpring({duration:oe=800,bounce:ie=.25,velocity:le=0,mass:ue=1}){let de,pe;warning(oe<=maxDuration*1e3);let he=1-ie;he=clamp$2(minDamping,maxDamping,he),oe=clamp$2(minDuration,maxDuration,oe/1e3),he<1?(de=Ie=>{const Ve=Ie*he,Fe=Ve*oe,Ue=Ve-le,qe=calcAngularFreq(Ie,he),Et=Math.exp(-Fe);return safeMin-Ue/qe*Et},pe=Ie=>{const Fe=Ie*he*oe,Ue=Fe*le+le,qe=Math.pow(he,2)*Math.pow(Ie,2)*oe,Et=Math.exp(-Fe),At=calcAngularFreq(Math.pow(Ie,2),he);return(-de(Ie)+safeMin>0?-1:1)*((Ue-qe)*Et)/At}):(de=Ie=>{const Ve=Math.exp(-Ie*oe),Fe=(Ie-le)*oe+1;return-safeMin+Ve*Fe},pe=Ie=>{const Ve=Math.exp(-Ie*oe),Fe=(le-Ie)*(oe*oe);return Ve*Fe});const _e=5/oe,$e=approximateRoot(de,pe,_e);if(oe=oe*1e3,isNaN($e))return{stiffness:100,damping:10,duration:oe};{const Ie=Math.pow($e,2)*ue;return{stiffness:Ie,damping:he*2*Math.sqrt(ue*Ie),duration:oe}}}const rootIterations=12;function approximateRoot(oe,ie,le){let ue=le;for(let de=1;deoe[le]!==void 0)}function getSpringOptions(oe){let ie=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},oe);if(!isSpringType(oe,physicsKeys)&&isSpringType(oe,durationKeys)){const le=findSpring(oe);ie=Object.assign(Object.assign(Object.assign({},ie),le),{velocity:0,mass:1}),ie.isResolvedFromDuration=!0}return ie}function spring(oe){var{from:ie=0,to:le=1,restSpeed:ue=2,restDelta:de}=oe,pe=__rest(oe,["from","to","restSpeed","restDelta"]);const he={done:!1,value:ie};let{stiffness:_e,damping:$e,mass:Ie,velocity:Ve,duration:Fe,isResolvedFromDuration:Ue}=getSpringOptions(pe),qe=zero,Et=zero;function At(){const Lt=Ve?-(Ve/1e3):0,hn=le-ie,vn=$e/(2*Math.sqrt(_e*Ie)),_n=Math.sqrt(_e/Ie)/1e3;if(de===void 0&&(de=Math.min(Math.abs(le-ie)/100,.4)),vn<1){const bn=calcAngularFreq(_n,vn);qe=Sn=>{const Cn=Math.exp(-vn*_n*Sn);return le-Cn*((Lt+vn*_n*hn)/bn*Math.sin(bn*Sn)+hn*Math.cos(bn*Sn))},Et=Sn=>{const Cn=Math.exp(-vn*_n*Sn);return vn*_n*Cn*(Math.sin(bn*Sn)*(Lt+vn*_n*hn)/bn+hn*Math.cos(bn*Sn))-Cn*(Math.cos(bn*Sn)*(Lt+vn*_n*hn)-bn*hn*Math.sin(bn*Sn))}}else if(vn===1)qe=bn=>le-Math.exp(-_n*bn)*(hn+(Lt+_n*hn)*bn);else{const bn=_n*Math.sqrt(vn*vn-1);qe=Sn=>{const Cn=Math.exp(-vn*_n*Sn),En=Math.min(bn*Sn,300);return le-Cn*((Lt+vn*_n*hn)*Math.sinh(En)+bn*hn*Math.cosh(En))/bn}}}return At(),{next:Lt=>{const hn=qe(Lt);if(Ue)he.done=Lt>=Fe;else{const vn=Et(Lt)*1e3,_n=Math.abs(vn)<=ue,bn=Math.abs(le-hn)<=de;he.done=_n&&bn}return he.value=he.done?le:hn,he},flipTarget:()=>{Ve=-Ve,[ie,le]=[le,ie],At()}}}spring.needsInterpolation=(oe,ie)=>typeof oe=="string"||typeof ie=="string";const zero=oe=>0,progress=(oe,ie,le)=>{const ue=ie-oe;return ue===0?1:(le-oe)/ue},mix=(oe,ie,le)=>-le*oe+le*ie+oe,clamp$1=(oe,ie)=>le=>Math.max(Math.min(le,ie),oe),sanitize=oe=>oe%1?Number(oe.toFixed(5)):oe,floatRegex=/(-)?([\d]*\.?[\d])+/g,colorRegex=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,singleColorRegex=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function isString$1(oe){return typeof oe=="string"}const number$1={test:oe=>typeof oe=="number",parse:parseFloat,transform:oe=>oe},alpha=Object.assign(Object.assign({},number$1),{transform:clamp$1(0,1)}),scale$3=Object.assign(Object.assign({},number$1),{default:1}),createUnitType=oe=>({test:ie=>isString$1(ie)&&ie.endsWith(oe)&&ie.split(" ").length===1,parse:parseFloat,transform:ie=>`${ie}${oe}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),progressPercentage=Object.assign(Object.assign({},percent),{parse:oe=>percent.parse(oe)/100,transform:oe=>percent.transform(oe*100)}),isColorString=(oe,ie)=>le=>!!(isString$1(le)&&singleColorRegex.test(le)&&le.startsWith(oe)||ie&&Object.prototype.hasOwnProperty.call(le,ie)),splitColor=(oe,ie,le)=>ue=>{if(!isString$1(ue))return ue;const[de,pe,he,_e]=ue.match(floatRegex);return{[oe]:parseFloat(de),[ie]:parseFloat(pe),[le]:parseFloat(he),alpha:_e!==void 0?parseFloat(_e):1}},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:oe,saturation:ie,lightness:le,alpha:ue=1})=>"hsla("+Math.round(oe)+", "+percent.transform(sanitize(ie))+", "+percent.transform(sanitize(le))+", "+sanitize(alpha.transform(ue))+")"},clampRgbUnit=clamp$1(0,255),rgbUnit=Object.assign(Object.assign({},number$1),{transform:oe=>Math.round(clampRgbUnit(oe))}),rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:oe,green:ie,blue:le,alpha:ue=1})=>"rgba("+rgbUnit.transform(oe)+", "+rgbUnit.transform(ie)+", "+rgbUnit.transform(le)+", "+sanitize(alpha.transform(ue))+")"};function parseHex(oe){let ie="",le="",ue="",de="";return oe.length>5?(ie=oe.substr(1,2),le=oe.substr(3,2),ue=oe.substr(5,2),de=oe.substr(7,2)):(ie=oe.substr(1,1),le=oe.substr(2,1),ue=oe.substr(3,1),de=oe.substr(4,1),ie+=ie,le+=le,ue+=ue,de+=de),{red:parseInt(ie,16),green:parseInt(le,16),blue:parseInt(ue,16),alpha:de?parseInt(de,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},color$1={test:oe=>rgba.test(oe)||hex.test(oe)||hsla.test(oe),parse:oe=>rgba.test(oe)?rgba.parse(oe):hsla.test(oe)?hsla.parse(oe):hex.parse(oe),transform:oe=>isString$1(oe)?oe:oe.hasOwnProperty("red")?rgba.transform(oe):hsla.transform(oe)},colorToken="${c}",numberToken="${n}";function test(oe){var ie,le,ue,de;return isNaN(oe)&&isString$1(oe)&&((le=(ie=oe.match(floatRegex))===null||ie===void 0?void 0:ie.length)!==null&&le!==void 0?le:0)+((de=(ue=oe.match(colorRegex))===null||ue===void 0?void 0:ue.length)!==null&&de!==void 0?de:0)>0}function analyse$1(oe){typeof oe=="number"&&(oe=`${oe}`);const ie=[];let le=0;const ue=oe.match(colorRegex);ue&&(le=ue.length,oe=oe.replace(colorRegex,colorToken),ie.push(...ue.map(color$1.parse)));const de=oe.match(floatRegex);return de&&(oe=oe.replace(floatRegex,numberToken),ie.push(...de.map(number$1.parse))),{values:ie,numColors:le,tokenised:oe}}function parse$2(oe){return analyse$1(oe).values}function createTransformer(oe){const{values:ie,numColors:le,tokenised:ue}=analyse$1(oe),de=ie.length;return pe=>{let he=ue;for(let _e=0;_etypeof oe=="number"?0:oe;function getAnimatableNone$1(oe){const ie=parse$2(oe);return createTransformer(oe)(ie.map(convertNumbersToZero))}const complex={test,parse:parse$2,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(oe){let[ie,le]=oe.slice(0,-1).split("(");if(ie==="drop-shadow")return oe;const[ue]=le.match(floatRegex)||[];if(!ue)return oe;const de=le.replace(ue,"");let pe=maxDefaults.has(ie)?1:0;return ue!==le&&(pe*=100),ie+"("+pe+de+")"}const functionRegex=/([a-z-]*)\(.*?\)/g,filter$1=Object.assign(Object.assign({},complex),{getAnimatableNone:oe=>{const ie=oe.match(functionRegex);return ie?ie.map(applyDefaultFilter).join(" "):oe}});function hueToRgb(oe,ie,le){return le<0&&(le+=1),le>1&&(le-=1),le<1/6?oe+(ie-oe)*6*le:le<1/2?ie:le<2/3?oe+(ie-oe)*(2/3-le)*6:oe}function hslaToRgba({hue:oe,saturation:ie,lightness:le,alpha:ue}){oe/=360,ie/=100,le/=100;let de=0,pe=0,he=0;if(!ie)de=pe=he=le;else{const _e=le<.5?le*(1+ie):le+ie-le*ie,$e=2*le-_e;de=hueToRgb($e,_e,oe+1/3),pe=hueToRgb($e,_e,oe),he=hueToRgb($e,_e,oe-1/3)}return{red:Math.round(de*255),green:Math.round(pe*255),blue:Math.round(he*255),alpha:ue}}const mixLinearColor=(oe,ie,le)=>{const ue=oe*oe,de=ie*ie;return Math.sqrt(Math.max(0,le*(de-ue)+ue))},colorTypes=[hex,rgba,hsla],getColorType=oe=>colorTypes.find(ie=>ie.test(oe)),mixColor=(oe,ie)=>{let le=getColorType(oe),ue=getColorType(ie),de=le.parse(oe),pe=ue.parse(ie);le===hsla&&(de=hslaToRgba(de),le=rgba),ue===hsla&&(pe=hslaToRgba(pe),ue=rgba);const he=Object.assign({},de);return _e=>{for(const $e in he)$e!=="alpha"&&(he[$e]=mixLinearColor(de[$e],pe[$e],_e));return he.alpha=mix(de.alpha,pe.alpha,_e),le.transform(he)}},isNum=oe=>typeof oe=="number",combineFunctions=(oe,ie)=>le=>ie(oe(le)),pipe=(...oe)=>oe.reduce(combineFunctions);function getMixer(oe,ie){return isNum(oe)?le=>mix(oe,ie,le):color$1.test(oe)?mixColor(oe,ie):mixComplex(oe,ie)}const mixArray=(oe,ie)=>{const le=[...oe],ue=le.length,de=oe.map((pe,he)=>getMixer(pe,ie[he]));return pe=>{for(let he=0;he{const le=Object.assign(Object.assign({},oe),ie),ue={};for(const de in le)oe[de]!==void 0&&ie[de]!==void 0&&(ue[de]=getMixer(oe[de],ie[de]));return de=>{for(const pe in ue)le[pe]=ue[pe](de);return le}};function analyse(oe){const ie=complex.parse(oe),le=ie.length;let ue=0,de=0,pe=0;for(let he=0;he{const le=complex.createTransformer(ie),ue=analyse(oe),de=analyse(ie);return ue.numHSL===de.numHSL&&ue.numRGB===de.numRGB&&ue.numNumbers>=de.numNumbers?pipe(mixArray(ue.parsed,de.parsed),le):he=>`${he>0?ie:oe}`},mixNumber=(oe,ie)=>le=>mix(oe,ie,le);function detectMixerFactory(oe){if(typeof oe=="number")return mixNumber;if(typeof oe=="string")return color$1.test(oe)?mixColor:mixComplex;if(Array.isArray(oe))return mixArray;if(typeof oe=="object")return mixObject}function createMixers(oe,ie,le){const ue=[],de=le||detectMixerFactory(oe[0]),pe=oe.length-1;for(let he=0;hele(progress(oe,ie,ue))}function slowInterpolate(oe,ie){const le=oe.length,ue=le-1;return de=>{let pe=0,he=!1;if(de<=oe[0]?he=!0:de>=oe[ue]&&(pe=ue-1,he=!0),!he){let $e=1;for(;$ede||$e===ue);$e++);pe=$e-1}const _e=progress(oe[pe],oe[pe+1],de);return ie[pe](_e)}}function interpolate(oe,ie,{clamp:le=!0,ease:ue,mixer:de}={}){const pe=oe.length;invariant(pe===ie.length),invariant(!ue||!Array.isArray(ue)||ue.length===pe-1),oe[0]>oe[pe-1]&&(oe=[].concat(oe),ie=[].concat(ie),oe.reverse(),ie.reverse());const he=createMixers(ie,ue,de),_e=pe===2?fastInterpolate(oe,he):slowInterpolate(oe,he);return le?$e=>_e(clamp$2(oe[0],oe[pe-1],$e)):_e}const reverseEasing=oe=>ie=>1-oe(1-ie),mirrorEasing=oe=>ie=>ie<=.5?oe(2*ie)/2:(2-oe(2*(1-ie)))/2,createExpoIn=oe=>ie=>Math.pow(ie,oe),createBackIn=oe=>ie=>ie*ie*((oe+1)*ie-oe),createAnticipate=oe=>{const ie=createBackIn(oe);return le=>(le*=2)<1?.5*ie(le):.5*(2-Math.pow(2,-10*(le-1)))},DEFAULT_OVERSHOOT_STRENGTH=1.525,BOUNCE_FIRST_THRESHOLD=4/11,BOUNCE_SECOND_THRESHOLD=8/11,BOUNCE_THIRD_THRESHOLD=9/10,linear=oe=>oe,easeIn=createExpoIn(2),easeOut=reverseEasing(easeIn),easeInOut=mirrorEasing(easeIn),circIn=oe=>1-Math.sin(Math.acos(oe)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circOut),backIn=createBackIn(DEFAULT_OVERSHOOT_STRENGTH),backOut=reverseEasing(backIn),backInOut=mirrorEasing(backIn),anticipate=createAnticipate(DEFAULT_OVERSHOOT_STRENGTH),ca=4356/361,cb=35442/1805,cc=16061/1805,bounceOut=oe=>{if(oe===1||oe===0)return oe;const ie=oe*oe;return oeoe<.5?.5*(1-bounceOut(1-oe*2)):.5*bounceOut(oe*2-1)+.5;function defaultEasing(oe,ie){return oe.map(()=>ie||easeInOut).splice(0,oe.length-1)}function defaultOffset(oe){const ie=oe.length;return oe.map((le,ue)=>ue!==0?ue/(ie-1):0)}function convertOffsetToTimes(oe,ie){return oe.map(le=>le*ie)}function keyframes$1({from:oe=0,to:ie=1,ease:le,offset:ue,duration:de=300}){const pe={done:!1,value:oe},he=Array.isArray(ie)?ie:[oe,ie],_e=convertOffsetToTimes(ue&&ue.length===he.length?ue:defaultOffset(he),de);function $e(){return interpolate(_e,he,{ease:Array.isArray(le)?le:defaultEasing(he,le)})}let Ie=$e();return{next:Ve=>(pe.value=Ie(Ve),pe.done=Ve>=de,pe),flipTarget:()=>{he.reverse(),Ie=$e()}}}function decay({velocity:oe=0,from:ie=0,power:le=.8,timeConstant:ue=350,restDelta:de=.5,modifyTarget:pe}){const he={done:!1,value:ie};let _e=le*oe;const $e=ie+_e,Ie=pe===void 0?$e:pe($e);return Ie!==$e&&(_e=Ie-ie),{next:Ve=>{const Fe=-_e*Math.exp(-Ve/ue);return he.done=!(Fe>de||Fe<-de),he.value=he.done?Ie:Ie+Fe,he},flipTarget:()=>{}}}const types={keyframes:keyframes$1,spring,decay};function detectAnimationFromOptions(oe){if(Array.isArray(oe.to))return keyframes$1;if(types[oe.type])return types[oe.type];const ie=new Set(Object.keys(oe));return ie.has("ease")||ie.has("duration")&&!ie.has("dampingRatio")?keyframes$1:ie.has("dampingRatio")||ie.has("stiffness")||ie.has("mass")||ie.has("damping")||ie.has("restSpeed")||ie.has("restDelta")?spring:keyframes$1}function loopElapsed(oe,ie,le=0){return oe-ie-le}function reverseElapsed(oe,ie,le=0,ue=!0){return ue?loopElapsed(ie+-oe,ie,le):ie-(oe-ie)+le}function hasRepeatDelayElapsed(oe,ie,le,ue){return ue?oe>=ie+le:oe<=-le}const framesync=oe=>{const ie=({delta:le})=>oe(le);return{start:()=>sync.update(ie,!0),stop:()=>cancelSync.update(ie)}};function animate(oe){var ie,le,{from:ue,autoplay:de=!0,driver:pe=framesync,elapsed:he=0,repeat:_e=0,repeatType:$e="loop",repeatDelay:Ie=0,onPlay:Ve,onStop:Fe,onComplete:Ue,onRepeat:qe,onUpdate:Et}=oe,At=__rest(oe,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:Lt}=At,hn,vn=0,_n=At.duration,bn,Sn=!1,Cn=!0,En;const $n=detectAnimationFromOptions(At);!((le=(ie=$n).needsInterpolation)===null||le===void 0)&&le.call(ie,ue,Lt)&&(En=interpolate([0,100],[ue,Lt],{clamp:!1}),ue=0,Lt=100);const wn=$n(Object.assign(Object.assign({},At),{from:ue,to:Lt}));function Pn(){vn++,$e==="reverse"?(Cn=vn%2===0,he=reverseElapsed(he,_n,Ie,Cn)):(he=loopElapsed(he,_n,Ie),$e==="mirror"&&wn.flipTarget()),Sn=!1,qe&&qe()}function xn(){hn.stop(),Ue&&Ue()}function An(In){if(Cn||(In=-In),he+=In,!Sn){const Fn=wn.next(Math.max(0,he));bn=Fn.value,En&&(bn=En(bn)),Sn=Cn?Fn.done:he<=0}Et==null||Et(bn),Sn&&(vn===0&&(_n??(_n=he)),vn<_e?hasRepeatDelayElapsed(he,_n,Ie,Cn)&&Pn():xn())}function On(){Ve==null||Ve(),hn=pe(An),hn.start()}return de&&On(),{stop:()=>{Fe==null||Fe(),hn.stop()}}}function velocityPerSecond(oe,ie){return ie?oe*(1e3/ie):0}function inertia({from:oe=0,velocity:ie=0,min:le,max:ue,power:de=.8,timeConstant:pe=750,bounceStiffness:he=500,bounceDamping:_e=10,restDelta:$e=1,modifyTarget:Ie,driver:Ve,onUpdate:Fe,onComplete:Ue,onStop:qe}){let Et;function At(_n){return le!==void 0&&_nue}function Lt(_n){return le===void 0?ue:ue===void 0||Math.abs(le-_n){var Sn;Fe==null||Fe(bn),(Sn=_n.onUpdate)===null||Sn===void 0||Sn.call(_n,bn)},onComplete:Ue,onStop:qe}))}function vn(_n){hn(Object.assign({type:"spring",stiffness:he,damping:_e,restDelta:$e},_n))}if(At(oe))vn({from:oe,velocity:ie,to:Lt(oe)});else{let _n=de*ie+oe;typeof Ie<"u"&&(_n=Ie(_n));const bn=Lt(_n),Sn=bn===le?-1:1;let Cn,En;const $n=wn=>{Cn=En,En=wn,ie=velocityPerSecond(wn-Cn,getFrameData().delta),(Sn===1&&wn>bn||Sn===-1&&wnEt==null?void 0:Et.stop()}}const a=(oe,ie)=>1-3*ie+3*oe,b=(oe,ie)=>3*ie-6*oe,c$1=oe=>3*oe,calcBezier=(oe,ie,le)=>((a(ie,le)*oe+b(ie,le))*oe+c$1(ie))*oe,getSlope=(oe,ie,le)=>3*a(ie,le)*oe*oe+2*b(ie,le)*oe+c$1(ie),subdivisionPrecision=1e-7,subdivisionMaxIterations=10;function binarySubdivide(oe,ie,le,ue,de){let pe,he,_e=0;do he=ie+(le-ie)/2,pe=calcBezier(he,ue,de)-oe,pe>0?le=he:ie=he;while(Math.abs(pe)>subdivisionPrecision&&++_e=newtonMinSlope?newtonRaphsonIterate(he,Fe,oe,le):Ue===0?Fe:binarySubdivide(he,_e,_e+kSampleStepSize,oe,le)}return he=>he===0||he===1?he:calcBezier(pe(he),ie,ue)}const motionState={};class SubscriptionManager{constructor(){this.subscriptions=new Set}add(ie){return this.subscriptions.add(ie),()=>this.subscriptions.delete(ie)}notify(ie,le,ue){if(this.subscriptions.size)for(const de of this.subscriptions)de(ie,le,ue)}clear(){this.subscriptions.clear()}}function isFloat(oe){return!isNaN(parseFloat(oe))}class MotionValue{constructor(ie){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new SubscriptionManager,this.canTrackVelocity=!1,this.updateAndNotify=le=>{this.prev=this.current,this.current=le;const{delta:ue,timestamp:de}=getFrameData();this.lastUpdated!==de&&(this.timeDelta=ue,this.lastUpdated=de),sync.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>sync.postRender(this.velocityCheck),this.velocityCheck=({timestamp:le})=>{this.canTrackVelocity||(this.canTrackVelocity=isFloat(this.current)),le!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=ie,this.canTrackVelocity=isFloat(this.current)}onChange(ie){return this.updateSubscribers.add(ie)}clearListeners(){this.updateSubscribers.clear()}set(ie){this.updateAndNotify(ie)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?velocityPerSecond(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(ie){return this.stop(),new Promise(le=>{const{stop:ue}=ie(le);this.stopAnimation=ue}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function getMotionValue(oe){return new MotionValue(oe)}const{isArray:isArray$2}=Array;function useMotionValues(){const oe=ref({}),ie=ue=>{const de=pe=>{oe.value[pe]&&(oe.value[pe].stop(),oe.value[pe].destroy(),delete oe.value[pe])};ue?isArray$2(ue)?ue.forEach(de):de(ue):Object.keys(oe.value).forEach(de)},le=(ue,de,pe)=>{if(oe.value[ue])return oe.value[ue];const he=getMotionValue(de);return he.onChange(_e=>pe[ue]=_e),oe.value[ue]=he,he};return tryOnUnmounted(ie),{motionValues:oe,get:le,stop:ie}}function isKeyframesTarget(oe){return Array.isArray(oe)}function underDampedSpring(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function criticallyDampedSpring(oe){return{type:"spring",stiffness:550,damping:oe===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function overDampedSpring(oe){return{type:"spring",stiffness:550,damping:oe===0?100:30,restDelta:.01,restSpeed:10}}function linearTween(){return{type:"keyframes",ease:"linear",duration:300}}function keyframes(oe){return{type:"keyframes",duration:800,values:oe}}const defaultTransitions={default:overDampedSpring,x:underDampedSpring,y:underDampedSpring,z:underDampedSpring,rotate:underDampedSpring,rotateX:underDampedSpring,rotateY:underDampedSpring,rotateZ:underDampedSpring,scaleX:criticallyDampedSpring,scaleY:criticallyDampedSpring,scale:criticallyDampedSpring,backgroundColor:linearTween,color:linearTween,opacity:linearTween};function getDefaultTransition(oe,ie){let le;return isKeyframesTarget(ie)?le=keyframes:le=defaultTransitions[oe]||defaultTransitions.default,{to:ie,...le(ie)}}const int={...number$1,transform:Math.round},valueTypes={color:color$1,backgroundColor:color$1,outlineColor:color$1,fill:color$1,stroke:color$1,borderColor:color$1,borderTopColor:color$1,borderRightColor:color$1,borderBottomColor:color$1,borderLeftColor:color$1,borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,radius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,size:px,top:px,right:px,bottom:px,left:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale:scale$3,scaleX:scale$3,scaleY:scale$3,scaleZ:scale$3,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha,originX:progressPercentage,originY:progressPercentage,originZ:px,zIndex:int,filter:filter$1,WebkitFilter:filter$1,fillOpacity:alpha,strokeOpacity:alpha,numOctaves:int},getValueType=oe=>valueTypes[oe];function getValueAsType(oe,ie){return ie&&typeof oe=="number"&&ie.transform?ie.transform(oe):oe}function getAnimatableNone(oe,ie){let le=getValueType(oe);return le!==filter$1&&(le=complex),le.getAnimatableNone?le.getAnimatableNone(ie):void 0}const easingLookup={linear,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate,bounceIn,bounceInOut,bounceOut};function easingDefinitionToFunction(oe){if(Array.isArray(oe)){const[ie,le,ue,de]=oe;return cubicBezier(ie,le,ue,de)}else if(typeof oe=="string")return easingLookup[oe];return oe}function isEasingArray(oe){return Array.isArray(oe)&&typeof oe[0]!="number"}function isAnimatable(oe,ie){return oe==="zIndex"?!1:!!(typeof ie=="number"||Array.isArray(ie)||typeof ie=="string"&&complex.test(ie)&&!ie.startsWith("url("))}function hydrateKeyframes(oe){return Array.isArray(oe.to)&&oe.to[0]===null&&(oe.to=[...oe.to],oe.to[0]=oe.from),oe}function convertTransitionToAnimationOptions({ease:oe,times:ie,delay:le,...ue}){const de={...ue};return ie&&(de.offset=ie),oe&&(de.ease=isEasingArray(oe)?oe.map(easingDefinitionToFunction):easingDefinitionToFunction(oe)),le&&(de.elapsed=-le),de}function getPopmotionAnimationOptions(oe,ie,le){return Array.isArray(ie.to)&&(oe.duration||(oe.duration=800)),hydrateKeyframes(ie),isTransitionDefined(oe)||(oe={...oe,...getDefaultTransition(le,ie.to)}),{...ie,...convertTransitionToAnimationOptions(oe)}}function isTransitionDefined({delay:oe,repeat:ie,repeatType:le,repeatDelay:ue,from:de,...pe}){return!!Object.keys(pe).length}function getValueTransition(oe,ie){return oe[ie]||oe.default||oe}function getAnimation(oe,ie,le,ue,de){const pe=getValueTransition(ue,oe);let he=pe.from===null||pe.from===void 0?ie.get():pe.from;const _e=isAnimatable(oe,le);he==="none"&&_e&&typeof le=="string"&&(he=getAnimatableNone(oe,le));const $e=isAnimatable(oe,he);function Ie(Fe){const Ue={from:he,to:le,velocity:ue.velocity?ue.velocity:ie.getVelocity(),onUpdate:qe=>ie.set(qe)};return pe.type==="inertia"||pe.type==="decay"?inertia({...Ue,...pe}):animate({...getPopmotionAnimationOptions(pe,Ue,oe),onUpdate:qe=>{Ue.onUpdate(qe),pe.onUpdate&&pe.onUpdate(qe)},onComplete:()=>{ue.onComplete&&ue.onComplete(),de&&de(),Fe&&Fe()}})}function Ve(Fe){return ie.set(le),ue.onComplete&&ue.onComplete(),de&&de(),Fe&&Fe(),{stop:()=>{}}}return!$e||!_e||pe.type===!1?Ve:Ie}function useMotionTransitions(){const{motionValues:oe,stop:ie,get:le}=useMotionValues();return{motionValues:oe,stop:ie,push:(de,pe,he,_e={},$e)=>{const Ie=he[de],Ve=le(de,Ie,he);if(_e&&_e.immediate){Ve.set(pe);return}const Fe=getAnimation(de,Ve,pe,_e,$e);Ve.start(Fe)}}}function useMotionControls(oe,ie={},{motionValues:le,push:ue,stop:de}=useMotionTransitions()){const pe=unref(ie),he=ref(!1);watch(le,Fe=>{he.value=Object.values(Fe).filter(Ue=>Ue.isAnimating()).length>0},{immediate:!0,deep:!0});const _e=Fe=>{if(!pe||!pe[Fe])throw new Error(`The variant ${Fe} does not exist.`);return pe[Fe]},$e=Fe=>(typeof Fe=="string"&&(Fe=_e(Fe)),Promise.all(Object.entries(Fe).map(([Ue,qe])=>{if(Ue!=="transition")return new Promise(Et=>ue(Ue,qe,oe,Fe.transition||getDefaultTransition(Ue,Fe[Ue]),Et))}).filter(Boolean)));return{isAnimating:he,apply:$e,set:Fe=>{const Ue=isObject$7(Fe)?Fe:_e(Fe);Object.entries(Ue).forEach(([qe,Et])=>{qe!=="transition"&&ue(qe,Et,oe,{immediate:!0})})},leave:async Fe=>{let Ue;if(pe&&(pe.leave&&(Ue=pe.leave),!pe.leave&&pe.initial&&(Ue=pe.initial)),!Ue){Fe();return}await $e(Ue),Fe()},stop:de}}const isBrowser=typeof window<"u",supportsPointerEvents=()=>isBrowser&&window.onpointerdown===null,supportsTouchEvents=()=>isBrowser&&window.ontouchstart===null,supportsMouseEvents=()=>isBrowser&&window.onmousedown===null;function registerEventListeners({target:oe,state:ie,variants:le,apply:ue}){const de=unref(le),pe=ref(!1),he=ref(!1),_e=ref(!1),$e=computed(()=>{let Ve=[];return de&&(de.hovered&&(Ve=[...Ve,...Object.keys(de.hovered)]),de.tapped&&(Ve=[...Ve,...Object.keys(de.tapped)]),de.focused&&(Ve=[...Ve,...Object.keys(de.focused)])),Ve}),Ie=computed(()=>{const Ve={};Object.assign(Ve,ie.value),pe.value&&de.hovered&&Object.assign(Ve,de.hovered),he.value&&de.tapped&&Object.assign(Ve,de.tapped),_e.value&&de.focused&&Object.assign(Ve,de.focused);for(const Fe in Ve)$e.value.includes(Fe)||delete Ve[Fe];return Ve});de.hovered&&(useEventListener(oe,"mouseenter",()=>pe.value=!0),useEventListener(oe,"mouseleave",()=>{pe.value=!1,he.value=!1}),useEventListener(oe,"mouseout",()=>{pe.value=!1,he.value=!1})),de.tapped&&(supportsMouseEvents()&&(useEventListener(oe,"mousedown",()=>he.value=!0),useEventListener(oe,"mouseup",()=>he.value=!1)),supportsPointerEvents()&&(useEventListener(oe,"pointerdown",()=>he.value=!0),useEventListener(oe,"pointerup",()=>he.value=!1)),supportsTouchEvents()&&(useEventListener(oe,"touchstart",()=>he.value=!0),useEventListener(oe,"touchend",()=>he.value=!1))),de.focused&&(useEventListener(oe,"focus",()=>_e.value=!0),useEventListener(oe,"blur",()=>_e.value=!1)),watch(Ie,ue)}function registerLifeCycleHooks({set:oe,target:ie,variants:le,variant:ue}){const de=unref(le);watch(()=>ie,()=>{de&&(de.initial&&oe("initial"),de.enter&&(ue.value="enter"))},{immediate:!0,flush:"pre"})}function registerVariantsSync({state:oe,apply:ie}){watch(oe,le=>{le&&ie(le)},{immediate:!0})}function registerVisibilityHooks({target:oe,variants:ie,variant:le}){const ue=unref(ie);ue&&(ue.visible||ue.visibleOnce)&&useIntersectionObserver(oe,([{isIntersecting:de}])=>{ue.visible?de?le.value="visible":le.value="initial":ue.visibleOnce&&(de&&le.value!=="visibleOnce"?le.value="visibleOnce":le.value||(le.value="initial"))})}function useMotionFeatures(oe,ie={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){ie.lifeCycleHooks&®isterLifeCycleHooks(oe),ie.syncVariants&®isterVariantsSync(oe),ie.visibilityHooks&®isterVisibilityHooks(oe),ie.eventListeners&®isterEventListeners(oe)}function reactiveStyle(oe={}){const ie=reactive({...oe}),le=ref({});return watch(ie,()=>{const ue={};for(const[de,pe]of Object.entries(ie)){const he=getValueType(de),_e=getValueAsType(pe,he);ue[de]=_e}le.value=ue},{immediate:!0,deep:!0}),{state:ie,style:le}}function usePermissiveTarget(oe,ie){watch(()=>unrefElement(oe),le=>{le&&ie(le)},{immediate:!0})}const translateAlias={x:"translateX",y:"translateY",z:"translateZ"};function reactiveTransform(oe={},ie=!0){const le=reactive({...oe}),ue=ref("");return watch(le,de=>{let pe="",he=!1;if(ie&&(de.x||de.y||de.z)){const _e=[de.x||0,de.y||0,de.z||0].map(px.transform).join(",");pe+=`translate3d(${_e}) `,he=!0}for(const[_e,$e]of Object.entries(de)){if(ie&&(_e==="x"||_e==="y"||_e==="z"))continue;const Ie=getValueType(_e),Ve=getValueAsType($e,Ie);pe+=`${translateAlias[_e]||_e}(${Ve}) `}ie&&!he&&(pe+="translateZ(0px) "),ue.value=pe.trim()},{immediate:!0,deep:!0}),{state:le,transform:ue}}const transformAxes=["","X","Y","Z"],order=["perspective","translate","scale","rotate","skew"],transformProps=["transformPerspective","x","y","z"];order.forEach(oe=>{transformAxes.forEach(ie=>{const le=oe+ie;transformProps.push(le)})});const transformPropSet=new Set(transformProps);function isTransformProp(oe){return transformPropSet.has(oe)}const transformOriginProps=new Set(["originX","originY","originZ"]);function isTransformOriginProp(oe){return transformOriginProps.has(oe)}function splitValues(oe){const ie={},le={};return Object.entries(oe).forEach(([ue,de])=>{isTransformProp(ue)||isTransformOriginProp(ue)?ie[ue]=de:le[ue]=de}),{transform:ie,style:le}}function variantToStyle(oe){const{transform:ie,style:le}=splitValues(oe),{transform:ue}=reactiveTransform(ie),{style:de}=reactiveStyle(le);return ue.value&&(de.value.transform=ue.value),de.value}function useElementStyle(oe,ie){let le,ue;const{state:de,style:pe}=reactiveStyle();return usePermissiveTarget(oe,he=>{ue=he;for(const _e of Object.keys(valueTypes))he.style[_e]===null||he.style[_e]===""||isTransformProp(_e)||isTransformOriginProp(_e)||(de[_e]=he.style[_e]);le&&Object.entries(le).forEach(([_e,$e])=>he.style[_e]=$e),ie&&ie(de)}),watch(pe,he=>{if(!ue){le=he;return}for(const _e in he)ue.style[_e]=he[_e]},{immediate:!0}),{style:de}}function parseTransform(oe){const ie=oe.trim().split(/\) |\)/);if(ie.length===1)return{};const le=ue=>ue.endsWith("px")||ue.endsWith("deg")?parseFloat(ue):isNaN(Number(ue))?Number(ue):ue;return ie.reduce((ue,de)=>{if(!de)return ue;const[pe,he]=de.split("("),$e=he.split(",").map(Ve=>le(Ve.endsWith(")")?Ve.replace(")",""):Ve.trim())),Ie=$e.length===1?$e[0]:$e;return{...ue,[pe]:Ie}},{})}function stateFromTransform(oe,ie){Object.entries(parseTransform(ie)).forEach(([le,ue])=>{const de=["x","y","z"];if(le==="translate3d"){if(ue===0){de.forEach(pe=>oe[pe]=0);return}ue.forEach((pe,he)=>oe[de[he]]=pe);return}if(ue=parseFloat(ue),le==="translateX"){oe.x=ue;return}if(le==="translateY"){oe.y=ue;return}if(le==="translateZ"){oe.z=ue;return}oe[le]=ue})}function useElementTransform(oe,ie){let le,ue;const{state:de,transform:pe}=reactiveTransform();return usePermissiveTarget(oe,he=>{ue=he,he.style.transform&&stateFromTransform(de,he.style.transform),le&&(he.style.transform=le),ie&&ie(de)}),watch(pe,he=>{if(!ue){le=he;return}ue.style.transform=he},{immediate:!0}),{transform:de}}function useMotionProperties(oe,ie){const le=reactive({}),ue=he=>Object.entries(he).forEach(([_e,$e])=>le[_e]=$e),{style:de}=useElementStyle(oe,ue),{transform:pe}=useElementTransform(oe,ue);return watch(le,he=>{Object.entries(he).forEach(([_e,$e])=>{const Ie=isTransformProp(_e)?pe:de;Ie[_e]&&Ie[_e]===$e||(Ie[_e]=$e)})},{immediate:!0,deep:!0}),usePermissiveTarget(oe,()=>ie&&ue(ie)),{motionProperties:le,style:de,transform:pe}}function useMotionVariants(oe={}){const ie=unref(oe),le=ref();return{state:computed(()=>{if(le.value)return ie[le.value]}),variant:le}}function useMotion(oe,ie={},le){const{motionProperties:ue}=useMotionProperties(oe),{variant:de,state:pe}=useMotionVariants(ie),he=useMotionControls(ue,ie),_e={target:oe,variant:de,variants:ie,state:pe,motionProperties:ue,...he};return useMotionFeatures(_e,le),_e}const directivePropsKeys=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function resolveVariants(oe,ie){const le=oe.props?oe.props:oe.data&&oe.data.attrs?oe.data.attrs:{};le&&(le.variants&&isObject$7(le.variants)&&(ie.value={...ie.value,...le.variants}),directivePropsKeys.forEach(ue=>{if(ue==="delay"){if(le&&le[ue]&&typeof le[ue]=="number"){const de=le[ue];ie&&ie.value&&(ie.value.enter&&(ie.value.enter.transition||(ie.value.enter.transition={}),ie.value.enter.transition={delay:de,...ie.value.enter.transition}),ie.value.visible&&(ie.value.visible.transition||(ie.value.visible.transition={}),ie.value.visible.transition={delay:de,...ie.value.visible.transition}),ie.value.visibleOnce&&(ie.value.visibleOnce.transition||(ie.value.visibleOnce.transition={}),ie.value.visibleOnce.transition={delay:de,...ie.value.visibleOnce.transition}))}return}ue==="visible-once"&&(ue="visibleOnce"),le&&le[ue]&&isObject$7(le[ue])&&(ie.value[ue]=le[ue])}))}function directive(oe){return{created:(le,ue,de)=>{const pe=ue.value&&typeof ue.value=="string"?ue.value:de.key;pe&&motionState[pe]&&motionState[pe].stop();const he=ref(oe||{});typeof ue.value=="object"&&(he.value=ue.value),resolveVariants(de,he);const _e=useMotion(le,he);le.motionInstance=_e,pe&&(motionState[pe]=_e)},getSSRProps(le,ue){let{initial:de}=le.value||ue&&(ue==null?void 0:ue.props)||{};de=unref(de);const pe=defu((oe==null?void 0:oe.initial)||{},de||{});return!pe||Object.keys(pe).length===0?void 0:{style:variantToStyle(pe)}}}}const fade={initial:{opacity:0},enter:{opacity:1}},fadeVisible={initial:{opacity:0},visible:{opacity:1}},fadeVisibleOnce={initial:{opacity:0},visibleOnce:{opacity:1}},pop$1={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},popVisible={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},popVisibleOnce={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},rollLeft={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleLeft={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceLeft={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollRight={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleRight={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceRight={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollTop={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleTop={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceTop={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollBottom={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleBottom={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceBottom={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},slideLeft={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},slideVisibleLeft={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceLeft={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},slideRight={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},slideVisibleRight={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceRight={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},slideTop={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},slideVisibleTop={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceTop={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},slideBottom={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},slideVisibleBottom={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceBottom={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},presets={__proto__:null,fade,fadeVisible,fadeVisibleOnce,pop:pop$1,popVisible,popVisibleOnce,rollBottom,rollLeft,rollRight,rollTop,rollVisibleBottom,rollVisibleLeft,rollVisibleOnceBottom,rollVisibleOnceLeft,rollVisibleOnceRight,rollVisibleOnceTop,rollVisibleRight,rollVisibleTop,slideBottom,slideLeft,slideRight,slideTop,slideVisibleBottom,slideVisibleLeft,slideVisibleOnceBottom,slideVisibleOnceLeft,slideVisibleOnceRight,slideVisibleOnceTop,slideVisibleRight,slideVisibleTop},component=defineComponent({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(oe){var _e;const ie=useSlots(),le=reactive({});if(!oe.is&&!ie.default)return()=>h$3("div",{});const ue=computed(()=>{let $e;return oe.preset&&($e=presets[oe.preset]),$e}),de=computed(()=>({initial:oe.initial,enter:oe.enter,leave:oe.leave,visible:oe.visible,visibleOnce:oe.visibleOnce,hovered:oe.hovered,tapped:oe.tapped,focused:oe.focused})),pe=computed(()=>{const $e={...de.value,...ue.value||{},...oe.variants||{}};return oe.delay&&($e.enter.transition={...$e.enter.transition},$e.enter.transition.delay=parseInt(oe.delay)),$e}),he=computed(()=>{if(!oe.is)return;let $e=oe.is;return typeof he.value=="string"&&!isHTMLTag($e)&&($e=resolveComponent($e)),$e});if(((_e=process==null?void 0:process.env)==null?void 0:_e.NODE_ENV)==="development"||process!=null&&process.dev){const $e=Ie=>{var Ve;(Ve=Ie.variants)!=null&&Ve.initial&&Ie.set("initial"),setTimeout(()=>{var Fe,Ue,qe;(Fe=Ie.variants)!=null&&Fe.enter&&Ie.apply("enter"),(Ue=Ie.variants)!=null&&Ue.visible&&Ie.apply("visible"),(qe=Ie.variants)!=null&&qe.visibleOnce&&Ie.apply("visibleOnce")},10)};onUpdated(()=>Object.entries(le).forEach(([Ie,Ve])=>$e(Ve)))}return{slots:ie,component:he,motionConfig:pe,instances:le}},render({slots:oe,motionConfig:ie,instances:le,component:ue}){var _e;const de=variantToStyle(ie.initial||{}),pe=($e,Ie)=>($e.props||($e.props={}),$e.props.style=de,$e.props.onVnodeMounted=({el:Ve})=>{const Fe=useMotion(Ve,ie);le[Ie]=Fe},$e);if(ue){const $e=h$3(ue,void 0,oe);return pe($e,0),$e}return(((_e=oe.default)==null?void 0:_e.call(oe))||[]).map(($e,Ie)=>pe($e,Ie))}});function slugify(oe){const ie="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",le="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",ue=new RegExp(ie.split("").join("|"),"g");return oe.toString().replace(/[A-Z]/g,de=>`-${de}`).toLowerCase().replace(/\s+/g,"-").replace(ue,de=>le.charAt(ie.indexOf(de))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const MotionPlugin={install(oe,ie){if(oe.directive("motion",directive()),oe.component("Motion",component),!ie||ie&&!ie.excludePresets)for(const le in presets){const ue=presets[le];oe.directive(`motion-${slugify(le)}`,directive(ue))}if(ie&&ie.directives)for(const le in ie.directives){const ue=ie.directives[le];!ue.initial&&__DEV__&&console.warn(`Your directive v-motion-${le} is missing initial variant!`),oe.directive(`motion-${le}`,directive(ue))}}};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -241,7 +241,7 @@ yyyy`);var ue=parseDate(ie),de=le?"getUTC":"get",pe=ue[de+"FullYear"](),he=ue[de `:"
",hn=Fe.join(Lt);this._showOrMove(_e,function(){this._updateContentNotChangedOnAxis(le,Ie)?this._updatePosition(_e,qe,he[0],he[1],this._tooltipContent,Ie):this._showTooltipContent(_e,hn,Ie,Math.random()+"",he[0],he[1],qe,null,Ue)})},ie.prototype._showSeriesItemTooltip=function(le,ue,de){var pe=this._ecModel,he=getECData(ue),_e=he.seriesIndex,$e=pe.getSeriesByIndex(_e),Ie=he.dataModel||$e,Ve=he.dataIndex,Fe=he.dataType,Ue=Ie.getData(Fe),qe=this._renderMode,Et=le.positionDefault,At=buildTooltipModel([Ue.getItemModel(Ve),Ie,$e&&($e.coordinateSystem||{}).model],this._tooltipModel,Et?{position:Et}:null),Lt=At.get("trigger");if(!(Lt!=null&&Lt!=="item")){var hn=Ie.getDataParams(Ve,Fe),vn=new TooltipMarkupStyleCreator;hn.marker=vn.makeTooltipMarker("item",convertToColorString(hn.color),qe);var _n=normalizeTooltipFormatResult(Ie.formatTooltip(Ve,!1,Fe)),bn=At.get("order"),Sn=At.get("valueFormatter"),Cn=_n.frag,En=Cn?buildTooltipMarkup(Sn?extend({valueFormatter:Sn},Cn):Cn,vn,qe,bn,pe.get("useUTC"),At.get("textStyle")):_n.text,$n="item_"+Ie.name+"_"+Ve;this._showOrMove(At,function(){this._showTooltipContent(At,En,hn,$n,le.offsetX,le.offsetY,le.position,le.target,vn)}),de({type:"showTip",dataIndexInside:Ve,dataIndex:Ue.getRawIndex(Ve),seriesIndex:_e,from:this.uid})}},ie.prototype._showComponentItemTooltip=function(le,ue,de){var pe=getECData(ue),he=pe.tooltipConfig,_e=he.option||{};if(isString(_e)){var $e=_e;_e={content:$e,formatter:$e}}var Ie=[_e],Ve=this._ecModel.getComponent(pe.componentMainType,pe.componentIndex);Ve&&Ie.push(Ve),Ie.push({formatter:_e.content});var Fe=le.positionDefault,Ue=buildTooltipModel(Ie,this._tooltipModel,Fe?{position:Fe}:null),qe=Ue.get("content"),Et=Math.random()+"",At=new TooltipMarkupStyleCreator;this._showOrMove(Ue,function(){var Lt=clone$3(Ue.get("formatterParams")||{});this._showTooltipContent(Ue,qe,Lt,Et,le.offsetX,le.offsetY,le.position,ue,At)}),de({type:"showTip",from:this.uid})},ie.prototype._showTooltipContent=function(le,ue,de,pe,he,_e,$e,Ie,Ve){if(this._ticket="",!(!le.get("showContent")||!le.get("show"))){var Fe=this._tooltipContent;Fe.setEnterable(le.get("enterable"));var Ue=le.get("formatter");$e=$e||le.get("position");var qe=ue,Et=this._getNearestPoint([he,_e],de,le.get("trigger"),le.get("borderColor")),At=Et.color;if(Ue)if(isString(Ue)){var Lt=le.ecModel.get("useUTC"),hn=isArray$1(de)?de[0]:de,vn=hn&&hn.axisType&&hn.axisType.indexOf("time")>=0;qe=Ue,vn&&(qe=format$1(hn.axisValue,qe,Lt)),qe=formatTpl(qe,de,!0)}else if(isFunction(Ue)){var _n=bind$1(function(bn,Sn){bn===this._ticket&&(Fe.setContent(Sn,Ve,le,At,$e),this._updatePosition(le,$e,he,_e,Fe,de,Ie))},this);this._ticket=pe,qe=Ue(de,pe,_n)}else qe=Ue;Fe.setContent(qe,Ve,le,At,$e),Fe.show(le,At),this._updatePosition(le,$e,he,_e,Fe,de,Ie)}},ie.prototype._getNearestPoint=function(le,ue,de,pe){if(de==="axis"||isArray$1(ue))return{color:pe||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(ue))return{color:pe||ue.color||ue.borderColor}},ie.prototype._updatePosition=function(le,ue,de,pe,he,_e,$e){var Ie=this._api.getWidth(),Ve=this._api.getHeight();ue=ue||le.get("position");var Fe=he.getSize(),Ue=le.get("align"),qe=le.get("verticalAlign"),Et=$e&&$e.getBoundingRect().clone();if($e&&Et.applyTransform($e.transform),isFunction(ue)&&(ue=ue([de,pe],_e,he.el,Et,{viewSize:[Ie,Ve],contentSize:Fe.slice()})),isArray$1(ue))de=parsePercent(ue[0],Ie),pe=parsePercent(ue[1],Ve);else if(isObject$3(ue)){var At=ue;At.width=Fe[0],At.height=Fe[1];var Lt=getLayoutRect(At,{width:Ie,height:Ve});de=Lt.x,pe=Lt.y,Ue=null,qe=null}else if(isString(ue)&&$e){var hn=calcTooltipPosition(ue,Et,Fe,le.get("borderWidth"));de=hn[0],pe=hn[1]}else{var hn=refixTooltipPosition(de,pe,he,Ie,Ve,Ue?null:20,qe?null:20);de=hn[0],pe=hn[1]}if(Ue&&(de-=isCenterAlign(Ue)?Fe[0]/2:Ue==="right"?Fe[0]:0),qe&&(pe-=isCenterAlign(qe)?Fe[1]/2:qe==="bottom"?Fe[1]:0),shouldTooltipConfine(le)){var hn=confineTooltipPosition(de,pe,he,Ie,Ve);de=hn[0],pe=hn[1]}he.moveTo(de,pe)},ie.prototype._updateContentNotChangedOnAxis=function(le,ue){var de=this._lastDataByCoordSys,pe=this._cbParamsList,he=!!de&&de.length===le.length;return he&&each$c(de,function(_e,$e){var Ie=_e.dataByAxis||[],Ve=le[$e]||{},Fe=Ve.dataByAxis||[];he=he&&Ie.length===Fe.length,he&&each$c(Ie,function(Ue,qe){var Et=Fe[qe]||{},At=Ue.seriesDataIndices||[],Lt=Et.seriesDataIndices||[];he=he&&Ue.value===Et.value&&Ue.axisType===Et.axisType&&Ue.axisId===Et.axisId&&At.length===Lt.length,he&&each$c(At,function(hn,vn){var _n=Lt[vn];he=he&&hn.seriesIndex===_n.seriesIndex&&hn.dataIndex===_n.dataIndex}),pe&&each$c(Ue.seriesDataIndices,function(hn){var vn=hn.seriesIndex,_n=ue[vn],bn=pe[vn];_n&&bn&&bn.data!==_n.data&&(he=!1)})})}),this._lastDataByCoordSys=le,this._cbParamsList=ue,!!he},ie.prototype._hide=function(le){this._lastDataByCoordSys=null,le({type:"hideTip",from:this.uid})},ie.prototype.dispose=function(le,ue){env$1.node||!ue.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",ue))},ie.type="tooltip",ie}(ComponentView$1);function buildTooltipModel(oe,ie,le){var ue=ie.ecModel,de;le?(de=new Model$1(le,ue,ue),de=new Model$1(ie.option,de,ue)):de=ie;for(var pe=oe.length-1;pe>=0;pe--){var he=oe[pe];he&&(he instanceof Model$1&&(he=he.get("tooltip",!0)),isString(he)&&(he={formatter:he}),he&&(de=new Model$1(he,de,ue)))}return de}function makeDispatchAction(oe,ie){return oe.dispatchAction||bind$1(ie.dispatchAction,ie)}function refixTooltipPosition(oe,ie,le,ue,de,pe,he){var _e=le.getSize(),$e=_e[0],Ie=_e[1];return pe!=null&&(oe+$e+pe+2>ue?oe-=$e+pe:oe+=pe),he!=null&&(ie+Ie+he>de?ie-=Ie+he:ie+=he),[oe,ie]}function confineTooltipPosition(oe,ie,le,ue,de){var pe=le.getSize(),he=pe[0],_e=pe[1];return oe=Math.min(oe+he,ue)-he,ie=Math.min(ie+_e,de)-_e,oe=Math.max(oe,0),ie=Math.max(ie,0),[oe,ie]}function calcTooltipPosition(oe,ie,le,ue){var de=le[0],pe=le[1],he=Math.ceil(Math.SQRT2*ue)+8,_e=0,$e=0,Ie=ie.width,Ve=ie.height;switch(oe){case"inside":_e=ie.x+Ie/2-de/2,$e=ie.y+Ve/2-pe/2;break;case"top":_e=ie.x+Ie/2-de/2,$e=ie.y-pe-he;break;case"bottom":_e=ie.x+Ie/2-de/2,$e=ie.y+Ve+he;break;case"left":_e=ie.x-de-he,$e=ie.y+Ve/2-pe/2;break;case"right":_e=ie.x+Ie+he,$e=ie.y+Ve/2-pe/2}return[_e,$e]}function isCenterAlign(oe){return oe==="center"||oe==="middle"}function findComponentReference(oe,ie,le){var ue=preParseFinder(oe).queryOptionMap,de=ue.keys()[0];if(!(!de||de==="series")){var pe=queryReferringComponents(ie,de,ue.get(de),{useDefault:!1,enableAll:!1,enableNone:!1}),he=pe.models[0];if(he){var _e=le.getViewOfComponentModel(he),$e;if(_e.group.traverse(function(Ie){var Ve=getECData(Ie).tooltipConfig;if(Ve&&Ve.name===oe.name)return $e=Ie,!0}),$e)return{componentMainType:de,componentIndex:he.componentIndex,el:$e}}}}const TooltipView$1=TooltipView;function install$a(oe){use$1(install$f),oe.registerComponentModel(TooltipModel$1),oe.registerComponentView(TooltipView$1),oe.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),oe.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var each$4=each$c;function hasKeys(oe){if(oe){for(var ie in oe)if(oe.hasOwnProperty(ie))return!0}}function createVisualMappings(oe,ie,le){var ue={};return each$4(ie,function(pe){var he=ue[pe]=de();each$4(oe[pe],function(_e,$e){if(VisualMapping$1.isValidType($e)){var Ie={type:$e,visual:_e};le&&le(Ie,pe),he[$e]=new VisualMapping$1(Ie),$e==="opacity"&&(Ie=clone$3(Ie),Ie.type="colorAlpha",he.__hidden.__alphaForOpacity=new VisualMapping$1(Ie))}})}),ue;function de(){var pe=function(){};pe.prototype.__hidden=pe.prototype;var he=new pe;return he}}function replaceVisualOption(oe,ie,le){var ue;each$c(le,function(de){ie.hasOwnProperty(de)&&hasKeys(ie[de])&&(ue=!0)}),ue&&each$c(le,function(de){ie.hasOwnProperty(de)&&hasKeys(ie[de])?oe[de]=clone$3(ie[de]):delete oe[de]})}function incrementalApplyVisual(oe,ie,le,ue){var de={};return each$c(oe,function(pe){var he=VisualMapping$1.prepareVisualTypes(ie[pe]);de[pe]=he}),{progress:function(he,_e){var $e;ue!=null&&($e=_e.getDimensionIndex(ue));function Ie(Sn){return getItemVisualFromData(_e,Fe,Sn)}function Ve(Sn,Cn){setItemVisualFromData(_e,Fe,Sn,Cn)}for(var Fe,Ue=_e.getStore();(Fe=he.next())!=null;){var qe=_e.getRawDataItem(Fe);if(!(qe&&qe.visualMap===!1))for(var Et=ue!=null?Ue.get($e,Fe):Fe,At=le(Et),Lt=ie[At],hn=de[At],vn=0,_n=hn.length;vn<_n;vn++){var bn=hn[vn];Lt[bn]&&Lt[bn].applyVisual(Et,Ie,Ve)}}}}}var TitleModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.layoutMode={type:"box",ignoreSize:!0},le}return ie.type="title",ie.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},ie}(ComponentModel$1),TitleView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.render=function(le,ue,de){if(this.group.removeAll(),!!le.get("show")){var pe=this.group,he=le.getModel("textStyle"),_e=le.getModel("subtextStyle"),$e=le.get("textAlign"),Ie=retrieve2(le.get("textBaseline"),le.get("textVerticalAlign")),Ve=new ZRText$1({style:createTextStyle$1(he,{text:le.get("text"),fill:he.getTextColor()},{disableBox:!0}),z2:10}),Fe=Ve.getBoundingRect(),Ue=le.get("subtext"),qe=new ZRText$1({style:createTextStyle$1(_e,{text:Ue,fill:_e.getTextColor(),y:Fe.height+le.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),Et=le.get("link"),At=le.get("sublink"),Lt=le.get("triggerEvent",!0);Ve.silent=!Et&&!Lt,qe.silent=!At&&!Lt,Et&&Ve.on("click",function(){windowOpen(Et,"_"+le.get("target"))}),At&&qe.on("click",function(){windowOpen(At,"_"+le.get("subtarget"))}),getECData(Ve).eventData=getECData(qe).eventData=Lt?{componentType:"title",componentIndex:le.componentIndex}:null,pe.add(Ve),Ue&&pe.add(qe);var hn=pe.getBoundingRect(),vn=le.getBoxLayoutParams();vn.width=hn.width,vn.height=hn.height;var _n=getLayoutRect(vn,{width:de.getWidth(),height:de.getHeight()},le.get("padding"));$e||($e=le.get("left")||le.get("right"),$e==="middle"&&($e="center"),$e==="right"?_n.x+=_n.width:$e==="center"&&(_n.x+=_n.width/2)),Ie||(Ie=le.get("top")||le.get("bottom"),Ie==="center"&&(Ie="middle"),Ie==="bottom"?_n.y+=_n.height:Ie==="middle"&&(_n.y+=_n.height/2),Ie=Ie||"top"),pe.x=_n.x,pe.y=_n.y,pe.markRedraw();var bn={align:$e,verticalAlign:Ie};Ve.setStyle(bn),qe.setStyle(bn),hn=pe.getBoundingRect();var Sn=_n.margin,Cn=le.getItemStyle(["color","opacity"]);Cn.fill=le.get("backgroundColor");var En=new Rect$2({shape:{x:hn.x-Sn[3],y:hn.y-Sn[0],width:hn.width+Sn[1]+Sn[3],height:hn.height+Sn[0]+Sn[2],r:le.get("borderRadius")},style:Cn,subPixelOptimize:!0,silent:!0});pe.add(En)}},ie.type="title",ie}(ComponentView$1);function install$9(oe){oe.registerComponentModel(TitleModel),oe.registerComponentView(TitleView)}var getDefaultSelectorOptions=function(oe,ie){if(ie==="all")return{type:"all",title:oe.getLocaleModel().get(["legend","selector","all"])};if(ie==="inverse")return{type:"inverse",title:oe.getLocaleModel().get(["legend","selector","inverse"])}},LegendModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.layoutMode={type:"box",ignoreSize:!0},le}return ie.prototype.init=function(le,ue,de){this.mergeDefaultAndTheme(le,de),le.selected=le.selected||{},this._updateSelector(le)},ie.prototype.mergeOption=function(le,ue){oe.prototype.mergeOption.call(this,le,ue),this._updateSelector(le)},ie.prototype._updateSelector=function(le){var ue=le.selector,de=this.ecModel;ue===!0&&(ue=le.selector=["all","inverse"]),isArray$1(ue)&&each$c(ue,function(pe,he){isString(pe)&&(pe={type:pe}),ue[he]=merge(pe,getDefaultSelectorOptions(de,pe.type))})},ie.prototype.optionUpdated=function(){this._updateData(this.ecModel);var le=this._data;if(le[0]&&this.get("selectedMode")==="single"){for(var ue=!1,de=0;de=0},ie.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},ie.type="legend.plain",ie.dependencies=["series"],ie.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},ie}(ComponentModel$1);const LegendModel$1=LegendModel;var curry=curry$1,each$3=each$c,Group$1=Group$3,LegendView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.newlineDisabled=!1,le}return ie.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},ie.prototype.getContentGroup=function(){return this._contentGroup},ie.prototype.getSelectorGroup=function(){return this._selectorGroup},ie.prototype.render=function(le,ue,de){var pe=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!le.get("show",!0)){var he=le.get("align"),_e=le.get("orient");(!he||he==="auto")&&(he=le.get("left")==="right"&&_e==="vertical"?"right":"left");var $e=le.get("selector",!0),Ie=le.get("selectorPosition",!0);$e&&(!Ie||Ie==="auto")&&(Ie=_e==="horizontal"?"end":"start"),this.renderInner(he,le,ue,de,$e,_e,Ie);var Ve=le.getBoxLayoutParams(),Fe={width:de.getWidth(),height:de.getHeight()},Ue=le.get("padding"),qe=getLayoutRect(Ve,Fe,Ue),Et=this.layoutInner(le,he,qe,pe,$e,Ie),At=getLayoutRect(defaults({width:Et.width,height:Et.height},Ve),Fe,Ue);this.group.x=At.x-Et.x,this.group.y=At.y-Et.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(Et,le))}},ie.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},ie.prototype.renderInner=function(le,ue,de,pe,he,_e,$e){var Ie=this.getContentGroup(),Ve=createHashMap(),Fe=ue.get("selectedMode"),Ue=[];de.eachRawSeries(function(qe){!qe.get("legendHoverLink")&&Ue.push(qe.id)}),each$3(ue.getData(),function(qe,Et){var At=qe.get("name");if(!this.newlineDisabled&&(At===""||At===` `)){var Lt=new Group$1;Lt.newline=!0,Ie.add(Lt);return}var hn=de.getSeriesByName(At)[0];if(!Ve.get(At))if(hn){var vn=hn.getData(),_n=vn.getVisual("legendLineStyle")||{},bn=vn.getVisual("legendIcon"),Sn=vn.getVisual("style"),Cn=this._createItem(hn,At,Et,qe,ue,le,_n,Sn,bn,Fe,pe);Cn.on("click",curry(dispatchSelectAction,At,null,pe,Ue)).on("mouseover",curry(dispatchHighlightAction,hn.name,null,pe,Ue)).on("mouseout",curry(dispatchDownplayAction,hn.name,null,pe,Ue)),Ve.set(At,!0)}else de.eachRawSeries(function(En){if(!Ve.get(At)&&En.legendVisualProvider){var $n=En.legendVisualProvider;if(!$n.containName(At))return;var wn=$n.indexOfName(At),Pn=$n.getItemVisual(wn,"style"),xn=$n.getItemVisual(wn,"legendIcon"),An=parse$1(Pn.fill);An&&An[3]===0&&(An[3]=.2,Pn=extend(extend({},Pn),{fill:stringify(An,"rgba")}));var On=this._createItem(En,At,Et,qe,ue,le,{},Pn,xn,Fe,pe);On.on("click",curry(dispatchSelectAction,null,At,pe,Ue)).on("mouseover",curry(dispatchHighlightAction,null,At,pe,Ue)).on("mouseout",curry(dispatchDownplayAction,null,At,pe,Ue)),Ve.set(At,!0)}},this)},this),he&&this._createSelector(he,ue,pe,_e,$e)},ie.prototype._createSelector=function(le,ue,de,pe,he){var _e=this.getSelectorGroup();each$3(le,function(Ie){var Ve=Ie.type,Fe=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){de.dispatchAction({type:Ve==="all"?"legendAllSelect":"legendInverseSelect"})}});_e.add(Fe);var Ue=ue.getModel("selectorLabel"),qe=ue.getModel(["emphasis","selectorLabel"]);setLabelStyle(Fe,{normal:Ue,emphasis:qe},{defaultText:Ie.title}),enableHoverEmphasis(Fe)})},ie.prototype._createItem=function(le,ue,de,pe,he,_e,$e,Ie,Ve,Fe,Ue){var qe=le.visualDrawType,Et=he.get("itemWidth"),At=he.get("itemHeight"),Lt=he.isSelected(ue),hn=pe.get("symbolRotate"),vn=pe.get("symbolKeepAspect"),_n=pe.get("icon");Ve=_n||Ve||"roundRect";var bn=getLegendStyle(Ve,pe,$e,Ie,qe,Lt,Ue),Sn=new Group$1,Cn=pe.getModel("textStyle");if(isFunction(le.getLegendIcon)&&(!_n||_n==="inherit"))Sn.add(le.getLegendIcon({itemWidth:Et,itemHeight:At,icon:Ve,iconRotate:hn,itemStyle:bn.itemStyle,lineStyle:bn.lineStyle,symbolKeepAspect:vn}));else{var En=_n==="inherit"&&le.getData().getVisual("symbol")?hn==="inherit"?le.getData().getVisual("symbolRotate"):hn:0;Sn.add(getDefaultLegendIcon({itemWidth:Et,itemHeight:At,icon:Ve,iconRotate:En,itemStyle:bn.itemStyle,lineStyle:bn.lineStyle,symbolKeepAspect:vn}))}var $n=_e==="left"?Et+5:-5,wn=_e,Pn=he.get("formatter"),xn=ue;isString(Pn)&&Pn?xn=Pn.replace("{name}",ue??""):isFunction(Pn)&&(xn=Pn(ue));var An=pe.get("inactiveColor");Sn.add(new ZRText$1({style:createTextStyle$1(Cn,{text:xn,x:$n,y:At/2,fill:Lt?Cn.getTextColor():An,align:wn,verticalAlign:"middle"})}));var On=new Rect$2({shape:Sn.getBoundingRect(),invisible:!0}),In=pe.getModel("tooltip");return In.get("show")&&setTooltipConfig({el:On,componentModel:he,itemName:ue,itemTooltipOption:In.option}),Sn.add(On),Sn.eachChild(function(Fn){Fn.silent=!0}),On.silent=!Fe,this.getContentGroup().add(Sn),enableHoverEmphasis(Sn),Sn.__legendDataIndex=de,Sn},ie.prototype.layoutInner=function(le,ue,de,pe,he,_e){var $e=this.getContentGroup(),Ie=this.getSelectorGroup();box(le.get("orient"),$e,le.get("itemGap"),de.width,de.height);var Ve=$e.getBoundingRect(),Fe=[-Ve.x,-Ve.y];if(Ie.markRedraw(),$e.markRedraw(),he){box("horizontal",Ie,le.get("selectorItemGap",!0));var Ue=Ie.getBoundingRect(),qe=[-Ue.x,-Ue.y],Et=le.get("selectorButtonGap",!0),At=le.getOrient().index,Lt=At===0?"width":"height",hn=At===0?"height":"width",vn=At===0?"y":"x";_e==="end"?qe[At]+=Ve[Lt]+Et:Fe[At]+=Ue[Lt]+Et,qe[1-At]+=Ve[hn]/2-Ue[hn]/2,Ie.x=qe[0],Ie.y=qe[1],$e.x=Fe[0],$e.y=Fe[1];var _n={x:0,y:0};return _n[Lt]=Ve[Lt]+Et+Ue[Lt],_n[hn]=Math.max(Ve[hn],Ue[hn]),_n[vn]=Math.min(0,Ue[vn]+qe[1-At]),_n}else return $e.x=Fe[0],$e.y=Fe[1],this.group.getBoundingRect()},ie.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},ie.type="legend.plain",ie}(ComponentView$1);function getLegendStyle(oe,ie,le,ue,de,pe,he){function _e(Lt,hn){Lt.lineWidth==="auto"&&(Lt.lineWidth=hn.lineWidth>0?2:0),each$3(Lt,function(vn,_n){Lt[_n]==="inherit"&&(Lt[_n]=hn[_n])})}var $e=ie.getModel("itemStyle"),Ie=$e.getItemStyle(),Ve=oe.lastIndexOf("empty",0)===0?"fill":"stroke",Fe=$e.getShallow("decal");Ie.decal=!Fe||Fe==="inherit"?ue.decal:createOrUpdatePatternFromDecal(Fe,he),Ie.fill==="inherit"&&(Ie.fill=ue[de]),Ie.stroke==="inherit"&&(Ie.stroke=ue[Ve]),Ie.opacity==="inherit"&&(Ie.opacity=(de==="fill"?ue:le).opacity),_e(Ie,ue);var Ue=ie.getModel("lineStyle"),qe=Ue.getLineStyle();if(_e(qe,le),Ie.fill==="auto"&&(Ie.fill=ue.fill),Ie.stroke==="auto"&&(Ie.stroke=ue.fill),qe.stroke==="auto"&&(qe.stroke=ue.fill),!pe){var Et=ie.get("inactiveBorderWidth"),At=Ie[Ve];Ie.lineWidth=Et==="auto"?ue.lineWidth>0&&At?2:0:Ie.lineWidth,Ie.fill=ie.get("inactiveColor"),Ie.stroke=ie.get("inactiveBorderColor"),qe.stroke=Ue.get("inactiveColor"),qe.lineWidth=Ue.get("inactiveWidth")}return{itemStyle:Ie,lineStyle:qe}}function getDefaultLegendIcon(oe){var ie=oe.icon||"roundRect",le=createSymbol(ie,0,0,oe.itemWidth,oe.itemHeight,oe.itemStyle.fill,oe.symbolKeepAspect);return le.setStyle(oe.itemStyle),le.rotation=(oe.iconRotate||0)*Math.PI/180,le.setOrigin([oe.itemWidth/2,oe.itemHeight/2]),ie.indexOf("empty")>-1&&(le.style.stroke=le.style.fill,le.style.fill="#fff",le.style.lineWidth=2),le}function dispatchSelectAction(oe,ie,le,ue){dispatchDownplayAction(oe,ie,le,ue),le.dispatchAction({type:"legendToggleSelect",name:oe??ie}),dispatchHighlightAction(oe,ie,le,ue)}function isUseHoverLayer(oe){for(var ie=oe.getZr().storage.getDisplayList(),le,ue=0,de=ie.length;uede[he],Lt=[-qe.x,-qe.y];ue||(Lt[pe]=Ve[Ie]);var hn=[0,0],vn=[-Et.x,-Et.y],_n=retrieve2(le.get("pageButtonGap",!0),le.get("itemGap",!0));if(At){var bn=le.get("pageButtonPosition",!0);bn==="end"?vn[pe]+=de[he]-Et[he]:hn[pe]+=Et[he]+_n}vn[1-pe]+=qe[_e]/2-Et[_e]/2,Ve.setPosition(Lt),Fe.setPosition(hn),Ue.setPosition(vn);var Sn={x:0,y:0};if(Sn[he]=At?de[he]:qe[he],Sn[_e]=Math.max(qe[_e],Et[_e]),Sn[$e]=Math.min(0,Et[$e]+vn[1-pe]),Fe.__rectSize=de[he],At){var Cn={x:0,y:0};Cn[he]=Math.max(de[he]-Et[he]-_n,0),Cn[_e]=Sn[_e],Fe.setClipPath(new Rect$2({shape:Cn})),Fe.__rectSize=Cn[he]}else Ue.eachChild(function($n){$n.attr({invisible:!0,silent:!0})});var En=this._getPageInfo(le);return En.pageIndex!=null&&updateProps$1(Ve,{x:En.contentPosition[0],y:En.contentPosition[1]},At?le:null),this._updatePageInfoView(le,En),Sn},ie.prototype._pageGo=function(le,ue,de){var pe=this._getPageInfo(ue)[le];pe!=null&&de.dispatchAction({type:"legendScroll",scrollDataIndex:pe,legendId:ue.id})},ie.prototype._updatePageInfoView=function(le,ue){var de=this._controllerGroup;each$c(["pagePrev","pageNext"],function(Ve){var Fe=Ve+"DataIndex",Ue=ue[Fe]!=null,qe=de.childOfName(Ve);qe&&(qe.setStyle("fill",Ue?le.get("pageIconColor",!0):le.get("pageIconInactiveColor",!0)),qe.cursor=Ue?"pointer":"default")});var pe=de.childOfName("pageText"),he=le.get("pageFormatter"),_e=ue.pageIndex,$e=_e!=null?_e+1:0,Ie=ue.pageCount;pe&&he&&pe.setStyle("text",isString(he)?he.replace("{current}",$e==null?"":$e+"").replace("{total}",Ie==null?"":Ie+""):he({current:$e,total:Ie}))},ie.prototype._getPageInfo=function(le){var ue=le.get("scrollDataIndex",!0),de=this.getContentGroup(),pe=this._containerGroup.__rectSize,he=le.getOrient().index,_e=WH[he],$e=XY[he],Ie=this._findTargetItemIndex(ue),Ve=de.children(),Fe=Ve[Ie],Ue=Ve.length,qe=Ue?1:0,Et={contentPosition:[de.x,de.y],pageCount:qe,pageIndex:qe-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!Fe)return Et;var At=bn(Fe);Et.contentPosition[he]=-At.s;for(var Lt=Ie+1,hn=At,vn=At,_n=null;Lt<=Ue;++Lt)_n=bn(Ve[Lt]),(!_n&&vn.e>hn.s+pe||_n&&!Sn(_n,hn.s))&&(vn.i>hn.i?hn=vn:hn=_n,hn&&(Et.pageNextDataIndex==null&&(Et.pageNextDataIndex=hn.i),++Et.pageCount)),vn=_n;for(var Lt=Ie-1,hn=At,vn=At,_n=null;Lt>=-1;--Lt)_n=bn(Ve[Lt]),(!_n||!Sn(vn,_n.s))&&hn.i=En&&Cn.s<=En+pe}},ie.prototype._findTargetItemIndex=function(le){if(!this._showController)return 0;var ue,de=this.getContentGroup(),pe;return de.eachChild(function(he,_e){var $e=he.__legendDataIndex;pe==null&&$e!=null&&(pe=_e),$e===le&&(ue=_e)}),ue??pe},ie.type="legend.scroll",ie}(LegendView$1);const ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(oe){oe.registerAction("legendScroll","legendscroll",function(ie,le){var ue=ie.scrollDataIndex;ue!=null&&le.eachComponent({mainType:"legend",subType:"scroll",query:ie},function(de){de.setScrollDataIndex(ue)})})}function install$7(oe){use$1(install$8),oe.registerComponentModel(ScrollableLegendModel$1),oe.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction(oe)}function install$6(oe){use$1(install$8),use$1(install$7)}var InsideZoomModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="dataZoom.inside",ie.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),ie}(DataZoomModel$1);const InsideZoomModel$1=InsideZoomModel;var inner=makeInner();function setViewInfoToCoordSysRecord(oe,ie,le){inner(oe).coordSysRecordMap.each(function(ue){var de=ue.dataZoomInfoMap.get(ie.uid);de&&(de.getRange=le)})}function disposeCoordSysRecordIfNeeded(oe,ie){for(var le=inner(oe).coordSysRecordMap,ue=le.keys(),de=0;deue[le+ie]&&(ie=_e),de=de&&he.get("preventDefaultMouseMove",!0)}),{controlType:ie,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!de}}}function installDataZoomRoamProcessor(oe){oe.registerProcessor(oe.PRIORITY.PROCESSOR.FILTER,function(ie,le){var ue=inner(le),de=ue.coordSysRecordMap||(ue.coordSysRecordMap=createHashMap());de.each(function(pe){pe.dataZoomInfoMap=null}),ie.eachComponent({mainType:"dataZoom",subType:"inside"},function(pe){var he=collectReferCoordSysModelInfo(pe);each$c(he.infoList,function(_e){var $e=_e.model.uid,Ie=de.get($e)||de.set($e,createCoordSysRecord(le,_e.model)),Ve=Ie.dataZoomInfoMap||(Ie.dataZoomInfoMap=createHashMap());Ve.set(pe.uid,{dzReferCoordSysInfo:_e,model:pe,getRange:null})})}),de.each(function(pe){var he=pe.controller,_e,$e=pe.dataZoomInfoMap;if($e){var Ie=$e.keys()[0];Ie!=null&&(_e=$e.get(Ie))}if(!_e){disposeCoordSysRecord(de,pe);return}var Ve=mergeControllerParams($e);he.enable(Ve.controlType,Ve.opt),he.setPointerChecker(pe.containsPoint),createOrUpdate(pe,"dispatchAction",_e.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type="dataZoom.inside",le}return ie.prototype.render=function(le,ue,de){if(oe.prototype.render.apply(this,arguments),le.noTarget()){this._clear();return}this.range=le.getPercentRange(),setViewInfoToCoordSysRecord(de,le,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},ie.prototype.dispose=function(){this._clear(),oe.prototype.dispose.apply(this,arguments)},ie.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},ie.type="dataZoom.inside",ie}(DataZoomView$1),getRangeHandlers={zoom:function(oe,ie,le,ue){var de=this.range,pe=de.slice(),he=oe.axisModels[0];if(he){var _e=getDirectionInfo[ie](null,[ue.originX,ue.originY],he,le,oe),$e=(_e.signal>0?_e.pixelStart+_e.pixelLength-_e.pixel:_e.pixel-_e.pixelStart)/_e.pixelLength*(pe[1]-pe[0])+pe[0],Ie=Math.max(1/ue.scale,0);pe[0]=(pe[0]-$e)*Ie+$e,pe[1]=(pe[1]-$e)*Ie+$e;var Ve=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,pe,[0,100],0,Ve.minSpan,Ve.maxSpan),this.range=pe,de[0]!==pe[0]||de[1]!==pe[1])return pe}},pan:makeMover(function(oe,ie,le,ue,de,pe){var he=getDirectionInfo[ue]([pe.oldX,pe.oldY],[pe.newX,pe.newY],ie,de,le);return he.signal*(oe[1]-oe[0])*he.pixel/he.pixelLength}),scrollMove:makeMover(function(oe,ie,le,ue,de,pe){var he=getDirectionInfo[ue]([0,0],[pe.scrollDelta,pe.scrollDelta],ie,de,le);return he.signal*(oe[1]-oe[0])*pe.scrollDelta})};function makeMover(oe){return function(ie,le,ue,de){var pe=this.range,he=pe.slice(),_e=ie.axisModels[0];if(_e){var $e=oe(he,_e,ie,le,ue,de);if(sliderMove($e,he,[0,100],"all"),this.range=he,pe[0]!==he[0]||pe[1]!==he[1])return he}}}var getDirectionInfo={grid:function(oe,ie,le,ue,de){var pe=le.axis,he={},_e=de.model.coordinateSystem.getRect();return oe=oe||[0,0],pe.dim==="x"?(he.pixel=ie[0]-oe[0],he.pixelLength=_e.width,he.pixelStart=_e.x,he.signal=pe.inverse?1:-1):(he.pixel=ie[1]-oe[1],he.pixelLength=_e.height,he.pixelStart=_e.y,he.signal=pe.inverse?-1:1),he},polar:function(oe,ie,le,ue,de){var pe=le.axis,he={},_e=de.model.coordinateSystem,$e=_e.getRadiusAxis().getExtent(),Ie=_e.getAngleAxis().getExtent();return oe=oe?_e.pointToCoord(oe):[0,0],ie=_e.pointToCoord(ie),le.mainType==="radiusAxis"?(he.pixel=ie[0]-oe[0],he.pixelLength=$e[1]-$e[0],he.pixelStart=$e[0],he.signal=pe.inverse?1:-1):(he.pixel=ie[1]-oe[1],he.pixelLength=Ie[1]-Ie[0],he.pixelStart=Ie[0],he.signal=pe.inverse?-1:1),he},singleAxis:function(oe,ie,le,ue,de){var pe=le.axis,he=de.model.coordinateSystem.getRect(),_e={};return oe=oe||[0,0],pe.orient==="horizontal"?(_e.pixel=ie[0]-oe[0],_e.pixelLength=he.width,_e.pixelStart=he.x,_e.signal=pe.inverse?1:-1):(_e.pixel=ie[1]-oe[1],_e.pixelLength=he.height,_e.pixelStart=he.y,_e.signal=pe.inverse?-1:1),_e}};const InsideZoomView$1=InsideZoomView;function install$5(oe){installCommon$1(oe),oe.registerComponentModel(InsideZoomModel$1),oe.registerComponentView(InsideZoomView$1),installDataZoomRoamProcessor(oe)}var SliderZoomModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="dataZoom.slider",ie.layoutMode="box",ie.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),ie}(DataZoomModel$1);const SliderZoomModel$1=SliderZoomModel;var Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le._displayables={},le}return ie.prototype.init=function(le,ue){this.api=ue,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},ie.prototype.render=function(le,ue,de,pe){if(oe.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",le.get("throttle"),"fixRate"),this._orient=le.getOrient(),le.get("show")===!1){this.group.removeAll();return}if(le.noTarget()){this._clear(),this.group.removeAll();return}(!pe||pe.type!=="dataZoom"||pe.from!==this.uid)&&this._buildView(),this._updateView()},ie.prototype.dispose=function(){this._clear(),oe.prototype.dispose.apply(this,arguments)},ie.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var le=this.api.getZr();le.off("mousemove",this._onBrush),le.off("mouseup",this._onBrushEnd)},ie.prototype._buildView=function(){var le=this.group;le.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var ue=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),le.add(ue),this._positionGroup()},ie.prototype._resetLocation=function(){var le=this.dataZoomModel,ue=this.api,de=le.get("brushSelect"),pe=de?DEFAULT_MOVE_HANDLE_SIZE:0,he=this._findCoordRect(),_e={width:ue.getWidth(),height:ue.getHeight()},$e=this._orient===HORIZONTAL?{right:_e.width-he.x-he.width,top:_e.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-pe,width:he.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:he.y,width:DEFAULT_FILLER_SIZE,height:he.height},Ie=getLayoutParams(le.option);each$c(["right","top","width","height"],function(Fe){Ie[Fe]==="ph"&&(Ie[Fe]=$e[Fe])});var Ve=getLayoutRect(Ie,_e);this._location={x:Ve.x,y:Ve.y},this._size=[Ve.width,Ve.height],this._orient===VERTICAL&&this._size.reverse()},ie.prototype._positionGroup=function(){var le=this.group,ue=this._location,de=this._orient,pe=this.dataZoomModel.getFirstTargetAxisModel(),he=pe&&pe.get("inverse"),_e=this._displayables.sliderGroup,$e=(this._dataShadowInfo||{}).otherAxisInverse;_e.attr(de===HORIZONTAL&&!he?{scaleY:$e?1:-1,scaleX:1}:de===HORIZONTAL&&he?{scaleY:$e?1:-1,scaleX:-1}:de===VERTICAL&&!he?{scaleY:$e?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:$e?-1:1,scaleX:-1,rotation:Math.PI/2});var Ie=le.getBoundingRect([_e]);le.x=ue.x-Ie.x,le.y=ue.y-Ie.y,le.markRedraw()},ie.prototype._getViewExtent=function(){return[0,this._size[0]]},ie.prototype._renderBackground=function(){var le=this.dataZoomModel,ue=this._size,de=this._displayables.sliderGroup,pe=le.get("brushSelect");de.add(new Rect({silent:!0,shape:{x:0,y:0,width:ue[0],height:ue[1]},style:{fill:le.get("backgroundColor")},z2:-40}));var he=new Rect({shape:{x:0,y:0,width:ue[0],height:ue[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),_e=this.api.getZr();pe?(he.on("mousedown",this._onBrushStart,this),he.cursor="crosshair",_e.on("mousemove",this._onBrush),_e.on("mouseup",this._onBrushEnd)):(_e.off("mousemove",this._onBrush),_e.off("mouseup",this._onBrushEnd)),de.add(he)},ie.prototype._renderDataShadow=function(){var le=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!le)return;var ue=this._size,de=this._shadowSize||[],pe=le.series,he=pe.getRawData(),_e=pe.getShadowDim&&pe.getShadowDim(),$e=_e&&he.getDimensionInfo(_e)?pe.getShadowDim():le.otherDim;if($e==null)return;var Ie=this._shadowPolygonPts,Ve=this._shadowPolylinePts;if(he!==this._shadowData||$e!==this._shadowDim||ue[0]!==de[0]||ue[1]!==de[1]){var Fe=he.getDataExtent($e),Ue=(Fe[1]-Fe[0])*.3;Fe=[Fe[0]-Ue,Fe[1]+Ue];var qe=[0,ue[1]],Et=[0,ue[0]],At=[[ue[0],0],[0,0]],Lt=[],hn=Et[1]/(he.count()-1),vn=0,_n=Math.round(he.count()/ue[0]),bn;he.each([$e],function(wn,Pn){if(_n>0&&Pn%_n){vn+=hn;return}var xn=wn==null||isNaN(wn)||wn==="",An=xn?0:linearMap$2(wn,Fe,qe,!0);xn&&!bn&&Pn?(At.push([At[At.length-1][0],0]),Lt.push([Lt[Lt.length-1][0],0])):!xn&&bn&&(At.push([vn,0]),Lt.push([vn,0])),At.push([vn,An]),Lt.push([vn,An]),vn+=hn,bn=xn}),Ie=this._shadowPolygonPts=At,Ve=this._shadowPolylinePts=Lt}this._shadowData=he,this._shadowDim=$e,this._shadowSize=[ue[0],ue[1]];var Sn=this.dataZoomModel;function Cn(wn){var Pn=Sn.getModel(wn?"selectedDataBackground":"dataBackground"),xn=new Group$3,An=new Polygon$1({shape:{points:Ie},segmentIgnoreThreshold:1,style:Pn.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),On=new Polyline$1({shape:{points:Ve},segmentIgnoreThreshold:1,style:Pn.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return xn.add(An),xn.add(On),xn}for(var En=0;En<3;En++){var $n=Cn(En===1);this._displayables.sliderGroup.add($n),this._displayables.dataShadowSegs.push($n)}},ie.prototype._prepareDataShadowInfo=function(){var le=this.dataZoomModel,ue=le.get("showDataShadow");if(ue!==!1){var de,pe=this.ecModel;return le.eachTargetAxis(function(he,_e){var $e=le.getAxisProxy(he,_e).getTargetSeriesModels();each$c($e,function(Ie){if(!de&&!(ue!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,Ie.get("type"))<0)){var Ve=pe.getComponent(getAxisMainType(he),_e).axis,Fe=getOtherDim(he),Ue,qe=Ie.coordinateSystem;Fe!=null&&qe.getOtherAxis&&(Ue=qe.getOtherAxis(Ve).inverse),Fe=Ie.getData().mapDimension(Fe),de={thisAxis:Ve,series:Ie,thisDim:he,otherDim:Fe,otherAxisInverse:Ue}}},this)},this),de}},ie.prototype._renderHandle=function(){var le=this.group,ue=this._displayables,de=ue.handles=[null,null],pe=ue.handleLabels=[null,null],he=this._displayables.sliderGroup,_e=this._size,$e=this.dataZoomModel,Ie=this.api,Ve=$e.get("borderRadius")||0,Fe=$e.get("brushSelect"),Ue=ue.filler=new Rect({silent:Fe,style:{fill:$e.get("fillerColor")},textConfig:{position:"inside"}});he.add(Ue),he.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:_e[0],height:_e[1],r:Ve},style:{stroke:$e.get("dataBackgroundColor")||$e.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$c([0,1],function(_n){var bn=$e.get("handleIcon");!symbolBuildProxies[bn]&&bn.indexOf("path://")<0&&bn.indexOf("image://")<0&&(bn="path://"+bn);var Sn=createSymbol(bn,-1,0,2,2,null,!0);Sn.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,_n),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var Cn=Sn.getBoundingRect(),En=$e.get("handleSize");this._handleHeight=parsePercent(En,this._size[1]),this._handleWidth=Cn.width/Cn.height*this._handleHeight,Sn.setStyle($e.getModel("handleStyle").getItemStyle()),Sn.style.strokeNoScale=!0,Sn.rectHover=!0,Sn.ensureState("emphasis").style=$e.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(Sn);var $n=$e.get("handleColor");$n!=null&&(Sn.style.fill=$n),he.add(de[_n]=Sn);var wn=$e.getModel("textStyle");le.add(pe[_n]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(wn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:wn.getTextColor(),font:wn.getFont()}),z2:10}))},this);var qe=Ue;if(Fe){var Et=parsePercent($e.get("moveHandleSize"),_e[1]),At=ue.moveHandle=new Rect$2({style:$e.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:_e[1]-.5,height:Et}}),Lt=Et*.8,hn=ue.moveHandleIcon=createSymbol($e.get("moveHandleIcon"),-Lt/2,-Lt/2,Lt,Lt,"#fff",!0);hn.silent=!0,hn.y=_e[1]+Et/2-.5,At.ensureState("emphasis").style=$e.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var vn=Math.min(_e[1]/2,Math.max(Et,10));qe=ue.moveZone=new Rect$2({invisible:!0,shape:{y:_e[1]-vn,height:Et+vn}}),qe.on("mouseover",function(){Ie.enterEmphasis(At)}).on("mouseout",function(){Ie.leaveEmphasis(At)}),he.add(At),he.add(hn),he.add(qe)}qe.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},ie.prototype._resetInterval=function(){var le=this._range=this.dataZoomModel.getPercentRange(),ue=this._getViewExtent();this._handleEnds=[linearMap$2(le[0],[0,100],ue,!0),linearMap$2(le[1],[0,100],ue,!0)]},ie.prototype._updateInterval=function(le,ue){var de=this.dataZoomModel,pe=this._handleEnds,he=this._getViewExtent(),_e=de.findRepresentativeAxisProxy().getMinMaxSpan(),$e=[0,100];sliderMove(ue,pe,he,de.get("zoomLock")?"all":le,_e.minSpan!=null?linearMap$2(_e.minSpan,$e,he,!0):null,_e.maxSpan!=null?linearMap$2(_e.maxSpan,$e,he,!0):null);var Ie=this._range,Ve=this._range=asc$2([linearMap$2(pe[0],he,$e,!0),linearMap$2(pe[1],he,$e,!0)]);return!Ie||Ie[0]!==Ve[0]||Ie[1]!==Ve[1]},ie.prototype._updateView=function(le){var ue=this._displayables,de=this._handleEnds,pe=asc$2(de.slice()),he=this._size;each$c([0,1],function(qe){var Et=ue.handles[qe],At=this._handleHeight;Et.attr({scaleX:At/2,scaleY:At/2,x:de[qe]+(qe?-1:1),y:he[1]/2-At/2})},this),ue.filler.setShape({x:pe[0],y:0,width:pe[1]-pe[0],height:he[1]});var _e={x:pe[0],width:pe[1]-pe[0]};ue.moveHandle&&(ue.moveHandle.setShape(_e),ue.moveZone.setShape(_e),ue.moveZone.getBoundingRect(),ue.moveHandleIcon&&ue.moveHandleIcon.attr("x",_e.x+_e.width/2));for(var $e=ue.dataShadowSegs,Ie=[0,pe[0],pe[1],he[0]],Ve=0;Ve<$e.length;Ve++){var Fe=$e[Ve],Ue=Fe.getClipPath();Ue||(Ue=new Rect$2,Fe.setClipPath(Ue)),Ue.setShape({x:Ie[Ve],y:0,width:Ie[Ve+1]-Ie[Ve],height:he[1]})}this._updateDataInfo(le)},ie.prototype._updateDataInfo=function(le){var ue=this.dataZoomModel,de=this._displayables,pe=de.handleLabels,he=this._orient,_e=["",""];if(ue.get("showDetail")){var $e=ue.findRepresentativeAxisProxy();if($e){var Ie=$e.getAxisModel().axis,Ve=this._range,Fe=le?$e.calculateDataWindow({start:Ve[0],end:Ve[1]}).valueWindow:$e.getDataValueWindow();_e=[this._formatLabel(Fe[0],Ie),this._formatLabel(Fe[1],Ie)]}}var Ue=asc$2(this._handleEnds.slice());qe.call(this,0),qe.call(this,1);function qe(Et){var At=getTransform$1(de.handles[Et].parent,this.group),Lt=transformDirection(Et===0?"right":"left",At),hn=this._handleWidth/2+LABEL_GAP,vn=applyTransform([Ue[Et]+(Et===0?-hn:hn),this._size[1]/2],At);pe[Et].setStyle({x:vn[0],y:vn[1],verticalAlign:he===HORIZONTAL?"middle":Lt,align:he===HORIZONTAL?Lt:"center",text:_e[Et]})}},ie.prototype._formatLabel=function(le,ue){var de=this.dataZoomModel,pe=de.get("labelFormatter"),he=de.get("labelPrecision");(he==null||he==="auto")&&(he=ue.getPixelPrecision());var _e=le==null||isNaN(le)?"":ue.type==="category"||ue.type==="time"?ue.scale.getLabel({value:Math.round(le)}):le.toFixed(Math.min(he,20));return isFunction(pe)?pe(le,_e):isString(pe)?pe.replace("{value}",_e):_e},ie.prototype._showDataInfo=function(le){le=this._dragging||le;var ue=this._displayables,de=ue.handleLabels;de[0].attr("invisible",!le),de[1].attr("invisible",!le),ue.moveHandle&&this.api[le?"enterEmphasis":"leaveEmphasis"](ue.moveHandle,1)},ie.prototype._onDragMove=function(le,ue,de,pe){this._dragging=!0,stop(pe.event);var he=this._displayables.sliderGroup.getLocalTransform(),_e=applyTransform([ue,de],he,!0),$e=this._updateInterval(le,_e[0]),Ie=this.dataZoomModel.get("realtime");this._updateView(!Ie),$e&&Ie&&this._dispatchZoomAction(!0)},ie.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var le=this.dataZoomModel.get("realtime");!le&&this._dispatchZoomAction(!1)},ie.prototype._onClickPanel=function(le){var ue=this._size,de=this._displayables.sliderGroup.transformCoordToLocal(le.offsetX,le.offsetY);if(!(de[0]<0||de[0]>ue[0]||de[1]<0||de[1]>ue[1])){var pe=this._handleEnds,he=(pe[0]+pe[1])/2,_e=this._updateInterval("all",de[0]-he);this._updateView(),_e&&this._dispatchZoomAction(!1)}},ie.prototype._onBrushStart=function(le){var ue=le.offsetX,de=le.offsetY;this._brushStart=new Point$1(ue,de),this._brushing=!0,this._brushStartTime=+new Date},ie.prototype._onBrushEnd=function(le){if(this._brushing){var ue=this._displayables.brushRect;if(this._brushing=!1,!!ue){ue.attr("ignore",!0);var de=ue.shape,pe=+new Date;if(!(pe-this._brushStartTime<200&&Math.abs(de.width)<5)){var he=this._getViewExtent(),_e=[0,100];this._range=asc$2([linearMap$2(de.x,he,_e,!0),linearMap$2(de.x+de.width,he,_e,!0)]),this._handleEnds=[de.x,de.x+de.width],this._updateView(),this._dispatchZoomAction(!1)}}}},ie.prototype._onBrush=function(le){this._brushing&&(stop(le.event),this._updateBrushRect(le.offsetX,le.offsetY))},ie.prototype._updateBrushRect=function(le,ue){var de=this._displayables,pe=this.dataZoomModel,he=de.brushRect;he||(he=de.brushRect=new Rect({silent:!0,style:pe.getModel("brushStyle").getItemStyle()}),de.sliderGroup.add(he)),he.attr("ignore",!1);var _e=this._brushStart,$e=this._displayables.sliderGroup,Ie=$e.transformCoordToLocal(le,ue),Ve=$e.transformCoordToLocal(_e.x,_e.y),Fe=this._size;Ie[0]=Math.max(Math.min(Fe[0],Ie[0]),0),he.setShape({x:Ve[0],y:0,width:Ie[0]-Ve[0],height:Fe[1]})},ie.prototype._dispatchZoomAction=function(le){var ue=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:le?REALTIME_ANIMATION_CONFIG:null,start:ue[0],end:ue[1]})},ie.prototype._findCoordRect=function(){var le,ue=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!le&&ue.length){var de=ue[0].model.coordinateSystem;le=de.getRect&&de.getRect()}if(!le){var pe=this.api.getWidth(),he=this.api.getHeight();le={x:pe*.2,y:he*.2,width:pe*.6,height:he*.6}}return le},ie.type="dataZoom.slider",ie}(DataZoomView$1);function getOtherDim(oe){var ie={x:"y",y:"x",radius:"angle",angle:"radius"};return ie[oe]}function getCursor$1(oe){return oe==="vertical"?"ns-resize":"ew-resize"}const SliderZoomView$1=SliderZoomView;function install$4(oe){oe.registerComponentModel(SliderZoomModel$1),oe.registerComponentView(SliderZoomView$1),installCommon$1(oe)}function install$3(oe){use$1(install$5),use$1(install$4)}var visualDefault={get:function(oe,ie,le){var ue=clone$3((defaultOption[oe]||{})[ie]);return le&&isArray$1(ue)?ue[ue.length-1]:ue}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const visualDefault$1=visualDefault;var mapVisual=VisualMapping$1.mapVisual,eachVisual=VisualMapping$1.eachVisual,isArray=isArray$1,each$2=each$c,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.stateList=["inRange","outOfRange"],le.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],le.layoutMode={type:"box",ignoreSize:!0},le.dataBound=[-1/0,1/0],le.targetVisuals={},le.controllerVisuals={},le}return ie.prototype.init=function(le,ue,de){this.mergeDefaultAndTheme(le,de)},ie.prototype.optionUpdated=function(le,ue){var de=this.option;!ue&&replaceVisualOption(de,le,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},ie.prototype.resetVisual=function(le){var ue=this.stateList;le=bind$1(le,this),this.controllerVisuals=createVisualMappings(this.option.controller,ue,le),this.targetVisuals=createVisualMappings(this.option.target,ue,le)},ie.prototype.getItemSymbol=function(){return null},ie.prototype.getTargetSeriesIndices=function(){var le=this.option.seriesIndex,ue=[];return le==null||le==="all"?this.ecModel.eachSeries(function(de,pe){ue.push(pe)}):ue=normalizeToArray(le),ue},ie.prototype.eachTargetSeries=function(le,ue){each$c(this.getTargetSeriesIndices(),function(de){var pe=this.ecModel.getSeriesByIndex(de);pe&&le.call(ue,pe)},this)},ie.prototype.isTargetSeries=function(le){var ue=!1;return this.eachTargetSeries(function(de){de===le&&(ue=!0)}),ue},ie.prototype.formatValueText=function(le,ue,de){var pe=this.option,he=pe.precision,_e=this.dataBound,$e=pe.formatter,Ie;de=de||["<",">"],isArray$1(le)&&(le=le.slice(),Ie=!0);var Ve=ue?le:Ie?[Fe(le[0]),Fe(le[1])]:Fe(le);if(isString($e))return $e.replace("{value}",Ie?Ve[0]:Ve).replace("{value2}",Ie?Ve[1]:Ve);if(isFunction($e))return Ie?$e(le[0],le[1]):$e(le);if(Ie)return le[0]===_e[0]?de[0]+" "+Ve[1]:le[1]===_e[1]?de[1]+" "+Ve[0]:Ve[0]+" - "+Ve[1];return Ve;function Fe(Ue){return Ue===_e[0]?"min":Ue===_e[1]?"max":(+Ue).toFixed(Math.min(he,20))}},ie.prototype.resetExtent=function(){var le=this.option,ue=asc([le.min,le.max]);this._dataExtent=ue},ie.prototype.getDataDimensionIndex=function(le){var ue=this.option.dimension;if(ue!=null)return le.getDimensionIndex(ue);for(var de=le.dimensions,pe=de.length-1;pe>=0;pe--){var he=de[pe],_e=le.getDimensionInfo(he);if(!_e.isCalculationCoord)return _e.storeDimIndex}},ie.prototype.getExtent=function(){return this._dataExtent.slice()},ie.prototype.completeVisualOption=function(){var le=this.ecModel,ue=this.option,de={inRange:ue.inRange,outOfRange:ue.outOfRange},pe=ue.target||(ue.target={}),he=ue.controller||(ue.controller={});merge(pe,de),merge(he,de);var _e=this.isCategory();$e.call(this,pe),$e.call(this,he),Ie.call(this,pe,"inRange","outOfRange"),Ve.call(this,he);function $e(Fe){isArray(ue.color)&&!Fe.inRange&&(Fe.inRange={color:ue.color.slice().reverse()}),Fe.inRange=Fe.inRange||{color:le.get("gradientColor")}}function Ie(Fe,Ue,qe){var Et=Fe[Ue],At=Fe[qe];Et&&!At&&(At=Fe[qe]={},each$2(Et,function(Lt,hn){if(VisualMapping$1.isValidType(hn)){var vn=visualDefault$1.get(hn,"inactive",_e);vn!=null&&(At[hn]=vn,hn==="color"&&!At.hasOwnProperty("opacity")&&!At.hasOwnProperty("colorAlpha")&&(At.opacity=[0,0]))}}))}function Ve(Fe){var Ue=(Fe.inRange||{}).symbol||(Fe.outOfRange||{}).symbol,qe=(Fe.inRange||{}).symbolSize||(Fe.outOfRange||{}).symbolSize,Et=this.get("inactiveColor"),At=this.getItemSymbol(),Lt=At||"roundRect";each$2(this.stateList,function(hn){var vn=this.itemSize,_n=Fe[hn];_n||(_n=Fe[hn]={color:_e?Et:[Et]}),_n.symbol==null&&(_n.symbol=Ue&&clone$3(Ue)||(_e?Lt:[Lt])),_n.symbolSize==null&&(_n.symbolSize=qe&&clone$3(qe)||(_e?vn[0]:[vn[0],vn[0]])),_n.symbol=mapVisual(_n.symbol,function(Cn){return Cn==="none"?Lt:Cn});var bn=_n.symbolSize;if(bn!=null){var Sn=-1/0;eachVisual(bn,function(Cn){Cn>Sn&&(Sn=Cn)}),_n.symbolSize=mapVisual(bn,function(Cn){return linearMap$1(Cn,[0,Sn],[0,vn[0]],!0)})}},this)}},ie.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},ie.prototype.isCategory=function(){return!!this.option.categories},ie.prototype.setSelected=function(le){},ie.prototype.getSelected=function(){return null},ie.prototype.getValueState=function(le){return null},ie.prototype.getVisualMeta=function(le){return null},ie.type="visualMap",ie.dependencies=["series"],ie.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},ie}(ComponentModel$1);const VisualMapModel$1=VisualMapModel;var DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.optionUpdated=function(le,ue){oe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(de){de.mappingMethod="linear",de.dataExtent=this.getExtent()}),this._resetRange()},ie.prototype.resetItemSize=function(){oe.prototype.resetItemSize.apply(this,arguments);var le=this.itemSize;(le[0]==null||isNaN(le[0]))&&(le[0]=DEFAULT_BAR_BOUND[0]),(le[1]==null||isNaN(le[1]))&&(le[1]=DEFAULT_BAR_BOUND[1])},ie.prototype._resetRange=function(){var le=this.getExtent(),ue=this.option.range;!ue||ue.auto?(le.auto=1,this.option.range=le):isArray$1(ue)&&(ue[0]>ue[1]&&ue.reverse(),ue[0]=Math.max(ue[0],le[0]),ue[1]=Math.min(ue[1],le[1]))},ie.prototype.completeVisualOption=function(){oe.prototype.completeVisualOption.apply(this,arguments),each$c(this.stateList,function(le){var ue=this.option.controller[le].symbolSize;ue&&ue[0]!==ue[1]&&(ue[0]=ue[1]/3)},this)},ie.prototype.setSelected=function(le){this.option.range=le.slice(),this._resetRange()},ie.prototype.getSelected=function(){var le=this.getExtent(),ue=asc$2((this.get("range")||[]).slice());return ue[0]>le[1]&&(ue[0]=le[1]),ue[1]>le[1]&&(ue[1]=le[1]),ue[0]=de[1]||le<=ue[1])?"inRange":"outOfRange"},ie.prototype.findTargetDataIndices=function(le){var ue=[];return this.eachTargetSeries(function(de){var pe=[],he=de.getData();he.each(this.getDataDimensionIndex(he),function(_e,$e){le[0]<=_e&&_e<=le[1]&&pe.push($e)},this),ue.push({seriesId:de.id,dataIndex:pe})},this),ue},ie.prototype.getVisualMeta=function(le){var ue=getColorStopValues(this,"outOfRange",this.getExtent()),de=getColorStopValues(this,"inRange",this.option.range.slice()),pe=[];function he(qe,Et){pe.push({value:qe,color:le(qe,Et)})}for(var _e=0,$e=0,Ie=de.length,Ve=ue.length;$ele[1])break;pe.push({color:this.getControllerVisual($e,"color",ue),offset:_e/de})}return pe.push({color:this.getControllerVisual(le[1],"color",ue),offset:1}),pe},ie.prototype._createBarPoints=function(le,ue){var de=this.visualMapModel.itemSize;return[[de[0]-ue[0],le[0]],[de[0],le[0]],[de[0],le[1]],[de[0]-ue[1],le[1]]]},ie.prototype._createBarGroup=function(le){var ue=this._orient,de=this.visualMapModel.get("inverse");return new Group$3(ue==="horizontal"&&!de?{scaleX:le==="bottom"?1:-1,rotation:Math.PI/2}:ue==="horizontal"&&de?{scaleX:le==="bottom"?-1:1,rotation:-Math.PI/2}:ue==="vertical"&&!de?{scaleX:le==="left"?1:-1,scaleY:-1}:{scaleX:le==="left"?1:-1})},ie.prototype._updateHandle=function(le,ue){if(this._useHandle){var de=this._shapes,pe=this.visualMapModel,he=de.handleThumbs,_e=de.handleLabels,$e=pe.itemSize,Ie=pe.getExtent();each$1([0,1],function(Ve){var Fe=he[Ve];Fe.setStyle("fill",ue.handlesColor[Ve]),Fe.y=le[Ve];var Ue=linearMap(le[Ve],[0,$e[1]],Ie,!0),qe=this.getControllerVisual(Ue,"symbolSize");Fe.scaleX=Fe.scaleY=qe/$e[0],Fe.x=$e[0]-qe/2;var Et=applyTransform(de.handleLabelPoints[Ve],getTransform$1(Fe,this.group));_e[Ve].setStyle({x:Et[0],y:Et[1],text:pe.formatValueText(this._dataInterval[Ve]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",de.mainGroup):"center"})},this)}},ie.prototype._showIndicator=function(le,ue,de,pe){var he=this.visualMapModel,_e=he.getExtent(),$e=he.itemSize,Ie=[0,$e[1]],Ve=this._shapes,Fe=Ve.indicator;if(Fe){Fe.attr("invisible",!1);var Ue={convertOpacityToAlpha:!0},qe=this.getControllerVisual(le,"color",Ue),Et=this.getControllerVisual(le,"symbolSize"),At=linearMap(le,_e,Ie,!0),Lt=$e[0]-Et/2,hn={x:Fe.x,y:Fe.y};Fe.y=At,Fe.x=Lt;var vn=applyTransform(Ve.indicatorLabelPoint,getTransform$1(Fe,this.group)),_n=Ve.indicatorLabel;_n.attr("invisible",!1);var bn=this._applyTransform("left",Ve.mainGroup),Sn=this._orient,Cn=Sn==="horizontal";_n.setStyle({text:(de||"")+he.formatValueText(ue),verticalAlign:Cn?bn:"middle",align:Cn?"center":bn});var En={x:Lt,y:At,style:{fill:qe}},$n={style:{x:vn[0],y:vn[1]}};if(he.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var wn={duration:100,easing:"cubicInOut",additive:!0};Fe.x=hn.x,Fe.y=hn.y,Fe.animateTo(En,wn),_n.animateTo($n,wn)}else Fe.attr(En),_n.attr($n);this._firstShowIndicator=!1;var Pn=this._shapes.handleLabels;if(Pn)for(var xn=0;xnhe[1]&&(Fe[1]=1/0),ue&&(Fe[0]===-1/0?this._showIndicator(Ve,Fe[1],"< ",$e):Fe[1]===1/0?this._showIndicator(Ve,Fe[0],"> ",$e):this._showIndicator(Ve,Ve,"≈ ",$e));var Ue=this._hoverLinkDataIndices,qe=[];(ue||useHoverLinkOnHandle(de))&&(qe=this._hoverLinkDataIndices=de.findTargetDataIndices(Fe));var Et=compressBatches(Ue,qe);this._dispatchHighDown("downplay",makeHighDownBatch(Et[0],de)),this._dispatchHighDown("highlight",makeHighDownBatch(Et[1],de))}},ie.prototype._hoverLinkFromSeriesMouseOver=function(le){var ue;if(findEventDispatcher(le.target,function($e){var Ie=getECData($e);if(Ie.dataIndex!=null)return ue=Ie,!0},!0),!!ue){var de=this.ecModel.getSeriesByIndex(ue.seriesIndex),pe=this.visualMapModel;if(pe.isTargetSeries(de)){var he=de.getData(ue.dataType),_e=he.getStore().get(pe.getDataDimensionIndex(he),ue.dataIndex);isNaN(_e)||this._showIndicator(_e,_e)}}},ie.prototype._hideIndicator=function(){var le=this._shapes;le.indicator&&le.indicator.attr("invisible",!0),le.indicatorLabel&&le.indicatorLabel.attr("invisible",!0);var ue=this._shapes.handleLabels;if(ue)for(var de=0;de=0&&(pe.dimension=he,ue.push(pe))}}),oe.getData().setVisual("visualMeta",ue)}}];function getColorVisual(oe,ie,le,ue){for(var de=ie.targetVisuals[ue],pe=VisualMapping$1.prepareVisualTypes(de),he={color:getVisualFromData(oe.getData(),"color")},_e=0,$e=pe.length;_e<$e;_e++){var Ie=pe[_e],Ve=de[Ie==="opacity"?"__alphaForOpacity":Ie];Ve&&Ve.applyVisual(le,Fe,Ue)}return he.color;function Fe(qe){return he[qe]}function Ue(qe,Et){he[qe]=Et}}var each=each$c;function visualMapPreprocessor(oe){var ie=oe&&oe.visualMap;isArray$1(ie)||(ie=ie?[ie]:[]),each(ie,function(le){if(le){has(le,"splitList")&&!has(le,"pieces")&&(le.pieces=le.splitList,delete le.splitList);var ue=le.pieces;ue&&isArray$1(ue)&&each(ue,function(de){isObject$3(de)&&(has(de,"start")&&!has(de,"min")&&(de.min=de.start),has(de,"end")&&!has(de,"max")&&(de.max=de.end))})}})}function has(oe,ie){return oe&&oe.hasOwnProperty&&oe.hasOwnProperty(ie)}var installed=!1;function installCommon(oe){installed||(installed=!0,oe.registerSubTypeDefaulter("visualMap",function(ie){return!ie.categories&&(!(ie.pieces?ie.pieces.length>0:ie.splitNumber>0)||ie.calculable)?"continuous":"piecewise"}),oe.registerAction(visualMapActionInfo,visualMapActionHander),each$c(visualMapEncodingHandlers,function(ie){oe.registerVisual(oe.PRIORITY.VISUAL.COMPONENT,ie)}),oe.registerPreprocessor(visualMapPreprocessor))}function install$2(oe){oe.registerComponentModel(ContinuousModel$1),oe.registerComponentView(ContinuousView$1),installCommon(oe)}var PiecewiseModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le._pieceList=[],le}return ie.prototype.optionUpdated=function(le,ue){oe.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var de=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(le,ue);var pe=this.option.categories;this.resetVisual(function(he,_e){de==="categories"?(he.mappingMethod="category",he.categories=clone$3(pe)):(he.dataExtent=this.getExtent(),he.mappingMethod="piecewise",he.pieceList=map$2(this._pieceList,function($e){return $e=clone$3($e),_e!=="inRange"&&($e.visual=null),$e}))})},ie.prototype.completeVisualOption=function(){var le=this.option,ue={},de=VisualMapping$1.listVisualTypes(),pe=this.isCategory();each$c(le.pieces,function(_e){each$c(de,function($e){_e.hasOwnProperty($e)&&(ue[$e]=1)})}),each$c(ue,function(_e,$e){var Ie=!1;each$c(this.stateList,function(Ve){Ie=Ie||he(le,Ve,$e)||he(le.target,Ve,$e)},this),!Ie&&each$c(this.stateList,function(Ve){(le[Ve]||(le[Ve]={}))[$e]=visualDefault$1.get($e,Ve==="inRange"?"active":"inactive",pe)})},this);function he(_e,$e,Ie){return _e&&_e[$e]&&_e[$e].hasOwnProperty(Ie)}oe.prototype.completeVisualOption.apply(this,arguments)},ie.prototype._resetSelected=function(le,ue){var de=this.option,pe=this._pieceList,he=(ue?de:le).selected||{};if(de.selected=he,each$c(pe,function($e,Ie){var Ve=this.getSelectedMapKey($e);he.hasOwnProperty(Ve)||(he[Ve]=!0)},this),de.selectedMode==="single"){var _e=!1;each$c(pe,function($e,Ie){var Ve=this.getSelectedMapKey($e);he[Ve]&&(_e?he[Ve]=!1:_e=!0)},this)}},ie.prototype.getItemSymbol=function(){return this.get("itemSymbol")},ie.prototype.getSelectedMapKey=function(le){return this._mode==="categories"?le.value+"":le.index+""},ie.prototype.getPieceList=function(){return this._pieceList},ie.prototype._determineMode=function(){var le=this.option;return le.pieces&&le.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},ie.prototype.setSelected=function(le){this.option.selected=clone$3(le)},ie.prototype.getValueState=function(le){var ue=VisualMapping$1.findPieceIndex(le,this._pieceList);return ue!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[ue])]?"inRange":"outOfRange"},ie.prototype.findTargetDataIndices=function(le){var ue=[],de=this._pieceList;return this.eachTargetSeries(function(pe){var he=[],_e=pe.getData();_e.each(this.getDataDimensionIndex(_e),function($e,Ie){var Ve=VisualMapping$1.findPieceIndex($e,de);Ve===le&&he.push(Ie)},this),ue.push({seriesId:pe.id,dataIndex:he})},this),ue},ie.prototype.getRepresentValue=function(le){var ue;if(this.isCategory())ue=le.value;else if(le.value!=null)ue=le.value;else{var de=le.interval||[];ue=de[0]===-1/0&&de[1]===1/0?0:(de[0]+de[1])/2}return ue},ie.prototype.getVisualMeta=function(le){if(this.isCategory())return;var ue=[],de=["",""],pe=this;function he(Ve,Fe){var Ue=pe.getRepresentValue({interval:Ve});Fe||(Fe=pe.getValueState(Ue));var qe=le(Ue,Fe);Ve[0]===-1/0?de[0]=qe:Ve[1]===1/0?de[1]=qe:ue.push({value:Ve[0],color:qe},{value:Ve[1],color:qe})}var _e=this._pieceList.slice();if(!_e.length)_e.push({interval:[-1/0,1/0]});else{var $e=_e[0].interval[0];$e!==-1/0&&_e.unshift({interval:[-1/0,$e]}),$e=_e[_e.length-1].interval[1],$e!==1/0&&_e.push({interval:[$e,1/0]})}var Ie=-1/0;return each$c(_e,function(Ve){var Fe=Ve.interval;Fe&&(Fe[0]>Ie&&he([Ie,Fe[0]],"outOfRange"),he(Fe.slice()),Ie=Fe[1])},this),{stops:ue,outerColors:de}},ie.type="visualMap.piecewise",ie.defaultOption=inheritDefaultOption(VisualMapModel$1.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),ie}(VisualMapModel$1),resetMethods={splitNumber:function(oe){var ie=this.option,le=Math.min(ie.precision,20),ue=this.getExtent(),de=ie.splitNumber;de=Math.max(parseInt(de,10),1),ie.splitNumber=de;for(var pe=(ue[1]-ue[0])/de;+pe.toFixed(le)!==pe&&le<5;)le++;ie.precision=le,pe=+pe.toFixed(le),ie.minOpen&&oe.push({interval:[-1/0,ue[0]],close:[0,0]});for(var he=0,_e=ue[0];he","≥"][ue[0]]];le.text=le.text||this.formatValueText(le.value!=null?le.value:le.interval,!1,de)},this)}};function normalizeReverse(oe,ie){var le=oe.inverse;(oe.orient==="vertical"?!le:le)&&ie.reverse()}const PiecewiseModel$1=PiecewiseModel;var PiecewiseVisualMapView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.doRender=function(){var le=this.group;le.removeAll();var ue=this.visualMapModel,de=ue.get("textGap"),pe=ue.textStyleModel,he=pe.getFont(),_e=pe.getTextColor(),$e=this._getItemAlign(),Ie=ue.itemSize,Ve=this._getViewData(),Fe=Ve.endsText,Ue=retrieve(ue.get("showLabel",!0),!Fe);Fe&&this._renderEndsText(le,Fe[0],Ie,Ue,$e),each$c(Ve.viewPieceList,function(qe){var Et=qe.piece,At=new Group$3;At.onclick=bind$1(this._onItemClick,this,Et),this._enableHoverLink(At,qe.indexInModelPieceList);var Lt=ue.getRepresentValue(Et);if(this._createItemSymbol(At,Lt,[0,0,Ie[0],Ie[1]]),Ue){var hn=this.visualMapModel.getValueState(Lt);At.add(new ZRText$1({style:{x:$e==="right"?-de:Ie[0]+de,y:Ie[1]/2,text:Et.text,verticalAlign:"middle",align:$e,font:he,fill:_e,opacity:hn==="outOfRange"?.5:1}}))}le.add(At)},this),Fe&&this._renderEndsText(le,Fe[1],Ie,Ue,$e),box(ue.get("orient"),le,ue.get("itemGap")),this.renderBackground(le),this.positionGroup(le)},ie.prototype._enableHoverLink=function(le,ue){var de=this;le.on("mouseover",function(){return pe("highlight")}).on("mouseout",function(){return pe("downplay")});var pe=function(he){var _e=de.visualMapModel;_e.option.hoverLink&&de.api.dispatchAction({type:he,batch:makeHighDownBatch(_e.findTargetDataIndices(ue),_e)})}},ie.prototype._getItemAlign=function(){var le=this.visualMapModel,ue=le.option;if(ue.orient==="vertical")return getItemAlign(le,this.api,le.itemSize);var de=ue.align;return(!de||de==="auto")&&(de="left"),de},ie.prototype._renderEndsText=function(le,ue,de,pe,he){if(ue){var _e=new Group$3,$e=this.visualMapModel.textStyleModel;_e.add(new ZRText$1({style:createTextStyle$1($e,{x:pe?he==="right"?de[0]:0:de[0]/2,y:de[1]/2,verticalAlign:"middle",align:pe?he:"center",text:ue})})),le.add(_e)}},ie.prototype._getViewData=function(){var le=this.visualMapModel,ue=map$2(le.getPieceList(),function(_e,$e){return{piece:_e,indexInModelPieceList:$e}}),de=le.get("text"),pe=le.get("orient"),he=le.get("inverse");return(pe==="horizontal"?he:!he)?ue.reverse():de&&(de=de.slice().reverse()),{viewPieceList:ue,endsText:de}},ie.prototype._createItemSymbol=function(le,ue,de){le.add(createSymbol(this.getControllerVisual(ue,"symbol"),de[0],de[1],de[2],de[3],this.getControllerVisual(ue,"color")))},ie.prototype._onItemClick=function(le){var ue=this.visualMapModel,de=ue.option,pe=de.selectedMode;if(pe){var he=clone$3(de.selected),_e=ue.getSelectedMapKey(le);pe==="single"||pe===!0?(he[_e]=!0,each$c(he,function($e,Ie){he[Ie]=Ie===_e})):he[_e]=!he[_e],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:he})}},ie.type="visualMap.piecewise",ie}(VisualMapView$1);const PiecewiseView=PiecewiseVisualMapView;function install$1(oe){oe.registerComponentModel(PiecewiseModel$1),oe.registerComponentView(PiecewiseView),installCommon(oe)}function install(oe){use$1(install$2),use$1(install$1)}const{use}=echarts;use([install$h,install$i,install$j,install$k,install$e,install$9,install$6,install$d,install$b,install$a,install$3,install]);function useEcharts(oe){oe.config.globalProperties.$echarts=echarts}var p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,j$1=Object.prototype.hasOwnProperty,_=(oe,ie,le)=>ie in oe?p(oe,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ie]=le,P=(oe,ie)=>{for(var le in ie)p(oe,le,{get:ie[le],enumerable:!0})},y=(oe,ie,le,ue)=>{if(ie&&typeof ie=="object"||typeof ie=="function")for(let de of u(ie))!j$1.call(oe,de)&&de!==le&&p(oe,de,{get:()=>ie[de],enumerable:!(ue=d(ie,de))||ue.enumerable});return oe},m$1=(oe,ie,le)=>(y(oe,ie,"default"),le&&y(le,ie,"default")),f=(oe,ie,le)=>(_(oe,typeof ie!="symbol"?ie+"":ie,le),le),c={};P(c,{Vue:()=>vue_runtime_esmBundler});m$1(c,vue_runtime_esmBundler);var g=class{static install(oe,ie){let{nameSpace:le=this._nameSpace,memory:ue}=ie;return ue&&this.clearAll(le,ue),new g(oe,ie)}static clearAll(oe,ie){Object.keys(ie).forEach(le=>{let ue=oe+le;Object.prototype.hasOwnProperty.call(window.localStorage,ue)&&window.localStorage.removeItem(ue)})}static get(oe){return JSON.parse(window.localStorage.getItem(oe))}static set(oe,ie){ie=typeof ie=="object"?JSON.stringify(ie):ie,window.localStorage.setItem(oe,ie)}static getData(oe,ie){if(Object.prototype.hasOwnProperty.call(window.localStorage,this._getStaticKey(ie,oe)))return JSON.parse(window.localStorage.getItem(this._getStaticKey(ie,oe)))}constructor(oe,ie){let le=g,{version:ue=3,nameSpace:de=le._nameSpace,memory:pe}=ie,he=Ie=>de+Ie,_e=ue===3?(0,c.reactive)(pe):pe;Object.keys(_e).length===0&&console.warn("key cannot be empty"),Object.keys(_e).forEach(Ie=>{let Ve=_e[Ie];le.set(he(Ie),Ve),Reflect.defineProperty(_e,Ie,{get:()=>le.get(he(Ie)),set:Fe=>le.set(he(Ie),Fe),configurable:!0}),ue===2&&oe.util.defineReactive(_e,Ie,_e[Ie])});let $e=ue===3?oe.config.globalProperties:oe.prototype;Reflect.defineProperty($e,"$storage",{get:()=>_e})}},n=g;f(n,"_nameSpace","rs-"),f(n,"_getStaticKey",(oe,ie)=>`${oe??g._nameSpace}${ie}`);const injectResponsiveStorage=(oe,ie)=>{const le=responsiveStorageNameSpace(),ue=Object.assign({locale:n.getData("locale",le)??{locale:ie.Locale??"zh"},layout:n.getData("layout",le)??{layout:ie.Layout??"vertical",theme:ie.Theme??"default",darkMode:ie.DarkMode??!1,sidebarStatus:ie.SidebarStatus??!0,epThemeColor:ie.EpThemeColor??"#409EFF"},configure:n.getData("configure",le)??{grey:ie.Grey??!1,weak:ie.Weak??!1,hideTabs:ie.HideTabs??!1,showLogo:ie.ShowLogo??!0,showModel:ie.ShowModel??"smart",multiTagsCache:ie.MultiTagsCache??!1}},ie.MultiTagsCache?{tags:n.getData("tags",le)??routerArrays}:{});oe.use(n,{nameSpace:le,memory:ue})},we=Object.prototype.hasOwnProperty,W=(oe,ie)=>we.call(oe,ie),q=oe=>oe!==null&&typeof oe=="object",Oe=((oe,ie)=>{if(!q(oe)||q(le=oe)&&le.__epPropKey)return oe;var le;const{values:ue,required:de,default:pe,type:he,validator:_e}=oe,$e=ue||_e?Ve=>{let Fe=!1,Ue=[];if(ue&&(Ue=Array.from(ue),W(oe,"default")&&Ue.push(pe),Fe||(Fe=Ue.includes(Ve))),_e&&(Fe||(Fe=_e(Ve))),!Fe&&Ue.length>0){const qe=[...new Set(Ue)].map(Et=>JSON.stringify(Et)).join(", ");warn$2(`Invalid prop: validation failed${ie?` for prop "${ie}"`:""}. Expected one of [${qe}], got value ${JSON.stringify(Ve)}.`)}return Fe}:void 0,Ie={type:he,required:!!de,validator:$e,__epPropKey:!0};return W(oe,"default")&&(Ie.default=pe),Ie})({type:String,values:["","default","small","large"],required:!1});var Se={data:{type:Array,default:()=>[]},size:Oe,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean};const xe={key:{type:String||Number,default:"0"},columns:{type:Array,default:[]},loading:{type:Boolean,default:!1},loadingConfig:{type:Object,default:()=>{}},alignWhole:{type:String,default:"left"},headerAlign:{type:String,default:""},showOverflowTooltip:{type:Boolean,default:!1},rowHoverBgColor:{type:String,default:""},pagination:{type:Object,default:{total:0,pageSize:5,align:"right",background:!1,pageSizes:[5,10,15,20],layout:"total, sizes, prev, pager, next, jumper"}},paginationSmall:{type:Boolean,default:!1},adaptive:{type:Boolean,default:!1},adaptiveConfig:{type:Object,default:{offsetBottom:96,fixHeader:!0,timeout:60,zIndex:100}},...Se},J=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:oe=>()=>createVNode(Fragment,null,[oe.render(oe.params)])});var ee=Object.defineProperty,je=Object.getOwnPropertyDescriptor,Ce=Object.getOwnPropertyNames,Be=Object.prototype.hasOwnProperty,U=(oe,ie,le,ue)=>{if(ie&&typeof ie=="object"||typeof ie=="function")for(let de of Ce(ie))!Be.call(oe,de)&&de!==le&&ee(oe,de,{get:()=>ie[de],enumerable:!(ue=je(ie,de))||ue.enumerable});return oe},ze=Object.prototype.toString;function G(oe){return typeof oe=="function"}function Ne(oe){return function(ie,le){return ze.call(ie)===`[object ${le}]`}(oe,"Boolean")}var h={};((oe,ie)=>{for(var le in ie)ee(oe,le,{get:ie[le],enumerable:!0})})(h,{Vue:()=>vue_runtime_esmBundler}),U(h,vue_runtime_esmBundler,"default");var Te=()=>{let oe,ie=(0,h.shallowRef)(!1),le=()=>{ie.value=document.documentElement.classList.contains("dark")};return function(ue){(0,h.getCurrentInstance)()&&(0,h.onUnmounted)(ue)}(()=>{oe.takeRecords(),oe.disconnect()}),(0,h.onBeforeMount)(()=>{le(),oe=new MutationObserver(le),oe.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:ie}};const D=defineComponent({name:"PureTable",props:xe,emits:["page-size-change","page-current-change"],setup(oe,{slots:ie,attrs:le,emit:ue,expose:de}){var pe;const{key:he,columns:_e,loading:$e,adaptive:Ie,pagination:Ve,alignWhole:Fe,headerAlign:Ue,loadingConfig:qe,adaptiveConfig:Et,rowHoverBgColor:At,showOverflowTooltip:Lt}=toRefs(oe),{isDark:hn}=Te(),vn=getCurrentInstance();let _n=unref(Ve)&&unref(Ve).currentPage&&unref(Ve).pageSize,bn=computed(()=>{if(!unref(qe))return;let{text:In,spinner:Fn,svg:Vn,viewBox:Dn}=unref(qe);return{"element-loading-text":In,"element-loading-spinner":Fn,"element-loading-svg":Vn,"element-loading-svg-view-box":Dn}});const Sn=computed(()=>{var In,Fn;if(unref($e))return{"element-loading-background":((Fn=(In=unref(qe))==null?void 0:In.background)!=null?Fn:hn.value)?"rgba(0, 0, 0, 0.45)":"rgba(255, 255, 255, 0.45)"}}),Cn=computed(()=>{var In;return Object.assign({width:"100%",margin:"16px 0",display:"flex",justifyContent:unref(Ve).align==="left"?"flex-start":unref(Ve).align==="center"?"center":"flex-end"},(In=unref(Ve).style)!=null?In:{})}),En=(In,Fn)=>{const{cellRenderer:Vn,slot:Dn,headerRenderer:zn,headerSlot:Mn,hide:Hn,children:Wn,prop:Un,...Zn}=In;if(G(Hn)&&Hn(le))return Hn(le);if(Ne(Hn)&&Hn)return Hn;const ar={default:Yn=>{var Kn;return Vn?createVNode(J,{render:Vn,params:Object.assign(Yn,{index:Yn.$index,props:oe,attrs:le})},null):Dn?(Kn=ie==null?void 0:ie[Dn])==null?void 0:Kn.call(ie,Object.assign(Yn,{index:Yn.$index,props:oe,attrs:le})):void 0}};let mr=zn?{header:Yn=>createVNode(J,{render:zn,params:Object.assign(Yn,{index:Yn.$index,props:oe,attrs:le})},null),...ar}:ie!=null&&ie[Mn]?{header:Yn=>{var Kn;return(Kn=ie==null?void 0:ie[Mn])==null?void 0:Kn.call(ie,Object.assign(Yn,{index:Yn.$index,props:oe,attrs:le}))},...ar}:ar;return(Wn==null?void 0:Wn.length)>0&&(mr=Wn.map(En)),createVNode(ElTableColumn,mergeProps({key:Fn},Zn,{prop:G(Un)&&Un(Fn)?Un(Fn):Un,align:In!=null&&In.align?In.align:unref(Fe),headerAlign:In!=null&&In.headerAlign?In.headerAlign:unref(Ue),showOverflowTooltip:In!=null&&In.showOverflowTooltip?In.showOverflowTooltip:unref(Lt)}),typeof(rr=mr)=="function"||Object.prototype.toString.call(rr)==="[object Object]"&&!isVNode$1(rr)?mr:{default:()=>[mr]});var rr},$n=()=>{var In;return(In=vn==null?void 0:vn.proxy)==null?void 0:In.$refs[`TableRef${unref(he)}`]},wn=()=>$n().$refs,Pn=async()=>{var In;await nextTick();const Fn=wn().tableWrapper,Vn=(In=unref(Et).offsetBottom)!=null?In:96;Fn.style.height=window.innerHeight-Fn.getBoundingClientRect().top-Vn+"px"},xn=((In,Fn=200,Vn=!1)=>{let Dn,zn,Mn=Fn;return function(){Dn&&clearTimeout(Dn),Vn?(Dn||In.call(zn,...arguments),Dn=setTimeout(()=>Dn=null,Mn)):Dn=setTimeout(()=>In.call(zn,...arguments),Mn)}})(Pn,(pe=unref(Et).timeout)!=null?pe:60),An=async(In=100)=>{await nextTick();const Fn=wn().tableHeaderRef.$el.style;Fn.position="sticky",Fn.top=0,Fn.zIndex=In};onMounted(()=>{nextTick(()=>{var In;if(unref(At)&&wn().tableWrapper.style.setProperty("--el-table-row-hover-bg-color",unref(At),"important"),unref(Ie)){if(Pn(),window.addEventListener("resize",xn),Reflect.has(unref(Et),"fixHeader")&&!unref(Et).fixHeader)return;An((In=unref(Et).zIndex)!=null?In:100)}})}),onBeforeUnmount(()=>{unref(Ie)&&window.removeEventListener("resize",xn)}),de({getTableRef:$n,getTableDoms:wn,setAdaptive:Pn,setHeaderSticky:An});let On=()=>{var In,Fn;return createVNode(Fragment,null,[createVNode(ElTable,mergeProps(oe,le,{ref:`TableRef${unref(he)}`}),{default:()=>unref(_e).map(En),append:()=>ie.append&&ie.append(),empty:()=>ie.empty&&ie.empty()}),_n?createVNode(ElPagination,mergeProps(le,{class:"pure-pagination",style:unref(Cn)},unref(Ve),{small:oe!=null&&oe.paginationSmall?oe==null?void 0:oe.paginationSmall:!!unref(Ve).small&&unref(Ve).small,layout:(In=unref(Ve).layout)!=null?In:"total, sizes, prev, pager, next, jumper",pageSizes:(Fn=unref(Ve).pageSizes)!=null?Fn:[5,10,15,20],onSizeChange:Vn=>(Dn=>{unref(Ve).pageSize=Dn,ue("page-size-change",Dn)})(Vn),onCurrentChange:Vn=>(Dn=>{unref(Ve).currentPage=Dn,ue("page-current-change",Dn)})(Vn)}),null):null])};return()=>withDirectives(createVNode("div",mergeProps({class:"pure-table",style:"width:100%"},unref(Sn),unref(bn)),[On()]),[[resolveDirective("loading"),unref($e)]])}}),Pe=Object.assign(D,{install:function(oe){oe.component(D.name,D)}}),L={data:{type:Array,default:[]},columns:{type:Array,default:[]},loading:{type:Object,default:()=>({load:!1,text:"Loading...",svg:"",spinner:"",svgViewBox:"",background:""})},align:{type:String,default:"left"},labelAlign:{type:String,default:""},...ElDescriptions.props},j=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:oe=>()=>createVNode(Fragment,null,[oe.render(oe.params)])}),m=defineComponent({name:"PureDescriptions",props:L,setup(oe,{slots:ie,attrs:le}){const{data:ue,columns:de,align:pe,labelAlign:he,loading:_e}=toRefs(oe),$e={title:()=>(ie==null?void 0:ie.title)&&ie.title({props:oe,attrs:le})},Ie={extra:()=>(ie==null?void 0:ie.extra)&&ie.extra({props:oe,attrs:le})},Ve=ie!=null&&ie.title&&!(ie!=null&&ie.extra)?$e:ie!=null&&ie.extra&&!(ie!=null&&ie.title)?Ie:ie!=null&&ie.title&&(ie!=null&&ie.extra)?Object.assign($e,Ie):null;return()=>{var Fe;return withDirectives(createVNode(ElDescriptions,mergeProps(oe,le,{"element-loading-text":(Fe=unref(_e).text)!=null?Fe:"Loading...","element-loading-svg":unref(_e).svg,"element-loading-spinner":unref(_e).spinner,"element-loading-svg-view-box":unref(_e).svgViewBox,"element-loading-background":unref(_e).background}),{default:()=>[unref(de).map((Ue,qe)=>{let Et=unref(ue).map(_n=>_n[Ue==null?void 0:Ue.prop]);const At={default:()=>{var _n;return Ue!=null&&Ue.cellRenderer?createVNode(j,{render:Ue.cellRenderer,params:{props:oe,attrs:le,index:qe,value:Et[0]}},null):Ue!=null&&Ue.slot?(_n=ie==null?void 0:ie[Ue.slot])==null?void 0:_n.call(ie,{props:oe,attrs:le,index:qe,value:Et[0]}):createVNode(Fragment,null,Ue!=null&&Ue.value?[unref(Ue.value)]:[Et])}},Lt=Ue!=null&&Ue.labelRenderer?{label:()=>createVNode(j,{render:Ue.labelRenderer,params:{props:oe,attrs:le,index:qe,value:Et[0]}},null),...At}:At;return hn=Ue==null?void 0:Ue.hide,typeof hn=="function"&&(Ue!=null&&Ue.hide(le))?Ue==null?void 0:Ue.hide(le):createVNode(ElDescriptionsItem,mergeProps(Ue,{key:qe,align:Ue.align?Ue.align:unref(pe),labelAlign:Ue.labelAlign?Ue.labelAlign:unref(he)}),typeof(vn=Lt)=="function"||Object.prototype.toString.call(vn)==="[object Object]"&&!isVNode$1(vn)?Lt:{default:()=>[Lt]});var hn,vn})],...Ve}),[[resolveDirective("loading"),unref(_e).load]])}}}),I=Object.assign(m,{install:function(oe){oe.component(m.name,m)}}),reset="",index$1="",tailwind="",index="";window._iconfont_svg_string_2208059='',function(oe){var le=(le=document.getElementsByTagName("script"))[le.length-1],ie=le.getAttribute("data-injectcss"),le=le.getAttribute("data-disable-injectsvg");if(!le){var ue,de,pe,he,_e,$e=function(Fe,Ue){Ue.parentNode.insertBefore(Fe,Ue)};if(ie&&!oe.__iconfont__svg__cssinject__){oe.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(Fe){console&&console.log(Fe)}}ue=function(){var Fe,Ue=document.createElement("div");Ue.innerHTML=oe._iconfont_svg_string_2208059,(Ue=Ue.getElementsByTagName("svg")[0])&&(Ue.setAttribute("aria-hidden","true"),Ue.style.position="absolute",Ue.style.width=0,Ue.style.height=0,Ue.style.overflow="hidden",Ue=Ue,(Fe=document.body).firstChild?$e(Ue,Fe.firstChild):Fe.appendChild(Ue))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(ue,0):(de=function(){document.removeEventListener("DOMContentLoaded",de,!1),ue()},document.addEventListener("DOMContentLoaded",de,!1)):document.attachEvent&&(pe=ue,he=oe.document,_e=!1,Ve(),he.onreadystatechange=function(){he.readyState=="complete"&&(he.onreadystatechange=null,Ie())})}function Ie(){_e||(_e=!0,pe())}function Ve(){try{he.documentElement.doScroll("left")}catch{return void setTimeout(Ve,50)}Ie()}}(window);const iconfont="",auth$1={mounted(oe,ie){var ue;const{value:le}=ie;if(le)!hasAuth(le)&&((ue=oe.parentNode)==null||ue.removeChild(oe));else throw new Error(`[Directive: auth]: need auths! Like v-auth="['btn.add','btn.edit']"`)}},message=(oe,ie)=>{if(ie){const{icon:le,type:ue="info",dangerouslyUseHTMLString:de=!1,customClass:pe="antd",duration:he=2e3,showClose:_e=!1,center:$e=!1,offset:Ie=20,appendTo:Ve=document.body,grouping:Fe=!1,onClose:Ue}=ie;return ElMessage({message:oe,type:ue,icon:le,dangerouslyUseHTMLString:de,duration:he,showClose:_e,center:$e,offset:Ie,appendTo:Ve,grouping:Fe,customClass:pe==="antd"?"pure-message":"",onClose:()=>q$1(Ue)?Ue():null})}else return ElMessage({message:oe,customClass:"pure-message"})},closeAllMessage=()=>ElMessage.closeAll(),copy={mounted(oe,ie){const{value:le}=ie;if(le){oe.copyValue=le;const ue=ie.arg??"dblclick";useEventListener(oe,ue,()=>{se(oe.copyValue)?message("复制成功",{type:"success"}):message("复制失败",{type:"error"})})}else throw new Error('[Directive: copy]: need value! Like v-copy="modelValue"')},updated(oe,ie){oe.copyValue=ie.value}},longpress={mounted(oe,ie){var ue;const le=ie.value;if(le&&q$1(le)){let de=null,pe=null,he=500,_e=null;const $e=((ue=ie==null?void 0:ie.arg)==null?void 0:ue.includes(":"))??!1;$e?(he=Number(Vt(ie.arg,":")),_e=Number(Zt(ie.arg,":"))):ie.arg&&(he=Number(ie.arg));const Ie=()=>{de&&(clearTimeout(de),de=null),pe&&(clearInterval(pe),pe=null)},Ve=Ue=>{Ue.preventDefault(),pe===null&&(pe=setInterval(()=>le(),_e))};useEventListener(oe,"pointerdown",Ue=>{Ie(),Ue.preventDefault(),de===null&&(de=setTimeout($e?()=>{le(),Ve(Ue)}:()=>le(),he))}),useEventListener(oe,"pointerup",Ie),useEventListener(oe,"pointerleave",Ie)}else throw new Error('[Directive: longpress]: need callback and callback must be a function! Like v-longpress="callback"')}},optimize={mounted(oe,ie){const{value:le}=ie,ue=ie.arg??"debounce",de=["debounce","throttle"].find(pe=>pe===ue);if(de)if(le&&le.event&&q$1(le.fn)){let pe=le==null?void 0:le.params;if(pe)if($(pe)||k(pe))pe=k(pe)?Array.of(pe):pe;else throw new Error("[Directive: optimize]: `params` must be an array or object");useEventListener(oe,le.event,de==="debounce"?vt(pe?()=>le.fn(...pe):le.fn,(le==null?void 0:le.timeout)??200,(le==null?void 0:le.immediate)??!1):Ln(pe?()=>le.fn(...pe):le.fn,(le==null?void 0:le.timeout)??1e3))}else throw new Error("[Directive: optimize]: `event` and `fn` are required, and `fn` must be a function");else throw new Error("[Directive: optimize]: only `debounce` and `throttle` are supported")}},directives=Object.freeze(Object.defineProperty({__proto__:null,auth:auth$1,copy,longpress,optimize},Symbol.toStringTag,{value:"Module"})),defaultIconDimensions$1=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations$1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps$1=Object.freeze({...defaultIconDimensions$1,...defaultIconTransformations$1});Object.freeze({...defaultIconProps$1,body:"",hidden:!1});({...defaultIconDimensions$1});const defaultIconSizeCustomisations$1=Object.freeze({width:null,height:null}),defaultIconCustomisations$1=Object.freeze({...defaultIconSizeCustomisations$1,...defaultIconTransformations$1});function mergeCustomisations$1(oe,ie){const le={...oe};for(const ue in ie){const de=ie[ue],pe=typeof de;ue in defaultIconSizeCustomisations$1?(de===null||de&&(pe==="string"||pe==="number"))&&(le[ue]=de):pe===typeof le[ue]&&(le[ue]=ue==="rotate"?de%4:de)}return le}const separator$1=/[\s,]+/;function flipFromString$1(oe,ie){ie.split(separator$1).forEach(le=>{switch(le.trim()){case"horizontal":oe.hFlip=!0;break;case"vertical":oe.vFlip=!0;break}})}function rotateFromString$1(oe,ie=0){const le=oe.replace(/^-?[0-9.]*/,"");function ue(de){for(;de<0;)de+=4;return de%4}if(le===""){const de=parseInt(oe);return isNaN(de)?0:ue(de)}else if(le!==oe){let de=0;switch(le){case"%":de=25;break;case"deg":de=90}if(de){let pe=parseFloat(oe.slice(0,oe.length-le.length));return isNaN(pe)?0:(pe=pe/de,pe%1===0?ue(pe):0)}}return ie}const unitsSplit$1=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest$1=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize$1(oe,ie,le){if(ie===1)return oe;if(le=le||100,typeof oe=="number")return Math.ceil(oe*ie*le)/le;if(typeof oe!="string")return oe;const ue=oe.split(unitsSplit$1);if(ue===null||!ue.length)return oe;const de=[];let pe=ue.shift(),he=unitsTest$1.test(pe);for(;;){if(he){const _e=parseFloat(pe);isNaN(_e)?de.push(pe):de.push(Math.ceil(_e*ie*le)/le)}else de.push(pe);if(pe=ue.shift(),pe===void 0)return de.join("");he=!he}}const isUnsetKeyword$1=oe=>oe==="unset"||oe==="undefined"||oe==="none";function iconToSVG$1(oe,ie){const le={...defaultIconProps$1,...oe},ue={...defaultIconCustomisations$1,...ie},de={left:le.left,top:le.top,width:le.width,height:le.height};let pe=le.body;[le,ue].forEach(Et=>{const At=[],Lt=Et.hFlip,hn=Et.vFlip;let vn=Et.rotate;Lt?hn?vn+=2:(At.push("translate("+(de.width+de.left).toString()+" "+(0-de.top).toString()+")"),At.push("scale(-1 1)"),de.top=de.left=0):hn&&(At.push("translate("+(0-de.left).toString()+" "+(de.height+de.top).toString()+")"),At.push("scale(1 -1)"),de.top=de.left=0);let _n;switch(vn<0&&(vn-=Math.floor(vn/4)*4),vn=vn%4,vn){case 1:_n=de.height/2+de.top,At.unshift("rotate(90 "+_n.toString()+" "+_n.toString()+")");break;case 2:At.unshift("rotate(180 "+(de.width/2+de.left).toString()+" "+(de.height/2+de.top).toString()+")");break;case 3:_n=de.width/2+de.left,At.unshift("rotate(-90 "+_n.toString()+" "+_n.toString()+")");break}vn%2===1&&(de.left!==de.top&&(_n=de.left,de.left=de.top,de.top=_n),de.width!==de.height&&(_n=de.width,de.width=de.height,de.height=_n)),At.length&&(pe=''+pe+"")});const he=ue.width,_e=ue.height,$e=de.width,Ie=de.height;let Ve,Fe;he===null?(Fe=_e===null?"1em":_e==="auto"?Ie:_e,Ve=calculateSize$1(Fe,$e/Ie)):(Ve=he==="auto"?$e:he,Fe=_e===null?calculateSize$1(Ve,Ie/$e):_e==="auto"?Ie:_e);const Ue={},qe=(Et,At)=>{isUnsetKeyword$1(At)||(Ue[Et]=At.toString())};return qe("width",Ve),qe("height",Fe),Ue.viewBox=de.left.toString()+" "+de.top.toString()+" "+$e.toString()+" "+Ie.toString(),{attributes:Ue,body:pe}}const regex$1=/\sid="(\S+)"/g,randomPrefix$1="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter$1=0;function replaceIDs$1(oe,ie=randomPrefix$1){const le=[];let ue;for(;ue=regex$1.exec(oe);)le.push(ue[1]);if(!le.length)return oe;const de="suffix"+(Math.random()*16777216|Date.now()).toString(16);return le.forEach(pe=>{const he=typeof ie=="function"?ie(pe):ie+(counter$1++).toString(),_e=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");oe=oe.replace(new RegExp('([#;"])('+_e+')([")]|\\.[a-z])',"g"),"$1"+he+de+"$3")}),oe=oe.replace(new RegExp(de,"g"),""),oe}function iconToHTML$1(oe,ie){let le=oe.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const ue in ie)le+=" "+ue+'="'+ie[ue]+'"';return'"+oe+""}function encodeSVGforURL$1(oe){return oe.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function svgToData$1(oe){return"data:image/svg+xml,"+encodeSVGforURL$1(oe)}function svgToURL$1(oe){return'url("'+svgToData$1(oe)+'")'}const defaultExtendedIconCustomisations$1={...defaultIconCustomisations$1,inline:!1},svgDefaults$1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps$1={display:"inline-block"},monotoneProps$1={backgroundColor:"currentColor"},coloredProps$1={backgroundColor:"transparent"},propsToAdd$1={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo$1={webkitMask:monotoneProps$1,mask:monotoneProps$1,background:coloredProps$1};for(const oe in propsToAddTo$1){const ie=propsToAddTo$1[oe];for(const le in propsToAdd$1)ie[oe+le]=propsToAdd$1[le]}const customisationAliases$1={};["horizontal","vertical"].forEach(oe=>{const ie=oe.slice(0,1)+"Flip";customisationAliases$1[oe+"-flip"]=ie,customisationAliases$1[oe.slice(0,1)+"-flip"]=ie,customisationAliases$1[oe+"Flip"]=ie});function fixSize$1(oe){return oe+(oe.match(/^[-0-9.]+$/)?"px":"")}const render$1=(oe,ie)=>{const le=mergeCustomisations$1(defaultExtendedIconCustomisations$1,ie),ue={...svgDefaults$1},de=ie.mode||"svg",pe={},he=ie.style,_e=typeof he=="object"&&!(he instanceof Array)?he:{};for(let At in ie){const Lt=ie[At];if(Lt!==void 0)switch(At){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":le[At]=Lt===!0||Lt==="true"||Lt===1;break;case"flip":typeof Lt=="string"&&flipFromString$1(le,Lt);break;case"color":pe.color=Lt;break;case"rotate":typeof Lt=="string"?le[At]=rotateFromString$1(Lt):typeof Lt=="number"&&(le[At]=Lt);break;case"ariaHidden":case"aria-hidden":Lt!==!0&&Lt!=="true"&&delete ue["aria-hidden"];break;default:{const hn=customisationAliases$1[At];hn?(Lt===!0||Lt==="true"||Lt===1)&&(le[hn]=!0):defaultExtendedIconCustomisations$1[At]===void 0&&(ue[At]=Lt)}}}const $e=iconToSVG$1(oe,le),Ie=$e.attributes;if(le.inline&&(pe.verticalAlign="-0.125em"),de==="svg"){ue.style={...pe,..._e},Object.assign(ue,Ie);let At=0,Lt=ie.id;return typeof Lt=="string"&&(Lt=Lt.replace(/-/g,"_")),ue.innerHTML=replaceIDs$1($e.body,Lt?()=>Lt+"ID"+At++:"iconifyVue"),h$3("svg",ue)}const{body:Ve,width:Fe,height:Ue}=oe,qe=de==="mask"||(de==="bg"?!1:Ve.indexOf("currentColor")!==-1),Et=iconToHTML$1(Ve,{...Ie,width:Fe+"",height:Ue+""});return ue.style={...pe,"--svg":svgToURL$1(Et),width:fixSize$1(Ie.width),height:fixSize$1(Ie.height),...commonProps$1,...qe?monotoneProps$1:coloredProps$1,..._e},h$3("span",ue)},storage$1=Object.create(null);function addIcon$1(oe,ie){storage$1[oe]=ie}const Icon$1=defineComponent({inheritAttrs:!1,render(){const oe=this.$attrs,ie=oe.icon,le=typeof ie=="string"?storage$1[ie]:typeof ie=="object"?ie:null;return le===null||typeof le!="object"||typeof le.body!="string"?this.$slots.default?this.$slots.default():null:render$1({...defaultIconProps$1,...le},oe)}}),iconifyIconOffline=defineComponent({name:"IconifyIconOffline",components:{IconifyIcon:Icon$1},props:{icon:{default:null}},render(){typeof this.icon=="object"&&addIcon$1(this.icon,this.icon);const oe=this.$attrs;return h$3(Icon$1,{icon:this.icon,style:oe!=null&&oe.style?Object.assign(oe.style,{outline:"none"}):{outline:"none"},...oe},{default:()=>[]})}}),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(oe,ie,le,ue="")=>{const de=oe.split(":");if(oe.slice(0,1)==="@"){if(de.length<2||de.length>3)return null;ue=de.shift().slice(1)}if(de.length>3||!de.length)return null;if(de.length>1){const _e=de.pop(),$e=de.pop(),Ie={provider:de.length>0?de[0]:ue,prefix:$e,name:_e};return ie&&!validateIconName(Ie)?null:Ie}const pe=de[0],he=pe.split("-");if(he.length>1){const _e={provider:ue,prefix:he.shift(),name:he.join("-")};return ie&&!validateIconName(_e)?null:_e}if(le&&ue===""){const _e={provider:ue,prefix:"",name:pe};return ie&&!validateIconName(_e,le)?null:_e}return null},validateIconName=(oe,ie)=>oe?!!((oe.provider===""||oe.provider.match(matchIconName))&&(ie&&oe.prefix===""||oe.prefix.match(matchIconName))&&oe.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(oe,ie){const le={};!oe.hFlip!=!ie.hFlip&&(le.hFlip=!0),!oe.vFlip!=!ie.vFlip&&(le.vFlip=!0);const ue=((oe.rotate||0)+(ie.rotate||0))%4;return ue&&(le.rotate=ue),le}function mergeIconData(oe,ie){const le=mergeIconTransformations(oe,ie);for(const ue in defaultExtendedIconProps)ue in defaultIconTransformations?ue in oe&&!(ue in le)&&(le[ue]=defaultIconTransformations[ue]):ue in ie?le[ue]=ie[ue]:ue in oe&&(le[ue]=oe[ue]);return le}function getIconsTree(oe,ie){const le=oe.icons,ue=oe.aliases||Object.create(null),de=Object.create(null);function pe(he){if(le[he])return de[he]=[];if(!(he in de)){de[he]=null;const _e=ue[he]&&ue[he].parent,$e=_e&&pe(_e);$e&&(de[he]=[_e].concat($e))}return de[he]}return(ie||Object.keys(le).concat(Object.keys(ue))).forEach(pe),de}function internalGetIconData(oe,ie,le){const ue=oe.icons,de=oe.aliases||Object.create(null);let pe={};function he(_e){pe=mergeIconData(ue[_e]||de[_e],pe)}return he(ie),le.forEach(he),mergeIconData(oe,pe)}function parseIconSet(oe,ie){const le=[];if(typeof oe!="object"||typeof oe.icons!="object")return le;oe.not_found instanceof Array&&oe.not_found.forEach(de=>{ie(de,null),le.push(de)});const ue=getIconsTree(oe);for(const de in ue){const pe=ue[de];pe&&(ie(de,internalGetIconData(oe,de,pe)),le.push(de))}return le}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(oe,ie){for(const le in ie)if(le in oe&&typeof oe[le]!=typeof ie[le])return!1;return!0}function quicklyValidateIconSet(oe){if(typeof oe!="object"||oe===null)return null;const ie=oe;if(typeof ie.prefix!="string"||!oe.icons||typeof oe.icons!="object"||!checkOptionalProps(oe,optionalPropertyDefaults))return null;const le=ie.icons;for(const de in le){const pe=le[de];if(!de.match(matchIconName)||typeof pe.body!="string"||!checkOptionalProps(pe,defaultExtendedIconProps))return null}const ue=ie.aliases||Object.create(null);for(const de in ue){const pe=ue[de],he=pe.parent;if(!de.match(matchIconName)||typeof he!="string"||!le[he]&&!ue[he]||!checkOptionalProps(pe,defaultExtendedIconProps))return null}return ie}const dataStorage=Object.create(null);function newStorage(oe,ie){return{provider:oe,prefix:ie,icons:Object.create(null),missing:new Set}}function getStorage(oe,ie){const le=dataStorage[oe]||(dataStorage[oe]=Object.create(null));return le[ie]||(le[ie]=newStorage(oe,ie))}function addIconSet(oe,ie){return quicklyValidateIconSet(ie)?parseIconSet(ie,(le,ue)=>{ue?oe.icons[le]=ue:oe.missing.add(le)}):[]}function addIconToStorage(oe,ie,le){try{if(typeof le.body=="string")return oe.icons[ie]={...le},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(oe){return typeof oe=="boolean"&&(simpleNames=oe),simpleNames}function getIconData(oe){const ie=typeof oe=="string"?stringToIcon(oe,!0,simpleNames):oe;if(ie){const le=getStorage(ie.provider,ie.prefix),ue=ie.name;return le.icons[ue]||(le.missing.has(ue)?null:void 0)}}function addIcon(oe,ie){const le=stringToIcon(oe,!0,simpleNames);if(!le)return!1;const ue=getStorage(le.provider,le.prefix);return addIconToStorage(ue,le.name,ie)}function addCollection(oe,ie){if(typeof oe!="object")return!1;if(typeof ie!="string"&&(ie=oe.provider||""),simpleNames&&!ie&&!oe.prefix){let de=!1;return quicklyValidateIconSet(oe)&&(oe.prefix="",parseIconSet(oe,(pe,he)=>{he&&addIcon(pe,he)&&(de=!0)})),de}const le=oe.prefix;if(!validateIconName({provider:ie,prefix:le,name:"a"}))return!1;const ue=getStorage(ie,le);return!!addIconSet(ue,oe)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(oe,ie,le){if(ie===1)return oe;if(le=le||100,typeof oe=="number")return Math.ceil(oe*ie*le)/le;if(typeof oe!="string")return oe;const ue=oe.split(unitsSplit);if(ue===null||!ue.length)return oe;const de=[];let pe=ue.shift(),he=unitsTest.test(pe);for(;;){if(he){const _e=parseFloat(pe);isNaN(_e)?de.push(pe):de.push(Math.ceil(_e*ie*le)/le)}else de.push(pe);if(pe=ue.shift(),pe===void 0)return de.join("");he=!he}}const isUnsetKeyword=oe=>oe==="unset"||oe==="undefined"||oe==="none";function iconToSVG(oe,ie){const le={...defaultIconProps,...oe},ue={...defaultIconCustomisations,...ie},de={left:le.left,top:le.top,width:le.width,height:le.height};let pe=le.body;[le,ue].forEach(Et=>{const At=[],Lt=Et.hFlip,hn=Et.vFlip;let vn=Et.rotate;Lt?hn?vn+=2:(At.push("translate("+(de.width+de.left).toString()+" "+(0-de.top).toString()+")"),At.push("scale(-1 1)"),de.top=de.left=0):hn&&(At.push("translate("+(0-de.left).toString()+" "+(de.height+de.top).toString()+")"),At.push("scale(1 -1)"),de.top=de.left=0);let _n;switch(vn<0&&(vn-=Math.floor(vn/4)*4),vn=vn%4,vn){case 1:_n=de.height/2+de.top,At.unshift("rotate(90 "+_n.toString()+" "+_n.toString()+")");break;case 2:At.unshift("rotate(180 "+(de.width/2+de.left).toString()+" "+(de.height/2+de.top).toString()+")");break;case 3:_n=de.width/2+de.left,At.unshift("rotate(-90 "+_n.toString()+" "+_n.toString()+")");break}vn%2===1&&(de.left!==de.top&&(_n=de.left,de.left=de.top,de.top=_n),de.width!==de.height&&(_n=de.width,de.width=de.height,de.height=_n)),At.length&&(pe=''+pe+"")});const he=ue.width,_e=ue.height,$e=de.width,Ie=de.height;let Ve,Fe;he===null?(Fe=_e===null?"1em":_e==="auto"?Ie:_e,Ve=calculateSize(Fe,$e/Ie)):(Ve=he==="auto"?$e:he,Fe=_e===null?calculateSize(Ve,Ie/$e):_e==="auto"?Ie:_e);const Ue={},qe=(Et,At)=>{isUnsetKeyword(At)||(Ue[Et]=At.toString())};return qe("width",Ve),qe("height",Fe),Ue.viewBox=de.left.toString()+" "+de.top.toString()+" "+$e.toString()+" "+Ie.toString(),{attributes:Ue,body:pe}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(oe,ie=randomPrefix){const le=[];let ue;for(;ue=regex.exec(oe);)le.push(ue[1]);if(!le.length)return oe;const de="suffix"+(Math.random()*16777216|Date.now()).toString(16);return le.forEach(pe=>{const he=typeof ie=="function"?ie(pe):ie+(counter++).toString(),_e=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");oe=oe.replace(new RegExp('([#;"])('+_e+')([")]|\\.[a-z])',"g"),"$1"+he+de+"$3")}),oe=oe.replace(new RegExp(de,"g"),""),oe}const storage=Object.create(null);function setAPIModule(oe,ie){storage[oe]=ie}function getAPIModule(oe){return storage[oe]||storage[""]}function createAPIConfig(oe){let ie;if(typeof oe.resources=="string")ie=[oe.resources];else if(ie=oe.resources,!(ie instanceof Array)||!ie.length)return null;return{resources:ie,path:oe.path||"/",maxURL:oe.maxURL||500,rotate:oe.rotate||750,timeout:oe.timeout||5e3,random:oe.random===!0,index:oe.index||0,dataAfterTimeout:oe.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(oe,ie){const le=createAPIConfig(ie);return le===null?!1:(configStorage[oe]=le,!0)}function getAPIConfig(oe){return configStorage[oe]}const detectFetch=()=>{let oe;try{if(oe=fetch,typeof oe=="function")return oe}catch{}};let fetchModule=detectFetch();function calculateMaxLength(oe,ie){const le=getAPIConfig(oe);if(!le)return 0;let ue;if(!le.maxURL)ue=0;else{let de=0;le.resources.forEach(he=>{de=Math.max(de,he.length)});const pe=ie+".json?icons=";ue=le.maxURL-de-le.path.length-pe.length}return ue}function shouldAbort(oe){return oe===404}const prepare=(oe,ie,le)=>{const ue=[],de=calculateMaxLength(oe,ie),pe="icons";let he={type:pe,provider:oe,prefix:ie,icons:[]},_e=0;return le.forEach(($e,Ie)=>{_e+=$e.length+1,_e>=de&&Ie>0&&(ue.push(he),he={type:pe,provider:oe,prefix:ie,icons:[]},_e=$e.length),he.icons.push($e)}),ue.push(he),ue};function getPath(oe){if(typeof oe=="string"){const ie=getAPIConfig(oe);if(ie)return ie.path}return"/"}const send=(oe,ie,le)=>{if(!fetchModule){le("abort",424);return}let ue=getPath(ie.provider);switch(ie.type){case"icons":{const pe=ie.prefix,_e=ie.icons.join(","),$e=new URLSearchParams({icons:_e});ue+=pe+".json?"+$e.toString();break}case"custom":{const pe=ie.uri;ue+=pe.slice(0,1)==="/"?pe.slice(1):pe;break}default:le("abort",400);return}let de=503;fetchModule(oe+ue).then(pe=>{const he=pe.status;if(he!==200){setTimeout(()=>{le(shouldAbort(he)?"abort":"next",he)});return}return de=501,pe.json()}).then(pe=>{if(typeof pe!="object"||pe===null){setTimeout(()=>{pe===404?le("abort",pe):le("next",de)});return}setTimeout(()=>{le("success",pe)})}).catch(()=>{le("next",de)})},fetchAPIModule={prepare,send};function sortIcons(oe){const ie={loaded:[],missing:[],pending:[]},le=Object.create(null);oe.sort((de,pe)=>de.provider!==pe.provider?de.provider.localeCompare(pe.provider):de.prefix!==pe.prefix?de.prefix.localeCompare(pe.prefix):de.name.localeCompare(pe.name));let ue={provider:"",prefix:"",name:""};return oe.forEach(de=>{if(ue.name===de.name&&ue.prefix===de.prefix&&ue.provider===de.provider)return;ue=de;const pe=de.provider,he=de.prefix,_e=de.name,$e=le[pe]||(le[pe]=Object.create(null)),Ie=$e[he]||($e[he]=getStorage(pe,he));let Ve;_e in Ie.icons?Ve=ie.loaded:he===""||Ie.missing.has(_e)?Ve=ie.missing:Ve=ie.pending;const Fe={provider:pe,prefix:he,name:_e};Ve.push(Fe)}),ie}function removeCallback(oe,ie){oe.forEach(le=>{const ue=le.loaderCallbacks;ue&&(le.loaderCallbacks=ue.filter(de=>de.id!==ie))})}function updateCallbacks(oe){oe.pendingCallbacksFlag||(oe.pendingCallbacksFlag=!0,setTimeout(()=>{oe.pendingCallbacksFlag=!1;const ie=oe.loaderCallbacks?oe.loaderCallbacks.slice(0):[];if(!ie.length)return;let le=!1;const ue=oe.provider,de=oe.prefix;ie.forEach(pe=>{const he=pe.icons,_e=he.pending.length;he.pending=he.pending.filter($e=>{if($e.prefix!==de)return!0;const Ie=$e.name;if(oe.icons[Ie])he.loaded.push({provider:ue,prefix:de,name:Ie});else if(oe.missing.has(Ie))he.missing.push({provider:ue,prefix:de,name:Ie});else return le=!0,!0;return!1}),he.pending.length!==_e&&(le||removeCallback([oe],pe.id),pe.callback(he.loaded.slice(0),he.missing.slice(0),he.pending.slice(0),pe.abort))})}))}let idCounter=0;function storeCallback(oe,ie,le){const ue=idCounter++,de=removeCallback.bind(null,le,ue);if(!ie.pending.length)return de;const pe={id:ue,icons:ie,callback:oe,abort:de};return le.forEach(he=>{(he.loaderCallbacks||(he.loaderCallbacks=[])).push(pe)}),de}function listToIcons(oe,ie=!0,le=!1){const ue=[];return oe.forEach(de=>{const pe=typeof de=="string"?stringToIcon(de,ie,le):de;pe&&ue.push(pe)}),ue}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(oe,ie,le,ue){const de=oe.resources.length,pe=oe.random?Math.floor(Math.random()*de):oe.index;let he;if(oe.random){let Cn=oe.resources.slice(0);for(he=[];Cn.length>1;){const En=Math.floor(Math.random()*Cn.length);he.push(Cn[En]),Cn=Cn.slice(0,En).concat(Cn.slice(En+1))}he=he.concat(Cn)}else he=oe.resources.slice(pe).concat(oe.resources.slice(0,pe));const _e=Date.now();let $e="pending",Ie=0,Ve,Fe=null,Ue=[],qe=[];typeof ue=="function"&&qe.push(ue);function Et(){Fe&&(clearTimeout(Fe),Fe=null)}function At(){$e==="pending"&&($e="aborted"),Et(),Ue.forEach(Cn=>{Cn.status==="pending"&&(Cn.status="aborted")}),Ue=[]}function Lt(Cn,En){En&&(qe=[]),typeof Cn=="function"&&qe.push(Cn)}function hn(){return{startTime:_e,payload:ie,status:$e,queriesSent:Ie,queriesPending:Ue.length,subscribe:Lt,abort:At}}function vn(){$e="failed",qe.forEach(Cn=>{Cn(void 0,Ve)})}function _n(){Ue.forEach(Cn=>{Cn.status==="pending"&&(Cn.status="aborted")}),Ue=[]}function bn(Cn,En,$n){const wn=En!=="success";switch(Ue=Ue.filter(Pn=>Pn!==Cn),$e){case"pending":break;case"failed":if(wn||!oe.dataAfterTimeout)return;break;default:return}if(En==="abort"){Ve=$n,vn();return}if(wn){Ve=$n,Ue.length||(he.length?Sn():vn());return}if(Et(),_n(),!oe.random){const Pn=oe.resources.indexOf(Cn.resource);Pn!==-1&&Pn!==oe.index&&(oe.index=Pn)}$e="completed",qe.forEach(Pn=>{Pn($n)})}function Sn(){if($e!=="pending")return;Et();const Cn=he.shift();if(Cn===void 0){if(Ue.length){Fe=setTimeout(()=>{Et(),$e==="pending"&&(_n(),vn())},oe.timeout);return}vn();return}const En={status:"pending",resource:Cn,callback:($n,wn)=>{bn(En,$n,wn)}};Ue.push(En),Ie++,Fe=setTimeout(Sn,oe.rotate),le(Cn,ie,En.callback)}return setTimeout(Sn),hn}function initRedundancy(oe){const ie={...defaultConfig,...oe};let le=[];function ue(){le=le.filter(_e=>_e().status==="pending")}function de(_e,$e,Ie){const Ve=sendQuery(ie,_e,$e,(Fe,Ue)=>{ue(),Ie&&Ie(Fe,Ue)});return le.push(Ve),Ve}function pe(_e){return le.find($e=>_e($e))||null}return{query:de,find:pe,setIndex:_e=>{ie.index=_e},getIndex:()=>ie.index,cleanup:ue}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(oe){if(!redundancyCache[oe]){const ie=getAPIConfig(oe);if(!ie)return;const le=initRedundancy(ie),ue={config:ie,redundancy:le};redundancyCache[oe]=ue}return redundancyCache[oe]}function sendAPIQuery(oe,ie,le){let ue,de;if(typeof oe=="string"){const pe=getAPIModule(oe);if(!pe)return le(void 0,424),emptyCallback$1;de=pe.send;const he=getRedundancyCache(oe);he&&(ue=he.redundancy)}else{const pe=createAPIConfig(oe);if(pe){ue=initRedundancy(pe);const he=oe.resources?oe.resources[0]:"",_e=getAPIModule(he);_e&&(de=_e.send)}}return!ue||!de?(le(void 0,424),emptyCallback$1):ue.query(ie,de,le)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(oe,ie){try{return oe.getItem(ie)}catch{}}function setStoredItem(oe,ie,le){try{return oe.setItem(ie,le),!0}catch{}}function removeStoredItem(oe,ie){try{oe.removeItem(ie)}catch{}}function setBrowserStorageItemsCount(oe,ie){return setStoredItem(oe,browserCacheCountKey,ie.toString())}function getBrowserStorageItemsCount(oe){return parseInt(getStoredItem(oe,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(oe){browserStorageStatus=oe}let _window=typeof window>"u"?{}:window;function getBrowserStorage(oe){const ie=oe+"Storage";try{if(_window&&_window[ie]&&typeof _window[ie].length=="number")return _window[ie]}catch{}browserStorageConfig[oe]=!1}function iterateBrowserStorage(oe,ie){const le=getBrowserStorage(oe);if(!le)return;const ue=getStoredItem(le,browserCacheVersionKey);if(ue!==browserCacheVersion){if(ue){const _e=getBrowserStorageItemsCount(le);for(let $e=0;$e<_e;$e++)removeStoredItem(le,browserCachePrefix+$e.toString())}setStoredItem(le,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(le,0);return}const de=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,pe=_e=>{const $e=browserCachePrefix+_e.toString(),Ie=getStoredItem(le,$e);if(typeof Ie=="string"){try{const Ve=JSON.parse(Ie);if(typeof Ve=="object"&&typeof Ve.cached=="number"&&Ve.cached>de&&typeof Ve.provider=="string"&&typeof Ve.data=="object"&&typeof Ve.data.prefix=="string"&&ie(Ve,_e))return!0}catch{}removeStoredItem(le,$e)}};let he=getBrowserStorageItemsCount(le);for(let _e=he-1;_e>=0;_e--)pe(_e)||(_e===he-1?(he--,setBrowserStorageItemsCount(le,he)):browserStorageEmptyItems[oe].add(_e))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const oe in browserStorageConfig)iterateBrowserStorage(oe,ie=>{const le=ie.data,ue=ie.provider,de=le.prefix,pe=getStorage(ue,de);if(!addIconSet(pe,le).length)return!1;const he=le.lastModified||-1;return pe.lastModifiedCached=pe.lastModifiedCached?Math.min(pe.lastModifiedCached,he):he,!0})}}function updateLastModified(oe,ie){const le=oe.lastModifiedCached;if(le&&le>=ie)return le===ie;if(oe.lastModifiedCached=ie,le)for(const ue in browserStorageConfig)iterateBrowserStorage(ue,de=>{const pe=de.data;return de.provider!==oe.provider||pe.prefix!==oe.prefix||pe.lastModified===ie});return!0}function storeInBrowserStorage(oe,ie){browserStorageStatus||initBrowserStorage();function le(ue){let de;if(!browserStorageConfig[ue]||!(de=getBrowserStorage(ue)))return;const pe=browserStorageEmptyItems[ue];let he;if(pe.size)pe.delete(he=Array.from(pe).shift());else if(he=getBrowserStorageItemsCount(de),!setBrowserStorageItemsCount(de,he+1))return;const _e={cached:Math.floor(Date.now()/browserStorageHour),provider:oe.provider,data:ie};return setStoredItem(de,browserCachePrefix+he.toString(),JSON.stringify(_e))}ie.lastModified&&!updateLastModified(oe,ie.lastModified)||Object.keys(ie.icons).length&&(ie.not_found&&(ie=Object.assign({},ie),delete ie.not_found),le("local")||le("session"))}function emptyCallback(){}function loadedNewIcons(oe){oe.iconsLoaderFlag||(oe.iconsLoaderFlag=!0,setTimeout(()=>{oe.iconsLoaderFlag=!1,updateCallbacks(oe)}))}function loadNewIcons(oe,ie){oe.iconsToLoad?oe.iconsToLoad=oe.iconsToLoad.concat(ie).sort():oe.iconsToLoad=ie,oe.iconsQueueFlag||(oe.iconsQueueFlag=!0,setTimeout(()=>{oe.iconsQueueFlag=!1;const{provider:le,prefix:ue}=oe,de=oe.iconsToLoad;delete oe.iconsToLoad;let pe;if(!de||!(pe=getAPIModule(le)))return;pe.prepare(le,ue,de).forEach(_e=>{sendAPIQuery(le,_e,$e=>{if(typeof $e!="object")_e.icons.forEach(Ie=>{oe.missing.add(Ie)});else try{const Ie=addIconSet(oe,$e);if(!Ie.length)return;const Ve=oe.pendingIcons;Ve&&Ie.forEach(Fe=>{Ve.delete(Fe)}),storeInBrowserStorage(oe,$e)}catch(Ie){console.error(Ie)}loadedNewIcons(oe)})})}))}const loadIcons=(oe,ie)=>{const le=listToIcons(oe,!0,allowSimpleNames()),ue=sortIcons(le);if(!ue.pending.length){let $e=!0;return ie&&setTimeout(()=>{$e&&ie(ue.loaded,ue.missing,ue.pending,emptyCallback)}),()=>{$e=!1}}const de=Object.create(null),pe=[];let he,_e;return ue.pending.forEach($e=>{const{provider:Ie,prefix:Ve}=$e;if(Ve===_e&&Ie===he)return;he=Ie,_e=Ve,pe.push(getStorage(Ie,Ve));const Fe=de[Ie]||(de[Ie]=Object.create(null));Fe[Ve]||(Fe[Ve]=[])}),ue.pending.forEach($e=>{const{provider:Ie,prefix:Ve,name:Fe}=$e,Ue=getStorage(Ie,Ve),qe=Ue.pendingIcons||(Ue.pendingIcons=new Set);qe.has(Fe)||(qe.add(Fe),de[Ie][Ve].push(Fe))}),pe.forEach($e=>{const{provider:Ie,prefix:Ve}=$e;de[Ie][Ve].length&&loadNewIcons($e,de[Ie][Ve])}),ie?storeCallback(ie,ue,pe):emptyCallback};function mergeCustomisations(oe,ie){const le={...oe};for(const ue in ie){const de=ie[ue],pe=typeof de;ue in defaultIconSizeCustomisations?(de===null||de&&(pe==="string"||pe==="number"))&&(le[ue]=de):pe===typeof le[ue]&&(le[ue]=ue==="rotate"?de%4:de)}return le}const separator=/[\s,]+/;function flipFromString(oe,ie){ie.split(separator).forEach(le=>{switch(le.trim()){case"horizontal":oe.hFlip=!0;break;case"vertical":oe.vFlip=!0;break}})}function rotateFromString(oe,ie=0){const le=oe.replace(/^-?[0-9.]*/,"");function ue(de){for(;de<0;)de+=4;return de%4}if(le===""){const de=parseInt(oe);return isNaN(de)?0:ue(de)}else if(le!==oe){let de=0;switch(le){case"%":de=25;break;case"deg":de=90}if(de){let pe=parseFloat(oe.slice(0,oe.length-le.length));return isNaN(pe)?0:(pe=pe/de,pe%1===0?ue(pe):0)}}return ie}function iconToHTML(oe,ie){let le=oe.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const ue in ie)le+=" "+ue+'="'+ie[ue]+'"';return'"+oe+""}function encodeSVGforURL(oe){return oe.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function svgToData(oe){return"data:image/svg+xml,"+encodeSVGforURL(oe)}function svgToURL(oe){return'url("'+svgToData(oe)+'")'}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={webkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const oe in propsToAddTo){const ie=propsToAddTo[oe];for(const le in propsToAdd)ie[oe+le]=propsToAdd[le]}const customisationAliases={};["horizontal","vertical"].forEach(oe=>{const ie=oe.slice(0,1)+"Flip";customisationAliases[oe+"-flip"]=ie,customisationAliases[oe.slice(0,1)+"-flip"]=ie,customisationAliases[oe+"Flip"]=ie});function fixSize(oe){return oe+(oe.match(/^[-0-9.]+$/)?"px":"")}const render=(oe,ie)=>{const le=mergeCustomisations(defaultExtendedIconCustomisations,ie),ue={...svgDefaults},de=ie.mode||"svg",pe={},he=ie.style,_e=typeof he=="object"&&!(he instanceof Array)?he:{};for(let At in ie){const Lt=ie[At];if(Lt!==void 0)switch(At){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":le[At]=Lt===!0||Lt==="true"||Lt===1;break;case"flip":typeof Lt=="string"&&flipFromString(le,Lt);break;case"color":pe.color=Lt;break;case"rotate":typeof Lt=="string"?le[At]=rotateFromString(Lt):typeof Lt=="number"&&(le[At]=Lt);break;case"ariaHidden":case"aria-hidden":Lt!==!0&&Lt!=="true"&&delete ue["aria-hidden"];break;default:{const hn=customisationAliases[At];hn?(Lt===!0||Lt==="true"||Lt===1)&&(le[hn]=!0):defaultExtendedIconCustomisations[At]===void 0&&(ue[At]=Lt)}}}const $e=iconToSVG(oe,le),Ie=$e.attributes;if(le.inline&&(pe.verticalAlign="-0.125em"),de==="svg"){ue.style={...pe,..._e},Object.assign(ue,Ie);let At=0,Lt=ie.id;return typeof Lt=="string"&&(Lt=Lt.replace(/-/g,"_")),ue.innerHTML=replaceIDs($e.body,Lt?()=>Lt+"ID"+At++:"iconifyVue"),h$3("svg",ue)}const{body:Ve,width:Fe,height:Ue}=oe,qe=de==="mask"||(de==="bg"?!1:Ve.indexOf("currentColor")!==-1),Et=iconToHTML(Ve,{...Ie,width:Fe+"",height:Ue+""});return ue.style={...pe,"--svg":svgToURL(Et),width:fixSize(Ie.width),height:fixSize(Ie.height),...commonProps,...qe?monotoneProps:coloredProps,..._e},h$3("span",ue)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const oe=window;if(oe.IconifyPreload!==void 0){const ie=oe.IconifyPreload,le="Invalid IconifyPreload syntax.";typeof ie=="object"&&ie!==null&&(ie instanceof Array?ie:[ie]).forEach(ue=>{try{(typeof ue!="object"||ue===null||ue instanceof Array||typeof ue.icons!="object"||typeof ue.prefix!="string"||!addCollection(ue))&&console.error(le)}catch{console.error(le)}})}if(oe.IconifyProviders!==void 0){const ie=oe.IconifyProviders;if(typeof ie=="object"&&ie!==null)for(let le in ie){const ue="IconifyProviders["+le+"] is invalid.";try{const de=ie[le];if(typeof de!="object"||!de||de.resources===void 0)continue;addAPIProvider(le,de)||console.error(ue)}catch{console.error(ue)}}}}const emptyIcon={...defaultIconProps,body:""},Icon=defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(oe,ie){if(typeof oe=="object"&&oe!==null&&typeof oe.body=="string")return this._name="",this.abortLoading(),{data:oe};let le;if(typeof oe!="string"||(le=stringToIcon(oe,!1,!0))===null)return this.abortLoading(),null;const ue=getIconData(le);if(!ue)return(!this._loadingIcon||this._loadingIcon.name!==oe)&&(this.abortLoading(),this._name="",ue!==null&&(this._loadingIcon={name:oe,abort:loadIcons([le],()=>{this.counter++})})),null;this.abortLoading(),this._name!==oe&&(this._name=oe,ie&&ie(oe));const de=["iconify"];return le.prefix!==""&&de.push("iconify--"+le.prefix),le.provider!==""&&de.push("iconify--"+le.provider),{data:ue,classes:de}}},render(){this.counter;const oe=this.$attrs,ie=this.iconMounted?this.getIcon(oe.icon,oe.onLoad):null;if(!ie)return render(emptyIcon,oe);let le=oe;return ie.classes&&(le={...oe,class:(typeof oe.class=="string"?oe.class+" ":"")+ie.classes.join(" ")}),render({...defaultIconProps,...ie.data},le)}}),iconifyIconOnline=defineComponent({name:"IconifyIconOnline",components:{IconifyIcon:Icon},props:{icon:{type:String,default:""}},render(){const oe=this.$attrs;return h$3(Icon,{icon:`${this.icon}`,style:oe!=null&&oe.style?Object.assign(oe.style,{outline:"none"}):{outline:"none"},...oe},{default:()=>[]})}}),fontIcon=defineComponent({name:"FontIcon",props:{icon:{type:String,default:""}},render(){const oe=this.$attrs;return Object.keys(oe).includes("uni")||(oe==null?void 0:oe.iconType)==="uni"?h$3("i",{class:"iconfont",...oe},this.icon):Object.keys(oe).includes("svg")||(oe==null?void 0:oe.iconType)==="svg"?h$3("svg",{class:"icon-svg","aria-hidden":!0},{default:()=>[h$3("use",{"xlink:href":`#${this.icon}`})]}):h$3("i",{class:`iconfont ${this.icon}`,...oe})}}),IconifyIconOffline=iconifyIconOffline,IconifyIconOnline=iconifyIconOnline,FontIcon=fontIcon,auth=defineComponent({name:"Auth",props:{value:{type:void 0,default:[]}},setup(oe,{slots:ie}){return()=>{var le;return ie&&hasAuth(oe.value)?createVNode(Fragment,null,[(le=ie.default)==null?void 0:le.call(ie)]):null}}}),Auth=auth,systemRouter={path:"/system",meta:{icon:"setting",title:"menus.hssysManagement",rank:system$1},children:[{path:"/system/user/index",name:"User",meta:{icon:"flUser",title:"menus.hsUser",roles:["admin"]}},{path:"/system/role/index",name:"Role",meta:{icon:"role",title:"menus.hsRole",roles:["admin"]}},{path:"/system/dept/index",name:"Dept",meta:{icon:"dept",title:"menus.hsDept",roles:["admin"]}}]},permissionRouter={path:"/permission",meta:{title:"menus.permission",icon:"lollipop",rank:permission},children:[{path:"/permission/page/index",name:"PermissionPage",meta:{title:"menus.permissionPage",roles:["admin","common"]}},{path:"/permission/button/index",name:"PermissionButton",meta:{title:"menus.permissionButton",roles:["admin","common"],auths:["btn_add","btn_edit","btn_delete"]}}]},frameRouter={path:"/iframe",meta:{icon:"monitor",title:"menus.hsExternalPage",rank:frame$1},children:[{path:"/external",name:"https://yiming_chang.gitee.io/pure-admin-doc",meta:{title:"menus.externalLink",roles:["admin","common"]}},{path:"/iframe/pure",name:"FramePure",meta:{title:"menus.hsPureDocument",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc",roles:["admin","common"]}},{path:"/iframe/ep",name:"FrameEp",meta:{title:"menus.hsEpDocument",frameSrc:"https://element-plus.org/zh-CN/",roles:["admin","common"]}},{path:"/iframe/vue3",name:"FrameVue",meta:{title:"menus.hsVueDocument",frameSrc:"https://cn.vuejs.org/",roles:["admin","common"]}},{path:"/iframe/vite",name:"FrameVite",meta:{title:"menus.hsViteDocument",frameSrc:"https://cn.vitejs.dev/",roles:["admin","common"]}},{path:"/iframe/pinia",name:"FramePinia",meta:{title:"menus.hsPiniaDocument",frameSrc:"https://pinia.vuejs.org/zh/index.html",roles:["admin","common"]}},{path:"/iframe/vue-router",name:"FrameRouter",meta:{title:"menus.hsRouterDocument",frameSrc:"https://router.vuejs.org/zh/",roles:["admin","common"]}},{path:"/iframe/tailwindcss",name:"FrameTailwindcss",meta:{title:"menus.hsTailwindcssDocument",frameSrc:"https://tailwindcss.com/docs/installation",roles:["admin","common"]}}]},tabsRouter={path:"/tabs",meta:{icon:"IF-pure-iconfont-tabs",title:"menus.hstabs",rank:tabs},children:[{path:"/tabs/index",name:"Tabs",meta:{title:"menus.hstabs",roles:["admin","common"]}},{path:"/tabs/query-detail",name:"TabQueryDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}},{path:"/tabs/params-detail/:id",component:"params-detail",name:"TabParamsDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}}]},asyncRoutes=[{url:"/getAsyncRoutes",method:"get",response:()=>({success:!0,data:[systemRouter,permissionRouter,frameRouter,tabsRouter]})}],__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:asyncRoutes},Symbol.toStringTag,{value:"Module"})),list=[{url:"/getCardList",method:"post",response:()=>({success:!0,data:{list:[{index:1,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:2,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:3,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:4,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:5,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:6,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:7,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:8,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:9,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:10,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:11,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:12,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:13,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:14,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:15,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:16,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:17,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:18,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:19,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:20,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:21,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:22,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:23,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:24,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:25,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:26,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:27,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:28,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:29,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:30,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:31,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:32,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:33,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:34,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:35,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:36,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:37,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:38,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:39,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:40,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:41,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:42,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:43,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:44,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:45,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:46,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:47,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:48,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"}]}})},{url:"/releases",method:"get",response:()=>({success:!0,data:{list:[{created_at:"2023-06-14T02:52:19Z",published_at:"2023-06-14T02:54:41Z",body:"# 4.4.0 (2023-06-14)\r\n\r\n### 🎫 Feat\r\n\r\n- 路由 `meta` 添加 `activePath` 属性,可将某个菜单激活(主要用于通过 `query` 或 `params` 传参的路由,当它们通过配置 `showLink: false` 后不在菜单中显示,就不会有任何菜单高亮,而通过设置 `activePath` 指定激活菜单即可获得高亮,`activePath` 为指定激活菜单的 `path` [查看详情](https://github.com/pure-admin/vue-pure-admin/commit/58cafbc73ffa27253446ee93077e1e382519ce8a#commitcomment-117834411))\r\n- `pure-admin-table` 高级用法添加自适应内容区高度示例\r\n- 添加防抖、节流和文本复制指令并规范自定义指令用法错误时的提示以及添加使用示例\r\n- `notice` 消息提示组件空数据时添加 `el-empty` 组件\r\n- 函数式弹窗示例代码添加子组件 `prop` 为 `primitive` 类型的示例\r\n- 添加 `vscode-docker` 插件\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复国际化切换到英文模式刷新会回到中文模式\r\n- 修复搜索菜单功能的弹框遮罩未覆盖左侧菜单的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 页面切换性能优化,不考虑网络的情况下,页面切换逻辑的速度差不多比之前快 `3-4` 倍 [查看优化详情](https://github.com/pure-admin/vue-pure-admin/pull/600#issuecomment-1586094078)\r\n- 优化标签页操作-路由传参模式用法\r\n- 系统管理中表格均改为自适应内容区高度,需将 `@pureadmin/table` 升级到最新版\r\n- 使用 `vueuse` 的 `useResizeObserver` 函数替换 `v-resize` 自定义指令,从测试后的表现来看性能会更好\r\n- 对未解绑的公共事件,在页面销毁时解绑"},{created_at:"2023-06-04T04:11:51Z",published_at:"2023-06-04T04:13:24Z",body:"# 4.3.0 (2023-06-04)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `docker` 支持\r\n- 添加项目版本实时更新检测功能\r\n- 完善系统管理-角色管理页面\r\n- 瀑布流组件添加无限滚动\r\n- 函数式弹框添加 `updateDialog` 更改弹框自身属性值方法\r\n- `wangeditor` 富文本添加多个富文本和自定义图片上传示例\r\n- `pure-table` 表格高级用法添加保留已选中的 `CheckBox` 选项示例\r\n- `RePureTableBar` 组件添加 `title` 插槽\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复获取验证码倒计时会有 `1s` 延时禁用的问题\r\n- 修复图标选择器未正确初始化预览问题\r\n- 修复动态路由重定向造成标签页出现重复内容\r\n- 修复强制刷新页面 `getTopMenu()` 函数获取不到 `path` 报错的问题\r\n- 修复左侧菜单折叠后突然拉升造成左侧菜单整体不显示的问题\r\n- 修复 `RePureTableBar` 关闭列设置后在 `windows` 出现滚动条的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化标签页操作-路由传参模式用法\r\n- 优化菜单搜索功能和样式\r\n- 更新 `vscode` 代码片段\r\n- 优化 `dataThemeChange` 主题设置的初始化调用时机"},{created_at:"2023-05-15T07:03:57Z",published_at:"2023-05-15T07:04:54Z",body:"# 4.2.0 (2023-05-15)\r\n\r\n### 🎫 Feat\r\n\r\n- 新增分段控制器组件并适配暗黑模式\r\n- 静态路由支持配置数组格式\r\n- 函数式弹框组件添加全屏、退出全屏操作按钮\r\n- 新增组件-瀑布流 `demo`\r\n- 添加 `Exclusive` 类型互斥语法糖\r\n\r\n### 🍏 Perf\r\n\r\n- 规范 `template` 模版中路由写法,不再使用 `$route` 和 `$router`,此写法 `vue-tsc` 编译不通过"},{created_at:"2023-05-11T17:45:43Z",published_at:"2023-05-11T17:47:10Z",body:"# 4.1.0 (2023-05-12)\r\n\r\n### 🎫 Feat\r\n\r\n- 函数式弹框组件添加结合 `Form` 的 `demo` 示例\r\n- 封装 `element-plus` 的 `el-col` 组件\r\n- 函数式弹框组件添加 `beforeCancel` 和 `beforeSure` 回调,可暂停弹框的关闭\r\n- 完善 `系统管理-部门管理` 页面\r\n- 优化 `PureTableBar` 组件,列展示添加拖拽功能\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复开启 `keepAlive` 后点击标签页的重新加载,页面缓存还存在的问题\r\n- 修复混合模式菜单下刷新页签后左侧菜单会闪烁一下的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化首页布局\r\n- 依赖更新到 `vue3.3+` 以及删除 `unplugin-vue-define-options` 插件"},{created_at:"2023-05-09T08:11:28Z",published_at:"2023-05-09T08:14:55Z",body:'# 4.0.0 (2023-05-09)\r\n\r\n[查看 4.0.0 版本优化细节](https://github.com/pure-admin/vue-pure-admin/issues/428#issuecomment-1422191158)\r\n\r\n### ✔️ refactor\r\n\r\n- 采用 `css` 伪类 `before` 写法重构菜单的激活背景,类似于 [ant.design-menu](https://ant.design/components/menu-cn#components-menu-demo-inline-collapsed)\r\n\r\n### 🎫 Feat\r\n\r\n- 优化菜单名称右侧的额外图标,使其支持更多图标渲染模式\r\n- 可配置首页菜单显示与隐藏\r\n- 将本地响应式存储的命名空间提升到全局配置中\r\n- 新增函数式弹框组件以及 `demo` 示例,使用更便捷\r\n- `PureTableBar` 组件添加列展示功能\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复当菜单折叠或展开时首页 `echarts` 图表未自适应容器\r\n- 修复当只有一个子菜单时,搜索功能搜索不到该子菜单问题\r\n- 修复全局配置 `Theme` 为 `light` 清空缓存重新登录主题配置不生效的问题\r\n- 修复菜单搜索功能弹框打开后搜索框未自动聚集的问题\r\n- 修复按 `ESC` 退出全屏后,工具栏按钮文案展示问题\r\n- 修复移动端通知栏 `tooltip` 点击穿透问题\r\n- 修复当左侧菜单收起后,切换到 `horizontal` 导航模式时文字不展示的问题\r\n- 修复导航 `tab` 关闭其他标签页无法重置状态问题\r\n- 修复 `getHistoryMode` 函数中环境变量未初始化带来的页面热更新报错\r\n- 修复导航 `tab` 过多导致关闭左侧标签页无法正常显示\r\n- 修复点击内容区全屏报错问题\r\n- 修复混合导航下打开 `showLink:false` 页面并刷新后,左侧导航栏一直处于加载状态的问题\r\n- 修复混合模式导航下调用 `initRouter` 函数导致左侧导航内存溢出问题\r\n- 修复关闭左侧、右侧、其他、全部标签页操作时缓存页面并没有销毁问题\r\n- 修复路由通过 `query` 或 `params` 传参,开启缓存后关闭标签页缓存失效问题\r\n- 修复 `params` 路由传参模式下,面包屑无法找到父级路径问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化 `RePureTableBar` 组件的 `buttons` 具名插槽\r\n- 优化导航样式以及菜单折叠动画\r\n- 优化菜单名称右侧的额外图标,使其支持更多图标渲染模式\r\n- 优化 `logo` 图和文字布局以及统一配置\r\n- 路由信息 `showLink` 设置成 `false` 后,当前路由信息不添加到标签页\r\n- 导出 `addPathMatch` 函数\r\n- `pinia` 中所有 `getters` 改为官方推荐写法,`this` 改成 `state` 可自动推导类型\r\n- 适配最新版 `pure-table` 的 `api`\r\n- 忽略 `sourcemap-codec` 和 `stable` 依赖包的 `deprecation` 警告\r\n- 从 `tsconfig.json` 文件中移除 `"incremental": true`\r\n- 更新 `stylelint` 以及相关配置至最新,强化样式校验\r\n- 面包屑去首页化,根据选择的菜单对应显示,首页不在固定到面包屑里,并优化面包屑页面的路由监听'},{created_at:"2022-12-26T06:31:04Z",published_at:"2022-12-26T06:32:38Z",body:"# 3.9.7 (2022-12-26)\r\n\r\n### 🍏 Perf\r\n\r\n- 使用 `path.posix.resolve` 替代 `path.resolve` 避免 `windows` 环境下使用 `electron` 出现盘符问题\r\n- 默认关闭 `CachingAsyncRoutes` 动态路由缓存本地,使其在开发环境下调试更方便,不用每次修改动态路由都要先清空本地缓存的动态路由,更推荐在生产环境开启"},{created_at:"2022-12-19T04:14:18Z",published_at:"2022-12-19T04:15:41Z",body:`# 3.9.6 (2022-12-19)\r +`||Ie==="")){var Ve=he.isSelected(Ie);ue.hasOwnProperty(Ie)?ue[Ie]=ue[Ie]&&Ve:ue[Ie]=Ve}})}),oe==="allSelect"||oe==="inverseSelect"?{selected:ue}:{name:ie.name,selected:ue}}function installLegendAction(oe){oe.registerAction("legendToggleSelect","legendselectchanged",curry$1(legendSelectActionHandler,"toggleSelected")),oe.registerAction("legendAllSelect","legendselectall",curry$1(legendSelectActionHandler,"allSelect")),oe.registerAction("legendInverseSelect","legendinverseselect",curry$1(legendSelectActionHandler,"inverseSelect")),oe.registerAction("legendSelect","legendselected",curry$1(legendSelectActionHandler,"select")),oe.registerAction("legendUnSelect","legendunselected",curry$1(legendSelectActionHandler,"unSelect"))}function install$8(oe){oe.registerComponentModel(LegendModel$1),oe.registerComponentView(LegendView$1),oe.registerProcessor(oe.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),oe.registerSubTypeDefaulter("legend",function(){return"plain"}),installLegendAction(oe)}var ScrollableLegendModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.setScrollDataIndex=function(le){this.option.scrollDataIndex=le},ie.prototype.init=function(le,ue,de){var pe=getLayoutParams(le);oe.prototype.init.call(this,le,ue,de),mergeAndNormalizeLayoutParams(this,le,pe)},ie.prototype.mergeOption=function(le,ue){oe.prototype.mergeOption.call(this,le,ue),mergeAndNormalizeLayoutParams(this,this.option,le)},ie.type="legend.scroll",ie.defaultOption=inheritDefaultOption(LegendModel$1.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),ie}(LegendModel$1);function mergeAndNormalizeLayoutParams(oe,ie,le){var ue=oe.getOrient(),de=[1,1];de[ue.index]=0,mergeLayoutParam(ie,le,{type:"box",ignoreSize:!!de})}const ScrollableLegendModel$1=ScrollableLegendModel;var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.newlineDisabled=!0,le._currentIndex=0,le}return ie.prototype.init=function(){oe.prototype.init.call(this),this.group.add(this._containerGroup=new Group),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Group)},ie.prototype.resetInner=function(){oe.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},ie.prototype.renderInner=function(le,ue,de,pe,he,_e,$e){var Ie=this;oe.prototype.renderInner.call(this,le,ue,de,pe,he,_e,$e);var Ve=this._controllerGroup,Fe=ue.get("pageIconSize",!0),Ue=isArray$1(Fe)?Fe:[Fe,Fe];Et("pagePrev",0);var qe=ue.getModel("pageTextStyle");Ve.add(new ZRText$1({name:"pageText",style:{text:"xx/xx",fill:qe.getTextColor(),font:qe.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),Et("pageNext",1);function Et(At,Lt){var hn=At+"DataIndex",vn=createIcon(ue.get("pageIcons",!0)[ue.getOrient().name][Lt],{onclick:bind$1(Ie._pageGo,Ie,hn,ue,pe)},{x:-Ue[0]/2,y:-Ue[1]/2,width:Ue[0],height:Ue[1]});vn.name=At,Ve.add(vn)}},ie.prototype.layoutInner=function(le,ue,de,pe,he,_e){var $e=this.getSelectorGroup(),Ie=le.getOrient().index,Ve=WH[Ie],Fe=XY[Ie],Ue=WH[1-Ie],qe=XY[1-Ie];he&&box("horizontal",$e,le.get("selectorItemGap",!0));var Et=le.get("selectorButtonGap",!0),At=$e.getBoundingRect(),Lt=[-At.x,-At.y],hn=clone$3(de);he&&(hn[Ve]=de[Ve]-At[Ve]-Et);var vn=this._layoutContentAndController(le,pe,hn,Ie,Ve,Ue,qe,Fe);if(he){if(_e==="end")Lt[Ie]+=vn[Ve]+Et;else{var _n=At[Ve]+Et;Lt[Ie]-=_n,vn[Fe]-=_n}vn[Ve]+=At[Ve]+Et,Lt[1-Ie]+=vn[qe]+vn[Ue]/2-At[Ue]/2,vn[Ue]=Math.max(vn[Ue],At[Ue]),vn[qe]=Math.min(vn[qe],At[qe]+Lt[1-Ie]),$e.x=Lt[0],$e.y=Lt[1],$e.markRedraw()}return vn},ie.prototype._layoutContentAndController=function(le,ue,de,pe,he,_e,$e,Ie){var Ve=this.getContentGroup(),Fe=this._containerGroup,Ue=this._controllerGroup;box(le.get("orient"),Ve,le.get("itemGap"),pe?de.width:null,pe?null:de.height),box("horizontal",Ue,le.get("pageButtonItemGap",!0));var qe=Ve.getBoundingRect(),Et=Ue.getBoundingRect(),At=this._showController=qe[he]>de[he],Lt=[-qe.x,-qe.y];ue||(Lt[pe]=Ve[Ie]);var hn=[0,0],vn=[-Et.x,-Et.y],_n=retrieve2(le.get("pageButtonGap",!0),le.get("itemGap",!0));if(At){var bn=le.get("pageButtonPosition",!0);bn==="end"?vn[pe]+=de[he]-Et[he]:hn[pe]+=Et[he]+_n}vn[1-pe]+=qe[_e]/2-Et[_e]/2,Ve.setPosition(Lt),Fe.setPosition(hn),Ue.setPosition(vn);var Sn={x:0,y:0};if(Sn[he]=At?de[he]:qe[he],Sn[_e]=Math.max(qe[_e],Et[_e]),Sn[$e]=Math.min(0,Et[$e]+vn[1-pe]),Fe.__rectSize=de[he],At){var Cn={x:0,y:0};Cn[he]=Math.max(de[he]-Et[he]-_n,0),Cn[_e]=Sn[_e],Fe.setClipPath(new Rect$2({shape:Cn})),Fe.__rectSize=Cn[he]}else Ue.eachChild(function($n){$n.attr({invisible:!0,silent:!0})});var En=this._getPageInfo(le);return En.pageIndex!=null&&updateProps$1(Ve,{x:En.contentPosition[0],y:En.contentPosition[1]},At?le:null),this._updatePageInfoView(le,En),Sn},ie.prototype._pageGo=function(le,ue,de){var pe=this._getPageInfo(ue)[le];pe!=null&&de.dispatchAction({type:"legendScroll",scrollDataIndex:pe,legendId:ue.id})},ie.prototype._updatePageInfoView=function(le,ue){var de=this._controllerGroup;each$c(["pagePrev","pageNext"],function(Ve){var Fe=Ve+"DataIndex",Ue=ue[Fe]!=null,qe=de.childOfName(Ve);qe&&(qe.setStyle("fill",Ue?le.get("pageIconColor",!0):le.get("pageIconInactiveColor",!0)),qe.cursor=Ue?"pointer":"default")});var pe=de.childOfName("pageText"),he=le.get("pageFormatter"),_e=ue.pageIndex,$e=_e!=null?_e+1:0,Ie=ue.pageCount;pe&&he&&pe.setStyle("text",isString(he)?he.replace("{current}",$e==null?"":$e+"").replace("{total}",Ie==null?"":Ie+""):he({current:$e,total:Ie}))},ie.prototype._getPageInfo=function(le){var ue=le.get("scrollDataIndex",!0),de=this.getContentGroup(),pe=this._containerGroup.__rectSize,he=le.getOrient().index,_e=WH[he],$e=XY[he],Ie=this._findTargetItemIndex(ue),Ve=de.children(),Fe=Ve[Ie],Ue=Ve.length,qe=Ue?1:0,Et={contentPosition:[de.x,de.y],pageCount:qe,pageIndex:qe-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!Fe)return Et;var At=bn(Fe);Et.contentPosition[he]=-At.s;for(var Lt=Ie+1,hn=At,vn=At,_n=null;Lt<=Ue;++Lt)_n=bn(Ve[Lt]),(!_n&&vn.e>hn.s+pe||_n&&!Sn(_n,hn.s))&&(vn.i>hn.i?hn=vn:hn=_n,hn&&(Et.pageNextDataIndex==null&&(Et.pageNextDataIndex=hn.i),++Et.pageCount)),vn=_n;for(var Lt=Ie-1,hn=At,vn=At,_n=null;Lt>=-1;--Lt)_n=bn(Ve[Lt]),(!_n||!Sn(vn,_n.s))&&hn.i=En&&Cn.s<=En+pe}},ie.prototype._findTargetItemIndex=function(le){if(!this._showController)return 0;var ue,de=this.getContentGroup(),pe;return de.eachChild(function(he,_e){var $e=he.__legendDataIndex;pe==null&&$e!=null&&(pe=_e),$e===le&&(ue=_e)}),ue??pe},ie.type="legend.scroll",ie}(LegendView$1);const ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(oe){oe.registerAction("legendScroll","legendscroll",function(ie,le){var ue=ie.scrollDataIndex;ue!=null&&le.eachComponent({mainType:"legend",subType:"scroll",query:ie},function(de){de.setScrollDataIndex(ue)})})}function install$7(oe){use$1(install$8),oe.registerComponentModel(ScrollableLegendModel$1),oe.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction(oe)}function install$6(oe){use$1(install$8),use$1(install$7)}var InsideZoomModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="dataZoom.inside",ie.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),ie}(DataZoomModel$1);const InsideZoomModel$1=InsideZoomModel;var inner=makeInner();function setViewInfoToCoordSysRecord(oe,ie,le){inner(oe).coordSysRecordMap.each(function(ue){var de=ue.dataZoomInfoMap.get(ie.uid);de&&(de.getRange=le)})}function disposeCoordSysRecordIfNeeded(oe,ie){for(var le=inner(oe).coordSysRecordMap,ue=le.keys(),de=0;deue[le+ie]&&(ie=_e),de=de&&he.get("preventDefaultMouseMove",!0)}),{controlType:ie,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!de}}}function installDataZoomRoamProcessor(oe){oe.registerProcessor(oe.PRIORITY.PROCESSOR.FILTER,function(ie,le){var ue=inner(le),de=ue.coordSysRecordMap||(ue.coordSysRecordMap=createHashMap());de.each(function(pe){pe.dataZoomInfoMap=null}),ie.eachComponent({mainType:"dataZoom",subType:"inside"},function(pe){var he=collectReferCoordSysModelInfo(pe);each$c(he.infoList,function(_e){var $e=_e.model.uid,Ie=de.get($e)||de.set($e,createCoordSysRecord(le,_e.model)),Ve=Ie.dataZoomInfoMap||(Ie.dataZoomInfoMap=createHashMap());Ve.set(pe.uid,{dzReferCoordSysInfo:_e,model:pe,getRange:null})})}),de.each(function(pe){var he=pe.controller,_e,$e=pe.dataZoomInfoMap;if($e){var Ie=$e.keys()[0];Ie!=null&&(_e=$e.get(Ie))}if(!_e){disposeCoordSysRecord(de,pe);return}var Ve=mergeControllerParams($e);he.enable(Ve.controlType,Ve.opt),he.setPointerChecker(pe.containsPoint),createOrUpdate(pe,"dispatchAction",_e.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type="dataZoom.inside",le}return ie.prototype.render=function(le,ue,de){if(oe.prototype.render.apply(this,arguments),le.noTarget()){this._clear();return}this.range=le.getPercentRange(),setViewInfoToCoordSysRecord(de,le,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},ie.prototype.dispose=function(){this._clear(),oe.prototype.dispose.apply(this,arguments)},ie.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},ie.type="dataZoom.inside",ie}(DataZoomView$1),getRangeHandlers={zoom:function(oe,ie,le,ue){var de=this.range,pe=de.slice(),he=oe.axisModels[0];if(he){var _e=getDirectionInfo[ie](null,[ue.originX,ue.originY],he,le,oe),$e=(_e.signal>0?_e.pixelStart+_e.pixelLength-_e.pixel:_e.pixel-_e.pixelStart)/_e.pixelLength*(pe[1]-pe[0])+pe[0],Ie=Math.max(1/ue.scale,0);pe[0]=(pe[0]-$e)*Ie+$e,pe[1]=(pe[1]-$e)*Ie+$e;var Ve=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,pe,[0,100],0,Ve.minSpan,Ve.maxSpan),this.range=pe,de[0]!==pe[0]||de[1]!==pe[1])return pe}},pan:makeMover(function(oe,ie,le,ue,de,pe){var he=getDirectionInfo[ue]([pe.oldX,pe.oldY],[pe.newX,pe.newY],ie,de,le);return he.signal*(oe[1]-oe[0])*he.pixel/he.pixelLength}),scrollMove:makeMover(function(oe,ie,le,ue,de,pe){var he=getDirectionInfo[ue]([0,0],[pe.scrollDelta,pe.scrollDelta],ie,de,le);return he.signal*(oe[1]-oe[0])*pe.scrollDelta})};function makeMover(oe){return function(ie,le,ue,de){var pe=this.range,he=pe.slice(),_e=ie.axisModels[0];if(_e){var $e=oe(he,_e,ie,le,ue,de);if(sliderMove($e,he,[0,100],"all"),this.range=he,pe[0]!==he[0]||pe[1]!==he[1])return he}}}var getDirectionInfo={grid:function(oe,ie,le,ue,de){var pe=le.axis,he={},_e=de.model.coordinateSystem.getRect();return oe=oe||[0,0],pe.dim==="x"?(he.pixel=ie[0]-oe[0],he.pixelLength=_e.width,he.pixelStart=_e.x,he.signal=pe.inverse?1:-1):(he.pixel=ie[1]-oe[1],he.pixelLength=_e.height,he.pixelStart=_e.y,he.signal=pe.inverse?-1:1),he},polar:function(oe,ie,le,ue,de){var pe=le.axis,he={},_e=de.model.coordinateSystem,$e=_e.getRadiusAxis().getExtent(),Ie=_e.getAngleAxis().getExtent();return oe=oe?_e.pointToCoord(oe):[0,0],ie=_e.pointToCoord(ie),le.mainType==="radiusAxis"?(he.pixel=ie[0]-oe[0],he.pixelLength=$e[1]-$e[0],he.pixelStart=$e[0],he.signal=pe.inverse?1:-1):(he.pixel=ie[1]-oe[1],he.pixelLength=Ie[1]-Ie[0],he.pixelStart=Ie[0],he.signal=pe.inverse?-1:1),he},singleAxis:function(oe,ie,le,ue,de){var pe=le.axis,he=de.model.coordinateSystem.getRect(),_e={};return oe=oe||[0,0],pe.orient==="horizontal"?(_e.pixel=ie[0]-oe[0],_e.pixelLength=he.width,_e.pixelStart=he.x,_e.signal=pe.inverse?1:-1):(_e.pixel=ie[1]-oe[1],_e.pixelLength=he.height,_e.pixelStart=he.y,_e.signal=pe.inverse?-1:1),_e}};const InsideZoomView$1=InsideZoomView;function install$5(oe){installCommon$1(oe),oe.registerComponentModel(InsideZoomModel$1),oe.registerComponentView(InsideZoomView$1),installDataZoomRoamProcessor(oe)}var SliderZoomModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.type="dataZoom.slider",ie.layoutMode="box",ie.defaultOption=inheritDefaultOption(DataZoomModel$1.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),ie}(DataZoomModel$1);const SliderZoomModel$1=SliderZoomModel;var Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le._displayables={},le}return ie.prototype.init=function(le,ue){this.api=ue,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},ie.prototype.render=function(le,ue,de,pe){if(oe.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",le.get("throttle"),"fixRate"),this._orient=le.getOrient(),le.get("show")===!1){this.group.removeAll();return}if(le.noTarget()){this._clear(),this.group.removeAll();return}(!pe||pe.type!=="dataZoom"||pe.from!==this.uid)&&this._buildView(),this._updateView()},ie.prototype.dispose=function(){this._clear(),oe.prototype.dispose.apply(this,arguments)},ie.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var le=this.api.getZr();le.off("mousemove",this._onBrush),le.off("mouseup",this._onBrushEnd)},ie.prototype._buildView=function(){var le=this.group;le.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var ue=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),le.add(ue),this._positionGroup()},ie.prototype._resetLocation=function(){var le=this.dataZoomModel,ue=this.api,de=le.get("brushSelect"),pe=de?DEFAULT_MOVE_HANDLE_SIZE:0,he=this._findCoordRect(),_e={width:ue.getWidth(),height:ue.getHeight()},$e=this._orient===HORIZONTAL?{right:_e.width-he.x-he.width,top:_e.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-pe,width:he.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:he.y,width:DEFAULT_FILLER_SIZE,height:he.height},Ie=getLayoutParams(le.option);each$c(["right","top","width","height"],function(Fe){Ie[Fe]==="ph"&&(Ie[Fe]=$e[Fe])});var Ve=getLayoutRect(Ie,_e);this._location={x:Ve.x,y:Ve.y},this._size=[Ve.width,Ve.height],this._orient===VERTICAL&&this._size.reverse()},ie.prototype._positionGroup=function(){var le=this.group,ue=this._location,de=this._orient,pe=this.dataZoomModel.getFirstTargetAxisModel(),he=pe&&pe.get("inverse"),_e=this._displayables.sliderGroup,$e=(this._dataShadowInfo||{}).otherAxisInverse;_e.attr(de===HORIZONTAL&&!he?{scaleY:$e?1:-1,scaleX:1}:de===HORIZONTAL&&he?{scaleY:$e?1:-1,scaleX:-1}:de===VERTICAL&&!he?{scaleY:$e?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:$e?-1:1,scaleX:-1,rotation:Math.PI/2});var Ie=le.getBoundingRect([_e]);le.x=ue.x-Ie.x,le.y=ue.y-Ie.y,le.markRedraw()},ie.prototype._getViewExtent=function(){return[0,this._size[0]]},ie.prototype._renderBackground=function(){var le=this.dataZoomModel,ue=this._size,de=this._displayables.sliderGroup,pe=le.get("brushSelect");de.add(new Rect({silent:!0,shape:{x:0,y:0,width:ue[0],height:ue[1]},style:{fill:le.get("backgroundColor")},z2:-40}));var he=new Rect({shape:{x:0,y:0,width:ue[0],height:ue[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),_e=this.api.getZr();pe?(he.on("mousedown",this._onBrushStart,this),he.cursor="crosshair",_e.on("mousemove",this._onBrush),_e.on("mouseup",this._onBrushEnd)):(_e.off("mousemove",this._onBrush),_e.off("mouseup",this._onBrushEnd)),de.add(he)},ie.prototype._renderDataShadow=function(){var le=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!le)return;var ue=this._size,de=this._shadowSize||[],pe=le.series,he=pe.getRawData(),_e=pe.getShadowDim&&pe.getShadowDim(),$e=_e&&he.getDimensionInfo(_e)?pe.getShadowDim():le.otherDim;if($e==null)return;var Ie=this._shadowPolygonPts,Ve=this._shadowPolylinePts;if(he!==this._shadowData||$e!==this._shadowDim||ue[0]!==de[0]||ue[1]!==de[1]){var Fe=he.getDataExtent($e),Ue=(Fe[1]-Fe[0])*.3;Fe=[Fe[0]-Ue,Fe[1]+Ue];var qe=[0,ue[1]],Et=[0,ue[0]],At=[[ue[0],0],[0,0]],Lt=[],hn=Et[1]/(he.count()-1),vn=0,_n=Math.round(he.count()/ue[0]),bn;he.each([$e],function(wn,Pn){if(_n>0&&Pn%_n){vn+=hn;return}var xn=wn==null||isNaN(wn)||wn==="",An=xn?0:linearMap$2(wn,Fe,qe,!0);xn&&!bn&&Pn?(At.push([At[At.length-1][0],0]),Lt.push([Lt[Lt.length-1][0],0])):!xn&&bn&&(At.push([vn,0]),Lt.push([vn,0])),At.push([vn,An]),Lt.push([vn,An]),vn+=hn,bn=xn}),Ie=this._shadowPolygonPts=At,Ve=this._shadowPolylinePts=Lt}this._shadowData=he,this._shadowDim=$e,this._shadowSize=[ue[0],ue[1]];var Sn=this.dataZoomModel;function Cn(wn){var Pn=Sn.getModel(wn?"selectedDataBackground":"dataBackground"),xn=new Group$3,An=new Polygon$1({shape:{points:Ie},segmentIgnoreThreshold:1,style:Pn.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),On=new Polyline$1({shape:{points:Ve},segmentIgnoreThreshold:1,style:Pn.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return xn.add(An),xn.add(On),xn}for(var En=0;En<3;En++){var $n=Cn(En===1);this._displayables.sliderGroup.add($n),this._displayables.dataShadowSegs.push($n)}},ie.prototype._prepareDataShadowInfo=function(){var le=this.dataZoomModel,ue=le.get("showDataShadow");if(ue!==!1){var de,pe=this.ecModel;return le.eachTargetAxis(function(he,_e){var $e=le.getAxisProxy(he,_e).getTargetSeriesModels();each$c($e,function(Ie){if(!de&&!(ue!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,Ie.get("type"))<0)){var Ve=pe.getComponent(getAxisMainType(he),_e).axis,Fe=getOtherDim(he),Ue,qe=Ie.coordinateSystem;Fe!=null&&qe.getOtherAxis&&(Ue=qe.getOtherAxis(Ve).inverse),Fe=Ie.getData().mapDimension(Fe),de={thisAxis:Ve,series:Ie,thisDim:he,otherDim:Fe,otherAxisInverse:Ue}}},this)},this),de}},ie.prototype._renderHandle=function(){var le=this.group,ue=this._displayables,de=ue.handles=[null,null],pe=ue.handleLabels=[null,null],he=this._displayables.sliderGroup,_e=this._size,$e=this.dataZoomModel,Ie=this.api,Ve=$e.get("borderRadius")||0,Fe=$e.get("brushSelect"),Ue=ue.filler=new Rect({silent:Fe,style:{fill:$e.get("fillerColor")},textConfig:{position:"inside"}});he.add(Ue),he.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:_e[0],height:_e[1],r:Ve},style:{stroke:$e.get("dataBackgroundColor")||$e.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$c([0,1],function(_n){var bn=$e.get("handleIcon");!symbolBuildProxies[bn]&&bn.indexOf("path://")<0&&bn.indexOf("image://")<0&&(bn="path://"+bn);var Sn=createSymbol(bn,-1,0,2,2,null,!0);Sn.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,_n),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var Cn=Sn.getBoundingRect(),En=$e.get("handleSize");this._handleHeight=parsePercent(En,this._size[1]),this._handleWidth=Cn.width/Cn.height*this._handleHeight,Sn.setStyle($e.getModel("handleStyle").getItemStyle()),Sn.style.strokeNoScale=!0,Sn.rectHover=!0,Sn.ensureState("emphasis").style=$e.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(Sn);var $n=$e.get("handleColor");$n!=null&&(Sn.style.fill=$n),he.add(de[_n]=Sn);var wn=$e.getModel("textStyle");le.add(pe[_n]=new ZRText$1({silent:!0,invisible:!0,style:createTextStyle$1(wn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:wn.getTextColor(),font:wn.getFont()}),z2:10}))},this);var qe=Ue;if(Fe){var Et=parsePercent($e.get("moveHandleSize"),_e[1]),At=ue.moveHandle=new Rect$2({style:$e.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:_e[1]-.5,height:Et}}),Lt=Et*.8,hn=ue.moveHandleIcon=createSymbol($e.get("moveHandleIcon"),-Lt/2,-Lt/2,Lt,Lt,"#fff",!0);hn.silent=!0,hn.y=_e[1]+Et/2-.5,At.ensureState("emphasis").style=$e.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var vn=Math.min(_e[1]/2,Math.max(Et,10));qe=ue.moveZone=new Rect$2({invisible:!0,shape:{y:_e[1]-vn,height:Et+vn}}),qe.on("mouseover",function(){Ie.enterEmphasis(At)}).on("mouseout",function(){Ie.leaveEmphasis(At)}),he.add(At),he.add(hn),he.add(qe)}qe.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},ie.prototype._resetInterval=function(){var le=this._range=this.dataZoomModel.getPercentRange(),ue=this._getViewExtent();this._handleEnds=[linearMap$2(le[0],[0,100],ue,!0),linearMap$2(le[1],[0,100],ue,!0)]},ie.prototype._updateInterval=function(le,ue){var de=this.dataZoomModel,pe=this._handleEnds,he=this._getViewExtent(),_e=de.findRepresentativeAxisProxy().getMinMaxSpan(),$e=[0,100];sliderMove(ue,pe,he,de.get("zoomLock")?"all":le,_e.minSpan!=null?linearMap$2(_e.minSpan,$e,he,!0):null,_e.maxSpan!=null?linearMap$2(_e.maxSpan,$e,he,!0):null);var Ie=this._range,Ve=this._range=asc$2([linearMap$2(pe[0],he,$e,!0),linearMap$2(pe[1],he,$e,!0)]);return!Ie||Ie[0]!==Ve[0]||Ie[1]!==Ve[1]},ie.prototype._updateView=function(le){var ue=this._displayables,de=this._handleEnds,pe=asc$2(de.slice()),he=this._size;each$c([0,1],function(qe){var Et=ue.handles[qe],At=this._handleHeight;Et.attr({scaleX:At/2,scaleY:At/2,x:de[qe]+(qe?-1:1),y:he[1]/2-At/2})},this),ue.filler.setShape({x:pe[0],y:0,width:pe[1]-pe[0],height:he[1]});var _e={x:pe[0],width:pe[1]-pe[0]};ue.moveHandle&&(ue.moveHandle.setShape(_e),ue.moveZone.setShape(_e),ue.moveZone.getBoundingRect(),ue.moveHandleIcon&&ue.moveHandleIcon.attr("x",_e.x+_e.width/2));for(var $e=ue.dataShadowSegs,Ie=[0,pe[0],pe[1],he[0]],Ve=0;Ve<$e.length;Ve++){var Fe=$e[Ve],Ue=Fe.getClipPath();Ue||(Ue=new Rect$2,Fe.setClipPath(Ue)),Ue.setShape({x:Ie[Ve],y:0,width:Ie[Ve+1]-Ie[Ve],height:he[1]})}this._updateDataInfo(le)},ie.prototype._updateDataInfo=function(le){var ue=this.dataZoomModel,de=this._displayables,pe=de.handleLabels,he=this._orient,_e=["",""];if(ue.get("showDetail")){var $e=ue.findRepresentativeAxisProxy();if($e){var Ie=$e.getAxisModel().axis,Ve=this._range,Fe=le?$e.calculateDataWindow({start:Ve[0],end:Ve[1]}).valueWindow:$e.getDataValueWindow();_e=[this._formatLabel(Fe[0],Ie),this._formatLabel(Fe[1],Ie)]}}var Ue=asc$2(this._handleEnds.slice());qe.call(this,0),qe.call(this,1);function qe(Et){var At=getTransform$1(de.handles[Et].parent,this.group),Lt=transformDirection(Et===0?"right":"left",At),hn=this._handleWidth/2+LABEL_GAP,vn=applyTransform([Ue[Et]+(Et===0?-hn:hn),this._size[1]/2],At);pe[Et].setStyle({x:vn[0],y:vn[1],verticalAlign:he===HORIZONTAL?"middle":Lt,align:he===HORIZONTAL?Lt:"center",text:_e[Et]})}},ie.prototype._formatLabel=function(le,ue){var de=this.dataZoomModel,pe=de.get("labelFormatter"),he=de.get("labelPrecision");(he==null||he==="auto")&&(he=ue.getPixelPrecision());var _e=le==null||isNaN(le)?"":ue.type==="category"||ue.type==="time"?ue.scale.getLabel({value:Math.round(le)}):le.toFixed(Math.min(he,20));return isFunction(pe)?pe(le,_e):isString(pe)?pe.replace("{value}",_e):_e},ie.prototype._showDataInfo=function(le){le=this._dragging||le;var ue=this._displayables,de=ue.handleLabels;de[0].attr("invisible",!le),de[1].attr("invisible",!le),ue.moveHandle&&this.api[le?"enterEmphasis":"leaveEmphasis"](ue.moveHandle,1)},ie.prototype._onDragMove=function(le,ue,de,pe){this._dragging=!0,stop(pe.event);var he=this._displayables.sliderGroup.getLocalTransform(),_e=applyTransform([ue,de],he,!0),$e=this._updateInterval(le,_e[0]),Ie=this.dataZoomModel.get("realtime");this._updateView(!Ie),$e&&Ie&&this._dispatchZoomAction(!0)},ie.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var le=this.dataZoomModel.get("realtime");!le&&this._dispatchZoomAction(!1)},ie.prototype._onClickPanel=function(le){var ue=this._size,de=this._displayables.sliderGroup.transformCoordToLocal(le.offsetX,le.offsetY);if(!(de[0]<0||de[0]>ue[0]||de[1]<0||de[1]>ue[1])){var pe=this._handleEnds,he=(pe[0]+pe[1])/2,_e=this._updateInterval("all",de[0]-he);this._updateView(),_e&&this._dispatchZoomAction(!1)}},ie.prototype._onBrushStart=function(le){var ue=le.offsetX,de=le.offsetY;this._brushStart=new Point$1(ue,de),this._brushing=!0,this._brushStartTime=+new Date},ie.prototype._onBrushEnd=function(le){if(this._brushing){var ue=this._displayables.brushRect;if(this._brushing=!1,!!ue){ue.attr("ignore",!0);var de=ue.shape,pe=+new Date;if(!(pe-this._brushStartTime<200&&Math.abs(de.width)<5)){var he=this._getViewExtent(),_e=[0,100];this._range=asc$2([linearMap$2(de.x,he,_e,!0),linearMap$2(de.x+de.width,he,_e,!0)]),this._handleEnds=[de.x,de.x+de.width],this._updateView(),this._dispatchZoomAction(!1)}}}},ie.prototype._onBrush=function(le){this._brushing&&(stop(le.event),this._updateBrushRect(le.offsetX,le.offsetY))},ie.prototype._updateBrushRect=function(le,ue){var de=this._displayables,pe=this.dataZoomModel,he=de.brushRect;he||(he=de.brushRect=new Rect({silent:!0,style:pe.getModel("brushStyle").getItemStyle()}),de.sliderGroup.add(he)),he.attr("ignore",!1);var _e=this._brushStart,$e=this._displayables.sliderGroup,Ie=$e.transformCoordToLocal(le,ue),Ve=$e.transformCoordToLocal(_e.x,_e.y),Fe=this._size;Ie[0]=Math.max(Math.min(Fe[0],Ie[0]),0),he.setShape({x:Ve[0],y:0,width:Ie[0]-Ve[0],height:Fe[1]})},ie.prototype._dispatchZoomAction=function(le){var ue=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:le?REALTIME_ANIMATION_CONFIG:null,start:ue[0],end:ue[1]})},ie.prototype._findCoordRect=function(){var le,ue=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!le&&ue.length){var de=ue[0].model.coordinateSystem;le=de.getRect&&de.getRect()}if(!le){var pe=this.api.getWidth(),he=this.api.getHeight();le={x:pe*.2,y:he*.2,width:pe*.6,height:he*.6}}return le},ie.type="dataZoom.slider",ie}(DataZoomView$1);function getOtherDim(oe){var ie={x:"y",y:"x",radius:"angle",angle:"radius"};return ie[oe]}function getCursor$1(oe){return oe==="vertical"?"ns-resize":"ew-resize"}const SliderZoomView$1=SliderZoomView;function install$4(oe){oe.registerComponentModel(SliderZoomModel$1),oe.registerComponentView(SliderZoomView$1),installCommon$1(oe)}function install$3(oe){use$1(install$5),use$1(install$4)}var visualDefault={get:function(oe,ie,le){var ue=clone$3((defaultOption[oe]||{})[ie]);return le&&isArray$1(ue)?ue[ue.length-1]:ue}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const visualDefault$1=visualDefault;var mapVisual=VisualMapping$1.mapVisual,eachVisual=VisualMapping$1.eachVisual,isArray=isArray$1,each$2=each$c,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le.stateList=["inRange","outOfRange"],le.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],le.layoutMode={type:"box",ignoreSize:!0},le.dataBound=[-1/0,1/0],le.targetVisuals={},le.controllerVisuals={},le}return ie.prototype.init=function(le,ue,de){this.mergeDefaultAndTheme(le,de)},ie.prototype.optionUpdated=function(le,ue){var de=this.option;!ue&&replaceVisualOption(de,le,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},ie.prototype.resetVisual=function(le){var ue=this.stateList;le=bind$1(le,this),this.controllerVisuals=createVisualMappings(this.option.controller,ue,le),this.targetVisuals=createVisualMappings(this.option.target,ue,le)},ie.prototype.getItemSymbol=function(){return null},ie.prototype.getTargetSeriesIndices=function(){var le=this.option.seriesIndex,ue=[];return le==null||le==="all"?this.ecModel.eachSeries(function(de,pe){ue.push(pe)}):ue=normalizeToArray(le),ue},ie.prototype.eachTargetSeries=function(le,ue){each$c(this.getTargetSeriesIndices(),function(de){var pe=this.ecModel.getSeriesByIndex(de);pe&&le.call(ue,pe)},this)},ie.prototype.isTargetSeries=function(le){var ue=!1;return this.eachTargetSeries(function(de){de===le&&(ue=!0)}),ue},ie.prototype.formatValueText=function(le,ue,de){var pe=this.option,he=pe.precision,_e=this.dataBound,$e=pe.formatter,Ie;de=de||["<",">"],isArray$1(le)&&(le=le.slice(),Ie=!0);var Ve=ue?le:Ie?[Fe(le[0]),Fe(le[1])]:Fe(le);if(isString($e))return $e.replace("{value}",Ie?Ve[0]:Ve).replace("{value2}",Ie?Ve[1]:Ve);if(isFunction($e))return Ie?$e(le[0],le[1]):$e(le);if(Ie)return le[0]===_e[0]?de[0]+" "+Ve[1]:le[1]===_e[1]?de[1]+" "+Ve[0]:Ve[0]+" - "+Ve[1];return Ve;function Fe(Ue){return Ue===_e[0]?"min":Ue===_e[1]?"max":(+Ue).toFixed(Math.min(he,20))}},ie.prototype.resetExtent=function(){var le=this.option,ue=asc([le.min,le.max]);this._dataExtent=ue},ie.prototype.getDataDimensionIndex=function(le){var ue=this.option.dimension;if(ue!=null)return le.getDimensionIndex(ue);for(var de=le.dimensions,pe=de.length-1;pe>=0;pe--){var he=de[pe],_e=le.getDimensionInfo(he);if(!_e.isCalculationCoord)return _e.storeDimIndex}},ie.prototype.getExtent=function(){return this._dataExtent.slice()},ie.prototype.completeVisualOption=function(){var le=this.ecModel,ue=this.option,de={inRange:ue.inRange,outOfRange:ue.outOfRange},pe=ue.target||(ue.target={}),he=ue.controller||(ue.controller={});merge(pe,de),merge(he,de);var _e=this.isCategory();$e.call(this,pe),$e.call(this,he),Ie.call(this,pe,"inRange","outOfRange"),Ve.call(this,he);function $e(Fe){isArray(ue.color)&&!Fe.inRange&&(Fe.inRange={color:ue.color.slice().reverse()}),Fe.inRange=Fe.inRange||{color:le.get("gradientColor")}}function Ie(Fe,Ue,qe){var Et=Fe[Ue],At=Fe[qe];Et&&!At&&(At=Fe[qe]={},each$2(Et,function(Lt,hn){if(VisualMapping$1.isValidType(hn)){var vn=visualDefault$1.get(hn,"inactive",_e);vn!=null&&(At[hn]=vn,hn==="color"&&!At.hasOwnProperty("opacity")&&!At.hasOwnProperty("colorAlpha")&&(At.opacity=[0,0]))}}))}function Ve(Fe){var Ue=(Fe.inRange||{}).symbol||(Fe.outOfRange||{}).symbol,qe=(Fe.inRange||{}).symbolSize||(Fe.outOfRange||{}).symbolSize,Et=this.get("inactiveColor"),At=this.getItemSymbol(),Lt=At||"roundRect";each$2(this.stateList,function(hn){var vn=this.itemSize,_n=Fe[hn];_n||(_n=Fe[hn]={color:_e?Et:[Et]}),_n.symbol==null&&(_n.symbol=Ue&&clone$3(Ue)||(_e?Lt:[Lt])),_n.symbolSize==null&&(_n.symbolSize=qe&&clone$3(qe)||(_e?vn[0]:[vn[0],vn[0]])),_n.symbol=mapVisual(_n.symbol,function(Cn){return Cn==="none"?Lt:Cn});var bn=_n.symbolSize;if(bn!=null){var Sn=-1/0;eachVisual(bn,function(Cn){Cn>Sn&&(Sn=Cn)}),_n.symbolSize=mapVisual(bn,function(Cn){return linearMap$1(Cn,[0,Sn],[0,vn[0]],!0)})}},this)}},ie.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},ie.prototype.isCategory=function(){return!!this.option.categories},ie.prototype.setSelected=function(le){},ie.prototype.getSelected=function(){return null},ie.prototype.getValueState=function(le){return null},ie.prototype.getVisualMeta=function(le){return null},ie.type="visualMap",ie.dependencies=["series"],ie.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},ie}(ComponentModel$1);const VisualMapModel$1=VisualMapModel;var DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.optionUpdated=function(le,ue){oe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(de){de.mappingMethod="linear",de.dataExtent=this.getExtent()}),this._resetRange()},ie.prototype.resetItemSize=function(){oe.prototype.resetItemSize.apply(this,arguments);var le=this.itemSize;(le[0]==null||isNaN(le[0]))&&(le[0]=DEFAULT_BAR_BOUND[0]),(le[1]==null||isNaN(le[1]))&&(le[1]=DEFAULT_BAR_BOUND[1])},ie.prototype._resetRange=function(){var le=this.getExtent(),ue=this.option.range;!ue||ue.auto?(le.auto=1,this.option.range=le):isArray$1(ue)&&(ue[0]>ue[1]&&ue.reverse(),ue[0]=Math.max(ue[0],le[0]),ue[1]=Math.min(ue[1],le[1]))},ie.prototype.completeVisualOption=function(){oe.prototype.completeVisualOption.apply(this,arguments),each$c(this.stateList,function(le){var ue=this.option.controller[le].symbolSize;ue&&ue[0]!==ue[1]&&(ue[0]=ue[1]/3)},this)},ie.prototype.setSelected=function(le){this.option.range=le.slice(),this._resetRange()},ie.prototype.getSelected=function(){var le=this.getExtent(),ue=asc$2((this.get("range")||[]).slice());return ue[0]>le[1]&&(ue[0]=le[1]),ue[1]>le[1]&&(ue[1]=le[1]),ue[0]=de[1]||le<=ue[1])?"inRange":"outOfRange"},ie.prototype.findTargetDataIndices=function(le){var ue=[];return this.eachTargetSeries(function(de){var pe=[],he=de.getData();he.each(this.getDataDimensionIndex(he),function(_e,$e){le[0]<=_e&&_e<=le[1]&&pe.push($e)},this),ue.push({seriesId:de.id,dataIndex:pe})},this),ue},ie.prototype.getVisualMeta=function(le){var ue=getColorStopValues(this,"outOfRange",this.getExtent()),de=getColorStopValues(this,"inRange",this.option.range.slice()),pe=[];function he(qe,Et){pe.push({value:qe,color:le(qe,Et)})}for(var _e=0,$e=0,Ie=de.length,Ve=ue.length;$ele[1])break;pe.push({color:this.getControllerVisual($e,"color",ue),offset:_e/de})}return pe.push({color:this.getControllerVisual(le[1],"color",ue),offset:1}),pe},ie.prototype._createBarPoints=function(le,ue){var de=this.visualMapModel.itemSize;return[[de[0]-ue[0],le[0]],[de[0],le[0]],[de[0],le[1]],[de[0]-ue[1],le[1]]]},ie.prototype._createBarGroup=function(le){var ue=this._orient,de=this.visualMapModel.get("inverse");return new Group$3(ue==="horizontal"&&!de?{scaleX:le==="bottom"?1:-1,rotation:Math.PI/2}:ue==="horizontal"&&de?{scaleX:le==="bottom"?-1:1,rotation:-Math.PI/2}:ue==="vertical"&&!de?{scaleX:le==="left"?1:-1,scaleY:-1}:{scaleX:le==="left"?1:-1})},ie.prototype._updateHandle=function(le,ue){if(this._useHandle){var de=this._shapes,pe=this.visualMapModel,he=de.handleThumbs,_e=de.handleLabels,$e=pe.itemSize,Ie=pe.getExtent();each$1([0,1],function(Ve){var Fe=he[Ve];Fe.setStyle("fill",ue.handlesColor[Ve]),Fe.y=le[Ve];var Ue=linearMap(le[Ve],[0,$e[1]],Ie,!0),qe=this.getControllerVisual(Ue,"symbolSize");Fe.scaleX=Fe.scaleY=qe/$e[0],Fe.x=$e[0]-qe/2;var Et=applyTransform(de.handleLabelPoints[Ve],getTransform$1(Fe,this.group));_e[Ve].setStyle({x:Et[0],y:Et[1],text:pe.formatValueText(this._dataInterval[Ve]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",de.mainGroup):"center"})},this)}},ie.prototype._showIndicator=function(le,ue,de,pe){var he=this.visualMapModel,_e=he.getExtent(),$e=he.itemSize,Ie=[0,$e[1]],Ve=this._shapes,Fe=Ve.indicator;if(Fe){Fe.attr("invisible",!1);var Ue={convertOpacityToAlpha:!0},qe=this.getControllerVisual(le,"color",Ue),Et=this.getControllerVisual(le,"symbolSize"),At=linearMap(le,_e,Ie,!0),Lt=$e[0]-Et/2,hn={x:Fe.x,y:Fe.y};Fe.y=At,Fe.x=Lt;var vn=applyTransform(Ve.indicatorLabelPoint,getTransform$1(Fe,this.group)),_n=Ve.indicatorLabel;_n.attr("invisible",!1);var bn=this._applyTransform("left",Ve.mainGroup),Sn=this._orient,Cn=Sn==="horizontal";_n.setStyle({text:(de||"")+he.formatValueText(ue),verticalAlign:Cn?bn:"middle",align:Cn?"center":bn});var En={x:Lt,y:At,style:{fill:qe}},$n={style:{x:vn[0],y:vn[1]}};if(he.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var wn={duration:100,easing:"cubicInOut",additive:!0};Fe.x=hn.x,Fe.y=hn.y,Fe.animateTo(En,wn),_n.animateTo($n,wn)}else Fe.attr(En),_n.attr($n);this._firstShowIndicator=!1;var Pn=this._shapes.handleLabels;if(Pn)for(var xn=0;xnhe[1]&&(Fe[1]=1/0),ue&&(Fe[0]===-1/0?this._showIndicator(Ve,Fe[1],"< ",$e):Fe[1]===1/0?this._showIndicator(Ve,Fe[0],"> ",$e):this._showIndicator(Ve,Ve,"≈ ",$e));var Ue=this._hoverLinkDataIndices,qe=[];(ue||useHoverLinkOnHandle(de))&&(qe=this._hoverLinkDataIndices=de.findTargetDataIndices(Fe));var Et=compressBatches(Ue,qe);this._dispatchHighDown("downplay",makeHighDownBatch(Et[0],de)),this._dispatchHighDown("highlight",makeHighDownBatch(Et[1],de))}},ie.prototype._hoverLinkFromSeriesMouseOver=function(le){var ue;if(findEventDispatcher(le.target,function($e){var Ie=getECData($e);if(Ie.dataIndex!=null)return ue=Ie,!0},!0),!!ue){var de=this.ecModel.getSeriesByIndex(ue.seriesIndex),pe=this.visualMapModel;if(pe.isTargetSeries(de)){var he=de.getData(ue.dataType),_e=he.getStore().get(pe.getDataDimensionIndex(he),ue.dataIndex);isNaN(_e)||this._showIndicator(_e,_e)}}},ie.prototype._hideIndicator=function(){var le=this._shapes;le.indicator&&le.indicator.attr("invisible",!0),le.indicatorLabel&&le.indicatorLabel.attr("invisible",!0);var ue=this._shapes.handleLabels;if(ue)for(var de=0;de=0&&(pe.dimension=he,ue.push(pe))}}),oe.getData().setVisual("visualMeta",ue)}}];function getColorVisual(oe,ie,le,ue){for(var de=ie.targetVisuals[ue],pe=VisualMapping$1.prepareVisualTypes(de),he={color:getVisualFromData(oe.getData(),"color")},_e=0,$e=pe.length;_e<$e;_e++){var Ie=pe[_e],Ve=de[Ie==="opacity"?"__alphaForOpacity":Ie];Ve&&Ve.applyVisual(le,Fe,Ue)}return he.color;function Fe(qe){return he[qe]}function Ue(qe,Et){he[qe]=Et}}var each=each$c;function visualMapPreprocessor(oe){var ie=oe&&oe.visualMap;isArray$1(ie)||(ie=ie?[ie]:[]),each(ie,function(le){if(le){has(le,"splitList")&&!has(le,"pieces")&&(le.pieces=le.splitList,delete le.splitList);var ue=le.pieces;ue&&isArray$1(ue)&&each(ue,function(de){isObject$3(de)&&(has(de,"start")&&!has(de,"min")&&(de.min=de.start),has(de,"end")&&!has(de,"max")&&(de.max=de.end))})}})}function has(oe,ie){return oe&&oe.hasOwnProperty&&oe.hasOwnProperty(ie)}var installed=!1;function installCommon(oe){installed||(installed=!0,oe.registerSubTypeDefaulter("visualMap",function(ie){return!ie.categories&&(!(ie.pieces?ie.pieces.length>0:ie.splitNumber>0)||ie.calculable)?"continuous":"piecewise"}),oe.registerAction(visualMapActionInfo,visualMapActionHander),each$c(visualMapEncodingHandlers,function(ie){oe.registerVisual(oe.PRIORITY.VISUAL.COMPONENT,ie)}),oe.registerPreprocessor(visualMapPreprocessor))}function install$2(oe){oe.registerComponentModel(ContinuousModel$1),oe.registerComponentView(ContinuousView$1),installCommon(oe)}var PiecewiseModel=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le._pieceList=[],le}return ie.prototype.optionUpdated=function(le,ue){oe.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var de=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(le,ue);var pe=this.option.categories;this.resetVisual(function(he,_e){de==="categories"?(he.mappingMethod="category",he.categories=clone$3(pe)):(he.dataExtent=this.getExtent(),he.mappingMethod="piecewise",he.pieceList=map$2(this._pieceList,function($e){return $e=clone$3($e),_e!=="inRange"&&($e.visual=null),$e}))})},ie.prototype.completeVisualOption=function(){var le=this.option,ue={},de=VisualMapping$1.listVisualTypes(),pe=this.isCategory();each$c(le.pieces,function(_e){each$c(de,function($e){_e.hasOwnProperty($e)&&(ue[$e]=1)})}),each$c(ue,function(_e,$e){var Ie=!1;each$c(this.stateList,function(Ve){Ie=Ie||he(le,Ve,$e)||he(le.target,Ve,$e)},this),!Ie&&each$c(this.stateList,function(Ve){(le[Ve]||(le[Ve]={}))[$e]=visualDefault$1.get($e,Ve==="inRange"?"active":"inactive",pe)})},this);function he(_e,$e,Ie){return _e&&_e[$e]&&_e[$e].hasOwnProperty(Ie)}oe.prototype.completeVisualOption.apply(this,arguments)},ie.prototype._resetSelected=function(le,ue){var de=this.option,pe=this._pieceList,he=(ue?de:le).selected||{};if(de.selected=he,each$c(pe,function($e,Ie){var Ve=this.getSelectedMapKey($e);he.hasOwnProperty(Ve)||(he[Ve]=!0)},this),de.selectedMode==="single"){var _e=!1;each$c(pe,function($e,Ie){var Ve=this.getSelectedMapKey($e);he[Ve]&&(_e?he[Ve]=!1:_e=!0)},this)}},ie.prototype.getItemSymbol=function(){return this.get("itemSymbol")},ie.prototype.getSelectedMapKey=function(le){return this._mode==="categories"?le.value+"":le.index+""},ie.prototype.getPieceList=function(){return this._pieceList},ie.prototype._determineMode=function(){var le=this.option;return le.pieces&&le.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},ie.prototype.setSelected=function(le){this.option.selected=clone$3(le)},ie.prototype.getValueState=function(le){var ue=VisualMapping$1.findPieceIndex(le,this._pieceList);return ue!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[ue])]?"inRange":"outOfRange"},ie.prototype.findTargetDataIndices=function(le){var ue=[],de=this._pieceList;return this.eachTargetSeries(function(pe){var he=[],_e=pe.getData();_e.each(this.getDataDimensionIndex(_e),function($e,Ie){var Ve=VisualMapping$1.findPieceIndex($e,de);Ve===le&&he.push(Ie)},this),ue.push({seriesId:pe.id,dataIndex:he})},this),ue},ie.prototype.getRepresentValue=function(le){var ue;if(this.isCategory())ue=le.value;else if(le.value!=null)ue=le.value;else{var de=le.interval||[];ue=de[0]===-1/0&&de[1]===1/0?0:(de[0]+de[1])/2}return ue},ie.prototype.getVisualMeta=function(le){if(this.isCategory())return;var ue=[],de=["",""],pe=this;function he(Ve,Fe){var Ue=pe.getRepresentValue({interval:Ve});Fe||(Fe=pe.getValueState(Ue));var qe=le(Ue,Fe);Ve[0]===-1/0?de[0]=qe:Ve[1]===1/0?de[1]=qe:ue.push({value:Ve[0],color:qe},{value:Ve[1],color:qe})}var _e=this._pieceList.slice();if(!_e.length)_e.push({interval:[-1/0,1/0]});else{var $e=_e[0].interval[0];$e!==-1/0&&_e.unshift({interval:[-1/0,$e]}),$e=_e[_e.length-1].interval[1],$e!==1/0&&_e.push({interval:[$e,1/0]})}var Ie=-1/0;return each$c(_e,function(Ve){var Fe=Ve.interval;Fe&&(Fe[0]>Ie&&he([Ie,Fe[0]],"outOfRange"),he(Fe.slice()),Ie=Fe[1])},this),{stops:ue,outerColors:de}},ie.type="visualMap.piecewise",ie.defaultOption=inheritDefaultOption(VisualMapModel$1.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),ie}(VisualMapModel$1),resetMethods={splitNumber:function(oe){var ie=this.option,le=Math.min(ie.precision,20),ue=this.getExtent(),de=ie.splitNumber;de=Math.max(parseInt(de,10),1),ie.splitNumber=de;for(var pe=(ue[1]-ue[0])/de;+pe.toFixed(le)!==pe&&le<5;)le++;ie.precision=le,pe=+pe.toFixed(le),ie.minOpen&&oe.push({interval:[-1/0,ue[0]],close:[0,0]});for(var he=0,_e=ue[0];he","≥"][ue[0]]];le.text=le.text||this.formatValueText(le.value!=null?le.value:le.interval,!1,de)},this)}};function normalizeReverse(oe,ie){var le=oe.inverse;(oe.orient==="vertical"?!le:le)&&ie.reverse()}const PiecewiseModel$1=PiecewiseModel;var PiecewiseVisualMapView=function(oe){__extends(ie,oe);function ie(){var le=oe!==null&&oe.apply(this,arguments)||this;return le.type=ie.type,le}return ie.prototype.doRender=function(){var le=this.group;le.removeAll();var ue=this.visualMapModel,de=ue.get("textGap"),pe=ue.textStyleModel,he=pe.getFont(),_e=pe.getTextColor(),$e=this._getItemAlign(),Ie=ue.itemSize,Ve=this._getViewData(),Fe=Ve.endsText,Ue=retrieve(ue.get("showLabel",!0),!Fe);Fe&&this._renderEndsText(le,Fe[0],Ie,Ue,$e),each$c(Ve.viewPieceList,function(qe){var Et=qe.piece,At=new Group$3;At.onclick=bind$1(this._onItemClick,this,Et),this._enableHoverLink(At,qe.indexInModelPieceList);var Lt=ue.getRepresentValue(Et);if(this._createItemSymbol(At,Lt,[0,0,Ie[0],Ie[1]]),Ue){var hn=this.visualMapModel.getValueState(Lt);At.add(new ZRText$1({style:{x:$e==="right"?-de:Ie[0]+de,y:Ie[1]/2,text:Et.text,verticalAlign:"middle",align:$e,font:he,fill:_e,opacity:hn==="outOfRange"?.5:1}}))}le.add(At)},this),Fe&&this._renderEndsText(le,Fe[1],Ie,Ue,$e),box(ue.get("orient"),le,ue.get("itemGap")),this.renderBackground(le),this.positionGroup(le)},ie.prototype._enableHoverLink=function(le,ue){var de=this;le.on("mouseover",function(){return pe("highlight")}).on("mouseout",function(){return pe("downplay")});var pe=function(he){var _e=de.visualMapModel;_e.option.hoverLink&&de.api.dispatchAction({type:he,batch:makeHighDownBatch(_e.findTargetDataIndices(ue),_e)})}},ie.prototype._getItemAlign=function(){var le=this.visualMapModel,ue=le.option;if(ue.orient==="vertical")return getItemAlign(le,this.api,le.itemSize);var de=ue.align;return(!de||de==="auto")&&(de="left"),de},ie.prototype._renderEndsText=function(le,ue,de,pe,he){if(ue){var _e=new Group$3,$e=this.visualMapModel.textStyleModel;_e.add(new ZRText$1({style:createTextStyle$1($e,{x:pe?he==="right"?de[0]:0:de[0]/2,y:de[1]/2,verticalAlign:"middle",align:pe?he:"center",text:ue})})),le.add(_e)}},ie.prototype._getViewData=function(){var le=this.visualMapModel,ue=map$2(le.getPieceList(),function(_e,$e){return{piece:_e,indexInModelPieceList:$e}}),de=le.get("text"),pe=le.get("orient"),he=le.get("inverse");return(pe==="horizontal"?he:!he)?ue.reverse():de&&(de=de.slice().reverse()),{viewPieceList:ue,endsText:de}},ie.prototype._createItemSymbol=function(le,ue,de){le.add(createSymbol(this.getControllerVisual(ue,"symbol"),de[0],de[1],de[2],de[3],this.getControllerVisual(ue,"color")))},ie.prototype._onItemClick=function(le){var ue=this.visualMapModel,de=ue.option,pe=de.selectedMode;if(pe){var he=clone$3(de.selected),_e=ue.getSelectedMapKey(le);pe==="single"||pe===!0?(he[_e]=!0,each$c(he,function($e,Ie){he[Ie]=Ie===_e})):he[_e]=!he[_e],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:he})}},ie.type="visualMap.piecewise",ie}(VisualMapView$1);const PiecewiseView=PiecewiseVisualMapView;function install$1(oe){oe.registerComponentModel(PiecewiseModel$1),oe.registerComponentView(PiecewiseView),installCommon(oe)}function install(oe){use$1(install$2),use$1(install$1)}const{use}=echarts;use([install$h,install$i,install$j,install$k,install$e,install$9,install$6,install$d,install$b,install$a,install$3,install]);function useEcharts(oe){oe.config.globalProperties.$echarts=echarts}var p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,j$1=Object.prototype.hasOwnProperty,_=(oe,ie,le)=>ie in oe?p(oe,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ie]=le,P=(oe,ie)=>{for(var le in ie)p(oe,le,{get:ie[le],enumerable:!0})},y=(oe,ie,le,ue)=>{if(ie&&typeof ie=="object"||typeof ie=="function")for(let de of u(ie))!j$1.call(oe,de)&&de!==le&&p(oe,de,{get:()=>ie[de],enumerable:!(ue=d(ie,de))||ue.enumerable});return oe},m$1=(oe,ie,le)=>(y(oe,ie,"default"),le&&y(le,ie,"default")),f=(oe,ie,le)=>(_(oe,typeof ie!="symbol"?ie+"":ie,le),le),c={};P(c,{Vue:()=>vue_runtime_esmBundler});m$1(c,vue_runtime_esmBundler);var g=class{static install(oe,ie){let{nameSpace:le=this._nameSpace,memory:ue}=ie;return ue&&this.clearAll(le,ue),new g(oe,ie)}static clearAll(oe,ie){Object.keys(ie).forEach(le=>{let ue=oe+le;Object.prototype.hasOwnProperty.call(window.localStorage,ue)&&window.localStorage.removeItem(ue)})}static get(oe){return JSON.parse(window.localStorage.getItem(oe))}static set(oe,ie){ie=typeof ie=="object"?JSON.stringify(ie):ie,window.localStorage.setItem(oe,ie)}static getData(oe,ie){if(Object.prototype.hasOwnProperty.call(window.localStorage,this._getStaticKey(ie,oe)))return JSON.parse(window.localStorage.getItem(this._getStaticKey(ie,oe)))}constructor(oe,ie){let le=g,{version:ue=3,nameSpace:de=le._nameSpace,memory:pe}=ie,he=Ie=>de+Ie,_e=ue===3?(0,c.reactive)(pe):pe;Object.keys(_e).length===0&&console.warn("key cannot be empty"),Object.keys(_e).forEach(Ie=>{let Ve=_e[Ie];le.set(he(Ie),Ve),Reflect.defineProperty(_e,Ie,{get:()=>le.get(he(Ie)),set:Fe=>le.set(he(Ie),Fe),configurable:!0}),ue===2&&oe.util.defineReactive(_e,Ie,_e[Ie])});let $e=ue===3?oe.config.globalProperties:oe.prototype;Reflect.defineProperty($e,"$storage",{get:()=>_e})}},n=g;f(n,"_nameSpace","rs-"),f(n,"_getStaticKey",(oe,ie)=>`${oe??g._nameSpace}${ie}`);const injectResponsiveStorage=(oe,ie)=>{const le=responsiveStorageNameSpace(),ue=Object.assign({locale:n.getData("locale",le)??{locale:ie.Locale??"zh"},layout:n.getData("layout",le)??{layout:ie.Layout??"vertical",theme:ie.Theme??"default",darkMode:ie.DarkMode??!1,sidebarStatus:ie.SidebarStatus??!0,epThemeColor:ie.EpThemeColor??"#409EFF"},configure:n.getData("configure",le)??{grey:ie.Grey??!1,weak:ie.Weak??!1,hideTabs:ie.HideTabs??!1,showLogo:ie.ShowLogo??!0,showModel:ie.ShowModel??"smart",multiTagsCache:ie.MultiTagsCache??!1}},ie.MultiTagsCache?{tags:n.getData("tags",le)??routerArrays}:{});oe.use(n,{nameSpace:le,memory:ue})},we=Object.prototype.hasOwnProperty,W=(oe,ie)=>we.call(oe,ie),q=oe=>oe!==null&&typeof oe=="object",Oe=((oe,ie)=>{if(!q(oe)||q(le=oe)&&le.__epPropKey)return oe;var le;const{values:ue,required:de,default:pe,type:he,validator:_e}=oe,$e=ue||_e?Ve=>{let Fe=!1,Ue=[];if(ue&&(Ue=Array.from(ue),W(oe,"default")&&Ue.push(pe),Fe||(Fe=Ue.includes(Ve))),_e&&(Fe||(Fe=_e(Ve))),!Fe&&Ue.length>0){const qe=[...new Set(Ue)].map(Et=>JSON.stringify(Et)).join(", ");warn$2(`Invalid prop: validation failed${ie?` for prop "${ie}"`:""}. Expected one of [${qe}], got value ${JSON.stringify(Ve)}.`)}return Fe}:void 0,Ie={type:he,required:!!de,validator:$e,__epPropKey:!0};return W(oe,"default")&&(Ie.default=pe),Ie})({type:String,values:["","default","small","large"],required:!1});var Se={data:{type:Array,default:()=>[]},size:Oe,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean};const xe={key:{type:String||Number,default:"0"},columns:{type:Array,default:[]},loading:{type:Boolean,default:!1},loadingConfig:{type:Object,default:()=>{}},alignWhole:{type:String,default:"left"},headerAlign:{type:String,default:""},showOverflowTooltip:{type:Boolean,default:!1},rowHoverBgColor:{type:String,default:""},pagination:{type:Object,default:{total:0,pageSize:5,align:"right",background:!1,pageSizes:[5,10,15,20],layout:"total, sizes, prev, pager, next, jumper"}},paginationSmall:{type:Boolean,default:!1},adaptive:{type:Boolean,default:!1},adaptiveConfig:{type:Object,default:{offsetBottom:96,fixHeader:!0,timeout:60,zIndex:100}},...Se},J=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:oe=>()=>createVNode(Fragment,null,[oe.render(oe.params)])});var ee=Object.defineProperty,je=Object.getOwnPropertyDescriptor,Ce=Object.getOwnPropertyNames,Be=Object.prototype.hasOwnProperty,U=(oe,ie,le,ue)=>{if(ie&&typeof ie=="object"||typeof ie=="function")for(let de of Ce(ie))!Be.call(oe,de)&&de!==le&&ee(oe,de,{get:()=>ie[de],enumerable:!(ue=je(ie,de))||ue.enumerable});return oe},ze=Object.prototype.toString;function G(oe){return typeof oe=="function"}function Ne(oe){return function(ie,le){return ze.call(ie)===`[object ${le}]`}(oe,"Boolean")}var h={};((oe,ie)=>{for(var le in ie)ee(oe,le,{get:ie[le],enumerable:!0})})(h,{Vue:()=>vue_runtime_esmBundler}),U(h,vue_runtime_esmBundler,"default");var Te=()=>{let oe,ie=(0,h.shallowRef)(!1),le=()=>{ie.value=document.documentElement.classList.contains("dark")};return function(ue){(0,h.getCurrentInstance)()&&(0,h.onUnmounted)(ue)}(()=>{oe.takeRecords(),oe.disconnect()}),(0,h.onBeforeMount)(()=>{le(),oe=new MutationObserver(le),oe.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:ie}};const D=defineComponent({name:"PureTable",props:xe,emits:["page-size-change","page-current-change"],setup(oe,{slots:ie,attrs:le,emit:ue,expose:de}){var pe;const{key:he,columns:_e,loading:$e,adaptive:Ie,pagination:Ve,alignWhole:Fe,headerAlign:Ue,loadingConfig:qe,adaptiveConfig:Et,rowHoverBgColor:At,showOverflowTooltip:Lt}=toRefs(oe),{isDark:hn}=Te(),vn=getCurrentInstance();let _n=unref(Ve)&&unref(Ve).currentPage&&unref(Ve).pageSize,bn=computed(()=>{if(!unref(qe))return;let{text:In,spinner:Fn,svg:Vn,viewBox:Dn}=unref(qe);return{"element-loading-text":In,"element-loading-spinner":Fn,"element-loading-svg":Vn,"element-loading-svg-view-box":Dn}});const Sn=computed(()=>{var In,Fn;if(unref($e))return{"element-loading-background":((Fn=(In=unref(qe))==null?void 0:In.background)!=null?Fn:hn.value)?"rgba(0, 0, 0, 0.45)":"rgba(255, 255, 255, 0.45)"}}),Cn=computed(()=>{var In;return Object.assign({width:"100%",margin:"16px 0",display:"flex",justifyContent:unref(Ve).align==="left"?"flex-start":unref(Ve).align==="center"?"center":"flex-end"},(In=unref(Ve).style)!=null?In:{})}),En=(In,Fn)=>{const{cellRenderer:Vn,slot:Dn,headerRenderer:zn,headerSlot:Mn,hide:Hn,children:Wn,prop:Un,...Zn}=In;if(G(Hn)&&Hn(le))return Hn(le);if(Ne(Hn)&&Hn)return Hn;const ar={default:Yn=>{var Kn;return Vn?createVNode(J,{render:Vn,params:Object.assign(Yn,{index:Yn.$index,props:oe,attrs:le})},null):Dn?(Kn=ie==null?void 0:ie[Dn])==null?void 0:Kn.call(ie,Object.assign(Yn,{index:Yn.$index,props:oe,attrs:le})):void 0}};let mr=zn?{header:Yn=>createVNode(J,{render:zn,params:Object.assign(Yn,{index:Yn.$index,props:oe,attrs:le})},null),...ar}:ie!=null&&ie[Mn]?{header:Yn=>{var Kn;return(Kn=ie==null?void 0:ie[Mn])==null?void 0:Kn.call(ie,Object.assign(Yn,{index:Yn.$index,props:oe,attrs:le}))},...ar}:ar;return(Wn==null?void 0:Wn.length)>0&&(mr=Wn.map(En)),createVNode(ElTableColumn,mergeProps({key:Fn},Zn,{prop:G(Un)&&Un(Fn)?Un(Fn):Un,align:In!=null&&In.align?In.align:unref(Fe),headerAlign:In!=null&&In.headerAlign?In.headerAlign:unref(Ue),showOverflowTooltip:In!=null&&In.showOverflowTooltip?In.showOverflowTooltip:unref(Lt)}),typeof(rr=mr)=="function"||Object.prototype.toString.call(rr)==="[object Object]"&&!isVNode$1(rr)?mr:{default:()=>[mr]});var rr},$n=()=>{var In;return(In=vn==null?void 0:vn.proxy)==null?void 0:In.$refs[`TableRef${unref(he)}`]},wn=()=>$n().$refs,Pn=async()=>{var In;await nextTick();const Fn=wn().tableWrapper,Vn=(In=unref(Et).offsetBottom)!=null?In:96;Fn.style.height=window.innerHeight-Fn.getBoundingClientRect().top-Vn+"px"},xn=((In,Fn=200,Vn=!1)=>{let Dn,zn,Mn=Fn;return function(){Dn&&clearTimeout(Dn),Vn?(Dn||In.call(zn,...arguments),Dn=setTimeout(()=>Dn=null,Mn)):Dn=setTimeout(()=>In.call(zn,...arguments),Mn)}})(Pn,(pe=unref(Et).timeout)!=null?pe:60),An=async(In=100)=>{await nextTick();const Fn=wn().tableHeaderRef.$el.style;Fn.position="sticky",Fn.top=0,Fn.zIndex=In};onMounted(()=>{nextTick(()=>{var In;if(unref(At)&&wn().tableWrapper.style.setProperty("--el-table-row-hover-bg-color",unref(At),"important"),unref(Ie)){if(Pn(),window.addEventListener("resize",xn),Reflect.has(unref(Et),"fixHeader")&&!unref(Et).fixHeader)return;An((In=unref(Et).zIndex)!=null?In:100)}})}),onBeforeUnmount(()=>{unref(Ie)&&window.removeEventListener("resize",xn)}),de({getTableRef:$n,getTableDoms:wn,setAdaptive:Pn,setHeaderSticky:An});let On=()=>{var In,Fn;return createVNode(Fragment,null,[createVNode(ElTable,mergeProps(oe,le,{ref:`TableRef${unref(he)}`}),{default:()=>unref(_e).map(En),append:()=>ie.append&&ie.append(),empty:()=>ie.empty&&ie.empty()}),_n?createVNode(ElPagination,mergeProps(le,{class:"pure-pagination",style:unref(Cn)},unref(Ve),{small:oe!=null&&oe.paginationSmall?oe==null?void 0:oe.paginationSmall:!!unref(Ve).small&&unref(Ve).small,layout:(In=unref(Ve).layout)!=null?In:"total, sizes, prev, pager, next, jumper",pageSizes:(Fn=unref(Ve).pageSizes)!=null?Fn:[5,10,15,20],onSizeChange:Vn=>(Dn=>{unref(Ve).pageSize=Dn,ue("page-size-change",Dn)})(Vn),onCurrentChange:Vn=>(Dn=>{unref(Ve).currentPage=Dn,ue("page-current-change",Dn)})(Vn)}),null):null])};return()=>withDirectives(createVNode("div",mergeProps({class:"pure-table",style:"width:100%"},unref(Sn),unref(bn)),[On()]),[[resolveDirective("loading"),unref($e)]])}}),Pe=Object.assign(D,{install:function(oe){oe.component(D.name,D)}}),L={data:{type:Array,default:[]},columns:{type:Array,default:[]},loading:{type:Object,default:()=>({load:!1,text:"Loading...",svg:"",spinner:"",svgViewBox:"",background:""})},align:{type:String,default:"left"},labelAlign:{type:String,default:""},...ElDescriptions.props},j=defineComponent({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:oe=>()=>createVNode(Fragment,null,[oe.render(oe.params)])}),m=defineComponent({name:"PureDescriptions",props:L,setup(oe,{slots:ie,attrs:le}){const{data:ue,columns:de,align:pe,labelAlign:he,loading:_e}=toRefs(oe),$e={title:()=>(ie==null?void 0:ie.title)&&ie.title({props:oe,attrs:le})},Ie={extra:()=>(ie==null?void 0:ie.extra)&&ie.extra({props:oe,attrs:le})},Ve=ie!=null&&ie.title&&!(ie!=null&&ie.extra)?$e:ie!=null&&ie.extra&&!(ie!=null&&ie.title)?Ie:ie!=null&&ie.title&&(ie!=null&&ie.extra)?Object.assign($e,Ie):null;return()=>{var Fe;return withDirectives(createVNode(ElDescriptions,mergeProps(oe,le,{"element-loading-text":(Fe=unref(_e).text)!=null?Fe:"Loading...","element-loading-svg":unref(_e).svg,"element-loading-spinner":unref(_e).spinner,"element-loading-svg-view-box":unref(_e).svgViewBox,"element-loading-background":unref(_e).background}),{default:()=>[unref(de).map((Ue,qe)=>{let Et=unref(ue).map(_n=>_n[Ue==null?void 0:Ue.prop]);const At={default:()=>{var _n;return Ue!=null&&Ue.cellRenderer?createVNode(j,{render:Ue.cellRenderer,params:{props:oe,attrs:le,index:qe,value:Et[0]}},null):Ue!=null&&Ue.slot?(_n=ie==null?void 0:ie[Ue.slot])==null?void 0:_n.call(ie,{props:oe,attrs:le,index:qe,value:Et[0]}):createVNode(Fragment,null,Ue!=null&&Ue.value?[unref(Ue.value)]:[Et])}},Lt=Ue!=null&&Ue.labelRenderer?{label:()=>createVNode(j,{render:Ue.labelRenderer,params:{props:oe,attrs:le,index:qe,value:Et[0]}},null),...At}:At;return hn=Ue==null?void 0:Ue.hide,typeof hn=="function"&&(Ue!=null&&Ue.hide(le))?Ue==null?void 0:Ue.hide(le):createVNode(ElDescriptionsItem,mergeProps(Ue,{key:qe,align:Ue.align?Ue.align:unref(pe),labelAlign:Ue.labelAlign?Ue.labelAlign:unref(he)}),typeof(vn=Lt)=="function"||Object.prototype.toString.call(vn)==="[object Object]"&&!isVNode$1(vn)?Lt:{default:()=>[Lt]});var hn,vn})],...Ve}),[[resolveDirective("loading"),unref(_e).load]])}}}),I=Object.assign(m,{install:function(oe){oe.component(m.name,m)}}),reset="",index$1="",tailwind="",index="";window._iconfont_svg_string_2208059='',function(oe){var le=(le=document.getElementsByTagName("script"))[le.length-1],ie=le.getAttribute("data-injectcss"),le=le.getAttribute("data-disable-injectsvg");if(!le){var ue,de,pe,he,_e,$e=function(Fe,Ue){Ue.parentNode.insertBefore(Fe,Ue)};if(ie&&!oe.__iconfont__svg__cssinject__){oe.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(Fe){console&&console.log(Fe)}}ue=function(){var Fe,Ue=document.createElement("div");Ue.innerHTML=oe._iconfont_svg_string_2208059,(Ue=Ue.getElementsByTagName("svg")[0])&&(Ue.setAttribute("aria-hidden","true"),Ue.style.position="absolute",Ue.style.width=0,Ue.style.height=0,Ue.style.overflow="hidden",Ue=Ue,(Fe=document.body).firstChild?$e(Ue,Fe.firstChild):Fe.appendChild(Ue))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(ue,0):(de=function(){document.removeEventListener("DOMContentLoaded",de,!1),ue()},document.addEventListener("DOMContentLoaded",de,!1)):document.attachEvent&&(pe=ue,he=oe.document,_e=!1,Ve(),he.onreadystatechange=function(){he.readyState=="complete"&&(he.onreadystatechange=null,Ie())})}function Ie(){_e||(_e=!0,pe())}function Ve(){try{he.documentElement.doScroll("left")}catch{return void setTimeout(Ve,50)}Ie()}}(window);const iconfont="",auth$1={mounted(oe,ie){var ue;const{value:le}=ie;if(le)!hasAuth(le)&&((ue=oe.parentNode)==null||ue.removeChild(oe));else throw new Error(`[Directive: auth]: need auths! Like v-auth="['btn.add','btn.edit']"`)}},message=(oe,ie)=>{if(ie){const{icon:le,type:ue="info",dangerouslyUseHTMLString:de=!1,customClass:pe="antd",duration:he=2e3,showClose:_e=!1,center:$e=!1,offset:Ie=20,appendTo:Ve=document.body,grouping:Fe=!1,onClose:Ue}=ie;return ElMessage({message:oe,type:ue,icon:le,dangerouslyUseHTMLString:de,duration:he,showClose:_e,center:$e,offset:Ie,appendTo:Ve,grouping:Fe,customClass:pe==="antd"?"pure-message":"",onClose:()=>q$1(Ue)?Ue():null})}else return ElMessage({message:oe,customClass:"pure-message"})},closeAllMessage=()=>ElMessage.closeAll(),copy={mounted(oe,ie){const{value:le}=ie;if(le){oe.copyValue=le;const ue=ie.arg??"dblclick";useEventListener(oe,ue,()=>{se(oe.copyValue)?message("复制成功",{type:"success"}):message("复制失败",{type:"error"})})}else throw new Error('[Directive: copy]: need value! Like v-copy="modelValue"')},updated(oe,ie){oe.copyValue=ie.value}},longpress={mounted(oe,ie){var ue;const le=ie.value;if(le&&q$1(le)){let de=null,pe=null,he=500,_e=null;const $e=((ue=ie==null?void 0:ie.arg)==null?void 0:ue.includes(":"))??!1;$e?(he=Number(Vt(ie.arg,":")),_e=Number(Zt(ie.arg,":"))):ie.arg&&(he=Number(ie.arg));const Ie=()=>{de&&(clearTimeout(de),de=null),pe&&(clearInterval(pe),pe=null)},Ve=Ue=>{Ue.preventDefault(),pe===null&&(pe=setInterval(()=>le(),_e))};useEventListener(oe,"pointerdown",Ue=>{Ie(),Ue.preventDefault(),de===null&&(de=setTimeout($e?()=>{le(),Ve(Ue)}:()=>le(),he))}),useEventListener(oe,"pointerup",Ie),useEventListener(oe,"pointerleave",Ie)}else throw new Error('[Directive: longpress]: need callback and callback must be a function! Like v-longpress="callback"')}},optimize={mounted(oe,ie){const{value:le}=ie,ue=ie.arg??"debounce",de=["debounce","throttle"].find(pe=>pe===ue);if(de)if(le&&le.event&&q$1(le.fn)){let pe=le==null?void 0:le.params;if(pe)if($(pe)||k(pe))pe=k(pe)?Array.of(pe):pe;else throw new Error("[Directive: optimize]: `params` must be an array or object");useEventListener(oe,le.event,de==="debounce"?vt(pe?()=>le.fn(...pe):le.fn,(le==null?void 0:le.timeout)??200,(le==null?void 0:le.immediate)??!1):Ln(pe?()=>le.fn(...pe):le.fn,(le==null?void 0:le.timeout)??1e3))}else throw new Error("[Directive: optimize]: `event` and `fn` are required, and `fn` must be a function");else throw new Error("[Directive: optimize]: only `debounce` and `throttle` are supported")}},directives=Object.freeze(Object.defineProperty({__proto__:null,auth:auth$1,copy,longpress,optimize},Symbol.toStringTag,{value:"Module"})),defaultIconDimensions$1=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations$1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps$1=Object.freeze({...defaultIconDimensions$1,...defaultIconTransformations$1});Object.freeze({...defaultIconProps$1,body:"",hidden:!1});({...defaultIconDimensions$1});const defaultIconSizeCustomisations$1=Object.freeze({width:null,height:null}),defaultIconCustomisations$1=Object.freeze({...defaultIconSizeCustomisations$1,...defaultIconTransformations$1});function mergeCustomisations$1(oe,ie){const le={...oe};for(const ue in ie){const de=ie[ue],pe=typeof de;ue in defaultIconSizeCustomisations$1?(de===null||de&&(pe==="string"||pe==="number"))&&(le[ue]=de):pe===typeof le[ue]&&(le[ue]=ue==="rotate"?de%4:de)}return le}const separator$1=/[\s,]+/;function flipFromString$1(oe,ie){ie.split(separator$1).forEach(le=>{switch(le.trim()){case"horizontal":oe.hFlip=!0;break;case"vertical":oe.vFlip=!0;break}})}function rotateFromString$1(oe,ie=0){const le=oe.replace(/^-?[0-9.]*/,"");function ue(de){for(;de<0;)de+=4;return de%4}if(le===""){const de=parseInt(oe);return isNaN(de)?0:ue(de)}else if(le!==oe){let de=0;switch(le){case"%":de=25;break;case"deg":de=90}if(de){let pe=parseFloat(oe.slice(0,oe.length-le.length));return isNaN(pe)?0:(pe=pe/de,pe%1===0?ue(pe):0)}}return ie}const unitsSplit$1=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest$1=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize$1(oe,ie,le){if(ie===1)return oe;if(le=le||100,typeof oe=="number")return Math.ceil(oe*ie*le)/le;if(typeof oe!="string")return oe;const ue=oe.split(unitsSplit$1);if(ue===null||!ue.length)return oe;const de=[];let pe=ue.shift(),he=unitsTest$1.test(pe);for(;;){if(he){const _e=parseFloat(pe);isNaN(_e)?de.push(pe):de.push(Math.ceil(_e*ie*le)/le)}else de.push(pe);if(pe=ue.shift(),pe===void 0)return de.join("");he=!he}}const isUnsetKeyword$1=oe=>oe==="unset"||oe==="undefined"||oe==="none";function iconToSVG$1(oe,ie){const le={...defaultIconProps$1,...oe},ue={...defaultIconCustomisations$1,...ie},de={left:le.left,top:le.top,width:le.width,height:le.height};let pe=le.body;[le,ue].forEach(Et=>{const At=[],Lt=Et.hFlip,hn=Et.vFlip;let vn=Et.rotate;Lt?hn?vn+=2:(At.push("translate("+(de.width+de.left).toString()+" "+(0-de.top).toString()+")"),At.push("scale(-1 1)"),de.top=de.left=0):hn&&(At.push("translate("+(0-de.left).toString()+" "+(de.height+de.top).toString()+")"),At.push("scale(1 -1)"),de.top=de.left=0);let _n;switch(vn<0&&(vn-=Math.floor(vn/4)*4),vn=vn%4,vn){case 1:_n=de.height/2+de.top,At.unshift("rotate(90 "+_n.toString()+" "+_n.toString()+")");break;case 2:At.unshift("rotate(180 "+(de.width/2+de.left).toString()+" "+(de.height/2+de.top).toString()+")");break;case 3:_n=de.width/2+de.left,At.unshift("rotate(-90 "+_n.toString()+" "+_n.toString()+")");break}vn%2===1&&(de.left!==de.top&&(_n=de.left,de.left=de.top,de.top=_n),de.width!==de.height&&(_n=de.width,de.width=de.height,de.height=_n)),At.length&&(pe=''+pe+"")});const he=ue.width,_e=ue.height,$e=de.width,Ie=de.height;let Ve,Fe;he===null?(Fe=_e===null?"1em":_e==="auto"?Ie:_e,Ve=calculateSize$1(Fe,$e/Ie)):(Ve=he==="auto"?$e:he,Fe=_e===null?calculateSize$1(Ve,Ie/$e):_e==="auto"?Ie:_e);const Ue={},qe=(Et,At)=>{isUnsetKeyword$1(At)||(Ue[Et]=At.toString())};return qe("width",Ve),qe("height",Fe),Ue.viewBox=de.left.toString()+" "+de.top.toString()+" "+$e.toString()+" "+Ie.toString(),{attributes:Ue,body:pe}}const regex$1=/\sid="(\S+)"/g,randomPrefix$1="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter$1=0;function replaceIDs$1(oe,ie=randomPrefix$1){const le=[];let ue;for(;ue=regex$1.exec(oe);)le.push(ue[1]);if(!le.length)return oe;const de="suffix"+(Math.random()*16777216|Date.now()).toString(16);return le.forEach(pe=>{const he=typeof ie=="function"?ie(pe):ie+(counter$1++).toString(),_e=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");oe=oe.replace(new RegExp('([#;"])('+_e+')([")]|\\.[a-z])',"g"),"$1"+he+de+"$3")}),oe=oe.replace(new RegExp(de,"g"),""),oe}function iconToHTML$1(oe,ie){let le=oe.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const ue in ie)le+=" "+ue+'="'+ie[ue]+'"';return'"+oe+""}function encodeSVGforURL$1(oe){return oe.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function svgToData$1(oe){return"data:image/svg+xml,"+encodeSVGforURL$1(oe)}function svgToURL$1(oe){return'url("'+svgToData$1(oe)+'")'}const defaultExtendedIconCustomisations$1={...defaultIconCustomisations$1,inline:!1},svgDefaults$1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps$1={display:"inline-block"},monotoneProps$1={backgroundColor:"currentColor"},coloredProps$1={backgroundColor:"transparent"},propsToAdd$1={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo$1={webkitMask:monotoneProps$1,mask:monotoneProps$1,background:coloredProps$1};for(const oe in propsToAddTo$1){const ie=propsToAddTo$1[oe];for(const le in propsToAdd$1)ie[oe+le]=propsToAdd$1[le]}const customisationAliases$1={};["horizontal","vertical"].forEach(oe=>{const ie=oe.slice(0,1)+"Flip";customisationAliases$1[oe+"-flip"]=ie,customisationAliases$1[oe.slice(0,1)+"-flip"]=ie,customisationAliases$1[oe+"Flip"]=ie});function fixSize$1(oe){return oe+(oe.match(/^[-0-9.]+$/)?"px":"")}const render$1=(oe,ie)=>{const le=mergeCustomisations$1(defaultExtendedIconCustomisations$1,ie),ue={...svgDefaults$1},de=ie.mode||"svg",pe={},he=ie.style,_e=typeof he=="object"&&!(he instanceof Array)?he:{};for(let At in ie){const Lt=ie[At];if(Lt!==void 0)switch(At){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":le[At]=Lt===!0||Lt==="true"||Lt===1;break;case"flip":typeof Lt=="string"&&flipFromString$1(le,Lt);break;case"color":pe.color=Lt;break;case"rotate":typeof Lt=="string"?le[At]=rotateFromString$1(Lt):typeof Lt=="number"&&(le[At]=Lt);break;case"ariaHidden":case"aria-hidden":Lt!==!0&&Lt!=="true"&&delete ue["aria-hidden"];break;default:{const hn=customisationAliases$1[At];hn?(Lt===!0||Lt==="true"||Lt===1)&&(le[hn]=!0):defaultExtendedIconCustomisations$1[At]===void 0&&(ue[At]=Lt)}}}const $e=iconToSVG$1(oe,le),Ie=$e.attributes;if(le.inline&&(pe.verticalAlign="-0.125em"),de==="svg"){ue.style={...pe,..._e},Object.assign(ue,Ie);let At=0,Lt=ie.id;return typeof Lt=="string"&&(Lt=Lt.replace(/-/g,"_")),ue.innerHTML=replaceIDs$1($e.body,Lt?()=>Lt+"ID"+At++:"iconifyVue"),h$3("svg",ue)}const{body:Ve,width:Fe,height:Ue}=oe,qe=de==="mask"||(de==="bg"?!1:Ve.indexOf("currentColor")!==-1),Et=iconToHTML$1(Ve,{...Ie,width:Fe+"",height:Ue+""});return ue.style={...pe,"--svg":svgToURL$1(Et),width:fixSize$1(Ie.width),height:fixSize$1(Ie.height),...commonProps$1,...qe?monotoneProps$1:coloredProps$1,..._e},h$3("span",ue)},storage$1=Object.create(null);function addIcon$1(oe,ie){storage$1[oe]=ie}const Icon$1=defineComponent({inheritAttrs:!1,render(){const oe=this.$attrs,ie=oe.icon,le=typeof ie=="string"?storage$1[ie]:typeof ie=="object"?ie:null;return le===null||typeof le!="object"||typeof le.body!="string"?this.$slots.default?this.$slots.default():null:render$1({...defaultIconProps$1,...le},oe)}}),iconifyIconOffline=defineComponent({name:"IconifyIconOffline",components:{IconifyIcon:Icon$1},props:{icon:{default:null}},render(){typeof this.icon=="object"&&addIcon$1(this.icon,this.icon);const oe=this.$attrs;return h$3(Icon$1,{icon:this.icon,style:oe!=null&&oe.style?Object.assign(oe.style,{outline:"none"}):{outline:"none"},...oe},{default:()=>[]})}}),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(oe,ie,le,ue="")=>{const de=oe.split(":");if(oe.slice(0,1)==="@"){if(de.length<2||de.length>3)return null;ue=de.shift().slice(1)}if(de.length>3||!de.length)return null;if(de.length>1){const _e=de.pop(),$e=de.pop(),Ie={provider:de.length>0?de[0]:ue,prefix:$e,name:_e};return ie&&!validateIconName(Ie)?null:Ie}const pe=de[0],he=pe.split("-");if(he.length>1){const _e={provider:ue,prefix:he.shift(),name:he.join("-")};return ie&&!validateIconName(_e)?null:_e}if(le&&ue===""){const _e={provider:ue,prefix:"",name:pe};return ie&&!validateIconName(_e,le)?null:_e}return null},validateIconName=(oe,ie)=>oe?!!((oe.provider===""||oe.provider.match(matchIconName))&&(ie&&oe.prefix===""||oe.prefix.match(matchIconName))&&oe.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(oe,ie){const le={};!oe.hFlip!=!ie.hFlip&&(le.hFlip=!0),!oe.vFlip!=!ie.vFlip&&(le.vFlip=!0);const ue=((oe.rotate||0)+(ie.rotate||0))%4;return ue&&(le.rotate=ue),le}function mergeIconData(oe,ie){const le=mergeIconTransformations(oe,ie);for(const ue in defaultExtendedIconProps)ue in defaultIconTransformations?ue in oe&&!(ue in le)&&(le[ue]=defaultIconTransformations[ue]):ue in ie?le[ue]=ie[ue]:ue in oe&&(le[ue]=oe[ue]);return le}function getIconsTree(oe,ie){const le=oe.icons,ue=oe.aliases||Object.create(null),de=Object.create(null);function pe(he){if(le[he])return de[he]=[];if(!(he in de)){de[he]=null;const _e=ue[he]&&ue[he].parent,$e=_e&&pe(_e);$e&&(de[he]=[_e].concat($e))}return de[he]}return(ie||Object.keys(le).concat(Object.keys(ue))).forEach(pe),de}function internalGetIconData(oe,ie,le){const ue=oe.icons,de=oe.aliases||Object.create(null);let pe={};function he(_e){pe=mergeIconData(ue[_e]||de[_e],pe)}return he(ie),le.forEach(he),mergeIconData(oe,pe)}function parseIconSet(oe,ie){const le=[];if(typeof oe!="object"||typeof oe.icons!="object")return le;oe.not_found instanceof Array&&oe.not_found.forEach(de=>{ie(de,null),le.push(de)});const ue=getIconsTree(oe);for(const de in ue){const pe=ue[de];pe&&(ie(de,internalGetIconData(oe,de,pe)),le.push(de))}return le}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(oe,ie){for(const le in ie)if(le in oe&&typeof oe[le]!=typeof ie[le])return!1;return!0}function quicklyValidateIconSet(oe){if(typeof oe!="object"||oe===null)return null;const ie=oe;if(typeof ie.prefix!="string"||!oe.icons||typeof oe.icons!="object"||!checkOptionalProps(oe,optionalPropertyDefaults))return null;const le=ie.icons;for(const de in le){const pe=le[de];if(!de.match(matchIconName)||typeof pe.body!="string"||!checkOptionalProps(pe,defaultExtendedIconProps))return null}const ue=ie.aliases||Object.create(null);for(const de in ue){const pe=ue[de],he=pe.parent;if(!de.match(matchIconName)||typeof he!="string"||!le[he]&&!ue[he]||!checkOptionalProps(pe,defaultExtendedIconProps))return null}return ie}const dataStorage=Object.create(null);function newStorage(oe,ie){return{provider:oe,prefix:ie,icons:Object.create(null),missing:new Set}}function getStorage(oe,ie){const le=dataStorage[oe]||(dataStorage[oe]=Object.create(null));return le[ie]||(le[ie]=newStorage(oe,ie))}function addIconSet(oe,ie){return quicklyValidateIconSet(ie)?parseIconSet(ie,(le,ue)=>{ue?oe.icons[le]=ue:oe.missing.add(le)}):[]}function addIconToStorage(oe,ie,le){try{if(typeof le.body=="string")return oe.icons[ie]={...le},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(oe){return typeof oe=="boolean"&&(simpleNames=oe),simpleNames}function getIconData(oe){const ie=typeof oe=="string"?stringToIcon(oe,!0,simpleNames):oe;if(ie){const le=getStorage(ie.provider,ie.prefix),ue=ie.name;return le.icons[ue]||(le.missing.has(ue)?null:void 0)}}function addIcon(oe,ie){const le=stringToIcon(oe,!0,simpleNames);if(!le)return!1;const ue=getStorage(le.provider,le.prefix);return addIconToStorage(ue,le.name,ie)}function addCollection(oe,ie){if(typeof oe!="object")return!1;if(typeof ie!="string"&&(ie=oe.provider||""),simpleNames&&!ie&&!oe.prefix){let de=!1;return quicklyValidateIconSet(oe)&&(oe.prefix="",parseIconSet(oe,(pe,he)=>{he&&addIcon(pe,he)&&(de=!0)})),de}const le=oe.prefix;if(!validateIconName({provider:ie,prefix:le,name:"a"}))return!1;const ue=getStorage(ie,le);return!!addIconSet(ue,oe)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(oe,ie,le){if(ie===1)return oe;if(le=le||100,typeof oe=="number")return Math.ceil(oe*ie*le)/le;if(typeof oe!="string")return oe;const ue=oe.split(unitsSplit);if(ue===null||!ue.length)return oe;const de=[];let pe=ue.shift(),he=unitsTest.test(pe);for(;;){if(he){const _e=parseFloat(pe);isNaN(_e)?de.push(pe):de.push(Math.ceil(_e*ie*le)/le)}else de.push(pe);if(pe=ue.shift(),pe===void 0)return de.join("");he=!he}}const isUnsetKeyword=oe=>oe==="unset"||oe==="undefined"||oe==="none";function iconToSVG(oe,ie){const le={...defaultIconProps,...oe},ue={...defaultIconCustomisations,...ie},de={left:le.left,top:le.top,width:le.width,height:le.height};let pe=le.body;[le,ue].forEach(Et=>{const At=[],Lt=Et.hFlip,hn=Et.vFlip;let vn=Et.rotate;Lt?hn?vn+=2:(At.push("translate("+(de.width+de.left).toString()+" "+(0-de.top).toString()+")"),At.push("scale(-1 1)"),de.top=de.left=0):hn&&(At.push("translate("+(0-de.left).toString()+" "+(de.height+de.top).toString()+")"),At.push("scale(1 -1)"),de.top=de.left=0);let _n;switch(vn<0&&(vn-=Math.floor(vn/4)*4),vn=vn%4,vn){case 1:_n=de.height/2+de.top,At.unshift("rotate(90 "+_n.toString()+" "+_n.toString()+")");break;case 2:At.unshift("rotate(180 "+(de.width/2+de.left).toString()+" "+(de.height/2+de.top).toString()+")");break;case 3:_n=de.width/2+de.left,At.unshift("rotate(-90 "+_n.toString()+" "+_n.toString()+")");break}vn%2===1&&(de.left!==de.top&&(_n=de.left,de.left=de.top,de.top=_n),de.width!==de.height&&(_n=de.width,de.width=de.height,de.height=_n)),At.length&&(pe=''+pe+"")});const he=ue.width,_e=ue.height,$e=de.width,Ie=de.height;let Ve,Fe;he===null?(Fe=_e===null?"1em":_e==="auto"?Ie:_e,Ve=calculateSize(Fe,$e/Ie)):(Ve=he==="auto"?$e:he,Fe=_e===null?calculateSize(Ve,Ie/$e):_e==="auto"?Ie:_e);const Ue={},qe=(Et,At)=>{isUnsetKeyword(At)||(Ue[Et]=At.toString())};return qe("width",Ve),qe("height",Fe),Ue.viewBox=de.left.toString()+" "+de.top.toString()+" "+$e.toString()+" "+Ie.toString(),{attributes:Ue,body:pe}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(oe,ie=randomPrefix){const le=[];let ue;for(;ue=regex.exec(oe);)le.push(ue[1]);if(!le.length)return oe;const de="suffix"+(Math.random()*16777216|Date.now()).toString(16);return le.forEach(pe=>{const he=typeof ie=="function"?ie(pe):ie+(counter++).toString(),_e=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");oe=oe.replace(new RegExp('([#;"])('+_e+')([")]|\\.[a-z])',"g"),"$1"+he+de+"$3")}),oe=oe.replace(new RegExp(de,"g"),""),oe}const storage=Object.create(null);function setAPIModule(oe,ie){storage[oe]=ie}function getAPIModule(oe){return storage[oe]||storage[""]}function createAPIConfig(oe){let ie;if(typeof oe.resources=="string")ie=[oe.resources];else if(ie=oe.resources,!(ie instanceof Array)||!ie.length)return null;return{resources:ie,path:oe.path||"/",maxURL:oe.maxURL||500,rotate:oe.rotate||750,timeout:oe.timeout||5e3,random:oe.random===!0,index:oe.index||0,dataAfterTimeout:oe.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(oe,ie){const le=createAPIConfig(ie);return le===null?!1:(configStorage[oe]=le,!0)}function getAPIConfig(oe){return configStorage[oe]}const detectFetch=()=>{let oe;try{if(oe=fetch,typeof oe=="function")return oe}catch{}};let fetchModule=detectFetch();function calculateMaxLength(oe,ie){const le=getAPIConfig(oe);if(!le)return 0;let ue;if(!le.maxURL)ue=0;else{let de=0;le.resources.forEach(he=>{de=Math.max(de,he.length)});const pe=ie+".json?icons=";ue=le.maxURL-de-le.path.length-pe.length}return ue}function shouldAbort(oe){return oe===404}const prepare=(oe,ie,le)=>{const ue=[],de=calculateMaxLength(oe,ie),pe="icons";let he={type:pe,provider:oe,prefix:ie,icons:[]},_e=0;return le.forEach(($e,Ie)=>{_e+=$e.length+1,_e>=de&&Ie>0&&(ue.push(he),he={type:pe,provider:oe,prefix:ie,icons:[]},_e=$e.length),he.icons.push($e)}),ue.push(he),ue};function getPath(oe){if(typeof oe=="string"){const ie=getAPIConfig(oe);if(ie)return ie.path}return"/"}const send=(oe,ie,le)=>{if(!fetchModule){le("abort",424);return}let ue=getPath(ie.provider);switch(ie.type){case"icons":{const pe=ie.prefix,_e=ie.icons.join(","),$e=new URLSearchParams({icons:_e});ue+=pe+".json?"+$e.toString();break}case"custom":{const pe=ie.uri;ue+=pe.slice(0,1)==="/"?pe.slice(1):pe;break}default:le("abort",400);return}let de=503;fetchModule(oe+ue).then(pe=>{const he=pe.status;if(he!==200){setTimeout(()=>{le(shouldAbort(he)?"abort":"next",he)});return}return de=501,pe.json()}).then(pe=>{if(typeof pe!="object"||pe===null){setTimeout(()=>{pe===404?le("abort",pe):le("next",de)});return}setTimeout(()=>{le("success",pe)})}).catch(()=>{le("next",de)})},fetchAPIModule={prepare,send};function sortIcons(oe){const ie={loaded:[],missing:[],pending:[]},le=Object.create(null);oe.sort((de,pe)=>de.provider!==pe.provider?de.provider.localeCompare(pe.provider):de.prefix!==pe.prefix?de.prefix.localeCompare(pe.prefix):de.name.localeCompare(pe.name));let ue={provider:"",prefix:"",name:""};return oe.forEach(de=>{if(ue.name===de.name&&ue.prefix===de.prefix&&ue.provider===de.provider)return;ue=de;const pe=de.provider,he=de.prefix,_e=de.name,$e=le[pe]||(le[pe]=Object.create(null)),Ie=$e[he]||($e[he]=getStorage(pe,he));let Ve;_e in Ie.icons?Ve=ie.loaded:he===""||Ie.missing.has(_e)?Ve=ie.missing:Ve=ie.pending;const Fe={provider:pe,prefix:he,name:_e};Ve.push(Fe)}),ie}function removeCallback(oe,ie){oe.forEach(le=>{const ue=le.loaderCallbacks;ue&&(le.loaderCallbacks=ue.filter(de=>de.id!==ie))})}function updateCallbacks(oe){oe.pendingCallbacksFlag||(oe.pendingCallbacksFlag=!0,setTimeout(()=>{oe.pendingCallbacksFlag=!1;const ie=oe.loaderCallbacks?oe.loaderCallbacks.slice(0):[];if(!ie.length)return;let le=!1;const ue=oe.provider,de=oe.prefix;ie.forEach(pe=>{const he=pe.icons,_e=he.pending.length;he.pending=he.pending.filter($e=>{if($e.prefix!==de)return!0;const Ie=$e.name;if(oe.icons[Ie])he.loaded.push({provider:ue,prefix:de,name:Ie});else if(oe.missing.has(Ie))he.missing.push({provider:ue,prefix:de,name:Ie});else return le=!0,!0;return!1}),he.pending.length!==_e&&(le||removeCallback([oe],pe.id),pe.callback(he.loaded.slice(0),he.missing.slice(0),he.pending.slice(0),pe.abort))})}))}let idCounter=0;function storeCallback(oe,ie,le){const ue=idCounter++,de=removeCallback.bind(null,le,ue);if(!ie.pending.length)return de;const pe={id:ue,icons:ie,callback:oe,abort:de};return le.forEach(he=>{(he.loaderCallbacks||(he.loaderCallbacks=[])).push(pe)}),de}function listToIcons(oe,ie=!0,le=!1){const ue=[];return oe.forEach(de=>{const pe=typeof de=="string"?stringToIcon(de,ie,le):de;pe&&ue.push(pe)}),ue}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(oe,ie,le,ue){const de=oe.resources.length,pe=oe.random?Math.floor(Math.random()*de):oe.index;let he;if(oe.random){let Cn=oe.resources.slice(0);for(he=[];Cn.length>1;){const En=Math.floor(Math.random()*Cn.length);he.push(Cn[En]),Cn=Cn.slice(0,En).concat(Cn.slice(En+1))}he=he.concat(Cn)}else he=oe.resources.slice(pe).concat(oe.resources.slice(0,pe));const _e=Date.now();let $e="pending",Ie=0,Ve,Fe=null,Ue=[],qe=[];typeof ue=="function"&&qe.push(ue);function Et(){Fe&&(clearTimeout(Fe),Fe=null)}function At(){$e==="pending"&&($e="aborted"),Et(),Ue.forEach(Cn=>{Cn.status==="pending"&&(Cn.status="aborted")}),Ue=[]}function Lt(Cn,En){En&&(qe=[]),typeof Cn=="function"&&qe.push(Cn)}function hn(){return{startTime:_e,payload:ie,status:$e,queriesSent:Ie,queriesPending:Ue.length,subscribe:Lt,abort:At}}function vn(){$e="failed",qe.forEach(Cn=>{Cn(void 0,Ve)})}function _n(){Ue.forEach(Cn=>{Cn.status==="pending"&&(Cn.status="aborted")}),Ue=[]}function bn(Cn,En,$n){const wn=En!=="success";switch(Ue=Ue.filter(Pn=>Pn!==Cn),$e){case"pending":break;case"failed":if(wn||!oe.dataAfterTimeout)return;break;default:return}if(En==="abort"){Ve=$n,vn();return}if(wn){Ve=$n,Ue.length||(he.length?Sn():vn());return}if(Et(),_n(),!oe.random){const Pn=oe.resources.indexOf(Cn.resource);Pn!==-1&&Pn!==oe.index&&(oe.index=Pn)}$e="completed",qe.forEach(Pn=>{Pn($n)})}function Sn(){if($e!=="pending")return;Et();const Cn=he.shift();if(Cn===void 0){if(Ue.length){Fe=setTimeout(()=>{Et(),$e==="pending"&&(_n(),vn())},oe.timeout);return}vn();return}const En={status:"pending",resource:Cn,callback:($n,wn)=>{bn(En,$n,wn)}};Ue.push(En),Ie++,Fe=setTimeout(Sn,oe.rotate),le(Cn,ie,En.callback)}return setTimeout(Sn),hn}function initRedundancy(oe){const ie={...defaultConfig,...oe};let le=[];function ue(){le=le.filter(_e=>_e().status==="pending")}function de(_e,$e,Ie){const Ve=sendQuery(ie,_e,$e,(Fe,Ue)=>{ue(),Ie&&Ie(Fe,Ue)});return le.push(Ve),Ve}function pe(_e){return le.find($e=>_e($e))||null}return{query:de,find:pe,setIndex:_e=>{ie.index=_e},getIndex:()=>ie.index,cleanup:ue}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(oe){if(!redundancyCache[oe]){const ie=getAPIConfig(oe);if(!ie)return;const le=initRedundancy(ie),ue={config:ie,redundancy:le};redundancyCache[oe]=ue}return redundancyCache[oe]}function sendAPIQuery(oe,ie,le){let ue,de;if(typeof oe=="string"){const pe=getAPIModule(oe);if(!pe)return le(void 0,424),emptyCallback$1;de=pe.send;const he=getRedundancyCache(oe);he&&(ue=he.redundancy)}else{const pe=createAPIConfig(oe);if(pe){ue=initRedundancy(pe);const he=oe.resources?oe.resources[0]:"",_e=getAPIModule(he);_e&&(de=_e.send)}}return!ue||!de?(le(void 0,424),emptyCallback$1):ue.query(ie,de,le)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(oe,ie){try{return oe.getItem(ie)}catch{}}function setStoredItem(oe,ie,le){try{return oe.setItem(ie,le),!0}catch{}}function removeStoredItem(oe,ie){try{oe.removeItem(ie)}catch{}}function setBrowserStorageItemsCount(oe,ie){return setStoredItem(oe,browserCacheCountKey,ie.toString())}function getBrowserStorageItemsCount(oe){return parseInt(getStoredItem(oe,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(oe){browserStorageStatus=oe}let _window=typeof window>"u"?{}:window;function getBrowserStorage(oe){const ie=oe+"Storage";try{if(_window&&_window[ie]&&typeof _window[ie].length=="number")return _window[ie]}catch{}browserStorageConfig[oe]=!1}function iterateBrowserStorage(oe,ie){const le=getBrowserStorage(oe);if(!le)return;const ue=getStoredItem(le,browserCacheVersionKey);if(ue!==browserCacheVersion){if(ue){const _e=getBrowserStorageItemsCount(le);for(let $e=0;$e<_e;$e++)removeStoredItem(le,browserCachePrefix+$e.toString())}setStoredItem(le,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(le,0);return}const de=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,pe=_e=>{const $e=browserCachePrefix+_e.toString(),Ie=getStoredItem(le,$e);if(typeof Ie=="string"){try{const Ve=JSON.parse(Ie);if(typeof Ve=="object"&&typeof Ve.cached=="number"&&Ve.cached>de&&typeof Ve.provider=="string"&&typeof Ve.data=="object"&&typeof Ve.data.prefix=="string"&&ie(Ve,_e))return!0}catch{}removeStoredItem(le,$e)}};let he=getBrowserStorageItemsCount(le);for(let _e=he-1;_e>=0;_e--)pe(_e)||(_e===he-1?(he--,setBrowserStorageItemsCount(le,he)):browserStorageEmptyItems[oe].add(_e))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const oe in browserStorageConfig)iterateBrowserStorage(oe,ie=>{const le=ie.data,ue=ie.provider,de=le.prefix,pe=getStorage(ue,de);if(!addIconSet(pe,le).length)return!1;const he=le.lastModified||-1;return pe.lastModifiedCached=pe.lastModifiedCached?Math.min(pe.lastModifiedCached,he):he,!0})}}function updateLastModified(oe,ie){const le=oe.lastModifiedCached;if(le&&le>=ie)return le===ie;if(oe.lastModifiedCached=ie,le)for(const ue in browserStorageConfig)iterateBrowserStorage(ue,de=>{const pe=de.data;return de.provider!==oe.provider||pe.prefix!==oe.prefix||pe.lastModified===ie});return!0}function storeInBrowserStorage(oe,ie){browserStorageStatus||initBrowserStorage();function le(ue){let de;if(!browserStorageConfig[ue]||!(de=getBrowserStorage(ue)))return;const pe=browserStorageEmptyItems[ue];let he;if(pe.size)pe.delete(he=Array.from(pe).shift());else if(he=getBrowserStorageItemsCount(de),!setBrowserStorageItemsCount(de,he+1))return;const _e={cached:Math.floor(Date.now()/browserStorageHour),provider:oe.provider,data:ie};return setStoredItem(de,browserCachePrefix+he.toString(),JSON.stringify(_e))}ie.lastModified&&!updateLastModified(oe,ie.lastModified)||Object.keys(ie.icons).length&&(ie.not_found&&(ie=Object.assign({},ie),delete ie.not_found),le("local")||le("session"))}function emptyCallback(){}function loadedNewIcons(oe){oe.iconsLoaderFlag||(oe.iconsLoaderFlag=!0,setTimeout(()=>{oe.iconsLoaderFlag=!1,updateCallbacks(oe)}))}function loadNewIcons(oe,ie){oe.iconsToLoad?oe.iconsToLoad=oe.iconsToLoad.concat(ie).sort():oe.iconsToLoad=ie,oe.iconsQueueFlag||(oe.iconsQueueFlag=!0,setTimeout(()=>{oe.iconsQueueFlag=!1;const{provider:le,prefix:ue}=oe,de=oe.iconsToLoad;delete oe.iconsToLoad;let pe;if(!de||!(pe=getAPIModule(le)))return;pe.prepare(le,ue,de).forEach(_e=>{sendAPIQuery(le,_e,$e=>{if(typeof $e!="object")_e.icons.forEach(Ie=>{oe.missing.add(Ie)});else try{const Ie=addIconSet(oe,$e);if(!Ie.length)return;const Ve=oe.pendingIcons;Ve&&Ie.forEach(Fe=>{Ve.delete(Fe)}),storeInBrowserStorage(oe,$e)}catch(Ie){console.error(Ie)}loadedNewIcons(oe)})})}))}const loadIcons=(oe,ie)=>{const le=listToIcons(oe,!0,allowSimpleNames()),ue=sortIcons(le);if(!ue.pending.length){let $e=!0;return ie&&setTimeout(()=>{$e&&ie(ue.loaded,ue.missing,ue.pending,emptyCallback)}),()=>{$e=!1}}const de=Object.create(null),pe=[];let he,_e;return ue.pending.forEach($e=>{const{provider:Ie,prefix:Ve}=$e;if(Ve===_e&&Ie===he)return;he=Ie,_e=Ve,pe.push(getStorage(Ie,Ve));const Fe=de[Ie]||(de[Ie]=Object.create(null));Fe[Ve]||(Fe[Ve]=[])}),ue.pending.forEach($e=>{const{provider:Ie,prefix:Ve,name:Fe}=$e,Ue=getStorage(Ie,Ve),qe=Ue.pendingIcons||(Ue.pendingIcons=new Set);qe.has(Fe)||(qe.add(Fe),de[Ie][Ve].push(Fe))}),pe.forEach($e=>{const{provider:Ie,prefix:Ve}=$e;de[Ie][Ve].length&&loadNewIcons($e,de[Ie][Ve])}),ie?storeCallback(ie,ue,pe):emptyCallback};function mergeCustomisations(oe,ie){const le={...oe};for(const ue in ie){const de=ie[ue],pe=typeof de;ue in defaultIconSizeCustomisations?(de===null||de&&(pe==="string"||pe==="number"))&&(le[ue]=de):pe===typeof le[ue]&&(le[ue]=ue==="rotate"?de%4:de)}return le}const separator=/[\s,]+/;function flipFromString(oe,ie){ie.split(separator).forEach(le=>{switch(le.trim()){case"horizontal":oe.hFlip=!0;break;case"vertical":oe.vFlip=!0;break}})}function rotateFromString(oe,ie=0){const le=oe.replace(/^-?[0-9.]*/,"");function ue(de){for(;de<0;)de+=4;return de%4}if(le===""){const de=parseInt(oe);return isNaN(de)?0:ue(de)}else if(le!==oe){let de=0;switch(le){case"%":de=25;break;case"deg":de=90}if(de){let pe=parseFloat(oe.slice(0,oe.length-le.length));return isNaN(pe)?0:(pe=pe/de,pe%1===0?ue(pe):0)}}return ie}function iconToHTML(oe,ie){let le=oe.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const ue in ie)le+=" "+ue+'="'+ie[ue]+'"';return'"+oe+""}function encodeSVGforURL(oe){return oe.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function svgToData(oe){return"data:image/svg+xml,"+encodeSVGforURL(oe)}function svgToURL(oe){return'url("'+svgToData(oe)+'")'}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={webkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const oe in propsToAddTo){const ie=propsToAddTo[oe];for(const le in propsToAdd)ie[oe+le]=propsToAdd[le]}const customisationAliases={};["horizontal","vertical"].forEach(oe=>{const ie=oe.slice(0,1)+"Flip";customisationAliases[oe+"-flip"]=ie,customisationAliases[oe.slice(0,1)+"-flip"]=ie,customisationAliases[oe+"Flip"]=ie});function fixSize(oe){return oe+(oe.match(/^[-0-9.]+$/)?"px":"")}const render=(oe,ie)=>{const le=mergeCustomisations(defaultExtendedIconCustomisations,ie),ue={...svgDefaults},de=ie.mode||"svg",pe={},he=ie.style,_e=typeof he=="object"&&!(he instanceof Array)?he:{};for(let At in ie){const Lt=ie[At];if(Lt!==void 0)switch(At){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":le[At]=Lt===!0||Lt==="true"||Lt===1;break;case"flip":typeof Lt=="string"&&flipFromString(le,Lt);break;case"color":pe.color=Lt;break;case"rotate":typeof Lt=="string"?le[At]=rotateFromString(Lt):typeof Lt=="number"&&(le[At]=Lt);break;case"ariaHidden":case"aria-hidden":Lt!==!0&&Lt!=="true"&&delete ue["aria-hidden"];break;default:{const hn=customisationAliases[At];hn?(Lt===!0||Lt==="true"||Lt===1)&&(le[hn]=!0):defaultExtendedIconCustomisations[At]===void 0&&(ue[At]=Lt)}}}const $e=iconToSVG(oe,le),Ie=$e.attributes;if(le.inline&&(pe.verticalAlign="-0.125em"),de==="svg"){ue.style={...pe,..._e},Object.assign(ue,Ie);let At=0,Lt=ie.id;return typeof Lt=="string"&&(Lt=Lt.replace(/-/g,"_")),ue.innerHTML=replaceIDs($e.body,Lt?()=>Lt+"ID"+At++:"iconifyVue"),h$3("svg",ue)}const{body:Ve,width:Fe,height:Ue}=oe,qe=de==="mask"||(de==="bg"?!1:Ve.indexOf("currentColor")!==-1),Et=iconToHTML(Ve,{...Ie,width:Fe+"",height:Ue+""});return ue.style={...pe,"--svg":svgToURL(Et),width:fixSize(Ie.width),height:fixSize(Ie.height),...commonProps,...qe?monotoneProps:coloredProps,..._e},h$3("span",ue)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const oe=window;if(oe.IconifyPreload!==void 0){const ie=oe.IconifyPreload,le="Invalid IconifyPreload syntax.";typeof ie=="object"&&ie!==null&&(ie instanceof Array?ie:[ie]).forEach(ue=>{try{(typeof ue!="object"||ue===null||ue instanceof Array||typeof ue.icons!="object"||typeof ue.prefix!="string"||!addCollection(ue))&&console.error(le)}catch{console.error(le)}})}if(oe.IconifyProviders!==void 0){const ie=oe.IconifyProviders;if(typeof ie=="object"&&ie!==null)for(let le in ie){const ue="IconifyProviders["+le+"] is invalid.";try{const de=ie[le];if(typeof de!="object"||!de||de.resources===void 0)continue;addAPIProvider(le,de)||console.error(ue)}catch{console.error(ue)}}}}const emptyIcon={...defaultIconProps,body:""},Icon=defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(oe,ie){if(typeof oe=="object"&&oe!==null&&typeof oe.body=="string")return this._name="",this.abortLoading(),{data:oe};let le;if(typeof oe!="string"||(le=stringToIcon(oe,!1,!0))===null)return this.abortLoading(),null;const ue=getIconData(le);if(!ue)return(!this._loadingIcon||this._loadingIcon.name!==oe)&&(this.abortLoading(),this._name="",ue!==null&&(this._loadingIcon={name:oe,abort:loadIcons([le],()=>{this.counter++})})),null;this.abortLoading(),this._name!==oe&&(this._name=oe,ie&&ie(oe));const de=["iconify"];return le.prefix!==""&&de.push("iconify--"+le.prefix),le.provider!==""&&de.push("iconify--"+le.provider),{data:ue,classes:de}}},render(){this.counter;const oe=this.$attrs,ie=this.iconMounted?this.getIcon(oe.icon,oe.onLoad):null;if(!ie)return render(emptyIcon,oe);let le=oe;return ie.classes&&(le={...oe,class:(typeof oe.class=="string"?oe.class+" ":"")+ie.classes.join(" ")}),render({...defaultIconProps,...ie.data},le)}}),iconifyIconOnline=defineComponent({name:"IconifyIconOnline",components:{IconifyIcon:Icon},props:{icon:{type:String,default:""}},render(){const oe=this.$attrs;return h$3(Icon,{icon:`${this.icon}`,style:oe!=null&&oe.style?Object.assign(oe.style,{outline:"none"}):{outline:"none"},...oe},{default:()=>[]})}}),fontIcon=defineComponent({name:"FontIcon",props:{icon:{type:String,default:""}},render(){const oe=this.$attrs;return Object.keys(oe).includes("uni")||(oe==null?void 0:oe.iconType)==="uni"?h$3("i",{class:"iconfont",...oe},this.icon):Object.keys(oe).includes("svg")||(oe==null?void 0:oe.iconType)==="svg"?h$3("svg",{class:"icon-svg","aria-hidden":!0},{default:()=>[h$3("use",{"xlink:href":`#${this.icon}`})]}):h$3("i",{class:`iconfont ${this.icon}`,...oe})}}),IconifyIconOffline=iconifyIconOffline,IconifyIconOnline=iconifyIconOnline,FontIcon=fontIcon,auth=defineComponent({name:"Auth",props:{value:{type:void 0,default:[]}},setup(oe,{slots:ie}){return()=>{var le;return ie&&hasAuth(oe.value)?createVNode(Fragment,null,[(le=ie.default)==null?void 0:le.call(ie)]):null}}}),Auth=auth,systemRouter={path:"/system",meta:{icon:"setting",title:"menus.hssysManagement",rank:system$1},children:[{path:"/system/user/index",name:"User",meta:{icon:"flUser",title:"menus.hsUser",roles:["admin"]}},{path:"/system/role/index",name:"Role",meta:{icon:"role",title:"menus.hsRole",roles:["admin"]}},{path:"/system/dept/index",name:"Dept",meta:{icon:"dept",title:"menus.hsDept",roles:["admin"]}}]},permissionRouter={path:"/permission",meta:{title:"menus.permission",icon:"lollipop",rank:permission},children:[{path:"/permission/page/index",name:"PermissionPage",meta:{title:"menus.permissionPage",roles:["admin","common"]}},{path:"/permission/button/index",name:"PermissionButton",meta:{title:"menus.permissionButton",roles:["admin","common"],auths:["btn_add","btn_edit","btn_delete"]}}]},frameRouter={path:"/iframe",meta:{icon:"monitor",title:"menus.hsExternalPage",rank:frame$1},children:[{path:"/external",name:"https://yiming_chang.gitee.io/pure-admin-doc",meta:{title:"menus.externalLink",roles:["admin","common"]}},{path:"/iframe/pure",name:"FramePure",meta:{title:"menus.hsPureDocument",frameSrc:"https://yiming_chang.gitee.io/pure-admin-doc",roles:["admin","common"]}},{path:"/iframe/ep",name:"FrameEp",meta:{title:"menus.hsEpDocument",frameSrc:"https://element-plus.org/zh-CN/",roles:["admin","common"]}},{path:"/iframe/vue3",name:"FrameVue",meta:{title:"menus.hsVueDocument",frameSrc:"https://cn.vuejs.org/",roles:["admin","common"]}},{path:"/iframe/vite",name:"FrameVite",meta:{title:"menus.hsViteDocument",frameSrc:"https://cn.vitejs.dev/",roles:["admin","common"]}},{path:"/iframe/pinia",name:"FramePinia",meta:{title:"menus.hsPiniaDocument",frameSrc:"https://pinia.vuejs.org/zh/index.html",roles:["admin","common"]}},{path:"/iframe/vue-router",name:"FrameRouter",meta:{title:"menus.hsRouterDocument",frameSrc:"https://router.vuejs.org/zh/",roles:["admin","common"]}},{path:"/iframe/tailwindcss",name:"FrameTailwindcss",meta:{title:"menus.hsTailwindcssDocument",frameSrc:"https://tailwindcss.com/docs/installation",roles:["admin","common"]}}]},tabsRouter={path:"/tabs",meta:{icon:"IF-pure-iconfont-tabs",title:"menus.hstabs",rank:tabs},children:[{path:"/tabs/index",name:"Tabs",meta:{title:"menus.hstabs",roles:["admin","common"]}},{path:"/tabs/query-detail",name:"TabQueryDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}},{path:"/tabs/params-detail/:id",component:"params-detail",name:"TabParamsDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}}]},asyncRoutes=[{url:"/getAsyncRoutes",method:"get",response:()=>({success:!0,data:[systemRouter,permissionRouter,frameRouter,tabsRouter]})}],__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:asyncRoutes},Symbol.toStringTag,{value:"Module"})),list=[{url:"/getCardList",method:"post",response:()=>({success:!0,data:{list:[{index:1,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:2,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:3,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:4,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:5,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:6,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:7,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:8,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:9,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:10,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:11,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:12,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:13,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:14,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:15,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:16,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:17,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:18,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:19,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:20,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:21,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:22,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:23,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:24,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:25,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:26,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:27,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:28,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:29,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:30,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:31,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:32,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:33,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:34,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:35,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:36,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:37,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:38,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:39,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:40,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:41,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:42,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:43,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:44,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:45,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:46,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:47,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:48,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"}]}})},{url:"/releases",method:"get",response:()=>({success:!0,data:{list:[{created_at:"2023-06-26T03:14:25Z",published_at:"2023-06-26T03:17:23Z",body:"# 4.5.0 (2023-06-26)\r\n\r\n### ✔️ refactor\r\n\r\n- 重构图片裁剪 `ReCropper` 组件,添加更多实用功能\r\n\r\n### 🎫 Feat\r\n\r\n- 菜单搜索功能支持拼音搜索,比如搜图片裁剪,输入 `tp` 或 `tupian` 等对应拼音即可\r\n- 添加长按指令及使用示例,该长按指令支持自定义时长的持续回调\r\n- 添加敏感词过滤功能示例\r\n- 添加汉语拼音功能示例\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复 `V4.4.0` 版本,页面开启 `keepAlive` 缓存后第一次加载并未缓存页面的问题\r\n- 修复 `RePureTableBar` 组件初始化时列设置勾选项未根据 `hide` 属性正确初始化\r\n\r\n### 🍏 Perf\r\n\r\n- 将 `VITE_PUBLIC_PATH` 默认改为 `./` 兼容更多路径场景,\r\n- 兼容 `VITE_PUBLIC_PATH` 为 `url` 的 `OSS` 场景,需将 `@pureadmin/theme` 升级至最新版"},{created_at:"2023-06-14T02:52:19Z",published_at:"2023-06-14T02:54:41Z",body:"# 4.4.0 (2023-06-14)\r\n\r\n### 🎫 Feat\r\n\r\n- 路由 `meta` 添加 `activePath` 属性,可将某个菜单激活(主要用于通过 `query` 或 `params` 传参的路由,当它们通过配置 `showLink: false` 后不在菜单中显示,就不会有任何菜单高亮,而通过设置 `activePath` 指定激活菜单即可获得高亮,`activePath` 为指定激活菜单的 `path` [查看详情](https://github.com/pure-admin/vue-pure-admin/commit/58cafbc73ffa27253446ee93077e1e382519ce8a#commitcomment-117834411))\r\n- `pure-admin-table` 高级用法添加自适应内容区高度示例\r\n- 添加防抖、节流和文本复制指令并规范自定义指令用法错误时的提示以及添加使用示例\r\n- `notice` 消息提示组件空数据时添加 `el-empty` 组件\r\n- 函数式弹窗示例代码添加子组件 `prop` 为 `primitive` 类型的示例\r\n- 添加 `vscode-docker` 插件\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复国际化切换到英文模式刷新会回到中文模式\r\n- 修复搜索菜单功能的弹框遮罩未覆盖左侧菜单的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 页面切换性能优化,不考虑网络的情况下,页面切换逻辑的速度差不多比之前快 `3-4` 倍 [查看优化详情](https://github.com/pure-admin/vue-pure-admin/pull/600#issuecomment-1586094078)\r\n- 优化标签页操作-路由传参模式用法\r\n- 系统管理中表格均改为自适应内容区高度,需将 `@pureadmin/table` 升级到最新版\r\n- 使用 `vueuse` 的 `useResizeObserver` 函数替换 `v-resize` 自定义指令,从测试后的表现来看性能会更好\r\n- 对未解绑的公共事件,在页面销毁时解绑"},{created_at:"2023-06-04T04:11:51Z",published_at:"2023-06-04T04:13:24Z",body:"# 4.3.0 (2023-06-04)\r\n\r\n### 🎫 Feat\r\n\r\n- 添加 `docker` 支持\r\n- 添加项目版本实时更新检测功能\r\n- 完善系统管理-角色管理页面\r\n- 瀑布流组件添加无限滚动\r\n- 函数式弹框添加 `updateDialog` 更改弹框自身属性值方法\r\n- `wangeditor` 富文本添加多个富文本和自定义图片上传示例\r\n- `pure-table` 表格高级用法添加保留已选中的 `CheckBox` 选项示例\r\n- `RePureTableBar` 组件添加 `title` 插槽\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复获取验证码倒计时会有 `1s` 延时禁用的问题\r\n- 修复图标选择器未正确初始化预览问题\r\n- 修复动态路由重定向造成标签页出现重复内容\r\n- 修复强制刷新页面 `getTopMenu()` 函数获取不到 `path` 报错的问题\r\n- 修复左侧菜单折叠后突然拉升造成左侧菜单整体不显示的问题\r\n- 修复 `RePureTableBar` 关闭列设置后在 `windows` 出现滚动条的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化标签页操作-路由传参模式用法\r\n- 优化菜单搜索功能和样式\r\n- 更新 `vscode` 代码片段\r\n- 优化 `dataThemeChange` 主题设置的初始化调用时机"},{created_at:"2023-05-15T07:03:57Z",published_at:"2023-05-15T07:04:54Z",body:"# 4.2.0 (2023-05-15)\r\n\r\n### 🎫 Feat\r\n\r\n- 新增分段控制器组件并适配暗黑模式\r\n- 静态路由支持配置数组格式\r\n- 函数式弹框组件添加全屏、退出全屏操作按钮\r\n- 新增组件-瀑布流 `demo`\r\n- 添加 `Exclusive` 类型互斥语法糖\r\n\r\n### 🍏 Perf\r\n\r\n- 规范 `template` 模版中路由写法,不再使用 `$route` 和 `$router`,此写法 `vue-tsc` 编译不通过"},{created_at:"2023-05-11T17:45:43Z",published_at:"2023-05-11T17:47:10Z",body:"# 4.1.0 (2023-05-12)\r\n\r\n### 🎫 Feat\r\n\r\n- 函数式弹框组件添加结合 `Form` 的 `demo` 示例\r\n- 封装 `element-plus` 的 `el-col` 组件\r\n- 函数式弹框组件添加 `beforeCancel` 和 `beforeSure` 回调,可暂停弹框的关闭\r\n- 完善 `系统管理-部门管理` 页面\r\n- 优化 `PureTableBar` 组件,列展示添加拖拽功能\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复开启 `keepAlive` 后点击标签页的重新加载,页面缓存还存在的问题\r\n- 修复混合模式菜单下刷新页签后左侧菜单会闪烁一下的问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化首页布局\r\n- 依赖更新到 `vue3.3+` 以及删除 `unplugin-vue-define-options` 插件"},{created_at:"2023-05-09T08:11:28Z",published_at:"2023-05-09T08:14:55Z",body:'# 4.0.0 (2023-05-09)\r\n\r\n[查看 4.0.0 版本优化细节](https://github.com/pure-admin/vue-pure-admin/issues/428#issuecomment-1422191158)\r\n\r\n### ✔️ refactor\r\n\r\n- 采用 `css` 伪类 `before` 写法重构菜单的激活背景,类似于 [ant.design-menu](https://ant.design/components/menu-cn#components-menu-demo-inline-collapsed)\r\n\r\n### 🎫 Feat\r\n\r\n- 优化菜单名称右侧的额外图标,使其支持更多图标渲染模式\r\n- 可配置首页菜单显示与隐藏\r\n- 将本地响应式存储的命名空间提升到全局配置中\r\n- 新增函数式弹框组件以及 `demo` 示例,使用更便捷\r\n- `PureTableBar` 组件添加列展示功能\r\n\r\n### 🐞 Bug fixes\r\n\r\n- 修复当菜单折叠或展开时首页 `echarts` 图表未自适应容器\r\n- 修复当只有一个子菜单时,搜索功能搜索不到该子菜单问题\r\n- 修复全局配置 `Theme` 为 `light` 清空缓存重新登录主题配置不生效的问题\r\n- 修复菜单搜索功能弹框打开后搜索框未自动聚集的问题\r\n- 修复按 `ESC` 退出全屏后,工具栏按钮文案展示问题\r\n- 修复移动端通知栏 `tooltip` 点击穿透问题\r\n- 修复当左侧菜单收起后,切换到 `horizontal` 导航模式时文字不展示的问题\r\n- 修复导航 `tab` 关闭其他标签页无法重置状态问题\r\n- 修复 `getHistoryMode` 函数中环境变量未初始化带来的页面热更新报错\r\n- 修复导航 `tab` 过多导致关闭左侧标签页无法正常显示\r\n- 修复点击内容区全屏报错问题\r\n- 修复混合导航下打开 `showLink:false` 页面并刷新后,左侧导航栏一直处于加载状态的问题\r\n- 修复混合模式导航下调用 `initRouter` 函数导致左侧导航内存溢出问题\r\n- 修复关闭左侧、右侧、其他、全部标签页操作时缓存页面并没有销毁问题\r\n- 修复路由通过 `query` 或 `params` 传参,开启缓存后关闭标签页缓存失效问题\r\n- 修复 `params` 路由传参模式下,面包屑无法找到父级路径问题\r\n\r\n### 🍏 Perf\r\n\r\n- 优化 `RePureTableBar` 组件的 `buttons` 具名插槽\r\n- 优化导航样式以及菜单折叠动画\r\n- 优化菜单名称右侧的额外图标,使其支持更多图标渲染模式\r\n- 优化 `logo` 图和文字布局以及统一配置\r\n- 路由信息 `showLink` 设置成 `false` 后,当前路由信息不添加到标签页\r\n- 导出 `addPathMatch` 函数\r\n- `pinia` 中所有 `getters` 改为官方推荐写法,`this` 改成 `state` 可自动推导类型\r\n- 适配最新版 `pure-table` 的 `api`\r\n- 忽略 `sourcemap-codec` 和 `stable` 依赖包的 `deprecation` 警告\r\n- 从 `tsconfig.json` 文件中移除 `"incremental": true`\r\n- 更新 `stylelint` 以及相关配置至最新,强化样式校验\r\n- 面包屑去首页化,根据选择的菜单对应显示,首页不在固定到面包屑里,并优化面包屑页面的路由监听'},{created_at:"2022-12-26T06:31:04Z",published_at:"2022-12-26T06:32:38Z",body:"# 3.9.7 (2022-12-26)\r\n\r\n### 🍏 Perf\r\n\r\n- 使用 `path.posix.resolve` 替代 `path.resolve` 避免 `windows` 环境下使用 `electron` 出现盘符问题\r\n- 默认关闭 `CachingAsyncRoutes` 动态路由缓存本地,使其在开发环境下调试更方便,不用每次修改动态路由都要先清空本地缓存的动态路由,更推荐在生产环境开启"},{created_at:"2022-12-19T04:14:18Z",published_at:"2022-12-19T04:15:41Z",body:`# 3.9.6 (2022-12-19)\r \r ### 🎫 Chores\r \r diff --git a/dist/static/js/index-f2ccae50.js b/dist/static/js/index-4346aa6e.js similarity index 97% rename from dist/static/js/index-f2ccae50.js rename to dist/static/js/index-4346aa6e.js index 997f52ab1..185fcb2d8 100644 --- a/dist/static/js/index-f2ccae50.js +++ b/dist/static/js/index-4346aa6e.js @@ -1 +1 @@ -import{d as le,a2 as te,r as d,C as s,a as r,c as oe,w as l,o as ie,e as E,f as u,h as e,u as D,a3 as i,Q as ce,a4 as R,F as A,O as _,a5 as B,m as a,a6 as re}from"./index-ceadd577.js";import{_ as k}from"./form.vue_vue_type_script_setup_true_lang-668c070a.js";import{_ as ae}from"./formPrimitive.vue_vue_type_script_setup_true_lang-9b5544db.js";const de={class:"card-header"},se={class:"font-medium"},ke=le({name:"DialogPage",__name:"index",setup(Ce){const h=te();function b(){i({title:"基本使用",contentRenderer:()=>e("p",null,[u("弹框内容-基本使用")])})}function w(){i({title:"可拖拽",draggable:!0,contentRenderer:()=>_("p","弹框内容-可拖拽")})}function $(){i({title:"全屏",fullscreen:!0,contentRenderer:()=>e("p",null,"弹框内容-全屏")})}function g(){i({title:"全屏按钮",fullscreenIcon:!0,contentRenderer:()=>e("p",null,[u("弹框内容-全屏按钮")])})}function x(){i({title:"无背景遮罩层",modal:!1,contentRenderer:()=>e("p",null,[u("弹框内容-无背景遮罩层")])})}function I(){i({title:"自定义弹出位置",top:"60vh",style:{marginRight:"20px"},contentRenderer:()=>e("p",null,[u("弹框内容-自定义弹出位置")])})}const y=ce(()=>i({title:"延时2秒打开弹框",openDelay:2e3-600,contentRenderer:()=>e("p",null,[u("弹框内容-延时2秒打开弹框")])}),600);function P(){i({title:"延时2秒关闭弹框",closeDelay:2e3,contentRenderer:()=>e("p",null,[u("弹框内容-延时2秒关闭弹框")])})}function O(){i({title:"不显示右上角关闭按钮图标",showClose:!1,contentRenderer:()=>e("p",null,[u("弹框内容-不显示右上角关闭按钮图标")])})}function S(){i({title:"禁止通过键盘ESC关闭",closeOnPressEscape:!1,contentRenderer:()=>e("p",null,[u("弹框内容-禁止通过键盘ESC关闭")])})}function N(){i({title:"禁止通过点击modal关闭",closeOnClickModal:!1,contentRenderer:()=>e("p",null,[u("弹框内容-禁止通过点击modal关闭")])})}function T(){i({title:"隐藏底部取消、确定按钮",hideFooter:!0,contentRenderer:()=>e("p",null,[u("弹框内容-隐藏底部取消、确定按钮")])})}function z(){i({title:"自定义头部",showClose:!1,headerRenderer:({close:t,titleId:o,titleClass:c})=>e("div",{class:"flex flex-row justify-between"},[e("h4",{id:o,class:c},[u("自定义头部")]),e(r("el-button"),{type:"danger",onClick:t},{default:()=>[u("关闭")]})]),contentRenderer:()=>e("p",null,[u("弹框内容-自定义头部")])})}function H(){i({title:"自定义底部",footerRenderer:({options:t,index:o})=>e(r("el-button"),{onClick:()=>B(t,o)},{default:()=>[t.title,u("-"),o]}),contentRenderer:()=>e("p",null,[u("弹框内容-自定义底部")])})}function M(){i({title:"自定义底部按钮",footerButtons:[{label:"按钮1",size:"small",type:"success",btnClick:({dialog:{options:t,index:o},button:c})=>{B(t,o)}},{label:"按钮2",text:!0,bg:!0,btnClick:({dialog:{options:t,index:o},button:c})=>{B(t,o)}},{label:"按钮3",size:"large",type:"warning",btnClick:({dialog:{options:t,index:o},button:c})=>{B(t,o)}}],contentRenderer:()=>e("p",null,[u("弹框内容-自定义底部按钮")])})}function V(){i({title:"打开后的回调",open:({options:t,index:o})=>a({options:t,index:o}),contentRenderer:()=>e("p",null,[u("弹框内容-打开后的回调")])})}function U(){i({title:"关闭后的回调",closeCallBack:({options:t,index:o,args:c})=>{let n="";(c==null?void 0:c.command)==="cancel"?n="您点击了取消按钮":(c==null?void 0:c.command)==="sure"?n="您点击了确定按钮":n="您点击了右上角关闭按钮或者空白页",a(n)},contentRenderer:()=>e("p",null,[u("弹框内容-关闭后的回调")])})}function j(){i({title:"嵌套的弹框",contentRenderer:({index:t})=>e(r("el-button"),{onClick:()=>i({title:`第${t+1}个子弹框`,width:"40%",contentRenderer:({index:o})=>e(r("el-button"),{onClick:()=>i({title:`第${o+1}个子弹框`,width:"30%",contentRenderer:()=>e(A,null,[e(r("el-button"),{round:!0,onClick:()=>re()},{default:()=>[u("哎呦,你干嘛,赶快关闭所有弹框")]})])})},{default:()=>[u("点击打开第"),o+1,u("个子弹框")]})})},{default:()=>[u("点击打开第"),t+1,u("个子弹框")]})})}function Q(){const t=d(1);i({title:`第${t.value}页`,contentRenderer:()=>e(A,null,[e(r("el-button"),{disabled:!(t.value>1),onClick:()=>{t.value-=1,R(`第${t.value}页`)}},{default:()=>[u("上一页")]}),e(r("el-button"),{onClick:()=>{t.value+=1,R(`第${t.value}页`)}},{default:()=>[u("下一页")]})])})}function W(){i({width:"30%",title:"结合Form表单(第一种方式)",contentRenderer:()=>k,props:{formInline:{user:"菜虚鲲",region:"浙江"}},closeCallBack:({options:t,args:o})=>{const{formInline:c}=t.props,n=`姓名:${c.user} 城市:${c.region}`;(o==null?void 0:o.command)==="cancel"?a(`您点击了取消按钮,当前表单数据为 ${n}`):(o==null?void 0:o.command)==="sure"?a(`您点击了确定按钮,当前表单数据为 ${n}`):a(`您点击了右上角关闭按钮或者空白页,当前表单数据为 ${n}`)}})}const C=d({user:"菜虚鲲",region:"浙江"}),q=s(C.value);function G(){i({width:"30%",title:"结合Form表单(第二种方式)",contentRenderer:()=>_(k,{formInline:C.value}),closeCallBack:()=>{a(`当前表单数据为 姓名:${C.value.user} 城市:${C.value.region}`),C.value=s(q)}})}const f=d({user:"菜虚鲲",region:"浙江"}),J=s(f.value);function K(){i({width:"30%",title:"结合Form表单(第三种方式)",contentRenderer:()=>e(k,{formInline:f.value}),closeCallBack:()=>{a(`当前表单数据为 姓名:${f.value.user} 城市:${f.value.region}`),f.value=s(J)}})}const F=d({user:"菜虚鲲",region:"浙江"}),L=s(F.value);function X(){i({width:"30%",title:"结合Form表单(第四种方式)",contentRenderer:()=>e(k,{formInline:F.value},null),closeCallBack:()=>{a(`当前表单数据为 姓名:${F.value.user} 城市:${F.value.region}`),F.value=s(L)}})}const m=d("Hello World"),Y=d(m.value);function Z(){i({width:"30%",title:"子组件 prop 为 primitive 类型 demo",contentRenderer:()=>_(ae,{data:m.value,"onUpdate:data":t=>m.value=t}),closeCallBack:()=>{a(`当前表单内容:${m.value}`),m.value=Y.value}})}function ee(){i({title:"点击底部取消按钮的回调",contentRenderer:()=>e("p",null,[u("弹框内容-点击底部取消按钮的回调(会暂停弹框的关闭)")]),beforeCancel:(t,{options:o,index:c})=>{}})}function ue(){i({title:"点击底部确定按钮的回调",contentRenderer:()=>e("p",null,[u("弹框内容-点击底部确定按钮的回调(会暂停弹框的关闭,经常用于新增、编辑弹框内容后调用接口)")]),beforeSure:(t,{options:o,index:c})=>{}})}return(t,o)=>{const c=r("el-link"),n=r("el-button"),p=r("el-space"),v=r("el-divider"),ne=r("el-card");return ie(),oe(ne,{shadow:"never"},{header:l(()=>[E("div",de,[E("span",se,[u(" 二次封装 element-plus 的 "),e(c,{href:"https://element-plus.org/zh-CN/component/dialog.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:l(()=>[u(" Dialog ")]),_:1}),u(" ,采用函数式调用弹框组件(更多操作实例请参考 "),E("span",{class:"cursor-pointer text-primary",onClick:o[0]||(o[0]=fe=>D(h).push({name:"Dept"}))},"系统管理页面"),u(" ) ")])])]),default:l(()=>[e(p,{wrap:""},{default:l(()=>[e(n,{onClick:b},{default:l(()=>[u(" 基本使用 ")]),_:1}),e(n,{onClick:w},{default:l(()=>[u(" 可拖拽 ")]),_:1}),e(n,{onClick:$},{default:l(()=>[u(" 全屏 ")]),_:1}),e(n,{onClick:g},{default:l(()=>[u(" 全屏按钮 ")]),_:1}),e(n,{onClick:x},{default:l(()=>[u(" 无背景遮罩层 ")]),_:1}),e(n,{onClick:I},{default:l(()=>[u(" 自定义弹出位置 ")]),_:1}),e(n,{onClick:D(y)},{default:l(()=>[u(" 延时2秒打开弹框 ")]),_:1},8,["onClick"]),e(n,{onClick:P},{default:l(()=>[u(" 延时2秒关闭弹框 ")]),_:1}),e(n,{onClick:O},{default:l(()=>[u(" 不显示右上角关闭按钮图标 ")]),_:1}),e(n,{onClick:S},{default:l(()=>[u(" 禁止通过键盘ESC关闭 ")]),_:1}),e(n,{onClick:N},{default:l(()=>[u(" 禁止通过点击modal关闭 ")]),_:1}),e(n,{onClick:T},{default:l(()=>[u(" 隐藏底部取消、确定按钮 ")]),_:1}),e(n,{onClick:z},{default:l(()=>[u(" 自定义头部 ")]),_:1}),e(n,{onClick:H},{default:l(()=>[u(" 自定义底部 ")]),_:1}),e(n,{onClick:M},{default:l(()=>[u(" 自定义底部按钮 ")]),_:1}),e(n,{onClick:V},{default:l(()=>[u(" 打开后的回调 ")]),_:1}),e(n,{onClick:U},{default:l(()=>[u(" 关闭后的回调 ")]),_:1}),e(n,{onClick:j},{default:l(()=>[u(" 嵌套的弹框 ")]),_:1}),e(n,{onClick:Q},{default:l(()=>[u(" 更改弹框自身属性值 ")]),_:1})]),_:1}),e(v),e(p,{wrap:""},{default:l(()=>[e(n,{onClick:W},{default:l(()=>[u(" 结合Form表单(第一种方式) ")]),_:1}),e(n,{onClick:G},{default:l(()=>[u(" 结合Form表单(第二种方式) ")]),_:1}),e(n,{onClick:K},{default:l(()=>[u(" 结合Form表单(第三种方式) ")]),_:1}),e(n,{onClick:X},{default:l(()=>[u(" 结合Form表单(第四种方式) ")]),_:1}),e(n,{onClick:Z},{default:l(()=>[u(" 子组件 prop 为 primitive 类型 ")]),_:1})]),_:1}),e(v),e(p,{wrap:""},{default:l(()=>[e(n,{onClick:ee},{default:l(()=>[u(" 点击底部取消按钮的回调(会暂停弹框的关闭) ")]),_:1}),e(n,{onClick:ue},{default:l(()=>[u(" 点击底部确定按钮的回调(会暂停弹框的关闭,经常用于新增、编辑弹框内容后调用接口) ")]),_:1})]),_:1})]),_:1})}}});export{ke as default}; +import{d as le,a2 as te,r as d,C as s,a as r,c as oe,w as l,o as ie,e as E,f as u,h as e,u as D,a3 as i,Q as ce,a4 as R,F as A,O as _,a5 as B,m as a,a6 as re}from"./index-42b0cfe4.js";import{_ as k}from"./form.vue_vue_type_script_setup_true_lang-2a77ad63.js";import{_ as ae}from"./formPrimitive.vue_vue_type_script_setup_true_lang-10b640c7.js";const de={class:"card-header"},se={class:"font-medium"},ke=le({name:"DialogPage",__name:"index",setup(Ce){const h=te();function b(){i({title:"基本使用",contentRenderer:()=>e("p",null,[u("弹框内容-基本使用")])})}function w(){i({title:"可拖拽",draggable:!0,contentRenderer:()=>_("p","弹框内容-可拖拽")})}function $(){i({title:"全屏",fullscreen:!0,contentRenderer:()=>e("p",null,"弹框内容-全屏")})}function g(){i({title:"全屏按钮",fullscreenIcon:!0,contentRenderer:()=>e("p",null,[u("弹框内容-全屏按钮")])})}function x(){i({title:"无背景遮罩层",modal:!1,contentRenderer:()=>e("p",null,[u("弹框内容-无背景遮罩层")])})}function I(){i({title:"自定义弹出位置",top:"60vh",style:{marginRight:"20px"},contentRenderer:()=>e("p",null,[u("弹框内容-自定义弹出位置")])})}const y=ce(()=>i({title:"延时2秒打开弹框",openDelay:2e3-600,contentRenderer:()=>e("p",null,[u("弹框内容-延时2秒打开弹框")])}),600);function P(){i({title:"延时2秒关闭弹框",closeDelay:2e3,contentRenderer:()=>e("p",null,[u("弹框内容-延时2秒关闭弹框")])})}function O(){i({title:"不显示右上角关闭按钮图标",showClose:!1,contentRenderer:()=>e("p",null,[u("弹框内容-不显示右上角关闭按钮图标")])})}function S(){i({title:"禁止通过键盘ESC关闭",closeOnPressEscape:!1,contentRenderer:()=>e("p",null,[u("弹框内容-禁止通过键盘ESC关闭")])})}function N(){i({title:"禁止通过点击modal关闭",closeOnClickModal:!1,contentRenderer:()=>e("p",null,[u("弹框内容-禁止通过点击modal关闭")])})}function T(){i({title:"隐藏底部取消、确定按钮",hideFooter:!0,contentRenderer:()=>e("p",null,[u("弹框内容-隐藏底部取消、确定按钮")])})}function z(){i({title:"自定义头部",showClose:!1,headerRenderer:({close:t,titleId:o,titleClass:c})=>e("div",{class:"flex flex-row justify-between"},[e("h4",{id:o,class:c},[u("自定义头部")]),e(r("el-button"),{type:"danger",onClick:t},{default:()=>[u("关闭")]})]),contentRenderer:()=>e("p",null,[u("弹框内容-自定义头部")])})}function H(){i({title:"自定义底部",footerRenderer:({options:t,index:o})=>e(r("el-button"),{onClick:()=>B(t,o)},{default:()=>[t.title,u("-"),o]}),contentRenderer:()=>e("p",null,[u("弹框内容-自定义底部")])})}function M(){i({title:"自定义底部按钮",footerButtons:[{label:"按钮1",size:"small",type:"success",btnClick:({dialog:{options:t,index:o},button:c})=>{B(t,o)}},{label:"按钮2",text:!0,bg:!0,btnClick:({dialog:{options:t,index:o},button:c})=>{B(t,o)}},{label:"按钮3",size:"large",type:"warning",btnClick:({dialog:{options:t,index:o},button:c})=>{B(t,o)}}],contentRenderer:()=>e("p",null,[u("弹框内容-自定义底部按钮")])})}function V(){i({title:"打开后的回调",open:({options:t,index:o})=>a({options:t,index:o}),contentRenderer:()=>e("p",null,[u("弹框内容-打开后的回调")])})}function U(){i({title:"关闭后的回调",closeCallBack:({options:t,index:o,args:c})=>{let n="";(c==null?void 0:c.command)==="cancel"?n="您点击了取消按钮":(c==null?void 0:c.command)==="sure"?n="您点击了确定按钮":n="您点击了右上角关闭按钮或者空白页",a(n)},contentRenderer:()=>e("p",null,[u("弹框内容-关闭后的回调")])})}function j(){i({title:"嵌套的弹框",contentRenderer:({index:t})=>e(r("el-button"),{onClick:()=>i({title:`第${t+1}个子弹框`,width:"40%",contentRenderer:({index:o})=>e(r("el-button"),{onClick:()=>i({title:`第${o+1}个子弹框`,width:"30%",contentRenderer:()=>e(A,null,[e(r("el-button"),{round:!0,onClick:()=>re()},{default:()=>[u("哎呦,你干嘛,赶快关闭所有弹框")]})])})},{default:()=>[u("点击打开第"),o+1,u("个子弹框")]})})},{default:()=>[u("点击打开第"),t+1,u("个子弹框")]})})}function Q(){const t=d(1);i({title:`第${t.value}页`,contentRenderer:()=>e(A,null,[e(r("el-button"),{disabled:!(t.value>1),onClick:()=>{t.value-=1,R(`第${t.value}页`)}},{default:()=>[u("上一页")]}),e(r("el-button"),{onClick:()=>{t.value+=1,R(`第${t.value}页`)}},{default:()=>[u("下一页")]})])})}function W(){i({width:"30%",title:"结合Form表单(第一种方式)",contentRenderer:()=>k,props:{formInline:{user:"菜虚鲲",region:"浙江"}},closeCallBack:({options:t,args:o})=>{const{formInline:c}=t.props,n=`姓名:${c.user} 城市:${c.region}`;(o==null?void 0:o.command)==="cancel"?a(`您点击了取消按钮,当前表单数据为 ${n}`):(o==null?void 0:o.command)==="sure"?a(`您点击了确定按钮,当前表单数据为 ${n}`):a(`您点击了右上角关闭按钮或者空白页,当前表单数据为 ${n}`)}})}const C=d({user:"菜虚鲲",region:"浙江"}),q=s(C.value);function G(){i({width:"30%",title:"结合Form表单(第二种方式)",contentRenderer:()=>_(k,{formInline:C.value}),closeCallBack:()=>{a(`当前表单数据为 姓名:${C.value.user} 城市:${C.value.region}`),C.value=s(q)}})}const f=d({user:"菜虚鲲",region:"浙江"}),J=s(f.value);function K(){i({width:"30%",title:"结合Form表单(第三种方式)",contentRenderer:()=>e(k,{formInline:f.value}),closeCallBack:()=>{a(`当前表单数据为 姓名:${f.value.user} 城市:${f.value.region}`),f.value=s(J)}})}const F=d({user:"菜虚鲲",region:"浙江"}),L=s(F.value);function X(){i({width:"30%",title:"结合Form表单(第四种方式)",contentRenderer:()=>e(k,{formInline:F.value},null),closeCallBack:()=>{a(`当前表单数据为 姓名:${F.value.user} 城市:${F.value.region}`),F.value=s(L)}})}const m=d("Hello World"),Y=d(m.value);function Z(){i({width:"30%",title:"子组件 prop 为 primitive 类型 demo",contentRenderer:()=>_(ae,{data:m.value,"onUpdate:data":t=>m.value=t}),closeCallBack:()=>{a(`当前表单内容:${m.value}`),m.value=Y.value}})}function ee(){i({title:"点击底部取消按钮的回调",contentRenderer:()=>e("p",null,[u("弹框内容-点击底部取消按钮的回调(会暂停弹框的关闭)")]),beforeCancel:(t,{options:o,index:c})=>{}})}function ue(){i({title:"点击底部确定按钮的回调",contentRenderer:()=>e("p",null,[u("弹框内容-点击底部确定按钮的回调(会暂停弹框的关闭,经常用于新增、编辑弹框内容后调用接口)")]),beforeSure:(t,{options:o,index:c})=>{}})}return(t,o)=>{const c=r("el-link"),n=r("el-button"),p=r("el-space"),v=r("el-divider"),ne=r("el-card");return ie(),oe(ne,{shadow:"never"},{header:l(()=>[E("div",de,[E("span",se,[u(" 二次封装 element-plus 的 "),e(c,{href:"https://element-plus.org/zh-CN/component/dialog.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:l(()=>[u(" Dialog ")]),_:1}),u(" ,采用函数式调用弹框组件(更多操作实例请参考 "),E("span",{class:"cursor-pointer text-primary",onClick:o[0]||(o[0]=fe=>D(h).push({name:"Dept"}))},"系统管理页面"),u(" ) ")])])]),default:l(()=>[e(p,{wrap:""},{default:l(()=>[e(n,{onClick:b},{default:l(()=>[u(" 基本使用 ")]),_:1}),e(n,{onClick:w},{default:l(()=>[u(" 可拖拽 ")]),_:1}),e(n,{onClick:$},{default:l(()=>[u(" 全屏 ")]),_:1}),e(n,{onClick:g},{default:l(()=>[u(" 全屏按钮 ")]),_:1}),e(n,{onClick:x},{default:l(()=>[u(" 无背景遮罩层 ")]),_:1}),e(n,{onClick:I},{default:l(()=>[u(" 自定义弹出位置 ")]),_:1}),e(n,{onClick:D(y)},{default:l(()=>[u(" 延时2秒打开弹框 ")]),_:1},8,["onClick"]),e(n,{onClick:P},{default:l(()=>[u(" 延时2秒关闭弹框 ")]),_:1}),e(n,{onClick:O},{default:l(()=>[u(" 不显示右上角关闭按钮图标 ")]),_:1}),e(n,{onClick:S},{default:l(()=>[u(" 禁止通过键盘ESC关闭 ")]),_:1}),e(n,{onClick:N},{default:l(()=>[u(" 禁止通过点击modal关闭 ")]),_:1}),e(n,{onClick:T},{default:l(()=>[u(" 隐藏底部取消、确定按钮 ")]),_:1}),e(n,{onClick:z},{default:l(()=>[u(" 自定义头部 ")]),_:1}),e(n,{onClick:H},{default:l(()=>[u(" 自定义底部 ")]),_:1}),e(n,{onClick:M},{default:l(()=>[u(" 自定义底部按钮 ")]),_:1}),e(n,{onClick:V},{default:l(()=>[u(" 打开后的回调 ")]),_:1}),e(n,{onClick:U},{default:l(()=>[u(" 关闭后的回调 ")]),_:1}),e(n,{onClick:j},{default:l(()=>[u(" 嵌套的弹框 ")]),_:1}),e(n,{onClick:Q},{default:l(()=>[u(" 更改弹框自身属性值 ")]),_:1})]),_:1}),e(v),e(p,{wrap:""},{default:l(()=>[e(n,{onClick:W},{default:l(()=>[u(" 结合Form表单(第一种方式) ")]),_:1}),e(n,{onClick:G},{default:l(()=>[u(" 结合Form表单(第二种方式) ")]),_:1}),e(n,{onClick:K},{default:l(()=>[u(" 结合Form表单(第三种方式) ")]),_:1}),e(n,{onClick:X},{default:l(()=>[u(" 结合Form表单(第四种方式) ")]),_:1}),e(n,{onClick:Z},{default:l(()=>[u(" 子组件 prop 为 primitive 类型 ")]),_:1})]),_:1}),e(v),e(p,{wrap:""},{default:l(()=>[e(n,{onClick:ee},{default:l(()=>[u(" 点击底部取消按钮的回调(会暂停弹框的关闭) ")]),_:1}),e(n,{onClick:ue},{default:l(()=>[u(" 点击底部确定按钮的回调(会暂停弹框的关闭,经常用于新增、编辑弹框内容后调用接口) ")]),_:1})]),_:1})]),_:1})}}});export{ke as default}; diff --git a/dist/static/js/index-207ac8cd.js b/dist/static/js/index-436c44e5.js similarity index 86% rename from dist/static/js/index-207ac8cd.js rename to dist/static/js/index-436c44e5.js index 544c27d1f..97ddc8925 100644 --- a/dist/static/js/index-207ac8cd.js +++ b/dist/static/js/index-436c44e5.js @@ -1 +1 @@ -import{d as m,r,$ as p,a as d,i,e as s,t as o,u as a,h as c,o as _}from"./index-ceadd577.js";const f={class:"dark:text-white"},h={style:{"text-indent":"2em"}},k=m({name:"Menu1-3",__name:"index",setup(x){const e=r(""),{t:n}=p();return(V,t)=>{const l=d("el-input");return _(),i("div",f,[s("p",null,o(a(n)("menus.hsmenu1")),1),s("p",h,o(a(n)("menus.hsmenu1-3")),1),c(l,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value=u)},null,8,["modelValue"])])}}});export{k as default}; +import{d as m,r,$ as p,a as d,i,e as s,t as o,u as a,h as c,o as _}from"./index-42b0cfe4.js";const f={class:"dark:text-white"},h={style:{"text-indent":"2em"}},k=m({name:"Menu1-3",__name:"index",setup(x){const e=r(""),{t:n}=p();return(V,t)=>{const l=d("el-input");return _(),i("div",f,[s("p",null,o(a(n)("menus.hsmenu1")),1),s("p",h,o(a(n)("menus.hsmenu1-3")),1),c(l,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value=u)},null,8,["modelValue"])])}}});export{k as default}; diff --git a/dist/static/js/index-c609ccff.js b/dist/static/js/index-44694419.js similarity index 99% rename from dist/static/js/index-c609ccff.js rename to dist/static/js/index-44694419.js index 21f47a478..c3889c182 100644 --- a/dist/static/js/index-c609ccff.js +++ b/dist/static/js/index-44694419.js @@ -1 +1 @@ -import{r as h,ab as dt,k as B,ac as ot,o as w,i as _,ad as I,h as b,j as R,e as d,t as S,E as x,n as rt,s as ft,v as mt,d as D,W as F,ae as gt,D as N,af as pt,ag as ht,u as y,F as At,q as vt,G as yt,ah as P,ai as wt,a as T,c as bt,w as j,aj as _t,ak as Et,al as zt}from"./index-ceadd577.js";import{b as Ot}from"./back_top-489ad631.js";function It(t=6){return Number(Math.random().toString().substr(3,t)+Date.now()).toString(36)}const St=["#409EFF","#67C23A","#E6A23C","#F56C6C","#909399"];function xt(t,e){return Math.floor(Math.random()*(e-t+1))+t}function Rt(){return St[xt(0,4)]}const Ft="https://www.getphotoblanket.com",Nt=({page:t=1,pageSize:e=20})=>{const n=`${Ft}/products.json?page=${t}&limit=${e}`;return fetch(n).then(o=>o.json()).then(o=>o.products).then(o=>o.map(r=>({id:It(),star:!1,price:r.variants[0].price,src:{original:r.images[0].src},backgroundColor:Rt(),name:r.title})))},jt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABbFJREFUaEPtWV1sFFUUPufOLmjpD7G0nXtm11igD0Q0CpqImsiDEcGoIVEReeBBNGgkEQSjwUR4MQZ/MBr/MeFFFIkxYAR9MGr84cFijBJ9UFPD7r3TqtWWLsVuO3PM3ew20+3uzizTxpDsTSa7e+ec75zvnPtz7l2E87zhee4/NAj83xlsZKCRgZgRaAyhmAGMrV4zA5lM5sJEItGcz+dbhBDN5gGAZkRsQcTCd/Mwc0vpu+k3v5l5yHGcDUEPtdY7AeAsIp4t/5yYmCj0myefz//LzGfNY/p7enrGqjGtSEAp9ZgQYgsz07mGiJk3OY7zVklfKbULEZ88FzxE1L7vv+Q4ztPl+tMIZLPZFUKIb87FUFBHCLHQtu2+Up/WmuNi+r5/bSqVOh7EmUZAa70VAJ6PYwwRJ6SUyRKG67odzPxHHMyi7jYi2luTgOu6O5h5T1xjiLhDSvlsIAOfAcDKOLiI+KiU8pmwDGwGgFfjGCrqDhLRgkAWHmTml2PiPkBEr4URuAcA3o5pqKR+PxG9aX7M0DDaQEQHahJQSt2KiEdmiMA7RGQCUmha61jDiJlvcxznw7A5cAMzfz4TBHzfvzGVSn1qsDKZzErLsgyBac0skwBwwvf9HCKuBoD5VeRWSim/CMvAMkQ8MQME+ohoYZToE9HkapjNZq9AxFcQcUW5D8y83HGc72oSyGQyiy3L+qUeAsx8yMgj4p0BvZ1E9FRY9Jl5t+M4u4L2tNaPA0BBN9g8z+tJp9O/1iTQ39/f6fv+QB0ExoQQS4aGhv5qa2s7zsyXGl0hRJdt24W1P2TsbyWiF4L2lFL3IuK+ch+CmKV30zYyU/9YljVaB4EDRFSoeUrj3CwCUsrbw6JftPE9EV1ZloFhAGitkIGmdDpt6qjJVrEWcl03z8yTO2kImTuI6P2STDabfUQIsYqIbjJ91aJZhjkCANuZeSkArEbExeU2EXFcSjlnWn8l55RSg4h4UVgWELHPtu1FiDilzlFKmaxsNEa11ksA4KcwrLD3zPy34zjtkQhorU0RdkkYqJloRGRK5ClNKXUxIposFDax8kIOEfczcxsArI1goyTyOxF1RyKglPoBES+LAH4VEVVccrXWa4nogyKBXgBYXnR8DxH9XOz/EgCuj2AHmPlHx3Euj0RAa/0VAFwXAvw1EdU03tfXN7+7u3tIa73X87zD6XR6ygaZzWavEUJMKY9r2Kxor9okPsrMZkes1TYT0etRoldLxnXdF5l5SxgOIh6TUq6JlAGl1EFEvKsWqO/7C1Kp1GCY4bD3zDzHdd2TANBTS5aZ33McZ10kAlprM/k2VQNExENSypoEwxwPvndddyMz7w/R2UdE90UlYE5k5mRWsVWqCutxuJKs1tqUyetr4Owlom2RCLiuu4uZqx3A/yGi0D2iXkKnTp1amkgkTKVZERsRd0spp9RMxkbFSVzcTSePg2XOFNbjwcFBs9W35vP5Vs/z2oQQrYjY6vt+4dOs86ZI01o/AQA5Zs5ZljUyMTGRE0KMmN/JZHJkdHQ019TUNNLZ2ZmrVTP5vr89lUo9FykDWmsz1t6oN4pBeSHE+vHx8cN11lW1TE6e7oJCFTPQ39+/zvf9d+MQYOZlxc2rsBvHbUKIu23bPhgpA67rrmHmj2IY/bNYihiMWDcRJR8Q8RYp5dFIBAYGBhZ5njfl4FAvGSnlBUqph4QQ1eZSXZCWZS3u6ur6LRIBI6S1/hgAVkW0wsx8GhFPA8AIIuYA4OTw8PDDLS0txxBxXukutXiPOi8ibknsEyK6uZJO1ctds8qMjY2Zc+nVAFBwzjjJzCOJRCKXz+fPJJNJ46h5zti2fSaqU729vcmOjo5my7LmBS6MDSlzcdzseV7w8vjbuXPnHm9vbzfBmdYa/w9EjfpsyTUyMFuRjYrbyEDUSM2WXCMDsxXZqLjnfQb+A8eWU0/QfZYsAAAAAElFTkSuQmCC",Ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABNBJREFUaEPtmV1oXEUUx//n3g1JRGqL9k1RsFq/6IMgSky8c2YTQyONiojWYumTQrWKSNH6oO1TS1EQFcTiQwsaK4qIbVdod+/M3Y0IteJDwVr1oVYFEfFFwUY2c2TCbrhZNptNduvuQgf2Ze85M+c359w5Z84l9PigHrcflwCqHrTWsoiUmLn8f3q1bR4wxggRlZxz00EQlCowf19smLYAxHF8NxFNA/gUgAKwGsApD5GC+eNiwLQL4GUi2gNgDIA31ENEKZhzIvK5h5mZmZkeHx//uV0wbQEwxpQADDPzgvny+fyNYRhO1MB42w9674RhWIqi6IdWYFoGMMbcBuA0ER1RSk3GcbyViB4HcBTAMWb+0RtYKpXWlMvlSSKaFBFdCTP/yIrIRxWY08uFaQfAswAeAPAaMx81xhwmojVpQ0TkSxH5QGt9tvp/kiQTzrlJAOsroeYfnXPOHQrD8JhS6qtmYFoGaGaRRjKFQuF6IhononsB+N9gSv4ggENKqYSIpN48cwCFQmF3EARPt2rMcvWZ+ao4ju/TWh+r6hpjRkVkYwXIh+d8qvEw/f39Hw4NDf1T/TMN8AqA/HKNWKk8EWmlVFjZvG0iUiSiIjO/W52zWCyuLZfLm4hoE4DxlHfmQi2bze6uBbih+tKt1LBm9Ky17wN4NAXgN29uiMi/HsS/2FrrA+n5isXi7bOzsx5mdyaTWT8yMvJ9XQC/K80YshIZv2uNAOrM+bWIHKjCWGuPi8g9zDzgZesC+LJgJcYtpeOc27MCAD/taWbeYIy5i4gKzjnvnW29BLCLmfcZY54H8GoQBONRFB3vGYByuXzt2NjYeWPMJwAeTGf8rg8hIvpTKXVlHMe3AogBnNFa+1prbnQ9gIi8rbXeHsfxE0T0DhE9qZSaP526HgDACDNPW2sPicjWvr6+VcPDw3/1jAd8vJ84ceKKTCbjj1NordelT7tu98BRZt5krd0sIlNEtFcp9VLPAIjIFq31lDHmLQBPBUGwIYqiBSV3xz1gjPFlRN3MXz0ujTHf+LKbmS+rTZZdC0BEJ5VSdxYKBR0EQYGIppRSW3oGAEA1++4F8KK/ySmljvQMQDX7Wmt9ZeqP0rqXr24NoZ+Y+TpjzDoiOuvvCszM9YrFbgV4nZmfi+N4JxHtJ6JnlFJv9hLAXPY1xuQAbASwlpnrNsY67oHKlXL+RgbgAjMP5nK5/oGBgd+DIPhNKeU7F3VHxwFq80Cl/fKYMeYRAIdFZL/W+oWeAQDwMDN/7PtLADzEHcx8qmcAUtn3FxFZrbW+vNFVteMhFMexj+/7faKqxP9okiRDzrkvALzHzL5NuejoOEDasiRJJqMo+sxau19EdgZB8FAURf4auTyARgrteJZuq9SbzxhzBsBNi2XfJcvpdhjZaI5GAEmSXOOcO09EsVIqu5QtHe/M1Rpord0hIm8A2MHM/h7QcHQjQMF/P3DOXZ3NZn/teoBKJr4AYLpSPviu4HfMfPNSxvvnCzzgnNvejFKrMmEYDi/S3LWVjx37mHlXM+vUhlAzOm2RISLnu9N+slwut2pwcHCCiCZExH+5mchmsyebWWgOwBgz3+lqRqldMszsd3zByOfzt4yOjn7b7Bod/8TUrKGLyV0CaHUHW9X/D9N93V6azvezAAAAAElFTkSuQmCC";const it=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n},Bt={},Dt=t=>(ft("data-v-259be2b2"),t=t(),mt(),t),Mt={class:"container"},Pt=Dt(()=>d("div",{class:"spinner"},null,-1)),Tt=[Pt];function kt(t,e){return w(),_("div",Mt,Tt)}const Lt=it(Bt,[["render",kt],["__scopeId","data-v-259be2b2"],["__file","/home/oumoussa/side-projects/infinite/src/components/Spinner.vue"]]),Ht=t=>({loading(){t.value="loading"},loaded(){t.value="loaded"},complete(){t.value="complete"},error(){t.value="error"}}),Kt=(t,e,n)=>()=>{const o=n.parentEl||document.documentElement;n.prevHeight=o.scrollHeight,e.loading(),t("infinite",e)},Ut=(t,e)=>{const n=t.getBoundingClientRect();if(!e)return n.top>=0&&n.bottom<=window.innerHeight;const o=e.getBoundingClientRect();return n.top>=o.top&&n.bottom<=o.bottom},k=t=>{t.parentEl=document.querySelector(t.target)||null;let e=`0px 0px ${t.distance}px 0px`;t.top&&(e=`${t.distance}px 0px 0px 0px`);const n=new IntersectionObserver(o=>{o[0].isIntersecting&&(t.firstload&&t.emit(),t.firstload=!0)},{root:t.parentEl,rootMargin:e});return n.observe(t.infiniteLoading.value),n},Wt={class:"state-error"},Qt={__name:"InfiniteLoading",props:{top:{type:Boolean,required:!1},target:{type:[String,Boolean],required:!1},distance:{type:Number,required:!1,default:0},identifier:{required:!1},firstload:{type:Boolean,required:!1,default:!0},slots:{type:Object,required:!1}},emits:["infinite"],setup(t,{emit:e}){const n=t;let o=null;const r=h(null),s=h("ready"),{top:i,firstload:a,target:u,distance:l}=n,{identifier:f}=dt(n),c={infiniteLoading:r,target:u,top:i,firstload:a,distance:l,prevHeight:0,parentEl:null};c.emit=Kt(e,Ht(s),c);const p=()=>x(s,async g=>{const A=c.parentEl||document.documentElement;await rt(),g=="loaded"&&i&&(A.scrollTop=A.scrollHeight-c.prevHeight),g=="loaded"&&Ut(r.value,c.parentEl)&&c.emit(),g=="complete"&&o.disconnect()}),m=()=>x(f,()=>{s.value="ready",o.disconnect(),o=k(c)});return B(()=>{o=k(c),p(),f&&m()}),ot(()=>{o.disconnect()}),(g,A)=>(w(),_("div",{ref_key:"infiniteLoading",ref:r},[s.value=="loading"?I(g.$slots,"spinner",{key:0},()=>[b(Lt)],!0):R("v-if",!0),s.value=="complete"?I(g.$slots,"complete",{key:1},()=>{var v;return[d("span",null,S(((v=t.slots)==null?void 0:v.complete)||"No more results!"),1)]},!0):R("v-if",!0),s.value=="error"?I(g.$slots,"error",{key:2,retry:c.emit},()=>{var v;return[d("span",Wt,[d("span",null,S(((v=t.slots)==null?void 0:v.error)||"Oops something went wrong!"),1),d("button",{class:"retry",onClick:A[0]||(A[0]=(...E)=>c.emit&&c.emit(...E))}," retry ")])]},!0):R("v-if",!0)],512))}},Yt=it(Qt,[["__scopeId","data-v-9d82030b"],["__file","/home/oumoussa/side-projects/infinite/src/components/InfiniteLoading.vue"]]);function Gt(t){return pt()?(ht(t),!0):!1}const st=typeof window<"u";function Vt(t,e){function n(...o){t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})}return n}function Zt(t,e={}){let n,o;return s=>{const i=y(t),a=y(e.maxWait);if(n&&clearTimeout(n),i<=0||a!==void 0&&a<=0)return o&&(clearTimeout(o),o=null),s();a&&!o&&(o=setTimeout(()=>{n&&clearTimeout(n),o=null,s()},a)),n=setTimeout(()=>{o&&clearTimeout(o),o=null,s()},i)}}function qt(t,e=200,n={}){return Vt(Zt(e,n),t)}function Xt(t){var e;const n=y(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Jt=st?window:void 0,L=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},H="__vueuse_ssr_handlers__";L[H]=L[H]||{};var K=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ee=(t,e)=>{var n={};for(var o in t)$t.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&K)for(var o of K(t))e.indexOf(o)<0&&te.call(t,o)&&(n[o]=t[o]);return n};function ne(t,e,n={}){const o=n,{window:r=Jt}=o,s=ee(o,["window"]);let i;const a=r&&"ResizeObserver"in r,u=()=>{i&&(i.disconnect(),i=void 0)},l=x(()=>Xt(t),c=>{u(),a&&r&&c&&(i=new ResizeObserver(e),i.observe(c,s))},{immediate:!0,flush:"post"}),f=()=>{u(),l()};return Gt(f),{isSupported:a,stop:f}}var U,W;st&&(window!=null&&window.navigator)&&((U=window==null?void 0:window.navigator)!=null&&U.platform)&&/iP(ad|hone|od)/.test((W=window==null?void 0:window.navigator)==null?void 0:W.platform);const oe=({breakpoints:t,wrapperWidth:e,gutter:n,hasAroundGutter:o,initWidth:r})=>{const s=Object.keys(t).map(l=>Number(l)).sort((l,f)=>l-f);let i=e,a=!1;for(const l of s)if(e<=l){i=l,a=!0;break}if(!a)return r;const u=t[i].rowPerView;return o?(e-n)/u-n:(e-(u-1)*n)/u};function re(t){const e=h(0),n=h(null);ne(n,i=>{const a=i[0],{width:u}=a.contentRect;e.value=u});const o=N(()=>oe({wrapperWidth:e.value,breakpoints:t.breakpoints,gutter:t.gutter,hasAroundGutter:t.hasAroundGutter,initWidth:t.width})),r=N(()=>{const i=t.hasAroundGutter?-t.gutter:t.gutter;return Math.floor((e.value+i)/(o.value+t.gutter))}),s=N(()=>{const i=t.hasAroundGutter?t.gutter:-t.gutter,a=r.value*(o.value+t.gutter)+i;return(e.value-a)/2});return{waterfallWrapper:n,wrapperWidth:e,colWidth:o,cols:r,offsetX:s}}function at(t,e){return new RegExp(`(^|\\s)${e}(\\s|$)`).test(t.className)}function Q(t,e){if(at(t,e))return;const n=t.className.split(/\s+/);n.push(e),t.className=n.join(" ")}const ie=document.createElement("div").style,C=(()=>{const t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(const e in t){const n=t[e];if(ie[n]!==void 0)return e}return!1})();function O(t){return C===!1?!1:C==="standard"?t:C+t.charAt(0).toUpperCase()+t.substr(1)}const Y=O("transform"),G=O("animation-duration"),V=O("animation-delay"),Z=O("transition"),q=O("animation-fill-mode");function se(t,e,n,o,r){const s=h([]),i=h(0),a=c=>{const p=t.hasAroundGutter?c+1:c;return t.gutter*p+e.value*c+o.value},u=()=>{s.value=new Array(n.value).fill(t.hasAroundGutter?t.gutter:0)},l=ae(t);return{wrapperHeight:i,layoutHandle:async()=>{u();const c=[];if(r&&r.value&&r.value.childNodes.forEach(p=>{p.className==="waterfall-item"&&c.push(p)}),c.length===0)return!1;for(let p=0;p{Z&&(E[Z]="transform .3s")})}i.value=Math.max.apply(null,s.value)}}}function ae(t){return(e,n)=>{const o=e.firstChild;if(o&&!at(o,t.animationPrefix)){const r=`${t.animationDuration/1e3}s`,s=`${t.animationDelay/1e3}s`,i=o.style;i.visibility="visible",G&&(i[G]=r),V&&(i[V]=s),q&&(i[q]="both"),Q(o,t.animationPrefix),Q(o,t.animationEffect),n&&setTimeout(()=>{n()},t.animationDuration+t.animationDelay)}}}const le=typeof window<"u"&&window!==null,X=de(),ce=Object.prototype.propertyIsEnumerable,J=Object.getOwnPropertySymbols;function ue(t,...e){return e.map(o=>o.replace(/\[(\w+)\]/g,".$1").split(".").reduce((r,s)=>r&&r[s],t))}function de(){return le&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function z(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function fe(t){return typeof t=="object"?t===null:typeof t!="function"}function me(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function ge(t,...e){if(!z(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof J!="function")return t;for(const n of e){const o=J(n);for(const r of o)ce.call(n,r)&&(t[r]=n[r])}return t}function lt(t,...e){let n=0;for(fe(t)&&(t=e[n++]),t||(t={});n{const r=new Image;r.onload=()=>{n(r)},r.onerror=()=>{o(new Error("Image load error"))},e&&(r.crossOrigin="Anonymous"),r.src=t})}const pe={rootMargin:"0px",threshold:0},tt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",he="";class Ae{constructor(e=!0,n,o=!0){this.lazyActive=!0,this.crossOrigin=!0,this.options={loading:tt,error:he,observerOptions:pe,log:!0},this._images=new WeakMap,this.lazyActive=e,this.crossOrigin=o,this.config(n)}config(e={}){lt(this.options,e)}mount(e,n,o){const{src:r,loading:s,error:i}=this._valueFormatter(n);e.setAttribute("lazy","loading"),e.setAttribute("src",s||tt),this.lazyActive?(X||(this._setImageSrc(e,r,o,i),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,r,o,i)):this._setImageSrc(e,r,o,i)}resize(e,n){const o=e.getAttribute("lazy"),r=e.getAttribute("src");o&&o==="loaded"&&r&&$(r,this.crossOrigin).then(s=>{const{width:i,height:a}=s,u=e.width/i*a;e.height=u;const l=e.style;l.height=`${u}px`,n()})}unmount(e){const n=this._realObserver(e);n&&n.unobserve(e),this._images.delete(e)}_setImageSrc(e,n,o,r){!n||e.getAttribute("src")===n||$(n,this.crossOrigin).then(i=>{const{width:a,height:u}=i,l=u/a,f=e.parentNode.parentNode;f.style.paddingBottom=`${l*100}%`,e.setAttribute("lazy","loaded"),e.removeAttribute("src"),e.setAttribute("src",n),o()}).catch(()=>{const i=this._realObserver(e);i&&i.disconnect(),r&&(e.setAttribute("lazy","error"),e.setAttribute("src",r)),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${n} `)}),o()})}_isOpenLazy(){return X&&this.lazyActive}_initIntersectionObserver(e,n,o,r){const s=this.options.observerOptions;this._images.set(e,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,u=>{if(u.isIntersecting){const l=this._realObserver(e);l&&l.unobserve(u.target),this._setImageSrc(e,n,o,r)}})},s));const i=this._realObserver(e);i&&i.observe(e)}_valueFormatter(e){let n=e,o=this.options.loading,r=this.options.error;return z(e)&&(n=e.src,o=e.loading||this.options.loading,r=e.error||this.options.error),{src:n,loading:o,error:r}}_log(e){this.options.log&&e()}_realObserver(e){return this._images.get(e)}}var ct=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n};const M=D({props:{list:{type:Array,default:()=>[]},rowKey:{type:String,default:"id"},imgSelector:{type:String,default:"src"},width:{type:Number,default:200},breakpoints:{type:Object,default:()=>({1200:{rowPerView:3},800:{rowPerView:2},500:{rowPerView:1}})},gutter:{type:Number,default:10},hasAroundGutter:{type:Boolean,default:!0},animationPrefix:{type:String,default:"animate__animated"},animationEffect:{type:String,default:"fadeIn"},animationDuration:{type:Number,default:1e3},animationDelay:{type:Number,default:300},backgroundColor:{type:String,default:"#fff"},lazyload:{type:Boolean,default:!0},loadProps:{type:Object,default:()=>{}},crossOrigin:{type:Boolean,default:!0},delay:{type:Number,default:300}},setup(t){const e=new Ae(t.lazyload,t.loadProps,t.crossOrigin);F("lazy",e);const{waterfallWrapper:n,wrapperWidth:o,colWidth:r,cols:s,offsetX:i}=re(t),{wrapperHeight:a,layoutHandle:u}=se(t,r,s,i,n),l=qt(()=>{u()},t.delay);x(()=>[o,r,t.list],()=>{l()},{deep:!0});const f=h(0);return F("sizeChangeTime",f),F("imgLoaded",l),{waterfallWrapper:n,wrapperHeight:a,getRenderURL:m=>ue(m,t.imgSelector)[0],getKey:(m,g)=>m[t.rowKey]||g}}}),et=()=>{gt(t=>({e0bdcc92:t.backgroundColor}))},nt=M.setup;M.setup=nt?(t,e)=>(et(),nt(t,e)):et;const ve=M,ye={class:"waterfall-card"};function we(t,e,n,o,r,s){return w(),_("div",{ref:"waterfallWrapper",class:"waterfall-list",style:yt({height:`${t.wrapperHeight}px`})},[(w(!0),_(At,null,vt(t.list,(i,a)=>(w(),_("div",{key:t.getKey(i,a),class:"waterfall-item"},[d("div",ye,[I(t.$slots,"item",{item:i,index:a,url:t.getRenderURL(i)},void 0,!0)])]))),128))],4)}var be=ct(ve,[["render",we],["__scopeId","data-v-585fbbe9"]]);const _e=D({props:{url:{type:String,default:""}},setup(t){const e=P("imgLoaded"),n=P("lazy"),o=h(null);B(()=>{r()}),ot(()=>{s()});function r(){o.value&&n.mount(o.value,t.url,()=>{e()})}function s(){o.value&&n.unmount(o.value)}return{lazyRef:o}}}),Ee={class:"lazy__box"},ze={class:"lazy__resource"},Oe={ref:"lazyRef",class:"lazy__img"};function Ie(t,e,n,o,r,s){return w(),_("div",Ee,[d("div",ze,[d("img",Oe,null,512)])])}var Se=ct(_e,[["render",Ie],["__scopeId","data-v-5a384790"]]);const xe=["onClick"],Re={class:"overflow-hidden"},Fe={class:"px-4 pt-2 pb-4 border-t border-t-gray-800"},Ne={class:"pb-4 text-gray-50 group-hover:text-yellow-300"},je={class:"pt-3 flex justify-between items-center border-t border-t-gray-600 border-opacity-50"},Ce={class:"text-gray-50"},Be=["onClick"],Pe=D({__name:"index",setup(t){const e=wt({rowKey:"id",gutter:10,hasAroundGutter:!0,width:320,breakpoints:{1200:{rowPerView:4},800:{rowPerView:3},500:{rowPerView:2}},animationEffect:"animate__zoomInUp",animationDuration:1e3,animationDelay:300,imgSelector:"src.original",loadProps:{loading:Ct,error:jt},lazyload:!0}),n=h(1),o=h([]),r=h(),s=h();function i(){s.value=_t.service({target:".content",background:"transparent",text:"加载中"}),Nt({page:n.value,pageSize:r.value}).then(l=>{setTimeout(()=>{o.value.push(...l),n.value+=1,rt(()=>{s.value.close()})},500)})}function a(l,f){o.value.splice(f,1)}function u(l){}return B(()=>{i()}),(l,f)=>{const c=T("el-backtop"),p=T("el-scrollbar");return w(),bt(p,{height:"87vh",class:"content"},{default:j(()=>[b(y(be),zt({list:o.value},e),{item:j(({item:m,url:g,index:A})=>[d("div",{class:"bg-gray-900 rounded-lg shadow-md overflow-hidden transition-all duration-300 ease-linear hover:shadow-lg hover:shadow-gray-600 group",onClick:v=>void 0},[d("div",Re,[b(y(Se),{url:g,class:"cursor-pointer transition-all duration-300 ease-linear group-hover:scale-105"},null,8,["url"])]),d("div",Fe,[d("h4",Ne,S(m.name),1),d("div",je,[d("div",Ce,"$ "+S(m.price),1),d("div",null,[d("button",{class:"px-3 h-7 rounded-full bg-red-500 text-sm text-white shadow-lg transition-all duration-300 hover:bg-red-600",onClick:Et(v=>a(m,A),["stop"])}," 删除 ",8,Be)])])])],8,xe)]),_:1},16,["list"]),b(c,{title:"回到顶部",right:35,"visibility-height":400,target:".content .el-scrollbar__wrap"},{default:j(()=>[b(y(Ot))]),_:1}),b(y(Yt),{firstload:!1,onInfinite:i})]),_:1})}}});export{Pe as default}; +import{r as h,ab as dt,k as B,ac as ot,o as w,i as _,ad as I,h as b,j as R,e as d,t as S,E as x,n as rt,s as ft,v as mt,d as D,W as F,ae as gt,D as N,af as pt,ag as ht,u as y,F as At,q as vt,G as yt,ah as P,ai as wt,a as T,c as bt,w as j,aj as _t,ak as Et,al as zt}from"./index-42b0cfe4.js";import{b as Ot}from"./back_top-58cf79de.js";function It(t=6){return Number(Math.random().toString().substr(3,t)+Date.now()).toString(36)}const St=["#409EFF","#67C23A","#E6A23C","#F56C6C","#909399"];function xt(t,e){return Math.floor(Math.random()*(e-t+1))+t}function Rt(){return St[xt(0,4)]}const Ft="https://www.getphotoblanket.com",Nt=({page:t=1,pageSize:e=20})=>{const n=`${Ft}/products.json?page=${t}&limit=${e}`;return fetch(n).then(o=>o.json()).then(o=>o.products).then(o=>o.map(r=>({id:It(),star:!1,price:r.variants[0].price,src:{original:r.images[0].src},backgroundColor:Rt(),name:r.title})))},jt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABbFJREFUaEPtWV1sFFUUPufOLmjpD7G0nXtm11igD0Q0CpqImsiDEcGoIVEReeBBNGgkEQSjwUR4MQZ/MBr/MeFFFIkxYAR9MGr84cFijBJ9UFPD7r3TqtWWLsVuO3PM3ew20+3uzizTxpDsTSa7e+ec75zvnPtz7l2E87zhee4/NAj83xlsZKCRgZgRaAyhmAGMrV4zA5lM5sJEItGcz+dbhBDN5gGAZkRsQcTCd/Mwc0vpu+k3v5l5yHGcDUEPtdY7AeAsIp4t/5yYmCj0myefz//LzGfNY/p7enrGqjGtSEAp9ZgQYgsz07mGiJk3OY7zVklfKbULEZ88FzxE1L7vv+Q4ztPl+tMIZLPZFUKIb87FUFBHCLHQtu2+Up/WmuNi+r5/bSqVOh7EmUZAa70VAJ6PYwwRJ6SUyRKG67odzPxHHMyi7jYi2luTgOu6O5h5T1xjiLhDSvlsIAOfAcDKOLiI+KiU8pmwDGwGgFfjGCrqDhLRgkAWHmTml2PiPkBEr4URuAcA3o5pqKR+PxG9aX7M0DDaQEQHahJQSt2KiEdmiMA7RGQCUmha61jDiJlvcxznw7A5cAMzfz4TBHzfvzGVSn1qsDKZzErLsgyBac0skwBwwvf9HCKuBoD5VeRWSim/CMvAMkQ8MQME+ohoYZToE9HkapjNZq9AxFcQcUW5D8y83HGc72oSyGQyiy3L+qUeAsx8yMgj4p0BvZ1E9FRY9Jl5t+M4u4L2tNaPA0BBN9g8z+tJp9O/1iTQ39/f6fv+QB0ExoQQS4aGhv5qa2s7zsyXGl0hRJdt24W1P2TsbyWiF4L2lFL3IuK+ch+CmKV30zYyU/9YljVaB4EDRFSoeUrj3CwCUsrbw6JftPE9EV1ZloFhAGitkIGmdDpt6qjJVrEWcl03z8yTO2kImTuI6P2STDabfUQIsYqIbjJ91aJZhjkCANuZeSkArEbExeU2EXFcSjlnWn8l55RSg4h4UVgWELHPtu1FiDilzlFKmaxsNEa11ksA4KcwrLD3zPy34zjtkQhorU0RdkkYqJloRGRK5ClNKXUxIposFDax8kIOEfczcxsArI1goyTyOxF1RyKglPoBES+LAH4VEVVccrXWa4nogyKBXgBYXnR8DxH9XOz/EgCuj2AHmPlHx3Euj0RAa/0VAFwXAvw1EdU03tfXN7+7u3tIa73X87zD6XR6ygaZzWavEUJMKY9r2Kxor9okPsrMZkes1TYT0etRoldLxnXdF5l5SxgOIh6TUq6JlAGl1EFEvKsWqO/7C1Kp1GCY4bD3zDzHdd2TANBTS5aZ33McZ10kAlprM/k2VQNExENSypoEwxwPvndddyMz7w/R2UdE90UlYE5k5mRWsVWqCutxuJKs1tqUyetr4Owlom2RCLiuu4uZqx3A/yGi0D2iXkKnTp1amkgkTKVZERsRd0spp9RMxkbFSVzcTSePg2XOFNbjwcFBs9W35vP5Vs/z2oQQrYjY6vt+4dOs86ZI01o/AQA5Zs5ZljUyMTGRE0KMmN/JZHJkdHQ019TUNNLZ2ZmrVTP5vr89lUo9FykDWmsz1t6oN4pBeSHE+vHx8cN11lW1TE6e7oJCFTPQ39+/zvf9d+MQYOZlxc2rsBvHbUKIu23bPhgpA67rrmHmj2IY/bNYihiMWDcRJR8Q8RYp5dFIBAYGBhZ5njfl4FAvGSnlBUqph4QQ1eZSXZCWZS3u6ur6LRIBI6S1/hgAVkW0wsx8GhFPA8AIIuYA4OTw8PDDLS0txxBxXukutXiPOi8ibknsEyK6uZJO1ctds8qMjY2Zc+nVAFBwzjjJzCOJRCKXz+fPJJNJ46h5zti2fSaqU729vcmOjo5my7LmBS6MDSlzcdzseV7w8vjbuXPnHm9vbzfBmdYa/w9EjfpsyTUyMFuRjYrbyEDUSM2WXCMDsxXZqLjnfQb+A8eWU0/QfZYsAAAAAElFTkSuQmCC",Ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABNBJREFUaEPtmV1oXEUUx//n3g1JRGqL9k1RsFq/6IMgSky8c2YTQyONiojWYumTQrWKSNH6oO1TS1EQFcTiQwsaK4qIbVdod+/M3Y0IteJDwVr1oVYFEfFFwUY2c2TCbrhZNptNduvuQgf2Ze85M+c359w5Z84l9PigHrcflwCqHrTWsoiUmLn8f3q1bR4wxggRlZxz00EQlCowf19smLYAxHF8NxFNA/gUgAKwGsApD5GC+eNiwLQL4GUi2gNgDIA31ENEKZhzIvK5h5mZmZkeHx//uV0wbQEwxpQADDPzgvny+fyNYRhO1MB42w9674RhWIqi6IdWYFoGMMbcBuA0ER1RSk3GcbyViB4HcBTAMWb+0RtYKpXWlMvlSSKaFBFdCTP/yIrIRxWY08uFaQfAswAeAPAaMx81xhwmojVpQ0TkSxH5QGt9tvp/kiQTzrlJAOsroeYfnXPOHQrD8JhS6qtmYFoGaGaRRjKFQuF6IhononsB+N9gSv4ggENKqYSIpN48cwCFQmF3EARPt2rMcvWZ+ao4ju/TWh+r6hpjRkVkYwXIh+d8qvEw/f39Hw4NDf1T/TMN8AqA/HKNWKk8EWmlVFjZvG0iUiSiIjO/W52zWCyuLZfLm4hoE4DxlHfmQi2bze6uBbih+tKt1LBm9Ky17wN4NAXgN29uiMi/HsS/2FrrA+n5isXi7bOzsx5mdyaTWT8yMvJ9XQC/K80YshIZv2uNAOrM+bWIHKjCWGuPi8g9zDzgZesC+LJgJcYtpeOc27MCAD/taWbeYIy5i4gKzjnvnW29BLCLmfcZY54H8GoQBONRFB3vGYByuXzt2NjYeWPMJwAeTGf8rg8hIvpTKXVlHMe3AogBnNFa+1prbnQ9gIi8rbXeHsfxE0T0DhE9qZSaP526HgDACDNPW2sPicjWvr6+VcPDw3/1jAd8vJ84ceKKTCbjj1NordelT7tu98BRZt5krd0sIlNEtFcp9VLPAIjIFq31lDHmLQBPBUGwIYqiBSV3xz1gjPFlRN3MXz0ujTHf+LKbmS+rTZZdC0BEJ5VSdxYKBR0EQYGIppRSW3oGAEA1++4F8KK/ySmljvQMQDX7Wmt9ZeqP0rqXr24NoZ+Y+TpjzDoiOuvvCszM9YrFbgV4nZmfi+N4JxHtJ6JnlFJv9hLAXPY1xuQAbASwlpnrNsY67oHKlXL+RgbgAjMP5nK5/oGBgd+DIPhNKeU7F3VHxwFq80Cl/fKYMeYRAIdFZL/W+oWeAQDwMDN/7PtLADzEHcx8qmcAUtn3FxFZrbW+vNFVteMhFMexj+/7faKqxP9okiRDzrkvALzHzL5NuejoOEDasiRJJqMo+sxau19EdgZB8FAURf4auTyARgrteJZuq9SbzxhzBsBNi2XfJcvpdhjZaI5GAEmSXOOcO09EsVIqu5QtHe/M1Rpord0hIm8A2MHM/h7QcHQjQMF/P3DOXZ3NZn/teoBKJr4AYLpSPviu4HfMfPNSxvvnCzzgnNvejFKrMmEYDi/S3LWVjx37mHlXM+vUhlAzOm2RISLnu9N+slwut2pwcHCCiCZExH+5mchmsyebWWgOwBgz3+lqRqldMszsd3zByOfzt4yOjn7b7Bod/8TUrKGLyV0CaHUHW9X/D9N93V6azvezAAAAAElFTkSuQmCC";const it=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n},Bt={},Dt=t=>(ft("data-v-259be2b2"),t=t(),mt(),t),Mt={class:"container"},Pt=Dt(()=>d("div",{class:"spinner"},null,-1)),Tt=[Pt];function kt(t,e){return w(),_("div",Mt,Tt)}const Lt=it(Bt,[["render",kt],["__scopeId","data-v-259be2b2"],["__file","/home/oumoussa/side-projects/infinite/src/components/Spinner.vue"]]),Ht=t=>({loading(){t.value="loading"},loaded(){t.value="loaded"},complete(){t.value="complete"},error(){t.value="error"}}),Kt=(t,e,n)=>()=>{const o=n.parentEl||document.documentElement;n.prevHeight=o.scrollHeight,e.loading(),t("infinite",e)},Ut=(t,e)=>{const n=t.getBoundingClientRect();if(!e)return n.top>=0&&n.bottom<=window.innerHeight;const o=e.getBoundingClientRect();return n.top>=o.top&&n.bottom<=o.bottom},k=t=>{t.parentEl=document.querySelector(t.target)||null;let e=`0px 0px ${t.distance}px 0px`;t.top&&(e=`${t.distance}px 0px 0px 0px`);const n=new IntersectionObserver(o=>{o[0].isIntersecting&&(t.firstload&&t.emit(),t.firstload=!0)},{root:t.parentEl,rootMargin:e});return n.observe(t.infiniteLoading.value),n},Wt={class:"state-error"},Qt={__name:"InfiniteLoading",props:{top:{type:Boolean,required:!1},target:{type:[String,Boolean],required:!1},distance:{type:Number,required:!1,default:0},identifier:{required:!1},firstload:{type:Boolean,required:!1,default:!0},slots:{type:Object,required:!1}},emits:["infinite"],setup(t,{emit:e}){const n=t;let o=null;const r=h(null),s=h("ready"),{top:i,firstload:a,target:u,distance:l}=n,{identifier:f}=dt(n),c={infiniteLoading:r,target:u,top:i,firstload:a,distance:l,prevHeight:0,parentEl:null};c.emit=Kt(e,Ht(s),c);const p=()=>x(s,async g=>{const A=c.parentEl||document.documentElement;await rt(),g=="loaded"&&i&&(A.scrollTop=A.scrollHeight-c.prevHeight),g=="loaded"&&Ut(r.value,c.parentEl)&&c.emit(),g=="complete"&&o.disconnect()}),m=()=>x(f,()=>{s.value="ready",o.disconnect(),o=k(c)});return B(()=>{o=k(c),p(),f&&m()}),ot(()=>{o.disconnect()}),(g,A)=>(w(),_("div",{ref_key:"infiniteLoading",ref:r},[s.value=="loading"?I(g.$slots,"spinner",{key:0},()=>[b(Lt)],!0):R("v-if",!0),s.value=="complete"?I(g.$slots,"complete",{key:1},()=>{var v;return[d("span",null,S(((v=t.slots)==null?void 0:v.complete)||"No more results!"),1)]},!0):R("v-if",!0),s.value=="error"?I(g.$slots,"error",{key:2,retry:c.emit},()=>{var v;return[d("span",Wt,[d("span",null,S(((v=t.slots)==null?void 0:v.error)||"Oops something went wrong!"),1),d("button",{class:"retry",onClick:A[0]||(A[0]=(...E)=>c.emit&&c.emit(...E))}," retry ")])]},!0):R("v-if",!0)],512))}},Yt=it(Qt,[["__scopeId","data-v-9d82030b"],["__file","/home/oumoussa/side-projects/infinite/src/components/InfiniteLoading.vue"]]);function Gt(t){return pt()?(ht(t),!0):!1}const st=typeof window<"u";function Vt(t,e){function n(...o){t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})}return n}function Zt(t,e={}){let n,o;return s=>{const i=y(t),a=y(e.maxWait);if(n&&clearTimeout(n),i<=0||a!==void 0&&a<=0)return o&&(clearTimeout(o),o=null),s();a&&!o&&(o=setTimeout(()=>{n&&clearTimeout(n),o=null,s()},a)),n=setTimeout(()=>{o&&clearTimeout(o),o=null,s()},i)}}function qt(t,e=200,n={}){return Vt(Zt(e,n),t)}function Xt(t){var e;const n=y(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Jt=st?window:void 0,L=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},H="__vueuse_ssr_handlers__";L[H]=L[H]||{};var K=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ee=(t,e)=>{var n={};for(var o in t)$t.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&K)for(var o of K(t))e.indexOf(o)<0&&te.call(t,o)&&(n[o]=t[o]);return n};function ne(t,e,n={}){const o=n,{window:r=Jt}=o,s=ee(o,["window"]);let i;const a=r&&"ResizeObserver"in r,u=()=>{i&&(i.disconnect(),i=void 0)},l=x(()=>Xt(t),c=>{u(),a&&r&&c&&(i=new ResizeObserver(e),i.observe(c,s))},{immediate:!0,flush:"post"}),f=()=>{u(),l()};return Gt(f),{isSupported:a,stop:f}}var U,W;st&&(window!=null&&window.navigator)&&((U=window==null?void 0:window.navigator)!=null&&U.platform)&&/iP(ad|hone|od)/.test((W=window==null?void 0:window.navigator)==null?void 0:W.platform);const oe=({breakpoints:t,wrapperWidth:e,gutter:n,hasAroundGutter:o,initWidth:r})=>{const s=Object.keys(t).map(l=>Number(l)).sort((l,f)=>l-f);let i=e,a=!1;for(const l of s)if(e<=l){i=l,a=!0;break}if(!a)return r;const u=t[i].rowPerView;return o?(e-n)/u-n:(e-(u-1)*n)/u};function re(t){const e=h(0),n=h(null);ne(n,i=>{const a=i[0],{width:u}=a.contentRect;e.value=u});const o=N(()=>oe({wrapperWidth:e.value,breakpoints:t.breakpoints,gutter:t.gutter,hasAroundGutter:t.hasAroundGutter,initWidth:t.width})),r=N(()=>{const i=t.hasAroundGutter?-t.gutter:t.gutter;return Math.floor((e.value+i)/(o.value+t.gutter))}),s=N(()=>{const i=t.hasAroundGutter?t.gutter:-t.gutter,a=r.value*(o.value+t.gutter)+i;return(e.value-a)/2});return{waterfallWrapper:n,wrapperWidth:e,colWidth:o,cols:r,offsetX:s}}function at(t,e){return new RegExp(`(^|\\s)${e}(\\s|$)`).test(t.className)}function Q(t,e){if(at(t,e))return;const n=t.className.split(/\s+/);n.push(e),t.className=n.join(" ")}const ie=document.createElement("div").style,C=(()=>{const t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(const e in t){const n=t[e];if(ie[n]!==void 0)return e}return!1})();function O(t){return C===!1?!1:C==="standard"?t:C+t.charAt(0).toUpperCase()+t.substr(1)}const Y=O("transform"),G=O("animation-duration"),V=O("animation-delay"),Z=O("transition"),q=O("animation-fill-mode");function se(t,e,n,o,r){const s=h([]),i=h(0),a=c=>{const p=t.hasAroundGutter?c+1:c;return t.gutter*p+e.value*c+o.value},u=()=>{s.value=new Array(n.value).fill(t.hasAroundGutter?t.gutter:0)},l=ae(t);return{wrapperHeight:i,layoutHandle:async()=>{u();const c=[];if(r&&r.value&&r.value.childNodes.forEach(p=>{p.className==="waterfall-item"&&c.push(p)}),c.length===0)return!1;for(let p=0;p{Z&&(E[Z]="transform .3s")})}i.value=Math.max.apply(null,s.value)}}}function ae(t){return(e,n)=>{const o=e.firstChild;if(o&&!at(o,t.animationPrefix)){const r=`${t.animationDuration/1e3}s`,s=`${t.animationDelay/1e3}s`,i=o.style;i.visibility="visible",G&&(i[G]=r),V&&(i[V]=s),q&&(i[q]="both"),Q(o,t.animationPrefix),Q(o,t.animationEffect),n&&setTimeout(()=>{n()},t.animationDuration+t.animationDelay)}}}const le=typeof window<"u"&&window!==null,X=de(),ce=Object.prototype.propertyIsEnumerable,J=Object.getOwnPropertySymbols;function ue(t,...e){return e.map(o=>o.replace(/\[(\w+)\]/g,".$1").split(".").reduce((r,s)=>r&&r[s],t))}function de(){return le&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function z(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function fe(t){return typeof t=="object"?t===null:typeof t!="function"}function me(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function ge(t,...e){if(!z(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof J!="function")return t;for(const n of e){const o=J(n);for(const r of o)ce.call(n,r)&&(t[r]=n[r])}return t}function lt(t,...e){let n=0;for(fe(t)&&(t=e[n++]),t||(t={});n{const r=new Image;r.onload=()=>{n(r)},r.onerror=()=>{o(new Error("Image load error"))},e&&(r.crossOrigin="Anonymous"),r.src=t})}const pe={rootMargin:"0px",threshold:0},tt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",he="";class Ae{constructor(e=!0,n,o=!0){this.lazyActive=!0,this.crossOrigin=!0,this.options={loading:tt,error:he,observerOptions:pe,log:!0},this._images=new WeakMap,this.lazyActive=e,this.crossOrigin=o,this.config(n)}config(e={}){lt(this.options,e)}mount(e,n,o){const{src:r,loading:s,error:i}=this._valueFormatter(n);e.setAttribute("lazy","loading"),e.setAttribute("src",s||tt),this.lazyActive?(X||(this._setImageSrc(e,r,o,i),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,r,o,i)):this._setImageSrc(e,r,o,i)}resize(e,n){const o=e.getAttribute("lazy"),r=e.getAttribute("src");o&&o==="loaded"&&r&&$(r,this.crossOrigin).then(s=>{const{width:i,height:a}=s,u=e.width/i*a;e.height=u;const l=e.style;l.height=`${u}px`,n()})}unmount(e){const n=this._realObserver(e);n&&n.unobserve(e),this._images.delete(e)}_setImageSrc(e,n,o,r){!n||e.getAttribute("src")===n||$(n,this.crossOrigin).then(i=>{const{width:a,height:u}=i,l=u/a,f=e.parentNode.parentNode;f.style.paddingBottom=`${l*100}%`,e.setAttribute("lazy","loaded"),e.removeAttribute("src"),e.setAttribute("src",n),o()}).catch(()=>{const i=this._realObserver(e);i&&i.disconnect(),r&&(e.setAttribute("lazy","error"),e.setAttribute("src",r)),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${n} `)}),o()})}_isOpenLazy(){return X&&this.lazyActive}_initIntersectionObserver(e,n,o,r){const s=this.options.observerOptions;this._images.set(e,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,u=>{if(u.isIntersecting){const l=this._realObserver(e);l&&l.unobserve(u.target),this._setImageSrc(e,n,o,r)}})},s));const i=this._realObserver(e);i&&i.observe(e)}_valueFormatter(e){let n=e,o=this.options.loading,r=this.options.error;return z(e)&&(n=e.src,o=e.loading||this.options.loading,r=e.error||this.options.error),{src:n,loading:o,error:r}}_log(e){this.options.log&&e()}_realObserver(e){return this._images.get(e)}}var ct=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n};const M=D({props:{list:{type:Array,default:()=>[]},rowKey:{type:String,default:"id"},imgSelector:{type:String,default:"src"},width:{type:Number,default:200},breakpoints:{type:Object,default:()=>({1200:{rowPerView:3},800:{rowPerView:2},500:{rowPerView:1}})},gutter:{type:Number,default:10},hasAroundGutter:{type:Boolean,default:!0},animationPrefix:{type:String,default:"animate__animated"},animationEffect:{type:String,default:"fadeIn"},animationDuration:{type:Number,default:1e3},animationDelay:{type:Number,default:300},backgroundColor:{type:String,default:"#fff"},lazyload:{type:Boolean,default:!0},loadProps:{type:Object,default:()=>{}},crossOrigin:{type:Boolean,default:!0},delay:{type:Number,default:300}},setup(t){const e=new Ae(t.lazyload,t.loadProps,t.crossOrigin);F("lazy",e);const{waterfallWrapper:n,wrapperWidth:o,colWidth:r,cols:s,offsetX:i}=re(t),{wrapperHeight:a,layoutHandle:u}=se(t,r,s,i,n),l=qt(()=>{u()},t.delay);x(()=>[o,r,t.list],()=>{l()},{deep:!0});const f=h(0);return F("sizeChangeTime",f),F("imgLoaded",l),{waterfallWrapper:n,wrapperHeight:a,getRenderURL:m=>ue(m,t.imgSelector)[0],getKey:(m,g)=>m[t.rowKey]||g}}}),et=()=>{gt(t=>({e0bdcc92:t.backgroundColor}))},nt=M.setup;M.setup=nt?(t,e)=>(et(),nt(t,e)):et;const ve=M,ye={class:"waterfall-card"};function we(t,e,n,o,r,s){return w(),_("div",{ref:"waterfallWrapper",class:"waterfall-list",style:yt({height:`${t.wrapperHeight}px`})},[(w(!0),_(At,null,vt(t.list,(i,a)=>(w(),_("div",{key:t.getKey(i,a),class:"waterfall-item"},[d("div",ye,[I(t.$slots,"item",{item:i,index:a,url:t.getRenderURL(i)},void 0,!0)])]))),128))],4)}var be=ct(ve,[["render",we],["__scopeId","data-v-585fbbe9"]]);const _e=D({props:{url:{type:String,default:""}},setup(t){const e=P("imgLoaded"),n=P("lazy"),o=h(null);B(()=>{r()}),ot(()=>{s()});function r(){o.value&&n.mount(o.value,t.url,()=>{e()})}function s(){o.value&&n.unmount(o.value)}return{lazyRef:o}}}),Ee={class:"lazy__box"},ze={class:"lazy__resource"},Oe={ref:"lazyRef",class:"lazy__img"};function Ie(t,e,n,o,r,s){return w(),_("div",Ee,[d("div",ze,[d("img",Oe,null,512)])])}var Se=ct(_e,[["render",Ie],["__scopeId","data-v-5a384790"]]);const xe=["onClick"],Re={class:"overflow-hidden"},Fe={class:"px-4 pt-2 pb-4 border-t border-t-gray-800"},Ne={class:"pb-4 text-gray-50 group-hover:text-yellow-300"},je={class:"pt-3 flex justify-between items-center border-t border-t-gray-600 border-opacity-50"},Ce={class:"text-gray-50"},Be=["onClick"],Pe=D({__name:"index",setup(t){const e=wt({rowKey:"id",gutter:10,hasAroundGutter:!0,width:320,breakpoints:{1200:{rowPerView:4},800:{rowPerView:3},500:{rowPerView:2}},animationEffect:"animate__zoomInUp",animationDuration:1e3,animationDelay:300,imgSelector:"src.original",loadProps:{loading:Ct,error:jt},lazyload:!0}),n=h(1),o=h([]),r=h(),s=h();function i(){s.value=_t.service({target:".content",background:"transparent",text:"加载中"}),Nt({page:n.value,pageSize:r.value}).then(l=>{setTimeout(()=>{o.value.push(...l),n.value+=1,rt(()=>{s.value.close()})},500)})}function a(l,f){o.value.splice(f,1)}function u(l){}return B(()=>{i()}),(l,f)=>{const c=T("el-backtop"),p=T("el-scrollbar");return w(),bt(p,{height:"87vh",class:"content"},{default:j(()=>[b(y(be),zt({list:o.value},e),{item:j(({item:m,url:g,index:A})=>[d("div",{class:"bg-gray-900 rounded-lg shadow-md overflow-hidden transition-all duration-300 ease-linear hover:shadow-lg hover:shadow-gray-600 group",onClick:v=>void 0},[d("div",Re,[b(y(Se),{url:g,class:"cursor-pointer transition-all duration-300 ease-linear group-hover:scale-105"},null,8,["url"])]),d("div",Fe,[d("h4",Ne,S(m.name),1),d("div",je,[d("div",Ce,"$ "+S(m.price),1),d("div",null,[d("button",{class:"px-3 h-7 rounded-full bg-red-500 text-sm text-white shadow-lg transition-all duration-300 hover:bg-red-600",onClick:Et(v=>a(m,A),["stop"])}," 删除 ",8,Be)])])])],8,xe)]),_:1},16,["list"]),b(c,{title:"回到顶部",right:35,"visibility-height":400,target:".content .el-scrollbar__wrap"},{default:j(()=>[b(y(Ot))]),_:1}),b(y(Yt),{firstload:!1,onInfinite:i})]),_:1})}}});export{Pe as default}; diff --git a/dist/static/js/index-449e60c5.js b/dist/static/js/index-449e60c5.js deleted file mode 100644 index 2462dfa38..000000000 --- a/dist/static/js/index-449e60c5.js +++ /dev/null @@ -1,2 +0,0 @@ -import{list as h}from"./list-9060fb6b.js";import{d as x,r as y,a as t,c as r,w as e,o as a,e as p,f as i,h as n,i as v,q as C,t as g,T,j as w,u as B,F as N,_ as V}from"./index-ceadd577.js";import"./base.vue_vue_type_script_setup_true_lang-c0453f4f.js";import"./data-ce9440dd.js";import"./stripe.vue_vue_type_script_setup_true_lang-80337a01.js";import"./border.vue_vue_type_script_setup_true_lang-13c02543.js";import"./status.vue_vue_type_style_index_0_lang-6a3855f3.js";import"./fixHeader.vue_vue_type_script_setup_true_lang-734051fe.js";import"./fixColumn.vue_vue_type_script_setup_true_lang-6a4ee5a0.js";import"./fluidHeight.vue_vue_type_script_setup_true_lang-d5a9d460.js";import"./groupHeader.vue_vue_type_script_setup_true_lang-c59afcb1.js";import"./radio.vue_vue_type_script_setup_true_lang-2664c557.js";import"./multipleChoice.vue_vue_type_script_setup_true_lang-29b608cd.js";import"./sortable.vue_vue_type_script_setup_true_lang-7f949bf2.js";import"./filters.vue_vue_type_script_setup_true_lang-2cee2599.js";import"./index.vue_vue_type_script_setup_true_lang-56274f1f.js";import"./columns-1b794032.js";import"./index.vue_vue_type_script_setup_true_lang-71f20b48.js";import"./columns-2bdec4e7.js";import"./expand.vue_vue_type_script_setup_true_lang-da2cd8c1.js";import"./tree.vue_vue_type_script_setup_true_lang-36370dff.js";import"./totalRow.vue_vue_type_script_setup_true_lang-551b34da.js";import"./merge.vue_vue_type_script_setup_true_lang-22a85f07.js";import"./customIndex.vue_vue_type_script_setup_true_lang-bc9f9f96.js";import"./layout.vue_vue_type_script_setup_true_lang-dec8a425.js";import"./nestProp.vue_vue_type_script_setup_true_lang-f8affc62.js";import"./imgPreview.vue_vue_type_script_setup_true_lang-64106ef8.js";const z={class:"card-header"},D={class:"font-medium"},F=x({name:"PureTable",__name:"index",setup(S){const l=y(0);function m({index:s}){l.value=s}return(s,$)=>{const _=t("el-link"),d=t("el-alert"),u=t("el-tooltip"),f=t("el-tab-pane"),b=t("el-tabs"),k=t("el-card");return a(),r(k,{shadow:"never"},{header:e(()=>[p("div",z,[p("span",D,[i(" 平台二次封装 element-plus 的 Table ,完全兼容 Api 并提供灵活的配置项以及完善的类型提醒,再也不用将代码都写在 template 里了,欢迎 Star "),n(_,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:e(()=>[i(" @pureadmin/table ")]),_:1})])])]),default:e(()=>[n(d,{title:`基础用法中大部分表格都没设置 row-key ,不过最好都设置一下,后端需返回唯一值的字段,比如id 作用:1. 用来优化 Table - 的渲染,尤其当字段在深层结构中;2. 防止某些操作导致表格组件内部混乱`,type:"info",closable:!1}),n(b,{onTabClick:m},{default:e(()=>[(a(!0),v(N,null,C(B(h),(o,c)=>(a(),r(f,{key:o.key,lazy:!0},{label:e(()=>[n(u,{content:`(第 ${c+1} 个示例)${o.content}`,placement:"top-end"},{default:e(()=>[p("span",null,g(o.title),1)]),_:2},1032,["content"])]),default:e(()=>[l.value==c?(a(),r(T(o.component),{key:0})):w("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}});const le=V(F,[["__scopeId","data-v-6ccac02e"]]);export{le as default}; diff --git a/dist/static/js/index-49508c44.js b/dist/static/js/index-44e4b79c.js similarity index 96% rename from dist/static/js/index-49508c44.js rename to dist/static/js/index-44e4b79c.js index 6e9e62184..19bfc9a58 100644 --- a/dist/static/js/index-49508c44.js +++ b/dist/static/js/index-44e4b79c.js @@ -1 +1 @@ -import{d as A,D as B,ao as F,n as D,h as a,u as K,F as p,aV as N,aW as c,aX as d,aa as j,U as G,r as L,a as Q,i as C,q as T,o as V,c as U,w as R,e as I,t as M,j as W,_ as X}from"./index-ceadd577.js";const i="stay",h="hs-on",f="hs-off",_="hs-range",g="both-left-sides",S="both-right-sides";let H="right",b=[],s=[];const Z={HsKey:{type:Number||String,default:0},disabled:{type:Boolean,default:!1},value:{type:Number,default:0},max:{type:Array,default(){return[1,2,3,4,5,6,7,8,9,10]}},echo:{type:Array,default(){return[]}}},z=A({name:"ReSelector",props:Z,emits:["selectedVal"],setup(l,{emit:m}){const o=j(),y=l.value,v=B(()=>l.disabled),q=B(()=>{const e=[];let t=0,n=y;for(y!==Math.floor(y)&&n--;t{if(!l.disabled){if(s.length===1){b.length<1&&b.push({index:e});let t=b[0].index;if(e>t)for(H="right",N(!1,S,document.querySelector(".hs-select__item"+s[0].index));e>=t;)c(document.querySelector(".hs-select__item"+t),_),t++;else for(H="left",N(!0,S,document.querySelector(".hs-select__item"+s[0].index));e<=t;)c(document.querySelector(".hs-select__item"+t),_),t--}c(document.querySelector("."+f+e),h)}},u=e=>{if(l.disabled)return;const t=document.querySelector("."+f+e);if(t.className.includes(i))return!1;if(d(t,h),s.length===1){const n=b[0].index;if(e>=n)for(let r=0;r<=e;r++)d(document.querySelector(".hs-select__item"+r),_);else for(;e<=n;)d(document.querySelector(".hs-select__item"+e),_),e++}},x=(e,t)=>{if(l.disabled)return;const n=s.length;n<2?(s.push({item:t,index:e}),c(document.querySelector("."+f+e),i),c(document.querySelector(".hs-select__item"+s[0].index),g),s[1]&&(H==="right"?c(document.querySelector(".hs-select__item"+s[1].index),S):c(document.querySelector(".hs-select__item"+s[1].index),g)),n===1&&(H==="right"?m("selectedVal",{left:s[0].item,right:s[1].item,whole:s}):m("selectedVal",{left:s[1].item,right:s[0].item,whole:s}))):D(()=>{s.forEach(r=>{d(document.querySelector("."+f+r.index),h,i),d(document.querySelector(".hs-select__item"+r.index),g,S)}),s=[],b=[];for(let r=0;r<=l.max.length;r++){const $=document.querySelector(".hs-select__item"+r);$&&d($,_)}s.push({item:t,index:e}),c(document.querySelector("."+f+e),i),c(document.querySelector(".hs-select__item"+s[0].index),g)})},E=e=>{if(e.length!==0){if(e.length>2||e.length===1)throw"传入的数组长度必须是2";for(e.sort((t,n)=>t-n),c(o.refs["hsdiv"+l.HsKey+e[0]],h,i),c(o.refs["hstd"+l.HsKey+e[0]],g),c(o.refs["hsdiv"+l.HsKey+e[1]],h,i),c(o.refs["hstd"+l.HsKey+e[1]],S);e[1]>=e[0];)c(o.refs["hstd"+l.HsKey+e[0]],_),e[0]++}};return F(()=>{D(()=>{E(l.echo)})}),()=>a(p,null,[a("table",{cellspacing:"0",cellpadding:"0"},[a("tbody",null,[a("tr",null,[l.max.map((e,t)=>a("td",{"data-index":l.HsKey,ref:`hstd${l.HsKey}${t}`,class:`hs-select__item${t}`,onMousemove:()=>w(t),onMouseleave:()=>u(t),onClick:()=>x(t,e),style:{cursor:K(v)?"auto":"pointer",textAlign:"center"},key:t},[a("div",{ref:`hsdiv${l.HsKey}${t}`,class:`hs-item ${[K(q)[t]+t]}`},[a("span",null,[e])])]))])])])])}}),J=G(z),O={class:"card-header"},P={key:0,class:"mt-3"},Y=A({name:"Selector",__name:"index",setup(l){const m=L(""),o=L([{title:"基本使用",echo:[],disabled:!1},{title:"回显模式",echo:[2,7],disabled:!0}]),y=({left:v,right:q})=>{m.value=`${v}-${q}`};return(v,q)=>{const w=Q("el-card");return V(),C("div",null,[(V(!0),C(p,null,T(o.value,(u,x)=>(V(),U(w,{class:"box-card",key:x,shadow:"never"},{header:R(()=>[I("div",O,[I("span",null,M(u.title),1)])]),default:R(()=>[a(K(J),{HsKey:x,echo:u.echo,onSelectedVal:y,disabled:u.disabled},null,8,["HsKey","echo","disabled"]),u.disabled?W("",!0):(V(),C("h4",P,"选中范围:"+M(m.value),1))]),_:2},1024))),128))])}}});const ee=X(Y,[["__scopeId","data-v-2c78a51a"]]);export{ee as default}; +import{d as A,D as B,ao as F,n as D,h as a,u as K,F as p,aV as N,aW as c,aX as d,aa as j,U as G,r as L,a as Q,i as C,q as T,o as V,c as U,w as R,e as I,t as M,j as W,_ as X}from"./index-42b0cfe4.js";const i="stay",h="hs-on",f="hs-off",_="hs-range",g="both-left-sides",S="both-right-sides";let H="right",b=[],s=[];const Z={HsKey:{type:Number||String,default:0},disabled:{type:Boolean,default:!1},value:{type:Number,default:0},max:{type:Array,default(){return[1,2,3,4,5,6,7,8,9,10]}},echo:{type:Array,default(){return[]}}},z=A({name:"ReSelector",props:Z,emits:["selectedVal"],setup(l,{emit:m}){const o=j(),y=l.value,v=B(()=>l.disabled),q=B(()=>{const e=[];let t=0,n=y;for(y!==Math.floor(y)&&n--;t{if(!l.disabled){if(s.length===1){b.length<1&&b.push({index:e});let t=b[0].index;if(e>t)for(H="right",N(!1,S,document.querySelector(".hs-select__item"+s[0].index));e>=t;)c(document.querySelector(".hs-select__item"+t),_),t++;else for(H="left",N(!0,S,document.querySelector(".hs-select__item"+s[0].index));e<=t;)c(document.querySelector(".hs-select__item"+t),_),t--}c(document.querySelector("."+f+e),h)}},u=e=>{if(l.disabled)return;const t=document.querySelector("."+f+e);if(t.className.includes(i))return!1;if(d(t,h),s.length===1){const n=b[0].index;if(e>=n)for(let r=0;r<=e;r++)d(document.querySelector(".hs-select__item"+r),_);else for(;e<=n;)d(document.querySelector(".hs-select__item"+e),_),e++}},x=(e,t)=>{if(l.disabled)return;const n=s.length;n<2?(s.push({item:t,index:e}),c(document.querySelector("."+f+e),i),c(document.querySelector(".hs-select__item"+s[0].index),g),s[1]&&(H==="right"?c(document.querySelector(".hs-select__item"+s[1].index),S):c(document.querySelector(".hs-select__item"+s[1].index),g)),n===1&&(H==="right"?m("selectedVal",{left:s[0].item,right:s[1].item,whole:s}):m("selectedVal",{left:s[1].item,right:s[0].item,whole:s}))):D(()=>{s.forEach(r=>{d(document.querySelector("."+f+r.index),h,i),d(document.querySelector(".hs-select__item"+r.index),g,S)}),s=[],b=[];for(let r=0;r<=l.max.length;r++){const $=document.querySelector(".hs-select__item"+r);$&&d($,_)}s.push({item:t,index:e}),c(document.querySelector("."+f+e),i),c(document.querySelector(".hs-select__item"+s[0].index),g)})},E=e=>{if(e.length!==0){if(e.length>2||e.length===1)throw"传入的数组长度必须是2";for(e.sort((t,n)=>t-n),c(o.refs["hsdiv"+l.HsKey+e[0]],h,i),c(o.refs["hstd"+l.HsKey+e[0]],g),c(o.refs["hsdiv"+l.HsKey+e[1]],h,i),c(o.refs["hstd"+l.HsKey+e[1]],S);e[1]>=e[0];)c(o.refs["hstd"+l.HsKey+e[0]],_),e[0]++}};return F(()=>{D(()=>{E(l.echo)})}),()=>a(p,null,[a("table",{cellspacing:"0",cellpadding:"0"},[a("tbody",null,[a("tr",null,[l.max.map((e,t)=>a("td",{"data-index":l.HsKey,ref:`hstd${l.HsKey}${t}`,class:`hs-select__item${t}`,onMousemove:()=>w(t),onMouseleave:()=>u(t),onClick:()=>x(t,e),style:{cursor:K(v)?"auto":"pointer",textAlign:"center"},key:t},[a("div",{ref:`hsdiv${l.HsKey}${t}`,class:`hs-item ${[K(q)[t]+t]}`},[a("span",null,[e])])]))])])])])}}),J=G(z),O={class:"card-header"},P={key:0,class:"mt-3"},Y=A({name:"Selector",__name:"index",setup(l){const m=L(""),o=L([{title:"基本使用",echo:[],disabled:!1},{title:"回显模式",echo:[2,7],disabled:!0}]),y=({left:v,right:q})=>{m.value=`${v}-${q}`};return(v,q)=>{const w=Q("el-card");return V(),C("div",null,[(V(!0),C(p,null,T(o.value,(u,x)=>(V(),U(w,{class:"box-card",key:x,shadow:"never"},{header:R(()=>[I("div",O,[I("span",null,M(u.title),1)])]),default:R(()=>[a(K(J),{HsKey:x,echo:u.echo,onSelectedVal:y,disabled:u.disabled},null,8,["HsKey","echo","disabled"]),u.disabled?W("",!0):(V(),C("h4",P,"选中范围:"+M(m.value),1))]),_:2},1024))),128))])}}});const ee=X(Y,[["__scopeId","data-v-2c78a51a"]]);export{ee as default}; diff --git a/dist/static/js/index-24224ed6.js b/dist/static/js/index-4b663c01.js similarity index 88% rename from dist/static/js/index-24224ed6.js rename to dist/static/js/index-4b663c01.js index e53c461d8..8966f34ae 100644 --- a/dist/static/js/index-24224ed6.js +++ b/dist/static/js/index-4b663c01.js @@ -1 +1 @@ -import{d as m,r as d,$ as i,a as p,i as r,e as t,t as n,u as s,h as _,o as c}from"./index-ceadd577.js";const h={class:"dark:text-white"},f={style:{"text-indent":"2em"}},x={style:{"text-indent":"4em"}},y=m({name:"Menu1-2-1",__name:"index",setup(V){const o=d(""),{t:e}=i();return(v,a)=>{const u=p("el-input");return c(),r("div",h,[t("p",null,n(s(e)("menus.hsmenu1")),1),t("p",f,n(s(e)("menus.hsmenu1-2")),1),t("p",x,n(s(e)("menus.hsmenu1-2-1")),1),_(u,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},null,8,["modelValue"])])}}});export{y as default}; +import{d as m,r as d,$ as i,a as p,i as r,e as t,t as n,u as s,h as _,o as c}from"./index-42b0cfe4.js";const h={class:"dark:text-white"},f={style:{"text-indent":"2em"}},x={style:{"text-indent":"4em"}},y=m({name:"Menu1-2-1",__name:"index",setup(V){const o=d(""),{t:e}=i();return(v,a)=>{const u=p("el-input");return c(),r("div",h,[t("p",null,n(s(e)("menus.hsmenu1")),1),t("p",f,n(s(e)("menus.hsmenu1-2")),1),t("p",x,n(s(e)("menus.hsmenu1-2-1")),1),_(u,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},null,8,["modelValue"])])}}});export{y as default}; diff --git a/dist/static/js/index-08eb722d.js b/dist/static/js/index-4f983af3.js similarity index 91% rename from dist/static/js/index-08eb722d.js rename to dist/static/js/index-4f983af3.js index cb375f7d1..32c73b005 100644 --- a/dist/static/js/index-08eb722d.js +++ b/dist/static/js/index-4f983af3.js @@ -1 +1 @@ -import{V as p}from"./styles-71e87efa.js";import{d as m,ai as w,E as d,a as c,c as f,w as s,o as _,e as n,f as t,h as r,u as g}from"./index-ceadd577.js";import"./vue.runtime.esm-bundler-44233a4d.js";const b={class:"card-header"},v={class:"font-medium"},x={class:"font-medium"},L=m({name:"JsonEditor",__name:"index",setup(k){const i={status:200,text:"",error:null,config:void 0,data:[{news_id:51184,title:"iPhone X Review: Innovative future with real black technology",source:"Netease phone"},{news_id:51183,title:"Traffic paradise: How to design streets for people and unmanned vehicles in the future?",source:"Netease smart",link:"http://netease.smart/traffic-paradise/1235"},{news_id:51182,title:"Teslamask's American Business Relations: The government does not pay billions to build factories",source:"AI Finance",members:["Daniel","Mike","John"]}]},e=w({val:JSON.stringify(i),data:i,showLine:!0,showLineNumber:!0,showDoubleQuotes:!0,showLength:!0,editable:!0,showIcon:!0,editableTrigger:"click",deep:3});return d(()=>e.val,a=>{try{e.data=JSON.parse(a)}catch{}}),d(()=>e.data,a=>{try{e.val=JSON.stringify(a)}catch{}}),(a,o)=>{const l=c("el-link"),h=c("el-card");return _(),f(h,{shadow:"never"},{header:s(()=>[n("div",b,[n("span",v,[t(" JSON编辑器组件,采用开源的 "),r(l,{href:"https://github.com/leezng/vue-json-pretty",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:s(()=>[t(" vue-json-pretty ")]),_:1}),t(" (支持大数据量)。 ")]),n("span",x,[t(" 当然我们还有一款代码编辑器组件推荐(这里就不做演示了),采用开源的 "),r(l,{href:"https://github.com/surmon-china/vue-codemirror",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:s(()=>[t(" codemirror6 ")]),_:1})])])]),default:s(()=>[r(g(p),{data:e.data,"onUpdate:data":o[0]||(o[0]=u=>e.data=u),deep:e.deep,"show-double-quotes":e.showDoubleQuotes,"show-line":e.showLine,"show-length":e.showLength,"show-icon":e.showIcon,"show-line-number":e.showLineNumber,editable:e.editable,"editable-trigger":e.editableTrigger},null,8,["data","deep","show-double-quotes","show-line","show-length","show-icon","show-line-number","editable","editable-trigger"])]),_:1})}}});export{L as default}; +import{V as p}from"./styles-7ba5c6fe.js";import{d as m,ai as w,E as d,a as c,c as f,w as s,o as _,e as n,f as t,h as r,u as g}from"./index-42b0cfe4.js";import"./vue.runtime.esm-bundler-a6324638.js";const b={class:"card-header"},v={class:"font-medium"},x={class:"font-medium"},L=m({name:"JsonEditor",__name:"index",setup(k){const i={status:200,text:"",error:null,config:void 0,data:[{news_id:51184,title:"iPhone X Review: Innovative future with real black technology",source:"Netease phone"},{news_id:51183,title:"Traffic paradise: How to design streets for people and unmanned vehicles in the future?",source:"Netease smart",link:"http://netease.smart/traffic-paradise/1235"},{news_id:51182,title:"Teslamask's American Business Relations: The government does not pay billions to build factories",source:"AI Finance",members:["Daniel","Mike","John"]}]},e=w({val:JSON.stringify(i),data:i,showLine:!0,showLineNumber:!0,showDoubleQuotes:!0,showLength:!0,editable:!0,showIcon:!0,editableTrigger:"click",deep:3});return d(()=>e.val,a=>{try{e.data=JSON.parse(a)}catch{}}),d(()=>e.data,a=>{try{e.val=JSON.stringify(a)}catch{}}),(a,o)=>{const l=c("el-link"),h=c("el-card");return _(),f(h,{shadow:"never"},{header:s(()=>[n("div",b,[n("span",v,[t(" JSON编辑器组件,采用开源的 "),r(l,{href:"https://github.com/leezng/vue-json-pretty",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:s(()=>[t(" vue-json-pretty ")]),_:1}),t(" (支持大数据量)。 ")]),n("span",x,[t(" 当然我们还有一款代码编辑器组件推荐(这里就不做演示了),采用开源的 "),r(l,{href:"https://github.com/surmon-china/vue-codemirror",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:s(()=>[t(" codemirror6 ")]),_:1})])])]),default:s(()=>[r(g(p),{data:e.data,"onUpdate:data":o[0]||(o[0]=u=>e.data=u),deep:e.deep,"show-double-quotes":e.showDoubleQuotes,"show-line":e.showLine,"show-length":e.showLength,"show-icon":e.showIcon,"show-line-number":e.showLineNumber,editable:e.editable,"editable-trigger":e.editableTrigger},null,8,["data","deep","show-double-quotes","show-line","show-length","show-icon","show-line-number","editable","editable-trigger"])]),_:1})}}});export{L as default}; diff --git a/dist/static/js/index-a74ac77a.js b/dist/static/js/index-500f8d5b.js similarity index 96% rename from dist/static/js/index-a74ac77a.js rename to dist/static/js/index-500f8d5b.js index a21d0872a..2a1731a91 100644 --- a/dist/static/js/index-a74ac77a.js +++ b/dist/static/js/index-500f8d5b.js @@ -1 +1 @@ -import{d as V,I as A,J as I,D as k,bO as M,M as F,r as N,bd as C,a as m,o as _,c as L,w as l,e as d,i as b,F as g,q as y,h as n,u as a,f as s,t as v,L as E,bP as B}from"./index-ceadd577.js";import{u as P}from"./hooks-25ed90b2.js";const S=d("div",null,"标签页复用,超出限制自动关闭",-1),U={class:"flex flex-wrap items-center"},j=d("p",null,"query传参模式:",-1),H={class:"flex flex-wrap items-center"},z=d("p",null,"params传参模式:",-1),K=V({name:"Tabs",__name:"index",setup(J){const{toDetail:c,router:u}=P(),x=A(I().wholeMenus,!0),f=k(()=>M(F(x),0,{disabled:!0})),p=N([]),h=k(()=>{var r;return(r=C())==null?void 0:r.multiTags});function q(){p.value.length!==0&&p.value.forEach(r=>{const t=B(f.value,r).redirect??B(f.value,r).path;C().handleTags("splice",t),t==="/tabs/index"&&u.push({path:h.value[h.value.length-1].path})})}return(r,t)=>{const o=m("el-button"),i=m("el-divider"),D=m("el-tree-select"),$=m("el-link"),T=m("el-card");return _(),L(T,{shadow:"never"},{header:l(()=>[S]),default:l(()=>[d("div",U,[j,(_(),b(g,null,y(6,e=>n(o,{class:"m-2",key:e,onClick:w=>a(c)({id:e},"query")},{default:l(()=>[s(" 打开"+v(e)+"详情页 ",1)]),_:2},1032,["onClick"])),64)),n(o,{onClick:t[0]||(t[0]=e=>a(c)({id:666,name:"小明",age:18,job:"工程师"},"query"))},{default:l(()=>[s(" 多个参数 ")]),_:1})]),n(i),d("div",H,[z,(_(),b(g,null,y(6,e=>n(o,{class:"m-2",key:e,onClick:w=>a(c)({id:e},"params")},{default:l(()=>[s(" 打开"+v(e)+"详情页 ",1)]),_:2},1032,["onClick"])),64))]),n(i),n(D,{class:"w-[300px]","node-key":"uniqueId",placeholder:"请选择要关闭的标签",clearable:"",multiple:"",filterable:"","default-expand-all":"",props:{label:e=>a(E)(e.meta.title),value:"uniqueId",children:"children",disabled:"disabled"},data:f.value,modelValue:p.value,"onUpdate:modelValue":t[1]||(t[1]=e=>p.value=e)},{default:l(({data:e})=>[d("span",null,v(a(E)(e.meta.title)),1)]),_:1},8,["props","data","modelValue"]),n(o,{class:"m-2",onClick:q},{default:l(()=>[s("关闭标签")]),_:1}),n(i),n(o,{onClick:t[2]||(t[2]=e=>a(u).push({name:"Menu1-2-2"}))},{default:l(()=>[s(" 跳转页内菜单(传name对象,优先推荐) ")]),_:1}),n(o,{onClick:t[3]||(t[3]=e=>a(u).push("/nested/menu1/menu1-2/menu1-2-2"))},{default:l(()=>[s(" 跳转页内菜单(直接传要跳转的路径) ")]),_:1}),n(o,{onClick:t[4]||(t[4]=e=>a(u).push({path:"/nested/menu1/menu1-2/menu1-2-2"}))},{default:l(()=>[s(" 跳转页内菜单(传path对象) ")]),_:1}),n(i),n(o,{onClick:t[5]||(t[5]=e=>a(u).push({name:"Menu1-2-2",query:{text:"传name对象,优先推荐"}}))},{default:l(()=>[s(" 携参跳转页内菜单(传name对象,优先推荐) ")]),_:1}),n(o,{onClick:t[6]||(t[6]=e=>a(u).push({path:"/nested/menu1/menu1-2/menu1-2-2",query:{text:"传path对象"}}))},{default:l(()=>[s(" 携参跳转页内菜单(传path对象) ")]),_:1}),n($,{class:"ml-4",href:"https://router.vuejs.org/zh/guide/essentials/navigation.html#%E5%AF%BC%E8%88%AA%E5%88%B0%E4%B8%8D%E5%90%8C%E7%9A%84%E4%BD%8D%E7%BD%AE",target:"_blank"},{default:l(()=>[s(" 点击查看更多跳转方式 ")]),_:1}),n(i),n(o,{onClick:t[7]||(t[7]=e=>a(u).push({name:"Empty"}))},{default:l(()=>[s(" 跳转无Layout的空白页面 ")]),_:1})]),_:1})}}});export{K as default}; +import{d as V,I as A,J as I,D as k,bO as M,M as F,r as N,bd as C,a as m,o as _,c as L,w as l,e as d,i as b,F as g,q as y,h as n,u as a,f as s,t as v,L as E,bP as B}from"./index-42b0cfe4.js";import{u as P}from"./hooks-bc14fdba.js";const S=d("div",null,"标签页复用,超出限制自动关闭",-1),U={class:"flex flex-wrap items-center"},j=d("p",null,"query传参模式:",-1),H={class:"flex flex-wrap items-center"},z=d("p",null,"params传参模式:",-1),K=V({name:"Tabs",__name:"index",setup(J){const{toDetail:c,router:u}=P(),x=A(I().wholeMenus,!0),f=k(()=>M(F(x),0,{disabled:!0})),p=N([]),h=k(()=>{var r;return(r=C())==null?void 0:r.multiTags});function q(){p.value.length!==0&&p.value.forEach(r=>{const t=B(f.value,r).redirect??B(f.value,r).path;C().handleTags("splice",t),t==="/tabs/index"&&u.push({path:h.value[h.value.length-1].path})})}return(r,t)=>{const o=m("el-button"),i=m("el-divider"),D=m("el-tree-select"),$=m("el-link"),T=m("el-card");return _(),L(T,{shadow:"never"},{header:l(()=>[S]),default:l(()=>[d("div",U,[j,(_(),b(g,null,y(6,e=>n(o,{class:"m-2",key:e,onClick:w=>a(c)({id:e},"query")},{default:l(()=>[s(" 打开"+v(e)+"详情页 ",1)]),_:2},1032,["onClick"])),64)),n(o,{onClick:t[0]||(t[0]=e=>a(c)({id:666,name:"小明",age:18,job:"工程师"},"query"))},{default:l(()=>[s(" 多个参数 ")]),_:1})]),n(i),d("div",H,[z,(_(),b(g,null,y(6,e=>n(o,{class:"m-2",key:e,onClick:w=>a(c)({id:e},"params")},{default:l(()=>[s(" 打开"+v(e)+"详情页 ",1)]),_:2},1032,["onClick"])),64))]),n(i),n(D,{class:"w-[300px]","node-key":"uniqueId",placeholder:"请选择要关闭的标签",clearable:"",multiple:"",filterable:"","default-expand-all":"",props:{label:e=>a(E)(e.meta.title),value:"uniqueId",children:"children",disabled:"disabled"},data:f.value,modelValue:p.value,"onUpdate:modelValue":t[1]||(t[1]=e=>p.value=e)},{default:l(({data:e})=>[d("span",null,v(a(E)(e.meta.title)),1)]),_:1},8,["props","data","modelValue"]),n(o,{class:"m-2",onClick:q},{default:l(()=>[s("关闭标签")]),_:1}),n(i),n(o,{onClick:t[2]||(t[2]=e=>a(u).push({name:"Menu1-2-2"}))},{default:l(()=>[s(" 跳转页内菜单(传name对象,优先推荐) ")]),_:1}),n(o,{onClick:t[3]||(t[3]=e=>a(u).push("/nested/menu1/menu1-2/menu1-2-2"))},{default:l(()=>[s(" 跳转页内菜单(直接传要跳转的路径) ")]),_:1}),n(o,{onClick:t[4]||(t[4]=e=>a(u).push({path:"/nested/menu1/menu1-2/menu1-2-2"}))},{default:l(()=>[s(" 跳转页内菜单(传path对象) ")]),_:1}),n(i),n(o,{onClick:t[5]||(t[5]=e=>a(u).push({name:"Menu1-2-2",query:{text:"传name对象,优先推荐"}}))},{default:l(()=>[s(" 携参跳转页内菜单(传name对象,优先推荐) ")]),_:1}),n(o,{onClick:t[6]||(t[6]=e=>a(u).push({path:"/nested/menu1/menu1-2/menu1-2-2",query:{text:"传path对象"}}))},{default:l(()=>[s(" 携参跳转页内菜单(传path对象) ")]),_:1}),n($,{class:"ml-4",href:"https://router.vuejs.org/zh/guide/essentials/navigation.html#%E5%AF%BC%E8%88%AA%E5%88%B0%E4%B8%8D%E5%90%8C%E7%9A%84%E4%BD%8D%E7%BD%AE",target:"_blank"},{default:l(()=>[s(" 点击查看更多跳转方式 ")]),_:1}),n(i),n(o,{onClick:t[7]||(t[7]=e=>a(u).push({name:"Empty"}))},{default:l(()=>[s(" 跳转无Layout的空白页面 ")]),_:1})]),_:1})}}});export{K as default}; diff --git a/dist/static/js/index-be036424.js b/dist/static/js/index-5e55af8f.js similarity index 95% rename from dist/static/js/index-be036424.js rename to dist/static/js/index-5e55af8f.js index f2f7e9fcc..54d42dc0a 100644 --- a/dist/static/js/index-be036424.js +++ b/dist/static/js/index-5e55af8f.js @@ -1 +1 @@ -import{d as b,D as k,r as w,by as u,a,o as d,c as C,w as t,h as s,G as i,f as V,e as m,t as x,i as B,F as S,q as P,bu as z,J as N,bI as U}from"./index-ceadd577.js";const D={class:"card-header"},I=b({name:"PermissionPage",__name:"index",setup(F){var n;const o=k(()=>({width:"85vw",justifyContent:"start"})),l=w((n=u())==null?void 0:n.username),_=[{value:"admin",label:"管理员角色"},{value:"common",label:"普通角色"}];function p(){u().loginByUsername({username:l.value,password:"admin123"}).then(r=>{r.success&&(z().removeItem("async-routes"),N().clearAllCachePage(),U())})}return(r,c)=>{const v=a("el-tag"),f=a("el-option"),y=a("el-select"),g=a("el-card"),h=a("el-space");return d(),C(h,{direction:"vertical",size:"large"},{default:t(()=>[s(v,{style:i(o.value),size:"large",effect:"dark"},{default:t(()=>[V(" 模拟后台根据不同角色返回对应路由,观察左侧菜单变化(管理员角色可查看系统管理菜单、普通角色不可查看系统管理菜单) ")]),_:1},8,["style"]),s(g,{shadow:"never",style:i(o.value)},{header:t(()=>[m("div",D,[m("span",null,"当前角色:"+x(l.value),1)])]),default:t(()=>[s(y,{modelValue:l.value,"onUpdate:modelValue":c[0]||(c[0]=e=>l.value=e),onChange:p},{default:t(()=>[(d(),B(S,null,P(_,e=>s(f,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["style"])]),_:1})}}});export{I as default}; +import{d as b,D as k,r as w,by as u,a,o as d,c as C,w as t,h as s,G as i,f as V,e as m,t as x,i as B,F as S,q as P,bu as z,J as N,bI as U}from"./index-42b0cfe4.js";const D={class:"card-header"},I=b({name:"PermissionPage",__name:"index",setup(F){var n;const o=k(()=>({width:"85vw",justifyContent:"start"})),l=w((n=u())==null?void 0:n.username),_=[{value:"admin",label:"管理员角色"},{value:"common",label:"普通角色"}];function p(){u().loginByUsername({username:l.value,password:"admin123"}).then(r=>{r.success&&(z().removeItem("async-routes"),N().clearAllCachePage(),U())})}return(r,c)=>{const v=a("el-tag"),f=a("el-option"),y=a("el-select"),g=a("el-card"),h=a("el-space");return d(),C(h,{direction:"vertical",size:"large"},{default:t(()=>[s(v,{style:i(o.value),size:"large",effect:"dark"},{default:t(()=>[V(" 模拟后台根据不同角色返回对应路由,观察左侧菜单变化(管理员角色可查看系统管理菜单、普通角色不可查看系统管理菜单) ")]),_:1},8,["style"]),s(g,{shadow:"never",style:i(o.value)},{header:t(()=>[m("div",D,[m("span",null,"当前角色:"+x(l.value),1)])]),default:t(()=>[s(y,{modelValue:l.value,"onUpdate:modelValue":c[0]||(c[0]=e=>l.value=e),onChange:p},{default:t(()=>[(d(),B(S,null,P(_,e=>s(f,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["style"])]),_:1})}}});export{I as default}; diff --git a/dist/static/js/index-e5cd6a13.js b/dist/static/js/index-6393607f.js similarity index 99% rename from dist/static/js/index-e5cd6a13.js rename to dist/static/js/index-6393607f.js index 89855aff7..45fc23c73 100644 --- a/dist/static/js/index-e5cd6a13.js +++ b/dist/static/js/index-6393607f.js @@ -1 +1 @@ -import{d as he,O as be}from"./index-ceadd577.js";const ne=e=>Array.isArray(e),le=e=>ne(e)?e:[e];let ge=function(e){let t=function(f){return le(f).forEach(w=>{var L;return b.set(Symbol((L=w.char)==null?void 0:L.innerText),o({...w}))}),this},n=()=>m().filter(f=>f.typeable),a=function(f,w){let L=[...b.keys()];b.set(L[f],o(w))},o=f=>(f.shouldPauseCursor=function(){return!!(this.typeable||this.cursorable||this.deletable)},f),s=function(){b.forEach(f=>delete f.done)},y=function(){b=new Map,t(e)},d=()=>b,m=()=>Array.from(b.values()),p=f=>b.delete(f),_=(f=!1)=>f?m():m().filter(w=>!w.done),S=(f,w=!1)=>w?b.delete(f):b.get(f).done=!0,b=new Map;return t(e),{add:t,set:a,wipe:y,reset:s,destroy:p,done:S,getItems:_,getQueue:d,getTypeable:n}};const ae=e=>Array.from(e),W=e=>document.createTextNode(e);let j=e=>([...e.childNodes].forEach(t=>{if(t.nodeValue){[...t.nodeValue].forEach(n=>{t.parentNode.insertBefore(W(n),t)}),t.remove();return}j(t)}),e);const se=e=>{let t=document.implementation.createHTMLDocument();return t.body.innerHTML=e,j(t.body)},ie="data-typeit-id",A="ti-cursor",Te="END",Se={started:!1,completed:!1,frozen:!1,destroyed:!1},x={breakLines:!0,cursor:{autoPause:!0,autoPauseDelay:500,animation:{frames:[0,0,1].map(e=>({opacity:e})),options:{iterations:1/0,easing:"steps(2, start)",fill:"forwards"}}},cursorChar:"|",cursorSpeed:1e3,deleteSpeed:null,html:!0,lifeLike:!0,loop:!1,loopDelay:750,nextStringDelay:750,speed:100,startDelay:250,startDelete:!1,strings:[],waitUntilVisible:!1,beforeString:()=>{},afterString:()=>{},beforeStep:()=>{},afterStep:()=>{},afterComplete:()=>{}},we=`[${ie}]:before {content: '.'; display: inline-block; width: 0; visibility: hidden;}`;function oe(e,t=!1,n=!1){let a=e.querySelector(`.${A}`),o=document.createTreeWalker(e,NodeFilter.SHOW_ALL,{acceptNode:d=>{var m,p;if(a&&n){if((m=d.classList)!=null&&m.contains(A))return NodeFilter.FILTER_ACCEPT;if(a.contains(d))return NodeFilter.FILTER_REJECT}return(p=d.classList)!=null&&p.contains(A)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),s,y=[];for(;s=o.nextNode();)s.originalParent||(s.originalParent=s.parentNode),y.push(s);return t?y.reverse():y}function Ee(e){return oe(se(e))}function Ce(e,t=!0){return t?Ee(e):ae(e).map(W)}const H=e=>document.createElement(e),ue=(e,t="")=>{let n=H("style");n.id=t,n.appendChild(W(e)),document.head.appendChild(n)},Y=e=>(ne(e)||(e=[e/2,e/2]),e),Z=(e,t)=>Math.abs(Math.random()*(e+t-(e-t))+(e-t));let ee=e=>e/2;function _e(e){let{speed:t,deleteSpeed:n,lifeLike:a}=e;return n=n!==null?n:t/3,a?[Z(t,ee(t)),Z(n,ee(n))]:[t,n]}const Pe=e=>(e.forEach(clearTimeout),[]),Ie=()=>Math.random().toString().substring(2,9),J=e=>"value"in e;let Ne=e=>J(e)?ae(e.value):oe(e,!0).filter(t=>!(t.childNodes.length>0));const Ae=(e,t)=>{new IntersectionObserver((a,o)=>{a.forEach(s=>{s.isIntersecting&&(t(),o.unobserve(e))})},{threshold:1}).observe(e)};let v=e=>typeof e=="function"?e():e;const de=e=>Number.isInteger(e);let X=(e,t=document,n=!1)=>t[`querySelector${n?"All":""}`](e),Le=e=>/body/i.test(e==null?void 0:e.tagName),De=(e,t)=>{if(J(e)){e.value=`${e.value}${t.textContent}`;return}t.innerHTML="";let n=Le(t.originalParent)?e:t.originalParent||e;n.insertBefore(t,X("."+A,n)||null)},ve=(e,t,n)=>Math.min(Math.max(t+e,0),n.length);const k=(e,t)=>Object.assign({},e,t),xe=(e,t)=>{if(!e)return;let n=e.parentNode;(n.childNodes.length>1||n.isSameNode(t)?e:n).remove()},ke=(e,t,n)=>{let a=t[n-1],o=X(`.${A}`,e);e=(a==null?void 0:a.parentNode)||e,e.insertBefore(o,a||null)};function Me(e){return typeof e=="string"?X(e):e}const Re=e=>/<(.+)>(.*?)<\/(.+)>/.test(e.outerHTML);let $e=(e,t,n)=>new Promise(a=>{let o=async()=>{await e(),a()};n.push(setTimeout(o,t||0))}),Fe={"font-family":"","font-weight":"","font-size":"","font-style":"","line-height":"",color:"",transform:"translateX(-.125em)"},He=(e,t)=>{let a=`${`[${ie}='${e}']`} .${A}`,o=getComputedStyle(t),s=Object.entries(Fe).reduce((y,[d,m])=>`${y} ${d}: var(--ti-cursor-${d}, ${m||o[d]});`,"");ue(`${a} { display: inline-block; width: 0; ${s} }`,e)};const F=(e,t)=>new Array(t).fill(e),te=({queueItems:e,selector:t,cursorPosition:n,to:a})=>{if(de(t))return t*-1;let o=new RegExp(Te,"i").test(a),s=t?[...e].reverse().findIndex(({char:d})=>{let m=d.parentElement,p=m.matches(t);return o&&p?!0:p&&m.firstChild.isSameNode(d)}):-1;s<0&&(s=o?0:e.length-1);let y=o?0:1;return s-n+y};let Q=e=>new Promise(t=>{requestAnimationFrame(async()=>{t(await e())})}),fe=e=>e==null?void 0:e.getAnimations().find(t=>t.id===e.dataset.tiAnimationId),ce=({cursor:e,frames:t,options:n})=>{let a=e.animate(t,n);return a.pause(),a.id=e.dataset.tiAnimationId,Q(()=>{Q(()=>{a.play()})}),a},Qe=({cursor:e,options:t,cursorOptions:n})=>{if(!e||!n)return;let a=fe(e),o;a&&(t.delay=a.effect.getComputedTiming().delay,o=a.currentTime,a.cancel());let s=ce({cursor:e,frames:n.animation.frames,options:t});return o&&(s.currentTime=o),s},re=e=>{var t;return(t=e.func)==null?void 0:t.call(null)},Be=async({index:e,queueItems:t,wait:n,cursor:a,cursorOptions:o})=>{let s=t[e][1],y=[],d=e,m=s,p=()=>m&&!m.delay,_=s.shouldPauseCursor()&&o.autoPause;for(;p();)y.push(m),p()&&d++,m=t[d]?t[d][1]:null;if(y.length)return await Q(async()=>{for(let f of y)await re(f)}),d-1;let S=fe(a),b;return S&&(b={...S.effect.getComputedTiming(),delay:_?o.autoPauseDelay:0}),await n(async()=>{S&&_&&S.cancel(),await Q(()=>{re(s)})},s.delay),await Qe({cursor:a,options:b,cursorOptions:o}),e},qe=e=>{var t,n;if(typeof e=="object"){let a={},{frames:o,options:s}=x.cursor.animation;return a.animation=e.animation||{},a.animation.frames=((t=e.animation)==null?void 0:t.frames)||o,a.animation.options=k(s,((n=e.animation)==null?void 0:n.options)||{}),a.autoPause=e.autoPause??x.cursor.autoPause,a.autoPauseDelay=e.autoPauseDelay||x.cursor.autoPauseDelay,a}return e===!0?x.cursor:e};const Ue=function(e,t={}){let n=async(r,l,u=!1)=>{E.frozen&&await new Promise(c=>{this.unfreeze=()=>{E.frozen=!1,c()}}),u||await i.beforeStep(this),await $e(r,l,q),u||await i.afterStep(this)},a=(r,l)=>Be({index:r,queueItems:l,wait:n,cursor:N,cursorOptions:i.cursor}),o=r=>xe(r,h),s=()=>J(h),y=(r=0)=>_e(i)[r],d=()=>Ne(h),m=(r={})=>{let l=r.delay;l&&g.add({delay:l})},p=(r,l)=>(g.add(r),m(l),this),_=()=>K??D,S=(r={})=>[{func:()=>R(r)},{func:()=>R(i)}],b=r=>{let l=i.nextStringDelay;g.add([{delay:l[0]},...r,{delay:l[1]}])},f=()=>{if(s())return;let r=H("span");return r.className=A,O?(r.innerHTML=se(i.cursorChar).innerHTML,r):(r.style.visibility="hidden",r)},w=async()=>{if(!s()&&N&&h.appendChild(N),O){He(U,h),N.dataset.tiAnimationId=U;let{animation:r}=i.cursor,{frames:l,options:u}=r;ce({frames:l,cursor:N,options:{duration:i.cursorSpeed,...u}})}},L=()=>{let r=i.strings.filter(l=>!!l);r.forEach((l,u)=>{if(this.type(l),u+1===r.length)return;let c=i.breakLines?[{func:()=>B(H("BR")),typeable:!0}]:F({func:$,delay:y(1)},g.getTypeable().length);b(c)})},ye=async r=>{let l=_();l&&await G({value:l});let u=d().map(c=>[Symbol(),{func:$,delay:y(1),deletable:!0,shouldPauseCursor:()=>!0}]);for(let c=0;c{let l=h.innerHTML;return l?(h.innerHTML="",i.startDelete?(h.innerHTML=l,j(h),b(F({func:$,delay:y(1),deletable:!0},d().length)),r):l.replace(//g,"").trim().split(//).concat(r)):r},M=async(r=!0)=>{E.started=!0;let l=u=>{g.done(u,!r)};try{let u=[...g.getQueue()];for(let T=0;Tz+V).forEach(z=>{let[V]=u[z];l(V)}),T=I}l(P)}}if(!r)return this;if(E.completed=!0,await i.afterComplete(this),!i.loop)throw"";let c=i.loopDelay;n(async()=>{await ye(c[0]),M()},c[1])}catch{}return this},G=async r=>{D=ve(r,D,d()),ke(h,d(),D)},B=r=>De(h,r),R=async r=>i=k(i,r),me=async()=>{if(s()){h.value="";return}d().forEach(o)},$=()=>{let r=d();r.length&&(s()?h.value=h.value.slice(0,-1):o(r[D]))};this.break=function(r){return p({func:()=>B(H("BR")),typeable:!0},r)},this.delete=function(r=null,l={}){r=v(r);let u=S(l),c=r,{instant:T,to:P}=l,C=g.getTypeable(),I=(()=>c===null?C.length:de(c)?c:te({queueItems:C,selector:c,cursorPosition:_(),to:P}))();return p([u[0],...F({func:$,delay:T?0:y(1),deletable:!0},I),u[1]],l)},this.empty=function(r={}){return p({func:me},r)},this.exec=function(r,l={}){let u=S(l);return p([u[0],{func:()=>r(this)},u[1]],l)},this.move=function(r,l={}){r=v(r);let u=S(l),{instant:c,to:T}=l,P=te({queueItems:g.getTypeable(),selector:r===null?"":r,to:T,cursorPosition:_()}),C=P<0?-1:1;return K=_()+P,p([u[0],...F({func:()=>G(C),delay:c?0:y(),cursorable:!0},Math.abs(P)),u[1]],l)},this.options=function(r,l={}){return r=v(r),R(r),p({},l)},this.pause=function(r,l={}){return p({delay:v(r)},l)},this.type=function(r,l={}){r=v(r);let{instant:u}=l,c=S(l),P=Ce(r,i.html).map(I=>({func:()=>B(I),char:I,delay:u||Re(I)?0:y(),typeable:I.nodeType===Node.TEXT_NODE})),C=[c[0],{func:async()=>await i.beforeString(r,this)},...P,{func:async()=>await i.afterString(r,this)},c[1]];return p(C,l)},this.is=function(r){return E[r]},this.destroy=function(r=!0){q=Pe(q),v(r)&&N&&o(N),E.destroyed=!0},this.freeze=function(){E.frozen=!0},this.unfreeze=()=>{},this.reset=function(r){!this.is("destroyed")&&this.destroy(),r?(g.wipe(),r(this)):g.reset(),D=0;for(let l in E)E[l]=!1;return h[s()?"value":"innerHTML"]="",this},this.go=function(){return E.started?this:(w(),i.waitUntilVisible?(Ae(h,M.bind(this)),this):(M(),this))},this.flush=function(r=()=>{}){return w(),M(!1).then(r),this},this.getQueue=()=>g,this.getOptions=()=>i,this.updateOptions=r=>R(r),this.getElement=()=>h;let h=Me(e),q=[],D=0,K=null,E=k({},Se);t.cursor=qe(t.cursor??x.cursor);let i=k(x,t);i=k(i,{html:!s()&&i.html,nextStringDelay:Y(i.nextStringDelay),loopDelay:Y(i.loopDelay)});let U=Ie(),g=ge([{delay:i.startDelay}]);h.dataset.typeitId=U,ue(we);let O=!!i.cursor&&!s(),N=f();i.strings=pe(le(i.strings)),i.strings.length&&L()},Ve=he({name:"TypeIt",props:{speed:{type:Number,default:200},values:{type:Array,defalut:[]},className:{type:String,default:"type-it"},cursor:{type:Boolean,default:!0}},render(){return be("span",{class:this.className},{default:()=>[]})},mounted(){new Ue(`.${this.className}`,{strings:this.values,speed:this.speed,cursor:this.cursor}).go()}});export{Ve as T}; +import{d as he,O as be}from"./index-42b0cfe4.js";const ne=e=>Array.isArray(e),le=e=>ne(e)?e:[e];let ge=function(e){let t=function(f){return le(f).forEach(w=>{var L;return b.set(Symbol((L=w.char)==null?void 0:L.innerText),o({...w}))}),this},n=()=>m().filter(f=>f.typeable),a=function(f,w){let L=[...b.keys()];b.set(L[f],o(w))},o=f=>(f.shouldPauseCursor=function(){return!!(this.typeable||this.cursorable||this.deletable)},f),s=function(){b.forEach(f=>delete f.done)},y=function(){b=new Map,t(e)},d=()=>b,m=()=>Array.from(b.values()),p=f=>b.delete(f),_=(f=!1)=>f?m():m().filter(w=>!w.done),S=(f,w=!1)=>w?b.delete(f):b.get(f).done=!0,b=new Map;return t(e),{add:t,set:a,wipe:y,reset:s,destroy:p,done:S,getItems:_,getQueue:d,getTypeable:n}};const ae=e=>Array.from(e),W=e=>document.createTextNode(e);let j=e=>([...e.childNodes].forEach(t=>{if(t.nodeValue){[...t.nodeValue].forEach(n=>{t.parentNode.insertBefore(W(n),t)}),t.remove();return}j(t)}),e);const se=e=>{let t=document.implementation.createHTMLDocument();return t.body.innerHTML=e,j(t.body)},ie="data-typeit-id",A="ti-cursor",Te="END",Se={started:!1,completed:!1,frozen:!1,destroyed:!1},x={breakLines:!0,cursor:{autoPause:!0,autoPauseDelay:500,animation:{frames:[0,0,1].map(e=>({opacity:e})),options:{iterations:1/0,easing:"steps(2, start)",fill:"forwards"}}},cursorChar:"|",cursorSpeed:1e3,deleteSpeed:null,html:!0,lifeLike:!0,loop:!1,loopDelay:750,nextStringDelay:750,speed:100,startDelay:250,startDelete:!1,strings:[],waitUntilVisible:!1,beforeString:()=>{},afterString:()=>{},beforeStep:()=>{},afterStep:()=>{},afterComplete:()=>{}},we=`[${ie}]:before {content: '.'; display: inline-block; width: 0; visibility: hidden;}`;function oe(e,t=!1,n=!1){let a=e.querySelector(`.${A}`),o=document.createTreeWalker(e,NodeFilter.SHOW_ALL,{acceptNode:d=>{var m,p;if(a&&n){if((m=d.classList)!=null&&m.contains(A))return NodeFilter.FILTER_ACCEPT;if(a.contains(d))return NodeFilter.FILTER_REJECT}return(p=d.classList)!=null&&p.contains(A)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),s,y=[];for(;s=o.nextNode();)s.originalParent||(s.originalParent=s.parentNode),y.push(s);return t?y.reverse():y}function Ee(e){return oe(se(e))}function Ce(e,t=!0){return t?Ee(e):ae(e).map(W)}const H=e=>document.createElement(e),ue=(e,t="")=>{let n=H("style");n.id=t,n.appendChild(W(e)),document.head.appendChild(n)},Y=e=>(ne(e)||(e=[e/2,e/2]),e),Z=(e,t)=>Math.abs(Math.random()*(e+t-(e-t))+(e-t));let ee=e=>e/2;function _e(e){let{speed:t,deleteSpeed:n,lifeLike:a}=e;return n=n!==null?n:t/3,a?[Z(t,ee(t)),Z(n,ee(n))]:[t,n]}const Pe=e=>(e.forEach(clearTimeout),[]),Ie=()=>Math.random().toString().substring(2,9),J=e=>"value"in e;let Ne=e=>J(e)?ae(e.value):oe(e,!0).filter(t=>!(t.childNodes.length>0));const Ae=(e,t)=>{new IntersectionObserver((a,o)=>{a.forEach(s=>{s.isIntersecting&&(t(),o.unobserve(e))})},{threshold:1}).observe(e)};let v=e=>typeof e=="function"?e():e;const de=e=>Number.isInteger(e);let X=(e,t=document,n=!1)=>t[`querySelector${n?"All":""}`](e),Le=e=>/body/i.test(e==null?void 0:e.tagName),De=(e,t)=>{if(J(e)){e.value=`${e.value}${t.textContent}`;return}t.innerHTML="";let n=Le(t.originalParent)?e:t.originalParent||e;n.insertBefore(t,X("."+A,n)||null)},ve=(e,t,n)=>Math.min(Math.max(t+e,0),n.length);const k=(e,t)=>Object.assign({},e,t),xe=(e,t)=>{if(!e)return;let n=e.parentNode;(n.childNodes.length>1||n.isSameNode(t)?e:n).remove()},ke=(e,t,n)=>{let a=t[n-1],o=X(`.${A}`,e);e=(a==null?void 0:a.parentNode)||e,e.insertBefore(o,a||null)};function Me(e){return typeof e=="string"?X(e):e}const Re=e=>/<(.+)>(.*?)<\/(.+)>/.test(e.outerHTML);let $e=(e,t,n)=>new Promise(a=>{let o=async()=>{await e(),a()};n.push(setTimeout(o,t||0))}),Fe={"font-family":"","font-weight":"","font-size":"","font-style":"","line-height":"",color:"",transform:"translateX(-.125em)"},He=(e,t)=>{let a=`${`[${ie}='${e}']`} .${A}`,o=getComputedStyle(t),s=Object.entries(Fe).reduce((y,[d,m])=>`${y} ${d}: var(--ti-cursor-${d}, ${m||o[d]});`,"");ue(`${a} { display: inline-block; width: 0; ${s} }`,e)};const F=(e,t)=>new Array(t).fill(e),te=({queueItems:e,selector:t,cursorPosition:n,to:a})=>{if(de(t))return t*-1;let o=new RegExp(Te,"i").test(a),s=t?[...e].reverse().findIndex(({char:d})=>{let m=d.parentElement,p=m.matches(t);return o&&p?!0:p&&m.firstChild.isSameNode(d)}):-1;s<0&&(s=o?0:e.length-1);let y=o?0:1;return s-n+y};let Q=e=>new Promise(t=>{requestAnimationFrame(async()=>{t(await e())})}),fe=e=>e==null?void 0:e.getAnimations().find(t=>t.id===e.dataset.tiAnimationId),ce=({cursor:e,frames:t,options:n})=>{let a=e.animate(t,n);return a.pause(),a.id=e.dataset.tiAnimationId,Q(()=>{Q(()=>{a.play()})}),a},Qe=({cursor:e,options:t,cursorOptions:n})=>{if(!e||!n)return;let a=fe(e),o;a&&(t.delay=a.effect.getComputedTiming().delay,o=a.currentTime,a.cancel());let s=ce({cursor:e,frames:n.animation.frames,options:t});return o&&(s.currentTime=o),s},re=e=>{var t;return(t=e.func)==null?void 0:t.call(null)},Be=async({index:e,queueItems:t,wait:n,cursor:a,cursorOptions:o})=>{let s=t[e][1],y=[],d=e,m=s,p=()=>m&&!m.delay,_=s.shouldPauseCursor()&&o.autoPause;for(;p();)y.push(m),p()&&d++,m=t[d]?t[d][1]:null;if(y.length)return await Q(async()=>{for(let f of y)await re(f)}),d-1;let S=fe(a),b;return S&&(b={...S.effect.getComputedTiming(),delay:_?o.autoPauseDelay:0}),await n(async()=>{S&&_&&S.cancel(),await Q(()=>{re(s)})},s.delay),await Qe({cursor:a,options:b,cursorOptions:o}),e},qe=e=>{var t,n;if(typeof e=="object"){let a={},{frames:o,options:s}=x.cursor.animation;return a.animation=e.animation||{},a.animation.frames=((t=e.animation)==null?void 0:t.frames)||o,a.animation.options=k(s,((n=e.animation)==null?void 0:n.options)||{}),a.autoPause=e.autoPause??x.cursor.autoPause,a.autoPauseDelay=e.autoPauseDelay||x.cursor.autoPauseDelay,a}return e===!0?x.cursor:e};const Ue=function(e,t={}){let n=async(r,l,u=!1)=>{E.frozen&&await new Promise(c=>{this.unfreeze=()=>{E.frozen=!1,c()}}),u||await i.beforeStep(this),await $e(r,l,q),u||await i.afterStep(this)},a=(r,l)=>Be({index:r,queueItems:l,wait:n,cursor:N,cursorOptions:i.cursor}),o=r=>xe(r,h),s=()=>J(h),y=(r=0)=>_e(i)[r],d=()=>Ne(h),m=(r={})=>{let l=r.delay;l&&g.add({delay:l})},p=(r,l)=>(g.add(r),m(l),this),_=()=>K??D,S=(r={})=>[{func:()=>R(r)},{func:()=>R(i)}],b=r=>{let l=i.nextStringDelay;g.add([{delay:l[0]},...r,{delay:l[1]}])},f=()=>{if(s())return;let r=H("span");return r.className=A,O?(r.innerHTML=se(i.cursorChar).innerHTML,r):(r.style.visibility="hidden",r)},w=async()=>{if(!s()&&N&&h.appendChild(N),O){He(U,h),N.dataset.tiAnimationId=U;let{animation:r}=i.cursor,{frames:l,options:u}=r;ce({frames:l,cursor:N,options:{duration:i.cursorSpeed,...u}})}},L=()=>{let r=i.strings.filter(l=>!!l);r.forEach((l,u)=>{if(this.type(l),u+1===r.length)return;let c=i.breakLines?[{func:()=>B(H("BR")),typeable:!0}]:F({func:$,delay:y(1)},g.getTypeable().length);b(c)})},ye=async r=>{let l=_();l&&await G({value:l});let u=d().map(c=>[Symbol(),{func:$,delay:y(1),deletable:!0,shouldPauseCursor:()=>!0}]);for(let c=0;c{let l=h.innerHTML;return l?(h.innerHTML="",i.startDelete?(h.innerHTML=l,j(h),b(F({func:$,delay:y(1),deletable:!0},d().length)),r):l.replace(//g,"").trim().split(//).concat(r)):r},M=async(r=!0)=>{E.started=!0;let l=u=>{g.done(u,!r)};try{let u=[...g.getQueue()];for(let T=0;Tz+V).forEach(z=>{let[V]=u[z];l(V)}),T=I}l(P)}}if(!r)return this;if(E.completed=!0,await i.afterComplete(this),!i.loop)throw"";let c=i.loopDelay;n(async()=>{await ye(c[0]),M()},c[1])}catch{}return this},G=async r=>{D=ve(r,D,d()),ke(h,d(),D)},B=r=>De(h,r),R=async r=>i=k(i,r),me=async()=>{if(s()){h.value="";return}d().forEach(o)},$=()=>{let r=d();r.length&&(s()?h.value=h.value.slice(0,-1):o(r[D]))};this.break=function(r){return p({func:()=>B(H("BR")),typeable:!0},r)},this.delete=function(r=null,l={}){r=v(r);let u=S(l),c=r,{instant:T,to:P}=l,C=g.getTypeable(),I=(()=>c===null?C.length:de(c)?c:te({queueItems:C,selector:c,cursorPosition:_(),to:P}))();return p([u[0],...F({func:$,delay:T?0:y(1),deletable:!0},I),u[1]],l)},this.empty=function(r={}){return p({func:me},r)},this.exec=function(r,l={}){let u=S(l);return p([u[0],{func:()=>r(this)},u[1]],l)},this.move=function(r,l={}){r=v(r);let u=S(l),{instant:c,to:T}=l,P=te({queueItems:g.getTypeable(),selector:r===null?"":r,to:T,cursorPosition:_()}),C=P<0?-1:1;return K=_()+P,p([u[0],...F({func:()=>G(C),delay:c?0:y(),cursorable:!0},Math.abs(P)),u[1]],l)},this.options=function(r,l={}){return r=v(r),R(r),p({},l)},this.pause=function(r,l={}){return p({delay:v(r)},l)},this.type=function(r,l={}){r=v(r);let{instant:u}=l,c=S(l),P=Ce(r,i.html).map(I=>({func:()=>B(I),char:I,delay:u||Re(I)?0:y(),typeable:I.nodeType===Node.TEXT_NODE})),C=[c[0],{func:async()=>await i.beforeString(r,this)},...P,{func:async()=>await i.afterString(r,this)},c[1]];return p(C,l)},this.is=function(r){return E[r]},this.destroy=function(r=!0){q=Pe(q),v(r)&&N&&o(N),E.destroyed=!0},this.freeze=function(){E.frozen=!0},this.unfreeze=()=>{},this.reset=function(r){!this.is("destroyed")&&this.destroy(),r?(g.wipe(),r(this)):g.reset(),D=0;for(let l in E)E[l]=!1;return h[s()?"value":"innerHTML"]="",this},this.go=function(){return E.started?this:(w(),i.waitUntilVisible?(Ae(h,M.bind(this)),this):(M(),this))},this.flush=function(r=()=>{}){return w(),M(!1).then(r),this},this.getQueue=()=>g,this.getOptions=()=>i,this.updateOptions=r=>R(r),this.getElement=()=>h;let h=Me(e),q=[],D=0,K=null,E=k({},Se);t.cursor=qe(t.cursor??x.cursor);let i=k(x,t);i=k(i,{html:!s()&&i.html,nextStringDelay:Y(i.nextStringDelay),loopDelay:Y(i.loopDelay)});let U=Ie(),g=ge([{delay:i.startDelay}]);h.dataset.typeitId=U,ue(we);let O=!!i.cursor&&!s(),N=f();i.strings=pe(le(i.strings)),i.strings.length&&L()},Ve=he({name:"TypeIt",props:{speed:{type:Number,default:200},values:{type:Array,defalut:[]},className:{type:String,default:"type-it"},cursor:{type:Boolean,default:!0}},render(){return be("span",{class:this.className},{default:()=>[]})},mounted(){new Ue(`.${this.className}`,{strings:this.values,speed:this.speed,cursor:this.cursor}).go()}});export{Ve as T}; diff --git a/dist/static/js/index-9e6d1e33.js b/dist/static/js/index-66b6681d.js similarity index 69% rename from dist/static/js/index-9e6d1e33.js rename to dist/static/js/index-66b6681d.js index 492d8e558..4849867a9 100644 --- a/dist/static/js/index-9e6d1e33.js +++ b/dist/static/js/index-66b6681d.js @@ -1 +1 @@ -import n from"./vertical-415d74d4.js";import c from"./horizontal-a2f578f8.js";import{d as i,a as o,c as p,w as e,o as _,e as r,f as t,h as a}from"./index-ceadd577.js";import"./vue-virtual-scroller.esm-540eb406.js";const u={class:"font-medium"},d={class:"w-full flex justify-around flex-wrap"},g=i({name:"VirtualList",__name:"index",setup(m){return(f,x)=>{const s=o("el-link"),l=o("el-card");return _(),p(l,{shadow:"never"},{header:e(()=>[r("div",u,[t(" 虚拟列表组件( "),a(s,{href:"https://github.com/Akryum/vue-virtual-scroller/tree/next/packages/vue-virtual-scroller",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:e(()=>[t(" github地址 ")]),_:1}),t(" ) ")])]),default:e(()=>[r("div",d,[a(n,{class:"h-[500px] w-[500px]"}),a(c,{class:"h-[500px] w-[500px]"})])]),_:1})}}});export{g as default}; +import n from"./vertical-2f20122a.js";import c from"./horizontal-c6d584ff.js";import{d as i,a as o,c as p,w as e,o as _,e as r,f as t,h as a}from"./index-42b0cfe4.js";import"./vue-virtual-scroller.esm-aa84258e.js";const u={class:"font-medium"},d={class:"w-full flex justify-around flex-wrap"},g=i({name:"VirtualList",__name:"index",setup(m){return(f,x)=>{const s=o("el-link"),l=o("el-card");return _(),p(l,{shadow:"never"},{header:e(()=>[r("div",u,[t(" 虚拟列表组件( "),a(s,{href:"https://github.com/Akryum/vue-virtual-scroller/tree/next/packages/vue-virtual-scroller",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:e(()=>[t(" github地址 ")]),_:1}),t(" ) ")])]),default:e(()=>[r("div",d,[a(n,{class:"h-[500px] w-[500px]"}),a(c,{class:"h-[500px] w-[500px]"})])]),_:1})}}});export{g as default}; diff --git a/dist/static/js/index-500acd9e.js b/dist/static/js/index-66c26666.js similarity index 86% rename from dist/static/js/index-500acd9e.js rename to dist/static/js/index-66c26666.js index 11af1a1f7..1b72024c4 100644 --- a/dist/static/js/index-500acd9e.js +++ b/dist/static/js/index-66c26666.js @@ -1 +1 @@ -import{d as m,r,$ as p,a as d,i,e as s,t as o,u as a,h as c,o as _}from"./index-ceadd577.js";const f={class:"dark:text-white"},h={style:{"text-indent":"2em"}},k=m({name:"Menu1-1",__name:"index",setup(x){const e=r(""),{t:n}=p();return(V,t)=>{const l=d("el-input");return _(),i("div",f,[s("p",null,o(a(n)("menus.hsmenu1")),1),s("p",h,o(a(n)("menus.hsmenu1-1")),1),c(l,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value=u)},null,8,["modelValue"])])}}});export{k as default}; +import{d as m,r,$ as p,a as d,i,e as s,t as o,u as a,h as c,o as _}from"./index-42b0cfe4.js";const f={class:"dark:text-white"},h={style:{"text-indent":"2em"}},k=m({name:"Menu1-1",__name:"index",setup(x){const e=r(""),{t:n}=p();return(V,t)=>{const l=d("el-input");return _(),i("div",f,[s("p",null,o(a(n)("menus.hsmenu1")),1),s("p",h,o(a(n)("menus.hsmenu1-1")),1),c(l,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value=u)},null,8,["modelValue"])])}}});export{k as default}; diff --git a/dist/static/js/index-6819d4a2.js b/dist/static/js/index-6819d4a2.js deleted file mode 100644 index fa07b5751..000000000 --- a/dist/static/js/index-6819d4a2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-a2c109d6.js";import"./columns-15aaedc0.js";import"./data-c6346f61.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/index-70fa98c8.js b/dist/static/js/index-70fa98c8.js new file mode 100644 index 000000000..719752957 --- /dev/null +++ b/dist/static/js/index-70fa98c8.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-5e5d23a5.js";import"./columns-6d554563.js";import"./data-43132d69.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/index-9996e8d2.js b/dist/static/js/index-7cec5734.js similarity index 82% rename from dist/static/js/index-9996e8d2.js rename to dist/static/js/index-7cec5734.js index e7f3dc49b..7b94176e3 100644 --- a/dist/static/js/index-9996e8d2.js +++ b/dist/static/js/index-7cec5734.js @@ -1 +1 @@ -import{d as t,r as n,a as _,c,w as a,o as l,e}from"./index-ceadd577.js";const d=e("div",{class:"card-header"},[e("span",{class:"font-medium"},"通过iframe引入按钮页面")],-1),m=["src"],h=t({name:"ButtonPage",__name:"index",setup(u){const{VITE_PUBLIC_PATH:s}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},o=n(`${s}html/button.html`);return(f,i)=>{const r=_("el-card");return l(),c(r,{shadow:"never"},{header:a(()=>[d]),default:a(()=>[e("iframe",{src:o.value,frameborder:"0",class:"iframe w-full h-[60vh]"},null,8,m)]),_:1})}}});export{h as default}; +import{d as t,r as n,a as _,c,w as a,o as l,e}from"./index-42b0cfe4.js";const d=e("div",{class:"card-header"},[e("span",{class:"font-medium"},"通过iframe引入按钮页面")],-1),m=["src"],h=t({name:"ButtonPage",__name:"index",setup(u){const{VITE_PUBLIC_PATH:s}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},o=n(`${s}html/button.html`);return(f,i)=>{const r=_("el-card");return l(),c(r,{shadow:"never"},{header:a(()=>[d]),default:a(()=>[e("iframe",{src:o.value,frameborder:"0",class:"iframe w-full h-[60vh]"},null,8,m)]),_:1})}}});export{h as default}; diff --git a/dist/static/js/index-7f14b3c0.js b/dist/static/js/index-7f14b3c0.js deleted file mode 100644 index 36b4d1cd4..000000000 --- a/dist/static/js/index-7f14b3c0.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-959d3879.js";import"./columns-ebf2e2fa.js";import"./data-c6346f61.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/index-834daa44.js b/dist/static/js/index-834daa44.js new file mode 100644 index 000000000..8df094a92 --- /dev/null +++ b/dist/static/js/index-834daa44.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-289544ea.js";import"./columns-342fbfd7.js";import"./sortable.esm-e674cde8.js";import"./index-42b0cfe4.js";import"./data-43132d69.js";export{o as default}; diff --git a/dist/static/js/index-88866009.js b/dist/static/js/index-88866009.js new file mode 100644 index 000000000..87c55575d --- /dev/null +++ b/dist/static/js/index-88866009.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-f369f7f2.js";import"./columns-7e32d1da.js";import"./print-a6e42845.js";import"./data-43132d69.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/index-11f8ea63.js b/dist/static/js/index-89e931c0.js similarity index 99% rename from dist/static/js/index-11f8ea63.js rename to dist/static/js/index-89e931c0.js index 091efa198..3263c3388 100644 --- a/dist/static/js/index-11f8ea63.js +++ b/dist/static/js/index-89e931c0.js @@ -1,4 +1,4 @@ -import{b8 as he,aG as an,aJ as Ye,aK as ln,o as h,i as V,e as m,d as le,r as E,D as B,ax as _t,k as qe,F as be,q as xe,G as ne,c as O,T as He,u as n,t as ee,L as _e,h as r,aa as Dt,_ as pe,a as k,f as oe,j as Y,a2 as lt,$ as sn,b3 as rn,C as cn,J as ye,b9 as ft,w as v,a$ as un,ba as Ne,as as Pt,am as Rt,n as je,b5 as ke,E as Ue,b as gt,g as ve,aq as se,ar as Ce,bb as yt,bc as ot,b7 as bt,bd as Ve,ap as dn,ak as Je,be as Fe,aH as Ge,aI as Ke,ai as wt,bf as me,bg as Qe,bh as hn,bi as fn,bj as nt,aV as Pe,bk as at,bl as pn,Q as Be,l as kt,bm as xt,bn as pt,bo as Ht,bp as jt,bq as Ct,br as Et,O as Xe,bs as vn,ad as mn,s as st,v as rt,a9 as qt,ao as Bt,bt as _n,bu as gn,bv as yn,a0 as bn,S as wn,al as kn}from"./index-ceadd577.js";import{d as xn}from"./menu-a4fe64fb.js";import{d as Cn}from"./set-up-e6942411.js";import{d as $n}from"./home-filled-05cc090c.js";import{d as Sn}from"./admin-line-92b9acda.js";import{d as In}from"./git-branch-line-aa4cb38f.js";import{u as Me,a as $t,g as St,e as ge,b as Nt,t as Mn,d as Tn,c as Vn,f as zn}from"./dark-3015d878.js";import{u as Re}from"./app-c56ccba4.js";import{J as Ln}from"./index-d5731855.js";import{u as An}from"./epTheme-904e4673.js";import{u as Ae}from"./hooks-82c6b5e4.js";import{d as Hn}from"./search-cc37b371.js";import{d as We}from"./check-3815600c.js";import{d as En}from"./refresh-right-6177e75c.js";import{d as On}from"./arrow-right-s-line-2977cc7e.js";import{b as Ft}from"./back_top-489ad631.js";const Zn={width:24,height:24,body:''},Dn={width:1024,height:1024,body:''},Pn={width:24,height:24,body:''},Rn={width:24,height:24,body:''},jn={width:1024,height:1024,body:''},qn={width:24,height:24,body:''},Bn={width:24,height:24,body:''},Nn={width:1024,height:1024,body:''},Fn={width:24,height:24,body:''},Un={width:24,height:24,body:''},Wn={width:24,height:24,body:''},it={width:24,height:24,body:''},Gn={width:1024,height:1024,body:''},Jn={width:1024,height:1024,body:''};he("ubuntuFill",Zn);he("menu",xn);he("edit",Dn);he("informationLine",Pn);he("setUp",Cn);he("terminalWindowLine",Rn);he("guide",jn);he("homeFilled",$n);he("card",qn);he("listCheck",Bn);he("histogram",Nn);he("ppt",Fn);he("checkboxCircleLine",Un);he("flUser",Sn);he("role",Wn);he("setting",it);he("dept",In);he("lollipop",Gn);he("monitor",Jn);const Kn=an({id:"pure-setting",state:()=>({title:Ye().Title,fixedHeader:Ye().FixedHeader,hiddenSideBar:Ye().HiddenSideBar}),getters:{getTitle(t){return t.title},getFixedHeader(t){return t.fixedHeader},getHiddenSideBar(t){return t.hiddenSideBar}},actions:{CHANGE_SETTING({key:t,value:e}){Reflect.has(this,t)&&(this[t]=e)},changeSetting(t){this.CHANGE_SETTING(t)}}});function It(){return Kn(ln)}const Xn={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--ant-design",viewBox:"0 0 1024 1024"},Yn=m("path",{fill:"currentColor",d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"},null,-1),Qn=[Yn];function eo(t,e){return h(),V("svg",Xn,Qn)}const Ut={render:eo},to={width:24,height:24,body:''},no=["onMouseenter"],oo={class:"result-item-title"},ao=le({__name:"SearchResult",props:{value:{},options:{}},emits:["update:value","enter"],setup(t,{expose:e,emit:o}){const a=t,c=E(),i=E(),d=Dt(),p=B(()=>g=>({background:(g==null?void 0:g.path)===y.value?An().epThemeColor:"",color:g.path===y.value?"#fff":"",fontSize:g.path===y.value?"16px":"14px"})),y=B({get(){return a.value},set(g){o("update:value",g)}});async function b(g){y.value=g.path}function _(){o("enter")}function f(){i.value=window.innerHeight-window.innerHeight/10-140}_t(c,()=>{f()});function M(g){var T;const w=(T=d==null?void 0:d.proxy)==null?void 0:T.$refs[`resultItemRef${g}`];if(!w)return 0;const z=w[0].offsetTop+128;return z>i.value?z-i.value:0}return qe(()=>{f()}),e({handleScroll:M}),(g,w)=>(h(),V("div",{ref_key:"resultRef",ref:c,class:"result"},[(h(!0),V(be,null,xe(g.options,(L,z)=>{var T,W;return h(),V("div",{key:L.path,ref_for:!0,ref:"resultItemRef"+z,class:"result-item dark:bg-[#1d1d1d]",style:ne(p.value(L)),onClick:_,onMouseenter:N=>b(L)},[(h(),O(He(n(Ae)(((T=L.meta)==null?void 0:T.icon)??n(to))))),m("span",oo,ee(n(_e)((W=L.meta)==null?void 0:W.title)),1),r(n(Ut))],44,no)}),128))],512))}});const lo=pe(ao,[["__scopeId","data-v-f0aabde6"]]),so={width:24,height:24,body:''},ro={width:24,height:24,body:''},io={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--mdi",viewBox:"0 0 24 24"},co=m("path",{fill:"currentColor",d:"M1 7h6v2H3v2h4v2H3v2h4v2H1V7m10 0h4v2h-4v2h2a2 2 0 0 1 2 2v2c0 1.11-.89 2-2 2H9v-2h4v-2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2m8 0h2a2 2 0 0 1 2 2v1h-2V9h-2v6h2v-1h2v1c0 1.11-.89 2-2 2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2Z"},null,-1),uo=[co];function ho(t,e){return h(),V("svg",io,uo)}const fo={render:ho},po={class:"search-footer text-[#333] dark:text-white"},vo={class:"search-footer-item"},mo={class:"search-footer-item"},_o={class:"search-footer-item"},go={key:0,class:"search-footer-total"},yo=le({__name:"SearchFooter",props:{total:{default:0}},setup(t){const e=t,{device:o}=Me();return(a,c)=>{const i=k("IconifyIconOffline");return h(),V("div",po,[m("span",vo,[r(n(Ut),{class:"icon"}),oe(" 确认 ")]),m("span",mo,[r(i,{icon:n(so),class:"icon"},null,8,["icon"]),r(i,{icon:n(ro),class:"icon"},null,8,["icon"]),oe(" 切换 ")]),m("span",_o,[r(n(fo),{class:"icon"}),oe(" 关闭 ")]),n(o)!=="mobile"&&e.total>0?(h(),V("p",go," 共"+ee(e.total)+"项 ",1)):Y("",!0)])}}});const bo=pe(yo,[["__scopeId","data-v-d2a25abb"]]),wo={width:24,height:24,body:''},ko={class:"search-result-container"},xo=le({__name:"SearchModal",props:{value:{type:Boolean}},emits:["update:value"],setup(t,{emit:e}){const o=t,{device:a}=Me(),c=lt(),{locale:i}=sn(),d=E(""),p=E(),y=E(),b=E(""),_=E(null),f=rn([]),M=un(z,300),g=B(()=>cn(ye().wholeMenus)),w=B({get(){return o.value},set(A){e("update:value",A)}});function L(A){const I=[];function R(S){S.forEach(j=>{I.push(j),j.children&&R(j.children)})}return R(A),I}function z(){var I;const A=L(g.value);f.value=A.filter(R=>{var S,j;return d.value?_e((S=R.meta)==null?void 0:S.title).toLocaleLowerCase().includes(d.value.toLocaleLowerCase().trim())||i.value==="zh"&&!Ne(Ln(_e((j=R.meta)==null?void 0:j.title).toLocaleLowerCase(),d.value.toLocaleLowerCase().trim())):!1}),((I=f.value)==null?void 0:I.length)>0?b.value=f.value[0].path:b.value=""}function T(){w.value=!1,setTimeout(()=>{f.value=[],d.value=""},200)}function W(A){const I=y.value.handleScroll(A);p.value.setScrollTop(I)}function N(){const{length:A}=f.value;if(A===0)return;const I=f.value.findIndex(R=>R.path===b.value);I===0?(b.value=f.value[A-1].path,W(f.value.length-1)):(b.value=f.value[I-1].path,W(I-1))}function $(){const{length:A}=f.value;if(A===0)return;const I=f.value.findIndex(R=>R.path===b.value);I+1===A?b.value=f.value[0].path:b.value=f.value[I+1].path,W(I+1)}function C(){const{length:A}=f.value;A===0||b.value===""||(c.push(b.value),T())}return ft("Enter",C),ft("ArrowUp",N),ft("ArrowDown",$),(A,I)=>{const R=k("IconifyIconOffline"),S=k("el-input"),j=k("el-empty"),fe=k("el-scrollbar"),G=k("el-dialog");return h(),O(G,{top:"5vh",class:"pure-search-dialog",modelValue:w.value,"onUpdate:modelValue":I[2]||(I[2]=X=>w.value=X),"show-close":!1,width:n(a)==="mobile"?"80vw":"40vw","before-close":T,style:{borderRadius:"6px"},"append-to-body":"",onOpened:I[3]||(I[3]=X=>_.value.focus()),onClosed:I[4]||(I[4]=X=>_.value.blur())},{footer:v(()=>[r(bo,{total:f.value.length},null,8,["total"])]),default:v(()=>[r(S,{ref_key:"inputRef",ref:_,size:"large",modelValue:d.value,"onUpdate:modelValue":I[0]||(I[0]=X=>d.value=X),clearable:"",placeholder:"搜索菜单",onInput:n(M)},{prefix:v(()=>[r(R,{icon:n(wo),class:"text-primary w-[24px] h-[24px]"},null,8,["icon"])]),_:1},8,["modelValue","onInput"]),m("div",ko,[r(fe,{ref_key:"scrollbarRef",ref:p,"max-height":"calc(90vh - 140px)"},{default:v(()=>[f.value.length===0?(h(),O(j,{key:0,description:"暂无搜索结果"})):(h(),O(lo,{key:1,ref_key:"resultRef",ref:y,value:b.value,"onUpdate:value":I[1]||(I[1]=X=>b.value=X),options:f.value,onClick:C},null,8,["value","options"]))]),_:1},512)])]),_:1},8,["modelValue","width"])}}});const Co=pe(xo,[["__scopeId","data-v-2b175c51"]]);function $o(t=!1){const e=E(t);function o(d){e.value=d}function a(){o(!0)}function c(){o(!1)}function i(){o(!e.value)}return{bool:e,setBool:o,setTrue:a,setFalse:c,toggle:i}}const Mt=le({__name:"index",setup(t){const{bool:e,toggle:o}=$o();function a(){o()}return(c,i)=>{const d=k("IconifyIconOffline");return h(),V(be,null,[m("div",{class:"search-container w-[40px] h-[48px] flex-c cursor-pointer navbar-bg-hover",onClick:a},[r(d,{icon:n(Hn)},null,8,["icon"])]),r(n(Co),{value:n(e),"onUpdate:value":i[0]||(i[0]=p=>Pt(e)?e.value=p:null)},null,8,["value"])],64)}}}),Ot=[{key:"1",name:"通知",list:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png",title:"你收到了 12 份新周报",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png",title:"你推荐的 前端高手 已通过第三轮面试",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png",title:"这种模板可以区分多种通知类型",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png",title:"展示标题内容超过一行后的处理方式,如果内容超过1行将自动截断并支持tooltip显示完整标题。",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png",title:"左侧图标用于区分不同的类型",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png",title:"左侧图标用于区分不同的类型",datetime:"一年前",description:"",type:"1"}]},{key:"2",name:"消息",list:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg",title:"李白 评论了你",description:"长风破浪会有时,直挂云帆济沧海",datetime:"一年前",type:"2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg",title:"李白 回复了你",description:"行路难,行路难,多歧路,今安在。",datetime:"一年前",type:"2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg",title:"标题",description:"请将鼠标移动到此处,以便测试超长的消息在此处将如何处理。本例中设置的描述最大行数为2,超过2行的描述内容将被省略并且可以通过tooltip查看完整内容",datetime:"一年前",type:"2"}]},{key:"3",name:"代办",list:[{avatar:"",title:"任务名称",description:"任务需要在 2022-11-16 20:00 前启动",datetime:"",extra:"未开始",status:"info",type:"3"},{avatar:"",title:"第三方紧急代码变更",description:"一拳提交于 2022-11-16,需在 2022-11-18 前完成代码变更任务",datetime:"",extra:"马上到期",status:"danger",type:"3"},{avatar:"",title:"信息安全考试",description:"指派小仙于 2022-12-12 前完成更新并发布",datetime:"",extra:"已耗时 8 天",status:"warning",type:"3"},{avatar:"",title:"vue-pure-admin 版本发布",description:"vue-pure-admin 版本发布",datetime:"",extra:"进行中",type:"3"}]}],So={class:"notice-container border-b-[1px] border-solid border-[#f0f0f0] dark:border-[#303030]"},Io={class:"notice-container-text"},Mo={class:"notice-text-title text-[#000000d9] dark:text-white"},To={class:"notice-text-datetime text-[#00000073] dark:text-white"},Vo=le({__name:"noticeItem",props:{noticeItem:{type:Object,default:()=>{}}},setup(t){const e=t,o=E(null),a=E(!1),c=E(null),i=E(!1),{tooltipEffect:d}=Me(),p=Rt();function y(){je(()=>{var _,f;((_=o.value)==null?void 0:_.scrollWidth)>((f=o.value)==null?void 0:f.clientWidth)?a.value=!0:a.value=!1})}function b(_,f){const M=document.createElement("span");M.innerText=f,M.className="getDescriptionWidth",document.querySelector("body").appendChild(M);const g=document.querySelector(".getDescriptionWidth").offsetWidth;document.querySelector(".getDescriptionWidth").remove();const w=_.target.offsetWidth;g>2*w?i.value=!0:i.value=!1}return(_,f)=>{var L,z;const M=k("el-avatar"),g=k("el-tooltip"),w=k("el-tag");return h(),V("div",So,[e.noticeItem.avatar?(h(),O(M,{key:0,size:30,src:e.noticeItem.avatar,class:"notice-container-avatar"},null,8,["src"])):Y("",!0),m("div",Io,[m("div",Mo,[r(g,{"popper-class":"notice-title-popper",effect:n(d),disabled:!a.value,content:e.noticeItem.title,placement:"top-start",enterable:!n(p)},{default:v(()=>[m("div",{ref_key:"titleRef",ref:o,class:"notice-title-content",onMouseover:y},ee(e.noticeItem.title),545)]),_:1},8,["effect","disabled","content","enterable"]),(L=e.noticeItem)!=null&&L.extra?(h(),O(w,{key:0,type:(z=e.noticeItem)==null?void 0:z.status,size:"small",class:"notice-title-extra"},{default:v(()=>{var T;return[oe(ee((T=e.noticeItem)==null?void 0:T.extra),1)]}),_:1},8,["type"])):Y("",!0)]),r(g,{"popper-class":"notice-title-popper",effect:n(d),disabled:!i.value,content:e.noticeItem.description,placement:"top-start"},{default:v(()=>[m("div",{ref_key:"descriptionRef",ref:c,class:"notice-text-description",onMouseover:f[0]||(f[0]=T=>b(T,e.noticeItem.description))},ee(e.noticeItem.description),545)]),_:1},8,["effect","disabled","content"]),m("div",To,ee(e.noticeItem.datetime),1)])])}}});const zo=pe(Vo,[["__scopeId","data-v-2a7dbc48"]]),Lo={key:0},Ao=le({__name:"noticeList",props:{list:{type:Array,default:()=>[]}},setup(t){const e=t;return(o,a)=>{const c=k("el-empty");return e.list.length?(h(),V("div",Lo,[(h(!0),V(be,null,xe(e.list,(i,d)=>(h(),O(zo,{noticeItem:i,key:d},null,8,["noticeItem"]))),128))])):(h(),O(c,{key:1,description:"暂无数据"}))}}}),Ho={width:1024,height:1024,body:''},Eo={class:"dropdown-badge navbar-bg-hover select-none"},Oo={class:"header-notice-icon"},Zo={key:1},Do={class:"noticeList-container"},Po=le({__name:"index",setup(t){const e=E(0),o=E(Ot),a=E(Ot[0].key);return o.value.map(c=>e.value+=c.list.length),(c,i)=>{const d=k("IconifyIconOffline"),p=k("el-badge"),y=k("el-empty"),b=k("el-scrollbar"),_=k("el-tab-pane"),f=k("el-tabs"),M=k("el-dropdown-menu"),g=k("el-dropdown");return h(),O(g,{trigger:"click",placement:"bottom-end"},{dropdown:v(()=>[r(M,null,{default:v(()=>[r(f,{stretch:!0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=w=>a.value=w),class:"dropdown-tabs",style:ne({width:o.value.length===0?"200px":"330px"})},{default:v(()=>[o.value.length===0?(h(),O(y,{key:0,description:"暂无消息","image-size":60})):(h(),V("span",Zo,[(h(!0),V(be,null,xe(o.value,w=>(h(),O(_,{key:w.key,label:`${w.name}(${w.list.length})`,name:`${w.key}`},{default:v(()=>[r(b,{"max-height":"330px"},{default:v(()=>[m("div",Do,[r(Ao,{list:w.list},null,8,["list"])])]),_:2},1024)]),_:2},1032,["label","name"]))),128))]))]),_:1},8,["modelValue","style"])]),_:1})]),default:v(()=>[m("span",Eo,[r(p,{value:e.value,max:99},{default:v(()=>[m("span",Oo,[r(d,{icon:n(Ho)},null,8,["icon"])])]),_:1},8,["value"])])]),_:1})}}});const Tt=pe(Po,[["__scopeId","data-v-f8beaa07"]]),Ro={key:0,class:"flex justify-center items-center"},vt=le({__name:"extraIcon",props:{extraIcon:{type:String,default:""}},setup(t){const e=t;return(o,a)=>e.extraIcon?(h(),V("div",Ro,[(h(),O(He(n(Ae)(ke(e.extraIcon))),{class:"w-[30px] h-[30px]"}))])):Y("",!0)}}),ct={width:24,height:24,body:''},jo={key:0,class:"horizontal-header"},qo={class:"select-none"},Bo={class:"horizontal-header-right"},No={class:"check-zh"},Fo={class:"check-en"},Uo={class:"el-dropdown-link navbar-bg-hover select-none"},Wo=["src"],Go={key:0,class:"dark:text-white"},Jo=["title"],Ko=le({__name:"mixNav",setup(t){const e=E(),o=E(null),{t:a,route:c,locale:i,translationCh:d,translationEn:p}=$t(e),{device:y,logout:b,onPanel:_,resolvePath:f,username:M,userAvatar:g,getDivStyle:w,avatarsStyle:L,getDropdownItemStyle:z,getDropdownItemClass:T}=Me();function W(N){var A,I,R;const $=ye().wholeMenus,C=yt(N,$)[0];o.value=Ne((A=c.meta)==null?void 0:A.activePath)?(R=(I=ot(C,$))==null?void 0:I.children[0])==null?void 0:R.path:c.meta.activePath}return qe(()=>{W(c.path)}),je(()=>{var N;(N=e.value)==null||N.handleResize()}),Ue(()=>[c.path,ye().wholeMenus],()=>{W(c.path)}),(N,$)=>{const C=k("el-menu-item"),A=k("el-menu"),I=k("IconifyIconOffline"),R=k("el-dropdown-item"),S=k("el-dropdown-menu"),j=k("el-dropdown"),fe=gt("loading");return n(y)!=="mobile"?ve((h(),V("div",jo,[r(A,{router:"",ref_key:"menuRef",ref:e,mode:"horizontal",class:"horizontal-header-menu","default-active":o.value},{default:v(()=>[(h(!0),V(be,null,xe(n(ye)().wholeMenus,G=>(h(),O(C,{key:G.path,index:n(f)(G)||G.redirect},{title:v(()=>[ke(G.meta.icon)?(h(),V("div",{key:0,class:se(["sub-menu-icon",G.meta.icon])},[(h(),O(He(n(Ae)(G.meta&&ke(G.meta.icon)))))],2)):Y("",!0),m("div",{style:ne(n(w))},[m("span",qo,ee(n(_e)(G.meta.title)),1),r(vt,{extraIcon:G.meta.extraIcon},null,8,["extraIcon"])],4)]),_:2},1032,["index"]))),128))]),_:1},8,["default-active"]),m("div",Bo,[r(Mt),r(Tt,{id:"header-notice"}),r(j,{id:"header-translation",trigger:"click"},{dropdown:v(()=>[r(S,{class:"translation"},{default:v(()=>[r(R,{style:ne(n(z)(n(i),"zh")),class:se(["dark:!text-white",n(T)(n(i),"zh")]),onClick:n(d)},{default:v(()=>[ve(m("span",No,[r(I,{icon:n(We)},null,8,["icon"])],512),[[Ce,n(i)==="zh"]]),oe(" 简体中文 ")]),_:1},8,["style","class","onClick"]),r(R,{style:ne(n(z)(n(i),"en")),class:se(["dark:!text-white",n(T)(n(i),"en")]),onClick:n(p)},{default:v(()=>[ve(m("span",Fo,[r(I,{icon:n(We)},null,8,["icon"])],512),[[Ce,n(i)==="en"]]),oe(" English ")]),_:1},8,["style","class","onClick"])]),_:1})]),default:v(()=>[r(n(St),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),r(j,{trigger:"click"},{dropdown:v(()=>[r(S,{class:"logout"},{default:v(()=>[r(R,{onClick:n(b)},{default:v(()=>[r(I,{icon:n(ct),style:{margin:"5px"}},null,8,["icon"]),oe(" "+ee(n(a)("buttons.hsLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:v(()=>[m("span",Uo,[m("img",{src:n(g),style:ne(n(L))},null,12,Wo),n(M)?(h(),V("p",Go,ee(n(M)),1)):Y("",!0)])]),_:1}),m("span",{class:"set-icon navbar-bg-hover",title:n(a)("buttons.hssystemSet"),onClick:$[0]||($[0]=(...G)=>n(_)&&n(_)(...G))},[r(I,{icon:n(it)},null,8,["icon"])],8,Jo)])])),[[fe,n(ye)().wholeMenus.length===0]]):Y("",!0)}}});const Xo=pe(Ko,[["__scopeId","data-v-756f1729"]]),Yo=["onClick"],Qo=le({__name:"breadCrumb",setup(t){const e=bt(),o=E([]),a=lt(),c=a.options.routes,i=Ve().multiTags,d=()=>{let y;Object.keys(e.query).length>0?i.forEach(f=>{Fe(e.query,f==null?void 0:f.query)&&(y=ke(f))}):Object.keys(e.params).length>0?i.forEach(f=>{Fe(e.params,f==null?void 0:f.params)&&(y=ke(f))}):y=ot(a.currentRoute.value.path,c);const b=yt(a.currentRoute.value.name,c,"name"),_=[];b.forEach(f=>{f!=="/"&&_.push(ot(f,c))}),_.push(y),_.forEach((f,M)=>{y!=null&&y.query||y!=null&&y.params||f!=null&&f.children&&f.children.forEach(g=>{var w,L;((w=g==null?void 0:g.meta)==null?void 0:w.title)===((L=f==null?void 0:f.meta)==null?void 0:L.title)&&_.splice(M,1)})}),o.value=_.filter(f=>(f==null?void 0:f.meta)&&(f==null?void 0:f.meta.title)!==!1)},p=y=>{const{redirect:b,path:_}=y;b?a.push(b):a.push(_)};return qe(()=>{d()}),Ue(()=>e.path,()=>{d()},{deep:!0}),(y,b)=>{const _=k("el-breadcrumb-item"),f=k("el-breadcrumb");return h(),O(f,{class:"!leading-[50px] select-none",separator:"/"},{default:v(()=>[r(dn,{name:"breadcrumb"},{default:v(()=>[(h(!0),V(be,null,xe(o.value,M=>(h(),O(_,{class:"!inline !items-stretch",key:M.path},{default:v(()=>[m("a",{onClick:Je(g=>p(M),["prevent"])},ee(n(_e)(M.meta.title)),9,Yo)]),_:2},1024))),128))]),_:1})]),_:1})}}}),Wt={width:24,height:24,body:''},ea={width:24,height:24,body:''},ta=["title"],na=le({__name:"topCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(t,{emit:e}){const o=t,a=()=>{e("toggleClick")};return(c,i)=>{const d=k("IconifyIconOffline");return h(),V("div",{class:"px-3 mr-1 navbar-bg-hover",title:o.isActive?"点击折叠":"点击展开",onClick:a},[r(d,{icon:o.isActive?n(Wt):n(ea),class:"inline-block align-middle hover:text-primary dark:hover:!text-white"},null,8,["icon"])],8,ta)}}}),oa={class:"navbar bg-[#fff] shadow-sm shadow-[rgba(0, 21, 41, 0.08)] dark:shadow-[#0d0d0d]"},aa={key:3,class:"vertical-header-right"},la={class:"check-en"},sa={class:"el-dropdown-link navbar-bg-hover select-none"},ra=["src"],ia={key:0,class:"dark:text-white"},ca=["title"],ua=le({__name:"navbar",setup(t){const{layout:e,device:o,logout:a,onPanel:c,pureApp:i,username:d,userAvatar:p,avatarsStyle:y,toggleSideBar:b,getDropdownItemStyle:_,getDropdownItemClass:f}=Me(),{t:M,locale:g,translationCh:w,translationEn:L}=$t();return(z,T)=>{const W=k("IconifyIconOffline"),N=k("el-dropdown-item"),$=k("el-dropdown-menu"),C=k("el-dropdown");return h(),V("div",oa,[n(o)==="mobile"?(h(),O(na,{key:0,class:"hamburger-container","is-active":n(i).sidebar.opened,onToggleClick:n(b)},null,8,["is-active","onToggleClick"])):Y("",!0),n(e)!=="mix"&&n(o)!=="mobile"?(h(),O(Qo,{key:1,class:"breadcrumb-container"})):Y("",!0),n(e)==="mix"?(h(),O(Xo,{key:2})):Y("",!0),n(e)==="vertical"?(h(),V("div",aa,[r(Mt),r(Tt,{id:"header-notice"}),r(C,{id:"header-translation",trigger:"click"},{dropdown:v(()=>[r($,{class:"translation"},{default:v(()=>[r(N,{style:ne(n(_)(n(g),"zh")),class:se(["dark:!text-white",n(f)(n(g),"zh")]),onClick:n(w)},{default:v(()=>[ve(r(W,{class:"check-zh",icon:n(We)},null,8,["icon"]),[[Ce,n(g)==="zh"]]),oe(" 简体中文 ")]),_:1},8,["style","class","onClick"]),r(N,{style:ne(n(_)(n(g),"en")),class:se(["dark:!text-white",n(f)(n(g),"en")]),onClick:n(L)},{default:v(()=>[ve(m("span",la,[r(W,{icon:n(We)},null,8,["icon"])],512),[[Ce,n(g)==="en"]]),oe(" English ")]),_:1},8,["style","class","onClick"])]),_:1})]),default:v(()=>[r(n(St),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),r(C,{trigger:"click"},{dropdown:v(()=>[r($,{class:"logout"},{default:v(()=>[r(N,{onClick:n(a)},{default:v(()=>[r(W,{icon:n(ct),style:{margin:"5px"}},null,8,["icon"]),oe(" "+ee(n(M)("buttons.hsLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:v(()=>[m("span",sa,[m("img",{src:n(p),style:ne(n(y))},null,12,ra),n(d)?(h(),V("p",ia,ee(n(d)),1)):Y("",!0)])]),_:1}),m("span",{class:"set-icon navbar-bg-hover",title:n(M)("buttons.hssystemSet"),onClick:T[0]||(T[0]=(...A)=>n(c)&&n(c)(...A))},[r(W,{icon:n(it)},null,8,["icon"])],8,ca)])):Y("",!0)])}}});const da=pe(ua,[["__scopeId","data-v-fc735608"]]),ha={width:24,height:24,body:''},fa={width:24,height:24,body:''},pa={width:24,height:24,body:''},va={width:24,height:24,body:''},Gt={width:1024,height:1024,body:''};function ma(){var R;const t=bt(),e=lt(),o=Dt(),a=It(),c=E(0),i=E(0),d=E(0),p=E(!1),y=E(-1),b=E({}),_=E(((R=Ge().getItem(`${Ke()}configure`))==null?void 0:R.showModel)||"smart"),f=E(Ge().getItem(`${Ke()}configure`).hideTabs)??E("false"),M=B(()=>Ve().multiTags),g=wt([{icon:En,text:me("buttons.hsreload"),divided:!1,disabled:!1,show:!0},{icon:Gt,text:me("buttons.hscloseCurrentTab"),divided:!1,disabled:!(M.value.length>1),show:!0},{icon:va,text:me("buttons.hscloseLeftTabs"),divided:!0,disabled:!(M.value.length>1),show:!0},{icon:pa,text:me("buttons.hscloseRightTabs"),divided:!1,disabled:!(M.value.length>1),show:!0},{icon:fa,text:me("buttons.hscloseOtherTabs"),divided:!0,disabled:!(M.value.length>2),show:!0},{icon:ha,text:me("buttons.hscloseAllTabs"),divided:!1,disabled:!(M.value.length>1),show:!0},{icon:Qe,text:me("buttons.hswholeFullScreen"),divided:!0,disabled:!1,show:!0},{icon:Qe,text:me("buttons.hscontentFullScreen"),divided:!1,disabled:!1,show:!0}]);function w(S,j,fe){var G,X;return fn((G=t==null?void 0:t.meta)==null?void 0:G.showLink)&&((X=t==null?void 0:t.meta)==null?void 0:X.showLink)===!1?Object.keys(t.query).length>0?Fe(t.query,S.query)?j:fe:Fe(t.params,S.params)?j:fe:t.path===S.path?j:fe}const L=B(()=>(S,j)=>{if(j!==0)return w(S,!0,!1)}),z=B(()=>S=>w(S,"is-active","")),T=B(()=>S=>w(S,"schedule-active","")),W=B(()=>({transform:`translateX(${d.value}px)`})),N=B(()=>({left:i.value+"px",top:c.value+"px"})),$=()=>{p.value=!1};function C(S){if(S&&(y.value=S),n(_)==="smart"){if(nt(o.refs["schedule"+S][0],"schedule-active"))return;Pe(!0,"schedule-in",o.refs["schedule"+S][0]),Pe(!1,"schedule-out",o.refs["schedule"+S][0])}else{if(nt(o.refs["dynamic"+S][0],"card-active"))return;Pe(!0,"card-in",o.refs["dynamic"+S][0]),Pe(!1,"card-out",o.refs["dynamic"+S][0])}}function A(S){if(y.value=-1,n(_)==="smart"){if(nt(o.refs["schedule"+S][0],"schedule-active"))return;Pe(!1,"schedule-in",o.refs["schedule"+S][0]),Pe(!0,"schedule-out",o.refs["schedule"+S][0])}else{if(nt(o.refs["dynamic"+S][0],"card-active"))return;Pe(!1,"card-in",o.refs["dynamic"+S][0]),Pe(!0,"card-out",o.refs["dynamic"+S][0])}}function I(){a.hiddenSideBar?a.changeSetting({key:"hiddenSideBar",value:!1}):a.changeSetting({key:"hiddenSideBar",value:!0})}return qe(()=>{if(!_.value){const S=Ge().getItem(`${Ke()}configure`);S.showModel="card",Ge().setItem(`${Ke()}configure`,S)}}),Ue(()=>p.value,()=>{hn(document,"click",$)}),{route:t,router:e,visible:p,showTags:f,instance:o,multiTags:M,showModel:_,tagsViews:g,buttonTop:c,buttonLeft:i,translateX:d,pureSetting:a,activeIndex:y,getTabStyle:W,iconIsActive:L,linkIsActive:z,currentSelect:b,scheduleIsActive:T,getContextMenuStyle:N,$t:me,closeMenu:$,onMounted:qe,onMouseenter:C,onMouseleave:A,transformI18n:_e,onContentFullScreen:I}}const _a={width:24,height:24,body:''},ga={width:24,height:24,body:''},ya={width:1024,height:1024,body:''},ba={class:"arrow-left"},wa=["onContextmenu","onMouseenter","onMouseleave","onClick"],ka=["onClick"],xa={class:"arrow-right"},Ca=["onClick"],$a={class:"arrow-down"},Sa=le({__name:"index",setup(t){var At;const{route:e,router:o,visible:a,showTags:c,instance:i,multiTags:d,tagsViews:p,buttonTop:y,buttonLeft:b,showModel:_,translateX:f,pureSetting:M,activeIndex:g,getTabStyle:w,iconIsActive:L,linkIsActive:z,currentSelect:T,scheduleIsActive:W,getContextMenuStyle:N,closeMenu:$,onMounted:C,onMouseenter:A,onMouseleave:I,transformI18n:R,onContentFullScreen:S}=ma(),j=E(),fe=E(),G=E(),X=E(!1),Te=(At=at())==null?void 0:At.path,{VITE_HIDE_HOME:Ee}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},{isFullscreen:Oe,toggle:s}=pn(),l=async()=>{await je();const x=d.value.findIndex(H=>Ne(e.query)?Ne(e.params)?e.path===H.path:Fe(e.params,H.params):Fe(e.query,H.query));u(x)},u=async x=>{var Q,ue;await je();const H=10;if(!i.refs["dynamic"+x])return;const D=i.refs["dynamic"+x][0],J=D==null?void 0:D.offsetLeft,ce=D==null?void 0:D.offsetWidth,P=G.value?(Q=G.value)==null?void 0:Q.offsetWidth:0,re=j.value?(ue=j.value)==null?void 0:ue.offsetWidth:0;P<=re?X.value=!0:X.value=!1,re-f.value&&J+ce<-f.value+P?f.value=Math.min(0,P-ce-J-H):f.value=-(J-(P-H-ce))},Z=x=>{var J;const H=G.value?(J=G.value)==null?void 0:J.offsetWidth:0,D=j.value?j.value.offsetWidth:0;x>0?f.value=Math.min(0,f.value+x):H=-(D-H)&&(f.value=Math.max(f.value+x,H-D)):f.value=0};function F(x){const H=d.value.some(J=>J.path===x);function D(J,ce){H||J.forEach(P=>{P.path===ce||P.path===ce?Ve().handleTags("push",{path:ce,meta:P.meta,name:P.name}):P.children&&P.children.length>0&&D(P.children,ce)})}D(o.options.routes,x)}function q(){const{fullPath:x,query:H}=n(e);o.replace({path:"/redirect"+x,query:H}),pt(e,"refresh")}function U(x,H,D){var re,Q,ue,Le;const J=d.value.findIndex(Se=>{if(Se.query){if(Se.path===x.path)return Se.query===x.query}else if(Se.params){if(Se.path===x.path)return Se.params===x.params}else return Se.path===x.path}),ce=(Se,nn,on)=>{on?Ve().handleTags("equal",[Ee==="false"?jt[0]:ke(at()),x]):Ve().handleTags("splice","",{startIndex:Se,length:nn}),l()};D==="other"?ce(1,1,!0):D==="left"?ce(1,J-1):D==="right"?ce(J+1,d.value.length):ce(J,1);const P=Ve().handleTags("slice");if(H===e.path){if(D==="left")return;(re=P[0])!=null&&re.query?o.push({name:P[0].name,query:P[0].query}):(Q=P[0])!=null&&Q.params?o.push({name:P[0].name,params:P[0].params}):o.push({path:P[0].path})}else{if(!d.value.length||d.value.some(Se=>Se.path===e.path))return;(ue=P[0])!=null&&ue.query?o.push({name:P[0].name,query:P[0].query}):(Le=P[0])!=null&&Le.params?o.push({name:P[0].name,params:P[0].params}):o.push({path:P[0].path})}}function K(x,H){U(x,x.path,H),pt(e)}function ae(x,H,D){if(H&&H.disabled)return;let J;switch(D?J={path:D.path,meta:D.meta,name:D.name,query:D==null?void 0:D.query,params:D==null?void 0:D.params}:J={path:e.path,meta:e.meta},x){case 0:q();break;case 1:K(J);break;case 2:K(J,"left");break;case 3:K(J,"right");break;case 4:K(J,"other");break;case 5:Ve().handleTags("splice","",{startIndex:1,length:d.value.length}),o.push(Te),pt(e);break;case 6:s(),setTimeout(()=>{Oe.value?(p[6].icon=Ht,p[6].text=me("buttons.hswholeExitFullScreen")):(p[6].icon=Qe,p[6].text=me("buttons.hswholeFullScreen"))},100);break;case 7:S(),setTimeout(()=>{M.hiddenSideBar?(p[7].icon=Ht,p[7].text=me("buttons.hscontentExitFullScreen")):(p[7].icon=Qe,p[7].text=me("buttons.hscontentFullScreen"))},100);break}setTimeout(()=>{De(e.fullPath,e.query)})}function we(x){const{key:H,item:D}=x;ae(H,D)}function Ze(x,H){ae(x,H,T.value)}function te(x){Array.of(1,2,3,4,5).forEach(H=>{p[H].show=x})}function ze(x){Array.of(1,2,3,4,5).forEach(H=>{p[H].disabled=x})}function De(x,H={},D=!1){const J=d.value,ce=d.value.length;let P=-1;Ne(H)?P=J.findIndex(re=>re.path===x):P=J.findIndex(re=>Fe(re.query,H)),te(!0),D&&(p[0].show=!0),P===1&&ce!==2?(p[2].show=!1,Array.of(1,3,4,5).forEach(re=>{p[re].disabled=!1}),p[2].disabled=!0):P===1&&ce===2?(ze(!1),Array.of(2,3,4).forEach(re=>{p[re].show=!1,p[re].disabled=!0})):ce-1===P&&P!==0?(p[3].show=!1,Array.of(1,2,4,5).forEach(re=>{p[re].disabled=!1}),p[3].disabled=!0):P===0||x===`/redirect${Te}`?ze(!0):ze(!1)}function en(x,H){$(),x.path===Te?(te(!1),p[0].show=!0):e.path!==x.path&&e.name!==x.name?(p[0].show=!1,De(x.path,x.query)):d.value.length===2&&e.path!==x.path?(te(!0),p[4].show=!1):e.path===x.path&&De(x.path,x.query,!0),T.value=x;const D=105,J=n(fe).getBoundingClientRect().left,P=n(fe).offsetWidth-D,re=H.clientX-J+5;re>P?b.value=P:b.value=re,It().hiddenSideBar?y.value=H.clientY:y.value=H.clientY-40,je(()=>{a.value=!0})}function tn(x){const{name:H,path:D}=x;H?x.query?o.push({name:H,query:x.query}):x.params?o.push({name:H,params:x.params}):o.push({name:H}):o.push({path:D})}return Ue(e,()=>{g.value=-1,l()}),Ue(Oe,()=>{p[6].icon=Qe,p[6].text=me("buttons.hswholeFullScreen")}),C(()=>{i&&(De(e.fullPath),ge.on("tagViewsChange",x=>{n(c)!==x&&(c.value=x)}),ge.on("tagViewsShowModel",x=>{_.value=x}),ge.on("changLayoutRoute",x=>{F(x),setTimeout(()=>{De(x)})}),_t(G,Be(()=>l())))}),kt(()=>{ge.off("tagViewsChange"),ge.off("tagViewsShowModel"),ge.off("changLayoutRoute")}),(x,H)=>{const D=k("IconifyIconOffline"),J=k("router-link"),ce=k("el-dropdown-item"),P=k("el-dropdown-menu"),re=k("el-dropdown");return n(c)?Y("",!0):(h(),V("div",{key:0,ref_key:"containerDom",ref:fe,class:"tags-view"},[ve(m("span",ba,[r(D,{icon:n(ga),onClick:H[0]||(H[0]=Q=>Z(200))},null,8,["icon"])],512),[[Ce,X.value]]),m("div",{ref_key:"scrollbarDom",ref:G,class:"scroll-container"},[m("div",{class:"tab select-none",ref_key:"tabDom",ref:j,style:ne(n(w))},[(h(!0),V(be,null,xe(n(d),(Q,ue)=>(h(),V("div",{ref_for:!0,ref:"dynamic"+ue,key:ue,class:se(["scroll-item is-closable",n(z)(Q),n(e).path===Q.path&&n(_)==="card"?"card-active":""]),onContextmenu:Je(Le=>en(Q,Le),["prevent"]),onMouseenter:Je(Le=>n(A)(ue),["prevent"]),onMouseleave:Je(Le=>n(I)(ue),["prevent"]),onClick:Le=>tn(Q)},[r(J,{to:Q.path,class:"dark:!text-text_color_primary dark:hover:!text-primary"},{default:v(()=>[oe(ee(n(R)(Q.meta.title)),1)]),_:2},1032,["to"]),n(L)(Q,ue)||ue===n(g)&&ue!==0?(h(),V("span",{key:0,class:"el-icon-close",onClick:Je(Le=>K(Q),["stop"])},[r(D,{icon:n(ya)},null,8,["icon"])],8,ka)):Y("",!0),n(_)!=="card"?(h(),V("div",{key:1,ref_for:!0,ref:"schedule"+ue,class:se([n(W)(Q)])},null,2)):Y("",!0)],42,wa))),128))],4)],512),ve(m("span",xa,[r(D,{icon:n(On),onClick:H[1]||(H[1]=Q=>Z(-200))},null,8,["icon"])],512),[[Ce,X.value]]),r(xt,{name:"el-zoom-in-top"},{default:v(()=>[ve((h(),V("ul",{key:Math.random(),style:ne(n(N)),class:"contextmenu"},[(h(!0),V(be,null,xe(n(p).slice(0,6),(Q,ue)=>(h(),V("div",{key:ue,style:{display:"flex","align-items":"center"}},[Q.show?(h(),V("li",{key:0,onClick:Le=>Ze(ue,Q)},[r(D,{icon:Q.icon},null,8,["icon"]),oe(" "+ee(n(R)(Q.text)),1)],8,Ca)):Y("",!0)]))),128))],4)),[[Ce,n(a)]])]),_:1}),r(re,{trigger:"click",placement:"bottom-end",onCommand:we},{dropdown:v(()=>[r(P,null,{default:v(()=>[(h(!0),V(be,null,xe(n(p),(Q,ue)=>(h(),O(ce,{key:ue,command:{key:ue,item:Q},divided:Q.divided,disabled:Q.disabled},{default:v(()=>[r(D,{icon:Q.icon},null,8,["icon"]),oe(" "+ee(n(R)(Q.text)),1)]),_:2},1032,["command","divided","disabled"]))),128))]),_:1})]),default:v(()=>[m("span",$a,[r(D,{icon:n(_a),class:"dark:text-white"},null,8,["icon"])])]),_:1})],512))}}});const Ia=pe(Sa,[["__scopeId","data-v-f981b547"]]),Ma={key:1},Ta=le({__name:"appMain",props:{fixedHeader:Boolean},setup(t){const e=t,{$storage:o,$config:a}=Ct(),c=B(()=>a==null?void 0:a.KeepAlive),i=B(()=>_=>_.meta.transition),d=B(()=>o==null?void 0:o.configure.hideTabs),p=B(()=>(o==null?void 0:o.layout.layout)==="vertical"),y=B(()=>[d.value&&p?"padding-top: 48px;":"",!d.value&&p?"padding-top: 85px;":"",d.value&&!p.value?"padding-top: 48px":"",!d.value&&!p.value?"padding-top: 85px;":"",e.fixedHeader?"":"padding-top: 0;"]),b=le({render(){return Xe(xt,{name:i.value(this.route)&&this.route.meta.transition.enterTransition?"pure-classes-transition":i.value(this.route)&&this.route.meta.transition.name||"fade-transform",enterActiveClass:i.value(this.route)&&`animate__animated ${this.route.meta.transition.enterTransition}`,leaveActiveClass:i.value(this.route)&&`animate__animated ${this.route.meta.transition.leaveTransition}`,mode:"out-in",appear:!0},{default:()=>[this.$slots.default()]})},props:{route:{type:void 0,required:!0}}});return(_,f)=>{const M=k("el-backtop"),g=k("el-scrollbar"),w=k("router-view");return h(),V("section",{class:se([e.fixedHeader?"app-main":"app-main-nofixed-header"]),style:ne(y.value)},[r(w,null,{default:v(({Component:L,route:z})=>[e.fixedHeader?(h(),O(g,{key:0},{default:v(()=>[r(M,{title:"回到顶部",target:".app-main .el-scrollbar__wrap"},{default:v(()=>[r(n(Ft))]),_:1}),r(n(b),{route:z},{default:v(()=>[c.value?(h(),O(Et,{key:0,include:n(ye)().cachePageList},[(h(),O(He(L),{key:z.fullPath,class:"main-content"}))],1032,["include"])):(h(),O(He(L),{key:z.fullPath,class:"main-content"}))]),_:2},1032,["route"])]),_:2},1024)):(h(),V("div",Ma,[r(n(b),{route:z},{default:v(()=>[c.value?(h(),O(Et,{key:0,include:n(ye)().cachePageList},[(h(),O(He(L),{key:z.fullPath,class:"main-content"}))],1032,["include"])):(h(),O(He(L),{key:z.fullPath,class:"main-content"}))]),_:2},1032,["route"])]))]),_:1})],6)}}});const Zt=pe(Ta,[["__scopeId","data-v-ac212d1d"]]),Vt=t=>(st("data-v-1b3eb871"),t=t(),rt(),t),Va=Vt(()=>m("div",{class:"right-panel-background"},null,-1)),za={class:"right-panel-items"},La={class:"project-configuration"},Aa=Vt(()=>m("h4",{class:"dark:text-white"},"项目配置",-1)),Ha=Vt(()=>m("div",{class:"border-b-[1px] border-solid border-[#dcdfe6] dark:border-[#303030]"},null,-1)),Ea=le({__name:"index",setup(t){const e=E(null),o=E(!1),a=B(()=>["mr-[20px]","outline-none","width-[20px]","height-[20px]","rounded-[4px]","cursor-pointer","transition-colors","hover:bg-[#0000000f]","dark:hover:bg-[#ffffff1f]","dark:hover:text-[#ffffffd9]"]);return vn(e,c=>{c.clientX>e.value.offsetLeft||(o.value=!1)}),qe(()=>{ge.on("openPanel",()=>{o.value=!0})}),kt(()=>{ge.off("openPanel")}),(c,i)=>{const d=k("IconifyIconOffline");return h(),V("div",{class:se([{show:o.value},"right-panel-container"])},[Va,m("div",{ref_key:"target",ref:e,class:"right-panel bg-bg_color"},[m("div",za,[m("div",La,[Aa,m("span",{title:"关闭配置",class:se(a.value)},[r(d,{class:"dark:text-white",width:"20px",height:"20px",icon:n(Gt),onClick:i[0]||(i[0]=p=>o.value=!o.value)},null,8,["icon"])],2)]),Ha,mn(c.$slots,"default",{},void 0,!0)])],512)],2)}}});const Oa=pe(Ea,[["__scopeId","data-v-1b3eb871"]]),$e=t=>(st("data-v-1ae80617"),t=t(),rt(),t),Za={class:"pure-theme"},Da=$e(()=>m("div",null,null,-1)),Pa=$e(()=>m("div",null,null,-1)),Ra=[Da,Pa],ja=$e(()=>m("div",null,null,-1)),qa=$e(()=>m("div",null,null,-1)),Ba=[ja,qa],Na=$e(()=>m("div",null,null,-1)),Fa=$e(()=>m("div",null,null,-1)),Ua=[Na,Fa],Wa={class:"theme-color"},Ga=["onClick"],Ja={class:"setting"},Ka=$e(()=>m("span",{class:"dark:text-white"},"灰色模式",-1)),Xa=$e(()=>m("span",{class:"dark:text-white"},"色弱模式",-1)),Ya=$e(()=>m("span",{class:"dark:text-white"},"隐藏标签页",-1)),Qa=$e(()=>m("span",{class:"dark:text-white"},"侧边栏Logo",-1)),el=$e(()=>m("span",{class:"dark:text-white"},"标签页持久化",-1)),tl=$e(()=>m("span",{class:"dark:text-white"},"标签风格",-1)),nl=le({__name:"index",setup(t){var Oe,s;const e=lt(),{isDark:o}=qt(),{device:a,tooltipEffect:c}=Me(),{$storage:i}=Ct(),d=E(),p=E(),y=E(),{dataTheme:b,layoutTheme:_,themeColors:f,dataThemeChange:M,setEpThemeColor:g,setLayoutThemeColor:w}=Nt();if(n(_)){const l=n(_).layout,u=n(_).theme;Mn({scopeName:`layout-theme-${u}`}),Ee(l)}const L=E(((Oe=i.configure)==null?void 0:Oe.showModel)??"smart"),z=E(((s=i.configure)==null?void 0:s.showLogo)??!0),T=wt({greyVal:i.configure.grey,weakVal:i.configure.weak,tabsVal:i.configure.hideTabs,showLogo:i.configure.showLogo,showModel:i.configure.showModel,multiTagsCache:i.configure.multiTagsCache}),W=B(()=>l=>({background:l})),N=B(()=>l=>!(l==="light"&&o.value));function $(l,u){const Z=i.configure;Z[l]=u,i.configure=Z}function C(l,u,Z){const F=Z||document.body;let{className:q}=F;q=q.replace(u,"").trim(),F.className=l?`${q} ${u} `:q}const A=l=>{C(T.greyVal,"html-grey",document.querySelector("html")),$("grey",l)},I=l=>{C(T.weakVal,"html-weakness",document.querySelector("html")),$("weak",l)},R=()=>{const l=T.tabsVal;$("hideTabs",l),ge.emit("tagViewsChange",l)},S=()=>{const l=T.multiTagsCache;$("multiTagsCache",l),Ve().multiTagsCacheChange(l)};function j(){_n(),Ge().clear(),gn().clear();const{Grey:l,Weak:u,MultiTagsCache:Z,EpThemeColor:F,Layout:q}=Ye();Re().setLayout(q),g(F),Ve().multiTagsCacheChange(Z),C(l,"html-grey",document.querySelector("html")),C(u,"html-weakness",document.querySelector("html")),e.push("/login"),Ve().handleTags("equal",[...jt]),yn()}function fe(l){$("showModel",l),ge.emit("tagViewsShowModel",l)}function G(){n(z)?$("showLogo",!0):$("showLogo",!1),ge.emit("logoChange",n(z))}function X(l){l.forEach(u=>{C(!1,"is-select",n(u))})}const Te=B(()=>l=>l===_.value.theme&&_.value.theme!=="light"?"#fff":l===_.value.theme&&_.value.theme==="light"?"#1d2b45":"transparent");function Ee(l){var u,Z,F;_.value.layout=l,window.document.body.setAttribute("layout",l),i.layout={layout:l,theme:_.value.theme,darkMode:(u=i.layout)==null?void 0:u.darkMode,sidebarStatus:(Z=i.layout)==null?void 0:Z.sidebarStatus,epThemeColor:(F=i.layout)==null?void 0:F.epThemeColor},Re().setLayout(l)}return Ue(i,({layout:l})=>{switch(l.layout){case"vertical":C(!0,"is-select",n(p)),Be(X([y]),50),Be(X([d]),50);break;case"horizontal":C(!0,"is-select",n(y)),Be(X([p]),50),Be(X([d]),50);break;case"mix":C(!0,"is-select",n(d)),Be(X([p]),50),Be(X([y]),50);break}}),Bt(()=>{je(()=>{var l,u;T.greyVal&&((l=document.querySelector("html"))==null||l.setAttribute("class","html-grey")),T.weakVal&&((u=document.querySelector("html"))==null||u.setAttribute("class","html-weakness")),T.tabsVal&&R()})}),(l,u)=>{const Z=k("el-divider"),F=k("el-switch"),q=k("el-tooltip"),U=k("IconifyIconOffline"),K=k("el-icon"),ae=k("el-radio"),we=k("el-radio-group"),Ze=k("el-button");return h(),O(Oa,null,{default:v(()=>[r(Z,null,{default:v(()=>[oe("主题")]),_:1}),r(F,{modelValue:n(b),"onUpdate:modelValue":u[0]||(u[0]=te=>Pt(b)?b.value=te:null),"inline-prompt":"",class:"pure-datatheme","active-icon":n(Tn),"inactive-icon":n(Vn),onChange:n(M)},null,8,["modelValue","active-icon","inactive-icon","onChange"]),r(Z,null,{default:v(()=>[oe("导航栏模式")]),_:1}),m("ul",Za,[r(q,{effect:n(c),class:"item",content:"左侧模式",placement:"bottom","popper-class":"pure-tooltip"},{default:v(()=>[m("li",{class:se(n(_).layout==="vertical"?"is-select":""),ref_key:"verticalRef",ref:p,onClick:u[1]||(u[1]=te=>Ee("vertical"))},Ra,2)]),_:1},8,["effect"]),n(a)!=="mobile"?(h(),O(q,{key:0,effect:n(c),class:"item",content:"顶部模式",placement:"bottom","popper-class":"pure-tooltip"},{default:v(()=>[m("li",{class:se(n(_).layout==="horizontal"?"is-select":""),ref_key:"horizontalRef",ref:y,onClick:u[2]||(u[2]=te=>Ee("horizontal"))},Ba,2)]),_:1},8,["effect"])):Y("",!0),n(a)!=="mobile"?(h(),O(q,{key:1,effect:n(c),class:"item",content:"混合模式",placement:"bottom","popper-class":"pure-tooltip"},{default:v(()=>[m("li",{class:se(n(_).layout==="mix"?"is-select":""),ref_key:"mixRef",ref:d,onClick:u[3]||(u[3]=te=>Ee("mix"))},Ua,2)]),_:1},8,["effect"])):Y("",!0)]),r(Z,null,{default:v(()=>[oe("主题色")]),_:1}),m("ul",Wa,[(h(!0),V(be,null,xe(n(f),(te,ze)=>ve((h(),V("li",{key:ze,style:ne(W.value(te.color)),onClick:De=>n(w)(te.themeColor)},[r(K,{style:{margin:"0.1em 0.1em 0 0"},size:17,color:Te.value(te.themeColor)},{default:v(()=>[r(U,{icon:n(We)},null,8,["icon"])]),_:2},1032,["color"])],12,Ga)),[[Ce,N.value(te.themeColor)]])),128))]),r(Z,null,{default:v(()=>[oe("界面显示")]),_:1}),m("ul",Ja,[m("li",null,[Ka,r(F,{modelValue:T.greyVal,"onUpdate:modelValue":u[4]||(u[4]=te=>T.greyVal=te),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:A},null,8,["modelValue"])]),m("li",null,[Xa,r(F,{modelValue:T.weakVal,"onUpdate:modelValue":u[5]||(u[5]=te=>T.weakVal=te),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:I},null,8,["modelValue"])]),m("li",null,[Ya,r(F,{modelValue:T.tabsVal,"onUpdate:modelValue":u[6]||(u[6]=te=>T.tabsVal=te),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:R},null,8,["modelValue"])]),m("li",null,[Qa,r(F,{modelValue:z.value,"onUpdate:modelValue":u[7]||(u[7]=te=>z.value=te),"inline-prompt":"","active-value":!0,"inactive-value":!1,"inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:G},null,8,["modelValue"])]),m("li",null,[el,r(F,{modelValue:T.multiTagsCache,"onUpdate:modelValue":u[8]||(u[8]=te=>T.multiTagsCache=te),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:S},null,8,["modelValue"])]),m("li",null,[tl,r(we,{modelValue:L.value,"onUpdate:modelValue":u[9]||(u[9]=te=>L.value=te),size:"small",onChange:fe},{default:v(()=>[r(ae,{label:"card"},{default:v(()=>[oe("卡片")]),_:1}),r(ae,{label:"smart"},{default:v(()=>[oe("灵动")]),_:1})]),_:1},8,["modelValue"])])]),r(Z),r(Ze,{type:"danger",style:{width:"90%",margin:"24px 15px"},onClick:j},{default:v(()=>[r(U,{icon:n(ct),width:"15",height:"15",style:{"margin-right":"4px"}},null,8,["icon"]),oe(" 清空缓存并返回登录页 ")]),_:1})]),_:1})}}});const ol=pe(nl,[["__scopeId","data-v-1ae80617"]]),zt="/vue-pure-admin/logo.svg",Jt=t=>(st("data-v-79ec1141"),t=t(),rt(),t),al=Jt(()=>m("img",{src:zt,alt:"logo"},null,-1)),ll={class:"sidebar-title"},sl=Jt(()=>m("img",{src:zt,alt:"logo"},null,-1)),rl={class:"sidebar-title"},il=le({__name:"logo",props:{collapse:Boolean},setup(t){const e=t,{title:o}=Me();return(a,c)=>{const i=k("router-link");return h(),V("div",{class:se(["sidebar-logo-container",{collapses:e.collapse}])},[r(xt,{name:"sidebarLogoFade"},{default:v(()=>{var d,p;return[e.collapse?(h(),O(i,{key:"props.collapse",title:n(o),class:"sidebar-logo-link",to:((d=n(at)())==null?void 0:d.path)??"/"},{default:v(()=>[al,m("span",ll,ee(n(o)),1)]),_:1},8,["title","to"])):(h(),O(i,{key:"expand",title:n(o),class:"sidebar-logo-link",to:((p=n(at)())==null?void 0:p.path)??"/"},{default:v(()=>[sl,m("span",rl,ee(n(o)),1)]),_:1},8,["title","to"]))]}),_:1})],2)}}});const cl=pe(il,[["__scopeId","data-v-79ec1141"]]);var tt={exports:{}},Kt={},ul=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"},mt={exports:{}};typeof Object.create=="function"?mt.exports=function(e,o){e.super_=o,e.prototype=Object.create(o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:mt.exports=function(e,o){e.super_=o;var a=function(){};a.prototype=o.prototype,e.prototype=new a,e.prototype.constructor=e};var dl=mt.exports;(function(t){var e=/%[sdj%]/g;t.format=function(s){if(!N(s)){for(var l=[],u=0;u=F)return K;switch(K){case"%s":return String(Z[u++]);case"%d":return Number(Z[u++]);case"%j":try{return JSON.stringify(Z[u++])}catch{return"[Circular]"}default:return K}}),U=Z[u];u=3&&(u.depth=arguments[2]),arguments.length>=4&&(u.colors=arguments[3]),L(l)?u.showHidden=l:l&&t._extend(u,l),C(u.showHidden)&&(u.showHidden=!1),C(u.depth)&&(u.depth=2),C(u.colors)&&(u.colors=!1),C(u.customInspect)&&(u.customInspect=!0),u.colors&&(u.stylize=i),y(u,s,u.depth)}t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function i(s,l){var u=c.styles[l];return u?"\x1B["+c.colors[u][0]+"m"+s+"\x1B["+c.colors[u][1]+"m":s}function d(s,l){return s}function p(s){var l={};return s.forEach(function(u,Z){l[u]=!0}),l}function y(s,l,u){if(s.customInspect&&l&&j(l.inspect)&&l.inspect!==t.inspect&&!(l.constructor&&l.constructor.prototype===l)){var Z=l.inspect(u,s);return N(Z)||(Z=y(s,Z,u)),Z}var F=b(s,l);if(F)return F;var q=Object.keys(l),U=p(q);if(s.showHidden&&(q=Object.getOwnPropertyNames(l)),S(l)&&(q.indexOf("message")>=0||q.indexOf("description")>=0))return _(l);if(q.length===0){if(j(l)){var K=l.name?": "+l.name:"";return s.stylize("[Function"+K+"]","special")}if(A(l))return s.stylize(RegExp.prototype.toString.call(l),"regexp");if(R(l))return s.stylize(Date.prototype.toString.call(l),"date");if(S(l))return _(l)}var ae="",we=!1,Ze=["{","}"];if(w(l)&&(we=!0,Ze=["[","]"]),j(l)){var te=l.name?": "+l.name:"";ae=" [Function"+te+"]"}if(A(l)&&(ae=" "+RegExp.prototype.toString.call(l)),R(l)&&(ae=" "+Date.prototype.toUTCString.call(l)),S(l)&&(ae=" "+_(l)),q.length===0&&(!we||l.length==0))return Ze[0]+ae+Ze[1];if(u<0)return A(l)?s.stylize(RegExp.prototype.toString.call(l),"regexp"):s.stylize("[Object]","special");s.seen.push(l);var ze;return we?ze=f(s,l,u,U,q):ze=q.map(function(De){return M(s,l,u,U,De,we)}),s.seen.pop(),g(ze,ae,Ze)}function b(s,l){if(C(l))return s.stylize("undefined","undefined");if(N(l)){var u="'"+JSON.stringify(l).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return s.stylize(u,"string")}if(W(l))return s.stylize(""+l,"number");if(L(l))return s.stylize(""+l,"boolean");if(z(l))return s.stylize("null","null")}function _(s){return"["+Error.prototype.toString.call(s)+"]"}function f(s,l,u,Z,F){for(var q=[],U=0,K=l.length;U'},Dn={width:1024,height:1024,body:''},Pn={width:24,height:24,body:''},Rn={width:24,height:24,body:''},jn={width:1024,height:1024,body:''},qn={width:24,height:24,body:''},Bn={width:24,height:24,body:''},Nn={width:1024,height:1024,body:''},Fn={width:24,height:24,body:''},Un={width:24,height:24,body:''},Wn={width:24,height:24,body:''},it={width:24,height:24,body:''},Gn={width:1024,height:1024,body:''},Jn={width:1024,height:1024,body:''};he("ubuntuFill",Zn);he("menu",xn);he("edit",Dn);he("informationLine",Pn);he("setUp",Cn);he("terminalWindowLine",Rn);he("guide",jn);he("homeFilled",$n);he("card",qn);he("listCheck",Bn);he("histogram",Nn);he("ppt",Fn);he("checkboxCircleLine",Un);he("flUser",Sn);he("role",Wn);he("setting",it);he("dept",In);he("lollipop",Gn);he("monitor",Jn);const Kn=an({id:"pure-setting",state:()=>({title:Ye().Title,fixedHeader:Ye().FixedHeader,hiddenSideBar:Ye().HiddenSideBar}),getters:{getTitle(t){return t.title},getFixedHeader(t){return t.fixedHeader},getHiddenSideBar(t){return t.hiddenSideBar}},actions:{CHANGE_SETTING({key:t,value:e}){Reflect.has(this,t)&&(this[t]=e)},changeSetting(t){this.CHANGE_SETTING(t)}}});function It(){return Kn(ln)}const Xn={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--ant-design",viewBox:"0 0 1024 1024"},Yn=m("path",{fill:"currentColor",d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"},null,-1),Qn=[Yn];function eo(t,e){return h(),V("svg",Xn,Qn)}const Ut={render:eo},to={width:24,height:24,body:''},no=["onMouseenter"],oo={class:"result-item-title"},ao=le({__name:"SearchResult",props:{value:{},options:{}},emits:["update:value","enter"],setup(t,{expose:e,emit:o}){const a=t,c=E(),i=E(),d=Dt(),p=B(()=>g=>({background:(g==null?void 0:g.path)===y.value?An().epThemeColor:"",color:g.path===y.value?"#fff":"",fontSize:g.path===y.value?"16px":"14px"})),y=B({get(){return a.value},set(g){o("update:value",g)}});async function b(g){y.value=g.path}function _(){o("enter")}function f(){i.value=window.innerHeight-window.innerHeight/10-140}_t(c,()=>{f()});function M(g){var T;const w=(T=d==null?void 0:d.proxy)==null?void 0:T.$refs[`resultItemRef${g}`];if(!w)return 0;const z=w[0].offsetTop+128;return z>i.value?z-i.value:0}return qe(()=>{f()}),e({handleScroll:M}),(g,w)=>(h(),V("div",{ref_key:"resultRef",ref:c,class:"result"},[(h(!0),V(be,null,xe(g.options,(L,z)=>{var T,W;return h(),V("div",{key:L.path,ref_for:!0,ref:"resultItemRef"+z,class:"result-item dark:bg-[#1d1d1d]",style:ne(p.value(L)),onClick:_,onMouseenter:N=>b(L)},[(h(),O(He(n(Ae)(((T=L.meta)==null?void 0:T.icon)??n(to))))),m("span",oo,ee(n(_e)((W=L.meta)==null?void 0:W.title)),1),r(n(Ut))],44,no)}),128))],512))}});const lo=pe(ao,[["__scopeId","data-v-f0aabde6"]]),so={width:24,height:24,body:''},ro={width:24,height:24,body:''},io={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--mdi",viewBox:"0 0 24 24"},co=m("path",{fill:"currentColor",d:"M1 7h6v2H3v2h4v2H3v2h4v2H1V7m10 0h4v2h-4v2h2a2 2 0 0 1 2 2v2c0 1.11-.89 2-2 2H9v-2h4v-2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2m8 0h2a2 2 0 0 1 2 2v1h-2V9h-2v6h2v-1h2v1c0 1.11-.89 2-2 2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2Z"},null,-1),uo=[co];function ho(t,e){return h(),V("svg",io,uo)}const fo={render:ho},po={class:"search-footer text-[#333] dark:text-white"},vo={class:"search-footer-item"},mo={class:"search-footer-item"},_o={class:"search-footer-item"},go={key:0,class:"search-footer-total"},yo=le({__name:"SearchFooter",props:{total:{default:0}},setup(t){const e=t,{device:o}=Me();return(a,c)=>{const i=k("IconifyIconOffline");return h(),V("div",po,[m("span",vo,[r(n(Ut),{class:"icon"}),oe(" 确认 ")]),m("span",mo,[r(i,{icon:n(so),class:"icon"},null,8,["icon"]),r(i,{icon:n(ro),class:"icon"},null,8,["icon"]),oe(" 切换 ")]),m("span",_o,[r(n(fo),{class:"icon"}),oe(" 关闭 ")]),n(o)!=="mobile"&&e.total>0?(h(),V("p",go," 共"+ee(e.total)+"项 ",1)):Y("",!0)])}}});const bo=pe(yo,[["__scopeId","data-v-d2a25abb"]]),wo={width:24,height:24,body:''},ko={class:"search-result-container"},xo=le({__name:"SearchModal",props:{value:{type:Boolean}},emits:["update:value"],setup(t,{emit:e}){const o=t,{device:a}=Me(),c=lt(),{locale:i}=sn(),d=E(""),p=E(),y=E(),b=E(""),_=E(null),f=rn([]),M=un(z,300),g=B(()=>cn(ye().wholeMenus)),w=B({get(){return o.value},set(A){e("update:value",A)}});function L(A){const I=[];function R(S){S.forEach(j=>{I.push(j),j.children&&R(j.children)})}return R(A),I}function z(){var I;const A=L(g.value);f.value=A.filter(R=>{var S,j;return d.value?_e((S=R.meta)==null?void 0:S.title).toLocaleLowerCase().includes(d.value.toLocaleLowerCase().trim())||i.value==="zh"&&!Ne(Ln(_e((j=R.meta)==null?void 0:j.title).toLocaleLowerCase(),d.value.toLocaleLowerCase().trim())):!1}),((I=f.value)==null?void 0:I.length)>0?b.value=f.value[0].path:b.value=""}function T(){w.value=!1,setTimeout(()=>{f.value=[],d.value=""},200)}function W(A){const I=y.value.handleScroll(A);p.value.setScrollTop(I)}function N(){const{length:A}=f.value;if(A===0)return;const I=f.value.findIndex(R=>R.path===b.value);I===0?(b.value=f.value[A-1].path,W(f.value.length-1)):(b.value=f.value[I-1].path,W(I-1))}function $(){const{length:A}=f.value;if(A===0)return;const I=f.value.findIndex(R=>R.path===b.value);I+1===A?b.value=f.value[0].path:b.value=f.value[I+1].path,W(I+1)}function C(){const{length:A}=f.value;A===0||b.value===""||(c.push(b.value),T())}return ft("Enter",C),ft("ArrowUp",N),ft("ArrowDown",$),(A,I)=>{const R=k("IconifyIconOffline"),S=k("el-input"),j=k("el-empty"),fe=k("el-scrollbar"),G=k("el-dialog");return h(),O(G,{top:"5vh",class:"pure-search-dialog",modelValue:w.value,"onUpdate:modelValue":I[2]||(I[2]=X=>w.value=X),"show-close":!1,width:n(a)==="mobile"?"80vw":"40vw","before-close":T,style:{borderRadius:"6px"},"append-to-body":"",onOpened:I[3]||(I[3]=X=>_.value.focus()),onClosed:I[4]||(I[4]=X=>_.value.blur())},{footer:v(()=>[r(bo,{total:f.value.length},null,8,["total"])]),default:v(()=>[r(S,{ref_key:"inputRef",ref:_,size:"large",modelValue:d.value,"onUpdate:modelValue":I[0]||(I[0]=X=>d.value=X),clearable:"",placeholder:"搜索菜单",onInput:n(M)},{prefix:v(()=>[r(R,{icon:n(wo),class:"text-primary w-[24px] h-[24px]"},null,8,["icon"])]),_:1},8,["modelValue","onInput"]),m("div",ko,[r(fe,{ref_key:"scrollbarRef",ref:p,"max-height":"calc(90vh - 140px)"},{default:v(()=>[f.value.length===0?(h(),O(j,{key:0,description:"暂无搜索结果"})):(h(),O(lo,{key:1,ref_key:"resultRef",ref:y,value:b.value,"onUpdate:value":I[1]||(I[1]=X=>b.value=X),options:f.value,onClick:C},null,8,["value","options"]))]),_:1},512)])]),_:1},8,["modelValue","width"])}}});const Co=pe(xo,[["__scopeId","data-v-2b175c51"]]);function $o(t=!1){const e=E(t);function o(d){e.value=d}function a(){o(!0)}function c(){o(!1)}function i(){o(!e.value)}return{bool:e,setBool:o,setTrue:a,setFalse:c,toggle:i}}const Mt=le({__name:"index",setup(t){const{bool:e,toggle:o}=$o();function a(){o()}return(c,i)=>{const d=k("IconifyIconOffline");return h(),V(be,null,[m("div",{class:"search-container w-[40px] h-[48px] flex-c cursor-pointer navbar-bg-hover",onClick:a},[r(d,{icon:n(Hn)},null,8,["icon"])]),r(n(Co),{value:n(e),"onUpdate:value":i[0]||(i[0]=p=>Pt(e)?e.value=p:null)},null,8,["value"])],64)}}}),Ot=[{key:"1",name:"通知",list:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png",title:"你收到了 12 份新周报",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png",title:"你推荐的 前端高手 已通过第三轮面试",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png",title:"这种模板可以区分多种通知类型",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png",title:"展示标题内容超过一行后的处理方式,如果内容超过1行将自动截断并支持tooltip显示完整标题。",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png",title:"左侧图标用于区分不同的类型",datetime:"一年前",description:"",type:"1"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png",title:"左侧图标用于区分不同的类型",datetime:"一年前",description:"",type:"1"}]},{key:"2",name:"消息",list:[{avatar:"https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg",title:"李白 评论了你",description:"长风破浪会有时,直挂云帆济沧海",datetime:"一年前",type:"2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg",title:"李白 回复了你",description:"行路难,行路难,多歧路,今安在。",datetime:"一年前",type:"2"},{avatar:"https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg",title:"标题",description:"请将鼠标移动到此处,以便测试超长的消息在此处将如何处理。本例中设置的描述最大行数为2,超过2行的描述内容将被省略并且可以通过tooltip查看完整内容",datetime:"一年前",type:"2"}]},{key:"3",name:"代办",list:[{avatar:"",title:"任务名称",description:"任务需要在 2022-11-16 20:00 前启动",datetime:"",extra:"未开始",status:"info",type:"3"},{avatar:"",title:"第三方紧急代码变更",description:"一拳提交于 2022-11-16,需在 2022-11-18 前完成代码变更任务",datetime:"",extra:"马上到期",status:"danger",type:"3"},{avatar:"",title:"信息安全考试",description:"指派小仙于 2022-12-12 前完成更新并发布",datetime:"",extra:"已耗时 8 天",status:"warning",type:"3"},{avatar:"",title:"vue-pure-admin 版本发布",description:"vue-pure-admin 版本发布",datetime:"",extra:"进行中",type:"3"}]}],So={class:"notice-container border-b-[1px] border-solid border-[#f0f0f0] dark:border-[#303030]"},Io={class:"notice-container-text"},Mo={class:"notice-text-title text-[#000000d9] dark:text-white"},To={class:"notice-text-datetime text-[#00000073] dark:text-white"},Vo=le({__name:"noticeItem",props:{noticeItem:{type:Object,default:()=>{}}},setup(t){const e=t,o=E(null),a=E(!1),c=E(null),i=E(!1),{tooltipEffect:d}=Me(),p=Rt();function y(){je(()=>{var _,f;((_=o.value)==null?void 0:_.scrollWidth)>((f=o.value)==null?void 0:f.clientWidth)?a.value=!0:a.value=!1})}function b(_,f){const M=document.createElement("span");M.innerText=f,M.className="getDescriptionWidth",document.querySelector("body").appendChild(M);const g=document.querySelector(".getDescriptionWidth").offsetWidth;document.querySelector(".getDescriptionWidth").remove();const w=_.target.offsetWidth;g>2*w?i.value=!0:i.value=!1}return(_,f)=>{var L,z;const M=k("el-avatar"),g=k("el-tooltip"),w=k("el-tag");return h(),V("div",So,[e.noticeItem.avatar?(h(),O(M,{key:0,size:30,src:e.noticeItem.avatar,class:"notice-container-avatar"},null,8,["src"])):Y("",!0),m("div",Io,[m("div",Mo,[r(g,{"popper-class":"notice-title-popper",effect:n(d),disabled:!a.value,content:e.noticeItem.title,placement:"top-start",enterable:!n(p)},{default:v(()=>[m("div",{ref_key:"titleRef",ref:o,class:"notice-title-content",onMouseover:y},ee(e.noticeItem.title),545)]),_:1},8,["effect","disabled","content","enterable"]),(L=e.noticeItem)!=null&&L.extra?(h(),O(w,{key:0,type:(z=e.noticeItem)==null?void 0:z.status,size:"small",class:"notice-title-extra"},{default:v(()=>{var T;return[oe(ee((T=e.noticeItem)==null?void 0:T.extra),1)]}),_:1},8,["type"])):Y("",!0)]),r(g,{"popper-class":"notice-title-popper",effect:n(d),disabled:!i.value,content:e.noticeItem.description,placement:"top-start"},{default:v(()=>[m("div",{ref_key:"descriptionRef",ref:c,class:"notice-text-description",onMouseover:f[0]||(f[0]=T=>b(T,e.noticeItem.description))},ee(e.noticeItem.description),545)]),_:1},8,["effect","disabled","content"]),m("div",To,ee(e.noticeItem.datetime),1)])])}}});const zo=pe(Vo,[["__scopeId","data-v-2a7dbc48"]]),Lo={key:0},Ao=le({__name:"noticeList",props:{list:{type:Array,default:()=>[]}},setup(t){const e=t;return(o,a)=>{const c=k("el-empty");return e.list.length?(h(),V("div",Lo,[(h(!0),V(be,null,xe(e.list,(i,d)=>(h(),O(zo,{noticeItem:i,key:d},null,8,["noticeItem"]))),128))])):(h(),O(c,{key:1,description:"暂无数据"}))}}}),Ho={width:1024,height:1024,body:''},Eo={class:"dropdown-badge navbar-bg-hover select-none"},Oo={class:"header-notice-icon"},Zo={key:1},Do={class:"noticeList-container"},Po=le({__name:"index",setup(t){const e=E(0),o=E(Ot),a=E(Ot[0].key);return o.value.map(c=>e.value+=c.list.length),(c,i)=>{const d=k("IconifyIconOffline"),p=k("el-badge"),y=k("el-empty"),b=k("el-scrollbar"),_=k("el-tab-pane"),f=k("el-tabs"),M=k("el-dropdown-menu"),g=k("el-dropdown");return h(),O(g,{trigger:"click",placement:"bottom-end"},{dropdown:v(()=>[r(M,null,{default:v(()=>[r(f,{stretch:!0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=w=>a.value=w),class:"dropdown-tabs",style:ne({width:o.value.length===0?"200px":"330px"})},{default:v(()=>[o.value.length===0?(h(),O(y,{key:0,description:"暂无消息","image-size":60})):(h(),V("span",Zo,[(h(!0),V(be,null,xe(o.value,w=>(h(),O(_,{key:w.key,label:`${w.name}(${w.list.length})`,name:`${w.key}`},{default:v(()=>[r(b,{"max-height":"330px"},{default:v(()=>[m("div",Do,[r(Ao,{list:w.list},null,8,["list"])])]),_:2},1024)]),_:2},1032,["label","name"]))),128))]))]),_:1},8,["modelValue","style"])]),_:1})]),default:v(()=>[m("span",Eo,[r(p,{value:e.value,max:99},{default:v(()=>[m("span",Oo,[r(d,{icon:n(Ho)},null,8,["icon"])])]),_:1},8,["value"])])]),_:1})}}});const Tt=pe(Po,[["__scopeId","data-v-f8beaa07"]]),Ro={key:0,class:"flex justify-center items-center"},vt=le({__name:"extraIcon",props:{extraIcon:{type:String,default:""}},setup(t){const e=t;return(o,a)=>e.extraIcon?(h(),V("div",Ro,[(h(),O(He(n(Ae)(ke(e.extraIcon))),{class:"w-[30px] h-[30px]"}))])):Y("",!0)}}),ct={width:24,height:24,body:''},jo={key:0,class:"horizontal-header"},qo={class:"select-none"},Bo={class:"horizontal-header-right"},No={class:"check-zh"},Fo={class:"check-en"},Uo={class:"el-dropdown-link navbar-bg-hover select-none"},Wo=["src"],Go={key:0,class:"dark:text-white"},Jo=["title"],Ko=le({__name:"mixNav",setup(t){const e=E(),o=E(null),{t:a,route:c,locale:i,translationCh:d,translationEn:p}=$t(e),{device:y,logout:b,onPanel:_,resolvePath:f,username:M,userAvatar:g,getDivStyle:w,avatarsStyle:L,getDropdownItemStyle:z,getDropdownItemClass:T}=Me();function W(N){var A,I,R;const $=ye().wholeMenus,C=yt(N,$)[0];o.value=Ne((A=c.meta)==null?void 0:A.activePath)?(R=(I=ot(C,$))==null?void 0:I.children[0])==null?void 0:R.path:c.meta.activePath}return qe(()=>{W(c.path)}),je(()=>{var N;(N=e.value)==null||N.handleResize()}),Ue(()=>[c.path,ye().wholeMenus],()=>{W(c.path)}),(N,$)=>{const C=k("el-menu-item"),A=k("el-menu"),I=k("IconifyIconOffline"),R=k("el-dropdown-item"),S=k("el-dropdown-menu"),j=k("el-dropdown"),fe=gt("loading");return n(y)!=="mobile"?ve((h(),V("div",jo,[r(A,{router:"",ref_key:"menuRef",ref:e,mode:"horizontal",class:"horizontal-header-menu","default-active":o.value},{default:v(()=>[(h(!0),V(be,null,xe(n(ye)().wholeMenus,G=>(h(),O(C,{key:G.path,index:n(f)(G)||G.redirect},{title:v(()=>[ke(G.meta.icon)?(h(),V("div",{key:0,class:se(["sub-menu-icon",G.meta.icon])},[(h(),O(He(n(Ae)(G.meta&&ke(G.meta.icon)))))],2)):Y("",!0),m("div",{style:ne(n(w))},[m("span",qo,ee(n(_e)(G.meta.title)),1),r(vt,{extraIcon:G.meta.extraIcon},null,8,["extraIcon"])],4)]),_:2},1032,["index"]))),128))]),_:1},8,["default-active"]),m("div",Bo,[r(Mt),r(Tt,{id:"header-notice"}),r(j,{id:"header-translation",trigger:"click"},{dropdown:v(()=>[r(S,{class:"translation"},{default:v(()=>[r(R,{style:ne(n(z)(n(i),"zh")),class:se(["dark:!text-white",n(T)(n(i),"zh")]),onClick:n(d)},{default:v(()=>[ve(m("span",No,[r(I,{icon:n(We)},null,8,["icon"])],512),[[Ce,n(i)==="zh"]]),oe(" 简体中文 ")]),_:1},8,["style","class","onClick"]),r(R,{style:ne(n(z)(n(i),"en")),class:se(["dark:!text-white",n(T)(n(i),"en")]),onClick:n(p)},{default:v(()=>[ve(m("span",Fo,[r(I,{icon:n(We)},null,8,["icon"])],512),[[Ce,n(i)==="en"]]),oe(" English ")]),_:1},8,["style","class","onClick"])]),_:1})]),default:v(()=>[r(n(St),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),r(j,{trigger:"click"},{dropdown:v(()=>[r(S,{class:"logout"},{default:v(()=>[r(R,{onClick:n(b)},{default:v(()=>[r(I,{icon:n(ct),style:{margin:"5px"}},null,8,["icon"]),oe(" "+ee(n(a)("buttons.hsLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:v(()=>[m("span",Uo,[m("img",{src:n(g),style:ne(n(L))},null,12,Wo),n(M)?(h(),V("p",Go,ee(n(M)),1)):Y("",!0)])]),_:1}),m("span",{class:"set-icon navbar-bg-hover",title:n(a)("buttons.hssystemSet"),onClick:$[0]||($[0]=(...G)=>n(_)&&n(_)(...G))},[r(I,{icon:n(it)},null,8,["icon"])],8,Jo)])])),[[fe,n(ye)().wholeMenus.length===0]]):Y("",!0)}}});const Xo=pe(Ko,[["__scopeId","data-v-756f1729"]]),Yo=["onClick"],Qo=le({__name:"breadCrumb",setup(t){const e=bt(),o=E([]),a=lt(),c=a.options.routes,i=Ve().multiTags,d=()=>{let y;Object.keys(e.query).length>0?i.forEach(f=>{Fe(e.query,f==null?void 0:f.query)&&(y=ke(f))}):Object.keys(e.params).length>0?i.forEach(f=>{Fe(e.params,f==null?void 0:f.params)&&(y=ke(f))}):y=ot(a.currentRoute.value.path,c);const b=yt(a.currentRoute.value.name,c,"name"),_=[];b.forEach(f=>{f!=="/"&&_.push(ot(f,c))}),_.push(y),_.forEach((f,M)=>{y!=null&&y.query||y!=null&&y.params||f!=null&&f.children&&f.children.forEach(g=>{var w,L;((w=g==null?void 0:g.meta)==null?void 0:w.title)===((L=f==null?void 0:f.meta)==null?void 0:L.title)&&_.splice(M,1)})}),o.value=_.filter(f=>(f==null?void 0:f.meta)&&(f==null?void 0:f.meta.title)!==!1)},p=y=>{const{redirect:b,path:_}=y;b?a.push(b):a.push(_)};return qe(()=>{d()}),Ue(()=>e.path,()=>{d()},{deep:!0}),(y,b)=>{const _=k("el-breadcrumb-item"),f=k("el-breadcrumb");return h(),O(f,{class:"!leading-[50px] select-none",separator:"/"},{default:v(()=>[r(dn,{name:"breadcrumb"},{default:v(()=>[(h(!0),V(be,null,xe(o.value,M=>(h(),O(_,{class:"!inline !items-stretch",key:M.path},{default:v(()=>[m("a",{onClick:Je(g=>p(M),["prevent"])},ee(n(_e)(M.meta.title)),9,Yo)]),_:2},1024))),128))]),_:1})]),_:1})}}}),Wt={width:24,height:24,body:''},ea={width:24,height:24,body:''},ta=["title"],na=le({__name:"topCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(t,{emit:e}){const o=t,a=()=>{e("toggleClick")};return(c,i)=>{const d=k("IconifyIconOffline");return h(),V("div",{class:"px-3 mr-1 navbar-bg-hover",title:o.isActive?"点击折叠":"点击展开",onClick:a},[r(d,{icon:o.isActive?n(Wt):n(ea),class:"inline-block align-middle hover:text-primary dark:hover:!text-white"},null,8,["icon"])],8,ta)}}}),oa={class:"navbar bg-[#fff] shadow-sm shadow-[rgba(0, 21, 41, 0.08)] dark:shadow-[#0d0d0d]"},aa={key:3,class:"vertical-header-right"},la={class:"check-en"},sa={class:"el-dropdown-link navbar-bg-hover select-none"},ra=["src"],ia={key:0,class:"dark:text-white"},ca=["title"],ua=le({__name:"navbar",setup(t){const{layout:e,device:o,logout:a,onPanel:c,pureApp:i,username:d,userAvatar:p,avatarsStyle:y,toggleSideBar:b,getDropdownItemStyle:_,getDropdownItemClass:f}=Me(),{t:M,locale:g,translationCh:w,translationEn:L}=$t();return(z,T)=>{const W=k("IconifyIconOffline"),N=k("el-dropdown-item"),$=k("el-dropdown-menu"),C=k("el-dropdown");return h(),V("div",oa,[n(o)==="mobile"?(h(),O(na,{key:0,class:"hamburger-container","is-active":n(i).sidebar.opened,onToggleClick:n(b)},null,8,["is-active","onToggleClick"])):Y("",!0),n(e)!=="mix"&&n(o)!=="mobile"?(h(),O(Qo,{key:1,class:"breadcrumb-container"})):Y("",!0),n(e)==="mix"?(h(),O(Xo,{key:2})):Y("",!0),n(e)==="vertical"?(h(),V("div",aa,[r(Mt),r(Tt,{id:"header-notice"}),r(C,{id:"header-translation",trigger:"click"},{dropdown:v(()=>[r($,{class:"translation"},{default:v(()=>[r(N,{style:ne(n(_)(n(g),"zh")),class:se(["dark:!text-white",n(f)(n(g),"zh")]),onClick:n(w)},{default:v(()=>[ve(r(W,{class:"check-zh",icon:n(We)},null,8,["icon"]),[[Ce,n(g)==="zh"]]),oe(" 简体中文 ")]),_:1},8,["style","class","onClick"]),r(N,{style:ne(n(_)(n(g),"en")),class:se(["dark:!text-white",n(f)(n(g),"en")]),onClick:n(L)},{default:v(()=>[ve(m("span",la,[r(W,{icon:n(We)},null,8,["icon"])],512),[[Ce,n(g)==="en"]]),oe(" English ")]),_:1},8,["style","class","onClick"])]),_:1})]),default:v(()=>[r(n(St),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),r(C,{trigger:"click"},{dropdown:v(()=>[r($,{class:"logout"},{default:v(()=>[r(N,{onClick:n(a)},{default:v(()=>[r(W,{icon:n(ct),style:{margin:"5px"}},null,8,["icon"]),oe(" "+ee(n(M)("buttons.hsLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:v(()=>[m("span",sa,[m("img",{src:n(p),style:ne(n(y))},null,12,ra),n(d)?(h(),V("p",ia,ee(n(d)),1)):Y("",!0)])]),_:1}),m("span",{class:"set-icon navbar-bg-hover",title:n(M)("buttons.hssystemSet"),onClick:T[0]||(T[0]=(...A)=>n(c)&&n(c)(...A))},[r(W,{icon:n(it)},null,8,["icon"])],8,ca)])):Y("",!0)])}}});const da=pe(ua,[["__scopeId","data-v-fc735608"]]),ha={width:24,height:24,body:''},fa={width:24,height:24,body:''},pa={width:24,height:24,body:''},va={width:24,height:24,body:''},Gt={width:1024,height:1024,body:''};function ma(){var R;const t=bt(),e=lt(),o=Dt(),a=It(),c=E(0),i=E(0),d=E(0),p=E(!1),y=E(-1),b=E({}),_=E(((R=Ge().getItem(`${Ke()}configure`))==null?void 0:R.showModel)||"smart"),f=E(Ge().getItem(`${Ke()}configure`).hideTabs)??E("false"),M=B(()=>Ve().multiTags),g=wt([{icon:En,text:me("buttons.hsreload"),divided:!1,disabled:!1,show:!0},{icon:Gt,text:me("buttons.hscloseCurrentTab"),divided:!1,disabled:!(M.value.length>1),show:!0},{icon:va,text:me("buttons.hscloseLeftTabs"),divided:!0,disabled:!(M.value.length>1),show:!0},{icon:pa,text:me("buttons.hscloseRightTabs"),divided:!1,disabled:!(M.value.length>1),show:!0},{icon:fa,text:me("buttons.hscloseOtherTabs"),divided:!0,disabled:!(M.value.length>2),show:!0},{icon:ha,text:me("buttons.hscloseAllTabs"),divided:!1,disabled:!(M.value.length>1),show:!0},{icon:Qe,text:me("buttons.hswholeFullScreen"),divided:!0,disabled:!1,show:!0},{icon:Qe,text:me("buttons.hscontentFullScreen"),divided:!1,disabled:!1,show:!0}]);function w(S,j,fe){var G,X;return fn((G=t==null?void 0:t.meta)==null?void 0:G.showLink)&&((X=t==null?void 0:t.meta)==null?void 0:X.showLink)===!1?Object.keys(t.query).length>0?Fe(t.query,S.query)?j:fe:Fe(t.params,S.params)?j:fe:t.path===S.path?j:fe}const L=B(()=>(S,j)=>{if(j!==0)return w(S,!0,!1)}),z=B(()=>S=>w(S,"is-active","")),T=B(()=>S=>w(S,"schedule-active","")),W=B(()=>({transform:`translateX(${d.value}px)`})),N=B(()=>({left:i.value+"px",top:c.value+"px"})),$=()=>{p.value=!1};function C(S){if(S&&(y.value=S),n(_)==="smart"){if(nt(o.refs["schedule"+S][0],"schedule-active"))return;Pe(!0,"schedule-in",o.refs["schedule"+S][0]),Pe(!1,"schedule-out",o.refs["schedule"+S][0])}else{if(nt(o.refs["dynamic"+S][0],"card-active"))return;Pe(!0,"card-in",o.refs["dynamic"+S][0]),Pe(!1,"card-out",o.refs["dynamic"+S][0])}}function A(S){if(y.value=-1,n(_)==="smart"){if(nt(o.refs["schedule"+S][0],"schedule-active"))return;Pe(!1,"schedule-in",o.refs["schedule"+S][0]),Pe(!0,"schedule-out",o.refs["schedule"+S][0])}else{if(nt(o.refs["dynamic"+S][0],"card-active"))return;Pe(!1,"card-in",o.refs["dynamic"+S][0]),Pe(!0,"card-out",o.refs["dynamic"+S][0])}}function I(){a.hiddenSideBar?a.changeSetting({key:"hiddenSideBar",value:!1}):a.changeSetting({key:"hiddenSideBar",value:!0})}return qe(()=>{if(!_.value){const S=Ge().getItem(`${Ke()}configure`);S.showModel="card",Ge().setItem(`${Ke()}configure`,S)}}),Ue(()=>p.value,()=>{hn(document,"click",$)}),{route:t,router:e,visible:p,showTags:f,instance:o,multiTags:M,showModel:_,tagsViews:g,buttonTop:c,buttonLeft:i,translateX:d,pureSetting:a,activeIndex:y,getTabStyle:W,iconIsActive:L,linkIsActive:z,currentSelect:b,scheduleIsActive:T,getContextMenuStyle:N,$t:me,closeMenu:$,onMounted:qe,onMouseenter:C,onMouseleave:A,transformI18n:_e,onContentFullScreen:I}}const _a={width:24,height:24,body:''},ga={width:24,height:24,body:''},ya={width:1024,height:1024,body:''},ba={class:"arrow-left"},wa=["onContextmenu","onMouseenter","onMouseleave","onClick"],ka=["onClick"],xa={class:"arrow-right"},Ca=["onClick"],$a={class:"arrow-down"},Sa=le({__name:"index",setup(t){var At;const{route:e,router:o,visible:a,showTags:c,instance:i,multiTags:d,tagsViews:p,buttonTop:y,buttonLeft:b,showModel:_,translateX:f,pureSetting:M,activeIndex:g,getTabStyle:w,iconIsActive:L,linkIsActive:z,currentSelect:T,scheduleIsActive:W,getContextMenuStyle:N,closeMenu:$,onMounted:C,onMouseenter:A,onMouseleave:I,transformI18n:R,onContentFullScreen:S}=ma(),j=E(),fe=E(),G=E(),X=E(!1),Te=(At=at())==null?void 0:At.path,{VITE_HIDE_HOME:Ee}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",BASE_URL:"/vue-pure-admin/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},{isFullscreen:Oe,toggle:s}=pn(),l=async()=>{await je();const x=d.value.findIndex(H=>Ne(e.query)?Ne(e.params)?e.path===H.path:Fe(e.params,H.params):Fe(e.query,H.query));u(x)},u=async x=>{var Q,ue;await je();const H=10;if(!i.refs["dynamic"+x])return;const D=i.refs["dynamic"+x][0],J=D==null?void 0:D.offsetLeft,ce=D==null?void 0:D.offsetWidth,P=G.value?(Q=G.value)==null?void 0:Q.offsetWidth:0,re=j.value?(ue=j.value)==null?void 0:ue.offsetWidth:0;P<=re?X.value=!0:X.value=!1,re-f.value&&J+ce<-f.value+P?f.value=Math.min(0,P-ce-J-H):f.value=-(J-(P-H-ce))},Z=x=>{var J;const H=G.value?(J=G.value)==null?void 0:J.offsetWidth:0,D=j.value?j.value.offsetWidth:0;x>0?f.value=Math.min(0,f.value+x):H=-(D-H)&&(f.value=Math.max(f.value+x,H-D)):f.value=0};function F(x){const H=d.value.some(J=>J.path===x);function D(J,ce){H||J.forEach(P=>{P.path===ce||P.path===ce?Ve().handleTags("push",{path:ce,meta:P.meta,name:P.name}):P.children&&P.children.length>0&&D(P.children,ce)})}D(o.options.routes,x)}function q(){const{fullPath:x,query:H}=n(e);o.replace({path:"/redirect"+x,query:H}),pt(e,"refresh")}function U(x,H,D){var re,Q,ue,Le;const J=d.value.findIndex(Se=>{if(Se.query){if(Se.path===x.path)return Se.query===x.query}else if(Se.params){if(Se.path===x.path)return Se.params===x.params}else return Se.path===x.path}),ce=(Se,nn,on)=>{on?Ve().handleTags("equal",[Ee==="false"?jt[0]:ke(at()),x]):Ve().handleTags("splice","",{startIndex:Se,length:nn}),l()};D==="other"?ce(1,1,!0):D==="left"?ce(1,J-1):D==="right"?ce(J+1,d.value.length):ce(J,1);const P=Ve().handleTags("slice");if(H===e.path){if(D==="left")return;(re=P[0])!=null&&re.query?o.push({name:P[0].name,query:P[0].query}):(Q=P[0])!=null&&Q.params?o.push({name:P[0].name,params:P[0].params}):o.push({path:P[0].path})}else{if(!d.value.length||d.value.some(Se=>Se.path===e.path))return;(ue=P[0])!=null&&ue.query?o.push({name:P[0].name,query:P[0].query}):(Le=P[0])!=null&&Le.params?o.push({name:P[0].name,params:P[0].params}):o.push({path:P[0].path})}}function K(x,H){U(x,x.path,H),pt(e)}function ae(x,H,D){if(H&&H.disabled)return;let J;switch(D?J={path:D.path,meta:D.meta,name:D.name,query:D==null?void 0:D.query,params:D==null?void 0:D.params}:J={path:e.path,meta:e.meta},x){case 0:q();break;case 1:K(J);break;case 2:K(J,"left");break;case 3:K(J,"right");break;case 4:K(J,"other");break;case 5:Ve().handleTags("splice","",{startIndex:1,length:d.value.length}),o.push(Te),pt(e);break;case 6:s(),setTimeout(()=>{Oe.value?(p[6].icon=Ht,p[6].text=me("buttons.hswholeExitFullScreen")):(p[6].icon=Qe,p[6].text=me("buttons.hswholeFullScreen"))},100);break;case 7:S(),setTimeout(()=>{M.hiddenSideBar?(p[7].icon=Ht,p[7].text=me("buttons.hscontentExitFullScreen")):(p[7].icon=Qe,p[7].text=me("buttons.hscontentFullScreen"))},100);break}setTimeout(()=>{De(e.fullPath,e.query)})}function we(x){const{key:H,item:D}=x;ae(H,D)}function Ze(x,H){ae(x,H,T.value)}function te(x){Array.of(1,2,3,4,5).forEach(H=>{p[H].show=x})}function ze(x){Array.of(1,2,3,4,5).forEach(H=>{p[H].disabled=x})}function De(x,H={},D=!1){const J=d.value,ce=d.value.length;let P=-1;Ne(H)?P=J.findIndex(re=>re.path===x):P=J.findIndex(re=>Fe(re.query,H)),te(!0),D&&(p[0].show=!0),P===1&&ce!==2?(p[2].show=!1,Array.of(1,3,4,5).forEach(re=>{p[re].disabled=!1}),p[2].disabled=!0):P===1&&ce===2?(ze(!1),Array.of(2,3,4).forEach(re=>{p[re].show=!1,p[re].disabled=!0})):ce-1===P&&P!==0?(p[3].show=!1,Array.of(1,2,4,5).forEach(re=>{p[re].disabled=!1}),p[3].disabled=!0):P===0||x===`/redirect${Te}`?ze(!0):ze(!1)}function en(x,H){$(),x.path===Te?(te(!1),p[0].show=!0):e.path!==x.path&&e.name!==x.name?(p[0].show=!1,De(x.path,x.query)):d.value.length===2&&e.path!==x.path?(te(!0),p[4].show=!1):e.path===x.path&&De(x.path,x.query,!0),T.value=x;const D=105,J=n(fe).getBoundingClientRect().left,P=n(fe).offsetWidth-D,re=H.clientX-J+5;re>P?b.value=P:b.value=re,It().hiddenSideBar?y.value=H.clientY:y.value=H.clientY-40,je(()=>{a.value=!0})}function tn(x){const{name:H,path:D}=x;H?x.query?o.push({name:H,query:x.query}):x.params?o.push({name:H,params:x.params}):o.push({name:H}):o.push({path:D})}return Ue(e,()=>{g.value=-1,l()}),Ue(Oe,()=>{p[6].icon=Qe,p[6].text=me("buttons.hswholeFullScreen")}),C(()=>{i&&(De(e.fullPath),ge.on("tagViewsChange",x=>{n(c)!==x&&(c.value=x)}),ge.on("tagViewsShowModel",x=>{_.value=x}),ge.on("changLayoutRoute",x=>{F(x),setTimeout(()=>{De(x)})}),_t(G,Be(()=>l())))}),kt(()=>{ge.off("tagViewsChange"),ge.off("tagViewsShowModel"),ge.off("changLayoutRoute")}),(x,H)=>{const D=k("IconifyIconOffline"),J=k("router-link"),ce=k("el-dropdown-item"),P=k("el-dropdown-menu"),re=k("el-dropdown");return n(c)?Y("",!0):(h(),V("div",{key:0,ref_key:"containerDom",ref:fe,class:"tags-view"},[ve(m("span",ba,[r(D,{icon:n(ga),onClick:H[0]||(H[0]=Q=>Z(200))},null,8,["icon"])],512),[[Ce,X.value]]),m("div",{ref_key:"scrollbarDom",ref:G,class:"scroll-container"},[m("div",{class:"tab select-none",ref_key:"tabDom",ref:j,style:ne(n(w))},[(h(!0),V(be,null,xe(n(d),(Q,ue)=>(h(),V("div",{ref_for:!0,ref:"dynamic"+ue,key:ue,class:se(["scroll-item is-closable",n(z)(Q),n(e).path===Q.path&&n(_)==="card"?"card-active":""]),onContextmenu:Je(Le=>en(Q,Le),["prevent"]),onMouseenter:Je(Le=>n(A)(ue),["prevent"]),onMouseleave:Je(Le=>n(I)(ue),["prevent"]),onClick:Le=>tn(Q)},[r(J,{to:Q.path,class:"dark:!text-text_color_primary dark:hover:!text-primary"},{default:v(()=>[oe(ee(n(R)(Q.meta.title)),1)]),_:2},1032,["to"]),n(L)(Q,ue)||ue===n(g)&&ue!==0?(h(),V("span",{key:0,class:"el-icon-close",onClick:Je(Le=>K(Q),["stop"])},[r(D,{icon:n(ya)},null,8,["icon"])],8,ka)):Y("",!0),n(_)!=="card"?(h(),V("div",{key:1,ref_for:!0,ref:"schedule"+ue,class:se([n(W)(Q)])},null,2)):Y("",!0)],42,wa))),128))],4)],512),ve(m("span",xa,[r(D,{icon:n(On),onClick:H[1]||(H[1]=Q=>Z(-200))},null,8,["icon"])],512),[[Ce,X.value]]),r(xt,{name:"el-zoom-in-top"},{default:v(()=>[ve((h(),V("ul",{key:Math.random(),style:ne(n(N)),class:"contextmenu"},[(h(!0),V(be,null,xe(n(p).slice(0,6),(Q,ue)=>(h(),V("div",{key:ue,style:{display:"flex","align-items":"center"}},[Q.show?(h(),V("li",{key:0,onClick:Le=>Ze(ue,Q)},[r(D,{icon:Q.icon},null,8,["icon"]),oe(" "+ee(n(R)(Q.text)),1)],8,Ca)):Y("",!0)]))),128))],4)),[[Ce,n(a)]])]),_:1}),r(re,{trigger:"click",placement:"bottom-end",onCommand:we},{dropdown:v(()=>[r(P,null,{default:v(()=>[(h(!0),V(be,null,xe(n(p),(Q,ue)=>(h(),O(ce,{key:ue,command:{key:ue,item:Q},divided:Q.divided,disabled:Q.disabled},{default:v(()=>[r(D,{icon:Q.icon},null,8,["icon"]),oe(" "+ee(n(R)(Q.text)),1)]),_:2},1032,["command","divided","disabled"]))),128))]),_:1})]),default:v(()=>[m("span",$a,[r(D,{icon:n(_a),class:"dark:text-white"},null,8,["icon"])])]),_:1})],512))}}});const Ia=pe(Sa,[["__scopeId","data-v-f981b547"]]),Ma={key:1},Ta=le({__name:"appMain",props:{fixedHeader:Boolean},setup(t){const e=t,{$storage:o,$config:a}=Ct(),c=B(()=>a==null?void 0:a.KeepAlive),i=B(()=>_=>_.meta.transition),d=B(()=>o==null?void 0:o.configure.hideTabs),p=B(()=>(o==null?void 0:o.layout.layout)==="vertical"),y=B(()=>[d.value&&p?"padding-top: 48px;":"",!d.value&&p?"padding-top: 85px;":"",d.value&&!p.value?"padding-top: 48px":"",!d.value&&!p.value?"padding-top: 85px;":"",e.fixedHeader?"":"padding-top: 0;"]),b=le({render(){return Xe(xt,{name:i.value(this.route)&&this.route.meta.transition.enterTransition?"pure-classes-transition":i.value(this.route)&&this.route.meta.transition.name||"fade-transform",enterActiveClass:i.value(this.route)&&`animate__animated ${this.route.meta.transition.enterTransition}`,leaveActiveClass:i.value(this.route)&&`animate__animated ${this.route.meta.transition.leaveTransition}`,mode:"out-in",appear:!0},{default:()=>[this.$slots.default()]})},props:{route:{type:void 0,required:!0}}});return(_,f)=>{const M=k("el-backtop"),g=k("el-scrollbar"),w=k("router-view");return h(),V("section",{class:se([e.fixedHeader?"app-main":"app-main-nofixed-header"]),style:ne(y.value)},[r(w,null,{default:v(({Component:L,route:z})=>[e.fixedHeader?(h(),O(g,{key:0},{default:v(()=>[r(M,{title:"回到顶部",target:".app-main .el-scrollbar__wrap"},{default:v(()=>[r(n(Ft))]),_:1}),r(n(b),{route:z},{default:v(()=>[c.value?(h(),O(Et,{key:0,include:n(ye)().cachePageList},[(h(),O(He(L),{key:z.fullPath,class:"main-content"}))],1032,["include"])):(h(),O(He(L),{key:z.fullPath,class:"main-content"}))]),_:2},1032,["route"])]),_:2},1024)):(h(),V("div",Ma,[r(n(b),{route:z},{default:v(()=>[c.value?(h(),O(Et,{key:0,include:n(ye)().cachePageList},[(h(),O(He(L),{key:z.fullPath,class:"main-content"}))],1032,["include"])):(h(),O(He(L),{key:z.fullPath,class:"main-content"}))]),_:2},1032,["route"])]))]),_:1})],6)}}});const Zt=pe(Ta,[["__scopeId","data-v-ac212d1d"]]),Vt=t=>(st("data-v-1b3eb871"),t=t(),rt(),t),Va=Vt(()=>m("div",{class:"right-panel-background"},null,-1)),za={class:"right-panel-items"},La={class:"project-configuration"},Aa=Vt(()=>m("h4",{class:"dark:text-white"},"项目配置",-1)),Ha=Vt(()=>m("div",{class:"border-b-[1px] border-solid border-[#dcdfe6] dark:border-[#303030]"},null,-1)),Ea=le({__name:"index",setup(t){const e=E(null),o=E(!1),a=B(()=>["mr-[20px]","outline-none","width-[20px]","height-[20px]","rounded-[4px]","cursor-pointer","transition-colors","hover:bg-[#0000000f]","dark:hover:bg-[#ffffff1f]","dark:hover:text-[#ffffffd9]"]);return vn(e,c=>{c.clientX>e.value.offsetLeft||(o.value=!1)}),qe(()=>{ge.on("openPanel",()=>{o.value=!0})}),kt(()=>{ge.off("openPanel")}),(c,i)=>{const d=k("IconifyIconOffline");return h(),V("div",{class:se([{show:o.value},"right-panel-container"])},[Va,m("div",{ref_key:"target",ref:e,class:"right-panel bg-bg_color"},[m("div",za,[m("div",La,[Aa,m("span",{title:"关闭配置",class:se(a.value)},[r(d,{class:"dark:text-white",width:"20px",height:"20px",icon:n(Gt),onClick:i[0]||(i[0]=p=>o.value=!o.value)},null,8,["icon"])],2)]),Ha,mn(c.$slots,"default",{},void 0,!0)])],512)],2)}}});const Oa=pe(Ea,[["__scopeId","data-v-1b3eb871"]]),$e=t=>(st("data-v-1ae80617"),t=t(),rt(),t),Za={class:"pure-theme"},Da=$e(()=>m("div",null,null,-1)),Pa=$e(()=>m("div",null,null,-1)),Ra=[Da,Pa],ja=$e(()=>m("div",null,null,-1)),qa=$e(()=>m("div",null,null,-1)),Ba=[ja,qa],Na=$e(()=>m("div",null,null,-1)),Fa=$e(()=>m("div",null,null,-1)),Ua=[Na,Fa],Wa={class:"theme-color"},Ga=["onClick"],Ja={class:"setting"},Ka=$e(()=>m("span",{class:"dark:text-white"},"灰色模式",-1)),Xa=$e(()=>m("span",{class:"dark:text-white"},"色弱模式",-1)),Ya=$e(()=>m("span",{class:"dark:text-white"},"隐藏标签页",-1)),Qa=$e(()=>m("span",{class:"dark:text-white"},"侧边栏Logo",-1)),el=$e(()=>m("span",{class:"dark:text-white"},"标签页持久化",-1)),tl=$e(()=>m("span",{class:"dark:text-white"},"标签风格",-1)),nl=le({__name:"index",setup(t){var Oe,s;const e=lt(),{isDark:o}=qt(),{device:a,tooltipEffect:c}=Me(),{$storage:i}=Ct(),d=E(),p=E(),y=E(),{dataTheme:b,layoutTheme:_,themeColors:f,dataThemeChange:M,setEpThemeColor:g,setLayoutThemeColor:w}=Nt();if(n(_)){const l=n(_).layout,u=n(_).theme;Mn({scopeName:`layout-theme-${u}`}),Ee(l)}const L=E(((Oe=i.configure)==null?void 0:Oe.showModel)??"smart"),z=E(((s=i.configure)==null?void 0:s.showLogo)??!0),T=wt({greyVal:i.configure.grey,weakVal:i.configure.weak,tabsVal:i.configure.hideTabs,showLogo:i.configure.showLogo,showModel:i.configure.showModel,multiTagsCache:i.configure.multiTagsCache}),W=B(()=>l=>({background:l})),N=B(()=>l=>!(l==="light"&&o.value));function $(l,u){const Z=i.configure;Z[l]=u,i.configure=Z}function C(l,u,Z){const F=Z||document.body;let{className:q}=F;q=q.replace(u,"").trim(),F.className=l?`${q} ${u} `:q}const A=l=>{C(T.greyVal,"html-grey",document.querySelector("html")),$("grey",l)},I=l=>{C(T.weakVal,"html-weakness",document.querySelector("html")),$("weak",l)},R=()=>{const l=T.tabsVal;$("hideTabs",l),ge.emit("tagViewsChange",l)},S=()=>{const l=T.multiTagsCache;$("multiTagsCache",l),Ve().multiTagsCacheChange(l)};function j(){_n(),Ge().clear(),gn().clear();const{Grey:l,Weak:u,MultiTagsCache:Z,EpThemeColor:F,Layout:q}=Ye();Re().setLayout(q),g(F),Ve().multiTagsCacheChange(Z),C(l,"html-grey",document.querySelector("html")),C(u,"html-weakness",document.querySelector("html")),e.push("/login"),Ve().handleTags("equal",[...jt]),yn()}function fe(l){$("showModel",l),ge.emit("tagViewsShowModel",l)}function G(){n(z)?$("showLogo",!0):$("showLogo",!1),ge.emit("logoChange",n(z))}function X(l){l.forEach(u=>{C(!1,"is-select",n(u))})}const Te=B(()=>l=>l===_.value.theme&&_.value.theme!=="light"?"#fff":l===_.value.theme&&_.value.theme==="light"?"#1d2b45":"transparent");function Ee(l){var u,Z,F;_.value.layout=l,window.document.body.setAttribute("layout",l),i.layout={layout:l,theme:_.value.theme,darkMode:(u=i.layout)==null?void 0:u.darkMode,sidebarStatus:(Z=i.layout)==null?void 0:Z.sidebarStatus,epThemeColor:(F=i.layout)==null?void 0:F.epThemeColor},Re().setLayout(l)}return Ue(i,({layout:l})=>{switch(l.layout){case"vertical":C(!0,"is-select",n(p)),Be(X([y]),50),Be(X([d]),50);break;case"horizontal":C(!0,"is-select",n(y)),Be(X([p]),50),Be(X([d]),50);break;case"mix":C(!0,"is-select",n(d)),Be(X([p]),50),Be(X([y]),50);break}}),Bt(()=>{je(()=>{var l,u;T.greyVal&&((l=document.querySelector("html"))==null||l.setAttribute("class","html-grey")),T.weakVal&&((u=document.querySelector("html"))==null||u.setAttribute("class","html-weakness")),T.tabsVal&&R()})}),(l,u)=>{const Z=k("el-divider"),F=k("el-switch"),q=k("el-tooltip"),U=k("IconifyIconOffline"),K=k("el-icon"),ae=k("el-radio"),we=k("el-radio-group"),Ze=k("el-button");return h(),O(Oa,null,{default:v(()=>[r(Z,null,{default:v(()=>[oe("主题")]),_:1}),r(F,{modelValue:n(b),"onUpdate:modelValue":u[0]||(u[0]=te=>Pt(b)?b.value=te:null),"inline-prompt":"",class:"pure-datatheme","active-icon":n(Tn),"inactive-icon":n(Vn),onChange:n(M)},null,8,["modelValue","active-icon","inactive-icon","onChange"]),r(Z,null,{default:v(()=>[oe("导航栏模式")]),_:1}),m("ul",Za,[r(q,{effect:n(c),class:"item",content:"左侧模式",placement:"bottom","popper-class":"pure-tooltip"},{default:v(()=>[m("li",{class:se(n(_).layout==="vertical"?"is-select":""),ref_key:"verticalRef",ref:p,onClick:u[1]||(u[1]=te=>Ee("vertical"))},Ra,2)]),_:1},8,["effect"]),n(a)!=="mobile"?(h(),O(q,{key:0,effect:n(c),class:"item",content:"顶部模式",placement:"bottom","popper-class":"pure-tooltip"},{default:v(()=>[m("li",{class:se(n(_).layout==="horizontal"?"is-select":""),ref_key:"horizontalRef",ref:y,onClick:u[2]||(u[2]=te=>Ee("horizontal"))},Ba,2)]),_:1},8,["effect"])):Y("",!0),n(a)!=="mobile"?(h(),O(q,{key:1,effect:n(c),class:"item",content:"混合模式",placement:"bottom","popper-class":"pure-tooltip"},{default:v(()=>[m("li",{class:se(n(_).layout==="mix"?"is-select":""),ref_key:"mixRef",ref:d,onClick:u[3]||(u[3]=te=>Ee("mix"))},Ua,2)]),_:1},8,["effect"])):Y("",!0)]),r(Z,null,{default:v(()=>[oe("主题色")]),_:1}),m("ul",Wa,[(h(!0),V(be,null,xe(n(f),(te,ze)=>ve((h(),V("li",{key:ze,style:ne(W.value(te.color)),onClick:De=>n(w)(te.themeColor)},[r(K,{style:{margin:"0.1em 0.1em 0 0"},size:17,color:Te.value(te.themeColor)},{default:v(()=>[r(U,{icon:n(We)},null,8,["icon"])]),_:2},1032,["color"])],12,Ga)),[[Ce,N.value(te.themeColor)]])),128))]),r(Z,null,{default:v(()=>[oe("界面显示")]),_:1}),m("ul",Ja,[m("li",null,[Ka,r(F,{modelValue:T.greyVal,"onUpdate:modelValue":u[4]||(u[4]=te=>T.greyVal=te),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:A},null,8,["modelValue"])]),m("li",null,[Xa,r(F,{modelValue:T.weakVal,"onUpdate:modelValue":u[5]||(u[5]=te=>T.weakVal=te),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:I},null,8,["modelValue"])]),m("li",null,[Ya,r(F,{modelValue:T.tabsVal,"onUpdate:modelValue":u[6]||(u[6]=te=>T.tabsVal=te),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:R},null,8,["modelValue"])]),m("li",null,[Qa,r(F,{modelValue:z.value,"onUpdate:modelValue":u[7]||(u[7]=te=>z.value=te),"inline-prompt":"","active-value":!0,"inactive-value":!1,"inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:G},null,8,["modelValue"])]),m("li",null,[el,r(F,{modelValue:T.multiTagsCache,"onUpdate:modelValue":u[8]||(u[8]=te=>T.multiTagsCache=te),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:S},null,8,["modelValue"])]),m("li",null,[tl,r(we,{modelValue:L.value,"onUpdate:modelValue":u[9]||(u[9]=te=>L.value=te),size:"small",onChange:fe},{default:v(()=>[r(ae,{label:"card"},{default:v(()=>[oe("卡片")]),_:1}),r(ae,{label:"smart"},{default:v(()=>[oe("灵动")]),_:1})]),_:1},8,["modelValue"])])]),r(Z),r(Ze,{type:"danger",style:{width:"90%",margin:"24px 15px"},onClick:j},{default:v(()=>[r(U,{icon:n(ct),width:"15",height:"15",style:{"margin-right":"4px"}},null,8,["icon"]),oe(" 清空缓存并返回登录页 ")]),_:1})]),_:1})}}});const ol=pe(nl,[["__scopeId","data-v-1ae80617"]]),zt="/vue-pure-admin/logo.svg",Jt=t=>(st("data-v-79ec1141"),t=t(),rt(),t),al=Jt(()=>m("img",{src:zt,alt:"logo"},null,-1)),ll={class:"sidebar-title"},sl=Jt(()=>m("img",{src:zt,alt:"logo"},null,-1)),rl={class:"sidebar-title"},il=le({__name:"logo",props:{collapse:Boolean},setup(t){const e=t,{title:o}=Me();return(a,c)=>{const i=k("router-link");return h(),V("div",{class:se(["sidebar-logo-container",{collapses:e.collapse}])},[r(xt,{name:"sidebarLogoFade"},{default:v(()=>{var d,p;return[e.collapse?(h(),O(i,{key:"props.collapse",title:n(o),class:"sidebar-logo-link",to:((d=n(at)())==null?void 0:d.path)??"/"},{default:v(()=>[al,m("span",ll,ee(n(o)),1)]),_:1},8,["title","to"])):(h(),O(i,{key:"expand",title:n(o),class:"sidebar-logo-link",to:((p=n(at)())==null?void 0:p.path)??"/"},{default:v(()=>[sl,m("span",rl,ee(n(o)),1)]),_:1},8,["title","to"]))]}),_:1})],2)}}});const cl=pe(il,[["__scopeId","data-v-79ec1141"]]);var tt={exports:{}},Kt={},ul=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"},mt={exports:{}};typeof Object.create=="function"?mt.exports=function(e,o){e.super_=o,e.prototype=Object.create(o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:mt.exports=function(e,o){e.super_=o;var a=function(){};a.prototype=o.prototype,e.prototype=new a,e.prototype.constructor=e};var dl=mt.exports;(function(t){var e=/%[sdj%]/g;t.format=function(s){if(!N(s)){for(var l=[],u=0;u=F)return K;switch(K){case"%s":return String(Z[u++]);case"%d":return Number(Z[u++]);case"%j":try{return JSON.stringify(Z[u++])}catch{return"[Circular]"}default:return K}}),U=Z[u];u=3&&(u.depth=arguments[2]),arguments.length>=4&&(u.colors=arguments[3]),L(l)?u.showHidden=l:l&&t._extend(u,l),C(u.showHidden)&&(u.showHidden=!1),C(u.depth)&&(u.depth=2),C(u.colors)&&(u.colors=!1),C(u.customInspect)&&(u.customInspect=!0),u.colors&&(u.stylize=i),y(u,s,u.depth)}t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function i(s,l){var u=c.styles[l];return u?"\x1B["+c.colors[u][0]+"m"+s+"\x1B["+c.colors[u][1]+"m":s}function d(s,l){return s}function p(s){var l={};return s.forEach(function(u,Z){l[u]=!0}),l}function y(s,l,u){if(s.customInspect&&l&&j(l.inspect)&&l.inspect!==t.inspect&&!(l.constructor&&l.constructor.prototype===l)){var Z=l.inspect(u,s);return N(Z)||(Z=y(s,Z,u)),Z}var F=b(s,l);if(F)return F;var q=Object.keys(l),U=p(q);if(s.showHidden&&(q=Object.getOwnPropertyNames(l)),S(l)&&(q.indexOf("message")>=0||q.indexOf("description")>=0))return _(l);if(q.length===0){if(j(l)){var K=l.name?": "+l.name:"";return s.stylize("[Function"+K+"]","special")}if(A(l))return s.stylize(RegExp.prototype.toString.call(l),"regexp");if(R(l))return s.stylize(Date.prototype.toString.call(l),"date");if(S(l))return _(l)}var ae="",we=!1,Ze=["{","}"];if(w(l)&&(we=!0,Ze=["[","]"]),j(l)){var te=l.name?": "+l.name:"";ae=" [Function"+te+"]"}if(A(l)&&(ae=" "+RegExp.prototype.toString.call(l)),R(l)&&(ae=" "+Date.prototype.toUTCString.call(l)),S(l)&&(ae=" "+_(l)),q.length===0&&(!we||l.length==0))return Ze[0]+ae+Ze[1];if(u<0)return A(l)?s.stylize(RegExp.prototype.toString.call(l),"regexp"):s.stylize("[Object]","special");s.seen.push(l);var ze;return we?ze=f(s,l,u,U,q):ze=q.map(function(De){return M(s,l,u,U,De,we)}),s.seen.pop(),g(ze,ae,Ze)}function b(s,l){if(C(l))return s.stylize("undefined","undefined");if(N(l)){var u="'"+JSON.stringify(l).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return s.stylize(u,"string")}if(W(l))return s.stylize(""+l,"number");if(L(l))return s.stylize(""+l,"boolean");if(z(l))return s.stylize("null","null")}function _(s){return"["+Error.prototype.toString.call(s)+"]"}function f(s,l,u,Z,F){for(var q=[],U=0,K=l.length;U-1&&(q?K=K.split(` `).map(function(we){return" "+we}).join(` `).substr(2):K=` diff --git a/dist/static/js/index-3e45a184.js b/dist/static/js/index-8ed7452d.js similarity index 93% rename from dist/static/js/index-3e45a184.js rename to dist/static/js/index-8ed7452d.js index 69f5ceff6..67afbc17e 100644 --- a/dist/static/js/index-3e45a184.js +++ b/dist/static/js/index-8ed7452d.js @@ -1 +1 @@ -import N from"./tree-c021e085.js";import{useUser as I}from"./hook-aa4c8e54.js";import{R as T,D as q,P as E}from"./refresh-66a59325.js";import{u as s}from"./hooks-82c6b5e4.js";import{d as F}from"./admin-line-92b9acda.js";import{d as L}from"./edit-pen-37b5ced2.js";import{d as j}from"./search-cc37b371.js";import{d as A}from"./add-circle-line-a03ff6bd.js";import{d as G,r as J,a as n,o as K,i as O,h as o,e as Q,w as l,u as e,f as d,aq as y,_ as W}from"./index-ceadd577.js";import"./system-64319881.js";import"./git-branch-line-aa4cb38f.js";import"./more-2-fill-a666858a.js";import"./office-building-cc7a1721.js";import"./epTheme-904e4673.js";import"./sortable.esm-e674cde8.js";const X={width:24,height:24,body:''},Y=X,ee={width:1024,height:1024,body:''},oe=ee,le={class:"main"},ae={class:"float-right w-[82%]"},ne=G({name:"User",__name:"index",setup(te){const p=J(),{form:i,loading:u,columns:k,dataList:w,pagination:V,buttonClass:_,onSearch:f,resetForm:x,handleUpdate:h,handleDelete:S,handleSizeChange:$,handleCurrentChange:z,handleSelectionChange:P}=I();return(re,t)=>{const g=n("el-input"),m=n("el-form-item"),C=n("el-option"),R=n("el-select"),r=n("el-button"),U=n("el-form"),Z=n("el-popconfirm"),b=n("el-dropdown-item"),B=n("el-dropdown-menu"),M=n("el-dropdown"),D=n("pure-table");return K(),O("div",le,[o(N,{class:"w-[17%] float-left"}),Q("div",ae,[o(U,{ref_key:"formRef",ref:p,inline:!0,model:e(i),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"},{default:l(()=>[o(m,{label:"用户名称:",prop:"username"},{default:l(()=>[o(g,{modelValue:e(i).username,"onUpdate:modelValue":t[0]||(t[0]=a=>e(i).username=a),placeholder:"请输入用户名称",clearable:"",class:"!w-[160px]"},null,8,["modelValue"])]),_:1}),o(m,{label:"手机号码:",prop:"mobile"},{default:l(()=>[o(g,{modelValue:e(i).mobile,"onUpdate:modelValue":t[1]||(t[1]=a=>e(i).mobile=a),placeholder:"请输入手机号码",clearable:"",class:"!w-[160px]"},null,8,["modelValue"])]),_:1}),o(m,{label:"状态:",prop:"status"},{default:l(()=>[o(R,{modelValue:e(i).status,"onUpdate:modelValue":t[2]||(t[2]=a=>e(i).status=a),placeholder:"请选择",clearable:"",class:"!w-[160px]"},{default:l(()=>[o(C,{label:"已开启",value:"1"}),o(C,{label:"已关闭",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(m,null,{default:l(()=>[o(r,{type:"primary",icon:e(s)(e(j)),loading:e(u),onClick:e(f)},{default:l(()=>[d(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),o(r,{icon:e(s)(e(T)),onClick:t[3]||(t[3]=a=>e(x)(p.value))},{default:l(()=>[d(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(E),{title:"用户管理",columns:e(k),onRefresh:e(f)},{buttons:l(()=>[o(r,{type:"primary",icon:e(s)(e(A))},{default:l(()=>[d(" 新增用户 ")]),_:1},8,["icon"])]),default:l(({size:a,dynamicColumns:H})=>[o(D,{border:"",adaptive:"","align-whole":"center","table-layout":"auto",loading:e(u),size:a,data:e(w),columns:H,pagination:e(V),paginationSmall:a==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:e(P),onPageSizeChange:e($),onPageCurrentChange:e(z)},{operation:l(({row:c})=>[o(r,{class:"reset-margin",link:"",type:"primary",size:a,onClick:v=>e(h)(c),icon:e(s)(e(L))},{default:l(()=>[d(" 修改 ")]),_:2},1032,["size","onClick","icon"]),o(Z,{title:"是否确认删除?"},{reference:l(()=>[o(r,{class:"reset-margin",link:"",type:"primary",size:a,icon:e(s)(e(q)),onClick:v=>e(S)(c)},{default:l(()=>[d(" 删除 ")]),_:2},1032,["size","icon","onClick"])]),_:2},1024),o(M,null,{dropdown:l(()=>[o(B,null,{default:l(()=>[o(b,null,{default:l(()=>[o(r,{class:y(e(_)),link:"",type:"primary",size:a,icon:e(s)(e(Y))},{default:l(()=>[d(" 重置密码 ")]),_:2},1032,["class","size","icon"])]),_:2},1024),o(b,null,{default:l(()=>[o(r,{class:y(e(_)),link:"",type:"primary",size:a,icon:e(s)(e(F))},{default:l(()=>[d(" 分配角色 ")]),_:2},1032,["class","size","icon"])]),_:2},1024)]),_:2},1024)]),default:l(()=>[o(r,{class:"ml-3 mt-[2px]",link:"",type:"primary",size:a,onClick:v=>e(h)(c),icon:e(s)(e(oe))},null,8,["size","onClick","icon"])]),_:2},1024)]),_:2},1032,["loading","size","data","columns","pagination","paginationSmall","header-cell-style","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])])}}});const ke=W(ne,[["__scopeId","data-v-43f0937d"]]);export{ke as default}; +import N from"./tree-686f8835.js";import{useUser as I}from"./hook-b6edb070.js";import{R as T,D as q,P as E}from"./refresh-ac0fe015.js";import{u as s}from"./hooks-2ea9b191.js";import{d as F}from"./admin-line-92b9acda.js";import{d as L}from"./edit-pen-37b5ced2.js";import{d as j}from"./search-cc37b371.js";import{d as A}from"./add-circle-line-a03ff6bd.js";import{d as G,r as J,a as n,o as K,i as O,h as o,e as Q,w as l,u as e,f as d,aq as y,_ as W}from"./index-42b0cfe4.js";import"./system-b32e34d2.js";import"./git-branch-line-aa4cb38f.js";import"./more-2-fill-a666858a.js";import"./office-building-cc7a1721.js";import"./epTheme-ff3a171c.js";import"./sortable.esm-e674cde8.js";const X={width:24,height:24,body:''},Y=X,ee={width:1024,height:1024,body:''},oe=ee,le={class:"main"},ae={class:"float-right w-[82%]"},ne=G({name:"User",__name:"index",setup(te){const p=J(),{form:i,loading:u,columns:k,dataList:w,pagination:V,buttonClass:_,onSearch:f,resetForm:x,handleUpdate:h,handleDelete:S,handleSizeChange:$,handleCurrentChange:z,handleSelectionChange:P}=I();return(re,t)=>{const g=n("el-input"),m=n("el-form-item"),C=n("el-option"),R=n("el-select"),r=n("el-button"),U=n("el-form"),Z=n("el-popconfirm"),b=n("el-dropdown-item"),B=n("el-dropdown-menu"),M=n("el-dropdown"),D=n("pure-table");return K(),O("div",le,[o(N,{class:"w-[17%] float-left"}),Q("div",ae,[o(U,{ref_key:"formRef",ref:p,inline:!0,model:e(i),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"},{default:l(()=>[o(m,{label:"用户名称:",prop:"username"},{default:l(()=>[o(g,{modelValue:e(i).username,"onUpdate:modelValue":t[0]||(t[0]=a=>e(i).username=a),placeholder:"请输入用户名称",clearable:"",class:"!w-[160px]"},null,8,["modelValue"])]),_:1}),o(m,{label:"手机号码:",prop:"mobile"},{default:l(()=>[o(g,{modelValue:e(i).mobile,"onUpdate:modelValue":t[1]||(t[1]=a=>e(i).mobile=a),placeholder:"请输入手机号码",clearable:"",class:"!w-[160px]"},null,8,["modelValue"])]),_:1}),o(m,{label:"状态:",prop:"status"},{default:l(()=>[o(R,{modelValue:e(i).status,"onUpdate:modelValue":t[2]||(t[2]=a=>e(i).status=a),placeholder:"请选择",clearable:"",class:"!w-[160px]"},{default:l(()=>[o(C,{label:"已开启",value:"1"}),o(C,{label:"已关闭",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(m,null,{default:l(()=>[o(r,{type:"primary",icon:e(s)(e(j)),loading:e(u),onClick:e(f)},{default:l(()=>[d(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),o(r,{icon:e(s)(e(T)),onClick:t[3]||(t[3]=a=>e(x)(p.value))},{default:l(()=>[d(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(E),{title:"用户管理",columns:e(k),onRefresh:e(f)},{buttons:l(()=>[o(r,{type:"primary",icon:e(s)(e(A))},{default:l(()=>[d(" 新增用户 ")]),_:1},8,["icon"])]),default:l(({size:a,dynamicColumns:H})=>[o(D,{border:"",adaptive:"","align-whole":"center","table-layout":"auto",loading:e(u),size:a,data:e(w),columns:H,pagination:e(V),paginationSmall:a==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:e(P),onPageSizeChange:e($),onPageCurrentChange:e(z)},{operation:l(({row:c})=>[o(r,{class:"reset-margin",link:"",type:"primary",size:a,onClick:v=>e(h)(c),icon:e(s)(e(L))},{default:l(()=>[d(" 修改 ")]),_:2},1032,["size","onClick","icon"]),o(Z,{title:"是否确认删除?"},{reference:l(()=>[o(r,{class:"reset-margin",link:"",type:"primary",size:a,icon:e(s)(e(q)),onClick:v=>e(S)(c)},{default:l(()=>[d(" 删除 ")]),_:2},1032,["size","icon","onClick"])]),_:2},1024),o(M,null,{dropdown:l(()=>[o(B,null,{default:l(()=>[o(b,null,{default:l(()=>[o(r,{class:y(e(_)),link:"",type:"primary",size:a,icon:e(s)(e(Y))},{default:l(()=>[d(" 重置密码 ")]),_:2},1032,["class","size","icon"])]),_:2},1024),o(b,null,{default:l(()=>[o(r,{class:y(e(_)),link:"",type:"primary",size:a,icon:e(s)(e(F))},{default:l(()=>[d(" 分配角色 ")]),_:2},1032,["class","size","icon"])]),_:2},1024)]),_:2},1024)]),default:l(()=>[o(r,{class:"ml-3 mt-[2px]",link:"",type:"primary",size:a,onClick:v=>e(h)(c),icon:e(s)(e(oe))},null,8,["size","onClick","icon"])]),_:2},1024)]),_:2},1032,["loading","size","data","columns","pagination","paginationSmall","header-cell-style","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])])}}});const ke=W(ne,[["__scopeId","data-v-43f0937d"]]);export{ke as default}; diff --git a/dist/static/js/index-85a09f73.js b/dist/static/js/index-8ef104cf.js similarity index 89% rename from dist/static/js/index-85a09f73.js rename to dist/static/js/index-8ef104cf.js index e521592a8..cbd9b8984 100644 --- a/dist/static/js/index-85a09f73.js +++ b/dist/static/js/index-8ef104cf.js @@ -1 +1 @@ -import{useRole as T}from"./hook-047bb42e.js";import{R as U,D as I,P as N}from"./refresh-66a59325.js";import{u as s}from"./hooks-82c6b5e4.js";import{d as E}from"./edit-pen-37b5ced2.js";import{d as F}from"./search-cc37b371.js";import{d as L}from"./menu-a4fe64fb.js";import{d as M}from"./add-circle-line-a03ff6bd.js";import{d as O,r as j,a as t,o as q,i as A,h as o,w as l,u as e,f as m,_ as G}from"./index-ceadd577.js";import"./form.vue_vue_type_script_setup_true_lang-88b521bf.js";import"./system-64319881.js";import"./hooks-0879ef18.js";import"./epTheme-904e4673.js";import"./sortable.esm-e674cde8.js";const H={class:"main"},J=O({name:"Role",__name:"index",setup(K){const d=j(),{form:r,loading:u,columns:b,dataList:h,pagination:v,onSearch:_,resetForm:y,openDialog:f,handleMenu:k,handleDelete:x,handleSizeChange:V,handleCurrentChange:R,handleSelectionChange:S}=T();return(Q,a)=>{const g=t("el-input"),p=t("el-form-item"),C=t("el-option"),w=t("el-select"),i=t("el-button"),$=t("el-form"),P=t("el-popconfirm"),D=t("pure-table");return q(),A("div",H,[o($,{ref_key:"formRef",ref:d,inline:!0,model:e(r),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"},{default:l(()=>[o(p,{label:"角色名称:",prop:"name"},{default:l(()=>[o(g,{modelValue:e(r).name,"onUpdate:modelValue":a[0]||(a[0]=n=>e(r).name=n),placeholder:"请输入角色名称",clearable:"",class:"!w-[200px]"},null,8,["modelValue"])]),_:1}),o(p,{label:"角色标识:",prop:"code"},{default:l(()=>[o(g,{modelValue:e(r).code,"onUpdate:modelValue":a[1]||(a[1]=n=>e(r).code=n),placeholder:"请输入角色标识",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),o(p,{label:"状态:",prop:"status"},{default:l(()=>[o(w,{modelValue:e(r).status,"onUpdate:modelValue":a[2]||(a[2]=n=>e(r).status=n),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:l(()=>[o(C,{label:"已启用",value:"1"}),o(C,{label:"已停用",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(p,null,{default:l(()=>[o(i,{type:"primary",icon:e(s)(e(F)),loading:e(u),onClick:e(_)},{default:l(()=>[m(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),o(i,{icon:e(s)(e(U)),onClick:a[3]||(a[3]=n=>e(y)(d.value))},{default:l(()=>[m(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(N),{title:"角色列表(仅演示,操作后不生效)",columns:e(b),onRefresh:e(_)},{buttons:l(()=>[o(i,{type:"primary",icon:e(s)(e(M)),onClick:a[4]||(a[4]=n=>e(f)())},{default:l(()=>[m(" 新增角色 ")]),_:1},8,["icon"])]),default:l(({size:n,dynamicColumns:z})=>[o(D,{border:"","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(u),size:n,adaptive:"",data:e(h),columns:z,pagination:e(v),paginationSmall:n==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:e(S),onPageSizeChange:e(V),onPageCurrentChange:e(R)},{operation:l(({row:c})=>[o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(s)(e(E)),onClick:B=>e(f)("编辑",c)},{default:l(()=>[m(" 修改 ")]),_:2},1032,["size","icon","onClick"]),o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(s)(e(L)),onClick:e(k)},{default:l(()=>[m(" 菜单权限 ")]),_:2},1032,["size","icon","onClick"]),o(P,{title:`是否确认删除角色名称为${c.name}的这条数据`,onConfirm:B=>e(x)(c)},{reference:l(()=>[o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(s)(e(I))},{default:l(()=>[m(" 删除 ")]),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","paginationSmall","header-cell-style","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])}}});const me=G(J,[["__scopeId","data-v-f7943904"]]);export{me as default}; +import{useRole as T}from"./hook-70100432.js";import{R as U,D as I,P as N}from"./refresh-ac0fe015.js";import{u as s}from"./hooks-2ea9b191.js";import{d as E}from"./edit-pen-37b5ced2.js";import{d as F}from"./search-cc37b371.js";import{d as L}from"./menu-a4fe64fb.js";import{d as M}from"./add-circle-line-a03ff6bd.js";import{d as O,r as j,a as t,o as q,i as A,h as o,w as l,u as e,f as m,_ as G}from"./index-42b0cfe4.js";import"./form.vue_vue_type_script_setup_true_lang-a7e35271.js";import"./system-b32e34d2.js";import"./hooks-7e719396.js";import"./epTheme-ff3a171c.js";import"./sortable.esm-e674cde8.js";const H={class:"main"},J=O({name:"Role",__name:"index",setup(K){const d=j(),{form:r,loading:u,columns:b,dataList:h,pagination:v,onSearch:_,resetForm:y,openDialog:f,handleMenu:k,handleDelete:x,handleSizeChange:V,handleCurrentChange:R,handleSelectionChange:S}=T();return(Q,a)=>{const g=t("el-input"),p=t("el-form-item"),C=t("el-option"),w=t("el-select"),i=t("el-button"),$=t("el-form"),P=t("el-popconfirm"),D=t("pure-table");return q(),A("div",H,[o($,{ref_key:"formRef",ref:d,inline:!0,model:e(r),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"},{default:l(()=>[o(p,{label:"角色名称:",prop:"name"},{default:l(()=>[o(g,{modelValue:e(r).name,"onUpdate:modelValue":a[0]||(a[0]=n=>e(r).name=n),placeholder:"请输入角色名称",clearable:"",class:"!w-[200px]"},null,8,["modelValue"])]),_:1}),o(p,{label:"角色标识:",prop:"code"},{default:l(()=>[o(g,{modelValue:e(r).code,"onUpdate:modelValue":a[1]||(a[1]=n=>e(r).code=n),placeholder:"请输入角色标识",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),o(p,{label:"状态:",prop:"status"},{default:l(()=>[o(w,{modelValue:e(r).status,"onUpdate:modelValue":a[2]||(a[2]=n=>e(r).status=n),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:l(()=>[o(C,{label:"已启用",value:"1"}),o(C,{label:"已停用",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(p,null,{default:l(()=>[o(i,{type:"primary",icon:e(s)(e(F)),loading:e(u),onClick:e(_)},{default:l(()=>[m(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),o(i,{icon:e(s)(e(U)),onClick:a[3]||(a[3]=n=>e(y)(d.value))},{default:l(()=>[m(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(N),{title:"角色列表(仅演示,操作后不生效)",columns:e(b),onRefresh:e(_)},{buttons:l(()=>[o(i,{type:"primary",icon:e(s)(e(M)),onClick:a[4]||(a[4]=n=>e(f)())},{default:l(()=>[m(" 新增角色 ")]),_:1},8,["icon"])]),default:l(({size:n,dynamicColumns:z})=>[o(D,{border:"","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(u),size:n,adaptive:"",data:e(h),columns:z,pagination:e(v),paginationSmall:n==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:e(S),onPageSizeChange:e(V),onPageCurrentChange:e(R)},{operation:l(({row:c})=>[o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(s)(e(E)),onClick:B=>e(f)("编辑",c)},{default:l(()=>[m(" 修改 ")]),_:2},1032,["size","icon","onClick"]),o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(s)(e(L)),onClick:e(k)},{default:l(()=>[m(" 菜单权限 ")]),_:2},1032,["size","icon","onClick"]),o(P,{title:`是否确认删除角色名称为${c.name}的这条数据`,onConfirm:B=>e(x)(c)},{reference:l(()=>[o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(s)(e(I))},{default:l(()=>[m(" 删除 ")]),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","paginationSmall","header-cell-style","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])}}});const me=G(J,[["__scopeId","data-v-f7943904"]]);export{me as default}; diff --git a/dist/static/js/index-91335a73.js b/dist/static/js/index-91335a73.js deleted file mode 100644 index b167fca82..000000000 --- a/dist/static/js/index-91335a73.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-fbc09ad7.js";import"./columns-a9925c7c.js";import"./index-ceadd577.js";import"./data-c6346f61.js";import"./edit-pen-37b5ced2.js";import"./check-3815600c.js";export{o as default}; diff --git a/dist/static/js/index-91dda045.js b/dist/static/js/index-91dda045.js new file mode 100644 index 000000000..8a993952f --- /dev/null +++ b/dist/static/js/index-91dda045.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-a3e0389a.js";import"./columns-e5795be2.js";import"./index-42b0cfe4.js";import"./data-43132d69.js";import"./edit-pen-37b5ced2.js";import"./check-3815600c.js";export{o as default}; diff --git a/dist/static/js/index-933c2dc7.js b/dist/static/js/index-933c2dc7.js deleted file mode 100644 index 0c0bac30c..000000000 --- a/dist/static/js/index-933c2dc7.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-97e25004.js";import"./index.vue_vue_type_script_setup_true_lang-7c698d53.js";import"./columns-9576412b.js";import"./index-ceadd577.js";import"./data-c6346f61.js";import"./index.vue_vue_type_script_setup_true_lang-808d4627.js";import"./columns-75d79a61.js";export{o as default}; diff --git a/dist/static/js/index-94a61ec6.js b/dist/static/js/index-94a61ec6.js deleted file mode 100644 index 9b91cba6b..000000000 --- a/dist/static/js/index-94a61ec6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-ad86bd1d.js";import"./columns-b74d2f49.js";import"./index-ceadd577.js";import"./data-c6346f61.js";export{o as default}; diff --git a/dist/static/js/index-8460cfed.js b/dist/static/js/index-95007ff2.js similarity index 75% rename from dist/static/js/index-8460cfed.js rename to dist/static/js/index-95007ff2.js index d711678b9..bf584f9cf 100644 --- a/dist/static/js/index-8460cfed.js +++ b/dist/static/js/index-95007ff2.js @@ -1 +1 @@ -import{d as s,O as a,b6 as l}from"./index-ceadd577.js";const r=s({name:"ReCol",props:{value:{type:Number,default:24}},render(){const e=this.$attrs,t=this.value;return a(l,{xs:t,sm:t,md:t,lg:t,xl:t,...e},{default:()=>this.$slots.default()})}});export{r as R}; +import{d as s,O as a,b6 as l}from"./index-42b0cfe4.js";const r=s({name:"ReCol",props:{value:{type:Number,default:24}},render(){const e=this.$attrs,t=this.value;return a(l,{xs:t,sm:t,md:t,lg:t,xl:t,...e},{default:()=>this.$slots.default()})}});export{r as R}; diff --git a/dist/static/js/index-9a4aa307.js b/dist/static/js/index-9a4aa307.js new file mode 100644 index 000000000..43122e85b --- /dev/null +++ b/dist/static/js/index-9a4aa307.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-709c24e0.js";import"./columns-94e2a27b.js";import"./xlsx-f5126985.js";import"./data-43132d69.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/index-9bc34734.js b/dist/static/js/index-9bc34734.js deleted file mode 100644 index 51491e6c9..000000000 --- a/dist/static/js/index-9bc34734.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-7c698d53.js";import"./columns-9576412b.js";import"./index-ceadd577.js";import"./data-c6346f61.js";export{o as default}; diff --git a/dist/static/js/index-9f1354af.js b/dist/static/js/index-9f1354af.js new file mode 100644 index 000000000..c2e1c0991 --- /dev/null +++ b/dist/static/js/index-9f1354af.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-9cbaaa8a.js";import"./columns-1b8f8615.js";import"./index-42b0cfe4.js";import"./data-9af24e22.js";export{o as default}; diff --git a/dist/static/js/index-8c391611.js b/dist/static/js/index-a372afac.js similarity index 84% rename from dist/static/js/index-8c391611.js rename to dist/static/js/index-a372afac.js index 109e3b5ad..e11caf65e 100644 --- a/dist/static/js/index-8c391611.js +++ b/dist/static/js/index-a372afac.js @@ -1 +1 @@ -import{d as s,r as l,$ as u,a as r,i as p,e as m,t as d,u as i,h as c,o as _}from"./index-ceadd577.js";const f={class:"dark:text-white"},h=s({name:"Menu2",__name:"index",setup(V){const e=l(""),{t}=u();return(v,n)=>{const a=r("el-input");return _(),p("div",f,[m("p",null,d(i(t)("menus.hsmenu2")),1),c(a,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=o=>e.value=o)},null,8,["modelValue"])])}}});export{h as default}; +import{d as s,r as l,$ as u,a as r,i as p,e as m,t as d,u as i,h as c,o as _}from"./index-42b0cfe4.js";const f={class:"dark:text-white"},h=s({name:"Menu2",__name:"index",setup(V){const e=l(""),{t}=u();return(v,n)=>{const a=r("el-input");return _(),p("div",f,[m("p",null,d(i(t)("menus.hsmenu2")),1),c(a,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=o=>e.value=o)},null,8,["modelValue"])])}}});export{h as default}; diff --git a/dist/static/js/index-4586da2e.js b/dist/static/js/index-a7e6eb22.js similarity index 96% rename from dist/static/js/index-4586da2e.js rename to dist/static/js/index-a7e6eb22.js index f3bfef5bc..0603c2512 100644 --- a/dist/static/js/index-4586da2e.js +++ b/dist/static/js/index-a7e6eb22.js @@ -1 +1 @@ -import{bf as x,o as u,i as b,e as p,aw as d1,r as V,k as X,d as e1,E as P,u as e,U as f1,a2 as u1,D as p1,$ as m1,ai as h1,l as _1,a as m,h as a,as as g1,w as l,c as w,T as v1,b5 as y1,j as I,G,aq as H,g as Y,ar as J,f as $,L as w1,t as R,by as L,F as K,q as Q,bI as x1,bk as C1,m as k1,_ as b1}from"./index-ceadd577.js";import{M as k}from"./motion-3122a87d.js";import{l as Z1}from"./verifyCode-71c44392.js";import{_ as M1}from"./phone.vue_vue_type_script_setup_true_lang-1edc5613.js";import{T as I1}from"./index-e5cd6a13.js";import{_ as $1}from"./qrCode.vue_vue_type_script_setup_true_lang-76abe551.js";import{_ as V1}from"./regist.vue_vue_type_script_setup_true_lang-73a81ed6.js";import{_ as R1}from"./update.vue_vue_type_script_setup_true_lang-63cf9497.js";import{f as L1,b as z1,u as T1,a as q1,d as S1,c as E1,g as B1}from"./dark-3015d878.js";import{u as N}from"./hooks-82c6b5e4.js";import{d as U1}from"./lock-fill-34b71c6c.js";import{d as W}from"./check-3815600c.js";import{d as N1}from"./user-3-fill-70ba8c19.js";import"./iphone-bcaa848c.js";import"./index-7ace001d.js";import"./propTypes-03d1d3a5.js";import"./refresh-right-6177e75c.js";import"./epTheme-904e4673.js";import"./app-c56ccba4.js";const P1=[{title:x("login.phoneLogin")},{title:x("login.qRCodeLogin")},{title:x("login.register")}],D1=[{title:x("login.weChatLogin"),icon:"wechat"},{title:x("login.alipayLogin"),icon:"alipay"},{title:x("login.qqLogin"),icon:"qq"},{title:x("login.weiboLogin"),icon:"weibo"}],F1="/vue-pure-admin/static/png/bg-7b14eacd.png",A1={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",class:"icon",viewBox:"0 0 1024 1024"},O1=p("path",{fill:"#386BF3",d:"M410.558.109c0 210.974-300.876 361.752-300.876 633.548 0 174.943 134.704 316.787 300.876 316.787s300.877-141.817 300.877-316.787C711.408 361.752 410.558 210.974 410.558.109z"},null,-1),j1=p("path",{fill:"#C3D2FB",d:"M613.469 73.665c0 211.055-300.877 361.914-300.877 633.547C312.592 882.156 447.296 1024 613.47 1024s300.876-141.817 300.876-316.788C914.29 435.58 613.469 284.72 613.469 73.665z"},null,-1),G1=p("path",{fill:"#303F5B",d:"M312.592 707.212c0-183.713 137.636-312.171 226.723-441.39 81.702 106.112 172.12 218.74 172.12 367.726A309.755 309.755 0 0 1 420.36 950.064a323.114 323.114 0 0 1-107.769-242.852z"},null,-1),H1=[O1,j1,G1];function Y1(r,o){return u(),b("svg",A1,H1)}const J1={render:Y1},K1={xmlns:"http://www.w3.org/2000/svg",width:"500",height:"380","data-name":"Layer 1",viewBox:"0 0 871 477"},Q1=d1('',34),W1=[Q1];function X1(r,o){return u(),b("svg",K1,W1)}const e2={render:X1},t2=(r=120,o=40)=>{const d=V(),f=V("");function _(n){f.value=n}function t(){d.value&&(f.value=a2(d.value,r,o))}return X(()=>{t()}),{domRef:d,imgCode:f,setImgCode:_,getImgCode:t}};function h(r,o){return Math.floor(Math.random()*(o-r)+r)}function S(r,o){const d=h(r,o),f=h(r,o),_=h(r,o);return`rgb(${d},${f},${_})`}function a2(r,o,d){let f="";const _="0123456789",t=r.getContext("2d");if(!t)return f;t.fillStyle=S(180,230),t.fillRect(0,0,o,d);for(let n=0;n<4;n+=1){const c=_[h(0,_.length)];f+=c;const g=h(18,41),v=h(-30,30);t.font=`${g}px Simhei`,t.textBaseline="top",t.fillStyle=S(80,150),t.save(),t.translate(30*n+15,15),t.rotate(v*Math.PI/180),t.fillText(c,-15+5,-15),t.restore()}for(let n=0;n<5;n+=1)t.beginPath(),t.moveTo(h(0,o),h(0,d)),t.lineTo(h(0,o),h(0,d)),t.strokeStyle=S(180,230),t.closePath(),t.stroke();for(let n=0;n<41;n+=1)t.beginPath(),t.arc(h(0,o),h(0,d),1,0,2*Math.PI),t.closePath(),t.fillStyle=S(150,200),t.fill();return f}const l2=e1({name:"ReImageVerify",__name:"index",props:{code:{default:""}},emits:["update:code"],setup(r,{expose:o,emit:d}){const f=r,{domRef:_,imgCode:t,setImgCode:n,getImgCode:c}=t2();return P(()=>f.code,g=>{n(g)}),P(t,g=>{d("update:code",g)}),o({getImgCode:c}),(g,v)=>(u(),b("canvas",{ref_key:"domRef",ref:_,width:"120",height:"40",class:"cursor-pointer",onClick:v[0]||(v[0]=(...z)=>e(c)&&e(c)(...z))},null,512))}}),o2=f1(l2),n2={class:"select-none"},s2=["src"],i2={class:"flex-c absolute right-5 top-3"},c2={class:"check-en"},r2={class:"login-container"},d2={class:"img"},f2={class:"login-box"},u2={class:"login-form"},p2={class:"outline-none"},m2={class:"w-full h-[20px] flex justify-between items-center"},h2={class:"w-full h-[20px] flex justify-between items-center"},_2={class:"text-gray-500 text-xs"},g2={class:"w-full flex justify-evenly"},v2=["title"],y2=e1({name:"Login",__name:"index",setup(r){const o=V(""),d=u1(),f=V(!1),_=V(!1),t=V(),n=p1(()=>L().currentPage),{t:c}=m1(),{initStorage:g}=L1();g();const{dataTheme:v,dataThemeChange:z}=z1();z();const{title:t1,getDropdownItemStyle:D,getDropdownItemClass:F}=T1(),{locale:Z,translationCh:a1,translationEn:l1}=q1(),y=h1({username:"admin",password:"admin123",verifyCode:""}),A=async C=>{f.value=!0,C&&await C.validate((s,E)=>{if(s)L().loginByUsername({username:y.username,password:"admin123"}).then(T=>{T.success&&x1().then(()=>{d.push(C1(!0).path),k1("登录成功",{type:"success"})})});else return f.value=!1,E})};function O({code:C}){C==="Enter"&&A(t.value)}return X(()=>{window.document.addEventListener("keypress",O)}),_1(()=>{window.document.removeEventListener("keypress",O)}),P(o,C=>{L().SET_VERIFYCODE(C)}),(C,s)=>{const E=m("el-switch"),T=m("IconifyIconOffline"),j=m("el-dropdown-item"),o1=m("el-dropdown-menu"),n1=m("el-dropdown"),B=m("el-input"),M=m("el-form-item"),s1=m("el-checkbox"),U=m("el-button"),i1=m("el-form"),c1=m("el-divider"),r1=m("IconifyIconOnline");return u(),b("div",n2,[p("img",{src:e(F1),class:"wave"},null,8,s2),p("div",i2,[a(E,{modelValue:e(v),"onUpdate:modelValue":s[0]||(s[0]=i=>g1(v)?v.value=i:null),"inline-prompt":"","active-icon":e(S1),"inactive-icon":e(E1),onChange:e(z)},null,8,["modelValue","active-icon","inactive-icon","onChange"]),a(n1,{trigger:"click"},{dropdown:l(()=>[a(o1,{class:"translation"},{default:l(()=>[a(j,{style:G(e(D)(e(Z),"zh")),class:H(["dark:!text-white",e(F)(e(Z),"zh")]),onClick:e(a1)},{default:l(()=>[Y(a(T,{class:"check-zh",icon:e(W)},null,8,["icon"]),[[J,e(Z)==="zh"]]),$(" 简体中文 ")]),_:1},8,["style","class","onClick"]),a(j,{style:G(e(D)(e(Z),"en")),class:H(["dark:!text-white",e(F)(e(Z),"en")]),onClick:e(l1)},{default:l(()=>[Y(p("span",c2,[a(T,{icon:e(W)},null,8,["icon"])],512),[[J,e(Z)==="en"]]),$(" English ")]),_:1},8,["style","class","onClick"])]),_:1})]),default:l(()=>[a(e(B1),{class:"hover:text-primary hover:!bg-[transparent] w-[20px] h-[20px] ml-1.5 cursor-pointer outline-none duration-300"})]),_:1})]),p("div",r2,[p("div",d2,[(u(),w(v1(y1(e(e2)))))]),p("div",f2,[p("div",u2,[a(e(J1),{class:"avatar"}),a(e(k),null,{default:l(()=>[p("h2",p2,[a(e(I1),{values:[e(t1)],cursor:!1,speed:150},null,8,["values"])])]),_:1}),n.value===0?(u(),w(i1,{key:0,ref_key:"ruleFormRef",ref:t,model:y,rules:e(Z1),size:"large"},{default:l(()=>[a(e(k),{delay:100},{default:l(()=>[a(M,{rules:[{required:!0,message:e(w1)(e(x)("login.usernameReg")),trigger:"blur"}],prop:"username"},{default:l(()=>[a(B,{clearable:"",modelValue:y.username,"onUpdate:modelValue":s[1]||(s[1]=i=>y.username=i),placeholder:e(c)("login.username"),"prefix-icon":e(N)(e(N1))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1},8,["rules"])]),_:1}),a(e(k),{delay:150},{default:l(()=>[a(M,{prop:"password"},{default:l(()=>[a(B,{clearable:"","show-password":"",modelValue:y.password,"onUpdate:modelValue":s[2]||(s[2]=i=>y.password=i),placeholder:e(c)("login.password"),"prefix-icon":e(N)(e(U1))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),a(e(k),{delay:200},{default:l(()=>[a(M,{prop:"verifyCode"},{default:l(()=>[a(B,{clearable:"",modelValue:y.verifyCode,"onUpdate:modelValue":s[4]||(s[4]=i=>y.verifyCode=i),placeholder:e(c)("login.verifyCode"),"prefix-icon":e(N)("ri:shield-keyhole-line")},{append:l(()=>[a(e(o2),{code:o.value,"onUpdate:code":s[3]||(s[3]=i=>o.value=i)},null,8,["code"])]),_:1},8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),a(e(k),{delay:250},{default:l(()=>[a(M,null,{default:l(()=>[p("div",m2,[a(s1,{modelValue:_.value,"onUpdate:modelValue":s[5]||(s[5]=i=>_.value=i)},{default:l(()=>[$(R(e(c)("login.remember")),1)]),_:1},8,["modelValue"]),a(U,{link:"",type:"primary",onClick:s[6]||(s[6]=i=>e(L)().SET_CURRENTPAGE(4))},{default:l(()=>[$(R(e(c)("login.forget")),1)]),_:1})]),a(U,{class:"w-full mt-4",size:"default",type:"primary",loading:f.value,onClick:s[7]||(s[7]=i=>A(t.value))},{default:l(()=>[$(R(e(c)("login.login")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),a(e(k),{delay:300},{default:l(()=>[a(M,null,{default:l(()=>[p("div",h2,[(u(!0),b(K,null,Q(e(P1),(i,q)=>(u(),w(U,{key:q,class:"w-full mt-4",size:"default",onClick:w2=>e(L)().SET_CURRENTPAGE(q+1)},{default:l(()=>[$(R(e(c)(i.title)),1)]),_:2},1032,["onClick"]))),128))])]),_:1})]),_:1})]),_:1},8,["model","rules"])):I("",!0),n.value===0?(u(),w(e(k),{key:1,delay:350},{default:l(()=>[a(M,null,{default:l(()=>[a(c1,null,{default:l(()=>[p("p",_2,R(e(c)("login.thirdLogin")),1)]),_:1}),p("div",g2,[(u(!0),b(K,null,Q(e(D1),(i,q)=>(u(),b("span",{key:q,title:e(c)(i.title)},[a(r1,{icon:`ri:${i.icon}-fill`,width:"20",class:"cursor-pointer text-gray-500 hover:text-blue-400"},null,8,["icon"])],8,v2))),128))])]),_:1})]),_:1})):I("",!0),n.value===1?(u(),w(M1,{key:2})):I("",!0),n.value===2?(u(),w($1,{key:3})):I("",!0),n.value===3?(u(),w(V1,{key:4})):I("",!0),n.value===4?(u(),w(R1,{key:5})):I("",!0)])])])])}}});const P2=b1(y2,[["__scopeId","data-v-371e2d49"]]);export{P2 as default}; +import{bf as x,o as u,i as b,e as p,aw as d1,r as V,k as X,d as e1,E as P,u as e,U as f1,a2 as u1,D as p1,$ as m1,ai as h1,l as _1,a as m,h as a,as as g1,w as l,c as w,T as v1,b5 as y1,j as I,G,aq as H,g as Y,ar as J,f as $,L as w1,t as R,by as L,F as K,q as Q,bI as x1,bk as C1,m as k1,_ as b1}from"./index-42b0cfe4.js";import{M as k}from"./motion-c3b5429c.js";import{l as Z1}from"./verifyCode-3d75d9a0.js";import{_ as M1}from"./phone.vue_vue_type_script_setup_true_lang-8ba64388.js";import{T as I1}from"./index-6393607f.js";import{_ as $1}from"./qrCode.vue_vue_type_script_setup_true_lang-fef89734.js";import{_ as V1}from"./regist.vue_vue_type_script_setup_true_lang-91f1bfc3.js";import{_ as R1}from"./update.vue_vue_type_script_setup_true_lang-9a96c023.js";import{f as L1,b as z1,u as T1,a as q1,d as S1,c as E1,g as B1}from"./dark-6ca62a74.js";import{u as N}from"./hooks-2ea9b191.js";import{d as U1}from"./lock-fill-34b71c6c.js";import{d as W}from"./check-3815600c.js";import{d as N1}from"./user-3-fill-70ba8c19.js";import"./iphone-bcaa848c.js";import"./index-afca5026.js";import"./propTypes-03d1d3a5.js";import"./refresh-right-6177e75c.js";import"./epTheme-ff3a171c.js";import"./app-246d46a6.js";const P1=[{title:x("login.phoneLogin")},{title:x("login.qRCodeLogin")},{title:x("login.register")}],D1=[{title:x("login.weChatLogin"),icon:"wechat"},{title:x("login.alipayLogin"),icon:"alipay"},{title:x("login.qqLogin"),icon:"qq"},{title:x("login.weiboLogin"),icon:"weibo"}],F1="/vue-pure-admin/static/png/bg-7b14eacd.png",A1={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",class:"icon",viewBox:"0 0 1024 1024"},O1=p("path",{fill:"#386BF3",d:"M410.558.109c0 210.974-300.876 361.752-300.876 633.548 0 174.943 134.704 316.787 300.876 316.787s300.877-141.817 300.877-316.787C711.408 361.752 410.558 210.974 410.558.109z"},null,-1),j1=p("path",{fill:"#C3D2FB",d:"M613.469 73.665c0 211.055-300.877 361.914-300.877 633.547C312.592 882.156 447.296 1024 613.47 1024s300.876-141.817 300.876-316.788C914.29 435.58 613.469 284.72 613.469 73.665z"},null,-1),G1=p("path",{fill:"#303F5B",d:"M312.592 707.212c0-183.713 137.636-312.171 226.723-441.39 81.702 106.112 172.12 218.74 172.12 367.726A309.755 309.755 0 0 1 420.36 950.064a323.114 323.114 0 0 1-107.769-242.852z"},null,-1),H1=[O1,j1,G1];function Y1(r,o){return u(),b("svg",A1,H1)}const J1={render:Y1},K1={xmlns:"http://www.w3.org/2000/svg",width:"500",height:"380","data-name":"Layer 1",viewBox:"0 0 871 477"},Q1=d1('',34),W1=[Q1];function X1(r,o){return u(),b("svg",K1,W1)}const e2={render:X1},t2=(r=120,o=40)=>{const d=V(),f=V("");function _(n){f.value=n}function t(){d.value&&(f.value=a2(d.value,r,o))}return X(()=>{t()}),{domRef:d,imgCode:f,setImgCode:_,getImgCode:t}};function h(r,o){return Math.floor(Math.random()*(o-r)+r)}function S(r,o){const d=h(r,o),f=h(r,o),_=h(r,o);return`rgb(${d},${f},${_})`}function a2(r,o,d){let f="";const _="0123456789",t=r.getContext("2d");if(!t)return f;t.fillStyle=S(180,230),t.fillRect(0,0,o,d);for(let n=0;n<4;n+=1){const c=_[h(0,_.length)];f+=c;const g=h(18,41),v=h(-30,30);t.font=`${g}px Simhei`,t.textBaseline="top",t.fillStyle=S(80,150),t.save(),t.translate(30*n+15,15),t.rotate(v*Math.PI/180),t.fillText(c,-15+5,-15),t.restore()}for(let n=0;n<5;n+=1)t.beginPath(),t.moveTo(h(0,o),h(0,d)),t.lineTo(h(0,o),h(0,d)),t.strokeStyle=S(180,230),t.closePath(),t.stroke();for(let n=0;n<41;n+=1)t.beginPath(),t.arc(h(0,o),h(0,d),1,0,2*Math.PI),t.closePath(),t.fillStyle=S(150,200),t.fill();return f}const l2=e1({name:"ReImageVerify",__name:"index",props:{code:{default:""}},emits:["update:code"],setup(r,{expose:o,emit:d}){const f=r,{domRef:_,imgCode:t,setImgCode:n,getImgCode:c}=t2();return P(()=>f.code,g=>{n(g)}),P(t,g=>{d("update:code",g)}),o({getImgCode:c}),(g,v)=>(u(),b("canvas",{ref_key:"domRef",ref:_,width:"120",height:"40",class:"cursor-pointer",onClick:v[0]||(v[0]=(...z)=>e(c)&&e(c)(...z))},null,512))}}),o2=f1(l2),n2={class:"select-none"},s2=["src"],i2={class:"flex-c absolute right-5 top-3"},c2={class:"check-en"},r2={class:"login-container"},d2={class:"img"},f2={class:"login-box"},u2={class:"login-form"},p2={class:"outline-none"},m2={class:"w-full h-[20px] flex justify-between items-center"},h2={class:"w-full h-[20px] flex justify-between items-center"},_2={class:"text-gray-500 text-xs"},g2={class:"w-full flex justify-evenly"},v2=["title"],y2=e1({name:"Login",__name:"index",setup(r){const o=V(""),d=u1(),f=V(!1),_=V(!1),t=V(),n=p1(()=>L().currentPage),{t:c}=m1(),{initStorage:g}=L1();g();const{dataTheme:v,dataThemeChange:z}=z1();z();const{title:t1,getDropdownItemStyle:D,getDropdownItemClass:F}=T1(),{locale:Z,translationCh:a1,translationEn:l1}=q1(),y=h1({username:"admin",password:"admin123",verifyCode:""}),A=async C=>{f.value=!0,C&&await C.validate((s,E)=>{if(s)L().loginByUsername({username:y.username,password:"admin123"}).then(T=>{T.success&&x1().then(()=>{d.push(C1(!0).path),k1("登录成功",{type:"success"})})});else return f.value=!1,E})};function O({code:C}){C==="Enter"&&A(t.value)}return X(()=>{window.document.addEventListener("keypress",O)}),_1(()=>{window.document.removeEventListener("keypress",O)}),P(o,C=>{L().SET_VERIFYCODE(C)}),(C,s)=>{const E=m("el-switch"),T=m("IconifyIconOffline"),j=m("el-dropdown-item"),o1=m("el-dropdown-menu"),n1=m("el-dropdown"),B=m("el-input"),M=m("el-form-item"),s1=m("el-checkbox"),U=m("el-button"),i1=m("el-form"),c1=m("el-divider"),r1=m("IconifyIconOnline");return u(),b("div",n2,[p("img",{src:e(F1),class:"wave"},null,8,s2),p("div",i2,[a(E,{modelValue:e(v),"onUpdate:modelValue":s[0]||(s[0]=i=>g1(v)?v.value=i:null),"inline-prompt":"","active-icon":e(S1),"inactive-icon":e(E1),onChange:e(z)},null,8,["modelValue","active-icon","inactive-icon","onChange"]),a(n1,{trigger:"click"},{dropdown:l(()=>[a(o1,{class:"translation"},{default:l(()=>[a(j,{style:G(e(D)(e(Z),"zh")),class:H(["dark:!text-white",e(F)(e(Z),"zh")]),onClick:e(a1)},{default:l(()=>[Y(a(T,{class:"check-zh",icon:e(W)},null,8,["icon"]),[[J,e(Z)==="zh"]]),$(" 简体中文 ")]),_:1},8,["style","class","onClick"]),a(j,{style:G(e(D)(e(Z),"en")),class:H(["dark:!text-white",e(F)(e(Z),"en")]),onClick:e(l1)},{default:l(()=>[Y(p("span",c2,[a(T,{icon:e(W)},null,8,["icon"])],512),[[J,e(Z)==="en"]]),$(" English ")]),_:1},8,["style","class","onClick"])]),_:1})]),default:l(()=>[a(e(B1),{class:"hover:text-primary hover:!bg-[transparent] w-[20px] h-[20px] ml-1.5 cursor-pointer outline-none duration-300"})]),_:1})]),p("div",r2,[p("div",d2,[(u(),w(v1(y1(e(e2)))))]),p("div",f2,[p("div",u2,[a(e(J1),{class:"avatar"}),a(e(k),null,{default:l(()=>[p("h2",p2,[a(e(I1),{values:[e(t1)],cursor:!1,speed:150},null,8,["values"])])]),_:1}),n.value===0?(u(),w(i1,{key:0,ref_key:"ruleFormRef",ref:t,model:y,rules:e(Z1),size:"large"},{default:l(()=>[a(e(k),{delay:100},{default:l(()=>[a(M,{rules:[{required:!0,message:e(w1)(e(x)("login.usernameReg")),trigger:"blur"}],prop:"username"},{default:l(()=>[a(B,{clearable:"",modelValue:y.username,"onUpdate:modelValue":s[1]||(s[1]=i=>y.username=i),placeholder:e(c)("login.username"),"prefix-icon":e(N)(e(N1))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1},8,["rules"])]),_:1}),a(e(k),{delay:150},{default:l(()=>[a(M,{prop:"password"},{default:l(()=>[a(B,{clearable:"","show-password":"",modelValue:y.password,"onUpdate:modelValue":s[2]||(s[2]=i=>y.password=i),placeholder:e(c)("login.password"),"prefix-icon":e(N)(e(U1))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),a(e(k),{delay:200},{default:l(()=>[a(M,{prop:"verifyCode"},{default:l(()=>[a(B,{clearable:"",modelValue:y.verifyCode,"onUpdate:modelValue":s[4]||(s[4]=i=>y.verifyCode=i),placeholder:e(c)("login.verifyCode"),"prefix-icon":e(N)("ri:shield-keyhole-line")},{append:l(()=>[a(e(o2),{code:o.value,"onUpdate:code":s[3]||(s[3]=i=>o.value=i)},null,8,["code"])]),_:1},8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),a(e(k),{delay:250},{default:l(()=>[a(M,null,{default:l(()=>[p("div",m2,[a(s1,{modelValue:_.value,"onUpdate:modelValue":s[5]||(s[5]=i=>_.value=i)},{default:l(()=>[$(R(e(c)("login.remember")),1)]),_:1},8,["modelValue"]),a(U,{link:"",type:"primary",onClick:s[6]||(s[6]=i=>e(L)().SET_CURRENTPAGE(4))},{default:l(()=>[$(R(e(c)("login.forget")),1)]),_:1})]),a(U,{class:"w-full mt-4",size:"default",type:"primary",loading:f.value,onClick:s[7]||(s[7]=i=>A(t.value))},{default:l(()=>[$(R(e(c)("login.login")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),a(e(k),{delay:300},{default:l(()=>[a(M,null,{default:l(()=>[p("div",h2,[(u(!0),b(K,null,Q(e(P1),(i,q)=>(u(),w(U,{key:q,class:"w-full mt-4",size:"default",onClick:w2=>e(L)().SET_CURRENTPAGE(q+1)},{default:l(()=>[$(R(e(c)(i.title)),1)]),_:2},1032,["onClick"]))),128))])]),_:1})]),_:1})]),_:1},8,["model","rules"])):I("",!0),n.value===0?(u(),w(e(k),{key:1,delay:350},{default:l(()=>[a(M,null,{default:l(()=>[a(c1,null,{default:l(()=>[p("p",_2,R(e(c)("login.thirdLogin")),1)]),_:1}),p("div",g2,[(u(!0),b(K,null,Q(e(D1),(i,q)=>(u(),b("span",{key:q,title:e(c)(i.title)},[a(r1,{icon:`ri:${i.icon}-fill`,width:"20",class:"cursor-pointer text-gray-500 hover:text-blue-400"},null,8,["icon"])],8,v2))),128))])]),_:1})]),_:1})):I("",!0),n.value===1?(u(),w(M1,{key:2})):I("",!0),n.value===2?(u(),w($1,{key:3})):I("",!0),n.value===3?(u(),w(V1,{key:4})):I("",!0),n.value===4?(u(),w(R1,{key:5})):I("",!0)])])])])}}});const P2=b1(y2,[["__scopeId","data-v-371e2d49"]]);export{P2 as default}; diff --git a/dist/static/js/index-171b2cb1.js b/dist/static/js/index-a86504d6.js similarity index 97% rename from dist/static/js/index-171b2cb1.js rename to dist/static/js/index-a86504d6.js index 65a0520e2..04f1ccb6f 100644 --- a/dist/static/js/index-171b2cb1.js +++ b/dist/static/js/index-a86504d6.js @@ -1 +1 @@ -import{d as v,D as g,a as s,b as w,o as n,c as _,w as e,h as t,G as l,f as d,t as k,u as c,bJ as x,bK as b,j as p,g as y,e as f}from"./index-ceadd577.js";const C=f("div",{class:"card-header"},"组件方式判断权限",-1),A=f("div",{class:"card-header"},"函数方式判断权限",-1),B=f("div",{class:"card-header"}," 指令方式判断权限(该方式不能动态修改权限) ",-1),S=v({name:"PermissionButton",__name:"index",setup(D){const o=g(()=>({width:"85vw",justifyContent:"start"}));return(N,V)=>{const h=s("el-tag"),a=s("el-button"),r=s("Auth"),u=s("el-card"),m=s("el-space"),i=w("auth");return n(),_(m,{direction:"vertical",size:"large"},{default:e(()=>[t(h,{style:l(o.value),size:"large",effect:"dark"},{default:e(()=>[d(" 当前拥有的code列表:"+k(c(x)()),1)]),_:1},8,["style"]),t(u,{shadow:"never",style:l(o.value)},{header:e(()=>[C]),default:e(()=>[t(r,{value:"btn_add"},{default:e(()=>[t(a,{type:"success"},{default:e(()=>[d(" 拥有code:'btn_add' 权限可见 ")]),_:1})]),_:1}),t(r,{value:["btn_edit"]},{default:e(()=>[t(a,{type:"primary"},{default:e(()=>[d(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})]),_:1}),t(r,{value:["btn_add","btn_edit","btn_delete"]},{default:e(()=>[t(a,{type:"danger"},{default:e(()=>[d(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})]),_:1})]),_:1},8,["style"]),t(u,{shadow:"never",style:l(o.value)},{header:e(()=>[A]),default:e(()=>[c(b)("btn_add")?(n(),_(a,{key:0,type:"success"},{default:e(()=>[d(" 拥有code:'btn_add' 权限可见 ")]),_:1})):p("",!0),c(b)(["btn_edit"])?(n(),_(a,{key:1,type:"primary"},{default:e(()=>[d(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})):p("",!0),c(b)(["btn_add","btn_edit","btn_delete"])?(n(),_(a,{key:2,type:"danger"},{default:e(()=>[d(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})):p("",!0)]),_:1},8,["style"]),t(u,{shadow:"never",style:l(o.value)},{header:e(()=>[B]),default:e(()=>[y((n(),_(a,{type:"success"},{default:e(()=>[d(" 拥有code:'btn_add' 权限可见 ")]),_:1})),[[i,"btn_add"]]),y((n(),_(a,{type:"primary"},{default:e(()=>[d(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})),[[i,["btn_edit"]]]),y((n(),_(a,{type:"danger"},{default:e(()=>[d(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})),[[i,["btn_add","btn_edit","btn_delete"]]])]),_:1},8,["style"])]),_:1})}}});export{S as default}; +import{d as v,D as g,a as s,b as w,o as n,c as _,w as e,h as t,G as l,f as d,t as k,u as c,bJ as x,bK as b,j as p,g as y,e as f}from"./index-42b0cfe4.js";const C=f("div",{class:"card-header"},"组件方式判断权限",-1),A=f("div",{class:"card-header"},"函数方式判断权限",-1),B=f("div",{class:"card-header"}," 指令方式判断权限(该方式不能动态修改权限) ",-1),S=v({name:"PermissionButton",__name:"index",setup(D){const o=g(()=>({width:"85vw",justifyContent:"start"}));return(N,V)=>{const h=s("el-tag"),a=s("el-button"),r=s("Auth"),u=s("el-card"),m=s("el-space"),i=w("auth");return n(),_(m,{direction:"vertical",size:"large"},{default:e(()=>[t(h,{style:l(o.value),size:"large",effect:"dark"},{default:e(()=>[d(" 当前拥有的code列表:"+k(c(x)()),1)]),_:1},8,["style"]),t(u,{shadow:"never",style:l(o.value)},{header:e(()=>[C]),default:e(()=>[t(r,{value:"btn_add"},{default:e(()=>[t(a,{type:"success"},{default:e(()=>[d(" 拥有code:'btn_add' 权限可见 ")]),_:1})]),_:1}),t(r,{value:["btn_edit"]},{default:e(()=>[t(a,{type:"primary"},{default:e(()=>[d(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})]),_:1}),t(r,{value:["btn_add","btn_edit","btn_delete"]},{default:e(()=>[t(a,{type:"danger"},{default:e(()=>[d(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})]),_:1})]),_:1},8,["style"]),t(u,{shadow:"never",style:l(o.value)},{header:e(()=>[A]),default:e(()=>[c(b)("btn_add")?(n(),_(a,{key:0,type:"success"},{default:e(()=>[d(" 拥有code:'btn_add' 权限可见 ")]),_:1})):p("",!0),c(b)(["btn_edit"])?(n(),_(a,{key:1,type:"primary"},{default:e(()=>[d(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})):p("",!0),c(b)(["btn_add","btn_edit","btn_delete"])?(n(),_(a,{key:2,type:"danger"},{default:e(()=>[d(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})):p("",!0)]),_:1},8,["style"]),t(u,{shadow:"never",style:l(o.value)},{header:e(()=>[B]),default:e(()=>[y((n(),_(a,{type:"success"},{default:e(()=>[d(" 拥有code:'btn_add' 权限可见 ")]),_:1})),[[i,"btn_add"]]),y((n(),_(a,{type:"primary"},{default:e(()=>[d(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})),[[i,["btn_edit"]]]),y((n(),_(a,{type:"danger"},{default:e(()=>[d(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})),[[i,["btn_add","btn_edit","btn_delete"]]])]),_:1},8,["style"])]),_:1})}}});export{S as default}; diff --git a/dist/static/js/index-026bd28f.js b/dist/static/js/index-a8afb2c0.js similarity index 86% rename from dist/static/js/index-026bd28f.js rename to dist/static/js/index-a8afb2c0.js index c661f3015..a06585309 100644 --- a/dist/static/js/index-026bd28f.js +++ b/dist/static/js/index-a8afb2c0.js @@ -1 +1 @@ -import{d as i,O as n}from"./index-ceadd577.js";function d(e){return i({name:"ReFlicker",render(){return n("div",{class:"point point-flicker",style:{"--point-width":(e==null?void 0:e.width)??"12px","--point-height":(e==null?void 0:e.height)??"12px","--point-background":(e==null?void 0:e.background)??"var(--el-color-primary)","--point-border-radius":(e==null?void 0:e.borderRadius)??"50%","--point-scale":(e==null?void 0:e.scale)??"2"}},{default:()=>[]})}})}export{d as u}; +import{d as i,O as n}from"./index-42b0cfe4.js";function d(e){return i({name:"ReFlicker",render(){return n("div",{class:"point point-flicker",style:{"--point-width":(e==null?void 0:e.width)??"12px","--point-height":(e==null?void 0:e.height)??"12px","--point-background":(e==null?void 0:e.background)??"var(--el-color-primary)","--point-border-radius":(e==null?void 0:e.borderRadius)??"50%","--point-scale":(e==null?void 0:e.scale)??"2"}},{default:()=>[]})}})}export{d as u}; diff --git a/dist/static/js/index-4f6d577f.js b/dist/static/js/index-a8e6f192.js similarity index 96% rename from dist/static/js/index-4f6d577f.js rename to dist/static/js/index-a8e6f192.js index 8e01e5651..cf0b82ec5 100644 --- a/dist/static/js/index-4f6d577f.js +++ b/dist/static/js/index-a8e6f192.js @@ -1 +1 @@ -import{d as g,a as i,c as m,w as t,o as v,h as n,u as s,m as o,f as r,O as a,a7 as k,a8 as y,e as d}from"./index-ceadd577.js";import{u as $}from"./hooks-82c6b5e4.js";import{d as c}from"./check-3815600c.js";const M=d("div",{class:"card-header"},[d("span",{class:"font-medium"}," Message提示 ")],-1),w=d("h4",{class:"mb-4"},"element-plus 的消息提示,点击弹出提示信息",-1),_=d("h4",{class:"mb-4"}," 类似 Ant Design 风格的消息提示,点击弹出提示信息(基于 ElMessage 样式改版,不会影响 ElMessage 原本样式,使用和打包大小成本极低并适配暗黑模式) ",-1),S=g({name:"Message",__name:"index",setup(T){return(b,e)=>{const l=i("el-button"),p=i("el-space"),C=i("el-divider"),f=i("el-card");return v(),m(f,{shadow:"never"},{header:t(()=>[M]),default:t(()=>[w,n(p,{wrap:""},{default:t(()=>[n(l,{type:"info",onClick:e[0]||(e[0]=u=>s(o)("Info类型消息",{customClass:"el"}))},{default:t(()=>[r(" Info ")]),_:1}),n(l,{type:"success",onClick:e[1]||(e[1]=u=>s(o)("Success类型消息",{customClass:"el",type:"success"}))},{default:t(()=>[r(" Success ")]),_:1}),n(l,{type:"warning",onClick:e[2]||(e[2]=u=>s(o)("Warning类型消息",{customClass:"el",type:"warning"}))},{default:t(()=>[r(" Warning ")]),_:1}),n(l,{type:"danger",onClick:e[3]||(e[3]=u=>s(o)("Error类型消息",{customClass:"el",type:"error"}))},{default:t(()=>[r(" Error ")]),_:1}),n(l,{onClick:e[4]||(e[4]=u=>s(o)("可关闭消息",{customClass:"el",showClose:!0}))},{default:t(()=>[r(" 可关闭 ")]),_:1}),n(l,{onClick:e[5]||(e[5]=u=>s(o)("分组消息合并",{customClass:"el",type:"success",grouping:!0}))},{default:t(()=>[r(" 分组消息合并 ")]),_:1}),n(l,{onClick:e[6]||(e[6]=u=>s(o)("自定义消息图标",{customClass:"el",icon:s($)(s(c))}))},{default:t(()=>[r(" 自定义图标 ")]),_:1}),n(l,{onClick:e[7]||(e[7]=u=>s(o)("3秒后关闭",{customClass:"el",duration:3e3,onClose:()=>s(o)("消息已关闭",{customClass:"el",type:"success"})}))},{default:t(()=>[r(" 自定义延时关闭时间并设置关闭后其他操作 ")]),_:1}),n(l,{onClick:e[8]||(e[8]=u=>s(o)(a("p",null,[a("span",null,"Message can be "),a("i",{style:"color: teal"},"VNode")]),{customClass:"el"}))},{default:t(()=>[r(" 自定义内容 ")]),_:1}),n(l,{onClick:e[9]||(e[9]=u=>s(o)("This is HTML string",{customClass:"el",dangerouslyUseHTMLString:!0}))},{default:t(()=>[r(" HTML 片段作为正文内容 ")]),_:1})]),_:1}),n(C),_,n(p,{wrap:""},{default:t(()=>[n(l,{type:"info",onClick:e[10]||(e[10]=u=>s(o)("Info类型消息"))},{default:t(()=>[r("Info")]),_:1}),n(l,{type:"success",onClick:e[11]||(e[11]=u=>s(o)("Success类型消息",{type:"success"}))},{default:t(()=>[r(" Success ")]),_:1}),n(l,{type:"warning",onClick:e[12]||(e[12]=u=>s(o)("Warning类型消息",{type:"warning"}))},{default:t(()=>[r(" Warning ")]),_:1}),n(l,{type:"danger",onClick:e[13]||(e[13]=u=>s(o)("Error类型消息",{type:"error"}))},{default:t(()=>[r(" Error ")]),_:1}),n(l,{onClick:e[14]||(e[14]=u=>s(o)("可关闭消息",{showClose:!0}))},{default:t(()=>[r(" 可关闭 ")]),_:1}),n(l,{onClick:e[15]||(e[15]=u=>s(o)("分组消息合并",{type:"success",grouping:!0}))},{default:t(()=>[r(" 分组消息合并 ")]),_:1}),n(l,{onClick:e[16]||(e[16]=u=>s(o)("自定义消息图标",{icon:s(k)}))},{default:t(()=>[r(" 自定义图标 ")]),_:1}),n(l,{onClick:e[17]||(e[17]=u=>s(o)("3秒后关闭",{duration:3e3,onClose:()=>s(o)("消息已关闭",{type:"success"})}))},{default:t(()=>[r(" 自定义延时关闭时间并设置关闭后其他操作 ")]),_:1}),n(l,{onClick:e[18]||(e[18]=u=>s(o)(a("p",null,[a("span",null,"Message can be "),a("i",{style:"color: teal"},"VNode")])))},{default:t(()=>[r(" 自定义内容 ")]),_:1}),n(l,{onClick:e[19]||(e[19]=u=>s(o)("This is HTML string",{dangerouslyUseHTMLString:!0}))},{default:t(()=>[r(" HTML 片段作为正文内容 ")]),_:1})]),_:1}),n(C),n(l,{onClick:s(y)},{default:t(()=>[r(" 关闭所有消息提示 ")]),_:1},8,["onClick"])]),_:1})}}});export{S as default}; +import{d as g,a as i,c as m,w as t,o as v,h as n,u as s,m as o,f as r,O as a,a7 as k,a8 as y,e as d}from"./index-42b0cfe4.js";import{u as $}from"./hooks-2ea9b191.js";import{d as c}from"./check-3815600c.js";const M=d("div",{class:"card-header"},[d("span",{class:"font-medium"}," Message提示 ")],-1),w=d("h4",{class:"mb-4"},"element-plus 的消息提示,点击弹出提示信息",-1),_=d("h4",{class:"mb-4"}," 类似 Ant Design 风格的消息提示,点击弹出提示信息(基于 ElMessage 样式改版,不会影响 ElMessage 原本样式,使用和打包大小成本极低并适配暗黑模式) ",-1),S=g({name:"Message",__name:"index",setup(T){return(b,e)=>{const l=i("el-button"),p=i("el-space"),C=i("el-divider"),f=i("el-card");return v(),m(f,{shadow:"never"},{header:t(()=>[M]),default:t(()=>[w,n(p,{wrap:""},{default:t(()=>[n(l,{type:"info",onClick:e[0]||(e[0]=u=>s(o)("Info类型消息",{customClass:"el"}))},{default:t(()=>[r(" Info ")]),_:1}),n(l,{type:"success",onClick:e[1]||(e[1]=u=>s(o)("Success类型消息",{customClass:"el",type:"success"}))},{default:t(()=>[r(" Success ")]),_:1}),n(l,{type:"warning",onClick:e[2]||(e[2]=u=>s(o)("Warning类型消息",{customClass:"el",type:"warning"}))},{default:t(()=>[r(" Warning ")]),_:1}),n(l,{type:"danger",onClick:e[3]||(e[3]=u=>s(o)("Error类型消息",{customClass:"el",type:"error"}))},{default:t(()=>[r(" Error ")]),_:1}),n(l,{onClick:e[4]||(e[4]=u=>s(o)("可关闭消息",{customClass:"el",showClose:!0}))},{default:t(()=>[r(" 可关闭 ")]),_:1}),n(l,{onClick:e[5]||(e[5]=u=>s(o)("分组消息合并",{customClass:"el",type:"success",grouping:!0}))},{default:t(()=>[r(" 分组消息合并 ")]),_:1}),n(l,{onClick:e[6]||(e[6]=u=>s(o)("自定义消息图标",{customClass:"el",icon:s($)(s(c))}))},{default:t(()=>[r(" 自定义图标 ")]),_:1}),n(l,{onClick:e[7]||(e[7]=u=>s(o)("3秒后关闭",{customClass:"el",duration:3e3,onClose:()=>s(o)("消息已关闭",{customClass:"el",type:"success"})}))},{default:t(()=>[r(" 自定义延时关闭时间并设置关闭后其他操作 ")]),_:1}),n(l,{onClick:e[8]||(e[8]=u=>s(o)(a("p",null,[a("span",null,"Message can be "),a("i",{style:"color: teal"},"VNode")]),{customClass:"el"}))},{default:t(()=>[r(" 自定义内容 ")]),_:1}),n(l,{onClick:e[9]||(e[9]=u=>s(o)("This is HTML string",{customClass:"el",dangerouslyUseHTMLString:!0}))},{default:t(()=>[r(" HTML 片段作为正文内容 ")]),_:1})]),_:1}),n(C),_,n(p,{wrap:""},{default:t(()=>[n(l,{type:"info",onClick:e[10]||(e[10]=u=>s(o)("Info类型消息"))},{default:t(()=>[r("Info")]),_:1}),n(l,{type:"success",onClick:e[11]||(e[11]=u=>s(o)("Success类型消息",{type:"success"}))},{default:t(()=>[r(" Success ")]),_:1}),n(l,{type:"warning",onClick:e[12]||(e[12]=u=>s(o)("Warning类型消息",{type:"warning"}))},{default:t(()=>[r(" Warning ")]),_:1}),n(l,{type:"danger",onClick:e[13]||(e[13]=u=>s(o)("Error类型消息",{type:"error"}))},{default:t(()=>[r(" Error ")]),_:1}),n(l,{onClick:e[14]||(e[14]=u=>s(o)("可关闭消息",{showClose:!0}))},{default:t(()=>[r(" 可关闭 ")]),_:1}),n(l,{onClick:e[15]||(e[15]=u=>s(o)("分组消息合并",{type:"success",grouping:!0}))},{default:t(()=>[r(" 分组消息合并 ")]),_:1}),n(l,{onClick:e[16]||(e[16]=u=>s(o)("自定义消息图标",{icon:s(k)}))},{default:t(()=>[r(" 自定义图标 ")]),_:1}),n(l,{onClick:e[17]||(e[17]=u=>s(o)("3秒后关闭",{duration:3e3,onClose:()=>s(o)("消息已关闭",{type:"success"})}))},{default:t(()=>[r(" 自定义延时关闭时间并设置关闭后其他操作 ")]),_:1}),n(l,{onClick:e[18]||(e[18]=u=>s(o)(a("p",null,[a("span",null,"Message can be "),a("i",{style:"color: teal"},"VNode")])))},{default:t(()=>[r(" 自定义内容 ")]),_:1}),n(l,{onClick:e[19]||(e[19]=u=>s(o)("This is HTML string",{dangerouslyUseHTMLString:!0}))},{default:t(()=>[r(" HTML 片段作为正文内容 ")]),_:1})]),_:1}),n(C),n(l,{onClick:s(y)},{default:t(()=>[r(" 关闭所有消息提示 ")]),_:1},8,["onClick"])]),_:1})}}});export{S as default}; diff --git a/dist/static/js/index-83c5e682.js b/dist/static/js/index-abb152db.js similarity index 99% rename from dist/static/js/index-83c5e682.js rename to dist/static/js/index-abb152db.js index 1333e466c..1f37d5e7f 100644 --- a/dist/static/js/index-83c5e682.js +++ b/dist/static/js/index-abb152db.js @@ -1,4 +1,4 @@ -import{S as ft,a0 as Ii,d as Ai,k as Li,am as Di,a as It,c as Ri,w as Ye,o as Oi,e as at,f as At,h as Mi,u as Lt,s as Ni,v as Fi,_ as Hi}from"./index-ceadd577.js";import{u as Bi}from"./hooks-82c6b5e4.js";const Ui={width:1024,height:1024,body:''};function Dt(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 B(o){for(var a=1;a"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function p(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function dt(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return p(o)}function I(o){var a=Gi();return function(){var t=S(o),e;if(a){var i=S(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return dt(this,e)}}function Vi(o,a){for(;!Object.prototype.hasOwnProperty.call(o,a)&&(o=S(o),o!==null););return o}function x(){return typeof Reflect<"u"&&Reflect.get?x=Reflect.get.bind():x=function(a,r,t){var e=Vi(a,r);if(e){var i=Object.getOwnPropertyDescriptor(e,r);return i.get?i.get.call(arguments.length<3?a:t):i.value}},x.apply(this,arguments)}function ae(o){return ji(o)||Wi(o)||zi(o)||Ki()}function ji(o){if(Array.isArray(o))return ut(o)}function Wi(o){if(typeof Symbol<"u"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function zi(o,a){if(o){if(typeof o=="string")return ut(o,a);var r=Object.prototype.toString.call(o).slice(8,-1);if(r==="Object"&&o.constructor&&(r=o.constructor.name),r==="Map"||r==="Set")return Array.from(o);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ut(o,a)}}function ut(o,a){(a==null||a>o.length)&&(a=o.length);for(var r=0,t=new Array(a);r'};function Dt(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 B(o){for(var a=1;a"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function p(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function dt(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return p(o)}function I(o){var a=Gi();return function(){var t=S(o),e;if(a){var i=S(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return dt(this,e)}}function Vi(o,a){for(;!Object.prototype.hasOwnProperty.call(o,a)&&(o=S(o),o!==null););return o}function x(){return typeof Reflect<"u"&&Reflect.get?x=Reflect.get.bind():x=function(a,r,t){var e=Vi(a,r);if(e){var i=Object.getOwnPropertyDescriptor(e,r);return i.get?i.get.call(arguments.length<3?a:t):i.value}},x.apply(this,arguments)}function ae(o){return ji(o)||Wi(o)||zi(o)||Ki()}function ji(o){if(Array.isArray(o))return ut(o)}function Wi(o){if(typeof Symbol<"u"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function zi(o,a){if(o){if(typeof o=="string")return ut(o,a);var r=Object.prototype.toString.call(o).slice(8,-1);if(r==="Object"&&o.constructor&&(r=o.constructor.name),r==="Map"||r==="Set")return Array.from(o);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ut(o,a)}}function ut(o,a){(a==null||a>o.length)&&(a=o.length);for(var r=0,t=new Array(a);r-1,Xe={info:"color: #525252; background-color: #90ee90;",error:"color: #525252; background-color: red;",warn:"color: #525252; background-color: yellow; "},$e="%c[xgplayer]",L={config:{debug:$i?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,[$e,Xe.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,[$e,Xe.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 L.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{var r=o.className&&j(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{c.hasClass(o,a)||(o.className&&j(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{c.hasClass(o,a)&&a.split(/\s+/g).forEach(function(t){var e=new RegExp("(\\s|^)"+t+"(\\s|$)");o.className&&j(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){L.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,ae(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&&j(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>"u"||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 Ji(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&&(Ji(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(),o.cancelable&&o.preventDefault())};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 Zi(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||!(o instanceof HTMLMediaElement)?!1:/^blob/.test(o.currentSrc)||/^blob/.test(o.src)};c.generateSessionId=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,a=new Date().getTime();try{o=parseInt(o)}catch{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&&o=a||K<0||f&&q>=i}function H(){var R=Date.now();if(b(R))return M(R);s=y(H,T(R))}function M(R){return s=void 0,d&&t?v(R):(t=e=void 0,n)}function z(){s!==void 0&&m(s),l=0,t=u=e=s=void 0}function F(){return s===void 0?n:M(Date.now())}function W(){return s!==void 0}function G(){for(var R=Date.now(),K=b(R),q=arguments.length,Z=new Array(q),ue=0;ue"u")return"";var o=navigator.userAgent.toLowerCase(),a={ie:/rv:([\d.]+)\) like gecko/,firefox:/firefox\/([\d.]+)/,chrome:/chrome\/([\d.]+)/,opera:/opera.([\d.]+)/,safari:/version\/([\d.]+).*safari/};return[].concat(Object.keys(a).filter(function(r){return a[r].test(o)}))[0]},get os(){if(typeof navigator>"u")return{};var o=navigator.userAgent,a=/(?:Windows Phone)/.test(o),r=/(?:SymbianOS)/.test(o)||a,t=/(?:Android)/.test(o),e=/(?:Firefox)/.test(o),i=/(?:iPad|PlayBook)/.test(o)||t&&!/(?:Mobile)/.test(o)||e&&/(?:Tablet)/.test(o),n=/(?:iPhone)/.test(o)&&!i,s=!n&&!t&&!r&&!i,u=/(?:iPad|PlayBook)/.test(o);return{isTablet:i,isPhone:n,isIpad:u,isIos:n||u,isAndroid:t,isPc:s,isSymbian:r,isWindowsPhone:a,isFireFox:e}},get osVersion(){if(typeof navigator>"u")return 0;var o=navigator.userAgent,a="";/(?:iPhone)|(?:iPad|PlayBook)/.test(o)?a=Ot.ios:a=Ot.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>"u")return!1;var o=/(micromessenger)\/([\d.]+)/,a=o.exec(navigator.userAgent.toLocaleLowerCase());return!!a},isSupportMP4:function(){var a={isSupport:!1,mime:""};if(typeof document>"u")return a;if(this.supportResult)return this.supportResult;var r=document.createElement("video");return typeof r.canPlayType=="function"&&rn.map(function(t){r.canPlayType('video/mp4; codecs="'.concat(t,'"'))==="probably"&&(a.isSupport=!0,a.mime+="||".concat(t))}),this.supportResult=a,r=null,a},isHevcSupported:function(){return typeof MediaSource>"u"||!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>"u")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{return Promise.resolve(r)}}},lt="3.0.4",sn={1:"media",2:"media",3:"media",4:"media",5:"media",6:"media"},Mt={1:5101,2:5102,3:5103,4:5104,5:5105,6:5106},gt=w(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,h=a.media,f=h.readyState,d=h.networkState,g=r.errorCode||e.code;Mt[g]&&(g=Mt[g]);var v={playerVersion:lt,currentTime:n,duration:i,ended:s,readyState:f,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(T){v[T]=r.ext[T]}),v}else if(arguments.length>1){for(var y={playerVersion:lt,domain:document.domain},m=["errorType","currentTime","duration","networkState","readyState","src","currentSrc","ended","errd","errorCode","mediaError"],k=0;k0&&arguments[0]!==void 0?arguments[0]:this.media;this._evHandlers||(this._evHandlers=_i.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]),_({},n,vn(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(f){n.media.appendChild(c.createDom("source","",{src:"".concat(f.src),type:"".concat(f.type||"")}))});var s=e.children;if(s){this._videoSourceCount=s.length;for(var u=null,l=0;l0;)e.removeChild(i[0])}}},{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?sn[n.code]:"other",u=n.message;this.media.currentSrc||(u="empty_src",n={code:6,message:u}),this.emit(e,new gt(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(ze,e),this.emit(Le),this._currentTime=0,this._duration=0,/^blob/.test(this.media.currentSrc)||/^blob/.test(this.media.src)){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:"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 w(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(u){throw u.message="[pluginName: ".concat(this.pluginName,":").concat(o,":pre error] >> ").concat(u.message),u}if(this.__hooks&&this.__hooks[o])try{var n,s=(n=this.__hooks[o]).call.apply(n,[this,this].concat(Array.prototype.slice.call(arguments)));s?s.then?s.then(function(u){u!==!1&&De.apply(void 0,[e,a,r.next].concat(ae(t)))}).catch(function(u){throw u}):De.apply(void 0,[this,a,r.next].concat(Array.prototype.slice.call(arguments))):s===void 0&&De.apply(void 0,[this,a,r.next].concat(Array.prototype.slice.call(arguments)))}catch(u){throw u.message="[pluginName: ".concat(this.pluginName,":").concat(o,"] >> ").concat(u.message),u}else De.apply(void 0,[this,a,r.next].concat(Array.prototype.slice.call(arguments)))}.bind(this)}function Ge(o,a){var r=this.__hooks;if(r)return r.hasOwnProperty(o)?(r&&(r[o]=a),!0):(console.warn("has no supported hook which name [".concat(o,"]")),!1)}function Ve(o,a){var r=this.__hooks;r&&delete r[o]}function Bt(o){if(!(!this.plugins||!this.plugins[o.toLowerCase()])){for(var a=this.plugins[o.toLowerCase()],r=arguments.length,t=new Array(r>1?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 Ti(o){o.__hooks=null}function ie(o,a,r){for(var t=arguments.length,e=new Array(t>3?t-3:0),i=3;i1?e-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:{};if(this.player){var i=B(B({},e),{},{pluginName:this.pluginName});this.player.emitUserAction(r,t,i)}}},{key:"hook",value:function(r,t){return Ue.call.apply(Ue,[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),Ti(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:"defaultConfig",get:function(){return{}}},{key:"pluginName",get:function(){return"pluginName"}}]),o}(),_n=9;if(typeof Element<"u"&&!Element.prototype.matches){var ve=Element.prototype;ve.matches=ve.matchesSelector||ve.mozMatchesSelector||ve.msMatchesSelector||ve.oMatchesSelector||ve.webkitMatchesSelector}function Cn(o,a){for(;o&&o.nodeType!==_n;){if(typeof o.matches=="function"&&o.matches(a))return o;o=o.parentNode}}var kn=Cn,bn=kn;function Je(o,a,r,t,e){var i=En.apply(this,arguments);return o.addEventListener(r,i,e),{destroy:function(){o.removeEventListener(r,i,e)}}}function Tn(o,a,r,t,e){return typeof o.addEventListener=="function"?Je.apply(null,arguments):typeof r=="function"?Je.bind(null,document).apply(null,arguments):(typeof o=="string"&&(o=document.querySelectorAll(o)),Array.prototype.map.call(o,function(i){return Je(i,a,r,t,e)}))}function En(o,a,r,t){return function(e){e.delegateTarget=bn(e.target,a),e.delegateTarget&&t.call(o,e)}}var wn=Tn;const Gt=ft(wn);var Sn={CONTROLS:"controls",ROOT:"root"},N={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"};function Qe(o){return o?o.indexOf&&/^(?:http|data:|\/)/.test(o):!1}function xn(o,a){return j(o)==="object"&&o.class&&typeof o.class=="string"?"".concat(a," ").concat(o.class):a}function Pn(o,a){return j(o)==="object"&&o.attr&&j(o.attr)==="object"&&Object.keys(o.attr).map(function(r){a[r]=o.attr[r]}),a}function Vt(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(Qe(o)||Qe(o.url))return t.src=Qe(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):(L.logWarn("warn>>icons.".concat(a," in config of plugin named [").concat(e,"] is a function mast return an Element Object")),null)}catch(n){return L.logError("Plugin named [".concat(e,"]:createIcon"),n),null}return typeof o=="string"?c.createDomFromHtml(o,t,r):(L.logWarn("warn>>icons.".concat(a," in config of plugin named [").concat(e,"] is invalid")),null)}function In(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=xn(r[t],i),n=Pn(r[t],n),s=Vt(r[t],t,i,n,a.pluginName)),!s&&e&&(s=Vt(e.icon?e.icon:e,n,i,{},a.pluginName)),a.icons[t]=s})}function An(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 O=function(o){P(r,o);var a=I(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 w(r,[{key:"__init",value:function(e){if(x(S(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()||{};In(s,this),this.langText={};var u=this.registerLanguageTexts()||{};An(u,this);var l="";try{l=this.render()}catch(d){throw L.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 h=this.config.attr||{},f=this.config.style||{};this.setAttr(h),this.setStyle(f),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&&j(i)==="object"&&Object.keys(i).length>0&&Object.keys(i).map(function(n){var s=n,u=i[s],l={root:e.root},h,f;typeof u=="function"?(h=e.config[s]||{},f=u):j(u)==="object"&&typeof u.plugin=="function"&&(h=u.options?c.deepCopy(e.config[s]||{},u.options):e.config[s]||{},f=u.plugin),l.config=h,h.index!==void 0&&(l.index=h.index),h.root&&(l.root=h.root),e.registerPlugin(f,l,s)})}}},{key:"updateLang",value:function(e){e||(e=this.lang);function i(l,h){for(var f=0;f0?i(l.children[f],h):h(l.children[f])}var n=this.root,s=this.i18n,u=this.langText;n&&i(n,function(l){var h=l.getAttribute&&l.getAttribute("lang-key");if(h){var f=s[h.toUpperCase()]||u[h];f&&(l.innerHTML=typeof f=="function"?f(e):f)}})}},{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:"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=x(S(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 L.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)),x(S(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 h=0,f=null,d="";h=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(f){var d=Gt(e,i,f,s,u);d.key="".concat(i,"_").concat(f),l.push(d)});else{var h=Gt(e,i,n,s,u);h.key="".concat(i,"_").concat(n),l.push(h)}return l}},{key:"ROOT_TYPES",get:function(){return Sn}},{key:"POSITIONS",get:function(){return N}}]),r}(fe),Ln=function(){function o(){var a=this;if(E(this,o),_(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(e,i){r===e.target&&(t=i)});try{this.observer&&this.observer.unobserve(r)}catch{}this.observer&&this.observer.unobserve(r),t>-1&&this.__handlers.splice(t,1)}},{key:"destroyObserver",value:function(){this.observer&&this.observer.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=this.pluginGroup[e]._player;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;l"u"&&(t.config[d]=r.defaultConfig[d])}),t.root?typeof t.root=="string"&&(t.root=a[t.root]):t.root=a.root,t.index=t.config.index||0;try{i[s.toLowerCase()]&&(this.unRegister(e,s.toLowerCase()),console.warn("the is one plugin with same pluginName [".concat(s,"] exist, destroy the old instance")));var f=new r(t);return i[s.toLowerCase()]=f,i[s.toLowerCase()].func=r,f&&typeof f.afterCreate=="function"&&f.afterCreate(),f}catch(d){throw console.error(d),d}}}},unRegister:function(a,r){a._pluginInfoId&&(a=a._pluginInfoId),r=r.toLowerCase();try{var t=this.pluginGroup[a]._plugins[r];t&&(t.pluginName&&t.__destroy(),delete this.pluginGroup[a]._plugins[r])}catch(e){console.error("[unRegister:".concat(r,"] cgid:[").concat(a,"] error"),e)}},deletePlugin:function(a,r){var t=a._pluginInfoId;t&&this.pluginGroup[t]&&this.pluginGroup[t]._plugins&&delete this.pluginGroup[t]._plugins[r]},getPlugins:function(a){var r=a._pluginInfoId;return r&&this.pluginGroup[r]?this.pluginGroup[r]._plugins:{}},findPlugin:function(a,r){var t=a._pluginInfoId;if(!t||!this.pluginGroup[t])return null;var e=r.toLowerCase();return this.pluginGroup[t]._plugins[e]},beforeInit:function(a){var r=this;function t(e){return!e||!e.then?new Promise(function(i){i()}):e}return new Promise(function(e){if(r.pluginGroup){var i;return a._loadingPlugins&&a._loadingPlugins.length?i=Promise.all(a._loadingPlugins):i=Promise.resolve(),i.then(function(){var n=a._pluginInfoId;if(!r.pluginGroup[n]){e();return}var s=r.pluginGroup[n]._plugins,u=[];Object.keys(s).forEach(function(l){if(s[l]&&s[l].beforePlayerInit)try{var h=s[l].beforePlayerInit();u.push(t(h))}catch(f){throw u.push(t(null)),f}}),Promise.all([].concat(u)).then(function(){e()}).catch(function(l){console.error(l),e()})})}})},afterInit:function(a){var r=a._pluginInfoId;if(!(!r||!this.pluginGroup[r])){var t=this.pluginGroup[r]._plugins;Object.keys(t).forEach(function(e){t[e]&&t[e].afterPlayerInit&&t[e].afterPlayerInit()})}},setLang:function(a,r){var t=r._pluginInfoId;if(!(!t||!this.pluginGroup[t])){var e=this.pluginGroup[t]._plugins;Object.keys(e).forEach(function(i){if(e[i].updateLang)e[i].updateLang(a);else try{e[i].lang=a}catch{console.warn("".concat(i," setLang"))}})}},reRender:function(a){var r=this,t=a._pluginInfoId;if(!(!t||!this.pluginGroup[t])){var e=[],i=this.pluginGroup[t]._plugins;Object.keys(i).forEach(function(n){n!=="controls"&&i[n]&&(e.push({plugin:i[n].func,options:i[n].__args}),r.unRegister(t,n))}),e.forEach(function(n){r.register(a,n.plugin,n.options)})}},onPluginsReady:function(a){var r=a._pluginInfoId;if(!(!r||!this.pluginGroup[r])){var t=this.pluginGroup[r]._plugins||{};Object.keys(t).forEach(function(e){t[e].onPluginsReady&&typeof t[e].onPluginsReady=="function"&&t[e].onPluginsReady()})}},setCurrentUserActive:function(a,r){if(this.pluginGroup[a]){if(!r)return this.pluginGroup[a]._player.isUserActive=r,a;for(var t=Object.keys(this.pluginGroup),e=0;e0&&this.setCurrentUserActive(u[u.length-1],!0)}}}},C={DEFAULT:"xgplayer",DEFAULT_SKIN:"xgplayer-skin-default",ENTER:"xgplayer-is-enter",PAUSED:"xgplayer-pause",PLAYING:"xgplayer-playing",ENDED:"xgplayer-ended",CANPLAY:"xgplayer-canplay",LOADING:"xgplayer-isloading",ERROR:"xgplayer-is-error",REPLAY:"xgplayer-replay",NO_START:"xgplayer-nostart",ACTIVE:"xgplayer-active",INACTIVE:"xgplayer-inactive",FULLSCREEN:"xgplayer-is-fullscreen",CSS_FULLSCREEN:"xgplayer-is-cssfullscreen",ROTATE_FULLSCREEN:"xgplayer-rotate-fullscreen",PARENT_ROTATE_FULLSCREEN:"xgplayer-rotate-parent",PARENT_FULLSCREEN:"xgplayer-fullscreen-parent",INNER_FULLSCREEN:"xgplayer-fullscreen-inner",NO_CONTROLS:"no-controls",FLEX_CONTROLS:"flex-controls",CONTROLS_FOLLOW:"controls-follow",CONTROLS_AUTOHIDE:"controls-autohide",TOP_BAR_AUTOHIDE:"top-bar-autohide",NOT_ALLOW_AUTOPLAY:"not-allow-autoplay",SEEKING:"seeking",PC:"xgplayer-pc",MOBILE:"xgplayer-mobile",MINI:"xgplayer-mini"};function jt(){return{id:"",el:null,url:"",domEventType:"default",nullUrlStart:!1,width:600,height:337.5,fluid:!1,fitVideoSize:"fixed",videoFillMode:"auto",volume:.6,autoplay:!1,autoplayMuted:!1,loop:!1,isLive:!1,zoom:1,videoInit:!0,poster:"",isMobileSimulateMode:!1,defaultPlaybackRate:1,execBeforePluginsCall:null,allowSeekAfterEnded:!0,enableContextmenu:!0,closeVideoClick:!1,closeVideoDblclick:!1,closePlayerBlur:!1,closeDelayBlur:!1,leavePlayerTime:3e3,closePlayVideoFocus:!1,closePauseVideoFocus:!1,closeFocusVideoFocus:!0,closeControlsBlur:!0,topBarAutoHide:!0,videoAttributes:{},startTime:0,seekedStatus:"play",miniprogress:!1,disableSwipeHandler:function(){},enableSwipeHandler:function(){},ignores:[],whitelist:[],inactive:3e3,lang:tn(),controls:!0,marginControls:!1,fullscreenTarget:null,screenShot:!1,rotate:!1,pip:!1,download:!1,mini:!1,cssFullscreen:!0,keyShortcut:!0,presets:[],plugins:[],playbackRate:1,definition:{list:[]},playsinline:!0,customDuration:0,timeOffset:0,icons:{},i18n:[],tabindex:0,thumbnail:null,videoConfig:{},isHideTips:!1,commonStyle:{progressColor:"",playedColor:"",cachedColor:"",sliderBtnStyle:{},volumeColor:""}}}var On=function(a,r){var t,e,i;r.preset&&r.options?i=new r.preset(r.options,a.config):i=new r({},a.config);var n=i,s=n.plugins,u=s===void 0?[]:s,l=n.ignores,h=l===void 0?[]:l,f=n.icons,d=f===void 0?{}:f,g=n.i18n,v=g===void 0?[]:g;a.config.plugins||(a.config.plugins=[]),a.config.ignores||(a.config.ignores=[]),(t=a.config.plugins).push.apply(t,ae(u)),(e=a.config.ignores).push.apply(e,ae(h)),Object.keys(d).map(function(m){a.config.icons[m]||(a.config.icons[m]=d[m])});var y=a.config.i18n||[];v.push.apply(v,ae(y)),a.config.i18n=v},Mn=function(o){P(r,o);var a=I(r);function r(){var t;E(this,r);for(var e=arguments.length,i=new Array(e),n=0;n1&&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 N.CONTROLS_LEFT:i.root=this.left;break;case N.CONTROLS_RIGHT:i.root=this.right;break;case N.CONTROLS_CENTER:i.root=this.center;break;case N.CONTROLS:i.root=this.root;break;default:i.root=this.left}return x(S(r.prototype),"registerPlugin",this).call(this,e,i,n)}}}},{key:"destroy",value:function(){A.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"},_({},C.CONTROLS_AUTOHIDE,n),{"xgplayer-controls-initshow":s||!n});return' diff --git a/dist/static/js/index-7ace001d.js b/dist/static/js/index-afca5026.js similarity index 99% rename from dist/static/js/index-7ace001d.js rename to dist/static/js/index-afca5026.js index 6e23ac657..0c85ac8fa 100644 --- a/dist/static/js/index-7ace001d.js +++ b/dist/static/js/index-afca5026.js @@ -1,4 +1,4 @@ -import{p as Q}from"./propTypes-03d1d3a5.js";import{d as Kt,r as yt,D as Et,E as Jt,h as L,g as Yt,b as jt,u as U,a as $t,F as Qt,n as Gt,C as qt,aO as Bt,U as Wt}from"./index-ceadd577.js";import{d as Xt}from"./refresh-right-6177e75c.js";var Y={},Zt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Tt={},M={};let ft;const xt=[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];M.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};M.getSymbolTotalCodewords=function(e){return xt[e]};M.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};M.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');ft=e};M.isKanjiModeEnabled=function(){return typeof ft<"u"};M.toSJIS=function(e){return ft(e)};var Z={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+i)}}t.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},t.from=function(r,o){if(t.isValid(r))return r;try{return e(r)}catch{return o}}})(Z);function It(){this.buffer=[],this.length=0}It.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let i=0;i>>e-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var te=It;function j(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}j.prototype.set=function(t,e,i,r){const o=t*this.size+e;this.data[o]=i,r&&(this.reservedBit[o]=!0)};j.prototype.get=function(t,e){return this.data[t*this.size+e]};j.prototype.xor=function(t,e,i){this.data[t*this.size+e]^=i};j.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var ee=j,St={};(function(t){const e=M.getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,n=e(r),s=n===145?26:Math.ceil((n-13)/(2*o-2))*2,c=[n-7];for(let a=1;a=0&&o<=7},t.from=function(o){return t.isValid(o)?parseInt(o,10):void 0},t.getPenaltyN1=function(o){const n=o.size;let s=0,c=0,a=0,f=null,d=null;for(let b=0;b=5&&(s+=e.N1+(c-5)),f=w,c=1),w=o.get(C,b),w===d?a++:(a>=5&&(s+=e.N1+(a-5)),d=w,a=1)}c>=5&&(s+=e.N1+(c-5)),a>=5&&(s+=e.N1+(a-5))}return s},t.getPenaltyN2=function(o){const n=o.size;let s=0;for(let c=0;c=10&&(c===1488||c===93)&&s++,a=a<<1&2047|o.get(d,f),d>=10&&(a===1488||a===93)&&s++}return s*e.N3},t.getPenaltyN4=function(o){let n=0;const s=o.data.length;for(let a=0;a=0;){const s=n[0];for(let a=0;a0){const n=new Uint8Array(this.degree);return n.set(r,o),n}return r};var oe=dt,Lt={},D={},gt={};gt.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var P={};const vt="[0-9]+",re="[A-Z $%*+\\-./:]+";let J="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";J=J.replace(/u/g,"\\u");const ie="(?:(?![A-Z0-9 $%*+\\-./:]|"+J+`)(?:.|[\r +import{p as Q}from"./propTypes-03d1d3a5.js";import{d as Kt,r as yt,D as Et,E as Jt,h as L,g as Yt,b as jt,u as U,a as $t,F as Qt,n as Gt,C as qt,aO as Bt,U as Wt}from"./index-42b0cfe4.js";import{d as Xt}from"./refresh-right-6177e75c.js";var Y={},Zt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Tt={},M={};let ft;const xt=[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];M.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};M.getSymbolTotalCodewords=function(e){return xt[e]};M.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};M.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');ft=e};M.isKanjiModeEnabled=function(){return typeof ft<"u"};M.toSJIS=function(e){return ft(e)};var Z={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+i)}}t.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},t.from=function(r,o){if(t.isValid(r))return r;try{return e(r)}catch{return o}}})(Z);function It(){this.buffer=[],this.length=0}It.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let i=0;i>>e-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var te=It;function j(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}j.prototype.set=function(t,e,i,r){const o=t*this.size+e;this.data[o]=i,r&&(this.reservedBit[o]=!0)};j.prototype.get=function(t,e){return this.data[t*this.size+e]};j.prototype.xor=function(t,e,i){this.data[t*this.size+e]^=i};j.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var ee=j,St={};(function(t){const e=M.getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,n=e(r),s=n===145?26:Math.ceil((n-13)/(2*o-2))*2,c=[n-7];for(let a=1;a=0&&o<=7},t.from=function(o){return t.isValid(o)?parseInt(o,10):void 0},t.getPenaltyN1=function(o){const n=o.size;let s=0,c=0,a=0,f=null,d=null;for(let b=0;b=5&&(s+=e.N1+(c-5)),f=w,c=1),w=o.get(C,b),w===d?a++:(a>=5&&(s+=e.N1+(a-5)),d=w,a=1)}c>=5&&(s+=e.N1+(c-5)),a>=5&&(s+=e.N1+(a-5))}return s},t.getPenaltyN2=function(o){const n=o.size;let s=0;for(let c=0;c=10&&(c===1488||c===93)&&s++,a=a<<1&2047|o.get(d,f),d>=10&&(a===1488||a===93)&&s++}return s*e.N3},t.getPenaltyN4=function(o){let n=0;const s=o.data.length;for(let a=0;a=0;){const s=n[0];for(let a=0;a0){const n=new Uint8Array(this.degree);return n.set(r,o),n}return r};var oe=dt,Lt={},D={},gt={};gt.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var P={};const vt="[0-9]+",re="[A-Z $%*+\\-./:]+";let J="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";J=J.replace(/u/g,"\\u");const ie="(?:(?![A-Z0-9 $%*+\\-./:]|"+J+`)(?:.|[\r ]))+`;P.KANJI=new RegExp(J,"g");P.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");P.BYTE=new RegExp(ie,"g");P.NUMERIC=new RegExp(vt,"g");P.ALPHANUMERIC=new RegExp(re,"g");const se=new RegExp("^"+J+"$"),ae=new RegExp("^"+vt+"$"),ce=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");P.testKanji=function(e){return se.test(e)};P.testNumeric=function(e){return ae.test(e)};P.testAlphanumeric=function(e){return ce.test(e)};(function(t){const e=gt,i=P;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},t.getBestModeForData=function(n){return i.testNumeric(n)?t.NUMERIC:i.testAlphanumeric(n)?t.ALPHANUMERIC:i.testKanji(n)?t.KANJI:t.BYTE},t.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},t.isValid=function(n){return n&&n.bit&&n.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+o)}}t.from=function(n,s){if(t.isValid(n))return n;try{return r(n)}catch{return s}}})(D);(function(t){const e=M,i=x,r=Z,o=D,n=gt,s=7973,c=e.getBCHDigit(s);function a(C,w,y){for(let u=1;u<=40;u++)if(w<=t.getCapacity(u,y,C))return u}function f(C,w){return o.getCharCountIndicator(C,w)+4}function d(C,w){let y=0;return C.forEach(function(u){const E=f(u.mode,w);y+=E+u.getBitsLength()}),y}function b(C,w){for(let y=1;y<=40;y++)if(d(C,y)<=t.getCapacity(y,w,o.MIXED))return y}t.from=function(w,y){return n.isValid(w)?parseInt(w,10):y},t.getCapacity=function(w,y,u){if(!n.isValid(w))throw new Error("Invalid QR Code version");typeof u>"u"&&(u=o.BYTE);const E=e.getSymbolTotalCodewords(w),l=i.getTotalCodewordsCount(w,y),m=(E-l)*8;if(u===o.MIXED)return m;const h=m-f(u,w);switch(u){case o.NUMERIC:return Math.floor(h/10*3);case o.ALPHANUMERIC:return Math.floor(h/11*2);case o.KANJI:return Math.floor(h/13);case o.BYTE:default:return Math.floor(h/8)}},t.getBestVersionForData=function(w,y){let u;const E=r.from(y,r.M);if(Array.isArray(w)){if(w.length>1)return b(w,E);if(w.length===0)return 1;u=w[0]}else u=w;return a(u.mode,u.getLength(),E)},t.getEncodedBits=function(w){if(!n.isValid(w)||w<7)throw new Error("Invalid QR Code version");let y=w<<12;for(;e.getBCHDigit(y)-c>=0;)y^=s<=0;)o^=Ut<0&&(r=this.data.substr(i),o=parseInt(r,10),e.put(o,n*3+1))};var fe=F;const de=D,nt=["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 k(t){this.mode=de.ALPHANUMERIC,this.data=t}k.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};k.prototype.getLength=function(){return this.data.length};k.prototype.getBitsLength=function(){return k.getBitsLength(this.data.length)};k.prototype.write=function(e){let i;for(i=0;i+2<=this.data.length;i+=2){let r=nt.indexOf(this.data[i])*45;r+=nt.indexOf(this.data[i+1]),e.put(r,11)}this.data.length%2&&e.put(nt.indexOf(this.data[i]),6)};var ge=k,he=function(e){for(var i=[],r=e.length,o=0;o=55296&&n<=56319&&r>o+1){var s=e.charCodeAt(o+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,o+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const we=he,me=D;function z(t){this.mode=me.BYTE,typeof t=="string"&&(t=we(t)),this.data=new Uint8Array(t)}z.getBitsLength=function(e){return e*8};z.prototype.getLength=function(){return this.data.length};z.prototype.getBitsLength=function(){return z.getBitsLength(this.data.length)};z.prototype.write=function(t){for(let e=0,i=this.data.length;e=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),t.put(i,13)}};var Be=H,Ft={exports:{}};(function(t){var e={single_source_shortest_paths:function(i,r,o){var n={},s={};s[r]=0;var c=e.PriorityQueue.make();c.push(r,0);for(var a,f,d,b,C,w,y,u,E;!c.empty();){a=c.pop(),f=a.value,b=a.cost,C=i[f]||{};for(d in C)C.hasOwnProperty(d)&&(w=C[d],y=b+w,u=s[d],E=typeof s[d]>"u",(E||u>y)&&(s[d]=y,c.push(d,y),n[d]=f))}if(typeof o<"u"&&typeof s[o]>"u"){var l=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(l)}return n},extract_shortest_path_from_predecessor_list:function(i,r){for(var o=[],n=r;n;)o.push(n),i[n],n=i[n];return o.reverse(),o},find_path:function(i,r,o){var n=e.single_source_shortest_paths(i,r,o);return e.extract_shortest_path_from_predecessor_list(n,o)},PriorityQueue:{make:function(i){var r=e.PriorityQueue,o={},n;i=i||{};for(n in r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=i.sorter||r.default_sorter,o},default_sorter:function(i,r){return i.cost-r.cost},push:function(i,r){var o={value:i,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(Ft);var be=Ft.exports;(function(t){const e=D,i=fe,r=ge,o=Ce,n=Be,s=P,c=M,a=be;function f(l){return unescape(encodeURIComponent(l)).length}function d(l,m,h){const g=[];let B;for(;(B=l.exec(h))!==null;)g.push({data:B[0],index:B.index,mode:m,length:B[0].length});return g}function b(l){const m=d(s.NUMERIC,e.NUMERIC,l),h=d(s.ALPHANUMERIC,e.ALPHANUMERIC,l);let g,B;return c.isKanjiModeEnabled()?(g=d(s.BYTE,e.BYTE,l),B=d(s.KANJI,e.KANJI,l)):(g=d(s.BYTE_KANJI,e.BYTE,l),B=[]),m.concat(h,g,B).sort(function(p,N){return p.index-N.index}).map(function(p){return{data:p.data,mode:p.mode,length:p.length}})}function C(l,m){switch(m){case e.NUMERIC:return i.getBitsLength(l);case e.ALPHANUMERIC:return r.getBitsLength(l);case e.KANJI:return n.getBitsLength(l);case e.BYTE:return o.getBitsLength(l)}}function w(l){return l.reduce(function(m,h){const g=m.length-1>=0?m[m.length-1]:null;return g&&g.mode===h.mode?(m[m.length-1].data+=h.data,m):(m.push(h),m)},[])}function y(l){const m=[];for(let h=0;h=0&&c<=6&&(a===0||a===6)||a>=0&&a<=6&&(c===0||c===6)||c>=2&&c<=4&&a>=2&&a<=4?t.set(n+c,s+a,!0,!0):t.set(n+c,s+a,!1,!0))}}function Re(t){const e=t.size;for(let i=8;i>c&1)===1,t.set(o,n,s,!0),t.set(n,o,s,!0)}function it(t,e,i){const r=t.size,o=Ne.getEncodedBits(e,i);let n,s;for(n=0;n<15;n++)s=(o>>n&1)===1,n<6?t.set(n,8,s,!0):n<8?t.set(n+1,8,s,!0):t.set(r-15+n,8,s,!0),n<8?t.set(8,r-n-1,s,!0):n<9?t.set(8,15-n-1+1,s,!0):t.set(8,15-n-1,s,!0);t.set(r-8,8,1,!0)}function De(t,e){const i=t.size;let r=-1,o=i-1,n=7,s=0;for(let c=i-1;c>0;c-=2)for(c===6&&c--;;){for(let a=0;a<2;a++)if(!t.isReserved(o,c-a)){let f=!1;s>>n&1)===1),t.set(o,c-a,f),n--,n===-1&&(s++,n=7)}if(o+=r,o<0||i<=o){o-=r,r=-r;break}}}function Ue(t,e,i){const r=new Ae;i.forEach(function(a){r.put(a.mode.bit,4),r.put(a.getLength(),Me.getCharCountIndicator(a.mode,t)),a.write(r)});const o=et.getSymbolTotalCodewords(t),n=ut.getTotalCodewordsCount(t,e),s=(o-n)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const c=(s-r.getLengthInBits())/8;for(let a=0;aL.map((s,l)=>{const g=l%3;return{avatar:z[g].avatar,name:z[g].name,text:s}});function he(s,l,g="modelValue",m){return E({get:()=>s[g],set:a=>{l(`update:${g}`,m?m(a):a)}})}var Y=j({name:"vue3-danmaku",components:{},props:{danmus:{type:Array,required:!0,default:()=>[]},channels:{type:Number,default:0},autoplay:{type:Boolean,default:!0},loop:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},debounce:{type:Number,default:100},speeds:{type:Number,default:200},randomChannel:{type:Boolean,default:!1},fontSize:{type:Number,default:18},top:{type:Number,default:4},right:{type:Number,default:0},isSuspend:{type:Boolean,default:!1},extraStyle:{type:String,default:""}},emits:["list-end","play-end","update:danmus"],setup(s,{emit:l,slots:g}){let m=B(document.createElement("div")),a=B(document.createElement("div"));const i=B(0),y=B(0);let x=0;const S=B(0),I=B(0),h=B(0),w=B(!1),Q=B(!1),d=B({}),e=he(s,l,"danmus"),C=K({channels:E(()=>s.channels||S.value),autoplay:E(()=>s.autoplay),loop:E(()=>s.loop),useSlot:E(()=>s.useSlot),debounce:E(()=>s.debounce),randomChannel:E(()=>s.randomChannel)}),o=K({height:E(()=>I.value),fontSize:E(()=>s.fontSize),speeds:E(()=>s.speeds),top:E(()=>s.top),right:E(()=>s.right)});T(()=>{b()}),le(()=>{W()});function b(){R(),s.isSuspend&&O(),C.autoplay&&u()}function R(){i.value=m.value.offsetWidth,y.value=m.value.offsetHeight}function u(){Q.value=!1,x||(x=setInterval(()=>F(),C.debounce))}function F(){if(!Q.value&&e.value.length)if(h.value>e.value.length-1){const A=a.value.children.length;C.loop&&(A{o.height||(I.value=t.offsetHeight),C.channels||(S.value=Math.floor(y.value/(o.height+o.top)));let k=P(t);if(k>=0){const D=t.offsetWidth,se=o.height;t.classList.add("move"),t.dataset.index=`${r}`,t.style.opacity="1",t.style.top=k*(se+o.top)+"px",t.style.width=D+o.right+"px",t.style.setProperty("--dm-scroll-width",`-${i.value+D*2}px`),t.style.left=`${i.value}px`,t.style.animationDuration=`${i.value/o.speeds}s`,t.addEventListener("animationend",()=>{Number(t.dataset.index)===e.value.length-1&&!C.loop&&l("play-end",t.dataset.index),a.value&&a.value.removeChild(t)}),h.value++}else a.value.removeChild(t)})}function N(A,r){return ue({render(){return ie("div",{},[g.dm&&g.dm({danmu:A,index:r})])}}).mount(document.createElement("div"))}function P(A){let r=[...Array(C.channels).keys()];C.randomChannel&&(r=r.sort(()=>.5-Math.random()));for(let n of r){const t=d.value[n];if(t&&t.length)for(let k=0;kd.value[n].splice(0,1)),n%C.channels}else return d.value[n]=[A],A.addEventListener("animationend",()=>d.value[n].splice(0,1)),n%C.channels}return-1}function J(A){const r=A.offsetWidth||parseInt(A.style.width),n=A.getBoundingClientRect().right||a.value.getBoundingClientRect().right+r;return a.value.getBoundingClientRect().right-n}function _(){clearInterval(x),x=0}function O(){let A=[];a.value.addEventListener("mousemove",r=>{let n=r.target;n.className.includes("dm")||(n=n.closest(".dm")||n),n.className.includes("dm")&&(n.classList.add("pause"),A.push(n))}),a.value.addEventListener("mouseout",r=>{let n=r.target;n.className.includes("dm")||(n=n.closest(".dm")||n),n.className.includes("dm")&&(n.classList.remove("pause"),A.forEach(t=>{t.classList.remove("pause")}),A=[])})}function W(){_(),h.value=0}function X(){I.value=0,b()}function Z(){d.value={},a.value.innerHTML="",Q.value=!0,w.value=!1,W()}function q(){Q.value=!0}function $(A){if(h.value===e.value.length)return e.value.push(A),e.value.length-1;{const r=h.value%e.value.length;return e.value.splice(r,0,A),r+1}}function ee(A){return e.value.push(A),e.value.length-1}function te(){return!Q.value}function ne(){w.value=!1}function ae(){w.value=!0}function Ae(){R();const A=a.value.getElementsByClassName("dm");for(let r=0;r"u")){var m=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",g==="top"&&m.firstChild?m.insertBefore(a,m.firstChild):m.appendChild(a),a.styleSheet?a.styleSheet.cssText=s:a.appendChild(document.createTextNode(s))}}var ye=`.vue-danmaku { +import{d as j,r as B,ai as K,D as E,k as T,l as le,n as oe,b1 as ue,O as ie,o as H,i as de,e as c,aq as re,ad as fe,ac as me,a as U,c as ce,w as p,f,h as v,t as M,al as pe,u as ve,b2 as ge}from"./index-42b0cfe4.js";const z=[{avatar:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIADIAMgMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAFBAYBAgMAB//aAAgBAQAAAAD7HU4ObhMC3AnlYvY8ISwA+6WDOd4/RA96FVeF66BOVWB3TsAOgZC27wv/xAAYAQEBAQEBAAAAAAAAAAAAAAACAwQAAf/aAAgBAhAAAAC3sw8uyRDQPV//xAAYAQADAQEAAAAAAAAAAAAAAAAAAgMBBP/aAAgBAxAAAACQ7LfmoUTNvFf/xAA0EAACAQMBBAcHAwUAAAAAAAABAgMABBESBRMxQRAhIjJRYbEUIzRCUnOBM3KSU2KRoeH/2gAIAQEAAT8AmmSCJpHOAoq6vZp8lmITkgonSQCMZxikkdGDxsVbxFbK2l7TGUkwHQfy6Ln4if7jetbcdglvH9TFv40hD71CGzlQpAyACRkt4VcxojxOdIj06GzwA5VKkilGUdjUcNxD9XlwI5g1Bfm0u4nC5UHDeYNWu0LS4B3D6mHHIwaufiJ/uN61tm6Et6GPCIbv8mtqi4gtrFkzjeuxIGRq+TP4orI1jpK+8MHAfVprYcM8kVysmoIGiwG8UfVgVcwh1ecDGiYcvlNWk7W9zDKucqwyPEVOczzfvb1q/wBkXWqR4Sja8nDHGCajAEagHIAx/jourmK0haaV9KrWyrFZLRZJ07MqNhc8Q3M/irfZFlaOGQF2HzOc1cACeYD+o3r0XptYEJKAyMx06TgsxOaupr+MhkIQk6TlfPlkVNCIxBc3A9onLjRG/WtWV1BPFlRp09TpzBHLoufiJ/uN69G05JLxt8C2ksQpTiAMHIq0mQz6HnMnZwurBwBRhKTLLK5Y6Oz/AGf9qwla3u4TykBRh/sdFx8RN9xvWpri43Unv5O6fmNSSSCHGtsb0DGfKrFm3zdZ7o9RUskhMnbbu+NLJJrh7bfqJz869onxjfSY/callk3knvG7x51//8QAIxEAAgEEAQMFAAAAAAAAAAAAAQIRAAMSMRAEIXETMjNBUf/aAAgBAgEBPwBMUTNv3tSdQrgZDYpwMmx0N8PdFv0iBMAyKS4QroF99JcxDhhMntwxgUCoJIER90jZCeG2PBpvjNWtHzx//8QAIBEAAgICAgIDAAAAAAAAAAAAAQIAERASAyEyM0GBkf/aAAgBAwEBPwBtmbURuErdRb1W/nCIW3vqMgJVr8YyWVIyvYG/5CKwJze36jY//9k=",name:"美绪",text:"马什么梅?"},{avatar:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIADIAMgMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAABQIDBAEGB//aAAgBAQAAAAD65hzG3WLcATfCbHYQ9IY0uiEfRkU1IOr+RoUG1ornWj7Y6//EABgBAQADAQAAAAAAAAAAAAAAAAQAAgUD/9oACAECEAAAACEf3IJba51tGDNq/wD/xAAYAQEAAwEAAAAAAAAAAAAAAAAEAQMFAv/aAAgBAxAAAABSg0MWQdj+c6VozP/EAC0QAAIBAwMBBgUFAAAAAAAAAAECEQADBBASMUEiUVJhcZEFExQhgSAyQoKx/9oACAEBAAE/AKu5oEi2A3meKOXf8cfgV9Xe2kEgyOeCKsZSXAqs0XP91z7+wC3MSCzeg/RbuG06uO8T6a5kNkOOu0CpUXWQMdo4kQRPQihPd9tH+4jXIw0yDukq0RNHFu2/iOVku0pfx7foHt91MttbMyN7njqQDo3BPkdWEqRJEjkV8QOV2LVq2xBBlkoq+y181CrgHn1nXHffZQ+UH8aEwCaEoJP9qzbe+ySOUO7XCuxca2f5CR6jS477H7bftPWt7+NvekdzbWXYyo60rvtXtHgda3v4j71Yd/qLPaPJ6+Vb38be9f/EACYRAAECBAQHAQAAAAAAAAAAAAECAwAEEBIREzFSITNBQlFhgXL/2gAIAQIBAT8AffKDYjXqYznd5hhwuI46ijjOOaSfaYUm232Ik9F/KKQFRMN2LHgiJVdrmG6s32fYa5iP0Kf/xAAmEQABAgQFBAMAAAAAAAAAAAABAgMAEBESBBNCUoEhMTNhUXFy/9oACAEDAQE/AGGAoXK4EZLWwQ+2G19Oxk28RlhI9GEqur9xi9HMm3C2qtAfRhhy9J+axiUXIrtnhdfEOeNf5Mv/2Q==",name:"博士",text:"马东什么?"},{avatar:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIADIAMgMBIgACEQEDEQH/xAAxAAACAgMBAAAAAAAAAAAAAAAABgQFAQIHAwEBAAMBAAAAAAAAAAAAAAAAAwABAgT/2gAMAwEAAhADEAAAAI7CsPnN1VeZ0okpTbSWASKzwmMPRy3PuuWhpv4KvQ7pcJYTUb+hdLQYWJoaVU+RU3jcXiaoegAhWOAPeeaBd1wGtf/EAC4QAAIBAwIEBAUFAQAAAAAAAAECAwAEEQUhBhASMRMiQWEUI3KBoSAzQlFSkv/aAAgBAQABPwDTxidHHbdTyZGjdkcYYelBGKM4HlUgH7/osXInRfQsK0q18abxGHkj/JrV0KXrEfzUGtLiE0F1G48r4GfcVJDJFI0TbMp52W91D9VXt42mWQCu0QUqHZQC7SyDIRA22QO5NXkFyLeFpnWRggYsMZw/+ioAPsRVlOtrpsshx+6d2OFGw3J/oVK897YR6nbfORCTkp0OVQ7lRk5Aq5gMZSVR8qVepfbPpy0jDSRyEZxIg/6JrjKJytlEEJ63uJD7ttXB6Tn41bhW8Mwxxjqzt3OBWrx+Bw9fQsRvIgBzjYutcP3F8upWVmZZltvjFPQW22BqeAJpHh+kWyeyhsL+KXS9RcB1WLpYZGSc4NcKwxTrcRy+qrj2IJIqe3S5AEsSOAcgMobB+9Lb9KhVAAHYCntRIjI6hkYYZWGQRUGm2ltMssVsiSKCAVGMZqWFZ4fDY4XYn7ULaEgF182N/Me9cIuI3kY9gFodLAEHINFgKDKdqwK1LVotOMSsnWz5JAPYUeJZyTiKMVwv2n+la08npcZOBjke3LVWZtRuizE4kI5f/8QAIBEBAAIBAgcAAAAAAAAAAAAAAQARAwIQEiAhMTJBcf/aAAgBAgEBPwDL5HzkadfX0RDjmTSUJtks1MqWpVypk7uxt//EACARAQABAwMFAAAAAAAAAAAAAAEAAhEhAxATEiIxYXH/2gAIAQMBAT8A0m1L9l+2++Sg9sF45p1N7M6iUJYwM5GYW4ZmZT4Njb//2Q==",name:"柚子",text:"什么冬梅?"}],L=["1","2","3","4","5","6","7","8","9"],G=()=>L.map((s,l)=>{const g=l%3;return{avatar:z[g].avatar,name:z[g].name,text:s}});function he(s,l,g="modelValue",m){return E({get:()=>s[g],set:a=>{l(`update:${g}`,m?m(a):a)}})}var Y=j({name:"vue3-danmaku",components:{},props:{danmus:{type:Array,required:!0,default:()=>[]},channels:{type:Number,default:0},autoplay:{type:Boolean,default:!0},loop:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},debounce:{type:Number,default:100},speeds:{type:Number,default:200},randomChannel:{type:Boolean,default:!1},fontSize:{type:Number,default:18},top:{type:Number,default:4},right:{type:Number,default:0},isSuspend:{type:Boolean,default:!1},extraStyle:{type:String,default:""}},emits:["list-end","play-end","update:danmus"],setup(s,{emit:l,slots:g}){let m=B(document.createElement("div")),a=B(document.createElement("div"));const i=B(0),y=B(0);let x=0;const S=B(0),I=B(0),h=B(0),w=B(!1),Q=B(!1),d=B({}),e=he(s,l,"danmus"),C=K({channels:E(()=>s.channels||S.value),autoplay:E(()=>s.autoplay),loop:E(()=>s.loop),useSlot:E(()=>s.useSlot),debounce:E(()=>s.debounce),randomChannel:E(()=>s.randomChannel)}),o=K({height:E(()=>I.value),fontSize:E(()=>s.fontSize),speeds:E(()=>s.speeds),top:E(()=>s.top),right:E(()=>s.right)});T(()=>{b()}),le(()=>{W()});function b(){R(),s.isSuspend&&O(),C.autoplay&&u()}function R(){i.value=m.value.offsetWidth,y.value=m.value.offsetHeight}function u(){Q.value=!1,x||(x=setInterval(()=>F(),C.debounce))}function F(){if(!Q.value&&e.value.length)if(h.value>e.value.length-1){const A=a.value.children.length;C.loop&&(A{o.height||(I.value=t.offsetHeight),C.channels||(S.value=Math.floor(y.value/(o.height+o.top)));let k=P(t);if(k>=0){const D=t.offsetWidth,se=o.height;t.classList.add("move"),t.dataset.index=`${r}`,t.style.opacity="1",t.style.top=k*(se+o.top)+"px",t.style.width=D+o.right+"px",t.style.setProperty("--dm-scroll-width",`-${i.value+D*2}px`),t.style.left=`${i.value}px`,t.style.animationDuration=`${i.value/o.speeds}s`,t.addEventListener("animationend",()=>{Number(t.dataset.index)===e.value.length-1&&!C.loop&&l("play-end",t.dataset.index),a.value&&a.value.removeChild(t)}),h.value++}else a.value.removeChild(t)})}function N(A,r){return ue({render(){return ie("div",{},[g.dm&&g.dm({danmu:A,index:r})])}}).mount(document.createElement("div"))}function P(A){let r=[...Array(C.channels).keys()];C.randomChannel&&(r=r.sort(()=>.5-Math.random()));for(let n of r){const t=d.value[n];if(t&&t.length)for(let k=0;kd.value[n].splice(0,1)),n%C.channels}else return d.value[n]=[A],A.addEventListener("animationend",()=>d.value[n].splice(0,1)),n%C.channels}return-1}function J(A){const r=A.offsetWidth||parseInt(A.style.width),n=A.getBoundingClientRect().right||a.value.getBoundingClientRect().right+r;return a.value.getBoundingClientRect().right-n}function _(){clearInterval(x),x=0}function O(){let A=[];a.value.addEventListener("mousemove",r=>{let n=r.target;n.className.includes("dm")||(n=n.closest(".dm")||n),n.className.includes("dm")&&(n.classList.add("pause"),A.push(n))}),a.value.addEventListener("mouseout",r=>{let n=r.target;n.className.includes("dm")||(n=n.closest(".dm")||n),n.className.includes("dm")&&(n.classList.remove("pause"),A.forEach(t=>{t.classList.remove("pause")}),A=[])})}function W(){_(),h.value=0}function X(){I.value=0,b()}function Z(){d.value={},a.value.innerHTML="",Q.value=!0,w.value=!1,W()}function q(){Q.value=!0}function $(A){if(h.value===e.value.length)return e.value.push(A),e.value.length-1;{const r=h.value%e.value.length;return e.value.splice(r,0,A),r+1}}function ee(A){return e.value.push(A),e.value.length-1}function te(){return!Q.value}function ne(){w.value=!1}function ae(){w.value=!0}function Ae(){R();const A=a.value.getElementsByClassName("dm");for(let r=0;r"u")){var m=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",g==="top"&&m.firstChild?m.insertBefore(a,m.firstChild):m.appendChild(a),a.styleSheet?a.styleSheet.cssText=s:a.appendChild(document.createTextNode(s))}}var ye=`.vue-danmaku { position: relative; overflow: hidden; } diff --git a/dist/static/js/index-8c09e38e.js b/dist/static/js/index-c35013cb.js similarity index 99% rename from dist/static/js/index-8c09e38e.js rename to dist/static/js/index-c35013cb.js index 48618900b..a0e14df2f 100644 --- a/dist/static/js/index-8c09e38e.js +++ b/dist/static/js/index-c35013cb.js @@ -1,4 +1,4 @@ -import{d as G,ai as J,D as le,k as Z,h as s,l as Re,ah as P,F as Pe,E as M,W as se,r as V,bB as tn,n as De,al as nn,au as ln,A as Fe,bC as on,bD as rn,H as an,bE as sn,a as he,b as cn,i as ht,w as q,o as pe,g as ge,c as xe,G as pt,u as te,e as Se,aq as Te,q as un,ar as ft,_ as dn}from"./index-ceadd577.js";import{_ as mn}from"./Bar.vue_vue_type_script_setup_true_lang-1501b08b.js";import{_ as hn}from"./Pie.vue_vue_type_script_setup_true_lang-51a62997.js";import{_ as pn}from"./Line.vue_vue_type_script_setup_true_lang-30123dc5.js";import{g as fn}from"./list-80891f62.js";import{T as ze}from"./index-e5cd6a13.js";import{_ as gn}from"./Github.vue_vue_type_script_setup_true_lang-b99b9114.js";import{u as vn}from"./index-026bd28f.js";import"./app-c56ccba4.js";import"./columns-453a481e.js";import"./office-building-cc7a1721.js";import"./iphone-bcaa848c.js";import"./user-3-fill-70ba8c19.js";var bn=Object.defineProperty,kn=Object.defineProperties,yn=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,vt=(l,e,t)=>e in l?bn(l,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[e]=t,Q=(l,e)=>{for(var t in e||(e={}))wn.call(e,t)&&vt(l,t,e[t]);if(gt)for(var t of gt(e))xn.call(e,t)&&vt(l,t,e[t]);return l},Le=(l,e)=>kn(l,yn(e));const d="md-editor",$n="md-editor-v3",Cn="https://at.alicdn.com/t/c/font_2605852_gymddm8qwtd.js",U="https://cdnjs.cloudflare.com/ajax/libs",_n=`${U}/highlight.js/11.7.0/highlight.min.js`,bt={main:`${U}/prettier/2.8.0/standalone.js`,markdown:`${U}/prettier/2.8.0/parser-markdown.js`},kt={css:`${U}/cropperjs/1.5.13/cropper.min.css`,js:`${U}/cropperjs/1.5.13/cropper.min.js`},En=`${U}/screenfull.js/5.2.0/screenfull.min.js`,Nt=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],qt=["markdownTotal","=","scrollSwitch"],yt={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Word Count",scrollAuto:"Scroll Auto"}}},Sn=`${U}/mermaid/9.3.0/mermaid.min.js`,wt={js:`${U}/KaTeX/0.16.3/katex.min.js`,css:`${U}/KaTeX/0.16.3/katex.min.css`},xt={a11y:{light:`${U}/highlight.js/11.7.0/styles/a11y-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/a11y-dark.min.css`},atom:{light:`${U}/highlight.js/11.7.0/styles/atom-one-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/atom-one-dark.min.css`},github:{light:`${U}/highlight.js/11.7.0/styles/github.min.css`,dark:`${U}/highlight.js/11.7.0/styles/github-dark.min.css`},gradient:{light:`${U}/highlight.js/11.7.0/styles/gradient-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/gradient-dark.min.css`},kimbie:{light:`${U}/highlight.js/11.7.0/styles/kimbie-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/kimbie-dark.min.css`},paraiso:{light:`${U}/highlight.js/11.7.0/styles/paraiso-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${U}/highlight.js/11.7.0/styles/qtcreator-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${U}/highlight.js/11.7.0/styles/stackoverflow-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/stackoverflow-dark.min.css`}},W={markedRenderer:l=>l,markedExtensions:[],markedOptions:{},editorExtensions:{},editorConfig:{}},Tn=l=>{if(l)for(const e in l){const t=l[e];t&&(W[e]=t)}};class zn{constructor(){this.pools={}}remove(e,t,n){const o=this.pools[e]&&this.pools[e][t];o&&(this.pools[e][t]=o.filter(a=>a!==n))}clear(e){this.pools[e]={}}on(e,t){return this.pools[e]||(this.pools[e]={}),this.pools[e][t.name]||(this.pools[e][t.name]=[]),this.pools[e][t.name].push(t.callback),this.pools[e][t.name].includes(t.callback)}emit(e,t,...n){this.pools[e]||(this.pools[e]={});const o=this.pools[e][t];o&&o.forEach(a=>{try{a(...n)}catch(r){console.error(`${t} monitor event exception!`,r)}})}}var b=new zn;const ce=(l,e=0,t=e)=>new Promise((n,i)=>{l.setSelectionRange?setTimeout(()=>{l.setSelectionRange(e,t),l.focus(),n(!0)},0):(console.error("Can not reset position!"),i())}),lt=(l,e,t)=>{const{deviationStart:n=0,deviationEnd:i=0,direct:o=!1,select:a=!1}=t;let r="";if(l.selectionStart||l.selectionStart===0){const m=l.selectionStart,u=l.selectionEnd||0,{prefixVal:c=l.value.substring(0,m),subfixVal:h=l.value.substring(u,l.value.length)}=t;r=c+e+h,ce(l,a?m+n:m+e.length+i,m+e.length+i)}else r+=e;return o&&(l.value=r),r},In=(l,e={newWindow:!0,nofollow:!0})=>{l||console.error("error link!");const t=document.createElement("a");t.href=l,t.style.display="none",e.newWindow&&(t.target="_blank"),e.nofollow&&(t.rel="noopener noreferrer"),document.body.appendChild(t),t.click(),document.body.removeChild(t)},$t=(l,e)=>{const t=tt(()=>{l.removeEventListener("scroll",n),l.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=i=>{const o=l.clientHeight,a=e.clientHeight,r=l.scrollHeight,m=e.scrollHeight,u=(r-o)/(m-a);i.target===l?(e.removeEventListener("scroll",n),e.scrollTo({top:l.scrollTop/u}),t()):(l.removeEventListener("scroll",n),l.scrollTo({top:e.scrollTop*u}),t())};return[t,()=>{l.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},An=(l,e="image.png")=>{const t=l.split(","),n=t[0].match(/:(.*?);/);if(n){const i=n[1],o=atob(t[1]);let a=o.length;const r=new Uint8Array(a);for(;a--;)r[a]=o.charCodeAt(a);return new File([r],e,{type:i})}return null},Ct=l=>{if(!l.trim())return l;const e=l.split(` +import{d as G,ai as J,D as le,k as Z,h as s,l as Re,ah as P,F as Pe,E as M,W as se,r as V,bB as tn,n as De,al as nn,au as ln,A as Fe,bC as on,bD as rn,H as an,bE as sn,a as he,b as cn,i as ht,w as q,o as pe,g as ge,c as xe,G as pt,u as te,e as Se,aq as Te,q as un,ar as ft,_ as dn}from"./index-42b0cfe4.js";import{_ as mn}from"./Bar.vue_vue_type_script_setup_true_lang-f681038a.js";import{_ as hn}from"./Pie.vue_vue_type_script_setup_true_lang-efddfd4e.js";import{_ as pn}from"./Line.vue_vue_type_script_setup_true_lang-4df5663e.js";import{g as fn}from"./list-b5711b9c.js";import{T as ze}from"./index-6393607f.js";import{_ as gn}from"./Github.vue_vue_type_script_setup_true_lang-524b5d97.js";import{u as vn}from"./index-a8afb2c0.js";import"./app-246d46a6.js";import"./columns-e229e9c2.js";import"./office-building-cc7a1721.js";import"./iphone-bcaa848c.js";import"./user-3-fill-70ba8c19.js";var bn=Object.defineProperty,kn=Object.defineProperties,yn=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,vt=(l,e,t)=>e in l?bn(l,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[e]=t,Q=(l,e)=>{for(var t in e||(e={}))wn.call(e,t)&&vt(l,t,e[t]);if(gt)for(var t of gt(e))xn.call(e,t)&&vt(l,t,e[t]);return l},Le=(l,e)=>kn(l,yn(e));const d="md-editor",$n="md-editor-v3",Cn="https://at.alicdn.com/t/c/font_2605852_gymddm8qwtd.js",U="https://cdnjs.cloudflare.com/ajax/libs",_n=`${U}/highlight.js/11.7.0/highlight.min.js`,bt={main:`${U}/prettier/2.8.0/standalone.js`,markdown:`${U}/prettier/2.8.0/parser-markdown.js`},kt={css:`${U}/cropperjs/1.5.13/cropper.min.css`,js:`${U}/cropperjs/1.5.13/cropper.min.js`},En=`${U}/screenfull.js/5.2.0/screenfull.min.js`,Nt=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],qt=["markdownTotal","=","scrollSwitch"],yt={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Word Count",scrollAuto:"Scroll Auto"}}},Sn=`${U}/mermaid/9.3.0/mermaid.min.js`,wt={js:`${U}/KaTeX/0.16.3/katex.min.js`,css:`${U}/KaTeX/0.16.3/katex.min.css`},xt={a11y:{light:`${U}/highlight.js/11.7.0/styles/a11y-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/a11y-dark.min.css`},atom:{light:`${U}/highlight.js/11.7.0/styles/atom-one-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/atom-one-dark.min.css`},github:{light:`${U}/highlight.js/11.7.0/styles/github.min.css`,dark:`${U}/highlight.js/11.7.0/styles/github-dark.min.css`},gradient:{light:`${U}/highlight.js/11.7.0/styles/gradient-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/gradient-dark.min.css`},kimbie:{light:`${U}/highlight.js/11.7.0/styles/kimbie-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/kimbie-dark.min.css`},paraiso:{light:`${U}/highlight.js/11.7.0/styles/paraiso-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${U}/highlight.js/11.7.0/styles/qtcreator-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${U}/highlight.js/11.7.0/styles/stackoverflow-light.min.css`,dark:`${U}/highlight.js/11.7.0/styles/stackoverflow-dark.min.css`}},W={markedRenderer:l=>l,markedExtensions:[],markedOptions:{},editorExtensions:{},editorConfig:{}},Tn=l=>{if(l)for(const e in l){const t=l[e];t&&(W[e]=t)}};class zn{constructor(){this.pools={}}remove(e,t,n){const o=this.pools[e]&&this.pools[e][t];o&&(this.pools[e][t]=o.filter(a=>a!==n))}clear(e){this.pools[e]={}}on(e,t){return this.pools[e]||(this.pools[e]={}),this.pools[e][t.name]||(this.pools[e][t.name]=[]),this.pools[e][t.name].push(t.callback),this.pools[e][t.name].includes(t.callback)}emit(e,t,...n){this.pools[e]||(this.pools[e]={});const o=this.pools[e][t];o&&o.forEach(a=>{try{a(...n)}catch(r){console.error(`${t} monitor event exception!`,r)}})}}var b=new zn;const ce=(l,e=0,t=e)=>new Promise((n,i)=>{l.setSelectionRange?setTimeout(()=>{l.setSelectionRange(e,t),l.focus(),n(!0)},0):(console.error("Can not reset position!"),i())}),lt=(l,e,t)=>{const{deviationStart:n=0,deviationEnd:i=0,direct:o=!1,select:a=!1}=t;let r="";if(l.selectionStart||l.selectionStart===0){const m=l.selectionStart,u=l.selectionEnd||0,{prefixVal:c=l.value.substring(0,m),subfixVal:h=l.value.substring(u,l.value.length)}=t;r=c+e+h,ce(l,a?m+n:m+e.length+i,m+e.length+i)}else r+=e;return o&&(l.value=r),r},In=(l,e={newWindow:!0,nofollow:!0})=>{l||console.error("error link!");const t=document.createElement("a");t.href=l,t.style.display="none",e.newWindow&&(t.target="_blank"),e.nofollow&&(t.rel="noopener noreferrer"),document.body.appendChild(t),t.click(),document.body.removeChild(t)},$t=(l,e)=>{const t=tt(()=>{l.removeEventListener("scroll",n),l.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=i=>{const o=l.clientHeight,a=e.clientHeight,r=l.scrollHeight,m=e.scrollHeight,u=(r-o)/(m-a);i.target===l?(e.removeEventListener("scroll",n),e.scrollTo({top:l.scrollTop/u}),t()):(l.removeEventListener("scroll",n),l.scrollTo({top:e.scrollTop*u}),t())};return[t,()=>{l.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},An=(l,e="image.png")=>{const t=l.split(","),n=t[0].match(/:(.*?);/);if(n){const i=n[1],o=atob(t[1]);let a=o.length;const r=new Uint8Array(a);for(;a--;)r[a]=o.charCodeAt(a);return new File([r],e,{type:i})}return null},Ct=l=>{if(!l.trim())return l;const e=l.split(` `),t=['"),`${l}${t.join("")}`},tt=(l,e=200)=>{let t=0;return(...n)=>{t&&clearTimeout(t),t=window.setTimeout(()=>{l.apply(globalThis,n),t=0},e)}},Fn=(l,e=200)=>{let t=0,n=null;return(...i)=>{const o=a=>{t===0&&(t=a),a-t>=e?(l.apply(globalThis,n),n=null,t=0):window.requestAnimationFrame(o)};n===null&&window.requestAnimationFrame(o),n=i}},_t=(l,e="$")=>{const t=l.split(e);let n=e,i="";for(let o=1;o{var e;return navigator.userAgent.indexOf("Firefox")>-1?l.value.substring(l.selectionStart,l.selectionEnd):((e=window.getSelection())==null?void 0:e.toString())||""},Dn=(l,e)=>{const t=l==null?void 0:l.getBoundingClientRect();if(e===document.documentElement)return t.top-e.clientTop;const n=e==null?void 0:e.getBoundingClientRect();return t.top-n.top},Rn=(l,e)=>{const t=Q({},l);return e.forEach(n=>{Reflect.deleteProperty(t,n)}),t},Et=(l,e)=>{const t=n=>{const i=l.parentElement||document.body,o=i.offsetWidth,a=i.offsetHeight,{clientWidth:r}=document.documentElement,{clientHeight:m}=document.documentElement,u=n.offsetX,c=n.offsetY,h=p=>{let w=p.x+document.body.scrollLeft-document.body.clientLeft-u,C=p.y+document.body.scrollTop-document.body.clientTop-c;w=w<1?1:w{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return l.addEventListener("mousedown",t),()=>{l.removeEventListener("mousedown",t)}},ne=(l,e="")=>{const t=document.getElementById(l.id);t?e!==""&&l.onload instanceof Function&&(Reflect.get(window,e)?l.onload(new Event("load")):t.addEventListener("load",l.onload)):document.head.appendChild(l)},Pn=tt((l,e,t)=>{const n=document.getElementById(l);n&&n.setAttribute(e,t)},10),Ye="onSave",at="changeCatalogVisible",Ut="changeFullscreen",St="pageFullscreenChanged",Tt="fullscreenChanged",zt="previewChanged",It="htmlPreviewChanged",At="catalogVisibleChanged",Vt="textarea_focus",jn=(l,e)=>{const{editorId:t,noPrettier:n,previewOnly:i}=l,o=J({buildFinished:!1,html:""}),a=r=>{if(r.target===document.querySelector(`#${l.editorId}-textarea`))if(b.emit(t,"selectTextChange"),r.ctrlKey||r.metaKey)switch(r.code){case"KeyS":{r.shiftKey?b.emit(t,"replace","strikeThrough"):(b.emit(t,Ye,l.modelValue),r.preventDefault());break}case"KeyB":{b.emit(t,"replace","bold"),r.preventDefault();break}case"KeyU":{r.shiftKey?(b.emit(t,"replace","unorderedList"),r.preventDefault()):(b.emit(t,"replace","underline"),r.preventDefault());break}case"KeyI":{r.shiftKey?(b.emit(t,"openModals","image"),r.preventDefault()):(b.emit(t,"replace","italic"),r.preventDefault());break}case"Digit1":{b.emit(t,"replace","h1"),r.preventDefault();break}case"Digit2":{b.emit(t,"replace","h2"),r.preventDefault();break}case"Digit3":{b.emit(t,"replace","h3"),r.preventDefault();break}case"Digit4":{b.emit(t,"replace","h4"),r.preventDefault();break}case"Digit5":{b.emit(t,"replace","h5"),r.preventDefault();break}case"Digit6":{b.emit(t,"replace","h6"),r.preventDefault();break}case"ArrowUp":{b.emit(t,"replace","sup"),r.preventDefault();break}case"ArrowDown":{b.emit(t,"replace","sub"),r.preventDefault();break}case"KeyQ":{if(r.key==="a"){r.target.select();return}b.emit(t,"replace","quote"),r.preventDefault();break}case"KeyA":if(r.key==="q"){b.emit(t,"replace","quote"),r.preventDefault();break}else return;case"KeyO":{b.emit(t,"replace","orderedList"),r.preventDefault();break}case"KeyC":{if(r.shiftKey)b.emit(t,"replace","code"),r.preventDefault();else if(r.altKey)b.emit(t,"replace","codeRow"),r.preventDefault();else{r.preventDefault(),b.emit(t,"replace","ctrlC");break}break}case"KeyL":{b.emit(t,"openModals","link"),r.preventDefault();break}case"KeyZ":{if(r.key==="w")return;r.shiftKey?(b.emit(t,"ctrlShiftZ"),r.preventDefault()):(b.emit(t,"ctrlZ"),r.preventDefault());break}case"KeyW":if(r.key==="z"){r.shiftKey?(b.emit(t,"ctrlShiftZ"),r.preventDefault()):(b.emit(t,"ctrlZ"),r.preventDefault());break}else return;case"KeyF":{r.shiftKey&&(n||(b.emit(t,"replace","prettier"),r.preventDefault()));break}case"KeyT":{r.altKey&&r.shiftKey&&(b.emit(t,"replace","table"),r.preventDefault());break}case"KeyX":{b.emit(t,"replace","ctrlX"),r.preventDefault();break}case"KeyD":{r.preventDefault(),b.emit(t,"replace","ctrlD");break}}else r.code==="Tab"&&(r.preventDefault(),r.shiftKey?b.emit(t,"replace","shiftTab"):b.emit(t,"replace","tab"))};M(()=>l.modelValue,()=>{o.buildFinished=!1}),Z(()=>{i||(window.addEventListener("keydown",a),b.on(t,{name:"buildFinished",callback(r){o.buildFinished=!0,o.html=r}}),b.on(t,{name:Ye,callback(){const r=new Promise(m=>{if(o.buildFinished)m(o.html);else{const u=c=>{m(c),b.remove(t,"buildFinished",u)};b.on(t,{name:"buildFinished",callback:u})}});l.onSave?l.onSave(l.modelValue,r):e.emit("onSave",l.modelValue,r)}}))}),Re(()=>{i||window.removeEventListener("keydown",a)})},On=l=>{var e;const{editorId:t,previewOnly:n}=l,i=(e=W==null?void 0:W.editorExtensions)==null?void 0:e.highlight;se("editorId",t),se("tabWidth",l.tabWidth),se("theme",le(()=>l.theme)),se("highlight",le(()=>{const a=Q(Q({},xt),i==null?void 0:i.css),r=l.codeStyleReverse&&l.codeStyleReverseList.includes(l.previewTheme)?"dark":l.theme;return{js:(i==null?void 0:i.js)||_n,css:a[l.codeTheme]?a[l.codeTheme][r]:xt.atom[r]}})),se("historyLength",l.historyLength),se("previewOnly",n),se("showCodeRowNumber",l.showCodeRowNumber);const o=le(()=>{var a;const r=Q(Q({},yt),(a=W==null?void 0:W.editorConfig)==null?void 0:a.languageUserDefined);return r[l.language]?r[l.language]:yt["zh-CN"]});se("usedLanguageText",o),se("previewTheme",le(()=>l.previewTheme))},Hn=l=>{var e,t,n,i,o,a;const{noPrettier:r,previewOnly:m,noIconfont:u,noUploadImg:c}=l,{editorExtensions:h}=W,f=r||!!((t=(e=W.editorExtensions)==null?void 0:e.prettier)!=null&&t.prettierInstance),p=r||!!((i=(n=W.editorExtensions)==null?void 0:n.prettier)!=null&&i.parserMarkdownInstance),w=c||!!((a=(o=W.editorExtensions)==null?void 0:o.cropper)!=null&&a.instance);Z(()=>{var C,y,g,x;const E=document.createElement("script");E.src=(h==null?void 0:h.iconfont)||Cn,E.id=`${d}-icon`;const S=document.createElement("script"),z=document.createElement("script");S.src=((C=h==null?void 0:h.prettier)==null?void 0:C.standaloneJs)||bt.main,S.id=`${d}-prettier`,z.src=((y=h==null?void 0:h.prettier)==null?void 0:y.parserMarkdownJs)||bt.markdown,z.id=`${d}-prettierMD`;const R=document.createElement("link");R.rel="stylesheet",R.href=((g=h==null?void 0:h.cropper)==null?void 0:g.css)||kt.css,R.id=`${d}-cropperCss`;const F=document.createElement("script");F.src=((x=h==null?void 0:h.cropper)==null?void 0:x.js)||kt.js,F.id=`${d}-cropper`,m||(u||ne(E),w||(ne(R),ne(F)),f||ne(S),p||ne(z))})},Bn=(l,e)=>{const{editorId:t,previewOnly:n}=l,i=J({pageFullscreen:l.pageFullscreen,fullscreen:!1,preview:l.preview,htmlPreview:l.preview?!1:l.htmlPreview}),o=(m,u)=>{i[m]=u===void 0?!i[m]:u,m==="preview"&&i.preview?i.htmlPreview=!1:m==="htmlPreview"&&i.htmlPreview&&(i.preview=!1)};let a="";const r=()=>{i.pageFullscreen||i.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=a};return M(()=>[i.pageFullscreen,i.fullscreen],r),Z(()=>{n||b.on(t,{name:"uploadImage",callback(m,u){const c=h=>{b.emit(t,"replace","image",{desc:"",urls:h}),u&&u()};l.onUploadImg?l.onUploadImg(m,c):e.emit("onUploadImg",m,c)}}),a=document.body.style.overflow,r()}),[i,o]},Mn=l=>{const{editorId:e}=l,t=V(!1);Z(()=>{b.on(e,{name:at,callback:i=>{i===void 0?t.value=!t.value:t.value=i}})});const n=le(()=>!l.toolbarsExclude.includes("catalog")&&l.toolbars.includes("catalog"));return[t,n]},Nn=(l,e,t,n,i)=>{const{editorId:o}=l;M(()=>n.pageFullscreen,r=>{b.emit(o,St,r)}),M(()=>n.fullscreen,r=>{b.emit(o,Tt,r)}),M(()=>n.preview,r=>{b.emit(o,zt,r)}),M(()=>n.htmlPreview,r=>{b.emit(o,It,r)}),M(t,r=>{b.emit(o,At,r)});const a={on(r,m){switch(r){case"pageFullscreen":{b.on(o,{name:St,callback(u){m(u)}});break}case"fullscreen":{b.on(o,{name:Tt,callback(u){m(u)}});break}case"preview":{b.on(o,{name:zt,callback(u){m(u)}});break}case"htmlPreview":{b.on(o,{name:It,callback(u){m(u)}});break}case"catalog":{b.on(o,{name:At,callback(u){m(u)}});break}}},togglePageFullscreen(r){i("pageFullscreen",r)},toggleFullscreen(r){b.emit(o,Ut,r)},togglePreview(r){i("preview",r)},toggleHtmlPreview(r){i("htmlPreview",r)},toggleCatalog(r){b.emit(o,at,r)},triggerSave(){b.emit(o,Ye)},insert(r){b.emit(o,"replace","universal",{generate:r})},focus(){b.emit(o,Vt)}};e.expose(a)};var qn=G({setup(){return()=>s("div",{class:`${d}-divider`},null)}});const ie=({instance:l,ctx:e,props:t={}},n="default")=>{const i=(l==null?void 0:l.$slots[n])||(e==null?void 0:e.slots[n]);return(i?i(l):"")||t[n]},Un=()=>({trigger:{type:String,default:"hover"},overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}},relative:{type:String,default:"html"}});var Ce=G({props:Un(),setup(l,e){const t=`${d}-dropdown-hidden`,n=J({overlayClass:[t],overlayStyle:{},triggerHover:!1,overlayHover:!1}),i=V(),o=V(),a=()=>{var h;l.trigger==="hover"&&(n.triggerHover=!0);const f=i.value,p=o.value,w=f.getBoundingClientRect(),C=f.offsetTop,y=f.offsetLeft,g=w.height,x=w.width,E=((h=document.querySelector(l.relative))==null?void 0:h.scrollLeft)||0;n.overlayStyle=Le(Q({},n.overlayStyle),{top:C+g+"px",left:y-p.offsetWidth/2+x/2-E+"px"}),l.onChange(!0)},r=()=>{n.overlayHover=!0};M(()=>l.visible,h=>{h?n.overlayClass=n.overlayClass.filter(f=>f!==t):n.overlayClass.push(t)});const m=h=>{const f=i.value,p=o.value;!f.contains(h.target)&&!p.contains(h.target)&&l.onChange(!1)};let u=-1;const c=h=>{i.value===h.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(u),u=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&l.onChange(!1)},10)};return Z(()=>{l.trigger==="click"?(i.value.addEventListener("click",a),document.addEventListener("click",m)):(i.value.addEventListener("mouseenter",a),i.value.addEventListener("mouseleave",c),o.value.addEventListener("mouseenter",r),o.value.addEventListener("mouseleave",c))}),Re(()=>{l.trigger==="click"?(i.value.removeEventListener("click",a),document.removeEventListener("click",m)):(i.value.removeEventListener("mouseenter",a),i.value.removeEventListener("mouseleave",c),o.value.removeEventListener("mouseenter",r),o.value.removeEventListener("mouseleave",c))}),()=>{const h=ie({ctx:e}),f=ie({props:l,ctx:e},"overlay"),p=tn(h instanceof Array?h[0]:h,{ref:i}),w=s("div",{class:[`${d}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:o},[s("div",{class:`${d}-dropdown-overlay`},[f instanceof Array?f[0]:f])]);return[p,w]}}});const Vn=()=>({title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function,default:()=>()=>{}},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>()=>{}},class:{type:String}});var st=G({props:Vn(),setup(l,e){const t=V(l.visible),n=V([`${d}-modal`]),i=V(),o=V();let a=()=>{};const r=J({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),m=le(()=>l.isFullscreen?{width:"100%",height:"100%"}:{width:l.width,height:l.height});return Z(()=>{a=Et(o.value,(u,c)=>{r.initPos.left=u+"px",r.initPos.top=c+"px"})}),Re(()=>{a()}),M(()=>l.isFullscreen,u=>{u?a():a=Et(o.value,(c,h)=>{r.initPos.left=c+"px",r.initPos.top=h+"px"})}),M(()=>l.visible,u=>{u?(n.value.push("zoom-in"),t.value=u,De(()=>{const c=i.value.offsetWidth/2,h=i.value.offsetHeight/2,f=document.documentElement.clientWidth/2,p=document.documentElement.clientHeight/2;r.initPos.left=f-c+"px",r.initPos.top=p-h+"px"}),setTimeout(()=>{n.value=n.value.filter(c=>c!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(c=>c!=="zoom-out"),t.value=u},130))}),()=>{const u=ie({ctx:e}),c=ie({props:l,ctx:e},"title");return s("div",{class:[l.class],style:{display:t.value?"block":"none"}},[s("div",{class:`${d}-modal-mask`,onClick:l.onClose},null),s("div",{class:n.value,style:Q(Q({},r.initPos),m.value),ref:i},[s("div",{class:`${d}-modal-header`,ref:o},[c||""]),s("div",{class:`${d}-modal-body`},[u]),s("div",{class:`${d}-modal-func`},[l.showAdjust&&s("div",{class:`${d}-modal-adjust`,onClick:h=>{h.stopPropagation(),l.isFullscreen?r.initPos=r.historyPos:(r.historyPos=r.initPos,r.initPos={left:"0",top:"0"}),l.onAdjust(!l.isFullscreen)}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":`#md-editor-icon-${l.isFullscreen?"suoxiao":"fangda"}`},null)])]),s("div",{class:`${d}-modal-close`,onClick:h=>{h.stopPropagation(),l.onClose&&l.onClose()}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-close"},null)])])])])])}}});const Kn=()=>({type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}});var Zn=G({props:Kn(),setup(l){const e=P("usedLanguageText"),t=P("editorId"),n=le(()=>{var o,a;switch(l.type){case"link":return(o=e.value.linkModalTips)==null?void 0:o.linkTitle;case"image":return(a=e.value.linkModalTips)==null?void 0:a.imageTitle;default:return""}}),i=J({desc:"",url:""});return M(()=>l.visible,o=>{o||setTimeout(()=>{i.desc="",i.url=""},200)}),()=>s(st,{title:n.value,visible:l.visible,onClose:l.onCancel},{default:()=>{var o,a,r,m,u;return[s("div",{class:`${d}-form-item`},[s("label",{class:`${d}-label`,for:`link-desc-${t}`},[(o=e.value.linkModalTips)==null?void 0:o.descLabel]),s("input",{placeholder:(a=e.value.linkModalTips)==null?void 0:a.descLabelPlaceHolder,class:`${d}-input`,id:`link-desc-${t}`,type:"text",value:i.desc,onChange:c=>{i.desc=c.target.value},autocomplete:"off"},null)]),s("div",{class:`${d}-form-item`},[s("label",{class:`${d}-label`,for:`link-url-${t}`},[(r=e.value.linkModalTips)==null?void 0:r.urlLabel]),s("input",{placeholder:(m=e.value.linkModalTips)==null?void 0:m.urlLabelPlaceHolder,class:`${d}-input`,id:`link-url-${t}`,type:"text",value:i.url,onChange:c=>{i.url=c.target.value},autocomplete:"off"},null)]),s("div",{class:`${d}-form-item`},[s("button",{class:[`${d}-btn`,`${d}-btn-row`],type:"button",onClick:()=>{l.onOk(i),i.desc="",i.url=""}},[(u=e.value.linkModalTips)==null?void 0:u.buttonOK])])]}})}});const Gn=()=>({visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}});var Wn=G({props:Gn(),setup(l){var e,t;const n=P("usedLanguageText"),i=P("editorId");let o=(t=(e=W==null?void 0:W.editorExtensions)==null?void 0:e.cropper)==null?void 0:t.instance;const a=V(),r=V(),m=V(),u=J({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let c=null;M(()=>l.visible,()=>{l.visible&&!u.cropperInited&&(o=o||window.Cropper,a.value.onchange=()=>{if(!o){b.emit(i,"errorCatcher",{name:"Cropper",message:"Cropper is undefined"});return}const f=a.value.files||[];if(u.imgSelected=!0,(f==null?void 0:f.length)>0){const p=new FileReader;p.onload=w=>{u.imgSrc=w.target.result,De(()=>{c=new o(r.value,{viewMode:2,preview:`.${d}-clip-preview-target`})})},p.readAsDataURL(f[0])}})}),M(()=>[u.imgSelected],()=>{m.value.style=""}),M(()=>u.isFullscreen,()=>{De(()=>{c==null||c.destroy(),m.value.style="",r.value&&(c=new o(r.value,{viewMode:2,preview:`.${d}-clip-preview-target`}))})});const h=()=>{c.clear(),c.destroy(),c=null,a.value.value="",u.imgSelected=!1};return()=>{var f;return s(st,{class:`${d}-modal-clip`,title:(f=n.value.clipModalTips)==null?void 0:f.title,visible:l.visible,onClose:l.onCancel,showAdjust:!0,isFullscreen:u.isFullscreen,onAdjust:p=>{u.isFullscreen=p},width:"668px",height:"421px"},{default:()=>{var p,w;return[s("div",{class:`${d}-form-item ${d}-clip`},[s("div",{class:`${d}-clip-main`},[u.imgSelected?s("div",{class:`${d}-clip-cropper`},[s("img",{src:u.imgSrc,ref:r,style:{display:"none"},alt:""},null),s("div",{class:`${d}-clip-delete`,onClick:h},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-delete"},null)])])]):s("div",{class:`${d}-clip-upload`,onClick:()=>{a.value.click()}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-upload"},null)])])]),s("div",{class:`${d}-clip-preview`},[s("div",{class:`${d}-clip-preview-target`,ref:m},null)])]),s("div",{class:`${d}-form-item`},[s("button",{class:`${d}-btn`,type:"button",onClick:()=>{if(c){const C=c.getCroppedCanvas();b.emit(i,"uploadImage",[An(C.toDataURL("image/png"))],l.onOk),h()}}},[((p=n.value.clipModalTips)==null?void 0:p.buttonUpload)||((w=n.value.linkModalTips)==null?void 0:w.buttonOK)])]),s("input",{ref:a,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}});const Xn=()=>({type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}});var Qn=G({props:Xn(),setup(l){return()=>s(Pe,null,[s(Zn,{type:l.type,visible:l.linkVisible,onOk:l.onOk,onCancel:l.onCancel},null),s(Wn,{visible:l.clipVisible,onOk:l.onOk,onCancel:l.onCancel},null)])}});const Yn=l=>{var e,t,n,i;const o=P("editorId"),a=P("previewOnly");let r=(t=(e=W.editorExtensions)==null?void 0:e.screenfull)==null?void 0:t.instance;const m=(i=(n=W.editorExtensions)==null?void 0:n.screenfull)==null?void 0:i.js,u=V(!1),c=p=>{if(!r){b.emit(o,"errorCatcher",{name:"fullscreen",message:"fullscreen is undefined"});return}r.isEnabled?(u.value=!0,(p===void 0?!r.isFullscreen:p)?r.request():r.exit()):console.error("browser does not support screenfull!")},h=()=>{r&&r.isEnabled&&r.on("change",()=>{(u.value||l.setting.fullscreen)&&(u.value=!1,l.updateSetting("fullscreen"))})},f=()=>{r=window.screenfull,h()};return Z(()=>{if(h(),!a&&!r){const p=document.createElement("script");p.src=m||En,p.onload=f,p.id=`${d}-screenfull`,ne(p,"screenfull")}}),Z(()=>{a||b.on(o,{name:Ut,callback:c})}),{fullscreenHandler:c}},Jn=()=>({tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}}),el=G({name:"TableShape",props:Jn(),setup(l){const e=J({x:-1,y:-1});return()=>s("div",{class:`${d}-table-shape`,onMouseleave:()=>{e.x=-1,e.y=-1}},[new Array(l.tableShape[1]).fill("").map((t,n)=>s("div",{class:`${d}-table-shape-row`,key:`table-shape-row-${n}`},[new Array(l.tableShape[0]).fill("").map((i,o)=>s("div",{class:`${d}-table-shape-col`,key:`table-shape-col-${o}`,onMouseenter:()=>{e.x=n,e.y=o},onClick:()=>{l.onSelected(e)}},[s("div",{class:[`${d}-table-shape-col-default`,n<=e.x&&o<=e.y&&`${d}-table-shape-col-include`]},null)]))]))])}}),tl=()=>({noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object},noUploadImg:{type:Boolean}});var nl=G({name:"MDEditorToolbar",props:tl(),setup(l){const e=P("editorId"),t=P("usedLanguageText"),{fullscreenHandler:n}=Yn(l),i=`${e}-toolbar-wrapper`,o=J({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),a=(p,w)=>{b.emit(e,"replace",p,w)},r=J({type:"link",linkVisible:!1,clipVisible:!1}),m=V();Z(()=>{b.on(e,{name:"openModals",callback(p){r.type=p,r.linkVisible=!0}})});const u=le(()=>{const p=l.toolbars.filter(g=>!l.toolbarsExclude.includes(g)),w=p.indexOf("="),C=w===-1?p:p.slice(0,w+1),y=w===-1?[]:p.slice(w,Number.MAX_SAFE_INTEGER);return[C,y]}),c=V(),h=()=>{b.emit(e,"uploadImage",Array.from(c.value.files||[])),c.value.value=""};Z(()=>{c.value.addEventListener("change",h)});const f=p=>{var w,C,y,g,x,E,S,z,R,F,v,K,O,H,T,k,$,D,L,j,Y,ae,ee,be,je,Oe,He,me,Be,Me,fe,Ne,qe,ke,ye,Ue,Ve,we,Ke,Ze,Ee,dt,mt;if(Nt.includes(p))switch(p){case"-":return s(qn,null,null);case"bold":return s("div",{class:`${d}-toolbar-item`,title:(w=t.value.toolbarTips)==null?void 0:w.bold,onClick:()=>{a("bold")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-bold"},null)])]);case"underline":return s("div",{class:`${d}-toolbar-item`,title:(C=t.value.toolbarTips)==null?void 0:C.underline,onClick:()=>{a("underline")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-underline"},null)])]);case"italic":return s("div",{class:`${d}-toolbar-item`,title:(y=t.value.toolbarTips)==null?void 0:y.italic,onClick:()=>{a("italic")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-italic"},null)])]);case"strikeThrough":return s("div",{class:`${d}-toolbar-item`,title:(g=t.value.toolbarTips)==null?void 0:g.strikeThrough,onClick:()=>{a("strikeThrough")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-strike-through"},null)])]);case"title":return s(Ce,{relative:`#${i}`,visible:o.title,onChange:B=>{o.title=B},overlay:s("ul",{class:`${d}-menu`,onClick:()=>{o.title=!1}},[s("li",{class:`${d}-menu-item`,onClick:()=>{a("h1")}},[(x=t.value.titleItem)==null?void 0:x.h1]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("h2")}},[(E=t.value.titleItem)==null?void 0:E.h2]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("h3")}},[(S=t.value.titleItem)==null?void 0:S.h3]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("h4")}},[(z=t.value.titleItem)==null?void 0:z.h4]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("h5")}},[(R=t.value.titleItem)==null?void 0:R.h5]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("h6")}},[(F=t.value.titleItem)==null?void 0:F.h6])])},{default:()=>{var B;return[s("div",{class:`${d}-toolbar-item`,title:(B=t.value.toolbarTips)==null?void 0:B.title},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-title"},null)])])]}});case"sub":return s("div",{class:`${d}-toolbar-item`,title:(v=t.value.toolbarTips)==null?void 0:v.sub,onClick:()=>{a("sub")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-sub"},null)])]);case"sup":return s("div",{class:`${d}-toolbar-item`,title:(K=t.value.toolbarTips)==null?void 0:K.sup,onClick:()=>{a("sup")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-sup"},null)])]);case"quote":return s("div",{class:`${d}-toolbar-item`,title:(O=t.value.toolbarTips)==null?void 0:O.quote,onClick:()=>{a("quote")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-quote"},null)])]);case"unorderedList":return s("div",{class:`${d}-toolbar-item`,title:(H=t.value.toolbarTips)==null?void 0:H.unorderedList,onClick:()=>{a("unorderedList")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-unordered-list"},null)])]);case"orderedList":return s("div",{class:`${d}-toolbar-item`,title:(T=t.value.toolbarTips)==null?void 0:T.orderedList,onClick:()=>{a("orderedList")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-ordered-list"},null)])]);case"task":return s("div",{class:`${d}-toolbar-item`,title:(k=t.value.toolbarTips)==null?void 0:k.task,onClick:()=>{a("task")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-task"},null)])]);case"codeRow":return s("div",{class:`${d}-toolbar-item`,title:($=t.value.toolbarTips)==null?void 0:$.codeRow,onClick:()=>{a("codeRow")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-code-row"},null)])]);case"code":return s("div",{class:`${d}-toolbar-item`,title:(D=t.value.toolbarTips)==null?void 0:D.code,onClick:()=>{a("code")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-code"},null)])]);case"link":return s("div",{class:`${d}-toolbar-item`,title:(L=t.value.toolbarTips)==null?void 0:L.link,onClick:()=>{r.type="link",r.linkVisible=!0}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-link"},null)])]);case"image":return l.noUploadImg?s("div",{class:`${d}-toolbar-item`,title:(j=t.value.toolbarTips)==null?void 0:j.image,onClick:()=>{r.type="image",r.linkVisible=!0}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-image"},null)])]):s(Ce,{relative:`#${i}`,visible:o.image,onChange:B=>{o.image=B},overlay:s("ul",{class:`${d}-menu`,onClick:()=>{o.title=!1}},[s("li",{class:`${d}-menu-item`,onClick:()=>{r.type="image",r.linkVisible=!0}},[(Y=t.value.imgTitleItem)==null?void 0:Y.link]),s("li",{class:`${d}-menu-item`,onClick:()=>{c.value.click()}},[(ae=t.value.imgTitleItem)==null?void 0:ae.upload]),s("li",{class:`${d}-menu-item`,onClick:()=>{r.clipVisible=!0}},[(ee=t.value.imgTitleItem)==null?void 0:ee.clip2upload])])},{default:()=>{var B;return[s("div",{class:`${d}-toolbar-item`,title:(B=t.value.toolbarTips)==null?void 0:B.image},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-image"},null)])])]}});case"table":return s(Ce,{relative:`#${i}`,visible:o.table,onChange:B=>{o.table=B},key:"bar-table",overlay:s(el,{tableShape:l.tableShape,onSelected:B=>{a("table",{selectedShape:B})}},null)},{default:()=>{var B;return[s("div",{class:`${d}-toolbar-item`,title:(B=t.value.toolbarTips)==null?void 0:B.table},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-table"},null)])])]}});case"revoke":return s("div",{class:`${d}-toolbar-item`,title:(be=t.value.toolbarTips)==null?void 0:be.revoke,onClick:()=>{b.emit(e,"ctrlZ")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-revoke"},null)])]);case"next":return s("div",{class:`${d}-toolbar-item`,title:(je=t.value.toolbarTips)==null?void 0:je.next,onClick:()=>{b.emit(e,"ctrlShiftZ")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-next"},null)])]);case"save":return s("div",{class:`${d}-toolbar-item`,title:(Oe=t.value.toolbarTips)==null?void 0:Oe.save,onClick:()=>{b.emit(e,Ye)}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-baocun"},null)])]);case"prettier":return l.noPrettier?"":s("div",{class:`${d}-toolbar-item`,title:(He=t.value.toolbarTips)==null?void 0:He.prettier,onClick:()=>{a("prettier")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-prettier"},null)])]);case"pageFullscreen":return!l.setting.fullscreen&&s("div",{class:`${d}-toolbar-item`,title:(me=t.value.toolbarTips)==null?void 0:me.pageFullscreen,onClick:()=>{l.updateSetting("pageFullscreen")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":`#md-editor-icon-${l.setting.pageFullscreen?"suoxiao":"fangda"}`},null)])]);case"fullscreen":return s("div",{class:`${d}-toolbar-item`,title:(Be=t.value.toolbarTips)==null?void 0:Be.fullscreen,onClick:()=>{n()}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":`#md-editor-icon-${l.setting.fullscreen?"fullscreen-exit":"fullscreen"}`},null)])]);case"preview":return s("div",{class:`${d}-toolbar-item`,title:(Me=t.value.toolbarTips)==null?void 0:Me.preview,onClick:()=>{l.updateSetting("preview")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-preview"},null)])]);case"htmlPreview":return s("div",{class:`${d}-toolbar-item`,title:(fe=t.value.toolbarTips)==null?void 0:fe.htmlPreview,onClick:()=>{l.updateSetting("htmlPreview")}},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-coding"},null)])]);case"catalog":return s("div",{class:`${d}-toolbar-item`,title:(Ne=t.value.toolbarTips)==null?void 0:Ne.catalog,onClick:()=>{b.emit(e,at)},key:"bar-catalog"},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-catalog"},null)])]);case"github":return s("div",{class:`${d}-toolbar-item`,title:(qe=t.value.toolbarTips)==null?void 0:qe.github,onClick:()=>In("https://github.com/imzbf/md-editor-v3")},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-github"},null)])]);case"mermaid":return s(Ce,{relative:`#${i}`,visible:o.mermaid,onChange:B=>{o.mermaid=B},overlay:s("ul",{class:`${d}-menu`,onClick:()=>{o.mermaid=!1}},[s("li",{class:`${d}-menu-item`,onClick:()=>{a("flow")}},[(ke=t.value.mermaid)==null?void 0:ke.flow]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("sequence")}},[(ye=t.value.mermaid)==null?void 0:ye.sequence]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("gantt")}},[(Ue=t.value.mermaid)==null?void 0:Ue.gantt]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("class")}},[(Ve=t.value.mermaid)==null?void 0:Ve.class]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("state")}},[(we=t.value.mermaid)==null?void 0:we.state]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("pie")}},[(Ke=t.value.mermaid)==null?void 0:Ke.pie]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("relationship")}},[(Ze=t.value.mermaid)==null?void 0:Ze.relationship]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("journey")}},[(Ee=t.value.mermaid)==null?void 0:Ee.journey])]),key:"bar-mermaid"},{default:()=>{var B;return[s("div",{class:`${d}-toolbar-item`,title:(B=t.value.toolbarTips)==null?void 0:B.mermaid},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-mermaid"},null)])])]}});case"katex":return s(Ce,{relative:`#${i}`,visible:o.katex,onChange:B=>{o.katex=B},overlay:s("ul",{class:`${d}-menu`,onClick:()=>{o.katex=!1}},[s("li",{class:`${d}-menu-item`,onClick:()=>{a("katexInline")}},[(dt=t.value.katex)==null?void 0:dt.inline]),s("li",{class:`${d}-menu-item`,onClick:()=>{a("katexBlock")}},[(mt=t.value.katex)==null?void 0:mt.block])]),key:"bar-katex"},{default:()=>{var B;return[s("div",{class:`${d}-toolbar-item`,title:(B=t.value.toolbarTips)==null?void 0:B.katex},[s("svg",{class:`${d}-icon`,"aria-hidden":"true"},[s("use",{"xlink:href":"#md-editor-icon-formula"},null)])])]}})}else return l.defToolbars instanceof Array?l.defToolbars[p]||"":l.defToolbars&&l.defToolbars.children instanceof Array&&l.defToolbars.children[p]||""};return()=>{const p=u.value[0].map(C=>f(C)),w=u.value[1].map(C=>f(C));return s(Pe,null,[l.toolbars.length>0&&s("div",{class:`${d}-toolbar-wrapper`,id:i},[s("div",{class:`${d}-toolbar`},[s("div",{class:`${d}-toolbar-left`,ref:m},[p]),s("div",{class:`${d}-toolbar-right`},[w])])]),s("input",{ref:c,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),s(Qn,{linkVisible:r.linkVisible,clipVisible:r.clipVisible,type:r.type,onCancel:()=>{r.linkVisible=!1,r.clipVisible=!1},onOk:C=>{C&&a(r.type,{desc:C.desc,url:C.url}),r.linkVisible=!1,r.clipVisible=!1}},null)])}}});function Kt(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let _e=Kt();function ll(l){_e=l}const Zt=/[&<>"']/,il=new RegExp(Zt.source,"g"),Gt=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ol=new RegExp(Gt.source,"g"),rl={"&":"&","<":"<",">":">",'"':""","'":"'"},Ft=l=>rl[l];function X(l,e){if(e){if(Zt.test(l))return l.replace(il,Ft)}else if(Gt.test(l))return l.replace(ol,Ft);return l}const al=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Wt(l){return l.replace(al,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const sl=/(^|[^\[])\^/g;function N(l,e){l=typeof l=="string"?l:l.source,e=e||"";const t={replace:(n,i)=>(i=i.source||i,i=i.replace(sl,"$1"),l=l.replace(n,i),t),getRegex:()=>new RegExp(l,e)};return t}const cl=/[^\w:]/g,ul=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Lt(l,e,t){if(l){let n;try{n=decodeURIComponent(Wt(t)).replace(cl,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!ul.test(t)&&(t=pl(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const Ge={},dl=/^[^:]+:\/*[^/]*$/,ml=/^([^:]+:)[\s\S]*$/,hl=/^([^:]+:\/*[^/]*)[\s\S]*$/;function pl(l,e){Ge[" "+l]||(dl.test(l)?Ge[" "+l]=l+"/":Ge[" "+l]=Xe(l,"/",!0)),l=Ge[" "+l];const t=l.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:l.replace(ml,"$1")+e:e.charAt(0)==="/"?t?e:l.replace(hl,"$1")+e:l+e}const Je={exec:function(){}};function oe(l){let e=1,t,n;for(;e{let m=!1,u=a;for(;--u>=0&&r[u]==="\\";)m=!m;return m?"|":" |"}),n=t.split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length1;)e&1&&(t+=l),e>>=1,l+=l;return t+l}function Pt(l,e,t,n){const i=e.href,o=e.title?X(e.title):null,a=l[1].replace(/\\([\[\]])/g,"$1");if(l[0].charAt(0)!=="!"){n.state.inLink=!0;const r={type:"link",raw:t,href:i,title:o,text:a,tokens:n.inlineTokens(a)};return n.state.inLink=!1,r}return{type:"image",raw:t,href:i,title:o,text:X(a)}}function gl(l,e){const t=l.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(` `).map(i=>{const o=i.match(/^\s+/);if(o===null)return i;const[a]=o;return a.length>=n.length?i.slice(n.length):i}).join(` `)}class ct{constructor(e){this.options=e||_e}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Xe(n,` @@ -123,4 +123,4 @@ $$ - [ ] `:` - `;l.onChange(lt(e.value,y,{}))}else{const y=C==null?void 0:C.match(/\d+(?=\.)/),g=y&&Number(y[0])+1||1,x=/^\d\.\s+\[[x\s]\]/.test(C)?` ${g}. [ ] `:` -${g}. `;l.onChange(lt(e.value,x,{}))}}}),b.on(i,{name:"replace",callback(r,m={}){l.onChange(Il(r,o.value,e.value,Le(Q({},m),{tabWidth:n,editorId:i})))}}))}),M(()=>l.value,()=>{o.value=""}),b.on(i,{name:"selectTextChange",callback(){o.value=Ln(e.value)}})},jl=l=>{const e=P("theme"),{editorExtensions:t}=W,n=t==null?void 0:t.mermaid,i=J({reRender:!1,mermaidInited:!!(n!=null&&n.instance)}),o=()=>{l.noMermaid||(n!=null&&n.instance?n.instance.initialize({theme:e.value==="dark"?"dark":"default"}):window.mermaid&&window.mermaid.initialize({theme:e.value==="dark"?"dark":"default"}),i.reRender=!i.reRender)};M(()=>e.value,o);let a;return Z(()=>{!l.noMermaid&&!(n!=null&&n.instance)?(a=document.createElement("script"),a.src=(n==null?void 0:n.js)||Sn,a.onload=()=>{window.mermaid.initialize({theme:e.value==="dark"?"dark":"default",logLevel:"Fatal"}),i.mermaidInited=!0},a.id=`${d}-mermaid`,ne(a,"mermaid")):l.noMermaid||o()}),i},Ol=(l,e)=>{const t=P("editorId"),n=P("previewOnly"),i=o=>{if(o.clipboardData){if(o.clipboardData.files.length>0){const{files:a}=o.clipboardData;b.emit(t,"uploadImage",Array.from(a).filter(r=>/image\/.*/.test(r.type))),o.preventDefault()}if(l.autoDetectCode&&o.clipboardData.types.includes("vscode-editor-data")){const a=JSON.parse(o.clipboardData.getData("vscode-editor-data"));b.emit(t,"replace","code",{mode:a.mode,text:o.clipboardData.getData("text/plain")}),o.preventDefault()}}};Z(()=>{n||e.value.addEventListener("paste",i)}),Re(()=>{n||e.value.removeEventListener("paste",i)})},Hl=(l,e)=>{const t=P("editorId"),n=tt(()=>{const i=document.querySelectorAll(`#${t}-preview img[zoom]`);i.length!==0&&zl(i,{background:"#00000073"})});Z(n),M([e,Fe(l.setting,"preview")],n)},Bl=l=>{const e=P("editorId");b.on(e,{name:Vt,callback(){var t;(t=l.value)==null||t.focus()}})},Ml=()=>({value:{type:String,default:""},onChange:{type:Function,default:()=>()=>{}},setting:{type:Object,default:()=>({})},onHtmlChanged:{type:Function,default:()=>()=>{}},onGetCatalog:{type:Function,default:()=>()=>{}},markedHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:l=>l},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},scrollAuto:{type:Boolean},formatCopiedText:{type:Function,default:l=>l},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean}});var Nl=G({name:"MDEditorContent",props:Ml(),setup(l){const e=V(!0),t=P("previewOnly"),n=P("showCodeRowNumber"),i=P("previewTheme"),o=P("editorId"),a=V(),r=V(),m=V(),u=jl(l),{html:c}=Dl(l,u);return Rl(l,c,a,r,m),Pl(l,a),Ll(l,a,e),Ol(l,a),Hl(l,c),Bl(a),()=>{const h=Rn(l,["formatCopiedText","markedHeadingId","noKatex","noMermaid","onChange","onGetCatalog","onHtmlChanged","sanitize","scrollAuto","setting","autoDetectCode"]);return s(Pe,null,[s("div",{class:`${d}-content`},[!t&&s("div",{class:`${d}-input-wrapper`},[s("textarea",nn(h,{id:`${o}-textarea`,ref:a,onBlur:()=>{b.emit(o,"selectTextChange")},onKeydown:()=>{b.emit(o,"saveHistoryPos",!0)},onCompositionstart:()=>{e.value=!1},onInput:f=>{l.onChange(f.target.value)},onCompositionend:()=>{e.value=!0},class:[l.setting.preview||l.setting.htmlPreview?"":"textarea-only"]}),null)]),l.setting.preview&&s("div",{id:`${o}-preview-wrapper`,class:`${d}-preview-wrapper`,ref:r,key:"content-preview-wrapper"},[s("article",{id:`${o}-preview`,class:[`${d}-preview`,`${i==null?void 0:i.value}-theme`,n&&`${d}-scrn`],innerHTML:c.value},null)]),l.setting.htmlPreview&&s("div",{class:`${d}-preview-wrapper`,ref:m,key:"html-preview-wrapper"},[s("div",{class:`${d}-html`},[c.value])])])])}}}),ql=G({props:{modelValue:{type:String,default:""}},setup(l){const e=P("usedLanguageText");return()=>{var t,n;return s("div",{class:`${d}-footer-item`},[s("label",{class:`${d}-footer-label`},[`${(t=e.value.footer)==null?void 0:t.markdownTotal}:`]),s("span",null,[((n=l.modelValue)==null?void 0:n.length)||0])])}}});const Ul=()=>({checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}}});var Vl=G({props:Ul(),setup(l){return()=>s("div",{class:[`${d}-checkbox`,l.checked&&`${d}-checkbox-checked`],onClick:()=>{l.onChange(!l.checked)}},null)}});const Kl=()=>({scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>()=>{}}});var Zl=G({props:Kl(),setup(l){const e=P("usedLanguageText");return()=>{var t;return s("div",{class:`${d}-footer-item`},[s("label",{class:`${d}-footer-label`,onClick:()=>{l.onScrollAutoChange(!l.scrollAuto)}},[(t=e.value.footer)==null?void 0:t.scrollAuto]),s(Vl,{checked:l.scrollAuto,onChange:l.onScrollAutoChange},null)])}}});const Gl=()=>({modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>()=>{}},defFooters:{type:Object}});var Wl=G({name:"MDEditorFooter",props:Gl(),setup(l){const e=le(()=>{const n=l.footers.indexOf("="),i=n===-1?l.footers:l.footers.slice(0,n),o=n===-1?[]:l.footers.slice(n,Number.MAX_SAFE_INTEGER);return[i,o]}),t=n=>{if(qt.includes(n))switch(n){case"markdownTotal":return s(ql,{modelValue:l.modelValue},null);case"scrollSwitch":return s(Zl,{scrollAuto:l.scrollAuto,onScrollAutoChange:l.onScrollAutoChange},null)}else return l.defFooters instanceof Array?l.defFooters[n]||"":l.defFooters&&l.defFooters.children instanceof Array&&l.defFooters.children[n]||""};return()=>{const n=e.value[0].map(o=>t(o)),i=e.value[1].map(o=>t(o));return s("div",{class:`${d}-footer`},[s("div",{class:`${d}-footer-left`},[n]),s("div",{class:`${d}-footer-right`},[i])])}}});const Xl=()=>({tocItem:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:()=>()=>{}},scrollElement:{type:[String,Object],default:""},onClick:{type:Function,default:()=>()=>{}},scrollElementOffsetTop:{type:Number,default:0}}),en=G({props:Xl(),setup(l){return()=>{const{tocItem:e,markedHeadingId:t,scrollElement:n,onClick:i,scrollElementOffsetTop:o}=l;return s("div",{class:[`${d}-catalog-link`,e.active&&`${d}-catalog-active`],onClick:a=>{i(a,e),a.stopPropagation();const r=t(e.text,e.level,e.index),m=document.getElementById(r),u=n instanceof Element?n:document.querySelector(n);if(m&&u){let c=m.offsetParent,h=m.offsetTop;if(u.contains(c))for(;c&&u!=c;)h+=c==null?void 0:c.offsetTop,c=c==null?void 0:c.offsetParent;u==null||u.scrollTo({top:h-o,behavior:"smooth"})}}},[s("span",{title:e.text},[e.text]),s("div",{class:`${d}-catalog-wrapper`},[e.children&&e.children.map(a=>s(en,{markedHeadingId:t,key:`${e.text}-link-${a.level}-${a.text}`,tocItem:a,scrollElement:n,onClick:i,scrollElementOffsetTop:o},null))])])}}}),Ql=()=>({editorId:{type:String},class:{type:String,default:""},markedHeadingId:{type:Function,default:l=>l},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0}}),et=G({name:"MdCatalog",props:Ql(),emits:["onClick"],setup(l,e){const t=l.editorId,n=J({list:[],show:!1,scrollElement:l.scrollElement||`#${t}-preview-wrapper`}),i=le(()=>{const o=[];return n.list.forEach(({text:a,level:r,active:m},u)=>{const c={level:r,text:a,index:u+1,active:!!m};if(o.length===0)o.push(c);else{let h=o[o.length-1];if(c.level>h.level)for(let f=h.level+1;f<=6;f++){const{children:p}=h;if(!p){h.children=[c];break}if(h=p[p.length-1],c.level<=h.level){p.push(c);break}}else o.push(c)}}),o});return Z(()=>{b.on(t,{name:"catalogChanged",callback:o=>{n.list=o.map((a,r)=>r===0?Le(Q({},a),{active:!0}):Q({},a))}}),b.emit(t,"pushCatalog")}),Z(()=>{var o;const a=n.scrollElement instanceof HTMLElement?n.scrollElement:document.querySelector(n.scrollElement);(o=a===document.documentElement?window:a)==null||o.addEventListener("scroll",Fn(()=>{if(n.list.length===0)return!1;const{activeHead:r}=n.list.reduce((m,u,c)=>{const h=document.getElementById(l.markedHeadingId(u.text,u.level,c+1));if(h instanceof HTMLElement){const f=Dn(h,a);if(fm.minTop)return{activeHead:u,minTop:f}}return m},{activeHead:n.list[0],minTop:Number.MIN_SAFE_INTEGER});n.list=n.list.map(m=>m===r?Le(Q({},m),{active:!0}):Le(Q({},m),{active:!1}))}))}),()=>s("div",{class:`${d}-catalog${l.theme==="dark"?"-dark":""} ${l.class}`},[i.value.map(o=>s(en,{markedHeadingId:l.markedHeadingId,tocItem:o,key:`link-${o.level}-${o.text}`,scrollElement:n.scrollElement,onClick:(a,r)=>{e.emit("onClick",a,r)},scrollElementOffsetTop:l.scrollElementOffsetTop},null))])}}),Yl=()=>({modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},historyLength:{type:Number,default:10},onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},language:{type:String,default:"zh-CN"},toolbars:{type:Array,default:Nt},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:$n},tabWidth:{type:Number,default:2},showCodeRowNumber:{type:Boolean,default:!1},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:Jl},tableShape:{type:Array,default:()=>[6,4]},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:l=>l},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},defToolbars:{type:[String,Object]},onError:{type:Function},codeTheme:{type:String,default:"atom"},footers:{type:Array,default:qt},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object]},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:l=>l},noUploadImg:{type:Boolean},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},autoFocus:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},maxLength:{type:Number},autoDetectCode:{type:Boolean}}),Jl=l=>l,ue=G({name:"MdEditorV3",props:Yl(),emits:["onChange","onSave","onUploadImg","onHtmlChanged","onGetCatalog","onError","update:modelValue"],setup(l,e){const{editorId:t,previewOnly:n,noKatex:i,noMermaid:o,noPrettier:a,noUploadImg:r}=l,m=J({scrollAuto:l.scrollAuto});jn(l,e),On(l),Hn(l);const[u,c]=Bn(l,e),[h,f]=Mn(l);return Re(()=>{b.clear(t)}),Nn(l,e,h,u,c),()=>{var p;const w=ie({props:l,ctx:e},"defToolbars"),C=ie({props:l,ctx:e},"defFooters");return s("div",{id:t,class:[d,l.class,l.theme==="dark"&&`${d}-dark`,u.fullscreen||u.pageFullscreen?`${d}-fullscreen`:"",n&&`${d}-previewOnly`],style:l.style},[!n&&s(nl,{noPrettier:a,toolbars:l.toolbars,toolbarsExclude:l.toolbarsExclude,setting:u,updateSetting:c,tableShape:l.tableShape,defToolbars:w,noUploadImg:r},null),s(Nl,{value:l.modelValue,onChange:y=>{b.emit(t,"saveHistoryPos"),l.onChange?l.onChange(y):(e.emit("update:modelValue",y),e.emit("onChange",y))},setting:u,onHtmlChanged:y=>{l.onHtmlChanged?l.onHtmlChanged(y):e.emit("onHtmlChanged",y)},onGetCatalog:y=>{l.onGetCatalog?l.onGetCatalog(y):e.emit("onGetCatalog",y)},markedHeadingId:l.markedHeadingId,noMermaid:o,sanitize:l.sanitize,placeholder:l.placeholder,noKatex:i,scrollAuto:m.scrollAuto,formatCopiedText:l.formatCopiedText,autofocus:l.autoFocus,disabled:l.disabled,readonly:l.readOnly,maxlength:l.maxLength,autoDetectCode:l.autoDetectCode},null),!n&&((p=l.footers)==null?void 0:p.length)>0&&s(Wl,{modelValue:l.modelValue,footers:l.footers,defFooters:C,scrollAuto:m.scrollAuto,onScrollAutoChange:y=>m.scrollAuto=y},null),f.value&&!n&&s(et,{theme:l.theme,style:{display:h.value?"block":"none"},class:`${d}-catalog-editor`,editorId:t,markedHeadingId:l.markedHeadingId},null)])}}}),ei=()=>({title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function}});var it=G({name:"NormalToolbar",props:ei(),emits:["onClick"],setup(l,e){return()=>{const t=ie({props:l,ctx:e},"trigger");return s("div",{class:`${d}-toolbar-item`,title:l.title,onClick:n=>{l.onClick instanceof Function?l.onClick(n):e.emit("onClick",n)}},[t])}}});const ti=()=>({title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]}});var ot=G({name:"DropdownToolbar",props:ti(),emits:["onChange"],setup(l,e){const t=P("editorId");return()=>{const n=ie({props:l,ctx:e},"trigger"),i=ie({props:l,ctx:e},"overlay");return s(Ce,{relative:`#${t}-toolbar-wrapper`,visible:l.visible,onChange:o=>{l.onChange instanceof Function?l.onChange(o):e.emit("onChange",o)},overlay:i},{default:()=>[s("div",{class:`${d}-toolbar-item`,title:l.title||""},[n])]})}}});function ni(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!ln(l)}const li=()=>({title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function}});var rt=G({name:"ModalToolbar",props:li(),emits:["onClick","onClose","onAdjust"],setup(l,e){return()=>{const t=ie({props:l,ctx:e},"trigger"),n=ie({props:l,ctx:e},"default");return s(Pe,null,[s("div",{class:`${d}-toolbar-item`,title:l.title,onClick:()=>{l.onClick instanceof Function?l.onClick():e.emit("onClick")}},[t]),s(st,{width:l.width,height:l.height,title:l.modalTitle,visible:l.visible,onClose:()=>{l.onClose instanceof Function?l.onClose():e.emit("onClose")},showAdjust:l.showAdjust,isFullscreen:l.isFullscreen,onAdjust:i=>{l.onAdjust instanceof Function?l.onAdjust(i):e.emit("onAdjust",i)}},ni(n)?n:{default:()=>[n]})])}}});ue.install=l=>(l.component(ue.name,ue),l.component(it.name,it),l.component(ot.name,ot),l.component(et.name,et),l.component(rt.name,rt),l);ue.NormalToolbar=it;ue.DropdownToolbar=ot;ue.MdCatalog=et;ue.ModalToolbar=rt;ue.config=Tn;const ii=G({name:"Welcome",__name:"index",setup(l){const e=V(),t=V(!0),{version:n}={dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.6","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.7","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.4.0"},i=le(()=>["text-base","font-medium"]),{height:o}=on();return setTimeout(()=>{t.value=!t.value},800),fn().then(({data:a})=>{e.value=a.list.map(r=>({content:r.body,timestamp:rn(r.published_at).format("YYYY/MM/DD hh:mm:ss A"),icon:an(vn({background:sn({type:"hex"})}))}))}),(a,r)=>{const m=he("el-timeline-item"),u=he("el-timeline"),c=he("el-empty"),h=he("el-scrollbar"),f=he("el-skeleton"),p=he("el-card"),w=he("el-col"),C=he("el-row"),y=cn("motion");return pe(),ht("div",null,[s(C,{gutter:24},{default:q(()=>[ge((pe(),xe(w,{xs:24,sm:24,md:12,lg:12,xl:12,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:q(()=>[s(p,{shadow:"never",style:pt({height:`calc(${te(o)}px - 35vh - 250px)`})},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/pure-admin/vue-pure-admin/releases",target:"_black"},[s(te(ze),{className:"type-it2",values:[`PureAdmin 版本日志(当前版本 v${te(n)})`],cursor:!1,speed:60},null,8,["values"])],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(h,{height:`calc(${te(o)}px - 35vh - 340px)`},{default:q(()=>{var g,x;return[ge(s(u,null,{default:q(()=>[(pe(!0),ht(Pe,null,un(e.value,(E,S)=>(pe(),xe(m,{key:S,icon:E.icon,timestamp:E.timestamp},{default:q(()=>[s(te(ue),{modelValue:E.content,"onUpdate:modelValue":z=>E.content=z,"preview-only":""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["icon","timestamp"]))),128))]),_:1},512),[[ft,((g=e.value)==null?void 0:g.length)>0]]),ge(s(c,null,null,512),[[ft,((x=e.value)==null?void 0:x.length)===0]])]}),_:1},8,["height"])]),_:1},8,["loading"])]),_:1},8,["style"])]),_:1})),[[y]]),ge((pe(),xe(w,{xs:24,sm:24,md:12,lg:12,xl:12,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:q(()=>[s(p,{shadow:"never",style:pt({height:`calc(${te(o)}px - 35vh - 250px)`})},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/xiaoxian521",target:"_black"},[s(te(ze),{className:"type-it1",values:["GitHub信息"],cursor:!1,speed:120})],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(h,{height:`calc(${te(o)}px - 35vh - 340px)`},{default:q(()=>[s(gn)]),_:1},8,["height"])]),_:1},8,["loading"])]),_:1},8,["style"])]),_:1})),[[y]]),ge((pe(),xe(w,{xs:24,sm:24,md:12,lg:8,xl:8,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:400}}},{default:q(()=>[s(p,{shadow:"never"},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/pure-admin/vue-pure-admin",target:"_black"},[s(te(ze),{className:"type-it4",values:["GitHub折线图信息"],cursor:!1,speed:120})],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(pn)]),_:1},8,["loading"])]),_:1})]),_:1})),[[y]]),ge((pe(),xe(w,{xs:24,sm:24,md:12,lg:8,xl:8,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:400}}},{default:q(()=>[s(p,{shadow:"never"},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/pure-admin/vue-pure-admin",target:"_black"},[s(te(ze),{className:"type-it3",values:["GitHub饼图信息"],cursor:!1,speed:120})],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(hn)]),_:1},8,["loading"])]),_:1})]),_:1})),[[y]]),ge((pe(),xe(w,{xs:24,sm:24,md:24,lg:8,xl:8,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:400}}},{default:q(()=>[s(p,{shadow:"never"},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/pure-admin/vue-pure-admin",target:"_black"},[s(te(ze),{className:"type-it5",values:["GitHub柱状图信息"],cursor:!1,speed:120})],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(mn)]),_:1},8,["loading"])]),_:1})]),_:1})),[[y]])]),_:1})])}}});const bi=dn(ii,[["__scopeId","data-v-1d934bf1"]]);export{bi as default}; +${g}. `;l.onChange(lt(e.value,x,{}))}}}),b.on(i,{name:"replace",callback(r,m={}){l.onChange(Il(r,o.value,e.value,Le(Q({},m),{tabWidth:n,editorId:i})))}}))}),M(()=>l.value,()=>{o.value=""}),b.on(i,{name:"selectTextChange",callback(){o.value=Ln(e.value)}})},jl=l=>{const e=P("theme"),{editorExtensions:t}=W,n=t==null?void 0:t.mermaid,i=J({reRender:!1,mermaidInited:!!(n!=null&&n.instance)}),o=()=>{l.noMermaid||(n!=null&&n.instance?n.instance.initialize({theme:e.value==="dark"?"dark":"default"}):window.mermaid&&window.mermaid.initialize({theme:e.value==="dark"?"dark":"default"}),i.reRender=!i.reRender)};M(()=>e.value,o);let a;return Z(()=>{!l.noMermaid&&!(n!=null&&n.instance)?(a=document.createElement("script"),a.src=(n==null?void 0:n.js)||Sn,a.onload=()=>{window.mermaid.initialize({theme:e.value==="dark"?"dark":"default",logLevel:"Fatal"}),i.mermaidInited=!0},a.id=`${d}-mermaid`,ne(a,"mermaid")):l.noMermaid||o()}),i},Ol=(l,e)=>{const t=P("editorId"),n=P("previewOnly"),i=o=>{if(o.clipboardData){if(o.clipboardData.files.length>0){const{files:a}=o.clipboardData;b.emit(t,"uploadImage",Array.from(a).filter(r=>/image\/.*/.test(r.type))),o.preventDefault()}if(l.autoDetectCode&&o.clipboardData.types.includes("vscode-editor-data")){const a=JSON.parse(o.clipboardData.getData("vscode-editor-data"));b.emit(t,"replace","code",{mode:a.mode,text:o.clipboardData.getData("text/plain")}),o.preventDefault()}}};Z(()=>{n||e.value.addEventListener("paste",i)}),Re(()=>{n||e.value.removeEventListener("paste",i)})},Hl=(l,e)=>{const t=P("editorId"),n=tt(()=>{const i=document.querySelectorAll(`#${t}-preview img[zoom]`);i.length!==0&&zl(i,{background:"#00000073"})});Z(n),M([e,Fe(l.setting,"preview")],n)},Bl=l=>{const e=P("editorId");b.on(e,{name:Vt,callback(){var t;(t=l.value)==null||t.focus()}})},Ml=()=>({value:{type:String,default:""},onChange:{type:Function,default:()=>()=>{}},setting:{type:Object,default:()=>({})},onHtmlChanged:{type:Function,default:()=>()=>{}},onGetCatalog:{type:Function,default:()=>()=>{}},markedHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:l=>l},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},scrollAuto:{type:Boolean},formatCopiedText:{type:Function,default:l=>l},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean}});var Nl=G({name:"MDEditorContent",props:Ml(),setup(l){const e=V(!0),t=P("previewOnly"),n=P("showCodeRowNumber"),i=P("previewTheme"),o=P("editorId"),a=V(),r=V(),m=V(),u=jl(l),{html:c}=Dl(l,u);return Rl(l,c,a,r,m),Pl(l,a),Ll(l,a,e),Ol(l,a),Hl(l,c),Bl(a),()=>{const h=Rn(l,["formatCopiedText","markedHeadingId","noKatex","noMermaid","onChange","onGetCatalog","onHtmlChanged","sanitize","scrollAuto","setting","autoDetectCode"]);return s(Pe,null,[s("div",{class:`${d}-content`},[!t&&s("div",{class:`${d}-input-wrapper`},[s("textarea",nn(h,{id:`${o}-textarea`,ref:a,onBlur:()=>{b.emit(o,"selectTextChange")},onKeydown:()=>{b.emit(o,"saveHistoryPos",!0)},onCompositionstart:()=>{e.value=!1},onInput:f=>{l.onChange(f.target.value)},onCompositionend:()=>{e.value=!0},class:[l.setting.preview||l.setting.htmlPreview?"":"textarea-only"]}),null)]),l.setting.preview&&s("div",{id:`${o}-preview-wrapper`,class:`${d}-preview-wrapper`,ref:r,key:"content-preview-wrapper"},[s("article",{id:`${o}-preview`,class:[`${d}-preview`,`${i==null?void 0:i.value}-theme`,n&&`${d}-scrn`],innerHTML:c.value},null)]),l.setting.htmlPreview&&s("div",{class:`${d}-preview-wrapper`,ref:m,key:"html-preview-wrapper"},[s("div",{class:`${d}-html`},[c.value])])])])}}}),ql=G({props:{modelValue:{type:String,default:""}},setup(l){const e=P("usedLanguageText");return()=>{var t,n;return s("div",{class:`${d}-footer-item`},[s("label",{class:`${d}-footer-label`},[`${(t=e.value.footer)==null?void 0:t.markdownTotal}:`]),s("span",null,[((n=l.modelValue)==null?void 0:n.length)||0])])}}});const Ul=()=>({checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}}});var Vl=G({props:Ul(),setup(l){return()=>s("div",{class:[`${d}-checkbox`,l.checked&&`${d}-checkbox-checked`],onClick:()=>{l.onChange(!l.checked)}},null)}});const Kl=()=>({scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>()=>{}}});var Zl=G({props:Kl(),setup(l){const e=P("usedLanguageText");return()=>{var t;return s("div",{class:`${d}-footer-item`},[s("label",{class:`${d}-footer-label`,onClick:()=>{l.onScrollAutoChange(!l.scrollAuto)}},[(t=e.value.footer)==null?void 0:t.scrollAuto]),s(Vl,{checked:l.scrollAuto,onChange:l.onScrollAutoChange},null)])}}});const Gl=()=>({modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>()=>{}},defFooters:{type:Object}});var Wl=G({name:"MDEditorFooter",props:Gl(),setup(l){const e=le(()=>{const n=l.footers.indexOf("="),i=n===-1?l.footers:l.footers.slice(0,n),o=n===-1?[]:l.footers.slice(n,Number.MAX_SAFE_INTEGER);return[i,o]}),t=n=>{if(qt.includes(n))switch(n){case"markdownTotal":return s(ql,{modelValue:l.modelValue},null);case"scrollSwitch":return s(Zl,{scrollAuto:l.scrollAuto,onScrollAutoChange:l.onScrollAutoChange},null)}else return l.defFooters instanceof Array?l.defFooters[n]||"":l.defFooters&&l.defFooters.children instanceof Array&&l.defFooters.children[n]||""};return()=>{const n=e.value[0].map(o=>t(o)),i=e.value[1].map(o=>t(o));return s("div",{class:`${d}-footer`},[s("div",{class:`${d}-footer-left`},[n]),s("div",{class:`${d}-footer-right`},[i])])}}});const Xl=()=>({tocItem:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:()=>()=>{}},scrollElement:{type:[String,Object],default:""},onClick:{type:Function,default:()=>()=>{}},scrollElementOffsetTop:{type:Number,default:0}}),en=G({props:Xl(),setup(l){return()=>{const{tocItem:e,markedHeadingId:t,scrollElement:n,onClick:i,scrollElementOffsetTop:o}=l;return s("div",{class:[`${d}-catalog-link`,e.active&&`${d}-catalog-active`],onClick:a=>{i(a,e),a.stopPropagation();const r=t(e.text,e.level,e.index),m=document.getElementById(r),u=n instanceof Element?n:document.querySelector(n);if(m&&u){let c=m.offsetParent,h=m.offsetTop;if(u.contains(c))for(;c&&u!=c;)h+=c==null?void 0:c.offsetTop,c=c==null?void 0:c.offsetParent;u==null||u.scrollTo({top:h-o,behavior:"smooth"})}}},[s("span",{title:e.text},[e.text]),s("div",{class:`${d}-catalog-wrapper`},[e.children&&e.children.map(a=>s(en,{markedHeadingId:t,key:`${e.text}-link-${a.level}-${a.text}`,tocItem:a,scrollElement:n,onClick:i,scrollElementOffsetTop:o},null))])])}}}),Ql=()=>({editorId:{type:String},class:{type:String,default:""},markedHeadingId:{type:Function,default:l=>l},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0}}),et=G({name:"MdCatalog",props:Ql(),emits:["onClick"],setup(l,e){const t=l.editorId,n=J({list:[],show:!1,scrollElement:l.scrollElement||`#${t}-preview-wrapper`}),i=le(()=>{const o=[];return n.list.forEach(({text:a,level:r,active:m},u)=>{const c={level:r,text:a,index:u+1,active:!!m};if(o.length===0)o.push(c);else{let h=o[o.length-1];if(c.level>h.level)for(let f=h.level+1;f<=6;f++){const{children:p}=h;if(!p){h.children=[c];break}if(h=p[p.length-1],c.level<=h.level){p.push(c);break}}else o.push(c)}}),o});return Z(()=>{b.on(t,{name:"catalogChanged",callback:o=>{n.list=o.map((a,r)=>r===0?Le(Q({},a),{active:!0}):Q({},a))}}),b.emit(t,"pushCatalog")}),Z(()=>{var o;const a=n.scrollElement instanceof HTMLElement?n.scrollElement:document.querySelector(n.scrollElement);(o=a===document.documentElement?window:a)==null||o.addEventListener("scroll",Fn(()=>{if(n.list.length===0)return!1;const{activeHead:r}=n.list.reduce((m,u,c)=>{const h=document.getElementById(l.markedHeadingId(u.text,u.level,c+1));if(h instanceof HTMLElement){const f=Dn(h,a);if(fm.minTop)return{activeHead:u,minTop:f}}return m},{activeHead:n.list[0],minTop:Number.MIN_SAFE_INTEGER});n.list=n.list.map(m=>m===r?Le(Q({},m),{active:!0}):Le(Q({},m),{active:!1}))}))}),()=>s("div",{class:`${d}-catalog${l.theme==="dark"?"-dark":""} ${l.class}`},[i.value.map(o=>s(en,{markedHeadingId:l.markedHeadingId,tocItem:o,key:`link-${o.level}-${o.text}`,scrollElement:n.scrollElement,onClick:(a,r)=>{e.emit("onClick",a,r)},scrollElementOffsetTop:l.scrollElementOffsetTop},null))])}}),Yl=()=>({modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},historyLength:{type:Number,default:10},onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},language:{type:String,default:"zh-CN"},toolbars:{type:Array,default:Nt},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:$n},tabWidth:{type:Number,default:2},showCodeRowNumber:{type:Boolean,default:!1},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:Jl},tableShape:{type:Array,default:()=>[6,4]},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:l=>l},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},defToolbars:{type:[String,Object]},onError:{type:Function},codeTheme:{type:String,default:"atom"},footers:{type:Array,default:qt},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object]},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:l=>l},noUploadImg:{type:Boolean},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},autoFocus:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},maxLength:{type:Number},autoDetectCode:{type:Boolean}}),Jl=l=>l,ue=G({name:"MdEditorV3",props:Yl(),emits:["onChange","onSave","onUploadImg","onHtmlChanged","onGetCatalog","onError","update:modelValue"],setup(l,e){const{editorId:t,previewOnly:n,noKatex:i,noMermaid:o,noPrettier:a,noUploadImg:r}=l,m=J({scrollAuto:l.scrollAuto});jn(l,e),On(l),Hn(l);const[u,c]=Bn(l,e),[h,f]=Mn(l);return Re(()=>{b.clear(t)}),Nn(l,e,h,u,c),()=>{var p;const w=ie({props:l,ctx:e},"defToolbars"),C=ie({props:l,ctx:e},"defFooters");return s("div",{id:t,class:[d,l.class,l.theme==="dark"&&`${d}-dark`,u.fullscreen||u.pageFullscreen?`${d}-fullscreen`:"",n&&`${d}-previewOnly`],style:l.style},[!n&&s(nl,{noPrettier:a,toolbars:l.toolbars,toolbarsExclude:l.toolbarsExclude,setting:u,updateSetting:c,tableShape:l.tableShape,defToolbars:w,noUploadImg:r},null),s(Nl,{value:l.modelValue,onChange:y=>{b.emit(t,"saveHistoryPos"),l.onChange?l.onChange(y):(e.emit("update:modelValue",y),e.emit("onChange",y))},setting:u,onHtmlChanged:y=>{l.onHtmlChanged?l.onHtmlChanged(y):e.emit("onHtmlChanged",y)},onGetCatalog:y=>{l.onGetCatalog?l.onGetCatalog(y):e.emit("onGetCatalog",y)},markedHeadingId:l.markedHeadingId,noMermaid:o,sanitize:l.sanitize,placeholder:l.placeholder,noKatex:i,scrollAuto:m.scrollAuto,formatCopiedText:l.formatCopiedText,autofocus:l.autoFocus,disabled:l.disabled,readonly:l.readOnly,maxlength:l.maxLength,autoDetectCode:l.autoDetectCode},null),!n&&((p=l.footers)==null?void 0:p.length)>0&&s(Wl,{modelValue:l.modelValue,footers:l.footers,defFooters:C,scrollAuto:m.scrollAuto,onScrollAutoChange:y=>m.scrollAuto=y},null),f.value&&!n&&s(et,{theme:l.theme,style:{display:h.value?"block":"none"},class:`${d}-catalog-editor`,editorId:t,markedHeadingId:l.markedHeadingId},null)])}}}),ei=()=>({title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function}});var it=G({name:"NormalToolbar",props:ei(),emits:["onClick"],setup(l,e){return()=>{const t=ie({props:l,ctx:e},"trigger");return s("div",{class:`${d}-toolbar-item`,title:l.title,onClick:n=>{l.onClick instanceof Function?l.onClick(n):e.emit("onClick",n)}},[t])}}});const ti=()=>({title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]}});var ot=G({name:"DropdownToolbar",props:ti(),emits:["onChange"],setup(l,e){const t=P("editorId");return()=>{const n=ie({props:l,ctx:e},"trigger"),i=ie({props:l,ctx:e},"overlay");return s(Ce,{relative:`#${t}-toolbar-wrapper`,visible:l.visible,onChange:o=>{l.onChange instanceof Function?l.onChange(o):e.emit("onChange",o)},overlay:i},{default:()=>[s("div",{class:`${d}-toolbar-item`,title:l.title||""},[n])]})}}});function ni(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!ln(l)}const li=()=>({title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function}});var rt=G({name:"ModalToolbar",props:li(),emits:["onClick","onClose","onAdjust"],setup(l,e){return()=>{const t=ie({props:l,ctx:e},"trigger"),n=ie({props:l,ctx:e},"default");return s(Pe,null,[s("div",{class:`${d}-toolbar-item`,title:l.title,onClick:()=>{l.onClick instanceof Function?l.onClick():e.emit("onClick")}},[t]),s(st,{width:l.width,height:l.height,title:l.modalTitle,visible:l.visible,onClose:()=>{l.onClose instanceof Function?l.onClose():e.emit("onClose")},showAdjust:l.showAdjust,isFullscreen:l.isFullscreen,onAdjust:i=>{l.onAdjust instanceof Function?l.onAdjust(i):e.emit("onAdjust",i)}},ni(n)?n:{default:()=>[n]})])}}});ue.install=l=>(l.component(ue.name,ue),l.component(it.name,it),l.component(ot.name,ot),l.component(et.name,et),l.component(rt.name,rt),l);ue.NormalToolbar=it;ue.DropdownToolbar=ot;ue.MdCatalog=et;ue.ModalToolbar=rt;ue.config=Tn;const ii=G({name:"Welcome",__name:"index",setup(l){const e=V(),t=V(!0),{version:n}={dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.9","@logicflow/extension":"^1.2.9","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.3.2","@pureadmin/utils":"^1.9.6","@vueuse/core":"^10.2.0","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.8",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.7","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2","mint-filter":"^4.0.3",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.4","pinyin-pro":"^3.15.2",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.4.1",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.7",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.2","vue-tippy":"^6.2.0","vue-types":"^5.1.0","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",vuedraggable:"^4.1.0",xgplayer:"^3.0.4",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.9","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.11.0","@pureadmin/theme":"^3.1.0","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.16.18","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","@vitejs/plugin-vue":"^4.2.3","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.43.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.15.1",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.24","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.2",sass:"^1.63.6","sass-loader":"^13.3.2",stylelint:"^15.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.2.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^12.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.1",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.18.1",typescript:"5.0.4",vite:"^4.3.9","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.3.1","vue-tsc":"^1.8.1"},name:"vue-pure-admin",version:"4.5.0"},i=le(()=>["text-base","font-medium"]),{height:o}=on();return setTimeout(()=>{t.value=!t.value},800),fn().then(({data:a})=>{e.value=a.list.map(r=>({content:r.body,timestamp:rn(r.published_at).format("YYYY/MM/DD hh:mm:ss A"),icon:an(vn({background:sn({type:"hex"})}))}))}),(a,r)=>{const m=he("el-timeline-item"),u=he("el-timeline"),c=he("el-empty"),h=he("el-scrollbar"),f=he("el-skeleton"),p=he("el-card"),w=he("el-col"),C=he("el-row"),y=cn("motion");return pe(),ht("div",null,[s(C,{gutter:24},{default:q(()=>[ge((pe(),xe(w,{xs:24,sm:24,md:12,lg:12,xl:12,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:q(()=>[s(p,{shadow:"never",style:pt({height:`calc(${te(o)}px - 35vh - 250px)`})},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/pure-admin/vue-pure-admin/releases",target:"_black"},[s(te(ze),{className:"type-it2",values:[`PureAdmin 版本日志(当前版本 v${te(n)})`],cursor:!1,speed:60},null,8,["values"])],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(h,{height:`calc(${te(o)}px - 35vh - 340px)`},{default:q(()=>{var g,x;return[ge(s(u,null,{default:q(()=>[(pe(!0),ht(Pe,null,un(e.value,(E,S)=>(pe(),xe(m,{key:S,icon:E.icon,timestamp:E.timestamp},{default:q(()=>[s(te(ue),{modelValue:E.content,"onUpdate:modelValue":z=>E.content=z,"preview-only":""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["icon","timestamp"]))),128))]),_:1},512),[[ft,((g=e.value)==null?void 0:g.length)>0]]),ge(s(c,null,null,512),[[ft,((x=e.value)==null?void 0:x.length)===0]])]}),_:1},8,["height"])]),_:1},8,["loading"])]),_:1},8,["style"])]),_:1})),[[y]]),ge((pe(),xe(w,{xs:24,sm:24,md:12,lg:12,xl:12,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:q(()=>[s(p,{shadow:"never",style:pt({height:`calc(${te(o)}px - 35vh - 250px)`})},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/xiaoxian521",target:"_black"},[s(te(ze),{className:"type-it1",values:["GitHub信息"],cursor:!1,speed:120})],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(h,{height:`calc(${te(o)}px - 35vh - 340px)`},{default:q(()=>[s(gn)]),_:1},8,["height"])]),_:1},8,["loading"])]),_:1},8,["style"])]),_:1})),[[y]]),ge((pe(),xe(w,{xs:24,sm:24,md:12,lg:8,xl:8,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:400}}},{default:q(()=>[s(p,{shadow:"never"},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/pure-admin/vue-pure-admin",target:"_black"},[s(te(ze),{className:"type-it4",values:["GitHub折线图信息"],cursor:!1,speed:120})],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(pn)]),_:1},8,["loading"])]),_:1})]),_:1})),[[y]]),ge((pe(),xe(w,{xs:24,sm:24,md:12,lg:8,xl:8,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:400}}},{default:q(()=>[s(p,{shadow:"never"},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/pure-admin/vue-pure-admin",target:"_black"},[s(te(ze),{className:"type-it3",values:["GitHub饼图信息"],cursor:!1,speed:120})],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(hn)]),_:1},8,["loading"])]),_:1})]),_:1})),[[y]]),ge((pe(),xe(w,{xs:24,sm:24,md:24,lg:8,xl:8,class:"mb-[18px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:400}}},{default:q(()=>[s(p,{shadow:"never"},{header:q(()=>[Se("a",{class:Te(i.value),href:"https://github.com/pure-admin/vue-pure-admin",target:"_black"},[s(te(ze),{className:"type-it5",values:["GitHub柱状图信息"],cursor:!1,speed:120})],2)]),default:q(()=>[s(f,{animated:"",rows:7,loading:t.value},{default:q(()=>[s(mn)]),_:1},8,["loading"])]),_:1})]),_:1})),[[y]])]),_:1})])}}});const bi=dn(ii,[["__scopeId","data-v-1d934bf1"]]);export{bi as default}; diff --git a/dist/static/js/index-cb5b4b6f.js b/dist/static/js/index-ce657e0b.js similarity index 99% rename from dist/static/js/index-cb5b4b6f.js rename to dist/static/js/index-ce657e0b.js index f17773891..1da2d6753 100644 --- a/dist/static/js/index-cb5b4b6f.js +++ b/dist/static/js/index-ce657e0b.js @@ -1,4 +1,4 @@ -import{S as u1,d as Ru,r as jr,k as Fg,u as pn,a as Ai,i as co,e as Pr,F as Hg,q as Xg,o as ar,ak as fg,h as Fo,w as Ho,G as pg,aq as Gg,_ as hf,j as Ug,t as s1,c as uf,U as yf,f as dg,s as c1,v as l1}from"./index-ceadd577.js";import{u as f1}from"./hooks-82c6b5e4.js";import{V as p1}from"./styles-71e87efa.js";import{d as d1}from"./set-up-e6942411.js";import"./vue.runtime.esm-bundler-44233a4d.js";const h1=[{incoming:[],outgoing:["Flow_33inf2k"],dockers:[],type:2,properties:{a:"efrwe",b:"wewe",name:"开始",x:280,y:200,text:{x:280,y:200,value:"开始"},logicFlowType:"bpmn:startEvent"},key:"Event_1d42u4p"},{incoming:["Flow_379e0o9"],outgoing:[],dockers:[],type:3,properties:{a:"efrwe",b:"wewe",name:"结束",x:920,y:200,text:{x:920,y:200,value:"结束"},logicFlowType:"bpmn:endEvent"},key:"Event_08p8i6q"},{incoming:["Flow_0pfouf0"],outgoing:["Flow_3918lhh"],dockers:[],type:6,properties:{a:"efrwe",b:"wewe",name:"网关",x:580,y:200,text:{x:580,y:200,value:"网关"},logicFlowType:"bpmn:exclusiveGateway"},key:"Gateway_1fngqgj"},{incoming:["Flow_33inf2k"],outgoing:["Flow_0pfouf0"],dockers:[],type:4,properties:{a:"efrwe",b:"wewe",name:"用户",x:420,y:200,text:{x:420,y:200,value:"用户"},logicFlowType:"bpmn:userTask"},key:"Activity_2mgtaia"},{incoming:["Flow_3918lhh"],outgoing:["Flow_379e0o9"],dockers:[],type:5,properties:{a:"efrwe",b:"wewe",name:"服务",x:760,y:200,text:{x:760,y:200,value:"服务"},logicFlowType:"bpmn:serviceTask"},key:"Activity_1sp8qc8"},{incoming:["Event_1d42u4p"],outgoing:["Activity_2mgtaia"],type:1,dockers:[],properties:{name:"边",text:{x:331,y:200,value:"边"},startPoint:{x:298,y:200},endPoint:{x:370,y:200},pointsList:[{x:298,y:200},{x:370,y:200}],logicFlowType:"bpmn:sequenceFlow"},key:"Flow_33inf2k"},{incoming:["Activity_2mgtaia"],outgoing:["Gateway_1fngqgj"],type:1,dockers:[],properties:{name:"边2",text:{x:507,y:200,value:"边2"},startPoint:{x:470,y:200},endPoint:{x:555,y:200},pointsList:[{x:470,y:200},{x:555,y:200}],logicFlowType:"bpmn:sequenceFlow"},key:"Flow_0pfouf0"},{incoming:["Gateway_1fngqgj"],outgoing:["Activity_1sp8qc8"],type:1,dockers:[],properties:{name:"边3",text:{x:664,y:200,value:"边3"},startPoint:{x:605,y:200},endPoint:{x:710,y:200},pointsList:[{x:605,y:200},{x:710,y:200}],logicFlowType:"bpmn:sequenceFlow"},key:"Flow_3918lhh"},{incoming:["Activity_1sp8qc8"],outgoing:["Event_08p8i6q"],type:1,dockers:[],properties:{name:"边4",text:{x:871,y:200,value:"边4"},startPoint:{x:810,y:200},endPoint:{x:902,y:200},pointsList:[{x:810,y:200},{x:902,y:200}],logicFlowType:"bpmn:sequenceFlow"},key:"Flow_379e0o9"}],y1={flowElementList:h1};var sf={exports:{}};(function(v,y){(function(s,p){v.exports=p()})(window,function(){return function(s){var p={};function i(l){if(p[l])return p[l].exports;var c=p[l]={i:l,l:!1,exports:{}};return s[l].call(c.exports,c,c.exports,i),c.l=!0,c.exports}return i.m=s,i.c=p,i.d=function(l,c,b){i.o(l,c)||Object.defineProperty(l,c,{enumerable:!0,get:b})},i.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},i.t=function(l,c){if(1&c&&(l=i(l)),8&c||4&c&&typeof l=="object"&&l&&l.__esModule)return l;var b=Object.create(null);if(i.r(b),Object.defineProperty(b,"default",{enumerable:!0,value:l}),2&c&&typeof l!="string")for(var _ in l)i.d(b,_,function(E){return l[E]}.bind(null,_));return b},i.n=function(l){var c=l&&l.__esModule?function(){return l.default}:function(){return l};return i.d(c,"a",c),c},i.o=function(l,c){return Object.prototype.hasOwnProperty.call(l,c)},i.p="",i(i.s=215)}([function(s,p,i){i.d(p,"a",function(){return Z}),i.d(p,"b",function(){return ie}),i.d(p,"c",function(){return Ce}),i.d(p,"d",function(){return Ke}),i.d(p,"e",function(){return B}),i.d(p,"f",function(){return ee}),i.d(p,"g",function(){return B}),i.d(p,"h",function(){return Pe}),i.d(p,"i",function(){return c}),i.d(p,"j",function(){return $e}),i.d(p,"k",function(){return F});var l,c,b,_,E,w,k,j={},P=[],D=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function N(q,$){for(var ae in $)q[ae]=$[ae];return q}function L(q){var $=q.parentNode;$&&$.removeChild(q)}function B(q,$,ae){var Oe,ke,we,qe={};for(we in $)we=="key"?Oe=$[we]:we=="ref"?ke=$[we]:qe[we]=$[we];if(arguments.length>2&&(qe.children=arguments.length>3?l.call(arguments,2):ae),typeof q=="function"&&q.defaultProps!=null)for(we in q.defaultProps)qe[we]===void 0&&(qe[we]=q.defaultProps[we]);return X(q,qe,Oe,ke,null)}function X(q,$,ae,Oe,ke){var we={type:q,props:$,key:ae,ref:Oe,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:ke??++b};return ke==null&&c.vnode!=null&&c.vnode(we),we}function ee(){return{current:null}}function ie(q){return q.children}function Z(q,$){this.props=q,this.context=$}function V(q,$){if($==null)return q.__?V(q.__,q.__.__k.indexOf(q)+1):null;for(var ae;$0?X(Le.type,Le.props,Le.key,null,Le.__v):Le)!=null){if(Le.__=ae,Le.__b=ae.__b+1,(te=yt[ve])===null||te&&Le.key==te.key&&Le.type===te.type)yt[ve]=void 0;else for(He=0;He2&&(qe.children=arguments.length>3?l.call(arguments,2):ae),X(q.type,qe,Oe||q.key,ke||q.ref,null)}function Ke(q,$){var ae={__c:$="__cC"+k++,__:q,Consumer:function(Oe,ke){return Oe.children(ke)},Provider:function(Oe){var ke,we;return this.getChildContext||(ke=[],(we={})[$]=this,this.getChildContext=function(){return we},this.shouldComponentUpdate=function(qe){this.props.value!==qe.value&&ke.some(z)},this.sub=function(qe){ke.push(qe);var nt=qe.componentWillUnmount;qe.componentWillUnmount=function(){ke.splice(ke.indexOf(qe),1),nt&&nt.call(qe)}}),Oe.children}};return ae.Provider.__=ae.Consumer.contextType=ae}l=P.slice,c={__e:function(q,$){for(var ae,Oe,ke;$=$.__;)if((ae=$.__c)&&!ae.__)try{if((Oe=ae.constructor)&&Oe.getDerivedStateFromError!=null&&(ae.setState(Oe.getDerivedStateFromError(q)),ke=ae.__d),ae.componentDidCatch!=null&&(ae.componentDidCatch(q),ke=ae.__d),ke)return ae.__E=ae}catch(we){q=we}throw q}},b=0,Z.prototype.setState=function(q,$){var ae;ae=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=N({},this.state),typeof q=="function"&&(q=q(N({},ae),this.props)),q&&N(ae,q),q!=null&&this.__v&&($&&this.__h.push($),z(this))},Z.prototype.forceUpdate=function(q){this.__v&&(this.__e=!0,q&&this.__h.push(q),z(this))},Z.prototype.render=ie,_=[],E=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,M.__r=0,k=0},function(s,p,i){(function(l,c){i.d(p,"a",function(){return z}),i.d(p,"b",function(){return Jo}),i.d(p,"c",function(){return Ln}),i.d(p,"d",function(){return et}),i.d(p,"e",function(){return De}),i.d(p,"f",function(){return Me}),i.d(p,"g",function(){return Ve}),i.d(p,"h",function(){return Nr}),i.d(p,"i",function(){return Pt}),i.d(p,"j",function(){return ze}),i.d(p,"k",function(){return Vn}),i.d(p,"l",function(){return Ko}),i.d(p,"m",function(){return vt}),i.d(p,"n",function(){return Mr}),i.d(p,"o",function(){return C}),i.d(p,"p",function(){return Zi}),i.d(p,"q",function(){return Wn}),i.d(p,"r",function(){return $i}),i.d(p,"s",function(){return wn}),i.d(p,"t",function(){return $r}),i.d(p,"u",function(){return fo}),i.d(p,"v",function(){return Vu}),i.d(p,"w",function(){return qi}),i.d(p,"x",function(){return qr}),i.d(p,"y",function(){return Dn}),i.d(p,"z",function(){return It}),i.d(p,"A",function(){return yn}),i.d(p,"B",function(){return $n}),i.d(p,"C",function(){return Ye}),i.d(p,"D",function(){return Qi}),i.d(p,"E",function(){return Ar}),i.d(p,"F",function(){return Tr}),i.d(p,"G",function(){return Gu}),i.d(p,"H",function(){return Fi}),i.d(p,"I",function(){return $u}),i.d(p,"J",function(){return _n}),i.d(p,"K",function(){return ne}),i.d(p,"L",function(){return Zt}),i.d(p,"M",function(){return ea});var b=[];Object.freeze(b);var _={};function E(){return++Ge.mobxGuid}function w(h){throw k(!1,h),"X"}function k(h,g){if(!h)throw new Error("[mobx] "+(g||"An invariant failed, however the error is obfuscated because this is a production build."))}Object.freeze(_);function j(h){var g=!1;return function(){if(!g)return g=!0,h.apply(this,arguments)}}var P=function(){};function D(h){return h!==null&&typeof h=="object"}function N(h){if(h===null||typeof h!="object")return!1;var g=Object.getPrototypeOf(h);return g===Object.prototype||g===null}function L(h,g,x){Object.defineProperty(h,g,{enumerable:!1,writable:!0,configurable:!0,value:x})}function B(h,g){var x="isMobX"+h;return g.prototype[x]=!0,function(A){return D(A)&&A[x]===!0}}function X(h){return h instanceof Map}function ee(h){return h instanceof Set}function ie(h){var g=new Set;for(var x in h)g.add(x);return Object.getOwnPropertySymbols(h).forEach(function(A){Object.getOwnPropertyDescriptor(h,A).enumerable&&g.add(A)}),Array.from(g)}function Z(h){return h&&h.toString?h.toString():new String(h).toString()}function V(h){return h===null?null:typeof h=="object"?""+h:h}var K=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols?function(h){return Object.getOwnPropertyNames(h).concat(Object.getOwnPropertySymbols(h))}:Object.getOwnPropertyNames,z=Symbol("mobx administration"),M=function(){function h(g){g===void 0&&(g="Atom@"+E()),this.name=g,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=He.NOT_TRACKING}return h.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach(function(g){return g()})},h.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach(function(g){return g()})},h.prototype.reportObserved=function(){return zi(this)},h.prototype.reportChanged=function(){bn(),function(g){g.lowestObserverState!==He.STALE&&(g.lowestObserverState=He.STALE,g.observers.forEach(function(x){x.dependenciesState===He.UP_TO_DATE&&(x.isTracing!==te.NONE&&Yn(x,g),x.onBecomeStale()),x.dependenciesState=He.STALE}))}(this),mn()},h.prototype.toString=function(){return this.name},h}(),I=B("Atom",M);function C(h,g,x){g===void 0&&(g=P),x===void 0&&(x=P);var A,H=new M(h);return g!==P&&Gi("onBecomeObserved",H,g,A),x!==P&&Ar(H,x),H}var F={identity:function(h,g){return h===g},structural:function(h,g){return ei(h,g)},default:function(h,g){return Object.is(h,g)},shallow:function(h,g){return ei(h,g,1)}},J=function(h,g){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,A){x.__proto__=A}||function(x,A){for(var H in A)A.hasOwnProperty(H)&&(x[H]=A[H])},J(h,g)};/*! ***************************************************************************** +import{S as u1,d as Ru,r as jr,k as Fg,u as pn,a as Ai,i as co,e as Pr,F as Hg,q as Xg,o as ar,ak as fg,h as Fo,w as Ho,G as pg,aq as Gg,_ as hf,j as Ug,t as s1,c as uf,U as yf,f as dg,s as c1,v as l1}from"./index-42b0cfe4.js";import{u as f1}from"./hooks-2ea9b191.js";import{V as p1}from"./styles-7ba5c6fe.js";import{d as d1}from"./set-up-e6942411.js";import"./vue.runtime.esm-bundler-a6324638.js";const h1=[{incoming:[],outgoing:["Flow_33inf2k"],dockers:[],type:2,properties:{a:"efrwe",b:"wewe",name:"开始",x:280,y:200,text:{x:280,y:200,value:"开始"},logicFlowType:"bpmn:startEvent"},key:"Event_1d42u4p"},{incoming:["Flow_379e0o9"],outgoing:[],dockers:[],type:3,properties:{a:"efrwe",b:"wewe",name:"结束",x:920,y:200,text:{x:920,y:200,value:"结束"},logicFlowType:"bpmn:endEvent"},key:"Event_08p8i6q"},{incoming:["Flow_0pfouf0"],outgoing:["Flow_3918lhh"],dockers:[],type:6,properties:{a:"efrwe",b:"wewe",name:"网关",x:580,y:200,text:{x:580,y:200,value:"网关"},logicFlowType:"bpmn:exclusiveGateway"},key:"Gateway_1fngqgj"},{incoming:["Flow_33inf2k"],outgoing:["Flow_0pfouf0"],dockers:[],type:4,properties:{a:"efrwe",b:"wewe",name:"用户",x:420,y:200,text:{x:420,y:200,value:"用户"},logicFlowType:"bpmn:userTask"},key:"Activity_2mgtaia"},{incoming:["Flow_3918lhh"],outgoing:["Flow_379e0o9"],dockers:[],type:5,properties:{a:"efrwe",b:"wewe",name:"服务",x:760,y:200,text:{x:760,y:200,value:"服务"},logicFlowType:"bpmn:serviceTask"},key:"Activity_1sp8qc8"},{incoming:["Event_1d42u4p"],outgoing:["Activity_2mgtaia"],type:1,dockers:[],properties:{name:"边",text:{x:331,y:200,value:"边"},startPoint:{x:298,y:200},endPoint:{x:370,y:200},pointsList:[{x:298,y:200},{x:370,y:200}],logicFlowType:"bpmn:sequenceFlow"},key:"Flow_33inf2k"},{incoming:["Activity_2mgtaia"],outgoing:["Gateway_1fngqgj"],type:1,dockers:[],properties:{name:"边2",text:{x:507,y:200,value:"边2"},startPoint:{x:470,y:200},endPoint:{x:555,y:200},pointsList:[{x:470,y:200},{x:555,y:200}],logicFlowType:"bpmn:sequenceFlow"},key:"Flow_0pfouf0"},{incoming:["Gateway_1fngqgj"],outgoing:["Activity_1sp8qc8"],type:1,dockers:[],properties:{name:"边3",text:{x:664,y:200,value:"边3"},startPoint:{x:605,y:200},endPoint:{x:710,y:200},pointsList:[{x:605,y:200},{x:710,y:200}],logicFlowType:"bpmn:sequenceFlow"},key:"Flow_3918lhh"},{incoming:["Activity_1sp8qc8"],outgoing:["Event_08p8i6q"],type:1,dockers:[],properties:{name:"边4",text:{x:871,y:200,value:"边4"},startPoint:{x:810,y:200},endPoint:{x:902,y:200},pointsList:[{x:810,y:200},{x:902,y:200}],logicFlowType:"bpmn:sequenceFlow"},key:"Flow_379e0o9"}],y1={flowElementList:h1};var sf={exports:{}};(function(v,y){(function(s,p){v.exports=p()})(window,function(){return function(s){var p={};function i(l){if(p[l])return p[l].exports;var c=p[l]={i:l,l:!1,exports:{}};return s[l].call(c.exports,c,c.exports,i),c.l=!0,c.exports}return i.m=s,i.c=p,i.d=function(l,c,b){i.o(l,c)||Object.defineProperty(l,c,{enumerable:!0,get:b})},i.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},i.t=function(l,c){if(1&c&&(l=i(l)),8&c||4&c&&typeof l=="object"&&l&&l.__esModule)return l;var b=Object.create(null);if(i.r(b),Object.defineProperty(b,"default",{enumerable:!0,value:l}),2&c&&typeof l!="string")for(var _ in l)i.d(b,_,function(E){return l[E]}.bind(null,_));return b},i.n=function(l){var c=l&&l.__esModule?function(){return l.default}:function(){return l};return i.d(c,"a",c),c},i.o=function(l,c){return Object.prototype.hasOwnProperty.call(l,c)},i.p="",i(i.s=215)}([function(s,p,i){i.d(p,"a",function(){return Z}),i.d(p,"b",function(){return ie}),i.d(p,"c",function(){return Ce}),i.d(p,"d",function(){return Ke}),i.d(p,"e",function(){return B}),i.d(p,"f",function(){return ee}),i.d(p,"g",function(){return B}),i.d(p,"h",function(){return Pe}),i.d(p,"i",function(){return c}),i.d(p,"j",function(){return $e}),i.d(p,"k",function(){return F});var l,c,b,_,E,w,k,j={},P=[],D=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function N(q,$){for(var ae in $)q[ae]=$[ae];return q}function L(q){var $=q.parentNode;$&&$.removeChild(q)}function B(q,$,ae){var Oe,ke,we,qe={};for(we in $)we=="key"?Oe=$[we]:we=="ref"?ke=$[we]:qe[we]=$[we];if(arguments.length>2&&(qe.children=arguments.length>3?l.call(arguments,2):ae),typeof q=="function"&&q.defaultProps!=null)for(we in q.defaultProps)qe[we]===void 0&&(qe[we]=q.defaultProps[we]);return X(q,qe,Oe,ke,null)}function X(q,$,ae,Oe,ke){var we={type:q,props:$,key:ae,ref:Oe,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:ke??++b};return ke==null&&c.vnode!=null&&c.vnode(we),we}function ee(){return{current:null}}function ie(q){return q.children}function Z(q,$){this.props=q,this.context=$}function V(q,$){if($==null)return q.__?V(q.__,q.__.__k.indexOf(q)+1):null;for(var ae;$0?X(Le.type,Le.props,Le.key,null,Le.__v):Le)!=null){if(Le.__=ae,Le.__b=ae.__b+1,(te=yt[ve])===null||te&&Le.key==te.key&&Le.type===te.type)yt[ve]=void 0;else for(He=0;He2&&(qe.children=arguments.length>3?l.call(arguments,2):ae),X(q.type,qe,Oe||q.key,ke||q.ref,null)}function Ke(q,$){var ae={__c:$="__cC"+k++,__:q,Consumer:function(Oe,ke){return Oe.children(ke)},Provider:function(Oe){var ke,we;return this.getChildContext||(ke=[],(we={})[$]=this,this.getChildContext=function(){return we},this.shouldComponentUpdate=function(qe){this.props.value!==qe.value&&ke.some(z)},this.sub=function(qe){ke.push(qe);var nt=qe.componentWillUnmount;qe.componentWillUnmount=function(){ke.splice(ke.indexOf(qe),1),nt&&nt.call(qe)}}),Oe.children}};return ae.Provider.__=ae.Consumer.contextType=ae}l=P.slice,c={__e:function(q,$){for(var ae,Oe,ke;$=$.__;)if((ae=$.__c)&&!ae.__)try{if((Oe=ae.constructor)&&Oe.getDerivedStateFromError!=null&&(ae.setState(Oe.getDerivedStateFromError(q)),ke=ae.__d),ae.componentDidCatch!=null&&(ae.componentDidCatch(q),ke=ae.__d),ke)return ae.__E=ae}catch(we){q=we}throw q}},b=0,Z.prototype.setState=function(q,$){var ae;ae=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=N({},this.state),typeof q=="function"&&(q=q(N({},ae),this.props)),q&&N(ae,q),q!=null&&this.__v&&($&&this.__h.push($),z(this))},Z.prototype.forceUpdate=function(q){this.__v&&(this.__e=!0,q&&this.__h.push(q),z(this))},Z.prototype.render=ie,_=[],E=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,M.__r=0,k=0},function(s,p,i){(function(l,c){i.d(p,"a",function(){return z}),i.d(p,"b",function(){return Jo}),i.d(p,"c",function(){return Ln}),i.d(p,"d",function(){return et}),i.d(p,"e",function(){return De}),i.d(p,"f",function(){return Me}),i.d(p,"g",function(){return Ve}),i.d(p,"h",function(){return Nr}),i.d(p,"i",function(){return Pt}),i.d(p,"j",function(){return ze}),i.d(p,"k",function(){return Vn}),i.d(p,"l",function(){return Ko}),i.d(p,"m",function(){return vt}),i.d(p,"n",function(){return Mr}),i.d(p,"o",function(){return C}),i.d(p,"p",function(){return Zi}),i.d(p,"q",function(){return Wn}),i.d(p,"r",function(){return $i}),i.d(p,"s",function(){return wn}),i.d(p,"t",function(){return $r}),i.d(p,"u",function(){return fo}),i.d(p,"v",function(){return Vu}),i.d(p,"w",function(){return qi}),i.d(p,"x",function(){return qr}),i.d(p,"y",function(){return Dn}),i.d(p,"z",function(){return It}),i.d(p,"A",function(){return yn}),i.d(p,"B",function(){return $n}),i.d(p,"C",function(){return Ye}),i.d(p,"D",function(){return Qi}),i.d(p,"E",function(){return Ar}),i.d(p,"F",function(){return Tr}),i.d(p,"G",function(){return Gu}),i.d(p,"H",function(){return Fi}),i.d(p,"I",function(){return $u}),i.d(p,"J",function(){return _n}),i.d(p,"K",function(){return ne}),i.d(p,"L",function(){return Zt}),i.d(p,"M",function(){return ea});var b=[];Object.freeze(b);var _={};function E(){return++Ge.mobxGuid}function w(h){throw k(!1,h),"X"}function k(h,g){if(!h)throw new Error("[mobx] "+(g||"An invariant failed, however the error is obfuscated because this is a production build."))}Object.freeze(_);function j(h){var g=!1;return function(){if(!g)return g=!0,h.apply(this,arguments)}}var P=function(){};function D(h){return h!==null&&typeof h=="object"}function N(h){if(h===null||typeof h!="object")return!1;var g=Object.getPrototypeOf(h);return g===Object.prototype||g===null}function L(h,g,x){Object.defineProperty(h,g,{enumerable:!1,writable:!0,configurable:!0,value:x})}function B(h,g){var x="isMobX"+h;return g.prototype[x]=!0,function(A){return D(A)&&A[x]===!0}}function X(h){return h instanceof Map}function ee(h){return h instanceof Set}function ie(h){var g=new Set;for(var x in h)g.add(x);return Object.getOwnPropertySymbols(h).forEach(function(A){Object.getOwnPropertyDescriptor(h,A).enumerable&&g.add(A)}),Array.from(g)}function Z(h){return h&&h.toString?h.toString():new String(h).toString()}function V(h){return h===null?null:typeof h=="object"?""+h:h}var K=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols?function(h){return Object.getOwnPropertyNames(h).concat(Object.getOwnPropertySymbols(h))}:Object.getOwnPropertyNames,z=Symbol("mobx administration"),M=function(){function h(g){g===void 0&&(g="Atom@"+E()),this.name=g,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=He.NOT_TRACKING}return h.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach(function(g){return g()})},h.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach(function(g){return g()})},h.prototype.reportObserved=function(){return zi(this)},h.prototype.reportChanged=function(){bn(),function(g){g.lowestObserverState!==He.STALE&&(g.lowestObserverState=He.STALE,g.observers.forEach(function(x){x.dependenciesState===He.UP_TO_DATE&&(x.isTracing!==te.NONE&&Yn(x,g),x.onBecomeStale()),x.dependenciesState=He.STALE}))}(this),mn()},h.prototype.toString=function(){return this.name},h}(),I=B("Atom",M);function C(h,g,x){g===void 0&&(g=P),x===void 0&&(x=P);var A,H=new M(h);return g!==P&&Gi("onBecomeObserved",H,g,A),x!==P&&Ar(H,x),H}var F={identity:function(h,g){return h===g},structural:function(h,g){return ei(h,g)},default:function(h,g){return Object.is(h,g)},shallow:function(h,g){return ei(h,g,1)}},J=function(h,g){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,A){x.__proto__=A}||function(x,A){for(var H in A)A.hasOwnProperty(H)&&(x[H]=A[H])},J(h,g)};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the diff --git a/dist/static/js/index-99e2b4d1.js b/dist/static/js/index-d0d2892c.js similarity index 99% rename from dist/static/js/index-99e2b4d1.js rename to dist/static/js/index-d0d2892c.js index feb973fbd..c26ccd1b7 100644 --- a/dist/static/js/index-99e2b4d1.js +++ b/dist/static/js/index-d0d2892c.js @@ -1 +1 @@ -import{a0 as L,S as _,an as k,d as h,ai as C,am as E,ao as S,ac as P,b as B,g as R,i as D,aa as F,o as I,_ as y,U as J,c as Y,u as j}from"./index-ceadd577.js";var b={exports:{}};(function(v,w){(function(p,M){v.exports=M()})(L,function(){function p(e){var r=[];return e.AMapUI&&r.push(M(e.AMapUI)),e.Loca&&r.push(m(e.Loca)),Promise.all(r)}function M(e){return new Promise(function(r,a){var i=[];if(e.plugins)for(var t=0;tk.request("get","/getMapInfo",{params:v}),z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAUCAMAAADSpG8HAAAC91BMVEUAAAAAJQskNR8JNS8AAAAHwgAu2CIAZQIDGgccFA8aTDwVvRAtwyUNqQgcZhgsXSUQQQ0BJQcHMwIpJw4BAQCM63sRRDct5xwHswAMOzAv4SAIxAAr3xofuhZWzUwYRTMqnDEvtyRDvjgKMSwBjQCWkJRdxFNnm2A0cy8KLSgknR0hQTEydjNDYzFhjFpocEsXig9wimhcTi45hy0kTy1Vg0hQLx0EPABCSkAYSxwATQc0UjIFCwOU/4mt/6YP7wXI/8Gh/5eK/4CG/3tJfla5/7K3/7Ck/5tL/0Yq/h0ANxDi/9DG/77D/7vA/7jG/7Cz/6yb/5Gd/4WY/4GF/oFrl3Zy9WtTh2Fj319F2kklakMgbjgOSDAx/yoALBgc8RECIQ7N/8bL/7Sx/6m6/6Oq/6Gm/6Cb/5aX/410oYRuln+U/3tklXNZjGtY019Ou15y/1RV/0YlZUUs1j1E/jk8/ysiYisWZiMFUh8CsR0i6hkj/xUd2RMa+hAAPgwK+gDa/8nT/8bW/7/a/73O/7m9/7W//6qLrZyt/5qk/5GY/JB/rI2k/4eK8YeO/3aI/3N6/21w/2Jf/2Jt72Jj5GJNemJLhmBEgVtOxlhR1lZAgVE2aFEzdE0ye0w/5Uk+nkdGzUY1TUVG4EQ+u0ElXzsicTkhZjgsijYsrDI37i0kgiwhSCwAoxsTnBsY0hALgBAAEQgN4gcHowUS/wT/////8PeWt8HI47WlxK/K/6aUuqGm/52f7Zyx/5qt/5XCupS9/5C+pI+U9456m4uI9oSS/4CE/4B+9nqa/3hkjHBVgWxUxWGA/2BNtl5WvFtS4Vll/1hGpFhY2ldd/FRa71Ne+lI6eFJAXlFq/05Ks01U2ExS9EcxTUAldz481zssRDszyDcfWTc9+jAXyzAx2S4PYSwIUiscOSkitygVMSgLwyYCvCEfpiEDyCAAvR4i3xwe1xwQaxoj9xgQShcKaBYKQBYMWBQU7BAMbA8X8A0J1wsFdgsAAABw6AJ/AAAAPXRSTlMAZ1XZBPPiqUM7/v7d04B2aFdSSRb68uzp5+fn5N/e3drT0MzKxsW+vr27tLOysLCrqqmno6CQj4aEd3Ig/fi2ogAAAkNJREFUKM9ioACwmIMIFCEBYz1DU34ODkFLHUYIEORWUpPjkeU1EICp0T1xYGfnpOLKNWveva2sfP3qcfG8eZGXI0J6LhR6+qtCzBPef2by5IiI4yEhR3p7D3U5uqfYrir/5rUh4VZH2MqwLRpgRUbbN62etWR+c1ODNxA0NDa22JbHxdXVbfBysusKu10rBFKkWPD1evjDm82+vr4+Pg4ODokOHeeyor28vP68CT6WHlLKDlLEFrv6pMuyvCY3N9dWPz+gukT/xZk7plXUJfwo9PCYNJEXrKjqTqhLdESLXXJAAEidb2LSglntu7ozD5fVxsbbV0uDFMnULAx1WTrFPy011S4ZqMzVISlyblZOZnd7WY1nvH09K0gRQOLrwIraHN3d01LtgOr8/Bfdzc3NzclCUiS17j7Qukspgenpju670+zsXNsWRU+dPi38VHkVXBHb++c5LssW7LXNCHR0dAwMdHdLufd09pxr02d/9Pz0036zBEgRT2xCePiSxZ1OtrYZGba2Ts62+x48K4qKmhOzvsR+Y221CkiR1o2El1O5lh91dnZ2cnJydp4wsW9FTBFQVRx36aMS+83gcALMbNumz8tXrcgODgrqCQoKDs7O7ltbURETE/e7tOrJrz1hHCBFnAcLPAqvzJyRl3c6/+LZ/PwZM89HFr9Yu/7Lh+8bqydstYCkAv2k/gKPyPnyzJJcc8WYmZmVNbVNFDxWxpZc7RdVZ4KlFSZrPj5+YWAqs2ESgQqxW3EKMTFxArnEAgDLUd+tnLfEzAAAAABJRU5ErkJggg==",O={id:"mapview",ref:"mapview"},Z=h({name:"Amap",__name:"Amap",setup(v){let w,p;const M=F(),m=C({loading:!E()}),o=()=>{p&&p.on("complete",()=>{m.loading=!1})};return S(()=>{if(!M)return;const{MapConfigure:n}=M.appContext.config.globalProperties.$config,{options:s}=n;N.load({key:n.amapKey,version:"2.0",plugins:["AMap.MarkerCluster"]}).then(d=>{p=new d.Map(M.refs.mapview,s),p.plugin(["AMap.ToolBar","AMap.MapType"],()=>{p.addControl(new d.ToolBar),p.addControl(new d.MapType({defaultType:0}))}),w=new d.MarkerCluster(p,[],{gridSize:80,maxZoom:14,renderMarker(A){const{marker:f,data:e}=A;if(Array.isArray(e)&&e[0]){const{driver:r,plateNumber:a,orientation:i}=e[0],t=``;f.setContent(t),f.setLabel({direction:"bottom",offset:new d.Pixel(-4,0),content:`
${a}(${r})
`}),f.setOffset(new d.Pixel(-18,-10)),f.on("click",({lnglat:l})=>{p.setZoom(13),p.setCenter(l)})}}}),T().then(({data:A})=>{const f=A.map(e=>({lnglat:[e.lng,e.lat],...e}));w&&w.setData(f)}).catch(A=>{}),o()}).catch(()=>{throw m.loading=!1,"地图加载失败,请重新加载"})}),P(()=>{p&&p.destroy()&&p.clearEvents("click")}),(n,s)=>{const d=B("loading");return R((I(),D("div",O,null,512)),[[d,m.loading]])}}});const q=y(Z,[["__scopeId","data-v-2ac3e490"]]),K=J(q),Q=h({name:"MapPage",__name:"index",setup(v){return(w,p)=>(I(),Y(j(K)))}});const V=y(Q,[["__scopeId","data-v-bad3ff67"]]);export{V as default}; +import{a0 as L,S as _,an as k,d as h,ai as C,am as E,ao as S,ac as P,b as B,g as R,i as D,aa as F,o as I,_ as y,U as J,c as Y,u as j}from"./index-42b0cfe4.js";var b={exports:{}};(function(v,w){(function(p,M){v.exports=M()})(L,function(){function p(e){var r=[];return e.AMapUI&&r.push(M(e.AMapUI)),e.Loca&&r.push(m(e.Loca)),Promise.all(r)}function M(e){return new Promise(function(r,a){var i=[];if(e.plugins)for(var t=0;tk.request("get","/getMapInfo",{params:v}),z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAUCAMAAADSpG8HAAAC91BMVEUAAAAAJQskNR8JNS8AAAAHwgAu2CIAZQIDGgccFA8aTDwVvRAtwyUNqQgcZhgsXSUQQQ0BJQcHMwIpJw4BAQCM63sRRDct5xwHswAMOzAv4SAIxAAr3xofuhZWzUwYRTMqnDEvtyRDvjgKMSwBjQCWkJRdxFNnm2A0cy8KLSgknR0hQTEydjNDYzFhjFpocEsXig9wimhcTi45hy0kTy1Vg0hQLx0EPABCSkAYSxwATQc0UjIFCwOU/4mt/6YP7wXI/8Gh/5eK/4CG/3tJfla5/7K3/7Ck/5tL/0Yq/h0ANxDi/9DG/77D/7vA/7jG/7Cz/6yb/5Gd/4WY/4GF/oFrl3Zy9WtTh2Fj319F2kklakMgbjgOSDAx/yoALBgc8RECIQ7N/8bL/7Sx/6m6/6Oq/6Gm/6Cb/5aX/410oYRuln+U/3tklXNZjGtY019Ou15y/1RV/0YlZUUs1j1E/jk8/ysiYisWZiMFUh8CsR0i6hkj/xUd2RMa+hAAPgwK+gDa/8nT/8bW/7/a/73O/7m9/7W//6qLrZyt/5qk/5GY/JB/rI2k/4eK8YeO/3aI/3N6/21w/2Jf/2Jt72Jj5GJNemJLhmBEgVtOxlhR1lZAgVE2aFEzdE0ye0w/5Uk+nkdGzUY1TUVG4EQ+u0ElXzsicTkhZjgsijYsrDI37i0kgiwhSCwAoxsTnBsY0hALgBAAEQgN4gcHowUS/wT/////8PeWt8HI47WlxK/K/6aUuqGm/52f7Zyx/5qt/5XCupS9/5C+pI+U9456m4uI9oSS/4CE/4B+9nqa/3hkjHBVgWxUxWGA/2BNtl5WvFtS4Vll/1hGpFhY2ldd/FRa71Ne+lI6eFJAXlFq/05Ks01U2ExS9EcxTUAldz481zssRDszyDcfWTc9+jAXyzAx2S4PYSwIUiscOSkitygVMSgLwyYCvCEfpiEDyCAAvR4i3xwe1xwQaxoj9xgQShcKaBYKQBYMWBQU7BAMbA8X8A0J1wsFdgsAAABw6AJ/AAAAPXRSTlMAZ1XZBPPiqUM7/v7d04B2aFdSSRb68uzp5+fn5N/e3drT0MzKxsW+vr27tLOysLCrqqmno6CQj4aEd3Ig/fi2ogAAAkNJREFUKM9ioACwmIMIFCEBYz1DU34ODkFLHUYIEORWUpPjkeU1EICp0T1xYGfnpOLKNWveva2sfP3qcfG8eZGXI0J6LhR6+qtCzBPef2by5IiI4yEhR3p7D3U5uqfYrir/5rUh4VZH2MqwLRpgRUbbN62etWR+c1ODNxA0NDa22JbHxdXVbfBysusKu10rBFKkWPD1evjDm82+vr4+Pg4ODokOHeeyor28vP68CT6WHlLKDlLEFrv6pMuyvCY3N9dWPz+gukT/xZk7plXUJfwo9PCYNJEXrKjqTqhLdESLXXJAAEidb2LSglntu7ozD5fVxsbbV0uDFMnULAx1WTrFPy011S4ZqMzVISlyblZOZnd7WY1nvH09K0gRQOLrwIraHN3d01LtgOr8/Bfdzc3NzclCUiS17j7Qukspgenpju670+zsXNsWRU+dPi38VHkVXBHb++c5LssW7LXNCHR0dAwMdHdLufd09pxr02d/9Pz0036zBEgRT2xCePiSxZ1OtrYZGba2Ts62+x48K4qKmhOzvsR+Y221CkiR1o2El1O5lh91dnZ2cnJydp4wsW9FTBFQVRx36aMS+83gcALMbNumz8tXrcgODgrqCQoKDs7O7ltbURETE/e7tOrJrz1hHCBFnAcLPAqvzJyRl3c6/+LZ/PwZM89HFr9Yu/7Lh+8bqydstYCkAv2k/gKPyPnyzJJcc8WYmZmVNbVNFDxWxpZc7RdVZ4KlFSZrPj5+YWAqs2ESgQqxW3EKMTFxArnEAgDLUd+tnLfEzAAAAABJRU5ErkJggg==",O={id:"mapview",ref:"mapview"},Z=h({name:"Amap",__name:"Amap",setup(v){let w,p;const M=F(),m=C({loading:!E()}),o=()=>{p&&p.on("complete",()=>{m.loading=!1})};return S(()=>{if(!M)return;const{MapConfigure:n}=M.appContext.config.globalProperties.$config,{options:s}=n;N.load({key:n.amapKey,version:"2.0",plugins:["AMap.MarkerCluster"]}).then(d=>{p=new d.Map(M.refs.mapview,s),p.plugin(["AMap.ToolBar","AMap.MapType"],()=>{p.addControl(new d.ToolBar),p.addControl(new d.MapType({defaultType:0}))}),w=new d.MarkerCluster(p,[],{gridSize:80,maxZoom:14,renderMarker(A){const{marker:f,data:e}=A;if(Array.isArray(e)&&e[0]){const{driver:r,plateNumber:a,orientation:i}=e[0],t=``;f.setContent(t),f.setLabel({direction:"bottom",offset:new d.Pixel(-4,0),content:`
${a}(${r})
`}),f.setOffset(new d.Pixel(-18,-10)),f.on("click",({lnglat:l})=>{p.setZoom(13),p.setCenter(l)})}}}),T().then(({data:A})=>{const f=A.map(e=>({lnglat:[e.lng,e.lat],...e}));w&&w.setData(f)}).catch(A=>{}),o()}).catch(()=>{throw m.loading=!1,"地图加载失败,请重新加载"})}),P(()=>{p&&p.destroy()&&p.clearEvents("click")}),(n,s)=>{const d=B("loading");return R((I(),D("div",O,null,512)),[[d,m.loading]])}}});const q=y(Z,[["__scopeId","data-v-2ac3e490"]]),K=J(q),Q=h({name:"MapPage",__name:"index",setup(v){return(w,p)=>(I(),Y(j(K)))}});const V=y(Q,[["__scopeId","data-v-bad3ff67"]]);export{V as default}; diff --git a/dist/static/js/index-d34e9ba8.js b/dist/static/js/index-d34e9ba8.js deleted file mode 100644 index 4b4b8944c..000000000 --- a/dist/static/js/index-d34e9ba8.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-fb59f01c.js";import"./columns-2e2a5dc4.js";import"./print-a6e42845.js";import"./data-c6346f61.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/index-d35d45ca.js b/dist/static/js/index-d35d45ca.js new file mode 100644 index 000000000..7a7d4d50b --- /dev/null +++ b/dist/static/js/index-d35d45ca.js @@ -0,0 +1,2 @@ +import{list as h}from"./list-04e09b6f.js";import{d as x,r as y,a as t,c as r,w as e,o as a,e as p,f as i,h as n,i as v,q as C,t as g,T,j as w,u as B,F as N,_ as V}from"./index-42b0cfe4.js";import"./base.vue_vue_type_script_setup_true_lang-612cd722.js";import"./data-9af24e22.js";import"./stripe.vue_vue_type_script_setup_true_lang-4a967d59.js";import"./border.vue_vue_type_script_setup_true_lang-4222cc4e.js";import"./status.vue_vue_type_style_index_0_lang-2ca59ed4.js";import"./fixHeader.vue_vue_type_script_setup_true_lang-b5bb4f13.js";import"./fixColumn.vue_vue_type_script_setup_true_lang-501e751f.js";import"./fluidHeight.vue_vue_type_script_setup_true_lang-edf42a61.js";import"./groupHeader.vue_vue_type_script_setup_true_lang-e3f92fa7.js";import"./radio.vue_vue_type_script_setup_true_lang-5588d1c7.js";import"./multipleChoice.vue_vue_type_script_setup_true_lang-c54a4e8c.js";import"./sortable.vue_vue_type_script_setup_true_lang-4444de65.js";import"./filters.vue_vue_type_script_setup_true_lang-782bece9.js";import"./index.vue_vue_type_script_setup_true_lang-9cbaaa8a.js";import"./columns-1b8f8615.js";import"./index.vue_vue_type_script_setup_true_lang-c03ca486.js";import"./columns-b312cbd2.js";import"./expand.vue_vue_type_script_setup_true_lang-3909fccf.js";import"./tree.vue_vue_type_script_setup_true_lang-4deb1854.js";import"./totalRow.vue_vue_type_script_setup_true_lang-fa751452.js";import"./merge.vue_vue_type_script_setup_true_lang-5d77abbf.js";import"./customIndex.vue_vue_type_script_setup_true_lang-092ec924.js";import"./layout.vue_vue_type_script_setup_true_lang-7f60d3fd.js";import"./nestProp.vue_vue_type_script_setup_true_lang-79a7fd0b.js";import"./imgPreview.vue_vue_type_script_setup_true_lang-20b57e0d.js";const z={class:"card-header"},D={class:"font-medium"},F=x({name:"PureTable",__name:"index",setup(S){const l=y(0);function m({index:s}){l.value=s}return(s,$)=>{const _=t("el-link"),d=t("el-alert"),u=t("el-tooltip"),f=t("el-tab-pane"),b=t("el-tabs"),k=t("el-card");return a(),r(k,{shadow:"never"},{header:e(()=>[p("div",z,[p("span",D,[i(" 平台二次封装 element-plus 的 Table ,完全兼容 Api 并提供灵活的配置项以及完善的类型提醒,再也不用将代码都写在 template 里了,欢迎 Star "),n(_,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:e(()=>[i(" @pureadmin/table ")]),_:1})])])]),default:e(()=>[n(d,{title:`基础用法中大部分表格都没设置 row-key ,不过最好都设置一下,后端需返回唯一值的字段,比如id 作用:1. 用来优化 Table + 的渲染,尤其当字段在深层结构中;2. 防止某些操作导致表格组件内部混乱`,type:"info",closable:!1}),n(b,{onTabClick:m},{default:e(()=>[(a(!0),v(N,null,C(B(h),(o,c)=>(a(),r(f,{key:o.key,lazy:!0},{label:e(()=>[n(u,{content:`(第 ${c+1} 个示例)${o.content}`,placement:"top-end"},{default:e(()=>[p("span",null,g(o.title),1)]),_:2},1032,["content"])]),default:e(()=>[l.value==c?(a(),r(T(o.component),{key:0})):w("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}});const le=V(F,[["__scopeId","data-v-6ccac02e"]]);export{le as default}; diff --git a/dist/static/js/index-8ac4644e.js b/dist/static/js/index-d57d3027.js similarity index 71% rename from dist/static/js/index-8ac4644e.js rename to dist/static/js/index-d57d3027.js index 163a4c1da..f8bb67bab 100644 --- a/dist/static/js/index-8ac4644e.js +++ b/dist/static/js/index-d57d3027.js @@ -1 +1 @@ -import{T as s}from"./index-e5cd6a13.js";import{d as o,a as n,c as r,w as e,o as c,h as d,u as _,e as a}from"./index-ceadd577.js";const p=a("div",{class:"card-header"},[a("span",{class:"font-medium"}," 打字机组件 ")],-1),h=o({name:"Typeit",__name:"index",setup(m){return(i,l)=>{const t=n("el-card");return c(),r(t,{shadow:"never"},{header:e(()=>[p]),default:e(()=>[d(_(s),{values:["test1","test2","test3"]})]),_:1})}}});export{h as default}; +import{T as s}from"./index-6393607f.js";import{d as o,a as n,c as r,w as e,o as c,h as d,u as _,e as a}from"./index-42b0cfe4.js";const p=a("div",{class:"card-header"},[a("span",{class:"font-medium"}," 打字机组件 ")],-1),h=o({name:"Typeit",__name:"index",setup(m){return(i,l)=>{const t=n("el-card");return c(),r(t,{shadow:"never"},{header:e(()=>[p]),default:e(()=>[d(_(s),{values:["test1","test2","test3"]})]),_:1})}}});export{h as default}; diff --git a/dist/static/js/index-5940b582.js b/dist/static/js/index-de2c4931.js similarity index 90% rename from dist/static/js/index-5940b582.js rename to dist/static/js/index-de2c4931.js index 3bbbace9c..116c3ef85 100644 --- a/dist/static/js/index-5940b582.js +++ b/dist/static/js/index-de2c4931.js @@ -1 +1 @@ -import{d as i,r as c,$ as p,b7 as _,a as h,i as l,e as n,t,u as e,h as x,j as f,o as m}from"./index-ceadd577.js";const V={class:"dark:text-white"},v={style:{"text-indent":"2em"}},y={style:{"text-indent":"4em"}},k={key:0,class:"mt-4"},b=i({name:"Menu1-2-2",__name:"index",setup(B){const o=c(""),{t:s}=p(),{query:a}=_();return(C,u)=>{const d=h("el-input");return m(),l("div",V,[n("p",null,t(e(s)("menus.hsmenu1")),1),n("p",v,t(e(s)("menus.hsmenu1-2")),1),n("p",y,t(e(s)("menus.hsmenu1-2-2")),1),x(d,{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=r=>o.value=r)},null,8,["modelValue"]),e(a).text?(m(),l("div",k," 此页面携带的参数值为:"+t(e(a).text),1)):f("",!0)])}}});export{b as default}; +import{d as i,r as c,$ as p,b7 as _,a as h,i as l,e as n,t,u as e,h as x,j as f,o as m}from"./index-42b0cfe4.js";const V={class:"dark:text-white"},v={style:{"text-indent":"2em"}},y={style:{"text-indent":"4em"}},k={key:0,class:"mt-4"},b=i({name:"Menu1-2-2",__name:"index",setup(B){const o=c(""),{t:s}=p(),{query:a}=_();return(C,u)=>{const d=h("el-input");return m(),l("div",V,[n("p",null,t(e(s)("menus.hsmenu1")),1),n("p",v,t(e(s)("menus.hsmenu1-2")),1),n("p",y,t(e(s)("menus.hsmenu1-2-2")),1),x(d,{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=r=>o.value=r)},null,8,["modelValue"]),e(a).text?(m(),l("div",k," 此页面携带的参数值为:"+t(e(a).text),1)):f("",!0)])}}});export{b as default}; diff --git a/dist/static/js/index-e13ce893.js b/dist/static/js/index-de52d59b.js similarity index 70% rename from dist/static/js/index-e13ce893.js rename to dist/static/js/index-de52d59b.js index 62a62ea9f..38ebf1727 100644 --- a/dist/static/js/index-e13ce893.js +++ b/dist/static/js/index-de52d59b.js @@ -1 +1 @@ -import{_ as p}from"./base.vue_vue_type_script_setup_true_lang-126ca264.js";import{_ as f}from"./multi.vue_vue_type_script_setup_true_lang-bd046a75.js";import{_ as u}from"./picUpload.vue_vue_type_script_setup_true_lang-31bef239.js";import{d as x,r as v,a,c as h,w as t,o as w,e as l,f as c,h as e,u as s,_ as V}from"./index-ceadd577.js";import"./index.esm-7c905650.js";import"./index-8460cfed.js";const g=p,k=f,B=u,N={class:"card-header"},y={class:"font-medium"},C=x({name:"Editor",__name:"index",setup($){const n=v(["1"]);return(U,_)=>{const d=a("el-link"),o=a("el-collapse-item"),r=a("el-collapse"),i=a("el-card");return w(),h(i,{shadow:"never"},{header:t(()=>[l("div",N,[l("span",y,[c(" 编辑器组件,采用开源的 "),e(d,{href:"https://www.wangeditor.com",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>[c(" Wangeditor ")]),_:1})])])]),default:t(()=>[e(r,{modelValue:n.value,"onUpdate:modelValue":_[0]||(_[0]=m=>n.value=m),accordion:""},{default:t(()=>[e(o,{title:"基础用法",name:"1"},{default:t(()=>[e(s(g))]),_:1}),e(o,{title:"多个富文本",name:"2"},{default:t(()=>[e(s(k))]),_:1}),e(o,{title:"自定义图片上传",name:"3"},{default:t(()=>[e(s(B))]),_:1})]),_:1},8,["modelValue"])]),_:1})}}});const T=V(C,[["__scopeId","data-v-f2804edf"]]);export{T as default}; +import{_ as p}from"./base.vue_vue_type_script_setup_true_lang-64b0f3d7.js";import{_ as f}from"./multi.vue_vue_type_script_setup_true_lang-05075165.js";import{_ as u}from"./picUpload.vue_vue_type_script_setup_true_lang-c067a5b6.js";import{d as x,r as v,a,c as h,w as t,o as w,e as l,f as c,h as e,u as s,_ as V}from"./index-42b0cfe4.js";import"./index.esm-afc87593.js";import"./index-95007ff2.js";const g=p,k=f,B=u,N={class:"card-header"},y={class:"font-medium"},C=x({name:"Editor",__name:"index",setup($){const n=v(["1"]);return(U,_)=>{const d=a("el-link"),o=a("el-collapse-item"),r=a("el-collapse"),i=a("el-card");return w(),h(i,{shadow:"never"},{header:t(()=>[l("div",N,[l("span",y,[c(" 编辑器组件,采用开源的 "),e(d,{href:"https://www.wangeditor.com",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>[c(" Wangeditor ")]),_:1})])])]),default:t(()=>[e(r,{modelValue:n.value,"onUpdate:modelValue":_[0]||(_[0]=m=>n.value=m),accordion:""},{default:t(()=>[e(o,{title:"基础用法",name:"1"},{default:t(()=>[e(s(g))]),_:1}),e(o,{title:"多个富文本",name:"2"},{default:t(()=>[e(s(k))]),_:1}),e(o,{title:"自定义图片上传",name:"3"},{default:t(()=>[e(s(B))]),_:1})]),_:1},8,["modelValue"])]),_:1})}}});const T=V(C,[["__scopeId","data-v-f2804edf"]]);export{T as default}; diff --git a/dist/static/js/index-dee002d6.js b/dist/static/js/index-dee002d6.js deleted file mode 100644 index 7106bbbba..000000000 --- a/dist/static/js/index-dee002d6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-56274f1f.js";import"./columns-1b794032.js";import"./index-ceadd577.js";import"./data-ce9440dd.js";export{o as default}; diff --git a/dist/static/js/index-473f73b2.js b/dist/static/js/index-e4012f33.js similarity index 86% rename from dist/static/js/index-473f73b2.js rename to dist/static/js/index-e4012f33.js index 531e9d086..806290f04 100644 --- a/dist/static/js/index-473f73b2.js +++ b/dist/static/js/index-e4012f33.js @@ -1 +1 @@ -import{useDept as I}from"./hook-567db8d9.js";import{R as N,D as P,P as U}from"./refresh-66a59325.js";import{u as i}from"./hooks-82c6b5e4.js";import{d as z}from"./edit-pen-37b5ced2.js";import{d as E}from"./search-cc37b371.js";import{d as F}from"./add-circle-line-a03ff6bd.js";import{d as L,r as y,a as n,o as O,i as j,h as o,w as t,u as e,f as m,_ as q}from"./index-ceadd577.js";import"./form.vue_vue_type_script_setup_true_lang-0e445be8.js";import"./index-8460cfed.js";import"./hooks-0879ef18.js";import"./system-64319881.js";import"./epTheme-904e4673.js";import"./sortable.esm-e674cde8.js";const A={class:"main"},G=L({name:"Dept",__name:"index",setup(H){const d=y(),f=y(),{form:r,loading:_,columns:C,dataList:k,onSearch:u,resetForm:x,openDialog:b,handleDelete:h,handleSelectionChange:R}=I();return(J,a)=>{var v;const w=n("el-input"),p=n("el-form-item"),g=n("el-option"),V=n("el-select"),s=n("el-button"),$=n("el-form"),D=n("el-popconfirm"),B=n("pure-table");return O(),j("div",A,[o($,{ref_key:"formRef",ref:d,inline:!0,model:e(r),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"},{default:t(()=>[o(p,{label:"部门名称:",prop:"name"},{default:t(()=>[o(w,{modelValue:e(r).name,"onUpdate:modelValue":a[0]||(a[0]=l=>e(r).name=l),placeholder:"请输入部门名称",clearable:"",class:"!w-[200px]"},null,8,["modelValue"])]),_:1}),o(p,{label:"状态:",prop:"status"},{default:t(()=>[o(V,{modelValue:e(r).status,"onUpdate:modelValue":a[1]||(a[1]=l=>e(r).status=l),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:t(()=>[o(g,{label:"启用",value:1}),o(g,{label:"停用",value:0})]),_:1},8,["modelValue"])]),_:1}),o(p,null,{default:t(()=>[o(s,{type:"primary",icon:e(i)(e(E)),loading:e(_),onClick:e(u)},{default:t(()=>[m(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),o(s,{icon:e(i)(e(N)),onClick:a[2]||(a[2]=l=>e(x)(d.value))},{default:t(()=>[m(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(U),{title:"部门列表(仅演示,操作后不生效)",columns:e(C),tableRef:(v=f.value)==null?void 0:v.getTableRef(),onRefresh:e(u)},{buttons:t(()=>[o(s,{type:"primary",icon:e(i)(e(F)),onClick:a[3]||(a[3]=l=>e(b)())},{default:t(()=>[m(" 新增部门 ")]),_:1},8,["icon"])]),default:t(({size:l,dynamicColumns:S})=>[o(B,{ref_key:"tableRef",ref:f,border:"",adaptive:"",adaptiveConfig:{offsetBottom:32},"align-whole":"center","row-key":"id",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(_),size:l,data:e(k),columns:S,"header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:e(R)},{operation:t(({row:c})=>[o(s,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(i)(e(z)),onClick:T=>e(b)("编辑",c)},{default:t(()=>[m(" 编辑 ")]),_:2},1032,["size","icon","onClick"]),o(D,{title:`是否确认删除部门名称为${c.name}的这条数据`,onConfirm:T=>e(h)(c)},{reference:t(()=>[o(s,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(i)(e(P))},{default:t(()=>[m(" 删除 ")]),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","header-cell-style","onSelectionChange"])]),_:1},8,["columns","tableRef","onRefresh"])])}}});const re=q(G,[["__scopeId","data-v-9b9a2b52"]]);export{re as default}; +import{useDept as I}from"./hook-fb180ed8.js";import{R as N,D as P,P as U}from"./refresh-ac0fe015.js";import{u as i}from"./hooks-2ea9b191.js";import{d as z}from"./edit-pen-37b5ced2.js";import{d as E}from"./search-cc37b371.js";import{d as F}from"./add-circle-line-a03ff6bd.js";import{d as L,r as y,a as n,o as O,i as j,h as o,w as t,u as e,f as m,_ as q}from"./index-42b0cfe4.js";import"./form.vue_vue_type_script_setup_true_lang-20cd937b.js";import"./index-95007ff2.js";import"./hooks-7e719396.js";import"./system-b32e34d2.js";import"./epTheme-ff3a171c.js";import"./sortable.esm-e674cde8.js";const A={class:"main"},G=L({name:"Dept",__name:"index",setup(H){const d=y(),f=y(),{form:r,loading:_,columns:C,dataList:k,onSearch:u,resetForm:x,openDialog:b,handleDelete:h,handleSelectionChange:R}=I();return(J,a)=>{var v;const w=n("el-input"),p=n("el-form-item"),g=n("el-option"),V=n("el-select"),s=n("el-button"),$=n("el-form"),D=n("el-popconfirm"),B=n("pure-table");return O(),j("div",A,[o($,{ref_key:"formRef",ref:d,inline:!0,model:e(r),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"},{default:t(()=>[o(p,{label:"部门名称:",prop:"name"},{default:t(()=>[o(w,{modelValue:e(r).name,"onUpdate:modelValue":a[0]||(a[0]=l=>e(r).name=l),placeholder:"请输入部门名称",clearable:"",class:"!w-[200px]"},null,8,["modelValue"])]),_:1}),o(p,{label:"状态:",prop:"status"},{default:t(()=>[o(V,{modelValue:e(r).status,"onUpdate:modelValue":a[1]||(a[1]=l=>e(r).status=l),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:t(()=>[o(g,{label:"启用",value:1}),o(g,{label:"停用",value:0})]),_:1},8,["modelValue"])]),_:1}),o(p,null,{default:t(()=>[o(s,{type:"primary",icon:e(i)(e(E)),loading:e(_),onClick:e(u)},{default:t(()=>[m(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),o(s,{icon:e(i)(e(N)),onClick:a[2]||(a[2]=l=>e(x)(d.value))},{default:t(()=>[m(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(U),{title:"部门列表(仅演示,操作后不生效)",columns:e(C),tableRef:(v=f.value)==null?void 0:v.getTableRef(),onRefresh:e(u)},{buttons:t(()=>[o(s,{type:"primary",icon:e(i)(e(F)),onClick:a[3]||(a[3]=l=>e(b)())},{default:t(()=>[m(" 新增部门 ")]),_:1},8,["icon"])]),default:t(({size:l,dynamicColumns:S})=>[o(B,{ref_key:"tableRef",ref:f,border:"",adaptive:"",adaptiveConfig:{offsetBottom:32},"align-whole":"center","row-key":"id",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(_),size:l,data:e(k),columns:S,"header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:e(R)},{operation:t(({row:c})=>[o(s,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(i)(e(z)),onClick:T=>e(b)("编辑",c)},{default:t(()=>[m(" 编辑 ")]),_:2},1032,["size","icon","onClick"]),o(D,{title:`是否确认删除部门名称为${c.name}的这条数据`,onConfirm:T=>e(h)(c)},{reference:t(()=>[o(s,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(i)(e(P))},{default:t(()=>[m(" 删除 ")]),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","header-cell-style","onSelectionChange"])]),_:1},8,["columns","tableRef","onRefresh"])])}}});const re=q(G,[["__scopeId","data-v-9b9a2b52"]]);export{re as default}; diff --git a/dist/static/js/index-e45aa78f.js b/dist/static/js/index-e45aa78f.js new file mode 100644 index 000000000..4b0993a87 --- /dev/null +++ b/dist/static/js/index-e45aa78f.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-fc1e8d16.js";import"./columns-474c4a4a.js";import"./data-43132d69.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/index-9d9cd6a4.js b/dist/static/js/index-e4f048dd.js similarity index 97% rename from dist/static/js/index-9d9cd6a4.js rename to dist/static/js/index-e4f048dd.js index 67f7a1892..28574aa2d 100644 --- a/dist/static/js/index-9d9cd6a4.js +++ b/dist/static/js/index-e4f048dd.js @@ -1 +1 @@ -import{d as h,D as k,h as a,u as s,r as p,g as V,ar as A,F as H,ai as L,a as U,c as W,w as o,o as X,e as r,s as Y,v as E,_ as G}from"./index-ceadd577.js";const R=h({name:"Resizer",props:{split:{type:String,required:!0},className:{type:String,default:""}},setup(e){const i=k(()=>["splitter-pane-resizer",e.split,e.className].join(" "));return()=>a("div",{class:s(i)},null)}});const T=h({name:"SplitPane",components:{resizer:R},props:{splitSet:{type:Object,require:!0}},emits:["resize"],setup(e,i){var m,S,g,w,P;const l=p(!1),d=p(!1),n=p((m=e.splitSet)==null?void 0:m.defaultPercent),u=((S=e.splitSet)==null?void 0:S.split)==="vertical"?"width":"height",B=((g=e.splitSet)==null?void 0:g.split)==="vertical"?"left":"top",I=p(["splitter-pane splitter-paneL",(w=e.splitSet)==null?void 0:w.split]),N=p(["splitter-pane splitter-paneR",(P=e.splitSet)==null?void 0:P.split]),$=k(()=>{var t;return l.value?((t=e.splitSet)==null?void 0:t.split)==="vertical"?{cursor:"col-resize"}:{cursor:"row-resize"}:{cursor:"default"}}),b=()=>{d.value||(n.value=50,i.emit("resize",n.value))},D=()=>{l.value=!0,d.value=!1},j=()=>{l.value=!1},q=t=>{var y,z,M,C,x;if((t.buttons===0||t.which===0)&&(l.value=!1),l.value){let f=0,c=t.currentTarget;if(((y=e.splitSet)==null?void 0:y.split)==="vertical")for(;c;)f+=c.offsetLeft,c=c.offsetParent;else for(;c;)f+=c.offsetTop,c=c.offsetParent;const F=((z=e.splitSet)==null?void 0:z.split)==="vertical"?t.pageX:t.pageY,O=((M=e.splitSet)==null?void 0:M.split)==="vertical"?t.currentTarget.offsetWidth:t.currentTarget.offsetHeight,_=Math.floor((F-f)/O*1e4)/100;_>((C=e.splitSet)==null?void 0:C.minPercent)&&_<100-((x=e.splitSet)==null?void 0:x.minPercent)&&(n.value=_),i.emit("resize",n.value),d.value=!0}};return()=>{var t;return a(H,null,[a("div",{class:"vue-splitter-container clearfix",style:s($),onMouseup:()=>j(),onMousemove:()=>q(event)},[a("div",{class:s(I),style:{[s(u)]:s(n)+"%"}},[i.slots.paneL()]),a(R,{style:`${s([B])}:${s(n)}%`,split:(t=e.splitSet)==null?void 0:t.split,onMousedown:()=>D(),onClick:()=>b()},null),a("div",{class:s(N),style:{[s(u)]:100-s(n)+"%"}},[i.slots.paneR()]),V(a("div",{class:"vue-splitter-container-mask"},null),[[A,s(l)]])])])}}}),v=e=>(Y("data-v-62ddaddc"),e=e(),E(),e),J=v(()=>r("div",{class:"card-header"},[r("span",{class:"font-medium"},"切割面板组件")],-1)),K={class:"split-pane"},Q=v(()=>r("div",{class:"dv-a"},"A",-1)),Z=v(()=>r("div",{class:"dv-b"},"B",-1)),ee=v(()=>r("div",{class:"dv-c"},"C",-1)),te=h({name:"SplitPane",__name:"index",setup(e){const i=L({minPercent:20,defaultPercent:40,split:"vertical"}),l=L({minPercent:20,defaultPercent:40,split:"horizontal"});return(d,n)=>{const u=U("el-card");return X(),W(u,{shadow:"never"},{header:o(()=>[J]),default:o(()=>[r("div",K,[a(s(T),{splitSet:i},{paneL:o(()=>[Q]),paneR:o(()=>[a(s(T),{splitSet:l},{paneL:o(()=>[Z]),paneR:o(()=>[ee]),_:1},8,["splitSet"])]),_:1},8,["splitSet"])])]),_:1})}}});const ae=G(te,[["__scopeId","data-v-62ddaddc"]]);export{ae as default}; +import{d as h,D as k,h as a,u as s,r as p,g as V,ar as A,F as H,ai as L,a as U,c as W,w as o,o as X,e as r,s as Y,v as E,_ as G}from"./index-42b0cfe4.js";const R=h({name:"Resizer",props:{split:{type:String,required:!0},className:{type:String,default:""}},setup(e){const i=k(()=>["splitter-pane-resizer",e.split,e.className].join(" "));return()=>a("div",{class:s(i)},null)}});const T=h({name:"SplitPane",components:{resizer:R},props:{splitSet:{type:Object,require:!0}},emits:["resize"],setup(e,i){var m,S,g,w,P;const l=p(!1),d=p(!1),n=p((m=e.splitSet)==null?void 0:m.defaultPercent),u=((S=e.splitSet)==null?void 0:S.split)==="vertical"?"width":"height",B=((g=e.splitSet)==null?void 0:g.split)==="vertical"?"left":"top",I=p(["splitter-pane splitter-paneL",(w=e.splitSet)==null?void 0:w.split]),N=p(["splitter-pane splitter-paneR",(P=e.splitSet)==null?void 0:P.split]),$=k(()=>{var t;return l.value?((t=e.splitSet)==null?void 0:t.split)==="vertical"?{cursor:"col-resize"}:{cursor:"row-resize"}:{cursor:"default"}}),b=()=>{d.value||(n.value=50,i.emit("resize",n.value))},D=()=>{l.value=!0,d.value=!1},j=()=>{l.value=!1},q=t=>{var y,z,M,C,x;if((t.buttons===0||t.which===0)&&(l.value=!1),l.value){let f=0,c=t.currentTarget;if(((y=e.splitSet)==null?void 0:y.split)==="vertical")for(;c;)f+=c.offsetLeft,c=c.offsetParent;else for(;c;)f+=c.offsetTop,c=c.offsetParent;const F=((z=e.splitSet)==null?void 0:z.split)==="vertical"?t.pageX:t.pageY,O=((M=e.splitSet)==null?void 0:M.split)==="vertical"?t.currentTarget.offsetWidth:t.currentTarget.offsetHeight,_=Math.floor((F-f)/O*1e4)/100;_>((C=e.splitSet)==null?void 0:C.minPercent)&&_<100-((x=e.splitSet)==null?void 0:x.minPercent)&&(n.value=_),i.emit("resize",n.value),d.value=!0}};return()=>{var t;return a(H,null,[a("div",{class:"vue-splitter-container clearfix",style:s($),onMouseup:()=>j(),onMousemove:()=>q(event)},[a("div",{class:s(I),style:{[s(u)]:s(n)+"%"}},[i.slots.paneL()]),a(R,{style:`${s([B])}:${s(n)}%`,split:(t=e.splitSet)==null?void 0:t.split,onMousedown:()=>D(),onClick:()=>b()},null),a("div",{class:s(N),style:{[s(u)]:100-s(n)+"%"}},[i.slots.paneR()]),V(a("div",{class:"vue-splitter-container-mask"},null),[[A,s(l)]])])])}}}),v=e=>(Y("data-v-62ddaddc"),e=e(),E(),e),J=v(()=>r("div",{class:"card-header"},[r("span",{class:"font-medium"},"切割面板组件")],-1)),K={class:"split-pane"},Q=v(()=>r("div",{class:"dv-a"},"A",-1)),Z=v(()=>r("div",{class:"dv-b"},"B",-1)),ee=v(()=>r("div",{class:"dv-c"},"C",-1)),te=h({name:"SplitPane",__name:"index",setup(e){const i=L({minPercent:20,defaultPercent:40,split:"vertical"}),l=L({minPercent:20,defaultPercent:40,split:"horizontal"});return(d,n)=>{const u=U("el-card");return X(),W(u,{shadow:"never"},{header:o(()=>[J]),default:o(()=>[r("div",K,[a(s(T),{splitSet:i},{paneL:o(()=>[Q]),paneR:o(()=>[a(s(T),{splitSet:l},{paneL:o(()=>[Z]),paneR:o(()=>[ee]),_:1},8,["splitSet"])]),_:1},8,["splitSet"])])]),_:1})}}});const ae=G(te,[["__scopeId","data-v-62ddaddc"]]);export{ae as default}; diff --git a/dist/static/js/index-e864bef2.js b/dist/static/js/index-e864bef2.js deleted file mode 100644 index fc46456ad..000000000 --- a/dist/static/js/index-e864bef2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-71f20b48.js";import"./columns-2bdec4e7.js";import"./index-ceadd577.js";import"./data-ce9440dd.js";export{o as default}; diff --git a/dist/static/js/index-e8663534.js b/dist/static/js/index-e8663534.js deleted file mode 100644 index e8d07e761..000000000 --- a/dist/static/js/index-e8663534.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-cef39cb0.js";import"./columns-67044dfe.js";import"./sortable.esm-e674cde8.js";import"./index-ceadd577.js";import"./data-c6346f61.js";export{o as default}; diff --git a/dist/static/js/index-2ec31c36.js b/dist/static/js/index-f21835af.js similarity index 94% rename from dist/static/js/index-2ec31c36.js rename to dist/static/js/index-f21835af.js index 137d57578..5031a1a07 100644 --- a/dist/static/js/index-2ec31c36.js +++ b/dist/static/js/index-f21835af.js @@ -1 +1 @@ -import{o as n,i as d,e as t,d as a,a2 as i,h as l,u as c,s as r,v as p,_ as u}from"./index-ceadd577.js";const h={width:"32",height:"32",viewBox:"0 0 48 48"},f=t("path",{fill:"#2F88FF","fill-rule":"evenodd",stroke:"#000","stroke-linejoin":"round","stroke-width":"4",d:"M44 40.836c-4.893-5.973-9.238-9.362-13.036-10.168-3.797-.805-7.412-.927-10.846-.365V41L4 23.545 20.118 7v10.167c6.349.05 11.746 2.328 16.192 6.833 4.445 4.505 7.009 10.117 7.69 16.836Z","clip-rule":"evenodd"},null,-1),v=[f];function x(e,o){return n(),d("svg",h,v)}const k={render:x},_=e=>(r("data-v-b1cd7caf"),e=e(),p(),e),m={class:"w-full h-full text-center"},w=_(()=>t("h1",null,"业务内容模块",-1)),b=_(()=>t("p",null,"使用场景:需要外嵌平台某个页面,不需要展示菜单导航以及额外模块",-1)),g=a({name:"Empty",__name:"index",setup(e){const o=i();return(B,s)=>(n(),d("div",m,[w,b,t("div",{class:"back",title:"返回上一页",onClick:s[0]||(s[0]=I=>c(o).go(-1))},[l(c(k),{class:"w-[80px] h-[80px]"})])]))}});const y=u(g,[["__scopeId","data-v-b1cd7caf"]]);export{y as default}; +import{o as n,i as d,e as t,d as a,a2 as i,h as l,u as c,s as r,v as p,_ as u}from"./index-42b0cfe4.js";const h={width:"32",height:"32",viewBox:"0 0 48 48"},f=t("path",{fill:"#2F88FF","fill-rule":"evenodd",stroke:"#000","stroke-linejoin":"round","stroke-width":"4",d:"M44 40.836c-4.893-5.973-9.238-9.362-13.036-10.168-3.797-.805-7.412-.927-10.846-.365V41L4 23.545 20.118 7v10.167c6.349.05 11.746 2.328 16.192 6.833 4.445 4.505 7.009 10.117 7.69 16.836Z","clip-rule":"evenodd"},null,-1),v=[f];function x(e,o){return n(),d("svg",h,v)}const k={render:x},_=e=>(r("data-v-b1cd7caf"),e=e(),p(),e),m={class:"w-full h-full text-center"},w=_(()=>t("h1",null,"业务内容模块",-1)),b=_(()=>t("p",null,"使用场景:需要外嵌平台某个页面,不需要展示菜单导航以及额外模块",-1)),g=a({name:"Empty",__name:"index",setup(e){const o=i();return(B,s)=>(n(),d("div",m,[w,b,t("div",{class:"back",title:"返回上一页",onClick:s[0]||(s[0]=I=>c(o).go(-1))},[l(c(k),{class:"w-[80px] h-[80px]"})])]))}});const y=u(g,[["__scopeId","data-v-b1cd7caf"]]);export{y as default}; diff --git a/dist/static/js/index-f4375a30.js b/dist/static/js/index-f4375a30.js new file mode 100644 index 000000000..529567200 --- /dev/null +++ b/dist/static/js/index-f4375a30.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-6b1426e7.js";import"./columns-ffa8f14e.js";import"./index-42b0cfe4.js";import"./data-43132d69.js";export{o as default}; diff --git a/dist/static/js/index-f4bd1594.js b/dist/static/js/index-f4bd1594.js deleted file mode 100644 index 491479bb7..000000000 --- a/dist/static/js/index-f4bd1594.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-9d69299b.js";import"./columns-dae514b7.js";import"./sortable.esm-e674cde8.js";import"./index-ceadd577.js";import"./data-c6346f61.js";export{o as default}; diff --git a/dist/static/js/index-f50f18ad.js b/dist/static/js/index-f50f18ad.js new file mode 100644 index 000000000..4da2df8a2 --- /dev/null +++ b/dist/static/js/index-f50f18ad.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-3c1d02d2.js";import"./columns-81a95c64.js";import"./data-43132d69.js";import"./index-42b0cfe4.js";export{o as default}; diff --git a/dist/static/js/index-f96beb87.js b/dist/static/js/index-f96beb87.js deleted file mode 100644 index 2727d8411..000000000 --- a/dist/static/js/index-f96beb87.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-662cb145.js";import"./columns-1bc0ce1c.js";import"./data-c6346f61.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/index-fa568bbc.js b/dist/static/js/index-fa568bbc.js deleted file mode 100644 index 3f42ad5e3..000000000 --- a/dist/static/js/index-fa568bbc.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-cd853b95.js";import"./columns-43640cdf.js";import"./xlsx-f5126985.js";import"./data-c6346f61.js";import"./index-ceadd577.js";export{o as default}; diff --git a/dist/static/js/index-fa4f7129.js b/dist/static/js/index-fb5fc7d1.js similarity index 94% rename from dist/static/js/index-fa4f7129.js rename to dist/static/js/index-fb5fc7d1.js index 4f0ceb1d7..981b0567a 100644 --- a/dist/static/js/index-fa4f7129.js +++ b/dist/static/js/index-fb5fc7d1.js @@ -1,4 +1,4 @@ -import{d as N,r as s,k as T,a as l,b as $,i as m,e as j,h as n,w as r,u as p,g as v,ar as f,F as h,j as U,o as u,f as E,q as F,c as O,bG as q,m as G,n as R}from"./index-ceadd577.js";import H from"./Card-c7385b78.js";import{a as J}from"./list-80891f62.js";import{_ as K}from"./DialogForm.vue_vue_type_script_setup_true_lang-12db152c.js";import{u as Q}from"./hooks-82c6b5e4.js";import{d as W}from"./search-cc37b371.js";import{d as X}from"./add-circle-line-a03ff6bd.js";import"./more-2-fill-a666858a.js";const Y={class:"main"},Z={class:"w-full flex justify-between mb-4"},ee=` +import{d as N,r as s,k as T,a as l,b as $,i as m,e as j,h as n,w as r,u as p,g as v,ar as f,F as h,j as U,o as u,f as E,q as F,c as O,bG as q,m as G,n as R}from"./index-42b0cfe4.js";import H from"./Card-1d4ec2a8.js";import{a as J}from"./list-b5711b9c.js";import{_ as K}from"./DialogForm.vue_vue_type_script_setup_true_lang-18417c6d.js";import{u as Q}from"./hooks-2ea9b191.js";import{d as W}from"./search-cc37b371.js";import{d as X}from"./add-circle-line-a03ff6bd.js";import"./more-2-fill-a666858a.js";const Y={class:"main"},Z={class:"w-full flex justify-between mb-4"},ee=` =window.innerHeight+window.scrollY){var D=h.top-V;D>window.scrollY&&(h.top=D)}if(P+h.left>=window.innerWidth+window.scrollX){var T=h.left-P;T>window.scrollX&&(h.left=T)}}x.value=h,u("show")})},b=function(){$.value=null,c(!1),u("hide")},i=H(new Map),p=_(),g=M(function(){return p.value&&i.get(p.value)}),A=function(l,v){var a=function(){return v!=null&&v.trigger?Array.isArray(v.trigger)?v.trigger:[v.trigger]:Q.trigger}(),I=function(R){e.disabled||(p.value=l,m(R,{}))};a.forEach(function(h){l.addEventListener(h,I)}),i.set(l,{triggers:a,handler:I})},E=function(l){var v=i.get(l);v&&(v.triggers.forEach(function(a){l.removeEventListener(a,v.handler)}),i.delete(l))},S=function(l){if(!(!l.target||!n.value||!p.value)){var v=n.value.contains(l.target)||g.value&&g.value.triggers.includes("click")&&p.value.contains(l.target);v||c(!1)}};return F(s,function(C){C?document.addEventListener("click",S):document.removeEventListener("click",S)}),N(function(){document.removeEventListener("click",S)}),B("visible",s),B("autoAjustPlacement",e.autoAjustPlacement),B("show",m),B("hide",b),{visible:s,style:y,currentReferenceOptions:g,currentOptions:$,contextmenuRef:n,addReference:A,removeReference:E,toggle:c,show:m,hide:b}},methods:{renderContent:function(){var e,t;return K(d("div",{class:o.contextmenu,ref:"contextmenuRef",style:this.style},[d("ul",{class:o.contextmenuInner},[(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t,{triggerOptions:"currentReferenceOptions",options:"currentOptions"})])]),[[q,"visible"]])}},render:function(){var e;return this.visible?this.teleport?d(U,{to:this.teleport},J(e=this.renderContent())?e:{default:function(){return[e]}}):this.renderContent():null}});function f(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var ue=w({name:"VContextmenuItem",props:{disabled:{type:Boolean,default:!1},hideOnClick:{type:Boolean,default:!0}},emits:["click","mouseenter","mouseleave"],setup:function(e,t){var u=t.emit,n=j("hide"),s=_(!1),c=M(function(){var m;return m={},f(m,o.contextmenuItem,!0),f(m,o.contextmenuItemDisabled,e.disabled),f(m,o.contextmenuItemHover,s.value),m}),x=function(b){e.disabled||(u("click",b),e.hideOnClick&&(n==null||n()))},y=function(b){e.disabled||(s.value=!0,u("mouseenter",b))},$=function(b){e.disabled||(s.value=!1,u("mouseleave",b))};return{classes:c,handleClick:x,handleMouseenter:y,handleMouseleave:$}},render:function(){var e,t;return d("li",{class:this.classes,onClick:this.handleClick,onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave},[(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t)])}}),re=w({name:"VContextmenuDivider",render:function(){return d("li",{class:o.contextmenuDivider},null)}}),Z=w({name:"VContextmenuIcon",props:{name:{type:String,required:!0}},render:function(){return d("i",{class:[o.contextmenuIcon,"".concat(o.contextmenuIcon,"-").concat(this.name)]},null)}}),oe=w({name:"VContextmenuSubmenu",props:{title:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["mouseenter","mouseleave"],setup:function(e,t){var u=t.emit,n=_(null),s=j("autoAjustPlacement"),c=_(["top","right"]),x=_(!1),y=function(p){e.disabled||(x.value=!0,u("mouseenter",p),L(function(){var g=[];if(s){var A=p.target,E=A.getBoundingClientRect();if(!n.value)return;var S=n.value.clientWidth,C=n.value.clientHeight;E.right+S>=window.innerWidth?g.push("left"):g.push("right"),E.bottom+C>=window.innerHeight?g.push("bottom"):g.push("top")}c.value=g}))},$=function(p){e.disabled||(x.value=!1,u("mouseleave",p))},m=M(function(){var i;return i={},f(i,o.contextmenuItem,!0),f(i,o.contextmenuSubmenuTitle,!0),f(i,o.contextmenuItemHover,x.value),f(i,o.contextmenuItemDisabled,e.disabled),i}),b=M(function(){var i;return i={},f(i,o.contextmenu,!0),f(i,o.contextmenuSubmenuMenus,!0),f(i,o.contextmenuSubmenuMenusTop,c.value.includes("top")),f(i,o.contextmenuSubmenuMenusRight,c.value.includes("right")),f(i,o.contextmenuSubmenuMenusBottom,c.value.includes("bottom")),f(i,o.contextmenuSubmenuMenusLeft,c.value.includes("left")),i});return{hover:x,submenuRef:n,titleClasses:m,menusClasses:b,handleMouseenter:y,handleMouseleave:$}},render:function(){var e,t,u,n;return d("li",{class:o.contextmenuSubmenu,onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave},[d("div",{class:this.titleClasses},[((e=(t=this.$slots).title)===null||e===void 0?void 0:e.call(t))||this.title,d("span",{class:o.contextmenuSubmenuArrow},[d(Z,{name:"right-arrow"},null)])]),this.hover?d("div",{ref:"submenuRef",class:this.menusClasses},[d("ul",{class:o.contextmenuInner},[(u=(n=this.$slots).default)===null||u===void 0?void 0:u.call(n)])]):null])}}),ie=w({name:"VContextmenuGroup",props:{title:{type:String,default:void 0},maxWidth:{type:[Number,String],default:void 0}},setup:function(e){var t=M(function(){if(e.maxWidth)return{"max-width":typeof e.maxWidth=="number"?"".concat(e.maxWidth,"px"):e.maxWidth,"overflow-x":"auto"}});return{style:t}},methods:{renderTitle:function(){var e,t,u=((e=(t=this.$slots).title)===null||e===void 0?void 0:e.call(t))||this.title;return u?d("div",{class:o.contextmenuGroupTitle},[u]):null}},render:function(){var e,t;return d("li",{class:o.contextmenuGroup},[this.renderTitle(),d("ul",{style:this.style,class:o.contextmenuGroupMenus},[(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t)])])}});export{ne as C,ue as a,re as b,oe as c,ie as d,te as e}; +import{d as w,r as _,D as M,ai as H,E as F,l as N,W as B,g as K,h as d,b0 as U,ah as j,as as X,au as Y,n as L,ar as q}from"./index-42b0cfe4.js";var W=function(e,t){var u,n=t.arg;if(!n){console.error("参数有误");return}var s=t.value,c=X(n)?n.value:(u=t.instance)===null||u===void 0?void 0:u.$refs[n];if(!c){console.error("没有找到 ".concat(n," 对应的实例"));return}if(typeof c.addReference!="function"){console.error("".concat(n," 对应的实例不是 VContextmenu"));return}e.$contextmenuKey=n,c.addReference(e,s)},G=function(e,t){var u,n=e.$contextmenuKey;if(n){var s=(u=t.instance)===null||u===void 0?void 0:u.$refs[n];s==null||s.removeReference(e)}},z=function(e,t){G(e,t),W(e,t)},te={mounted:W,updated:z,beforeUnmount:G},o={contextmenu:"v-contextmenu",contextmenuIcon:"v-contextmenu-icon",contextmenuInner:"v-contextmenu-inner",contextmenuDivider:"v-contextmenu-divider",contextmenuItem:"v-contextmenu-item",contextmenuItemHover:"v-contextmenu-item--hover",contextmenuItemDisabled:"v-contextmenu-item--disabled",contextmenuGroup:"v-contextmenu-group",contextmenuGroupTitle:"v-contextmenu-group__title",contextmenuGroupMenus:"v-contextmenu-group__menus",contextmenuSubmenu:"v-contextmenu-submenu",contextmenuSubmenuTitle:"v-contextmenu-submenu__title",contextmenuSubmenuMenus:"v-contextmenu-submenu__menus",contextmenuSubmenuMenusTop:"v-contextmenu-submenu__menus--top",contextmenuSubmenuMenusRight:"v-contextmenu-submenu__menus--right",contextmenuSubmenuMenusBottom:"v-contextmenu-submenu__menus--bottom",contextmenuSubmenuMenusLeft:"v-contextmenu-submenu__menus--left",contextmenuSubmenuArrow:"v-contextmenu-submenu__arrow"};function J(r){return typeof r=="function"||Object.prototype.toString.call(r)==="[object Object]"&&!Y(r)}var Q={trigger:["contextmenu"]},ne=w({name:"VContextmenu",props:{modelValue:{type:Boolean,default:!1},autoAjustPlacement:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},teleport:{type:[String,Object],default:function(){return"body"}}},emits:["show","hide","update:modelValue"],setup:function(e,t){var u=t.emit,n=_(null),s=_(e.modelValue||!1),c=function(l){s.value=l,u("update:modelValue",l)},x=_({top:0,left:0}),y=M(function(){return{top:"".concat(x.value.top,"px"),left:"".concat(x.value.left,"px")}}),$=_(null),m=function(l,v){var a=l instanceof Event?v:l,I=(a==null?void 0:a.autoAjustPlacement)||e.autoAjustPlacement,h={top:(a==null?void 0:a.top)||0,left:(a==null?void 0:a.left)||0};if(l instanceof Event){var R,k;l.preventDefault(),h.top=(R=a==null?void 0:a.top)!==null&&R!==void 0?R:l.pageY,h.left=(k=a==null?void 0:a.left)!==null&&k!==void 0?k:l.pageX}c(!0),L(function(){if(I){var O=n.value;if(!O)return;var P=O.clientWidth,V=O.clientHeight;if(V+h.top>=window.innerHeight+window.scrollY){var D=h.top-V;D>window.scrollY&&(h.top=D)}if(P+h.left>=window.innerWidth+window.scrollX){var T=h.left-P;T>window.scrollX&&(h.left=T)}}x.value=h,u("show")})},b=function(){$.value=null,c(!1),u("hide")},i=H(new Map),p=_(),g=M(function(){return p.value&&i.get(p.value)}),A=function(l,v){var a=function(){return v!=null&&v.trigger?Array.isArray(v.trigger)?v.trigger:[v.trigger]:Q.trigger}(),I=function(R){e.disabled||(p.value=l,m(R,{}))};a.forEach(function(h){l.addEventListener(h,I)}),i.set(l,{triggers:a,handler:I})},E=function(l){var v=i.get(l);v&&(v.triggers.forEach(function(a){l.removeEventListener(a,v.handler)}),i.delete(l))},S=function(l){if(!(!l.target||!n.value||!p.value)){var v=n.value.contains(l.target)||g.value&&g.value.triggers.includes("click")&&p.value.contains(l.target);v||c(!1)}};return F(s,function(C){C?document.addEventListener("click",S):document.removeEventListener("click",S)}),N(function(){document.removeEventListener("click",S)}),B("visible",s),B("autoAjustPlacement",e.autoAjustPlacement),B("show",m),B("hide",b),{visible:s,style:y,currentReferenceOptions:g,currentOptions:$,contextmenuRef:n,addReference:A,removeReference:E,toggle:c,show:m,hide:b}},methods:{renderContent:function(){var e,t;return K(d("div",{class:o.contextmenu,ref:"contextmenuRef",style:this.style},[d("ul",{class:o.contextmenuInner},[(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t,{triggerOptions:"currentReferenceOptions",options:"currentOptions"})])]),[[q,"visible"]])}},render:function(){var e;return this.visible?this.teleport?d(U,{to:this.teleport},J(e=this.renderContent())?e:{default:function(){return[e]}}):this.renderContent():null}});function f(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var ue=w({name:"VContextmenuItem",props:{disabled:{type:Boolean,default:!1},hideOnClick:{type:Boolean,default:!0}},emits:["click","mouseenter","mouseleave"],setup:function(e,t){var u=t.emit,n=j("hide"),s=_(!1),c=M(function(){var m;return m={},f(m,o.contextmenuItem,!0),f(m,o.contextmenuItemDisabled,e.disabled),f(m,o.contextmenuItemHover,s.value),m}),x=function(b){e.disabled||(u("click",b),e.hideOnClick&&(n==null||n()))},y=function(b){e.disabled||(s.value=!0,u("mouseenter",b))},$=function(b){e.disabled||(s.value=!1,u("mouseleave",b))};return{classes:c,handleClick:x,handleMouseenter:y,handleMouseleave:$}},render:function(){var e,t;return d("li",{class:this.classes,onClick:this.handleClick,onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave},[(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t)])}}),re=w({name:"VContextmenuDivider",render:function(){return d("li",{class:o.contextmenuDivider},null)}}),Z=w({name:"VContextmenuIcon",props:{name:{type:String,required:!0}},render:function(){return d("i",{class:[o.contextmenuIcon,"".concat(o.contextmenuIcon,"-").concat(this.name)]},null)}}),oe=w({name:"VContextmenuSubmenu",props:{title:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["mouseenter","mouseleave"],setup:function(e,t){var u=t.emit,n=_(null),s=j("autoAjustPlacement"),c=_(["top","right"]),x=_(!1),y=function(p){e.disabled||(x.value=!0,u("mouseenter",p),L(function(){var g=[];if(s){var A=p.target,E=A.getBoundingClientRect();if(!n.value)return;var S=n.value.clientWidth,C=n.value.clientHeight;E.right+S>=window.innerWidth?g.push("left"):g.push("right"),E.bottom+C>=window.innerHeight?g.push("bottom"):g.push("top")}c.value=g}))},$=function(p){e.disabled||(x.value=!1,u("mouseleave",p))},m=M(function(){var i;return i={},f(i,o.contextmenuItem,!0),f(i,o.contextmenuSubmenuTitle,!0),f(i,o.contextmenuItemHover,x.value),f(i,o.contextmenuItemDisabled,e.disabled),i}),b=M(function(){var i;return i={},f(i,o.contextmenu,!0),f(i,o.contextmenuSubmenuMenus,!0),f(i,o.contextmenuSubmenuMenusTop,c.value.includes("top")),f(i,o.contextmenuSubmenuMenusRight,c.value.includes("right")),f(i,o.contextmenuSubmenuMenusBottom,c.value.includes("bottom")),f(i,o.contextmenuSubmenuMenusLeft,c.value.includes("left")),i});return{hover:x,submenuRef:n,titleClasses:m,menusClasses:b,handleMouseenter:y,handleMouseleave:$}},render:function(){var e,t,u,n;return d("li",{class:o.contextmenuSubmenu,onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave},[d("div",{class:this.titleClasses},[((e=(t=this.$slots).title)===null||e===void 0?void 0:e.call(t))||this.title,d("span",{class:o.contextmenuSubmenuArrow},[d(Z,{name:"right-arrow"},null)])]),this.hover?d("div",{ref:"submenuRef",class:this.menusClasses},[d("ul",{class:o.contextmenuInner},[(u=(n=this.$slots).default)===null||u===void 0?void 0:u.call(n)])]):null])}}),ie=w({name:"VContextmenuGroup",props:{title:{type:String,default:void 0},maxWidth:{type:[Number,String],default:void 0}},setup:function(e){var t=M(function(){if(e.maxWidth)return{"max-width":typeof e.maxWidth=="number"?"".concat(e.maxWidth,"px"):e.maxWidth,"overflow-x":"auto"}});return{style:t}},methods:{renderTitle:function(){var e,t,u=((e=(t=this.$slots).title)===null||e===void 0?void 0:e.call(t))||this.title;return u?d("div",{class:o.contextmenuGroupTitle},[u]):null}},render:function(){var e,t;return d("li",{class:o.contextmenuGroup},[this.renderTitle(),d("ul",{style:this.style,class:o.contextmenuGroupMenus},[(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t)])])}});export{ne as C,ue as a,re as b,oe as c,ie as d,te as e}; diff --git a/dist/static/js/index.esm-7c905650.js b/dist/static/js/index.esm-afc87593.js similarity index 99% rename from dist/static/js/index.esm-7c905650.js rename to dist/static/js/index.esm-afc87593.js index 4ccf8a497..718464bf2 100644 --- a/dist/static/js/index.esm-7c905650.js +++ b/dist/static/js/index.esm-afc87593.js @@ -1,4 +1,4 @@ -import{d as rP,r as h4,b3 as e$,k as n$,E as r$,o as oP,i as iP,b4 as o$,b5 as i$}from"./index-ceadd577.js";var se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a$(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function as(t){var e={exports:{}};return t(e,e.exports),e.exports}var yi,z0,Bh=function(t){return t&&t.Math==Math&&t},kt=Bh(typeof globalThis=="object"&&globalThis)||Bh(typeof window=="object"&&window)||Bh(typeof self=="object"&&self)||Bh(typeof se=="object"&&se)||function(){return this}()||Function("return this")(),J3=Function.prototype,pS=J3.apply,u$=J3.bind,hS=J3.call,aP=typeof Reflect=="object"&&Reflect.apply||(u$?hS.bind(pS):function(){return hS.apply(pS,arguments)}),uP=Function.prototype,g4=uP.bind,v4=uP.call,s$=g4&&g4.bind(v4),ge=g4?function(t){return t&&s$(v4,t)}:function(t){return t&&function(){return v4.apply(t,arguments)}},sn=function(t){return typeof t=="function"},Gn=function(t){try{return!!t()}catch{return!0}},Hn=!Gn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Oc=Function.prototype.call,zn=Oc.bind?Oc.bind(Oc):function(){return Oc.apply(Oc,arguments)},gS={}.propertyIsEnumerable,vS=Object.getOwnPropertyDescriptor,l$=vS&&!gS.call({1:2},1)?function(t){var e=vS(this,t);return!!e&&e.enumerable}:gS,Q3={f:l$},Yr=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},c$=ge({}.toString),f$=ge("".slice),Eu=function(t){return f$(c$(t),8,-1)},$y=kt.Object,d$=ge("".split),sP=Gn(function(){return!$y("z").propertyIsEnumerable(0)})?function(t){return Eu(t)=="String"?d$(t,""):$y(t)}:$y,p$=kt.TypeError,t5=function(t){if(t==null)throw p$("Can't call method on "+t);return t},Po=function(t){return sP(t5(t))},tr=function(t){return typeof t=="object"?t!==null:sn(t)},Qn={},yS=function(t){return sn(t)?t:void 0},rc=function(t,e){return arguments.length<2?yS(Qn[t])||yS(kt[t]):Qn[t]&&Qn[t][e]||kt[t]&&kt[t][e]},Td=ge({}.isPrototypeOf),Hy=rc("navigator","userAgent")||"",mS=kt.process,bS=kt.Deno,wS=mS&&mS.versions||bS&&bS.version,ES=wS&&wS.v8;ES&&(z0=(yi=ES.split("."))[0]>0&&yi[0]<4?1:+(yi[0]+yi[1])),!z0&&Hy&&(!(yi=Hy.match(/Edge\/(\d+)/))||yi[1]>=74)&&(yi=Hy.match(/Chrome\/(\d+)/))&&(z0=+yi[1]);var Fh,wg=z0,po=!!Object.getOwnPropertySymbols&&!Gn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&wg&&wg<41}),e5=po&&!Symbol.sham&&typeof Symbol.iterator=="symbol",h$=kt.Object,pl=e5?function(t){return typeof t=="symbol"}:function(t){var e=rc("Symbol");return sn(e)&&Td(e.prototype,h$(t))},g$=kt.String,y4=function(t){try{return g$(t)}catch{return"Object"}},v$=kt.TypeError,n5=function(t){if(sn(t))return t;throw v$(y4(t)+" is not a function")},Eg=function(t,e){var n=t[e];return n==null?void 0:n5(n)},y$=kt.TypeError,m$=Object.defineProperty,ta=kt["__core-js_shared__"]||function(t,e){try{m$(kt,t,{value:e,configurable:!0,writable:!0})}catch{kt[t]=e}return e}("__core-js_shared__",{}),us=as(function(t){(t.exports=function(e,n){return ta[e]||(ta[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),b$=kt.Object,Bp=function(t){return b$(t5(t))},w$=ge({}.hasOwnProperty),Vt=Object.hasOwn||function(t,e){return w$(Bp(t),e)},E$=0,D$=Math.random(),C$=ge(1 .toString),Dg=function(t){return"Symbol("+(t===void 0?"":t)+")_"+C$(++E$+D$,36)},kc=us("wks"),Du=kt.Symbol,DS=Du&&Du.for,S$=e5?Du:Du&&Du.withoutSetter||Dg,Bn=function(t){if(!Vt(kc,t)||!po&&typeof kc[t]!="string"){var e="Symbol."+t;po&&Vt(Du,t)?kc[t]=Du[t]:kc[t]=e5&&DS?DS(e):S$(e)}return kc[t]},x$=kt.TypeError,A$=Bn("toPrimitive"),O$=function(t,e){if(!tr(t)||pl(t))return t;var n,r=Eg(t,A$);if(r){if(e===void 0&&(e="default"),n=zn(r,t,e),!tr(n)||pl(n))return n;throw x$("Can't convert object to primitive value")}return e===void 0&&(e="number"),function(o,i){var a,u;if(i==="string"&&sn(a=o.toString)&&!tr(u=zn(a,o))||sn(a=o.valueOf)&&!tr(u=zn(a,o))||i!=="string"&&sn(a=o.toString)&&!tr(u=zn(a,o)))return u;throw y$("Can't convert object to primitive value")}(t,e)},oc=function(t){var e=O$(t,"string");return pl(e)?e:e+""},m4=kt.document,k$=tr(m4)&&tr(m4.createElement),lP=function(t){return k$?m4.createElement(t):{}},cP=!Hn&&!Gn(function(){return Object.defineProperty(lP("div"),"a",{get:function(){return 7}}).a!=7}),CS=Object.getOwnPropertyDescriptor,B$=Hn?CS:function(t,e){if(t=Po(t),e=oc(e),cP)try{return CS(t,e)}catch{}if(Vt(t,e))return Yr(!zn(Q3.f,t,e),t[e])},_1={f:B$},F$=/#|\.prototype\./,Fp=function(t,e){var n=_$[T$(t)];return n==j$||n!=P$&&(sn(e)?Gn(e):!!e)},T$=Fp.normalize=function(t){return String(t).replace(F$,".").toLowerCase()},_$=Fp.data={},P$=Fp.NATIVE="N",j$=Fp.POLYFILL="P",N$=Fp,SS=ge(ge.bind),r5=function(t,e){return n5(t),e===void 0?t:SS?SS(t,e):function(){return t.apply(e,arguments)}},I$=kt.String,L$=kt.TypeError,ar=function(t){if(tr(t))return t;throw L$(I$(t)+" is not an object")},R$=kt.TypeError,xS=Object.defineProperty,M$=Hn?xS:function(t,e,n){if(ar(t),e=oc(e),ar(n),cP)try{return xS(t,e,n)}catch{}if("get"in n||"set"in n)throw R$("Accessors not supported");return"value"in n&&(t[e]=n.value),t},ja={f:M$},_n=Hn?function(t,e,n){return ja.f(t,e,Yr(1,n))}:function(t,e,n){return t[e]=n,t},z$=_1.f,$$=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return aP(t,this,arguments)};return e.prototype=t.prototype,e},qo=function(t,e){var n,r,o,i,a,u,s,l,c=t.target,f=t.global,p=t.stat,d=t.proto,y=f?kt:p?kt[c]:(kt[c]||{}).prototype,g=f?Qn:Qn[c]||_n(Qn,c,{})[c],v=g.prototype;for(o in e)n=!N$(f?o:c+(p?".":"#")+o,t.forced)&&y&&Vt(y,o),a=g[o],n&&(u=t.noTargetGet?(l=z$(y,o))&&l.value:y[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(s=t.bind&&n?r5(i,kt):t.wrap&&n?$$(i):d&&sn(i)?ge(i):i,(t.sham||i&&i.sham||a&&a.sham)&&_n(s,"sham",!0),_n(g,o,s),d&&(Vt(Qn,r=c+"Prototype")||_n(Qn,r,{}),_n(Qn[r],o,i),t.real&&v&&!v[o]&&_n(v,o,i)))},AS=us("keys"),P1=function(t){return AS[t]||(AS[t]=Dg(t))},H$=!Gn(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),OS=P1("IE_PROTO"),b4=kt.Object,V$=b4.prototype,Cg=H$?b4.getPrototypeOf:function(t){var e=Bp(t);if(Vt(e,OS))return e[OS];var n=e.constructor;return sn(n)&&e instanceof n?n.prototype:e instanceof b4?V$:null},U$=kt.String,W$=kt.TypeError,Sg=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=ge(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(r,o){return ar(r),function(i){if(typeof i=="object"||sn(i))return i;throw W$("Can't set "+U$(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),G$=Math.ceil,q$=Math.floor,o5=function(t){var e=+t;return e!=e||e===0?0:(e>0?q$:G$)(e)},K$=Math.max,Y$=Math.min,w4=function(t,e){var n=o5(t);return n<0?K$(n+e,0):Y$(n,e)},X$=Math.min,Tp=function(t){return(e=t.length)>0?X$(o5(e),9007199254740991):0;var e},kS=function(t){return function(e,n,r){var o,i=Po(e),a=Tp(i),u=w4(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},Z$={includes:kS(!0),indexOf:kS(!1)},_p={},J$=Z$.indexOf,BS=ge([].push),fP=function(t,e){var n,r=Po(t),o=0,i=[];for(n in r)!Vt(_p,n)&&Vt(r,n)&&BS(i,n);for(;e.length>o;)Vt(r,n=e[o++])&&(~J$(i,n)||BS(i,n));return i},xg=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Q$=xg.concat("length","prototype"),tH=Object.getOwnPropertyNames||function(t){return fP(t,Q$)},i5={f:tH},$0={f:Object.getOwnPropertySymbols},eH=ge([].concat),nH=rc("Reflect","ownKeys")||function(t){var e=i5.f(ar(t)),n=$0.f;return n?eH(e,n(t)):e},a5=Object.keys||function(t){return fP(t,xg)},rH=Hn?Object.defineProperties:function(t,e){ar(t);for(var n,r=Po(e),o=a5(e),i=o.length,a=0;i>a;)ja.f(t,n=o[a++],r[n]);return t},oH=rc("document","documentElement"),dP=P1("IE_PROTO"),Vy=function(){},pP=function(t){return"