diff --git a/css/hooks-Coh90r6u.css.gz b/css/hooks-Coh90r6u.css.gz
deleted file mode 100644
index 8d1c94b3..00000000
Binary files a/css/hooks-Coh90r6u.css.gz and /dev/null differ
diff --git a/css/hooks-Coh90r6u.css b/css/hooks-oOjOh227.css
similarity index 60%
rename from css/hooks-Coh90r6u.css
rename to css/hooks-oOjOh227.css
index 8653ad05..7dc790f4 100644
--- a/css/hooks-Coh90r6u.css
+++ b/css/hooks-oOjOh227.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{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}
+.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}.n-form.setting-drawer__overrides-form .n-form-item .n-form-item-blank{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.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-oOjOh227.css.gz b/css/hooks-oOjOh227.css.gz
new file mode 100644
index 00000000..c2c35ee9
Binary files /dev/null and b/css/hooks-oOjOh227.css.gz differ
diff --git a/index.html b/index.html
index a6b7014f..a4814bc6 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
Ray Template
-
+
@@ -29,7 +29,7 @@
-
+
@@ -41,8 +41,7 @@
-
-
+
@@ -56,10 +55,11 @@
-
+
+
-
+
diff --git a/index.html.gz b/index.html.gz
index 828050d5..5d8601ed 100644
Binary files a/index.html.gz and b/index.html.gz differ
diff --git a/js/BarcodeDemo-BEpfsirt.js.gz b/js/BarcodeDemo-BEpfsirt.js.gz
deleted file mode 100644
index e0a0dec0..00000000
Binary files a/js/BarcodeDemo-BEpfsirt.js.gz and /dev/null differ
diff --git a/js/BarcodeDemo-BEpfsirt.js b/js/BarcodeDemo-jWbBfNPc.js
similarity index 77%
rename from js/BarcodeDemo-BEpfsirt.js
rename to js/BarcodeDemo-jWbBfNPc.js
index aab55ae9..2e6834f4 100644
--- a/js/BarcodeDemo-BEpfsirt.js
+++ b/js/BarcodeDemo-jWbBfNPc.js
@@ -1 +1 @@
-import{z as i}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{z as i}from"./hooks-DNoo5Jj5.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,ag as p,I as s,L as n,a as c}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.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-jWbBfNPc.js.gz b/js/BarcodeDemo-jWbBfNPc.js.gz
new file mode 100644
index 00000000..f6da960e
Binary files /dev/null and b/js/BarcodeDemo-jWbBfNPc.js.gz differ
diff --git a/js/TablePro-D_-Zxaa_.js b/js/TablePro-DDhVUTGT.js
similarity index 63%
rename from js/TablePro-D_-Zxaa_.js
rename to js/TablePro-DDhVUTGT.js
index dc8ddbb7..5aafc35e 100644
--- a/js/TablePro-D_-Zxaa_.js
+++ b/js/TablePro-DDhVUTGT.js
@@ -1 +1 @@
-import{P as W,Q as X,J as Y,t as x,T as Z,U as $}from"./hooks-c8QJeqZl.js";import{j as ee}from"./utils-BvBR3SlX.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-_AoK-7-_.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 j,M as I,aj as z,am as b,v as oe}from"./naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.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}),[L,{checkedRowKeysBind:q,getKeys:w,getRows:A,clearKey:R,clearAll:t,selectKey:M}]=X(i,g,{rowKey:"key",onChange:(u,d,o)=>{}}),V=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:L,getKeys:w,getRows:A,clearKey:R,clearAll:t,collapseRef:V,selectKey:M}},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:L,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(j,{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(j,{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(j,{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};
+import{P as W,Q as X,J as Y,t as j,T as Z,U as $}from"./hooks-DNoo5Jj5.js";import{k as ee}from"./utils-DewQlJ2W.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-CZSdczlG.js";import{M as q}from"./mockjs@1.1.0-CxlURkif.js";import{d as U}from"./dayjs@1.11.10-C8LoRVP6.js";import{aj as T,L as x,G as ae,ak as ue,c as f,O as m,N as L,H as I,al as z,an as b,v as oe}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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"./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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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}=$(),[v,{runTableRequest:h,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:q.Random.cname(),age:l+20,address:q.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})()),w=c({pagination:!0,manual:!1}),[G,{checkedRowKeysBind:O,getKeys:P,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:w,runTableRequest:h,tableProRegister:v,print:D,downloadCsv:n,checkedRowKeysBind:O,checkedRowKeys:G,getKeys:P,getRows:A,clearKey:R,clearAll:t,collapseRef:M,selectKey:V}},render(){const{tableDataRef:a,baseColumns:v,itemCountRef:h,loadingGetPersonList:E,runGetPersonList:D,conditionRef:n,radioRef:i,runTableRequest:g,tableProRegister:y,print:F,downloadCsv:k,checkedRowKeysBind:w,getKeys:G,getRows:O,clearKey:P,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(x,{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(x,{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(j,{name:"dark",size:"18"},null)}):e(m,{onClick:()=>this.collapseRef=!1,secondary:!0},{default:()=>"受控收起",icon:()=>e(j,{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;P(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:v,loading:E,paginationCount:h,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:w},null)]})}});export{rt as default};
diff --git a/js/TablePro-DDhVUTGT.js.gz b/js/TablePro-DDhVUTGT.js.gz
new file mode 100644
index 00000000..ba519d42
Binary files /dev/null and b/js/TablePro-DDhVUTGT.js.gz differ
diff --git a/js/TablePro-D_-Zxaa_.js.gz b/js/TablePro-D_-Zxaa_.js.gz
deleted file mode 100644
index 522216e2..00000000
Binary files a/js/TablePro-D_-Zxaa_.js.gz and /dev/null differ
diff --git a/js/en-US-kuHs-KnU.js b/js/en-US-D1T6JeAd.js
similarity index 82%
rename from js/en-US-kuHs-KnU.js
rename to js/en-US-D1T6JeAd.js
index 393f4c0b..2e5f955e 100644
--- a/js/en-US-kuHs-KnU.js
+++ b/js/en-US-D1T6JeAd.js
@@ -1 +1 @@
-import{y as Z}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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 e="The current environment does not support full screen",ee={isEnabledFullscreen:e},oe=Object.freeze(Object.defineProperty({__proto__:null,default:ee,isEnabledFullscreen:e},Symbol.toStringTag,{value:"Module"})),o="Configuration",t={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},n="Display",r="Content Transition",te={Title:o,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:r},ne=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:r,InterfaceDisplay:n,ThemeOptions:t,Title:o,default:te},Symbol.toStringTag,{value:"Module"})),i="Reload Current Page",c="Lock",s="Setting",l="Github",a="Full Screen",m="Cancel Full Screen",p="Search",re={Reload:i,Lock:c,Setting:s,Github:l,FullScreen:a,CancelFullScreen:m,Search:p},ie=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:c,Reload:i,Search:p,Setting:s,default:re},Symbol.toStringTag,{value:"Module"})),g="Axios Request",u="Barcode",d="Cache Utils Demo",_="Precision",S="Right Click Menu",f="Home",b="Directive",h="Doc",T="Doc (China)",D="Doc(inside)",y="Chart",C="Form",P="Mock",O="Modal",R="MultiMenu(catch)",M="Office",v="Document",j="Presentation",L="Spreadsheet",k="QRCode",F="Rely",I="Rely About",U="Same Level Router Demo",x="Segment",w="SVG Icon",A="Table",z="Template Api",E="Scroll Reveal",Q="Table Pro",ce={Axios:g,Barcode:u,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Error:"Error Page",Form:C,Mock:P,Modal:O,MultiMenu:R,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,scrollReveal:E,TablePro:Q},se=Object.freeze(Object.defineProperty({__proto__:null,Axios:g,Barcode:u,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Form:C,Mock:P,Modal:O,MultiMenu:R,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TablePro:Q,TemplateHooks:z,default:ce,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),N="Configuration",B={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},G="Interface Display",le={Title:N,ThemeOptions:B,InterfaceDisplay:G},ae=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:G,ThemeOptions:B,Title:N,default:le},Symbol.toStringTag,{value:"Module"})),H="Register",$="Signing",q="QRCode Signing",V="please enter user name",J="please enter password",K="Login",W="User Name",X="User Password",Y="Fast Background Template",me={Register:H,Signing:$,QRCodeSigning:q,NamePlaceholder:V,PasswordPlaceholder:J,Login:K,Name:W,Password:X,RayTemplate:Y},pe=Object.freeze(Object.defineProperty({__proto__:null,Login:K,Name:W,NamePlaceholder:V,Password:X,PasswordPlaceholder:J,QRCodeSigning:q,RayTemplate:Y,Register:H,Signing:$,default:me},Symbol.toStringTag,{value:"Module"})),ge=Object.assign({"./en-US/globalMessage.json":oe,"./en-US/headerSettingOptions.json":ne,"./en-US/headerTooltip.json":ie,"./en-US/menu.json":se,"./en-US/setting.json":ae,"./en-US/views/login/index.json":pe}),so={message:{...Z(ge,"en-US")}};export{so as default};
+import{y as Z}from"./hooks-DNoo5Jj5.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-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";const e="The current environment does not support full screen",ee={isEnabledFullscreen:e},oe=Object.freeze(Object.defineProperty({__proto__:null,default:ee,isEnabledFullscreen:e},Symbol.toStringTag,{value:"Module"})),o="Configuration",t={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},n="Display",r="Content Transition",te={Title:o,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:r},ne=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:r,InterfaceDisplay:n,ThemeOptions:t,Title:o,default:te},Symbol.toStringTag,{value:"Module"})),i="Reload Current Page",c="Lock",s="Setting",l="Github",a="Full Screen",m="Cancel Full Screen",p="Search",re={Reload:i,Lock:c,Setting:s,Github:l,FullScreen:a,CancelFullScreen:m,Search:p},ie=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:c,Reload:i,Search:p,Setting:s,default:re},Symbol.toStringTag,{value:"Module"})),g="Axios Request",u="Barcode",d="Cache Utils Demo",_="Precision",S="Right Click Menu",f="Home",b="Directive",h="Doc",T="Doc (China)",D="Doc(inside)",y="Chart",C="Form",P="Mock",O="Modal",R="MultiMenu(catch)",M="Office",v="Document",j="Presentation",L="Spreadsheet",k="QRCode",F="Rely",I="Rely About",U="Same Level Router Demo",x="Segment",w="SVG Icon",A="Table",z="Template Api",E="Scroll Reveal",Q="Table Pro",ce={Axios:g,Barcode:u,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Error:"Error Page",Form:C,Mock:P,Modal:O,MultiMenu:R,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,scrollReveal:E,TablePro:Q},se=Object.freeze(Object.defineProperty({__proto__:null,Axios:g,Barcode:u,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Form:C,Mock:P,Modal:O,MultiMenu:R,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TablePro:Q,TemplateHooks:z,default:ce,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),N="Configuration",B={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},G="Interface Display",le={Title:N,ThemeOptions:B,InterfaceDisplay:G},ae=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:G,ThemeOptions:B,Title:N,default:le},Symbol.toStringTag,{value:"Module"})),H="Register",$="Signing",q="QRCode Signing",V="please enter user name",J="please enter password",K="Login",W="User Name",X="User Password",Y="Fast Background Template",me={Register:H,Signing:$,QRCodeSigning:q,NamePlaceholder:V,PasswordPlaceholder:J,Login:K,Name:W,Password:X,RayTemplate:Y},pe=Object.freeze(Object.defineProperty({__proto__:null,Login:K,Name:W,NamePlaceholder:V,Password:X,PasswordPlaceholder:J,QRCodeSigning:q,RayTemplate:Y,Register:H,Signing:$,default:me},Symbol.toStringTag,{value:"Module"})),ge=Object.assign({"./en-US/globalMessage.json":oe,"./en-US/headerSettingOptions.json":ne,"./en-US/headerTooltip.json":ie,"./en-US/menu.json":se,"./en-US/setting.json":ae,"./en-US/views/login/index.json":pe}),so={message:{...Z(ge,"en-US")}};export{so as default};
diff --git a/js/en-US-D1T6JeAd.js.gz b/js/en-US-D1T6JeAd.js.gz
new file mode 100644
index 00000000..9620aa40
Binary files /dev/null and b/js/en-US-D1T6JeAd.js.gz differ
diff --git a/js/en-US-kuHs-KnU.js.gz b/js/en-US-kuHs-KnU.js.gz
deleted file mode 100644
index 20bd3d37..00000000
Binary files a/js/en-US-kuHs-KnU.js.gz and /dev/null differ
diff --git a/js/hooks-DNoo5Jj5.js b/js/hooks-DNoo5Jj5.js
new file mode 100644
index 00000000..02403232
--- /dev/null
+++ b/js/hooks-DNoo5Jj5.js
@@ -0,0 +1,12 @@
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/en-US-D1T6JeAd.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-DtgApL3K.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-DewQlJ2W.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/interactjs@1.10.26-DZL_TZzP.js","js/zh-CN-B5CyUpxI.js","js/index-Drj3PGgk.js","js/index-CT0XK3_m.js","css/index-D_4DGt8i.css","js/index-EwsxEsV-.js","js/instance-CZSdczlG.js","js/axios@1.7.5-C8DqakIB.js","css/index-QAd2IBUs.css","js/BarcodeDemo-jWbBfNPc.js","js/index-b8T1nLRq.js","js/index-D1JklQAF.js","js/index-Ov7I6uVL.js","js/index-Dx_gm2nu.js","css/index-DHYYVpM7.css","js/index-Dor1-zOS.js","js/index-BIEmcx8R.js","js/index-D1ZCvgoG.js","js/index-CtH5AG_t.js","js/index-BuRzBDbW.js","js/index-DSsu4ch3.js","js/index-D03MkEFA.js","js/index-C4S3Jatz.js","js/index-CrzR9VpM.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-D1ed38ZE.js","css/index-B6yUFiKH.css","js/index-CZrqUJff.js","js/index-BaTrdXhk.js","js/index-B4VbZD3l.js","css/index-Dig957GB.css","js/index-D2Sm3Md2.js","js/index-DbfJADJ4.js","css/index-Eq1L-L2-.css","js/TablePro-DDhVUTGT.js","js/mockjs@1.1.0-CxlURkif.js","js/index-EwbgOaHC.js","js/index-nJFSuG-j.js","js/index-BVKRM6-W.js","css/index-74sXJ5VP.css","js/index-D1ThNEs9.js","css/index-b1h4j9PV.css"])))=>i.map(i=>d[i]);
+var Qn=Object.defineProperty;var eo=(e,n,t)=>n in e?Qn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var Vt=(e,n,t)=>eo(e,typeof n!="symbol"?n+"":n,t);import{s as mt,c as Xe,t as Et,i as ln,p as Fe,o as ot,f as to}from"./lodash-es@4.17.21-CeZG2a4n.js";import{z as Nt,d as Ut,f as no,g as oo,N as at,a as ao,b as lo,c as D,e as lt,m as ro,h as rn,u as so,S as zt,i as io,j as ke,k as uo,l as sn,n as Be,o as co,p as po,q as de,t as mo,r as fo,s as un,v as go,w as cn,x as Je,y as ho,A as dn,B as vo,C as yo,D as bo,E as ne,F as So,G as $t,H as I,I as Q,J as K,K as _o,L as pn,M as mn,O as Z,P as wo,Q as Co,R as Ke,T as To,U as Oo,V as ko,W as Ao,X as Ro,Y as fn,Z as Po,_ as Kt,$ as xo}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js";import{o as Eo,u as je,a as zo,b as Mo,c as gn,d as ft,e as Mt,f as Io}from"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import{k as M,l as Te,e as le,n as Lo,x as Re,a as hn,s as Do,u as oe}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{n as X,f as fe,l as x,b as r,m as V,p as ge,q as pe,j as C,w as Pe,t as Fo,k as Ve,v as vn,h as rt,i as xe,x as yn,F as bn,y as Bo,z as Se,A as jo,C as gt,D as Vo,E as Ie,S as No,K as Uo,G as Wt,H as $o,I as Y}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{d as se}from"./dayjs@1.11.10-C8LoRVP6.js";import{p as Ko}from"./print-js@1.6.0-BdoEj60G.js";import{u as Sn}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 Wo}from"./jsbarcode@3.11.6-DGNGFp02.js";import{g as Ze,i as me,s as It,a as At,c as qo,u as _n,b as De,l as wn,d as Cn,e as Go,f as N,r as ye,h as B,j as Ho,k as Qe,q as et,m as Tn,p as On,n as Lt,o as qt,t as _e,v as Yo,w as Xo,x as Jo,y as Zo,z as Qo,A as ue}from"./utils-DewQlJ2W.js";import{s as ea}from"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import{d as st,c as ta}from"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import{t as na,a as oa,b as aa,c as la,d as ra,e as sa}from"./html-to-image@1.11.11-BOFdlgi9.js";import{u as it,a as ia,o as ua,c as ca,b as da}from"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import{c as pa}from"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import{r as ma,u as Le,i as fa,a as ga,b as ha,c as va,d as ya,e as ba,f as Sa,g as _a,h as wa,j as Ca,k as Ta,l as Oa,m as ka,n as Aa,o as Ra,p as Pa,q as xa,s as Ea}from"./echarts@5.5.0-CezqL3m-.js";import{g as za}from"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import{T as Ma,a as Ia}from"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";import{i as Gt}from"./interactjs@1.10.26-DZL_TZzP.js";const Hs=(e,n)=>{if(typeof n!="string"||!n.trim())throw new TypeError("Expected prefix to be a non-empty string");const t={};return Object.keys(e).forEach(o=>{const l=e[o].default;let a=o.replace(`./${n}/`,"").replace(/^\.\//,"");const s=a.lastIndexOf(".");a=a.substring(0,s);const i=a.split("/"),u=i.shift(),d=i.join(".");u&&(d?(mt(t,u,t[u]||{}),mt(t[u],d,l)):mt(t,u,l||{}))}),t},La="modulepreload",Da=function(e){return"/ray-template/"+e},Ht={},L=function(n,t,o){let l=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));l=Promise.all(t.map(i=>{if(i=Da(i),i in Ht)return;Ht[i]=!0;const u=i.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":La,u||(p.as="script"),p.crossOrigin="",p.href=i,s&&p.setAttribute("nonce",s),document.head.appendChild(p),u)return new Promise((h,S)=>{p.addEventListener("load",h),p.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${i}`)))})}))}return l.then(()=>n()).catch(a=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a})},Fa=(e,n,t)=>{const o=e[n];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((l,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+n+(n.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},Ba=async e=>{var t;const n={};for(const o of e){const l=await Fa(Object.assign({"../lang/en-US.ts":()=>L(()=>import("./en-US-D1T6JeAd.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-B5CyUpxI.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/${o.key}.ts`,3),a=o.key;a&&(n[a]=((t=l==null?void 0:l.default)==null?void 0:t.message)??{})}return n},Ys=e=>{switch(e){case"zh-CN":return{locale:Nt,dateLocal:Ut};case"en-US":return{locale:null,dateLocal:null};default:return{locale:Nt,dateLocal:Ut}}},Xs={max:5,closable:!1},Js="loading",Zs="",J={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"}],ae={appThemeColors:["#2d8cf0","#3f9eff","#ff42bc","#ee4f12","#dbcb02","#18A058"],appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"},appNaiveUIThemeOverrides:{dark:{},light:{}},appNaiveUIThemeOverridesCommon:{dark:{},light:{}},echartTheme:"macarons"},kn=[{key:"zh-CN",label:"中文(简体)"},{key:"en-US",label:"English(US)"}],Va="zh-CN",Na="zh-CN",Ua={"zh-CN":"zh-cn","en-US":"en"},$a="zh-cn",Qs={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$/},ei={baseURL:"",withCredentials:!1,timeout:5*1e3,headers:{"Content-Type":"application/json"}},Ce=M(null),An=M(null),Ka={setupRouterLoadingBar:!0,setupRouterGuard:!0},Wa=["RLogin","ErrorPage","RayTemplateDoc"],We=[],ti=(e,n)=>{const t=M(0),o=M(0),l=M(!1),{clickOutside:a}={},s=h=>{l.value=h},i=h=>{h.preventDefault(),s(!1),X().then(()=>{const{clientX:S,clientY:f}=h;t.value=S,o.value=f,s(!0)})};a&&Eo(e,h=>{a(h)});const u=je(e,"contextmenu",i,n),d=je(e,"click",()=>{s(!1)});return{stop:()=>{u(),d()},x:Te(t),y:Te(o),show:Te(l),updateShow:s}},tt=le({globalSpinning:!1,globalDrawerValue:!1,globalMainLayoutLoad:!0,layoutContentMaximize:!1,layoutContentSpinning:!1});function ce(e,n,t){Object.hasOwn(tt,e)&&(tt[e]=n)}function ut(e){return Te(Lo(tt,e))}function qa(){return{...Re(Te(tt))}}let ie;const Ga=async()=>{const e=Gn(),n=await Ba(kn);return pa({legacy:!1,locale:e,messages:n,sync:!0,missingWarn:!1,silentFallbackWarn:!0,fallbackLocale:Na})},ni=async e=>{const n=await Ga();e.use(n),ie=n},Yt=(e,n)=>n,Ne=e=>{if(!ie)return{t:a=>Yt(e,a),locale:a=>{}};const{t:n,...t}=ie.global;return{...t,t:(a,...s)=>a?!a.includes(".")&&!e?a:n(Yt(e,a),...s):"",locale:a=>{ie.mode==="legacy"?ie.global.locale=a:hn(ie.global.locale)?ie.global.locale.value=a:ie.global.locale=a}}},j=e=>e,Ha={path:"/dashboard",component:()=>L(()=>import("./index-Drj3PGgk.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}},Ya=Object.freeze(Object.defineProperty({__proto__:null,default:Ha},Symbol.toStringTag,{value:"Module"})),Xa={path:"/axios",name:"RAxios",component:()=>L(()=>import("./index-EwsxEsV-.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}},Ja=Object.freeze(Object.defineProperty({__proto__:null,default:Xa},Symbol.toStringTag,{value:"Module"})),Za={path:"barcode",component:()=>L(()=>import("./BarcodeDemo-jWbBfNPc.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"}}},Qa=Object.freeze(Object.defineProperty({__proto__:null,default:Za},Symbol.toStringTag,{value:"Module"})),el={path:"/cache-demo",component:()=>L(()=>import("./index-b8T1nLRq.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}},tl=Object.freeze(Object.defineProperty({__proto__:null,default:el},Symbol.toStringTag,{value:"Module"})),nl={path:"/context-menu",component:()=>L(()=>import("./index-D1JklQAF.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}},ol=Object.freeze(Object.defineProperty({__proto__:null,default:nl},Symbol.toStringTag,{value:"Module"})),al={path:"/directive",component:()=>L(()=>import("./index-Ov7I6uVL.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"}}},ll=Object.freeze(Object.defineProperty({__proto__:null,default:al},Symbol.toStringTag,{value:"Module"})),rl={path:"/echart",component:()=>L(()=>import("./index-Dx_gm2nu.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"}}},sl=Object.freeze(Object.defineProperty({__proto__:null,default:rl},Symbol.toStringTag,{value:"Module"})),il={path:"/form",component:()=>L(()=>import("./index-Dor1-zOS.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"}}},ul=Object.freeze(Object.defineProperty({__proto__:null,default:il},Symbol.toStringTag,{value:"Module"})),cl={path:"/iframe",component:()=>L(()=>import("./index-BIEmcx8R.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"}},dl=Object.freeze(Object.defineProperty({__proto__:null,default:cl},Symbol.toStringTag,{value:"Module"})),pl={path:"/mock-demo",component:()=>L(()=>import("./index-D1ZCvgoG.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:j("menu.Mock"),icon:"other",order:3,keepAlive:!1,extra:{label:"usePagination"}}},ml=Object.freeze(Object.defineProperty({__proto__:null,default:pl},Symbol.toStringTag,{value:"Module"})),fl={path:"/modal-demo",component:()=>L(()=>import("./index-CtH5AG_t.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:j("menu.Modal"),icon:"other",order:3}},gl=Object.freeze(Object.defineProperty({__proto__:null,default:fl},Symbol.toStringTag,{value:"Module"})),Ye=()=>L(()=>Promise.resolve().then(()=>Nr),void 0),hl={path:"/multi",component:Ye,meta:{i18nKey:j("menu.MultiMenu"),icon:"other",order:4,extra:{label:"cache"}},children:[{path:"multi-menu-one",name:"MultiMenuOne",component:()=>L(()=>import("./index-BuRzBDbW.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:Ye,meta:{noLocalTitle:"多级菜单-2"},children:[{path:"sub-menu-other",name:"SubMenuOther",component:()=>L(()=>import("./index-DSsu4ch3.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:Ye,meta:{noLocalTitle:"多级菜单-2-2",keepAlive:!0},children:[{path:"sub-menu-one",name:"MultiMenuTwoOne",component:()=>L(()=>import("./index-D03MkEFA.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}}]}]}]},vl=Object.freeze(Object.defineProperty({__proto__:null,default:hl},Symbol.toStringTag,{value:"Module"})),yl={path:"/precision",component:()=>L(()=>import("./index-C4S3Jatz.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:j("menu.CalculatePrecision"),icon:"other",order:2}},bl=Object.freeze(Object.defineProperty({__proto__:null,default:yl},Symbol.toStringTag,{value:"Module"})),Sl={path:"/qrcode",component:()=>L(()=>import("./index-CrzR9VpM.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:j("menu.QRCode"),icon:"other",order:2}},_l=Object.freeze(Object.defineProperty({__proto__:null,default:Sl},Symbol.toStringTag,{value:"Module"})),wl={path:"rely-about",component:()=>L(()=>import("./index-D1ed38ZE.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:j("menu.RelyAbout"),icon:"rely",order:999}},Cl=Object.freeze(Object.defineProperty({__proto__:null,default:wl},Symbol.toStringTag,{value:"Module"})),Tl={path:"/router-demo",component:Ye,meta:{i18nKey:j("menu.RouterDemo"),icon:"other",order:3},children:[{path:"router-demo-home",component:()=>L(()=>import("./index-CZrqUJff.js"),__vite__mapDeps([76,12,1,2,3,39,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,40,41,42,43,44,45,46,47])),meta:{noLocalTitle:"人员信息(平级模式)"}},{path:"router-demo-detail",component:()=>L(()=>import("./index-BaTrdXhk.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}}]},Ol=Object.freeze(Object.defineProperty({__proto__:null,default:Tl},Symbol.toStringTag,{value:"Module"})),kl={path:"/scroll-reveal",component:()=>L(()=>import("./index-B4VbZD3l.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:j("menu.scrollReveal"),icon:"scroll_reveal",hidden:!0}},Al=Object.freeze(Object.defineProperty({__proto__:null,default:kl},Symbol.toStringTag,{value:"Module"})),Rl={path:"/segment",component:()=>L(()=>import("./index-D2Sm3Md2.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:j("menu.Segment"),icon:"other",order:3,extra:{label:"segment"}}},Pl=Object.freeze(Object.defineProperty({__proto__:null,default:Rl},Symbol.toStringTag,{value:"Module"})),xl={path:"/svg-icons",component:()=>L(()=>import("./index-DbfJADJ4.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:j("menu.SvgIcon"),icon:"other",order:3}},El=Object.freeze(Object.defineProperty({__proto__:null,default:xl},Symbol.toStringTag,{value:"Module"})),zl={path:"/table-pro",component:()=>L(()=>import("./TablePro-DDhVUTGT.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:j("menu.TablePro"),icon:"other",order:2,extra:{label:"TablePro"}}},Ml=Object.freeze(Object.defineProperty({__proto__:null,default:zl},Symbol.toStringTag,{value:"Module"})),Il={path:"/table",component:()=>L(()=>import("./index-EwbgOaHC.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:j("menu.Table"),icon:"other",order:2,extra:{label:"useTable"}}},Ll=Object.freeze(Object.defineProperty({__proto__:null,default:Il},Symbol.toStringTag,{value:"Module"})),Dl={path:"/template-hooks",component:()=>L(()=>import("./index-nJFSuG-j.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:j("menu.TemplateHooks"),icon:"other",order:1}},Fl=Object.freeze(Object.defineProperty({__proto__:null,default:Dl},Symbol.toStringTag,{value:"Module"})),Bl=()=>{const e=Object.assign({"/src/router/modules/dashboard.ts":Ya,"/src/router/modules/demo/axios.ts":Ja,"/src/router/modules/demo/barcode.ts":Qa,"/src/router/modules/demo/cache-demo.ts":tl,"/src/router/modules/demo/context-menu.ts":ol,"/src/router/modules/demo/directive.ts":ll,"/src/router/modules/demo/echart.ts":sl,"/src/router/modules/demo/form.ts":ul,"/src/router/modules/demo/iframe.ts":dl,"/src/router/modules/demo/mock.ts":ml,"/src/router/modules/demo/modal.ts":gl,"/src/router/modules/demo/multi-menu.ts":vl,"/src/router/modules/demo/precision.ts":bl,"/src/router/modules/demo/qrcode.ts":_l,"/src/router/modules/demo/rely.ts":Cl,"/src/router/modules/demo/router-demo.ts":Ol,"/src/router/modules/demo/scroll-reveal.ts":Al,"/src/router/modules/demo/segment.ts":Pl,"/src/router/modules/demo/svg-icons.ts":El,"/src/router/modules/demo/table-pro.ts":Ml,"/src/router/modules/demo/table.ts":Ll,"/src/router/modules/demo/template-hooks.ts":Fl});return Object.keys(e).reduce((t,o)=>{const l=e[o].default;if(l)t.push(l);else throw new Error(`[combineRawRouteModules]: ${o} module must export default.`);return t},[])},jl=e=>e[0]==="/",Rn=(e,n=[],t="")=>{var o;if(!Array.isArray(e))return[];for(const l of e){const a=t+(jl(l.path)?l.path:"/"+l.path);if((o=l.children)!=null&&o.length){Rn(l.children,n,a);continue}else n.push({...l,path:a})}return n},Vl=e=>Array.isArray(e)?Rn(Xe(e)):[],Nl=e=>e.sort((n,t)=>{var a,s;const o=((a=n.meta)==null?void 0:a.order)??1,l=((s=t.meta)==null?void 0:s.order)??0;if(typeof o!="number"||typeof l!="number")throw new TypeError("orderRoutes error: order must be a number!");return o===l?n.name?t.name?n.name.localeCompare(t.name):-1:1:o-l}),Ul=e=>{const{beforeEach:n}=e,{getRootPath:t}=Me(),o=(l,a)=>l.path==="/"||a.path==="/login";n((l,a,s)=>{const i=Ze(J.token,"localStorage"),u=Ze(J.appMenuKey,"sessionStorage",{defaultValue:t.value}),{meta:d,name:p}=l;i!==null?o(l,a)?ht(!0):!me(p,"Symbol")&&p&&Wa.includes(p)?s():$n(d)?o(l,a)?u?s(u):ht(!0):s():ht(!0):o(l,a)?s():s("/")})},ht=(e=!0)=>{const{router:n}=Ft(),{push:t,replace:o}=n,{getRootPath:l}=Me();It(J.appMenuKey,l.value,"localStorage"),e?o(l.value):t(l.value)},$l=e=>{var t;const{meta:n}=e;n!=null&&n.ignoreAutoResetScroll||(t=Ce.value)==null||t.scrollTo({top:0,left:0,behavior:"smooth"})},Kl=e=>{e.beforeEach(()=>{var n;(n=window.$loadingBar)==null||n.start()}),e.afterEach(()=>{var n;(n=window.$loadingBar)==null||n.finish()}),e.onError(()=>{var n;(n=window.$loadingBar)==null||n.error()})},Pn=e=>{const{meta:n={}}=e,{hidden:t,sameLevel:o,env:l}=n,{MODE:a}=At();return!(o||t||l&&typeof l=="string"&&l!==a||l&&Array.isArray(l)&&!l.includes(a))};var Wl={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.3"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const Ae=st("setting",()=>{const{appPrimaryColor:{primaryColor:e}}=Wl,{locale:n}=Ne(),{locale:t}=ys(),o=le({drawerPlacement:"right",primaryColorOverride:{common:{primaryColor:e,primaryColorHover:e,primaryColorPressed:e}},_appTheme:!1,appTheme:"light",menuTagSwitch:!0,breadcrumbSwitch:!0,localeLanguage:Gn(),lockScreenSwitch:!1,copyrightSwitch:!0,contentTransition:"scale",watermarkSwitch:!1,watermarkConfig:{content:"Trying be better~",fontSize:16,lineHeight:16,width:384,height:384,xOffset:12,xGap:0,yGap:0,yOffset:60,rotate:-15,cross:!0},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,menuWidth:272,inverted:!1,nativeScrollbar:!1},colorWeakness:!1,dynamicDocumentTitle:!0}),l=u=>{n(u),t(u),o.localeLanguage=u,It(J.localeLanguage,u,"localStorage")},a=(u,d=.3)=>{const p=qo(u,d),h={primaryColor:u,primaryColorHover:u,primaryColorPressed:u};o.primaryColorOverride.common=h;const S=document.body;S.style.setProperty("--ray-theme-primary-color",u),S.style.setProperty("--ray-theme-primary-fade-color",p)},s=(u,d,p)=>{_n(o,u,d,p)},i=u=>{const d=document.documentElement;s("colorWeakness",u),De(d,{filter:u?"invert(100%)":""})};return fe(()=>{var u;o.appTheme?o.primaryColorOverride=Object.assign({},o.primaryColorOverride,ae.appNaiveUIThemeOverrides.dark,ae.appNaiveUIThemeOverridesCommon.dark):o.primaryColorOverride=Object.assign({},o.primaryColorOverride,ae.appNaiveUIThemeOverrides.light,ae.appNaiveUIThemeOverridesCommon.light),i(o.colorWeakness),o.dynamicDocumentTitle||(document.title=((u=o.sideBarLogo)==null?void 0:u.title)||"Ray Template")}),{...Re(o),updateLocale:l,changePrimaryColor:a,updateSettingState:s,toggleColorWeakness:i}},{persist:{key:J.appPiniaSettingStore}}),xn={...no,onRegister:{type:[Function,Array],default:null}},En={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},...oo};function ql(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const oi=x({name:"RCollapse",props:Object.assign({},xn,{...En,open:{type:Boolean,default:!0},cols:{type:Number,default:4},bordered:{type:Boolean,default:!0}}),render(){const{$slots:e,$props:n}=this,{labelPlacement:t,showFeedback:o,...l}=n;return r(vr,V(l,{labelPlacement:"top",showFeedback:!1}),{default:()=>[r(Yl,l,ql(e)?e:{default:()=>[e]})]})}}),Gl={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:()=>wn()},autoResizeObserverTarget:{type:Object,default:null},watchOptionsThrottleWait:{type:Number,default:500},nextTick:{type:Boolean,default:!0},setChartOptions:{type:Object,default:()=>Cn()},onRegister:{type:[Function,Array],default:null}},Hl=Go(),Xt="__R_CHART_DOWN_LOAD_CHART__";Hl.forEach(e=>{ma(e.name,e.theme)});const ai=x({name:"RChart",props:Gl,setup(e,{expose:n}){const{getAppTheme:t}=W(),o=pe("rayChartRef"),l=pe("rayChartWrapperRef"),a=Do();let s,i;const{echartTheme:u}=ae;let d;const p=C(()=>[{label:"下载图片",key:Xt,disabled:!(a.value&&a.value.getDom())}]),h=C(()=>({"--ray-chart-width":N(e.width),"--ray-chart-height":N(e.height)})),S=M(!1);let f;const m={aria:e.showAria},_=async()=>{var O;Le([ga,ha,va,ya,ba,Sa,_a,wa]),Le([Ca,Ta,Oa,ka,Aa,Ra]),Le([Pa,xa]),Le([Ea]);try{Le((O=e.use)==null?void 0:O.filter(Boolean))}catch(R){console.error("[RChart register error]: ",R)}},g=()=>{if(a.value&&T(),e.theme==="default"){e.autoChangeTheme?c("dark"):c("");return}if(e.theme)c(e.theme);else{const O=e.autoChangeTheme&&t.value?`${u}-dark`:u;c(O)}},v=O=>{let R=oe(O);return R=(q=>Object.assign({},R,q))({aria:{enabled:e.showAria,decal:{show:e.showAria}}}),R},c=(O=u)=>{var he;const R=o.value,F=v(e.options),{height:q,width:$}=R.getBoundingClientRect(),{onSuccess:ee,onError:G}=e;try{a.value=fa(R,O,{width:$===0?200:void 0,height:q===0?200:void 0}),ee&&B(ee,a.value),e.nextTick?(a.value.setOption({}),X(()=>{var te;F&&((te=a.value)==null||te.setOption(F))})):F&&((he=a.value)==null||he.setOption(F))}catch(te){throw G&&B(G),new Error(`[RChart render error]: ${te}`)}finally{const{onFinally:te}=e;te&&B(te)}},y=()=>{var O;return!!((O=a.value)!=null&&O.isDisposed())},T=()=>{var O;y()||(O=a.value)==null||O.dispose()},w=()=>{a.value&&a.value.resize()},b=(O,R)=>{if(O===Xt&&!y()){const{filename:q,...$}=e.downloadOptions;Ho(a.value.getDataURL($),q??`${new Date().getTime()}`)}const{onDropdownSelect:F}=e;F&&B(F,O,R)},E=()=>{var R;if(e.autoResize&&(s||(s=Et(w,500)),i||(i=Mo(e.autoResizeObserverTarget||l,s))),(R=a.value)!=null&&R.getDom()||!S.value&&e.intersectionObserver)return;g(),f==null||f.stop();const{onRegister:O}=e;O&&a.value&&B(O,a.value,E,k)},k=()=>{T(),s==null||s.cancel(),i==null||i.stop(),f==null||f.stop(),f=null,s=null,i=null};return Pe(()=>t.value,()=>{e.autoChangeTheme&&(T(),g())}),fe(()=>{var O,R;e.intersectionObserver&&(f=zo(e.intersectionObserverTarget||l,([F])=>{S.value=F.isIntersecting},e.intersectionOptions)),e.watchOptions?d=za(()=>e.options,F=>{var ee;const q=v(F),$=Object.assign({},Cn(),e.setChartOptions);(ee=a.value)==null||ee.setOption(q,$)},{deep:!0,throttle:e.watchOptionsThrottleWait}):d==null||d(),e.loading?(O=a.value)==null||O.showLoading(wn(e.loadingOptions)):(R=a.value)==null||R.hideLoading(),e.showAria!==m.aria&&a.value&&(a.value.setOption(v(e.options)),m.aria=e.showAria),S.value&&!y()&&E()}),n(),Fo(async()=>{await _()}),Ve(()=>{E()}),vn(()=>{k(),d==null||d()}),{rayChartRef:o,cssVarsRef:h,rayChartWrapperRef:l,moreDropDownOptions:p,dropdownSelect:b}},render(){const{title:e,contentStyle:n,preset:t,moreDropDownOptions:o,dropdownSelect:l,bordered:a,dropdownOptions:s}=this,{cardExtra:i}=this.$slots;return t==="card"?r(at,{class:"ray-chart",ref:"rayChartWrapperRef",style:[this.cssVarsRef],contentStyle:n,bordered:a,embedded:!0},{default:ye(r("div",{class:"ray-chart__container",ref:"rayChartRef"},null)),header:ye(e,{defaultElement:r("div",{style:"display: none;"},null)}),"header-extra":ye(i,{defaultElement:r(In,{iconSize:18,cursor:"pointer",options:s||o,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)])}}),li=()=>{let e,n,t;const o=(u,d,p)=>{u&&(e=u,n=p,t=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:n,render:t,echartInst:e}};return[o,{getChartInstance:l,isDisposed:()=>{var u;return!!((u=l().echartInst)!=null&&u.isDisposed())},dispose:()=>l().dispose.call(null),render:()=>l().render.call(null)}]},Yl=x({name:"RCollapseGrid",props:En,setup(e){const n=M(!e.open),t=C(()=>({"--r-collapse-grid-action-align":e.actionAlign})),o=()=>{const{onUpdateOpen:a,"onUpdate:open":s}=e;n.value=!n.value,a&&B(a,n.value),s&&B(s,n.value)},l=a=>r("div",{class:"collapse-icon",onClick:o.bind(this)},[r("span",null,[a?e.collapseToggleText[0]:e.collapseToggleText[1]]),r(P,{customClassName:`collapse-icon--arrow ${a?"":"collapse-icon--arrow__expanded"}`,name:"expanded",size:"14"},null)]);return fe(()=>{n.value=!e.open}),{modelCollapsed:n,collapseClick:o,CollapseIcon:l,cssVars:t}},render(){const{$slots:{collapse:e,action:n,default:t},CollapseIcon:o,$props:l,modelCollapsed:a,xGap:s,yGap:i,collapsedRows:u,cssVars:d,bordered:p}=this;return r(at,{bordered:p,style:[d]},{default:()=>r(ao,V({class:"ray-collapse-grid"},l,{collapsed:a,xGap:s||12,yGap:i||12,collapsedRows:u}),{default:()=>[t==null?void 0:t(),r(lo,{suffix:!0,class:"ray-collapse-grid__suffix--btn"},{default:()=>[r(D,{justify:"end",align:"center"},{default:()=>[n==null?void 0:n(),e?e(a):o(a)]})]})]})})}}),Xl={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}},P=x({name:"RIcon",props:Xl,setup(e){const n=C(()=>`#${e.prefix}-${e.name}`),t=C(()=>({"--ray-icon-width":e.width?N(e.width):N(e.size),"--ray-icon-height":e.height?N(e.height):N(e.size),"--ray-icon-depth":e.depth,"--ray-icon-cursor":e.cursor,"--ray-icon-color":e.color}));return{symbolId:n,cssVars:t,iconClick:l=>{const{onClick:a}=e;a&&B(a,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",V({"xlink:href":this.symbolId},{fill:this.color}),null)])])}}),Jl={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}},ri=x({name:"RIframe",props:Jl,setup(e,{expose:n}){const t=C(()=>({"--ray-iframe-frameborder":N(e.frameborder),"--ray-iframe-width":N(e.width),"--ray-iframe-height":N(e.height)})),o=pe("iframeRef"),l=M(!0),a=i=>{l.value=!1;const{onSuccess:u}=e;u&&B(u,o.value,i)},s=i=>{l.value=!1;const{onError:u}=e;u&&B(u,i)};return je(o,"load",a),je(o,"error",s),n({iframeInst:o}),{cssVars:t,iframeRef:o,spinShow:l}},render(){return r("div",{class:["ray-iframe",this.iframeWrapperClass],style:[this.cssVars]},[r(lt,V(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)})])}}),Zl={...ro,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}},Ql=(e,n,t)=>{const{scheduler:o}=t??{};return new Promise(l=>{setTimeout(()=>{const a=n==="card"?".n-card-header__main":".n-dialog__title";if(e){const s=Gt(e).draggable({inertia:!0,autoScroll:!0,allowFrom:a,modifiers:[Gt.modifiers.restrictRect({restriction:"parent",endOnly:!0})],listeners:{move:i=>{o==null||o(i)}}}).resizable(!1);l(s)}},30)})},zn=(e,n)=>{const t=typeof e=="string"?document.querySelector(e):e;return new Promise((o,l)=>{if(t){t.setAttribute("can-drag","true");const{preset:a,dargCallback:s}=n;let{x:i,y:u}=n;Ql(t,a,{scheduler:d=>{const p=d.target;i+=d.dx,u+=d.dy,p.style.transform=`translate(${i}px, ${u}px)`,s==null||s(i,u,d)}}).then(d=>{o(d)})}else l()})},er="r-modal__preset-card--fullscreen",Mn="r-modal",Oe={width:"--r-modal-width",cardWidth:"--r-modal-card-width",dialogWidth:"--r-modal-dialog-width"},si=x({name:"RModal",props:Zl,setup(e){const n=C(()=>({[Oe.width]:N(e.width??600),[Oe.cardWidth]:N(e.cardWidth??600),[Oe.dialogWidth]:N(e.dialogWidth??446)})),t=Qe();let o;const l={x:0,y:0},a=C(()=>e.preset==="card"&&e.fullscreen);return Pe(()=>e.show,s=>{s&&e.dad&&(e.preset==="card"||e.preset==="dialog")?X(()=>{const i=document.getElementById(t);i&&zn(i,{preset:e.preset,x:l.x,y:l.y,dargCallback:(u,d)=>{l.x=u,l.y=d}}).then(u=>{o=u}),e.memo&&i&&(i.style.transform=`translate(${l.x}px, ${l.y}px)`)}):(o==null||o.unset(),o=null)},{immediate:!0}),{cssVars:n,isFullscreenCardType:a,uuidEl:t}},render(){const{$props:e,$slots:n,$attrs:t}=this,{preset:o,...l}=e,{cssVars:a,uuidEl:s,isFullscreenCardType:i}=this;return r(rn,V({class:[Mn,i?er:""],style:[a,i?"height: 100vh":""],preset:o},{id:s},l,t),{...n})}}),tr=()=>{const{create:e,destroyAll:n}=so();return{create:o=>{const{content:l,...a}=o;let s=l;a.preset==="card"&&a.fullscreen&&(s=()=>rt(zt,{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:i,dad:u,fullscreen:d,width:p,cardWidth:h,dialogWidth:S}=o,f=e({...a,content:s}),{key:m}=f,_={[Oe.width]:N(p??600),[Oe.cardWidth]:N(h??600),[Oe.dialogWidth]:N(S??446)};return X(()=>{const[g]=et(`[internalkey="${m}"]`)||[];if(g){if(u&&zn(g,{preset:i,x:0,y:0}),d&&i==="card"){const v=g.querySelector(".n-card__content");v&&De(v,{maxHeight:"calc(100vh - 9px - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))",overflowY:"hidden",padding:"0"}),De(g,{width:"100%",height:"100vh"})}De(g,_),Tn(g,Mn)}}),f},destroyAll:n}},nr={...io,icon:{type:String,default:"more"},iconSize:{type:Number,default:14},cursor:{type:String,default:"default"}};function or(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const In=x({name:"RMoreDropdown",props:nr,render(){let e;const{iconSize:n,cursor:t,icon:o}=this,{default:l}=this.$slots;return r(ke,V(this.$props,this.$attrs,{placement:"bottom-start"}),or(e=ye(l,{defaultElement:r(P,{name:o,size:n,cursor:t},null)}))?e:{default:()=>[e]})}}),Ee={...uo,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}},re={tableIconSize:"18",tableKey:Symbol("r-table")},ar=[{label:"斑马条纹",value:"striped"},{label:"表格边框",value:"bordered"}],lr=x({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:a}=e;a&&B(a,l)}}},render(){return r(sn,{value:this.size,"onUpdate:value":e=>this.size=e,options:this.sizeOptions,trigger:"click",onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(P,{name:"adjustment",size:re.tableIconSize,cursor:"pointer"},null)]})}}),rr=x({name:"TableFullscreen",setup(){const{wrapperRef:e}=xe(re.tableKey,{}),[n,{toggleFullscreen:t,isEnabled:o}]=Sn(e);return{toggleFullscreen:t,isEnabled:o}},render(){const{toggleFullscreen:e,isEnabled:n,$t:t}=this;return r(P,{name:"fullscreen",size:re.tableIconSize,cursor:"pointer",onClick:()=>{n||window.$message.warning(t("globalMessage.isEnabledFullscreen")),e()}},null)}}),sr=()=>r(P,{name:"draggable",size:14,cursor:"grab"},null),Jt=({icon:e,title:n,onClick:t,customClassName:o})=>r(Be,{showArrow:!1},{trigger:()=>r(P,{name:e,size:re.tableIconSize,cursor:"pointer",customClassName:o,onClick:t==null?void 0:t.bind(null)},null),default:()=>n}),Rt=(e,n)=>{if(!n)return[null,null];for(let t=0;tXe(e.columns).filter(u=>u.type?(n=u,!1):!0).map((u,d)=>{const{key:p,title:h,children:S,fixed:f,isResizable:m,..._}=u,g=f==="left",v=f==="right",c={..._,title:h,key:p,fixed:f,isLeftFixedActivated:g,isRightFixedActivated:v,isResizable:m};return{...c,suffix:()=>r(D,{style:"padding-left: 32px;"},{default:()=>[r(Jt,{icon:"row_head",title:"固定在列首",customClassName:g?vt:"",onClick:a.bind(this,"left",c,d)},null),r(Be,{showArrow:!1},{trigger:()=>r(P,{name:"resize_h",size:re.tableIconSize,cursor:"pointer",customClassName:m?vt:"",onClick:l.bind(this,c,d)},null),default:()=>"修改列宽"}),r(Jt,{icon:"row_end",title:"固定在列尾",customClassName:v?vt:"",onClick:a.bind(this,"right",c,d)},null)]})}}),set:()=>{}}),o=i=>{const{onUpdateColumn:u}=e;u&&B(u,i)},l=(i,u)=>{i.isResizable=!i.isResizable,i.resizable=i.isResizable,t.value[u]=i,o(t.value)},a=(i,u,d)=>{const p=`${i}FixedActivated`,h=`${i==="left"?"right":"left"}FixedActivated`;u[h]=!1,u[p]=!u[p],u[p]?u.fixed=i:u.fixed=void 0,t.value[d]=u,o(t.value)};return{treeDataSource:t,treeDrop:({node:i,dragNode:u,dropPosition:d})=>{const[p,h]=Rt(u,t.value);if(p===null||h===null)return;p.splice(h,1);const[S,f]=Rt(i,t.value);S===null||f===null||(d==="before"?S.splice(f,0,u):S.splice(f+1,0,u),ln(n)||S.unshift(n),o(S))}}},render(){return r(Be,{displayDirective:"show",trigger:"click",showArrow:!1},{trigger:()=>r(P,{name:"setting",size:re.tableIconSize,cursor:"pointer",customClassName:"r-table__setting"},null),default:()=>r(co,{class:"r-table__c-tree",data:this.treeDataSource,blockLine:!0,draggable:!0,keyboard:!1,labelField:"title",selectable:!1,renderSwitcherIcon:sr.bind(this),onDrop:this.treeDrop.bind(this)},null)})}}),ur=x({name:"TablePrint",props:Ee,setup(e){const{wrapperRef:n}=xe(re.tableKey,{});return{printTableClick:()=>{const{printTableOptions:{printOptions:o={},domToImageOptions:l}={},title:a}=e;(o.documentTitle===""||o.documentTitle===void 0||o.documentTitle===null)&&(o.documentTitle=typeof a=="string"?a:""),On(n,{printOptions:o,domToImageOptions:l})}}},render(){return r(P,{name:"print",size:re.tableIconSize,cursor:"pointer",onClick:this.printTableClick.bind(this)},null)}}),cr=x({name:"TablePropsSelect",props:{...Ee,onPopselectChange:{type:[Function,Array],default:null},onInitialed:{type:[Function,Array],default:null}},setup(e){const n=M(!1),t=M([]),o=a=>{const{onPopselectChange:s}=e;s&&B(s,a)};return(()=>{const{striped:a,bordered:s,onInitialed:i}=e;a&&t.value.push("striped"),s&&t.value.push("bordered"),i&&B(i,t.value)})(),{propsPopselectValue:t,popoverShow:n,updatePopselectValue:o}},render(){return r(sn,{value:this.propsPopselectValue,"onUpdate:value":e=>this.propsPopselectValue=e,options:ar,trigger:"click",multiple:!0,onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(P,{name:"expanded",size:re.tableIconSize,cursor:"pointer",style:"transform: rotate(270deg);"},null)]})}});function dr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const pr=x({name:"RTable",inheritAttrs:!1,props:Ee,setup(e,n){const{expose:t,emit:o}=n,l=pe("rTableInst"),a=pe("wrapperRef"),s=Qe(16),i=Qe(16),u=le({x:0,y:0,showContextMenu:!1}),d=le({size:e.size}),p=M(Object.assign({striped:!1,bordered:!1},Fe(e,"striped","bordered"))),h=(c,y)=>{const{onContextMenuClick:T}=e;T&&B(T,c,y),u.showContextMenu=!1},S=(c,y)=>{var w;return{...(w=e.rowProps)==null?void 0:w.call(e,c,y),onContextmenu:e.disabledContextMenu?void 0:b=>{b.preventDefault(),u.showContextMenu=!1,X().then(()=>{u.showContextMenu=!0,u.x=b.clientX,u.y=b.clientY})}}},f=c=>{d.size=c},m=c=>{const{onUpdateColumns:y,"onUpdate:columns":T}=e;y&&B(y,c),T&&B(T,c)},_=()=>{const{toolOptions:c}=e;return c==null?void 0:c.filter(Boolean).map(y=>typeof y=="function"?y():y)},g=c=>{Object.keys(p.value).forEach(T=>{p.value[T]=c.includes(T)})},v=c=>{const{tool:y}=c;if(!y)return;const T=()=>r(D,{align:"center"},{default:()=>[r(ur,c,null),r(lr,V(c,{onChangeSize:f.bind(this)}),null),r(rr,null,null),r(ir,V(c,{onUpdateColumn:m.bind(this)}),null),r(cr,V(c,{onPopselectChange:g.bind(this),onInitialed:g.bind(this)}),null)]});return e.toolOptions?e.coverTool?()=>{let w;return r(D,{align:"center"},dr(w=_())?w:{default:()=>[w]})}:()=>r(D,{align:"center"},{default:()=>[T(),_()]}):T};return Ve(()=>{const{onRegister:c}=e;c&&l.value&&B(c,l.value,{uuidTable:i,uuidWrapper:s,wrapperRef:a})}),yn(re.tableKey,{uuidTable:i,uuidWrapper:s,wrapperRef:a}),t(),{uuidWrapper:s,uuidTable:i,contextMenuReactive:u,rTableInst:l,combineRowProps:S,contextMenuSelect:h,privateReactive:d,tool:v,wrapperRef:a,propsPopselectValue:p}},render(){const{$props:e,$attrs:n,$slots:t,uuidTable:o,contextMenuReactive:l,uuidWrapper:a,privateReactive:s,propsPopselectValue:i}=this,{class:u,...d}=n,{tool:p,combineRowProps:h,contextMenuSelect:S}=this,{renderWrapperHeader:f,wrapperBordered:m,disabledContextMenu:_,contextMenuOptions:g,title:v,tableFlexHeight:c,cardProps:y,...T}=e;return r(at,V(y,{id:a},d,{ref:"wrapperRef",bordered:m,class:u}),{default:()=>r(bn,null,[r(po,V({id:o},T,i,{rowProps:h.bind(this),size:s.size,ref:"rTableInst",style:{height:c!=null?N(c):null}}),{...t}),_?null:r(ke,{show:l.showContextMenu,placement:"bottom-start",trigger:"manual",x:l.x,y:l.y,options:g,onClickoutside:()=>l.showContextMenu=!1,onSelect:S.bind(this)},null)]),header:f?ye(v,{defaultElement:r("div",{style:"display: none;"},null)}):null,"header-extra":p(e),footer:()=>{var w;return(w=t.tableFooter)==null?void 0:w.call(t)},action:()=>{var w;return(w=t.tableAction)==null?void 0:w.call(t)}})}}),mr=()=>{const e=M();let n={};const t=(f,m)=>{f&&(e.value=f,n=m)},o=()=>{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[t,{getTableInstance:o,clearFilters:()=>o().clearFilters.call(null),clearSorter:()=>o().clearSorter.call(null),downloadCsv:f=>o().downloadCsv.call(null,f),filters:f=>o().filters.call(null,f),page:f=>o().page.call(null,f),scrollTo:f=>o().scrollTo(f),sort:(f,m)=>o().sort.call(null,f,m),print:f=>{const{uuidWrapper:m}=n;if(m){const _=document.getElementById(m);On(_,f)}},filter:f=>o().filter.call(null,f)}]},Ln=(e,n,t)=>{var o;if(e.length)for(const l of e){if(l[n]===t)return l;if((o=l==null?void 0:l.children)!=null&&o.length){const a=Ln(l.children,n,t);if(a)return a}}},Zt=e=>{const n=oe(e);return n?n.findIndex(o=>{const{type:l,multiple:a}=o;if(l==="selection"&&(a==null||a===!0))return!0})!==-1:!0},fr=(e,n,t,o)=>{const l=oe(e);return l?n.reduce((a,s)=>{const i=oe(t).findIndex(d=>d[o]===s);if(i!==-1)return a.push(oe(t)[i]),a;const u=l.findIndex(d=>d[o]===s);return u!==-1&&a.push(l[u]),a},[]):t},ii=(e,n,t)=>{const o=M([]),l=M([]),{rowKey:a="key",onChange:s}=t||{},i=C(()=>Zt(n)),u=(m,_,g)=>{o.value=m,l.value=oe(fr(e,m,l,a)),s==null||s(m,l.value,g),Zt(n)},d=()=>o.value,p=()=>l.value,h=()=>{o.value=[],l.value=[],s==null||s(o.value,l.value,{row:void 0,action:"uncheckAll"})},S=m=>{if(m==null)return;let _;o.value=o.value.filter(g=>g!==m),l.value=l.value.filter(g=>g[a]===m?(_=g,!1):!0),s==null||s(o.value,l.value,{row:_,action:"uncheck"})},f=m=>{if(o.value.includes(m))return;const _=!i.value&&o.value.length>=1,g=Ln(oe(e)||[],a,m);_?o.value=[m]:o.value.push(m),g&&(_?l.value=[g]:l.value.push(g),s==null||s(o.value,l.value,{row:g,action:"check"}))};return Lt(()=>{h()}),[o,{checkedRows:l,checkedRowKeysBind:u,getKeys:d,getRows:p,clearAll:h,clearKey:S,selectKey:f}]},gr={transitionPropName:"fade",transitionMode:"out-in",transitionAppear:!0},hr=x({name:"RTransitionComponent",__name:"index",props:Bo({transitionPropName:{},transitionMode:{},transitionAppear:{type:Boolean}},gr),setup(e){const{getKeepAliveInclude:n}=zr(),{getKeepAliveConfig:t}=W();return(o,l)=>{const a=Vo("RouterView");return Se(),jo("div",null,[r(a,null,{default:gt(({Component:s,route:i})=>[s?(Se(),Ie(Ma,{key:0,name:o.transitionPropName,mode:o.transitionMode,appear:o.transitionAppear},{default:gt(()=>[(Se(),Ie(No,null,{default:gt(()=>[oe(t).setupKeepAlive?(Se(),Ie(Uo,{key:0,max:oe(t).maxKeepAliveLength,include:oe(n),exclude:oe(t).keepAliveExclude},[(Se(),Ie(Wt(s),{key:i.fullPath}))],1032,["max","include","exclude"])):(Se(),Ie(Wt(s),{key:i.fullPath}))]),_:2},1024))]),_:2},1032,["name","mode","appear"])):$o("",!0)]),_:1})])}}}),vr=x({name:"RForm",props:xn,setup(e,{expose:n}){const t=pe("formRef");return Ve(()=>{const{onRegister:o}=e;o&&t.value&&B(o,t.value)}),n(),{formRef:t}},render(){const{$attrs:e,$props:n,$slots:t}=this;return r(de,V(e,n,{ref:"formRef"}),{...t})}}),ui=(e,n)=>{const t=M(),o=d=>{d&&(t.value=d)},l=()=>{if(!t.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 t.value};return[o,{getFormInstance:l,validate:(d,p)=>l().validate.call(null,d,p),restoreValidation:()=>l().restoreValidation.call(null),formModel:()=>Xe(e)||{},formRules:()=>Xe(n)||{}}]},yr=["addTabClass","addTabStyle","paneClass","paneStyle","paneWrapperStyle","tabClass","tabStyle","type","label","addable","closable","onAdd","onClose","placement","animated","justifyContent","builtinThemeOverrides","displayDirective"],br={tabPaddingSmallSegment:"4px 7px",tabPaddingMediumSegment:"6px 11px",tabPaddingLargeSegment:"8px 11px"},Sr=ot({...mo,options:{type:Array,default:()=>[]},width:{type:[Number,String],default:"fitContent"}},...yr);function _r(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const Pt=e=>{const{icon:n,label:t}=e;return n?r(D,{align:"center",wrap:!1,size:"small"},{default:()=>{var o;return[(o=ye(n))==null?void 0:o(),r("div",null,[t])]}}):t},wr=e=>{if(typeof e.popover=="string")return r(Be,null,{trigger:()=>Pt(e),default:()=>e.popover});if(me(e.popover,"Object")){const{popover:n}=e,{label:t,...o}=n;return r(Be,o,{trigger:()=>Pt(e),default:()=>t})}},Cr=x({name:"RSegment",props:Sr,setup(e,{expose:n}){const t=C(()=>{const{width:o}=e;let l="";switch(o){case"block":l="100%";break;case"fitContent":l="fit-content";break;default:l=typeof o=="number"?N(o):"fit-content"}return{"--r-segment-width":l}});return n(),{cssVars:t}},render(){let e;const{$props:n,options:t,cssVars:o,themeOverrides:l}=this;return r(un,V(n,{ref:"segmentRef",style:[o],class:"r-segment",type:"segment",animated:!0,themeOverrides:Object.assign({},br,l)}),_r(e=t.map(a=>r(fo,{key:a.key,name:a.key,tab:a.popover?wr(a):Pt(a),disabled:a.disabled},{...a.slots})))?e:{default:()=>[e]})}}),Tr={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=x({name:"RBarcode",props:Tr,setup(e){const n=pe("barcodeRef"),t=C(()=>({"--r-barcode-width":N(e.width),"--r-barcode-height":N(e.height)}));let o;const l=()=>{try{const{format:a,text:s,options:i,onSuccess:u}=e,d=Object.assign({},i,{format:a});Wo(n.value,s!=null?s.toString():"",d),u&&B(u,s,a,i)}catch(a){const{onError:s}=e;s&&B(s,a)}finally{const{onFinally:a}=e;a&&B(a)}};return fe(()=>{e.watchText?o=Pe(()=>e.text,l):o==null||o()}),Ve(()=>{l()}),vn(()=>{o==null||o()}),{barcodeRef:n,cssVars:t}},render(){const{barcodeRender:e,loading:n,cssVars:t}=this,o=["r-barcode",{"r-barcode--loading":n}];return r(lt,{class:"r-barcode-spin",show:n},{default:()=>[e==="canvas"?r("canvas",{class:o,style:t,ref:"barcodeRef"},null):r("svg",{class:o,style:t,ref:"barcodeRef"},null)]})}}),Or={...ot(Ee,["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 kr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const di=x({name:"RTablePro",props:Or,setup(e){const[n,{clearFilters:t,clearSorter:o,downloadCsv:l,filters:a,page:s,scrollTo:i,sort:u,print:d,filter:p}]=mr(),[h,{getPage:S,getPageSize:f,setCallback:m,setItemCount:_,resetPagination:g,getItemCount:v}]=_s(void 0,{prefix:k=>`共 ${k.itemCount} 条`}),c=C(()=>e.request),y=()=>({getItemCount:v,getPage:S,getPageSize:f}),T=()=>{const{onTablePaginationUpdate:k}=e;k&&B(k,y())},w=k=>{const O=Object.assign({},e.requestConfig,k),{params:R,formatRangeTime:F}=O;return F!=null&&F.length&&R&&F.forEach($=>{const{key:ee,target:G}=$,he=R[ee];if(he&&(G!=null&&G.length)){const[te,dt]=he;R[G[0]]=te,R[G[1]]=dt}else R[ee]=null,R[G[0]]=null,R[G[1]]=null}),Object.assign({},R,{page:S(),pageSize:f()})},b=k=>{var R;g();const O=w(k);(R=c.value)==null||R.call(c,O)},E=k=>{var R;const O=w(k);(R=c.value)==null||R.call(c,O)};return fe(()=>{_(e.paginationCount),m(()=>{const{manual:k}=e;k||E(),T()})}),Ve(()=>{const{onRegister:k}=e;k&&B(k,{getTablePagination:y,runTableRequest:b,clearFilters:t,clearSorter:o,downloadCsv:l,filters:a,page:s,scrollTo:i,sort:u,print:d,filter:p,getCurrentTableRequestParams:w})}),{register:n,paginationRef:h}},render(){const{register:e,$props:n,paginationRef:t,$slots:o}=this,{onRegister:l,showPagination:a,...s}=n;return r(pr,V(s,{onRegister:e,pagination:a?t:void 0}),kr(o)?o:{default:()=>[o]})}}),pi=()=>{const e=M(),n=m=>{m&&(e.value=m)},t=()=>{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[n,{clearFilters:()=>t().clearFilters.call(null),getTableProInstance:t,clearSorter:()=>t().clearSorter.call(null),downloadCsv:m=>t().downloadCsv.call(null,m),filters:m=>t().filters.call(null,m),page:m=>t().page.call(null,m),scrollTo:m=>t().scrollTo(m),sort:(m,_)=>t().sort.call(null,m,_),getTablePagination:()=>t().getTablePagination.call(null),runTableRequest:m=>t().runTableRequest.call(null,m),print:m=>t().print.call(null,m),getCurrentTableRequestParams:m=>t().getCurrentTableRequestParams.call(null,m)}]},Ar=(e,n,t)=>!e||typeof e!="object"?!1:e[n]===t,Dn=(e,n,t)=>{const o=[];if(Ar(e,n,t))return o.push(e),o;if(e.children&&e.children.length>0)for(const l of e.children){const a=Dn(l,n,t);a.length>0&&o.push(e,...a)}return o},Rr=(e,n,t)=>{const o=[];for(const l of e){const a=Dn(l,n,t);a.length>0&&o.push(...a)}return o},Qt=e=>{const{dynamicDocumentTitle:n}=Ae();if(!n)return;const{breadcrumbLabel:t}=e;if(!t)return;const{sideBarLogo:o}=Ae(),l=o?o.title:"";document.title=t+" - "+l},Pr=e=>{const{meta:{icon:n}}=e;if(!n)return;if(me(n,"Object"))return()=>n;const{menuConfig:t}=Ae(),{collapsed:o}=Dt(),l=rt(P,{name:n,size:o?t.collapsedIconSize:t.iconSize,cursor:"pointer"},{});return()=>l},Fn=e=>{const{meta:{extra:n}}=e;if(!n)return;const{show:t}=n;if(t===!1)return;const{t:o}=Ne(),{label:l,icon:a,type:s,i18nLabel:i}=n,u={type:"primary",size:"small",round:!0,bordered:!1,strong:!0},d=()=>i?o(i):l||null,p=()=>a&&(i||l)||!a&&(i||l)?null:{"padding-right":"0"};if(me(n,"Object"))return()=>rt(go,{...u,type:s||"primary",style:p()},{default:()=>d(),icon:()=>a})},en=()=>{const{getRootPath:e}=Me();return Ze(J.appMenuKey,"sessionStorage",{defaultValue:e.value})},Bn=()=>Nl(Bl()),xr=()=>Vl(Bn()),xt=["redirect","breadcrumbLabel","children","key","meta","name","path","show","fullPath"];let qe;const jn=(e,n)=>{var t;if(qe&&qt(qe.fullPath,n))return qe;for(const o of e){if(qt(o.fullPath,n))return qe=o,o;if((t=o.children)!=null&&t.length){jn(o.children,n);continue}}},Dt=st("menu",()=>{const{push:e,getRoutes:n}=it(),t=ia(),{t:o}=Ne(),{setKeepAliveInclude:l}=Mr(),a=le({menuKey:en(),options:[],collapsed:!1,menuTagOptions:[],breadcrumbOptions:[],currentMenuOption:null}),s=M(!0),i=(c,y,T)=>{_n(a,c,y,T)},u=c=>{const{meta:y}=c,{i18nKey:T,noLocalTitle:w}=y,b=C(()=>T?o(`${T}`):w),E={...c,key:c.fullPath,label:()=>rt(cn,null,{default:()=>b.value}),breadcrumbLabel:b.value},k=Object.assign({},E,{icon:Pr(c),extra:Fn(c)});return c.fullPath===en()&&(a.currentMenuOption=k),k.show=Pn(k),k},d=c=>{a.breadcrumbOptions=Rr(a.options,"fullPath",c)},p=(c,y=!0)=>{const w=Array.isArray(c)?[...c]:[c];y?a.menuTagOptions.push(...w):a.menuTagOptions=w},h=(c,y)=>{a.menuTagOptions.find(w=>w.fullPath===c)||a.menuTagOptions.push(y)},S=(c,y,T)=>{const{meta:w}=y;if(w.windowOpen)window.open(w.windowOpen);else{e({path:String(c),query:T});const{sameLevel:b}=w;if(l(y),Qt(y),!b)h(c,y),d(c),a.menuKey=c,a.currentMenuOption=y,It(J.appMenuKey,c);else{const E=Fe(u(y),xt);a.breadcrumbOptions.find(O=>O.key===E.key)||a.breadcrumbOptions.push({...E,fullPath:String(E.key)})}}},f=async(c,y)=>{const[T]=c.split("?"),w=n().find(b=>b.path===T);if(!((w==null?void 0:w.path)==="/"||!(w!=null&&w.path)||(w==null?void 0:w.path)==="/login")&&w){const b=Fe(w,xt);S(T,u({...b,fullPath:b.path}),y)}},m=()=>new Promise(c=>{const y=(T,w)=>{var E;const b=[];for(const k of T){let O=`${w.endsWith("/")?w:w+"/"}${k.path}`;if(O=O.replace(/\/+/g,"/"),(E=k.children)!=null&&E.length)k.children=y(k.children,O);else if(!$n(k.meta))continue;b.push(u({...k,fullPath:O}))}return b};if(a.options=y(Bn(),""),a.currentMenuOption){const{currentMenuOption:T}=a;a.breadcrumbOptions.length||d(T.key),h(T.fullPath,T),Qt(T)}c()}),_=c=>a.collapsed=c,g=(c,y=1)=>a.menuTagOptions.splice(c,y),v=async()=>{s.value&&(await m(),s.value=!1)};return Pe(()=>t.fullPath,async(c,y)=>{await v(),c!==y&&await f(c,t.query)},{immediate:!0}),{...Re(a),changeMenuModelValue:S,collapsedMenu:_,spliceMenTagOptions:g,setMenuTagOptions:p,resolveOption:u,updateMenuState:i,setupAppMenu:m}},{persist:{key:J.appPiniaMenuStore,storage:window.localStorage,pick:["breadcrumbOptions","menuKey","menuTagOptions","collapsed"]}}),Vn=st("signing",()=>{const e=le({signingCallback:{}}),n=l=>new Promise((a,s)=>{ln(l)?s({code:1,message:"登陆失败",data:null}):(e.signingCallback={role:"admin",name:l.name,avatar:"https://avatars.githubusercontent.com/u/51957438?v=4"},a({code:0,message:"登陆成功",data:e.signingCallback}))}),t=l=>{const{closeAll:a}=qn(),{appPiniaMenuStore:s,appPiniaSigningStore:i,token:u,signing:d,appMenuKey:p}=J;window.$message.info("账号退出中..."),_e("__all_sessionStorage__","sessionStorage"),_e(i,"localStorage"),_e(s,"localStorage"),_e(u,"localStorage"),_e(d,"localStorage"),_e(p,"localStorage"),a(),l&&(window.location.replace("#/"),setTimeout(()=>{window.location.reload()},0))},o=()=>{t(!0)};return{...Re(e),signing:n,logout:o,clearSigningCallback:t}},{persist:{key:J.appPiniaSigningStore,pick:["signingCallback"],storage:window.localStorage}}),Nn=st("keepAlive",()=>{const e=le({keepAliveInclude:[]}),n=()=>e.keepAliveInclude.length,t=l=>{const a=n(),{name:s,meta:{keepAlive:i}}=l,{maxKeepAliveLength:u}=Ae().keepAliveConfig;if(i){if(a=u&&(e.keepAliveInclude.splice(0,1),e.keepAliveInclude.push(s))}},o=()=>e.keepAliveInclude;return{...Re(e),setKeepAliveInclude:t,getKeepAliveInclude:o}},{persist:{key:J.appPiniaKeepAliveStore,storage:window.sessionStorage,pick:["keepAliveInclude"]}}),be=()=>{const e=Dt(),n=C(()=>e.options),t=C(()=>e.breadcrumbOptions),o=C(()=>e.menuKey),l=C(()=>{const{getRootPath:i}=Me();return e.menuTagOptions.map((u,d,p)=>(u.key===o.value&&u.key!==i.value?u.closeable=!0:u.closeable=!1,u.key===i.value&&(u.closeable=!1),p.length<=1&&(u.closeable=!1),u))}),a=C(()=>e.currentMenuOption),s=C(()=>e.collapsed);return{getMenuOptions:n,getBreadcrumbOptions:t,getMenuKey:o,getMenuTagOptions:l,getCurrentMenuOption:a,getCollapsed:s}},ze=()=>{const{changeMenuModelValue:e,collapsedMenu:n,spliceMenTagOptions:t,setMenuTagOptions:o,resolveOption:l,updateMenuState:a,setupAppMenu:s}=Dt();return{changeMenuModelValue:e,collapsedMenu:n,spliceMenTagOptions:t,setMenuTagOptions:o,resolveOption:l,updateMenuState:a,setupAppMenu:s}},W=()=>{const e=Ae(),n=C(()=>e.drawerPlacement),t=C(()=>e.primaryColorOverride),o=C(()=>e._appTheme),l=C(()=>e.appTheme),a=C(()=>e.menuTagSwitch),s=C(()=>e.breadcrumbSwitch),i=C(()=>e.localeLanguage),u=C(()=>e.lockScreenSwitch),d=C(()=>e.copyrightSwitch),p=C(()=>e.contentTransition),h=C(()=>e.watermarkSwitch),S=C(()=>e.watermarkConfig),f=C(()=>e.appRootRoute),m=C(()=>e.sideBarLogo),_=C(()=>e.keepAliveConfig),g=C(()=>e.menuConfig),v=C(()=>e.colorWeakness),c=C(()=>e.dynamicDocumentTitle);return{getDrawerPlacement:n,getPrimaryColorOverride:t,getAppTheme:o,getMenuTagSwitch:a,getBreadcrumbSwitch:s,getLocaleLanguage:i,getLockScreenSwitch:u,getCopyrightSwitch:d,getContentTransition:p,getWatermarkSwitch:h,getWatermarkConfig:S,getAppRootRoute:f,getSideBarLogo:m,getKeepAliveConfig:_,getMenuConfig:g,getAppThemeStr:l,getColorWeakness:v,getDynamicDocumentTitle:c}},U=()=>{const{updateLocale:e,changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}=Ae();return{updateLocale:e,changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}},Un=()=>{const e=Vn();return{getSigningCallback:C(()=>e.signingCallback)}},Er=()=>{const{signing:e,logout:n,clearSigningCallback:t}=Vn();return{signing:e,logout:n,clearSigningCallback:t}},zr=()=>{const e=Nn();return{getKeepAliveInclude:C(()=>e.keepAliveInclude)}},Mr=()=>{const{setKeepAliveInclude:e,getKeepAliveInclude:n}=Nn();return{setKeepAliveInclude:e,getKeepAliveInclude:n}},mi=e=>{const n=ta();e.use(n),n.use(ea)},$n=e=>{const{getSigningCallback:n}=Un(),{role:t}=e;return We!=null&&We.length&&We.includes(n.value.role)||!t||!(t!=null&&t.length)?!0:t?t.includes(n.value.role):!0},Ir=e=>{const{setupRouterLoadingBar:n,setupRouterGuard:t}=Ka;n&&Kl(e),t&&Ul(e)},Lr=M(),Dr=x({name:"SiderBarLogo",props:{collapsed:{type:Boolean,required:!0}},setup(){const e=it(),{getSideBarLogo:n}=W();return{sideBarLogo:n,sideBarLogoClick:()=>{n.value&&n.value.url&&(n.value.jumpType==="station"?e.push(n.value.url):window.open(n.value.url))},TemplateLogo:({cursor:l})=>{if(!n.value)return null;if(typeof n.value.icon=="string")return r(P,{name:n.value.icon,size:"30",cursor:l},null);if(me(n.value.icon,"Object"))return ye(n.value.icon)}}},render(){const{sideBarLogo:e,collapsed:n,TemplateLogo:t,sideBarLogoClick:o}=this;return e!=null&&e.title?r("div",{class:["ray-menu__logo",e!=null&&e.url?"ray-menu__logo-url":null],onClick:o.bind(this),ref:Lr},[e!=null&&e.icon?n?r(Je,{placement:"right"},{trigger:()=>t({cursor:"pointer"}),default:()=>e.title}):t({cursor:"pointer"}):n?r(Je,{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(ho,{class:[n?null:"ray-menu__logo-title--open","ray-menu__logo-title",'class="n-menu-item-content"'],type:"primary",size:18},{default:()=>[r(cn,null,{default:()=>[e.title]})]})]):null}}),Fr=x({name:"AppMenu",setup(){const e=M(null),{changeMenuModelValue:n,collapsedMenu:t,updateMenuState:o}=ze(),{getMenuConfig:l}=W(),{getMenuOptions:a,getCollapsed:s,getMenuKey:i}=be(),u=C({get:()=>(X().then(()=>{h()}),i.value),set:()=>{d.value&&ce("globalDrawerValue",!1)}}),{isTabletOrSmaller:d}=ct({observer:f=>{f&&o("collapsed",!1)}}),p=C({get:()=>ut("globalDrawerValue").value,set:f=>{ce("globalDrawerValue",f)}}),h=()=>{const f=u.value;f!=null&&X(()=>{var m,_;return(_=(m=e.value)==null?void 0:m.showOption)==null?void 0:_.call(m,f)})};return{isTabletOrSmaller:d,BasicMenu:()=>r(yo,{class:"app-menu__sider",showTrigger:!d.value,collapseMode:l.value.collapsedMode,collapsedWidth:l.value.collapsedWidth,onUpdateCollapsed:t.bind(this),width:l.value.menuWidth,nativeScrollbar:l.value.nativeScrollbar,ref:An,collapsed:s.value,onExpand:()=>{o("collapsed",!1)},onCollapse:()=>{o("collapsed",!0)},inverted:l.value.inverted},{default:()=>[l.value.menuSiderBarLogo?r(Dr,{collapsed:s.value},null):null,r(vo,{ref:e,class:"r-menu--app",keyField:"fullPath",value:u.value,"onUpdate:value":f=>u.value=f,options:a.value,indent:l.value.collapsedIndent,collapsed:s.value,collapsedIconSize:l.value.collapsedIconSize,collapsedWidth:l.value.collapsedWidth,onUpdateValue:(f,m)=>{n(f,m)},accordion:l.value.accordion,iconSize:l.value.iconSize,inverted:l.value.inverted},null)]}),modelGlobalDrawerValue:p}},render(){const{isTabletOrSmaller:e,BasicMenu:n}=this;return e?r(dn,{class:"app-menu__drawer",show:this.modelGlobalDrawerValue,"onUpdate:show":t=>this.modelGlobalDrawerValue=t,placement:"left",displayDirective:"show",autoFocus:!1},{default:()=>[r(n,null,null)]}):r(n,null,null)}});class Br{constructor(){Vt(this,"pendingRequest");this.pendingRequest=new Map}isAppending(n){var t;return((t=n.cancelConfig)==null?void 0:t.cancel)??!0}generateRequestKey(n){const{method:t,url:o}=n;return[o||"",t||"",JSON.stringify(n.params),JSON.stringify(n.data)].join("&")}addPendingRequest(n){var t;if(this.isAppending(n)){n.__CANCELER_TAG_RAY_TEMPLATE__="__CANCELER_TAG_RAY_TEMPLATE__";const o=this.generateRequestKey(n);if(this.pendingRequest.has(o))n.signal=(t=this.pendingRequest.get(o))==null?void 0:t.signal;else{const l=new AbortController;n.signal=l.signal,this.pendingRequest.set(o,l)}}}removePendingRequest(n){const t=this.generateRequestKey(n);this.pendingRequest.has(t)&&(this.pendingRequest.get(t).abort(),this.pendingRequest.delete(t))}cancelAllRequest(){this.pendingRequest.forEach(n=>{n.abort()})}}const yt={requestInstance:null,responseInstance:null},bt={implementRequestInterceptorArray:[],implementResponseInterceptorArray:[]},Ge={implementRequestInterceptorErrorArray:[],implementResponseInterceptorErrorArray:[]},jr=new Br,fi=()=>{const e=(i,u)=>{u==="requestInstance"?yt.requestInstance=i:yt.responseInstance=i},n=i=>yt[i],t=(i,u,d)=>{d==="ok"?bt[i]=u:Ge[i]=u},o=(i,u)=>u==="ok"?bt[i]:Ge[i],l=(i,...u)=>{Array.isArray(i)&&i.forEach(d=>{typeof d=="function"&&d(...u)})};return{createAxiosInstance:e,setImplement:t,getImplement:o,getAxiosInstance:n,beforeFetch:(i,u,d)=>{const p=d==="ok"?bt[u]:Ge[u],h=n(i),{MODE:S}=At();h&&l(p,h,S)},fetchError:(i,u,d)=>{const p=Ge[d],{MODE:h}=At();l(p,u,h)}}},Vr=x({name:"AppRequestCancelerProvider",setup(e,{expose:n}){ua(()=>{jr.cancelAllRequest()}),n()},render(){return r("div",{class:"app-style-provider"},null)}}),Kn=x({name:"LayoutContentWrapper",setup(){it();const{maximize:e}=Wn(),{getContentTransition:n}=W(),t=M(!1),o={opacitySpinning:"0"},{globalMainLayoutLoad:l,layoutContentMaximize:a,layoutContentSpinning:s}=qa();return{globalMainLayoutLoad:l,spinning:t,themeOverridesSpin:o,getContentTransition:n,layoutContentMaximize:a,maximize:e,layoutContentSpinning:s}},render(){const{globalMainLayoutLoad:e,layoutContentMaximize:n,layoutContentSpinning:t,maximize:o,spinning:l,themeOverridesSpin:a,getContentTransition:s}=this;return r(lt,{show:l||!e||t,description:"loading...",size:"large",themeOverrides:a,class:[n?"r-layout-full__viewer-content--maximize":null,"r-layout-full__viewer-content--maximize--light","r-layout-full__viewer-content--maximize--dark"]},{default:()=>[n?r("div",{class:"layout-content__maximize-out",onClick:()=>{o(!1)}},[r(P,{name:"out",size:"16",cursor:"pointer"},null)]):null,r(Vr,null,null),e?r(hr,{class:"content-wrapper",transitionPropName:s+"-transform"},null):null]})}}),Nr=Object.freeze(Object.defineProperty({__proto__:null,default:Kn},Symbol.toStringTag,{value:"Module"}));var Ur={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.3"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const $r=x({name:"LayoutFooterWrapper",setup(){const{layout:{copyright:e}}=Ur;return{copyright:e}},render(){return this.copyright?r("div",{class:"layout-footer-wrapper"},[this.copyright]):""}}),Kr=x({name:"TooltipIcon",props:{...bo,iconName:{type:String,required:!0},customClassName:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["click"],setup(e,{emit:n}){const t=l=>{n("click",l)};return{iconClick:t,Icon:()=>r(P,{name:e.iconName,size:"18",customClassName:`tooltip-text__icon ${e.customClassName}`,cursor:"pointer",onClick:t.bind(this)},null)}},render(){const{Icon:e}=this;return this.tooltipText?r(Je,this.$props,{trigger:()=>r(e,null,null),default:()=>this.tooltipText}):r(e,null,null)}}),Wr=x({name:"ThemeSegment",setup(){const{system:e}=gn(),{getAppThemeStr:n,getAppTheme:t}=W(),{updateSettingState:o}=U(),l=[{label:"深色",key:"dark",icon:()=>r(P,{name:"dark",size:"16"},null)},{label:"浅色",key:"light",icon:()=>r(P,{name:"light",size:"16"},null)},{label:"自动",key:"auto",icon:()=>r(P,{name:"system_os",size:"16"},null)}],a=C({get:()=>n.value==="auto"?"auto":t.value?"dark":"light",set:i=>{s(i,e.value)}}),s=(i,u)=>{if(i==="auto"){o("_appTheme",u==="dark"),o("appTheme","auto");return}o("_appTheme",i==="dark"),o("appTheme",i)};return fe(()=>{s(a.value,e.value)}),{options:l,modelAppTheme:a}},render(){const{options:e}=this;return r(Cr,{options:e,size:"small",width:"block",value:this.modelAppTheme,"onUpdate:value":n=>this.modelAppTheme=n},null)}}),qr={contentTransition:"scale",watermarkSwitch:!1,keepAliveConfig:{maxKeepAliveLength:10,setupKeepAlive:!0,keepAliveExclude:[]},menuConfig:{collapsedWidth:64,collapsedMode:"width",collapsedIconSize:16,collapsedIndent:24,accordion:!1,menuSiderBarLogo:!0,iconSize:16,menuWidth:272,inverted:!1,nativeScrollbar:!1},menuTagSwitch:!0,breadcrumbSwitch:!0,copyrightSwitch:!0,drawerPlacement:"right",colorWeakness:!1,watermarkConfig:{content:"Trying be better~",fontSize:16,lineHeight:16,width:384,height:384,xOffset:12,yOffset:60,rotate:-15,xGap:0,yGap:0,cross:!0},dynamicDocumentTitle:!0},Gr=()=>qr,Ue=Symbol("segmentDrawer"),Hr=x({name:"SegmentViewsAppearance",setup(){const e=xe(Ue,{}),{changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}=U();return{toggleColorWeakness:o,model:e,changePrimaryColor:n,updateSettingState:t}},render(){const{toggleColorWeakness:e,model:n,changePrimaryColor:t,updateSettingState:o}=this;return r(D,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(ne,null,{default:()=>[Y("系统主题")]}),r(Wr,null,null),r(ne,null,{default:()=>[Y("内置主题")]}),r(So,{showPreview:!0,swatches:ae.appThemeColors,value:n.primaryColorOverride.common.primaryColor,"onUpdate:value":l=>n.primaryColorOverride.common.primaryColor=l,onUpdateValue:t.bind(this)},null),r(ne,null,{default:()=>[Y("切换动画")]}),r($t,{value:n.contentTransition,"onUpdate:value":l=>n.contentTransition=l,options:ja,onUpdateValue:l=>{o("contentTransition",l)}},null),r(ne,null,{default:()=>[Y("配置入口出现位置")]}),r($t,{value:n.drawerPlacement,"onUpdate:value":l=>n.drawerPlacement=l,options:[{label:"右边",value:"right"},{label:"左边",value:"left"}],onUpdateValue:l=>{o("drawerPlacement",l)}},null),r(ne,null,{default:()=>[Y("其他设置")]}),r(de,{labelPlacement:"left",class:"setting-drawer__overrides-form",showFeedback:!1},{default:()=>[r(I,{label:"面包屑"},{default:()=>[r(Q,{value:n.breadcrumbSwitch,"onUpdate:value":l=>n.breadcrumbSwitch=l,onUpdateValue:l=>o("breadcrumbSwitch",l)},null)]}),r(I,{label:"标签页"},{default:()=>[r(Q,{value:n.menuTagSwitch,"onUpdate:value":l=>n.menuTagSwitch=l,onUpdateValue:l=>o("menuTagSwitch",l)},null)]}),r(I,{label:"页底信息"},{default:()=>[r(Q,{value:n.copyrightSwitch,"onUpdate:value":l=>n.copyrightSwitch=l,onUpdateValue:l=>o("copyrightSwitch",l)},null)]}),r(I,{label:"色弱模式"},{default:()=>[r(Q,{value:n.colorWeakness,"onUpdate:value":l=>n.colorWeakness=l,onUpdateValue:l=>{o("colorWeakness",l),e(l)}},null)]})]})]})}}),Yr=x({name:"SegmentViewsCommon",setup(){const e=xe(Ue,{}),{updateSettingState:n}=U();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(D,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(ne,null,{default:()=>[Y("基础设置")]}),r(de,{labelPlacement:"left",class:"setting-drawer__overrides-form",showFeedback:!1},{default:()=>[r(I,{label:"页面缓存"},{default:()=>[r(Q,{value:e.keepAliveConfig.setupKeepAlive,"onUpdate:value":t=>e.keepAliveConfig.setupKeepAlive=t,onUpdateValue:t=>n("keepAliveConfig",{setupKeepAlive:t})},null)]}),r(I,{label:"动态浏览器标题"},{default:()=>[r(Q,{value:e.dynamicDocumentTitle,"onUpdate:value":t=>e.dynamicDocumentTitle=t,onUpdateValue:t=>n("dynamicDocumentTitle",t)},null)]})]}),r(ne,null,{default:()=>[Y("缓存设置")]}),r(de,{labelPlacement:"top",showFeedback:!0,showRequireMark:!1,model:e.keepAliveConfig},{default:()=>[r(I,{label:"最大缓存数",feedback:C(()=>e.keepAliveConfig.maxKeepAliveLength<=0?"设置为【0】时,缓存将会失效":"").value},{default:()=>[r(K,{disabled:!e.keepAliveConfig.setupKeepAlive,value:e.keepAliveConfig.maxKeepAliveLength,"onUpdate:value":t=>e.keepAliveConfig.maxKeepAliveLength=t,min:0,precision:0,showButton:!1,onUpdateValue:t=>n("keepAliveConfig",{maxKeepAliveLength:t})},null)]}),r(I,{label:"排除缓存"},{default:()=>[r(_o,{type:"success",value:e.keepAliveConfig.keepAliveExclude,"onUpdate:value":t=>e.keepAliveConfig.keepAliveExclude=t},null)]})]})]})}}),Xr=x({name:"SegmentViewsWatermark",setup(){const e=xe(Ue,{}),{updateSettingState:n}=U();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(D,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(ne,null,{default:()=>[Y("基础设置")]}),r(de,{showFeedback:!1,showRequireMark:!1,class:"setting-drawer__overrides-form",labelPlacement:"left"},{default:()=>[r(I,{label:"全屏水印"},{default:()=>[r(Q,{value:e.watermarkSwitch,"onUpdate:value":t=>e.watermarkSwitch=t,onUpdateValue:t=>n("watermarkSwitch",t)},null)]}),r(I,{label:"跨边界显示"},{default:()=>[r(Q,{value:e.watermarkConfig.cross,"onUpdate:value":t=>e.watermarkConfig.cross=t,onUpdateValue:t=>n("watermarkConfig",{cross:t})},null)]})]}),r(ne,null,{default:()=>[Y("个性化水印")]}),r(de,{showFeedback:!0,showRequireMark:!1,class:"setting-drawer__overrides-form"},{default:()=>[r(I,{label:"水印内容"},{default:()=>[r(pn,{value:e.watermarkConfig.content,"onUpdate:value":t=>e.watermarkConfig.content=t,onUpdateValue:t=>n("watermarkConfig",{content:t})},null)]}),r(I,{label:"字体尺寸"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.fontSize,"onUpdate:value":t=>e.watermarkConfig.fontSize=t,onUpdateValue:t=>n("watermarkConfig",{fontSize:t})},null)]}),r(I,{label:"字体行高"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.lineHeight,"onUpdate:value":t=>e.watermarkConfig.lineHeight=t,onUpdateValue:t=>n("watermarkConfig",{lineHeight:t})},null)]}),r(I,{label:"字体宽度"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.width,"onUpdate:value":t=>e.watermarkConfig.width=t,onUpdateValue:t=>n("watermarkConfig",{width:t})},null)]}),r(I,{label:"字体高度"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.height,"onUpdate:value":t=>e.watermarkConfig.height=t,onUpdateValue:t=>n("watermarkConfig",{height:t})},null)]}),r(I,{label:"x轴偏移"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.xOffset,"onUpdate:value":t=>e.watermarkConfig.xOffset=t,onUpdateValue:t=>n("watermarkConfig",{xOffset:t})},null)]}),r(I,{label:"x轴间隙"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.xGap,"onUpdate:value":t=>e.watermarkConfig.xGap=t,onUpdateValue:t=>n("watermarkConfig",{xGap:t})},null)]}),r(I,{label:"y轴偏移"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.yOffset,"onUpdate:value":t=>e.watermarkConfig.yOffset=t,onUpdateValue:t=>n("watermarkConfig",{yOffset:t})},null)]}),r(I,{label:"y轴间隙"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.yGap,"onUpdate:value":t=>e.watermarkConfig.yGap=t,onUpdateValue:t=>n("watermarkConfig",{yGap:t})},null)]}),r(I,{label:"旋转角度"},{default:()=>[r(K,{precision:0,showButton:!1,value:e.watermarkConfig.rotate,"onUpdate:value":t=>e.watermarkConfig.rotate=t,onUpdateValue:t=>n("watermarkConfig",{rotate:t})},null)]})]})]})}}),Jr=x({name:"SegmentViewsCustomMenu",setup(){const e=xe(Ue,{}),{updateSettingState:n}=U();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(D,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(ne,{titlePlacement:"center"},{default:()=>[r(D,{wrap:!1,align:"center",size:[4,0]},{default:()=>[r(Je,{placement:"top",showArrow:!1},{trigger:()=>r(P,{name:"question",size:"16"},null),default:()=>"菜单更新是一个复杂、耗时的操作,请手动点击【更新菜单】按钮更新设置"}),r(mn,null,{default:()=>[Y("菜单样式")]})]})]}),r(de,{showFeedback:!0,showRequireMark:!1,class:"setting-drawer__overrides-form"},{default:()=>[r(I,{label:"每级菜单缩进"},{default:()=>[r(K,{value:e.menuConfig.collapsedIndent,"onUpdate:value":t=>e.menuConfig.collapsedIndent=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedIndent:t})},null)]}),r(I,{label:"菜单图标尺寸"},{default:()=>[r(K,{value:e.menuConfig.iconSize,"onUpdate:value":t=>e.menuConfig.iconSize=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{iconSize:t})},null)]}),r(I,{label:"折叠菜单图标尺寸"},{default:()=>[r(K,{value:e.menuConfig.collapsedIconSize,"onUpdate:value":t=>e.menuConfig.collapsedIconSize=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedIconSize:t})},null)]}),r(I,{label:"菜单宽度"},{default:()=>[r(K,{value:e.menuConfig.menuWidth,"onUpdate:value":t=>e.menuConfig.menuWidth=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{menuWidth:t})},null)]}),r(I,{label:"折叠菜单宽度"},{default:()=>[r(K,{value:e.menuConfig.collapsedWidth,"onUpdate:value":t=>e.menuConfig.collapsedWidth=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedWidth:t})},null)]}),r(I,{showFeedback:!1,showLabel:!1},{default:()=>[r(Z,{onClick:e.throttleSetupAppMenu,block:!0,type:"primary"},{default:()=>[Y("更新菜单")]})]})]}),r(ne,null,{default:()=>[Y("其他设置")]}),r(de,{showFeedback:!1,showRequireMark:!1,class:"setting-drawer__overrides-form",labelPlacement:"left"},{default:()=>[r(I,{label:"反转色菜单"},{default:()=>[r(Q,{value:e.menuConfig.inverted,"onUpdate:value":t=>e.menuConfig.inverted=t,onUpdateValue:t=>n("menuConfig",{inverted:t})},null)]}),r(I,{label:"菜单标题"},{default:()=>[r(Q,{value:e.menuConfig.menuSiderBarLogo,"onUpdate:value":t=>e.menuConfig.menuSiderBarLogo=t,onUpdateValue:t=>n("menuConfig",{menuSiderBarLogo:t})},null)]}),r(I,{label:"手风琴菜单"},{default:()=>[r(Q,{value:e.menuConfig.accordion,"onUpdate:value":t=>e.menuConfig.accordion=t,onUpdateValue:t=>n("menuConfig",{accordion:t})},null)]}),r(I,{label:"原生滚动条"},{default:()=>[r(Q,{value:e.menuConfig.nativeScrollbar,"onUpdate:value":t=>e.menuConfig.nativeScrollbar=t,onUpdateValue:t=>n("menuConfig",{nativeScrollbar:t})},null)]})]})]})}}),Zr=x({name:"SettingDrawer",props:wo,setup(){const{create:e}=tr(),{changePrimaryColor:n,updateSettingState:t}=U(),{getAppTheme:o,getPrimaryColorOverride:l,getMenuTagSwitch:a,getBreadcrumbSwitch:s,getCopyrightSwitch:i,getContentTransition:u,getWatermarkSwitch:d,getKeepAliveConfig:p,getMenuConfig:h,getDrawerPlacement:S,getColorWeakness:f,getWatermarkConfig:m,getDynamicDocumentTitle:_}=W(),{setupAppMenu:g}=ze(),v=Et(g,300),c=le({menuTagSwitch:a.value,breadcrumbSwitch:s.value,copyrightSwitch:i.value,contentTransition:u.value,watermarkSwitch:d.value,keepAliveConfig:p.value,menuConfig:h.value,drawerPlacement:S.value,colorWeakness:f.value,primaryColorOverride:l.value,watermarkConfig:m.value,dynamicDocumentTitle:_.value,throttleSetupAppMenu:v}),y=()=>{e({preset:"dialog",title:"恢复默认配置",type:"warning",content:"点击【确认初始化】按钮会恢复默认系统配置,是否继续?",positiveText:"确认初始化",negativeText:"取消",onPositiveClick:()=>{to(Gr(),(T,w)=>{c[w]=T,t(w,T)}),v()}})};return yn(Ue,c),{changePrimaryColor:n,getAppTheme:o,getPrimaryColorOverride:l,updateSettingState:t,modelReactive:c,defaultSettingBtnClick:y}},render(){const{defaultSettingBtnClick:e,$props:n}=this,{trapFocus:t,autoFocus:o,nativeScrollbar:l,...a}=n;return r(dn,V(a,{trapFocus:!1,autoFocus:!1,width:320}),{default:()=>[r(Co,{title:"个性化配置",closable:!0},{default:()=>r(un,{type:"bar",animated:!0,defaultValue:"appearance"},{default:()=>[r(Ke,{name:"appearance",tab:"外观"},{default:()=>[r(Hr,null,null)]}),r(Ke,{name:"menu",tab:"菜单"},{default:()=>[r(Jr,null,null)]}),r(Ke,{name:"watermark",tab:"水印"},{default:()=>[r(Xr,null,null)]}),r(Ke,{name:"common",tab:"通用"},{default:()=>[r(Yr,null,null)]})]}),footer:()=>r(D,{justify:"flex-start"},{default:()=>[r(Z,{type:"warning",onClick:e},{icon:()=>r(P,{name:"reload"},null),default:()=>"初始化配置"})]})})]})}});function Qr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const es=x({name:"SiderBarBreadcrumb",setup(){const{changeMenuModelValue:e}=ze(),{getBreadcrumbOptions:n}=be(),{isTabletOrSmaller:t}=ct();return{getBreadcrumbOptions:n,dropdownSelect:(a,s)=>{e(a,s)},breadcrumbItemClick:a=>{var s;if(!((s=a.children)!=null&&s.length)){const{meta:i={}}=a;i.sameLevel||e(a.fullPath,a)}},isTabletOrSmaller:t}},render(){let e;const{isTabletOrSmaller:n,getBreadcrumbOptions:t}=this,{dropdownSelect:o,breadcrumbItemClick:l}=this;return n?r("div",{style:"display: none;"},null):r(Oo,null,{default:()=>[r(Ia,{tag:"li",name:"breadcrumb",appear:!0},Qr(e=t.map(a=>r(To,{key:a.fullPath,onClick:l.bind(this,a)},{default:()=>{var s;return[r(ke,{labelField:"breadcrumbLabel",keyField:"fullPath",options:a.children&&((s=a.children)==null?void 0:s.length)>1?a.children:[],onSelect:o.bind(this)},{default:()=>r("span",null,[a.label&&typeof a.label=="function"?a.label():a.breadcrumbLabel])})]}})))?e:{default:()=>[e]})]})}});function St(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const ts=x({name:"GlobalSearch",props:{show:{type:Boolean,default:!1}},emits:["update:show"],setup(e,{emit:n}){const{changeMenuModelValue:t,resolveOption:o}=ze(),{getRoutes:l}=it(),a=C({get:()=>e.show,set:b=>{n("update:show",b),b||f()}}),s=le({searchValue:null,searchOptions:[]}),i=[{icon:["↑","↓"],label:"切换",plain:!0},{icon:["↵"],label:"选择",plain:!0},{icon:["esc"],label:"关闭",plain:!0}];let u=0,d=u;const{isTabletOrSmaller:p}=ct(),h=M(!1),S="content-item--active",f=()=>{s.searchOptions=[],s.searchValue=null,u=0,d=u},m=b=>{a.value||(b.ctrlKey||b.metaKey)&&b.key==="k"&&(b.preventDefault(),b.stopPropagation(),f(),a.value=!0)},_=b=>{if(b)h.value=!0;else{h.value=!1,s.searchOptions=[];return}const E=l().reduce((k,O)=>{var $;const R=Fe(O,["children","meta","path","name"]),F=o({...R,fullPath:O.path}),{breadcrumbLabel:q}=F;return($=q==null?void 0:q.toLocaleLowerCase())!=null&&$.includes(b.toLocaleLowerCase())&&Pn(F)&&k.push(F),k},[]);setTimeout(()=>{s.searchOptions=E,X().then(()=>{v()}),h.value=!1},500)},g=b=>{if(b){const{meta:E}=b;E.windowOpen?window.open(E.windowOpen):(a.value=!1,t(b.fullPath,b),setTimeout(Yo,300))}},v=()=>{const b=s.searchOptions[u],E=s.searchOptions[d];b&&X().then(()=>{const k=et(`attr:data_path="${b.path}"`),O=E?et(`attr:data_path="${E==null?void 0:E.path}"`):null;if(O!=null&&O.length){const[R]=O;Xo(R,S)}if(k!=null&&k.length){const[R]=k;Tn(R,S)}})},c=b=>{const{icon:E}=b;return typeof E=="string"?r(P,{name:E,size:"24"},null):typeof E=="function"?()=>E:r(P,{name:"search",size:"24"},null)},y=b=>{b==="up"&&(u-=1,u<0&&(u=s.searchOptions.length-1)),b==="down"&&(u+=1,u>=s.searchOptions.length&&(u=0))},T=b=>{const E=b.key;switch((E==="ArrowUp"||E==="ArrowDown"||E==="Enter")&&(b.preventDefault(),b.stopPropagation()),d=u<=0?0:u,E){case"ArrowUp":y("up");break;case"ArrowDown":y("down");break;case"Enter":const k=s.searchOptions[u];k&&g(k);break}v()},w=({menuOption:b})=>r(D,V({align:"center",class:"content-item"},{onClick:g.bind(this,b),data_path:b.path}),{default:()=>[r("div",{class:"content-item-icon"},[c(b.meta)]),r("div",{class:"content-item-label"},[b.breadcrumbLabel]),r(P,{name:"enter",size:"18",customClassName:"content-item-icon__enter"},null)]});return fe(()=>{p.value&&(a.value=!1)}),je(window,"keydown",b=>{m(b),T(b)},!0),{...Re(s),modelShow:a,helperTipOptions:i,fuzzySearchMenuOptions:Et(_,300),searchItemClick:g,RenderPreIcon:c,isTabletOrSmaller:p,SearchItem:w,loading:h}},render(){const{isTabletOrSmaller:e,searchOptions:n,loading:t}=this,{SearchItem:o,fuzzySearchMenuOptions:l}=this;return e?r("div",{style:"display: none;"},null):r(rn,{show:this.modelShow,"onUpdate:show":a=>this.modelShow=a,transformOrigin:"center",displayDirective:"if"},{default:()=>[r("div",{class:"global-search global-search--dark global-search--light"},[r("div",{class:"global-search__wrapper"},[r(at,{class:"global-search__card",headerStyle:{padding:"12px 12px 0 12px"},contentStyle:{padding:"12px"},segmented:{action:"soft"}},{header:()=>r(pn,{size:"large",value:this.searchValue,"onUpdate:value":a=>this.searchValue=a,clearable:!0,onInput:l.bind(this)},{prefix:()=>r(P,{name:"search",size:"24"},null)}),default:()=>{let a;return r(zt,null,{default:()=>[r(lt,{show:t},{default:()=>[n.length?r(D,{vertical:!0,size:[0,6],class:"global-search__card-content"},St(a=n.map((s,i)=>r(o,{menuOption:s,key:s.fullPath},null)))?a:{default:()=>[a]}):r(ko,{size:"large",class:"global-search__empty"},{icon:()=>null,default:()=>r(D,{justify:"center",class:"global-search__empty-content"},{default:()=>[r(mn,null,{default:()=>[Y("没有搜索结果")]})]})})]})]})},action:()=>{let a;return r(D,{justify:"flex-start",align:"center",size:[16,0]},St(a=this.helperTipOptions.map(s=>r(D,{key:s.label,size:[4,0]},{default:()=>[s.icon.map(i=>r(D,{class:"item-icon",align:"center",justify:"center"},St(i)?i:{default:()=>[i]})),r(D,{class:"item-label",align:"center"},{default:()=>[s.label]})]})))?a:{default:()=>[a]})}})])])]})}}),ns=x({name:"GlobalSearchButton",props:{onClick:{type:[Function,Array],default:null}},setup(e){return{getShortcutKeyAboutSystem:()=>{const o=Jo();return o==="MacOS"?"⌘ + K":"CTRL + K"},click:o=>{const{onClick:l}=e;l&&B(l,o)}}},render(){const{getShortcutKeyAboutSystem:e,click:n,$t:t}=this;return r(Z,{bordered:!1,onClick:n.bind(this),round:!0,tertiary:!0,style:"margin-right: 16px"},{icon:()=>r(P,{name:"search",size:"16"},null),default:()=>r(D,{align:"center"},{default:()=>[t("headerTooltip.Search"),r("div",{class:"global-search-btn__label"},[e()])]})})}}),os=x({name:"AppAvatar",props:{...Ao,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}=Un();return{getSigningCallback:e}},render(){const{getSigningCallback:e,avatarSize:n,spaceSize:t,$props:o,vertical:l}=this;return r(Z,{quaternary:!0,strong:!0,focusable:!1},{default:()=>[r(D,{align:"center",size:t,vertical:l},{default:()=>[r(Ro,V(o,{src:e==null?void 0:e.avatar,objectFit:"cover",round:!0,size:n}),null),e==null?void 0:e.name]})]})}}),as=()=>[{key:"person",label:"个人信息"},{key:"lockScreen",label:"锁定屏幕"},{type:"divider",key:"d1"},{key:"logout",label:"退出登陆"}],ls={logout:()=>{const{logout:e}=Er();window.$dialog.warning({title:"提示",content:"您确定要退出登录吗",positiveText:"确定",negativeText:"不确定",onPositiveClick:()=>{e()}})},lockScreen:()=>{const{updateSettingState:e}=U();e("lockScreenSwitch",!0)}},rs=e=>{const n=ls[e];n?n():window.$message.info("这个人很懒, 没做这个功能~")},ss=e=>{const{isTabletOrSmaller:n}=e,t=[],o=[{name:"menu",size:18,eventKey:"menu"}];return n.value?o:t},is=e=>{const{isTabletOrSmaller:n}=e,t=[{name:"fullscreen",size:18,eventKey:"screen"},{name:"github",size:18,eventKey:"github"},{name:"setting",size:18,eventKey:"setting"}],o=[...t],l=[...t];return n.value?l:o},us=x({name:"AppSiderBar",setup(){const{updateLocale:e,updateSettingState:n}=U(),{t}=Ne(),[o,{toggleFullscreen:l,isEnabled:a}]=Sn(document.getElementsByTagName("html")[0]),{getDrawerPlacement:s,getBreadcrumbSwitch:i}=W(),u=M(!1),d=M(!1),{isTabletOrSmaller:p}=ct(),h=ut("globalDrawerValue"),S=C(()=>ss({isFullscreen:o,isTabletOrSmaller:p})),f=C(()=>is({isFullscreen:o,isTabletOrSmaller:p})),m={search:()=>{d.value=!0},setting:()=>{u.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},fullscreen:()=>{a||window.$message.warning(t("globalMessage.isEnabledFullscreen")),l()},lock:()=>{n("lockScreenSwitch",!0)},menu:()=>{ce("globalDrawerValue",!h.value)}};return{leftIconOptions:S,rightTooltipIconOptions:f,toolIconClick:v=>{var c;(c=m[v])==null||c.call(m)},showSettings:u,updateLocale:e,getDrawerPlacement:s,getBreadcrumbSwitch:i,globalSearchShown:d,isRenderVNode:v=>p.value?null:v}},render(){const{rightTooltipIconOptions:e,leftIconOptions:n,getDrawerPlacement:t,getBreadcrumbSwitch:o}=this,{toolIconClick:l,updateLocale:a,isRenderVNode:s}=this;return r(fn,{class:"layout-header"},{default:()=>[r(ts,{show:this.globalSearchShown,"onUpdate:show":i=>this.globalSearchShown=i},null),r(D,{class:"layout-header__method",align:"center",justify:"space-between",wrap:!1},{default:()=>[r(D,{align:"center",wrap:!1},{default:()=>[n.map(i=>r(Kr,{key:i.name,iconName:i.name,tooltipText:hn(i.tooltip)?i.tooltip.value:i.tooltip,customClassName:i.iconClass,onClick:l.bind(this,i.name)},null)),o?r(es,null,null):null]}),r(D,{justify:"end",align:"center",size:[0,0],wrap:!1},{default:()=>[s(r(ns,{onClick:i=>{i.stopPropagation(),this.globalSearchShown=!0}},null)),e.map(i=>r(Z,{class:"override-button__layout",quaternary:!0,size:"medium",key:i.name,onClick:l.bind(this,i.name),focusable:!1},{default:()=>[r(P,{name:i.name,size:16,cursor:"pointer"},null)]})),r(ke,{options:kn,onSelect:i=>a(String(i)),trigger:"click"},{default:()=>[r(Z,{quaternary:!0,class:"override-button__layout",focusable:!1},{default:()=>[r(P,{customClassName:"layout-header__method--icon",name:"language",size:"16",cursor:"pointer"},null)]})]}),r(ke,{options:as(),onSelect:rs.bind(this),trigger:"click"},{default:()=>[r(os,{avatarSize:24,spaceSize:[8,0],class:"override-button__layout"},null)]})]})]}),r(Zr,{show:this.showSettings,"onUpdate:show":i=>this.showSettings=i,placement:t},null)]})}}),cs=x({name:"LayoutHeaderWrapper",setup(){return{}},render(){return r(D,{size:[0,0]},{default:()=>[r(us,null,null)]})}});function ds(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ge(e)}const ps=x({name:"AppMenuTag",setup(e,{expose:n}){const t=pe("scrollRef"),{getMenuKey:o,getMenuTagOptions:l}=be(),{changeMenuModelValue:a}=ze(),{getRootPath:s}=Me(),{maximize:i}=Wn(),{reload:u}=ws(),{close:d,closeAll:p,closeRight:h,closeLeft:S,closeOther:f,checkCloseLeft:m,checkCloseRight:_}=qn(),g=["closeAll","closeRight","closeLeft","closeOther"];let v=1/0;const c={size:16},y=M([{label:"关闭当前页面",key:"closeCurrentPage",icon:()=>r(P,{name:"close",size:c.size},null)},{label:"最大化当前页面",key:"maximizeLayoutContent",icon:()=>r(P,{name:"fullscreen_fold",size:c.size},null)},{label:"刷新当前页面",key:"reloadCurrentPage",icon:()=>r(P,{name:"reload",size:c.size},null)},{label:"新窗口打开",key:"windowOpenTab",icon:()=>r(P,{name:"shared",size:c.size},null)},{type:"divider",key:"d1"},{label:"关闭左侧标签页",key:"closeLeft",icon:()=>r(P,{name:"close_left",size:c.size},null)},{label:"关闭右侧标签页",key:"closeRight",icon:()=>r(P,{name:"close_right",size:c.size},null)},{type:"divider",key:"d1"},{label:"关闭其他标签页",key:"closeOther",icon:()=>r(P,{name:"close_other",size:c.size},null)},{label:"关闭所有标签页",key:"closeAll",icon:()=>r(P,{name:"resize_h",size:c.size},null),disabled:!1}]),T=Qe(16),w={closeCurrentPage:()=>{o.value!==s.value&&d(v)},reloadCurrentPage:()=>{u()},closeAll:()=>{p()},closeRight:()=>{h(v)},closeLeft:()=>{S(v)},closeOther:()=>{f(v)},windowOpenTab:()=>{const A=l.value[v];if(!(A!=null&&A.fullPath))return;const z=A.fullPath.startsWith("#")?A.fullPath:`#${A.fullPath}`;window.open(z,"_blank")},maximizeLayoutContent:()=>{const A=l.value[v];i(!0),A&&ee(A)}},b=le({x:0,y:0,actionDropdownShow:!1}),E="menu_tag_data",k=ut("globalMainLayoutLoad"),O="n-scrollbar-container";let R=o.value;const F=M(!1),q=A=>{d(A)},$=(A,z)=>{for(const H of y.value)if(H.key===A){H.disabled=z;break}},ee=A=>{b.actionDropdownShow=!1,a(A.fullPath,A)},G=()=>{const A=document.getElementById(T);if(A)return Array.from(A.childNodes).find($e=>Zo($e,O).value)},he=A=>{var H;const z=G();if(z){const $e=z.scrollLeft||0,jt=A==="left"?Math.max(0,$e-200):$e+200;(H=t.value)==null||H.scrollTo({left:jt,behavior:"smooth"})}},te=A=>{b.actionDropdownShow=!1;const z=w[A];z==null||z()},dt=(A,z)=>{z.preventDefault(),v=A,b.actionDropdownShow=!1,X(()=>{b.x=z.clientX,b.y=z.clientY,b.actionDropdownShow=!0})},Bt=()=>{_(v)?$("closeRight",!1):$("closeRight",!0),m(v)?$("closeLeft",!1):$("closeLeft",!0)},Hn=()=>{v=l.value.findIndex(z=>z.fullPath===o.value),Bt()},Yn=A=>{l.value.length>1&&A.fullPath!==s.value&&(A.closeable=!0),F.value=!0},Xn=A=>{A.fullPath!==o.value&&(A.closeable=!1),F.value=!1},Jn=()=>{G()&&X().then(()=>{var z;(z=t.value)==null||z.scrollTo({left:99999,behavior:"smooth"})})},pt=()=>{X().then(()=>{const A=et(`attr:${E}="${o.value}"`);if(A!=null&&A.length){const[z]=A;X().then(()=>{var H;(H=t.value)==null||H.scrollTo({left:z.offsetLeft,behavior:"smooth"})})}})},Zn=()=>{i(!0)};return Pe(()=>l.value,(A,z)=>{y.value.forEach(H=>{g.includes(H.key)&&(A.length>1?H.disabled=!1:H.disabled=!0)}),z!=null&&z.length&&(A.length>(z==null?void 0:z.length)?Jn():A.length===(z==null?void 0:z.length)&&pt()),z===void 0&&pt()},{immediate:!0}),fe(()=>{b.actionDropdownShow&&Bt(),R!==o.value&&(R=o.value,pt())}),n(),{getMenuTagOptions:l,closeCurrentMenuTag:q,getMenuKey:o,menuTagClick:ee,moreOptions:y,scrollX:he,scrollRef:t,uuidScrollBar:T,actionDropdownSelect:te,actionState:b,menuTagContextMenu:dt,setCurrentContextmenuIndex:Hn,menuTagMouseenter:Yn,menuTagMouseleave:Xn,MENU_TAG_DATA:E,iconConfig:c,maximize:i,reload:u,globalMainLayoutLoad:k,maximizeBtnClick:Zn,isMouseInMenuTag:F}},render(){let e;const{iconConfig:n,uuidScrollBar:t,getMenuTagOptions:o,MENU_TAG_DATA:l,globalMainLayoutLoad:a,isMouseInMenuTag:s}=this,{maximizeBtnClick:i,closeCurrentMenuTag:u,scrollX:d,$t:p,menuTagClick:h,menuTagContextMenu:S,menuTagMouseenter:f,menuTagMouseleave:m,actionDropdownSelect:_,reload:g}=this;return r(fn,null,{default:()=>[r("div",{class:"menu-tag"},[r(ke,{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:_.bind(this),onClickoutside:()=>{s||(this.actionState.actionDropdownShow=!1)}},null),r(D,{class:"menu-tag-space",wrap:!1,align:"center",justify:"space-between",inline:!0},{default:()=>[r(Z,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:this.scrollX.bind(this,"left")},{icon:()=>r(P,{name:"expanded",width:n.size,height:n.size,customClassName:"menu-tag__left-arrow"},null)}),r(zt,V({xScrollable:!0,ref:"scrollRef"},{id:t},{themeOverrides:{width:"0px",height:"0px"}}),{default:()=>[r(D,{class:"menu-tag-wrapper",wrap:!1,align:"center",justify:"start"},ds(e=o.map((v,c)=>r(Z,V({key:v.fullPath,class:["menu-tag__btn"],strong:!0,secondary:!0,type:v.fullPath===this.getMenuKey?"primary":"default"},{onClick:h.bind(this,v),onContextmenu:S.bind(this,c),onMouseenter:f.bind(this,v),onMouseleave:m.bind(this,v),[l]:v.fullPath},{size:"small",focusable:!1}),{default:()=>r(bn,null,[r("span",null,{default:()=>{const{breadcrumbLabel:y,meta:{i18nKey:T}}=v;return T?p(T):y}}),r(Po,V({class:"menu-tag__btn-icon"},{onMousedown:u.bind(this,c)}),{default:()=>[r(P,{name:"close",size:"14"},null)]})])})))?e:{default:()=>[e]})]}),r(D,{align:"center",inline:!0,wrap:!1,size:[0,0]},{default:()=>[r(Z,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:d.bind(this,"right")},{icon:()=>r(P,{name:"expanded",width:n.size,height:n.size,style:{transform:"rotate(180deg)"}},null)}),r(Z,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:i},{icon:()=>r(P,{name:"fullscreen_fold",width:n.size,height:n.size},null)}),r(Z,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:()=>{g()}},{icon:()=>r(P,{name:"reload",width:n.size,height:n.size,customClassName:`${a?"":"menu-tag__right-setting--spinning"}`},null)}),r(In,{class:"menu-tag__dropdown",options:this.moreOptions,trigger:"click",onSelect:this.actionDropdownSelect.bind(this),iconSize:18,keyboard:!1},{default:()=>[r(Z,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:this.setCurrentContextmenuIndex.bind(this)},{icon:()=>r(P,{name:"more",width:n.size,height:n.size},null)})]})]})]})])]})}}),ms=x({name:"LayoutFeatureWrapper",setup(){return{}},render(){return r(ps,null,null)}}),fs=e=>{const n=ft(e[0]),t=ft(e[1]),o=ft(e[2]),{height:l,width:a}=Mt();return C(()=>({"--window-width":`${a.value}px`,"--window-height":`${l.value}px`,"--layout-content-height":`calc(${l.value}px - ${n.height.value}px - ${t.height.value}px - ${o.height.value}px)`,"--layout-content-width":`${n.width.value}px`,"--layout-siderbar-height":`${n.height.value}px`,"--layout-menutag-height":`${t.height.value}px`,"--layout-footer-height":`${o.height.value}px`}))},tn=Io(J.isAppLockScreen,!1,sessionStorage,{mergeDefaults:!0}),gs=()=>({setLockAppScreen:t=>{tn.value=t},getLockAppScreen:()=>tn.value}),hs=x({name:"RLayout",setup(){const e=M(),n=M(),t=M(),{getMenuTagSwitch:o,getCopyrightSwitch:l}=W(),{getLockAppScreen:a}=gs(),s=fs([e,n,t]);return{getMenuTagSwitch:o,cssVarsRef:s,getLockAppScreen:a,layoutSiderBarRef:e,layoutMenuTagRef:n,layoutFooterRef:t,getCopyrightSwitch:l}},render(){const{getMenuTagSwitch:e,cssVarsRef:n,getCopyrightSwitch:t}=this,{getLockAppScreen:o}=this;return o()?null:r(xo,{class:"r-layout-full",style:[n],hasSider:!0,embedded:!0},{default:()=>[r(Fr,null,null),r(Kt,{class:"r-layout-full__viewer"},{default:()=>[r(cs,{ref:"layoutSiderBarRef"},null),e?r(ms,{ref:"layoutMenuTagRef"},null):null,r(Kt,{ref:Ce,class:["r-layout-full__viewer-content"],nativeScrollbar:!1},{default:()=>[r(Kn,null,null)]}),t?r($r,{ref:"layoutFooterRef"},null):null]})]})}}),vs=[{path:"/",name:"RLogin",component:()=>L(()=>import("./index-BVKRM6-W.js"),__vite__mapDeps([87,1,2,3,4,5,6,7,8,9,10,11,39,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,40,41,42,43,44,45,46,47,88]))},{path:"/",name:"RLayout",component:hs,children:[...xr(),{path:"/:catchAll(.*)",component:()=>L(()=>import("./index-D1ThNEs9.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:j("menu.Error"),icon:"error",hidden:!0,sameLevel:!0}}]}],nt=ca({history:da(),routes:vs,scrollBehavior:e=>{$l(e)}}),gi=e=>{e.use(nt),Ir(nt)},Ft=()=>nt?{router:nt}:{router:{}},nn="YYYY-MM-DD HH:mm:ss",ys=()=>({locale:s=>{const i=Ua[s];i?se.locale(i):se.locale($a)},getStartAndEndOfDay:s=>{const{format:i=nn}=s??{},u=se(),d=u.startOf("day"),p=u.endOf("day"),h=u.format(i),S=d.format(i),f=p.format(i);return{today:u,startOfDay:d,endOfDay:p,formatToday:h,formatStartOfDay:S,formatEndOfDay:f}},format:(s,i)=>{const{format:u=nn}=i??{};return se(s).format(u)},isDayjs:s=>se.isDayjs(s),daysDiff:(s,i)=>{const u=se(s);return se(i).diff(u,"days")},isDateInRange:(s,i)=>{const{start:u,end:d}=i,p=se(s);return p.isAfter(u)&&p.isBefore(d)}});function ct(e){const{width:n,height:t}=Mt(e),o=M(!1),{observer:l}=e??{};return Qo(()=>{const{media:s=768}=e??{};o.value=n.value<=s,l==null||l(o.value,{width:n.value,height:t.value})}),{width:n,height:t,isTabletOrSmaller:Te(o)}}let _t=999,wt=!1;const ve="ELEMENT-FULLSCREEN-RAY",{width:Ct,height:Tt}=Mt(),on=document.createElement("style"),bs=(e,n)=>{const{beforeEnter:t,beforeExit:o,enter:l,exit:a,backgroundColor:s,zIndex:i,transition:u="all 0.3s var(--r-bezier)"}=n??{};let d=!1;const p={x:null,y:null},h=()=>{const g=ue(e);if(!g)return;const{left:v,top:c}=g.getBoundingClientRect();p.x===null&&p.y===null&&(p.x=-v,p.y=-c),De(document.body,{"--element-fullscreen-z-index":me(i,"Null")||me(i,"Undefined")?_t:i,"--element-fullscreen-transition":u,"--element-fullscreen-background-color":s,"--element-fullscreen-width":`${Ct.value}px`,"--element-fullscreen-height":`${Tt.value}px`,"--element-fullscreen-transform-x":`${p.x}px`,"--element-fullscreen-transform-y":`${p.y}px`});const y=`
+ [${ve}] {
+ 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);
+ }
+ `;on.innerHTML=y,wt||document.head.appendChild(on)},S=()=>{const g=ue(e);t==null||t(),g&&(g.getAttribute(ve)||g.setAttribute(ve,ve),d||(d=!0,_t+=1),wt||(h(),wt=!0),g.style.transition=u,l==null||l())},f=()=>{o==null||o();const g=ue(e);g&&g.removeAttribute(ve),a==null||a()},m=()=>{const g=ue(e);g&&(g.getAttribute(ve)?f():S())},_=Pe(()=>[Ct.value,Tt.value],h);return Lt(()=>{const g=ue(e);g&&g.removeAttribute(ve),_t--,_()}),{enter:S,exit:f,toggleFullscreen:m,currentWindowSize:{width:Ct,height:Tt}}},Ot={svg:na,png:oa,jpeg:aa,blob:la,pixelData:ra,canvas:sa},hi=(e,n)=>{const{beforeCreate:t,created:o,createdError:l,finally:a,imageType:s}=n??{};return{create:u=>new Promise((d,p)=>{var S;const h=ue(e);if(t==null||t(h),!h)return l==null||l(),p("useDomToImage: element is undefined.");(S=Ot[u??s??"jpeg"])==null||S.call(Ot,h,n).then(f=>(o==null||o(f,h),d(f))).catch(f=>(l==null||l(f),p(f))).finally(()=>{a==null||a(h)})})}},vi=(e,n)=>({print:()=>{const o=ue(e)||e;Ko({...ot(n,["printable"]),printable:o})}}),Ss={page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50,100]},_s=(e,n)=>{const t=M(e),o=ot(n,["on-update:page","on-update:page-size","onUpdatePage","onUpdatePageSize","onUpdate:page","onUpdate:page-size"]),a=M(Object.assign({},Ss,o,{onUpdatePage:c=>{var y;a.value.page=c,(y=t.value)==null||y.call(t)},onUpdatePageSize:c=>{var y;a.value.pageSize=c,a.value.page=1,(y=t.value)==null||y.call(t)}})),s=a.value.onUpdatePage,i=a.value.onUpdatePageSize,u=()=>a.value.itemCount,d=c=>{a.value.itemCount=c},p=()=>a.value.page,h=c=>{s(c)},S=()=>a.value.pageSize,f=c=>{i(c)},m=()=>a.value,_=e,g=c=>{t.value=c},v=()=>{const{pageSizes:c}=a.value;a.value.page=1,a.value.pageSize=(c==null?void 0:c[0])||10};return Lt(()=>{t.value=void 0}),[a,{getItemCount:u,setItemCount:d,getPage:p,setPage:h,getPageSize:S,setPageSize:f,getPagination:m,getCallback:_,setCallback:g,resetPagination:v}]},Wn=()=>({isLayoutContentMaximized:C(()=>ut("layoutContentMaximize").value),maximize:(t,o)=>{var i;const{scrollToOptions:l}=o??{},a=ue(Ce),{toggleFullscreen:s}=bs(a,o);ce("layoutContentMaximize",t),s(),l&&t&&((i=Ce==null?void 0:Ce.value)==null||i.scrollTo(l))}}),ws=()=>({reload:(o=800)=>{ce("globalMainLayoutLoad",!1),setTimeout(()=>ce("globalMainLayoutLoad",!0),o)},openSpin:()=>{ce("layoutContentSpinning",!0)},closeSpin:()=>{ce("layoutContentSpinning",!1)}}),yi=()=>({setWatermarkContent:l=>{const{getWatermarkConfig:a}=W(),s=Object.assign(a.value,{content:l}),{updateSettingState:i}=U();i("watermarkConfig",s)},showWatermark:()=>{const{updateSettingState:l}=U();l("watermarkSwitch",!0)},hiddenWatermark:()=>{const{updateSettingState:l}=U();l("watermarkSwitch",!1)},toggleWatermark:()=>{const{getWatermarkSwitch:l}=W(),{updateSettingState:a}=U();a("watermarkSwitch",!l.value)}}),He=e=>{const{getPrimaryColorOverride:n}=W(),{updateSettingState:t}=U();t("primaryColorOverride",e?Object.assign({},n.value,ae.appNaiveUIThemeOverrides.dark,ae.appNaiveUIThemeOverridesCommon.dark):Object.assign({},n.value,ae.appNaiveUIThemeOverrides.light,ae.appNaiveUIThemeOverridesCommon.light))},bi=()=>{const e=()=>{const{getAppTheme:a}=W(),{t:s}=Ne();return{theme:a.value,themeI18nLabel:a.value?s("headerSettingOptions.ThemeOptions.Dark"):s("headerSettingOptions.ThemeOptions.Light"),themeLabel:a.value?"Dark":"Light"}};return{darkTheme:()=>{const{updateSettingState:a}=U();a("_appTheme",!0),a("appTheme","dark"),He(!0)},lightTheme:()=>{const{updateSettingState:a}=U();a("_appTheme",!1),a("appTheme","light"),He(!1)},toggleTheme:()=>{const{theme:a}=e(),{updateSettingState:s}=U();s("_appTheme",!a),s("appTheme",a?"light":"dark"),He(!a)},getAppTheme:e,syncSystemTheme:()=>{const{getAppTheme:a}=W(),{updateSettingState:s}=U(),{system:i}=gn();s("_appTheme",i.value==="dark"),s("appTheme","auto"),He(a.value)}}},we=(e,n)=>{const{getMenuTagOptions:t}=be();if(typeof e=="number"){if(isNaN(e)){console.warn(`${n}: The ${e} is NaN, expect number.`);return}if(e>t.value.length||e<-1){console.warn(`${n}: The incoming index ${e} did not match the corresponding item.`);return}return{option:t.value[e],index:e}}else if(typeof e=="string"){const o=t.value.findIndex(l=>l.fullPath===e);return o>-1?{option:t.value[o],index:o}:console.warn(`${n}: The incoming key ${e} did not match the corresponding item.`)}else{const{fullPath:o}=e,l=t.value.findIndex(a=>a.fullPath===o);if(l===-1){console.warn(`${n}: The incoming menuTag option ${e.fullPath} did not match the corresponding item.`);return}return{option:e,index:l}}};function qn(){const{getMenuTagOptions:e,getMenuKey:n}=be(),{changeMenuModelValue:t,spliceMenTagOptions:o,setMenuTagOptions:l,resolveOption:a}=ze(),s=()=>e.value.findIndex(m=>m.fullPath===n.value);return{close:m=>{const _=we(m,"close");if(e.value.length!==1&&_){const{index:g,option:v}=_;if(o(g),v.fullPath===n.value){const c=e.value[g-1];c&&t(c.fullPath,c)}}},closeAll:()=>{o(0,e.value.length);const{getRootPath:m}=Me(),{router:{getRoutes:_}}=Ft(),g=_().find(v=>v.path===m.value);if(g){const v=Fe(g,xt),c=a(v);t(c.path,a({...c,fullPath:c.path}))}},closeRight:m=>{const _=we(m,"closeRight");if(_){const{option:g,index:v}=_,c=e.value.length-v,y=s();o(v+1,c),v<=y&&n.value!==g.fullPath&&t(g.fullPath,g)}},closeLeft:m=>{const _=we(m,"closeLeft");if(_){const{option:g,index:v}=_,c=s();o(0,v),c<=v&&n.value!==g.fullPath&&t(g.fullPath,g)}},closeOther:m=>{const _=we(m,"closeOther");if(_){const{option:g}=_;n.value!==g.fullPath?(o(0,e.value.length),t(g.fullPath,g)):l(g,!1)}},getCurrentTagIndex:s,checkCloseRight:m=>{const _=we(m,"checkCloseRight");if(_){const{index:g}=_,v=e.value.length-1;return!(g>=v)}return!1},checkCloseLeft:m=>{const _=we(m,"checkCloseRight");if(_){const{index:g}=_,v=e.value.length-1;return g===0?!1:g>0&&v>0}return!1}}}function Si(){return{navigationTo:(n,t)=>{const{router:{getRoutes:o,push:l,replace:a}}=Ft(),{isPush:s=!0,query:i}=t||{},u=d=>s?l({path:d,query:i}):a({path:d,query:i});if(typeof n=="number"){if(isNaN(n)){console.warn(`[navigationTo]: The ${n} is NaN, expect number.`);return}const{getMenuOptions:d}=be();if(n>d.value.length){console.warn(`[navigationTo]: The current ${n} exceeds the maximum number of menus.`);return}const p=d.value[n],h=S=>{if(S.children&&S.children.length>0){const{children:[f]}=S;h(f);return}u(S.fullPath)};h(p)}else if(typeof n=="string"){const d=o().find(p=>p.path===n);d?u(d.path):console.warn(`[navigationTo]: The path "${n}" is not found.`)}else u(n.fullPath)}}}function Me(){const{getAppRootRoute:e}=W(),{updateSettingState:n}=U(),t=e,o=C(()=>e.value.path),l=C(()=>e.value.name);return{getRootRoute:t,getRootPath:o,getRootName:l,setRootRoute:s=>{n("appRootRoute",Object.assign({},e.value,s))}}}const Cs=(e,n)=>{const{show:t,...o}=n;e.meta.extra=Object.assign({},e.meta.extra,{...o,show:t}),e.extra=Fn(e)},an=(e,n,t)=>{const o=jn(e,n);o&&Cs(o,t)},kt=(e,n,t)=>{const{getMenuOptions:o}=be();if(typeof e=="string")an(o.value,e,t);else if(me(e,"Object")){const{fullPath:l}=e;an(o.value,l,t)}else console.warn(`[useBadge ${n}]: target expect string or object.`)};function _i(){return{hidden:o=>{kt(o,"hidden",{show:!1})},show:o=>{kt(o,"show",{show:!0})},update:(o,l)=>{kt(o,"update",l)}}}const wi=()=>{const e=An.value,{scrollTo:n}=e||{};if(!n)throw new Error("[useSiderScroll]: LAYOUT_SIDER_REF is not ready yet. please wait component mounted!");return n},Gn=()=>Ze(J.localeLanguage,"localStorage",{defaultValue:Va});export{Wn as $,Zs as A,ti as B,ai as C,$a as D,li as E,ui as F,vr as G,ri as H,_s as I,oi as J,pr as K,An as L,Xs as M,tr as N,Cr as O,pi as P,ii as Q,si as R,Lr as S,di as T,ys as U,jr as V,fi as W,ei as X,mr as Y,In as Z,L as _,hi as a,Si as a0,ws as a1,yi as a2,_i as a3,vi as b,wi as c,Qs as d,W as e,J as f,Ys as g,U as h,gs as i,Er as j,ct as k,os as l,ut as m,Js as n,ni as o,gi as p,Me as q,Ne as r,mi as s,P as t,bi as u,kn as v,ht as w,Ft as x,Hs as y,ci as z};
diff --git a/js/hooks-DNoo5Jj5.js.gz b/js/hooks-DNoo5Jj5.js.gz
new file mode 100644
index 00000000..515eb675
Binary files /dev/null and b/js/hooks-DNoo5Jj5.js.gz differ
diff --git a/js/hooks-c8QJeqZl.js b/js/hooks-c8QJeqZl.js
deleted file mode 100644
index f827e337..00000000
--- a/js/hooks-c8QJeqZl.js
+++ /dev/null
@@ -1,12 +0,0 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/en-US-kuHs-KnU.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-S0J9kMkU.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-BvBR3SlX.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-D9w4k3vo.js","js/index-B-g8tG7K.js","js/index-2lWBKoiq.js","css/index-D_4DGt8i.css","js/index-DCSGS0fX.js","js/instance-_AoK-7-_.js","js/axios@1.7.5-C8DqakIB.js","css/index-QAd2IBUs.css","js/BarcodeDemo-BEpfsirt.js","js/index-DT78SV6J.js","js/index-DDm0KxCm.js","js/index-Bv-ZoPHL.js","js/index-BNL7US1N.js","css/index-DHYYVpM7.css","js/index-CxYrOniq.js","js/index-vSwqeH-1.js","js/index-DJlOet97.js","js/index-GfRP_Izk.js","js/index-CPdEOCC2.js","js/index-B1y7IB92.js","js/index-SBc90cMw.js","js/index-Cs_4j77B.js","js/index-I9v4fVPd.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-BdJwXouh.js","css/index-B6yUFiKH.css","js/index-DhpTzH6d.js","js/index-Bt-EC2y-.js","js/index-DbAQZpVN.js","css/index-Dig957GB.css","js/index-CVDY37Yi.js","js/index-C-b-gGDU.js","css/index-Eq1L-L2-.css","js/TablePro-D_-Zxaa_.js","js/mockjs@1.1.0-CxlURkif.js","js/index-DPtaassS.js","js/index-Xx5IoaRU.js","js/index-BxSh1D3V.js","css/index-74sXJ5VP.css","js/index-DPphVKho.js","css/index-b1h4j9PV.css"])))=>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 Ft=(e,t,n)=>Jn(e,typeof t!="symbol"?t+"":t,n);import{s as ut,c as He,t as xt,i as an,p as Le,o as et,f as Zn}from"./lodash-es@4.17.21-CeZG2a4n.js";import{z as Bt,d as Vt,f as Qn,g as eo,N as tt,a as to,b as no,c as E,e as nt,m as oo,h as ln,u as ao,S as Mt,i as lo,j as Oe,k as so,l as sn,n as Ee,o as ro,p as io,q as rn,t as co,r as uo,s as po,v as mo,w as cn,x as De,y as fo,A as un,B as go,C as ho,D as vo,E as yo,F as oe,G as bo,H as $t,I as _o,J as de,K as pe,L as Ot,M as xe,O as Me,P as Y,Q as So,R as wo,T as Co,U as To,V as Oo,W as Ro,X as dn,Y as Ao,Z as Kt,_ as ko}from"./naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.js";import{o as Po,u as je,a as xo,b as Mo,c as pn,d as dt,e as zt,f as zo}from"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import{k as I,l as Ce,e as te,n as Io,x as Re,a as mn,s as Lo,u as Z}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{n as G,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 Eo,k as Ne,v as fn,h as ot,i as gn,x as Do,F as hn,y as jo,z as be,A as No,C as pt,D as Fo,E as ze,S as Bo,K as Vo,G as Ut,H as $o,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 Ko}from"./print-js@1.6.0-BdoEj60G.js";import{u as vn}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 Uo}from"./jsbarcode@3.11.6-DGNGFp02.js";import{g as Ye,i as ce,s as It,a as Rt,c as Wo,u as yn,l as bn,b as _n,d as qo,e as B,r as ge,f as j,h as Go,j as Xe,q as Je,k as qe,m as Sn,p as wn,n as Lt,o as Wt,t as _e,v as Ho,w as Yo,x as Xo,y as Jo,z as Zo,A as se}from"./utils-BvBR3SlX.js";import{i as qt}from"./interactjs@1.10.26-DZL_TZzP.js";import{s as Qo}from"./pinia-plugin-persistedstate@4.1.1_pinia@2.2.4-_Zka_ujQ.js";import{d as at,c as ea}from"./pinia@2.2.4_typescript@5.2.2_vue@3.5.12-DjAImzYl.js";import{t as ta,a as na,b as oa,c as aa,d as la,e as sa}from"./html-to-image@1.11.11-BOFdlgi9.js";import{u as lt,a as ra,o as ia,c as ca,b as ua}from"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import{c as da}from"./vue-i18n@9.13.1_vue@3.5.12-DJkg4ac8.js";import{r as pa,u as Ie,i as ma,a as fa,b as ga,c as ha,d as va,e as ya,f as ba,g as _a,h as Sa,j as wa,k as Ca,l as Ta,m as Oa,n as Ra,o as Aa,p as ka,q as Pa,s as xa}from"./echarts@5.5.0-CezqL3m-.js";import{g as Ma}from"./@vueuse_shared@11.1.0_vue@3.5.12-B9WpRTpD.js";import{T as za,a as Ia}from"./@vue_runtime-dom@3.5.12-ewSD1rNh.js";const Vr=(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 c=o.split("/"),s=c.shift(),d=c.join(".");s&&(d?(ut(n,s,n[s]||{}),ut(n[s],d,l)):ut(n,s,l||{}))}),n},La="modulepreload",Ea=function(e){return"/ray-template/"+e},Gt={},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(c=>{if(c=Ea(c),c in Gt)return;Gt[c]=!0;const s=c.endsWith(".css"),d=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=s?"stylesheet":La,s||(p.as="script"),p.crossOrigin="",p.href=c,i&&p.setAttribute("nonce",i),document.head.appendChild(p),s)return new Promise((h,S)=>{p.addEventListener("load",h),p.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${c}`)))})}))}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})},Da=(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.":""))))})},ja=async e=>{var n;const t={};for(const a of e){const l=await Da(Object.assign({"../lang/en-US.ts":()=>L(()=>import("./en-US-kuHs-KnU.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-D9w4k3vo.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},$r=e=>{switch(e){case"zh-CN":return{locale:Bt,dateLocal:Vt};case"en-US":return{locale:null,dateLocal:null};default:return{locale:Bt,dateLocal:Vt}}},Kr={max:5,closable:!1},Ur="loading",Wr="",H={signing:"signing",localeLanguage:"localeLanguage",token:"token",appMenuKey:"menuKey",appPiniaSettingStore:"piniaSettingStore",appPiniaKeepAliveStore:"piniaKeepAliveStore",appPiniaMenuStore:"piniaMenuStore",appPiniaSigningStore:"piniaSigningStore",appVersionProvider:"appVersionProvider",isAppLockScreen:"isAppLockScreen",appGlobalSearchOptions:"appGlobalSearchOptions"},Na=[{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"},Cn=[{key:"zh-CN",label:"中文(简体)"},{key:"en-US",label:"English(US)"}],Fa="zh-CN",Ba="zh-CN",Va={"zh-CN":"zh-cn","en-US":"en"},$a="zh-cn",qr={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$/},Gr={baseURL:"",withCredentials:!1,timeout:5*1e3,headers:{"Content-Type":"application/json"}},we=I(null),Tn=I(null),Ka={setupRouterLoadingBar:!0,setupRouterGuard:!0},Ua=["RLogin","ErrorPage","RayTemplateDoc"],$e=[],Hr=(e,t)=>{const n=I(0),a=I(0),l=I(!1),{clickOutside:o}={},i=h=>{l.value=h},c=h=>{h.preventDefault(),i(!1),G().then(()=>{const{clientX:S,clientY:f}=h;n.value=S,a.value=f,i(!0)})};o&&Po(e,h=>{o(h)});const s=je(e,"contextmenu",c,t),d=je(e,"click",()=>{i(!1)});return{stop:()=>{s(),d()},x:Ce(n),y:Ce(a),show:Ce(l),updateShow:i}},Ze=te({globalSpinning:!1,globalDrawerValue:!1,globalMainLayoutLoad:!0,layoutContentMaximize:!1,layoutContentSpinning:!1});function re(e,t,n){Object.hasOwn(Ze,e)&&(Ze[e]=t)}function st(e){return Ce(Io(Ze,e))}function Wa(){return{...Re(Ce(Ze))}}let le;const qa=async()=>{const e=Un(),t=await ja(Cn);return da({legacy:!1,locale:e,messages:t,sync:!0,missingWarn:!1,silentFallbackWarn:!0,fallbackLocale:Ba})},Yr=async e=>{const t=await qa();e.use(t),le=t},Ht=(e,t)=>t,Fe=e=>{if(!le)return{t:o=>Ht(e,o),locale:o=>{}};const{t,...n}=le.global;return{...n,t:(o,...i)=>o?!o.includes(".")&&!e?o:t(Ht(e,o),...i):"",locale:o=>{le.mode==="legacy"?le.global.locale=o:mn(le.global.locale)?le.global.locale.value=o:le.global.locale=o}}},N=e=>e,Ga={path:"/dashboard",component:()=>L(()=>import("./index-B-g8tG7K.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}},Ha=Object.freeze(Object.defineProperty({__proto__:null,default:Ga},Symbol.toStringTag,{value:"Module"})),Ya={path:"/axios",name:"RAxios",component:()=>L(()=>import("./index-DCSGS0fX.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}},Xa=Object.freeze(Object.defineProperty({__proto__:null,default:Ya},Symbol.toStringTag,{value:"Module"})),Ja={path:"barcode",component:()=>L(()=>import("./BarcodeDemo-BEpfsirt.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"}}},Za=Object.freeze(Object.defineProperty({__proto__:null,default:Ja},Symbol.toStringTag,{value:"Module"})),Qa={path:"/cache-demo",component:()=>L(()=>import("./index-DT78SV6J.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}},el=Object.freeze(Object.defineProperty({__proto__:null,default:Qa},Symbol.toStringTag,{value:"Module"})),tl={path:"/context-menu",component:()=>L(()=>import("./index-DDm0KxCm.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}},nl=Object.freeze(Object.defineProperty({__proto__:null,default:tl},Symbol.toStringTag,{value:"Module"})),ol={path:"/directive",component:()=>L(()=>import("./index-Bv-ZoPHL.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"}}},al=Object.freeze(Object.defineProperty({__proto__:null,default:ol},Symbol.toStringTag,{value:"Module"})),ll={path:"/echart",component:()=>L(()=>import("./index-BNL7US1N.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"}}},sl=Object.freeze(Object.defineProperty({__proto__:null,default:ll},Symbol.toStringTag,{value:"Module"})),rl={path:"/form",component:()=>L(()=>import("./index-CxYrOniq.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"}}},il=Object.freeze(Object.defineProperty({__proto__:null,default:rl},Symbol.toStringTag,{value:"Module"})),cl={path:"/iframe",component:()=>L(()=>import("./index-vSwqeH-1.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"}},ul=Object.freeze(Object.defineProperty({__proto__:null,default:cl},Symbol.toStringTag,{value:"Module"})),dl={path:"/mock-demo",component:()=>L(()=>import("./index-DJlOet97.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"}}},pl=Object.freeze(Object.defineProperty({__proto__:null,default:dl},Symbol.toStringTag,{value:"Module"})),ml={path:"/modal-demo",component:()=>L(()=>import("./index-GfRP_Izk.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}},fl=Object.freeze(Object.defineProperty({__proto__:null,default:ml},Symbol.toStringTag,{value:"Module"})),Ge=()=>L(()=>Promise.resolve().then(()=>Fs),void 0),gl={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-CPdEOCC2.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-B1y7IB92.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-SBc90cMw.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}}]}]}]},hl=Object.freeze(Object.defineProperty({__proto__:null,default:gl},Symbol.toStringTag,{value:"Module"})),vl={path:"/precision",component:()=>L(()=>import("./index-Cs_4j77B.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}},yl=Object.freeze(Object.defineProperty({__proto__:null,default:vl},Symbol.toStringTag,{value:"Module"})),bl={path:"/qrcode",component:()=>L(()=>import("./index-I9v4fVPd.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}},_l=Object.freeze(Object.defineProperty({__proto__:null,default:bl},Symbol.toStringTag,{value:"Module"})),Sl={path:"rely-about",component:()=>L(()=>import("./index-BdJwXouh.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}},wl=Object.freeze(Object.defineProperty({__proto__:null,default:Sl},Symbol.toStringTag,{value:"Module"})),Cl={path:"/router-demo",component:Ge,meta:{i18nKey:N("menu.RouterDemo"),icon:"other",order:3},children:[{path:"router-demo-home",component:()=>L(()=>import("./index-DhpTzH6d.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-Bt-EC2y-.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}}]},Tl=Object.freeze(Object.defineProperty({__proto__:null,default:Cl},Symbol.toStringTag,{value:"Module"})),Ol={path:"/scroll-reveal",component:()=>L(()=>import("./index-DbAQZpVN.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}},Rl=Object.freeze(Object.defineProperty({__proto__:null,default:Ol},Symbol.toStringTag,{value:"Module"})),Al={path:"/segment",component:()=>L(()=>import("./index-CVDY37Yi.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"}}},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Al},Symbol.toStringTag,{value:"Module"})),Pl={path:"/svg-icons",component:()=>L(()=>import("./index-C-b-gGDU.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}},xl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),Ml={path:"/table-pro",component:()=>L(()=>import("./TablePro-D_-Zxaa_.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"}}},zl=Object.freeze(Object.defineProperty({__proto__:null,default:Ml},Symbol.toStringTag,{value:"Module"})),Il={path:"/table",component:()=>L(()=>import("./index-DPtaassS.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"}}},Ll=Object.freeze(Object.defineProperty({__proto__:null,default:Il},Symbol.toStringTag,{value:"Module"})),El={path:"/template-hooks",component:()=>L(()=>import("./index-Xx5IoaRU.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}},Dl=Object.freeze(Object.defineProperty({__proto__:null,default:El},Symbol.toStringTag,{value:"Module"})),jl=()=>{const e=Object.assign({"/src/router/modules/dashboard.ts":Ha,"/src/router/modules/demo/axios.ts":Xa,"/src/router/modules/demo/barcode.ts":Za,"/src/router/modules/demo/cache-demo.ts":el,"/src/router/modules/demo/context-menu.ts":nl,"/src/router/modules/demo/directive.ts":al,"/src/router/modules/demo/echart.ts":sl,"/src/router/modules/demo/form.ts":il,"/src/router/modules/demo/iframe.ts":ul,"/src/router/modules/demo/mock.ts":pl,"/src/router/modules/demo/modal.ts":fl,"/src/router/modules/demo/multi-menu.ts":hl,"/src/router/modules/demo/precision.ts":yl,"/src/router/modules/demo/qrcode.ts":_l,"/src/router/modules/demo/rely.ts":wl,"/src/router/modules/demo/router-demo.ts":Tl,"/src/router/modules/demo/scroll-reveal.ts":Rl,"/src/router/modules/demo/segment.ts":kl,"/src/router/modules/demo/svg-icons.ts":xl,"/src/router/modules/demo/table-pro.ts":zl,"/src/router/modules/demo/table.ts":Ll,"/src/router/modules/demo/template-hooks.ts":Dl});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},[])},Nl=e=>e[0]==="/",On=(e,t=[],n="")=>{var a;if(!Array.isArray(e))return[];for(const l of e){const o=n+(Nl(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},Fl=e=>Array.isArray(e)?On(He(e)):[],Bl=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}=Pe(),a=(l,o)=>l.path==="/"||o.path==="/login";t((l,o,i)=>{const c=Ye(H.token,"localStorage"),s=Ye(H.appMenuKey,"sessionStorage",{defaultValue:n.value}),{meta:d,name:p}=l;c!==null?a(l,o)?mt(!0):!ce(p,"Symbol")&&p&&Ua.includes(p)?i():Bn(d)?a(l,o)?s?i(s):mt(!0):i():mt(!0):a(l,o)?i():i("/")})},mt=(e=!0)=>{const{router:t}=Dt(),{push:n,replace:a}=t,{getRootPath:l}=Pe();It(H.appMenuKey,l.value,"localStorage"),e?a(l.value):n(l.value)},$l=e=>{var n;const{meta:t}=e;t!=null&&t.ignoreAutoResetScroll||(n=we.value)==null||n.scrollTo({top:0,left:0,behavior:"smooth"})},Kl=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}=Rt();return!(a||n||l&&typeof l=="string"&&l!==o||l&&Array.isArray(l)&&!l.includes(o))};var Ul={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.2"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const Be=at("setting",()=>{const{appPrimaryColor:{primaryColor:e}}=Ul,{locale:t}=Fe(),{locale:n}=dr(),a=te({drawerPlacement:"right",primaryColorOverride:{common:{primaryColor:e,primaryColorHover:e,primaryColorPressed:e}},_appTheme:!1,appTheme:"light",menuTagSwitch:!0,breadcrumbSwitch:!0,localeLanguage:Un(),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=c=>{t(c),n(c),a.localeLanguage=c,It(H.localeLanguage,c,"localStorage")},o=(c,s=.3)=>{const d=Wo(c,s),p={primaryColor:c,primaryColorHover:c,primaryColorPressed:c};a.primaryColorOverride.common=p;const h=document.body;h.style.setProperty("--ray-theme-primary-color",c),h.style.setProperty("--ray-theme-primary-fade-color",d)},i=(c,s,d)=>{yn(a,c,s,d)};return he(()=>a.appTheme,c=>{c?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:H.appPiniaSettingStore}}),An={...Qn,onRegister:{type:[Function,Array],default:null}},kn={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},...eo};function Wl(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const Xr=M({name:"RCollapse",props:Object.assign({},An,{...kn,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(gs,F(l,{labelPlacement:"top",showFeedback:!1}),{default:()=>[r(Hl,l,Wl(e)?e:{default:()=>[e]})]})}}),ql={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}},Gl=qo(),Yt="__R_CHART_DOWN_LOAD_CHART__";Gl.forEach(e=>{pa(e.name,e.theme)});const Jr=M({name:"RChart",props:ql,setup(e,{expose:t}){const{getAppTheme:n}=$(),a=ie("rayChartRef"),l=ie("rayChartWrapperRef"),o=Lo();let i,c;const{echartTheme:s}=Q;let d;const p=w(()=>[{label:"下载图片",key:Yt,disabled:!(o.value&&o.value.getDom())}]),h=w(()=>({"--ray-chart-width":B(e.width),"--ray-chart-height":B(e.height)})),S=I(!1);let f;const m={aria:e.showAria},_=async()=>{var O;Ie([fa,ga,ha,va,ya,ba,_a,Sa]),Ie([wa,Ca,Ta,Oa,Ra,Aa]),Ie([ka,Pa]),Ie([xa]);try{Ie((O=e.use)==null?void 0:O.filter(Boolean))}catch(P){console.error("[RChart register error]: ",P)}},g=()=>{if(o.value&&C(),e.theme==="default"){e.autoChangeTheme?u("dark"):u("");return}if(e.theme)u(e.theme);else{const O=e.autoChangeTheme&&n.value?`${s}-dark`:s;u(O)}},y=O=>{let P=Z(O);return P=(K=>Object.assign({},P,K))({aria:{enabled:e.showAria,decal:{show:e.showAria}}}),P},u=(O=s)=>{var ue;const P=a.value,D=y(e.options),{height:K,width:V}=P.getBoundingClientRect(),{onSuccess:X,onError:W}=e;try{o.value=ma(P,O,{width:V===0?200:void 0,height:K===0?200:void 0}),X&&j(X,o.value),e.nextTick?(o.value.setOption({}),G(()=>{var J;D&&((J=o.value)==null||J.setOption(D))})):D&&((ue=o.value)==null||ue.setOption(D))}catch(J){throw W&&j(W),new Error(`[RChart render error]: ${J}`)}finally{const{onFinally:J}=e;J&&j(J)}},v=()=>{var O;return!!((O=o.value)!=null&&O.isDisposed())},C=()=>{var O;v()||(O=o.value)==null||O.dispose()},T=()=>{o.value&&o.value.resize()},b=(O,P)=>{if(O===Yt&&!v()){const{filename:K,...V}=e.downloadOptions;Go(o.value.getDataURL(V),K??`${new Date().getTime()}`)}const{onDropdownSelect:D}=e;D&&j(D,O,P)},x=()=>{var P;if(e.autoResize&&(i||(i=xt(T,500)),c||(c=Mo(e.autoResizeObserverTarget||l,i))),(P=o.value)!=null&&P.getDom()||!S.value&&e.intersectionObserver)return;g(),f==null||f.stop();const{onRegister:O}=e;O&&o.value&&j(O,o.value,x,R)},R=()=>{C(),i==null||i.cancel(),c==null||c.stop(),f==null||f.stop(),f=null,i=null,c=null};return he(()=>n.value,()=>{e.autoChangeTheme&&(C(),g())}),ve(()=>{var O,P;e.intersectionObserver&&(f=xo(e.intersectionObserverTarget||l,([D])=>{S.value=D.isIntersecting},e.intersectionOptions)),e.watchOptions?d=Ma(()=>e.options,D=>{var X;const K=y(D),V=Object.assign({},_n(),e.setChartOptions);(X=o.value)==null||X.setOption(K,V)},{deep:!0,throttle:e.watchOptionsThrottleWait}):d==null||d(),e.loading?(O=o.value)==null||O.showLoading(bn(e.loadingOptions)):(P=o.value)==null||P.hideLoading(),e.showAria!==m.aria&&o.value&&(o.value.setOption(y(e.options)),m.aria=e.showAria),S.value&&!v()&&x()}),t(),Eo(async()=>{await _()}),Ne(()=>{x()}),fn(()=>{R(),d==null||d()}),{rayChartRef:a,cssVarsRef:h,rayChartWrapperRef:l,moreDropDownOptions:p,dropdownSelect:b}},render(){const{title:e,contentStyle:t,preset:n,moreDropDownOptions:a,dropdownSelect:l,bordered:o,dropdownOptions:i}=this,{cardExtra:c}=this.$slots;return n==="card"?r(tt,{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(c,{defaultElement:r(Mn,{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)])}}),Zr=()=>{let e,t,n;const a=(s,d,p)=>{s&&(e=s,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 s;return!!((s=l().echartInst)!=null&&s.isDisposed())},dispose:()=>l().dispose.call(null),render:()=>l().render.call(null)}]},Hl=M({name:"RCollapseGrid",props:kn,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&&j(o,t.value),i&&j(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:c,collapsedRows:s,cssVars:d,bordered:p}=this;return r(tt,{bordered:p,style:[d]},{default:()=>r(to,F({class:"ray-collapse-grid"},l,{collapsed:o,xGap:i||12,yGap:c||12,collapsedRows:s}),{default:()=>[n==null?void 0:n(),r(no,{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)]})]})]})})}}),Yl={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:Yl,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&&j(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)])])}}),Xl={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}},Qr=M({name:"RIframe",props:Xl,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=c=>{l.value=!1;const{onSuccess:s}=e;s&&j(s,a.value,c)},i=c=>{l.value=!1;const{onError:s}=e;s&&j(s,c)};return je(a,"load",o),je(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(nt,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)})])}}),Jl={...oo,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}},Zl=(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=qt(e).draggable({inertia:!0,autoScroll:!0,allowFrom:o,modifiers:[qt.modifiers.restrictRect({restriction:"parent",endOnly:!0})],listeners:{move:c=>{a==null||a(c)}}}).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:c,y:s}=t;Zl(n,o,{scheduler:d=>{const p=d.target;c+=d.dx,s+=d.dy,p.style.transform=`translate(${c}px, ${s}px)`,i==null||i(c,s,d)}}).then(d=>{a(d)})}else l()})},Ql="r-modal__preset-card--fullscreen",xn="r-modal",Te={width:"--r-modal-width",cardWidth:"--r-modal-card-width",dialogWidth:"--r-modal-dialog-width"},ei=M({name:"RModal",props:Jl,setup(e){const t=w(()=>({[Te.width]:B(e.width??600),[Te.cardWidth]:B(e.cardWidth??600),[Te.dialogWidth]:B(e.dialogWidth??446)})),n=Xe();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")?G(()=>{const c=document.getElementById(n);c&&Pn(c,{preset:e.preset,x:l.x,y:l.y,dargCallback:(s,d)=>{l.x=s,l.y=d}}).then(s=>{a=s}),e.memo&&c&&(c.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:c}=this;return r(ln,F({class:[xn,c?Ql:""],style:[o,c?"height: 100vh":""],preset:a},{id:i},l,n),{...t})}}),ti=()=>{const{create:e,destroyAll:t}=ao();return{create:a=>{const{content:l,...o}=a;let i=l;o.preset==="card"&&o.fullscreen&&(i=()=>ot(Mt,{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:c,dad:s,fullscreen:d,width:p,cardWidth:h,dialogWidth:S}=a,f=e({...o,content:i}),{key:m}=f,_={[Te.width]:B(p??600),[Te.cardWidth]:B(h??600),[Te.dialogWidth]:B(S??446)};return G(()=>{const[g]=Je(`[internalkey="${m}"]`)||[];if(g){if(s&&Pn(g,{preset:c,x:0,y:0}),d&&c==="card"){const y=g.querySelector(".n-card__content");y&&qe(y,{maxHeight:"calc(100vh - 9px - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))",overflowY:"hidden",padding:"0"}),qe(g,{width:"100%",height:"100vh"})}qe(g,_),Sn(g,xn)}}),f},destroyAll:t}},es={...lo,icon:{type:String,default:"more"},iconSize:{type:Number,default:14},cursor:{type:String,default:"default"}};function ts(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const Mn=M({name:"RMoreDropdown",props:es,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"}),ts(e=ge(l,{defaultElement:r(k,{name:a,size:t,cursor:n},null)}))?e:{default:()=>[e]})}}),Ae={...so,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")},ns=[{label:"斑马条纹",value:"striped"},{label:"表格边框",value:"bordered"}],os=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&&j(o,l)}}},render(){return r(sn,{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)]})}}),as=M({name:"TableFullscreen",setup(){const{wrapperRef:e}=gn(ee.tableKey,{}),[t,{toggleFullscreen:n,isEnabled:a}]=vn(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)}}),ls=()=>r(k,{name:"draggable",size:14,cursor:"grab"},null),Xt=({icon:e,title:t,onClick:n,customClassName:a})=>r(Ee,{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}),At=(e,t)=>{if(!t)return[null,null];for(let n=0;nHe(e.columns).filter(s=>s.type?(t=s,!1):!0).map((s,d)=>{const{key:p,title:h,children:S,fixed:f,isResizable:m,..._}=s,g=f==="left",y=f==="right",u={..._,title:h,key:p,fixed:f,isLeftFixedActivated:g,isRightFixedActivated:y,isResizable:m};return{...u,suffix:()=>r(E,{style:"padding-left: 32px;"},{default:()=>[r(Xt,{icon:"row_head",title:"固定在列首",customClassName:g?ft:"",onClick:o.bind(this,"left",u,d)},null),r(Ee,{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(Xt,{icon:"row_end",title:"固定在列尾",customClassName:y?ft:"",onClick:o.bind(this,"right",u,d)},null)]})}}),set:()=>{}}),a=c=>{const{onUpdateColumn:s}=e;s&&j(s,c)},l=(c,s)=>{c.isResizable=!c.isResizable,c.resizable=c.isResizable,n.value[s]=c,a(n.value)},o=(c,s,d)=>{const p=`${c}FixedActivated`,h=`${c==="left"?"right":"left"}FixedActivated`;s[h]=!1,s[p]=!s[p],s[p]?s.fixed=c:s.fixed=void 0,n.value[d]=s,a(n.value)};return{treeDataSource:n,treeDrop:({node:c,dragNode:s,dropPosition:d})=>{const[p,h]=At(s,n.value);if(p===null||h===null)return;p.splice(h,1);const[S,f]=At(c,n.value);S===null||f===null||(d==="before"?S.splice(f,0,s):S.splice(f+1,0,s),an(t)||S.unshift(t),a(S))}}},render(){return r(Ee,{displayDirective:"show",trigger:"click",showArrow:!1},{trigger:()=>r(k,{name:"setting",size:ee.tableIconSize,cursor:"pointer",customClassName:"r-table__setting"},null),default:()=>r(ro,{class:"r-table__c-tree",data:this.treeDataSource,blockLine:!0,draggable:!0,keyboard:!1,labelField:"title",selectable:!1,renderSwitcherIcon:ls.bind(this),onDrop:this.treeDrop.bind(this)},null)})}}),rs=M({name:"TablePrint",props:Ae,setup(e){const{wrapperRef:t}=gn(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:""),wn(t,{printOptions:a,domToImageOptions:l})}}},render(){return r(k,{name:"print",size:ee.tableIconSize,cursor:"pointer",onClick:this.printTableClick.bind(this)},null)}}),is=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&&j(i,o)};return(()=>{const{striped:o,bordered:i,onInitialed:c}=e;o&&n.value.push("striped"),i&&n.value.push("bordered"),c&&j(c,n.value)})(),{propsPopselectValue:n,popoverShow:t,updatePopselectValue:a}},render(){return r(sn,{value:this.propsPopselectValue,"onUpdate:value":e=>this.propsPopselectValue=e,options:ns,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 cs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const us=M({name:"RTable",inheritAttrs:!1,props:Ae,setup(e,t){const{expose:n,emit:a}=t,l=ie("rTableInst"),o=ie("wrapperRef"),i=Xe(16),c=Xe(16),s=te({x:0,y:0,showContextMenu:!1}),d=te({size:e.size}),p=I(Object.assign({striped:!1,bordered:!1},Le(e,"striped","bordered"))),h=(u,v)=>{const{onContextMenuClick:C}=e;C&&j(C,u,v),s.showContextMenu=!1},S=(u,v)=>{var T;return{...(T=e.rowProps)==null?void 0:T.call(e,u,v),onContextmenu:e.disabledContextMenu?void 0:b=>{b.preventDefault(),s.showContextMenu=!1,G().then(()=>{s.showContextMenu=!0,s.x=b.clientX,s.y=b.clientY})}}},f=u=>{d.size=u},m=u=>{const{onUpdateColumns:v,"onUpdate:columns":C}=e;v&&j(v,u),C&&j(C,u)},_=()=>{const{toolOptions:u}=e;return u==null?void 0:u.filter(Boolean).map(v=>typeof v=="function"?v():v)},g=u=>{Object.keys(p.value).forEach(C=>{p.value[C]=u.includes(C)})},y=u=>{const{tool:v}=u;if(!v)return;const C=()=>r(E,{align:"center"},{default:()=>[r(rs,u,null),r(os,F(u,{onChangeSize:f.bind(this)}),null),r(as,null,null),r(ss,F(u,{onUpdateColumn:m.bind(this)}),null),r(is,F(u,{onPopselectChange:g.bind(this),onInitialed:g.bind(this)}),null)]});return e.toolOptions?e.coverTool?()=>{let T;return r(E,{align:"center"},cs(T=_())?T:{default:()=>[T]})}:()=>r(E,{align:"center"},{default:()=>[C(),_()]}):C};return Ne(()=>{const{onRegister:u}=e;u&&l.value&&j(u,l.value,{uuidTable:c,uuidWrapper:i,wrapperRef:o})}),Do(ee.tableKey,{uuidTable:c,uuidWrapper:i,wrapperRef:o}),n(),{uuidWrapper:i,uuidTable:c,contextMenuReactive:s,rTableInst:l,combineRowProps:S,contextMenuSelect:h,privateReactive:d,tool:y,wrapperRef:o,propsPopselectValue:p}},render(){const{$props:e,$attrs:t,$slots:n,uuidTable:a,contextMenuReactive:l,uuidWrapper:o,privateReactive:i,propsPopselectValue:c}=this,{class:s,...d}=t,{tool:p,combineRowProps:h,contextMenuSelect:S}=this,{renderWrapperHeader:f,wrapperBordered:m,disabledContextMenu:_,contextMenuOptions:g,title:y,tableFlexHeight:u,cardProps:v,...C}=e;return r(tt,F(v,{id:o},d,{ref:"wrapperRef",bordered:m,class:s}),{default:()=>r(hn,null,[r(io,F({id:a},C,c,{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:g,onClickoutside:()=>l.showContextMenu=!1,onSelect:S.bind(this)},null)]),header:f?ge(y,{defaultElement:r("div",{style:"display: none;"},null)}):null,"header-extra":p(e),footer:()=>{var T;return(T=n.tableFooter)==null?void 0:T.call(n)},action:()=>{var T;return(T=n.tableAction)==null?void 0:T.call(n)}})}}),ds=()=>{const e=I();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 _=document.getElementById(m);wn(_,f)}},filter:f=>a().filter.call(null,f)}]},zn=(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=zn(l.children,t,n);if(o)return o}}},Jt=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},ps=(e,t,n,a)=>{const l=Z(e);return l?t.reduce((o,i)=>{const c=Z(n).findIndex(d=>d[a]===i);if(c!==-1)return o.push(Z(n)[c]),o;const s=l.findIndex(d=>d[a]===i);return s!==-1&&o.push(l[s]),o},[]):n},ni=(e,t,n)=>{const a=I([]),l=I([]),{rowKey:o="key",onChange:i}=n||{},c=w(()=>Jt(t)),s=(m,_,g)=>{a.value=m,l.value=Z(ps(e,m,l,o)),i==null||i(m,l.value,g),Jt(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(g=>g!==m),l.value=l.value.filter(g=>g[o]===m?(_=g,!1):!0),i==null||i(a.value,l.value,{row:_,action:"uncheck"})},f=m=>{if(a.value.includes(m))return;const _=!c.value&&a.value.length>=1,g=zn(Z(e)||[],o,m);_?a.value=[m]:a.value.push(m),g&&(_?l.value=[g]:l.value.push(g),i==null||i(a.value,l.value,{row:g,action:"check"}))};return Lt(()=>{h()}),[a,{checkedRows:l,checkedRowKeysBind:s,getKeys:d,getRows:p,clearAll:h,clearKey:S,selectKey:f}]},ms={transitionPropName:"fade",transitionMode:"out-in",transitionAppear:!0},fs=M({name:"RTransitionComponent",__name:"index",props:jo({transitionPropName:{},transitionMode:{},transitionAppear:{type:Boolean}},ms),setup(e){const{getKeepAliveInclude:t}=xs(),{getKeepAliveConfig:n}=$();return(a,l)=>{const o=Fo("RouterView");return be(),No("div",null,[r(o,null,{default:pt(({Component:i,route:c})=>[i?(be(),ze(za,{key:0,name:a.transitionPropName,mode:a.transitionMode,appear:a.transitionAppear},{default:pt(()=>[(be(),ze(Bo,null,{default:pt(()=>[Z(n).setupKeepAlive?(be(),ze(Vo,{key:0,max:Z(n).maxKeepAliveLength,include:Z(t),exclude:Z(n).keepAliveExclude},[(be(),ze(Ut(i),{key:c.fullPath}))],1032,["max","include","exclude"])):(be(),ze(Ut(i),{key:c.fullPath}))]),_:2},1024))]),_:2},1032,["name","mode","appear"])):$o("",!0)]),_:1})])}}}),gs=M({name:"RForm",props:An,setup(e,{expose:t}){const n=ie("formRef");return Ne(()=>{const{onRegister:a}=e;a&&n.value&&j(a,n.value)}),t(),{formRef:n}},render(){const{$attrs:e,$props:t,$slots:n}=this;return r(rn,F(e,t,{ref:"formRef"}),{...n})}}),oi=(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)||{}}]},hs=["addTabClass","addTabStyle","paneClass","paneStyle","paneWrapperStyle","tabClass","tabStyle","type","label","addable","closable","onAdd","onClose","placement","animated","justifyContent","builtinThemeOverrides","displayDirective"],vs={tabPaddingSmallSegment:"4px 7px",tabPaddingMediumSegment:"6px 11px",tabPaddingLargeSegment:"8px 11px"},ys=et({...co,options:{type:Array,default:()=>[]},width:{type:[Number,String],default:"fitContent"}},...hs);function bs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const kt=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},_s=e=>{if(typeof e.popover=="string")return r(Ee,null,{trigger:()=>kt(e),default:()=>e.popover});if(ce(e.popover,"Object")){const{popover:t}=e,{label:n,...a}=t;return r(Ee,a,{trigger:()=>kt(e),default:()=>n})}},Ss=M({name:"RSegment",props:ys,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(po,F(t,{ref:"segmentRef",style:[a],class:"r-segment",type:"segment",animated:!0,themeOverrides:Object.assign({},vs,l)}),bs(e=n.map(o=>r(uo,{key:o.key,name:o.key,tab:o.popover?_s(o):kt(o),disabled:o.disabled},{...o.slots})))?e:{default:()=>[e]})}}),ws={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]}},ai=M({name:"RBarcode",props:ws,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:c,onSuccess:s}=e,d=Object.assign({},c,{format:o});Uo(t.value,i!=null?i.toString():"",d),s&&j(s,i,o,c)}catch(o){const{onError:i}=e;i&&j(i,o)}finally{const{onFinally:o}=e;o&&j(o)}};return ve(()=>{e.watchText?a=he(()=>e.text,l):a==null||a()}),Ne(()=>{l()}),fn(()=>{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(nt,{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)]})}}),Cs={...et(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 Ts(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const li=M({name:"RTablePro",props:Cs,setup(e){const[t,{clearFilters:n,clearSorter:a,downloadCsv:l,filters:o,page:i,scrollTo:c,sort:s,print:d,filter:p}]=ds(),[h,{getPage:S,getPageSize:f,setCallback:m,setItemCount:_,resetPagination:g,getItemCount:y}]=fr(void 0,{prefix:R=>`共 ${R.itemCount} 条`}),u=w(()=>e.request),v=()=>({getItemCount:y,getPage:S,getPageSize:f}),C=()=>{const{onTablePaginationUpdate:R}=e;R&&j(R,v())},T=R=>{const O=Object.assign({},e.requestConfig,R),{params:P,formatRangeTime:D}=O;return D!=null&&D.length&&P&&D.forEach(V=>{const{key:X,target:W}=V,ue=P[X];if(ue&&(W!=null&&W.length)){const[J,it]=ue;P[W[0]]=J,P[W[1]]=it}else P[X]=null,P[W[0]]=null,P[W[1]]=null}),Object.assign({},P,{page:S(),pageSize:f()})},b=R=>{var P;g();const O=T(R);(P=u.value)==null||P.call(u,O)},x=R=>{var P;const O=T(R);(P=u.value)==null||P.call(u,O)};return ve(()=>{_(e.paginationCount),m(()=>{const{manual:R}=e;R||x(),C()})}),Ne(()=>{const{onRegister:R}=e;R&&j(R,{getTablePagination:v,runTableRequest:b,clearFilters:n,clearSorter:a,downloadCsv:l,filters:o,page:i,scrollTo:c,sort:s,print:d,filter:p,getCurrentTableRequestParams:T})}),{register:t,paginationRef:h}},render(){const{register:e,$props:t,paginationRef:n,$slots:a}=this,{onRegister:l,showPagination:o,...i}=t;return r(us,F(i,{onRegister:e,pagination:o?n:void 0}),Ts(a)?a:{default:()=>[a]})}}),si=()=>{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)}]},Os=(e,t,n)=>!e||typeof e!="object"?!1:e[t]===n,In=(e,t,n)=>{const a=[];if(Os(e,t,n))return a.push(e),a;if(e.children&&e.children.length>0)for(const l of e.children){const o=In(l,t,n);o.length>0&&a.push(e,...o)}return a},Rs=(e,t,n)=>{const a=[];for(const l of e){const o=In(l,t,n);o.length>0&&a.push(...o)}return a},Zt=e=>{const{breadcrumbLabel:t}=e;if(!t)return;const{sideBarLogo:n}=Be(),a=n?n.title:"";document.title=t+" - "+a},As=e=>{const{meta:{icon:t}}=e;if(!t)return;if(ce(t,"Object"))return()=>t;const{menuConfig:n}=Be(),{collapsed:a}=Et(),l=ot(k,{name:t,size:a?n.collapsedIconSize:n.iconSize,cursor:"pointer"},{});return()=>l},Ln=e=>{const{meta:{extra:t}}=e;if(!t)return;const{show:n}=t;if(n===!1)return;const{t:a}=Fe(),{label:l,icon:o,type:i,i18nLabel:c}=t,s={type:"primary",size:"small",round:!0,bordered:!1,strong:!0},d=()=>c?a(c):l||null,p=()=>o&&(c||l)||!o&&(c||l)?null:{"padding-right":"0"};if(ce(t,"Object"))return()=>ot(mo,{...s,type:i||"primary",style:p()},{default:()=>d(),icon:()=>o})},Qt=()=>{const{getRootPath:e}=Pe();return Ye(H.appMenuKey,"sessionStorage",{defaultValue:e.value})},En=()=>Bl(jl()),ks=()=>Fl(En()),Pt=["redirect","breadcrumbLabel","children","key","meta","name","path","show","fullPath"];let Ke;const Dn=(e,t)=>{var n;if(Ke&&Wt(Ke.fullPath,t))return Ke;for(const a of e){if(Wt(a.fullPath,t))return Ke=a,a;if((n=a.children)!=null&&n.length){Dn(a.children,t);continue}}},Et=at("menu",()=>{const{push:e,getRoutes:t}=lt(),n=ra(),{t:a}=Fe(),{setKeepAliveInclude:l}=Ms(),o=te({menuKey:Qt(),options:[],collapsed:!1,menuTagOptions:[],breadcrumbOptions:[],currentMenuOption:null}),i=I(!0),c=(u,v,C)=>{yn(o,u,v,C)},s=u=>{const{meta:v}=u,{i18nKey:C,noLocalTitle:T}=v,b=w(()=>C?a(`${C}`):T),x={...u,key:u.fullPath,label:()=>ot(cn,null,{default:()=>b.value}),breadcrumbLabel:b.value},R=Object.assign({},x,{icon:As(u),extra:Ln(u)});return u.fullPath===Qt()&&(o.currentMenuOption=R),R.show=Rn(R),R},d=u=>{o.breadcrumbOptions=Rs(o.options,"fullPath",u)},p=(u,v=!0)=>{const T=Array.isArray(u)?[...u]:[u];v?o.menuTagOptions.push(...T):o.menuTagOptions=T},h=(u,v)=>{o.menuTagOptions.find(T=>T.fullPath===u)||o.menuTagOptions.push(v)},S=(u,v,C)=>{const{meta:T}=v;if(T.windowOpen)window.open(T.windowOpen);else{e({path:String(u),query:C});const{sameLevel:b}=T;if(l(v),Zt(v),!b)h(u,v),d(u),o.menuKey=u,o.currentMenuOption=v,It(H.appMenuKey,u);else{const x=Le(s(v),Pt);o.breadcrumbOptions.find(O=>O.key===x.key)||o.breadcrumbOptions.push({...x,fullPath:String(x.key)})}}},f=async(u,v)=>{const[C]=u.split("?"),T=t().find(b=>b.path===C);if(!((T==null?void 0:T.path)==="/"||!(T!=null&&T.path)||(T==null?void 0:T.path)==="/login")&&T){const b=Le(T,Pt);S(C,s({...b,fullPath:b.path}),v)}},m=()=>new Promise(u=>{const v=(C,T)=>{var x;const b=[];for(const R of C){let O=`${T.endsWith("/")?T:T+"/"}${R.path}`;if(O=O.replace(/\/+/g,"/"),(x=R.children)!=null&&x.length)R.children=v(R.children,O);else if(!Bn(R.meta))continue;b.push(s({...R,fullPath:O}))}return b};if(o.options=v(En(),""),o.currentMenuOption){const{currentMenuOption:C}=o;o.breadcrumbOptions.length||d(C.key),h(C.fullPath,C),Zt(C)}u()}),_=u=>o.collapsed=u,g=(u,v=1)=>o.menuTagOptions.splice(u,v),y=async()=>{i.value&&(await m(),i.value=!1)};return he(()=>n.fullPath,async(u,v)=>{await y(),u!==v&&await f(u,n.query)},{immediate:!0}),{...Re(o),changeMenuModelValue:S,collapsedMenu:_,spliceMenTagOptions:g,setMenuTagOptions:p,resolveOption:s,updateMenuState:c,setupAppMenu:m}},{persist:{key:H.appPiniaMenuStore,storage:window.localStorage,pick:["breadcrumbOptions","menuKey","menuTagOptions","collapsed"]}}),jn=at("signing",()=>{const e=te({signingCallback:{}}),t=l=>new Promise((o,i)=>{an(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}=Kn(),{appPiniaMenuStore:i,appPiniaSigningStore:c,token:s,signing:d,appMenuKey:p}=H;window.$message.info("账号退出中..."),_e("__all_sessionStorage__","sessionStorage"),_e(c,"localStorage"),_e(i,"localStorage"),_e(s,"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:H.appPiniaSigningStore,pick:["signingCallback"],storage:window.localStorage}}),Nn=at("keepAlive",()=>{const e=te({keepAliveInclude:[]}),t=()=>e.keepAliveInclude.length,n=l=>{const o=t(),{name:i,meta:{keepAlive:c}}=l,{maxKeepAliveLength:s}=Be().keepAliveConfig;if(c){if(o=s&&(e.keepAliveInclude.splice(0,1),e.keepAliveInclude.push(i))}},a=()=>e.keepAliveInclude;return{...Re(e),setKeepAliveInclude:n,getKeepAliveInclude:a}},{persist:{key:H.appPiniaKeepAliveStore,storage:window.sessionStorage,pick:["keepAliveInclude"]}}),ye=()=>{const e=Et(),t=w(()=>e.options),n=w(()=>e.breadcrumbOptions),a=w(()=>e.menuKey),l=w(()=>{const{getRootPath:c}=Pe();return e.menuTagOptions.map((s,d,p)=>(s.key===a.value&&s.key!==c.value?s.closeable=!0:s.closeable=!1,s.key===c.value&&(s.closeable=!1),p.length<=1&&(s.closeable=!1),s))}),o=w(()=>e.currentMenuOption),i=w(()=>e.collapsed);return{getMenuOptions:t,getBreadcrumbOptions:n,getMenuKey:a,getMenuTagOptions:l,getCurrentMenuOption:o,getCollapsed:i}},ke=()=>{const{changeMenuModelValue:e,collapsedMenu:t,spliceMenTagOptions:n,setMenuTagOptions:a,resolveOption:l,updateMenuState:o,setupAppMenu:i}=Et();return{changeMenuModelValue:e,collapsedMenu:t,spliceMenTagOptions:n,setMenuTagOptions:a,resolveOption:l,updateMenuState:o,setupAppMenu:i}},$=()=>{const e=Be(),t=w(()=>e.drawerPlacement),n=w(()=>e.primaryColorOverride),a=w(()=>e._appTheme),l=w(()=>e.appTheme),o=w(()=>e.menuTagSwitch),i=w(()=>e.breadcrumbSwitch),c=w(()=>e.localeLanguage),s=w(()=>e.lockScreenSwitch),d=w(()=>e.copyrightSwitch),p=w(()=>e.contentTransition),h=w(()=>e.watermarkSwitch),S=w(()=>e.watermarkConfig),f=w(()=>e.appRootRoute),m=w(()=>e.sideBarLogo),_=w(()=>e.keepAliveConfig),g=w(()=>e.menuConfig);return{getDrawerPlacement:t,getPrimaryColorOverride:n,getAppTheme:a,getMenuTagSwitch:o,getBreadcrumbSwitch:i,getLocaleLanguage:c,getLockScreenSwitch:s,getCopyrightSwitch:d,getContentTransition:p,getWatermarkSwitch:h,getWatermarkConfig:S,getAppRootRoute:f,getSideBarLogo:m,getKeepAliveConfig:_,getMenuConfig:g,getAppThemeStr:l}},U=()=>{const{updateLocale:e,changePrimaryColor:t,updateSettingState:n}=Be();return{updateLocale:e,changePrimaryColor:t,updateSettingState:n}},Fn=()=>{const e=jn();return{getSigningCallback:w(()=>e.signingCallback)}},Ps=()=>{const{signing:e,logout:t,clearSigningCallback:n}=jn();return{signing:e,logout:t,clearSigningCallback:n}},xs=()=>{const e=Nn();return{getKeepAliveInclude:w(()=>e.keepAliveInclude)}},Ms=()=>{const{setKeepAliveInclude:e,getKeepAliveInclude:t}=Nn();return{setKeepAliveInclude:e,getKeepAliveInclude:t}},ri=e=>{const t=ea();e.use(t),t.use(Qo)},Bn=e=>{const{getSigningCallback:t}=Fn(),{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},zs=e=>{const{setupRouterLoadingBar:t,setupRouterGuard:n}=Ka;t&&Kl(e),n&&Vl(e)},Is=I(),Ls=M({name:"SiderBarLogo",props:{collapsed:{type:Boolean,required:!0}},setup(){const e=lt(),{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:Is},[e!=null&&e.icon?t?r(De,{placement:"right"},{trigger:()=>n({cursor:"pointer"}),default:()=>e.title}):n({cursor:"pointer"}):t?r(De,{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(fo,{class:[t?null:"ray-menu__logo-title--open","ray-menu__logo-title",'class="n-menu-item-content"'],type:"primary",size:18},{default:()=>[r(cn,null,{default:()=>[e.title]})]})]):null}}),Es=M({name:"AppMenu",setup(){const e=I(null),{changeMenuModelValue:t,collapsedMenu:n,updateMenuState:a}=ke(),{getMenuConfig:l}=$(),{getMenuOptions:o,getCollapsed:i,getMenuKey:c}=ye(),s=w({get:()=>(G().then(()=>{h()}),c.value),set:()=>{d.value&&re("globalDrawerValue",!1)}}),{isTabletOrSmaller:d}=rt({observer:f=>{f&&a("collapsed",!1)}}),p=w({get:()=>st("globalDrawerValue").value,set:f=>{re("globalDrawerValue",f)}}),h=()=>{const f=s.value;f!=null&&G(()=>{var m,_;return(_=(m=e.value)==null?void 0:m.showOption)==null?void 0:_.call(m,f)})};return{isTabletOrSmaller:d,BasicMenu:()=>r(ho,{class:"app-menu__sider",showTrigger:!d.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:()=>[l.value.menuSiderBarLogo?r(Ls,{collapsed:i.value},null):null,r(go,{ref:e,class:"r-menu--app",keyField:"fullPath",value:s.value,"onUpdate:value":f=>s.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,iconSize:l.value.iconSize},null)]}),modelGlobalDrawerValue:p}},render(){const{isTabletOrSmaller:e,BasicMenu:t}=this;return e?r(un,{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 Ds{constructor(){Ft(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:[]},js=new Ds,ii=()=>{const e=(c,s)=>{s==="requestInstance"?gt.requestInstance=c:gt.responseInstance=c},t=c=>gt[c],n=(c,s,d)=>{d==="ok"?ht[c]=s:Ue[c]=s},a=(c,s)=>s==="ok"?ht[c]:Ue[c],l=(c,...s)=>{Array.isArray(c)&&c.forEach(d=>{typeof d=="function"&&d(...s)})};return{createAxiosInstance:e,setImplement:n,getImplement:a,getAxiosInstance:t,beforeFetch:(c,s,d)=>{const p=d==="ok"?ht[s]:Ue[s],h=t(c),{MODE:S}=Rt();h&&l(p,h,S)},fetchError:(c,s,d)=>{const p=Ue[d],{MODE:h}=Rt();l(p,s,h)}}},Ns=M({name:"AppRequestCancelerProvider",setup(e,{expose:t}){ia(()=>{js.cancelAllRequest()}),t()},render(){return r("div",{class:"app-style-provider"},null)}}),Vn=M({name:"LayoutContentWrapper",setup(){lt();const{maximize:e}=$n(),{getContentTransition:t}=$(),n=I(!1),a={opacitySpinning:"0"},{globalMainLayoutLoad:l,layoutContentMaximize:o,layoutContentSpinning:i}=Wa();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(nt,{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(Ns,null,null),e?r(fs,{class:"content-wrapper",transitionPropName:i+"-transform"},null):null]})}}),Fs=Object.freeze(Object.defineProperty({__proto__:null,default:Vn},Symbol.toStringTag,{value:"Module"}));var Bs={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.2"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const Vs=M({name:"LayoutFooterWrapper",setup(){const{layout:{copyright:e}}=Bs;return{copyright:e}},render(){return this.copyright?r("div",{class:"layout-footer-wrapper"},[this.copyright]):""}}),$s=M({name:"TooltipIcon",props:{...vo,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(De,this.$props,{trigger:()=>r(e,null,null),default:()=>this.tooltipText}):r(e,null,null)}}),Ks=M({name:"ThemeSegment",setup(){const{system:e}=pn(),{getAppThemeStr:t,getAppTheme:n}=$(),{updateSettingState:a}=U(),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:c=>{i(c,e.value)}}),i=(c,s)=>{if(c==="auto"){a("_appTheme",s==="dark"),a("appTheme","auto");return}a("_appTheme",c==="dark"),a("appTheme",c)};return ve(()=>{i(o.value,e.value)}),{options:l,modelAppTheme:o}},render(){const{options:e}=this;return r(Ss,{options:e,size:"small",width:"block",value:this.modelAppTheme,"onUpdate:value":t=>this.modelAppTheme=t},null)}}),Us={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 Ws=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}=U(),{getAppTheme:l,getPrimaryColorOverride:o,getMenuTagSwitch:i,getBreadcrumbSwitch:c,getCopyrightSwitch:s,getContentTransition:d,getWatermarkSwitch:p,getKeepAliveConfig:h,getMenuConfig:S,getDrawerPlacement:f}=$(),{setupAppMenu:m}=ke(),_=w({get:()=>e.show,set:v=>{t("update:show",v)}}),g=w({get:()=>({getMenuTagSwitch:i.value,getBreadcrumbSwitch:c.value,getCopyrightSwitch:s.value,getContentTransition:d.value,getWatermarkSwitch:p.value,getKeepAliveConfig:h.value,getMenuConfig:S.value,getDrawerPlacement:f.value}),set:v=>{}}),y=xt(m,300);return{modelShow:_,changePrimaryColor:n,getAppTheme:l,getPrimaryColorOverride:o,updateSettingState:a,modelReactive:g,defaultSettingBtnClick:()=>{Zn(Us,(v,C)=>{a(C,v)}),y()},throttleSetupAppMenu:y}},render(){let e,t,n;const{$t:a,changePrimaryColor:l,updateSettingState:o,defaultSettingBtnClick:i,throttleSetupAppMenu:c}=this;return r(un,{show:this.modelShow,"onUpdate:show":s=>this.modelShow=s,placement:this.placement,width:this.width,trapFocus:!1,autoFocus:!1},{default:()=>[r(yo,{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(Ks,null,null),r(oe,{titlePlacement:"center"},vt(t=a("headerSettingOptions.ThemeOptions.PrimaryColorConfig"))?t:{default:()=>[t]}),r(bo,{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($t,{value:this.modelReactive.getContentTransition,"onUpdate:value":s=>this.modelReactive.getContentTransition=s,options:Na,onUpdateValue:s=>{o("contentTransition",s)}},null),r(oe,{titlePlacement:"center"},{default:()=>[fe("抽屉位置")]}),r($t,{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(_o,{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:()=>[r(E,{wrap:!1,align:"center",size:[4,0]},{default:()=>[r(De,{placement:"top",showArrow:!1},{trigger:()=>r(k,{name:"question",size:"16"},null),default:()=>"菜单渲染是一个复杂、耗时的操作,请手动更新"}),r(Ot,null,{default:()=>[fe("菜单样式")]})]})]}),r(rn,{showFeedback:!0,showRequireMark:!1},{default:()=>[r(xe,{label:"每级菜单缩进"},{default:()=>[r(Me,{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(xe,{label:"菜单图标尺寸"},{default:()=>[r(Me,{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(xe,{label:"折叠菜单图标尺寸"},{default:()=>[r(Me,{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(xe,{label:"折叠菜单宽度"},{default:()=>[r(Me,{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(xe,{showFeedback:!1,showLabel:!1},{default:()=>[r(Y,{onClick:c,block:!0,type:"info",secondary:!0},{icon:()=>r(k,{name:"question",size:"16"},null),default:()=>"点击刷新"})]})]}),r(oe,{titlePlacement:"center"},{default:()=>[r(E,{wrap:!1,align:"center",size:[4,0]},{default:()=>[r(De,{placement:"top",showArrow:!1},{trigger:()=>r(k,{name:"question",size:"16"},null),default:()=>"当设置为【0】时,缓存将会失效"}),r(Ot,null,{default:()=>[fe("最大缓存数")]})]})]}),r(Me,{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(Y,{type:"primary",block:!0,onClick:i},{default:()=>[fe("清除设置")]})]})]})]})]})}});function qs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const Gs=M({name:"SiderBarBreadcrumb",setup(){const{changeMenuModelValue:e}=ke(),{getBreadcrumbOptions:t}=ye(),{isTabletOrSmaller:n}=rt();return{getBreadcrumbOptions:t,dropdownSelect:(o,i)=>{e(o,i)},breadcrumbItemClick:o=>{var i;if(!((i=o.children)!=null&&i.length)){const{meta:c={}}=o;c.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(wo,null,{default:()=>[r(Ia,{tag:"li",name:"breadcrumb",appear:!0},qs(e=n.map(o=>r(So,{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 Hs=M({name:"GlobalSearch",props:{show:{type:Boolean,default:!1}},emits:["update:show"],setup(e,{emit:t}){const{changeMenuModelValue:n,resolveOption:a}=ke(),{getRoutes:l}=lt(),o=w({get:()=>e.show,set:b=>{t("update:show",b),b||f()}}),i=te({searchValue:null,searchOptions:[]}),c=[{icon:["↑","↓"],label:"切换",plain:!0},{icon:["↵"],label:"选择",plain:!0},{icon:["esc"],label:"关闭",plain:!0}];let s=0,d=s;const{isTabletOrSmaller:p}=rt(),h=I(!1),S="content-item--active",f=()=>{i.searchOptions=[],i.searchValue=null,s=0,d=s},m=b=>{o.value||(b.ctrlKey||b.metaKey)&&b.key==="k"&&(b.preventDefault(),b.stopPropagation(),f(),o.value=!0)},_=b=>{if(b)h.value=!0;else{h.value=!1,i.searchOptions=[];return}const x=l().reduce((R,O)=>{var V;const P=Le(O,["children","meta","path","name"]),D=a({...P,fullPath:O.path}),{breadcrumbLabel:K}=D;return(V=K==null?void 0:K.toLocaleLowerCase())!=null&&V.includes(b.toLocaleLowerCase())&&Rn(D)&&R.push(D),R},[]);setTimeout(()=>{i.searchOptions=x,G().then(()=>{y()}),h.value=!1},500)},g=b=>{if(b){const{meta:x}=b;x.windowOpen?window.open(x.windowOpen):(o.value=!1,n(b.fullPath,b),setTimeout(Ho,300))}},y=()=>{const b=i.searchOptions[s],x=i.searchOptions[d];b&&G().then(()=>{const R=Je(`attr:data_path="${b.path}"`),O=x?Je(`attr:data_path="${x==null?void 0:x.path}"`):null;if(O!=null&&O.length){const[P]=O;Yo(P,S)}if(R!=null&&R.length){const[P]=R;Sn(P,S)}})},u=b=>{const{icon:x}=b;return typeof x=="string"?r(k,{name:x,size:"24"},null):typeof x=="function"?()=>x:r(k,{name:"search",size:"24"},null)},v=b=>{b==="up"&&(s-=1,s<0&&(s=i.searchOptions.length-1)),b==="down"&&(s+=1,s>=i.searchOptions.length&&(s=0))},C=b=>{const x=b.key;switch((x==="ArrowUp"||x==="ArrowDown"||x==="Enter")&&(b.preventDefault(),b.stopPropagation()),d=s<=0?0:s,x){case"ArrowUp":v("up");break;case"ArrowDown":v("down");break;case"Enter":const R=i.searchOptions[s];R&&g(R);break}y()},T=({menuOption:b})=>r(E,F({align:"center",class:"content-item"},{onClick:g.bind(this,b),data_path:b.path}),{default:()=>[r("div",{class:"content-item-icon"},[u(b.meta)]),r("div",{class:"content-item-label"},[b.breadcrumbLabel]),r(k,{name:"enter",size:"18",customClassName:"content-item-icon__enter"},null)]});return ve(()=>{p.value&&(o.value=!1)}),je(window,"keydown",b=>{m(b),C(b)},!0),{...Re(i),modelShow:o,helperTipOptions:c,fuzzySearchMenuOptions:xt(_,300),searchItemClick:g,RenderPreIcon:u,isTabletOrSmaller:p,SearchItem:T,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(ln,{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(tt,{class:"global-search__card",headerStyle:{padding:"12px 12px 0 12px"},contentStyle:{padding:"12px"},segmented:{action:"soft"}},{header:()=>r(Co,{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(Mt,null,{default:()=>[r(nt,{show:n},{default:()=>[t.length?r(E,{vertical:!0,size:[0,6],class:"global-search__card-content"},yt(o=t.map((i,c)=>r(a,{menuOption:i,key:i.fullPath},null)))?o:{default:()=>[o]}):r(To,{size:"large",class:"global-search__empty"},{icon:()=>null,default:()=>r(E,{justify:"center",class:"global-search__empty-content"},{default:()=>[r(Ot,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(c=>r(E,{class:"item-icon",align:"center",justify:"center"},yt(c)?c:{default:()=>[c]})),r(E,{class:"item-label",align:"center"},{default:()=>[i.label]})]})))?o:{default:()=>[o]})}})])])]})}}),Ys=M({name:"GlobalSearchButton",props:{onClick:{type:[Function,Array],default:null}},setup(e){return{getShortcutKeyAboutSystem:()=>{const a=Xo();return a==="MacOS"?"⌘ + K":"CTRL + K"},click:a=>{const{onClick:l}=e;l&&j(l,a)}}},render(){const{getShortcutKeyAboutSystem:e,click:t,$t:n}=this;return r(Y,{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()])]})})}}),Xs=M({name:"AppAvatar",props:{...Oo,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}=Fn();return{getSigningCallback:e}},render(){const{getSigningCallback:e,avatarSize:t,spaceSize:n,$props:a,vertical:l}=this;return r(Y,{quaternary:!0,strong:!0,focusable:!1},{default:()=>[r(E,{align:"center",size:n,vertical:l},{default:()=>[r(Ro,F(a,{src:e==null?void 0:e.avatar,objectFit:"cover",round:!0,size:t}),null),e==null?void 0:e.name]})]})}}),Js=()=>[{key:"person",label:"个人信息"},{key:"lockScreen",label:"锁定屏幕"},{type:"divider",key:"d1"},{key:"logout",label:"退出登陆"}],Zs={logout:()=>{const{logout:e}=Ps();window.$dialog.warning({title:"提示",content:"您确定要退出登录吗",positiveText:"确定",negativeText:"不确定",onPositiveClick:()=>{e()}})},lockScreen:()=>{const{updateSettingState:e}=U();e("lockScreenSwitch",!0)}},Qs=e=>{const t=Zs[e];t?t():window.$message.info("这个人很懒, 没做这个功能~")},er=e=>{const{isTabletOrSmaller:t}=e,n=[],a=[{name:"menu",size:18,eventKey:"menu"}];return t.value?a:n},tr=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},nr=M({name:"AppSiderBar",setup(){const{updateLocale:e,updateSettingState:t}=U(),{t:n}=Fe(),[a,{toggleFullscreen:l,isEnabled:o}]=vn(document.getElementsByTagName("html")[0]),{getDrawerPlacement:i,getBreadcrumbSwitch:c}=$(),s=I(!1),d=I(!1),{isTabletOrSmaller:p}=rt(),h=st("globalDrawerValue"),S=w(()=>er({isFullscreen:a,isTabletOrSmaller:p})),f=w(()=>tr({isFullscreen:a,isTabletOrSmaller:p})),m={search:()=>{d.value=!0},setting:()=>{s.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:f,toolIconClick:y=>{var u;(u=m[y])==null||u.call(m)},showSettings:s,updateLocale:e,getDrawerPlacement:i,getBreadcrumbSwitch:c,globalSearchShown:d,isRenderVNode:y=>p.value?null:y}},render(){const{rightTooltipIconOptions:e,leftIconOptions:t,getDrawerPlacement:n,getBreadcrumbSwitch:a}=this,{toolIconClick:l,updateLocale:o,isRenderVNode:i}=this;return r(dn,{class:"layout-header"},{default:()=>[r(Hs,{show:this.globalSearchShown,"onUpdate:show":c=>this.globalSearchShown=c},null),r(E,{class:"layout-header__method",align:"center",justify:"space-between",wrap:!1},{default:()=>[r(E,{align:"center",wrap:!1},{default:()=>[t.map(c=>r($s,{key:c.name,iconName:c.name,tooltipText:mn(c.tooltip)?c.tooltip.value:c.tooltip,customClassName:c.iconClass,onClick:l.bind(this,c.name)},null)),a?r(Gs,null,null):null]}),r(E,{justify:"end",align:"center",size:[0,0],wrap:!1},{default:()=>[i(r(Ys,{onClick:c=>{c.stopPropagation(),this.globalSearchShown=!0}},null)),e.map(c=>r(Y,{class:"override-button__layout",quaternary:!0,size:"medium",key:c.name,onClick:l.bind(this,c.name),focusable:!1},{default:()=>[r(k,{name:c.name,size:16,cursor:"pointer"},null)]})),r(Oe,{options:Cn,onSelect:c=>o(String(c)),trigger:"click"},{default:()=>[r(Y,{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:Js(),onSelect:Qs.bind(this),trigger:"click"},{default:()=>[r(Xs,{avatarSize:24,spaceSize:[8,0],class:"override-button__layout"},null)]})]})]}),r(Ws,{show:this.showSettings,"onUpdate:show":c=>this.showSettings=c,placement:n},null)]})}}),or=M({name:"LayoutHeaderWrapper",setup(){return{}},render(){return r(E,{size:[0,0]},{default:()=>[r(nr,null,null)]})}});function ar(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const lr=M({name:"AppMenuTag",setup(e,{expose:t}){const n=ie("scrollRef"),{getMenuKey:a,getMenuTagOptions:l}=ye(),{changeMenuModelValue:o}=ke(),{getRootPath:i}=Pe(),{maximize:c}=$n(),{reload:s}=gr(),{close:d,closeAll:p,closeRight:h,closeLeft:S,closeOther:f,checkCloseLeft:m,checkCloseRight:_}=Kn(),g=["closeAll","closeRight","closeLeft","closeOther"];let y=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}]),C=Xe(16),T={closeCurrentPage:()=>{a.value!==i.value&&d(y)},reloadCurrentPage:()=>{s()},closeAll:()=>{p()},closeRight:()=>{h(y)},closeLeft:()=>{S(y)},closeOther:()=>{f(y)},windowOpenTab:()=>{const A=l.value[y];if(!(A!=null&&A.fullPath))return;const z=A.fullPath.startsWith("#")?A.fullPath:`#${A.fullPath}`;window.open(z,"_blank")},maximizeLayoutContent:()=>{const A=l.value[y];c(!0),A&&X(A)}},b=te({x:0,y:0,actionDropdownShow:!1}),x="menu_tag_data",R=st("globalMainLayoutLoad"),O="n-scrollbar-container";let P=a.value;const D=I(!1),K=A=>{d(A)},V=(A,z)=>{for(const q of v.value)if(q.key===A){q.disabled=z;break}},X=A=>{b.actionDropdownShow=!1,o(A.fullPath,A)},W=()=>{const A=document.getElementById(C);if(A)return Array.from(A.childNodes).find(Ve=>Jo(Ve,O).value)},ue=A=>{var q;const z=W();if(z){const Ve=z.scrollLeft||0,Nt=A==="left"?Math.max(0,Ve-200):Ve+200;(q=n.value)==null||q.scrollTo({left:Nt,behavior:"smooth"})}},J=A=>{b.actionDropdownShow=!1;const z=T[A];z==null||z()},it=(A,z)=>{z.preventDefault(),y=A,b.actionDropdownShow=!1,G(()=>{b.x=z.clientX,b.y=z.clientY,b.actionDropdownShow=!0})},jt=()=>{_(y)?V("closeRight",!1):V("closeRight",!0),m(y)?V("closeLeft",!1):V("closeLeft",!0)},Wn=()=>{y=l.value.findIndex(z=>z.fullPath===a.value),jt()},qn=A=>{l.value.length>1&&A.fullPath!==i.value&&(A.closeable=!0),D.value=!0},Gn=A=>{A.fullPath!==a.value&&(A.closeable=!1),D.value=!1},Hn=()=>{W()&&G().then(()=>{var z;(z=n.value)==null||z.scrollTo({left:99999,behavior:"smooth"})})},ct=()=>{G().then(()=>{const A=Je(`attr:${x}="${a.value}"`);if(A!=null&&A.length){const[z]=A;G().then(()=>{var q;(q=n.value)==null||q.scrollTo({left:z.offsetLeft,behavior:"smooth"})})}})},Yn=()=>{c(!0)};return he(()=>l.value,(A,z)=>{v.value.forEach(q=>{g.includes(q.key)&&(A.length>1?q.disabled=!1:q.disabled=!0)}),z!=null&&z.length&&(A.length>(z==null?void 0:z.length)?Hn():A.length===(z==null?void 0:z.length)&&ct()),z===void 0&&ct()},{immediate:!0}),ve(()=>{b.actionDropdownShow&&jt(),P!==a.value&&(P=a.value,ct())}),t(),{getMenuTagOptions:l,closeCurrentMenuTag:K,getMenuKey:a,menuTagClick:X,moreOptions:v,scrollX:ue,scrollRef:n,uuidScrollBar:C,actionDropdownSelect:J,actionState:b,menuTagContextMenu:it,setCurrentContextmenuIndex:Wn,menuTagMouseenter:qn,menuTagMouseleave:Gn,MENU_TAG_DATA:x,iconConfig:u,maximize:c,reload:s,globalMainLayoutLoad:R,maximizeBtnClick:Yn,isMouseInMenuTag:D}},render(){let e;const{iconConfig:t,uuidScrollBar:n,getMenuTagOptions:a,MENU_TAG_DATA:l,globalMainLayoutLoad:o,isMouseInMenuTag:i}=this,{maximizeBtnClick:c,closeCurrentMenuTag:s,scrollX:d,$t:p,menuTagClick:h,menuTagContextMenu:S,menuTagMouseenter:f,menuTagMouseleave:m,actionDropdownSelect:_,reload:g}=this;return r(dn,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:_.bind(this),onClickoutside:()=>{i||(this.actionState.actionDropdownShow=!1)}},null),r(E,{class:"menu-tag-space",wrap:!1,align:"center",justify:"space-between",inline:!0},{default:()=>[r(Y,{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(Mt,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"},ar(e=a.map((y,u)=>r(Y,F({key:y.fullPath,class:["menu-tag__btn"],strong:!0,secondary:!0,type:y.fullPath===this.getMenuKey?"primary":"default"},{onClick:h.bind(this,y),onContextmenu:S.bind(this,u),onMouseenter:f.bind(this,y),onMouseleave:m.bind(this,y),[l]:y.fullPath},{size:"small",focusable:!1}),{default:()=>r(hn,null,[r("span",null,{default:()=>{const{breadcrumbLabel:v,meta:{i18nKey:C}}=y;return C?p(C):v}}),r(Ao,F({class:"menu-tag__btn-icon"},{onMousedown:s.bind(this,u)}),{default:()=>[r(k,{name:"close",size:"14"},null)]})])})))?e:{default:()=>[e]})]}),r(E,{align:"center",inline:!0,wrap:!1,size:[0,0]},{default:()=>[r(Y,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:d.bind(this,"right")},{icon:()=>r(k,{name:"expanded",width:t.size,height:t.size,style:{transform:"rotate(180deg)"}},null)}),r(Y,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:c},{icon:()=>r(k,{name:"fullscreen_fold",width:t.size,height:t.size},null)}),r(Y,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:()=>{g()}},{icon:()=>r(k,{name:"reload",width:t.size,height:t.size,customClassName:`${o?"":"menu-tag__right-setting--spinning"}`},null)}),r(Mn,{class:"menu-tag__dropdown",options:this.moreOptions,trigger:"click",onSelect:this.actionDropdownSelect.bind(this),iconSize:18,keyboard:!1},{default:()=>[r(Y,{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)})]})]})]})])]})}}),sr=M({name:"LayoutFeatureWrapper",setup(){return{}},render(){return r(lr,null,null)}}),rr=e=>{const t=dt(e[0]),n=dt(e[1]),a=dt(e[2]),{height:l,width:o}=zt();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`}))},en=zo(H.isAppLockScreen,!1,sessionStorage,{mergeDefaults:!0}),ir=()=>({setLockAppScreen:n=>{en.value=n},getLockAppScreen:()=>en.value}),cr=M({name:"RLayout",setup(){const e=I(),t=I(),n=I(),{getMenuTagSwitch:a,getCopyrightSwitch:l}=$(),{getLockAppScreen:o}=ir(),i=rr([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(Es,null,null),r(Kt,{class:"r-layout-full__viewer"},{default:()=>[r(or,{ref:"layoutSiderBarRef"},null),e?r(sr,{ref:"layoutMenuTagRef"},null):null,r(Kt,{ref:we,class:["r-layout-full__viewer-content"],nativeScrollbar:!1},{default:()=>[r(Vn,null,null)]}),n?r(Vs,{ref:"layoutFooterRef"},null):null]})]})}}),ur=[{path:"/",name:"RLogin",component:()=>L(()=>import("./index-BxSh1D3V.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:cr,children:[...ks(),{path:"/:catchAll(.*)",component:()=>L(()=>import("./index-DPphVKho.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}}]}],Qe=ca({history:ua(),routes:ur,scrollBehavior:e=>{$l(e)}}),ci=e=>{e.use(Qe),zs(Qe)},Dt=()=>Qe?{router:Qe}:{router:{}},tn="YYYY-MM-DD HH:mm:ss",dr=()=>({locale:i=>{const c=Va[i];c?ae.locale(c):ae.locale($a)},getStartAndEndOfDay:i=>{const{format:c=tn}=i??{},s=ae(),d=s.startOf("day"),p=s.endOf("day"),h=s.format(c),S=d.format(c),f=p.format(c);return{today:s,startOfDay:d,endOfDay:p,formatToday:h,formatStartOfDay:S,formatEndOfDay:f}},format:(i,c)=>{const{format:s=tn}=c??{};return ae(i).format(s)},isDayjs:i=>ae.isDayjs(i),daysDiff:(i,c)=>{const s=ae(i);return ae(c).diff(s,"days")},isDateInRange:(i,c)=>{const{start:s,end:d}=c,p=ae(i);return p.isAfter(s)&&p.isBefore(d)}});function rt(e){const{width:t,height:n}=zt(e),a=I(!1),{observer:l}=e??{};return Zo(()=>{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}=zt(),nn=document.createElement("style"),pr=(e,t)=>{const{beforeEnter:n,beforeExit:a,enter:l,exit:o,backgroundColor:i,zIndex:c,transition:s="all 0.3s var(--r-bezier)"}=t??{};let d=!1;const p={x:null,y:null},h=()=>{const g=se(e);if(!g)return;const{left:y,top:u}=g.getBoundingClientRect();p.x===null&&p.y===null&&(p.x=-y,p.y=-u),qe(document.body,{"--element-fullscreen-z-index":ce(c,"Null")||ce(c,"Undefined")?bt:c,"--element-fullscreen-transition":s,"--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);
- }
- `;nn.innerHTML=v,_t||document.head.appendChild(nn)},S=()=>{const g=se(e);n==null||n(),g&&(g.getAttribute(me)||g.setAttribute(me,me),d||(d=!0,bt+=1),_t||(h(),_t=!0),g.style.transition=s,l==null||l())},f=()=>{a==null||a();const g=se(e);g&&g.removeAttribute(me),o==null||o()},m=()=>{const g=se(e);g&&(g.getAttribute(me)?f():S())},_=he(()=>[St.value,wt.value],h);return Lt(()=>{const g=se(e);g&&g.removeAttribute(me),bt--,_()}),{enter:S,exit:f,toggleFullscreen:m,currentWindowSize:{width:St,height:wt}}},Ct={svg:ta,png:na,jpeg:oa,blob:aa,pixelData:la,canvas:sa},ui=(e,t)=>{const{beforeCreate:n,created:a,createdError:l,finally:o,imageType:i}=t??{};return{create:s=>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[s??i??"jpeg"])==null||S.call(Ct,h,t).then(f=>(a==null||a(f,h),d(f))).catch(f=>(l==null||l(f),p(f))).finally(()=>{o==null||o(h)})})}},di=(e,t)=>({print:()=>{const a=se(e)||e;Ko({...et(t,["printable"]),printable:a})}}),mr={page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50,100]},fr=(e,t)=>{const n=I(e),a=et(t,["on-update:page","on-update:page-size","onUpdatePage","onUpdatePageSize","onUpdate:page","onUpdate:page-size"]),o=I(Object.assign({},mr,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,c=o.value.onUpdatePageSize,s=()=>o.value.itemCount,d=u=>{o.value.itemCount=u},p=()=>o.value.page,h=u=>{i(u)},S=()=>o.value.pageSize,f=u=>{c(u)},m=()=>o.value,_=e,g=u=>{n.value=u},y=()=>{const{pageSizes:u}=o.value;o.value.page=1,o.value.pageSize=(u==null?void 0:u[0])||10};return Lt(()=>{n.value=void 0}),[o,{getItemCount:s,setItemCount:d,getPage:p,setPage:h,getPageSize:S,setPageSize:f,getPagination:m,getCallback:_,setCallback:g,resetPagination:y}]},$n=()=>({isLayoutContentMaximized:w(()=>st("layoutContentMaximize").value),maximize:(n,a)=>{var c;const{scrollToOptions:l}=a??{},o=se(we),{toggleFullscreen:i}=pr(o,a);re("layoutContentMaximize",n),i(),l&&n&&((c=we==null?void 0:we.value)==null||c.scrollTo(l))}}),gr=()=>({reload:(a=800)=>{re("globalMainLayoutLoad",!1),setTimeout(()=>re("globalMainLayoutLoad",!0),a)},openSpin:()=>{re("layoutContentSpinning",!0)},closeSpin:()=>{re("layoutContentSpinning",!1)}}),pi=()=>({setWatermarkContent:l=>{const{getWatermarkConfig:o}=$(),i=Object.assign(o.value,{content:l}),{updateSettingState:c}=U();c("watermarkConfig",i)},showWatermark:()=>{const{updateSettingState:l}=U();l("watermarkSwitch",!0)},hiddenWatermark:()=>{const{updateSettingState:l}=U();l("watermarkSwitch",!1)},toggleWatermark:()=>{const{getWatermarkSwitch:l}=$(),{updateSettingState:o}=U();o("watermarkSwitch",!l.value)}}),We=e=>{const{getPrimaryColorOverride:t}=$(),{updateSettingState:n}=U();n("primaryColorOverride",e?Object.assign({},t.value,Q.appNaiveUIThemeOverrides.dark,Q.appNaiveUIThemeOverridesCommon.dark):Object.assign({},t.value,Q.appNaiveUIThemeOverrides.light,Q.appNaiveUIThemeOverridesCommon.light))},mi=()=>{const e=()=>{const{getAppTheme:o}=$(),{t:i}=Fe();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}=U();o("_appTheme",!0),o("appTheme","dark"),We(!0)},lightTheme:()=>{const{updateSettingState:o}=U();o("_appTheme",!1),o("appTheme","light"),We(!1)},toggleTheme:()=>{const{theme:o}=e(),{updateSettingState:i}=U();i("_appTheme",!o),i("appTheme",o?"light":"dark"),We(!o)},getAppTheme:e,syncSystemTheme:()=>{const{getAppTheme:o}=$(),{updateSettingState:i}=U(),{system:c}=pn();i("_appTheme",c.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 Kn(){const{getMenuTagOptions:e,getMenuKey:t}=ye(),{changeMenuModelValue:n,spliceMenTagOptions:a,setMenuTagOptions:l,resolveOption:o}=ke(),i=()=>e.value.findIndex(m=>m.fullPath===t.value);return{close:m=>{const _=Se(m,"close");if(e.value.length!==1&&_){const{index:g,option:y}=_;if(a(g),y.fullPath===t.value){const u=e.value[g-1];u&&n(u.fullPath,u)}}},closeAll:()=>{a(0,e.value.length);const{getRootPath:m}=Pe(),{router:{getRoutes:_}}=Dt(),g=_().find(y=>y.path===m.value);if(g){const y=Le(g,Pt),u=o(y);n(u.path,o({...u,fullPath:u.path}))}},closeRight:m=>{const _=Se(m,"closeRight");if(_){const{option:g,index:y}=_,u=e.value.length-y,v=i();a(y+1,u),y<=v&&t.value!==g.fullPath&&n(g.fullPath,g)}},closeLeft:m=>{const _=Se(m,"closeLeft");if(_){const{option:g,index:y}=_,u=i();a(0,y),u<=y&&t.value!==g.fullPath&&n(g.fullPath,g)}},closeOther:m=>{const _=Se(m,"closeOther");if(_){const{option:g}=_;t.value!==g.fullPath?(a(0,e.value.length),n(g.fullPath,g)):l(g,!1)}},getCurrentTagIndex:i,checkCloseRight:m=>{const _=Se(m,"checkCloseRight");if(_){const{index:g}=_,y=e.value.length-1;return!(g>=y)}return!1},checkCloseLeft:m=>{const _=Se(m,"checkCloseRight");if(_){const{index:g}=_,y=e.value.length-1;return g===0?!1:g>0&&y>0}return!1}}}function fi(){return{navigationTo:(t,n)=>{const{router:{getRoutes:a,push:l,replace:o}}=Dt(),{isPush:i=!0,query:c}=n||{},s=d=>i?l({path:d,query:c}):o({path:d,query:c});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:[f]}=S;h(f);return}s(S.fullPath)};h(p)}else if(typeof t=="string"){const d=a().find(p=>p.path===t);d?s(d.path):console.warn(`[navigationTo]: The path "${t}" is not found.`)}else s(t.fullPath)}}}function Pe(){const{getAppRootRoute:e}=$(),{updateSettingState:t}=U(),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 hr=(e,t)=>{const{show:n,...a}=t;e.meta.extra=Object.assign({},e.meta.extra,{...a,show:n}),e.extra=Ln(e)},on=(e,t,n)=>{const a=Dn(e,t);a&&hr(a,n)},Tt=(e,t,n)=>{const{getMenuOptions:a}=ye();if(typeof e=="string")on(a.value,e,n);else if(ce(e,"Object")){const{fullPath:l}=e;on(a.value,l,n)}else console.warn(`[useBadge ${t}]: target expect string or object.`)};function gi(){return{hidden:a=>{Tt(a,"hidden",{show:!1})},show:a=>{Tt(a,"show",{show:!0})},update:(a,l)=>{Tt(a,"update",l)}}}const hi=()=>{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},Un=()=>Ye(H.localeLanguage,"localStorage",{defaultValue:Fa});export{$n as $,Wr as A,Hr as B,Jr as C,$a as D,Zr as E,oi as F,gs as G,Qr as H,fr as I,Xr as J,us as K,Tn as L,Kr as M,ti as N,Ss as O,si as P,ni as Q,ei as R,Is as S,li as T,dr as U,js as V,ii as W,Gr as X,ds as Y,Mn as Z,L as _,ui as a,fi as a0,gr as a1,pi as a2,gi as a3,di as b,hi as c,qr as d,$ as e,H as f,$r as g,U as h,ir as i,Ps as j,rt as k,Xs as l,st as m,Ur as n,Yr as o,ci as p,Pe as q,Fe as r,ri as s,k as t,mi as u,Cn as v,mt as w,Dt as x,Vr as y,ai as z};
diff --git a/js/hooks-c8QJeqZl.js.gz b/js/hooks-c8QJeqZl.js.gz
deleted file mode 100644
index 7d333550..00000000
Binary files a/js/hooks-c8QJeqZl.js.gz and /dev/null differ
diff --git a/js/index-2lWBKoiq.js.gz b/js/index-2lWBKoiq.js.gz
deleted file mode 100644
index b441e0d5..00000000
Binary files a/js/index-2lWBKoiq.js.gz and /dev/null differ
diff --git a/js/index-B-g8tG7K.js b/js/index-B-g8tG7K.js
deleted file mode 100644
index 964e40d5..00000000
--- a/js/index-B-g8tG7K.js
+++ /dev/null
@@ -1 +0,0 @@
-import{t as n}from"./hooks-c8QJeqZl.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-2lWBKoiq.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-S0J9kMkU.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-BvBR3SlX.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-B-g8tG7K.js.gz b/js/index-B-g8tG7K.js.gz
deleted file mode 100644
index 5ea92f23..00000000
Binary files a/js/index-B-g8tG7K.js.gz and /dev/null differ
diff --git a/js/index-B1y7IB92.js.gz b/js/index-B1y7IB92.js.gz
deleted file mode 100644
index 162e6f61..00000000
Binary files a/js/index-B1y7IB92.js.gz and /dev/null differ
diff --git a/js/index-DbAQZpVN.js b/js/index-B4VbZD3l.js
similarity index 89%
rename from js/index-DbAQZpVN.js
rename to js/index-B4VbZD3l.js
index c8b21359..d729a40c 100644
--- a/js/index-DbAQZpVN.js
+++ b/js/index-B4VbZD3l.js
@@ -1 +1 @@
-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-S0J9kMkU.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};
+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-DtgApL3K.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-B4VbZD3l.js.gz b/js/index-B4VbZD3l.js.gz
new file mode 100644
index 00000000..3532f6cf
Binary files /dev/null and b/js/index-B4VbZD3l.js.gz differ
diff --git a/js/index-vSwqeH-1.js b/js/index-BIEmcx8R.js
similarity index 63%
rename from js/index-vSwqeH-1.js
rename to js/index-BIEmcx8R.js
index 5c2863f8..3381e937 100644
--- a/js/index-vSwqeH-1.js
+++ b/js/index-BIEmcx8R.js
@@ -1 +1 @@
-import{H as r}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{H as r}from"./hooks-DNoo5Jj5.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-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-BIEmcx8R.js.gz b/js/index-BIEmcx8R.js.gz
new file mode 100644
index 00000000..2d964b66
Binary files /dev/null and b/js/index-BIEmcx8R.js.gz differ
diff --git a/js/index-BNL7US1N.js.gz b/js/index-BNL7US1N.js.gz
deleted file mode 100644
index e5b71d76..00000000
Binary files a/js/index-BNL7US1N.js.gz and /dev/null differ
diff --git a/js/index-BVKRM6-W.js b/js/index-BVKRM6-W.js
new file mode 100644
index 00000000..055fa2b1
--- /dev/null
+++ b/js/index-BVKRM6-W.js
@@ -0,0 +1 @@
+import{j as T,q as C,r as L,f,t as r,e as F,u as P,h as A,v as $}from"./hooks-DNoo5Jj5.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 V}from"./vue-router@4.3.2_vue@3.5.12-DrIOQ45i.js";import{s as y}from"./utils-DewQlJ2W.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{H as w,L as S,O as q,q as z,V as G,n as I,c as l,x as D,I as E,y as b,j as H,a as Q,b as k,N as U,s as W,R as c,E as x}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js";import{l as a,b as e,p as m,I as d,F as B}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{k as p,e as _,x as R}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{Q as K}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-CT0XK3_m.js";import"./lodash-es@4.17.21-CeZG2a4n.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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}=T(),{getRootPath:o}=C(),s=p(!1),u=()=>({name:"Ray Admin",pwd:"123456"}),j=V(),g=p(u()),N={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(O=>{O||(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:N,loading:s}},render(){let t;const{$t:i,loading:n}=this;return e(z,{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(q,{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(G,{status:"info",title:"提示",description:"我实在是不想写了..."},null)}}),te=a({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(K,{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(E,{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.3"},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{...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(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(H,{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(U,{class:"login__right-wrapper__content",embedded:!0,bordered:!1},{default:()=>[e(W,{value:this.tabsValue,"onUpdate:value":n=>this.tabsValue=n,type:"line",animated:!0,size:"large"},{default:()=>e(B,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-BVKRM6-W.js.gz b/js/index-BVKRM6-W.js.gz
new file mode 100644
index 00000000..c22da309
Binary files /dev/null and b/js/index-BVKRM6-W.js.gz differ
diff --git a/js/index-BXBystby.js b/js/index-BXBystby.js
new file mode 100644
index 00000000..4ee208b7
--- /dev/null
+++ b/js/index-BXBystby.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-DNoo5Jj5.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{a0 as _1,a1 as b1,a2 as M1,a3 as y1,a4 as w1,a5 as k1,a6 as P,a7 as C1,a8 as Z1,q as $,H as N,L as F,O as k,c as z1,a9 as S1,aa as x1,e as H1}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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,b as Z,w as z,m as q,s as A,f as L,i as j1}from"./utils-DewQlJ2W.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"./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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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.3"},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(e,{fullscreen:!0}),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.3"},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-BXBystby.js.gz b/js/index-BXBystby.js.gz
new file mode 100644
index 00000000..93c9ad4f
Binary files /dev/null and b/js/index-BXBystby.js.gz differ
diff --git a/js/index-Bt-EC2y-.js b/js/index-BaTrdXhk.js
similarity index 95%
rename from js/index-Bt-EC2y-.js
rename to js/index-BaTrdXhk.js
index fbdadae7..9d71c329 100644
--- a/js/index-Bt-EC2y-.js
+++ b/js/index-BaTrdXhk.js
@@ -1 +1 @@
-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-S0J9kMkU.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};
+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-DtgApL3K.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-BaTrdXhk.js.gz b/js/index-BaTrdXhk.js.gz
new file mode 100644
index 00000000..aced9ce1
Binary files /dev/null and b/js/index-BaTrdXhk.js.gz differ
diff --git a/js/index-BdJwXouh.js b/js/index-BdJwXouh.js
deleted file mode 100644
index 9e45f4fd..00000000
--- a/js/index-BdJwXouh.js
+++ /dev/null
@@ -1 +0,0 @@
-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-S0J9kMkU.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.2"},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-BdJwXouh.js.gz b/js/index-BdJwXouh.js.gz
deleted file mode 100644
index 9e49820f..00000000
Binary files a/js/index-BdJwXouh.js.gz and /dev/null differ
diff --git a/js/index-Bt-EC2y-.js.gz b/js/index-Bt-EC2y-.js.gz
deleted file mode 100644
index b5f635a9..00000000
Binary files a/js/index-Bt-EC2y-.js.gz and /dev/null differ
diff --git a/js/index-CPdEOCC2.js b/js/index-BuRzBDbW.js
similarity index 85%
rename from js/index-CPdEOCC2.js
rename to js/index-BuRzBDbW.js
index 4a972150..fa0fc59d 100644
--- a/js/index-CPdEOCC2.js
+++ b/js/index-BuRzBDbW.js
@@ -1 +1 @@
-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-S0J9kMkU.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};
+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{L as p}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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 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};
diff --git a/js/index-BuRzBDbW.js.gz b/js/index-BuRzBDbW.js.gz
new file mode 100644
index 00000000..37b2425e
Binary files /dev/null and b/js/index-BuRzBDbW.js.gz differ
diff --git a/js/index-Bv-ZoPHL.js.gz b/js/index-Bv-ZoPHL.js.gz
deleted file mode 100644
index 2ce7db0a..00000000
Binary files a/js/index-Bv-ZoPHL.js.gz and /dev/null differ
diff --git a/js/index-BxSh1D3V.js b/js/index-BxSh1D3V.js
deleted file mode 100644
index dd1cb62f..00000000
--- a/js/index-BxSh1D3V.js
+++ /dev/null
@@ -1 +0,0 @@
-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-c8QJeqZl.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-BvBR3SlX.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{M 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-S0J9kMkU.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 M}from"./ray-dCjhX_JK.js";import{e as X}from"./@vueuse_core@11.1.0_vue@3.5.12-C00EZtgk.js";import{A as Y}from"./index-2lWBKoiq.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 J(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},J(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:M},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.2"},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}=X(),{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(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-BxSh1D3V.js.gz b/js/index-BxSh1D3V.js.gz
deleted file mode 100644
index a377d0c9..00000000
Binary files a/js/index-BxSh1D3V.js.gz and /dev/null differ
diff --git a/js/index-C-b-gGDU.js.gz b/js/index-C-b-gGDU.js.gz
deleted file mode 100644
index fb144ff0..00000000
Binary files a/js/index-C-b-gGDU.js.gz and /dev/null differ
diff --git a/js/index-C4S3Jatz.js b/js/index-C4S3Jatz.js
new file mode 100644
index 00000000..57e62c08
--- /dev/null
+++ b/js/index-C4S3Jatz.js
@@ -0,0 +1 @@
+import"./hooks-DNoo5Jj5.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-DewQlJ2W.js";import{l as D,b as u,I as p,n as B}from"./@vue_runtime-core@3.5.12-Ds-HrVrM.js";import{e as f,x as v}from"./@vue_reactivity@3.5.12-Bs6EYLxJ.js";import{c as r,N as i,K as o,J as s,$ as V}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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"./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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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=D({name:"CalculatePrecision",setup(){const t=f({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=()=>{B().then(()=>{t.distributeOutputValue=h(t.distributeValue,t.distributeLength)})};return e(),{...v(t),copilotFunc:n,updateDistributeValue:e}},render(){return u(V,null,{default:()=>[u("h2",{style:"margin: 0 0 20px 0"},[p("计算方法,默认都保留八位小数与四舍五入,可以根据 format 方法自行转换")]),u("h3",{style:"margin: 0 0 20px 0"},[p("示例方法都基于 currency.js 封装,利用其精度处理能力封装了常用的一些计算方法,解决精度问题。如果需要其他的方法请阅读官方文档 https://currency.js.org/#subtract")]),u(r,{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(r,null,{default:()=>[u(s,{value:this.distributeValue,"onUpdate:value":t=>this.distributeValue=t,onUpdateValue:()=>{this.updateDistributeValue()}},null),u(s,{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-C4S3Jatz.js.gz b/js/index-C4S3Jatz.js.gz
new file mode 100644
index 00000000..4226c545
Binary files /dev/null and b/js/index-C4S3Jatz.js.gz differ
diff --git a/js/index-CPdEOCC2.js.gz b/js/index-CPdEOCC2.js.gz
deleted file mode 100644
index 2120b2e5..00000000
Binary files a/js/index-CPdEOCC2.js.gz and /dev/null differ
diff --git a/js/index-2lWBKoiq.js b/js/index-CT0XK3_m.js
similarity index 90%
rename from js/index-2lWBKoiq.js
rename to js/index-CT0XK3_m.js
index 06c3095d..83ba87fa 100644
--- a/js/index-2lWBKoiq.js
+++ b/js/index-CT0XK3_m.js
@@ -1 +1 @@
-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-S0J9kMkU.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};
+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,X as c,c as p}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-CT0XK3_m.js.gz b/js/index-CT0XK3_m.js.gz
new file mode 100644
index 00000000..d834a2b1
Binary files /dev/null and b/js/index-CT0XK3_m.js.gz differ
diff --git a/js/index-CVDY37Yi.js.gz b/js/index-CVDY37Yi.js.gz
deleted file mode 100644
index da94cae2..00000000
Binary files a/js/index-CVDY37Yi.js.gz and /dev/null differ
diff --git a/js/index-DhpTzH6d.js b/js/index-CZrqUJff.js
similarity index 66%
rename from js/index-DhpTzH6d.js
rename to js/index-CZrqUJff.js
index a1b7f141..7d1d2ad6 100644
--- a/js/index-DhpTzH6d.js
+++ b/js/index-CZrqUJff.js
@@ -1 +1 @@
-import{K as p}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{K as p}from"./hooks-DNoo5Jj5.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{O as n,c as m}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.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-CZrqUJff.js.gz b/js/index-CZrqUJff.js.gz
new file mode 100644
index 00000000..869d0f36
Binary files /dev/null and b/js/index-CZrqUJff.js.gz differ
diff --git a/js/index-I9v4fVPd.js b/js/index-CrzR9VpM.js
similarity index 93%
rename from js/index-I9v4fVPd.js
rename to js/index-CrzR9VpM.js
index 7e469691..043447c7 100644
--- a/js/index-I9v4fVPd.js
+++ b/js/index-CrzR9VpM.js
@@ -1 +1 @@
-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-S0J9kMkU.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};
+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,O as d}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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 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};
diff --git a/js/index-CrzR9VpM.js.gz b/js/index-CrzR9VpM.js.gz
new file mode 100644
index 00000000..25a3b071
Binary files /dev/null and b/js/index-CrzR9VpM.js.gz differ
diff --git a/js/index-Cs_4j77B.js b/js/index-Cs_4j77B.js
deleted file mode 100644
index a72b4c79..00000000
--- a/js/index-Cs_4j77B.js
+++ /dev/null
@@ -1 +0,0 @@
-import"./hooks-c8QJeqZl.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-BvBR3SlX.js";import{c as p,N as i,al as o,O as r,_ as D}from"./naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.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-Cs_4j77B.js.gz b/js/index-Cs_4j77B.js.gz
deleted file mode 100644
index 0c52af8a..00000000
Binary files a/js/index-Cs_4j77B.js.gz and /dev/null differ
diff --git a/js/index-GfRP_Izk.js b/js/index-CtH5AG_t.js
similarity index 78%
rename from js/index-GfRP_Izk.js
rename to js/index-CtH5AG_t.js
index c0d3232f..b9fbf1d2 100644
--- a/js/index-GfRP_Izk.js
+++ b/js/index-CtH5AG_t.js
@@ -1 +1 @@
-import{N as m,R as i}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{N as m,R as i}from"./hooks-DNoo5Jj5.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,O as r}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-CtH5AG_t.js.gz b/js/index-CtH5AG_t.js.gz
new file mode 100644
index 00000000..0274b315
Binary files /dev/null and b/js/index-CtH5AG_t.js.gz differ
diff --git a/js/index-CxYrOniq.js.gz b/js/index-CxYrOniq.js.gz
deleted file mode 100644
index 1d33ffce..00000000
Binary files a/js/index-CxYrOniq.js.gz and /dev/null differ
diff --git a/js/index-SBc90cMw.js b/js/index-D03MkEFA.js
similarity index 94%
rename from js/index-SBc90cMw.js
rename to js/index-D03MkEFA.js
index 099b94d4..77ef31e2 100644
--- a/js/index-SBc90cMw.js
+++ b/js/index-D03MkEFA.js
@@ -1 +1 @@
-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-S0J9kMkU.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};
+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{L as p}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-D03MkEFA.js.gz b/js/index-D03MkEFA.js.gz
new file mode 100644
index 00000000..82f87732
Binary files /dev/null and b/js/index-D03MkEFA.js.gz differ
diff --git a/js/index-DDm0KxCm.js b/js/index-D1JklQAF.js
similarity index 68%
rename from js/index-DDm0KxCm.js
rename to js/index-D1JklQAF.js
index daab5bd1..6e8adde7 100644
--- a/js/index-DDm0KxCm.js
+++ b/js/index-D1JklQAF.js
@@ -1 +1 @@
-import{B as d}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{B as d}from"./hooks-DNoo5Jj5.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-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-D1JklQAF.js.gz b/js/index-D1JklQAF.js.gz
new file mode 100644
index 00000000..18e37dd9
Binary files /dev/null and b/js/index-D1JklQAF.js.gz differ
diff --git a/js/index-DPphVKho.js b/js/index-D1ThNEs9.js
similarity index 62%
rename from js/index-DPphVKho.js
rename to js/index-D1ThNEs9.js
index dad3a58f..e1abeca3 100644
--- a/js/index-DPphVKho.js
+++ b/js/index-D1ThNEs9.js
@@ -1 +1 @@
-import{w as u,x as s,f as a}from"./hooks-c8QJeqZl.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-BvBR3SlX.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-S0J9kMkU.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};
+import{w as u,x as s,f as a}from"./hooks-DNoo5Jj5.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-DewQlJ2W.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{ab as c,V as l,c as d,O as i}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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"./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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-D1ThNEs9.js.gz b/js/index-D1ThNEs9.js.gz
new file mode 100644
index 00000000..7afe0b06
Binary files /dev/null and b/js/index-D1ThNEs9.js.gz differ
diff --git a/js/index-DJlOet97.js b/js/index-D1ZCvgoG.js
similarity index 69%
rename from js/index-DJlOet97.js
rename to js/index-D1ZCvgoG.js
index c736e48f..d2ed2365 100644
--- a/js/index-DJlOet97.js
+++ b/js/index-D1ZCvgoG.js
@@ -1 +1 @@
-import{I as C,J as f,K as k}from"./hooks-c8QJeqZl.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-_AoK-7-_.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-S0J9kMkU.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-BvBR3SlX.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};
+import{I as C,J as f,K as k}from"./hooks-DNoo5Jj5.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-CZSdczlG.js";import"./lodash@4.17.21-Cw59kuJw.js";import{N as l,q as y,aj as h,L as D,O as i,c as p}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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 N,x 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"./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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.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}),Pt=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=N({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,...P(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{Pt as default};
diff --git a/js/index-D1ZCvgoG.js.gz b/js/index-D1ZCvgoG.js.gz
new file mode 100644
index 00000000..a5f2d659
Binary files /dev/null and b/js/index-D1ZCvgoG.js.gz differ
diff --git a/js/index-D1ed38ZE.js b/js/index-D1ed38ZE.js
new file mode 100644
index 00000000..7fa8edfc
--- /dev/null
+++ b/js/index-D1ed38ZE.js
@@ -0,0 +1 @@
+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,ac as a,ad as p,v as N}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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.3"},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"}],d=y([]),u=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),[]);d.value=o(s),u.value=o(n)},k=o=>{o.url&&window.open(o.url)};return x(()=>{h()}),{columns:f,dependenciesOptions:d,devDependenciesOptions:u,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-D1ed38ZE.js.gz b/js/index-D1ed38ZE.js.gz
new file mode 100644
index 00000000..74f41158
Binary files /dev/null and b/js/index-D1ed38ZE.js.gz differ
diff --git a/js/index-CVDY37Yi.js b/js/index-D2Sm3Md2.js
similarity index 80%
rename from js/index-CVDY37Yi.js
rename to js/index-D2Sm3Md2.js
index 48ac8f21..de41b7b6 100644
--- a/js/index-CVDY37Yi.js
+++ b/js/index-D2Sm3Md2.js
@@ -1 +1 @@
-import{t as d,O as o}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{t as d,O as o}from"./hooks-DNoo5Jj5.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{ag as F,N as i,a as b,b as l,c as B,al as f,am as a}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-D2Sm3Md2.js.gz b/js/index-D2Sm3Md2.js.gz
new file mode 100644
index 00000000..1b5a24a8
Binary files /dev/null and b/js/index-D2Sm3Md2.js.gz differ
diff --git a/js/index-DCSGS0fX.js.gz b/js/index-DCSGS0fX.js.gz
deleted file mode 100644
index 871de75b..00000000
Binary files a/js/index-DCSGS0fX.js.gz and /dev/null differ
diff --git a/js/index-DDm0KxCm.js.gz b/js/index-DDm0KxCm.js.gz
deleted file mode 100644
index 7f2c4fc9..00000000
Binary files a/js/index-DDm0KxCm.js.gz and /dev/null differ
diff --git a/js/index-DJlOet97.js.gz b/js/index-DJlOet97.js.gz
deleted file mode 100644
index 520eae78..00000000
Binary files a/js/index-DJlOet97.js.gz and /dev/null differ
diff --git a/js/index-DPphVKho.js.gz b/js/index-DPphVKho.js.gz
deleted file mode 100644
index 0f4c7952..00000000
Binary files a/js/index-DPphVKho.js.gz and /dev/null differ
diff --git a/js/index-DPtaassS.js b/js/index-DPtaassS.js
deleted file mode 100644
index 06a67a9c..00000000
--- a/js/index-DPtaassS.js
+++ /dev/null
@@ -1 +0,0 @@
-import{Y as U,Q as j,J as z,K as G,t as L,Z as P}from"./hooks-c8QJeqZl.js";import{j as Y}from"./utils-BvBR3SlX.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-S0J9kMkU.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-DPtaassS.js.gz b/js/index-DPtaassS.js.gz
deleted file mode 100644
index d026ffa7..00000000
Binary files a/js/index-DPtaassS.js.gz and /dev/null differ
diff --git a/js/index-B1y7IB92.js b/js/index-DSsu4ch3.js
similarity index 85%
rename from js/index-B1y7IB92.js
rename to js/index-DSsu4ch3.js
index 0468fff6..4f7a8aa6 100644
--- a/js/index-B1y7IB92.js
+++ b/js/index-DSsu4ch3.js
@@ -1 +1 @@
-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-S0J9kMkU.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};
+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{L as i}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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=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};
diff --git a/js/index-DSsu4ch3.js.gz b/js/index-DSsu4ch3.js.gz
new file mode 100644
index 00000000..a9fc397a
Binary files /dev/null and b/js/index-DSsu4ch3.js.gz differ
diff --git a/js/index-DT78SV6J.js.gz b/js/index-DT78SV6J.js.gz
deleted file mode 100644
index c7bde683..00000000
Binary files a/js/index-DT78SV6J.js.gz and /dev/null differ
diff --git a/js/index-DbAQZpVN.js.gz b/js/index-DbAQZpVN.js.gz
deleted file mode 100644
index 038b6a00..00000000
Binary files a/js/index-DbAQZpVN.js.gz and /dev/null differ
diff --git a/js/index-C-b-gGDU.js b/js/index-DbfJADJ4.js
similarity index 82%
rename from js/index-C-b-gGDU.js
rename to js/index-DbfJADJ4.js
index 840cb18d..45155078 100644
--- a/js/index-C-b-gGDU.js
+++ b/js/index-DbfJADJ4.js
@@ -1 +1 @@
-import{t as c,_ as o}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{t as c,_ as o}from"./hooks-DNoo5Jj5.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-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-DbfJADJ4.js.gz b/js/index-DbfJADJ4.js.gz
new file mode 100644
index 00000000..67a60e44
Binary files /dev/null and b/js/index-DbfJADJ4.js.gz differ
diff --git a/js/index-DfNkotGY.js b/js/index-DfNkotGY.js
deleted file mode 100644
index 7a7b5d81..00000000
--- a/js/index-DfNkotGY.js
+++ /dev/null
@@ -1 +0,0 @@
-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 b,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-c8QJeqZl.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 M1,a1 as b1,a2 as y1,a3 as w1,a4 as k1,a5 as P,a6 as C1,a7 as Z1,q as $,M 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-S0J9kMkU.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-BvBR3SlX.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(M1,r1,{default:()=>[n(b1,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.2"},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(b.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),M=()=>{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:M,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.2"},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(b.appVersionProvider,"localStorage"),l=_(!1),{logout:o}=R();return t!==null?e!==t&&(l.value=!0,A(b.appVersionProvider,e,"localStorage")):A(b.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 M;if(!((M=t==null?void 0:t.__d_ripple__)!=null&&M.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-DfNkotGY.js.gz b/js/index-DfNkotGY.js.gz
deleted file mode 100644
index 41490236..00000000
Binary files a/js/index-DfNkotGY.js.gz and /dev/null differ
diff --git a/js/index-DhpTzH6d.js.gz b/js/index-DhpTzH6d.js.gz
deleted file mode 100644
index 87d5c9ef..00000000
Binary files a/js/index-DhpTzH6d.js.gz and /dev/null differ
diff --git a/js/index-CxYrOniq.js b/js/index-Dor1-zOS.js
similarity index 73%
rename from js/index-CxYrOniq.js
rename to js/index-Dor1-zOS.js
index 25a8fa3b..f1d89161 100644
--- a/js/index-CxYrOniq.js
+++ b/js/index-Dor1-zOS.js
@@ -1 +1 @@
-import{F as f,G as h}from"./hooks-c8QJeqZl.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,O 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-S0J9kMkU.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-BvBR3SlX.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};
+import{F as f,G as h}from"./hooks-DNoo5Jj5.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,aj as r,L as p,J as v,ak as b,al as y,am as s,c as N,O as l}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-Dor1-zOS.js.gz b/js/index-Dor1-zOS.js.gz
new file mode 100644
index 00000000..702bf97d
Binary files /dev/null and b/js/index-Dor1-zOS.js.gz differ
diff --git a/js/index-Drj3PGgk.js b/js/index-Drj3PGgk.js
new file mode 100644
index 00000000..d486451c
--- /dev/null
+++ b/js/index-Drj3PGgk.js
@@ -0,0 +1 @@
+import{t as n}from"./hooks-DNoo5Jj5.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-CT0XK3_m.js";import{N as i,ac as f,ad as c,ae as s,af as E,c as o,v as p}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-Drj3PGgk.js.gz b/js/index-Drj3PGgk.js.gz
new file mode 100644
index 00000000..4f3c32e7
Binary files /dev/null and b/js/index-Drj3PGgk.js.gz differ
diff --git a/js/index-BNL7US1N.js b/js/index-Dx_gm2nu.js
similarity index 85%
rename from js/index-BNL7US1N.js
rename to js/index-Dx_gm2nu.js
index 2b01d982..3724a26d 100644
--- a/js/index-BNL7US1N.js
+++ b/js/index-Dx_gm2nu.js
@@ -1 +1 @@
-import{C as r,E as A}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{C as r,E as A}from"./hooks-DNoo5Jj5.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,O as i,I as C}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-Dx_gm2nu.js.gz b/js/index-Dx_gm2nu.js.gz
new file mode 100644
index 00000000..3219342a
Binary files /dev/null and b/js/index-Dx_gm2nu.js.gz differ
diff --git a/js/index-EwbgOaHC.js b/js/index-EwbgOaHC.js
new file mode 100644
index 00000000..d10ffff7
--- /dev/null
+++ b/js/index-EwbgOaHC.js
@@ -0,0 +1 @@
+import{Y as U,Q as G,J as L,K as z,t as j,Z as P}from"./hooks-DNoo5Jj5.js";import{k as Y}from"./utils-DewQlJ2W.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,ag as _,O as u,v as S,b as r,G as Q,L as F,ak as X,I as Z,n as q}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js";import{l as H,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"./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"./interactjs@1.10.26-DZL_TZzP.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 Ze=H({name:"TableView",setup(){const[n,{getTableInstance:c,clearFilters:p,clearSorter:m,scrollTo:f,filters:k,sort:C,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)]})}],g=x([...b].map((t,a)=>({...t}))),s=x([]),w=[{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}]=G(s,g,{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:g,baseColumns:b,tableMenuOptions:w,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:k,sort:C,downloadCsv:y,getTableInstance:c,print:h}},render(){let n;const{register:c,clearAll:p,checkedRowKeysBind:m,clearSecondIndexRow:f,selectAll:k,selectSecondIndexRow:C,clearFilters:y,clearSorter:h,scrollTo:b,filters:g,sort:s,downloadCsv:w,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:()=>{w()}},{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:k.bind(this)},{default:()=>[l("选中所有行")]}),e(u,{onClick:p.bind(this)},{default:()=>[l("取消所有已选中行")]}),e(u,{onClick:C.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(L,{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(X,{type:"datetimerange",clearable:!0},null)]}),e(r,null,{default:()=>[e(F,null,null)]}),e(r,null,{default:()=>[e(F,null,null)]})])}),e(z,{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(Z,{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(q,null,{trigger:()=>e(j,{name:"search",size:"18",cursor:"pointer",onClick:()=>{window.$message.info("点击了搜索按钮")}},null),default:()=>"我是自定义工具栏示例"})],rowKey:o=>o.key,striped:!0},{tableFooter:()=>"表格的底部内容区域插槽,有时候你可能会用上",tableAction:()=>"表格的操作区域内容插槽,有时候可能会用上"})]})}});export{Ze as default};
diff --git a/js/index-EwbgOaHC.js.gz b/js/index-EwbgOaHC.js.gz
new file mode 100644
index 00000000..1f1132ba
Binary files /dev/null and b/js/index-EwbgOaHC.js.gz differ
diff --git a/js/index-DCSGS0fX.js b/js/index-EwsxEsV-.js
similarity index 81%
rename from js/index-DCSGS0fX.js
rename to js/index-EwsxEsV-.js
index a8859520..095518dc 100644
--- a/js/index-DCSGS0fX.js
+++ b/js/index-EwsxEsV-.js
@@ -1 +1 @@
-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-_AoK-7-_.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-S0J9kMkU.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-c8QJeqZl.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-BvBR3SlX.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};
+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-CZSdczlG.js";import{c as l,N as o,O as A,L as i,$ as g}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DNoo5Jj5.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.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-EwsxEsV-.js.gz b/js/index-EwsxEsV-.js.gz
new file mode 100644
index 00000000..53124141
Binary files /dev/null and b/js/index-EwsxEsV-.js.gz differ
diff --git a/js/index-GfRP_Izk.js.gz b/js/index-GfRP_Izk.js.gz
deleted file mode 100644
index 0e8654a8..00000000
Binary files a/js/index-GfRP_Izk.js.gz and /dev/null differ
diff --git a/js/index-I9v4fVPd.js.gz b/js/index-I9v4fVPd.js.gz
deleted file mode 100644
index 1fc767c2..00000000
Binary files a/js/index-I9v4fVPd.js.gz and /dev/null differ
diff --git a/js/index-Bv-ZoPHL.js b/js/index-Ov7I6uVL.js
similarity index 95%
rename from js/index-Bv-ZoPHL.js
rename to js/index-Ov7I6uVL.js
index ba430014..8c77339a 100644
--- a/js/index-Bv-ZoPHL.js
+++ b/js/index-Ov7I6uVL.js
@@ -1 +1 @@
-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,O as B,af as p,T as d,K as E,q as m,M as h}from"./naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.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};
+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,ag as n,v as s,O as r,J as B,ah as p,L as d,I as E,q as m,H as h}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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 H=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{H as default};
diff --git a/js/index-Ov7I6uVL.js.gz b/js/index-Ov7I6uVL.js.gz
new file mode 100644
index 00000000..9876bd08
Binary files /dev/null and b/js/index-Ov7I6uVL.js.gz differ
diff --git a/js/index-SBc90cMw.js.gz b/js/index-SBc90cMw.js.gz
deleted file mode 100644
index 510b365b..00000000
Binary files a/js/index-SBc90cMw.js.gz and /dev/null differ
diff --git a/js/index-Xx5IoaRU.js b/js/index-Xx5IoaRU.js
deleted file mode 100644
index 15299490..00000000
--- a/js/index-Xx5IoaRU.js
+++ /dev/null
@@ -1 +0,0 @@
-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-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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-Xx5IoaRU.js.gz b/js/index-Xx5IoaRU.js.gz
deleted file mode 100644
index da62efeb..00000000
Binary files a/js/index-Xx5IoaRU.js.gz and /dev/null differ
diff --git a/js/index-DT78SV6J.js b/js/index-b8T1nLRq.js
similarity index 70%
rename from js/index-DT78SV6J.js
rename to js/index-b8T1nLRq.js
index b50c3be2..be1d2a38 100644
--- a/js/index-DT78SV6J.js
+++ b/js/index-b8T1nLRq.js
@@ -1 +1 @@
-import"./hooks-c8QJeqZl.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-BvBR3SlX.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-S0J9kMkU.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};
+import"./hooks-DNoo5Jj5.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-DewQlJ2W.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{c as i,ah as u,ai as a,L as m,O as o,N as d}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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"./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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-b8T1nLRq.js.gz b/js/index-b8T1nLRq.js.gz
new file mode 100644
index 00000000..ccc65c78
Binary files /dev/null and b/js/index-b8T1nLRq.js.gz differ
diff --git a/js/index-nJFSuG-j.js b/js/index-nJFSuG-j.js
new file mode 100644
index 00000000..6f88666f
--- /dev/null
+++ b/js/index-nJFSuG-j.js
@@ -0,0 +1 @@
+import{m as S,e as W,$ as w,t as V,a0 as y,a1 as N,a2 as L,u as M,a3 as I}from"./hooks-DNoo5Jj5.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,L as T,O as t}from"./naive-ui@2.40.1_vue@3.5.12-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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}=L(),{darkTheme:f,lightTheme:k,toggleTheme:l,getAppTheme:g,syncSystemTheme:o}=M(),{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-nJFSuG-j.js.gz b/js/index-nJFSuG-j.js.gz
new file mode 100644
index 00000000..9a4c6d69
Binary files /dev/null and b/js/index-nJFSuG-j.js.gz differ
diff --git a/js/index-vSwqeH-1.js.gz b/js/index-vSwqeH-1.js.gz
deleted file mode 100644
index 096fa8de..00000000
Binary files a/js/index-vSwqeH-1.js.gz and /dev/null differ
diff --git a/js/instance-_AoK-7-_.js b/js/instance-CZSdczlG.js
similarity index 93%
rename from js/instance-_AoK-7-_.js
rename to js/instance-CZSdczlG.js
index 48ed59f1..94b3483c 100644
--- a/js/instance-_AoK-7-_.js
+++ b/js/instance-CZSdczlG.js
@@ -1 +1 @@
-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-c8QJeqZl.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-BvBR3SlX.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-DNoo5Jj5.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-DewQlJ2W.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-CZSdczlG.js.gz b/js/instance-CZSdczlG.js.gz
new file mode 100644
index 00000000..fc4c1c68
Binary files /dev/null and b/js/instance-CZSdczlG.js.gz differ
diff --git a/js/instance-_AoK-7-_.js.gz b/js/instance-_AoK-7-_.js.gz
deleted file mode 100644
index 7817ec9c..00000000
Binary files a/js/instance-_AoK-7-_.js.gz and /dev/null differ
diff --git a/js/naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.js b/js/naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js
similarity index 99%
rename from js/naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.js
rename to js/naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js
index 2a969f5c..1785b2eb 100644
--- a/js/naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.js
+++ b/js/naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js
@@ -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{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,Oy as L,hb as M,jv as N,by 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};
+`).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{xy as $,dy as A,Sy as B,wy as C,Rp as D,sy as E,oy as F,hp as G,hb as H,Py as I,by as J,uy as K,Bo as L,Oy as M,jv as N,At as O,Em as P,cy as Q,$y as R,Ry as S,ty as T,ey as U,ky as V,Hh as W,JC as X,yy as Y,Jp as Z,Cy as _,my as a,rx as a0,Cx as a1,mm as a2,Rx as a3,Mx as a4,py as a5,Ay as a6,ip as a7,My as a8,Dy as a9,Yx as aa,Wx as ab,ay as ac,ly as ad,Iy as ae,By as af,ZC as ag,Ph as ah,QC as ai,vy as aj,iy as ak,Mp as al,Id as am,ry as an,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-S0J9kMkU.js.gz b/js/naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js.gz
similarity index 99%
rename from js/naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.js.gz
rename to js/naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js.gz
index 9328fb50..28f45fe8 100644
Binary files a/js/naive-ui@2.40.1_vue@3.5.12-S0J9kMkU.js.gz and b/js/naive-ui@2.40.1_vue@3.5.12-DtgApL3K.js.gz differ
diff --git a/js/utils-BvBR3SlX.js.gz b/js/utils-BvBR3SlX.js.gz
deleted file mode 100644
index 5b4b54ef..00000000
Binary files a/js/utils-BvBR3SlX.js.gz and /dev/null differ
diff --git a/js/utils-BvBR3SlX.js b/js/utils-DewQlJ2W.js
similarity index 98%
rename from js/utils-BvBR3SlX.js
rename to js/utils-DewQlJ2W.js
index f91f2c39..7e1e83b6 100644
--- a/js/utils-BvBR3SlX.js
+++ b/js/utils-DewQlJ2W.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-c8QJeqZl.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};
+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-DNoo5Jj5.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,ko as b,Wo as c,uo as d,io as e,vo as f,xo as g,Ye as h,S as i,ho as j,So 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-DewQlJ2W.js.gz b/js/utils-DewQlJ2W.js.gz
new file mode 100644
index 00000000..b67704c2
Binary files /dev/null and b/js/utils-DewQlJ2W.js.gz differ
diff --git a/js/zh-CN-D9w4k3vo.js b/js/zh-CN-B5CyUpxI.js
similarity index 82%
rename from js/zh-CN-D9w4k3vo.js
rename to js/zh-CN-B5CyUpxI.js
index 3b9cb648..340849ad 100644
--- a/js/zh-CN-D9w4k3vo.js
+++ b/js/zh-CN-B5CyUpxI.js
@@ -1 +1 @@
-import{y as Z}from"./hooks-c8QJeqZl.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-S0J9kMkU.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-BvBR3SlX.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};
+import{y as Z}from"./hooks-DNoo5Jj5.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-DtgApL3K.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-DewQlJ2W.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"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.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-B5CyUpxI.js.gz b/js/zh-CN-B5CyUpxI.js.gz
new file mode 100644
index 00000000..4563ce30
Binary files /dev/null and b/js/zh-CN-B5CyUpxI.js.gz differ
diff --git a/js/zh-CN-D9w4k3vo.js.gz b/js/zh-CN-D9w4k3vo.js.gz
deleted file mode 100644
index 6a3799b9..00000000
Binary files a/js/zh-CN-D9w4k3vo.js.gz and /dev/null differ
diff --git a/mockServer/mock-data.js b/mockServer/mock-data.js
index 9e234aef..f2a3d60a 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-1730019786110.js
+// mock-data-1730019794583.js
import { transformMockData } from "vite-plugin-mock-dev-server";
// mock/demo/person.mock.ts
@@ -85,7 +85,7 @@ var getPersonList = defineMock({
}
});
-// mock-data-1730019786110.js
+// mock-data-1730019794583.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_1730019786110_default = transformMockData(mockList);
+var mock_data_1730019794583_default = transformMockData(mockList);
export {
- mock_data_1730019786110_default as default
+ mock_data_1730019794583_default as default
};
diff --git a/mockServer/mock-data.js.gz b/mockServer/mock-data.js.gz
index c6f3ea76..99ff2921 100644
Binary files a/mockServer/mock-data.js.gz and b/mockServer/mock-data.js.gz differ