diff --git a/css/hooks-CWKJv97L.css b/css/hooks-Coh90r6u.css
similarity index 86%
rename from css/hooks-CWKJv97L.css
rename to css/hooks-Coh90r6u.css
index f1550092..8653ad05 100644
--- a/css/hooks-CWKJv97L.css
+++ b/css/hooks-Coh90r6u.css
@@ -1 +1 @@
-.ray-chart{width:var(--ray-chart-width);height:var(--ray-chart-height);border:none;outline:none;box-sizing:border-box;-webkit-transition:width .35s var(--r-bezier);transition:width .35s var(--r-bezier)}.ray-chart .ray-chart__container{width:100%;height:100%;box-sizing:border-box}.ray-collapse-grid{box-sizing:border-box}.ray-collapse-grid .collapse-icon{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;-webkit-transition:color .3s var(--r-bezier);transition:color .3s var(--r-bezier)}.ray-collapse-grid .collapse-icon>.collapse-icon--arrow{margin-left:.5em;-webkit-transition:color .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),transform .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier);-webkit-transform:rotate(270deg);transform:rotate(270deg)}.ray-collapse-grid .collapse-icon>.collapse-icon--arrow.collapse-icon--arrow__expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ray-collapse-grid .ray-collapse-grid__suffix--btn{-webkit-align-self:var(--r-collapse-grid-action-align);align-self:var(--r-collapse-grid-action-align)}.ray-icon{position:relative;width:var(--ray-icon-width);height:var(--ray-icon-height);border:none;outline:none;text-align:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--ray-icon-color);-webkit-transform:translateZ(0);transform:translateZ(0);opacity:var(--ray-icon-depth);cursor:var(--ray-icon-cursor)}.ray-icon svg[RayIconAttribute=ray-icon]{width:var(--ray-icon-width);height:var(--ray-icon-height);fill:currentColor}.ray-icon-path__animate{stroke-dasharray:var(--ray-icon-path-length);stroke-dashoffset:var(--ray-icon-path-length);-webkit-animation:rayIconPathAnimate 2s forwards;animation:rayIconPathAnimate 2s forwards}@-webkit-keyframes rayIconPathAnimate{to{stroke-dashoffset:0}}@keyframes rayIconPathAnimate{to{stroke-dashoffset:0}}.ray-iframe{width:var(--ray-iframe-width);height:var(--ray-iframe-height);box-sizing:border-box;border:var(--ray-iframe-frameborder)}.ray-iframe .ray-iframe__container{width:100%;height:100%;border:0;outline:0}.r-modal.n-card.r-modal__preset-card--fullscreen{width:100%}.r-modal.n-card.r-modal__preset-card--fullscreen .n-card__content{overflow:scroll}.r-modal.n-card{width:var(--r-modal-card-width)}.r-modal.n-dialog{width:var(--r-modal-dialog-width)}.r-table__c-tree .n-tree-node-switcher.n-tree-node-switcher--hide{visibility:visible}.r-table__c-tree .ray-icon.r-table__c-tool-icon--active{color:var(--ray-theme-primary-color)}.r-table__setting:hover{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transition:-webkit-transform .3s var(--r-bezier);transition:-webkit-transform .3s var(--r-bezier);transition:transform .3s var(--r-bezier);transition:transform .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier)}.r-segment{width:var(--r-segment-width)}.r-barcode{position:relative;width:var(--r-barcode-width);height:var(--r-barcode-height);-webkit-transition:-webkit-filter .3s var(--r-bezier);transition:-webkit-filter .3s var(--r-bezier);transition:filter .3s var(--r-bezier);transition:filter .3s var(--r-bezier),-webkit-filter .3s var(--r-bezier)}.r-barcode.r-barcode--loading{-webkit-filter:blur(4px);filter:blur(4px)}.r-barcode-spin,.r-barcode-spin .n-spin-content{width:-webkit-max-content!important;width:-moz-max-content!important;width:max-content!important;height:-webkit-max-content!important;height:-moz-max-content!important;height:max-content!important}.r-layout-full{position:fixed;top:0;right:0;bottom:0;left:0}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container{overflow:hidden}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content{height:var(--layout-content-height);padding:16px}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content .n-scrollbar-container,.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content .n-scrollbar-container .n-scrollbar-content{height:100%}.ray-template--light .r-layout-full__viewer-content{box-shadow:0 -1px 2px #0000001f}.ray-template--dark .r-layout-full__viewer-content{box-shadow:0 -1px 2px #000000b8}.n-drawer.app-menu__drawer{width:auto!important}.n-drawer.app-menu__drawer .n-layout-sider{height:100%}.ray-template--light .app-menu__sider{box-shadow:2px 0 8px #0000001f}.ray-template--dark .app-menu__sider{box-shadow:2px 0 8px #000000b8}.ray-menu__logo{height:64px;padding:0 18px 0 24px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;gap:8px 12px;font-weight:600;overflow:hidden}.ray-menu__logo.ray-menu__logo-url{position:-webkit-sticky;position:sticky;top:0;cursor:pointer;background-color:var(--n-color);z-index:20}.ray-menu__logo .ray-menu__logo-title{opacity:0;display:none;-webkit-box-flex:1;-webkit-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ray-menu__logo .ray-menu__logo-title.ray-menu__logo-title--open{opacity:1;display:inline-block}.content-wrapper{box-sizing:border-box}.content-wrapper[v-cloak]{display:none}.r-layout-full__viewer-content--maximize .layout-content__maximize-out{position:fixed;width:80px;height:80px;border-radius:50%;cursor:pointer;z-index:99;right:-40px;top:-40px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:color .3s var(--r-bezier),background-color .3s var(--r-bezier);transition:color .3s var(--r-bezier),background-color .3s var(--r-bezier)}.r-layout-full__viewer-content--maximize .layout-content__maximize-out .ray-icon{-webkit-transform:translate(-14px,14px);transform:translate(-14px,14px)}body[class=ray-template--dark] .r-layout-full__viewer-content--maximize--dark .layout-content__maximize-out{color:#2c2a28;background:#757473}body[class=ray-template--dark] .r-layout-full__viewer-content--maximize--dark .layout-content__maximize-out:hover{background-color:#d5d3d1;color:#44403c}body[class=ray-template--light] .r-layout-full__viewer-content--maximize--light .layout-content__maximize-out{color:#eae9e8;background:#a19f9d}body[class=ray-template--light] .r-layout-full__viewer-content--maximize--light .layout-content__maximize-out:hover{background-color:#44403c;color:#d5d3d1}.ray-template--dark .r-layout-full__viewer-content{background-color:#101014}.ray-template--light .r-layout-full__viewer-content{background-color:#f7f9f8}.layout-footer-wrapper{height:48px;text-align:center;line-height:48px}.ray-template--dark .layout-footer-wrapper{background-color:#18181c}.ray-template--light .layout-footer-wrapper{background-color:#fff}.layout-header{height:64px;padding:0 18px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.layout-header>.layout-header__method{width:100%}.ray-template--light .layout-header{box-shadow:0 1px 2px #0000001f}.ray-template--dark .layout-header{box-shadow:0 1px 2px #000000b8}.override-button__layout{padding:0 9px}.tooltip-text__icon{cursor:pointer;outline:none;border:none}.setting-drawer__space{width:100%}.setting-drawer__space .n-descriptions-table-content{display:-webkit-box!important;display:-webkit-flex!important;display:flex!important;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.n-breadcrumb .n-breadcrumb-item.breadcrumb-enter-active,.n-breadcrumb .n-breadcrumb-item.breadcrumb-leave-active,.n-breadcrumb .n-breadcrumb-item .breadcrumb-move{-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier)}.n-breadcrumb .n-breadcrumb-item.breadcrumb-enter-from,.n-breadcrumb .n-breadcrumb-item.breadcrumb-leave-active{opacity:0;-webkit-transform:translateX(20px);transform:translate(20px)}.n-breadcrumb .n-breadcrumb-item.breadcrumb-leave-active{position:absolute}.global-search{position:fixed;width:650px;left:50%;margin-left:-325px;top:60px}.global-search .global-search__wrapper{box-sizing:border-box}.global-search .global-search__wrapper .global-search__card{border-radius:6px;min-width:560px}.global-search .global-search__wrapper .global-search__card .ray-icon{color:var(--ray-theme-primary-color)}.global-search .global-search__wrapper .global-search__card .n-card__action{padding:8px 12px}.global-search .global-search__wrapper .global-search__card .n-card__content,.global-search .global-search__wrapper .global-search__card .n-spin-content{min-height:90px}.global-search .global-search__wrapper .global-search__card .content-item{padding:12px;border-radius:6px;cursor:pointer;-webkit-transition:background-color .3s var(--r-bezier);transition:background-color .3s var(--r-bezier);border:1px solid var(--n-border-color)}.global-search .global-search__wrapper .global-search__card .content-item .content-item-icon{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.global-search .global-search__wrapper .global-search__card .item-icon{min-width:24px;border-radius:4px;border:1px solid var(--n-border-color);padding:3px 6px;background-color:var(--n-action-color)}.global-search .global-search__wrapper .global-search__card .item-icon,.global-search .global-search__wrapper .global-search__card .item-label{-webkit-transform:scale(.75);transform:scale(.75);font-weight:bolder}.n-flex.global-search__card-content .content-item.content-item--active,.n-flex.global-search__card-content .content-item:hover{background-color:var(--ray-theme-primary-fade-color)}.n-flex.global-search__card-content .content-item{position:relative;-webkit-transition:var(--r-bezier);transition:var(--r-bezier)}.n-flex.global-search__card-content .content-item .content-item-icon__enter{position:absolute;width:18px;height:18px;right:16px;opacity:0}.n-flex.global-search__card-content .content-item.content-item--active .content-item-icon__enter,.n-flex.global-search__card-content .content-item:hover .content-item-icon__enter{opacity:1}.global-search-btn__label{height:22px;padding:0 6px;font-size:var(--n-font-size);line-height:1;font-family:inherit;text-align:center;cursor:pointer;border-radius:var(--n-border-radius);text-decoration:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-flex-shrink:0;flex-shrink:0;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border:var(--n-border);-webkit-transition:border-color .3s var(--n-bezier);transition:border-color .3s var(--n-bezier)}.global-search__btn-wrapper:hover .global-search-btn__label{border:var(--n-border-hover)}.menu-tag{height:46px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:6px 0}.menu-tag .menu-tag-space{width:calc(100% - 18px);padding:9px}.menu-tag .menu-tag-space .menu-tag-wrapper{width:calc(100% - 94px)}.menu-tag .menu-tag-space .ray-icon{cursor:pointer}.menu-tag .menu-tag-space .menu-tag__right-wrapper .menu-tag__right-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.menu-tag .menu-tag-space .menu-tag__right-wrapper .menu-tag__right-setting{width:28px;height:20px}.menu-tag .n-tag{cursor:pointer}.menu-tag .menu-tag__btn{padding:7px 10px}.menu-tag .menu-tag__btn .menu-tag__btn-icon--hidden{display:none!important}.menu-tag .menu-tag__btn .menu-tag__btn-icon{display:inline;margin-left:0;width:0;height:0;-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier);overflow:hidden;opacity:0}.menu-tag .menu-tag__btn .menu-tag__btn-icon .ray-icon{width:11px!important;height:11px!important}.menu-tag .menu-tag__btn:hover .menu-tag__btn-icon{width:14px;height:14px;margin-left:5px;font-size:12px;background-color:#0000001f;border-radius:50%;padding:1px;-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier);opacity:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.menu-tag__dropdown .menu-tag__icon{width:18px;height:18px}.menu-tag__right-setting--spinning{-webkit-animation:elementRotate .8s linear infinite;animation:elementRotate .8s linear infinite}.ray-template--light .menu-tag{box-shadow:0 2px 2px #0000001f}.ray-template--dark .menu-tag{box-shadow:0 2px 2px #000000b8}
+.ray-chart{width:var(--ray-chart-width);height:var(--ray-chart-height);border:none;outline:none;box-sizing:border-box;-webkit-transition:width .35s var(--r-bezier);transition:width .35s var(--r-bezier)}.ray-chart .ray-chart__container{width:100%;height:100%;box-sizing:border-box}.ray-collapse-grid{box-sizing:border-box}.ray-collapse-grid .collapse-icon{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;-webkit-transition:color .3s var(--r-bezier);transition:color .3s var(--r-bezier)}.ray-collapse-grid .collapse-icon>.collapse-icon--arrow{margin-left:.5em;-webkit-transition:color .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),transform .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier);-webkit-transform:rotate(270deg);transform:rotate(270deg)}.ray-collapse-grid .collapse-icon>.collapse-icon--arrow.collapse-icon--arrow__expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ray-collapse-grid .ray-collapse-grid__suffix--btn{-webkit-align-self:var(--r-collapse-grid-action-align);align-self:var(--r-collapse-grid-action-align)}.ray-icon{position:relative;width:var(--ray-icon-width);height:var(--ray-icon-height);border:none;outline:none;text-align:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--ray-icon-color);-webkit-transform:translateZ(0);transform:translateZ(0);opacity:var(--ray-icon-depth);cursor:var(--ray-icon-cursor)}.ray-icon svg[RayIconAttribute=ray-icon]{width:var(--ray-icon-width);height:var(--ray-icon-height);fill:currentColor}.ray-icon-path__animate{stroke-dasharray:var(--ray-icon-path-length);stroke-dashoffset:var(--ray-icon-path-length);-webkit-animation:rayIconPathAnimate 2s forwards;animation:rayIconPathAnimate 2s forwards}@-webkit-keyframes rayIconPathAnimate{to{stroke-dashoffset:0}}@keyframes rayIconPathAnimate{to{stroke-dashoffset:0}}.ray-iframe{width:var(--ray-iframe-width);height:var(--ray-iframe-height);box-sizing:border-box;border:var(--ray-iframe-frameborder)}.ray-iframe .ray-iframe__container{width:100%;height:100%;border:0;outline:0}.r-modal.n-card.r-modal__preset-card--fullscreen{width:100%}.r-modal.n-card.r-modal__preset-card--fullscreen .n-card__content{overflow:scroll}.r-modal.n-card{width:var(--r-modal-card-width)}.r-modal.n-dialog{width:var(--r-modal-dialog-width)}.r-table__c-tree .n-tree-node-switcher.n-tree-node-switcher--hide{visibility:visible}.r-table__c-tree .ray-icon.r-table__c-tool-icon--active{color:var(--ray-theme-primary-color)}.r-table__setting:hover{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transition:-webkit-transform .3s var(--r-bezier);transition:-webkit-transform .3s var(--r-bezier);transition:transform .3s var(--r-bezier);transition:transform .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier)}.r-segment{width:var(--r-segment-width)}.r-barcode{position:relative;width:var(--r-barcode-width);height:var(--r-barcode-height);-webkit-transition:-webkit-filter .3s var(--r-bezier);transition:-webkit-filter .3s var(--r-bezier);transition:filter .3s var(--r-bezier);transition:filter .3s var(--r-bezier),-webkit-filter .3s var(--r-bezier)}.r-barcode.r-barcode--loading{-webkit-filter:blur(4px);filter:blur(4px)}.r-barcode-spin,.r-barcode-spin .n-spin-content{width:-webkit-max-content!important;width:-moz-max-content!important;width:max-content!important;height:-webkit-max-content!important;height:-moz-max-content!important;height:max-content!important}.r-layout-full{position:fixed;top:0;right:0;bottom:0;left:0}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container{overflow:hidden}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content{height:var(--layout-content-height);padding:16px}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content .n-scrollbar-container,.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content .n-scrollbar-container .n-scrollbar-content{height:100%}.ray-template--light .r-layout-full__viewer-content{box-shadow:0 -1px 2px #0000001f}.ray-template--dark .r-layout-full__viewer-content{box-shadow:0 -1px 2px #000000b8}.n-drawer.app-menu__drawer{width:auto!important}.n-drawer.app-menu__drawer .n-layout-sider{height:100%}.ray-template--light .app-menu__sider{box-shadow:2px 0 8px #0000001f}.ray-template--dark .app-menu__sider{box-shadow:2px 0 8px #000000b8}.ray-menu__logo{height:64px;padding:0 18px 0 24px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;gap:8px 12px;font-weight:600;overflow:hidden}.ray-menu__logo.ray-menu__logo-url{position:-webkit-sticky;position:sticky;top:0;cursor:pointer;background-color:var(--n-color);z-index:20}.ray-menu__logo .ray-menu__logo-title{opacity:0;display:none;-webkit-box-flex:1;-webkit-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ray-menu__logo .ray-menu__logo-title.ray-menu__logo-title--open{opacity:1;display:inline-block}.content-wrapper{box-sizing:border-box}.content-wrapper[v-cloak]{display:none}.r-layout-full__viewer-content--maximize .layout-content__maximize-out{position:fixed;width:80px;height:80px;border-radius:50%;cursor:pointer;z-index:99;right:-40px;top:-40px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:color .3s var(--r-bezier),background-color .3s var(--r-bezier);transition:color .3s var(--r-bezier),background-color .3s var(--r-bezier)}.r-layout-full__viewer-content--maximize .layout-content__maximize-out .ray-icon{-webkit-transform:translate(-14px,14px);transform:translate(-14px,14px)}body[class=ray-template--dark] .r-layout-full__viewer-content--maximize--dark .layout-content__maximize-out{color:#2c2a28;background:#757473}body[class=ray-template--dark] .r-layout-full__viewer-content--maximize--dark .layout-content__maximize-out:hover{background-color:#d5d3d1;color:#44403c}body[class=ray-template--light] .r-layout-full__viewer-content--maximize--light .layout-content__maximize-out{color:#eae9e8;background:#a19f9d}body[class=ray-template--light] .r-layout-full__viewer-content--maximize--light .layout-content__maximize-out:hover{background-color:#44403c;color:#d5d3d1}.ray-template--dark .r-layout-full__viewer-content{background-color:#101014}.ray-template--light .r-layout-full__viewer-content{background-color:#f7f9f8}.layout-footer-wrapper{height:48px;text-align:center;line-height:48px}.ray-template--dark .layout-footer-wrapper{background-color:#18181c}.ray-template--light .layout-footer-wrapper{background-color:#fff}.layout-header{height:64px;padding:0 18px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.layout-header>.layout-header__method{width:100%}.ray-template--light .layout-header{box-shadow:0 1px 2px #0000001f}.ray-template--dark .layout-header{box-shadow:0 1px 2px #000000b8}.override-button__layout{padding:0 9px}.tooltip-text__icon{cursor:pointer;outline:none;border:none}.setting-drawer__space{width:100%}.setting-drawer__space .n-descriptions-table-content{display:-webkit-box!important;display:-webkit-flex!important;display:flex!important;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.n-breadcrumb .n-breadcrumb-item.breadcrumb-enter-active,.n-breadcrumb .n-breadcrumb-item.breadcrumb-leave-active,.n-breadcrumb .n-breadcrumb-item .breadcrumb-move{-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier)}.n-breadcrumb .n-breadcrumb-item.breadcrumb-enter-from,.n-breadcrumb .n-breadcrumb-item.breadcrumb-leave-active{opacity:0;-webkit-transform:translateX(20px);transform:translate(20px)}.n-breadcrumb .n-breadcrumb-item.breadcrumb-leave-active{position:absolute}.global-search{position:fixed;width:650px;left:50%;margin-left:-325px;top:60px}.global-search .global-search__wrapper{box-sizing:border-box}.global-search .global-search__wrapper .global-search__card{border-radius:6px;min-width:560px}.global-search .global-search__wrapper .global-search__card .ray-icon{color:var(--ray-theme-primary-color)}.global-search .global-search__wrapper .global-search__card .n-card__action{padding:8px 12px}.global-search .global-search__wrapper .global-search__card .n-card__content,.global-search .global-search__wrapper .global-search__card .n-spin-content{min-height:90px}.global-search .global-search__wrapper .global-search__card .content-item{padding:12px;border-radius:6px;cursor:pointer;-webkit-transition:background-color .3s var(--r-bezier);transition:background-color .3s var(--r-bezier);border:1px solid var(--n-border-color)}.global-search .global-search__wrapper .global-search__card .content-item .content-item-icon{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.global-search .global-search__wrapper .global-search__card .item-icon{min-width:24px;border-radius:4px;border:1px solid var(--n-border-color);padding:3px 6px;background-color:var(--n-action-color)}.global-search .global-search__wrapper .global-search__card .item-icon,.global-search .global-search__wrapper .global-search__card .item-label{-webkit-transform:scale(.75);transform:scale(.75);font-weight:bolder}.n-flex.global-search__card-content .content-item.content-item--active,.n-flex.global-search__card-content .content-item:hover{background-color:var(--ray-theme-primary-fade-color)}.n-flex.global-search__card-content .content-item{position:relative;-webkit-transition:var(--r-bezier);transition:var(--r-bezier)}.n-flex.global-search__card-content .content-item .content-item-icon__enter{position:absolute;width:18px;height:18px;right:16px;opacity:0}.n-flex.global-search__card-content .content-item.content-item--active .content-item-icon__enter,.n-flex.global-search__card-content .content-item:hover .content-item-icon__enter{opacity:1}.global-search-btn__label{height:22px;padding:0 6px;font-size:var(--n-font-size);line-height:1;font-family:inherit;text-align:center;cursor:pointer;border-radius:var(--n-border-radius);text-decoration:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-flex-shrink:0;flex-shrink:0;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border:var(--n-border);-webkit-transition:border-color .3s var(--n-bezier);transition:border-color .3s var(--n-bezier)}.global-search__btn-wrapper:hover .global-search-btn__label{border:var(--n-border-hover)}.menu-tag{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:6px 0}.menu-tag .menu-tag-space{width:calc(100% - 18px);padding:0 18px}.menu-tag .menu-tag-space .menu-tag-wrapper{width:calc(100% - 94px)}.menu-tag .menu-tag-space .ray-icon,.menu-tag .n-tag{cursor:pointer}.menu-tag .menu-tag__btn .menu-tag__btn-icon--hidden{display:none!important}.menu-tag .menu-tag__btn .menu-tag__btn-icon{display:inline;margin-left:0;width:0;height:0;-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier);overflow:hidden;opacity:0}.menu-tag .menu-tag__btn .menu-tag__btn-icon .ray-icon{width:11px!important;height:11px!important}.menu-tag .menu-tag__btn:hover .menu-tag__btn-icon{width:14px;height:14px;margin-left:5px;font-size:12px;background-color:#0000001f;border-radius:50%;padding:1px;-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier);opacity:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.menu-tag__dropdown .menu-tag__icon{width:16px;height:16px}.menu-tag__right-setting--spinning{-webkit-animation:elementRotate .8s linear infinite;animation:elementRotate .8s linear infinite}.ray-template--light .menu-tag{box-shadow:0 2px 2px #0000001f}.ray-template--dark .menu-tag{box-shadow:0 2px 2px #000000b8}.override-button__menu-tag{padding:0 6px}
diff --git a/css/hooks-CWKJv97L.css.gz b/css/hooks-Coh90r6u.css.gz
similarity index 87%
rename from css/hooks-CWKJv97L.css.gz
rename to css/hooks-Coh90r6u.css.gz
index b7ea5c7f..8d1c94b3 100644
Binary files a/css/hooks-CWKJv97L.css.gz and b/css/hooks-Coh90r6u.css.gz differ
diff --git a/index.html b/index.html
index c2385667..c547a056 100644
--- a/index.html
+++ b/index.html
@@ -8,58 +8,58 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
Ray Template
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
diff --git a/index.html.gz b/index.html.gz
index e721d83c..d8b74cc8 100644
Binary files a/index.html.gz and b/index.html.gz differ
diff --git a/js/@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js b/js/@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js
similarity index 83%
rename from js/@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js
rename to js/@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js
index 87c3666f..e4ce46fb 100644
--- a/js/@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js
+++ b/js/@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js
@@ -1,3 +1,3 @@
-import{i as u}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";const i="@css-render/vue3-ssr";function o(e,n){return``}function c(e,n,t){const{styles:r,ids:s}=t;s.has(e)||r!==null&&(s.add(e),r.push(o(e,n)))}const d=typeof document<"u";function l(){if(d)return;const e=u(i,null);if(e!==null)return{adapter:(n,t)=>c(n,t,e),context:e}}export{l as u};
diff --git a/js/@vue_runtime-core@3.5.12-BCEn0y7C.js.gz b/js/@vue_runtime-core@3.5.12-BCEn0y7C.js.gz
deleted file mode 100644
index 5d38d95c..00000000
Binary files a/js/@vue_runtime-core@3.5.12-BCEn0y7C.js.gz and /dev/null differ
diff --git a/js/@vue_runtime-core@3.5.12-BCEn0y7C.js b/js/@vue_runtime-core@3.5.12-Ds-HrVrM.js
similarity index 72%
rename from js/@vue_runtime-core@3.5.12-BCEn0y7C.js
rename to js/@vue_runtime-core@3.5.12-Ds-HrVrM.js
index 390bbb58..4d65ee1f 100644
--- a/js/@vue_runtime-core@3.5.12-BCEn0y7C.js
+++ b/js/@vue_runtime-core@3.5.12-Ds-HrVrM.js
@@ -1,5 +1,5 @@
-import{w as wl,i as Ls,c as Hl,s as Nl,a as Ft,t as $l,p as Vs,m as Ll,b as Ge,r as Je,d as Bt,e as Vl,R as Ul,E as Dl,f as Us,g as Sl,h as jl}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{b as L,e as ie,n as Pt,E as q,o as be,p as Ds,a as pe,c as R,q as Ss,s as ns,u as js,r as Rs,i as Rl,N as Ie,v as ke,w as Ks,x as je,y as et,z as Kl,A as Wl,B as tt,f as Q,C as ql,D as ft,g as Gl,F as Jl,G as Vt,H as Ws}from"./@vue_shared@3.5.12--5_uv9t5.js";/**
+import{w as wl,i as Ls,c as Hl,s as Nl,a as Ct,t as $l,p as Vs,m as Ll,b as Ge,r as Je,d as Ot,e as Vl,R as Ul,E as Dl,f as Us,g as jl,h as Sl}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{b as L,e as re,n as Bt,E as q,o as be,p as Ds,a as pe,c as R,q as js,s as ns,u as Ss,r as Rs,i as Rl,N as Ie,v as ke,w as Ks,x as Se,y as et,z as Kl,A as Wl,B as tt,f as Q,C as ql,D as ft,g as Gl,F as Jl,G as Lt,H as Ws}from"./@vue_shared@3.5.12--5_uv9t5.js";/**
* @vue/runtime-core v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
-**/function ct(e,t,s,l){try{return l?e(...l):e()}catch(n){ut(n,t,s)}}function Ee(e,t,s,l){if(L(e)){const n=ct(e,t,s,l);return n&&js(n)&&n.catch(r=>{ut(r,t,s)}),n}if(R(e)){const n=[];for(let r=0;r>>1,n=ce[l],r=rt(n);r=rt(s)?ce.push(e):ce.splice(Xl(t),0,e),e.flags|=1,Gs()}}function Gs(){vt||(vt=qs.then(Ys))}function Kt(e){R(e)?Re.push(...e):Pe&&e.id===-1?Pe.splice(Se+1,0,e):e.flags&1||(Re.push(e),e.flags|=1),Gs()}function vs(e,t,s=Te+1){for(;srt(s)-rt(l));if(Re.length=0,Pe){Pe.push(...t);return}for(Pe=t,Se=0;See.id==null?e.flags&2?-1:1/0:e.id;function Ys(e){try{for(Te=0;Te{l._d&&Hs(-1);const r=Tt(t);let i;try{i=e(...n)}finally{Tt(r),l._d&&Hs(1)}return i};return l._n=!0,l._c=!0,l._d=!0,l}function gr(e,t){if(z===null)return e;const s=$t(z),l=e.dirs||(e.dirs=[]);for(let n=0;ne.__isTeleport,st=e=>e&&(e.disabled||e.disabled===""),zl=e=>e&&(e.defer||e.defer===""),Ts=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ks=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Wt=(e,t)=>{const s=e&&e.to;return be(s)?t?t(s):null:s},en={name:"Teleport",__isTeleport:!0,process(e,t,s,l,n,r,i,c,u,g){const{mc:d,pc:a,pbc:m,o:{insert:x,querySelector:A,createText:O,createComment:W}}=g,V=st(t.props);let{shapeFlag:E,children:P,dynamicChildren:B}=t;if(e==null){const k=t.el=O(""),M=t.anchor=O("");x(k,s,l),x(M,s,l);const D=(I,H)=>{E&16&&(n&&n.isCE&&(n.ce._teleportTarget=I),d(P,I,H,n,r,i,c,u))},U=()=>{const I=t.target=Wt(t.props,A),H=zs(I,t,O,x);I&&(i!=="svg"&&Ts(I)?i="svg":i!=="mathml"&&ks(I)&&(i="mathml"),V||(D(I,H),yt(t,!1)))};V&&(D(s,M),yt(t,!0)),zl(t.props)?te(U,r):U()}else{t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,M=t.target=e.target,D=t.targetAnchor=e.targetAnchor,U=st(e.props),I=U?s:M,H=U?k:D;if(i==="svg"||Ts(M)?i="svg":(i==="mathml"||ks(M))&&(i="mathml"),B?(m(e.dynamicChildren,B,I,n,r,i,c),ds(e,t,!0)):u||a(e,t,I,H,n,r,i,c,!1),V)U?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gt(t,s,k,g,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const S=t.target=Wt(t.props,A);S&>(t,S,null,g,0)}else U&>(t,M,D,g,1);yt(t,V)}},remove(e,t,s,{um:l,o:{remove:n}},r){const{shapeFlag:i,children:c,anchor:u,targetStart:g,targetAnchor:d,target:a,props:m}=e;if(a&&(n(g),n(d)),r&&n(u),i&16){const x=r||!st(m);for(let A=0;A{e.isMounted=!0}),os(()=>{e.isUnmounting=!0}),e}const me=[Function,Array],ln={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:me,onEnter:me,onAfterEnter:me,onEnterCancelled:me,onBeforeLeave:me,onLeave:me,onAfterLeave:me,onLeaveCancelled:me,onBeforeAppear:me,onAppear:me,onAfterAppear:me,onAppearCancelled:me},el=e=>{const t=e.subTree;return t.component?el(t.component):t},nn={name:"BaseTransition",props:ln,setup(e,{slots:t}){const s=ms(),l=sn();return()=>{const n=t.default&&ll(t.default(),!0);if(!n||!n.length)return;const r=tl(n),i=Bt(e),{mode:c}=i;if(l.isLeaving)return Ut(r);const u=Es(r);if(!u)return Ut(r);let g=qt(u,i,l,s,m=>g=m);u.type!==se&&We(u,g);const d=s.subTree,a=d&&Es(d);if(a&&a.type!==se&&!Ce(u,a)&&el(s).type!==se){const m=qt(a,i,l,s);if(We(a,m),c==="out-in"&&u.type!==se)return l.isLeaving=!0,m.afterLeave=()=>{l.isLeaving=!1,s.job.flags&8||s.update(),delete m.afterLeave},Ut(r);c==="in-out"&&u.type!==se&&(m.delayLeave=(x,A,O)=>{const W=sl(l,a);W[String(a.key)]=a,x[Me]=()=>{A(),x[Me]=void 0,delete g.delayedLeave},g.delayedLeave=O})}return r}}};function tl(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==se){t=s;break}}return t}const mr=nn;function sl(e,t){const{leavingVNodes:s}=e;let l=s.get(t.type);return l||(l=Object.create(null),s.set(t.type,l)),l}function qt(e,t,s,l,n){const{appear:r,mode:i,persisted:c=!1,onBeforeEnter:u,onEnter:g,onAfterEnter:d,onEnterCancelled:a,onBeforeLeave:m,onLeave:x,onAfterLeave:A,onLeaveCancelled:O,onBeforeAppear:W,onAppear:V,onAfterAppear:E,onAppearCancelled:P}=t,B=String(e.key),k=sl(s,e),M=(I,H)=>{I&&Ee(I,l,9,H)},D=(I,H)=>{const S=H[1];M(I,H),R(I)?I.every(X=>X.length<=1)&&S():I.length<=1&&S()},U={mode:i,persisted:c,beforeEnter(I){let H=u;if(!s.isMounted)if(r)H=W||u;else return;I[Me]&&I[Me](!0);const S=k[B];S&&Ce(e,S)&&S.el[Me]&&S.el[Me](),M(H,[I])},enter(I){let H=g,S=d,X=a;if(!s.isMounted)if(r)H=V||g,S=E||d,X=P||a;else return;let ee=!1;const oe=I[pt]=Ae=>{ee||(ee=!0,Ae?M(X,[I]):M(S,[I]),U.delayedLeave&&U.delayedLeave(),I[pt]=void 0)};H?D(H,[I,oe]):oe()},leave(I,H){const S=String(e.key);if(I[pt]&&I[pt](!0),s.isUnmounting)return H();M(m,[I]);let X=!1;const ee=I[Me]=oe=>{X||(X=!0,H(),oe?M(O,[I]):M(A,[I]),I[Me]=void 0,k[S]===e&&delete k[S])};k[S]=e,x?D(x,[I,ee]):ee()},clone(I){const H=qt(I,t,s,l,n);return n&&n(H),H}};return U}function Ut(e){if(Mt(e))return e=Oe(e),e.children=null,e}function Es(e){if(!Mt(e))return Zs(e.type)&&e.children?tl(e.children):e;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&L(s.default))return s.default()}}function We(e,t){e.shapeFlag&6&&e.component?(e.transition=t,We(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ll(e,t=!1,s){let l=[],n=0;for(let r=0;r1)for(let r=0;rs.value,set:r=>s.value=r})}return s}function Gt(e,t,s,l,n=!1){if(R(e)){e.forEach((A,O)=>Gt(A,t&&(R(t)?t[O]:t),s,l,n));return}if(Ve(l)&&!n)return;const r=l.shapeFlag&4?$t(l.component):l.el,i=n?null:r,{i:c,r:u}=e,g=t&&t.r,d=c.refs===q?c.refs={}:c.refs,a=c.setupState,m=Bt(a),x=a===q?()=>!1:A=>Q(m,A);if(g!=null&&g!==u&&(be(g)?(d[g]=null,x(g)&&(a[g]=null)):Ft(g)&&(g.value=null)),L(u))ct(u,c,12,[i,d]);else{const A=be(u),O=Ft(u);if(A||O){const W=()=>{if(e.f){const V=A?x(u)?a[u]:d[u]:u.value;n?R(V)&&Rs(V,r):R(V)?V.includes(r)||V.push(r):A?(d[u]=[r],x(u)&&(a[u]=d[u])):(u.value=[r],e.k&&(d[e.k]=u.value))}else A?(d[u]=i,x(u)&&(a[u]=i)):O&&(u.value=i,e.k&&(d[e.k]=i))};i?(W.id=-1,te(W,s)):W()}}}Pt().requestIdleCallback;Pt().cancelIdleCallback;const Ve=e=>!!e.type.__asyncLoader,Mt=e=>e.type.__isKeepAlive,rn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const s=ms(),l=s.ctx;if(!l.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const n=new Map,r=new Set;let i=null;const c=s.suspense,{renderer:{p:u,m:g,um:d,o:{createElement:a}}}=l,m=a("div");l.activate=(E,P,B,k,M)=>{const D=E.component;g(E,P,B,0,c),u(D.vnode,E,P,B,D,c,k,E.slotScopeIds,M),te(()=>{D.isDeactivated=!1,D.a&&et(D.a);const U=E.props&&E.props.onVnodeMounted;U&&ye(U,D.parent,E)},c)},l.deactivate=E=>{const P=E.component;Et(P.m),Et(P.a),g(E,m,null,1,c),te(()=>{P.da&&et(P.da);const B=E.props&&E.props.onVnodeUnmounted;B&&ye(B,P.parent,E),P.isDeactivated=!0},c)};function x(E){Dt(E),d(E,s,c,!0)}function A(E){n.forEach((P,B)=>{const k=ls(P.type);k&&!E(k)&&O(B)})}function O(E){const P=n.get(E);P&&(!i||!Ce(P,i))?x(P):i&&Dt(i),n.delete(E),r.delete(E)}_t(()=>[e.include,e.exclude],([E,P])=>{E&&A(B=>Ze(E,B)),P&&A(B=>!Ze(P,B))},{flush:"post",deep:!0});let W=null;const V=()=>{W!=null&&(At(s.subTree.type)?te(()=>{n.set(W,mt(s.subTree))},s.subTree.suspense):n.set(W,mt(s.subTree)))};return is(V),il(V),os(()=>{n.forEach(E=>{const{subTree:P,suspense:B}=s,k=mt(P);if(E.type===k.type&&E.key===k.key){Dt(k);const M=k.component.da;M&&te(M,B);return}x(E)})}),()=>{if(W=null,!t.default)return i=null;const E=t.default(),P=E[0];if(E.length>1)return i=null,E;if(!De(P)||!(P.shapeFlag&4)&&!(P.shapeFlag&128))return i=null,P;let B=mt(P);if(B.type===se)return i=null,B;const k=B.type,M=ls(Ve(B)?B.type.__asyncResolved||{}:k),{include:D,exclude:U,max:I}=e;if(D&&(!M||!Ze(D,M))||U&&M&&Ze(U,M))return B.shapeFlag&=-257,i=B,P;const H=B.key==null?k:B.key,S=n.get(H);return B.el&&(B=Oe(B),P.shapeFlag&128&&(P.ssContent=B)),W=H,S?(B.el=S.el,B.component=S.component,B.transition&&We(B,B.transition),B.shapeFlag|=512,r.delete(H),r.add(H)):(r.add(H),I&&r.size>parseInt(I,10)&&O(r.values().next().value)),B.shapeFlag|=256,i=B,At(P.type)?P:B}}},_r=rn;function Ze(e,t){return R(e)?e.some(s=>Ze(s,t)):be(e)?e.split(",").includes(t):Kl(e)?(e.lastIndex=0,e.test(t)):!1}function on(e,t){rl(e,"a",t)}function fn(e,t){rl(e,"da",t)}function rl(e,t,s=le){const l=e.__wdc||(e.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(wt(t,l,s),s){let n=s.parent;for(;n&&n.parent;)Mt(n.parent.vnode)&&cn(l,t,s,n),n=n.parent}}function cn(e,t,s,l){const n=wt(t,e,l,!0);ol(()=>{Rs(l[t],n)},s)}function Dt(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function mt(e){return e.shapeFlag&128?e.ssContent:e}function wt(e,t,s=le,l=!1){if(s){const n=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Ge();const c=at(s),u=Ee(t,s,e,i);return c(),Je(),u});return l?n.unshift(r):n.push(r),r}}const Be=e=>(t,s=le)=>{(!ot||e==="sp")&&wt(e,(...l)=>t(...l),s)},un=Be("bm"),is=Be("m"),an=Be("bu"),il=Be("u"),os=Be("bum"),ol=Be("um"),dn=Be("sp"),hn=Be("rtg"),gn=Be("rtc");function pn(e,t=le){wt("ec",e,t)}const fs="components",mn="directives";function xr(e,t){return cs(fs,e,!0,t)||e}const fl=Symbol.for("v-ndc");function Cr(e){return be(e)?cs(fs,e,!1)||e:e||fl}function Fr(e){return cs(mn,e)}function cs(e,t,s=!0,l=!1){const n=z||le;if(n){const r=n.type;if(e===fs){const c=ls(r,!1);if(c&&(c===t||c===ke(t)||c===Ks(ke(t))))return r}const i=As(n[e]||r[e],t)||As(n.appContext[e],t);return!i&&l?r:i}}function As(e,t){return e&&(e[t]||e[ke(t)]||e[Ks(ke(t))])}function vr(e,t,s={},l,n){if(z.ce||z.parent&&Ve(z.parent)&&z.parent.ce)return t!=="default"&&(s.name=t),It(),es(ge,null,[re("slot",s,l)],64);let r=e[t];r&&r._c&&(r._d=!1),It();const i=r&&cl(r(s)),c=s.key||i&&i.key,u=es(ge,{key:(c&&!Rl(c)?c:`_${t}`)+(!i&&l?"_fb":"")},i||[],i&&e._===1?64:-2);return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),r&&r._c&&(r._d=!0),u}function cl(e){return e.some(t=>De(t)?!(t.type===se||t.type===ge&&!cl(t.children)):!0)?e:null}const Jt=e=>e?Ol(e)?$t(e):Jt(e.parent):null,lt=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Jt(e.parent),$root:e=>Jt(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>us(e),$forceUpdate:e=>e.f||(e.f=()=>{rs(e.update)}),$nextTick:e=>e.n||(e.n=Ql.bind(e.proxy)),$watch:e=>Ln.bind(e)}),St=(e,t)=>e!==q&&!e.__isScriptSetup&&Q(e,t),yn={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:l,data:n,props:r,accessCache:i,type:c,appContext:u}=e;let g;if(t[0]!=="$"){const x=i[t];if(x!==void 0)switch(x){case 1:return l[t];case 2:return n[t];case 4:return s[t];case 3:return r[t]}else{if(St(l,t))return i[t]=1,l[t];if(n!==q&&Q(n,t))return i[t]=2,n[t];if((g=e.propsOptions[0])&&Q(g,t))return i[t]=3,r[t];if(s!==q&&Q(s,t))return i[t]=4,s[t];Qt&&(i[t]=0)}}const d=lt[t];let a,m;if(d)return t==="$attrs"&&Us(e.attrs,"get",""),d(e);if((a=c.__cssModules)&&(a=a[t]))return a;if(s!==q&&Q(s,t))return i[t]=4,s[t];if(m=u.config.globalProperties,Q(m,t))return m[t]},set({_:e},t,s){const{data:l,setupState:n,ctx:r}=e;return St(n,t)?(n[t]=s,!0):l!==q&&Q(l,t)?(l[t]=s,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:l,appContext:n,propsOptions:r}},i){let c;return!!s[i]||e!==q&&Q(e,i)||St(t,i)||(c=r[0])&&Q(c,i)||Q(l,i)||Q(lt,i)||Q(n.config.globalProperties,i)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:Q(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Yt(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}function Tr(e,t){const s=Yt(e);for(const l in t){if(l.startsWith("__skip"))continue;let n=s[l];n?R(n)||L(n)?n=s[l]={type:n,default:t[l]}:n.default=t[l]:n===null&&(n=s[l]={default:t[l]}),n&&t[`__skip_${l}`]&&(n.skipFactory=!0)}return s}let Qt=!0;function bn(e){const t=us(e),s=e.proxy,l=e.ctx;Qt=!1,t.beforeCreate&&Is(t.beforeCreate,e,"bc");const{data:n,computed:r,methods:i,watch:c,provide:u,inject:g,created:d,beforeMount:a,mounted:m,beforeUpdate:x,updated:A,activated:O,deactivated:W,beforeDestroy:V,beforeUnmount:E,destroyed:P,unmounted:B,render:k,renderTracked:M,renderTriggered:D,errorCaptured:U,serverPrefetch:I,expose:H,inheritAttrs:S,components:X,directives:ee,filters:oe}=t;if(g&&_n(g,l,null),i)for(const G in i){const J=i[G];L(J)&&(l[G]=J.bind(s))}if(n){const G=n.call(s,s);pe(G)&&(e.data=Vl(G))}if(Qt=!0,r)for(const G in r){const J=r[G],He=L(J)?J.bind(s,s):L(J.get)?J.get.bind(s,s):Ie,dt=!L(J)&&L(J.set)?J.set.bind(s):Ie,Ne=cr({get:He,set:dt});Object.defineProperty(l,G,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:Fe=>Ne.value=Fe})}if(c)for(const G in c)ul(c[G],l,s,G);if(u){const G=L(u)?u.call(s):u;Reflect.ownKeys(G).forEach(J=>{kn(J,G[J])})}d&&Is(d,e,"c");function Z(G,J){R(J)?J.forEach(He=>G(He.bind(s))):J&&G(J.bind(s))}if(Z(un,a),Z(is,m),Z(an,x),Z(il,A),Z(on,O),Z(fn,W),Z(pn,U),Z(gn,M),Z(hn,D),Z(os,E),Z(ol,B),Z(dn,I),R(H))if(H.length){const G=e.exposed||(e.exposed={});H.forEach(J=>{Object.defineProperty(G,J,{get:()=>s[J],set:He=>s[J]=He})})}else e.exposed||(e.exposed={});k&&e.render===Ie&&(e.render=k),S!=null&&(e.inheritAttrs=S),X&&(e.components=X),ee&&(e.directives=ee),I&&nl(e)}function _n(e,t,s=Ie){R(e)&&(e=Xt(e));for(const l in e){const n=e[l];let r;pe(n)?"default"in n?r=bt(n.from||l,n.default,!0):r=bt(n.from||l):r=bt(n),Ft(r)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[l]=r}}function Is(e,t,s){Ee(R(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,s)}function ul(e,t,s,l){let n=l.includes(".")?Fl(s,l):()=>s[l];if(be(e)){const r=t[e];L(r)&&_t(n,r)}else if(L(e))_t(n,e.bind(s));else if(pe(e))if(R(e))e.forEach(r=>ul(r,t,s,l));else{const r=L(e.handler)?e.handler.bind(s):t[e.handler];L(r)&&_t(n,r,e)}}function us(e){const t=e.type,{mixins:s,extends:l}=t,{mixins:n,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,c=r.get(t);let u;return c?u=c:!n.length&&!s&&!l?u=t:(u={},n.length&&n.forEach(g=>kt(u,g,i,!0)),kt(u,t,i)),pe(t)&&r.set(t,u),u}function kt(e,t,s,l=!1){const{mixins:n,extends:r}=t;r&&kt(e,r,s,!0),n&&n.forEach(i=>kt(e,i,s,!0));for(const i in t)if(!(l&&i==="expose")){const c=xn[i]||s&&s[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const xn={data:Os,props:Bs,emits:Bs,methods:ze,computed:ze,beforeCreate:fe,created:fe,beforeMount:fe,mounted:fe,beforeUpdate:fe,updated:fe,beforeDestroy:fe,beforeUnmount:fe,destroyed:fe,unmounted:fe,activated:fe,deactivated:fe,errorCaptured:fe,serverPrefetch:fe,components:ze,directives:ze,watch:Fn,provide:Os,inject:Cn};function Os(e,t){return t?e?function(){return ie(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function Cn(e,t){return ze(Xt(e),Xt(t))}function Xt(e){if(R(e)){const t={};for(let s=0;s1)return s&&L(t)?t.call(l&&l.proxy):t}}function kr(){return!!(le||z||Ue)}const dl={},hl=()=>Object.create(dl),gl=e=>Object.getPrototypeOf(e)===dl;function En(e,t,s,l=!1){const n={},r=hl();e.propsDefaults=Object.create(null),pl(e,t,n,r);for(const i in e.propsOptions[0])i in n||(n[i]=void 0);s?e.props=l?n:Sl(n):e.type.props?e.props=n:e.props=r,e.attrs=r}function An(e,t,s,l){const{props:n,attrs:r,vnode:{patchFlag:i}}=e,c=Bt(n),[u]=e.propsOptions;let g=!1;if((l||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let a=0;a{u=!0;const[m,x]=ml(a,t,!0);ie(i,m),x&&c.push(...x)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!u)return pe(e)&&l.set(e,je),je;if(R(r))for(let d=0;de[0]==="_"||e==="$stable",as=e=>R(e)?e.map(xe):[xe(e)],On=(e,t,s)=>{if(t._n)return t;const l=Zl((...n)=>as(t(...n)),s);return l._c=!1,l},bl=(e,t,s)=>{const l=e._ctx;for(const n in e){if(yl(n))continue;const r=e[n];if(L(r))t[n]=On(n,r,l);else if(r!=null){const i=as(r);t[n]=()=>i}}},_l=(e,t)=>{const s=as(t);e.slots.default=()=>s},xl=(e,t,s)=>{for(const l in t)(s||l!=="_")&&(e[l]=t[l])},Bn=(e,t,s)=>{const l=e.slots=hl();if(e.vnode.shapeFlag&32){const n=t._;n?(xl(l,t,s),s&&Gl(l,"_",n,!0)):bl(t,l)}else t&&_l(e,t)},Pn=(e,t,s)=>{const{vnode:l,slots:n}=e;let r=!0,i=q;if(l.shapeFlag&32){const c=t._;c?s&&c===1?r=!1:xl(n,t,s):(r=!t.$stable,bl(t,n)),i=t}else t&&(_l(e,t),i={default:1});if(r)for(const c in n)!yl(c)&&i[c]==null&&delete n[c]},te=Yn;function Er(e){return Mn(e)}function Mn(e,t){const s=Pt();s.__VUE__=!0;const{insert:l,remove:n,patchProp:r,createElement:i,createText:c,createComment:u,setText:g,setElementText:d,parentNode:a,nextSibling:m,setScopeId:x=Ie,insertStaticContent:A}=e,O=(o,f,h,b=null,p=null,y=null,v=void 0,F=null,C=!!f.dynamicChildren)=>{if(o===f)return;o&&!Ce(o,f)&&(b=ht(o),Fe(o,p,y,!0),o=null),f.patchFlag===-2&&(C=!1,f.dynamicChildren=null);const{type:_,ref:N,shapeFlag:T}=f;switch(_){case Nt:W(o,f,h,b);break;case se:V(o,f,h,b);break;case xt:o==null&&E(f,h,b,v);break;case ge:X(o,f,h,b,p,y,v,F,C);break;default:T&1?k(o,f,h,b,p,y,v,F,C):T&6?ee(o,f,h,b,p,y,v,F,C):(T&64||T&128)&&_.process(o,f,h,b,p,y,v,F,C,Qe)}N!=null&&p&&Gt(N,o&&o.ref,y,f||o,!f)},W=(o,f,h,b)=>{if(o==null)l(f.el=c(f.children),h,b);else{const p=f.el=o.el;f.children!==o.children&&g(p,f.children)}},V=(o,f,h,b)=>{o==null?l(f.el=u(f.children||""),h,b):f.el=o.el},E=(o,f,h,b)=>{[o.el,o.anchor]=A(o.children,f,h,b,o.el,o.anchor)},P=({el:o,anchor:f},h,b)=>{let p;for(;o&&o!==f;)p=m(o),l(o,h,b),o=p;l(f,h,b)},B=({el:o,anchor:f})=>{let h;for(;o&&o!==f;)h=m(o),n(o),o=h;n(f)},k=(o,f,h,b,p,y,v,F,C)=>{f.type==="svg"?v="svg":f.type==="math"&&(v="mathml"),o==null?M(f,h,b,p,y,v,F,C):I(o,f,p,y,v,F,C)},M=(o,f,h,b,p,y,v,F)=>{let C,_;const{props:N,shapeFlag:T,transition:w,dirs:$}=o;if(C=o.el=i(o.type,y,N&&N.is,N),T&8?d(C,o.children):T&16&&U(o.children,C,null,b,p,jt(o,y),v,F),$&&$e(o,null,b,"created"),D(C,o,o.scopeId,v,b),N){for(const Y in N)Y!=="value"&&!tt(Y)&&r(C,Y,null,N[Y],y,b);"value"in N&&r(C,"value",null,N.value,y),(_=N.onVnodeBeforeMount)&&ye(_,b,o)}$&&$e(o,null,b,"beforeMount");const j=wn(p,w);j&&w.beforeEnter(C),l(C,f,h),((_=N&&N.onVnodeMounted)||j||$)&&te(()=>{_&&ye(_,b,o),j&&w.enter(C),$&&$e(o,null,b,"mounted")},p)},D=(o,f,h,b,p)=>{if(h&&x(o,h),b)for(let y=0;y{for(let _=C;_{const F=f.el=o.el;let{patchFlag:C,dynamicChildren:_,dirs:N}=f;C|=o.patchFlag&16;const T=o.props||q,w=f.props||q;let $;if(h&&Le(h,!1),($=w.onVnodeBeforeUpdate)&&ye($,h,f,o),N&&$e(f,o,h,"beforeUpdate"),h&&Le(h,!0),(T.innerHTML&&w.innerHTML==null||T.textContent&&w.textContent==null)&&d(F,""),_?H(o.dynamicChildren,_,F,h,b,jt(f,p),y):v||J(o,f,F,null,h,b,jt(f,p),y,!1),C>0){if(C&16)S(F,T,w,h,p);else if(C&2&&T.class!==w.class&&r(F,"class",null,w.class,p),C&4&&r(F,"style",T.style,w.style,p),C&8){const j=f.dynamicProps;for(let Y=0;Y{$&&ye($,h,f,o),N&&$e(f,o,h,"updated")},b)},H=(o,f,h,b,p,y,v)=>{for(let F=0;F{if(f!==h){if(f!==q)for(const y in f)!tt(y)&&!(y in h)&&r(o,y,f[y],null,p,b);for(const y in h){if(tt(y))continue;const v=h[y],F=f[y];v!==F&&y!=="value"&&r(o,y,F,v,p,b)}"value"in h&&r(o,"value",f.value,h.value,p)}},X=(o,f,h,b,p,y,v,F,C)=>{const _=f.el=o?o.el:c(""),N=f.anchor=o?o.anchor:c("");let{patchFlag:T,dynamicChildren:w,slotScopeIds:$}=f;$&&(F=F?F.concat($):$),o==null?(l(_,h,b),l(N,h,b),U(f.children||[],h,N,p,y,v,F,C)):T>0&&T&64&&w&&o.dynamicChildren?(H(o.dynamicChildren,w,h,p,y,v,F),(f.key!=null||p&&f===p.subTree)&&ds(o,f,!0)):J(o,f,h,N,p,y,v,F,C)},ee=(o,f,h,b,p,y,v,F,C)=>{f.slotScopeIds=F,o==null?f.shapeFlag&512?p.ctx.activate(f,h,b,v,C):oe(f,h,b,p,y,v,C):Ae(o,f,C)},oe=(o,f,h,b,p,y,v)=>{const F=o.component=lr(o,b,p);if(Mt(o)&&(F.ctx.renderer=Qe),nr(F,!1,v),F.asyncDep){if(p&&p.registerDep(F,Z,v),!o.el){const C=F.subTree=re(se);V(null,C,f,h)}}else Z(F,o,f,h,p,y,v)},Ae=(o,f,h)=>{const b=f.component=o.component;if(Rn(o,f,h))if(b.asyncDep&&!b.asyncResolved){G(b,f,h);return}else b.next=f,b.update();else f.el=o.el,b.vnode=f},Z=(o,f,h,b,p,y,v)=>{const F=()=>{if(o.isMounted){let{next:T,bu:w,u:$,parent:j,vnode:Y}=o;{const de=Cl(o);if(de){T&&(T.el=Y.el,G(o,T,v)),de.asyncDep.then(()=>{o.isUnmounted||F()});return}}let K=T,ae;Le(o,!1),T?(T.el=Y.el,G(o,T,v)):T=Y,w&&et(w),(ae=T.props&&T.props.onVnodeBeforeUpdate)&&ye(ae,j,T,Y),Le(o,!0);const ne=Rt(o),_e=o.subTree;o.subTree=ne,O(_e,ne,a(_e.el),ht(_e),o,p,y),T.el=ne.el,K===null&&gs(o,ne.el),$&&te($,p),(ae=T.props&&T.props.onVnodeUpdated)&&te(()=>ye(ae,j,T,Y),p)}else{let T;const{el:w,props:$}=f,{bm:j,m:Y,parent:K,root:ae,type:ne}=o,_e=Ve(f);if(Le(o,!1),j&&et(j),!_e&&(T=$&&$.onVnodeBeforeMount)&&ye(T,K,f),Le(o,!0),w&&xs){const de=()=>{o.subTree=Rt(o),xs(w,o.subTree,o,p,null)};_e&&ne.__asyncHydrate?ne.__asyncHydrate(w,o,de):de()}else{ae.ce&&ae.ce._injectChildStyle(ne);const de=o.subTree=Rt(o);O(null,de,h,b,o,p,y),f.el=de.el}if(Y&&te(Y,p),!_e&&(T=$&&$.onVnodeMounted)){const de=f;te(()=>ye(T,K,de),p)}(f.shapeFlag&256||K&&Ve(K.vnode)&&K.vnode.shapeFlag&256)&&o.a&&te(o.a,p),o.isMounted=!0,f=h=b=null}};o.scope.on();const C=o.effect=new Ul(F);o.scope.off();const _=o.update=C.run.bind(C),N=o.job=C.runIfDirty.bind(C);N.i=o,N.id=o.uid,C.scheduler=()=>rs(N),Le(o,!0),_()},G=(o,f,h)=>{f.component=o;const b=o.vnode.props;o.vnode=f,o.next=null,An(o,f.props,b,h),Pn(o,f.children,h),Ge(),vs(o),Je()},J=(o,f,h,b,p,y,v,F,C=!1)=>{const _=o&&o.children,N=o?o.shapeFlag:0,T=f.children,{patchFlag:w,shapeFlag:$}=f;if(w>0){if(w&128){dt(_,T,h,b,p,y,v,F,C);return}else if(w&256){He(_,T,h,b,p,y,v,F,C);return}}$&8?(N&16&&Ye(_,p,y),T!==_&&d(h,T)):N&16?$&16?dt(_,T,h,b,p,y,v,F,C):Ye(_,p,y,!0):(N&8&&d(h,""),$&16&&U(T,h,b,p,y,v,F,C))},He=(o,f,h,b,p,y,v,F,C)=>{o=o||je,f=f||je;const _=o.length,N=f.length,T=Math.min(_,N);let w;for(w=0;wN?Ye(o,p,y,!0,!1,T):U(f,h,b,p,y,v,F,C,T)},dt=(o,f,h,b,p,y,v,F,C)=>{let _=0;const N=f.length;let T=o.length-1,w=N-1;for(;_<=T&&_<=w;){const $=o[_],j=f[_]=C?we(f[_]):xe(f[_]);if(Ce($,j))O($,j,h,null,p,y,v,F,C);else break;_++}for(;_<=T&&_<=w;){const $=o[T],j=f[w]=C?we(f[w]):xe(f[w]);if(Ce($,j))O($,j,h,null,p,y,v,F,C);else break;T--,w--}if(_>T){if(_<=w){const $=w+1,j=$w)for(;_<=T;)Fe(o[_],p,y,!0),_++;else{const $=_,j=_,Y=new Map;for(_=j;_<=w;_++){const he=f[_]=C?we(f[_]):xe(f[_]);he.key!=null&&Y.set(he.key,_)}let K,ae=0;const ne=w-j+1;let _e=!1,de=0;const Xe=new Array(ne);for(_=0;_=ne){Fe(he,p,y,!0);continue}let ve;if(he.key!=null)ve=Y.get(he.key);else for(K=j;K<=w;K++)if(Xe[K-j]===0&&Ce(he,f[K])){ve=K;break}ve===void 0?Fe(he,p,y,!0):(Xe[ve-j]=_+1,ve>=de?de=ve:_e=!0,O(he,f[ve],h,null,p,y,v,F,C),ae++)}const Cs=_e?Hn(Xe):je;for(K=Cs.length-1,_=ne-1;_>=0;_--){const he=j+_,ve=f[he],Fs=he+1{const{el:y,type:v,transition:F,children:C,shapeFlag:_}=o;if(_&6){Ne(o.component.subTree,f,h,b);return}if(_&128){o.suspense.move(f,h,b);return}if(_&64){v.move(o,f,h,Qe);return}if(v===ge){l(y,f,h);for(let T=0;TF.enter(y),p);else{const{leave:T,delayLeave:w,afterLeave:$}=F,j=()=>l(y,f,h),Y=()=>{T(y,()=>{j(),$&&$()})};w?w(y,j,Y):Y()}else l(y,f,h)},Fe=(o,f,h,b=!1,p=!1)=>{const{type:y,props:v,ref:F,children:C,dynamicChildren:_,shapeFlag:N,patchFlag:T,dirs:w,cacheIndex:$}=o;if(T===-2&&(p=!1),F!=null&&Gt(F,null,h,o,!0),$!=null&&(f.renderCache[$]=void 0),N&256){f.ctx.deactivate(o);return}const j=N&1&&w,Y=!Ve(o);let K;if(Y&&(K=v&&v.onVnodeBeforeUnmount)&&ye(K,f,o),N&6)Ml(o.component,h,b);else{if(N&128){o.suspense.unmount(h,b);return}j&&$e(o,null,f,"beforeUnmount"),N&64?o.type.remove(o,f,h,Qe,b):_&&!_.hasOnce&&(y!==ge||T>0&&T&64)?Ye(_,f,h,!1,!0):(y===ge&&T&384||!p&&N&16)&&Ye(C,f,h),b&&ys(o)}(Y&&(K=v&&v.onVnodeUnmounted)||j)&&te(()=>{K&&ye(K,f,o),j&&$e(o,null,f,"unmounted")},h)},ys=o=>{const{type:f,el:h,anchor:b,transition:p}=o;if(f===ge){Pl(h,b);return}if(f===xt){B(o);return}const y=()=>{n(h),p&&!p.persisted&&p.afterLeave&&p.afterLeave()};if(o.shapeFlag&1&&p&&!p.persisted){const{leave:v,delayLeave:F}=p,C=()=>v(h,y);F?F(o.el,y,C):C()}else y()},Pl=(o,f)=>{let h;for(;o!==f;)h=m(o),n(o),o=h;n(f)},Ml=(o,f,h)=>{const{bum:b,scope:p,job:y,subTree:v,um:F,m:C,a:_}=o;Et(C),Et(_),b&&et(b),p.stop(),y&&(y.flags|=8,Fe(v,o,f,h)),F&&te(F,f),te(()=>{o.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&o.asyncDep&&!o.asyncResolved&&o.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Ye=(o,f,h,b=!1,p=!1,y=0)=>{for(let v=y;v{if(o.shapeFlag&6)return ht(o.component.subTree);if(o.shapeFlag&128)return o.suspense.next();const f=m(o.anchor||o.el),h=f&&f[Xs];return h?m(h):f};let Lt=!1;const bs=(o,f,h)=>{o==null?f._vnode&&Fe(f._vnode,null,null,!0):O(f._vnode||null,o,f,null,null,null,h),f._vnode=o,Lt||(Lt=!0,vs(),Js(),Lt=!1)},Qe={p:O,um:Fe,m:Ne,r:ys,mt:oe,mc:U,pc:J,pbc:H,n:ht,o:e};let _s,xs;return{render:bs,hydrate:_s,createApp:Tn(bs,_s)}}function jt({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Le({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wn(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ds(e,t,s=!1){const l=e.children,n=t.children;if(R(l)&&R(n))for(let r=0;r>1,e[s[c]]0&&(t[l]=s[r-1]),s[r]=l)}}for(r=s.length,i=s[r-1];r-- >0;)s[r]=i,i=t[i];return s}function Cl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Cl(t)}function Et(e){if(e)for(let t=0;tbt(Nn);function Ar(e,t){return hs(e,null,t)}function _t(e,t,s){return hs(e,t,s)}function hs(e,t,s=q){const{immediate:l,deep:n,flush:r,once:i}=s,c=ie({},s),u=t&&l||!t&&r!=="post";let g;if(ot){if(r==="sync"){const x=$n();g=x.__watcherHandles||(x.__watcherHandles=[])}else if(!u){const x=()=>{};return x.stop=Ie,x.resume=Ie,x.pause=Ie,x}}const d=le;c.call=(x,A,O)=>Ee(x,d,A,O);let a=!1;r==="post"?c.scheduler=x=>{te(x,d&&d.suspense)}:r!=="sync"&&(a=!0,c.scheduler=(x,A)=>{A?x():rs(x)}),c.augmentJob=x=>{t&&(x.flags|=4),a&&(x.flags|=2,d&&(x.id=d.uid,x.i=d))};const m=wl(e,t,c);return ot&&(g?g.push(m):u&&m()),m}function Ln(e,t,s){const l=this.proxy,n=be(e)?e.includes(".")?Fl(l,e):()=>l[e]:e.bind(l,l);let r;L(t)?r=t:(r=t.handler,s=t);const i=at(this),c=hs(n,r.bind(l),s);return i(),c}function Fl(e,t){const s=t.split(".");return()=>{let l=e;for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ke(t)}Modifiers`]||e[`${ft(t)}Modifiers`];function Un(e,t,...s){if(e.isUnmounted)return;const l=e.vnode.props||q;let n=s;const r=t.startsWith("update:"),i=r&&Vn(l,t.slice(7));i&&(i.trim&&(n=s.map(d=>be(d)?d.trim():d)),i.number&&(n=s.map(Jl)));let c,u=l[c=Vt(t)]||l[c=Vt(ke(t))];!u&&r&&(u=l[c=Vt(ft(t))]),u&&Ee(u,e,6,n);const g=l[c+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ee(g,e,6,n)}}function vl(e,t,s=!1){const l=t.emitsCache,n=l.get(e);if(n!==void 0)return n;const r=e.emits;let i={},c=!1;if(!L(e)){const u=g=>{const d=vl(g,t,!0);d&&(c=!0,ie(i,d))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!c?(pe(e)&&l.set(e,null),null):(R(r)?r.forEach(u=>i[u]=null):ie(i,r),pe(e)&&l.set(e,i),i)}function Ht(e,t){return!e||!ns(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,ft(t))||Q(e,t))}function Rt(e){const{type:t,vnode:s,proxy:l,withProxy:n,propsOptions:[r],slots:i,attrs:c,emit:u,render:g,renderCache:d,props:a,data:m,setupState:x,ctx:A,inheritAttrs:O}=e,W=Tt(e);let V,E;try{if(s.shapeFlag&4){const B=n||l,k=B;V=xe(g.call(k,B,d,a,x,m,A)),E=c}else{const B=t;V=xe(B.length>1?B(a,{attrs:c,slots:i,emit:u}):B(a,null)),E=t.props?c:Sn(c)}}catch(B){nt.length=0,ut(B,e,1),V=re(se)}let P=V;if(E&&O!==!1){const B=Object.keys(E),{shapeFlag:k}=P;B.length&&k&7&&(r&&B.some(Ws)&&(E=jn(E,r)),P=Oe(P,E,!1,!0))}return s.dirs&&(P=Oe(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&We(P,s.transition),V=P,Tt(W),V}function Dn(e,t=!0){let s;for(let l=0;l{let t;for(const s in e)(s==="class"||s==="style"||ns(s))&&((t||(t={}))[s]=e[s]);return t},jn=(e,t)=>{const s={};for(const l in e)(!Ws(l)||!(l.slice(9)in t))&&(s[l]=e[l]);return s};function Rn(e,t,s){const{props:l,children:n,component:r}=e,{props:i,children:c,patchFlag:u}=t,g=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return l?Ms(l,i,g):!!i;if(u&8){const d=t.dynamicProps;for(let a=0;ae.__isSuspense;let zt=0;const Kn={name:"Suspense",__isSuspense:!0,process(e,t,s,l,n,r,i,c,u,g){if(e==null)Wn(t,s,l,n,r,i,c,u,g);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}qn(e,t,s,l,n,i,c,u,g)}},hydrate:Gn,normalize:Jn},Ir=Kn;function it(e,t){const s=e.props&&e.props[t];L(s)&&s()}function Wn(e,t,s,l,n,r,i,c,u){const{p:g,o:{createElement:d}}=u,a=d("div"),m=e.suspense=Tl(e,n,l,t,a,s,r,i,c,u);g(null,m.pendingBranch=e.ssContent,a,null,l,m,r,i),m.deps>0?(it(e,"onPending"),it(e,"onFallback"),g(null,e.ssFallback,t,s,l,null,r,i),Ke(m,e.ssFallback)):m.resolve(!1,!0)}function qn(e,t,s,l,n,r,i,c,{p:u,um:g,o:{createElement:d}}){const a=t.suspense=e.suspense;a.vnode=t,t.el=e.el;const m=t.ssContent,x=t.ssFallback,{activeBranch:A,pendingBranch:O,isInFallback:W,isHydrating:V}=a;if(O)a.pendingBranch=m,Ce(m,O)?(u(O,m,a.hiddenContainer,null,n,a,r,i,c),a.deps<=0?a.resolve():W&&(V||(u(A,x,s,l,n,null,r,i,c),Ke(a,x)))):(a.pendingId=zt++,V?(a.isHydrating=!1,a.activeBranch=O):g(O,n,a),a.deps=0,a.effects.length=0,a.hiddenContainer=d("div"),W?(u(null,m,a.hiddenContainer,null,n,a,r,i,c),a.deps<=0?a.resolve():(u(A,x,s,l,n,null,r,i,c),Ke(a,x))):A&&Ce(m,A)?(u(A,m,s,l,n,a,r,i,c),a.resolve(!0)):(u(null,m,a.hiddenContainer,null,n,a,r,i,c),a.deps<=0&&a.resolve()));else if(A&&Ce(m,A))u(A,m,s,l,n,a,r,i,c),Ke(a,m);else if(it(t,"onPending"),a.pendingBranch=m,m.shapeFlag&512?a.pendingId=m.component.suspenseId:a.pendingId=zt++,u(null,m,a.hiddenContainer,null,n,a,r,i,c),a.deps<=0)a.resolve();else{const{timeout:E,pendingId:P}=a;E>0?setTimeout(()=>{a.pendingId===P&&a.fallback(x)},E):E===0&&a.fallback(x)}}function Tl(e,t,s,l,n,r,i,c,u,g,d=!1){const{p:a,m,um:x,n:A,o:{parentNode:O,remove:W}}=g;let V;const E=Qn(e);E&&t&&t.pendingBranch&&(V=t.pendingId,t.deps++);const P=e.props?Wl(e.props.timeout):void 0,B=r,k={vnode:e,parent:t,parentComponent:s,namespace:i,container:l,hiddenContainer:n,deps:0,pendingId:zt++,timeout:typeof P=="number"?P:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(M=!1,D=!1){const{vnode:U,activeBranch:I,pendingBranch:H,pendingId:S,effects:X,parentComponent:ee,container:oe}=k;let Ae=!1;k.isHydrating?k.isHydrating=!1:M||(Ae=I&&H.transition&&H.transition.mode==="out-in",Ae&&(I.transition.afterLeave=()=>{S===k.pendingId&&(m(H,oe,r===B?A(I):r,0),Kt(X))}),I&&(O(I.el)===oe&&(r=A(I)),x(I,ee,k,!0)),Ae||m(H,oe,r,0)),Ke(k,H),k.pendingBranch=null,k.isInFallback=!1;let Z=k.parent,G=!1;for(;Z;){if(Z.pendingBranch){Z.effects.push(...X),G=!0;break}Z=Z.parent}!G&&!Ae&&Kt(X),k.effects=[],E&&t&&t.pendingBranch&&V===t.pendingId&&(t.deps--,t.deps===0&&!D&&t.resolve()),it(U,"onResolve")},fallback(M){if(!k.pendingBranch)return;const{vnode:D,activeBranch:U,parentComponent:I,container:H,namespace:S}=k;it(D,"onFallback");const X=A(U),ee=()=>{k.isInFallback&&(a(null,M,H,X,I,null,S,c,u),Ke(k,M))},oe=M.transition&&M.transition.mode==="out-in";oe&&(U.transition.afterLeave=ee),k.isInFallback=!0,x(U,I,null,!0),oe||ee()},move(M,D,U){k.activeBranch&&m(k.activeBranch,M,D,U),k.container=M},next(){return k.activeBranch&&A(k.activeBranch)},registerDep(M,D,U){const I=!!k.pendingBranch;I&&k.deps++;const H=M.vnode.el;M.asyncDep.catch(S=>{ut(S,M,0)}).then(S=>{if(M.isUnmounted||k.isUnmounted||k.pendingId!==M.suspenseId)return;M.asyncResolved=!0;const{vnode:X}=M;ss(M,S,!1),H&&(X.el=H);const ee=!H&&M.subTree.el;D(M,X,O(H||M.subTree.el),H?null:A(M.subTree),k,i,U),ee&&W(ee),gs(M,X.el),I&&--k.deps===0&&k.resolve()})},unmount(M,D){k.isUnmounted=!0,k.activeBranch&&x(k.activeBranch,s,M,D),k.pendingBranch&&x(k.pendingBranch,s,M,D)}};return k}function Gn(e,t,s,l,n,r,i,c,u){const g=t.suspense=Tl(t,l,s,e.parentNode,document.createElement("div"),null,n,r,i,c,!0),d=u(e,g.pendingBranch=t.ssContent,s,g,r,i);return g.deps===0&&g.resolve(!1,!0),d}function Jn(e){const{shapeFlag:t,children:s}=e,l=t&32;e.ssContent=ws(l?s.default:s),e.ssFallback=l?ws(s.fallback):re(se)}function ws(e){let t;if(L(e)){const s=qe&&e._c;s&&(e._d=!1,It()),e=e(),s&&(e._d=!0,t=ue,kl())}return R(e)&&(e=Dn(e)),e=xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(s=>s!==e)),e}function Yn(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Kt(e)}function Ke(e,t){e.activeBranch=t;const{vnode:s,parentComponent:l}=e;let n=t.el;for(;!n&&t.component;)t=t.component.subTree,n=t.el;s.el=n,l&&l.subTree===s&&(l.vnode.el=n,gs(l,n))}function Qn(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ge=Symbol.for("v-fgt"),Nt=Symbol.for("v-txt"),se=Symbol.for("v-cmt"),xt=Symbol.for("v-stc"),nt=[];let ue=null;function It(e=!1){nt.push(ue=e?null:[])}function kl(){nt.pop(),ue=nt[nt.length-1]||null}let qe=1;function Hs(e){qe+=e,e<0&&ue&&(ue.hasOnce=!0)}function El(e){return e.dynamicChildren=qe>0?ue||je:null,kl(),qe>0&&ue&&ue.push(e),e}function Or(e,t,s,l,n,r){return El(Il(e,t,s,l,n,r,!0))}function es(e,t,s,l,n){return El(re(e,t,s,l,n,!0))}function De(e){return e?e.__v_isVNode===!0:!1}function Ce(e,t){return e.type===t.type&&e.key===t.key}const Al=({key:e})=>e??null,Ct=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Ft(e)||L(e)?{i:z,r:e,k:t,f:!!s}:e:null);function Il(e,t=null,s=null,l=0,n=null,r=e===ge?0:1,i=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Al(t),ref:t&&Ct(t),scopeId:Qs,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:l,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:z};return c?(ps(u,s),r&128&&e.normalize(u)):s&&(u.shapeFlag|=be(s)?8:16),qe>0&&!i&&ue&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&ue.push(u),u}const re=Xn;function Xn(e,t=null,s=null,l=0,n=null,r=!1){if((!e||e===fl)&&(e=se),De(e)){const c=Oe(e,t,!0);return s&&ps(c,s),qe>0&&!r&&ue&&(c.shapeFlag&6?ue[ue.indexOf(e)]=c:ue.push(c)),c.patchFlag=-2,c}if(fr(e)&&(e=e.__vccOpts),t){t=Zn(t);let{class:c,style:u}=t;c&&!be(c)&&(t.class=Ds(c)),pe(u)&&(Ls(u)&&!R(u)&&(u=ie({},u)),t.style=Ss(u))}const i=be(e)?1:At(e)?128:Zs(e)?64:pe(e)?4:L(e)?2:0;return Il(e,t,s,l,n,i,r,!0)}function Zn(e){return e?Ls(e)||gl(e)?ie({},e):e:null}function Oe(e,t,s=!1,l=!1){const{props:n,ref:r,patchFlag:i,children:c,transition:u}=e,g=t?er(n||{},t):n,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&Al(g),ref:t&&t.ref?s&&r?R(r)?r.concat(Ct(t)):[r,Ct(t)]:Ct(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oe(e.ssContent),ssFallback:e.ssFallback&&Oe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&l&&We(d,u.clone(d)),d}function zn(e=" ",t=0){return re(Nt,null,e,t)}function Br(e,t){const s=re(xt,null,e);return s.staticCount=t,s}function Pr(e="",t=!1){return t?(It(),es(se,null,e)):re(se,null,e)}function xe(e){return e==null||typeof e=="boolean"?re(se):R(e)?re(ge,null,e.slice()):De(e)?we(e):re(Nt,null,String(e))}function we(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Oe(e)}function ps(e,t){let s=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(l&65){const n=t.default;n&&(n._c&&(n._d=!1),ps(e,n()),n._c&&(n._d=!0));return}else{s=32;const n=t._;!n&&!gl(t)?t._ctx=z:n===3&&z&&(z.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:z},s=32):(t=String(t),l&64?(s=16,t=[zn(t)]):s=8);e.children=t,e.shapeFlag|=s}function er(...e){const t={};for(let s=0;sle||z;let Ot,ts;{const e=Pt(),t=(s,l)=>{let n;return(n=e[s])||(n=e[s]=[]),n.push(l),r=>{n.length>1?n.forEach(i=>i(r)):n[0](r)}};Ot=t("__VUE_INSTANCE_SETTERS__",s=>le=s),ts=t("__VUE_SSR_SETTERS__",s=>ot=s)}const at=e=>{const t=le;return Ot(e),e.scope.on(),()=>{e.scope.off(),Ot(t)}},Ns=()=>{le&&le.scope.off(),Ot(null)};function Ol(e){return e.vnode.shapeFlag&4}let ot=!1;function nr(e,t=!1,s=!1){t&&ts(t);const{props:l,children:n}=e.vnode,r=Ol(e);En(e,l,r,t),Bn(e,n,s);const i=r?rr(e,t):void 0;return t&&ts(!1),i}function rr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yn);const{setup:l}=s;if(l){Ge();const n=e.setupContext=l.length>1?or(e):null,r=at(e),i=ct(l,e,0,[e.props,n]),c=js(i);if(Je(),r(),(c||e.sp)&&!Ve(e)&&nl(e),c){if(i.then(Ns,Ns),t)return i.then(u=>{ss(e,u,t)}).catch(u=>{ut(u,e,0)});e.asyncDep=i}else ss(e,i,t)}else Bl(e,t)}function ss(e,t,s){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=Vs(t)),Bl(e,s)}let $s;function Bl(e,t,s){const l=e.type;if(!e.render){if(!t&&$s&&!l.render){const n=l.template||us(e).template;if(n){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:u}=l,g=ie(ie({isCustomElement:r,delimiters:c},i),u);l.render=$s(n,g)}}e.render=l.render||Ie}{const n=at(e);Ge();try{bn(e)}finally{Je(),n()}}}const ir={get(e,t){return Us(e,"get",""),e[t]}};function or(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ir),slots:e.slots,emit:e.emit,expose:t}}function $t(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vs(Ll(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in lt)return lt[s](e)},has(t,s){return s in t||s in lt}})):e.proxy}function ls(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function fr(e){return L(e)&&"__vccOpts"in e}const cr=(e,t)=>Hl(e,t,ot);function Mr(e,t,s){const l=arguments.length;return l===2?pe(t)&&!R(t)?De(t)?re(e,null,[t]):re(e,t):re(e,null,t):(l>3?s=Array.prototype.slice.call(arguments,2):l===3&&De(s)&&(s=[s]),re(e,t,s))}const ur="3.5.12";export{Or as A,mr as B,Zl as C,xr as D,es as E,ge as F,Cr as G,Pr as H,zn as I,Br as J,_r as K,se as L,on as M,fn as N,gr as O,Oe as P,ol as Q,vr as R,Ir as S,Nt as T,pr as U,kr as V,Fr as W,ln as a,re as b,Er as c,ms as d,Ee as e,Ar as f,ll as g,Mr as h,bt as i,cr as j,is as k,yr as l,br as m,Ql as n,il as o,un as p,os as q,qt as r,We as s,er as t,sn as u,De as v,_t as w,kn as x,Tr as y,It as z};
+**/function ct(e,t,s,l){try{return l?e(...l):e()}catch(n){ut(n,t,s)}}function Ee(e,t,s,l){if(L(e)){const n=ct(e,t,s,l);return n&&Ss(n)&&n.catch(r=>{ut(r,t,s)}),n}if(R(e)){const n=[];for(let r=0;r>>1,n=fe[l],r=rt(n);r=rt(s)?fe.push(e):fe.splice(Xl(t),0,e),e.flags|=1,Gs()}}function Gs(){Ft||(Ft=qs.then(Ys))}function Kt(e){R(e)?Re.push(...e):Pe&&e.id===-1?Pe.splice(je+1,0,e):e.flags&1||(Re.push(e),e.flags|=1),Gs()}function vs(e,t,s=Te+1){for(;srt(s)-rt(l));if(Re.length=0,Pe){Pe.push(...t);return}for(Pe=t,je=0;jee.id==null?e.flags&2?-1:1/0:e.id;function Ys(e){try{for(Te=0;Te{l._d&&Hs(-1);const r=vt(t);let i;try{i=e(...n)}finally{vt(r),l._d&&Hs(1)}return i};return l._n=!0,l._c=!0,l._d=!0,l}function gr(e,t){if(z===null)return e;const s=Nt(z),l=e.dirs||(e.dirs=[]);for(let n=0;ne.__isTeleport,st=e=>e&&(e.disabled||e.disabled===""),zl=e=>e&&(e.defer||e.defer===""),Ts=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ks=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Wt=(e,t)=>{const s=e&&e.to;return be(s)?t?t(s):null:s},en={name:"Teleport",__isTeleport:!0,process(e,t,s,l,n,r,i,c,u,g){const{mc:d,pc:a,pbc:m,o:{insert:x,querySelector:A,createText:O,createComment:W}}=g,V=st(t.props);let{shapeFlag:E,children:P,dynamicChildren:B}=t;if(e==null){const k=t.el=O(""),M=t.anchor=O("");x(k,s,l),x(M,s,l);const D=(I,H)=>{E&16&&(n&&n.isCE&&(n.ce._teleportTarget=I),d(P,I,H,n,r,i,c,u))},U=()=>{const I=t.target=Wt(t.props,A),H=zs(I,t,O,x);I&&(i!=="svg"&&Ts(I)?i="svg":i!=="mathml"&&ks(I)&&(i="mathml"),V||(D(I,H),yt(t,!1)))};V&&(D(s,M),yt(t,!0)),zl(t.props)?te(U,r):U()}else{t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,M=t.target=e.target,D=t.targetAnchor=e.targetAnchor,U=st(e.props),I=U?s:M,H=U?k:D;if(i==="svg"||Ts(M)?i="svg":(i==="mathml"||ks(M))&&(i="mathml"),B?(m(e.dynamicChildren,B,I,n,r,i,c),ds(e,t,!0)):u||a(e,t,I,H,n,r,i,c,!1),V)U?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gt(t,s,k,g,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const j=t.target=Wt(t.props,A);j&>(t,j,null,g,0)}else U&>(t,M,D,g,1);yt(t,V)}},remove(e,t,s,{um:l,o:{remove:n}},r){const{shapeFlag:i,children:c,anchor:u,targetStart:g,targetAnchor:d,target:a,props:m}=e;if(a&&(n(g),n(d)),r&&n(u),i&16){const x=r||!st(m);for(let A=0;A{e.isMounted=!0}),os(()=>{e.isUnmounting=!0}),e}const me=[Function,Array],ln={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:me,onEnter:me,onAfterEnter:me,onEnterCancelled:me,onBeforeLeave:me,onLeave:me,onAfterLeave:me,onLeaveCancelled:me,onBeforeAppear:me,onAppear:me,onAfterAppear:me,onAppearCancelled:me},el=e=>{const t=e.subTree;return t.component?el(t.component):t},nn={name:"BaseTransition",props:ln,setup(e,{slots:t}){const s=ms(),l=sn();return()=>{const n=t.default&&ll(t.default(),!0);if(!n||!n.length)return;const r=tl(n),i=Ot(e),{mode:c}=i;if(l.isLeaving)return Vt(r);const u=Es(r);if(!u)return Vt(r);let g=qt(u,i,l,s,m=>g=m);u.type!==se&&We(u,g);const d=s.subTree,a=d&&Es(d);if(a&&a.type!==se&&!Ce(u,a)&&el(s).type!==se){const m=qt(a,i,l,s);if(We(a,m),c==="out-in"&&u.type!==se)return l.isLeaving=!0,m.afterLeave=()=>{l.isLeaving=!1,s.job.flags&8||s.update(),delete m.afterLeave},Vt(r);c==="in-out"&&u.type!==se&&(m.delayLeave=(x,A,O)=>{const W=sl(l,a);W[String(a.key)]=a,x[Me]=()=>{A(),x[Me]=void 0,delete g.delayedLeave},g.delayedLeave=O})}return r}}};function tl(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==se){t=s;break}}return t}const mr=nn;function sl(e,t){const{leavingVNodes:s}=e;let l=s.get(t.type);return l||(l=Object.create(null),s.set(t.type,l)),l}function qt(e,t,s,l,n){const{appear:r,mode:i,persisted:c=!1,onBeforeEnter:u,onEnter:g,onAfterEnter:d,onEnterCancelled:a,onBeforeLeave:m,onLeave:x,onAfterLeave:A,onLeaveCancelled:O,onBeforeAppear:W,onAppear:V,onAfterAppear:E,onAppearCancelled:P}=t,B=String(e.key),k=sl(s,e),M=(I,H)=>{I&&Ee(I,l,9,H)},D=(I,H)=>{const j=H[1];M(I,H),R(I)?I.every(X=>X.length<=1)&&j():I.length<=1&&j()},U={mode:i,persisted:c,beforeEnter(I){let H=u;if(!s.isMounted)if(r)H=W||u;else return;I[Me]&&I[Me](!0);const j=k[B];j&&Ce(e,j)&&j.el[Me]&&j.el[Me](),M(H,[I])},enter(I){let H=g,j=d,X=a;if(!s.isMounted)if(r)H=V||g,j=E||d,X=P||a;else return;let ee=!1;const ie=I[pt]=Ae=>{ee||(ee=!0,Ae?M(X,[I]):M(j,[I]),U.delayedLeave&&U.delayedLeave(),I[pt]=void 0)};H?D(H,[I,ie]):ie()},leave(I,H){const j=String(e.key);if(I[pt]&&I[pt](!0),s.isUnmounting)return H();M(m,[I]);let X=!1;const ee=I[Me]=ie=>{X||(X=!0,H(),ie?M(O,[I]):M(A,[I]),I[Me]=void 0,k[j]===e&&delete k[j])};k[j]=e,x?D(x,[I,ee]):ee()},clone(I){const H=qt(I,t,s,l,n);return n&&n(H),H}};return U}function Vt(e){if(Pt(e))return e=Oe(e),e.children=null,e}function Es(e){if(!Pt(e))return Zs(e.type)&&e.children?tl(e.children):e;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&L(s.default))return s.default()}}function We(e,t){e.shapeFlag&6&&e.component?(e.transition=t,We(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ll(e,t=!1,s){let l=[],n=0;for(let r=0;r1)for(let r=0;rs.value,set:r=>s.value=r})}return s}function Gt(e,t,s,l,n=!1){if(R(e)){e.forEach((A,O)=>Gt(A,t&&(R(t)?t[O]:t),s,l,n));return}if(Ve(l)&&!n)return;const r=l.shapeFlag&4?Nt(l.component):l.el,i=n?null:r,{i:c,r:u}=e,g=t&&t.r,d=c.refs===q?c.refs={}:c.refs,a=c.setupState,m=Ot(a),x=a===q?()=>!1:A=>Q(m,A);if(g!=null&&g!==u&&(be(g)?(d[g]=null,x(g)&&(a[g]=null)):Ct(g)&&(g.value=null)),L(u))ct(u,c,12,[i,d]);else{const A=be(u),O=Ct(u);if(A||O){const W=()=>{if(e.f){const V=A?x(u)?a[u]:d[u]:u.value;n?R(V)&&Rs(V,r):R(V)?V.includes(r)||V.push(r):A?(d[u]=[r],x(u)&&(a[u]=d[u])):(u.value=[r],e.k&&(d[e.k]=u.value))}else A?(d[u]=i,x(u)&&(a[u]=i)):O&&(u.value=i,e.k&&(d[e.k]=i))};i?(W.id=-1,te(W,s)):W()}}}Bt().requestIdleCallback;Bt().cancelIdleCallback;const Ve=e=>!!e.type.__asyncLoader,Pt=e=>e.type.__isKeepAlive,rn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const s=ms(),l=s.ctx;if(!l.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const n=new Map,r=new Set;let i=null;const c=s.suspense,{renderer:{p:u,m:g,um:d,o:{createElement:a}}}=l,m=a("div");l.activate=(E,P,B,k,M)=>{const D=E.component;g(E,P,B,0,c),u(D.vnode,E,P,B,D,c,k,E.slotScopeIds,M),te(()=>{D.isDeactivated=!1,D.a&&et(D.a);const U=E.props&&E.props.onVnodeMounted;U&&ye(U,D.parent,E)},c)},l.deactivate=E=>{const P=E.component;kt(P.m),kt(P.a),g(E,m,null,1,c),te(()=>{P.da&&et(P.da);const B=E.props&&E.props.onVnodeUnmounted;B&&ye(B,P.parent,E),P.isDeactivated=!0},c)};function x(E){Ut(E),d(E,s,c,!0)}function A(E){n.forEach((P,B)=>{const k=ls(P.type);k&&!E(k)&&O(B)})}function O(E){const P=n.get(E);P&&(!i||!Ce(P,i))?x(P):i&&Ut(i),n.delete(E),r.delete(E)}_t(()=>[e.include,e.exclude],([E,P])=>{E&&A(B=>Ze(E,B)),P&&A(B=>!Ze(P,B))},{flush:"post",deep:!0});let W=null;const V=()=>{W!=null&&(Et(s.subTree.type)?te(()=>{n.set(W,mt(s.subTree))},s.subTree.suspense):n.set(W,mt(s.subTree)))};return is(V),il(V),os(()=>{n.forEach(E=>{const{subTree:P,suspense:B}=s,k=mt(P);if(E.type===k.type&&E.key===k.key){Ut(k);const M=k.component.da;M&&te(M,B);return}x(E)})}),()=>{if(W=null,!t.default)return i=null;const E=t.default(),P=E[0];if(E.length>1)return i=null,E;if(!De(P)||!(P.shapeFlag&4)&&!(P.shapeFlag&128))return i=null,P;let B=mt(P);if(B.type===se)return i=null,B;const k=B.type,M=ls(Ve(B)?B.type.__asyncResolved||{}:k),{include:D,exclude:U,max:I}=e;if(D&&(!M||!Ze(D,M))||U&&M&&Ze(U,M))return B.shapeFlag&=-257,i=B,P;const H=B.key==null?k:B.key,j=n.get(H);return B.el&&(B=Oe(B),P.shapeFlag&128&&(P.ssContent=B)),W=H,j?(B.el=j.el,B.component=j.component,B.transition&&We(B,B.transition),B.shapeFlag|=512,r.delete(H),r.add(H)):(r.add(H),I&&r.size>parseInt(I,10)&&O(r.values().next().value)),B.shapeFlag|=256,i=B,Et(P.type)?P:B}}},_r=rn;function Ze(e,t){return R(e)?e.some(s=>Ze(s,t)):be(e)?e.split(",").includes(t):Kl(e)?(e.lastIndex=0,e.test(t)):!1}function on(e,t){rl(e,"a",t)}function fn(e,t){rl(e,"da",t)}function rl(e,t,s=le){const l=e.__wdc||(e.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Mt(t,l,s),s){let n=s.parent;for(;n&&n.parent;)Pt(n.parent.vnode)&&cn(l,t,s,n),n=n.parent}}function cn(e,t,s,l){const n=Mt(t,e,l,!0);ol(()=>{Rs(l[t],n)},s)}function Ut(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function mt(e){return e.shapeFlag&128?e.ssContent:e}function Mt(e,t,s=le,l=!1){if(s){const n=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Ge();const c=at(s),u=Ee(t,s,e,i);return c(),Je(),u});return l?n.unshift(r):n.push(r),r}}const Be=e=>(t,s=le)=>{(!ot||e==="sp")&&Mt(e,(...l)=>t(...l),s)},un=Be("bm"),is=Be("m"),an=Be("bu"),il=Be("u"),os=Be("bum"),ol=Be("um"),dn=Be("sp"),hn=Be("rtg"),gn=Be("rtc");function pn(e,t=le){Mt("ec",e,t)}const fs="components",mn="directives";function xr(e,t){return cs(fs,e,!0,t)||e}const fl=Symbol.for("v-ndc");function Cr(e){return be(e)?cs(fs,e,!1)||e:e||fl}function Fr(e){return cs(mn,e)}function cs(e,t,s=!0,l=!1){const n=z||le;if(n){const r=n.type;if(e===fs){const c=ls(r,!1);if(c&&(c===t||c===ke(t)||c===Ks(ke(t))))return r}const i=As(n[e]||r[e],t)||As(n.appContext[e],t);return!i&&l?r:i}}function As(e,t){return e&&(e[t]||e[ke(t)]||e[Ks(ke(t))])}function vr(e,t,s={},l,n){if(z.ce||z.parent&&Ve(z.parent)&&z.parent.ce)return t!=="default"&&(s.name=t),At(),es(ge,null,[ce("slot",s,l)],64);let r=e[t];r&&r._c&&(r._d=!1),At();const i=r&&cl(r(s)),c=s.key||i&&i.key,u=es(ge,{key:(c&&!Rl(c)?c:`_${t}`)+(!i&&l?"_fb":"")},i||[],i&&e._===1?64:-2);return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),r&&r._c&&(r._d=!0),u}function cl(e){return e.some(t=>De(t)?!(t.type===se||t.type===ge&&!cl(t.children)):!0)?e:null}const Jt=e=>e?Ol(e)?Nt(e):Jt(e.parent):null,lt=re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Jt(e.parent),$root:e=>Jt(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>us(e),$forceUpdate:e=>e.f||(e.f=()=>{rs(e.update)}),$nextTick:e=>e.n||(e.n=Ql.bind(e.proxy)),$watch:e=>Ln.bind(e)}),Dt=(e,t)=>e!==q&&!e.__isScriptSetup&&Q(e,t),yn={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:l,data:n,props:r,accessCache:i,type:c,appContext:u}=e;let g;if(t[0]!=="$"){const x=i[t];if(x!==void 0)switch(x){case 1:return l[t];case 2:return n[t];case 4:return s[t];case 3:return r[t]}else{if(Dt(l,t))return i[t]=1,l[t];if(n!==q&&Q(n,t))return i[t]=2,n[t];if((g=e.propsOptions[0])&&Q(g,t))return i[t]=3,r[t];if(s!==q&&Q(s,t))return i[t]=4,s[t];Qt&&(i[t]=0)}}const d=lt[t];let a,m;if(d)return t==="$attrs"&&Us(e.attrs,"get",""),d(e);if((a=c.__cssModules)&&(a=a[t]))return a;if(s!==q&&Q(s,t))return i[t]=4,s[t];if(m=u.config.globalProperties,Q(m,t))return m[t]},set({_:e},t,s){const{data:l,setupState:n,ctx:r}=e;return Dt(n,t)?(n[t]=s,!0):l!==q&&Q(l,t)?(l[t]=s,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:l,appContext:n,propsOptions:r}},i){let c;return!!s[i]||e!==q&&Q(e,i)||Dt(t,i)||(c=r[0])&&Q(c,i)||Q(l,i)||Q(lt,i)||Q(n.config.globalProperties,i)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:Q(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Yt(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}function Tr(e,t){const s=Yt(e);for(const l in t){if(l.startsWith("__skip"))continue;let n=s[l];n?R(n)||L(n)?n=s[l]={type:n,default:t[l]}:n.default=t[l]:n===null&&(n=s[l]={default:t[l]}),n&&t[`__skip_${l}`]&&(n.skipFactory=!0)}return s}let Qt=!0;function bn(e){const t=us(e),s=e.proxy,l=e.ctx;Qt=!1,t.beforeCreate&&Is(t.beforeCreate,e,"bc");const{data:n,computed:r,methods:i,watch:c,provide:u,inject:g,created:d,beforeMount:a,mounted:m,beforeUpdate:x,updated:A,activated:O,deactivated:W,beforeDestroy:V,beforeUnmount:E,destroyed:P,unmounted:B,render:k,renderTracked:M,renderTriggered:D,errorCaptured:U,serverPrefetch:I,expose:H,inheritAttrs:j,components:X,directives:ee,filters:ie}=t;if(g&&_n(g,l,null),i)for(const G in i){const J=i[G];L(J)&&(l[G]=J.bind(s))}if(n){const G=n.call(s,s);pe(G)&&(e.data=Vl(G))}if(Qt=!0,r)for(const G in r){const J=r[G],He=L(J)?J.bind(s,s):L(J.get)?J.get.bind(s,s):Ie,dt=!L(J)&&L(J.set)?J.set.bind(s):Ie,Ne=cr({get:He,set:dt});Object.defineProperty(l,G,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:Fe=>Ne.value=Fe})}if(c)for(const G in c)ul(c[G],l,s,G);if(u){const G=L(u)?u.call(s):u;Reflect.ownKeys(G).forEach(J=>{kn(J,G[J])})}d&&Is(d,e,"c");function Z(G,J){R(J)?J.forEach(He=>G(He.bind(s))):J&&G(J.bind(s))}if(Z(un,a),Z(is,m),Z(an,x),Z(il,A),Z(on,O),Z(fn,W),Z(pn,U),Z(gn,M),Z(hn,D),Z(os,E),Z(ol,B),Z(dn,I),R(H))if(H.length){const G=e.exposed||(e.exposed={});H.forEach(J=>{Object.defineProperty(G,J,{get:()=>s[J],set:He=>s[J]=He})})}else e.exposed||(e.exposed={});k&&e.render===Ie&&(e.render=k),j!=null&&(e.inheritAttrs=j),X&&(e.components=X),ee&&(e.directives=ee),I&&nl(e)}function _n(e,t,s=Ie){R(e)&&(e=Xt(e));for(const l in e){const n=e[l];let r;pe(n)?"default"in n?r=bt(n.from||l,n.default,!0):r=bt(n.from||l):r=bt(n),Ct(r)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[l]=r}}function Is(e,t,s){Ee(R(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,s)}function ul(e,t,s,l){let n=l.includes(".")?Fl(s,l):()=>s[l];if(be(e)){const r=t[e];L(r)&&_t(n,r)}else if(L(e))_t(n,e.bind(s));else if(pe(e))if(R(e))e.forEach(r=>ul(r,t,s,l));else{const r=L(e.handler)?e.handler.bind(s):t[e.handler];L(r)&&_t(n,r,e)}}function us(e){const t=e.type,{mixins:s,extends:l}=t,{mixins:n,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,c=r.get(t);let u;return c?u=c:!n.length&&!s&&!l?u=t:(u={},n.length&&n.forEach(g=>Tt(u,g,i,!0)),Tt(u,t,i)),pe(t)&&r.set(t,u),u}function Tt(e,t,s,l=!1){const{mixins:n,extends:r}=t;r&&Tt(e,r,s,!0),n&&n.forEach(i=>Tt(e,i,s,!0));for(const i in t)if(!(l&&i==="expose")){const c=xn[i]||s&&s[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const xn={data:Os,props:Bs,emits:Bs,methods:ze,computed:ze,beforeCreate:oe,created:oe,beforeMount:oe,mounted:oe,beforeUpdate:oe,updated:oe,beforeDestroy:oe,beforeUnmount:oe,destroyed:oe,unmounted:oe,activated:oe,deactivated:oe,errorCaptured:oe,serverPrefetch:oe,components:ze,directives:ze,watch:Fn,provide:Os,inject:Cn};function Os(e,t){return t?e?function(){return re(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function Cn(e,t){return ze(Xt(e),Xt(t))}function Xt(e){if(R(e)){const t={};for(let s=0;s1)return s&&L(t)?t.call(l&&l.proxy):t}}function kr(){return!!(le||z||Ue)}const dl={},hl=()=>Object.create(dl),gl=e=>Object.getPrototypeOf(e)===dl;function En(e,t,s,l=!1){const n={},r=hl();e.propsDefaults=Object.create(null),pl(e,t,n,r);for(const i in e.propsOptions[0])i in n||(n[i]=void 0);s?e.props=l?n:jl(n):e.type.props?e.props=n:e.props=r,e.attrs=r}function An(e,t,s,l){const{props:n,attrs:r,vnode:{patchFlag:i}}=e,c=Ot(n),[u]=e.propsOptions;let g=!1;if((l||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let a=0;a{u=!0;const[m,x]=ml(a,t,!0);re(i,m),x&&c.push(...x)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!u)return pe(e)&&l.set(e,Se),Se;if(R(r))for(let d=0;de[0]==="_"||e==="$stable",as=e=>R(e)?e.map(xe):[xe(e)],On=(e,t,s)=>{if(t._n)return t;const l=Zl((...n)=>as(t(...n)),s);return l._c=!1,l},bl=(e,t,s)=>{const l=e._ctx;for(const n in e){if(yl(n))continue;const r=e[n];if(L(r))t[n]=On(n,r,l);else if(r!=null){const i=as(r);t[n]=()=>i}}},_l=(e,t)=>{const s=as(t);e.slots.default=()=>s},xl=(e,t,s)=>{for(const l in t)(s||l!=="_")&&(e[l]=t[l])},Bn=(e,t,s)=>{const l=e.slots=hl();if(e.vnode.shapeFlag&32){const n=t._;n?(xl(l,t,s),s&&Gl(l,"_",n,!0)):bl(t,l)}else t&&_l(e,t)},Pn=(e,t,s)=>{const{vnode:l,slots:n}=e;let r=!0,i=q;if(l.shapeFlag&32){const c=t._;c?s&&c===1?r=!1:xl(n,t,s):(r=!t.$stable,bl(t,n)),i=t}else t&&(_l(e,t),i={default:1});if(r)for(const c in n)!yl(c)&&i[c]==null&&delete n[c]},te=Yn;function Er(e){return Mn(e)}function Mn(e,t){const s=Bt();s.__VUE__=!0;const{insert:l,remove:n,patchProp:r,createElement:i,createText:c,createComment:u,setText:g,setElementText:d,parentNode:a,nextSibling:m,setScopeId:x=Ie,insertStaticContent:A}=e,O=(o,f,h,b=null,p=null,y=null,v=void 0,F=null,C=!!f.dynamicChildren)=>{if(o===f)return;o&&!Ce(o,f)&&(b=ht(o),Fe(o,p,y,!0),o=null),f.patchFlag===-2&&(C=!1,f.dynamicChildren=null);const{type:_,ref:N,shapeFlag:T}=f;switch(_){case Ht:W(o,f,h,b);break;case se:V(o,f,h,b);break;case Rt:o==null&&E(f,h,b,v);break;case ge:X(o,f,h,b,p,y,v,F,C);break;default:T&1?k(o,f,h,b,p,y,v,F,C):T&6?ee(o,f,h,b,p,y,v,F,C):(T&64||T&128)&&_.process(o,f,h,b,p,y,v,F,C,Qe)}N!=null&&p&&Gt(N,o&&o.ref,y,f||o,!f)},W=(o,f,h,b)=>{if(o==null)l(f.el=c(f.children),h,b);else{const p=f.el=o.el;f.children!==o.children&&g(p,f.children)}},V=(o,f,h,b)=>{o==null?l(f.el=u(f.children||""),h,b):f.el=o.el},E=(o,f,h,b)=>{[o.el,o.anchor]=A(o.children,f,h,b,o.el,o.anchor)},P=({el:o,anchor:f},h,b)=>{let p;for(;o&&o!==f;)p=m(o),l(o,h,b),o=p;l(f,h,b)},B=({el:o,anchor:f})=>{let h;for(;o&&o!==f;)h=m(o),n(o),o=h;n(f)},k=(o,f,h,b,p,y,v,F,C)=>{f.type==="svg"?v="svg":f.type==="math"&&(v="mathml"),o==null?M(f,h,b,p,y,v,F,C):I(o,f,p,y,v,F,C)},M=(o,f,h,b,p,y,v,F)=>{let C,_;const{props:N,shapeFlag:T,transition:w,dirs:$}=o;if(C=o.el=i(o.type,y,N&&N.is,N),T&8?d(C,o.children):T&16&&U(o.children,C,null,b,p,jt(o,y),v,F),$&&$e(o,null,b,"created"),D(C,o,o.scopeId,v,b),N){for(const Y in N)Y!=="value"&&!tt(Y)&&r(C,Y,null,N[Y],y,b);"value"in N&&r(C,"value",null,N.value,y),(_=N.onVnodeBeforeMount)&&ye(_,b,o)}$&&$e(o,null,b,"beforeMount");const S=wn(p,w);S&&w.beforeEnter(C),l(C,f,h),((_=N&&N.onVnodeMounted)||S||$)&&te(()=>{_&&ye(_,b,o),S&&w.enter(C),$&&$e(o,null,b,"mounted")},p)},D=(o,f,h,b,p)=>{if(h&&x(o,h),b)for(let y=0;y{for(let _=C;_{const F=f.el=o.el;let{patchFlag:C,dynamicChildren:_,dirs:N}=f;C|=o.patchFlag&16;const T=o.props||q,w=f.props||q;let $;if(h&&Le(h,!1),($=w.onVnodeBeforeUpdate)&&ye($,h,f,o),N&&$e(f,o,h,"beforeUpdate"),h&&Le(h,!0),(T.innerHTML&&w.innerHTML==null||T.textContent&&w.textContent==null)&&d(F,""),_?H(o.dynamicChildren,_,F,h,b,jt(f,p),y):v||J(o,f,F,null,h,b,jt(f,p),y,!1),C>0){if(C&16)j(F,T,w,h,p);else if(C&2&&T.class!==w.class&&r(F,"class",null,w.class,p),C&4&&r(F,"style",T.style,w.style,p),C&8){const S=f.dynamicProps;for(let Y=0;Y{$&&ye($,h,f,o),N&&$e(f,o,h,"updated")},b)},H=(o,f,h,b,p,y,v)=>{for(let F=0;F{if(f!==h){if(f!==q)for(const y in f)!tt(y)&&!(y in h)&&r(o,y,f[y],null,p,b);for(const y in h){if(tt(y))continue;const v=h[y],F=f[y];v!==F&&y!=="value"&&r(o,y,F,v,p,b)}"value"in h&&r(o,"value",f.value,h.value,p)}},X=(o,f,h,b,p,y,v,F,C)=>{const _=f.el=o?o.el:c(""),N=f.anchor=o?o.anchor:c("");let{patchFlag:T,dynamicChildren:w,slotScopeIds:$}=f;$&&(F=F?F.concat($):$),o==null?(l(_,h,b),l(N,h,b),U(f.children||[],h,N,p,y,v,F,C)):T>0&&T&64&&w&&o.dynamicChildren?(H(o.dynamicChildren,w,h,p,y,v,F),(f.key!=null||p&&f===p.subTree)&&ds(o,f,!0)):J(o,f,h,N,p,y,v,F,C)},ee=(o,f,h,b,p,y,v,F,C)=>{f.slotScopeIds=F,o==null?f.shapeFlag&512?p.ctx.activate(f,h,b,v,C):ie(f,h,b,p,y,v,C):Ae(o,f,C)},ie=(o,f,h,b,p,y,v)=>{const F=o.component=lr(o,b,p);if(Pt(o)&&(F.ctx.renderer=Qe),nr(F,!1,v),F.asyncDep){if(p&&p.registerDep(F,Z,v),!o.el){const C=F.subTree=ce(se);V(null,C,f,h)}}else Z(F,o,f,h,p,y,v)},Ae=(o,f,h)=>{const b=f.component=o.component;if(Rn(o,f,h))if(b.asyncDep&&!b.asyncResolved){G(b,f,h);return}else b.next=f,b.update();else f.el=o.el,b.vnode=f},Z=(o,f,h,b,p,y,v)=>{const F=()=>{if(o.isMounted){let{next:T,bu:w,u:$,parent:S,vnode:Y}=o;{const de=Cl(o);if(de){T&&(T.el=Y.el,G(o,T,v)),de.asyncDep.then(()=>{o.isUnmounted||F()});return}}let K=T,ae;Le(o,!1),T?(T.el=Y.el,G(o,T,v)):T=Y,w&&et(w),(ae=T.props&&T.props.onVnodeBeforeUpdate)&&ye(ae,S,T,Y),Le(o,!0);const ne=St(o),_e=o.subTree;o.subTree=ne,O(_e,ne,a(_e.el),ht(_e),o,p,y),T.el=ne.el,K===null&&gs(o,ne.el),$&&te($,p),(ae=T.props&&T.props.onVnodeUpdated)&&te(()=>ye(ae,S,T,Y),p)}else{let T;const{el:w,props:$}=f,{bm:S,m:Y,parent:K,root:ae,type:ne}=o,_e=Ve(f);if(Le(o,!1),S&&et(S),!_e&&(T=$&&$.onVnodeBeforeMount)&&ye(T,K,f),Le(o,!0),w&&xs){const de=()=>{o.subTree=St(o),xs(w,o.subTree,o,p,null)};_e&&ne.__asyncHydrate?ne.__asyncHydrate(w,o,de):de()}else{ae.ce&&ae.ce._injectChildStyle(ne);const de=o.subTree=St(o);O(null,de,h,b,o,p,y),f.el=de.el}if(Y&&te(Y,p),!_e&&(T=$&&$.onVnodeMounted)){const de=f;te(()=>ye(T,K,de),p)}(f.shapeFlag&256||K&&Ve(K.vnode)&&K.vnode.shapeFlag&256)&&o.a&&te(o.a,p),o.isMounted=!0,f=h=b=null}};o.scope.on();const C=o.effect=new Ul(F);o.scope.off();const _=o.update=C.run.bind(C),N=o.job=C.runIfDirty.bind(C);N.i=o,N.id=o.uid,C.scheduler=()=>rs(N),Le(o,!0),_()},G=(o,f,h)=>{f.component=o;const b=o.vnode.props;o.vnode=f,o.next=null,An(o,f.props,b,h),Pn(o,f.children,h),Ge(),vs(o),Je()},J=(o,f,h,b,p,y,v,F,C=!1)=>{const _=o&&o.children,N=o?o.shapeFlag:0,T=f.children,{patchFlag:w,shapeFlag:$}=f;if(w>0){if(w&128){dt(_,T,h,b,p,y,v,F,C);return}else if(w&256){He(_,T,h,b,p,y,v,F,C);return}}$&8?(N&16&&Ye(_,p,y),T!==_&&d(h,T)):N&16?$&16?dt(_,T,h,b,p,y,v,F,C):Ye(_,p,y,!0):(N&8&&d(h,""),$&16&&U(T,h,b,p,y,v,F,C))},He=(o,f,h,b,p,y,v,F,C)=>{o=o||Se,f=f||Se;const _=o.length,N=f.length,T=Math.min(_,N);let w;for(w=0;wN?Ye(o,p,y,!0,!1,T):U(f,h,b,p,y,v,F,C,T)},dt=(o,f,h,b,p,y,v,F,C)=>{let _=0;const N=f.length;let T=o.length-1,w=N-1;for(;_<=T&&_<=w;){const $=o[_],S=f[_]=C?we(f[_]):xe(f[_]);if(Ce($,S))O($,S,h,null,p,y,v,F,C);else break;_++}for(;_<=T&&_<=w;){const $=o[T],S=f[w]=C?we(f[w]):xe(f[w]);if(Ce($,S))O($,S,h,null,p,y,v,F,C);else break;T--,w--}if(_>T){if(_<=w){const $=w+1,S=$w)for(;_<=T;)Fe(o[_],p,y,!0),_++;else{const $=_,S=_,Y=new Map;for(_=S;_<=w;_++){const he=f[_]=C?we(f[_]):xe(f[_]);he.key!=null&&Y.set(he.key,_)}let K,ae=0;const ne=w-S+1;let _e=!1,de=0;const Xe=new Array(ne);for(_=0;_=ne){Fe(he,p,y,!0);continue}let ve;if(he.key!=null)ve=Y.get(he.key);else for(K=S;K<=w;K++)if(Xe[K-S]===0&&Ce(he,f[K])){ve=K;break}ve===void 0?Fe(he,p,y,!0):(Xe[ve-S]=_+1,ve>=de?de=ve:_e=!0,O(he,f[ve],h,null,p,y,v,F,C),ae++)}const Cs=_e?Hn(Xe):Se;for(K=Cs.length-1,_=ne-1;_>=0;_--){const he=S+_,ve=f[he],Fs=he+1{const{el:y,type:v,transition:F,children:C,shapeFlag:_}=o;if(_&6){Ne(o.component.subTree,f,h,b);return}if(_&128){o.suspense.move(f,h,b);return}if(_&64){v.move(o,f,h,Qe);return}if(v===ge){l(y,f,h);for(let T=0;TF.enter(y),p);else{const{leave:T,delayLeave:w,afterLeave:$}=F,S=()=>l(y,f,h),Y=()=>{T(y,()=>{S(),$&&$()})};w?w(y,S,Y):Y()}else l(y,f,h)},Fe=(o,f,h,b=!1,p=!1)=>{const{type:y,props:v,ref:F,children:C,dynamicChildren:_,shapeFlag:N,patchFlag:T,dirs:w,cacheIndex:$}=o;if(T===-2&&(p=!1),F!=null&&Gt(F,null,h,o,!0),$!=null&&(f.renderCache[$]=void 0),N&256){f.ctx.deactivate(o);return}const S=N&1&&w,Y=!Ve(o);let K;if(Y&&(K=v&&v.onVnodeBeforeUnmount)&&ye(K,f,o),N&6)Ml(o.component,h,b);else{if(N&128){o.suspense.unmount(h,b);return}S&&$e(o,null,f,"beforeUnmount"),N&64?o.type.remove(o,f,h,Qe,b):_&&!_.hasOnce&&(y!==ge||T>0&&T&64)?Ye(_,f,h,!1,!0):(y===ge&&T&384||!p&&N&16)&&Ye(C,f,h),b&&ys(o)}(Y&&(K=v&&v.onVnodeUnmounted)||S)&&te(()=>{K&&ye(K,f,o),S&&$e(o,null,f,"unmounted")},h)},ys=o=>{const{type:f,el:h,anchor:b,transition:p}=o;if(f===ge){Pl(h,b);return}if(f===Rt){B(o);return}const y=()=>{n(h),p&&!p.persisted&&p.afterLeave&&p.afterLeave()};if(o.shapeFlag&1&&p&&!p.persisted){const{leave:v,delayLeave:F}=p,C=()=>v(h,y);F?F(o.el,y,C):C()}else y()},Pl=(o,f)=>{let h;for(;o!==f;)h=m(o),n(o),o=h;n(f)},Ml=(o,f,h)=>{const{bum:b,scope:p,job:y,subTree:v,um:F,m:C,a:_}=o;kt(C),kt(_),b&&et(b),p.stop(),y&&(y.flags|=8,Fe(v,o,f,h)),F&&te(F,f),te(()=>{o.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&o.asyncDep&&!o.asyncResolved&&o.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Ye=(o,f,h,b=!1,p=!1,y=0)=>{for(let v=y;v{if(o.shapeFlag&6)return ht(o.component.subTree);if(o.shapeFlag&128)return o.suspense.next();const f=m(o.anchor||o.el),h=f&&f[Xs];return h?m(h):f};let $t=!1;const bs=(o,f,h)=>{o==null?f._vnode&&Fe(f._vnode,null,null,!0):O(f._vnode||null,o,f,null,null,null,h),f._vnode=o,$t||($t=!0,vs(),Js(),$t=!1)},Qe={p:O,um:Fe,m:Ne,r:ys,mt:ie,mc:U,pc:J,pbc:H,n:ht,o:e};let _s,xs;return{render:bs,hydrate:_s,createApp:Tn(bs,_s)}}function jt({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Le({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wn(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ds(e,t,s=!1){const l=e.children,n=t.children;if(R(l)&&R(n))for(let r=0;r>1,e[s[c]]0&&(t[l]=s[r-1]),s[r]=l)}}for(r=s.length,i=s[r-1];r-- >0;)s[r]=i,i=t[i];return s}function Cl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Cl(t)}function kt(e){if(e)for(let t=0;tbt(Nn);function Ar(e,t){return hs(e,null,t)}function _t(e,t,s){return hs(e,t,s)}function hs(e,t,s=q){const{immediate:l,deep:n,flush:r,once:i}=s,c=re({},s),u=t&&l||!t&&r!=="post";let g;if(ot){if(r==="sync"){const x=$n();g=x.__watcherHandles||(x.__watcherHandles=[])}else if(!u){const x=()=>{};return x.stop=Ie,x.resume=Ie,x.pause=Ie,x}}const d=le;c.call=(x,A,O)=>Ee(x,d,A,O);let a=!1;r==="post"?c.scheduler=x=>{te(x,d&&d.suspense)}:r!=="sync"&&(a=!0,c.scheduler=(x,A)=>{A?x():rs(x)}),c.augmentJob=x=>{t&&(x.flags|=4),a&&(x.flags|=2,d&&(x.id=d.uid,x.i=d))};const m=wl(e,t,c);return ot&&(g?g.push(m):u&&m()),m}function Ln(e,t,s){const l=this.proxy,n=be(e)?e.includes(".")?Fl(l,e):()=>l[e]:e.bind(l,l);let r;L(t)?r=t:(r=t.handler,s=t);const i=at(this),c=hs(n,r.bind(l),s);return i(),c}function Fl(e,t){const s=t.split(".");return()=>{let l=e;for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ke(t)}Modifiers`]||e[`${ft(t)}Modifiers`];function Un(e,t,...s){if(e.isUnmounted)return;const l=e.vnode.props||q;let n=s;const r=t.startsWith("update:"),i=r&&Vn(l,t.slice(7));i&&(i.trim&&(n=s.map(d=>be(d)?d.trim():d)),i.number&&(n=s.map(Jl)));let c,u=l[c=Lt(t)]||l[c=Lt(ke(t))];!u&&r&&(u=l[c=Lt(ft(t))]),u&&Ee(u,e,6,n);const g=l[c+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ee(g,e,6,n)}}function vl(e,t,s=!1){const l=t.emitsCache,n=l.get(e);if(n!==void 0)return n;const r=e.emits;let i={},c=!1;if(!L(e)){const u=g=>{const d=vl(g,t,!0);d&&(c=!0,re(i,d))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!c?(pe(e)&&l.set(e,null),null):(R(r)?r.forEach(u=>i[u]=null):re(i,r),pe(e)&&l.set(e,i),i)}function wt(e,t){return!e||!ns(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,ft(t))||Q(e,t))}function St(e){const{type:t,vnode:s,proxy:l,withProxy:n,propsOptions:[r],slots:i,attrs:c,emit:u,render:g,renderCache:d,props:a,data:m,setupState:x,ctx:A,inheritAttrs:O}=e,W=vt(e);let V,E;try{if(s.shapeFlag&4){const B=n||l,k=B;V=xe(g.call(k,B,d,a,x,m,A)),E=c}else{const B=t;V=xe(B.length>1?B(a,{attrs:c,slots:i,emit:u}):B(a,null)),E=t.props?c:jn(c)}}catch(B){nt.length=0,ut(B,e,1),V=ce(se)}let P=V;if(E&&O!==!1){const B=Object.keys(E),{shapeFlag:k}=P;B.length&&k&7&&(r&&B.some(Ws)&&(E=Sn(E,r)),P=Oe(P,E,!1,!0))}return s.dirs&&(P=Oe(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&We(P,s.transition),V=P,vt(W),V}function Dn(e,t=!0){let s;for(let l=0;l{let t;for(const s in e)(s==="class"||s==="style"||ns(s))&&((t||(t={}))[s]=e[s]);return t},Sn=(e,t)=>{const s={};for(const l in e)(!Ws(l)||!(l.slice(9)in t))&&(s[l]=e[l]);return s};function Rn(e,t,s){const{props:l,children:n,component:r}=e,{props:i,children:c,patchFlag:u}=t,g=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return l?Ms(l,i,g):!!i;if(u&8){const d=t.dynamicProps;for(let a=0;ae.__isSuspense;let zt=0;const Kn={name:"Suspense",__isSuspense:!0,process(e,t,s,l,n,r,i,c,u,g){if(e==null)Wn(t,s,l,n,r,i,c,u,g);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}qn(e,t,s,l,n,i,c,u,g)}},hydrate:Gn,normalize:Jn},Ir=Kn;function it(e,t){const s=e.props&&e.props[t];L(s)&&s()}function Wn(e,t,s,l,n,r,i,c,u){const{p:g,o:{createElement:d}}=u,a=d("div"),m=e.suspense=Tl(e,n,l,t,a,s,r,i,c,u);g(null,m.pendingBranch=e.ssContent,a,null,l,m,r,i),m.deps>0?(it(e,"onPending"),it(e,"onFallback"),g(null,e.ssFallback,t,s,l,null,r,i),Ke(m,e.ssFallback)):m.resolve(!1,!0)}function qn(e,t,s,l,n,r,i,c,{p:u,um:g,o:{createElement:d}}){const a=t.suspense=e.suspense;a.vnode=t,t.el=e.el;const m=t.ssContent,x=t.ssFallback,{activeBranch:A,pendingBranch:O,isInFallback:W,isHydrating:V}=a;if(O)a.pendingBranch=m,Ce(m,O)?(u(O,m,a.hiddenContainer,null,n,a,r,i,c),a.deps<=0?a.resolve():W&&(V||(u(A,x,s,l,n,null,r,i,c),Ke(a,x)))):(a.pendingId=zt++,V?(a.isHydrating=!1,a.activeBranch=O):g(O,n,a),a.deps=0,a.effects.length=0,a.hiddenContainer=d("div"),W?(u(null,m,a.hiddenContainer,null,n,a,r,i,c),a.deps<=0?a.resolve():(u(A,x,s,l,n,null,r,i,c),Ke(a,x))):A&&Ce(m,A)?(u(A,m,s,l,n,a,r,i,c),a.resolve(!0)):(u(null,m,a.hiddenContainer,null,n,a,r,i,c),a.deps<=0&&a.resolve()));else if(A&&Ce(m,A))u(A,m,s,l,n,a,r,i,c),Ke(a,m);else if(it(t,"onPending"),a.pendingBranch=m,m.shapeFlag&512?a.pendingId=m.component.suspenseId:a.pendingId=zt++,u(null,m,a.hiddenContainer,null,n,a,r,i,c),a.deps<=0)a.resolve();else{const{timeout:E,pendingId:P}=a;E>0?setTimeout(()=>{a.pendingId===P&&a.fallback(x)},E):E===0&&a.fallback(x)}}function Tl(e,t,s,l,n,r,i,c,u,g,d=!1){const{p:a,m,um:x,n:A,o:{parentNode:O,remove:W}}=g;let V;const E=Qn(e);E&&t&&t.pendingBranch&&(V=t.pendingId,t.deps++);const P=e.props?Wl(e.props.timeout):void 0,B=r,k={vnode:e,parent:t,parentComponent:s,namespace:i,container:l,hiddenContainer:n,deps:0,pendingId:zt++,timeout:typeof P=="number"?P:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(M=!1,D=!1){const{vnode:U,activeBranch:I,pendingBranch:H,pendingId:j,effects:X,parentComponent:ee,container:ie}=k;let Ae=!1;k.isHydrating?k.isHydrating=!1:M||(Ae=I&&H.transition&&H.transition.mode==="out-in",Ae&&(I.transition.afterLeave=()=>{j===k.pendingId&&(m(H,ie,r===B?A(I):r,0),Kt(X))}),I&&(O(I.el)===ie&&(r=A(I)),x(I,ee,k,!0)),Ae||m(H,ie,r,0)),Ke(k,H),k.pendingBranch=null,k.isInFallback=!1;let Z=k.parent,G=!1;for(;Z;){if(Z.pendingBranch){Z.effects.push(...X),G=!0;break}Z=Z.parent}!G&&!Ae&&Kt(X),k.effects=[],E&&t&&t.pendingBranch&&V===t.pendingId&&(t.deps--,t.deps===0&&!D&&t.resolve()),it(U,"onResolve")},fallback(M){if(!k.pendingBranch)return;const{vnode:D,activeBranch:U,parentComponent:I,container:H,namespace:j}=k;it(D,"onFallback");const X=A(U),ee=()=>{k.isInFallback&&(a(null,M,H,X,I,null,j,c,u),Ke(k,M))},ie=M.transition&&M.transition.mode==="out-in";ie&&(U.transition.afterLeave=ee),k.isInFallback=!0,x(U,I,null,!0),ie||ee()},move(M,D,U){k.activeBranch&&m(k.activeBranch,M,D,U),k.container=M},next(){return k.activeBranch&&A(k.activeBranch)},registerDep(M,D,U){const I=!!k.pendingBranch;I&&k.deps++;const H=M.vnode.el;M.asyncDep.catch(j=>{ut(j,M,0)}).then(j=>{if(M.isUnmounted||k.isUnmounted||k.pendingId!==M.suspenseId)return;M.asyncResolved=!0;const{vnode:X}=M;ss(M,j,!1),H&&(X.el=H);const ee=!H&&M.subTree.el;D(M,X,O(H||M.subTree.el),H?null:A(M.subTree),k,i,U),ee&&W(ee),gs(M,X.el),I&&--k.deps===0&&k.resolve()})},unmount(M,D){k.isUnmounted=!0,k.activeBranch&&x(k.activeBranch,s,M,D),k.pendingBranch&&x(k.pendingBranch,s,M,D)}};return k}function Gn(e,t,s,l,n,r,i,c,u){const g=t.suspense=Tl(t,l,s,e.parentNode,document.createElement("div"),null,n,r,i,c,!0),d=u(e,g.pendingBranch=t.ssContent,s,g,r,i);return g.deps===0&&g.resolve(!1,!0),d}function Jn(e){const{shapeFlag:t,children:s}=e,l=t&32;e.ssContent=ws(l?s.default:s),e.ssFallback=l?ws(s.fallback):ce(se)}function ws(e){let t;if(L(e)){const s=qe&&e._c;s&&(e._d=!1,At()),e=e(),s&&(e._d=!0,t=ue,kl())}return R(e)&&(e=Dn(e)),e=xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(s=>s!==e)),e}function Yn(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Kt(e)}function Ke(e,t){e.activeBranch=t;const{vnode:s,parentComponent:l}=e;let n=t.el;for(;!n&&t.component;)t=t.component.subTree,n=t.el;s.el=n,l&&l.subTree===s&&(l.vnode.el=n,gs(l,n))}function Qn(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ge=Symbol.for("v-fgt"),Ht=Symbol.for("v-txt"),se=Symbol.for("v-cmt"),Rt=Symbol.for("v-stc"),nt=[];let ue=null;function At(e=!1){nt.push(ue=e?null:[])}function kl(){nt.pop(),ue=nt[nt.length-1]||null}let qe=1;function Hs(e){qe+=e,e<0&&ue&&(ue.hasOnce=!0)}function El(e){return e.dynamicChildren=qe>0?ue||Se:null,kl(),qe>0&&ue&&ue.push(e),e}function Or(e,t,s,l,n,r){return El(Il(e,t,s,l,n,r,!0))}function es(e,t,s,l,n){return El(ce(e,t,s,l,n,!0))}function De(e){return e?e.__v_isVNode===!0:!1}function Ce(e,t){return e.type===t.type&&e.key===t.key}const Al=({key:e})=>e??null,xt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Ct(e)||L(e)?{i:z,r:e,k:t,f:!!s}:e:null);function Il(e,t=null,s=null,l=0,n=null,r=e===ge?0:1,i=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Al(t),ref:t&&xt(t),scopeId:Qs,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:l,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:z};return c?(ps(u,s),r&128&&e.normalize(u)):s&&(u.shapeFlag|=be(s)?8:16),qe>0&&!i&&ue&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&ue.push(u),u}const ce=Xn;function Xn(e,t=null,s=null,l=0,n=null,r=!1){if((!e||e===fl)&&(e=se),De(e)){const c=Oe(e,t,!0);return s&&ps(c,s),qe>0&&!r&&ue&&(c.shapeFlag&6?ue[ue.indexOf(e)]=c:ue.push(c)),c.patchFlag=-2,c}if(fr(e)&&(e=e.__vccOpts),t){t=Zn(t);let{class:c,style:u}=t;c&&!be(c)&&(t.class=Ds(c)),pe(u)&&(Ls(u)&&!R(u)&&(u=re({},u)),t.style=js(u))}const i=be(e)?1:Et(e)?128:Zs(e)?64:pe(e)?4:L(e)?2:0;return Il(e,t,s,l,n,i,r,!0)}function Zn(e){return e?Ls(e)||gl(e)?re({},e):e:null}function Oe(e,t,s=!1,l=!1){const{props:n,ref:r,patchFlag:i,children:c,transition:u}=e,g=t?er(n||{},t):n,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&Al(g),ref:t&&t.ref?s&&r?R(r)?r.concat(xt(t)):[r,xt(t)]:xt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oe(e.ssContent),ssFallback:e.ssFallback&&Oe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&l&&We(d,u.clone(d)),d}function zn(e=" ",t=0){return ce(Ht,null,e,t)}function Br(e="",t=!1){return t?(At(),es(se,null,e)):ce(se,null,e)}function xe(e){return e==null||typeof e=="boolean"?ce(se):R(e)?ce(ge,null,e.slice()):De(e)?we(e):ce(Ht,null,String(e))}function we(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Oe(e)}function ps(e,t){let s=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(l&65){const n=t.default;n&&(n._c&&(n._d=!1),ps(e,n()),n._c&&(n._d=!0));return}else{s=32;const n=t._;!n&&!gl(t)?t._ctx=z:n===3&&z&&(z.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:z},s=32):(t=String(t),l&64?(s=16,t=[zn(t)]):s=8);e.children=t,e.shapeFlag|=s}function er(...e){const t={};for(let s=0;sle||z;let It,ts;{const e=Bt(),t=(s,l)=>{let n;return(n=e[s])||(n=e[s]=[]),n.push(l),r=>{n.length>1?n.forEach(i=>i(r)):n[0](r)}};It=t("__VUE_INSTANCE_SETTERS__",s=>le=s),ts=t("__VUE_SSR_SETTERS__",s=>ot=s)}const at=e=>{const t=le;return It(e),e.scope.on(),()=>{e.scope.off(),It(t)}},Ns=()=>{le&&le.scope.off(),It(null)};function Ol(e){return e.vnode.shapeFlag&4}let ot=!1;function nr(e,t=!1,s=!1){t&&ts(t);const{props:l,children:n}=e.vnode,r=Ol(e);En(e,l,r,t),Bn(e,n,s);const i=r?rr(e,t):void 0;return t&&ts(!1),i}function rr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yn);const{setup:l}=s;if(l){Ge();const n=e.setupContext=l.length>1?or(e):null,r=at(e),i=ct(l,e,0,[e.props,n]),c=Ss(i);if(Je(),r(),(c||e.sp)&&!Ve(e)&&nl(e),c){if(i.then(Ns,Ns),t)return i.then(u=>{ss(e,u,t)}).catch(u=>{ut(u,e,0)});e.asyncDep=i}else ss(e,i,t)}else Bl(e,t)}function ss(e,t,s){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=Vs(t)),Bl(e,s)}let $s;function Bl(e,t,s){const l=e.type;if(!e.render){if(!t&&$s&&!l.render){const n=l.template||us(e).template;if(n){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:u}=l,g=re(re({isCustomElement:r,delimiters:c},i),u);l.render=$s(n,g)}}e.render=l.render||Ie}{const n=at(e);Ge();try{bn(e)}finally{Je(),n()}}}const ir={get(e,t){return Us(e,"get",""),e[t]}};function or(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ir),slots:e.slots,emit:e.emit,expose:t}}function Nt(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vs(Ll(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in lt)return lt[s](e)},has(t,s){return s in t||s in lt}})):e.proxy}function ls(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function fr(e){return L(e)&&"__vccOpts"in e}const cr=(e,t)=>Hl(e,t,ot);function Pr(e,t,s){const l=arguments.length;return l===2?pe(t)&&!R(t)?De(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(l>3?s=Array.prototype.slice.call(arguments,2):l===3&&De(s)&&(s=[s]),ce(e,t,s))}const ur="3.5.12";export{Or as A,mr as B,Zl as C,xr as D,es as E,ge as F,Cr as G,Br as H,zn as I,se as J,_r as K,on as L,fn as M,gr as N,Oe as O,ol as P,vr as Q,pr as R,Ir as S,Ht as T,kr as U,Fr as V,ln as a,ce as b,Er as c,ms as d,Ee as e,Ar as f,ll as g,Pr as h,bt as i,cr as j,is as k,yr as l,er as m,Ql as n,il as o,De as p,br as q,qt as r,We as s,un as t,sn as u,os as v,_t as w,kn as x,Tr as y,At as z};
diff --git a/js/@vue_runtime-core@3.5.12-Ds-HrVrM.js.gz b/js/@vue_runtime-core@3.5.12-Ds-HrVrM.js.gz
new file mode 100644
index 00000000..c01ce37a
Binary files /dev/null and b/js/@vue_runtime-core@3.5.12-Ds-HrVrM.js.gz differ
diff --git a/js/@vue_runtime-dom@3.5.12-DggYGzzI.js.gz b/js/@vue_runtime-dom@3.5.12-DggYGzzI.js.gz
deleted file mode 100644
index 659f2aca..00000000
Binary files a/js/@vue_runtime-dom@3.5.12-DggYGzzI.js.gz and /dev/null differ
diff --git a/js/@vue_runtime-dom@3.5.12-DggYGzzI.js b/js/@vue_runtime-dom@3.5.12-ewSD1rNh.js
similarity index 99%
rename from js/@vue_runtime-dom@3.5.12-DggYGzzI.js
rename to js/@vue_runtime-dom@3.5.12-ewSD1rNh.js
index 9ca07428..d7bb5f1b 100644
--- a/js/@vue_runtime-dom@3.5.12-DggYGzzI.js
+++ b/js/@vue_runtime-dom@3.5.12-ewSD1rNh.js
@@ -1,4 +1,4 @@
-import{h as _t,B as Dt,a as It,c as yt,u as $t,o as Ot,F as Rt,g as Ht,s as U,r as j,b as Bt,d as xt,e as Ft}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{e as D,a as Gt,b as ft,o as N,c as I,A as zt,s as Wt,H as qt,v as ut,D as dt,w as Kt,I as pt,i as Ut,J as jt}from"./@vue_shared@3.5.12--5_uv9t5.js";import{d as Vt}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";/**
+import{h as _t,B as Dt,a as It,c as yt,u as $t,o as Ot,F as Rt,g as Ht,s as U,r as j,b as Bt,d as xt,e as Ft}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{e as D,a as Gt,b as ft,o as N,c as I,A as zt,s as Wt,H as qt,v as ut,D as dt,w as Kt,I as pt,i as Ut,J as jt}from"./@vue_shared@3.5.12--5_uv9t5.js";import{d as Vt}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";/**
* @vue/runtime-dom v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
diff --git a/js/@vue_runtime-dom@3.5.12-ewSD1rNh.js.gz b/js/@vue_runtime-dom@3.5.12-ewSD1rNh.js.gz
new file mode 100644
index 00000000..075793b0
Binary files /dev/null and b/js/@vue_runtime-dom@3.5.12-ewSD1rNh.js.gz differ
diff --git a/js/@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js b/js/@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js
similarity index 98%
rename from js/@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js
rename to js/@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js
index 8c2f5cb7..85cb7191 100644
--- a/js/@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js
+++ b/js/@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js
@@ -1 +1 @@
-import{t as _,w as Y,a as V,i as $,n as I,b as G,c as U,d as q,e as D,f as X}from"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import{s as Z,k as E}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{n as ee,w as k,f as te,j as L,k as ne,d as re}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";const M=$?window:void 0;function A(e){var n;const r=_(e);return(n=r==null?void 0:r.$el)!=null?n:r}function T(...e){let n,r,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,o,s]=e,n=M):[n,r,o,s]=e,!n)return I;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const l=[],f=()=>{l.forEach(c=>c()),l.length=0},d=(c,i,p,t)=>(c.addEventListener(i,p,t),()=>c.removeEventListener(i,p,t)),h=k(()=>[A(n),_(s)],([c,i])=>{if(f(),!c)return;const p=G(i)?{...i}:i;l.push(...r.flatMap(t=>o.map(a=>d(c,t,a,p))))},{immediate:!0,flush:"post"}),m=()=>{h(),f()};return D(m),m}let B=!1;function we(e,n,r={}){const{window:o=M,ignore:s=[],capture:l=!0,detectIframe:f=!1}=r;if(!o)return I;X&&!B&&(B=!0,Array.from(o.document.body.children).forEach(t=>t.addEventListener("click",I)),o.document.documentElement.addEventListener("click",I));let d=!0;const h=t=>_(s).some(a=>{if(typeof a=="string")return Array.from(o.document.querySelectorAll(a)).some(v=>v===t.target||t.composedPath().includes(v));{const v=A(a);return v&&(t.target===v||t.composedPath().includes(v))}}),m=t=>{const a=A(e);if(!(!a||a===t.target||t.composedPath().includes(a))){if(t.detail===0&&(d=!h(t)),!d){d=!0;return}n(t)}};let c=!1;const i=[T(o,"click",t=>{c||(c=!0,setTimeout(()=>{c=!1},0),m(t))},{passive:!0,capture:l}),T(o,"pointerdown",t=>{const a=A(e);d=!h(t)&&!!(a&&!t.composedPath().includes(a))},{passive:!0}),f&&T(o,"blur",t=>{setTimeout(()=>{var a;const v=A(e);((a=o.document.activeElement)==null?void 0:a.tagName)==="IFRAME"&&!(v!=null&&v.contains(o.document.activeElement))&&n(t)},0)})].filter(Boolean);return()=>i.forEach(t=>t())}function oe(){const e=E(!1),n=re();return n&&ne(()=>{e.value=!0},n),e}function x(e){const n=oe();return L(()=>(n.value,!!e()))}function se(e,n,r={}){const{window:o=M,...s}=r;let l;const f=x(()=>o&&"MutationObserver"in o),d=()=>{l&&(l.disconnect(),l=void 0)},h=L(()=>{const p=_(e),t=(Array.isArray(p)?p:[p]).map(A).filter(q);return new Set(t)}),m=k(()=>h.value,p=>{d(),f.value&&p.size&&(l=new MutationObserver(n),p.forEach(t=>l.observe(t,s)))},{immediate:!0,flush:"post"}),c=()=>l==null?void 0:l.takeRecords(),i=()=>{m(),d()};return D(i),{isSupported:f,stop:i,takeRecords:c}}function K(e,n={}){const{window:r=M}=n,o=x(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let s;const l=E(!1),f=m=>{l.value=m.matches},d=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",f):s.removeListener(f))},h=te(()=>{o.value&&(d(),s=r.matchMedia(_(e)),"addEventListener"in s?s.addEventListener("change",f):s.addListener(f),l.value=s.matches)});return D(()=>{h(),d(),s=void 0}),l}const F=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},H="__vueuse_ssr_handlers__",ie=ae();function ae(){return H in F||(F[H]=F[H]||{}),F[H]}function Q(e,n){return ie[e]||n}function ue(e){return K("(prefers-color-scheme: dark)",e)}function le(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ce={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},J="vueuse-storage";function de(e,n,r,o={}){var s;const{flush:l="pre",deep:f=!0,listenToStorageChanges:d=!0,writeDefaults:h=!0,mergeDefaults:m=!1,shallow:c,window:i=M,eventFilter:p,onError:t=u=>{console.error(u)},initOnMounted:a}=o,v=(c?Z:E)(typeof n=="function"?n():n);if(!r)try{r=Q("getDefaultStorage",()=>{var u;return(u=M)==null?void 0:u.localStorage})()}catch(u){t(u)}if(!r)return v;const g=_(n),O=le(g),y=(s=o.serializer)!=null?s:ce[O],{pause:P,resume:S}=Y(v,()=>j(v.value),{flush:l,deep:f,eventFilter:p});i&&d&&V(()=>{r instanceof Storage?T(i,"storage",N):T(i,J,W),a&&N()}),a||N();function C(u,w){if(i){const b={key:e,oldValue:u,newValue:w,storageArea:r};i.dispatchEvent(r instanceof Storage?new StorageEvent("storage",b):new CustomEvent(J,{detail:b}))}}function j(u){try{const w=r.getItem(e);if(u==null)C(w,null),r.removeItem(e);else{const b=y.write(u);w!==b&&(r.setItem(e,b),C(w,b))}}catch(w){t(w)}}function z(u){const w=u?u.newValue:r.getItem(e);if(w==null)return h&&g!=null&&r.setItem(e,y.write(g)),g;if(!u&&m){const b=y.read(w);return typeof m=="function"?m(b,g):O==="object"&&!Array.isArray(b)?{...g,...b}:b}else return typeof w!="string"?w:y.read(w)}function N(u){if(!(u&&u.storageArea!==r)){if(u&&u.key==null){v.value=g;return}if(!(u&&u.key!==e)){P();try{(u==null?void 0:u.newValue)!==y.write(v.value)&&(v.value=z(u))}catch(w){t(w)}finally{u?ee(S):S()}}}}function W(u){N(u.detail)}return v}const fe="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ge(e={}){const{selector:n="html",attribute:r="class",initialValue:o="auto",window:s=M,storage:l,storageKey:f="vueuse-color-scheme",listenToStorageChanges:d=!0,storageRef:h,emitAuto:m,disableTransition:c=!0}=e,i={auto:"",light:"light",dark:"dark",...e.modes||{}},p=ue({window:s}),t=L(()=>p.value?"dark":"light"),a=h||(f==null?U(o):de(f,o,l,{window:s,listenToStorageChanges:d})),v=L(()=>a.value==="auto"?t.value:a.value),g=Q("updateHTMLAttrs",(S,C,j)=>{const z=typeof S=="string"?s==null?void 0:s.document.querySelector(S):A(S);if(!z)return;const N=new Set,W=new Set;let u=null;if(C==="class"){const b=j.split(/\s/g);Object.values(i).flatMap(R=>(R||"").split(/\s/g)).filter(Boolean).forEach(R=>{b.includes(R)?N.add(R):W.add(R)})}else u={key:C,value:j};if(N.size===0&&W.size===0&&u===null)return;let w;c&&(w=s.document.createElement("style"),w.appendChild(document.createTextNode(fe)),s.document.head.appendChild(w));for(const b of N)z.classList.add(b);for(const b of W)z.classList.remove(b);u&&z.setAttribute(u.key,u.value),c&&(s.getComputedStyle(w).opacity,document.head.removeChild(w))});function O(S){var C;g(n,r,(C=i[S])!=null?C:S)}function y(S){e.onChanged?e.onChanged(S,O):O(S)}k(v,y,{flush:"post",immediate:!0}),V(()=>y(v.value));const P=L({get(){return m?a.value:v.value},set(S){a.value=S}});try{return Object.assign(P,{store:a,system:t,state:v})}catch{return P}}function me(e,n,r={}){const{window:o=M,...s}=r;let l;const f=x(()=>o&&"ResizeObserver"in o),d=()=>{l&&(l.disconnect(),l=void 0)},h=L(()=>{const i=_(e);return Array.isArray(i)?i.map(p=>A(p)):[A(i)]}),m=k(h,i=>{if(d(),f.value&&o){l=new ResizeObserver(n);for(const p of i)p&&l.observe(p,s)}},{immediate:!0,flush:"post"}),c=()=>{d(),m()};return D(c),{isSupported:f,stop:c}}function ye(e,n={}){const{reset:r=!0,windowResize:o=!0,windowScroll:s=!0,immediate:l=!0,updateTiming:f="sync"}=n,d=E(0),h=E(0),m=E(0),c=E(0),i=E(0),p=E(0),t=E(0),a=E(0);function v(){const O=A(e);if(!O){r&&(d.value=0,h.value=0,m.value=0,c.value=0,i.value=0,p.value=0,t.value=0,a.value=0);return}const y=O.getBoundingClientRect();d.value=y.height,h.value=y.bottom,m.value=y.left,c.value=y.right,i.value=y.top,p.value=y.width,t.value=y.x,a.value=y.y}function g(){f==="sync"?v():f==="next-frame"&&requestAnimationFrame(()=>v())}return me(e,g),k(()=>A(e),O=>!O&&g()),se(e,g,{attributeFilter:["style","class"]}),s&&T("scroll",g,{capture:!0,passive:!0}),o&&T("resize",g,{passive:!0}),V(()=>{l&&g()}),{height:d,bottom:h,left:m,right:c,top:i,width:p,x:t,y:a,update:g}}function be(e,n,r={}){const{root:o,rootMargin:s="0px",threshold:l=0,window:f=M,immediate:d=!0}=r,h=x(()=>f&&"IntersectionObserver"in f),m=L(()=>{const a=_(e);return(Array.isArray(a)?a:[a]).map(A).filter(q)});let c=I;const i=E(d),p=h.value?k(()=>[m.value,A(o),i.value],([a,v])=>{if(c(),!i.value||!a.length)return;const g=new IntersectionObserver(n,{root:A(v),rootMargin:s,threshold:l});a.forEach(O=>O&&g.observe(O)),c=()=>{g.disconnect(),c=I}},{immediate:d,flush:"post"}):I,t=()=>{c(),p(),i.value=!1};return D(t),{isSupported:h,isActive:i,pause(){c(),i.value=!1},resume(){i.value=!0},stop:t}}function Se(e={}){const{window:n=M,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:l=!0,type:f="inner"}=e,d=E(r),h=E(o),m=()=>{n&&(f==="outer"?(d.value=n.outerWidth,h.value=n.outerHeight):l?(d.value=n.innerWidth,h.value=n.innerHeight):(d.value=n.document.documentElement.clientWidth,h.value=n.document.documentElement.clientHeight))};if(m(),V(m),T("resize",m,{passive:!0}),s){const c=K("(orientation: portrait)");k(c,()=>m())}return{width:d,height:h}}export{be as a,me as b,ge as c,ye as d,Se as e,de as f,we as o,T as u};
+import{t as _,w as Y,a as V,i as $,n as I,b as G,c as U,d as q,e as D,f as X}from"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import{s as Z,k as E}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{n as ee,w as k,f as te,j as L,k as ne,d as re}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";const M=$?window:void 0;function A(e){var n;const r=_(e);return(n=r==null?void 0:r.$el)!=null?n:r}function T(...e){let n,r,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,o,s]=e,n=M):[n,r,o,s]=e,!n)return I;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const l=[],f=()=>{l.forEach(c=>c()),l.length=0},d=(c,i,p,t)=>(c.addEventListener(i,p,t),()=>c.removeEventListener(i,p,t)),h=k(()=>[A(n),_(s)],([c,i])=>{if(f(),!c)return;const p=G(i)?{...i}:i;l.push(...r.flatMap(t=>o.map(a=>d(c,t,a,p))))},{immediate:!0,flush:"post"}),m=()=>{h(),f()};return D(m),m}let B=!1;function we(e,n,r={}){const{window:o=M,ignore:s=[],capture:l=!0,detectIframe:f=!1}=r;if(!o)return I;X&&!B&&(B=!0,Array.from(o.document.body.children).forEach(t=>t.addEventListener("click",I)),o.document.documentElement.addEventListener("click",I));let d=!0;const h=t=>_(s).some(a=>{if(typeof a=="string")return Array.from(o.document.querySelectorAll(a)).some(v=>v===t.target||t.composedPath().includes(v));{const v=A(a);return v&&(t.target===v||t.composedPath().includes(v))}}),m=t=>{const a=A(e);if(!(!a||a===t.target||t.composedPath().includes(a))){if(t.detail===0&&(d=!h(t)),!d){d=!0;return}n(t)}};let c=!1;const i=[T(o,"click",t=>{c||(c=!0,setTimeout(()=>{c=!1},0),m(t))},{passive:!0,capture:l}),T(o,"pointerdown",t=>{const a=A(e);d=!h(t)&&!!(a&&!t.composedPath().includes(a))},{passive:!0}),f&&T(o,"blur",t=>{setTimeout(()=>{var a;const v=A(e);((a=o.document.activeElement)==null?void 0:a.tagName)==="IFRAME"&&!(v!=null&&v.contains(o.document.activeElement))&&n(t)},0)})].filter(Boolean);return()=>i.forEach(t=>t())}function oe(){const e=E(!1),n=re();return n&&ne(()=>{e.value=!0},n),e}function x(e){const n=oe();return L(()=>(n.value,!!e()))}function se(e,n,r={}){const{window:o=M,...s}=r;let l;const f=x(()=>o&&"MutationObserver"in o),d=()=>{l&&(l.disconnect(),l=void 0)},h=L(()=>{const p=_(e),t=(Array.isArray(p)?p:[p]).map(A).filter(q);return new Set(t)}),m=k(()=>h.value,p=>{d(),f.value&&p.size&&(l=new MutationObserver(n),p.forEach(t=>l.observe(t,s)))},{immediate:!0,flush:"post"}),c=()=>l==null?void 0:l.takeRecords(),i=()=>{m(),d()};return D(i),{isSupported:f,stop:i,takeRecords:c}}function K(e,n={}){const{window:r=M}=n,o=x(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let s;const l=E(!1),f=m=>{l.value=m.matches},d=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",f):s.removeListener(f))},h=te(()=>{o.value&&(d(),s=r.matchMedia(_(e)),"addEventListener"in s?s.addEventListener("change",f):s.addListener(f),l.value=s.matches)});return D(()=>{h(),d(),s=void 0}),l}const F=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},H="__vueuse_ssr_handlers__",ie=ae();function ae(){return H in F||(F[H]=F[H]||{}),F[H]}function Q(e,n){return ie[e]||n}function ue(e){return K("(prefers-color-scheme: dark)",e)}function le(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ce={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},J="vueuse-storage";function de(e,n,r,o={}){var s;const{flush:l="pre",deep:f=!0,listenToStorageChanges:d=!0,writeDefaults:h=!0,mergeDefaults:m=!1,shallow:c,window:i=M,eventFilter:p,onError:t=u=>{console.error(u)},initOnMounted:a}=o,v=(c?Z:E)(typeof n=="function"?n():n);if(!r)try{r=Q("getDefaultStorage",()=>{var u;return(u=M)==null?void 0:u.localStorage})()}catch(u){t(u)}if(!r)return v;const g=_(n),O=le(g),y=(s=o.serializer)!=null?s:ce[O],{pause:P,resume:S}=Y(v,()=>j(v.value),{flush:l,deep:f,eventFilter:p});i&&d&&V(()=>{r instanceof Storage?T(i,"storage",N):T(i,J,W),a&&N()}),a||N();function C(u,w){if(i){const b={key:e,oldValue:u,newValue:w,storageArea:r};i.dispatchEvent(r instanceof Storage?new StorageEvent("storage",b):new CustomEvent(J,{detail:b}))}}function j(u){try{const w=r.getItem(e);if(u==null)C(w,null),r.removeItem(e);else{const b=y.write(u);w!==b&&(r.setItem(e,b),C(w,b))}}catch(w){t(w)}}function z(u){const w=u?u.newValue:r.getItem(e);if(w==null)return h&&g!=null&&r.setItem(e,y.write(g)),g;if(!u&&m){const b=y.read(w);return typeof m=="function"?m(b,g):O==="object"&&!Array.isArray(b)?{...g,...b}:b}else return typeof w!="string"?w:y.read(w)}function N(u){if(!(u&&u.storageArea!==r)){if(u&&u.key==null){v.value=g;return}if(!(u&&u.key!==e)){P();try{(u==null?void 0:u.newValue)!==y.write(v.value)&&(v.value=z(u))}catch(w){t(w)}finally{u?ee(S):S()}}}}function W(u){N(u.detail)}return v}const fe="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ge(e={}){const{selector:n="html",attribute:r="class",initialValue:o="auto",window:s=M,storage:l,storageKey:f="vueuse-color-scheme",listenToStorageChanges:d=!0,storageRef:h,emitAuto:m,disableTransition:c=!0}=e,i={auto:"",light:"light",dark:"dark",...e.modes||{}},p=ue({window:s}),t=L(()=>p.value?"dark":"light"),a=h||(f==null?U(o):de(f,o,l,{window:s,listenToStorageChanges:d})),v=L(()=>a.value==="auto"?t.value:a.value),g=Q("updateHTMLAttrs",(S,C,j)=>{const z=typeof S=="string"?s==null?void 0:s.document.querySelector(S):A(S);if(!z)return;const N=new Set,W=new Set;let u=null;if(C==="class"){const b=j.split(/\s/g);Object.values(i).flatMap(R=>(R||"").split(/\s/g)).filter(Boolean).forEach(R=>{b.includes(R)?N.add(R):W.add(R)})}else u={key:C,value:j};if(N.size===0&&W.size===0&&u===null)return;let w;c&&(w=s.document.createElement("style"),w.appendChild(document.createTextNode(fe)),s.document.head.appendChild(w));for(const b of N)z.classList.add(b);for(const b of W)z.classList.remove(b);u&&z.setAttribute(u.key,u.value),c&&(s.getComputedStyle(w).opacity,document.head.removeChild(w))});function O(S){var C;g(n,r,(C=i[S])!=null?C:S)}function y(S){e.onChanged?e.onChanged(S,O):O(S)}k(v,y,{flush:"post",immediate:!0}),V(()=>y(v.value));const P=L({get(){return m?a.value:v.value},set(S){a.value=S}});try{return Object.assign(P,{store:a,system:t,state:v})}catch{return P}}function me(e,n,r={}){const{window:o=M,...s}=r;let l;const f=x(()=>o&&"ResizeObserver"in o),d=()=>{l&&(l.disconnect(),l=void 0)},h=L(()=>{const i=_(e);return Array.isArray(i)?i.map(p=>A(p)):[A(i)]}),m=k(h,i=>{if(d(),f.value&&o){l=new ResizeObserver(n);for(const p of i)p&&l.observe(p,s)}},{immediate:!0,flush:"post"}),c=()=>{d(),m()};return D(c),{isSupported:f,stop:c}}function ye(e,n={}){const{reset:r=!0,windowResize:o=!0,windowScroll:s=!0,immediate:l=!0,updateTiming:f="sync"}=n,d=E(0),h=E(0),m=E(0),c=E(0),i=E(0),p=E(0),t=E(0),a=E(0);function v(){const O=A(e);if(!O){r&&(d.value=0,h.value=0,m.value=0,c.value=0,i.value=0,p.value=0,t.value=0,a.value=0);return}const y=O.getBoundingClientRect();d.value=y.height,h.value=y.bottom,m.value=y.left,c.value=y.right,i.value=y.top,p.value=y.width,t.value=y.x,a.value=y.y}function g(){f==="sync"?v():f==="next-frame"&&requestAnimationFrame(()=>v())}return me(e,g),k(()=>A(e),O=>!O&&g()),se(e,g,{attributeFilter:["style","class"]}),s&&T("scroll",g,{capture:!0,passive:!0}),o&&T("resize",g,{passive:!0}),V(()=>{l&&g()}),{height:d,bottom:h,left:m,right:c,top:i,width:p,x:t,y:a,update:g}}function be(e,n,r={}){const{root:o,rootMargin:s="0px",threshold:l=0,window:f=M,immediate:d=!0}=r,h=x(()=>f&&"IntersectionObserver"in f),m=L(()=>{const a=_(e);return(Array.isArray(a)?a:[a]).map(A).filter(q)});let c=I;const i=E(d),p=h.value?k(()=>[m.value,A(o),i.value],([a,v])=>{if(c(),!i.value||!a.length)return;const g=new IntersectionObserver(n,{root:A(v),rootMargin:s,threshold:l});a.forEach(O=>O&&g.observe(O)),c=()=>{g.disconnect(),c=I}},{immediate:d,flush:"post"}):I,t=()=>{c(),p(),i.value=!1};return D(t),{isSupported:h,isActive:i,pause(){c(),i.value=!1},resume(){i.value=!0},stop:t}}function Se(e={}){const{window:n=M,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:l=!0,type:f="inner"}=e,d=E(r),h=E(o),m=()=>{n&&(f==="outer"?(d.value=n.outerWidth,h.value=n.outerHeight):l?(d.value=n.innerWidth,h.value=n.innerHeight):(d.value=n.document.documentElement.clientWidth,h.value=n.document.documentElement.clientHeight))};if(m(),V(m),T("resize",m,{passive:!0}),s){const c=K("(orientation: portrait)");k(c,()=>m())}return{width:d,height:h}}export{be as a,me as b,ge as c,ye as d,Se as e,de as f,we as o,T as u};
diff --git a/js/@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js.gz b/js/@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js.gz
new file mode 100644
index 00000000..3e653bd5
Binary files /dev/null and b/js/@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js.gz differ
diff --git a/js/@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js.gz b/js/@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js.gz
deleted file mode 100644
index 1da17025..00000000
Binary files a/js/@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js.gz and /dev/null differ
diff --git a/js/@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js b/js/@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js
similarity index 97%
rename from js/@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js
rename to js/@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js
index f455bd4a..0d3bca1b 100644
--- a/js/@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js
+++ b/js/@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js
@@ -1 +1 @@
-import{u as F,k as h,l as g,n as S,o as T,q as j,v as A,a as P}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{k,n as D,w as x,d as C}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";function $(t){return j()?(A(t),!0):!1}function R(t){return typeof t=="function"?t():F(t)}const I=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const z=t=>t!=null,M=Object.prototype.toString,B=t=>M.call(t)==="[object Object]",d=()=>{},H=W();function W(){var t,e;return I&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function G(t,e){function n(...o){return new Promise((i,r)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(i).catch(r)})}return n}const m=t=>t();function L(...t){let e=0,n,o=!0,i=d,r,s,u,a,l;!P(t[0])&&typeof t[0]=="object"?{delay:s,trailing:u=!0,leading:a=!0,rejectOnCancel:l=!1}=t[0]:[s,u=!0,a=!0,l=!1]=t;const p=()=>{n&&(clearTimeout(n),n=void 0,i(),i=d)};return b=>{const c=R(s),w=Date.now()-e,f=()=>r=b();return p(),c<=0?(e=Date.now(),f()):(w>c&&(a||!o)?(e=Date.now(),f()):u&&(r=new Promise((v,O)=>{i=l?O:v,n=setTimeout(()=>{e=Date.now(),o=!0,v(f()),p()},Math.max(0,c-w))})),!a&&!n&&(n=setTimeout(()=>o=!0,c)),o=!1,r)}}function V(t=m){const e=h(!0);function n(){e.value=!1}function o(){e.value=!0}const i=(...r)=>{e.value&&t(...r)};return{isActive:g(e),pause:n,resume:o,eventFilter:i}}function _(t){return C()}function J(...t){if(t.length!==1)return S(...t);const e=t[0];return typeof e=="function"?g(T(()=>({get:e,set:d}))):h(e)}function y(t,e,n={}){const{eventFilter:o=m,...i}=n;return x(t,G(o,e),i)}function K(t,e,n={}){const{eventFilter:o,...i}=n,{eventFilter:r,pause:s,resume:u,isActive:a}=V(o);return{stop:y(t,e,{...i,eventFilter:r}),pause:s,resume:u,isActive:a}}function Q(t,e=!0,n){_()?k(t,n):e?t():D(t)}function U(t,e,n={}){const{throttle:o=0,trailing:i=!0,leading:r=!0,...s}=n;return y(t,e,{...s,eventFilter:L(o,i,r)})}export{Q as a,B as b,J as c,z as d,$ as e,H as f,U as g,I as i,d as n,R as t,K as w};
+import{u as F,k as h,l as g,n as S,o as T,q as j,v as A,a as P}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{k,n as D,w as x,d as C}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";function $(t){return j()?(A(t),!0):!1}function R(t){return typeof t=="function"?t():F(t)}const I=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const z=t=>t!=null,M=Object.prototype.toString,B=t=>M.call(t)==="[object Object]",d=()=>{},H=W();function W(){var t,e;return I&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function G(t,e){function n(...o){return new Promise((i,r)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(i).catch(r)})}return n}const m=t=>t();function L(...t){let e=0,n,o=!0,i=d,r,s,u,a,l;!P(t[0])&&typeof t[0]=="object"?{delay:s,trailing:u=!0,leading:a=!0,rejectOnCancel:l=!1}=t[0]:[s,u=!0,a=!0,l=!1]=t;const p=()=>{n&&(clearTimeout(n),n=void 0,i(),i=d)};return b=>{const c=R(s),w=Date.now()-e,f=()=>r=b();return p(),c<=0?(e=Date.now(),f()):(w>c&&(a||!o)?(e=Date.now(),f()):u&&(r=new Promise((v,O)=>{i=l?O:v,n=setTimeout(()=>{e=Date.now(),o=!0,v(f()),p()},Math.max(0,c-w))})),!a&&!n&&(n=setTimeout(()=>o=!0,c)),o=!1,r)}}function V(t=m){const e=h(!0);function n(){e.value=!1}function o(){e.value=!0}const i=(...r)=>{e.value&&t(...r)};return{isActive:g(e),pause:n,resume:o,eventFilter:i}}function _(t){return C()}function J(...t){if(t.length!==1)return S(...t);const e=t[0];return typeof e=="function"?g(T(()=>({get:e,set:d}))):h(e)}function y(t,e,n={}){const{eventFilter:o=m,...i}=n;return x(t,G(o,e),i)}function K(t,e,n={}){const{eventFilter:o,...i}=n,{eventFilter:r,pause:s,resume:u,isActive:a}=V(o);return{stop:y(t,e,{...i,eventFilter:r}),pause:s,resume:u,isActive:a}}function Q(t,e=!0,n){_()?k(t,n):e?t():D(t)}function U(t,e,n={}){const{throttle:o=0,trailing:i=!0,leading:r=!0,...s}=n;return y(t,e,{...s,eventFilter:L(o,i,r)})}export{Q as a,B as b,J as c,z as d,$ as e,H as f,U as g,I as i,d as n,R as t,K as w};
diff --git a/js/@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js.gz b/js/@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js.gz
new file mode 100644
index 00000000..db576e16
Binary files /dev/null and b/js/@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js.gz differ
diff --git a/js/@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js.gz b/js/@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js.gz
deleted file mode 100644
index c7d44415..00000000
Binary files a/js/@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js.gz and /dev/null differ
diff --git a/js/BarcodeDemo-Cvjhhew2.js b/js/BarcodeDemo-Cj7gPXWn.js
similarity index 77%
rename from js/BarcodeDemo-Cvjhhew2.js
rename to js/BarcodeDemo-Cj7gPXWn.js
index 82bbef47..21b2578e 100644
--- a/js/BarcodeDemo-Cvjhhew2.js
+++ b/js/BarcodeDemo-Cj7gPXWn.js
@@ -1 +1 @@
-import{z as i}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{b as e,N as a,c as l,ae as p,J as s,R as n,a as c}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as F,b as t,I as u}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as m}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const mt=F({name:"BarcodeDemo",setup(){const r={width:4},o=m(!1),d=m("RayTemplate");return{baseOptions:r,loading:o,text:d}},render(){const{baseOptions:r}=this;return t(c,{cols:2,xGap:12,yGap:12},{default:()=>[t(e,{span:2},{default:()=>[t(a,{title:"详细配置项说明"},{default:()=>[u("点击查看详细配置项:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/Options"},[u("js-barcode options")]),u("。")]})]}),t(e,{span:1},{default:()=>[t(a,{title:"基础条形码"},{default:()=>[t(i,{text:"RayTemplate",options:{...r}},null)]})]}),t(e,{span:1},{default:()=>[t(a,{title:"自定义颜色条形码"},{default:()=>[t(i,{text:"RayTemplate",options:{...r,lineColor:"red"}},null)]})]}),t(e,{span:1},{default:()=>[t(a,{title:"pharmacode 模式"},{default:()=>[t(l,{vertical:!0},{default:()=>[t(p,{type:"warning",title:"注意"},{default:()=>[u("该模式下,条形码只能渲染有效数值,否则将会渲染失败。可以查看官网说明:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/pharmacode"},[u("pharmacode")]),u("。")]}),t(i,{text:"1234",format:"pharmacode",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),t(e,{span:1},{default:()=>[t(a,{title:"codabar 模式"},{default:()=>[t(l,{vertical:!0},{default:()=>[t(p,{type:"warning",title:"注意"},{default:()=>[u("该模式下,需要注意 text 中的特殊字符,可以查看官网说明:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/codabar"},[u("codabar")]),u("。")]}),t(i,{text:"1234",format:"codabar",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),t(e,{span:1},{default:()=>[t(a,{title:"有状态的条形码"},{default:()=>[t(l,{vertical:!0,size:"large",justify:"flex-start",inline:!0},{default:()=>[t(s,{value:this.loading,"onUpdate:value":o=>this.loading=o,style:"width: fit-content"},{checked:()=>"loading...",unchecked:()=>"success!"}),t(i,{text:"RayTemplate",loading:this.loading},null)]})]})]}),t(e,{span:1},{default:()=>[t(a,{title:"watchText 主动监听 text 变化"},{default:()=>[t(l,{vertical:!0},{default:()=>[t(n,{value:this.text,"onUpdate:value":o=>this.text=o},null),t(i,{text:this.text,watchText:!0},null)]})]})]})]})}});export{mt as default};
+import{z as i}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{b as e,N as a,c as l,ae as p,K as s,T as n,a as c}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as F,b as t,I as u}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as m}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const mt=F({name:"BarcodeDemo",setup(){const r={width:4},o=m(!1),d=m("RayTemplate");return{baseOptions:r,loading:o,text:d}},render(){const{baseOptions:r}=this;return t(c,{cols:2,xGap:12,yGap:12},{default:()=>[t(e,{span:2},{default:()=>[t(a,{title:"详细配置项说明"},{default:()=>[u("点击查看详细配置项:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/Options"},[u("js-barcode options")]),u("。")]})]}),t(e,{span:1},{default:()=>[t(a,{title:"基础条形码"},{default:()=>[t(i,{text:"RayTemplate",options:{...r}},null)]})]}),t(e,{span:1},{default:()=>[t(a,{title:"自定义颜色条形码"},{default:()=>[t(i,{text:"RayTemplate",options:{...r,lineColor:"red"}},null)]})]}),t(e,{span:1},{default:()=>[t(a,{title:"pharmacode 模式"},{default:()=>[t(l,{vertical:!0},{default:()=>[t(p,{type:"warning",title:"注意"},{default:()=>[u("该模式下,条形码只能渲染有效数值,否则将会渲染失败。可以查看官网说明:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/pharmacode"},[u("pharmacode")]),u("。")]}),t(i,{text:"1234",format:"pharmacode",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),t(e,{span:1},{default:()=>[t(a,{title:"codabar 模式"},{default:()=>[t(l,{vertical:!0},{default:()=>[t(p,{type:"warning",title:"注意"},{default:()=>[u("该模式下,需要注意 text 中的特殊字符,可以查看官网说明:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/codabar"},[u("codabar")]),u("。")]}),t(i,{text:"1234",format:"codabar",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),t(e,{span:1},{default:()=>[t(a,{title:"有状态的条形码"},{default:()=>[t(l,{vertical:!0,size:"large",justify:"flex-start",inline:!0},{default:()=>[t(s,{value:this.loading,"onUpdate:value":o=>this.loading=o,style:"width: fit-content"},{checked:()=>"loading...",unchecked:()=>"success!"}),t(i,{text:"RayTemplate",loading:this.loading},null)]})]})]}),t(e,{span:1},{default:()=>[t(a,{title:"watchText 主动监听 text 变化"},{default:()=>[t(l,{vertical:!0},{default:()=>[t(n,{value:this.text,"onUpdate:value":o=>this.text=o},null),t(i,{text:this.text,watchText:!0},null)]})]})]})]})}});export{mt as default};
diff --git a/js/BarcodeDemo-Cj7gPXWn.js.gz b/js/BarcodeDemo-Cj7gPXWn.js.gz
new file mode 100644
index 00000000..ae7d541a
Binary files /dev/null and b/js/BarcodeDemo-Cj7gPXWn.js.gz differ
diff --git a/js/BarcodeDemo-Cvjhhew2.js.gz b/js/BarcodeDemo-Cvjhhew2.js.gz
deleted file mode 100644
index bf76dc2a..00000000
Binary files a/js/BarcodeDemo-Cvjhhew2.js.gz and /dev/null differ
diff --git a/js/TablePro-BcQb-4h1.js b/js/TablePro-BcQb-4h1.js
new file mode 100644
index 00000000..69dfe9cf
--- /dev/null
+++ b/js/TablePro-BcQb-4h1.js
@@ -0,0 +1 @@
+import{P as W,Q as X,J as Y,t as x,T as Z,U as $}from"./hooks-DonDO7vb.js";import{j as ee}from"./utils-6rpFoFAR.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./print-js@1.6.0-BdoEj60G.js";import{a as te}from"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./instance-D7APY90Q.js";import{M as G}from"./mockjs@1.1.0-CxlURkif.js";import{d as U}from"./dayjs@1.11.10-C8LoRVP6.js";import{ah as T,T as O,H as ae,ai as ue,c as f,P as m,N as L,L as I,aj as z,am as b,v as oe}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as le,b as e,F as re,I as r,p as ie}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as c}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./axios@1.7.5-C8DqakIB.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function se(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!ie(a)}const rt=le({name:"TableProDemo",setup(){const{format:a}=$(),[h,{runTableRequest:v,getCurrentTableRequestParams:E,print:D,downloadCsv:n}]=W(),i=c([]),g=[{type:"selection"},{title:"Name",key:"name"},{title:"Sign Status",key:"statusText"},{title:"Sign Time",key:"signTimeStart",render:u=>a(u.signTimeStart)+" ~ "+a(u.signTimeEnd)},{title:"Age",key:"age"},{title:"Address",key:"address"},{title:"Tags",key:"tags",render:u=>u.tags.map(o=>e(oe,{type:"info",bordered:!1,style:"margin-right: 6px"},se(o)?o:{default:()=>[o]}))},{title:"Remark",key:"remark"}],y=c(0),F=c({}),k=c((()=>{const d=[],o=U().valueOf();for(let l=0;l<30;l++)d.push({key:ee(),name:G.Random.cname(),age:l+20,address:G.Random.city(),tags:["nice","developer"],remark:"我是一条很长很长的备注",status:l%2===0?"success":"error",statusText:l%2===0?"在线":"离线",signTimeStart:U(o).add(l*2,"year").valueOf(),signTimeEnd:U(o).add(l+5,"day").valueOf()});return d})()),P=c({pagination:!0,manual:!1}),[j,{checkedRowKeysBind:q,getKeys:w,getRows:A,clearKey:R,clearAll:t,selectKey:V}]=X(i,g,{rowKey:"key",onChange:(u,d,o)=>{}}),M=c(!0),C=u=>u==null,H=u=>new Promise(d=>{const{page:o=1,pageSize:l=10,name:K,status:N,signTimeStart:B,signTimeEnd:S}=u||{};let s=k.value;const _=k.value.length;K&&(s=s.filter(p=>p.name.includes(K))),N&&(s=s.filter(p=>p.status===N)),B&&S&&(s=s.filter(p=>p.signTimeStart>=B&&p.signTimeEnd<=S)),s=s.slice((o-1)*l,o*l),setTimeout(()=>{d({code:0,data:s,total:C(N)&&C(K)&&(C(B)||C(S))?_:s.length,message:"success",page:o,pageSize:l})},1e3)}),{run:J,loading:Q}=te(H,{onSuccess:u=>{const{data:d,total:o}=u;i.value=d,y.value=o}});return{tableDataRef:i,baseColumns:g,itemCountRef:y,loadingGetPersonList:Q,runGetPersonList:J,conditionRef:F,radioRef:P,runTableRequest:v,tableProRegister:h,print:D,downloadCsv:n,checkedRowKeysBind:q,checkedRowKeys:j,getKeys:w,getRows:A,clearKey:R,clearAll:t,collapseRef:M,selectKey:V}},render(){const{tableDataRef:a,baseColumns:h,itemCountRef:v,loadingGetPersonList:E,runGetPersonList:D,conditionRef:n,radioRef:i,runTableRequest:g,tableProRegister:y,print:F,downloadCsv:k,checkedRowKeysBind:P,getKeys:j,getRows:q,clearKey:w,clearAll:A,selectKey:R}=this;return e(f,{vertical:!0},{default:()=>[e(Y,{open:this.collapseRef,bordered:!0},{default:()=>e(re,null,[e(T,{label:"用户名"},{default:()=>[e(O,{value:n.name,"onUpdate:value":t=>n.name=t,clearable:!0},null)]}),e(T,{label:"状态"},{default:()=>[e(ae,{value:n.status,"onUpdate:value":t=>n.status=t,clearable:!0,options:[{label:"成功",value:"success"},{label:"失败",value:"error"}]},null)]}),e(T,{label:"登陆时间"},{default:()=>[e(ue,{type:"datetimerange",value:n.RangeTime,"onUpdate:value":t=>n.RangeTime=t,clearable:!0},null)]}),e(T,{label:"演示折叠的条件框"},{default:()=>[e(O,{readonly:!0,placeholder:"我只是为了占位"},null)]})]),action:()=>e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>g(),loading:E},{default:()=>[r("查询")]})]}),collapse:t=>t?e(m,{onClick:()=>this.collapseRef=!0,secondary:!0},{default:()=>"受控展开",icon:()=>e(x,{name:"dark",size:"18"},null)}):e(m,{onClick:()=>this.collapseRef=!1,secondary:!0},{default:()=>"受控收起",icon:()=>e(x,{name:"light",size:"18"},null)})}),e(L,{title:"常用高级拓展功能"},{default:()=>[e(f,null,{default:()=>[e(I,{label:"分页"},{default:()=>[e(z,{value:i.pagination,"onUpdate:value":t=>i.pagination=t},{default:()=>[e(b,{value:!0},{default:()=>[r("显示分页")]}),e(b,{value:!1},{default:()=>[r("隐藏分页")]})]})]}),e(I,{label:"自动更新"},{default:()=>[e(z,{value:i.manual,"onUpdate:value":t=>i.manual=t},{default:()=>[e(b,{value:!1},{default:()=>[r("自动更新")]}),e(b,{value:!0},{default:()=>[r("取消自动")]})]})]})]})]}),e(L,{title:"useTablePro 部分方法"},{default:()=>[e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>F()},{default:()=>[r("打印")]}),e(m,{type:"primary",onClick:()=>k()},{default:()=>[r("下载 csv")]})]})]}),e(L,{title:"useCheckedRowKeys 部分方法"},{default:()=>[e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>{const t=a[1].key;R(t)}},{default:()=>[r("选中第二行")]}),e(m,{type:"primary",onClick:()=>{const t=a[1].key;w(t)}},{default:()=>[r("取消选中第二行")]}),e(m,{type:"primary",onClick:()=>{a==null||a.forEach(t=>R(t.key))}},{default:()=>[r("选中当前页面所有行")]}),e(m,{type:"primary",onClick:()=>{A()}},{default:()=>[r("取消所有已选中行")]})]})]}),e(Z,{onRegister:y,data:a,columns:h,loading:E,paginationCount:v,request:D,requestConfig:{params:n,formatRangeTime:[{key:"RangeTime",target:["signTimeStart","signTimeEnd"]}]},showPagination:i.pagination,manual:i.manual,rowKey:t=>t.key,checkedRowKeys:this.checkedRowKeys,"onUpdate:checkedRowKeys":t=>this.checkedRowKeys=t,onUpdateCheckedRowKeys:P},null)]})}});export{rt as default};
diff --git a/js/TablePro-BcQb-4h1.js.gz b/js/TablePro-BcQb-4h1.js.gz
new file mode 100644
index 00000000..da1e06b9
Binary files /dev/null and b/js/TablePro-BcQb-4h1.js.gz differ
diff --git a/js/TablePro-Cas_Hs8U.js b/js/TablePro-Cas_Hs8U.js
deleted file mode 100644
index 93548b45..00000000
--- a/js/TablePro-Cas_Hs8U.js
+++ /dev/null
@@ -1 +0,0 @@
-import{p as Y,R as Z}from"./props-CsmlPjfV.js";import{O as ee,I as te,J as ae,P as oe,Q as ue,t as M,T as ne}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{f as V,j as se}from"./utils-CsGRTM5U.js";import{d as z}from"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as W,j as re,f as ie,k as le,b as e,t as ce,v as X,F as me,I as m}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{a as de}from"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./instance-D_ZLBlAV.js";import{M as _}from"./mockjs@1.1.0-CxlURkif.js";import{ah as U,R as J,G as pe,ai as fe,c as B,O as p,N as $,K as Q,aj as H,am as I,v as ge}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{k as E}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./axios@1.7.5-C8DqakIB.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function ye(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!X(o)}const Re=W({name:"RTablePro",props:Y,setup(o){const[y,{clearFilters:R,clearSorter:d,downloadCsv:k,filters:i,page:s,scrollTo:C,sort:b,print:D,filter:T}]=ee(),[w,{getPage:F,getPageSize:S,setCallback:K,setItemCount:A,resetPagination:v,getItemCount:u}]=te(void 0,{prefix:t=>`共 ${t.itemCount} 条`}),f=re(()=>o.request),j=()=>({getItemCount:u,getPage:F,getPageSize:S}),h=()=>{const{onTablePaginationUpdate:t}=o;t&&V(t,j())},N=t=>{const r=Object.assign({},o.requestConfig,t),{params:a,formatRangeTime:n}=r;return n!=null&&n.length&&a&&n.forEach(q=>{const{key:P,target:c}=q,l=a[P];if(l&&(c!=null&&c.length)){const[L,g]=l;a[c[0]]=L,a[c[1]]=g}else a[P]=null,a[c[0]]=null,a[c[1]]=null}),Object.assign({},a,{page:F(),pageSize:S()})},x=t=>{var a;v();const r=N(t);(a=f.value)==null||a.call(f,r)},G=t=>{var a;const r=N(t);(a=f.value)==null||a.call(f,r)};return ie(()=>{A(o.paginationCount),K(()=>{const{manual:t}=o;t||G(),h()})}),le(()=>{const{onRegister:t}=o;t&&V(t,{getTablePagination:j,runTableRequest:x,clearFilters:R,clearSorter:d,downloadCsv:k,filters:i,page:s,scrollTo:C,sort:b,print:D,filter:T,getCurrentTableRequestParams:N})}),{register:y,paginationRef:w}},render(){const{register:o,$props:y,paginationRef:R,$slots:d}=this,{onRegister:k,showPagination:i,...s}=y;return e(ae,ce(s,{onRegister:o,pagination:i?R:void 0}),ye(d)?d:{default:()=>[d]})}});function ke(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!X(o)}const Rt=W({name:"TableProDemo",setup(){const{format:o}=ne(),[y,{runTableRequest:R,getCurrentTableRequestParams:d,print:k,downloadCsv:i}]=oe(),s=E([]),C=[{type:"selection"},{title:"Name",key:"name"},{title:"Sign Status",key:"statusText"},{title:"Sign Time",key:"signTimeStart",render:t=>o(t.signTimeStart)+" ~ "+o(t.signTimeEnd)},{title:"Age",key:"age"},{title:"Address",key:"address"},{title:"Tags",key:"tags",render:t=>t.tags.map(a=>e(ge,{type:"info",bordered:!1,style:"margin-right: 6px"},ke(a)?a:{default:()=>[a]}))},{title:"Remark",key:"remark"}],b=E(0),D=E({}),T=E((()=>{const r=[],a=z().valueOf();for(let n=0;n<30;n++)r.push({key:se(),name:_.Random.cname(),age:n+20,address:_.Random.city(),tags:["nice","developer"],remark:"我是一条很长很长的备注",status:n%2===0?"success":"error",statusText:n%2===0?"在线":"离线",signTimeStart:z(a).add(n*2,"year").valueOf(),signTimeEnd:z(a).add(n+5,"day").valueOf()});return r})()),w=E({pagination:!0,manual:!1}),[F,{checkedRowKeysBind:S,getKeys:K,getRows:A,clearKey:v,clearAll:u,selectKey:f}]=ue(s,C,{rowKey:"key",onChange:(t,r,a)=>{}}),j=E(!0),h=t=>t==null,N=t=>new Promise(r=>{const{page:a=1,pageSize:n=10,name:O,status:q,signTimeStart:P,signTimeEnd:c}=t||{};let l=T.value;const L=T.value.length;O&&(l=l.filter(g=>g.name.includes(O))),q&&(l=l.filter(g=>g.status===q)),P&&c&&(l=l.filter(g=>g.signTimeStart>=P&&g.signTimeEnd<=c)),l=l.slice((a-1)*n,a*n),setTimeout(()=>{r({code:0,data:l,total:h(q)&&h(O)&&(h(P)||h(c))?L:l.length,message:"success",page:a,pageSize:n})},1e3)}),{run:x,loading:G}=de(N,{onSuccess:t=>{const{data:r,total:a}=t;s.value=r,b.value=a}});return{tableDataRef:s,baseColumns:C,itemCountRef:b,loadingGetPersonList:G,runGetPersonList:x,conditionRef:D,radioRef:w,runTableRequest:R,tableProRegister:y,print:k,downloadCsv:i,checkedRowKeysBind:S,checkedRowKeys:F,getKeys:K,getRows:A,clearKey:v,clearAll:u,collapseRef:j,selectKey:f}},render(){const{tableDataRef:o,baseColumns:y,itemCountRef:R,loadingGetPersonList:d,runGetPersonList:k,conditionRef:i,radioRef:s,runTableRequest:C,tableProRegister:b,print:D,downloadCsv:T,checkedRowKeysBind:w,getKeys:F,getRows:S,clearKey:K,clearAll:A,selectKey:v}=this;return e(B,{vertical:!0},{default:()=>[e(Z,{open:this.collapseRef,bordered:!0},{default:()=>e(me,null,[e(U,{label:"用户名"},{default:()=>[e(J,{value:i.name,"onUpdate:value":u=>i.name=u,clearable:!0},null)]}),e(U,{label:"状态"},{default:()=>[e(pe,{value:i.status,"onUpdate:value":u=>i.status=u,clearable:!0,options:[{label:"成功",value:"success"},{label:"失败",value:"error"}]},null)]}),e(U,{label:"登陆时间"},{default:()=>[e(fe,{type:"datetimerange",value:i.RangeTime,"onUpdate:value":u=>i.RangeTime=u,clearable:!0},null)]}),e(U,{label:"演示折叠的条件框"},{default:()=>[e(J,{readonly:!0,placeholder:"我只是为了占位"},null)]})]),action:()=>e(B,null,{default:()=>[e(p,{type:"primary",onClick:()=>C(),loading:d},{default:()=>[m("查询")]})]}),collapse:u=>u?e(p,{onClick:()=>this.collapseRef=!0,secondary:!0},{default:()=>"受控展开",icon:()=>e(M,{name:"dark",size:"18"},null)}):e(p,{onClick:()=>this.collapseRef=!1,secondary:!0},{default:()=>"受控收起",icon:()=>e(M,{name:"light",size:"18"},null)})}),e($,{title:"常用高级拓展功能"},{default:()=>[e(B,null,{default:()=>[e(Q,{label:"分页"},{default:()=>[e(H,{value:s.pagination,"onUpdate:value":u=>s.pagination=u},{default:()=>[e(I,{value:!0},{default:()=>[m("显示分页")]}),e(I,{value:!1},{default:()=>[m("隐藏分页")]})]})]}),e(Q,{label:"自动更新"},{default:()=>[e(H,{value:s.manual,"onUpdate:value":u=>s.manual=u},{default:()=>[e(I,{value:!1},{default:()=>[m("自动更新")]}),e(I,{value:!0},{default:()=>[m("取消自动")]})]})]})]})]}),e($,{title:"useTablePro 部分方法"},{default:()=>[e(B,null,{default:()=>[e(p,{type:"primary",onClick:()=>D()},{default:()=>[m("打印")]}),e(p,{type:"primary",onClick:()=>T()},{default:()=>[m("下载 csv")]})]})]}),e($,{title:"useCheckedRowKeys 部分方法"},{default:()=>[e(B,null,{default:()=>[e(p,{type:"primary",onClick:()=>{const u=o[1].key;v(u)}},{default:()=>[m("选中第二行")]}),e(p,{type:"primary",onClick:()=>{const u=o[1].key;K(u)}},{default:()=>[m("取消选中第二行")]}),e(p,{type:"primary",onClick:()=>{o==null||o.forEach(u=>v(u.key))}},{default:()=>[m("选中当前页面所有行")]}),e(p,{type:"primary",onClick:()=>{A()}},{default:()=>[m("取消所有已选中行")]})]})]}),e(Re,{onRegister:b,data:o,columns:y,loading:d,paginationCount:R,request:k,requestConfig:{params:i,formatRangeTime:[{key:"RangeTime",target:["signTimeStart","signTimeEnd"]}]},showPagination:s.pagination,manual:s.manual,rowKey:u=>u.key,checkedRowKeys:this.checkedRowKeys,"onUpdate:checkedRowKeys":u=>this.checkedRowKeys=u,onUpdateCheckedRowKeys:w},null)]})}});export{Rt as default};
diff --git a/js/TablePro-Cas_Hs8U.js.gz b/js/TablePro-Cas_Hs8U.js.gz
deleted file mode 100644
index 28035204..00000000
Binary files a/js/TablePro-Cas_Hs8U.js.gz and /dev/null differ
diff --git a/js/close-10SEVxdb.js b/js/close-10SEVxdb.js
deleted file mode 100644
index 20f16da9..00000000
--- a/js/close-10SEVxdb.js
+++ /dev/null
@@ -1 +0,0 @@
-const a="data:image/svg+xml,%3csvg%20t='1679235208726'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7558'%20width='64'%20height='64'%3e%3cpath%20d='M212.898909%20130.792727l270.522182%20270.522182%20270.522182-270.522182a58.181818%2058.181818%200%201%201%2082.292363%2082.292364L565.713455%20483.607273%20836.235636%20754.036364a58.181818%2058.181818%200%201%201-82.292363%2082.292363L483.421091%20565.899636%20212.898909%20836.421818a58.181818%2058.181818%200%200%201-82.292364-82.292363L401.221818%20483.607273%20130.606545%20213.085091a58.181818%2058.181818%200%200%201%2082.292364-82.292364z'%20fill='currentColor'%20p-id='7559'%3e%3c/path%3e%3c/svg%3e";export{a as default};
diff --git a/js/close-B43hVi0H.js b/js/close-B43hVi0H.js
new file mode 100644
index 00000000..5cb3f5e0
--- /dev/null
+++ b/js/close-B43hVi0H.js
@@ -0,0 +1 @@
+const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M18%206%206%2018'%3e%3c/path%3e%3cpath%20d='m6%206%2012%2012'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/close_left-C6k2eGWg.js b/js/close_left-C6k2eGWg.js
deleted file mode 100644
index 04975740..00000000
--- a/js/close_left-C6k2eGWg.js
+++ /dev/null
@@ -1 +0,0 @@
-const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20role='img'%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%3e%3cg%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%3e%3cpath%20stroke-dasharray='20'%20stroke-dashoffset='20'%20d='M3%203V21'%3e%3canimate%20fill='freeze'%20attributeName='stroke-dashoffset'%20dur='0.3s'%20values='20;0'%3e%3c/animate%3e%3c/path%3e%3cpath%20stroke-dasharray='15'%20stroke-dashoffset='15'%20d='M21%2012H7.5'%3e%3canimate%20fill='freeze'%20attributeName='stroke-dashoffset'%20begin='0.4s'%20dur='0.2s'%20values='15;0'%3e%3c/animate%3e%3c/path%3e%3cpath%20stroke-dasharray='12'%20stroke-dashoffset='12'%20d='M7%2012L14%2019M7%2012L14%205'%3e%3canimate%20fill='freeze'%20attributeName='stroke-dashoffset'%20begin='0.6s'%20dur='0.2s'%20values='12;0'%3e%3c/animate%3e%3c/path%3e%3c/g%3e%3c/svg%3e";export{e as default};
diff --git a/js/close_left-DX8SFJx4.js b/js/close_left-DX8SFJx4.js
new file mode 100644
index 00000000..67b5fb16
--- /dev/null
+++ b/js/close_left-DX8SFJx4.js
@@ -0,0 +1 @@
+const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M3%2019V5'%3e%3c/path%3e%3cpath%20d='m13%206-6%206%206%206'%3e%3c/path%3e%3cpath%20d='M7%2012h14'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/close_other-DPtbrCYd.js b/js/close_other-DPtbrCYd.js
new file mode 100644
index 00000000..9cd1d91e
--- /dev/null
+++ b/js/close_other-DPtbrCYd.js
@@ -0,0 +1 @@
+const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M2%2012h6'%3e%3c/path%3e%3cpath%20d='M22%2012h-6'%3e%3c/path%3e%3cpath%20d='M12%202v2'%3e%3c/path%3e%3cpath%20d='M12%208v2'%3e%3c/path%3e%3cpath%20d='M12%2014v2'%3e%3c/path%3e%3cpath%20d='M12%2020v2'%3e%3c/path%3e%3cpath%20d='m19%209-3%203%203%203'%3e%3c/path%3e%3cpath%20d='m5%2015%203-3-3-3'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/close_right-CrnE5vtw.js b/js/close_right-CrnE5vtw.js
deleted file mode 100644
index eb881e6e..00000000
--- a/js/close_right-CrnE5vtw.js
+++ /dev/null
@@ -1 +0,0 @@
-const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20role='img'%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%3e%3cg%20transform='translate(24%200)%20scale(-1%201)'%3e%3cg%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%3e%3cpath%20stroke-dasharray='20'%20stroke-dashoffset='20'%20d='M3%203V21'%3e%3canimate%20fill='freeze'%20attributeName='stroke-dashoffset'%20dur='0.3s'%20values='20;0'%3e%3c/animate%3e%3c/path%3e%3cpath%20stroke-dasharray='15'%20stroke-dashoffset='15'%20d='M21%2012H7.5'%3e%3canimate%20fill='freeze'%20attributeName='stroke-dashoffset'%20begin='0.4s'%20dur='0.2s'%20values='15;0'%3e%3c/animate%3e%3c/path%3e%3cpath%20stroke-dasharray='12'%20stroke-dashoffset='12'%20d='M7%2012L14%2019M7%2012L14%205'%3e%3canimate%20fill='freeze'%20attributeName='stroke-dashoffset'%20begin='0.6s'%20dur='0.2s'%20values='12;0'%3e%3c/animate%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e";export{e as default};
diff --git a/js/close_right-DWMWcuX1.js b/js/close_right-DWMWcuX1.js
new file mode 100644
index 00000000..4eb59831
--- /dev/null
+++ b/js/close_right-DWMWcuX1.js
@@ -0,0 +1 @@
+const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M17%2012H3'%3e%3c/path%3e%3cpath%20d='m11%2018%206-6-6-6'%3e%3c/path%3e%3cpath%20d='M21%205v14'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/dayjs@1.11.10-C8LoRVP6.js b/js/dayjs@1.11.10-C8LoRVP6.js
new file mode 100644
index 00000000..e10bb817
--- /dev/null
+++ b/js/dayjs@1.11.10-C8LoRVP6.js
@@ -0,0 +1 @@
+import{c as V,g as X}from"./call-bind@1.0.7-Cpj98o6Y.js";var q={exports:{}};(function(z,G){(function(O,D){z.exports=D()})(V,function(){var O=1e3,D=6e4,j=36e5,b="millisecond",d="second",y="minute",m="hour",v="day",C="week",M="month",U="quarter",p="year",L="date",J="Invalid Date",P=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Q=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,K={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var n=["th","st","nd","rd"],t=s%100;return"["+s+(n[(t-20)%10]||n[t]||n[0])+"]"}},F=function(s,n,t){var r=String(s);return!r||r.length>=n?s:""+Array(n+1-r.length).join(t)+s},R={s:F,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+F(r,2,"0")+":"+F(e,2,"0")},m:function s(n,t){if(n.date()1)return s(u[0])}else{var o=n.name;g[o]=n,e=o}return!r&&e&&(k=e),e||!r&&k},f=function(s,n){if(N(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new A(t)},a=R;a.l=W,a.i=N,a.w=function(s,n){return f(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var A=function(){function s(t){this.$L=W(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[Z]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(r){var e=r.date,i=r.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(P);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return a},n.isValid=function(){return this.$d.toString()!==J},n.isSame=function(t,r){var e=f(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return f(t)=n?s:""+Array(n+1-r.length).join(t)+s},X={s:F,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+F(r,2,"0")+":"+F(e,2,"0")},m:function s(n,t){if(n.date()1)return s(u[0])}else{var o=n.name;g[o]=n,e=o}return!r&&e&&(k=e),e||!r&&k},f=function(s,n){if(N(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new A(t)},a=X;a.l=W,a.i=N,a.w=function(s,n){return f(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var A=function(){function s(t){this.$L=W(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(r){var e=r.date,i=r.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(Q);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return a},n.isValid=function(){return this.$d.toString()!==Z},n.isSame=function(t,r){var e=f(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return f(t)i.map(i=>d[i]);
-var Xn=Object.defineProperty;var Jn=(e,t,n)=>t in e?Xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var jt=(e,t,n)=>Jn(e,typeof t!="symbol"?t+"":t,n);import{s as rt,c as We,t as kt,i as nn,p as Pe,o as At,f as Zn}from"./lodash-es@4.17.21-CeZG2a4n.js";import{z as Nt,d as Vt,N as Ze,g as Qn,a as eo,b as to,c as E,e as Qe,m as no,f as on,u as oo,S as Pt,h as ao,i as Se,j as lo,k as an,l as xe,n as so,o as ro,p as io,q as ln,t as co,r as uo,s as po,v as mo,w as sn,x as qe,y as rn,A as ho,B as fo,C as go,D as vo,E as Q,F as yo,G as Ft,H as bo,I as he,J as fe,K as it,L as Ne,M as cn,O as we,P as _o,Q as So,R as wo,T as Co,U as To,V as Oo,W as un,X as Ro,Y as Bt,Z as ko}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{o as Ao,u as Me,a as Po,b as xo,c as dn,d as ct,e as xt,f as Mo}from"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import{k as M,l as be,e as Z,n as Io,x as Ce,a as pn,s as Lo,u as H}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{n as q,w as de,l as P,m as le,j as w,f as Te,p as Eo,k as et,q as mn,b as r,t as F,h as tt,v as pe,i as hn,x as zo,F as fn,y as Do,z as ne,A as Mt,C as ut,D as jo,E as ke,S as No,K as Vo,G as $t,H as Fo,I as ce,J as gn}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{d as ee}from"./dayjs@1.11.10-D8VSY-p2.js";import{p as Bo}from"./print-js@1.6.0-BdoEj60G.js";import{u as vn}from"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{b as $o}from"./jsbarcode@3.11.6-DGNGFp02.js";import{g as Ge,i as se,s as It,a as Ct,c as Ko,u as yn,l as bn,b as _n,d as Uo,e as V,r as ue,f as D,h as Wo,j as He,q as Ye,k as Ke,m as Sn,p as wn,n as Lt,o as Kt,t as ge,v as qo,w as Go,x as Ho,y as Yo,z as Xo,A as oe}from"./utils-CsGRTM5U.js";import{i as Ut}from"./interactjs@1.10.26-DZL_TZzP.js";import{s as Jo}from"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import{d as nt,c as Zo}from"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import{t as Qo,a as ea,b as ta,c as na,d as oa,e as aa}from"./html-to-image@1.11.11-BOFdlgi9.js";import{u as ot,a as la,o as sa,c as ra,b as ia}from"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import{c as ca}from"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import{r as ua,u as Ae,i as da,a as pa,b as ma,c as ha,d as fa,e as ga,f as va,g as ya,h as ba,j as _a,k as Sa,l as wa,m as Ca,n as Ta,o as Oa,p as Ra,q as ka,s as Aa}from"./echarts@5.5.0-CezqL3m-.js";import{g as Pa}from"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import{T as xa,a as Ma}from"./@vue_runtime-dom@3.5.12-DggYGzzI.js";const Kr=(e,t)=>{if(typeof t!="string"||!t.trim())throw new TypeError("Expected prefix to be a non-empty string");const n={};return Object.keys(e).forEach(a=>{const l=e[a].default;let o=a.replace(`./${t}/`,"").replace(/^\.\//,"");const i=o.lastIndexOf(".");o=o.substring(0,i);const s=o.split("/"),c=s.shift(),u=s.join(".");c&&(u?(rt(n,c,n[c]||{}),rt(n[c],u,l)):rt(n,c,l||{}))}),n},Ia="modulepreload",La=function(e){return"/ray-template/"+e},Wt={},I=function(t,n,a){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));l=Promise.all(n.map(s=>{if(s=La(s),s in Wt)return;Wt[s]=!0;const c=s.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Ia,c||(p.as="script"),p.crossOrigin="",p.href=s,i&&p.setAttribute("nonce",i),document.head.appendChild(p),c)return new Promise((g,b)=>{p.addEventListener("load",g),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${s}`)))})}))}return l.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},Ea=(e,t,n)=>{const a=e[t];return a?typeof a=="function"?a():Promise.resolve(a):new Promise((l,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},za=async e=>{var n;const t={};for(const a of e){const l=await Ea(Object.assign({"../lang/en-US.ts":()=>I(()=>import("./en-US-B0R29W5t.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),"../lang/zh-CN.ts":()=>I(()=>import("./zh-CN-CE8_4rZy.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47]))}),`../lang/${a.key}.ts`,3),o=a.key;o&&(t[o]=((n=l==null?void 0:l.default)==null?void 0:n.message)??{})}return t},Ur=e=>{switch(e){case"zh-CN":return{locale:Nt,dateLocal:Vt};case"en-US":return{locale:null,dateLocal:null};default:return{locale:Nt,dateLocal:Vt}}},Wr={max:5,closable:!1},qr="loading",Gr="",G={signing:"signing",localeLanguage:"localeLanguage",token:"token",appMenuKey:"menuKey",appPiniaSettingStore:"piniaSettingStore",appPiniaKeepAliveStore:"piniaKeepAliveStore",appPiniaMenuStore:"piniaMenuStore",appPiniaSigningStore:"piniaSigningStore",appVersionProvider:"appVersionProvider",isAppLockScreen:"isAppLockScreen",appGlobalSearchOptions:"appGlobalSearchOptions"},Da=[{label:"无",value:"none"},{label:"缩放出现",value:"scale"},{label:"缩放消退",value:"fade-scale"},{label:"滑入出现",value:"fade-slide"},{label:"淡入消退",value:"opacity"},{label:"底部消退",value:"fade-bottom"}],Y={appThemeColors:["#2d8cf0","#3f9eff","#ff42bc","#ee4f12","#a6e4f7","#dbcb02","#18A058"],appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"},appNaiveUIThemeOverrides:{dark:{},light:{}},appNaiveUIThemeOverridesCommon:{dark:{},light:{}},echartTheme:"macarons"},Cn=[{key:"zh-CN",label:"中文(简体)"},{key:"en-US",label:"English(US)"}],ja="zh-CN",Na="zh-CN",Va={"zh-CN":"zh-cn","en-US":"en"},Fa="zh-cn",Hr={cssUnit:/^\d+(\.\d+)?(px|em|rem|%|vw|vh|vmin|vmax|cm|mm|in|pt|pc|ch|ex|q|s|ms|deg|rad|turn|grad|hz|khz|dpi|dpcm|dppx|fr|auto)$/},Yr={baseURL:"",withCredentials:!1,timeout:5*1e3,headers:{"Content-Type":"application/json"}},ye=M(null),Tn=M(null),Ba={setupRouterLoadingBar:!0,setupRouterGuard:!0},$a=["RLogin","ErrorPage","RayTemplateDoc"],Ve=[],Xr=(e,t)=>{const n=M(0),a=M(0),l=M(!1),{clickOutside:o}={},i=g=>{l.value=g},s=g=>{g.preventDefault(),i(!1),q().then(()=>{const{clientX:b,clientY:f}=g;n.value=b,a.value=f,i(!0)})};o&&Ao(e,g=>{o(g)});const c=Me(e,"contextmenu",s,t),u=Me(e,"click",()=>{i(!1)});return{stop:()=>{c(),u()},x:be(n),y:be(a),show:be(l),updateShow:i}},Xe=Z({globalSpinning:!1,globalDrawerValue:!1,globalMainLayoutLoad:!0,layoutContentMaximize:!1,layoutContentSpinning:!1});function ae(e,t,n){Object.hasOwn(Xe,e)&&(Xe[e]=t)}function at(e){return be(Io(Xe,e))}function Ka(){return{...Ce(be(Xe))}}let te;const Ua=async()=>{const e=Kn(),t=await za(Cn);return ca({legacy:!1,locale:e,messages:t,sync:!0,missingWarn:!1,silentFallbackWarn:!0,fallbackLocale:Na})},Jr=async e=>{const t=await Ua();e.use(t),te=t},qt=(e,t)=>t,Ie=e=>{if(!te)return{t:o=>qt(e,o),locale:o=>{}};const{t,...n}=te.global;return{...n,t:(o,...i)=>o?!o.includes(".")&&!e?o:t(qt(e,o),...i):"",locale:o=>{te.mode==="legacy"?te.global.locale=o:pn(te.global.locale)?te.global.locale.value=o:te.global.locale=o}}},j=e=>e,Wa={path:"/dashboard",component:()=>I(()=>import("./index-BIJU71Xw.js"),__vite__mapDeps([49,12,1,2,3,4,5,6,7,8,9,10,11,50,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,51])),meta:{i18nKey:j("menu.Dashboard"),icon:"dashboard",order:0}},qa=Object.freeze(Object.defineProperty({__proto__:null,default:Wa},Symbol.toStringTag,{value:"Module"})),Ga={path:"/axios",name:"RAxios",component:()=>I(()=>import("./index-D3KEHdzx.js"),__vite__mapDeps([52,4,5,6,7,8,2,9,10,53,54,1,3,11,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,55])),meta:{i18nKey:j("menu.Axios"),icon:"axios",order:3,keepAlive:!0}},Ha=Object.freeze(Object.defineProperty({__proto__:null,default:Ga},Symbol.toStringTag,{value:"Module"})),Ya={path:"barcode",component:()=>I(()=>import("./BarcodeDemo-Cvjhhew2.js"),__vite__mapDeps([56,12,1,2,3,4,5,6,7,8,9,10,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,11,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.Barcode"),icon:"other",order:2,extra:{label:"new"}}},Xa=Object.freeze(Object.defineProperty({__proto__:null,default:Ya},Symbol.toStringTag,{value:"Module"})),Ja={path:"/cache-demo",component:()=>I(()=>import("./index-DbRyq2_G.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.CacheDemo"),icon:"other",order:3}},Za=Object.freeze(Object.defineProperty({__proto__:null,default:Ja},Symbol.toStringTag,{value:"Module"})),Qa={path:"/context-menu",component:()=>I(()=>import("./index-CL4DkzrY.js"),__vite__mapDeps([58,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.ContextMenu"),icon:"other",order:2}},el=Object.freeze(Object.defineProperty({__proto__:null,default:Qa},Symbol.toStringTag,{value:"Module"})),tl={path:"/directive",component:()=>I(()=>import("./index-BVEffTQQ.js"),__vite__mapDeps([59,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{i18nKey:j("menu.Directive"),icon:"other",order:2,extra:{label:"ellipsis"}}},nl=Object.freeze(Object.defineProperty({__proto__:null,default:tl},Symbol.toStringTag,{value:"Module"})),ol={path:"/echart",component:()=>I(()=>import("./index-ClDV5dL8.js"),__vite__mapDeps([60,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,61])),meta:{i18nKey:j("menu.Echart"),icon:"echart",order:1,extra:{label:"useChart"}}},al=Object.freeze(Object.defineProperty({__proto__:null,default:ol},Symbol.toStringTag,{value:"Module"})),ll={path:"/form",component:()=>I(()=>import("./index-DelUBd5p.js"),__vite__mapDeps([62,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.Form"),icon:"other",order:2,extra:{label:"useForm"}}},sl=Object.freeze(Object.defineProperty({__proto__:null,default:ll},Symbol.toStringTag,{value:"Module"})),rl={path:"/iframe",component:()=>I(()=>import("./index-BpaVkaQE.js"),__vite__mapDeps([63,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{icon:"other",order:2,noLocalTitle:"iframe"}},il=Object.freeze(Object.defineProperty({__proto__:null,default:rl},Symbol.toStringTag,{value:"Module"})),cl={path:"/mock-demo",component:()=>I(()=>import("./index-SNi0DadD.js"),__vite__mapDeps([64,12,1,2,3,11,65,4,5,6,7,8,9,10,13,53,54,32,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.Mock"),icon:"other",order:3,keepAlive:!1,extra:{label:"usePagination"}}},ul=Object.freeze(Object.defineProperty({__proto__:null,default:cl},Symbol.toStringTag,{value:"Module"})),dl={path:"/modal-demo",component:()=>I(()=>import("./index-CA3KC3tr.js"),__vite__mapDeps([66,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.Modal"),icon:"other",order:3}},pl=Object.freeze(Object.defineProperty({__proto__:null,default:dl},Symbol.toStringTag,{value:"Module"})),Ue=()=>I(()=>Promise.resolve().then(()=>Is),void 0),ml={path:"/multi",component:Ue,meta:{i18nKey:j("menu.MultiMenu"),icon:"other",order:4,extra:{label:"cache"}},children:[{path:"multi-menu-one",name:"MultiMenuOne",component:()=>I(()=>import("./index-uuI03sjC.js"),__vite__mapDeps([67,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{noLocalTitle:"多级菜单-1",keepAlive:!0}},{path:"multi-menu-two",name:"MultiMenuTwo",component:Ue,meta:{noLocalTitle:"多级菜单-2"},children:[{path:"sub-menu-other",name:"SubMenuOther",component:()=>I(()=>import("./index-Dn1J5-dJ.js"),__vite__mapDeps([68,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{noLocalTitle:"多级菜单-2-1",keepAlive:!0}},{path:"sub-menu",name:"SubMenu",component:Ue,meta:{noLocalTitle:"多级菜单-2-2",keepAlive:!0},children:[{path:"sub-menu-one",name:"MultiMenuTwoOne",component:()=>I(()=>import("./index-B8sGbhY_.js"),__vite__mapDeps([69,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{noLocalTitle:"多级菜单-2-2-1",keepAlive:!0}}]}]}]},hl=Object.freeze(Object.defineProperty({__proto__:null,default:ml},Symbol.toStringTag,{value:"Module"})),fl={path:"/precision",component:()=>I(()=>import("./index-CGui32_Y.js"),__vite__mapDeps([70,1,2,3,4,5,6,7,8,9,10,11,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.CalculatePrecision"),icon:"other",order:2}},gl=Object.freeze(Object.defineProperty({__proto__:null,default:fl},Symbol.toStringTag,{value:"Module"})),vl={path:"/qrcode",component:()=>I(()=>import("./index-Cbnk5Zj2.js"),__vite__mapDeps([71,72,7,5,6,73,74,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{i18nKey:j("menu.QRCode"),icon:"other",order:2}},yl=Object.freeze(Object.defineProperty({__proto__:null,default:vl},Symbol.toStringTag,{value:"Module"})),bl={path:"rely-about",component:()=>I(()=>import("./index-BsRoD5Uw.js"),__vite__mapDeps([75,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,76])),meta:{i18nKey:j("menu.RelyAbout"),icon:"rely",order:999}},_l=Object.freeze(Object.defineProperty({__proto__:null,default:bl},Symbol.toStringTag,{value:"Module"})),Sl={path:"/router-demo",component:Ue,meta:{i18nKey:j("menu.RouterDemo"),icon:"other",order:3},children:[{path:"router-demo-home",component:()=>I(()=>import("./index-CnmeqGgQ.js"),__vite__mapDeps([77,12,1,2,3,40,5,6,7,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,4,8,9,10,32,33,34,35,36,37,38,39,41,42,43,44,45,46,47])),meta:{noLocalTitle:"人员信息(平级模式)"}},{path:"router-demo-detail",component:()=>I(()=>import("./index-DGnIX46Y.js"),__vite__mapDeps([78,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{noLocalTitle:"信息详情",sameLevel:!0}}]},wl=Object.freeze(Object.defineProperty({__proto__:null,default:Sl},Symbol.toStringTag,{value:"Module"})),Cl={path:"/scroll-reveal",component:()=>I(()=>import("./index-CbL5Zl-U.js"),__vite__mapDeps([79,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,80])),meta:{i18nKey:j("menu.scrollReveal"),icon:"scroll_reveal",hidden:!0}},Tl=Object.freeze(Object.defineProperty({__proto__:null,default:Cl},Symbol.toStringTag,{value:"Module"})),Ol={path:"/segment",component:()=>I(()=>import("./index-0FDXYZQ5.js"),__vite__mapDeps([81,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.Segment"),icon:"other",order:3,extra:{label:"segment"}}},Rl=Object.freeze(Object.defineProperty({__proto__:null,default:Ol},Symbol.toStringTag,{value:"Module"})),kl={path:"/svg-icons",component:()=>I(()=>import("./index-BZXgmMhu.js"),__vite__mapDeps([82,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,83])),meta:{i18nKey:j("menu.SvgIcon"),icon:"other",order:3}},Al=Object.freeze(Object.defineProperty({__proto__:null,default:kl},Symbol.toStringTag,{value:"Module"})),Pl={path:"/table-pro",component:()=>I(()=>import("./TablePro-Cas_Hs8U.js"),__vite__mapDeps([84,65,12,1,2,3,4,5,6,7,8,9,10,11,13,32,53,54,85,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.TablePro"),icon:"other",order:2,extra:{label:"TablePro"}}},xl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),Ml={path:"/table",component:()=>I(()=>import("./index-CPmdczkN.js"),__vite__mapDeps([86,32,12,1,2,3,4,5,6,7,8,9,10,11,13,65,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.Table"),icon:"other",order:2,extra:{label:"useTable"}}},Il=Object.freeze(Object.defineProperty({__proto__:null,default:Ml},Symbol.toStringTag,{value:"Module"})),Ll={path:"/template-hooks",component:()=>I(()=>import("./index-D4EbUL-F.js"),__vite__mapDeps([87,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:j("menu.TemplateHooks"),icon:"other",order:1}},El=Object.freeze(Object.defineProperty({__proto__:null,default:Ll},Symbol.toStringTag,{value:"Module"})),zl=()=>{const e=Object.assign({"/src/router/modules/dashboard.ts":qa,"/src/router/modules/demo/axios.ts":Ha,"/src/router/modules/demo/barcode.ts":Xa,"/src/router/modules/demo/cache-demo.ts":Za,"/src/router/modules/demo/context-menu.ts":el,"/src/router/modules/demo/directive.ts":nl,"/src/router/modules/demo/echart.ts":al,"/src/router/modules/demo/form.ts":sl,"/src/router/modules/demo/iframe.ts":il,"/src/router/modules/demo/mock.ts":ul,"/src/router/modules/demo/modal.ts":pl,"/src/router/modules/demo/multi-menu.ts":hl,"/src/router/modules/demo/precision.ts":gl,"/src/router/modules/demo/qrcode.ts":yl,"/src/router/modules/demo/rely.ts":_l,"/src/router/modules/demo/router-demo.ts":wl,"/src/router/modules/demo/scroll-reveal.ts":Tl,"/src/router/modules/demo/segment.ts":Rl,"/src/router/modules/demo/svg-icons.ts":Al,"/src/router/modules/demo/table-pro.ts":xl,"/src/router/modules/demo/table.ts":Il,"/src/router/modules/demo/template-hooks.ts":El});return Object.keys(e).reduce((n,a)=>{const l=e[a].default;if(l)n.push(l);else throw new Error(`[combineRawRouteModules]: ${a} module must export default.`);return n},[])},Dl=e=>e[0]==="/",On=(e,t=[],n="")=>{var a;if(!Array.isArray(e))return[];for(const l of e){const o=n+(Dl(l.path)?l.path:"/"+l.path);if((a=l.children)!=null&&a.length){On(l.children,t,o);continue}else t.push({...l,path:o})}return t},jl=e=>Array.isArray(e)?On(We(e)):[],Nl=e=>e.sort((t,n)=>{var o,i;const a=((o=t.meta)==null?void 0:o.order)??1,l=((i=n.meta)==null?void 0:i.order)??0;if(typeof a!="number"||typeof l!="number")throw new TypeError("orderRoutes error: order must be a number!");return a===l?t.name?n.name?t.name.localeCompare(n.name):-1:1:a-l}),Vl=e=>{const{beforeEach:t}=e,{getRootPath:n}=Oe(),a=(l,o)=>l.path==="/"||o.path==="/login";t((l,o,i)=>{const s=Ge(G.token,"localStorage"),c=Ge(G.appMenuKey,"sessionStorage",{defaultValue:n.value}),{meta:u,name:p}=l;s!==null?a(l,o)?dt(!0):!se(p,"Symbol")&&p&&$a.includes(p)?i():Vn(u)?a(l,o)?c?i(c):dt(!0):i():dt(!0):a(l,o)?i():i("/")})},dt=(e=!0)=>{const{router:t}=Et(),{push:n,replace:a}=t,{getRootPath:l}=Oe();It(G.appMenuKey,l.value,"localStorage"),e?a(l.value):n(l.value)},Fl=e=>{var n;const{meta:t}=e;t!=null&&t.ignoreAutoResetScroll||(n=ye.value)==null||n.scrollTo({top:0,left:0,behavior:"smooth"})},Bl=e=>{e.beforeEach(()=>{var t;(t=window.$loadingBar)==null||t.start()}),e.afterEach(()=>{var t;(t=window.$loadingBar)==null||t.finish()}),e.onError(()=>{var t;(t=window.$loadingBar)==null||t.error()})},Rn=e=>{const{meta:t={}}=e,{hidden:n,sameLevel:a,env:l}=t,{MODE:o}=Ct();return!(a||n||l&&typeof l=="string"&&l!==o||l&&Array.isArray(l)&&!l.includes(o))};var $l={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const Le=nt("setting",()=>{const{appPrimaryColor:{primaryColor:e}}=$l,{locale:t}=Ie(),{locale:n}=hr(),a=Z({drawerPlacement:"right",primaryColorOverride:{common:{primaryColor:e,primaryColorHover:e,primaryColorPressed:e}},_appTheme:!1,appTheme:"light",menuTagSwitch:!0,breadcrumbSwitch:!0,localeLanguage:Kn(),lockScreenSwitch:!1,copyrightSwitch:!0,contentTransition:"scale",watermarkSwitch:!1,watermarkConfig:{content:"Trying be better~",fontSize:16,lineHeight:16,width:384,height:384,xOffset:12,yOffset:60,rotate:-15},appRootRoute:{name:"Dashboard",path:"/dashboard"},sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"},keepAliveConfig:{setupKeepAlive:!0,keepAliveExclude:[],maxKeepAliveLength:10},menuConfig:{collapsedWidth:64,collapsedMode:"width",collapsedIconSize:22,collapsedIndent:24,accordion:!1}}),l=s=>{t(s),n(s),a.localeLanguage=s,It(G.localeLanguage,s,"localStorage")},o=(s,c=.3)=>{const u=Ko(s,c),p={primaryColor:s,primaryColorHover:s,primaryColorPressed:s};a.primaryColorOverride.common=p;const g=document.body;g.style.setProperty("--ray-theme-primary-color",s),g.style.setProperty("--ray-theme-primary-fade-color",u)},i=(s,c,u)=>{yn(a,s,c,u)};return de(()=>a.appTheme,s=>{s?a.primaryColorOverride=Object.assign({},a.primaryColorOverride,Y.appNaiveUIThemeOverrides.dark,Y.appNaiveUIThemeOverridesCommon.dark):a.primaryColorOverride=Object.assign({},a.primaryColorOverride,Y.appNaiveUIThemeOverrides.light,Y.appNaiveUIThemeOverridesCommon.light)},{immediate:!0,once:!0}),{...Ce(a),updateLocale:l,changePrimaryColor:o,updateSettingState:i}},{persist:{key:G.appPiniaSettingStore}}),Kl={intersectionObserver:{type:Boolean,default:!0},intersectionObserverTarget:{type:Object,default:null},intersectionOptions:{type:Object,default:{threshold:.1}},bordered:{type:Boolean,default:!0},downloadOptions:{type:Object,default:()=>({})},onDropdownSelect:{type:[Function,Array]},dropdownOptions:{type:Array},preset:{type:String},contentStyle:{type:[String,Object]},title:{type:[String,Function]},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},autoResize:{type:Boolean,default:!0},showAria:{type:Boolean,default:!1},options:{type:Object,default:()=>({})},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},onFinally:{type:[Function,Array],default:null},theme:{type:String,default:null},autoChangeTheme:{type:Boolean,default:!0},use:{type:Array,default:()=>[]},watchOptions:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingOptions:{type:Object,default:()=>bn()},autoResizeObserverTarget:{type:Object,default:null},watchOptionsThrottleWait:{type:Number,default:500},nextTick:{type:Boolean,default:!0},setChartOptions:{type:Object,default:()=>_n()},onRegister:{type:[Function,Array],default:null}},Ul=Uo(),Gt="__R_CHART_DOWN_LOAD_CHART__";Ul.forEach(e=>{ua(e.name,e.theme)});const Zr=P({name:"RChart",props:Kl,setup(e,{expose:t}){const{getAppTheme:n}=B(),a=le("rayChartRef"),l=le("rayChartWrapperRef"),o=Lo();let i,s;const{echartTheme:c}=Y;let u;const p=w(()=>[{label:"下载图片",key:Gt,disabled:!(o.value&&o.value.getDom())}]),g=w(()=>({"--ray-chart-width":V(e.width),"--ray-chart-height":V(e.height)})),b=M(!1);let f;const m={aria:e.showAria},y=async()=>{var R;Ae([pa,ma,ha,fa,ga,va,ya,ba]),Ae([_a,Sa,wa,Ca,Ta,Oa]),Ae([Ra,ka]),Ae([Aa]);try{Ae((R=e.use)==null?void 0:R.filter(Boolean))}catch(z){console.error("[RChart register error]: ",z)}},h=()=>{if(o.value&&C(),e.theme==="default"){e.autoChangeTheme?d("dark"):d("");return}if(e.theme)d(e.theme);else{const R=e.autoChangeTheme&&n.value?`${c}-dark`:c;d(R)}},S=R=>{let z=H(R);return z=(U=>Object.assign({},z,U))({aria:{enabled:e.showAria,decal:{show:e.showAria}}}),z},d=(R=c)=>{var De;const z=a.value,N=S(e.options),{height:U,width:$}=z.getBoundingClientRect(),{onSuccess:re,onError:Re}=e;try{o.value=da(z,R,{width:$===0?200:void 0,height:U===0?200:void 0}),re&&D(re,o.value),e.nextTick?(o.value.setOption({}),q(()=>{var J;N&&((J=o.value)==null||J.setOption(N))})):N&&((De=o.value)==null||De.setOption(N))}catch(J){throw Re&&D(Re),new Error(`[RChart render error]: ${J}`)}finally{const{onFinally:J}=e;J&&D(J)}},v=()=>{var R;return!!((R=o.value)!=null&&R.isDisposed())},C=()=>{var R;v()||(R=o.value)==null||R.dispose()},O=()=>{o.value&&o.value.resize()},_=(R,z)=>{if(R===Gt&&!v()){const{filename:U,...$}=e.downloadOptions;Wo(o.value.getDataURL($),U??`${new Date().getTime()}`)}const{onDropdownSelect:N}=e;N&&D(N,R,z)},T=()=>{var z;if(e.autoResize&&(i||(i=kt(O,500)),s||(s=xo(e.autoResizeObserverTarget||l,i))),(z=o.value)!=null&&z.getDom()||!b.value&&e.intersectionObserver)return;h(),f==null||f.stop();const{onRegister:R}=e;R&&o.value&&D(R,o.value,T,L)},L=()=>{C(),i==null||i.cancel(),s==null||s.stop(),f==null||f.stop(),f=null,i=null,s=null};return de(()=>n.value,()=>{e.autoChangeTheme&&(C(),h())}),Te(()=>{var R,z;e.intersectionObserver&&(f=Po(e.intersectionObserverTarget||l,([N])=>{b.value=N.isIntersecting},e.intersectionOptions)),e.watchOptions?u=Pa(()=>e.options,N=>{var re;const U=S(N),$=Object.assign({},_n(),e.setChartOptions);(re=o.value)==null||re.setOption(U,$)},{deep:!0,throttle:e.watchOptionsThrottleWait}):u==null||u(),e.loading?(R=o.value)==null||R.showLoading(bn(e.loadingOptions)):(z=o.value)==null||z.hideLoading(),e.showAria!==m.aria&&o.value&&(o.value.setOption(S(e.options)),m.aria=e.showAria),b.value&&!v()&&T()}),t(),Eo(async()=>{await y()}),et(()=>{T()}),mn(()=>{L(),u==null||u()}),{rayChartRef:a,cssVarsRef:g,rayChartWrapperRef:l,moreDropDownOptions:p,dropdownSelect:_}},render(){const{title:e,contentStyle:t,preset:n,moreDropDownOptions:a,dropdownSelect:l,bordered:o,dropdownOptions:i}=this,{cardExtra:s}=this.$slots;return n==="card"?r(Ze,{class:"ray-chart",ref:"rayChartWrapperRef",style:[this.cssVarsRef],contentStyle:t,bordered:o,embedded:!0},{default:ue(r("div",{class:"ray-chart__container",ref:"rayChartRef"},null)),header:ue(e,{defaultElement:r("div",{style:"display: none;"},null)}),"header-extra":ue(s,{defaultElement:r(Pn,{iconSize:18,cursor:"pointer",options:i||a,trigger:"click",onSelect:l.bind(this),placement:"bottom-end"},null)})}):r("div",{class:"ray-chart",style:[this.cssVarsRef],ref:"rayChartWrapperRef"},[r("div",{class:"ray-chart__container",ref:"rayChartRef"},null)])}}),Qr=()=>{let e,t,n;const a=(c,u,p)=>{c&&(e=c,t=p,n=u)},l=()=>{if(!e)throw new Error("[useChart]: echart instance is not ready yet. if you are using useChart, please make sure you have called register method in onRegister event.");return{dispose:t,render:n,echartInst:e}};return[a,{getChartInstance:l,isDisposed:()=>{var c;return!!((c=l().echartInst)!=null&&c.isDisposed())},dispose:()=>l().dispose.call(null),render:()=>l().render.call(null)}]},Wl={actionAlign:{type:String,default:"end"},open:{type:Boolean,default:!1},collapseToggleText:{type:Array,default:()=>["展开","收起"]},bordered:{type:Boolean,default:!0},onUpdateOpen:{type:[Function,Array],default:null},"onUpdate:open":{type:[Function,Array],default:null},...Qn},ei=P({name:"RCollapseGrid",props:Wl,setup(e){const t=M(!e.open),n=w(()=>({"--r-collapse-grid-action-align":e.actionAlign})),a=()=>{const{onUpdateOpen:o,"onUpdate:open":i}=e;t.value=!t.value,o&&D(o,t.value),i&&D(i,t.value)},l=o=>r("div",{class:"collapse-icon",onClick:a.bind(this)},[r("span",null,[o?e.collapseToggleText[0]:e.collapseToggleText[1]]),r(A,{customClassName:`collapse-icon--arrow ${o?"":"collapse-icon--arrow__expanded"}`,name:"expanded",size:"14"},null)]);return Te(()=>{t.value=!e.open}),{modelCollapsed:t,collapseClick:a,CollapseIcon:l,cssVars:n}},render(){const{$slots:{collapse:e,action:t,default:n},CollapseIcon:a,$props:l,modelCollapsed:o,xGap:i,yGap:s,collapsedRows:c,cssVars:u,bordered:p}=this;return r(Ze,{bordered:p,style:[u]},{default:()=>r(eo,F({class:"ray-collapse-grid"},l,{collapsed:o,xGap:i||12,yGap:s||12,collapsedRows:c}),{default:()=>[n==null?void 0:n(),r(to,{suffix:!0,class:"ray-collapse-grid__suffix--btn"},{default:()=>[r(E,{justify:"end",align:"center"},{default:()=>[t==null?void 0:t(),e?e(o):a(o)]})]})]})})}}),ql={color:{type:String,default:"currentColor"},prefix:{type:String,default:"icon"},name:{type:String,required:!0},size:{type:[Number,String],default:14},width:{type:[Number,String],default:0},height:{type:[Number,String],default:0},customClassName:{type:String,default:null},depth:{type:Number,default:1},cursor:{type:String,default:"default"},onClick:{type:[Function,Array],default:null}},A=P({name:"RIcon",props:ql,setup(e){const t=w(()=>`#${e.prefix}-${e.name}`),n=w(()=>({"--ray-icon-width":e.width?V(e.width):V(e.size),"--ray-icon-height":e.height?V(e.height):V(e.size),"--ray-icon-depth":e.depth,"--ray-icon-cursor":e.cursor,"--ray-icon-color":e.color}));return{symbolId:t,cssVars:n,iconClick:l=>{const{onClick:o}=e;o&&D(o,l)}}},render(){return r("span",{class:["ray-icon",this.customClassName],style:[this.cssVars],onClick:this.iconClick.bind(this)},[r("svg",{RayIconAttribute:"ray-icon",ariaHidden:!0},[r("use",F({"xlink:href":this.symbolId},{fill:this.color}),null)])])}}),Gl={src:{type:String,required:!0},iframeWrapperClass:{type:String,default:null},frameborder:{type:Number,default:0},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},allow:{type:String,default:null},name:{type:String,default:null},title:{type:String,default:null},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},customSpinProps:{type:Object,default:()=>({})},lazy:{type:[Boolean,String],default:!0},iframeClass:{type:String,default:null}},ti=P({name:"RIframe",props:Gl,setup(e,{expose:t}){const n=w(()=>({"--ray-iframe-frameborder":V(e.frameborder),"--ray-iframe-width":V(e.width),"--ray-iframe-height":V(e.height)})),a=le("iframeRef"),l=M(!0),o=s=>{l.value=!1;const{onSuccess:c}=e;c&&D(c,a.value,s)},i=s=>{l.value=!1;const{onError:c}=e;c&&D(c,s)};return Me(a,"load",o),Me(a,"error",i),t({iframeInst:a}),{cssVars:n,iframeRef:a,spinShow:l}},render(){return r("div",{class:["ray-iframe",this.iframeWrapperClass],style:[this.cssVars]},[r(Qe,F(this.customSpinProps,{show:this.spinShow}),{...this.$slots,default:()=>r("iframe",{class:["ray-iframe__container",this.iframeClass],ref:"iframeRef",src:this.src,allow:this.allow,name:this.name,title:this.title,loading:typeof this.lazy=="boolean"?"lazy":this.lazy},null)})])}}),Hl={...no,memo:{type:Boolean,default:!0},fullscreen:{type:Boolean,default:!1},width:{type:[String,Number],default:600},cardWidth:{type:[String,Number],default:600},dialogWidth:{type:[String,Number],default:446},dad:{type:Boolean,default:!1}},Yl=(e,t,n)=>{const{scheduler:a}=n??{};return new Promise(l=>{setTimeout(()=>{const o=t==="card"?".n-card-header__main":".n-dialog__title";if(e){const i=Ut(e).draggable({inertia:!0,autoScroll:!0,allowFrom:o,modifiers:[Ut.modifiers.restrictRect({restriction:"parent",endOnly:!0})],listeners:{move:s=>{a==null||a(s)}}}).resizable(!1);l(i)}},30)})},kn=(e,t)=>{const n=typeof e=="string"?document.querySelector(e):e;return new Promise((a,l)=>{if(n){n.setAttribute("can-drag","true");const{preset:o,dargCallback:i}=t;let{x:s,y:c}=t;Yl(n,o,{scheduler:u=>{const p=u.target;s+=u.dx,c+=u.dy,p.style.transform=`translate(${s}px, ${c}px)`,i==null||i(s,c,u)}}).then(u=>{a(u)})}else l()})},Xl="r-modal__preset-card--fullscreen",An="r-modal",_e={width:"--r-modal-width",cardWidth:"--r-modal-card-width",dialogWidth:"--r-modal-dialog-width"},ni=P({name:"RModal",props:Hl,setup(e){const t=w(()=>({[_e.width]:V(e.width??600),[_e.cardWidth]:V(e.cardWidth??600),[_e.dialogWidth]:V(e.dialogWidth??446)})),n=He();let a;const l={x:0,y:0},o=w(()=>e.preset==="card"&&e.fullscreen);return de(()=>e.show,i=>{i&&e.dad&&(e.preset==="card"||e.preset==="dialog")?q(()=>{const s=document.getElementById(n);s&&kn(s,{preset:e.preset,x:l.x,y:l.y,dargCallback:(c,u)=>{l.x=c,l.y=u}}).then(c=>{a=c}),e.memo&&s&&(s.style.transform=`translate(${l.x}px, ${l.y}px)`)}):(a==null||a.unset(),a=null)},{immediate:!0}),{cssVars:t,isFullscreenCardType:o,uuidEl:n}},render(){const{$props:e,$slots:t,$attrs:n}=this,{preset:a,...l}=e,{cssVars:o,uuidEl:i,isFullscreenCardType:s}=this;return r(on,F({class:[An,s?Xl:""],style:[o,s?"height: 100vh":""],preset:a},{id:i},l,n),{...t})}}),oi=()=>{const{create:e,destroyAll:t}=oo();return{create:a=>{const{content:l,...o}=a;let i=l;o.preset==="card"&&o.fullscreen&&(i=()=>tt(Pt,{themeOverrides:{color:"rgba(0, 0, 0, 0)",colorHover:"rgba(0, 0, 0, 0)"},trigger:"none",style:{width:"auto",height:"calc(100vh - 29px - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))"}},{default:()=>typeof l=="function"?l():l}));const{preset:s,dad:c,fullscreen:u,width:p,cardWidth:g,dialogWidth:b}=a,f=e({...o,content:i}),{key:m}=f,y={[_e.width]:V(p??600),[_e.cardWidth]:V(g??600),[_e.dialogWidth]:V(b??446)};return q(()=>{const[h]=Ye(`[internalkey="${m}"]`)||[];if(h){if(c&&kn(h,{preset:s,x:0,y:0}),u&&s==="card"){const S=h.querySelector(".n-card__content");S&&Ke(S,{maxHeight:"calc(100vh - 9px - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))",overflowY:"hidden",padding:"0"}),Ke(h,{width:"100%",height:"100vh"})}Ke(h,y),Sn(h,An)}}),f},destroyAll:t}},Jl={...ao,icon:{type:String,default:"more"},iconSize:{type:Number,default:14},cursor:{type:String,default:"default"}};function Zl(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pe(e)}const Pn=P({name:"RMoreDropdown",props:Jl,render(){let e;const{iconSize:t,cursor:n,icon:a}=this,{default:l}=this.$slots;return r(Se,F(this.$props,this.$attrs,{placement:"bottom-start"}),Zl(e=ue(l,{defaultElement:r(A,{name:a,size:t,cursor:n},null)}))?e:{default:()=>[e]})}}),Ee={...lo,renderWrapperHeader:{type:Boolean,default:!0},cardProps:{type:Object,default:()=>({})},tool:{type:Boolean,default:!0},downloadCsvTableOptions:{type:Object,default:()=>({})},title:{type:[String,Number,Object],default:null},toolOptions:{type:Array},coverTool:{type:Boolean,default:!1},contextMenuOptions:{type:Array},disabledContextMenu:{type:Boolean,default:!1},onContextMenuClick:{type:[Function,Array],default:null},wrapperBordered:{type:Boolean,default:!0},bordered:{type:Boolean,default:!0},printTableOptions:{type:Object,default:()=>({})},onUpdateColumns:{type:[Function,Array],default:null},"onUpdate:columns":{type:[Function,Array],default:null},onContextmenu:{type:[Function,Array],default:null},onRegister:{type:[Function,Array],default:null}},X={tableIconSize:"18",tableKey:Symbol("r-table")},Ql=[{label:"斑马条纹",value:"striped"},{label:"表格边框",value:"bordered"}],es=P({name:"TableSizeSelect",props:{onChangeSize:{type:[Function,Array],default:null},...Ee},setup(e){return{size:M(e.size),sizeOptions:[{label:"默认",value:"medium"},{label:"紧凑",value:"small"},{label:"宽松",value:"large"}],updatePopselectValue:l=>{const{onChangeSize:o}=e;o&&D(o,l)}}},render(){return r(an,{value:this.size,"onUpdate:value":e=>this.size=e,options:this.sizeOptions,trigger:"click",onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(A,{name:"adjustment",size:X.tableIconSize,cursor:"pointer"},null)]})}}),ts=P({name:"TableFullscreen",setup(){const{wrapperRef:e}=hn(X.tableKey,{}),[t,{toggleFullscreen:n,isEnabled:a}]=vn(e);return{toggleFullscreen:n,isEnabled:a}},render(){const{toggleFullscreen:e,isEnabled:t,$t:n}=this;return r(A,{name:"fullscreen",size:X.tableIconSize,cursor:"pointer",onClick:()=>{t||window.$message.warning(n("globalMessage.isEnabledFullscreen")),e()}},null)}}),ns=()=>r(A,{name:"draggable",size:14,cursor:"grab"},null),Ht=({icon:e,title:t,onClick:n,customClassName:a})=>r(xe,{showArrow:!1},{trigger:()=>r(A,{name:e,size:X.tableIconSize,cursor:"pointer",customClassName:a,onClick:n==null?void 0:n.bind(null)},null),default:()=>t}),Tt=(e,t)=>{if(!t)return[null,null];for(let n=0;nWe(e.columns).filter(c=>c.type?(t=c,!1):!0).map((c,u)=>{const{key:p,title:g,children:b,fixed:f,isResizable:m,...y}=c,h=f==="left",S=f==="right",d={...y,title:g,key:p,fixed:f,isLeftFixedActivated:h,isRightFixedActivated:S,isResizable:m};return{...d,suffix:()=>r(E,{style:"padding-left: 32px;"},{default:()=>[r(Ht,{icon:"row_head",title:"固定在列首",customClassName:h?pt:"",onClick:o.bind(this,"left",d,u)},null),r(xe,{showArrow:!1},{trigger:()=>r(A,{name:"resize_h",size:X.tableIconSize,cursor:"pointer",customClassName:m?pt:"",onClick:l.bind(this,d,u)},null),default:()=>"修改列宽"}),r(Ht,{icon:"row_end",title:"固定在列尾",customClassName:S?pt:"",onClick:o.bind(this,"right",d,u)},null)]})}}),set:()=>{}}),a=s=>{const{onUpdateColumn:c}=e;c&&D(c,s)},l=(s,c)=>{s.isResizable=!s.isResizable,s.resizable=s.isResizable,n.value[c]=s,a(n.value)},o=(s,c,u)=>{const p=`${s}FixedActivated`,g=`${s==="left"?"right":"left"}FixedActivated`;c[g]=!1,c[p]=!c[p],c[p]?c.fixed=s:c.fixed=void 0,n.value[u]=c,a(n.value)};return{treeDataSource:n,treeDrop:({node:s,dragNode:c,dropPosition:u})=>{const[p,g]=Tt(c,n.value);if(p===null||g===null)return;p.splice(g,1);const[b,f]=Tt(s,n.value);b===null||f===null||(u==="before"?b.splice(f,0,c):b.splice(f+1,0,c),nn(t)||b.unshift(t),a(b))}}},render(){return r(xe,{displayDirective:"show",trigger:"click",showArrow:!1},{trigger:()=>r(A,{name:"setting",size:X.tableIconSize,cursor:"pointer",customClassName:"r-table__setting"},null),default:()=>r(so,{class:"r-table__c-tree",data:this.treeDataSource,blockLine:!0,draggable:!0,keyboard:!1,labelField:"title",selectable:!1,renderSwitcherIcon:ns.bind(this),onDrop:this.treeDrop.bind(this)},null)})}}),as=P({name:"TablePrint",props:Ee,setup(e){const{wrapperRef:t}=hn(X.tableKey,{});return{printTableClick:()=>{const{printTableOptions:{printOptions:a={},domToImageOptions:l}={},title:o}=e;(a.documentTitle===""||a.documentTitle===void 0||a.documentTitle===null)&&(a.documentTitle=typeof o=="string"?o:""),wn(t,{printOptions:a,domToImageOptions:l})}}},render(){return r(A,{name:"print",size:X.tableIconSize,cursor:"pointer",onClick:this.printTableClick.bind(this)},null)}}),ls=P({name:"TablePropsSelect",props:{...Ee,onPopselectChange:{type:[Function,Array],default:null},onInitialed:{type:[Function,Array],default:null}},setup(e){const t=M(!1),n=M([]),a=o=>{const{onPopselectChange:i}=e;i&&D(i,o)};return(()=>{const{striped:o,bordered:i,onInitialed:s}=e;o&&n.value.push("striped"),i&&n.value.push("bordered"),s&&D(s,n.value)})(),{propsPopselectValue:n,popoverShow:t,updatePopselectValue:a}},render(){return r(an,{value:this.propsPopselectValue,"onUpdate:value":e=>this.propsPopselectValue=e,options:Ql,trigger:"click",multiple:!0,onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(A,{name:"expanded",size:X.tableIconSize,cursor:"pointer",style:"transform: rotate(270deg);"},null)]})}});function ss(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pe(e)}const ai=P({name:"RTable",inheritAttrs:!1,props:Ee,setup(e,t){const{expose:n,emit:a}=t,l=le("rTableInst"),o=le("wrapperRef"),i=He(16),s=He(16),c=Z({x:0,y:0,showContextMenu:!1}),u=Z({size:e.size}),p=M(Object.assign({striped:!1,bordered:!1},Pe(e,"striped","bordered"))),g=(d,v)=>{const{onContextMenuClick:C}=e;C&&D(C,d,v),c.showContextMenu=!1},b=(d,v)=>{var O;return{...(O=e.rowProps)==null?void 0:O.call(e,d,v),onContextmenu:e.disabledContextMenu?void 0:_=>{_.preventDefault(),c.showContextMenu=!1,q().then(()=>{c.showContextMenu=!0,c.x=_.clientX,c.y=_.clientY})}}},f=d=>{u.size=d},m=d=>{const{onUpdateColumns:v,"onUpdate:columns":C}=e;v&&D(v,d),C&&D(C,d)},y=()=>{const{toolOptions:d}=e;return d==null?void 0:d.filter(Boolean).map(v=>typeof v=="function"?v():v)},h=d=>{Object.keys(p.value).forEach(C=>{p.value[C]=d.includes(C)})},S=d=>{const{tool:v}=d;if(!v)return;const C=()=>r(E,{align:"center"},{default:()=>[r(as,d,null),r(es,F(d,{onChangeSize:f.bind(this)}),null),r(ts,null,null),r(os,F(d,{onUpdateColumn:m.bind(this)}),null),r(ls,F(d,{onPopselectChange:h.bind(this),onInitialed:h.bind(this)}),null)]});return e.toolOptions?e.coverTool?()=>{let O;return r(E,{align:"center"},ss(O=y())?O:{default:()=>[O]})}:()=>r(E,{align:"center"},{default:()=>[C(),y()]}):C};return et(()=>{const{onRegister:d}=e;d&&l.value&&D(d,l.value,{uuidTable:s,uuidWrapper:i,wrapperRef:o})}),zo(X.tableKey,{uuidTable:s,uuidWrapper:i,wrapperRef:o}),n(),{uuidWrapper:i,uuidTable:s,contextMenuReactive:c,rTableInst:l,combineRowProps:b,contextMenuSelect:g,privateReactive:u,tool:S,wrapperRef:o,propsPopselectValue:p}},render(){const{$props:e,$attrs:t,wrapperBordered:n,uuidWrapper:a,privateReactive:l,disabledContextMenu:o,contextMenuReactive:i,contextMenuOptions:s,uuidTable:c,title:u,$slots:p,propsPopselectValue:g,renderWrapperHeader:b}=this,{class:f,...m}=t,{tool:y,combineRowProps:h,contextMenuSelect:S}=this;return r(Ze,F(e.cardProps,{id:a},m,{ref:"wrapperRef",bordered:n,class:f}),{default:()=>r(fn,null,[r(ro,F({id:c},e,g,{rowProps:h.bind(this),size:l.size,ref:"rTableInst"}),{...p}),o?null:r(Se,{show:i.showContextMenu,placement:"bottom-start",trigger:"manual",x:i.x,y:i.y,options:s,onClickoutside:()=>i.showContextMenu=!1,onSelect:S.bind(this)},null)]),header:b?ue(u,{defaultElement:r("div",{style:"display: none;"},null)}):null,"header-extra":y(e),footer:()=>{var d;return(d=p.tableFooter)==null?void 0:d.call(p)},action:()=>{var d;return(d=p.tableAction)==null?void 0:d.call(p)}})}}),li=()=>{const e=M();let t={};const n=(f,m)=>{f&&(e.value=f,t=m)},a=()=>{if(!e.value)throw new Error("[useTable]: table instance is not ready yet. if you are using useTable, please make sure you have called register method in onRegister event.");return e.value};return[n,{getTableInstance:a,clearFilters:()=>a().clearFilters.call(null),clearSorter:()=>a().clearSorter.call(null),downloadCsv:f=>a().downloadCsv.call(null,f),filters:f=>a().filters.call(null,f),page:f=>a().page.call(null,f),scrollTo:f=>a().scrollTo(f),sort:(f,m)=>a().sort.call(null,f,m),print:f=>{const{uuidWrapper:m}=t;if(m){const y=document.getElementById(m);wn(y,f)}},filter:f=>a().filter.call(null,f)}]},xn=(e,t,n)=>{var a;if(e.length)for(const l of e){if(l[t]===n)return l;if((a=l==null?void 0:l.children)!=null&&a.length){const o=xn(l.children,t,n);if(o)return o}}},Yt=e=>{const t=H(e);return t?t.findIndex(a=>{const{type:l,multiple:o}=a;if(l==="selection"&&(o==null||o===!0))return!0})!==-1:!0},rs=(e,t,n,a)=>{const l=H(e);return l?t.reduce((o,i)=>{const s=H(n).findIndex(u=>u[a]===i);if(s!==-1)return o.push(H(n)[s]),o;const c=l.findIndex(u=>u[a]===i);return c!==-1&&o.push(l[c]),o},[]):n},si=(e,t,n)=>{const a=M([]),l=M([]),{rowKey:o="key",onChange:i}=n||{},s=w(()=>Yt(t)),c=(m,y,h)=>{a.value=m,l.value=H(rs(e,m,l,o)),i==null||i(m,l.value,h),Yt(t)},u=()=>a.value,p=()=>l.value,g=()=>{a.value=[],l.value=[],i==null||i(a.value,l.value,{row:void 0,action:"uncheckAll"})},b=m=>{if(m==null)return;let y;a.value=a.value.filter(h=>h!==m),l.value=l.value.filter(h=>h[o]===m?(y=h,!1):!0),i==null||i(a.value,l.value,{row:y,action:"uncheck"})},f=m=>{if(a.value.includes(m))return;const y=!s.value&&a.value.length>=1,h=xn(H(e)||[],o,m);y?a.value=[m]:a.value.push(m),h&&(y?l.value=[h]:l.value.push(h),i==null||i(a.value,l.value,{row:h,action:"check"}))};return Lt(()=>{g()}),[a,{checkedRows:l,checkedRowKeysBind:c,getKeys:u,getRows:p,clearAll:g,clearKey:b,selectKey:f}]},is={transitionPropName:"fade",transitionMode:"out-in",transitionAppear:!0},cs=P({name:"RTransitionComponent",__name:"index",props:Do({transitionPropName:{},transitionMode:{},transitionAppear:{type:Boolean}},is),setup(e){const{getKeepAliveInclude:t}=Cs(),{getKeepAliveConfig:n}=B();return(a,l)=>{const o=jo("RouterView");return ne(),Mt("div",null,[r(o,null,{default:ut(({Component:i,route:s})=>[i?(ne(),ke(xa,{key:0,name:a.transitionPropName,mode:a.transitionMode,appear:a.transitionAppear},{default:ut(()=>[(ne(),ke(No,null,{default:ut(()=>[H(n).setupKeepAlive?(ne(),ke(Vo,{key:0,max:H(n).maxKeepAliveLength,include:H(t),exclude:H(n).keepAliveExclude},[(ne(),ke($t(i),{key:s.fullPath}))],1032,["max","include","exclude"])):(ne(),ke($t(i),{key:s.fullPath}))]),_:2},1024))]),_:2},1032,["name","mode","appear"])):Fo("",!0)]),_:1})])}}}),us={...io,onRegister:{type:[Function,Array],default:null}},ri=P({name:"RForm",props:us,setup(e,{expose:t}){const n=le("formRef");return et(()=>{const{onRegister:a}=e;a&&n.value&&D(a,n.value)}),t(),{formRef:n}},render(){const{$attrs:e,$props:t,$slots:n}=this;return r(ln,F(e,t,{ref:"formRef"}),{...n})}}),ii=(e,t)=>{const n=M(),a=u=>{u&&(n.value=u)},l=()=>{if(!n.value)throw new Error("[useForm]: form instance is not ready yet. if you are using useForm, please make sure you have called register method in onRegister event.");return n.value};return[a,{getFormInstance:l,validate:(u,p)=>l().validate.call(null,u,p),restoreValidation:()=>l().restoreValidation.call(null),formModel:()=>We(e)||{},formRules:()=>We(t)||{}}]},ds=["addTabClass","addTabStyle","paneClass","paneStyle","paneWrapperStyle","tabClass","tabStyle","type","label","addable","closable","onAdd","onClose","placement","animated","justifyContent","builtinThemeOverrides","displayDirective"],ps={tabPaddingSmallSegment:"4px 7px",tabPaddingMediumSegment:"6px 11px",tabPaddingLargeSegment:"8px 11px"},ms=At({...co,options:{type:Array,default:()=>[]},width:{type:[Number,String],default:"fitContent"}},...ds);function hs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pe(e)}const Ot=e=>{const{icon:t,label:n}=e;return t?r(E,{align:"center",wrap:!1,size:"small"},{default:()=>{var a;return[(a=ue(t))==null?void 0:a(),r("div",null,[n])]}}):n},fs=e=>{if(typeof e.popover=="string")return r(xe,null,{trigger:()=>Ot(e),default:()=>e.popover});if(se(e.popover,"Object")){const{popover:t}=e,{label:n,...a}=t;return r(xe,a,{trigger:()=>Ot(e),default:()=>n})}},gs=P({name:"RSegment",props:ms,setup(e,{expose:t}){const n=w(()=>{const{width:a}=e;let l="";switch(a){case"block":l="100%";break;case"fitContent":l="fit-content";break;default:l=typeof a=="number"?V(a):"fit-content"}return{"--r-segment-width":l}});return t(),{cssVars:n}},render(){let e;const{$props:t,options:n,cssVars:a,themeOverrides:l}=this;return r(po,F(t,{ref:"segmentRef",style:[a],class:"r-segment",type:"segment",animated:!0,themeOverrides:Object.assign({},ps,l)}),hs(e=n.map(o=>r(uo,{key:o.key,name:o.key,tab:o.popover?fs(o):Ot(o),disabled:o.disabled},{...o.slots})))?e:{default:()=>[e]})}}),vs={width:{type:[String,Number],default:"auto"},height:{type:[String,Number],default:"auto"},loading:{type:Boolean,default:!1},barcodeRender:{type:String,default:"canvas",validator:e=>["canvas","svg"].includes(e)},text:{type:String},options:{type:Object,default:()=>({})},format:{type:String,default:()=>"CODE128"},watchText:{type:Boolean,default:!0},onSuccess:{type:[Function,Array]},onError:{type:[Function,Array]},onFinally:{type:[Function,Array]}},ci=P({name:"RBarcode",props:vs,setup(e){const t=le("barcodeRef"),n=w(()=>({"--r-barcode-width":V(e.width),"--r-barcode-height":V(e.height)}));let a;const l=()=>{try{const{format:o,text:i,options:s,onSuccess:c}=e,u=Object.assign({},s,{format:o});$o(t.value,i!=null?i.toString():"",u),c&&D(c,i,o,s)}catch(o){const{onError:i}=e;i&&D(i,o)}finally{const{onFinally:o}=e;o&&D(o)}};return Te(()=>{e.watchText?a=de(()=>e.text,l):a==null||a()}),et(()=>{l()}),mn(()=>{a==null||a()}),{barcodeRef:t,cssVars:n}},render(){const{barcodeRender:e,loading:t,cssVars:n}=this,a=["r-barcode",{"r-barcode--loading":t}];return r(Qe,{class:"r-barcode-spin",show:t},{default:()=>[e==="canvas"?r("canvas",{class:a,style:n,ref:"barcodeRef"},null):r("svg",{class:a,style:n,ref:"barcodeRef"},null)]})}}),ys=(e,t,n)=>!e||typeof e!="object"?!1:e[t]===n,Mn=(e,t,n)=>{const a=[];if(ys(e,t,n))return a.push(e),a;if(e.children&&e.children.length>0)for(const l of e.children){const o=Mn(l,t,n);o.length>0&&a.push(e,...o)}return a},bs=(e,t,n)=>{const a=[];for(const l of e){const o=Mn(l,t,n);o.length>0&&a.push(...o)}return a},Xt=e=>{const{breadcrumbLabel:t}=e;if(!t)return;const{sideBarLogo:n}=Le(),a=n?n.title:"";document.title=t+" - "+a},_s=e=>{const{meta:{icon:t}}=e;if(!t)return;if(se(t,"Object"))return()=>t;const{menuConfig:n}=Le(),a=tt(A,{name:t,size:n.collapsedIconSize,cursor:"pointer"},{});return()=>a},In=e=>{const{meta:{extra:t}}=e;if(!t)return;const{show:n}=t;if(n===!1)return;const{t:a}=Ie(),{label:l,icon:o,type:i,i18nLabel:s}=t,c={type:"primary",size:"small",round:!0,bordered:!1,strong:!0},u=()=>s?a(s):l||null,p=()=>o&&(s||l)||!o&&(s||l)?null:{"padding-right":"0"};if(se(t,"Object"))return()=>tt(mo,{...c,type:i||"primary",style:p()},{default:()=>u(),icon:()=>o})},Jt=()=>{const{getRootPath:e}=Oe();return Ge(G.appMenuKey,"sessionStorage",{defaultValue:e.value})},Ln=()=>Nl(zl()),Ss=()=>jl(Ln()),Rt=["redirect","breadcrumbLabel","children","key","meta","name","path","show","fullPath"];let Fe;const En=(e,t)=>{var n;if(Fe&&Kt(Fe.fullPath,t))return Fe;for(const a of e){if(Kt(a.fullPath,t))return Fe=a,a;if((n=a.children)!=null&&n.length){En(a.children,t);continue}}},zn=nt("menu",()=>{const{push:e,getRoutes:t}=ot(),n=la(),{t:a}=Ie(),{setKeepAliveInclude:l}=Ts(),o=Z({menuKey:Jt(),options:[],collapsed:!1,menuTagOptions:[],breadcrumbOptions:[],currentMenuOption:null}),i=M(!0),s=(d,v,C)=>{yn(o,d,v,C)},c=d=>{const{meta:v}=d,{i18nKey:C,noLocalTitle:O}=v,_=w(()=>C?a(`${C}`):O),T={...d,key:d.fullPath,label:()=>tt(sn,null,{default:()=>_.value}),breadcrumbLabel:_.value},L=Object.assign({},T,{icon:_s(d),extra:In(d)});return d.fullPath===Jt()&&(o.currentMenuOption=L),L.show=Rn(L),L},u=d=>{o.breadcrumbOptions=bs(o.options,"fullPath",d)},p=(d,v=!0)=>{const O=Array.isArray(d)?[...d]:[d];v?o.menuTagOptions.push(...O):o.menuTagOptions=O},g=(d,v)=>{o.menuTagOptions.find(O=>O.fullPath===d)||o.menuTagOptions.push(v)},b=(d,v,C)=>{const{meta:O}=v;if(O.windowOpen)window.open(O.windowOpen);else{e({path:String(d),query:C});const{sameLevel:_}=O;if(l(v),Xt(v),!_)g(d,v),u(d),o.menuKey=d,o.currentMenuOption=v,It(G.appMenuKey,d);else{const T=Pe(c(v),Rt);o.breadcrumbOptions.find(R=>R.key===T.key)||o.breadcrumbOptions.push({...T,fullPath:String(T.key)})}}},f=async(d,v)=>{const[C]=d.split("?"),O=t().find(_=>_.path===C);if(!((O==null?void 0:O.path)==="/"||!(O!=null&&O.path)||(O==null?void 0:O.path)==="/login")&&O){const _=Pe(O,Rt);b(C,c({..._,fullPath:_.path}),v)}},m=()=>new Promise(d=>{const v=(C,O)=>{var T;const _=[];for(const L of C){let R=`${O.endsWith("/")?O:O+"/"}${L.path}`;if(R=R.replace(/\/+/g,"/"),(T=L.children)!=null&&T.length)L.children=v(L.children,R);else if(!Vn(L.meta))continue;_.push(c({...L,fullPath:R}))}return _};if(o.options=v(Ln(),""),o.currentMenuOption){const{currentMenuOption:C}=o;o.breadcrumbOptions.length||u(C.key),g(C.fullPath,C),Xt(C)}d()}),y=d=>o.collapsed=d,h=(d,v=1)=>o.menuTagOptions.splice(d,v),S=async()=>{i.value&&(await m(),i.value=!1)};return de(()=>n.fullPath,async(d,v)=>{await S(),d!==v&&await f(d,n.query)},{immediate:!0}),{...Ce(o),changeMenuModelValue:b,collapsedMenu:y,spliceMenTagOptions:h,setMenuTagOptions:p,resolveOption:c,updateMenuState:s}},{persist:{key:G.appPiniaMenuStore,storage:window.localStorage,pick:["breadcrumbOptions","menuKey","menuTagOptions","collapsed"]}}),Dn=nt("signing",()=>{const e=Z({signingCallback:{}}),t=l=>new Promise((o,i)=>{nn(l)?i({code:1,message:"登陆失败",data:null}):(e.signingCallback={role:"admin",name:l.name,avatar:"https://avatars.githubusercontent.com/u/51957438?v=4"},o({code:0,message:"登陆成功",data:e.signingCallback}))}),n=l=>{const{closeAll:o}=$n(),{appPiniaMenuStore:i,appPiniaSigningStore:s,token:c,signing:u,appMenuKey:p}=G;window.$message.info("账号退出中..."),ge("__all_sessionStorage__","sessionStorage"),ge(s,"localStorage"),ge(i,"localStorage"),ge(c,"localStorage"),ge(u,"localStorage"),ge(p,"localStorage"),o(),l&&(window.location.replace("#/"),setTimeout(()=>{window.location.reload()},0))},a=()=>{n(!0)};return{...Ce(e),signing:t,logout:a,clearSigningCallback:n}},{persist:{key:G.appPiniaSigningStore,pick:["signingCallback"],storage:window.localStorage}}),jn=nt("keepAlive",()=>{const e=Z({keepAliveInclude:[]}),t=()=>e.keepAliveInclude.length,n=l=>{const o=t(),{name:i,meta:{keepAlive:s}}=l,{maxKeepAliveLength:c}=Le().keepAliveConfig;if(s){if(o=c&&(e.keepAliveInclude.splice(0,1),e.keepAliveInclude.push(i))}},a=()=>e.keepAliveInclude;return{...Ce(e),setKeepAliveInclude:n,getKeepAliveInclude:a}},{persist:{key:G.appPiniaKeepAliveStore,storage:window.sessionStorage,pick:["keepAliveInclude"]}}),me=()=>{const e=zn(),t=w(()=>e.options),n=w(()=>e.breadcrumbOptions),a=w(()=>e.menuKey),l=w(()=>{const{getRootPath:s}=Oe();return e.menuTagOptions.map((c,u,p)=>(c.key===a.value&&c.key!==s.value?c.closeable=!0:c.closeable=!1,c.key===s.value&&(c.closeable=!1),p.length<=1&&(c.closeable=!1),c))}),o=w(()=>e.currentMenuOption),i=w(()=>e.collapsed);return{getMenuOptions:t,getBreadcrumbOptions:n,getMenuKey:a,getMenuTagOptions:l,getCurrentMenuOption:o,getCollapsed:i}},ze=()=>{const{changeMenuModelValue:e,collapsedMenu:t,spliceMenTagOptions:n,setMenuTagOptions:a,resolveOption:l,updateMenuState:o}=zn();return{changeMenuModelValue:e,collapsedMenu:t,spliceMenTagOptions:n,setMenuTagOptions:a,resolveOption:l,updateMenuState:o}},B=()=>{const e=Le(),t=w(()=>e.drawerPlacement),n=w(()=>e.primaryColorOverride),a=w(()=>e._appTheme),l=w(()=>e.appTheme),o=w(()=>e.menuTagSwitch),i=w(()=>e.breadcrumbSwitch),s=w(()=>e.localeLanguage),c=w(()=>e.lockScreenSwitch),u=w(()=>e.copyrightSwitch),p=w(()=>e.contentTransition),g=w(()=>e.watermarkSwitch),b=w(()=>e.watermarkConfig),f=w(()=>e.appRootRoute),m=w(()=>e.sideBarLogo),y=w(()=>e.keepAliveConfig),h=w(()=>e.menuConfig);return{getDrawerPlacement:t,getPrimaryColorOverride:n,getAppTheme:a,getMenuTagSwitch:o,getBreadcrumbSwitch:i,getLocaleLanguage:s,getLockScreenSwitch:c,getCopyrightSwitch:u,getContentTransition:p,getWatermarkSwitch:g,getWatermarkConfig:b,getAppRootRoute:f,getSideBarLogo:m,getKeepAliveConfig:y,getMenuConfig:h,getAppThemeStr:l}},K=()=>{const{updateLocale:e,changePrimaryColor:t,updateSettingState:n}=Le();return{updateLocale:e,changePrimaryColor:t,updateSettingState:n}},Nn=()=>{const e=Dn();return{getSigningCallback:w(()=>e.signingCallback)}},ws=()=>{const{signing:e,logout:t,clearSigningCallback:n}=Dn();return{signing:e,logout:t,clearSigningCallback:n}},Cs=()=>{const e=jn();return{getKeepAliveInclude:w(()=>e.keepAliveInclude)}},Ts=()=>{const{setKeepAliveInclude:e,getKeepAliveInclude:t}=jn();return{setKeepAliveInclude:e,getKeepAliveInclude:t}},ui=e=>{const t=Zo();e.use(t),t.use(Jo)},Vn=e=>{const{getSigningCallback:t}=Nn(),{role:n}=e;return Ve!=null&&Ve.length&&Ve.includes(t.value.role)||!n||!(n!=null&&n.length)?!0:n?n.includes(t.value.role):!0},Os=e=>{const{setupRouterLoadingBar:t,setupRouterGuard:n}=Ba;t&&Bl(e),n&&Vl(e)},Rs=M(),ks=P({name:"SiderBarLogo",props:{collapsed:{type:Boolean,required:!0}},setup(){const e=ot(),{getSideBarLogo:t}=B();return{sideBarLogo:t,sideBarLogoClick:()=>{t.value&&t.value.url&&(t.value.jumpType==="station"?e.push(t.value.url):window.open(t.value.url))},TemplateLogo:({cursor:l})=>{if(!t.value)return null;if(typeof t.value.icon=="string")return r(A,{name:t.value.icon,size:"30",cursor:l},null);if(se(t.value.icon,"Object"))return ue(t.value.icon)}}},render(){const{sideBarLogo:e,collapsed:t,TemplateLogo:n,sideBarLogoClick:a}=this;return e!=null&&e.title?r("div",{class:["ray-menu__logo",e!=null&&e.url?"ray-menu__logo-url":null],onClick:a.bind(this),ref:Rs},[e!=null&&e.icon?t?r(qe,{placement:"right"},{trigger:()=>n({cursor:"pointer"}),default:()=>e.title}):n({cursor:"pointer"}):t?r(qe,{placement:"right"},{trigger:()=>{var l;return r("h1",{class:"n-menu-item-content"},[((l=e.title)==null?void 0:l[0])||null])},default:()=>e.title}):null,r("h1",{class:[t?null:"ray-menu__logo-title--open","ray-menu__logo-title",'class="n-menu-item-content"']},[r(sn,null,{default:()=>[e.title]})])]):null}}),As=P({name:"AppMenu",setup(){const e=M(null),{changeMenuModelValue:t,collapsedMenu:n,updateMenuState:a}=ze(),{getMenuConfig:l}=B(),{getMenuOptions:o,getCollapsed:i,getMenuKey:s}=me(),c=w({get:()=>(q().then(()=>{g()}),s.value),set:()=>{u.value&&ae("globalDrawerValue",!1)}}),{isTabletOrSmaller:u}=lt({observer:f=>{f&&a("collapsed",!1)}}),p=w({get:()=>at("globalDrawerValue").value,set:f=>{ae("globalDrawerValue",f)}}),g=()=>{const f=c.value;f!=null&&q(()=>{var m,y;return(y=(m=e.value)==null?void 0:m.showOption)==null?void 0:y.call(m,f)})};return{isTabletOrSmaller:u,BasicMenu:()=>r(fo,{class:"app-menu__sider",showTrigger:!u.value,collapseMode:l.value.collapsedMode,collapsedWidth:l.value.collapsedWidth,onUpdateCollapsed:n.bind(this),nativeScrollbar:!1,ref:Tn,collapsed:i.value,onExpand:()=>{a("collapsed",!1)},onCollapse:()=>{a("collapsed",!0)}},{default:()=>[r(ks,{collapsed:i.value},null),r(ho,{ref:e,class:"r-menu--app",keyField:"fullPath",value:c.value,"onUpdate:value":f=>c.value=f,options:o.value,indent:l.value.collapsedIndent,collapsed:i.value,collapsedIconSize:l.value.collapsedIconSize,collapsedWidth:l.value.collapsedWidth,onUpdateValue:(f,m)=>{t(f,m)},accordion:l.value.accordion},null)]}),modelGlobalDrawerValue:p}},render(){const{isTabletOrSmaller:e,BasicMenu:t}=this;return e?r(rn,{class:"app-menu__drawer",show:this.modelGlobalDrawerValue,"onUpdate:show":n=>this.modelGlobalDrawerValue=n,placement:"left",displayDirective:"show",autoFocus:!1},{default:()=>[r(t,null,null)]}):r(t,null,null)}});class Ps{constructor(){jt(this,"pendingRequest");this.pendingRequest=new Map}isAppending(t){var n;return((n=t.cancelConfig)==null?void 0:n.cancel)??!0}generateRequestKey(t){const{method:n,url:a}=t;return[a||"",n||"",JSON.stringify(t.params),JSON.stringify(t.data)].join("&")}addPendingRequest(t){var n;if(this.isAppending(t)){t.__CANCELER_TAG_RAY_TEMPLATE__="__CANCELER_TAG_RAY_TEMPLATE__";const a=this.generateRequestKey(t);if(this.pendingRequest.has(a))t.signal=(n=this.pendingRequest.get(a))==null?void 0:n.signal;else{const l=new AbortController;t.signal=l.signal,this.pendingRequest.set(a,l)}}}removePendingRequest(t){const n=this.generateRequestKey(t);this.pendingRequest.has(n)&&(this.pendingRequest.get(n).abort(),this.pendingRequest.delete(n))}cancelAllRequest(){this.pendingRequest.forEach(t=>{t.abort()})}}const mt={requestInstance:null,responseInstance:null},ht={implementRequestInterceptorArray:[],implementResponseInterceptorArray:[]},Be={implementRequestInterceptorErrorArray:[],implementResponseInterceptorErrorArray:[]},xs=new Ps,di=()=>{const e=(s,c)=>{c==="requestInstance"?mt.requestInstance=s:mt.responseInstance=s},t=s=>mt[s],n=(s,c,u)=>{u==="ok"?ht[s]=c:Be[s]=c},a=(s,c)=>c==="ok"?ht[s]:Be[s],l=(s,...c)=>{Array.isArray(s)&&s.forEach(u=>{typeof u=="function"&&u(...c)})};return{createAxiosInstance:e,setImplement:n,getImplement:a,getAxiosInstance:t,beforeFetch:(s,c,u)=>{const p=u==="ok"?ht[c]:Be[c],g=t(s),{MODE:b}=Ct();g&&l(p,g,b)},fetchError:(s,c,u)=>{const p=Be[u],{MODE:g}=Ct();l(p,c,g)}}},Ms=P({name:"AppRequestCancelerProvider",setup(e,{expose:t}){sa(()=>{xs.cancelAllRequest()}),t()},render(){return r("div",{class:"app-style-provider"},null)}}),Fn=P({name:"LayoutContentWrapper",setup(){ot();const{maximize:e}=Bn(),{getContentTransition:t}=B(),n=M(!1),a={opacitySpinning:"0"},{globalMainLayoutLoad:l,layoutContentMaximize:o,layoutContentSpinning:i}=Ka();return{globalMainLayoutLoad:l,spinning:n,themeOverridesSpin:a,getContentTransition:t,layoutContentMaximize:o,maximize:e,layoutContentSpinning:i}},render(){const{globalMainLayoutLoad:e,layoutContentMaximize:t,layoutContentSpinning:n,maximize:a,spinning:l,themeOverridesSpin:o,getContentTransition:i}=this;return r(Qe,{show:l||!e||n,description:"loading...",size:"large",themeOverrides:o,class:[t?"r-layout-full__viewer-content--maximize":null,"r-layout-full__viewer-content--maximize--light","r-layout-full__viewer-content--maximize--dark"]},{default:()=>[t?r("div",{class:"layout-content__maximize-out",onClick:()=>{a(!1)}},[r(A,{name:"out",size:"16",cursor:"pointer"},null)]):null,r(Ms,null,null),e?r(cs,{class:"content-wrapper",transitionPropName:i+"-transform"},null):null]})}}),Is=Object.freeze(Object.defineProperty({__proto__:null,default:Fn},Symbol.toStringTag,{value:"Module"}));var Ls={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const Es=P({name:"LayoutFooterWrapper",setup(){const{layout:{copyright:e}}=Ls;return{copyright:e}},render(){return this.copyright?r("div",{class:"layout-footer-wrapper"},[this.copyright]):""}}),zs=P({name:"TooltipIcon",props:{...go,iconName:{type:String,required:!0},customClassName:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["click"],setup(e,{emit:t}){const n=l=>{t("click",l)};return{iconClick:n,Icon:()=>r(A,{name:e.iconName,size:"18",customClassName:`tooltip-text__icon ${e.customClassName}`,cursor:"pointer",onClick:n.bind(this)},null)}},render(){const{Icon:e}=this;return this.tooltipText?r(qe,this.$props,{trigger:()=>r(e,null,null),default:()=>this.tooltipText}):r(e,null,null)}}),Ds=P({name:"ThemeSegment",setup(){const{system:e}=dn(),{getAppThemeStr:t,getAppTheme:n}=B(),{updateSettingState:a}=K(),l=[{label:"深色",key:"dark",icon:()=>r(A,{name:"dark",size:"16"},null)},{label:"浅色",key:"light",icon:()=>r(A,{name:"light",size:"16"},null)},{label:"自动",key:"auto",icon:()=>r(A,{name:"system_os",size:"16"},null)}],o=w({get:()=>t.value==="auto"?"auto":n.value?"dark":"light",set:s=>{i(s,e.value)}}),i=(s,c)=>{if(s==="auto"){a("_appTheme",c==="dark"),a("appTheme","auto");return}a("_appTheme",s==="dark"),a("appTheme",s)};return Te(()=>{i(o.value,e.value)}),{options:l,modelAppTheme:o}},render(){const{options:e}=this;return r(gs,{options:e,size:"small",width:"block",value:this.modelAppTheme,"onUpdate:value":t=>this.modelAppTheme=t},null)}}),js={contentTransition:"scale",watermarkSwitch:!1,keepAliveConfig:{maxKeepAliveLength:10,setupKeepAlive:!0},menuConfig:{collapsedWidth:64,collapsedMode:"width",collapsedIconSize:22,collapsedIndent:24,accordion:!1},menuTagSwitch:!0,breadcrumbSwitch:!0,copyrightSwitch:!0,drawerPlacement:"right"};function ft(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pe(e)}const Ns=P({name:"SettingDrawer",props:{show:{type:Boolean,default:!1},placement:{type:String,default:"right"},width:{type:Number,default:280}},emits:["update:show"],setup(e,{emit:t}){const{changePrimaryColor:n,updateSettingState:a}=K(),{getAppTheme:l,getPrimaryColorOverride:o,getMenuTagSwitch:i,getBreadcrumbSwitch:s,getCopyrightSwitch:c,getContentTransition:u,getWatermarkSwitch:p,getKeepAliveConfig:g,getMenuConfig:b,getDrawerPlacement:f}=B(),m=w({get:()=>e.show,set:S=>{t("update:show",S)}}),y=w({get:()=>({getMenuTagSwitch:i.value,getBreadcrumbSwitch:s.value,getCopyrightSwitch:c.value,getContentTransition:u.value,getWatermarkSwitch:p.value,getKeepAliveConfig:g.value,getMenuConfig:b.value,getDrawerPlacement:f.value}),set:S=>{}});return{modelShow:m,changePrimaryColor:n,getAppTheme:l,getPrimaryColorOverride:o,updateSettingState:a,modelReactive:y,defaultSettingBtnClick:()=>{Zn(js,(S,d)=>{a(d,S)})}}},render(){let e,t,n;const{$t:a,changePrimaryColor:l,updateSettingState:o,defaultSettingBtnClick:i}=this;return r(rn,{show:this.modelShow,"onUpdate:show":s=>this.modelShow=s,placement:this.placement,width:this.width,trapFocus:!1,autoFocus:!1},{default:()=>[r(vo,{title:"系统配置"},{default:()=>[r(E,{class:"setting-drawer__space",vertical:!0},{default:()=>[r(Q,{titlePlacement:"center"},ft(e=a("headerSettingOptions.ThemeOptions.Title"))?e:{default:()=>[e]}),r(Ds,null,null),r(Q,{titlePlacement:"center"},ft(t=a("headerSettingOptions.ThemeOptions.PrimaryColorConfig"))?t:{default:()=>[t]}),r(yo,{swatches:Y.appThemeColors,value:this.getPrimaryColorOverride.common.primaryColor,"onUpdate:value":s=>this.getPrimaryColorOverride.common.primaryColor=s,onUpdateValue:l.bind(this)},null),r(Q,{titlePlacement:"center"},ft(n=a("headerSettingOptions.ContentTransition"))?n:{default:()=>[n]}),r(Ft,{value:this.modelReactive.getContentTransition,"onUpdate:value":s=>this.modelReactive.getContentTransition=s,options:Da,onUpdateValue:s=>{o("contentTransition",s)}},null),r(Q,{titlePlacement:"center"},{default:()=>[ce("抽屉位置")]}),r(Ft,{value:this.modelReactive.getDrawerPlacement,"onUpdate:value":s=>this.modelReactive.getDrawerPlacement=s,options:[{label:"右边",value:"right"},{label:"左边",value:"left"}],onUpdateValue:s=>{o("drawerPlacement",s)}},null),r(Q,{titlePlacement:"center"},{default:()=>[ce("系统设置")]}),r(bo,{labelPlacement:"left",column:1},{default:()=>[r(he,{label:"菜单手风琴"},{default:()=>[r(fe,{value:this.modelReactive.getMenuConfig.accordion,"onUpdate:value":s=>this.modelReactive.getMenuConfig.accordion=s,onUpdateValue:s=>o("menuConfig",{accordion:s})},null)]}),r(he,{label:"页面缓存"},{default:()=>[r(fe,{value:this.modelReactive.getKeepAliveConfig.setupKeepAlive,"onUpdate:value":s=>this.modelReactive.getKeepAliveConfig.setupKeepAlive=s,onUpdateValue:s=>o("keepAliveConfig",{setupKeepAlive:s})},null)]}),r(he,{label:"多标签"},{default:()=>[r(fe,{value:this.modelReactive.getMenuTagSwitch,"onUpdate:value":s=>this.modelReactive.getMenuTagSwitch=s,onUpdateValue:s=>o("menuTagSwitch",s)},null)]}),r(he,{label:"面包屑"},{default:()=>[r(fe,{value:this.modelReactive.getBreadcrumbSwitch,"onUpdate:value":s=>this.modelReactive.getBreadcrumbSwitch=s,onUpdateValue:s=>o("breadcrumbSwitch",s)},null)]}),r(he,{label:"水印"},{default:()=>[r(fe,{value:this.modelReactive.getWatermarkSwitch,"onUpdate:value":s=>this.modelReactive.getWatermarkSwitch=s,onUpdateValue:s=>o("watermarkSwitch",s)},null)]}),r(he,{label:"版权信息"},{default:()=>[r(fe,{value:this.modelReactive.getCopyrightSwitch,"onUpdate:value":s=>this.modelReactive.getCopyrightSwitch=s,onUpdateValue:s=>o("copyrightSwitch",s)},null)]})]}),r(Q,{titlePlacement:"center"},{default:()=>[ce("菜单样式")]}),r(ln,{showFeedback:!0,showRequireMark:!1},{default:()=>[r(it,{label:"每级菜单缩进"},{default:()=>[r(Ne,{value:this.modelReactive.getMenuConfig.collapsedIndent,"onUpdate:value":s=>this.modelReactive.getMenuConfig.collapsedIndent=s,min:24,precision:0,onUpdateValue:s=>{s!==null&&o("menuConfig",{collapsedIndent:s})}},null)]}),r(it,{label:"折叠菜单图标尺寸"},{default:()=>[r(Ne,{value:this.modelReactive.getMenuConfig.collapsedIconSize,"onUpdate:value":s=>this.modelReactive.getMenuConfig.collapsedIconSize=s,min:22,precision:0,onUpdateValue:s=>{s!==null&&o("menuConfig",{collapsedIconSize:s})}},null)]}),r(it,{label:"折叠菜单宽度",showFeedback:!1},{default:()=>[r(Ne,{value:this.modelReactive.getMenuConfig.collapsedWidth,"onUpdate:value":s=>this.modelReactive.getMenuConfig.collapsedWidth=s,min:64,precision:0,onUpdateValue:s=>{s!==null&&o("menuConfig",{collapsedWidth:s})}},null)]})]}),r(Q,{titlePlacement:"center"},{default:()=>[r(E,{wrap:!1,align:"center",size:[4,0]},{default:()=>[r(qe,{placement:"top",showArrow:!1},{trigger:()=>r(A,{name:"question",size:"16"},null),default:()=>"当设置为【0】时,缓存将会失效"}),r(cn,null,{default:()=>[ce("最大缓存数")]})]})]}),r(Ne,{value:this.modelReactive.getKeepAliveConfig.maxKeepAliveLength,"onUpdate:value":s=>this.modelReactive.getKeepAliveConfig.maxKeepAliveLength=s,showButton:!0,min:0,max:100,precision:0,disabled:!this.modelReactive.getKeepAliveConfig.setupKeepAlive},null),r(Q,{titlePlacement:"center"},{default:()=>[ce("操作")]}),r(E,null,{default:()=>[r(we,{type:"primary",block:!0,onClick:i},{default:()=>[ce("清除设置")]})]})]})]})]})}});function Vs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pe(e)}const Fs=P({name:"SiderBarBreadcrumb",setup(){const{changeMenuModelValue:e}=ze(),{getBreadcrumbOptions:t}=me(),{isTabletOrSmaller:n}=lt();return{getBreadcrumbOptions:t,dropdownSelect:(o,i)=>{e(o,i)},breadcrumbItemClick:o=>{var i;if(!((i=o.children)!=null&&i.length)){const{meta:s={}}=o;s.sameLevel||e(o.fullPath,o)}},isTabletOrSmaller:n}},render(){let e;const{isTabletOrSmaller:t,getBreadcrumbOptions:n}=this,{dropdownSelect:a,breadcrumbItemClick:l}=this;return t?r("div",{style:"display: none;"},null):r(So,null,{default:()=>[r(Ma,{tag:"li",name:"breadcrumb",appear:!0},Vs(e=n.map(o=>r(_o,{key:o.fullPath,onClick:l.bind(this,o)},{default:()=>{var i;return[r(Se,{labelField:"breadcrumbLabel",keyField:"fullPath",options:o.children&&((i=o.children)==null?void 0:i.length)>1?o.children:[],onSelect:a.bind(this)},{default:()=>r("span",null,[o.label&&typeof o.label=="function"?o.label():o.breadcrumbLabel])})]}})))?e:{default:()=>[e]})]})}});function gt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pe(e)}const Bs=P({name:"GlobalSearch",props:{show:{type:Boolean,default:!1}},emits:["update:show"],setup(e,{emit:t}){const{changeMenuModelValue:n,resolveOption:a}=ze(),{getRoutes:l}=ot(),o=w({get:()=>e.show,set:_=>{t("update:show",_),_||f()}}),i=Z({searchValue:null,searchOptions:[]}),s=[{icon:["↑","↓"],label:"切换",plain:!0},{icon:["↵"],label:"选择",plain:!0},{icon:["esc"],label:"关闭",plain:!0}];let c=0,u=c;const{isTabletOrSmaller:p}=lt(),g=M(!1),b="content-item--active",f=()=>{i.searchOptions=[],i.searchValue=null,c=0,u=c},m=_=>{o.value||(_.ctrlKey||_.metaKey)&&_.key==="k"&&(_.preventDefault(),_.stopPropagation(),f(),o.value=!0)},y=_=>{if(_)g.value=!0;else{g.value=!1,i.searchOptions=[];return}const T=l().reduce((L,R)=>{var $;const z=Pe(R,["children","meta","path","name"]),N=a({...z,fullPath:R.path}),{breadcrumbLabel:U}=N;return($=U==null?void 0:U.toLocaleLowerCase())!=null&&$.includes(_.toLocaleLowerCase())&&Rn(N)&&L.push(N),L},[]);setTimeout(()=>{i.searchOptions=T,q().then(()=>{S()}),g.value=!1},500)},h=_=>{if(_){const{meta:T}=_;T.windowOpen?window.open(T.windowOpen):(o.value=!1,n(_.fullPath,_),setTimeout(qo,300))}},S=()=>{const _=i.searchOptions[c],T=i.searchOptions[u];_&&q().then(()=>{const L=Ye(`attr:data_path="${_.path}"`),R=T?Ye(`attr:data_path="${T==null?void 0:T.path}"`):null;if(R!=null&&R.length){const[z]=R;Go(z,b)}if(L!=null&&L.length){const[z]=L;Sn(z,b)}})},d=_=>{const{icon:T}=_;return typeof T=="string"?r(A,{name:T,size:"24"},null):typeof T=="function"?()=>T:r(A,{name:"search",size:"24"},null)},v=_=>{_==="up"&&(c-=1,c<0&&(c=i.searchOptions.length-1)),_==="down"&&(c+=1,c>=i.searchOptions.length&&(c=0))},C=_=>{const T=_.key;switch((T==="ArrowUp"||T==="ArrowDown"||T==="Enter")&&(_.preventDefault(),_.stopPropagation()),u=c<=0?0:c,T){case"ArrowUp":v("up");break;case"ArrowDown":v("down");break;case"Enter":const L=i.searchOptions[c];L&&h(L);break}S()},O=({menuOption:_})=>r(E,F({align:"center",class:"content-item"},{onClick:h.bind(this,_),data_path:_.path}),{default:()=>[r("div",{class:"content-item-icon"},[d(_.meta)]),r("div",{class:"content-item-label"},[_.breadcrumbLabel]),r(A,{name:"enter",size:"18",customClassName:"content-item-icon__enter"},null)]});return Te(()=>{p.value&&(o.value=!1)}),Me(window,"keydown",_=>{m(_),C(_)},!0),{...Ce(i),modelShow:o,helperTipOptions:s,fuzzySearchMenuOptions:kt(y,300),searchItemClick:h,RenderPreIcon:d,isTabletOrSmaller:p,SearchItem:O,loading:g}},render(){const{isTabletOrSmaller:e,searchOptions:t,loading:n}=this,{SearchItem:a,fuzzySearchMenuOptions:l}=this;return e?r("div",{style:"display: none;"},null):r(on,{show:this.modelShow,"onUpdate:show":o=>this.modelShow=o,transformOrigin:"center",displayDirective:"if"},{default:()=>[r("div",{class:"global-search global-search--dark global-search--light"},[r("div",{class:"global-search__wrapper"},[r(Ze,{class:"global-search__card",headerStyle:{padding:"12px 12px 0 12px"},contentStyle:{padding:"12px"},segmented:{action:"soft"}},{header:()=>r(wo,{size:"large",value:this.searchValue,"onUpdate:value":o=>this.searchValue=o,clearable:!0,onInput:l.bind(this)},{prefix:()=>r(A,{name:"search",size:"24"},null)}),default:()=>{let o;return r(Pt,null,{default:()=>[r(Qe,{show:n},{default:()=>[t.length?r(E,{vertical:!0,size:[0,6],class:"global-search__card-content"},gt(o=t.map((i,s)=>r(a,{menuOption:i,key:i.fullPath},null)))?o:{default:()=>[o]}):r(Co,{size:"large",class:"global-search__empty"},{icon:()=>null,default:()=>r(E,{justify:"center",class:"global-search__empty-content"},{default:()=>[r(cn,null,{default:()=>[ce("没有搜索结果")]})]})})]})]})},action:()=>{let o;return r(E,{justify:"flex-start",align:"center",size:[16,0]},gt(o=this.helperTipOptions.map(i=>r(E,{key:i.label,size:[4,0]},{default:()=>[i.icon.map(s=>r(E,{class:"item-icon",align:"center",justify:"center"},gt(s)?s:{default:()=>[s]})),r(E,{class:"item-label",align:"center"},{default:()=>[i.label]})]})))?o:{default:()=>[o]})}})])])]})}}),$s=P({name:"GlobalSearchButton",props:{onClick:{type:[Function,Array],default:null}},setup(e){return{getShortcutKeyAboutSystem:()=>{const a=Ho();return a==="MacOS"?"⌘ + K":"CTRL + K"},click:a=>{const{onClick:l}=e;l&&D(l,a)}}},render(){const{getShortcutKeyAboutSystem:e,click:t,$t:n}=this;return r(we,{class:"global-search__btn-wrapper",bordered:!1,onClick:t.bind(this)},{icon:()=>r(A,{name:"search",size:"16"},null),default:()=>r(E,{align:"center"},{default:()=>[n("headerTooltip.Search"),r("div",{class:"global-search-btn__label"},[e()])]})})}}),Ks=P({name:"AppAvatar",props:{...To,cursor:{type:String,default:"auto"},spaceSize:{type:[String,Number,Array],default:"medium"},avatarSize:{type:[String,Number],default:"medium"},vertical:{type:Boolean,default:!1}},setup(){const{getSigningCallback:e}=Nn();return{getSigningCallback:e}},render(){const{getSigningCallback:e,avatarSize:t,spaceSize:n,$props:a,vertical:l}=this;return r(we,{quaternary:!0,strong:!0},{default:()=>[r(E,{align:"center",size:n,vertical:l},{default:()=>[r(Oo,F(a,{src:e==null?void 0:e.avatar,objectFit:"cover",round:!0,size:t}),null),e==null?void 0:e.name]})]})}}),Us=()=>[{key:"person",label:"个人信息"},{key:"lockScreen",label:"锁定屏幕"},{type:"divider",key:"d1"},{key:"logout",label:"退出登陆"}],Ws={logout:()=>{const{logout:e}=ws();window.$dialog.warning({title:"提示",content:"您确定要退出登录吗",positiveText:"确定",negativeText:"不确定",onPositiveClick:()=>{e()}})},lockScreen:()=>{const{updateSettingState:e}=K();e("lockScreenSwitch",!0)}},qs=e=>{const t=Ws[e];t?t():window.$message.info("这个人很懒, 没做这个功能~")},Gs=e=>{const{isTabletOrSmaller:t}=e,n=[],a=[{name:"menu",size:18,eventKey:"menu"}];return t.value?a:n},Hs=e=>{const{isTabletOrSmaller:t}=e,n=[{name:"fullscreen",size:18,eventKey:"screen"},{name:"github",size:18,eventKey:"github"},{name:"setting",size:18,eventKey:"setting"}],a=[...n],l=[...n];return t.value?l:a},Ys=P({name:"AppSiderBar",setup(){const{updateLocale:e,updateSettingState:t}=K(),{t:n}=Ie(),[a,{toggleFullscreen:l,isEnabled:o}]=vn(document.getElementsByTagName("html")[0]),{getDrawerPlacement:i,getBreadcrumbSwitch:s}=B(),c=M(!1),u=M(!1),{isTabletOrSmaller:p}=lt(),g=at("globalDrawerValue"),b=w(()=>Gs({isFullscreen:a,isTabletOrSmaller:p})),f=w(()=>Hs({isFullscreen:a,isTabletOrSmaller:p})),m={search:()=>{u.value=!0},setting:()=>{c.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},fullscreen:()=>{o||window.$message.warning(n("globalMessage.isEnabledFullscreen")),l()},lock:()=>{t("lockScreenSwitch",!0)},menu:()=>{ae("globalDrawerValue",!g.value)}};return{leftIconOptions:b,rightTooltipIconOptions:f,toolIconClick:S=>{var d;(d=m[S])==null||d.call(m)},showSettings:c,updateLocale:e,getDrawerPlacement:i,getBreadcrumbSwitch:s,globalSearchShown:u,isRenderVNode:S=>p.value?null:S}},render(){const{rightTooltipIconOptions:e,leftIconOptions:t,getDrawerPlacement:n,getBreadcrumbSwitch:a}=this,{toolIconClick:l,updateLocale:o,isRenderVNode:i}=this;return r(un,{class:"layout-header"},{default:()=>[r(Bs,{show:this.globalSearchShown,"onUpdate:show":s=>this.globalSearchShown=s},null),r(E,{class:"layout-header__method",align:"center",justify:"space-between",wrap:!1},{default:()=>[r(E,{align:"center",wrap:!1},{default:()=>[t.map(s=>r(zs,{key:s.name,iconName:s.name,tooltipText:pn(s.tooltip)?s.tooltip.value:s.tooltip,customClassName:s.iconClass,onClick:l.bind(this,s.name)},null)),a?r(Fs,null,null):null]}),r(E,{justify:"end",align:"center",size:[4,0],wrap:!1},{default:()=>[i(r($s,{onClick:s=>{s.stopPropagation(),this.globalSearchShown=!0}},null)),e.map(s=>r(we,{class:"override-button__layout",quaternary:!0,size:"medium",key:s.name,onClick:l.bind(this,s.name)},{default:()=>[r(A,{name:s.name,size:18,cursor:"pointer"},null)]})),r(Se,{options:Cn,onSelect:s=>o(String(s)),trigger:"click"},{default:()=>[r(we,{quaternary:!0,class:"override-button__layout"},{default:()=>[r(A,{customClassName:"layout-header__method--icon",name:"language",size:"18",cursor:"pointer"},null)]})]}),r(Se,{options:Us(),onSelect:qs.bind(this),trigger:"click"},{default:()=>[r(Ks,{avatarSize:24,spaceSize:[8,0],class:"override-button__layout"},null)]})]})]}),r(Ns,{show:this.showSettings,"onUpdate:show":s=>this.showSettings=s,placement:n},null)]})}}),Xs=P({name:"LayoutHeaderWrapper",setup(){return{}},render(){return r(E,{size:[0,0]},{default:()=>[r(Ys,null,null)]})}}),Js={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",viewBox:"0 0 24 24"},Zs=gn('',1),Qs=[Zs];function er(e,t){return ne(),Mt("svg",Js,[...Qs])}const tr={render:er},nr={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",viewBox:"0 0 24 24"},or=gn('',1),ar=[or];function lr(e,t){return ne(),Mt("svg",nr,[...ar])}const sr={render:lr};function rr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pe(e)}const ir=P({name:"AppMenuTag",setup(e,{expose:t}){const n=le("scrollRef"),{getMenuKey:a,getMenuTagOptions:l}=me(),{changeMenuModelValue:o}=ze(),{getRootPath:i}=Oe(),{maximize:s,isLayoutContentMaximized:c}=Bn(),{reload:u}=vr(),{close:p,closeAll:g,closeRight:b,closeLeft:f,closeOther:m,checkCloseLeft:y,checkCloseRight:h}=$n(),S=["closeAll","closeRight","closeLeft","closeOther","closeCurrentPage"];let d=1/0;const v={size:16},C=M([{label:"刷新页面",key:"reloadCurrentPage",icon:()=>r(A,{name:"reload",size:v.size},null)},{label:"关闭当前页面",key:"closeCurrentPage",icon:()=>r(A,{name:"close",size:v.size},null)},{type:"divider",key:"d1"},{label:"关闭左侧标签页",key:"closeLeft",icon:()=>r(sr,{class:"menu-tag__icon"},null)},{label:"关闭右侧标签页",key:"closeRight",icon:()=>r(tr,{class:"menu-tag__icon"},null)},{type:"divider",key:"d1"},{label:"关闭其他标签页",key:"closeOther",icon:()=>r(A,{name:"other",size:v.size},null)},{label:"关闭所有标签页",key:"closeAll",icon:()=>r(A,{name:"resize_h",size:v.size},null),disabled:!1}]),O=He(16),_={closeCurrentPage:()=>{a.value!==i.value&&p(d)},reloadCurrentPage:()=>{u()},closeAll:()=>{g()},closeRight:()=>{b(d)},closeLeft:()=>{f(d)},closeOther:()=>{m(d)}},T=Z({x:0,y:0,actionDropdownShow:!1}),L="menu_tag_data",R=at("globalMainLayoutLoad"),z="n-scrollbar-container";let N=a.value;const U=k=>{p(k)},$=(k,x)=>{for(const W of C.value)if(W.key===k){W.disabled=x;break}},re=k=>{T.actionDropdownShow=!1,o(k.fullPath,k)},Re=()=>{const k=document.getElementById(O);if(k)return Array.from(k.childNodes).find(je=>Yo(je,z).value)},De=k=>{var W;const x=Re();if(x){const je=x.scrollLeft||0,Dt=k==="left"?Math.max(0,je-200):je+200;(W=n.value)==null||W.scrollTo({left:Dt,behavior:"smooth"})}},J=k=>{T.actionDropdownShow=!1;const x=_[k];x==null||x()},Un=(k,x)=>{x.preventDefault(),T.actionDropdownShow=!1,d=k,q(()=>{T.actionDropdownShow=!0,T.x=x.clientX,T.y=x.clientY})},zt=()=>{const{closeable:k}=l.value[d]??{};$("closeCurrentPage",!k),h(d)?$("closeRight",!1):$("closeRight",!0),y(d)?$("closeLeft",!1):$("closeLeft",!0)},Wn=()=>{d=l.value.findIndex(x=>x.fullPath===a.value),zt()},qn=k=>{l.value.length>1&&k.fullPath!==i.value&&(k.closeable=!0)},Gn=k=>{k.fullPath!==a.value&&(k.closeable=!1)},Hn=()=>{Re()&&q().then(()=>{var x;(x=n.value)==null||x.scrollTo({left:99999,behavior:"smooth"})})},st=()=>{q().then(()=>{const k=Ye(`attr:${L}="${a.value}"`);if(k!=null&&k.length){const[x]=k;q().then(()=>{var W;(W=n.value)==null||W.scrollTo({left:x.offsetLeft,behavior:"smooth"})})}})},Yn=()=>{s(!0)};return de(()=>l.value,(k,x)=>{C.value.forEach(W=>{S.includes(W.key)&&(k.length>1?W.disabled=!1:W.disabled=!0)}),x!=null&&x.length&&(k.length>(x==null?void 0:x.length)?Hn():k.length===(x==null?void 0:x.length)&&st()),x===void 0&&st()},{immediate:!0}),Te(()=>{var k;T.actionDropdownShow&&((k=kt(zt,300))==null||k()),N!==a.value&&(N=a.value,st())}),t({}),{getMenuTagOptions:l,closeCurrentMenuTag:U,getMenuKey:a,menuTagClick:re,moreOptions:C,scrollX:De,scrollRef:n,uuidScrollBar:O,actionDropdownSelect:J,actionState:T,menuTagContextMenu:Un,setCurrentContextmenuIndex:Wn,menuTagMouseenter:qn,menuTagMouseleave:Gn,MENU_TAG_DATA:L,iconConfig:{width:22,height:22},maximize:s,reload:u,globalMainLayoutLoad:R,maximizeBtnClick:Yn}},render(){let e;const{iconConfig:t,uuidScrollBar:n,getMenuTagOptions:a,MENU_TAG_DATA:l,globalMainLayoutLoad:o}=this,{maximizeBtnClick:i,closeCurrentMenuTag:s,scrollX:c,$t:u,menuTagClick:p,menuTagContextMenu:g,menuTagMouseenter:b,menuTagMouseleave:f,actionDropdownSelect:m,reload:y}=this;return r(un,null,{default:()=>[r("div",{class:"menu-tag"},[r(Se,{class:"menu-tag__dropdown",options:this.moreOptions,x:this.actionState.x,y:this.actionState.y,keyboard:!1,show:this.actionState.actionDropdownShow,trigger:"manual",placement:"bottom-start",onSelect:m.bind(this),onClickoutside:()=>{this.actionState.actionDropdownShow=!1}},null),r(E,{class:"menu-tag-space",wrap:!1,align:"center",justify:"space-between",inline:!0,size:[16,0]},{default:()=>[r(A,{name:"expanded",width:t.width,height:t.height,customClassName:"menu-tag__left-arrow",onClick:this.scrollX.bind(this,"left")},null),r(Pt,F({xScrollable:!0,ref:"scrollRef"},{id:n},{themeOverrides:{width:"0px",height:"0px"}}),{default:()=>[r(E,{class:"menu-tag-wrapper",wrap:!1,align:"center",justify:"start"},rr(e=a.map((h,S)=>r(we,F({key:h.fullPath,class:["menu-tag__btn"],strong:!0,secondary:!0,type:h.fullPath===this.getMenuKey?"primary":"default"},{onClick:p.bind(this,h),onContextmenu:g.bind(this,S),onMouseenter:b.bind(this,h),onMouseleave:f.bind(this,h),[l]:h.fullPath},{size:"small"}),{default:()=>r(fn,null,[r("span",null,{default:()=>{const{breadcrumbLabel:d,meta:{i18nKey:v}}=h;return v?u(v):d}}),r(Ro,F({class:"menu-tag__btn-icon"},{onMousedown:s.bind(this,S)}),{default:()=>[r(A,{name:"close",size:"14"},null)]})])})))?e:{default:()=>[e]})]}),r(E,{class:"menu-tag__right-wrapper",align:"center",inline:!0,wrap:!1,size:[8,0]},{default:()=>[r(A,{name:"expanded",width:t.width,height:t.height,customClassName:"menu-tag__right-arrow",onClick:c.bind(this,"right")},null),r(A,{name:"fullscreen_fold",width:t.width,height:t.height,customClassName:"menu-tag__right-setting",onClick:i},null),r(A,{name:"reload",width:t.width,height:t.height,customClassName:`menu-tag__right-setting ${o?"":"menu-tag__right-setting--spinning"}`,onClick:()=>{y()}},null),r(Pn,{class:"menu-tag__dropdown",options:this.moreOptions,trigger:"click",onSelect:this.actionDropdownSelect.bind(this),iconSize:20,keyboard:!1},{default:()=>[r(A,{name:"more",width:t.width,height:t.height,customClassName:"menu-tag__right-setting",onClick:this.setCurrentContextmenuIndex.bind(this)},null)]})]})]})])]})}}),cr=P({name:"LayoutFeatureWrapper",setup(){return{}},render(){return r(ir,null,null)}}),ur=e=>{const t=ct(e[0]),n=ct(e[1]),a=ct(e[2]),{height:l,width:o}=xt();return w(()=>({"--window-width":`${o.value}px`,"--window-height":`${l.value}px`,"--layout-content-height":`calc(${l.value}px - ${t.height.value}px - ${n.height.value}px - ${a.height.value}px)`,"--layout-content-width":`${t.width.value}px`,"--layout-siderbar-height":`${t.height.value}px`,"--layout-menutag-height":`${n.height.value}px`,"--layout-footer-height":`${a.height.value}px`}))},Zt=Mo(G.isAppLockScreen,!1,sessionStorage,{mergeDefaults:!0}),dr=()=>({setLockAppScreen:n=>{Zt.value=n},getLockAppScreen:()=>Zt.value}),pr=P({name:"RLayout",setup(){const e=M(),t=M(),n=M(),{getMenuTagSwitch:a,getCopyrightSwitch:l}=B(),{getLockAppScreen:o}=dr(),i=ur([e,t,n]);return{getMenuTagSwitch:a,cssVarsRef:i,getLockAppScreen:o,layoutSiderBarRef:e,layoutMenuTagRef:t,layoutFooterRef:n,getCopyrightSwitch:l}},render(){const{getMenuTagSwitch:e,cssVarsRef:t,getCopyrightSwitch:n}=this,{getLockAppScreen:a}=this;return a()?null:r(ko,{class:"r-layout-full",style:[t],hasSider:!0,embedded:!0},{default:()=>[r(As,null,null),r(Bt,{class:"r-layout-full__viewer"},{default:()=>[r(Xs,{ref:"layoutSiderBarRef"},null),e?r(cr,{ref:"layoutMenuTagRef"},null):null,r(Bt,{ref:ye,class:["r-layout-full__viewer-content"],nativeScrollbar:!1},{default:()=>[r(Fn,null,null)]}),n?r(Es,{ref:"layoutFooterRef"},null):null]})]})}}),mr=[{path:"/",name:"RLogin",component:()=>I(()=>import("./index-vw2i1QF5.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,8,9,10,11,40,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,72,73,74,30,31,50,33,34,35,36,37,38,39,41,42,43,44,45,46,47,89]))},{path:"/",name:"RLayout",component:pr,children:[...Ss(),{path:"/:catchAll(.*)",component:()=>I(()=>import("./index-Bx85O3th.js"),__vite__mapDeps([90,1,2,3,4,5,6,7,8,9,10,11,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,91])),meta:{i18nKey:j("menu.Error"),icon:"error",hidden:!0,sameLevel:!0}}]}],Je=ra({history:ia(),routes:mr,scrollBehavior:e=>{Fl(e)}}),pi=e=>{e.use(Je),Os(Je)},Et=()=>Je?{router:Je}:{router:{}},Qt="YYYY-MM-DD HH:mm:ss",hr=()=>({locale:i=>{const s=Va[i];s?ee.locale(s):ee.locale(Fa)},getStartAndEndOfDay:i=>{const{format:s=Qt}=i??{},c=ee(),u=c.startOf("day"),p=c.endOf("day"),g=c.format(s),b=u.format(s),f=p.format(s);return{today:c,startOfDay:u,endOfDay:p,formatToday:g,formatStartOfDay:b,formatEndOfDay:f}},format:(i,s)=>{const{format:c=Qt}=s??{};return ee(i).format(c)},isDayjs:i=>ee.isDayjs(i),daysDiff:(i,s)=>{const c=ee(i);return ee(s).diff(c,"days")},isDateInRange:(i,s)=>{const{start:c,end:u}=s,p=ee(i);return p.isAfter(c)&&p.isBefore(u)}});function lt(e){const{width:t,height:n}=xt(e),a=M(!1),{observer:l}=e??{};return Xo(()=>{const{media:i=768}=e??{};a.value=t.value<=i,l==null||l(a.value,{width:t.value,height:n.value})}),{width:t,height:n,isTabletOrSmaller:be(a)}}let vt=999,yt=!1;const ie="ELEMENT-FULLSCREEN-RAY",{width:bt,height:_t}=xt(),en=document.createElement("style"),fr=(e,t)=>{const{beforeEnter:n,beforeExit:a,enter:l,exit:o,backgroundColor:i,zIndex:s,transition:c="all 0.3s var(--r-bezier)"}=t??{};let u=!1;const p={x:null,y:null},g=()=>{const h=oe(e);if(!h)return;const{left:S,top:d}=h.getBoundingClientRect();p.x===null&&p.y===null&&(p.x=-S,p.y=-d),Ke(document.body,{"--element-fullscreen-z-index":se(s,"Null")||se(s,"Undefined")?vt:s,"--element-fullscreen-transition":c,"--element-fullscreen-background-color":i,"--element-fullscreen-width":`${bt.value}px`,"--element-fullscreen-height":`${_t.value}px`,"--element-fullscreen-transform-x":`${p.x}px`,"--element-fullscreen-transform-y":`${p.y}px`});const v=`
- [${ie}] {
- position: fixed;
- width: var(--element-fullscreen-width) !important;
- height: var(--element-fullscreen-height) !important;
- transform: translate(var(--element-fullscreen-transform-x), var(--element-fullscreen-transform-y)) !important;
- transition: var(--element-fullscreen-transition);
- z-index: var(--element-fullscreen-z-index) !important;
- background-color: var(--element-fullscreen-background-color);
- }
- `;en.innerHTML=v,yt||document.head.appendChild(en)},b=()=>{const h=oe(e);n==null||n(),h&&(h.getAttribute(ie)||h.setAttribute(ie,ie),u||(u=!0,vt+=1),yt||(g(),yt=!0),h.style.transition=c,l==null||l())},f=()=>{a==null||a();const h=oe(e);h&&h.removeAttribute(ie),o==null||o()},m=()=>{const h=oe(e);h&&(h.getAttribute(ie)?f():b())},y=de(()=>[bt.value,_t.value],g);return Lt(()=>{const h=oe(e);h&&h.removeAttribute(ie),vt--,y()}),{enter:b,exit:f,toggleFullscreen:m,currentWindowSize:{width:bt,height:_t}}},St={svg:Qo,png:ea,jpeg:ta,blob:na,pixelData:oa,canvas:aa},mi=(e,t)=>{const{beforeCreate:n,created:a,createdError:l,finally:o,imageType:i}=t??{};return{create:c=>new Promise((u,p)=>{var b;const g=oe(e);if(n==null||n(g),!g)return l==null||l(),p("useDomToImage: element is undefined.");(b=St[c??i??"jpeg"])==null||b.call(St,g,t).then(f=>(a==null||a(f,g),u(f))).catch(f=>(l==null||l(f),p(f))).finally(()=>{o==null||o(g)})})}},hi=(e,t)=>({print:()=>{const a=oe(e)||e;Bo({...At(t,["printable"]),printable:a})}}),gr={page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50,100]},fi=(e,t)=>{const n=M(e),a=At(t,["on-update:page","on-update:page-size","onUpdatePage","onUpdatePageSize","onUpdate:page","onUpdate:page-size"]),o=M(Object.assign({},gr,a,{onUpdatePage:d=>{var v;o.value.page=d,(v=n.value)==null||v.call(n)},onUpdatePageSize:d=>{var v;o.value.pageSize=d,o.value.page=1,(v=n.value)==null||v.call(n)}})),i=o.value.onUpdatePage,s=o.value.onUpdatePageSize,c=()=>o.value.itemCount,u=d=>{o.value.itemCount=d},p=()=>o.value.page,g=d=>{i(d)},b=()=>o.value.pageSize,f=d=>{s(d)},m=()=>o.value,y=e,h=d=>{n.value=d},S=()=>{const{pageSizes:d}=o.value;o.value.page=1,o.value.pageSize=(d==null?void 0:d[0])||10};return Lt(()=>{n.value=void 0}),[o,{getItemCount:c,setItemCount:u,getPage:p,setPage:g,getPageSize:b,setPageSize:f,getPagination:m,getCallback:y,setCallback:h,resetPagination:S}]},Bn=()=>({isLayoutContentMaximized:w(()=>at("layoutContentMaximize").value),maximize:(n,a)=>{var s;const{scrollToOptions:l}=a??{},o=oe(ye),{toggleFullscreen:i}=fr(o,a);ae("layoutContentMaximize",n),i(),l&&n&&((s=ye==null?void 0:ye.value)==null||s.scrollTo(l))}}),vr=()=>({reload:(a=800)=>{ae("globalMainLayoutLoad",!1),setTimeout(()=>ae("globalMainLayoutLoad",!0),a)},openSpin:()=>{ae("layoutContentSpinning",!0)},closeSpin:()=>{ae("layoutContentSpinning",!1)}}),gi=()=>({setWatermarkContent:l=>{const{getWatermarkConfig:o}=B(),i=Object.assign(o.value,{content:l}),{updateSettingState:s}=K();s("watermarkConfig",i)},showWatermark:()=>{const{updateSettingState:l}=K();l("watermarkSwitch",!0)},hiddenWatermark:()=>{const{updateSettingState:l}=K();l("watermarkSwitch",!1)},toggleWatermark:()=>{const{getWatermarkSwitch:l}=B(),{updateSettingState:o}=K();o("watermarkSwitch",!l.value)}}),$e=e=>{const{getPrimaryColorOverride:t}=B(),{updateSettingState:n}=K();n("primaryColorOverride",e?Object.assign({},t.value,Y.appNaiveUIThemeOverrides.dark,Y.appNaiveUIThemeOverridesCommon.dark):Object.assign({},t.value,Y.appNaiveUIThemeOverrides.light,Y.appNaiveUIThemeOverridesCommon.light))},vi=()=>{const e=()=>{const{getAppTheme:o}=B(),{t:i}=Ie();return{theme:o.value,themeI18nLabel:o.value?i("headerSettingOptions.ThemeOptions.Dark"):i("headerSettingOptions.ThemeOptions.Light"),themeLabel:o.value?"Dark":"Light"}};return{darkTheme:()=>{const{updateSettingState:o}=K();o("_appTheme",!0),o("appTheme","dark"),$e(!0)},lightTheme:()=>{const{updateSettingState:o}=K();o("_appTheme",!1),o("appTheme","light"),$e(!1)},toggleTheme:()=>{const{theme:o}=e(),{updateSettingState:i}=K();i("_appTheme",!o),i("appTheme",o?"light":"dark"),$e(!o)},getAppTheme:e,syncSystemTheme:()=>{const{getAppTheme:o}=B(),{updateSettingState:i}=K(),{system:s}=dn();i("_appTheme",s.value==="dark"),i("appTheme","auto"),$e(o.value)}}},ve=(e,t)=>{const{getMenuTagOptions:n}=me();if(typeof e=="number"){if(isNaN(e)){console.warn(`${t}: The ${e} is NaN, expect number.`);return}if(e>n.value.length||e<-1){console.warn(`${t}: The incoming index ${e} did not match the corresponding item.`);return}return{option:n.value[e],index:e}}else if(typeof e=="string"){const a=n.value.findIndex(l=>l.fullPath===e);return a>-1?{option:n.value[a],index:a}:console.warn(`${t}: The incoming key ${e} did not match the corresponding item.`)}else{const{fullPath:a}=e,l=n.value.findIndex(o=>o.fullPath===a);if(l===-1){console.warn(`${t}: The incoming menuTag option ${e.fullPath} did not match the corresponding item.`);return}return{option:e,index:l}}};function $n(){const{getMenuTagOptions:e,getMenuKey:t}=me(),{changeMenuModelValue:n,spliceMenTagOptions:a,setMenuTagOptions:l,resolveOption:o}=ze(),i=()=>e.value.findIndex(m=>m.fullPath===t.value);return{close:m=>{const y=ve(m,"close");if(e.value.length!==1&&y){const{index:h,option:S}=y;if(a(h),S.fullPath===t.value){const d=e.value[h-1];d&&n(d.fullPath,d)}}},closeAll:()=>{a(0,e.value.length);const{getRootPath:m}=Oe(),{router:{getRoutes:y}}=Et(),h=y().find(S=>S.path===m.value);if(h){const S=Pe(h,Rt),d=o(S);n(d.path,o({...d,fullPath:d.path}))}},closeRight:m=>{const y=ve(m,"closeRight");if(y){const{option:h,index:S}=y,d=e.value.length-S,v=i();a(S+1,d),S<=v&&t.value!==h.fullPath&&n(h.fullPath,h)}},closeLeft:m=>{const y=ve(m,"closeLeft");if(y){const{option:h,index:S}=y,d=i();a(0,S),d<=S&&t.value!==h.fullPath&&n(h.fullPath,h)}},closeOther:m=>{const y=ve(m,"closeOther");if(y){const{option:h}=y;t.value!==h.fullPath?(a(0,e.value.length),n(h.fullPath,h)):l(h,!1)}},getCurrentTagIndex:i,checkCloseRight:m=>{const y=ve(m,"checkCloseRight");if(y){const{index:h}=y,S=e.value.length-1;return!(h>=S)}return!1},checkCloseLeft:m=>{const y=ve(m,"checkCloseRight");if(y){const{index:h}=y,S=e.value.length-1;return h===0?!1:h>0&&S>0}return!1}}}function yi(){return{navigationTo:(t,n)=>{const{router:{getRoutes:a,push:l,replace:o}}=Et(),{isPush:i=!0,query:s}=n||{},c=u=>i?l({path:u,query:s}):o({path:u,query:s});if(typeof t=="number"){if(isNaN(t)){console.warn(`[navigationTo]: The ${t} is NaN, expect number.`);return}const{getMenuOptions:u}=me();if(t>u.value.length){console.warn(`[navigationTo]: The current ${t} exceeds the maximum number of menus.`);return}const p=u.value[t],g=b=>{if(b.children&&b.children.length>0){const{children:[f]}=b;g(f);return}c(b.fullPath)};g(p)}else if(typeof t=="string"){const u=a().find(p=>p.path===t);u?c(u.path):console.warn(`[navigationTo]: The path "${t}" is not found.`)}else c(t.fullPath)}}}function Oe(){const{getAppRootRoute:e}=B(),{updateSettingState:t}=K(),n=e,a=w(()=>e.value.path),l=w(()=>e.value.name);return{getRootRoute:n,getRootPath:a,getRootName:l,setRootRoute:i=>{t("appRootRoute",Object.assign({},e.value,i))}}}const yr=(e,t)=>{const{show:n,...a}=t;e.meta.extra=Object.assign({},e.meta.extra,{...a,show:n}),e.extra=In(e)},tn=(e,t,n)=>{const a=En(e,t);a&&yr(a,n)},wt=(e,t,n)=>{const{getMenuOptions:a}=me();if(typeof e=="string")tn(a.value,e,n);else if(se(e,"Object")){const{fullPath:l}=e;tn(a.value,l,n)}else console.warn(`[useBadge ${t}]: target expect string or object.`)};function bi(){return{hidden:a=>{wt(a,"hidden",{show:!1})},show:a=>{wt(a,"show",{show:!0})},update:(a,l)=>{wt(a,"update",l)}}}const _i=()=>{const e=Tn.value,{scrollTo:t}=e||{};if(!t)throw new Error("[useSiderScroll]: LAYOUT_SIDER_REF is not ready yet. please wait component mounted!");return t},Kn=()=>Ge(G.localeLanguage,"localStorage",{defaultValue:ja}),Si=()=>{const e=M(),t=m=>{m&&(e.value=m)},n=()=>{if(!e.value)throw new Error("[useTablePro]: table instance is not ready yet. if you are using useTablePro, please make sure you have called register method in onRegister event.");return e.value};return[t,{clearFilters:()=>n().clearFilters.call(null),getTableProInstance:n,clearSorter:()=>n().clearSorter.call(null),downloadCsv:m=>n().downloadCsv.call(null,m),filters:m=>n().filters.call(null,m),page:m=>n().page.call(null,m),scrollTo:m=>n().scrollTo(m),sort:(m,y)=>n().sort.call(null,m,y),getTablePagination:()=>n().getTablePagination.call(null),runTableRequest:m=>n().runTableRequest.call(null,m),print:m=>n().print.call(null,m),getCurrentTableRequestParams:m=>n().getCurrentTableRequestParams.call(null,m)}]};export{ei as $,Gr as A,Xr as B,Zr as C,Fa as D,Qr as E,ii as F,ri as G,ti as H,fi as I,ai as J,oi as K,Tn as L,Wr as M,gs as N,li as O,Si as P,si as Q,ni as R,Rs as S,hr as T,xs as U,di as V,Yr as W,Pn as X,us as Y,Wl as Z,I as _,mi as a,Ee as a0,Bn as a1,yi as a2,vr as a3,gi as a4,bi as a5,hi as b,_i as c,Hr as d,B as e,G as f,Ur as g,K as h,dr as i,ws as j,lt as k,Ks as l,at as m,qr as n,Jr as o,pi as p,Oe as q,Ie as r,ui as s,A as t,vi as u,Cn as v,dt as w,Et as x,Kr as y,ci as z};
diff --git a/js/hooks-BY0i9Xdx.js.gz b/js/hooks-BY0i9Xdx.js.gz
deleted file mode 100644
index a07375c8..00000000
Binary files a/js/hooks-BY0i9Xdx.js.gz and /dev/null differ
diff --git a/js/hooks-DonDO7vb.js b/js/hooks-DonDO7vb.js
new file mode 100644
index 00000000..650d9a46
--- /dev/null
+++ b/js/hooks-DonDO7vb.js
@@ -0,0 +1,12 @@
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/en-US-D7xUZ2yk.js","js/dayjs@1.11.10-C8LoRVP6.js","js/call-bind@1.0.7-Cpj98o6Y.js","js/print-js@1.6.0-BdoEj60G.js","js/vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js","js/@vue_reactivity@3.5.12-Bs6EYLxJ.js","js/@vue_shared@3.5.12--5_uv9t5.js","js/@vue_runtime-core@3.5.12-Ds-HrVrM.js","js/lodash@4.17.21-Cw59kuJw.js","js/js-cookie@3.0.5-Z_8Sd105.js","js/screenfull@5.2.0-DmMZCkhi.js","js/jsbarcode@3.11.6-DGNGFp02.js","js/currency.js@2.0.4-9OAR_aOO.js","js/lodash-es@4.17.21-CeZG2a4n.js","js/naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js","js/date-fns@3.6.0-q9PkOyxq.js","js/seemly@0.3.8-DjGKl9dV.js","js/vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js","js/evtd@0.2.4-CI_DDEu_.js","js/@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js","js/vooks@0.2.12_vue@3.5.12-CeQQlSXI.js","js/vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js","js/@juggle_resize-observer@3.4.0-C8OzoCMD.js","js/css-render@0.15.14-C5toWlUr.js","js/@emotion_hash@0.8.0-WldOFDRm.js","js/@vue_runtime-dom@3.5.12-ewSD1rNh.js","js/treemate@0.3.11-DKekKYbv.js","js/date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js","js/async-validator@4.2.5-DKvM95Vc.js","js/@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js","js/@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js","js/@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js","js/utils-6rpFoFAR.js","js/interactjs@1.10.26-DZL_TZzP.js","js/pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js","js/destr@2.0.3-CVtkxrq9.js","js/deep-pick-omit@1.2.1-CegYQlcN.js","js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js","js/vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js","js/html-to-image@1.11.11-BOFdlgi9.js","js/vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js","js/vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js","js/@intlify_shared@9.13.1-BxU0OzX2.js","js/@intlify_core-base@9.13.1-C6DqbPB6.js","js/@intlify_message-compiler@9.13.1-GrLDMuy_.js","js/echarts@5.5.0-CezqL3m-.js","js/zrender@5.5.0-DW8ownf1.js","js/tslib@2.3.0-BDyQ-Jie.js","js/zh-CN-dOsAGuBk.js","js/index-DcajtrM6.js","js/index-CgOgVoYU.js","css/index-D_4DGt8i.css","js/index-BkbN0lKB.js","js/instance-D7APY90Q.js","js/axios@1.7.5-C8DqakIB.js","css/index-QAd2IBUs.css","js/BarcodeDemo-Cj7gPXWn.js","js/index-40P_oJMv.js","js/index-tgRTNfIG.js","js/index-Dy43M56X.js","js/index-IVPegtuP.js","css/index-DHYYVpM7.css","js/index-5V4yf9yZ.js","js/index-C9u1x56c.js","js/index-BA7MPIf6.js","js/index-ZK2gtRBB.js","js/index-Dyp40qYu.js","js/index-8F6Ug6Kd.js","js/index-TI4DwZCx.js","js/index-hU9_Mjki.js","js/index-JALWQc45.js","js/vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js","css/vue3-next-qrcode@2.0.10_typescript@5.2-CG4VaxS5.css","js/ray-dCjhX_JK.js","js/index-CjEDU2P3.js","css/index-B6yUFiKH.css","js/index-C5l76f6e.js","js/index-3bzRwRyq.js","js/index-B-oZGJ3j.js","css/index-Dig957GB.css","js/index-LYjmBIt_.js","js/index-BlC6n-Ua.js","css/index-Eq1L-L2-.css","js/TablePro-BcQb-4h1.js","js/mockjs@1.1.0-CxlURkif.js","js/index-BG6oi-U_.js","js/index-D6uzvoU7.js","js/index-DrOZrx4m.js","css/index-74sXJ5VP.css","js/index-C296AXrg.js","css/index-b1h4j9PV.css"])))=>i.map(i=>d[i]);
+var Yn=Object.defineProperty;var Xn=(e,t,n)=>t in e?Yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var jt=(e,t,n)=>Xn(e,typeof t!="symbol"?t+"":t,n);import{s as ut,c as He,t as kt,i as nn,p as ze,o as tt,f as Jn}from"./lodash-es@4.17.21-CeZG2a4n.js";import{z as Nt,d as Ft,f as Zn,g as Qn,N as nt,a as eo,b as to,c as E,e as ot,m as no,h as on,u as oo,S as xt,i as ao,j as Oe,k as lo,l as an,n as Ie,o as so,p as ro,q as ln,t as io,r as co,s as uo,v as po,w as sn,x as Ye,y as mo,A as rn,B as fo,C as go,D as ho,E as vo,F as oe,G as yo,H as Bt,I as bo,J as de,K as pe,L as Ve,M as ke,O as cn,P as J,Q as _o,R as So,T as wo,U as Co,V as To,W as Oo,X as un,Y as Ro,Z as Vt,_ as Ao}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{o as Po,u as Le,a as ko,b as xo,c as dn,d as dt,e as Mt,f as Mo}from"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import{k as I,l as Ce,e as te,n as zo,x as Re,a as pn,s as Io,u as Z}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{n as q,w as he,l as M,b as r,m as F,p as ne,q as ie,j as w,f as ve,t as Lo,k as Ee,v as mn,h as at,i as fn,x as Eo,F as gn,y as Do,z as be,A as jo,C as pt,D as No,E as xe,S as Fo,K as Bo,G as $t,H as Vo,I as fe}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{d as ae}from"./dayjs@1.11.10-C8LoRVP6.js";import{p as $o}from"./print-js@1.6.0-BdoEj60G.js";import{u as hn}from"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{b as Ko}from"./jsbarcode@3.11.6-DGNGFp02.js";import{g as Xe,i as ce,s as zt,a as Ot,c as Uo,u as vn,l as yn,b as bn,d as Wo,e as B,r as ge,f as D,h as qo,j as Je,q as Ze,k as qe,m as _n,p as Sn,n as It,o as Kt,t as _e,v as Go,w as Ho,x as Yo,y as Xo,z as Jo,A as se}from"./utils-6rpFoFAR.js";import{i as Ut}from"./interactjs@1.10.26-DZL_TZzP.js";import{s as Zo}from"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import{d as lt,c as Qo}from"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import{t as ea,a as ta,b as na,c as oa,d as aa,e as la}from"./html-to-image@1.11.11-BOFdlgi9.js";import{u as st,a as sa,o as ra,c as ia,b as ca}from"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import{c as ua}from"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import{r as da,u as Me,i as pa,a as ma,b as fa,c as ga,d as ha,e as va,f as ya,g as ba,h as _a,j as Sa,k as wa,l as Ca,m as Ta,n as Oa,o as Ra,p as Aa,q as Pa,s as ka}from"./echarts@5.5.0-CezqL3m-.js";import{g as xa}from"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import{T as Ma,a as za}from"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";const Br=(e,t)=>{if(typeof t!="string"||!t.trim())throw new TypeError("Expected prefix to be a non-empty string");const n={};return Object.keys(e).forEach(a=>{const l=e[a].default;let o=a.replace(`./${t}/`,"").replace(/^\.\//,"");const i=o.lastIndexOf(".");o=o.substring(0,i);const s=o.split("/"),c=s.shift(),d=s.join(".");c&&(d?(ut(n,c,n[c]||{}),ut(n[c],d,l)):ut(n,c,l||{}))}),n},Ia="modulepreload",La=function(e){return"/ray-template/"+e},Wt={},L=function(t,n,a){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));l=Promise.all(n.map(s=>{if(s=La(s),s in Wt)return;Wt[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${d}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Ia,c||(p.as="script"),p.crossOrigin="",p.href=s,i&&p.setAttribute("nonce",i),document.head.appendChild(p),c)return new Promise((h,S)=>{p.addEventListener("load",h),p.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${s}`)))})}))}return l.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},Ea=(e,t,n)=>{const a=e[t];return a?typeof a=="function"?a():Promise.resolve(a):new Promise((l,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},Da=async e=>{var n;const t={};for(const a of e){const l=await Ea(Object.assign({"../lang/en-US.ts":()=>L(()=>import("./en-US-D7xUZ2yk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),"../lang/zh-CN.ts":()=>L(()=>import("./zh-CN-dOsAGuBk.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47]))}),`../lang/${a.key}.ts`,3),o=a.key;o&&(t[o]=((n=l==null?void 0:l.default)==null?void 0:n.message)??{})}return t},Vr=e=>{switch(e){case"zh-CN":return{locale:Nt,dateLocal:Ft};case"en-US":return{locale:null,dateLocal:null};default:return{locale:Nt,dateLocal:Ft}}},$r={max:5,closable:!1},Kr="loading",Ur="",G={signing:"signing",localeLanguage:"localeLanguage",token:"token",appMenuKey:"menuKey",appPiniaSettingStore:"piniaSettingStore",appPiniaKeepAliveStore:"piniaKeepAliveStore",appPiniaMenuStore:"piniaMenuStore",appPiniaSigningStore:"piniaSigningStore",appVersionProvider:"appVersionProvider",isAppLockScreen:"isAppLockScreen",appGlobalSearchOptions:"appGlobalSearchOptions"},ja=[{label:"无",value:"none"},{label:"缩放出现",value:"scale"},{label:"缩放消退",value:"fade-scale"},{label:"滑入出现",value:"fade-slide"},{label:"淡入消退",value:"opacity"},{label:"底部消退",value:"fade-bottom"}],Q={appThemeColors:["#2d8cf0","#3f9eff","#ff42bc","#ee4f12","#a6e4f7","#dbcb02","#18A058"],appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"},appNaiveUIThemeOverrides:{dark:{},light:{}},appNaiveUIThemeOverridesCommon:{dark:{},light:{}},echartTheme:"macarons"},wn=[{key:"zh-CN",label:"中文(简体)"},{key:"en-US",label:"English(US)"}],Na="zh-CN",Fa="zh-CN",Ba={"zh-CN":"zh-cn","en-US":"en"},Va="zh-cn",Wr={cssUnit:/^\d+(\.\d+)?(px|em|rem|%|vw|vh|vmin|vmax|cm|mm|in|pt|pc|ch|ex|q|s|ms|deg|rad|turn|grad|hz|khz|dpi|dpcm|dppx|fr|auto)$/,cssSize:/^auto|unset|fit-content|max-content|min-content|initial|inherit|revert|revert-layer|[-\w]+-webkit-fill-available$/},qr={baseURL:"",withCredentials:!1,timeout:5*1e3,headers:{"Content-Type":"application/json"}},we=I(null),Cn=I(null),$a={setupRouterLoadingBar:!0,setupRouterGuard:!0},Ka=["RLogin","ErrorPage","RayTemplateDoc"],$e=[],Gr=(e,t)=>{const n=I(0),a=I(0),l=I(!1),{clickOutside:o}={},i=h=>{l.value=h},s=h=>{h.preventDefault(),i(!1),q().then(()=>{const{clientX:S,clientY:g}=h;n.value=S,a.value=g,i(!0)})};o&&Po(e,h=>{o(h)});const c=Le(e,"contextmenu",s,t),d=Le(e,"click",()=>{i(!1)});return{stop:()=>{c(),d()},x:Ce(n),y:Ce(a),show:Ce(l),updateShow:i}},Qe=te({globalSpinning:!1,globalDrawerValue:!1,globalMainLayoutLoad:!0,layoutContentMaximize:!1,layoutContentSpinning:!1});function re(e,t,n){Object.hasOwn(Qe,e)&&(Qe[e]=t)}function rt(e){return Ce(zo(Qe,e))}function Ua(){return{...Re(Ce(Qe))}}let le;const Wa=async()=>{const e=Kn(),t=await Da(wn);return ua({legacy:!1,locale:e,messages:t,sync:!0,missingWarn:!1,silentFallbackWarn:!0,fallbackLocale:Fa})},Hr=async e=>{const t=await Wa();e.use(t),le=t},qt=(e,t)=>t,De=e=>{if(!le)return{t:o=>qt(e,o),locale:o=>{}};const{t,...n}=le.global;return{...n,t:(o,...i)=>o?!o.includes(".")&&!e?o:t(qt(e,o),...i):"",locale:o=>{le.mode==="legacy"?le.global.locale=o:pn(le.global.locale)?le.global.locale.value=o:le.global.locale=o}}},N=e=>e,qa={path:"/dashboard",component:()=>L(()=>import("./index-DcajtrM6.js"),__vite__mapDeps([49,12,1,2,3,4,5,6,7,8,9,10,11,50,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,51])),meta:{i18nKey:N("menu.Dashboard"),icon:"dashboard",order:0}},Ga=Object.freeze(Object.defineProperty({__proto__:null,default:qa},Symbol.toStringTag,{value:"Module"})),Ha={path:"/axios",name:"RAxios",component:()=>L(()=>import("./index-BkbN0lKB.js"),__vite__mapDeps([52,4,5,6,7,8,2,9,10,53,54,1,3,11,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,55])),meta:{i18nKey:N("menu.Axios"),icon:"axios",order:3,keepAlive:!0}},Ya=Object.freeze(Object.defineProperty({__proto__:null,default:Ha},Symbol.toStringTag,{value:"Module"})),Xa={path:"barcode",component:()=>L(()=>import("./BarcodeDemo-Cj7gPXWn.js"),__vite__mapDeps([56,12,1,2,3,4,5,6,7,8,9,10,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,11,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.Barcode"),icon:"other",order:2,extra:{label:"new"}}},Ja=Object.freeze(Object.defineProperty({__proto__:null,default:Xa},Symbol.toStringTag,{value:"Module"})),Za={path:"/cache-demo",component:()=>L(()=>import("./index-40P_oJMv.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.CacheDemo"),icon:"other",order:3}},Qa=Object.freeze(Object.defineProperty({__proto__:null,default:Za},Symbol.toStringTag,{value:"Module"})),el={path:"/context-menu",component:()=>L(()=>import("./index-tgRTNfIG.js"),__vite__mapDeps([58,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.ContextMenu"),icon:"other",order:2}},tl=Object.freeze(Object.defineProperty({__proto__:null,default:el},Symbol.toStringTag,{value:"Module"})),nl={path:"/directive",component:()=>L(()=>import("./index-Dy43M56X.js"),__vite__mapDeps([59,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{i18nKey:N("menu.Directive"),icon:"other",order:2,extra:{label:"ellipsis"}}},ol=Object.freeze(Object.defineProperty({__proto__:null,default:nl},Symbol.toStringTag,{value:"Module"})),al={path:"/echart",component:()=>L(()=>import("./index-IVPegtuP.js"),__vite__mapDeps([60,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,61])),meta:{i18nKey:N("menu.Echart"),icon:"echart",order:1,extra:{label:"useChart"}}},ll=Object.freeze(Object.defineProperty({__proto__:null,default:al},Symbol.toStringTag,{value:"Module"})),sl={path:"/form",component:()=>L(()=>import("./index-5V4yf9yZ.js"),__vite__mapDeps([62,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.Form"),icon:"other",order:2,extra:{label:"useForm"}}},rl=Object.freeze(Object.defineProperty({__proto__:null,default:sl},Symbol.toStringTag,{value:"Module"})),il={path:"/iframe",component:()=>L(()=>import("./index-C9u1x56c.js"),__vite__mapDeps([63,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{icon:"other",order:2,noLocalTitle:"iframe"}},cl=Object.freeze(Object.defineProperty({__proto__:null,default:il},Symbol.toStringTag,{value:"Module"})),ul={path:"/mock-demo",component:()=>L(()=>import("./index-BA7MPIf6.js"),__vite__mapDeps([64,12,1,2,3,11,4,5,6,7,8,9,10,53,54,32,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.Mock"),icon:"other",order:3,keepAlive:!1,extra:{label:"usePagination"}}},dl=Object.freeze(Object.defineProperty({__proto__:null,default:ul},Symbol.toStringTag,{value:"Module"})),pl={path:"/modal-demo",component:()=>L(()=>import("./index-ZK2gtRBB.js"),__vite__mapDeps([65,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.Modal"),icon:"other",order:3}},ml=Object.freeze(Object.defineProperty({__proto__:null,default:pl},Symbol.toStringTag,{value:"Module"})),Ge=()=>L(()=>Promise.resolve().then(()=>Ns),void 0),fl={path:"/multi",component:Ge,meta:{i18nKey:N("menu.MultiMenu"),icon:"other",order:4,extra:{label:"cache"}},children:[{path:"multi-menu-one",name:"MultiMenuOne",component:()=>L(()=>import("./index-Dyp40qYu.js"),__vite__mapDeps([66,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{noLocalTitle:"多级菜单-1",keepAlive:!0}},{path:"multi-menu-two",name:"MultiMenuTwo",component:Ge,meta:{noLocalTitle:"多级菜单-2"},children:[{path:"sub-menu-other",name:"SubMenuOther",component:()=>L(()=>import("./index-8F6Ug6Kd.js"),__vite__mapDeps([67,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{noLocalTitle:"多级菜单-2-1",keepAlive:!0}},{path:"sub-menu",name:"SubMenu",component:Ge,meta:{noLocalTitle:"多级菜单-2-2",keepAlive:!0},children:[{path:"sub-menu-one",name:"MultiMenuTwoOne",component:()=>L(()=>import("./index-TI4DwZCx.js"),__vite__mapDeps([68,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{noLocalTitle:"多级菜单-2-2-1",keepAlive:!0}}]}]}]},gl=Object.freeze(Object.defineProperty({__proto__:null,default:fl},Symbol.toStringTag,{value:"Module"})),hl={path:"/precision",component:()=>L(()=>import("./index-hU9_Mjki.js"),__vite__mapDeps([69,1,2,3,4,5,6,7,8,9,10,11,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.CalculatePrecision"),icon:"other",order:2}},vl=Object.freeze(Object.defineProperty({__proto__:null,default:hl},Symbol.toStringTag,{value:"Module"})),yl={path:"/qrcode",component:()=>L(()=>import("./index-JALWQc45.js"),__vite__mapDeps([70,71,7,5,6,72,73,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{i18nKey:N("menu.QRCode"),icon:"other",order:2}},bl=Object.freeze(Object.defineProperty({__proto__:null,default:yl},Symbol.toStringTag,{value:"Module"})),_l={path:"rely-about",component:()=>L(()=>import("./index-CjEDU2P3.js"),__vite__mapDeps([74,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,75])),meta:{i18nKey:N("menu.RelyAbout"),icon:"rely",order:999}},Sl=Object.freeze(Object.defineProperty({__proto__:null,default:_l},Symbol.toStringTag,{value:"Module"})),wl={path:"/router-demo",component:Ge,meta:{i18nKey:N("menu.RouterDemo"),icon:"other",order:3},children:[{path:"router-demo-home",component:()=>L(()=>import("./index-C5l76f6e.js"),__vite__mapDeps([76,12,1,2,3,40,5,6,7,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,4,8,9,10,32,33,34,35,36,37,38,39,41,42,43,44,45,46,47])),meta:{noLocalTitle:"人员信息(平级模式)"}},{path:"router-demo-detail",component:()=>L(()=>import("./index-3bzRwRyq.js"),__vite__mapDeps([77,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29])),meta:{noLocalTitle:"信息详情",sameLevel:!0}}]},Cl=Object.freeze(Object.defineProperty({__proto__:null,default:wl},Symbol.toStringTag,{value:"Module"})),Tl={path:"/scroll-reveal",component:()=>L(()=>import("./index-B-oZGJ3j.js"),__vite__mapDeps([78,7,5,6,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,79])),meta:{i18nKey:N("menu.scrollReveal"),icon:"scroll_reveal",hidden:!0}},Ol=Object.freeze(Object.defineProperty({__proto__:null,default:Tl},Symbol.toStringTag,{value:"Module"})),Rl={path:"/segment",component:()=>L(()=>import("./index-LYjmBIt_.js"),__vite__mapDeps([80,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.Segment"),icon:"other",order:3,extra:{label:"segment"}}},Al=Object.freeze(Object.defineProperty({__proto__:null,default:Rl},Symbol.toStringTag,{value:"Module"})),Pl={path:"/svg-icons",component:()=>L(()=>import("./index-BlC6n-Ua.js"),__vite__mapDeps([81,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,82])),meta:{i18nKey:N("menu.SvgIcon"),icon:"other",order:3}},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),xl={path:"/table-pro",component:()=>L(()=>import("./TablePro-BcQb-4h1.js"),__vite__mapDeps([83,32,12,1,2,3,4,5,6,7,8,9,10,11,13,53,54,84,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.TablePro"),icon:"other",order:2,extra:{label:"TablePro"}}},Ml=Object.freeze(Object.defineProperty({__proto__:null,default:xl},Symbol.toStringTag,{value:"Module"})),zl={path:"/table",component:()=>L(()=>import("./index-BG6oi-U_.js"),__vite__mapDeps([85,32,12,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.Table"),icon:"other",order:2,extra:{label:"useTable"}}},Il=Object.freeze(Object.defineProperty({__proto__:null,default:zl},Symbol.toStringTag,{value:"Module"})),Ll={path:"/template-hooks",component:()=>L(()=>import("./index-D6uzvoU7.js"),__vite__mapDeps([86,12,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,24,25,13,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),meta:{i18nKey:N("menu.TemplateHooks"),icon:"other",order:1}},El=Object.freeze(Object.defineProperty({__proto__:null,default:Ll},Symbol.toStringTag,{value:"Module"})),Dl=()=>{const e=Object.assign({"/src/router/modules/dashboard.ts":Ga,"/src/router/modules/demo/axios.ts":Ya,"/src/router/modules/demo/barcode.ts":Ja,"/src/router/modules/demo/cache-demo.ts":Qa,"/src/router/modules/demo/context-menu.ts":tl,"/src/router/modules/demo/directive.ts":ol,"/src/router/modules/demo/echart.ts":ll,"/src/router/modules/demo/form.ts":rl,"/src/router/modules/demo/iframe.ts":cl,"/src/router/modules/demo/mock.ts":dl,"/src/router/modules/demo/modal.ts":ml,"/src/router/modules/demo/multi-menu.ts":gl,"/src/router/modules/demo/precision.ts":vl,"/src/router/modules/demo/qrcode.ts":bl,"/src/router/modules/demo/rely.ts":Sl,"/src/router/modules/demo/router-demo.ts":Cl,"/src/router/modules/demo/scroll-reveal.ts":Ol,"/src/router/modules/demo/segment.ts":Al,"/src/router/modules/demo/svg-icons.ts":kl,"/src/router/modules/demo/table-pro.ts":Ml,"/src/router/modules/demo/table.ts":Il,"/src/router/modules/demo/template-hooks.ts":El});return Object.keys(e).reduce((n,a)=>{const l=e[a].default;if(l)n.push(l);else throw new Error(`[combineRawRouteModules]: ${a} module must export default.`);return n},[])},jl=e=>e[0]==="/",Tn=(e,t=[],n="")=>{var a;if(!Array.isArray(e))return[];for(const l of e){const o=n+(jl(l.path)?l.path:"/"+l.path);if((a=l.children)!=null&&a.length){Tn(l.children,t,o);continue}else t.push({...l,path:o})}return t},Nl=e=>Array.isArray(e)?Tn(He(e)):[],Fl=e=>e.sort((t,n)=>{var o,i;const a=((o=t.meta)==null?void 0:o.order)??1,l=((i=n.meta)==null?void 0:i.order)??0;if(typeof a!="number"||typeof l!="number")throw new TypeError("orderRoutes error: order must be a number!");return a===l?t.name?n.name?t.name.localeCompare(n.name):-1:1:a-l}),Bl=e=>{const{beforeEach:t}=e,{getRootPath:n}=Pe(),a=(l,o)=>l.path==="/"||o.path==="/login";t((l,o,i)=>{const s=Xe(G.token,"localStorage"),c=Xe(G.appMenuKey,"sessionStorage",{defaultValue:n.value}),{meta:d,name:p}=l;s!==null?a(l,o)?mt(!0):!ce(p,"Symbol")&&p&&Ka.includes(p)?i():Fn(d)?a(l,o)?c?i(c):mt(!0):i():mt(!0):a(l,o)?i():i("/")})},mt=(e=!0)=>{const{router:t}=Et(),{push:n,replace:a}=t,{getRootPath:l}=Pe();zt(G.appMenuKey,l.value,"localStorage"),e?a(l.value):n(l.value)},Vl=e=>{var n;const{meta:t}=e;t!=null&&t.ignoreAutoResetScroll||(n=we.value)==null||n.scrollTo({top:0,left:0,behavior:"smooth"})},$l=e=>{e.beforeEach(()=>{var t;(t=window.$loadingBar)==null||t.start()}),e.afterEach(()=>{var t;(t=window.$loadingBar)==null||t.finish()}),e.onError(()=>{var t;(t=window.$loadingBar)==null||t.error()})},On=e=>{const{meta:t={}}=e,{hidden:n,sameLevel:a,env:l}=t,{MODE:o}=Ot();return!(a||n||l&&typeof l=="string"&&l!==o||l&&Array.isArray(l)&&!l.includes(o))};var Kl={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.1"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const je=lt("setting",()=>{const{appPrimaryColor:{primaryColor:e}}=Kl,{locale:t}=De(),{locale:n}=ur(),a=te({drawerPlacement:"right",primaryColorOverride:{common:{primaryColor:e,primaryColorHover:e,primaryColorPressed:e}},_appTheme:!1,appTheme:"light",menuTagSwitch:!0,breadcrumbSwitch:!0,localeLanguage:Kn(),lockScreenSwitch:!1,copyrightSwitch:!0,contentTransition:"scale",watermarkSwitch:!1,watermarkConfig:{content:"Trying be better~",fontSize:16,lineHeight:16,width:384,height:384,xOffset:12,yOffset:60,rotate:-15},appRootRoute:{name:"Dashboard",path:"/dashboard"},sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"},keepAliveConfig:{setupKeepAlive:!0,keepAliveExclude:[],maxKeepAliveLength:10},menuConfig:{collapsedWidth:64,collapsedMode:"width",collapsedIconSize:16,collapsedIndent:24,accordion:!1,menuSiderBarLogo:!0,iconSize:16}}),l=s=>{t(s),n(s),a.localeLanguage=s,zt(G.localeLanguage,s,"localStorage")},o=(s,c=.3)=>{const d=Uo(s,c),p={primaryColor:s,primaryColorHover:s,primaryColorPressed:s};a.primaryColorOverride.common=p;const h=document.body;h.style.setProperty("--ray-theme-primary-color",s),h.style.setProperty("--ray-theme-primary-fade-color",d)},i=(s,c,d)=>{vn(a,s,c,d)};return he(()=>a.appTheme,s=>{s?a.primaryColorOverride=Object.assign({},a.primaryColorOverride,Q.appNaiveUIThemeOverrides.dark,Q.appNaiveUIThemeOverridesCommon.dark):a.primaryColorOverride=Object.assign({},a.primaryColorOverride,Q.appNaiveUIThemeOverrides.light,Q.appNaiveUIThemeOverridesCommon.light)},{immediate:!0,once:!0}),{...Re(a),updateLocale:l,changePrimaryColor:o,updateSettingState:i}},{persist:{key:G.appPiniaSettingStore}}),Rn={...Zn,onRegister:{type:[Function,Array],default:null}},An={actionAlign:{type:String,default:"end"},open:{type:Boolean,default:!1},collapseToggleText:{type:Array,default:()=>["展开","收起"]},bordered:{type:Boolean,default:!0},onUpdateOpen:{type:[Function,Array],default:null},"onUpdate:open":{type:[Function,Array],default:null},...Qn};function Ul(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const Yr=M({name:"RCollapse",props:Object.assign({},Rn,{...An,open:{type:Boolean,default:!0},cols:{type:Number,default:4},bordered:{type:Boolean,default:!0}}),render(){const{$slots:e,$props:t}=this,{labelPlacement:n,showFeedback:a,...l}=t;return r(fs,F(l,{labelPlacement:"top",showFeedback:!1}),{default:()=>[r(Gl,l,Ul(e)?e:{default:()=>[e]})]})}}),Wl={intersectionObserver:{type:Boolean,default:!0},intersectionObserverTarget:{type:Object,default:null},intersectionOptions:{type:Object,default:{threshold:.1}},bordered:{type:Boolean,default:!0},downloadOptions:{type:Object,default:()=>({})},onDropdownSelect:{type:[Function,Array]},dropdownOptions:{type:Array},preset:{type:String},contentStyle:{type:[String,Object]},title:{type:[String,Function]},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},autoResize:{type:Boolean,default:!0},showAria:{type:Boolean,default:!1},options:{type:Object,default:()=>({})},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},onFinally:{type:[Function,Array],default:null},theme:{type:String,default:null},autoChangeTheme:{type:Boolean,default:!0},use:{type:Array,default:()=>[]},watchOptions:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingOptions:{type:Object,default:()=>yn()},autoResizeObserverTarget:{type:Object,default:null},watchOptionsThrottleWait:{type:Number,default:500},nextTick:{type:Boolean,default:!0},setChartOptions:{type:Object,default:()=>bn()},onRegister:{type:[Function,Array],default:null}},ql=Wo(),Gt="__R_CHART_DOWN_LOAD_CHART__";ql.forEach(e=>{da(e.name,e.theme)});const Xr=M({name:"RChart",props:Wl,setup(e,{expose:t}){const{getAppTheme:n}=$(),a=ie("rayChartRef"),l=ie("rayChartWrapperRef"),o=Io();let i,s;const{echartTheme:c}=Q;let d;const p=w(()=>[{label:"下载图片",key:Gt,disabled:!(o.value&&o.value.getDom())}]),h=w(()=>({"--ray-chart-width":B(e.width),"--ray-chart-height":B(e.height)})),S=I(!1);let g;const m={aria:e.showAria},_=async()=>{var O;Me([ma,fa,ga,ha,va,ya,ba,_a]),Me([Sa,wa,Ca,Ta,Oa,Ra]),Me([Aa,Pa]),Me([ka]);try{Me((O=e.use)==null?void 0:O.filter(Boolean))}catch(P){console.error("[RChart register error]: ",P)}},f=()=>{if(o.value&&R(),e.theme==="default"){e.autoChangeTheme?u("dark"):u("");return}if(e.theme)u(e.theme);else{const O=e.autoChangeTheme&&n.value?`${c}-dark`:c;u(O)}},b=O=>{let P=Z(O);return P=(V=>Object.assign({},P,V))({aria:{enabled:e.showAria,decal:{show:e.showAria}}}),P},u=(O=c)=>{var ue;const P=a.value,j=b(e.options),{height:V,width:U}=P.getBoundingClientRect(),{onSuccess:Y,onError:H}=e;try{o.value=pa(P,O,{width:U===0?200:void 0,height:V===0?200:void 0}),Y&&D(Y,o.value),e.nextTick?(o.value.setOption({}),q(()=>{var X;j&&((X=o.value)==null||X.setOption(j))})):j&&((ue=o.value)==null||ue.setOption(j))}catch(X){throw H&&D(H),new Error(`[RChart render error]: ${X}`)}finally{const{onFinally:X}=e;X&&D(X)}},v=()=>{var O;return!!((O=o.value)!=null&&O.isDisposed())},R=()=>{var O;v()||(O=o.value)==null||O.dispose()},C=()=>{o.value&&o.value.resize()},y=(O,P)=>{if(O===Gt&&!v()){const{filename:V,...U}=e.downloadOptions;qo(o.value.getDataURL(U),V??`${new Date().getTime()}`)}const{onDropdownSelect:j}=e;j&&D(j,O,P)},x=()=>{var P;if(e.autoResize&&(i||(i=kt(C,500)),s||(s=xo(e.autoResizeObserverTarget||l,i))),(P=o.value)!=null&&P.getDom()||!S.value&&e.intersectionObserver)return;f(),g==null||g.stop();const{onRegister:O}=e;O&&o.value&&D(O,o.value,x,A)},A=()=>{R(),i==null||i.cancel(),s==null||s.stop(),g==null||g.stop(),g=null,i=null,s=null};return he(()=>n.value,()=>{e.autoChangeTheme&&(R(),f())}),ve(()=>{var O,P;e.intersectionObserver&&(g=ko(e.intersectionObserverTarget||l,([j])=>{S.value=j.isIntersecting},e.intersectionOptions)),e.watchOptions?d=xa(()=>e.options,j=>{var Y;const V=b(j),U=Object.assign({},bn(),e.setChartOptions);(Y=o.value)==null||Y.setOption(V,U)},{deep:!0,throttle:e.watchOptionsThrottleWait}):d==null||d(),e.loading?(O=o.value)==null||O.showLoading(yn(e.loadingOptions)):(P=o.value)==null||P.hideLoading(),e.showAria!==m.aria&&o.value&&(o.value.setOption(b(e.options)),m.aria=e.showAria),S.value&&!v()&&x()}),t(),Lo(async()=>{await _()}),Ee(()=>{x()}),mn(()=>{A(),d==null||d()}),{rayChartRef:a,cssVarsRef:h,rayChartWrapperRef:l,moreDropDownOptions:p,dropdownSelect:y}},render(){const{title:e,contentStyle:t,preset:n,moreDropDownOptions:a,dropdownSelect:l,bordered:o,dropdownOptions:i}=this,{cardExtra:s}=this.$slots;return n==="card"?r(nt,{class:"ray-chart",ref:"rayChartWrapperRef",style:[this.cssVarsRef],contentStyle:t,bordered:o,embedded:!0},{default:ge(r("div",{class:"ray-chart__container",ref:"rayChartRef"},null)),header:ge(e,{defaultElement:r("div",{style:"display: none;"},null)}),"header-extra":ge(s,{defaultElement:r(xn,{iconSize:18,cursor:"pointer",options:i||a,trigger:"click",onSelect:l.bind(this),placement:"bottom-end"},null)})}):r("div",{class:"ray-chart",style:[this.cssVarsRef],ref:"rayChartWrapperRef"},[r("div",{class:"ray-chart__container",ref:"rayChartRef"},null)])}}),Jr=()=>{let e,t,n;const a=(c,d,p)=>{c&&(e=c,t=p,n=d)},l=()=>{if(!e)throw new Error("[useChart]: echart instance is not ready yet. if you are using useChart, please make sure you have called register method in onRegister event.");return{dispose:t,render:n,echartInst:e}};return[a,{getChartInstance:l,isDisposed:()=>{var c;return!!((c=l().echartInst)!=null&&c.isDisposed())},dispose:()=>l().dispose.call(null),render:()=>l().render.call(null)}]},Gl=M({name:"RCollapseGrid",props:An,setup(e){const t=I(!e.open),n=w(()=>({"--r-collapse-grid-action-align":e.actionAlign})),a=()=>{const{onUpdateOpen:o,"onUpdate:open":i}=e;t.value=!t.value,o&&D(o,t.value),i&&D(i,t.value)},l=o=>r("div",{class:"collapse-icon",onClick:a.bind(this)},[r("span",null,[o?e.collapseToggleText[0]:e.collapseToggleText[1]]),r(k,{customClassName:`collapse-icon--arrow ${o?"":"collapse-icon--arrow__expanded"}`,name:"expanded",size:"14"},null)]);return ve(()=>{t.value=!e.open}),{modelCollapsed:t,collapseClick:a,CollapseIcon:l,cssVars:n}},render(){const{$slots:{collapse:e,action:t,default:n},CollapseIcon:a,$props:l,modelCollapsed:o,xGap:i,yGap:s,collapsedRows:c,cssVars:d,bordered:p}=this;return r(nt,{bordered:p,style:[d]},{default:()=>r(eo,F({class:"ray-collapse-grid"},l,{collapsed:o,xGap:i||12,yGap:s||12,collapsedRows:c}),{default:()=>[n==null?void 0:n(),r(to,{suffix:!0,class:"ray-collapse-grid__suffix--btn"},{default:()=>[r(E,{justify:"end",align:"center"},{default:()=>[t==null?void 0:t(),e?e(o):a(o)]})]})]})})}}),Hl={color:{type:String,default:"currentColor"},prefix:{type:String,default:"icon"},name:{type:String,required:!0},size:{type:[Number,String],default:14},width:{type:[Number,String],default:0},height:{type:[Number,String],default:0},customClassName:{type:String,default:null},depth:{type:Number,default:1},cursor:{type:String,default:"default"},onClick:{type:[Function,Array],default:null}},k=M({name:"RIcon",props:Hl,setup(e){const t=w(()=>`#${e.prefix}-${e.name}`),n=w(()=>({"--ray-icon-width":e.width?B(e.width):B(e.size),"--ray-icon-height":e.height?B(e.height):B(e.size),"--ray-icon-depth":e.depth,"--ray-icon-cursor":e.cursor,"--ray-icon-color":e.color}));return{symbolId:t,cssVars:n,iconClick:l=>{const{onClick:o}=e;o&&D(o,l)}}},render(){return r("span",{class:["ray-icon",this.customClassName],style:[this.cssVars],onClick:this.iconClick.bind(this)},[r("svg",{RayIconAttribute:"ray-icon",ariaHidden:!0},[r("use",F({"xlink:href":this.symbolId},{fill:this.color}),null)])])}}),Yl={src:{type:String,required:!0},iframeWrapperClass:{type:String,default:null},frameborder:{type:Number,default:0},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},allow:{type:String,default:null},name:{type:String,default:null},title:{type:String,default:null},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},customSpinProps:{type:Object,default:()=>({})},lazy:{type:[Boolean,String],default:!0},iframeClass:{type:String,default:null}},Zr=M({name:"RIframe",props:Yl,setup(e,{expose:t}){const n=w(()=>({"--ray-iframe-frameborder":B(e.frameborder),"--ray-iframe-width":B(e.width),"--ray-iframe-height":B(e.height)})),a=ie("iframeRef"),l=I(!0),o=s=>{l.value=!1;const{onSuccess:c}=e;c&&D(c,a.value,s)},i=s=>{l.value=!1;const{onError:c}=e;c&&D(c,s)};return Le(a,"load",o),Le(a,"error",i),t({iframeInst:a}),{cssVars:n,iframeRef:a,spinShow:l}},render(){return r("div",{class:["ray-iframe",this.iframeWrapperClass],style:[this.cssVars]},[r(ot,F(this.customSpinProps,{show:this.spinShow}),{...this.$slots,default:()=>r("iframe",{class:["ray-iframe__container",this.iframeClass],ref:"iframeRef",src:this.src,allow:this.allow,name:this.name,title:this.title,loading:typeof this.lazy=="boolean"?"lazy":this.lazy},null)})])}}),Xl={...no,memo:{type:Boolean,default:!0},fullscreen:{type:Boolean,default:!1},width:{type:[String,Number],default:600},cardWidth:{type:[String,Number],default:600},dialogWidth:{type:[String,Number],default:446},dad:{type:Boolean,default:!1}},Jl=(e,t,n)=>{const{scheduler:a}=n??{};return new Promise(l=>{setTimeout(()=>{const o=t==="card"?".n-card-header__main":".n-dialog__title";if(e){const i=Ut(e).draggable({inertia:!0,autoScroll:!0,allowFrom:o,modifiers:[Ut.modifiers.restrictRect({restriction:"parent",endOnly:!0})],listeners:{move:s=>{a==null||a(s)}}}).resizable(!1);l(i)}},30)})},Pn=(e,t)=>{const n=typeof e=="string"?document.querySelector(e):e;return new Promise((a,l)=>{if(n){n.setAttribute("can-drag","true");const{preset:o,dargCallback:i}=t;let{x:s,y:c}=t;Jl(n,o,{scheduler:d=>{const p=d.target;s+=d.dx,c+=d.dy,p.style.transform=`translate(${s}px, ${c}px)`,i==null||i(s,c,d)}}).then(d=>{a(d)})}else l()})},Zl="r-modal__preset-card--fullscreen",kn="r-modal",Te={width:"--r-modal-width",cardWidth:"--r-modal-card-width",dialogWidth:"--r-modal-dialog-width"},Qr=M({name:"RModal",props:Xl,setup(e){const t=w(()=>({[Te.width]:B(e.width??600),[Te.cardWidth]:B(e.cardWidth??600),[Te.dialogWidth]:B(e.dialogWidth??446)})),n=Je();let a;const l={x:0,y:0},o=w(()=>e.preset==="card"&&e.fullscreen);return he(()=>e.show,i=>{i&&e.dad&&(e.preset==="card"||e.preset==="dialog")?q(()=>{const s=document.getElementById(n);s&&Pn(s,{preset:e.preset,x:l.x,y:l.y,dargCallback:(c,d)=>{l.x=c,l.y=d}}).then(c=>{a=c}),e.memo&&s&&(s.style.transform=`translate(${l.x}px, ${l.y}px)`)}):(a==null||a.unset(),a=null)},{immediate:!0}),{cssVars:t,isFullscreenCardType:o,uuidEl:n}},render(){const{$props:e,$slots:t,$attrs:n}=this,{preset:a,...l}=e,{cssVars:o,uuidEl:i,isFullscreenCardType:s}=this;return r(on,F({class:[kn,s?Zl:""],style:[o,s?"height: 100vh":""],preset:a},{id:i},l,n),{...t})}}),ei=()=>{const{create:e,destroyAll:t}=oo();return{create:a=>{const{content:l,...o}=a;let i=l;o.preset==="card"&&o.fullscreen&&(i=()=>at(xt,{themeOverrides:{color:"rgba(0, 0, 0, 0)",colorHover:"rgba(0, 0, 0, 0)"},trigger:"none",style:{width:"auto",height:"calc(100vh - 29px - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))"}},{default:()=>typeof l=="function"?l():l}));const{preset:s,dad:c,fullscreen:d,width:p,cardWidth:h,dialogWidth:S}=a,g=e({...o,content:i}),{key:m}=g,_={[Te.width]:B(p??600),[Te.cardWidth]:B(h??600),[Te.dialogWidth]:B(S??446)};return q(()=>{const[f]=Ze(`[internalkey="${m}"]`)||[];if(f){if(c&&Pn(f,{preset:s,x:0,y:0}),d&&s==="card"){const b=f.querySelector(".n-card__content");b&&qe(b,{maxHeight:"calc(100vh - 9px - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))",overflowY:"hidden",padding:"0"}),qe(f,{width:"100%",height:"100vh"})}qe(f,_),_n(f,kn)}}),g},destroyAll:t}},Ql={...ao,icon:{type:String,default:"more"},iconSize:{type:Number,default:14},cursor:{type:String,default:"default"}};function es(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const xn=M({name:"RMoreDropdown",props:Ql,render(){let e;const{iconSize:t,cursor:n,icon:a}=this,{default:l}=this.$slots;return r(Oe,F(this.$props,this.$attrs,{placement:"bottom-start"}),es(e=ge(l,{defaultElement:r(k,{name:a,size:t,cursor:n},null)}))?e:{default:()=>[e]})}}),Ae={...lo,tableFlexHeight:{type:[String,Number],default:void 0},renderWrapperHeader:{type:Boolean,default:!0},cardProps:{type:Object,default:()=>({})},tool:{type:Boolean,default:!0},downloadCsvTableOptions:{type:Object,default:()=>({})},title:{type:[String,Number,Object],default:null},toolOptions:{type:Array},coverTool:{type:Boolean,default:!1},contextMenuOptions:{type:Array},disabledContextMenu:{type:Boolean,default:!1},onContextMenuClick:{type:[Function,Array],default:null},wrapperBordered:{type:Boolean,default:!0},bordered:{type:Boolean,default:!0},printTableOptions:{type:Object,default:()=>({})},onUpdateColumns:{type:[Function,Array],default:null},"onUpdate:columns":{type:[Function,Array],default:null},onContextmenu:{type:[Function,Array],default:null},onRegister:{type:[Function,Array],default:null}},ee={tableIconSize:"18",tableKey:Symbol("r-table")},ts=[{label:"斑马条纹",value:"striped"},{label:"表格边框",value:"bordered"}],ns=M({name:"TableSizeSelect",props:{onChangeSize:{type:[Function,Array],default:null},...Ae},setup(e){return{size:I(e.size),sizeOptions:[{label:"默认",value:"medium"},{label:"紧凑",value:"small"},{label:"宽松",value:"large"}],updatePopselectValue:l=>{const{onChangeSize:o}=e;o&&D(o,l)}}},render(){return r(an,{value:this.size,"onUpdate:value":e=>this.size=e,options:this.sizeOptions,trigger:"click",onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(k,{name:"adjustment",size:ee.tableIconSize,cursor:"pointer"},null)]})}}),os=M({name:"TableFullscreen",setup(){const{wrapperRef:e}=fn(ee.tableKey,{}),[t,{toggleFullscreen:n,isEnabled:a}]=hn(e);return{toggleFullscreen:n,isEnabled:a}},render(){const{toggleFullscreen:e,isEnabled:t,$t:n}=this;return r(k,{name:"fullscreen",size:ee.tableIconSize,cursor:"pointer",onClick:()=>{t||window.$message.warning(n("globalMessage.isEnabledFullscreen")),e()}},null)}}),as=()=>r(k,{name:"draggable",size:14,cursor:"grab"},null),Ht=({icon:e,title:t,onClick:n,customClassName:a})=>r(Ie,{showArrow:!1},{trigger:()=>r(k,{name:e,size:ee.tableIconSize,cursor:"pointer",customClassName:a,onClick:n==null?void 0:n.bind(null)},null),default:()=>t}),Rt=(e,t)=>{if(!t)return[null,null];for(let n=0;nHe(e.columns).filter(c=>c.type?(t=c,!1):!0).map((c,d)=>{const{key:p,title:h,children:S,fixed:g,isResizable:m,..._}=c,f=g==="left",b=g==="right",u={..._,title:h,key:p,fixed:g,isLeftFixedActivated:f,isRightFixedActivated:b,isResizable:m};return{...u,suffix:()=>r(E,{style:"padding-left: 32px;"},{default:()=>[r(Ht,{icon:"row_head",title:"固定在列首",customClassName:f?ft:"",onClick:o.bind(this,"left",u,d)},null),r(Ie,{showArrow:!1},{trigger:()=>r(k,{name:"resize_h",size:ee.tableIconSize,cursor:"pointer",customClassName:m?ft:"",onClick:l.bind(this,u,d)},null),default:()=>"修改列宽"}),r(Ht,{icon:"row_end",title:"固定在列尾",customClassName:b?ft:"",onClick:o.bind(this,"right",u,d)},null)]})}}),set:()=>{}}),a=s=>{const{onUpdateColumn:c}=e;c&&D(c,s)},l=(s,c)=>{s.isResizable=!s.isResizable,s.resizable=s.isResizable,n.value[c]=s,a(n.value)},o=(s,c,d)=>{const p=`${s}FixedActivated`,h=`${s==="left"?"right":"left"}FixedActivated`;c[h]=!1,c[p]=!c[p],c[p]?c.fixed=s:c.fixed=void 0,n.value[d]=c,a(n.value)};return{treeDataSource:n,treeDrop:({node:s,dragNode:c,dropPosition:d})=>{const[p,h]=Rt(c,n.value);if(p===null||h===null)return;p.splice(h,1);const[S,g]=Rt(s,n.value);S===null||g===null||(d==="before"?S.splice(g,0,c):S.splice(g+1,0,c),nn(t)||S.unshift(t),a(S))}}},render(){return r(Ie,{displayDirective:"show",trigger:"click",showArrow:!1},{trigger:()=>r(k,{name:"setting",size:ee.tableIconSize,cursor:"pointer",customClassName:"r-table__setting"},null),default:()=>r(so,{class:"r-table__c-tree",data:this.treeDataSource,blockLine:!0,draggable:!0,keyboard:!1,labelField:"title",selectable:!1,renderSwitcherIcon:as.bind(this),onDrop:this.treeDrop.bind(this)},null)})}}),ss=M({name:"TablePrint",props:Ae,setup(e){const{wrapperRef:t}=fn(ee.tableKey,{});return{printTableClick:()=>{const{printTableOptions:{printOptions:a={},domToImageOptions:l}={},title:o}=e;(a.documentTitle===""||a.documentTitle===void 0||a.documentTitle===null)&&(a.documentTitle=typeof o=="string"?o:""),Sn(t,{printOptions:a,domToImageOptions:l})}}},render(){return r(k,{name:"print",size:ee.tableIconSize,cursor:"pointer",onClick:this.printTableClick.bind(this)},null)}}),rs=M({name:"TablePropsSelect",props:{...Ae,onPopselectChange:{type:[Function,Array],default:null},onInitialed:{type:[Function,Array],default:null}},setup(e){const t=I(!1),n=I([]),a=o=>{const{onPopselectChange:i}=e;i&&D(i,o)};return(()=>{const{striped:o,bordered:i,onInitialed:s}=e;o&&n.value.push("striped"),i&&n.value.push("bordered"),s&&D(s,n.value)})(),{propsPopselectValue:n,popoverShow:t,updatePopselectValue:a}},render(){return r(an,{value:this.propsPopselectValue,"onUpdate:value":e=>this.propsPopselectValue=e,options:ts,trigger:"click",multiple:!0,onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(k,{name:"expanded",size:ee.tableIconSize,cursor:"pointer",style:"transform: rotate(270deg);"},null)]})}});function is(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const cs=M({name:"RTable",inheritAttrs:!1,props:Ae,setup(e,t){const{expose:n,emit:a}=t,l=ie("rTableInst"),o=ie("wrapperRef"),i=Je(16),s=Je(16),c=te({x:0,y:0,showContextMenu:!1}),d=te({size:e.size}),p=I(Object.assign({striped:!1,bordered:!1},ze(e,"striped","bordered"))),h=(u,v)=>{const{onContextMenuClick:R}=e;R&&D(R,u,v),c.showContextMenu=!1},S=(u,v)=>{var C;return{...(C=e.rowProps)==null?void 0:C.call(e,u,v),onContextmenu:e.disabledContextMenu?void 0:y=>{y.preventDefault(),c.showContextMenu=!1,q().then(()=>{c.showContextMenu=!0,c.x=y.clientX,c.y=y.clientY})}}},g=u=>{d.size=u},m=u=>{const{onUpdateColumns:v,"onUpdate:columns":R}=e;v&&D(v,u),R&&D(R,u)},_=()=>{const{toolOptions:u}=e;return u==null?void 0:u.filter(Boolean).map(v=>typeof v=="function"?v():v)},f=u=>{Object.keys(p.value).forEach(R=>{p.value[R]=u.includes(R)})},b=u=>{const{tool:v}=u;if(!v)return;const R=()=>r(E,{align:"center"},{default:()=>[r(ss,u,null),r(ns,F(u,{onChangeSize:g.bind(this)}),null),r(os,null,null),r(ls,F(u,{onUpdateColumn:m.bind(this)}),null),r(rs,F(u,{onPopselectChange:f.bind(this),onInitialed:f.bind(this)}),null)]});return e.toolOptions?e.coverTool?()=>{let C;return r(E,{align:"center"},is(C=_())?C:{default:()=>[C]})}:()=>r(E,{align:"center"},{default:()=>[R(),_()]}):R};return Ee(()=>{const{onRegister:u}=e;u&&l.value&&D(u,l.value,{uuidTable:s,uuidWrapper:i,wrapperRef:o})}),Eo(ee.tableKey,{uuidTable:s,uuidWrapper:i,wrapperRef:o}),n(),{uuidWrapper:i,uuidTable:s,contextMenuReactive:c,rTableInst:l,combineRowProps:S,contextMenuSelect:h,privateReactive:d,tool:b,wrapperRef:o,propsPopselectValue:p}},render(){const{$props:e,$attrs:t,$slots:n,uuidTable:a,contextMenuReactive:l,uuidWrapper:o,privateReactive:i,propsPopselectValue:s}=this,{class:c,...d}=t,{tool:p,combineRowProps:h,contextMenuSelect:S}=this,{renderWrapperHeader:g,wrapperBordered:m,disabledContextMenu:_,contextMenuOptions:f,title:b,tableFlexHeight:u,cardProps:v,...R}=e;return r(nt,F(v,{id:o},d,{ref:"wrapperRef",bordered:m,class:c}),{default:()=>r(gn,null,[r(ro,F({id:a},R,s,{rowProps:h.bind(this),size:i.size,ref:"rTableInst",style:{height:u!=null?B(u):null}}),{...n}),_?null:r(Oe,{show:l.showContextMenu,placement:"bottom-start",trigger:"manual",x:l.x,y:l.y,options:f,onClickoutside:()=>l.showContextMenu=!1,onSelect:S.bind(this)},null)]),header:g?ge(b,{defaultElement:r("div",{style:"display: none;"},null)}):null,"header-extra":p(e),footer:()=>{var C;return(C=n.tableFooter)==null?void 0:C.call(n)},action:()=>{var C;return(C=n.tableAction)==null?void 0:C.call(n)}})}}),us=()=>{const e=I();let t={};const n=(g,m)=>{g&&(e.value=g,t=m)},a=()=>{if(!e.value)throw new Error("[useTable]: table instance is not ready yet. if you are using useTable, please make sure you have called register method in onRegister event.");return e.value};return[n,{getTableInstance:a,clearFilters:()=>a().clearFilters.call(null),clearSorter:()=>a().clearSorter.call(null),downloadCsv:g=>a().downloadCsv.call(null,g),filters:g=>a().filters.call(null,g),page:g=>a().page.call(null,g),scrollTo:g=>a().scrollTo(g),sort:(g,m)=>a().sort.call(null,g,m),print:g=>{const{uuidWrapper:m}=t;if(m){const _=document.getElementById(m);Sn(_,g)}},filter:g=>a().filter.call(null,g)}]},Mn=(e,t,n)=>{var a;if(e.length)for(const l of e){if(l[t]===n)return l;if((a=l==null?void 0:l.children)!=null&&a.length){const o=Mn(l.children,t,n);if(o)return o}}},Yt=e=>{const t=Z(e);return t?t.findIndex(a=>{const{type:l,multiple:o}=a;if(l==="selection"&&(o==null||o===!0))return!0})!==-1:!0},ds=(e,t,n,a)=>{const l=Z(e);return l?t.reduce((o,i)=>{const s=Z(n).findIndex(d=>d[a]===i);if(s!==-1)return o.push(Z(n)[s]),o;const c=l.findIndex(d=>d[a]===i);return c!==-1&&o.push(l[c]),o},[]):n},ti=(e,t,n)=>{const a=I([]),l=I([]),{rowKey:o="key",onChange:i}=n||{},s=w(()=>Yt(t)),c=(m,_,f)=>{a.value=m,l.value=Z(ds(e,m,l,o)),i==null||i(m,l.value,f),Yt(t)},d=()=>a.value,p=()=>l.value,h=()=>{a.value=[],l.value=[],i==null||i(a.value,l.value,{row:void 0,action:"uncheckAll"})},S=m=>{if(m==null)return;let _;a.value=a.value.filter(f=>f!==m),l.value=l.value.filter(f=>f[o]===m?(_=f,!1):!0),i==null||i(a.value,l.value,{row:_,action:"uncheck"})},g=m=>{if(a.value.includes(m))return;const _=!s.value&&a.value.length>=1,f=Mn(Z(e)||[],o,m);_?a.value=[m]:a.value.push(m),f&&(_?l.value=[f]:l.value.push(f),i==null||i(a.value,l.value,{row:f,action:"check"}))};return It(()=>{h()}),[a,{checkedRows:l,checkedRowKeysBind:c,getKeys:d,getRows:p,clearAll:h,clearKey:S,selectKey:g}]},ps={transitionPropName:"fade",transitionMode:"out-in",transitionAppear:!0},ms=M({name:"RTransitionComponent",__name:"index",props:Do({transitionPropName:{},transitionMode:{},transitionAppear:{type:Boolean}},ps),setup(e){const{getKeepAliveInclude:t}=ks(),{getKeepAliveConfig:n}=$();return(a,l)=>{const o=No("RouterView");return be(),jo("div",null,[r(o,null,{default:pt(({Component:i,route:s})=>[i?(be(),xe(Ma,{key:0,name:a.transitionPropName,mode:a.transitionMode,appear:a.transitionAppear},{default:pt(()=>[(be(),xe(Fo,null,{default:pt(()=>[Z(n).setupKeepAlive?(be(),xe(Bo,{key:0,max:Z(n).maxKeepAliveLength,include:Z(t),exclude:Z(n).keepAliveExclude},[(be(),xe($t(i),{key:s.fullPath}))],1032,["max","include","exclude"])):(be(),xe($t(i),{key:s.fullPath}))]),_:2},1024))]),_:2},1032,["name","mode","appear"])):Vo("",!0)]),_:1})])}}}),fs=M({name:"RForm",props:Rn,setup(e,{expose:t}){const n=ie("formRef");return Ee(()=>{const{onRegister:a}=e;a&&n.value&&D(a,n.value)}),t(),{formRef:n}},render(){const{$attrs:e,$props:t,$slots:n}=this;return r(ln,F(e,t,{ref:"formRef"}),{...n})}}),ni=(e,t)=>{const n=I(),a=d=>{d&&(n.value=d)},l=()=>{if(!n.value)throw new Error("[useForm]: form instance is not ready yet. if you are using useForm, please make sure you have called register method in onRegister event.");return n.value};return[a,{getFormInstance:l,validate:(d,p)=>l().validate.call(null,d,p),restoreValidation:()=>l().restoreValidation.call(null),formModel:()=>He(e)||{},formRules:()=>He(t)||{}}]},gs=["addTabClass","addTabStyle","paneClass","paneStyle","paneWrapperStyle","tabClass","tabStyle","type","label","addable","closable","onAdd","onClose","placement","animated","justifyContent","builtinThemeOverrides","displayDirective"],hs={tabPaddingSmallSegment:"4px 7px",tabPaddingMediumSegment:"6px 11px",tabPaddingLargeSegment:"8px 11px"},vs=tt({...io,options:{type:Array,default:()=>[]},width:{type:[Number,String],default:"fitContent"}},...gs);function ys(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const At=e=>{const{icon:t,label:n}=e;return t?r(E,{align:"center",wrap:!1,size:"small"},{default:()=>{var a;return[(a=ge(t))==null?void 0:a(),r("div",null,[n])]}}):n},bs=e=>{if(typeof e.popover=="string")return r(Ie,null,{trigger:()=>At(e),default:()=>e.popover});if(ce(e.popover,"Object")){const{popover:t}=e,{label:n,...a}=t;return r(Ie,a,{trigger:()=>At(e),default:()=>n})}},_s=M({name:"RSegment",props:vs,setup(e,{expose:t}){const n=w(()=>{const{width:a}=e;let l="";switch(a){case"block":l="100%";break;case"fitContent":l="fit-content";break;default:l=typeof a=="number"?B(a):"fit-content"}return{"--r-segment-width":l}});return t(),{cssVars:n}},render(){let e;const{$props:t,options:n,cssVars:a,themeOverrides:l}=this;return r(uo,F(t,{ref:"segmentRef",style:[a],class:"r-segment",type:"segment",animated:!0,themeOverrides:Object.assign({},hs,l)}),ys(e=n.map(o=>r(co,{key:o.key,name:o.key,tab:o.popover?bs(o):At(o),disabled:o.disabled},{...o.slots})))?e:{default:()=>[e]})}}),Ss={width:{type:[String,Number],default:"auto"},height:{type:[String,Number],default:"auto"},loading:{type:Boolean,default:!1},barcodeRender:{type:String,default:"canvas",validator:e=>["canvas","svg"].includes(e)},text:{type:String},options:{type:Object,default:()=>({})},format:{type:String,default:()=>"CODE128"},watchText:{type:Boolean,default:!0},onSuccess:{type:[Function,Array]},onError:{type:[Function,Array]},onFinally:{type:[Function,Array]}},oi=M({name:"RBarcode",props:Ss,setup(e){const t=ie("barcodeRef"),n=w(()=>({"--r-barcode-width":B(e.width),"--r-barcode-height":B(e.height)}));let a;const l=()=>{try{const{format:o,text:i,options:s,onSuccess:c}=e,d=Object.assign({},s,{format:o});Ko(t.value,i!=null?i.toString():"",d),c&&D(c,i,o,s)}catch(o){const{onError:i}=e;i&&D(i,o)}finally{const{onFinally:o}=e;o&&D(o)}};return ve(()=>{e.watchText?a=he(()=>e.text,l):a==null||a()}),Ee(()=>{l()}),mn(()=>{a==null||a()}),{barcodeRef:t,cssVars:n}},render(){const{barcodeRender:e,loading:t,cssVars:n}=this,a=["r-barcode",{"r-barcode--loading":t}];return r(ot,{class:"r-barcode-spin",show:t},{default:()=>[e==="canvas"?r("canvas",{class:a,style:n,ref:"barcodeRef"},null):r("svg",{class:a,style:n,ref:"barcodeRef"},null)]})}}),ws={...tt(Ae,["pagination"]),paginationCount:{type:Number,default:1},onRegister:{type:Function,default:void 0},manual:{type:Boolean,default:!1},request:{type:Function},onTablePaginationUpdate:{type:Function},requestConfig:{type:Object,default:()=>({})},showPagination:{type:Boolean,default:!1},remote:{type:Boolean,default:!0}};function Cs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const ai=M({name:"RTablePro",props:ws,setup(e){const[t,{clearFilters:n,clearSorter:a,downloadCsv:l,filters:o,page:i,scrollTo:s,sort:c,print:d,filter:p}]=us(),[h,{getPage:S,getPageSize:g,setCallback:m,setItemCount:_,resetPagination:f,getItemCount:b}]=mr(void 0,{prefix:A=>`共 ${A.itemCount} 条`}),u=w(()=>e.request),v=()=>({getItemCount:b,getPage:S,getPageSize:g}),R=()=>{const{onTablePaginationUpdate:A}=e;A&&D(A,v())},C=A=>{const O=Object.assign({},e.requestConfig,A),{params:P,formatRangeTime:j}=O;return j!=null&&j.length&&P&&j.forEach(U=>{const{key:Y,target:H}=U,ue=P[Y];if(ue&&(H!=null&&H.length)){const[X,Fe]=ue;P[H[0]]=X,P[H[1]]=Fe}else P[Y]=null,P[H[0]]=null,P[H[1]]=null}),Object.assign({},P,{page:S(),pageSize:g()})},y=A=>{var P;f();const O=C(A);(P=u.value)==null||P.call(u,O)},x=A=>{var P;const O=C(A);(P=u.value)==null||P.call(u,O)};return ve(()=>{_(e.paginationCount),m(()=>{const{manual:A}=e;A||x(),R()})}),Ee(()=>{const{onRegister:A}=e;A&&D(A,{getTablePagination:v,runTableRequest:y,clearFilters:n,clearSorter:a,downloadCsv:l,filters:o,page:i,scrollTo:s,sort:c,print:d,filter:p,getCurrentTableRequestParams:C})}),{register:t,paginationRef:h}},render(){const{register:e,$props:t,paginationRef:n,$slots:a}=this,{onRegister:l,showPagination:o,...i}=t;return r(cs,F(i,{onRegister:e,pagination:o?n:void 0}),Cs(a)?a:{default:()=>[a]})}}),li=()=>{const e=I(),t=m=>{m&&(e.value=m)},n=()=>{if(!e.value)throw new Error("[useTablePro]: table instance is not ready yet. if you are using useTablePro, please make sure you have called register method in onRegister event.");return e.value};return[t,{clearFilters:()=>n().clearFilters.call(null),getTableProInstance:n,clearSorter:()=>n().clearSorter.call(null),downloadCsv:m=>n().downloadCsv.call(null,m),filters:m=>n().filters.call(null,m),page:m=>n().page.call(null,m),scrollTo:m=>n().scrollTo(m),sort:(m,_)=>n().sort.call(null,m,_),getTablePagination:()=>n().getTablePagination.call(null),runTableRequest:m=>n().runTableRequest.call(null,m),print:m=>n().print.call(null,m),getCurrentTableRequestParams:m=>n().getCurrentTableRequestParams.call(null,m)}]},Ts=(e,t,n)=>!e||typeof e!="object"?!1:e[t]===n,zn=(e,t,n)=>{const a=[];if(Ts(e,t,n))return a.push(e),a;if(e.children&&e.children.length>0)for(const l of e.children){const o=zn(l,t,n);o.length>0&&a.push(e,...o)}return a},Os=(e,t,n)=>{const a=[];for(const l of e){const o=zn(l,t,n);o.length>0&&a.push(...o)}return a},Xt=e=>{const{breadcrumbLabel:t}=e;if(!t)return;const{sideBarLogo:n}=je(),a=n?n.title:"";document.title=t+" - "+a},Rs=e=>{const{meta:{icon:t}}=e;if(!t)return;if(ce(t,"Object"))return()=>t;const{menuConfig:n}=je(),{collapsed:a}=Lt(),l=at(k,{name:t,size:a?n.collapsedIconSize:n.iconSize,cursor:"pointer"},{});return()=>l},In=e=>{const{meta:{extra:t}}=e;if(!t)return;const{show:n}=t;if(n===!1)return;const{t:a}=De(),{label:l,icon:o,type:i,i18nLabel:s}=t,c={type:"primary",size:"small",round:!0,bordered:!1,strong:!0},d=()=>s?a(s):l||null,p=()=>o&&(s||l)||!o&&(s||l)?null:{"padding-right":"0"};if(ce(t,"Object"))return()=>at(po,{...c,type:i||"primary",style:p()},{default:()=>d(),icon:()=>o})},Jt=()=>{const{getRootPath:e}=Pe();return Xe(G.appMenuKey,"sessionStorage",{defaultValue:e.value})},Ln=()=>Fl(Dl()),As=()=>Nl(Ln()),Pt=["redirect","breadcrumbLabel","children","key","meta","name","path","show","fullPath"];let Ke;const En=(e,t)=>{var n;if(Ke&&Kt(Ke.fullPath,t))return Ke;for(const a of e){if(Kt(a.fullPath,t))return Ke=a,a;if((n=a.children)!=null&&n.length){En(a.children,t);continue}}},Lt=lt("menu",()=>{const{push:e,getRoutes:t}=st(),n=sa(),{t:a}=De(),{setKeepAliveInclude:l}=xs(),o=te({menuKey:Jt(),options:[],collapsed:!1,menuTagOptions:[],breadcrumbOptions:[],currentMenuOption:null}),i=I(!0),s=(u,v,R)=>{vn(o,u,v,R)},c=u=>{const{meta:v}=u,{i18nKey:R,noLocalTitle:C}=v,y=w(()=>R?a(`${R}`):C),x={...u,key:u.fullPath,label:()=>at(sn,null,{default:()=>y.value}),breadcrumbLabel:y.value},A=Object.assign({},x,{icon:Rs(u),extra:In(u)});return u.fullPath===Jt()&&(o.currentMenuOption=A),A.show=On(A),A},d=u=>{o.breadcrumbOptions=Os(o.options,"fullPath",u)},p=(u,v=!0)=>{const C=Array.isArray(u)?[...u]:[u];v?o.menuTagOptions.push(...C):o.menuTagOptions=C},h=(u,v)=>{o.menuTagOptions.find(C=>C.fullPath===u)||o.menuTagOptions.push(v)},S=(u,v,R)=>{const{meta:C}=v;if(C.windowOpen)window.open(C.windowOpen);else{e({path:String(u),query:R});const{sameLevel:y}=C;if(l(v),Xt(v),!y)h(u,v),d(u),o.menuKey=u,o.currentMenuOption=v,zt(G.appMenuKey,u);else{const x=ze(c(v),Pt);o.breadcrumbOptions.find(O=>O.key===x.key)||o.breadcrumbOptions.push({...x,fullPath:String(x.key)})}}},g=async(u,v)=>{const[R]=u.split("?"),C=t().find(y=>y.path===R);if(!((C==null?void 0:C.path)==="/"||!(C!=null&&C.path)||(C==null?void 0:C.path)==="/login")&&C){const y=ze(C,Pt);S(R,c({...y,fullPath:y.path}),v)}},m=()=>new Promise(u=>{const v=(R,C)=>{var x;const y=[];for(const A of R){let O=`${C.endsWith("/")?C:C+"/"}${A.path}`;if(O=O.replace(/\/+/g,"/"),(x=A.children)!=null&&x.length)A.children=v(A.children,O);else if(!Fn(A.meta))continue;y.push(c({...A,fullPath:O}))}return y};if(o.options=v(Ln(),""),o.currentMenuOption){const{currentMenuOption:R}=o;o.breadcrumbOptions.length||d(R.key),h(R.fullPath,R),Xt(R)}u()}),_=u=>o.collapsed=u,f=(u,v=1)=>o.menuTagOptions.splice(u,v),b=async()=>{i.value&&(await m(),i.value=!1)};return he(()=>n.fullPath,async(u,v)=>{await b(),u!==v&&await g(u,n.query)},{immediate:!0}),{...Re(o),changeMenuModelValue:S,collapsedMenu:_,spliceMenTagOptions:f,setMenuTagOptions:p,resolveOption:c,updateMenuState:s}},{persist:{key:G.appPiniaMenuStore,storage:window.localStorage,pick:["breadcrumbOptions","menuKey","menuTagOptions","collapsed"]}}),Dn=lt("signing",()=>{const e=te({signingCallback:{}}),t=l=>new Promise((o,i)=>{nn(l)?i({code:1,message:"登陆失败",data:null}):(e.signingCallback={role:"admin",name:l.name,avatar:"https://avatars.githubusercontent.com/u/51957438?v=4"},o({code:0,message:"登陆成功",data:e.signingCallback}))}),n=l=>{const{closeAll:o}=$n(),{appPiniaMenuStore:i,appPiniaSigningStore:s,token:c,signing:d,appMenuKey:p}=G;window.$message.info("账号退出中..."),_e("__all_sessionStorage__","sessionStorage"),_e(s,"localStorage"),_e(i,"localStorage"),_e(c,"localStorage"),_e(d,"localStorage"),_e(p,"localStorage"),o(),l&&(window.location.replace("#/"),setTimeout(()=>{window.location.reload()},0))},a=()=>{n(!0)};return{...Re(e),signing:t,logout:a,clearSigningCallback:n}},{persist:{key:G.appPiniaSigningStore,pick:["signingCallback"],storage:window.localStorage}}),jn=lt("keepAlive",()=>{const e=te({keepAliveInclude:[]}),t=()=>e.keepAliveInclude.length,n=l=>{const o=t(),{name:i,meta:{keepAlive:s}}=l,{maxKeepAliveLength:c}=je().keepAliveConfig;if(s){if(o=c&&(e.keepAliveInclude.splice(0,1),e.keepAliveInclude.push(i))}},a=()=>e.keepAliveInclude;return{...Re(e),setKeepAliveInclude:n,getKeepAliveInclude:a}},{persist:{key:G.appPiniaKeepAliveStore,storage:window.sessionStorage,pick:["keepAliveInclude"]}}),ye=()=>{const e=Lt(),t=w(()=>e.options),n=w(()=>e.breadcrumbOptions),a=w(()=>e.menuKey),l=w(()=>{const{getRootPath:s}=Pe();return e.menuTagOptions.map((c,d,p)=>(c.key===a.value&&c.key!==s.value?c.closeable=!0:c.closeable=!1,c.key===s.value&&(c.closeable=!1),p.length<=1&&(c.closeable=!1),c))}),o=w(()=>e.currentMenuOption),i=w(()=>e.collapsed);return{getMenuOptions:t,getBreadcrumbOptions:n,getMenuKey:a,getMenuTagOptions:l,getCurrentMenuOption:o,getCollapsed:i}},Ne=()=>{const{changeMenuModelValue:e,collapsedMenu:t,spliceMenTagOptions:n,setMenuTagOptions:a,resolveOption:l,updateMenuState:o}=Lt();return{changeMenuModelValue:e,collapsedMenu:t,spliceMenTagOptions:n,setMenuTagOptions:a,resolveOption:l,updateMenuState:o}},$=()=>{const e=je(),t=w(()=>e.drawerPlacement),n=w(()=>e.primaryColorOverride),a=w(()=>e._appTheme),l=w(()=>e.appTheme),o=w(()=>e.menuTagSwitch),i=w(()=>e.breadcrumbSwitch),s=w(()=>e.localeLanguage),c=w(()=>e.lockScreenSwitch),d=w(()=>e.copyrightSwitch),p=w(()=>e.contentTransition),h=w(()=>e.watermarkSwitch),S=w(()=>e.watermarkConfig),g=w(()=>e.appRootRoute),m=w(()=>e.sideBarLogo),_=w(()=>e.keepAliveConfig),f=w(()=>e.menuConfig);return{getDrawerPlacement:t,getPrimaryColorOverride:n,getAppTheme:a,getMenuTagSwitch:o,getBreadcrumbSwitch:i,getLocaleLanguage:s,getLockScreenSwitch:c,getCopyrightSwitch:d,getContentTransition:p,getWatermarkSwitch:h,getWatermarkConfig:S,getAppRootRoute:g,getSideBarLogo:m,getKeepAliveConfig:_,getMenuConfig:f,getAppThemeStr:l}},K=()=>{const{updateLocale:e,changePrimaryColor:t,updateSettingState:n}=je();return{updateLocale:e,changePrimaryColor:t,updateSettingState:n}},Nn=()=>{const e=Dn();return{getSigningCallback:w(()=>e.signingCallback)}},Ps=()=>{const{signing:e,logout:t,clearSigningCallback:n}=Dn();return{signing:e,logout:t,clearSigningCallback:n}},ks=()=>{const e=jn();return{getKeepAliveInclude:w(()=>e.keepAliveInclude)}},xs=()=>{const{setKeepAliveInclude:e,getKeepAliveInclude:t}=jn();return{setKeepAliveInclude:e,getKeepAliveInclude:t}},si=e=>{const t=Qo();e.use(t),t.use(Zo)},Fn=e=>{const{getSigningCallback:t}=Nn(),{role:n}=e;return $e!=null&&$e.length&&$e.includes(t.value.role)||!n||!(n!=null&&n.length)?!0:n?n.includes(t.value.role):!0},Ms=e=>{const{setupRouterLoadingBar:t,setupRouterGuard:n}=$a;t&&$l(e),n&&Bl(e)},zs=I(),Is=M({name:"SiderBarLogo",props:{collapsed:{type:Boolean,required:!0}},setup(){const e=st(),{getSideBarLogo:t}=$();return{sideBarLogo:t,sideBarLogoClick:()=>{t.value&&t.value.url&&(t.value.jumpType==="station"?e.push(t.value.url):window.open(t.value.url))},TemplateLogo:({cursor:l})=>{if(!t.value)return null;if(typeof t.value.icon=="string")return r(k,{name:t.value.icon,size:"30",cursor:l},null);if(ce(t.value.icon,"Object"))return ge(t.value.icon)}}},render(){const{sideBarLogo:e,collapsed:t,TemplateLogo:n,sideBarLogoClick:a}=this;return e!=null&&e.title?r("div",{class:["ray-menu__logo",e!=null&&e.url?"ray-menu__logo-url":null],onClick:a.bind(this),ref:zs},[e!=null&&e.icon?t?r(Ye,{placement:"right"},{trigger:()=>n({cursor:"pointer"}),default:()=>e.title}):n({cursor:"pointer"}):t?r(Ye,{placement:"right"},{trigger:()=>{var l;return r("h1",{class:"n-menu-item-content"},[((l=e.title)==null?void 0:l[0])||null])},default:()=>e.title}):null,r(mo,{class:[t?null:"ray-menu__logo-title--open","ray-menu__logo-title",'class="n-menu-item-content"'],type:"primary",size:18},{default:()=>[r(sn,null,{default:()=>[e.title]})]})]):null}}),Ls=M({name:"AppMenu",setup(){const e=I(null),{changeMenuModelValue:t,collapsedMenu:n,updateMenuState:a}=Ne(),{getMenuConfig:l}=$(),{getMenuOptions:o,getCollapsed:i,getMenuKey:s}=ye(),c=w({get:()=>(q().then(()=>{h()}),s.value),set:()=>{d.value&&re("globalDrawerValue",!1)}}),{isTabletOrSmaller:d}=it({observer:g=>{g&&a("collapsed",!1)}}),p=w({get:()=>rt("globalDrawerValue").value,set:g=>{re("globalDrawerValue",g)}}),h=()=>{const g=c.value;g!=null&&q(()=>{var m,_;return(_=(m=e.value)==null?void 0:m.showOption)==null?void 0:_.call(m,g)})};return{isTabletOrSmaller:d,BasicMenu:()=>r(go,{class:"app-menu__sider",showTrigger:!d.value,collapseMode:l.value.collapsedMode,collapsedWidth:l.value.collapsedWidth,onUpdateCollapsed:n.bind(this),nativeScrollbar:!1,ref:Cn,collapsed:i.value,onExpand:()=>{a("collapsed",!1)},onCollapse:()=>{a("collapsed",!0)}},{default:()=>[l.value.menuSiderBarLogo?r(Is,{collapsed:i.value},null):null,r(fo,{ref:e,class:"r-menu--app",keyField:"fullPath",value:c.value,"onUpdate:value":g=>c.value=g,options:o.value,indent:l.value.collapsedIndent,collapsed:i.value,collapsedIconSize:l.value.collapsedIconSize,collapsedWidth:l.value.collapsedWidth,onUpdateValue:(g,m)=>{t(g,m)},accordion:l.value.accordion,iconSize:l.value.iconSize},null)]}),modelGlobalDrawerValue:p}},render(){const{isTabletOrSmaller:e,BasicMenu:t}=this;return e?r(rn,{class:"app-menu__drawer",show:this.modelGlobalDrawerValue,"onUpdate:show":n=>this.modelGlobalDrawerValue=n,placement:"left",displayDirective:"show",autoFocus:!1},{default:()=>[r(t,null,null)]}):r(t,null,null)}});class Es{constructor(){jt(this,"pendingRequest");this.pendingRequest=new Map}isAppending(t){var n;return((n=t.cancelConfig)==null?void 0:n.cancel)??!0}generateRequestKey(t){const{method:n,url:a}=t;return[a||"",n||"",JSON.stringify(t.params),JSON.stringify(t.data)].join("&")}addPendingRequest(t){var n;if(this.isAppending(t)){t.__CANCELER_TAG_RAY_TEMPLATE__="__CANCELER_TAG_RAY_TEMPLATE__";const a=this.generateRequestKey(t);if(this.pendingRequest.has(a))t.signal=(n=this.pendingRequest.get(a))==null?void 0:n.signal;else{const l=new AbortController;t.signal=l.signal,this.pendingRequest.set(a,l)}}}removePendingRequest(t){const n=this.generateRequestKey(t);this.pendingRequest.has(n)&&(this.pendingRequest.get(n).abort(),this.pendingRequest.delete(n))}cancelAllRequest(){this.pendingRequest.forEach(t=>{t.abort()})}}const gt={requestInstance:null,responseInstance:null},ht={implementRequestInterceptorArray:[],implementResponseInterceptorArray:[]},Ue={implementRequestInterceptorErrorArray:[],implementResponseInterceptorErrorArray:[]},Ds=new Es,ri=()=>{const e=(s,c)=>{c==="requestInstance"?gt.requestInstance=s:gt.responseInstance=s},t=s=>gt[s],n=(s,c,d)=>{d==="ok"?ht[s]=c:Ue[s]=c},a=(s,c)=>c==="ok"?ht[s]:Ue[s],l=(s,...c)=>{Array.isArray(s)&&s.forEach(d=>{typeof d=="function"&&d(...c)})};return{createAxiosInstance:e,setImplement:n,getImplement:a,getAxiosInstance:t,beforeFetch:(s,c,d)=>{const p=d==="ok"?ht[c]:Ue[c],h=t(s),{MODE:S}=Ot();h&&l(p,h,S)},fetchError:(s,c,d)=>{const p=Ue[d],{MODE:h}=Ot();l(p,c,h)}}},js=M({name:"AppRequestCancelerProvider",setup(e,{expose:t}){ra(()=>{Ds.cancelAllRequest()}),t()},render(){return r("div",{class:"app-style-provider"},null)}}),Bn=M({name:"LayoutContentWrapper",setup(){st();const{maximize:e}=Vn(),{getContentTransition:t}=$(),n=I(!1),a={opacitySpinning:"0"},{globalMainLayoutLoad:l,layoutContentMaximize:o,layoutContentSpinning:i}=Ua();return{globalMainLayoutLoad:l,spinning:n,themeOverridesSpin:a,getContentTransition:t,layoutContentMaximize:o,maximize:e,layoutContentSpinning:i}},render(){const{globalMainLayoutLoad:e,layoutContentMaximize:t,layoutContentSpinning:n,maximize:a,spinning:l,themeOverridesSpin:o,getContentTransition:i}=this;return r(ot,{show:l||!e||n,description:"loading...",size:"large",themeOverrides:o,class:[t?"r-layout-full__viewer-content--maximize":null,"r-layout-full__viewer-content--maximize--light","r-layout-full__viewer-content--maximize--dark"]},{default:()=>[t?r("div",{class:"layout-content__maximize-out",onClick:()=>{a(!1)}},[r(k,{name:"out",size:"16",cursor:"pointer"},null)]):null,r(js,null,null),e?r(ms,{class:"content-wrapper",transitionPropName:i+"-transform"},null):null]})}}),Ns=Object.freeze(Object.defineProperty({__proto__:null,default:Bn},Symbol.toStringTag,{value:"Module"}));var Fs={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.1"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const Bs=M({name:"LayoutFooterWrapper",setup(){const{layout:{copyright:e}}=Fs;return{copyright:e}},render(){return this.copyright?r("div",{class:"layout-footer-wrapper"},[this.copyright]):""}}),Vs=M({name:"TooltipIcon",props:{...ho,iconName:{type:String,required:!0},customClassName:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["click"],setup(e,{emit:t}){const n=l=>{t("click",l)};return{iconClick:n,Icon:()=>r(k,{name:e.iconName,size:"18",customClassName:`tooltip-text__icon ${e.customClassName}`,cursor:"pointer",onClick:n.bind(this)},null)}},render(){const{Icon:e}=this;return this.tooltipText?r(Ye,this.$props,{trigger:()=>r(e,null,null),default:()=>this.tooltipText}):r(e,null,null)}}),$s=M({name:"ThemeSegment",setup(){const{system:e}=dn(),{getAppThemeStr:t,getAppTheme:n}=$(),{updateSettingState:a}=K(),l=[{label:"深色",key:"dark",icon:()=>r(k,{name:"dark",size:"16"},null)},{label:"浅色",key:"light",icon:()=>r(k,{name:"light",size:"16"},null)},{label:"自动",key:"auto",icon:()=>r(k,{name:"system_os",size:"16"},null)}],o=w({get:()=>t.value==="auto"?"auto":n.value?"dark":"light",set:s=>{i(s,e.value)}}),i=(s,c)=>{if(s==="auto"){a("_appTheme",c==="dark"),a("appTheme","auto");return}a("_appTheme",s==="dark"),a("appTheme",s)};return ve(()=>{i(o.value,e.value)}),{options:l,modelAppTheme:o}},render(){const{options:e}=this;return r(_s,{options:e,size:"small",width:"block",value:this.modelAppTheme,"onUpdate:value":t=>this.modelAppTheme=t},null)}}),Ks={contentTransition:"scale",watermarkSwitch:!1,keepAliveConfig:{maxKeepAliveLength:10,setupKeepAlive:!0},menuConfig:{collapsedWidth:64,collapsedMode:"width",collapsedIconSize:16,collapsedIndent:24,accordion:!1,menuSiderBarLogo:!0,iconSize:16},menuTagSwitch:!0,breadcrumbSwitch:!0,copyrightSwitch:!0,drawerPlacement:"right"};function vt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const Us=M({name:"SettingDrawer",props:{show:{type:Boolean,default:!1},placement:{type:String,default:"right"},width:{type:Number,default:280}},emits:["update:show"],setup(e,{emit:t}){const{changePrimaryColor:n,updateSettingState:a}=K(),{getAppTheme:l,getPrimaryColorOverride:o,getMenuTagSwitch:i,getBreadcrumbSwitch:s,getCopyrightSwitch:c,getContentTransition:d,getWatermarkSwitch:p,getKeepAliveConfig:h,getMenuConfig:S,getDrawerPlacement:g}=$(),m=w({get:()=>e.show,set:b=>{t("update:show",b)}}),_=w({get:()=>({getMenuTagSwitch:i.value,getBreadcrumbSwitch:s.value,getCopyrightSwitch:c.value,getContentTransition:d.value,getWatermarkSwitch:p.value,getKeepAliveConfig:h.value,getMenuConfig:S.value,getDrawerPlacement:g.value}),set:b=>{}});return{modelShow:m,changePrimaryColor:n,getAppTheme:l,getPrimaryColorOverride:o,updateSettingState:a,modelReactive:_,defaultSettingBtnClick:()=>{Jn(Ks,(b,u)=>{a(u,b)})}}},render(){let e,t,n;const{$t:a,changePrimaryColor:l,updateSettingState:o,defaultSettingBtnClick:i}=this;return r(rn,{show:this.modelShow,"onUpdate:show":s=>this.modelShow=s,placement:this.placement,width:this.width,trapFocus:!1,autoFocus:!1},{default:()=>[r(vo,{title:"系统配置"},{default:()=>[r(E,{class:"setting-drawer__space",vertical:!0},{default:()=>[r(oe,{titlePlacement:"center"},vt(e=a("headerSettingOptions.ThemeOptions.Title"))?e:{default:()=>[e]}),r($s,null,null),r(oe,{titlePlacement:"center"},vt(t=a("headerSettingOptions.ThemeOptions.PrimaryColorConfig"))?t:{default:()=>[t]}),r(yo,{swatches:Q.appThemeColors,value:this.getPrimaryColorOverride.common.primaryColor,"onUpdate:value":s=>this.getPrimaryColorOverride.common.primaryColor=s,onUpdateValue:l.bind(this)},null),r(oe,{titlePlacement:"center"},vt(n=a("headerSettingOptions.ContentTransition"))?n:{default:()=>[n]}),r(Bt,{value:this.modelReactive.getContentTransition,"onUpdate:value":s=>this.modelReactive.getContentTransition=s,options:ja,onUpdateValue:s=>{o("contentTransition",s)}},null),r(oe,{titlePlacement:"center"},{default:()=>[fe("抽屉位置")]}),r(Bt,{value:this.modelReactive.getDrawerPlacement,"onUpdate:value":s=>this.modelReactive.getDrawerPlacement=s,options:[{label:"右边",value:"right"},{label:"左边",value:"left"}],onUpdateValue:s=>{o("drawerPlacement",s)}},null),r(oe,{titlePlacement:"center"},{default:()=>[fe("系统设置")]}),r(bo,{labelPlacement:"left",column:1},{default:()=>[r(de,{label:"菜单页头"},{default:()=>[r(pe,{value:this.modelReactive.getMenuConfig.menuSiderBarLogo,"onUpdate:value":s=>this.modelReactive.getMenuConfig.menuSiderBarLogo=s,onUpdateValue:s=>o("menuConfig",{menuSiderBarLogo:s})},null)]}),r(de,{label:"菜单手风琴"},{default:()=>[r(pe,{value:this.modelReactive.getMenuConfig.accordion,"onUpdate:value":s=>this.modelReactive.getMenuConfig.accordion=s,onUpdateValue:s=>o("menuConfig",{accordion:s})},null)]}),r(de,{label:"页面缓存"},{default:()=>[r(pe,{value:this.modelReactive.getKeepAliveConfig.setupKeepAlive,"onUpdate:value":s=>this.modelReactive.getKeepAliveConfig.setupKeepAlive=s,onUpdateValue:s=>o("keepAliveConfig",{setupKeepAlive:s})},null)]}),r(de,{label:"多标签"},{default:()=>[r(pe,{value:this.modelReactive.getMenuTagSwitch,"onUpdate:value":s=>this.modelReactive.getMenuTagSwitch=s,onUpdateValue:s=>o("menuTagSwitch",s)},null)]}),r(de,{label:"面包屑"},{default:()=>[r(pe,{value:this.modelReactive.getBreadcrumbSwitch,"onUpdate:value":s=>this.modelReactive.getBreadcrumbSwitch=s,onUpdateValue:s=>o("breadcrumbSwitch",s)},null)]}),r(de,{label:"水印"},{default:()=>[r(pe,{value:this.modelReactive.getWatermarkSwitch,"onUpdate:value":s=>this.modelReactive.getWatermarkSwitch=s,onUpdateValue:s=>o("watermarkSwitch",s)},null)]}),r(de,{label:"页底信息"},{default:()=>[r(pe,{value:this.modelReactive.getCopyrightSwitch,"onUpdate:value":s=>this.modelReactive.getCopyrightSwitch=s,onUpdateValue:s=>o("copyrightSwitch",s)},null)]})]}),r(oe,{titlePlacement:"center"},{default:()=>[fe("菜单样式")]}),r(ln,{showFeedback:!0,showRequireMark:!1},{default:()=>[r(Ve,{label:"每级菜单缩进"},{default:()=>[r(ke,{value:this.modelReactive.getMenuConfig.collapsedIndent,"onUpdate:value":s=>this.modelReactive.getMenuConfig.collapsedIndent=s,min:0,precision:0,onUpdateValue:s=>{s!==null&&o("menuConfig",{collapsedIndent:s})}},null)]}),r(Ve,{label:"菜单图标尺寸"},{default:()=>[r(ke,{value:this.modelReactive.getMenuConfig.iconSize,"onUpdate:value":s=>this.modelReactive.getMenuConfig.iconSize=s,min:0,precision:0,onUpdateValue:s=>{s!==null&&o("menuConfig",{iconSize:s})}},null)]}),r(Ve,{label:"折叠菜单图标尺寸"},{default:()=>[r(ke,{value:this.modelReactive.getMenuConfig.collapsedIconSize,"onUpdate:value":s=>this.modelReactive.getMenuConfig.collapsedIconSize=s,min:0,precision:0,onUpdateValue:s=>{s!==null&&o("menuConfig",{collapsedIconSize:s})}},null)]}),r(Ve,{label:"折叠菜单宽度",showFeedback:!1},{default:()=>[r(ke,{value:this.modelReactive.getMenuConfig.collapsedWidth,"onUpdate:value":s=>this.modelReactive.getMenuConfig.collapsedWidth=s,min:0,precision:0,onUpdateValue:s=>{s!==null&&o("menuConfig",{collapsedWidth:s})}},null)]})]}),r(oe,{titlePlacement:"center"},{default:()=>[r(E,{wrap:!1,align:"center",size:[4,0]},{default:()=>[r(Ye,{placement:"top",showArrow:!1},{trigger:()=>r(k,{name:"question",size:"16"},null),default:()=>"当设置为【0】时,缓存将会失效"}),r(cn,null,{default:()=>[fe("最大缓存数")]})]})]}),r(ke,{value:this.modelReactive.getKeepAliveConfig.maxKeepAliveLength,"onUpdate:value":s=>this.modelReactive.getKeepAliveConfig.maxKeepAliveLength=s,showButton:!0,min:0,max:100,precision:0,disabled:!this.modelReactive.getKeepAliveConfig.setupKeepAlive},null),r(oe,{titlePlacement:"center"},{default:()=>[fe("操作")]}),r(E,null,{default:()=>[r(J,{type:"primary",block:!0,onClick:i},{default:()=>[fe("清除设置")]})]})]})]})]})}});function Ws(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const qs=M({name:"SiderBarBreadcrumb",setup(){const{changeMenuModelValue:e}=Ne(),{getBreadcrumbOptions:t}=ye(),{isTabletOrSmaller:n}=it();return{getBreadcrumbOptions:t,dropdownSelect:(o,i)=>{e(o,i)},breadcrumbItemClick:o=>{var i;if(!((i=o.children)!=null&&i.length)){const{meta:s={}}=o;s.sameLevel||e(o.fullPath,o)}},isTabletOrSmaller:n}},render(){let e;const{isTabletOrSmaller:t,getBreadcrumbOptions:n}=this,{dropdownSelect:a,breadcrumbItemClick:l}=this;return t?r("div",{style:"display: none;"},null):r(So,null,{default:()=>[r(za,{tag:"li",name:"breadcrumb",appear:!0},Ws(e=n.map(o=>r(_o,{key:o.fullPath,onClick:l.bind(this,o)},{default:()=>{var i;return[r(Oe,{labelField:"breadcrumbLabel",keyField:"fullPath",options:o.children&&((i=o.children)==null?void 0:i.length)>1?o.children:[],onSelect:a.bind(this)},{default:()=>r("span",null,[o.label&&typeof o.label=="function"?o.label():o.breadcrumbLabel])})]}})))?e:{default:()=>[e]})]})}});function yt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const Gs=M({name:"GlobalSearch",props:{show:{type:Boolean,default:!1}},emits:["update:show"],setup(e,{emit:t}){const{changeMenuModelValue:n,resolveOption:a}=Ne(),{getRoutes:l}=st(),o=w({get:()=>e.show,set:y=>{t("update:show",y),y||g()}}),i=te({searchValue:null,searchOptions:[]}),s=[{icon:["↑","↓"],label:"切换",plain:!0},{icon:["↵"],label:"选择",plain:!0},{icon:["esc"],label:"关闭",plain:!0}];let c=0,d=c;const{isTabletOrSmaller:p}=it(),h=I(!1),S="content-item--active",g=()=>{i.searchOptions=[],i.searchValue=null,c=0,d=c},m=y=>{o.value||(y.ctrlKey||y.metaKey)&&y.key==="k"&&(y.preventDefault(),y.stopPropagation(),g(),o.value=!0)},_=y=>{if(y)h.value=!0;else{h.value=!1,i.searchOptions=[];return}const x=l().reduce((A,O)=>{var U;const P=ze(O,["children","meta","path","name"]),j=a({...P,fullPath:O.path}),{breadcrumbLabel:V}=j;return(U=V==null?void 0:V.toLocaleLowerCase())!=null&&U.includes(y.toLocaleLowerCase())&&On(j)&&A.push(j),A},[]);setTimeout(()=>{i.searchOptions=x,q().then(()=>{b()}),h.value=!1},500)},f=y=>{if(y){const{meta:x}=y;x.windowOpen?window.open(x.windowOpen):(o.value=!1,n(y.fullPath,y),setTimeout(Go,300))}},b=()=>{const y=i.searchOptions[c],x=i.searchOptions[d];y&&q().then(()=>{const A=Ze(`attr:data_path="${y.path}"`),O=x?Ze(`attr:data_path="${x==null?void 0:x.path}"`):null;if(O!=null&&O.length){const[P]=O;Ho(P,S)}if(A!=null&&A.length){const[P]=A;_n(P,S)}})},u=y=>{const{icon:x}=y;return typeof x=="string"?r(k,{name:x,size:"24"},null):typeof x=="function"?()=>x:r(k,{name:"search",size:"24"},null)},v=y=>{y==="up"&&(c-=1,c<0&&(c=i.searchOptions.length-1)),y==="down"&&(c+=1,c>=i.searchOptions.length&&(c=0))},R=y=>{const x=y.key;switch((x==="ArrowUp"||x==="ArrowDown"||x==="Enter")&&(y.preventDefault(),y.stopPropagation()),d=c<=0?0:c,x){case"ArrowUp":v("up");break;case"ArrowDown":v("down");break;case"Enter":const A=i.searchOptions[c];A&&f(A);break}b()},C=({menuOption:y})=>r(E,F({align:"center",class:"content-item"},{onClick:f.bind(this,y),data_path:y.path}),{default:()=>[r("div",{class:"content-item-icon"},[u(y.meta)]),r("div",{class:"content-item-label"},[y.breadcrumbLabel]),r(k,{name:"enter",size:"18",customClassName:"content-item-icon__enter"},null)]});return ve(()=>{p.value&&(o.value=!1)}),Le(window,"keydown",y=>{m(y),R(y)},!0),{...Re(i),modelShow:o,helperTipOptions:s,fuzzySearchMenuOptions:kt(_,300),searchItemClick:f,RenderPreIcon:u,isTabletOrSmaller:p,SearchItem:C,loading:h}},render(){const{isTabletOrSmaller:e,searchOptions:t,loading:n}=this,{SearchItem:a,fuzzySearchMenuOptions:l}=this;return e?r("div",{style:"display: none;"},null):r(on,{show:this.modelShow,"onUpdate:show":o=>this.modelShow=o,transformOrigin:"center",displayDirective:"if"},{default:()=>[r("div",{class:"global-search global-search--dark global-search--light"},[r("div",{class:"global-search__wrapper"},[r(nt,{class:"global-search__card",headerStyle:{padding:"12px 12px 0 12px"},contentStyle:{padding:"12px"},segmented:{action:"soft"}},{header:()=>r(wo,{size:"large",value:this.searchValue,"onUpdate:value":o=>this.searchValue=o,clearable:!0,onInput:l.bind(this)},{prefix:()=>r(k,{name:"search",size:"24"},null)}),default:()=>{let o;return r(xt,null,{default:()=>[r(ot,{show:n},{default:()=>[t.length?r(E,{vertical:!0,size:[0,6],class:"global-search__card-content"},yt(o=t.map((i,s)=>r(a,{menuOption:i,key:i.fullPath},null)))?o:{default:()=>[o]}):r(Co,{size:"large",class:"global-search__empty"},{icon:()=>null,default:()=>r(E,{justify:"center",class:"global-search__empty-content"},{default:()=>[r(cn,null,{default:()=>[fe("没有搜索结果")]})]})})]})]})},action:()=>{let o;return r(E,{justify:"flex-start",align:"center",size:[16,0]},yt(o=this.helperTipOptions.map(i=>r(E,{key:i.label,size:[4,0]},{default:()=>[i.icon.map(s=>r(E,{class:"item-icon",align:"center",justify:"center"},yt(s)?s:{default:()=>[s]})),r(E,{class:"item-label",align:"center"},{default:()=>[i.label]})]})))?o:{default:()=>[o]})}})])])]})}}),Hs=M({name:"GlobalSearchButton",props:{onClick:{type:[Function,Array],default:null}},setup(e){return{getShortcutKeyAboutSystem:()=>{const a=Yo();return a==="MacOS"?"⌘ + K":"CTRL + K"},click:a=>{const{onClick:l}=e;l&&D(l,a)}}},render(){const{getShortcutKeyAboutSystem:e,click:t,$t:n}=this;return r(J,{bordered:!1,onClick:t.bind(this),round:!0,tertiary:!0,style:"margin-right: 16px"},{icon:()=>r(k,{name:"search",size:"16"},null),default:()=>r(E,{align:"center"},{default:()=>[n("headerTooltip.Search"),r("div",{class:"global-search-btn__label"},[e()])]})})}}),Ys=M({name:"AppAvatar",props:{...To,cursor:{type:String,default:"auto"},spaceSize:{type:[String,Number,Array],default:"medium"},avatarSize:{type:[String,Number],default:"medium"},vertical:{type:Boolean,default:!1}},setup(){const{getSigningCallback:e}=Nn();return{getSigningCallback:e}},render(){const{getSigningCallback:e,avatarSize:t,spaceSize:n,$props:a,vertical:l}=this;return r(J,{quaternary:!0,strong:!0,focusable:!1},{default:()=>[r(E,{align:"center",size:n,vertical:l},{default:()=>[r(Oo,F(a,{src:e==null?void 0:e.avatar,objectFit:"cover",round:!0,size:t}),null),e==null?void 0:e.name]})]})}}),Xs=()=>[{key:"person",label:"个人信息"},{key:"lockScreen",label:"锁定屏幕"},{type:"divider",key:"d1"},{key:"logout",label:"退出登陆"}],Js={logout:()=>{const{logout:e}=Ps();window.$dialog.warning({title:"提示",content:"您确定要退出登录吗",positiveText:"确定",negativeText:"不确定",onPositiveClick:()=>{e()}})},lockScreen:()=>{const{updateSettingState:e}=K();e("lockScreenSwitch",!0)}},Zs=e=>{const t=Js[e];t?t():window.$message.info("这个人很懒, 没做这个功能~")},Qs=e=>{const{isTabletOrSmaller:t}=e,n=[],a=[{name:"menu",size:18,eventKey:"menu"}];return t.value?a:n},er=e=>{const{isTabletOrSmaller:t}=e,n=[{name:"fullscreen",size:18,eventKey:"screen"},{name:"github",size:18,eventKey:"github"},{name:"setting",size:18,eventKey:"setting"}],a=[...n],l=[...n];return t.value?l:a},tr=M({name:"AppSiderBar",setup(){const{updateLocale:e,updateSettingState:t}=K(),{t:n}=De(),[a,{toggleFullscreen:l,isEnabled:o}]=hn(document.getElementsByTagName("html")[0]),{getDrawerPlacement:i,getBreadcrumbSwitch:s}=$(),c=I(!1),d=I(!1),{isTabletOrSmaller:p}=it(),h=rt("globalDrawerValue"),S=w(()=>Qs({isFullscreen:a,isTabletOrSmaller:p})),g=w(()=>er({isFullscreen:a,isTabletOrSmaller:p})),m={search:()=>{d.value=!0},setting:()=>{c.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},fullscreen:()=>{o||window.$message.warning(n("globalMessage.isEnabledFullscreen")),l()},lock:()=>{t("lockScreenSwitch",!0)},menu:()=>{re("globalDrawerValue",!h.value)}};return{leftIconOptions:S,rightTooltipIconOptions:g,toolIconClick:b=>{var u;(u=m[b])==null||u.call(m)},showSettings:c,updateLocale:e,getDrawerPlacement:i,getBreadcrumbSwitch:s,globalSearchShown:d,isRenderVNode:b=>p.value?null:b}},render(){const{rightTooltipIconOptions:e,leftIconOptions:t,getDrawerPlacement:n,getBreadcrumbSwitch:a}=this,{toolIconClick:l,updateLocale:o,isRenderVNode:i}=this;return r(un,{class:"layout-header"},{default:()=>[r(Gs,{show:this.globalSearchShown,"onUpdate:show":s=>this.globalSearchShown=s},null),r(E,{class:"layout-header__method",align:"center",justify:"space-between",wrap:!1},{default:()=>[r(E,{align:"center",wrap:!1},{default:()=>[t.map(s=>r(Vs,{key:s.name,iconName:s.name,tooltipText:pn(s.tooltip)?s.tooltip.value:s.tooltip,customClassName:s.iconClass,onClick:l.bind(this,s.name)},null)),a?r(qs,null,null):null]}),r(E,{justify:"end",align:"center",size:[0,0],wrap:!1},{default:()=>[i(r(Hs,{onClick:s=>{s.stopPropagation(),this.globalSearchShown=!0}},null)),e.map(s=>r(J,{class:"override-button__layout",quaternary:!0,size:"medium",key:s.name,onClick:l.bind(this,s.name),focusable:!1},{default:()=>[r(k,{name:s.name,size:16,cursor:"pointer"},null)]})),r(Oe,{options:wn,onSelect:s=>o(String(s)),trigger:"click"},{default:()=>[r(J,{quaternary:!0,class:"override-button__layout",focusable:!1},{default:()=>[r(k,{customClassName:"layout-header__method--icon",name:"language",size:"16",cursor:"pointer"},null)]})]}),r(Oe,{options:Xs(),onSelect:Zs.bind(this),trigger:"click"},{default:()=>[r(Ys,{avatarSize:24,spaceSize:[8,0],class:"override-button__layout"},null)]})]})]}),r(Us,{show:this.showSettings,"onUpdate:show":s=>this.showSettings=s,placement:n},null)]})}}),nr=M({name:"LayoutHeaderWrapper",setup(){return{}},render(){return r(E,{size:[0,0]},{default:()=>[r(tr,null,null)]})}});function or(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const ar=M({name:"AppMenuTag",setup(e,{expose:t}){const n=ie("scrollRef"),{getMenuKey:a,getMenuTagOptions:l}=ye(),{changeMenuModelValue:o}=Ne(),{getRootPath:i}=Pe(),{maximize:s}=Vn(),{reload:c}=fr(),{close:d,closeAll:p,closeRight:h,closeLeft:S,closeOther:g,checkCloseLeft:m,checkCloseRight:_}=$n(),f=["closeAll","closeRight","closeLeft","closeOther","closeCurrentPage"];let b=1/0;const u={size:16},v=I([{label:"关闭当前页面",key:"closeCurrentPage",icon:()=>r(k,{name:"close",size:u.size},null)},{label:"最大化当前页面",key:"maximizeLayoutContent",icon:()=>r(k,{name:"fullscreen_fold",size:u.size},null)},{label:"刷新当前页面",key:"reloadCurrentPage",icon:()=>r(k,{name:"reload",size:u.size},null)},{label:"新窗口打开",key:"windowOpenTab",icon:()=>r(k,{name:"shared",size:u.size},null)},{type:"divider",key:"d1"},{label:"关闭左侧标签页",key:"closeLeft",icon:()=>r(k,{name:"close_left",size:u.size},null)},{label:"关闭右侧标签页",key:"closeRight",icon:()=>r(k,{name:"close_right",size:u.size},null)},{type:"divider",key:"d1"},{label:"关闭其他标签页",key:"closeOther",icon:()=>r(k,{name:"close_other",size:u.size},null)},{label:"关闭所有标签页",key:"closeAll",icon:()=>r(k,{name:"resize_h",size:u.size},null),disabled:!1}]),R=Je(16),C={closeCurrentPage:()=>{a.value!==i.value&&d(b)},reloadCurrentPage:()=>{c()},closeAll:()=>{p()},closeRight:()=>{h(b)},closeLeft:()=>{S(b)},closeOther:()=>{g(b)},windowOpenTab:()=>{const T=l.value[b];if(!(T!=null&&T.fullPath))return;const z=T.fullPath.startsWith("#")?T.fullPath:`#${T.fullPath}`;window.open(z,"_blank")},maximizeLayoutContent:()=>{const T=l.value[b];s(!0),T&&U(T)}},y=te({x:0,y:0,actionDropdownShow:!1}),x="menu_tag_data",A=rt("globalMainLayoutLoad"),O="n-scrollbar-container";let P=a.value;const j=T=>{d(T)},V=(T,z)=>{for(const W of v.value)if(W.key===T){W.disabled=z;break}},U=T=>{y.actionDropdownShow=!1,o(T.fullPath,T)},Y=()=>{const T=document.getElementById(R);if(T)return Array.from(T.childNodes).find(Be=>Xo(Be,O).value)},H=T=>{var W;const z=Y();if(z){const Be=z.scrollLeft||0,Dt=T==="left"?Math.max(0,Be-200):Be+200;(W=n.value)==null||W.scrollTo({left:Dt,behavior:"smooth"})}},ue=T=>{y.actionDropdownShow=!1;const z=C[T];z==null||z()},X=(T,z)=>{z.preventDefault(),b=T,y.actionDropdownShow=!1,q(()=>{y.actionDropdownShow=!0,y.x=z.clientX,y.y=z.clientY})},Fe=()=>{const{closeable:T}=l.value[b]??{};V("closeCurrentPage",!T),_(b)?V("closeRight",!1):V("closeRight",!0),m(b)?V("closeLeft",!1):V("closeLeft",!0)},Un=()=>{b=l.value.findIndex(z=>z.fullPath===a.value),Fe()},Wn=T=>{l.value.length>1&&T.fullPath!==i.value&&(T.closeable=!0)},qn=T=>{T.fullPath!==a.value&&(T.closeable=!1)},Gn=()=>{Y()&&q().then(()=>{var z;(z=n.value)==null||z.scrollTo({left:99999,behavior:"smooth"})})},ct=()=>{q().then(()=>{const T=Ze(`attr:${x}="${a.value}"`);if(T!=null&&T.length){const[z]=T;q().then(()=>{var W;(W=n.value)==null||W.scrollTo({left:z.offsetLeft,behavior:"smooth"})})}})},Hn=()=>{s(!0)};return he(()=>l.value,(T,z)=>{v.value.forEach(W=>{f.includes(W.key)&&(T.length>1?W.disabled=!1:W.disabled=!0)}),z!=null&&z.length&&(T.length>(z==null?void 0:z.length)?Gn():T.length===(z==null?void 0:z.length)&&ct()),z===void 0&&ct()},{immediate:!0}),ve(()=>{var T;y.actionDropdownShow&&((T=kt(Fe,300))==null||T()),P!==a.value&&(P=a.value,ct())}),t(),{getMenuTagOptions:l,closeCurrentMenuTag:j,getMenuKey:a,menuTagClick:U,moreOptions:v,scrollX:H,scrollRef:n,uuidScrollBar:R,actionDropdownSelect:ue,actionState:y,menuTagContextMenu:X,setCurrentContextmenuIndex:Un,menuTagMouseenter:Wn,menuTagMouseleave:qn,MENU_TAG_DATA:x,iconConfig:u,maximize:s,reload:c,globalMainLayoutLoad:A,maximizeBtnClick:Hn}},render(){let e;const{iconConfig:t,uuidScrollBar:n,getMenuTagOptions:a,MENU_TAG_DATA:l,globalMainLayoutLoad:o}=this,{maximizeBtnClick:i,closeCurrentMenuTag:s,scrollX:c,$t:d,menuTagClick:p,menuTagContextMenu:h,menuTagMouseenter:S,menuTagMouseleave:g,actionDropdownSelect:m,reload:_}=this;return r(un,null,{default:()=>[r("div",{class:"menu-tag"},[r(Oe,{class:"menu-tag__dropdown",options:this.moreOptions,x:this.actionState.x,y:this.actionState.y,keyboard:!1,show:this.actionState.actionDropdownShow,trigger:"manual",placement:"bottom-start",onSelect:m.bind(this)},null),r(E,{class:"menu-tag-space",wrap:!1,align:"center",justify:"space-between",inline:!0},{default:()=>[r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:this.scrollX.bind(this,"left")},{icon:()=>r(k,{name:"expanded",width:t.size,height:t.size,customClassName:"menu-tag__left-arrow"},null)}),r(xt,F({xScrollable:!0,ref:"scrollRef"},{id:n},{themeOverrides:{width:"0px",height:"0px"}}),{default:()=>[r(E,{class:"menu-tag-wrapper",wrap:!1,align:"center",justify:"start"},or(e=a.map((f,b)=>r(J,F({key:f.fullPath,class:["menu-tag__btn"],strong:!0,secondary:!0,type:f.fullPath===this.getMenuKey?"primary":"default"},{onClick:p.bind(this,f),onContextmenu:h.bind(this,b),onMouseenter:S.bind(this,f),onMouseleave:g.bind(this,f),onBlur:()=>{this.actionState.actionDropdownShow=!1},[l]:f.fullPath},{size:"small"}),{default:()=>r(gn,null,[r("span",null,{default:()=>{const{breadcrumbLabel:u,meta:{i18nKey:v}}=f;return v?d(v):u}}),r(Ro,F({class:"menu-tag__btn-icon"},{onMousedown:s.bind(this,b)}),{default:()=>[r(k,{name:"close",size:"14"},null)]})])})))?e:{default:()=>[e]})]}),r(E,{align:"center",inline:!0,wrap:!1,size:[0,0]},{default:()=>[r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:c.bind(this,"right")},{icon:()=>r(k,{name:"expanded",width:t.size,height:t.size,style:{transform:"rotate(180deg)"}},null)}),r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:i},{icon:()=>r(k,{name:"fullscreen_fold",width:t.size,height:t.size},null)}),r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:()=>{_()}},{icon:()=>r(k,{name:"reload",width:t.size,height:t.size,customClassName:`${o?"":"menu-tag__right-setting--spinning"}`},null)}),r(xn,{class:"menu-tag__dropdown",options:this.moreOptions,trigger:"click",onSelect:this.actionDropdownSelect.bind(this),iconSize:18,keyboard:!1},{default:()=>[r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:this.setCurrentContextmenuIndex.bind(this)},{icon:()=>r(k,{name:"more",width:t.size,height:t.size},null)})]})]})]})])]})}}),lr=M({name:"LayoutFeatureWrapper",setup(){return{}},render(){return r(ar,null,null)}}),sr=e=>{const t=dt(e[0]),n=dt(e[1]),a=dt(e[2]),{height:l,width:o}=Mt();return w(()=>({"--window-width":`${o.value}px`,"--window-height":`${l.value}px`,"--layout-content-height":`calc(${l.value}px - ${t.height.value}px - ${n.height.value}px - ${a.height.value}px)`,"--layout-content-width":`${t.width.value}px`,"--layout-siderbar-height":`${t.height.value}px`,"--layout-menutag-height":`${n.height.value}px`,"--layout-footer-height":`${a.height.value}px`}))},Zt=Mo(G.isAppLockScreen,!1,sessionStorage,{mergeDefaults:!0}),rr=()=>({setLockAppScreen:n=>{Zt.value=n},getLockAppScreen:()=>Zt.value}),ir=M({name:"RLayout",setup(){const e=I(),t=I(),n=I(),{getMenuTagSwitch:a,getCopyrightSwitch:l}=$(),{getLockAppScreen:o}=rr(),i=sr([e,t,n]);return{getMenuTagSwitch:a,cssVarsRef:i,getLockAppScreen:o,layoutSiderBarRef:e,layoutMenuTagRef:t,layoutFooterRef:n,getCopyrightSwitch:l}},render(){const{getMenuTagSwitch:e,cssVarsRef:t,getCopyrightSwitch:n}=this,{getLockAppScreen:a}=this;return a()?null:r(Ao,{class:"r-layout-full",style:[t],hasSider:!0,embedded:!0},{default:()=>[r(Ls,null,null),r(Vt,{class:"r-layout-full__viewer"},{default:()=>[r(nr,{ref:"layoutSiderBarRef"},null),e?r(lr,{ref:"layoutMenuTagRef"},null):null,r(Vt,{ref:we,class:["r-layout-full__viewer-content"],nativeScrollbar:!1},{default:()=>[r(Bn,null,null)]}),n?r(Bs,{ref:"layoutFooterRef"},null):null]})]})}}),cr=[{path:"/",name:"RLogin",component:()=>L(()=>import("./index-DrOZrx4m.js"),__vite__mapDeps([87,1,2,3,4,5,6,7,8,9,10,11,40,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,71,72,73,30,31,50,33,34,35,36,37,38,39,41,42,43,44,45,46,47,88]))},{path:"/",name:"RLayout",component:ir,children:[...As(),{path:"/:catchAll(.*)",component:()=>L(()=>import("./index-C296AXrg.js"),__vite__mapDeps([89,1,2,3,4,5,6,7,8,9,10,11,32,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,90])),meta:{i18nKey:N("menu.Error"),icon:"error",hidden:!0,sameLevel:!0}}]}],et=ia({history:ca(),routes:cr,scrollBehavior:e=>{Vl(e)}}),ii=e=>{e.use(et),Ms(et)},Et=()=>et?{router:et}:{router:{}},Qt="YYYY-MM-DD HH:mm:ss",ur=()=>({locale:i=>{const s=Ba[i];s?ae.locale(s):ae.locale(Va)},getStartAndEndOfDay:i=>{const{format:s=Qt}=i??{},c=ae(),d=c.startOf("day"),p=c.endOf("day"),h=c.format(s),S=d.format(s),g=p.format(s);return{today:c,startOfDay:d,endOfDay:p,formatToday:h,formatStartOfDay:S,formatEndOfDay:g}},format:(i,s)=>{const{format:c=Qt}=s??{};return ae(i).format(c)},isDayjs:i=>ae.isDayjs(i),daysDiff:(i,s)=>{const c=ae(i);return ae(s).diff(c,"days")},isDateInRange:(i,s)=>{const{start:c,end:d}=s,p=ae(i);return p.isAfter(c)&&p.isBefore(d)}});function it(e){const{width:t,height:n}=Mt(e),a=I(!1),{observer:l}=e??{};return Jo(()=>{const{media:i=768}=e??{};a.value=t.value<=i,l==null||l(a.value,{width:t.value,height:n.value})}),{width:t,height:n,isTabletOrSmaller:Ce(a)}}let bt=999,_t=!1;const me="ELEMENT-FULLSCREEN-RAY",{width:St,height:wt}=Mt(),en=document.createElement("style"),dr=(e,t)=>{const{beforeEnter:n,beforeExit:a,enter:l,exit:o,backgroundColor:i,zIndex:s,transition:c="all 0.3s var(--r-bezier)"}=t??{};let d=!1;const p={x:null,y:null},h=()=>{const f=se(e);if(!f)return;const{left:b,top:u}=f.getBoundingClientRect();p.x===null&&p.y===null&&(p.x=-b,p.y=-u),qe(document.body,{"--element-fullscreen-z-index":ce(s,"Null")||ce(s,"Undefined")?bt:s,"--element-fullscreen-transition":c,"--element-fullscreen-background-color":i,"--element-fullscreen-width":`${St.value}px`,"--element-fullscreen-height":`${wt.value}px`,"--element-fullscreen-transform-x":`${p.x}px`,"--element-fullscreen-transform-y":`${p.y}px`});const v=`
+ [${me}] {
+ position: fixed;
+ width: var(--element-fullscreen-width) !important;
+ height: var(--element-fullscreen-height) !important;
+ transform: translate(var(--element-fullscreen-transform-x), var(--element-fullscreen-transform-y)) !important;
+ transition: var(--element-fullscreen-transition);
+ z-index: var(--element-fullscreen-z-index) !important;
+ background-color: var(--element-fullscreen-background-color);
+ }
+ `;en.innerHTML=v,_t||document.head.appendChild(en)},S=()=>{const f=se(e);n==null||n(),f&&(f.getAttribute(me)||f.setAttribute(me,me),d||(d=!0,bt+=1),_t||(h(),_t=!0),f.style.transition=c,l==null||l())},g=()=>{a==null||a();const f=se(e);f&&f.removeAttribute(me),o==null||o()},m=()=>{const f=se(e);f&&(f.getAttribute(me)?g():S())},_=he(()=>[St.value,wt.value],h);return It(()=>{const f=se(e);f&&f.removeAttribute(me),bt--,_()}),{enter:S,exit:g,toggleFullscreen:m,currentWindowSize:{width:St,height:wt}}},Ct={svg:ea,png:ta,jpeg:na,blob:oa,pixelData:aa,canvas:la},ci=(e,t)=>{const{beforeCreate:n,created:a,createdError:l,finally:o,imageType:i}=t??{};return{create:c=>new Promise((d,p)=>{var S;const h=se(e);if(n==null||n(h),!h)return l==null||l(),p("useDomToImage: element is undefined.");(S=Ct[c??i??"jpeg"])==null||S.call(Ct,h,t).then(g=>(a==null||a(g,h),d(g))).catch(g=>(l==null||l(g),p(g))).finally(()=>{o==null||o(h)})})}},ui=(e,t)=>({print:()=>{const a=se(e)||e;$o({...tt(t,["printable"]),printable:a})}}),pr={page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50,100]},mr=(e,t)=>{const n=I(e),a=tt(t,["on-update:page","on-update:page-size","onUpdatePage","onUpdatePageSize","onUpdate:page","onUpdate:page-size"]),o=I(Object.assign({},pr,a,{onUpdatePage:u=>{var v;o.value.page=u,(v=n.value)==null||v.call(n)},onUpdatePageSize:u=>{var v;o.value.pageSize=u,o.value.page=1,(v=n.value)==null||v.call(n)}})),i=o.value.onUpdatePage,s=o.value.onUpdatePageSize,c=()=>o.value.itemCount,d=u=>{o.value.itemCount=u},p=()=>o.value.page,h=u=>{i(u)},S=()=>o.value.pageSize,g=u=>{s(u)},m=()=>o.value,_=e,f=u=>{n.value=u},b=()=>{const{pageSizes:u}=o.value;o.value.page=1,o.value.pageSize=(u==null?void 0:u[0])||10};return It(()=>{n.value=void 0}),[o,{getItemCount:c,setItemCount:d,getPage:p,setPage:h,getPageSize:S,setPageSize:g,getPagination:m,getCallback:_,setCallback:f,resetPagination:b}]},Vn=()=>({isLayoutContentMaximized:w(()=>rt("layoutContentMaximize").value),maximize:(n,a)=>{var s;const{scrollToOptions:l}=a??{},o=se(we),{toggleFullscreen:i}=dr(o,a);re("layoutContentMaximize",n),i(),l&&n&&((s=we==null?void 0:we.value)==null||s.scrollTo(l))}}),fr=()=>({reload:(a=800)=>{re("globalMainLayoutLoad",!1),setTimeout(()=>re("globalMainLayoutLoad",!0),a)},openSpin:()=>{re("layoutContentSpinning",!0)},closeSpin:()=>{re("layoutContentSpinning",!1)}}),di=()=>({setWatermarkContent:l=>{const{getWatermarkConfig:o}=$(),i=Object.assign(o.value,{content:l}),{updateSettingState:s}=K();s("watermarkConfig",i)},showWatermark:()=>{const{updateSettingState:l}=K();l("watermarkSwitch",!0)},hiddenWatermark:()=>{const{updateSettingState:l}=K();l("watermarkSwitch",!1)},toggleWatermark:()=>{const{getWatermarkSwitch:l}=$(),{updateSettingState:o}=K();o("watermarkSwitch",!l.value)}}),We=e=>{const{getPrimaryColorOverride:t}=$(),{updateSettingState:n}=K();n("primaryColorOverride",e?Object.assign({},t.value,Q.appNaiveUIThemeOverrides.dark,Q.appNaiveUIThemeOverridesCommon.dark):Object.assign({},t.value,Q.appNaiveUIThemeOverrides.light,Q.appNaiveUIThemeOverridesCommon.light))},pi=()=>{const e=()=>{const{getAppTheme:o}=$(),{t:i}=De();return{theme:o.value,themeI18nLabel:o.value?i("headerSettingOptions.ThemeOptions.Dark"):i("headerSettingOptions.ThemeOptions.Light"),themeLabel:o.value?"Dark":"Light"}};return{darkTheme:()=>{const{updateSettingState:o}=K();o("_appTheme",!0),o("appTheme","dark"),We(!0)},lightTheme:()=>{const{updateSettingState:o}=K();o("_appTheme",!1),o("appTheme","light"),We(!1)},toggleTheme:()=>{const{theme:o}=e(),{updateSettingState:i}=K();i("_appTheme",!o),i("appTheme",o?"light":"dark"),We(!o)},getAppTheme:e,syncSystemTheme:()=>{const{getAppTheme:o}=$(),{updateSettingState:i}=K(),{system:s}=dn();i("_appTheme",s.value==="dark"),i("appTheme","auto"),We(o.value)}}},Se=(e,t)=>{const{getMenuTagOptions:n}=ye();if(typeof e=="number"){if(isNaN(e)){console.warn(`${t}: The ${e} is NaN, expect number.`);return}if(e>n.value.length||e<-1){console.warn(`${t}: The incoming index ${e} did not match the corresponding item.`);return}return{option:n.value[e],index:e}}else if(typeof e=="string"){const a=n.value.findIndex(l=>l.fullPath===e);return a>-1?{option:n.value[a],index:a}:console.warn(`${t}: The incoming key ${e} did not match the corresponding item.`)}else{const{fullPath:a}=e,l=n.value.findIndex(o=>o.fullPath===a);if(l===-1){console.warn(`${t}: The incoming menuTag option ${e.fullPath} did not match the corresponding item.`);return}return{option:e,index:l}}};function $n(){const{getMenuTagOptions:e,getMenuKey:t}=ye(),{changeMenuModelValue:n,spliceMenTagOptions:a,setMenuTagOptions:l,resolveOption:o}=Ne(),i=()=>e.value.findIndex(m=>m.fullPath===t.value);return{close:m=>{const _=Se(m,"close");if(e.value.length!==1&&_){const{index:f,option:b}=_;if(a(f),b.fullPath===t.value){const u=e.value[f-1];u&&n(u.fullPath,u)}}},closeAll:()=>{a(0,e.value.length);const{getRootPath:m}=Pe(),{router:{getRoutes:_}}=Et(),f=_().find(b=>b.path===m.value);if(f){const b=ze(f,Pt),u=o(b);n(u.path,o({...u,fullPath:u.path}))}},closeRight:m=>{const _=Se(m,"closeRight");if(_){const{option:f,index:b}=_,u=e.value.length-b,v=i();a(b+1,u),b<=v&&t.value!==f.fullPath&&n(f.fullPath,f)}},closeLeft:m=>{const _=Se(m,"closeLeft");if(_){const{option:f,index:b}=_,u=i();a(0,b),u<=b&&t.value!==f.fullPath&&n(f.fullPath,f)}},closeOther:m=>{const _=Se(m,"closeOther");if(_){const{option:f}=_;t.value!==f.fullPath?(a(0,e.value.length),n(f.fullPath,f)):l(f,!1)}},getCurrentTagIndex:i,checkCloseRight:m=>{const _=Se(m,"checkCloseRight");if(_){const{index:f}=_,b=e.value.length-1;return!(f>=b)}return!1},checkCloseLeft:m=>{const _=Se(m,"checkCloseRight");if(_){const{index:f}=_,b=e.value.length-1;return f===0?!1:f>0&&b>0}return!1}}}function mi(){return{navigationTo:(t,n)=>{const{router:{getRoutes:a,push:l,replace:o}}=Et(),{isPush:i=!0,query:s}=n||{},c=d=>i?l({path:d,query:s}):o({path:d,query:s});if(typeof t=="number"){if(isNaN(t)){console.warn(`[navigationTo]: The ${t} is NaN, expect number.`);return}const{getMenuOptions:d}=ye();if(t>d.value.length){console.warn(`[navigationTo]: The current ${t} exceeds the maximum number of menus.`);return}const p=d.value[t],h=S=>{if(S.children&&S.children.length>0){const{children:[g]}=S;h(g);return}c(S.fullPath)};h(p)}else if(typeof t=="string"){const d=a().find(p=>p.path===t);d?c(d.path):console.warn(`[navigationTo]: The path "${t}" is not found.`)}else c(t.fullPath)}}}function Pe(){const{getAppRootRoute:e}=$(),{updateSettingState:t}=K(),n=e,a=w(()=>e.value.path),l=w(()=>e.value.name);return{getRootRoute:n,getRootPath:a,getRootName:l,setRootRoute:i=>{t("appRootRoute",Object.assign({},e.value,i))}}}const gr=(e,t)=>{const{show:n,...a}=t;e.meta.extra=Object.assign({},e.meta.extra,{...a,show:n}),e.extra=In(e)},tn=(e,t,n)=>{const a=En(e,t);a&&gr(a,n)},Tt=(e,t,n)=>{const{getMenuOptions:a}=ye();if(typeof e=="string")tn(a.value,e,n);else if(ce(e,"Object")){const{fullPath:l}=e;tn(a.value,l,n)}else console.warn(`[useBadge ${t}]: target expect string or object.`)};function fi(){return{hidden:a=>{Tt(a,"hidden",{show:!1})},show:a=>{Tt(a,"show",{show:!0})},update:(a,l)=>{Tt(a,"update",l)}}}const gi=()=>{const e=Cn.value,{scrollTo:t}=e||{};if(!t)throw new Error("[useSiderScroll]: LAYOUT_SIDER_REF is not ready yet. please wait component mounted!");return t},Kn=()=>Xe(G.localeLanguage,"localStorage",{defaultValue:Na});export{Vn as $,Ur as A,Gr as B,Xr as C,Va as D,Jr as E,ni as F,fs as G,Zr as H,mr as I,Yr as J,cs as K,Cn as L,$r as M,ei as N,_s as O,li as P,ti as Q,Qr as R,zs as S,ai as T,ur as U,Ds as V,ri as W,qr as X,us as Y,xn as Z,L as _,ci as a,mi as a0,fr as a1,di as a2,fi as a3,ui as b,gi as c,Wr as d,$ as e,G as f,Vr as g,K as h,rr as i,Ps as j,it as k,Ys as l,rt as m,Kr as n,Hr as o,ii as p,Pe as q,De as r,si as s,k as t,pi as u,wn as v,mt as w,Et as x,Br as y,oi as z};
diff --git a/js/hooks-DonDO7vb.js.gz b/js/hooks-DonDO7vb.js.gz
new file mode 100644
index 00000000..038fa87f
Binary files /dev/null and b/js/hooks-DonDO7vb.js.gz differ
diff --git a/js/index-0FDXYZQ5.js.gz b/js/index-0FDXYZQ5.js.gz
deleted file mode 100644
index 86576e47..00000000
Binary files a/js/index-0FDXYZQ5.js.gz and /dev/null differ
diff --git a/js/index-DGnIX46Y.js b/js/index-3bzRwRyq.js
similarity index 66%
rename from js/index-DGnIX46Y.js
rename to js/index-3bzRwRyq.js
index 6e2949d0..4df7250f 100644
--- a/js/index-DGnIX46Y.js
+++ b/js/index-3bzRwRyq.js
@@ -1 +1 @@
-import{l as r,b as u,I as t}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{N as e,c as o}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const y=r({name:"RouterDemoDetail",render(){return u(o,null,{default:()=>[u(e,{title:this.$route.query.name||"hello"},{default:()=>[t("你好 "),this.$route.query.name]}),u(e,{title:"平层路由详情页面"},{default:()=>[t("我是平层路由详情页面")]}),u(e,{title:"TIP"},{default:()=>[u("h2",null,[t("1. 可以点击面包屑或者菜单返回到主页面")]),u("h2",null,[t("2. 如果这个页面需要配置多个详情页面,只需将该路由所在的 children 中,将所需页面配置为 sameLevel 即可。")])]})]})}});export{y as default};
+import{l as r,b as u,I as t}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{N as e,c as o}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const y=r({name:"RouterDemoDetail",render(){return u(o,null,{default:()=>[u(e,{title:this.$route.query.name||"hello"},{default:()=>[t("你好 "),this.$route.query.name]}),u(e,{title:"平层路由详情页面"},{default:()=>[t("我是平层路由详情页面")]}),u(e,{title:"TIP"},{default:()=>[u("h2",null,[t("1. 可以点击面包屑或者菜单返回到主页面")]),u("h2",null,[t("2. 如果这个页面需要配置多个详情页面,只需将该路由所在的 children 中,将所需页面配置为 sameLevel 即可。")])]})]})}});export{y as default};
diff --git a/js/index-3bzRwRyq.js.gz b/js/index-3bzRwRyq.js.gz
new file mode 100644
index 00000000..d2ef512f
Binary files /dev/null and b/js/index-3bzRwRyq.js.gz differ
diff --git a/js/index-DbRyq2_G.js b/js/index-40P_oJMv.js
similarity index 73%
rename from js/index-DbRyq2_G.js
rename to js/index-40P_oJMv.js
index c91d1efb..ca573862 100644
--- a/js/index-DbRyq2_G.js
+++ b/js/index-40P_oJMv.js
@@ -1 +1 @@
-import"./hooks-BY0i9Xdx.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{s as n,g as l,t as c,B as f}from"./utils-CsGRTM5U.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{c as i,af as u,ag as a,R as m,O as o,N as d}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as g,b as e,I as r}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as p}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const ne=g({name:"CacheDemo",setup(){const t=p("Ray"),s=p("ray:");return{nameValue:t,currentPrefix:s}},render(){return e(d,{title:"cache 工具包示例"},{default:()=>e(i,{vertical:!0},{default:()=>[e("h3",null,[r("点击 setStorage 按钮,设置缓存示例")]),e(u,null,{default:()=>[e(a,null,{default:()=>[r("设置缓存内容")]}),e(m,{value:this.nameValue,"onUpdate:value":t=>this.nameValue=t,placeholder:"请输入姓名"},null)]}),e(u,null,{default:()=>[e(a,null,{default:()=>[r("设置前缀")]}),e(m,{value:this.currentPrefix,"onUpdate:value":t=>this.currentPrefix=t,placeholder:"请输入前缀"},null)]})]}),action:()=>e(i,null,{default:()=>[e(o,{onClick:()=>{n("name",this.nameValue,"sessionStorage",{prefix:!0,prefixKey:this.currentPrefix}),window.$message.success("设置成功")}},{default:()=>[r("setStorage")]}),e(o,{onClick:()=>{const t=l("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix});window.$message.success(`获取到的姓名为:${t}`)}},{default:()=>[r("getStorage")]}),e(o,{onClick:()=>{c("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix}),window.$message.success("删除成功")}},{default:()=>[r("removeStorage")]}),e(o,{onClick:()=>{const t=f("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix});window.$message.success(`是否存在:${t}`)}},{default:()=>[r("hasStorage")]})]})})}});export{ne as default};
+import"./hooks-DonDO7vb.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{s as n,g as l,t as c,B as f}from"./utils-6rpFoFAR.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{c as i,af as u,ag as a,T as m,P as o,N as d}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as g,b as e,I as r}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as p}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const ne=g({name:"CacheDemo",setup(){const t=p("Ray"),s=p("ray:");return{nameValue:t,currentPrefix:s}},render(){return e(d,{title:"cache 工具包示例"},{default:()=>e(i,{vertical:!0},{default:()=>[e("h3",null,[r("点击 setStorage 按钮,设置缓存示例")]),e(u,null,{default:()=>[e(a,null,{default:()=>[r("设置缓存内容")]}),e(m,{value:this.nameValue,"onUpdate:value":t=>this.nameValue=t,placeholder:"请输入姓名"},null)]}),e(u,null,{default:()=>[e(a,null,{default:()=>[r("设置前缀")]}),e(m,{value:this.currentPrefix,"onUpdate:value":t=>this.currentPrefix=t,placeholder:"请输入前缀"},null)]})]}),action:()=>e(i,null,{default:()=>[e(o,{onClick:()=>{n("name",this.nameValue,"sessionStorage",{prefix:!0,prefixKey:this.currentPrefix}),window.$message.success("设置成功")}},{default:()=>[r("setStorage")]}),e(o,{onClick:()=>{const t=l("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix});window.$message.success(`获取到的姓名为:${t}`)}},{default:()=>[r("getStorage")]}),e(o,{onClick:()=>{c("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix}),window.$message.success("删除成功")}},{default:()=>[r("removeStorage")]}),e(o,{onClick:()=>{const t=f("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix});window.$message.success(`是否存在:${t}`)}},{default:()=>[r("hasStorage")]})]})})}});export{ne as default};
diff --git a/js/index-40P_oJMv.js.gz b/js/index-40P_oJMv.js.gz
new file mode 100644
index 00000000..1dbde79c
Binary files /dev/null and b/js/index-40P_oJMv.js.gz differ
diff --git a/js/index-DelUBd5p.js b/js/index-5V4yf9yZ.js
similarity index 76%
rename from js/index-DelUBd5p.js
rename to js/index-5V4yf9yZ.js
index bd5342cd..598babbd 100644
--- a/js/index-DelUBd5p.js
+++ b/js/index-5V4yf9yZ.js
@@ -1 +1 @@
-import{F as f,G as h}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{a as F,ah as r,R as p,L as v,ai as b,aj as y,ak as s,c as N,O as l}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as k,b as t,I as i}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as d}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const Ft=k({name:"RFormDemo",setup(){const[u,{getFormInstance:m,validate:o,restoreValidation:n,formModel:a,formRules:e}]=f({name:null,age:null,gender:null,date:null,remark:null},{name:{required:!0,message:"请输入姓名",trigger:["blur","change"]},date:{required:!0,message:"请选择日期",trigger:["blur","change"],type:"number"},gender:{required:!0,message:"请选择性别",trigger:"change"},age:{required:!0,message:"请输入年龄",trigger:["blur","change"],type:"number"}}),c=d(e()),g=d(a());return{register:u,rules:c,condition:g,restoreValidation:n,formModel:a,validate:o}},render(){const{rules:u}=this,{register:m,restoreValidation:o,formModel:n,validate:a}=this;return t(h,{onRegister:m,rules:u,model:this.condition},{default:()=>[t(F,{cols:24,xGap:24},{default:()=>[t(r,{label:"姓名",path:"name",span:12},{default:()=>[t(p,{value:this.condition.name,"onUpdate:value":e=>this.condition.name=e},null)]}),t(r,{label:"年龄",path:"age",span:12},{default:()=>[t(v,{value:this.condition.age,"onUpdate:value":e=>this.condition.age=e,showButton:!1,style:"width: 100%"},null)]}),t(r,{label:"出生日期",path:"date",span:12},{default:()=>[t(b,{value:this.condition.date,"onUpdate:value":e=>this.condition.date=e,style:"width: 100%"},null)]}),t(r,{label:"性别",path:"gender",span:12},{default:()=>[t(y,{value:this.condition.gender,"onUpdate:value":e=>this.condition.gender=e},{default:()=>[t(s,{value:"girl"},{default:()=>[i("女")]}),t(s,{value:"man"},{default:()=>[i("男")]})]})]}),t(r,{label:"备注信息",span:24},{default:()=>[t(p,{type:"textarea",value:this.condition.remark,"onUpdate:value":e=>this.condition.remark=e},null)]}),t(r,{span:24},{default:()=>[t(N,{justify:"flex-end",style:"width: 100%"},{default:()=>[t(l,{type:"info",onClick:()=>{this.condition=n(),o()}},{default:()=>[i("重置表单为初始状态")]}),t(l,{type:"warning",onClick:o.bind(this)},{default:()=>[i("移除校验状态")]}),t(l,{type:"primary",onClick:()=>a()},{default:()=>[i("校验")]})]})]})]})]})}});export{Ft as default};
+import{F as f,G as h}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{a as F,ah as r,T as p,M as v,ai as b,aj as y,ak as s,c as N,P as l}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as k,b as t,I as i}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as d}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const Ft=k({name:"RFormDemo",setup(){const[u,{getFormInstance:m,validate:o,restoreValidation:n,formModel:a,formRules:e}]=f({name:null,age:null,gender:null,date:null,remark:null},{name:{required:!0,message:"请输入姓名",trigger:["blur","change"]},date:{required:!0,message:"请选择日期",trigger:["blur","change"],type:"number"},gender:{required:!0,message:"请选择性别",trigger:"change"},age:{required:!0,message:"请输入年龄",trigger:["blur","change"],type:"number"}}),c=d(e()),g=d(a());return{register:u,rules:c,condition:g,restoreValidation:n,formModel:a,validate:o}},render(){const{rules:u}=this,{register:m,restoreValidation:o,formModel:n,validate:a}=this;return t(h,{onRegister:m,rules:u,model:this.condition},{default:()=>[t(F,{cols:24,xGap:24},{default:()=>[t(r,{label:"姓名",path:"name",span:12},{default:()=>[t(p,{value:this.condition.name,"onUpdate:value":e=>this.condition.name=e},null)]}),t(r,{label:"年龄",path:"age",span:12},{default:()=>[t(v,{value:this.condition.age,"onUpdate:value":e=>this.condition.age=e,showButton:!1,style:"width: 100%"},null)]}),t(r,{label:"出生日期",path:"date",span:12},{default:()=>[t(b,{value:this.condition.date,"onUpdate:value":e=>this.condition.date=e,style:"width: 100%"},null)]}),t(r,{label:"性别",path:"gender",span:12},{default:()=>[t(y,{value:this.condition.gender,"onUpdate:value":e=>this.condition.gender=e},{default:()=>[t(s,{value:"girl"},{default:()=>[i("女")]}),t(s,{value:"man"},{default:()=>[i("男")]})]})]}),t(r,{label:"备注信息",span:24},{default:()=>[t(p,{type:"textarea",value:this.condition.remark,"onUpdate:value":e=>this.condition.remark=e},null)]}),t(r,{span:24},{default:()=>[t(N,{justify:"flex-end",style:"width: 100%"},{default:()=>[t(l,{type:"info",onClick:()=>{this.condition=n(),o()}},{default:()=>[i("重置表单为初始状态")]}),t(l,{type:"warning",onClick:o.bind(this)},{default:()=>[i("移除校验状态")]}),t(l,{type:"primary",onClick:()=>a()},{default:()=>[i("校验")]})]})]})]})]})}});export{Ft as default};
diff --git a/js/index-5V4yf9yZ.js.gz b/js/index-5V4yf9yZ.js.gz
new file mode 100644
index 00000000..27ff2048
Binary files /dev/null and b/js/index-5V4yf9yZ.js.gz differ
diff --git a/js/index-Dn1J5-dJ.js b/js/index-8F6Ug6Kd.js
similarity index 53%
rename from js/index-Dn1J5-dJ.js
rename to js/index-8F6Ug6Kd.js
index 09ff8ebc..cfae1d08 100644
--- a/js/index-Dn1J5-dJ.js
+++ b/js/index-8F6Ug6Kd.js
@@ -1 +1 @@
-import{l as o,b as r,I as e}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as p}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{R as i}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const k=o({name:"SubMenuOther",setup(){return{inputValue:p(null)}},render(){return r("div",null,[e("多级菜单-2-1"),r(i,{modelValue:this.inputValue,"onUpdate:modelValue":t=>this.inputValue=t},null)])}});export{k as default};
+import{l as o,b as r,I as e}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as p}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{T as i}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const T=o({name:"SubMenuOther",setup(){return{inputValue:p(null)}},render(){return r("div",null,[e("多级菜单-2-1"),r(i,{modelValue:this.inputValue,"onUpdate:modelValue":t=>this.inputValue=t},null)])}});export{T as default};
diff --git a/js/index-8F6Ug6Kd.js.gz b/js/index-8F6Ug6Kd.js.gz
new file mode 100644
index 00000000..a0f8a7b7
Binary files /dev/null and b/js/index-8F6Ug6Kd.js.gz differ
diff --git a/js/index-CbL5Zl-U.js b/js/index-B-oZGJ3j.js
similarity index 62%
rename from js/index-CbL5Zl-U.js
rename to js/index-B-oZGJ3j.js
index f9c16a33..3396da23 100644
--- a/js/index-CbL5Zl-U.js
+++ b/js/index-B-oZGJ3j.js
@@ -1 +1 @@
-import{l as o,b as r,I as t}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{N as u}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const S=o({name:"ScrollReveal",render(){return r("div",{class:"scroll-reveal"},[r(u,{title:"提示"},{default:()=>[t("RayScrollReveal组件有点问题, 暂时移除. 不能正常的实现滚动动画. 很是操蛋!!!")]})])}});export{S as default};
+import{l as o,b as r,I as t}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{N as u}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const S=o({name:"ScrollReveal",render(){return r("div",{class:"scroll-reveal"},[r(u,{title:"提示"},{default:()=>[t("RayScrollReveal组件有点问题, 暂时移除. 不能正常的实现滚动动画. 很是操蛋!!!")]})])}});export{S as default};
diff --git a/js/index-B-oZGJ3j.js.gz b/js/index-B-oZGJ3j.js.gz
new file mode 100644
index 00000000..1574ed60
Binary files /dev/null and b/js/index-B-oZGJ3j.js.gz differ
diff --git a/js/index-B8sGbhY_.js.gz b/js/index-B8sGbhY_.js.gz
deleted file mode 100644
index 61ad4e3a..00000000
Binary files a/js/index-B8sGbhY_.js.gz and /dev/null differ
diff --git a/js/index-BA7MPIf6.js b/js/index-BA7MPIf6.js
new file mode 100644
index 00000000..08cc480b
--- /dev/null
+++ b/js/index-BA7MPIf6.js
@@ -0,0 +1 @@
+import{I as C,J as f,K as k}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{a as A}from"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import{s as B}from"./instance-D7APY90Q.js";import"./lodash@4.17.21-Cw59kuJw.js";import{N as l,q as y,ah as h,T as D,P as i,c as p}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as b,b as t,I as o,F as w}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{e as P,x as N}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./axios@1.7.5-C8DqakIB.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const R=e=>B({url:"/api/list",method:"get",params:e}),Nt=b({name:"MockDemo",setup(){const e=[{type:"selection",multiple:!0},{title:"id",key:"id"},{title:"邮箱",key:"email"},{title:"地址",key:"address"},{title:"姓名",key:"name"},{title:"年龄",key:"age"},{title:"创建时间",key:"createDate"},{title:"操作",key:"action",render:m=>t(p,{align:"center"},{default:()=>[t(i,{type:"primary",text:!0,onClick:()=>{window.$message.info("查看")}},{default:()=>[o("查看")]}),t(i,{type:"primary",text:!0,onClick:()=>{window.$message.warning("编辑")}},{default:()=>[o("编辑")]}),t(i,{type:"error",text:!0,onClick:()=>{window.$message.error("删除")}},{default:()=>[o("删除")]})]})}],u=P({email:null}),[n,{getPage:r,getPageSize:a,setItemCount:s,getCallback:F,setPage:x,setPageSize:v}]=C(()=>{E({page:r(),pageSize:a(),email:u.email})}),{data:c,loading:d,run:E}=A(R,{defaultParams:[{page:r(),pageSize:a(),email:u.email}],onSuccess:m=>{const{total:g}=m;s(g)}});return{personData:c,personLoading:d,columns:e,...N(u),getCallback:F,paginationRef:n}},render(){return t(p,{vertical:!0},{default:()=>{var e;return[t(l,{title:"Mock 数据"},{default:()=>[t("h2",null,[o("mock 数据使用。但是,并没有启用生产环境的部署,所以生产环境结果为空。")])]}),t(l,{title:"提示"},{default:()=>[t("h2",null,[o("RTable 组件有一个比较值得注意的地方就是,该组件会自动的按照数据量计算分页条数。所以你在异步获取数据的时候,一定要手动设置 remote 属性为 true,并且设置 itemCount 或者 pageCount。")])]}),t(y,{labelPlacement:"left"},{default:()=>[t(f,{cols:3},{default:()=>t(w,null,[t(h,{label:"邮箱"},{default:()=>[t(D,{value:this.email,"onUpdate:value":u=>this.email=u,clearable:!0},null)]})]),action:()=>{var u;return t(i,{type:"primary",onClick:(u=this.getCallback)==null?void 0:u.bind(this)},{default:()=>[o("搜索")]})}})]}),t(k,{title:"Mock数据表格",data:(e=this.personData)==null?void 0:e.data,loading:this.personLoading,columns:this.columns,"onUpdate:columns":u=>this.columns=u,pagination:this.paginationRef,remote:!0,rowKey:u=>u.id},null)]}})}});export{Nt as default};
diff --git a/js/index-BA7MPIf6.js.gz b/js/index-BA7MPIf6.js.gz
new file mode 100644
index 00000000..4f617132
Binary files /dev/null and b/js/index-BA7MPIf6.js.gz differ
diff --git a/js/index-BG6oi-U_.js b/js/index-BG6oi-U_.js
new file mode 100644
index 00000000..a785cdff
--- /dev/null
+++ b/js/index-BG6oi-U_.js
@@ -0,0 +1 @@
+import{Y as U,Q as j,J as z,K as G,t as L,Z as P}from"./hooks-DonDO7vb.js";import{j as Y}from"./utils-6rpFoFAR.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{N as D,c as i,ae as _,P as u,v as S,b as r,H,T as F,ai as Q,K as X,n as Z}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as q,b as e,I as l,F as I,p as W}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as x,e as ee,x as te}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function N(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!W(n)}const Xe=q({name:"TableView",setup(){const[n,{getTableInstance:c,clearFilters:p,clearSorter:m,scrollTo:f,filters:C,sort:k,downloadCsv:y,print:h}]=U(),b=[{type:"selection"},{title:"Name",key:"name",filterOptions:[{label:"John Brown",value:"John Brown"},{label:"Jim Green",value:"Jim Green"}],filter:(t,a)=>a.name.includes(t.toString())},{title:"Age",key:"age",sorter:(t,a)=>t.age-a.age},{title:"Address",key:"address"},{title:"Tags",key:"tags",render:t=>t.tags.map(d=>e(S,{type:"info",bordered:!1,style:"margin-right: 6px"},N(d)?d:{default:()=>[d]}))},{title:"Remark",key:"remark"},{title:"Action",key:"actions",render:t=>e(i,{align:"center"},{default:()=>[e(u,{size:"tiny"},{default:()=>[l("查看")]}),e(P,{options:[{label:"编辑",key:"edit"},{label:"新增",key:"add"}],onSelect:a=>{window.$message.info(`当前选择: ${a}`)}},null)]})}],w=x([...b].map((t,a)=>({...t}))),s=x([]),g=[{label:"编辑",key:"edit"},{label:()=>e("span",{style:"color: red;"},[l("删除")]),key:"delete"}],E=ee({gridItemCount:4,gridCollapsedRows:1,tableLoading:!1}),[T,{checkedRowKeysBind:v,getKeys:R,getRows:o,clearKey:B,clearAll:A,selectKey:K}]=j(s,w,{rowKey:"key",onChange:(t,a,d)=>{}}),O=()=>{for(let t=0;t<10;t++)s.value.push({key:Y(),name:t%2===0?"John Brown":"Jim Green",age:t+20,address:"New York No. 1 Lake Park",tags:["nice","developer"],remark:"我是一条很长很长的备注"})},J=t=>{window.$message.info(`${t}`)},M=()=>{const{key:t}=s.value[1];B(t)},V=()=>{s.value.map(a=>a.key).forEach(a=>K(a))},$=()=>{const{key:t}=s.value[1];K(t)};return O(),{...te(E),tableData:s,actionColumns:w,baseColumns:b,tableMenuOptions:g,menuSelect:J,register:n,getKeys:R,getRows:o,clearKey:B,clearAll:A,checkedRowKeysBind:v,checkedRowKeys:T,clearSecondIndexRow:M,selectAll:V,selectSecondIndexRow:$,clearFilters:p,clearSorter:m,scrollTo:f,filters:C,sort:k,downloadCsv:y,getTableInstance:c,print:h}},render(){let n;const{register:c,clearAll:p,checkedRowKeysBind:m,clearSecondIndexRow:f,selectAll:C,selectSecondIndexRow:k,clearFilters:y,clearSorter:h,scrollTo:b,filters:w,sort:s,downloadCsv:g,getTableInstance:E,getRows:T,getKeys:v,print:R}=this;return e(i,{vertical:!0},{default:()=>[e(D,{title:"RTable"},{default:()=>[l("基于 NDataTable 封装,继承该组件所有 props 属性。查看 RTable props 文件即可查看该组件拓展项")]}),e(D,{title:"useTable"},{default:()=>[e(i,{vertical:!0,style:"width: 100%"},{default:()=>[e(_,{title:"DataTable Methods",type:"info"},{default:()=>[l("其余的方法查看")," ",e("a",{style:"color: transparent",href:"https://www.naiveui.com/zh-CN/dark/components/data-table#DataTable-Methods"},[l("Naive UI")]),l("官网,保持一致。")]}),e(i,null,{default:()=>[e(u,{onClick:h.bind(this)},{default:()=>[l("清除所有排序")]}),e(u,{onClick:y.bind(this)},{default:()=>[l("清除所有过滤")]}),e(u,{onClick:()=>{g()}},{default:()=>[l("下载 CSV")]}),e(u,{onClick:()=>E()},{default:()=>[l("getTableInstance")]}),e(u,{onClick:()=>R()},{default:()=>[l("打印")]})]})]})]}),e(D,{title:"useCheckedRowKeys"},{default:()=>[e(i,{vertical:!0},{default:()=>[e(i,null,{default:()=>[e(u,{onClick:C.bind(this)},{default:()=>[l("选中所有行")]}),e(u,{onClick:p.bind(this)},{default:()=>[l("取消所有已选中行")]}),e(u,{onClick:k.bind(this)},{default:()=>[l("选中第二行")]}),e(u,{onClick:f.bind(this)},{default:()=>[l("取消第二行选中")]})]}),e(i,null,N(n=this.checkedRowKeys.map(o=>e(S,{type:"success",key:o},N(o)?o:{default:()=>[o]})))?n:{default:()=>[n]})]})]}),e(z,{collapsedRows:this.gridCollapsedRows,cols:this.gridItemCount,onUpdateOpen:o=>window.$message.info(`我是 RCollapse 组件${o?"收起":"展开"}的回调函数`)},{action:()=>e(I,null,[e(u,{type:"primary"},{default:()=>[l("搜索")]}),e(u,null,{default:()=>[l("重置")]})]),default:()=>e(I,null,[e(r,null,{default:()=>[e(H,null,null)]}),e(r,null,{default:()=>[e(F,null,null)]}),e(r,null,{default:()=>[e(Q,{type:"datetimerange",clearable:!0},null)]}),e(r,null,{default:()=>[e(F,null,null)]}),e(r,null,{default:()=>[e(F,null,null)]})])}),e(G,{checkedRowKeys:this.checkedRowKeys,"onUpdate:checkedRowKeys":o=>this.checkedRowKeys=o,onUpdateCheckedRowKeys:m.bind(this),onRegister:c.bind(this),scrollX:1e3,title:e(i,{align:"center"},{default:()=>[e("span",null,[l("标题插槽:")]),e(X,{onUpdateValue:o=>this.tableLoading=o},null)]}),data:this.tableData,columns:this.actionColumns,"onUpdate:columns":o=>this.actionColumns=o,pagination:{pageSize:10},contextMenuOptions:this.tableMenuOptions,loading:this.tableLoading,onContextMenuClick:this.menuSelect.bind(this),toolOptions:[e(Z,null,{trigger:()=>e(L,{name:"search",size:"18",cursor:"pointer",onClick:()=>{window.$message.info("点击了搜索按钮")}},null),default:()=>"我是自定义工具栏示例"})],rowKey:o=>o.key,striped:!0},{tableFooter:()=>"表格的底部内容区域插槽,有时候你可能会用上",tableAction:()=>"表格的操作区域内容插槽,有时候可能会用上"})]})}});export{Xe as default};
diff --git a/js/index-BG6oi-U_.js.gz b/js/index-BG6oi-U_.js.gz
new file mode 100644
index 00000000..e80c575a
Binary files /dev/null and b/js/index-BG6oi-U_.js.gz differ
diff --git a/js/index-BIJU71Xw.js.gz b/js/index-BIJU71Xw.js.gz
deleted file mode 100644
index 44fff344..00000000
Binary files a/js/index-BIJU71Xw.js.gz and /dev/null differ
diff --git a/js/index-BVEffTQQ.js.gz b/js/index-BVEffTQQ.js.gz
deleted file mode 100644
index 77dee6f5..00000000
Binary files a/js/index-BVEffTQQ.js.gz and /dev/null differ
diff --git a/js/index-BZXgmMhu.js b/js/index-BZXgmMhu.js
deleted file mode 100644
index 271221b0..00000000
--- a/js/index-BZXgmMhu.js
+++ /dev/null
@@ -1 +0,0 @@
-import{t as c,_ as o}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as p,b as t,O as m,W as n,v}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as E}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{c as d,l as a,N as u}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function g(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!v(i)}const vo=p({name:"PreviewSVGIcons",setup(){const i=E([]);return Object.keys(Object.assign({"/src/icons/action/draggable.svg":()=>o(()=>import("./draggable-D6qza0mp.js"),[]),"/src/icons/action/fullscreen.svg":()=>o(()=>import("./fullscreen-Cjm0bPGx.js"),[]),"/src/icons/action/fullscreen_fold.svg":()=>o(()=>import("./fullscreen_fold-BUWP5JFn.js"),[]),"/src/icons/action/out.svg":()=>o(()=>import("./out-CMQCc625.js"),[]),"/src/icons/action/reload.svg":()=>o(()=>import("./reload-BCsJCBo-.js"),[]),"/src/icons/action/search.svg":()=>o(()=>import("./search-DPR73sQp.js"),[]),"/src/icons/action/setting.svg":()=>o(()=>import("./setting-CqYm8XBn.js"),[]),"/src/icons/directional/adjustment.svg":()=>o(()=>import("./adjustment-DIo_g8Za.js"),[]),"/src/icons/directional/close_left.svg":()=>o(()=>import("./close_left-C6k2eGWg.js"),[]),"/src/icons/directional/close_right.svg":()=>o(()=>import("./close_right-CrnE5vtw.js"),[]),"/src/icons/directional/expanded.svg":()=>o(()=>import("./expanded-BswQDJyW.js"),[]),"/src/icons/directional/left_arrow.svg":()=>o(()=>import("./left_arrow-DAKeumRT.js"),[]),"/src/icons/directional/lock.svg":()=>o(()=>import("./lock-dC7sQfx2.js"),[]),"/src/icons/directional/resize_h.svg":()=>o(()=>import("./resize_h-DA2p7YCQ.js"),[]),"/src/icons/directional/right_arrow.svg":()=>o(()=>import("./right_arrow-CbmroMoE.js"),[]),"/src/icons/directional/row_end.svg":()=>o(()=>import("./row_end-CqbNhb3G.js"),[]),"/src/icons/directional/row_head.svg":()=>o(()=>import("./row_head-BCxi2x-p.js"),[]),"/src/icons/logo/github.svg":()=>o(()=>import("./github-B4ARmChV.js"),[]),"/src/icons/logo/google.svg":()=>o(()=>import("./google-GEcrFhWr.js"),[]),"/src/icons/logo/login_bg.svg":()=>o(()=>import("./login_bg-CRcyXHBf.js"),[]),"/src/icons/logo/office.svg":()=>o(()=>import("./office-B5pC1KGi.js"),[]),"/src/icons/logo/ray.svg":()=>o(()=>import("./ray-B93BjtIh.js"),[]),"/src/icons/logo/twitter.svg":()=>o(()=>import("./twitter-DjE7U1HD.js"),[]),"/src/icons/template/dark.svg":()=>o(()=>import("./dark-zODhV8ab.js"),[]),"/src/icons/template/light.svg":()=>o(()=>import("./light-DWWBs-Ry.js"),[]),"/src/icons/template/system_os.svg":()=>o(()=>import("./system_os-Bu1k9Avg.js"),[]),"/src/icons/tip/axios.svg":()=>o(()=>import("./axios-o8g4A-7A.js"),[]),"/src/icons/tip/close.svg":()=>o(()=>import("./close-10SEVxdb.js"),[]),"/src/icons/tip/dashboard.svg":()=>o(()=>import("./dashboard-70op-CO0.js"),[]),"/src/icons/tip/echart.svg":()=>o(()=>import("./echart-c_3t778P.js"),[]),"/src/icons/tip/enter.svg":()=>o(()=>import("./enter-CPGcsJ25.js"),[]),"/src/icons/tip/error.svg":()=>o(()=>import("./error-CjWalrOZ.js"),[]),"/src/icons/tip/export_excel.svg":()=>o(()=>import("./export_excel-ZmNoLzCr.js"),[]),"/src/icons/tip/language.svg":()=>o(()=>import("./language-C4AMs4_p.js"),[]),"/src/icons/tip/menu.svg":()=>o(()=>import("./menu-CPMkWw77.js"),[]),"/src/icons/tip/more.svg":()=>o(()=>import("./more-DW-qndwg.js"),[]),"/src/icons/tip/mouse.svg":()=>o(()=>import("./mouse-C_l6KSTs.js"),[]),"/src/icons/tip/other.svg":()=>o(()=>import("./other-DU6bZUrM.js"),[]),"/src/icons/tip/print.svg":()=>o(()=>import("./print-jFo_n0lx.js"),[]),"/src/icons/tip/question.svg":()=>o(()=>import("./question-TxSSjOrI.js"),[]),"/src/icons/tip/rely.svg":()=>o(()=>import("./rely-DlDUQEbT.js"),[]),"/src/icons/tip/table.svg":()=>o(()=>import("./table-tYkftQGA.js"),[])})).forEach(e=>{var s;const _=(s=e.match(/\/(\w+)\.svg/))==null?void 0:s[1];_&&i.value.push(_)}),{icons:i}},render(){return t(u,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let i;return t(d,null,g(i=this.icons.map(r=>m(t("div",{class:"pre-view-icons__card",key:r},[t(a,null,{trigger:()=>t(c,{name:r,size:"56",cursor:"pointer"},null),default:()=>r})]),[[n("copy"),``]])))?i:{default:()=>[i]})}})}});export{vo as default};
diff --git a/js/index-BZXgmMhu.js.gz b/js/index-BZXgmMhu.js.gz
deleted file mode 100644
index 8cf9fdab..00000000
Binary files a/js/index-BZXgmMhu.js.gz and /dev/null differ
diff --git a/js/index-D3KEHdzx.js b/js/index-BkbN0lKB.js
similarity index 78%
rename from js/index-D3KEHdzx.js
rename to js/index-BkbN0lKB.js
index 5e06b4c0..05ef2aa3 100644
--- a/js/index-D3KEHdzx.js
+++ b/js/index-BkbN0lKB.js
@@ -1 +1 @@
-import{a as r}from"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import{s as n}from"./instance-D_ZLBlAV.js";import{c as l,N as o,O as A,R as i,Z as g}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as R,b as u,I as t}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{e as V,x as v}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./axios@1.7.5-C8DqakIB.js";import"./hooks-BY0i9Xdx.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function b(e,a){return r(()=>n(e),Object.assign({},a))}const w=e=>n({url:`https://www.tianqiapi.com/api?version=v9&appid=23035354&appsecret=8YvlPNrz&city=${e}`,method:"get"}),d=()=>n({url:"https://jsonplaceholder.typicode.com/todos/1",method:"get"}),Vu=R({name:"RAxios",setup(){const e=V({weatherData:[],inputCityValue:null,throttleDemoInputValue:null,debounceDemoInputValue:null,weatherDemoInputValue:null}),{data:a,loading:m,run:p}=r(d,{throttleWait:1e3,manual:!0}),{data:s,loading:D,run:F}=r(d,{debounceWait:1e3,manual:!0}),{data:h,loading:c,run:E}=r(w,{throttleWait:1e3,manual:!0}),{data:B,loading:C,run:f}=b({url:"https://jsonplaceholder.typicode.com/todos/1",method:"get",cancelConfig:{cancel:!0}},{manual:!0,onError:()=>{window.$message.error("接口出现异常")}});return{...v(e),throttleDemoValue:a,throttleDemoLoading:m,throttleDemoRun:p,debounceDemoValue:s,debounceDemoLoading:D,debounceDemoRun:F,weatherDemoValue:h,weatherDemoLoading:c,weatherDemoRun:E,demoData:B,demoLoading:C,demoRun:f}},render(){return u(g,null,{default:()=>[u(l,{vertical:!0},{default:()=>[u("h1",null,[t("请求")]),u(o,null,{default:()=>[u("h2",null,[t("useRequest")]),u("p",null,[t("支持配置化请求数据")]),u("h2",null,[t("useHookPlusRequest")]),u("p",null,[t("支持包裹一个拥有 promise 状态的异步函数,可以用来包裹一个 axios 请求返回值方法")])]}),u("h1",null,[t("使用 useRequest 获取")]),u(o,{title:"请求函数"},{default:()=>[u("h3",null,[t("1.基于 axios 封装,能够自动取消连续请求,避免重复渲染造成问题")]),u("h3",null,[t("2.打开控制台 => 网络 => 使用低速3g网络 => 查看控制台被取消的请求")]),u("h3",null,[t("3.详情请查看文档")])]}),u(o,{title:"useRequest示例(手动触发)"},{default:()=>[u(l,{vertical:!0},{default:()=>{var e;return[u(A,{onClick:this.demoRun.bind(this)},{default:()=>[t("获取数据")]}),u("h3",null,[t("结果: "),this.demoLoading?"获取中...":(e=this.demoData)==null?void 0:e.title])]}})]}),u("h1",null,[t("使用 useHookPlusRequest 获取")]),u(o,{title:"节流"},{default:()=>[u(l,{vertical:!0},{default:()=>[u(i,{value:this.throttleDemoInputValue,"onUpdate:value":e=>this.throttleDemoInputValue=e,onUpdateValue:()=>{this.throttleDemoRun()}},null),u("h3",null,[t("不论触发多少次,一秒钟之内仅会触发一次")]),u("h3",null,[t("当前状态: "),this.throttleDemoLoading?"获取中...":"获取成功!!!"])]})]}),u(o,{title:"防抖"},{default:()=>[u(l,{vertical:!0},{default:()=>[u(i,{value:this.debounceDemoInputValue,"onUpdate:value":e=>this.debounceDemoInputValue=e,onUpdateValue:()=>{this.debounceDemoRun()}},null),u("h3",null,[t("一秒后才会执行,如果中途重新请求,则会重新计时")]),u("h3",null,[t("当前状态: "),this.debounceDemoLoading?"获取中...":"获取成功!!!"])]})]}),u(o,{title:"获取气候"},{default:()=>[u(l,{vertical:!0},{default:()=>[u(i,{value:this.weatherDemoInputValue,"onUpdate:value":e=>this.weatherDemoInputValue=e,onUpdateValue:e=>{this.weatherDemoRun(e)}},null),u("h3",null,[t("该示例演示了如何根据动态值获取数据")]),u("h3",null,[t("当前状态: "),this.weatherDemoLoading?"获取中...":"获取成功!!!"])]})]})]})]})}});export{Vu as default};
+import{a as r}from"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import{s as n}from"./instance-D7APY90Q.js";import{c as l,N as o,P as A,T as i,_ as g}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as V,b as u,I as t}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{e as R,x as v}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./axios@1.7.5-C8DqakIB.js";import"./hooks-DonDO7vb.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function b(e,a){return r(()=>n(e),Object.assign({},a))}const w=e=>n({url:`https://www.tianqiapi.com/api?version=v9&appid=23035354&appsecret=8YvlPNrz&city=${e}`,method:"get"}),d=()=>n({url:"https://jsonplaceholder.typicode.com/todos/1",method:"get"}),Ru=V({name:"RAxios",setup(){const e=R({weatherData:[],inputCityValue:null,throttleDemoInputValue:null,debounceDemoInputValue:null,weatherDemoInputValue:null}),{data:a,loading:m,run:p}=r(d,{throttleWait:1e3,manual:!0}),{data:s,loading:D,run:F}=r(d,{debounceWait:1e3,manual:!0}),{data:h,loading:c,run:E}=r(w,{throttleWait:1e3,manual:!0}),{data:B,loading:C,run:f}=b({url:"https://jsonplaceholder.typicode.com/todos/1",method:"get",cancelConfig:{cancel:!0}},{manual:!0,onError:()=>{window.$message.error("接口出现异常")}});return{...v(e),throttleDemoValue:a,throttleDemoLoading:m,throttleDemoRun:p,debounceDemoValue:s,debounceDemoLoading:D,debounceDemoRun:F,weatherDemoValue:h,weatherDemoLoading:c,weatherDemoRun:E,demoData:B,demoLoading:C,demoRun:f}},render(){return u(g,null,{default:()=>[u(l,{vertical:!0},{default:()=>[u("h1",null,[t("请求")]),u(o,null,{default:()=>[u("h2",null,[t("useRequest")]),u("p",null,[t("支持配置化请求数据")]),u("h2",null,[t("useHookPlusRequest")]),u("p",null,[t("支持包裹一个拥有 promise 状态的异步函数,可以用来包裹一个 axios 请求返回值方法")])]}),u("h1",null,[t("使用 useRequest 获取")]),u(o,{title:"请求函数"},{default:()=>[u("h3",null,[t("1.基于 axios 封装,能够自动取消连续请求,避免重复渲染造成问题")]),u("h3",null,[t("2.打开控制台 => 网络 => 使用低速3g网络 => 查看控制台被取消的请求")]),u("h3",null,[t("3.详情请查看文档")])]}),u(o,{title:"useRequest示例(手动触发)"},{default:()=>[u(l,{vertical:!0},{default:()=>{var e;return[u(A,{onClick:this.demoRun.bind(this)},{default:()=>[t("获取数据")]}),u("h3",null,[t("结果: "),this.demoLoading?"获取中...":(e=this.demoData)==null?void 0:e.title])]}})]}),u("h1",null,[t("使用 useHookPlusRequest 获取")]),u(o,{title:"节流"},{default:()=>[u(l,{vertical:!0},{default:()=>[u(i,{value:this.throttleDemoInputValue,"onUpdate:value":e=>this.throttleDemoInputValue=e,onUpdateValue:()=>{this.throttleDemoRun()}},null),u("h3",null,[t("不论触发多少次,一秒钟之内仅会触发一次")]),u("h3",null,[t("当前状态: "),this.throttleDemoLoading?"获取中...":"获取成功!!!"])]})]}),u(o,{title:"防抖"},{default:()=>[u(l,{vertical:!0},{default:()=>[u(i,{value:this.debounceDemoInputValue,"onUpdate:value":e=>this.debounceDemoInputValue=e,onUpdateValue:()=>{this.debounceDemoRun()}},null),u("h3",null,[t("一秒后才会执行,如果中途重新请求,则会重新计时")]),u("h3",null,[t("当前状态: "),this.debounceDemoLoading?"获取中...":"获取成功!!!"])]})]}),u(o,{title:"获取气候"},{default:()=>[u(l,{vertical:!0},{default:()=>[u(i,{value:this.weatherDemoInputValue,"onUpdate:value":e=>this.weatherDemoInputValue=e,onUpdateValue:e=>{this.weatherDemoRun(e)}},null),u("h3",null,[t("该示例演示了如何根据动态值获取数据")]),u("h3",null,[t("当前状态: "),this.weatherDemoLoading?"获取中...":"获取成功!!!"])]})]})]})]})}});export{Ru as default};
diff --git a/js/index-BkbN0lKB.js.gz b/js/index-BkbN0lKB.js.gz
new file mode 100644
index 00000000..23aad248
Binary files /dev/null and b/js/index-BkbN0lKB.js.gz differ
diff --git a/js/index-BlC6n-Ua.js b/js/index-BlC6n-Ua.js
new file mode 100644
index 00000000..2caae05f
--- /dev/null
+++ b/js/index-BlC6n-Ua.js
@@ -0,0 +1 @@
+import{t as c,_ as o}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as p,b as t,N as m,V as n,p as v}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as E}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{c as d,n as a,N as u}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function g(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!v(i)}const vo=p({name:"PreviewSVGIcons",setup(){const i=E([]);return Object.keys(Object.assign({"/src/icons/action/close_other.svg":()=>o(()=>import("./close_other-DPtbrCYd.js"),[]),"/src/icons/action/draggable.svg":()=>o(()=>import("./draggable-D6qza0mp.js"),[]),"/src/icons/action/fullscreen.svg":()=>o(()=>import("./fullscreen-Cjm0bPGx.js"),[]),"/src/icons/action/fullscreen_fold.svg":()=>o(()=>import("./fullscreen_fold-D_jdG9mi.js"),[]),"/src/icons/action/out.svg":()=>o(()=>import("./out-CMQCc625.js"),[]),"/src/icons/action/reload.svg":()=>o(()=>import("./reload-BPf1PV7s.js"),[]),"/src/icons/action/search.svg":()=>o(()=>import("./search-CFLGi5BR.js"),[]),"/src/icons/action/setting.svg":()=>o(()=>import("./setting-DyoycADf.js"),[]),"/src/icons/action/shared.svg":()=>o(()=>import("./shared-DVfOv8Mx.js"),[]),"/src/icons/directional/adjustment.svg":()=>o(()=>import("./adjustment-DIo_g8Za.js"),[]),"/src/icons/directional/close_left.svg":()=>o(()=>import("./close_left-DX8SFJx4.js"),[]),"/src/icons/directional/close_right.svg":()=>o(()=>import("./close_right-DWMWcuX1.js"),[]),"/src/icons/directional/expanded.svg":()=>o(()=>import("./expanded-BswQDJyW.js"),[]),"/src/icons/directional/left_arrow.svg":()=>o(()=>import("./left_arrow-DAKeumRT.js"),[]),"/src/icons/directional/lock.svg":()=>o(()=>import("./lock-dC7sQfx2.js"),[]),"/src/icons/directional/resize_h.svg":()=>o(()=>import("./resize_h-DA2p7YCQ.js"),[]),"/src/icons/directional/right_arrow.svg":()=>o(()=>import("./right_arrow-CbmroMoE.js"),[]),"/src/icons/directional/row_end.svg":()=>o(()=>import("./row_end-CqbNhb3G.js"),[]),"/src/icons/directional/row_head.svg":()=>o(()=>import("./row_head-BCxi2x-p.js"),[]),"/src/icons/logo/github.svg":()=>o(()=>import("./github-B4ARmChV.js"),[]),"/src/icons/logo/google.svg":()=>o(()=>import("./google-GEcrFhWr.js"),[]),"/src/icons/logo/login_bg.svg":()=>o(()=>import("./login_bg-CRcyXHBf.js"),[]),"/src/icons/logo/office.svg":()=>o(()=>import("./office-B5pC1KGi.js"),[]),"/src/icons/logo/ray.svg":()=>o(()=>import("./ray-B93BjtIh.js"),[]),"/src/icons/logo/twitter.svg":()=>o(()=>import("./twitter-DjE7U1HD.js"),[]),"/src/icons/template/dark.svg":()=>o(()=>import("./dark-zODhV8ab.js"),[]),"/src/icons/template/light.svg":()=>o(()=>import("./light-DWWBs-Ry.js"),[]),"/src/icons/template/system_os.svg":()=>o(()=>import("./system_os-Bu1k9Avg.js"),[]),"/src/icons/tip/axios.svg":()=>o(()=>import("./axios-o8g4A-7A.js"),[]),"/src/icons/tip/close.svg":()=>o(()=>import("./close-B43hVi0H.js"),[]),"/src/icons/tip/dashboard.svg":()=>o(()=>import("./dashboard-70op-CO0.js"),[]),"/src/icons/tip/echart.svg":()=>o(()=>import("./echart-c_3t778P.js"),[]),"/src/icons/tip/enter.svg":()=>o(()=>import("./enter-CPGcsJ25.js"),[]),"/src/icons/tip/error.svg":()=>o(()=>import("./error-CjWalrOZ.js"),[]),"/src/icons/tip/export_excel.svg":()=>o(()=>import("./export_excel-ZmNoLzCr.js"),[]),"/src/icons/tip/language.svg":()=>o(()=>import("./language-BOVZ3dlJ.js"),[]),"/src/icons/tip/menu.svg":()=>o(()=>import("./menu-CPMkWw77.js"),[]),"/src/icons/tip/more.svg":()=>o(()=>import("./more-DW-qndwg.js"),[]),"/src/icons/tip/mouse.svg":()=>o(()=>import("./mouse-C_l6KSTs.js"),[]),"/src/icons/tip/other.svg":()=>o(()=>import("./other-DU6bZUrM.js"),[]),"/src/icons/tip/print.svg":()=>o(()=>import("./print-jFo_n0lx.js"),[]),"/src/icons/tip/question.svg":()=>o(()=>import("./question-TxSSjOrI.js"),[]),"/src/icons/tip/rely.svg":()=>o(()=>import("./rely-DlDUQEbT.js"),[]),"/src/icons/tip/table.svg":()=>o(()=>import("./table-tYkftQGA.js"),[])})).forEach(e=>{var s;const _=(s=e.match(/\/(\w+)\.svg/))==null?void 0:s[1];_&&i.value.push(_)}),{icons:i}},render(){return t(u,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let i;return t(d,null,g(i=this.icons.map(r=>m(t("div",{class:"pre-view-icons__card",key:r},[t(a,null,{trigger:()=>t(c,{name:r,size:"56",cursor:"pointer"},null),default:()=>r})]),[[n("copy"),``]])))?i:{default:()=>[i]})}})}});export{vo as default};
diff --git a/js/index-BlC6n-Ua.js.gz b/js/index-BlC6n-Ua.js.gz
new file mode 100644
index 00000000..9f5f616c
Binary files /dev/null and b/js/index-BlC6n-Ua.js.gz differ
diff --git a/js/index-BpaVkaQE.js.gz b/js/index-BpaVkaQE.js.gz
deleted file mode 100644
index 3efbd5f0..00000000
Binary files a/js/index-BpaVkaQE.js.gz and /dev/null differ
diff --git a/js/index-BsRoD5Uw.js.gz b/js/index-BsRoD5Uw.js.gz
deleted file mode 100644
index facfa86b..00000000
Binary files a/js/index-BsRoD5Uw.js.gz and /dev/null differ
diff --git a/js/index-Bx85O3th.js.gz b/js/index-Bx85O3th.js.gz
deleted file mode 100644
index 6f2ba52d..00000000
Binary files a/js/index-Bx85O3th.js.gz and /dev/null differ
diff --git a/js/index-Bx85O3th.js b/js/index-C296AXrg.js
similarity index 62%
rename from js/index-Bx85O3th.js
rename to js/index-C296AXrg.js
index b67fcaf5..dbe30070 100644
--- a/js/index-Bx85O3th.js
+++ b/js/index-C296AXrg.js
@@ -1 +1 @@
-import{w as u,x as s,f as a}from"./hooks-BY0i9Xdx.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{g as n}from"./utils-CsGRTM5U.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{ab as c,T as l,c as d,O as i}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as p,b as t,t as f,I as e}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const g=p({name:"PageResult",props:{...c},setup(){const{router:r}=s();return{goBack:()=>{const{appMenuKey:m}=a,o=n(m,"sessionStorage",{defaultValue:""});o&&r.replace(o)}}},render(){const{goBack:r}=this;return t("div",{class:"error-page"},[t(l,f(this.$props,{status:"500",title:"404 资源不存在",description:"小调皮你走错地方了"}),{...this.$slots,footer:()=>t(d,{align:"center",justify:"center"},{default:()=>[t(i,{onClick:u.bind(this,!0)},{default:()=>[e("返回首页")]}),t(i,{type:"primary",onClick:r.bind(this)},{default:()=>[e("返回上一页面")]})]})})])}}),ct=p({name:"ErrorPage404",setup(){return{}},render(){return t(g,{status:"404"},null)}});export{ct as default};
+import{w as u,x as s,f as a}from"./hooks-DonDO7vb.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{g as n}from"./utils-6rpFoFAR.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{ab as c,U as l,c as d,P as i}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as p,b as t,m as f,I as e}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const g=p({name:"PageResult",props:{...c},setup(){const{router:r}=s();return{goBack:()=>{const{appMenuKey:m}=a,o=n(m,"sessionStorage",{defaultValue:""});o&&r.replace(o)}}},render(){const{goBack:r}=this;return t("div",{class:"error-page"},[t(l,f(this.$props,{status:"500",title:"404 资源不存在",description:"小调皮你走错地方了"}),{...this.$slots,footer:()=>t(d,{align:"center",justify:"center"},{default:()=>[t(i,{onClick:u.bind(this,!0)},{default:()=>[e("返回首页")]}),t(i,{type:"primary",onClick:r.bind(this)},{default:()=>[e("返回上一页面")]})]})})])}}),ct=p({name:"ErrorPage404",setup(){return{}},render(){return t(g,{status:"404"},null)}});export{ct as default};
diff --git a/js/index-C296AXrg.js.gz b/js/index-C296AXrg.js.gz
new file mode 100644
index 00000000..2ff1b15d
Binary files /dev/null and b/js/index-C296AXrg.js.gz differ
diff --git a/js/index-CnmeqGgQ.js b/js/index-C5l76f6e.js
similarity index 62%
rename from js/index-CnmeqGgQ.js
rename to js/index-C5l76f6e.js
index af5bf60e..f124f7a7 100644
--- a/js/index-CnmeqGgQ.js
+++ b/js/index-C5l76f6e.js
@@ -1 +1 @@
-import{J as p}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import{u as a}from"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{O as n,c as m}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as u,b as o,I as s}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as l}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const pt=u({name:"RouterDemoHome",setup(){const r=a(),i=l([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:t=>o(m,{align:"center"},{default:()=>[o(n,{type:"info",text:!0,size:"tiny",onClick:()=>{r.push({path:"/router-demo/router-demo-detail",query:{name:t.name}})}},{default:()=>[s("详情")]})]})}]),e=[];for(let t=0;t<10;t++)e.push({name:"张三"+t,address:"New York No. 1 Lake Park",phone:"010-121212",key:t});return{dataSource:e,columns:i}},render(){return o(m,null,{default:()=>[o(p,{columns:this.columns,"onUpdate:columns":r=>this.columns=r,data:this.dataSource},null)]})}});export{pt as default};
+import{K as p}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import{u as a}from"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{P as n,c as m}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as u,b as o,I as s}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as l}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const pt=u({name:"RouterDemoHome",setup(){const r=a(),i=l([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:t=>o(m,{align:"center"},{default:()=>[o(n,{type:"info",text:!0,size:"tiny",onClick:()=>{r.push({path:"/router-demo/router-demo-detail",query:{name:t.name}})}},{default:()=>[s("详情")]})]})}]),e=[];for(let t=0;t<10;t++)e.push({name:"张三"+t,address:"New York No. 1 Lake Park",phone:"010-121212",key:t});return{dataSource:e,columns:i}},render(){return o(m,null,{default:()=>[o(p,{columns:this.columns,"onUpdate:columns":r=>this.columns=r,data:this.dataSource},null)]})}});export{pt as default};
diff --git a/js/index-C5l76f6e.js.gz b/js/index-C5l76f6e.js.gz
new file mode 100644
index 00000000..54a0975c
Binary files /dev/null and b/js/index-C5l76f6e.js.gz differ
diff --git a/js/index-BpaVkaQE.js b/js/index-C9u1x56c.js
similarity index 65%
rename from js/index-BpaVkaQE.js
rename to js/index-C9u1x56c.js
index e7d3ba29..2874bc90 100644
--- a/js/index-BpaVkaQE.js
+++ b/js/index-C9u1x56c.js
@@ -1 +1 @@
-import{H as r}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as i,b as t}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{N as o,c as m}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const $=i({name:"IframeDemo",setup(){return{}},render(){return t(m,{vertical:!0,size:[20,20]},{default:()=>[t(o,{title:"naive ui(延迟加载)"},{default:()=>[t(r,{src:"https://www.naiveui.com/zh-CN/dark",height:"300",allow:"fullscreen"},null)]}),t(o,{title:"vue-hooks-plus(立即加载)"},{default:()=>[t(r,{src:"https://inhiblabcore.github.io/docs/hooks/",height:"300",lazy:!1},null)]})]})}});export{$ as default};
+import{H as r}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as i,b as t}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{N as o,c as m}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const $=i({name:"IframeDemo",setup(){return{}},render(){return t(m,{vertical:!0,size:[20,20]},{default:()=>[t(o,{title:"naive ui(延迟加载)"},{default:()=>[t(r,{src:"https://www.naiveui.com/zh-CN/dark",height:"300",allow:"fullscreen"},null)]}),t(o,{title:"vue-hooks-plus(立即加载)"},{default:()=>[t(r,{src:"https://inhiblabcore.github.io/docs/hooks/",height:"300",lazy:!1},null)]})]})}});export{$ as default};
diff --git a/js/index-C9u1x56c.js.gz b/js/index-C9u1x56c.js.gz
new file mode 100644
index 00000000..3607fc1b
Binary files /dev/null and b/js/index-C9u1x56c.js.gz differ
diff --git a/js/index-CA3KC3tr.js.gz b/js/index-CA3KC3tr.js.gz
deleted file mode 100644
index 9334edb3..00000000
Binary files a/js/index-CA3KC3tr.js.gz and /dev/null differ
diff --git a/js/index-CGui32_Y.js.gz b/js/index-CGui32_Y.js.gz
deleted file mode 100644
index 204b90ac..00000000
Binary files a/js/index-CGui32_Y.js.gz and /dev/null differ
diff --git a/js/index-CL4DkzrY.js.gz b/js/index-CL4DkzrY.js.gz
deleted file mode 100644
index 9d920955..00000000
Binary files a/js/index-CL4DkzrY.js.gz and /dev/null differ
diff --git a/js/index-CPmdczkN.js b/js/index-CPmdczkN.js
deleted file mode 100644
index 33b94da7..00000000
--- a/js/index-CPmdczkN.js
+++ /dev/null
@@ -1 +0,0 @@
-import{O as U,Q as G,J as j,t as z,X as L}from"./hooks-BY0i9Xdx.js";import{j as P}from"./utils-CsGRTM5U.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{R as X}from"./props-CsmlPjfV.js";import{N as D,c as n,ae as _,O as u,v as K,b as r,G as Q,R as F,ai as Y,J as q,l as H}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as W,b as e,I as l,F as I,v as Z}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as x,e as ee,x as te}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function N(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Z(i)}const He=W({name:"TableView",setup(){const[i,{getTableInstance:c,clearFilters:p,clearSorter:m,scrollTo:f,filters:C,sort:k,downloadCsv:y,print:h}]=U(),b=[{type:"selection"},{title:"Name",key:"name",filterOptions:[{label:"John Brown",value:"John Brown"},{label:"Jim Green",value:"Jim Green"}],filter:(t,a)=>a.name.includes(t.toString())},{title:"Age",key:"age",sorter:(t,a)=>t.age-a.age},{title:"Address",key:"address"},{title:"Tags",key:"tags",render:t=>t.tags.map(d=>e(K,{type:"info",bordered:!1,style:"margin-right: 6px"},N(d)?d:{default:()=>[d]}))},{title:"Remark",key:"remark"},{title:"Action",key:"actions",render:t=>e(n,{align:"center"},{default:()=>[e(u,{size:"tiny"},{default:()=>[l("查看")]}),e(L,{options:[{label:"编辑",key:"edit"},{label:"新增",key:"add"}],onSelect:a=>{window.$message.info(`当前选择: ${a}`)}},null)]})}],w=x([...b].map((t,a)=>({...t}))),s=x([]),g=[{label:"编辑",key:"edit"},{label:()=>e("span",{style:"color: red;"},[l("删除")]),key:"delete"}],E=ee({gridItemCount:4,gridCollapsedRows:1,tableLoading:!1}),[T,{checkedRowKeysBind:v,getKeys:R,getRows:o,clearKey:B,clearAll:A,selectKey:S}]=G(s,w,{rowKey:"key",onChange:(t,a,d)=>{}}),O=()=>{for(let t=0;t<10;t++)s.value.push({key:P(),name:t%2===0?"John Brown":"Jim Green",age:t+20,address:"New York No. 1 Lake Park",tags:["nice","developer"],remark:"我是一条很长很长的备注"})},J=t=>{window.$message.info(`${t}`)},M=()=>{const{key:t}=s.value[1];B(t)},V=()=>{s.value.map(a=>a.key).forEach(a=>S(a))},$=()=>{const{key:t}=s.value[1];S(t)};return O(),{...te(E),tableData:s,actionColumns:w,baseColumns:b,tableMenuOptions:g,menuSelect:J,register:i,getKeys:R,getRows:o,clearKey:B,clearAll:A,checkedRowKeysBind:v,checkedRowKeys:T,clearSecondIndexRow:M,selectAll:V,selectSecondIndexRow:$,clearFilters:p,clearSorter:m,scrollTo:f,filters:C,sort:k,downloadCsv:y,getTableInstance:c,print:h}},render(){let i;const{register:c,clearAll:p,checkedRowKeysBind:m,clearSecondIndexRow:f,selectAll:C,selectSecondIndexRow:k,clearFilters:y,clearSorter:h,scrollTo:b,filters:w,sort:s,downloadCsv:g,getTableInstance:E,getRows:T,getKeys:v,print:R}=this;return e(n,{vertical:!0},{default:()=>[e(D,{title:"RTable"},{default:()=>[l("基于 NDataTable 封装,继承该组件所有 props 属性。查看 RTable props 文件即可查看该组件拓展项")]}),e(D,{title:"useTable"},{default:()=>[e(n,{vertical:!0,style:"width: 100%"},{default:()=>[e(_,{title:"DataTable Methods",type:"info"},{default:()=>[l("其余的方法查看")," ",e("a",{style:"color: transparent",href:"https://www.naiveui.com/zh-CN/dark/components/data-table#DataTable-Methods"},[l("Naive UI")]),l("官网,保持一致。")]}),e(n,null,{default:()=>[e(u,{onClick:h.bind(this)},{default:()=>[l("清除所有排序")]}),e(u,{onClick:y.bind(this)},{default:()=>[l("清除所有过滤")]}),e(u,{onClick:()=>{g()}},{default:()=>[l("下载 CSV")]}),e(u,{onClick:()=>E()},{default:()=>[l("getTableInstance")]}),e(u,{onClick:()=>R()},{default:()=>[l("打印")]})]})]})]}),e(D,{title:"useCheckedRowKeys"},{default:()=>[e(n,{vertical:!0},{default:()=>[e(n,null,{default:()=>[e(u,{onClick:C.bind(this)},{default:()=>[l("选中所有行")]}),e(u,{onClick:p.bind(this)},{default:()=>[l("取消所有已选中行")]}),e(u,{onClick:k.bind(this)},{default:()=>[l("选中第二行")]}),e(u,{onClick:f.bind(this)},{default:()=>[l("取消第二行选中")]})]}),e(n,null,N(i=this.checkedRowKeys.map(o=>e(K,{type:"success",key:o},N(o)?o:{default:()=>[o]})))?i:{default:()=>[i]})]})]}),e(X,{collapsedRows:this.gridCollapsedRows,cols:this.gridItemCount,onUpdateOpen:o=>window.$message.info(`我是 RCollapse 组件${o?"收起":"展开"}的回调函数`)},{action:()=>e(I,null,[e(u,{type:"primary"},{default:()=>[l("搜索")]}),e(u,null,{default:()=>[l("重置")]})]),default:()=>e(I,null,[e(r,null,{default:()=>[e(Q,null,null)]}),e(r,null,{default:()=>[e(F,null,null)]}),e(r,null,{default:()=>[e(Y,{type:"datetimerange",clearable:!0},null)]}),e(r,null,{default:()=>[e(F,null,null)]}),e(r,null,{default:()=>[e(F,null,null)]})])}),e(j,{checkedRowKeys:this.checkedRowKeys,"onUpdate:checkedRowKeys":o=>this.checkedRowKeys=o,onUpdateCheckedRowKeys:m.bind(this),onRegister:c.bind(this),scrollX:1e3,title:e(n,{align:"center"},{default:()=>[e("span",null,[l("标题插槽:")]),e(q,{onUpdateValue:o=>this.tableLoading=o},null)]}),data:this.tableData,columns:this.actionColumns,"onUpdate:columns":o=>this.actionColumns=o,pagination:{pageSize:10},contextMenuOptions:this.tableMenuOptions,loading:this.tableLoading,onContextMenuClick:this.menuSelect.bind(this),toolOptions:[e(H,null,{trigger:()=>e(z,{name:"search",size:"18",cursor:"pointer",onClick:()=>{window.$message.info("点击了搜索按钮")}},null),default:()=>"我是自定义工具栏示例"})],rowKey:o=>o.key,striped:!0},{tableFooter:()=>"表格的底部内容区域插槽,有时候你可能会用上",tableAction:()=>"表格的操作区域内容插槽,有时候可能会用上"})]})}});export{He as default};
diff --git a/js/index-CPmdczkN.js.gz b/js/index-CPmdczkN.js.gz
deleted file mode 100644
index 921aef5e..00000000
Binary files a/js/index-CPmdczkN.js.gz and /dev/null differ
diff --git a/js/index-CbL5Zl-U.js.gz b/js/index-CbL5Zl-U.js.gz
deleted file mode 100644
index d8f32829..00000000
Binary files a/js/index-CbL5Zl-U.js.gz and /dev/null differ
diff --git a/js/index-Cbnk5Zj2.js.gz b/js/index-Cbnk5Zj2.js.gz
deleted file mode 100644
index 16fba989..00000000
Binary files a/js/index-Cbnk5Zj2.js.gz and /dev/null differ
diff --git a/js/index-DylPkErZ.js b/js/index-CgOgVoYU.js
similarity index 78%
rename from js/index-DylPkErZ.js
rename to js/index-CgOgVoYU.js
index 44c3fffc..b39f5256 100644
--- a/js/index-DylPkErZ.js
+++ b/js/index-CgOgVoYU.js
@@ -1 +1 @@
-import{l as n,b as e,t as s,v as i}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{x as r,V as c,c as p}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!i(t)}const h=n({name:"AppShareLink",setup(){return{handleLinkClick:a=>{window.open(a.src)},avatarOptions:[{key:"ray-js-note",src:"https://note.youdao.com/s/ObWEe2BB",tooltip:"Ray的前端学习笔记",icon:"https://avatars.githubusercontent.com/u/51957438?v=4"},{key:"ray-js-cover",src:"https://note.youdao.com/s/IC8xKPdB",tooltip:"Ray的面试题总结",icon:"https://avatars.githubusercontent.com/u/51957438?v=4"},{key:"ray-template-doc",src:"https://xiaodaigua-ray.github.io/ray-template-doc/",tooltip:"Ray Template Doc",icon:"https://avatars.githubusercontent.com/u/51957438?v=4"},{key:"ray-template-doc-out",src:"https://ray-template.yunkuangao.com/",tooltip:"Ray Template Doc (国内地址)",icon:"https://avatars.githubusercontent.com/u/51957438?v=4"}]}},render(){let t;return e(p,null,l(t=this.avatarOptions.map(o=>e(r,{key:o.key},{trigger:()=>e(c,s({round:!0,src:o.icon,style:["cursor: pointer"]},{onClick:this.handleLinkClick.bind(this,o)},{objectFit:"cover",size:24}),null),default:()=>o.tooltip})))?t:{default:()=>[t]})}});export{h as A};
+import{l as n,b as e,m as s,p as i}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{x as r,W as c,c as p}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!i(t)}const m=n({name:"AppShareLink",setup(){return{handleLinkClick:a=>{window.open(a.src)},avatarOptions:[{key:"ray-js-note",src:"https://note.youdao.com/s/ObWEe2BB",tooltip:"Ray的前端学习笔记",icon:"https://avatars.githubusercontent.com/u/51957438?v=4"},{key:"ray-js-cover",src:"https://note.youdao.com/s/IC8xKPdB",tooltip:"Ray的面试题总结",icon:"https://avatars.githubusercontent.com/u/51957438?v=4"},{key:"ray-template-doc",src:"https://xiaodaigua-ray.github.io/ray-template-doc/",tooltip:"Ray Template Doc",icon:"https://avatars.githubusercontent.com/u/51957438?v=4"},{key:"ray-template-doc-out",src:"https://ray-template.yunkuangao.com/",tooltip:"Ray Template Doc (国内地址)",icon:"https://avatars.githubusercontent.com/u/51957438?v=4"}]}},render(){let t;return e(p,null,l(t=this.avatarOptions.map(o=>e(r,{key:o.key},{trigger:()=>e(c,s({round:!0,src:o.icon,style:["cursor: pointer"]},{onClick:this.handleLinkClick.bind(this,o)},{objectFit:"cover",size:24}),null),default:()=>o.tooltip})))?t:{default:()=>[t]})}});export{m as A};
diff --git a/js/index-CgOgVoYU.js.gz b/js/index-CgOgVoYU.js.gz
new file mode 100644
index 00000000..4eed3792
Binary files /dev/null and b/js/index-CgOgVoYU.js.gz differ
diff --git a/js/index-BsRoD5Uw.js b/js/index-CjEDU2P3.js
similarity index 84%
rename from js/index-BsRoD5Uw.js
rename to js/index-CjEDU2P3.js
index f080d219..efaa6515 100644
--- a/js/index-BsRoD5Uw.js
+++ b/js/index-CjEDU2P3.js
@@ -1 +1 @@
-import{l as j,p as x,b as t,I as C,t as O,v as D}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as y}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{N as l,H as a,I as p,v as N}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";var _={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};function r(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!D(i)}const Q=j({name:"RelyAbout",setup(){const{pkg:i}=_,{dependencies:s,devDependencies:n,name:e,version:g}=i,f=[{title:"依赖名称",key:"name"},{title:"依赖版本",key:"relyVersion"},{title:"依赖地址",key:"relyAddress"}],u=y([]),d=y([]),b=[{name:"项目名称",label:e},{name:"版本信息",label:g},{name:"项目地址",label:"GitHub",url:"https://github.com/XiaoDaiGua-Ray/ray-template"}],h=()=>{const o=c=>Object.keys(c).reduce((m,v)=>(m.push({name:v,relyVersion:c[v],relyAddress:""}),m),[]);u.value=o(s),d.value=o(n)},k=o=>{o.url&&window.open(o.url)};return x(()=>{h()}),{columns:f,dependenciesOptions:u,devDependenciesOptions:d,templateOptions:b,handleTagClick:k}},render(){let i,s,n;return t("div",{class:"rely-about"},[t(l,{title:"关于项目"},{default:()=>[C("ray template 是一个基于: tsx pinia vue3.x vite sass 的中后台解决方案. 项目干净与轻巧, 已经集成了很多项目中可能需要的搬砖工具可以让你快速起一个相关项目, 并且不需要剔除大量无用页面与组件.")]}),t(l,{title:"项目信息"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(i=this.templateOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[t(N,O({bordered:!1,type:"info"},{onClick:this.handleTagClick.bind(this,e)},{style:[e.url?"cursor: pointer":""]}),{default:()=>[e.label]})]})))?i:{default:()=>[i]})]}),t(l,{title:"生产依赖"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(s=this.dependenciesOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?s:{default:()=>[s]})]}),t(l,{title:"开发依赖"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(n=this.devDependenciesOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?n:{default:()=>[n]})]})])}});export{Q as default};
+import{l as j,t as x,b as t,I as C,m as O,p as D}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as y}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{N as l,I as a,J as p,v as N}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";var _={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.1"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};function r(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!D(i)}const Q=j({name:"RelyAbout",setup(){const{pkg:i}=_,{dependencies:s,devDependencies:n,name:e,version:g}=i,f=[{title:"依赖名称",key:"name"},{title:"依赖版本",key:"relyVersion"},{title:"依赖地址",key:"relyAddress"}],u=y([]),d=y([]),b=[{name:"项目名称",label:e},{name:"版本信息",label:g},{name:"项目地址",label:"GitHub",url:"https://github.com/XiaoDaiGua-Ray/ray-template"}],h=()=>{const o=m=>Object.keys(m).reduce((c,v)=>(c.push({name:v,relyVersion:m[v],relyAddress:""}),c),[]);u.value=o(s),d.value=o(n)},k=o=>{o.url&&window.open(o.url)};return x(()=>{h()}),{columns:f,dependenciesOptions:u,devDependenciesOptions:d,templateOptions:b,handleTagClick:k}},render(){let i,s,n;return t("div",{class:"rely-about"},[t(l,{title:"关于项目"},{default:()=>[C("ray template 是一个基于: tsx pinia vue3.x vite sass 的中后台解决方案. 项目干净与轻巧, 已经集成了很多项目中可能需要的搬砖工具可以让你快速起一个相关项目, 并且不需要剔除大量无用页面与组件.")]}),t(l,{title:"项目信息"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(i=this.templateOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[t(N,O({bordered:!1,type:"info"},{onClick:this.handleTagClick.bind(this,e)},{style:[e.url?"cursor: pointer":""]}),{default:()=>[e.label]})]})))?i:{default:()=>[i]})]}),t(l,{title:"生产依赖"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(s=this.dependenciesOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?s:{default:()=>[s]})]}),t(l,{title:"开发依赖"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(n=this.devDependenciesOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?n:{default:()=>[n]})]})])}});export{Q as default};
diff --git a/js/index-CjEDU2P3.js.gz b/js/index-CjEDU2P3.js.gz
new file mode 100644
index 00000000..11efff93
Binary files /dev/null and b/js/index-CjEDU2P3.js.gz differ
diff --git a/js/index-ClDV5dL8.js.gz b/js/index-ClDV5dL8.js.gz
deleted file mode 100644
index 6c77a68f..00000000
Binary files a/js/index-ClDV5dL8.js.gz and /dev/null differ
diff --git a/js/index-CnmeqGgQ.js.gz b/js/index-CnmeqGgQ.js.gz
deleted file mode 100644
index 78ad11be..00000000
Binary files a/js/index-CnmeqGgQ.js.gz and /dev/null differ
diff --git a/js/index-CrCwOIVp.js b/js/index-CrCwOIVp.js
deleted file mode 100644
index cd928b3c..00000000
--- a/js/index-CrCwOIVp.js
+++ /dev/null
@@ -1 +0,0 @@
-import{R as s1}from"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import{e as w,g as n1,M as r1,f as M,h as S,i as H,j as R,k as p1,l as d1,R as E,m as h1,n as u1,D as f1,s as m1,o as v1,p as g1}from"./hooks-BY0i9Xdx.js";import{d as u}from"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{_ as _1,$ as b1,a0 as M1,a1 as y1,a2 as w1,a3 as k1,a4 as A,a5 as C1,a6 as z1,q as N,K as $,R as F,O as k,c as Z1,a7 as S1,a8 as H1,e as x1}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as f,j as C,b as a,w as V1,k as A1,n as P1,I as g,q as L1,t as I}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{g as U,c as B1,k as z,w as Z,m as q,s as P,e as L,i as j1}from"./utils-CsGRTM5U.js";import{g as D1,d as T1,t as O1,f as R1}from"./lodash-es@4.17.21-CeZG2a4n.js";import{k as _,e as Y,x as W}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js";import{C as E1}from"./clipboard@2.0.11-DheAgBlr.js";import{u as G}from"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import{c as J}from"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";import"./@vue_shared@3.5.12--5_uv9t5.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function l(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(i){if(i.ep)return;i.ep=!0;const s=l(i);fetch(i.href,s)}})();const N1=f({name:"GlobalProvider",setup(e,{expose:t}){const{getPrimaryColorOverride:l,getAppTheme:o,getLocaleLanguage:i}=w(),s=C(()=>{const n=i.value;return n1(n)}),c=()=>{const{message:n,notification:r,dialog:p,loadingBar:d}=z1(["message","dialog","notification","loadingBar"],{configProviderProps:C(()=>({theme:o.value?A:null}))});window.$dialog=p,window.$message=n,window.$loadingBar=d,window.$notification=r};return t(),{getPrimaryColorOverride:l,localePackage:s,getAppTheme:o,discreteApi:c}},render(){const{$slots:{default:e},discreteApi:t}=this,{getPrimaryColorOverride:l,getAppTheme:o,localePackage:i}=this;return a(C1,{themeOverrides:l,theme:o?A:null,locale:i.locale,dateLocale:i.dateLocal},{default:()=>[a(_1,null,{default:()=>[a(b1,r1,{default:()=>[a(M1,null,{default:()=>[a(y1,null,{default:()=>[a(w1,null,{default:()=>[a(k1,null,null),e==null?void 0:e(),t()]})]})]})]})]})]})}});var $1={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const F1=f({name:"AppStyleProvider",setup(e,{expose:t}){const{getAppTheme:l}=w(),o=()=>{const{appPrimaryColor:{primaryColor:c,primaryFadeColor:n}}=$1,r=document.body,p=U(M.appPiniaSettingStore,"localStorage");if(p){const d=D1(p,"primaryColorOverride.common.primaryColor",c),m=B1(d,.38);r.style.setProperty("--ray-theme-primary-color",d),r.style.setProperty("--ray-theme-primary-fade-color",m||n)}},i=()=>{const c=document.getElementById("pre-loading-animation");c&&z(c,{display:"none"})},s=c=>{const n=document.body,r="ray-template--dark",p="ray-template--light";c?Z(n,p):Z(n,r),q(n,c?r:p)};o(),i(),V1(()=>l.value,c=>{s(c)},{immediate:!0}),t()},render(){return a("div",{class:"app-style-provider"},null)}}),K={lockPassword:{required:!0,message:"请输入正确格式密码",min:6,max:12,trigger:["input"]}},y=()=>({lockPassword:null}),I1=f({name:"LockScreen",setup(){const e=_(null),t=_(null),{setLockAppScreen:l}=H(),{updateSettingState:o}=S(),i=Y({lockCondition:y()}),s=()=>{var c;(c=e.value)==null||c.validate(n=>{n||(l(!0),o("lockScreenSwitch",!0),i.lockCondition=y())})};return A1(()=>{P1(()=>{var c;(c=t.value)==null||c.focus()})}),{...W(i),lockScreen:s,formInstRef:e,inputInstRef:t}},render(){return a("div",{class:"app-lock-screen__input"},[a(N,{ref:"formInstRef",model:this.lockCondition,rules:K,labelPlacement:"left"},{default:()=>[a($,{path:"lockPassword"},{default:()=>[a(F,{ref:"inputInstRef",value:this.lockCondition.lockPassword,"onUpdate:value":e=>this.lockCondition.lockPassword=e,type:"password",placeholder:"请输入锁屏密码",clearable:!0,showPasswordOn:"click",minlength:6,maxlength:12,onKeydown:e=>{e.code==="Enter"&&this.lockScreen()}},null)]}),a(k,{type:"primary",onClick:this.lockScreen.bind(this)},{default:()=>[g("锁屏")]})]})])}}),U1=f({name:"UnlockScreen",setup(){const e=_(null),t=_(null),{logout:l}=R(),{updateSettingState:o}=S(),{setLockAppScreen:i}=H(),{isTabletOrSmaller:s}=p1(),c="HH:mm",n="A",r="YY年MM月DD日",p="ddd",d=Y({lockCondition:y(),HH_MM:u().format(c),AM_PM:u().locale("en").format(n),YY_MM_DD:u().format(r),DDD:u().format(p)}),m=setInterval(()=>{d.HH_MM=u().format(c),d.AM_PM=u().format(n)},6e3),v=setInterval(()=>{d.YY_MM_DD=u().format(r),d.DDD=u().format(p)},864e5),b=()=>{window.$dialog.warning({title:"警告",content:"是否返回到登陆页?",positiveText:"确定",negativeText:"取消",onPositiveClick:()=>{l(),setTimeout(()=>{o("lockScreenSwitch",!1)})}})},c1=()=>{var V;(V=e.value)==null||V.validate(a1=>{a1||(i(!1),o("lockScreenSwitch",!1),d.lockCondition=y())})};return L1(()=>{clearInterval(m),clearInterval(v)}),{...W(d),backToSigning:b,unlockScreen:c1,formRef:e,inputInstRef:t,isTabletOrSmaller:s}},render(){const{isTabletOrSmaller:e}=this,{HH_MM:t,AM_PM:l,YY_MM_DD:o,DDD:i}=this,s=t.split(":"),{unlockScreen:c,backToSigning:n}=this;return a("div",{class:"app-lock-screen__unlock"},[a("div",{class:"app-lock-screen__unlock__content"},[a("div",{class:"app-lock-screen__unlock__content-wrapper"},[a("div",{class:["app-lock-screen__unlock__content-bg__wrapper","app-lock-screen__unlock__content-bg",e?"app-lock-screen__unlock__content-bg--smaller":""]},[a("div",{class:"left"},[s[0]]),a("div",{class:"right"},[s[1]])])]),a("div",{class:"app-lock-screen__unlock__content-avatar"},[a(d1,{avatarSize:52,style:"pointer-events: none;",vertical:!0},null)]),a("div",{class:"app-lock-screen__unlock__content-input"},[a(N,{ref:"formRef",model:this.lockCondition,rules:K},{default:()=>[a($,{path:"lockPassword"},{default:()=>[a(F,{ref:"inputInstRef",value:this.lockCondition.lockPassword,"onUpdate:value":r=>this.lockCondition.lockPassword=r,type:"password",placeholder:"请输入解锁密码",clearable:!0,minlength:6,maxlength:12,onKeydown:r=>{r.code==="Enter"&&c()}},null)]}),a(Z1,{justify:"space-between"},{default:()=>[a(k,{type:"primary",text:!0,onClick:n.bind(this)},{default:()=>[g("返回登陆")]}),a(k,{type:"primary",text:!0,onClick:c.bind(this)},{default:()=>[g("进入系统")]})]})]})]),a("div",{class:"app-lock-screen__unlock__content-date"},[a("div",{class:"current-date"},[t,g(" "),a("span",null,[l])]),a("div",{class:"current-year"},[o,g(" "),a("span",null,[i])])])])])}}),q1=f({name:"AppLockScreen",setup(){const{getLockAppScreen:e}=H(),{updateSettingState:t}=S(),{getLockScreenSwitch:l}=w();return{lockScreenSwitchRef:C({get:()=>l.value,set:i=>{t("lockScreenSwitch",i)}}),getLockAppScreen:e}},render(){const{getLockAppScreen:e}=this;return a(E,{show:this.lockScreenSwitchRef,"onUpdate:show":t=>this.lockScreenSwitchRef=t,transformOrigin:"center",autoFocus:!1,maskClosable:!1,closeOnEsc:!1,preset:e()?void 0:"dialog",title:"锁定屏幕"},{default:()=>[a("div",{class:"app-lock-screen__content"},[e()?a(U1,null,null):a(I1,null,null)])]})}}),Y1=f({name:"AppWatermarkProvider",setup(){const{getWatermarkSwitch:e,getWatermarkConfig:t}=w();return{getWatermarkSwitch:e,getWatermarkConfig:t}},render(){const{getWatermarkConfig:e,getWatermarkSwitch:t}=this;return t?a(S1,I({cross:!0,fullscreen:!0},e),null):null}}),W1=f({name:"GlobalSpin",props:{...H1},setup(){const e={opacitySpinning:"0.3"};return{spinValue:h1("globalSpinning"),overrides:e}},render(){return a(x1,I(this.$props,{show:this.spinValue,themeOverrides:this.overrides}),{...this.$slots})}});var G1={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const J1=f({name:"AppVersionProvider",setup(){const{pkg:{version:e}}=G1,t=U(M.appVersionProvider,"localStorage"),l=_(!1),{logout:o}=R();return t!==null?e!==t&&(l.value=!0,P(M.appVersionProvider,e,"localStorage")):P(M.appVersionProvider,e,"localStorage"),{modalShow:l,logout:o}},render(){const{logout:e}=this;return a("div",{class:"app-style-provider"},[a(E,{show:this.modalShow,"onUpdate:show":t=>this.modalShow=t,closeOnEsc:!1,maskClosable:!1,preset:"dialog",closable:!1,title:"发现新版本",content:"当前版本已更新,点击确认加载新版本~",zIndex:999999999,dad:!0,positiveText:"确认",negativeText:"取消",onPositiveClick:e,onNegativeClick:()=>{this.modalShow=!1}},null)])}}),X=f({name:"App",render(){return a(N1,null,{default:()=>[a(J1,null,null),a(q1,null,null),a(F1,null,null),a(Y1,null,null),a(W1,null,{default:()=>a(s1,null,null),description:()=>u1})]})}});if(typeof window<"u"){let e=function(){var t=document.body,l=document.getElementById("__svg__icons__dom__");l||(l=document.createElementNS("http://www.w3.org/2000/svg","svg"),l.style.position="absolute",l.style.width="0",l.style.height="0",l.id="__svg__icons__dom__",l.setAttribute("xmlns","http://www.w3.org/2000/svg"),l.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),l.innerHTML='',t.insertBefore(l,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const K1=()=>{u.locale(f1)},B=(e,t)=>{const l=new E1(e,{text:()=>t});e.$$clipboard=l,e.$$clipboard.on("success",()=>{window.$message.success("复制成功")}),e.$$clipboard.on("error",()=>{window.$message.error("复制失败")})},X1=()=>({mounted:(e,{value:t})=>{B(e,t)},updated:(e,{value:t,oldValue:l})=>{var o;t!==l&&((o=e.$$clipboard)==null||o.destroy(),B(e,t))},beforeUnmount:e=>{var t;e.$$clipboard&&((t=e.$$clipboard)==null||t.destroy(),e.$$clipboard=null)}}),Q1=Object.freeze(Object.defineProperty({__proto__:null,default:X1},Symbol.toStringTag,{value:"Module"})),e2=()=>{let e,t;return{beforeMount:(l,{value:o})=>{const{func:i,trigger:s="click",wait:c=500,options:n}=o;if(typeof i!="function")throw new TypeError("debounce directive value must be a function");e=T1(i,c,Object.assign({},n)),t=G(l,s,e)},beforeUnmount:(l,{value:o})=>{e&&(e.cancel(),t==null||t()),e=null}}},t2=Object.freeze(Object.defineProperty({__proto__:null,default:e2},Symbol.toStringTag,{value:"Module"})),j=(e,t)=>{if(e){const l="ray-template__directive--disabled";t?(e.setAttribute("disabled","disabled"),q(e,l)):(e.removeAttribute("disabled"),Z(e,l)),e==null||e.setAttribute("disabled",t?"disabled":"")}},l2=()=>({mounted:(e,{value:t})=>{j(e,t)},updated:(e,{value:t,oldValue:l})=>{t!==l&&j(e,t)}}),i2=Object.freeze(Object.defineProperty({__proto__:null,default:l2},Symbol.toStringTag,{value:"Module"})),D=(e,t)=>{const{line:l=1,type:o="block",width:i,popoverText:s}=t;if(i==null){console.error(`[v-ellipsis]: Expected width is string or number, but got typeof ${i}!`);return}s&&e.textContent&&e.setAttribute("title",e.textContent),o==="line"?z(e,{display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":l,overflow:"hidden",width:L(i)}):z(e,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:L(i)})},o2=()=>({mounted:(e,{value:t})=>{D(e,t)},updated:(e,{value:t})=>{D(e,t)}}),c2=Object.freeze(Object.defineProperty({__proto__:null,default:o2},Symbol.toStringTag,{value:"Module"})),h={vRippleAnimationEnter:"v-ripple__animation--enter",vRippleAnimationVisible:"v-ripple__animation--visible",vRippleAnimationIn:"v-ripple__animation--in",vRippleAnimationOut:"v-ripple__animation--out",vRippleAnimation:"v-ripple__animation"},a2="v-ripple__container";function T(e,t){e.style.transform=t}function Q(e){const t={},l=e.currentTarget;!(l!=null&&l.__d_ripple__)||l.__d_ripple__.touched||(t.center=l.__d_ripple__.centered,l.__d_ripple__.class&&(t.class=l.__d_ripple__.class),x.show(e,l,t))}function e1(e){const t=e.currentTarget;t!=null&&t.__d_ripple__&&(setTimeout(()=>{t.__d_ripple__&&(t.__d_ripple__.touched=!1)}),x.hide(t))}const s2=(e,t,l={})=>{var v;const o=t.getBoundingClientRect(),i=e.clientX-o.left,s=e.clientY-o.top;let c=0,n=.3;(v=t.__d_ripple__)!=null&&v.circle?(n=.15,c=t.clientWidth/2,c=l.center?c:c+Math.sqrt((i-c)**2+(s-c)**2)/4):c=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const r=`${(t.clientWidth-c*2)/2}px`,p=`${(t.clientHeight-c*2)/2}px`,d=l.center?r:`${i-c}px`,m=l.center?p:`${s-c}px`;return{radius:c,scale:n,x:d,y:m,centerX:r,centerY:p}},x={show(e,t,l={}){var b;if(!((b=t==null?void 0:t.__d_ripple__)!=null&&b.enabled))return;const o=document.createElement("span"),i=document.createElement("span");o.appendChild(i),o.className=a2,l.class&&(o.className+=` ${l.class}`);const{radius:s,scale:c,x:n,y:r,centerX:p,centerY:d}=s2(e,t,l),m=`${s*2}px`;i.className=h.vRippleAnimation,i.style.width=m,i.style.height=m,t.appendChild(o);const v=window.getComputedStyle(t);v&&v.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add(h.vRippleAnimationEnter),i.classList.add(h.vRippleAnimationVisible),T(i,`translate(${n}, ${r}) scale3d(${c},${c},${c})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove(h.vRippleAnimationEnter),i.classList.add(h.vRippleAnimationIn),T(i,`translate(${p}, ${d}) scale3d(1,1,1)`)},0)},hide(e){var s;if(!((s=e==null?void 0:e.__d_ripple__)!=null&&s.enabled))return;const t=e.getElementsByClassName(h.vRippleAnimation);if(t.length===0)return;const l=t[t.length-1];if(l.dataset.isHiding)return;l.dataset.isHiding="true";const o=performance.now()-Number(l.dataset.activated),i=Math.max(250-o,0);setTimeout(()=>{l.classList.remove(h.vRippleAnimationIn),l.classList.add(h.vRippleAnimationOut),setTimeout(()=>{var n;e.getElementsByClassName(h.vRippleAnimation).length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((n=l.parentNode)==null?void 0:n.parentNode)===e&&e.removeChild(l.parentNode)},300)},i)}};function t1(e){return typeof e>"u"||!!e}function l1(e){e.removeEventListener("pointerdown",Q),e.removeEventListener("pointerup",e1)}function O(e,t,l){const{value:o,modifiers:i}=t,s=t1(o);s||x.hide(e),e.__d_ripple__=e.__d_ripple__??{},e.__d_ripple__.enabled=s,e.__d_ripple__.centered=i.center,e.__d_ripple__.circle=i.circle,j1(o,"Object")&&o.class&&(e.__d_ripple__.class=o.class),s&&!l?(e.addEventListener("pointerdown",Q),e.addEventListener("pointerup",e1)):!s&&l&&l1(e)}const n2=()=>({mounted:(e,t)=>{O(e,t,!1)},beforeUnmount:e=>{delete e.__d_ripple__,l1(e)},updated:(e,t)=>{if(t.value===t.oldValue)return;const l=t1(t.oldValue);O(e,t,l)}}),r2=Object.freeze(Object.defineProperty({__proto__:null,default:n2},Symbol.toStringTag,{value:"Module"})),p2=()=>{let e;return{beforeMount:(t,{value:l})=>{const{func:o,trigger:i="click",wait:s=500,options:c}=l;if(typeof o!="function")throw new TypeError("throttle directive value must be a function");e=O1(o,s,Object.assign({},c)),G(t,i,e)},beforeUnmount:()=>{e&&e.cancel(),e=null}}},d2=Object.freeze(Object.defineProperty({__proto__:null,default:p2},Symbol.toStringTag,{value:"Module"})),h2=e=>Object.keys(e).reduce((l,o)=>{var s;const i=(s=e[o])==null?void 0:s.default;if(typeof i=="function")return l[o]=i,l;throw new TypeError(`directiveModules: ${o} is not function`)},{}),u2=e=>{const l=h2(Object.assign({"/src/directives/modules/copy/index.ts":Q1,"/src/directives/modules/debounce/index.ts":t2,"/src/directives/modules/disabled/index.ts":i2,"/src/directives/modules/ellipsis/index.ts":c2,"/src/directives/modules/ripple/index.ts":r2,"/src/directives/modules/throttle/index.ts":d2})),o=new RegExp("(?<=modules\\/).*(?=\\/index\\.ts)"),i=/^([^-]+-)*[^-]+$/;R1(l,(s,c)=>{var r;const n=(r=c.match(o))==null?void 0:r[0];typeof n=="string"&&i.test(n)?e.directive(n,s()):console.error(`[setupDirectives] ${n} is not a valid directive name`)})},i1=async()=>{},o1=async e=>{m1(e),await v1(e),g1(e),K1(),u2(e)},f2=async()=>{const e=J(X);await o1(e),e.mount("#app"),await i1()},m2=async()=>{let e;window.__WUJIE_MOUNT=async()=>{e=J(X),await o1(e),e.mount("#app"),await i1()},window.__WUJIE_UNMOUNT=()=>{e.unmount()},window.__WUJIE.mount()};window.__POWERED_BY_WUJIE__?m2():f2();
diff --git a/js/index-CrCwOIVp.js.gz b/js/index-CrCwOIVp.js.gz
deleted file mode 100644
index d0dea5df..00000000
Binary files a/js/index-CrCwOIVp.js.gz and /dev/null differ
diff --git a/js/index-D3KEHdzx.js.gz b/js/index-D3KEHdzx.js.gz
deleted file mode 100644
index 32626620..00000000
Binary files a/js/index-D3KEHdzx.js.gz and /dev/null differ
diff --git a/js/index-D4EbUL-F.js b/js/index-D4EbUL-F.js
deleted file mode 100644
index fb3da451..00000000
--- a/js/index-D4EbUL-F.js
+++ /dev/null
@@ -1 +0,0 @@
-import{m as S,e as W,a1 as w,t as V,a2 as y,a3 as N,a4 as M,u as L,a5 as R}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{N as i,c as a,R as T,O as t}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as I,b as u,I as e}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as b}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const yu=I({name:"TemplateHooks",setup(){const m=b(""),n=S("layoutContentMaximize"),r=b(W().getWatermarkConfig.value.content),F=b("new"),{navigationTo:p}=y(),{maximize:s,isLayoutContentMaximized:d}=w(),{reload:C,openSpin:B,closeSpin:D}=N(),{showWatermark:A,hiddenWatermark:E,setWatermarkContent:c,toggleWatermark:h}=M(),{darkTheme:f,lightTheme:k,toggleTheme:l,getAppTheme:g,syncSystemTheme:o}=L(),{hidden:v,show:x,update:z}=R();return{navigationTo:p,reload:C,currentMenuOption:m,maximize:s,maximizeRef:n,openSpin:B,closeSpin:D,showWatermark:A,hiddenWatermark:E,setWatermarkContent:c,watermark:r,toggleWatermark:h,darkTheme:f,lightTheme:k,toggleTheme:l,getAppTheme:g,isLayoutContentMaximized:d,badgeHidden:v,badgeShow:x,badgeUpdateLabel:z,badgeValue:F,syncSystemTheme:o}},render(){const{navigationTo:m,reload:n,maximize:r,openSpin:F,closeSpin:p,showWatermark:s,hiddenWatermark:d,setWatermarkContent:C,toggleWatermark:B,darkTheme:D,lightTheme:A,toggleTheme:E,getAppTheme:c,isLayoutContentMaximized:h,badgeHidden:f,badgeShow:k,badgeUpdateLabel:l,syncSystemTheme:g}=this;return u(a,{vertical:!0},{default:()=>[u(i,{title:"接口说明"},{default:()=>[u("h3",null,[e("hooks/template 包存放模板专属 hook 方法。这里不做过多的赘述,可以查看文档具体描述。")])]}),u(i,{title:"useBadge 菜单标记"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(T,{value:this.badgeValue,"onUpdate:value":o=>this.badgeValue=o},null),u(a,null,{default:()=>[u(t,{onClick:()=>f("/template-hooks")},{default:()=>[e("隐藏当前菜单标记")]}),u(t,{onClick:()=>k("/template-hooks")},{default:()=>[e("显示当前菜单标记")]}),u(t,{onClick:()=>l("/template-hooks",{label:this.badgeValue})},{default:()=>[e("更新当前菜单标记")]}),u(t,{onClick:()=>{l("/template-hooks",{label:this.badgeValue,icon:u(V,{name:"error",size:"18"},null)})}},{default:()=>[e("添加标记图标")]}),u(t,{onClick:()=>{l("/template-hooks",{label:this.badgeValue,icon:void 0})}},{default:()=>[e("隐藏标记图标")]})]})]})]}),u(i,{title:"useTheme 主题"},{default:()=>[u(a,{vertical:!0},{default:()=>[u("h3",null,[e("getAppTheme 获取当前主题色: "),c().themeLabel]),u(a,null,{default:()=>[u(t,{onClick:()=>D()},{default:()=>[e("切换暗黑主题")]}),u(t,{onClick:()=>A()},{default:()=>[e("切换明亮主题")]}),u(t,{onClick:()=>g()},{default:()=>[e("跟随主题")]}),u(t,{onClick:()=>E()},{default:()=>[e("切换主题")]})]})]})]}),u(i,{title:"useWatermark 水印"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(T,{value:this.watermark,"onUpdate:value":o=>this.watermark=o,onInput:o=>{C(o)}},null),u(a,null,{default:()=>[u(t,{onClick:()=>s()},{default:()=>[e("显示水印")]}),u(t,{onClick:()=>d()},{default:()=>[e("隐藏水印")]}),u(t,{onClick:()=>B()},{default:()=>[e("切换水印")]})]})]})]}),u(i,{title:"useSpinning"},{default:()=>[u("h3",null,[e("手动刷新内容区域,会使得当前路由页面内容强制重新加载(会执行完整的 vue 生命周期)。默认 800ms 延迟。")]),u("br",null,null),u(a,null,{default:()=>[u(t,{onClick:()=>{n()}},{default:()=>[e("刷新(强制刷新)")]}),u(t,{onClick:()=>{F(),setTimeout(()=>{p()},800)}},{default:()=>[e("触发加载动画(不强制刷新)")]})]})]}),u(i,{title:"useMaximize 内容区域最大化"},{default:()=>[u("h3",null,[e("isLayoutContentMaximized 检测当前内容区域是否最大化:"),h?"最大化":"正常尺寸"]),u(t,{onClick:()=>{r(!this.maximizeRef,{scrollToOptions:{left:0,top:0}})}},{default:()=>[e("最大化内容区域,并且滚动至顶部")]})]}),u(i,{title:"useAppNavigation 导航方法"},{default:()=>[u("h3",null,[e("navigationTo 参数为正整数时,会更具当前的菜单顺序进行自动导航匹配。但是此方法仅能导航一级菜单。并且如果导航菜单非根菜单项,会自动递归导航至一子菜单。 支持传入完整的菜单路径,如:/multi/multi-menu-one。")]),u("br",null,null),u(t,{onClick:()=>m("/multi/multi-menu-one")},{default:()=>[e("跳转至多级菜单")]})]})]})}});export{yu as default};
diff --git a/js/index-D4EbUL-F.js.gz b/js/index-D4EbUL-F.js.gz
deleted file mode 100644
index 86a86600..00000000
Binary files a/js/index-D4EbUL-F.js.gz and /dev/null differ
diff --git a/js/index-D6uzvoU7.js b/js/index-D6uzvoU7.js
new file mode 100644
index 00000000..8a1d3f43
--- /dev/null
+++ b/js/index-D6uzvoU7.js
@@ -0,0 +1 @@
+import{m as S,e as W,$ as w,t as V,a0 as y,a1 as N,a2 as M,u as L,a3 as I}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{N as i,c as a,T,P as t}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as R,b as u,I as e}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as b}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const yu=R({name:"TemplateHooks",setup(){const m=b(""),n=S("layoutContentMaximize"),r=b(W().getWatermarkConfig.value.content),F=b("new"),{navigationTo:p}=y(),{maximize:s,isLayoutContentMaximized:d}=w(),{reload:C,openSpin:B,closeSpin:D}=N(),{showWatermark:A,hiddenWatermark:E,setWatermarkContent:c,toggleWatermark:h}=M(),{darkTheme:f,lightTheme:k,toggleTheme:l,getAppTheme:g,syncSystemTheme:o}=L(),{hidden:v,show:x,update:z}=I();return{navigationTo:p,reload:C,currentMenuOption:m,maximize:s,maximizeRef:n,openSpin:B,closeSpin:D,showWatermark:A,hiddenWatermark:E,setWatermarkContent:c,watermark:r,toggleWatermark:h,darkTheme:f,lightTheme:k,toggleTheme:l,getAppTheme:g,isLayoutContentMaximized:d,badgeHidden:v,badgeShow:x,badgeUpdateLabel:z,badgeValue:F,syncSystemTheme:o}},render(){const{navigationTo:m,reload:n,maximize:r,openSpin:F,closeSpin:p,showWatermark:s,hiddenWatermark:d,setWatermarkContent:C,toggleWatermark:B,darkTheme:D,lightTheme:A,toggleTheme:E,getAppTheme:c,isLayoutContentMaximized:h,badgeHidden:f,badgeShow:k,badgeUpdateLabel:l,syncSystemTheme:g}=this;return u(a,{vertical:!0},{default:()=>[u(i,{title:"接口说明"},{default:()=>[u("h3",null,[e("hooks/template 包存放模板专属 hook 方法。这里不做过多的赘述,可以查看文档具体描述。")])]}),u(i,{title:"useBadge 菜单标记"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(T,{value:this.badgeValue,"onUpdate:value":o=>this.badgeValue=o},null),u(a,null,{default:()=>[u(t,{onClick:()=>f("/template-hooks")},{default:()=>[e("隐藏当前菜单标记")]}),u(t,{onClick:()=>k("/template-hooks")},{default:()=>[e("显示当前菜单标记")]}),u(t,{onClick:()=>l("/template-hooks",{label:this.badgeValue})},{default:()=>[e("更新当前菜单标记")]}),u(t,{onClick:()=>{l("/template-hooks",{label:this.badgeValue,icon:u(V,{name:"error",size:"18"},null)})}},{default:()=>[e("添加标记图标")]}),u(t,{onClick:()=>{l("/template-hooks",{label:this.badgeValue,icon:void 0})}},{default:()=>[e("隐藏标记图标")]})]})]})]}),u(i,{title:"useTheme 主题"},{default:()=>[u(a,{vertical:!0},{default:()=>[u("h3",null,[e("getAppTheme 获取当前主题色: "),c().themeLabel]),u(a,null,{default:()=>[u(t,{onClick:()=>D()},{default:()=>[e("切换暗黑主题")]}),u(t,{onClick:()=>A()},{default:()=>[e("切换明亮主题")]}),u(t,{onClick:()=>g()},{default:()=>[e("跟随主题")]}),u(t,{onClick:()=>E()},{default:()=>[e("切换主题")]})]})]})]}),u(i,{title:"useWatermark 水印"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(T,{value:this.watermark,"onUpdate:value":o=>this.watermark=o,onInput:o=>{C(o)}},null),u(a,null,{default:()=>[u(t,{onClick:()=>s()},{default:()=>[e("显示水印")]}),u(t,{onClick:()=>d()},{default:()=>[e("隐藏水印")]}),u(t,{onClick:()=>B()},{default:()=>[e("切换水印")]})]})]})]}),u(i,{title:"useSpinning"},{default:()=>[u("h3",null,[e("手动刷新内容区域,会使得当前路由页面内容强制重新加载(会执行完整的 vue 生命周期)。默认 800ms 延迟。")]),u("br",null,null),u(a,null,{default:()=>[u(t,{onClick:()=>{n()}},{default:()=>[e("刷新(强制刷新)")]}),u(t,{onClick:()=>{F(),setTimeout(()=>{p()},800)}},{default:()=>[e("触发加载动画(不强制刷新)")]})]})]}),u(i,{title:"useMaximize 内容区域最大化"},{default:()=>[u("h3",null,[e("isLayoutContentMaximized 检测当前内容区域是否最大化:"),h?"最大化":"正常尺寸"]),u(t,{onClick:()=>{r(!this.maximizeRef,{scrollToOptions:{left:0,top:0}})}},{default:()=>[e("最大化内容区域,并且滚动至顶部")]})]}),u(i,{title:"useAppNavigation 导航方法"},{default:()=>[u("h3",null,[e("navigationTo 参数为正整数时,会更具当前的菜单顺序进行自动导航匹配。但是此方法仅能导航一级菜单。并且如果导航菜单非根菜单项,会自动递归导航至一子菜单。 支持传入完整的菜单路径,如:/multi/multi-menu-one。")]),u("br",null,null),u(t,{onClick:()=>m("/multi/multi-menu-one")},{default:()=>[e("跳转至多级菜单")]})]})]})}});export{yu as default};
diff --git a/js/index-D6uzvoU7.js.gz b/js/index-D6uzvoU7.js.gz
new file mode 100644
index 00000000..e19d64da
Binary files /dev/null and b/js/index-D6uzvoU7.js.gz differ
diff --git a/js/index-DGnIX46Y.js.gz b/js/index-DGnIX46Y.js.gz
deleted file mode 100644
index 496c8975..00000000
Binary files a/js/index-DGnIX46Y.js.gz and /dev/null differ
diff --git a/js/index-DbRyq2_G.js.gz b/js/index-DbRyq2_G.js.gz
deleted file mode 100644
index 87da2753..00000000
Binary files a/js/index-DbRyq2_G.js.gz and /dev/null differ
diff --git a/js/index-BIJU71Xw.js b/js/index-DcajtrM6.js
similarity index 74%
rename from js/index-BIJU71Xw.js
rename to js/index-DcajtrM6.js
index adcf3789..083095c4 100644
--- a/js/index-BIJU71Xw.js
+++ b/js/index-DcajtrM6.js
@@ -1 +1 @@
-import{t as n}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{A as d}from"./index-DylPkErZ.js";import{N as i,H as f,I as c,ac as s,ad as E,c as o,v as p}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as b,b as u,I as t,v as F}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function m(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!F(l)}const du=b({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>u(o,null,{default:()=>[u(p,{type:"success"},{default:()=>[t("Vue3.x")]}),u(p,{type:"info"},{default:()=>[t("React")]})]})},{label:"从事搬砖时长",des:()=>u(o,null,{default:()=>[u(p,{type:"success"},{default:()=>[t("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>u(o,{align:"center"},{default:()=>[u(n,{name:"ray",size:"22"},null),t("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>u(o,{align:"center"},{default:()=>[t("如果有希望补充的功能可以在"),u("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[t("GitHub")]),t("提一个 Issues")]}),span:2}],technologyTagOptions:[{label:"Vue3.x",value:"Vue3.x"},{label:"Vite5.x",value:"Vite5.x"},{label:"Pinia",value:"Pinia"},{label:"TS(X)",value:"TS(X)"}]}},render(){let l,a;return u(o,{vertical:!0},{default:()=>[u(i,null,{header:()=>u(n,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),u(i,{title:"个人介绍"},{default:()=>[u(f,{bordered:!0,labelPlacement:"left",column:2},m(l=this.coverLetterOptions.map(e=>{let r;return u(c,{key:e.label,label:e.label,span:e==null?void 0:e.span},m(r=e.des())?r:{default:()=>[r]})}))?l:{default:()=>[l]})]}),u(i,{title:"项目介绍"},{default:()=>[u(s,null,{default:()=>[t("技术栈")]}),u(E,null,{default:()=>[u(o,null,m(a=this.technologyTagOptions.map(e=>u(p,{key:e.value,type:"info"},{default:()=>[e.label]})))?a:{default:()=>[a]})]}),u(s,null,{default:()=>[t("项目介绍")]}),u(E,null,{default:()=>[t("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),u(i,{title:"友情链接"},{default:()=>[u(d,null,null)]})]})}});export{du as default};
+import{t as n}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{A as d}from"./index-CgOgVoYU.js";import{N as i,I as f,J as c,ac as s,ad as E,c as o,v as p}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as b,b as u,I as t,p as F}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function m(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!F(l)}const du=b({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>u(o,null,{default:()=>[u(p,{type:"success"},{default:()=>[t("Vue3.x")]}),u(p,{type:"info"},{default:()=>[t("React")]})]})},{label:"从事搬砖时长",des:()=>u(o,null,{default:()=>[u(p,{type:"success"},{default:()=>[t("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>u(o,{align:"center"},{default:()=>[u(n,{name:"ray",size:"22"},null),t("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>u(o,{align:"center"},{default:()=>[t("如果有希望补充的功能可以在"),u("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[t("GitHub")]),t("提一个 Issues")]}),span:2}],technologyTagOptions:[{label:"Vue3.x",value:"Vue3.x"},{label:"Vite5.x",value:"Vite5.x"},{label:"Pinia",value:"Pinia"},{label:"TS(X)",value:"TS(X)"}]}},render(){let l,a;return u(o,{vertical:!0},{default:()=>[u(i,null,{header:()=>u(n,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),u(i,{title:"个人介绍"},{default:()=>[u(f,{bordered:!0,labelPlacement:"left",column:2},m(l=this.coverLetterOptions.map(e=>{let r;return u(c,{key:e.label,label:e.label,span:e==null?void 0:e.span},m(r=e.des())?r:{default:()=>[r]})}))?l:{default:()=>[l]})]}),u(i,{title:"项目介绍"},{default:()=>[u(s,null,{default:()=>[t("技术栈")]}),u(E,null,{default:()=>[u(o,null,m(a=this.technologyTagOptions.map(e=>u(p,{key:e.value,type:"info"},{default:()=>[e.label]})))?a:{default:()=>[a]})]}),u(s,null,{default:()=>[t("项目介绍")]}),u(E,null,{default:()=>[t("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),u(i,{title:"友情链接"},{default:()=>[u(d,null,null)]})]})}});export{du as default};
diff --git a/js/index-DcajtrM6.js.gz b/js/index-DcajtrM6.js.gz
new file mode 100644
index 00000000..e280b9ad
Binary files /dev/null and b/js/index-DcajtrM6.js.gz differ
diff --git a/js/index-DelUBd5p.js.gz b/js/index-DelUBd5p.js.gz
deleted file mode 100644
index ec360407..00000000
Binary files a/js/index-DelUBd5p.js.gz and /dev/null differ
diff --git a/js/index-Dn1J5-dJ.js.gz b/js/index-Dn1J5-dJ.js.gz
deleted file mode 100644
index e4703a74..00000000
Binary files a/js/index-Dn1J5-dJ.js.gz and /dev/null differ
diff --git a/js/index-DrOZrx4m.js b/js/index-DrOZrx4m.js
new file mode 100644
index 00000000..cdea7d52
--- /dev/null
+++ b/js/index-DrOZrx4m.js
@@ -0,0 +1 @@
+import{j as O,q as C,r as L,f,t as r,e as F,u as P,h as A,v as $}from"./hooks-DonDO7vb.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{u as q}from"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import{s as y}from"./utils-6rpFoFAR.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{L as w,T as S,P as z,q as G,U as V,n as I,c as l,x as D,K as U,y as b,j as E,a as Q,b as k,N as H,s as K,aa as c,F as x}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as a,b as e,p as m,I as d,F as W}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as p,e as _,x as j}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{Q as B}from"./vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js";import{L as X}from"./ray-dCjhX_JK.js";import{e as Y}from"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import{A as J}from"./index-CgOgVoYU.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function M(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const Z=a({name:"RSigning",setup(){const t=p(),{t:i}=L(),{signing:n}=O(),{getRootPath:o}=C(),s=p(!1),u=()=>({name:"Ray Admin",pwd:"123456"}),R=q(),g=p(u()),T={name:{required:!0,message:i("views.login.index.NamePlaceholder"),trigger:["blur","input"]},pwd:{required:!0,message:i("views.login.index.PasswordPlaceholder"),trigger:["blur","input"]}};return{signingForm:g,loginFormRef:t,handleLogin:()=>{var h;(h=t.value)==null||h.validate(N=>{N||(s.value=!0,n(g.value).then(v=>{v.code===0&&setTimeout(()=>{window.$message.success(`欢迎${g.value.name}登陆~`),y(f.token,"tokenValue","localStorage"),y(f.signing,v.data,"localStorage"),R.push(o.value),s.value=!1},2*1e3)}).catch(()=>{window.$message.error("不可以这样哟, 不可以哟")}))})},rules:T,loading:s}},render(){let t;const{$t:i,loading:n}=this;return e(G,{model:this.signingForm,ref:"loginFormRef",rules:this.rules},{default:()=>[e(w,{label:i("views.login.index.Name"),path:"name"},{default:()=>[e(S,{value:this.signingForm.name,"onUpdate:value":o=>this.signingForm.name=o,placeholder:i("views.login.index.NamePlaceholder")},null)]}),e(w,{label:i("views.login.index.Password"),path:"pwd"},{default:()=>[e(S,{value:this.signingForm.pwd,"onUpdate:value":o=>this.signingForm.pwd=o,type:"password",showPasswordOn:"click",placeholder:i("views.login.index.PasswordPlaceholder"),onKeydown:o=>o.key==="Enter"&&this.handleLogin()},null)]}),e(z,{style:["width: 100%","margin-to: 18px"],type:"primary",onClick:this.handleLogin.bind(this),loading:n},M(t=i("views.login.index.Login"))?t:{default:()=>[t]})]})}}),ee=a({name:"RRegister",render(){return e(V,{status:"info",title:"提示",description:"我实在是不想写了..."},null)}}),te=a({name:"QRCodeSigning",setup(){const t=_({qrcodeValue:"https://github.com/XiaoDaiGua-Ray/xiaodaigua-ray.github.io"});return{...j(t)}},render(){return e("div",{class:"qrcode-signing"},[e(B,{text:"ray template yes",size:200,logoImage:X},null)])}});function ie(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const ne=a({name:"SSOSigning",setup(){return{ssoSigningOptions:[{icon:"github",key:"github",tooltipLabel:"Github登陆"},{icon:"google",key:"google",tooltipLabel:"Google登陆"},{icon:"twitter",key:"twitter",tooltipLabel:"Twitter登陆"}],handleSSOSigningClick:n=>{window.$message.info(`调用${n.tooltipLabel}`)}}},render(){let t;return e(l,{class:"sso-signing",align:"center"},ie(t=this.ssoSigningOptions.map(i=>e(I,{key:i.key},{trigger:()=>e(r,{name:i.icon,size:"24",cursor:"pointer",onClick:this.handleSSOSigningClick.bind(this,i)},null),default:()=>i.tooltipLabel})))?t:{default:()=>[t]})}}),oe=a({name:"ThemeSwitch",setup(){const{darkTheme:t,lightTheme:i}=P(),{getAppTheme:n}=F(),o=p(n.value);return{darkTheme:t,lightTheme:i,getAppTheme:n,railStyle:({checked:u})=>u?{backgroundColor:"#000000"}:{color:"#000000"},modelAppThemeRef:o}},render(){const{$t:t,darkTheme:i,lightTheme:n,railStyle:o}=this;return e(l,{justify:"center"},{default:()=>[e(D,null,{trigger:()=>e(U,{value:this.modelAppThemeRef,"onUpdate:value":s=>this.modelAppThemeRef=s,railStyle:o.bind(this),onUpdateValue:s=>s?i():n()},{"checked-icon":()=>e(r,{name:"dark"},null),"unchecked-icon":()=>e(r,{name:"light"},null),checked:()=>"亮",unchecked:()=>"暗"}),default:()=>this.getAppTheme?t("headerSettingOptions.ThemeOptions.Dark"):t("headerSettingOptions.ThemeOptions.Light")})]})}});var se={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.1"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};function le(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const st=a({name:"RLogin",setup(){const{layout:{copyright:t}}=se,i=_({tabsValue:"signing"}),{height:n,width:o}=Y(),{updateLocale:s}=A();return{...j(i),windowHeight:n,updateLocale:s,copyright:t,windowWidth:o}},render(){let t;const{$t:i}=this;return e("div",{class:["login"],style:[`height: ${this.windowHeight}px`,`--login-height: ${this.windowHeight}px`]},[e("div",{class:["login-wrapper",this.windowWidth>=1440?"login-wrapper--divider":""]},[e("div",{class:["login-wrapper__content"]},[e(l,{align:"center",class:"login-title__wrapper"},{default:()=>[e(r,{name:"ray",size:"48"},null),e(b,{class:"login-title",type:"info",size:28},{default:()=>[d("Ray Template")]})]}),e(l,{align:"center",class:"login-action__wrapper"},{default:()=>[e(oe,null,null),e(E,{options:$,onSelect:n=>this.updateLocale(n),trigger:"click"},{default:()=>[e(r,{customClassName:"login-icon",name:"language",size:"18",cursor:"pointer"},null)]})]}),e(Q,{cols:"s:1 m:1 l:2 xl:2 2xl:2",itemResponsive:!1,responsive:"screen"},{default:()=>[e(k,{span:"s:0 m:0 l:1 xl:1 2xl:1",class:"login__left-wrapper"},{default:()=>[e(l,{align:"center",vertical:!0},{default:()=>[e(r,{name:"login_bg",width:"368",height:"368"},null),e(b,{class:"login-title",type:"info",size:36},le(t=i("views.login.index.RayTemplate"))?t:{default:()=>[t]})]})]}),e(k,{span:1,class:"login__right-wrapper"},{default:()=>[e(H,{class:"login__right-wrapper__content",embedded:!0,bordered:!1},{default:()=>[e(K,{value:this.tabsValue,"onUpdate:value":n=>this.tabsValue=n,type:"line",animated:!0,size:"large"},{default:()=>e(W,null,[e(c,{tab:i("views.login.index.Signing"),name:"signing"},{default:()=>[e(Z,null,null)]}),e(c,{tab:i("views.login.index.Register"),name:"register"},{default:()=>[e(ee,null,null)]}),e(c,{tab:i("views.login.index.QRCodeSigning"),name:"qrcodeSigning"},{default:()=>[e(te,null,null)]})])}),e(x,null,{default:()=>[d("其他登陆方式")]}),e(ne,null,null),e(x,null,{default:()=>[d("友情链接")]}),e(J,null,null)]})]})]}),e(l,{align:"center",justify:"center",class:"login-copyright__wrapper"},{default:()=>[this.copyright]})])])])}});export{st as default};
diff --git a/js/index-DrOZrx4m.js.gz b/js/index-DrOZrx4m.js.gz
new file mode 100644
index 00000000..7dfbc91f
Binary files /dev/null and b/js/index-DrOZrx4m.js.gz differ
diff --git a/js/index-BVEffTQQ.js b/js/index-Dy43M56X.js
similarity index 91%
rename from js/index-BVEffTQQ.js
rename to js/index-Dy43M56X.js
index cfeafa09..8409cdae 100644
--- a/js/index-BVEffTQQ.js
+++ b/js/index-Dy43M56X.js
@@ -1 +1 @@
-import{l as f,b as u,I as e,O as t,W as l}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{N as i,c as a,ae as n,v as s,O as r,L as B,af as p,R as d,J as E,q as m,K as h}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{e as v,k as A,x as b}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const K=f({name:"RDirective",setup(){const F=v({copyValueOne:"我是待复制内容区域一",copyValueTwo:"我是待复制内容区域二",throttleBtnClickCount:0,debounceBtnClickCount:0,disabledValue:!1}),C=A(2),o=c=>{F[c]++};return{...b(F),updateDemoValue:o,ellipsisLineClamp:C}},render(){return u(a,null,{default:()=>[u(i,{title:"指令"},{default:()=>[e("该页面展示如何使用已封装好的指令")]}),u(i,{title:"水波纹"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(n,{title:"modifiers",type:"info"},{default:()=>[e("你可以手动显示的声明水波纹效果,默认为 circle。你可以手动的声明为 center。")]}),u(n,{title:"vue template",type:"success"},{default:()=>[e('"v-ripple.center" 或者 "v-ripple.circle"。')]}),u(n,{title:"tsx",type:"success"},{default:()=>[JSON.stringify("v-ripple={[true, ['center']]}"),e(" 或者"),JSON.stringify("v-ripple={[true, ['circle']]}"),e("。")]}),u(a,null,{default:()=>[t(u(s,{type:"success",size:"large"},{default:()=>[e("水波纹效果的Tag")]}),[[l("ripple")]]),t(u(s,{type:"warning",size:"large"},{default:()=>[e("水波纹效果的Tag")]}),[[l("ripple")]]),t(u(s,{type:"error",size:"large"},{default:()=>[e("水波纹效果的Tag")]}),[[l("ripple")]]),t(u(r,{type:"info"},{default:()=>[e("水波纹效果的Button")]}),[[l("ripple")]]),t(u("div",{style:"height: 20px; line-height: 20px;text-align: center; border: 1px solid; padding: 6px;"},[e("原生元素绑定水波纹效果,并且手动绑定 modifiers 为 center")]),[[l("ripple"),!0,void 0,{center:!0}]])]})]})]}),u(i,{title:"文本省略"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(i,{title:"单行省略"},{default:()=>[t(u("div",null,[e("我是一段很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的文本。")]),[[l("ellipsis"),{type:"block",width:"100px"}]])]}),u(i,{title:"多行省略"},{default:()=>[u(a,{vertical:!0,size:"large"},{default:()=>[u(n,{title:"注意",type:"warning"},{default:()=>[e("该方法基于非标准属性实现(-webkit-line-clamp),可能会有兼容性问题,所以请谨慎使用。 详情参考:"),u("a",{href:"https://caniuse.com/?search=line-clamp"},[e("can i use")])]}),t(u("div",null,[e("我是一段很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的文本。")]),[[l("ellipsis"),{type:"line",width:"100px",line:this.ellipsisLineClamp}]]),u(B,{value:this.ellipsisLineClamp,"onUpdate:value":F=>this.ellipsisLineClamp=F,min:1},null)]})]})]})]}),u(i,{title:"文本复制示例一"},{default:()=>[u(p,null,{default:()=>[u(d,{value:this.copyValueOne,"onUpdate:value":F=>this.copyValueOne=F},null),t(u(r,null,{default:()=>[e("复制")]}),[[l("copy"),this.copyValueOne]])]})]}),u(i,{title:"文本复制示例二"},{default:()=>[u(p,null,{default:()=>[u(d,{value:this.copyValueTwo,"onUpdate:value":F=>this.copyValueTwo=F},null),t(u(r,null,{default:()=>[e("复制")]}),[[l("copy"),this.copyValueTwo]])]})]}),u(i,{title:"节流"},{default:()=>[u(a,{vertical:!0},{default:()=>[t(u(r,null,{default:()=>[e("点击执行")]}),[[l("throttle"),{func:this.updateDemoValue.bind(null,"throttleBtnClickCount"),trigger:"click",wait:3e3,options:{}}]]),u("p",null,[e("我执行了"),this.throttleBtnClickCount,e("次")]),u("p",null,[e("该方法 3s 内仅会执行一次")])]})]}),u(i,{title:"防抖"},{default:()=>[u(a,{vertical:!0},{default:()=>[t(u(r,null,{default:()=>[e("点击执行")]}),[[l("debounce"),{func:this.updateDemoValue.bind(null,"debounceBtnClickCount"),trigger:"click",wait:3e3,options:{}}]]),u("p",null,[e("我执行了"),this.debounceBtnClickCount,e("次")]),u("p",null,[e("该方法将延迟 3s 执行")])]})]}),u(i,{title:"禁用"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(E,{value:this.disabledValue,"onUpdate:value":F=>this.disabledValue=F},{checked:()=>"取消",unchecked:()=>"禁用"}),u(i,{title:"描述"},{default:()=>[u("p",null,[e("该指令会强制禁用(通过 css 层面)禁用元素交互。但是 naive ui 组件提供了完整的 disabled 属性,所以在组件库有禁用需求时,直接调用组件库 disabled 属性即可。但是值得注意的是,该指令优先级最高,会覆盖组件 disabled 属性。")])]}),u(i,{title:"原生表单"},{default:()=>[t(u("form",null,[u("input",{type:"text",placeholder:"请输入"},null),u("button",null,[e("提交")])]),[[l("disabled"),this.disabledValue]])]}),u(i,{title:"文本内容"},{default:()=>[u(a,{vertical:!0},{default:()=>[t(u("p",null,[e("我是可以被禁用的文本内容")]),[[l("disabled"),this.disabledValue]])]})]}),u(i,{title:"naive 组件"},{default:()=>[u(a,{vertical:!0,justify:"start"},{default:()=>[t(u(m,null,{default:()=>[u(h,null,{default:()=>[u(d,null,null)]})]}),[[l("disabled"),this.disabledValue]]),t(u(r,null,{default:()=>[e("按钮")]}),[[l("disabled"),this.disabledValue]]),t(u(E,null,null),[[l("disabled"),this.disabledValue]])]})]})]})]})]})}});export{K as default};
+import{l as f,b as u,I as e,N as t,V as l}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{N as i,c as a,ae as n,v as s,P as r,M as B,af as p,T as d,K as E,q as m,L as h}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{e as v,k as A,x as b}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const K=f({name:"RDirective",setup(){const F=v({copyValueOne:"我是待复制内容区域一",copyValueTwo:"我是待复制内容区域二",throttleBtnClickCount:0,debounceBtnClickCount:0,disabledValue:!1}),C=A(2),o=c=>{F[c]++};return{...b(F),updateDemoValue:o,ellipsisLineClamp:C}},render(){return u(a,null,{default:()=>[u(i,{title:"指令"},{default:()=>[e("该页面展示如何使用已封装好的指令")]}),u(i,{title:"水波纹"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(n,{title:"modifiers",type:"info"},{default:()=>[e("你可以手动显示的声明水波纹效果,默认为 circle。你可以手动的声明为 center。")]}),u(n,{title:"vue template",type:"success"},{default:()=>[e('"v-ripple.center" 或者 "v-ripple.circle"。')]}),u(n,{title:"tsx",type:"success"},{default:()=>[JSON.stringify("v-ripple={[true, ['center']]}"),e(" 或者"),JSON.stringify("v-ripple={[true, ['circle']]}"),e("。")]}),u(a,null,{default:()=>[t(u(s,{type:"success",size:"large"},{default:()=>[e("水波纹效果的Tag")]}),[[l("ripple")]]),t(u(s,{type:"warning",size:"large"},{default:()=>[e("水波纹效果的Tag")]}),[[l("ripple")]]),t(u(s,{type:"error",size:"large"},{default:()=>[e("水波纹效果的Tag")]}),[[l("ripple")]]),t(u(r,{type:"info"},{default:()=>[e("水波纹效果的Button")]}),[[l("ripple")]]),t(u("div",{style:"height: 20px; line-height: 20px;text-align: center; border: 1px solid; padding: 6px;"},[e("原生元素绑定水波纹效果,并且手动绑定 modifiers 为 center")]),[[l("ripple"),!0,void 0,{center:!0}]])]})]})]}),u(i,{title:"文本省略"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(i,{title:"单行省略"},{default:()=>[t(u("div",null,[e("我是一段很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的文本。")]),[[l("ellipsis"),{type:"block",width:"100px"}]])]}),u(i,{title:"多行省略"},{default:()=>[u(a,{vertical:!0,size:"large"},{default:()=>[u(n,{title:"注意",type:"warning"},{default:()=>[e("该方法基于非标准属性实现(-webkit-line-clamp),可能会有兼容性问题,所以请谨慎使用。 详情参考:"),u("a",{href:"https://caniuse.com/?search=line-clamp"},[e("can i use")])]}),t(u("div",null,[e("我是一段很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的文本。")]),[[l("ellipsis"),{type:"line",width:"100px",line:this.ellipsisLineClamp}]]),u(B,{value:this.ellipsisLineClamp,"onUpdate:value":F=>this.ellipsisLineClamp=F,min:1},null)]})]})]})]}),u(i,{title:"文本复制示例一"},{default:()=>[u(p,null,{default:()=>[u(d,{value:this.copyValueOne,"onUpdate:value":F=>this.copyValueOne=F},null),t(u(r,null,{default:()=>[e("复制")]}),[[l("copy"),this.copyValueOne]])]})]}),u(i,{title:"文本复制示例二"},{default:()=>[u(p,null,{default:()=>[u(d,{value:this.copyValueTwo,"onUpdate:value":F=>this.copyValueTwo=F},null),t(u(r,null,{default:()=>[e("复制")]}),[[l("copy"),this.copyValueTwo]])]})]}),u(i,{title:"节流"},{default:()=>[u(a,{vertical:!0},{default:()=>[t(u(r,null,{default:()=>[e("点击执行")]}),[[l("throttle"),{func:this.updateDemoValue.bind(null,"throttleBtnClickCount"),trigger:"click",wait:3e3,options:{}}]]),u("p",null,[e("我执行了"),this.throttleBtnClickCount,e("次")]),u("p",null,[e("该方法 3s 内仅会执行一次")])]})]}),u(i,{title:"防抖"},{default:()=>[u(a,{vertical:!0},{default:()=>[t(u(r,null,{default:()=>[e("点击执行")]}),[[l("debounce"),{func:this.updateDemoValue.bind(null,"debounceBtnClickCount"),trigger:"click",wait:3e3,options:{}}]]),u("p",null,[e("我执行了"),this.debounceBtnClickCount,e("次")]),u("p",null,[e("该方法将延迟 3s 执行")])]})]}),u(i,{title:"禁用"},{default:()=>[u(a,{vertical:!0},{default:()=>[u(E,{value:this.disabledValue,"onUpdate:value":F=>this.disabledValue=F},{checked:()=>"取消",unchecked:()=>"禁用"}),u(i,{title:"描述"},{default:()=>[u("p",null,[e("该指令会强制禁用(通过 css 层面)禁用元素交互。但是 naive ui 组件提供了完整的 disabled 属性,所以在组件库有禁用需求时,直接调用组件库 disabled 属性即可。但是值得注意的是,该指令优先级最高,会覆盖组件 disabled 属性。")])]}),u(i,{title:"原生表单"},{default:()=>[t(u("form",null,[u("input",{type:"text",placeholder:"请输入"},null),u("button",null,[e("提交")])]),[[l("disabled"),this.disabledValue]])]}),u(i,{title:"文本内容"},{default:()=>[u(a,{vertical:!0},{default:()=>[t(u("p",null,[e("我是可以被禁用的文本内容")]),[[l("disabled"),this.disabledValue]])]})]}),u(i,{title:"naive 组件"},{default:()=>[u(a,{vertical:!0,justify:"start"},{default:()=>[t(u(m,null,{default:()=>[u(h,null,{default:()=>[u(d,null,null)]})]}),[[l("disabled"),this.disabledValue]]),t(u(r,null,{default:()=>[e("按钮")]}),[[l("disabled"),this.disabledValue]]),t(u(E,null,null),[[l("disabled"),this.disabledValue]])]})]})]})]})]})}});export{K as default};
diff --git a/js/index-Dy43M56X.js.gz b/js/index-Dy43M56X.js.gz
new file mode 100644
index 00000000..e8aa0d0d
Binary files /dev/null and b/js/index-Dy43M56X.js.gz differ
diff --git a/js/index-DylPkErZ.js.gz b/js/index-DylPkErZ.js.gz
deleted file mode 100644
index 2cec555e..00000000
Binary files a/js/index-DylPkErZ.js.gz and /dev/null differ
diff --git a/js/index-uuI03sjC.js b/js/index-Dyp40qYu.js
similarity index 53%
rename from js/index-uuI03sjC.js
rename to js/index-Dyp40qYu.js
index da4fb7a8..9c83bd41 100644
--- a/js/index-uuI03sjC.js
+++ b/js/index-Dyp40qYu.js
@@ -1 +1 @@
-import{l as r,b as o,I as e}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as i}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{R as p}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const v=r({name:"MultiMenuOne",setup(){return{inputValue:i(null)}},render(){return o("div",null,[e("多级菜单-1"),o(p,{modelValue:this.inputValue,"onUpdate:modelValue":t=>this.inputValue=t},null)])}});export{v as default};
+import{l as r,b as o,I as e}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as i}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{T as p}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const k=r({name:"MultiMenuOne",setup(){return{inputValue:i(null)}},render(){return o("div",null,[e("多级菜单-1"),o(p,{modelValue:this.inputValue,"onUpdate:modelValue":t=>this.inputValue=t},null)])}});export{k as default};
diff --git a/js/index-Dyp40qYu.js.gz b/js/index-Dyp40qYu.js.gz
new file mode 100644
index 00000000..f4e2119e
Binary files /dev/null and b/js/index-Dyp40qYu.js.gz differ
diff --git a/js/index-ClDV5dL8.js b/js/index-IVPegtuP.js
similarity index 85%
rename from js/index-ClDV5dL8.js
rename to js/index-IVPegtuP.js
index a69caf3a..c6e09531 100644
--- a/js/index-ClDV5dL8.js
+++ b/js/index-IVPegtuP.js
@@ -1 +1 @@
-import{C as r,E as A}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{N as u,c as m,O as i,J as C}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as O,b as t,I as e}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as g,e as L,x as V}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const St=O({name:"REchart",setup(){const[n,{getChartInstance:f,dispose:l,render:d,isDisposed:p}]=A(),[c,{getChartInstance:s,dispose:F,render:y,isDisposed:B}]=A(),b=g(!1),E=g(!1),o=L({loading:!1,loading1:!1}),D={legend:{},tooltip:{},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{name:"日期",data:[120,200,150,80,70,110,130],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}},{name:"数量",data:[12,220,250,180,20,10,190],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}}]},k={title:{text:"Referer of a Website",subtext:"Fake Data",left:"center"},tooltip:{trigger:"item"},legend:{orient:"vertical",left:"left"},series:[{name:"Access From",type:"pie",radius:"50%",data:[{value:1048,name:"Search Engine"},{value:735,name:"Direct"},{value:580,name:"Email"},{value:484,name:"Union Ads"},{value:300,name:"Video Ads"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},h=g({tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{data:["Email","Union Ads","Video Ads","Direct","Search Engine"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],yAxis:[{type:"value"}],series:[{name:"Email",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[120,132,101,134,90,230,210]},{name:"Union Ads",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[220,182,191,234,290,330,310]},{name:"Video Ads",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[150,232,201,154,190,330,410]},{name:"Direct",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[320,332,301,334,390,330,320]},{name:"Search Engine",type:"line",stack:"Total",label:{show:!0,position:"top"},areaStyle:{},emphasis:{focus:"series"},data:[820,932,901,934,1290,1330,1320]}]}),v=a=>{o.loading=a},w=a=>{E.value=a},S=()=>{p()?d():window.$message.warning("图表已渲染~")},x=()=>{l()},T=()=>{o.loading1=!0;const a=()=>Math.floor((Math.random()+1)*100);setTimeout(()=>{h.value.series[0].data=new Array(7).fill(0).map(()=>a()),h.value.series[1].data=new Array(7).fill(0).map(()=>a()),o.loading1=!1},1e3)};return{baseOptions:D,chartLoading:b,handleLoadingShow:v,chartAria:E,handleAriaShow:w,basePieOptions:k,baseLineOptions:h,...V(o),mountChart:S,unmountChart:x,updateChartOptions:T,register:n,register2:c,dispose2:F,render2:y,isDisposed2:B}},render(){const{register:n,register2:f,dispose2:l,render2:d,isDisposed2:p,loading1:c}=this;return t("div",{class:"echart"},[t(u,{title:"chart 组件"},{default:()=>[t("h3",null,[e("该组件基于 ECharts, Vueuse 封装。默认做了最佳的优化封装实践。")]),t("h3",null,[e("开箱即用的优化策略:节流更新图表、异步渲染、自动销毁、贴花、加载、主题、视窗区域渲染、自动更新尺寸等高级特性。")])]}),t(u,{title:"预设 card 风格图表"},{default:()=>[t(m,{style:["padding: 18px 0"]},{default:()=>[t(i,{onClick:this.mountChart.bind(this)},{default:()=>[e("渲染")]}),t(i,{onClick:this.unmountChart.bind(this)},{default:()=>[e("卸载")]}),t(i,{onClick:this.updateChartOptions.bind(this)},{default:()=>[e("更新配置项")]}),t(i,{onClick:()=>{this.loading1=!this.loading1}},{default:()=>[`${this.loading1?"关闭":"开启"}`,e("加载动画")]})]}),t("div",{class:"chart--container"},[t(r,{onRegister:n,title:"周销售量",autoChangeTheme:!0,options:this.baseLineOptions,showAria:this.chartAria,preset:"card",loading:c},null)])]}),t(u,{title:"不跟随主题切换的暗色主题可视化图,并且手动指定原始主题色"},{default:()=>[t(m,{vertical:!0},{default:()=>[t(m,null,{default:()=>[t(i,{onClick:()=>{p()?d():window.$message.warning("不可以重复渲染图表~")}},{default:()=>[e("渲染")]}),t(i,{onClick:l.bind(this)},{default:()=>[e("卸载")]})]}),t("div",{class:"chart--container"},[t(r,{onRegister:f,autoChangeTheme:!1,theme:"default",options:this.baseOptions},null)])]})]}),t(u,{title:"加载动画"},{default:()=>[t(C,{value:this.chartLoading,"onUpdate:value":s=>this.chartLoading=s,onUpdateValue:this.handleLoadingShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏加载动画",unchecked:()=>"显示加载动画"}),t("div",{class:"chart--container"},[t(r,{loading:this.loading,options:this.baseOptions},null)])]}),t(u,{title:"贴画可视化图"},{default:()=>[t(C,{value:this.chartAria,"onUpdate:value":s=>this.chartAria=s,onUpdateValue:this.handleAriaShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏贴花",unchecked:()=>"显示贴花"}),t("div",{class:"chart--container"},[t(r,{options:this.baseOptions,showAria:this.chartAria},null)])]})])}});export{St as default};
+import{C as r,E as A}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{N as u,c as m,P as i,K as C}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as O,b as t,I as e}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as g,e as L,x as V}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const St=O({name:"REchart",setup(){const[n,{getChartInstance:f,dispose:l,render:d,isDisposed:p}]=A(),[c,{getChartInstance:s,dispose:F,render:y,isDisposed:B}]=A(),b=g(!1),E=g(!1),o=L({loading:!1,loading1:!1}),D={legend:{},tooltip:{},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{name:"日期",data:[120,200,150,80,70,110,130],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}},{name:"数量",data:[12,220,250,180,20,10,190],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}}]},k={title:{text:"Referer of a Website",subtext:"Fake Data",left:"center"},tooltip:{trigger:"item"},legend:{orient:"vertical",left:"left"},series:[{name:"Access From",type:"pie",radius:"50%",data:[{value:1048,name:"Search Engine"},{value:735,name:"Direct"},{value:580,name:"Email"},{value:484,name:"Union Ads"},{value:300,name:"Video Ads"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},h=g({tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{data:["Email","Union Ads","Video Ads","Direct","Search Engine"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],yAxis:[{type:"value"}],series:[{name:"Email",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[120,132,101,134,90,230,210]},{name:"Union Ads",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[220,182,191,234,290,330,310]},{name:"Video Ads",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[150,232,201,154,190,330,410]},{name:"Direct",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[320,332,301,334,390,330,320]},{name:"Search Engine",type:"line",stack:"Total",label:{show:!0,position:"top"},areaStyle:{},emphasis:{focus:"series"},data:[820,932,901,934,1290,1330,1320]}]}),v=a=>{o.loading=a},w=a=>{E.value=a},S=()=>{p()?d():window.$message.warning("图表已渲染~")},x=()=>{l()},T=()=>{o.loading1=!0;const a=()=>Math.floor((Math.random()+1)*100);setTimeout(()=>{h.value.series[0].data=new Array(7).fill(0).map(()=>a()),h.value.series[1].data=new Array(7).fill(0).map(()=>a()),o.loading1=!1},1e3)};return{baseOptions:D,chartLoading:b,handleLoadingShow:v,chartAria:E,handleAriaShow:w,basePieOptions:k,baseLineOptions:h,...V(o),mountChart:S,unmountChart:x,updateChartOptions:T,register:n,register2:c,dispose2:F,render2:y,isDisposed2:B}},render(){const{register:n,register2:f,dispose2:l,render2:d,isDisposed2:p,loading1:c}=this;return t("div",{class:"echart"},[t(u,{title:"chart 组件"},{default:()=>[t("h3",null,[e("该组件基于 ECharts, Vueuse 封装。默认做了最佳的优化封装实践。")]),t("h3",null,[e("开箱即用的优化策略:节流更新图表、异步渲染、自动销毁、贴花、加载、主题、视窗区域渲染、自动更新尺寸等高级特性。")])]}),t(u,{title:"预设 card 风格图表"},{default:()=>[t(m,{style:["padding: 18px 0"]},{default:()=>[t(i,{onClick:this.mountChart.bind(this)},{default:()=>[e("渲染")]}),t(i,{onClick:this.unmountChart.bind(this)},{default:()=>[e("卸载")]}),t(i,{onClick:this.updateChartOptions.bind(this)},{default:()=>[e("更新配置项")]}),t(i,{onClick:()=>{this.loading1=!this.loading1}},{default:()=>[`${this.loading1?"关闭":"开启"}`,e("加载动画")]})]}),t("div",{class:"chart--container"},[t(r,{onRegister:n,title:"周销售量",autoChangeTheme:!0,options:this.baseLineOptions,showAria:this.chartAria,preset:"card",loading:c},null)])]}),t(u,{title:"不跟随主题切换的暗色主题可视化图,并且手动指定原始主题色"},{default:()=>[t(m,{vertical:!0},{default:()=>[t(m,null,{default:()=>[t(i,{onClick:()=>{p()?d():window.$message.warning("不可以重复渲染图表~")}},{default:()=>[e("渲染")]}),t(i,{onClick:l.bind(this)},{default:()=>[e("卸载")]})]}),t("div",{class:"chart--container"},[t(r,{onRegister:f,autoChangeTheme:!1,theme:"default",options:this.baseOptions},null)])]})]}),t(u,{title:"加载动画"},{default:()=>[t(C,{value:this.chartLoading,"onUpdate:value":s=>this.chartLoading=s,onUpdateValue:this.handleLoadingShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏加载动画",unchecked:()=>"显示加载动画"}),t("div",{class:"chart--container"},[t(r,{loading:this.loading,options:this.baseOptions},null)])]}),t(u,{title:"贴画可视化图"},{default:()=>[t(C,{value:this.chartAria,"onUpdate:value":s=>this.chartAria=s,onUpdateValue:this.handleAriaShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏贴花",unchecked:()=>"显示贴花"}),t("div",{class:"chart--container"},[t(r,{options:this.baseOptions,showAria:this.chartAria},null)])]})])}});export{St as default};
diff --git a/js/index-IVPegtuP.js.gz b/js/index-IVPegtuP.js.gz
new file mode 100644
index 00000000..04a20e3c
Binary files /dev/null and b/js/index-IVPegtuP.js.gz differ
diff --git a/js/index-Cbnk5Zj2.js b/js/index-JALWQc45.js
similarity index 79%
rename from js/index-Cbnk5Zj2.js
rename to js/index-JALWQc45.js
index 5c5089bb..e6ce7c05 100644
--- a/js/index-Cbnk5Zj2.js
+++ b/js/index-JALWQc45.js
@@ -1 +1 @@
-import{Q as t}from"./vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js";import{L as l}from"./ray-dCjhX_JK.js";import{N as r,c as e,O as d}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as n,b as u,I as o}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as i}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const S=n({name:"RQRCodeDemo",setup(){const a=i("ray template yes"),m=i(),s=i();return{qrcodeText:a,qrcodeStatus:m,rayQRCodeRef:s}},render(){return u(e,null,{default:()=>[u(r,null,{default:()=>[u("h2",null,[o("基于 awesome-qr 进行封装,支持 LOGO、gif、backgroundImage 等属性。")]),u("h2",null,[o("该组件会自动监听文本内容变化,然后重新渲染(watchText)")]),u("h2",null,[o("具体使用请参考 props 配置项")])]}),u(r,{title:"基础二维码"},{default:()=>[u(e,null,{default:()=>[u(t,{text:"ray template yes"},null),u(t,{text:"ray template yes",logoImage:l},null),u(t,{text:"ray template yes",gifBackgroundURL:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80",dotScale:.5,colorDark:"#64d9d6"},null)]})]}),u(r,{title:"状态二维码"},{default:()=>[u(e,null,{default:()=>[u(t,{text:"ray template yes",logoImage:l,status:"error",onReload:()=>{window.$message.info("reload event")}},null),u(t,{text:"ray template yes",logoImage:l,status:"loading"},null)]})]}),u(r,{title:"监听内容变化"},{default:()=>[u(e,{vertical:!0},{default:()=>[u(e,null,{default:()=>[u(d,{onClick:()=>{this.qrcodeStatus="loading",setTimeout(()=>{this.qrcodeText="text updated: "+new Date().getTime(),this.qrcodeStatus=void 0},1e3)}},{default:()=>[o("更新二维码内容")]}),u(d,{onClick:()=>{var a;(a=this.rayQRCodeRef)==null||a.downloadQRCode()}},{default:()=>[o("下载二维码")]})]}),u(e,null,{default:()=>[u(t,{text:this.qrcodeText,status:this.qrcodeStatus,logoImage:l,ref:"rayQRCodeRef"},null),o("当前二维码内容:"),this.qrcodeText]})]})]})]})}});export{S as default};
+import{Q as t}from"./vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js";import{L as l}from"./ray-dCjhX_JK.js";import{N as r,c as e,P as d}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as n,b as u,I as o}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as i}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const b=n({name:"RQRCodeDemo",setup(){const a=i("ray template yes"),m=i(),s=i();return{qrcodeText:a,qrcodeStatus:m,rayQRCodeRef:s}},render(){return u(e,null,{default:()=>[u(r,null,{default:()=>[u("h2",null,[o("基于 awesome-qr 进行封装,支持 LOGO、gif、backgroundImage 等属性。")]),u("h2",null,[o("该组件会自动监听文本内容变化,然后重新渲染(watchText)")]),u("h2",null,[o("具体使用请参考 props 配置项")])]}),u(r,{title:"基础二维码"},{default:()=>[u(e,null,{default:()=>[u(t,{text:"ray template yes"},null),u(t,{text:"ray template yes",logoImage:l},null),u(t,{text:"ray template yes",gifBackgroundURL:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80",dotScale:.5,colorDark:"#64d9d6"},null)]})]}),u(r,{title:"状态二维码"},{default:()=>[u(e,null,{default:()=>[u(t,{text:"ray template yes",logoImage:l,status:"error",onReload:()=>{window.$message.info("reload event")}},null),u(t,{text:"ray template yes",logoImage:l,status:"loading"},null)]})]}),u(r,{title:"监听内容变化"},{default:()=>[u(e,{vertical:!0},{default:()=>[u(e,null,{default:()=>[u(d,{onClick:()=>{this.qrcodeStatus="loading",setTimeout(()=>{this.qrcodeText="text updated: "+new Date().getTime(),this.qrcodeStatus=void 0},1e3)}},{default:()=>[o("更新二维码内容")]}),u(d,{onClick:()=>{var a;(a=this.rayQRCodeRef)==null||a.downloadQRCode()}},{default:()=>[o("下载二维码")]})]}),u(e,null,{default:()=>[u(t,{text:this.qrcodeText,status:this.qrcodeStatus,logoImage:l,ref:"rayQRCodeRef"},null),o("当前二维码内容:"),this.qrcodeText]})]})]})]})}});export{b as default};
diff --git a/js/index-JALWQc45.js.gz b/js/index-JALWQc45.js.gz
new file mode 100644
index 00000000..9542e174
Binary files /dev/null and b/js/index-JALWQc45.js.gz differ
diff --git a/js/index-0FDXYZQ5.js b/js/index-LYjmBIt_.js
similarity index 84%
rename from js/index-0FDXYZQ5.js
rename to js/index-LYjmBIt_.js
index d9729733..47ead83e 100644
--- a/js/index-0FDXYZQ5.js
+++ b/js/index-LYjmBIt_.js
@@ -1 +1 @@
-import{t as d,N as o}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as h,b as u,I as t}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as m}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{ae as F,N as i,a as b,b as l,c as B,aj as f,ak as a}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const fu=h({name:"SegmentDemo",setup(){const s=[{label:"这是一",key:"this is one"},{label:"这是二",key:"this is two"},{label:"这是三",key:"this is three"}],n=[...s,{label:"这是四",key:"this is four",slots:{default:()=>"我是自定义"}}],p=[...s,{label:"不许点",key:"disabled option",disabled:!0},{label:"popover",key:"popover",popover:"我是 popover"},{label:"popover options",key:"popover options",popover:{label:"我是配置项的 popover"}}],r=[{label:"设置",key:"setting",icon:u(d,{name:"setting"},null)},{label:"刷新",key:"reload",icon:u(d,{name:"reload"},null)},{label:"搜索",key:"search",icon:u(d,{name:"search"},null),popover:"我是搜索"}],E=m("this is three"),e=m("medium"),C=m("block");return{baseOptions:s,options:n,segmentValueOne:E,segmentChange:A=>{window.$message.info(String(A))},size:e,width:C,disabledOptions:p,iconOptions:r}},render(){const{options:s,baseOptions:n,disabledOptions:p,iconOptions:r}=this,{segmentChange:E}=this;return u(B,{vertical:!0},{default:()=>[u(F,{title:"警告⚠️",type:"warning"},{default:()=>[t("n-tabs 默认情况下会从 slot 获取默认展示的 tab 值,因此会产生一个 vue slot 的 warning。如果你不想看到这个 warning,请设定一个 default-value。")]}),u(F,{title:"已知问题",type:"warning"},{default:()=>[t("由于 NTabs 设计缘故,手动设置 width 为 fitContent 后,配置了 disabled, popover 的配置项,会丢失过度效果。具体可以看下面的例子。"),u("br",null,null),t("解决方法,在该组件外层包一层 div,设置宽度,但是不能为 fit-content。")]}),u(i,{title:"分段器"},{default:()=>[u("h3",null,[t("该组件基于 NTabs + NTabPane 封装,所以保留了一些该组件的特性。")])]}),u(b,{cols:2,xGap:8,yGap:12},{default:()=>[u(l,{span:1},{default:()=>[u(i,{title:"基础非受控分段器"},{default:()=>[u(o,{defaultValue:"this is two",options:n},null)]})]}),u(l,{span:1},{default:()=>[u(i,{title:"自定义分段器插槽"},{default:()=>[u(o,{defaultValue:this.segmentValueOne,options:s},null)]})]}),u(l,{span:1},{default:()=>[u(i,{title:"updateValue 事件"},{default:()=>[u(o,{value:this.segmentValueOne,"onUpdate:value":e=>this.segmentValueOne=e,defaultValue:"this is two",options:p,onUpdateValue:E.bind(this),width:"block"},null)]})]}),u(l,{span:1},{default:()=>[u(i,{title:"自适应宽度"},{default:()=>[u(o,{defaultValue:"setting",options:r,width:"block"},null)]})]}),u(l,{span:2},{default:()=>[u(i,{title:"尺寸"},{default:()=>[u(B,{vertical:!0,size:"large"},{default:()=>[u(f,{value:this.size,"onUpdate:value":e=>this.size=e},{default:()=>[u(a,{value:"small"},{default:()=>[t("小")]}),u(a,{value:"medium"},{default:()=>[t("不小")]}),u(a,{value:"large"},{default:()=>[t("不太小")]})]}),u(o,{defaultValue:"this is two",options:n,size:this.size,width:"block"},null)]})]})]}),u(l,{span:2},{default:()=>[u(i,{title:"宽度"},{default:()=>[u(B,{vertical:!0,size:"large"},{default:()=>[u(F,{title:"注意",type:"info"},{default:()=>[t("RSegment 组件宽度默认为 fitContent,按照内容自适应宽度;如果需要自适应宽度,请设置 width 为 block;如果需要手动指定宽度请设置一个数字。")]}),u(f,{value:this.width,"onUpdate:value":e=>this.width=e},{default:()=>[u(a,{value:"fitContent"},{default:()=>[t("fitContent")]}),u(a,{value:"block"},{default:()=>[t("block")]}),u(a,{value:800},{default:()=>[t("800")]})]}),u(o,{defaultValue:"this is two",options:p,width:this.width},null)]})]})]})]})]})}});export{fu as default};
+import{t as d,O as o}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as h,b as u,I as t}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as m}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{ae as F,N as i,a as b,b as l,c as B,aj as f,ak as a}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const fu=h({name:"SegmentDemo",setup(){const s=[{label:"这是一",key:"this is one"},{label:"这是二",key:"this is two"},{label:"这是三",key:"this is three"}],n=[...s,{label:"这是四",key:"this is four",slots:{default:()=>"我是自定义"}}],p=[...s,{label:"不许点",key:"disabled option",disabled:!0},{label:"popover",key:"popover",popover:"我是 popover"},{label:"popover options",key:"popover options",popover:{label:"我是配置项的 popover"}}],r=[{label:"设置",key:"setting",icon:u(d,{name:"setting"},null)},{label:"刷新",key:"reload",icon:u(d,{name:"reload"},null)},{label:"搜索",key:"search",icon:u(d,{name:"search"},null),popover:"我是搜索"}],E=m("this is three"),e=m("medium"),C=m("block");return{baseOptions:s,options:n,segmentValueOne:E,segmentChange:A=>{window.$message.info(String(A))},size:e,width:C,disabledOptions:p,iconOptions:r}},render(){const{options:s,baseOptions:n,disabledOptions:p,iconOptions:r}=this,{segmentChange:E}=this;return u(B,{vertical:!0},{default:()=>[u(F,{title:"警告⚠️",type:"warning"},{default:()=>[t("n-tabs 默认情况下会从 slot 获取默认展示的 tab 值,因此会产生一个 vue slot 的 warning。如果你不想看到这个 warning,请设定一个 default-value。")]}),u(F,{title:"已知问题",type:"warning"},{default:()=>[t("由于 NTabs 设计缘故,手动设置 width 为 fitContent 后,配置了 disabled, popover 的配置项,会丢失过度效果。具体可以看下面的例子。"),u("br",null,null),t("解决方法,在该组件外层包一层 div,设置宽度,但是不能为 fit-content。")]}),u(i,{title:"分段器"},{default:()=>[u("h3",null,[t("该组件基于 NTabs + NTabPane 封装,所以保留了一些该组件的特性。")])]}),u(b,{cols:2,xGap:8,yGap:12},{default:()=>[u(l,{span:1},{default:()=>[u(i,{title:"基础非受控分段器"},{default:()=>[u(o,{defaultValue:"this is two",options:n},null)]})]}),u(l,{span:1},{default:()=>[u(i,{title:"自定义分段器插槽"},{default:()=>[u(o,{defaultValue:this.segmentValueOne,options:s},null)]})]}),u(l,{span:1},{default:()=>[u(i,{title:"updateValue 事件"},{default:()=>[u(o,{value:this.segmentValueOne,"onUpdate:value":e=>this.segmentValueOne=e,defaultValue:"this is two",options:p,onUpdateValue:E.bind(this),width:"block"},null)]})]}),u(l,{span:1},{default:()=>[u(i,{title:"自适应宽度"},{default:()=>[u(o,{defaultValue:"setting",options:r,width:"block"},null)]})]}),u(l,{span:2},{default:()=>[u(i,{title:"尺寸"},{default:()=>[u(B,{vertical:!0,size:"large"},{default:()=>[u(f,{value:this.size,"onUpdate:value":e=>this.size=e},{default:()=>[u(a,{value:"small"},{default:()=>[t("小")]}),u(a,{value:"medium"},{default:()=>[t("不小")]}),u(a,{value:"large"},{default:()=>[t("不太小")]})]}),u(o,{defaultValue:"this is two",options:n,size:this.size,width:"block"},null)]})]})]}),u(l,{span:2},{default:()=>[u(i,{title:"宽度"},{default:()=>[u(B,{vertical:!0,size:"large"},{default:()=>[u(F,{title:"注意",type:"info"},{default:()=>[t("RSegment 组件宽度默认为 fitContent,按照内容自适应宽度;如果需要自适应宽度,请设置 width 为 block;如果需要手动指定宽度请设置一个数字。")]}),u(f,{value:this.width,"onUpdate:value":e=>this.width=e},{default:()=>[u(a,{value:"fitContent"},{default:()=>[t("fitContent")]}),u(a,{value:"block"},{default:()=>[t("block")]}),u(a,{value:800},{default:()=>[t("800")]})]}),u(o,{defaultValue:"this is two",options:p,width:this.width},null)]})]})]})]})]})}});export{fu as default};
diff --git a/js/index-LYjmBIt_.js.gz b/js/index-LYjmBIt_.js.gz
new file mode 100644
index 00000000..e08f7d37
Binary files /dev/null and b/js/index-LYjmBIt_.js.gz differ
diff --git a/js/index-SNi0DadD.js b/js/index-SNi0DadD.js
deleted file mode 100644
index 26121a41..00000000
--- a/js/index-SNi0DadD.js
+++ /dev/null
@@ -1 +0,0 @@
-import{I as C,J as f}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{R as k}from"./props-CsmlPjfV.js";import{a as A}from"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import{s as B}from"./instance-D_ZLBlAV.js";import"./lodash@4.17.21-Cw59kuJw.js";import{N as l,q as y,ah as h,R as D,O as i,c as p}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as R,b as t,I as o,F as b}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{e as w,x as N}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./axios@1.7.5-C8DqakIB.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const P=e=>B({url:"/api/list",method:"get",params:e}),Pt=R({name:"MockDemo",setup(){const e=[{type:"selection",multiple:!0},{title:"id",key:"id"},{title:"邮箱",key:"email"},{title:"地址",key:"address"},{title:"姓名",key:"name"},{title:"年龄",key:"age"},{title:"创建时间",key:"createDate"},{title:"操作",key:"action",render:m=>t(p,{align:"center"},{default:()=>[t(i,{type:"primary",text:!0,onClick:()=>{window.$message.info("查看")}},{default:()=>[o("查看")]}),t(i,{type:"primary",text:!0,onClick:()=>{window.$message.warning("编辑")}},{default:()=>[o("编辑")]}),t(i,{type:"error",text:!0,onClick:()=>{window.$message.error("删除")}},{default:()=>[o("删除")]})]})}],u=w({email:null}),[n,{getPage:r,getPageSize:a,setItemCount:s,getCallback:F,setPage:x,setPageSize:v}]=C(()=>{E({page:r(),pageSize:a(),email:u.email})}),{data:c,loading:d,run:E}=A(P,{defaultParams:[{page:r(),pageSize:a(),email:u.email}],onSuccess:m=>{const{total:g}=m;s(g)}});return{personData:c,personLoading:d,columns:e,...N(u),getCallback:F,paginationRef:n}},render(){return t(p,{vertical:!0},{default:()=>{var e;return[t(l,{title:"Mock 数据"},{default:()=>[t("h2",null,[o("mock 数据使用。但是,并没有启用生产环境的部署,所以生产环境结果为空。")])]}),t(l,{title:"提示"},{default:()=>[t("h2",null,[o("RTable 组件有一个比较值得注意的地方就是,该组件会自动的按照数据量计算分页条数。所以你在异步获取数据的时候,一定要手动设置 remote 属性为 true,并且设置 itemCount 或者 pageCount。")])]}),t(y,{labelPlacement:"left"},{default:()=>[t(k,{cols:3},{default:()=>t(b,null,[t(h,{label:"邮箱"},{default:()=>[t(D,{value:this.email,"onUpdate:value":u=>this.email=u,clearable:!0},null)]})]),action:()=>{var u;return t(i,{type:"primary",onClick:(u=this.getCallback)==null?void 0:u.bind(this)},{default:()=>[o("搜索")]})}})]}),t(f,{title:"Mock数据表格",data:(e=this.personData)==null?void 0:e.data,loading:this.personLoading,columns:this.columns,"onUpdate:columns":u=>this.columns=u,pagination:this.paginationRef,remote:!0,rowKey:u=>u.id},null)]}})}});export{Pt as default};
diff --git a/js/index-SNi0DadD.js.gz b/js/index-SNi0DadD.js.gz
deleted file mode 100644
index 0443d41a..00000000
Binary files a/js/index-SNi0DadD.js.gz and /dev/null differ
diff --git a/js/index-B8sGbhY_.js b/js/index-TI4DwZCx.js
similarity index 63%
rename from js/index-B8sGbhY_.js
rename to js/index-TI4DwZCx.js
index ebc3ec31..afeca830 100644
--- a/js/index-B8sGbhY_.js
+++ b/js/index-TI4DwZCx.js
@@ -1 +1 @@
-import{l as e,b as o,I as r}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as i}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{R as p}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const C=e({name:"MultiMenuTwoOne",setup(){return{inputValue:i(null)}},render(){return o("div",{style:{height:"var(--layout-content-height)"}},[r("多级菜单2-2-1"),o(p,{modelValue:this.inputValue,"onUpdate:modelValue":t=>this.inputValue=t},null)])}});export{C as default};
+import{l as e,b as o,I as r}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as i}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{T as p}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const C=e({name:"MultiMenuTwoOne",setup(){return{inputValue:i(null)}},render(){return o("div",{style:{height:"var(--layout-content-height)"}},[r("多级菜单2-2-1"),o(p,{modelValue:this.inputValue,"onUpdate:modelValue":t=>this.inputValue=t},null)])}});export{C as default};
diff --git a/js/index-TI4DwZCx.js.gz b/js/index-TI4DwZCx.js.gz
new file mode 100644
index 00000000..8f4f1bf0
Binary files /dev/null and b/js/index-TI4DwZCx.js.gz differ
diff --git a/js/index-CA3KC3tr.js b/js/index-ZK2gtRBB.js
similarity index 81%
rename from js/index-CA3KC3tr.js
rename to js/index-ZK2gtRBB.js
index 1939f6fb..88673cfb 100644
--- a/js/index-CA3KC3tr.js
+++ b/js/index-ZK2gtRBB.js
@@ -1 +1 @@
-import{K as m,R as i}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{N as o,c as a,O as r}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as p,b as u,I as t}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{e as s,x as E}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const au=p({name:"ModalDemo",setup(){const l=s({modal1:!1,modal2:!1,modal3:!1}),{create:F}=m(),e=()=>{F({title:"卡片模态框",dad:!0,preset:"card",content:"我可以被拖拽的全屏card模态框",fullscreen:!0})},d=()=>{F({title:"模态框",content:"内容",preset:"dialog",dad:!0})};return{...E(l),createCardModal:e,createDialogModal:d}},render(){const{createCardModal:l,createDialogModal:F}=this;return u(a,{vertical:!0},{default:()=>[u(o,{title:"props"},{default:()=>[u(a,{vertical:!0},{default:()=>[u("h3",null,[t("memoryPosition: 是否记住上一次被拖拽的位置,如果设置为 true,那么下一次打开的时候会自动定位到上一次的位置。")]),u("h3",null,[t("fullscreen: 全屏模态框。")]),u("h3",null,[t("dad: 启用拖拽,当配置为 false 时,会禁用拖拽效果。")])]})]}),u(i,{show:this.modal1,"onUpdate:show":e=>this.modal1=e,title:"全屏模态框",fullscreen:!0,preset:"card"},{default:()=>[t("我是全屏模态框,并且会自动启用滚动条。")]}),u(i,{show:this.modal2,"onUpdate:show":e=>this.modal2=e,preset:"card",title:"可拖拽卡片模态框",dad:!0},{default:()=>[u("p",null,[t("我可以被拖拽")])]}),u(i,{show:this.modal3,"onUpdate:show":e=>this.modal3=e,preset:"dialog",title:"可拖拽卡片模态框",dad:!0},{default:()=>[u("p",null,[t("我可以被拖拽")])]}),u(o,{title:"可拖拽模态框"},{default:()=>[u(r,{onClick:()=>this.modal2=!0},{default:()=>[t("卡片模态框")]}),u(r,{onClick:()=>this.modal3=!0},{default:()=>[t("对话框模态框")]})]}),u(o,{title:"全屏模态框"},{default:()=>[u(a,{vertical:!0},{default:()=>[u("h4",null,[t("全屏模态框需要同时设置:fullscreen 为 true,并且 preset 为 card 时才会生效。")]),u(r,{onClick:()=>this.modal1=!0},{default:()=>[t("打开")]})]})]}),u(o,{title:"手动设置宽度"},{default:()=>[u("h4",null,[t("width(--r-modal-width): 当 preset 不为 dialog 或者 card 的时候,你可能用得上。")]),u("h4",null,[t("dialogWidth(--r-modal-dialog-width): 当 preset 为 dialog,你可能用得上。")]),u("h4",null,[t("cardWidth(--r-modal-card-width): 当 preset 为 card,你可能用得上。")]),u("h4",null,[t("所有的宽度配置属性都会注入一个对应的 `css variable`,有时候会用上。")])]}),u(o,{title:"重写 useModal"},{default:()=>[u(r,{onClick:l.bind(this)},{default:()=>[t("创建卡片模态框")]}),u(r,{onClick:F.bind(this)},{default:()=>[t("创建对话框模态框")]})]})]})}});export{au as default};
+import{N as m,R as i}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{N as o,c as a,P as r}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as p,b as u,I as t}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{e as s,x as E}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const au=p({name:"ModalDemo",setup(){const l=s({modal1:!1,modal2:!1,modal3:!1}),{create:F}=m(),e=()=>{F({title:"卡片模态框",dad:!0,preset:"card",content:"我可以被拖拽的全屏card模态框",fullscreen:!0})},d=()=>{F({title:"模态框",content:"内容",preset:"dialog",dad:!0})};return{...E(l),createCardModal:e,createDialogModal:d}},render(){const{createCardModal:l,createDialogModal:F}=this;return u(a,{vertical:!0},{default:()=>[u(o,{title:"props"},{default:()=>[u(a,{vertical:!0},{default:()=>[u("h3",null,[t("memoryPosition: 是否记住上一次被拖拽的位置,如果设置为 true,那么下一次打开的时候会自动定位到上一次的位置。")]),u("h3",null,[t("fullscreen: 全屏模态框。")]),u("h3",null,[t("dad: 启用拖拽,当配置为 false 时,会禁用拖拽效果。")])]})]}),u(i,{show:this.modal1,"onUpdate:show":e=>this.modal1=e,title:"全屏模态框",fullscreen:!0,preset:"card"},{default:()=>[t("我是全屏模态框,并且会自动启用滚动条。")]}),u(i,{show:this.modal2,"onUpdate:show":e=>this.modal2=e,preset:"card",title:"可拖拽卡片模态框",dad:!0},{default:()=>[u("p",null,[t("我可以被拖拽")])]}),u(i,{show:this.modal3,"onUpdate:show":e=>this.modal3=e,preset:"dialog",title:"可拖拽卡片模态框",dad:!0},{default:()=>[u("p",null,[t("我可以被拖拽")])]}),u(o,{title:"可拖拽模态框"},{default:()=>[u(r,{onClick:()=>this.modal2=!0},{default:()=>[t("卡片模态框")]}),u(r,{onClick:()=>this.modal3=!0},{default:()=>[t("对话框模态框")]})]}),u(o,{title:"全屏模态框"},{default:()=>[u(a,{vertical:!0},{default:()=>[u("h4",null,[t("全屏模态框需要同时设置:fullscreen 为 true,并且 preset 为 card 时才会生效。")]),u(r,{onClick:()=>this.modal1=!0},{default:()=>[t("打开")]})]})]}),u(o,{title:"手动设置宽度"},{default:()=>[u("h4",null,[t("width(--r-modal-width): 当 preset 不为 dialog 或者 card 的时候,你可能用得上。")]),u("h4",null,[t("dialogWidth(--r-modal-dialog-width): 当 preset 为 dialog,你可能用得上。")]),u("h4",null,[t("cardWidth(--r-modal-card-width): 当 preset 为 card,你可能用得上。")]),u("h4",null,[t("所有的宽度配置属性都会注入一个对应的 `css variable`,有时候会用上。")])]}),u(o,{title:"重写 useModal"},{default:()=>[u(r,{onClick:l.bind(this)},{default:()=>[t("创建卡片模态框")]}),u(r,{onClick:F.bind(this)},{default:()=>[t("创建对话框模态框")]})]})]})}});export{au as default};
diff --git a/js/index-ZK2gtRBB.js.gz b/js/index-ZK2gtRBB.js.gz
new file mode 100644
index 00000000..3548e39d
Binary files /dev/null and b/js/index-ZK2gtRBB.js.gz differ
diff --git a/js/index-CGui32_Y.js b/js/index-hU9_Mjki.js
similarity index 80%
rename from js/index-CGui32_Y.js
rename to js/index-hU9_Mjki.js
index 793db95e..12e0e126 100644
--- a/js/index-CGui32_Y.js
+++ b/js/index-hU9_Mjki.js
@@ -1 +1 @@
-import"./hooks-BY0i9Xdx.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{C as F,D as h,E as O,F as C,G as E,H as b}from"./utils-CsGRTM5U.js";import{c as p,N as i,al as o,L as r,Z as D}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as B,b as u,I as s,n as f}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{e as v,x as V}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const bt=B({name:"CalculatePrecision",setup(){const t=v({addOptions:["1","0.2","0.1","1.1"],subtractOptions:["1","0.2","0.1","1.1"],multiplyOptions:["1","0.2","0.1","1.1"],divideOptions:["1","0.2","0.1","1.1"],distributeValue:12,distributeOutputValue:[],distributeLength:3}),a={addOptions:O,subtractOptions:C,multiplyOptions:E,divideOptions:b},n=(l,d)=>{const m=a[d],c=m(...l);return"结果: "+F(c)},e=()=>{f().then(()=>{t.distributeOutputValue=h(t.distributeValue,t.distributeLength)})};return e(),{...V(t),copilotFunc:n,updateDistributeValue:e}},render(){return u(D,null,{default:()=>[u("h2",{style:"margin: 0 0 20px 0"},[s("计算方法,默认都保留八位小数与四舍五入,可以根据 format 方法自行转换")]),u("h3",{style:"margin: 0 0 20px 0"},[s("示例方法都基于 currency.js 封装,利用其精度处理能力封装了常用的一些计算方法,解决精度问题。如果需要其他的方法请阅读官方文档 https://currency.js.org/#subtract")]),u(p,{vertical:!0},{default:()=>[u(i,{title:"加法"},{default:()=>u(o,{value:this.addOptions,"onUpdate:value":t=>this.addOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"addOptions")}},null),footer:()=>this.copilotFunc(this.addOptions,"addOptions")}),u(i,{title:"减法"},{default:()=>u(o,{value:this.subtractOptions,"onUpdate:value":t=>this.subtractOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"subtractOptions")}},null),footer:()=>this.copilotFunc(this.subtractOptions,"subtractOptions")}),u(i,{title:"乘法"},{default:()=>u(o,{value:this.multiplyOptions,"onUpdate:value":t=>this.multiplyOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"multiplyOptions")}},null),footer:()=>this.copilotFunc(this.multiplyOptions,"multiplyOptions")}),u(i,{title:"除法(非取模)"},{default:()=>u(o,{value:this.divideOptions,"onUpdate:value":t=>this.divideOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"divideOptions")}},null),footer:()=>this.copilotFunc(this.divideOptions,"divideOptions")}),u(i,{title:"平分一个值"},{default:()=>u(p,null,{default:()=>[u(r,{value:this.distributeValue,"onUpdate:value":t=>this.distributeValue=t,onUpdateValue:()=>{this.updateDistributeValue()}},null),u(r,{value:this.distributeLength,"onUpdate:value":t=>this.distributeLength=t,onUpdateValue:()=>{this.updateDistributeValue()}},null)]}),footer:()=>"结果: "+this.distributeOutputValue.join(", ")})]})]})}});export{bt as default};
+import"./hooks-DonDO7vb.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{C as F,D as h,E as O,F as C,G as E,H as b}from"./utils-6rpFoFAR.js";import{c as p,N as i,al as o,M as r,_ as D}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as B,b as u,I as s,n as f}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{e as v,x as V}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const bt=B({name:"CalculatePrecision",setup(){const t=v({addOptions:["1","0.2","0.1","1.1"],subtractOptions:["1","0.2","0.1","1.1"],multiplyOptions:["1","0.2","0.1","1.1"],divideOptions:["1","0.2","0.1","1.1"],distributeValue:12,distributeOutputValue:[],distributeLength:3}),a={addOptions:O,subtractOptions:C,multiplyOptions:E,divideOptions:b},n=(l,d)=>{const m=a[d],c=m(...l);return"结果: "+F(c)},e=()=>{f().then(()=>{t.distributeOutputValue=h(t.distributeValue,t.distributeLength)})};return e(),{...V(t),copilotFunc:n,updateDistributeValue:e}},render(){return u(D,null,{default:()=>[u("h2",{style:"margin: 0 0 20px 0"},[s("计算方法,默认都保留八位小数与四舍五入,可以根据 format 方法自行转换")]),u("h3",{style:"margin: 0 0 20px 0"},[s("示例方法都基于 currency.js 封装,利用其精度处理能力封装了常用的一些计算方法,解决精度问题。如果需要其他的方法请阅读官方文档 https://currency.js.org/#subtract")]),u(p,{vertical:!0},{default:()=>[u(i,{title:"加法"},{default:()=>u(o,{value:this.addOptions,"onUpdate:value":t=>this.addOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"addOptions")}},null),footer:()=>this.copilotFunc(this.addOptions,"addOptions")}),u(i,{title:"减法"},{default:()=>u(o,{value:this.subtractOptions,"onUpdate:value":t=>this.subtractOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"subtractOptions")}},null),footer:()=>this.copilotFunc(this.subtractOptions,"subtractOptions")}),u(i,{title:"乘法"},{default:()=>u(o,{value:this.multiplyOptions,"onUpdate:value":t=>this.multiplyOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"multiplyOptions")}},null),footer:()=>this.copilotFunc(this.multiplyOptions,"multiplyOptions")}),u(i,{title:"除法(非取模)"},{default:()=>u(o,{value:this.divideOptions,"onUpdate:value":t=>this.divideOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"divideOptions")}},null),footer:()=>this.copilotFunc(this.divideOptions,"divideOptions")}),u(i,{title:"平分一个值"},{default:()=>u(p,null,{default:()=>[u(r,{value:this.distributeValue,"onUpdate:value":t=>this.distributeValue=t,onUpdateValue:()=>{this.updateDistributeValue()}},null),u(r,{value:this.distributeLength,"onUpdate:value":t=>this.distributeLength=t,onUpdateValue:()=>{this.updateDistributeValue()}},null)]}),footer:()=>"结果: "+this.distributeOutputValue.join(", ")})]})]})}});export{bt as default};
diff --git a/js/index-hU9_Mjki.js.gz b/js/index-hU9_Mjki.js.gz
new file mode 100644
index 00000000..dc9921e3
Binary files /dev/null and b/js/index-hU9_Mjki.js.gz differ
diff --git a/js/index-hsDrsE97.js b/js/index-hsDrsE97.js
new file mode 100644
index 00000000..0d9352d3
--- /dev/null
+++ b/js/index-hsDrsE97.js
@@ -0,0 +1 @@
+import{R as a1}from"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import{e as w,g as s1,M as r1,f as M,h as S,i as x,j as R,k as p1,l as d1,R as E,m as h1,n as u1,D as f1,s as m1,o as v1,p as g1}from"./hooks-DonDO7vb.js";import{d as u}from"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{$ as _1,a0 as b1,a1 as M1,a2 as y1,a3 as w1,a4 as k1,a5 as P,a6 as C1,a7 as Z1,q as $,L as N,T as F,P as k,c as z1,a8 as S1,a9 as x1,e as H1}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import{l as f,j as C,b as n,w as V1,k as P1,n as A1,I as g,v as L1,m as I}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{g as U,c as B1,k as Z,w as z,m as q,s as A,e as L,i as j1}from"./utils-6rpFoFAR.js";import{g as D1,d as T1,t as O1,f as R1}from"./lodash-es@4.17.21-CeZG2a4n.js";import{k as _,e as Y,x as W}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js";import{C as E1}from"./clipboard@2.0.11-DheAgBlr.js";import{u as G}from"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import{c as J}from"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";import"./@vue_shared@3.5.12--5_uv9t5.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const c of a.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function l(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(i){if(i.ep)return;i.ep=!0;const a=l(i);fetch(i.href,a)}})();const $1=f({name:"GlobalProvider",setup(e,{expose:t}){const{getPrimaryColorOverride:l,getAppTheme:o,getLocaleLanguage:i}=w(),a=C(()=>{const s=i.value;return s1(s)}),c=()=>{const{message:s,notification:r,dialog:p,loadingBar:d}=Z1(["message","dialog","notification","loadingBar"],{configProviderProps:C(()=>({theme:o.value?P:null}))});window.$dialog=p,window.$message=s,window.$loadingBar=d,window.$notification=r};return t(),{getPrimaryColorOverride:l,localePackage:a,getAppTheme:o,discreteApi:c}},render(){const{$slots:{default:e},discreteApi:t}=this,{getPrimaryColorOverride:l,getAppTheme:o,localePackage:i}=this;return n(C1,{themeOverrides:l,theme:o?P:null,locale:i.locale,dateLocale:i.dateLocal},{default:()=>[n(_1,null,{default:()=>[n(b1,r1,{default:()=>[n(M1,null,{default:()=>[n(y1,null,{default:()=>[n(w1,null,{default:()=>[n(k1,null,null),e==null?void 0:e(),t()]})]})]})]})]})]})}});var N1={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.1"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const F1=f({name:"AppStyleProvider",setup(e,{expose:t}){const{getAppTheme:l}=w(),o=()=>{const{appPrimaryColor:{primaryColor:c,primaryFadeColor:s}}=N1,r=document.body,p=U(M.appPiniaSettingStore,"localStorage");if(p){const d=D1(p,"primaryColorOverride.common.primaryColor",c),m=B1(d,.38);r.style.setProperty("--ray-theme-primary-color",d),r.style.setProperty("--ray-theme-primary-fade-color",m||s)}},i=()=>{const c=document.getElementById("pre-loading-animation");c&&Z(c,{display:"none"})},a=c=>{const s=document.body,r="ray-template--dark",p="ray-template--light";c?z(s,p):z(s,r),q(s,c?r:p)};o(),i(),V1(()=>l.value,c=>{a(c)},{immediate:!0}),t()},render(){return n("div",{class:"app-style-provider"},null)}}),K={lockPassword:{required:!0,message:"请输入正确格式密码",min:6,max:12,trigger:["input"]}},y=()=>({lockPassword:null}),I1=f({name:"LockScreen",setup(){const e=_(null),t=_(null),{setLockAppScreen:l}=x(),{updateSettingState:o}=S(),i=Y({lockCondition:y()}),a=()=>{var c;(c=e.value)==null||c.validate(s=>{s||(l(!0),o("lockScreenSwitch",!0),i.lockCondition=y())})};return P1(()=>{A1(()=>{var c;(c=t.value)==null||c.focus()})}),{...W(i),lockScreen:a,formInstRef:e,inputInstRef:t}},render(){return n("div",{class:"app-lock-screen__input"},[n($,{ref:"formInstRef",model:this.lockCondition,rules:K,labelPlacement:"left"},{default:()=>[n(N,{path:"lockPassword"},{default:()=>[n(F,{ref:"inputInstRef",value:this.lockCondition.lockPassword,"onUpdate:value":e=>this.lockCondition.lockPassword=e,type:"password",placeholder:"请输入锁屏密码",clearable:!0,showPasswordOn:"click",minlength:6,maxlength:12,onKeydown:e=>{e.code==="Enter"&&this.lockScreen()}},null)]}),n(k,{type:"primary",onClick:this.lockScreen.bind(this)},{default:()=>[g("锁屏")]})]})])}}),U1=f({name:"UnlockScreen",setup(){const e=_(null),t=_(null),{logout:l}=R(),{updateSettingState:o}=S(),{setLockAppScreen:i}=x(),{isTabletOrSmaller:a}=p1(),c="HH:mm",s="A",r="YY年MM月DD日",p="ddd",d=Y({lockCondition:y(),HH_MM:u().format(c),AM_PM:u().locale("en").format(s),YY_MM_DD:u().format(r),DDD:u().format(p)}),m=setInterval(()=>{d.HH_MM=u().format(c),d.AM_PM=u().format(s)},6e3),v=setInterval(()=>{d.YY_MM_DD=u().format(r),d.DDD=u().format(p)},864e5),b=()=>{window.$dialog.warning({title:"警告",content:"是否返回到登陆页?",positiveText:"确定",negativeText:"取消",onPositiveClick:()=>{l(),setTimeout(()=>{o("lockScreenSwitch",!1)})}})},c1=()=>{var V;(V=e.value)==null||V.validate(n1=>{n1||(i(!1),o("lockScreenSwitch",!1),d.lockCondition=y())})};return L1(()=>{clearInterval(m),clearInterval(v)}),{...W(d),backToSigning:b,unlockScreen:c1,formRef:e,inputInstRef:t,isTabletOrSmaller:a}},render(){const{isTabletOrSmaller:e}=this,{HH_MM:t,AM_PM:l,YY_MM_DD:o,DDD:i}=this,a=t.split(":"),{unlockScreen:c,backToSigning:s}=this;return n("div",{class:"app-lock-screen__unlock"},[n("div",{class:"app-lock-screen__unlock__content"},[n("div",{class:"app-lock-screen__unlock__content-wrapper"},[n("div",{class:["app-lock-screen__unlock__content-bg__wrapper","app-lock-screen__unlock__content-bg",e?"app-lock-screen__unlock__content-bg--smaller":""]},[n("div",{class:"left"},[a[0]]),n("div",{class:"right"},[a[1]])])]),n("div",{class:"app-lock-screen__unlock__content-avatar"},[n(d1,{avatarSize:52,style:"pointer-events: none;",vertical:!0},null)]),n("div",{class:"app-lock-screen__unlock__content-input"},[n($,{ref:"formRef",model:this.lockCondition,rules:K},{default:()=>[n(N,{path:"lockPassword"},{default:()=>[n(F,{ref:"inputInstRef",value:this.lockCondition.lockPassword,"onUpdate:value":r=>this.lockCondition.lockPassword=r,type:"password",placeholder:"请输入解锁密码",clearable:!0,minlength:6,maxlength:12,onKeydown:r=>{r.code==="Enter"&&c()}},null)]}),n(z1,{justify:"space-between"},{default:()=>[n(k,{type:"primary",text:!0,onClick:s.bind(this)},{default:()=>[g("返回登陆")]}),n(k,{type:"primary",text:!0,onClick:c.bind(this)},{default:()=>[g("进入系统")]})]})]})]),n("div",{class:"app-lock-screen__unlock__content-date"},[n("div",{class:"current-date"},[t,g(" "),n("span",null,[l])]),n("div",{class:"current-year"},[o,g(" "),n("span",null,[i])])])])])}}),q1=f({name:"AppLockScreen",setup(){const{getLockAppScreen:e}=x(),{updateSettingState:t}=S(),{getLockScreenSwitch:l}=w();return{lockScreenSwitchRef:C({get:()=>l.value,set:i=>{t("lockScreenSwitch",i)}}),getLockAppScreen:e}},render(){const{getLockAppScreen:e}=this;return n(E,{show:this.lockScreenSwitchRef,"onUpdate:show":t=>this.lockScreenSwitchRef=t,transformOrigin:"center",autoFocus:!1,maskClosable:!1,closeOnEsc:!1,preset:e()?void 0:"dialog",title:"锁定屏幕"},{default:()=>[n("div",{class:"app-lock-screen__content"},[e()?n(U1,null,null):n(I1,null,null)])]})}}),Y1=f({name:"AppWatermarkProvider",setup(){const{getWatermarkSwitch:e,getWatermarkConfig:t}=w();return{getWatermarkSwitch:e,getWatermarkConfig:t}},render(){const{getWatermarkConfig:e,getWatermarkSwitch:t}=this;return t?n(S1,I({cross:!0,fullscreen:!0},e),null):null}}),W1=f({name:"GlobalSpin",props:{...x1},setup(){const e={opacitySpinning:"0.3"};return{spinValue:h1("globalSpinning"),overrides:e}},render(){return n(H1,I(this.$props,{show:this.spinValue,themeOverrides:this.overrides}),{...this.$slots})}});var G1={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.1"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const J1=f({name:"AppVersionProvider",setup(){const{pkg:{version:e}}=G1,t=U(M.appVersionProvider,"localStorage"),l=_(!1),{logout:o}=R();return t!==null?e!==t&&(l.value=!0,A(M.appVersionProvider,e,"localStorage")):A(M.appVersionProvider,e,"localStorage"),{modalShow:l,logout:o}},render(){const{logout:e}=this;return n("div",{class:"app-style-provider"},[n(E,{show:this.modalShow,"onUpdate:show":t=>this.modalShow=t,closeOnEsc:!1,maskClosable:!1,preset:"dialog",closable:!1,title:"发现新版本",content:"当前版本已更新,点击确认加载新版本~",zIndex:999999999,dad:!0,positiveText:"确认",negativeText:"取消",onPositiveClick:e,onNegativeClick:()=>{this.modalShow=!1}},null)])}}),X=f({name:"App",render(){return n($1,null,{default:()=>[n(J1,null,null),n(q1,null,null),n(F1,null,null),n(Y1,null,null),n(W1,null,{default:()=>n(a1,null,null),description:()=>u1})]})}});if(typeof window<"u"){let e=function(){var t=document.body,l=document.getElementById("__svg__icons__dom__");l||(l=document.createElementNS("http://www.w3.org/2000/svg","svg"),l.style.position="absolute",l.style.width="0",l.style.height="0",l.id="__svg__icons__dom__",l.setAttribute("xmlns","http://www.w3.org/2000/svg"),l.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),l.innerHTML='',t.insertBefore(l,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const K1=()=>{u.locale(f1)},B=(e,t)=>{const l=new E1(e,{text:()=>t});e.$$clipboard=l,e.$$clipboard.on("success",()=>{window.$message.success("复制成功")}),e.$$clipboard.on("error",()=>{window.$message.error("复制失败")})},X1=()=>({mounted:(e,{value:t})=>{B(e,t)},updated:(e,{value:t,oldValue:l})=>{var o;t!==l&&((o=e.$$clipboard)==null||o.destroy(),B(e,t))},beforeUnmount:e=>{var t;e.$$clipboard&&((t=e.$$clipboard)==null||t.destroy(),e.$$clipboard=null)}}),Q1=Object.freeze(Object.defineProperty({__proto__:null,default:X1},Symbol.toStringTag,{value:"Module"})),e2=()=>{let e,t;return{beforeMount:(l,{value:o})=>{const{func:i,trigger:a="click",wait:c=500,options:s}=o;if(typeof i!="function")throw new TypeError("debounce directive value must be a function");e=T1(i,c,Object.assign({},s)),t=G(l,a,e)},beforeUnmount:(l,{value:o})=>{e&&(e.cancel(),t==null||t()),e=null}}},t2=Object.freeze(Object.defineProperty({__proto__:null,default:e2},Symbol.toStringTag,{value:"Module"})),j=(e,t)=>{if(e){const l="ray-template__directive--disabled";t?(e.setAttribute("disabled","disabled"),q(e,l)):(e.removeAttribute("disabled"),z(e,l)),e==null||e.setAttribute("disabled",t?"disabled":"")}},l2=()=>({mounted:(e,{value:t})=>{j(e,t)},updated:(e,{value:t,oldValue:l})=>{t!==l&&j(e,t)}}),i2=Object.freeze(Object.defineProperty({__proto__:null,default:l2},Symbol.toStringTag,{value:"Module"})),D=(e,t)=>{const{line:l=1,type:o="block",width:i,popoverText:a}=t;if(i==null){console.error(`[v-ellipsis]: Expected width is string or number, but got typeof ${i}!`);return}a&&e.textContent&&e.setAttribute("title",e.textContent),o==="line"?Z(e,{display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":l,overflow:"hidden",width:L(i)}):Z(e,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:L(i)})},o2=()=>({mounted:(e,{value:t})=>{D(e,t)},updated:(e,{value:t})=>{D(e,t)}}),c2=Object.freeze(Object.defineProperty({__proto__:null,default:o2},Symbol.toStringTag,{value:"Module"})),h={vRippleAnimationEnter:"v-ripple__animation--enter",vRippleAnimationVisible:"v-ripple__animation--visible",vRippleAnimationIn:"v-ripple__animation--in",vRippleAnimationOut:"v-ripple__animation--out",vRippleAnimation:"v-ripple__animation"},n2="v-ripple__container";function T(e,t){e.style.transform=t}function Q(e){const t={},l=e.currentTarget;!(l!=null&&l.__d_ripple__)||l.__d_ripple__.touched||(t.center=l.__d_ripple__.centered,l.__d_ripple__.class&&(t.class=l.__d_ripple__.class),H.show(e,l,t))}function e1(e){const t=e.currentTarget;t!=null&&t.__d_ripple__&&(setTimeout(()=>{t.__d_ripple__&&(t.__d_ripple__.touched=!1)}),H.hide(t))}const a2=(e,t,l={})=>{var v;const o=t.getBoundingClientRect(),i=e.clientX-o.left,a=e.clientY-o.top;let c=0,s=.3;(v=t.__d_ripple__)!=null&&v.circle?(s=.15,c=t.clientWidth/2,c=l.center?c:c+Math.sqrt((i-c)**2+(a-c)**2)/4):c=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const r=`${(t.clientWidth-c*2)/2}px`,p=`${(t.clientHeight-c*2)/2}px`,d=l.center?r:`${i-c}px`,m=l.center?p:`${a-c}px`;return{radius:c,scale:s,x:d,y:m,centerX:r,centerY:p}},H={show(e,t,l={}){var b;if(!((b=t==null?void 0:t.__d_ripple__)!=null&&b.enabled))return;const o=document.createElement("span"),i=document.createElement("span");o.appendChild(i),o.className=n2,l.class&&(o.className+=` ${l.class}`);const{radius:a,scale:c,x:s,y:r,centerX:p,centerY:d}=a2(e,t,l),m=`${a*2}px`;i.className=h.vRippleAnimation,i.style.width=m,i.style.height=m,t.appendChild(o);const v=window.getComputedStyle(t);v&&v.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add(h.vRippleAnimationEnter),i.classList.add(h.vRippleAnimationVisible),T(i,`translate(${s}, ${r}) scale3d(${c},${c},${c})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove(h.vRippleAnimationEnter),i.classList.add(h.vRippleAnimationIn),T(i,`translate(${p}, ${d}) scale3d(1,1,1)`)},0)},hide(e){var a;if(!((a=e==null?void 0:e.__d_ripple__)!=null&&a.enabled))return;const t=e.getElementsByClassName(h.vRippleAnimation);if(t.length===0)return;const l=t[t.length-1];if(l.dataset.isHiding)return;l.dataset.isHiding="true";const o=performance.now()-Number(l.dataset.activated),i=Math.max(250-o,0);setTimeout(()=>{l.classList.remove(h.vRippleAnimationIn),l.classList.add(h.vRippleAnimationOut),setTimeout(()=>{var s;e.getElementsByClassName(h.vRippleAnimation).length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((s=l.parentNode)==null?void 0:s.parentNode)===e&&e.removeChild(l.parentNode)},300)},i)}};function t1(e){return typeof e>"u"||!!e}function l1(e){e.removeEventListener("pointerdown",Q),e.removeEventListener("pointerup",e1)}function O(e,t,l){const{value:o,modifiers:i}=t,a=t1(o);a||H.hide(e),e.__d_ripple__=e.__d_ripple__??{},e.__d_ripple__.enabled=a,e.__d_ripple__.centered=i.center,e.__d_ripple__.circle=i.circle,j1(o,"Object")&&o.class&&(e.__d_ripple__.class=o.class),a&&!l?(e.addEventListener("pointerdown",Q),e.addEventListener("pointerup",e1)):!a&&l&&l1(e)}const s2=()=>({mounted:(e,t)=>{O(e,t,!1)},beforeUnmount:e=>{delete e.__d_ripple__,l1(e)},updated:(e,t)=>{if(t.value===t.oldValue)return;const l=t1(t.oldValue);O(e,t,l)}}),r2=Object.freeze(Object.defineProperty({__proto__:null,default:s2},Symbol.toStringTag,{value:"Module"})),p2=()=>{let e;return{beforeMount:(t,{value:l})=>{const{func:o,trigger:i="click",wait:a=500,options:c}=l;if(typeof o!="function")throw new TypeError("throttle directive value must be a function");e=O1(o,a,Object.assign({},c)),G(t,i,e)},beforeUnmount:()=>{e&&e.cancel(),e=null}}},d2=Object.freeze(Object.defineProperty({__proto__:null,default:p2},Symbol.toStringTag,{value:"Module"})),h2=e=>Object.keys(e).reduce((l,o)=>{var a;const i=(a=e[o])==null?void 0:a.default;if(typeof i=="function")return l[o]=i,l;throw new TypeError(`directiveModules: ${o} is not function`)},{}),u2=e=>{const l=h2(Object.assign({"/src/directives/modules/copy/index.ts":Q1,"/src/directives/modules/debounce/index.ts":t2,"/src/directives/modules/disabled/index.ts":i2,"/src/directives/modules/ellipsis/index.ts":c2,"/src/directives/modules/ripple/index.ts":r2,"/src/directives/modules/throttle/index.ts":d2})),o=new RegExp("(?<=modules\\/).*(?=\\/index\\.ts)"),i=/^([^-]+-)*[^-]+$/;R1(l,(a,c)=>{var r;const s=(r=c.match(o))==null?void 0:r[0];typeof s=="string"&&i.test(s)?e.directive(s,a()):console.error(`[setupDirectives] ${s} is not a valid directive name`)})},i1=async()=>{},o1=async e=>{m1(e),await v1(e),g1(e),K1(),u2(e)},f2=async()=>{const e=J(X);await o1(e),e.mount("#app"),await i1()},m2=async()=>{let e;window.__WUJIE_MOUNT=async()=>{e=J(X),await o1(e),e.mount("#app"),await i1()},window.__WUJIE_UNMOUNT=()=>{e.unmount()},window.__WUJIE.mount()};window.__POWERED_BY_WUJIE__?m2():f2();
diff --git a/js/index-hsDrsE97.js.gz b/js/index-hsDrsE97.js.gz
new file mode 100644
index 00000000..a31e5f30
Binary files /dev/null and b/js/index-hsDrsE97.js.gz differ
diff --git a/js/index-CL4DkzrY.js b/js/index-tgRTNfIG.js
similarity index 58%
rename from js/index-CL4DkzrY.js
rename to js/index-tgRTNfIG.js
index f305a00c..cc523f3d 100644
--- a/js/index-CL4DkzrY.js
+++ b/js/index-tgRTNfIG.js
@@ -1 +1 @@
-import{B as d}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as c,b as t,I as n}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as u}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{N as f,c as s,i as h}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const lt=c({name:"ContextMenuDemo",setup(){const o=u(),e=u(!1),r=u([{label:"杰·盖茨比",key:"jay gatsby"},{label:"黛西·布坎南",key:"daisy buchanan"},{type:"divider",key:"d1"},{label:"尼克·卡拉威",key:"nick caraway"}]),{x:m,y:p,show:a,updateShow:i}=d(o);return{demoOneRef:o,demoOneShow:e,x:m,y:p,show:a,options:r,clickOutside:l=>{l.preventDefault(),i(!1)},updateShow:i}},render(){const{x:o,y:e,show:r}=this,{clickOutside:m,updateShow:p}=this;return t(s,{vertical:!0},{default:()=>[t(f,{title:"useContextmenuCoordinate + NDropdown 实现右键菜单"},{default:()=>[t(s,{vertical:!0},{default:()=>[t("h3",null,[n("默认点击元素外部会关闭菜单。")]),t("div",{ref:"demoOneRef",style:"width: 100%; height: 200px; background-color: rgba(0, 128, 0, 0.5)"},[n("右击")])]})]}),t(h,{show:r,x:o,y:e,options:this.options,trigger:"manual",placement:"bottom-start",onSelect:(a,i)=>{window.$message.info(`选中了 ${i.label}`),p(!1)},onClickoutside:m.bind(this)},null)]})}});export{lt as default};
+import{B as d}from"./hooks-DonDO7vb.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as c,b as t,I as n}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as u}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{N as f,c as s,j as h}from"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";const lt=c({name:"ContextMenuDemo",setup(){const o=u(),i=u(!1),r=u([{label:"杰·盖茨比",key:"jay gatsby"},{label:"黛西·布坎南",key:"daisy buchanan"},{type:"divider",key:"d1"},{label:"尼克·卡拉威",key:"nick caraway"}]),{x:m,y:p,show:a,updateShow:e}=d(o);return{demoOneRef:o,demoOneShow:i,x:m,y:p,show:a,options:r,clickOutside:l=>{l.preventDefault(),e(!1)},updateShow:e}},render(){const{x:o,y:i,show:r}=this,{clickOutside:m,updateShow:p}=this;return t(s,{vertical:!0},{default:()=>[t(f,{title:"useContextmenuCoordinate + NDropdown 实现右键菜单"},{default:()=>[t(s,{vertical:!0},{default:()=>[t("h3",null,[n("默认点击元素外部会关闭菜单。")]),t("div",{ref:"demoOneRef",style:"width: 100%; height: 200px; background-color: rgba(0, 128, 0, 0.5)"},[n("右击")])]})]}),t(h,{show:r,x:o,y:i,options:this.options,trigger:"manual",placement:"bottom-start",onSelect:(a,e)=>{window.$message.info(`选中了 ${e.label}`),p(!1)},onClickoutside:m.bind(this)},null)]})}});export{lt as default};
diff --git a/js/index-tgRTNfIG.js.gz b/js/index-tgRTNfIG.js.gz
new file mode 100644
index 00000000..20e2445f
Binary files /dev/null and b/js/index-tgRTNfIG.js.gz differ
diff --git a/js/index-uuI03sjC.js.gz b/js/index-uuI03sjC.js.gz
deleted file mode 100644
index 426c0951..00000000
Binary files a/js/index-uuI03sjC.js.gz and /dev/null differ
diff --git a/js/index-vw2i1QF5.js b/js/index-vw2i1QF5.js
deleted file mode 100644
index 3f73603d..00000000
--- a/js/index-vw2i1QF5.js
+++ /dev/null
@@ -1 +0,0 @@
-import{j as O,q as C,r as L,f,t as a,e as F,u as P,h as A,v as $}from"./hooks-BY0i9Xdx.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{u as q}from"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import{s as y}from"./utils-CsGRTM5U.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{K as w,R as S,O as z,q as G,T as V,l as I,c as l,x as D,J as E,a9 as b,i as Q,a as U,b as k,N as H,s as K,aa as c,E as x}from"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import{l as r,b as e,v as m,I as d,F as W}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as p,e as _,x as R}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{Q as B}from"./vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js";import{L as J}from"./ray-dCjhX_JK.js";import{e as X}from"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import{A as Y}from"./index-DylPkErZ.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function M(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const Z=r({name:"RSigning",setup(){const t=p(),{t:i}=L(),{signing:n}=O(),{getRootPath:o}=C(),s=p(!1),u=()=>({name:"Ray Admin",pwd:"123456"}),j=q(),g=p(u()),T={name:{required:!0,message:i("views.login.index.NamePlaceholder"),trigger:["blur","input"]},pwd:{required:!0,message:i("views.login.index.PasswordPlaceholder"),trigger:["blur","input"]}};return{signingForm:g,loginFormRef:t,handleLogin:()=>{var h;(h=t.value)==null||h.validate(N=>{N||(s.value=!0,n(g.value).then(v=>{v.code===0&&setTimeout(()=>{window.$message.success(`欢迎${g.value.name}登陆~`),y(f.token,"tokenValue","localStorage"),y(f.signing,v.data,"localStorage"),j.push(o.value),s.value=!1},2*1e3)}).catch(()=>{window.$message.error("不可以这样哟, 不可以哟")}))})},rules:T,loading:s}},render(){let t;const{$t:i,loading:n}=this;return e(G,{model:this.signingForm,ref:"loginFormRef",rules:this.rules},{default:()=>[e(w,{label:i("views.login.index.Name"),path:"name"},{default:()=>[e(S,{value:this.signingForm.name,"onUpdate:value":o=>this.signingForm.name=o,placeholder:i("views.login.index.NamePlaceholder")},null)]}),e(w,{label:i("views.login.index.Password"),path:"pwd"},{default:()=>[e(S,{value:this.signingForm.pwd,"onUpdate:value":o=>this.signingForm.pwd=o,type:"password",showPasswordOn:"click",placeholder:i("views.login.index.PasswordPlaceholder"),onKeydown:o=>o.key==="Enter"&&this.handleLogin()},null)]}),e(z,{style:["width: 100%","margin-to: 18px"],type:"primary",onClick:this.handleLogin.bind(this),loading:n},M(t=i("views.login.index.Login"))?t:{default:()=>[t]})]})}}),ee=r({name:"RRegister",render(){return e(V,{status:"info",title:"提示",description:"我实在是不想写了..."},null)}}),te=r({name:"QRCodeSigning",setup(){const t=_({qrcodeValue:"https://github.com/XiaoDaiGua-Ray/xiaodaigua-ray.github.io"});return{...R(t)}},render(){return e("div",{class:"qrcode-signing"},[e(B,{text:"ray template yes",size:200,logoImage:J},null)])}});function ie(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const ne=r({name:"SSOSigning",setup(){return{ssoSigningOptions:[{icon:"github",key:"github",tooltipLabel:"Github登陆"},{icon:"google",key:"google",tooltipLabel:"Google登陆"},{icon:"twitter",key:"twitter",tooltipLabel:"Twitter登陆"}],handleSSOSigningClick:n=>{window.$message.info(`调用${n.tooltipLabel}`)}}},render(){let t;return e(l,{class:"sso-signing",align:"center"},ie(t=this.ssoSigningOptions.map(i=>e(I,{key:i.key},{trigger:()=>e(a,{name:i.icon,size:"24",cursor:"pointer",onClick:this.handleSSOSigningClick.bind(this,i)},null),default:()=>i.tooltipLabel})))?t:{default:()=>[t]})}}),oe=r({name:"ThemeSwitch",setup(){const{darkTheme:t,lightTheme:i}=P(),{getAppTheme:n}=F(),o=p(n.value);return{darkTheme:t,lightTheme:i,getAppTheme:n,railStyle:({checked:u})=>u?{backgroundColor:"#000000"}:{color:"#000000"},modelAppThemeRef:o}},render(){const{$t:t,darkTheme:i,lightTheme:n,railStyle:o}=this;return e(l,{justify:"center"},{default:()=>[e(D,null,{trigger:()=>e(E,{value:this.modelAppThemeRef,"onUpdate:value":s=>this.modelAppThemeRef=s,railStyle:o.bind(this),onUpdateValue:s=>s?i():n()},{"checked-icon":()=>e(a,{name:"dark"},null),"unchecked-icon":()=>e(a,{name:"light"},null),checked:()=>"亮",unchecked:()=>"暗"}),default:()=>this.getAppTheme?t("headerSettingOptions.ThemeOptions.Dark"):t("headerSettingOptions.ThemeOptions.Light")})]})}});var se={pkg:{dependencies:{"@vueuse/core":"^11.1.0",axios:"^1.7.5",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.5.0","html-to-image":"1.11.11",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.40.1",pinia:"^2.2.4","pinia-plugin-persistedstate":"^4.1.1","print-js":"^1.6.0",vue:"^3.5.12","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.8.1","@commitlint/config-conventional":"^17.8.1","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.2.2","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.16",depcheck:"^1.4.7",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.2.0",postcss:"^8.4.38","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.18.2","unplugin-vue-components":"^0.27.4",vite:"^5.4.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.13"},name:"ray-template",version:"5.0.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};function le(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const st=r({name:"RLogin",setup(){const{layout:{copyright:t}}=se,i=_({tabsValue:"signing"}),{height:n,width:o}=X(),{updateLocale:s}=A();return{...R(i),windowHeight:n,updateLocale:s,copyright:t,windowWidth:o}},render(){let t;const{$t:i}=this;return e("div",{class:["login"],style:[`height: ${this.windowHeight}px`,`--login-height: ${this.windowHeight}px`]},[e("div",{class:["login-wrapper",this.windowWidth>=1440?"login-wrapper--divider":""]},[e("div",{class:["login-wrapper__content"]},[e(l,{align:"center",class:"login-title__wrapper"},{default:()=>[e(a,{name:"ray",size:"48"},null),e(b,{class:"login-title",type:"info",size:28},{default:()=>[d("Ray Template")]})]}),e(l,{align:"center",class:"login-action__wrapper"},{default:()=>[e(oe,null,null),e(Q,{options:$,onSelect:n=>this.updateLocale(n),trigger:"click"},{default:()=>[e(a,{customClassName:"login-icon",name:"language",size:"18",cursor:"pointer"},null)]})]}),e(U,{cols:"s:1 m:1 l:2 xl:2 2xl:2",itemResponsive:!1,responsive:"screen"},{default:()=>[e(k,{span:"s:0 m:0 l:1 xl:1 2xl:1",class:"login__left-wrapper"},{default:()=>[e(l,{align:"center",vertical:!0},{default:()=>[e(a,{name:"login_bg",width:"368",height:"368"},null),e(b,{class:"login-title",type:"info",size:36},le(t=i("views.login.index.RayTemplate"))?t:{default:()=>[t]})]})]}),e(k,{span:1,class:"login__right-wrapper"},{default:()=>[e(H,{class:"login__right-wrapper__content",embedded:!0,bordered:!1},{default:()=>[e(K,{value:this.tabsValue,"onUpdate:value":n=>this.tabsValue=n,type:"line",animated:!0,size:"large"},{default:()=>e(W,null,[e(c,{tab:i("views.login.index.Signing"),name:"signing"},{default:()=>[e(Z,null,null)]}),e(c,{tab:i("views.login.index.Register"),name:"register"},{default:()=>[e(ee,null,null)]}),e(c,{tab:i("views.login.index.QRCodeSigning"),name:"qrcodeSigning"},{default:()=>[e(te,null,null)]})])}),e(x,null,{default:()=>[d("其他登陆方式")]}),e(ne,null,null),e(x,null,{default:()=>[d("友情链接")]}),e(Y,null,null)]})]})]}),e(l,{align:"center",justify:"center",class:"login-copyright__wrapper"},{default:()=>[this.copyright]})])])])}});export{st as default};
diff --git a/js/index-vw2i1QF5.js.gz b/js/index-vw2i1QF5.js.gz
deleted file mode 100644
index 0d285986..00000000
Binary files a/js/index-vw2i1QF5.js.gz and /dev/null differ
diff --git a/js/instance-D_ZLBlAV.js b/js/instance-D7APY90Q.js
similarity index 84%
rename from js/instance-D_ZLBlAV.js
rename to js/instance-D7APY90Q.js
index 55884734..573bdf87 100644
--- a/js/instance-D_ZLBlAV.js
+++ b/js/instance-D7APY90Q.js
@@ -1 +1 @@
-import{a as R}from"./axios@1.7.5-C8DqakIB.js";import{U as t,V as n,f as q,W as d}from"./hooks-BY0i9Xdx.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{g as A}from"./utils-CsGRTM5U.js";import"./currency.js@2.0.4-9OAR_aOO.js";const y=(e,r)=>{t.removePendingRequest(e)},E=(e,r)=>{t.removePendingRequest(e)},p={implementResponseInterceptorArray:[y],implementResponseInterceptorErrorArray:[E]},{setImplement:m}=n(),k=()=>{const{implementResponseInterceptorArray:e}=p;m("implementResponseInterceptorArray",e,"ok")},P=()=>{const{implementResponseInterceptorErrorArray:e}=p;m("implementResponseInterceptorErrorArray",e,"error")},f=(e,r)=>{t.removePendingRequest(e),t.addPendingRequest(e)},g=(e,r)=>{t.removePendingRequest(e)},v=(e,r)=>{if(e){const o=e.headers;r.forEach(s=>{o[s.key]=s.value})}},C=(e,r)=>{const o=A(q.token,"localStorage");return e.url,{key:"X-TOKEN",value:o}},H=(e,r)=>{v(e,[C(e),{key:"Demo-Header-Key",value:"Demo Header Value"}])},c={implementRequestInterceptorArray:[H,f],implementRequestInterceptorErrorArray:[g]},{setImplement:a}=n(),j=()=>{const{implementRequestInterceptorArray:e}=c;a("implementRequestInterceptorArray",e,"ok")},x=()=>{const{implementRequestInterceptorErrorArray:e}=c;a("implementRequestInterceptorErrorArray",e,"error")},i=R.create(d),{createAxiosInstance:u,beforeFetch:l,fetchError:I}=n();i.interceptors.request.use(e=>(u(e,"requestInstance"),j(),l("requestInstance","implementRequestInterceptorArray","ok"),e),e=>(x(),I("requestError",e,"implementRequestInterceptorErrorArray"),Promise.reject(e)));i.interceptors.response.use(e=>{u(e,"responseInstance"),k(),l("responseInstance","implementResponseInterceptorArray","ok");const{data:r}=e;return Promise.resolve(r)},e=>(P(),I("responseError",e,"implementResponseInterceptorErrorArray"),Promise.reject(e)));export{i as s};
+import{a as R}from"./axios@1.7.5-C8DqakIB.js";import{V as t,W as n,f as q,X as d}from"./hooks-DonDO7vb.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{g as A}from"./utils-6rpFoFAR.js";import"./currency.js@2.0.4-9OAR_aOO.js";const y=(e,r)=>{t.removePendingRequest(e)},E=(e,r)=>{t.removePendingRequest(e)},p={implementResponseInterceptorArray:[y],implementResponseInterceptorErrorArray:[E]},{setImplement:m}=n(),k=()=>{const{implementResponseInterceptorArray:e}=p;m("implementResponseInterceptorArray",e,"ok")},P=()=>{const{implementResponseInterceptorErrorArray:e}=p;m("implementResponseInterceptorErrorArray",e,"error")},f=(e,r)=>{t.removePendingRequest(e),t.addPendingRequest(e)},g=(e,r)=>{t.removePendingRequest(e)},v=(e,r)=>{if(e){const o=e.headers;r.forEach(s=>{o[s.key]=s.value})}},C=(e,r)=>{const o=A(q.token,"localStorage");return e.url,{key:"X-TOKEN",value:o}},H=(e,r)=>{v(e,[C(e),{key:"Demo-Header-Key",value:"Demo Header Value"}])},c={implementRequestInterceptorArray:[H,f],implementRequestInterceptorErrorArray:[g]},{setImplement:a}=n(),j=()=>{const{implementRequestInterceptorArray:e}=c;a("implementRequestInterceptorArray",e,"ok")},x=()=>{const{implementRequestInterceptorErrorArray:e}=c;a("implementRequestInterceptorErrorArray",e,"error")},i=R.create(d),{createAxiosInstance:u,beforeFetch:l,fetchError:I}=n();i.interceptors.request.use(e=>(u(e,"requestInstance"),j(),l("requestInstance","implementRequestInterceptorArray","ok"),e),e=>(x(),I("requestError",e,"implementRequestInterceptorErrorArray"),Promise.reject(e)));i.interceptors.response.use(e=>{u(e,"responseInstance"),k(),l("responseInstance","implementResponseInterceptorArray","ok");const{data:r}=e;return Promise.resolve(r)},e=>(P(),I("responseError",e,"implementResponseInterceptorErrorArray"),Promise.reject(e)));export{i as s};
diff --git a/js/instance-D7APY90Q.js.gz b/js/instance-D7APY90Q.js.gz
new file mode 100644
index 00000000..d1739069
Binary files /dev/null and b/js/instance-D7APY90Q.js.gz differ
diff --git a/js/instance-D_ZLBlAV.js.gz b/js/instance-D_ZLBlAV.js.gz
deleted file mode 100644
index dbc58f81..00000000
Binary files a/js/instance-D_ZLBlAV.js.gz and /dev/null differ
diff --git a/js/language-BOVZ3dlJ.js b/js/language-BOVZ3dlJ.js
new file mode 100644
index 00000000..53ed36ad
--- /dev/null
+++ b/js/language-BOVZ3dlJ.js
@@ -0,0 +1 @@
+const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='m5%208%206%206'%3e%3c/path%3e%3cpath%20d='m4%2014%206-6%202-3'%3e%3c/path%3e%3cpath%20d='M2%205h12'%3e%3c/path%3e%3cpath%20d='M7%202h1'%3e%3c/path%3e%3cpath%20d='m22%2022-5-10-5%2010'%3e%3c/path%3e%3cpath%20d='M14%2018h6'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/language-C4AMs4_p.js b/js/language-C4AMs4_p.js
deleted file mode 100644
index f94aa653..00000000
--- a/js/language-C4AMs4_p.js
+++ /dev/null
@@ -1 +0,0 @@
-const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20focusable='false'%20viewBox='0%200%2024%2024'%20%3e%3cpath%20d='M0%200h24v24H0z'%20fill='none'%3e%3c/path%3e%3cpath%20d='%20M12.87%2015.07l-2.54-2.51.03-.03c1.74-1.94%202.98-4.17%203.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5%207.92%2010.44%209.75%209%2011.35%208.07%2010.32%207.3%209.19%206.69%208h-2c.73%201.63%201.73%203.17%202.98%204.56l-5.09%205.02L4%2019l5-5%203.11%203.11.76-2.04zM18.5%2010h-2L12%2022h2l1.12-3h4.75L21%2022h2l-4.5-12zm-2.62%207l1.62-4.33L19.12%2017h-3.24z%20'%20%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js.gz b/js/naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js.gz
deleted file mode 100644
index 80e86e42..00000000
Binary files a/js/naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js.gz and /dev/null differ
diff --git a/js/naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js b/js/naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js
similarity index 99%
rename from js/naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js
rename to js/naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js
index 82e5133a..afe6f608 100644
--- a/js/naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js
+++ b/js/naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js
@@ -1,4 +1,4 @@
-import{z as mu,e as bu,p as xu,i as Fo,f as Bt,g as Dt,a as Ne,s as jo,b as Tn,c as Cu,d as ei,h as ro,j as yu,k as Bi,l as Oi,m as So,n as Ht,o as fn,q as Zl,r as wu,t as Ql,u as Su,v as ku,w as er,x as Wn,y as Un,A as gr,B as Ru,C as ci,D as zu,E as ui,F as aa,G as Qt,H as Pu,I as $u,J as Tu,K as Di,L as Fu,M as Jl}from"./date-fns@3.6.0-q9PkOyxq.js";import{g as qt,r as so,s as jt,c as We,d as Mt,a as Uo,h as Xt,b as Se,t as or,e as rr,f as Mi,i as yr,j as Ai,k as Vo,l as Ar,m as _i,n as es,o as wr,p as tr,q as Nn,u as rn,v as Hi,w as Ei,x as Li,y as Ko,z as Et,A as la,B as Ni,C as ts,D as Ir}from"./seemly@0.3.8-DjGKl9dV.js";import{I as ji,F as Wt,L as sa,v as Iu,l as ie,i as Ae,d as da,w as vt,q as mo,k as Jt,p as hn,M as Bu,N as os,x as Je,j as C,f as $t,h as i,t as ao,n as zt,O as lo,P as an,T as Ou,Q as ca,R as Du,U as ua}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as B,s as rs,n as fe,m as Za,e as ti,u as Qa}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{r as Ja,V as Mo,a as Sr,b as Rr,F as fa,c as zr,B as Pr,d as Vi,L as ns,e as Mu}from"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import{v as _o,T as Vt,a as is,c as Au}from"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import{o as Zt,a as Kt}from"./evtd@0.2.4-CI_DDEu_.js";import{u as tt,i as qo,a as _u,b as Rt,c as nr,d as ha,e as Kn,f as qn,g as Hu,o as as}from"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import{c as Ho,m as Eu,z as va}from"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import{m as Mr,u as Lu,a as Nu,g as Gn,t as fi}from"./lodash-es@4.17.21-CeZG2a4n.js";import{c as ls,a as Wo,f as el}from"./treemate@0.3.11-DKekKYbv.js";import{f as ju}from"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import{S as tl}from"./async-validator@4.2.5-DKvM95Vc.js";import{u as oi}from"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import{C as Vu,e as Wu}from"./css-render@0.15.14-C5toWlUr.js";import{m as Yn}from"./@emotion_hash@0.8.0-WldOFDRm.js";import{p as Uu}from"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function vn(e,t="default",o=[]){const n=e.$slots[t];return n===void 0?o:n()}function ol(e,t="default",o=[]){const{children:r}=e;if(r!==null&&typeof r=="object"&&!Array.isArray(r)){const n=r[t];if(typeof n=="function")return n()}return o}function po(e,t=[],o){const r={};return t.forEach(n=>{r[n]=e[n]}),Object.assign(r,o)}function $r(e,t=[],o){const r={};return Object.getOwnPropertyNames(e).forEach(a=>{t.includes(a)||(r[a]=e[a])}),Object.assign(r,o)}function Io(e,t=!0,o=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&o.push(ji(String(r)));return}if(Array.isArray(r)){Io(r,t,o);return}if(r.type===Wt){if(r.children===null)return;Array.isArray(r.children)&&Io(r.children,t,o)}else{if(r.type===sa&&t)return;o.push(r)}}}),o}function ae(e,...t){if(Array.isArray(e))e.forEach(o=>ae(o,...t));else return e(...t)}function ko(e){return Object.keys(e)}function St(e,...t){return typeof e=="function"?e(...t):typeof e=="string"?ji(e):typeof e=="number"?ji(String(e)):null}const rl=new Set;function Ku(e,t){const o=`[naive/${e}]: ${t}`;rl.has(o)||(rl.add(o),console.error(o))}function go(e,t){console.error(`[naive/${e}]: ${t}`)}function Go(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Wi(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw new Error(`${e} has no smaller size.`)}function nl(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Ui(e,t="default",o=void 0){const r=e[t];if(!r)return go("getFirstSlotVNode",`slot[${t}] is empty`),null;const n=Io(r(o));return n.length===1?n[0]:(go("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function ss(e){return typeof e=="string"?`s-${e}`:`n-${e}`}function ds(e){return t=>{t?e.value=t.$el:e.value=null}}function To(e){return e.some(t=>Iu(t)?!(t.type===sa||t.type===Wt&&!To(t.children)):!0)?e:null}function ft(e,t){return e&&To(e())||t()}function io(e,t,o){return e&&To(e(t))||o(t)}function mt(e,t){const o=e&&To(e());return t(o||null)}function _r(e){return!(e&&To(e()))}function nn(e){const t=e.filter(o=>o!==void 0);if(t.length!==0)return t.length===1?t[0]:o=>{e.forEach(r=>{r&&r(o)})}}function qu(e){var t;const o=(t=e.dirs)===null||t===void 0?void 0:t.find(({dir:r})=>r===_o);return!!(o&&o.value===!1)}const Ki=ie({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),Gu=/^(\d|\.)+$/,il=/(\d|\.)+/;function _t(e,{c:t=1,offset:o=0,attachPx:r=!0}={}){if(typeof e=="number"){const n=(e+o)*t;return n===0?"0":`${n}px`}else if(typeof e=="string")if(Gu.test(e)){const n=(Number(e)+o)*t;return r?n===0?"0":`${n}px`:`${n}`}else{const n=il.exec(e);return n?e.replace(il,String((Number(n[0])+o)*t)):e}return e}function ln(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function al(e){const{left:t,right:o,top:r,bottom:n}=qt(e);return`${r} ${o} ${n} ${t}`}const Yu="n",sn=`.${Yu}-`,Xu="__",Zu="--",cs=Vu(),us=Uu({blockPrefix:sn,elementPrefix:Xu,modifierPrefix:Zu});cs.use(us);const{c:k,find:GC}=cs,{cB:m,cE:P,cM:z,cNotM:nt}=us;function jr(e){return k(({props:{bPrefix:t}})=>`${t||sn}modal, ${t||sn}drawer`,[e])}function pn(e){return k(({props:{bPrefix:t}})=>`${t||sn}popover`,[e])}function fs(e){return k(({props:{bPrefix:t}})=>`&${t||sn}modal`,e)}const Qu=(...e)=>k(">",[m(...e)]);function le(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,o=>o.toUpperCase()))}let hi;function Ju(){return hi===void 0&&(hi=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),hi}const bo=typeof document<"u"&&typeof window<"u",hs=new WeakSet;function dn(e){hs.add(e)}function vs(e){return!hs.has(e)}function ef(e,t,o){var r;const n=Ae(e,null);if(n===null)return;const a=(r=da())===null||r===void 0?void 0:r.proxy;vt(o,s),s(o.value),mo(()=>{s(void 0,o.value)});function s(c,u){if(!n)return;const f=n[t];u!==void 0&&l(f,u),c!==void 0&&d(f,c)}function l(c,u){c[u]||(c[u]=[]),c[u].splice(c[u].findIndex(f=>f===a),1)}function d(c,u){c[u]||(c[u]=[]),~c[u].findIndex(f=>f===a)||c[u].push(a)}}function tf(e,t,o){const r=B(e.value);let n=null;return vt(e,a=>{n!==null&&window.clearTimeout(n),a===!0?o&&!o.value?r.value=!0:n=window.setTimeout(()=>{r.value=!0},t):r.value=!1}),r}const pa="n-internal-select-menu",ps="n-internal-select-menu-body",gn="n-modal-body",of="n-modal-provider",gs="n-modal",mn="n-drawer-body",ga="n-drawer",Vr="n-popover-body",ms="__disabled__";function Gt(e){const t=Ae(gn,null),o=Ae(mn,null),r=Ae(Vr,null),n=Ae(ps,null),a=B();if(typeof document<"u"){a.value=document.fullscreenElement;const s=()=>{a.value=document.fullscreenElement};Jt(()=>{Zt("fullscreenchange",document,s)}),mo(()=>{Kt("fullscreenchange",document,s)})}return tt(()=>{var s;const{to:l}=e;return l!==void 0?l===!1?ms:l===!0?a.value||"body":l:t!=null&&t.value?(s=t.value.$el)!==null&&s!==void 0?s:t.value:o!=null&&o.value?o.value:r!=null&&r.value?r.value:n!=null&&n.value?n.value:l??(a.value||"body")})}Gt.tdkey=ms;Gt.propTo={type:[String,Object,Boolean],default:void 0};let ll=!1;function rf(){if(bo&&window.CSS&&!ll&&(ll=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}function bs(e,t){t&&(Jt(()=>{const{value:o}=e;o&&Ja.registerHandler(o,t)}),mo(()=>{const{value:o}=e;o&&Ja.unregisterHandler(o)}))}let Br=0,sl="",dl="",cl="",ul="";const fl=B("0px");function xs(e){if(typeof document>"u")return;const t=document.documentElement;let o,r=!1;const n=()=>{t.style.marginRight=sl,t.style.overflow=dl,t.style.overflowX=cl,t.style.overflowY=ul,fl.value="0px"};Jt(()=>{o=vt(e,a=>{if(a){if(!Br){const s=window.innerWidth-t.offsetWidth;s>0&&(sl=t.style.marginRight,t.style.marginRight=`${s}px`,fl.value=`${s}px`),dl=t.style.overflow,cl=t.style.overflowX,ul=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}r=!0,Br++}else Br--,Br||n(),r=!1},{immediate:!0})}),mo(()=>{o==null||o(),r&&(Br--,Br||n(),r=!1)})}const ma=B(!1);function hl(){ma.value=!0}function vl(){ma.value=!1}let Qr=0;function Cs(){return bo&&(hn(()=>{Qr||(window.addEventListener("compositionstart",hl),window.addEventListener("compositionend",vl)),Qr++}),mo(()=>{Qr<=1?(window.removeEventListener("compositionstart",hl),window.removeEventListener("compositionend",vl),Qr=0):Qr--})),ma}function ba(e){const t={isDeactivated:!1};let o=!1;return Bu(()=>{if(t.isDeactivated=!1,!o){o=!0;return}e()}),os(()=>{t.isDeactivated=!0,o||(o=!0)}),t}function nf(e,t){if(!e)return;const o=document.createElement("a");o.href=e,t!==void 0&&(o.download=t),document.body.appendChild(o),o.click(),document.body.removeChild(o)}const qi="n-form-item";function xo(e,{defaultSize:t="medium",mergedSize:o,mergedDisabled:r}={}){const n=Ae(qi,null);Je(qi,null);const a=C(o?()=>o(n):()=>{const{size:d}=e;if(d)return d;if(n){const{mergedSize:c}=n;if(c.value!==void 0)return c.value}return t}),s=C(r?()=>r(n):()=>{const{disabled:d}=e;return d!==void 0?d:n?n.disabled.value:!1}),l=C(()=>{const{status:d}=e;return d||(n==null?void 0:n.mergedValidationStatus.value)});return mo(()=>{n&&n.restoreValidation()}),{mergedSizeRef:a,mergedDisabledRef:s,mergedStatusRef:l,nTriggerFormBlur(){n&&n.handleContentBlur()},nTriggerFormChange(){n&&n.handleContentChange()},nTriggerFormFocus(){n&&n.handleContentFocus()},nTriggerFormInput(){n&&n.handleContentInput()}}}const Co={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:af,fontFamily:lf,lineHeight:sf}=Co,ys=k("body",`
+import{z as mu,e as bu,p as xu,i as Fo,f as Bt,g as Dt,a as Ne,s as jo,b as Tn,c as Cu,d as ei,h as ro,j as yu,k as Bi,l as Oi,m as So,n as Ht,o as fn,q as Zl,r as wu,t as Ql,u as Su,v as ku,w as er,x as Wn,y as Un,A as gr,B as Ru,C as ci,D as zu,E as ui,F as aa,G as Qt,H as Pu,I as $u,J as Tu,K as Di,L as Fu,M as Jl}from"./date-fns@3.6.0-q9PkOyxq.js";import{g as qt,r as so,s as jt,c as We,d as Mt,a as Uo,h as Xt,b as Se,t as or,e as rr,f as Mi,i as yr,j as Ai,k as Vo,l as Ar,m as _i,n as es,o as wr,p as tr,q as Nn,u as rn,v as Hi,w as Ei,x as Li,y as Ko,z as Et,A as la,B as Ni,C as ts,D as Ir}from"./seemly@0.3.8-DjGKl9dV.js";import{I as ji,F as Wt,J as sa,p as Iu,l as ie,i as Ae,d as da,w as vt,v as mo,k as Jt,t as hn,L as Bu,M as os,x as Je,j as C,f as $t,h as i,m as ao,n as zt,N as lo,O as an,T as Ou,P as ca,Q as Du,R as ua}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as B,s as rs,n as fe,m as Za,e as ti,u as Qa}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{r as Ja,V as Mo,a as Sr,b as Rr,F as fa,c as zr,B as Pr,d as Vi,L as ns,e as Mu}from"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import{v as _o,T as Vt,a as is,c as Au}from"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import{o as Zt,a as Kt}from"./evtd@0.2.4-CI_DDEu_.js";import{u as tt,i as qo,a as _u,b as Rt,c as nr,d as ha,e as Kn,f as qn,g as Hu,o as as}from"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import{c as Ho,m as Eu,z as va}from"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import{m as Mr,u as Lu,a as Nu,g as Gn,t as fi}from"./lodash-es@4.17.21-CeZG2a4n.js";import{c as ls,a as Wo,f as el}from"./treemate@0.3.11-DKekKYbv.js";import{f as ju}from"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import{S as tl}from"./async-validator@4.2.5-DKvM95Vc.js";import{u as oi}from"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import{C as Vu,e as Wu}from"./css-render@0.15.14-C5toWlUr.js";import{m as Yn}from"./@emotion_hash@0.8.0-WldOFDRm.js";import{p as Uu}from"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";function vn(e,t="default",o=[]){const n=e.$slots[t];return n===void 0?o:n()}function ol(e,t="default",o=[]){const{children:r}=e;if(r!==null&&typeof r=="object"&&!Array.isArray(r)){const n=r[t];if(typeof n=="function")return n()}return o}function po(e,t=[],o){const r={};return t.forEach(n=>{r[n]=e[n]}),Object.assign(r,o)}function $r(e,t=[],o){const r={};return Object.getOwnPropertyNames(e).forEach(a=>{t.includes(a)||(r[a]=e[a])}),Object.assign(r,o)}function Io(e,t=!0,o=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&o.push(ji(String(r)));return}if(Array.isArray(r)){Io(r,t,o);return}if(r.type===Wt){if(r.children===null)return;Array.isArray(r.children)&&Io(r.children,t,o)}else{if(r.type===sa&&t)return;o.push(r)}}}),o}function ae(e,...t){if(Array.isArray(e))e.forEach(o=>ae(o,...t));else return e(...t)}function ko(e){return Object.keys(e)}function St(e,...t){return typeof e=="function"?e(...t):typeof e=="string"?ji(e):typeof e=="number"?ji(String(e)):null}const rl=new Set;function Ku(e,t){const o=`[naive/${e}]: ${t}`;rl.has(o)||(rl.add(o),console.error(o))}function go(e,t){console.error(`[naive/${e}]: ${t}`)}function Go(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Wi(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw new Error(`${e} has no smaller size.`)}function nl(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Ui(e,t="default",o=void 0){const r=e[t];if(!r)return go("getFirstSlotVNode",`slot[${t}] is empty`),null;const n=Io(r(o));return n.length===1?n[0]:(go("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function ss(e){return typeof e=="string"?`s-${e}`:`n-${e}`}function ds(e){return t=>{t?e.value=t.$el:e.value=null}}function To(e){return e.some(t=>Iu(t)?!(t.type===sa||t.type===Wt&&!To(t.children)):!0)?e:null}function ft(e,t){return e&&To(e())||t()}function io(e,t,o){return e&&To(e(t))||o(t)}function mt(e,t){const o=e&&To(e());return t(o||null)}function _r(e){return!(e&&To(e()))}function nn(e){const t=e.filter(o=>o!==void 0);if(t.length!==0)return t.length===1?t[0]:o=>{e.forEach(r=>{r&&r(o)})}}function qu(e){var t;const o=(t=e.dirs)===null||t===void 0?void 0:t.find(({dir:r})=>r===_o);return!!(o&&o.value===!1)}const Ki=ie({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),Gu=/^(\d|\.)+$/,il=/(\d|\.)+/;function _t(e,{c:t=1,offset:o=0,attachPx:r=!0}={}){if(typeof e=="number"){const n=(e+o)*t;return n===0?"0":`${n}px`}else if(typeof e=="string")if(Gu.test(e)){const n=(Number(e)+o)*t;return r?n===0?"0":`${n}px`:`${n}`}else{const n=il.exec(e);return n?e.replace(il,String((Number(n[0])+o)*t)):e}return e}function ln(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function al(e){const{left:t,right:o,top:r,bottom:n}=qt(e);return`${r} ${o} ${n} ${t}`}const Yu="n",sn=`.${Yu}-`,Xu="__",Zu="--",cs=Vu(),us=Uu({blockPrefix:sn,elementPrefix:Xu,modifierPrefix:Zu});cs.use(us);const{c:k,find:GC}=cs,{cB:m,cE:P,cM:z,cNotM:nt}=us;function jr(e){return k(({props:{bPrefix:t}})=>`${t||sn}modal, ${t||sn}drawer`,[e])}function pn(e){return k(({props:{bPrefix:t}})=>`${t||sn}popover`,[e])}function fs(e){return k(({props:{bPrefix:t}})=>`&${t||sn}modal`,e)}const Qu=(...e)=>k(">",[m(...e)]);function le(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,o=>o.toUpperCase()))}let hi;function Ju(){return hi===void 0&&(hi=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),hi}const bo=typeof document<"u"&&typeof window<"u",hs=new WeakSet;function dn(e){hs.add(e)}function vs(e){return!hs.has(e)}function ef(e,t,o){var r;const n=Ae(e,null);if(n===null)return;const a=(r=da())===null||r===void 0?void 0:r.proxy;vt(o,s),s(o.value),mo(()=>{s(void 0,o.value)});function s(c,u){if(!n)return;const f=n[t];u!==void 0&&l(f,u),c!==void 0&&d(f,c)}function l(c,u){c[u]||(c[u]=[]),c[u].splice(c[u].findIndex(f=>f===a),1)}function d(c,u){c[u]||(c[u]=[]),~c[u].findIndex(f=>f===a)||c[u].push(a)}}function tf(e,t,o){const r=B(e.value);let n=null;return vt(e,a=>{n!==null&&window.clearTimeout(n),a===!0?o&&!o.value?r.value=!0:n=window.setTimeout(()=>{r.value=!0},t):r.value=!1}),r}const pa="n-internal-select-menu",ps="n-internal-select-menu-body",gn="n-modal-body",of="n-modal-provider",gs="n-modal",mn="n-drawer-body",ga="n-drawer",Vr="n-popover-body",ms="__disabled__";function Gt(e){const t=Ae(gn,null),o=Ae(mn,null),r=Ae(Vr,null),n=Ae(ps,null),a=B();if(typeof document<"u"){a.value=document.fullscreenElement;const s=()=>{a.value=document.fullscreenElement};Jt(()=>{Zt("fullscreenchange",document,s)}),mo(()=>{Kt("fullscreenchange",document,s)})}return tt(()=>{var s;const{to:l}=e;return l!==void 0?l===!1?ms:l===!0?a.value||"body":l:t!=null&&t.value?(s=t.value.$el)!==null&&s!==void 0?s:t.value:o!=null&&o.value?o.value:r!=null&&r.value?r.value:n!=null&&n.value?n.value:l??(a.value||"body")})}Gt.tdkey=ms;Gt.propTo={type:[String,Object,Boolean],default:void 0};let ll=!1;function rf(){if(bo&&window.CSS&&!ll&&(ll=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}function bs(e,t){t&&(Jt(()=>{const{value:o}=e;o&&Ja.registerHandler(o,t)}),mo(()=>{const{value:o}=e;o&&Ja.unregisterHandler(o)}))}let Br=0,sl="",dl="",cl="",ul="";const fl=B("0px");function xs(e){if(typeof document>"u")return;const t=document.documentElement;let o,r=!1;const n=()=>{t.style.marginRight=sl,t.style.overflow=dl,t.style.overflowX=cl,t.style.overflowY=ul,fl.value="0px"};Jt(()=>{o=vt(e,a=>{if(a){if(!Br){const s=window.innerWidth-t.offsetWidth;s>0&&(sl=t.style.marginRight,t.style.marginRight=`${s}px`,fl.value=`${s}px`),dl=t.style.overflow,cl=t.style.overflowX,ul=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}r=!0,Br++}else Br--,Br||n(),r=!1},{immediate:!0})}),mo(()=>{o==null||o(),r&&(Br--,Br||n(),r=!1)})}const ma=B(!1);function hl(){ma.value=!0}function vl(){ma.value=!1}let Qr=0;function Cs(){return bo&&(hn(()=>{Qr||(window.addEventListener("compositionstart",hl),window.addEventListener("compositionend",vl)),Qr++}),mo(()=>{Qr<=1?(window.removeEventListener("compositionstart",hl),window.removeEventListener("compositionend",vl),Qr=0):Qr--})),ma}function ba(e){const t={isDeactivated:!1};let o=!1;return Bu(()=>{if(t.isDeactivated=!1,!o){o=!0;return}e()}),os(()=>{t.isDeactivated=!0,o||(o=!0)}),t}function nf(e,t){if(!e)return;const o=document.createElement("a");o.href=e,t!==void 0&&(o.download=t),document.body.appendChild(o),o.click(),document.body.removeChild(o)}const qi="n-form-item";function xo(e,{defaultSize:t="medium",mergedSize:o,mergedDisabled:r}={}){const n=Ae(qi,null);Je(qi,null);const a=C(o?()=>o(n):()=>{const{size:d}=e;if(d)return d;if(n){const{mergedSize:c}=n;if(c.value!==void 0)return c.value}return t}),s=C(r?()=>r(n):()=>{const{disabled:d}=e;return d!==void 0?d:n?n.disabled.value:!1}),l=C(()=>{const{status:d}=e;return d||(n==null?void 0:n.mergedValidationStatus.value)});return mo(()=>{n&&n.restoreValidation()}),{mergedSizeRef:a,mergedDisabledRef:s,mergedStatusRef:l,nTriggerFormBlur(){n&&n.handleContentBlur()},nTriggerFormChange(){n&&n.handleContentChange()},nTriggerFormFocus(){n&&n.handleContentFocus()},nTriggerFormInput(){n&&n.handleContentInput()}}}const Co={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:af,fontFamily:lf,lineHeight:sf}=Co,ys=k("body",`
margin: 0;
font-size: ${af};
font-family: ${lf};
@@ -4555,4 +4555,4 @@ import{z as mu,e as bu,p as xu,i as Fo,f as Bt,g as Dt,a as Ne,s as jo,b as Tn,c
height: max(284vh, 284vw);
width: max(284vh, 284vw);
`)])]);function SC(e){if(!e)return 1;const t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t}const kC=Object.assign(Object.assign({},Re.props),{debug:Boolean,cross:Boolean,fullscreen:Boolean,width:{type:Number,default:32},height:{type:Number,default:32},zIndex:{type:Number,default:10},xGap:{type:Number,default:0},yGap:{type:Number,default:0},yOffset:{type:Number,default:0},xOffset:{type:Number,default:0},rotate:{type:Number,default:0},textAlign:{type:String,default:"left"},image:String,imageOpacity:{type:Number,default:1},imageHeight:Number,imageWidth:Number,content:String,selectable:{type:Boolean,default:!0},fontSize:{type:Number,default:14},fontFamily:String,fontStyle:{type:String,default:"normal"},fontVariant:{type:String,default:""},fontWeight:{type:Number,default:400},fontColor:{type:String,default:"rgba(128, 128, 128, .3)"},fontStretch:{type:String,default:""},lineHeight:{type:Number,default:14},globalRotate:{type:Number,default:0}}),Dy=ie({name:"Watermark",props:kC,setup(e,{slots:t}){const{mergedClsPrefixRef:o}=Ze(e),r=Re("Watermark","-watermark",wC,F0,e,o),n=B(""),a=bo?document.createElement("canvas"):null,s=a?a.getContext("2d"):null,l=B(!1);return as(()=>l.value=!0),$t(()=>{if(!a)return;l.value;const d=SC(s),{xGap:c,yGap:u,width:f,height:v,yOffset:p,xOffset:h,rotate:g,image:b,content:y,fontColor:x,fontStyle:T,fontVariant:$,fontStretch:R,fontWeight:w,fontFamily:S,fontSize:A,lineHeight:I,debug:M}=e,V=(c+f)*d,D=(u+v)*d,E=h*d,K=p*d;if(a.width=V,a.height=D,s){s.translate(0,0);const N=f*d,oe=v*d;if(M&&(s.strokeStyle="grey",s.strokeRect(0,0,N,oe)),s.rotate(g*(Math.PI/180)),b){const q=new Image;q.crossOrigin="anonymous",q.referrerPolicy="no-referrer",q.src=b,q.onload=()=>{s.globalAlpha=e.imageOpacity;const{imageWidth:re,imageHeight:me}=e;s.drawImage(q,E,K,(e.imageWidth||(me?q.width*me/q.height:q.width))*d,(e.imageHeight||(re?q.height*re/q.width:q.height))*d),n.value=a.toDataURL()}}else if(y){M&&(s.strokeStyle="green",s.strokeRect(0,0,N,oe)),s.font=`${T} ${$} ${w} ${R} ${A*d}px/${I*d}px ${S||r.value.self.fontFamily}`,s.fillStyle=x;let q=0;const{textAlign:re}=e;y.split(`
-`).map(me=>{const ue=s.measureText(me).width;return q=Math.max(q,ue),{width:ue,line:me}}).forEach(({line:me,width:ue},W)=>{const H=re==="left"?0:re==="center"?(q-ue)/2:q-ue;s.fillText(me,E+H,K+I*d*(W+1))}),n.value=a.toDataURL()}else y||(s.clearRect(0,0,a.width,a.height),n.value=a.toDataURL())}else Ku("watermark","Canvas is not supported in the browser.")}),()=>{var d;const{globalRotate:c,fullscreen:u,zIndex:f}=e,v=o.value,p=c!==0&&u,h="max(142vh, 142vw)",g=i("div",{class:[`${v}-watermark`,c!==0&&`${v}-watermark--global-rotate`,u&&`${v}-watermark--fullscreen`],style:{transform:c?`translateX(-50%) translateY(-50%) rotate(${c}deg)`:void 0,zIndex:p?void 0:f,backgroundSize:`${e.xGap+e.width}px`,backgroundPosition:c===0?e.cross?`${e.width/2}px ${e.height/2}px, 0 0`:"":e.cross?`calc(${h} + ${e.width/2}px) calc(${h} + ${e.height/2}px), ${h} ${h}`:h,backgroundImage:e.cross?`url(${n.value}), url(${n.value})`:`url(${n.value})`}});return e.fullscreen&&!c?g:i("div",{class:[`${v}-watermark-container`,c!==0&&`${v}-watermark-container--global-rotate`,u&&`${v}-watermark-container--fullscreen`,e.selectable&&`${v}-watermark-container--selectable`],style:{zIndex:p?f:void 0}},(d=t.default)===null||d===void 0?void 0:d.call(t),g)}}}),RC=ie({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var o;return(o=e.onSetup)===null||o===void 0||o.call(e),()=>{var r;return(r=t.default)===null||r===void 0?void 0:r.call(t)}}}),zC={message:yx,notification:Ax,loadingBar:nx,dialog:bm,modal:zx};function PC({providersAndProps:e,configProviderProps:t}){let o=Au(n);const r={app:o};function n(){return i(ip,Qa(t),{default:()=>e.map(({type:l,Provider:d,props:c})=>i(d,Qa(c),{default:()=>i(RC,{onSetup:()=>r[l]=zC[l]()})}))})}let a;return bo&&(a=document.createElement("div"),document.body.appendChild(a),o.mount(a)),Object.assign({unmount:()=>{var l;if(o===null||a===null){go("discrete","unmount call no need because discrete app has been unmounted");return}o.unmount(),(l=a.parentNode)===null||l===void 0||l.removeChild(a),a=null,o=null}},r)}function My(e,{configProviderProps:t,messageProviderProps:o,dialogProviderProps:r,notificationProviderProps:n,loadingBarProviderProps:a,modalProviderProps:s}={}){const l=[];return e.forEach(c=>{switch(c){case"message":l.push({type:c,Provider:Cx,props:o});break;case"notification":l.push({type:c,Provider:Mx,props:n});break;case"dialog":l.push({type:c,Provider:mm,props:r});break;case"loadingBar":l.push({type:c,Provider:rx,props:a});break;case"modal":l.push({type:c,Provider:Rx,props:s})}}),PC({providersAndProps:l,configProviderProps:t})}const $C=()=>({}),TC={name:"Equation",common:_e,self:$C},FC={name:"FloatButtonGroup",common:_e,self(e){const{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},Ay={name:"dark",common:_e,Alert:ah,Anchor:ph,AutoComplete:Ih,Avatar:Gs,AvatarGroup:Lh,BackTop:jh,Badge:Vh,Breadcrumb:Kh,Button:ho,ButtonGroup:Sb,Calendar:cv,Card:id,Carousel:Wv,Cascader:qv,Checkbox:Ur,Code:sd,Collapse:tp,CollapseTransition:rp,ColorPicker:fv,DataTable:kp,DatePicker:Mg,Descriptions:em,Dialog:rc,Divider:Cm,Drawer:km,Dropdown:Ia,DynamicInput:jm,DynamicTags:qm,Element:Zm,Empty:Tr,Ellipsis:xd,Equation:TC,Flex:Qm,Form:rb,GradientText:kb,Icon:Xp,IconWrapper:H0,Image:E0,Input:Po,InputNumber:Pb,LegacyTransfer:J0,Layout:Fb,List:Ob,LoadingBar:Db,Log:_b,Menu:Nb,Mention:Hb,Message:wb,Modal:cm,Notification:xb,PageHeader:Wb,Pagination:gd,Popconfirm:qb,Popover:Fr,Popselect:dd,Progress:Rc,QrCode:_x,Radio:wd,Rate:Yb,Result:Qb,Row:I0,Scrollbar:fo,Select:hd,Skeleton:Kx,Slider:e0,Space:vc,Spin:o0,Statistic:n0,Steps:l0,Switch:s0,Table:h0,Tabs:g0,Tag:Ds,Thing:b0,TimePicker:qd,Timeline:C0,Tooltip:ni,Transfer:w0,Tree:Ic,TreeSelect:k0,Typography:z0,Upload:$0,Watermark:T0,Split:Xx,FloatButton:B0,FloatButtonGroup:FC};export{Cx as $,Sy as A,wy as B,Rp as C,cy as D,sy as E,oy as F,hp as G,ay as H,ly as I,Py as J,hb as K,by as L,Oy as M,jv as N,At as O,ty as P,ey as Q,Bo as R,Ry as S,ky as T,Hh as U,JC as V,yy as W,Jp as X,Cy as Y,xy as Z,rx as _,my as a,mm as a0,Rx as a1,Mx as a2,py as a3,Ay as a4,ip as a5,My as a6,Dy as a7,Yx as a8,gy as a9,$y as aa,Wx as ab,Iy as ac,By as ad,ZC as ae,Ph as af,QC as ag,vy as ah,iy as ai,Mp as aj,Id as ak,uy as al,ry as am,pb as b,fy as c,XC as d,zy as e,cc as f,A0 as g,sg as h,Nd as i,Pp as j,cp as k,Rn as l,dc as m,Fy as n,ny as o,ab as p,hy as q,ia as r,Ty as s,tC as t,zx as u,jn as v,Ba as w,Rd as x,dy as y,YC as z};
+`).map(me=>{const ue=s.measureText(me).width;return q=Math.max(q,ue),{width:ue,line:me}}).forEach(({line:me,width:ue},W)=>{const H=re==="left"?0:re==="center"?(q-ue)/2:q-ue;s.fillText(me,E+H,K+I*d*(W+1))}),n.value=a.toDataURL()}else y||(s.clearRect(0,0,a.width,a.height),n.value=a.toDataURL())}else Ku("watermark","Canvas is not supported in the browser.")}),()=>{var d;const{globalRotate:c,fullscreen:u,zIndex:f}=e,v=o.value,p=c!==0&&u,h="max(142vh, 142vw)",g=i("div",{class:[`${v}-watermark`,c!==0&&`${v}-watermark--global-rotate`,u&&`${v}-watermark--fullscreen`],style:{transform:c?`translateX(-50%) translateY(-50%) rotate(${c}deg)`:void 0,zIndex:p?void 0:f,backgroundSize:`${e.xGap+e.width}px`,backgroundPosition:c===0?e.cross?`${e.width/2}px ${e.height/2}px, 0 0`:"":e.cross?`calc(${h} + ${e.width/2}px) calc(${h} + ${e.height/2}px), ${h} ${h}`:h,backgroundImage:e.cross?`url(${n.value}), url(${n.value})`:`url(${n.value})`}});return e.fullscreen&&!c?g:i("div",{class:[`${v}-watermark-container`,c!==0&&`${v}-watermark-container--global-rotate`,u&&`${v}-watermark-container--fullscreen`,e.selectable&&`${v}-watermark-container--selectable`],style:{zIndex:p?f:void 0}},(d=t.default)===null||d===void 0?void 0:d.call(t),g)}}}),RC=ie({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var o;return(o=e.onSetup)===null||o===void 0||o.call(e),()=>{var r;return(r=t.default)===null||r===void 0?void 0:r.call(t)}}}),zC={message:yx,notification:Ax,loadingBar:nx,dialog:bm,modal:zx};function PC({providersAndProps:e,configProviderProps:t}){let o=Au(n);const r={app:o};function n(){return i(ip,Qa(t),{default:()=>e.map(({type:l,Provider:d,props:c})=>i(d,Qa(c),{default:()=>i(RC,{onSetup:()=>r[l]=zC[l]()})}))})}let a;return bo&&(a=document.createElement("div"),document.body.appendChild(a),o.mount(a)),Object.assign({unmount:()=>{var l;if(o===null||a===null){go("discrete","unmount call no need because discrete app has been unmounted");return}o.unmount(),(l=a.parentNode)===null||l===void 0||l.removeChild(a),a=null,o=null}},r)}function My(e,{configProviderProps:t,messageProviderProps:o,dialogProviderProps:r,notificationProviderProps:n,loadingBarProviderProps:a,modalProviderProps:s}={}){const l=[];return e.forEach(c=>{switch(c){case"message":l.push({type:c,Provider:Cx,props:o});break;case"notification":l.push({type:c,Provider:Mx,props:n});break;case"dialog":l.push({type:c,Provider:mm,props:r});break;case"loadingBar":l.push({type:c,Provider:rx,props:a});break;case"modal":l.push({type:c,Provider:Rx,props:s})}}),PC({providersAndProps:l,configProviderProps:t})}const $C=()=>({}),TC={name:"Equation",common:_e,self:$C},FC={name:"FloatButtonGroup",common:_e,self(e){const{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},Ay={name:"dark",common:_e,Alert:ah,Anchor:ph,AutoComplete:Ih,Avatar:Gs,AvatarGroup:Lh,BackTop:jh,Badge:Vh,Breadcrumb:Kh,Button:ho,ButtonGroup:Sb,Calendar:cv,Card:id,Carousel:Wv,Cascader:qv,Checkbox:Ur,Code:sd,Collapse:tp,CollapseTransition:rp,ColorPicker:fv,DataTable:kp,DatePicker:Mg,Descriptions:em,Dialog:rc,Divider:Cm,Drawer:km,Dropdown:Ia,DynamicInput:jm,DynamicTags:qm,Element:Zm,Empty:Tr,Ellipsis:xd,Equation:TC,Flex:Qm,Form:rb,GradientText:kb,Icon:Xp,IconWrapper:H0,Image:E0,Input:Po,InputNumber:Pb,LegacyTransfer:J0,Layout:Fb,List:Ob,LoadingBar:Db,Log:_b,Menu:Nb,Mention:Hb,Message:wb,Modal:cm,Notification:xb,PageHeader:Wb,Pagination:gd,Popconfirm:qb,Popover:Fr,Popselect:dd,Progress:Rc,QrCode:_x,Radio:wd,Rate:Yb,Result:Qb,Row:I0,Scrollbar:fo,Select:hd,Skeleton:Kx,Slider:e0,Space:vc,Spin:o0,Statistic:n0,Steps:l0,Switch:s0,Table:h0,Tabs:g0,Tag:Ds,Thing:b0,TimePicker:qd,Timeline:C0,Tooltip:ni,Transfer:w0,Tree:Ic,TreeSelect:k0,Typography:z0,Upload:$0,Watermark:T0,Split:Xx,FloatButton:B0,FloatButtonGroup:FC};export{rx as $,dy as A,Sy as B,wy as C,Rp as D,cy as E,sy as F,oy as G,hp as H,ay as I,ly as J,Py as K,hb as L,by as M,jv as N,Oy as O,At as P,ty as Q,ey as R,Ry as S,Bo as T,ky as U,Hh as V,JC as W,yy as X,Jp as Y,Cy as Z,xy as _,my as a,Cx as a0,mm as a1,Rx as a2,Mx as a3,py as a4,Ay as a5,ip as a6,My as a7,Dy as a8,Yx as a9,$y as aa,Wx as ab,Iy as ac,By as ad,ZC as ae,Ph as af,QC as ag,vy as ah,iy as ai,Mp as aj,Id as ak,uy as al,ry as am,pb as b,fy as c,XC as d,zy as e,ab as f,A0 as g,cc as h,sg as i,Nd as j,Pp as k,cp as l,dc as m,Rn as n,Fy as o,ny as p,hy as q,ia as r,Ty as s,tC as t,zx as u,jn as v,Ba as w,Rd as x,gy as y,YC as z};
diff --git a/js/naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js.gz b/js/naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js.gz
new file mode 100644
index 00000000..f8963e06
Binary files /dev/null and b/js/naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js.gz differ
diff --git a/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js.gz b/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js.gz
deleted file mode 100644
index 96c0a737..00000000
Binary files a/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js.gz and /dev/null differ
diff --git a/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js b/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js
similarity index 83%
rename from js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js
rename to js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js
index c3fecb26..ee29e137 100644
--- a/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js
+++ b/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js
@@ -1,5 +1,5 @@
-import{i as G}from"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import{V as $,i as T,w as tt,n as et,j as st}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{y as H,k as M,m as q,e as nt,a as E,z,d as ot,q as ct,v as rt,x as ut}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";/*!
+import{i as G}from"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import{U as $,i as T,w as tt,n as et,j as st}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{y as H,k as M,m as q,e as nt,a as E,z,d as ot,q as ct,v as rt,x as ut}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";/*!
* pinia v2.2.4
* (c) 2024 Eduardo San Martin Morote
* @license MIT
- */let B;const R=t=>B=t,D=Symbol();function L(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var x;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(x||(x={}));function mt(){const t=H(!0),c=t.run(()=>M({}));let s=[],e=[];const r=q({install(u){R(r),r._a=u,u.provide(D,r),u.config.globalProperties.$pinia=r,e.forEach(f=>s.push(f)),e=[]},use(u){return!this._a&&!G?e.push(u):s.push(u),this},_p:s,_a:null,_e:t,_s:new Map,state:c});return r}const J=()=>{};function F(t,c,s,e=J){t.push(c);const r=()=>{const u=t.indexOf(c);u>-1&&(t.splice(u,1),e())};return!s&&ct()&&rt(r),r}function P(t,...c){t.slice().forEach(s=>{s(...c)})}const at=t=>t(),A=Symbol(),I=Symbol();function O(t,c){t instanceof Map&&c instanceof Map?c.forEach((s,e)=>t.set(e,s)):t instanceof Set&&c instanceof Set&&c.forEach(t.add,t);for(const s in c){if(!c.hasOwnProperty(s))continue;const e=c[s],r=t[s];L(r)&&L(e)&&t.hasOwnProperty(s)&&!E(e)&&!z(e)?t[s]=O(r,e):t[s]=e}return t}const ft=Symbol();function it(t){return!L(t)||!t.hasOwnProperty(ft)}const{assign:y}=Object;function lt(t){return!!(E(t)&&t.effect)}function ht(t,c,s,e){const{state:r,actions:u,getters:f}=c,a=s.state.value[t];let C;function b(){a||(s.state.value[t]=r?r():{});const S=ut(s.state.value[t]);return y(S,u,Object.keys(f||{}).reduce((v,m)=>(v[m]=q(st(()=>{R(s);const _=s._s.get(t);return f[m].call(_,_)})),v),{}))}return C=K(t,b,c,s,e,!0),C}function K(t,c,s={},e,r,u){let f;const a=y({actions:{}},s),C={deep:!0};let b,S,v=[],m=[],_;const d=e.state.value[t];!u&&!d&&(e.state.value[t]={}),M({});let W;function N(o){let n;b=S=!1,typeof o=="function"?(o(e.state.value[t]),n={type:x.patchFunction,storeId:t,events:_}):(O(e.state.value[t],o),n={type:x.patchObject,payload:o,storeId:t,events:_});const i=W=Symbol();et().then(()=>{W===i&&(b=!0)}),S=!0,P(v,n,e.state.value[t])}const Q=u?function(){const{state:n}=s,i=n?n():{};this.$patch(j=>{y(j,i)})}:J;function U(){f.stop(),v=[],m=[],e._s.delete(t)}const V=(o,n="")=>{if(A in o)return o[I]=n,o;const i=function(){R(e);const j=Array.from(arguments),p=[],k=[];function Y(l){p.push(l)}function Z(l){k.push(l)}P(m,{args:j,name:i[I],store:h,after:Y,onError:Z});let w;try{w=o.apply(this&&this.$id===t?this:h,j)}catch(l){throw P(k,l),l}return w instanceof Promise?w.then(l=>(P(p,l),l)).catch(l=>(P(k,l),Promise.reject(l))):(P(p,w),w)};return i[A]=!0,i[I]=n,i},X={_p:e,$id:t,$onAction:F.bind(null,m),$patch:N,$reset:Q,$subscribe(o,n={}){const i=F(v,o,n.detached,()=>j()),j=f.run(()=>tt(()=>e.state.value[t],p=>{(n.flush==="sync"?S:b)&&o({storeId:t,type:x.direct,events:_},p)},y({},C,n)));return i},$dispose:U},h=nt(X);e._s.set(t,h);const g=(e._a&&e._a.runWithContext||at)(()=>e._e.run(()=>(f=H()).run(()=>c({action:V}))));for(const o in g){const n=g[o];if(E(n)&&!lt(n)||z(n))u||(d&&it(n)&&(E(n)?n.value=d[o]:O(n,d[o])),e.state.value[t][o]=n);else if(typeof n=="function"){const i=V(n,o);g[o]=i,a.actions[o]=n}}return y(h,g),y(ot(h),g),Object.defineProperty(h,"$state",{get:()=>e.state.value[t],set:o=>{N(n=>{y(n,o)})}}),e._p.forEach(o=>{y(h,f.run(()=>o({store:h,app:e._a,pinia:e,options:a})))}),d&&u&&s.hydrate&&s.hydrate(h.$state,d),b=!0,S=!0,h}function _t(t,c,s){let e,r;const u=typeof c=="function";typeof t=="string"?(e=t,r=u?s:c):(r=t,e=t.id);function f(a,C){const b=$();return a=a||(b?T(D,null):null),a&&R(a),a=B,a._s.has(e)||(u?K(e,c,r,a):ht(e,r,a)),a._s.get(e)}return f.$id=e,f}export{mt as c,_t as d};
+ */let B;const R=t=>B=t,D=Symbol();function L(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var x;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(x||(x={}));function mt(){const t=H(!0),c=t.run(()=>M({}));let s=[],e=[];const r=q({install(u){R(r),r._a=u,u.provide(D,r),u.config.globalProperties.$pinia=r,e.forEach(f=>s.push(f)),e=[]},use(u){return!this._a&&!G?e.push(u):s.push(u),this},_p:s,_a:null,_e:t,_s:new Map,state:c});return r}const J=()=>{};function V(t,c,s,e=J){t.push(c);const r=()=>{const u=t.indexOf(c);u>-1&&(t.splice(u,1),e())};return!s&&ct()&&rt(r),r}function P(t,...c){t.slice().forEach(s=>{s(...c)})}const at=t=>t(),A=Symbol(),I=Symbol();function O(t,c){t instanceof Map&&c instanceof Map?c.forEach((s,e)=>t.set(e,s)):t instanceof Set&&c instanceof Set&&c.forEach(t.add,t);for(const s in c){if(!c.hasOwnProperty(s))continue;const e=c[s],r=t[s];L(r)&&L(e)&&t.hasOwnProperty(s)&&!E(e)&&!z(e)?t[s]=O(r,e):t[s]=e}return t}const ft=Symbol();function it(t){return!L(t)||!t.hasOwnProperty(ft)}const{assign:y}=Object;function lt(t){return!!(E(t)&&t.effect)}function ht(t,c,s,e){const{state:r,actions:u,getters:f}=c,a=s.state.value[t];let C;function b(){a||(s.state.value[t]=r?r():{});const S=ut(s.state.value[t]);return y(S,u,Object.keys(f||{}).reduce((v,m)=>(v[m]=q(st(()=>{R(s);const _=s._s.get(t);return f[m].call(_,_)})),v),{}))}return C=K(t,b,c,s,e,!0),C}function K(t,c,s={},e,r,u){let f;const a=y({actions:{}},s),C={deep:!0};let b,S,v=[],m=[],_;const d=e.state.value[t];!u&&!d&&(e.state.value[t]={}),M({});let W;function N(o){let n;b=S=!1,typeof o=="function"?(o(e.state.value[t]),n={type:x.patchFunction,storeId:t,events:_}):(O(e.state.value[t],o),n={type:x.patchObject,payload:o,storeId:t,events:_});const i=W=Symbol();et().then(()=>{W===i&&(b=!0)}),S=!0,P(v,n,e.state.value[t])}const U=u?function(){const{state:n}=s,i=n?n():{};this.$patch(j=>{y(j,i)})}:J;function Q(){f.stop(),v=[],m=[],e._s.delete(t)}const F=(o,n="")=>{if(A in o)return o[I]=n,o;const i=function(){R(e);const j=Array.from(arguments),p=[],k=[];function Y(l){p.push(l)}function Z(l){k.push(l)}P(m,{args:j,name:i[I],store:h,after:Y,onError:Z});let w;try{w=o.apply(this&&this.$id===t?this:h,j)}catch(l){throw P(k,l),l}return w instanceof Promise?w.then(l=>(P(p,l),l)).catch(l=>(P(k,l),Promise.reject(l))):(P(p,w),w)};return i[A]=!0,i[I]=n,i},X={_p:e,$id:t,$onAction:V.bind(null,m),$patch:N,$reset:U,$subscribe(o,n={}){const i=V(v,o,n.detached,()=>j()),j=f.run(()=>tt(()=>e.state.value[t],p=>{(n.flush==="sync"?S:b)&&o({storeId:t,type:x.direct,events:_},p)},y({},C,n)));return i},$dispose:Q},h=nt(X);e._s.set(t,h);const g=(e._a&&e._a.runWithContext||at)(()=>e._e.run(()=>(f=H()).run(()=>c({action:F}))));for(const o in g){const n=g[o];if(E(n)&&!lt(n)||z(n))u||(d&&it(n)&&(E(n)?n.value=d[o]:O(n,d[o])),e.state.value[t][o]=n);else if(typeof n=="function"){const i=F(n,o);g[o]=i,a.actions[o]=n}}return y(h,g),y(ot(h),g),Object.defineProperty(h,"$state",{get:()=>e.state.value[t],set:o=>{N(n=>{y(n,o)})}}),e._p.forEach(o=>{y(h,f.run(()=>o({store:h,app:e._a,pinia:e,options:a})))}),d&&u&&s.hydrate&&s.hydrate(h.$state,d),b=!0,S=!0,h}function _t(t,c,s){let e,r;const u=typeof c=="function";typeof t=="string"?(e=t,r=u?s:c):(r=t,e=t.id);function f(a,C){const b=$();return a=a||(b?T(D,null):null),a&&R(a),a=B,a._s.has(e)||(u?K(e,c,r,a):ht(e,r,a)),a._s.get(e)}return f.$id=e,f}export{mt as c,_t as d};
diff --git a/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js.gz b/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js.gz
new file mode 100644
index 00000000..1f900e67
Binary files /dev/null and b/js/pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js.gz differ
diff --git a/js/props-CsmlPjfV.js b/js/props-CsmlPjfV.js
deleted file mode 100644
index b869cd1d..00000000
--- a/js/props-CsmlPjfV.js
+++ /dev/null
@@ -1 +0,0 @@
-import{Y as p,Z as r,$ as n,G as s,a0 as l}from"./hooks-BY0i9Xdx.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{l as i,b as o,t as u,v as m}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{o as c}from"./lodash-es@4.17.21-CeZG2a4n.js";function d(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!m(e)}const w=i({name:"RCollapse",props:Object.assign({},p,{...r,open:{type:Boolean,default:!0},cols:{type:Number,default:4},bordered:{type:Boolean,default:!0}}),render(){const{$slots:e,$props:a}=this,{labelPlacement:b,showFeedback:y,...t}=a;return o(s,u(t,{labelPlacement:"top",showFeedback:!1}),{default:()=>[o(n,t,d(e)?e:{default:()=>[e]})]})}}),f={...c(l,["pagination"]),paginationCount:{type:Number,default:1},onRegister:{type:Function,default:void 0},manual:{type:Boolean,default:!1},request:{type:Function},onTablePaginationUpdate:{type:Function},requestConfig:{type:Object,default:()=>({})},showPagination:{type:Boolean,default:!1},remote:{type:Boolean,default:!0}},k=f;export{w as R,k as p};
diff --git a/js/props-CsmlPjfV.js.gz b/js/props-CsmlPjfV.js.gz
deleted file mode 100644
index 87b01ca2..00000000
Binary files a/js/props-CsmlPjfV.js.gz and /dev/null differ
diff --git a/js/reload-BCsJCBo-.js b/js/reload-BCsJCBo-.js
deleted file mode 100644
index 2b10239f..00000000
--- a/js/reload-BCsJCBo-.js
+++ /dev/null
@@ -1 +0,0 @@
-const e="data:image/svg+xml,%3csvg%20class='inline-block%20text-22px'%20viewBox='0%200%2024%2024'%20width='1em'%20height='1em'%3e%3cpath%20fill='currentColor'%20d='M17.65%206.35A7.958%207.958%200%200%200%2012%204a8%208%200%200%200-8%208a8%208%200%200%200%208%208c3.73%200%206.84-2.55%207.73-6h-2.08A5.99%205.99%200%200%201%2012%2018a6%206%200%200%201-6-6a6%206%200%200%201%206-6c1.66%200%203.14.69%204.22%201.78L13%2011h7V4l-2.35%202.35Z'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/reload-BPf1PV7s.js b/js/reload-BPf1PV7s.js
new file mode 100644
index 00000000..53dcabd2
--- /dev/null
+++ b/js/reload-BPf1PV7s.js
@@ -0,0 +1 @@
+const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M21%2012a9%209%200%201%201-9-9c2.52%200%204.93%201%206.74%202.74L21%208'%3e%3c/path%3e%3cpath%20d='M21%203v5h-5'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/search-CFLGi5BR.js b/js/search-CFLGi5BR.js
new file mode 100644
index 00000000..a7fb6839
--- /dev/null
+++ b/js/search-CFLGi5BR.js
@@ -0,0 +1 @@
+const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3ccircle%20cx='11'%20cy='11'%20r='8'%3e%3c/circle%3e%3cpath%20d='m21%2021-4.3-4.3'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/search-DPR73sQp.js b/js/search-DPR73sQp.js
deleted file mode 100644
index 4c5850f4..00000000
--- a/js/search-DPR73sQp.js
+++ /dev/null
@@ -1 +0,0 @@
-const c="data:image/svg+xml,%3csvg%20t='1681648912704'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8713'%20width='64'%20height='64'%3e%3cpath%20d='M907.4%20906.4c-29%2029-76%2029-105%200L657.7%20761.7c-57.6%2038.4-126.8%2060.9-201.3%2060.9-200.5%200-363.1-162.6-363.1-363.2S255.9%2096.2%20456.5%2096.2s363.2%20162.6%20363.2%20363.2c0%2072.4-21.2%20139.9-57.7%20196.5l145.5%20145.5c28.9%2029%2028.9%2076-0.1%20105zM456.4%20231C330.3%20231%20228%20333.3%20228%20459.4c0%20126.1%20102.3%20228.4%20228.4%20228.4s228.4-102.3%20228.4-228.4C684.9%20333.3%20582.6%20231%20456.4%20231z%20m118.1%20379.4c-1.4%202.1-3.5%203.6-6.2%204.2-5.5%201.3-11.1-2.2-12.3-7.7-1.2-5.2%201.7-10.3%206.7-12%2059-46.5%2080.8-126.4%2053.6-196.1-0.7-1.4-1-2.9-1-4.5%200-5.7%204.6-10.3%2010.3-10.3%204.2%200%207.8%202.5%209.4%206.1h0.1c30.7%2078.3%206.1%20168.4-60.6%20220.3z'%20p-id='8714'%20fill='currentColor'%3e%3c/path%3e%3c/svg%3e";export{c as default};
diff --git a/js/setting-CqYm8XBn.js b/js/setting-CqYm8XBn.js
deleted file mode 100644
index da5bc1ac..00000000
--- a/js/setting-CqYm8XBn.js
+++ /dev/null
@@ -1 +0,0 @@
-const c="data:image/svg+xml,%3csvg%20t='1669083002473'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4842'%20width='200'%20height='200'%3e%3cpath%20d='M924.8%20625.7l-65.5-56c3.1-19%204.7-38.4%204.7-57.8s-1.6-38.8-4.7-57.8l65.5-56c10.1-8.6%2013.8-22.6%209.3-35.2l-0.9-2.6c-18.1-50.5-44.9-96.9-79.7-137.9l-1.8-2.1c-8.6-10.1-22.5-13.9-35.1-9.5l-81.3%2028.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85c-2.4-13.1-12.7-23.3-25.8-25.7l-2.7-0.5c-52.1-9.4-106.9-9.4-159%200l-2.7%200.5c-13.1%202.4-23.4%2012.6-25.8%2025.7l-15.8%2085.4c-35.9%2013.6-69.2%2032.9-99%2057.4l-81.9-29.1c-12.5-4.4-26.5-0.7-35.1%209.5l-1.8%202.1c-34.8%2041.1-61.6%2087.5-79.7%20137.9l-0.9%202.6c-4.5%2012.5-0.8%2026.5%209.3%2035.2l66.3%2056.6c-3.1%2018.8-4.6%2038-4.6%2057.1%200%2019.2%201.5%2038.4%204.6%2057.1L99%20625.5c-10.1%208.6-13.8%2022.6-9.3%2035.2l0.9%202.6c18.1%2050.4%2044.9%2096.9%2079.7%20137.9l1.8%202.1c8.6%2010.1%2022.5%2013.9%2035.1%209.5l81.9-29.1c29.8%2024.5%2063.1%2043.9%2099%2057.4l15.8%2085.4c2.4%2013.1%2012.7%2023.3%2025.8%2025.7l2.7%200.5c26.1%204.7%2052.8%207.1%2079.5%207.1%2026.7%200%2053.5-2.4%2079.5-7.1l2.7-0.5c13.1-2.4%2023.4-12.6%2025.8-25.7l15.7-85c36.2-13.6%2069.7-32.9%2099.7-57.6l81.3%2028.9c12.5%204.4%2026.5%200.7%2035.1-9.5l1.8-2.1c34.8-41.1%2061.6-87.5%2079.7-137.9l0.9-2.6c4.5-12.3%200.8-26.3-9.3-35zM788.3%20465.9c2.5%2015.1%203.8%2030.6%203.8%2046.1s-1.3%2031-3.8%2046.1l-6.6%2040.1%2074.7%2063.9c-11.3%2026.1-25.6%2050.7-42.6%2073.6L721%20702.8l-31.4%2025.8c-23.9%2019.6-50.5%2035-79.3%2045.8l-38.1%2014.3-17.9%2097c-28.1%203.2-56.8%203.2-85%200l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4%2033.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5%200-15.3%201.2-30.6%203.7-45.5l6.5-40-75.5-64.5c11.3-26.1%2025.6-50.7%2042.6-73.6l93.4%2033.2%2031.4-25.9c23.7-19.5%2050.2-34.9%2078.7-45.7l37.9-14.3%2017.9-97.2c28.1-3.2%2056.8-3.2%2085%200l17.9%2097%2038.1%2014.3c28.7%2010.8%2055.4%2026.2%2079.3%2045.8l31.4%2025.8%2092.8-32.9c17%2022.9%2031.2%2047.6%2042.6%2073.6L781.8%20426l6.5%2039.9z'%20p-id='4843'%20fill='currentColor'%3e%3c/path%3e%3cpath%20d='M512%20326c-97.2%200-176%2078.8-176%20176s78.8%20176%20176%20176%20176-78.8%20176-176-78.8-176-176-176z%20m79.2%20255.2C570%20602.3%20541.9%20614%20512%20614c-29.9%200-58-11.7-79.2-32.8C411.7%20560%20400%20531.9%20400%20502c0-29.9%2011.7-58%2032.8-79.2C454%20401.6%20482.1%20390%20512%20390c29.9%200%2058%2011.6%2079.2%2032.8C612.3%20444%20624%20472.1%20624%20502c0%2029.9-11.7%2058-32.8%2079.2z'%20p-id='4844'%20fill='currentColor'%3e%3c/path%3e%3c/svg%3e";export{c as default};
diff --git a/js/setting-CqYm8XBn.js.gz b/js/setting-CqYm8XBn.js.gz
deleted file mode 100644
index e2284e0b..00000000
Binary files a/js/setting-CqYm8XBn.js.gz and /dev/null differ
diff --git a/js/setting-DyoycADf.js b/js/setting-DyoycADf.js
new file mode 100644
index 00000000..ee8da5b0
--- /dev/null
+++ b/js/setting-DyoycADf.js
@@ -0,0 +1 @@
+const a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M12.22%202h-.44a2%202%200%200%200-2%202v.18a2%202%200%200%201-1%201.73l-.43.25a2%202%200%200%201-2%200l-.15-.08a2%202%200%200%200-2.73.73l-.22.38a2%202%200%200%200%20.73%202.73l.15.1a2%202%200%200%201%201%201.72v.51a2%202%200%200%201-1%201.74l-.15.09a2%202%200%200%200-.73%202.73l.22.38a2%202%200%200%200%202.73.73l.15-.08a2%202%200%200%201%202%200l.43.25a2%202%200%200%201%201%201.73V20a2%202%200%200%200%202%202h.44a2%202%200%200%200%202-2v-.18a2%202%200%200%201%201-1.73l.43-.25a2%202%200%200%201%202%200l.15.08a2%202%200%200%200%202.73-.73l.22-.39a2%202%200%200%200-.73-2.73l-.15-.08a2%202%200%200%201-1-1.74v-.5a2%202%200%200%201%201-1.74l.15-.09a2%202%200%200%200%20.73-2.73l-.22-.38a2%202%200%200%200-2.73-.73l-.15.08a2%202%200%200%201-2%200l-.43-.25a2%202%200%200%201-1-1.73V4a2%202%200%200%200-2-2z'%3e%3c/path%3e%3ccircle%20cx='12'%20cy='12'%20r='3'%3e%3c/circle%3e%3c/svg%3e";export{a as default};
diff --git a/js/setting-DyoycADf.js.gz b/js/setting-DyoycADf.js.gz
new file mode 100644
index 00000000..09772aac
Binary files /dev/null and b/js/setting-DyoycADf.js.gz differ
diff --git a/js/shared-DVfOv8Mx.js b/js/shared-DVfOv8Mx.js
new file mode 100644
index 00000000..d2dbdbe9
--- /dev/null
+++ b/js/shared-DVfOv8Mx.js
@@ -0,0 +1 @@
+const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cpath%20d='M15%203h6v6'%3e%3c/path%3e%3cpath%20d='M10%2014%2021%203'%3e%3c/path%3e%3cpath%20d='M18%2013v6a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2h6'%3e%3c/path%3e%3c/svg%3e";export{e as default};
diff --git a/js/utils-CsGRTM5U.js b/js/utils-6rpFoFAR.js
similarity index 98%
rename from js/utils-CsGRTM5U.js
rename to js/utils-6rpFoFAR.js
index 3dbc3a30..04c669bf 100644
--- a/js/utils-CsGRTM5U.js
+++ b/js/utils-6rpFoFAR.js
@@ -1 +1 @@
-import{u as We,a as Le,b as ve,c as Pe,L as Ie,S as Fe,A as y,d as je}from"./hooks-BY0i9Xdx.js";import{c as i}from"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{o as Re,c as _}from"./lodash-es@4.17.21-CeZG2a4n.js";import{k as Be,a as Te,q as Me,v as De}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{w as g,f as Oe}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";const $=["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2","#9b8bba","#e098c7","#8fd3e8","#71669e","#cc70af","#7cb4cc","#7EC4FF","#5FCBB0","#49C4BF","#F0C9CA","#34DC90","#3295E0","#EAB62E","#76C3F3","#2DC2C0","#FCC43F","#84CFFF"],A="transparent",E={},k={textStyle:{color:"#ffffff"},subtextStyle:{color:"#dddddd"}},W={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},L={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},v={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},P={itemStyle:{borderWidth:0,borderColor:"#ccc"}},I={itemStyle:{borderWidth:0,borderColor:"#ccc"}},F={itemStyle:{borderWidth:0,borderColor:"#ccc"}},j={itemStyle:{borderWidth:0,borderColor:"#ccc"}},R={itemStyle:{borderWidth:0,borderColor:"#ccc"}},B={itemStyle:{borderWidth:0,borderColor:"#ccc"}},T={itemStyle:{borderWidth:0,borderColor:"#ccc"}},M={itemStyle:{color:"#fc97af",color0:"transparent",borderColor:"#fc97af",borderColor0:"#87f7cf",borderWidth:"2"}},D={itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:"1",color:"#ffffff"},symbolSize:"0",symbol:"circle",smooth:!0,color:["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2"],label:{color:"#293441"}},O={itemStyle:{areaColor:"#f3f3f3",borderColor:"#999999",borderWidth:.5},label:{color:"#893448"},emphasis:{itemStyle:{areaColor:"rgba(255,178,72,1)",borderColor:"#eb8146",borderWidth:1},label:{color:"rgb(137,52,72)"}}},U={itemStyle:{areaColor:"#f3f3f3",borderColor:"#999999",borderWidth:.5},label:{color:"#893448"},emphasis:{itemStyle:{areaColor:"rgba(255,178,72,1)",borderColor:"#eb8146",borderWidth:1},label:{color:"rgb(137,52,72)"}}},V={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},q={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},z={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},K={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},Z={iconStyle:{borderColor:"#999999"},emphasis:{iconStyle:{borderColor:"#666666"}}},G={textStyle:{color:"#999999"},pageTextStyle:{color:"#999999"}},H={axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},X={lineStyle:{color:"#87f7cf",width:1},itemStyle:{color:"#87f7cf",borderWidth:1},controlStyle:{color:"#87f7cf",borderColor:"#87f7cf",borderWidth:.5},checkpointStyle:{color:"#fc97af",borderColor:"#fc97af"},label:{color:"#87f7cf"},emphasis:{itemStyle:{color:"#f7f494"},controlStyle:{color:"#87f7cf",borderColor:"#87f7cf",borderWidth:.5},label:{color:"#87f7cf"}}},Y={color:["#fc97af","#87f7cf"]},J={backgroundColor:"rgba(255,255,255,0)",dataBackgroundColor:"rgba(114,204,255,1)",fillerColor:"rgba(114,204,255,0.2)",handleColor:"#72ccff",handleSize:"100%",textStyle:{color:"#333333"}},N={label:{color:"#293441"},emphasis:{label:{color:"#293441"}}},Ue={color:$,backgroundColor:A,textStyle:E,title:k,line:W,radar:L,bar:v,pie:P,scatter:I,boxplot:F,parallel:j,sankey:R,funnel:B,gauge:T,candlestick:M,graph:D,map:O,geo:U,categoryAxis:V,valueAxis:q,logAxis:z,timeAxis:K,toolbox:Z,legend:G,tooltip:H,timeline:X,visualMap:Y,dataZoom:J,markPoint:N},Ve=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:A,bar:v,boxplot:F,candlestick:M,categoryAxis:V,color:$,dataZoom:J,default:Ue,funnel:B,gauge:T,geo:U,graph:D,legend:G,line:W,logAxis:z,map:O,markPoint:N,parallel:j,pie:P,radar:L,sankey:R,scatter:I,textStyle:E,timeAxis:K,timeline:X,title:k,toolbox:Z,tooltip:H,valueAxis:q,visualMap:Y},Symbol.toStringTag,{value:"Module"})),Q=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089","#516b91","#59c4e6","#edafda","#93b7e3","#a5e7f0","#cbb0e3"],ee="transparent",oe={},te={textStyle:{color:"#008acd"},subtextStyle:{color:"#aaaaaa"}},re={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},le={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},ae={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},se={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ce={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ne={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ie={itemStyle:{borderWidth:0,borderColor:"#ccc"}},de={itemStyle:{borderWidth:0,borderColor:"#ccc"}},fe={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ue={itemStyle:{borderWidth:0,borderColor:"#ccc"}},be={itemStyle:{color:"#d87a80",color0:"#2ec7c9",borderColor:"#d87a80",borderColor0:"#2ec7c9",borderWidth:1}},me={itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1,color:"#aaa"},symbolSize:3,symbol:"emptyCircle",smooth:!0,color:["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],label:{color:"#eee"}},pe={itemStyle:{areaColor:"#dddddd",borderColor:"#eeeeee",borderWidth:.5},label:{color:"#d87a80"},emphasis:{itemStyle:{areaColor:"rgba(254,153,78,1)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},he={itemStyle:{areaColor:"#dddddd",borderColor:"#eeeeee",borderWidth:.5},label:{color:"#d87a80"},emphasis:{itemStyle:{areaColor:"rgba(254,153,78,1)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},Se={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!1,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},ye={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},ge={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},we={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Ce={iconStyle:{borderColor:"#2ec7c9"},emphasis:{iconStyle:{borderColor:"#18a4a6"}}},xe={textStyle:{color:"#333333"}},_e={axisPointer:{lineStyle:{color:"#008acd",width:"1"},crossStyle:{color:"#008acd",width:"1"}}},$e={lineStyle:{color:"#008acd",width:1},itemStyle:{color:"#008acd",borderWidth:1},controlStyle:{color:"#008acd",borderColor:"#008acd",borderWidth:.5},checkpointStyle:{color:"#2ec7c9",borderColor:"#2ec7c9"},label:{color:"#008acd"},emphasis:{itemStyle:{color:"#a9334c"},controlStyle:{color:"#008acd",borderColor:"#008acd",borderWidth:.5},label:{color:"#008acd"}}},Ae={color:["#5ab1ef","#e0ffff"]},Ee={backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd",handleSize:"100%",textStyle:{color:"#333333"}},ke={label:{color:"#eee"},emphasis:{label:{color:"#eee"}}},qe={color:Q,backgroundColor:ee,textStyle:oe,title:te,line:re,radar:le,bar:ae,pie:se,scatter:ce,boxplot:ne,parallel:ie,sankey:de,funnel:fe,gauge:ue,candlestick:be,graph:me,map:pe,geo:he,categoryAxis:Se,valueAxis:ye,logAxis:ge,timeAxis:we,toolbox:Ce,legend:xe,tooltip:_e,timeline:$e,visualMap:Ae,dataZoom:Ee,markPoint:ke},ze=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:ee,bar:ae,boxplot:ne,candlestick:be,categoryAxis:Se,color:Q,dataZoom:Ee,default:qe,funnel:fe,gauge:ue,geo:he,graph:me,legend:xe,line:re,logAxis:ge,map:pe,markPoint:ke,parallel:ie,pie:se,radar:le,sankey:de,scatter:ce,textStyle:oe,timeAxis:we,timeline:$e,title:te,toolbox:Ce,tooltip:_e,valueAxis:ye,visualMap:Ae},Symbol.toStringTag,{value:"Module"})),io=()=>{const e=Object.assign({"/src/app-config/echart-themes/macarons/macarons-dark.json":Ve,"/src/app-config/echart-themes/macarons/macarons.json":ze}),t=/\/([^/]+)\.json$/;return Object.keys(e).reduce((r,l)=>{var s;const a=(s=l.match(t))==null?void 0:s[1];if(a)return r.push({name:a,theme:e[l].default}),r;throw new Error(`[RChart Theme Error]: name ${l} is invalid!`)},[])},fo=e=>{const{getAppTheme:t}=We(),{theme:o}=t();return Object.assign({},e,{text:"loading",color:"#c23531",textColor:o?"#fff":"#000",maskColor:o?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.8)",zlevel:0,fontSize:12,showSpinner:!0,spinnerRadius:10,lineWidth:5,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"})},uo=()=>({notMerge:!0,lazyUpdate:!0,silent:!1,replaceMerge:[]}),bo=(e,t)=>{var a;const{domToImageOptions:o,printOptions:r}=t??{},{create:l}=Le(e,{...o,beforeCreate:s=>{var c,n;(c=o==null?void 0:o.beforeCreate)==null||c.call(o,s),(n=window.$loadingBar)==null||n.start()},created(s,c){var n,f;(n=o==null?void 0:o.created)==null||n.call(o,s,c),(f=window.$loadingBar)==null||f.finish()},createdError(s){var c,n;(c=o==null?void 0:o.createdError)==null||c.call(o,s),(n=window.$loadingBar)==null||n.error()}});(a=l("jpeg"))==null||a.then(s=>{const{print:c}=ve(s,{type:"image",base64:!0,targetStyles:["*"],...Re(r,["type","base64"])});c()})},Ke=".n-menu-item-content--selected",Ze="n-menu-item",mo=()=>{const e=u(Ie),t=e==null?void 0:e.querySelector(Ke),o=u(Fe);let r=0;const l=e==null?void 0:e.querySelector(Ze);if(o){const{height:a}=o.getBoundingClientRect();r=a}if(t&&e){const a=Pe(),{top:s}=e.getBoundingClientRect(),{top:c}=t.getBoundingClientRect(),n=e.scrollTop,f=l?parseInt(window.getComputedStyle(l).marginTop):6;a({top:c-s+n-r-f,left:0,behavior:"smooth"})}};var m=(e=>(e.Windows="Windows",e.MacOS="MacOS",e.Linux="Linux",e.Android="Android",e.IOS="IOS",e.Unknown="Unknown",e))(m||{});const Ge={BASE_URL:"/ray-template/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_APP_OFFICE_PROXY_URL:"https://office.yka.one/",VITE_APP_OFFICE_SCRIPT_URL:"https://office.yka.one/web-apps/apps/api/documents/api.js",VITE_APP_URL:"/"},po=()=>Ge,ho=(e,t)=>{const o=document.createElement("a");o.href=e,o.download=t,o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)},S=(e,t)=>Object.prototype.toString.call(e).includes(t),So=(e=16,t=62)=>{const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[],l=window.crypto||window.msCrypto;let a=0;for(a=0;a{const e=navigator.userAgent;return/windows/i.test(e)?m.Windows:/macintosh|mac os x/i.test(e)?m.MacOS:/linux/i.test(e)?m.Linux:/android/i.test(e)?m.Android:/iphone|ipad|ipod/i.test(e)?m.IOS:m.Unknown},go=(e,t)=>{const o=e.split("?").filter(Boolean)[0],r=t.split("?").filter(Boolean)[0],l=/\/$/;return o.replace(l,"")===r.replace(l,"")};function wo(e,t="sessionStorage",o){const{prefix:r,prefixKey:l}=o??{},a=r?l||y:"",s=t==="localStorage"?window.localStorage:window.sessionStorage;return!!Object.keys(s).find(c=>c===a+e)}function Co(e,t,o="sessionStorage",r){if(!e){console.error(`[setStorage]: Failed to set stored data: key ${e} is empty`);return}const{prefix:l,prefixKey:a}=r??{},s=l?a||y:"";try{const c=JSON.stringify(t);o==="localStorage"?window.localStorage.setItem(s+e,c):window.sessionStorage.setItem(s+e,c)}catch(c){console.error(`[setStorage]: Failed to set stored data for key '${e}'`,c)}}function xo(e,t="sessionStorage",o){const{prefix:r,prefixKey:l,defaultValue:a}=o??{},s=r?l||y:"";try{const c=t==="localStorage"?window.localStorage.getItem(s+e):window.sessionStorage.getItem(s+e);return c===null?a??null:JSON.parse(c)}catch(c){return console.error(`[getStorage]: Failed to get stored data for key '${e}'`,c),a??null}}const _o=(e,t,o)=>{if(!e){console.error(`[removeStorage]: Failed to remove stored data: key ${e} is empty or undefined`);return}const{prefix:r,prefixKey:l}=o??{},a=r?l||y:"",s=Object.keys(window.localStorage),c=Object.keys(window.sessionStorage),n=(f,p)=>{(f?[...c,...s]:p==="localStorage"?s:c).forEach(b=>{e==="__all__"?(window.sessionStorage.removeItem(a+b),window.localStorage.removeItem(a+b)):p==="localStorage"?window.localStorage.removeItem(a+b):window.sessionStorage.removeItem(a+b)})};switch(e){case"__all__":n(!0);break;case"__all_sessionStorage__":n(!1,"sessionStorage");break;case"__all_localStorage__":n(!1,"localStorage");break;default:t==="localStorage"?window.localStorage.removeItem(a+e):window.sessionStorage.removeItem(a+e);break}},$o=(e,t)=>{const r=g(()=>u(e),()=>{const l=u(e);l&&(typeof t=="string"?t.trim().split(" "):t).forEach(s=>{s&&l.classList.add(s)})},{immediate:!0});h(r)},Ao=(e,t)=>{const r=g(()=>u(e),()=>{const l=u(e);if(l)if(t==="removeAllClass"){const a=l.classList;a.forEach(s=>a.remove(s))}else(typeof t=="string"?t.trim().split(" "):t).forEach(s=>{s&&l.classList.remove(s)})},{immediate:!0});h(r)},Eo=(e,t)=>{const o=Be(!1),l=g(()=>u(e),()=>{const a=u(e);if(!a)o.value=!1;else{const s=a.className,c=t.trim().split(" ").filter(n=>n!=="");o.value=c.some(n=>s.includes(n))}},{immediate:!0});return h(l),o},He=e=>{const t=["webkit","moz","ms","o"],o={};return t.forEach(r=>{o[`${r}${e.charAt(0).toUpperCase()}${e.slice(1)}`]=e}),o[e]=e,o},ko=(e,t)=>{const o=(a,s)=>{a.split(";").forEach(c=>{const[n,f]=c.split(":");if(n&&f){const p=n.trim(),C=f.trim();if(n.startsWith("--"))s.style.setProperty(p,C);else if(n.startsWith("-"))s.style[n]=f;else{const b=He(p);Object.keys(b).forEach(x=>{s.style[x]=b[x]}),s.style[p]=C}}})},l=g(()=>u(e),()=>{const a=u(e);a&&(S(t,"String")?o(t,a):S(t,"Array")?t.forEach(s=>{o(s,a)}):Object.keys(t).forEach(c=>{o(`${c}: ${t[c]}`,a)}))},{immediate:!0});h(l)},Wo=(e,t=1)=>{if(e.includes("rgba"))return e;if(e.includes("rgb"))return e.replace("rgb","rgba").replace(")",`, ${t})`);if(e.includes("#")){const o=e.replace("#","");switch(o.length){case 3:return`rgba(${parseInt(o[0]+o[0],16)}, ${parseInt(o[1]+o[1],16)}, ${parseInt(o[2]+o[2],16)}, ${t})`;case 6:return`rgba(${parseInt(o.slice(0,2),16)}, ${parseInt(o.slice(2,4),16)}, ${parseInt(o.slice(4,6),16)}, ${t})`;case 8:return`rgba(${parseInt(o.slice(0,2),16)}, ${parseInt(o.slice(2,4),16)}, ${parseInt(o.slice(4,6),16)}, ${(parseInt(o.slice(6,8),16)/255).toFixed(2)})`;default:return e}}return e},Lo=(e,t)=>{const{defaultElement:o}={};if(!e)return o?[o]:null;const r=e.startsWith("attr:")?`[${e.replace("attr:","")}]`:e;try{const l=Array.from(document.querySelectorAll(r));return!l.length&&o?[o]:l}catch(l){return console.error(`[queryElements]: Failed to get elements for selector '${e}'`,l),o?[o]:null}},vo=(e,t="px")=>e==="auto"?e:typeof e=="number"?e.toString()+t:S(e,"String")&&je.cssUnit.test(e)?e:e+t,d={precision:8,decimal:"."},w=(e,t,o)=>e!=null&&e.length?e.length===1?i(e[0],d):e.reduce((l,a,s,c)=>(l=o==null?void 0:o(l,a,s,c),l),t):0,Xe=(e,t)=>{const o=Object.assign({},d,t),r=i(e,o),{type:l="number"}=o;return l==="number"?r.value:r.toString()},Po=(...e)=>e.length===1?i(e[0],d).add(0):w(e,0,(t,o)=>i(t,d).add(o)),Io=(...e)=>{if(e.length===1)return i(e[0],d).subtract(0);if(e.length===2){const[r,l]=e;return i(r,d).subtract(l)}const t=_(e),o=t.shift();return t.length?w(t,o,(r,l)=>i(r,d).subtract(l)):o},Fo=(...e)=>e.length===1?i(e[0],d).multiply(1):w(e,1,(t,o)=>i(t,d).multiply(o)),jo=(...e)=>{if(e.length===1)return i(e[0],d).divide(1);if(e.length===2){const[r,l]=e;return i(r,d).divide(l)}const t=_(e),o=t.shift();return w(t,o,(r,l)=>i(r,d).divide(l))},Ro=(e,t,o)=>{if(t<=1)return[e||0];if(!e)return new Array(t).fill(0);const r=Object.assign({},d,o);return i(e,r).distribute(t).map(a=>Xe(a,r))};function Ye(e,...t){if(Array.isArray(e))e.forEach(o=>Ye(o,...t));else return e(...t)}function u(e,t){var r;if(!e)return t;let o;return typeof e=="function"?o=e():Te(e)?o=((r=e.value)==null?void 0:r.$el)??e.value:o=e,o}function Bo(e,t){if(!e){const{defaultElement:o=null}=t??{};return typeof o=="function"?o:()=>o}if(typeof e=="string"||S(e,"Object"))return()=>e;if(typeof e=="function")return e}function h(e){return Me()?(De(e),!0):!1}function To(e,t){const o=Oe(e,t);h(o)}const Mo=(e,t,o,r)=>{if(!e||typeof e!="object"){console.warn(`[updateObjectValue]: targetObject must be an object, expected ${typeof e}`);return}Object.hasOwn(e,t)&&(typeof o=="object"?e[t]=Object.assign({},e[t],o):e[t]=o,r==null||r())};export{u as A,wo as B,Xe as C,Ro as D,Po as E,Io as F,Fo as G,jo as H,po as a,uo as b,Wo as c,io as d,vo as e,Ye as f,xo as g,ho as h,S as i,So as j,ko as k,fo as l,$o as m,h as n,go as o,bo as p,Lo as q,Bo as r,Co as s,_o as t,Mo as u,mo as v,Ao as w,yo as x,Eo as y,To as z};
+import{u as We,a as Le,b as ve,c as Pe,L as Ie,S as Fe,A as y,d as je}from"./hooks-DonDO7vb.js";import{c as i}from"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import{o as Re,c as _}from"./lodash-es@4.17.21-CeZG2a4n.js";import{k as Be,a as Te,q as Me,v as De}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{w as g,f as Oe}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";const $=["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2","#9b8bba","#e098c7","#8fd3e8","#71669e","#cc70af","#7cb4cc","#7EC4FF","#5FCBB0","#49C4BF","#F0C9CA","#34DC90","#3295E0","#EAB62E","#76C3F3","#2DC2C0","#FCC43F","#84CFFF"],A="transparent",E={},k={textStyle:{color:"#ffffff"},subtextStyle:{color:"#dddddd"}},W={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},L={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},v={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},P={itemStyle:{borderWidth:0,borderColor:"#ccc"}},I={itemStyle:{borderWidth:0,borderColor:"#ccc"}},F={itemStyle:{borderWidth:0,borderColor:"#ccc"}},j={itemStyle:{borderWidth:0,borderColor:"#ccc"}},R={itemStyle:{borderWidth:0,borderColor:"#ccc"}},B={itemStyle:{borderWidth:0,borderColor:"#ccc"}},T={itemStyle:{borderWidth:0,borderColor:"#ccc"}},M={itemStyle:{color:"#fc97af",color0:"transparent",borderColor:"#fc97af",borderColor0:"#87f7cf",borderWidth:"2"}},D={itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:"1",color:"#ffffff"},symbolSize:"0",symbol:"circle",smooth:!0,color:["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2"],label:{color:"#293441"}},O={itemStyle:{areaColor:"#f3f3f3",borderColor:"#999999",borderWidth:.5},label:{color:"#893448"},emphasis:{itemStyle:{areaColor:"rgba(255,178,72,1)",borderColor:"#eb8146",borderWidth:1},label:{color:"rgb(137,52,72)"}}},U={itemStyle:{areaColor:"#f3f3f3",borderColor:"#999999",borderWidth:.5},label:{color:"#893448"},emphasis:{itemStyle:{areaColor:"rgba(255,178,72,1)",borderColor:"#eb8146",borderWidth:1},label:{color:"rgb(137,52,72)"}}},V={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},q={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},z={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},K={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},Z={iconStyle:{borderColor:"#999999"},emphasis:{iconStyle:{borderColor:"#666666"}}},G={textStyle:{color:"#999999"},pageTextStyle:{color:"#999999"}},H={axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},X={lineStyle:{color:"#87f7cf",width:1},itemStyle:{color:"#87f7cf",borderWidth:1},controlStyle:{color:"#87f7cf",borderColor:"#87f7cf",borderWidth:.5},checkpointStyle:{color:"#fc97af",borderColor:"#fc97af"},label:{color:"#87f7cf"},emphasis:{itemStyle:{color:"#f7f494"},controlStyle:{color:"#87f7cf",borderColor:"#87f7cf",borderWidth:.5},label:{color:"#87f7cf"}}},Y={color:["#fc97af","#87f7cf"]},J={backgroundColor:"rgba(255,255,255,0)",dataBackgroundColor:"rgba(114,204,255,1)",fillerColor:"rgba(114,204,255,0.2)",handleColor:"#72ccff",handleSize:"100%",textStyle:{color:"#333333"}},N={label:{color:"#293441"},emphasis:{label:{color:"#293441"}}},Ue={color:$,backgroundColor:A,textStyle:E,title:k,line:W,radar:L,bar:v,pie:P,scatter:I,boxplot:F,parallel:j,sankey:R,funnel:B,gauge:T,candlestick:M,graph:D,map:O,geo:U,categoryAxis:V,valueAxis:q,logAxis:z,timeAxis:K,toolbox:Z,legend:G,tooltip:H,timeline:X,visualMap:Y,dataZoom:J,markPoint:N},Ve=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:A,bar:v,boxplot:F,candlestick:M,categoryAxis:V,color:$,dataZoom:J,default:Ue,funnel:B,gauge:T,geo:U,graph:D,legend:G,line:W,logAxis:z,map:O,markPoint:N,parallel:j,pie:P,radar:L,sankey:R,scatter:I,textStyle:E,timeAxis:K,timeline:X,title:k,toolbox:Z,tooltip:H,valueAxis:q,visualMap:Y},Symbol.toStringTag,{value:"Module"})),Q=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089","#516b91","#59c4e6","#edafda","#93b7e3","#a5e7f0","#cbb0e3"],ee="transparent",oe={},te={textStyle:{color:"#008acd"},subtextStyle:{color:"#aaaaaa"}},re={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},le={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},ae={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},se={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ce={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ne={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ie={itemStyle:{borderWidth:0,borderColor:"#ccc"}},de={itemStyle:{borderWidth:0,borderColor:"#ccc"}},fe={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ue={itemStyle:{borderWidth:0,borderColor:"#ccc"}},be={itemStyle:{color:"#d87a80",color0:"#2ec7c9",borderColor:"#d87a80",borderColor0:"#2ec7c9",borderWidth:1}},me={itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1,color:"#aaa"},symbolSize:3,symbol:"emptyCircle",smooth:!0,color:["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],label:{color:"#eee"}},pe={itemStyle:{areaColor:"#dddddd",borderColor:"#eeeeee",borderWidth:.5},label:{color:"#d87a80"},emphasis:{itemStyle:{areaColor:"rgba(254,153,78,1)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},he={itemStyle:{areaColor:"#dddddd",borderColor:"#eeeeee",borderWidth:.5},label:{color:"#d87a80"},emphasis:{itemStyle:{areaColor:"rgba(254,153,78,1)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},Se={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!1,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},ye={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},ge={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},we={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Ce={iconStyle:{borderColor:"#2ec7c9"},emphasis:{iconStyle:{borderColor:"#18a4a6"}}},xe={textStyle:{color:"#333333"}},_e={axisPointer:{lineStyle:{color:"#008acd",width:"1"},crossStyle:{color:"#008acd",width:"1"}}},$e={lineStyle:{color:"#008acd",width:1},itemStyle:{color:"#008acd",borderWidth:1},controlStyle:{color:"#008acd",borderColor:"#008acd",borderWidth:.5},checkpointStyle:{color:"#2ec7c9",borderColor:"#2ec7c9"},label:{color:"#008acd"},emphasis:{itemStyle:{color:"#a9334c"},controlStyle:{color:"#008acd",borderColor:"#008acd",borderWidth:.5},label:{color:"#008acd"}}},Ae={color:["#5ab1ef","#e0ffff"]},Ee={backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd",handleSize:"100%",textStyle:{color:"#333333"}},ke={label:{color:"#eee"},emphasis:{label:{color:"#eee"}}},qe={color:Q,backgroundColor:ee,textStyle:oe,title:te,line:re,radar:le,bar:ae,pie:se,scatter:ce,boxplot:ne,parallel:ie,sankey:de,funnel:fe,gauge:ue,candlestick:be,graph:me,map:pe,geo:he,categoryAxis:Se,valueAxis:ye,logAxis:ge,timeAxis:we,toolbox:Ce,legend:xe,tooltip:_e,timeline:$e,visualMap:Ae,dataZoom:Ee,markPoint:ke},ze=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:ee,bar:ae,boxplot:ne,candlestick:be,categoryAxis:Se,color:Q,dataZoom:Ee,default:qe,funnel:fe,gauge:ue,geo:he,graph:me,legend:xe,line:re,logAxis:ge,map:pe,markPoint:ke,parallel:ie,pie:se,radar:le,sankey:de,scatter:ce,textStyle:oe,timeAxis:we,timeline:$e,title:te,toolbox:Ce,tooltip:_e,valueAxis:ye,visualMap:Ae},Symbol.toStringTag,{value:"Module"})),io=()=>{const e=Object.assign({"/src/app-config/echart-themes/macarons/macarons-dark.json":Ve,"/src/app-config/echart-themes/macarons/macarons.json":ze}),t=/\/([^/]+)\.json$/;return Object.keys(e).reduce((r,l)=>{var s;const a=(s=l.match(t))==null?void 0:s[1];if(a)return r.push({name:a,theme:e[l].default}),r;throw new Error(`[RChart Theme Error]: name ${l} is invalid!`)},[])},fo=e=>{const{getAppTheme:t}=We(),{theme:o}=t();return Object.assign({},e,{text:"loading",color:"#c23531",textColor:o?"#fff":"#000",maskColor:o?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.8)",zlevel:0,fontSize:12,showSpinner:!0,spinnerRadius:10,lineWidth:5,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"})},uo=()=>({notMerge:!0,lazyUpdate:!0,silent:!1,replaceMerge:[]}),bo=(e,t)=>{var a;const{domToImageOptions:o,printOptions:r}=t??{},{create:l}=Le(e,{...o,beforeCreate:s=>{var c,n;(c=o==null?void 0:o.beforeCreate)==null||c.call(o,s),(n=window.$loadingBar)==null||n.start()},created(s,c){var n,f;(n=o==null?void 0:o.created)==null||n.call(o,s,c),(f=window.$loadingBar)==null||f.finish()},createdError(s){var c,n;(c=o==null?void 0:o.createdError)==null||c.call(o,s),(n=window.$loadingBar)==null||n.error()}});(a=l("jpeg"))==null||a.then(s=>{const{print:c}=ve(s,{type:"image",base64:!0,targetStyles:["*"],...Re(r,["type","base64"])});c()})},Ke=".n-menu-item-content--selected",Ze="n-menu-item",mo=()=>{const e=u(Ie),t=e==null?void 0:e.querySelector(Ke),o=u(Fe);let r=0;const l=e==null?void 0:e.querySelector(Ze);if(o){const{height:a}=o.getBoundingClientRect();r=a}if(t&&e){const a=Pe(),{top:s}=e.getBoundingClientRect(),{top:c}=t.getBoundingClientRect(),n=e.scrollTop,f=l?parseInt(window.getComputedStyle(l).marginTop):6;a({top:c-s+n-r-f,left:0,behavior:"smooth"})}};var m=(e=>(e.Windows="Windows",e.MacOS="MacOS",e.Linux="Linux",e.Android="Android",e.IOS="IOS",e.Unknown="Unknown",e))(m||{});const Ge={BASE_URL:"/ray-template/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_APP_OFFICE_PROXY_URL:"https://office.yka.one/",VITE_APP_OFFICE_SCRIPT_URL:"https://office.yka.one/web-apps/apps/api/documents/api.js",VITE_APP_URL:"/"},po=()=>Ge,ho=(e,t)=>{const o=document.createElement("a");o.href=e,o.download=t,o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)},S=(e,t)=>Object.prototype.toString.call(e).includes(t),So=(e=16,t=62)=>{const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[],l=window.crypto||window.msCrypto;let a=0;for(a=0;a{const e=navigator.userAgent;return/windows/i.test(e)?m.Windows:/macintosh|mac os x/i.test(e)?m.MacOS:/linux/i.test(e)?m.Linux:/android/i.test(e)?m.Android:/iphone|ipad|ipod/i.test(e)?m.IOS:m.Unknown},go=(e,t)=>{const o=e.split("?").filter(Boolean)[0],r=t.split("?").filter(Boolean)[0],l=/\/$/;return o.replace(l,"")===r.replace(l,"")};function wo(e,t="sessionStorage",o){const{prefix:r,prefixKey:l}=o??{},a=r?l||y:"",s=t==="localStorage"?window.localStorage:window.sessionStorage;return!!Object.keys(s).find(c=>c===a+e)}function Co(e,t,o="sessionStorage",r){if(!e){console.error(`[setStorage]: Failed to set stored data: key ${e} is empty`);return}const{prefix:l,prefixKey:a}=r??{},s=l?a||y:"";try{const c=JSON.stringify(t);o==="localStorage"?window.localStorage.setItem(s+e,c):window.sessionStorage.setItem(s+e,c)}catch(c){console.error(`[setStorage]: Failed to set stored data for key '${e}'`,c)}}function xo(e,t="sessionStorage",o){const{prefix:r,prefixKey:l,defaultValue:a}=o??{},s=r?l||y:"";try{const c=t==="localStorage"?window.localStorage.getItem(s+e):window.sessionStorage.getItem(s+e);return c===null?a??null:JSON.parse(c)}catch(c){return console.error(`[getStorage]: Failed to get stored data for key '${e}'`,c),a??null}}const _o=(e,t,o)=>{if(!e){console.error(`[removeStorage]: Failed to remove stored data: key ${e} is empty or undefined`);return}const{prefix:r,prefixKey:l}=o??{},a=r?l||y:"",s=Object.keys(window.localStorage),c=Object.keys(window.sessionStorage),n=(f,p)=>{(f?[...c,...s]:p==="localStorage"?s:c).forEach(b=>{e==="__all__"?(window.sessionStorage.removeItem(a+b),window.localStorage.removeItem(a+b)):p==="localStorage"?window.localStorage.removeItem(a+b):window.sessionStorage.removeItem(a+b)})};switch(e){case"__all__":n(!0);break;case"__all_sessionStorage__":n(!1,"sessionStorage");break;case"__all_localStorage__":n(!1,"localStorage");break;default:t==="localStorage"?window.localStorage.removeItem(a+e):window.sessionStorage.removeItem(a+e);break}},$o=(e,t)=>{const r=g(()=>u(e),()=>{const l=u(e);l&&(typeof t=="string"?t.trim().split(" "):t).forEach(s=>{s&&l.classList.add(s)})},{immediate:!0});h(r)},Ao=(e,t)=>{const r=g(()=>u(e),()=>{const l=u(e);if(l)if(t==="removeAllClass"){const a=l.classList;a.forEach(s=>a.remove(s))}else(typeof t=="string"?t.trim().split(" "):t).forEach(s=>{s&&l.classList.remove(s)})},{immediate:!0});h(r)},Eo=(e,t)=>{const o=Be(!1),l=g(()=>u(e),()=>{const a=u(e);if(!a)o.value=!1;else{const s=a.className,c=t.trim().split(" ").filter(n=>n!=="");o.value=c.some(n=>s.includes(n))}},{immediate:!0});return h(l),o},He=e=>{const t=["webkit","moz","ms","o"],o={};return t.forEach(r=>{o[`${r}${e.charAt(0).toUpperCase()}${e.slice(1)}`]=e}),o[e]=e,o},ko=(e,t)=>{const o=(a,s)=>{a.split(";").forEach(c=>{const[n,f]=c.split(":");if(n&&f){const p=n.trim(),C=f.trim();if(n.startsWith("--"))s.style.setProperty(p,C);else if(n.startsWith("-"))s.style[n]=f;else{const b=He(p);Object.keys(b).forEach(x=>{s.style[x]=b[x]}),s.style[p]=C}}})},l=g(()=>u(e),()=>{const a=u(e);a&&(S(t,"String")?o(t,a):S(t,"Array")?t.forEach(s=>{o(s,a)}):Object.keys(t).forEach(c=>{o(`${c}: ${t[c]}`,a)}))},{immediate:!0});h(l)},Wo=(e,t=1)=>{if(e.includes("rgba"))return e;if(e.includes("rgb"))return e.replace("rgb","rgba").replace(")",`, ${t})`);if(e.includes("#")){const o=e.replace("#","");switch(o.length){case 3:return`rgba(${parseInt(o[0]+o[0],16)}, ${parseInt(o[1]+o[1],16)}, ${parseInt(o[2]+o[2],16)}, ${t})`;case 6:return`rgba(${parseInt(o.slice(0,2),16)}, ${parseInt(o.slice(2,4),16)}, ${parseInt(o.slice(4,6),16)}, ${t})`;case 8:return`rgba(${parseInt(o.slice(0,2),16)}, ${parseInt(o.slice(2,4),16)}, ${parseInt(o.slice(4,6),16)}, ${(parseInt(o.slice(6,8),16)/255).toFixed(2)})`;default:return e}}return e},Lo=(e,t)=>{const{defaultElement:o}={};if(!e)return o?[o]:null;const r=e.startsWith("attr:")?`[${e.replace("attr:","")}]`:e;try{const l=Array.from(document.querySelectorAll(r));return!l.length&&o?[o]:l}catch(l){return console.error(`[queryElements]: Failed to get elements for selector '${e}'`,l),o?[o]:null}},vo=(e,t="px")=>e==="auto"?e:typeof e=="number"?e.toString()+t:S(e,"String")&&je.cssUnit.test(e)?e:e+t,d={precision:8,decimal:"."},w=(e,t,o)=>e!=null&&e.length?e.length===1?i(e[0],d):e.reduce((l,a,s,c)=>(l=o==null?void 0:o(l,a,s,c),l),t):0,Xe=(e,t)=>{const o=Object.assign({},d,t),r=i(e,o),{type:l="number"}=o;return l==="number"?r.value:r.toString()},Po=(...e)=>e.length===1?i(e[0],d).add(0):w(e,0,(t,o)=>i(t,d).add(o)),Io=(...e)=>{if(e.length===1)return i(e[0],d).subtract(0);if(e.length===2){const[r,l]=e;return i(r,d).subtract(l)}const t=_(e),o=t.shift();return t.length?w(t,o,(r,l)=>i(r,d).subtract(l)):o},Fo=(...e)=>e.length===1?i(e[0],d).multiply(1):w(e,1,(t,o)=>i(t,d).multiply(o)),jo=(...e)=>{if(e.length===1)return i(e[0],d).divide(1);if(e.length===2){const[r,l]=e;return i(r,d).divide(l)}const t=_(e),o=t.shift();return w(t,o,(r,l)=>i(r,d).divide(l))},Ro=(e,t,o)=>{if(t<=1)return[e||0];if(!e)return new Array(t).fill(0);const r=Object.assign({},d,o);return i(e,r).distribute(t).map(a=>Xe(a,r))};function Ye(e,...t){if(Array.isArray(e))e.forEach(o=>Ye(o,...t));else return e(...t)}function u(e,t){var r;if(!e)return t;let o;return typeof e=="function"?o=e():Te(e)?o=((r=e.value)==null?void 0:r.$el)??e.value:o=e,o}function Bo(e,t){if(!e){const{defaultElement:o=null}=t??{};return typeof o=="function"?o:()=>o}if(typeof e=="string"||S(e,"Object"))return()=>e;if(typeof e=="function")return e}function h(e){return Me()?(De(e),!0):!1}function To(e,t){const o=Oe(e,t);h(o)}const Mo=(e,t,o,r)=>{if(!e||typeof e!="object"){console.warn(`[updateObjectValue]: targetObject must be an object, expected ${typeof e}`);return}Object.hasOwn(e,t)&&(typeof o=="object"?e[t]=Object.assign({},e[t],o):e[t]=o,r==null||r())};export{u as A,wo as B,Xe as C,Ro as D,Po as E,Io as F,Fo as G,jo as H,po as a,uo as b,Wo as c,io as d,vo as e,Ye as f,xo as g,ho as h,S as i,So as j,ko as k,fo as l,$o as m,h as n,go as o,bo as p,Lo as q,Bo as r,Co as s,_o as t,Mo as u,mo as v,Ao as w,yo as x,Eo as y,To as z};
diff --git a/js/utils-6rpFoFAR.js.gz b/js/utils-6rpFoFAR.js.gz
new file mode 100644
index 00000000..5bea94cc
Binary files /dev/null and b/js/utils-6rpFoFAR.js.gz differ
diff --git a/js/utils-CsGRTM5U.js.gz b/js/utils-CsGRTM5U.js.gz
deleted file mode 100644
index 928d9771..00000000
Binary files a/js/utils-CsGRTM5U.js.gz and /dev/null differ
diff --git a/js/vooks@0.2.12_vue@3.5.12-CqIGVsaf.js b/js/vooks@0.2.12_vue@3.5.12-CeQQlSXI.js
similarity index 71%
rename from js/vooks@0.2.12_vue@3.5.12-CqIGVsaf.js
rename to js/vooks@0.2.12_vue@3.5.12-CeQQlSXI.js
index eb821895..b91ee64a 100644
--- a/js/vooks@0.2.12_vue@3.5.12-CqIGVsaf.js
+++ b/js/vooks@0.2.12_vue@3.5.12-CeQQlSXI.js
@@ -1 +1 @@
-import{k as c,l as d,e as L}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{w as C,j as v,d as S,k as H,q as b,p as T}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{o as m,a as p}from"./evtd@0.2.4-CI_DDEu_.js";function K(e){const t=c(!!e.value);if(t.value)return d(t);const n=C(e,o=>{o&&(t.value=!0,n())});return d(t)}function Q(e){const t=v(e),n=c(t.value);return C(t,o=>{n.value=o}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(o){e.set(o)}}}function B(){return S()!==null}const E=typeof window<"u";let k,y;const D=()=>{var e,t;k=E?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,y=!1,k!==void 0?k.then(()=>{y=!0}):y=!0};D();function z(e){if(y)return;let t=!1;H(()=>{y||k==null||k.then(()=>{t||e()})}),b(()=>{t=!0})}const h=c(null);function I(e){if(e.clientX>0||e.clientY>0)h.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:n,top:o,width:u,height:a}=t.getBoundingClientRect();n>0||o>0?h.value={x:n+u/2,y:o+a/2}:h.value={x:0,y:0}}else h.value=null}}let g=0,_=!0;function A(){if(!E)return d(c(null));g===0&&m("click",document,I,!0);const e=()=>{g+=1};return _&&(_=B())?(T(e),b(()=>{g-=1,g===0&&p("click",document,I,!0)})):e(),d(h)}const F=c(void 0);let M=0;function j(){F.value=Date.now()}let q=!0;function G(e){if(!E)return d(c(!1));const t=c(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function u(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}M===0&&m("click",window,j,!0);const a=()=>{M+=1,m("click",window,u,!0)};return q&&(q=B())?(T(a),b(()=>{M-=1,M===0&&p("click",window,j,!0),p("click",window,u,!0),o()})):a(),d(t)}function J(e,t){return C(e,n=>{n!==void 0&&(t.value=n)}),v(()=>e.value===void 0?t.value:e.value)}function O(){const e=c(!1);return H(()=>{e.value=!0}),d(e)}function W(e,t){return v(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const R=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function Z(){return R}const $={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function U(e){return`(min-width: ${e}px)`}const w={};function N(e=$){if(!E)return v(()=>[]);if(typeof window.matchMedia!="function")return v(()=>[]);const t=c({}),n=Object.keys(e),o=(u,a)=>{u.matches?t.value[a]=!0:t.value[a]=!1};return n.forEach(u=>{const a=e[u];let s,r;w[a]===void 0?(s=window.matchMedia(U(a)),s.addEventListener?s.addEventListener("change",i=>{r.forEach(f=>{f(i,u)})}):s.addListener&&s.addListener(i=>{r.forEach(f=>{f(i,u)})}),r=new Set,w[a]={mql:s,cbs:r}):(s=w[a].mql,r=w[a].cbs),r.add(o),s.matches&&r.forEach(i=>{i(s,u)})}),b(()=>{n.forEach(u=>{const{cbs:a}=w[e[u]];a.has(o)&&a.delete(o)})}),v(()=>{const{value:u}=t;return n.filter(a=>u[a])})}function ee(e={},t){const n=L({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:o,keyup:u}=e,a=i=>{switch(i.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0;break}o!==void 0&&Object.keys(o).forEach(f=>{if(f!==i.key)return;const l=o[f];if(typeof l=="function")l(i);else{const{stop:x=!1,prevent:P=!1}=l;x&&i.stopPropagation(),P&&i.preventDefault(),l.handler(i)}})},s=i=>{switch(i.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1;break}u!==void 0&&Object.keys(u).forEach(f=>{if(f!==i.key)return;const l=u[f];if(typeof l=="function")l(i);else{const{stop:x=!1,prevent:P=!1}=l;x&&i.stopPropagation(),P&&i.preventDefault(),l.handler(i)}})},r=()=>{(t===void 0||t.value)&&(m("keydown",document,a),m("keyup",document,s)),t!==void 0&&C(t,i=>{i?(m("keydown",document,a),m("keyup",document,s)):(p("keydown",document,a),p("keyup",document,s))})};return B()?(T(r),b(()=>{(t===void 0||t.value)&&(p("keydown",document,a),p("keyup",document,s))})):r(),d(n)}export{Z as a,J as b,W as c,ee as d,G as e,A as f,N as g,K as h,O as i,z as o,Q as u};
+import{k as c,l as d,e as S}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{w as C,j as p,d as q,k as L,v as b,t as T}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{o as m,a as v}from"./evtd@0.2.4-CI_DDEu_.js";function K(e){const t=c(!!e.value);if(t.value)return d(t);const n=C(e,o=>{o&&(t.value=!0,n())});return d(t)}function Q(e){const t=p(e),n=c(t.value);return C(t,o=>{n.value=o}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(o){e.set(o)}}}function B(){return q()!==null}const E=typeof window<"u";let k,y;const D=()=>{var e,t;k=E?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,y=!1,k!==void 0?k.then(()=>{y=!0}):y=!0};D();function z(e){if(y)return;let t=!1;L(()=>{y||k==null||k.then(()=>{t||e()})}),b(()=>{t=!0})}const h=c(null);function I(e){if(e.clientX>0||e.clientY>0)h.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:n,top:o,width:u,height:a}=t.getBoundingClientRect();n>0||o>0?h.value={x:n+u/2,y:o+a/2}:h.value={x:0,y:0}}else h.value=null}}let g=0,_=!0;function A(){if(!E)return d(c(null));g===0&&m("click",document,I,!0);const e=()=>{g+=1};return _&&(_=B())?(T(e),b(()=>{g-=1,g===0&&v("click",document,I,!0)})):e(),d(h)}const F=c(void 0);let M=0;function j(){F.value=Date.now()}let H=!0;function G(e){if(!E)return d(c(!1));const t=c(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function u(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}M===0&&m("click",window,j,!0);const a=()=>{M+=1,m("click",window,u,!0)};return H&&(H=B())?(T(a),b(()=>{M-=1,M===0&&v("click",window,j,!0),v("click",window,u,!0),o()})):a(),d(t)}function J(e,t){return C(e,n=>{n!==void 0&&(t.value=n)}),p(()=>e.value===void 0?t.value:e.value)}function O(){const e=c(!1);return L(()=>{e.value=!0}),d(e)}function W(e,t){return p(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const R=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function Z(){return R}const $={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function U(e){return`(min-width: ${e}px)`}const w={};function N(e=$){if(!E)return p(()=>[]);if(typeof window.matchMedia!="function")return p(()=>[]);const t=c({}),n=Object.keys(e),o=(u,a)=>{u.matches?t.value[a]=!0:t.value[a]=!1};return n.forEach(u=>{const a=e[u];let s,r;w[a]===void 0?(s=window.matchMedia(U(a)),s.addEventListener?s.addEventListener("change",i=>{r.forEach(f=>{f(i,u)})}):s.addListener&&s.addListener(i=>{r.forEach(f=>{f(i,u)})}),r=new Set,w[a]={mql:s,cbs:r}):(s=w[a].mql,r=w[a].cbs),r.add(o),s.matches&&r.forEach(i=>{i(s,u)})}),b(()=>{n.forEach(u=>{const{cbs:a}=w[e[u]];a.has(o)&&a.delete(o)})}),p(()=>{const{value:u}=t;return n.filter(a=>u[a])})}function ee(e={},t){const n=S({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:o,keyup:u}=e,a=i=>{switch(i.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0;break}o!==void 0&&Object.keys(o).forEach(f=>{if(f!==i.key)return;const l=o[f];if(typeof l=="function")l(i);else{const{stop:x=!1,prevent:P=!1}=l;x&&i.stopPropagation(),P&&i.preventDefault(),l.handler(i)}})},s=i=>{switch(i.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1;break}u!==void 0&&Object.keys(u).forEach(f=>{if(f!==i.key)return;const l=u[f];if(typeof l=="function")l(i);else{const{stop:x=!1,prevent:P=!1}=l;x&&i.stopPropagation(),P&&i.preventDefault(),l.handler(i)}})},r=()=>{(t===void 0||t.value)&&(m("keydown",document,a),m("keyup",document,s)),t!==void 0&&C(t,i=>{i?(m("keydown",document,a),m("keyup",document,s)):(v("keydown",document,a),v("keyup",document,s))})};return B()?(T(r),b(()=>{(t===void 0||t.value)&&(v("keydown",document,a),v("keyup",document,s))})):r(),d(n)}export{Z as a,J as b,W as c,ee as d,G as e,A as f,N as g,K as h,O as i,z as o,Q as u};
diff --git a/js/vooks@0.2.12_vue@3.5.12-CeQQlSXI.js.gz b/js/vooks@0.2.12_vue@3.5.12-CeQQlSXI.js.gz
new file mode 100644
index 00000000..ac815a33
Binary files /dev/null and b/js/vooks@0.2.12_vue@3.5.12-CeQQlSXI.js.gz differ
diff --git a/js/vooks@0.2.12_vue@3.5.12-CqIGVsaf.js.gz b/js/vooks@0.2.12_vue@3.5.12-CqIGVsaf.js.gz
deleted file mode 100644
index e0580397..00000000
Binary files a/js/vooks@0.2.12_vue@3.5.12-CqIGVsaf.js.gz and /dev/null differ
diff --git a/js/vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js b/js/vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js
similarity index 99%
rename from js/vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js
rename to js/vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js
index 84343d48..b0665899 100644
--- a/js/vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js
+++ b/js/vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js
@@ -1 +1 @@
-import{u as h,k as b,v as y,e as X,a as Y,x as Z,l as K}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{f as P,w as V,j as q,i as k,Q as ee}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{d as te,t as ne,c as j}from"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import{s as g}from"./screenfull@5.2.0-DmMZCkhi.js";const z=(n,{manual:e,ready:t=!0,refreshDeps:s=[],refreshDepsAction:i})=>{const o=b(!1);return P(()=>{!e&&n.options.refreshDeps!==!0&&(o.value=h(t))}),s instanceof Array?V([o,...s],([r])=>{r&&!e&&r&&(i?i():n.refresh())},{deep:!0,immediate:!1}):V(o,r=>{!e&&r&&(i?i():n.refresh())}),{name:"autoRunPlugin",onBefore:()=>{if(!h(t))return{stopNow:!0}}}};z.onInit=({ready:n=!0,manual:e})=>({loading:!e&&h(n)});const T=new Map,se=(n,e,t)=>{const s=T.get(n);s!=null&&s.timer&&clearTimeout(s.timer);let i;e>-1&&(i=setTimeout(()=>{T.delete(n)},e)),T.set(n,{...t,timer:i})},ie=n=>T.get(n),F=new Map,re=n=>F.get(n),oe=(n,e)=>{F.set(n,e),e.then(t=>(F.delete(n),t)).catch(t=>{throw F.delete(n),t})},S={},le=[],ae=(n,e)=>{S[n]&&(S[n].forEach(t=>t(e)),le.forEach(t=>t({type:n,data:e})))},C=(n,e)=>(S[n]||(S[n]=[]),S[n].push(e),function(){const s=S[n].indexOf(e);S[n].splice(s,1)}),ue=(n,{cacheKey:e,cacheTime:t=5*60*1e3,staleTime:s=0,setCache:i,getCache:o})=>{const r=b(),u=b(),c=(l,f)=>{i?i(f):se(l,t,f),ae(l,f.data)},d=(l,f=[])=>o?o(f):ie(l);return P(()=>{if(!e)return;const l=d(e);l&&Object.hasOwnProperty.call(l,"data")&&(n.state.data=l.data,n.state.params=l.params,(s===-1||new Date().getTime()-l.time<=s)&&(n.state.loading=!1)),r.value=C(e,f=>{n.setState({data:f})})}),y(()=>{var l;(l=r.value)==null||l.call(r)}),e?{name:"cachePlugin",onBefore:l=>{const f=d(e,l);return!f||!Object.hasOwnProperty.call(f,"data")?{}:s===-1||new Date().getTime()-f.time<=s?{loading:!1,data:f==null?void 0:f.data,returnNow:!0}:{data:f==null?void 0:f.data}},onRequest:(l,f)=>{let v=re(e);return v&&v!==u.value?{servicePromise:v}:(v=l(...f),u.value=v,oe(e,v),{servicePromise:v})},onSuccess:(l,f)=>{var v;e&&((v=r.value)==null||v.call(r),c(e,{data:l,params:f,time:new Date().getTime()}),r.value=C(e,a=>{n.setState({data:a})}))},onMutate:l=>{var f;e&&((f=r.value)==null||f.call(r),c(e,{data:l,params:n.state.params,time:new Date().getTime()}),r.value=C(e,v=>{n.setState({data:v})}))}}:{}},ce=(n,{debounceWait:e,debounceLeading:t,debounceTrailing:s,debounceMaxWait:i})=>{const o=b(),r=q(()=>{const u={},c=h(t),d=h(s),l=h(i);return c!==void 0&&(u.leading=c),d!==void 0&&(u.trailing=d),l!==void 0&&(u.maxWait=l),u});return P(u=>{if(h(e)){const c=n.runAsync.bind(n);o.value=te(d=>{d()},h(e),r.value),n.runAsync=(...d)=>new Promise((l,f)=>{var v;(v=o.value)==null||v.call(o,()=>{c(...d).then(l).catch(f)})}),u(()=>{var d;(d=o.value)==null||d.cancel(),n.runAsync=c})}}),h(e)?{name:"debouncePlugin",onCancel:()=>{var u;(u=o.value)==null||u.cancel()}}:{}};var fe=Object.defineProperty,de=(n,e,t)=>e in n?fe(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,I=(n,e,t)=>(de(n,typeof e!="symbol"?e+"":e,t),t);class he{constructor(){I(this,"table",{}),I(this,"hashTable",{})}insert(e){const t=Symbol(e);return this.table[e]=!0,this.hashTable[t]=e,t}find(e){return this.hashTable[e]}}new he;var ve=Object.defineProperty,me=(n,e,t)=>e in n?ve(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Q=(n,e,t)=>(me(n,typeof e!="symbol"?e+"":e,t),t);class pe{constructor(){Q(this,"requestInstances",new Map),Q(this,"listeners",[])}emit(e){this.listeners.forEach(t=>t(e))}subscribe(e){return this.listeners.push(e),()=>{const t=this.listeners.indexOf(e);this.listeners.splice(t,1)}}insert(e,t){this.requestInstances.set(e,{...t}),this.emit({key:e,...t})}update(e,t){this.has(e)&&this.requestInstances.set(e,{...this.requestInstances.get(e),...t})}has(e){return this.requestInstances.has(e)}reset(e){if(this.requestInstances.has(e)){const t=this.requestInstances.get(e);this.requestInstances.clear(),this.insert(e,t)}else this.requestInstances.clear()}getAll(){return this.requestInstances}}new pe;const be=(n,{loadingDelay:e})=>{const t=b(),s=()=>{t.value&&(clearTimeout(h(t.value)),t.value=void 0)};return{name:"loadingDelayPlugin",onFinally:()=>{s();const i=h(e);i&&(n.setState({loading:!0}),t.value=setTimeout(()=>{n.setState({loading:!1})},i))},onError:()=>{s()}}};function B(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const ge=!!(typeof window<"u"&&window.document&&window.document.createElement);function U(){return B()?document.visibilityState!=="hidden":!0}const O=[];function _e(n){return O.push(n),function(){const t=O.indexOf(n);O.splice(t,1)}}if(B()){const n=()=>{if(U())for(let e=0;e{let i;const o=b(),r=b(0),u=()=>{var c;i&&clearTimeout(i),(c=o.value)==null||c.call(o)};return P(()=>{h(e)||u()}),h(e)?{name:"pollingPlugin",onBefore:()=>{u()},onError:()=>{r.value+=1},onSuccess:()=>{r.value=0},onFinally:()=>{s===-1||s!==-1&&r.value<=s?i=setTimeout(()=>{!t&&!U()?o.value=_e(()=>{n.refresh()}):n.refresh()},h(e)):r.value=0},onCancel:()=>{u()}}:{}};function Pe(n,e){let t=!1;return(...s)=>{t||(t=!0,n(...s),setTimeout(()=>{t=!1},e))}}function Ee(){return B()&&typeof navigator.onLine<"u"?navigator.onLine:!0}const D=[];function Re(n){return D.push(n),function(){const t=D.indexOf(n);t>-1&&D.splice(t,1)}}if(ge){const n=()=>{if(!(!U()||!Ee()))for(let e=0;e{const s=b(),i=()=>{var o;(o=s.value)==null||o.call(s)};return P(o=>{if(h(e)){const r=Pe(n.refresh.bind(n),h(t));s.value=Re(()=>{r()})}o(()=>{i()})}),y(()=>{i()}),{name:"refreshOnWindowFocusPlugin"}},Oe=(n,{retryInterval:e,retryCount:t})=>{const s=b(),i=b(0),o=b(!1);return t?{name:"retryPlugin",onBefore:()=>{o.value||(i.value=0),o.value=!1,s.value&&clearTimeout(s.value)},onSuccess:()=>{i.value=0},onError:()=>{if(i.value+=1,t===-1||i.value<=t){const r=e??Math.min(1e3*2**i.value,3e4);s.value=setTimeout(()=>{o.value=!0,n.refresh()},r)}else i.value=0},onCancel:()=>{i.value=0,s.value&&clearTimeout(s.value)}}:{}},De=(n,{throttleWait:e,throttleLeading:t,throttleTrailing:s})=>{const i=q(()=>{const r={};return h(t)!==void 0&&(r.leading=h(t)),h(s)!==void 0&&(r.trailing=h(s)),r}),o=q(()=>ne(r=>{r()},h(e),i.value));return P(r=>{if(h(e)){const u=n.runAsync.bind(n);n.runAsync=(...c)=>new Promise((d,l)=>{var f;(f=o.value)==null||f.call(o,()=>{u(...c).then(d).catch(l)})}),r(()=>{var c;n.runAsync=u,(c=o.value)==null||c.cancel()})}}),h(e)?{name:"throttlePlugin",onCancel:()=>{var r;(r=o.value)==null||r.cancel()}}:{}},G=n=>typeof n=="function",Ae=n=>typeof n=="boolean";var Te=Object.defineProperty,Fe=(n,e,t)=>e in n?Te(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,A=(n,e,t)=>(Fe(n,typeof e!="symbol"?e+"":e,t),t);class qe{constructor(e,t,s,i={}){A(this,"pluginImpls"),A(this,"count",0),A(this,"state",{loading:!1,params:void 0,data:void 0,error:void 0}),A(this,"previousValidData"),this.serviceRef=e,this.options=t,this.setUpdateData=s,this.initState=i,this.state={...this.state,loading:!t.manual,...i}}setState(e={}){this.state={...this.state,...e},this.setUpdateData(this.state)}setData(e,t){console.warn("Please use 'setFetchState' instead of 'setData'"),t instanceof Array?t.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[t]=e,this.setUpdateData(e,t))}setFetchState(e,t){t instanceof Array?t.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[t]=e,this.setUpdateData(e,t))}runPluginHandler(e,...t){var s,i,o;const r=(o=(i=(s=this.pluginImpls)==null?void 0:s.map(u=>{var c;return(c=u[e])==null?void 0:c.call(u,...t)}))!=null?i:[])==null?void 0:o.filter(Boolean);return Object.assign({},...r)}async runAsync(...e){var t,s,i,o,r,u,c,d,l,f,v;this.count+=1;const a=this.count,{stopNow:w=!1,returnNow:m=!1,..._}=this.runPluginHandler("onBefore",e);if(w)return new Promise(()=>{});if(this.setState({loading:!0,params:e,..._}),m)return Promise.resolve(_.data);try{(s=(t=this.options).onBefore)==null||s.call(t,e)}catch(p){return this.setState({error:p,loading:!1}),(o=(i=this.options).onError)==null||o.call(i,p,e),this.runPluginHandler("onError",p,e),new Promise(()=>{})}try{let{servicePromise:p}=this.runPluginHandler("onRequest",this.serviceRef.value,e);const J=$=>{var L,H,N,M;if(a!==this.count)return new Promise(()=>{});const E=this.options.formatResult?this.options.formatResult($):$;return this.setState({data:E,error:void 0,loading:!1}),(H=(L=this.options).onSuccess)==null||H.call(L,E,e),this.runPluginHandler("onSuccess",E,e),this.previousValidData=E,(M=(N=this.options).onFinally)==null||M.call(N,e,E,void 0),a===this.count&&this.runPluginHandler("onFinally",e,E,void 0),E};p||(p=this.serviceRef.value(...e));const W=await p;return J(W)}catch(p){if(a!==this.count)return new Promise(()=>{});throw this.setState({error:p,loading:!1}),(u=(r=this.options).onError)==null||u.call(r,p,e),this.runPluginHandler("onError",p,e),(G((c=this.options)==null?void 0:c.rollbackOnError)&&((d=this.options)!=null&&d.rollbackOnError(e))||Ae((l=this.options)==null?void 0:l.rollbackOnError)&&this.options.rollbackOnError)&&this.setState({data:this.previousValidData}),(v=(f=this.options).onFinally)==null||v.call(f,e,void 0,p),a===this.count&&this.runPluginHandler("onFinally",e,void 0,p),p}}run(...e){this.runAsync(...e).catch(t=>{this.options.onError||console.error(t)})}cancel(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")}refresh(){this.run(...this.state.params||[])}refreshAsync(){return this.runAsync(...this.state.params||[])}mutate(e){const t=G(e)?e(this.state.data):e;this.runPluginHandler("onMutate",t),this.setState({data:t})}}const Ce=Symbol("USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY");function xe(n){return Object.keys(n).filter(t=>["data","loading","params","error"].includes(t)).length===4}function ye(n,e={},t=[]){const s=k(Ce,{}),{initialData:i=void 0,manual:o=!1,ready:r=!0,...u}={...s??{},...e??{}},c={manual:o,ready:r,initialData:i,...u},d=b(n),l=X({data:i,loading:!1,params:void 0,error:void 0}),f=(m,_)=>{_?l[_]=m:xe(m)&&(l.data=m.data,l.loading=m.loading,l.error=m.error,l.params=m.params)},v=t.map(m=>{var _;return(_=m==null?void 0:m.onInit)==null?void 0:_.call(m,c)}).filter(Boolean),a=new qe(d,c,f,Object.assign({},...v,l));a.options=c,a.pluginImpls=t.map(m=>m(a,c));const w=q(()=>Y(r)?r.value:r);if(P(()=>{if(!o){const m=a.state.params||e.defaultParams||[];w.value&&a.options.refreshDeps===!0&&d.value&&a.run(...m)}}),!o&&a.options.refreshDeps!==!0){const m=a.state.params||e.defaultParams||[];h(r)&&a.run(...m)}return y(()=>{a.cancel()}),{...Z(l),cancel:a.cancel.bind(a),refresh:a.refresh.bind(a),refreshAsync:a.refreshAsync.bind(a),run:a.run.bind(a),runAsync:a.runAsync.bind(a),mutate:a.mutate.bind(a)}}const Be=(n,e)=>function(s,i={},o=[]){let r=n;const u=e||[];for(let c=u.length;c--;)r=u[c](r);return r(s,i,o)};function Qe(n,e,t){var s;const i=(s=[null,ce,be,we,Se,De,z,ue,Oe])==null?void 0:s.filter(Boolean);return Be(ye,e==null?void 0:e.use)(n,e,[...i])}const Ue=!!(typeof window<"u"&&window.document&&window.document.createElement);function x(n,e){var t,s;if(!Ue)return;if(!n)return e;let i;return typeof n=="function"?i=n():Y(n)?i=(s=(t=n.value)==null?void 0:t.$el)!=null?s:n.value:i=n,i}var $e=Object.defineProperty,Le=(n,e,t)=>e in n?$e(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,R=(n,e,t)=>(Le(n,typeof e!="symbol"?e+"":e,t),t);class He{constructor(){R(this,"subscriptions",new Map),R(this,"emitEffectCache",new Map),R(this,"useSubscription",(e,t)=>{const s=b();P(i=>{var o,r;s.value=t;function u(d){s.value&&s.value(d)}const c=(r=(o=this.subscriptions)==null?void 0:o.get(e))!=null?r:[];c.push(u),this.subscriptions.set(e,c),this.emitEffect(e),i(()=>{this.subscriptions.delete(e)})})}),R(this,"emit",(e,...t)=>{if(typeof e=="string"||typeof e=="number"){const s=this.subscriptions.get(e);s==null||s.forEach(i=>{i==null||i({params:j(t),event:e})}),this.emitEffectCache.set(e,{params:j(t),event:e})}else throw new TypeError("event must be string or number !")}),R(this,"emitEffect",e=>{const t=this.emitEffectCache.get(e),s=this.subscriptions.get(e);t&&(s==null||s.forEach(i=>{i==null||i({...t})}))}),R(this,"removeListener",e=>{this.subscriptions.delete(e)}),R(this,"clear",()=>{this.subscriptions.clear()}),this.clear()}}new He;const Ge=(n,e)=>{const{onExit:t,onEnter:s,defaultElement:i=document.documentElement}={},o=b(t),r=b(s),u=b(!1),c=a=>{u.value=a},d=()=>{var a,w,m;if(g.isEnabled){const _=x(n,i);if(!g.element)(a=o.value)==null||a.call(o),c(!1),g.off("change",d);else{const p=g.element===_;p?(w=r.value)==null||w.call(r):(m=o.value)==null||m.call(o),c(p)}}},l=()=>{const a=x(n,i);if(a&&g.isEnabled)try{g.request(a),g.on("change",d)}catch(w){console.error(w)}},f=()=>{const a=x(n,i);g.isEnabled&&g.element===a&&g.exit()},v=()=>{u.value?f():l()};return ee(()=>{g.isEnabled&&g.off("change",d)}),[K(u),{enterFullscreen:l,exitFullscreen:f,toggleFullscreen:v,isEnabled:g.isEnabled}]};export{Qe as a,Ge as u};
+import{u as h,k as b,v as y,e as X,a as Y,x as Z,l as K}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{f as P,w as V,j as q,i as k,P as ee}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{d as te,t as ne,c as j}from"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import{s as g}from"./screenfull@5.2.0-DmMZCkhi.js";const z=(n,{manual:e,ready:t=!0,refreshDeps:s=[],refreshDepsAction:i})=>{const o=b(!1);return P(()=>{!e&&n.options.refreshDeps!==!0&&(o.value=h(t))}),s instanceof Array?V([o,...s],([r])=>{r&&!e&&r&&(i?i():n.refresh())},{deep:!0,immediate:!1}):V(o,r=>{!e&&r&&(i?i():n.refresh())}),{name:"autoRunPlugin",onBefore:()=>{if(!h(t))return{stopNow:!0}}}};z.onInit=({ready:n=!0,manual:e})=>({loading:!e&&h(n)});const T=new Map,se=(n,e,t)=>{const s=T.get(n);s!=null&&s.timer&&clearTimeout(s.timer);let i;e>-1&&(i=setTimeout(()=>{T.delete(n)},e)),T.set(n,{...t,timer:i})},ie=n=>T.get(n),F=new Map,re=n=>F.get(n),oe=(n,e)=>{F.set(n,e),e.then(t=>(F.delete(n),t)).catch(t=>{throw F.delete(n),t})},S={},le=[],ae=(n,e)=>{S[n]&&(S[n].forEach(t=>t(e)),le.forEach(t=>t({type:n,data:e})))},C=(n,e)=>(S[n]||(S[n]=[]),S[n].push(e),function(){const s=S[n].indexOf(e);S[n].splice(s,1)}),ue=(n,{cacheKey:e,cacheTime:t=5*60*1e3,staleTime:s=0,setCache:i,getCache:o})=>{const r=b(),u=b(),c=(l,f)=>{i?i(f):se(l,t,f),ae(l,f.data)},d=(l,f=[])=>o?o(f):ie(l);return P(()=>{if(!e)return;const l=d(e);l&&Object.hasOwnProperty.call(l,"data")&&(n.state.data=l.data,n.state.params=l.params,(s===-1||new Date().getTime()-l.time<=s)&&(n.state.loading=!1)),r.value=C(e,f=>{n.setState({data:f})})}),y(()=>{var l;(l=r.value)==null||l.call(r)}),e?{name:"cachePlugin",onBefore:l=>{const f=d(e,l);return!f||!Object.hasOwnProperty.call(f,"data")?{}:s===-1||new Date().getTime()-f.time<=s?{loading:!1,data:f==null?void 0:f.data,returnNow:!0}:{data:f==null?void 0:f.data}},onRequest:(l,f)=>{let v=re(e);return v&&v!==u.value?{servicePromise:v}:(v=l(...f),u.value=v,oe(e,v),{servicePromise:v})},onSuccess:(l,f)=>{var v;e&&((v=r.value)==null||v.call(r),c(e,{data:l,params:f,time:new Date().getTime()}),r.value=C(e,a=>{n.setState({data:a})}))},onMutate:l=>{var f;e&&((f=r.value)==null||f.call(r),c(e,{data:l,params:n.state.params,time:new Date().getTime()}),r.value=C(e,v=>{n.setState({data:v})}))}}:{}},ce=(n,{debounceWait:e,debounceLeading:t,debounceTrailing:s,debounceMaxWait:i})=>{const o=b(),r=q(()=>{const u={},c=h(t),d=h(s),l=h(i);return c!==void 0&&(u.leading=c),d!==void 0&&(u.trailing=d),l!==void 0&&(u.maxWait=l),u});return P(u=>{if(h(e)){const c=n.runAsync.bind(n);o.value=te(d=>{d()},h(e),r.value),n.runAsync=(...d)=>new Promise((l,f)=>{var v;(v=o.value)==null||v.call(o,()=>{c(...d).then(l).catch(f)})}),u(()=>{var d;(d=o.value)==null||d.cancel(),n.runAsync=c})}}),h(e)?{name:"debouncePlugin",onCancel:()=>{var u;(u=o.value)==null||u.cancel()}}:{}};var fe=Object.defineProperty,de=(n,e,t)=>e in n?fe(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,I=(n,e,t)=>(de(n,typeof e!="symbol"?e+"":e,t),t);class he{constructor(){I(this,"table",{}),I(this,"hashTable",{})}insert(e){const t=Symbol(e);return this.table[e]=!0,this.hashTable[t]=e,t}find(e){return this.hashTable[e]}}new he;var ve=Object.defineProperty,me=(n,e,t)=>e in n?ve(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Q=(n,e,t)=>(me(n,typeof e!="symbol"?e+"":e,t),t);class pe{constructor(){Q(this,"requestInstances",new Map),Q(this,"listeners",[])}emit(e){this.listeners.forEach(t=>t(e))}subscribe(e){return this.listeners.push(e),()=>{const t=this.listeners.indexOf(e);this.listeners.splice(t,1)}}insert(e,t){this.requestInstances.set(e,{...t}),this.emit({key:e,...t})}update(e,t){this.has(e)&&this.requestInstances.set(e,{...this.requestInstances.get(e),...t})}has(e){return this.requestInstances.has(e)}reset(e){if(this.requestInstances.has(e)){const t=this.requestInstances.get(e);this.requestInstances.clear(),this.insert(e,t)}else this.requestInstances.clear()}getAll(){return this.requestInstances}}new pe;const be=(n,{loadingDelay:e})=>{const t=b(),s=()=>{t.value&&(clearTimeout(h(t.value)),t.value=void 0)};return{name:"loadingDelayPlugin",onFinally:()=>{s();const i=h(e);i&&(n.setState({loading:!0}),t.value=setTimeout(()=>{n.setState({loading:!1})},i))},onError:()=>{s()}}};function B(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const ge=!!(typeof window<"u"&&window.document&&window.document.createElement);function U(){return B()?document.visibilityState!=="hidden":!0}const O=[];function _e(n){return O.push(n),function(){const t=O.indexOf(n);O.splice(t,1)}}if(B()){const n=()=>{if(U())for(let e=0;e{let i;const o=b(),r=b(0),u=()=>{var c;i&&clearTimeout(i),(c=o.value)==null||c.call(o)};return P(()=>{h(e)||u()}),h(e)?{name:"pollingPlugin",onBefore:()=>{u()},onError:()=>{r.value+=1},onSuccess:()=>{r.value=0},onFinally:()=>{s===-1||s!==-1&&r.value<=s?i=setTimeout(()=>{!t&&!U()?o.value=_e(()=>{n.refresh()}):n.refresh()},h(e)):r.value=0},onCancel:()=>{u()}}:{}};function Pe(n,e){let t=!1;return(...s)=>{t||(t=!0,n(...s),setTimeout(()=>{t=!1},e))}}function Ee(){return B()&&typeof navigator.onLine<"u"?navigator.onLine:!0}const D=[];function Re(n){return D.push(n),function(){const t=D.indexOf(n);t>-1&&D.splice(t,1)}}if(ge){const n=()=>{if(!(!U()||!Ee()))for(let e=0;e{const s=b(),i=()=>{var o;(o=s.value)==null||o.call(s)};return P(o=>{if(h(e)){const r=Pe(n.refresh.bind(n),h(t));s.value=Re(()=>{r()})}o(()=>{i()})}),y(()=>{i()}),{name:"refreshOnWindowFocusPlugin"}},Oe=(n,{retryInterval:e,retryCount:t})=>{const s=b(),i=b(0),o=b(!1);return t?{name:"retryPlugin",onBefore:()=>{o.value||(i.value=0),o.value=!1,s.value&&clearTimeout(s.value)},onSuccess:()=>{i.value=0},onError:()=>{if(i.value+=1,t===-1||i.value<=t){const r=e??Math.min(1e3*2**i.value,3e4);s.value=setTimeout(()=>{o.value=!0,n.refresh()},r)}else i.value=0},onCancel:()=>{i.value=0,s.value&&clearTimeout(s.value)}}:{}},De=(n,{throttleWait:e,throttleLeading:t,throttleTrailing:s})=>{const i=q(()=>{const r={};return h(t)!==void 0&&(r.leading=h(t)),h(s)!==void 0&&(r.trailing=h(s)),r}),o=q(()=>ne(r=>{r()},h(e),i.value));return P(r=>{if(h(e)){const u=n.runAsync.bind(n);n.runAsync=(...c)=>new Promise((d,l)=>{var f;(f=o.value)==null||f.call(o,()=>{u(...c).then(d).catch(l)})}),r(()=>{var c;n.runAsync=u,(c=o.value)==null||c.cancel()})}}),h(e)?{name:"throttlePlugin",onCancel:()=>{var r;(r=o.value)==null||r.cancel()}}:{}},G=n=>typeof n=="function",Ae=n=>typeof n=="boolean";var Te=Object.defineProperty,Fe=(n,e,t)=>e in n?Te(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,A=(n,e,t)=>(Fe(n,typeof e!="symbol"?e+"":e,t),t);class qe{constructor(e,t,s,i={}){A(this,"pluginImpls"),A(this,"count",0),A(this,"state",{loading:!1,params:void 0,data:void 0,error:void 0}),A(this,"previousValidData"),this.serviceRef=e,this.options=t,this.setUpdateData=s,this.initState=i,this.state={...this.state,loading:!t.manual,...i}}setState(e={}){this.state={...this.state,...e},this.setUpdateData(this.state)}setData(e,t){console.warn("Please use 'setFetchState' instead of 'setData'"),t instanceof Array?t.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[t]=e,this.setUpdateData(e,t))}setFetchState(e,t){t instanceof Array?t.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[t]=e,this.setUpdateData(e,t))}runPluginHandler(e,...t){var s,i,o;const r=(o=(i=(s=this.pluginImpls)==null?void 0:s.map(u=>{var c;return(c=u[e])==null?void 0:c.call(u,...t)}))!=null?i:[])==null?void 0:o.filter(Boolean);return Object.assign({},...r)}async runAsync(...e){var t,s,i,o,r,u,c,d,l,f,v;this.count+=1;const a=this.count,{stopNow:w=!1,returnNow:m=!1,..._}=this.runPluginHandler("onBefore",e);if(w)return new Promise(()=>{});if(this.setState({loading:!0,params:e,..._}),m)return Promise.resolve(_.data);try{(s=(t=this.options).onBefore)==null||s.call(t,e)}catch(p){return this.setState({error:p,loading:!1}),(o=(i=this.options).onError)==null||o.call(i,p,e),this.runPluginHandler("onError",p,e),new Promise(()=>{})}try{let{servicePromise:p}=this.runPluginHandler("onRequest",this.serviceRef.value,e);const J=$=>{var L,H,N,M;if(a!==this.count)return new Promise(()=>{});const E=this.options.formatResult?this.options.formatResult($):$;return this.setState({data:E,error:void 0,loading:!1}),(H=(L=this.options).onSuccess)==null||H.call(L,E,e),this.runPluginHandler("onSuccess",E,e),this.previousValidData=E,(M=(N=this.options).onFinally)==null||M.call(N,e,E,void 0),a===this.count&&this.runPluginHandler("onFinally",e,E,void 0),E};p||(p=this.serviceRef.value(...e));const W=await p;return J(W)}catch(p){if(a!==this.count)return new Promise(()=>{});throw this.setState({error:p,loading:!1}),(u=(r=this.options).onError)==null||u.call(r,p,e),this.runPluginHandler("onError",p,e),(G((c=this.options)==null?void 0:c.rollbackOnError)&&((d=this.options)!=null&&d.rollbackOnError(e))||Ae((l=this.options)==null?void 0:l.rollbackOnError)&&this.options.rollbackOnError)&&this.setState({data:this.previousValidData}),(v=(f=this.options).onFinally)==null||v.call(f,e,void 0,p),a===this.count&&this.runPluginHandler("onFinally",e,void 0,p),p}}run(...e){this.runAsync(...e).catch(t=>{this.options.onError||console.error(t)})}cancel(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")}refresh(){this.run(...this.state.params||[])}refreshAsync(){return this.runAsync(...this.state.params||[])}mutate(e){const t=G(e)?e(this.state.data):e;this.runPluginHandler("onMutate",t),this.setState({data:t})}}const Ce=Symbol("USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY");function xe(n){return Object.keys(n).filter(t=>["data","loading","params","error"].includes(t)).length===4}function ye(n,e={},t=[]){const s=k(Ce,{}),{initialData:i=void 0,manual:o=!1,ready:r=!0,...u}={...s??{},...e??{}},c={manual:o,ready:r,initialData:i,...u},d=b(n),l=X({data:i,loading:!1,params:void 0,error:void 0}),f=(m,_)=>{_?l[_]=m:xe(m)&&(l.data=m.data,l.loading=m.loading,l.error=m.error,l.params=m.params)},v=t.map(m=>{var _;return(_=m==null?void 0:m.onInit)==null?void 0:_.call(m,c)}).filter(Boolean),a=new qe(d,c,f,Object.assign({},...v,l));a.options=c,a.pluginImpls=t.map(m=>m(a,c));const w=q(()=>Y(r)?r.value:r);if(P(()=>{if(!o){const m=a.state.params||e.defaultParams||[];w.value&&a.options.refreshDeps===!0&&d.value&&a.run(...m)}}),!o&&a.options.refreshDeps!==!0){const m=a.state.params||e.defaultParams||[];h(r)&&a.run(...m)}return y(()=>{a.cancel()}),{...Z(l),cancel:a.cancel.bind(a),refresh:a.refresh.bind(a),refreshAsync:a.refreshAsync.bind(a),run:a.run.bind(a),runAsync:a.runAsync.bind(a),mutate:a.mutate.bind(a)}}const Be=(n,e)=>function(s,i={},o=[]){let r=n;const u=e||[];for(let c=u.length;c--;)r=u[c](r);return r(s,i,o)};function Qe(n,e,t){var s;const i=(s=[null,ce,be,we,Se,De,z,ue,Oe])==null?void 0:s.filter(Boolean);return Be(ye,e==null?void 0:e.use)(n,e,[...i])}const Ue=!!(typeof window<"u"&&window.document&&window.document.createElement);function x(n,e){var t,s;if(!Ue)return;if(!n)return e;let i;return typeof n=="function"?i=n():Y(n)?i=(s=(t=n.value)==null?void 0:t.$el)!=null?s:n.value:i=n,i}var $e=Object.defineProperty,Le=(n,e,t)=>e in n?$e(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,R=(n,e,t)=>(Le(n,typeof e!="symbol"?e+"":e,t),t);class He{constructor(){R(this,"subscriptions",new Map),R(this,"emitEffectCache",new Map),R(this,"useSubscription",(e,t)=>{const s=b();P(i=>{var o,r;s.value=t;function u(d){s.value&&s.value(d)}const c=(r=(o=this.subscriptions)==null?void 0:o.get(e))!=null?r:[];c.push(u),this.subscriptions.set(e,c),this.emitEffect(e),i(()=>{this.subscriptions.delete(e)})})}),R(this,"emit",(e,...t)=>{if(typeof e=="string"||typeof e=="number"){const s=this.subscriptions.get(e);s==null||s.forEach(i=>{i==null||i({params:j(t),event:e})}),this.emitEffectCache.set(e,{params:j(t),event:e})}else throw new TypeError("event must be string or number !")}),R(this,"emitEffect",e=>{const t=this.emitEffectCache.get(e),s=this.subscriptions.get(e);t&&(s==null||s.forEach(i=>{i==null||i({...t})}))}),R(this,"removeListener",e=>{this.subscriptions.delete(e)}),R(this,"clear",()=>{this.subscriptions.clear()}),this.clear()}}new He;const Ge=(n,e)=>{const{onExit:t,onEnter:s,defaultElement:i=document.documentElement}={},o=b(t),r=b(s),u=b(!1),c=a=>{u.value=a},d=()=>{var a,w,m;if(g.isEnabled){const _=x(n,i);if(!g.element)(a=o.value)==null||a.call(o),c(!1),g.off("change",d);else{const p=g.element===_;p?(w=r.value)==null||w.call(r):(m=o.value)==null||m.call(o),c(p)}}},l=()=>{const a=x(n,i);if(a&&g.isEnabled)try{g.request(a),g.on("change",d)}catch(w){console.error(w)}},f=()=>{const a=x(n,i);g.isEnabled&&g.element===a&&g.exit()},v=()=>{u.value?f():l()};return ee(()=>{g.isEnabled&&g.off("change",d)}),[K(u),{enterFullscreen:l,exitFullscreen:f,toggleFullscreen:v,isEnabled:g.isEnabled}]};export{Qe as a,Ge as u};
diff --git a/js/vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js.gz b/js/vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js.gz
new file mode 100644
index 00000000..34c7a3a2
Binary files /dev/null and b/js/vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js.gz differ
diff --git a/js/vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js.gz b/js/vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js.gz
deleted file mode 100644
index c69467da..00000000
Binary files a/js/vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js.gz and /dev/null differ
diff --git a/js/vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js b/js/vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js
similarity index 99%
rename from js/vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js
rename to js/vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js
index 8c85be60..025df73f 100644
--- a/js/vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js
+++ b/js/vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js
@@ -1,4 +1,4 @@
-import{e as C,l as W,b as T,j as p,f as D,m as Rt,g as Ae,r as A,c as k,d as F,h as _e,a as $,s as J,i as he,u as X,v as K}from"./@intlify_shared@9.13.1-BxU0OzX2.js";import{s as Lt,D as pt,u as x,N as vt,a as Pt,C as Ft,c as Ct,b as me,d as fe,e as St,g as Dt,f as yt,p as ge,t as Ee,M as be,h as de,i as Oe,j as Te,n as Ie,k as kt,l as At,m as Me,r as ht,o as Mt,q as Vt,v as Ut,w as Ne,x as xt,y as wt}from"./@intlify_core-base@9.13.1-C6DqbPB6.js";import{c as Wt}from"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import{l as ne,h as Ve,i as jt,k as Yt,Q as Gt,j as w,w as z,F as Ue,d as re,b as Ht,T as Bt}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{y as $t,a as Xt,k as Jt,s as Kt}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";/*!
+import{e as C,l as W,b as T,j as p,f as D,m as Rt,g as Ae,r as A,c as k,d as F,h as _e,a as $,s as J,i as he,u as X,v as K}from"./@intlify_shared@9.13.1-BxU0OzX2.js";import{s as Lt,D as pt,u as x,N as vt,a as Pt,C as Ft,c as Ct,b as me,d as fe,e as St,g as Dt,f as yt,p as ge,t as Ee,M as be,h as de,i as Oe,j as Te,n as Ie,k as kt,l as At,m as Me,r as ht,o as Mt,q as Vt,v as Ut,w as Ne,x as xt,y as wt}from"./@intlify_core-base@9.13.1-C6DqbPB6.js";import{c as Wt}from"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import{l as ne,h as Ve,i as jt,k as Yt,P as Gt,j as w,w as z,F as Ue,d as re,b as Ht,T as Bt}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{y as $t,a as Xt,k as Jt,s as Kt}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";/*!
* vue-i18n v9.13.1
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
diff --git a/js/vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js.gz b/js/vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js.gz
new file mode 100644
index 00000000..c6f933bd
Binary files /dev/null and b/js/vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js.gz differ
diff --git a/js/vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js.gz b/js/vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js.gz
deleted file mode 100644
index 4ff7c8fa..00000000
Binary files a/js/vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js.gz and /dev/null differ
diff --git a/js/vue-router@4.3.2_vue@3.5.12-C0be5zoh.js.gz b/js/vue-router@4.3.2_vue@3.5.12-C0be5zoh.js.gz
deleted file mode 100644
index 72503ed9..00000000
Binary files a/js/vue-router@4.3.2_vue@3.5.12-C0be5zoh.js.gz and /dev/null differ
diff --git a/js/vue-router@4.3.2_vue@3.5.12-C0be5zoh.js b/js/vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js
similarity index 99%
rename from js/vue-router@4.3.2_vue@3.5.12-C0be5zoh.js
rename to js/vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js
index 9b43160f..56a266ef 100644
--- a/js/vue-router@4.3.2_vue@3.5.12-C0be5zoh.js
+++ b/js/vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js
@@ -1,4 +1,4 @@
-import{s as nt,u as W,g as rt,e as ot,k as st}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{i as B,n as ct,Q as it,N as at,M as lt,l as Ge,j as N,h as qe,x as le,w as ut}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";/*!
+import{s as nt,u as W,g as rt,e as ot,k as st}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{i as B,n as ct,P as it,M as at,L as lt,l as Ge,j as N,h as qe,x as le,w as ut}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";/*!
* vue-router v4.3.2
* (c) 2024 Eduardo San Martin Morote
* @license MIT
diff --git a/js/vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js.gz b/js/vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js.gz
new file mode 100644
index 00000000..a2a2a586
Binary files /dev/null and b/js/vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js.gz differ
diff --git a/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js b/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js
similarity index 99%
rename from js/vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js
rename to js/vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js
index 1102579c..3a634e28 100644
--- a/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js
+++ b/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js
@@ -1 +1 @@
-import{l as be,j as ye,f as Ce,k as Ae,q as Pe,b as ot,t as Be,w as De}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as qt}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";const ke={maskColor:{type:String,default:"rgba(255, 255, 255, 0.96)"},watchText:{type:Boolean,default:!0},status:{type:String},errorDescription:{type:[String,Object],default:"二维码已过期"},errorActionDescription:{type:String,default:"重新加载"},text:{type:String,required:!0},size:{type:Number,default:160},margin:{type:Number,default:12},correctLevel:{type:Number,default:1,validator:o=>[0,1,2,3].includes(o)},maskPattern:{type:Number},version:{type:Number},components:{type:Object,default:()=>({data:{scale:1},timing:{scale:1,protectors:!1},alignment:{scale:1,protectors:!1},cornerAlignment:{scale:1,protectors:!0}})},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#ffffff"},autoColor:{type:Boolean,default:!0},backgroundImage:{type:String},backgroundDimming:{type:String,default:"rgba(0, 0, 0, 0)"},gifBackgroundURL:{type:String},gifBackground:{type:ArrayBuffer},whiteMargin:{type:Boolean,default:!0},logoImage:{type:String},logoScale:{type:Number,default:.4},logoMargin:{type:Number,default:6},logoCornerRadius:{type:Number,default:8},dotScale:{type:Number,default:1},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},onReload:{type:[Function,Array],default:null}};function Te(o,t,e){const r=ne(t),i=o-1;let n=0;switch(e){case Z.L:n=rt[i][0];break;case Z.M:n=rt[i][1];break;case Z.Q:n=rt[i][2];break;case Z.H:n=rt[i][3];break}return r<=n}function Ee(o,t){for(var e=1,r=ne(o),i=0,n=rt.length;irt.length)throw new Error("Too long data");return e}function ne(o){var t=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=Number(o)?3:0)}class Ie{constructor(t){this.mode=V.MODE_8BIT_BYTE,this.parsedData=[],this.data=t;const e=[];for(let r=0,i=this.data.length;r65536?(n[0]=240|(s&1835008)>>>18,n[1]=128|(s&258048)>>>12,n[2]=128|(s&4032)>>>6,n[3]=128|s&63):s>2048?(n[0]=224|(s&61440)>>>12,n[1]=128|(s&4032)>>>6,n[2]=128|s&63):s>128?(n[0]=192|(s&1984)>>>6,n[1]=128|s&63):n[0]=s,e.push(n)}this.parsedData=Array.prototype.concat.apply([],e),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}getLength(){return this.parsedData.length}write(t){for(let e=0,r=this.parsedData.length;e40)throw new Error(`Invalid QR version: ${this.typeNumber}`);if(!Te(this.typeNumber,t,this.errorCorrectLevel))throw new Error(`Data is too long for QR version: ${this.typeNumber}`)}const e=new Ie(t);this.dataList.push(e),this.dataCache=void 0}isDark(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(`${t},${e}`);return this.modules[t][e]}getModuleCount(){return this.moduleCount}make(){this.makeImpl(!1,this.getBestMaskPattern())}makeImpl(t,e){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(let r=0;r=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=ht.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)}setupPositionProbePattern(t,e){for(let r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(let i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(0<=r&&r<=6&&(i==0||i==6)||0<=i&&i<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=i&&i<=4?this.modules[t+r][e+i]=!0:this.modules[t+r][e+i]=!1)}getBestMaskPattern(){if(Number.isInteger(this.maskPattern)&&Object.values(st).includes(this.maskPattern))return this.maskPattern;let t=0,e=0;for(let r=0;r<8;r++){this.makeImpl(!0,r);const i=L.getLostPoint(this);(r==0||t>i)&&(t=i,e=r)}return e}setupTimingPattern(){for(let t=8;t>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=i}for(var r=0;r<18;r++){var i=!t&&(e>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=i}}setupTypeInfo(t,e){const r=this.errorCorrectLevel<<3|e,i=L.getBCHTypeInfo(r);for(var n=0;n<15;n++){var s=!t&&(i>>n&1)==1;n<6?this.modules[n][8]=s:n<8?this.modules[n+1][8]=s:this.modules[this.moduleCount-15+n][8]=s}for(var n=0;n<15;n++){var s=!t&&(i>>n&1)==1;n<8?this.modules[8][this.moduleCount-n-1]=s:n<9?this.modules[8][15-n-1+1]=s:this.modules[8][15-n-1]=s}this.modules[this.moduleCount-8][8]=!t}mapData(t,e){let r=-1,i=this.moduleCount-1,n=7,s=0;for(let a=this.moduleCount-1;a>0;a-=2)for(a==6&&a--;;){for(let l=0;l<2;l++)if(this.modules[i][a-l]==null){let c=!1;s>>n&1)==1),L.getMask(e,i,a-l)&&(c=!c),this.modules[i][a-l]=c,n--,n==-1&&(s++,n=7)}if(i+=r,i<0||this.moduleCount<=i){i-=r,r=-r;break}}}static createData(t,e,r){const i=at.getRSBlocks(t,e),n=new xe;for(var s=0;sa*8)throw new Error(`code length overflow. (${n.getLengthInBits()}>${a*8})`);for(n.getLengthInBits()+4<=a*8&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(!1);for(;!(n.getLengthInBits()>=a*8||(n.put(ht.PAD0,8),n.getLengthInBits()>=a*8));)n.put(ht.PAD1,8);return ht.createBytes(n,i)}static createBytes(t,e){let r=0,i=0,n=0;const s=new Array(e.length),a=new Array(e.length);for(var l=0;l=0?g.get(P):0}}let u=0;for(var c=0;c=0;)e^=L.G15<=0;)e^=L.G18<>>=1;return e}static getPatternPosition(t){return L.PATTERN_POSITION_TABLE[t-1]}static getMask(t,e,r){switch(t){case st.PATTERN000:return(e+r)%2==0;case st.PATTERN001:return e%2==0;case st.PATTERN010:return r%3==0;case st.PATTERN011:return(e+r)%3==0;case st.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case st.PATTERN101:return e*r%2+e*r%3==0;case st.PATTERN110:return(e*r%2+e*r%3)%2==0;case st.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error(`bad maskPattern:${t}`)}}static getErrorCorrectPolynomial(t){let e=new vt([1],0);for(let r=0;r5&&(r+=3+l-5)}for(var i=0;i=256;)t-=255;return j.EXP_TABLE[t]}}j.EXP_TABLE=new Array(256);j.LOG_TABLE=new Array(256);j._constructor=function(){for(var o=0;o<8;o++)j.EXP_TABLE[o]=1<>>7-t%8&1)==1}put(t,e){for(let r=0;r>>e-r-1&1)==1)}getLengthInBits(){return this.length}putBit(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}}const rt=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function et(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function Vt(o,t){for(var e="",r=0,i=-1,n=0,s,a=0;a<=o.length;++a){if(a2){var l=e.lastIndexOf("/");if(l!==e.length-1){l===-1?(e="",r=0):(e=e.slice(0,l),r=e.length-1-e.lastIndexOf("/")),i=a,n=0;continue}}else if(e.length===2||e.length===1){e="",r=0,i=a,n=0;continue}}t&&(e.length>0?e+="/..":e="..",r=2)}else e.length>0?e+="/"+o.slice(i+1,a):e=o.slice(i+1,a),r=a-i-1;i=a,n=0}else s===46&&n!==-1?++n:n=-1}return e}function Se(o,t){var e=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return e?e===t.root?e+r:e+o+r:r}var dt={resolve:function(){for(var t="",e=!1,r,i=arguments.length-1;i>=-1&&!e;i--){var n;i>=0?n=arguments[i]:(r===void 0&&(r=process.cwd()),n=r),et(n),n.length!==0&&(t=n+"/"+t,e=n.charCodeAt(0)===47)}return t=Vt(t,!e),e?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(et(t),t.length===0)return".";var e=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Vt(t,!e),t.length===0&&!e&&(t="."),t.length>0&&r&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return et(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,e=0;e0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":dt.normalize(t)},relative:function(t,e){if(et(t),et(e),t===e||(t=dt.resolve(t),e=dt.resolve(e),t===e))return"";for(var r=1;rc){if(e.charCodeAt(s+f)===47)return e.slice(s+f+1);if(f===0)return e.slice(s+f)}else n>c&&(t.charCodeAt(r+f)===47?u=f:f===0&&(u=0));break}var v=t.charCodeAt(r+f),A=e.charCodeAt(s+f);if(v!==A)break;v===47&&(u=f)}var k="";for(f=r+u+1;f<=i;++f)(f===i||t.charCodeAt(f)===47)&&(k.length===0?k+="..":k+="/..");return k.length>0?k+e.slice(s+u):(s+=u,e.charCodeAt(s)===47&&++s,e.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(et(t),t.length===0)return".";for(var e=t.charCodeAt(0),r=e===47,i=-1,n=!0,s=t.length-1;s>=1;--s)if(e=t.charCodeAt(s),e===47){if(!n){i=s;break}}else n=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},basename:function(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');et(t);var r=0,i=-1,n=!0,s;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var a=e.length-1,l=-1;for(s=t.length-1;s>=0;--s){var c=t.charCodeAt(s);if(c===47){if(!n){r=s+1;break}}else l===-1&&(n=!1,l=s+1),a>=0&&(c===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return r===i?i=l:i===-1&&(i=t.length),t.slice(r,i)}else{for(s=t.length-1;s>=0;--s)if(t.charCodeAt(s)===47){if(!n){r=s+1;break}}else i===-1&&(n=!1,i=s+1);return i===-1?"":t.slice(r,i)}},extname:function(t){et(t);for(var e=-1,r=0,i=-1,n=!0,s=0,a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(l===47){if(!n){r=a+1;break}continue}i===-1&&(n=!1,i=a+1),l===46?e===-1?e=a:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||i===-1||s===0||s===1&&e===i-1&&e===r+1?"":t.slice(e,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return Se("/",t)},parse:function(t){et(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;var r=t.charCodeAt(0),i=r===47,n;i?(e.root="/",n=1):n=0;for(var s=-1,a=0,l=-1,c=!0,u=t.length-1,f=0;u>=n;--u){if(r=t.charCodeAt(u),r===47){if(!c){a=u+1;break}continue}l===-1&&(c=!1,l=u+1),r===46?s===-1?s=u:f!==1&&(f=1):s!==-1&&(f=-1)}return s===-1||l===-1||f===0||f===1&&s===l-1&&s===a+1?l!==-1&&(a===0&&i?e.base=e.name=t.slice(1,l):e.base=e.name=t.slice(a,l)):(a===0&&i?(e.name=t.slice(1,s),e.base=t.slice(1,l)):(e.name=t.slice(a,s),e.base=t.slice(a,l)),e.ext=t.slice(s,l)),a>0?e.dir=t.slice(0,a-1):i&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};dt.posix=dt;const _e=dt.extname,se=dt.basename;class Le{constructor(){let t=typeof global>"u",e="image/png",r="image/jpeg",i="image/jpeg",n="image/webp",s="application/pdf",a="image/svg+xml";Object.assign(this,{toMime:this.toMime.bind(this),fromMime:this.fromMime.bind(this),expected:t?'"png", "jpg", or "webp"':'"png", "jpg", "pdf", or "svg"',formats:t?{png:e,jpg:r,jpeg:i,webp:n}:{png:e,jpg:r,jpeg:i,pdf:s,svg:a},mimes:t?{[e]:"png",[r]:"jpg",[n]:"webp"}:{[e]:"png",[r]:"jpg",[s]:"pdf",[a]:"svg"}})}toMime(t){return this.formats[(t||"").replace(/^\./,"").toLowerCase()]}fromMime(t){return this.mimes[t]}}function Me(o,{filename:t="",extension:e="",format:T,page:i,quality:n,matte:s,density:a,outline:l,archive:A}={}){var{fromMime:u,toMime:f,expected:v}=new Le,A=A||"canvas",k=T||e.replace(/@\d+x$/i,"")||_e(t),T=u(f(k)||k),M=f(T),g=o.length;if(!k)throw new Error("Cannot determine image format (use a filename extension or 'format' argument)");if(!T)throw new Error(`Unsupported file format "${k}" (expected ${v})`);if(!g)throw new RangeError("Canvas has no associated contexts (try calling getContext or newPage first)");let p,P,d=t.replace(/{(\d*)}/g,(m,y)=>(P=!0,y=parseInt(y,10),p=isFinite(y)?y:isFinite(p)?p:-1,"{}")),b=i>0?i-1:i<0?g+i:void 0;if(isFinite(b)&&b<0||b>=g)throw new RangeError(g==1?`Canvas only has a ‘page 1’ (${b} is out of bounds)`:`Canvas has pages 1–${g} (${b} is out of bounds)`);if(o=isFinite(b)?[o[b]]:P||T=="pdf"?o:o.slice(-1),n===void 0)n=.92;else if(typeof n!="number"||!isFinite(n)||n<0||n>1)throw new TypeError("The quality option must be an number in the 0.0–1.0 range");if(a===void 0){let m=(e||se(t,k)).match(/@(\d+)x$/i);a=m?parseInt(m[1],10):1}else if(typeof a!="number"||!Number.isInteger(a)||a<1)throw new TypeError("The density option must be a non-negative integer");return l===void 0?l=!0:T=="svg"&&(l=!!l),{filename:t,pattern:d,format:T,mime:M,pages:o,padding:p,quality:n,matte:s,density:a,outline:l,archive:A}}class kt{static for(t){return new kt().append(t).get()}constructor(){this.crc=-1}get(){return~this.crc}append(t){for(var e=this.crc|0,r=this.table,i=0,n=t.length|0;i>>8^r[(e^t[i])&255];return this.crc=e,this}}kt.prototype.table=(()=>{var o,t,e,r=[];for(o=0;o<256;o++){for(e=o,t=0;t<8;t++)e=e&1?e>>>1^3988292384:e>>>1;r[o]=e}return r})();function _t(o){let t=new Uint8Array(o),e=new DataView(t.buffer),r={array:t,view:e,size:o,set8(i,n){return e.setUint8(i,n),r},set16(i,n){return e.setUint16(i,n,!0),r},set32(i,n){return e.setUint32(i,n,!0),r},bytes(i,n){return t.set(n,i),r}};return r}class Tt{constructor(t){let e=new Date;Object.assign(this,{directory:t,offset:0,files:[],time:(e.getHours()<<6|e.getMinutes())<<5|e.getSeconds()/2,date:(e.getFullYear()-1980<<4|e.getMonth()+1)<<5|e.getDate()}),this.add(t)}async add(t,e){let r=!e,i=Tt.encoder.encode(`${this.directory}/${r?"":t}`),n=new Uint8Array(r?0:await e.arrayBuffer()),s=30+i.length,a=s+n.length,l=16,{offset:c}=this,u=_t(26).set32(0,134742036).set16(6,this.time).set16(8,this.date).set32(10,kt.for(n)).set32(14,n.length).set32(18,n.length).set16(22,i.length);c+=s;let f=_t(s+n.length+l).set32(0,67324752).bytes(4,u.array).bytes(30,i).bytes(s,n);c+=n.length,f.set32(a,134695760).bytes(a+4,u.array.slice(10,22)),c+=l,this.files.push({offset:c,folder:r,name:i,header:u,payload:f}),this.offset=c}toBuffer(){let t=this.files.reduce((f,{name:v})=>46+v.length+f,0),e=_t(t+22),r=0;for(var{offset:i,name:n,header:s,folder:a}of this.files)e.set32(r,33639248).set16(r+4,20).bytes(r+6,s.array).set8(r+38,a?16:0).set32(r+42,i).bytes(r+46,n),r+=46+n.length;e.set32(r,101010256).set16(r+8,this.files.length).set16(r+10,this.files.length).set32(r+12,t).set32(r+16,this.offset);let l=new Uint8Array(this.offset+e.size),c=0;for(var{payload:u}of this.files)l.set(u.array,c),c+=u.size;return l.set(e.array,c),l}get blob(){return new Blob([this.toBuffer()],{type:"application/zip"})}}Tt.encoder=new TextEncoder;const Ft=(o,t,e,r)=>{if(r){let{width:i,height:n}=o,s=Object.assign(document.createElement("canvas"),{width:i,height:n}),a=s.getContext("2d");a.fillStyle=r,a.fillRect(0,0,i,n),a.drawImage(o,0,0),o=s}return new Promise((i,n)=>o.toBlob(i,t,e))},Re=(...o)=>Ft(...o).then(t=>t.arrayBuffer()),Ne=async(o,t,e,r,i)=>{ae(i,await Ft(o,t,e,r))},Oe=async(o,t,e,r,i,n,s)=>{let a=u=>n.replace("{}",String(u+1).padStart(s,"0")),l=se(i,".zip")||"archive",c=new Tt(l);await Promise.all(o.map(async(u,f)=>{let v=a(f);await c.add(v,await Ft(u,t,e,r))})),ae(`${l}.zip`,c.blob)},ae=(o,t)=>{const e=window.URL.createObjectURL(t),r=document.createElement("a");r.style.display="none",r.href=e,r.setAttribute("download",o),typeof r.download>"u"&&r.setAttribute("target","_blank"),document.body.appendChild(r),r.click(),document.body.removeChild(r),setTimeout(()=>window.URL.revokeObjectURL(e),100)},$e=(o,t,e)=>o.map(r=>{if(t==1&&!e)return r.canvas;let i=document.createElement("canvas"),n=i.getContext("2d"),s=r.canvas?r.canvas:r;return i.width=s.width*t,i.height=s.height*t,e&&(n.fillStyle=e,n.fillRect(0,0,i.width,i.height)),n.scale(t,t),n.drawImage(s,0,0),i}),Fe={asBuffer:Re,asDownload:Ne,asZipDownload:Oe,atScale:$e,options:Me},{asBuffer:Lt,asDownload:Ue,asZipDownload:Ge,atScale:Mt,options:Rt}=Fe,Jt=Symbol.for("toDataURL"),je=o=>new Promise((t,e)=>Object.assign(new le,{crossOrigin:"Anonymous",onload:t,onerror:e,src:o}));let ze=class{constructor(t,e){let r=document.createElement("canvas"),i=[];Object.defineProperty(r,"async",{value:!0,writable:!1,enumerable:!0});for(var[n,s]of Object.entries({png:()=>Lt(r,"image/png"),jpg:()=>Lt(r,"image/jpeg"),pages:()=>i.concat(r).map(a=>a.getContext("2d"))}))Object.defineProperty(r,n,{get:s});return Object.assign(r,{width:t,height:e,newPage(...a){var{width:c,height:u}=r,l=Object.assign(document.createElement("canvas"),{width:c,height:u});l.getContext("2d").drawImage(r,0,0),i.push(l);var[c,u]=a.length?a:[c,u];return Object.assign(r,{width:c,height:u}).getContext("2d")},saveAs(a,l){l=typeof l=="number"?{quality:l}:l;let c=Rt(this.pages,{filename:a,...l}),{pattern:u,padding:f,mime:v,quality:A,matte:k,density:T,archive:M}=c,g=Mt(c.pages,T);return f==null?Ue(g[0],v,A,k,a):Ge(g,v,A,k,M,u,f)},toBuffer(a="png",l={}){l=typeof l=="number"?{quality:l}:l;let c=Rt(this.pages,{extension:a,...l}),{mime:u,quality:f,matte:v,pages:A,density:k}=c,T=Mt(A,k,v)[0];return Lt(T,u,f,v)},[Jt]:r.toDataURL.bind(r),toDataURL(a="png",l={}){l=typeof l=="number"?{quality:l}:l;let c=Rt(this.pages,{extension:a,...l}),{mime:u,quality:f,matte:v,pages:A,density:k}=c,T=Mt(A,k,v)[0],M=T[T===r?Jt:"toDataURL"](u,f);return Promise.resolve(M)}})}};const{CanvasRenderingContext2D:He,CanvasGradient:Ke,CanvasPattern:Xe,Image:le,ImageData:Ze,Path2D:qe,DOMMatrix:Ve,DOMRect:Je,DOMPoint:We}=window,Ye={Canvas:ze,loadImage:je,CanvasRenderingContext2D:He,CanvasGradient:Ke,CanvasPattern:Xe,Image:le,ImageData:Ze,Path2D:qe,DOMMatrix:Ve,DOMRect:Je,DOMPoint:We},bt=(o,t,e={},r=e)=>{if(Array.isArray(t))t.forEach(i=>bt(o,i,e,r));else if(typeof t=="function")t(o,e,r,bt);else{const i=Object.keys(t)[0];Array.isArray(t[i])?(r[i]={},bt(o,t[i],e,r[i])):r[i]=t[i](o,e,r,bt)}return e},gt=(o,t)=>(e,r,i,n)=>{t(e,r,i)&&n(e,o,r,i)},Qe=(o,t)=>(e,r,i,n)=>{const s=[];let a=e.pos;for(;t(e,r,i);){const l={};if(n(e,o,r,l),e.pos===a)break;a=e.pos,s.push(l)}return s},tr=o=>({data:o,pos:0}),W=()=>o=>o.data[o.pos++],ce=(o=0)=>t=>t.data[t.pos+o],it=o=>t=>t.data.subarray(t.pos,t.pos+=o),Et=o=>t=>t.data.subarray(t.pos,t.pos+o),Ot=o=>t=>Array.from(it(o)(t)).map(e=>String.fromCharCode(e)).join(""),ft=o=>t=>{const e=it(2)(t);return(e[1]<<8)+e[0]},he=(o,t)=>(e,r,i)=>{const n=typeof t=="function"?t(e,r,i):t,s=it(o),a=new Array(n);for(var l=0;l{for(var r=0,i=0;it=>{const e=W()(t),r=new Array(8);for(var i=0;i<8;i++)r[7-i]=!!(e&1<{const a=o[s];return a.length?n[s]=er(r,a.index,a.length):n[s]=r[a.index],n},{})};var It={blocks:o=>{const e=[],r=o.data.length;for(var i=0,n=W()(o);n!==0&&n;n=W()(o)){if(o.pos+n>=r){const c=r-o.pos;e.push(it(c)(o)),i+=c;break}e.push(it(n)(o)),i+=n}const s=new Uint8Array(i);for(var a=0,l=0;l{var t=Et(2)(o);return t[0]===33&&t[1]===249}),ir=gt({image:[{code:W()},{descriptor:[{left:ft()},{top:ft()},{width:ft()},{height:ft()},{lct:Ut({exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}})}]},gt({lct:he(3,(o,t,e)=>Math.pow(2,e.descriptor.lct.size+1))},(o,t,e)=>e.descriptor.lct.exists),{data:[{minCodeSize:W()},It]}]},o=>ce()(o)===44),or=gt({text:[{codes:it(2)},{blockSize:W()},{preData:(o,t,e)=>it(e.text.blockSize)(o)},It]},o=>{var t=Et(2)(o);return t[0]===33&&t[1]===1}),nr=gt({application:[{codes:it(2)},{blockSize:W()},{id:(o,t,e)=>Ot(e.blockSize)(o)},It]},o=>{var t=Et(2)(o);return t[0]===33&&t[1]===255}),sr=gt({comment:[{codes:it(2)},It]},o=>{var t=Et(2)(o);return t[0]===33&&t[1]===254}),ar=[{header:[{signature:Ot(3)},{version:Ot(3)}]},{lsd:[{width:ft()},{height:ft()},{gct:Ut({exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}})},{backgroundColorIndex:W()},{pixelAspectRatio:W()}]},gt({gct:he(3,(o,t)=>Math.pow(2,t.lsd.gct.size+1))},(o,t)=>t.lsd.gct.exists),{frames:Qe([rr,nr,sr,ir,or],o=>{var t=ce()(o);return t===33||t===44})}],lr=(o,t)=>{const e=new Array(o.length),r=o.length/t,i=function(u,f){const v=o.slice(f*t,(f+1)*t);e.splice.apply(e,[u*t,t].concat(v))},n=[0,4,2,1],s=[8,8,4,2];for(var a=0,l=0;l<4;l++)for(var c=n[l];c{const n=e;var s,a,l,c,u,f,v,b,A,k,d,T,m,y,I,B;const M=new Array(e),g=new Array(4096),p=new Array(4096),P=new Array(4097);for(T=o,a=1<>=c,b-=c,A>s||A==u)break;if(A==a){c=T+1,l=(1<a;)P[y++]=p[A],A=g[A];m=p[A]&255,P[y++]=m,s<4096&&(g[s]=v,p[s]=m,s++,!(s&l)&&s<4096&&(c++,l+=s)),v=f}y--,M[B++]=P[y],k++}for(k=B;k{const t=new Uint8Array(o);return bt(tr(t),ar)},ur=o=>{const t=o.pixels.length,e=new Uint8ClampedArray(t*4);for(var r=0;r{if(!o.image){console.warn("gif frame does not have associated image.");return}const{image:r}=o,i=r.descriptor.width*r.descriptor.height;var n=cr(r.data.minCodeSize,r.data.blocks,i);r.descriptor.lct.interlaced&&(n=lr(n,r.descriptor.width));const s={pixels:n,dims:{top:o.image.descriptor.top,left:o.image.descriptor.left,width:o.image.descriptor.width,height:o.image.descriptor.height}};return r.descriptor.lct&&r.descriptor.lct.exists?s.colorTable=r.lct:s.colorTable=t,o.gce&&(s.delay=(o.gce.delay||10)*10,s.disposalType=o.gce.extras.disposal,o.gce.extras.transparentColorGiven&&(s.transparentIndex=o.gce.transparentColorIndex)),s.patch=ur(s),s},dr=(o,t)=>o.frames.filter(e=>e.image).map(e=>fr(e,o.gct));var gr=100,K=256,Wt=K-1,ct=4,ue=16,Gt=1<>jt,vr=Gt<>3,$t=6,wr=1<<$t,br=mr*wr,yr=30,de=10,Ct=1<>3);var g,p;for(g=0;g>=ct,e[g][1]>>=ct,e[g][2]>>=ct,e[g][3]=g}function c(g,p,P,d,b){e[p][0]-=g*(e[p][0]-P)/Ct,e[p][1]-=g*(e[p][1]-d)/Ct,e[p][2]-=g*(e[p][2]-b)/Ct}function u(g,p,P,d,b){for(var m=Math.abs(p-g),y=Math.min(p+g,K),B=p+1,I=p-1,R=1,h,N;Bm;)N=s[R++],Bm&&(h=e[I--],h[0]-=N*(h[0]-P)/pt,h[1]-=N*(h[1]-d)/pt,h[2]-=N*(h[2]-b)/pt)}function f(g,p,P){var d=2147483647,b=d,m=-1,y=m,B,I,R,h,N;for(B=0;B>ue-ct),h>jt,n[B]-=N,i[B]+=N<>1,p=y+1;p>1,p=y+1;p<256;p++)r[p]=Wt}function A(g,p,P){for(var d,b,m,y=1e3,B=-1,I=r[p],R=I-1;I=0;)I=y?I=K:(I++,m<0&&(m=-m),d=b[0]-g,d<0&&(d=-d),m+=d,m=0&&(b=e[R],m=p-b[1],m>=y?R=-1:(R--,m<0&&(m=-m),d=b[0]-g,d<0&&(d=-d),m+=d,m>$t;for(B<=1&&(B=0),g=0;g=p&&(O-=p),g++,b===0&&(b=1),g%b===0)for(m-=m/P,y-=y/yr,B=y>>$t,B<=1&&(B=0),C=0;C=254&&I(O)}function b(C){m(wt),f=T+2,A=!0,N(T,C)}function m(C){for(var O=0;O=0){lt=z-G,G===0&&(lt=1);do if((G-=lt)<0&&(G+=z),s[G]===w){Y=a[G];continue t}while(s[G]>=0)}N(Y,O),Y=ut,f<1<0&&(C.writeByte(u),C.writeBytes(n,0,u),u=0)}function R(C){return(1<0?l|=C<=8;)d(l&255,O),l>>=8,c-=8;if((f>v||A)&&(A?(v=R(P=k),A=!1):(++P,P==At?v=1<0;)d(l&255,O),l>>=8,c-=8;I(O)}}this.encode=B}function q(){this.page=-1,this.pages=[],this.newPage()}q.pageSize=4096;q.charMap={};for(var Pt=0;Pt<256;Pt++)q.charMap[Pt]=String.fromCharCode(Pt);q.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(q.pageSize),this.cursor=0};q.prototype.getData=function(){for(var o="",t=0;tr+i.length,0));return o.reduce((r,i)=>(e.set(i,r),r+i.length),0),e};q.prototype.writeByte=function(o){this.cursor>=q.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=o};q.prototype.writeUTFBytes=function(o){for(var t=o.length,e=0;e=0&&(this.dispose=o)};$.prototype.setRepeat=function(o){this.repeat=o};$.prototype.setTransparent=function(o){this.transparent=o};$.prototype.addFrame=function(o){this.image=o,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),this.globalPalette===!0&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeHeader(),this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),!this.firstFrame&&!this.globalPalette&&this.writePalette(),this.writePixels(),this.firstFrame=!1};$.prototype.finish=function(){this.out.writeByte(59)};$.prototype.setQuality=function(o){o<1&&(o=1),this.sample=o};$.prototype.setDither=function(o){o===!0&&(o="FloydSteinberg"),this.dither=o};$.prototype.setGlobalPalette=function(o){this.globalPalette=o};$.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette};$.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")};$.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new Pr(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),this.dither.match(/-serpentine/)!==null):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,this.transparent!==null&&(this.transIndex=this.findClosest(this.transparent,!0))};$.prototype.indexPixels=function(o){var t=this.pixels.length/3;this.indexedPixels=new Uint8Array(t);for(var e=0,r=0;r=0&&B+u=0&&I+c>16,(o&65280)>>8,o&255,t)};$.prototype.findClosestRGB=function(o,t,e,r){if(this.colorTab===null)return-1;if(this.neuQuant&&!r)return this.neuQuant.lookupRGB(o,t,e);for(var i=0,n=256*256*256,s=this.colorTab.length,a=0,l=0;a=0&&(t=this.dispose&7),t<<=2,this.out.writeByte(0|t|0|o),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)};$.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)};$.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)};$.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)};$.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var o=3*256-this.colorTab.length,t=0;t>8&255)};$.prototype.writePixels=function(){var o=new Dr(this.width,this.height,this.indexedPixels,this.colorDepth);o.encode(this.out)};$.prototype.stream=function(){return this.out};var kr=globalThis&&globalThis.__awaiter||function(o,t,e,r){function i(n){return n instanceof e?n:new e(function(s){s(n)})}return new(e||(e=Promise))(function(n,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?n(u.value):i(u.value).then(a,l)}c((r=r.apply(o,t||[])).next())})};const{Canvas:nt}=Ye,Bt=.4;function ie(o){if(!o)return;function t(e){e.onload=null,e.onerror=null}return new Promise(function(e,r){if(o.slice(0,4)=="data"){let n=new Image;n.onload=function(){e(n),t(n)},n.onerror=function(){r("Image load error"),t(n)},n.src=o;return}let i=new Image;i.setAttribute("crossOrigin","Anonymous"),i.onload=function(){e(i)},i.onerror=function(){r("Image load error")},i.src=o})}class _{constructor(t){const e=Object.assign({},t);if(Object.keys(_.defaultOptions).forEach(r=>{r in e||Object.defineProperty(e,r,{value:_.defaultOptions[r],enumerable:!0,writable:!0})}),e.components?typeof e.components=="object"&&Object.keys(_.defaultComponentOptions).forEach(r=>{r in e.components?Object.defineProperty(e.components,r,{value:Object.assign(Object.assign({},_.defaultComponentOptions[r]),e.components[r]),enumerable:!0,writable:!0}):Object.defineProperty(e.components,r,{value:_.defaultComponentOptions[r],enumerable:!0,writable:!0})}):e.components=_.defaultComponentOptions,e.dotScale!==null&&e.dotScale!==void 0){if(e.dotScale<=0||e.dotScale>1)throw new Error("dotScale should be in range (0, 1].");e.components.data.scale=e.dotScale,e.components.timing.scale=e.dotScale,e.components.alignment.scale=e.dotScale}this.options=e,this.canvas=new nt(t.size,t.size),this.canvasContext=this.canvas.getContext("2d"),this.qrCode=new ht(-1,this.options.correctLevel),Number.isInteger(this.options.maskPattern)&&(this.qrCode.maskPattern=this.options.maskPattern),Number.isInteger(this.options.version)&&(this.qrCode.typeNumber=this.options.version),this.qrCode.addData(this.options.text),this.qrCode.make()}draw(){return new Promise(t=>this._draw().then(t))}_clear(){this.canvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)}static _prepareRoundedCornerClip(t,e,r,i,n,s){t.beginPath(),t.moveTo(e,r),t.arcTo(e+i,r,e+i,r+n,s),t.arcTo(e+i,r+n,e,r+n,s),t.arcTo(e,r+n,e,r,s),t.arcTo(e,r,e+i,r,s),t.closePath()}static _getAverageRGB(t){const r={r:0,g:0,b:0};let i,n,s=-4;const a={r:0,g:0,b:0};let l=0;n=t.naturalHeight||t.height,i=t.naturalWidth||t.width;const u=new nt(i,n).getContext("2d");if(!u)return r;u.drawImage(t,0,0);let f;try{f=u.getImageData(0,0,i,n)}catch{return r}for(;(s+=5*4)200||f.data[s+1]>200||f.data[s+2]>200||(++l,a.r+=f.data[s],a.g+=f.data[s+1],a.b+=f.data[s+2]);return a.r=~~(a.r/l),a.g=~~(a.g/l),a.b=~~(a.b/l),a}static _drawDot(t,e,r,i,n=0,s=1){t.fillRect((e+n)*i,(r+n)*i,s*i,s*i)}static _drawAlignProtector(t,e,r,i){t.clearRect((e-2)*i,(r-2)*i,5*i,5*i),t.fillRect((e-2)*i,(r-2)*i,5*i,5*i)}static _drawAlign(t,e,r,i,n=0,s=1,a,l){const c=t.fillStyle;t.fillStyle=a,new Array(4).fill(0).map((u,f)=>{_._drawDot(t,e-2+f,r-2,i,n,s),_._drawDot(t,e+2,r-2+f,i,n,s),_._drawDot(t,e+2-f,r+2,i,n,s),_._drawDot(t,e-2,r+2-f,i,n,s)}),_._drawDot(t,e,r,i,n,s),l||(t.fillStyle="rgba(255, 255, 255, 0.6)",new Array(2).fill(0).map((u,f)=>{_._drawDot(t,e-1+f,r-1,i,n,s),_._drawDot(t,e+1,r-1+f,i,n,s),_._drawDot(t,e+1-f,r+1,i,n,s),_._drawDot(t,e-1,r+1-f,i,n,s)})),t.fillStyle=c}_draw(){var t,e,r,i,n,s,a,l,c,u,f,v,A,k,T,M,g,p,P;return kr(this,void 0,void 0,function*(){const d=(t=this.qrCode)===null||t===void 0?void 0:t.moduleCount,b=this.options.size;let m=this.options.margin;(m<0||m*2>=b)&&(m=0);const y=Math.ceil(m),B=b-2*m,I=this.options.whiteMargin,R=this.options.backgroundDimming,h=Math.ceil(B/d),N=h*d,C=N+2*y,O=new nt(C,C),w=O.getContext("2d");this._clear(),w.save(),w.translate(y,y);const ut=new nt(C,C),G=ut.getContext("2d");let Y=null,lt=[];if(this.options.gifBackground){const D=hr(this.options.gifBackground);if(Y=D,lt=dr(D),this.options.autoColor){let E=0,x=0,S=0,H=0;for(let F=0;F200||U[1]>200||U[2]>200||U[0]===0&&U[1]===0&&U[2]===0||(H++,E+=U[0],x+=U[1],S+=U[2])}E=~~(E/H),x=~~(x/H),S=~~(S/H),this.options.colorDark=`rgb(${E},${x},${S})`}}else if(this.options.backgroundImage){const D=yield ie(this.options.backgroundImage);if(this.options.autoColor){const E=_._getAverageRGB(D);this.options.colorDark=`rgb(${E.r},${E.g},${E.b})`}G.drawImage(D,0,0,D.width,D.height,0,0,C,C),G.rect(0,0,C,C),G.fillStyle=R,G.fill()}else G.rect(0,0,C,C),G.fillStyle=this.options.colorLight,G.fill();const z=L.getPatternPosition(this.qrCode.typeNumber),Q=((r=(e=this.options.components)===null||e===void 0?void 0:e.data)===null||r===void 0?void 0:r.scale)||Bt,zt=(1-Q)*.5;for(let D=0;D=d-8)||E>=d-8&&D<8,H=D==6&&E>=8&&E<=d-8||E==6&&D>=8&&D<=d-8;let F=S||H;for(let X=1;X=z[X]-2&&D<=z[X]+2&&E>=z[X]-2&&E<=z[X]+2;const U=E*h+(F?0:zt*h),tt=D*h+(F?0:zt*h);if(w.strokeStyle=x?this.options.colorDark:this.options.colorLight,w.lineWidth=.5,w.fillStyle=x?this.options.colorDark:this.options.colorLight,z.length===0)F||w.fillRect(U,tt,(F?1:Q)*h,(F?1:Q)*h);else{const X=E=d-4-5&&D=d-4-5;!F&&!X&&w.fillRect(U,tt,(F?1:Q)*h,(F?1:Q)*h)}}const J=z[z.length-1],ve=this.options.colorLight;if(w.fillStyle=ve,w.fillRect(0,0,8*h,8*h),w.fillRect(0,(d-8)*h,8*h,8*h),w.fillRect((d-8)*h,0,8*h,8*h),!((n=(i=this.options.components)===null||i===void 0?void 0:i.timing)===null||n===void 0)&&n.protectors&&(w.fillRect(8*h,6*h,(d-8-8)*h,h),w.fillRect(6*h,8*h,h,(d-8-8)*h)),!((a=(s=this.options.components)===null||s===void 0?void 0:s.cornerAlignment)===null||a===void 0)&&a.protectors&&_._drawAlignProtector(w,J,J,h),!((c=(l=this.options.components)===null||l===void 0?void 0:l.alignment)===null||c===void 0)&&c.protectors)for(let D=0;D=1)&&(E=.2),x<0&&(x=0),S<0&&(S=0);const H=N*E,F=.5*(C-H),U=F;w.restore(),w.fillStyle=this.options.logoBackgroundColor,w.save(),_._prepareRoundedCornerClip(w,F-x,U-x,H+2*x,H+2*x,S+x),w.clip();const tt=w.globalCompositeOperation;w.globalCompositeOperation="destination-out",w.fill(),w.globalCompositeOperation=tt,w.restore(),w.save(),_._prepareRoundedCornerClip(w,F,U,H,H,S),w.clip(),w.drawImage(D,F,U,H,H),w.restore(),w.save(),w.translate(y,y)}if(Y){let D,E,x,S,H,F;if(lt.forEach(function(U){D||(D=new $(b,b),D.setDelay(U.delay),D.setRepeat(0));const{width:tt,height:X}=U.dims;E||(E=new nt(tt,X),x=E.getContext("2d"),x.rect(0,0,E.width,E.height),x.fillStyle="#ffffff",x.fill()),(!S||!F||tt!==S.width||X!==S.height)&&(S=new nt(tt,X),H=S.getContext("2d"),F=H.createImageData(tt,X)),F.data.set(U.patch),H.putImageData(F,0,0),x.drawImage(S.getContext("2d").canvas,U.dims.left,U.dims.top);const yt=new nt(C,C),mt=yt.getContext("2d");mt.drawImage(E.getContext("2d").canvas,0,0,C,C),mt.rect(0,0,C,C),mt.fillStyle=R,mt.fill(),mt.drawImage(O.getContext("2d").canvas,0,0,C,C);const St=new nt(b,b),Zt=St.getContext("2d");Zt.drawImage(yt.getContext("2d").canvas,0,0,b,b),D.addFrame(Zt.getImageData(0,0,St.width,St.height).data)}),!D)throw new Error("No frames.");if(D.finish(),oe(this.canvas)){const tt=D.stream().toFlattenUint8Array().reduce((X,yt)=>X+String.fromCharCode(yt),"");return Promise.resolve(`data:image/gif;base64,${window.btoa(tt)}`)}return Promise.resolve(Buffer.from(D.stream().toFlattenUint8Array()))}else{G.drawImage(O.getContext("2d").canvas,0,0,C,C),w.drawImage(ut.getContext("2d").canvas,-y,-y,C,C);const D=new nt(b,b);D.getContext("2d").drawImage(O.getContext("2d").canvas,0,0,b,b),this.canvas=D;const x=this.options.gifBackground?"gif":"png";return oe(this.canvas)?Promise.resolve(this.canvas.toDataURL(x)):Promise.resolve(this.canvas.toBuffer(x))}})}}_.CorrectLevel=Z;_.defaultComponentOptions={data:{scale:.4},timing:{scale:.5,protectors:!1},alignment:{scale:.5,protectors:!1},cornerAlignment:{scale:.5,protectors:!0}};_.defaultOptions={text:"",size:400,margin:20,colorDark:"#000000",colorLight:"rgba(255, 255, 255, 0.6)",correctLevel:Z.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:4,logoCornerRadius:8,whiteMargin:!0,components:_.defaultComponentOptions,autoColor:!0,logoBackgroundColor:"#ffffff",backgroundColor:"#ffffff"};function oe(o){try{return o instanceof HTMLElement}catch{return typeof o=="object"&&o.nodeType===1&&typeof o.style=="object"&&typeof o.ownerDocument=="object"}}function Dt(o,...t){if(Array.isArray(o))o.forEach(e=>Dt(e,...t));else return o(...t)}const Tr=(o,t)=>{const e=document.createElement("a");e.href=o,e.download=t||new Date().getTime()+".png",e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)},Er=o=>new Promise((t,e)=>{const r=new XMLHttpRequest;r.responseType="blob",r.onload=()=>{const i=new FileReader;i.onloadend=()=>{t(i.result)},i.onerror=n=>{e(n)},i.onabort=n=>{e(n)},i.readAsArrayBuffer(r.response)},r.open("GET",o),r.send()}),Nt=be({name:"Vue3NextQrcode",props:ke,setup(o,t){const{expose:e}=t,r=ye(()=>({"--ray-qrcode-width":o.size+"px","--ray-qrcode-height":o.size+"px","--ray-qrcode-border-radius":o.logoCornerRadius+"px","--ray-qrcode-mask-color":o.maskColor})),i=qt();let n;const s=qt(!1);let a;const l=async()=>{const{gifBackgroundURL:v}=o;if(v)try{n=await Er(v)}catch(A){console.error(A)}},c=()=>{const{gifBackgroundURL:v,gifBackground:A,...k}=o;new _({...k,gifBackground:n??void 0}).draw().then(T=>{const{onSuccess:M}=o;M&&Dt(M,T),i.value=T}).catch(T=>{const{onError:M}=o;M&&Dt(M,T)})},u=()=>{if(t.slots.errorAction)return;const{onReload:v}=o;v&&Dt(v)},f=v=>i.value&&typeof i.value=="string"?new Promise(A=>{Tr(i.value,v),A()}):Promise.reject();return Ce(()=>{o.watchText?a=De(()=>o.text,()=>c()):a==null||a()}),e({downloadQRCode:f}),Ae(async()=>{await l(),c()}),Pe(()=>{a==null||a()}),{qrcodeURL:i,errorActionClick:u,cssVars:r,isClick:s}},render(){return ot("div",{class:"ray-qrcode",style:[this.cssVars]},[ot("div",{class:[this.status==="loading"&&!this.$slots.loading?"ray-qrcode__loading":"",this.$slots.loading?"ray-qrcode__loading--custom":""]},[this.status==="loading"?this.$slots.loading?ot("div",{class:"ray-qrcode__loading-slots"},[this.$slots.loading()]):ot("div",{class:"ray-qrcode__spin"},null):null,ot("img",Be({src:this.qrcodeURL},{img_tag:"VUE3_NEXT_QRCODE"}),null)]),this.status==="error"?ot("div",{class:"ray-qrcode__error"},[ot("div",{class:"ray-qrcode__error-content"},[typeof this.errorDescription=="string"?this.errorDescription:()=>this.errorDescription]),ot("div",{class:"ray-qrcode__error-btn",onClick:this.errorActionClick.bind(this)},[this.$slots.errorAction?this.$slots.errorAction():ot("span",{onMousedown:()=>{this.isClick=!0},onMouseup:()=>{this.isClick=!1},class:[this.isClick?"ray-qrcode__error-btn-click":""]},[this.errorActionDescription])])]):null])}});Nt.install=function(o){o.component(Nt.name,Nt)};export{Nt as Q};
+import{l as be,j as ye,f as Ce,k as Ae,v as Pe,b as ot,m as Be,w as De}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as qt}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";const ke={maskColor:{type:String,default:"rgba(255, 255, 255, 0.96)"},watchText:{type:Boolean,default:!0},status:{type:String},errorDescription:{type:[String,Object],default:"二维码已过期"},errorActionDescription:{type:String,default:"重新加载"},text:{type:String,required:!0},size:{type:Number,default:160},margin:{type:Number,default:12},correctLevel:{type:Number,default:1,validator:o=>[0,1,2,3].includes(o)},maskPattern:{type:Number},version:{type:Number},components:{type:Object,default:()=>({data:{scale:1},timing:{scale:1,protectors:!1},alignment:{scale:1,protectors:!1},cornerAlignment:{scale:1,protectors:!0}})},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#ffffff"},autoColor:{type:Boolean,default:!0},backgroundImage:{type:String},backgroundDimming:{type:String,default:"rgba(0, 0, 0, 0)"},gifBackgroundURL:{type:String},gifBackground:{type:ArrayBuffer},whiteMargin:{type:Boolean,default:!0},logoImage:{type:String},logoScale:{type:Number,default:.4},logoMargin:{type:Number,default:6},logoCornerRadius:{type:Number,default:8},dotScale:{type:Number,default:1},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},onReload:{type:[Function,Array],default:null}};function Te(o,t,e){const r=ne(t),i=o-1;let n=0;switch(e){case Z.L:n=rt[i][0];break;case Z.M:n=rt[i][1];break;case Z.Q:n=rt[i][2];break;case Z.H:n=rt[i][3];break}return r<=n}function Ee(o,t){for(var e=1,r=ne(o),i=0,n=rt.length;irt.length)throw new Error("Too long data");return e}function ne(o){var t=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=Number(o)?3:0)}class Ie{constructor(t){this.mode=V.MODE_8BIT_BYTE,this.parsedData=[],this.data=t;const e=[];for(let r=0,i=this.data.length;r65536?(n[0]=240|(s&1835008)>>>18,n[1]=128|(s&258048)>>>12,n[2]=128|(s&4032)>>>6,n[3]=128|s&63):s>2048?(n[0]=224|(s&61440)>>>12,n[1]=128|(s&4032)>>>6,n[2]=128|s&63):s>128?(n[0]=192|(s&1984)>>>6,n[1]=128|s&63):n[0]=s,e.push(n)}this.parsedData=Array.prototype.concat.apply([],e),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}getLength(){return this.parsedData.length}write(t){for(let e=0,r=this.parsedData.length;e40)throw new Error(`Invalid QR version: ${this.typeNumber}`);if(!Te(this.typeNumber,t,this.errorCorrectLevel))throw new Error(`Data is too long for QR version: ${this.typeNumber}`)}const e=new Ie(t);this.dataList.push(e),this.dataCache=void 0}isDark(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(`${t},${e}`);return this.modules[t][e]}getModuleCount(){return this.moduleCount}make(){this.makeImpl(!1,this.getBestMaskPattern())}makeImpl(t,e){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(let r=0;r=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=ht.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)}setupPositionProbePattern(t,e){for(let r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(let i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(0<=r&&r<=6&&(i==0||i==6)||0<=i&&i<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=i&&i<=4?this.modules[t+r][e+i]=!0:this.modules[t+r][e+i]=!1)}getBestMaskPattern(){if(Number.isInteger(this.maskPattern)&&Object.values(st).includes(this.maskPattern))return this.maskPattern;let t=0,e=0;for(let r=0;r<8;r++){this.makeImpl(!0,r);const i=L.getLostPoint(this);(r==0||t>i)&&(t=i,e=r)}return e}setupTimingPattern(){for(let t=8;t>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=i}for(var r=0;r<18;r++){var i=!t&&(e>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=i}}setupTypeInfo(t,e){const r=this.errorCorrectLevel<<3|e,i=L.getBCHTypeInfo(r);for(var n=0;n<15;n++){var s=!t&&(i>>n&1)==1;n<6?this.modules[n][8]=s:n<8?this.modules[n+1][8]=s:this.modules[this.moduleCount-15+n][8]=s}for(var n=0;n<15;n++){var s=!t&&(i>>n&1)==1;n<8?this.modules[8][this.moduleCount-n-1]=s:n<9?this.modules[8][15-n-1+1]=s:this.modules[8][15-n-1]=s}this.modules[this.moduleCount-8][8]=!t}mapData(t,e){let r=-1,i=this.moduleCount-1,n=7,s=0;for(let a=this.moduleCount-1;a>0;a-=2)for(a==6&&a--;;){for(let l=0;l<2;l++)if(this.modules[i][a-l]==null){let c=!1;s>>n&1)==1),L.getMask(e,i,a-l)&&(c=!c),this.modules[i][a-l]=c,n--,n==-1&&(s++,n=7)}if(i+=r,i<0||this.moduleCount<=i){i-=r,r=-r;break}}}static createData(t,e,r){const i=at.getRSBlocks(t,e),n=new xe;for(var s=0;sa*8)throw new Error(`code length overflow. (${n.getLengthInBits()}>${a*8})`);for(n.getLengthInBits()+4<=a*8&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(!1);for(;!(n.getLengthInBits()>=a*8||(n.put(ht.PAD0,8),n.getLengthInBits()>=a*8));)n.put(ht.PAD1,8);return ht.createBytes(n,i)}static createBytes(t,e){let r=0,i=0,n=0;const s=new Array(e.length),a=new Array(e.length);for(var l=0;l=0?g.get(P):0}}let u=0;for(var c=0;c=0;)e^=L.G15<=0;)e^=L.G18<>>=1;return e}static getPatternPosition(t){return L.PATTERN_POSITION_TABLE[t-1]}static getMask(t,e,r){switch(t){case st.PATTERN000:return(e+r)%2==0;case st.PATTERN001:return e%2==0;case st.PATTERN010:return r%3==0;case st.PATTERN011:return(e+r)%3==0;case st.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case st.PATTERN101:return e*r%2+e*r%3==0;case st.PATTERN110:return(e*r%2+e*r%3)%2==0;case st.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error(`bad maskPattern:${t}`)}}static getErrorCorrectPolynomial(t){let e=new vt([1],0);for(let r=0;r5&&(r+=3+l-5)}for(var i=0;i=256;)t-=255;return j.EXP_TABLE[t]}}j.EXP_TABLE=new Array(256);j.LOG_TABLE=new Array(256);j._constructor=function(){for(var o=0;o<8;o++)j.EXP_TABLE[o]=1<>>7-t%8&1)==1}put(t,e){for(let r=0;r>>e-r-1&1)==1)}getLengthInBits(){return this.length}putBit(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}}const rt=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function et(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function Vt(o,t){for(var e="",r=0,i=-1,n=0,s,a=0;a<=o.length;++a){if(a2){var l=e.lastIndexOf("/");if(l!==e.length-1){l===-1?(e="",r=0):(e=e.slice(0,l),r=e.length-1-e.lastIndexOf("/")),i=a,n=0;continue}}else if(e.length===2||e.length===1){e="",r=0,i=a,n=0;continue}}t&&(e.length>0?e+="/..":e="..",r=2)}else e.length>0?e+="/"+o.slice(i+1,a):e=o.slice(i+1,a),r=a-i-1;i=a,n=0}else s===46&&n!==-1?++n:n=-1}return e}function Se(o,t){var e=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return e?e===t.root?e+r:e+o+r:r}var dt={resolve:function(){for(var t="",e=!1,r,i=arguments.length-1;i>=-1&&!e;i--){var n;i>=0?n=arguments[i]:(r===void 0&&(r=process.cwd()),n=r),et(n),n.length!==0&&(t=n+"/"+t,e=n.charCodeAt(0)===47)}return t=Vt(t,!e),e?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(et(t),t.length===0)return".";var e=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Vt(t,!e),t.length===0&&!e&&(t="."),t.length>0&&r&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return et(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,e=0;e0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":dt.normalize(t)},relative:function(t,e){if(et(t),et(e),t===e||(t=dt.resolve(t),e=dt.resolve(e),t===e))return"";for(var r=1;rc){if(e.charCodeAt(s+f)===47)return e.slice(s+f+1);if(f===0)return e.slice(s+f)}else n>c&&(t.charCodeAt(r+f)===47?u=f:f===0&&(u=0));break}var v=t.charCodeAt(r+f),A=e.charCodeAt(s+f);if(v!==A)break;v===47&&(u=f)}var k="";for(f=r+u+1;f<=i;++f)(f===i||t.charCodeAt(f)===47)&&(k.length===0?k+="..":k+="/..");return k.length>0?k+e.slice(s+u):(s+=u,e.charCodeAt(s)===47&&++s,e.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(et(t),t.length===0)return".";for(var e=t.charCodeAt(0),r=e===47,i=-1,n=!0,s=t.length-1;s>=1;--s)if(e=t.charCodeAt(s),e===47){if(!n){i=s;break}}else n=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},basename:function(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');et(t);var r=0,i=-1,n=!0,s;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var a=e.length-1,l=-1;for(s=t.length-1;s>=0;--s){var c=t.charCodeAt(s);if(c===47){if(!n){r=s+1;break}}else l===-1&&(n=!1,l=s+1),a>=0&&(c===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return r===i?i=l:i===-1&&(i=t.length),t.slice(r,i)}else{for(s=t.length-1;s>=0;--s)if(t.charCodeAt(s)===47){if(!n){r=s+1;break}}else i===-1&&(n=!1,i=s+1);return i===-1?"":t.slice(r,i)}},extname:function(t){et(t);for(var e=-1,r=0,i=-1,n=!0,s=0,a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(l===47){if(!n){r=a+1;break}continue}i===-1&&(n=!1,i=a+1),l===46?e===-1?e=a:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||i===-1||s===0||s===1&&e===i-1&&e===r+1?"":t.slice(e,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return Se("/",t)},parse:function(t){et(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;var r=t.charCodeAt(0),i=r===47,n;i?(e.root="/",n=1):n=0;for(var s=-1,a=0,l=-1,c=!0,u=t.length-1,f=0;u>=n;--u){if(r=t.charCodeAt(u),r===47){if(!c){a=u+1;break}continue}l===-1&&(c=!1,l=u+1),r===46?s===-1?s=u:f!==1&&(f=1):s!==-1&&(f=-1)}return s===-1||l===-1||f===0||f===1&&s===l-1&&s===a+1?l!==-1&&(a===0&&i?e.base=e.name=t.slice(1,l):e.base=e.name=t.slice(a,l)):(a===0&&i?(e.name=t.slice(1,s),e.base=t.slice(1,l)):(e.name=t.slice(a,s),e.base=t.slice(a,l)),e.ext=t.slice(s,l)),a>0?e.dir=t.slice(0,a-1):i&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};dt.posix=dt;const _e=dt.extname,se=dt.basename;class Le{constructor(){let t=typeof global>"u",e="image/png",r="image/jpeg",i="image/jpeg",n="image/webp",s="application/pdf",a="image/svg+xml";Object.assign(this,{toMime:this.toMime.bind(this),fromMime:this.fromMime.bind(this),expected:t?'"png", "jpg", or "webp"':'"png", "jpg", "pdf", or "svg"',formats:t?{png:e,jpg:r,jpeg:i,webp:n}:{png:e,jpg:r,jpeg:i,pdf:s,svg:a},mimes:t?{[e]:"png",[r]:"jpg",[n]:"webp"}:{[e]:"png",[r]:"jpg",[s]:"pdf",[a]:"svg"}})}toMime(t){return this.formats[(t||"").replace(/^\./,"").toLowerCase()]}fromMime(t){return this.mimes[t]}}function Me(o,{filename:t="",extension:e="",format:T,page:i,quality:n,matte:s,density:a,outline:l,archive:A}={}){var{fromMime:u,toMime:f,expected:v}=new Le,A=A||"canvas",k=T||e.replace(/@\d+x$/i,"")||_e(t),T=u(f(k)||k),M=f(T),g=o.length;if(!k)throw new Error("Cannot determine image format (use a filename extension or 'format' argument)");if(!T)throw new Error(`Unsupported file format "${k}" (expected ${v})`);if(!g)throw new RangeError("Canvas has no associated contexts (try calling getContext or newPage first)");let p,P,d=t.replace(/{(\d*)}/g,(m,y)=>(P=!0,y=parseInt(y,10),p=isFinite(y)?y:isFinite(p)?p:-1,"{}")),b=i>0?i-1:i<0?g+i:void 0;if(isFinite(b)&&b<0||b>=g)throw new RangeError(g==1?`Canvas only has a ‘page 1’ (${b} is out of bounds)`:`Canvas has pages 1–${g} (${b} is out of bounds)`);if(o=isFinite(b)?[o[b]]:P||T=="pdf"?o:o.slice(-1),n===void 0)n=.92;else if(typeof n!="number"||!isFinite(n)||n<0||n>1)throw new TypeError("The quality option must be an number in the 0.0–1.0 range");if(a===void 0){let m=(e||se(t,k)).match(/@(\d+)x$/i);a=m?parseInt(m[1],10):1}else if(typeof a!="number"||!Number.isInteger(a)||a<1)throw new TypeError("The density option must be a non-negative integer");return l===void 0?l=!0:T=="svg"&&(l=!!l),{filename:t,pattern:d,format:T,mime:M,pages:o,padding:p,quality:n,matte:s,density:a,outline:l,archive:A}}class kt{static for(t){return new kt().append(t).get()}constructor(){this.crc=-1}get(){return~this.crc}append(t){for(var e=this.crc|0,r=this.table,i=0,n=t.length|0;i>>8^r[(e^t[i])&255];return this.crc=e,this}}kt.prototype.table=(()=>{var o,t,e,r=[];for(o=0;o<256;o++){for(e=o,t=0;t<8;t++)e=e&1?e>>>1^3988292384:e>>>1;r[o]=e}return r})();function _t(o){let t=new Uint8Array(o),e=new DataView(t.buffer),r={array:t,view:e,size:o,set8(i,n){return e.setUint8(i,n),r},set16(i,n){return e.setUint16(i,n,!0),r},set32(i,n){return e.setUint32(i,n,!0),r},bytes(i,n){return t.set(n,i),r}};return r}class Tt{constructor(t){let e=new Date;Object.assign(this,{directory:t,offset:0,files:[],time:(e.getHours()<<6|e.getMinutes())<<5|e.getSeconds()/2,date:(e.getFullYear()-1980<<4|e.getMonth()+1)<<5|e.getDate()}),this.add(t)}async add(t,e){let r=!e,i=Tt.encoder.encode(`${this.directory}/${r?"":t}`),n=new Uint8Array(r?0:await e.arrayBuffer()),s=30+i.length,a=s+n.length,l=16,{offset:c}=this,u=_t(26).set32(0,134742036).set16(6,this.time).set16(8,this.date).set32(10,kt.for(n)).set32(14,n.length).set32(18,n.length).set16(22,i.length);c+=s;let f=_t(s+n.length+l).set32(0,67324752).bytes(4,u.array).bytes(30,i).bytes(s,n);c+=n.length,f.set32(a,134695760).bytes(a+4,u.array.slice(10,22)),c+=l,this.files.push({offset:c,folder:r,name:i,header:u,payload:f}),this.offset=c}toBuffer(){let t=this.files.reduce((f,{name:v})=>46+v.length+f,0),e=_t(t+22),r=0;for(var{offset:i,name:n,header:s,folder:a}of this.files)e.set32(r,33639248).set16(r+4,20).bytes(r+6,s.array).set8(r+38,a?16:0).set32(r+42,i).bytes(r+46,n),r+=46+n.length;e.set32(r,101010256).set16(r+8,this.files.length).set16(r+10,this.files.length).set32(r+12,t).set32(r+16,this.offset);let l=new Uint8Array(this.offset+e.size),c=0;for(var{payload:u}of this.files)l.set(u.array,c),c+=u.size;return l.set(e.array,c),l}get blob(){return new Blob([this.toBuffer()],{type:"application/zip"})}}Tt.encoder=new TextEncoder;const Ft=(o,t,e,r)=>{if(r){let{width:i,height:n}=o,s=Object.assign(document.createElement("canvas"),{width:i,height:n}),a=s.getContext("2d");a.fillStyle=r,a.fillRect(0,0,i,n),a.drawImage(o,0,0),o=s}return new Promise((i,n)=>o.toBlob(i,t,e))},Re=(...o)=>Ft(...o).then(t=>t.arrayBuffer()),Ne=async(o,t,e,r,i)=>{ae(i,await Ft(o,t,e,r))},Oe=async(o,t,e,r,i,n,s)=>{let a=u=>n.replace("{}",String(u+1).padStart(s,"0")),l=se(i,".zip")||"archive",c=new Tt(l);await Promise.all(o.map(async(u,f)=>{let v=a(f);await c.add(v,await Ft(u,t,e,r))})),ae(`${l}.zip`,c.blob)},ae=(o,t)=>{const e=window.URL.createObjectURL(t),r=document.createElement("a");r.style.display="none",r.href=e,r.setAttribute("download",o),typeof r.download>"u"&&r.setAttribute("target","_blank"),document.body.appendChild(r),r.click(),document.body.removeChild(r),setTimeout(()=>window.URL.revokeObjectURL(e),100)},$e=(o,t,e)=>o.map(r=>{if(t==1&&!e)return r.canvas;let i=document.createElement("canvas"),n=i.getContext("2d"),s=r.canvas?r.canvas:r;return i.width=s.width*t,i.height=s.height*t,e&&(n.fillStyle=e,n.fillRect(0,0,i.width,i.height)),n.scale(t,t),n.drawImage(s,0,0),i}),Fe={asBuffer:Re,asDownload:Ne,asZipDownload:Oe,atScale:$e,options:Me},{asBuffer:Lt,asDownload:Ue,asZipDownload:Ge,atScale:Mt,options:Rt}=Fe,Jt=Symbol.for("toDataURL"),je=o=>new Promise((t,e)=>Object.assign(new le,{crossOrigin:"Anonymous",onload:t,onerror:e,src:o}));let ze=class{constructor(t,e){let r=document.createElement("canvas"),i=[];Object.defineProperty(r,"async",{value:!0,writable:!1,enumerable:!0});for(var[n,s]of Object.entries({png:()=>Lt(r,"image/png"),jpg:()=>Lt(r,"image/jpeg"),pages:()=>i.concat(r).map(a=>a.getContext("2d"))}))Object.defineProperty(r,n,{get:s});return Object.assign(r,{width:t,height:e,newPage(...a){var{width:c,height:u}=r,l=Object.assign(document.createElement("canvas"),{width:c,height:u});l.getContext("2d").drawImage(r,0,0),i.push(l);var[c,u]=a.length?a:[c,u];return Object.assign(r,{width:c,height:u}).getContext("2d")},saveAs(a,l){l=typeof l=="number"?{quality:l}:l;let c=Rt(this.pages,{filename:a,...l}),{pattern:u,padding:f,mime:v,quality:A,matte:k,density:T,archive:M}=c,g=Mt(c.pages,T);return f==null?Ue(g[0],v,A,k,a):Ge(g,v,A,k,M,u,f)},toBuffer(a="png",l={}){l=typeof l=="number"?{quality:l}:l;let c=Rt(this.pages,{extension:a,...l}),{mime:u,quality:f,matte:v,pages:A,density:k}=c,T=Mt(A,k,v)[0];return Lt(T,u,f,v)},[Jt]:r.toDataURL.bind(r),toDataURL(a="png",l={}){l=typeof l=="number"?{quality:l}:l;let c=Rt(this.pages,{extension:a,...l}),{mime:u,quality:f,matte:v,pages:A,density:k}=c,T=Mt(A,k,v)[0],M=T[T===r?Jt:"toDataURL"](u,f);return Promise.resolve(M)}})}};const{CanvasRenderingContext2D:He,CanvasGradient:Ke,CanvasPattern:Xe,Image:le,ImageData:Ze,Path2D:qe,DOMMatrix:Ve,DOMRect:Je,DOMPoint:We}=window,Ye={Canvas:ze,loadImage:je,CanvasRenderingContext2D:He,CanvasGradient:Ke,CanvasPattern:Xe,Image:le,ImageData:Ze,Path2D:qe,DOMMatrix:Ve,DOMRect:Je,DOMPoint:We},bt=(o,t,e={},r=e)=>{if(Array.isArray(t))t.forEach(i=>bt(o,i,e,r));else if(typeof t=="function")t(o,e,r,bt);else{const i=Object.keys(t)[0];Array.isArray(t[i])?(r[i]={},bt(o,t[i],e,r[i])):r[i]=t[i](o,e,r,bt)}return e},gt=(o,t)=>(e,r,i,n)=>{t(e,r,i)&&n(e,o,r,i)},Qe=(o,t)=>(e,r,i,n)=>{const s=[];let a=e.pos;for(;t(e,r,i);){const l={};if(n(e,o,r,l),e.pos===a)break;a=e.pos,s.push(l)}return s},tr=o=>({data:o,pos:0}),W=()=>o=>o.data[o.pos++],ce=(o=0)=>t=>t.data[t.pos+o],it=o=>t=>t.data.subarray(t.pos,t.pos+=o),Et=o=>t=>t.data.subarray(t.pos,t.pos+o),Ot=o=>t=>Array.from(it(o)(t)).map(e=>String.fromCharCode(e)).join(""),ft=o=>t=>{const e=it(2)(t);return(e[1]<<8)+e[0]},he=(o,t)=>(e,r,i)=>{const n=typeof t=="function"?t(e,r,i):t,s=it(o),a=new Array(n);for(var l=0;l{for(var r=0,i=0;it=>{const e=W()(t),r=new Array(8);for(var i=0;i<8;i++)r[7-i]=!!(e&1<{const a=o[s];return a.length?n[s]=er(r,a.index,a.length):n[s]=r[a.index],n},{})};var It={blocks:o=>{const e=[],r=o.data.length;for(var i=0,n=W()(o);n!==0&&n;n=W()(o)){if(o.pos+n>=r){const c=r-o.pos;e.push(it(c)(o)),i+=c;break}e.push(it(n)(o)),i+=n}const s=new Uint8Array(i);for(var a=0,l=0;l{var t=Et(2)(o);return t[0]===33&&t[1]===249}),ir=gt({image:[{code:W()},{descriptor:[{left:ft()},{top:ft()},{width:ft()},{height:ft()},{lct:Ut({exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}})}]},gt({lct:he(3,(o,t,e)=>Math.pow(2,e.descriptor.lct.size+1))},(o,t,e)=>e.descriptor.lct.exists),{data:[{minCodeSize:W()},It]}]},o=>ce()(o)===44),or=gt({text:[{codes:it(2)},{blockSize:W()},{preData:(o,t,e)=>it(e.text.blockSize)(o)},It]},o=>{var t=Et(2)(o);return t[0]===33&&t[1]===1}),nr=gt({application:[{codes:it(2)},{blockSize:W()},{id:(o,t,e)=>Ot(e.blockSize)(o)},It]},o=>{var t=Et(2)(o);return t[0]===33&&t[1]===255}),sr=gt({comment:[{codes:it(2)},It]},o=>{var t=Et(2)(o);return t[0]===33&&t[1]===254}),ar=[{header:[{signature:Ot(3)},{version:Ot(3)}]},{lsd:[{width:ft()},{height:ft()},{gct:Ut({exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}})},{backgroundColorIndex:W()},{pixelAspectRatio:W()}]},gt({gct:he(3,(o,t)=>Math.pow(2,t.lsd.gct.size+1))},(o,t)=>t.lsd.gct.exists),{frames:Qe([rr,nr,sr,ir,or],o=>{var t=ce()(o);return t===33||t===44})}],lr=(o,t)=>{const e=new Array(o.length),r=o.length/t,i=function(u,f){const v=o.slice(f*t,(f+1)*t);e.splice.apply(e,[u*t,t].concat(v))},n=[0,4,2,1],s=[8,8,4,2];for(var a=0,l=0;l<4;l++)for(var c=n[l];c{const n=e;var s,a,l,c,u,f,v,b,A,k,d,T,m,y,I,B;const M=new Array(e),g=new Array(4096),p=new Array(4096),P=new Array(4097);for(T=o,a=1<>=c,b-=c,A>s||A==u)break;if(A==a){c=T+1,l=(1<a;)P[y++]=p[A],A=g[A];m=p[A]&255,P[y++]=m,s<4096&&(g[s]=v,p[s]=m,s++,!(s&l)&&s<4096&&(c++,l+=s)),v=f}y--,M[B++]=P[y],k++}for(k=B;k{const t=new Uint8Array(o);return bt(tr(t),ar)},ur=o=>{const t=o.pixels.length,e=new Uint8ClampedArray(t*4);for(var r=0;r{if(!o.image){console.warn("gif frame does not have associated image.");return}const{image:r}=o,i=r.descriptor.width*r.descriptor.height;var n=cr(r.data.minCodeSize,r.data.blocks,i);r.descriptor.lct.interlaced&&(n=lr(n,r.descriptor.width));const s={pixels:n,dims:{top:o.image.descriptor.top,left:o.image.descriptor.left,width:o.image.descriptor.width,height:o.image.descriptor.height}};return r.descriptor.lct&&r.descriptor.lct.exists?s.colorTable=r.lct:s.colorTable=t,o.gce&&(s.delay=(o.gce.delay||10)*10,s.disposalType=o.gce.extras.disposal,o.gce.extras.transparentColorGiven&&(s.transparentIndex=o.gce.transparentColorIndex)),s.patch=ur(s),s},dr=(o,t)=>o.frames.filter(e=>e.image).map(e=>fr(e,o.gct));var gr=100,K=256,Wt=K-1,ct=4,ue=16,Gt=1<>jt,vr=Gt<>3,$t=6,wr=1<<$t,br=mr*wr,yr=30,de=10,Ct=1<>3);var g,p;for(g=0;g>=ct,e[g][1]>>=ct,e[g][2]>>=ct,e[g][3]=g}function c(g,p,P,d,b){e[p][0]-=g*(e[p][0]-P)/Ct,e[p][1]-=g*(e[p][1]-d)/Ct,e[p][2]-=g*(e[p][2]-b)/Ct}function u(g,p,P,d,b){for(var m=Math.abs(p-g),y=Math.min(p+g,K),B=p+1,I=p-1,R=1,h,N;Bm;)N=s[R++],Bm&&(h=e[I--],h[0]-=N*(h[0]-P)/pt,h[1]-=N*(h[1]-d)/pt,h[2]-=N*(h[2]-b)/pt)}function f(g,p,P){var d=2147483647,b=d,m=-1,y=m,B,I,R,h,N;for(B=0;B>ue-ct),h>jt,n[B]-=N,i[B]+=N<>1,p=y+1;p>1,p=y+1;p<256;p++)r[p]=Wt}function A(g,p,P){for(var d,b,m,y=1e3,B=-1,I=r[p],R=I-1;I=0;)I=y?I=K:(I++,m<0&&(m=-m),d=b[0]-g,d<0&&(d=-d),m+=d,m=0&&(b=e[R],m=p-b[1],m>=y?R=-1:(R--,m<0&&(m=-m),d=b[0]-g,d<0&&(d=-d),m+=d,m>$t;for(B<=1&&(B=0),g=0;g=p&&(O-=p),g++,b===0&&(b=1),g%b===0)for(m-=m/P,y-=y/yr,B=y>>$t,B<=1&&(B=0),C=0;C=254&&I(O)}function b(C){m(wt),f=T+2,A=!0,N(T,C)}function m(C){for(var O=0;O=0){lt=z-G,G===0&&(lt=1);do if((G-=lt)<0&&(G+=z),s[G]===w){Y=a[G];continue t}while(s[G]>=0)}N(Y,O),Y=ut,f<1<0&&(C.writeByte(u),C.writeBytes(n,0,u),u=0)}function R(C){return(1<0?l|=C<=8;)d(l&255,O),l>>=8,c-=8;if((f>v||A)&&(A?(v=R(P=k),A=!1):(++P,P==At?v=1<0;)d(l&255,O),l>>=8,c-=8;I(O)}}this.encode=B}function q(){this.page=-1,this.pages=[],this.newPage()}q.pageSize=4096;q.charMap={};for(var Pt=0;Pt<256;Pt++)q.charMap[Pt]=String.fromCharCode(Pt);q.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(q.pageSize),this.cursor=0};q.prototype.getData=function(){for(var o="",t=0;tr+i.length,0));return o.reduce((r,i)=>(e.set(i,r),r+i.length),0),e};q.prototype.writeByte=function(o){this.cursor>=q.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=o};q.prototype.writeUTFBytes=function(o){for(var t=o.length,e=0;e=0&&(this.dispose=o)};$.prototype.setRepeat=function(o){this.repeat=o};$.prototype.setTransparent=function(o){this.transparent=o};$.prototype.addFrame=function(o){this.image=o,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),this.globalPalette===!0&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeHeader(),this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),!this.firstFrame&&!this.globalPalette&&this.writePalette(),this.writePixels(),this.firstFrame=!1};$.prototype.finish=function(){this.out.writeByte(59)};$.prototype.setQuality=function(o){o<1&&(o=1),this.sample=o};$.prototype.setDither=function(o){o===!0&&(o="FloydSteinberg"),this.dither=o};$.prototype.setGlobalPalette=function(o){this.globalPalette=o};$.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette};$.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")};$.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new Pr(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),this.dither.match(/-serpentine/)!==null):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,this.transparent!==null&&(this.transIndex=this.findClosest(this.transparent,!0))};$.prototype.indexPixels=function(o){var t=this.pixels.length/3;this.indexedPixels=new Uint8Array(t);for(var e=0,r=0;r=0&&B+u=0&&I+c>16,(o&65280)>>8,o&255,t)};$.prototype.findClosestRGB=function(o,t,e,r){if(this.colorTab===null)return-1;if(this.neuQuant&&!r)return this.neuQuant.lookupRGB(o,t,e);for(var i=0,n=256*256*256,s=this.colorTab.length,a=0,l=0;a=0&&(t=this.dispose&7),t<<=2,this.out.writeByte(0|t|0|o),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)};$.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)};$.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)};$.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)};$.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var o=3*256-this.colorTab.length,t=0;t>8&255)};$.prototype.writePixels=function(){var o=new Dr(this.width,this.height,this.indexedPixels,this.colorDepth);o.encode(this.out)};$.prototype.stream=function(){return this.out};var kr=globalThis&&globalThis.__awaiter||function(o,t,e,r){function i(n){return n instanceof e?n:new e(function(s){s(n)})}return new(e||(e=Promise))(function(n,s){function a(u){try{c(r.next(u))}catch(f){s(f)}}function l(u){try{c(r.throw(u))}catch(f){s(f)}}function c(u){u.done?n(u.value):i(u.value).then(a,l)}c((r=r.apply(o,t||[])).next())})};const{Canvas:nt}=Ye,Bt=.4;function ie(o){if(!o)return;function t(e){e.onload=null,e.onerror=null}return new Promise(function(e,r){if(o.slice(0,4)=="data"){let n=new Image;n.onload=function(){e(n),t(n)},n.onerror=function(){r("Image load error"),t(n)},n.src=o;return}let i=new Image;i.setAttribute("crossOrigin","Anonymous"),i.onload=function(){e(i)},i.onerror=function(){r("Image load error")},i.src=o})}class _{constructor(t){const e=Object.assign({},t);if(Object.keys(_.defaultOptions).forEach(r=>{r in e||Object.defineProperty(e,r,{value:_.defaultOptions[r],enumerable:!0,writable:!0})}),e.components?typeof e.components=="object"&&Object.keys(_.defaultComponentOptions).forEach(r=>{r in e.components?Object.defineProperty(e.components,r,{value:Object.assign(Object.assign({},_.defaultComponentOptions[r]),e.components[r]),enumerable:!0,writable:!0}):Object.defineProperty(e.components,r,{value:_.defaultComponentOptions[r],enumerable:!0,writable:!0})}):e.components=_.defaultComponentOptions,e.dotScale!==null&&e.dotScale!==void 0){if(e.dotScale<=0||e.dotScale>1)throw new Error("dotScale should be in range (0, 1].");e.components.data.scale=e.dotScale,e.components.timing.scale=e.dotScale,e.components.alignment.scale=e.dotScale}this.options=e,this.canvas=new nt(t.size,t.size),this.canvasContext=this.canvas.getContext("2d"),this.qrCode=new ht(-1,this.options.correctLevel),Number.isInteger(this.options.maskPattern)&&(this.qrCode.maskPattern=this.options.maskPattern),Number.isInteger(this.options.version)&&(this.qrCode.typeNumber=this.options.version),this.qrCode.addData(this.options.text),this.qrCode.make()}draw(){return new Promise(t=>this._draw().then(t))}_clear(){this.canvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)}static _prepareRoundedCornerClip(t,e,r,i,n,s){t.beginPath(),t.moveTo(e,r),t.arcTo(e+i,r,e+i,r+n,s),t.arcTo(e+i,r+n,e,r+n,s),t.arcTo(e,r+n,e,r,s),t.arcTo(e,r,e+i,r,s),t.closePath()}static _getAverageRGB(t){const r={r:0,g:0,b:0};let i,n,s=-4;const a={r:0,g:0,b:0};let l=0;n=t.naturalHeight||t.height,i=t.naturalWidth||t.width;const u=new nt(i,n).getContext("2d");if(!u)return r;u.drawImage(t,0,0);let f;try{f=u.getImageData(0,0,i,n)}catch{return r}for(;(s+=5*4)200||f.data[s+1]>200||f.data[s+2]>200||(++l,a.r+=f.data[s],a.g+=f.data[s+1],a.b+=f.data[s+2]);return a.r=~~(a.r/l),a.g=~~(a.g/l),a.b=~~(a.b/l),a}static _drawDot(t,e,r,i,n=0,s=1){t.fillRect((e+n)*i,(r+n)*i,s*i,s*i)}static _drawAlignProtector(t,e,r,i){t.clearRect((e-2)*i,(r-2)*i,5*i,5*i),t.fillRect((e-2)*i,(r-2)*i,5*i,5*i)}static _drawAlign(t,e,r,i,n=0,s=1,a,l){const c=t.fillStyle;t.fillStyle=a,new Array(4).fill(0).map((u,f)=>{_._drawDot(t,e-2+f,r-2,i,n,s),_._drawDot(t,e+2,r-2+f,i,n,s),_._drawDot(t,e+2-f,r+2,i,n,s),_._drawDot(t,e-2,r+2-f,i,n,s)}),_._drawDot(t,e,r,i,n,s),l||(t.fillStyle="rgba(255, 255, 255, 0.6)",new Array(2).fill(0).map((u,f)=>{_._drawDot(t,e-1+f,r-1,i,n,s),_._drawDot(t,e+1,r-1+f,i,n,s),_._drawDot(t,e+1-f,r+1,i,n,s),_._drawDot(t,e-1,r+1-f,i,n,s)})),t.fillStyle=c}_draw(){var t,e,r,i,n,s,a,l,c,u,f,v,A,k,T,M,g,p,P;return kr(this,void 0,void 0,function*(){const d=(t=this.qrCode)===null||t===void 0?void 0:t.moduleCount,b=this.options.size;let m=this.options.margin;(m<0||m*2>=b)&&(m=0);const y=Math.ceil(m),B=b-2*m,I=this.options.whiteMargin,R=this.options.backgroundDimming,h=Math.ceil(B/d),N=h*d,C=N+2*y,O=new nt(C,C),w=O.getContext("2d");this._clear(),w.save(),w.translate(y,y);const ut=new nt(C,C),G=ut.getContext("2d");let Y=null,lt=[];if(this.options.gifBackground){const D=hr(this.options.gifBackground);if(Y=D,lt=dr(D),this.options.autoColor){let E=0,x=0,S=0,H=0;for(let F=0;F200||U[1]>200||U[2]>200||U[0]===0&&U[1]===0&&U[2]===0||(H++,E+=U[0],x+=U[1],S+=U[2])}E=~~(E/H),x=~~(x/H),S=~~(S/H),this.options.colorDark=`rgb(${E},${x},${S})`}}else if(this.options.backgroundImage){const D=yield ie(this.options.backgroundImage);if(this.options.autoColor){const E=_._getAverageRGB(D);this.options.colorDark=`rgb(${E.r},${E.g},${E.b})`}G.drawImage(D,0,0,D.width,D.height,0,0,C,C),G.rect(0,0,C,C),G.fillStyle=R,G.fill()}else G.rect(0,0,C,C),G.fillStyle=this.options.colorLight,G.fill();const z=L.getPatternPosition(this.qrCode.typeNumber),Q=((r=(e=this.options.components)===null||e===void 0?void 0:e.data)===null||r===void 0?void 0:r.scale)||Bt,zt=(1-Q)*.5;for(let D=0;D=d-8)||E>=d-8&&D<8,H=D==6&&E>=8&&E<=d-8||E==6&&D>=8&&D<=d-8;let F=S||H;for(let X=1;X=z[X]-2&&D<=z[X]+2&&E>=z[X]-2&&E<=z[X]+2;const U=E*h+(F?0:zt*h),tt=D*h+(F?0:zt*h);if(w.strokeStyle=x?this.options.colorDark:this.options.colorLight,w.lineWidth=.5,w.fillStyle=x?this.options.colorDark:this.options.colorLight,z.length===0)F||w.fillRect(U,tt,(F?1:Q)*h,(F?1:Q)*h);else{const X=E=d-4-5&&D=d-4-5;!F&&!X&&w.fillRect(U,tt,(F?1:Q)*h,(F?1:Q)*h)}}const J=z[z.length-1],ve=this.options.colorLight;if(w.fillStyle=ve,w.fillRect(0,0,8*h,8*h),w.fillRect(0,(d-8)*h,8*h,8*h),w.fillRect((d-8)*h,0,8*h,8*h),!((n=(i=this.options.components)===null||i===void 0?void 0:i.timing)===null||n===void 0)&&n.protectors&&(w.fillRect(8*h,6*h,(d-8-8)*h,h),w.fillRect(6*h,8*h,h,(d-8-8)*h)),!((a=(s=this.options.components)===null||s===void 0?void 0:s.cornerAlignment)===null||a===void 0)&&a.protectors&&_._drawAlignProtector(w,J,J,h),!((c=(l=this.options.components)===null||l===void 0?void 0:l.alignment)===null||c===void 0)&&c.protectors)for(let D=0;D=1)&&(E=.2),x<0&&(x=0),S<0&&(S=0);const H=N*E,F=.5*(C-H),U=F;w.restore(),w.fillStyle=this.options.logoBackgroundColor,w.save(),_._prepareRoundedCornerClip(w,F-x,U-x,H+2*x,H+2*x,S+x),w.clip();const tt=w.globalCompositeOperation;w.globalCompositeOperation="destination-out",w.fill(),w.globalCompositeOperation=tt,w.restore(),w.save(),_._prepareRoundedCornerClip(w,F,U,H,H,S),w.clip(),w.drawImage(D,F,U,H,H),w.restore(),w.save(),w.translate(y,y)}if(Y){let D,E,x,S,H,F;if(lt.forEach(function(U){D||(D=new $(b,b),D.setDelay(U.delay),D.setRepeat(0));const{width:tt,height:X}=U.dims;E||(E=new nt(tt,X),x=E.getContext("2d"),x.rect(0,0,E.width,E.height),x.fillStyle="#ffffff",x.fill()),(!S||!F||tt!==S.width||X!==S.height)&&(S=new nt(tt,X),H=S.getContext("2d"),F=H.createImageData(tt,X)),F.data.set(U.patch),H.putImageData(F,0,0),x.drawImage(S.getContext("2d").canvas,U.dims.left,U.dims.top);const yt=new nt(C,C),mt=yt.getContext("2d");mt.drawImage(E.getContext("2d").canvas,0,0,C,C),mt.rect(0,0,C,C),mt.fillStyle=R,mt.fill(),mt.drawImage(O.getContext("2d").canvas,0,0,C,C);const St=new nt(b,b),Zt=St.getContext("2d");Zt.drawImage(yt.getContext("2d").canvas,0,0,b,b),D.addFrame(Zt.getImageData(0,0,St.width,St.height).data)}),!D)throw new Error("No frames.");if(D.finish(),oe(this.canvas)){const tt=D.stream().toFlattenUint8Array().reduce((X,yt)=>X+String.fromCharCode(yt),"");return Promise.resolve(`data:image/gif;base64,${window.btoa(tt)}`)}return Promise.resolve(Buffer.from(D.stream().toFlattenUint8Array()))}else{G.drawImage(O.getContext("2d").canvas,0,0,C,C),w.drawImage(ut.getContext("2d").canvas,-y,-y,C,C);const D=new nt(b,b);D.getContext("2d").drawImage(O.getContext("2d").canvas,0,0,b,b),this.canvas=D;const x=this.options.gifBackground?"gif":"png";return oe(this.canvas)?Promise.resolve(this.canvas.toDataURL(x)):Promise.resolve(this.canvas.toBuffer(x))}})}}_.CorrectLevel=Z;_.defaultComponentOptions={data:{scale:.4},timing:{scale:.5,protectors:!1},alignment:{scale:.5,protectors:!1},cornerAlignment:{scale:.5,protectors:!0}};_.defaultOptions={text:"",size:400,margin:20,colorDark:"#000000",colorLight:"rgba(255, 255, 255, 0.6)",correctLevel:Z.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:4,logoCornerRadius:8,whiteMargin:!0,components:_.defaultComponentOptions,autoColor:!0,logoBackgroundColor:"#ffffff",backgroundColor:"#ffffff"};function oe(o){try{return o instanceof HTMLElement}catch{return typeof o=="object"&&o.nodeType===1&&typeof o.style=="object"&&typeof o.ownerDocument=="object"}}function Dt(o,...t){if(Array.isArray(o))o.forEach(e=>Dt(e,...t));else return o(...t)}const Tr=(o,t)=>{const e=document.createElement("a");e.href=o,e.download=t||new Date().getTime()+".png",e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)},Er=o=>new Promise((t,e)=>{const r=new XMLHttpRequest;r.responseType="blob",r.onload=()=>{const i=new FileReader;i.onloadend=()=>{t(i.result)},i.onerror=n=>{e(n)},i.onabort=n=>{e(n)},i.readAsArrayBuffer(r.response)},r.open("GET",o),r.send()}),Nt=be({name:"Vue3NextQrcode",props:ke,setup(o,t){const{expose:e}=t,r=ye(()=>({"--ray-qrcode-width":o.size+"px","--ray-qrcode-height":o.size+"px","--ray-qrcode-border-radius":o.logoCornerRadius+"px","--ray-qrcode-mask-color":o.maskColor})),i=qt();let n;const s=qt(!1);let a;const l=async()=>{const{gifBackgroundURL:v}=o;if(v)try{n=await Er(v)}catch(A){console.error(A)}},c=()=>{const{gifBackgroundURL:v,gifBackground:A,...k}=o;new _({...k,gifBackground:n??void 0}).draw().then(T=>{const{onSuccess:M}=o;M&&Dt(M,T),i.value=T}).catch(T=>{const{onError:M}=o;M&&Dt(M,T)})},u=()=>{if(t.slots.errorAction)return;const{onReload:v}=o;v&&Dt(v)},f=v=>i.value&&typeof i.value=="string"?new Promise(A=>{Tr(i.value,v),A()}):Promise.reject();return Ce(()=>{o.watchText?a=De(()=>o.text,()=>c()):a==null||a()}),e({downloadQRCode:f}),Ae(async()=>{await l(),c()}),Pe(()=>{a==null||a()}),{qrcodeURL:i,errorActionClick:u,cssVars:r,isClick:s}},render(){return ot("div",{class:"ray-qrcode",style:[this.cssVars]},[ot("div",{class:[this.status==="loading"&&!this.$slots.loading?"ray-qrcode__loading":"",this.$slots.loading?"ray-qrcode__loading--custom":""]},[this.status==="loading"?this.$slots.loading?ot("div",{class:"ray-qrcode__loading-slots"},[this.$slots.loading()]):ot("div",{class:"ray-qrcode__spin"},null):null,ot("img",Be({src:this.qrcodeURL},{img_tag:"VUE3_NEXT_QRCODE"}),null)]),this.status==="error"?ot("div",{class:"ray-qrcode__error"},[ot("div",{class:"ray-qrcode__error-content"},[typeof this.errorDescription=="string"?this.errorDescription:()=>this.errorDescription]),ot("div",{class:"ray-qrcode__error-btn",onClick:this.errorActionClick.bind(this)},[this.$slots.errorAction?this.$slots.errorAction():ot("span",{onMousedown:()=>{this.isClick=!0},onMouseup:()=>{this.isClick=!1},class:[this.isClick?"ray-qrcode__error-btn-click":""]},[this.errorActionDescription])])]):null])}});Nt.install=function(o){o.component(Nt.name,Nt)};export{Nt as Q};
diff --git a/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js.gz b/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js.gz
similarity index 99%
rename from js/vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js.gz
rename to js/vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js.gz
index 022da0d2..4e07b7d5 100644
Binary files a/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-74uk2RJW.js.gz and b/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-BJQJW2Mf.js.gz differ
diff --git a/js/vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js.gz b/js/vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js.gz
deleted file mode 100644
index 6bb1a671..00000000
Binary files a/js/vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js.gz and /dev/null differ
diff --git a/js/vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js b/js/vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js
similarity index 98%
rename from js/vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js
rename to js/vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js
index 9d9960b6..f26c9459 100644
--- a/js/vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js
+++ b/js/vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js
@@ -1 +1 @@
-import{a as Z,o as fe}from"./evtd@0.2.4-CI_DDEu_.js";import{B as ze,d as pe,z as G,y as De,a as Ne}from"./seemly@0.3.8-DjGKl9dV.js";import{I as _e,F as Ie,L as je,l as W,x as Ee,d as Ce,i as ne,q as re,O as Fe,j as D,h as z,U as Pe,k as R,w as Q,n as Ae,R as Be,M as Ue,N as qe,t as Ke}from"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import{k as F,n as N}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{u as oe}from"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import{h as Ge,u as q,o as Je,i as Qe}from"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import{z as Ze}from"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import{R as Re}from"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import{C as et}from"./css-render@0.15.14-C5toWlUr.js";function ce(n,e,t="default"){const r=e[t];if(r===void 0)throw new Error(`[vueuc/${n}]: slot[${t}] is empty.`);return r()}function he(n,e=!0,t=[]){return n.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&t.push(_e(String(r)));return}if(Array.isArray(r)){he(r,e,t);return}if(r.type===Ie){if(r.children===null)return;Array.isArray(r.children)&&he(r.children,e,t)}else r.type!==je&&t.push(r)}}),t}function me(n,e,t="default"){const r=e[t];if(r===void 0)throw new Error(`[vueuc/${n}]: slot[${t}] is empty.`);const o=he(r());if(o.length===1)return o[0];throw new Error(`[vueuc/${n}]: slot[${t}] should have exactly one child.`)}let L=null;function We(){if(L===null&&(L=document.getElementById("v-binder-view-measurer"),L===null)){L=document.createElement("div"),L.id="v-binder-view-measurer";const{style:n}=L;n.position="fixed",n.left="0",n.right="0",n.top="0",n.bottom="0",n.pointerEvents="none",n.visibility="hidden",document.body.appendChild(L)}return L.getBoundingClientRect()}function tt(n,e){const t=We();return{top:e,left:n,height:0,width:0,right:t.width-n,bottom:t.height-e}}function ue(n){const e=n.getBoundingClientRect(),t=We();return{left:e.left-t.left,top:e.top-t.top,bottom:t.height+t.top-e.bottom,right:t.width+t.left-e.right,width:e.width,height:e.height}}function nt(n){return n.nodeType===9?null:n.parentNode}function ke(n){if(n===null)return null;const e=nt(n);if(e===null)return null;if(e.nodeType===9)return document;if(e.nodeType===1){const{overflow:t,overflowX:r,overflowY:o}=getComputedStyle(e);if(/(auto|scroll|overlay)/.test(t+o+r))return e}return ke(e)}const It=W({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(n){var e;Ee("VBinder",(e=Ce())===null||e===void 0?void 0:e.proxy);const t=ne("VBinder",null),r=F(null),o=i=>{r.value=i,t&&n.syncTargetWithParent&&t.setTargetRef(i)};let u=[];const b=()=>{let i=r.value;for(;i=ke(i),i!==null;)u.push(i);for(const g of u)fe("scroll",g,x,!0)},w=()=>{for(const i of u)Z("scroll",i,x,!0);u=[]},l=new Set,h=i=>{l.size===0&&b(),l.has(i)||l.add(i)},p=i=>{l.has(i)&&l.delete(i),l.size===0&&w()},x=()=>{ze(d)},d=()=>{l.forEach(i=>i())},f=new Set,m=i=>{f.size===0&&fe("resize",window,a),f.has(i)||f.add(i)},v=i=>{f.has(i)&&f.delete(i),f.size===0&&Z("resize",window,a)},a=()=>{f.forEach(i=>i())};return re(()=>{Z("resize",window,a),w()}),{targetRef:r,setTargetRef:o,addScrollListener:h,removeScrollListener:p,addResizeListener:m,removeResizeListener:v}},render(){return ce("binder",this.$slots)}}),Et=W({name:"Target",setup(){const{setTargetRef:n,syncTarget:e}=ne("VBinder");return{syncTarget:e,setTargetDirective:{mounted:n,updated:n}}},render(){const{syncTarget:n,setTargetDirective:e}=this;return n?Fe(me("follower",this.$slots),[[e]]):me("follower",this.$slots)}});function ve(n,e){console.error(`[vueuc/${n}]: ${e}`)}const{c:B}=et(),ie="vueuc-style";function be(n){return n&-n}class Oe{constructor(e,t){this.l=e,this.min=t;const r=new Array(e+1);for(let o=0;oo)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let u=e*r;for(;e>0;)u+=t[e],e-=be(e);return u}getBound(e){let t=0,r=this.l;for(;r>t;){const o=Math.floor((t+r)/2),u=this.sum(o);if(u>e){r=o;continue}else if(u{const{to:e}=n;return e??"body"})}},render(){return this.showTeleport?this.disabled?ce("lazy-teleport",this.$slots):z(Pe,{disabled:this.disabled,to:this.mergedTo},ce("lazy-teleport",this.$slots)):null}}),ee={top:"bottom",bottom:"top",left:"right",right:"left"},ge={start:"end",center:"center",end:"start"},ae={top:"height",bottom:"height",left:"width",right:"width"},ot={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},it={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},lt={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},ye={top:!0,bottom:!1,left:!0,right:!1},xe={top:"end",bottom:"start",left:"end",right:"start"};function st(n,e,t,r,o,u){if(!o||u)return{placement:n,top:0,left:0};const[b,w]=n.split("-");let l=w??"center",h={top:0,left:0};const p=(f,m,v)=>{let a=0,i=0;const g=t[f]-e[m]-e[f];return g>0&&r&&(v?i=ye[m]?g:-g:a=ye[m]?g:-g),{left:a,top:i}},x=b==="left"||b==="right";if(l!=="center"){const f=lt[n],m=ee[f],v=ae[f];if(t[v]>e[v]){if(e[f]+e[v]e[m]&&(l=ge[w])}else{const f=b==="bottom"||b==="top"?"left":"top",m=ee[f],v=ae[f],a=(t[v]-e[v])/2;(e[f]e[m]?(l=xe[f],h=p(v,f,x)):(l=xe[m],h=p(v,m,x)))}let d=b;return e[b] *",{pointerEvents:"all"})])]),Ct=W({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(n){const e=ne("VBinder"),t=q(()=>n.enabled!==void 0?n.enabled:n.show),r=F(null),o=F(null),u=()=>{const{syncTrigger:d}=n;d.includes("scroll")&&e.addScrollListener(l),d.includes("resize")&&e.addResizeListener(l)},b=()=>{e.removeScrollListener(l),e.removeResizeListener(l)};R(()=>{t.value&&(l(),u())});const w=oe();dt.mount({id:"vueuc/binder",head:!0,anchorMetaName:ie,ssr:w}),re(()=>{b()}),Je(()=>{t.value&&l()});const l=()=>{if(!t.value)return;const d=r.value;if(d===null)return;const f=e.targetRef,{x:m,y:v,overlap:a}=n,i=m!==void 0&&v!==void 0?tt(m,v):ue(f);d.style.setProperty("--v-target-width",`${Math.round(i.width)}px`),d.style.setProperty("--v-target-height",`${Math.round(i.height)}px`);const{width:g,minWidth:M,placement:E,internalShift:_,flip:V}=n;d.setAttribute("v-placement",E),a?d.setAttribute("v-overlap",""):d.removeAttribute("v-overlap");const{style:T}=d;g==="target"?T.width=`${i.width}px`:g!==void 0?T.width=g:T.width="",M==="target"?T.minWidth=`${i.width}px`:M!==void 0?T.minWidth=M:T.minWidth="";const H=ue(d),j=ue(o.value),{left:X,top:P,placement:U}=st(E,i,H,_,V,a),s=ut(U,a),{left:c,top:y,transform:$}=at(U,j,i,P,X,a);d.setAttribute("v-placement",U),d.style.setProperty("--v-offset-left",`${Math.round(X)}px`),d.style.setProperty("--v-offset-top",`${Math.round(P)}px`),d.style.transform=`translateX(${c}) translateY(${y}) ${$}`,d.style.setProperty("--v-transform-origin",s),d.style.transformOrigin=s};Q(t,d=>{d?(u(),h()):b()});const h=()=>{Ae().then(l).catch(d=>console.error(d))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(d=>{Q(N(n,d),l)}),["teleportDisabled"].forEach(d=>{Q(N(n,d),h)}),Q(N(n,"syncTrigger"),d=>{d.includes("resize")?e.addResizeListener(l):e.removeResizeListener(l),d.includes("scroll")?e.addScrollListener(l):e.removeScrollListener(l)});const p=Qe(),x=q(()=>{const{to:d}=n;if(d!==void 0)return d;p.value});return{VBinder:e,mergedEnabled:t,offsetContainerRef:o,followerRef:r,mergedTo:x,syncPosition:l}},render(){return z(rt,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var n,e;const t=z("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[z("div",{class:"v-binder-follower-content",ref:"followerRef"},(e=(n=this.$slots).default)===null||e===void 0?void 0:e.call(n))]);return this.zindexable?Fe(t,[[Ze,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):t}})}});class ft{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||Re)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(const t of e){const r=this.elHandlersMap.get(t.target);r!==void 0&&r(t)}}registerHandler(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}}const Me=new ft,$e=W({name:"ResizeObserver",props:{onResize:Function},setup(n){let e=!1;const t=Ce().proxy;function r(o){const{onResize:u}=n;u!==void 0&&u(o)}R(()=>{const o=t.$el;if(o===void 0){ve("resize-observer","$el does not exist.");return}if(o.nextElementSibling!==o.nextSibling&&o.nodeType===3&&o.nodeValue!==""){ve("resize-observer","$el can not be observed (it may be a text node).");return}o.nextElementSibling!==null&&(Me.registerHandler(o.nextElementSibling,r),e=!0)}),re(()=>{e&&Me.unregisterHandler(t.$el.nextElementSibling)})},render(){return Be(this.$slots,"default")}});let te;function ct(){return typeof document>"u"?!1:(te===void 0&&("matchMedia"in window?te=window.matchMedia("(pointer:coarse)").matches:te=!1),te)}let de;function Se(){return typeof document>"u"?1:(de===void 0&&(de="chrome"in window?window.devicePixelRatio:1),de)}const Le="VVirtualListXScroll";function ht({columnsRef:n,renderColRef:e,renderItemWithColsRef:t}){const r=F(0),o=F(0),u=D(()=>{const h=n.value;if(h.length===0)return null;const p=new Oe(h.length,0);return h.forEach((x,d)=>{p.add(d,x.width)}),p}),b=q(()=>{const h=u.value;return h!==null?Math.max(h.getBound(o.value)-1,0):0}),w=h=>{const p=u.value;return p!==null?p.sum(h):0},l=q(()=>{const h=u.value;return h!==null?Math.min(h.getBound(o.value+r.value)+1,n.value.length-1):0});return Ee(Le,{startIndexRef:b,endIndexRef:l,columnsRef:n,renderColRef:e,renderItemWithColsRef:t,getLeft:w}),{listWidthRef:r,scrollLeftRef:o}}const Te=W({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:n,endIndexRef:e,columnsRef:t,getLeft:r,renderColRef:o,renderItemWithColsRef:u}=ne(Le);return{startIndex:n,endIndex:e,columns:t,renderCol:o,renderItemWithCols:u,getLeft:r}},render(){const{startIndex:n,endIndex:e,columns:t,renderCol:r,renderItemWithCols:o,getLeft:u,item:b}=this;if(o!=null)return o({itemIndex:this.index,startColIndex:n,endColIndex:e,allColumns:t,item:b,getLeft:u});if(r!=null){const w=[];for(let l=n;l<=e;++l){const h=t[l];w.push(r({column:h,left:u(l),item:b}))}return w}return null}}),pt=B(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[B("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[B("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Ft=W({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(n){const e=oe();pt.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:ie,ssr:e}),R(()=>{const{defaultScrollIndex:s,defaultScrollKey:c}=n;s!=null?a({index:s}):c!=null&&a({key:c})});let t=!1,r=!1;Ue(()=>{if(t=!1,!r){r=!0;return}a({top:f.value,left:b.value})}),qe(()=>{t=!0,r||(r=!0)});const o=q(()=>{if(n.renderCol==null&&n.renderItemWithCols==null||n.columns.length===0)return;let s=0;return n.columns.forEach(c=>{s+=c.width}),s}),u=D(()=>{const s=new Map,{keyField:c}=n;return n.items.forEach((y,$)=>{s.set(y[c],$)}),s}),{scrollLeftRef:b,listWidthRef:w}=ht({columnsRef:N(n,"columns"),renderColRef:N(n,"renderCol"),renderItemWithColsRef:N(n,"renderItemWithCols")}),l=F(null),h=F(void 0),p=new Map,x=D(()=>{const{items:s,itemSize:c,keyField:y}=n,$=new Oe(s.length,c);return s.forEach((I,C)=>{const S=I[y],A=p.get(S);A!==void 0&&$.add(C,A)}),$}),d=F(0),f=F(0),m=q(()=>Math.max(x.value.getBound(f.value-pe(n.paddingTop))-1,0)),v=D(()=>{const{value:s}=h;if(s===void 0)return[];const{items:c,itemSize:y}=n,$=m.value,I=Math.min($+Math.ceil(s/y+1),c.length-1),C=[];for(let S=$;S<=I;++S)C.push(c[S]);return C}),a=(s,c)=>{if(typeof s=="number"){E(s,c,"auto");return}const{left:y,top:$,index:I,key:C,position:S,behavior:A,debounce:O=!0}=s;if(y!==void 0||$!==void 0)E(y,$,A);else if(I!==void 0)M(I,A,O);else if(C!==void 0){const le=u.value.get(C);le!==void 0&&M(le,A,O)}else S==="bottom"?E(0,Number.MAX_SAFE_INTEGER,A):S==="top"&&E(0,0,A)};let i,g=null;function M(s,c,y){const{value:$}=x,I=$.sum(s)+pe(n.paddingTop);if(!y)l.value.scrollTo({left:0,top:I,behavior:c});else{i=s,g!==null&&window.clearTimeout(g),g=window.setTimeout(()=>{i=void 0,g=null},16);const{scrollTop:C,offsetHeight:S}=l.value;if(I>C){const A=$.get(s);I+A<=C+S||l.value.scrollTo({left:0,top:I+A-S,behavior:c})}else l.value.scrollTo({left:0,top:I,behavior:c})}}function E(s,c,y){l.value.scrollTo({left:s,top:c,behavior:y})}function _(s,c){var y,$,I;if(t||n.ignoreItemResize||U(c.target))return;const{value:C}=x,S=u.value.get(s),A=C.get(S),O=(I=($=(y=c.borderBoxSize)===null||y===void 0?void 0:y[0])===null||$===void 0?void 0:$.blockSize)!==null&&I!==void 0?I:c.contentRect.height;if(O===A)return;O-n.itemSize===0?p.delete(s):p.set(s,O-n.itemSize);const K=O-A;if(K===0)return;C.add(S,K);const Y=l.value;if(Y!=null){if(i===void 0){const se=C.sum(S);Y.scrollTop>se&&Y.scrollBy(0,K)}else if(SY.scrollTop+Y.offsetHeight&&Y.scrollBy(0,K)}P()}d.value++}const V=!ct();let T=!1;function H(s){var c;(c=n.onScroll)===null||c===void 0||c.call(n,s),(!V||!T)&&P()}function j(s){var c;if((c=n.onWheel)===null||c===void 0||c.call(n,s),V){const y=l.value;if(y!=null){if(s.deltaX===0&&(y.scrollTop===0&&s.deltaY<=0||y.scrollTop+y.offsetHeight>=y.scrollHeight&&s.deltaY>=0))return;s.preventDefault(),y.scrollTop+=s.deltaY/Se(),y.scrollLeft+=s.deltaX/Se(),P(),T=!0,ze(()=>{T=!1})}}}function X(s){if(t||U(s.target))return;if(n.renderCol==null&&n.renderItemWithCols==null){if(s.contentRect.height===h.value)return}else if(s.contentRect.height===h.value&&s.contentRect.width===w.value)return;h.value=s.contentRect.height,w.value=s.contentRect.width;const{onResize:c}=n;c!==void 0&&c(s)}function P(){const{value:s}=l;s!=null&&(f.value=s.scrollTop,b.value=s.scrollLeft)}function U(s){let c=s;for(;c!==null;){if(c.style.display==="none")return!0;c=c.parentElement}return!1}return{listHeight:h,listStyle:{overflow:"auto"},keyToIndex:u,itemsStyle:D(()=>{const{itemResizable:s}=n,c=G(x.value.sum());return d.value,[n.itemsStyle,{boxSizing:"content-box",width:G(o.value),height:s?"":c,minHeight:s?c:"",paddingTop:G(n.paddingTop),paddingBottom:G(n.paddingBottom)}]}),visibleItemsStyle:D(()=>(d.value,{transform:`translateY(${G(x.value.sum(m.value))})`})),viewportItems:v,listElRef:l,itemsElRef:F(null),scrollTo:a,handleListResize:X,handleListScroll:H,handleListWheel:j,handleItemResize:_}},render(){const{itemResizable:n,keyField:e,keyToIndex:t,visibleItemsTag:r}=this;return z($e,{onResize:this.handleListResize},{default:()=>{var o,u;return z("div",Ke(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?z("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[z(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:b,renderItemWithCols:w}=this;return this.viewportItems.map(l=>{const h=l[e],p=t.get(h),x=b!=null?z(Te,{index:p,item:l}):void 0,d=w!=null?z(Te,{index:p,item:l}):void 0,f=this.$slots.default({item:l,renderedCols:x,renderedItemWithCols:d,index:p})[0];return n?z($e,{key:h,onResize:m=>this.handleItemResize(h,m)},{default:()=>f}):(f.key=h,f)})}})]):(u=(o=this.$slots).empty)===null||u===void 0?void 0:u.call(o)])}})}}),mt=B(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[B("&::-webkit-scrollbar",{width:0,height:0})]),At=W({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const n=F(null);function e(o){!(o.currentTarget.offsetWidthd){const{updateCounter:V}=n;for(let T=M;T>=0;--T){const H=i-1-T;V!==void 0?V(H):p.textContent=`${H}`;const j=p.offsetWidth;if(v-=f[T],v+j<=d||T===0){a=!0,M=T-1,m&&(M===-1?(m.style.maxWidth=`${d-j}px`,m.style.boxSizing="border-box"):m.style.maxWidth="");const{onUpdateCount:X}=n;X&&X(H);break}}}}const{onUpdateOverflow:g}=n;a?g!==void 0&&g(!0):(g!==void 0&&g(!1),p.setAttribute(k,""))}const u=oe();return vt.mount({id:"vueuc/overflow",head:!0,anchorMetaName:ie,ssr:u}),R(()=>o({showAllItemsBeforeCalculate:!1})),{selfRef:t,counterRef:r,sync:o}},render(){const{$slots:n}=this;return Ae(()=>this.sync({showAllItemsBeforeCalculate:!1})),z("div",{class:"v-overflow",ref:"selfRef"},[Be(n,"default"),n.counter?n.counter():z("span",{style:{display:"inline-block"},ref:"counterRef"}),n.tail?n.tail():null])}});function Ve(n){return n instanceof HTMLElement}function He(n){for(let e=0;e=0;e--){const t=n.childNodes[e];if(Ve(t)&&(Ye(t)||Xe(t)))return!0}return!1}function Ye(n){if(!bt(n))return!1;try{n.focus({preventScroll:!0})}catch{}return document.activeElement===n}function bt(n){if(n.tabIndex>0||n.tabIndex===0&&n.getAttribute("tabIndex")!==null)return!0;if(n.getAttribute("disabled"))return!1;switch(n.nodeName){case"A":return!!n.href&&n.rel!=="ignore";case"INPUT":return n.type!=="hidden"&&n.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let J=[];const Wt=W({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(n){const e=De(),t=F(null),r=F(null);let o=!1,u=!1;const b=typeof document>"u"?null:document.activeElement;function w(){return J[J.length-1]===e}function l(a){var i;a.code==="Escape"&&w()&&((i=n.onEsc)===null||i===void 0||i.call(n,a))}R(()=>{Q(()=>n.active,a=>{a?(x(),fe("keydown",document,l)):(Z("keydown",document,l),o&&d())},{immediate:!0})}),re(()=>{Z("keydown",document,l),o&&d()});function h(a){if(!u&&w()){const i=p();if(i===null||i.contains(Ne(a)))return;f("first")}}function p(){const a=t.value;if(a===null)return null;let i=a;for(;i=i.nextSibling,!(i===null||i instanceof Element&&i.tagName==="DIV"););return i}function x(){var a;if(!n.disabled){if(J.push(e),n.autoFocus){const{initialFocusTo:i}=n;i===void 0?f("first"):(a=we(i))===null||a===void 0||a.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",h,!0)}}function d(){var a;if(n.disabled||(document.removeEventListener("focus",h,!0),J=J.filter(g=>g!==e),w()))return;const{finalFocusTo:i}=n;i!==void 0?(a=we(i))===null||a===void 0||a.focus({preventScroll:!0}):n.returnFocusOnDeactivated&&b instanceof HTMLElement&&(u=!0,b.focus({preventScroll:!0}),u=!1)}function f(a){if(w()&&n.active){const i=t.value,g=r.value;if(i!==null&&g!==null){const M=p();if(M==null||M===g){u=!0,i.focus({preventScroll:!0}),u=!1;return}u=!0;const E=a==="first"?He(M):Xe(M);u=!1,E||(u=!0,i.focus({preventScroll:!0}),u=!1)}}}function m(a){if(u)return;const i=p();i!==null&&(a.relatedTarget!==null&&i.contains(a.relatedTarget)?f("last"):f("first"))}function v(a){u||(a.relatedTarget!==null&&a.relatedTarget===t.value?f("last"):f("first"))}return{focusableStartRef:t,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:m,handleEndFocus:v}},render(){const{default:n}=this.$slots;if(n===void 0)return null;if(this.disabled)return n();const{active:e,focusableStyle:t}=this;return z(Ie,null,[z("div",{"aria-hidden":"true",tabindex:e?"0":"-1",ref:"focusableStartRef",style:t,onFocus:this.handleStartFocus}),n(),z("div",{"aria-hidden":"true",style:t,ref:"focusableEndRef",tabindex:e?"0":"-1",onFocus:this.handleEndFocus})])}});export{It as B,Wt as F,rt as L,$e as V,Ft as a,Ct as b,Et as c,Bt as d,At as e,Me as r};
+import{a as Z,o as fe}from"./evtd@0.2.4-CI_DDEu_.js";import{B as ze,d as pe,z as G,y as De,a as Ne}from"./seemly@0.3.8-DjGKl9dV.js";import{I as _e,F as Ie,J as je,l as W,x as Ee,d as Ce,i as ne,v as re,N as Fe,j as D,h as z,R as Pe,k as R,w as Q,n as Ae,Q as Be,L as Ue,M as qe,m as Ke}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as F,n as N}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{u as oe}from"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import{h as Ge,u as q,o as Je,i as Qe}from"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import{z as Ze}from"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import{R as Re}from"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import{C as et}from"./css-render@0.15.14-C5toWlUr.js";function ce(n,e,t="default"){const r=e[t];if(r===void 0)throw new Error(`[vueuc/${n}]: slot[${t}] is empty.`);return r()}function he(n,e=!0,t=[]){return n.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&t.push(_e(String(r)));return}if(Array.isArray(r)){he(r,e,t);return}if(r.type===Ie){if(r.children===null)return;Array.isArray(r.children)&&he(r.children,e,t)}else r.type!==je&&t.push(r)}}),t}function me(n,e,t="default"){const r=e[t];if(r===void 0)throw new Error(`[vueuc/${n}]: slot[${t}] is empty.`);const o=he(r());if(o.length===1)return o[0];throw new Error(`[vueuc/${n}]: slot[${t}] should have exactly one child.`)}let L=null;function We(){if(L===null&&(L=document.getElementById("v-binder-view-measurer"),L===null)){L=document.createElement("div"),L.id="v-binder-view-measurer";const{style:n}=L;n.position="fixed",n.left="0",n.right="0",n.top="0",n.bottom="0",n.pointerEvents="none",n.visibility="hidden",document.body.appendChild(L)}return L.getBoundingClientRect()}function tt(n,e){const t=We();return{top:e,left:n,height:0,width:0,right:t.width-n,bottom:t.height-e}}function ue(n){const e=n.getBoundingClientRect(),t=We();return{left:e.left-t.left,top:e.top-t.top,bottom:t.height+t.top-e.bottom,right:t.width+t.left-e.right,width:e.width,height:e.height}}function nt(n){return n.nodeType===9?null:n.parentNode}function ke(n){if(n===null)return null;const e=nt(n);if(e===null)return null;if(e.nodeType===9)return document;if(e.nodeType===1){const{overflow:t,overflowX:r,overflowY:o}=getComputedStyle(e);if(/(auto|scroll|overlay)/.test(t+o+r))return e}return ke(e)}const It=W({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(n){var e;Ee("VBinder",(e=Ce())===null||e===void 0?void 0:e.proxy);const t=ne("VBinder",null),r=F(null),o=i=>{r.value=i,t&&n.syncTargetWithParent&&t.setTargetRef(i)};let u=[];const b=()=>{let i=r.value;for(;i=ke(i),i!==null;)u.push(i);for(const g of u)fe("scroll",g,x,!0)},w=()=>{for(const i of u)Z("scroll",i,x,!0);u=[]},l=new Set,h=i=>{l.size===0&&b(),l.has(i)||l.add(i)},p=i=>{l.has(i)&&l.delete(i),l.size===0&&w()},x=()=>{ze(d)},d=()=>{l.forEach(i=>i())},f=new Set,m=i=>{f.size===0&&fe("resize",window,a),f.has(i)||f.add(i)},v=i=>{f.has(i)&&f.delete(i),f.size===0&&Z("resize",window,a)},a=()=>{f.forEach(i=>i())};return re(()=>{Z("resize",window,a),w()}),{targetRef:r,setTargetRef:o,addScrollListener:h,removeScrollListener:p,addResizeListener:m,removeResizeListener:v}},render(){return ce("binder",this.$slots)}}),Et=W({name:"Target",setup(){const{setTargetRef:n,syncTarget:e}=ne("VBinder");return{syncTarget:e,setTargetDirective:{mounted:n,updated:n}}},render(){const{syncTarget:n,setTargetDirective:e}=this;return n?Fe(me("follower",this.$slots),[[e]]):me("follower",this.$slots)}});function ve(n,e){console.error(`[vueuc/${n}]: ${e}`)}const{c:B}=et(),ie="vueuc-style";function be(n){return n&-n}class Oe{constructor(e,t){this.l=e,this.min=t;const r=new Array(e+1);for(let o=0;oo)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let u=e*r;for(;e>0;)u+=t[e],e-=be(e);return u}getBound(e){let t=0,r=this.l;for(;r>t;){const o=Math.floor((t+r)/2),u=this.sum(o);if(u>e){r=o;continue}else if(u{const{to:e}=n;return e??"body"})}},render(){return this.showTeleport?this.disabled?ce("lazy-teleport",this.$slots):z(Pe,{disabled:this.disabled,to:this.mergedTo},ce("lazy-teleport",this.$slots)):null}}),ee={top:"bottom",bottom:"top",left:"right",right:"left"},ge={start:"end",center:"center",end:"start"},ae={top:"height",bottom:"height",left:"width",right:"width"},ot={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},it={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},lt={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},ye={top:!0,bottom:!1,left:!0,right:!1},xe={top:"end",bottom:"start",left:"end",right:"start"};function st(n,e,t,r,o,u){if(!o||u)return{placement:n,top:0,left:0};const[b,w]=n.split("-");let l=w??"center",h={top:0,left:0};const p=(f,m,v)=>{let a=0,i=0;const g=t[f]-e[m]-e[f];return g>0&&r&&(v?i=ye[m]?g:-g:a=ye[m]?g:-g),{left:a,top:i}},x=b==="left"||b==="right";if(l!=="center"){const f=lt[n],m=ee[f],v=ae[f];if(t[v]>e[v]){if(e[f]+e[v]e[m]&&(l=ge[w])}else{const f=b==="bottom"||b==="top"?"left":"top",m=ee[f],v=ae[f],a=(t[v]-e[v])/2;(e[f]e[m]?(l=xe[f],h=p(v,f,x)):(l=xe[m],h=p(v,m,x)))}let d=b;return e[b] *",{pointerEvents:"all"})])]),Ct=W({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(n){const e=ne("VBinder"),t=q(()=>n.enabled!==void 0?n.enabled:n.show),r=F(null),o=F(null),u=()=>{const{syncTrigger:d}=n;d.includes("scroll")&&e.addScrollListener(l),d.includes("resize")&&e.addResizeListener(l)},b=()=>{e.removeScrollListener(l),e.removeResizeListener(l)};R(()=>{t.value&&(l(),u())});const w=oe();dt.mount({id:"vueuc/binder",head:!0,anchorMetaName:ie,ssr:w}),re(()=>{b()}),Je(()=>{t.value&&l()});const l=()=>{if(!t.value)return;const d=r.value;if(d===null)return;const f=e.targetRef,{x:m,y:v,overlap:a}=n,i=m!==void 0&&v!==void 0?tt(m,v):ue(f);d.style.setProperty("--v-target-width",`${Math.round(i.width)}px`),d.style.setProperty("--v-target-height",`${Math.round(i.height)}px`);const{width:g,minWidth:M,placement:E,internalShift:_,flip:V}=n;d.setAttribute("v-placement",E),a?d.setAttribute("v-overlap",""):d.removeAttribute("v-overlap");const{style:T}=d;g==="target"?T.width=`${i.width}px`:g!==void 0?T.width=g:T.width="",M==="target"?T.minWidth=`${i.width}px`:M!==void 0?T.minWidth=M:T.minWidth="";const H=ue(d),j=ue(o.value),{left:X,top:P,placement:U}=st(E,i,H,_,V,a),s=ut(U,a),{left:c,top:y,transform:$}=at(U,j,i,P,X,a);d.setAttribute("v-placement",U),d.style.setProperty("--v-offset-left",`${Math.round(X)}px`),d.style.setProperty("--v-offset-top",`${Math.round(P)}px`),d.style.transform=`translateX(${c}) translateY(${y}) ${$}`,d.style.setProperty("--v-transform-origin",s),d.style.transformOrigin=s};Q(t,d=>{d?(u(),h()):b()});const h=()=>{Ae().then(l).catch(d=>console.error(d))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(d=>{Q(N(n,d),l)}),["teleportDisabled"].forEach(d=>{Q(N(n,d),h)}),Q(N(n,"syncTrigger"),d=>{d.includes("resize")?e.addResizeListener(l):e.removeResizeListener(l),d.includes("scroll")?e.addScrollListener(l):e.removeScrollListener(l)});const p=Qe(),x=q(()=>{const{to:d}=n;if(d!==void 0)return d;p.value});return{VBinder:e,mergedEnabled:t,offsetContainerRef:o,followerRef:r,mergedTo:x,syncPosition:l}},render(){return z(rt,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var n,e;const t=z("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[z("div",{class:"v-binder-follower-content",ref:"followerRef"},(e=(n=this.$slots).default)===null||e===void 0?void 0:e.call(n))]);return this.zindexable?Fe(t,[[Ze,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):t}})}});class ft{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||Re)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(const t of e){const r=this.elHandlersMap.get(t.target);r!==void 0&&r(t)}}registerHandler(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}}const Me=new ft,$e=W({name:"ResizeObserver",props:{onResize:Function},setup(n){let e=!1;const t=Ce().proxy;function r(o){const{onResize:u}=n;u!==void 0&&u(o)}R(()=>{const o=t.$el;if(o===void 0){ve("resize-observer","$el does not exist.");return}if(o.nextElementSibling!==o.nextSibling&&o.nodeType===3&&o.nodeValue!==""){ve("resize-observer","$el can not be observed (it may be a text node).");return}o.nextElementSibling!==null&&(Me.registerHandler(o.nextElementSibling,r),e=!0)}),re(()=>{e&&Me.unregisterHandler(t.$el.nextElementSibling)})},render(){return Be(this.$slots,"default")}});let te;function ct(){return typeof document>"u"?!1:(te===void 0&&("matchMedia"in window?te=window.matchMedia("(pointer:coarse)").matches:te=!1),te)}let de;function Se(){return typeof document>"u"?1:(de===void 0&&(de="chrome"in window?window.devicePixelRatio:1),de)}const Le="VVirtualListXScroll";function ht({columnsRef:n,renderColRef:e,renderItemWithColsRef:t}){const r=F(0),o=F(0),u=D(()=>{const h=n.value;if(h.length===0)return null;const p=new Oe(h.length,0);return h.forEach((x,d)=>{p.add(d,x.width)}),p}),b=q(()=>{const h=u.value;return h!==null?Math.max(h.getBound(o.value)-1,0):0}),w=h=>{const p=u.value;return p!==null?p.sum(h):0},l=q(()=>{const h=u.value;return h!==null?Math.min(h.getBound(o.value+r.value)+1,n.value.length-1):0});return Ee(Le,{startIndexRef:b,endIndexRef:l,columnsRef:n,renderColRef:e,renderItemWithColsRef:t,getLeft:w}),{listWidthRef:r,scrollLeftRef:o}}const Te=W({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:n,endIndexRef:e,columnsRef:t,getLeft:r,renderColRef:o,renderItemWithColsRef:u}=ne(Le);return{startIndex:n,endIndex:e,columns:t,renderCol:o,renderItemWithCols:u,getLeft:r}},render(){const{startIndex:n,endIndex:e,columns:t,renderCol:r,renderItemWithCols:o,getLeft:u,item:b}=this;if(o!=null)return o({itemIndex:this.index,startColIndex:n,endColIndex:e,allColumns:t,item:b,getLeft:u});if(r!=null){const w=[];for(let l=n;l<=e;++l){const h=t[l];w.push(r({column:h,left:u(l),item:b}))}return w}return null}}),pt=B(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[B("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[B("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Ft=W({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(n){const e=oe();pt.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:ie,ssr:e}),R(()=>{const{defaultScrollIndex:s,defaultScrollKey:c}=n;s!=null?a({index:s}):c!=null&&a({key:c})});let t=!1,r=!1;Ue(()=>{if(t=!1,!r){r=!0;return}a({top:f.value,left:b.value})}),qe(()=>{t=!0,r||(r=!0)});const o=q(()=>{if(n.renderCol==null&&n.renderItemWithCols==null||n.columns.length===0)return;let s=0;return n.columns.forEach(c=>{s+=c.width}),s}),u=D(()=>{const s=new Map,{keyField:c}=n;return n.items.forEach((y,$)=>{s.set(y[c],$)}),s}),{scrollLeftRef:b,listWidthRef:w}=ht({columnsRef:N(n,"columns"),renderColRef:N(n,"renderCol"),renderItemWithColsRef:N(n,"renderItemWithCols")}),l=F(null),h=F(void 0),p=new Map,x=D(()=>{const{items:s,itemSize:c,keyField:y}=n,$=new Oe(s.length,c);return s.forEach((I,C)=>{const S=I[y],A=p.get(S);A!==void 0&&$.add(C,A)}),$}),d=F(0),f=F(0),m=q(()=>Math.max(x.value.getBound(f.value-pe(n.paddingTop))-1,0)),v=D(()=>{const{value:s}=h;if(s===void 0)return[];const{items:c,itemSize:y}=n,$=m.value,I=Math.min($+Math.ceil(s/y+1),c.length-1),C=[];for(let S=$;S<=I;++S)C.push(c[S]);return C}),a=(s,c)=>{if(typeof s=="number"){E(s,c,"auto");return}const{left:y,top:$,index:I,key:C,position:S,behavior:A,debounce:O=!0}=s;if(y!==void 0||$!==void 0)E(y,$,A);else if(I!==void 0)M(I,A,O);else if(C!==void 0){const le=u.value.get(C);le!==void 0&&M(le,A,O)}else S==="bottom"?E(0,Number.MAX_SAFE_INTEGER,A):S==="top"&&E(0,0,A)};let i,g=null;function M(s,c,y){const{value:$}=x,I=$.sum(s)+pe(n.paddingTop);if(!y)l.value.scrollTo({left:0,top:I,behavior:c});else{i=s,g!==null&&window.clearTimeout(g),g=window.setTimeout(()=>{i=void 0,g=null},16);const{scrollTop:C,offsetHeight:S}=l.value;if(I>C){const A=$.get(s);I+A<=C+S||l.value.scrollTo({left:0,top:I+A-S,behavior:c})}else l.value.scrollTo({left:0,top:I,behavior:c})}}function E(s,c,y){l.value.scrollTo({left:s,top:c,behavior:y})}function _(s,c){var y,$,I;if(t||n.ignoreItemResize||U(c.target))return;const{value:C}=x,S=u.value.get(s),A=C.get(S),O=(I=($=(y=c.borderBoxSize)===null||y===void 0?void 0:y[0])===null||$===void 0?void 0:$.blockSize)!==null&&I!==void 0?I:c.contentRect.height;if(O===A)return;O-n.itemSize===0?p.delete(s):p.set(s,O-n.itemSize);const K=O-A;if(K===0)return;C.add(S,K);const Y=l.value;if(Y!=null){if(i===void 0){const se=C.sum(S);Y.scrollTop>se&&Y.scrollBy(0,K)}else if(SY.scrollTop+Y.offsetHeight&&Y.scrollBy(0,K)}P()}d.value++}const V=!ct();let T=!1;function H(s){var c;(c=n.onScroll)===null||c===void 0||c.call(n,s),(!V||!T)&&P()}function j(s){var c;if((c=n.onWheel)===null||c===void 0||c.call(n,s),V){const y=l.value;if(y!=null){if(s.deltaX===0&&(y.scrollTop===0&&s.deltaY<=0||y.scrollTop+y.offsetHeight>=y.scrollHeight&&s.deltaY>=0))return;s.preventDefault(),y.scrollTop+=s.deltaY/Se(),y.scrollLeft+=s.deltaX/Se(),P(),T=!0,ze(()=>{T=!1})}}}function X(s){if(t||U(s.target))return;if(n.renderCol==null&&n.renderItemWithCols==null){if(s.contentRect.height===h.value)return}else if(s.contentRect.height===h.value&&s.contentRect.width===w.value)return;h.value=s.contentRect.height,w.value=s.contentRect.width;const{onResize:c}=n;c!==void 0&&c(s)}function P(){const{value:s}=l;s!=null&&(f.value=s.scrollTop,b.value=s.scrollLeft)}function U(s){let c=s;for(;c!==null;){if(c.style.display==="none")return!0;c=c.parentElement}return!1}return{listHeight:h,listStyle:{overflow:"auto"},keyToIndex:u,itemsStyle:D(()=>{const{itemResizable:s}=n,c=G(x.value.sum());return d.value,[n.itemsStyle,{boxSizing:"content-box",width:G(o.value),height:s?"":c,minHeight:s?c:"",paddingTop:G(n.paddingTop),paddingBottom:G(n.paddingBottom)}]}),visibleItemsStyle:D(()=>(d.value,{transform:`translateY(${G(x.value.sum(m.value))})`})),viewportItems:v,listElRef:l,itemsElRef:F(null),scrollTo:a,handleListResize:X,handleListScroll:H,handleListWheel:j,handleItemResize:_}},render(){const{itemResizable:n,keyField:e,keyToIndex:t,visibleItemsTag:r}=this;return z($e,{onResize:this.handleListResize},{default:()=>{var o,u;return z("div",Ke(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?z("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[z(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:b,renderItemWithCols:w}=this;return this.viewportItems.map(l=>{const h=l[e],p=t.get(h),x=b!=null?z(Te,{index:p,item:l}):void 0,d=w!=null?z(Te,{index:p,item:l}):void 0,f=this.$slots.default({item:l,renderedCols:x,renderedItemWithCols:d,index:p})[0];return n?z($e,{key:h,onResize:m=>this.handleItemResize(h,m)},{default:()=>f}):(f.key=h,f)})}})]):(u=(o=this.$slots).empty)===null||u===void 0?void 0:u.call(o)])}})}}),mt=B(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[B("&::-webkit-scrollbar",{width:0,height:0})]),At=W({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const n=F(null);function e(o){!(o.currentTarget.offsetWidthd){const{updateCounter:V}=n;for(let T=M;T>=0;--T){const H=i-1-T;V!==void 0?V(H):p.textContent=`${H}`;const j=p.offsetWidth;if(v-=f[T],v+j<=d||T===0){a=!0,M=T-1,m&&(M===-1?(m.style.maxWidth=`${d-j}px`,m.style.boxSizing="border-box"):m.style.maxWidth="");const{onUpdateCount:X}=n;X&&X(H);break}}}}const{onUpdateOverflow:g}=n;a?g!==void 0&&g(!0):(g!==void 0&&g(!1),p.setAttribute(k,""))}const u=oe();return vt.mount({id:"vueuc/overflow",head:!0,anchorMetaName:ie,ssr:u}),R(()=>o({showAllItemsBeforeCalculate:!1})),{selfRef:t,counterRef:r,sync:o}},render(){const{$slots:n}=this;return Ae(()=>this.sync({showAllItemsBeforeCalculate:!1})),z("div",{class:"v-overflow",ref:"selfRef"},[Be(n,"default"),n.counter?n.counter():z("span",{style:{display:"inline-block"},ref:"counterRef"}),n.tail?n.tail():null])}});function Ve(n){return n instanceof HTMLElement}function He(n){for(let e=0;e=0;e--){const t=n.childNodes[e];if(Ve(t)&&(Ye(t)||Xe(t)))return!0}return!1}function Ye(n){if(!bt(n))return!1;try{n.focus({preventScroll:!0})}catch{}return document.activeElement===n}function bt(n){if(n.tabIndex>0||n.tabIndex===0&&n.getAttribute("tabIndex")!==null)return!0;if(n.getAttribute("disabled"))return!1;switch(n.nodeName){case"A":return!!n.href&&n.rel!=="ignore";case"INPUT":return n.type!=="hidden"&&n.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let J=[];const Wt=W({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(n){const e=De(),t=F(null),r=F(null);let o=!1,u=!1;const b=typeof document>"u"?null:document.activeElement;function w(){return J[J.length-1]===e}function l(a){var i;a.code==="Escape"&&w()&&((i=n.onEsc)===null||i===void 0||i.call(n,a))}R(()=>{Q(()=>n.active,a=>{a?(x(),fe("keydown",document,l)):(Z("keydown",document,l),o&&d())},{immediate:!0})}),re(()=>{Z("keydown",document,l),o&&d()});function h(a){if(!u&&w()){const i=p();if(i===null||i.contains(Ne(a)))return;f("first")}}function p(){const a=t.value;if(a===null)return null;let i=a;for(;i=i.nextSibling,!(i===null||i instanceof Element&&i.tagName==="DIV"););return i}function x(){var a;if(!n.disabled){if(J.push(e),n.autoFocus){const{initialFocusTo:i}=n;i===void 0?f("first"):(a=we(i))===null||a===void 0||a.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",h,!0)}}function d(){var a;if(n.disabled||(document.removeEventListener("focus",h,!0),J=J.filter(g=>g!==e),w()))return;const{finalFocusTo:i}=n;i!==void 0?(a=we(i))===null||a===void 0||a.focus({preventScroll:!0}):n.returnFocusOnDeactivated&&b instanceof HTMLElement&&(u=!0,b.focus({preventScroll:!0}),u=!1)}function f(a){if(w()&&n.active){const i=t.value,g=r.value;if(i!==null&&g!==null){const M=p();if(M==null||M===g){u=!0,i.focus({preventScroll:!0}),u=!1;return}u=!0;const E=a==="first"?He(M):Xe(M);u=!1,E||(u=!0,i.focus({preventScroll:!0}),u=!1)}}}function m(a){if(u)return;const i=p();i!==null&&(a.relatedTarget!==null&&i.contains(a.relatedTarget)?f("last"):f("first"))}function v(a){u||(a.relatedTarget!==null&&a.relatedTarget===t.value?f("last"):f("first"))}return{focusableStartRef:t,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:m,handleEndFocus:v}},render(){const{default:n}=this.$slots;if(n===void 0)return null;if(this.disabled)return n();const{active:e,focusableStyle:t}=this;return z(Ie,null,[z("div",{"aria-hidden":"true",tabindex:e?"0":"-1",ref:"focusableStartRef",style:t,onFocus:this.handleStartFocus}),n(),z("div",{"aria-hidden":"true",style:t,ref:"focusableEndRef",tabindex:e?"0":"-1",onFocus:this.handleEndFocus})])}});export{It as B,Wt as F,rt as L,$e as V,Ft as a,Ct as b,Et as c,Bt as d,At as e,Me as r};
diff --git a/js/vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js.gz b/js/vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js.gz
new file mode 100644
index 00000000..1ddca615
Binary files /dev/null and b/js/vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js.gz differ
diff --git a/js/zh-CN-CE8_4rZy.js.gz b/js/zh-CN-CE8_4rZy.js.gz
deleted file mode 100644
index f378264b..00000000
Binary files a/js/zh-CN-CE8_4rZy.js.gz and /dev/null differ
diff --git a/js/zh-CN-CE8_4rZy.js b/js/zh-CN-dOsAGuBk.js
similarity index 83%
rename from js/zh-CN-CE8_4rZy.js
rename to js/zh-CN-dOsAGuBk.js
index 6fd219ec..fb7182ef 100644
--- a/js/zh-CN-CE8_4rZy.js
+++ b/js/zh-CN-dOsAGuBk.js
@@ -1 +1 @@
-import{y as Z}from"./hooks-BY0i9Xdx.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-yAzEj4tO.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./naive-ui@2.40.1_vue@3.5.12-CG3Ec5yr.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./@vue_runtime-core@3.5.12-BCEn0y7C.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./vueuc@0.4.64_vue@3.5.12-Bw8aTbAe.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-bUd6r0cI.js";import"./vooks@0.2.12_vue@3.5.12-CqIGVsaf.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-DggYGzzI.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";import"./@vueuse_core@11.1.0_vue@3.5.12-D9AYbYsb.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-Bgfs3HCB.js";import"./utils-CsGRTM5U.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-C6kQ2NMt.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-C0be5zoh.js";import"./vue-i18n@9.13.1_vue@3.5.12-DVHJIodq.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";const o="当前环境不支持全屏",oo={isEnabledFullscreen:o},eo=Object.freeze(Object.defineProperty({__proto__:null,default:oo,isEnabledFullscreen:o},Symbol.toStringTag,{value:"Module"})),e="项目配置",t={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},n="界面显示",i="动画效果",to={Title:e,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:i},no=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:i,InterfaceDisplay:n,ThemeOptions:t,Title:e,default:to},Symbol.toStringTag,{value:"Module"})),r="刷新当前页面",c="锁屏",s="设置",l="Github",a="全屏",m="退出全屏",p="搜索",io={Reload:r,Lock:c,Setting:s,Github:l,FullScreen:a,CancelFullScreen:m,Search:p},ro=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:c,Reload:r,Search:p,Setting:s,default:io},Symbol.toStringTag,{value:"Module"})),_="请求",d="条形码",g="缓存工具函数",u="数字精度",f="右键菜单",b="首页",h="指令",S="文档",T="文档 (加速地址)",O="文档(内嵌)",y="可视化",C="表单",D="Mock 数据",P="模态框",M="多级菜单(缓存)",j="办公",v="文档",R="演示",z="表格",N="二维码",I="依赖项",L="关于",k="页面详情模式",F="分段器",x="SVG 图标",w="表格",A="模板内置 Api",E="滚动动画",G="高级表格",co={Axios:_,Barcode:d,CacheDemo:g,CalculatePrecision:u,ContextMenu:f,Dashboard:b,Directive:h,Doc:S,DocLocal:T,DocLocalInside:O,Echart:y,Error:"错误页",Form:C,Mock:D,Modal:P,MultiMenu:M,Office:j,Office_Document:v,Office_Presentation:R,Office_Spreadsheet:z,QRCode:N,Rely:I,RelyAbout:L,RouterDemo:k,Segment:F,SvgIcon:x,Table:w,TemplateHooks:A,scrollReveal:E,TablePro:G},so=Object.freeze(Object.defineProperty({__proto__:null,Axios:_,Barcode:d,CacheDemo:g,CalculatePrecision:u,ContextMenu:f,Dashboard:b,Directive:h,Doc:S,DocLocal:T,DocLocalInside:O,Echart:y,Form:C,Mock:D,Modal:P,MultiMenu:M,Office:j,Office_Document:v,Office_Presentation:R,Office_Spreadsheet:z,QRCode:N,Rely:I,RelyAbout:L,RouterDemo:k,Segment:F,SvgIcon:x,Table:w,TablePro:G,TemplateHooks:A,default:co,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),Q="项目配置",$={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},B="界面显示",lo={Title:Q,ThemeOptions:$,InterfaceDisplay:B},ao=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:B,ThemeOptions:$,Title:Q,default:lo},Symbol.toStringTag,{value:"Module"})),H="注册",V="登录",q="扫码登陆",J="请输入用户名",K="请输入密码",U="登 陆",W="用户名",X="密码",Y="开箱即用的中后台管理系统",mo={Register:H,Signing:V,QRCodeSigning:q,NamePlaceholder:J,PasswordPlaceholder:K,Login:U,Name:W,Password:X,RayTemplate:Y},po=Object.freeze(Object.defineProperty({__proto__:null,Login:U,Name:W,NamePlaceholder:J,Password:X,PasswordPlaceholder:K,QRCodeSigning:q,RayTemplate:Y,Register:H,Signing:V,default:mo},Symbol.toStringTag,{value:"Module"})),_o=Object.assign({"./zh-CN/globalMessage.json":eo,"./zh-CN/headerSettingOptions.json":no,"./zh-CN/headerTooltip.json":ro,"./zh-CN/menu.json":so,"./zh-CN/setting.json":ao,"./zh-CN/views/login/index.json":po}),le={message:{...Z(_o,"zh-CN")}};export{le as default};
+import{y as Z}from"./hooks-DonDO7vb.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.5.12-C6aYKqdf.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./jsbarcode@3.11.6-DGNGFp02.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-CeZG2a4n.js";import"./naive-ui@2.40.1_vue@3.5.12-DyRQVgeU.js";import"./date-fns@3.6.0-q9PkOyxq.js";import"./seemly@0.3.8-DjGKl9dV.js";import"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import"./@vue_shared@3.5.12--5_uv9t5.js";import"./vueuc@0.4.64_vue@3.5.12-gFk5c7Fb.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.12-CJ-8xq3W.js";import"./vooks@0.2.12_vue@3.5.12-CeQQlSXI.js";import"./vdirs@0.1.8_vue@3.5.12-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-C8OzoCMD.js";import"./css-render@0.15.14-C5toWlUr.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import"./treemate@0.3.11-DKekKYbv.js";import"./date-fns-tz@3.1.3_date-fns@3.6.0-ztskLDQQ.js";import"./async-validator@4.2.5-DKvM95Vc.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-Be8eOoM-.js";import"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import"./utils-6rpFoFAR.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import"./destr@2.0.3-CVtkxrq9.js";import"./deep-pick-omit@1.2.1-CegYQlcN.js";import"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import"./vue-demi@0.14.10_vue@3.5.12-Dq6ymT-8.js";import"./html-to-image@1.11.11-BOFdlgi9.js";import"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-C6DqbPB6.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";const o="当前环境不支持全屏",oo={isEnabledFullscreen:o},eo=Object.freeze(Object.defineProperty({__proto__:null,default:oo,isEnabledFullscreen:o},Symbol.toStringTag,{value:"Module"})),e="项目配置",t={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},n="界面显示",i="动画效果",to={Title:e,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:i},no=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:i,InterfaceDisplay:n,ThemeOptions:t,Title:e,default:to},Symbol.toStringTag,{value:"Module"})),r="刷新当前页面",c="锁屏",s="设置",l="Github",a="全屏",m="退出全屏",p="搜索",io={Reload:r,Lock:c,Setting:s,Github:l,FullScreen:a,CancelFullScreen:m,Search:p},ro=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:c,Reload:r,Search:p,Setting:s,default:io},Symbol.toStringTag,{value:"Module"})),_="请求",d="条形码",g="缓存工具函数",u="数字精度",f="右键菜单",b="首页",h="指令",S="文档",T="文档 (加速地址)",O="文档(内嵌)",y="可视化",C="表单",D="Mock 数据",P="模态框",M="多级菜单(缓存)",j="办公",v="文档",R="演示",z="表格",N="二维码",I="依赖项",L="关于",k="页面详情模式",F="分段器",x="SVG 图标",w="表格",A="模板内置 Api",E="滚动动画",G="高级表格",co={Axios:_,Barcode:d,CacheDemo:g,CalculatePrecision:u,ContextMenu:f,Dashboard:b,Directive:h,Doc:S,DocLocal:T,DocLocalInside:O,Echart:y,Error:"错误页",Form:C,Mock:D,Modal:P,MultiMenu:M,Office:j,Office_Document:v,Office_Presentation:R,Office_Spreadsheet:z,QRCode:N,Rely:I,RelyAbout:L,RouterDemo:k,Segment:F,SvgIcon:x,Table:w,TemplateHooks:A,scrollReveal:E,TablePro:G},so=Object.freeze(Object.defineProperty({__proto__:null,Axios:_,Barcode:d,CacheDemo:g,CalculatePrecision:u,ContextMenu:f,Dashboard:b,Directive:h,Doc:S,DocLocal:T,DocLocalInside:O,Echart:y,Form:C,Mock:D,Modal:P,MultiMenu:M,Office:j,Office_Document:v,Office_Presentation:R,Office_Spreadsheet:z,QRCode:N,Rely:I,RelyAbout:L,RouterDemo:k,Segment:F,SvgIcon:x,Table:w,TablePro:G,TemplateHooks:A,default:co,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),Q="项目配置",$={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},B="界面显示",lo={Title:Q,ThemeOptions:$,InterfaceDisplay:B},ao=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:B,ThemeOptions:$,Title:Q,default:lo},Symbol.toStringTag,{value:"Module"})),H="注册",V="登录",q="扫码登陆",J="请输入用户名",K="请输入密码",U="登 陆",W="用户名",X="密码",Y="开箱即用的中后台管理系统",mo={Register:H,Signing:V,QRCodeSigning:q,NamePlaceholder:J,PasswordPlaceholder:K,Login:U,Name:W,Password:X,RayTemplate:Y},po=Object.freeze(Object.defineProperty({__proto__:null,Login:U,Name:W,NamePlaceholder:J,Password:X,PasswordPlaceholder:K,QRCodeSigning:q,RayTemplate:Y,Register:H,Signing:V,default:mo},Symbol.toStringTag,{value:"Module"})),_o=Object.assign({"./zh-CN/globalMessage.json":eo,"./zh-CN/headerSettingOptions.json":no,"./zh-CN/headerTooltip.json":ro,"./zh-CN/menu.json":so,"./zh-CN/setting.json":ao,"./zh-CN/views/login/index.json":po}),le={message:{...Z(_o,"zh-CN")}};export{le as default};
diff --git a/js/zh-CN-dOsAGuBk.js.gz b/js/zh-CN-dOsAGuBk.js.gz
new file mode 100644
index 00000000..b379e77f
Binary files /dev/null and b/js/zh-CN-dOsAGuBk.js.gz differ
diff --git a/mockServer/mock-data.js b/mockServer/mock-data.js
index a8c195f7..0049df71 100644
--- a/mockServer/mock-data.js
+++ b/mockServer/mock-data.js
@@ -4,7 +4,7 @@ var __export = (target, all) => {
__defProp(target, name, { get: all[name], enumerable: true });
};
-// mock-data-1729358207139.js
+// mock-data-1729654366596.js
import { transformMockData } from "vite-plugin-mock-dev-server";
// mock/demo/person.mock.ts
@@ -85,7 +85,7 @@ var getPersonList = defineMock({
}
});
-// mock-data-1729358207139.js
+// mock-data-1729654366596.js
var exporters = [person_mock_exports];
var mockList = exporters.map((raw) => {
let mockConfig;
@@ -99,7 +99,7 @@ var mockList = exporters.map((raw) => {
}
return mockConfig;
});
-var mock_data_1729358207139_default = transformMockData(mockList);
+var mock_data_1729654366596_default = transformMockData(mockList);
export {
- mock_data_1729358207139_default as default
+ mock_data_1729654366596_default as default
};
diff --git a/mockServer/mock-data.js.gz b/mockServer/mock-data.js.gz
index 882d6308..a0f2d22b 100644
Binary files a/mockServer/mock-data.js.gz and b/mockServer/mock-data.js.gz differ