From a6521512e5f4d79b30cfd67c3c61525d5d18e9d2 Mon Sep 17 00:00:00 2001 From: Tyh2001 Date: Sat, 7 Oct 2023 08:39:41 +0000 Subject: [PATCH] deploy: c966eae471033767bdcf25d8168d9825cbbb7640 --- 404.html | 8 +- README.html | 14 +- ...E.md.741f9b4f.js => README.md.7fd1619d.js} | 2 +- ...b4f.lean.js => README.md.7fd1619d.lean.js} | 2 +- assets/{app.2296d6b1.js => app.f4e038b1.js} | 2 +- .../{theme.faa184cf.js => theme.72c71c50.js} | 4 +- ...605.js => components_alert.md.a2102b80.js} | 4 +- ...s => components_alert.md.a2102b80.lean.js} | 4 +- ...=> components_avatar-group.md.7fe13129.js} | 2 +- ...mponents_avatar-group.md.7fe13129.lean.js} | 2 +- ...2e.js => components_avatar.md.550843ea.js} | 16 +- ... => components_avatar.md.550843ea.lean.js} | 16 +- ....js => components_back-top.md.e4d3198b.js} | 10 +- ...> components_back-top.md.e4d3198b.lean.js} | 10 +- ...558.js => components_badge.md.bd616260.js} | 148 ++++++------ ...s => components_badge.md.bd616260.lean.js} | 148 ++++++------ ...653cb.js => components_box.md.df777e88.js} | 2 +- ....js => components_box.md.df777e88.lean.js} | 2 +- ...s => components_breadcrumb.md.9431a6f6.js} | 2 +- ...components_breadcrumb.md.9431a6f6.lean.js} | 2 +- assets/components_button.md.56ba5ca2.js | 96 ++++++++ assets/components_button.md.56ba5ca2.lean.js | 96 ++++++++ assets/components_button.md.8234063b.js | 96 -------- assets/components_button.md.8234063b.lean.js | 96 -------- ....js => components_calendar.md.5f5234af.js} | 2 +- ...> components_calendar.md.5f5234af.lean.js} | 2 +- assets/components_card.md.243fd77d.js | 10 + ...js => components_card.md.243fd77d.lean.js} | 4 +- assets/components_card.md.83176401.js | 10 - ....js => components_checkbox.md.185e5abe.js} | 2 +- ...> components_checkbox.md.185e5abe.lean.js} | 2 +- ...js => components_close-btn.md.099b64a2.js} | 2 +- ... components_close-btn.md.099b64a2.lean.js} | 2 +- ...ponents_collapse-animation.md.e402eb7a.js} | 2 +- ...ts_collapse-animation.md.e402eb7a.lean.js} | 2 +- ...14b.js => components_color.md.b38ee6a7.js} | 2 +- ...s => components_color.md.b38ee6a7.lean.js} | 2 +- ... => components_confirm-box.md.55865a9d.js} | 2 +- ...omponents_confirm-box.md.55865a9d.lean.js} | 2 +- ...s => components_count-down.md.ed802c68.js} | 2 +- ...components_count-down.md.ed802c68.lean.js} | 2 +- ... => components_date-picker.md.0246839a.js} | 2 +- ...omponents_date-picker.md.0246839a.lean.js} | 2 +- ...61.js => components_dialog.md.d148b298.js} | 2 +- ... => components_dialog.md.d148b298.lean.js} | 2 +- ...2.js => components_divider.md.ba4a4b6e.js} | 2 +- ...=> components_divider.md.ba4a4b6e.lean.js} | 2 +- ...58.js => components_drawer.md.53297313.js} | 2 +- ... => components_drawer.md.53297313.lean.js} | 2 +- ....js => components_dropdown.md.36728ccd.js} | 2 +- ...> components_dropdown.md.36728ccd.lean.js} | 2 +- ...c4d.js => components_empty.md.888dde20.js} | 4 +- ...s => components_empty.md.888dde20.lean.js} | 4 +- ... => components_expand-card.md.29aae8b9.js} | 2 +- ...omponents_expand-card.md.29aae8b9.lean.js} | 2 +- ...components_fighting-global.md.ca17c622.js} | 2 +- ...nents_fighting-global.md.ca17c622.lean.js} | 2 +- ...2952.js => components_form.md.d27bfb3d.js} | 2 +- ...js => components_form.md.d27bfb3d.lean.js} | 2 +- ...> components_image-preview.md.d0dbc344.js} | 2 +- ...ponents_image-preview.md.d0dbc344.lean.js} | 2 +- ...38a.js => components_image.md.cf300bd7.js} | 2 +- ...s => components_image.md.cf300bd7.lean.js} | 2 +- ...ponents_infinite-scrolling.md.2a2b32cd.js} | 2 +- ...ts_infinite-scrolling.md.2a2b32cd.lean.js} | 2 +- ...=> components_input-number.md.18db5d17.js} | 14 +- ...mponents_input-number.md.18db5d17.lean.js} | 14 +- ...98b.js => components_input.md.257c39a5.js} | 2 +- ...s => components_input.md.257c39a5.lean.js} | 2 +- ...js => components_interface.md.9b65cd7e.js} | 2 +- ... components_interface.md.9b65cd7e.lean.js} | 2 +- ...ea.js => components_layout.md.1cf7902a.js} | 28 +-- ... => components_layout.md.1cf7902a.lean.js} | 4 +- ...d02b.js => components_link.md.bf8939a0.js} | 12 +- ...js => components_link.md.bf8939a0.lean.js} | 12 +- ...cece.js => components_list.md.10ef63ee.js} | 2 +- ...js => components_list.md.10ef63ee.lean.js} | 2 +- ...e.js => components_loading.md.3152d03a.js} | 2 +- ...=> components_loading.md.3152d03a.lean.js} | 2 +- ...c2f5.js => components_menu.md.7d521bc7.js} | 2 +- ...js => components_menu.md.7d521bc7.lean.js} | 2 +- ...5.js => components_message.md.07637b98.js} | 2 +- ...=> components_message.md.07637b98.lean.js} | 2 +- ...=> components_notification.md.ddccf4ca.js} | 2 +- ...mponents_notification.md.ddccf4ca.lean.js} | 2 +- ... components_number-animate.md.96653692.js} | 2 +- ...onents_number-animate.md.96653692.lean.js} | 2 +- ... => components_page-header.md.06e19b8f.js} | 2 +- ...omponents_page-header.md.06e19b8f.lean.js} | 2 +- ...s => components_pagination.md.45814d98.js} | 2 +- ...components_pagination.md.45814d98.lean.js} | 2 +- ....js => components_progress.md.8305f2a7.js} | 4 +- ...> components_progress.md.8305f2a7.lean.js} | 4 +- ...b06.js => components_radio.md.beb44390.js} | 2 +- ...s => components_radio.md.beb44390.lean.js} | 2 +- ...4541.js => components_rate.md.cd8e7aee.js} | 2 +- ...js => components_rate.md.cd8e7aee.lean.js} | 2 +- ...b5.js => components_ripple.md.c05d5916.js} | 4 +- ... => components_ripple.md.c05d5916.lean.js} | 4 +- ...e0.js => components_select.md.dc6d4e69.js} | 2 +- ... => components_select.md.dc6d4e69.lean.js} | 2 +- ....js => components_skeleton.md.ab819e81.js} | 2 +- ...> components_skeleton.md.ab819e81.lean.js} | 2 +- ...98.js => components_slider.md.2ceb009f.js} | 2 +- ... => components_slider.md.2ceb009f.lean.js} | 2 +- ...292.js => components_space.md.806a5f3f.js} | 2 +- ...s => components_space.md.806a5f3f.lean.js} | 2 +- ... => components_sticky-card.md.1722f8fb.js} | 2 +- ...omponents_sticky-card.md.1722f8fb.lean.js} | 2 +- ....js => components_svg-icon.md.d252e753.js} | 2 +- ...> components_svg-icon.md.d252e753.lean.js} | 2 +- ...2f08.js => components_swap.md.2675501c.js} | 4 +- ...js => components_swap.md.2675501c.lean.js} | 4 +- ...5a.js => components_switch.md.22dae95e.js} | 4 +- ... => components_switch.md.22dae95e.lean.js} | 4 +- ...ean.js => components_table.md.6facea4e.js} | 2 +- ...s => components_table.md.6facea4e.lean.js} | 2 +- ...80e5.js => components_tabs.md.4f7154f6.js} | 2 +- ...js => components_tabs.md.4f7154f6.lean.js} | 2 +- ...07c3f.js => components_tag.md.5b2be809.js} | 10 +- ....js => components_tag.md.5b2be809.lean.js} | 10 +- assets/components_text.md.4a5262eb.js | 28 --- assets/components_text.md.4a5262eb.lean.js | 28 --- assets/components_text.md.caac693a.js | 28 +++ assets/components_text.md.caac693a.lean.js | 28 +++ ....js => components_textarea.md.3dc2c397.js} | 2 +- ...> components_textarea.md.3dc2c397.lean.js} | 2 +- ... => components_time-picker.md.85b72d01.js} | 2 +- ...omponents_time-picker.md.85b72d01.lean.js} | 2 +- assets/components_toolbar.md.0fd29d7f.js | 51 ++++ assets/components_toolbar.md.0fd29d7f.lean.js | 51 ++++ assets/components_toolbar.md.a5cd1c4e.js | 51 ---- assets/components_toolbar.md.a5cd1c4e.lean.js | 51 ---- ...d.js => components_tooltip.md.fb31ab9c.js} | 14 +- ...=> components_tooltip.md.fb31ab9c.lean.js} | 4 +- ...7b99.js => components_tree.md.124bd09a.js} | 2 +- ...js => components_tree.md.124bd09a.lean.js} | 2 +- ...b.js => components_trigger.md.22efb06b.js} | 2 +- ...=> components_trigger.md.22efb06b.lean.js} | 2 +- ...6.js => components_up-load.md.34c95a56.js} | 2 +- ...=> components_up-load.md.34c95a56.lean.js} | 2 +- ...js => components_watermark.md.3bfe4366.js} | 6 +- ... components_watermark.md.3bfe4366.lean.js} | 6 +- ...2dbe2.js => docs_changelog.md.e3aa2b84.js} | 2 +- ....js => docs_changelog.md.e3aa2b84.lean.js} | 2 +- ...3d.js => docs_contributing.md.b25fe8c5.js} | 2 +- ... => docs_contributing.md.b25fe8c5.lean.js} | 2 +- ...7b4a7ceb.js => docs_import.md.2873055b.js} | 2 +- ...ean.js => docs_import.md.2873055b.lean.js} | 2 +- ...bc358b2.js => docs_install.md.eaf34721.js} | 2 +- ...an.js => docs_install.md.eaf34721.lean.js} | 2 +- ...d3649.js => docs_introduce.md.31056ad1.js} | 2 +- ....js => docs_introduce.md.31056ad1.lean.js} | 2 +- ...d.75b61055.js => docs_join.md.5f0c5fe5.js} | 2 +- ....lean.js => docs_join.md.5f0c5fe5.lean.js} | 2 +- ...a4be96.js => docs_milepost.md.e16aee5c.js} | 2 +- ...n.js => docs_milepost.md.e16aee5c.lean.js} | 2 +- ...ex.md.7a3c915d.js => index.md.923efda4.js} | 2 +- ...915d.lean.js => index.md.923efda4.lean.js} | 2 +- ...{style.75d28a43.css => style.77c37aef.css} | 2 +- ...cf96d8a2.js => theme_start.md.cd0319bf.js} | 2 +- ...ean.js => theme_start.md.cd0319bf.lean.js} | 2 +- components/alert.html | 108 ++++----- components/avatar-group.html | 14 +- components/avatar.html | 80 +++---- components/back-top.html | 74 +++--- components/badge.html | 158 ++++++------- components/box.html | 12 +- components/breadcrumb.html | 14 +- components/button.html | 202 ++++++++-------- components/calendar.html | 22 +- components/card.html | 30 +-- components/checkbox.html | 14 +- components/close-btn.html | 14 +- components/collapse-animation.html | 14 +- components/color.html | 12 +- components/confirm-box.html | 14 +- components/count-down.html | 14 +- components/date-picker.html | 16 +- components/dialog.html | 14 +- components/divider.html | 14 +- components/drawer.html | 14 +- components/dropdown.html | 14 +- components/empty.html | 22 +- components/expand-card.html | 14 +- components/fighting-global.html | 14 +- components/form.html | 14 +- components/image-preview.html | 14 +- components/image.html | 14 +- components/infinite-scrolling.html | 14 +- components/input-number.html | 72 +++--- components/input.html | 14 +- components/interface.html | 14 +- components/layout.html | 218 +++++++++--------- components/link.html | 42 ++-- components/list.html | 14 +- components/loading.html | 14 +- components/menu.html | 14 +- components/message.html | 14 +- components/notification.html | 14 +- components/number-animate.html | 14 +- components/page-header.html | 14 +- components/pagination.html | 14 +- components/progress.html | 138 +++++------ components/radio.html | 14 +- components/rate.html | 14 +- components/ripple.html | 194 ++++++++-------- components/select.html | 14 +- components/skeleton.html | 14 +- components/slider.html | 14 +- components/space.html | 14 +- components/sticky-card.html | 14 +- components/svg-icon.html | 14 +- components/swap.html | 126 +++++----- components/switch.html | 160 ++++++------- components/table.html | 14 +- components/tabs.html | 14 +- components/tag.html | 60 ++--- components/text.html | 66 +++--- components/textarea.html | 14 +- components/time-picker.html | 16 +- components/toolbar.html | 112 ++++----- components/tooltip.html | 82 +++---- components/tree.html | 16 +- components/trigger.html | 14 +- components/up-load.html | 14 +- components/watermark.html | 88 +++---- docs/changelog.html | 12 +- docs/contributing.html | 14 +- docs/import.html | 14 +- docs/install.html | 12 +- docs/introduce.html | 12 +- docs/join.html | 12 +- docs/milepost.html | 12 +- hashmap.json | 2 +- index.html | 12 +- theme/start.html | 12 +- 237 files changed, 2154 insertions(+), 2154 deletions(-) rename assets/{README.md.741f9b4f.js => README.md.7fd1619d.js} (99%) rename assets/{README.md.741f9b4f.lean.js => README.md.7fd1619d.lean.js} (83%) rename assets/{app.2296d6b1.js => app.f4e038b1.js} (99%) rename assets/chunks/{theme.faa184cf.js => theme.72c71c50.js} (94%) rename assets/{components_alert.md.b9dfb605.js => components_alert.md.a2102b80.js} (83%) rename assets/{components_alert.md.b9dfb605.lean.js => components_alert.md.a2102b80.lean.js} (83%) rename assets/{components_avatar-group.md.b9b0734d.js => components_avatar-group.md.7fe13129.js} (99%) rename assets/{components_avatar-group.md.b9b0734d.lean.js => components_avatar-group.md.7fe13129.lean.js} (99%) rename assets/{components_avatar.md.c5d5412e.js => components_avatar.md.550843ea.js} (64%) rename assets/{components_avatar.md.c5d5412e.lean.js => components_avatar.md.550843ea.lean.js} (64%) rename assets/{components_back-top.md.87813f91.js => components_back-top.md.e4d3198b.js} (64%) rename assets/{components_back-top.md.87813f91.lean.js => components_back-top.md.e4d3198b.lean.js} (64%) rename assets/{components_badge.md.3a853558.js => components_badge.md.bd616260.js} (66%) rename assets/{components_badge.md.3a853558.lean.js => components_badge.md.bd616260.lean.js} (66%) rename assets/{components_box.md.fc0653cb.js => components_box.md.df777e88.js} (98%) rename assets/{components_box.md.fc0653cb.lean.js => components_box.md.df777e88.lean.js} (97%) rename assets/{components_breadcrumb.md.4de99947.lean.js => components_breadcrumb.md.9431a6f6.js} (99%) rename assets/{components_breadcrumb.md.4de99947.js => components_breadcrumb.md.9431a6f6.lean.js} (99%) create mode 100644 assets/components_button.md.56ba5ca2.js create mode 100644 assets/components_button.md.56ba5ca2.lean.js delete mode 100644 assets/components_button.md.8234063b.js delete mode 100644 assets/components_button.md.8234063b.lean.js rename assets/{components_calendar.md.e709ccba.js => components_calendar.md.5f5234af.js} (99%) rename assets/{components_calendar.md.e709ccba.lean.js => components_calendar.md.5f5234af.lean.js} (99%) create mode 100644 assets/components_card.md.243fd77d.js rename assets/{components_card.md.83176401.lean.js => components_card.md.243fd77d.lean.js} (92%) delete mode 100644 assets/components_card.md.83176401.js rename assets/{components_checkbox.md.ba7a895c.js => components_checkbox.md.185e5abe.js} (99%) rename assets/{components_checkbox.md.ba7a895c.lean.js => components_checkbox.md.185e5abe.lean.js} (99%) rename assets/{components_close-btn.md.0055cc51.js => components_close-btn.md.099b64a2.js} (99%) rename assets/{components_close-btn.md.0055cc51.lean.js => components_close-btn.md.099b64a2.lean.js} (99%) rename assets/{components_collapse-animation.md.e3495587.js => components_collapse-animation.md.e402eb7a.js} (99%) rename assets/{components_collapse-animation.md.e3495587.lean.js => components_collapse-animation.md.e402eb7a.lean.js} (99%) rename assets/{components_color.md.5a6b214b.js => components_color.md.b38ee6a7.js} (97%) rename assets/{components_color.md.5a6b214b.lean.js => components_color.md.b38ee6a7.lean.js} (97%) rename assets/{components_confirm-box.md.503272d9.js => components_confirm-box.md.55865a9d.js} (99%) rename assets/{components_confirm-box.md.503272d9.lean.js => components_confirm-box.md.55865a9d.lean.js} (99%) rename assets/{components_count-down.md.36ed5583.js => components_count-down.md.ed802c68.js} (99%) rename assets/{components_count-down.md.36ed5583.lean.js => components_count-down.md.ed802c68.lean.js} (99%) rename assets/{components_date-picker.md.d8ad4104.js => components_date-picker.md.0246839a.js} (99%) rename assets/{components_date-picker.md.d8ad4104.lean.js => components_date-picker.md.0246839a.lean.js} (99%) rename assets/{components_dialog.md.11108961.js => components_dialog.md.d148b298.js} (99%) rename assets/{components_dialog.md.11108961.lean.js => components_dialog.md.d148b298.lean.js} (99%) rename assets/{components_divider.md.54a5ec22.js => components_divider.md.ba4a4b6e.js} (99%) rename assets/{components_divider.md.54a5ec22.lean.js => components_divider.md.ba4a4b6e.lean.js} (99%) rename assets/{components_drawer.md.de3d3258.js => components_drawer.md.53297313.js} (99%) rename assets/{components_drawer.md.de3d3258.lean.js => components_drawer.md.53297313.lean.js} (99%) rename assets/{components_dropdown.md.e7a302f4.lean.js => components_dropdown.md.36728ccd.js} (99%) rename assets/{components_dropdown.md.e7a302f4.js => components_dropdown.md.36728ccd.lean.js} (99%) rename assets/{components_empty.md.47d2ec4d.js => components_empty.md.888dde20.js} (62%) rename assets/{components_empty.md.47d2ec4d.lean.js => components_empty.md.888dde20.lean.js} (93%) rename assets/{components_expand-card.md.124069f2.js => components_expand-card.md.29aae8b9.js} (99%) rename assets/{components_expand-card.md.124069f2.lean.js => components_expand-card.md.29aae8b9.lean.js} (99%) rename assets/{components_fighting-global.md.c4e34b95.lean.js => components_fighting-global.md.ca17c622.js} (99%) rename assets/{components_fighting-global.md.c4e34b95.js => components_fighting-global.md.ca17c622.lean.js} (99%) rename assets/{components_form.md.3d412952.js => components_form.md.d27bfb3d.js} (99%) rename assets/{components_form.md.3d412952.lean.js => components_form.md.d27bfb3d.lean.js} (99%) rename assets/{components_image-preview.md.b2fc9301.js => components_image-preview.md.d0dbc344.js} (99%) rename assets/{components_image-preview.md.b2fc9301.lean.js => components_image-preview.md.d0dbc344.lean.js} (99%) rename assets/{components_image.md.05a9538a.js => components_image.md.cf300bd7.js} (99%) rename assets/{components_image.md.05a9538a.lean.js => components_image.md.cf300bd7.lean.js} (99%) rename assets/{components_infinite-scrolling.md.18a63697.js => components_infinite-scrolling.md.2a2b32cd.js} (99%) rename assets/{components_infinite-scrolling.md.18a63697.lean.js => components_infinite-scrolling.md.2a2b32cd.lean.js} (99%) rename assets/{components_input-number.md.90871271.js => components_input-number.md.18db5d17.js} (58%) rename assets/{components_input-number.md.90871271.lean.js => components_input-number.md.18db5d17.lean.js} (58%) rename assets/{components_input.md.181d598b.js => components_input.md.257c39a5.js} (99%) rename assets/{components_input.md.181d598b.lean.js => components_input.md.257c39a5.lean.js} (99%) rename assets/{components_interface.md.2bb8854a.js => components_interface.md.9b65cd7e.js} (99%) rename assets/{components_interface.md.2bb8854a.lean.js => components_interface.md.9b65cd7e.lean.js} (85%) rename assets/{components_layout.md.0dd822ea.js => components_layout.md.1cf7902a.js} (66%) rename assets/{components_layout.md.0dd822ea.lean.js => components_layout.md.1cf7902a.lean.js} (90%) rename assets/{components_link.md.3c30d02b.js => components_link.md.bf8939a0.js} (69%) rename assets/{components_link.md.3c30d02b.lean.js => components_link.md.bf8939a0.lean.js} (91%) rename assets/{components_list.md.47eccece.js => components_list.md.10ef63ee.js} (99%) rename assets/{components_list.md.47eccece.lean.js => components_list.md.10ef63ee.lean.js} (99%) rename assets/{components_loading.md.a730ef4e.js => components_loading.md.3152d03a.js} (99%) rename assets/{components_loading.md.a730ef4e.lean.js => components_loading.md.3152d03a.lean.js} (99%) rename assets/{components_menu.md.3a6fc2f5.js => components_menu.md.7d521bc7.js} (99%) rename assets/{components_menu.md.3a6fc2f5.lean.js => components_menu.md.7d521bc7.lean.js} (99%) rename assets/{components_message.md.578f1905.js => components_message.md.07637b98.js} (99%) rename assets/{components_message.md.578f1905.lean.js => components_message.md.07637b98.lean.js} (99%) rename assets/{components_notification.md.2811c823.js => components_notification.md.ddccf4ca.js} (99%) rename assets/{components_notification.md.2811c823.lean.js => components_notification.md.ddccf4ca.lean.js} (99%) rename assets/{components_number-animate.md.5556bf4b.js => components_number-animate.md.96653692.js} (99%) rename assets/{components_number-animate.md.5556bf4b.lean.js => components_number-animate.md.96653692.lean.js} (99%) rename assets/{components_page-header.md.b3f718cb.js => components_page-header.md.06e19b8f.js} (99%) rename assets/{components_page-header.md.b3f718cb.lean.js => components_page-header.md.06e19b8f.lean.js} (99%) rename assets/{components_pagination.md.e42e8aa0.js => components_pagination.md.45814d98.js} (99%) rename assets/{components_pagination.md.e42e8aa0.lean.js => components_pagination.md.45814d98.lean.js} (99%) rename assets/{components_progress.md.fecf7a28.js => components_progress.md.8305f2a7.js} (85%) rename assets/{components_progress.md.fecf7a28.lean.js => components_progress.md.8305f2a7.lean.js} (85%) rename assets/{components_radio.md.df304b06.js => components_radio.md.beb44390.js} (99%) rename assets/{components_radio.md.df304b06.lean.js => components_radio.md.beb44390.lean.js} (99%) rename assets/{components_rate.md.f8204541.js => components_rate.md.cd8e7aee.js} (99%) rename assets/{components_rate.md.f8204541.lean.js => components_rate.md.cd8e7aee.lean.js} (99%) rename assets/{components_ripple.md.157ec3b5.js => components_ripple.md.c05d5916.js} (81%) rename assets/{components_ripple.md.157ec3b5.lean.js => components_ripple.md.c05d5916.lean.js} (81%) rename assets/{components_select.md.c8a6abe0.js => components_select.md.dc6d4e69.js} (99%) rename assets/{components_select.md.c8a6abe0.lean.js => components_select.md.dc6d4e69.lean.js} (99%) rename assets/{components_skeleton.md.b7136804.js => components_skeleton.md.ab819e81.js} (99%) rename assets/{components_skeleton.md.b7136804.lean.js => components_skeleton.md.ab819e81.lean.js} (99%) rename assets/{components_slider.md.7472cc98.js => components_slider.md.2ceb009f.js} (99%) rename assets/{components_slider.md.7472cc98.lean.js => components_slider.md.2ceb009f.lean.js} (99%) rename assets/{components_space.md.af81a292.js => components_space.md.806a5f3f.js} (99%) rename assets/{components_space.md.af81a292.lean.js => components_space.md.806a5f3f.lean.js} (99%) rename assets/{components_sticky-card.md.6615cb9c.js => components_sticky-card.md.1722f8fb.js} (99%) rename assets/{components_sticky-card.md.6615cb9c.lean.js => components_sticky-card.md.1722f8fb.lean.js} (99%) rename assets/{components_svg-icon.md.74aec475.lean.js => components_svg-icon.md.d252e753.js} (99%) rename assets/{components_svg-icon.md.74aec475.js => components_svg-icon.md.d252e753.lean.js} (99%) rename assets/{components_swap.md.17fb2f08.js => components_swap.md.2675501c.js} (70%) rename assets/{components_swap.md.17fb2f08.lean.js => components_swap.md.2675501c.lean.js} (70%) rename assets/{components_switch.md.2e7b265a.js => components_switch.md.22dae95e.js} (78%) rename assets/{components_switch.md.2e7b265a.lean.js => components_switch.md.22dae95e.lean.js} (78%) rename assets/{components_table.md.e73f6535.lean.js => components_table.md.6facea4e.js} (99%) rename assets/{components_table.md.e73f6535.js => components_table.md.6facea4e.lean.js} (99%) rename assets/{components_tabs.md.bc0380e5.js => components_tabs.md.4f7154f6.js} (99%) rename assets/{components_tabs.md.bc0380e5.lean.js => components_tabs.md.4f7154f6.lean.js} (99%) rename assets/{components_tag.md.e7d07c3f.js => components_tag.md.5b2be809.js} (76%) rename assets/{components_tag.md.e7d07c3f.lean.js => components_tag.md.5b2be809.lean.js} (94%) delete mode 100644 assets/components_text.md.4a5262eb.js delete mode 100644 assets/components_text.md.4a5262eb.lean.js create mode 100644 assets/components_text.md.caac693a.js create mode 100644 assets/components_text.md.caac693a.lean.js rename assets/{components_textarea.md.a2bace70.js => components_textarea.md.3dc2c397.js} (99%) rename assets/{components_textarea.md.a2bace70.lean.js => components_textarea.md.3dc2c397.lean.js} (99%) rename assets/{components_time-picker.md.26a97b6a.js => components_time-picker.md.85b72d01.js} (99%) rename assets/{components_time-picker.md.26a97b6a.lean.js => components_time-picker.md.85b72d01.lean.js} (99%) create mode 100644 assets/components_toolbar.md.0fd29d7f.js create mode 100644 assets/components_toolbar.md.0fd29d7f.lean.js delete mode 100644 assets/components_toolbar.md.a5cd1c4e.js delete mode 100644 assets/components_toolbar.md.a5cd1c4e.lean.js rename assets/{components_tooltip.md.d669046d.js => components_tooltip.md.fb31ab9c.js} (63%) rename assets/{components_tooltip.md.d669046d.lean.js => components_tooltip.md.fb31ab9c.lean.js} (96%) rename assets/{components_tree.md.f70c7b99.js => components_tree.md.124bd09a.js} (99%) rename assets/{components_tree.md.f70c7b99.lean.js => components_tree.md.124bd09a.lean.js} (99%) rename assets/{components_trigger.md.7e5bfdbb.js => components_trigger.md.22efb06b.js} (99%) rename assets/{components_trigger.md.7e5bfdbb.lean.js => components_trigger.md.22efb06b.lean.js} (99%) rename assets/{components_up-load.md.cf2ca7c6.js => components_up-load.md.34c95a56.js} (99%) rename assets/{components_up-load.md.cf2ca7c6.lean.js => components_up-load.md.34c95a56.lean.js} (99%) rename assets/{components_watermark.md.a50fd52b.js => components_watermark.md.3bfe4366.js} (68%) rename assets/{components_watermark.md.a50fd52b.lean.js => components_watermark.md.3bfe4366.lean.js} (89%) rename assets/{docs_changelog.md.a262dbe2.js => docs_changelog.md.e3aa2b84.js} (99%) rename assets/{docs_changelog.md.a262dbe2.lean.js => docs_changelog.md.e3aa2b84.lean.js} (84%) rename assets/{docs_contributing.md.bc52583d.js => docs_contributing.md.b25fe8c5.js} (99%) rename assets/{docs_contributing.md.bc52583d.lean.js => docs_contributing.md.b25fe8c5.lean.js} (70%) rename assets/{docs_import.md.7b4a7ceb.js => docs_import.md.2873055b.js} (99%) rename assets/{docs_import.md.7b4a7ceb.lean.js => docs_import.md.2873055b.lean.js} (84%) rename assets/{docs_install.md.abc358b2.js => docs_install.md.eaf34721.js} (97%) rename assets/{docs_install.md.abc358b2.lean.js => docs_install.md.eaf34721.lean.js} (84%) rename assets/{docs_introduce.md.8e7d3649.js => docs_introduce.md.31056ad1.js} (97%) rename assets/{docs_introduce.md.8e7d3649.lean.js => docs_introduce.md.31056ad1.lean.js} (84%) rename assets/{docs_join.md.75b61055.js => docs_join.md.5f0c5fe5.js} (94%) rename assets/{docs_join.md.75b61055.lean.js => docs_join.md.5f0c5fe5.lean.js} (84%) rename assets/{docs_milepost.md.99a4be96.js => docs_milepost.md.e16aee5c.js} (98%) rename assets/{docs_milepost.md.99a4be96.lean.js => docs_milepost.md.e16aee5c.lean.js} (84%) rename assets/{index.md.7a3c915d.js => index.md.923efda4.js} (99%) rename assets/{index.md.7a3c915d.lean.js => index.md.923efda4.lean.js} (99%) rename assets/{style.75d28a43.css => style.77c37aef.css} (54%) rename assets/{theme_start.md.cf96d8a2.js => theme_start.md.cd0319bf.js} (83%) rename assets/{theme_start.md.cf96d8a2.lean.js => theme_start.md.cd0319bf.lean.js} (83%) diff --git a/404.html b/404.html index 3d59cd21a9..e766c0b202 100644 --- a/404.html +++ b/404.html @@ -5,8 +5,8 @@ 404 | Fighting Design - - + + @@ -20,8 +20,8 @@ -
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
- diff --git a/README.html b/README.html index d190038d1f..29eed61e66 100644 --- a/README.html +++ b/README.html @@ -5,18 +5,18 @@ Docs | Fighting Design - - + + - + - + @@ -29,7 +29,7 @@ -
Skip to content
On this page

Docs

✨ 介绍

Docs 是 fighting design 官方文档目录,使用 VitePress 进行开发。

vitePress 是一个 ViteVue 支持的静态站点生成器,使用 MarkDown 进行编写。如果你还不了解 MarkDown,可以通过这里进行学习。

如果你也想编写自己的 blog,可以在 VitePress 官方进行学习使用。vitepress-template 是我已经配置好的一个项目,也可以拿来开箱即用。

🐳 线上地址

🚧 编写规范

首先需要在 docs/components 目录下,新建一个以组件小写名,去掉首字母 F*.md 文件。如:button,而不是 FButton

  • *.md 内,只允许出现一个一级标题 #,后面全部使用二级标题 ##,禁止出现二级标题以下的标题
  • 一级标题为组件的名称 + 中文描述,中间要带有空格。如:Button 按钮Icon 图标。这里的组件名要以大写开头
  • 接下来每个二级标题用于描述配置信息,配置信息下面要写入简单的描述。如下,取自 button.md
## 基本使用
+    
Skip to content
On this page

Docs

✨ 介绍

Docs 是 fighting design 官方文档目录,使用 VitePress 进行开发。

vitePress 是一个 ViteVue 支持的静态站点生成器,使用 MarkDown 进行编写。如果你还不了解 MarkDown,可以通过这里进行学习。

如果你也想编写自己的 blog,可以在 VitePress 官方进行学习使用。vitepress-template 是我已经配置好的一个项目,也可以拿来开箱即用。

🐳 线上地址

🚧 编写规范

首先需要在 docs/components 目录下,新建一个以组件小写名,去掉首字母 F*.md 文件。如:button,而不是 FButton

  • *.md 内,只允许出现一个一级标题 #,后面全部使用二级标题 ##,禁止出现二级标题以下的标题
  • 一级标题为组件的名称 + 中文描述,中间要带有空格。如:Button 按钮Icon 图标。这里的组件名要以大写开头
  • 接下来每个二级标题用于描述配置信息,配置信息下面要写入简单的描述。如下,取自 button.md
## 基本使用
 
 `type` 属性可以配置不同的按钮类型,展示不同的颜色状态
  • 并不是组件的所有配置项都要带有演示用例,突出主要即可
  • 英文名要用反引号包裹,左右两边要带有空格。如: type 配置按钮的类型
  • 描述信息之后要带有具体的配置例子
  • 需要提供演效果的代码段,代码段使用已经封装好的 ::: demo 语法来展示 demo 和下拉菜单内容,详情配置可参考 plugins.ts 。例:
::: demo
 
@@ -55,8 +55,8 @@
   <f-avatar round src="" />
 </a>

例如我的:

html
<a href="https://github.com/Tyh2001" target="_blank">
   <f-avatar round src="https://avatars.githubusercontent.com/u/73180970?v=4" />
-</a>

💬 写在最后

规范可能随时会增加或者修改,在编写文档前请认真阅读规范指南。

最后更新时间:

- diff --git a/assets/README.md.741f9b4f.js b/assets/README.md.7fd1619d.js similarity index 99% rename from assets/README.md.741f9b4f.js rename to assets/README.md.7fd1619d.js index 18d236d498..cc62eb2f14 100644 --- a/assets/README.md.741f9b4f.js +++ b/assets/README.md.7fd1619d.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,o as e,M as t}from"./chunks/framework.59a1e8ef.js";const y=JSON.parse('{"title":"Docs","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1695888875000}'),n={name:"README.md"},o=t(`

Docs

✨ 介绍

Docs 是 fighting design 官方文档目录,使用 VitePress 进行开发。

vitePress 是一个 ViteVue 支持的静态站点生成器,使用 MarkDown 进行编写。如果你还不了解 MarkDown,可以通过这里进行学习。

如果你也想编写自己的 blog,可以在 VitePress 官方进行学习使用。vitepress-template 是我已经配置好的一个项目,也可以拿来开箱即用。

🐳 线上地址

🚧 编写规范

首先需要在 docs/components 目录下,新建一个以组件小写名,去掉首字母 F*.md 文件。如:button,而不是 FButton

  • *.md 内,只允许出现一个一级标题 #,后面全部使用二级标题 ##,禁止出现二级标题以下的标题
  • 一级标题为组件的名称 + 中文描述,中间要带有空格。如:Button 按钮Icon 图标。这里的组件名要以大写开头
  • 接下来每个二级标题用于描述配置信息,配置信息下面要写入简单的描述。如下,取自 button.md
## 基本使用
+import{_ as s,c as a,o as e,M as t}from"./chunks/framework.59a1e8ef.js";const y=JSON.parse('{"title":"Docs","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1696667892000}'),n={name:"README.md"},o=t(`

Docs

✨ 介绍

Docs 是 fighting design 官方文档目录,使用 VitePress 进行开发。

vitePress 是一个 ViteVue 支持的静态站点生成器,使用 MarkDown 进行编写。如果你还不了解 MarkDown,可以通过这里进行学习。

如果你也想编写自己的 blog,可以在 VitePress 官方进行学习使用。vitepress-template 是我已经配置好的一个项目,也可以拿来开箱即用。

🐳 线上地址

🚧 编写规范

首先需要在 docs/components 目录下,新建一个以组件小写名,去掉首字母 F*.md 文件。如:button,而不是 FButton

  • *.md 内,只允许出现一个一级标题 #,后面全部使用二级标题 ##,禁止出现二级标题以下的标题
  • 一级标题为组件的名称 + 中文描述,中间要带有空格。如:Button 按钮Icon 图标。这里的组件名要以大写开头
  • 接下来每个二级标题用于描述配置信息,配置信息下面要写入简单的描述。如下,取自 button.md
## 基本使用
 
 \`type\` 属性可以配置不同的按钮类型,展示不同的颜色状态
  • 并不是组件的所有配置项都要带有演示用例,突出主要即可
  • 英文名要用反引号包裹,左右两边要带有空格。如: type 配置按钮的类型
  • 描述信息之后要带有具体的配置例子
  • 需要提供演效果的代码段,代码段使用已经封装好的 ::: demo 语法来展示 demo 和下拉菜单内容,详情配置可参考 plugins.ts 。例:
::: demo
 
diff --git a/assets/README.md.741f9b4f.lean.js b/assets/README.md.7fd1619d.lean.js
similarity index 83%
rename from assets/README.md.741f9b4f.lean.js
rename to assets/README.md.7fd1619d.lean.js
index c59921be3f..794555862a 100644
--- a/assets/README.md.741f9b4f.lean.js
+++ b/assets/README.md.7fd1619d.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,M as t}from"./chunks/framework.59a1e8ef.js";const y=JSON.parse('{"title":"Docs","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1695888875000}'),n={name:"README.md"},o=t("",39),l=[o];function p(c,r,d,i,h,b){return e(),a("div",null,l)}const u=s(n,[["render",p]]);export{y as __pageData,u as default};
+import{_ as s,c as a,o as e,M as t}from"./chunks/framework.59a1e8ef.js";const y=JSON.parse('{"title":"Docs","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1696667892000}'),n={name:"README.md"},o=t("",39),l=[o];function p(c,r,d,i,h,b){return e(),a("div",null,l)}const u=s(n,[["render",p]]);export{y as __pageData,u as default};
diff --git a/assets/app.2296d6b1.js b/assets/app.f4e038b1.js
similarity index 99%
rename from assets/app.2296d6b1.js
rename to assets/app.f4e038b1.js
index cba7fa421b..e2ea311528 100644
--- a/assets/app.2296d6b1.js
+++ b/assets/app.f4e038b1.js
@@ -1,2 +1,2 @@
-import{f as N,k as ae,w as ye,_ as ee,o as f,c as b,v as y,d as F,C as B,y as M,r as L,b as l,t as G,z as w,n as E,D,ab as an,s as Je,i as V,h as Qe,ac as yt,ad as rn,ae as cn,a1 as ne,$ as Ce,x as R,a as X,F as q,J as W,T as re,Q as se,a9 as ue,a2 as ie,Z as be,a4 as he,R as ce,j as xe,af as un,A as ge,ag as Q,ah as J,ai as dn,a8 as je,aj as kt,E as Re,ak as fn,a5 as Be,al as pn,X as bn,O as et,a0 as $t,a6 as Ve,am as mn,V as hn,B as _n,an as vn,a3 as ut,ao as gn,u as Ct,H as Ze,ap as yn,aq as kn,ar as $n,as as Cn,at as wn,au as Ln,av as Sn,aw as Fn,ax as zn,ay as In,az as Pn,aA as En,aB as Tn,aC as Bn}from"./chunks/framework.59a1e8ef.js";import{t as dt}from"./chunks/theme.faa184cf.js";import{p as me,t as Ae,w as ze,v as Vn,o as x,q as Me,x as An,a as _,s as m,c as K,e as U,k as H,y as tt,i as _e,z as te,F as ke,m as S,A as de,b as O,d as z,f as we,l as P,B as nt,j as le,C as Te,D as wt,E as Mn,G as ot,H as st,r as Dn,n as Oe,I as oe,J as Nn,K as Rn}from"./chunks/index.51ec0e29.js";import{a as Lt,u as fe,P as On,b as St,B as Hn,F as pe,c as Gn,d as xn}from"./chunks/index.41be7a08.js";import{F as Ft}from"./chunks/index.d497f8b1.js";import{F as zt}from"./chunks/index.50754308.js";import{F as jn,a as qn}from"./chunks/index.6d5f3645.js";import"./chunks/index.f96b7fa5.js";const lt=(t,e)=>{let n=[];return me(t)&&t.length&&t.forEach(r=>{const i=Ae(r.type)&&r.type.name;if(i===e&&n.push(r),i!==e&&r.children&&me(r.children)){const c=lt(r.children,e);n=n.concat(c)}}),n},Un=t=>{if(typeof t!="object"||t===null)return ze("objectEntries","Parameter is not an object type."),[];if(Object.entries&&Object.entries!==void 0)return Object.entries(t);const e=[];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push([n,t[n]]);return e},Yn=()=>{const t=N(1),e=N(0),n=()=>{Vn(t.value,1)>=.2&&(t.value-=.2)},r=()=>{t.value<=10&&(t.value+=.2)};return{scale:t,rotate:e,smaller:n,bigger:r,scrollZoom:s=>{s.preventDefault(),s.deltaY>1?n():r()},recovery:()=>{t.value=1,e.value=0},rotateClockwise:()=>{e.value+=90},rotateCounterClock:()=>{e.value-=90}}},Kn=t=>{const e=eo(),n=(d,a)=>{const s=[31,28,31,30,31,30,31,31,30,31,30,31];return a-1===-1&&(a=12),a===2&&i(d)?29:s[a-1]},r=(d,a)=>new Date(d,a-1,1).getDay(),i=d=>d%4===0&&d%100!==0||d%400===0;return{generateCalendar:(d,a)=>{const s=[],o=r(d,a),u=n(d,a-1);for(let h=o-1;h>=0;h--){const k=a-1===0?12:a-1,v=u-h,T=t.lunar?e(d,k,v):{};s.push({year:d,month:k,day:v,target:"prev",...T})}let p=1;for(;p<=n(d,a);){const h=t.lunar?e(d,a,p):{};s.push({year:d,month:a,day:p,target:"current",...h}),p++}let g=1;for(;s.length%7!==0;){const h=a+1===13?1:a+1,k=t.lunar?e(d,h,g):{};s.push({year:d,month:h,day:g,target:"next",...k}),g++}return s}}},It=(t,e)=>{const{run:n}=x();return{handleInput:d=>{n(t.onInput,e.value,d)},handleChange:d=>{n(t.onChange,e.value,d)},handleClear:()=>{t.disabled||(e.value="")}}},Pt=(t,e,n)=>{const{run:r}=x(),i=N(!0),c=N(!1);let d=!1;const a=(k,v,T)=>{k.src=T,i.value=!0,c.value=!0,r(e.onLoad,v)},s=k=>{i.value=!1,r(e.onError,k)},o=(k,v)=>{const T=new Image;new Promise((C,I)=>{T.src=v||e.src,T.addEventListener("load",$=>{C($)}),T.addEventListener("error",$=>{I($)})}).then(C=>{C&&a(k,C,T.src)}).catch(C=>{if(!d&&e.errSrc){o(k,e.errSrc),d=!0;return}s(C)})},u=k=>{const v=new IntersectionObserver(T=>{T[0].isIntersecting&&(o(k),v.unobserve(k))},{rootMargin:Me(e.rootMargin)});return v},p=k=>{const v=()=>{const T=window.innerHeight||document.documentElement.clientHeight,C=document.documentElement.scrollTop||document.body.scrollTop,I=k.offsetParent.offsetTop,$=T+C-I;Math.abs($){if(t.value){if(e.lazy){IntersectionObserver?u(t.value).observe(t.value):p(t.value);return}o(t.value)}},h=()=>{if(n){if(n())g();else return;return}g()};return ae(()=>{h()}),ye(()=>e.src,()=>{h()}),{isSuccess:i,isShowNode:c}},Et="data-index",Tt="f-toolbar-item",qe="f-pagination",ve=`${qe}__item`,Bt=`${qe}__prev`,Vt=`${qe}__next`,ft=25,At="f-trigger",Mt="f-trigger__content-box",Zn=t=>{(()=>{const s=t.children[0].cloneNode(!0);t.appendChild(s)})();const n=24;let r=0;const i=t.children.length,c=()=>{let a=r*n;r++;const s=r*n,o=500,u=15,p=o/u,g=(s-a)/p,h=setInterval(()=>{if(a+=g,a>=s&&(clearInterval(h),r===i-1)){t.scrollTop=0,r=0;return}t.scrollTop=a},u)};return(a=2e3)=>{setInterval(c,a)}},Dt=(t,e,n)=>{const{run:r}=x(),i=d=>{e.value=!1,r(n,d)};return{closeVisible:i,maskClose:()=>{t.maskClose&&i()}}},De=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,92821,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,37600,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],pt={"1-1":{title:"元旦"},"2-2":{title:"湿地日"},"2-14":{title:"情人节"},"3-8":{title:"妇女节"},"3-12":{title:"植树节"},"4-1":{title:"愚人节"},"5-1":{title:"劳动节"},"5-4":{title:"青年节"},"5-12":{title:"护士节"},"6-1":{title:"儿童节"},"7-1":{title:"建党节"},"8-1":{title:"建军节"},"9-10":{title:"教师节"},"10-1":{title:"国庆节"},"12-24":{title:"平安夜"},"12-25":{title:"圣诞节"}},bt={"1-1":{title:"春节"},"1-15":{title:"元宵节"},"2-2":{title:"龙抬头"},"5-5":{title:"端午节"},"7-7":{title:"七夕节"},"7-15":{title:"中元节"},"8-15":{title:"中秋节"},"9-9":{title:"重阳节"},"10-1":{title:"寒衣节"},"10-15":{title:"下元节"},"12-8":{title:"腊八节"},"12-23":{title:"北小年"},"12-24":{title:"南小年"},"12-30":{title:"除夕"}},Wn=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],Xn=["日","一","二","三","四","五","六","七","八","九","十"],Jn=["初","十","廿","卅"],Qn=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],eo=()=>{const t=s=>{let o,u=348;for(o=32768;o>8;o>>=1)u+=De[s-1900]&o?1:0;return u+n(s)},e=s=>De[s-1900]&15,n=s=>e(s)?De[s-1900]&65536?30:29:0,r=(s,o)=>o>12||o<1?-1:De[s-1900]&65536>>o?30:29,i=(s,o)=>{const u="魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯",p=[20,19,21,21,21,22,23,23,23,23,22,22];return u.substr(s*2-(o{if(s<1900||s>2100||o<1||o>24)return-1;const u=Qn[s-1900],p=[];for(let g=0;g{let o;switch(s){case 10:o="初十";break;case 20:o="二十";break;case 30:o="三十";break;default:o=Jn[Math.floor(s/10)],o+=Xn[s%10]}return o};return(s,o,u)=>{let p=parseInt(s.toString()),g=parseInt(o.toString()),h=parseInt(u.toString());if(p<1900||p>2100||p===1900&&g===1&&h<31)return-1;let k;p?k=new Date(p,parseInt(g.toString())-1,h):k=new Date;let v,T=0,C=0;p=k.getFullYear(),g=k.getMonth()+1,h=k.getDate();let I=(Date.UTC(k.getFullYear(),k.getMonth(),k.getDate())-Date.UTC(1900,0,31))/864e5;for(v=1900;v<2101&&I>0;v++)C=t(v),I-=C;I<0&&(I+=C,v--),k.getDay();const $=v;T=e(v);let A=!1;for(v=1;v<13&&I>0;v++)T>0&&v===T+1&&A===!1?(--v,A=!0,C=n($)):C=r($,v),A===!0&&v===T+1&&(A=!1),I-=C;I===0&&T>0&&v===T+1&&(A?A=!1:(A=!0,--v)),I<0&&(I+=C,--v);const j=v,Z=I+1,Le=c(p,g*2);let Ee="";Le===h&&(Ee=Wn[g*2-1]);const Ke=i(g,h),Y=g+"-"+h;let $e=j+"-"+Z;return j===12&&Z===29&&r($,j)===29&&($e="12-30"),{festival:pt[Y]?pt[Y].title:"",lunarFestival:bt[$e]?bt[$e].title:"",lunar:d(Z),term:Ee,constellation:Ke}}},to=(t,e,n)=>{const r=d=>{n(d.clientX-e.value)},i=()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",i)},c=()=>{document.addEventListener("mousemove",r,{passive:!1}),document.addEventListener("mouseup",i,{passive:!1})};t.addEventListener("mousedown",c,{passive:!1})},no={visible:_(),text:m(),color:m(),fullscreen:_(),background:m(),icon:K()},oo={},so={width:"1em",height:"1em",viewBox:"0 0 16 16"},lo=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m7.25 3.75l-4.5 4.5l4.5 4.5m6-4.5H2.75"},null,-1),ao=[lo];function ro(t,e){return f(),b("svg",so,ao)}const io=ee(oo,[["render",ro]]),co={},uo={width:"1em",height:"1em",viewBox:"0 0 16 16"},fo=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M10.25 3.75L5.75 8l4.5 4.25"},null,-1),po=[fo];function bo(t,e){return f(),b("svg",uo,po)}const Ue=ee(co,[["render",bo]]),mo={},ho={width:"1em",height:"1em",viewBox:"0 0 16 16"},_o=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M5.75 12.25L10.25 8l-4.5-4.25"},null,-1),vo=[_o];function go(t,e){return f(),b("svg",ho,vo)}const Ie=ee(mo,[["render",go]]),yo={},ko={width:"1em",height:"1em",viewBox:"0 0 16 16"},$o=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M1.75 2.75h12.5v10.5H1.75zM2 8h12"},null,-1),Co=[$o];function wo(t,e){return f(),b("svg",ko,Co)}const Lo=ee(yo,[["render",wo]]),So={},Fo={width:"1em",height:"1em",viewBox:"0 0 16 16"},zo=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M4.75 5.25h-3m0 3.5c0 2.5 2.798 5.5 6.25 5.5a6.25 6.25 0 1 0 0-12.5c-3.75 0-6.25 3.5-6.25 3.5v-3.5"},null,-1),Io=[zo];function Po(t,e){return f(),b("svg",Fo,Io)}const Eo=ee(So,[["render",Po]]),To={},Bo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Vo=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M11.25 5.25h3m0 3.5c0 2.5-2.798 5.5-6.25 5.5a6.25 6.25 0 1 1 0-12.5c3.75 0 6.25 3.5 6.25 3.5v-3.5"},null,-1),Ao=[Vo];function Mo(t,e){return f(),b("svg",Bo,Ao)}const Do=ee(To,[["render",Mo]]),No={},Ro={width:"32",height:"32",viewBox:"0 0 24 24"},Oo=y("path",{fill:"currentColor",d:"m12 18.275l-4.15 2.5q-.275.175-.575.15q-.3-.025-.525-.2q-.225-.175-.35-.437q-.125-.263-.05-.588l1.1-4.725L3.775 11.8q-.25-.225-.312-.513Q3.4 11 3.5 10.725q.1-.275.3-.45q.2-.175.55-.225l4.85-.425l1.875-4.45q.125-.3.388-.45q.262-.15.537-.15t.538.15q.262.15.387.45l1.875 4.45l4.85.425q.35.05.55.225q.2.175.3.45q.1.275.038.562q-.063.288-.313.513l-3.675 3.175l1.1 4.725q.075.325-.05.588q-.125.262-.35.437q-.225.175-.525.2q-.3.025-.575-.15Z"},null,-1),Ho=[Oo];function Go(t,e){return f(),b("svg",Ro,Ho)}const xo=ee(No,[["render",Go]]),jo={},qo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Uo=y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[y("circle",{cx:"7.5",cy:"7.5",r:"4.75"}),y("path",{d:"M9.25 7.5h-3.5M7.5 5.75v3.5m3.75 2l3 3"})],-1),Yo=[Uo];function Ko(t,e){return f(),b("svg",qo,Yo)}const Zo=ee(jo,[["render",Ko]]),Wo={},Xo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Jo=y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[y("circle",{cx:"7.5",cy:"7.5",r:"4.75"}),y("path",{d:"M9.25 7.5h-3.5m5.5 3.75l3 3"})],-1),Qo=[Jo];function es(t,e){return f(),b("svg",Xo,Qo)}const ts=ee(Wo,[["render",es]]),ns={},os={width:"32",height:"32",viewBox:"0 0 24 24"},ss=y("path",{fill:"currentColor",d:"M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54L2 5.27M12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.79 11.79 0 0 1-4 5.19l-1.42-1.43A9.862 9.862 0 0 0 20.82 12A9.821 9.821 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.821 9.821 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13Z"},null,-1),ls=[ss];function as(t,e){return f(),b("svg",os,ls)}const rs=ee(ns,[["render",as]]),is={},cs={width:"32",height:"32",viewBox:"0 0 24 24"},us=y("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0Z"},null,-1),ds=[us];function fs(t,e){return f(),b("svg",cs,ds)}const ps=ee(is,[["render",fs]]),bs={},ms={width:"1em",height:"1em",viewBox:"0 0 16 16"},hs=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M2.75 1.75h10.5v12.5H2.75zm3 6h4.5m-4.5 3h2.5m-2.5-6h4.5"},null,-1),_s=[hs];function vs(t,e){return f(),b("svg",ms,_s)}const gs=ee(bs,[["render",vs]]),ys={},ks={width:"1em",height:"1em",viewBox:"0 0 16 16"},$s=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12.75 7.75h-10m5-5v10"},null,-1),Cs=[$s];function ws(t,e){return f(),b("svg",ks,Cs)}const Ls=ee(ys,[["render",ws]]),Ss={},Fs={width:"32",height:"32",viewBox:"0 0 512 512"},zs=y("path",{fill:"currentColor",d:"M128 128h256v38H128zm-16 64h288v38H112z"},null,-1),Is=y("path",{fill:"currentColor",d:"M448 64H64L32 256v192h448V256Zm-12 192H320a64 64 0 0 1-128 0H76l22-150h316Z"},null,-1),Ps=[zs,Is];function Es(t,e){return f(),b("svg",Fs,Ps)}const Ts=ee(Ss,[["render",Es]]),Bs={},Vs={width:"32",height:"32",viewBox:"0 0 24 24"},As=y("path",{fill:"currentColor",d:"M12 20c4.4 0 8-3.6 8-8s-3.6-8-8-8s-8 3.6-8 8s3.6 8 8 8m0-18c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12S6.5 2 12 2m5 9.5V13h-6V7h1.5v4.5H17Z"},null,-1),Ms=[As];function Ds(t,e){return f(),b("svg",Vs,Ms)}const Ns=ee(Bs,[["render",Ds]]),Rs={},Os={width:"1em",height:"1em",viewBox:"0 0 16 16"},Hs=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12.25 10.25L8 5.75l-4.25 4.5"},null,-1),Gs=[Hs];function xs(t,e){return f(),b("svg",Os,Gs)}const js=ee(Rs,[["render",xs]]),qs={},Us={width:"1em",height:"1em",viewBox:"0 0 16 16"},Ys=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M3.75 5.75L8 10.25l4.25-4.5"},null,-1),Ks=[Ys];function Zs(t,e){return f(),b("svg",Us,Ks)}const He=ee(qs,[["render",Zs]]),Ws={},Xs={width:"1em",height:"1em",viewBox:"0 0 16 16"},Js=y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[y("circle",{cx:"2.5",cy:"8",r:".75"}),y("circle",{cx:"8",cy:"8",r:".75"}),y("circle",{cx:"13.5",cy:"8",r:".75"})],-1),Qs=[Js];function el(t,e){return f(),b("svg",Xs,Qs)}const mt=ee(Ws,[["render",el]]),tl={},nl={width:"1em",height:"1em",viewBox:"0 0 16 16"},ol=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M1.75 3.75h12.5v10.5H1.75zm9.5-2v1.5m-6.5-1.5v1.5m-2.5 4h11.5"},null,-1),sl=[ol];function ll(t,e){return f(),b("svg",nl,sl)}const al=ee(tl,[["render",ll]]),rl={key:0,class:"f-loading__title"},il=F({name:"FLoading",__name:"loading",props:no,setup(t){const e=t,{styles:n,classes:r}=H(e,"loading"),i=n(["background","color"]),c=r(["fullscreen"],"f-loading");return(d,a)=>d.visible?(f(),b("div",{key:0,class:E(l(c)),style:D(l(i))},[B(l(U),{size:20,class:"f-loading__animation",icon:d.icon},{default:M(()=>[L(d.$slots,"icon",{},()=>[B(l(Lt))])]),_:3},8,["icon"]),d.text?(f(),b("span",rl,G(d.text),1)):w("",!0)],6)):w("",!0)}}),cl=()=>{const t=(i,c)=>{const d=s=>c.value[s],a=s=>d(s)||i.getAttribute(`f-loading-${s}`)||"";return{visible:!!c.value,fullscreen:c.modifiers.fullscreen,text:a("text"),color:a("color"),background:a("background")}},e=(i,c)=>{i.originalPosition!=="absolute"&&i.originalPosition!=="fixed"&&(i.style.position="relative");const d=t(i,c),a=an(il,d),s=a.mount(document.createElement("div"));i.vm=s,i.loadingInstance=a,i.appendChild(s.$el)},n=i=>{i.loadingInstance&&(i.style.position=i.originalPosition,i.removeChild(i.vm.$el),i.loadingInstance.unmount(),i.loadingInstance=null)};return{mounted:(i,c)=>{const d=getComputedStyle(i).position||"static";i.originalPosition=d,c.value&&e(i,c)},updated:(i,c)=>{c.value!==c.oldValue&&(c.value?e(i,c):n(i))}}},ul=(t,e,n)=>{const r=N(0),i=s=>{let o=s.offsetLeft,u=s.offsetParent;for(;u!==null;)o+=u.offsetLeft,u=u.offsetParent;return o},c=()=>{t.value&&(r.value=i(t.value))};ae(()=>{c(),window&&window.addEventListener("resize",c)}),Je(()=>{window&&window.removeEventListener("resize",c)});const d=N(0);return{offset:d,offsetLeft:r,setPosition:s=>{s<0?s=0:s>100&&(s=100);const u=Math.round(s/e.step)*e.step;d.value=u,n.value=u}}},dl=(t,e)=>{const{run:n}=x(),r=V(()=>{const s=Math.floor(t.total/t.pageSize);return t.total%t.pageSize===0?s:s+1}),i=V(()=>{const s=Number(t.pagerCount),o=Number(t.current),u=(s-1)/2;let p=!1,g=!1;const h=[];if(r.value>s)t.current>s-u&&(p=!0),t.current{if(t.disabled)return;let o;n({next:()=>{const p=t.current===r.value?r.value:t.current+1;e.currentModelValue.value=p,n(t.onNext,p,t.pageSize)},prev:()=>{o=t.current===1?1:t.current-1,e.currentModelValue.value=o,n(t.onPrev,o,t.pageSize)}}[s])},d=N(!1),a=N(!1);return Qe(()=>{const s=Number(t.pagerCount),o=(s-1)/2;d.value=!1,a.value=!1,r.value>s&&(t.current>s-o&&(d.value=!0),t.current{const{run:i}=x(),c=u=>{const p=Math.ceil(t.total/Number(u));t.current>p&&(e.currentModelValue.value=p),e.pageSizeModelValue.value=Number(u)},d=(u,p)=>{t.disabled||(e.currentModelValue.value=u,i(t.onChange,u,t.pageSize,p))},a=N("1");return{jumpCurrent:a,selectChange:c,handelChange:d,handleInput:()=>{t.disabled||(Number(a.value)>n.value.length&&(a.value=String(n.value.length)),e.currentModelValue.value=Number(a.value))},handelClick:u=>{if(t.disabled)return;const p=u.target;if(p.className.includes(ve)){let g=Number(p.textContent);const h=t.pagerCount,k=t.current,v=h-2;p.className.includes(Bt)&&(g=k-v),p.className.includes(Vt)&&(g=k+v),Number.isNaN(g)||(g<1&&(g=1),g>r.value&&(g=r.value)),g!==k&&(e.currentModelValue.value=g,i(t.onChange,g,t.pageSize,u))}}}},ht=t=>tt?window.requestAnimationFrame(t):-1,pl=t=>{tt&&window.cancelAnimationFrame(t)},Ge=1e3,We=60*Ge,Xe=60*We,_t=24*Xe,bl=t=>{const e=Math.floor(t/_t),n=Math.floor(t%_t/Xe),r=Math.floor(t%Xe/We),i=Math.floor(t%We/Ge),c=Math.floor(t%Ge);return{total:t,days:e,hours:n,minutes:r,seconds:i,milliseconds:c}},ml=(t,e,n=Ge)=>Math.floor(t/n)===Math.floor(e/n),hl=t=>{let e,n,r,i;const c=N(t.time),d=V(()=>bl(c.value)),a=()=>Math.max(n-performance.now(),0),s=v=>{var T;c.value=v,v===0&&(g(),(T=t.onFinish)==null||T.call(t))},o=()=>{tt&&(t.millisecond?h():k())},u=()=>{r||(n=performance.now()+c.value,r=!0,o())},p=(v=t.time)=>{g(),c.value=v},g=()=>{r=!1,pl(e)},h=()=>{e=ht(()=>{r&&(s(a()),c.value>0&&h())})},k=()=>{e=ht(()=>{if(r){const v=a();(!ml(v,c.value,t.interval)||v===0)&&s(v),c.value>0&&k()}})};return yt(g),rn(()=>{i&&(r=!0,i=!1,o())}),cn(()=>{r&&(g(),i=!0)}),{start:u,pause:g,reset:p,current:d}},_l=(t,e)=>{const{run:n}=x(),r=ne({x:"",y:""}),i=V(()=>{const{spacing:v,enterDuration:T,leaveDuration:C}=t;return{"--trigger-content-x":r.x,"--trigger-content-y":r.y,"--trigger-spacing-size":Me(v),"--trigger-enter-duration":T&&T+"s","--trigger-leave-duration":C&&C+"s"}}),c=()=>{const v=e.value;if(!v)return;const{left:T,top:C,height:I}=v.getBoundingClientRect(),$=T+window.scrollX,A=C+window.scrollY+I;r.x=$+"px",r.y=A+"px"},d=N(!1);let a=!1;const s=v=>{if(!t.disabled){if(d.value){a=!0;return}c(),d.value=!0,a=!0,n(t.onOpen,d.value,v),n(t.onChange,d.value,v)}},o=v=>{if(t.disabled)return;a=!1;const T=()=>{d.value=!1,n(t.onClose,d.value,v),n(t.onChange,d.value,v)};if(t.trigger==="click"){T();return}setTimeout(()=>{a||T()},300)},u=()=>{a=!0},p=()=>{e.value&&(t.trigger==="hover"&&(e.value.addEventListener("mouseenter",s),e.value.addEventListener("mouseleave",o)),t.trigger==="click"&&e.value.addEventListener("click",s))};ae(p),ye(()=>t.trigger,p);const g=v=>{const T=v.target;T.closest("."+Mt)||T.closest("."+At)||(o(v),window.removeEventListener("click",g,!0),window.removeEventListener("resize",c))};return{visible:d,styleList:i,close:o,onBeforeEnter:v=>{if(t.trigger==="hover"){const T=v;T.addEventListener("mouseenter",u),T.addEventListener("mouseleave",o)}window.addEventListener("resize",c),window.addEventListener("click",g,!0)},onAfterLeave:v=>{if(t.trigger==="hover"){const T=v;T.removeEventListener("mouseenter",u),T.removeEventListener("mouseleave",o)}}}},vl=t=>{const e=ne({}),n=Ce(),r=V(()=>{if(!n.default)return[];const d=lt(n.default(),"FFormItem");return d.forEach(a=>{a.props&&a.props.name&&a.props.rules&&(e[a.props.name]=!1)}),d}),i=(d,a)=>{const s=o=>{const u=d.length+1;return!(o.required&&!d||o.max&&u>o.max||o.min&&u{r.value.forEach(a=>{const s=a.props&&a.props.rules,o=a.props&&a.props.name;if(a.props&&s&&o&&t.model)if(o in t.model){const u=t.model[o],p=i(u,s);e[o]=p}else ze("f-form-item",`${o} is not a valid \`name\` parameter`)});const d=Object.values(e);return d.length?d.every(a=>!!a&&!_e(a)):!0}}},{run:Ne}=x(),Nt=t=>({handleOpen:c=>{document.body.style.overflow="hidden",Ne(t.onOpen,c)},handleOpenEnd:c=>{Ne(t.onOpenEnd,c)},handleClose:c=>{document.body.style.overflow="",Ne(t.onClose,c)},handleCloseEnd:c=>{Ne(t.onCloseEnd,c)}}),gl=t=>{const{run:e}=x(),n=V(()=>te(t.animationTime)?`${t.animationTime}s all ease-in-out`:"0.747s all ease-in-out");return{onBeforeEnter:o=>{const u=o;u.style.transition=n.value,t.widthAnimation&&(u.style.width="0"),t.heightAnimation&&(u.style.height="0"),e(t.onOpen,o)},onEnter:o=>{const u=o;if(u.style.overflow="hidden",t.heightAnimation?u.style.height=u.scrollHeight+"px":u.style.height="auto",t.widthAnimation){u.style.width="auto";const p=u.getBoundingClientRect().width;u.style.width="0",u.offsetWidth,u.style.width=p+"px"}else u.style.width="auto"},onAfterEnter:o=>{const u=o;u.style.transition="",u.style.height="",u.style.width="",e(t.onOpenEnd,o)},onBeforeLeave:o=>{const u=o;if(u.style.transition=n.value,t.heightAnimation&&(u.style.height=u.scrollHeight+"px"),t.widthAnimation){const p=u.getBoundingClientRect().width;u.style.width=p+"px"}e(t.onClose,o)},onLeave:o=>{const u=o;u.style.overflow="hidden",t.heightAnimation&&(u.style.height="0"),t.widthAnimation&&(u.style.width="0")},onAfterLeave:o=>{const u=o;u.style.transition="",u.style.height="",u.style.width="",e(t.onCloseEnd,o)}}},yl=t=>V(()=>{const e=document.createElement("canvas"),n=window.devicePixelRatio||1,i=t.fontSize*n+"px serif",c=e.getContext("2d"),{width:d}=c.measureText(t.content),a=Math.max(100,d)*n+t.gap;return e.width=a,e.height=a,c.translate(e.width/2,e.height/2),c.rotate(Math.PI/190*-45),c.fillStyle=t.fontColor,c.font=i,c.textAlign="center",c.textBaseline="middle",c.fillText(t.content,0,0),{base64:e.toDataURL(),size:a/n}}),kl={type:m(void 0,t=>ke.includes(t)),fontSize:S(),titleSize:S(),bold:_(),center:_(),close:_(),simple:_(),title:m(),round:_(),background:m(),color:m(),titleColor:m(),fixed:_(),closeIcon:K(),beforeIcon:K(),alertList:de(),duration:O(),onClose:z()},$l={class:"f-alert__content"},Cl={key:0,class:"f-alert__title"},wl={key:1,class:"f-alert__sub-title"},Ll=F({name:"FAlert",__name:"alert",props:kl,setup(t){const e=t,{getProp:n}=fe(e),{run:r}=x(),{styles:i,classes:c}=H(n(["type"]),"alert"),d=N(!0),a=N(),s=c(["type","bold","simple","center","round","fixed"],"f-alert"),o=i(["fontSize","color","background","titleSize","titleColor"]),u=p=>{d.value=!1,r(e.onClose,p)};return ae(()=>{e.alertList&&e.alertList.length&&a.value&&Zn(a.value)(te(e.duration)?e.duration:2e3)}),(p,g)=>(f(),R(re,{name:"f-alert"},{default:M(()=>[d.value?(f(),b("div",{key:0,role:"alert",class:E(l(s)),style:D(l(o))},[p.$slots.beforeIcon||p.beforeIcon?(f(),R(l(U),{key:0,icon:p.beforeIcon},{default:M(()=>[L(p.$slots,"beforeIcon")]),_:3},8,["icon"])):w("",!0),y("div",$l,[p.title?(f(),b("div",Cl,[L(p.$slots,"title",{},()=>[X(G(p.title),1)])])):w("",!0),p.$slots.default?(f(),b("div",wl,[L(p.$slots,"default")])):w("",!0),p.alertList&&p.alertList.length?(f(),b("div",{key:2,ref_key:"alertListEl",ref:a,class:"f-alert__list"},[(f(!0),b(q,null,W(p.alertList,(h,k)=>(f(),b("div",{key:k,class:"f-alert__list-item"},G(h),1))),128))],512)):w("",!0)]),p.close?(f(),R(l(we),{key:1,round:"",color:p.type==="default"?"#333":"#fff",size:16,icon:p.closeIcon,"on-click":u},{default:M(()=>[L(p.$slots,"closeIcon")]),_:3},8,["color","icon"])):w("",!0)],6)):w("",!0)]),_:3}))}}),Sl=P(Ll),Fl={width:S(),padding:S(),background:m()},zl=F({name:"FAside",__name:"aside",props:Fl,setup(t){const e=t,{styles:n}=H(e,"aside"),r=n(["width","padding","background"]);return(i,c)=>(f(),b("aside",{class:"f-aside",style:D(l(r))},[L(i.$slots,"default")],4))}}),Il=P(zl),Pl={src:m(),errSrc:m(),icon:K(),alt:m(),round:_(),lazy:_(),fit:m(void 0,t=>nt.includes(t)),size:{type:[String,Number],default:()=>"middle",validator:t=>_e(t)?le.includes(t):te(t)?t>=1:!1},background:m(),fontSize:S(),fontColor:m(),text:m(),rootMargin:S("100px"),onLoad:z(),onError:z()},El={positionSize:S(),round:_(!0),size:{type:[String,Number],default:()=>"middle",validator:t=>_e(t)?le.includes(t):te(t)?t>=1:!1},lazy:_(),fit:m(void 0,t=>nt.includes(t))},Rt=Symbol("avatar-group-props-key"),Tl={key:1,class:"f-avatar__text"},Bl=["alt"],Vl={class:"f-avatar__error-text"},Al=F({name:"FAvatar",__name:"avatar",props:Pl,setup(t){const e=t,n=Ce(),r=N(),i=se(Rt,void 0),{isSuccess:c,isShowNode:d}=Pt(r,e,()=>!n.icon&&!e.icon&&!e.text&&r.value),a=ne({...ue(e),...ue(ne(i||{}))}),{styles:s,classes:o}=H(a,"avatar"),u=o(["round","fit",{key:"size",callback:()=>_e(a.size)}],"f-avatar"),p=s(["background","fontColor","fontSize","zIndex",{key:"size",callback:()=>te(a.size)}],"zIndex");return(g,h)=>l(c)?(f(),b("div",{key:0,role:"img",class:E(l(u)),style:D(l(p))},[g.$slots.icon||g.icon?(f(),R(l(U),{key:0,size:g.fontSize||15,color:g.fontColor,icon:g.icon},{default:M(()=>[L(g.$slots,"icon")]),_:3},8,["size","color","icon"])):g.text?(f(),b("span",Tl,G(g.text),1)):(f(),b("img",{key:2,ref_key:"avatarRef",ref:r,class:"f-avatar__img",src:"",style:D(l(d)?"":"visibility: hidden"),alt:g.alt},null,12,Bl))],6)):(f(),b("div",{key:1,class:"f-avatar__error",style:D(l(p))},[L(g.$slots,"error",{},()=>[y("span",Vl,G(g.alt||"加载失败"),1)])],4))}}),Ml=P(Al),Dl={round:_(),behavior:m("smooth",t=>["smooth","auto"].includes(t)),visibleHeight:O(200),right:S(),bottom:S(),zIndex:O(),top:O(0),listenEl:m(),background:m(),color:m()},Nl=["onClick"],Rl=F({name:"FBackTop",__name:"back-top",props:Dl,setup(t){const e=t,{styles:n,classes:r}=H(e,"back-top"),i=N(!1),c=u=>wt(()=>{const p=(u||document.documentElement).scrollTop,g=te(e.visibleHeight)?e.visibleHeight:200;i.value=p>g},200),d=c(),a=()=>{const{top:u,behavior:p,listenEl:g}=ue(e);if(_e(e.listenEl)){const h=document.querySelector(g.value);if(!h){Te("f-back-top","`listen-el` is not a element");return}h&&h.scrollTo({top:u.value,behavior:p.value});return}else Te("f-back-top","`listen-el` attributes is not a string");window&&window.scrollTo({top:u.value,behavior:p.value})};ae(()=>{if(e.listenEl){if(!_e(e.listenEl)){Te("f-back-top","`listen-el` attributes is not a string"),document.addEventListener("scroll",c());return}const u=document.querySelector(e.listenEl);if(!u){Te("f-back-top","`listen-el` is not a element");return}u&&u.addEventListener("scroll",c(u))}else document.addEventListener("scroll",d)}),Je(()=>{document.removeEventListener("scroll",d)});const s=n(["right","bottom","background","color","zIndex"],"zIndex"),o=r(["round"],"f-back-top");return(u,p)=>(f(),R(re,{name:"f-back-top"},{default:M(()=>[ie(y("div",{class:E(l(o)),style:D(l(s)),onClick:be(a,["stop"])},[L(u.$slots,"default")],14,Nl),[[he,i.value]])]),_:3}))}}),Ol=P(Rl),Hl={value:S(),max:O(99),dot:_(),show:_(!0),type:m("danger",t=>ke.includes(t)),background:m(),color:m()},Gl={key:0,class:"f-badge__content"},xl=F({name:"FBadge",__name:"badge",props:Hl,setup(t){const e=t,{classes:n,styles:r}=H(e,"badge"),i=n(["type","dot"],"f-badge"),c=r(["background","color"]),d=V(()=>{const{dot:s,max:o,value:u}=e;return s?"":te(o)&&te(u)&&u>o?o+"+":u}),a=V(()=>{const{value:s,show:o}=e;return!te(s)&&o?!0:o&&te(s)&&s>0});return(s,o)=>(f(),b("div",{class:E(l(i)),style:D(l(c))},[L(s.$slots,"default"),B(re,{name:"f-badge"},{default:M(()=>[a.value?(f(),b("sup",Gl,G(d.value),1)):w("",!0)]),_:1})],6))}}),jl=P(xl),ql={separator:K(),fontColor:m(),iconColor:m(),fontSize:S()},Ot=Symbol("breadcrumb-props-key"),Ul={key:0,class:"f-breadcrumb"},Yl=F({name:"FBreadcrumb",__name:"breadcrumb",props:ql,setup(t){return ce(Ot,t),(n,r)=>n.$slots.default?(f(),b("div",Ul,[L(n.$slots,"default")])):w("",!0)}}),Kl=P(Yl),Zl={fontColor:m(),iconColor:m(),separator:K(),to:{type:[String,Object],default:()=>null}},Wl={class:"f-breadcrumb-item__text"},Xl=F({name:"FBreadcrumbItem",__name:"breadcrumb-item",props:Zl,setup(t){const e=t,n=se(Ot,null),{styles:r}=H(ne({iconColor:e.iconColor||n&&n.iconColor,fontColor:e.fontColor||n&&n.fontColor,fontSize:n&&n.fontSize}),"breadcrumb-item"),i=xe(),c=V(()=>e.separator?e.separator:n&&n.separator?n.separator:Ie),d=r(["fontColor","iconColor","fontSize"]),a=()=>{const s=i.appContext.config.globalProperties.$router;if(s&&e.to)try{s.push(e.to)}catch(o){console.warn(o)}};return(s,o)=>(f(),b("div",{class:"f-breadcrumb-item",style:D(l(d)),onClick:a},[y("span",Wl,[L(s.$slots,"default")]),B(l(U),{icon:c.value,size:16},null,8,["icon"])],4))}}),Jl=P(Xl),Ql=F({name:"FButtonGroup",__name:"button-group",props:On,setup(t){const e=t,{classes:n}=H(e,"button-group"),r=se(St,null),i=V(()=>e.size||r&&r.size||"middle");ce(Hn,i.value);const c=n(["direction","size"],"f-button-group");return(d,a)=>(f(),b("div",{role:"group",class:E(l(c))},[L(d.$slots,"default")],2))}}),ea=P(Ql),ta={date:{type:Date,default:()=>new Date,required:!0},lunar:_(),showHeader:_(!0),border:_(),borderColor:m(),dayCellHeight:S(),weekCellHeight:S(),onChange:z(),onChangeDate:z(),onChangeMonth:z()},na={key:0,class:"f-calendar__header"},oa={class:"f-calendar__option"},sa={class:"f-calendar__week"},la={class:"f-calendar__day"},aa=["onClick"],ra={class:"f-calendar__solar"},ia={key:0,class:"f-calendar__lunar"},ca=F({name:"FCalendar",__name:"calendar",props:ta,setup(t){const e=t,{getLang:n}=fe(),{run:r}=x(),{styles:i,classes:c}=H(e,"calendar"),{generateCalendar:d}=Kn(e),a=V(()=>Mn(e.date)?e.date:new Date),s=ne({year:a.value.getFullYear(),month:a.value.getMonth()+1,date:a.value.getDate()}),o=V(()=>d(s.year,s.month)),u=V(()=>n("calendar").value.weekList),p=()=>{s.month===1?(s.year-=1,s.month=12):s.month-=1},g=()=>{s.month===12?(s.year+=1,s.month=1):s.month+=1},h={prev:()=>p(),next:()=>g(),current:()=>{s.year=e.date.getFullYear(),s.month=e.date.getMonth()+1,s.date=e.date.getDate()}},k=j=>{h[j]&&h[j]()},v=j=>{const{target:Z,day:Le}=j;Z==="prev"&&h[Z](),Z==="next"&&h[Z](),Z==="current"&&(s.date=Le,r(e.onChangeDate,s.year,s.month,s.date))},T=ye(()=>s.month,j=>{r(e.onChangeMonth,s.year,j,s.date)}),C=ye(()=>s,()=>{r(e.onChange,s.year,s.month,s.date)},{deep:!0}),I=(j,Z)=>Z===s.date&&j===s.month?"f-calendar__day-today":"";un(()=>{C(),T()});const $=i(["borderColor","dayCellHeight","weekCellHeight"]),A=c(["border"],"f-calendar");return(j,Z)=>{const Le=ge("f-option"),Ee=ge("f-select"),Ke=ge("f-button");return f(),b("div",{class:E(l(A)),style:D(l($))},[j.showHeader?(f(),b("header",na,[B(l(U),{icon:l(Ue),onClick:Z[0]||(Z[0]=Y=>k("prev"))},null,8,["icon"]),y("div",oa,[B(Ee,{modelValue:s.year,"onUpdate:modelValue":Z[1]||(Z[1]=Y=>s.year=Y),width:116},{default:M(()=>[(f(),b(q,null,W(200,Y=>B(Le,{key:Y,value:1900+Y},{default:M(()=>[X(G(1900+Y),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),B(Ee,{modelValue:s.month,"onUpdate:modelValue":Z[2]||(Z[2]=Y=>s.month=Y),width:116},{default:M(()=>[(f(),b(q,null,W(12,Y=>B(Le,{key:Y,value:Y},{default:M(()=>[X(G(Y),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),B(Ke,{type:"default",onClick:Z[3]||(Z[3]=Y=>k("current"))},{default:M(()=>[X("今天")]),_:1})]),B(l(U),{icon:l(Ie),onClick:Z[4]||(Z[4]=Y=>k("next"))},null,8,["icon"])])):w("",!0),y("div",sa,[(f(!0),b(q,null,W(u.value,(Y,$e)=>(f(),b("div",{key:$e,class:"f-calendar__week-item"},G(Y),1))),128))]),y("div",la,[(f(!0),b(q,null,W(o.value,(Y,$e)=>(f(),b("div",{key:$e,class:E(["f-calendar__day-item",{"f-calendar__day-current":Y.target==="current",[I(Y.month,Y.day)]:Y.target==="current"}]),onClick:lf=>v(Y)},[y("span",ra,G(Y.day),1),j.lunar?(f(),b("span",ia,G(Y.lunarFestival||Y.festival||Y.term||Y.lunar),1)):w("",!0)],10,aa))),128))])],6)}}}),Ht=P(ca),ua={title:m(),round:_(),padding:S(),shadow:m(void 0,t=>["hover","always"].includes(t)),borderColor:m(),background:m(),titleColor:m(),titleBold:_(),close:_(),onClose:z()},da={key:0,role:"heading",class:"f-card__header"},fa={role:"none",class:"f-card__body"},pa=F({name:"FCard",__name:"card",props:ua,setup(t){const e=t,n=N(!0),{run:r}=x(),{classes:i,styles:c}=H(e,"card"),d=i(["round","shadow"],"f-card"),a=c(["padding","borderColor","background","titleColor"]),s=()=>{n.value=!1,r(e.onClose,n.value)};return(o,u)=>(f(),R(re,{name:"f-card"},{default:M(()=>[n.value?(f(),b("div",{key:0,class:E(l(d)),style:D(l(a))},[o.$slots.header||o.title?(f(),b("header",da,[y("span",{class:E(["f-card__title",{"f-card__title-bold":o.titleBold}])},[L(o.$slots,"header",{},()=>[X(G(o.title),1)])],2),o.close?(f(),R(l(we),{key:0,"on-click":s})):w("",!0)])):w("",!0),y("main",fa,[L(o.$slots,"default")])],6)):w("",!0)]),_:3}))}}),ba=P(pa),ma={modelValue:{type:Boolean,default:()=>!1},label:{type:[String,Number,Boolean],default:()=>null},disabled:_(),border:_(),showLabel:_(!0),onChange:z()},ha={modelValue:de([]),disabled:_(),vertical:_(),label:m(),background:_(),size:m("middle",t=>le.includes(t)),columnGap:S(),rowGap:S(),onChange:z()},Gt=Symbol("f-checkbox-group-props-key"),_a=["value","disabled"],va={key:0,class:"f-checkbox__box"},ga={class:"f-checkbox__text"},ya=F({name:"FCheckbox",__name:"checkbox",props:Q(ma,{modelValue:{type:Boolean,default:!1,type:[Boolean,Array]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),i=V({get:()=>c&&c.modelValue||e.modelValue,set:p=>{if(!c){n.value=p,r(e.onChange,p);return}c.setChange(p)}}),c=se(Gt,null),d=V(()=>{const p=i.value;return me(p)?p.includes(e.label):ot(p)?p:p===e.label}),a=V(()=>!!(c&&c.disabled)),s=V(()=>e.disabled||a.value),{classes:o}=H(ne({checked:d,disabled:s}),"checkbox"),u=o(["checked","disabled"],"f-checkbox");return(p,g)=>(f(),b("label",{role:"checkbox","aria-checked":"false",tabindex:"0","aria-labelledby":"chk1-label",class:E(l(u))},[ie(y("input",{"onUpdate:modelValue":g[0]||(g[0]=h=>i.value=h),type:"checkbox",class:"f-checkbox__input",hidden:"",value:p.label,disabled:p.disabled||!!l(c)&&l(c).disabled},null,8,_a),[[dn,i.value]]),l(c)&&l(c).background?w("",!0):(f(),b("span",va)),y("span",ga,[L(p.$slots,"default"),!p.$slots.default&&p.showLabel?(f(),b(q,{key:0},[X(G(p.label),1)],64)):w("",!0)])],2))}}),xt=P(ya),ka=F({name:"FCheckboxGroup",__name:"checkbox-group",props:Q(ha,{modelValue:{type:Boolean,default:[],type:[Boolean,Array,String,Number]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{classes:i,styles:c}=H(e,"checkbox-group"),d=o=>{n.value=o,r(e.onChange,o)};ce(Gt,ne({...ue(e),setChange:d}));const a=c(["columnGap","rowGap"]),s=i(["background","vertical","size"],"f-checkbox-group");return(o,u)=>(f(),b("div",{role:"group","aria-label":"checkbox-group",class:E(l(s)),style:D(l(a))},[L(o.$slots,"default")],6))}}),jt=P(ka),$a={visible:{..._(),required:!0},title:m(),appendToBody:_(),width:S(),fullscreen:_(),showMask:_(!0),maskClose:_(!0),maskOpacity:O(),maskBackground:m(),showHeader:_(!0),maskBlur:_(),showCloseIcon:_(!0),closeIcon:K(),zIndex:O(),onOpen:z(),onOpenEnd:z(),onClose:z(),onCloseEnd:z()},Ca={key:0,class:"f-dialog__mask"},wa={class:"f-dialog__container"},La={key:0,class:"f-dialog__header"},Sa={class:"f-dialog__header-before"},Fa={class:"f-dialog__header-center"},za={class:"f-dialog__header-after"},Ia={key:1,class:"f-dialog__body"},Pa={key:2,class:"f-dialog__footer"},Ea=F({name:"FDialog",__name:"dialog",props:Q($a,{visible:{type:Boolean,default:!1,type:Boolean}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{styles:r,classes:i}=H(e,"dialog"),{closeVisible:c,maskClose:d}=Dt(e,n),{handleOpen:a,handleOpenEnd:s,handleClose:o,handleCloseEnd:u}=Nt(e),p=r(["width","zIndex","maskBackground","maskOpacity"],["maskOpacity","zIndex"]),g=i(["fullscreen","maskBlur"],"f-dialog");return(h,k)=>(f(),R(je,{to:"body",disabled:!h.appendToBody},[B(re,{name:"f-dialog__trans",onBeforeEnter:l(a),onAfterEnter:l(s),onBeforeLeave:l(o),onAfterLeave:l(u)},{default:M(()=>[ie(y("div",{role:"dialog","aria-modal":"true",tabindex:"-1",class:E(l(g)),style:D(l(p))},[h.showMask?(f(),b("div",Ca)):w("",!0),y("div",{class:"f-dialog__wrapper",onClick:k[0]||(k[0]=be((...v)=>l(d)&&l(d)(...v),["self"]))},[B(re,{name:"f-dialog__container-trans"},{default:M(()=>[ie(y("div",wa,[h.showHeader?(f(),b("header",La,[y("div",Sa,[L(h.$slots,"headerBefore")]),y("div",Fa,G(h.title),1),y("div",za,[L(h.$slots,"headerAfter",{},()=>[h.showCloseIcon?(f(),R(l(we),{key:0,round:"",color:"#3c4043",size:30,icon:h.closeIcon,"on-click":l(c)},{default:M(()=>[L(h.$slots,"closeIcon")]),_:3},8,["icon","on-click"])):w("",!0)])])])):w("",!0),h.$slots.default?(f(),b("section",Ia,[L(h.$slots,"default")])):w("",!0),h.$slots.footer?(f(),b("footer",Pa,[L(h.$slots,"footer")])):w("",!0)],512),[[he,n.value]])]),_:3})])],6),[[he,n.value]])]),_:3},8,["onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],8,["disabled"]))}}),Ta=P(Ea),Ba={position:m("center",t=>["left","center","right"].includes(t)),vertical:_(),color:m(),fontColor:m(),margin:S(),height:S(),background:m(),type:m("solid",t=>["dashed","dotted","double","solid"].includes(t))},Va={key:0,class:"f-divider__text"},Aa=F({name:"FDivider",__name:"divider",props:Ba,setup(t){const e=t,{classes:n,styles:r}=H(e,"divider"),i=n(["vertical","position"],"f-divider"),c=r(["color","margin","background","fontColor","height","type"]);return(d,a)=>(f(),b("div",{role:"separator",class:E(l(i)),style:D(l(c))},[!d.vertical||!d.$slots.default?(f(),b("span",Va,[L(d.$slots,"default")])):w("",!0)],6))}}),Ma=P(Aa),Da={visible:_(),appendToBody:_(),direction:m("right",t=>["left","top","right","bottom"].includes(t)),title:m(),showMask:_(!0),showHeader:_(!0),maskClose:_(!0),maskBlur:_(),maskOpacity:O(),maskBackground:m(),showCloseIcon:_(!0),closeIcon:K(),zIndex:O(),onOpen:z(),onOpenEnd:z(),onClose:z(),onCloseEnd:z()},Na={key:0,class:"f-drawer__mask"},Ra={class:"f-drawer__container"},Oa={key:0,class:"f-drawer__header"},Ha={class:"f-drawer__header-title"},Ga={key:1,class:"f-drawer__body"},xa={key:2,class:"f-drawer__footer"},ja=F({name:"FDrawer",__name:"drawer",props:Q(Da,{visible:{type:Boolean,default:!1,type:Boolean}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{styles:r,classes:i}=H(e,"drawer"),{closeVisible:c,maskClose:d}=Dt(e,n),{handleOpen:a,handleOpenEnd:s,handleClose:o,handleCloseEnd:u}=Nt(e),p=r(["width","zIndex","maskBackground","maskOpacity"],["zIndex","maskOpacity"]),g=i(["fullscreen","maskBlur","direction"],"f-drawer");return(h,k)=>(f(),R(je,{to:"body",disabled:!h.appendToBody},[B(re,{name:"f-drawer__trans",onBeforeEnter:l(a),onAfterEnter:l(s),onBeforeLeave:l(o),onAfterLeave:l(u)},{default:M(()=>[ie(y("div",{role:"dialog","aria-modal":"true",tabindex:"-1",class:E(l(g)),style:D(l(p))},[h.showMask?(f(),b("div",Na)):w("",!0),y("div",{class:"f-drawer__wrapper",onClick:k[0]||(k[0]=be((...v)=>l(d)&&l(d)(...v),["self"]))},[B(re,{name:"f-drawer__container-trans"},{default:M(()=>[ie(y("div",Ra,[h.showHeader?(f(),b("header",Oa,[L(h.$slots,"header",{},()=>[y("span",Ha,G(h.title),1),h.showCloseIcon?(f(),R(l(we),{key:0,icon:h.closeIcon,"on-click":l(c)},{default:M(()=>[L(h.$slots,"closeIcon")]),_:3},8,["icon","on-click"])):w("",!0)])])):w("",!0),h.$slots.default?(f(),b("section",Ga,[L(h.$slots,"default")])):w("",!0),h.$slots.footer?(f(),b("footer",xa,[L(h.$slots,"footer")])):w("",!0)],512),[[he,n.value]])]),_:3})])],6),[[he,n.value]])]),_:3},8,["onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],8,["disabled"]))}}),qa=P(ja),Ua={content:m(),contentSize:S(),contentColor:m(),imageSrc:m(),imageSize:S(),background:m(),iconSize:S(30)},Ya={src:m(),alt:m(),draggable:_(!0),lazy:_(),rootMargin:S("100px"),width:S(),height:S(),block:_(),fit:m(void 0,t=>nt.includes(t)),select:_(),referrerPolicy:m(),round:S(),errSrc:m(),title:m(),onLoad:z(),onError:z()},Ka=["draggable","referrer-policy","alt","title"],Za={key:1,class:"f-image__error"},Wa={class:"f-image__error-text"},Xa=F({name:"FImage",__name:"image",props:Ya,setup(t){const e=t,n=N(),{classes:r,styles:i}=H(e,"image"),{isSuccess:c,isShowNode:d}=Pt(n,e),a=r(["fit","select","block"],"f-image"),s=i(["width","height","round"]);return(o,u)=>l(c)?(f(),b("div",{key:0,role:"img",class:E(l(a)),style:D(l(s))},[y("img",{ref_key:"imageEl",ref:n,class:"f-image__img",src:"",style:D(l(d)?"":"visibility: hidden"),draggable:o.draggable,"referrer-policy":o.referrerPolicy,alt:o.alt,title:o.title},null,12,Ka)],6)):(f(),b("div",Za,[L(o.$slots,"error",{},()=>[y("div",Wa,G(o.alt||"加载失败"),1)])]))}}),qt=P(Xa),Ja={class:"f-empty__wrapper"},Qa={class:"f-empty__content"},er={key:0,class:"f-empty__footer"},tr=F({name:"FEmpty",__name:"empty",props:Ua,setup(t){const e=t,{styles:n}=H(e,"empty"),{getLang:r}=fe(),i=V(()=>e.content||r("empty").value.content),c=n(["contentColor","contentSize","background"]);return(d,a)=>(f(),b("div",{class:"f-empty",style:D(l(c))},[y("div",Ja,[d.$slots.default?L(d.$slots,"default",{key:0}):(f(),b(q,{key:1},[d.imageSrc?(f(),R(l(qt),{key:0,src:d.imageSrc,width:d.imageSize},null,8,["src","width"])):(f(),R(l(U),{key:1,icon:l(Ts),size:d.iconSize},null,8,["icon","size"]))],64))]),y("span",Qa,G(i.value),1),d.$slots.footer?(f(),b("div",er,[L(d.$slots,"footer")])):w("",!0)],4))}}),nr=P(tr),or={imageList:de([]),round:_(),expandIndex:O(0),color:m(),vertical:_(),width:S(),height:S(),onChange:z()},sr=["onClick"],lr={key:0,class:"f-expand-card__title"},ar=F({name:"FExpandCard",__name:"expand-card",props:or,setup(t){const e=t,{classes:n,styles:r}=H(e,"expand-card"),{run:i}=x(),c=N(e.expandIndex),d=(u,p,g)=>{c.value=p,i(e.onChange,u,p,g)},a=V(()=>{const{imageList:u}=e;return me(u)?u.map(p=>_e(p)?{url:p}:Ae(p)&&p.url?p:{url:""}):(ze("f-expand-card","`image-list` is not a array."),[])}),s=n(["round","vertical"],"f-expand-card"),o=r(["width","height","color"]);return(u,p)=>a.value.length?(f(),b("div",{key:0,class:E(l(s)),style:D(l(o))},[(f(!0),b(q,null,W(a.value,(g,h)=>(f(),b("div",{key:h,class:E(["f-expand-card__item",{"f-expand-card__active":h===c.value}]),style:D({backgroundImage:`url(${g.url})`}),onClick:k=>d(k,h,g)},[g.text?(f(),b("div",lr,G(g.text),1)):w("",!0)],14,sr))),128))],6)):w("",!0)}}),rr=P(ar),ir={height:S(),padding:S()},cr=F({name:"FFooter",__name:"footer",props:ir,setup(t){const e=t,{styles:n}=H(e,"footer"),r=n(["height","padding"]);return(i,c)=>(f(),b("footer",{class:"f-footer",style:D(l(r))},[L(i.$slots,"default")],4))}}),ur=P(cr),dr={height:S(),padding:S()},fr=F({name:"FHeader",__name:"header",props:dr,setup(t){const e=t,{styles:n}=H(e,"header"),r=n(["height","padding"]);return(i,c)=>(f(),b("header",{role:"banner",class:"f-header",style:D(l(r))},[L(i.$slots,"default")],4))}}),pr=P(fr),br={visible:_(),imgList:de([]),modalClose:_(!0),appendToBody:_(),isCloseBtn:_(!0),showIndex:O(0),zIndex:O(),isOption:_(!0),round:m(),onClose:z()},mr={round:_(),size:m("middle",t=>le.includes(t)),background:m(),textColor:m(),fixed:_(),width:S(),height:S(),onClick:z()},hr=F({name:"FToolbar",__name:"toolbar",props:mr,setup(t){const e=t,n=Ce(),{run:r}=x(),{classes:i,styles:c}=H(e,"toolbar"),d=o=>{if(!n.default)return;const u=o.target;if(u.className===Tt){const p=u.getAttribute(Et);r(e.onClick,p,o)}},a=i(["size","round","fixed"],"f-toolbar"),s=c(["textColor","background","width","height"]);return(o,u)=>(f(),b("div",{role:"toolbar",class:E(l(a)),style:D(l(s)),onClick:d},[L(o.$slots,"default")],6))}}),Ut=P(hr),_r={color:m(),icon:K(),iconSize:S(16),index:S(),onClick:z()},vr=F({name:"FToolbarItem",__name:"toolbar-item",props:_r,setup(t){const e=t,{run:n}=x(),{styles:r}=H(e,"toolbar-item"),i=a=>{n(e.onClick,a)},c=r(["color"]),d=Et;return(a,s)=>(f(),b("span",kt({class:l(Tt),[l(d)||""]:a.index,style:l(c),onClick:i}),[a.icon?(f(),R(l(U),{key:0,size:a.iconSize,icon:a.icon},null,8,["size","icon"])):w("",!0),L(a.$slots,"default")],16))}}),Se=P(vr),gr=y("div",{class:"f-image-preview__mask"},null,-1),yr=["onClick"],kr={class:"f-image-preview__wrapper"},$r=["src"],Cr=F({name:"FImagePreview",__name:"image-preview",props:Q(br,{visible:{type:Boolean,default:!1,type:Boolean}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{run:r}=x(),{scale:i,rotate:c,smaller:d,bigger:a,scrollZoom:s,recovery:o,rotateClockwise:u,rotateCounterClock:p}=Yn(),g=N(e.showIndex>e.imgList.length-1?0:e.showIndex),h=()=>{me(e.imgList)&&e.imgList.forEach($=>{const A=new Image;A.src=$})},k={next:()=>{if(g.value{if(g.value>0){g.value--;return}g.value=e.imgList.length-1}},v=$=>{o(),r(k[$])},T={1:()=>d(),2:()=>a(),3:()=>o(),4:()=>u(),5:()=>p()},C=$=>{$&&r(T[$])},I=$=>{n.value=!1,r(e.onClose,$)};return($,A)=>(f(),R(je,{to:"body",disabled:!$.appendToBody},[B(re,{name:"f-image-preview__transition",onBeforeEnter:h},{default:M(()=>[ie(y("div",{class:"f-image-preview",style:D({zIndex:$.zIndex}),onMousewheel:A[0]||(A[0]=(...j)=>l(s)&&l(s)(...j))},[gr,y("div",{class:"f-image-preview__container",onClick:be(I,["self"])},[B(re,{name:"f-image-preview__wrapper-transition"},{default:M(()=>[ie(y("div",kr,[y("img",{class:"f-image-preview__node",draggable:"false",src:$.imgList[g.value],style:D({transform:`scale(${l(i)}) rotate(${l(c)}deg)`,borderRadius:$.round})},null,12,$r)],512),[[he,n.value]])]),_:1}),$.isOption?(f(),R(l(Ut),{key:0,class:"f-image-preview__option",round:"","on-click":C},{default:M(()=>[B(l(Se),{icon:l(ts),index:1},null,8,["icon"]),B(l(Se),{icon:l(Zo),index:2},null,8,["icon"]),B(l(Se),{icon:l(Lo),index:3},null,8,["icon"]),B(l(Se),{icon:l(Do),index:4},null,8,["icon"]),B(l(Se),{icon:l(Eo),index:5},null,8,["icon"])]),_:1})):w("",!0),$.imgList.length>1?(f(),b(q,{key:1},[B(l(pe),{class:"f-image-preview__next",circle:"","before-icon":l(Ie),"on-click":()=>v("next")},null,8,["before-icon","on-click"]),B(l(pe),{class:"f-image-preview__prev",circle:"","before-icon":l(Ue),"on-click":()=>v("prev")},null,8,["before-icon","on-click"])],64)):w("",!0),B(l(pe),{class:"f-image-preview__close",circle:"","before-icon":l(st),"on-click":I},null,8,["before-icon"])],8,yr)],36),[[he,n.value]])]),_:1})],8,["disabled"]))}}),wr=P(Cr),Lr={direction:m(void 0,t=>["horizontal","vertical"].includes(t))},Sr=F({name:"FLayout",__name:"layout",props:Lr,setup(t){const e=t,n=Ce(),r=V(()=>e.direction==="vertical"?!0:e.direction==="horizontal"?!1:n&&n.default?n.default().some(c=>{const d=c.type.name;return d==="FHeader"||d==="FFooter"}):!1);return(i,c)=>(f(),b("section",{class:E(["f-layout",{"f-layout__vertical":r.value}])},[L(i.$slots,"default")],2))}}),Fr=P(Sr),zr={type:m(void 0,t=>ke.includes(t)),href:m(),size:S(),state:m(void 0,t=>["line","background"].includes(t)),disabled:_(),target:m("_self",t=>Dn.includes(t)),color:m(),hoverColor:m(),noCopy:_(),noLink:_(),beforeIcon:K(),afterIcon:K(),onClick:z()},Ir=["href","target"],Pr=F({name:"FLink",__name:"link",props:zr,setup(t){const e=t,{getProp:n}=fe(e),{run:r}=x(),{classes:i,styles:c}=H(n(["type"],["primary"]),"link"),d=o=>{if(e.disabled||e.noLink){o.preventDefault();return}r(e.onClick,o)},a=i(["type","state","disabled","noCopy"],"f-link"),s=c(["size","color","hoverColor"]);return(o,u)=>(f(),b("div",{role:"link",class:E(l(a)),style:D(l(s))},[y("a",{class:"f-link__a",href:o.href,target:o.target,onClick:d},[o.beforeIcon?(f(),R(l(U),{key:0,icon:o.beforeIcon,size:o.size},null,8,["icon","size"])):w("",!0),L(o.$slots,"default"),o.afterIcon?(f(),R(l(U),{key:1,icon:o.afterIcon,size:o.size},null,8,["icon","size"])):w("",!0)],8,Ir)],6))}}),Er=P(Pr),Tr={zebra:_(),center:_(),textColor:m(),borderColor:m(),size:m("middle",t=>le.includes(t)),maxHeight:S(),zebraColor:m()},Yt=Symbol("list-props-key"),Br={key:0,class:"f-list__header"},Vr={key:1,class:"f-list__footer"},Ar=F({name:"FList",__name:"list",props:Tr,setup(t){const e=t;ce(Yt,e);const{classes:n,styles:r}=H(e,"list"),i=r(["borderColor","maxHeight","zebraColor"]),c=n(["zebra","center","size"],"f-list");return(d,a)=>(f(),b("ul",{role:"list",class:E(l(c)),style:D(l(i))},[d.$slots.header?(f(),b("header",Br,[L(d.$slots,"header")])):w("",!0),L(d.$slots,"default"),d.$slots.footer?(f(),b("footer",Vr,[L(d.$slots,"footer")])):w("",!0)],6))}}),Mr=P(Ar),Dr={background:m(),color:m()},Nr=F({name:"FListItem",__name:"list-item",props:Dr,setup(t){const e=t,n=se(Yt,null),{styles:r}=H(ne({borderColor:n&&n.borderColor,textColor:e.color||n&&n.textColor,background:e.background}),"list-item"),i=r(["textColor","borderColor","background"]);return(c,d)=>(f(),b("li",{role:"listitem",class:"f-list-item",style:D(l(i))},[L(c.$slots,"default")],4))}}),Rr=P(Nr),Or={padding:S()},Hr=F({name:"FMain",__name:"main",props:Or,setup(t){const e=t,{styles:n}=H(e,"main"),r=n(["padding"]);return(i,c)=>(f(),b("main",{role:"main",class:"f-main",style:D(l(r))},[L(i.$slots,"default")],4))}}),Gr=P(Hr),xr={icon:K(),iconSize:S("16px"),backText:m(),title:m(),titleBold:_(),titleColor:m(),titleCenter:_(),subtitle:m(),onBack:z()},jr={class:"f-page-header"},qr={class:"f-page-header__text"},Ur={key:0,class:"f-page-header__main-subtitle"},Yr=F({name:"FPageHeader",__name:"page-header",props:xr,setup(t){const e=t,{run:n}=x(),{getLang:r}=fe(),i=V(()=>r("pageHeader").value.backText),c=d=>{n(e.onBack,d)};return(d,a)=>(f(),b("header",jr,[y("div",{class:"f-page-header__left",onClick:c},[B(l(U),{size:d.iconSize},{default:M(()=>[L(d.$slots,"icon",{},()=>[(f(),R(Re(d.icon||l(io))))])]),_:3},8,["size"]),y("div",qr,G(i.value),1)]),y("div",{class:E(["f-page-header__main",{"f-page-header__main-center":d.titleCenter}])},[y("div",{style:D({color:d.titleColor}),class:E(["f-page-header__main-title",{"f-page-header__main-title-bold":d.titleBold}])},[L(d.$slots,"title",{},()=>[X(G(d.title),1)])],6),d.subtitle||d.$slots.subtitle?(f(),b("div",Ur,[L(d.$slots,"subtitle",{},()=>[X(G(d.subtitle),1)])])):w("",!0)],2)]))}}),Kr=P(Yr),Zr={percentage:O(0),state:m("line",t=>["line","circle"].includes(t)),type:m("primary",t=>ke.includes(t)),height:S(),showText:_(!0),diameter:O(400),outsideText:_(),textColor:m(),color:m(),background:m(),stripe:_()},at=Symbol("progress-props-key"),Wr=["width","height","aria-value"],Xr=["cx","cy","r"],Jr=["x","y"],Qr=F({name:"FProgressCircle",__name:"index",setup(t){const e=se(at),{classes:n}=H(e,"progress"),r=n(["type","state"],"f-progress"),i=V(()=>te(e.diameter)?e.diameter/2:100),c=V(()=>(i.value-ft)*2*Math.PI),d=V(()=>{const s=c.value-c.value*(e.percentage/100);return s<=0?0:s>c.value?c.value:s}),a=V(()=>({"--progress-stroke-dasharray":c.value,"--progress-stroke-dashoffset":d.value}));return(s,o)=>(f(),b("svg",{role:"progressbar",class:E(l(r)),width:l(e).diameter,height:l(e).diameter,style:D(a.value),"aria-value":l(e).percent,"aria-valuemin":0,"aria-valuemax":100},[y("circle",{class:"f-progress__girth",fill:"transparent","stroke-width":"12",stroke:"green",cx:i.value,cy:i.value,r:i.value-l(ft)},null,8,Xr),l(e).showText?(f(),b("text",{key:0,"font-size":"24",fill:"grey","text-anchor":"middle","alignment-baseline":"middle",x:i.value,y:i.value},G(l(e).percent)+"% ",9,Jr)):w("",!0)],14,Wr))}}),ei=["aria-value"],ti={class:"f-progress__bar"},ni={class:"f-progress__fill"},oi={key:0,class:"f-progress__percentage"},si={key:0,class:"f-progress__text"},li=F({name:"FProgressLine",__name:"index",setup(t){const e=se(at),{classes:n,styles:r}=H(e,"progress"),i=n(["type","stripe","state"],"f-progress"),c=r(["height","color","textColor","background"]),d=V(()=>({"--progress-width":`${e.percent}%`}));return(a,s)=>(f(),b("div",{role:"progressbar",class:E(l(i)),style:D([l(c),d.value]),"aria-value":l(e).percent,"aria-valuemin":0,"aria-valuemax":100},[y("div",ti,[y("div",ni,[!l(e).outsideText&&l(e).showText?(f(),b("div",oi,G(l(e).percent)+"% ",1)):w("",!0)])]),l(e).outsideText&&l(e).showText?(f(),b("div",si,G(l(e).percent)+"% ",1)):w("",!0)],14,ei))}}),ai=F({name:"FProgress",__name:"progress",props:Zr,setup(t){const e=t,n=V(()=>{const{percentage:r}=e;return te(r)?e.percentage>=100?100:e.percentage<=0?0:e.percentage:(Te("f-progress","`percentage` is not a number"),0)});return ce(at,ne({...ue(e),percent:n})),(r,i)=>r.state==="circle"?(f(),R(l(Qr),{key:0})):(f(),R(l(li),{key:1}))}}),ri=P(ai),ii={modelValue:{type:[String,Number,Boolean],default:()=>null},disabled:_(),name:m("f-radio"),label:{type:[String,Number,Boolean],default:()=>null},onChange:z()},ci={modelValue:{type:[String,Number,Boolean],default:()=>null},disabled:_(),vertical:_(),columnGap:S(),rowGap:S(),background:_(),size:m("middle",t=>le.includes(t)),onChange:z()},Kt=Symbol("radio-group-props-key"),ui=["value","disabled","name"],di={key:0,class:"f-radio__circle"},fi={class:"f-radio__text"},pi=F({name:"FRadio",__name:"radio",props:Q(ii,{modelValue:{type:Boolean,default:null,type:[String,Number,Boolean]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),i=V({get:()=>c&&c.modelValue||e.modelValue,set:p=>{if(c&&!a.value){r(c.changeEvent,p);return}s.value||(n.value=p,r(e.onChange,p))}}),c=se(Kt,null),d=V(()=>i.value===e.label),a=V(()=>!!(c&&c.disabled)),s=V(()=>e.disabled||a.value),{classes:o}=H(ne({checked:d,disabled:s}),"radio"),u=o(["checked","disabled"],"f-radio");return(p,g)=>{var h;return f(),b("label",{role:"radio","aria-checked":"false",tabindex:"0",class:E(l(u))},[ie(y("input",{"onUpdate:modelValue":g[0]||(g[0]=k=>i.value=k),hidden:"",type:"radio",value:p.label,disabled:p.disabled,name:p.name},null,8,ui),[[fn,i.value]]),(h=l(c))!=null&&h.background?w("",!0):(f(),b("span",di)),y("span",fi,[L(p.$slots,"default",{},()=>[X(G(p.label),1)])])],2)}}}),bi=P(pi),mi=F({name:"FRadioGroup",__name:"radio-group",props:Q(ci,{modelValue:{type:Boolean,default:"",type:[String,Number,Boolean]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{styles:i,classes:c}=H(e,"radio-group"),d=o=>{n.value=o,r(e.onChange,o)},a=c(["vertical","background","size"],"f-radio-group"),s=i(["columnGap","rowGap"]);return ce(Kt,ne({...ue(e),changeEvent:d})),(o,u)=>(f(),b("div",{role:"radiogroup",class:E(l(a)),style:D(l(s))},[L(o.$slots,"default")],6))}}),hi=P(mi),_i={modelValue:O(0),max:O(5),effectColor:m("#fcc202"),invalidColor:m("#eef"),readonly:_(),icon:K(),size:S(25),textShow:_(),textColor:m(),textArr:de(["极差","失望","一般","不错","很棒"]),textSize:S(),onChange:z()},vi={type:m(void 0,t=>ke.includes(t)),size:S(),color:m(),background:m(),block:_(),spacing:S(),lineHeight:S(),indent:S(),bold:_(),decoration:m(void 0,t=>["overline","line-through","underline"].includes(t)),padding:S(),width:S(),ellipsis:_(),center:_()},gi=F({name:"FText",__name:"text",props:vi,setup(t){const e=t,{getProp:n}=fe(e),{classes:r,styles:i}=H(n(["type"]),"text"),c=r(["type","block","bold","ellipsis","center"],"f-text"),d=i(["color","background","decoration","width","size","padding","spacing","lineHeight","indent"]);return(a,s)=>(f(),b("p",{class:E(l(c)),style:D(l(d))},[L(a.$slots,"default")],6))}}),Zt=P(gi),yi={class:"f-rate",role:"slider"},ki={class:"f-rate__list"},$i=["onMouseover","onClick"],Ci=F({name:"FRate",__name:"rate",props:Q(_i,{modelValue:{default:0,type:Number}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),i=N(e.modelValue),c=u=>{e.readonly||(i.value=u)},d=()=>{e.readonly||(i.value=e.modelValue)},a=u=>{e.readonly||(i.value=u,n.value=u,r(e.onChange,u))};ye(()=>e.modelValue,()=>{i.value=e.modelValue});const s=V(()=>e.textArr[l(i)-1]),o=V(()=>te(e.max)?e.max:5);return(u,p)=>(f(),b("div",yi,[y("div",ki,[(f(!0),b(q,null,W(o.value,(g,h)=>(f(),b("div",{key:h,class:E(["f-rate__star",{"f-rate__star-readonly":u.readonly}]),onMouseout:d,onMouseover:k=>c(h+1),onClick:k=>a(h+1)},[B(l(U),{size:u.size,icon:u.icon||l(xo),color:i.value>h?u.effectColor:u.invalidColor},null,8,["size","icon","color"])],42,$i))),128))]),u.textShow?(f(),R(l(Zt),{key:0,size:u.textSize,color:u.textColor},{default:M(()=>[X(G(s.value),1)]),_:1},8,["size","color"])):w("",!0)]))}}),wi=P(Ci),Li={ripplesColor:m(),duration:O(400),type:m(void 0,t=>ke.includes(t)),disabled:_(),startOpacity:O(),endOpacity:O()},Si=F({name:"FRipple",__name:"ripple",props:Li,setup(t){const e=t,{getType:n,getProp:r}=fe(e),{styles:i}=H(r(["type"],["default"]),"ripple"),c=N(),d=i(["startOpacity","endOpacity"],!1),a=s=>{if(e.disabled)return;const{ripplesColor:o,duration:u}=ue(e),p=ne({duration:u.value,component:"f-ripple",className:"f-ripple__animation",type:n(),ripplesColor:o.value});if(c.value){const{runRipples:g}=Gn(s,c.value,p);g()}};return(s,o)=>(f(),b("div",{ref_key:"rippleRef",ref:c,class:"f-ripple",style:D(l(d)),onClick:a},[L(s.$slots,"default")],4))}}),Fi=P(Si),zi={round:_(),difference:_(),animated:_(),rows:O(1),loading:_(),rowGap:S(),size:m("middle",t=>le.includes(t))},Ii=F({name:"FSkeleton",__name:"skeleton",props:zi,setup(t){const e=t,{classes:n,styles:r}=H(e,"skeleton"),i=n(["round","animated","size",{key:"difference",callback:()=>e.difference&&te(e.rows)&&e.rows>=3}],"f-skeleton"),c=r(["rowGap"]),d=V(()=>Ce().default?e.loading===!0:!0);return(a,s)=>d.value?(f(),b("div",{key:0,role:"section",class:E(l(i)),style:D(l(c))},[(f(!0),b(q,null,W(a.rows,o=>(f(),b("div",{key:o,class:"f-skeleton__item"}))),128))],6)):L(a.$slots,"default",{key:1})}}),Pi=P(Ii),Ei={open:_(),openText:m(),closeText:m(),borderColor:m(),onOpen:z(),onClose:z()},Ti={opened:_(),disabled:_(),heightAnimation:_(!0),widthAnimation:_(),animationTime:O(),onOpen:z(),onClose:z(),onOpenEnd:z(),onCloseEnd:z()},Bi={class:"f-collapse-animation"},Vi=F({name:"FCollapseAnimation",__name:"collapse-animation",props:Ti,setup(t){const e=t,{onBeforeEnter:n,onEnter:r,onAfterEnter:i,onBeforeLeave:c,onLeave:d,onAfterLeave:a}=gl(e),s=e.opened,o=V(()=>e.disabled?s:e.opened);return(u,p)=>(f(),R(re,{onBeforeEnter:l(n),onEnter:l(r),onAfterEnter:l(i),onBeforeLeave:l(c),onLeave:l(d),onAfterLeave:l(a)},{default:M(()=>[ie(y("div",Bi,[L(u.$slots,"default")],512),[[he,o.value]])]),_:3},8,["onBeforeEnter","onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"]))}}),Wt=P(Vi),Ai={key:0,class:"f-sticky-card__source"},Mi={class:"f-sticky-card__box"},Di={class:"f-sticky-card__option-text"},Ni=F({name:"FStickyCard",__name:"sticky-card",props:Ei,setup(t){const e=t,{getLang:n}=fe(),{run:r}=x(),{styles:i}=H(e,"sticky-card"),c=N(e.open),d=()=>{c.value=!c.value,r(c.value?e.onClose:e.onOpen,c.value)},a=V(()=>{const{openText:o,closeText:u}=e,p=n("stickyCard").value;return l(c)?o||p.openText:u||p.closeText}),s=i(["borderColor"]);return(o,u)=>(f(),b("div",{class:"f-sticky-card",style:D(l(s))},[o.$slots.source?(f(),b("div",Ai,[L(o.$slots,"source")])):w("",!0),y("div",Mi,[B(l(Wt),{opened:c.value},{default:M(()=>[L(o.$slots,"default")]),_:3},8,["opened"])]),y("div",{class:E(["f-sticky-card__option",{"f-sticky-card__option-open":c.value}]),onClick:d},[y("span",Di,G(a.value),1)],2)],4))}}),Xt=P(Ni),Ri={modelValue:{..._(),required:!0},size:m(void 0,t=>le.includes(t)),disabled:_(),loading:_(),icon:K(),closeColor:m(),activeColor:m(),activeText:m(),closeText:m(),square:_(),iconSize:S(),onChange:z()},Oi=F({name:"FSwitch",__name:"switch",props:Q(Ri,{modelValue:{type:Boolean,default:!1,type:Boolean}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{getProp:i}=fe(e),{styles:c,classes:d}=H(i(["size"]),"switch"),a=()=>{e.disabled||e.loading||(n.value=!n.value,r(e.onChange,!e.modelValue))},s=c(["closeColor","activeColor"]),o=d(["size","square"],"f-switch__input");return(u,p)=>(f(),b("div",{role:"switch",class:E(["f-switch",{"f-switch__disabled":u.disabled||u.loading}]),style:D(l(s))},[u.closeText?(f(),b("span",{key:0,class:E(["f-switch__right-text",{"f-switch__text-active":!n.value}])},G(u.closeText),3)):w("",!0),y("div",{class:E([l(o),{"f-switch__active":n.value}]),onClick:a},[y("span",{class:E(["f-switch__roll",{"f-switch__roll-active":n.value}])},[u.icon&&!u.loading?(f(),R(l(U),{key:0,icon:u.icon,size:u.iconSize},null,8,["icon","size"])):w("",!0),u.loading?(f(),R(l(U),{key:1,class:"f-switch__loading-animation",icon:l(Lt),size:u.iconSize},null,8,["icon","size"])):w("",!0)],2)],2),u.activeText?(f(),b("span",{key:1,class:E(["f-switch__left-text",{"f-switch__text-active":n.value}])},G(u.activeText),3)):w("",!0)],6))}}),Hi=P(Oi),Gi={type:m(void 0,t=>ke.includes(t)),close:_(),round:_(),background:m(),color:m(),beforeIcon:K(),afterIcon:K(),size:m(void 0,t=>le.includes(t)),simple:_(),block:_(),line:_(),onClose:z(),onClick:z()},xi=F({name:"FTag",__name:"tag",props:Gi,setup(t){const e=t,{getProp:n}=fe(e),{run:r}=x(),{classes:i,styles:c}=H(n(["size","type"]),"tag"),d=i(["simple","type","size","block","round","line"],"f-tag"),a=c(["color","background"]),s=o=>{r(e.onClose,o)};return(o,u)=>(f(),R(re,{name:"f-tag",appear:""},{default:M(()=>[y("div",{class:E(l(d)),style:D(l(a)),onClick:u[0]||(u[0]=(...p)=>o.onClick&&o.onClick(...p))},[o.beforeIcon?(f(),R(l(U),{key:0,icon:o.beforeIcon},null,8,["icon"])):w("",!0),L(o.$slots,"default"),o.afterIcon?(f(),R(l(U),{key:1,icon:o.afterIcon},null,8,["icon"])):w("",!0),o.close?(f(),R(l(we),{key:2,size:14,"on-click":s})):w("",!0)],6)]),_:3}))}}),ji=P(xi),qi={content:S(),position:m("bottom",t=>["top","bottom","right","left"].includes(t)),disabled:_(),state:m("hover",t=>["hover","active","always"].includes(t)),noArrow:_(),bold:_(),bright:_(),background:m(),fontColor:m()},Ui=["f-content"],Yi=F({name:"FTooltip",__name:"tooltip",props:qi,setup(t){const e=t,{classes:n,styles:r}=H(e,"tooltip"),i=n(["position","state","disabled","bold","noArrow","bright"],"f-tooltip"),c=r(["background","fontColor"]);return(d,a)=>d.$slots.default?(f(),b("div",{key:0,role:"tooltip","f-content":d.content,class:E(l(i)),style:D(l(c))},[L(d.$slots,"default")],14,Ui)):w("",!0)}}),Ki=P(Yi),Zi={modelValue:de(),data:{type:[Object,Array],default:()=>[]},isCheck:_(),offset:O(40),onClickLabel:z()},Jt=Symbol("tree-props-key"),Wi={model:K()},Xi={class:"f-tree-item"},Ji={class:"f-tree-item__label-prefix"},Qi={class:"f-tree-item__text"},ec={key:0,class:"f-tree-item__label-option"},tc={key:0,class:"f-tree-item__children"},vt=F({name:"FTreeItem",__name:"index",props:Wi,setup(t){const e=t,{run:n}=x(),r=se(Jt,null),i=N(!1),c=V(()=>!!(e.model.children&&e.model.children.length)),d=(o,u)=>{u.disabled||(i.value=!i.value,r&&n(r.onClickLabel,o,u,i.value,r.tree))},a=V(()=>r&&te(r.offset)&&r.offset>1?r.offset:40),s=V(()=>{const{__level:o}=e.model;return o?{"--tree-item-level-padding":`${o*a.value}px`}:{}});return(o,u)=>{var h;const p=ge("f-tree-item"),g=ge("f-collapse-animation");return f(),b("div",Xi,[y("div",{class:E(["f-tree-item__label",{"f-tree-item__label-disabled":o.model.disabled}]),style:D(s.value),onClick:u[0]||(u[0]=k=>d(k,o.model))},[y("div",Ji,[(h=l(r))!=null&&h.isCheck?(f(),R(l(xt),{key:0,label:o.model.value||o.model.label,disabled:o.model.disabled,"show-label":!1},null,8,["label","disabled"])):w("",!0),c.value?(f(),R(l(U),{key:1,class:E({"f-tree-item__icon-animation":i.value}),size:15,icon:l(Ie)},null,8,["class","icon"])):w("",!0),o.model.icon?(f(),R(l(U),{key:2,size:15,icon:o.model.icon},null,8,["icon"])):w("",!0),y("div",Qi,G(o.model.label),1)]),o.$slots.options?(f(),b("div",ec,[L(o.$slots,"options")])):w("",!0)],6),B(g,{opened:i.value,"animation-time":.3},{default:M(()=>[c.value?(f(),b("div",tc,[(f(!0),b(q,null,W(o.model.children,(k,v)=>(f(),R(p,{key:v,model:k},{options:M(()=>[L(o.$slots,"options")]),_:2},1032,["model"]))),128))])):w("",!0)]),_:3},8,["opened"])])}}}),nc={role:"tree",class:"f-tree"},oc=F({name:"FTree",__name:"tree",props:Q(Zi,{check:{type:Array,default:[]}}),emits:["update:check"],setup(t){const e=t,n=J(t,"check"),r=(a,s=0)=>{Ae(a)&&(a=[a]);const o=[];if(me(a))for(const u of a){const p={...u,__level:s};u.children&&(p.children=r(u.children,s+1)),o.push(p)}return o},i=r(e.data),c=N([]),d=a=>{n.value=a};return ce(Jt,ne({onClickLabel:Be(e,"onClickLabel"),isCheck:Be(e,"isCheck"),offset:Be(e,"offset"),tree:i})),(a,s)=>(f(),b("div",nc,[a.isCheck?(f(),R(l(jt),{key:0,modelValue:c.value,"onUpdate:modelValue":s[0]||(s[0]=o=>c.value=o),style:{display:"block"},"on-change":d},{default:M(()=>[(f(!0),b(q,null,W(l(i),(o,u)=>(f(),R(l(vt),{key:u,model:o},{options:M(()=>[L(a.$slots,"options")]),_:2},1032,["model"]))),128))]),_:3},8,["modelValue"])):(f(!0),b(q,{key:1},W(l(i),(o,u)=>(f(),R(l(vt),{key:u,model:o},{options:M(()=>[L(a.$slots,"options")]),_:2},1032,["model"]))),128))]))}}),sc=P(oc),lc={content:m(),fontSize:O(40),gap:O(40),fontColor:m("#111"),zIndex:S(9999)},ac=F({name:"FWatermark",__name:"watermark",props:lc,setup(t){const e=t,n=yl(e),r=N();let i;const c=()=>{if(!r.value)return;i&&i.remove();const{base64:a,size:s}=n.value;i=document.createElement("div"),i.style.position="absolute",i.style.backgroundImage=`url(${a})`,i.style.backgroundSize=`${s}px ${s}px`,i.style.zIndex=e.zIndex.toString(),i.style.inset="0",r.value.appendChild(i)};ae(c);const d=new MutationObserver(a=>{for(const s of a){if(s.removedNodes&&s.removedNodes.length){const o=Array.from(s.removedNodes);for(const u of o)if(u===i){c();return}}if(s.target===i){c();return}}});return ae(()=>{r.value&&d.observe(r.value,{childList:!0,subtree:!0,attributes:!0})}),Je(d.disconnect),(a,s)=>(f(),b("div",{ref_key:"watermarkRef",ref:r,class:"f-watermark"},[L(a.$slots,"default")],512))}}),rc=P(ac),ic={modelValue:S(),type:m("text",t=>["text","password","number"].includes(t)),size:m(void 0,t=>le.includes(t)),disabled:_(),max:O(),min:O(),maxLength:O(),fontSize:S(),autofocus:_(),name:m("f-input"),placeholder:m(),placeholderColor:m(),clear:_(),width:S(),height:S(),search:_(),textColor:m(),readonly:_(),showPassword:_(),enterSearch:_(),icon:K(),afterIcon:K(),autocomplete:m("off"),onSearch:z(),onChange:z(),onInput:z(),onBlur:z(),onFocus:z(),onEnter:z()},cc={modelValue:{..._(),require:!0},size:S(40),type:m(void 0,t=>["sound","swap"].includes(t)),iconOn:K(),iconOff:K(),onChange:z()},uc=F({name:"FSwap",__name:"swap",props:Q(cc,{modelValue:{type:Boolean,default:!1,type:Boolean}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{classes:i}=H(e,"swap"),c=a=>{n.value=!n.value,r(e.onChange,a,!e.modelValue)},d=i(["type","modelValue"],"f-swap");return(a,s)=>(f(),b("div",{role:"switch",class:E(l(d)),onClick:c},[B(l(U),{icon:n.value?a.iconOn:a.iconOff,size:a.size},null,8,["icon","size"])],2))}}),Qt=P(uc),dc={class:"f-input__wrapper"},fc=["type","max","min","maxlength","disabled","readonly","autofocus","autocomplete","name","placeholder","onKeyup"],pc=F({name:"FInput",__name:"input",props:Q(ic,{modelValue:{default:"",type:[String,Number]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{getLang:i,getProp:c}=fe(e),{styles:d,classes:a}=H(c(["size"]),"input"),{handleInput:s,handleClear:o,handleChange:u}=It(e,n),p=N(!1),g=N(e.type);Qe(()=>{g.value=e.type});const h=V(()=>i("input").value.search),k=$=>{r(e.onSearch,n.value,$)},v=$=>{const{search:A,enterSearch:j,onEnter:Z}=ue(e);A.value&&j.value&&k($),r(Z.value,n.value,$)},T=()=>{if(p.value){g.value="text",p.value=!0;return}g.value="password",p.value=!1},C=d(["placeholderColor","textColor","width","height","fontSize"]),I=a(["size","disabled","search"],"f-input");return($,A)=>(f(),b("div",{role:"input",class:E(l(I)),style:D(l(C))},[y("div",dc,[L($.$slots,"before"),$.icon?(f(),R(l(U),{key:0,class:"f-input__icon",icon:$.icon,size:13},null,8,["icon"])):w("",!0),ie(y("input",{"onUpdate:modelValue":A[0]||(A[0]=j=>n.value=j),class:"f-input__input",type:g.value,max:$.max,min:$.min,maxlength:$.maxLength,disabled:$.disabled,readonly:$.readonly,autofocus:$.autofocus,autocomplete:$.autocomplete,name:$.name,placeholder:$.placeholder,onInput:A[1]||(A[1]=(...j)=>l(s)&&l(s)(...j)),onChange:A[2]||(A[2]=(...j)=>l(u)&&l(u)(...j)),onKeyup:bn(v,["enter"]),onBlur:A[3]||(A[3]=(...j)=>$.onBlur&&$.onBlur(...j)),onFocus:A[4]||(A[4]=(...j)=>$.onFocus&&$.onFocus(...j))},null,40,fc),[[pn,n.value]]),$.clear?(f(),R(l(U),{key:1,class:"f-input__clear-btn",icon:l(st),size:14,"on-click":l(o)},null,8,["icon","on-click"])):w("",!0),$.afterIcon?(f(),R(l(U),{key:2,icon:$.afterIcon,size:14},null,8,["icon"])):w("",!0),$.showPassword?(f(),R(l(Qt),{key:3,modelValue:p.value,"onUpdate:modelValue":A[5]||(A[5]=j=>p.value=j),class:"f-input__show-password",type:"swap","icon-on":l(ps),"icon-off":l(rs),size:14,"on-change":T},null,8,["modelValue","icon-on","icon-off"])):w("",!0),L($.$slots,"after")]),$.search?(f(),b("div",{key:0,class:"f-input__search",onClick:k},[L($.$slots,"searchBtn",{},()=>[B(l(pe),{type:"primary",size:$.size},{default:M(()=>[X(G(h.value),1)]),_:1},8,["size"])])])):w("",!0)],6))}}),Pe=P(pc),bc={files:de([]),accept:m(),name:m(),drag:_(),isRemove:_(!0),showList:_(!1),multiple:_(),maxSize:O(),maxLength:O(),disabled:_(),onLoad:z(),onChange:z()},mc={class:"f-up-load"},hc=["onDrop","onDragover"],_c=["name","disabled","accept","multiple"],vc={key:0,class:"f-up-load__file-list"},gc={class:"f-up-load__file-name"},yc=F({name:"FUpLoad",__name:"up-load",props:Q(bc,{files:{default:[],type:Array}}),emits:["update:files"],setup(t){const e=t,n=J(t,"files"),{run:r}=x(),i=N(!1),c=N(),d=N(),a=()=>{d.value&&d.value.click()},s=v=>{c.value&&c.value.length?c.value.push(...v):c.value=v,n.value=c.value,r(e.onLoad,v)},o=v=>{const{maxSize:T,maxLength:C}=ue(e);let I=[...v];return T.value&&(I=I.filter($=>$.size{const T=v.target.files;T&&s(o(T))},p=v=>{c.value&&c.value.splice(v,1)},g=v=>{v.preventDefault(),i.value=!0},h=v=>{i.value=!1;const T=v.dataTransfer.files;T&&s(o(T))};return(()=>{e.onChange&&ye(()=>e.files,()=>{r(e.onChange,c.value)},{deep:!0})})(),(v,T)=>(f(),b(q,null,[y("div",mc,[v.drag?(f(),b("div",{key:0,class:"f-up-load__drag",onClick:a,onDrop:be(h,["prevent"]),onDragover:be(g,["prevent"])},[L(v.$slots,"default",{},()=>[B(l(U),{icon:l(Ls)},null,8,["icon"])])],40,hc)):(f(),b("div",{key:1,class:"f-up-load__content",onClick:a},[L(v.$slots,"default",{},()=>[B(l(pe),null,{default:M(()=>[X("选择文件")]),_:1})])])),y("input",{ref_key:"inputRef",ref:d,type:"file",hidden:"",name:v.name,disabled:v.disabled,accept:v.accept,multiple:v.multiple,onChange:u},null,40,_c)]),v.showList&&c.value&&c.value.length?(f(),b("ul",vc,[(f(!0),b(q,null,W(c.value,(C,I)=>(f(),b("li",{key:I,class:"f-up-load__file-list-item"},[y("span",gc,[B(l(U),{icon:l(gs)},null,8,["icon"]),X(" "+G(C.name),1)]),v.isRemove?(f(),R(l(we),{key:0,size:14,onClick:$=>p(I)},null,8,["onClick"])):w("",!0)]))),128))])):w("",!0)],64))}}),kc=P(yc),$c={current:{...O(1),require:!0},total:{...O(0),require:!0},pageSize:O(10),pageSelect:de(),pagerCount:O(7),background:_(),round:_(),prevIcon:K(),nextIcon:K(),disabled:_(),jumpSearch:_(),onPrev:z(),onNext:z(),pageSizeChange:z(),onChange:z()},Cc={modelValue:{type:[String,Number,Boolean],default:()=>null,required:!0},width:{type:[Number,String],default:()=>190},name:m("f-select"),size:m("middle",t=>le.includes(t)),placeholder:m(),clear:_(),disabled:_(),onChange:z()},en=Symbol("f-select-props-key"),wc={spacing:S(),disabled:_(),width:{type:[Number,String],default:()=>null},trigger:m("hover",t=>["hover","click"].includes(t)),arrow:_(),enterDuration:O(),leaveDuration:O(),onChange:z(),onOpen:z(),onClose:z()},Lc={spacing:S(),disabled:_(),trigger:m("hover",t=>["hover","click"].includes(t)),width:{type:[Number,String],default:()=>null},arrow:_(),enterDuration:O(),leaveDuration:O(),onChange:z(),onOpen:z(),onClose:z()},rt=Symbol("trigger-close-key"),Sc={class:"f-trigger__content"},Fc=F({name:"FTrigger",__name:"trigger",props:Lc,setup(t,{expose:e}){const n=t,r=N(),{classes:i,styles:c}=H(n,"trigger"),{visible:d,styleList:a,close:s,onBeforeEnter:o,onAfterLeave:u}=_l(n,r),p=i(["arrow"],Mt),g=c(["width"]);return ce(rt,{close:s}),e({close:s}),(h,k)=>(f(),b("div",{class:E(l(At))},[y("div",{ref_key:"triggerRef",ref:r,class:"f-trigger__trigger"},[L(h.$slots,"default")],512),(f(),R(je,{to:"body"},[B(re,{name:"f-trigger",onBeforeEnter:l(o),onAfterLeave:l(u)},{default:M(()=>[ie(y("div",{class:E(l(p)),style:D([l(a),l(g)])},[y("div",Sc,[L(h.$slots,"content")])],6),[[he,l(d)]])]),_:3},8,["onBeforeEnter","onAfterLeave"])]))],2))}}),Ye=P(Fc),zc={class:"f-dropdown"},Ic=F({name:"FDropdown",__name:"dropdown",props:wc,setup(t){return(e,n)=>(f(),b("div",zc,[B(l(Ye),{trigger:e.trigger,disabled:e.disabled,spacing:e.spacing,arrow:e.arrow,width:e.width,"enter-duration":e.enterDuration,"leave-duration":e.leaveDuration,"on-change":e.onChange,"on-open":e.onOpen,"on-close":e.onClose},{content:M(()=>[L(e.$slots,"content")]),default:M(()=>[L(e.$slots,"default")]),_:3},8,["trigger","disabled","spacing","arrow","width","enter-duration","leave-duration","on-change","on-open","on-close"])]))}}),it=P(Ic),Pc=F({name:"FSelect",__name:"select",props:Q(Cc,{modelValue:{default:"",type:[String,Number]}}),emits:["update:modelValue"],setup(t){const e=t,n=Ce(),r=J(t,"modelValue"),{run:i}=x(),{styles:c}=H(e,"select"),d=V({get:()=>{var I,$;if(!a.value.length)return"";const h=a.value.filter(A=>{const j=A.props;return j?j.value?`${j.value}`==`${e.modelValue}`:`${j.label}`==`${e.modelValue}`:A.children.default()[0].children===e.modelValue});if(!h.length)return"";const k=h[0],v=k.children&&k.children.default()[0].children,T=(I=k.props)==null?void 0:I.label,C=($=k.props)==null?void 0:$.value;return v||T||C&&C.toString()||""},set:h=>h}),a=V(()=>n.default?lt(n.default(),"FOption"):[]);ce(en,ne({setValue:(h,k,v)=>{d.value=h.toString(),k!==e.modelValue&&i(e.onChange,h,k,v),r.value=h},modelValue:Be(e,"modelValue")}));const o=c(["width"]),u=N(!1),p=N(),g=async()=>{await et();const h=p.value&&p.value.querySelector(".f-option.f-option__active");h&&Oe(h.scrollIntoView)&&h.scrollIntoView({block:"end"})};return(h,k)=>(f(),b("div",{class:"f-select",style:D(l(o))},[B(l(it),{trigger:"click",disabled:h.disabled,width:h.width,"on-open":g},{content:M(()=>[y("div",{ref_key:"secletContentRef",ref:p,class:"f-select__content"},[L(h.$slots,"default")],512)]),default:M(()=>[B(l(Pe),{modelValue:d.value,"onUpdate:modelValue":k[0]||(k[0]=v=>d.value=v),readonly:"",name:h.name,size:h.size,disabled:h.disabled,placeholder:h.placeholder,clear:h.clear,"on-focus":()=>u.value=!0,"on-blur":()=>u.value=!1},{after:M(()=>[B(l(U),{color:"#bababa",class:E(["f-select__arrow",{"f-select__arrow-active":u.value}]),size:13,icon:l(He)},null,8,["class","icon"])]),_:1},8,["modelValue","name","size","disabled","placeholder","clear","on-focus","on-blur"])]),_:3},8,["disabled","width"])],4))}}),tn=P(Pc),Ec={value:S(),label:S(),disabled:_()},Tc=F({name:"FOption",__name:"option",props:Ec,setup(t){const e=t,n=Ce(),{run:r}=x(),i=se(en,null),c=se(rt,null),d=V(()=>{if(!n.default)return"";const o=n.default()[0].children;return _e(o)?o:""}),a=V(()=>{const o=e.value||e.label||d.value;return i?o===i.modelValue:!1}),s=o=>{if(!i||e.disabled)return;const{value:u,label:p}=ue(e),g=d.value||p.value||u.value,h=u.value||p.value||d.value;i&&r(i.setValue,h,g,o),c&&r(c.close)};return(o,u)=>o.$slots.default||o.label||o.value?(f(),b("div",{key:0,class:E(["f-option",{"f-option__disabled":o.disabled,"f-option__active":a.value}]),onClick:s},[o.$slots.default?L(o.$slots,"default",{key:0}):(f(),b(q,{key:1},[X(G(o.label||o.value),1)],64))],2)):w("",!0)}}),nn=P(Tc),Bc=["disabled"],Vc=["onClick"],Ac=["disabled"],Mc=F({name:"FPagination",__name:"pagination",props:Q($c,{current:{default:1,type:Number},pageSize:{default:10,type:Number}}),emits:["update:current","update:pageSize"],setup(t){const e=t,n=J(t,"current"),r=J(t,"pageSize"),{pages:i,showNextMore:c,showPrevMore:d,maxCount:a,handelTurnPages:s}=dl(e,{currentModelValue:n,pageSizeModelValue:r}),{jumpCurrent:o,selectChange:u,handelChange:p,handleInput:g,handelClick:h}=fl(e,{currentModelValue:n,pageSizeModelValue:r},i,a),{classes:k}=H(e,"pagination"),v=N(10),T=k(["background","round","disabled"],qe);return(C,I)=>(f(),b("div",{class:E(l(T))},[C.pageSelect&&C.pageSelect.length?(f(),R(l(tn),{key:0,modelValue:v.value,"onUpdate:modelValue":I[0]||(I[0]=$=>v.value=$),width:120,disabled:C.disabled,"on-change":l(u)},{default:M(()=>[(f(!0),b(q,null,W(C.pageSelect,$=>(f(),R(l(nn),{key:$,value:$,label:$+"/页"},null,8,["value","label"]))),128))]),_:1},8,["modelValue","disabled","on-change"])):w("",!0),y("button",{class:"f-pagination__button",disabled:C.disabled,onClick:I[1]||(I[1]=$=>l(s)("prev"))},[B(l(U),{size:14,icon:C.prevIcon||l(Ue)},null,8,["icon"])],8,Bc),C.total>0?(f(),b("div",{key:1,class:"f-pagination__pages",onClick:I[2]||(I[2]=$=>l(h)($))},[y("div",{class:E([l(ve),{[`${l(ve)}-active`]:t.current===1}])}," 1 ",2),l(d)?(f(),b("div",{key:0,class:E([l(ve),l(Bt)])},[B(l(U),{size:15,icon:l(mt)},null,8,["icon"])],2)):w("",!0),(f(!0),b(q,null,W(l(i),$=>(f(),b("div",{key:$,class:E([l(ve),{[`${l(ve)}-active`]:t.current===$}]),onClick:A=>l(p)($,A)},G($),11,Vc))),128)),l(c)?(f(),b("div",{key:1,class:E([l(ve),l(Vt)])},[B(l(U),{size:15,icon:l(mt)},null,8,["icon"])],2)):w("",!0),C.total>1?(f(),b("div",{key:2,class:E([l(ve),{[`${l(ve)}-active`]:t.current===l(a)}])},G(l(a)),3)):w("",!0)])):w("",!0),y("button",{class:"f-pagination__button",disabled:C.disabled,onClick:I[3]||(I[3]=$=>l(s)("next"))},[B(l(U),{size:14,icon:C.nextIcon||l(Ie)},null,8,["icon"])],8,Ac),C.jumpSearch?(f(),R(l(Pe),{key:2,modelValue:l(o),"onUpdate:modelValue":I[4]||(I[4]=$=>$t(o)?o.value=$:null),placeholder:"输入跳转的页数",class:"f-pagination__jump",style:{width:"80px"},disabled:C.disabled,"on-blur":l(g),"on-enter":l(g)},null,8,["modelValue","disabled","on-blur","on-enter"])):w("",!0)],2))}}),Dc=P(Mc),Nc={data:de(),columns:de(),align:m("left",t=>["left","center","right"].includes(t)),border:_(),num:_(),zebra:_(),zebraColor:m(),height:S(),bgColor:m(),headBgColor:m(),showHead:_(!0)},Rc={columns:de()},Oc=["width"],gt=F({name:"FTableColgroup",__name:"index",props:Rc,setup(t){return(e,n)=>(f(),b("colgroup",null,[(f(!0),b(q,null,W(e.columns,(r,i)=>(f(),b("col",{key:i,width:l(Me)(r.width)},null,8,Oc))),128))]))}}),Hc={class:"f-table__container"},Gc={key:0,class:"f-table__header"},xc={class:"f-table__table"},jc=["align"],qc={key:0},Uc={class:"f-table__body"},Yc={class:"f-table__table"},Kc=["align"],Zc={key:0},Wc=["align"],Xc={key:0},Jc={key:2},Qc={key:1},eu=F({name:"FTable",__name:"table",props:Nc,setup(t){const e=t,{styles:n,classes:r}=H(e,"table"),i=(s,o,u,p)=>s(Ve,o,u,p),c=(s,o,u)=>s(Ve,o,u),d=n(["zebraColor","bgColor","headBgColor","height"]),a=r(["border","zebra"],"f-table");return(s,o)=>(f(),b("div",{role:"table",class:E(l(a)),style:D(l(d))},[y("div",Hc,[s.columns||s.data?(f(),b(q,{key:0},[s.height&&s.showHead?(f(),b("header",Gc,[y("table",xc,[B(l(gt),{columns:s.columns},null,8,["columns"]),y("thead",{align:s.align},[y("tr",null,[s.num?(f(),b("th",qc,"序号")):w("",!0),(f(!0),b(q,null,W(s.columns,(u,p)=>(f(),b("th",{key:p},[l(Oe)(u.title)?(f(),R(Re(c(u.title,u,p)),{key:0})):(f(),b(q,{key:1},[X(G(u.title),1)],64))]))),128))])],8,jc)])])):w("",!0),y("main",Uc,[y("table",Yc,[B(l(gt),{columns:s.columns},null,8,["columns"]),!s.height&&s.showHead?(f(),b("thead",{key:0,align:s.align},[y("tr",null,[s.num?(f(),b("th",Zc,"序号")):w("",!0),(f(!0),b(q,null,W(s.columns,(u,p)=>(f(),b("th",{key:p},[l(Oe)(u.title)?(f(),R(Re(c(u.title,u,p)),{key:0})):(f(),b(q,{key:1},[X(G(u.title),1)],64))]))),128))])],8,Kc)):w("",!0),s.data.length?(f(),b("tbody",{key:1,align:s.align},[(f(!0),b(q,null,W(s.data,(u,p)=>(f(),b("tr",{key:p},[s.num?(f(),b("td",Xc,G(p+1),1)):w("",!0),(f(!0),b(q,null,W(s.columns,(g,h)=>(f(),b("td",{key:h},[g.render?(f(),R(Re(i(g.render,u,p,g)),{key:0})):(f(),b(q,{key:1},[g.key?(f(),b(q,{key:0},[X(G(u[g.key]),1)],64)):w("",!0)],64))]))),128))]))),128))],8,Wc)):w("",!0),s.$slots.tfoot?(f(),b("tfoot",Jc,[L(s.$slots,"tfoot")])):w("",!0)])])],64)):(f(),b("table",Qc,[L(s.$slots,"default")]))])],6))}}),tu=P(eu),nu={disabled:_(),onClick:z()},ou=F({name:"FDropdownItem",__name:"dropdown-item",props:nu,setup(t){const e=t,{run:n}=x(),r=se(rt,null),i=c=>{e.disabled||(n(r&&r.close),n(e.onClick,c))};return(c,d)=>(f(),b("div",{class:E(["f-dropdown-item",{"f-dropdown-item__disabled":c.disabled}]),onClick:i},[L(c.$slots,"default")],2))}}),su=P(ou),lu={modelValue:{...S(),required:!0},rows:S(),disabled:_(),autoHeight:_(),maxLength:O(),autofocus:_(),name:m("f-textarea"),placeholder:m(),readonly:_(),fontSize:S(),onInput:z(),resize:m(void 0,t=>["none","both","horizontal","vertical"].includes(t)),clear:_(),onChange:z(),onBlur:z(),onFocus:z(),onEnter:z()},au=["rows","disabled","readonly","autofocus","placeholder","name"],ru=F({name:"FTextarea",__name:"textarea",props:Q(lu,{modelValue:{default:"",type:[Number,String]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{handleInput:r,handleClear:i,handleChange:c}=It(e,n),{classes:d,styles:a}=H(e,"textarea"),{run:s}=x(),o=N(),u=d(["disabled","autoHeight"],"f-textarea"),p=a(["resize","fontSize"]),g=async()=>{await et(),o.value&&(o.value.style.height="auto",o.value.style.height=o.value.scrollHeight+"px")},h=C=>{r(C),e.autoHeight&&g()},k=()=>{const C=ye(()=>[e.modelValue,e.rows,e.autoHeight],()=>{g(),e.autoHeight||(C(),o.value&&(o.value.style.height="auto"))},{immediate:!0})},v=wt(g,500);ae(()=>{e.autoHeight&&(k(),window.addEventListener("resize",v))}),yt(()=>{window.removeEventListener("resize",v)});const T=C=>{if(C.key==="Enter"&&C.ctrlKey){n.value+=`
+import{f as N,k as ae,w as ye,_ as ee,o as f,c as b,v as y,d as F,C as B,y as M,r as L,b as l,t as G,z as w,n as E,D,ab as an,s as Je,i as V,h as Qe,ac as yt,ad as rn,ae as cn,a1 as ne,$ as Ce,x as R,a as X,F as q,J as W,T as re,Q as se,a9 as ue,a2 as ie,Z as be,a4 as he,R as ce,j as xe,af as un,A as ge,ag as Q,ah as J,ai as dn,a8 as je,aj as kt,E as Re,ak as fn,a5 as Be,al as pn,X as bn,O as et,a0 as $t,a6 as Ve,am as mn,V as hn,B as _n,an as vn,a3 as ut,ao as gn,u as Ct,H as Ze,ap as yn,aq as kn,ar as $n,as as Cn,at as wn,au as Ln,av as Sn,aw as Fn,ax as zn,ay as In,az as Pn,aA as En,aB as Tn,aC as Bn}from"./chunks/framework.59a1e8ef.js";import{t as dt}from"./chunks/theme.72c71c50.js";import{p as me,t as Ae,w as ze,v as Vn,o as x,q as Me,x as An,a as _,s as m,c as K,e as U,k as H,y as tt,i as _e,z as te,F as ke,m as S,A as de,b as O,d as z,f as we,l as P,B as nt,j as le,C as Te,D as wt,E as Mn,G as ot,H as st,r as Dn,n as Oe,I as oe,J as Nn,K as Rn}from"./chunks/index.51ec0e29.js";import{a as Lt,u as fe,P as On,b as St,B as Hn,F as pe,c as Gn,d as xn}from"./chunks/index.41be7a08.js";import{F as Ft}from"./chunks/index.d497f8b1.js";import{F as zt}from"./chunks/index.50754308.js";import{F as jn,a as qn}from"./chunks/index.6d5f3645.js";import"./chunks/index.f96b7fa5.js";const lt=(t,e)=>{let n=[];return me(t)&&t.length&&t.forEach(r=>{const i=Ae(r.type)&&r.type.name;if(i===e&&n.push(r),i!==e&&r.children&&me(r.children)){const c=lt(r.children,e);n=n.concat(c)}}),n},Un=t=>{if(typeof t!="object"||t===null)return ze("objectEntries","Parameter is not an object type."),[];if(Object.entries&&Object.entries!==void 0)return Object.entries(t);const e=[];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push([n,t[n]]);return e},Yn=()=>{const t=N(1),e=N(0),n=()=>{Vn(t.value,1)>=.2&&(t.value-=.2)},r=()=>{t.value<=10&&(t.value+=.2)};return{scale:t,rotate:e,smaller:n,bigger:r,scrollZoom:s=>{s.preventDefault(),s.deltaY>1?n():r()},recovery:()=>{t.value=1,e.value=0},rotateClockwise:()=>{e.value+=90},rotateCounterClock:()=>{e.value-=90}}},Kn=t=>{const e=eo(),n=(d,a)=>{const s=[31,28,31,30,31,30,31,31,30,31,30,31];return a-1===-1&&(a=12),a===2&&i(d)?29:s[a-1]},r=(d,a)=>new Date(d,a-1,1).getDay(),i=d=>d%4===0&&d%100!==0||d%400===0;return{generateCalendar:(d,a)=>{const s=[],o=r(d,a),u=n(d,a-1);for(let h=o-1;h>=0;h--){const k=a-1===0?12:a-1,v=u-h,T=t.lunar?e(d,k,v):{};s.push({year:d,month:k,day:v,target:"prev",...T})}let p=1;for(;p<=n(d,a);){const h=t.lunar?e(d,a,p):{};s.push({year:d,month:a,day:p,target:"current",...h}),p++}let g=1;for(;s.length%7!==0;){const h=a+1===13?1:a+1,k=t.lunar?e(d,h,g):{};s.push({year:d,month:h,day:g,target:"next",...k}),g++}return s}}},It=(t,e)=>{const{run:n}=x();return{handleInput:d=>{n(t.onInput,e.value,d)},handleChange:d=>{n(t.onChange,e.value,d)},handleClear:()=>{t.disabled||(e.value="")}}},Pt=(t,e,n)=>{const{run:r}=x(),i=N(!0),c=N(!1);let d=!1;const a=(k,v,T)=>{k.src=T,i.value=!0,c.value=!0,r(e.onLoad,v)},s=k=>{i.value=!1,r(e.onError,k)},o=(k,v)=>{const T=new Image;new Promise((C,I)=>{T.src=v||e.src,T.addEventListener("load",$=>{C($)}),T.addEventListener("error",$=>{I($)})}).then(C=>{C&&a(k,C,T.src)}).catch(C=>{if(!d&&e.errSrc){o(k,e.errSrc),d=!0;return}s(C)})},u=k=>{const v=new IntersectionObserver(T=>{T[0].isIntersecting&&(o(k),v.unobserve(k))},{rootMargin:Me(e.rootMargin)});return v},p=k=>{const v=()=>{const T=window.innerHeight||document.documentElement.clientHeight,C=document.documentElement.scrollTop||document.body.scrollTop,I=k.offsetParent.offsetTop,$=T+C-I;Math.abs($){if(t.value){if(e.lazy){IntersectionObserver?u(t.value).observe(t.value):p(t.value);return}o(t.value)}},h=()=>{if(n){if(n())g();else return;return}g()};return ae(()=>{h()}),ye(()=>e.src,()=>{h()}),{isSuccess:i,isShowNode:c}},Et="data-index",Tt="f-toolbar-item",qe="f-pagination",ve=`${qe}__item`,Bt=`${qe}__prev`,Vt=`${qe}__next`,ft=25,At="f-trigger",Mt="f-trigger__content-box",Zn=t=>{(()=>{const s=t.children[0].cloneNode(!0);t.appendChild(s)})();const n=24;let r=0;const i=t.children.length,c=()=>{let a=r*n;r++;const s=r*n,o=500,u=15,p=o/u,g=(s-a)/p,h=setInterval(()=>{if(a+=g,a>=s&&(clearInterval(h),r===i-1)){t.scrollTop=0,r=0;return}t.scrollTop=a},u)};return(a=2e3)=>{setInterval(c,a)}},Dt=(t,e,n)=>{const{run:r}=x(),i=d=>{e.value=!1,r(n,d)};return{closeVisible:i,maskClose:()=>{t.maskClose&&i()}}},De=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,92821,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,37600,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],pt={"1-1":{title:"元旦"},"2-2":{title:"湿地日"},"2-14":{title:"情人节"},"3-8":{title:"妇女节"},"3-12":{title:"植树节"},"4-1":{title:"愚人节"},"5-1":{title:"劳动节"},"5-4":{title:"青年节"},"5-12":{title:"护士节"},"6-1":{title:"儿童节"},"7-1":{title:"建党节"},"8-1":{title:"建军节"},"9-10":{title:"教师节"},"10-1":{title:"国庆节"},"12-24":{title:"平安夜"},"12-25":{title:"圣诞节"}},bt={"1-1":{title:"春节"},"1-15":{title:"元宵节"},"2-2":{title:"龙抬头"},"5-5":{title:"端午节"},"7-7":{title:"七夕节"},"7-15":{title:"中元节"},"8-15":{title:"中秋节"},"9-9":{title:"重阳节"},"10-1":{title:"寒衣节"},"10-15":{title:"下元节"},"12-8":{title:"腊八节"},"12-23":{title:"北小年"},"12-24":{title:"南小年"},"12-30":{title:"除夕"}},Wn=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],Xn=["日","一","二","三","四","五","六","七","八","九","十"],Jn=["初","十","廿","卅"],Qn=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],eo=()=>{const t=s=>{let o,u=348;for(o=32768;o>8;o>>=1)u+=De[s-1900]&o?1:0;return u+n(s)},e=s=>De[s-1900]&15,n=s=>e(s)?De[s-1900]&65536?30:29:0,r=(s,o)=>o>12||o<1?-1:De[s-1900]&65536>>o?30:29,i=(s,o)=>{const u="魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯",p=[20,19,21,21,21,22,23,23,23,23,22,22];return u.substr(s*2-(o{if(s<1900||s>2100||o<1||o>24)return-1;const u=Qn[s-1900],p=[];for(let g=0;g{let o;switch(s){case 10:o="初十";break;case 20:o="二十";break;case 30:o="三十";break;default:o=Jn[Math.floor(s/10)],o+=Xn[s%10]}return o};return(s,o,u)=>{let p=parseInt(s.toString()),g=parseInt(o.toString()),h=parseInt(u.toString());if(p<1900||p>2100||p===1900&&g===1&&h<31)return-1;let k;p?k=new Date(p,parseInt(g.toString())-1,h):k=new Date;let v,T=0,C=0;p=k.getFullYear(),g=k.getMonth()+1,h=k.getDate();let I=(Date.UTC(k.getFullYear(),k.getMonth(),k.getDate())-Date.UTC(1900,0,31))/864e5;for(v=1900;v<2101&&I>0;v++)C=t(v),I-=C;I<0&&(I+=C,v--),k.getDay();const $=v;T=e(v);let A=!1;for(v=1;v<13&&I>0;v++)T>0&&v===T+1&&A===!1?(--v,A=!0,C=n($)):C=r($,v),A===!0&&v===T+1&&(A=!1),I-=C;I===0&&T>0&&v===T+1&&(A?A=!1:(A=!0,--v)),I<0&&(I+=C,--v);const j=v,Z=I+1,Le=c(p,g*2);let Ee="";Le===h&&(Ee=Wn[g*2-1]);const Ke=i(g,h),Y=g+"-"+h;let $e=j+"-"+Z;return j===12&&Z===29&&r($,j)===29&&($e="12-30"),{festival:pt[Y]?pt[Y].title:"",lunarFestival:bt[$e]?bt[$e].title:"",lunar:d(Z),term:Ee,constellation:Ke}}},to=(t,e,n)=>{const r=d=>{n(d.clientX-e.value)},i=()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",i)},c=()=>{document.addEventListener("mousemove",r,{passive:!1}),document.addEventListener("mouseup",i,{passive:!1})};t.addEventListener("mousedown",c,{passive:!1})},no={visible:_(),text:m(),color:m(),fullscreen:_(),background:m(),icon:K()},oo={},so={width:"1em",height:"1em",viewBox:"0 0 16 16"},lo=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m7.25 3.75l-4.5 4.5l4.5 4.5m6-4.5H2.75"},null,-1),ao=[lo];function ro(t,e){return f(),b("svg",so,ao)}const io=ee(oo,[["render",ro]]),co={},uo={width:"1em",height:"1em",viewBox:"0 0 16 16"},fo=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M10.25 3.75L5.75 8l4.5 4.25"},null,-1),po=[fo];function bo(t,e){return f(),b("svg",uo,po)}const Ue=ee(co,[["render",bo]]),mo={},ho={width:"1em",height:"1em",viewBox:"0 0 16 16"},_o=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M5.75 12.25L10.25 8l-4.5-4.25"},null,-1),vo=[_o];function go(t,e){return f(),b("svg",ho,vo)}const Ie=ee(mo,[["render",go]]),yo={},ko={width:"1em",height:"1em",viewBox:"0 0 16 16"},$o=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M1.75 2.75h12.5v10.5H1.75zM2 8h12"},null,-1),Co=[$o];function wo(t,e){return f(),b("svg",ko,Co)}const Lo=ee(yo,[["render",wo]]),So={},Fo={width:"1em",height:"1em",viewBox:"0 0 16 16"},zo=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M4.75 5.25h-3m0 3.5c0 2.5 2.798 5.5 6.25 5.5a6.25 6.25 0 1 0 0-12.5c-3.75 0-6.25 3.5-6.25 3.5v-3.5"},null,-1),Io=[zo];function Po(t,e){return f(),b("svg",Fo,Io)}const Eo=ee(So,[["render",Po]]),To={},Bo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Vo=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M11.25 5.25h3m0 3.5c0 2.5-2.798 5.5-6.25 5.5a6.25 6.25 0 1 1 0-12.5c3.75 0 6.25 3.5 6.25 3.5v-3.5"},null,-1),Ao=[Vo];function Mo(t,e){return f(),b("svg",Bo,Ao)}const Do=ee(To,[["render",Mo]]),No={},Ro={width:"32",height:"32",viewBox:"0 0 24 24"},Oo=y("path",{fill:"currentColor",d:"m12 18.275l-4.15 2.5q-.275.175-.575.15q-.3-.025-.525-.2q-.225-.175-.35-.437q-.125-.263-.05-.588l1.1-4.725L3.775 11.8q-.25-.225-.312-.513Q3.4 11 3.5 10.725q.1-.275.3-.45q.2-.175.55-.225l4.85-.425l1.875-4.45q.125-.3.388-.45q.262-.15.537-.15t.538.15q.262.15.387.45l1.875 4.45l4.85.425q.35.05.55.225q.2.175.3.45q.1.275.038.562q-.063.288-.313.513l-3.675 3.175l1.1 4.725q.075.325-.05.588q-.125.262-.35.437q-.225.175-.525.2q-.3.025-.575-.15Z"},null,-1),Ho=[Oo];function Go(t,e){return f(),b("svg",Ro,Ho)}const xo=ee(No,[["render",Go]]),jo={},qo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Uo=y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[y("circle",{cx:"7.5",cy:"7.5",r:"4.75"}),y("path",{d:"M9.25 7.5h-3.5M7.5 5.75v3.5m3.75 2l3 3"})],-1),Yo=[Uo];function Ko(t,e){return f(),b("svg",qo,Yo)}const Zo=ee(jo,[["render",Ko]]),Wo={},Xo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Jo=y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[y("circle",{cx:"7.5",cy:"7.5",r:"4.75"}),y("path",{d:"M9.25 7.5h-3.5m5.5 3.75l3 3"})],-1),Qo=[Jo];function es(t,e){return f(),b("svg",Xo,Qo)}const ts=ee(Wo,[["render",es]]),ns={},os={width:"32",height:"32",viewBox:"0 0 24 24"},ss=y("path",{fill:"currentColor",d:"M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54L2 5.27M12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.79 11.79 0 0 1-4 5.19l-1.42-1.43A9.862 9.862 0 0 0 20.82 12A9.821 9.821 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.821 9.821 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13Z"},null,-1),ls=[ss];function as(t,e){return f(),b("svg",os,ls)}const rs=ee(ns,[["render",as]]),is={},cs={width:"32",height:"32",viewBox:"0 0 24 24"},us=y("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0Z"},null,-1),ds=[us];function fs(t,e){return f(),b("svg",cs,ds)}const ps=ee(is,[["render",fs]]),bs={},ms={width:"1em",height:"1em",viewBox:"0 0 16 16"},hs=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M2.75 1.75h10.5v12.5H2.75zm3 6h4.5m-4.5 3h2.5m-2.5-6h4.5"},null,-1),_s=[hs];function vs(t,e){return f(),b("svg",ms,_s)}const gs=ee(bs,[["render",vs]]),ys={},ks={width:"1em",height:"1em",viewBox:"0 0 16 16"},$s=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12.75 7.75h-10m5-5v10"},null,-1),Cs=[$s];function ws(t,e){return f(),b("svg",ks,Cs)}const Ls=ee(ys,[["render",ws]]),Ss={},Fs={width:"32",height:"32",viewBox:"0 0 512 512"},zs=y("path",{fill:"currentColor",d:"M128 128h256v38H128zm-16 64h288v38H112z"},null,-1),Is=y("path",{fill:"currentColor",d:"M448 64H64L32 256v192h448V256Zm-12 192H320a64 64 0 0 1-128 0H76l22-150h316Z"},null,-1),Ps=[zs,Is];function Es(t,e){return f(),b("svg",Fs,Ps)}const Ts=ee(Ss,[["render",Es]]),Bs={},Vs={width:"32",height:"32",viewBox:"0 0 24 24"},As=y("path",{fill:"currentColor",d:"M12 20c4.4 0 8-3.6 8-8s-3.6-8-8-8s-8 3.6-8 8s3.6 8 8 8m0-18c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12S6.5 2 12 2m5 9.5V13h-6V7h1.5v4.5H17Z"},null,-1),Ms=[As];function Ds(t,e){return f(),b("svg",Vs,Ms)}const Ns=ee(Bs,[["render",Ds]]),Rs={},Os={width:"1em",height:"1em",viewBox:"0 0 16 16"},Hs=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12.25 10.25L8 5.75l-4.25 4.5"},null,-1),Gs=[Hs];function xs(t,e){return f(),b("svg",Os,Gs)}const js=ee(Rs,[["render",xs]]),qs={},Us={width:"1em",height:"1em",viewBox:"0 0 16 16"},Ys=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M3.75 5.75L8 10.25l4.25-4.5"},null,-1),Ks=[Ys];function Zs(t,e){return f(),b("svg",Us,Ks)}const He=ee(qs,[["render",Zs]]),Ws={},Xs={width:"1em",height:"1em",viewBox:"0 0 16 16"},Js=y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[y("circle",{cx:"2.5",cy:"8",r:".75"}),y("circle",{cx:"8",cy:"8",r:".75"}),y("circle",{cx:"13.5",cy:"8",r:".75"})],-1),Qs=[Js];function el(t,e){return f(),b("svg",Xs,Qs)}const mt=ee(Ws,[["render",el]]),tl={},nl={width:"1em",height:"1em",viewBox:"0 0 16 16"},ol=y("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M1.75 3.75h12.5v10.5H1.75zm9.5-2v1.5m-6.5-1.5v1.5m-2.5 4h11.5"},null,-1),sl=[ol];function ll(t,e){return f(),b("svg",nl,sl)}const al=ee(tl,[["render",ll]]),rl={key:0,class:"f-loading__title"},il=F({name:"FLoading",__name:"loading",props:no,setup(t){const e=t,{styles:n,classes:r}=H(e,"loading"),i=n(["background","color"]),c=r(["fullscreen"],"f-loading");return(d,a)=>d.visible?(f(),b("div",{key:0,class:E(l(c)),style:D(l(i))},[B(l(U),{size:20,class:"f-loading__animation",icon:d.icon},{default:M(()=>[L(d.$slots,"icon",{},()=>[B(l(Lt))])]),_:3},8,["icon"]),d.text?(f(),b("span",rl,G(d.text),1)):w("",!0)],6)):w("",!0)}}),cl=()=>{const t=(i,c)=>{const d=s=>c.value[s],a=s=>d(s)||i.getAttribute(`f-loading-${s}`)||"";return{visible:!!c.value,fullscreen:c.modifiers.fullscreen,text:a("text"),color:a("color"),background:a("background")}},e=(i,c)=>{i.originalPosition!=="absolute"&&i.originalPosition!=="fixed"&&(i.style.position="relative");const d=t(i,c),a=an(il,d),s=a.mount(document.createElement("div"));i.vm=s,i.loadingInstance=a,i.appendChild(s.$el)},n=i=>{i.loadingInstance&&(i.style.position=i.originalPosition,i.removeChild(i.vm.$el),i.loadingInstance.unmount(),i.loadingInstance=null)};return{mounted:(i,c)=>{const d=getComputedStyle(i).position||"static";i.originalPosition=d,c.value&&e(i,c)},updated:(i,c)=>{c.value!==c.oldValue&&(c.value?e(i,c):n(i))}}},ul=(t,e,n)=>{const r=N(0),i=s=>{let o=s.offsetLeft,u=s.offsetParent;for(;u!==null;)o+=u.offsetLeft,u=u.offsetParent;return o},c=()=>{t.value&&(r.value=i(t.value))};ae(()=>{c(),window&&window.addEventListener("resize",c)}),Je(()=>{window&&window.removeEventListener("resize",c)});const d=N(0);return{offset:d,offsetLeft:r,setPosition:s=>{s<0?s=0:s>100&&(s=100);const u=Math.round(s/e.step)*e.step;d.value=u,n.value=u}}},dl=(t,e)=>{const{run:n}=x(),r=V(()=>{const s=Math.floor(t.total/t.pageSize);return t.total%t.pageSize===0?s:s+1}),i=V(()=>{const s=Number(t.pagerCount),o=Number(t.current),u=(s-1)/2;let p=!1,g=!1;const h=[];if(r.value>s)t.current>s-u&&(p=!0),t.current{if(t.disabled)return;let o;n({next:()=>{const p=t.current===r.value?r.value:t.current+1;e.currentModelValue.value=p,n(t.onNext,p,t.pageSize)},prev:()=>{o=t.current===1?1:t.current-1,e.currentModelValue.value=o,n(t.onPrev,o,t.pageSize)}}[s])},d=N(!1),a=N(!1);return Qe(()=>{const s=Number(t.pagerCount),o=(s-1)/2;d.value=!1,a.value=!1,r.value>s&&(t.current>s-o&&(d.value=!0),t.current{const{run:i}=x(),c=u=>{const p=Math.ceil(t.total/Number(u));t.current>p&&(e.currentModelValue.value=p),e.pageSizeModelValue.value=Number(u)},d=(u,p)=>{t.disabled||(e.currentModelValue.value=u,i(t.onChange,u,t.pageSize,p))},a=N("1");return{jumpCurrent:a,selectChange:c,handelChange:d,handleInput:()=>{t.disabled||(Number(a.value)>n.value.length&&(a.value=String(n.value.length)),e.currentModelValue.value=Number(a.value))},handelClick:u=>{if(t.disabled)return;const p=u.target;if(p.className.includes(ve)){let g=Number(p.textContent);const h=t.pagerCount,k=t.current,v=h-2;p.className.includes(Bt)&&(g=k-v),p.className.includes(Vt)&&(g=k+v),Number.isNaN(g)||(g<1&&(g=1),g>r.value&&(g=r.value)),g!==k&&(e.currentModelValue.value=g,i(t.onChange,g,t.pageSize,u))}}}},ht=t=>tt?window.requestAnimationFrame(t):-1,pl=t=>{tt&&window.cancelAnimationFrame(t)},Ge=1e3,We=60*Ge,Xe=60*We,_t=24*Xe,bl=t=>{const e=Math.floor(t/_t),n=Math.floor(t%_t/Xe),r=Math.floor(t%Xe/We),i=Math.floor(t%We/Ge),c=Math.floor(t%Ge);return{total:t,days:e,hours:n,minutes:r,seconds:i,milliseconds:c}},ml=(t,e,n=Ge)=>Math.floor(t/n)===Math.floor(e/n),hl=t=>{let e,n,r,i;const c=N(t.time),d=V(()=>bl(c.value)),a=()=>Math.max(n-performance.now(),0),s=v=>{var T;c.value=v,v===0&&(g(),(T=t.onFinish)==null||T.call(t))},o=()=>{tt&&(t.millisecond?h():k())},u=()=>{r||(n=performance.now()+c.value,r=!0,o())},p=(v=t.time)=>{g(),c.value=v},g=()=>{r=!1,pl(e)},h=()=>{e=ht(()=>{r&&(s(a()),c.value>0&&h())})},k=()=>{e=ht(()=>{if(r){const v=a();(!ml(v,c.value,t.interval)||v===0)&&s(v),c.value>0&&k()}})};return yt(g),rn(()=>{i&&(r=!0,i=!1,o())}),cn(()=>{r&&(g(),i=!0)}),{start:u,pause:g,reset:p,current:d}},_l=(t,e)=>{const{run:n}=x(),r=ne({x:"",y:""}),i=V(()=>{const{spacing:v,enterDuration:T,leaveDuration:C}=t;return{"--trigger-content-x":r.x,"--trigger-content-y":r.y,"--trigger-spacing-size":Me(v),"--trigger-enter-duration":T&&T+"s","--trigger-leave-duration":C&&C+"s"}}),c=()=>{const v=e.value;if(!v)return;const{left:T,top:C,height:I}=v.getBoundingClientRect(),$=T+window.scrollX,A=C+window.scrollY+I;r.x=$+"px",r.y=A+"px"},d=N(!1);let a=!1;const s=v=>{if(!t.disabled){if(d.value){a=!0;return}c(),d.value=!0,a=!0,n(t.onOpen,d.value,v),n(t.onChange,d.value,v)}},o=v=>{if(t.disabled)return;a=!1;const T=()=>{d.value=!1,n(t.onClose,d.value,v),n(t.onChange,d.value,v)};if(t.trigger==="click"){T();return}setTimeout(()=>{a||T()},300)},u=()=>{a=!0},p=()=>{e.value&&(t.trigger==="hover"&&(e.value.addEventListener("mouseenter",s),e.value.addEventListener("mouseleave",o)),t.trigger==="click"&&e.value.addEventListener("click",s))};ae(p),ye(()=>t.trigger,p);const g=v=>{const T=v.target;T.closest("."+Mt)||T.closest("."+At)||(o(v),window.removeEventListener("click",g,!0),window.removeEventListener("resize",c))};return{visible:d,styleList:i,close:o,onBeforeEnter:v=>{if(t.trigger==="hover"){const T=v;T.addEventListener("mouseenter",u),T.addEventListener("mouseleave",o)}window.addEventListener("resize",c),window.addEventListener("click",g,!0)},onAfterLeave:v=>{if(t.trigger==="hover"){const T=v;T.removeEventListener("mouseenter",u),T.removeEventListener("mouseleave",o)}}}},vl=t=>{const e=ne({}),n=Ce(),r=V(()=>{if(!n.default)return[];const d=lt(n.default(),"FFormItem");return d.forEach(a=>{a.props&&a.props.name&&a.props.rules&&(e[a.props.name]=!1)}),d}),i=(d,a)=>{const s=o=>{const u=d.length+1;return!(o.required&&!d||o.max&&u>o.max||o.min&&u{r.value.forEach(a=>{const s=a.props&&a.props.rules,o=a.props&&a.props.name;if(a.props&&s&&o&&t.model)if(o in t.model){const u=t.model[o],p=i(u,s);e[o]=p}else ze("f-form-item",`${o} is not a valid \`name\` parameter`)});const d=Object.values(e);return d.length?d.every(a=>!!a&&!_e(a)):!0}}},{run:Ne}=x(),Nt=t=>({handleOpen:c=>{document.body.style.overflow="hidden",Ne(t.onOpen,c)},handleOpenEnd:c=>{Ne(t.onOpenEnd,c)},handleClose:c=>{document.body.style.overflow="",Ne(t.onClose,c)},handleCloseEnd:c=>{Ne(t.onCloseEnd,c)}}),gl=t=>{const{run:e}=x(),n=V(()=>te(t.animationTime)?`${t.animationTime}s all ease-in-out`:"0.747s all ease-in-out");return{onBeforeEnter:o=>{const u=o;u.style.transition=n.value,t.widthAnimation&&(u.style.width="0"),t.heightAnimation&&(u.style.height="0"),e(t.onOpen,o)},onEnter:o=>{const u=o;if(u.style.overflow="hidden",t.heightAnimation?u.style.height=u.scrollHeight+"px":u.style.height="auto",t.widthAnimation){u.style.width="auto";const p=u.getBoundingClientRect().width;u.style.width="0",u.offsetWidth,u.style.width=p+"px"}else u.style.width="auto"},onAfterEnter:o=>{const u=o;u.style.transition="",u.style.height="",u.style.width="",e(t.onOpenEnd,o)},onBeforeLeave:o=>{const u=o;if(u.style.transition=n.value,t.heightAnimation&&(u.style.height=u.scrollHeight+"px"),t.widthAnimation){const p=u.getBoundingClientRect().width;u.style.width=p+"px"}e(t.onClose,o)},onLeave:o=>{const u=o;u.style.overflow="hidden",t.heightAnimation&&(u.style.height="0"),t.widthAnimation&&(u.style.width="0")},onAfterLeave:o=>{const u=o;u.style.transition="",u.style.height="",u.style.width="",e(t.onCloseEnd,o)}}},yl=t=>V(()=>{const e=document.createElement("canvas"),n=window.devicePixelRatio||1,i=t.fontSize*n+"px serif",c=e.getContext("2d"),{width:d}=c.measureText(t.content),a=Math.max(100,d)*n+t.gap;return e.width=a,e.height=a,c.translate(e.width/2,e.height/2),c.rotate(Math.PI/190*-45),c.fillStyle=t.fontColor,c.font=i,c.textAlign="center",c.textBaseline="middle",c.fillText(t.content,0,0),{base64:e.toDataURL(),size:a/n}}),kl={type:m(void 0,t=>ke.includes(t)),fontSize:S(),titleSize:S(),bold:_(),center:_(),close:_(),simple:_(),title:m(),round:_(),background:m(),color:m(),titleColor:m(),fixed:_(),closeIcon:K(),beforeIcon:K(),alertList:de(),duration:O(),onClose:z()},$l={class:"f-alert__content"},Cl={key:0,class:"f-alert__title"},wl={key:1,class:"f-alert__sub-title"},Ll=F({name:"FAlert",__name:"alert",props:kl,setup(t){const e=t,{getProp:n}=fe(e),{run:r}=x(),{styles:i,classes:c}=H(n(["type"]),"alert"),d=N(!0),a=N(),s=c(["type","bold","simple","center","round","fixed"],"f-alert"),o=i(["fontSize","color","background","titleSize","titleColor"]),u=p=>{d.value=!1,r(e.onClose,p)};return ae(()=>{e.alertList&&e.alertList.length&&a.value&&Zn(a.value)(te(e.duration)?e.duration:2e3)}),(p,g)=>(f(),R(re,{name:"f-alert"},{default:M(()=>[d.value?(f(),b("div",{key:0,role:"alert",class:E(l(s)),style:D(l(o))},[p.$slots.beforeIcon||p.beforeIcon?(f(),R(l(U),{key:0,icon:p.beforeIcon},{default:M(()=>[L(p.$slots,"beforeIcon")]),_:3},8,["icon"])):w("",!0),y("div",$l,[p.title?(f(),b("div",Cl,[L(p.$slots,"title",{},()=>[X(G(p.title),1)])])):w("",!0),p.$slots.default?(f(),b("div",wl,[L(p.$slots,"default")])):w("",!0),p.alertList&&p.alertList.length?(f(),b("div",{key:2,ref_key:"alertListEl",ref:a,class:"f-alert__list"},[(f(!0),b(q,null,W(p.alertList,(h,k)=>(f(),b("div",{key:k,class:"f-alert__list-item"},G(h),1))),128))],512)):w("",!0)]),p.close?(f(),R(l(we),{key:1,round:"",color:p.type==="default"?"#333":"#fff",size:16,icon:p.closeIcon,"on-click":u},{default:M(()=>[L(p.$slots,"closeIcon")]),_:3},8,["color","icon"])):w("",!0)],6)):w("",!0)]),_:3}))}}),Sl=P(Ll),Fl={width:S(),padding:S(),background:m()},zl=F({name:"FAside",__name:"aside",props:Fl,setup(t){const e=t,{styles:n}=H(e,"aside"),r=n(["width","padding","background"]);return(i,c)=>(f(),b("aside",{class:"f-aside",style:D(l(r))},[L(i.$slots,"default")],4))}}),Il=P(zl),Pl={src:m(),errSrc:m(),icon:K(),alt:m(),round:_(),lazy:_(),fit:m(void 0,t=>nt.includes(t)),size:{type:[String,Number],default:()=>"middle",validator:t=>_e(t)?le.includes(t):te(t)?t>=1:!1},background:m(),fontSize:S(),fontColor:m(),text:m(),rootMargin:S("100px"),onLoad:z(),onError:z()},El={positionSize:S(),round:_(!0),size:{type:[String,Number],default:()=>"middle",validator:t=>_e(t)?le.includes(t):te(t)?t>=1:!1},lazy:_(),fit:m(void 0,t=>nt.includes(t))},Rt=Symbol("avatar-group-props-key"),Tl={key:1,class:"f-avatar__text"},Bl=["alt"],Vl={class:"f-avatar__error-text"},Al=F({name:"FAvatar",__name:"avatar",props:Pl,setup(t){const e=t,n=Ce(),r=N(),i=se(Rt,void 0),{isSuccess:c,isShowNode:d}=Pt(r,e,()=>!n.icon&&!e.icon&&!e.text&&r.value),a=ne({...ue(e),...ue(ne(i||{}))}),{styles:s,classes:o}=H(a,"avatar"),u=o(["round","fit",{key:"size",callback:()=>_e(a.size)}],"f-avatar"),p=s(["background","fontColor","fontSize","zIndex",{key:"size",callback:()=>te(a.size)}],"zIndex");return(g,h)=>l(c)?(f(),b("div",{key:0,role:"img",class:E(l(u)),style:D(l(p))},[g.$slots.icon||g.icon?(f(),R(l(U),{key:0,size:g.fontSize||15,color:g.fontColor,icon:g.icon},{default:M(()=>[L(g.$slots,"icon")]),_:3},8,["size","color","icon"])):g.text?(f(),b("span",Tl,G(g.text),1)):(f(),b("img",{key:2,ref_key:"avatarRef",ref:r,class:"f-avatar__img",src:"",style:D(l(d)?"":"visibility: hidden"),alt:g.alt},null,12,Bl))],6)):(f(),b("div",{key:1,class:"f-avatar__error",style:D(l(p))},[L(g.$slots,"error",{},()=>[y("span",Vl,G(g.alt||"加载失败"),1)])],4))}}),Ml=P(Al),Dl={round:_(),behavior:m("smooth",t=>["smooth","auto"].includes(t)),visibleHeight:O(200),right:S(),bottom:S(),zIndex:O(),top:O(0),listenEl:m(),background:m(),color:m()},Nl=["onClick"],Rl=F({name:"FBackTop",__name:"back-top",props:Dl,setup(t){const e=t,{styles:n,classes:r}=H(e,"back-top"),i=N(!1),c=u=>wt(()=>{const p=(u||document.documentElement).scrollTop,g=te(e.visibleHeight)?e.visibleHeight:200;i.value=p>g},200),d=c(),a=()=>{const{top:u,behavior:p,listenEl:g}=ue(e);if(_e(e.listenEl)){const h=document.querySelector(g.value);if(!h){Te("f-back-top","`listen-el` is not a element");return}h&&h.scrollTo({top:u.value,behavior:p.value});return}else Te("f-back-top","`listen-el` attributes is not a string");window&&window.scrollTo({top:u.value,behavior:p.value})};ae(()=>{if(e.listenEl){if(!_e(e.listenEl)){Te("f-back-top","`listen-el` attributes is not a string"),document.addEventListener("scroll",c());return}const u=document.querySelector(e.listenEl);if(!u){Te("f-back-top","`listen-el` is not a element");return}u&&u.addEventListener("scroll",c(u))}else document.addEventListener("scroll",d)}),Je(()=>{document.removeEventListener("scroll",d)});const s=n(["right","bottom","background","color","zIndex"],"zIndex"),o=r(["round"],"f-back-top");return(u,p)=>(f(),R(re,{name:"f-back-top"},{default:M(()=>[ie(y("div",{class:E(l(o)),style:D(l(s)),onClick:be(a,["stop"])},[L(u.$slots,"default")],14,Nl),[[he,i.value]])]),_:3}))}}),Ol=P(Rl),Hl={value:S(),max:O(99),dot:_(),show:_(!0),type:m("danger",t=>ke.includes(t)),background:m(),color:m()},Gl={key:0,class:"f-badge__content"},xl=F({name:"FBadge",__name:"badge",props:Hl,setup(t){const e=t,{classes:n,styles:r}=H(e,"badge"),i=n(["type","dot"],"f-badge"),c=r(["background","color"]),d=V(()=>{const{dot:s,max:o,value:u}=e;return s?"":te(o)&&te(u)&&u>o?o+"+":u}),a=V(()=>{const{value:s,show:o}=e;return!te(s)&&o?!0:o&&te(s)&&s>0});return(s,o)=>(f(),b("div",{class:E(l(i)),style:D(l(c))},[L(s.$slots,"default"),B(re,{name:"f-badge"},{default:M(()=>[a.value?(f(),b("sup",Gl,G(d.value),1)):w("",!0)]),_:1})],6))}}),jl=P(xl),ql={separator:K(),fontColor:m(),iconColor:m(),fontSize:S()},Ot=Symbol("breadcrumb-props-key"),Ul={key:0,class:"f-breadcrumb"},Yl=F({name:"FBreadcrumb",__name:"breadcrumb",props:ql,setup(t){return ce(Ot,t),(n,r)=>n.$slots.default?(f(),b("div",Ul,[L(n.$slots,"default")])):w("",!0)}}),Kl=P(Yl),Zl={fontColor:m(),iconColor:m(),separator:K(),to:{type:[String,Object],default:()=>null}},Wl={class:"f-breadcrumb-item__text"},Xl=F({name:"FBreadcrumbItem",__name:"breadcrumb-item",props:Zl,setup(t){const e=t,n=se(Ot,null),{styles:r}=H(ne({iconColor:e.iconColor||n&&n.iconColor,fontColor:e.fontColor||n&&n.fontColor,fontSize:n&&n.fontSize}),"breadcrumb-item"),i=xe(),c=V(()=>e.separator?e.separator:n&&n.separator?n.separator:Ie),d=r(["fontColor","iconColor","fontSize"]),a=()=>{const s=i.appContext.config.globalProperties.$router;if(s&&e.to)try{s.push(e.to)}catch(o){console.warn(o)}};return(s,o)=>(f(),b("div",{class:"f-breadcrumb-item",style:D(l(d)),onClick:a},[y("span",Wl,[L(s.$slots,"default")]),B(l(U),{icon:c.value,size:16},null,8,["icon"])],4))}}),Jl=P(Xl),Ql=F({name:"FButtonGroup",__name:"button-group",props:On,setup(t){const e=t,{classes:n}=H(e,"button-group"),r=se(St,null),i=V(()=>e.size||r&&r.size||"middle");ce(Hn,i.value);const c=n(["direction","size"],"f-button-group");return(d,a)=>(f(),b("div",{role:"group",class:E(l(c))},[L(d.$slots,"default")],2))}}),ea=P(Ql),ta={date:{type:Date,default:()=>new Date,required:!0},lunar:_(),showHeader:_(!0),border:_(),borderColor:m(),dayCellHeight:S(),weekCellHeight:S(),onChange:z(),onChangeDate:z(),onChangeMonth:z()},na={key:0,class:"f-calendar__header"},oa={class:"f-calendar__option"},sa={class:"f-calendar__week"},la={class:"f-calendar__day"},aa=["onClick"],ra={class:"f-calendar__solar"},ia={key:0,class:"f-calendar__lunar"},ca=F({name:"FCalendar",__name:"calendar",props:ta,setup(t){const e=t,{getLang:n}=fe(),{run:r}=x(),{styles:i,classes:c}=H(e,"calendar"),{generateCalendar:d}=Kn(e),a=V(()=>Mn(e.date)?e.date:new Date),s=ne({year:a.value.getFullYear(),month:a.value.getMonth()+1,date:a.value.getDate()}),o=V(()=>d(s.year,s.month)),u=V(()=>n("calendar").value.weekList),p=()=>{s.month===1?(s.year-=1,s.month=12):s.month-=1},g=()=>{s.month===12?(s.year+=1,s.month=1):s.month+=1},h={prev:()=>p(),next:()=>g(),current:()=>{s.year=e.date.getFullYear(),s.month=e.date.getMonth()+1,s.date=e.date.getDate()}},k=j=>{h[j]&&h[j]()},v=j=>{const{target:Z,day:Le}=j;Z==="prev"&&h[Z](),Z==="next"&&h[Z](),Z==="current"&&(s.date=Le,r(e.onChangeDate,s.year,s.month,s.date))},T=ye(()=>s.month,j=>{r(e.onChangeMonth,s.year,j,s.date)}),C=ye(()=>s,()=>{r(e.onChange,s.year,s.month,s.date)},{deep:!0}),I=(j,Z)=>Z===s.date&&j===s.month?"f-calendar__day-today":"";un(()=>{C(),T()});const $=i(["borderColor","dayCellHeight","weekCellHeight"]),A=c(["border"],"f-calendar");return(j,Z)=>{const Le=ge("f-option"),Ee=ge("f-select"),Ke=ge("f-button");return f(),b("div",{class:E(l(A)),style:D(l($))},[j.showHeader?(f(),b("header",na,[B(l(U),{icon:l(Ue),onClick:Z[0]||(Z[0]=Y=>k("prev"))},null,8,["icon"]),y("div",oa,[B(Ee,{modelValue:s.year,"onUpdate:modelValue":Z[1]||(Z[1]=Y=>s.year=Y),width:116},{default:M(()=>[(f(),b(q,null,W(200,Y=>B(Le,{key:Y,value:1900+Y},{default:M(()=>[X(G(1900+Y),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),B(Ee,{modelValue:s.month,"onUpdate:modelValue":Z[2]||(Z[2]=Y=>s.month=Y),width:116},{default:M(()=>[(f(),b(q,null,W(12,Y=>B(Le,{key:Y,value:Y},{default:M(()=>[X(G(Y),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),B(Ke,{type:"default",onClick:Z[3]||(Z[3]=Y=>k("current"))},{default:M(()=>[X("今天")]),_:1})]),B(l(U),{icon:l(Ie),onClick:Z[4]||(Z[4]=Y=>k("next"))},null,8,["icon"])])):w("",!0),y("div",sa,[(f(!0),b(q,null,W(u.value,(Y,$e)=>(f(),b("div",{key:$e,class:"f-calendar__week-item"},G(Y),1))),128))]),y("div",la,[(f(!0),b(q,null,W(o.value,(Y,$e)=>(f(),b("div",{key:$e,class:E(["f-calendar__day-item",{"f-calendar__day-current":Y.target==="current",[I(Y.month,Y.day)]:Y.target==="current"}]),onClick:lf=>v(Y)},[y("span",ra,G(Y.day),1),j.lunar?(f(),b("span",ia,G(Y.lunarFestival||Y.festival||Y.term||Y.lunar),1)):w("",!0)],10,aa))),128))])],6)}}}),Ht=P(ca),ua={title:m(),round:_(),padding:S(),shadow:m(void 0,t=>["hover","always"].includes(t)),borderColor:m(),background:m(),titleColor:m(),titleBold:_(),close:_(),onClose:z()},da={key:0,role:"heading",class:"f-card__header"},fa={role:"none",class:"f-card__body"},pa=F({name:"FCard",__name:"card",props:ua,setup(t){const e=t,n=N(!0),{run:r}=x(),{classes:i,styles:c}=H(e,"card"),d=i(["round","shadow"],"f-card"),a=c(["padding","borderColor","background","titleColor"]),s=()=>{n.value=!1,r(e.onClose,n.value)};return(o,u)=>(f(),R(re,{name:"f-card"},{default:M(()=>[n.value?(f(),b("div",{key:0,class:E(l(d)),style:D(l(a))},[o.$slots.header||o.title?(f(),b("header",da,[y("span",{class:E(["f-card__title",{"f-card__title-bold":o.titleBold}])},[L(o.$slots,"header",{},()=>[X(G(o.title),1)])],2),o.close?(f(),R(l(we),{key:0,"on-click":s})):w("",!0)])):w("",!0),y("main",fa,[L(o.$slots,"default")])],6)):w("",!0)]),_:3}))}}),ba=P(pa),ma={modelValue:{type:Boolean,default:()=>!1},label:{type:[String,Number,Boolean],default:()=>null},disabled:_(),border:_(),showLabel:_(!0),onChange:z()},ha={modelValue:de([]),disabled:_(),vertical:_(),label:m(),background:_(),size:m("middle",t=>le.includes(t)),columnGap:S(),rowGap:S(),onChange:z()},Gt=Symbol("f-checkbox-group-props-key"),_a=["value","disabled"],va={key:0,class:"f-checkbox__box"},ga={class:"f-checkbox__text"},ya=F({name:"FCheckbox",__name:"checkbox",props:Q(ma,{modelValue:{type:Boolean,default:!1,type:[Boolean,Array]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),i=V({get:()=>c&&c.modelValue||e.modelValue,set:p=>{if(!c){n.value=p,r(e.onChange,p);return}c.setChange(p)}}),c=se(Gt,null),d=V(()=>{const p=i.value;return me(p)?p.includes(e.label):ot(p)?p:p===e.label}),a=V(()=>!!(c&&c.disabled)),s=V(()=>e.disabled||a.value),{classes:o}=H(ne({checked:d,disabled:s}),"checkbox"),u=o(["checked","disabled"],"f-checkbox");return(p,g)=>(f(),b("label",{role:"checkbox","aria-checked":"false",tabindex:"0","aria-labelledby":"chk1-label",class:E(l(u))},[ie(y("input",{"onUpdate:modelValue":g[0]||(g[0]=h=>i.value=h),type:"checkbox",class:"f-checkbox__input",hidden:"",value:p.label,disabled:p.disabled||!!l(c)&&l(c).disabled},null,8,_a),[[dn,i.value]]),l(c)&&l(c).background?w("",!0):(f(),b("span",va)),y("span",ga,[L(p.$slots,"default"),!p.$slots.default&&p.showLabel?(f(),b(q,{key:0},[X(G(p.label),1)],64)):w("",!0)])],2))}}),xt=P(ya),ka=F({name:"FCheckboxGroup",__name:"checkbox-group",props:Q(ha,{modelValue:{type:Boolean,default:[],type:[Boolean,Array,String,Number]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{classes:i,styles:c}=H(e,"checkbox-group"),d=o=>{n.value=o,r(e.onChange,o)};ce(Gt,ne({...ue(e),setChange:d}));const a=c(["columnGap","rowGap"]),s=i(["background","vertical","size"],"f-checkbox-group");return(o,u)=>(f(),b("div",{role:"group","aria-label":"checkbox-group",class:E(l(s)),style:D(l(a))},[L(o.$slots,"default")],6))}}),jt=P(ka),$a={visible:{..._(),required:!0},title:m(),appendToBody:_(),width:S(),fullscreen:_(),showMask:_(!0),maskClose:_(!0),maskOpacity:O(),maskBackground:m(),showHeader:_(!0),maskBlur:_(),showCloseIcon:_(!0),closeIcon:K(),zIndex:O(),onOpen:z(),onOpenEnd:z(),onClose:z(),onCloseEnd:z()},Ca={key:0,class:"f-dialog__mask"},wa={class:"f-dialog__container"},La={key:0,class:"f-dialog__header"},Sa={class:"f-dialog__header-before"},Fa={class:"f-dialog__header-center"},za={class:"f-dialog__header-after"},Ia={key:1,class:"f-dialog__body"},Pa={key:2,class:"f-dialog__footer"},Ea=F({name:"FDialog",__name:"dialog",props:Q($a,{visible:{type:Boolean,default:!1,type:Boolean}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{styles:r,classes:i}=H(e,"dialog"),{closeVisible:c,maskClose:d}=Dt(e,n),{handleOpen:a,handleOpenEnd:s,handleClose:o,handleCloseEnd:u}=Nt(e),p=r(["width","zIndex","maskBackground","maskOpacity"],["maskOpacity","zIndex"]),g=i(["fullscreen","maskBlur"],"f-dialog");return(h,k)=>(f(),R(je,{to:"body",disabled:!h.appendToBody},[B(re,{name:"f-dialog__trans",onBeforeEnter:l(a),onAfterEnter:l(s),onBeforeLeave:l(o),onAfterLeave:l(u)},{default:M(()=>[ie(y("div",{role:"dialog","aria-modal":"true",tabindex:"-1",class:E(l(g)),style:D(l(p))},[h.showMask?(f(),b("div",Ca)):w("",!0),y("div",{class:"f-dialog__wrapper",onClick:k[0]||(k[0]=be((...v)=>l(d)&&l(d)(...v),["self"]))},[B(re,{name:"f-dialog__container-trans"},{default:M(()=>[ie(y("div",wa,[h.showHeader?(f(),b("header",La,[y("div",Sa,[L(h.$slots,"headerBefore")]),y("div",Fa,G(h.title),1),y("div",za,[L(h.$slots,"headerAfter",{},()=>[h.showCloseIcon?(f(),R(l(we),{key:0,round:"",color:"#3c4043",size:30,icon:h.closeIcon,"on-click":l(c)},{default:M(()=>[L(h.$slots,"closeIcon")]),_:3},8,["icon","on-click"])):w("",!0)])])])):w("",!0),h.$slots.default?(f(),b("section",Ia,[L(h.$slots,"default")])):w("",!0),h.$slots.footer?(f(),b("footer",Pa,[L(h.$slots,"footer")])):w("",!0)],512),[[he,n.value]])]),_:3})])],6),[[he,n.value]])]),_:3},8,["onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],8,["disabled"]))}}),Ta=P(Ea),Ba={position:m("center",t=>["left","center","right"].includes(t)),vertical:_(),color:m(),fontColor:m(),margin:S(),height:S(),background:m(),type:m("solid",t=>["dashed","dotted","double","solid"].includes(t))},Va={key:0,class:"f-divider__text"},Aa=F({name:"FDivider",__name:"divider",props:Ba,setup(t){const e=t,{classes:n,styles:r}=H(e,"divider"),i=n(["vertical","position"],"f-divider"),c=r(["color","margin","background","fontColor","height","type"]);return(d,a)=>(f(),b("div",{role:"separator",class:E(l(i)),style:D(l(c))},[!d.vertical||!d.$slots.default?(f(),b("span",Va,[L(d.$slots,"default")])):w("",!0)],6))}}),Ma=P(Aa),Da={visible:_(),appendToBody:_(),direction:m("right",t=>["left","top","right","bottom"].includes(t)),title:m(),showMask:_(!0),showHeader:_(!0),maskClose:_(!0),maskBlur:_(),maskOpacity:O(),maskBackground:m(),showCloseIcon:_(!0),closeIcon:K(),zIndex:O(),onOpen:z(),onOpenEnd:z(),onClose:z(),onCloseEnd:z()},Na={key:0,class:"f-drawer__mask"},Ra={class:"f-drawer__container"},Oa={key:0,class:"f-drawer__header"},Ha={class:"f-drawer__header-title"},Ga={key:1,class:"f-drawer__body"},xa={key:2,class:"f-drawer__footer"},ja=F({name:"FDrawer",__name:"drawer",props:Q(Da,{visible:{type:Boolean,default:!1,type:Boolean}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{styles:r,classes:i}=H(e,"drawer"),{closeVisible:c,maskClose:d}=Dt(e,n),{handleOpen:a,handleOpenEnd:s,handleClose:o,handleCloseEnd:u}=Nt(e),p=r(["width","zIndex","maskBackground","maskOpacity"],["zIndex","maskOpacity"]),g=i(["fullscreen","maskBlur","direction"],"f-drawer");return(h,k)=>(f(),R(je,{to:"body",disabled:!h.appendToBody},[B(re,{name:"f-drawer__trans",onBeforeEnter:l(a),onAfterEnter:l(s),onBeforeLeave:l(o),onAfterLeave:l(u)},{default:M(()=>[ie(y("div",{role:"dialog","aria-modal":"true",tabindex:"-1",class:E(l(g)),style:D(l(p))},[h.showMask?(f(),b("div",Na)):w("",!0),y("div",{class:"f-drawer__wrapper",onClick:k[0]||(k[0]=be((...v)=>l(d)&&l(d)(...v),["self"]))},[B(re,{name:"f-drawer__container-trans"},{default:M(()=>[ie(y("div",Ra,[h.showHeader?(f(),b("header",Oa,[L(h.$slots,"header",{},()=>[y("span",Ha,G(h.title),1),h.showCloseIcon?(f(),R(l(we),{key:0,icon:h.closeIcon,"on-click":l(c)},{default:M(()=>[L(h.$slots,"closeIcon")]),_:3},8,["icon","on-click"])):w("",!0)])])):w("",!0),h.$slots.default?(f(),b("section",Ga,[L(h.$slots,"default")])):w("",!0),h.$slots.footer?(f(),b("footer",xa,[L(h.$slots,"footer")])):w("",!0)],512),[[he,n.value]])]),_:3})])],6),[[he,n.value]])]),_:3},8,["onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],8,["disabled"]))}}),qa=P(ja),Ua={content:m(),contentSize:S(),contentColor:m(),imageSrc:m(),imageSize:S(),background:m(),iconSize:S(30)},Ya={src:m(),alt:m(),draggable:_(!0),lazy:_(),rootMargin:S("100px"),width:S(),height:S(),block:_(),fit:m(void 0,t=>nt.includes(t)),select:_(),referrerPolicy:m(),round:S(),errSrc:m(),title:m(),onLoad:z(),onError:z()},Ka=["draggable","referrer-policy","alt","title"],Za={key:1,class:"f-image__error"},Wa={class:"f-image__error-text"},Xa=F({name:"FImage",__name:"image",props:Ya,setup(t){const e=t,n=N(),{classes:r,styles:i}=H(e,"image"),{isSuccess:c,isShowNode:d}=Pt(n,e),a=r(["fit","select","block"],"f-image"),s=i(["width","height","round"]);return(o,u)=>l(c)?(f(),b("div",{key:0,role:"img",class:E(l(a)),style:D(l(s))},[y("img",{ref_key:"imageEl",ref:n,class:"f-image__img",src:"",style:D(l(d)?"":"visibility: hidden"),draggable:o.draggable,"referrer-policy":o.referrerPolicy,alt:o.alt,title:o.title},null,12,Ka)],6)):(f(),b("div",Za,[L(o.$slots,"error",{},()=>[y("div",Wa,G(o.alt||"加载失败"),1)])]))}}),qt=P(Xa),Ja={class:"f-empty__wrapper"},Qa={class:"f-empty__content"},er={key:0,class:"f-empty__footer"},tr=F({name:"FEmpty",__name:"empty",props:Ua,setup(t){const e=t,{styles:n}=H(e,"empty"),{getLang:r}=fe(),i=V(()=>e.content||r("empty").value.content),c=n(["contentColor","contentSize","background"]);return(d,a)=>(f(),b("div",{class:"f-empty",style:D(l(c))},[y("div",Ja,[d.$slots.default?L(d.$slots,"default",{key:0}):(f(),b(q,{key:1},[d.imageSrc?(f(),R(l(qt),{key:0,src:d.imageSrc,width:d.imageSize},null,8,["src","width"])):(f(),R(l(U),{key:1,icon:l(Ts),size:d.iconSize},null,8,["icon","size"]))],64))]),y("span",Qa,G(i.value),1),d.$slots.footer?(f(),b("div",er,[L(d.$slots,"footer")])):w("",!0)],4))}}),nr=P(tr),or={imageList:de([]),round:_(),expandIndex:O(0),color:m(),vertical:_(),width:S(),height:S(),onChange:z()},sr=["onClick"],lr={key:0,class:"f-expand-card__title"},ar=F({name:"FExpandCard",__name:"expand-card",props:or,setup(t){const e=t,{classes:n,styles:r}=H(e,"expand-card"),{run:i}=x(),c=N(e.expandIndex),d=(u,p,g)=>{c.value=p,i(e.onChange,u,p,g)},a=V(()=>{const{imageList:u}=e;return me(u)?u.map(p=>_e(p)?{url:p}:Ae(p)&&p.url?p:{url:""}):(ze("f-expand-card","`image-list` is not a array."),[])}),s=n(["round","vertical"],"f-expand-card"),o=r(["width","height","color"]);return(u,p)=>a.value.length?(f(),b("div",{key:0,class:E(l(s)),style:D(l(o))},[(f(!0),b(q,null,W(a.value,(g,h)=>(f(),b("div",{key:h,class:E(["f-expand-card__item",{"f-expand-card__active":h===c.value}]),style:D({backgroundImage:`url(${g.url})`}),onClick:k=>d(k,h,g)},[g.text?(f(),b("div",lr,G(g.text),1)):w("",!0)],14,sr))),128))],6)):w("",!0)}}),rr=P(ar),ir={height:S(),padding:S()},cr=F({name:"FFooter",__name:"footer",props:ir,setup(t){const e=t,{styles:n}=H(e,"footer"),r=n(["height","padding"]);return(i,c)=>(f(),b("footer",{class:"f-footer",style:D(l(r))},[L(i.$slots,"default")],4))}}),ur=P(cr),dr={height:S(),padding:S()},fr=F({name:"FHeader",__name:"header",props:dr,setup(t){const e=t,{styles:n}=H(e,"header"),r=n(["height","padding"]);return(i,c)=>(f(),b("header",{role:"banner",class:"f-header",style:D(l(r))},[L(i.$slots,"default")],4))}}),pr=P(fr),br={visible:_(),imgList:de([]),modalClose:_(!0),appendToBody:_(),isCloseBtn:_(!0),showIndex:O(0),zIndex:O(),isOption:_(!0),round:m(),onClose:z()},mr={round:_(),size:m("middle",t=>le.includes(t)),background:m(),textColor:m(),fixed:_(),width:S(),height:S(),onClick:z()},hr=F({name:"FToolbar",__name:"toolbar",props:mr,setup(t){const e=t,n=Ce(),{run:r}=x(),{classes:i,styles:c}=H(e,"toolbar"),d=o=>{if(!n.default)return;const u=o.target;if(u.className===Tt){const p=u.getAttribute(Et);r(e.onClick,p,o)}},a=i(["size","round","fixed"],"f-toolbar"),s=c(["textColor","background","width","height"]);return(o,u)=>(f(),b("div",{role:"toolbar",class:E(l(a)),style:D(l(s)),onClick:d},[L(o.$slots,"default")],6))}}),Ut=P(hr),_r={color:m(),icon:K(),iconSize:S(16),index:S(),onClick:z()},vr=F({name:"FToolbarItem",__name:"toolbar-item",props:_r,setup(t){const e=t,{run:n}=x(),{styles:r}=H(e,"toolbar-item"),i=a=>{n(e.onClick,a)},c=r(["color"]),d=Et;return(a,s)=>(f(),b("span",kt({class:l(Tt),[l(d)||""]:a.index,style:l(c),onClick:i}),[a.icon?(f(),R(l(U),{key:0,size:a.iconSize,icon:a.icon},null,8,["size","icon"])):w("",!0),L(a.$slots,"default")],16))}}),Se=P(vr),gr=y("div",{class:"f-image-preview__mask"},null,-1),yr=["onClick"],kr={class:"f-image-preview__wrapper"},$r=["src"],Cr=F({name:"FImagePreview",__name:"image-preview",props:Q(br,{visible:{type:Boolean,default:!1,type:Boolean}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{run:r}=x(),{scale:i,rotate:c,smaller:d,bigger:a,scrollZoom:s,recovery:o,rotateClockwise:u,rotateCounterClock:p}=Yn(),g=N(e.showIndex>e.imgList.length-1?0:e.showIndex),h=()=>{me(e.imgList)&&e.imgList.forEach($=>{const A=new Image;A.src=$})},k={next:()=>{if(g.value{if(g.value>0){g.value--;return}g.value=e.imgList.length-1}},v=$=>{o(),r(k[$])},T={1:()=>d(),2:()=>a(),3:()=>o(),4:()=>u(),5:()=>p()},C=$=>{$&&r(T[$])},I=$=>{n.value=!1,r(e.onClose,$)};return($,A)=>(f(),R(je,{to:"body",disabled:!$.appendToBody},[B(re,{name:"f-image-preview__transition",onBeforeEnter:h},{default:M(()=>[ie(y("div",{class:"f-image-preview",style:D({zIndex:$.zIndex}),onMousewheel:A[0]||(A[0]=(...j)=>l(s)&&l(s)(...j))},[gr,y("div",{class:"f-image-preview__container",onClick:be(I,["self"])},[B(re,{name:"f-image-preview__wrapper-transition"},{default:M(()=>[ie(y("div",kr,[y("img",{class:"f-image-preview__node",draggable:"false",src:$.imgList[g.value],style:D({transform:`scale(${l(i)}) rotate(${l(c)}deg)`,borderRadius:$.round})},null,12,$r)],512),[[he,n.value]])]),_:1}),$.isOption?(f(),R(l(Ut),{key:0,class:"f-image-preview__option",round:"","on-click":C},{default:M(()=>[B(l(Se),{icon:l(ts),index:1},null,8,["icon"]),B(l(Se),{icon:l(Zo),index:2},null,8,["icon"]),B(l(Se),{icon:l(Lo),index:3},null,8,["icon"]),B(l(Se),{icon:l(Do),index:4},null,8,["icon"]),B(l(Se),{icon:l(Eo),index:5},null,8,["icon"])]),_:1})):w("",!0),$.imgList.length>1?(f(),b(q,{key:1},[B(l(pe),{class:"f-image-preview__next",circle:"","before-icon":l(Ie),"on-click":()=>v("next")},null,8,["before-icon","on-click"]),B(l(pe),{class:"f-image-preview__prev",circle:"","before-icon":l(Ue),"on-click":()=>v("prev")},null,8,["before-icon","on-click"])],64)):w("",!0),B(l(pe),{class:"f-image-preview__close",circle:"","before-icon":l(st),"on-click":I},null,8,["before-icon"])],8,yr)],36),[[he,n.value]])]),_:1})],8,["disabled"]))}}),wr=P(Cr),Lr={direction:m(void 0,t=>["horizontal","vertical"].includes(t))},Sr=F({name:"FLayout",__name:"layout",props:Lr,setup(t){const e=t,n=Ce(),r=V(()=>e.direction==="vertical"?!0:e.direction==="horizontal"?!1:n&&n.default?n.default().some(c=>{const d=c.type.name;return d==="FHeader"||d==="FFooter"}):!1);return(i,c)=>(f(),b("section",{class:E(["f-layout",{"f-layout__vertical":r.value}])},[L(i.$slots,"default")],2))}}),Fr=P(Sr),zr={type:m(void 0,t=>ke.includes(t)),href:m(),size:S(),state:m(void 0,t=>["line","background"].includes(t)),disabled:_(),target:m("_self",t=>Dn.includes(t)),color:m(),hoverColor:m(),noCopy:_(),noLink:_(),beforeIcon:K(),afterIcon:K(),onClick:z()},Ir=["href","target"],Pr=F({name:"FLink",__name:"link",props:zr,setup(t){const e=t,{getProp:n}=fe(e),{run:r}=x(),{classes:i,styles:c}=H(n(["type"],["primary"]),"link"),d=o=>{if(e.disabled||e.noLink){o.preventDefault();return}r(e.onClick,o)},a=i(["type","state","disabled","noCopy"],"f-link"),s=c(["size","color","hoverColor"]);return(o,u)=>(f(),b("div",{role:"link",class:E(l(a)),style:D(l(s))},[y("a",{class:"f-link__a",href:o.href,target:o.target,onClick:d},[o.beforeIcon?(f(),R(l(U),{key:0,icon:o.beforeIcon,size:o.size},null,8,["icon","size"])):w("",!0),L(o.$slots,"default"),o.afterIcon?(f(),R(l(U),{key:1,icon:o.afterIcon,size:o.size},null,8,["icon","size"])):w("",!0)],8,Ir)],6))}}),Er=P(Pr),Tr={zebra:_(),center:_(),textColor:m(),borderColor:m(),size:m("middle",t=>le.includes(t)),maxHeight:S(),zebraColor:m()},Yt=Symbol("list-props-key"),Br={key:0,class:"f-list__header"},Vr={key:1,class:"f-list__footer"},Ar=F({name:"FList",__name:"list",props:Tr,setup(t){const e=t;ce(Yt,e);const{classes:n,styles:r}=H(e,"list"),i=r(["borderColor","maxHeight","zebraColor"]),c=n(["zebra","center","size"],"f-list");return(d,a)=>(f(),b("ul",{role:"list",class:E(l(c)),style:D(l(i))},[d.$slots.header?(f(),b("header",Br,[L(d.$slots,"header")])):w("",!0),L(d.$slots,"default"),d.$slots.footer?(f(),b("footer",Vr,[L(d.$slots,"footer")])):w("",!0)],6))}}),Mr=P(Ar),Dr={background:m(),color:m()},Nr=F({name:"FListItem",__name:"list-item",props:Dr,setup(t){const e=t,n=se(Yt,null),{styles:r}=H(ne({borderColor:n&&n.borderColor,textColor:e.color||n&&n.textColor,background:e.background}),"list-item"),i=r(["textColor","borderColor","background"]);return(c,d)=>(f(),b("li",{role:"listitem",class:"f-list-item",style:D(l(i))},[L(c.$slots,"default")],4))}}),Rr=P(Nr),Or={padding:S()},Hr=F({name:"FMain",__name:"main",props:Or,setup(t){const e=t,{styles:n}=H(e,"main"),r=n(["padding"]);return(i,c)=>(f(),b("main",{role:"main",class:"f-main",style:D(l(r))},[L(i.$slots,"default")],4))}}),Gr=P(Hr),xr={icon:K(),iconSize:S("16px"),backText:m(),title:m(),titleBold:_(),titleColor:m(),titleCenter:_(),subtitle:m(),onBack:z()},jr={class:"f-page-header"},qr={class:"f-page-header__text"},Ur={key:0,class:"f-page-header__main-subtitle"},Yr=F({name:"FPageHeader",__name:"page-header",props:xr,setup(t){const e=t,{run:n}=x(),{getLang:r}=fe(),i=V(()=>r("pageHeader").value.backText),c=d=>{n(e.onBack,d)};return(d,a)=>(f(),b("header",jr,[y("div",{class:"f-page-header__left",onClick:c},[B(l(U),{size:d.iconSize},{default:M(()=>[L(d.$slots,"icon",{},()=>[(f(),R(Re(d.icon||l(io))))])]),_:3},8,["size"]),y("div",qr,G(i.value),1)]),y("div",{class:E(["f-page-header__main",{"f-page-header__main-center":d.titleCenter}])},[y("div",{style:D({color:d.titleColor}),class:E(["f-page-header__main-title",{"f-page-header__main-title-bold":d.titleBold}])},[L(d.$slots,"title",{},()=>[X(G(d.title),1)])],6),d.subtitle||d.$slots.subtitle?(f(),b("div",Ur,[L(d.$slots,"subtitle",{},()=>[X(G(d.subtitle),1)])])):w("",!0)],2)]))}}),Kr=P(Yr),Zr={percentage:O(0),state:m("line",t=>["line","circle"].includes(t)),type:m("primary",t=>ke.includes(t)),height:S(),showText:_(!0),diameter:O(400),outsideText:_(),textColor:m(),color:m(),background:m(),stripe:_()},at=Symbol("progress-props-key"),Wr=["width","height","aria-value"],Xr=["cx","cy","r"],Jr=["x","y"],Qr=F({name:"FProgressCircle",__name:"index",setup(t){const e=se(at),{classes:n}=H(e,"progress"),r=n(["type","state"],"f-progress"),i=V(()=>te(e.diameter)?e.diameter/2:100),c=V(()=>(i.value-ft)*2*Math.PI),d=V(()=>{const s=c.value-c.value*(e.percentage/100);return s<=0?0:s>c.value?c.value:s}),a=V(()=>({"--progress-stroke-dasharray":c.value,"--progress-stroke-dashoffset":d.value}));return(s,o)=>(f(),b("svg",{role:"progressbar",class:E(l(r)),width:l(e).diameter,height:l(e).diameter,style:D(a.value),"aria-value":l(e).percent,"aria-valuemin":0,"aria-valuemax":100},[y("circle",{class:"f-progress__girth",fill:"transparent","stroke-width":"12",stroke:"green",cx:i.value,cy:i.value,r:i.value-l(ft)},null,8,Xr),l(e).showText?(f(),b("text",{key:0,"font-size":"24",fill:"grey","text-anchor":"middle","alignment-baseline":"middle",x:i.value,y:i.value},G(l(e).percent)+"% ",9,Jr)):w("",!0)],14,Wr))}}),ei=["aria-value"],ti={class:"f-progress__bar"},ni={class:"f-progress__fill"},oi={key:0,class:"f-progress__percentage"},si={key:0,class:"f-progress__text"},li=F({name:"FProgressLine",__name:"index",setup(t){const e=se(at),{classes:n,styles:r}=H(e,"progress"),i=n(["type","stripe","state"],"f-progress"),c=r(["height","color","textColor","background"]),d=V(()=>({"--progress-width":`${e.percent}%`}));return(a,s)=>(f(),b("div",{role:"progressbar",class:E(l(i)),style:D([l(c),d.value]),"aria-value":l(e).percent,"aria-valuemin":0,"aria-valuemax":100},[y("div",ti,[y("div",ni,[!l(e).outsideText&&l(e).showText?(f(),b("div",oi,G(l(e).percent)+"% ",1)):w("",!0)])]),l(e).outsideText&&l(e).showText?(f(),b("div",si,G(l(e).percent)+"% ",1)):w("",!0)],14,ei))}}),ai=F({name:"FProgress",__name:"progress",props:Zr,setup(t){const e=t,n=V(()=>{const{percentage:r}=e;return te(r)?e.percentage>=100?100:e.percentage<=0?0:e.percentage:(Te("f-progress","`percentage` is not a number"),0)});return ce(at,ne({...ue(e),percent:n})),(r,i)=>r.state==="circle"?(f(),R(l(Qr),{key:0})):(f(),R(l(li),{key:1}))}}),ri=P(ai),ii={modelValue:{type:[String,Number,Boolean],default:()=>null},disabled:_(),name:m("f-radio"),label:{type:[String,Number,Boolean],default:()=>null},onChange:z()},ci={modelValue:{type:[String,Number,Boolean],default:()=>null},disabled:_(),vertical:_(),columnGap:S(),rowGap:S(),background:_(),size:m("middle",t=>le.includes(t)),onChange:z()},Kt=Symbol("radio-group-props-key"),ui=["value","disabled","name"],di={key:0,class:"f-radio__circle"},fi={class:"f-radio__text"},pi=F({name:"FRadio",__name:"radio",props:Q(ii,{modelValue:{type:Boolean,default:null,type:[String,Number,Boolean]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),i=V({get:()=>c&&c.modelValue||e.modelValue,set:p=>{if(c&&!a.value){r(c.changeEvent,p);return}s.value||(n.value=p,r(e.onChange,p))}}),c=se(Kt,null),d=V(()=>i.value===e.label),a=V(()=>!!(c&&c.disabled)),s=V(()=>e.disabled||a.value),{classes:o}=H(ne({checked:d,disabled:s}),"radio"),u=o(["checked","disabled"],"f-radio");return(p,g)=>{var h;return f(),b("label",{role:"radio","aria-checked":"false",tabindex:"0",class:E(l(u))},[ie(y("input",{"onUpdate:modelValue":g[0]||(g[0]=k=>i.value=k),hidden:"",type:"radio",value:p.label,disabled:p.disabled,name:p.name},null,8,ui),[[fn,i.value]]),(h=l(c))!=null&&h.background?w("",!0):(f(),b("span",di)),y("span",fi,[L(p.$slots,"default",{},()=>[X(G(p.label),1)])])],2)}}}),bi=P(pi),mi=F({name:"FRadioGroup",__name:"radio-group",props:Q(ci,{modelValue:{type:Boolean,default:"",type:[String,Number,Boolean]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{styles:i,classes:c}=H(e,"radio-group"),d=o=>{n.value=o,r(e.onChange,o)},a=c(["vertical","background","size"],"f-radio-group"),s=i(["columnGap","rowGap"]);return ce(Kt,ne({...ue(e),changeEvent:d})),(o,u)=>(f(),b("div",{role:"radiogroup",class:E(l(a)),style:D(l(s))},[L(o.$slots,"default")],6))}}),hi=P(mi),_i={modelValue:O(0),max:O(5),effectColor:m("#fcc202"),invalidColor:m("#eef"),readonly:_(),icon:K(),size:S(25),textShow:_(),textColor:m(),textArr:de(["极差","失望","一般","不错","很棒"]),textSize:S(),onChange:z()},vi={type:m(void 0,t=>ke.includes(t)),size:S(),color:m(),background:m(),block:_(),spacing:S(),lineHeight:S(),indent:S(),bold:_(),decoration:m(void 0,t=>["overline","line-through","underline"].includes(t)),padding:S(),width:S(),ellipsis:_(),center:_()},gi=F({name:"FText",__name:"text",props:vi,setup(t){const e=t,{getProp:n}=fe(e),{classes:r,styles:i}=H(n(["type"]),"text"),c=r(["type","block","bold","ellipsis","center"],"f-text"),d=i(["color","background","decoration","width","size","padding","spacing","lineHeight","indent"]);return(a,s)=>(f(),b("p",{class:E(l(c)),style:D(l(d))},[L(a.$slots,"default")],6))}}),Zt=P(gi),yi={class:"f-rate",role:"slider"},ki={class:"f-rate__list"},$i=["onMouseover","onClick"],Ci=F({name:"FRate",__name:"rate",props:Q(_i,{modelValue:{default:0,type:Number}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),i=N(e.modelValue),c=u=>{e.readonly||(i.value=u)},d=()=>{e.readonly||(i.value=e.modelValue)},a=u=>{e.readonly||(i.value=u,n.value=u,r(e.onChange,u))};ye(()=>e.modelValue,()=>{i.value=e.modelValue});const s=V(()=>e.textArr[l(i)-1]),o=V(()=>te(e.max)?e.max:5);return(u,p)=>(f(),b("div",yi,[y("div",ki,[(f(!0),b(q,null,W(o.value,(g,h)=>(f(),b("div",{key:h,class:E(["f-rate__star",{"f-rate__star-readonly":u.readonly}]),onMouseout:d,onMouseover:k=>c(h+1),onClick:k=>a(h+1)},[B(l(U),{size:u.size,icon:u.icon||l(xo),color:i.value>h?u.effectColor:u.invalidColor},null,8,["size","icon","color"])],42,$i))),128))]),u.textShow?(f(),R(l(Zt),{key:0,size:u.textSize,color:u.textColor},{default:M(()=>[X(G(s.value),1)]),_:1},8,["size","color"])):w("",!0)]))}}),wi=P(Ci),Li={ripplesColor:m(),duration:O(400),type:m(void 0,t=>ke.includes(t)),disabled:_(),startOpacity:O(),endOpacity:O()},Si=F({name:"FRipple",__name:"ripple",props:Li,setup(t){const e=t,{getType:n,getProp:r}=fe(e),{styles:i}=H(r(["type"],["default"]),"ripple"),c=N(),d=i(["startOpacity","endOpacity"],!1),a=s=>{if(e.disabled)return;const{ripplesColor:o,duration:u}=ue(e),p=ne({duration:u.value,component:"f-ripple",className:"f-ripple__animation",type:n(),ripplesColor:o.value});if(c.value){const{runRipples:g}=Gn(s,c.value,p);g()}};return(s,o)=>(f(),b("div",{ref_key:"rippleRef",ref:c,class:"f-ripple",style:D(l(d)),onClick:a},[L(s.$slots,"default")],4))}}),Fi=P(Si),zi={round:_(),difference:_(),animated:_(),rows:O(1),loading:_(),rowGap:S(),size:m("middle",t=>le.includes(t))},Ii=F({name:"FSkeleton",__name:"skeleton",props:zi,setup(t){const e=t,{classes:n,styles:r}=H(e,"skeleton"),i=n(["round","animated","size",{key:"difference",callback:()=>e.difference&&te(e.rows)&&e.rows>=3}],"f-skeleton"),c=r(["rowGap"]),d=V(()=>Ce().default?e.loading===!0:!0);return(a,s)=>d.value?(f(),b("div",{key:0,role:"section",class:E(l(i)),style:D(l(c))},[(f(!0),b(q,null,W(a.rows,o=>(f(),b("div",{key:o,class:"f-skeleton__item"}))),128))],6)):L(a.$slots,"default",{key:1})}}),Pi=P(Ii),Ei={open:_(),openText:m(),closeText:m(),borderColor:m(),onOpen:z(),onClose:z()},Ti={opened:_(),disabled:_(),heightAnimation:_(!0),widthAnimation:_(),animationTime:O(),onOpen:z(),onClose:z(),onOpenEnd:z(),onCloseEnd:z()},Bi={class:"f-collapse-animation"},Vi=F({name:"FCollapseAnimation",__name:"collapse-animation",props:Ti,setup(t){const e=t,{onBeforeEnter:n,onEnter:r,onAfterEnter:i,onBeforeLeave:c,onLeave:d,onAfterLeave:a}=gl(e),s=e.opened,o=V(()=>e.disabled?s:e.opened);return(u,p)=>(f(),R(re,{onBeforeEnter:l(n),onEnter:l(r),onAfterEnter:l(i),onBeforeLeave:l(c),onLeave:l(d),onAfterLeave:l(a)},{default:M(()=>[ie(y("div",Bi,[L(u.$slots,"default")],512),[[he,o.value]])]),_:3},8,["onBeforeEnter","onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"]))}}),Wt=P(Vi),Ai={key:0,class:"f-sticky-card__source"},Mi={class:"f-sticky-card__box"},Di={class:"f-sticky-card__option-text"},Ni=F({name:"FStickyCard",__name:"sticky-card",props:Ei,setup(t){const e=t,{getLang:n}=fe(),{run:r}=x(),{styles:i}=H(e,"sticky-card"),c=N(e.open),d=()=>{c.value=!c.value,r(c.value?e.onClose:e.onOpen,c.value)},a=V(()=>{const{openText:o,closeText:u}=e,p=n("stickyCard").value;return l(c)?o||p.openText:u||p.closeText}),s=i(["borderColor"]);return(o,u)=>(f(),b("div",{class:"f-sticky-card",style:D(l(s))},[o.$slots.source?(f(),b("div",Ai,[L(o.$slots,"source")])):w("",!0),y("div",Mi,[B(l(Wt),{opened:c.value},{default:M(()=>[L(o.$slots,"default")]),_:3},8,["opened"])]),y("div",{class:E(["f-sticky-card__option",{"f-sticky-card__option-open":c.value}]),onClick:d},[y("span",Di,G(a.value),1)],2)],4))}}),Xt=P(Ni),Ri={modelValue:{..._(),required:!0},size:m(void 0,t=>le.includes(t)),disabled:_(),loading:_(),icon:K(),closeColor:m(),activeColor:m(),activeText:m(),closeText:m(),square:_(),iconSize:S(),onChange:z()},Oi=F({name:"FSwitch",__name:"switch",props:Q(Ri,{modelValue:{type:Boolean,default:!1,type:Boolean}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{getProp:i}=fe(e),{styles:c,classes:d}=H(i(["size"]),"switch"),a=()=>{e.disabled||e.loading||(n.value=!n.value,r(e.onChange,!e.modelValue))},s=c(["closeColor","activeColor"]),o=d(["size","square"],"f-switch__input");return(u,p)=>(f(),b("div",{role:"switch",class:E(["f-switch",{"f-switch__disabled":u.disabled||u.loading}]),style:D(l(s))},[u.closeText?(f(),b("span",{key:0,class:E(["f-switch__right-text",{"f-switch__text-active":!n.value}])},G(u.closeText),3)):w("",!0),y("div",{class:E([l(o),{"f-switch__active":n.value}]),onClick:a},[y("span",{class:E(["f-switch__roll",{"f-switch__roll-active":n.value}])},[u.icon&&!u.loading?(f(),R(l(U),{key:0,icon:u.icon,size:u.iconSize},null,8,["icon","size"])):w("",!0),u.loading?(f(),R(l(U),{key:1,class:"f-switch__loading-animation",icon:l(Lt),size:u.iconSize},null,8,["icon","size"])):w("",!0)],2)],2),u.activeText?(f(),b("span",{key:1,class:E(["f-switch__left-text",{"f-switch__text-active":n.value}])},G(u.activeText),3)):w("",!0)],6))}}),Hi=P(Oi),Gi={type:m(void 0,t=>ke.includes(t)),close:_(),round:_(),background:m(),color:m(),beforeIcon:K(),afterIcon:K(),size:m(void 0,t=>le.includes(t)),simple:_(),block:_(),line:_(),onClose:z(),onClick:z()},xi=F({name:"FTag",__name:"tag",props:Gi,setup(t){const e=t,{getProp:n}=fe(e),{run:r}=x(),{classes:i,styles:c}=H(n(["size","type"]),"tag"),d=i(["simple","type","size","block","round","line"],"f-tag"),a=c(["color","background"]),s=o=>{r(e.onClose,o)};return(o,u)=>(f(),R(re,{name:"f-tag",appear:""},{default:M(()=>[y("div",{class:E(l(d)),style:D(l(a)),onClick:u[0]||(u[0]=(...p)=>o.onClick&&o.onClick(...p))},[o.beforeIcon?(f(),R(l(U),{key:0,icon:o.beforeIcon},null,8,["icon"])):w("",!0),L(o.$slots,"default"),o.afterIcon?(f(),R(l(U),{key:1,icon:o.afterIcon},null,8,["icon"])):w("",!0),o.close?(f(),R(l(we),{key:2,size:14,"on-click":s})):w("",!0)],6)]),_:3}))}}),ji=P(xi),qi={content:S(),position:m("bottom",t=>["top","bottom","right","left"].includes(t)),disabled:_(),state:m("hover",t=>["hover","active","always"].includes(t)),noArrow:_(),bold:_(),bright:_(),background:m(),fontColor:m()},Ui=["f-content"],Yi=F({name:"FTooltip",__name:"tooltip",props:qi,setup(t){const e=t,{classes:n,styles:r}=H(e,"tooltip"),i=n(["position","state","disabled","bold","noArrow","bright"],"f-tooltip"),c=r(["background","fontColor"]);return(d,a)=>d.$slots.default?(f(),b("div",{key:0,role:"tooltip","f-content":d.content,class:E(l(i)),style:D(l(c))},[L(d.$slots,"default")],14,Ui)):w("",!0)}}),Ki=P(Yi),Zi={modelValue:de(),data:{type:[Object,Array],default:()=>[]},isCheck:_(),offset:O(40),onClickLabel:z()},Jt=Symbol("tree-props-key"),Wi={model:K()},Xi={class:"f-tree-item"},Ji={class:"f-tree-item__label-prefix"},Qi={class:"f-tree-item__text"},ec={key:0,class:"f-tree-item__label-option"},tc={key:0,class:"f-tree-item__children"},vt=F({name:"FTreeItem",__name:"index",props:Wi,setup(t){const e=t,{run:n}=x(),r=se(Jt,null),i=N(!1),c=V(()=>!!(e.model.children&&e.model.children.length)),d=(o,u)=>{u.disabled||(i.value=!i.value,r&&n(r.onClickLabel,o,u,i.value,r.tree))},a=V(()=>r&&te(r.offset)&&r.offset>1?r.offset:40),s=V(()=>{const{__level:o}=e.model;return o?{"--tree-item-level-padding":`${o*a.value}px`}:{}});return(o,u)=>{var h;const p=ge("f-tree-item"),g=ge("f-collapse-animation");return f(),b("div",Xi,[y("div",{class:E(["f-tree-item__label",{"f-tree-item__label-disabled":o.model.disabled}]),style:D(s.value),onClick:u[0]||(u[0]=k=>d(k,o.model))},[y("div",Ji,[(h=l(r))!=null&&h.isCheck?(f(),R(l(xt),{key:0,label:o.model.value||o.model.label,disabled:o.model.disabled,"show-label":!1},null,8,["label","disabled"])):w("",!0),c.value?(f(),R(l(U),{key:1,class:E({"f-tree-item__icon-animation":i.value}),size:15,icon:l(Ie)},null,8,["class","icon"])):w("",!0),o.model.icon?(f(),R(l(U),{key:2,size:15,icon:o.model.icon},null,8,["icon"])):w("",!0),y("div",Qi,G(o.model.label),1)]),o.$slots.options?(f(),b("div",ec,[L(o.$slots,"options")])):w("",!0)],6),B(g,{opened:i.value,"animation-time":.3},{default:M(()=>[c.value?(f(),b("div",tc,[(f(!0),b(q,null,W(o.model.children,(k,v)=>(f(),R(p,{key:v,model:k},{options:M(()=>[L(o.$slots,"options")]),_:2},1032,["model"]))),128))])):w("",!0)]),_:3},8,["opened"])])}}}),nc={role:"tree",class:"f-tree"},oc=F({name:"FTree",__name:"tree",props:Q(Zi,{check:{type:Array,default:[]}}),emits:["update:check"],setup(t){const e=t,n=J(t,"check"),r=(a,s=0)=>{Ae(a)&&(a=[a]);const o=[];if(me(a))for(const u of a){const p={...u,__level:s};u.children&&(p.children=r(u.children,s+1)),o.push(p)}return o},i=r(e.data),c=N([]),d=a=>{n.value=a};return ce(Jt,ne({onClickLabel:Be(e,"onClickLabel"),isCheck:Be(e,"isCheck"),offset:Be(e,"offset"),tree:i})),(a,s)=>(f(),b("div",nc,[a.isCheck?(f(),R(l(jt),{key:0,modelValue:c.value,"onUpdate:modelValue":s[0]||(s[0]=o=>c.value=o),style:{display:"block"},"on-change":d},{default:M(()=>[(f(!0),b(q,null,W(l(i),(o,u)=>(f(),R(l(vt),{key:u,model:o},{options:M(()=>[L(a.$slots,"options")]),_:2},1032,["model"]))),128))]),_:3},8,["modelValue"])):(f(!0),b(q,{key:1},W(l(i),(o,u)=>(f(),R(l(vt),{key:u,model:o},{options:M(()=>[L(a.$slots,"options")]),_:2},1032,["model"]))),128))]))}}),sc=P(oc),lc={content:m(),fontSize:O(40),gap:O(40),fontColor:m("#111"),zIndex:S(9999)},ac=F({name:"FWatermark",__name:"watermark",props:lc,setup(t){const e=t,n=yl(e),r=N();let i;const c=()=>{if(!r.value)return;i&&i.remove();const{base64:a,size:s}=n.value;i=document.createElement("div"),i.style.position="absolute",i.style.backgroundImage=`url(${a})`,i.style.backgroundSize=`${s}px ${s}px`,i.style.zIndex=e.zIndex.toString(),i.style.inset="0",r.value.appendChild(i)};ae(c);const d=new MutationObserver(a=>{for(const s of a){if(s.removedNodes&&s.removedNodes.length){const o=Array.from(s.removedNodes);for(const u of o)if(u===i){c();return}}if(s.target===i){c();return}}});return ae(()=>{r.value&&d.observe(r.value,{childList:!0,subtree:!0,attributes:!0})}),Je(d.disconnect),(a,s)=>(f(),b("div",{ref_key:"watermarkRef",ref:r,class:"f-watermark"},[L(a.$slots,"default")],512))}}),rc=P(ac),ic={modelValue:S(),type:m("text",t=>["text","password","number"].includes(t)),size:m(void 0,t=>le.includes(t)),disabled:_(),max:O(),min:O(),maxLength:O(),fontSize:S(),autofocus:_(),name:m("f-input"),placeholder:m(),placeholderColor:m(),clear:_(),width:S(),height:S(),search:_(),textColor:m(),readonly:_(),showPassword:_(),enterSearch:_(),icon:K(),afterIcon:K(),autocomplete:m("off"),onSearch:z(),onChange:z(),onInput:z(),onBlur:z(),onFocus:z(),onEnter:z()},cc={modelValue:{..._(),require:!0},size:S(40),type:m(void 0,t=>["sound","swap"].includes(t)),iconOn:K(),iconOff:K(),onChange:z()},uc=F({name:"FSwap",__name:"swap",props:Q(cc,{modelValue:{type:Boolean,default:!1,type:Boolean}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{classes:i}=H(e,"swap"),c=a=>{n.value=!n.value,r(e.onChange,a,!e.modelValue)},d=i(["type","modelValue"],"f-swap");return(a,s)=>(f(),b("div",{role:"switch",class:E(l(d)),onClick:c},[B(l(U),{icon:n.value?a.iconOn:a.iconOff,size:a.size},null,8,["icon","size"])],2))}}),Qt=P(uc),dc={class:"f-input__wrapper"},fc=["type","max","min","maxlength","disabled","readonly","autofocus","autocomplete","name","placeholder","onKeyup"],pc=F({name:"FInput",__name:"input",props:Q(ic,{modelValue:{default:"",type:[String,Number]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),{getLang:i,getProp:c}=fe(e),{styles:d,classes:a}=H(c(["size"]),"input"),{handleInput:s,handleClear:o,handleChange:u}=It(e,n),p=N(!1),g=N(e.type);Qe(()=>{g.value=e.type});const h=V(()=>i("input").value.search),k=$=>{r(e.onSearch,n.value,$)},v=$=>{const{search:A,enterSearch:j,onEnter:Z}=ue(e);A.value&&j.value&&k($),r(Z.value,n.value,$)},T=()=>{if(p.value){g.value="text",p.value=!0;return}g.value="password",p.value=!1},C=d(["placeholderColor","textColor","width","height","fontSize"]),I=a(["size","disabled","search"],"f-input");return($,A)=>(f(),b("div",{role:"input",class:E(l(I)),style:D(l(C))},[y("div",dc,[L($.$slots,"before"),$.icon?(f(),R(l(U),{key:0,class:"f-input__icon",icon:$.icon,size:13},null,8,["icon"])):w("",!0),ie(y("input",{"onUpdate:modelValue":A[0]||(A[0]=j=>n.value=j),class:"f-input__input",type:g.value,max:$.max,min:$.min,maxlength:$.maxLength,disabled:$.disabled,readonly:$.readonly,autofocus:$.autofocus,autocomplete:$.autocomplete,name:$.name,placeholder:$.placeholder,onInput:A[1]||(A[1]=(...j)=>l(s)&&l(s)(...j)),onChange:A[2]||(A[2]=(...j)=>l(u)&&l(u)(...j)),onKeyup:bn(v,["enter"]),onBlur:A[3]||(A[3]=(...j)=>$.onBlur&&$.onBlur(...j)),onFocus:A[4]||(A[4]=(...j)=>$.onFocus&&$.onFocus(...j))},null,40,fc),[[pn,n.value]]),$.clear?(f(),R(l(U),{key:1,class:"f-input__clear-btn",icon:l(st),size:14,"on-click":l(o)},null,8,["icon","on-click"])):w("",!0),$.afterIcon?(f(),R(l(U),{key:2,icon:$.afterIcon,size:14},null,8,["icon"])):w("",!0),$.showPassword?(f(),R(l(Qt),{key:3,modelValue:p.value,"onUpdate:modelValue":A[5]||(A[5]=j=>p.value=j),class:"f-input__show-password",type:"swap","icon-on":l(ps),"icon-off":l(rs),size:14,"on-change":T},null,8,["modelValue","icon-on","icon-off"])):w("",!0),L($.$slots,"after")]),$.search?(f(),b("div",{key:0,class:"f-input__search",onClick:k},[L($.$slots,"searchBtn",{},()=>[B(l(pe),{type:"primary",size:$.size},{default:M(()=>[X(G(h.value),1)]),_:1},8,["size"])])])):w("",!0)],6))}}),Pe=P(pc),bc={files:de([]),accept:m(),name:m(),drag:_(),isRemove:_(!0),showList:_(!1),multiple:_(),maxSize:O(),maxLength:O(),disabled:_(),onLoad:z(),onChange:z()},mc={class:"f-up-load"},hc=["onDrop","onDragover"],_c=["name","disabled","accept","multiple"],vc={key:0,class:"f-up-load__file-list"},gc={class:"f-up-load__file-name"},yc=F({name:"FUpLoad",__name:"up-load",props:Q(bc,{files:{default:[],type:Array}}),emits:["update:files"],setup(t){const e=t,n=J(t,"files"),{run:r}=x(),i=N(!1),c=N(),d=N(),a=()=>{d.value&&d.value.click()},s=v=>{c.value&&c.value.length?c.value.push(...v):c.value=v,n.value=c.value,r(e.onLoad,v)},o=v=>{const{maxSize:T,maxLength:C}=ue(e);let I=[...v];return T.value&&(I=I.filter($=>$.size{const T=v.target.files;T&&s(o(T))},p=v=>{c.value&&c.value.splice(v,1)},g=v=>{v.preventDefault(),i.value=!0},h=v=>{i.value=!1;const T=v.dataTransfer.files;T&&s(o(T))};return(()=>{e.onChange&&ye(()=>e.files,()=>{r(e.onChange,c.value)},{deep:!0})})(),(v,T)=>(f(),b(q,null,[y("div",mc,[v.drag?(f(),b("div",{key:0,class:"f-up-load__drag",onClick:a,onDrop:be(h,["prevent"]),onDragover:be(g,["prevent"])},[L(v.$slots,"default",{},()=>[B(l(U),{icon:l(Ls)},null,8,["icon"])])],40,hc)):(f(),b("div",{key:1,class:"f-up-load__content",onClick:a},[L(v.$slots,"default",{},()=>[B(l(pe),null,{default:M(()=>[X("选择文件")]),_:1})])])),y("input",{ref_key:"inputRef",ref:d,type:"file",hidden:"",name:v.name,disabled:v.disabled,accept:v.accept,multiple:v.multiple,onChange:u},null,40,_c)]),v.showList&&c.value&&c.value.length?(f(),b("ul",vc,[(f(!0),b(q,null,W(c.value,(C,I)=>(f(),b("li",{key:I,class:"f-up-load__file-list-item"},[y("span",gc,[B(l(U),{icon:l(gs)},null,8,["icon"]),X(" "+G(C.name),1)]),v.isRemove?(f(),R(l(we),{key:0,size:14,onClick:$=>p(I)},null,8,["onClick"])):w("",!0)]))),128))])):w("",!0)],64))}}),kc=P(yc),$c={current:{...O(1),require:!0},total:{...O(0),require:!0},pageSize:O(10),pageSelect:de(),pagerCount:O(7),background:_(),round:_(),prevIcon:K(),nextIcon:K(),disabled:_(),jumpSearch:_(),onPrev:z(),onNext:z(),pageSizeChange:z(),onChange:z()},Cc={modelValue:{type:[String,Number,Boolean],default:()=>null,required:!0},width:{type:[Number,String],default:()=>190},name:m("f-select"),size:m("middle",t=>le.includes(t)),placeholder:m(),clear:_(),disabled:_(),onChange:z()},en=Symbol("f-select-props-key"),wc={spacing:S(),disabled:_(),width:{type:[Number,String],default:()=>null},trigger:m("hover",t=>["hover","click"].includes(t)),arrow:_(),enterDuration:O(),leaveDuration:O(),onChange:z(),onOpen:z(),onClose:z()},Lc={spacing:S(),disabled:_(),trigger:m("hover",t=>["hover","click"].includes(t)),width:{type:[Number,String],default:()=>null},arrow:_(),enterDuration:O(),leaveDuration:O(),onChange:z(),onOpen:z(),onClose:z()},rt=Symbol("trigger-close-key"),Sc={class:"f-trigger__content"},Fc=F({name:"FTrigger",__name:"trigger",props:Lc,setup(t,{expose:e}){const n=t,r=N(),{classes:i,styles:c}=H(n,"trigger"),{visible:d,styleList:a,close:s,onBeforeEnter:o,onAfterLeave:u}=_l(n,r),p=i(["arrow"],Mt),g=c(["width"]);return ce(rt,{close:s}),e({close:s}),(h,k)=>(f(),b("div",{class:E(l(At))},[y("div",{ref_key:"triggerRef",ref:r,class:"f-trigger__trigger"},[L(h.$slots,"default")],512),(f(),R(je,{to:"body"},[B(re,{name:"f-trigger",onBeforeEnter:l(o),onAfterLeave:l(u)},{default:M(()=>[ie(y("div",{class:E(l(p)),style:D([l(a),l(g)])},[y("div",Sc,[L(h.$slots,"content")])],6),[[he,l(d)]])]),_:3},8,["onBeforeEnter","onAfterLeave"])]))],2))}}),Ye=P(Fc),zc={class:"f-dropdown"},Ic=F({name:"FDropdown",__name:"dropdown",props:wc,setup(t){return(e,n)=>(f(),b("div",zc,[B(l(Ye),{trigger:e.trigger,disabled:e.disabled,spacing:e.spacing,arrow:e.arrow,width:e.width,"enter-duration":e.enterDuration,"leave-duration":e.leaveDuration,"on-change":e.onChange,"on-open":e.onOpen,"on-close":e.onClose},{content:M(()=>[L(e.$slots,"content")]),default:M(()=>[L(e.$slots,"default")]),_:3},8,["trigger","disabled","spacing","arrow","width","enter-duration","leave-duration","on-change","on-open","on-close"])]))}}),it=P(Ic),Pc=F({name:"FSelect",__name:"select",props:Q(Cc,{modelValue:{default:"",type:[String,Number]}}),emits:["update:modelValue"],setup(t){const e=t,n=Ce(),r=J(t,"modelValue"),{run:i}=x(),{styles:c}=H(e,"select"),d=V({get:()=>{var I,$;if(!a.value.length)return"";const h=a.value.filter(A=>{const j=A.props;return j?j.value?`${j.value}`==`${e.modelValue}`:`${j.label}`==`${e.modelValue}`:A.children.default()[0].children===e.modelValue});if(!h.length)return"";const k=h[0],v=k.children&&k.children.default()[0].children,T=(I=k.props)==null?void 0:I.label,C=($=k.props)==null?void 0:$.value;return v||T||C&&C.toString()||""},set:h=>h}),a=V(()=>n.default?lt(n.default(),"FOption"):[]);ce(en,ne({setValue:(h,k,v)=>{d.value=h.toString(),k!==e.modelValue&&i(e.onChange,h,k,v),r.value=h},modelValue:Be(e,"modelValue")}));const o=c(["width"]),u=N(!1),p=N(),g=async()=>{await et();const h=p.value&&p.value.querySelector(".f-option.f-option__active");h&&Oe(h.scrollIntoView)&&h.scrollIntoView({block:"end"})};return(h,k)=>(f(),b("div",{class:"f-select",style:D(l(o))},[B(l(it),{trigger:"click",disabled:h.disabled,width:h.width,"on-open":g},{content:M(()=>[y("div",{ref_key:"secletContentRef",ref:p,class:"f-select__content"},[L(h.$slots,"default")],512)]),default:M(()=>[B(l(Pe),{modelValue:d.value,"onUpdate:modelValue":k[0]||(k[0]=v=>d.value=v),readonly:"",name:h.name,size:h.size,disabled:h.disabled,placeholder:h.placeholder,clear:h.clear,"on-focus":()=>u.value=!0,"on-blur":()=>u.value=!1},{after:M(()=>[B(l(U),{color:"#bababa",class:E(["f-select__arrow",{"f-select__arrow-active":u.value}]),size:13,icon:l(He)},null,8,["class","icon"])]),_:1},8,["modelValue","name","size","disabled","placeholder","clear","on-focus","on-blur"])]),_:3},8,["disabled","width"])],4))}}),tn=P(Pc),Ec={value:S(),label:S(),disabled:_()},Tc=F({name:"FOption",__name:"option",props:Ec,setup(t){const e=t,n=Ce(),{run:r}=x(),i=se(en,null),c=se(rt,null),d=V(()=>{if(!n.default)return"";const o=n.default()[0].children;return _e(o)?o:""}),a=V(()=>{const o=e.value||e.label||d.value;return i?o===i.modelValue:!1}),s=o=>{if(!i||e.disabled)return;const{value:u,label:p}=ue(e),g=d.value||p.value||u.value,h=u.value||p.value||d.value;i&&r(i.setValue,h,g,o),c&&r(c.close)};return(o,u)=>o.$slots.default||o.label||o.value?(f(),b("div",{key:0,class:E(["f-option",{"f-option__disabled":o.disabled,"f-option__active":a.value}]),onClick:s},[o.$slots.default?L(o.$slots,"default",{key:0}):(f(),b(q,{key:1},[X(G(o.label||o.value),1)],64))],2)):w("",!0)}}),nn=P(Tc),Bc=["disabled"],Vc=["onClick"],Ac=["disabled"],Mc=F({name:"FPagination",__name:"pagination",props:Q($c,{current:{default:1,type:Number},pageSize:{default:10,type:Number}}),emits:["update:current","update:pageSize"],setup(t){const e=t,n=J(t,"current"),r=J(t,"pageSize"),{pages:i,showNextMore:c,showPrevMore:d,maxCount:a,handelTurnPages:s}=dl(e,{currentModelValue:n,pageSizeModelValue:r}),{jumpCurrent:o,selectChange:u,handelChange:p,handleInput:g,handelClick:h}=fl(e,{currentModelValue:n,pageSizeModelValue:r},i,a),{classes:k}=H(e,"pagination"),v=N(10),T=k(["background","round","disabled"],qe);return(C,I)=>(f(),b("div",{class:E(l(T))},[C.pageSelect&&C.pageSelect.length?(f(),R(l(tn),{key:0,modelValue:v.value,"onUpdate:modelValue":I[0]||(I[0]=$=>v.value=$),width:120,disabled:C.disabled,"on-change":l(u)},{default:M(()=>[(f(!0),b(q,null,W(C.pageSelect,$=>(f(),R(l(nn),{key:$,value:$,label:$+"/页"},null,8,["value","label"]))),128))]),_:1},8,["modelValue","disabled","on-change"])):w("",!0),y("button",{class:"f-pagination__button",disabled:C.disabled,onClick:I[1]||(I[1]=$=>l(s)("prev"))},[B(l(U),{size:14,icon:C.prevIcon||l(Ue)},null,8,["icon"])],8,Bc),C.total>0?(f(),b("div",{key:1,class:"f-pagination__pages",onClick:I[2]||(I[2]=$=>l(h)($))},[y("div",{class:E([l(ve),{[`${l(ve)}-active`]:t.current===1}])}," 1 ",2),l(d)?(f(),b("div",{key:0,class:E([l(ve),l(Bt)])},[B(l(U),{size:15,icon:l(mt)},null,8,["icon"])],2)):w("",!0),(f(!0),b(q,null,W(l(i),$=>(f(),b("div",{key:$,class:E([l(ve),{[`${l(ve)}-active`]:t.current===$}]),onClick:A=>l(p)($,A)},G($),11,Vc))),128)),l(c)?(f(),b("div",{key:1,class:E([l(ve),l(Vt)])},[B(l(U),{size:15,icon:l(mt)},null,8,["icon"])],2)):w("",!0),C.total>1?(f(),b("div",{key:2,class:E([l(ve),{[`${l(ve)}-active`]:t.current===l(a)}])},G(l(a)),3)):w("",!0)])):w("",!0),y("button",{class:"f-pagination__button",disabled:C.disabled,onClick:I[3]||(I[3]=$=>l(s)("next"))},[B(l(U),{size:14,icon:C.nextIcon||l(Ie)},null,8,["icon"])],8,Ac),C.jumpSearch?(f(),R(l(Pe),{key:2,modelValue:l(o),"onUpdate:modelValue":I[4]||(I[4]=$=>$t(o)?o.value=$:null),placeholder:"输入跳转的页数",class:"f-pagination__jump",style:{width:"80px"},disabled:C.disabled,"on-blur":l(g),"on-enter":l(g)},null,8,["modelValue","disabled","on-blur","on-enter"])):w("",!0)],2))}}),Dc=P(Mc),Nc={data:de(),columns:de(),align:m("left",t=>["left","center","right"].includes(t)),border:_(),num:_(),zebra:_(),zebraColor:m(),height:S(),bgColor:m(),headBgColor:m(),showHead:_(!0)},Rc={columns:de()},Oc=["width"],gt=F({name:"FTableColgroup",__name:"index",props:Rc,setup(t){return(e,n)=>(f(),b("colgroup",null,[(f(!0),b(q,null,W(e.columns,(r,i)=>(f(),b("col",{key:i,width:l(Me)(r.width)},null,8,Oc))),128))]))}}),Hc={class:"f-table__container"},Gc={key:0,class:"f-table__header"},xc={class:"f-table__table"},jc=["align"],qc={key:0},Uc={class:"f-table__body"},Yc={class:"f-table__table"},Kc=["align"],Zc={key:0},Wc=["align"],Xc={key:0},Jc={key:2},Qc={key:1},eu=F({name:"FTable",__name:"table",props:Nc,setup(t){const e=t,{styles:n,classes:r}=H(e,"table"),i=(s,o,u,p)=>s(Ve,o,u,p),c=(s,o,u)=>s(Ve,o,u),d=n(["zebraColor","bgColor","headBgColor","height"]),a=r(["border","zebra"],"f-table");return(s,o)=>(f(),b("div",{role:"table",class:E(l(a)),style:D(l(d))},[y("div",Hc,[s.columns||s.data?(f(),b(q,{key:0},[s.height&&s.showHead?(f(),b("header",Gc,[y("table",xc,[B(l(gt),{columns:s.columns},null,8,["columns"]),y("thead",{align:s.align},[y("tr",null,[s.num?(f(),b("th",qc,"序号")):w("",!0),(f(!0),b(q,null,W(s.columns,(u,p)=>(f(),b("th",{key:p},[l(Oe)(u.title)?(f(),R(Re(c(u.title,u,p)),{key:0})):(f(),b(q,{key:1},[X(G(u.title),1)],64))]))),128))])],8,jc)])])):w("",!0),y("main",Uc,[y("table",Yc,[B(l(gt),{columns:s.columns},null,8,["columns"]),!s.height&&s.showHead?(f(),b("thead",{key:0,align:s.align},[y("tr",null,[s.num?(f(),b("th",Zc,"序号")):w("",!0),(f(!0),b(q,null,W(s.columns,(u,p)=>(f(),b("th",{key:p},[l(Oe)(u.title)?(f(),R(Re(c(u.title,u,p)),{key:0})):(f(),b(q,{key:1},[X(G(u.title),1)],64))]))),128))])],8,Kc)):w("",!0),s.data.length?(f(),b("tbody",{key:1,align:s.align},[(f(!0),b(q,null,W(s.data,(u,p)=>(f(),b("tr",{key:p},[s.num?(f(),b("td",Xc,G(p+1),1)):w("",!0),(f(!0),b(q,null,W(s.columns,(g,h)=>(f(),b("td",{key:h},[g.render?(f(),R(Re(i(g.render,u,p,g)),{key:0})):(f(),b(q,{key:1},[g.key?(f(),b(q,{key:0},[X(G(u[g.key]),1)],64)):w("",!0)],64))]))),128))]))),128))],8,Wc)):w("",!0),s.$slots.tfoot?(f(),b("tfoot",Jc,[L(s.$slots,"tfoot")])):w("",!0)])])],64)):(f(),b("table",Qc,[L(s.$slots,"default")]))])],6))}}),tu=P(eu),nu={disabled:_(),onClick:z()},ou=F({name:"FDropdownItem",__name:"dropdown-item",props:nu,setup(t){const e=t,{run:n}=x(),r=se(rt,null),i=c=>{e.disabled||(n(r&&r.close),n(e.onClick,c))};return(c,d)=>(f(),b("div",{class:E(["f-dropdown-item",{"f-dropdown-item__disabled":c.disabled}]),onClick:i},[L(c.$slots,"default")],2))}}),su=P(ou),lu={modelValue:{...S(),required:!0},rows:S(),disabled:_(),autoHeight:_(),maxLength:O(),autofocus:_(),name:m("f-textarea"),placeholder:m(),readonly:_(),fontSize:S(),onInput:z(),resize:m(void 0,t=>["none","both","horizontal","vertical"].includes(t)),clear:_(),onChange:z(),onBlur:z(),onFocus:z(),onEnter:z()},au=["rows","disabled","readonly","autofocus","placeholder","name"],ru=F({name:"FTextarea",__name:"textarea",props:Q(lu,{modelValue:{default:"",type:[Number,String]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{handleInput:r,handleClear:i,handleChange:c}=It(e,n),{classes:d,styles:a}=H(e,"textarea"),{run:s}=x(),o=N(),u=d(["disabled","autoHeight"],"f-textarea"),p=a(["resize","fontSize"]),g=async()=>{await et(),o.value&&(o.value.style.height="auto",o.value.style.height=o.value.scrollHeight+"px")},h=C=>{r(C),e.autoHeight&&g()},k=()=>{const C=ye(()=>[e.modelValue,e.rows,e.autoHeight],()=>{g(),e.autoHeight||(C(),o.value&&(o.value.style.height="auto"))},{immediate:!0})},v=wt(g,500);ae(()=>{e.autoHeight&&(k(),window.addEventListener("resize",v))}),yt(()=>{window.removeEventListener("resize",v)});const T=C=>{if(C.key==="Enter"&&C.ctrlKey){n.value+=`
 `,e.autoHeight&&g();return}C.key==="Enter"&&(C.preventDefault(),s(e.onEnter,n.value,C))};return(C,I)=>(f(),b("div",{class:E(l(u)),style:D(l(p))},[ie(y("textarea",{ref_key:"textareaRef",ref:o,"onUpdate:modelValue":I[0]||(I[0]=$=>n.value=$),class:"f-textarea__textarea",rows:C.rows,disabled:C.disabled,readonly:C.readonly,autofocus:C.autofocus,placeholder:C.placeholder,name:C.name,onInput:h,onChange:I[1]||(I[1]=(...$)=>l(c)&&l(c)(...$)),onBlur:I[2]||(I[2]=(...$)=>C.onBlur&&C.onBlur(...$)),onFocus:I[3]||(I[3]=(...$)=>C.onFocus&&C.onFocus(...$)),onKeydown:T},null,40,au),[[mn,n.value]]),C.clear?(f(),R(l(U),{key:0,class:"f-textarea__clear-btn",icon:l(st),size:14,"on-click":l(i)},null,8,["icon","on-click"])):w("",!0)],6))}}),iu=P(ru),cu={modelValue:O(0),model:m("default",t=>["default","button","switch"].includes(t)),precision:O(0),buttonType:m(void 0,t=>ke.includes(t)),step:O(1),size:m("middle",t=>le.includes(t)),disabled:_(),max:O(),min:O(),maxLength:O(),autofocus:_(),name:m("f-input-number"),placeholder:m(),clear:_(),readonly:_(),onChange:z(),onBlur:z(),onFocus:z(),onInput:z()},uu={class:"f-input-number__wrapper"},du=F({name:"FInputNumber",__name:"input-number",props:Q(cu,{modelValue:{default:0,type:Number}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:r}=x(),i=V(()=>{const{step:a,min:s}=e;return!s&&!te(s)?!1:n.value-Math.abs(a){const{step:a,max:s}=e;return!s&&!te(s)?!1:n.value+Math.abs(a)>s}),d=a=>{const{disabled:s,readonly:o,step:u}=e;if(s||o)return;r({minus:()=>{n.value-=u},plus:()=>{n.value+=u}}[a]),r(e.onChange,n.value)};return(a,s)=>(f(),b("div",{role:"input",class:E(["f-input-number",{"f-input-number__button":a.model==="button"}])},[a.model==="button"?(f(),R(l(pe),{key:0,class:"f-input-number__minus",type:a.buttonType||"primary",size:a.size,disabled:a.disabled||i.value,"before-icon":l(Ue),"on-click":()=>d("minus")},null,8,["type","size","disabled","before-icon","on-click"])):w("",!0),y("div",uu,[B(l(Pe),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=o=>n.value=o),type:"number",max:a.max,min:a.min,disabled:a.disabled,readonly:a.readonly,autofocus:a.autofocus,name:a.name,size:a.size,clear:a.clear,placeholder:a.placeholder,"on-blur":a.onBlur,"on-focus":a.onFocus,"on-input":a.onInput,"on-change":a.onChange},{after:M(()=>[a.model==="switch"?(f(),b("div",{key:0,class:E(["f-input-number__switch",`f-input-number__switch-${a.size}`])},[B(l(pe),{disabled:a.disabled||c.value,size:a.size,type:a.buttonType||"default","before-icon":l(js),onclick:()=>d("plus")},null,8,["disabled","size","type","before-icon","onclick"]),B(l(pe),{disabled:a.disabled||i.value,size:a.size,type:a.buttonType||"default","before-icon":l(He),"on-click":()=>d("minus")},null,8,["disabled","size","type","before-icon","on-click"])],2)):w("",!0)]),_:1},8,["modelValue","max","min","disabled","readonly","autofocus","name","size","clear","placeholder","on-blur","on-focus","on-input","on-change"])]),a.model==="button"?(f(),R(l(pe),{key:1,class:"f-input-number__plus",type:a.buttonType||"primary",size:a.size,disabled:a.disabled||c.value,"before-icon":l(Ie),"on-click":()=>d("plus")},null,8,["type","size","disabled","before-icon","on-click"])):w("",!0)],2))}}),fu=P(du),pu={modelValue:S(),position:m("top",t=>["left","right","top","bottom"].includes(t)),type:m("line",t=>["line","card","segment"].includes(t)),justifyContent:m(void 0,t=>["flex-start","center","flex-end","space-between","space-around","space-evenly"].includes(t)),trigger:m("click",t=>["click","hover"].includes(t)),onSwitch:z()},on=Symbol("tabs-props-key"),bu={class:"f-tabs__head"},mu={key:0,class:"f-tabs__prefix"},hu={class:"f-tabs__navs"},_u={key:1,class:"f-tabs__suffix"},vu={class:"f-tabs__body"},gu="FTabsItem",yu=F({name:"FTabs",__name:"tabs",props:Q(pu,{modelValue:{default:null,type:[Number,String]}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{classes:r,styles:i}=H(e,"tabs"),c=N(0),d=new Map,a=hn(),s=C=>{const I=me(C)?C:[C],$=[];return I.forEach(A=>{me(A)?$.push(...s(A)):ut(A)&&me(A.children)?$.push(...s(A.children)):ut(A)&&A.component&&$.push(A)}),$},o=(C,I)=>C.subTree?s(C.subTree.children).filter(A=>Ae(A.type)&&A.type.name===I):[],u=xe(),p=C=>{d.set(C.uid,C);const $=o(u,gu).map(A=>A.component?A.component.uid:null).filter(Boolean);if(a.value=$.map(A=>d.get(A)).filter(Boolean),n.value){c.value=n.value;return}a.value&&a.value.length&&a.value[0].activeName&&(c.value=a.value[0].activeName)},g=V(()=>a.value&&a.value.map((C,I)=>(C.activeName=C.activeName||I,{name:C.activeName,label:C.label})));ce(on,{activeName:c,registerChild:p});const h=async C=>{let I=!0;e.onSwitch&&(I=await e.onSwitch(C)),!(ot(I)&&!I)&&(c.value=C,n.value=C)},k=r(["position","type"],"f-tabs"),v=i(["justifyContent"]),T=V(()=>e.trigger==="hover"?"mouseenter":"click");return(C,I)=>(f(),b("div",{role:"tab",class:E(l(k)),style:D(l(v))},[y("div",bu,[C.$slots.prefix?(f(),b("div",mu,[L(C.$slots,"prefix")])):w("",!0),y("div",hu,[(f(!0),b(q,null,W(g.value,($,A)=>(f(),b("div",_n({key:A,class:["f-tabs__nav-item",{"f-tabs__nav-active":$.name===c.value}]},{[vn(T.value)]:j=>h($.name)}),G($.label),17))),128))]),C.$slots.suffix?(f(),b("div",_u,[L(C.$slots,"suffix")])):w("",!0)]),y("div",vu,[L(C.$slots,"default")])],6))}}),ku=P(yu),$u={date:m(),disabled:_(),clear:_(),size:m("middle",t=>le.includes(t)),format:m("YYYY/MM/DD"),placeholder:m(),addZero:_()},Cu={class:"f-date-picker"},wu={class:"f-date-picker__content"},Lu={class:"f-date-picker__option"},Su=F({name:"FDatePicker",__name:"date-picker",props:Q($u,{date:{default:"",type:String}}),emits:["update:date"],setup(t){const e=t,n=J(t,"date"),r=new Date,i=N();let c;const d=(s,o,u)=>{if(!RegExp(/([Y]{4})|([M]{2})|([D]{2})/).test(e.format)){ze("f-date-picker","`format` is not a standard format, default format will be used"),c=()=>{n.value=`${s}/${e.addZero?oe(o):o}/${e.addZero?oe(u):u}`};return}const g={YYYY:s,MM:e.addZero?oe(o):o,DD:e.addZero?oe(u):u};let h=e.format;for(const k in g)h=h.replace(k,g[k].toString());c=()=>{n.value=h}},a=(s,o)=>{i.value.close(s),o&&Oe(c)&&c()};return(s,o)=>{const u=ge("f-button");return f(),b("div",Cu,[B(l(Ye),{ref_key:"triggerInstance",ref:i,trigger:"click",disabled:s.disabled},{content:M(()=>[y("div",wu,[B(l(Ht),{date:l(r),"onUpdate:date":o[1]||(o[1]=p=>$t(r)?r.value=p:null),"day-cell-height":42,"week-cell-height":42,"on-change":d},null,8,["date"]),y("div",Lu,[B(u,{size:"mini",onClick:o[2]||(o[2]=p=>a(p,!1))},{default:M(()=>[X("取消")]),_:1}),B(u,{type:"primary",size:"mini",onClick:o[3]||(o[3]=p=>a(p,!0))},{default:M(()=>[X(" 确定 ")]),_:1})])])]),default:M(()=>[B(l(Pe),{modelValue:n.value,"onUpdate:modelValue":o[0]||(o[0]=p=>n.value=p),autocomplete:"off",readonly:"",disabled:s.disabled,placeholder:s.placeholder||"请选择日期",clear:s.clear,size:s.size,"after-icon":l(al)},null,8,["modelValue","disabled","placeholder","clear","size","after-icon"])]),_:1},8,["disabled"])])}}}),Fu=P(Su),zu={time:m(),disabled:_(),clear:_(),placeholder:m(),size:m("middle",t=>le.includes(t))},Iu={class:"f-time-picker"},Pu={class:"f-time-picker__content"},Eu=["onClick"],Tu=["onClick"],Bu=["onClick"],Vu={class:"f-time-picker__option"},Au=F({name:"FTimePicker",__name:"time-picker",props:Q(zu,{time:{default:"",type:String}}),emits:["update:time"],setup(t){const e=J(t,"time"),n=new Date,r=ne({hour:oe(n.getHours()),minute:oe(n.getMinutes()),second:oe(n.getSeconds())}),i=N(),c=(g,h=!0)=>{if(h&&!_e(h)&&(e.value=`${r.hour}:${r.minute}:${r.second}`),h==="now"){const k=new Date;r.hour=oe(k.getHours()),r.minute=oe(k.getMinutes()),r.second=oe(k.getSeconds())}ot(h)&&i.value.close(g)},d=N(),a=N(),s=N(),o=(g,h)=>{g.scrollTo({top:h,behavior:"smooth"})},u=async()=>{if(await et(),d.value&&a.value&&s.value){const g=s.value.querySelector(".f-time-picker__second-item").offsetHeight;o(d.value,(Number(r.hour)===0?24:Number(r.hour)-2)*g),o(a.value,(Number(r.minute)-2)*g),o(s.value,(Number(r.second)-2)*g)}},p=(g,h)=>{r[h]=oe(g)};return ye(()=>r,u,{deep:!0}),(g,h)=>{const k=ge("f-button");return f(),b("div",Iu,[B(l(Ye),{ref_key:"triggerInstance",ref:i,trigger:"click",disabled:g.disabled,"on-open":u},{content:M(()=>[y("div",Pu,[y("div",{ref_key:"hoverRef",ref:d,class:"f-time-picker__hour"},[(f(),b(q,null,W(24,v=>y("div",{key:v,class:E(["f-time-picker__hour-item",{"f-time-picker__hour-active":l(oe)(v===24?0:v).toString()===r.hour}]),onClick:be(T=>p(v===24?0:v,"hour"),["stop"])},G(l(oe)(v===24?0:v)),11,Eu)),64))],512),y("div",{ref_key:"minuteRef",ref:a,class:"f-time-picker__minute"},[(f(),b(q,null,W(59,v=>y("div",{key:v,class:E(["f-time-picker__minute-item",{"f-time-picker__minute-active":l(oe)(v).toString()===r.minute}]),onClick:be(T=>p(v,"minute"),["stop"])},G(l(oe)(v)),11,Tu)),64))],512),y("div",{ref_key:"secondRef",ref:s,class:"f-time-picker__second"},[(f(),b(q,null,W(59,v=>y("div",{key:v,class:E(["f-time-picker__second-item",{"f-time-picker__second-active":l(oe)(v).toString()===r.second}]),onClick:be(T=>p(v,"second"),["stop"])},G(l(oe)(v)),11,Bu)),64))],512)]),y("div",Vu,[B(k,{size:"mini",onClick:h[1]||(h[1]=v=>c(v,"now"))},{default:M(()=>[X("当前")]),_:1}),B(k,{size:"mini",onClick:h[2]||(h[2]=v=>c(v,!1))},{default:M(()=>[X("取消")]),_:1}),B(k,{type:"primary",size:"mini",onClick:h[3]||(h[3]=v=>c(v,!0))},{default:M(()=>[X(" 确定 ")]),_:1})])]),default:M(()=>[B(l(Pe),{modelValue:e.value,"onUpdate:modelValue":h[0]||(h[0]=v=>e.value=v),autocomplete:"off",type:"text",placeholder:g.placeholder||"请选择时间",disabled:g.disabled,size:g.size,clear:g.clear,"after-icon":l(Ns)},null,8,["modelValue","placeholder","disabled","size","clear","after-icon"])]),_:1},8,["disabled"])])}}}),Mu=P(Au),Du={mode:m("horizontal",t=>["horizontal","vertical","inline"].includes(t)),activeName:S(),onMenuItemClick:z(),onSubmenuClick:z()},ct=Symbol("menu-provide-key"),Nu={key:0,class:"f-menu__before"},Ru={class:"f-menu__content"},Ou={key:1,class:"f-menu__after"},Hu=F({name:"FMenu",__name:"menu",props:Du,setup(t){const e=t,{classes:n}=H(e,"menu"),r=N(e.activeName),i=V(()=>r.value),c=a=>{r.value=a};ce(ct,{mode:Be(e,"mode"),defaultActive:i,setActiveName:c,onMenuItemClick:e.onMenuItemClick,onSubmenuClick:e.onSubmenuClick});const d=n(["mode"],"f-menu");return(a,s)=>(f(),b("div",{role:"menu",class:E(l(d))},[a.$slots.before?(f(),b("div",Nu,[L(a.$slots,"before")])):w("",!0),y("div",Ru,[L(a.$slots,"default")]),a.$slots.after?(f(),b("div",Ou,[L(a.$slots,"after")])):w("",!0)],2))}}),Gu=P(Hu),xu={icon:K(),fontSize:S(),color:m(),to:m(),name:S(),disabled:_()},ju={class:"f-menu-item__text"},qu=F({name:"FMenuItem",__name:"menu-item",props:xu,setup(t){const e=t,{run:n}=x(),{styles:r}=H(e,"menu-item"),i=se(ct,null),c=xe(),d=o=>{if(e.disabled)return;i&&(n(i.onMenuItemClick,o,e.name),n(i.setActiveName,e.name));const u=c.appContext.config.globalProperties.$router;if(u&&e.to)try{u.push(e.to)}catch(p){ze("f-menu-item",p)}},a=V(()=>!i||!i.defaultActive?!1:e.name===i.defaultActive.value),s=r(["fontSize","color"]);return(o,u)=>(f(),b("div",{role:"menuitem",class:E(["f-menu-item",{"f-menu-item__active":a.value,"f-menu-item__disabled":o.disabled}]),style:D(l(s)),onClick:d},[o.icon?(f(),R(l(U),{key:0,icon:o.icon},null,8,["icon"])):w("",!0),y("span",ju,[L(o.$slots,"default")])],6))}}),Uu=P(qu),Yu={disabled:_(),opened:_()},Ku={class:"f-submenu__title"},Zu={class:"f-submenu__title-text"},Wu={key:1,role:"none",class:"f-submenu__inline"},Xu={role:"none",class:"f-submenu__title-text"},Ju={role:"none",class:"f-submenu__content"},Qu=F({name:"FSubmenu",__name:"submenu",props:Yu,setup(t){const e=t,{run:n}=x(),r=se(ct,null),i=N(e.opened),c=d=>{e.disabled||(i.value=!i.value,r&&n(r.onSubmenuClick,d,i.value))};return(d,a)=>{const s=ge("f-collapse-animation");return f(),b("div",{role:"menuitem",class:E(["f-submenu",{[`f-submenu__${l(r)&&l(r).mode.value}`]:l(r)&&l(r).mode.value,"f-submenu__disabled":d.disabled}])},[l(r)&&l(r).mode.value!=="inline"?(f(),R(l(it),{key:0,trigger:"click",spacing:5},{content:M(()=>[L(d.$slots,"default")]),default:M(()=>[y("div",Ku,[y("div",Zu,[d.$slots.title?L(d.$slots,"title",{key:0}):w("",!0)]),B(l(U),{icon:l(He)},null,8,["icon"])])]),_:3})):(f(),b("div",Wu,[y("div",{role:"none",class:"f-submenu__title",onClick:c},[y("div",Xu,[L(d.$slots,"title")]),B(l(U),{class:E(["f-submenu__arrow-icon",{"f-submenu__arrow-icon-animation":i.value}]),icon:l(He)},null,8,["class","icon"])]),y("div",Ju,[B(s,{opened:i.value},{default:M(()=>[L(d.$slots,"default")]),_:3},8,["opened"])])]))],2)}}}),ed=P(Qu),td={title:m()},nd={class:"f-menu-item-group"},od={class:"f-menu-item-group__title"},sd={class:"f-menu-item-group__list"},ld=F({name:"FMenuItemGroup",__name:"menu-item-group",props:td,setup(t){return(e,n)=>(f(),b("div",nd,[y("div",od,G(e.title),1),y("div",sd,[L(e.$slots,"default")])]))}}),ad=P(ld),rd={modelValue:O(0),step:O(1),min:O(0),max:O(100),disabled:_(),background:m(),activeColor:m(),width:S()},id={class:"f-slider__road"},cd=F({name:"FSlider",__name:"slider",props:Q(rd,{modelValue:{default:0,type:Number}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{styles:r,classes:i}=H(e,"slider"),c=N(),d=N(),{offset:a,offsetLeft:s,setPosition:o}=ul(c,e,n);ae(()=>{d.value&&(to(d.value,s,g=>{if(e.disabled)return;const h=g*100/c.value.clientWidth;o(h)}),o((e.modelValue-e.min)*100/(e.max-e.min)))});const u=i(["disabled"],"f-slider"),p=r(["background","activeColor","width"]);return(g,h)=>(f(),b("div",{ref_key:"sliderEl",ref:c,role:"slider",class:E(l(u)),style:D(l(p))},[y("div",id,[y("div",{class:"f-slider__selected",style:D(`width: ${l(a)}%`)},null,4),y("div",{ref_key:"circleEl",ref:d,class:"f-slider__icon",style:D(`left: ${l(a)}%`)},null,4)])],6))}}),ud=P(cd),dd=F({name:"FFightingGlobal",__name:"fighting-global",props:xn,setup(t){const e=t,{interceptors:n}=Nn(e),r=V(()=>n("type",()=>ke.includes(e.type),"default")),i=V(()=>n("size",()=>le.includes(e.size),"middle")),c=V(()=>n("lang",()=>["en-US","zh-CN"].includes(e.lang),"zh-CN"));return ce(St,ne({type:r.value,size:i.value,lang:c.value})),(d,a)=>L(d.$slots,"default")}}),fd=P(dd),pd={model:K(),labelWidth:S(),labelPosition:m("left",t=>["left","top"].includes(t)),onSubmit:z()},sn=Symbol("form-provide-key"),bd=F({name:"FForm",__name:"form",props:pd,setup(t,{expose:e}){const n=t,{run:r}=x(),{childrenCheckResult:i,validate:c}=vl(n),d=a=>{a.preventDefault();const s=n.model?c():!0;r(n.onSubmit,s,n.model,i,a)};return ce(sn,ne({...ue(n),childrenCheckResult:i})),e({submit:d,validate:c}),(a,s)=>a.$slots.default?(f(),b("form",{key:0,role:"form",class:"f-form",onsubmit:d},[L(a.$slots,"default")])):w("",!0)}}),md=P(bd),hd={label:m(),name:m(),rules:{type:[Array,Object],default:()=>null}},_d={key:0,class:"f-form-item__label"},vd={class:"f-form-item__content"},gd={key:0,class:"f-form-item__error"},yd=F({name:"FFormItem",__name:"form-item",props:hd,setup(t){const e=t,n=se(sn,null),r=V(()=>{const d=n&&n.childrenCheckResult[e.name];return _e(d)?d:!1}),i=V(()=>({"--form-item-label-width":n&&Me(n.labelWidth)})),c=V(()=>["f-form-item",{[`f-form-item__label-${n==null?void 0:n.labelPosition}`]:n==null?void 0:n.labelPosition}]);return(d,a)=>(f(),b("div",{class:E(c.value),style:D(i.value)},[d.label?(f(),b("label",_d,G(d.label),1)):w("",!0),y("div",vd,[L(d.$slots,"default"),B(re,{name:"f-form-item__err-transition"},{default:M(()=>[r.value?(f(),b("div",gd,G(r.value),1)):w("",!0)]),_:1})])],6))}}),kd=P(yd),$d={role:m(),padding:S(),width:S(),height:S(),background:m(),display:m()},Cd=["role"],wd=F({name:"FBox",__name:"box",props:$d,setup(t){const e=t,{styles:n}=H(e,"box"),r=n(["padding","width","height","background","display"]);return(i,c)=>(f(),b("div",{class:"f-box",role:i.role||"none",style:D(l(r))},[L(i.$slots,"default")],12,Cd))}}),Ld=P(wd),Sd={distance:S(0),onScrollEnd:z()},Fd={class:"f-infinite-scrolling"},zd=F({name:"FInfiniteScrolling",__name:"infinite-scrolling",props:Sd,setup(t){const e=t,{run:n}=x(),r=N(),i=()=>new IntersectionObserver(c=>{c[0].isIntersecting&&n(e.onScrollEnd)},{rootMargin:Me(e.distance)});return ae(()=>{r.value&&i().observe(r.value)}),(c,d)=>(f(),b("div",Fd,[L(c.$slots,"default"),y("div",{ref_key:"loadingRef",ref:r,class:"f-infinite-scrolling__loading"},"加载中...",512)]))}}),Id=P(zd),Pd={from:O(0),to:O(),approximateTime:O(2e3),localeString:_(),styles:K(),automatic:_(!0),onAnimationEnd:z()},Ed=F({name:"FNumberAnimate",__name:"number-animate",props:Pd,setup(t,{expose:e}){const n=t,{run:r}=x(),i=N(n.from),c=N(!1),d=u=>{c.value&&(i.value=n.from,c.value=!1);const p=Number(n.to);if(!te(Number(i.value))||!te(p)){ze("f-number-animate","Expected value is not a number");return}if(i.value+=p/n.approximateTime*20,i.value>=p){i.value=p,r(n.onAnimationEnd,u);return}window&&window.requestAnimationFrame(d)},a=V(()=>n.localeString?i.value.toLocaleString():i.value),s=(u=!0)=>{c.value=u,window&&window.requestAnimationFrame(d)};return ae(()=>{n.automatic&&s(!1)}),e({run:()=>{s()}}),(u,p)=>(f(),b("div",{class:"f-number-animate",style:D(u.styles)},G(a.value),5))}}),Td=P(Ed),Bd={time:S(0),interval:S(1e3),format:m("HH:mm:ss"),autoStart:_(!0),millisecond:_(!1),onFinish:z()},Vd={class:"f-count-down"},Ad={key:0,class:"f-count-down__text"},Md=F({name:"FCountDown",__name:"count-down",props:Bd,setup(t,{expose:e}){const n=t,{run:r}=x(),{start:i,pause:c,reset:d,current:a}=hl({time:+n.time,millisecond:n.millisecond,interval:+n.interval,onFinish:()=>{r(n.onFinish)}}),s=(u,p)=>{const{days:g}=p;let{hours:h,minutes:k,seconds:v,milliseconds:T}=p;const C=(I,$=2)=>(I+"").padStart($,"0");if(u.includes("DD")?u=u.replace("DD",C(g)):h+=g*24,u.includes("HH")?u=u.replace("HH",C(h)):k+=h*60,u.includes("mm")?u=u.replace("mm",C(k)):v+=k*60,u.includes("ss")?u=u.replace("ss",C(v)):T+=v*1e3,u.includes("S")){const I=C(T,3);u.includes("SSS")?u=u.replace("SSS",I):u.includes("SS")?u=u.replace("SS",I.slice(0,2)):u=u.replace("S",I.charAt(0))}return u},o=V(()=>s(n.format,a.value));return ye(()=>n.time,()=>{d(+n.time),n.autoStart&&i()},{immediate:!0}),e({current:a,start:i,pause:c,reset:d}),(u,p)=>(f(),b("div",Vd,[u.$slots.default?w("",!0):(f(),b("span",Ad,G(o.value),1)),L(u.$slots,"default",kt(gn(l(a))))]))}}),Dd=P(Md),Nd=F({name:"FAvatarGroup",__name:"avatar-group",props:El,setup(t){const e=t,{styles:n}=H(e,"avatar-group");ce(Rt,e);const r=N();ae(()=>{if(r.value){const d=r.value.querySelectorAll(".f-avatar");d&&d.length&&d.forEach((a,s)=>{a.style.zIndex=(d.length-s).toString()})}});const c=n(["positionSize"]);return(d,a)=>(f(),b("div",{ref_key:"avatarGroupRef",ref:r,role:"group",class:"f-avatar-group",style:D(l(c))},[L(d.$slots,"default")],4))}}),Rd=P(Nd),Od={name:S(),label:m(),lazy:_()},Hd=F({name:"FTabsItem",__name:"tabs-item",props:Od,setup(t){const e=t,n=xe(),r=N(e.name),i=se(on,null),c=ne({activeName:r,uid:n.uid,label:e.label}),d=V(()=>i?i.activeName.value===r.value?!0:!e.lazy:!1),a=V(()=>i?i.activeName.value===c.activeName:!1);return ae(()=>{i&&i.registerChild(c)}),(s,o)=>d.value?ie((f(),b("div",{key:0,class:E(["f-tabs-item",{"f-tabs-item__active":a.value}]),role:"tabpanel"},[L(s.$slots,"default")],2)),[[he,a.value]]):w("",!0)}}),Gd=P(Hd),xd=Object.freeze(Object.defineProperty({__proto__:null,FAlert:Sl,FAside:Il,FAvatar:Ml,FAvatarGroup:Rd,FBackTop:Ol,FBadge:jl,FBox:Ld,FBreadcrumb:Kl,FBreadcrumbItem:Jl,FButton:pe,FButtonGroup:ea,FCalendar:Ht,FCard:ba,FCheckbox:xt,FCheckboxGroup:jt,FCloseBtn:we,FCollapseAnimation:Wt,FConfirmBox:jn,FCountDown:Dd,FDatePicker:Fu,FDialog:Ta,FDivider:Ma,FDrawer:qa,FDropdown:it,FDropdownItem:su,FEmpty:nr,FExpandCard:rr,FFightingGlobal:fd,FFooter:ur,FForm:md,FFormItem:kd,FHeader:pr,FImage:qt,FImagePreview:wr,FInfiniteScrolling:Id,FInput:Pe,FInputNumber:fu,FLayout:Fr,FLink:Er,FList:Mr,FListItem:Rr,FMain:Gr,FMenu:Gu,FMenuItem:Uu,FMenuItemGroup:ad,FMessage:Ft,FNotification:zt,FNumberAnimate:Td,FOption:nn,FPageHeader:Kr,FPagination:Dc,FProgress:ri,FRadio:bi,FRadioGroup:hi,FRate:wi,FRipple:Fi,FSelect:tn,FSkeleton:Pi,FSlider:ud,FSpace:qn,FStickyCard:Xt,FSubmenu:ed,FSvgIcon:U,FSwap:Qt,FSwitch:Hi,FTable:tu,FTabs:ku,FTabsItem:Gd,FTag:ji,FText:Zt,FTextarea:iu,FTimePicker:Mu,FToolbar:Ut,FToolbarItem:Se,FTooltip:Ki,FTree:sc,FTrigger:Ye,FUpLoad:kc,FWatermark:rc},Symbol.toStringTag,{value:"Module"})),jd="0.63.1",qd=P({directive:Rn(cl(),"loading")}),Ud=t=>(Un(xd).forEach(([e,n])=>{t.component(e,n)}),t.config.globalProperties.FMessage=Ft,t.config.globalProperties.FNotification=zt,t.directive("loading",qd.directive),t),Yd={version:jd,install:Ud};const Kd=[{title:"安装",rule:"安装",url:"docs/install"},{title:"快速上手",rule:"快速上手完整引入自动导入按需引入",url:"docs/import"},{title:"介绍",rule:"介绍",url:"docs/introduce"},{title:"贡献指南",rule:"贡献指南",url:"docs/contributing"},{title:"加入我们",rule:"加入我们",url:"docs/join"},{title:"更新日志",rule:"更新日志changelogCONTRIBUTING",url:"docs/changelog"},{title:"里程碑",rule:"里程碑",url:"docs/milepost"},{title:"Button 按钮",rule:"buttonButton按钮第一个组件",url:"components/button"},{title:"Svg Icon 图标",rule:"svg-iconSvgIcon图标icon",url:"components/svg-icon"},{title:"Link 链接",rule:"linkLink链接超链接",url:"components/link"},{title:"Text 文字",rule:"textText文字文本段落",url:"components/text"},{title:"Layout 布局",rule:"layoutLayout布局容器",url:"components/layout"},{title:"Space 间距",rule:"spaceSpace间距",url:"components/space"},{title:"Color 色彩",rule:"colorColor色彩",url:"components/color"},{title:"Badge 角标",rule:"badgeBadge角标",url:"components/badge"},{title:"Image 图片",rule:"imageImage图片",url:"components/image"},{title:"Image Preview 图片预览",rule:"image-previewImagePreview图片预览",url:"components/image-preview"},{title:"Card 卡片",rule:"cardCard卡片",url:"components/card"},{title:"Tag 标签",rule:"tagTag标签",url:"components/tag"},{title:"Switch 开关",rule:"switchSwitch开关游戏机",url:"components/switch"},{title:"Avatar 头像",rule:"avatarAvatar头像",url:"components/avatar"},{title:"Progress 进度条",rule:"progressProgress进度条",url:"components/progress"},{title:"Empty 空状态",rule:"emptyEmpty空状态",url:"components/empty"},{title:"List 列表",rule:"listList列表",url:"components/list"},{title:"Radio 单选框",rule:"radioRadio单选框",url:"components/radio"},{title:"Checkbox 复选框",rule:"checkboxCheckbox复选框多选框",url:"components/checkbox"},{title:"ExpandCard 折叠动效",rule:"expand-cardExpandCard折叠动效",url:"components/expand-card"},{title:"Tree 树",rule:"treeTree树形控件",url:"components/tree"},{title:"StickyCard 粘性卡片",rule:"sticky-cardStickyCard粘性卡片",url:"components/sticky-card"},{title:"Rate 评分",rule:"rateRate评分星星",url:"components/rate"},{title:"Input 输入框",rule:"inputInput输入框文本框",url:"components/input"},{title:"Up Load 文件上传",rule:"up-loadUpLoad文件上传",url:"components/up-load"},{title:"Table 表格",rule:"tableTable表格",url:"components/table"},{title:"Breadcrumb 面包屑",rule:"breadcrumbBreadcrumb面包屑",url:"components/breadcrumb"},{title:"Page Header 页头",rule:"page-headerPageHeader页头",url:"components/page-header"},{title:"Close Btn 关闭按钮",rule:"close-btnCloseBtn关闭按钮",url:"components/close-btn"},{title:"Dropdown 下拉菜单",rule:"dropdownDropdown下拉菜单",url:"components/dropdown"},{title:"Alert 警告",rule:"alertAlert警告提示信息",url:"components/alert"},{title:"Loading 加载",rule:"loadingLoading加载转圈圈",url:"components/loading"},{title:"Message 消息提示",rule:"messageMessage消息提示",url:"components/message"},{title:"Notification 通知",rule:"notificationNotification通知",url:"components/notification"},{title:"Skeleton 骨架屏",rule:"skeletonSkeleton骨架屏",url:"components/skeleton"},{title:"BackTop 返回顶部",rule:"back-topBackTop返回顶部",url:"components/back-top"},{title:"Dialog 对话框",rule:"dialogDialog对话框",url:"components/dialog"},{title:"Drawer 抽屉",rule:"drawerDrawer抽屉",url:"components/drawer"},{title:"Tooltip 消息提示",rule:"tooltipTooltip消息提示",url:"components/tooltip"},{title:"Swap 切换",rule:"swapSwap 切换",url:"components/swap"},{title:"Toolbar 工具栏",rule:"toolbarToolbar工具栏",url:"components/toolbar"},{title:"Divider 分隔线",rule:"dividerDivider分隔线分割线",url:"components/divider"},{title:"Watermark 水印",rule:"watermarkWatermark水印",url:"components/watermark"},{title:"Ripple 涟漪",rule:"rippleRipple涟漪",url:"components/ripple"},{title:"Calendar 日历",rule:"calendarCalendar日历",url:"components/calendar"},{title:"Select 选择器",rule:"selectSelect选择器",url:"components/select"},{title:"Tabs 标签页",rule:"tabsTabs标签页",url:"components/tabs"},{title:"Textarea 文本域",rule:"textareaTextarea文本域",url:"components/textarea"},{title:"Pagination 分页器",rule:"paginationPagination分页器",url:"components/pagination"},{title:"Time Picker 时间选择器",rule:"time-pickerTimePicker时间选择器",url:"components/time-picker"},{title:"Date Picker 日期选择器",rule:"date-pickerDatePicker日期选择器",url:"components/date-picker"},{title:"Input Number 数字输入框",rule:"input-numberInputNumber数字输入框",url:"components/input-number"},{title:"Trigger 触发器",rule:"triggerTrigger触发器",url:"components/trigger"},{title:"Menu 导航菜单",rule:"menuMenu导航菜单导航栏菜单栏",url:"components/menu"},{title:"CollapseAnimation 折叠动画",rule:"collapse-animationCollapseAnimation折叠动画",url:"components/collapse-animation"},{title:"Slider 滑动输入条",rule:"sliderSlider滑动输入条",url:"components/slider"},{title:"Fighting Global 全局配置",rule:"fighting-globalFightingGlobal全局配置",url:"components/fighting-global"},{title:"Interface 接口类型",rule:"interfaceInterface接口类型type",url:"components/interface"},{title:"Form 表单",rule:"formForm表单",url:"components/form"},{title:"Box 盒子",rule:"boxBox盒子div",url:"components/box"},{title:"Infinite Scrolling 无限滚动",rule:"infinite-scrollingInfiniteScrolling无限滚动",url:"components/infinite-scrolling"},{title:"Number Animate 数字动画",rule:"number-animateNumberAnimate数字动画",url:"components/number-animate"},{title:"Count Down 倒计时",rule:"count-downCountDown倒计时",url:"components/count-down"},{title:"Avatar Group 头像组",rule:"avatar-groupAvatarGroup头像组",url:"components/avatar-group"},{title:"Confirm Box 确认框",rule:"confirm-boxConfirmBox确认框",url:"components/confirm-box"}],Zd={class:"vp-search"},Wd=["onClick"],Xd=["href"],Jd=F({name:"VpSearch",__name:"vp-search",setup(t){const{isDark:e}=Ct(),n=N(""),r=N(!1),i=N(),c=()=>{i.value=Kd.filter(a=>a.rule.includes(n.value)),i.value&&i.value.length&&(r.value=!0,setTimeout(()=>{const a=document.querySelectorAll(".vp-search__link");a.length===1&&a[0].click()},200))},d=()=>{r.value=!1,n.value=""};return V(()=>e.value?"var(--vp-c-text-dark-1)":"var(--vp-c-text-light-1)"),(a,s)=>{const o=ge("f-input");return f(),b("div",Zd,[B(o,{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=u=>n.value=u),type:"text",autocomplete:"off",placeholder:"搜索组件","on-enter":c,class:E({dark:l(e)})},null,8,["modelValue","class"]),r.value&&i.value&&i.value.length?(f(),b("div",{key:0,class:E(["vp-search__result",{dark:l(e)}]),onClick:be(d,["stop"])},[(f(!0),b(q,null,W(i.value,(u,p)=>(f(),b("a",{class:E(["vp-search__link",{dark:l(e)}]),key:p,href:`/${u.url}.html`},G(u.title),11,Xd))),128))],10,Wd)):w("",!0)])}}});const Qd=ee(Jd,[["__scopeId","data-v-ff2bbb21"]]),ef={...dt,Layout(){return Ve(dt.Layout,null,{"nav-bar-content-before":()=>Ve(Qd)})},enhanceApp({app:t}){t.use(Yd),t.component("vp-demo",Xt)}};function ln(t){if(t.extends){const e=ln(t.extends);return{...e,...t,async enhanceApp(n){e.enhanceApp&&await e.enhanceApp(n),t.enhanceApp&&await t.enhanceApp(n)}}}return t}const Fe=ln(ef),tf=F({name:"VitePressApp",setup(){const{site:t}=Ct();return ae(()=>{Qe(()=>{document.documentElement.lang=t.value.lang,document.documentElement.dir=t.value.dir})}),En(),Tn(),Bn(),Fe.setup&&Fe.setup(),()=>Ve(Fe.Layout)}});async function nf(){const t=sf(),e=of();e.provide(kn,t);const n=$n(t.route);return e.provide(Cn,n),e.component("Content",wn),e.component("ClientOnly",Ln),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get(){return n.frontmatter.value}},$params:{get(){return n.page.value.params}}}),Fe.enhanceApp&&await Fe.enhanceApp({app:e,router:t,siteData:Sn}),{app:e,router:t,data:n}}function of(){return Fn(tf)}function sf(){let t=Ze,e;return zn(n=>{let r=In(n);return t&&(e=r),(t||e===r)&&(r=r.replace(/\.js$/,".lean.js")),Ze&&(t=!1),Pn(()=>import(r),[])},Fe.NotFound)}Ze&&nf().then(({app:t,router:e,data:n})=>{e.go().then(()=>{yn(e.route,n.site),t.mount("#app")})});export{nf as createApp};
diff --git a/assets/chunks/theme.faa184cf.js b/assets/chunks/theme.72c71c50.js
similarity index 94%
rename from assets/chunks/theme.faa184cf.js
rename to assets/chunks/theme.72c71c50.js
index 80f4432c24..6610ac5c1a 100644
--- a/assets/chunks/theme.faa184cf.js
+++ b/assets/chunks/theme.72c71c50.js
@@ -1,7 +1,7 @@
-import{d as g,o as a,c as l,r as c,n as B,a as N,t as V,_ as m,u as Ee,b as i,g as et,e as tt,f as L,w as W,h as J,i as k,j as nt,k as O,l as st,P as ot,m as pe,p as Y,q as te,s as he,v as u,F as C,x as y,y as v,z as f,T as fe,A as j,B as se,C as h,D as ze,E as U,G as De,H as Fe,I as at,J as A,K as E,L as z,M as rt,N as xe,O as Oe,Q as me,R as oe,S as it,U as Z,V as ge,W as lt,X as ct,Y as ut,Z as dt,$ as _t}from"./framework.59a1e8ef.js";const vt=g({__name:"VPBadge",props:{text:{},type:{}},setup(n){return(e,t)=>(a(),l("span",{class:B(["VPBadge",e.type??"tip"])},[c(e.$slots,"default",{},()=>[N(V(e.text),1)],!0)],2))}});const pt=m(vt,[["__scopeId","data-v-56a4391b"]]),S=Ee;function Ge(n){return et()?(tt(n),!0):!1}function ye(n){return typeof n=="function"?n():i(n)}const ht=typeof window<"u"&&typeof document<"u",ft=Object.prototype.toString,mt=n=>ft.call(n)==="[object Object]",gt=()=>{};function yt(n){var e;const t=ye(n);return(e=t==null?void 0:t.$el)!=null?e:t}const be=ht?window:void 0;function bt(...n){let e,t,o,s;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,o,s]=n,e=be):[e,t,o,s]=n,!e)return gt;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],d=()=>{r.forEach(M=>M()),r.length=0},p=(M,I,T,$)=>(M.addEventListener(I,T,$),()=>M.removeEventListener(I,T,$)),_=W(()=>[yt(e),ye(s)],([M,I])=>{if(d(),!M)return;const T=mt(I)?{...I}:I;r.push(...t.flatMap($=>o.map(P=>p(M,$,P,T))))},{immediate:!0,flush:"post"}),b=()=>{_(),d()};return Ge(b),b}function $t(){const n=L(!1);return nt()&&O(()=>{n.value=!0}),n}function kt(n){const e=$t();return k(()=>(e.value,!!n()))}function de(n,e={}){const{window:t=be}=e,o=kt(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=L(!1),d=b=>{r.value=b.matches},p=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",d):s.removeListener(d))},_=J(()=>{o.value&&(p(),s=t.matchMedia(ye(n)),"addEventListener"in s?s.addEventListener("change",d):s.addListener(d),r.value=s.matches)});return Ge(()=>{_(),p(),s=void 0}),r}function Re({window:n=be}={}){if(!n)return{x:L(0),y:L(0)};const e=L(n.scrollX),t=L(n.scrollY);return bt(n,"scroll",()=>{e.value=n.scrollX,t.value=n.scrollY},{capture:!1,passive:!0}),{x:e,y:t}}function Pt(n,e){let t,o=!1;return()=>{t&&clearTimeout(t),o?t=setTimeout(n,e):(n(),o=!0,setTimeout(()=>{o=!1},e))}}function _e(n){return/^\//.test(n)?n:`/${n}`}function ee(n){if(st(n))return n.replace(ot,"");const{site:e}=S(),{pathname:t,search:o,hash:s}=new URL(n,"http://example.com"),r=t.endsWith("/")||t.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${o}${s}`);return pe(r)}function je(n,e){if(Array.isArray(n))return n;if(n==null)return[];e=_e(e);const t=Object.keys(n).sort((o,s)=>s.split("/").length-o.split("/").length).find(o=>e.startsWith(_e(o)));return t?n[t]:[]}function Vt(n){const e=[];let t=0;for(const o in n){const s=n[o];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function wt(n){const e=[];function t(o){for(const s of o)s.text&&s.link&&e.push({text:s.text,link:s.link}),s.items&&t(s.items)}return t(n),e}function ve(n,e){return Array.isArray(e)?e.some(t=>ve(n,t)):Y(n,e.link)?!0:e.items?ve(n,e.items):!1}function D(){const n=te(),{theme:e,frontmatter:t}=S(),o=de("(min-width: 960px)"),s=L(!1),r=k(()=>{const P=e.value.sidebar,x=n.data.relativePath;return P?je(P,x):[]}),d=k(()=>t.value.sidebar!==!1&&r.value.length>0&&t.value.layout!=="home"),p=k(()=>_?t.value.aside==null?e.value.aside==="left":t.value.aside==="left":!1),_=k(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:e.value.aside!==!1),b=k(()=>d.value&&o.value),M=k(()=>d.value?Vt(r.value):[]);function I(){s.value=!0}function T(){s.value=!1}function $(){s.value?T():I()}return{isOpen:s,sidebar:r,sidebarGroups:M,hasSidebar:d,hasAside:_,leftAside:p,isSidebarEnabled:b,open:I,close:T,toggle:$}}function St(n,e){let t;J(()=>{t=n.value?document.activeElement:void 0}),O(()=>{window.addEventListener("keyup",o)}),he(()=>{window.removeEventListener("keyup",o)});function o(s){s.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function Lt(n){const{page:e}=S(),t=L(!1),o=k(()=>n.value.collapsed!=null),s=k(()=>!!n.value.link),r=k(()=>Y(e.value.relativePath,n.value.link)),d=k(()=>r.value?!0:n.value.items?ve(e.value.relativePath,n.value.items):!1),p=k(()=>!!(n.value.items&&n.value.items.length));J(()=>{t.value=!!(o.value&&n.value.collapsed)}),J(()=>{(r.value||d.value)&&(t.value=!1)});function _(){o.value&&(t.value=!t.value)}return{collapsed:t,collapsible:o,isLink:s,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:_}}const Mt=g({__name:"VPSkipLink",setup(n){const e=te(),t=L();W(()=>e.path,()=>t.value.focus());function o({target:s}){const r=document.querySelector(decodeURIComponent(s.hash));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(s,r)=>(a(),l(C,null,[u("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o}," Skip to content ")],64))}});const Ct=m(Mt,[["__scopeId","data-v-1de32388"]]),Bt={key:0,class:"VPBackdrop"},It=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),y(fe,{name:"fade"},{default:v(()=>[e.show?(a(),l("div",Bt)):f("",!0)]),_:1}))}});const Tt=m(It,[["__scopeId","data-v-e3d726b8"]]);function xt(){const n=L(!1);function e(){n.value=!0,window.addEventListener("resize",s)}function t(){n.value=!1,window.removeEventListener("resize",s)}function o(){n.value?t():e()}function s(){window.outerWidth>=768&&t()}const r=te();return W(()=>r.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:o}}function ne({removeCurrent:n=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:o,page:s,theme:r}=S(),d=k(()=>{var _,b;return{label:(_=t.value.locales[o.value])==null?void 0:_.label,link:((b=t.value.locales[o.value])==null?void 0:b.link)||(o.value==="root"?"/":`/${o.value}/`)}});return{localeLinks:k(()=>Object.entries(t.value.locales).flatMap(([_,b])=>n&&d.value.label===b.label?[]:{text:b.label,link:Nt(b.link||(_==="root"?"/":`/${_}/`),r.value.i18nRouting!==!1&&e,s.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function Nt(n,e,t,o){return e?n.replace(/\/$/,"")+_e(t.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,o?".html":"")):n}const At=["src","alt"],Ht={inheritAttrs:!1},Et=g({...Ht,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const o=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",se({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,At)):(a(),l(C,{key:1},[h(o,se({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),h(o,se({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const $e=m(Et,[["__scopeId","data-v-e83008a5"]]),zt=["href"],Dt=g({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=S(),{hasSidebar:o}=D(),{currentLang:s}=ne();return(r,d)=>(a(),l("div",{class:B(["VPNavBarTitle",{"has-sidebar":i(o)}])},[u("a",{class:"title",href:i(ee)(i(s).link)},[c(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),y($e,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[N(V(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[N(V(i(e).title),1)],64)):f("",!0),c(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,zt)],2))}});const Ft=m(Dt,[["__scopeId","data-v-e835af23"]]);const Ot={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Gt={class:"DocSearch-Button-Container"},Rt=u("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[u("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),jt={class:"DocSearch-Button-Placeholder"},Ut=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ne=g({__name:"VPNavBarSearchButton",props:{placeholder:{}},setup(n){return(e,t)=>(a(),l("button",Ot,[u("span",Gt,[Rt,u("span",jt,V(e.placeholder),1)]),Ut]))}});const qt={id:"local-search"},Wt={key:1,id:"docsearch"},Yt=g({__name:"VPNavBarSearch",setup(n){const e=()=>null,t=()=>null,{theme:o,localeIndex:s}=S(),r=L(!1),d=L(!1),p=k(()=>{var P,x,w,H,K,F,Te;const $=((P=o.value.search)==null?void 0:P.options)??o.value.algolia;return((K=(H=(w=(x=$==null?void 0:$.locales)==null?void 0:x[s.value])==null?void 0:w.translations)==null?void 0:H.button)==null?void 0:K.buttonText)||((Te=(F=$==null?void 0:$.translations)==null?void 0:F.button)==null?void 0:Te.buttonText)||"Search"});O(()=>{});function _(){r.value||(r.value=!0,setTimeout(b,16))}function b(){const $=new Event("keydown");$.key="k",$.metaKey=!0,window.dispatchEvent($),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||b()},16)}const M=L(!1),I=L("'Meta'");O(()=>{I.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'⌘'":"'Ctrl'"});const T="";return($,P)=>{var x;return a(),l("div",{class:"VPNavBarSearch",style:ze({"--vp-meta-key":I.value})},[i(T)==="local"?(a(),l(C,{key:0},[M.value?(a(),y(i(e),{key:0,placeholder:p.value,onClose:P[0]||(P[0]=w=>M.value=!1)},null,8,["placeholder"])):f("",!0),u("div",qt,[h(Ne,{placeholder:p.value,onClick:P[1]||(P[1]=w=>M.value=!0)},null,8,["placeholder"])])],64)):i(T)==="algolia"?(a(),l(C,{key:1},[r.value?(a(),y(i(t),{key:0,algolia:((x=i(o).search)==null?void 0:x.options)??i(o).algolia,onVnodeBeforeMount:P[2]||(P[2]=w=>d.value=!0)},null,8,["algolia"])):f("",!0),d.value?f("",!0):(a(),l("div",Wt,[h(Ne,{placeholder:p.value,onClick:_},null,8,["placeholder"])]))],64)):f("",!0)],4)}}});const Kt={},Xt={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Qt=u("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Jt=u("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Zt=[Qt,Jt];function en(n,e){return a(),l("svg",Xt,Zt)}const tn=m(Kt,[["render",en]]),nn=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=k(()=>e.tag??e.href?"a":"span"),o=k(()=>e.href&&De.test(e.href));return(s,r)=>(a(),y(U(t.value),{class:B(["VPLink",{link:s.href}]),href:s.href?i(ee)(s.href):void 0,target:s.target||(o.value?"_blank":void 0),rel:s.rel||(o.value?"noreferrer":void 0)},{default:v(()=>[c(s.$slots,"default",{},void 0,!0),o.value&&!s.noIcon?(a(),y(tn,{key:0,class:"icon"})):f("",!0)]),_:3},8,["class","href","target","rel"]))}});const G=m(nn,[["__scopeId","data-v-a195321c"]]),sn=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),y(G,{class:B({VPNavBarMenuLink:!0,active:i(Y)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const on=m(sn,[["__scopeId","data-v-d68ba066"]]),ke=L();let Ue=!1,ue=0;function an(n){const e=L(!1);if(Fe){!Ue&&rn(),ue++;const t=W(ke,o=>{var s,r,d;o===n.el.value||(s=n.el.value)!=null&&s.contains(o)?(e.value=!0,(r=n.onFocus)==null||r.call(n)):(e.value=!1,(d=n.onBlur)==null||d.call(n))});he(()=>{t(),ue--,ue||ln()})}return at(e)}function rn(){document.addEventListener("focusin",qe),Ue=!0,ke.value=document.activeElement}function ln(){document.removeEventListener("focusin",qe)}function qe(){ke.value=document.activeElement}const cn={},un={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},dn=u("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),_n=[dn];function vn(n,e){return a(),l("svg",un,_n)}const We=m(cn,[["render",vn]]),pn={},hn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fn=u("circle",{cx:"12",cy:"12",r:"2"},null,-1),mn=u("circle",{cx:"19",cy:"12",r:"2"},null,-1),gn=u("circle",{cx:"5",cy:"12",r:"2"},null,-1),yn=[fn,mn,gn];function bn(n,e){return a(),l("svg",hn,yn)}const $n=m(pn,[["render",bn]]),kn={class:"VPMenuLink"},Pn=g({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),l("div",kn,[h(G,{class:B({active:i(Y)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const le=m(Pn,[["__scopeId","data-v-d252955c"]]),Vn={class:"VPMenuGroup"},wn={key:0,class:"title"},Sn=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),l("div",Vn,[e.text?(a(),l("p",wn,V(e.text),1)):f("",!0),(a(!0),l(C,null,A(e.items,o=>(a(),l(C,null,["link"in o?(a(),y(le,{key:0,item:o},null,8,["item"])):f("",!0)],64))),256))]))}});const Ln=m(Sn,[["__scopeId","data-v-88cdd42a"]]),Mn={class:"VPMenu"},Cn={key:0,class:"items"},Bn=g({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),l("div",Mn,[e.items?(a(),l("div",Cn,[(a(!0),l(C,null,A(e.items,o=>(a(),l(C,{key:o.text},["link"in o?(a(),y(le,{key:0,item:o},null,8,["item"])):(a(),y(Ln,{key:1,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0),c(e.$slots,"default",{},void 0,!0)]))}});const In=m(Bn,[["__scopeId","data-v-d74206de"]]),Tn=["aria-expanded","aria-label"],xn={key:0,class:"text"},Nn={class:"menu"},An=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=L(!1),t=L();an({el:t,onBlur:o});function o(){e.value=!1}return(s,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[s.button||s.icon?(a(),l("span",xn,[s.icon?(a(),y(U(s.icon),{key:0,class:"option-icon"})):f("",!0),N(" "+V(s.button)+" ",1),h(We,{class:"text-icon"})])):(a(),y($n,{key:1,class:"icon"}))],8,Tn),u("div",Nn,[h(In,{items:s.items},{default:v(()=>[c(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Pe=m(An,[["__scopeId","data-v-f9d3eaad"]]),Hn=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),y(Pe,{class:B({VPNavBarMenuGroup:!0,active:i(Y)(i(e).relativePath,t.item.activeMatch,!!t.item.activeMatch)}),button:t.item.text,items:t.item.items},null,8,["class","button","items"]))}}),En=n=>(E("data-v-32190125"),n=n(),z(),n),zn={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Dn=En(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Fn=g({__name:"VPNavBarMenu",setup(n){const{theme:e}=S();return(t,o)=>i(e).nav?(a(),l("nav",zn,[Dn,(a(!0),l(C,null,A(i(e).nav,s=>(a(),l(C,{key:s.text},["link"in s?(a(),y(on,{key:0,item:s},null,8,["item"])):(a(),y(Hn,{key:1,item:s},null,8,["item"]))],64))),128))])):f("",!0)}});const On=m(Fn,[["__scopeId","data-v-32190125"]]),Gn={},Rn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},jn=u("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Un=u("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),qn=[jn,Un];function Wn(n,e){return a(),l("svg",Rn,qn)}const Ye=m(Gn,[["render",Wn]]),Yn={class:"items"},Kn={class:"title"},Xn=g({__name:"VPNavBarTranslations",setup(n){const{theme:e}=S(),{localeLinks:t,currentLang:o}=ne({correspondingLink:!0});return(s,r)=>i(t).length&&i(o).label?(a(),y(Pe,{key:0,class:"VPNavBarTranslations",icon:Ye,label:i(e).langMenuLabel||"Change language"},{default:v(()=>[u("div",Yn,[u("p",Kn,V(i(o).label),1),(a(!0),l(C,null,A(i(t),d=>(a(),y(le,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const Qn=m(Xn,[["__scopeId","data-v-05b99730"]]);const Jn={},Zn={class:"VPSwitch",type:"button",role:"switch"},es={class:"check"},ts={key:0,class:"icon"};function ns(n,e){return a(),l("button",Zn,[u("span",es,[n.$slots.default?(a(),l("span",ts,[c(n.$slots,"default",{},void 0,!0)])):f("",!0)])])}const ss=m(Jn,[["render",ns],["__scopeId","data-v-17ece3f8"]]),os={},as={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},rs=rt('',9),is=[rs];function ls(n,e){return a(),l("svg",as,is)}const cs=m(os,[["render",ls]]),us={},ds={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_s=u("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),vs=[_s];function ps(n,e){return a(),l("svg",ds,vs)}const hs=m(us,[["render",ps]]),fs=g({__name:"vp-theme-apperence",setup(n){const{site:e,isDark:t}=Ee(),o=L(!1),s=Fe?r():()=>{};O(()=>{o.value=document.documentElement.classList.contains("dark")});function r(){const d=window.matchMedia("(prefers-color-scheme: dark)"),p=document.documentElement.classList;let _=localStorage.getItem(xe),b=e.value.appearance==="dark"&&_==null||(_==="auto"||_==null?d.matches:_==="dark");d.onchange=$=>{_==="auto"&&T(b=$.matches)};function M(){T(b=!b),_=b?d.matches?"auto":"dark":d.matches?"light":"auto",localStorage.setItem(xe,_)}function I($){if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches)||!$){M();return}const x=$.clientX,w=$.clientY,H=Math.hypot(Math.max(x,innerWidth-x),Math.max(w,innerHeight-w));document.startViewTransition(async()=>{M(),await Oe()}).ready.then(()=>{const F=[`circle(0px at ${x}px ${w}px)`,`circle(${H}px at ${x}px ${w}px)`];document.documentElement.animate({clipPath:b?[...F].reverse():F},{duration:400,easing:"ease-out",pseudoElement:b?"::view-transition-old(root)":"::view-transition-new(root)"})})}function T($){const P=document.createElement("style");P.type="text/css",P.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
+import{d as g,o as a,c as l,r as c,n as B,a as N,t as V,_ as m,u as Ee,b as i,g as et,e as tt,f as L,w as W,h as J,i as k,j as nt,k as O,l as st,P as ot,m as pe,p as Y,q as te,s as he,v as u,F as C,x as y,y as v,z as f,T as fe,A as j,B as se,C as h,D as ze,E as U,G as De,H as Fe,I as at,J as A,K as E,L as z,M as rt,N as xe,O as Oe,Q as me,R as oe,S as it,U as Z,V as ge,W as lt,X as ct,Y as ut,Z as dt,$ as _t}from"./framework.59a1e8ef.js";const vt=g({__name:"VPBadge",props:{text:{},type:{}},setup(n){return(e,t)=>(a(),l("span",{class:B(["VPBadge",e.type??"tip"])},[c(e.$slots,"default",{},()=>[N(V(e.text),1)],!0)],2))}});const pt=m(vt,[["__scopeId","data-v-2fe1cc62"]]),S=Ee;function Ge(n){return et()?(tt(n),!0):!1}function ye(n){return typeof n=="function"?n():i(n)}const ht=typeof window<"u"&&typeof document<"u",ft=Object.prototype.toString,mt=n=>ft.call(n)==="[object Object]",gt=()=>{};function yt(n){var e;const t=ye(n);return(e=t==null?void 0:t.$el)!=null?e:t}const be=ht?window:void 0;function bt(...n){let e,t,o,s;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,o,s]=n,e=be):[e,t,o,s]=n,!e)return gt;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],d=()=>{r.forEach(M=>M()),r.length=0},p=(M,I,T,$)=>(M.addEventListener(I,T,$),()=>M.removeEventListener(I,T,$)),_=W(()=>[yt(e),ye(s)],([M,I])=>{if(d(),!M)return;const T=mt(I)?{...I}:I;r.push(...t.flatMap($=>o.map(P=>p(M,$,P,T))))},{immediate:!0,flush:"post"}),b=()=>{_(),d()};return Ge(b),b}function $t(){const n=L(!1);return nt()&&O(()=>{n.value=!0}),n}function kt(n){const e=$t();return k(()=>(e.value,!!n()))}function de(n,e={}){const{window:t=be}=e,o=kt(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=L(!1),d=b=>{r.value=b.matches},p=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",d):s.removeListener(d))},_=J(()=>{o.value&&(p(),s=t.matchMedia(ye(n)),"addEventListener"in s?s.addEventListener("change",d):s.addListener(d),r.value=s.matches)});return Ge(()=>{_(),p(),s=void 0}),r}function Re({window:n=be}={}){if(!n)return{x:L(0),y:L(0)};const e=L(n.scrollX),t=L(n.scrollY);return bt(n,"scroll",()=>{e.value=n.scrollX,t.value=n.scrollY},{capture:!1,passive:!0}),{x:e,y:t}}function Pt(n,e){let t,o=!1;return()=>{t&&clearTimeout(t),o?t=setTimeout(n,e):(n(),o=!0,setTimeout(()=>{o=!1},e))}}function _e(n){return/^\//.test(n)?n:`/${n}`}function ee(n){if(st(n))return n.replace(ot,"");const{site:e}=S(),{pathname:t,search:o,hash:s}=new URL(n,"http://example.com"),r=t.endsWith("/")||t.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${o}${s}`);return pe(r)}function je(n,e){if(Array.isArray(n))return n;if(n==null)return[];e=_e(e);const t=Object.keys(n).sort((o,s)=>s.split("/").length-o.split("/").length).find(o=>e.startsWith(_e(o)));return t?n[t]:[]}function Vt(n){const e=[];let t=0;for(const o in n){const s=n[o];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function wt(n){const e=[];function t(o){for(const s of o)s.text&&s.link&&e.push({text:s.text,link:s.link}),s.items&&t(s.items)}return t(n),e}function ve(n,e){return Array.isArray(e)?e.some(t=>ve(n,t)):Y(n,e.link)?!0:e.items?ve(n,e.items):!1}function D(){const n=te(),{theme:e,frontmatter:t}=S(),o=de("(min-width: 960px)"),s=L(!1),r=k(()=>{const P=e.value.sidebar,x=n.data.relativePath;return P?je(P,x):[]}),d=k(()=>t.value.sidebar!==!1&&r.value.length>0&&t.value.layout!=="home"),p=k(()=>_?t.value.aside==null?e.value.aside==="left":t.value.aside==="left":!1),_=k(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:e.value.aside!==!1),b=k(()=>d.value&&o.value),M=k(()=>d.value?Vt(r.value):[]);function I(){s.value=!0}function T(){s.value=!1}function $(){s.value?T():I()}return{isOpen:s,sidebar:r,sidebarGroups:M,hasSidebar:d,hasAside:_,leftAside:p,isSidebarEnabled:b,open:I,close:T,toggle:$}}function St(n,e){let t;J(()=>{t=n.value?document.activeElement:void 0}),O(()=>{window.addEventListener("keyup",o)}),he(()=>{window.removeEventListener("keyup",o)});function o(s){s.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function Lt(n){const{page:e}=S(),t=L(!1),o=k(()=>n.value.collapsed!=null),s=k(()=>!!n.value.link),r=k(()=>Y(e.value.relativePath,n.value.link)),d=k(()=>r.value?!0:n.value.items?ve(e.value.relativePath,n.value.items):!1),p=k(()=>!!(n.value.items&&n.value.items.length));J(()=>{t.value=!!(o.value&&n.value.collapsed)}),J(()=>{(r.value||d.value)&&(t.value=!1)});function _(){o.value&&(t.value=!t.value)}return{collapsed:t,collapsible:o,isLink:s,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:_}}const Mt=g({__name:"VPSkipLink",setup(n){const e=te(),t=L();W(()=>e.path,()=>t.value.focus());function o({target:s}){const r=document.querySelector(decodeURIComponent(s.hash));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(s,r)=>(a(),l(C,null,[u("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o}," Skip to content ")],64))}});const Ct=m(Mt,[["__scopeId","data-v-c4221a1b"]]),Bt={key:0,class:"VPBackdrop"},It=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),y(fe,{name:"fade"},{default:v(()=>[e.show?(a(),l("div",Bt)):f("",!0)]),_:1}))}});const Tt=m(It,[["__scopeId","data-v-9f7b8c0c"]]);function xt(){const n=L(!1);function e(){n.value=!0,window.addEventListener("resize",s)}function t(){n.value=!1,window.removeEventListener("resize",s)}function o(){n.value?t():e()}function s(){window.outerWidth>=768&&t()}const r=te();return W(()=>r.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:o}}function ne({removeCurrent:n=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:o,page:s,theme:r}=S(),d=k(()=>{var _,b;return{label:(_=t.value.locales[o.value])==null?void 0:_.label,link:((b=t.value.locales[o.value])==null?void 0:b.link)||(o.value==="root"?"/":`/${o.value}/`)}});return{localeLinks:k(()=>Object.entries(t.value.locales).flatMap(([_,b])=>n&&d.value.label===b.label?[]:{text:b.label,link:Nt(b.link||(_==="root"?"/":`/${_}/`),r.value.i18nRouting!==!1&&e,s.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function Nt(n,e,t,o){return e?n.replace(/\/$/,"")+_e(t.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,o?".html":"")):n}const At=["src","alt"],Ht={inheritAttrs:!1},Et=g({...Ht,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const o=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",se({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,At)):(a(),l(C,{key:1},[h(o,se({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),h(o,se({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const $e=m(Et,[["__scopeId","data-v-2120bdff"]]),zt=["href"],Dt=g({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=S(),{hasSidebar:o}=D(),{currentLang:s}=ne();return(r,d)=>(a(),l("div",{class:B(["VPNavBarTitle",{"has-sidebar":i(o)}])},[u("a",{class:"title",href:i(ee)(i(s).link)},[c(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),y($e,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[N(V(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[N(V(i(e).title),1)],64)):f("",!0),c(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,zt)],2))}});const Ft=m(Dt,[["__scopeId","data-v-26f385b8"]]);const Ot={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Gt={class:"DocSearch-Button-Container"},Rt=u("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[u("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),jt={class:"DocSearch-Button-Placeholder"},Ut=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ne=g({__name:"VPNavBarSearchButton",props:{placeholder:{}},setup(n){return(e,t)=>(a(),l("button",Ot,[u("span",Gt,[Rt,u("span",jt,V(e.placeholder),1)]),Ut]))}});const qt={id:"local-search"},Wt={key:1,id:"docsearch"},Yt=g({__name:"VPNavBarSearch",setup(n){const e=()=>null,t=()=>null,{theme:o,localeIndex:s}=S(),r=L(!1),d=L(!1),p=k(()=>{var P,x,w,H,K,F,Te;const $=((P=o.value.search)==null?void 0:P.options)??o.value.algolia;return((K=(H=(w=(x=$==null?void 0:$.locales)==null?void 0:x[s.value])==null?void 0:w.translations)==null?void 0:H.button)==null?void 0:K.buttonText)||((Te=(F=$==null?void 0:$.translations)==null?void 0:F.button)==null?void 0:Te.buttonText)||"Search"});O(()=>{});function _(){r.value||(r.value=!0,setTimeout(b,16))}function b(){const $=new Event("keydown");$.key="k",$.metaKey=!0,window.dispatchEvent($),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||b()},16)}const M=L(!1),I=L("'Meta'");O(()=>{I.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'⌘'":"'Ctrl'"});const T="";return($,P)=>{var x;return a(),l("div",{class:"VPNavBarSearch",style:ze({"--vp-meta-key":I.value})},[i(T)==="local"?(a(),l(C,{key:0},[M.value?(a(),y(i(e),{key:0,placeholder:p.value,onClose:P[0]||(P[0]=w=>M.value=!1)},null,8,["placeholder"])):f("",!0),u("div",qt,[h(Ne,{placeholder:p.value,onClick:P[1]||(P[1]=w=>M.value=!0)},null,8,["placeholder"])])],64)):i(T)==="algolia"?(a(),l(C,{key:1},[r.value?(a(),y(i(t),{key:0,algolia:((x=i(o).search)==null?void 0:x.options)??i(o).algolia,onVnodeBeforeMount:P[2]||(P[2]=w=>d.value=!0)},null,8,["algolia"])):f("",!0),d.value?f("",!0):(a(),l("div",Wt,[h(Ne,{placeholder:p.value,onClick:_},null,8,["placeholder"])]))],64)):f("",!0)],4)}}});const Kt={},Xt={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Qt=u("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Jt=u("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Zt=[Qt,Jt];function en(n,e){return a(),l("svg",Xt,Zt)}const tn=m(Kt,[["render",en]]),nn=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=k(()=>e.tag??e.href?"a":"span"),o=k(()=>e.href&&De.test(e.href));return(s,r)=>(a(),y(U(t.value),{class:B(["VPLink",{link:s.href}]),href:s.href?i(ee)(s.href):void 0,target:s.target||(o.value?"_blank":void 0),rel:s.rel||(o.value?"noreferrer":void 0)},{default:v(()=>[c(s.$slots,"default",{},void 0,!0),o.value&&!s.noIcon?(a(),y(tn,{key:0,class:"icon"})):f("",!0)]),_:3},8,["class","href","target","rel"]))}});const G=m(nn,[["__scopeId","data-v-196baa49"]]),sn=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),y(G,{class:B({VPNavBarMenuLink:!0,active:i(Y)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const on=m(sn,[["__scopeId","data-v-5c482d0e"]]),ke=L();let Ue=!1,ue=0;function an(n){const e=L(!1);if(Fe){!Ue&&rn(),ue++;const t=W(ke,o=>{var s,r,d;o===n.el.value||(s=n.el.value)!=null&&s.contains(o)?(e.value=!0,(r=n.onFocus)==null||r.call(n)):(e.value=!1,(d=n.onBlur)==null||d.call(n))});he(()=>{t(),ue--,ue||ln()})}return at(e)}function rn(){document.addEventListener("focusin",qe),Ue=!0,ke.value=document.activeElement}function ln(){document.removeEventListener("focusin",qe)}function qe(){ke.value=document.activeElement}const cn={},un={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},dn=u("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),_n=[dn];function vn(n,e){return a(),l("svg",un,_n)}const We=m(cn,[["render",vn]]),pn={},hn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fn=u("circle",{cx:"12",cy:"12",r:"2"},null,-1),mn=u("circle",{cx:"19",cy:"12",r:"2"},null,-1),gn=u("circle",{cx:"5",cy:"12",r:"2"},null,-1),yn=[fn,mn,gn];function bn(n,e){return a(),l("svg",hn,yn)}const $n=m(pn,[["render",bn]]),kn={class:"VPMenuLink"},Pn=g({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),l("div",kn,[h(G,{class:B({active:i(Y)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const le=m(Pn,[["__scopeId","data-v-41073560"]]),Vn={class:"VPMenuGroup"},wn={key:0,class:"title"},Sn=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),l("div",Vn,[e.text?(a(),l("p",wn,V(e.text),1)):f("",!0),(a(!0),l(C,null,A(e.items,o=>(a(),l(C,null,["link"in o?(a(),y(le,{key:0,item:o},null,8,["item"])):f("",!0)],64))),256))]))}});const Ln=m(Sn,[["__scopeId","data-v-a02a2e64"]]),Mn={class:"VPMenu"},Cn={key:0,class:"items"},Bn=g({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),l("div",Mn,[e.items?(a(),l("div",Cn,[(a(!0),l(C,null,A(e.items,o=>(a(),l(C,{key:o.text},["link"in o?(a(),y(le,{key:0,item:o},null,8,["item"])):(a(),y(Ln,{key:1,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0),c(e.$slots,"default",{},void 0,!0)]))}});const In=m(Bn,[["__scopeId","data-v-8f502981"]]),Tn=["aria-expanded","aria-label"],xn={key:0,class:"text"},Nn={class:"menu"},An=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=L(!1),t=L();an({el:t,onBlur:o});function o(){e.value=!1}return(s,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[s.button||s.icon?(a(),l("span",xn,[s.icon?(a(),y(U(s.icon),{key:0,class:"option-icon"})):f("",!0),N(" "+V(s.button)+" ",1),h(We,{class:"text-icon"})])):(a(),y($n,{key:1,class:"icon"}))],8,Tn),u("div",Nn,[h(In,{items:s.items},{default:v(()=>[c(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Pe=m(An,[["__scopeId","data-v-6a112c34"]]),Hn=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),y(Pe,{class:B({VPNavBarMenuGroup:!0,active:i(Y)(i(e).relativePath,t.item.activeMatch,!!t.item.activeMatch)}),button:t.item.text,items:t.item.items},null,8,["class","button","items"]))}}),En=n=>(E("data-v-3d25a195"),n=n(),z(),n),zn={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Dn=En(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Fn=g({__name:"VPNavBarMenu",setup(n){const{theme:e}=S();return(t,o)=>i(e).nav?(a(),l("nav",zn,[Dn,(a(!0),l(C,null,A(i(e).nav,s=>(a(),l(C,{key:s.text},["link"in s?(a(),y(on,{key:0,item:s},null,8,["item"])):(a(),y(Hn,{key:1,item:s},null,8,["item"]))],64))),128))])):f("",!0)}});const On=m(Fn,[["__scopeId","data-v-3d25a195"]]),Gn={},Rn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},jn=u("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Un=u("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),qn=[jn,Un];function Wn(n,e){return a(),l("svg",Rn,qn)}const Ye=m(Gn,[["render",Wn]]),Yn={class:"items"},Kn={class:"title"},Xn=g({__name:"VPNavBarTranslations",setup(n){const{theme:e}=S(),{localeLinks:t,currentLang:o}=ne({correspondingLink:!0});return(s,r)=>i(t).length&&i(o).label?(a(),y(Pe,{key:0,class:"VPNavBarTranslations",icon:Ye,label:i(e).langMenuLabel||"Change language"},{default:v(()=>[u("div",Yn,[u("p",Kn,V(i(o).label),1),(a(!0),l(C,null,A(i(t),d=>(a(),y(le,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const Qn=m(Xn,[["__scopeId","data-v-f48a1af2"]]);const Jn={},Zn={class:"VPSwitch",type:"button",role:"switch"},es={class:"check"},ts={key:0,class:"icon"};function ns(n,e){return a(),l("button",Zn,[u("span",es,[n.$slots.default?(a(),l("span",ts,[c(n.$slots,"default",{},void 0,!0)])):f("",!0)])])}const ss=m(Jn,[["render",ns],["__scopeId","data-v-2303b248"]]),os={},as={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},rs=rt('',9),is=[rs];function ls(n,e){return a(),l("svg",as,is)}const cs=m(os,[["render",ls]]),us={},ds={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_s=u("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),vs=[_s];function ps(n,e){return a(),l("svg",ds,vs)}const hs=m(us,[["render",ps]]),fs=g({__name:"vp-theme-apperence",setup(n){const{site:e,isDark:t}=Ee(),o=L(!1),s=Fe?r():()=>{};O(()=>{o.value=document.documentElement.classList.contains("dark")});function r(){const d=window.matchMedia("(prefers-color-scheme: dark)"),p=document.documentElement.classList;let _=localStorage.getItem(xe),b=e.value.appearance==="dark"&&_==null||(_==="auto"||_==null?d.matches:_==="dark");d.onchange=$=>{_==="auto"&&T(b=$.matches)};function M(){T(b=!b),_=b?d.matches?"auto":"dark":d.matches?"light":"auto",localStorage.setItem(xe,_)}function I($){if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches)||!$){M();return}const x=$.clientX,w=$.clientY,H=Math.hypot(Math.max(x,innerWidth-x),Math.max(w,innerHeight-w));document.startViewTransition(async()=>{M(),await Oe()}).ready.then(()=>{const F=[`circle(0px at ${x}px ${w}px)`,`circle(${H}px at ${x}px ${w}px)`];document.documentElement.animate({clipPath:b?[...F].reverse():F},{duration:400,easing:"ease-out",pseudoElement:b?"::view-transition-old(root)":"::view-transition-new(root)"})})}function T($){const P=document.createElement("style");P.type="text/css",P.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
     -webkit-transition: none !important;
     -moz-transition: none !important;
     -o-transition: none !important;
     -ms-transition: none !important;
     transition: none !important;
-  }`)),document.head.appendChild(P),o.value=$,p[$?"add":"remove"]("dark"),window.getComputedStyle(P).opacity,document.head.removeChild(P)}return I}return W(o,d=>{t.value=d}),(d,p)=>(a(),y(ss,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":o.value,onClick:i(s)},{default:v(()=>[h(cs,{class:"sun"}),h(hs,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const Ve=m(fs,[["__scopeId","data-v-fddcca66"]]),ms={key:0,class:"VPNavBarAppearance"},gs=g({__name:"VPNavBarAppearance",setup(n){const{site:e}=S();return(t,o)=>i(e).appearance?(a(),l("div",ms,[h(Ve)])):f("",!0)}});const ys=m(gs,[["__scopeId","data-v-76ac476c"]]),bs={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',youtube:'YouTube'},$s=["href","aria-label","innerHTML"],ks=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=k(()=>typeof e.icon=="object"?e.icon.svg:bs[e.icon]);return(o,s)=>(a(),l("a",{class:"VPSocialLink",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,$s))}});const Ps=m(ks,[["__scopeId","data-v-30372ba2"]]),Vs={class:"VPSocialLinks"},ws=g({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),l("div",Vs,[(a(!0),l(C,null,A(e.links,({link:o,icon:s,ariaLabel:r})=>(a(),y(Ps,{key:o,icon:s,link:o,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}});const we=m(ws,[["__scopeId","data-v-4d8d41ad"]]),Ss=g({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=S();return(t,o)=>i(e).socialLinks?(a(),y(we,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}});const Ls=m(Ss,[["__scopeId","data-v-5fa4f592"]]),Ms={key:0,class:"group translations"},Cs={class:"trans-title"},Bs={key:1,class:"group"},Is={class:"item appearance"},Ts={class:"label"},xs={class:"appearance-action"},Ns={key:2,class:"group"},As={class:"item social-links"},Hs=g({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=S(),{localeLinks:o,currentLang:s}=ne({correspondingLink:!0}),r=k(()=>o.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),y(Pe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[i(o).length&&i(s).label?(a(),l("div",Ms,[u("p",Cs,V(i(s).label),1),(a(!0),l(C,null,A(i(o),_=>(a(),y(le,{key:_.link,item:_},null,8,["item"]))),128))])):f("",!0),i(e).appearance?(a(),l("div",Bs,[u("div",Is,[u("p",Ts,V(i(t).darkModeSwitchLabel||"Appearance"),1),u("div",xs,[h(Ve)])])])):f("",!0),i(t).socialLinks?(a(),l("div",Ns,[u("div",As,[h(we,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const Es=m(Hs,[["__scopeId","data-v-36dc94db"]]),zs=n=>(E("data-v-5d69feb9"),n=n(),z(),n),Ds=["aria-expanded"],Fs=zs(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),Os=[Fs],Gs=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),l("button",{type:"button",class:B(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=o=>e.$emit("click"))},Os,10,Ds))}});const Rs=m(Gs,[["__scopeId","data-v-5d69feb9"]]),js=n=>(E("data-v-119c4935"),n=n(),z(),n),Us={class:"container"},qs={class:"title"},Ws={class:"content"},Ys=js(()=>u("div",{class:"curtain"},null,-1)),Ks={class:"content-body"},Xs=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const{y:e}=Re(),{hasSidebar:t}=D(),o=k(()=>({"has-sidebar":t.value,fill:e.value>0}));return(s,r)=>(a(),l("div",{class:B(["VPNavBar",o.value])},[u("div",Us,[u("div",qs,[h(Ft,null,{"nav-bar-title-before":v(()=>[c(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(s.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",Ws,[Ys,u("div",Ks,[c(s.$slots,"nav-bar-content-before",{},void 0,!0),h(Yt,{class:"search"}),h(On,{class:"menu"}),h(Qn,{class:"translations"}),h(ys,{class:"appearance"}),h(Ls,{class:"social-links"}),h(Es,{class:"extra"}),c(s.$slots,"nav-bar-content-after",{},void 0,!0),h(Rs,{class:"hamburger",active:s.isScreenOpen,onClick:r[0]||(r[0]=d=>s.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const Qs=m(Xs,[["__scopeId","data-v-119c4935"]]);function Js(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e1),q=[],re=!1,Le=-1,X=void 0,R=void 0,Q=void 0,Ke=function(e){return q.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},ie=function(e){var t=e||window.event;return Ke(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},Zs=function(e){if(Q===void 0){var t=!!e&&e.reserveScrollBarGap===!0,o=window.innerWidth-document.documentElement.clientWidth;if(t&&o>0){var s=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);Q=document.body.style.paddingRight,document.body.style.paddingRight=s+o+"px"}}X===void 0&&(X=document.body.style.overflow,document.body.style.overflow="hidden")},eo=function(){Q!==void 0&&(document.body.style.paddingRight=Q,Q=void 0),X!==void 0&&(document.body.style.overflow=X,X=void 0)},to=function(){return window.requestAnimationFrame(function(){if(R===void 0){R={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,o=e.scrollX,s=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-o,setTimeout(function(){return window.requestAnimationFrame(function(){var r=s-window.innerHeight;r&&t>=s&&(document.body.style.top=-(t+r))})},300)}})},no=function(){if(R!==void 0){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=R.position,document.body.style.top=R.top,document.body.style.left=R.left,window.scrollTo(t,e),R=void 0}},so=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},oo=function(e,t){var o=e.targetTouches[0].clientY-Le;return Ke(e.target)?!1:t&&t.scrollTop===0&&o>0||so(t)&&o<0?ie(e):(e.stopPropagation(),!0)},Xe=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!q.some(function(s){return s.targetElement===e})){var o={targetElement:e,options:t||{}};q=[].concat(Js(q),[o]),ae?to():Zs(t),ae&&(e.ontouchstart=function(s){s.targetTouches.length===1&&(Le=s.targetTouches[0].clientY)},e.ontouchmove=function(s){s.targetTouches.length===1&&oo(s,e)},re||(document.addEventListener("touchmove",ie,Se?{passive:!1}:void 0),re=!0))}},Qe=function(){ae&&(q.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),re&&(document.removeEventListener("touchmove",ie,Se?{passive:!1}:void 0),re=!1),Le=-1),ae?no():eo(),q=[]};const ao=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=me("close-screen");return(t,o)=>(a(),y(G,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const ro=m(ao,[["__scopeId","data-v-363266ba"]]),io={},lo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},co=u("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),uo=[co];function _o(n,e){return a(),l("svg",lo,uo)}const vo=m(io,[["render",_o]]),po=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=me("close-screen");return(t,o)=>(a(),y(G,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const Je=m(po,[["__scopeId","data-v-d219d708"]]),ho={class:"VPNavScreenMenuGroupSection"},fo={key:0,class:"title"},mo=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),l("div",ho,[e.text?(a(),l("p",fo,V(e.text),1)):f("",!0),(a(!0),l(C,null,A(e.items,o=>(a(),y(Je,{key:o.text,item:o},null,8,["item"]))),128))]))}});const go=m(mo,[["__scopeId","data-v-7d58237c"]]),yo=["aria-controls","aria-expanded"],bo={class:"button-text"},$o=["id"],ko={key:1,class:"group"},Po=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=L(!1),o=k(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(r,d)=>(a(),l("div",{class:B(["VPNavScreenMenuGroup",{open:t.value}])},[u("button",{class:"button","aria-controls":o.value,"aria-expanded":t.value,onClick:s},[u("span",bo,V(r.text),1),h(vo,{class:"button-icon"})],8,yo),u("div",{id:o.value,class:"items"},[(a(!0),l(C,null,A(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[h(Je,{item:p},null,8,["item"])])):(a(),l("div",ko,[h(go,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,$o)],2))}});const Vo=m(Po,[["__scopeId","data-v-24f5c7b0"]]),wo={key:0,class:"VPNavScreenMenu"},So=g({__name:"VPNavScreenMenu",setup(n){const{theme:e}=S();return(t,o)=>i(e).nav?(a(),l("nav",wo,[(a(!0),l(C,null,A(i(e).nav,s=>(a(),l(C,{key:s.text},["link"in s?(a(),y(ro,{key:0,item:s},null,8,["item"])):(a(),y(Vo,{key:1,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Lo={key:0,class:"VPNavScreenAppearance"},Mo={class:"text"},Co=g({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=S();return(o,s)=>i(e).appearance?(a(),l("div",Lo,[u("p",Mo,V(i(t).darkModeSwitchLabel||"Appearance"),1),h(Ve)])):f("",!0)}});const Bo=m(Co,[["__scopeId","data-v-bc990d9a"]]),Io={class:"list"},To=g({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=ne({correspondingLink:!0}),o=L(!1);function s(){o.value=!o.value}return(r,d)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:B(["VPNavScreenTranslations",{open:o.value}])},[u("button",{class:"title",onClick:s},[h(Ye,{class:"icon lang"}),N(" "+V(i(t).label)+" ",1),h(We,{class:"icon chevron"})]),u("ul",Io,[(a(!0),l(C,null,A(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[h(G,{class:"link",href:p.link},{default:v(()=>[N(V(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const xo=m(To,[["__scopeId","data-v-514fc519"]]),No=g({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=S();return(t,o)=>i(e).socialLinks?(a(),y(we,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Ao={class:"container"},Ho=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=L(null);function t(){Xe(e.value,{reserveScrollBarGap:!0})}function o(){Qe()}return(s,r)=>(a(),y(fe,{name:"fade",onEnter:t,onAfterLeave:o},{default:v(()=>[s.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e},[u("div",Ao,[c(s.$slots,"nav-screen-content-before",{},void 0,!0),h(So,{class:"menu"}),h(xo,{class:"translations"}),h(Bo,{class:"appearance"}),h(No,{class:"social-links"}),c(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const Eo=m(Ho,[["__scopeId","data-v-38ce6ea9"]]),zo={class:"VPNav"},Do=g({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=xt();return oe("close-screen",t),(s,r)=>(a(),l("header",zo,[h(Qs,{"is-screen-open":i(e),onToggleScreen:i(o)},{"nav-bar-title-before":v(()=>[c(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(s.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(s.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(s.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(Eo,{open:i(e)},{"nav-screen-content-before":v(()=>[c(s.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(s.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const Fo=m(Do,[["__scopeId","data-v-58b4a49f"]]);function Oo(){const{hasSidebar:n}=D(),e=de("(min-width: 960px)"),t=de("(min-width: 1280px)");return{isAsideEnabled:k(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const Go=71;function Me(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function Ce(n){const e=[...document.querySelectorAll(".VPDoc h2,h3,h4,h5,h6")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const o=Number(t.tagName[1]);return{title:Ro(t),link:"#"+t.id,level:o}});return jo(e,n)}function Ro(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function jo(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[o,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(d=>d.level>=o&&d.level<=s);const r=[];e:for(let d=0;d=0;_--){const b=n[_];if(b.level{requestAnimationFrame(r),window.addEventListener("scroll",o)}),it(()=>{d(location.hash)}),he(()=>{window.removeEventListener("scroll",o)});function r(){if(!t.value)return;const p=[].slice.call(n.value.querySelectorAll(".outline-link")),_=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter($=>p.some(P=>P.hash===$.hash&&$.offsetParent!==null)),b=window.scrollY,M=window.innerHeight,I=document.body.offsetHeight,T=Math.abs(b+M-I)<1;if(_.length&&T){d(_[_.length-1].hash);return}for(let $=0;$<_.length;$++){const P=_[$],x=_[$+1],[w,H]=qo($,P,x);if(w){d(H);return}}}function d(p){s&&s.classList.remove("active"),p!==null&&(s=n.value.querySelector(`a[href="${decodeURIComponent(p)}"]`));const _=s;_?(_.classList.add("active"),e.value.style.top=_.offsetTop+33+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function He(n){return n.parentElement.offsetTop-Go}function qo(n,e,t){const o=window.scrollY;return n===0&&o===0?[!0,null]:o{const s=j("VPDocOutlineItem",!0);return a(),l("ul",{class:B(t.root?"root":"nested")},[(a(!0),l(C,null,A(t.headers,({children:r,link:d,title:p})=>(a(),l("li",null,[u("a",{class:"outline-link",href:d,onClick:e,title:p},V(p),9,Wo),r!=null&&r.length?(a(),y(s,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}});const Be=m(Yo,[["__scopeId","data-v-658f2e95"]]),Ko={},Xo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Qo=u("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),Jo=[Qo];function Zo(n,e){return a(),l("svg",Xo,Jo)}const Ie=m(Ko,[["render",Zo]]),ea=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{}},setup(n){const{theme:e}=S(),t=L(!1),o=L(0),s=L();Z(()=>{t.value=!1});function r(){t.value=!t.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function d(_){_.target.classList.contains("outline-link")&&(s.value&&(s.value.style.transition="none"),Oe(()=>{t.value=!1}))}function p(){t.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,b)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:ze({"--vp-vh":o.value+"px"})},[_.headers.length>0?(a(),l("button",{key:0,onClick:r,class:B({open:t.value})},[N(V(i(Me)(i(e)))+" ",1),h(Ie,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:p},V(i(e).returnToTopLabel||"Return to top"),1)),h(fe,{name:"flyout"},{default:v(()=>[t.value?(a(),l("div",{key:0,ref_key:"items",ref:s,class:"items",onClick:d},[u("a",{class:"top-link",href:"#",onClick:p},V(i(e).returnToTopLabel||"Return to top"),1),h(Be,{headers:_.headers},null,8,["headers"])],512)):f("",!0)]),_:1})],4))}});const ta=m(ea,[["__scopeId","data-v-ee39ecb1"]]),na={},sa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},oa=u("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),aa=u("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),ra=u("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),ia=u("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),la=[oa,aa,ra,ia];function ca(n,e){return a(),l("svg",sa,la)}const ua=m(na,[["render",ca]]),da=["aria-expanded"],_a={class:"menu-text"},va=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=S(),{hasSidebar:o}=D(),{y:s}=Re(),r=ge([]);Z(()=>{r.value=Ce(t.value.outline??e.value.outline)});const d=k(()=>r.value.length===0&&!o.value),p=k(()=>({VPLocalNav:!0,fixed:d.value,"reached-top":s.value>=64}));return(_,b)=>i(t).layout!=="home"&&(!d.value||i(s)>=64)?(a(),l("div",{key:0,class:B(p.value)},[i(o)?(a(),l("button",{key:0,class:"menu","aria-expanded":_.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=M=>_.$emit("open-menu"))},[h(ua,{class:"menu-icon"}),u("span",_a,V(i(e).sidebarMenuLabel||"Menu"),1)],8,da)):f("",!0),h(ta,{headers:r.value},null,8,["headers"])],2)):f("",!0)}});const pa=m(va,[["__scopeId","data-v-bbb9ebcb"]]),ha=n=>(E("data-v-f48647a0"),n=n(),z(),n),fa=["role","tabindex"],ma=ha(()=>u("div",{class:"indicator"},null,-1)),ga=["onKeydown"],ya={key:1,class:"items"},ba=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:o,isLink:s,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:_}=Lt(k(()=>e.item)),b=k(()=>p.value?"section":"div"),M=k(()=>s.value?"a":"div"),I=k(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),T=k(()=>s.value?void 0:"button"),$=k(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":s.value},{"is-active":r.value},{"has-active":d.value}]);function P(w){"key"in w&&w.key!=="Enter"||!e.item.link&&_()}function x(){e.item.link&&_()}return(w,H)=>{const K=j("VPSidebarItem",!0);return a(),y(U(b.value),{class:B(["VPSidebarItem",$.value])},{default:v(()=>[w.item.text?(a(),l("div",se({key:0,class:"item",role:T.value},lt(w.item.items?{click:P,keydown:P}:{},!0),{tabindex:w.item.items&&0}),[ma,w.item.link?(a(),y(G,{key:0,tag:M.value,class:"link",href:w.item.link},{default:v(()=>[(a(),y(U(I.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(a(),y(U(I.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:x,onKeydown:ct(x,["enter"]),tabindex:"0"},[h(Ie,{class:"caret-icon"})],40,ga)):f("",!0)],16,fa)):f("",!0),w.item.items&&w.item.items.length?(a(),l("div",ya,[w.depth<5?(a(!0),l(C,{key:0},A(w.item.items,F=>(a(),y(K,{key:F.text,item:F,depth:w.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const $a=m(ba,[["__scopeId","data-v-f48647a0"]]),Ze=n=>(E("data-v-bd544db4"),n=n(),z(),n),ka=Ze(()=>u("div",{class:"curtain"},null,-1)),Pa={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Va=Ze(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),wa=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const e=n,{sidebarGroups:t,hasSidebar:o}=D();let s=L(null);function r(){Xe(s.value,{reserveScrollBarGap:!0})}function d(){Qe()}return ut(async()=>{var p;e.open?(r(),(p=s.value)==null||p.focus()):d()}),(p,_)=>i(o)?(a(),l("aside",{key:0,class:B(["VPSidebar",{open:p.open}]),ref_key:"navEl",ref:s,onClick:_[0]||(_[0]=dt(()=>{},["stop"]))},[ka,u("nav",Pa,[Va,c(p.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,A(i(t),b=>(a(),l("div",{key:b.text,class:"group"},[h($a,{item:b,depth:0},null,8,["item"])]))),128)),c(p.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const Sa=m(wa,[["__scopeId","data-v-bd544db4"]]),La={},Ma={class:"VPPage"};function Ca(n,e){const t=j("Content");return a(),l("div",Ma,[c(n.$slots,"page-top"),h(t),c(n.$slots,"page-bottom")])}const Ba=m(La,[["render",Ca]]),Ia=g({__name:"VPButton",props:{tag:{},size:{},theme:{},text:{},href:{}},setup(n){const e=n,t=k(()=>[e.size??"medium",e.theme??"brand"]),o=k(()=>e.href&&De.test(e.href)),s=k(()=>e.tag?e.tag:e.href?"a":"button");return(r,d)=>(a(),y(U(s.value),{class:B(["VPButton",t.value]),href:r.href?i(ee)(r.href):void 0,target:o.value?"_blank":void 0,rel:o.value?"noreferrer":void 0},{default:v(()=>[N(V(r.text),1)]),_:1},8,["class","href","target","rel"]))}});const Ta=m(Ia,[["__scopeId","data-v-0924a99a"]]),xa=n=>(E("data-v-d11d89eb"),n=n(),z(),n),Na={class:"container"},Aa={class:"main"},Ha={key:0,class:"name"},Ea={class:"clip"},za={key:1,class:"text"},Da={key:2,class:"tagline"},Fa={key:0,class:"actions"},Oa={key:0,class:"image"},Ga={class:"image-container"},Ra=xa(()=>u("div",{class:"image-bg"},null,-1)),ja=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=me("hero-image-slot-exists");return(t,o)=>(a(),l("div",{class:B(["VPHero",{"has-image":t.image||i(e)}])},[u("div",Na,[u("div",Aa,[c(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Ha,[u("span",Ea,V(t.name),1)])):f("",!0),t.text?(a(),l("p",za,V(t.text),1)):f("",!0),t.tagline?(a(),l("p",Da,V(t.tagline),1)):f("",!0)],!0),t.actions?(a(),l("div",Fa,[(a(!0),l(C,null,A(t.actions,s=>(a(),l("div",{key:s.link,class:"action"},[h(Ta,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Oa,[u("div",Ga,[Ra,c(t.$slots,"home-hero-image",{},()=>[t.image?(a(),y($e,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const Ua=m(ja,[["__scopeId","data-v-d11d89eb"]]),qa=g({__name:"VPHomeHero",setup(n){const{frontmatter:e}=S();return(t,o)=>i(e).hero?(a(),y(Ua,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info":v(()=>[c(t.$slots,"home-hero-info")]),"home-hero-image":v(()=>[c(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Wa={},Ya={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ka=u("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),Xa=[Ka];function Qa(n,e){return a(),l("svg",Ya,Xa)}const Ja=m(Wa,[["render",Qa]]),Za={class:"box"},er=["innerHTML"],tr=["innerHTML"],nr=["innerHTML"],sr={key:3,class:"link-text"},or={class:"link-text-value"},ar=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{}},setup(n){return(e,t)=>(a(),y(G,{class:"VPFeature",href:e.link,"no-icon":!0},{default:v(()=>[u("article",Za,[typeof e.icon=="object"?(a(),y($e,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:1,class:"icon",innerHTML:e.icon},null,8,er)):f("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,tr),e.details?(a(),l("p",{key:2,class:"details",innerHTML:e.details},null,8,nr)):f("",!0),e.linkText?(a(),l("div",sr,[u("p",or,[N(V(e.linkText)+" ",1),h(Ja,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href"]))}});const rr=m(ar,[["__scopeId","data-v-e302ea94"]]),ir={key:0,class:"VPFeatures"},lr={class:"container"},cr={class:"items"},ur=g({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=k(()=>{const o=e.features.length;if(o){if(o===2)return"grid-2";if(o===3)return"grid-3";if(o%3===0)return"grid-6";if(o>3)return"grid-4"}else return});return(o,s)=>o.features?(a(),l("div",ir,[u("div",lr,[u("div",cr,[(a(!0),l(C,null,A(o.features,r=>(a(),l("div",{key:r.title,class:B(["item",[t.value]])},[h(rr,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):f("",!0)}});const dr=m(ur,[["__scopeId","data-v-261f0ba3"]]),_r=g({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=S();return(t,o)=>i(e).features?(a(),y(dr,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),vr={class:"VPHome"},pr=g({__name:"VPHome",setup(n){return(e,t)=>{const o=j("Content");return a(),l("div",vr,[c(e.$slots,"home-hero-before",{},void 0,!0),h(qa,null,{"home-hero-info":v(()=>[c(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[c(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(e.$slots,"home-hero-after",{},void 0,!0),c(e.$slots,"home-features-before",{},void 0,!0),h(_r),c(e.$slots,"home-features-after",{},void 0,!0),h(o)])}}});const hr=m(pr,[["__scopeId","data-v-81386253"]]),fr=n=>(E("data-v-a764f6e9"),n=n(),z(),n),mr={class:"content"},gr={class:"outline-title"},yr={"aria-labelledby":"doc-outline-aria-label"},br=fr(()=>u("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),$r=g({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=S(),o=ge([]);Z(()=>{o.value=Ce(e.value.outline??t.value.outline)});const s=L(),r=L();return Uo(s,r),(d,p)=>(a(),l("div",{class:B(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:s},[u("div",mr,[u("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),u("div",gr,V(i(Me)(i(t))),1),u("nav",yr,[br,h(Be,{headers:o.value,root:!0},null,8,["headers"])])])],2))}});const kr=m($r,[["__scopeId","data-v-a764f6e9"]]),Pr={class:"VPDocAsideCarbonAds"},Vr=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,o)=>(a(),l("div",Pr,[h(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),wr=n=>(E("data-v-ddb40397"),n=n(),z(),n),Sr={class:"VPDocAside"},Lr=wr(()=>u("div",{class:"spacer"},null,-1)),Mr=g({__name:"VPDocAside",setup(n){const{theme:e}=S();return(t,o)=>(a(),l("div",Sr,[c(t.$slots,"aside-top",{},void 0,!0),c(t.$slots,"aside-outline-before",{},void 0,!0),h(kr),c(t.$slots,"aside-outline-after",{},void 0,!0),Lr,c(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),y(Vr,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),c(t.$slots,"aside-ads-after",{},void 0,!0),c(t.$slots,"aside-bottom",{},void 0,!0)]))}});const Cr=m(Mr,[["__scopeId","data-v-ddb40397"]]);function Br(){const{theme:n,page:e}=S();return k(()=>{const{text:t="Edit this page",pattern:o=""}=n.value.editLink||{};let s;return typeof o=="function"?s=o(e.value):s=o.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function Ir(){const{page:n,theme:e,frontmatter:t}=S();return k(()=>{var _,b,M,I,T,$;const o=je(e.value.sidebar,n.value.relativePath),s=wt(o),r=s.findIndex(P=>Y(n.value.relativePath,P.link)),d=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((b=e.value.docFooter)==null?void 0:b.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((M=s[r-1])==null?void 0:M.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=s[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((T=s[r+1])==null?void 0:T.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??(($=s[r+1])==null?void 0:$.link)}}})}const Tr={},xr={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Nr=u("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Ar=u("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Hr=[Nr,Ar];function Er(n,e){return a(),l("svg",xr,Hr)}const zr=m(Tr,[["render",Er]]),Dr={class:"VPLastUpdated"},Fr=["datetime"],Or=g({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:o}=S(),s=k(()=>new Date(t.value.lastUpdated)),r=k(()=>s.value.toISOString()),d=L("");return O(()=>{J(()=>{d.value=s.value.toLocaleString(o.value)})}),(p,_)=>(a(),l("p",Dr,[N(V(i(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:r.value},V(d.value),9,Fr)]))}});const Gr=m(Or,[["__scopeId","data-v-343f0091"]]),Rr={key:0,class:"VPDocFooter"},jr={key:0,class:"edit-info"},Ur={key:0,class:"edit-link"},qr={key:1,class:"last-updated"},Wr={key:1,class:"prev-next"},Yr={class:"pager"},Kr=["href"],Xr=["innerHTML"],Qr=["innerHTML"],Jr=["href"],Zr=["innerHTML"],ei=["innerHTML"],ti=g({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:o}=S(),s=Br(),r=Ir(),d=k(()=>e.value.editLink&&o.value.editLink!==!1),p=k(()=>t.value.lastUpdated&&o.value.lastUpdated!==!1),_=k(()=>d.value||p.value||r.value.prev||r.value.next);return(b,M)=>{var I,T,$,P,x,w,H;return _.value?(a(),l("footer",Rr,[c(b.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),l("div",jr,[d.value?(a(),l("div",Ur,[h(G,{class:"edit-link-button",href:i(s).url,"no-icon":!0},{default:v(()=>[h(zr,{class:"edit-link-icon","aria-label":"edit icon"}),N(" "+V(i(s).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",qr,[h(Gr)])):f("",!0)])):f("",!0),(I=i(r).prev)!=null&&I.link||(T=i(r).next)!=null&&T.link?(a(),l("div",Wr,[u("div",Yr,[($=i(r).prev)!=null&&$.link?(a(),l("a",{key:0,class:"pager-link prev",href:i(ee)(i(r).prev.link)},[u("span",{class:"desc",innerHTML:((P=i(e).docFooter)==null?void 0:P.prev)||"Previous page"},null,8,Xr),u("span",{class:"title",innerHTML:i(r).prev.text},null,8,Qr)],8,Kr)):f("",!0)]),u("div",{class:B(["pager",{"has-prev":(x=i(r).prev)==null?void 0:x.link}])},[(w=i(r).next)!=null&&w.link?(a(),l("a",{key:0,class:"pager-link next",href:i(ee)(i(r).next.link)},[u("span",{class:"desc",innerHTML:((H=i(e).docFooter)==null?void 0:H.next)||"Next page"},null,8,Zr),u("span",{class:"title",innerHTML:i(r).next.text},null,8,ei)],8,Jr)):f("",!0)],2)])):f("",!0)])):f("",!0)}}});const ni=m(ti,[["__scopeId","data-v-b82cace0"]]),si={key:0,class:"VPDocOutlineDropdown"},oi={key:0,class:"items"},ai=g({__name:"VPDocOutlineDropdown",setup(n){const{frontmatter:e,theme:t}=S(),o=L(!1);Z(()=>{o.value=!1});const s=ge([]);return Z(()=>{s.value=Ce(e.value.outline??t.value.outline)}),(r,d)=>s.value.length>0?(a(),l("div",si,[u("button",{onClick:d[0]||(d[0]=p=>o.value=!o.value),class:B({open:o.value})},[N(V(i(Me)(i(t)))+" ",1),h(Ie,{class:"icon"})],2),o.value?(a(),l("div",oi,[h(Be,{headers:s.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const ri=m(ai,[["__scopeId","data-v-731abb68"]]),ii=n=>(E("data-v-40bb97e5"),n=n(),z(),n),li={class:"container"},ci=ii(()=>u("div",{class:"aside-curtain"},null,-1)),ui={class:"aside-container"},di={class:"aside-content"},_i={class:"content"},vi={class:"content-container"},pi={class:"main"},hi=g({__name:"VPDoc",setup(n){const e=te(),{hasSidebar:t,hasAside:o,leftAside:s}=D(),r=k(()=>e.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(d,p)=>{const _=j("Content");return a(),l("div",{class:B(["VPDoc",{"has-sidebar":i(t),"has-aside":i(o)}])},[c(d.$slots,"doc-top",{},void 0,!0),u("div",li,[i(o)?(a(),l("div",{key:0,class:B(["aside",{"left-aside":i(s)}])},[ci,u("div",ui,[u("div",di,[h(Cr,null,{"aside-top":v(()=>[c(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),u("div",_i,[u("div",vi,[c(d.$slots,"doc-before",{},void 0,!0),h(ri),u("main",pi,[h(_,{class:B(["vp-doc",r.value])},null,8,["class"])]),h(ni,null,{"doc-footer-before":v(()=>[c(d.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(d.$slots,"doc-after",{},void 0,!0)])])]),c(d.$slots,"doc-bottom",{},void 0,!0)],2)}}});const fi=m(hi,[["__scopeId","data-v-40bb97e5"]]),ce=n=>(E("data-v-16423b26"),n=n(),z(),n),mi={class:"NotFound"},gi=ce(()=>u("p",{class:"code"},"404",-1)),yi=ce(()=>u("h1",{class:"title"},"PAGE NOT FOUND",-1)),bi=ce(()=>u("div",{class:"divider"},null,-1)),$i=ce(()=>u("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),ki={class:"action"},Pi=["href"],Vi=g({__name:"NotFound",setup(n){const{site:e}=S(),{localeLinks:t}=ne({removeCurrent:!1}),o=L("/");return O(()=>{var r;const s=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");t.value.length&&(o.value=((r=t.value.find(({link:d})=>d.startsWith(s)))==null?void 0:r.link)||t.value[0].link)}),(s,r)=>(a(),l("div",mi,[gi,yi,bi,$i,u("div",ki,[u("a",{class:"link",href:i(pe)(o.value),"aria-label":"go to home"}," Take me home ",8,Pi)])]))}});const wi=m(Vi,[["__scopeId","data-v-16423b26"]]),Si=g({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=S(),{hasSidebar:o}=D();return(s,r)=>(a(),l("div",{class:B(["VPContent",{"has-sidebar":i(o),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?c(s.$slots,"not-found",{key:0},()=>[h(wi)],!0):i(t).layout==="page"?(a(),y(Ba,{key:1},{"page-top":v(()=>[c(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),y(hr,{key:2},{"home-hero-before":v(()=>[c(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[c(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):(a(),y(fi,{key:3},{"doc-top":v(()=>[c(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[c(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[c(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[c(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[c(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Li=m(Si,[["__scopeId","data-v-4a9a06e8"]]),Mi={class:"container"},Ci=["innerHTML"],Bi=["innerHTML"],Ii=g({__name:"VPFooter",setup(n){const{theme:e}=S(),{hasSidebar:t}=D();return(o,s)=>i(e).footer?(a(),l("footer",{key:0,class:B(["VPFooter",{"has-sidebar":i(t)}])},[u("div",Mi,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,Ci)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Bi)):f("",!0)])],2)):f("",!0)}});const Ti=m(Ii,[["__scopeId","data-v-02a26c90"]]),xi={key:0,class:"Layout"},Ni=g({__name:"Layout",setup(n){const{isOpen:e,open:t,close:o}=D(),s=te();W(()=>s.path,o),St(e,o),oe("close-sidebar",o),oe("is-sidebar-open",e);const{frontmatter:r}=S(),d=_t(),p=k(()=>!!d["home-hero-image"]);return oe("hero-image-slot-exists",p),(_,b)=>{const M=j("Content");return i(r).layout!==!1?(a(),l("div",xi,[c(_.$slots,"layout-top",{},void 0,!0),h(Ct),h(Tt,{class:"backdrop",show:i(e),onClick:i(o)},null,8,["show","onClick"]),h(Fo,null,{"nav-bar-title-before":v(()=>[c(_.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(_.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(_.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(_.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[c(_.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(_.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(pa,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),h(Sa,{open:i(e)},{"sidebar-nav-before":v(()=>[c(_.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[c(_.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Li,null,{"page-top":v(()=>[c(_.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(_.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[c(_.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[c(_.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(_.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[c(_.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(_.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(_.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(_.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[c(_.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(_.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(_.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[c(_.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(_.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[c(_.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(_.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(_.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(_.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(_.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(_.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Ti),c(_.$slots,"layout-bottom",{},void 0,!0)])):(a(),y(M,{key:1}))}}});const Ai=m(Ni,[["__scopeId","data-v-a9052f7b"]]);const Ei={Layout:Ai,enhanceApp:({app:n})=>{n.component("Badge",pt)}};export{Ei as t};
+  }`)),document.head.appendChild(P),o.value=$,p[$?"add":"remove"]("dark"),window.getComputedStyle(P).opacity,document.head.removeChild(P)}return I}return W(o,d=>{t.value=d}),(d,p)=>(a(),y(ss,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":o.value,onClick:i(s)},{default:v(()=>[h(cs,{class:"sun"}),h(hs,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const Ve=m(fs,[["__scopeId","data-v-fddcca66"]]),ms={key:0,class:"VPNavBarAppearance"},gs=g({__name:"VPNavBarAppearance",setup(n){const{site:e}=S();return(t,o)=>i(e).appearance?(a(),l("div",ms,[h(Ve)])):f("",!0)}});const ys=m(gs,[["__scopeId","data-v-213226ad"]]),bs={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',youtube:'YouTube'},$s=["href","aria-label","innerHTML"],ks=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=k(()=>typeof e.icon=="object"?e.icon.svg:bs[e.icon]);return(o,s)=>(a(),l("a",{class:"VPSocialLink",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,$s))}});const Ps=m(ks,[["__scopeId","data-v-ff69e5e9"]]),Vs={class:"VPSocialLinks"},ws=g({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),l("div",Vs,[(a(!0),l(C,null,A(e.links,({link:o,icon:s,ariaLabel:r})=>(a(),y(Ps,{key:o,icon:s,link:o,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}});const we=m(ws,[["__scopeId","data-v-852927d9"]]),Ss=g({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=S();return(t,o)=>i(e).socialLinks?(a(),y(we,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}});const Ls=m(Ss,[["__scopeId","data-v-23a01a5e"]]),Ms={key:0,class:"group translations"},Cs={class:"trans-title"},Bs={key:1,class:"group"},Is={class:"item appearance"},Ts={class:"label"},xs={class:"appearance-action"},Ns={key:2,class:"group"},As={class:"item social-links"},Hs=g({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=S(),{localeLinks:o,currentLang:s}=ne({correspondingLink:!0}),r=k(()=>o.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),y(Pe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[i(o).length&&i(s).label?(a(),l("div",Ms,[u("p",Cs,V(i(s).label),1),(a(!0),l(C,null,A(i(o),_=>(a(),y(le,{key:_.link,item:_},null,8,["item"]))),128))])):f("",!0),i(e).appearance?(a(),l("div",Bs,[u("div",Is,[u("p",Ts,V(i(t).darkModeSwitchLabel||"Appearance"),1),u("div",xs,[h(Ve)])])])):f("",!0),i(t).socialLinks?(a(),l("div",Ns,[u("div",As,[h(we,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const Es=m(Hs,[["__scopeId","data-v-9540d6c0"]]),zs=n=>(E("data-v-3e952b21"),n=n(),z(),n),Ds=["aria-expanded"],Fs=zs(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),Os=[Fs],Gs=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),l("button",{type:"button",class:B(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=o=>e.$emit("click"))},Os,10,Ds))}});const Rs=m(Gs,[["__scopeId","data-v-3e952b21"]]),js=n=>(E("data-v-26ba79d6"),n=n(),z(),n),Us={class:"container"},qs={class:"title"},Ws={class:"content"},Ys=js(()=>u("div",{class:"curtain"},null,-1)),Ks={class:"content-body"},Xs=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const{y:e}=Re(),{hasSidebar:t}=D(),o=k(()=>({"has-sidebar":t.value,fill:e.value>0}));return(s,r)=>(a(),l("div",{class:B(["VPNavBar",o.value])},[u("div",Us,[u("div",qs,[h(Ft,null,{"nav-bar-title-before":v(()=>[c(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(s.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",Ws,[Ys,u("div",Ks,[c(s.$slots,"nav-bar-content-before",{},void 0,!0),h(Yt,{class:"search"}),h(On,{class:"menu"}),h(Qn,{class:"translations"}),h(ys,{class:"appearance"}),h(Ls,{class:"social-links"}),h(Es,{class:"extra"}),c(s.$slots,"nav-bar-content-after",{},void 0,!0),h(Rs,{class:"hamburger",active:s.isScreenOpen,onClick:r[0]||(r[0]=d=>s.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const Qs=m(Xs,[["__scopeId","data-v-26ba79d6"]]);function Js(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e1),q=[],re=!1,Le=-1,X=void 0,R=void 0,Q=void 0,Ke=function(e){return q.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},ie=function(e){var t=e||window.event;return Ke(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},Zs=function(e){if(Q===void 0){var t=!!e&&e.reserveScrollBarGap===!0,o=window.innerWidth-document.documentElement.clientWidth;if(t&&o>0){var s=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);Q=document.body.style.paddingRight,document.body.style.paddingRight=s+o+"px"}}X===void 0&&(X=document.body.style.overflow,document.body.style.overflow="hidden")},eo=function(){Q!==void 0&&(document.body.style.paddingRight=Q,Q=void 0),X!==void 0&&(document.body.style.overflow=X,X=void 0)},to=function(){return window.requestAnimationFrame(function(){if(R===void 0){R={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,o=e.scrollX,s=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-o,setTimeout(function(){return window.requestAnimationFrame(function(){var r=s-window.innerHeight;r&&t>=s&&(document.body.style.top=-(t+r))})},300)}})},no=function(){if(R!==void 0){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=R.position,document.body.style.top=R.top,document.body.style.left=R.left,window.scrollTo(t,e),R=void 0}},so=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},oo=function(e,t){var o=e.targetTouches[0].clientY-Le;return Ke(e.target)?!1:t&&t.scrollTop===0&&o>0||so(t)&&o<0?ie(e):(e.stopPropagation(),!0)},Xe=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!q.some(function(s){return s.targetElement===e})){var o={targetElement:e,options:t||{}};q=[].concat(Js(q),[o]),ae?to():Zs(t),ae&&(e.ontouchstart=function(s){s.targetTouches.length===1&&(Le=s.targetTouches[0].clientY)},e.ontouchmove=function(s){s.targetTouches.length===1&&oo(s,e)},re||(document.addEventListener("touchmove",ie,Se?{passive:!1}:void 0),re=!0))}},Qe=function(){ae&&(q.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),re&&(document.removeEventListener("touchmove",ie,Se?{passive:!1}:void 0),re=!1),Le=-1),ae?no():eo(),q=[]};const ao=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=me("close-screen");return(t,o)=>(a(),y(G,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const ro=m(ao,[["__scopeId","data-v-806b550b"]]),io={},lo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},co=u("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),uo=[co];function _o(n,e){return a(),l("svg",lo,uo)}const vo=m(io,[["render",_o]]),po=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=me("close-screen");return(t,o)=>(a(),y(G,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const Je=m(po,[["__scopeId","data-v-164106b4"]]),ho={class:"VPNavScreenMenuGroupSection"},fo={key:0,class:"title"},mo=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),l("div",ho,[e.text?(a(),l("p",fo,V(e.text),1)):f("",!0),(a(!0),l(C,null,A(e.items,o=>(a(),y(Je,{key:o.text,item:o},null,8,["item"]))),128))]))}});const go=m(mo,[["__scopeId","data-v-97c14216"]]),yo=["aria-controls","aria-expanded"],bo={class:"button-text"},$o=["id"],ko={key:1,class:"group"},Po=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=L(!1),o=k(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(r,d)=>(a(),l("div",{class:B(["VPNavScreenMenuGroup",{open:t.value}])},[u("button",{class:"button","aria-controls":o.value,"aria-expanded":t.value,onClick:s},[u("span",bo,V(r.text),1),h(vo,{class:"button-icon"})],8,yo),u("div",{id:o.value,class:"items"},[(a(!0),l(C,null,A(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[h(Je,{item:p},null,8,["item"])])):(a(),l("div",ko,[h(go,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,$o)],2))}});const Vo=m(Po,[["__scopeId","data-v-88d066bb"]]),wo={key:0,class:"VPNavScreenMenu"},So=g({__name:"VPNavScreenMenu",setup(n){const{theme:e}=S();return(t,o)=>i(e).nav?(a(),l("nav",wo,[(a(!0),l(C,null,A(i(e).nav,s=>(a(),l(C,{key:s.text},["link"in s?(a(),y(ro,{key:0,item:s},null,8,["item"])):(a(),y(Vo,{key:1,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Lo={key:0,class:"VPNavScreenAppearance"},Mo={class:"text"},Co=g({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=S();return(o,s)=>i(e).appearance?(a(),l("div",Lo,[u("p",Mo,V(i(t).darkModeSwitchLabel||"Appearance"),1),h(Ve)])):f("",!0)}});const Bo=m(Co,[["__scopeId","data-v-8875c2ff"]]),Io={class:"list"},To=g({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=ne({correspondingLink:!0}),o=L(!1);function s(){o.value=!o.value}return(r,d)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:B(["VPNavScreenTranslations",{open:o.value}])},[u("button",{class:"title",onClick:s},[h(Ye,{class:"icon lang"}),N(" "+V(i(t).label)+" ",1),h(We,{class:"icon chevron"})]),u("ul",Io,[(a(!0),l(C,null,A(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[h(G,{class:"link",href:p.link},{default:v(()=>[N(V(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const xo=m(To,[["__scopeId","data-v-3098b8fa"]]),No=g({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=S();return(t,o)=>i(e).socialLinks?(a(),y(we,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Ao={class:"container"},Ho=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=L(null);function t(){Xe(e.value,{reserveScrollBarGap:!0})}function o(){Qe()}return(s,r)=>(a(),y(fe,{name:"fade",onEnter:t,onAfterLeave:o},{default:v(()=>[s.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e},[u("div",Ao,[c(s.$slots,"nav-screen-content-before",{},void 0,!0),h(So,{class:"menu"}),h(xo,{class:"translations"}),h(Bo,{class:"appearance"}),h(No,{class:"social-links"}),c(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const Eo=m(Ho,[["__scopeId","data-v-ba947e9e"]]),zo={class:"VPNav"},Do=g({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=xt();return oe("close-screen",t),(s,r)=>(a(),l("header",zo,[h(Qs,{"is-screen-open":i(e),onToggleScreen:i(o)},{"nav-bar-title-before":v(()=>[c(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(s.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(s.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(s.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(Eo,{open:i(e)},{"nav-screen-content-before":v(()=>[c(s.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(s.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const Fo=m(Do,[["__scopeId","data-v-747196f4"]]);function Oo(){const{hasSidebar:n}=D(),e=de("(min-width: 960px)"),t=de("(min-width: 1280px)");return{isAsideEnabled:k(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const Go=71;function Me(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function Ce(n){const e=[...document.querySelectorAll(".VPDoc h2,h3,h4,h5,h6")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const o=Number(t.tagName[1]);return{title:Ro(t),link:"#"+t.id,level:o}});return jo(e,n)}function Ro(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function jo(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[o,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(d=>d.level>=o&&d.level<=s);const r=[];e:for(let d=0;d=0;_--){const b=n[_];if(b.level{requestAnimationFrame(r),window.addEventListener("scroll",o)}),it(()=>{d(location.hash)}),he(()=>{window.removeEventListener("scroll",o)});function r(){if(!t.value)return;const p=[].slice.call(n.value.querySelectorAll(".outline-link")),_=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter($=>p.some(P=>P.hash===$.hash&&$.offsetParent!==null)),b=window.scrollY,M=window.innerHeight,I=document.body.offsetHeight,T=Math.abs(b+M-I)<1;if(_.length&&T){d(_[_.length-1].hash);return}for(let $=0;$<_.length;$++){const P=_[$],x=_[$+1],[w,H]=qo($,P,x);if(w){d(H);return}}}function d(p){s&&s.classList.remove("active"),p!==null&&(s=n.value.querySelector(`a[href="${decodeURIComponent(p)}"]`));const _=s;_?(_.classList.add("active"),e.value.style.top=_.offsetTop+33+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function He(n){return n.parentElement.offsetTop-Go}function qo(n,e,t){const o=window.scrollY;return n===0&&o===0?[!0,null]:o{const s=j("VPDocOutlineItem",!0);return a(),l("ul",{class:B(t.root?"root":"nested")},[(a(!0),l(C,null,A(t.headers,({children:r,link:d,title:p})=>(a(),l("li",null,[u("a",{class:"outline-link",href:d,onClick:e,title:p},V(p),9,Wo),r!=null&&r.length?(a(),y(s,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}});const Be=m(Yo,[["__scopeId","data-v-53c59a9f"]]),Ko={},Xo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Qo=u("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),Jo=[Qo];function Zo(n,e){return a(),l("svg",Xo,Jo)}const Ie=m(Ko,[["render",Zo]]),ea=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{}},setup(n){const{theme:e}=S(),t=L(!1),o=L(0),s=L();Z(()=>{t.value=!1});function r(){t.value=!t.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function d(_){_.target.classList.contains("outline-link")&&(s.value&&(s.value.style.transition="none"),Oe(()=>{t.value=!1}))}function p(){t.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,b)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:ze({"--vp-vh":o.value+"px"})},[_.headers.length>0?(a(),l("button",{key:0,onClick:r,class:B({open:t.value})},[N(V(i(Me)(i(e)))+" ",1),h(Ie,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:p},V(i(e).returnToTopLabel||"Return to top"),1)),h(fe,{name:"flyout"},{default:v(()=>[t.value?(a(),l("div",{key:0,ref_key:"items",ref:s,class:"items",onClick:d},[u("a",{class:"top-link",href:"#",onClick:p},V(i(e).returnToTopLabel||"Return to top"),1),h(Be,{headers:_.headers},null,8,["headers"])],512)):f("",!0)]),_:1})],4))}});const ta=m(ea,[["__scopeId","data-v-60db0afe"]]),na={},sa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},oa=u("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),aa=u("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),ra=u("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),ia=u("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),la=[oa,aa,ra,ia];function ca(n,e){return a(),l("svg",sa,la)}const ua=m(na,[["render",ca]]),da=["aria-expanded"],_a={class:"menu-text"},va=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=S(),{hasSidebar:o}=D(),{y:s}=Re(),r=ge([]);Z(()=>{r.value=Ce(t.value.outline??e.value.outline)});const d=k(()=>r.value.length===0&&!o.value),p=k(()=>({VPLocalNav:!0,fixed:d.value,"reached-top":s.value>=64}));return(_,b)=>i(t).layout!=="home"&&(!d.value||i(s)>=64)?(a(),l("div",{key:0,class:B(p.value)},[i(o)?(a(),l("button",{key:0,class:"menu","aria-expanded":_.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=M=>_.$emit("open-menu"))},[h(ua,{class:"menu-icon"}),u("span",_a,V(i(e).sidebarMenuLabel||"Menu"),1)],8,da)):f("",!0),h(ta,{headers:r.value},null,8,["headers"])],2)):f("",!0)}});const pa=m(va,[["__scopeId","data-v-8bdac900"]]),ha=n=>(E("data-v-a7b3dc72"),n=n(),z(),n),fa=["role","tabindex"],ma=ha(()=>u("div",{class:"indicator"},null,-1)),ga=["onKeydown"],ya={key:1,class:"items"},ba=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:o,isLink:s,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:_}=Lt(k(()=>e.item)),b=k(()=>p.value?"section":"div"),M=k(()=>s.value?"a":"div"),I=k(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),T=k(()=>s.value?void 0:"button"),$=k(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":s.value},{"is-active":r.value},{"has-active":d.value}]);function P(w){"key"in w&&w.key!=="Enter"||!e.item.link&&_()}function x(){e.item.link&&_()}return(w,H)=>{const K=j("VPSidebarItem",!0);return a(),y(U(b.value),{class:B(["VPSidebarItem",$.value])},{default:v(()=>[w.item.text?(a(),l("div",se({key:0,class:"item",role:T.value},lt(w.item.items?{click:P,keydown:P}:{},!0),{tabindex:w.item.items&&0}),[ma,w.item.link?(a(),y(G,{key:0,tag:M.value,class:"link",href:w.item.link},{default:v(()=>[(a(),y(U(I.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(a(),y(U(I.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:x,onKeydown:ct(x,["enter"]),tabindex:"0"},[h(Ie,{class:"caret-icon"})],40,ga)):f("",!0)],16,fa)):f("",!0),w.item.items&&w.item.items.length?(a(),l("div",ya,[w.depth<5?(a(!0),l(C,{key:0},A(w.item.items,F=>(a(),y(K,{key:F.text,item:F,depth:w.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const $a=m(ba,[["__scopeId","data-v-a7b3dc72"]]),Ze=n=>(E("data-v-6998476f"),n=n(),z(),n),ka=Ze(()=>u("div",{class:"curtain"},null,-1)),Pa={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Va=Ze(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),wa=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const e=n,{sidebarGroups:t,hasSidebar:o}=D();let s=L(null);function r(){Xe(s.value,{reserveScrollBarGap:!0})}function d(){Qe()}return ut(async()=>{var p;e.open?(r(),(p=s.value)==null||p.focus()):d()}),(p,_)=>i(o)?(a(),l("aside",{key:0,class:B(["VPSidebar",{open:p.open}]),ref_key:"navEl",ref:s,onClick:_[0]||(_[0]=dt(()=>{},["stop"]))},[ka,u("nav",Pa,[Va,c(p.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,A(i(t),b=>(a(),l("div",{key:b.text,class:"group"},[h($a,{item:b,depth:0},null,8,["item"])]))),128)),c(p.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const Sa=m(wa,[["__scopeId","data-v-6998476f"]]),La={},Ma={class:"VPPage"};function Ca(n,e){const t=j("Content");return a(),l("div",Ma,[c(n.$slots,"page-top"),h(t),c(n.$slots,"page-bottom")])}const Ba=m(La,[["render",Ca]]),Ia=g({__name:"VPButton",props:{tag:{},size:{},theme:{},text:{},href:{}},setup(n){const e=n,t=k(()=>[e.size??"medium",e.theme??"brand"]),o=k(()=>e.href&&De.test(e.href)),s=k(()=>e.tag?e.tag:e.href?"a":"button");return(r,d)=>(a(),y(U(s.value),{class:B(["VPButton",t.value]),href:r.href?i(ee)(r.href):void 0,target:o.value?"_blank":void 0,rel:o.value?"noreferrer":void 0},{default:v(()=>[N(V(r.text),1)]),_:1},8,["class","href","target","rel"]))}});const Ta=m(Ia,[["__scopeId","data-v-c5b4207e"]]),xa=n=>(E("data-v-e60878a1"),n=n(),z(),n),Na={class:"container"},Aa={class:"main"},Ha={key:0,class:"name"},Ea={class:"clip"},za={key:1,class:"text"},Da={key:2,class:"tagline"},Fa={key:0,class:"actions"},Oa={key:0,class:"image"},Ga={class:"image-container"},Ra=xa(()=>u("div",{class:"image-bg"},null,-1)),ja=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=me("hero-image-slot-exists");return(t,o)=>(a(),l("div",{class:B(["VPHero",{"has-image":t.image||i(e)}])},[u("div",Na,[u("div",Aa,[c(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Ha,[u("span",Ea,V(t.name),1)])):f("",!0),t.text?(a(),l("p",za,V(t.text),1)):f("",!0),t.tagline?(a(),l("p",Da,V(t.tagline),1)):f("",!0)],!0),t.actions?(a(),l("div",Fa,[(a(!0),l(C,null,A(t.actions,s=>(a(),l("div",{key:s.link,class:"action"},[h(Ta,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Oa,[u("div",Ga,[Ra,c(t.$slots,"home-hero-image",{},()=>[t.image?(a(),y($e,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const Ua=m(ja,[["__scopeId","data-v-e60878a1"]]),qa=g({__name:"VPHomeHero",setup(n){const{frontmatter:e}=S();return(t,o)=>i(e).hero?(a(),y(Ua,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info":v(()=>[c(t.$slots,"home-hero-info")]),"home-hero-image":v(()=>[c(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Wa={},Ya={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ka=u("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),Xa=[Ka];function Qa(n,e){return a(),l("svg",Ya,Xa)}const Ja=m(Wa,[["render",Qa]]),Za={class:"box"},er=["innerHTML"],tr=["innerHTML"],nr=["innerHTML"],sr={key:3,class:"link-text"},or={class:"link-text-value"},ar=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{}},setup(n){return(e,t)=>(a(),y(G,{class:"VPFeature",href:e.link,"no-icon":!0},{default:v(()=>[u("article",Za,[typeof e.icon=="object"?(a(),y($e,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:1,class:"icon",innerHTML:e.icon},null,8,er)):f("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,tr),e.details?(a(),l("p",{key:2,class:"details",innerHTML:e.details},null,8,nr)):f("",!0),e.linkText?(a(),l("div",sr,[u("p",or,[N(V(e.linkText)+" ",1),h(Ja,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href"]))}});const rr=m(ar,[["__scopeId","data-v-e348fff1"]]),ir={key:0,class:"VPFeatures"},lr={class:"container"},cr={class:"items"},ur=g({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=k(()=>{const o=e.features.length;if(o){if(o===2)return"grid-2";if(o===3)return"grid-3";if(o%3===0)return"grid-6";if(o>3)return"grid-4"}else return});return(o,s)=>o.features?(a(),l("div",ir,[u("div",lr,[u("div",cr,[(a(!0),l(C,null,A(o.features,r=>(a(),l("div",{key:r.title,class:B(["item",[t.value]])},[h(rr,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):f("",!0)}});const dr=m(ur,[["__scopeId","data-v-0f4b6920"]]),_r=g({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=S();return(t,o)=>i(e).features?(a(),y(dr,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),vr={class:"VPHome"},pr=g({__name:"VPHome",setup(n){return(e,t)=>{const o=j("Content");return a(),l("div",vr,[c(e.$slots,"home-hero-before",{},void 0,!0),h(qa,null,{"home-hero-info":v(()=>[c(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[c(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(e.$slots,"home-hero-after",{},void 0,!0),c(e.$slots,"home-features-before",{},void 0,!0),h(_r),c(e.$slots,"home-features-after",{},void 0,!0),h(o)])}}});const hr=m(pr,[["__scopeId","data-v-440cab4b"]]),fr=n=>(E("data-v-0d713305"),n=n(),z(),n),mr={class:"content"},gr={class:"outline-title"},yr={"aria-labelledby":"doc-outline-aria-label"},br=fr(()=>u("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),$r=g({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=S(),o=ge([]);Z(()=>{o.value=Ce(e.value.outline??t.value.outline)});const s=L(),r=L();return Uo(s,r),(d,p)=>(a(),l("div",{class:B(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:s},[u("div",mr,[u("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),u("div",gr,V(i(Me)(i(t))),1),u("nav",yr,[br,h(Be,{headers:o.value,root:!0},null,8,["headers"])])])],2))}});const kr=m($r,[["__scopeId","data-v-0d713305"]]),Pr={class:"VPDocAsideCarbonAds"},Vr=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,o)=>(a(),l("div",Pr,[h(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),wr=n=>(E("data-v-54f4a82c"),n=n(),z(),n),Sr={class:"VPDocAside"},Lr=wr(()=>u("div",{class:"spacer"},null,-1)),Mr=g({__name:"VPDocAside",setup(n){const{theme:e}=S();return(t,o)=>(a(),l("div",Sr,[c(t.$slots,"aside-top",{},void 0,!0),c(t.$slots,"aside-outline-before",{},void 0,!0),h(kr),c(t.$slots,"aside-outline-after",{},void 0,!0),Lr,c(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),y(Vr,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),c(t.$slots,"aside-ads-after",{},void 0,!0),c(t.$slots,"aside-bottom",{},void 0,!0)]))}});const Cr=m(Mr,[["__scopeId","data-v-54f4a82c"]]);function Br(){const{theme:n,page:e}=S();return k(()=>{const{text:t="Edit this page",pattern:o=""}=n.value.editLink||{};let s;return typeof o=="function"?s=o(e.value):s=o.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function Ir(){const{page:n,theme:e,frontmatter:t}=S();return k(()=>{var _,b,M,I,T,$;const o=je(e.value.sidebar,n.value.relativePath),s=wt(o),r=s.findIndex(P=>Y(n.value.relativePath,P.link)),d=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((b=e.value.docFooter)==null?void 0:b.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((M=s[r-1])==null?void 0:M.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=s[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((T=s[r+1])==null?void 0:T.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??(($=s[r+1])==null?void 0:$.link)}}})}const Tr={},xr={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Nr=u("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Ar=u("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Hr=[Nr,Ar];function Er(n,e){return a(),l("svg",xr,Hr)}const zr=m(Tr,[["render",Er]]),Dr={class:"VPLastUpdated"},Fr=["datetime"],Or=g({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:o}=S(),s=k(()=>new Date(t.value.lastUpdated)),r=k(()=>s.value.toISOString()),d=L("");return O(()=>{J(()=>{d.value=s.value.toLocaleString(o.value)})}),(p,_)=>(a(),l("p",Dr,[N(V(i(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:r.value},V(d.value),9,Fr)]))}});const Gr=m(Or,[["__scopeId","data-v-7c7f467f"]]),Rr={key:0,class:"VPDocFooter"},jr={key:0,class:"edit-info"},Ur={key:0,class:"edit-link"},qr={key:1,class:"last-updated"},Wr={key:1,class:"prev-next"},Yr={class:"pager"},Kr=["href"],Xr=["innerHTML"],Qr=["innerHTML"],Jr=["href"],Zr=["innerHTML"],ei=["innerHTML"],ti=g({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:o}=S(),s=Br(),r=Ir(),d=k(()=>e.value.editLink&&o.value.editLink!==!1),p=k(()=>t.value.lastUpdated&&o.value.lastUpdated!==!1),_=k(()=>d.value||p.value||r.value.prev||r.value.next);return(b,M)=>{var I,T,$,P,x,w,H;return _.value?(a(),l("footer",Rr,[c(b.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),l("div",jr,[d.value?(a(),l("div",Ur,[h(G,{class:"edit-link-button",href:i(s).url,"no-icon":!0},{default:v(()=>[h(zr,{class:"edit-link-icon","aria-label":"edit icon"}),N(" "+V(i(s).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",qr,[h(Gr)])):f("",!0)])):f("",!0),(I=i(r).prev)!=null&&I.link||(T=i(r).next)!=null&&T.link?(a(),l("div",Wr,[u("div",Yr,[($=i(r).prev)!=null&&$.link?(a(),l("a",{key:0,class:"pager-link prev",href:i(ee)(i(r).prev.link)},[u("span",{class:"desc",innerHTML:((P=i(e).docFooter)==null?void 0:P.prev)||"Previous page"},null,8,Xr),u("span",{class:"title",innerHTML:i(r).prev.text},null,8,Qr)],8,Kr)):f("",!0)]),u("div",{class:B(["pager",{"has-prev":(x=i(r).prev)==null?void 0:x.link}])},[(w=i(r).next)!=null&&w.link?(a(),l("a",{key:0,class:"pager-link next",href:i(ee)(i(r).next.link)},[u("span",{class:"desc",innerHTML:((H=i(e).docFooter)==null?void 0:H.next)||"Next page"},null,8,Zr),u("span",{class:"title",innerHTML:i(r).next.text},null,8,ei)],8,Jr)):f("",!0)],2)])):f("",!0)])):f("",!0)}}});const ni=m(ti,[["__scopeId","data-v-390dc5d2"]]),si={key:0,class:"VPDocOutlineDropdown"},oi={key:0,class:"items"},ai=g({__name:"VPDocOutlineDropdown",setup(n){const{frontmatter:e,theme:t}=S(),o=L(!1);Z(()=>{o.value=!1});const s=ge([]);return Z(()=>{s.value=Ce(e.value.outline??t.value.outline)}),(r,d)=>s.value.length>0?(a(),l("div",si,[u("button",{onClick:d[0]||(d[0]=p=>o.value=!o.value),class:B({open:o.value})},[N(V(i(Me)(i(t)))+" ",1),h(Ie,{class:"icon"})],2),o.value?(a(),l("div",oi,[h(Be,{headers:s.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const ri=m(ai,[["__scopeId","data-v-dc45c98f"]]),ii=n=>(E("data-v-0fad08d6"),n=n(),z(),n),li={class:"container"},ci=ii(()=>u("div",{class:"aside-curtain"},null,-1)),ui={class:"aside-container"},di={class:"aside-content"},_i={class:"content"},vi={class:"content-container"},pi={class:"main"},hi=g({__name:"VPDoc",setup(n){const e=te(),{hasSidebar:t,hasAside:o,leftAside:s}=D(),r=k(()=>e.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(d,p)=>{const _=j("Content");return a(),l("div",{class:B(["VPDoc",{"has-sidebar":i(t),"has-aside":i(o)}])},[c(d.$slots,"doc-top",{},void 0,!0),u("div",li,[i(o)?(a(),l("div",{key:0,class:B(["aside",{"left-aside":i(s)}])},[ci,u("div",ui,[u("div",di,[h(Cr,null,{"aside-top":v(()=>[c(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),u("div",_i,[u("div",vi,[c(d.$slots,"doc-before",{},void 0,!0),h(ri),u("main",pi,[h(_,{class:B(["vp-doc",r.value])},null,8,["class"])]),h(ni,null,{"doc-footer-before":v(()=>[c(d.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(d.$slots,"doc-after",{},void 0,!0)])])]),c(d.$slots,"doc-bottom",{},void 0,!0)],2)}}});const fi=m(hi,[["__scopeId","data-v-0fad08d6"]]),ce=n=>(E("data-v-b8af00fd"),n=n(),z(),n),mi={class:"NotFound"},gi=ce(()=>u("p",{class:"code"},"404",-1)),yi=ce(()=>u("h1",{class:"title"},"PAGE NOT FOUND",-1)),bi=ce(()=>u("div",{class:"divider"},null,-1)),$i=ce(()=>u("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),ki={class:"action"},Pi=["href"],Vi=g({__name:"NotFound",setup(n){const{site:e}=S(),{localeLinks:t}=ne({removeCurrent:!1}),o=L("/");return O(()=>{var r;const s=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");t.value.length&&(o.value=((r=t.value.find(({link:d})=>d.startsWith(s)))==null?void 0:r.link)||t.value[0].link)}),(s,r)=>(a(),l("div",mi,[gi,yi,bi,$i,u("div",ki,[u("a",{class:"link",href:i(pe)(o.value),"aria-label":"go to home"}," Take me home ",8,Pi)])]))}});const wi=m(Vi,[["__scopeId","data-v-b8af00fd"]]),Si=g({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=S(),{hasSidebar:o}=D();return(s,r)=>(a(),l("div",{class:B(["VPContent",{"has-sidebar":i(o),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?c(s.$slots,"not-found",{key:0},()=>[h(wi)],!0):i(t).layout==="page"?(a(),y(Ba,{key:1},{"page-top":v(()=>[c(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),y(hr,{key:2},{"home-hero-before":v(()=>[c(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[c(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):(a(),y(fi,{key:3},{"doc-top":v(()=>[c(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[c(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[c(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[c(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[c(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Li=m(Si,[["__scopeId","data-v-a21192d1"]]),Mi={class:"container"},Ci=["innerHTML"],Bi=["innerHTML"],Ii=g({__name:"VPFooter",setup(n){const{theme:e}=S(),{hasSidebar:t}=D();return(o,s)=>i(e).footer?(a(),l("footer",{key:0,class:B(["VPFooter",{"has-sidebar":i(t)}])},[u("div",Mi,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,Ci)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Bi)):f("",!0)])],2)):f("",!0)}});const Ti=m(Ii,[["__scopeId","data-v-deef8d4e"]]),xi={key:0,class:"Layout"},Ni=g({__name:"Layout",setup(n){const{isOpen:e,open:t,close:o}=D(),s=te();W(()=>s.path,o),St(e,o),oe("close-sidebar",o),oe("is-sidebar-open",e);const{frontmatter:r}=S(),d=_t(),p=k(()=>!!d["home-hero-image"]);return oe("hero-image-slot-exists",p),(_,b)=>{const M=j("Content");return i(r).layout!==!1?(a(),l("div",xi,[c(_.$slots,"layout-top",{},void 0,!0),h(Ct),h(Tt,{class:"backdrop",show:i(e),onClick:i(o)},null,8,["show","onClick"]),h(Fo,null,{"nav-bar-title-before":v(()=>[c(_.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(_.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(_.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(_.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[c(_.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(_.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(pa,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),h(Sa,{open:i(e)},{"sidebar-nav-before":v(()=>[c(_.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[c(_.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Li,null,{"page-top":v(()=>[c(_.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(_.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[c(_.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[c(_.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(_.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[c(_.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(_.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(_.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(_.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[c(_.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(_.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(_.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[c(_.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(_.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[c(_.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(_.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(_.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(_.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(_.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(_.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Ti),c(_.$slots,"layout-bottom",{},void 0,!0)])):(a(),y(M,{key:1}))}}});const Ai=m(Ni,[["__scopeId","data-v-4b5d86c2"]]);const Ei={Layout:Ai,enhanceApp:({app:n})=>{n.component("Badge",pt)}};export{Ei as t};
diff --git a/assets/components_alert.md.b9dfb605.js b/assets/components_alert.md.a2102b80.js
similarity index 83%
rename from assets/components_alert.md.b9dfb605.js
rename to assets/components_alert.md.a2102b80.js
index ad82de201e..6069bbc7e5 100644
--- a/assets/components_alert.md.b9dfb605.js
+++ b/assets/components_alert.md.a2102b80.js
@@ -1,4 +1,4 @@
-import{d as f,A as F,c as i,C as t,y as o,v as l,M as y,o as v,a as s,b as p,K as u,L as h,_ as E}from"./chunks/framework.59a1e8ef.js";import{F as D}from"./chunks/index.f2c0282e.js";const e=r=>(u("data-v-74e8792f"),r=r(),h(),r),C=y('

Alert 警告

用于页面中展示重要的提示信息

基本使用

type 属性可以配置不同的主题类型,展示不同的颜色状态

',5),_=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` +import{d as f,A as F,c as i,C as t,y as o,v as l,M as y,o as v,a as s,b as p,K as u,L as h,_ as E}from"./chunks/framework.59a1e8ef.js";import{F as D}from"./chunks/index.f2c0282e.js";const e=r=>(u("data-v-5188f063"),r=r(),h(),r),C=y('

Alert 警告

用于页面中展示重要的提示信息

基本使用

type 属性可以配置不同的主题类型,展示不同的颜色状态

',5),_=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"primary"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"主要提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"success"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"成功提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"danger"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"危险提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` @@ -46,4 +46,4 @@ import{d as f,A as F,c as i,C as t,y as o,v as l,M as y,o as v,a as s,b as p,K a `),l("span",{class:"line"}),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"script"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"lang"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"ts"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"setup"),l("span",{style:{color:"#89DDFF"}},">")]),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF"}},"{"),l("span",{style:{color:"#F07178"}}," "),l("span",{style:{color:"#BABED8"}},"FIconFaceSmile"),l("span",{style:{color:"#F07178"}}," "),l("span",{style:{color:"#89DDFF"}},"}"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF","font-style":"italic"}},"from"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF"}},"'"),l("span",{style:{color:"#C3E88D"}},"@fighting-design/fighting-icon"),l("span",{style:{color:"#89DDFF"}},"'")]),s(` -`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"")])])])],-1)),Y=y('

Attributes

参数说明类型可选值默认值
type类型FightingTypedefault primary success danger warning infodefault
font-size副标题文字大小string / number————
title-size主标题文字大小string / number————
bold文字是否以粗体显示boolean——false
center是否居中boolean——false
close可关闭boolean——false
simple简约模式boolean——false
title标题string————
round显示为圆角boolean——false
background背景颜色string————
color副标题字体颜色string————
title-color主标题字体颜色string————
fixed是否固定定位boolean——false
alert-list滚动列表array (string[])————
duration滚动列表滚动时间间隔number————
before-icon自定义前缀 iconFightingIcon————
close-icon自定义关闭 iconFightingIcon————
on-close点击关闭之后执行的回调HandleMouse————

Slots

名称说明
default自定义副标题的内容
title自定义主标题的内容
closeIcon自定义关闭 icon
beforeIcon自定义前缀 icon

Interface

组件导出以下类型定义:

ts
import type { AlertInstance, AlertProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--alert-border-radius圆角大小
--alert-color文字颜色
--alert-background背景色

Contributors

',11),Z={href:"https://github.com/Tyh2001",target:"_blank"},$={href:"https://github.com/jardeng",target:"_blank"},ll={href:"https://github.com/HeHasGun",target:"_blank"},sl={href:"https://github.com/long-life233",target:"_blank"},cl=JSON.parse('{"title":"Alert 警告","description":"","frontmatter":{},"headers":[],"relativePath":"components/alert.md","filePath":"components/alert.md","lastUpdated":1695888875000}'),ol={name:"components/alert.md"},tl=f({...ol,setup(r){const d=["把大象放进冰箱需要几步?","第一步:打开冰箱门","第二步:把大象装进去","第三步:关好冰箱门"];return(al,el)=>{const a=F("f-alert"),n=F("vp-demo"),c=F("f-avatar");return v(),i("div",null,[C,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[_]),_:1}),m,A,t(n,{source:""},{source:o(()=>[t(a,{"font-size":12,type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{"font-size":14,type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{"font-size":16,type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{"font-size":"20px",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{"font-size":"24px",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{"font-size":"27px",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[g]),_:1}),B,b,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未加粗的默认提示信息")]),_:1}),t(a,{type:"primary",bold:""},{default:o(()=>[s("加粗的主要提示信息")]),_:1}),t(a,{type:"success",bold:""},{default:o(()=>[s("加粗的成功提示信息")]),_:1}),t(a,{type:"danger",bold:""},{default:o(()=>[s("加粗的危险提示信息")]),_:1})]),default:o(()=>[k]),_:1}),x,P,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未居中的默认提示信息")]),_:1}),t(a,{type:"primary",center:""},{default:o(()=>[s("居中的主要提示信息")]),_:1}),t(a,{type:"success",center:""},{default:o(()=>[s("居中的成功提示信息")]),_:1}),t(a,{type:"danger",center:""},{default:o(()=>[s("居中的危险提示信息")]),_:1})]),default:o(()=>[I]),_:1}),z,S,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",close:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",close:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",close:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[q]),_:1}),w,H,t(n,{source:""},{source:o(()=>[t(a,{simple:"",type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{simple:"",type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{simple:"",type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{simple:"",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{simple:"",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{simple:"",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[N]),_:1}),L,V,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",round:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",round:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",round:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[T]),_:1}),M,j,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",background:"#58c8de"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",background:"#e372ff"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",background:"#e49b33"},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[G]),_:1}),J,K,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",title:"Hello~"},{default:o(()=>[s("今天代码写的很愉快!")]),_:1}),t(a,{type:"success",title:"标题"},{default:o(()=>[s("心情很不错")]),_:1})]),default:o(()=>[O]),_:1}),U,Q,t(n,{source:""},{source:o(()=>[t(a,{"alert-list":d,title:"你知道吗?",type:"primary"})]),default:o(()=>[R]),_:1}),W,t(n,{source:""},{source:o(()=>[t(a,{type:"default","before-icon":p(D)},{default:o(()=>[s("默认提示信息")]),_:1},8,["before-icon"]),t(a,{type:"primary","before-icon":p(D)},{default:o(()=>[s("主要提示信息")]),_:1},8,["before-icon"]),t(a,{type:"success","before-icon":p(D)},{default:o(()=>[s("成功提示信息")]),_:1},8,["before-icon"]),t(a,{type:"danger","before-icon":p(D)},{default:o(()=>[s("危险提示信息")]),_:1},8,["before-icon"])]),default:o(()=>[X]),_:1}),Y,l("a",Z,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),l("a",$,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/19302222?v=4"})]),l("a",ll,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/66313154?v=4"})]),l("a",sl,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/77321887?v=4"})])])}}});const pl=E(tl,[["__scopeId","data-v-74e8792f"]]);export{cl as __pageData,pl as default}; +`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"")])])])],-1)),Y=y('

Attributes

参数说明类型可选值默认值
type类型FightingTypedefault primary success danger warning infodefault
font-size副标题文字大小string / number————
title-size主标题文字大小string / number————
bold文字是否以粗体显示boolean——false
center是否居中boolean——false
close可关闭boolean——false
simple简约模式boolean——false
title标题string————
round显示为圆角boolean——false
background背景颜色string————
color副标题字体颜色string————
title-color主标题字体颜色string————
fixed是否固定定位boolean——false
alert-list滚动列表array (string[])————
duration滚动列表滚动时间间隔number————
before-icon自定义前缀 iconFightingIcon————
close-icon自定义关闭 iconFightingIcon————
on-close点击关闭之后执行的回调HandleMouse————

Slots

名称说明
default自定义副标题的内容
title自定义主标题的内容
closeIcon自定义关闭 icon
beforeIcon自定义前缀 icon

Interface

组件导出以下类型定义:

ts
import type { AlertInstance, AlertProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--alert-border-radius圆角大小
--alert-color文字颜色
--alert-background背景色

Contributors

',11),Z={href:"https://github.com/Tyh2001",target:"_blank"},$={href:"https://github.com/jardeng",target:"_blank"},ll={href:"https://github.com/HeHasGun",target:"_blank"},sl={href:"https://github.com/long-life233",target:"_blank"},cl=JSON.parse('{"title":"Alert 警告","description":"","frontmatter":{},"headers":[],"relativePath":"components/alert.md","filePath":"components/alert.md","lastUpdated":1696667892000}'),ol={name:"components/alert.md"},tl=f({...ol,setup(r){const d=["把大象放进冰箱需要几步?","第一步:打开冰箱门","第二步:把大象装进去","第三步:关好冰箱门"];return(al,el)=>{const a=F("f-alert"),n=F("vp-demo"),c=F("f-avatar");return v(),i("div",null,[C,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[_]),_:1}),m,A,t(n,{source:""},{source:o(()=>[t(a,{"font-size":12,type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{"font-size":14,type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{"font-size":16,type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{"font-size":"20px",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{"font-size":"24px",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{"font-size":"27px",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[g]),_:1}),B,b,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未加粗的默认提示信息")]),_:1}),t(a,{type:"primary",bold:""},{default:o(()=>[s("加粗的主要提示信息")]),_:1}),t(a,{type:"success",bold:""},{default:o(()=>[s("加粗的成功提示信息")]),_:1}),t(a,{type:"danger",bold:""},{default:o(()=>[s("加粗的危险提示信息")]),_:1})]),default:o(()=>[k]),_:1}),x,P,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未居中的默认提示信息")]),_:1}),t(a,{type:"primary",center:""},{default:o(()=>[s("居中的主要提示信息")]),_:1}),t(a,{type:"success",center:""},{default:o(()=>[s("居中的成功提示信息")]),_:1}),t(a,{type:"danger",center:""},{default:o(()=>[s("居中的危险提示信息")]),_:1})]),default:o(()=>[I]),_:1}),z,S,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",close:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",close:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",close:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[q]),_:1}),w,H,t(n,{source:""},{source:o(()=>[t(a,{simple:"",type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{simple:"",type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{simple:"",type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{simple:"",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{simple:"",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{simple:"",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[N]),_:1}),L,V,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",round:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",round:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",round:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[T]),_:1}),M,j,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",background:"#58c8de"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",background:"#e372ff"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",background:"#e49b33"},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[G]),_:1}),J,K,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",title:"Hello~"},{default:o(()=>[s("今天代码写的很愉快!")]),_:1}),t(a,{type:"success",title:"标题"},{default:o(()=>[s("心情很不错")]),_:1})]),default:o(()=>[O]),_:1}),U,Q,t(n,{source:""},{source:o(()=>[t(a,{"alert-list":d,title:"你知道吗?",type:"primary"})]),default:o(()=>[R]),_:1}),W,t(n,{source:""},{source:o(()=>[t(a,{type:"default","before-icon":p(D)},{default:o(()=>[s("默认提示信息")]),_:1},8,["before-icon"]),t(a,{type:"primary","before-icon":p(D)},{default:o(()=>[s("主要提示信息")]),_:1},8,["before-icon"]),t(a,{type:"success","before-icon":p(D)},{default:o(()=>[s("成功提示信息")]),_:1},8,["before-icon"]),t(a,{type:"danger","before-icon":p(D)},{default:o(()=>[s("危险提示信息")]),_:1},8,["before-icon"])]),default:o(()=>[X]),_:1}),Y,l("a",Z,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),l("a",$,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/19302222?v=4"})]),l("a",ll,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/66313154?v=4"})]),l("a",sl,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/77321887?v=4"})])])}}});const pl=E(tl,[["__scopeId","data-v-5188f063"]]);export{cl as __pageData,pl as default}; diff --git a/assets/components_alert.md.b9dfb605.lean.js b/assets/components_alert.md.a2102b80.lean.js similarity index 83% rename from assets/components_alert.md.b9dfb605.lean.js rename to assets/components_alert.md.a2102b80.lean.js index ad82de201e..6069bbc7e5 100644 --- a/assets/components_alert.md.b9dfb605.lean.js +++ b/assets/components_alert.md.a2102b80.lean.js @@ -1,4 +1,4 @@ -import{d as f,A as F,c as i,C as t,y as o,v as l,M as y,o as v,a as s,b as p,K as u,L as h,_ as E}from"./chunks/framework.59a1e8ef.js";import{F as D}from"./chunks/index.f2c0282e.js";const e=r=>(u("data-v-74e8792f"),r=r(),h(),r),C=y('

Alert 警告

用于页面中展示重要的提示信息

基本使用

type 属性可以配置不同的主题类型,展示不同的颜色状态

',5),_=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` +import{d as f,A as F,c as i,C as t,y as o,v as l,M as y,o as v,a as s,b as p,K as u,L as h,_ as E}from"./chunks/framework.59a1e8ef.js";import{F as D}from"./chunks/index.f2c0282e.js";const e=r=>(u("data-v-5188f063"),r=r(),h(),r),C=y('

Alert 警告

用于页面中展示重要的提示信息

基本使用

type 属性可以配置不同的主题类型,展示不同的颜色状态

',5),_=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"primary"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"主要提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"success"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"成功提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"danger"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"危险提示信息"),l("span",{style:{color:"#89DDFF"}},"")]),s(` @@ -46,4 +46,4 @@ import{d as f,A as F,c as i,C as t,y as o,v as l,M as y,o as v,a as s,b as p,K a `),l("span",{class:"line"}),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"script"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"lang"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"ts"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"setup"),l("span",{style:{color:"#89DDFF"}},">")]),s(` `),l("span",{class:"line"},[l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF"}},"{"),l("span",{style:{color:"#F07178"}}," "),l("span",{style:{color:"#BABED8"}},"FIconFaceSmile"),l("span",{style:{color:"#F07178"}}," "),l("span",{style:{color:"#89DDFF"}},"}"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF","font-style":"italic"}},"from"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF"}},"'"),l("span",{style:{color:"#C3E88D"}},"@fighting-design/fighting-icon"),l("span",{style:{color:"#89DDFF"}},"'")]),s(` -`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"")])])])],-1)),Y=y('

Attributes

参数说明类型可选值默认值
type类型FightingTypedefault primary success danger warning infodefault
font-size副标题文字大小string / number————
title-size主标题文字大小string / number————
bold文字是否以粗体显示boolean——false
center是否居中boolean——false
close可关闭boolean——false
simple简约模式boolean——false
title标题string————
round显示为圆角boolean——false
background背景颜色string————
color副标题字体颜色string————
title-color主标题字体颜色string————
fixed是否固定定位boolean——false
alert-list滚动列表array (string[])————
duration滚动列表滚动时间间隔number————
before-icon自定义前缀 iconFightingIcon————
close-icon自定义关闭 iconFightingIcon————
on-close点击关闭之后执行的回调HandleMouse————

Slots

名称说明
default自定义副标题的内容
title自定义主标题的内容
closeIcon自定义关闭 icon
beforeIcon自定义前缀 icon

Interface

组件导出以下类型定义:

ts
import type { AlertInstance, AlertProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--alert-border-radius圆角大小
--alert-color文字颜色
--alert-background背景色

Contributors

',11),Z={href:"https://github.com/Tyh2001",target:"_blank"},$={href:"https://github.com/jardeng",target:"_blank"},ll={href:"https://github.com/HeHasGun",target:"_blank"},sl={href:"https://github.com/long-life233",target:"_blank"},cl=JSON.parse('{"title":"Alert 警告","description":"","frontmatter":{},"headers":[],"relativePath":"components/alert.md","filePath":"components/alert.md","lastUpdated":1695888875000}'),ol={name:"components/alert.md"},tl=f({...ol,setup(r){const d=["把大象放进冰箱需要几步?","第一步:打开冰箱门","第二步:把大象装进去","第三步:关好冰箱门"];return(al,el)=>{const a=F("f-alert"),n=F("vp-demo"),c=F("f-avatar");return v(),i("div",null,[C,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[_]),_:1}),m,A,t(n,{source:""},{source:o(()=>[t(a,{"font-size":12,type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{"font-size":14,type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{"font-size":16,type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{"font-size":"20px",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{"font-size":"24px",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{"font-size":"27px",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[g]),_:1}),B,b,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未加粗的默认提示信息")]),_:1}),t(a,{type:"primary",bold:""},{default:o(()=>[s("加粗的主要提示信息")]),_:1}),t(a,{type:"success",bold:""},{default:o(()=>[s("加粗的成功提示信息")]),_:1}),t(a,{type:"danger",bold:""},{default:o(()=>[s("加粗的危险提示信息")]),_:1})]),default:o(()=>[k]),_:1}),x,P,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未居中的默认提示信息")]),_:1}),t(a,{type:"primary",center:""},{default:o(()=>[s("居中的主要提示信息")]),_:1}),t(a,{type:"success",center:""},{default:o(()=>[s("居中的成功提示信息")]),_:1}),t(a,{type:"danger",center:""},{default:o(()=>[s("居中的危险提示信息")]),_:1})]),default:o(()=>[I]),_:1}),z,S,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",close:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",close:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",close:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[q]),_:1}),w,H,t(n,{source:""},{source:o(()=>[t(a,{simple:"",type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{simple:"",type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{simple:"",type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{simple:"",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{simple:"",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{simple:"",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[N]),_:1}),L,V,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",round:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",round:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",round:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[T]),_:1}),M,j,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",background:"#58c8de"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",background:"#e372ff"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",background:"#e49b33"},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[G]),_:1}),J,K,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",title:"Hello~"},{default:o(()=>[s("今天代码写的很愉快!")]),_:1}),t(a,{type:"success",title:"标题"},{default:o(()=>[s("心情很不错")]),_:1})]),default:o(()=>[O]),_:1}),U,Q,t(n,{source:""},{source:o(()=>[t(a,{"alert-list":d,title:"你知道吗?",type:"primary"})]),default:o(()=>[R]),_:1}),W,t(n,{source:""},{source:o(()=>[t(a,{type:"default","before-icon":p(D)},{default:o(()=>[s("默认提示信息")]),_:1},8,["before-icon"]),t(a,{type:"primary","before-icon":p(D)},{default:o(()=>[s("主要提示信息")]),_:1},8,["before-icon"]),t(a,{type:"success","before-icon":p(D)},{default:o(()=>[s("成功提示信息")]),_:1},8,["before-icon"]),t(a,{type:"danger","before-icon":p(D)},{default:o(()=>[s("危险提示信息")]),_:1},8,["before-icon"])]),default:o(()=>[X]),_:1}),Y,l("a",Z,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),l("a",$,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/19302222?v=4"})]),l("a",ll,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/66313154?v=4"})]),l("a",sl,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/77321887?v=4"})])])}}});const pl=E(tl,[["__scopeId","data-v-74e8792f"]]);export{cl as __pageData,pl as default}; +`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"")])])])],-1)),Y=y('

Attributes

参数说明类型可选值默认值
type类型FightingTypedefault primary success danger warning infodefault
font-size副标题文字大小string / number————
title-size主标题文字大小string / number————
bold文字是否以粗体显示boolean——false
center是否居中boolean——false
close可关闭boolean——false
simple简约模式boolean——false
title标题string————
round显示为圆角boolean——false
background背景颜色string————
color副标题字体颜色string————
title-color主标题字体颜色string————
fixed是否固定定位boolean——false
alert-list滚动列表array (string[])————
duration滚动列表滚动时间间隔number————
before-icon自定义前缀 iconFightingIcon————
close-icon自定义关闭 iconFightingIcon————
on-close点击关闭之后执行的回调HandleMouse————

Slots

名称说明
default自定义副标题的内容
title自定义主标题的内容
closeIcon自定义关闭 icon
beforeIcon自定义前缀 icon

Interface

组件导出以下类型定义:

ts
import type { AlertInstance, AlertProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--alert-border-radius圆角大小
--alert-color文字颜色
--alert-background背景色

Contributors

',11),Z={href:"https://github.com/Tyh2001",target:"_blank"},$={href:"https://github.com/jardeng",target:"_blank"},ll={href:"https://github.com/HeHasGun",target:"_blank"},sl={href:"https://github.com/long-life233",target:"_blank"},cl=JSON.parse('{"title":"Alert 警告","description":"","frontmatter":{},"headers":[],"relativePath":"components/alert.md","filePath":"components/alert.md","lastUpdated":1696667892000}'),ol={name:"components/alert.md"},tl=f({...ol,setup(r){const d=["把大象放进冰箱需要几步?","第一步:打开冰箱门","第二步:把大象装进去","第三步:关好冰箱门"];return(al,el)=>{const a=F("f-alert"),n=F("vp-demo"),c=F("f-avatar");return v(),i("div",null,[C,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[_]),_:1}),m,A,t(n,{source:""},{source:o(()=>[t(a,{"font-size":12,type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{"font-size":14,type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{"font-size":16,type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{"font-size":"20px",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{"font-size":"24px",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{"font-size":"27px",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[g]),_:1}),B,b,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未加粗的默认提示信息")]),_:1}),t(a,{type:"primary",bold:""},{default:o(()=>[s("加粗的主要提示信息")]),_:1}),t(a,{type:"success",bold:""},{default:o(()=>[s("加粗的成功提示信息")]),_:1}),t(a,{type:"danger",bold:""},{default:o(()=>[s("加粗的危险提示信息")]),_:1})]),default:o(()=>[k]),_:1}),x,P,t(n,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未居中的默认提示信息")]),_:1}),t(a,{type:"primary",center:""},{default:o(()=>[s("居中的主要提示信息")]),_:1}),t(a,{type:"success",center:""},{default:o(()=>[s("居中的成功提示信息")]),_:1}),t(a,{type:"danger",center:""},{default:o(()=>[s("居中的危险提示信息")]),_:1})]),default:o(()=>[I]),_:1}),z,S,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",close:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",close:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",close:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[q]),_:1}),w,H,t(n,{source:""},{source:o(()=>[t(a,{simple:"",type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{simple:"",type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{simple:"",type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{simple:"",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{simple:"",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{simple:"",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[N]),_:1}),L,V,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",round:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",round:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",round:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[T]),_:1}),M,j,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",background:"#58c8de"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",background:"#e372ff"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",background:"#e49b33"},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[G]),_:1}),J,K,t(n,{source:""},{source:o(()=>[t(a,{type:"primary",title:"Hello~"},{default:o(()=>[s("今天代码写的很愉快!")]),_:1}),t(a,{type:"success",title:"标题"},{default:o(()=>[s("心情很不错")]),_:1})]),default:o(()=>[O]),_:1}),U,Q,t(n,{source:""},{source:o(()=>[t(a,{"alert-list":d,title:"你知道吗?",type:"primary"})]),default:o(()=>[R]),_:1}),W,t(n,{source:""},{source:o(()=>[t(a,{type:"default","before-icon":p(D)},{default:o(()=>[s("默认提示信息")]),_:1},8,["before-icon"]),t(a,{type:"primary","before-icon":p(D)},{default:o(()=>[s("主要提示信息")]),_:1},8,["before-icon"]),t(a,{type:"success","before-icon":p(D)},{default:o(()=>[s("成功提示信息")]),_:1},8,["before-icon"]),t(a,{type:"danger","before-icon":p(D)},{default:o(()=>[s("危险提示信息")]),_:1},8,["before-icon"])]),default:o(()=>[X]),_:1}),Y,l("a",Z,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),l("a",$,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/19302222?v=4"})]),l("a",ll,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/66313154?v=4"})]),l("a",sl,[t(c,{round:"",src:"https://avatars.githubusercontent.com/u/77321887?v=4"})])])}}});const pl=E(tl,[["__scopeId","data-v-5188f063"]]);export{cl as __pageData,pl as default}; diff --git a/assets/components_avatar-group.md.b9b0734d.js b/assets/components_avatar-group.md.7fe13129.js similarity index 99% rename from assets/components_avatar-group.md.b9b0734d.js rename to assets/components_avatar-group.md.7fe13129.js index 8db9789701..7181c07443 100644 --- a/assets/components_avatar-group.md.b9b0734d.js +++ b/assets/components_avatar-group.md.7fe13129.js @@ -1,4 +1,4 @@ -import{_ as p,A as e,c as D,C as t,y as l,v as o,M as c,a as s,o as F}from"./chunks/framework.59a1e8ef.js";const x=JSON.parse('{"title":"Avatar Group 头像组","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar-group.md","filePath":"components/avatar-group.md","lastUpdated":1695888875000}'),y={name:"components/avatar-group.md"},d=c('

Avatar Group 头像组

多个头像的集合

基本使用

<f-avatar-group> 组件内部插入 <f-avatar> 组件

',5),i=o("div",{class:"language-html"},[o("button",{title:"Copy Code",class:"copy"}),o("span",{class:"lang"},"html"),o("pre",{class:"shiki material-theme-palenight"},[o("code",null,[o("span",{class:"line"},[o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar-group"),o("span",{style:{color:"#89DDFF"}},">")]),s(` +import{_ as p,A as e,c as D,C as t,y as l,v as o,M as c,a as s,o as F}from"./chunks/framework.59a1e8ef.js";const x=JSON.parse('{"title":"Avatar Group 头像组","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar-group.md","filePath":"components/avatar-group.md","lastUpdated":1696667892000}'),y={name:"components/avatar-group.md"},d=c('

Avatar Group 头像组

多个头像的集合

基本使用

<f-avatar-group> 组件内部插入 <f-avatar> 组件

',5),i=o("div",{class:"language-html"},[o("button",{title:"Copy Code",class:"copy"}),o("span",{class:"lang"},"html"),o("pre",{class:"shiki material-theme-palenight"},[o("code",null,[o("span",{class:"line"},[o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar-group"),o("span",{style:{color:"#89DDFF"}},">")]),s(` `),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"1"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"orange"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(` `),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"2"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"blue"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(` `),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"3"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"skyblue"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(` diff --git a/assets/components_avatar-group.md.b9b0734d.lean.js b/assets/components_avatar-group.md.7fe13129.lean.js similarity index 99% rename from assets/components_avatar-group.md.b9b0734d.lean.js rename to assets/components_avatar-group.md.7fe13129.lean.js index 78df019f6f..a56bdbc588 100644 --- a/assets/components_avatar-group.md.b9b0734d.lean.js +++ b/assets/components_avatar-group.md.7fe13129.lean.js @@ -1,4 +1,4 @@ -import{_ as p,A as e,c as D,C as t,y as l,v as o,M as c,a as s,o as F}from"./chunks/framework.59a1e8ef.js";const x=JSON.parse('{"title":"Avatar Group 头像组","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar-group.md","filePath":"components/avatar-group.md","lastUpdated":1695888875000}'),y={name:"components/avatar-group.md"},d=c("",5),i=o("div",{class:"language-html"},[o("button",{title:"Copy Code",class:"copy"}),o("span",{class:"lang"},"html"),o("pre",{class:"shiki material-theme-palenight"},[o("code",null,[o("span",{class:"line"},[o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar-group"),o("span",{style:{color:"#89DDFF"}},">")]),s(` +import{_ as p,A as e,c as D,C as t,y as l,v as o,M as c,a as s,o as F}from"./chunks/framework.59a1e8ef.js";const x=JSON.parse('{"title":"Avatar Group 头像组","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar-group.md","filePath":"components/avatar-group.md","lastUpdated":1696667892000}'),y={name:"components/avatar-group.md"},d=c("",5),i=o("div",{class:"language-html"},[o("button",{title:"Copy Code",class:"copy"}),o("span",{class:"lang"},"html"),o("pre",{class:"shiki material-theme-palenight"},[o("code",null,[o("span",{class:"line"},[o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar-group"),o("span",{style:{color:"#89DDFF"}},">")]),s(` `),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"1"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"orange"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(` `),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"2"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"blue"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(` `),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"3"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"skyblue"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(` diff --git a/assets/components_avatar.md.c5d5412e.js b/assets/components_avatar.md.550843ea.js similarity index 64% rename from assets/components_avatar.md.c5d5412e.js rename to assets/components_avatar.md.550843ea.js index 5a81ea2ea2..df3813c2fb 100644 --- a/assets/components_avatar.md.c5d5412e.js +++ b/assets/components_avatar.md.550843ea.js @@ -1,30 +1,30 @@ -import{_ as f,A as r,o as v,x as g,y as o,v as a,C as s,K as b,L as h,d as _,c as E,M as F,b as D,a as t}from"./chunks/framework.59a1e8ef.js";import{F as C}from"./chunks/index.3d6f037c.js";import{F as A}from"./chunks/index.f2c0282e.js";const B={},p=c=>(b("data-v-57a98fd4"),c=c(),h(),c),k={class:"avatar-block"},x=p(()=>a("code",null,"fill",-1)),z={class:"avatar-block"},S=p(()=>a("code",null,"contain",-1)),q={class:"avatar-block"},I=p(()=>a("code",null,"cover",-1)),P={class:"avatar-block"},w=p(()=>a("code",null,"none",-1)),j={class:"avatar-block"},N=p(()=>a("code",null,"scale-down",-1));function $(c,y){const n=r("f-avatar"),i=r("f-space");return v(),g(i,{spacing:"mini"},{default:o(()=>[a("div",k,[x,s(n,{fit:"fill",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",z,[S,s(n,{fit:"contain",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",q,[I,s(n,{fit:"cover",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",P,[w,s(n,{fit:"none",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",j,[N,s(n,{fit:"scale-down",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])]),_:1})}const U=f(B,[["render",$],["__scopeId","data-v-57a98fd4"]]),e=c=>(b("data-v-ebc0fd5d"),c=c(),h(),c),L=F('

Avatar 头像

用户的头像展示

基本使用

使用 src 属性设置图片的路径

round 属性可以配置圆角头像

',6),V=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),T=e(()=>a("h2",{id:"使用本地图片",tabindex:"-1"},[t("使用本地图片 "),a("a",{class:"header-anchor",href:"#使用本地图片","aria-label":'Permalink to "使用本地图片"'},"​")],-1)),H=e(()=>a("p",null,[t("如需要使用本地图片,需要使用 "),a("a",{href:"https://cn.vitejs.dev/guide/assets.html#new-url-url-import-meta-url",target:"_blank",rel:"noreferrer"},[t("new URL(url, i"),a("wbr"),t("mport.meta.url)")]),t(" 手动导入图片资源使用:")],-1)),R=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(` +import{_ as v,A as d,o as b,x as g,y as o,v as a,C as s,K as h,L as u,d as _,c as E,M as F,b as D,a as t}from"./chunks/framework.59a1e8ef.js";import{F as C}from"./chunks/index.3d6f037c.js";import{F as A}from"./chunks/index.f2c0282e.js";const B={},p=n=>(h("data-v-57a98fd4"),n=n(),u(),n),k={class:"avatar-block"},x=p(()=>a("code",null,"fill",-1)),z={class:"avatar-block"},S=p(()=>a("code",null,"contain",-1)),q={class:"avatar-block"},I=p(()=>a("code",null,"cover",-1)),P={class:"avatar-block"},w=p(()=>a("code",null,"none",-1)),j={class:"avatar-block"},N=p(()=>a("code",null,"scale-down",-1));function $(n,y){const r=d("f-avatar"),i=d("f-space");return b(),g(i,{spacing:"mini"},{default:o(()=>[a("div",k,[x,s(r,{fit:"fill",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",z,[S,s(r,{fit:"contain",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",q,[I,s(r,{fit:"cover",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",P,[w,s(r,{fit:"none",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",j,[N,s(r,{fit:"scale-down",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])]),_:1})}const U=v(B,[["render",$],["__scopeId","data-v-57a98fd4"]]),l=n=>(h("data-v-93267b43"),n=n(),u(),n),L=F('

Avatar 头像

用户的头像展示

基本使用

使用 src 属性设置图片的路径

round 属性可以配置圆角头像

',6),V=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),T=l(()=>a("h2",{id:"使用本地图片",tabindex:"-1"},[t("使用本地图片 "),a("a",{class:"header-anchor",href:"#使用本地图片","aria-label":'Permalink to "使用本地图片"'},"​")],-1)),H=l(()=>a("p",null,[t("如需要使用本地图片,需要使用 "),a("a",{href:"https://cn.vitejs.dev/guide/assets.html#new-url-url-import-meta-url",target:"_blank",rel:"noreferrer"},[t("new URL(url, i"),a("wbr"),t("mport.meta.url)")]),t(" 手动导入图片资源使用:")],-1)),R=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"url"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")]),t(` `),a("span",{class:"line"}),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lang"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"ts"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"setup"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#C792EA"}},"const"),a("span",{style:{color:"#BABED8"}}," url "),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"new"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#82AAFF"}},"URL"),a("span",{style:{color:"#BABED8"}},"("),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#C3E88D"}},"./image/1.jpg"),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#89DDFF"}},","),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"meta"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"url)"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"href")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),W=e(()=>a("h2",{id:"适应容器的方式",tabindex:"-1"},[t("适应容器的方式 "),a("a",{class:"header-anchor",href:"#适应容器的方式","aria-label":'Permalink to "适应容器的方式"'},"​")],-1)),M=e(()=>a("p",null,[a("code",null,"fit"),t(" 属性可以配置头像不同适应容器的方式,详见原生 "),a("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#try_it",target:"_blank",rel:"noreferrer"},"object-fit"),t(" 属性")],-1)),J=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"fill"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),W=l(()=>a("h2",{id:"适应容器的方式",tabindex:"-1"},[t("适应容器的方式 "),a("a",{class:"header-anchor",href:"#适应容器的方式","aria-label":'Permalink to "适应容器的方式"'},"​")],-1)),M=l(()=>a("p",null,[a("code",null,"fit"),t(" 属性可以配置头像不同适应容器的方式,详见原生 "),a("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#try_it",target:"_blank",rel:"noreferrer"},"object-fit"),t(" 属性")],-1)),J=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"fill"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"contain"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"cover"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"none"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"scale-down"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),K=e(()=>a("h2",{id:"不同大小",tabindex:"-1"},[t("不同大小 "),a("a",{class:"header-anchor",href:"#不同大小","aria-label":'Permalink to "不同大小"'},"​")],-1)),O=e(()=>a("p",null,[a("code",null,"size"),t(" 属性可以配置不同大小的头像,也可以传入指定的数字,会自动转换为 "),a("code",null,"px")],-1)),G=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"85"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"scale-down"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),K=l(()=>a("h2",{id:"不同大小",tabindex:"-1"},[t("不同大小 "),a("a",{class:"header-anchor",href:"#不同大小","aria-label":'Permalink to "不同大小"'},"​")],-1)),O=l(()=>a("p",null,[a("code",null,"size"),t(" 属性可以配置不同大小的头像,也可以传入指定的数字,会自动转换为 "),a("code",null,"px")],-1)),G=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"85"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"large"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"middle"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"small"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"mini"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),Q=F('

图标头像

icon 属性可以配置带有 icon 的图标头像

background 属性可以配置背景色,font-color 属性可以自定义图标颜色

font-size可以配置图标大小,后面必须要加入单位

',4),X=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"mini"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),Q=F('

图标头像

icon 属性可以配置带有 icon 的图标头像

background 属性可以配置背景色,font-color 属性可以自定义图标颜色

font-size可以配置图标大小,后面必须要加入单位

',4),X=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconFaceSmile"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":font-size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"30"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"background"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"skyblue"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"background"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"orange"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"font-color"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"#fff"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconBug"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":font-size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"30"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")]),t(` `),a("span",{class:"line"}),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lang"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"ts"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"setup"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"{"),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#BABED8"}},"FIconFaceSmile"),a("span",{style:{color:"#89DDFF"}},","),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#BABED8"}},"FIconBug"),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#89DDFF"}},"}"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"from"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#C3E88D"}},"@fighting-design/fighting-icon"),a("span",{style:{color:"#89DDFF"}},"'")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),Y=e(()=>a("h2",{id:"懒加载",tabindex:"-1"},[t("懒加载 "),a("a",{class:"header-anchor",href:"#懒加载","aria-label":'Permalink to "懒加载"'},"​")],-1)),Z=e(()=>a("p",null,[a("code",null,"lazy"),t(" 属性可以设置图片懒加载,详情可参考 "),a("code",null,"DevTools"),t(" 的 "),a("code",null,"Network")],-1)),aa=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),Y=l(()=>a("h2",{id:"懒加载",tabindex:"-1"},[t("懒加载 "),a("a",{class:"header-anchor",href:"#懒加载","aria-label":'Permalink to "懒加载"'},"​")],-1)),Z=l(()=>a("p",null,[a("code",null,"lazy"),t(" 属性可以设置图片懒加载,详情可参考 "),a("code",null,"DevTools"),t(" 的 "),a("code",null,"Network")],-1)),aa=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"width"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"200px"),a("span",{style:{color:"#89DDFF"}},'"')]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lazy")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"),a("span",{style:{color:"#89DDFF"}},'"')]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"/>")])])])],-1)),ta=e(()=>a("h2",{id:"加载失败",tabindex:"-1"},[t("加载失败 "),a("a",{class:"header-anchor",href:"#加载失败","aria-label":'Permalink to "加载失败"'},"​")],-1)),sa=e(()=>a("p",null,[t("默认加载失败会显示 "),a("code",null,"加载失败"),t(",当然你也可以使用 "),a("code",null,"alt"),t(" 属性自定义加载失败的提示文字")],-1)),oa=e(()=>a("p",null,[t("或者使用 "),a("code",null,"error"),t(" 插槽展示")],-1)),ea=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"/>")])])])],-1)),ta=l(()=>a("h2",{id:"加载失败",tabindex:"-1"},[t("加载失败 "),a("a",{class:"header-anchor",href:"#加载失败","aria-label":'Permalink to "加载失败"'},"​")],-1)),sa=l(()=>a("p",null,[t("默认加载失败会显示 "),a("code",null,"加载失败"),t(",当然你也可以使用 "),a("code",null,"alt"),t(" 属性自定义加载失败的提示文字")],-1)),oa=l(()=>a("p",null,[t("或者使用 "),a("code",null,"error"),t(" 插槽展示")],-1)),la=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"}),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"alt"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"Err"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"}),t(` @@ -32,4 +32,4 @@ import{_ as f,A as r,o as v,x as g,y as o,v as a,C as s,K as b,L as h,d as _,c a `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"v-slot:error"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-text"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"type"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"danger"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bold"),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"失败了"),a("span",{style:{color:"#89DDFF"}},"")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),la=F('

Attributes

参数说明类型可选值默认值
src图片路径string————
err-src加载失败时要显示的地址string————
alt原生 alt 属性string——加载失败
round是否为圆角boolean——false
lazy是否懒加载头像boolean——false
fit如何适应容器,原生 object-fit 属性FightingFitfill contain cover none scale-down——
size图片大小FightingSize / numberlarge middle small minimiddle
background背景色string————
icon图标头像FightingIcon————
font-size字体大小string————
font-color字体的颜色string————
text文字头像string————
root-margin触发懒加载的距离string / number——100px
on-load图片加载成功触发的回调HandleEvent————
on-error图片加载失败触发的回调HandleEvent————

Slots

插槽名称说明说明
error自定义加载失败提示
icon自定义 icon 头像

Interface

组件导出以下类型定义:

ts
import type { AvatarInstance, AvatarProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--avatar-size尺寸

Contributors

',11),ca={href:"https://github.com/Tyh2001",target:"_blank"},Fa=JSON.parse('{"title":"Avatar 头像","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar.md","filePath":"components/avatar.md","lastUpdated":1695888875000}'),da={name:"components/avatar.md"},na=_({...da,setup(c){const y=new URL("/assets/1.aa9c3858.jpg",self.location).href;return(n,i)=>{const l=r("f-avatar"),d=r("vp-demo"),u=r("f-text"),m=r("f-space");return v(),E("div",null,[L,s(d,{source:""},{source:o(()=>[s(l,{src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[V]),_:1}),T,H,s(d,{source:""},{source:o(()=>[s(l,{src:D(y)},null,8,["src"])]),default:o(()=>[R]),_:1}),W,M,s(d,{source:""},{source:o(()=>[s(U)]),default:o(()=>[J]),_:1}),K,O,s(d,{source:""},{source:o(()=>[s(l,{size:85,src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"large",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"middle",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"small",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"mini",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[G]),_:1}),Q,s(d,{source:""},{source:o(()=>[s(l,{icon:D(A),background:"skyblue","font-size":30},null,8,["icon"]),s(l,{icon:D(C),background:"orange","font-color":"#fff","font-size":30},null,8,["icon"])]),default:o(()=>[X]),_:1}),Y,Z,s(d,{source:""},{source:o(()=>[s(l,{width:"200px",lazy:"",src:"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"})]),default:o(()=>[aa]),_:1}),ta,sa,oa,s(d,{source:""},{source:o(()=>[s(m,null,{default:o(()=>[s(l,{src:"https://123.cn/images/auto/my.jpg"}),s(l,{src:"https://123.cn/images/auto/my.jpg",alt:"Err"}),s(l,{src:"https://123.cn/images/auto/my.jpg"},{error:o(()=>[s(u,{type:"danger",bold:""},{default:o(()=>[t("失败了")]),_:1})]),_:1})]),_:1})]),default:o(()=>[ea]),_:1}),la,a("a",ca,[s(l,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])])}}});const ya=f(na,[["__scopeId","data-v-ebc0fd5d"]]);export{Fa as __pageData,ya as default}; +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),ea=F('

Attributes

参数说明类型可选值默认值
src图片路径string————
err-src加载失败时要显示的地址string————
alt原生 alt 属性string——加载失败
round是否为圆角boolean——false
lazy是否懒加载头像boolean——false
fit如何适应容器,原生 object-fit 属性FightingFitfill contain cover none scale-down——
size图片大小FightingSize / numberlarge middle small minimiddle
background背景色string————
icon图标头像FightingIcon————
font-size字体大小string————
font-color字体的颜色string————
text文字头像string————
root-margin触发懒加载的距离string / number——100px
on-load图片加载成功触发的回调HandleEvent————
on-error图片加载失败触发的回调HandleEvent————

Slots

插槽名称说明说明
error自定义加载失败提示
icon自定义 icon 头像

Interface

组件导出以下类型定义:

ts
import type { AvatarInstance, AvatarProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--avatar-size尺寸

Contributors

',11),na={href:"https://github.com/Tyh2001",target:"_blank"},Fa=JSON.parse('{"title":"Avatar 头像","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar.md","filePath":"components/avatar.md","lastUpdated":1696667892000}'),ca={name:"components/avatar.md"},ra=_({...ca,setup(n){const y=new URL("/assets/1.aa9c3858.jpg",self.location).href;return(r,i)=>{const e=d("f-avatar"),c=d("vp-demo"),m=d("f-text"),f=d("f-space");return b(),E("div",null,[L,s(c,{source:""},{source:o(()=>[s(e,{src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[V]),_:1}),T,H,s(c,{source:""},{source:o(()=>[s(e,{src:D(y)},null,8,["src"])]),default:o(()=>[R]),_:1}),W,M,s(c,{source:""},{source:o(()=>[s(U)]),default:o(()=>[J]),_:1}),K,O,s(c,{source:""},{source:o(()=>[s(e,{size:85,src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"large",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"middle",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"small",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"mini",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[G]),_:1}),Q,s(c,{source:""},{source:o(()=>[s(e,{icon:D(A),background:"skyblue","font-size":30},null,8,["icon"]),s(e,{icon:D(C),background:"orange","font-color":"#fff","font-size":30},null,8,["icon"])]),default:o(()=>[X]),_:1}),Y,Z,s(c,{source:""},{source:o(()=>[s(e,{width:"200px",lazy:"",src:"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"})]),default:o(()=>[aa]),_:1}),ta,sa,oa,s(c,{source:""},{source:o(()=>[s(f,null,{default:o(()=>[s(e,{src:"https://123.cn/images/auto/my.jpg"}),s(e,{src:"https://123.cn/images/auto/my.jpg",alt:"Err"}),s(e,{src:"https://123.cn/images/auto/my.jpg"},{error:o(()=>[s(m,{type:"danger",bold:""},{default:o(()=>[t("失败了")]),_:1})]),_:1})]),_:1})]),default:o(()=>[la]),_:1}),ea,a("a",na,[s(e,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])])}}});const ya=v(ra,[["__scopeId","data-v-93267b43"]]);export{Fa as __pageData,ya as default}; diff --git a/assets/components_avatar.md.c5d5412e.lean.js b/assets/components_avatar.md.550843ea.lean.js similarity index 64% rename from assets/components_avatar.md.c5d5412e.lean.js rename to assets/components_avatar.md.550843ea.lean.js index 5a81ea2ea2..df3813c2fb 100644 --- a/assets/components_avatar.md.c5d5412e.lean.js +++ b/assets/components_avatar.md.550843ea.lean.js @@ -1,30 +1,30 @@ -import{_ as f,A as r,o as v,x as g,y as o,v as a,C as s,K as b,L as h,d as _,c as E,M as F,b as D,a as t}from"./chunks/framework.59a1e8ef.js";import{F as C}from"./chunks/index.3d6f037c.js";import{F as A}from"./chunks/index.f2c0282e.js";const B={},p=c=>(b("data-v-57a98fd4"),c=c(),h(),c),k={class:"avatar-block"},x=p(()=>a("code",null,"fill",-1)),z={class:"avatar-block"},S=p(()=>a("code",null,"contain",-1)),q={class:"avatar-block"},I=p(()=>a("code",null,"cover",-1)),P={class:"avatar-block"},w=p(()=>a("code",null,"none",-1)),j={class:"avatar-block"},N=p(()=>a("code",null,"scale-down",-1));function $(c,y){const n=r("f-avatar"),i=r("f-space");return v(),g(i,{spacing:"mini"},{default:o(()=>[a("div",k,[x,s(n,{fit:"fill",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",z,[S,s(n,{fit:"contain",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",q,[I,s(n,{fit:"cover",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",P,[w,s(n,{fit:"none",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",j,[N,s(n,{fit:"scale-down",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])]),_:1})}const U=f(B,[["render",$],["__scopeId","data-v-57a98fd4"]]),e=c=>(b("data-v-ebc0fd5d"),c=c(),h(),c),L=F('

Avatar 头像

用户的头像展示

基本使用

使用 src 属性设置图片的路径

round 属性可以配置圆角头像

',6),V=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),T=e(()=>a("h2",{id:"使用本地图片",tabindex:"-1"},[t("使用本地图片 "),a("a",{class:"header-anchor",href:"#使用本地图片","aria-label":'Permalink to "使用本地图片"'},"​")],-1)),H=e(()=>a("p",null,[t("如需要使用本地图片,需要使用 "),a("a",{href:"https://cn.vitejs.dev/guide/assets.html#new-url-url-import-meta-url",target:"_blank",rel:"noreferrer"},[t("new URL(url, i"),a("wbr"),t("mport.meta.url)")]),t(" 手动导入图片资源使用:")],-1)),R=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(` +import{_ as v,A as d,o as b,x as g,y as o,v as a,C as s,K as h,L as u,d as _,c as E,M as F,b as D,a as t}from"./chunks/framework.59a1e8ef.js";import{F as C}from"./chunks/index.3d6f037c.js";import{F as A}from"./chunks/index.f2c0282e.js";const B={},p=n=>(h("data-v-57a98fd4"),n=n(),u(),n),k={class:"avatar-block"},x=p(()=>a("code",null,"fill",-1)),z={class:"avatar-block"},S=p(()=>a("code",null,"contain",-1)),q={class:"avatar-block"},I=p(()=>a("code",null,"cover",-1)),P={class:"avatar-block"},w=p(()=>a("code",null,"none",-1)),j={class:"avatar-block"},N=p(()=>a("code",null,"scale-down",-1));function $(n,y){const r=d("f-avatar"),i=d("f-space");return b(),g(i,{spacing:"mini"},{default:o(()=>[a("div",k,[x,s(r,{fit:"fill",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",z,[S,s(r,{fit:"contain",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",q,[I,s(r,{fit:"cover",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",P,[w,s(r,{fit:"none",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",j,[N,s(r,{fit:"scale-down",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])]),_:1})}const U=v(B,[["render",$],["__scopeId","data-v-57a98fd4"]]),l=n=>(h("data-v-93267b43"),n=n(),u(),n),L=F('

Avatar 头像

用户的头像展示

基本使用

使用 src 属性设置图片的路径

round 属性可以配置圆角头像

',6),V=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),T=l(()=>a("h2",{id:"使用本地图片",tabindex:"-1"},[t("使用本地图片 "),a("a",{class:"header-anchor",href:"#使用本地图片","aria-label":'Permalink to "使用本地图片"'},"​")],-1)),H=l(()=>a("p",null,[t("如需要使用本地图片,需要使用 "),a("a",{href:"https://cn.vitejs.dev/guide/assets.html#new-url-url-import-meta-url",target:"_blank",rel:"noreferrer"},[t("new URL(url, i"),a("wbr"),t("mport.meta.url)")]),t(" 手动导入图片资源使用:")],-1)),R=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"url"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")]),t(` `),a("span",{class:"line"}),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lang"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"ts"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"setup"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#C792EA"}},"const"),a("span",{style:{color:"#BABED8"}}," url "),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"new"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#82AAFF"}},"URL"),a("span",{style:{color:"#BABED8"}},"("),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#C3E88D"}},"./image/1.jpg"),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#89DDFF"}},","),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"meta"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"url)"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"href")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),W=e(()=>a("h2",{id:"适应容器的方式",tabindex:"-1"},[t("适应容器的方式 "),a("a",{class:"header-anchor",href:"#适应容器的方式","aria-label":'Permalink to "适应容器的方式"'},"​")],-1)),M=e(()=>a("p",null,[a("code",null,"fit"),t(" 属性可以配置头像不同适应容器的方式,详见原生 "),a("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#try_it",target:"_blank",rel:"noreferrer"},"object-fit"),t(" 属性")],-1)),J=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"fill"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),W=l(()=>a("h2",{id:"适应容器的方式",tabindex:"-1"},[t("适应容器的方式 "),a("a",{class:"header-anchor",href:"#适应容器的方式","aria-label":'Permalink to "适应容器的方式"'},"​")],-1)),M=l(()=>a("p",null,[a("code",null,"fit"),t(" 属性可以配置头像不同适应容器的方式,详见原生 "),a("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#try_it",target:"_blank",rel:"noreferrer"},"object-fit"),t(" 属性")],-1)),J=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"fill"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"contain"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"cover"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"none"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"scale-down"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),K=e(()=>a("h2",{id:"不同大小",tabindex:"-1"},[t("不同大小 "),a("a",{class:"header-anchor",href:"#不同大小","aria-label":'Permalink to "不同大小"'},"​")],-1)),O=e(()=>a("p",null,[a("code",null,"size"),t(" 属性可以配置不同大小的头像,也可以传入指定的数字,会自动转换为 "),a("code",null,"px")],-1)),G=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"85"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"scale-down"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),K=l(()=>a("h2",{id:"不同大小",tabindex:"-1"},[t("不同大小 "),a("a",{class:"header-anchor",href:"#不同大小","aria-label":'Permalink to "不同大小"'},"​")],-1)),O=l(()=>a("p",null,[a("code",null,"size"),t(" 属性可以配置不同大小的头像,也可以传入指定的数字,会自动转换为 "),a("code",null,"px")],-1)),G=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"85"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"large"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"middle"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"small"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"mini"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),Q=F('

图标头像

icon 属性可以配置带有 icon 的图标头像

background 属性可以配置背景色,font-color 属性可以自定义图标颜色

font-size可以配置图标大小,后面必须要加入单位

',4),X=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"mini"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),Q=F('

图标头像

icon 属性可以配置带有 icon 的图标头像

background 属性可以配置背景色,font-color 属性可以自定义图标颜色

font-size可以配置图标大小,后面必须要加入单位

',4),X=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconFaceSmile"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":font-size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"30"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"background"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"skyblue"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"background"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"orange"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"font-color"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"#fff"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconBug"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":font-size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"30"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")]),t(` `),a("span",{class:"line"}),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lang"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"ts"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"setup"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"{"),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#BABED8"}},"FIconFaceSmile"),a("span",{style:{color:"#89DDFF"}},","),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#BABED8"}},"FIconBug"),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#89DDFF"}},"}"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"from"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#C3E88D"}},"@fighting-design/fighting-icon"),a("span",{style:{color:"#89DDFF"}},"'")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),Y=e(()=>a("h2",{id:"懒加载",tabindex:"-1"},[t("懒加载 "),a("a",{class:"header-anchor",href:"#懒加载","aria-label":'Permalink to "懒加载"'},"​")],-1)),Z=e(()=>a("p",null,[a("code",null,"lazy"),t(" 属性可以设置图片懒加载,详情可参考 "),a("code",null,"DevTools"),t(" 的 "),a("code",null,"Network")],-1)),aa=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),Y=l(()=>a("h2",{id:"懒加载",tabindex:"-1"},[t("懒加载 "),a("a",{class:"header-anchor",href:"#懒加载","aria-label":'Permalink to "懒加载"'},"​")],-1)),Z=l(()=>a("p",null,[a("code",null,"lazy"),t(" 属性可以设置图片懒加载,详情可参考 "),a("code",null,"DevTools"),t(" 的 "),a("code",null,"Network")],-1)),aa=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"width"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"200px"),a("span",{style:{color:"#89DDFF"}},'"')]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lazy")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"),a("span",{style:{color:"#89DDFF"}},'"')]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"/>")])])])],-1)),ta=e(()=>a("h2",{id:"加载失败",tabindex:"-1"},[t("加载失败 "),a("a",{class:"header-anchor",href:"#加载失败","aria-label":'Permalink to "加载失败"'},"​")],-1)),sa=e(()=>a("p",null,[t("默认加载失败会显示 "),a("code",null,"加载失败"),t(",当然你也可以使用 "),a("code",null,"alt"),t(" 属性自定义加载失败的提示文字")],-1)),oa=e(()=>a("p",null,[t("或者使用 "),a("code",null,"error"),t(" 插槽展示")],-1)),ea=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"/>")])])])],-1)),ta=l(()=>a("h2",{id:"加载失败",tabindex:"-1"},[t("加载失败 "),a("a",{class:"header-anchor",href:"#加载失败","aria-label":'Permalink to "加载失败"'},"​")],-1)),sa=l(()=>a("p",null,[t("默认加载失败会显示 "),a("code",null,"加载失败"),t(",当然你也可以使用 "),a("code",null,"alt"),t(" 属性自定义加载失败的提示文字")],-1)),oa=l(()=>a("p",null,[t("或者使用 "),a("code",null,"error"),t(" 插槽展示")],-1)),la=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"}),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"alt"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"Err"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"}),t(` @@ -32,4 +32,4 @@ import{_ as f,A as r,o as v,x as g,y as o,v as a,C as s,K as b,L as h,d as _,c a `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"v-slot:error"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-text"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"type"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"danger"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bold"),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"失败了"),a("span",{style:{color:"#89DDFF"}},"")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),la=F('

Attributes

参数说明类型可选值默认值
src图片路径string————
err-src加载失败时要显示的地址string————
alt原生 alt 属性string——加载失败
round是否为圆角boolean——false
lazy是否懒加载头像boolean——false
fit如何适应容器,原生 object-fit 属性FightingFitfill contain cover none scale-down——
size图片大小FightingSize / numberlarge middle small minimiddle
background背景色string————
icon图标头像FightingIcon————
font-size字体大小string————
font-color字体的颜色string————
text文字头像string————
root-margin触发懒加载的距离string / number——100px
on-load图片加载成功触发的回调HandleEvent————
on-error图片加载失败触发的回调HandleEvent————

Slots

插槽名称说明说明
error自定义加载失败提示
icon自定义 icon 头像

Interface

组件导出以下类型定义:

ts
import type { AvatarInstance, AvatarProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--avatar-size尺寸

Contributors

',11),ca={href:"https://github.com/Tyh2001",target:"_blank"},Fa=JSON.parse('{"title":"Avatar 头像","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar.md","filePath":"components/avatar.md","lastUpdated":1695888875000}'),da={name:"components/avatar.md"},na=_({...da,setup(c){const y=new URL("/assets/1.aa9c3858.jpg",self.location).href;return(n,i)=>{const l=r("f-avatar"),d=r("vp-demo"),u=r("f-text"),m=r("f-space");return v(),E("div",null,[L,s(d,{source:""},{source:o(()=>[s(l,{src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[V]),_:1}),T,H,s(d,{source:""},{source:o(()=>[s(l,{src:D(y)},null,8,["src"])]),default:o(()=>[R]),_:1}),W,M,s(d,{source:""},{source:o(()=>[s(U)]),default:o(()=>[J]),_:1}),K,O,s(d,{source:""},{source:o(()=>[s(l,{size:85,src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"large",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"middle",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"small",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"mini",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[G]),_:1}),Q,s(d,{source:""},{source:o(()=>[s(l,{icon:D(A),background:"skyblue","font-size":30},null,8,["icon"]),s(l,{icon:D(C),background:"orange","font-color":"#fff","font-size":30},null,8,["icon"])]),default:o(()=>[X]),_:1}),Y,Z,s(d,{source:""},{source:o(()=>[s(l,{width:"200px",lazy:"",src:"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"})]),default:o(()=>[aa]),_:1}),ta,sa,oa,s(d,{source:""},{source:o(()=>[s(m,null,{default:o(()=>[s(l,{src:"https://123.cn/images/auto/my.jpg"}),s(l,{src:"https://123.cn/images/auto/my.jpg",alt:"Err"}),s(l,{src:"https://123.cn/images/auto/my.jpg"},{error:o(()=>[s(u,{type:"danger",bold:""},{default:o(()=>[t("失败了")]),_:1})]),_:1})]),_:1})]),default:o(()=>[ea]),_:1}),la,a("a",ca,[s(l,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])])}}});const ya=f(na,[["__scopeId","data-v-ebc0fd5d"]]);export{Fa as __pageData,ya as default}; +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),ea=F('

Attributes

参数说明类型可选值默认值
src图片路径string————
err-src加载失败时要显示的地址string————
alt原生 alt 属性string——加载失败
round是否为圆角boolean——false
lazy是否懒加载头像boolean——false
fit如何适应容器,原生 object-fit 属性FightingFitfill contain cover none scale-down——
size图片大小FightingSize / numberlarge middle small minimiddle
background背景色string————
icon图标头像FightingIcon————
font-size字体大小string————
font-color字体的颜色string————
text文字头像string————
root-margin触发懒加载的距离string / number——100px
on-load图片加载成功触发的回调HandleEvent————
on-error图片加载失败触发的回调HandleEvent————

Slots

插槽名称说明说明
error自定义加载失败提示
icon自定义 icon 头像

Interface

组件导出以下类型定义:

ts
import type { AvatarInstance, AvatarProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--avatar-size尺寸

Contributors

',11),na={href:"https://github.com/Tyh2001",target:"_blank"},Fa=JSON.parse('{"title":"Avatar 头像","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar.md","filePath":"components/avatar.md","lastUpdated":1696667892000}'),ca={name:"components/avatar.md"},ra=_({...ca,setup(n){const y=new URL("/assets/1.aa9c3858.jpg",self.location).href;return(r,i)=>{const e=d("f-avatar"),c=d("vp-demo"),m=d("f-text"),f=d("f-space");return b(),E("div",null,[L,s(c,{source:""},{source:o(()=>[s(e,{src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[V]),_:1}),T,H,s(c,{source:""},{source:o(()=>[s(e,{src:D(y)},null,8,["src"])]),default:o(()=>[R]),_:1}),W,M,s(c,{source:""},{source:o(()=>[s(U)]),default:o(()=>[J]),_:1}),K,O,s(c,{source:""},{source:o(()=>[s(e,{size:85,src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"large",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"middle",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"small",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"mini",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[G]),_:1}),Q,s(c,{source:""},{source:o(()=>[s(e,{icon:D(A),background:"skyblue","font-size":30},null,8,["icon"]),s(e,{icon:D(C),background:"orange","font-color":"#fff","font-size":30},null,8,["icon"])]),default:o(()=>[X]),_:1}),Y,Z,s(c,{source:""},{source:o(()=>[s(e,{width:"200px",lazy:"",src:"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"})]),default:o(()=>[aa]),_:1}),ta,sa,oa,s(c,{source:""},{source:o(()=>[s(f,null,{default:o(()=>[s(e,{src:"https://123.cn/images/auto/my.jpg"}),s(e,{src:"https://123.cn/images/auto/my.jpg",alt:"Err"}),s(e,{src:"https://123.cn/images/auto/my.jpg"},{error:o(()=>[s(m,{type:"danger",bold:""},{default:o(()=>[t("失败了")]),_:1})]),_:1})]),_:1})]),default:o(()=>[la]),_:1}),ea,a("a",na,[s(e,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])])}}});const ya=v(ra,[["__scopeId","data-v-93267b43"]]);export{Fa as __pageData,ya as default}; diff --git a/assets/components_back-top.md.87813f91.js b/assets/components_back-top.md.e4d3198b.js similarity index 64% rename from assets/components_back-top.md.87813f91.js rename to assets/components_back-top.md.e4d3198b.js index ecfe26ffb2..6074496279 100644 --- a/assets/components_back-top.md.87813f91.js +++ b/assets/components_back-top.md.e4d3198b.js @@ -1,4 +1,4 @@ -import{F as h}from"./chunks/index.525445a9.js";import{F as b}from"./chunks/index.0c6bba08.js";import{d as u,A as p,c as D,C as o,y as l,v as a,M as i,o as F,a as t,b as y,F as B,J as m,K as f,L as g,t as _,_ as k}from"./chunks/framework.59a1e8ef.js";const s=n=>(f("data-v-3759c825"),n=n(),g(),n),E=i('

BackTop 返回顶部

可返回网页的顶部

基本使用

BackTop 的基本使用

',5),C=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"返回顶部"),a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),A=s(()=>a("h2",{id:"不同滚动模式",tabindex:"-1"},[t("不同滚动模式 "),a("a",{class:"header-anchor",href:"#不同滚动模式","aria-label":'Permalink to "不同滚动模式"'},"​")],-1)),x=s(()=>a("p",null,[a("code",null,"behavior"),t(" 属性可以配置不同的滚动模式")],-1)),I=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bottom"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"90px"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"behavior"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"auto"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"auto 模式"),a("span",{style:{color:"#89DDFF"}},"")]),t(` +import{F as v}from"./chunks/index.525445a9.js";import{F as h}from"./chunks/index.0c6bba08.js";import{d as b,A as p,c as f,C as o,y as l,v as a,M as y,o as D,a as t,b as F,F as u,J as B,K as m,L as g,t as _,_ as k}from"./chunks/framework.59a1e8ef.js";const s=n=>(m("data-v-135f7fca"),n=n(),g(),n),E=y('

BackTop 返回顶部

可返回网页的顶部

基本使用

BackTop 的基本使用

',5),C=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"返回顶部"),a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),A=s(()=>a("h2",{id:"不同滚动模式",tabindex:"-1"},[t("不同滚动模式 "),a("a",{class:"header-anchor",href:"#不同滚动模式","aria-label":'Permalink to "不同滚动模式"'},"​")],-1)),x=s(()=>a("p",null,[a("code",null,"behavior"),t(" 属性可以配置不同的滚动模式")],-1)),I=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bottom"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"90px"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"behavior"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"auto"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"auto 模式"),a("span",{style:{color:"#89DDFF"}},"")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bottom"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"140px"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"behavior"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"smooth"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"smooth 模式"),a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),S=s(()=>a("h2",{id:"圆形的",tabindex:"-1"},[t("圆形的 "),a("a",{class:"header-anchor",href:"#圆形的","aria-label":'Permalink to "圆形的"'},"​")],-1)),q=s(()=>a("p",null,[a("code",null,"round"),t(" 属性可以配置圆形的样式")],-1)),P=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bottom"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"190px"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}},">")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-svg-icon"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconSnowflake"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")]),t(` @@ -25,21 +25,21 @@ import{F as h}from"./chunks/index.525445a9.js";import{F as b}from"./chunks/index `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#B2CCD6"}},"border"),a("span",{style:{color:"#89DDFF"}},":"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#F78C6C"}},"4px"),a("span",{style:{color:"#BABED8"}}," solid skyblue"),a("span",{style:{color:"#89DDFF"}},";")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#B2CCD6"}},"overflow"),a("span",{style:{color:"#89DDFF"}},":"),a("span",{style:{color:"#BABED8"}}," auto"),a("span",{style:{color:"#89DDFF"}},";")]),t(` `),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"}")]),t(` -`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),J=i('

Attractive

参数说明类型可选值默认值
round是否为圆角boolean——false
behavior滚动模式BackTopBehaviorsmooth autosmooth
visible-height滚动超出多少距离展示number——200
right距离右侧的距离string——40
bottom距离底部的距离string——40
z-index原生 z-indexnumber——200
top点击返回距离顶部的距离number——0
listen-el监视指定元素,需要传入指定的 class 或 id,如:.box #appstring————
background背景色string————
color文字颜色string————

Slots

名称说明
default默认内容

Interface

组件导出以下类型定义:

ts
import type { BackTopInstance, BackTopProps, BackTopBehavior } from 'fighting-design'

BackTopBehavior

ts
type BackTopBehavior = 'smooth' | 'auto'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--back-top-right距离右侧距离
--back-top-bottom距离底部距离
--back-top-z-index层级
--back-top-color文字颜色
--back-top-background背景颜色

Contributors

',13),K={href:"https://github.com/Tyh2001",target:"_blank"},M={href:"https://github.com/XiaoLi-sach",target:"_blank"},R=JSON.parse('{"title":"BackTop 返回顶部","description":"","frontmatter":{},"headers":[],"relativePath":"components/back-top.md","filePath":"components/back-top.md","lastUpdated":1695888875000}'),O={name:"components/back-top.md"},W=u({...O,setup(n){return(X,j)=>{const c=p("f-back-top"),e=p("vp-demo"),r=p("f-svg-icon"),d=p("f-avatar");return F(),D("div",null,[E,o(c,null,{default:l(()=>[t("返回顶部")]),_:1}),o(e,{source:`返回顶部 +`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"")])])])],-1)),J=y('

Attractive

参数说明类型可选值默认值
round是否为圆角boolean——false
behavior滚动模式BackTopBehaviorsmooth autosmooth
visible-height滚动超出多少距离展示number——200
right距离右侧的距离string——40
bottom距离底部的距离string——40
z-index原生 z-indexnumber——200
top点击返回距离顶部的距离number——0
listen-el监视指定元素,需要传入指定的 class 或 id,如:.box #appstring————
background背景色string————
color文字颜色string————

Slots

名称说明
default默认内容

Interface

组件导出以下类型定义:

ts
import type { BackTopInstance, BackTopProps, BackTopBehavior } from 'fighting-design'

BackTopBehavior

ts
type BackTopBehavior = 'smooth' | 'auto'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--back-top-right距离右侧距离
--back-top-bottom距离底部距离
--back-top-z-index层级
--back-top-color文字颜色
--back-top-background背景颜色

Contributors

',13),K={href:"https://github.com/Tyh2001",target:"_blank"},M={href:"https://github.com/XiaoLi-sach",target:"_blank"},R=JSON.parse('{"title":"BackTop 返回顶部","description":"","frontmatter":{},"headers":[],"relativePath":"components/back-top.md","filePath":"components/back-top.md","lastUpdated":1696667892000}'),O={name:"components/back-top.md"},W=b({...O,setup(n){return(X,j)=>{const c=p("f-back-top"),e=p("vp-demo"),r=p("f-svg-icon"),d=p("f-avatar");return D(),f("div",null,[E,o(c,null,{default:l(()=>[t("返回顶部")]),_:1}),o(e,{source:`返回顶部 `},{default:l(()=>[C]),_:1}),A,x,o(c,{bottom:"90px",behavior:"auto"},{default:l(()=>[t("auto 模式")]),_:1}),o(c,{bottom:"140px",behavior:"smooth"},{default:l(()=>[t("smooth 模式")]),_:1}),o(e,{source:`auto 模式 smooth 模式 -`},{default:l(()=>[I]),_:1}),S,q,o(c,{bottom:"190px",round:""},{default:l(()=>[o(r,{icon:y(h)},null,8,["icon"])]),_:1}),o(e,{source:` +`},{default:l(()=>[I]),_:1}),S,q,o(c,{bottom:"190px",round:""},{default:l(()=>[o(r,{icon:F(v)},null,8,["icon"])]),_:1}),o(e,{source:` + + - + @@ -17,7 +17,7 @@ - + @@ -30,56 +30,56 @@ -
Skip to content
On this page

Alert 警告

用于页面中展示重要的提示信息

基本使用

type 属性可以配置不同的主题类型,展示不同的颜色状态

开启

不同文字大小

font-size 属性可以配置不同大小的 alert

开启

是否加粗

使用 bold 属性可将文字设置为粗体显示

开启

是否居中

使用 center 属性可将文本显示中间

开启

可关闭

使用 close 属性可以让 alert 被关闭

开启

简约模式

使用 simple 属性可以配置简约的 alert,样式依然由 type 控制

开启

圆角

round 属性可以配置 alert 显示为圆角

开启

背景颜色

如果你希望文字带上背景颜色,你可以使用 background 属性自定义你的 alert 背景颜色

开启

带有标题

title 可以配置一个标题信息,标题会加粗

开启

滚动列表

alert-list 可传入一个数组进行滚动展示

开启

自定义前缀 icon

开启

Attributes

参数说明类型可选值默认值
type类型FightingTypedefault primary success danger warning infodefault
font-size副标题文字大小string / number————
title-size主标题文字大小string / number————
bold文字是否以粗体显示boolean——false
center是否居中boolean——false
close可关闭boolean——false
simple简约模式boolean——false
title标题string————
round显示为圆角boolean——false
background背景颜色string————
color副标题字体颜色string————
title-color主标题字体颜色string————
fixed是否固定定位boolean——false
alert-list滚动列表array (string[])————
duration滚动列表滚动时间间隔number————
before-icon自定义前缀 iconFightingIcon————
close-icon自定义关闭 iconFightingIcon————
on-close点击关闭之后执行的回调HandleMouse————

Slots

名称说明
default自定义副标题的内容
title自定义主标题的内容
closeIcon自定义关闭 icon
beforeIcon自定义前缀 icon

Interface

组件导出以下类型定义:

ts
import type { AlertInstance, AlertProps } from 'fighting-design'

样式变量

组件提供了下列 CSS 变量,可用于自定义样式

名称描述
--alert-border-radius圆角大小
--alert-color文字颜色
--alert-background背景色

Contributors

- diff --git a/components/avatar-group.html b/components/avatar-group.html index 50e555cdbe..fbaa56bd34 100644 --- a/components/avatar-group.html +++ b/components/avatar-group.html @@ -5,18 +5,18 @@ Avatar Group 头像组 | Fighting Design - - + + - + - + @@ -29,7 +29,7 @@ -
Skip to content
On this page

Avatar Group 头像组

多个头像的集合

基本使用

<f-avatar-group> 组件内部插入 <f-avatar> 组件