diff --git a/css/hooks-DgTlppCH.css b/css/hooks-DgTlppCH.css deleted file mode 100644 index 93996915..00000000 --- a/css/hooks-DgTlppCH.css +++ /dev/null @@ -1 +0,0 @@ -.n-card.r-draggable-card{-webkit-transform-origin:0 0;transform-origin:0 0;position:absolute;width:var(--r-draggable-card-width);z-index:var(--r-draggable-card-z-index)}#draggable-card-container{position:fixed;top:0;left:0;width:0;height:0}.draggable-card-enter-active,.draggable-card-leave-active{-webkit-transition:opacity .3s var(--r-bezier);transition:opacity .3s var(--r-bezier)}.draggable-card-enter-from,.draggable-card-leave-to{opacity:0}.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;max-height:calc(var(--html-height) - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))}.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-flow{width:var(--r-flow-width);height:var(--r-flow-height)}.lf-text-input,.lf-control-text,.lf-menu-item{color:initial}.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%}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content .content-wrapper{width:100%;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)}.ray-template--light .layout-content__maximize-out{background-color:#d5d3d1;color:#44403c}.ray-template--light .layout-content__maximize-out:hover{color:#2c2a28;background:#757473}.ray-template--dark .layout-content__maximize-out{background-color:#44403c;color:#d5d3d1}.ray-template--dark .layout-content__maximize-out:hover{color:#eae9e8;background:#a19f9d}.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{-webkit-transition:color .3s var(--n-bezier),background-color .3s var(--n-bezier),opacity .3s var(--n-bezier),border-color .3s var(--n-bezier),width .3s var(--n-bezier);transition:color .3s var(--n-bezier),background-color .3s var(--n-bezier),opacity .3s var(--n-bezier),border-color .3s var(--n-bezier),width .3s var(--n-bezier)}.menu-tag .menu-tag__btn .n-button__icon{opacity:0;width:0;height:var(--n-icon-size);-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier);margin-left:0;-webkit-transform:translateX(4px);transform:translate(4px)}.menu-tag .menu-tag__btn:hover .n-button__icon{opacity:1;width:var(--n-icon-size);-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier)}.ray-template--light .menu-tag__btn-icon:hover{-webkit-filter:brightness(1.2);filter:brightness(1.2)}.ray-template--dark .menu-tag__btn-icon:hover{-webkit-filter:brightness(.8);filter:brightness(.8)}.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}.app-lock-screen__content.app-lock-screen__content--full{width:100%;height:var(--html-height);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}.app-lock-screen__content .app-lock-screen__input button[class*=n-button]{width:100%}.app-lock-screen__content .app-lock-screen__input form[class*=n-form]{margin:24px 0}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content{position:relative;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-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg__wrapper{width:100%;height:100%;background-color:#101014}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg{position:absolute;width:100%;height:100%;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;font-size:16.67rem;gap:80px;z-index:0}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg.app-lock-screen__unlock__content-bg--smaller .left,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg.app-lock-screen__unlock__content-bg--smaller .right{font-size:90px;padding:24px;border-radius:4px}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg .left,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg .right{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;border-radius:30px;background-color:#141313;font-weight:700;padding:80px;-webkit-filter:blur(4px);filter:blur(4px)}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-avatar{margin-top:5px;color:#bababa;font-weight:bolder;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-input{width:260px;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date{position:fixed;width:100%;font-size:3rem;text-align:center;font-weight:500;bottom:24px;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date .current-year,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date .current-date span{font-size:1.875rem;line-height:2.25rem}.ray-template--light .app-lock-screen__unlock__content-bg__wrapper{background-color:#fff!important}.ray-template--light .app-lock-screen__unlock__content-bg .left,.ray-template--light .app-lock-screen__unlock__content-bg .right{background-color:#f4f4f5!important} diff --git a/css/hooks-DgTlppCH.css.gz b/css/hooks-DgTlppCH.css.gz deleted file mode 100644 index 895cc63d..00000000 Binary files a/css/hooks-DgTlppCH.css.gz and /dev/null differ diff --git a/css/hooks-iIjhigLB.css b/css/hooks-iIjhigLB.css new file mode 100644 index 00000000..0ec0f014 --- /dev/null +++ b/css/hooks-iIjhigLB.css @@ -0,0 +1 @@ +.n-card.r-draggable-card{-webkit-transform-origin:0 0;transform-origin:0 0;position:absolute;width:var(--r-draggable-card-width);z-index:var(--r-draggable-card-z-index)}#r-draggable-card-container{position:fixed;top:0;left:0;width:0;height:0}.draggable-card-enter-active,.draggable-card-leave-active{-webkit-transition:opacity .3s var(--r-bezier);transition:opacity .3s var(--r-bezier)}.draggable-card-enter-from,.draggable-card-leave-to{opacity:0}.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;max-height:calc(var(--html-height) - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))}.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-flow{width:var(--r-flow-width);height:var(--r-flow-height)}.lf-text-input,.lf-control-text,.lf-menu-item{color:initial}.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%}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content .content-wrapper{width:100%;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)}.ray-template--light .layout-content__maximize-out{background-color:#d5d3d1;color:#44403c}.ray-template--light .layout-content__maximize-out:hover{color:#2c2a28;background:#757473}.ray-template--dark .layout-content__maximize-out{background-color:#44403c;color:#d5d3d1}.ray-template--dark .layout-content__maximize-out:hover{color:#eae9e8;background:#a19f9d}.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{-webkit-transition:color .3s var(--n-bezier),background-color .3s var(--n-bezier),opacity .3s var(--n-bezier),border-color .3s var(--n-bezier),width .3s var(--n-bezier);transition:color .3s var(--n-bezier),background-color .3s var(--n-bezier),opacity .3s var(--n-bezier),border-color .3s var(--n-bezier),width .3s var(--n-bezier)}.menu-tag .menu-tag__btn .n-button__icon{opacity:0;width:0;height:var(--n-icon-size);-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier);margin-left:0;-webkit-transform:translateX(4px);transform:translate(4px)}.menu-tag .menu-tag__btn:hover .n-button__icon{opacity:1;width:var(--n-icon-size);-webkit-transition:all .3s var(--r-bezier);transition:all .3s var(--r-bezier)}.ray-template--light .menu-tag__btn-icon:hover{-webkit-filter:brightness(1.2);filter:brightness(1.2)}.ray-template--dark .menu-tag__btn-icon:hover{-webkit-filter:brightness(.8);filter:brightness(.8)}.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}.app-lock-screen__content.app-lock-screen__content--full{width:100%;height:var(--html-height);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}.app-lock-screen__content .app-lock-screen__input button[class*=n-button]{width:100%}.app-lock-screen__content .app-lock-screen__input form[class*=n-form]{margin:24px 0}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content{position:relative;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-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg__wrapper{width:100%;height:100%;background-color:#101014}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg{position:absolute;width:100%;height:100%;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;font-size:16.67rem;gap:80px;z-index:0}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg.app-lock-screen__unlock__content-bg--smaller .left,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg.app-lock-screen__unlock__content-bg--smaller .right{font-size:90px;padding:24px;border-radius:4px}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg .left,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-wrapper .app-lock-screen__unlock__content-bg .right{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;border-radius:30px;background-color:#141313;font-weight:700;padding:80px;-webkit-filter:blur(4px);filter:blur(4px)}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-avatar{margin-top:5px;color:#bababa;font-weight:bolder;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-input{width:260px;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date{position:fixed;width:100%;font-size:3rem;text-align:center;font-weight:500;bottom:24px;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date .current-year,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date .current-date span{font-size:1.875rem;line-height:2.25rem}.ray-template--light .app-lock-screen__unlock__content-bg__wrapper{background-color:#fff!important}.ray-template--light .app-lock-screen__unlock__content-bg .left,.ray-template--light .app-lock-screen__unlock__content-bg .right{background-color:#f4f4f5!important} diff --git a/css/hooks-iIjhigLB.css.gz b/css/hooks-iIjhigLB.css.gz new file mode 100644 index 00000000..07d84d61 Binary files /dev/null and b/css/hooks-iIjhigLB.css.gz differ diff --git a/index.html b/index.html index eac28ffb..fb2bd4cb 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,34 +29,34 @@ - + - - - - - + + + + + - - - + + + - - + + - - + + - + - + @@ -64,11 +64,11 @@ - + - + - + diff --git a/index.html.gz b/index.html.gz index bfe5a657..79ec01f5 100644 Binary files a/index.html.gz and b/index.html.gz differ diff --git a/js/@logicflow_core@2.0.10-Dy_oAVRl.js.gz b/js/@logicflow_core@2.0.10-Dy_oAVRl.js.gz deleted file mode 100644 index 8bdf9b30..00000000 Binary files a/js/@logicflow_core@2.0.10-Dy_oAVRl.js.gz and /dev/null differ diff --git a/js/@logicflow_core@2.0.10-Dy_oAVRl.js b/js/@logicflow_core@2.0.10-ofLqxMRW.js similarity index 99% rename from js/@logicflow_core@2.0.10-Dy_oAVRl.js rename to js/@logicflow_core@2.0.10-ofLqxMRW.js index 6e53fc26..94a9e658 100644 --- a/js/@logicflow_core@2.0.10-Dy_oAVRl.js +++ b/js/@logicflow_core@2.0.10-ofLqxMRW.js @@ -1,4 +1,4 @@ -import{o as yo}from"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import{u as x,x as K,g as Ur,b as Gn,n as Zn}from"./preact@10.25.4--QYavupV.js";import{a as k,c as C,m as Fn,g as Wr,n as dn,p as Kt,f as W,t as bt,b as St,d as Ht,i as Qt,e as ht,s as go,h as vo,j as Vn,k as _n,l as _o,o as Zr,q as mo,r as xo,u as Kn,v as Eo,w as Vr,x as Mo,y as Oo}from"./lodash-es@4.17.21-BbYRMHep.js";import{c as So,t as mt,i as Kr,s as wo,o as E,a as F,b as m,r as Ao}from"./mobx@5.15.7-BvNiR7Ki.js";import{v as Po}from"./uuid@9.0.1-CtRu48qb.js";import{c as To}from"./classnames@2.5.1-BXd8anFz.js";import{M as Do}from"./mousetrap@1.6.5-D2xAa-oQ.js";import{d as No}from"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";var bo=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);oy.step||Math.abs(y.sumDeltaY)>y.step)){var O=y.sumDeltaX%y.step,w=y.sumDeltaY%y.step,A=y.sumDeltaX-O,b=y.sumDeltaY-w;y.sumDeltaX=O,y.sumDeltaY=w;var R=(M=y.model)===null||M===void 0?void 0:M.getData();y.isDragging||((S=y.eventCenter)===null||S===void 0||S.emit(T["".concat(y.eventType,"_DRAGSTART")],{e:_,data:y.data||R}),y.onDragStart({event:_})),y.isDragging=!0,Promise.resolve().then(function(){var L,z;y.onDragging({deltaX:A,deltaY:b,event:_}),(L=y.eventCenter)===null||L===void 0||L.emit(T["".concat(y.eventType,"_MOUSEMOVE")],{deltaX:A,deltaY:b,e:_,data:y.data||R}),(z=y.eventCenter)===null||z===void 0||z.emit(T["".concat(y.eventType,"_DRAG")],{e:_,data:y.data||R})})}},this.handleMouseUp=function(_){var M=window.document;y.isStartDragging=!1,y.isStopPropagation&&_.stopPropagation(),Promise.resolve().then(function(){var S,O,w;M.removeEventListener("mousemove",y.handleMouseMove,!1),M.removeEventListener("mouseup",y.handleMouseUp,!1);var A=(S=y.model)===null||S===void 0?void 0:S.getData();(O=y.eventCenter)===null||O===void 0||O.emit(T["".concat(y.eventType,"_MOUSEUP")],{e:_,data:y.data||A}),y.isDragging&&(y.isDragging=!1,y.onDragEnd({event:_}),(w=y.eventCenter)===null||w===void 0||w.emit(T["".concat(y.eventType,"_DROP")],{e:_,data:y.data||A}))})},this.cancelDrag=function(){var _=window==null?void 0:window.document;_.removeEventListener("mousemove",y.handleMouseMove,!1),_.removeEventListener("mouseup",y.handleMouseUp,!1),y.onDragEnd({event:void 0}),y.isDragging=!1},this.destroy=function(){y.isStartDragging&&y.cancelDrag()},this.onDragStart=n,this.onDragging=i,this.onDragEnd=s,this.step=c,this.isStopPropagation=g,this.eventType=l,this.eventCenter=u,this.model=p,this.data=v}return r.prototype.setStep=function(e){this.step=e},r.prototype.setModel=function(e){this.model=e},r}(),Xo=function(r){var e=r.x,t=r.y,n=r.width,o=r.height;return{x:e-n/2,y:t-o/2,x1:e+n/2,y1:t+o/2}},Yo=function(r){var e=r.startPoint,t=r.endPoint,n=(e.x+t.x)/2,o=(e.y+t.y)/2,i=Math.abs(e.x-t.x)+10,a=Math.abs(e.y-t.y)+10;return{x:n-i/2,y:o-a/2,x1:n+i/2,y1:o+a/2}},Ho=function(r){var e=r.points,t=kt(e),n=Ee(t,8),o=n.x,i=n.y,a=n.width,s=n.height;return{x:o-a/2,y:i-s/2,x1:o+a/2,y1:i+s/2}},ko=function(r){var e=r.path,t=$n(e),n=Ee(t,8),o=n.x,i=n.y,a=n.width,s=n.height;return{x:o-a/2,y:i-s/2,x1:o+a/2,y1:i+s/2}},zo=function(r){if(r.modelType===j.LINE_EDGE)return Yo(r);if(r.modelType===j.POLYLINE_EDGE)return Ho(r);if(r.modelType===j.BEZIER_EDGE)return ko(r)},Go=function(r,e,t,n){var o=(e.y-r.y)*(n.x-t.x)-(r.x-e.x)*(t.y-n.y);if(o===0)return!1;var i=((e.x-r.x)*(n.x-t.x)*(t.y-r.y)+(e.y-r.y)*(n.x-t.x)*r.x-(n.y-t.y)*(e.x-r.x)*t.x)/o,a=-((e.y-r.y)*(n.y-t.y)*(t.x-r.x)+(e.x-r.x)*(n.y-t.y)*r.y-(n.x-t.x)*(e.y-r.y)*t.y)/o;return(i-r.x)*(i-e.x)<=0&&(a-r.y)*(a-e.y)<=0&&(i-t.x)*(i-n.x)<=0&&(a-t.y)*(a-n.y)<=0?{x:i,y:a}:!1},me=function(r,e,t){var n=r.x,o=r.y,i=e.x,a=e.y,s=t.x,d=t.y,l=(d-a)/(s-i),u=a-l*i;return(n>=i&&n<=s||n<=i&&n>=s)&&(o>=a&&o<=d||o<=a&&o>=d)&&Math.abs(o-l*n-u)=e.x?(a.leftX=e.x+l*Math.sin(s+d),a.leftY=e.y-l*Math.cos(s+d),a.rightX=e.x-l*Math.sin(s-d),a.rightY=e.y+l*Math.cos(s-d)):(a.leftX=e.x-l*Math.sin(s+d),a.leftY=e.y+l*Math.cos(s+d),a.rightX=e.x+l*Math.sin(s-d),a.rightY=e.y-l*Math.cos(s-d)):i==="end"&&(t.x>=e.x?(a.leftX=t.x+l*Math.sin(s-d),a.leftY=t.y-l*Math.cos(s-d),a.rightX=t.x-l*Math.sin(s+d),a.rightY=t.y+l*Math.cos(s+d)):(a.leftX=t.x-l*Math.sin(s-d),a.leftY=t.y+l*Math.cos(s-d),a.rightX=t.x+l*Math.sin(s+d),a.rightY=t.y-l*Math.cos(s+d))),a},qt=function(){return qt=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},Dt=function(r,e,t){if(t||arguments.length===2)for(var n=0,o=e.length,i;nn/e.height?G.HORIZONTAL:G.VERTICAL},Fe=function(r,e,t){var n=$o(t,e);return n===G.HORIZONTAL?{x:t.x>r.centerX?r.maxX:r.minX,y:t.y}:{x:t.x,y:t.y>r.centerY?r.maxY:r.minY}},Qn=function(r,e){var t=Math.min(r.minX,e.minX),n=Math.min(r.minY,e.minY),o=Math.max(r.maxX,e.maxX),i=Math.max(r.maxY,e.maxY);return{x:(t+o)/2,y:(n+i)/2,centerX:(t+o)/2,centerY:(n+i)/2,minX:t,minY:n,maxX:o,maxY:i,height:i-n,width:o-t}},Ee=function(r,e){r===void 0&&(r=[]);var t=[],n=[];r.forEach(function(u){t.push(u.x),n.push(u.y)});var o=Math.min.apply(Math,Dt([],at(t),!1)),i=Math.max.apply(Math,Dt([],at(t),!1)),a=Math.min.apply(Math,Dt([],at(n),!1)),s=Math.max.apply(Math,Dt([],at(n),!1)),d=i-o,l=s-a;return e&&(d+=e,l+=e),{centerX:(o+i)/2,centerY:(a+s)/2,maxX:i,maxY:s,minX:o,minY:a,x:(o+i)/2,y:(a+s)/2,height:l,width:d}},$e=function(r){var e=r.minX,t=r.minY,n=r.maxX,o=r.maxY;return[{x:e,y:t},{x:n,y:t},{x:n,y:o},{x:e,y:o}]},Ne=function(r,e){var t=r.x,n=r.y;return te.maxX||ne.maxY},Uo=function(r,e){return er.maxX?[]:[{x:e,y:r.minY},{x:e,y:r.maxY}]},Wo=function(r,e){return er.maxY?[]:[{x:r.minX,y:e},{x:r.maxX,y:e}]},Zo=function(r,e){return Dt(Dt([],at(Uo(r,e.x)),!1),at(Wo(r,e.y)),!1)},xn=function(r,e){return Math.abs(r.x-e.x)+Math.abs(r.y-e.y)},Vo=function(r,e){var t=-2,n=0;return e.forEach(function(o){o&&(r.x===o.x&&(n+=t),r.y===o.y&&(n+=t))}),n},tr=function(r,e,t,n,o){return xn(r,e)+xn(r,t)+Vo(r,[e,t,n,o])},qr=function(r,e,t,n,o){o||(o=0),r.unshift(e[n]),t[n]&&t[n]!==n&&o<=100&&qr(r,e,t,t[n],o+1)},Ko=function(r,e){var t=r.indexOf(e);t>-1&&r.splice(t,1)},ie=function(r,e,t,n){var o=e.x-r.x,i=e.y-r.y,a=n.x-t.x,s=n.y-t.y,d=(-i*(r.x-t.x)+o*(r.y-t.y))/(-a*i+o*s),l=(a*(r.y-t.y)-s*(r.x-t.x))/(-a*i+o*s);return d>=0&&d<=1&&l>=0&&l<=1},er=function(r,e,t){if(t.width===0&&t.height===0)return!1;var n=at($e(t),4),o=n[0],i=n[1],a=n[2],s=n[3];return ie(r,e,o,i)||ie(r,e,o,s)||ie(r,e,i,a)||ie(r,e,a,s)},qo=function(r,e,t,n){var o=[];return r.forEach(function(i){i!==e&&(i.x===e.x||i.y===e.y)&&!er(i,e,t)&&!er(i,e,n)&&o.push(i)}),mn(o)},Jo=function(r,e,t,n,o,i,a){var s=[],d=[e],l={},u={},f={};e.id&&(u[e.id]=0,f[e.id]=tr(e,t,e));var c={};r.forEach(function(p){p.id&&(c[p.id]=p)});for(var h=function(){var p,v=1/0;if(d.forEach(function(_){_.id&&f[_.id]=u[_.id])return;l[_.id]=p.id,u[_.id]=M,f[_.id]=u[_.id]+tr(_,t,e,i,a)}})};d.length;){var g=h();if(typeof g=="object")return g.value}return[e,t]},nr=function(r){return nt(r)},Jr=function(r){for(var e=1;e2&&(y=Jr(y)),mn(y)},Qo=function(r){if(r.length===1){var e=at(r,1),t=e[0];return[t,t]}else{for(var n=r[0],o=r[1],i=yt(n.x,n.y,o.x,o.y),a=1;ai&&(i=l,n=s,o=d)}return[n,o]}},or=function(r,e,t){var n=Nt(r,t),o=Nt(e,t);return n&&o},ir=function(r,e,t){var n=Nt(r,t),o=Nt(e,t),i=n&&o,a=n||o;return!i&&a},ar=function(r,e,t){for(var n=void 0,o=nt(t),i=$e(o),a=0;a=1&&n<=126||n>=65376&&n<=65439?e+=1:e+=2}return e},ei=function(r){var e=r.start,t=r.end,n;if(e.x===t.x&&e.y===t.y)n="";else{var o={start:e,end:t,offset:10,verticalLength:5},i=xe(qt(qt({},o),{type:"start"})),a=xe(qt(qt({},o),{type:"end"}));n="M".concat(i.leftX," ").concat(i.leftY,` +import{o as yo}from"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import{u as x,x as K,g as Ur,b as Gn,n as Zn}from"./preact@10.25.4--QYavupV.js";import{a as k,c as C,m as Fn,g as Wr,n as dn,p as Kt,f as W,t as bt,b as St,d as Ht,i as Qt,e as ht,s as go,h as vo,j as Vn,k as _n,l as _o,o as Zr,q as mo,r as xo,u as Kn,v as Eo,w as Vr,x as Mo,y as Oo}from"./lodash-es@4.17.21-BbYRMHep.js";import{c as So,t as mt,i as Kr,s as wo,o as E,a as F,b as m,r as Ao}from"./mobx@5.15.7-BvNiR7Ki.js";import{v as Po}from"./uuid@9.0.1-CtRu48qb.js";import{c as To}from"./classnames@2.5.1-iH4Bdr9I.js";import{M as Do}from"./mousetrap@1.6.5-C2A6yrpM.js";import{d as No}from"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";var bo=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);oy.step||Math.abs(y.sumDeltaY)>y.step)){var O=y.sumDeltaX%y.step,w=y.sumDeltaY%y.step,A=y.sumDeltaX-O,b=y.sumDeltaY-w;y.sumDeltaX=O,y.sumDeltaY=w;var R=(M=y.model)===null||M===void 0?void 0:M.getData();y.isDragging||((S=y.eventCenter)===null||S===void 0||S.emit(T["".concat(y.eventType,"_DRAGSTART")],{e:_,data:y.data||R}),y.onDragStart({event:_})),y.isDragging=!0,Promise.resolve().then(function(){var L,z;y.onDragging({deltaX:A,deltaY:b,event:_}),(L=y.eventCenter)===null||L===void 0||L.emit(T["".concat(y.eventType,"_MOUSEMOVE")],{deltaX:A,deltaY:b,e:_,data:y.data||R}),(z=y.eventCenter)===null||z===void 0||z.emit(T["".concat(y.eventType,"_DRAG")],{e:_,data:y.data||R})})}},this.handleMouseUp=function(_){var M=window.document;y.isStartDragging=!1,y.isStopPropagation&&_.stopPropagation(),Promise.resolve().then(function(){var S,O,w;M.removeEventListener("mousemove",y.handleMouseMove,!1),M.removeEventListener("mouseup",y.handleMouseUp,!1);var A=(S=y.model)===null||S===void 0?void 0:S.getData();(O=y.eventCenter)===null||O===void 0||O.emit(T["".concat(y.eventType,"_MOUSEUP")],{e:_,data:y.data||A}),y.isDragging&&(y.isDragging=!1,y.onDragEnd({event:_}),(w=y.eventCenter)===null||w===void 0||w.emit(T["".concat(y.eventType,"_DROP")],{e:_,data:y.data||A}))})},this.cancelDrag=function(){var _=window==null?void 0:window.document;_.removeEventListener("mousemove",y.handleMouseMove,!1),_.removeEventListener("mouseup",y.handleMouseUp,!1),y.onDragEnd({event:void 0}),y.isDragging=!1},this.destroy=function(){y.isStartDragging&&y.cancelDrag()},this.onDragStart=n,this.onDragging=i,this.onDragEnd=s,this.step=c,this.isStopPropagation=g,this.eventType=l,this.eventCenter=u,this.model=p,this.data=v}return r.prototype.setStep=function(e){this.step=e},r.prototype.setModel=function(e){this.model=e},r}(),Xo=function(r){var e=r.x,t=r.y,n=r.width,o=r.height;return{x:e-n/2,y:t-o/2,x1:e+n/2,y1:t+o/2}},Yo=function(r){var e=r.startPoint,t=r.endPoint,n=(e.x+t.x)/2,o=(e.y+t.y)/2,i=Math.abs(e.x-t.x)+10,a=Math.abs(e.y-t.y)+10;return{x:n-i/2,y:o-a/2,x1:n+i/2,y1:o+a/2}},Ho=function(r){var e=r.points,t=kt(e),n=Ee(t,8),o=n.x,i=n.y,a=n.width,s=n.height;return{x:o-a/2,y:i-s/2,x1:o+a/2,y1:i+s/2}},ko=function(r){var e=r.path,t=$n(e),n=Ee(t,8),o=n.x,i=n.y,a=n.width,s=n.height;return{x:o-a/2,y:i-s/2,x1:o+a/2,y1:i+s/2}},zo=function(r){if(r.modelType===j.LINE_EDGE)return Yo(r);if(r.modelType===j.POLYLINE_EDGE)return Ho(r);if(r.modelType===j.BEZIER_EDGE)return ko(r)},Go=function(r,e,t,n){var o=(e.y-r.y)*(n.x-t.x)-(r.x-e.x)*(t.y-n.y);if(o===0)return!1;var i=((e.x-r.x)*(n.x-t.x)*(t.y-r.y)+(e.y-r.y)*(n.x-t.x)*r.x-(n.y-t.y)*(e.x-r.x)*t.x)/o,a=-((e.y-r.y)*(n.y-t.y)*(t.x-r.x)+(e.x-r.x)*(n.y-t.y)*r.y-(n.x-t.x)*(e.y-r.y)*t.y)/o;return(i-r.x)*(i-e.x)<=0&&(a-r.y)*(a-e.y)<=0&&(i-t.x)*(i-n.x)<=0&&(a-t.y)*(a-n.y)<=0?{x:i,y:a}:!1},me=function(r,e,t){var n=r.x,o=r.y,i=e.x,a=e.y,s=t.x,d=t.y,l=(d-a)/(s-i),u=a-l*i;return(n>=i&&n<=s||n<=i&&n>=s)&&(o>=a&&o<=d||o<=a&&o>=d)&&Math.abs(o-l*n-u)=e.x?(a.leftX=e.x+l*Math.sin(s+d),a.leftY=e.y-l*Math.cos(s+d),a.rightX=e.x-l*Math.sin(s-d),a.rightY=e.y+l*Math.cos(s-d)):(a.leftX=e.x-l*Math.sin(s+d),a.leftY=e.y+l*Math.cos(s+d),a.rightX=e.x+l*Math.sin(s-d),a.rightY=e.y-l*Math.cos(s-d)):i==="end"&&(t.x>=e.x?(a.leftX=t.x+l*Math.sin(s-d),a.leftY=t.y-l*Math.cos(s-d),a.rightX=t.x-l*Math.sin(s+d),a.rightY=t.y+l*Math.cos(s+d)):(a.leftX=t.x-l*Math.sin(s-d),a.leftY=t.y+l*Math.cos(s-d),a.rightX=t.x+l*Math.sin(s+d),a.rightY=t.y-l*Math.cos(s+d))),a},qt=function(){return qt=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},Dt=function(r,e,t){if(t||arguments.length===2)for(var n=0,o=e.length,i;nn/e.height?G.HORIZONTAL:G.VERTICAL},Fe=function(r,e,t){var n=$o(t,e);return n===G.HORIZONTAL?{x:t.x>r.centerX?r.maxX:r.minX,y:t.y}:{x:t.x,y:t.y>r.centerY?r.maxY:r.minY}},Qn=function(r,e){var t=Math.min(r.minX,e.minX),n=Math.min(r.minY,e.minY),o=Math.max(r.maxX,e.maxX),i=Math.max(r.maxY,e.maxY);return{x:(t+o)/2,y:(n+i)/2,centerX:(t+o)/2,centerY:(n+i)/2,minX:t,minY:n,maxX:o,maxY:i,height:i-n,width:o-t}},Ee=function(r,e){r===void 0&&(r=[]);var t=[],n=[];r.forEach(function(u){t.push(u.x),n.push(u.y)});var o=Math.min.apply(Math,Dt([],at(t),!1)),i=Math.max.apply(Math,Dt([],at(t),!1)),a=Math.min.apply(Math,Dt([],at(n),!1)),s=Math.max.apply(Math,Dt([],at(n),!1)),d=i-o,l=s-a;return e&&(d+=e,l+=e),{centerX:(o+i)/2,centerY:(a+s)/2,maxX:i,maxY:s,minX:o,minY:a,x:(o+i)/2,y:(a+s)/2,height:l,width:d}},$e=function(r){var e=r.minX,t=r.minY,n=r.maxX,o=r.maxY;return[{x:e,y:t},{x:n,y:t},{x:n,y:o},{x:e,y:o}]},Ne=function(r,e){var t=r.x,n=r.y;return te.maxX||ne.maxY},Uo=function(r,e){return er.maxX?[]:[{x:e,y:r.minY},{x:e,y:r.maxY}]},Wo=function(r,e){return er.maxY?[]:[{x:r.minX,y:e},{x:r.maxX,y:e}]},Zo=function(r,e){return Dt(Dt([],at(Uo(r,e.x)),!1),at(Wo(r,e.y)),!1)},xn=function(r,e){return Math.abs(r.x-e.x)+Math.abs(r.y-e.y)},Vo=function(r,e){var t=-2,n=0;return e.forEach(function(o){o&&(r.x===o.x&&(n+=t),r.y===o.y&&(n+=t))}),n},tr=function(r,e,t,n,o){return xn(r,e)+xn(r,t)+Vo(r,[e,t,n,o])},qr=function(r,e,t,n,o){o||(o=0),r.unshift(e[n]),t[n]&&t[n]!==n&&o<=100&&qr(r,e,t,t[n],o+1)},Ko=function(r,e){var t=r.indexOf(e);t>-1&&r.splice(t,1)},ie=function(r,e,t,n){var o=e.x-r.x,i=e.y-r.y,a=n.x-t.x,s=n.y-t.y,d=(-i*(r.x-t.x)+o*(r.y-t.y))/(-a*i+o*s),l=(a*(r.y-t.y)-s*(r.x-t.x))/(-a*i+o*s);return d>=0&&d<=1&&l>=0&&l<=1},er=function(r,e,t){if(t.width===0&&t.height===0)return!1;var n=at($e(t),4),o=n[0],i=n[1],a=n[2],s=n[3];return ie(r,e,o,i)||ie(r,e,o,s)||ie(r,e,i,a)||ie(r,e,a,s)},qo=function(r,e,t,n){var o=[];return r.forEach(function(i){i!==e&&(i.x===e.x||i.y===e.y)&&!er(i,e,t)&&!er(i,e,n)&&o.push(i)}),mn(o)},Jo=function(r,e,t,n,o,i,a){var s=[],d=[e],l={},u={},f={};e.id&&(u[e.id]=0,f[e.id]=tr(e,t,e));var c={};r.forEach(function(p){p.id&&(c[p.id]=p)});for(var h=function(){var p,v=1/0;if(d.forEach(function(_){_.id&&f[_.id]=u[_.id])return;l[_.id]=p.id,u[_.id]=M,f[_.id]=u[_.id]+tr(_,t,e,i,a)}})};d.length;){var g=h();if(typeof g=="object")return g.value}return[e,t]},nr=function(r){return nt(r)},Jr=function(r){for(var e=1;e2&&(y=Jr(y)),mn(y)},Qo=function(r){if(r.length===1){var e=at(r,1),t=e[0];return[t,t]}else{for(var n=r[0],o=r[1],i=yt(n.x,n.y,o.x,o.y),a=1;ai&&(i=l,n=s,o=d)}return[n,o]}},or=function(r,e,t){var n=Nt(r,t),o=Nt(e,t);return n&&o},ir=function(r,e,t){var n=Nt(r,t),o=Nt(e,t),i=n&&o,a=n||o;return!i&&a},ar=function(r,e,t){for(var n=void 0,o=nt(t),i=$e(o),a=0;a=1&&n<=126||n>=65376&&n<=65439?e+=1:e+=2}return e},ei=function(r){var e=r.start,t=r.end,n;if(e.x===t.x&&e.y===t.y)n="";else{var o={start:e,end:t,offset:10,verticalLength:5},i=xe(qt(qt({},o),{type:"start"})),a=xe(qt(qt({},o),{type:"end"}));n="M".concat(i.leftX," ").concat(i.leftY,` L`).concat(i.rightX," ").concat(i.rightY,` L`).concat(a.rightX," ").concat(a.rightY,` L`).concat(a.leftX," ").concat(a.leftY," z")}return{d:n,fill:"transparent",stroke:"transparent",strokeWidth:1,strokeDasharray:"4, 4"}},dr=function(r){var e=r.start,t=r.end,n=r.sourceNode,o=r.targetNode,i=r.offset,a=nt(n),s=nt(o),d=Ge(a,i),l=Ge(s,i),u=Fe(d,a,e),f=Fe(l,s,t);return{sNext:u,ePre:f}},$n=function(r){var e=r.replace(/M/g,"").replace(/C/g,",").split(","),t=be(e[0]),n=be(e[1]),o=be(e[2]),i=be(e[3]);return[t,n,o,i]},be=function(r){var e=at(r.replace(/(^\s*)/g,"").split(" "),2),t=e[0],n=e[1];return{x:+t,y:+n}},lr=function(r,e){var t=at(r,4),n=t[0],o=t[1],i=t[2],a=t[3],s=Yi(n,o,i,a,e);return[s,r[3]]},to=function(r,e){for(var t=r.x,n=r.y,o=kt(e),i=Number.MAX_SAFE_INTEGER,a,s=[],d=0;do?a:o}),{width:Math.ceil(o/2)*n+n/4,height:t*(n+2)+n/4}},$t=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),o,i=[],a;try{for(;(e===void 0||e-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},Ce=function(r,e,t){if(t||arguments.length===2)for(var n=0,o=e.length,i;n0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},un=function(r,e,t){var n=ln(r,2),o=n[0],i=n[1],a=ln(e,2),s=a[0],d=a[1],l=ln(t,2),u=l[0],f=l[1];return o>s&&od&&i=0?o:-o},e}(no),En=function(r){Un(e,r);function e(t,n){var o=r.call(this,t,n,1)||this;return Object.setPrototypeOf(o,e.prototype),o}return e.prototype.toString=function(){return"Point"},e}(no),tn=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Ut=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),o,i=[],a;try{for(;(e===void 0||e-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},fn=function(r,e,t){if(t||arguments.length===2)for(var n=0,o=e.length,i;n=0;o--){var i=t[o],a=ui(r,i);if(a){var s=i.getTargetAnchor(r);if(s){var d={node:i,anchorIndex:s.index,anchor:s.anchor};(!n||di(i,n.node,e))&&(n=d)}}}return n},di=function(r,e,t){return r.zIndex>e.zIndex?!0:t.nodesMap[r.id].index>t.nodesMap[e.id].index},li=function(r,e){for(var t=Mn(e),n,o=Number.MAX_SAFE_INTEGER,i=0;i=o.minX-n&&r.x<=o.maxX+n&&r.y>=o.minY-n&&r.y<=o.maxY+n&&(t=!0),t},ui=function(r,e){var t=!1,n=5,o=nt(e);return r.x>=o.minX-n&&r.x<=o.maxX+n&&r.y>=o.minY-n&&r.y<=o.maxY+n&&(t=!0),t},nt=function(r){var e=r.x,t=r.y,n=r.width,o=r.height;return{minX:e-n/2,minY:t-o/2,maxX:e+n/2,maxY:t+o/2,x:e,y:t,width:n,height:o,centerX:e,centerY:t}},fi=function(r){var e=r,t=e.x,n=e.y,o=e.width,i=e.height,a=e.radius;return[{x:t-o/2+a,y:n-i/2+a,r:a},{x:t+o/2-a,y:n-i/2+a,r:a},{x:t-o/2+a,y:n+i/2-a,r:a},{x:t+o/2-a,y:n+i/2-a,r:a}]},cr=function(r,e,t){var n=fi(t),o,i=Number.MAX_SAFE_INTEGER;return n.forEach(function(a){var s=yt(r.x,r.y,a.x,a.y);sl.minX&&r.xl.minY&&r.yu.x&&(f=u,c=l);var h={x:r.x,y:r.y};if(f.x===c.x&&e===G.HORIZONTAL&&(h={x:f.x,y:r.y}),f.y===c.y&&e===G.VERTICAL&&(h={x:r.x,y:f.y}),f.x!==c.x&&f.y!==c.y){var g=(c.y-f.y)/(c.x-f.x),p=(f.x*c.y-c.x*f.y)/(f.x-c.x);e===G.HORIZONTAL?h={x:(r.y-p)/g,y:r.y}:e===G.VERTICAL&&(h={x:r.x,y:g*r.x+p})}var v=me(h,l,u);if(v){var y=yt(h.x,h.y,r.x,r.y);yr.x?o=r.x+t/2:e.xr.y?i=r.y+n/2:e.y1?e.forEach(function(s){var d=document.createElement("div");d.textContent=s,i.appendChild(d)}):i.textContent=e[0],document.body.appendChild(i);var a=i.clientHeight;return document.body.removeChild(i),a},gr=function(r){var e=r.rows,t=r.rowsLength,n=r.fontSize,o=0;return e&&e.forEach(function(i){var a=Qr(i);o=a>o?a:o}),{width:Math.ceil(o/2)*n+n/4,height:t*(n+2)+n/4}},Ve=function(r){return typeof r!="object"?{isAllPass:!!r,msg:r?"":"不允许连接"}:r},Yt=function(){return Po()},se=new Map,oo=function(r){var e=Yt();function t(){r();var o=se.get(e);if(o){var i=window.requestAnimationFrame(t);se.set(e,i)}}var n=window.requestAnimationFrame(t);return se.set(e,n),e},Ke=function(r){var e=se.get(r);e&&(window.cancelAnimationFrame(e),se.delete(r))},Me=function(){return Me=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i};function io(r){var e=r.x,t=e===void 0?0:e,n=r.y,o=n===void 0?0:n,i=r.value,a=r.fontSize,s=a===void 0?12:a,d=r.fill,l=d===void 0?"currentColor":d,u=r.overflowMode,f=u===void 0?"default":u,c=r.textWidth,h=c===void 0?void 0:c,g=r.model,p={x:t,y:o,fill:l,fontSize:s,textAnchor:"middle",dominantBaseline:"central"};if(W(bt(r),function(O){var w=pi(O,2),A=w[0],b=w[1];typeof b!="object"&&(p[A]=b)}),i){var v=String(i).split(/[\r\n]/g),y=v.length;if(f!=="default"){var _=g.BaseType,M=g.modelType;if(_===$.NODE&&M!==j.TEXT_NODE||_===$.EDGE&&h)return hi(r)}if(y>1){var S=v.map(function(O,w){var A=s+2,b=(w-(y-1)/2)*A;return x("tspan",{className:"lf-text-tspan",x:t,y:o+b,children:O})});return x("text",Me({},p,{children:S}))}return x("text",Me({},p,{children:i}))}return null}function hi(r){var e=r.x,t=r.y,n=r.value,o=r.model,i=r.textWidth,a=r.fontSize,s=a===void 0?12:a,d=r.lineHeight,l=r.fontFamily,u=l===void 0?"":l,f=r.wrapPadding,c=f===void 0?"0, 0":f,h=r.overflowMode,g=o.width,p=o.height,v=o.textHeight,y=i||g,_=String(n).split(/[\r\n]/g),M=_.length,S=ro({rows:_,style:{fontSize:"".concat(s,"px"),width:"".concat(y,"px"),fontFamily:u,lineHeight:d,padding:c},rowsLength:M,className:"lf-get-text-height"}),O=p>S?p:S;v&&(O=v);var w=h==="ellipsis";return w&&(O=s+2),x("g",{children:x("foreignObject",{width:y,height:O,x:e-y/2,y:t-O/2,style:{overflow:"visible",textAlign:"left"},children:x("div",{className:"lf-node-text-auto-wrap",style:{minHeight:O,width:y,padding:c},children:x("div",{className:w?"lf-node-text-ellipsis-content":"lf-node-text-auto-wrap-content",title:w?_.join(""):"",style:Me({},r),children:_.map(function(A){return x("div",{className:"lf-node-text--auto-wrap-inner",children:A})})})})})})}var Sn=function(){return Sn=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i};function ee(r){var e={x1:10,y1:10,x2:20,y2:20,stroke:"black"};return W(bt(r),function(t){var n=yi(t,2),o=n[0],i=n[1];(o==="style"||typeof i!="object")&&(e[o]=i)}),x("line",Sn({},e))}var wn=function(){return wn=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i};function Et(r){var e=r.x,t=r.y,n=r.width,o=r.height,i=r.className,a=r.strokeWidth,s=r.radius,d=s===void 0?0:s,l=e-n/2,u=t-o/2,f={};return f["stroke-width"]=a,W(bt(r),function(c){var h=gi(c,2),g=h[0],p=h[1];typeof p!="object"&&(f[g]=p)}),i?f.className="lf-basic-shape ".concat(i):f.className="lf-basic-shape",d&&(f.rx=d,f.ry=d),f.x=l,f.y=u,x("rect",wn({},f))}var An=function(){return An=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i};function Oe(r){var e={d:""};return W(bt(r),function(t){var n=vi(t,2),o=n[0],i=n[1];(o==="style"||typeof i!="object")&&(e[o]=i)}),x("path",An({},e))}var Pn=function(){return Pn=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i};function ne(r){var e=r.x,t=e===void 0?0:e,n=r.y,o=n===void 0?0:n,i=r.r,a=i===void 0?4:i,s=r.className,d={cx:t,cy:o,r:a,fill:"transparent",fillOpacity:1,strokeWidth:1,stroke:"#000",strokeOpacity:1};return W(bt(r),function(l){var u=_i(l,2),f=u[0],c=u[1];typeof c!="object"&&(d[f]=c)}),s?d.className="lf-basic-shape ".concat(s):d.className="lf-basic-shape",x("circle",Pn({},d))}var Tn=function(){return Tn=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i};function xi(r){var e=r.x,t=e===void 0?0:e,n=r.y,o=n===void 0?0:n,i=r.rx,a=i===void 0?4:i,s=r.ry,d=s===void 0?4:s,l=r.className,u={cx:t,cy:o,rx:a,ry:d,fill:"transparent",fillOpacity:1,strokeWidth:1,stroke:"#000",strokeOpacity:1};return W(bt(r),function(f){var c=mi(f,2),h=c[0],g=c[1];typeof g!="object"&&(u[h]=g)}),l?u.className="lf-basic-shape ".concat(l):u.className="lf-basic-shape",x("ellipse",Tn({},u))}var Dn=function(){return Dn=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i};function ao(r){var e=r.points,t=e===void 0?[]:e,n=r.className,o={fill:"transparent",fillOpacity:1,strokeWidth:1,stroke:"#000",strokeOpacity:1,points:""};return W(bt(r),function(i){var a=Ei(i,2),s=a[0],d=a[1];typeof d!="object"&&(o[s]=d)}),n?o.classNmae="lf-basic-shape ".concat(n):o.className="lf-basic-shape",o.points=t.map(function(i){return i.join(",")}).join(" "),x("polygon",Dn({},o))}var Nn=function(){return Nn=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i};function Oi(r){var e=r.className,t={points:"",fill:"none"};return W(bt(r),function(n){var o=Mi(n,2),i=o[0],a=o[1];(i==="style"||typeof a!="object")&&(t[i]=a)}),e&&(t.className="".concat(e)),x("polyline",Nn({},t))}var so=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Se=function(){return Se=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},H;(function(r){r[r.LEFT_TOP=0]="LEFT_TOP",r[r.RIGHT_TOP=1]="RIGHT_TOP",r[r.RIGHT_BOTTOM=2]="RIGHT_BOTTOM",r[r.LEFT_BOTTOM=3]="LEFT_BOTTOM"})(H||(H={}));var Ai=function(r){so(e,r);function e(t){var n=r.call(this)||this;n.updateEdgePointByAnchors=function(){var s=n.nodeModel,d=s.id,l=s.anchors,u=n.graphModel.getNodeEdges(d);W(u,function(f){if(f.sourceNodeId===d){var c=Ht(l,function(h){return h.id===f.sourceAnchorId});c&&f.updateStartPoint({x:c.x,y:c.y})}else if(f.targetNodeId===d){var c=Ht(l,function(g){return g.id===f.targetAnchorId});c&&f.updateEndPoint({x:c.x,y:c.y})}})},n.triggerResizeEvent=function(s,d,l,u,f,c){n.graphModel.eventCenter.emit(T.NODE_RESIZE,{preData:s,data:d,deltaX:l,deltaY:u,index:f,model:c})},n.recalcResizeInfo=function(s,d,l,u,f){l===void 0&&(l=1),u===void 0&&(u=!1),f===void 0&&(f=!1);var c=C(d),h=c.deltaX,g=c.deltaY,p=c.width,v=c.height,y=c.PCTResizeInfo;if(y){var _=4,M=0,S=0;switch(s){case H.LEFT_TOP:S=(h*-1-g)/_;break;case H.RIGHT_TOP:S=(h-g)/_;break;case H.RIGHT_BOTTOM:S=(h+g)/_;break;case H.LEFT_BOTTOM:S=(h*-1+g)/_;break}S!==0&&(M=Math.round(S/y.ResizeBasis.basisHeight*1e5)/1e3),y.ResizePCT.widthPCT=Math.max(Math.min(y.ResizePCT.widthPCT+M,y.ScaleLimit.maxScaleLimit),y.ScaleLimit.minScaleLimit),y.ResizePCT.heightPCT=Math.max(Math.min(y.ResizePCT.heightPCT+M,y.ScaleLimit.maxScaleLimit),y.ScaleLimit.minScaleLimit);var O=Math.round(y.ResizePCT.widthPCT*y.ResizeBasis.basisWidth/100),w=Math.round(y.ResizePCT.heightPCT*y.ResizeBasis.basisHeight/100);switch(s){case H.LEFT_TOP:h=p-O,g=v-w;break;case H.RIGHT_TOP:h=O-p,g=v-w;break;case H.RIGHT_BOTTOM:h=O-p,g=w-v;break;case H.LEFT_BOTTOM:h=p-O,g=w-v;break}return c}switch(s){case H.LEFT_TOP:c.width=u?p:p-h*l,c.height=f?v:v-g*l;break;case H.RIGHT_TOP:c.width=u?p:p+h*l,c.height=f?v:v-g*l;break;case H.RIGHT_BOTTOM:c.width=u?p:p+h*l,c.height=f?v:v+g*l;break;case H.LEFT_BOTTOM:c.width=u?p:p-h*l,c.height=f?v:v+g*l;break}return c},n.resizeNode=function(s){var d=s.deltaX,l=s.deltaY,u=n.index,f=n.props,c=f.model,h=f.graphModel,g=f.x,p=f.y;Ri({x:g,y:p,deltaX:d,deltaY:l,index:u,nodeModel:c,graphModel:h,cancelCallback:function(){n.dragHandler.cancelDrag()}})},n.onDragging=function(s){var d=s.deltaX,l=s.deltaY,u=n.graphModel.transformModel,f=wi(u.fixDeltaXY(d,l),2),c=f[0],h=f[1];n.resizeNode({deltaX:c,deltaY:h})},n.onDragEnd=function(){var s=n.nodeModel.x,d=n.nodeModel.y;n.nodeModel.moveTo(s,d),n.updateEdgePointByAnchors()};var o=t.index,i=t.model,a=t.graphModel;return n.index=o,n.nodeModel=i,n.graphModel=a,n.dragHandler=new Mt({onDragging:n.onDragging,onDragEnd:n.onDragEnd,step:a.gridSize}),n}return e.prototype.componentWillUnmount=function(){this.dragHandler.destroy()},e.prototype.render=function(){var t=this.props,n=t.x,o=t.y,i=t.direction,a=t.model,s=a.getResizeControlStyle(),d=s.width,l=s.height,u=Si(s,["width","height"]);return x("g",{className:"lf-resize-control lf-resize-control-".concat(i),children:[x(Et,Se({className:"lf-resize-control-content",x:n,y:o,width:d??7,height:l??7},u)),x(Et,{className:"lf-resize-control-content",x:n,y:o,width:25,height:25,fill:"transparent",stroke:"transparent",onMouseDown:this.dragHandler.handleMouseDown})]})},e}(K),Pi=function(r){so(e,r);function e(){return r.call(this)||this}return e.prototype.getResizeControl=function(){var t=this.props,n=t.model,o=t.graphModel,i=nt(n),a=i.minX,s=i.minY,d=i.maxX,l=i.maxY,u=[{index:H.LEFT_TOP,direction:"nw",x:a,y:s},{index:H.RIGHT_TOP,direction:"ne",x:d,y:s},{index:H.RIGHT_BOTTOM,direction:"se",x:d,y:l},{index:H.LEFT_BOTTOM,direction:"sw",x:a,y:l}];return St(u,function(f){return x(Ai,Se({},f,{model:n,graphModel:o}))})},e.prototype.getResizeOutline=function(){var t=this.props.model,n=t.x,o=t.y,i=t.width,a=t.height,s=t.getResizeOutlineStyle();return x(Et,Se({},s,{x:n,y:o,width:i,height:a}))},e.prototype.render=function(){return x("g",{className:"lf-resize-control-group",children:[this.getResizeOutline(),this.getResizeControl()]})},e}(K);function Ti(r,e){var t=r.x,n=r.y,o=e.x,i=e.y,a={x:t+(o-t)/2,y:n+(i-n)/2};return a}function ae(r,e,t){var n=Di(t),o=r.x-e.x,i=r.y-e.y,a=o*Math.cos(n)-i*Math.sin(n)+e.x,s=o*Math.sin(n)+i*Math.cos(n)+e.y;return{x:a,y:s}}function Di(r){return r*Math.PI/180}function Ni(r){return r/Math.PI*180}function bi(r,e,t,n,o,i,a,s,d){s===void 0&&(s=!1),d===void 0&&(d=!1);var l=e.deltaX,u=e.deltaY,f=e.width,c=e.height,h=Ni(t),g={x:n,y:o},p={x:i,y:a},v=ae(g,p,h),y={x:v.x+l,y:v.y+u},_=Ii(v,y,p,h,s,d,f,c),M=_.width,S=_.height,O=_.center;return e.width=M*r,e.height=S*r,e.deltaX=(O.x-p.x)*2,e.deltaY=(O.y-p.y)*2,e}var Ci=function(r,e,t,n,o,i,a,s,d,l){t===void 0&&(t=1),n===void 0&&(n=!1),o===void 0&&(o=!1),i===void 0&&(i=0);var u=C(e),f=u.deltaX,c=u.deltaY,h=u.width,g=u.height,p=u.PCTResizeInfo;if(p){var v=4,y=0,_=0;switch(r){case H.LEFT_TOP:_=(f*-1-c)/v;break;case H.RIGHT_TOP:_=(f-c)/v;break;case H.RIGHT_BOTTOM:_=(f+c)/v;break;case H.LEFT_BOTTOM:_=(f*-1+c)/v;break}_!==0&&(y=Math.round(_/p.ResizeBasis.basisHeight*1e5)/1e3),p.ResizePCT.widthPCT=Math.max(Math.min(p.ResizePCT.widthPCT+y,p.ScaleLimit.maxScaleLimit),p.ScaleLimit.minScaleLimit),p.ResizePCT.heightPCT=Math.max(Math.min(p.ResizePCT.heightPCT+y,p.ScaleLimit.maxScaleLimit),p.ScaleLimit.minScaleLimit);var M=Math.round(p.ResizePCT.widthPCT*p.ResizeBasis.basisWidth/100),S=Math.round(p.ResizePCT.heightPCT*p.ResizeBasis.basisHeight/100);switch(r){case H.LEFT_TOP:f=h-M,c=g-S;break;case H.RIGHT_TOP:f=M-h,c=g-S;break;case H.RIGHT_BOTTOM:f=M-h,c=S-g;break;case H.LEFT_BOTTOM:f=h-M,c=S-g;break}return u}if(i%(2*Math.PI)!==0&&a!==void 0&&s!==void 0)return bi(t,u,i,a,s,d,l,n,o);switch(r){case H.LEFT_TOP:u.width=n?h:h-f*t,u.height=o?g:g-c*t;break;case H.RIGHT_TOP:u.width=n?h:h+f*t,u.height=o?g:g-c*t;break;case H.RIGHT_BOTTOM:u.width=n?h:h+f*t,u.height=o?g:g+c*t;break;case H.LEFT_BOTTOM:u.width=n?h:h-f*t,u.height=o?g:g+c*t;break}return u},Li=function(r,e){var t=r.id,n=r.anchors,o=e.getNodeEdges(t);W(o,function(i){if(i.sourceNodeId===t){var a=Ht(n,function(s){return s.id===i.sourceAnchorId});a&&i.updateStartPoint({x:a.x,y:a.y})}else if(i.targetNodeId===t){var a=Ht(n,function(d){return d.id===i.targetAnchorId});a&&i.updateEndPoint({x:a.x,y:a.y})}})},ji=function(r,e,t,n,o,i,a){a.eventCenter.emit(T.NODE_RESIZE,{preData:r,data:e,deltaX:t,deltaY:n,index:o,model:i})},Ri=function(r){var e=r.x,t=r.y,n=r.deltaX,o=r.deltaY,i=r.index,a=r.nodeModel,s=r.graphModel,d=r.cancelCallback,l=a.r,u=a.rx,f=a.ry,c=a.width,h=a.height,g=a.PCTResizeInfo,p=a.minWidth,v=a.minHeight,y=a.maxWidth,_=a.maxHeight,M=a.rotate,S=a.x,O=a.y,w=p===y,A=v===_,b={width:l||u||c,height:l||f||h,deltaX:n,deltaY:o,PCTResizeInfo:g},R=l||u&&f?1/2:1,L=e,z=t,I=Ci(i,b,R,w,A,M,L,z,S,O);if(I.widthy||I.height_){d==null||d();return}(M%(2*Math.PI)==0||g||L===void 0||z===void 0)&&(I.deltaX=w?0:I.deltaX,I.deltaY=A?0:I.deltaY);var U=a.getData(),Y=a.resize(I);U.x===Y.x&&U.y===Y.y||(Li(a,s),ji(U,Y,n,o,i,a,s))};function Ii(r,e,t,n,o,i,a,s){o===void 0&&(o=!1),i===void 0&&(i=!1);var d={x:t.x-(r.x-t.x),y:t.y-(r.y-t.y)},l=Ti(d,e),u=ae(e,l,-n),f=ae(d,l,-n);if(o){var c=Math.abs(u.x-f.x),h=c-a;l.x>u.x?l.x=l.x+h/2:l.x=l.x-h/2}if(i){var g=Math.abs(u.y-f.y),p=g-s;l.y>u.y?l.y=l.y+p/2:l.y=l.y-p/2}if(o||i){var v=ae(f,l,n),y=v.x-d.x,_=v.y-d.y;l.x=l.x-y,l.y=l.y-_,f=ae(d,l,-n),u={x:l.x-(f.x-l.x),y:l.y-(f.y-l.y)}}var M=Math.abs(u.x-f.x),S=Math.abs(u.y-f.y);return o&&(M=a),i&&(S=s),{width:M,height:S,center:l}}var Bi=100,Xi={x:1,y:0,z:0};function Yi(r,e,t,n,o){for(var i=function(h){if(h<0||h>1)throw new RangeError('The value range of parameter "t" is [0,1]');return{x:r.x*Math.pow(1-h,3)+3*e.x*h*Math.pow(1-h,2)+3*t.x*Math.pow(h,2)*(1-h)+n.x*Math.pow(h,3),y:r.y*Math.pow(1-h,3)+3*e.y*h*Math.pow(1-h,2)+3*t.y*Math.pow(h,2)*(1-h)+n.y*Math.pow(h,3)}},a=0,s=2,d=n.x,l=n.y,u=n;a=0?n:-n}function vr(r){var e=Math.hypot(r.x,r.y);return{x:r.x/e,y:r.y/e,z:0}}function Gi(r){return zi(Xi,r)}function Fi(r){return r*(180/Math.PI)}var $i={baseNode:{fill:"#fff",stroke:"#000",strokeWidth:2},baseEdge:{stroke:"#000",strokeWidth:2},rect:{},circle:{},diamond:{},ellipse:{},polygon:{},text:{color:"#000",stroke:"none",fontSize:12,background:{fill:"transparent"}},anchor:{stroke:"#000",fill:"#fff",r:4,hover:{r:10,fill:"#949494",fillOpacity:.5,stroke:"#949494"}},anchorLine:{stroke:"#000",strokeWidth:2,strokeDasharray:"3,2"},nodeText:{color:"#000",overflowMode:"default",fontSize:12,lineHeight:1.2},edgeText:{textWidth:100,overflowMode:"default",fontSize:12,background:{fill:"#fff"}},line:{},polyline:{},bezier:{fill:"none",adjustLine:{stroke:"#949494"},adjustAnchor:{r:4,fill:"#949494",fillOpacity:1,stroke:"#949494"}},arrow:{offset:10,verticalLength:5},snapline:{stroke:"#949494",strokeWidth:1},edgeAdjust:{r:4,fill:"#fff",stroke:"#949494",strokeWidth:2},outline:{fill:"transparent",stroke:"#949494",strokeDasharray:"3,3",hover:{stroke:"#949494"}},edgeAnimation:{stroke:"red",strokeDasharray:"10,10",strokeDashoffset:"100%",animationName:"lf_animate_dash",animationDuration:"20s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"normal"},rotateControl:{stroke:"#000",fill:"#fff",strokeWidth:1.5},resizeControl:{width:7,height:7,fill:"#fff",stroke:"#000"},resizeOutline:{fill:"none",stroke:"transparent",strokeWidth:1,strokeDasharray:"3,3"}},lo=function(r){var e=C($i);return r&&(e=Fn(e,r)),e},Ui=lo,Wi=1e3,Zi=999,Wn=function(){return++Wi},Vi=function(){return--Zi},V=function(){return V=Object.assign||function(r){for(var e,t=1,n=arguments.length;t=0;s--)(a=r[s])&&(i=(o<3?a(i):o>3?a(e,t,i):a(e,t))||i);return o>3&&i&&Object.defineProperty(e,t,i),i},rn=function(){function r(e,t){var n;this.BaseType=$.EDGE,this.id="",this.type="",this.sourceNodeId="",this.targetNodeId="",this.textMode=st.TEXT,this.text={value:"",x:0,y:0,draggable:!1,editable:!0},this.points="",this.pointsList=[],this.virtual=!1,this.isSelected=!1,this.isHovered=!1,this.isHitable=!0,this.isHittable=!0,this.draggable=!0,this.visible=!0,this.isAnimation=!1,this.isShowAdjustPoint=!1,this.zIndex=0,this.state=X.DEFAULT,this.modelType=j.EDGE,this.customTextPosition=!1,this.style={},this.arrowConfig={markerEnd:"url(#marker-end-".concat(this.id,")"),markerStart:"url(#marker-start-".concat(this.id,")")},this.graphModel=t,this.properties=(n=e.properties)!==null&&n!==void 0?n:{},this.initEdgeData(e),this.setAttributes()}return r.prototype.initEdgeData=function(e){if(e.properties||(e.properties={}),!e.id){var t=this.graphModel.idGenerator,n=t&&t(e.type),o=this.createId();e.id=o||n||Yt()}this.arrowConfig.markerEnd="url(#marker-end-".concat(e.id,")"),this.arrowConfig.markerStart="url(#marker-start-".concat(e.id,")");var i=this.graphModel.editConfigModel.adjustEdgeStartAndEnd;this.isShowAdjustPoint=i,k(this,ni(e));var a=this.graphModel.overlapMode;a===pt.INCREASE&&(this.zIndex=e.zIndex||Wn()),this.setAnchors(),this.initPoints(),this.formatText(e)},r.prototype.setAttributes=function(){},r.prototype.createId=function(){return null},r.prototype.getEdgeStyle=function(){return V(V({},this.graphModel.theme.baseEdge),this.style)},r.prototype.getAdjustPointStyle=function(){return V({},this.graphModel.theme.edgeAdjust)},r.prototype.getTextStyle=function(){var e=this.graphModel.theme.edgeText;return C(e)},r.prototype.getEdgeAnimationStyle=function(){var e=this.graphModel.theme.edgeAnimation;return C(e)},r.prototype.getArrowStyle=function(){var e=this.getEdgeStyle(),t=this.getEdgeAnimationStyle(),n=this.graphModel.theme.arrow,o=this.isAnimation?t.stroke:e.stroke;return V(V(V({},e),{fill:o,stroke:o}),n)},r.prototype.getOutlineStyle=function(){var e=this.graphModel,t=e.theme.outline;return C(t)},r.prototype.getTextPosition=function(){return{x:0,y:0}},Object.defineProperty(r.prototype,"sourceNode",{get:function(){var e,t;return(t=(e=this.graphModel)===null||e===void 0?void 0:e.nodesMap[this.sourceNodeId])===null||t===void 0?void 0:t.model},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"targetNode",{get:function(){var e,t;return(t=(e=this.graphModel)===null||e===void 0?void 0:e.nodesMap[this.targetNodeId])===null||t===void 0?void 0:t.model},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textPosition",{get:function(){return this.getTextPosition()},enumerable:!1,configurable:!0}),r.prototype.getBeginAnchor=function(e,t,n){var o,i,a=Mn(e);if(n){if(o=Ht(a,function(s){return s.id===n}),o)return o;console.warn("未在节点上找到指定的起点锚点".concat(n,",已使用默认锚点作为起点"))}return a.forEach(function(s){var d=ur(s,t);(i===void 0||d=0;s--)(a=r[s])&&(i=(o<3?a(i):o>3?a(e,t,i):a(e,t))||i);return o>3&&i&&Object.defineProperty(e,t,i),i},cn=function(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),o,i=[],a;try{for(;(e===void 0||e-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},_r=function(r){Ki(e,r);function e(t,n){var o=r.call(this,t,n)||this;return o.modelType=j.BEZIER_EDGE,o.path="",o.initEdgeData(t),o.setAttributes(),o}return e.prototype.initEdgeData=function(t){this.offset=100,r.prototype.initEdgeData.call(this,t)},e.prototype.getEdgeStyle=function(){var t=this.graphModel.theme.bezier,n=r.prototype.getEdgeStyle.call(this),o=this.properties.style,i=o===void 0?{}:o;return It(It(It({},n),C(t)),C(i))},e.prototype.getTextPosition=function(){if(this.pointsList&&this.pointsList.length>0){var t=0,n=0;return this.pointsList.forEach(function(o){var i=o.x,a=o.y;t+=i,n+=a}),{x:t/this.pointsList.length,y:n/this.pointsList.length}}return{x:(this.startPoint.x+this.endPoint.x)/2,y:(this.startPoint.y+this.endPoint.y)/2}},e.prototype.getData=function(){var t=r.prototype.getData.call(this),n=this.pointsList.map(function(o){var i=o.x,a=o.y;return{x:i,y:a}});return It(It({},t),{pointsList:n})},e.prototype.getControls=function(){var t=this.startPoint,n=this.endPoint,o=dr({start:t,end:n,sourceNode:this.sourceNode,targetNode:this.targetNode,offset:this.offset});return o},e.prototype.getPath=function(t){var n=cn(t,4),o=n[0],i=n[1],a=n[2],s=n[3];return"M ".concat(o.x," ").concat(o.y,` diff --git a/js/@logicflow_core@2.0.10-ofLqxMRW.js.gz b/js/@logicflow_core@2.0.10-ofLqxMRW.js.gz new file mode 100644 index 00000000..577b4d7b Binary files /dev/null and b/js/@logicflow_core@2.0.10-ofLqxMRW.js.gz differ diff --git a/js/BarcodeDemo-B0OBSU9q.js b/js/BarcodeDemo-B0OBSU9q.js deleted file mode 100644 index 735e3de0..00000000 --- a/js/BarcodeDemo-B0OBSU9q.js +++ /dev/null @@ -1 +0,0 @@ -import{I as a}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{b as e,N as i,e as p,ah as l,J as s,M as n,a as F}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as c,b as t,J as u}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as m}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Et=c({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(F,{cols:2,xGap:12,yGap:12},{default:()=>[t(e,{span:2},{default:()=>[t(i,{title:"详细配置项说明"},{default:()=>[u("点击查看详细配置项:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/Options"},[u("js-barcode options")]),u("。")]})]}),t(e,{span:1},{default:()=>[t(i,{title:"基础条形码"},{default:()=>[t(a,{text:"RayTemplate",options:{...r}},null)]})]}),t(e,{span:1},{default:()=>[t(i,{title:"自定义颜色条形码"},{default:()=>[t(a,{text:"RayTemplate",options:{...r,lineColor:"red"}},null)]})]}),t(e,{span:1},{default:()=>[t(i,{title:"pharmacode 模式"},{default:()=>[t(p,{vertical:!0},{default:()=>[t(l,{type:"warning",title:"注意"},{default:()=>[u("该模式下,条形码只能渲染有效数值,否则将会渲染失败。可以查看官网说明:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/pharmacode"},[u("pharmacode")]),u("。")]}),t(a,{text:"1234",format:"pharmacode",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),t(e,{span:1},{default:()=>[t(i,{title:"codabar 模式"},{default:()=>[t(p,{vertical:!0},{default:()=>[t(l,{type:"warning",title:"注意"},{default:()=>[u("该模式下,需要注意 text 中的特殊字符,可以查看官网说明:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/codabar"},[u("codabar")]),u("。")]}),t(a,{text:"1234",format:"codabar",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),t(e,{span:1},{default:()=>[t(i,{title:"有状态的条形码"},{default:()=>[t(p,{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(a,{text:"RayTemplate",loading:this.loading},null)]})]})]}),t(e,{span:1},{default:()=>[t(i,{title:"watchText 主动监听 text 变化"},{default:()=>[t(p,{vertical:!0},{default:()=>[t(n,{value:this.text,"onUpdate:value":o=>this.text=o},null),t(a,{text:this.text,watchText:!0},null)]})]})]})]})}});export{Et as default}; diff --git a/js/BarcodeDemo-B0OBSU9q.js.gz b/js/BarcodeDemo-B0OBSU9q.js.gz deleted file mode 100644 index 14b4a5d0..00000000 Binary files a/js/BarcodeDemo-B0OBSU9q.js.gz and /dev/null differ diff --git a/js/Flow-XWW4foIy.js b/js/Flow-XWW4foIy.js deleted file mode 100644 index 285d8133..00000000 --- a/js/Flow-XWW4foIy.js +++ /dev/null @@ -1 +0,0 @@ -import{R as l,F as n,H as s}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import{N as m,a as d,ag as u,J as f,e as c}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as g,l as y,b as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Rt=g({name:"RFlowDemo",setup(){const[r,{getFlowInstance:e}]=s(),o=p(),i=p({readonly:!1}),a=()=>{e()};return setTimeout(()=>{o.value={nodes:[{id:"21",type:"rect",x:300,y:100,text:"rect node"},{id:"50",type:"circle",x:500,y:100,text:"circle node"}],edges:[{id:"21",type:"polyline",sourceNodeId:"50",targetNodeId:"21"}]}},1e3),y(()=>{a()}),{register:r,flowDataRef:o,settingRef:i}},render(){const{register:r,flowDataRef:e,settingRef:o}=this;return t(c,{vertical:!0},{default:()=>[t(m,null,{default:()=>[t(l,null,{default:()=>[t(d,{xGap:4,yGap:18,cols:4},{default:()=>[t(u,{label:"禁用流程图"},{default:()=>[t(f,{value:o.readonly,"onUpdate:value":i=>o.readonly=i},null)]})]})]})]}),t(m,null,{default:()=>[t(n,{height:500,onRegister:r,data:e,readonly:o.readonly},null)]})]})}});export{Rt as default}; diff --git a/js/Flow-XWW4foIy.js.gz b/js/Flow-XWW4foIy.js.gz deleted file mode 100644 index 619437c5..00000000 Binary files a/js/Flow-XWW4foIy.js.gz and /dev/null differ diff --git a/js/TablePro-CT98TDAq.js b/js/TablePro-CT98TDAq.js deleted file mode 100644 index be502a89..00000000 --- a/js/TablePro-CT98TDAq.js +++ /dev/null @@ -1 +0,0 @@ -import{X as Z,Y as _,T as $,z as G,Z as Q,$ as W}from"./hooks-Bi_Q9OFa.js";import{m as ee}from"./utils-4asTneEs.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./print-js@1.6.0-CWwD-D0p.js";import{a as te}from"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./lodash@4.17.21-D1YkSij2.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./instance-BbSLtO2c.js";import{M as O}from"./mockjs@1.1.0-C0u4TCrj.js";import{d as S}from"./dayjs@1.11.13-BI9XULUM.js";import{w as ae,ag as b,M as j,H as ue,ak as oe,e as f,P as m,N as U,I,al as z,an as T}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as re,b as e,F as le,J as l,q as ie}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./axios@1.7.9-upsvKRUO.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function se(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!ie(a)}const ft=re({name:"TableProDemo",setup(){const{format:a}=W(),[q,{runTableRequest:h,getCurrentTableRequestParams:E,print:v,downloadCsv:n}]=Z(),i=p([]),g=p([{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(ae,{type:"info",bordered:!1,style:"margin-right: 6px"},se(o)?o:{default:()=>[o]}))},{title:"Remark",key:"remark"}]),y=p(0),D=p({}),k=p((()=>{const d=[],o=S().valueOf();for(let r=0;r<30;r++)d.push({key:ee(),name:O.Random.cname(),age:r+20,address:O.Random.city(),tags:["nice","developer"],remark:"我是一条很长很长的备注",status:r%2===0?"success":"error",statusText:r%2===0?"在线":"离线",signTimeStart:S(o).add(r*2,"year").valueOf(),signTimeEnd:S(o).add(r+5,"day").valueOf()});return d})()),w=p({pagination:!0,manual:!1}),[L,{checkedRowKeysBind:x,getKeys:F,getRows:P,clearKey:R,clearAll:t,selectKey:M}]=_(i,g,{rowKey:"key",onChange:(u,d,o)=>{}}),V=p(!0),C=u=>u==null,H=u=>new Promise(d=>{const{page:o=1,pageSize:r=10,name:A,status:K,signTimeStart:N,signTimeEnd:B}=u||{};let s=k.value;const Y=k.value.length;A&&(s=s.filter(c=>c.name.includes(A))),K&&(s=s.filter(c=>c.status===K)),N&&B&&(s=s.filter(c=>c.signTimeStart>=N&&c.signTimeEnd<=B)),s=s.slice((o-1)*r,o*r),setTimeout(()=>{d({code:0,data:s,total:C(K)&&C(A)&&(C(N)||C(B))?Y:s.length,message:"success",page:o,pageSize:r})},1e3)}),{run:J,loading:X}=te(H,{onSuccess:u=>{const{data:d,total:o}=u;i.value=d,y.value=o}});return{tableDataRef:i,baseColumns:g,itemCountRef:y,loadingGetPersonList:X,runGetPersonList:J,conditionRef:D,radioRef:w,runTableRequest:h,tableProRegister:q,print:v,downloadCsv:n,checkedRowKeysBind:x,checkedRowKeys:L,getKeys:F,getRows:P,clearKey:R,clearAll:t,collapseRef:V,selectKey:M}},render(){const{tableDataRef:a,baseColumns:q,itemCountRef:h,loadingGetPersonList:E,runGetPersonList:v,conditionRef:n,radioRef:i,runTableRequest:g,tableProRegister:y,print:D,downloadCsv:k,checkedRowKeysBind:w,getKeys:L,getRows:x,clearKey:F,clearAll:P,selectKey:R}=this;return e(f,{vertical:!0},{default:()=>[e($,{open:this.collapseRef,bordered:!0},{default:()=>e(le,null,[e(b,{label:"用户名"},{default:()=>[e(j,{value:n.name,"onUpdate:value":t=>n.name=t,clearable:!0},null)]}),e(b,{label:"状态"},{default:()=>[e(ue,{value:n.status,"onUpdate:value":t=>n.status=t,clearable:!0,options:[{label:"成功",value:"success"},{label:"失败",value:"error"}]},null)]}),e(b,{label:"登陆时间"},{default:()=>[e(oe,{type:"datetimerange",value:n.RangeTime,"onUpdate:value":t=>n.RangeTime=t,clearable:!0},null)]}),e(b,{label:"演示折叠的条件框"},{default:()=>[e(j,{readonly:!0,placeholder:"我只是为了占位"},null)]})]),action:()=>e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>g(),loading:E},{default:()=>[l("查询")]})]}),collapse:t=>t?e(m,{onClick:()=>this.collapseRef=!0,secondary:!0},{default:()=>"受控展开",icon:()=>e(G,{name:"dark",size:"18"},null)}):e(m,{onClick:()=>this.collapseRef=!1,secondary:!0},{default:()=>"受控收起",icon:()=>e(G,{name:"light",size:"18"},null)})}),e(U,{title:"常用高级拓展功能"},{default:()=>[e(f,null,{default:()=>[e(I,{label:"分页"},{default:()=>[e(z,{value:i.pagination,"onUpdate:value":t=>i.pagination=t},{default:()=>[e(T,{value:!0},{default:()=>[l("显示分页")]}),e(T,{value:!1},{default:()=>[l("隐藏分页")]})]})]}),e(I,{label:"自动更新"},{default:()=>[e(z,{value:i.manual,"onUpdate:value":t=>i.manual=t},{default:()=>[e(T,{value:!1},{default:()=>[l("自动更新")]}),e(T,{value:!0},{default:()=>[l("取消自动")]})]})]})]})]}),e(U,{title:"useTablePro 部分方法"},{default:()=>[e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>D()},{default:()=>[l("打印")]}),e(m,{type:"primary",onClick:()=>k()},{default:()=>[l("下载 csv")]})]})]}),e(U,{title:"useCheckedRowKeys 部分方法"},{default:()=>[e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>{const t=a[1].key;R(t)}},{default:()=>[l("选中第二行")]}),e(m,{type:"primary",onClick:()=>{const t=a[1].key;F(t)}},{default:()=>[l("取消选中第二行")]}),e(m,{type:"primary",onClick:()=>{a==null||a.forEach(t=>R(t.key))}},{default:()=>[l("选中当前页面所有行")]}),e(m,{type:"primary",onClick:()=>{P()}},{default:()=>[l("取消所有已选中行")]})]})]}),e(Q,{onRegister:y,data:a,columns:this.baseColumns,"onUpdate:columns":t=>this.baseColumns=t,loading:E,paginationCount:h,request:v,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{ft as default}; diff --git a/js/TablePro-CT98TDAq.js.gz b/js/TablePro-CT98TDAq.js.gz deleted file mode 100644 index 070c81ba..00000000 Binary files a/js/TablePro-CT98TDAq.js.gz and /dev/null differ diff --git a/js/barcode-demo-CTI0gVDr.js b/js/barcode-demo-CTI0gVDr.js new file mode 100644 index 00000000..16206c54 --- /dev/null +++ b/js/barcode-demo-CTI0gVDr.js @@ -0,0 +1 @@ +import{F as a}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{b as e,N as i,e as p,ag as l,J as s,M as n,a as F}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as c,b as t,J as u}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as m}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Et=c({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(F,{cols:2,xGap:12,yGap:12},{default:()=>[t(e,{span:2},{default:()=>[t(i,{title:"详细配置项说明"},{default:()=>[u("点击查看详细配置项:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/Options"},[u("js-barcode options")]),u("。")]})]}),t(e,{span:1},{default:()=>[t(i,{title:"基础条形码"},{default:()=>[t(a,{text:"RayTemplate",options:{...r}},null)]})]}),t(e,{span:1},{default:()=>[t(i,{title:"自定义颜色条形码"},{default:()=>[t(a,{text:"RayTemplate",options:{...r,lineColor:"red"}},null)]})]}),t(e,{span:1},{default:()=>[t(i,{title:"pharmacode 模式"},{default:()=>[t(p,{vertical:!0},{default:()=>[t(l,{type:"warning",title:"注意"},{default:()=>[u("该模式下,条形码只能渲染有效数值,否则将会渲染失败。可以查看官网说明:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/pharmacode"},[u("pharmacode")]),u("。")]}),t(a,{text:"1234",format:"pharmacode",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),t(e,{span:1},{default:()=>[t(i,{title:"codabar 模式"},{default:()=>[t(p,{vertical:!0},{default:()=>[t(l,{type:"warning",title:"注意"},{default:()=>[u("该模式下,需要注意 text 中的特殊字符,可以查看官网说明:"),t("a",{href:"https://github.com/lindell/JsBarcode/wiki/codabar"},[u("codabar")]),u("。")]}),t(a,{text:"1234",format:"codabar",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),t(e,{span:1},{default:()=>[t(i,{title:"有状态的条形码"},{default:()=>[t(p,{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(a,{text:"RayTemplate",loading:this.loading},null)]})]})]}),t(e,{span:1},{default:()=>[t(i,{title:"watchText 主动监听 text 变化"},{default:()=>[t(p,{vertical:!0},{default:()=>[t(n,{value:this.text,"onUpdate:value":o=>this.text=o},null),t(a,{text:this.text,watchText:!0},null)]})]})]})]})}});export{Et as default}; diff --git a/js/barcode-demo-CTI0gVDr.js.gz b/js/barcode-demo-CTI0gVDr.js.gz new file mode 100644 index 00000000..2d400eac Binary files /dev/null and b/js/barcode-demo-CTI0gVDr.js.gz differ diff --git a/js/call-bind@1.0.7-BosuxZz1.js b/js/call-bind-apply-helpers@1.0.1-BosuxZz1.js similarity index 100% rename from js/call-bind@1.0.7-BosuxZz1.js rename to js/call-bind-apply-helpers@1.0.1-BosuxZz1.js diff --git a/js/call-bind@1.0.7-BosuxZz1.js.gz b/js/call-bind-apply-helpers@1.0.1-BosuxZz1.js.gz similarity index 100% rename from js/call-bind@1.0.7-BosuxZz1.js.gz rename to js/call-bind-apply-helpers@1.0.1-BosuxZz1.js.gz diff --git a/js/define-data-property@1.1.4-l0sNRNKZ.js b/js/call-bound@1.0.3-l0sNRNKZ.js similarity index 100% rename from js/define-data-property@1.1.4-l0sNRNKZ.js rename to js/call-bound@1.0.3-l0sNRNKZ.js diff --git a/js/define-data-property@1.1.4-l0sNRNKZ.js.gz b/js/call-bound@1.0.3-l0sNRNKZ.js.gz similarity index 100% rename from js/define-data-property@1.1.4-l0sNRNKZ.js.gz rename to js/call-bound@1.0.3-l0sNRNKZ.js.gz diff --git a/js/classnames@2.5.1-BXd8anFz.js.gz b/js/classnames@2.5.1-BXd8anFz.js.gz deleted file mode 100644 index e1fa410e..00000000 Binary files a/js/classnames@2.5.1-BXd8anFz.js.gz and /dev/null differ diff --git a/js/classnames@2.5.1-BXd8anFz.js b/js/classnames@2.5.1-iH4Bdr9I.js similarity index 89% rename from js/classnames@2.5.1-BXd8anFz.js rename to js/classnames@2.5.1-iH4Bdr9I.js index d0907520..118d748f 100644 --- a/js/classnames@2.5.1-BXd8anFz.js +++ b/js/classnames@2.5.1-iH4Bdr9I.js @@ -1,4 +1,4 @@ -import{g as c}from"./call-bind@1.0.7-BosuxZz1.js";var n={exports:{}};/*! +import{g as c}from"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";var n={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames diff --git a/js/classnames@2.5.1-iH4Bdr9I.js.gz b/js/classnames@2.5.1-iH4Bdr9I.js.gz new file mode 100644 index 00000000..652d5cba Binary files /dev/null and b/js/classnames@2.5.1-iH4Bdr9I.js.gz differ diff --git a/js/clipboard@2.0.11-L0nEBxcf.js b/js/clipboard@2.0.11-DrvHMEFZ.js similarity index 99% rename from js/clipboard@2.0.11-L0nEBxcf.js rename to js/clipboard@2.0.11-DrvHMEFZ.js index ef28c35e..83899c5d 100644 --- a/js/clipboard@2.0.11-L0nEBxcf.js +++ b/js/clipboard@2.0.11-DrvHMEFZ.js @@ -1,4 +1,4 @@ -import{g as X}from"./call-bind@1.0.7-BosuxZz1.js";var A={exports:{}};/*! +import{g as X}from"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";var A={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * diff --git a/js/clipboard@2.0.11-DrvHMEFZ.js.gz b/js/clipboard@2.0.11-DrvHMEFZ.js.gz new file mode 100644 index 00000000..dd431042 Binary files /dev/null and b/js/clipboard@2.0.11-DrvHMEFZ.js.gz differ diff --git a/js/clipboard@2.0.11-L0nEBxcf.js.gz b/js/clipboard@2.0.11-L0nEBxcf.js.gz deleted file mode 100644 index 87460f24..00000000 Binary files a/js/clipboard@2.0.11-L0nEBxcf.js.gz and /dev/null differ diff --git a/js/crypto-js@4.2.0-CO3T8151.js.gz b/js/crypto-js@4.2.0-CO3T8151.js.gz deleted file mode 100644 index 5c173dba..00000000 Binary files a/js/crypto-js@4.2.0-CO3T8151.js.gz and /dev/null differ diff --git a/js/crypto-js@4.2.0-CO3T8151.js b/js/crypto-js@4.2.0-CXjOS6lk.js similarity index 66% rename from js/crypto-js@4.2.0-CO3T8151.js rename to js/crypto-js@4.2.0-CXjOS6lk.js index d9c14798..becc2e1f 100644 --- a/js/crypto-js@4.2.0-CO3T8151.js +++ b/js/crypto-js@4.2.0-CXjOS6lk.js @@ -1,4 +1,4 @@ -import{a as Br,c as rx}from"./call-bind@1.0.7-BosuxZz1.js";const dr={},hr=Object.freeze(Object.defineProperty({__proto__:null,default:dr},Symbol.toStringTag,{value:"Module"})),Cr=Br(hr);var C0={exports:{}};function lr(R){throw new Error('Could not dynamically require "'+R+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var l0={exports:{}},Er=l0.exports,Cx;function L(){return Cx||(Cx=1,function(R,$){(function(C,n){R.exports=n()})(Er,function(){var C=C||function(n,D){var p;if(typeof window<"u"&&window.crypto&&(p=window.crypto),typeof self<"u"&&self.crypto&&(p=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(p=globalThis.crypto),!p&&typeof window<"u"&&window.msCrypto&&(p=window.msCrypto),!p&&typeof rx<"u"&&rx.crypto&&(p=rx.crypto),!p&&typeof lr=="function")try{p=Cr}catch{}var w=function(){if(p){if(typeof p.getRandomValues=="function")try{return p.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof p.randomBytes=="function")try{return p.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function t(){}return function(a){var i;return t.prototype=a,i=new t,t.prototype=null,i}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(t){var a=u(this);return t&&a.mixIn(t),(!a.hasOwnProperty("init")||this.init===a.init)&&(a.init=function(){a.$super.init.apply(this,arguments)}),a.init.prototype=a,a.$super=this,a},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),B=x.WordArray=e.extend({init:function(t,a){t=this.words=t||[],a!=D?this.sigBytes=a:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var a=this.words,i=t.words,E=this.sigBytes,l=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A>>2]>>>24-A%4*8&255;a[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S>>2]=i[S>>>2];return this.sigBytes+=l,this},clamp:function(){var t=this.words,a=this.sigBytes;t[a>>>2]&=4294967295<<32-a%4*8,t.length=n.ceil(a/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var a=[],i=0;i>>2]>>>24-l%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new B.init(i,a/2)}},o=r.Latin1={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l>>2]>>>24-l%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new B.init(i,a)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new B.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var a,i=this._data,E=i.words,l=i.sigBytes,A=this.blockSize,_=A*4,S=l/_;t?S=n.ceil(S):S=n.max((S|0)-this._minBufferSize,0);var v=S*A,F=n.min(v*4,l);if(v){for(var y=0;y>>2]|=d[B]<<24-B%4*8;w.call(this,e,x)}else w.apply(this,arguments)};u.prototype=p}}(),C.lib.WordArray})}(A0)),A0.exports}var F0={exports:{}},Dr=F0.exports,Ax;function _r(){return Ax||(Ax=1,function(R,$){(function(C,n){R.exports=n(L())})(Dr,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=n.enc;w.Utf16=w.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,B=[],r=0;r>>2]>>>16-r%4*8&65535;B.push(String.fromCharCode(s))}return B.join("")},parse:function(d){for(var x=d.length,e=[],B=0;B>>1]|=d.charCodeAt(B)<<16-B%2*16;return p.create(e,x*2)}},w.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,B=[],r=0;r>>2]>>>16-r%4*8&65535);B.push(String.fromCharCode(s))}return B.join("")},parse:function(d){for(var x=d.length,e=[],B=0;B>>1]|=u(d.charCodeAt(B)<<16-B%2*16);return p.create(e,x*2)}};function u(d){return d<<8&4278255360|d>>>8&16711935}}(),C.enc.Utf16})}(F0)),F0.exports}var p0={exports:{}},br=p0.exports,Fx;function r0(){return Fx||(Fx=1,function(R,$){(function(C,n){R.exports=n(L())})(br,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=n.enc;w.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,B=this._map;d.clamp();for(var r=[],s=0;s>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,h=o<<16|c<<8|f,t=0;t<4&&s+t*.75>>6*(3-t)&63));var a=B.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(d){var x=d.length,e=this._map,B=this._reverseMap;if(!B){B=this._reverseMap=[];for(var r=0;r>>6-s%4*2,f=o|c;B[r>>>2]|=f<<24-r%4*8,r++}return p.create(B,r)}}(),C.enc.Base64})}(p0)),p0.exports}var D0={exports:{}},yr=D0.exports,px;function gr(){return px||(px=1,function(R,$){(function(C,n){R.exports=n(L())})(yr,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=n.enc;w.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,B=d.sigBytes,r=x?this._safe_map:this._map;d.clamp();for(var s=[],o=0;o>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|h,a=0;a<4&&o+a*.75>>6*(3-a)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,B=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s>>6-s%4*2,f=o|c;B[r>>>2]|=f<<24-r%4*8,r++}return p.create(B,r)}}(),C.enc.Base64url})}(D0)),D0.exports}var _0={exports:{}},kr=_0.exports,Dx;function e0(){return Dx||(Dx=1,function(R,$){(function(C,n){R.exports=n(L())})(kr,function(C){return function(n){var D=C,p=D.lib,w=p.WordArray,u=p.Hasher,d=D.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=n.abs(n.sin(c+1))*4294967296|0})();var e=d.MD5=u.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var h=0;h<16;h++){var t=f+h,a=c[t];c[t]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,E=c[f+0],l=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],v=c[f+5],F=c[f+6],y=c[f+7],g=c[f+8],z=c[f+9],q=c[f+10],P=c[f+11],X=c[f+12],T=c[f+13],N=c[f+14],I=c[f+15],b=i[0],H=i[1],m=i[2],k=i[3];b=B(b,H,m,k,E,7,x[0]),k=B(k,b,H,m,l,12,x[1]),m=B(m,k,b,H,A,17,x[2]),H=B(H,m,k,b,_,22,x[3]),b=B(b,H,m,k,S,7,x[4]),k=B(k,b,H,m,v,12,x[5]),m=B(m,k,b,H,F,17,x[6]),H=B(H,m,k,b,y,22,x[7]),b=B(b,H,m,k,g,7,x[8]),k=B(k,b,H,m,z,12,x[9]),m=B(m,k,b,H,q,17,x[10]),H=B(H,m,k,b,P,22,x[11]),b=B(b,H,m,k,X,7,x[12]),k=B(k,b,H,m,T,12,x[13]),m=B(m,k,b,H,N,17,x[14]),H=B(H,m,k,b,I,22,x[15]),b=r(b,H,m,k,l,5,x[16]),k=r(k,b,H,m,F,9,x[17]),m=r(m,k,b,H,P,14,x[18]),H=r(H,m,k,b,E,20,x[19]),b=r(b,H,m,k,v,5,x[20]),k=r(k,b,H,m,q,9,x[21]),m=r(m,k,b,H,I,14,x[22]),H=r(H,m,k,b,S,20,x[23]),b=r(b,H,m,k,z,5,x[24]),k=r(k,b,H,m,N,9,x[25]),m=r(m,k,b,H,_,14,x[26]),H=r(H,m,k,b,g,20,x[27]),b=r(b,H,m,k,T,5,x[28]),k=r(k,b,H,m,A,9,x[29]),m=r(m,k,b,H,y,14,x[30]),H=r(H,m,k,b,X,20,x[31]),b=s(b,H,m,k,v,4,x[32]),k=s(k,b,H,m,g,11,x[33]),m=s(m,k,b,H,P,16,x[34]),H=s(H,m,k,b,N,23,x[35]),b=s(b,H,m,k,l,4,x[36]),k=s(k,b,H,m,S,11,x[37]),m=s(m,k,b,H,y,16,x[38]),H=s(H,m,k,b,q,23,x[39]),b=s(b,H,m,k,T,4,x[40]),k=s(k,b,H,m,E,11,x[41]),m=s(m,k,b,H,_,16,x[42]),H=s(H,m,k,b,F,23,x[43]),b=s(b,H,m,k,z,4,x[44]),k=s(k,b,H,m,X,11,x[45]),m=s(m,k,b,H,I,16,x[46]),H=s(H,m,k,b,A,23,x[47]),b=o(b,H,m,k,E,6,x[48]),k=o(k,b,H,m,y,10,x[49]),m=o(m,k,b,H,N,15,x[50]),H=o(H,m,k,b,v,21,x[51]),b=o(b,H,m,k,X,6,x[52]),k=o(k,b,H,m,_,10,x[53]),m=o(m,k,b,H,q,15,x[54]),H=o(H,m,k,b,l,21,x[55]),b=o(b,H,m,k,g,6,x[56]),k=o(k,b,H,m,I,10,x[57]),m=o(m,k,b,H,F,15,x[58]),H=o(H,m,k,b,T,21,x[59]),b=o(b,H,m,k,S,6,x[60]),k=o(k,b,H,m,P,10,x[61]),m=o(m,k,b,H,A,15,x[62]),H=o(H,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+H|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var a=n.floor(h/4294967296),i=h;f[(t+64>>>9<<4)+15]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,l=E.words,A=0;A<4;A++){var _=l[A];l[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=u.clone.call(this);return c._hash=this._hash.clone(),c}});function B(c,f,h,t,a,i,E){var l=c+(f&h|~f&t)+a+E;return(l<>>32-i)+f}function r(c,f,h,t,a,i,E){var l=c+(f&t|h&~t)+a+E;return(l<>>32-i)+f}function s(c,f,h,t,a,i,E){var l=c+(f^h^t)+a+E;return(l<>>32-i)+f}function o(c,f,h,t,a,i,E){var l=c+(h^(f|~t))+a+E;return(l<>>32-i)+f}D.MD5=u._createHelper(e),D.HmacMD5=u._createHmacHelper(e)}(Math),C.MD5})}(_0)),_0.exports}var b0={exports:{}},wr=b0.exports,_x;function Vx(){return _x||(_x=1,function(R,$){(function(C,n){R.exports=n(L())})(wr,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=D.Hasher,u=n.algo,d=[],x=u.SHA1=w.extend({_doReset:function(){this._hash=new p.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,B){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],h=r[4],t=0;t<80;t++){if(t<16)d[t]=e[B+t]|0;else{var a=d[t-3]^d[t-8]^d[t-14]^d[t-16];d[t]=a<<1|a>>>31}var i=(s<<5|s>>>27)+h+d[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,h=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+h|0},_doFinalize:function(){var e=this._data,B=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return B[s>>>5]|=128<<24-s%32,B[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),B[(s+64>>>9<<4)+15]=r,e.sigBytes=B.length*4,this._process(),this._hash},clone:function(){var e=w.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA1=w._createHelper(x),n.HmacSHA1=w._createHmacHelper(x)}(),C.SHA1})}(b0)),b0.exports}var y0={exports:{}},Hr=y0.exports,bx;function ex(){return bx||(bx=1,function(R,$){(function(C,n){R.exports=n(L())})(Hr,function(C){return function(n){var D=C,p=D.lib,w=p.WordArray,u=p.Hasher,d=D.algo,x=[],e=[];(function(){function s(h){for(var t=n.sqrt(h),a=2;a<=t;a++)if(!(h%a))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(n.pow(c,1/2))),e[f]=o(n.pow(c,1/3)),f++),c++})();var B=[],r=d.SHA256=u.extend({_doReset:function(){this._hash=new w.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],h=c[1],t=c[2],a=c[3],i=c[4],E=c[5],l=c[6],A=c[7],_=0;_<64;_++){if(_<16)B[_]=s[o+_]|0;else{var S=B[_-15],v=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=B[_-2],y=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;B[_]=v+B[_-7]+y+B[_-16]}var g=i&E^~i&l,z=f&h^f&t^h&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),P=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),X=A+P+g+e[_]+B[_],T=q+z;A=l,l=E,E=i,i=a+X|0,a=t,t=h,h=f,f=X+T|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+t|0,c[3]=c[3]+a|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+l|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=n.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=u.clone.call(this);return s._hash=this._hash.clone(),s}});D.SHA256=u._createHelper(r),D.HmacSHA256=u._createHmacHelper(r)}(Math),C.SHA256})}(y0)),y0.exports}var g0={exports:{}},mr=g0.exports,yx;function Sr(){return yx||(yx=1,function(R,$){(function(C,n,D){R.exports=n(L(),ex())})(mr,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=n.algo,u=w.SHA256,d=w.SHA224=u.extend({_doReset:function(){this._hash=new p.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=u._doFinalize.call(this);return x.sigBytes-=4,x}});n.SHA224=u._createHelper(d),n.HmacSHA224=u._createHmacHelper(d)}(),C.SHA224})}(g0)),g0.exports}var k0={exports:{}},Rr=k0.exports,gx;function Jx(){return gx||(gx=1,function(R,$){(function(C,n,D){R.exports=n(L(),V0())})(Rr,function(C){return function(){var n=C,D=n.lib,p=D.Hasher,w=n.x64,u=w.Word,d=w.WordArray,x=n.algo;function e(){return u.create.apply(u,arguments)}var B=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=p.extend({_doReset:function(){this._hash=new d.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,h=f[0],t=f[1],a=f[2],i=f[3],E=f[4],l=f[5],A=f[6],_=f[7],S=h.high,v=h.low,F=t.high,y=t.low,g=a.high,z=a.low,q=i.high,P=i.low,X=E.high,T=E.low,N=l.high,I=l.low,b=A.high,H=A.low,m=_.high,k=_.low,K=S,O=v,G=F,W=y,o0=g,t0=z,J0=q,i0=P,j=X,Z=T,B0=N,f0=I,d0=b,s0=H,xx=m,c0=k,M=0;M<80;M++){var Y,V,h0=r[M];if(M<16)V=h0.high=o[c+M*2]|0,Y=h0.low=o[c+M*2+1]|0;else{var ax=r[M-15],a0=ax.high,v0=ax.low,xr=(a0>>>1|v0<<31)^(a0>>>8|v0<<24)^a0>>>7,nx=(v0>>>1|a0<<31)^(v0>>>8|a0<<24)^(v0>>>7|a0<<25),ox=r[M-2],n0=ox.high,u0=ox.low,rr=(n0>>>19|u0<<13)^(n0<<3|u0>>>29)^n0>>>6,ix=(u0>>>19|n0<<13)^(u0<<3|n0>>>29)^(u0>>>6|n0<<26),fx=r[M-7],er=fx.high,tr=fx.low,sx=r[M-16],ar=sx.high,cx=sx.low;Y=nx+tr,V=xr+er+(Y>>>0>>0?1:0),Y=Y+ix,V=V+rr+(Y>>>0>>0?1:0),Y=Y+cx,V=V+ar+(Y>>>0>>0?1:0),h0.high=V,h0.low=Y}var nr=j&B0^~j&d0,vx=Z&f0^~Z&s0,or=K&G^K&o0^G&o0,ir=O&W^O&t0^W&t0,fr=(K>>>28|O<<4)^(K<<30|O>>>2)^(K<<25|O>>>7),ux=(O>>>28|K<<4)^(O<<30|K>>>2)^(O<<25|K>>>7),sr=(j>>>14|Z<<18)^(j>>>18|Z<<14)^(j<<23|Z>>>9),cr=(Z>>>14|j<<18)^(Z>>>18|j<<14)^(Z<<23|j>>>9),Bx=B[M],vr=Bx.high,dx=Bx.low,Q=c0+cr,J=xx+sr+(Q>>>0>>0?1:0),Q=Q+vx,J=J+nr+(Q>>>0>>0?1:0),Q=Q+dx,J=J+vr+(Q>>>0>>0?1:0),Q=Q+Y,J=J+V+(Q>>>0>>0?1:0),hx=ux+ir,ur=fr+or+(hx>>>0>>0?1:0);xx=d0,c0=s0,d0=B0,s0=f0,B0=j,f0=Z,Z=i0+Q|0,j=J0+J+(Z>>>0>>0?1:0)|0,J0=o0,i0=t0,o0=G,t0=W,G=K,W=O,O=Q+hx|0,K=J+ur+(O>>>0>>0?1:0)|0}v=h.low=v+O,h.high=S+K+(v>>>0>>0?1:0),y=t.low=y+W,t.high=F+G+(y>>>0>>0?1:0),z=a.low=z+t0,a.high=g+o0+(z>>>0>>0?1:0),P=i.low=P+i0,i.high=q+J0+(P>>>0>>0?1:0),T=E.low=T+Z,E.high=X+j+(T>>>0>>0?1:0),I=l.low=I+f0,l.high=N+B0+(I>>>0>>0?1:0),H=A.low=H+s0,A.high=b+d0+(H>>>0>>0?1:0),k=_.low=k+c0,_.high=m+xx+(k>>>0>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,h=o.sigBytes*8;c[h>>>5]|=128<<24-h%32,c[(h+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(h+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=p.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});n.SHA512=p._createHelper(s),n.HmacSHA512=p._createHmacHelper(s)}(),C.SHA512})}(k0)),k0.exports}var w0={exports:{}},zr=w0.exports,kx;function qr(){return kx||(kx=1,function(R,$){(function(C,n,D){R.exports=n(L(),V0(),Jx())})(zr,function(C){return function(){var n=C,D=n.x64,p=D.Word,w=D.WordArray,u=n.algo,d=u.SHA512,x=u.SHA384=d.extend({_doReset:function(){this._hash=new w.init([new p.init(3418070365,3238371032),new p.init(1654270250,914150663),new p.init(2438529370,812702999),new p.init(355462360,4144912697),new p.init(1731405415,4290775857),new p.init(2394180231,1750603025),new p.init(3675008525,1694076839),new p.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});n.SHA384=d._createHelper(x),n.HmacSHA384=d._createHmacHelper(x)}(),C.SHA384})}(w0)),w0.exports}var H0={exports:{}},Pr=H0.exports,wx;function Wr(){return wx||(wx=1,function(R,$){(function(C,n,D){R.exports=n(L(),V0())})(Pr,function(C){return function(n){var D=C,p=D.lib,w=p.WordArray,u=p.Hasher,d=D.x64,x=d.Word,e=D.algo,B=[],r=[],s=[];(function(){for(var f=1,h=0,t=0;t<24;t++){B[f+5*h]=(t+1)*(t+2)/2%64;var a=h%5,i=(2*f+3*h)%5;f=a,h=i}for(var f=0;f<5;f++)for(var h=0;h<5;h++)r[f+5*h]=h+(2*f+3*h)%5*5;for(var E=1,l=0;l<24;l++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var v=(1<>>24)&16711935|(E<<24|E>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;var A=t[i];A.high^=l,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var v=0,F=0,y=0;y<5;y++){var A=t[S+5*y];v^=A.high,F^=A.low}var g=o[S];g.high=v,g.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],P=q.high,X=q.low,v=z.high^(P<<1|X>>>31),F=z.low^(X<<1|P>>>31),y=0;y<5;y++){var A=t[S+5*y];A.high^=v,A.low^=F}for(var T=1;T<25;T++){var v,F,A=t[T],N=A.high,I=A.low,b=B[T];b<32?(v=N<>>32-b,F=I<>>32-b):(v=I<>>64-b,F=N<>>64-b);var H=o[r[T]];H.high=v,H.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var y=0;y<5;y++){var T=S+5*y,A=t[T],K=o[T],O=o[(S+1)%5+5*y],G=o[(S+2)%5+5*y];A.high=K.high^~O.high&G.high,A.low=K.low^~O.low&G.low}var A=t[0],W=s[_];A.high^=W.high,A.low^=W.low}},_doFinalize:function(){var f=this._data,h=f.words;this._nDataBytes*8;var t=f.sigBytes*8,a=this.blockSize*32;h[t>>>5]|=1<<24-t%32,h[(n.ceil((t+1)/a)*a>>>5)-1]|=128,f.sigBytes=h.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,l=E/8,A=[],_=0;_>>24)&16711935|(v<<24|v>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(v)}return new w.init(A,E)},clone:function(){for(var f=u.clone.call(this),h=f._state=this._state.slice(0),t=0;t<25;t++)h[t]=h[t].clone();return f}});D.SHA3=u._createHelper(c),D.HmacSHA3=u._createHmacHelper(c)}(Math),C.SHA3})}(H0)),H0.exports}var m0={exports:{}},$r=m0.exports,Hx;function Lr(){return Hx||(Hx=1,function(R,$){(function(C,n){R.exports=n(L())})($r,function(C){/** @preserve +import{a as Br,c as rx}from"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";const dr={},hr=Object.freeze(Object.defineProperty({__proto__:null,default:dr},Symbol.toStringTag,{value:"Module"})),Cr=Br(hr);var C0={exports:{}};function lr(R){throw new Error('Could not dynamically require "'+R+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var l0={exports:{}},Er=l0.exports,Cx;function L(){return Cx||(Cx=1,function(R,$){(function(C,n){R.exports=n()})(Er,function(){var C=C||function(n,D){var p;if(typeof window<"u"&&window.crypto&&(p=window.crypto),typeof self<"u"&&self.crypto&&(p=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(p=globalThis.crypto),!p&&typeof window<"u"&&window.msCrypto&&(p=window.msCrypto),!p&&typeof rx<"u"&&rx.crypto&&(p=rx.crypto),!p&&typeof lr=="function")try{p=Cr}catch{}var w=function(){if(p){if(typeof p.getRandomValues=="function")try{return p.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof p.randomBytes=="function")try{return p.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function t(){}return function(a){var i;return t.prototype=a,i=new t,t.prototype=null,i}}(),d={},x=d.lib={},e=x.Base=function(){return{extend:function(t){var a=u(this);return t&&a.mixIn(t),(!a.hasOwnProperty("init")||this.init===a.init)&&(a.init=function(){a.$super.init.apply(this,arguments)}),a.init.prototype=a,a.$super=this,a},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var a in t)t.hasOwnProperty(a)&&(this[a]=t[a]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),B=x.WordArray=e.extend({init:function(t,a){t=this.words=t||[],a!=D?this.sigBytes=a:this.sigBytes=t.length*4},toString:function(t){return(t||s).stringify(this)},concat:function(t){var a=this.words,i=t.words,E=this.sigBytes,l=t.sigBytes;if(this.clamp(),E%4)for(var A=0;A>>2]>>>24-A%4*8&255;a[E+A>>>2]|=_<<24-(E+A)%4*8}else for(var S=0;S>>2]=i[S>>>2];return this.sigBytes+=l,this},clamp:function(){var t=this.words,a=this.sigBytes;t[a>>>2]&=4294967295<<32-a%4*8,t.length=n.ceil(a/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var a=[],i=0;i>>2]>>>24-l%4*8&255;E.push((A>>>4).toString(16)),E.push((A&15).toString(16))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E>>3]|=parseInt(t.substr(E,2),16)<<24-E%8*4;return new B.init(i,a/2)}},o=r.Latin1={stringify:function(t){for(var a=t.words,i=t.sigBytes,E=[],l=0;l>>2]>>>24-l%4*8&255;E.push(String.fromCharCode(A))}return E.join("")},parse:function(t){for(var a=t.length,i=[],E=0;E>>2]|=(t.charCodeAt(E)&255)<<24-E%4*8;return new B.init(i,a)}},c=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},f=x.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new B.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var a,i=this._data,E=i.words,l=i.sigBytes,A=this.blockSize,_=A*4,S=l/_;t?S=n.ceil(S):S=n.max((S|0)-this._minBufferSize,0);var v=S*A,F=n.min(v*4,l);if(v){for(var y=0;y>>2]|=d[B]<<24-B%4*8;w.call(this,e,x)}else w.apply(this,arguments)};u.prototype=p}}(),C.lib.WordArray})}(A0)),A0.exports}var F0={exports:{}},Dr=F0.exports,Ax;function _r(){return Ax||(Ax=1,function(R,$){(function(C,n){R.exports=n(L())})(Dr,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=n.enc;w.Utf16=w.Utf16BE={stringify:function(d){for(var x=d.words,e=d.sigBytes,B=[],r=0;r>>2]>>>16-r%4*8&65535;B.push(String.fromCharCode(s))}return B.join("")},parse:function(d){for(var x=d.length,e=[],B=0;B>>1]|=d.charCodeAt(B)<<16-B%2*16;return p.create(e,x*2)}},w.Utf16LE={stringify:function(d){for(var x=d.words,e=d.sigBytes,B=[],r=0;r>>2]>>>16-r%4*8&65535);B.push(String.fromCharCode(s))}return B.join("")},parse:function(d){for(var x=d.length,e=[],B=0;B>>1]|=u(d.charCodeAt(B)<<16-B%2*16);return p.create(e,x*2)}};function u(d){return d<<8&4278255360|d>>>8&16711935}}(),C.enc.Utf16})}(F0)),F0.exports}var p0={exports:{}},br=p0.exports,Fx;function r0(){return Fx||(Fx=1,function(R,$){(function(C,n){R.exports=n(L())})(br,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=n.enc;w.Base64={stringify:function(d){var x=d.words,e=d.sigBytes,B=this._map;d.clamp();for(var r=[],s=0;s>>2]>>>24-s%4*8&255,c=x[s+1>>>2]>>>24-(s+1)%4*8&255,f=x[s+2>>>2]>>>24-(s+2)%4*8&255,h=o<<16|c<<8|f,t=0;t<4&&s+t*.75>>6*(3-t)&63));var a=B.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(d){var x=d.length,e=this._map,B=this._reverseMap;if(!B){B=this._reverseMap=[];for(var r=0;r>>6-s%4*2,f=o|c;B[r>>>2]|=f<<24-r%4*8,r++}return p.create(B,r)}}(),C.enc.Base64})}(p0)),p0.exports}var D0={exports:{}},yr=D0.exports,px;function gr(){return px||(px=1,function(R,$){(function(C,n){R.exports=n(L())})(yr,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=n.enc;w.Base64url={stringify:function(d,x){x===void 0&&(x=!0);var e=d.words,B=d.sigBytes,r=x?this._safe_map:this._map;d.clamp();for(var s=[],o=0;o>>2]>>>24-o%4*8&255,f=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,t=c<<16|f<<8|h,a=0;a<4&&o+a*.75>>6*(3-a)&63));var i=r.charAt(64);if(i)for(;s.length%4;)s.push(i);return s.join("")},parse:function(d,x){x===void 0&&(x=!0);var e=d.length,B=x?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s>>6-s%4*2,f=o|c;B[r>>>2]|=f<<24-r%4*8,r++}return p.create(B,r)}}(),C.enc.Base64url})}(D0)),D0.exports}var _0={exports:{}},kr=_0.exports,Dx;function e0(){return Dx||(Dx=1,function(R,$){(function(C,n){R.exports=n(L())})(kr,function(C){return function(n){var D=C,p=D.lib,w=p.WordArray,u=p.Hasher,d=D.algo,x=[];(function(){for(var c=0;c<64;c++)x[c]=n.abs(n.sin(c+1))*4294967296|0})();var e=d.MD5=u.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(c,f){for(var h=0;h<16;h++){var t=f+h,a=c[t];c[t]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360}var i=this._hash.words,E=c[f+0],l=c[f+1],A=c[f+2],_=c[f+3],S=c[f+4],v=c[f+5],F=c[f+6],y=c[f+7],g=c[f+8],z=c[f+9],q=c[f+10],P=c[f+11],X=c[f+12],T=c[f+13],N=c[f+14],I=c[f+15],b=i[0],H=i[1],m=i[2],k=i[3];b=B(b,H,m,k,E,7,x[0]),k=B(k,b,H,m,l,12,x[1]),m=B(m,k,b,H,A,17,x[2]),H=B(H,m,k,b,_,22,x[3]),b=B(b,H,m,k,S,7,x[4]),k=B(k,b,H,m,v,12,x[5]),m=B(m,k,b,H,F,17,x[6]),H=B(H,m,k,b,y,22,x[7]),b=B(b,H,m,k,g,7,x[8]),k=B(k,b,H,m,z,12,x[9]),m=B(m,k,b,H,q,17,x[10]),H=B(H,m,k,b,P,22,x[11]),b=B(b,H,m,k,X,7,x[12]),k=B(k,b,H,m,T,12,x[13]),m=B(m,k,b,H,N,17,x[14]),H=B(H,m,k,b,I,22,x[15]),b=r(b,H,m,k,l,5,x[16]),k=r(k,b,H,m,F,9,x[17]),m=r(m,k,b,H,P,14,x[18]),H=r(H,m,k,b,E,20,x[19]),b=r(b,H,m,k,v,5,x[20]),k=r(k,b,H,m,q,9,x[21]),m=r(m,k,b,H,I,14,x[22]),H=r(H,m,k,b,S,20,x[23]),b=r(b,H,m,k,z,5,x[24]),k=r(k,b,H,m,N,9,x[25]),m=r(m,k,b,H,_,14,x[26]),H=r(H,m,k,b,g,20,x[27]),b=r(b,H,m,k,T,5,x[28]),k=r(k,b,H,m,A,9,x[29]),m=r(m,k,b,H,y,14,x[30]),H=r(H,m,k,b,X,20,x[31]),b=s(b,H,m,k,v,4,x[32]),k=s(k,b,H,m,g,11,x[33]),m=s(m,k,b,H,P,16,x[34]),H=s(H,m,k,b,N,23,x[35]),b=s(b,H,m,k,l,4,x[36]),k=s(k,b,H,m,S,11,x[37]),m=s(m,k,b,H,y,16,x[38]),H=s(H,m,k,b,q,23,x[39]),b=s(b,H,m,k,T,4,x[40]),k=s(k,b,H,m,E,11,x[41]),m=s(m,k,b,H,_,16,x[42]),H=s(H,m,k,b,F,23,x[43]),b=s(b,H,m,k,z,4,x[44]),k=s(k,b,H,m,X,11,x[45]),m=s(m,k,b,H,I,16,x[46]),H=s(H,m,k,b,A,23,x[47]),b=o(b,H,m,k,E,6,x[48]),k=o(k,b,H,m,y,10,x[49]),m=o(m,k,b,H,N,15,x[50]),H=o(H,m,k,b,v,21,x[51]),b=o(b,H,m,k,X,6,x[52]),k=o(k,b,H,m,_,10,x[53]),m=o(m,k,b,H,q,15,x[54]),H=o(H,m,k,b,l,21,x[55]),b=o(b,H,m,k,g,6,x[56]),k=o(k,b,H,m,I,10,x[57]),m=o(m,k,b,H,F,15,x[58]),H=o(H,m,k,b,T,21,x[59]),b=o(b,H,m,k,S,6,x[60]),k=o(k,b,H,m,P,10,x[61]),m=o(m,k,b,H,A,15,x[62]),H=o(H,m,k,b,z,21,x[63]),i[0]=i[0]+b|0,i[1]=i[1]+H|0,i[2]=i[2]+m|0,i[3]=i[3]+k|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,t=c.sigBytes*8;f[t>>>5]|=128<<24-t%32;var a=n.floor(h/4294967296),i=h;f[(t+64>>>9<<4)+15]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360,f[(t+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,c.sigBytes=(f.length+1)*4,this._process();for(var E=this._hash,l=E.words,A=0;A<4;A++){var _=l[A];l[A]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return E},clone:function(){var c=u.clone.call(this);return c._hash=this._hash.clone(),c}});function B(c,f,h,t,a,i,E){var l=c+(f&h|~f&t)+a+E;return(l<>>32-i)+f}function r(c,f,h,t,a,i,E){var l=c+(f&t|h&~t)+a+E;return(l<>>32-i)+f}function s(c,f,h,t,a,i,E){var l=c+(f^h^t)+a+E;return(l<>>32-i)+f}function o(c,f,h,t,a,i,E){var l=c+(h^(f|~t))+a+E;return(l<>>32-i)+f}D.MD5=u._createHelper(e),D.HmacMD5=u._createHmacHelper(e)}(Math),C.MD5})}(_0)),_0.exports}var b0={exports:{}},wr=b0.exports,_x;function Vx(){return _x||(_x=1,function(R,$){(function(C,n){R.exports=n(L())})(wr,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=D.Hasher,u=n.algo,d=[],x=u.SHA1=w.extend({_doReset:function(){this._hash=new p.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,B){for(var r=this._hash.words,s=r[0],o=r[1],c=r[2],f=r[3],h=r[4],t=0;t<80;t++){if(t<16)d[t]=e[B+t]|0;else{var a=d[t-3]^d[t-8]^d[t-14]^d[t-16];d[t]=a<<1|a>>>31}var i=(s<<5|s>>>27)+h+d[t];t<20?i+=(o&c|~o&f)+1518500249:t<40?i+=(o^c^f)+1859775393:t<60?i+=(o&c|o&f|c&f)-1894007588:i+=(o^c^f)-899497514,h=f,f=c,c=o<<30|o>>>2,o=s,s=i}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+c|0,r[3]=r[3]+f|0,r[4]=r[4]+h|0},_doFinalize:function(){var e=this._data,B=e.words,r=this._nDataBytes*8,s=e.sigBytes*8;return B[s>>>5]|=128<<24-s%32,B[(s+64>>>9<<4)+14]=Math.floor(r/4294967296),B[(s+64>>>9<<4)+15]=r,e.sigBytes=B.length*4,this._process(),this._hash},clone:function(){var e=w.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA1=w._createHelper(x),n.HmacSHA1=w._createHmacHelper(x)}(),C.SHA1})}(b0)),b0.exports}var y0={exports:{}},Hr=y0.exports,bx;function ex(){return bx||(bx=1,function(R,$){(function(C,n){R.exports=n(L())})(Hr,function(C){return function(n){var D=C,p=D.lib,w=p.WordArray,u=p.Hasher,d=D.algo,x=[],e=[];(function(){function s(h){for(var t=n.sqrt(h),a=2;a<=t;a++)if(!(h%a))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var c=2,f=0;f<64;)s(c)&&(f<8&&(x[f]=o(n.pow(c,1/2))),e[f]=o(n.pow(c,1/3)),f++),c++})();var B=[],r=d.SHA256=u.extend({_doReset:function(){this._hash=new w.init(x.slice(0))},_doProcessBlock:function(s,o){for(var c=this._hash.words,f=c[0],h=c[1],t=c[2],a=c[3],i=c[4],E=c[5],l=c[6],A=c[7],_=0;_<64;_++){if(_<16)B[_]=s[o+_]|0;else{var S=B[_-15],v=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,F=B[_-2],y=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;B[_]=v+B[_-7]+y+B[_-16]}var g=i&E^~i&l,z=f&h^f&t^h&t,q=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),P=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),X=A+P+g+e[_]+B[_],T=q+z;A=l,l=E,E=i,i=a+X|0,a=t,t=h,h=f,f=X+T|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+t|0,c[3]=c[3]+a|0,c[4]=c[4]+i|0,c[5]=c[5]+E|0,c[6]=c[6]+l|0,c[7]=c[7]+A|0},_doFinalize:function(){var s=this._data,o=s.words,c=this._nDataBytes*8,f=s.sigBytes*8;return o[f>>>5]|=128<<24-f%32,o[(f+64>>>9<<4)+14]=n.floor(c/4294967296),o[(f+64>>>9<<4)+15]=c,s.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var s=u.clone.call(this);return s._hash=this._hash.clone(),s}});D.SHA256=u._createHelper(r),D.HmacSHA256=u._createHmacHelper(r)}(Math),C.SHA256})}(y0)),y0.exports}var g0={exports:{}},mr=g0.exports,yx;function Sr(){return yx||(yx=1,function(R,$){(function(C,n,D){R.exports=n(L(),ex())})(mr,function(C){return function(){var n=C,D=n.lib,p=D.WordArray,w=n.algo,u=w.SHA256,d=w.SHA224=u.extend({_doReset:function(){this._hash=new p.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var x=u._doFinalize.call(this);return x.sigBytes-=4,x}});n.SHA224=u._createHelper(d),n.HmacSHA224=u._createHmacHelper(d)}(),C.SHA224})}(g0)),g0.exports}var k0={exports:{}},Rr=k0.exports,gx;function Jx(){return gx||(gx=1,function(R,$){(function(C,n,D){R.exports=n(L(),V0())})(Rr,function(C){return function(){var n=C,D=n.lib,p=D.Hasher,w=n.x64,u=w.Word,d=w.WordArray,x=n.algo;function e(){return u.create.apply(u,arguments)}var B=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],r=[];(function(){for(var o=0;o<80;o++)r[o]=e()})();var s=x.SHA512=p.extend({_doReset:function(){this._hash=new d.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(o,c){for(var f=this._hash.words,h=f[0],t=f[1],a=f[2],i=f[3],E=f[4],l=f[5],A=f[6],_=f[7],S=h.high,v=h.low,F=t.high,y=t.low,g=a.high,z=a.low,q=i.high,P=i.low,X=E.high,T=E.low,N=l.high,I=l.low,b=A.high,H=A.low,m=_.high,k=_.low,K=S,O=v,G=F,W=y,o0=g,t0=z,J0=q,i0=P,j=X,Z=T,B0=N,f0=I,d0=b,s0=H,xx=m,c0=k,M=0;M<80;M++){var Y,V,h0=r[M];if(M<16)V=h0.high=o[c+M*2]|0,Y=h0.low=o[c+M*2+1]|0;else{var ax=r[M-15],a0=ax.high,v0=ax.low,xr=(a0>>>1|v0<<31)^(a0>>>8|v0<<24)^a0>>>7,nx=(v0>>>1|a0<<31)^(v0>>>8|a0<<24)^(v0>>>7|a0<<25),ox=r[M-2],n0=ox.high,u0=ox.low,rr=(n0>>>19|u0<<13)^(n0<<3|u0>>>29)^n0>>>6,ix=(u0>>>19|n0<<13)^(u0<<3|n0>>>29)^(u0>>>6|n0<<26),fx=r[M-7],er=fx.high,tr=fx.low,sx=r[M-16],ar=sx.high,cx=sx.low;Y=nx+tr,V=xr+er+(Y>>>0>>0?1:0),Y=Y+ix,V=V+rr+(Y>>>0>>0?1:0),Y=Y+cx,V=V+ar+(Y>>>0>>0?1:0),h0.high=V,h0.low=Y}var nr=j&B0^~j&d0,vx=Z&f0^~Z&s0,or=K&G^K&o0^G&o0,ir=O&W^O&t0^W&t0,fr=(K>>>28|O<<4)^(K<<30|O>>>2)^(K<<25|O>>>7),ux=(O>>>28|K<<4)^(O<<30|K>>>2)^(O<<25|K>>>7),sr=(j>>>14|Z<<18)^(j>>>18|Z<<14)^(j<<23|Z>>>9),cr=(Z>>>14|j<<18)^(Z>>>18|j<<14)^(Z<<23|j>>>9),Bx=B[M],vr=Bx.high,dx=Bx.low,Q=c0+cr,J=xx+sr+(Q>>>0>>0?1:0),Q=Q+vx,J=J+nr+(Q>>>0>>0?1:0),Q=Q+dx,J=J+vr+(Q>>>0>>0?1:0),Q=Q+Y,J=J+V+(Q>>>0>>0?1:0),hx=ux+ir,ur=fr+or+(hx>>>0>>0?1:0);xx=d0,c0=s0,d0=B0,s0=f0,B0=j,f0=Z,Z=i0+Q|0,j=J0+J+(Z>>>0>>0?1:0)|0,J0=o0,i0=t0,o0=G,t0=W,G=K,W=O,O=Q+hx|0,K=J+ur+(O>>>0>>0?1:0)|0}v=h.low=v+O,h.high=S+K+(v>>>0>>0?1:0),y=t.low=y+W,t.high=F+G+(y>>>0>>0?1:0),z=a.low=z+t0,a.high=g+o0+(z>>>0>>0?1:0),P=i.low=P+i0,i.high=q+J0+(P>>>0>>0?1:0),T=E.low=T+Z,E.high=X+j+(T>>>0>>0?1:0),I=l.low=I+f0,l.high=N+B0+(I>>>0>>0?1:0),H=A.low=H+s0,A.high=b+d0+(H>>>0>>0?1:0),k=_.low=k+c0,_.high=m+xx+(k>>>0>>0?1:0)},_doFinalize:function(){var o=this._data,c=o.words,f=this._nDataBytes*8,h=o.sigBytes*8;c[h>>>5]|=128<<24-h%32,c[(h+128>>>10<<5)+30]=Math.floor(f/4294967296),c[(h+128>>>10<<5)+31]=f,o.sigBytes=c.length*4,this._process();var t=this._hash.toX32();return t},clone:function(){var o=p.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});n.SHA512=p._createHelper(s),n.HmacSHA512=p._createHmacHelper(s)}(),C.SHA512})}(k0)),k0.exports}var w0={exports:{}},zr=w0.exports,kx;function qr(){return kx||(kx=1,function(R,$){(function(C,n,D){R.exports=n(L(),V0(),Jx())})(zr,function(C){return function(){var n=C,D=n.x64,p=D.Word,w=D.WordArray,u=n.algo,d=u.SHA512,x=u.SHA384=d.extend({_doReset:function(){this._hash=new w.init([new p.init(3418070365,3238371032),new p.init(1654270250,914150663),new p.init(2438529370,812702999),new p.init(355462360,4144912697),new p.init(1731405415,4290775857),new p.init(2394180231,1750603025),new p.init(3675008525,1694076839),new p.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}});n.SHA384=d._createHelper(x),n.HmacSHA384=d._createHmacHelper(x)}(),C.SHA384})}(w0)),w0.exports}var H0={exports:{}},Pr=H0.exports,wx;function Wr(){return wx||(wx=1,function(R,$){(function(C,n,D){R.exports=n(L(),V0())})(Pr,function(C){return function(n){var D=C,p=D.lib,w=p.WordArray,u=p.Hasher,d=D.x64,x=d.Word,e=D.algo,B=[],r=[],s=[];(function(){for(var f=1,h=0,t=0;t<24;t++){B[f+5*h]=(t+1)*(t+2)/2%64;var a=h%5,i=(2*f+3*h)%5;f=a,h=i}for(var f=0;f<5;f++)for(var h=0;h<5;h++)r[f+5*h]=h+(2*f+3*h)%5*5;for(var E=1,l=0;l<24;l++){for(var A=0,_=0,S=0;S<7;S++){if(E&1){var v=(1<>>24)&16711935|(E<<24|E>>>8)&4278255360,l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;var A=t[i];A.high^=l,A.low^=E}for(var _=0;_<24;_++){for(var S=0;S<5;S++){for(var v=0,F=0,y=0;y<5;y++){var A=t[S+5*y];v^=A.high,F^=A.low}var g=o[S];g.high=v,g.low=F}for(var S=0;S<5;S++)for(var z=o[(S+4)%5],q=o[(S+1)%5],P=q.high,X=q.low,v=z.high^(P<<1|X>>>31),F=z.low^(X<<1|P>>>31),y=0;y<5;y++){var A=t[S+5*y];A.high^=v,A.low^=F}for(var T=1;T<25;T++){var v,F,A=t[T],N=A.high,I=A.low,b=B[T];b<32?(v=N<>>32-b,F=I<>>32-b):(v=I<>>64-b,F=N<>>64-b);var H=o[r[T]];H.high=v,H.low=F}var m=o[0],k=t[0];m.high=k.high,m.low=k.low;for(var S=0;S<5;S++)for(var y=0;y<5;y++){var T=S+5*y,A=t[T],K=o[T],O=o[(S+1)%5+5*y],G=o[(S+2)%5+5*y];A.high=K.high^~O.high&G.high,A.low=K.low^~O.low&G.low}var A=t[0],W=s[_];A.high^=W.high,A.low^=W.low}},_doFinalize:function(){var f=this._data,h=f.words;this._nDataBytes*8;var t=f.sigBytes*8,a=this.blockSize*32;h[t>>>5]|=1<<24-t%32,h[(n.ceil((t+1)/a)*a>>>5)-1]|=128,f.sigBytes=h.length*4,this._process();for(var i=this._state,E=this.cfg.outputLength/8,l=E/8,A=[],_=0;_>>24)&16711935|(v<<24|v>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,A.push(F),A.push(v)}return new w.init(A,E)},clone:function(){for(var f=u.clone.call(this),h=f._state=this._state.slice(0),t=0;t<25;t++)h[t]=h[t].clone();return f}});D.SHA3=u._createHelper(c),D.HmacSHA3=u._createHmacHelper(c)}(Math),C.SHA3})}(H0)),H0.exports}var m0={exports:{}},$r=m0.exports,Hx;function Lr(){return Hx||(Hx=1,function(R,$){(function(C,n){R.exports=n(L())})($r,function(C){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/js/crypto-js@4.2.0-CXjOS6lk.js.gz b/js/crypto-js@4.2.0-CXjOS6lk.js.gz new file mode 100644 index 00000000..ad234c88 Binary files /dev/null and b/js/crypto-js@4.2.0-CXjOS6lk.js.gz differ diff --git a/js/dayjs@1.11.13-BI9XULUM.js b/js/dayjs@1.11.13-BI9XULUM.js deleted file mode 100644 index 684e1722..00000000 --- a/js/dayjs@1.11.13-BI9XULUM.js +++ /dev/null @@ -1 +0,0 @@ -import{g as et}from"./call-bind@1.0.7-BosuxZz1.js";var I={exports:{}},rt=I.exports,R;function P(){return R||(R=1,function(q,Q){(function(O,p){q.exports=p()})(rt,function(){var O=1e3,p=6e4,j=36e5,x="millisecond",d="second",y="minute",m="hour",v="day",C="week",M="month",U="quarter",D="year",b="date",J="Invalid Date",G=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,K=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var r=["th","st","nd","rd"],t=s%100;return"["+s+(r[(t-20)%10]||r[t]||r[0])+"]"}},F=function(s,r,t){var n=String(s);return!n||n.length>=r?s:""+Array(r+1-n.length).join(t)+s},tt={s:F,z:function(s){var r=-s.utcOffset(),t=Math.abs(r),n=Math.floor(t/60),e=t%60;return(r<=0?"+":"-")+F(n,2,"0")+":"+F(e,2,"0")},m:function s(r,t){if(r.date()1)return s(u[0])}else{var o=r.name;g[o]=r,e=o}return!n&&e&&(H=e),e||!n&&H},f=function(s,r){if(N(s))return s.clone();var t=typeof r=="object"?r:{};return t.date=s,t.args=arguments,new A(t)},a=tt;a.l=W,a.i=N,a.w=function(s,r){return f(s,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var A=function(){function s(t){this.$L=W(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[E]=!0}var r=s.prototype;return r.parse=function(t){this.$d=function(n){var e=n.date,i=n.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(G);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},r.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},r.$utils=function(){return a},r.isValid=function(){return this.$d.toString()!==J},r.isSame=function(t,n){var e=f(t);return this.startOf(n)<=e&&e<=this.endOf(n)},r.isAfter=function(t,n){return f(t)=r?s:""+Array(r+1-n.length).join(t)+s},tt={s:F,z:function(s){var r=-s.utcOffset(),t=Math.abs(r),n=Math.floor(t/60),e=t%60;return(r<=0?"+":"-")+F(n,2,"0")+":"+F(e,2,"0")},m:function s(r,t){if(r.date()1)return s(u[0])}else{var o=r.name;g[o]=r,e=o}return!n&&e&&(H=e),e||!n&&H},f=function(s,r){if(N(s))return s.clone();var t=typeof r=="object"?r:{};return t.date=s,t.args=arguments,new A(t)},a=tt;a.l=W,a.i=N,a.w=function(s,r){return f(s,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var A=function(){function s(t){this.$L=W(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[E]=!0}var r=s.prototype;return r.parse=function(t){this.$d=function(n){var e=n.date,i=n.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(G);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},r.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},r.$utils=function(){return a},r.isValid=function(){return this.$d.toString()!==J},r.isSame=function(t,n){var e=f(t);return this.startOf(n)<=e&&e<=this.endOf(n)},r.isAfter=function(t,n){return f(t)[m("我被限制在 body 中。")]}),r?t(i,{animation:!0,title:"Custom Container",restrictionElement:o,closable:!0,onClose:()=>this.card3=!1},{default:()=>"我被限制在红色区域中。并且我支持 NCard 的所有配置与插槽。","header-extra":()=>"其实我就是 NCard 封装的",footer:()=>"我支持 footer 插槽",action:()=>"我支持 action 插槽"}):null,t(p,{title:"显示与隐藏卡片"},{default:()=>[t(e,{type:"primary",onClick:()=>this.card3=!this.card3},{default:()=>[m("点一下试试")]})]})])}});export{st as default}; diff --git a/js/draggable-card-Bn2yn2QC.js.gz b/js/draggable-card-Bn2yn2QC.js.gz deleted file mode 100644 index d88e4979..00000000 Binary files a/js/draggable-card-Bn2yn2QC.js.gz and /dev/null differ diff --git a/js/draggable-card-CU-L4b0j.js b/js/draggable-card-CU-L4b0j.js new file mode 100644 index 00000000..0346f99b --- /dev/null +++ b/js/draggable-card-CU-L4b0j.js @@ -0,0 +1 @@ +import{I as m}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as d,e as i,J as n,aj as s,ak as c,P as f}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as b,t as h,b as t,J as u,q as v}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function g(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!v(o)}const Nt=b({name:"DraggableCardDemo",setup(){const o=p(!1),r=h("domRef"),a=[{label:"center",value:"center"},{label:"top-center",value:"top-center"},{label:"bottom-center",value:"bottom-center"},{label:"top-left",value:"top-left"},{label:"top-right",value:"top-right"},{label:"bottom-left",value:"bottom-left"},{label:"bottom-right",value:"bottom-right"}],l=p("center"),e=p(!0);return{card3:o,card3Dad:e,domRef:r,positionRadioOptions:a,positionRadioValue:l}},render(){let o;const{card3:r,domRef:a,positionRadioOptions:l}=this;return t("div",null,[t("div",{ref:"domRef",style:{width:"100%",height:"400px",backgroundColor:"rgba(255, 10, 20, 1)"}},null),t(m,{animation:!0,title:"Body"},{default:()=>[u("我被限制在 body 中。")]}),r?t(m,{animation:!0,title:"Custom Container",restrictionElement:a,closable:!0,onClose:()=>this.card3=!1,defaultPosition:this.positionRadioValue,dad:this.card3Dad},{default:()=>"我被限制在红色区域中。并且我支持 NCard 的所有配置与插槽。","header-extra":()=>"其实我就是 NCard 封装的",footer:()=>"我支持 footer 插槽",action:()=>"我支持 action 插槽"}):null,t(d,{title:"显示与隐藏卡片"},{default:()=>[t(i,{vertical:!0},{default:()=>[t(i,null,{default:()=>[t(n,{value:this.card3Dad,"onUpdate:value":e=>this.card3Dad=e},{checked:()=>"拖拽",unchecked:()=>"禁用"})]}),t(i,null,{default:()=>[t(s,{value:this.positionRadioValue,"onUpdate:value":e=>this.positionRadioValue=e},g(o=l.map(e=>t(c,{key:e.value,value:e.value},{default:()=>[e.label]})))?o:{default:()=>[o]})]}),t(i,null,{default:()=>[t(f,{type:"primary",onClick:()=>this.card3=!this.card3},{default:()=>[u("点一下试试")]})]})]})]})])}});export{Nt as default}; diff --git a/js/draggable-card-CU-L4b0j.js.gz b/js/draggable-card-CU-L4b0j.js.gz new file mode 100644 index 00000000..897d5818 Binary files /dev/null and b/js/draggable-card-CU-L4b0j.js.gz differ diff --git a/js/es-define-property@1.0.0-l0sNRNKZ.js b/js/dunder-proto@1.0.1-l0sNRNKZ.js similarity index 100% rename from js/es-define-property@1.0.0-l0sNRNKZ.js rename to js/dunder-proto@1.0.1-l0sNRNKZ.js diff --git a/js/es-define-property@1.0.0-l0sNRNKZ.js.gz b/js/dunder-proto@1.0.1-l0sNRNKZ.js.gz similarity index 100% rename from js/es-define-property@1.0.0-l0sNRNKZ.js.gz rename to js/dunder-proto@1.0.1-l0sNRNKZ.js.gz diff --git a/js/en-US-BmeRyTYa.js b/js/en-US-BmeRyTYa.js deleted file mode 100644 index 27d206d0..00000000 --- a/js/en-US-BmeRyTYa.js +++ /dev/null @@ -1 +0,0 @@ -import{E as eo}from"./hooks-Bi_Q9OFa.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";const o="The current environment does not support full screen",to={isEnabledFullscreen:o},no=Object.freeze(Object.defineProperty({__proto__:null,default:to,isEnabledFullscreen:o},Symbol.toStringTag,{value:"Module"})),e="Configuration",t={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},n="Display",r="Content Transition",ro={Title:e,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:r},io=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:r,InterfaceDisplay:n,ThemeOptions:t,Title:e,default:ro},Symbol.toStringTag,{value:"Module"})),i="Reload Current Page",s="Lock",c="Setting",l="Github",a="Full Screen",m="Cancel Full Screen",p="Search",so={Reload:i,Lock:s,Setting:c,Github:l,FullScreen:a,CancelFullScreen:m,Search:p},co=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:s,Reload:i,Search:p,Setting:c,default:so},Symbol.toStringTag,{value:"Module"})),g="Axios Request",u="Barcode",_="Cache Utils Demo",d="Precision",S="Right Click Menu",b="Home",f="Directive",h="Doc",T="Doc (China)",y="Doc(inside)",D="Chart",C="Form",O="Mock",P="Modal",v="MultiMenu(catch)",j="Office",M="Document",R="Presentation",k="Spreadsheet",L="QRCode",U="Rely",F="Rely About",I="Same Level Router Demo",w="Segment",x="SVG Icon",z="Table",A="Template Api",E="Scroll Reveal",Q="Table Pro",B="Flow",G="Draggable Card",lo={Axios:g,Barcode:u,CacheDemo:_,CalculatePrecision:d,ContextMenu:S,Dashboard:b,Directive:f,Doc:h,DocLocal:T,DocLocalInside:y,Echart:D,Error:"Error Page",Form:C,Mock:O,Modal:P,MultiMenu:v,Office:j,Office_Document:M,Office_Presentation:R,Office_Spreadsheet:k,QRCode:L,Rely:U,RelyAbout:F,RouterDemo:I,Segment:w,SvgIcon:x,Table:z,TemplateHooks:A,scrollReveal:E,TablePro:Q,Flow:B,DraggableCard:G},ao=Object.freeze(Object.defineProperty({__proto__:null,Axios:g,Barcode:u,CacheDemo:_,CalculatePrecision:d,ContextMenu:S,Dashboard:b,Directive:f,Doc:h,DocLocal:T,DocLocalInside:y,DraggableCard:G,Echart:D,Flow:B,Form:C,Mock:O,Modal:P,MultiMenu:v,Office:j,Office_Document:M,Office_Presentation:R,Office_Spreadsheet:k,QRCode:L,Rely:U,RelyAbout:F,RouterDemo:I,Segment:w,SvgIcon:x,Table:z,TablePro:Q,TemplateHooks:A,default:lo,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),N="Configuration",$={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},H="Interface Display",mo={Title:N,ThemeOptions:$,InterfaceDisplay:H},po=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:H,ThemeOptions:$,Title:N,default:mo},Symbol.toStringTag,{value:"Module"})),q="Register",V="Signing",J="QRCode Signing",K="please enter user name",W="please enter password",X="Login",Y="User Name",Z="User Password",oo="Fast Background Template",go={Register:q,Signing:V,QRCodeSigning:J,NamePlaceholder:K,PasswordPlaceholder:W,Login:X,Name:Y,Password:Z,RayTemplate:oo},uo=Object.freeze(Object.defineProperty({__proto__:null,Login:X,Name:Y,NamePlaceholder:K,Password:Z,PasswordPlaceholder:W,QRCodeSigning:J,RayTemplate:oo,Register:q,Signing:V,default:go},Symbol.toStringTag,{value:"Module"})),_o=Object.assign({"./en-US/globalMessage.json":no,"./en-US/headerSettingOptions.json":io,"./en-US/headerTooltip.json":co,"./en-US/menu.json":ao,"./en-US/setting.json":po,"./en-US/views/login/index.json":uo}),fe={message:{...eo(_o,"en-US")}};export{fe as default}; diff --git a/js/en-US-BmeRyTYa.js.gz b/js/en-US-BmeRyTYa.js.gz deleted file mode 100644 index 44b7edd8..00000000 Binary files a/js/en-US-BmeRyTYa.js.gz and /dev/null differ diff --git a/js/en-US-zhDgnSGz.js b/js/en-US-zhDgnSGz.js new file mode 100644 index 00000000..a13135ed --- /dev/null +++ b/js/en-US-zhDgnSGz.js @@ -0,0 +1 @@ +import{E as eo}from"./hooks-DAFrMGjY.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";const o="The current environment does not support full screen",to={isEnabledFullscreen:o},no=Object.freeze(Object.defineProperty({__proto__:null,default:to,isEnabledFullscreen:o},Symbol.toStringTag,{value:"Module"})),e="Configuration",t={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},n="Display",r="Content Transition",ro={Title:e,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:r},io=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:r,InterfaceDisplay:n,ThemeOptions:t,Title:e,default:ro},Symbol.toStringTag,{value:"Module"})),i="Reload Current Page",s="Lock",c="Setting",l="Github",a="Full Screen",m="Cancel Full Screen",p="Search",so={Reload:i,Lock:s,Setting:c,Github:l,FullScreen:a,CancelFullScreen:m,Search:p},co=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:s,Reload:i,Search:p,Setting:c,default:so},Symbol.toStringTag,{value:"Module"})),g="Axios Request",u="Barcode",_="Cache Utils Demo",d="Precision",S="Right Click Menu",b="Home",f="Directive",h="Doc",T="Doc (China)",y="Doc(inside)",D="Chart",C="Form",O="Mock",P="Modal",v="MultiMenu(catch)",j="Office",M="Document",R="Presentation",k="Spreadsheet",L="QRCode",U="Rely",F="Rely About",I="Same Level Router Demo",w="Segment",x="SVG Icon",z="Table",A="Template Api",E="Scroll Reveal",Q="Table Pro",B="Flow",G="Draggable Card",lo={Axios:g,Barcode:u,CacheDemo:_,CalculatePrecision:d,ContextMenu:S,Dashboard:b,Directive:f,Doc:h,DocLocal:T,DocLocalInside:y,Echart:D,Error:"Error Page",Form:C,Mock:O,Modal:P,MultiMenu:v,Office:j,Office_Document:M,Office_Presentation:R,Office_Spreadsheet:k,QRCode:L,Rely:U,RelyAbout:F,RouterDemo:I,Segment:w,SvgIcon:x,Table:z,TemplateHooks:A,scrollReveal:E,TablePro:Q,Flow:B,DraggableCard:G},ao=Object.freeze(Object.defineProperty({__proto__:null,Axios:g,Barcode:u,CacheDemo:_,CalculatePrecision:d,ContextMenu:S,Dashboard:b,Directive:f,Doc:h,DocLocal:T,DocLocalInside:y,DraggableCard:G,Echart:D,Flow:B,Form:C,Mock:O,Modal:P,MultiMenu:v,Office:j,Office_Document:M,Office_Presentation:R,Office_Spreadsheet:k,QRCode:L,Rely:U,RelyAbout:F,RouterDemo:I,Segment:w,SvgIcon:x,Table:z,TablePro:Q,TemplateHooks:A,default:lo,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),N="Configuration",$={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},H="Interface Display",mo={Title:N,ThemeOptions:$,InterfaceDisplay:H},po=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:H,ThemeOptions:$,Title:N,default:mo},Symbol.toStringTag,{value:"Module"})),q="Register",V="Signing",J="QRCode Signing",K="please enter user name",W="please enter password",X="Login",Y="User Name",Z="User Password",oo="Fast Background Template",go={Register:q,Signing:V,QRCodeSigning:J,NamePlaceholder:K,PasswordPlaceholder:W,Login:X,Name:Y,Password:Z,RayTemplate:oo},uo=Object.freeze(Object.defineProperty({__proto__:null,Login:X,Name:Y,NamePlaceholder:K,Password:Z,PasswordPlaceholder:W,QRCodeSigning:J,RayTemplate:oo,Register:q,Signing:V,default:go},Symbol.toStringTag,{value:"Module"})),_o=Object.assign({"./en-US/globalMessage.json":no,"./en-US/headerSettingOptions.json":io,"./en-US/headerTooltip.json":co,"./en-US/menu.json":ao,"./en-US/setting.json":po,"./en-US/views/login/index.json":uo}),fe={message:{...eo(_o,"en-US")}};export{fe as default}; diff --git a/js/en-US-zhDgnSGz.js.gz b/js/en-US-zhDgnSGz.js.gz new file mode 100644 index 00000000..a05f1b97 Binary files /dev/null and b/js/en-US-zhDgnSGz.js.gz differ diff --git a/js/get-intrinsic@1.2.4-l0sNRNKZ.js b/js/es-define-property@1.0.1-l0sNRNKZ.js similarity index 100% rename from js/get-intrinsic@1.2.4-l0sNRNKZ.js rename to js/es-define-property@1.0.1-l0sNRNKZ.js diff --git a/js/get-intrinsic@1.2.4-l0sNRNKZ.js.gz b/js/es-define-property@1.0.1-l0sNRNKZ.js.gz similarity index 100% rename from js/get-intrinsic@1.2.4-l0sNRNKZ.js.gz rename to js/es-define-property@1.0.1-l0sNRNKZ.js.gz diff --git a/js/gopd@1.0.1-l0sNRNKZ.js b/js/es-object-atoms@1.1.1-l0sNRNKZ.js similarity index 100% rename from js/gopd@1.0.1-l0sNRNKZ.js rename to js/es-object-atoms@1.1.1-l0sNRNKZ.js diff --git a/js/gopd@1.0.1-l0sNRNKZ.js.gz b/js/es-object-atoms@1.1.1-l0sNRNKZ.js.gz similarity index 100% rename from js/gopd@1.0.1-l0sNRNKZ.js.gz rename to js/es-object-atoms@1.1.1-l0sNRNKZ.js.gz diff --git a/js/flow-demo-CUmrCN2Q.js b/js/flow-demo-CUmrCN2Q.js new file mode 100644 index 00000000..2de2fc3e --- /dev/null +++ b/js/flow-demo-CUmrCN2Q.js @@ -0,0 +1 @@ +import{R as l,N as n,O as s}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import{N as m,a as d,al as u,J as f,e as c}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as g,l as y,b as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Rt=g({name:"RFlowDemo",setup(){const[r,{getFlowInstance:e}]=s(),o=p(),i=p({readonly:!1}),a=()=>{e(),window.$message.info("获取实例成功,请在 console 中查看")};return setTimeout(()=>{o.value={nodes:[{id:"21",type:"rect",x:300,y:100,text:"rect node"},{id:"50",type:"circle",x:500,y:100,text:"circle node"}],edges:[{id:"21",type:"polyline",sourceNodeId:"50",targetNodeId:"21"}]}},1e3),y(()=>{a()}),{register:r,flowDataRef:o,settingRef:i}},render(){const{register:r,flowDataRef:e,settingRef:o}=this;return t(c,{vertical:!0},{default:()=>[t(m,null,{default:()=>[t(l,null,{default:()=>[t(d,{xGap:4,yGap:18,cols:4},{default:()=>[t(u,{label:"禁用流程图"},{default:()=>[t(f,{value:o.readonly,"onUpdate:value":i=>o.readonly=i},null)]})]})]})]}),t(m,null,{default:()=>[t(n,{height:500,onRegister:r,data:e,readonly:o.readonly},null)]})]})}});export{Rt as default}; diff --git a/js/flow-demo-CUmrCN2Q.js.gz b/js/flow-demo-CUmrCN2Q.js.gz new file mode 100644 index 00000000..23dbc468 Binary files /dev/null and b/js/flow-demo-CUmrCN2Q.js.gz differ diff --git a/js/has-property-descriptors@1.0.2-l0sNRNKZ.js b/js/get-intrinsic@1.2.7-l0sNRNKZ.js similarity index 100% rename from js/has-property-descriptors@1.0.2-l0sNRNKZ.js rename to js/get-intrinsic@1.2.7-l0sNRNKZ.js diff --git a/js/has-property-descriptors@1.0.2-l0sNRNKZ.js.gz b/js/get-intrinsic@1.2.7-l0sNRNKZ.js.gz similarity index 100% rename from js/has-property-descriptors@1.0.2-l0sNRNKZ.js.gz rename to js/get-intrinsic@1.2.7-l0sNRNKZ.js.gz diff --git a/js/has-proto@1.0.3-l0sNRNKZ.js b/js/get-proto@1.0.1-l0sNRNKZ.js similarity index 100% rename from js/has-proto@1.0.3-l0sNRNKZ.js rename to js/get-proto@1.0.1-l0sNRNKZ.js diff --git a/js/has-proto@1.0.3-l0sNRNKZ.js.gz b/js/get-proto@1.0.1-l0sNRNKZ.js.gz similarity index 100% rename from js/has-proto@1.0.3-l0sNRNKZ.js.gz rename to js/get-proto@1.0.1-l0sNRNKZ.js.gz diff --git a/js/has-symbols@1.0.3-l0sNRNKZ.js b/js/gopd@1.2.0-l0sNRNKZ.js similarity index 100% rename from js/has-symbols@1.0.3-l0sNRNKZ.js rename to js/gopd@1.2.0-l0sNRNKZ.js diff --git a/js/has-symbols@1.0.3-l0sNRNKZ.js.gz b/js/gopd@1.2.0-l0sNRNKZ.js.gz similarity index 100% rename from js/has-symbols@1.0.3-l0sNRNKZ.js.gz rename to js/gopd@1.2.0-l0sNRNKZ.js.gz diff --git a/js/object-inspect@1.13.1-l0sNRNKZ.js b/js/has-symbols@1.1.0-l0sNRNKZ.js similarity index 100% rename from js/object-inspect@1.13.1-l0sNRNKZ.js rename to js/has-symbols@1.1.0-l0sNRNKZ.js diff --git a/js/object-inspect@1.13.1-l0sNRNKZ.js.gz b/js/has-symbols@1.1.0-l0sNRNKZ.js.gz similarity index 100% rename from js/object-inspect@1.13.1-l0sNRNKZ.js.gz rename to js/has-symbols@1.1.0-l0sNRNKZ.js.gz diff --git a/js/hooks-Bi_Q9OFa.js b/js/hooks-Bi_Q9OFa.js deleted file mode 100644 index 7f0a2bc5..00000000 --- a/js/hooks-Bi_Q9OFa.js +++ /dev/null @@ -1,12 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/en-US-BmeRyTYa.js","js/dayjs@1.11.13-BI9XULUM.js","js/call-bind@1.0.7-BosuxZz1.js","js/print-js@1.6.0-CWwD-D0p.js","js/vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js","js/@vue_reactivity@3.5.13-CVvlldVq.js","js/@vue_shared@3.5.13-CQ6Z-5d1.js","js/@vue_runtime-core@3.5.13-pPpmd6wL.js","js/lodash@4.17.21-D1YkSij2.js","js/js-cookie@3.0.5-Z_8Sd105.js","js/screenfull@5.2.0-DQHhvod-.js","js/jsbarcode@3.11.6-VhIBVAt6.js","js/@logicflow_core@2.0.10-Dy_oAVRl.js","js/mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js","js/preact@10.25.4--QYavupV.js","js/mobx@5.15.7-BvNiR7Ki.js","js/lodash-es@4.17.21-BbYRMHep.js","js/uuid@9.0.1-CtRu48qb.js","js/classnames@2.5.1-BXd8anFz.js","js/mousetrap@1.6.5-D2xAa-oQ.js","js/mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js","css/@logicflow_core@2.0-Z6H4Q2Ml.css","js/currency.js@2.0.4-9OAR_aOO.js","js/crypto-js@4.2.0-CO3T8151.js","js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js","js/date-fns@3.6.0-CG906D2E.js","js/seemly@0.3.9-BnJ6M8Cl.js","js/vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js","js/evtd@0.2.4-CI_DDEu_.js","js/@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js","js/vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js","js/vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js","js/@juggle_resize-observer@3.4.0-DY95s5UV.js","js/css-render@0.15.14-BwokE0u2.js","js/@emotion_hash@0.8.0-WldOFDRm.js","js/@vue_runtime-dom@3.5.13-DJqlZTHq.js","js/treemate@0.3.11-CWtmm0QO.js","js/date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js","js/async-validator@4.2.5-P8scd9xB.js","js/@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js","js/@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js","js/@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js","js/utils-4asTneEs.js","js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js","js/destr@2.0.3-Cx7WjB9q.js","js/deep-pick-omit@1.2.1-B1UrSIxj.js","js/pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js","js/html-to-image@1.11.11-D6_yziCT.js","js/vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js","js/interactjs@1.10.27-hUbPqkuo.js","js/vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js","js/@intlify_shared@9.13.1-BxU0OzX2.js","js/@intlify_core-base@9.13.1-CVxc1Bsn.js","js/@intlify_message-compiler@9.13.1-GrLDMuy_.js","js/echarts@5.6.0-Dq866SEH.js","js/zrender@5.6.1-B_T0sHVE.js","js/tslib@2.3.0-BDyQ-Jie.js","js/zh-CN-B-kcJT8r.js","js/index-Zn8uDOa9.js","js/index-BFJAvh0j.js","css/index-BPwDcGFh.css","js/Flow-XWW4foIy.js","js/index-BhM7EuC5.js","js/instance-BbSLtO2c.js","js/axios@1.7.9-upsvKRUO.js","css/index-C60eEB5E.css","js/BarcodeDemo-B0OBSU9q.js","js/index-Dk76Wg-2.js","js/index-B5p3nAYZ.js","js/index-e7_TArrI.js","js/draggable-card-Bn2yn2QC.js","js/index-NT6CxTG0.js","css/index-D9y7XLpS.css","js/index-RcBdBfte.js","js/index-p9rF2sQs.js","js/index-BjsUFS0U.js","js/index-BNHkUzwU.js","js/index-BVc_Gnpy.js","js/index-VfNFmfqJ.js","js/index-C9W4sfAi.js","js/index-CAOR_kJ-.js","js/index-Ca5uOONJ.js","js/vue3-next-qrcode@2.0.10_typescript@5.6.3-wzrC7cBz.js","css/vue3-next-qrcode@2.0.10_typescript@5.6-BnS3AyZU.css","js/ray-dCjhX_JK.js","js/index-Bf4jaD3y.js","css/index-C7SBslZD.css","js/index-C5NvyzDY.js","js/index-DmIHrKCj.js","js/index-DZB7njz5.js","css/index-CCBgYJcK.css","js/index-Bdu49VSO.js","js/index-Ch7Iz5Mb.js","css/index-Bit-kagu.css","js/TablePro-CT98TDAq.js","js/mockjs@1.1.0-C0u4TCrj.js","js/index-D26iCvfp.js","js/index-C8q1X2s-.js","js/index-BryWK9rN.js","css/index-DId3lj_V.css","js/index-DGmHId93.js","css/index-CEBSONXB.css"])))=>i.map(i=>d[i]); -var uo=Object.defineProperty;var co=(e,n,t)=>n in e?uo(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var $t=(e,n,t)=>co(e,typeof n!="symbol"?n+"":n,t);import{s as yt,c as Ee,m as st,q as Et,w as mn,p as Ne,z as We,A as po}from"./lodash-es@4.17.21-BbYRMHep.js";import{z as Kt,d as Wt,f as mo,g as fo,c as go,N as De,a as ho,b as yo,e as I,h as pt,m as bo,i as fn,u as vo,S as Dt,j as _o,k as ze,l as So,n as gn,o as wo,p as Ue,q as Co,r as fe,t as To,s as Oo,v as hn,w as ko,x as yn,y as it,A as qt,B as bn,C as Ao,D as Ro,E as Po,F as le,G as xo,H as Gt,I as z,J as ee,K as Y,L as Mo,M as zt,O as vn,P as J,Q as Eo,R as Do,T as Qe,U as zo,V as Lo,W as Io,X as Fo,Y as Bo,Z as _n,_ as Ht,$ as Vo}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{o as jo,u as $e,a as No,b as Uo,c as Sn,d as $o,e as bt,f as Ko}from"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import{s as ne,k as V,n as ve,e as re,o as Wo,x as we,a as wn,y as Q}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{n as te,j as de,m as P,b as r,p as j,q as he,t as ie,f as T,l as Ce,T as qo,i as Te,w as qe,v as Go,x as Lt,h as mt,y as Cn,F as Tn,z as Ho,A as Yo,C as vt,D as Xo,E as Ae,G as Ve,S as Jo,K as Zo,H as Yt,I as Qo,J as q}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import{d as H}from"./dayjs@1.11.13-BI9XULUM.js";import{p as ea}from"./print-js@1.6.0-CWwD-D0p.js";import{u as On}from"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import{b as ta}from"./jsbarcode@3.11.6-VhIBVAt6.js";import{L as Xt}from"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{u as It,g as Le,i as ge,s as Pe,a as Rt,c as na,b as ut,d as N,e as se,q as Ke,l as kn,f as An,h as oa,r as _e,j as F,k as aa,m as ct,n as Rn,p as Pn,o as Ft,t as la,v as Jt,w as ce,x as xn,y as ra,z as sa,A as ia,B as ua,C as ca}from"./utils-4asTneEs.js";import{s as da}from"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import{d as ft,c as pa}from"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import{t as ma,a as fa,b as ga,c as ha,d as ya,e as ba}from"./html-to-image@1.11.11-D6_yziCT.js";import{u as Ge,a as va,o as _a,c as Sa,b as wa}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import{T as Mn,a as Ca}from"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import{i as Zt}from"./interactjs@1.10.27-hUbPqkuo.js";import{c as Ta}from"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import{r as Oa,u as je,i as ka,a as Aa,b as Ra,c as Pa,d as xa,e as Ma,f as Ea,g as Da,h as za,j as La,k as Ia,l as Fa,m as Ba,n as Va,o as ja,p as Na,q as Ua,s as $a}from"./echarts@5.6.0-Dq866SEH.js";import{h as Ka}from"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";const fi=(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 a=e[o].default;let l=o.replace(`./${n}/`,"").replace(/^\.\//,"");const s=l.lastIndexOf(".");l=l.substring(0,s);const i=l.split("/"),u=i.shift(),c=i.join(".");u&&(c?(yt(t,u,t[u]||{}),yt(t[u],c,a)):yt(t,u,a||{}))}),t},Wa="modulepreload",qa=function(e){return"/ray-template/"+e},Qt={},D=function(n,t,o){let a=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=Promise.allSettled(t.map(u=>{if(u=qa(u),u in Qt)return;Qt[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Wa,c||(p.as="script"),p.crossOrigin="",p.href=u,i&&p.setAttribute("nonce",i),document.head.appendChild(p),c)return new Promise((v,m)=>{p.addEventListener("load",v),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function l(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return a.then(s=>{for(const i of s||[])i.status==="rejected"&&l(i.reason);return n().catch(l)})},Ga=(e,n,t)=>{const o=e[n];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((a,l)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(l.bind(null,new Error("Unknown variable dynamic import: "+n+(n.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},Ha=async e=>{var t;const n={};for(const o of e){const a=await Ga(Object.assign({"../lang/en-US.ts":()=>D(()=>import("./en-US-BmeRyTYa.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),"../lang/zh-CN.ts":()=>D(()=>import("./zh-CN-B-kcJT8r.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]))}),`../lang/${o.key}.ts`,3),l=o.key;l&&(n[l]=((t=a==null?void 0:a.default)==null?void 0:t.message)??{})}return n},gi=e=>{switch(e){case"zh-CN":return{locale:Kt,dateLocal:Wt};case"en-US":return{locale:null,dateLocal:null};default:return{locale:Kt,dateLocal:Wt}}},Ya={darkClassName:"ray-template--dark",lightClassName:"ray-template--light",rayTemplateThemePrimaryColor:"--ray-theme-primary-color",rayTemplateThemePrimaryFadeColor:"--ray-theme-primary-fade-color",preLoadingAnimation:"pre-loading-animation",htmlHeight:"--html-height",htmlWidth:"--html-width"},hi={max:5,closable:!1},yi="loading",bi="",U={signing:"signing",localeLanguage:"localeLanguage",token:"token",appMenuKey:"menuKey",appPiniaSettingStore:"piniaSettingStore",appPiniaKeepAliveStore:"piniaKeepAliveStore",appPiniaMenuStore:"piniaMenuStore",appPiniaSigningStore:"piniaSigningStore",appVersionProvider:"appVersionProvider",isAppLockScreen:"isAppLockScreen",appGlobalSearchOptions:"appGlobalSearchOptions",appMenuTagOptions:"appMenuTagOptions",appLockScreenPasswordKey:"appLockScreenPasswordKey"},Xa=[{label:"无",value:"none"},{label:"缩放出现",value:"scale"},{label:"缩放消退",value:"fade-scale"},{label:"滑入出现",value:"fade-slide"},{label:"淡入消退",value:"opacity"},{label:"底部消退",value:"fade-bottom"}],Se={appThemeColors:["#2d8cf0","#3f9eff","#ff42bc","#ee4f12","#dbcb02","#18a058"],appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"},appNaiveUIThemeOverrides:{dark:{common:{borderRadius:"4px",baseColor:"rgb(18, 18, 18)"}},light:{common:{borderRadius:"4px",baseColor:"rgb(255, 255, 255)"}}},echartTheme:"macarons"},En=[{key:"zh-CN",label:"中文(简体)"},{key:"en-US",label:"English(US)"}],Ja="zh-CN",Za="zh-CN",Qa={"zh-CN":"zh-cn","en-US":"en"},el="zh-cn",vi={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$/},_i={baseURL:"",withCredentials:!1,timeout:5*1e3,headers:{"Content-Type":"application/json"}},xe=ne(null),Dn=ne(null),tl={setupRouterLoadingBar:!0,setupRouterGuard:!0},nl=["RLogin","ErrorPage","RayTemplateDoc"],et=[],Si=(e,n)=>{const t=V(0),o=V(0),a=V(!1),{clickOutside:l}={},s=p=>{a.value=p},i=p=>{p.preventDefault(),s(!1),te().then(()=>{const{clientX:v,clientY:m}=p;t.value=v,o.value=m,s(!0)})};l&&jo(e,p=>{l(p)});const u=$e(e,"contextmenu",i,n),c=$e(e,"click",()=>{s(!1)});return{stop:()=>{u(),c()},x:ve(t),y:ve(o),show:ve(a),updateShow:s}},Bt=re({globalSpinning:!1,globalDrawerValue:!1,globalMainLayoutLoad:!0,layoutContentMaximize:!1,layoutContentSpinning:!1});function me(e,n,t){It(Bt,e,n,t)}function gt(e){return ve(Wo(Bt,e))}function ol(){return{...we(ve(Bt))}}let pe;const al=async()=>{const e=oo(),n=await Ha(En);return Ta({legacy:!1,locale:e,messages:n,sync:!0,missingWarn:!1,silentFallbackWarn:!0,fallbackLocale:Za})},wi=async e=>{const n=await al();e.use(n),pe=n},en=(e,n)=>n,He=e=>{if(!pe)return{t:l=>en(e,l),locale:l=>{}};const{t:n,...t}=pe.global;return{...t,t:(l,...s)=>l?l.includes(".")?n(en(e,l),...s):l:"",locale:l=>{pe.mode==="legacy"?pe.global.locale=l:wn(pe.global.locale)?pe.global.locale.value=l:pe.global.locale=l}}},B=e=>e,ll={path:"/dashboard",component:()=>D(()=>import("./index-Zn8uDOa9.js"),__vite__mapDeps([58,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,59,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,60])),meta:{i18nKey:B("menu.Dashboard"),icon:"dashboard",order:0}},rl=Object.freeze(Object.defineProperty({__proto__:null,default:ll},Symbol.toStringTag,{value:"Module"})),sl={path:"/flow",component:()=>D(()=>import("./Flow-XWW4foIy.js"),__vite__mapDeps([61,22,23,2,1,3,4,5,6,7,8,9,10,11,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39,40,41,12,13,14,15,17,18,19,20,21,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.Flow"),icon:"other",order:2}},il=Object.freeze(Object.defineProperty({__proto__:null,default:sl},Symbol.toStringTag,{value:"Module"})),ul={path:"/axios",name:"RAxios",component:()=>D(()=>import("./index-BhM7EuC5.js"),__vite__mapDeps([62,4,5,6,7,8,2,9,10,63,64,1,3,11,12,13,14,15,16,17,18,19,20,21,42,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56,65])),meta:{i18nKey:B("menu.Axios"),icon:"axios",order:3,keepAlive:!0}},cl=Object.freeze(Object.defineProperty({__proto__:null,default:ul},Symbol.toStringTag,{value:"Module"})),dl={path:"barcode",component:()=>D(()=>import("./BarcodeDemo-B0OBSU9q.js"),__vite__mapDeps([66,22,23,2,1,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,11,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.Barcode"),icon:"other",order:2,extra:{label:"new"}}},pl=Object.freeze(Object.defineProperty({__proto__:null,default:dl},Symbol.toStringTag,{value:"Module"})),ml={path:"/cache-demo",component:()=>D(()=>import("./index-Dk76Wg-2.js"),__vite__mapDeps([67,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,42,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.CacheDemo"),icon:"other",order:3}},fl=Object.freeze(Object.defineProperty({__proto__:null,default:ml},Symbol.toStringTag,{value:"Module"})),gl={path:"/context-menu",component:()=>D(()=>import("./index-B5p3nAYZ.js"),__vite__mapDeps([68,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.ContextMenu"),icon:"other",order:2}},hl=Object.freeze(Object.defineProperty({__proto__:null,default:gl},Symbol.toStringTag,{value:"Module"})),yl={path:"/directive",component:()=>D(()=>import("./index-e7_TArrI.js"),__vite__mapDeps([69,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{i18nKey:B("menu.Directive"),icon:"other",order:2,extra:{label:"ellipsis"}}},bl=Object.freeze(Object.defineProperty({__proto__:null,default:yl},Symbol.toStringTag,{value:"Module"})),vl={path:"/draggable-card",component:()=>D(()=>import("./draggable-card-Bn2yn2QC.js"),__vite__mapDeps([70,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.DraggableCard"),icon:"other",order:2,extra:{label:"drag"}}},_l=Object.freeze(Object.defineProperty({__proto__:null,default:vl},Symbol.toStringTag,{value:"Module"})),Sl={path:"/echart",component:()=>D(()=>import("./index-NT6CxTG0.js"),__vite__mapDeps([71,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,72])),meta:{i18nKey:B("menu.Echart"),icon:"echart",order:1,extra:{label:"useChart"}}},wl=Object.freeze(Object.defineProperty({__proto__:null,default:Sl},Symbol.toStringTag,{value:"Module"})),Cl={path:"/form",component:()=>D(()=>import("./index-RcBdBfte.js"),__vite__mapDeps([73,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.Form"),icon:"other",order:2,extra:{label:"useForm"}}},Tl=Object.freeze(Object.defineProperty({__proto__:null,default:Cl},Symbol.toStringTag,{value:"Module"})),Ol={path:"/iframe",component:()=>D(()=>import("./index-p9rF2sQs.js"),__vite__mapDeps([74,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{icon:"other",order:2,noLocalTitle:"iframe"}},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Ol},Symbol.toStringTag,{value:"Module"})),Al={path:"/mock-demo",component:()=>D(()=>import("./index-BjsUFS0U.js"),__vite__mapDeps([75,22,23,2,1,3,11,12,13,14,15,16,17,18,19,20,21,4,5,6,7,8,9,10,63,64,42,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.Mock"),icon:"other",order:3,keepAlive:!1,extra:{label:"usePagination"}}},Rl=Object.freeze(Object.defineProperty({__proto__:null,default:Al},Symbol.toStringTag,{value:"Module"})),Pl={path:"/modal-demo",component:()=>D(()=>import("./index-BNHkUzwU.js"),__vite__mapDeps([76,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.Modal"),icon:"other",order:3}},xl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),rt=()=>D(()=>Promise.resolve().then(()=>rs),void 0),Ml={path:"/multi",component:rt,meta:{i18nKey:B("menu.MultiMenu"),icon:"other",order:4,extra:{label:"cache"}},children:[{path:"multi-menu-one",name:"MultiMenuOne",component:()=>D(()=>import("./index-BVc_Gnpy.js"),__vite__mapDeps([77,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{noLocalTitle:"多级菜单-1",keepAlive:!0}},{path:"multi-menu-two",name:"MultiMenuTwo",component:rt,meta:{noLocalTitle:"多级菜单-2"},children:[{path:"sub-menu-other",name:"SubMenuOther",component:()=>D(()=>import("./index-VfNFmfqJ.js"),__vite__mapDeps([78,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{noLocalTitle:"多级菜单-2-1",keepAlive:!0}},{path:"sub-menu",name:"SubMenu",component:rt,meta:{noLocalTitle:"多级菜单-2-2",keepAlive:!0},children:[{path:"sub-menu-one",name:"MultiMenuTwoOne",component:()=>D(()=>import("./index-C9W4sfAi.js"),__vite__mapDeps([79,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{noLocalTitle:"多级菜单-2-2-1",keepAlive:!0}}]}]}]},El=Object.freeze(Object.defineProperty({__proto__:null,default:Ml},Symbol.toStringTag,{value:"Module"})),Dl={path:"/precision",component:()=>D(()=>import("./index-CAOR_kJ-.js"),__vite__mapDeps([80,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,42,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.CalculatePrecision"),icon:"other",order:2}},zl=Object.freeze(Object.defineProperty({__proto__:null,default:Dl},Symbol.toStringTag,{value:"Module"})),Ll={path:"/qrcode",component:()=>D(()=>import("./index-Ca5uOONJ.js"),__vite__mapDeps([81,82,7,5,6,83,84,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{i18nKey:B("menu.QRCode"),icon:"other",order:2}},Il=Object.freeze(Object.defineProperty({__proto__:null,default:Ll},Symbol.toStringTag,{value:"Module"})),Fl={path:"rely-about",component:()=>D(()=>import("./index-Bf4jaD3y.js"),__vite__mapDeps([85,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39,86])),meta:{i18nKey:B("menu.RelyAbout"),icon:"rely",order:999}},Bl=Object.freeze(Object.defineProperty({__proto__:null,default:Fl},Symbol.toStringTag,{value:"Module"})),Vl={path:"/router-demo",component:rt,meta:{i18nKey:B("menu.RouterDemo"),icon:"other",order:3},children:[{path:"router-demo-home",component:()=>D(()=>import("./index-C5NvyzDY.js"),__vite__mapDeps([87,22,23,2,1,3,48,5,6,7,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,4,8,9,10,42,43,44,45,46,47,49,50,51,52,53,54,55,56])),meta:{noLocalTitle:"人员信息(平级模式)"}},{path:"router-demo-detail",component:()=>D(()=>import("./index-DmIHrKCj.js"),__vite__mapDeps([88,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{noLocalTitle:"信息详情",sameLevel:!0}}]},jl=Object.freeze(Object.defineProperty({__proto__:null,default:Vl},Symbol.toStringTag,{value:"Module"})),Nl={path:"/scroll-reveal",component:()=>D(()=>import("./index-DZB7njz5.js"),__vite__mapDeps([89,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39,90])),meta:{i18nKey:B("menu.scrollReveal"),icon:"scroll_reveal",hidden:!0}},Ul=Object.freeze(Object.defineProperty({__proto__:null,default:Nl},Symbol.toStringTag,{value:"Module"})),$l={path:"/segment",component:()=>D(()=>import("./index-Bdu49VSO.js"),__vite__mapDeps([91,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.Segment"),icon:"other",order:3,extra:{label:"segment"}}},Kl=Object.freeze(Object.defineProperty({__proto__:null,default:$l},Symbol.toStringTag,{value:"Module"})),Wl={path:"/svg-icons",component:()=>D(()=>import("./index-Ch7Iz5Mb.js"),__vite__mapDeps([92,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,93])),meta:{i18nKey:B("menu.SvgIcon"),icon:"other",order:3}},ql=Object.freeze(Object.defineProperty({__proto__:null,default:Wl},Symbol.toStringTag,{value:"Module"})),Gl={path:"/table-pro",component:()=>D(()=>import("./TablePro-CT98TDAq.js"),__vite__mapDeps([94,42,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,63,64,95,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.TablePro"),icon:"other",order:2,extra:{label:"TablePro"}}},Hl=Object.freeze(Object.defineProperty({__proto__:null,default:Gl},Symbol.toStringTag,{value:"Module"})),Yl={path:"/table",component:()=>D(()=>import("./index-D26iCvfp.js"),__vite__mapDeps([96,42,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.Table"),icon:"other",order:2,extra:{label:"useTable"}}},Xl=Object.freeze(Object.defineProperty({__proto__:null,default:Yl},Symbol.toStringTag,{value:"Module"})),Jl={path:"/template-hooks",component:()=>D(()=>import("./index-C8q1X2s-.js"),__vite__mapDeps([97,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:B("menu.TemplateHooks"),icon:"other",order:1}},Zl=Object.freeze(Object.defineProperty({__proto__:null,default:Jl},Symbol.toStringTag,{value:"Module"})),Ql=()=>{const e=Object.assign({"/src/router/modules/dashboard.ts":rl,"/src/router/modules/demo/axios copy.ts":il,"/src/router/modules/demo/axios.ts":cl,"/src/router/modules/demo/barcode.ts":pl,"/src/router/modules/demo/cache-demo.ts":fl,"/src/router/modules/demo/context-menu.ts":hl,"/src/router/modules/demo/directive.ts":bl,"/src/router/modules/demo/draggable-card.ts":_l,"/src/router/modules/demo/echart.ts":wl,"/src/router/modules/demo/form.ts":Tl,"/src/router/modules/demo/iframe.ts":kl,"/src/router/modules/demo/mock.ts":Rl,"/src/router/modules/demo/modal.ts":xl,"/src/router/modules/demo/multi-menu.ts":El,"/src/router/modules/demo/precision.ts":zl,"/src/router/modules/demo/qrcode.ts":Il,"/src/router/modules/demo/rely.ts":Bl,"/src/router/modules/demo/router-demo.ts":jl,"/src/router/modules/demo/scroll-reveal.ts":Ul,"/src/router/modules/demo/segment.ts":Kl,"/src/router/modules/demo/svg-icons.ts":ql,"/src/router/modules/demo/table-pro.ts":Hl,"/src/router/modules/demo/table.ts":Xl,"/src/router/modules/demo/template-hooks.ts":Zl});return Object.keys(e).reduce((t,o)=>{const a=e[o].default;if(a)t.push(a);else throw new Error(`[combineRawRouteModules]: ${o} module must export default.`);return t},[])},er=e=>e[0]==="/",zn=(e,n=[],t="")=>{var o;if(!Array.isArray(e))return[];for(const a of e){const l=t+(er(a.path)?a.path:"/"+a.path);if((o=a.children)!=null&&o.length){zn(a.children,n,l);continue}else n.push({...a,path:l})}return n},tr=e=>Array.isArray(e)?zn(Ee(e)):[],nr=e=>e.sort((n,t)=>{var l,s;const o=((l=n.meta)==null?void 0:l.order)??1,a=((s=t.meta)==null?void 0:s.order)??0;return o===a?n.name?t.name?n.name.localeCompare(t.name):-1:1:o-a}),or=e=>{const{beforeEach:n}=e,{getRootPath:t}=Je(),o=(a,l)=>a.path==="/"||l.path==="/login";n((a,l,s)=>{const i=Le(U.token,"localStorage"),u=Le(U.appMenuKey,"sessionStorage",{defaultValue:t.value}),{meta:c,name:f}=a;i!==null?o(a,l)?_t(!0):!ge(f,"Symbol")&&f&&nl.includes(f)?s():Jn(c)?o(a,l)?u?s(u):_t(!0):s():_t(!0):o(a,l)?s():s("/")})},_t=(e=!0)=>{const{router:n}=jt(),{push:t,replace:o}=n,{getRootPath:a}=Je();Pe(U.appMenuKey,a.value,"localStorage"),e?o(a.value):t(a.value)},ar=e=>{var t;const{meta:n}=e;n!=null&&n.ignoreAutoResetScroll||(t=xe.value)==null||t.scrollTo({top:0,left:0,behavior:"smooth"})},lr=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()})},Ln=e=>{const{meta:n={}}=e,{hidden:t,sameLevel:o,env:a}=n,{MODE:l}=Rt();return!(o||t||a&&typeof a=="string"&&a!==l||a&&Array.isArray(a)&&!a.includes(l))},rr={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},In=()=>rr,Ie=ft("setting",()=>{const{appPrimaryColor:{primaryColor:e,primaryFadeColor:n}}=Se,{locale:t}=He(),{locale:o}=Ls(),a=re({primaryColorOverride:{common:{primaryColor:e,primaryColorHover:n,primaryColorPressed:e,primaryColorSuppl:n}},_appTheme:!1,appTheme:"light",localeLanguage:oo(),lockScreenSwitch:!1,appRootRoute:{name:"Dashboard",path:"/dashboard"},sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"},...Ee(In())}),l=c=>{t(c),o(c),Pe(U.localeLanguage,c,"localStorage"),a.localeLanguage=c},s=(c,f=.85)=>{const p=na(c,f),v={primaryColor:c,primaryColorHover:p,primaryColorPressed:c,primaryColorSuppl:p},{rayTemplateThemePrimaryColor:m,rayTemplateThemePrimaryFadeColor:g}=Ya,b=document.documentElement;a.primaryColorOverride.common=v,b.style.setProperty(m,c),b.style.setProperty(g,p)},i=(c,f,p)=>{It(a,c,f,p)},u=c=>{const f=document.documentElement;i("colorWeakness",c),ut(f,{filter:c?"invert(100%)":""})};return de(()=>{var c;a._appTheme?a.primaryColorOverride=st({},a.primaryColorOverride,Se.appNaiveUIThemeOverrides.dark):a.primaryColorOverride=st({},a.primaryColorOverride,Se.appNaiveUIThemeOverrides.light),u(a.colorWeakness),a.dynamicDocumentTitle||(document.title=((c=a.sideBarLogo)==null?void 0:c.title)||"Ray Template")}),{...we(a),updateLocale:l,changePrimaryColor:s,updateSettingState:i,toggleColorWeakness:u}},{persist:{key:U.appPiniaSettingStore,omit:["lockScreenSwitch"],storage:window.localStorage}}),Fn={...mo,onRegister:{type:[Function,Array],default:null}},Bn={actionSpan:{type:Number,default:1},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},...fo};function sr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const Ci=P({name:"RCollapse",props:Object.assign({},Fn,{...Bn,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,...a}=n;return r(Un,j(a,{labelPlacement:"top",showFeedback:!1}),{default:()=>[r(pr,a,sr(e)?e:{default:()=>[e]})]})}}),ir={...go,restrictionElement:{type:[String,HTMLElement,Function,Object],default:"body"},dad:{type:Boolean,default:!0},restrictRectOptions:{type:Object,default:void 0},defaultPosition:{type:[Object,String],default:()=>({x:0,y:0})},width:{type:[String,Number],default:600},zIndex:{type:Number,default:void 0},animation:{type:Boolean,default:!1},padding:{type:Object,default:void 0}},Ti=P({name:"RDraggableCard",props:ir,setup(e,{expose:n}){const t=ie("cardRef");let o=null;const a={x:0,y:0},l="draggable-card-container",s=T(()=>({"--r-draggable-card-width":N(e.width),"--r-draggable-card-z-index":e.zIndex}));let i=!1;(()=>{if(!document.getElementById(l)){const v=document.createElement("div");v.id=l,document.documentElement.appendChild(v)}})();const c=()=>{const v=se(t),m=typeof e.restrictionElement=="string"?Ke(e.restrictionElement):e.restrictionElement;let g=null;return Array.isArray(m)?g=m[0]:g=se(m),{card:v,restrictionElement:g}},f=(v,m)=>{const{defaultPosition:g,padding:b}=e,{x:h=0,y:_=0}=b??{},{x:d,y,width:w,height:C}=v,{width:S,height:A}=m;if(typeof g=="string")switch(g){case"top-left":return{x:h+d,y:_+y};case"top-right":return{x:w-S-h+d,y:_+y};case"bottom-left":return{x:h+d,y:C-A-_+y};case"bottom-right":return{x:w-S-h+d,y:C-A-_+y};default:return{x:h+d,y:_+y}}else{const{x:O,y:L}=g;return{x:O+d+h,y:L+y+_}}},p=()=>{const{card:v,restrictionElement:m}=c();if(!v||!e.dad)return;const g=m==null?void 0:m.getBoundingClientRect(),b=v.querySelector(".n-card-header"),h=Object.assign({},{restriction:m,endOnly:!0},e.restrictRectOptions);if(g&&!i){const _=f(g,v.getBoundingClientRect());v.style.transform=`translate(${_.x}px, ${_.y}px)`,a.x=_.x,a.y=_.y}o=Zt(v).draggable({inertia:!0,autoScroll:!0,allowFrom:b?".n-card-header":".n-card__content",modifiers:[Zt.modifiers.restrictRect(h)],listeners:{move:_=>{v.setAttribute("can-drag","true"),a.x+=_.dx,a.y+=_.dy,v.style.transform=`translate(${a.x}px, ${a.y}px)`}}}).resizable(!1),i=!0};return n(),de(()=>{e.dad?p():(o==null||o.unset(),o=null)}),Ce(()=>{te(()=>{p()})}),{cardRef:t,CONTAINER_ID:l,cssVars:s}},render(){const{$attrs:e,$slots:n,$props:t,CONTAINER_ID:o,cssVars:a,animation:l}=this;return r(qo,{to:`#${o}`},{default:()=>[l?r(Mn,{name:"draggable-card",appear:!0,mode:"out-in"},{default:()=>[r(De,j(e,t,{class:"r-draggable-card",style:[a],ref:"cardRef"}),{...n})]}):r(De,j(e,t,{class:"r-draggable-card",style:[a],ref:"cardRef"}),{...n})]})}}),ur={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:()=>kn()},autoResizeObserverTarget:{type:Object,default:null},watchOptionsThrottleWait:{type:Number,default:500},nextTick:{type:Boolean,default:!0},setChartOptions:{type:Object,default:()=>An()},onRegister:{type:[Function,Array],default:null}},cr=Symbol("USE_CHART_PROVIDER_KEY"),dr=oa(),tn="__R_CHART_DOWN_LOAD_CHART__";dr.forEach(e=>{Oa(e.name,e.theme)});const Oi=P({name:"RChart",props:ur,setup(e,{expose:n}){const{getAppTheme:t}=X(),o=ie("rayChartRef"),a=ie("rayChartWrapperRef"),l=ne();let s,i;const{echartTheme:u}=Se;let c;const f=T(()=>[{label:"下载图片",key:tn,disabled:!(l.value&&l.value.getDom())}]),p=T(()=>({"--ray-chart-width":N(e.width),"--ray-chart-height":N(e.height)})),v=V(!1);let m;const g={aria:e.showAria},b=Te(cr,{}),h=async()=>{var k;je([Aa,Ra,Pa,xa,Ma,Ea,Da,za]),je([La,Ia,Fa,Ba,Va,ja]),je([Na,Ua]),je([$a]);try{je((k=e.use)==null?void 0:k.filter(Boolean))}catch(M){console.error("[RChart register error]: ",M)}},_=()=>{const{theme:k}=b||{};if(l.value&&C(),k){y(k);return}if(e.theme==="default"){e.autoChangeTheme?y("dark"):y("");return}if(e.theme)y(e.theme);else{const M=e.autoChangeTheme&&t.value?`${u}-dark`:u;y(M)}},d=k=>{let M=Q(k);return M=(W=>Object.assign({},M,W))({aria:{enabled:e.showAria,decal:{show:e.showAria}}}),M},y=(k=u)=>{var ke;const M=o.value,$=d(e.options),{height:W,width:oe}=M.getBoundingClientRect(),{onSuccess:G,onError:ye}=e;try{l.value=ka(M,k,{width:oe===0?200:void 0,height:W===0?200:void 0}),G&&F(G,l.value),e.nextTick?(l.value.setOption({}),te(()=>{var ae;$&&((ae=l.value)==null||ae.setOption($))})):$&&((ke=l.value)==null||ke.setOption($))}catch(ae){throw ye&&F(ye),new Error(`[RChart render error]: ${ae}`)}finally{const{onFinally:ae}=e;ae&&F(ae)}},w=()=>{var k;return!!((k=l.value)!=null&&k.isDisposed())},C=()=>{var k;w()||(k=l.value)==null||k.dispose()},S=()=>{l.value&&l.value.resize()},A=(k,M)=>{if(k===tn&&!w()){const{filename:W,...oe}=e.downloadOptions;aa(l.value.getDataURL(oe),W??`${new Date().getTime()}`)}const{onDropdownSelect:$}=e;$&&F($,k,M)},O=()=>{var M;if(e.autoResize&&(s||(s=Et(S,500)),i||(i=Uo(e.autoResizeObserverTarget||a,s))),(M=l.value)!=null&&M.getDom()||!v.value&&e.intersectionObserver)return;_(),m==null||m.stop();const{onRegister:k}=e;k&&l.value&&F(k,l.value,O,L)},L=()=>{C(),s==null||s.cancel(),i==null||i.stop(),m==null||m.stop(),m=null,s=null,i=null};return qe(()=>t.value,()=>{e.autoChangeTheme&&(C(),_())}),de(()=>{var k,M;e.intersectionObserver&&(m=No(e.intersectionObserverTarget||a,([$])=>{v.value=$.isIntersecting},e.intersectionOptions)),e.watchOptions?c=Ka(()=>e.options,$=>{var G;const W=d($),oe=Object.assign({},An(),e.setChartOptions);(G=l.value)==null||G.setOption(W,oe)},{deep:!0,throttle:e.watchOptionsThrottleWait}):c==null||c(),e.loading?(k=l.value)==null||k.showLoading(kn(e.loadingOptions)):(M=l.value)==null||M.hideLoading(),e.showAria!==g.aria&&l.value&&(l.value.setOption(d(e.options)),g.aria=e.showAria),v.value&&!w()&&O()}),n(),Go(async()=>{await h()}),Ce(()=>{O()}),Lt(()=>{L(),c==null||c()}),{rayChartRef:o,cssVarsRef:p,rayChartWrapperRef:a,moreDropDownOptions:f,dropdownSelect:A}},render(){const{title:e,contentStyle:n,preset:t,moreDropDownOptions:o,dropdownSelect:a,bordered:l,dropdownOptions:s}=this,{cardExtra:i}=this.$slots;return t==="card"?r(De,{class:"ray-chart",ref:"rayChartWrapperRef",style:[this.cssVarsRef],contentStyle:n,bordered:l,embedded:!0},{default:_e(r("div",{class:"ray-chart__container",ref:"rayChartRef"},null)),header:_e(e,{defaultElement:r("div",{style:"display: none;"},null)}),"header-extra":_e(i,{defaultElement:r(jn,{iconSize:18,cursor:"pointer",options:s||o,trigger:"click",onSelect:a.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)])}}),ki=()=>{let e,n,t;const o=(u,c,f)=>{u&&(e=u,n=f,t=c)},a=()=>{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:a,isDisposed:()=>{var u;return!!((u=a().echartInst)!=null&&u.isDisposed())},dispose:()=>a().dispose.call(null),render:()=>a().render.call(null)}]},pr=P({name:"RCollapseGrid",props:Bn,setup(e){const n=V(!e.open),t=T(()=>({"--r-collapse-grid-action-align":e.actionAlign})),o=()=>{const{onUpdateOpen:l,"onUpdate:open":s}=e;n.value=!n.value,l&&F(l,n.value),s&&F(s,n.value)},a=l=>r("div",{class:"collapse-icon",onClick:o.bind(this)},[r("span",null,[l?e.collapseToggleText[0]:e.collapseToggleText[1]]),r(x,{customClassName:`collapse-icon--arrow ${l?"":"collapse-icon--arrow__expanded"}`,name:"expanded",size:"14"},null)]);return de(()=>{n.value=!e.open}),{modelCollapsed:n,collapseClick:o,CollapseIcon:a,cssVars:t}},render(){const{$slots:{collapse:e,action:n,default:t},CollapseIcon:o,$props:a,modelCollapsed:l,xGap:s,yGap:i,collapsedRows:u,cssVars:c,actionSpan:f,bordered:p}=this;return r(De,{bordered:p,style:[c]},{default:()=>r(ho,j({class:"ray-collapse-grid"},a,{collapsed:l,xGap:s||12,yGap:i||12,collapsedRows:u}),{default:()=>[t==null?void 0:t(),r(yo,{suffix:!0,class:"ray-collapse-grid__suffix--btn",span:f},{default:()=>[r(I,{justify:"end",align:"center"},{default:()=>[n==null?void 0:n(),e?e(l):o(l)]})]})]})})}}),mr={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}},x=P({name:"RIcon",props:mr,setup(e){const n=T(()=>`#${e.prefix}-${e.name}`),t=T(()=>({"--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:a=>{const{onClick:l}=e;l&&F(l,a)}}},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",j({"xlink:href":this.symbolId},{fill:this.color}),null)])])}}),fr={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}},Ai=P({name:"RIframe",props:fr,setup(e,{expose:n}){const t=T(()=>({"--ray-iframe-frameborder":N(e.frameborder),"--ray-iframe-width":N(e.width),"--ray-iframe-height":N(e.height)})),o=ie("iframeRef"),a=V(!0),l=i=>{a.value=!1;const{onSuccess:u}=e;u&&F(u,o.value,i)},s=i=>{a.value=!1;const{onError:u}=e;u&&F(u,i)};return $e(o,"load",l),$e(o,"error",s),n({iframeInst:o}),{cssVars:t,iframeRef:o,spinShow:a}},render(){return r("div",{class:["ray-iframe",this.iframeWrapperClass],style:[this.cssVars]},[r(pt,j(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)})])}}),gr={...bo,fullscreen:{type:Boolean,default:!1},width:{type:[String,Number],default:600},cardWidth:{type:[String,Number],default:600},dialogWidth:{type:[String,Number],default:446}},hr="r-modal__preset-card--fullscreen",Vn="r-modal",Me={width:"--r-modal-width",cardWidth:"--r-modal-card-width",dialogWidth:"--r-modal-dialog-width"},Ri=P({name:"RModal",props:gr,setup(e){const n=T(()=>({[Me.width]:N(e.width??600),[Me.cardWidth]:N(e.cardWidth??600),[Me.dialogWidth]:N(e.dialogWidth??446)})),t=ct(),o=T(()=>e.preset==="card"&&e.fullscreen);return{cssVars:n,isFullscreenCardType:o,uuidEl:t}},render(){const{$props:e,$slots:n,$attrs:t}=this,{preset:o,...a}=e,{cssVars:l,uuidEl:s,isFullscreenCardType:i}=this;return r(fn,j({class:[Vn,i?hr:""],style:[l,i?"height: 100vh":""],preset:o},{id:s},a,t),{...n})}}),yr=()=>{const{create:e,destroyAll:n}=vo();return{create:o=>{const{content:a,...l}=o;let s=a;l.preset==="card"&&l.fullscreen&&(s=()=>mt(Dt,{themeOverrides:{color:"rgba(0, 0, 0, 0)",colorHover:"rgba(0, 0, 0, 0)"},trigger:"hover",style:{width:"auto",maxHeight:"calc(var(--html-height) - 29px - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))"}},{default:()=>typeof a=="function"?a():a}));const{preset:i,fullscreen:u,width:c,cardWidth:f,dialogWidth:p}=o,v=e({...l,content:s}),{key:m}=v,g={[Me.width]:N(c??600),[Me.cardWidth]:N(f??600),[Me.dialogWidth]:N(p??446)};return te(()=>{const[b]=Ke(`[internalkey="${m}"]`)||[];b&&(u&&i==="card"&&ut(b,{width:"100%",height:"100vh"}),ut(b,g),Rn(b,Vn))}),v},destroyAll:n}},br={..._o,icon:{type:String,default:"more"},iconSize:{type:Number,default:14},cursor:{type:String,default:"default"}};function vr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const jn=P({name:"RMoreDropdown",props:br,render(){let e;const{iconSize:n,cursor:t,icon:o}=this,{default:a}=this.$slots;return r(ze,j(this.$props,this.$attrs,{placement:"bottom-start"}),vr(e=_e(a,{defaultElement:r(x,{name:o,size:n,cursor:t},null)}))?e:{default:()=>[e]})}}),Fe={...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}},ue={tableIconSize:"18",tableKey:Symbol("r-table")},_r=[{label:"斑马条纹",value:"striped"},{label:"表格边框",value:"bordered"}],Sr=P({name:"TableSizeSelect",props:{onChangeSize:{type:[Function,Array],default:null},...Fe},setup(e){return{size:V(e.size),sizeOptions:[{label:"默认",value:"medium"},{label:"紧凑",value:"small"},{label:"宽松",value:"large"}],updatePopselectValue:a=>{const{onChangeSize:l}=e;l&&F(l,a)}}},render(){return r(gn,{value:this.size,"onUpdate:value":e=>this.size=e,options:this.sizeOptions,trigger:"click",onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(x,{name:"adjustment",size:ue.tableIconSize,cursor:"pointer"},null)]})}}),wr=P({name:"TableFullscreen",setup(){const{wrapperRef:e}=Te(ue.tableKey,{}),[n,{toggleFullscreen:t,isEnabled:o}]=On(e);return{toggleFullscreen:t,isEnabled:o}},render(){const{toggleFullscreen:e,isEnabled:n,$t:t}=this;return r(x,{name:"fullscreen",size:ue.tableIconSize,cursor:"pointer",onClick:()=>{n||window.$message.warning(t("globalMessage.isEnabledFullscreen")),e()}},null)}}),Cr=()=>r(x,{name:"draggable",size:14,cursor:"grab"},null),nn=({icon:e,title:n,onClick:t,customClassName:o})=>r(Ue,{showArrow:!1},{trigger:()=>r(x,{name:e,size:ue.tableIconSize,cursor:"pointer",customClassName:o,onClick:t==null?void 0:t.bind(null)},null),default:()=>n}),Pt=(e,n)=>{if(!n)return[null,null];for(let t=0;tEe(e.columns).filter(u=>u.type?(n=u,!1):!0).map((u,c)=>{const{key:f,title:p,children:v,fixed:m,isResizable:g,...b}=u,h=m==="left",_=m==="right",d={...b,title:p,key:f,fixed:m,isLeftFixedActivated:h,isRightFixedActivated:_,isResizable:g};return{...d,suffix:()=>r(I,{style:"padding-left: 32px;"},{default:()=>[r(nn,{icon:"row_head",title:"固定在列首",customClassName:h?St:"",onClick:l.bind(this,"left",d,c)},null),r(Ue,{showArrow:!1},{trigger:()=>r(x,{name:"resize_h",size:ue.tableIconSize,cursor:"pointer",customClassName:g?St:"",onClick:a.bind(this,d,c)},null),default:()=>"修改列宽"}),r(nn,{icon:"row_end",title:"固定在列尾",customClassName:_?St:"",onClick:l.bind(this,"right",d,c)},null)]})}}),set:()=>{}}),o=i=>{const{onUpdateColumn:u}=e;u&&F(u,i)},a=(i,u)=>{i.isResizable=!i.isResizable,i.resizable=i.isResizable,t.value[u]=i,o(t.value)},l=(i,u,c)=>{const f=`${i}FixedActivated`,p=`${i==="left"?"right":"left"}FixedActivated`;u[p]=!1,u[f]=!u[f],u[f]?u.fixed=i:u.fixed=void 0,t.value[c]=u,o(t.value)};return{treeDataSource:t,treeDrop:({node:i,dragNode:u,dropPosition:c})=>{const[f,p]=Pt(u,t.value);if(f===null||p===null)return;f.splice(p,1);const[v,m]=Pt(i,t.value);v===null||m===null||(c==="before"?v.splice(m,0,u):v.splice(m+1,0,u),mn(n)||v.unshift(n),o(v))}}},render(){return r(Ue,{displayDirective:"show",trigger:"click",showArrow:!1},{trigger:()=>r(x,{name:"setting",size:ue.tableIconSize,cursor:"pointer",customClassName:"r-table__setting"},null),default:()=>r(wo,{class:"r-table__c-tree",data:this.treeDataSource,blockLine:!0,draggable:!0,keyboard:!1,labelField:"title",selectable:!1,renderSwitcherIcon:Cr.bind(this),onDrop:this.treeDrop.bind(this)},null)})}}),Or=P({name:"TablePrint",props:Fe,setup(e){const{wrapperRef:n}=Te(ue.tableKey,{});return{printTableClick:()=>{const{printTableOptions:{printOptions:o={},domToImageOptions:a}={},title:l}=e;(o.documentTitle===""||o.documentTitle===void 0||o.documentTitle===null)&&(o.documentTitle=typeof l=="string"?l:""),Pn(n,{printOptions:o,domToImageOptions:a})}}},render(){return r(x,{name:"print",size:ue.tableIconSize,cursor:"pointer",onClick:this.printTableClick.bind(this)},null)}}),kr=P({name:"TablePropsSelect",props:{...Fe,onPopselectChange:{type:[Function,Array],default:null},onInitialed:{type:[Function,Array],default:null}},setup(e){const n=V(!1),t=V([]),o=l=>{const{onPopselectChange:s}=e;s&&F(s,l)};return(()=>{const{striped:l,bordered:s,onInitialed:i}=e;l&&t.value.push("striped"),s&&t.value.push("bordered"),i&&F(i,t.value)})(),{propsPopselectValue:t,popoverShow:n,updatePopselectValue:o}},render(){return r(gn,{value:this.propsPopselectValue,"onUpdate:value":e=>this.propsPopselectValue=e,options:_r,trigger:"click",multiple:!0,onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(x,{name:"expanded",size:ue.tableIconSize,cursor:"pointer",style:"transform: rotate(270deg);"},null)]})}});function Ar(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const Rr=P({name:"RTable",inheritAttrs:!1,props:Fe,setup(e,n){const{expose:t,emit:o}=n,a=ie("rTableInst"),l=ie("wrapperRef"),s=ct(16),i=ct(16),u=re({x:0,y:0,showContextMenu:!1}),c=re({size:e.size}),f=V(Object.assign({striped:!1,bordered:!1},Ne(e,"striped","bordered"))),p=T(()=>{const{title:y,tool:w,cardProps:C}=e,{headerStyle:S={}}=C??{};return!y&&!w?Object.assign({},{paddingTop:"0px"},S):S}),v=(y,w)=>{const{onContextMenuClick:C}=e;C&&F(C,y,w),u.showContextMenu=!1},m=(y,w)=>{var S;return{...(S=e.rowProps)==null?void 0:S.call(e,y,w),onContextmenu:e.disabledContextMenu?void 0:A=>{A.preventDefault(),u.showContextMenu=!1,te().then(()=>{u.showContextMenu=!0,u.x=A.clientX,u.y=A.clientY})}}},g=y=>{c.size=y},b=y=>{const{onUpdateColumns:w,"onUpdate:columns":C}=e;w&&F(w,y),C&&F(C,y)},h=()=>{const{toolOptions:y}=e;return y==null?void 0:y.filter(Boolean).map(w=>typeof w=="function"?w():w)},_=y=>{Object.keys(f.value).forEach(C=>{f.value[C]=y.includes(C)})},d=y=>{const{tool:w}=y;if(!w)return;const C=()=>r(I,{align:"center"},{default:()=>[r(Or,y,null),r(Sr,j(y,{onChangeSize:g.bind(this)}),null),r(wr,null,null),r(Tr,j(y,{onUpdateColumn:b.bind(this)}),null),r(kr,j(y,{onPopselectChange:_.bind(this),onInitialed:_.bind(this)}),null)]});return e.toolOptions?e.coverTool?()=>{let S;return r(I,{align:"center"},Ar(S=h())?S:{default:()=>[S]})}:()=>r(I,{align:"center"},{default:()=>[C(),h()]}):C};return Ce(()=>{const{onRegister:y}=e;y&&a.value&&F(y,a.value,{uuidTable:i,uuidWrapper:s,wrapperRef:l})}),Cn(ue.tableKey,{uuidTable:i,uuidWrapper:s,wrapperRef:l}),t(),{uuidWrapper:s,uuidTable:i,contextMenuReactive:u,rTableInst:a,combineRowProps:m,contextMenuSelect:v,privateReactive:c,tool:d,wrapperRef:l,propsPopselectValue:f,cardHeaderStyle:p}},render(){const{$props:e,$attrs:n,$slots:t,uuidTable:o,contextMenuReactive:a,uuidWrapper:l,privateReactive:s,propsPopselectValue:i,cardHeaderStyle:u}=this,{class:c,...f}=n,{tool:p,combineRowProps:v,contextMenuSelect:m}=this,{renderWrapperHeader:g,wrapperBordered:b,disabledContextMenu:h,contextMenuOptions:_,title:d,tableFlexHeight:y,cardProps:w,...C}=e,{headerStyle:S,...A}=w??{};return r(De,j(A,{id:l},f,{ref:"wrapperRef",bordered:b,class:c,style:u}),{default:()=>r(Tn,null,[r(Co,j({id:o},C,i,{rowProps:v.bind(this),size:s.size,ref:"rTableInst",style:{height:y!=null?N(y):null}}),{...t}),h?null:r(ze,{show:a.showContextMenu,placement:"bottom-start",trigger:"manual",x:a.x,y:a.y,options:_,onClickoutside:()=>a.showContextMenu=!1,onSelect:m.bind(this)},null)]),header:g?_e(d,{defaultElement:r("div",{style:"display: none;"},null)}):null,"header-extra":p(e),footer:()=>{var O;return(O=t.tableFooter)==null?void 0:O.call(t)},action:()=>{var O;return(O=t.tableAction)==null?void 0:O.call(t)}})}}),Pr=()=>{const e=ne();let n={};const t=(m,g)=>{m&&(e.value=m,n=g)},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:m=>o().downloadCsv.call(null,m),filters:m=>o().filters.call(null,m),page:m=>o().page.call(null,m),scrollTo:m=>o().scrollTo(m),sort:(m,g)=>o().sort.call(null,m,g),print:m=>{const{uuidWrapper:g}=n;if(g){const b=document.getElementById(g);Pn(b,m)}},filter:m=>o().filter.call(null,m)}]},Nn=(e,n,t)=>{var o;if(e.length)for(const a of e){if(a[n]===t)return a;if((o=a==null?void 0:a.children)!=null&&o.length){const l=Nn(a.children,n,t);if(l)return l}}},on=e=>{const n=Q(e);return n?n.findIndex(o=>{const{type:a,multiple:l}=o;if(a==="selection"&&(l==null||l===!0))return!0})!==-1:!0},xr=(e,n,t,o)=>{const a=Q(e);return a?n.reduce((l,s)=>{const i=Q(t).findIndex(c=>c[o]===s);if(i!==-1)return l.push(Q(t)[i]),l;const u=a.findIndex(c=>c[o]===s);return u!==-1&&l.push(a[u]),l},[]):t},Pi=(e,n,t)=>{const o=V([]),a=V([]),{rowKey:l="key",onChange:s}=t||{},i=T(()=>on(n)),u=(g,b,h)=>{o.value=g,a.value=Q(xr(e,g,a,l)),s==null||s(g,a.value,h),on(n)},c=()=>o.value,f=()=>a.value,p=()=>{o.value=[],a.value=[],s==null||s(o.value,a.value,{row:void 0,action:"uncheckAll"})},v=g=>{if(g==null)return;let b;o.value=o.value.filter(h=>h!==g),a.value=a.value.filter(h=>h[l]===g?(b=h,!1):!0),s==null||s(o.value,a.value,{row:b,action:"uncheck"})},m=g=>{if(o.value.includes(g))return;const b=!i.value&&o.value.length>=1,h=Nn(Q(e)||[],l,g);b?o.value=[g]:o.value.push(g),h&&(b?a.value=[h]:a.value.push(h),s==null||s(o.value,a.value,{row:h,action:"check"}))};return Ft(()=>{p()}),[o,{checkedRows:a,checkedRowKeysBind:u,getKeys:c,getRows:f,clearAll:p,clearKey:v,selectKey:m}]},Mr={transitionPropName:"fade",transitionMode:"out-in",transitionAppear:!0},Er=P({name:"RTransitionComponent",__name:"index",props:Ho({transitionPropName:{},transitionMode:{},transitionAppear:{type:Boolean}},Mr),setup(e){const{getKeepAliveInclude:n}=Xr(),{getKeepAliveConfig:t}=X();return(o,a)=>{const l=Xo("RouterView");return Ae(),Yo("div",null,[r(l,null,{default:vt(({Component:s,route:i})=>[s?(Ae(),Ve(Mn,{key:0,name:o.transitionPropName,mode:o.transitionMode,appear:o.transitionAppear},{default:vt(()=>[(Ae(),Ve(Jo,null,{default:vt(()=>[Q(t).setupKeepAlive?(Ae(),Ve(Zo,{key:0,max:Q(t).maxKeepAliveLength,include:Q(n),exclude:Q(t).keepAliveExclude},[(Ae(),Ve(Yt(s),{key:i.fullPath}))],1032,["max","include","exclude"])):(Ae(),Ve(Yt(s),{key:i.fullPath}))]),_:2},1024))]),_:2},1032,["name","mode","appear"])):Qo("",!0)]),_:1})])}}}),Un=P({name:"RForm",props:Fn,setup(e,{expose:n}){const t=ie("formRef");return Ce(()=>{const{onRegister:o}=e;o&&t.value&&F(o,t.value)}),n(),{formRef:t}},render(){const{$attrs:e,$props:n,$slots:t}=this;return r(fe,j(e,n,{ref:"formRef"}),{...t})}}),Dr=(e,n)=>{const t=ne(),o=c=>{c&&(t.value=c)},a=()=>{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:a,validate:(c,f)=>a().validate.call(null,c,f),restoreValidation:()=>a().restoreValidation.call(null),formModel:()=>Ee(e)||{},formRules:()=>Ee(n)||{}}]},zr=["addTabClass","addTabStyle","paneClass","paneStyle","paneWrapperStyle","tabClass","tabStyle","type","label","addable","closable","onAdd","onClose","placement","animated","justifyContent","builtinThemeOverrides","displayDirective"],Lr={tabPaddingSmallSegment:"4px 7px",tabPaddingMediumSegment:"6px 11px",tabPaddingLargeSegment:"8px 11px"},Ir=We({...To,options:{type:Array,default:()=>[]},width:{type:[Number,String],default:"fitContent"}},...zr);function Fr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const xt=e=>{const{icon:n,label:t}=e;return n?r(I,{align:"center",wrap:!1,size:"small"},{default:()=>{var o;return[(o=_e(n))==null?void 0:o(),r("div",null,[t])]}}):t},Br=e=>{if(typeof e.popover=="string")return r(Ue,null,{trigger:()=>xt(e),default:()=>e.popover});if(ge(e.popover,"Object")){const{popover:n}=e,{label:t,...o}=n;return r(Ue,o,{trigger:()=>xt(e),default:()=>t})}},Vr=P({name:"RSegment",props:Ir,setup(e,{expose:n}){const t=T(()=>{const{width:o}=e;let a="";switch(o){case"block":a="100%";break;case"fitContent":a="fit-content";break;default:a=typeof o=="number"?N(o):"fit-content"}return{"--r-segment-width":a}});return n(),{cssVars:t}},render(){let e;const{$props:n,options:t,cssVars:o,themeOverrides:a}=this;return r(hn,j(n,{style:[o],class:"r-segment",type:"segment",animated:!0,themeOverrides:Object.assign({},Lr,a)}),Fr(e=t.map(l=>r(Oo,{key:l.key,name:l.key,tab:l.popover?Br(l):xt(l),disabled:l.disabled},{...l.slots})))?e:{default:()=>[e]})}}),jr={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]}},xi=P({name:"RBarcode",props:jr,setup(e){const n=ie("barcodeRef"),t=T(()=>({"--r-barcode-width":N(e.width),"--r-barcode-height":N(e.height)}));let o;const a=()=>{try{const{format:l,text:s,options:i,onSuccess:u}=e,c=Object.assign({},i,{format:l});ta(n.value,s!=null?s.toString():"",c),u&&F(u,s,l,i)}catch(l){const{onError:s}=e;s&&F(s,l)}finally{const{onFinally:l}=e;l&&F(l)}};return de(()=>{e.watchText?o=qe(()=>e.text,a):o==null||o()}),Ce(()=>{a()}),Lt(()=>{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(pt,{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)]})}}),Nr={...We(Fe,["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 Ur(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const Mi=P({name:"RTablePro",props:Nr,setup(e){const[n,{clearFilters:t,clearSorter:o,downloadCsv:a,filters:l,page:s,scrollTo:i,sort:u,print:c,filter:f}]=Pr(),[p,{getPage:v,getPageSize:m,setCallback:g,setItemCount:b,resetPagination:h,getItemCount:_}]=Fs(void 0,{prefix:O=>`共 ${O.itemCount} 条`}),d=T(()=>e.request),y=()=>({getItemCount:_,getPage:v,getPageSize:m}),w=()=>{const{onTablePaginationUpdate:O}=e;O&&F(O,y())},C=O=>{const L=Object.assign({},e.requestConfig,O),{formatRangeTime:k}=L;let M=L.params||{};return k!=null&&k.length&&M&&k.forEach(W=>{const{key:oe,target:G}=W,ye=M[oe];if(ye&&(G!=null&&G.length)){const[ke,ae]=ye;M[G[0]]=ke,M[G[1]]=ae}else M[oe]=null,M[G[0]]=null,M[G[1]]=null}),M=la(M),Object.assign({},M,{page:v(),pageSize:m()})},S=O=>{var k;h();const L=C(O);(k=d.value)==null||k.call(d,L)},A=O=>{var k;const L=C(O);(k=d.value)==null||k.call(d,L)};return de(()=>{b(e.paginationCount),g(()=>{const{manual:O}=e;O||A(),w()})}),Ce(()=>{const{onRegister:O}=e;O&&F(O,{getTablePagination:y,runTableRequest:S,clearFilters:t,clearSorter:o,downloadCsv:a,filters:l,page:s,scrollTo:i,sort:u,print:c,filter:f,getCurrentTableRequestParams:C,resetTablePagination:h})}),{register:n,paginationRef:p}},render(){const{register:e,$props:n,paginationRef:t,$slots:o}=this,{onRegister:a,showPagination:l,...s}=n;return r(Rr,j(s,{onRegister:e,pagination:l?t:void 0}),Ur(o)?o:{default:()=>[o]})}}),Ei=()=>{const e=V(),n=b=>{b&&(e.value=b)},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:b=>t().downloadCsv.call(null,b),filters:b=>t().filters.call(null,b),page:b=>t().page.call(null,b),scrollTo:b=>t().scrollTo(b),sort:(b,h)=>t().sort.call(null,b,h),getTablePagination:()=>t().getTablePagination.call(null),runTableRequest:b=>t().runTableRequest.call(null,b),print:b=>t().print.call(null,b),getCurrentTableRequestParams:b=>t().getCurrentTableRequestParams.call(null,b),resetTablePagination:()=>t().resetTablePagination.call(null)}]},$r=()=>({grid:!0,partial:!1,keyboard:{enabled:!0}}),Kr={use:{type:Array,default:void 0},watchData:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},data:{type:Object,default:void 0},options:{type:Object,default:$r()},onRegister:{type:[Function,Array],default:void 0}};let an=!1;const Di=P({name:"RFlow",props:Kr,setup(e){const n=ie("flowDomRef"),t=T(()=>{const{width:p,height:v}=e;return{"--r-flow-width":N(p),"--r-flow-height":N(v)}}),o=ne(),a={nodeTextEdit:!1,edgeTextEdit:!1,textEdit:!1};let l;const s={nodes:[],edges:[]},i={readonly:e.readonly},u=()=>{var p;an||((p=e.use)==null||p.filter(Boolean).forEach(v=>Xt.use(v)),an=!0)},c=p=>{if(!o.value)return;const v=Object.entries(a).reduce((m,[g])=>(m[g]=!p,m),{});Object.assign(a,v,{isSilentMode:p}),o.value.updateEditConfig(a)},f=p=>{if(u(),!n.value)return;const{options:v,readonly:m}=e;o.value=new Xt({container:Q(n.value),...We(v,"container")}),o.value.render(p||s),c(m)};return de(()=>{e.watchData?l=qe(()=>e.data,p=>{o.value?p&&o.value.renderRawData(p):f(p)}):l==null||l(),e.readonly!==i.readonly&&(c(e.readonly),i.readonly=e.readonly)}),Ce(()=>{f();const{onRegister:p}=e;p&&o.value&&F(p,o.value)}),{flowDomRef:n,cssVars:t}},render(){const{cssVars:e}=this;return r("div",{class:"r-flow",style:[e],ref:"flowDomRef"},null)}}),zi=()=>{let e;return[o=>{o&&(e=o)},{getFlowInstance:()=>{if(!e)throw new Error("[useFlow]: flow instance is not ready yet. if you are using useFlow, please make sure you have called register method in onRegister event.");return e}}]},Wr=(e,n,t)=>!e||typeof e!="object"?!1:e[n]===t,$n=(e,n,t)=>{const o=[];if(Wr(e,n,t))return o.push(e),o;if(e.children&&e.children.length>0)for(const a of e.children){const l=$n(a,n,t);l.length>0&&o.push(e,...l)}return o},qr=(e,n,t)=>{const o=[];for(const a of e){const l=$n(a,n,t);l.length>0&&o.push(...l)}return o},ln=e=>{const{dynamicDocumentTitle:n}=Ie();if(!n)return;const{breadcrumbLabel:t}=e;if(!t)return;const{sideBarLogo:o}=Ie(),a=o?o.title:"";document.title=t+" - "+a},Gr=e=>{const{meta:{icon:n}}=e;if(!n)return;if(ge(n,"Object"))return()=>n;const{menuConfig:t}=Ie(),{collapsed:o}=Vt(),a=mt(x,{name:n,size:o?t.collapsedIconSize:t.iconSize,cursor:"pointer"},{});return()=>a},Kn=e=>{const{meta:{extra:n}}=e;if(!n)return;const{show:t}=n;if(t===!1)return;const{t:o}=He(),{label:a,icon:l,type:s,i18nLabel:i}=n,u={type:"primary",size:"small",round:!0,bordered:!1,strong:!0},c=()=>i?o(i):a||null,f=()=>l&&(i||a)||!l&&(i||a)?null:{"padding-right":"0"};if(ge(n,"Object"))return()=>mt(ko,{...u,type:s||"primary",style:f()},{default:()=>c(),icon:()=>l})},rn=()=>{const{getRootPath:e}=Je();return Le(U.appMenuKey,"sessionStorage",{defaultValue:e.value})},Hr=()=>Le(U.appMenuTagOptions,"sessionStorage",{defaultValue:[]}),Wn=()=>nr(Ql()),Yr=()=>tr(Wn()),Mt=["redirect","breadcrumbLabel","children","key","meta","name","path","show","fullPath"];let tt;const qn=(e,n)=>{var t;if(tt&&Jt(tt.fullPath,n))return tt;for(const o of e){if(Jt(o.fullPath,n))return tt=o,o;if((t=o.children)!=null&&t.length){qn(o.children,n);continue}}},Vt=ft("menu",()=>{const{push:e,getRoutes:n}=Ge(),t=va(),{t:o}=He(),{setKeepAliveInclude:a}=Jr(),l=re({menuKey:rn(),options:[],collapsed:!1,menuTagOptions:Hr(),breadcrumbOptions:[],currentMenuOption:null}),s=V(!0),i=(d,y,w)=>{It(l,d,y,w)},u=d=>{const{meta:y}=d,{i18nKey:w,noLocalTitle:C}=y,S=T(()=>w?o(`${w}`):C),A={...d,key:d.fullPath,label:()=>mt(yn,null,{default:()=>S.value}),breadcrumbLabel:S.value},O=Object.assign({},A,{icon:Gr(d),extra:Kn(d)});return d.fullPath===rn()&&(l.currentMenuOption=O),O.show=Ln(O),O},c=d=>{l.breadcrumbOptions=Q(qr(l.options,"fullPath",d))},f=(d,y=!0)=>{const C=Array.isArray(d)?[...d]:[d];y?l.menuTagOptions.push(...C):l.menuTagOptions=C,Pe(U.appMenuTagOptions,l.menuTagOptions)},p=(d,y)=>{l.menuTagOptions.find(C=>C.fullPath===d)||l.menuTagOptions.push(y),l.menuTagOptions=l.menuTagOptions.filter(C=>{var S;return(S=C.fullPath)==null?void 0:S.startsWith("/")}),Pe(U.appMenuTagOptions,l.menuTagOptions)},v=(d,y,w)=>{const{meta:C}=y;if(C.windowOpen)window.open(C.windowOpen);else{e({path:String(d),query:w});const{sameLevel:S}=C;if(a(y),ln(y),!S)p(d,y),c(d),l.menuKey=d,l.currentMenuOption=y,Pe(U.appMenuKey,d);else{const A=Ne(u(y),Mt);l.breadcrumbOptions.find(L=>L.key===A.key)||l.breadcrumbOptions.push({...A,fullPath:String(A.key)})}}},m=async(d,y)=>{const[w]=d.split("?"),C=n().find(S=>S.path===w);if(!((C==null?void 0:C.path)==="/"||!(C!=null&&C.path)||(C==null?void 0:C.path)==="/login")&&C){const S=Ne(C,Mt);v(w,u({...S,fullPath:S.path}),y)}},g=()=>new Promise(d=>{const y=(C,S)=>{var O;const A=[];for(const L of C){let k=`${S.endsWith("/")?S:S+"/"}${L.path}`;if(k=k.replace(/\/+/g,"/"),(O=L.children)!=null&&O.length)L.children=y(L.children,k);else if(!Jn(L.meta))continue;A.push(u({...L,fullPath:k}))}return A};l.options=y(Wn(),"");const w=l.currentMenuOption||Qr(l.options);w&&(l.breadcrumbOptions.length||c(w.key),p(w.fullPath,w),ln(w)),d()}),b=d=>l.collapsed=d,h=(d,y=1)=>{const w=l.menuTagOptions.splice(d,y);return Pe(U.appMenuTagOptions,l.menuTagOptions),w},_=async()=>{s.value&&(await g(),s.value=!1)};return qe(()=>t.fullPath,async(d,y)=>{await _(),d!==y&&await m(d,t.query)},{immediate:!0}),{...we(l),changeMenuModelValue:v,collapsedMenu:b,spliceMenTagOptions:h,setMenuTagOptions:f,resolveOption:u,updateMenuState:i,setupAppMenu:g}},{persist:{key:U.appPiniaMenuStore,storage:window.localStorage,pick:["menuKey","collapsed"]}}),Gn=ft("signing",()=>{const{clearRoutes:e,replace:n}=Ge(),t=re({signingCallback:{}}),o=s=>new Promise((i,u)=>{mn(s)?u({code:1,message:"登陆失败",data:null}):(t.signingCallback={role:"admin",name:s.name,avatar:"https://avatars.githubusercontent.com/u/51957438?v=4"},i({code:0,message:"登陆成功",data:t.signingCallback}))}),a=s=>{const{closeAll:i}=no(),{appPiniaMenuStore:u,appPiniaSigningStore:c,token:f,signing:p,appMenuKey:v}=U;window.$message.info("账号退出中..."),ce("__all_sessionStorage__","sessionStorage"),ce(c,"localStorage"),ce(u,"localStorage"),ce(f,"localStorage"),ce(p,"localStorage"),ce(v,"localStorage"),ce(U.isAppLockScreen,"localStorage"),i(),s&&(e(),n("/"),setTimeout(()=>{window.location.reload()},0))},l=()=>{a(!0)};return{...we(t),signing:o,logout:l,clearSigningCallback:a}},{persist:{key:U.appPiniaSigningStore,pick:["signingCallback"],storage:window.localStorage}}),Hn=ft("keepAlive",()=>{const e=re({keepAliveInclude:[]}),n=()=>e.keepAliveInclude.length,t=a=>{const l=n(),{name:s,meta:{keepAlive:i}}=a,{maxKeepAliveLength:u}=Ie().keepAliveConfig;if(i){if(l=u&&(e.keepAliveInclude.splice(0,1),e.keepAliveInclude.push(s))}},o=()=>e.keepAliveInclude;return{...we(e),setKeepAliveInclude:t,getKeepAliveInclude:o}},{persist:{key:U.appPiniaKeepAliveStore,storage:window.sessionStorage,pick:["keepAliveInclude"]}}),Oe=()=>{const e=Vt(),n=T(()=>e.options),t=T(()=>e.breadcrumbOptions),o=T(()=>e.menuKey),a=T(()=>e.menuTagOptions),l=T(()=>e.currentMenuOption),s=T(()=>e.collapsed);return{getMenuOptions:n,getBreadcrumbOptions:t,getMenuKey:o,getMenuTagOptions:a,getCurrentMenuOption:l,getCollapsed:s}},Be=()=>{const{changeMenuModelValue:e,collapsedMenu:n,spliceMenTagOptions:t,setMenuTagOptions:o,resolveOption:a,updateMenuState:l,setupAppMenu:s}=Vt();return{changeMenuModelValue:e,collapsedMenu:n,spliceMenTagOptions:t,setMenuTagOptions:o,resolveOption:a,updateMenuState:l,setupAppMenu:s}},X=()=>{const e=Ie(),n=T(()=>e.drawerPlacement),t=T(()=>e.primaryColorOverride),o=T(()=>e._appTheme),a=T(()=>e.appTheme),l=T(()=>e.menuTagSwitch),s=T(()=>e.breadcrumbSwitch),i=T(()=>e.localeLanguage),u=T(()=>e.lockScreenSwitch),c=T(()=>e.copyrightSwitch),f=T(()=>e.contentTransition),p=T(()=>e.watermarkSwitch),v=T(()=>e.watermarkConfig),m=T(()=>e.appRootRoute),g=T(()=>e.sideBarLogo),b=T(()=>e.keepAliveConfig),h=T(()=>e.menuConfig),_=T(()=>e.colorWeakness),d=T(()=>e.dynamicDocumentTitle);return{getDrawerPlacement:n,getPrimaryColorOverride:t,getAppTheme:o,getMenuTagSwitch:l,getBreadcrumbSwitch:s,getLocaleLanguage:i,getLockScreenSwitch:u,getCopyrightSwitch:c,getContentTransition:f,getWatermarkSwitch:p,getWatermarkConfig:v,getAppRootRoute:m,getSideBarLogo:g,getKeepAliveConfig:b,getMenuConfig:h,getAppThemeStr:a,getColorWeakness:_,getDynamicDocumentTitle:d}},K=()=>{const{updateLocale:e,changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}=Ie();return{updateLocale:e,changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}},Yn=()=>{const e=Gn();return{getSigningCallback:T(()=>e.signingCallback)}},Xn=()=>{const{signing:e,logout:n,clearSigningCallback:t}=Gn();return{signing:e,logout:n,clearSigningCallback:t}},Xr=()=>{const e=Hn();return{getKeepAliveInclude:T(()=>e.keepAliveInclude)}},Jr=()=>{const{setKeepAliveInclude:e,getKeepAliveInclude:n}=Hn();return{setKeepAliveInclude:e,getKeepAliveInclude:n}},Li=e=>{const n=pa();e.use(n),n.use(da)},Jn=e=>{const{getSigningCallback:n}=Yn(),{role:t}=e;return et!=null&&et.length&&et.includes(n.value.role)||!t||!(t!=null&&t.length)?!0:t?t.includes(n.value.role):!0},Zr=e=>{const{setupRouterLoadingBar:n,setupRouterGuard:t}=tl;n&&lr(e),t&&or(e)},Qr=e=>{if(!Array.isArray(e))return;const n=t=>{for(const o of t){if((!o.children||o.children.length===0)&&!o.meta.windowOpen)return o;{const a=n(o.children||[]);if(a)return a}}};return n(e)},es=ne(),ts=P({name:"SiderBarLogo",props:{collapsed:{type:Boolean,required:!0}},setup(){const e=Ge(),{getSideBarLogo:n}=X();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:a})=>{if(!n.value)return null;if(typeof n.value.icon=="string")return r(x,{name:n.value.icon,size:"30",cursor:a},null);if(ge(n.value.icon,"Object"))return _e(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:es},[e!=null&&e.icon?n?r(it,{placement:"right"},{trigger:()=>t({cursor:"pointer"}),default:()=>e.title}):t({cursor:"pointer"}):n?r(it,{placement:"right"},{trigger:()=>r(qt,{type:"primary",size:18},{default:()=>{var a;return[((a=e.title)==null?void 0:a[0])||null]}}),default:()=>e.title}):null,r(qt,{class:[n?null:"ray-menu__logo-title--open","ray-menu__logo-title",'class="n-menu-item-content"'],type:"primary",size:18},{default:()=>[r(yn,null,{default:()=>[e.title]})]})]):null}}),ns=P({name:"AppMenu",setup(){const e=ne(),{changeMenuModelValue:n,collapsedMenu:t,updateMenuState:o}=Be(),{getMenuConfig:a}=X(),{getMenuOptions:l,getCollapsed:s,getMenuKey:i}=Oe(),u=T({get:()=>(setTimeout(()=>{p(),xn()},300),i.value),set:()=>{c.value&&me("globalDrawerValue",!1)}}),{isTabletOrSmaller:c}=Xe({observer:m=>{m&&o("collapsed",!1)}}),f=T({get:()=>gt("globalDrawerValue").value,set:m=>{me("globalDrawerValue",m)}}),p=()=>{const m=u.value;m!=null&&te(()=>{var g,b;return(b=(g=e.value)==null?void 0:g.showOption)==null?void 0:b.call(g,m)})};return{isTabletOrSmaller:c,BasicMenu:()=>r(Ro,{class:"app-menu__sider",showTrigger:!c.value,collapseMode:a.value.collapsedMode,collapsedWidth:a.value.collapsedWidth,onUpdateCollapsed:t.bind(this),width:a.value.menuWidth,nativeScrollbar:a.value.nativeScrollbar,ref:Dn,collapsed:s.value,onExpand:()=>{o("collapsed",!1)},onCollapse:()=>{o("collapsed",!0)},inverted:a.value.inverted},{default:()=>[a.value.menuSiderBarLogo?r(ts,{collapsed:s.value},null):null,r(Ao,{ref:e,class:"r-menu--app",keyField:"fullPath",value:u.value,"onUpdate:value":m=>u.value=m,options:l.value,indent:a.value.collapsedIndent,collapsed:s.value,collapsedIconSize:a.value.collapsedIconSize,collapsedWidth:a.value.collapsedWidth,onUpdateValue:(m,g)=>{n(m,g)},accordion:a.value.accordion,iconSize:a.value.iconSize,inverted:a.value.inverted},null)]}),modelGlobalDrawerValue:f}},render(){const{isTabletOrSmaller:e,BasicMenu:n}=this;return e?r(bn,{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 os{constructor(){$t(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 a=new AbortController;n.signal=a.signal,this.pendingRequest.set(o,a)}}}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 wt={requestInstance:null,responseInstance:null},Ct={implementRequestInterceptorArray:[],implementResponseInterceptorArray:[]},nt={implementRequestInterceptorErrorArray:[],implementResponseInterceptorErrorArray:[]},as=new os,Ii=()=>{const e=(i,u)=>{u==="requestInstance"?wt.requestInstance=i:wt.responseInstance=i},n=i=>wt[i],t=(i,u,c)=>{c==="ok"?Ct[i]=u:nt[i]=u},o=(i,u)=>u==="ok"?Ct[i]:nt[i],a=(i,...u)=>{Array.isArray(i)&&i.forEach(c=>{typeof c=="function"&&c(...u)})};return{createAxiosInstance:e,setImplement:t,getImplement:o,getAxiosInstance:n,beforeFetch:(i,u,c)=>{const f=c==="ok"?Ct[u]:nt[u],p=n(i),{MODE:v}=Rt();p&&a(f,p,v)},fetchError:(i,u,c)=>{const f=nt[c],{MODE:p}=Rt();a(f,u,p)}}},ls=P({name:"AppRequestCancelerProvider",setup(e,{expose:n}){_a(()=>{as.cancelAllRequest()}),n()},render(){return r("div",{class:"app-style-provider"},null)}}),Zn=P({name:"LayoutContentWrapper",setup(){Ge();const{maximize:e}=to(),{getContentTransition:n}=X(),t=V(!1),o={opacitySpinning:"0"},{globalMainLayoutLoad:a,layoutContentMaximize:l,layoutContentSpinning:s}=ol();return{globalMainLayoutLoad:a,spinning:t,themeOverridesSpin:o,getContentTransition:n,layoutContentMaximize:l,maximize:e,layoutContentSpinning:s}},render(){const{globalMainLayoutLoad:e,layoutContentMaximize:n,layoutContentSpinning:t,maximize:o,spinning:a,themeOverridesSpin:l,getContentTransition:s}=this;return r(pt,{show:a||!e||t,description:"loading...",size:"large",themeOverrides:l,class:[n?"r-layout-full__viewer-content--maximize":null]},{default:()=>[n?r("div",{class:"layout-content__maximize-out",onClick:()=>{o(!1)}},[r(x,{name:"out",size:"16",cursor:"pointer"},null)]):null,r(ls,null,null),e?r(Er,{class:"content-wrapper",transitionPropName:s+"-transform"},null):null]})}}),rs=Object.freeze(Object.defineProperty({__proto__:null,default:Zn},Symbol.toStringTag,{value:"Module"}));var ss={pkg:{dependencies:{"@logicflow/core":"2.0.10","@logicflow/extension":"2.0.14","@vueuse/core":"^12.4.0",axios:"^1.7.9",clipboard:"^2.0.11","crypto-js":"4.2.0","currency.js":"^2.0.4",dayjs:"^1.11.13",echarts:"^5.6.0","html-to-image":"1.11.11",interactjs:"1.10.27",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.41.0",pinia:"^2.3.0","pinia-plugin-persistedstate":"^4.2.0","print-js":"^1.6.0",vue:"^3.5.13","vue-demi":"0.14.10","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.4.0","vue3-next-qrcode":"2.0.10"},devDependencies:{"@amap/amap-jsapi-types":"0.0.15","@ant-design/icons-vue":"7.0.1","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@interactjs/types":"1.10.27","@intlify/unplugin-vue-i18n":"4.0.0","@types/crypto-js":"4.2.2","@types/jsbarcode":"3.11.4","@types/lodash-es":"4.17.12","@types/mockjs":"1.0.10","@types/three":"0.171.0","@typescript-eslint/eslint-plugin":"8.20.0","@typescript-eslint/parser":"8.20.0","@vitejs/plugin-vue":"5.2.1","@vitejs/plugin-vue-jsx":"4.1.1","@vitest/ui":"2.1.8","@vue/eslint-config-prettier":"10.1.0","@vue/eslint-config-typescript":"14.2.0","@vue/test-utils":"2.4.6",autoprefixer:"10.4.20",depcheck:"1.4.7",eslint:"9.18.0","eslint-config-prettier":"10.0.1","eslint-plugin-prettier":"5.2.2","eslint-plugin-vue":"9.32.0",globals:"15.14.0","happy-dom":"16.6.0",husky:"8.0.3","lint-staged":"15.3.0",postcss:"8.5.1","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"3.4.2","rollup-plugin-gzip":"4.0.1",sass:"1.83.0","svg-sprite-loader":"6.0.11",typescript:"5.6.3","unplugin-auto-import":"19.0.0","unplugin-vue-components":"0.28.0",vite:"6.0.7","vite-bundle-analyzer":"0.16.0","vite-plugin-cdn2":"1.1.0","vite-plugin-ejs":"1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"0.8.4","vite-plugin-mock-dev-server":"1.8.3","vite-plugin-svg-icons":"2.0.1","vite-svg-loader":"5.1.0",vitest:"2.1.8","vue-tsc":"2.2.0"},name:"ray-template",version:"5.0.10"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"}};const is=P({name:"LayoutFooterWrapper",setup(){const{layout:{copyright:e}}=ss;return{copyright:e}},render(){return this.copyright?r("div",{class:"layout-footer-wrapper"},[this.copyright]):""}}),us=P({name:"TooltipIcon",props:{...Po,iconName:{type:String,required:!0},customClassName:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["click"],setup(e,{emit:n}){const t=a=>{n("click",a)};return{iconClick:t,Icon:()=>r(x,{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(it,this.$props,{trigger:()=>r(e,null,null),default:()=>this.tooltipText}):r(e,null,null)}}),cs=P({name:"ThemeSegment",setup(){const{system:e}=Sn(),{getAppThemeStr:n,getAppTheme:t}=X(),{updateSettingState:o}=K(),a=[{label:"深色",key:"dark",icon:()=>r(x,{name:"dark",size:"16"},null)},{label:"浅色",key:"light",icon:()=>r(x,{name:"light",size:"16"},null)},{label:"自动",key:"auto",icon:()=>r(x,{name:"system_os",size:"16"},null)}],l=T({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 de(()=>{s(l.value,e.value)}),{options:a,modelAppTheme:l}},render(){const{options:e}=this;return r(Vr,{options:e,size:"small",width:"block",value:this.modelAppTheme,"onUpdate:value":n=>this.modelAppTheme=n},null)}}),Ye=Symbol("segmentDrawer"),ds=P({name:"SegmentViewsAppearance",setup(){const e=Te(Ye,{}),{changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}=K();return{toggleColorWeakness:o,model:e,changePrimaryColor:n,updateSettingState:t}},render(){const{toggleColorWeakness:e,model:n,changePrimaryColor:t,updateSettingState:o}=this;return r(I,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(le,null,{default:()=>[q("系统主题")]}),r(cs,null,null),r(le,null,{default:()=>[q("内置主题")]}),r(xo,{showPreview:!0,swatches:Se.appThemeColors,value:n.primaryColorOverride.common.primaryColor,"onUpdate:value":a=>n.primaryColorOverride.common.primaryColor=a,onUpdateValue:t.bind(this)},null),r(le,null,{default:()=>[q("切换动画")]}),r(Gt,{value:n.contentTransition,"onUpdate:value":a=>n.contentTransition=a,options:Xa,onUpdateValue:a=>{o("contentTransition",a)}},null),r(le,null,{default:()=>[q("配置入口出现位置")]}),r(Gt,{value:n.drawerPlacement,"onUpdate:value":a=>n.drawerPlacement=a,options:[{label:"右边",value:"right"},{label:"左边",value:"left"}],onUpdateValue:a=>{o("drawerPlacement",a)}},null),r(le,null,{default:()=>[q("其他设置")]}),r(fe,{labelPlacement:"left",class:"setting-drawer__overrides-form",showFeedback:!1},{default:()=>[r(z,{label:"面包屑"},{default:()=>[r(ee,{value:n.breadcrumbSwitch,"onUpdate:value":a=>n.breadcrumbSwitch=a,onUpdateValue:a=>o("breadcrumbSwitch",a)},null)]}),r(z,{label:"标签页"},{default:()=>[r(ee,{value:n.menuTagSwitch,"onUpdate:value":a=>n.menuTagSwitch=a,onUpdateValue:a=>o("menuTagSwitch",a)},null)]}),r(z,{label:"页底信息"},{default:()=>[r(ee,{value:n.copyrightSwitch,"onUpdate:value":a=>n.copyrightSwitch=a,onUpdateValue:a=>o("copyrightSwitch",a)},null)]}),r(z,{label:"色弱模式"},{default:()=>[r(ee,{value:n.colorWeakness,"onUpdate:value":a=>n.colorWeakness=a,onUpdateValue:a=>{o("colorWeakness",a),e(a)}},null)]})]})]})}}),ps=P({name:"SegmentViewsCommon",setup(){const e=Te(Ye,{}),{updateSettingState:n}=K();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(I,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(le,null,{default:()=>[q("基础设置")]}),r(fe,{labelPlacement:"left",class:"setting-drawer__overrides-form",showFeedback:!1},{default:()=>[r(z,{label:"页面缓存"},{default:()=>[r(ee,{value:e.keepAliveConfig.setupKeepAlive,"onUpdate:value":t=>e.keepAliveConfig.setupKeepAlive=t,onUpdateValue:t=>n("keepAliveConfig",{setupKeepAlive:t})},null)]}),r(z,{label:"动态浏览器标题"},{default:()=>[r(ee,{value:e.dynamicDocumentTitle,"onUpdate:value":t=>e.dynamicDocumentTitle=t,onUpdateValue:t=>n("dynamicDocumentTitle",t)},null)]})]}),r(le,null,{default:()=>[q("缓存设置")]}),r(fe,{labelPlacement:"top",showFeedback:!0,showRequireMark:!1,model:e.keepAliveConfig},{default:()=>[r(z,{label:"最大缓存数",feedback:T(()=>e.keepAliveConfig.maxKeepAliveLength<=0?"设置为【0】时,缓存将会失效":"").value},{default:()=>[r(Y,{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(z,{label:"排除缓存"},{default:()=>[r(Mo,{type:"success",value:e.keepAliveConfig.keepAliveExclude,"onUpdate:value":t=>e.keepAliveConfig.keepAliveExclude=t},null)]})]})]})}}),ms=P({name:"SegmentViewsWatermark",setup(){const e=Te(Ye,{}),{updateSettingState:n}=K();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(I,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(le,null,{default:()=>[q("基础设置")]}),r(fe,{showFeedback:!1,showRequireMark:!1,class:"setting-drawer__overrides-form",labelPlacement:"left"},{default:()=>[r(z,{label:"全屏水印"},{default:()=>[r(ee,{value:e.watermarkSwitch,"onUpdate:value":t=>e.watermarkSwitch=t,onUpdateValue:t=>n("watermarkSwitch",t)},null)]}),r(z,{label:"跨边界显示"},{default:()=>[r(ee,{value:e.watermarkConfig.cross,"onUpdate:value":t=>e.watermarkConfig.cross=t,onUpdateValue:t=>n("watermarkConfig",{cross:t})},null)]})]}),r(le,null,{default:()=>[q("个性化水印")]}),r(fe,{showFeedback:!0,showRequireMark:!1,class:"setting-drawer__overrides-form"},{default:()=>[r(z,{label:"水印内容"},{default:()=>[r(zt,{value:e.watermarkConfig.content,"onUpdate:value":t=>e.watermarkConfig.content=t,onUpdateValue:t=>n("watermarkConfig",{content:t})},null)]}),r(z,{label:"字体尺寸"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.fontSize,"onUpdate:value":t=>e.watermarkConfig.fontSize=t,onUpdateValue:t=>n("watermarkConfig",{fontSize:t})},null)]}),r(z,{label:"字体行高"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.lineHeight,"onUpdate:value":t=>e.watermarkConfig.lineHeight=t,onUpdateValue:t=>n("watermarkConfig",{lineHeight:t})},null)]}),r(z,{label:"字体宽度"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.width,"onUpdate:value":t=>e.watermarkConfig.width=t,onUpdateValue:t=>n("watermarkConfig",{width:t})},null)]}),r(z,{label:"字体高度"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.height,"onUpdate:value":t=>e.watermarkConfig.height=t,onUpdateValue:t=>n("watermarkConfig",{height:t})},null)]}),r(z,{label:"x轴偏移"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.xOffset,"onUpdate:value":t=>e.watermarkConfig.xOffset=t,onUpdateValue:t=>n("watermarkConfig",{xOffset:t})},null)]}),r(z,{label:"x轴间隙"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.xGap,"onUpdate:value":t=>e.watermarkConfig.xGap=t,onUpdateValue:t=>n("watermarkConfig",{xGap:t})},null)]}),r(z,{label:"y轴偏移"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.yOffset,"onUpdate:value":t=>e.watermarkConfig.yOffset=t,onUpdateValue:t=>n("watermarkConfig",{yOffset:t})},null)]}),r(z,{label:"y轴间隙"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.yGap,"onUpdate:value":t=>e.watermarkConfig.yGap=t,onUpdateValue:t=>n("watermarkConfig",{yGap:t})},null)]}),r(z,{label:"旋转角度"},{default:()=>[r(Y,{precision:0,showButton:!1,value:e.watermarkConfig.rotate,"onUpdate:value":t=>e.watermarkConfig.rotate=t,onUpdateValue:t=>n("watermarkConfig",{rotate:t})},null)]})]})]})}}),fs=P({name:"SegmentViewsCustomMenu",setup(){const e=Te(Ye,{}),{updateSettingState:n}=K();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(I,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(le,{titlePlacement:"center"},{default:()=>[r(I,{wrap:!1,align:"center",size:[4,0]},{default:()=>[r(it,{placement:"top",showArrow:!1},{trigger:()=>r(x,{name:"question",size:"16"},null),default:()=>"菜单更新是一个复杂、耗时的操作,请手动点击【更新菜单】按钮更新设置"}),r(vn,null,{default:()=>[q("菜单样式")]})]})]}),r(fe,{showFeedback:!0,showRequireMark:!1,class:"setting-drawer__overrides-form"},{default:()=>[r(z,{label:"每级菜单缩进"},{default:()=>[r(Y,{value:e.menuConfig.collapsedIndent,"onUpdate:value":t=>e.menuConfig.collapsedIndent=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedIndent:t})},null)]}),r(z,{label:"菜单图标尺寸"},{default:()=>[r(Y,{value:e.menuConfig.iconSize,"onUpdate:value":t=>e.menuConfig.iconSize=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{iconSize:t})},null)]}),r(z,{label:"折叠菜单图标尺寸"},{default:()=>[r(Y,{value:e.menuConfig.collapsedIconSize,"onUpdate:value":t=>e.menuConfig.collapsedIconSize=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedIconSize:t})},null)]}),r(z,{label:"菜单宽度"},{default:()=>[r(Y,{value:e.menuConfig.menuWidth,"onUpdate:value":t=>e.menuConfig.menuWidth=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{menuWidth:t})},null)]}),r(z,{label:"折叠菜单宽度"},{default:()=>[r(Y,{value:e.menuConfig.collapsedWidth,"onUpdate:value":t=>e.menuConfig.collapsedWidth=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedWidth:t})},null)]}),r(z,{showFeedback:!1,showLabel:!1},{default:()=>[r(J,{onClick:e.throttleSetupAppMenu,block:!0,type:"primary"},{default:()=>[q("更新菜单")]})]})]}),r(le,null,{default:()=>[q("其他设置")]}),r(fe,{showFeedback:!1,showRequireMark:!1,class:"setting-drawer__overrides-form",labelPlacement:"left"},{default:()=>[r(z,{label:"反转色菜单"},{default:()=>[r(ee,{value:e.menuConfig.inverted,"onUpdate:value":t=>e.menuConfig.inverted=t,onUpdateValue:t=>n("menuConfig",{inverted:t})},null)]}),r(z,{label:"菜单标题"},{default:()=>[r(ee,{value:e.menuConfig.menuSiderBarLogo,"onUpdate:value":t=>e.menuConfig.menuSiderBarLogo=t,onUpdateValue:t=>n("menuConfig",{menuSiderBarLogo:t})},null)]}),r(z,{label:"手风琴菜单"},{default:()=>[r(ee,{value:e.menuConfig.accordion,"onUpdate:value":t=>e.menuConfig.accordion=t,onUpdateValue:t=>n("menuConfig",{accordion:t})},null)]}),r(z,{label:"原生滚动条"},{default:()=>[r(ee,{value:e.menuConfig.nativeScrollbar,"onUpdate:value":t=>e.menuConfig.nativeScrollbar=t,onUpdateValue:t=>n("menuConfig",{nativeScrollbar:t})},null)]})]})]})}}),gs=P({name:"SettingDrawer",props:Eo,setup(){const{create:e}=yr(),{changePrimaryColor:n,updateSettingState:t}=K(),{getAppTheme:o,getPrimaryColorOverride:a,getMenuTagSwitch:l,getBreadcrumbSwitch:s,getCopyrightSwitch:i,getContentTransition:u,getWatermarkSwitch:c,getKeepAliveConfig:f,getMenuConfig:p,getDrawerPlacement:v,getColorWeakness:m,getWatermarkConfig:g,getDynamicDocumentTitle:b}=X(),{setupAppMenu:h}=Be(),_=Et(h,300),d=re({menuTagSwitch:l.value,breadcrumbSwitch:s.value,copyrightSwitch:i.value,contentTransition:u.value,watermarkSwitch:c.value,keepAliveConfig:f.value,menuConfig:p.value,drawerPlacement:v.value,colorWeakness:m.value,primaryColorOverride:a.value,watermarkConfig:g.value,dynamicDocumentTitle:b.value,throttleSetupAppMenu:_}),y=()=>{e({preset:"dialog",title:"恢复默认配置",type:"warning",content:"点击【确认初始化】按钮会恢复默认系统配置,是否继续?",positiveText:"确认初始化",negativeText:"取消",onPositiveClick:()=>{po(Ee(In()),(w,C)=>{d[C]=w,t(C,w)}),_()}})};return Cn(Ye,d),{changePrimaryColor:n,getAppTheme:o,getPrimaryColorOverride:a,updateSettingState:t,modelReactive:d,defaultSettingBtnClick:y}},render(){const{defaultSettingBtnClick:e,$props:n}=this,{trapFocus:t,autoFocus:o,nativeScrollbar:a,...l}=n;return r(bn,j(l,{trapFocus:!1,autoFocus:!1,width:320}),{default:()=>[r(Do,{title:"个性化配置",closable:!0},{default:()=>r(hn,{type:"bar",animated:!0,defaultValue:"appearance"},{default:()=>[r(Qe,{name:"appearance",tab:"外观"},{default:()=>[r(ds,null,null)]}),r(Qe,{name:"menu",tab:"菜单"},{default:()=>[r(fs,null,null)]}),r(Qe,{name:"watermark",tab:"水印"},{default:()=>[r(ms,null,null)]}),r(Qe,{name:"common",tab:"通用"},{default:()=>[r(ps,null,null)]})]}),footer:()=>r(I,{justify:"flex-start"},{default:()=>[r(J,{type:"warning",onClick:e},{icon:()=>r(x,{name:"reload"},null),default:()=>"初始化配置"})]})})]})}});function hs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const ys=P({name:"SiderBarBreadcrumb",setup(){const{changeMenuModelValue:e}=Be(),{getBreadcrumbOptions:n}=Oe(),{isTabletOrSmaller:t}=Xe();return{getBreadcrumbOptions:n,dropdownSelect:(l,s)=>{e(l,s)},breadcrumbItemClick:l=>{var s;if(!((s=l.children)!=null&&s.length)){const{meta:i={}}=l;i.sameLevel||e(l.fullPath,l)}},isTabletOrSmaller:t}},render(){let e;const{isTabletOrSmaller:n,getBreadcrumbOptions:t}=this,{dropdownSelect:o,breadcrumbItemClick:a}=this;return n?r("div",{style:"display: none;"},null):r(Lo,null,{default:()=>[r(Ca,{tag:"li",name:"breadcrumb",appear:!0},hs(e=t.map(l=>r(zo,{key:l.fullPath,onClick:a.bind(this,l)},{default:()=>{var s;return[r(ze,{labelField:"breadcrumbLabel",keyField:"fullPath",options:l.children&&((s=l.children)==null?void 0:s.length)>1?l.children:[],onSelect:o.bind(this)},{default:()=>r("span",null,[l.label&&typeof l.label=="function"?l.label():l.breadcrumbLabel])})]}})))?e:{default:()=>[e]})]})}});function Tt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const bs=P({name:"GlobalSearch",props:{show:{type:Boolean,default:!1}},emits:["update:show"],setup(e,{emit:n}){const{changeMenuModelValue:t,resolveOption:o}=Be(),{getRoutes:a}=Ge(),l=T({get:()=>e.show,set:S=>{n("update:show",S),S||m()}}),s=re({searchValue:null,searchOptions:[]}),i=[{icon:["↑","↓"],label:"切换",plain:!0},{icon:["↵"],label:"选择",plain:!0},{icon:["esc"],label:"关闭",plain:!0}];let u=0,c=u;const{isTabletOrSmaller:f}=Xe({observer:S=>{S&&(l.value=!1)}}),p=V(!1),v="content-item--active",m=()=>{s.searchOptions=[],s.searchValue=null,u=0,c=u},g=S=>{l.value||(S.ctrlKey||S.metaKey)&&S.key==="k"&&(S.preventDefault(),S.stopPropagation(),m(),l.value=!0)},b=S=>{if(S)p.value=!0;else{p.value=!1,s.searchOptions=[];return}const A=a().reduce((O,L)=>{var W;const k=Ne(L,["children","meta","path","name"]),M=o({...k,fullPath:L.path}),{breadcrumbLabel:$}=M;return(W=$==null?void 0:$.toLocaleLowerCase())!=null&&W.includes(S.toLocaleLowerCase())&&Ln(M)&&O.push(M),O},[]);setTimeout(()=>{s.searchOptions=A,te().then(()=>{_()}),p.value=!1},300)},h=S=>{if(S){const{meta:A}=S;A.windowOpen?window.open(A.windowOpen):(l.value=!1,t(S.fullPath,S),setTimeout(xn,300))}},_=()=>{const S=s.searchOptions[u],A=s.searchOptions[c];S&&te().then(()=>{const O=Ke(`attr:data_path="${S.path}"`),L=A?Ke(`attr:data_path="${A==null?void 0:A.path}"`):null;if(L!=null&&L.length){const[k]=L;ra(k,v)}if(O!=null&&O.length){const[k]=O;Rn(k,v)}})},d=S=>{const{icon:A}=S;return typeof A=="string"&&A?r(x,{name:A,size:"24"},null):typeof A=="function"?r(A,null,null):r(x,{name:"search",size:"24"},null)},y=S=>{S==="up"&&(u-=1,u<0&&(u=s.searchOptions.length-1)),S==="down"&&(u+=1,u>=s.searchOptions.length&&(u=0))},w=S=>{const A=S.key;switch((A==="ArrowUp"||A==="ArrowDown"||A==="Enter")&&(S.preventDefault(),S.stopPropagation()),c=u<=0?0:u,A){case"ArrowUp":y("up");break;case"ArrowDown":y("down");break;case"Enter":const O=s.searchOptions[u];O&&h(O);break}_()},C=({menuOption:S})=>r(I,j({align:"center",class:"content-item"},{onClick:h.bind(this,S),data_path:S.path}),{default:()=>[r("div",{class:"content-item-icon"},[d(S.meta)]),r("div",{class:"content-item-label"},[S.breadcrumbLabel]),r(x,{name:"enter",size:"18",customClassName:"content-item-icon__enter"},null)]});return $e(window,"keydown",g),{...we(s),modelShow:l,helperTipOptions:i,fuzzySearchMenuOptions:Et(b,300),searchItemClick:h,RenderPreIcon:d,isTabletOrSmaller:f,SearchItem:C,loading:p,registerChangeSearchElementIndex:w}},render(){const{isTabletOrSmaller:e,searchOptions:n,loading:t}=this,{SearchItem:o,fuzzySearchMenuOptions:a,registerChangeSearchElementIndex:l}=this;return e?r("div",{style:"display: none;"},null):r(fn,{show:this.modelShow,"onUpdate:show":s=>this.modelShow=s,transformOrigin:"center",displayDirective:"if"},{default:()=>[r("div",{class:"global-search global-search--dark global-search--light",tabindex:"-1",onKeydown:l},[r("div",{class:"global-search__wrapper"},[r(De,{class:"global-search__card",headerStyle:{padding:"12px 12px 0 12px"},contentStyle:{padding:"12px"},segmented:{action:"soft"}},{header:()=>r(zt,{size:"large",value:this.searchValue,"onUpdate:value":s=>this.searchValue=s,clearable:!0,onInput:a.bind(this)},{prefix:()=>r(x,{name:"search",size:"24"},null)}),default:()=>{let s;return r(Dt,null,{default:()=>[r(pt,{show:t},{default:()=>[n.length?r(I,{vertical:!0,size:[0,6],class:"global-search__card-content"},Tt(s=n.map((i,u)=>r(o,{menuOption:i,key:i.fullPath},null)))?s:{default:()=>[s]}):r(Io,{size:"large",class:"global-search__empty"},{icon:()=>null,default:()=>r(I,{justify:"center",class:"global-search__empty-content"},{default:()=>[r(vn,null,{default:()=>[q("没有搜索结果")]})]})})]})]})},action:()=>{let s;return r(I,{justify:"flex-start",align:"center",size:[16,0]},Tt(s=this.helperTipOptions.map(i=>r(I,{key:i.label,size:[4,0]},{default:()=>[i.icon.map(u=>r(I,{class:"item-icon",align:"center",justify:"center"},Tt(u)?u:{default:()=>[u]})),r(I,{class:"item-label",align:"center"},{default:()=>[i.label]})]})))?s:{default:()=>[s]})}})])])]})}}),vs=P({name:"GlobalSearchButton",props:{onClick:{type:[Function,Array],default:null}},setup(e){return{getShortcutKeyAboutSystem:()=>{const o=sa();return o==="MacOS"?"⌘ + K":"CTRL + K"},click:o=>{const{onClick:a}=e;a&&F(a,o)}}},render(){const{getShortcutKeyAboutSystem:e,click:n,$t:t}=this;return r(J,{bordered:!1,onClick:n.bind(this),round:!0,tertiary:!0,style:"margin-right: 16px"},{icon:()=>r(x,{name:"search",size:"16"},null),default:()=>r(I,{align:"center"},{default:()=>[t("headerTooltip.Search"),r("div",{class:"global-search-btn__label"},[e()])]})})}}),Qn=P({name:"AppAvatar",props:{...Fo,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}=Yn();return{getSigningCallback:e}},render(){const{getSigningCallback:e,avatarSize:n,spaceSize:t,$props:o,vertical:a}=this;return r(J,{quaternary:!0,strong:!0,focusable:!1},{default:()=>[r(I,{align:"center",size:t,vertical:a},{default:()=>[r(Bo,j(o,{src:e==null?void 0:e.avatar,objectFit:"cover",round:!0,size:n}),{default:()=>{var l;return e.avatar?null:(l=e==null?void 0:e.name)==null?void 0:l[0]}}),e==null?void 0:e.name]})]})}}),_s=()=>[{key:"person",label:"个人信息"},{key:"lockScreen",label:"锁定屏幕"},{type:"divider",key:"d1"},{key:"logout",label:"退出登陆"}],Ss={logout:()=>{const{logout:e}=Xn();window.$dialog.warning({title:"提示",content:"您确定要退出登录吗",positiveText:"确定",negativeText:"不确定",onPositiveClick:()=>{e()}})},lockScreen:()=>{const{updateSettingState:e}=K();e("lockScreenSwitch",!0)}},ws=e=>{const n=Ss[e];n?n():window.$message.info("这个人很懒, 没做这个功能~")},Cs=e=>{const{isTabletOrSmaller:n}=e,t=[],o=[{name:"menu",size:18,eventKey:"menu"}];return n.value?o:t},Ts=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],a=[...t];return n.value?a:o},Os=P({name:"AppSiderBar",setup(){const{updateLocale:e,updateSettingState:n}=K(),{t}=He(),[o,{toggleFullscreen:a,isEnabled:l}]=On(document.getElementsByTagName("html")[0]),{getDrawerPlacement:s,getBreadcrumbSwitch:i}=X(),u=V(!1),c=V(!1),{isTabletOrSmaller:f}=Xe(),p=gt("globalDrawerValue"),v=T(()=>Cs({isFullscreen:o,isTabletOrSmaller:f})),m=T(()=>Ts({isFullscreen:o,isTabletOrSmaller:f})),g={search:()=>{c.value=!0},setting:()=>{u.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},fullscreen:()=>{l||window.$message.warning(t("globalMessage.isEnabledFullscreen")),a()},lock:()=>{n("lockScreenSwitch",!0)},menu:()=>{me("globalDrawerValue",!p.value)}};return{leftIconOptions:v,rightTooltipIconOptions:m,toolIconClick:_=>{var d;(d=g[_])==null||d.call(g)},showSettings:u,updateLocale:e,getDrawerPlacement:s,getBreadcrumbSwitch:i,globalSearchShown:c,isRenderVNode:_=>f.value?null:_}},render(){const{rightTooltipIconOptions:e,leftIconOptions:n,getDrawerPlacement:t,getBreadcrumbSwitch:o}=this,{toolIconClick:a,updateLocale:l,isRenderVNode:s}=this;return r(_n,{class:"layout-header"},{default:()=>[r(bs,{show:this.globalSearchShown,"onUpdate:show":i=>this.globalSearchShown=i},null),r(I,{class:"layout-header__method",align:"center",justify:"space-between",wrap:!1},{default:()=>[r(I,{align:"center",wrap:!1},{default:()=>[n.map(i=>r(us,{key:i.name,iconName:i.name,tooltipText:wn(i.tooltip)?i.tooltip.value:i.tooltip,customClassName:i.iconClass,onClick:a.bind(this,i.name)},null)),o?r(ys,null,null):null]}),r(I,{justify:"end",align:"center",size:[0,0],wrap:!1},{default:()=>[s(r(vs,{onClick:i=>{i.stopPropagation(),this.globalSearchShown=!0}},null)),e.map(i=>r(J,{class:"override-button__layout",quaternary:!0,size:"medium",key:i.name,onClick:a.bind(this,i.name),focusable:!1},{default:()=>[r(x,{name:i.name,size:16,cursor:"pointer"},null)]})),r(ze,{options:En,onSelect:i=>l(String(i)),trigger:"click"},{default:()=>[r(J,{quaternary:!0,class:"override-button__layout",focusable:!1},{default:()=>[r(x,{customClassName:"layout-header__method--icon",name:"language",size:"16",cursor:"pointer"},null)]})]}),r(ze,{options:_s(),onSelect:ws.bind(this),trigger:"click"},{default:()=>[r(Qn,{avatarSize:24,spaceSize:[8,0],class:"override-button__layout"},null)]})]})]}),r(gs,{show:this.showSettings,"onUpdate:show":i=>this.showSettings=i,placement:t},null)]})}}),ks=P({name:"LayoutHeaderWrapper",setup(){return{}},render(){return r(I,{size:[0,0]},{default:()=>[r(Os,null,null)]})}});function As(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const Rs=P({name:"AppMenuTag",setup(e,{expose:n}){const t=ie("scrollRef"),{getMenuKey:o,getMenuTagOptions:a}=Oe(),{changeMenuModelValue:l}=Be(),{getRootPath:s}=Je(),{maximize:i}=to(),{reload:u}=Bs(),{close:c,closeAll:f,closeRight:p,closeLeft:v,closeOther:m,checkCloseLeft:g,checkCloseRight:b}=no(),h=["closeAll","closeRight","closeLeft","closeOther"];let _=1/0;const d={size:16},y=V([{label:"关闭当前页面",key:"closeCurrentPage",icon:()=>r(x,{name:"close",size:d.size},null)},{label:"最大化当前页面",key:"maximizeLayoutContent",icon:()=>r(x,{name:"fullscreen_fold",size:d.size},null)},{label:"刷新当前页面",key:"reloadCurrentPage",icon:()=>r(x,{name:"reload",size:d.size},null)},{label:"新窗口打开",key:"windowOpenTab",icon:()=>r(x,{name:"shared",size:d.size},null)},{type:"divider",key:"d1"},{label:"关闭左侧标签页",key:"closeLeft",icon:()=>r(x,{name:"close_left",size:d.size},null)},{label:"关闭右侧标签页",key:"closeRight",icon:()=>r(x,{name:"close_right",size:d.size},null)},{type:"divider",key:"d1"},{label:"关闭其他标签页",key:"closeOther",icon:()=>r(x,{name:"close_other",size:d.size},null)},{label:"关闭所有标签页",key:"closeAll",icon:()=>r(x,{name:"resize_h",size:d.size},null),disabled:!1}]),w=ct(16),C={closeCurrentPage:()=>{o.value!==s.value&&c(_)},reloadCurrentPage:()=>{u()},closeAll:()=>{f()},closeRight:()=>{p(_)},closeLeft:()=>{v(_)},closeOther:()=>{m(_)},windowOpenTab:()=>{const R=a.value[_];if(!(R!=null&&R.fullPath))return;const E=R.fullPath.startsWith("#")?R.fullPath:`#${R.fullPath}`;window.open(E,"_blank")},maximizeLayoutContent:()=>{const R=a.value[_];i(!0),R&&oe(R)}},S=re({x:0,y:0,actionDropdownShow:!1}),A="menu_tag_data",O=gt("globalMainLayoutLoad"),L="n-scrollbar-container";let k=o.value;const M=V(!1),$=R=>{c(R)},W=(R,E)=>{for(const Z of y.value)if(Z.key===R){Z.disabled=E;break}},oe=R=>{S.actionDropdownShow=!1,l(R.fullPath,R)},G=()=>{const R=document.getElementById(w);if(R)return Array.from(R.childNodes).find(Ze=>ia(Ze,L).value)},ye=R=>{var Z;const E=G();if(E){const Ze=E.scrollLeft||0,Ut=R==="left"?Math.max(0,Ze-200):Ze+200;(Z=t.value)==null||Z.scrollTo({left:Ut,behavior:"smooth"})}},ke=R=>{S.actionDropdownShow=!1;const E=C[R];E==null||E()},ae=(R,E)=>{E.preventDefault(),_=R,S.actionDropdownShow=!1,te(()=>{S.x=E.clientX,S.y=E.clientY,S.actionDropdownShow=!0})},Nt=()=>{b(_)?W("closeRight",!1):W("closeRight",!0),g(_)?W("closeLeft",!1):W("closeLeft",!0)},ao=()=>{_=a.value.findIndex(E=>E.fullPath===o.value),Nt()},lo=R=>{a.value.length>1&&R.fullPath!==s.value&&(R.closeable=!0),M.value=!0},ro=R=>{R.fullPath!==o.value&&(R.closeable=!1),M.value=!1},so=()=>{G()&&te().then(()=>{var E;(E=t.value)==null||E.scrollTo({left:99999,behavior:"smooth"})})},ht=()=>{te().then(()=>{const R=Ke(`attr:${A}="${o.value}"`);if(R!=null&&R.length){const[E]=R;te().then(()=>{var Z;(Z=t.value)==null||Z.scrollTo({left:E.offsetLeft,behavior:"smooth"})})}})},io=()=>{i(!0)};return qe(()=>a.value,(R,E)=>{y.value.forEach(Z=>{h.includes(Z.key)&&(R.length>1?Z.disabled=!1:Z.disabled=!0)}),E!=null&&E.length&&(R.length>(E==null?void 0:E.length)?so():R.length===(E==null?void 0:E.length)&&ht()),E===void 0&&ht()},{immediate:!0}),de(()=>{S.actionDropdownShow&&Nt(),k!==o.value&&(k=o.value,ht())}),n(),{getMenuTagOptions:a,closeCurrentMenuTag:$,getMenuKey:o,menuTagClick:oe,moreOptions:y,scrollX:ye,scrollRef:t,uuidScrollBar:w,actionDropdownSelect:ke,actionState:S,menuTagContextMenu:ae,setCurrentContextmenuIndex:ao,menuTagMouseenter:lo,menuTagMouseleave:ro,MENU_TAG_DATA:A,iconConfig:d,maximize:i,reload:u,globalMainLayoutLoad:O,maximizeBtnClick:io,isMouseInMenuTag:M}},render(){let e;const{iconConfig:n,uuidScrollBar:t,getMenuTagOptions:o,MENU_TAG_DATA:a,globalMainLayoutLoad:l,isMouseInMenuTag:s}=this,{maximizeBtnClick:i,closeCurrentMenuTag:u,scrollX:c,$t:f,menuTagClick:p,menuTagContextMenu:v,menuTagMouseenter:m,menuTagMouseleave:g,actionDropdownSelect:b,reload:h}=this;return r(_n,null,{default:()=>[r("div",{class:"menu-tag"},[r(ze,{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:b.bind(this),onClickoutside:()=>{s||(this.actionState.actionDropdownShow=!1)}},null),r(I,{class:"menu-tag-space",wrap:!1,align:"center",justify:"space-between",inline:!0},{default:()=>[r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:this.scrollX.bind(this,"left")},{icon:()=>r(x,{name:"expanded",width:n.size,height:n.size,customClassName:"menu-tag__left-arrow"},null)}),r(Dt,j({xScrollable:!0,ref:"scrollRef"},{id:t},{themeOverrides:{width:"0px",height:"0px"}}),{default:()=>[r(I,{class:"menu-tag-wrapper",wrap:!1,align:"center",justify:"start"},As(e=o.map((_,d)=>r(J,j({key:_.fullPath,class:["menu-tag__btn"],strong:!0,secondary:!0,type:_.fullPath===this.getMenuKey?"primary":"default"},{onClick:p.bind(this,_),onContextmenu:v.bind(this,d),onMouseenter:m.bind(this,_),onMouseleave:g.bind(this,_),[a]:_.fullPath},{size:"small",focusable:!1,iconPlacement:"right"}),{default:()=>r(Tn,null,[r("span",null,{default:()=>{const{breadcrumbLabel:y,meta:{i18nKey:w}}=_;return w?f(w):y}})]),icon:()=>r(x,j({customClassName:"menu-tag__btn-icon",name:"close",size:"15"},{onMousedown:u.bind(this,d)}),null)})))?e:{default:()=>[e]})]}),r(I,{align:"center",inline:!0,wrap:!1,size:[0,0]},{default:()=>[r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:c.bind(this,"right")},{icon:()=>r(x,{name:"expanded",width:n.size,height:n.size,style:{transform:"rotate(180deg)"}},null)}),r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:i},{icon:()=>r(x,{name:"fullscreen_fold",width:n.size,height:n.size},null)}),r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:()=>{h()}},{icon:()=>r(x,{name:"reload",width:n.size,height:n.size,customClassName:`${l?"":"menu-tag__right-setting--spinning"}`},null)}),r(jn,{class:"menu-tag__dropdown",options:this.moreOptions,trigger:"click",onSelect:this.actionDropdownSelect.bind(this),iconSize:18,keyboard:!1},{default:()=>[r(J,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:this.setCurrentContextmenuIndex.bind(this)},{icon:()=>r(x,{name:"more",width:n.size,height:n.size},null)})]})]})]})])]})}}),Ps=P({name:"LayoutFeatureWrapper",setup(){return{}},render(){return r(Rs,null,null)}}),xs={lockPassword:{required:!0,message:"请输入正确格式密码",min:6,max:12,trigger:["input"]}},sn=()=>({lockPassword:null}),un=$o(U.isAppLockScreen,!1,window.localStorage,{mergeDefaults:!0}),eo=()=>({setLockAppScreen:t=>{un.value=t},getLockAppScreen:()=>un.value}),Ms=P({name:"UnlockScreen",setup(){const[e,{validate:n}]=Dr(),{logout:t}=Xn(),{updateSettingState:o}=K(),{setLockAppScreen:a}=eo(),{isTabletOrSmaller:l}=Xe(),s="HH:mm",i="A",u="YYYY-MM-DD",c="ddd",f=re({lockCondition:sn(),HH_MM:H().format(s),AM_PM:H().format(i),YY_MM_DD:H().format(u),DDD:H().format(c)}),p=setInterval(()=>{f.HH_MM=H().format(s),f.AM_PM=H().format(i)},6e3),v=setInterval(()=>{f.YY_MM_DD=H().format(u),f.DDD=H().format(c)},864e5),m=()=>{ce(U.appLockScreenPasswordKey,"localStorage"),o("lockScreenSwitch",!1),setTimeout(()=>{t()},100)},g=()=>{window.$dialog.warning({title:"警告",content:"是否返回到登陆页并且重新登录",positiveText:"确定",negativeText:"重新登录",onPositiveClick:m})},b=()=>{const h=Le(U.appLockScreenPasswordKey,"localStorage");if(!h){window.$dialog.warning({title:"警告",content:()=>"检测到锁屏密码被修改,请重新登录",closable:!1,maskClosable:!1,closeOnEsc:!1,positiveText:"重新登录",onPositiveClick:m});return}const _=ua(h);n().then(()=>{_===f.lockCondition.lockPassword?(a(!1),o("lockScreenSwitch",!1),ce(U.appLockScreenPasswordKey,"localStorage"),f.lockCondition=sn()):window.$message.warning("密码错误,请重新输入")})};return Lt(()=>{clearInterval(p),clearInterval(v)}),{...we(f),backToSigning:g,unlockScreen:b,isTabletOrSmaller:l,register:e}},render(){const{isTabletOrSmaller:e}=this,{HH_MM:n,AM_PM:t,YY_MM_DD:o,DDD:a}=this,l=n.split(":"),{unlockScreen:s,backToSigning:i,register:u}=this;return r("div",{class:"app-lock-screen__content app-lock-screen__content--full"},[r("div",{class:"app-lock-screen__unlock"},[r("div",{class:"app-lock-screen__unlock__content"},[r("div",{class:"app-lock-screen__unlock__content-wrapper"},[r("div",{class:["app-lock-screen__unlock__content-bg__wrapper","app-lock-screen__unlock__content-bg",e?"app-lock-screen__unlock__content-bg--smaller":""]},[r("div",{class:"left"},[l[0]]),r("div",{class:"right"},[l[1]])])]),r("div",{class:"app-lock-screen__unlock__content-avatar"},[r(Qn,{avatarSize:52,style:"pointer-events: none;",vertical:!0},null)]),r("div",{class:"app-lock-screen__unlock__content-input"},[r(Un,{onRegister:u,model:this.lockCondition,rules:xs},{default:()=>[r(z,{path:"lockPassword"},{default:()=>[r(zt,{autofocus:!0,value:this.lockCondition.lockPassword,"onUpdate:value":c=>this.lockCondition.lockPassword=c,type:"password",placeholder:"请输入解锁密码",clearable:!0,minlength:6,onKeydown:c=>{c.code==="Enter"&&s()}},null)]}),r(I,{justify:"space-between"},{default:()=>[r(J,{type:"primary",text:!0,onClick:i.bind(this)},{default:()=>[q("返回登陆")]}),r(J,{type:"primary",text:!0,onClick:s.bind(this)},{default:()=>[q("进入系统")]})]})]})]),r("div",{class:"app-lock-screen__unlock__content-date"},[r("div",{class:"current-year"},[o,q(" "),r("span",null,[a]),q(" "),r("span",null,[t])])])])])])}}),Es=e=>{const n=bt(e[0]),t=bt(e[1]),o=bt(e[2]);return T(()=>({"--window-width":"var(--html-width)","--window-height":"var(--html-height)","--layout-content-height":`calc(var(--html-height) - ${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`}))},Ds=P({name:"RLayout",setup(){const e=ne(),n=ne(),t=ne(),{getMenuTagSwitch:o,getCopyrightSwitch:a}=X(),{getLockAppScreen:l}=eo(),s=Es([e,n,t]);return{getMenuTagSwitch:o,cssVarsRef:s,getLockAppScreen:l,layoutSiderBarRef:e,layoutMenuTagRef:n,layoutFooterRef:t,getCopyrightSwitch:a}},render(){const{getMenuTagSwitch:e,cssVarsRef:n,getCopyrightSwitch:t}=this,{getLockAppScreen:o}=this;return o()?r(Ms,null,null):r(Vo,{class:"r-layout-full",style:[n],hasSider:!0,embedded:!0},{default:()=>[r(ns,null,null),r(Ht,{class:"r-layout-full__viewer"},{default:()=>[r(ks,{ref:"layoutSiderBarRef"},null),e?r(Ps,{ref:"layoutMenuTagRef"},null):null,r(Ht,{ref:xe,class:["r-layout-full__viewer-content"],nativeScrollbar:!1},{default:()=>[r(Zn,null,null)]}),t?r(is,{ref:"layoutFooterRef"},null):null]})]})}}),zs=[{path:"/",name:"RLogin",component:()=>D(()=>import("./index-BryWK9rN.js"),__vite__mapDeps([98,42,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,48,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,82,83,84,40,41,59,43,44,45,46,47,49,50,51,52,53,54,55,56,99]))},{path:"/",name:"RLayout",component:Ds,children:[...Yr(),{path:"/:catchAll(.*)",component:()=>D(()=>import("./index-DGmHId93.js"),__vite__mapDeps([100,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,48,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,49,50,51,52,53,54,55,56,101])),meta:{i18nKey:B("menu.Error"),icon:"error",hidden:!0,sameLevel:!0}}]}],dt=Sa({history:wa(),routes:zs,scrollBehavior:e=>{ar(e)}}),Fi=e=>{e.use(dt),Zr(dt)},jt=()=>dt?{router:dt}:{router:{}},cn="YYYY-MM-DD HH:mm:ss",Ls=()=>({locale:s=>{const i=Qa[s];i?H.locale(i):H.locale(el)},getStartAndEndOfDay:s=>{const{format:i=cn}=s??{},u=H(),c=u.startOf("day"),f=u.endOf("day"),p=u.format(i),v=c.format(i),m=f.format(i);return{today:u,startOfDay:c,endOfDay:f,formatToday:p,formatStartOfDay:v,formatEndOfDay:m}},format:(s,i)=>{const{format:u=cn}=i??{};return H(s).format(u)},isDayjs:s=>H.isDayjs(s),daysDiff:(s,i)=>{const u=H(s);return H(i).diff(u,"days")},isDateInRange:(s,i)=>{const{start:u,end:c}=i,f=H(s);return f.isAfter(u)&&f.isBefore(c)}});function Xe(e){const{width:n,height:t}=Ko(e),o=V(!1),{observer:a}=e??{};return ca(()=>{const{media:s=768}=e??{};o.value=n.value<=s,a==null||a(o.value,{width:n.value,height:t.value})}),{width:n,height:t,isTabletOrSmaller:ve(o)}}let ot=999,Ot=!1;const be="ELEMENT-FULLSCREEN-RAY",dn=document.createElement("style"),Is=(e,n)=>{const{beforeEnter:t,beforeExit:o,enter:a,exit:l,backgroundColor:s,zIndex:i,transition:u="transform 0.3s var(--r-bezier)"}=n??{};let c=!1;const f={x:null,y:null},p=V(!1),v=()=>{const h=se(e);if(!h)return;const{left:_,top:d}=h.getBoundingClientRect();f.x===null&&f.y===null&&(f.x=-_,f.y=-d),ut(document.body,{"--element-fullscreen-z-index":ge(i,"Null")||ge(i,"Undefined")?ot:i,"--element-fullscreen-transition":u,"--element-fullscreen-background-color":s,"--element-fullscreen-width":"var(--html-width)","--element-fullscreen-height":"var(--html-height)","--element-fullscreen-transform-x":`${f.x}px`,"--element-fullscreen-transform-y":`${f.y}px`});const y=` - [${be}] { - 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); - } - `.trim();dn.innerHTML=y,Ot||document.head.appendChild(dn)},m=()=>{const h=se(e);t==null||t(),h&&(h.getAttribute(be)||h.setAttribute(be,be),c||(c=!0,ot+=1),Ot||(v(),Ot=!0),h.style.transition=u,p.value=!0,a==null||a())},g=()=>{o==null||o();const h=se(e);h&&h.removeAttribute(be),p.value=!1,l==null||l()},b=()=>{const h=se(e);h&&(h.getAttribute(be)?g():m())};return Ft(()=>{const h=se(e);h&&h.removeAttribute(be),ot=Math.max(999,ot-1),p.value=!1}),{enter:m,exit:g,toggleFullscreen:b,isFullscreen:ve(p)}},kt={svg:ma,png:fa,jpeg:ga,blob:ha,pixelData:ya,canvas:ba},Bi=(e,n)=>{const{beforeCreate:t,created:o,createdError:a,finally:l,imageType:s}=n;return{create:u=>new Promise((c,f)=>{var m;const p=se(e);if(t==null||t(p),!p)return a==null||a(),f("[useDomToImage]: target element is undefined.");(m=kt[u??s??"jpeg"])==null||m.call(kt,p,n).then(g=>(o==null||o(g,p),c(g))).catch(g=>(a==null||a(g),f(g))).finally(()=>{l==null||l(p)})})}},Vi=(e,n)=>({print:()=>{const o=se(e)||e;ea({...We(n,["printable"]),printable:o})}}),at={page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50,100]},Fs=(e,n)=>{const t=T(()=>({...at,...We(n,["on-update:page","on-update:page-size","onUpdatePage","onUpdatePageSize","onUpdate:page","onUpdate:page-size","onUpdate:pageSize"]),...a})),o=ne(e),a={onUpdatePage:d=>{var w;const{pageChange:y}=t.value;l.value.page=d,(w=o.value)==null||w.call(o),y==null||y(d)},onUpdatePageSize:d=>{var w;const{pageSizeChange:y}=t.value;l.value.pageSize=d,l.value.page=at.page,(w=o.value)==null||w.call(o),y==null||y(d)}},l=V(t.value),s=l.value.onUpdatePage,i=l.value.onUpdatePageSize,u=()=>l.value.itemCount,c=d=>{l.value.itemCount=d},f=()=>l.value.page,p=d=>{s(d)},v=()=>l.value.pageSize,m=d=>{i(d)},g=()=>l.value,b=o.value,h=d=>{o.value=d},_=()=>{const{pageSizes:d}=l.value;l.value.page=at.page,l.value.pageSize=(d==null?void 0:d[0])||at.pageSize};return Ft(()=>{o.value=void 0}),[l,{getItemCount:u,setItemCount:c,getPage:f,setPage:p,getPageSize:v,setPageSize:m,getPagination:g,getCallback:b,setCallback:h,resetPagination:_}]},to=()=>({isLayoutContentMaximized:T(()=>gt("layoutContentMaximize").value),maximize:(t,o)=>{var i;const{scrollToOptions:a}=o??{},l=se(xe),{toggleFullscreen:s}=Is(l,o);me("layoutContentMaximize",t),s(),a&&t&&((i=xe==null?void 0:xe.value)==null||i.scrollTo(a))}}),Bs=()=>({reload:(o=800)=>{me("globalMainLayoutLoad",!1),setTimeout(()=>me("globalMainLayoutLoad",!0),o)},openSpin:()=>{me("layoutContentSpinning",!0)},closeSpin:()=>{me("layoutContentSpinning",!1)}}),ji=()=>({setWatermarkContent:a=>{const{getWatermarkConfig:l}=X(),s=Object.assign({},l.value,{content:a}),{updateSettingState:i}=K();i("watermarkConfig",s)},showWatermark:()=>{const{updateSettingState:a}=K();a("watermarkSwitch",!0)},hiddenWatermark:()=>{const{updateSettingState:a}=K();a("watermarkSwitch",!1)},toggleWatermark:()=>{const{getWatermarkSwitch:a}=X(),{updateSettingState:l}=K();l("watermarkSwitch",!a.value)}}),lt=e=>{const{getPrimaryColorOverride:n}=X(),{updateSettingState:t}=K();t("primaryColorOverride",e?st({},n.value,Se.appNaiveUIThemeOverrides.dark):st({},n.value,Se.appNaiveUIThemeOverrides.light))},Ni=()=>{const e=()=>{const{getAppTheme:l}=X(),{t:s}=He();return{theme:l.value,themeI18nLabel:l.value?s("headerSettingOptions.ThemeOptions.Dark"):s("headerSettingOptions.ThemeOptions.Light"),themeLabel:l.value?"Dark":"Light"}};return{darkTheme:()=>{const{updateSettingState:l}=K();l("_appTheme",!0),l("appTheme","dark"),lt(!0)},lightTheme:()=>{const{updateSettingState:l}=K();l("_appTheme",!1),l("appTheme","light"),lt(!1)},toggleTheme:()=>{const{theme:l}=e(),{updateSettingState:s}=K();s("_appTheme",!l),s("appTheme",l?"light":"dark"),lt(!l)},getAppTheme:e,syncSystemTheme:()=>{const{getAppTheme:l}=X(),{updateSettingState:s}=K(),{system:i}=Sn();s("_appTheme",i.value==="dark"),s("appTheme","auto"),lt(l.value)}}},Re=(e,n)=>{const{getMenuTagOptions:t}=Oe();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(a=>a.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,a=t.value.findIndex(l=>l.fullPath===o);if(a===-1){console.warn(`${n}: The incoming menuTag option ${e.fullPath} did not match the corresponding item.`);return}return{option:e,index:a}}};function no(){const{getMenuTagOptions:e,getMenuKey:n}=Oe(),{changeMenuModelValue:t,spliceMenTagOptions:o,setMenuTagOptions:a,resolveOption:l}=Be(),s=()=>e.value.findIndex(g=>g.fullPath===n.value),i=g=>{const b=Re(g,"checkCloseRight");if(b){const{index:h}=b,_=e.value.length-1;return!(h>=_)}return!1},u=g=>{const b=Re(g,"checkCloseRight");if(b){const{index:h}=b,_=e.value.length-1;return h===0?!1:h>0&&_>0}return!1};return{close:g=>{const b=Re(g,"close");if(e.value.length!==1&&b){const{index:h,option:_}=b;if(o(h),_.fullPath===n.value){let d=u(h)?h-1:i(h)?h:h-1;d<0&&(d=0);const y=e.value[d];y&&t(y.fullPath,y)}}},closeAll:()=>{o(0,e.value.length);const{getRootPath:g}=Je(),{router:{getRoutes:b}}=jt(),h=b().find(_=>_.path===g.value);if(h){const _=Ne(h,Mt),d=l(_);t(d.path,l({...d,fullPath:d.path}))}},closeRight:g=>{const b=Re(g,"closeRight");if(b){const{option:h,index:_}=b,d=e.value.length-_,y=s();o(_+1,d),_<=y&&n.value!==h.fullPath&&t(h.fullPath,h)}},closeLeft:g=>{const b=Re(g,"closeLeft");if(b){const{option:h,index:_}=b,d=s();o(0,_),d<=_&&n.value!==h.fullPath&&t(h.fullPath,h)}},closeOther:g=>{const b=Re(g,"closeOther");if(b){const{option:h}=b;n.value!==h.fullPath?(o(0,e.value.length),t(h.fullPath,h)):a(h,!1)}},getCurrentTagIndex:s,checkCloseRight:i,checkCloseLeft:u}}function Ui(){return{navigationTo:(n,t)=>{const{router:{getRoutes:o,push:a,replace:l}}=jt(),{isPush:s=!0,query:i}=t||{},u=c=>s?a({path:c,query:i}):l({path:c,query:i});if(typeof n=="number"){if(isNaN(n)){console.warn(`[navigationTo]: The ${n} is NaN, expect number.`);return}const{getMenuOptions:c}=Oe();if(n>c.value.length){console.warn(`[navigationTo]: The current ${n} exceeds the maximum number of menus.`);return}const f=c.value[n],p=v=>{if(v.children&&v.children.length>0){const{children:[m]}=v;p(m);return}u(v.fullPath)};p(f)}else if(typeof n=="string"){const c=o().find(f=>f.path===n);c?u(c.path):console.warn(`[navigationTo]: The path "${n}" is not found.`)}else u(n.fullPath)}}}function Je(){const{getAppRootRoute:e}=X(),{updateSettingState:n}=K(),t=e,o=T(()=>e.value.path),a=T(()=>e.value.name);return{getRootRoute:t,getRootPath:o,getRootName:a,setRootRoute:s=>{n("appRootRoute",Object.assign({},e.value,s))}}}const Vs=(e,n)=>{const{show:t,...o}=n;e.meta.extra=Object.assign({},e.meta.extra,{...o,show:t}),e.extra=Kn(e)},pn=(e,n,t)=>{const o=qn(e,n);o&&Vs(o,t)},At=(e,n,t)=>{const{getMenuOptions:o}=Oe();if(typeof e=="string")pn(o.value,e,t);else if(ge(e,"Object")){const{fullPath:a}=e;pn(o.value,a,t)}else console.warn(`[useBadge ${n}]: target expect string or object.`)};function $i(){return{hidden:o=>{At(o,"hidden",{show:!1})},show:(o,a)=>{At(o,"show",{...a,show:!0})},update:(o,a)=>{At(o,"update",a)}}}const Ki=()=>{const e=Dn.value,{scrollTo:n}=e||{};if(!n)throw new Error("[useSiderScroll]: LAYOUT_SIDER_REF is not ready yet. please wait component mounted!");return n},oo=()=>Le(U.localeLanguage,"localStorage",{defaultValue:Ja});export{Ls as $,bi as A,En as B,_t as C,Qa as D,fi as E,Di as F,Ya as G,zi as H,xi as I,Si as J,Ti as K,Dn as L,hi as M,Oi as N,ki as O,Ai as P,Fs as Q,Un as R,es as S,Ci as T,Rr as U,yr as V,Vr as W,Ei as X,Pi as Y,Mi as Z,D as _,Bi as a,as as a0,Ii as a1,_i as a2,Pr as a3,jn as a4,to as a5,Ui as a6,Bs as a7,ji as a8,$i as a9,Vi as b,Ki as c,vi as d,X as e,U as f,gi as g,Se as h,Dr as i,K as j,sn as k,Qn as l,eo as m,Ri as n,gt as o,Xn as p,yi as q,xs as r,el as s,Li as t,Ni as u,wi as v,Fi as w,Je as x,He as y,x as z}; diff --git a/js/hooks-Bi_Q9OFa.js.gz b/js/hooks-Bi_Q9OFa.js.gz deleted file mode 100644 index 0d1d83b7..00000000 Binary files a/js/hooks-Bi_Q9OFa.js.gz and /dev/null differ diff --git a/js/hooks-DAFrMGjY.js b/js/hooks-DAFrMGjY.js new file mode 100644 index 00000000..3ab94cef --- /dev/null +++ b/js/hooks-DAFrMGjY.js @@ -0,0 +1,12 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/en-US-zhDgnSGz.js","js/dayjs@1.11.13-BWvakrn1.js","js/call-bind-apply-helpers@1.0.1-BosuxZz1.js","js/print-js@1.6.0-BptnCCm-.js","js/vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js","js/@vue_reactivity@3.5.13-CVvlldVq.js","js/@vue_shared@3.5.13-CQ6Z-5d1.js","js/@vue_runtime-core@3.5.13-pPpmd6wL.js","js/lodash@4.17.21-Bv2ueefR.js","js/js-cookie@3.0.5-Z_8Sd105.js","js/screenfull@5.2.0-CClqR5rE.js","js/jsbarcode@3.11.6-CfPZaUx-.js","js/@logicflow_core@2.0.10-ofLqxMRW.js","js/mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js","js/preact@10.25.4--QYavupV.js","js/mobx@5.15.7-BvNiR7Ki.js","js/lodash-es@4.17.21-BbYRMHep.js","js/uuid@9.0.1-CtRu48qb.js","js/classnames@2.5.1-iH4Bdr9I.js","js/mousetrap@1.6.5-C2A6yrpM.js","js/mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js","css/@logicflow_core@2.0-Z6H4Q2Ml.css","js/currency.js@2.0.4-9OAR_aOO.js","js/crypto-js@4.2.0-CXjOS6lk.js","js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js","js/date-fns@3.6.0-CG906D2E.js","js/seemly@0.3.9-BnJ6M8Cl.js","js/vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js","js/evtd@0.2.4-CI_DDEu_.js","js/@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js","js/vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js","js/vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js","js/@juggle_resize-observer@3.4.0-DY95s5UV.js","js/css-render@0.15.14-BwokE0u2.js","js/@emotion_hash@0.8.0-WldOFDRm.js","js/@vue_runtime-dom@3.5.13-DJqlZTHq.js","js/treemate@0.3.11-CWtmm0QO.js","js/date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js","js/async-validator@4.2.5-P8scd9xB.js","js/@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js","js/@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js","js/@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js","js/utils-Bic_iDtY.js","js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js","js/destr@2.0.3-Cx7WjB9q.js","js/deep-pick-omit@1.2.1-B1UrSIxj.js","js/pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js","js/html-to-image@1.11.11-D6_yziCT.js","js/vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js","js/interactjs@1.10.27-0Tgk5CYh.js","js/vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js","js/@intlify_shared@9.13.1-BxU0OzX2.js","js/@intlify_core-base@9.13.1-CVxc1Bsn.js","js/@intlify_message-compiler@9.13.1-GrLDMuy_.js","js/echarts@5.6.0-Dq866SEH.js","js/zrender@5.6.1-B_T0sHVE.js","js/tslib@2.3.0-BDyQ-Jie.js","js/zh-CN-DtTnE_ME.js","js/index-B5AFEgYt.js","js/index-KVQuX6r5.js","css/index-BPwDcGFh.css","js/index-BGFkC73C.js","js/instance-Lnu85bZk.js","js/axios@1.7.9-upsvKRUO.js","css/index-C60eEB5E.css","js/barcode-demo-CTI0gVDr.js","js/index-BsBhO5KD.js","js/index-CIvQqKT5.js","js/index-Sl0awl2C.js","js/draggable-card-CU-L4b0j.js","js/index-sxkktQzF.js","css/index-D9y7XLpS.css","js/flow-demo-CUmrCN2Q.js","js/index-l7fSfQDK.js","js/index-B2wNkbzZ.js","js/index-sYTV1lQv.js","js/index-Dxwaq9TV.js","js/index-C0d6i1OB.js","js/index-CGF4AOp0.js","js/index-BwZLGLQy.js","js/index-PdfG5d8M.js","js/index-Caq9UL_D.js","js/vue3-next-qrcode@2.0.10_typescript@5.6.3-wzrC7cBz.js","css/vue3-next-qrcode@2.0.10_typescript@5.6-BnS3AyZU.css","js/ray-dCjhX_JK.js","js/index-DmgxQ1v0.js","css/index-C7SBslZD.css","js/index-CDWeRbxT.js","js/index-BZPqABS2.js","js/index-u40HFa_6.js","css/index-CCBgYJcK.css","js/index-zcrZ2M2i.js","js/index-CT9fhFWm.js","css/index-Bit-kagu.css","js/table-pro-demo-D9QXUfgj.js","js/mockjs@1.1.0-D7bfvBF5.js","js/index-CEq6_GG6.js","js/index-Tan3v5mf.js","js/index-mSHWlsCH.js","css/index-DId3lj_V.css","js/index-BCyJGjGS.js","css/index-CEBSONXB.css"])))=>i.map(i=>d[i]); +var uo=Object.defineProperty;var co=(e,n,t)=>n in e?uo(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var $t=(e,n,t)=>co(e,typeof n!="symbol"?n+"":n,t);import{s as yt,c as Ee,m as st,q as Et,w as mn,p as Ne,z as We,A as po}from"./lodash-es@4.17.21-BbYRMHep.js";import{z as Kt,d as Wt,f as mo,g as fo,c as go,N as De,a as ho,b as yo,e as I,h as pt,m as bo,i as fn,u as vo,S as Dt,j as _o,k as ze,l as So,n as gn,o as wo,p as Ue,q as Co,r as fe,t as To,s as Oo,v as hn,w as ko,x as yn,y as it,A as qt,B as bn,C as Ao,D as Po,E as Ro,F as le,G as xo,H as Gt,I as L,J as te,K as X,L as Mo,M as zt,O as vn,P as Z,Q as Eo,R as Do,T as Qe,U as zo,V as Lo,W as Io,X as Fo,Y as Bo,Z as _n,_ as Ht,$ as Vo}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{o as jo,u as $e,a as No,b as Uo,c as Sn,d as $o,e as bt,f as Ko}from"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import{s as oe,k as j,n as ve,e as re,o as Wo,x as we,a as wn,y as ee}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{n as ne,j as de,m as x,b as r,p as N,q as he,t as ie,f as T,l as Ce,T as qo,i as Te,w as qe,v as Go,x as Lt,h as mt,y as Cn,F as Tn,z as Ho,A as Yo,C as vt,D as Xo,E as Ae,G as Ve,S as Jo,K as Zo,H as Yt,I as Qo,J as q}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import{d as H}from"./dayjs@1.11.13-BWvakrn1.js";import{p as ea}from"./print-js@1.6.0-BptnCCm-.js";import{u as On}from"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import{b as ta}from"./jsbarcode@3.11.6-CfPZaUx-.js";import{L as Xt}from"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{u as It,g as Le,i as ge,s as Re,a as Pt,c as na,b as ut,d as U,e as se,q as Ke,l as kn,f as An,h as oa,r as _e,j as B,k as aa,m as ct,n as Pn,p as Rn,o as Ft,t as la,v as Jt,w as ce,x as xn,y as ra,z as sa,A as ia,B as ua,C as ca}from"./utils-Bic_iDtY.js";import{s as da}from"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import{d as ft,c as pa}from"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import{t as ma,a as fa,b as ga,c as ha,d as ya,e as ba}from"./html-to-image@1.11.11-D6_yziCT.js";import{u as Ge,a as va,o as _a,c as Sa,b as wa}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import{T as Mn,a as Ca}from"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import{i as Zt}from"./interactjs@1.10.27-0Tgk5CYh.js";import{c as Ta}from"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import{r as Oa,u as je,i as ka,a as Aa,b as Pa,c as Ra,d as xa,e as Ma,f as Ea,g as Da,h as za,j as La,k as Ia,l as Fa,m as Ba,n as Va,o as ja,p as Na,q as Ua,s as $a}from"./echarts@5.6.0-Dq866SEH.js";import{h as Ka}from"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";const fi=(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 a=e[o].default;let l=o.replace(`./${n}/`,"").replace(/^\.\//,"");const s=l.lastIndexOf(".");l=l.substring(0,s);const i=l.split("/"),u=i.shift(),c=i.join(".");u&&(c?(yt(t,u,t[u]||{}),yt(t[u],c,a)):yt(t,u,a||{}))}),t},Wa="modulepreload",qa=function(e){return"/ray-template/"+e},Qt={},z=function(n,t,o){let a=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=Promise.allSettled(t.map(u=>{if(u=qa(u),u in Qt)return;Qt[u]=!0;const c=u.endsWith(".css"),m=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${m}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Wa,c||(p.as="script"),p.crossOrigin="",p.href=u,i&&p.setAttribute("nonce",i),document.head.appendChild(p),c)return new Promise((w,g)=>{p.addEventListener("load",w),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function l(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return a.then(s=>{for(const i of s||[])i.status==="rejected"&&l(i.reason);return n().catch(l)})},Ga=(e,n,t)=>{const o=e[n];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((a,l)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(l.bind(null,new Error("Unknown variable dynamic import: "+n+(n.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},Ha=async e=>{var t;const n={};for(const o of e){const a=await Ga(Object.assign({"../lang/en-US.ts":()=>z(()=>import("./en-US-zhDgnSGz.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),"../lang/zh-CN.ts":()=>z(()=>import("./zh-CN-DtTnE_ME.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]))}),`../lang/${o.key}.ts`,3),l=o.key;l&&(n[l]=((t=a==null?void 0:a.default)==null?void 0:t.message)??{})}return n},gi=e=>{switch(e){case"zh-CN":return{locale:Kt,dateLocal:Wt};case"en-US":return{locale:null,dateLocal:null};default:return{locale:Kt,dateLocal:Wt}}},Ya={darkClassName:"ray-template--dark",lightClassName:"ray-template--light",rayTemplateThemePrimaryColor:"--ray-theme-primary-color",rayTemplateThemePrimaryFadeColor:"--ray-theme-primary-fade-color",preLoadingAnimation:"pre-loading-animation",htmlHeight:"--html-height",htmlWidth:"--html-width"},hi={max:5,closable:!1},yi="loading",bi="",K={signing:"signing",localeLanguage:"localeLanguage",token:"token",appMenuKey:"menuKey",appPiniaSettingStore:"piniaSettingStore",appPiniaKeepAliveStore:"piniaKeepAliveStore",appPiniaMenuStore:"piniaMenuStore",appPiniaSigningStore:"piniaSigningStore",appVersionProvider:"appVersionProvider",isAppLockScreen:"isAppLockScreen",appGlobalSearchOptions:"appGlobalSearchOptions",appMenuTagOptions:"appMenuTagOptions",appLockScreenPasswordKey:"appLockScreenPasswordKey"},Xa=[{label:"无",value:"none"},{label:"缩放出现",value:"scale"},{label:"缩放消退",value:"fade-scale"},{label:"滑入出现",value:"fade-slide"},{label:"淡入消退",value:"opacity"},{label:"底部消退",value:"fade-bottom"}],Se={appThemeColors:["#2d8cf0","#3f9eff","#ff42bc","#ee4f12","#dbcb02","#18a058"],appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"},appNaiveUIThemeOverrides:{dark:{common:{borderRadius:"4px",baseColor:"rgb(18, 18, 18)"}},light:{common:{borderRadius:"4px",baseColor:"rgb(255, 255, 255)"}}},echartTheme:"macarons"},En=[{key:"zh-CN",label:"中文(简体)"},{key:"en-US",label:"English(US)"}],Ja="zh-CN",Za="zh-CN",Qa={"zh-CN":"zh-cn","en-US":"en"},el="zh-cn",vi={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$/},_i={baseURL:"",withCredentials:!1,timeout:5*1e3,headers:{"Content-Type":"application/json"}},xe=oe(null),Dn=oe(null),tl={setupRouterLoadingBar:!0,setupRouterGuard:!0},nl=["RLogin","ErrorPage","RayTemplateDoc"],et=[],Si=(e,n)=>{const t=j(0),o=j(0),a=j(!1),{clickOutside:l}={},s=p=>{a.value=p},i=p=>{p.preventDefault(),s(!1),ne().then(()=>{const{clientX:w,clientY:g}=p;t.value=w,o.value=g,s(!0)})};l&&jo(e,p=>{l(p)});const u=$e(e,"contextmenu",i,n),c=$e(e,"click",()=>{s(!1)});return{stop:()=>{u(),c()},x:ve(t),y:ve(o),show:ve(a),updateShow:s}},Bt=re({globalSpinning:!1,globalDrawerValue:!1,globalMainLayoutLoad:!0,layoutContentMaximize:!1,layoutContentSpinning:!1});function me(e,n,t){It(Bt,e,n,t)}function gt(e){return ve(Wo(Bt,e))}function ol(){return{...we(ve(Bt))}}let pe;const al=async()=>{const e=oo(),n=await Ha(En);return Ta({legacy:!1,locale:e,messages:n,sync:!0,missingWarn:!1,silentFallbackWarn:!0,fallbackLocale:Za})},wi=async e=>{const n=await al();e.use(n),pe=n},en=(e,n)=>n,He=e=>{if(!pe)return{t:l=>en(e,l),locale:l=>{}};const{t:n,...t}=pe.global;return{...t,t:(l,...s)=>l?l.includes(".")?n(en(e,l),...s):l:"",locale:l=>{pe.mode==="legacy"?pe.global.locale=l:wn(pe.global.locale)?pe.global.locale.value=l:pe.global.locale=l}}},V=e=>e,ll={path:"/dashboard",component:()=>z(()=>import("./index-B5AFEgYt.js"),__vite__mapDeps([58,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,59,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,60])),meta:{i18nKey:V("menu.Dashboard"),icon:"dashboard",order:0}},rl=Object.freeze(Object.defineProperty({__proto__:null,default:ll},Symbol.toStringTag,{value:"Module"})),sl={path:"/axios",name:"RAxios",component:()=>z(()=>import("./index-BGFkC73C.js"),__vite__mapDeps([61,4,5,6,7,8,2,9,10,62,63,1,3,11,12,13,14,15,16,17,18,19,20,21,42,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56,64])),meta:{i18nKey:V("menu.Axios"),icon:"axios",order:3,keepAlive:!0}},il=Object.freeze(Object.defineProperty({__proto__:null,default:sl},Symbol.toStringTag,{value:"Module"})),ul={path:"barcode",component:()=>z(()=>import("./barcode-demo-CTI0gVDr.js"),__vite__mapDeps([65,22,23,2,1,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,11,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.Barcode"),icon:"other",order:2,extra:{label:"new"}}},cl=Object.freeze(Object.defineProperty({__proto__:null,default:ul},Symbol.toStringTag,{value:"Module"})),dl={path:"/cache-demo",component:()=>z(()=>import("./index-BsBhO5KD.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,42,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.CacheDemo"),icon:"other",order:3}},pl=Object.freeze(Object.defineProperty({__proto__:null,default:dl},Symbol.toStringTag,{value:"Module"})),ml={path:"/context-menu",component:()=>z(()=>import("./index-CIvQqKT5.js"),__vite__mapDeps([67,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.ContextMenu"),icon:"other",order:2}},fl=Object.freeze(Object.defineProperty({__proto__:null,default:ml},Symbol.toStringTag,{value:"Module"})),gl={path:"/directive",component:()=>z(()=>import("./index-Sl0awl2C.js"),__vite__mapDeps([68,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{i18nKey:V("menu.Directive"),icon:"other",order:2,extra:{label:"ellipsis"}}},hl=Object.freeze(Object.defineProperty({__proto__:null,default:gl},Symbol.toStringTag,{value:"Module"})),yl={path:"/draggable-card",component:()=>z(()=>import("./draggable-card-CU-L4b0j.js"),__vite__mapDeps([69,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.DraggableCard"),icon:"other",order:2,extra:{label:"drag"}}},bl=Object.freeze(Object.defineProperty({__proto__:null,default:yl},Symbol.toStringTag,{value:"Module"})),vl={path:"/echart",component:()=>z(()=>import("./index-sxkktQzF.js"),__vite__mapDeps([70,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,71])),meta:{i18nKey:V("menu.Echart"),icon:"echart",order:1,extra:{label:"useChart"}}},_l=Object.freeze(Object.defineProperty({__proto__:null,default:vl},Symbol.toStringTag,{value:"Module"})),Sl={path:"/flow",component:()=>z(()=>import("./flow-demo-CUmrCN2Q.js"),__vite__mapDeps([72,22,23,2,1,3,4,5,6,7,8,9,10,11,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39,40,41,12,13,14,15,17,18,19,20,21,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.Flow"),icon:"other",order:2}},wl=Object.freeze(Object.defineProperty({__proto__:null,default:Sl},Symbol.toStringTag,{value:"Module"})),Cl={path:"/form",component:()=>z(()=>import("./index-l7fSfQDK.js"),__vite__mapDeps([73,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.Form"),icon:"other",order:2,extra:{label:"useForm"}}},Tl=Object.freeze(Object.defineProperty({__proto__:null,default:Cl},Symbol.toStringTag,{value:"Module"})),Ol={path:"/iframe",component:()=>z(()=>import("./index-B2wNkbzZ.js"),__vite__mapDeps([74,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{icon:"other",order:2,noLocalTitle:"iframe"}},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Ol},Symbol.toStringTag,{value:"Module"})),Al={path:"/mock-demo",component:()=>z(()=>import("./index-sYTV1lQv.js"),__vite__mapDeps([75,22,23,2,1,3,11,12,13,14,15,16,17,18,19,20,21,4,5,6,7,8,9,10,62,63,42,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.Mock"),icon:"other",order:3,keepAlive:!1,extra:{label:"usePagination"}}},Pl=Object.freeze(Object.defineProperty({__proto__:null,default:Al},Symbol.toStringTag,{value:"Module"})),Rl={path:"/modal-demo",component:()=>z(()=>import("./index-Dxwaq9TV.js"),__vite__mapDeps([76,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.Modal"),icon:"other",order:3}},xl=Object.freeze(Object.defineProperty({__proto__:null,default:Rl},Symbol.toStringTag,{value:"Module"})),rt=()=>z(()=>Promise.resolve().then(()=>rs),void 0),Ml={path:"/multi",component:rt,meta:{i18nKey:V("menu.MultiMenu"),icon:"other",order:4,extra:{label:"cache"}},children:[{path:"multi-menu-one",name:"MultiMenuOne",component:()=>z(()=>import("./index-C0d6i1OB.js"),__vite__mapDeps([77,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{noLocalTitle:"多级菜单-1",keepAlive:!0}},{path:"multi-menu-two",name:"MultiMenuTwo",component:rt,meta:{noLocalTitle:"多级菜单-2"},children:[{path:"sub-menu-other",name:"SubMenuOther",component:()=>z(()=>import("./index-CGF4AOp0.js"),__vite__mapDeps([78,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{noLocalTitle:"多级菜单-2-1",keepAlive:!0}},{path:"sub-menu",name:"SubMenu",component:rt,meta:{noLocalTitle:"多级菜单-2-2",keepAlive:!0},children:[{path:"sub-menu-one",name:"MultiMenuTwoOne",component:()=>z(()=>import("./index-BwZLGLQy.js"),__vite__mapDeps([79,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{noLocalTitle:"多级菜单-2-2-1",keepAlive:!0}}]}]}]},El=Object.freeze(Object.defineProperty({__proto__:null,default:Ml},Symbol.toStringTag,{value:"Module"})),Dl={path:"/precision",component:()=>z(()=>import("./index-PdfG5d8M.js"),__vite__mapDeps([80,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,42,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.CalculatePrecision"),icon:"other",order:2}},zl=Object.freeze(Object.defineProperty({__proto__:null,default:Dl},Symbol.toStringTag,{value:"Module"})),Ll={path:"/qrcode",component:()=>z(()=>import("./index-Caq9UL_D.js"),__vite__mapDeps([81,82,7,5,6,83,84,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{i18nKey:V("menu.QRCode"),icon:"other",order:2}},Il=Object.freeze(Object.defineProperty({__proto__:null,default:Ll},Symbol.toStringTag,{value:"Module"})),Fl={path:"rely-about",component:()=>z(()=>import("./index-DmgxQ1v0.js"),__vite__mapDeps([85,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39,86])),meta:{i18nKey:V("menu.RelyAbout"),icon:"rely",order:999}},Bl=Object.freeze(Object.defineProperty({__proto__:null,default:Fl},Symbol.toStringTag,{value:"Module"})),Vl={path:"/router-demo",component:rt,meta:{i18nKey:V("menu.RouterDemo"),icon:"other",order:3},children:[{path:"router-demo-home",component:()=>z(()=>import("./index-CDWeRbxT.js"),__vite__mapDeps([87,22,23,2,1,3,48,5,6,7,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,4,8,9,10,42,43,44,45,46,47,49,50,51,52,53,54,55,56])),meta:{noLocalTitle:"人员信息(平级模式)"}},{path:"router-demo-detail",component:()=>z(()=>import("./index-BZPqABS2.js"),__vite__mapDeps([88,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39])),meta:{noLocalTitle:"信息详情",sameLevel:!0}}]},jl=Object.freeze(Object.defineProperty({__proto__:null,default:Vl},Symbol.toStringTag,{value:"Module"})),Nl={path:"/scroll-reveal",component:()=>z(()=>import("./index-u40HFa_6.js"),__vite__mapDeps([89,7,5,6,24,25,26,27,28,29,30,31,32,33,34,35,16,36,37,38,39,90])),meta:{i18nKey:V("menu.scrollReveal"),icon:"scroll_reveal",hidden:!0}},Ul=Object.freeze(Object.defineProperty({__proto__:null,default:Nl},Symbol.toStringTag,{value:"Module"})),$l={path:"/segment",component:()=>z(()=>import("./index-zcrZ2M2i.js"),__vite__mapDeps([91,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.Segment"),icon:"other",order:3,extra:{label:"segment"}}},Kl=Object.freeze(Object.defineProperty({__proto__:null,default:$l},Symbol.toStringTag,{value:"Module"})),Wl={path:"/svg-icons",component:()=>z(()=>import("./index-CT9fhFWm.js"),__vite__mapDeps([92,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,93])),meta:{i18nKey:V("menu.SvgIcon"),icon:"other",order:3}},ql=Object.freeze(Object.defineProperty({__proto__:null,default:Wl},Symbol.toStringTag,{value:"Module"})),Gl={path:"/table-pro",component:()=>z(()=>import("./table-pro-demo-D9QXUfgj.js"),__vite__mapDeps([94,42,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,62,63,95,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.TablePro"),icon:"other",order:2,extra:{label:"TablePro"}}},Hl=Object.freeze(Object.defineProperty({__proto__:null,default:Gl},Symbol.toStringTag,{value:"Module"})),Yl={path:"/table",component:()=>z(()=>import("./index-CEq6_GG6.js"),__vite__mapDeps([96,42,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.Table"),icon:"other",order:2,extra:{label:"useTable"}}},Xl=Object.freeze(Object.defineProperty({__proto__:null,default:Yl},Symbol.toStringTag,{value:"Module"})),Jl={path:"/template-hooks",component:()=>z(()=>import("./index-Tan3v5mf.js"),__vite__mapDeps([97,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56])),meta:{i18nKey:V("menu.TemplateHooks"),icon:"other",order:1}},Zl=Object.freeze(Object.defineProperty({__proto__:null,default:Jl},Symbol.toStringTag,{value:"Module"})),Ql=()=>{const e=Object.assign({"/src/router/modules/dashboard.ts":rl,"/src/router/modules/demo/axios.ts":il,"/src/router/modules/demo/barcode.ts":cl,"/src/router/modules/demo/cache-demo.ts":pl,"/src/router/modules/demo/context-menu.ts":fl,"/src/router/modules/demo/directive.ts":hl,"/src/router/modules/demo/draggable-card.ts":bl,"/src/router/modules/demo/echart.ts":_l,"/src/router/modules/demo/flow.ts":wl,"/src/router/modules/demo/form.ts":Tl,"/src/router/modules/demo/iframe.ts":kl,"/src/router/modules/demo/mock.ts":Pl,"/src/router/modules/demo/modal.ts":xl,"/src/router/modules/demo/multi-menu.ts":El,"/src/router/modules/demo/precision.ts":zl,"/src/router/modules/demo/qrcode.ts":Il,"/src/router/modules/demo/rely.ts":Bl,"/src/router/modules/demo/router-demo.ts":jl,"/src/router/modules/demo/scroll-reveal.ts":Ul,"/src/router/modules/demo/segment.ts":Kl,"/src/router/modules/demo/svg-icons.ts":ql,"/src/router/modules/demo/table-pro.ts":Hl,"/src/router/modules/demo/table.ts":Xl,"/src/router/modules/demo/template-hooks.ts":Zl});return Object.keys(e).reduce((t,o)=>{const a=e[o].default;if(a)t.push(a);else throw new Error(`[combineRawRouteModules]: ${o} module must export default.`);return t},[])},er=e=>e[0]==="/",zn=(e,n=[],t="")=>{var o;if(!Array.isArray(e))return[];for(const a of e){const l=t+(er(a.path)?a.path:"/"+a.path);if((o=a.children)!=null&&o.length){zn(a.children,n,l);continue}else n.push({...a,path:l})}return n},tr=e=>Array.isArray(e)?zn(Ee(e)):[],nr=e=>e.sort((n,t)=>{var l,s;const o=((l=n.meta)==null?void 0:l.order)??1,a=((s=t.meta)==null?void 0:s.order)??0;return o===a?n.name?t.name?n.name.localeCompare(t.name):-1:1:o-a}),or=e=>{const{beforeEach:n}=e,{getRootPath:t}=Je(),o=(a,l)=>a.path==="/"||l.path==="/login";n((a,l,s)=>{const i=Le(K.token,"localStorage"),u=Le(K.appMenuKey,"sessionStorage",{defaultValue:t.value}),{meta:c,name:m}=a;i!==null?o(a,l)?_t(!0):!ge(m,"Symbol")&&m&&nl.includes(m)?s():Jn(c)?o(a,l)?u?s(u):_t(!0):s():_t(!0):o(a,l)?s():s("/")})},_t=(e=!0)=>{const{router:n}=jt(),{push:t,replace:o}=n,{getRootPath:a}=Je();Re(K.appMenuKey,a.value,"localStorage"),e?o(a.value):t(a.value)},ar=e=>{var t;const{meta:n}=e;n!=null&&n.ignoreAutoResetScroll||(t=xe.value)==null||t.scrollTo({top:0,left:0,behavior:"smooth"})},lr=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()})},Ln=e=>{const{meta:n={}}=e,{hidden:t,sameLevel:o,env:a}=n,{MODE:l}=Pt();return!(o||t||a&&typeof a=="string"&&a!==l||a&&Array.isArray(a)&&!a.includes(l))},rr={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},In=()=>rr,Ie=ft("setting",()=>{const{appPrimaryColor:{primaryColor:e,primaryFadeColor:n}}=Se,{locale:t}=He(),{locale:o}=Ls(),a=re({primaryColorOverride:{common:{primaryColor:e,primaryColorHover:n,primaryColorPressed:e,primaryColorSuppl:n}},_appTheme:!1,appTheme:"light",localeLanguage:oo(),lockScreenSwitch:!1,appRootRoute:{name:"Dashboard",path:"/dashboard"},sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"},...Ee(In())}),l=c=>{t(c),o(c),Re(K.localeLanguage,c,"localStorage"),a.localeLanguage=c},s=(c,m=.85)=>{const p=na(c,m),w={primaryColor:c,primaryColorHover:p,primaryColorPressed:c,primaryColorSuppl:p},{rayTemplateThemePrimaryColor:g,rayTemplateThemePrimaryFadeColor:b}=Ya,f=document.documentElement;a.primaryColorOverride.common=w,f.style.setProperty(g,c),f.style.setProperty(b,p)},i=(c,m,p)=>{It(a,c,m,p)},u=c=>{const m=document.documentElement;i("colorWeakness",c),ut(m,{filter:c?"invert(100%)":""})};return de(()=>{var c;a._appTheme?a.primaryColorOverride=st({},a.primaryColorOverride,Se.appNaiveUIThemeOverrides.dark):a.primaryColorOverride=st({},a.primaryColorOverride,Se.appNaiveUIThemeOverrides.light),u(a.colorWeakness),a.dynamicDocumentTitle||(document.title=((c=a.sideBarLogo)==null?void 0:c.title)||"Ray Template")}),{...we(a),updateLocale:l,changePrimaryColor:s,updateSettingState:i,toggleColorWeakness:u}},{persist:{key:K.appPiniaSettingStore,omit:["lockScreenSwitch"],storage:window.localStorage}}),Fn={...mo,onRegister:{type:[Function,Array],default:null}},Bn={actionSpan:{type:Number,default:1},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},...fo};function sr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const Ci=x({name:"RCollapse",props:Object.assign({},Fn,{...Bn,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,...a}=n;return r(Un,N(a,{labelPlacement:"top",showFeedback:!1}),{default:()=>[r(pr,a,sr(e)?e:{default:()=>[e]})]})}}),ir={...go,restrictionElement:{type:[String,HTMLElement,Function,Object],default:"body"},dad:{type:Boolean,default:!0},restrictRectOptions:{type:Object,default:void 0},defaultPosition:{type:[Object,String],default:()=>({x:0,y:0})},width:{type:[String,Number],default:600},zIndex:{type:Number,default:void 0},animation:{type:Boolean,default:!1},padding:{type:Object,default:void 0}},Ti=x({name:"RDraggableCard",props:ir,setup(e,{expose:n}){const t=ie("cardRef");let o=null;const a={x:0,y:0},l="r-draggable-card-container",s=T(()=>({"--r-draggable-card-width":U(e.width),"--r-draggable-card-z-index":e.zIndex}));let i=!1;const u={defaultPosition:e.defaultPosition,dad:e.dad};(()=>{if(!document.getElementById(l)){const f=document.createElement("div");f.id=l,document.documentElement.appendChild(f)}})();const m=()=>{const f=se(t),h=typeof e.restrictionElement=="string"?Ke(e.restrictionElement):e.restrictionElement;let _=null;return Array.isArray(h)?_=h[0]:_=se(h),{card:f,restrictionElement:_}},p=(f,h)=>{const{defaultPosition:_,padding:d}=e,{x:y=0,y:S=0}=d??{},{x:C,y:v,width:A,height:k}=f,{width:E,height:O}=h;if(typeof _=="string")switch(_){case"top-center":{const P=(A-E)/2+C,F=S+v;return{x:y+P,y:F}}case"bottom-center":{const P=(A-E)/2+C,F=k-O-S+v;return{x:y+P,y:F}}case"center":{const P=(A-E)/2+C,F=(k-O)/2+v,$=y+P,Y=S+F;return{x:$,y:Y}}case"top-left":return{x:y+C,y:S+v};case"top-right":return{x:A-E-y+C,y:S+v};case"bottom-left":return{x:y+C,y:k-O-S+v};case"bottom-right":return{x:A-E-y+C,y:k-O-S+v};default:return{x:y+C,y:S+v}}else{const{x:P,y:F}=_;return{x:P+C+y,y:F+v+S}}},w=()=>{const{card:f,restrictionElement:h}=m();if(!f)return;const _=h==null?void 0:h.getBoundingClientRect(),d=f.querySelector(".n-card-header"),y=Object.assign({},{restriction:h,endOnly:!0},e.restrictRectOptions);if(_&&!i){const S=p(_,f.getBoundingClientRect());f.style.transform=`translate(${S.x}px, ${S.y}px)`,a.x=S.x,a.y=S.y}e.dad&&(o=Zt(f).draggable({inertia:!0,autoScroll:!0,allowFrom:d?".n-card-header":".n-card__content",modifiers:[Zt.modifiers.restrictRect(y)],listeners:{move:S=>{f.setAttribute("can-drag","true"),a.x+=S.dx,a.y+=S.dy,f.style.transform=`translate(${a.x}px, ${a.y}px)`}}}).resizable(!1),i=!0)},g=()=>{o==null||o.unset(),o=null},b=f=>{i=!1,f(),w()};return n(),de(()=>{e.dad?w():g(),e.defaultPosition!==u.defaultPosition&&b(()=>{u.defaultPosition=e.defaultPosition})}),Ce(()=>{ne(()=>{w()})}),{cardRef:t,CONTAINER_ID:l,cssVars:s}},render(){const{$attrs:e,$slots:n,$props:t,CONTAINER_ID:o,cssVars:a,animation:l}=this;return r(qo,{to:`#${o}`},{default:()=>[l?r(Mn,{name:"draggable-card",appear:!0,mode:"out-in"},{default:()=>[r(De,N(e,t,{class:"r-draggable-card",style:[a],ref:"cardRef"}),{...n})]}):r(De,N(e,t,{class:"r-draggable-card",style:[a],ref:"cardRef"}),{...n})]})}}),ur={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:()=>kn()},autoResizeObserverTarget:{type:Object,default:null},watchOptionsThrottleWait:{type:Number,default:500},nextTick:{type:Boolean,default:!0},setChartOptions:{type:Object,default:()=>An()},onRegister:{type:[Function,Array],default:null}},cr=Symbol("USE_CHART_PROVIDER_KEY"),dr=oa(),tn="__R_CHART_DOWN_LOAD_CHART__";dr.forEach(e=>{Oa(e.name,e.theme)});const Oi=x({name:"RChart",props:ur,setup(e,{expose:n}){const{getAppTheme:t}=J(),o=ie("rayChartRef"),a=ie("rayChartWrapperRef"),l=oe();let s,i;const{echartTheme:u}=Se;let c;const m=T(()=>[{label:"下载图片",key:tn,disabled:!(l.value&&l.value.getDom())}]),p=T(()=>({"--ray-chart-width":U(e.width),"--ray-chart-height":U(e.height)})),w=j(!1);let g;const b={aria:e.showAria},f=Te(cr,{}),h=async()=>{var O;je([Aa,Pa,Ra,xa,Ma,Ea,Da,za]),je([La,Ia,Fa,Ba,Va,ja]),je([Na,Ua]),je([$a]);try{je((O=e.use)==null?void 0:O.filter(Boolean))}catch(P){console.error("[RChart register error]: ",P)}},_=()=>{const{theme:O}=f||{};if(l.value&&C(),O){y(O);return}if(e.theme==="default"){e.autoChangeTheme?y("dark"):y("");return}if(e.theme)y(e.theme);else{const P=e.autoChangeTheme&&t.value?`${u}-dark`:u;y(P)}},d=O=>{let P=ee(O);return P=($=>Object.assign({},P,$))({aria:{enabled:e.showAria,decal:{show:e.showAria}}}),P},y=(O=u)=>{var ke;const P=o.value,F=d(e.options),{height:$,width:Y}=P.getBoundingClientRect(),{onSuccess:G,onError:ye}=e;try{l.value=ka(P,O,{width:Y===0?200:void 0,height:$===0?200:void 0}),G&&B(G,l.value),e.nextTick?(l.value.setOption({}),ne(()=>{var ae;F&&((ae=l.value)==null||ae.setOption(F))})):F&&((ke=l.value)==null||ke.setOption(F))}catch(ae){throw ye&&B(ye),new Error(`[RChart render error]: ${ae}`)}finally{const{onFinally:ae}=e;ae&&B(ae)}},S=()=>{var O;return!!((O=l.value)!=null&&O.isDisposed())},C=()=>{var O;S()||(O=l.value)==null||O.dispose()},v=()=>{l.value&&l.value.resize()},A=(O,P)=>{if(O===tn&&!S()){const{filename:$,...Y}=e.downloadOptions;aa(l.value.getDataURL(Y),$??`${new Date().getTime()}`)}const{onDropdownSelect:F}=e;F&&B(F,O,P)},k=()=>{var P;if(e.autoResize&&(s||(s=Et(v,500)),i||(i=Uo(e.autoResizeObserverTarget||a,s))),(P=l.value)!=null&&P.getDom()||!w.value&&e.intersectionObserver)return;_(),g==null||g.stop();const{onRegister:O}=e;O&&l.value&&B(O,l.value,k,E)},E=()=>{C(),s==null||s.cancel(),i==null||i.stop(),g==null||g.stop(),g=null,s=null,i=null};return qe(()=>t.value,()=>{e.autoChangeTheme&&(C(),_())}),de(()=>{var O,P;e.intersectionObserver&&(g=No(e.intersectionObserverTarget||a,([F])=>{w.value=F.isIntersecting},e.intersectionOptions)),e.watchOptions?c=Ka(()=>e.options,F=>{var G;const $=d(F),Y=Object.assign({},An(),e.setChartOptions);(G=l.value)==null||G.setOption($,Y)},{deep:!0,throttle:e.watchOptionsThrottleWait}):c==null||c(),e.loading?(O=l.value)==null||O.showLoading(kn(e.loadingOptions)):(P=l.value)==null||P.hideLoading(),e.showAria!==b.aria&&l.value&&(l.value.setOption(d(e.options)),b.aria=e.showAria),w.value&&!S()&&k()}),n(),Go(async()=>{await h()}),Ce(()=>{k()}),Lt(()=>{E(),c==null||c()}),{rayChartRef:o,cssVarsRef:p,rayChartWrapperRef:a,moreDropDownOptions:m,dropdownSelect:A}},render(){const{title:e,contentStyle:n,preset:t,moreDropDownOptions:o,dropdownSelect:a,bordered:l,dropdownOptions:s}=this,{cardExtra:i}=this.$slots;return t==="card"?r(De,{class:"ray-chart",ref:"rayChartWrapperRef",style:[this.cssVarsRef],contentStyle:n,bordered:l,embedded:!0},{default:_e(r("div",{class:"ray-chart__container",ref:"rayChartRef"},null)),header:_e(e,{defaultElement:r("div",{style:"display: none;"},null)}),"header-extra":_e(i,{defaultElement:r(jn,{iconSize:18,cursor:"pointer",options:s||o,trigger:"click",onSelect:a.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)])}}),ki=()=>{let e,n,t;const o=(u,c,m)=>{u&&(e=u,n=m,t=c)},a=()=>{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:a,isDisposed:()=>{var u;return!!((u=a().echartInst)!=null&&u.isDisposed())},dispose:()=>a().dispose.call(null),render:()=>a().render.call(null)}]},pr=x({name:"RCollapseGrid",props:Bn,setup(e){const n=j(!e.open),t=T(()=>({"--r-collapse-grid-action-align":e.actionAlign})),o=()=>{const{onUpdateOpen:l,"onUpdate:open":s}=e;n.value=!n.value,l&&B(l,n.value),s&&B(s,n.value)},a=l=>r("div",{class:"collapse-icon",onClick:o.bind(this)},[r("span",null,[l?e.collapseToggleText[0]:e.collapseToggleText[1]]),r(M,{customClassName:`collapse-icon--arrow ${l?"":"collapse-icon--arrow__expanded"}`,name:"expanded",size:"14"},null)]);return de(()=>{n.value=!e.open}),{modelCollapsed:n,collapseClick:o,CollapseIcon:a,cssVars:t}},render(){const{$slots:{collapse:e,action:n,default:t},CollapseIcon:o,$props:a,modelCollapsed:l,xGap:s,yGap:i,collapsedRows:u,cssVars:c,actionSpan:m,bordered:p}=this;return r(De,{bordered:p,style:[c]},{default:()=>r(ho,N({class:"ray-collapse-grid"},a,{collapsed:l,xGap:s||12,yGap:i||12,collapsedRows:u}),{default:()=>[t==null?void 0:t(),r(yo,{suffix:!0,class:"ray-collapse-grid__suffix--btn",span:m},{default:()=>[r(I,{justify:"end",align:"center"},{default:()=>[n==null?void 0:n(),e?e(l):o(l)]})]})]})})}}),mr={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}},M=x({name:"RIcon",props:mr,setup(e){const n=T(()=>`#${e.prefix}-${e.name}`),t=T(()=>({"--ray-icon-width":e.width?U(e.width):U(e.size),"--ray-icon-height":e.height?U(e.height):U(e.size),"--ray-icon-depth":e.depth,"--ray-icon-cursor":e.cursor,"--ray-icon-color":e.color}));return{symbolId:n,cssVars:t,iconClick:a=>{const{onClick:l}=e;l&&B(l,a)}}},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",N({"xlink:href":this.symbolId},{fill:this.color}),null)])])}}),fr={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}},Ai=x({name:"RIframe",props:fr,setup(e,{expose:n}){const t=T(()=>({"--ray-iframe-frameborder":U(e.frameborder),"--ray-iframe-width":U(e.width),"--ray-iframe-height":U(e.height)})),o=ie("iframeRef"),a=j(!0),l=i=>{a.value=!1;const{onSuccess:u}=e;u&&B(u,o.value,i)},s=i=>{a.value=!1;const{onError:u}=e;u&&B(u,i)};return $e(o,"load",l),$e(o,"error",s),n({iframeInst:o}),{cssVars:t,iframeRef:o,spinShow:a}},render(){return r("div",{class:["ray-iframe",this.iframeWrapperClass],style:[this.cssVars]},[r(pt,N(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)})])}}),gr={...bo,fullscreen:{type:Boolean,default:!1},width:{type:[String,Number],default:600},cardWidth:{type:[String,Number],default:600},dialogWidth:{type:[String,Number],default:446}},hr="r-modal__preset-card--fullscreen",Vn="r-modal",Me={width:"--r-modal-width",cardWidth:"--r-modal-card-width",dialogWidth:"--r-modal-dialog-width"},Pi=x({name:"RModal",props:gr,setup(e){const n=T(()=>({[Me.width]:U(e.width??600),[Me.cardWidth]:U(e.cardWidth??600),[Me.dialogWidth]:U(e.dialogWidth??446)})),t=ct(),o=T(()=>e.preset==="card"&&e.fullscreen);return{cssVars:n,isFullscreenCardType:o,uuidEl:t}},render(){const{$props:e,$slots:n,$attrs:t}=this,{preset:o,...a}=e,{cssVars:l,uuidEl:s,isFullscreenCardType:i}=this;return r(fn,N({class:[Vn,i?hr:""],style:[l,i?"height: 100vh":""],preset:o},{id:s},a,t),{...n})}}),yr=()=>{const{create:e,destroyAll:n}=vo();return{create:o=>{const{content:a,...l}=o;let s=a;l.preset==="card"&&l.fullscreen&&(s=()=>mt(Dt,{themeOverrides:{color:"rgba(0, 0, 0, 0)",colorHover:"rgba(0, 0, 0, 0)"},trigger:"hover",style:{width:"auto",maxHeight:"calc(var(--html-height) - 29px - var(--n-padding-bottom) - var(--n-padding-bottom) - var(--n-padding-top))"}},{default:()=>typeof a=="function"?a():a}));const{preset:i,fullscreen:u,width:c,cardWidth:m,dialogWidth:p}=o,w=e({...l,content:s}),{key:g}=w,b={[Me.width]:U(c??600),[Me.cardWidth]:U(m??600),[Me.dialogWidth]:U(p??446)};return ne(()=>{const[f]=Ke(`[internalkey="${g}"]`)||[];f&&(u&&i==="card"&&ut(f,{width:"100%",height:"100vh"}),ut(f,b),Pn(f,Vn))}),w},destroyAll:n}},br={..._o,icon:{type:String,default:"more"},iconSize:{type:Number,default:14},cursor:{type:String,default:"default"}};function vr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const jn=x({name:"RMoreDropdown",props:br,render(){let e;const{iconSize:n,cursor:t,icon:o}=this,{default:a}=this.$slots;return r(ze,N(this.$props,this.$attrs,{placement:"bottom-start"}),vr(e=_e(a,{defaultElement:r(M,{name:o,size:n,cursor:t},null)}))?e:{default:()=>[e]})}}),Fe={...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}},ue={tableIconSize:"18",tableKey:Symbol("r-table")},_r=[{label:"斑马条纹",value:"striped"},{label:"表格边框",value:"bordered"}],Sr=x({name:"TableSizeSelect",props:{onChangeSize:{type:[Function,Array],default:null},...Fe},setup(e){return{size:j(e.size),sizeOptions:[{label:"默认",value:"medium"},{label:"紧凑",value:"small"},{label:"宽松",value:"large"}],updatePopselectValue:a=>{const{onChangeSize:l}=e;l&&B(l,a)}}},render(){return r(gn,{value:this.size,"onUpdate:value":e=>this.size=e,options:this.sizeOptions,trigger:"click",onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(M,{name:"adjustment",size:ue.tableIconSize,cursor:"pointer"},null)]})}}),wr=x({name:"TableFullscreen",setup(){const{wrapperRef:e}=Te(ue.tableKey,{}),[n,{toggleFullscreen:t,isEnabled:o}]=On(e);return{toggleFullscreen:t,isEnabled:o}},render(){const{toggleFullscreen:e,isEnabled:n,$t:t}=this;return r(M,{name:"fullscreen",size:ue.tableIconSize,cursor:"pointer",onClick:()=>{n||window.$message.warning(t("globalMessage.isEnabledFullscreen")),e()}},null)}}),Cr=()=>r(M,{name:"draggable",size:14,cursor:"grab"},null),nn=({icon:e,title:n,onClick:t,customClassName:o})=>r(Ue,{showArrow:!1},{trigger:()=>r(M,{name:e,size:ue.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;tEe(e.columns).filter(u=>u.type?(n=u,!1):!0).map((u,c)=>{const{key:m,title:p,children:w,fixed:g,isResizable:b,...f}=u,h=g==="left",_=g==="right",d={...f,title:p,key:m,fixed:g,isLeftFixedActivated:h,isRightFixedActivated:_,isResizable:b};return{...d,suffix:()=>r(I,{style:"padding-left: 32px;"},{default:()=>[r(nn,{icon:"row_head",title:"固定在列首",customClassName:h?St:"",onClick:l.bind(this,"left",d,c)},null),r(Ue,{showArrow:!1},{trigger:()=>r(M,{name:"resize_h",size:ue.tableIconSize,cursor:"pointer",customClassName:b?St:"",onClick:a.bind(this,d,c)},null),default:()=>"修改列宽"}),r(nn,{icon:"row_end",title:"固定在列尾",customClassName:_?St:"",onClick:l.bind(this,"right",d,c)},null)]})}}),set:()=>{}}),o=i=>{const{onUpdateColumn:u}=e;u&&B(u,i)},a=(i,u)=>{i.isResizable=!i.isResizable,i.resizable=i.isResizable,t.value[u]=i,o(t.value)},l=(i,u,c)=>{const m=`${i}FixedActivated`,p=`${i==="left"?"right":"left"}FixedActivated`;u[p]=!1,u[m]=!u[m],u[m]?u.fixed=i:u.fixed=void 0,t.value[c]=u,o(t.value)};return{treeDataSource:t,treeDrop:({node:i,dragNode:u,dropPosition:c})=>{const[m,p]=Rt(u,t.value);if(m===null||p===null)return;m.splice(p,1);const[w,g]=Rt(i,t.value);w===null||g===null||(c==="before"?w.splice(g,0,u):w.splice(g+1,0,u),mn(n)||w.unshift(n),o(w))}}},render(){return r(Ue,{displayDirective:"show",trigger:"click",showArrow:!1},{trigger:()=>r(M,{name:"setting",size:ue.tableIconSize,cursor:"pointer",customClassName:"r-table__setting"},null),default:()=>r(wo,{class:"r-table__c-tree",data:this.treeDataSource,blockLine:!0,draggable:!0,keyboard:!1,labelField:"title",selectable:!1,renderSwitcherIcon:Cr.bind(this),onDrop:this.treeDrop.bind(this)},null)})}}),Or=x({name:"TablePrint",props:Fe,setup(e){const{wrapperRef:n}=Te(ue.tableKey,{});return{printTableClick:()=>{const{printTableOptions:{printOptions:o={},domToImageOptions:a}={},title:l}=e;(o.documentTitle===""||o.documentTitle===void 0||o.documentTitle===null)&&(o.documentTitle=typeof l=="string"?l:""),Rn(n,{printOptions:o,domToImageOptions:a})}}},render(){return r(M,{name:"print",size:ue.tableIconSize,cursor:"pointer",onClick:this.printTableClick.bind(this)},null)}}),kr=x({name:"TablePropsSelect",props:{...Fe,onPopselectChange:{type:[Function,Array],default:null},onInitialed:{type:[Function,Array],default:null}},setup(e){const n=j(!1),t=j([]),o=l=>{const{onPopselectChange:s}=e;s&&B(s,l)};return(()=>{const{striped:l,bordered:s,onInitialed:i}=e;l&&t.value.push("striped"),s&&t.value.push("bordered"),i&&B(i,t.value)})(),{propsPopselectValue:t,popoverShow:n,updatePopselectValue:o}},render(){return r(gn,{value:this.propsPopselectValue,"onUpdate:value":e=>this.propsPopselectValue=e,options:_r,trigger:"click",multiple:!0,onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[r(M,{name:"expanded",size:ue.tableIconSize,cursor:"pointer",style:"transform: rotate(270deg);"},null)]})}});function Ar(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const Pr=x({name:"RTable",inheritAttrs:!1,props:Fe,setup(e,n){const{expose:t,emit:o}=n,a=ie("rTableInst"),l=ie("wrapperRef"),s=ct(16),i=ct(16),u=re({x:0,y:0,showContextMenu:!1}),c=re({size:e.size}),m=j(Object.assign({striped:!1,bordered:!1},Ne(e,"striped","bordered"))),p=T(()=>{const{title:y,tool:S,cardProps:C}=e,{headerStyle:v={}}=C??{};return!y&&!S?Object.assign({},{paddingTop:"0px"},v):v}),w=(y,S)=>{const{onContextMenuClick:C}=e;C&&B(C,y,S),u.showContextMenu=!1},g=(y,S)=>{var v;return{...(v=e.rowProps)==null?void 0:v.call(e,y,S),onContextmenu:e.disabledContextMenu?void 0:A=>{A.preventDefault(),u.showContextMenu=!1,ne().then(()=>{u.showContextMenu=!0,u.x=A.clientX,u.y=A.clientY})}}},b=y=>{c.size=y},f=y=>{const{onUpdateColumns:S,"onUpdate:columns":C}=e;S&&B(S,y),C&&B(C,y)},h=()=>{const{toolOptions:y}=e;return y==null?void 0:y.filter(Boolean).map(S=>typeof S=="function"?S():S)},_=y=>{Object.keys(m.value).forEach(C=>{m.value[C]=y.includes(C)})},d=y=>{const{tool:S}=y;if(!S)return;const C=()=>r(I,{align:"center"},{default:()=>[r(Or,y,null),r(Sr,N(y,{onChangeSize:b.bind(this)}),null),r(wr,null,null),r(Tr,N(y,{onUpdateColumn:f.bind(this)}),null),r(kr,N(y,{onPopselectChange:_.bind(this),onInitialed:_.bind(this)}),null)]});return e.toolOptions?e.coverTool?()=>{let v;return r(I,{align:"center"},Ar(v=h())?v:{default:()=>[v]})}:()=>r(I,{align:"center"},{default:()=>[C(),h()]}):C};return Ce(()=>{const{onRegister:y}=e;y&&a.value&&B(y,a.value,{uuidTable:i,uuidWrapper:s,wrapperRef:l})}),Cn(ue.tableKey,{uuidTable:i,uuidWrapper:s,wrapperRef:l}),t(),{uuidWrapper:s,uuidTable:i,contextMenuReactive:u,rTableInst:a,combineRowProps:g,contextMenuSelect:w,privateReactive:c,tool:d,wrapperRef:l,propsPopselectValue:m,cardHeaderStyle:p}},render(){const{$props:e,$attrs:n,$slots:t,uuidTable:o,contextMenuReactive:a,uuidWrapper:l,privateReactive:s,propsPopselectValue:i,cardHeaderStyle:u}=this,{class:c,...m}=n,{tool:p,combineRowProps:w,contextMenuSelect:g}=this,{renderWrapperHeader:b,wrapperBordered:f,disabledContextMenu:h,contextMenuOptions:_,title:d,tableFlexHeight:y,cardProps:S,...C}=e,{headerStyle:v,...A}=S??{};return r(De,N(A,{id:l},m,{ref:"wrapperRef",bordered:f,class:c,style:u}),{default:()=>r(Tn,null,[r(Co,N({id:o},C,i,{rowProps:w.bind(this),size:s.size,ref:"rTableInst",style:{height:y!=null?U(y):null}}),{...t}),h?null:r(ze,{show:a.showContextMenu,placement:"bottom-start",trigger:"manual",x:a.x,y:a.y,options:_,onClickoutside:()=>a.showContextMenu=!1,onSelect:g.bind(this)},null)]),header:b?_e(d,{defaultElement:r("div",{style:"display: none;"},null)}):null,"header-extra":p(e),footer:()=>{var k;return(k=t.tableFooter)==null?void 0:k.call(t)},action:()=>{var k;return(k=t.tableAction)==null?void 0:k.call(t)}})}}),Rr=()=>{const e=oe();let n={};const t=(g,b)=>{g&&(e.value=g,n=b)},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:g=>o().downloadCsv.call(null,g),filters:g=>o().filters.call(null,g),page:g=>o().page.call(null,g),scrollTo:g=>o().scrollTo(g),sort:(g,b)=>o().sort.call(null,g,b),print:g=>{const{uuidWrapper:b}=n;if(b){const f=document.getElementById(b);Rn(f,g)}},filter:g=>o().filter.call(null,g)}]},Nn=(e,n,t)=>{var o;if(e.length)for(const a of e){if(a[n]===t)return a;if((o=a==null?void 0:a.children)!=null&&o.length){const l=Nn(a.children,n,t);if(l)return l}}},on=e=>{const n=ee(e);return n?n.findIndex(o=>{const{type:a,multiple:l}=o;if(a==="selection"&&(l==null||l===!0))return!0})!==-1:!0},xr=(e,n,t,o)=>{const a=ee(e);return a?n.reduce((l,s)=>{const i=ee(t).findIndex(c=>c[o]===s);if(i!==-1)return l.push(ee(t)[i]),l;const u=a.findIndex(c=>c[o]===s);return u!==-1&&l.push(a[u]),l},[]):t},Ri=(e,n,t)=>{const o=j([]),a=j([]),{rowKey:l="key",onChange:s}=t||{},i=T(()=>on(n)),u=(b,f,h)=>{o.value=b,a.value=ee(xr(e,b,a,l)),s==null||s(b,a.value,h),on(n)},c=()=>o.value,m=()=>a.value,p=()=>{o.value=[],a.value=[],s==null||s(o.value,a.value,{row:void 0,action:"uncheckAll"})},w=b=>{if(b==null)return;let f;o.value=o.value.filter(h=>h!==b),a.value=a.value.filter(h=>h[l]===b?(f=h,!1):!0),s==null||s(o.value,a.value,{row:f,action:"uncheck"})},g=b=>{if(o.value.includes(b))return;const f=!i.value&&o.value.length>=1,h=Nn(ee(e)||[],l,b);f?o.value=[b]:o.value.push(b),h&&(f?a.value=[h]:a.value.push(h),s==null||s(o.value,a.value,{row:h,action:"check"}))};return Ft(()=>{p()}),[o,{checkedRows:a,checkedRowKeysBind:u,getKeys:c,getRows:m,clearAll:p,clearKey:w,selectKey:g}]},Mr={transitionPropName:"fade",transitionMode:"out-in",transitionAppear:!0},Er=x({name:"RTransitionComponent",__name:"index",props:Ho({transitionPropName:{},transitionMode:{},transitionAppear:{type:Boolean}},Mr),setup(e){const{getKeepAliveInclude:n}=Xr(),{getKeepAliveConfig:t}=J();return(o,a)=>{const l=Xo("RouterView");return Ae(),Yo("div",null,[r(l,null,{default:vt(({Component:s,route:i})=>[s?(Ae(),Ve(Mn,{key:0,name:o.transitionPropName,mode:o.transitionMode,appear:o.transitionAppear},{default:vt(()=>[(Ae(),Ve(Jo,null,{default:vt(()=>[ee(t).setupKeepAlive?(Ae(),Ve(Zo,{key:0,max:ee(t).maxKeepAliveLength,include:ee(n),exclude:ee(t).keepAliveExclude},[(Ae(),Ve(Yt(s),{key:i.fullPath}))],1032,["max","include","exclude"])):(Ae(),Ve(Yt(s),{key:i.fullPath}))]),_:2},1024))]),_:2},1032,["name","mode","appear"])):Qo("",!0)]),_:1})])}}}),Un=x({name:"RForm",props:Fn,setup(e,{expose:n}){const t=ie("formRef");return Ce(()=>{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(fe,N(e,n,{ref:"formRef"}),{...t})}}),Dr=(e,n)=>{const t=oe(),o=c=>{c&&(t.value=c)},a=()=>{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:a,validate:(c,m)=>a().validate.call(null,c,m),restoreValidation:()=>a().restoreValidation.call(null),formModel:()=>Ee(e)||{},formRules:()=>Ee(n)||{}}]},zr=["addTabClass","addTabStyle","paneClass","paneStyle","paneWrapperStyle","tabClass","tabStyle","type","label","addable","closable","onAdd","onClose","placement","animated","justifyContent","builtinThemeOverrides","displayDirective"],Lr={tabPaddingSmallSegment:"4px 7px",tabPaddingMediumSegment:"6px 11px",tabPaddingLargeSegment:"8px 11px"},Ir=We({...To,options:{type:Array,default:()=>[]},width:{type:[Number,String],default:"fitContent"}},...zr);function Fr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const xt=e=>{const{icon:n,label:t}=e;return n?r(I,{align:"center",wrap:!1,size:"small"},{default:()=>{var o;return[(o=_e(n))==null?void 0:o(),r("div",null,[t])]}}):t},Br=e=>{if(typeof e.popover=="string")return r(Ue,null,{trigger:()=>xt(e),default:()=>e.popover});if(ge(e.popover,"Object")){const{popover:n}=e,{label:t,...o}=n;return r(Ue,o,{trigger:()=>xt(e),default:()=>t})}},Vr=x({name:"RSegment",props:Ir,setup(e,{expose:n}){const t=T(()=>{const{width:o}=e;let a="";switch(o){case"block":a="100%";break;case"fitContent":a="fit-content";break;default:a=typeof o=="number"?U(o):"fit-content"}return{"--r-segment-width":a}});return n(),{cssVars:t}},render(){let e;const{$props:n,options:t,cssVars:o,themeOverrides:a}=this;return r(hn,N(n,{style:[o],class:"r-segment",type:"segment",animated:!0,themeOverrides:Object.assign({},Lr,a)}),Fr(e=t.map(l=>r(Oo,{key:l.key,name:l.key,tab:l.popover?Br(l):xt(l),disabled:l.disabled},{...l.slots})))?e:{default:()=>[e]})}}),jr={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]}},xi=x({name:"RBarcode",props:jr,setup(e){const n=ie("barcodeRef"),t=T(()=>({"--r-barcode-width":U(e.width),"--r-barcode-height":U(e.height)}));let o;const a=()=>{try{const{format:l,text:s,options:i,onSuccess:u}=e,c=Object.assign({},i,{format:l});ta(n.value,s!=null?s.toString():"",c),u&&B(u,s,l,i)}catch(l){const{onError:s}=e;s&&B(s,l)}finally{const{onFinally:l}=e;l&&B(l)}};return de(()=>{e.watchText?o=qe(()=>e.text,a):o==null||o()}),Ce(()=>{a()}),Lt(()=>{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(pt,{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)]})}}),Nr={...We(Fe,["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 Ur(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const Mi=x({name:"RTablePro",props:Nr,setup(e){const[n,{clearFilters:t,clearSorter:o,downloadCsv:a,filters:l,page:s,scrollTo:i,sort:u,print:c,filter:m}]=Rr(),[p,{getPage:w,getPageSize:g,setCallback:b,setItemCount:f,resetPagination:h,getItemCount:_}]=Fs(void 0,{prefix:k=>`共 ${k.itemCount} 条`}),d=T(()=>e.request),y=()=>({getItemCount:_,getPage:w,getPageSize:g}),S=()=>{const{onTablePaginationUpdate:k}=e;k&&B(k,y())},C=k=>{const E=Object.assign({},e.requestConfig,k),{formatRangeTime:O}=E;let P=E.params||{};return O!=null&&O.length&&P&&O.forEach($=>{const{key:Y,target:G}=$,ye=P[Y];if(ye&&(G!=null&&G.length)){const[ke,ae]=ye;P[G[0]]=ke,P[G[1]]=ae}else P[Y]=null,P[G[0]]=null,P[G[1]]=null}),P=la(P),Object.assign({},P,{page:w(),pageSize:g()})},v=k=>{var O;h();const E=C(k);(O=d.value)==null||O.call(d,E)},A=k=>{var O;const E=C(k);(O=d.value)==null||O.call(d,E)};return de(()=>{f(e.paginationCount),b(()=>{const{manual:k}=e;k||A(),S()})}),Ce(()=>{const{onRegister:k}=e;k&&B(k,{getTablePagination:y,runTableRequest:v,clearFilters:t,clearSorter:o,downloadCsv:a,filters:l,page:s,scrollTo:i,sort:u,print:c,filter:m,getCurrentTableRequestParams:C,resetTablePagination:h})}),{register:n,paginationRef:p}},render(){const{register:e,$props:n,paginationRef:t,$slots:o}=this,{onRegister:a,showPagination:l,...s}=n;return r(Pr,N(s,{onRegister:e,pagination:l?t:void 0}),Ur(o)?o:{default:()=>[o]})}}),Ei=()=>{const e=j(),n=f=>{f&&(e.value=f)},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:f=>t().downloadCsv.call(null,f),filters:f=>t().filters.call(null,f),page:f=>t().page.call(null,f),scrollTo:f=>t().scrollTo(f),sort:(f,h)=>t().sort.call(null,f,h),getTablePagination:()=>t().getTablePagination.call(null),runTableRequest:f=>t().runTableRequest.call(null,f),print:f=>t().print.call(null,f),getCurrentTableRequestParams:f=>t().getCurrentTableRequestParams.call(null,f),resetTablePagination:()=>t().resetTablePagination.call(null)}]},$r=()=>({grid:!0,partial:!1,keyboard:{enabled:!0}}),Kr={use:{type:Array,default:void 0},watchData:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},data:{type:Object,default:void 0},options:{type:Object,default:$r()},onRegister:{type:[Function,Array],default:void 0}};let an=!1;const Di=x({name:"RFlow",props:Kr,setup(e){const n=ie("flowDomRef"),t=T(()=>{const{width:p,height:w}=e;return{"--r-flow-width":U(p),"--r-flow-height":U(w)}}),o=oe(),a={nodeTextEdit:!1,edgeTextEdit:!1,textEdit:!1};let l;const s={nodes:[],edges:[]},i={readonly:e.readonly},u=()=>{var p;an||((p=e.use)==null||p.filter(Boolean).forEach(w=>Xt.use(w)),an=!0)},c=p=>{if(!o.value)return;const w=Object.entries(a).reduce((g,[b])=>(g[b]=!p,g),{});Object.assign(a,w,{isSilentMode:p}),o.value.updateEditConfig(a)},m=p=>{if(u(),!n.value)return;const{options:w,readonly:g}=e;o.value=new Xt({container:ee(n.value),...We(w,"container")}),o.value.render(p||s),c(g)};return de(()=>{e.watchData?l=qe(()=>e.data,p=>{o.value?p&&o.value.renderRawData(p):m(p)}):l==null||l(),e.readonly!==i.readonly&&(c(e.readonly),i.readonly=e.readonly)}),Ce(()=>{m();const{onRegister:p}=e;p&&o.value&&B(p,o.value)}),{flowDomRef:n,cssVars:t}},render(){const{cssVars:e}=this;return r("div",{class:"r-flow",style:[e],ref:"flowDomRef"},null)}}),zi=()=>{let e;return[o=>{o&&(e=o)},{getFlowInstance:()=>{if(!e)throw new Error("[useFlow]: flow instance is not ready yet. if you are using useFlow, please make sure you have called register method in onRegister event.");return e}}]},Wr=(e,n,t)=>!e||typeof e!="object"?!1:e[n]===t,$n=(e,n,t)=>{const o=[];if(Wr(e,n,t))return o.push(e),o;if(e.children&&e.children.length>0)for(const a of e.children){const l=$n(a,n,t);l.length>0&&o.push(e,...l)}return o},qr=(e,n,t)=>{const o=[];for(const a of e){const l=$n(a,n,t);l.length>0&&o.push(...l)}return o},ln=e=>{const{dynamicDocumentTitle:n}=Ie();if(!n)return;const{breadcrumbLabel:t}=e;if(!t)return;const{sideBarLogo:o}=Ie(),a=o?o.title:"";document.title=t+" - "+a},Gr=e=>{const{meta:{icon:n}}=e;if(!n)return;if(ge(n,"Object"))return()=>n;const{menuConfig:t}=Ie(),{collapsed:o}=Vt(),a=mt(M,{name:n,size:o?t.collapsedIconSize:t.iconSize,cursor:"pointer"},{});return()=>a},Kn=e=>{const{meta:{extra:n}}=e;if(!n)return;const{show:t}=n;if(t===!1)return;const{t:o}=He(),{label:a,icon:l,type:s,i18nLabel:i}=n,u={type:"primary",size:"small",round:!0,bordered:!1,strong:!0},c=()=>i?o(i):a||null,m=()=>l&&(i||a)||!l&&(i||a)?null:{"padding-right":"0"};if(ge(n,"Object"))return()=>mt(ko,{...u,type:s||"primary",style:m()},{default:()=>c(),icon:()=>l})},rn=()=>{const{getRootPath:e}=Je();return Le(K.appMenuKey,"sessionStorage",{defaultValue:e.value})},Hr=()=>Le(K.appMenuTagOptions,"sessionStorage",{defaultValue:[]}),Wn=()=>nr(Ql()),Yr=()=>tr(Wn()),Mt=["redirect","breadcrumbLabel","children","key","meta","name","path","show","fullPath"];let tt;const qn=(e,n)=>{var t;if(tt&&Jt(tt.fullPath,n))return tt;for(const o of e){if(Jt(o.fullPath,n))return tt=o,o;if((t=o.children)!=null&&t.length){qn(o.children,n);continue}}},Vt=ft("menu",()=>{const{push:e,getRoutes:n}=Ge(),t=va(),{t:o}=He(),{setKeepAliveInclude:a}=Jr(),l=re({menuKey:rn(),options:[],collapsed:!1,menuTagOptions:Hr(),breadcrumbOptions:[],currentMenuOption:null}),s=j(!0),i=(d,y,S)=>{It(l,d,y,S)},u=d=>{const{meta:y}=d,{i18nKey:S,noLocalTitle:C}=y,v=T(()=>S?o(`${S}`):C),A={...d,key:d.fullPath,label:()=>mt(yn,null,{default:()=>v.value}),breadcrumbLabel:v.value},k=Object.assign({},A,{icon:Gr(d),extra:Kn(d)});return d.fullPath===rn()&&(l.currentMenuOption=k),k.show=Ln(k),k},c=d=>{l.breadcrumbOptions=ee(qr(l.options,"fullPath",d))},m=(d,y=!0)=>{const C=Array.isArray(d)?[...d]:[d];y?l.menuTagOptions.push(...C):l.menuTagOptions=C,Re(K.appMenuTagOptions,l.menuTagOptions)},p=(d,y)=>{l.menuTagOptions.find(C=>C.fullPath===d)||l.menuTagOptions.push(y),l.menuTagOptions=l.menuTagOptions.filter(C=>{var v;return(v=C.fullPath)==null?void 0:v.startsWith("/")}),Re(K.appMenuTagOptions,l.menuTagOptions)},w=(d,y,S)=>{const{meta:C}=y;if(C.windowOpen)window.open(C.windowOpen);else{e({path:String(d),query:S});const{sameLevel:v}=C;if(a(y),ln(y),!v)p(d,y),c(d),l.menuKey=d,l.currentMenuOption=y,Re(K.appMenuKey,d);else{const A=Ne(u(y),Mt);l.breadcrumbOptions.find(E=>E.key===A.key)||l.breadcrumbOptions.push({...A,fullPath:String(A.key)})}}},g=async(d,y)=>{const[S]=d.split("?"),C=n().find(v=>v.path===S);if(!((C==null?void 0:C.path)==="/"||!(C!=null&&C.path)||(C==null?void 0:C.path)==="/login")&&C){const v=Ne(C,Mt);w(S,u({...v,fullPath:v.path}),y)}},b=()=>new Promise(d=>{const y=(C,v)=>{var k;const A=[];for(const E of C){let O=`${v.endsWith("/")?v:v+"/"}${E.path}`;if(O=O.replace(/\/+/g,"/"),(k=E.children)!=null&&k.length)E.children=y(E.children,O);else if(!Jn(E.meta))continue;A.push(u({...E,fullPath:O}))}return A};l.options=y(Wn(),"");const S=l.currentMenuOption||Qr(l.options);S&&(l.breadcrumbOptions.length||c(S.key),p(S.fullPath,S),ln(S)),d()}),f=d=>l.collapsed=d,h=(d,y=1)=>{const S=l.menuTagOptions.splice(d,y);return Re(K.appMenuTagOptions,l.menuTagOptions),S},_=async()=>{s.value&&(await b(),s.value=!1)};return qe(()=>t.fullPath,async(d,y)=>{await _(),d!==y&&await g(d,t.query)},{immediate:!0}),{...we(l),changeMenuModelValue:w,collapsedMenu:f,spliceMenTagOptions:h,setMenuTagOptions:m,resolveOption:u,updateMenuState:i,setupAppMenu:b}},{persist:{key:K.appPiniaMenuStore,storage:window.localStorage,pick:["menuKey","collapsed"]}}),Gn=ft("signing",()=>{const{clearRoutes:e,replace:n}=Ge(),t=re({signingCallback:{}}),o=s=>new Promise((i,u)=>{mn(s)?u({code:1,message:"登陆失败",data:null}):(t.signingCallback={role:"admin",name:s.name,avatar:"https://avatars.githubusercontent.com/u/51957438?v=4"},i({code:0,message:"登陆成功",data:t.signingCallback}))}),a=s=>{const{closeAll:i}=no(),{appPiniaMenuStore:u,appPiniaSigningStore:c,token:m,signing:p,appMenuKey:w}=K;window.$message.info("账号退出中..."),ce("__all_sessionStorage__","sessionStorage"),ce(c,"localStorage"),ce(u,"localStorage"),ce(m,"localStorage"),ce(p,"localStorage"),ce(w,"localStorage"),ce(K.isAppLockScreen,"localStorage"),i(),s&&(e(),n("/"),setTimeout(()=>{window.location.reload()},0))},l=()=>{a(!0)};return{...we(t),signing:o,logout:l,clearSigningCallback:a}},{persist:{key:K.appPiniaSigningStore,pick:["signingCallback"],storage:window.localStorage}}),Hn=ft("keepAlive",()=>{const e=re({keepAliveInclude:[]}),n=()=>e.keepAliveInclude.length,t=a=>{const l=n(),{name:s,meta:{keepAlive:i}}=a,{maxKeepAliveLength:u}=Ie().keepAliveConfig;if(i){if(l=u&&(e.keepAliveInclude.splice(0,1),e.keepAliveInclude.push(s))}},o=()=>e.keepAliveInclude;return{...we(e),setKeepAliveInclude:t,getKeepAliveInclude:o}},{persist:{key:K.appPiniaKeepAliveStore,storage:window.sessionStorage,pick:["keepAliveInclude"]}}),Oe=()=>{const e=Vt(),n=T(()=>e.options),t=T(()=>e.breadcrumbOptions),o=T(()=>e.menuKey),a=T(()=>e.menuTagOptions),l=T(()=>e.currentMenuOption),s=T(()=>e.collapsed);return{getMenuOptions:n,getBreadcrumbOptions:t,getMenuKey:o,getMenuTagOptions:a,getCurrentMenuOption:l,getCollapsed:s}},Be=()=>{const{changeMenuModelValue:e,collapsedMenu:n,spliceMenTagOptions:t,setMenuTagOptions:o,resolveOption:a,updateMenuState:l,setupAppMenu:s}=Vt();return{changeMenuModelValue:e,collapsedMenu:n,spliceMenTagOptions:t,setMenuTagOptions:o,resolveOption:a,updateMenuState:l,setupAppMenu:s}},J=()=>{const e=Ie(),n=T(()=>e.drawerPlacement),t=T(()=>e.primaryColorOverride),o=T(()=>e._appTheme),a=T(()=>e.appTheme),l=T(()=>e.menuTagSwitch),s=T(()=>e.breadcrumbSwitch),i=T(()=>e.localeLanguage),u=T(()=>e.lockScreenSwitch),c=T(()=>e.copyrightSwitch),m=T(()=>e.contentTransition),p=T(()=>e.watermarkSwitch),w=T(()=>e.watermarkConfig),g=T(()=>e.appRootRoute),b=T(()=>e.sideBarLogo),f=T(()=>e.keepAliveConfig),h=T(()=>e.menuConfig),_=T(()=>e.colorWeakness),d=T(()=>e.dynamicDocumentTitle);return{getDrawerPlacement:n,getPrimaryColorOverride:t,getAppTheme:o,getMenuTagSwitch:l,getBreadcrumbSwitch:s,getLocaleLanguage:i,getLockScreenSwitch:u,getCopyrightSwitch:c,getContentTransition:m,getWatermarkSwitch:p,getWatermarkConfig:w,getAppRootRoute:g,getSideBarLogo:b,getKeepAliveConfig:f,getMenuConfig:h,getAppThemeStr:a,getColorWeakness:_,getDynamicDocumentTitle:d}},W=()=>{const{updateLocale:e,changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}=Ie();return{updateLocale:e,changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}},Yn=()=>{const e=Gn();return{getSigningCallback:T(()=>e.signingCallback)}},Xn=()=>{const{signing:e,logout:n,clearSigningCallback:t}=Gn();return{signing:e,logout:n,clearSigningCallback:t}},Xr=()=>{const e=Hn();return{getKeepAliveInclude:T(()=>e.keepAliveInclude)}},Jr=()=>{const{setKeepAliveInclude:e,getKeepAliveInclude:n}=Hn();return{setKeepAliveInclude:e,getKeepAliveInclude:n}},Li=e=>{const n=pa();e.use(n),n.use(da)},Jn=e=>{const{getSigningCallback:n}=Yn(),{role:t}=e;return et!=null&&et.length&&et.includes(n.value.role)||!t||!(t!=null&&t.length)?!0:t?t.includes(n.value.role):!0},Zr=e=>{const{setupRouterLoadingBar:n,setupRouterGuard:t}=tl;n&&lr(e),t&&or(e)},Qr=e=>{if(!Array.isArray(e))return;const n=t=>{for(const o of t){if((!o.children||o.children.length===0)&&!o.meta.windowOpen)return o;{const a=n(o.children||[]);if(a)return a}}};return n(e)},es=oe(),ts=x({name:"SiderBarLogo",props:{collapsed:{type:Boolean,required:!0}},setup(){const e=Ge(),{getSideBarLogo:n}=J();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:a})=>{if(!n.value)return null;if(typeof n.value.icon=="string")return r(M,{name:n.value.icon,size:"30",cursor:a},null);if(ge(n.value.icon,"Object"))return _e(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:es},[e!=null&&e.icon?n?r(it,{placement:"right"},{trigger:()=>t({cursor:"pointer"}),default:()=>e.title}):t({cursor:"pointer"}):n?r(it,{placement:"right"},{trigger:()=>r(qt,{type:"primary",size:18},{default:()=>{var a;return[((a=e.title)==null?void 0:a[0])||null]}}),default:()=>e.title}):null,r(qt,{class:[n?null:"ray-menu__logo-title--open","ray-menu__logo-title",'class="n-menu-item-content"'],type:"primary",size:18},{default:()=>[r(yn,null,{default:()=>[e.title]})]})]):null}}),ns=x({name:"AppMenu",setup(){const e=oe(),{changeMenuModelValue:n,collapsedMenu:t,updateMenuState:o}=Be(),{getMenuConfig:a}=J(),{getMenuOptions:l,getCollapsed:s,getMenuKey:i}=Oe(),u=T({get:()=>(setTimeout(()=>{p(),xn()},300),i.value),set:()=>{c.value&&me("globalDrawerValue",!1)}}),{isTabletOrSmaller:c}=Xe({observer:g=>{g&&o("collapsed",!1)}}),m=T({get:()=>gt("globalDrawerValue").value,set:g=>{me("globalDrawerValue",g)}}),p=()=>{const g=u.value;g!=null&&ne(()=>{var b,f;return(f=(b=e.value)==null?void 0:b.showOption)==null?void 0:f.call(b,g)})};return{isTabletOrSmaller:c,BasicMenu:()=>r(Po,{class:"app-menu__sider",showTrigger:!c.value,collapseMode:a.value.collapsedMode,collapsedWidth:a.value.collapsedWidth,onUpdateCollapsed:t.bind(this),width:a.value.menuWidth,nativeScrollbar:a.value.nativeScrollbar,ref:Dn,collapsed:s.value,onExpand:()=>{o("collapsed",!1)},onCollapse:()=>{o("collapsed",!0)},inverted:a.value.inverted},{default:()=>[a.value.menuSiderBarLogo?r(ts,{collapsed:s.value},null):null,r(Ao,{ref:e,class:"r-menu--app",keyField:"fullPath",value:u.value,"onUpdate:value":g=>u.value=g,options:l.value,indent:a.value.collapsedIndent,collapsed:s.value,collapsedIconSize:a.value.collapsedIconSize,collapsedWidth:a.value.collapsedWidth,onUpdateValue:(g,b)=>{n(g,b)},accordion:a.value.accordion,iconSize:a.value.iconSize,inverted:a.value.inverted},null)]}),modelGlobalDrawerValue:m}},render(){const{isTabletOrSmaller:e,BasicMenu:n}=this;return e?r(bn,{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 os{constructor(){$t(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 a=new AbortController;n.signal=a.signal,this.pendingRequest.set(o,a)}}}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 wt={requestInstance:null,responseInstance:null},Ct={implementRequestInterceptorArray:[],implementResponseInterceptorArray:[]},nt={implementRequestInterceptorErrorArray:[],implementResponseInterceptorErrorArray:[]},as=new os,Ii=()=>{const e=(i,u)=>{u==="requestInstance"?wt.requestInstance=i:wt.responseInstance=i},n=i=>wt[i],t=(i,u,c)=>{c==="ok"?Ct[i]=u:nt[i]=u},o=(i,u)=>u==="ok"?Ct[i]:nt[i],a=(i,...u)=>{Array.isArray(i)&&i.forEach(c=>{typeof c=="function"&&c(...u)})};return{createAxiosInstance:e,setImplement:t,getImplement:o,getAxiosInstance:n,beforeFetch:(i,u,c)=>{const m=c==="ok"?Ct[u]:nt[u],p=n(i),{MODE:w}=Pt();p&&a(m,p,w)},fetchError:(i,u,c)=>{const m=nt[c],{MODE:p}=Pt();a(m,u,p)}}},ls=x({name:"AppRequestCancelerProvider",setup(e,{expose:n}){_a(()=>{as.cancelAllRequest()}),n()},render(){return r("div",{class:"app-style-provider"},null)}}),Zn=x({name:"LayoutContentWrapper",setup(){Ge();const{maximize:e}=to(),{getContentTransition:n}=J(),t=j(!1),o={opacitySpinning:"0"},{globalMainLayoutLoad:a,layoutContentMaximize:l,layoutContentSpinning:s}=ol();return{globalMainLayoutLoad:a,spinning:t,themeOverridesSpin:o,getContentTransition:n,layoutContentMaximize:l,maximize:e,layoutContentSpinning:s}},render(){const{globalMainLayoutLoad:e,layoutContentMaximize:n,layoutContentSpinning:t,maximize:o,spinning:a,themeOverridesSpin:l,getContentTransition:s}=this;return r(pt,{show:a||!e||t,description:"loading...",size:"large",themeOverrides:l,class:[n?"r-layout-full__viewer-content--maximize":null]},{default:()=>[n?r("div",{class:"layout-content__maximize-out",onClick:()=>{o(!1)}},[r(M,{name:"out",size:"16",cursor:"pointer"},null)]):null,r(ls,null,null),e?r(Er,{class:"content-wrapper",transitionPropName:s+"-transform"},null):null]})}}),rs=Object.freeze(Object.defineProperty({__proto__:null,default:Zn},Symbol.toStringTag,{value:"Module"}));var ss={pkg:{dependencies:{"@logicflow/core":"2.0.10","@logicflow/extension":"2.0.14","@vueuse/core":"^12.4.0",axios:"^1.7.9",clipboard:"^2.0.11","crypto-js":"4.2.0","currency.js":"^2.0.4",dayjs:"^1.11.13",echarts:"^5.6.0","html-to-image":"1.11.11",interactjs:"1.10.27",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.41.0",pinia:"^2.3.0","pinia-plugin-persistedstate":"^4.2.0","print-js":"^1.6.0",vue:"^3.5.13","vue-demi":"0.14.10","vue-hooks-plus":"2.2.3","vue-i18n":"^9.13.1","vue-router":"^4.4.0","vue3-next-qrcode":"2.0.10"},devDependencies:{"@amap/amap-jsapi-types":"0.0.15","@ant-design/icons-vue":"7.0.1","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@interactjs/types":"1.10.27","@intlify/unplugin-vue-i18n":"4.0.0","@types/crypto-js":"4.2.2","@types/jsbarcode":"3.11.4","@types/lodash-es":"4.17.12","@types/mockjs":"1.0.10","@types/three":"0.171.0","@typescript-eslint/eslint-plugin":"8.20.0","@typescript-eslint/parser":"8.20.0","@vitejs/plugin-vue":"5.2.1","@vitejs/plugin-vue-jsx":"4.1.1","@vitest/ui":"2.1.8","@vue/eslint-config-prettier":"10.1.0","@vue/eslint-config-typescript":"14.2.0","@vue/test-utils":"2.4.6",autoprefixer:"10.4.20",depcheck:"1.4.7",eslint:"9.18.0","eslint-config-prettier":"10.0.1","eslint-plugin-prettier":"5.2.2","eslint-plugin-vue":"9.32.0",globals:"15.14.0","happy-dom":"16.6.0",husky:"8.0.3","lint-staged":"15.3.0",postcss:"8.5.1","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"3.4.2","rollup-plugin-gzip":"4.0.1",sass:"1.83.4","svg-sprite-loader":"6.0.11",typescript:"5.6.3","unplugin-auto-import":"19.0.0","unplugin-vue-components":"0.28.0",vite:"6.1.0","vite-bundle-analyzer":"0.16.0","vite-plugin-cdn2":"1.1.0","vite-plugin-ejs":"1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"0.8.4","vite-plugin-mock-dev-server":"1.8.3","vite-plugin-svg-icons":"2.0.1","vite-svg-loader":"5.1.0",vitest:"2.1.8","vue-tsc":"2.2.0"},name:"ray-template",version:"5.1.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"}};const is=x({name:"LayoutFooterWrapper",setup(){const{layout:{copyright:e}}=ss;return{copyright:e}},render(){return this.copyright?r("div",{class:"layout-footer-wrapper"},[this.copyright]):""}}),us=x({name:"TooltipIcon",props:{...Ro,iconName:{type:String,required:!0},customClassName:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["click"],setup(e,{emit:n}){const t=a=>{n("click",a)};return{iconClick:t,Icon:()=>r(M,{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(it,this.$props,{trigger:()=>r(e,null,null),default:()=>this.tooltipText}):r(e,null,null)}}),cs=x({name:"ThemeSegment",setup(){const{system:e}=Sn(),{getAppThemeStr:n,getAppTheme:t}=J(),{updateSettingState:o}=W(),a=[{label:"深色",key:"dark",icon:()=>r(M,{name:"dark",size:"16"},null)},{label:"浅色",key:"light",icon:()=>r(M,{name:"light",size:"16"},null)},{label:"自动",key:"auto",icon:()=>r(M,{name:"system_os",size:"16"},null)}],l=T({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 de(()=>{s(l.value,e.value)}),{options:a,modelAppTheme:l}},render(){const{options:e}=this;return r(Vr,{options:e,size:"small",width:"block",value:this.modelAppTheme,"onUpdate:value":n=>this.modelAppTheme=n},null)}}),Ye=Symbol("segmentDrawer"),ds=x({name:"SegmentViewsAppearance",setup(){const e=Te(Ye,{}),{changePrimaryColor:n,updateSettingState:t,toggleColorWeakness:o}=W();return{toggleColorWeakness:o,model:e,changePrimaryColor:n,updateSettingState:t}},render(){const{toggleColorWeakness:e,model:n,changePrimaryColor:t,updateSettingState:o}=this;return r(I,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(le,null,{default:()=>[q("系统主题")]}),r(cs,null,null),r(le,null,{default:()=>[q("内置主题")]}),r(xo,{showPreview:!0,swatches:Se.appThemeColors,value:n.primaryColorOverride.common.primaryColor,"onUpdate:value":a=>n.primaryColorOverride.common.primaryColor=a,onUpdateValue:t.bind(this)},null),r(le,null,{default:()=>[q("切换动画")]}),r(Gt,{value:n.contentTransition,"onUpdate:value":a=>n.contentTransition=a,options:Xa,onUpdateValue:a=>{o("contentTransition",a)}},null),r(le,null,{default:()=>[q("配置入口出现位置")]}),r(Gt,{value:n.drawerPlacement,"onUpdate:value":a=>n.drawerPlacement=a,options:[{label:"右边",value:"right"},{label:"左边",value:"left"}],onUpdateValue:a=>{o("drawerPlacement",a)}},null),r(le,null,{default:()=>[q("其他设置")]}),r(fe,{labelPlacement:"left",class:"setting-drawer__overrides-form",showFeedback:!1},{default:()=>[r(L,{label:"面包屑"},{default:()=>[r(te,{value:n.breadcrumbSwitch,"onUpdate:value":a=>n.breadcrumbSwitch=a,onUpdateValue:a=>o("breadcrumbSwitch",a)},null)]}),r(L,{label:"标签页"},{default:()=>[r(te,{value:n.menuTagSwitch,"onUpdate:value":a=>n.menuTagSwitch=a,onUpdateValue:a=>o("menuTagSwitch",a)},null)]}),r(L,{label:"页底信息"},{default:()=>[r(te,{value:n.copyrightSwitch,"onUpdate:value":a=>n.copyrightSwitch=a,onUpdateValue:a=>o("copyrightSwitch",a)},null)]}),r(L,{label:"色弱模式"},{default:()=>[r(te,{value:n.colorWeakness,"onUpdate:value":a=>n.colorWeakness=a,onUpdateValue:a=>{o("colorWeakness",a),e(a)}},null)]})]})]})}}),ps=x({name:"SegmentViewsCommon",setup(){const e=Te(Ye,{}),{updateSettingState:n}=W();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(I,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(le,null,{default:()=>[q("基础设置")]}),r(fe,{labelPlacement:"left",class:"setting-drawer__overrides-form",showFeedback:!1},{default:()=>[r(L,{label:"页面缓存"},{default:()=>[r(te,{value:e.keepAliveConfig.setupKeepAlive,"onUpdate:value":t=>e.keepAliveConfig.setupKeepAlive=t,onUpdateValue:t=>n("keepAliveConfig",{setupKeepAlive:t})},null)]}),r(L,{label:"动态浏览器标题"},{default:()=>[r(te,{value:e.dynamicDocumentTitle,"onUpdate:value":t=>e.dynamicDocumentTitle=t,onUpdateValue:t=>n("dynamicDocumentTitle",t)},null)]})]}),r(le,null,{default:()=>[q("缓存设置")]}),r(fe,{labelPlacement:"top",showFeedback:!0,showRequireMark:!1,model:e.keepAliveConfig},{default:()=>[r(L,{label:"最大缓存数",feedback:T(()=>e.keepAliveConfig.maxKeepAliveLength<=0?"设置为【0】时,缓存将会失效":"").value},{default:()=>[r(X,{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(L,{label:"排除缓存"},{default:()=>[r(Mo,{type:"success",value:e.keepAliveConfig.keepAliveExclude,"onUpdate:value":t=>e.keepAliveConfig.keepAliveExclude=t},null)]})]})]})}}),ms=x({name:"SegmentViewsWatermark",setup(){const e=Te(Ye,{}),{updateSettingState:n}=W();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(I,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(le,null,{default:()=>[q("基础设置")]}),r(fe,{showFeedback:!1,showRequireMark:!1,class:"setting-drawer__overrides-form",labelPlacement:"left"},{default:()=>[r(L,{label:"全屏水印"},{default:()=>[r(te,{value:e.watermarkSwitch,"onUpdate:value":t=>e.watermarkSwitch=t,onUpdateValue:t=>n("watermarkSwitch",t)},null)]}),r(L,{label:"跨边界显示"},{default:()=>[r(te,{value:e.watermarkConfig.cross,"onUpdate:value":t=>e.watermarkConfig.cross=t,onUpdateValue:t=>n("watermarkConfig",{cross:t})},null)]})]}),r(le,null,{default:()=>[q("个性化水印")]}),r(fe,{showFeedback:!0,showRequireMark:!1,class:"setting-drawer__overrides-form"},{default:()=>[r(L,{label:"水印内容"},{default:()=>[r(zt,{value:e.watermarkConfig.content,"onUpdate:value":t=>e.watermarkConfig.content=t,onUpdateValue:t=>n("watermarkConfig",{content:t})},null)]}),r(L,{label:"字体尺寸"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.fontSize,"onUpdate:value":t=>e.watermarkConfig.fontSize=t,onUpdateValue:t=>n("watermarkConfig",{fontSize:t})},null)]}),r(L,{label:"字体行高"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.lineHeight,"onUpdate:value":t=>e.watermarkConfig.lineHeight=t,onUpdateValue:t=>n("watermarkConfig",{lineHeight:t})},null)]}),r(L,{label:"字体宽度"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.width,"onUpdate:value":t=>e.watermarkConfig.width=t,onUpdateValue:t=>n("watermarkConfig",{width:t})},null)]}),r(L,{label:"字体高度"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.height,"onUpdate:value":t=>e.watermarkConfig.height=t,onUpdateValue:t=>n("watermarkConfig",{height:t})},null)]}),r(L,{label:"x轴偏移"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.xOffset,"onUpdate:value":t=>e.watermarkConfig.xOffset=t,onUpdateValue:t=>n("watermarkConfig",{xOffset:t})},null)]}),r(L,{label:"x轴间隙"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.xGap,"onUpdate:value":t=>e.watermarkConfig.xGap=t,onUpdateValue:t=>n("watermarkConfig",{xGap:t})},null)]}),r(L,{label:"y轴偏移"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.yOffset,"onUpdate:value":t=>e.watermarkConfig.yOffset=t,onUpdateValue:t=>n("watermarkConfig",{yOffset:t})},null)]}),r(L,{label:"y轴间隙"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.yGap,"onUpdate:value":t=>e.watermarkConfig.yGap=t,onUpdateValue:t=>n("watermarkConfig",{yGap:t})},null)]}),r(L,{label:"旋转角度"},{default:()=>[r(X,{precision:0,showButton:!1,value:e.watermarkConfig.rotate,"onUpdate:value":t=>e.watermarkConfig.rotate=t,onUpdateValue:t=>n("watermarkConfig",{rotate:t})},null)]})]})]})}}),fs=x({name:"SegmentViewsCustomMenu",setup(){const e=Te(Ye,{}),{updateSettingState:n}=W();return{model:e,updateSettingState:n}},render(){const{model:e,updateSettingState:n}=this;return r(I,{vertical:!0,style:"width: 100%;",size:[0,0]},{default:()=>[r(le,{titlePlacement:"center"},{default:()=>[r(I,{wrap:!1,align:"center",size:[4,0]},{default:()=>[r(it,{placement:"top",showArrow:!1},{trigger:()=>r(M,{name:"question",size:"16"},null),default:()=>"菜单更新是一个复杂、耗时的操作,请手动点击【更新菜单】按钮更新设置"}),r(vn,null,{default:()=>[q("菜单样式")]})]})]}),r(fe,{showFeedback:!0,showRequireMark:!1,class:"setting-drawer__overrides-form"},{default:()=>[r(L,{label:"每级菜单缩进"},{default:()=>[r(X,{value:e.menuConfig.collapsedIndent,"onUpdate:value":t=>e.menuConfig.collapsedIndent=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedIndent:t})},null)]}),r(L,{label:"菜单图标尺寸"},{default:()=>[r(X,{value:e.menuConfig.iconSize,"onUpdate:value":t=>e.menuConfig.iconSize=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{iconSize:t})},null)]}),r(L,{label:"折叠菜单图标尺寸"},{default:()=>[r(X,{value:e.menuConfig.collapsedIconSize,"onUpdate:value":t=>e.menuConfig.collapsedIconSize=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedIconSize:t})},null)]}),r(L,{label:"菜单宽度"},{default:()=>[r(X,{value:e.menuConfig.menuWidth,"onUpdate:value":t=>e.menuConfig.menuWidth=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{menuWidth:t})},null)]}),r(L,{label:"折叠菜单宽度"},{default:()=>[r(X,{value:e.menuConfig.collapsedWidth,"onUpdate:value":t=>e.menuConfig.collapsedWidth=t,min:0,precision:0,onUpdateValue:t=>n("menuConfig",{collapsedWidth:t})},null)]}),r(L,{showFeedback:!1,showLabel:!1},{default:()=>[r(Z,{onClick:e.throttleSetupAppMenu,block:!0,type:"primary"},{default:()=>[q("更新菜单")]})]})]}),r(le,null,{default:()=>[q("其他设置")]}),r(fe,{showFeedback:!1,showRequireMark:!1,class:"setting-drawer__overrides-form",labelPlacement:"left"},{default:()=>[r(L,{label:"反转色菜单"},{default:()=>[r(te,{value:e.menuConfig.inverted,"onUpdate:value":t=>e.menuConfig.inverted=t,onUpdateValue:t=>n("menuConfig",{inverted:t})},null)]}),r(L,{label:"菜单标题"},{default:()=>[r(te,{value:e.menuConfig.menuSiderBarLogo,"onUpdate:value":t=>e.menuConfig.menuSiderBarLogo=t,onUpdateValue:t=>n("menuConfig",{menuSiderBarLogo:t})},null)]}),r(L,{label:"手风琴菜单"},{default:()=>[r(te,{value:e.menuConfig.accordion,"onUpdate:value":t=>e.menuConfig.accordion=t,onUpdateValue:t=>n("menuConfig",{accordion:t})},null)]}),r(L,{label:"原生滚动条"},{default:()=>[r(te,{value:e.menuConfig.nativeScrollbar,"onUpdate:value":t=>e.menuConfig.nativeScrollbar=t,onUpdateValue:t=>n("menuConfig",{nativeScrollbar:t})},null)]})]})]})}}),gs=x({name:"SettingDrawer",props:Eo,setup(){const{create:e}=yr(),{changePrimaryColor:n,updateSettingState:t}=W(),{getAppTheme:o,getPrimaryColorOverride:a,getMenuTagSwitch:l,getBreadcrumbSwitch:s,getCopyrightSwitch:i,getContentTransition:u,getWatermarkSwitch:c,getKeepAliveConfig:m,getMenuConfig:p,getDrawerPlacement:w,getColorWeakness:g,getWatermarkConfig:b,getDynamicDocumentTitle:f}=J(),{setupAppMenu:h}=Be(),_=Et(h,300),d=re({menuTagSwitch:l.value,breadcrumbSwitch:s.value,copyrightSwitch:i.value,contentTransition:u.value,watermarkSwitch:c.value,keepAliveConfig:m.value,menuConfig:p.value,drawerPlacement:w.value,colorWeakness:g.value,primaryColorOverride:a.value,watermarkConfig:b.value,dynamicDocumentTitle:f.value,throttleSetupAppMenu:_}),y=()=>{e({preset:"dialog",title:"恢复默认配置",type:"warning",content:"点击【确认初始化】按钮会恢复默认系统配置,是否继续?",positiveText:"确认初始化",negativeText:"取消",onPositiveClick:()=>{po(Ee(In()),(S,C)=>{d[C]=S,t(C,S)}),_()}})};return Cn(Ye,d),{changePrimaryColor:n,getAppTheme:o,getPrimaryColorOverride:a,updateSettingState:t,modelReactive:d,defaultSettingBtnClick:y}},render(){const{defaultSettingBtnClick:e,$props:n}=this,{trapFocus:t,autoFocus:o,nativeScrollbar:a,...l}=n;return r(bn,N(l,{trapFocus:!1,autoFocus:!1,width:320}),{default:()=>[r(Do,{title:"个性化配置",closable:!0},{default:()=>r(hn,{type:"bar",animated:!0,defaultValue:"appearance"},{default:()=>[r(Qe,{name:"appearance",tab:"外观"},{default:()=>[r(ds,null,null)]}),r(Qe,{name:"menu",tab:"菜单"},{default:()=>[r(fs,null,null)]}),r(Qe,{name:"watermark",tab:"水印"},{default:()=>[r(ms,null,null)]}),r(Qe,{name:"common",tab:"通用"},{default:()=>[r(ps,null,null)]})]}),footer:()=>r(I,{justify:"flex-start"},{default:()=>[r(Z,{type:"warning",onClick:e},{icon:()=>r(M,{name:"reload"},null),default:()=>"初始化配置"})]})})]})}});function hs(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const ys=x({name:"SiderBarBreadcrumb",setup(){const{changeMenuModelValue:e}=Be(),{getBreadcrumbOptions:n}=Oe(),{isTabletOrSmaller:t}=Xe();return{getBreadcrumbOptions:n,dropdownSelect:(l,s)=>{e(l,s)},breadcrumbItemClick:l=>{var s;if(!((s=l.children)!=null&&s.length)){const{meta:i={}}=l;i.sameLevel||e(l.fullPath,l)}},isTabletOrSmaller:t}},render(){let e;const{isTabletOrSmaller:n,getBreadcrumbOptions:t}=this,{dropdownSelect:o,breadcrumbItemClick:a}=this;return n?r("div",{style:"display: none;"},null):r(Lo,null,{default:()=>[r(Ca,{tag:"li",name:"breadcrumb",appear:!0},hs(e=t.map(l=>r(zo,{key:l.fullPath,onClick:a.bind(this,l)},{default:()=>{var s;return[r(ze,{labelField:"breadcrumbLabel",keyField:"fullPath",options:l.children&&((s=l.children)==null?void 0:s.length)>1?l.children:[],onSelect:o.bind(this)},{default:()=>r("span",null,[l.label&&typeof l.label=="function"?l.label():l.breadcrumbLabel])})]}})))?e:{default:()=>[e]})]})}});function Tt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const bs=x({name:"GlobalSearch",props:{show:{type:Boolean,default:!1}},emits:["update:show"],setup(e,{emit:n}){const{changeMenuModelValue:t,resolveOption:o}=Be(),{getRoutes:a}=Ge(),l=T({get:()=>e.show,set:v=>{n("update:show",v),v||g()}}),s=re({searchValue:null,searchOptions:[]}),i=[{icon:["↑","↓"],label:"切换",plain:!0},{icon:["↵"],label:"选择",plain:!0},{icon:["esc"],label:"关闭",plain:!0}];let u=0,c=u;const{isTabletOrSmaller:m}=Xe({observer:v=>{v&&(l.value=!1)}}),p=j(!1),w="content-item--active",g=()=>{s.searchOptions=[],s.searchValue=null,u=0,c=u},b=v=>{l.value||(v.ctrlKey||v.metaKey)&&v.key==="k"&&(v.preventDefault(),v.stopPropagation(),g(),l.value=!0)},f=v=>{if(v)p.value=!0;else{p.value=!1,s.searchOptions=[];return}const A=a().reduce((k,E)=>{var $;const O=Ne(E,["children","meta","path","name"]),P=o({...O,fullPath:E.path}),{breadcrumbLabel:F}=P;return($=F==null?void 0:F.toLocaleLowerCase())!=null&&$.includes(v.toLocaleLowerCase())&&Ln(P)&&k.push(P),k},[]);setTimeout(()=>{s.searchOptions=A,ne().then(()=>{_()}),p.value=!1},300)},h=v=>{if(v){const{meta:A}=v;A.windowOpen?window.open(A.windowOpen):(l.value=!1,t(v.fullPath,v),setTimeout(xn,300))}},_=()=>{const v=s.searchOptions[u],A=s.searchOptions[c];v&&ne().then(()=>{const k=Ke(`attr:data_path="${v.path}"`),E=A?Ke(`attr:data_path="${A==null?void 0:A.path}"`):null;if(E!=null&&E.length){const[O]=E;ra(O,w)}if(k!=null&&k.length){const[O]=k;Pn(O,w)}})},d=v=>{const{icon:A}=v;return typeof A=="string"&&A?r(M,{name:A,size:"24"},null):typeof A=="function"?r(A,null,null):r(M,{name:"search",size:"24"},null)},y=v=>{v==="up"&&(u-=1,u<0&&(u=s.searchOptions.length-1)),v==="down"&&(u+=1,u>=s.searchOptions.length&&(u=0))},S=v=>{const A=v.key;switch((A==="ArrowUp"||A==="ArrowDown"||A==="Enter")&&(v.preventDefault(),v.stopPropagation()),c=u<=0?0:u,A){case"ArrowUp":y("up");break;case"ArrowDown":y("down");break;case"Enter":const k=s.searchOptions[u];k&&h(k);break}_()},C=({menuOption:v})=>r(I,N({align:"center",class:"content-item"},{onClick:h.bind(this,v),data_path:v.path}),{default:()=>[r("div",{class:"content-item-icon"},[d(v.meta)]),r("div",{class:"content-item-label"},[v.breadcrumbLabel]),r(M,{name:"enter",size:"18",customClassName:"content-item-icon__enter"},null)]});return $e(window,"keydown",b),{...we(s),modelShow:l,helperTipOptions:i,fuzzySearchMenuOptions:Et(f,300),searchItemClick:h,RenderPreIcon:d,isTabletOrSmaller:m,SearchItem:C,loading:p,registerChangeSearchElementIndex:S}},render(){const{isTabletOrSmaller:e,searchOptions:n,loading:t}=this,{SearchItem:o,fuzzySearchMenuOptions:a,registerChangeSearchElementIndex:l}=this;return e?r("div",{style:"display: none;"},null):r(fn,{show:this.modelShow,"onUpdate:show":s=>this.modelShow=s,transformOrigin:"center",displayDirective:"if"},{default:()=>[r("div",{class:"global-search global-search--dark global-search--light",tabindex:"-1",onKeydown:l},[r("div",{class:"global-search__wrapper"},[r(De,{class:"global-search__card",headerStyle:{padding:"12px 12px 0 12px"},contentStyle:{padding:"12px"},segmented:{action:"soft"}},{header:()=>r(zt,{size:"large",value:this.searchValue,"onUpdate:value":s=>this.searchValue=s,clearable:!0,onInput:a.bind(this)},{prefix:()=>r(M,{name:"search",size:"24"},null)}),default:()=>{let s;return r(Dt,null,{default:()=>[r(pt,{show:t},{default:()=>[n.length?r(I,{vertical:!0,size:[0,6],class:"global-search__card-content"},Tt(s=n.map((i,u)=>r(o,{menuOption:i,key:i.fullPath},null)))?s:{default:()=>[s]}):r(Io,{size:"large",class:"global-search__empty"},{icon:()=>null,default:()=>r(I,{justify:"center",class:"global-search__empty-content"},{default:()=>[r(vn,null,{default:()=>[q("没有搜索结果")]})]})})]})]})},action:()=>{let s;return r(I,{justify:"flex-start",align:"center",size:[16,0]},Tt(s=this.helperTipOptions.map(i=>r(I,{key:i.label,size:[4,0]},{default:()=>[i.icon.map(u=>r(I,{class:"item-icon",align:"center",justify:"center"},Tt(u)?u:{default:()=>[u]})),r(I,{class:"item-label",align:"center"},{default:()=>[i.label]})]})))?s:{default:()=>[s]})}})])])]})}}),vs=x({name:"GlobalSearchButton",props:{onClick:{type:[Function,Array],default:null}},setup(e){return{getShortcutKeyAboutSystem:()=>{const o=sa();return o==="MacOS"?"⌘ + K":"CTRL + K"},click:o=>{const{onClick:a}=e;a&&B(a,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(M,{name:"search",size:"16"},null),default:()=>r(I,{align:"center"},{default:()=>[t("headerTooltip.Search"),r("div",{class:"global-search-btn__label"},[e()])]})})}}),Qn=x({name:"AppAvatar",props:{...Fo,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}=Yn();return{getSigningCallback:e}},render(){const{getSigningCallback:e,avatarSize:n,spaceSize:t,$props:o,vertical:a}=this;return r(Z,{quaternary:!0,strong:!0,focusable:!1},{default:()=>[r(I,{align:"center",size:t,vertical:a},{default:()=>[r(Bo,N(o,{src:e==null?void 0:e.avatar,objectFit:"cover",round:!0,size:n}),{default:()=>{var l;return e.avatar?null:(l=e==null?void 0:e.name)==null?void 0:l[0]}}),e==null?void 0:e.name]})]})}}),_s=()=>[{key:"person",label:"个人信息"},{key:"lockScreen",label:"锁定屏幕"},{type:"divider",key:"d1"},{key:"logout",label:"退出登陆"}],Ss={logout:()=>{const{logout:e}=Xn();window.$dialog.warning({title:"提示",content:"您确定要退出登录吗",positiveText:"确定",negativeText:"不确定",onPositiveClick:()=>{e()}})},lockScreen:()=>{const{updateSettingState:e}=W();e("lockScreenSwitch",!0)}},ws=e=>{const n=Ss[e];n?n():window.$message.info("这个人很懒, 没做这个功能~")},Cs=e=>{const{isTabletOrSmaller:n}=e,t=[],o=[{name:"menu",size:18,eventKey:"menu"}];return n.value?o:t},Ts=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],a=[...t];return n.value?a:o},Os=x({name:"AppSiderBar",setup(){const{updateLocale:e,updateSettingState:n}=W(),{t}=He(),[o,{toggleFullscreen:a,isEnabled:l}]=On(document.getElementsByTagName("html")[0]),{getDrawerPlacement:s,getBreadcrumbSwitch:i}=J(),u=j(!1),c=j(!1),{isTabletOrSmaller:m}=Xe(),p=gt("globalDrawerValue"),w=T(()=>Cs({isFullscreen:o,isTabletOrSmaller:m})),g=T(()=>Ts({isFullscreen:o,isTabletOrSmaller:m})),b={search:()=>{c.value=!0},setting:()=>{u.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},fullscreen:()=>{l||window.$message.warning(t("globalMessage.isEnabledFullscreen")),a()},lock:()=>{n("lockScreenSwitch",!0)},menu:()=>{me("globalDrawerValue",!p.value)}};return{leftIconOptions:w,rightTooltipIconOptions:g,toolIconClick:_=>{var d;(d=b[_])==null||d.call(b)},showSettings:u,updateLocale:e,getDrawerPlacement:s,getBreadcrumbSwitch:i,globalSearchShown:c,isRenderVNode:_=>m.value?null:_}},render(){const{rightTooltipIconOptions:e,leftIconOptions:n,getDrawerPlacement:t,getBreadcrumbSwitch:o}=this,{toolIconClick:a,updateLocale:l,isRenderVNode:s}=this;return r(_n,{class:"layout-header"},{default:()=>[r(bs,{show:this.globalSearchShown,"onUpdate:show":i=>this.globalSearchShown=i},null),r(I,{class:"layout-header__method",align:"center",justify:"space-between",wrap:!1},{default:()=>[r(I,{align:"center",wrap:!1},{default:()=>[n.map(i=>r(us,{key:i.name,iconName:i.name,tooltipText:wn(i.tooltip)?i.tooltip.value:i.tooltip,customClassName:i.iconClass,onClick:a.bind(this,i.name)},null)),o?r(ys,null,null):null]}),r(I,{justify:"end",align:"center",size:[0,0],wrap:!1},{default:()=>[s(r(vs,{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:a.bind(this,i.name),focusable:!1},{default:()=>[r(M,{name:i.name,size:16,cursor:"pointer"},null)]})),r(ze,{options:En,onSelect:i=>l(String(i)),trigger:"click"},{default:()=>[r(Z,{quaternary:!0,class:"override-button__layout",focusable:!1},{default:()=>[r(M,{customClassName:"layout-header__method--icon",name:"language",size:"16",cursor:"pointer"},null)]})]}),r(ze,{options:_s(),onSelect:ws.bind(this),trigger:"click"},{default:()=>[r(Qn,{avatarSize:24,spaceSize:[8,0],class:"override-button__layout"},null)]})]})]}),r(gs,{show:this.showSettings,"onUpdate:show":i=>this.showSettings=i,placement:t},null)]})}}),ks=x({name:"LayoutHeaderWrapper",setup(){return{}},render(){return r(I,{size:[0,0]},{default:()=>[r(Os,null,null)]})}});function As(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!he(e)}const Ps=x({name:"AppMenuTag",setup(e,{expose:n}){const t=ie("scrollRef"),{getMenuKey:o,getMenuTagOptions:a}=Oe(),{changeMenuModelValue:l}=Be(),{getRootPath:s}=Je(),{maximize:i}=to(),{reload:u}=Bs(),{close:c,closeAll:m,closeRight:p,closeLeft:w,closeOther:g,checkCloseLeft:b,checkCloseRight:f}=no(),h=["closeAll","closeRight","closeLeft","closeOther"];let _=1/0;const d={size:16},y=j([{label:"关闭当前页面",key:"closeCurrentPage",icon:()=>r(M,{name:"close",size:d.size},null)},{label:"最大化当前页面",key:"maximizeLayoutContent",icon:()=>r(M,{name:"fullscreen_fold",size:d.size},null)},{label:"刷新当前页面",key:"reloadCurrentPage",icon:()=>r(M,{name:"reload",size:d.size},null)},{label:"新窗口打开",key:"windowOpenTab",icon:()=>r(M,{name:"shared",size:d.size},null)},{type:"divider",key:"d1"},{label:"关闭左侧标签页",key:"closeLeft",icon:()=>r(M,{name:"close_left",size:d.size},null)},{label:"关闭右侧标签页",key:"closeRight",icon:()=>r(M,{name:"close_right",size:d.size},null)},{type:"divider",key:"d1"},{label:"关闭其他标签页",key:"closeOther",icon:()=>r(M,{name:"close_other",size:d.size},null)},{label:"关闭所有标签页",key:"closeAll",icon:()=>r(M,{name:"resize_h",size:d.size},null),disabled:!1}]),S=ct(16),C={closeCurrentPage:()=>{o.value!==s.value&&c(_)},reloadCurrentPage:()=>{u()},closeAll:()=>{m()},closeRight:()=>{p(_)},closeLeft:()=>{w(_)},closeOther:()=>{g(_)},windowOpenTab:()=>{const R=a.value[_];if(!(R!=null&&R.fullPath))return;const D=R.fullPath.startsWith("#")?R.fullPath:`#${R.fullPath}`;window.open(D,"_blank")},maximizeLayoutContent:()=>{const R=a.value[_];i(!0),R&&Y(R)}},v=re({x:0,y:0,actionDropdownShow:!1}),A="menu_tag_data",k=gt("globalMainLayoutLoad"),E="n-scrollbar-container";let O=o.value;const P=j(!1),F=R=>{c(R)},$=(R,D)=>{for(const Q of y.value)if(Q.key===R){Q.disabled=D;break}},Y=R=>{v.actionDropdownShow=!1,l(R.fullPath,R)},G=()=>{const R=document.getElementById(S);if(R)return Array.from(R.childNodes).find(Ze=>ia(Ze,E).value)},ye=R=>{var Q;const D=G();if(D){const Ze=D.scrollLeft||0,Ut=R==="left"?Math.max(0,Ze-200):Ze+200;(Q=t.value)==null||Q.scrollTo({left:Ut,behavior:"smooth"})}},ke=R=>{v.actionDropdownShow=!1;const D=C[R];D==null||D()},ae=(R,D)=>{D.preventDefault(),_=R,v.actionDropdownShow=!1,ne(()=>{v.x=D.clientX,v.y=D.clientY,v.actionDropdownShow=!0})},Nt=()=>{f(_)?$("closeRight",!1):$("closeRight",!0),b(_)?$("closeLeft",!1):$("closeLeft",!0)},ao=()=>{_=a.value.findIndex(D=>D.fullPath===o.value),Nt()},lo=R=>{a.value.length>1&&R.fullPath!==s.value&&(R.closeable=!0),P.value=!0},ro=R=>{R.fullPath!==o.value&&(R.closeable=!1),P.value=!1},so=()=>{G()&&ne().then(()=>{var D;(D=t.value)==null||D.scrollTo({left:99999,behavior:"smooth"})})},ht=()=>{ne().then(()=>{const R=Ke(`attr:${A}="${o.value}"`);if(R!=null&&R.length){const[D]=R;ne().then(()=>{var Q;(Q=t.value)==null||Q.scrollTo({left:D.offsetLeft,behavior:"smooth"})})}})},io=()=>{i(!0)};return qe(()=>a.value,(R,D)=>{y.value.forEach(Q=>{h.includes(Q.key)&&(R.length>1?Q.disabled=!1:Q.disabled=!0)}),D!=null&&D.length&&(R.length>(D==null?void 0:D.length)?so():R.length===(D==null?void 0:D.length)&&ht()),D===void 0&&ht()},{immediate:!0}),de(()=>{v.actionDropdownShow&&Nt(),O!==o.value&&(O=o.value,ht())}),n(),{getMenuTagOptions:a,closeCurrentMenuTag:F,getMenuKey:o,menuTagClick:Y,moreOptions:y,scrollX:ye,scrollRef:t,uuidScrollBar:S,actionDropdownSelect:ke,actionState:v,menuTagContextMenu:ae,setCurrentContextmenuIndex:ao,menuTagMouseenter:lo,menuTagMouseleave:ro,MENU_TAG_DATA:A,iconConfig:d,maximize:i,reload:u,globalMainLayoutLoad:k,maximizeBtnClick:io,isMouseInMenuTag:P}},render(){let e;const{iconConfig:n,uuidScrollBar:t,getMenuTagOptions:o,MENU_TAG_DATA:a,globalMainLayoutLoad:l,isMouseInMenuTag:s}=this,{maximizeBtnClick:i,closeCurrentMenuTag:u,scrollX:c,$t:m,menuTagClick:p,menuTagContextMenu:w,menuTagMouseenter:g,menuTagMouseleave:b,actionDropdownSelect:f,reload:h}=this;return r(_n,null,{default:()=>[r("div",{class:"menu-tag"},[r(ze,{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:f.bind(this),onClickoutside:()=>{s||(this.actionState.actionDropdownShow=!1)}},null),r(I,{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(M,{name:"expanded",width:n.size,height:n.size,customClassName:"menu-tag__left-arrow"},null)}),r(Dt,N({xScrollable:!0,ref:"scrollRef"},{id:t},{themeOverrides:{width:"0px",height:"0px"}}),{default:()=>[r(I,{class:"menu-tag-wrapper",wrap:!1,align:"center",justify:"start"},As(e=o.map((_,d)=>r(Z,N({key:_.fullPath,class:["menu-tag__btn"],strong:!0,secondary:!0,type:_.fullPath===this.getMenuKey?"primary":"default"},{onClick:p.bind(this,_),onContextmenu:w.bind(this,d),onMouseenter:g.bind(this,_),onMouseleave:b.bind(this,_),[a]:_.fullPath},{size:"small",focusable:!1,iconPlacement:"right"}),{default:()=>r(Tn,null,[r("span",null,{default:()=>{const{breadcrumbLabel:y,meta:{i18nKey:S}}=_;return S?m(S):y}})]),icon:()=>r(M,N({customClassName:"menu-tag__btn-icon",name:"close",size:"15"},{onMousedown:u.bind(this,d)}),null)})))?e:{default:()=>[e]})]}),r(I,{align:"center",inline:!0,wrap:!1,size:[0,0]},{default:()=>[r(Z,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:c.bind(this,"right")},{icon:()=>r(M,{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(M,{name:"fullscreen_fold",width:n.size,height:n.size},null)}),r(Z,{quaternary:!0,class:"override-button__menu-tag",focusable:!1,onClick:()=>{h()}},{icon:()=>r(M,{name:"reload",width:n.size,height:n.size,customClassName:`${l?"":"menu-tag__right-setting--spinning"}`},null)}),r(jn,{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(M,{name:"more",width:n.size,height:n.size},null)})]})]})]})])]})}}),Rs=x({name:"LayoutFeatureWrapper",setup(){return{}},render(){return r(Ps,null,null)}}),xs={lockPassword:{required:!0,message:"请输入正确格式密码",min:6,max:12,trigger:["input"]}},sn=()=>({lockPassword:null}),un=$o(K.isAppLockScreen,!1,window.localStorage,{mergeDefaults:!0}),eo=()=>({setLockAppScreen:t=>{un.value=t},getLockAppScreen:()=>un.value}),Ms=x({name:"UnlockScreen",setup(){const[e,{validate:n}]=Dr(),{logout:t}=Xn(),{updateSettingState:o}=W(),{setLockAppScreen:a}=eo(),{isTabletOrSmaller:l}=Xe(),s="HH:mm",i="A",u="YYYY-MM-DD",c="ddd",m=re({lockCondition:sn(),HH_MM:H().format(s),AM_PM:H().format(i),YY_MM_DD:H().format(u),DDD:H().format(c)}),p=setInterval(()=>{m.HH_MM=H().format(s),m.AM_PM=H().format(i)},6e3),w=setInterval(()=>{m.YY_MM_DD=H().format(u),m.DDD=H().format(c)},864e5),g=()=>{ce(K.appLockScreenPasswordKey,"localStorage"),o("lockScreenSwitch",!1),setTimeout(()=>{t()},100)},b=()=>{window.$dialog.warning({title:"警告",content:"是否返回到登陆页并且重新登录",positiveText:"确定",negativeText:"重新登录",onPositiveClick:g})},f=()=>{const h=Le(K.appLockScreenPasswordKey,"localStorage");if(!h){window.$dialog.warning({title:"警告",content:()=>"检测到锁屏密码被修改,请重新登录",closable:!1,maskClosable:!1,closeOnEsc:!1,positiveText:"重新登录",onPositiveClick:g});return}const _=ua(h);n().then(()=>{_===m.lockCondition.lockPassword?(a(!1),o("lockScreenSwitch",!1),ce(K.appLockScreenPasswordKey,"localStorage"),m.lockCondition=sn()):window.$message.warning("密码错误,请重新输入")})};return Lt(()=>{clearInterval(p),clearInterval(w)}),{...we(m),backToSigning:b,unlockScreen:f,isTabletOrSmaller:l,register:e}},render(){const{isTabletOrSmaller:e}=this,{HH_MM:n,AM_PM:t,YY_MM_DD:o,DDD:a}=this,l=n.split(":"),{unlockScreen:s,backToSigning:i,register:u}=this;return r("div",{class:"app-lock-screen__content app-lock-screen__content--full"},[r("div",{class:"app-lock-screen__unlock"},[r("div",{class:"app-lock-screen__unlock__content"},[r("div",{class:"app-lock-screen__unlock__content-wrapper"},[r("div",{class:["app-lock-screen__unlock__content-bg__wrapper","app-lock-screen__unlock__content-bg",e?"app-lock-screen__unlock__content-bg--smaller":""]},[r("div",{class:"left"},[l[0]]),r("div",{class:"right"},[l[1]])])]),r("div",{class:"app-lock-screen__unlock__content-avatar"},[r(Qn,{avatarSize:52,style:"pointer-events: none;",vertical:!0},null)]),r("div",{class:"app-lock-screen__unlock__content-input"},[r(Un,{onRegister:u,model:this.lockCondition,rules:xs},{default:()=>[r(L,{path:"lockPassword"},{default:()=>[r(zt,{autofocus:!0,value:this.lockCondition.lockPassword,"onUpdate:value":c=>this.lockCondition.lockPassword=c,type:"password",placeholder:"请输入解锁密码",clearable:!0,minlength:6,onKeydown:c=>{c.code==="Enter"&&s()}},null)]}),r(I,{justify:"space-between"},{default:()=>[r(Z,{type:"primary",text:!0,onClick:i.bind(this)},{default:()=>[q("返回登陆")]}),r(Z,{type:"primary",text:!0,onClick:s.bind(this)},{default:()=>[q("进入系统")]})]})]})]),r("div",{class:"app-lock-screen__unlock__content-date"},[r("div",{class:"current-year"},[o,q(" "),r("span",null,[a]),q(" "),r("span",null,[t])])])])])])}}),Es=e=>{const n=bt(e[0]),t=bt(e[1]),o=bt(e[2]);return T(()=>({"--window-width":"var(--html-width)","--window-height":"var(--html-height)","--layout-content-height":`calc(var(--html-height) - ${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`}))},Ds=x({name:"RLayout",setup(){const e=oe(),n=oe(),t=oe(),{getMenuTagSwitch:o,getCopyrightSwitch:a}=J(),{getLockAppScreen:l}=eo(),s=Es([e,n,t]);return{getMenuTagSwitch:o,cssVarsRef:s,getLockAppScreen:l,layoutSiderBarRef:e,layoutMenuTagRef:n,layoutFooterRef:t,getCopyrightSwitch:a}},render(){const{getMenuTagSwitch:e,cssVarsRef:n,getCopyrightSwitch:t}=this,{getLockAppScreen:o}=this;return o()?r(Ms,null,null):r(Vo,{class:"r-layout-full",style:[n],hasSider:!0,embedded:!0},{default:()=>[r(ns,null,null),r(Ht,{class:"r-layout-full__viewer"},{default:()=>[r(ks,{ref:"layoutSiderBarRef"},null),e?r(Rs,{ref:"layoutMenuTagRef"},null):null,r(Ht,{ref:xe,class:["r-layout-full__viewer-content"],nativeScrollbar:!1},{default:()=>[r(Zn,null,null)]}),t?r(is,{ref:"layoutFooterRef"},null):null]})]})}}),zs=[{path:"/",name:"RLogin",component:()=>z(()=>import("./index-mSHWlsCH.js"),__vite__mapDeps([98,42,22,23,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,48,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,82,83,84,40,41,59,43,44,45,46,47,49,50,51,52,53,54,55,56,99]))},{path:"/",name:"RLayout",component:Ds,children:[...Yr(),{path:"/:catchAll(.*)",component:()=>z(()=>import("./index-BCyJGjGS.js"),__vite__mapDeps([100,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,48,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,49,50,51,52,53,54,55,56,101])),meta:{i18nKey:V("menu.Error"),icon:"error",hidden:!0,sameLevel:!0}}]}],dt=Sa({history:wa(),routes:zs,scrollBehavior:e=>{ar(e)}}),Fi=e=>{e.use(dt),Zr(dt)},jt=()=>dt?{router:dt}:{router:{}},cn="YYYY-MM-DD HH:mm:ss",Ls=()=>({locale:s=>{const i=Qa[s];i?H.locale(i):H.locale(el)},getStartAndEndOfDay:s=>{const{format:i=cn}=s??{},u=H(),c=u.startOf("day"),m=u.endOf("day"),p=u.format(i),w=c.format(i),g=m.format(i);return{today:u,startOfDay:c,endOfDay:m,formatToday:p,formatStartOfDay:w,formatEndOfDay:g}},format:(s,i)=>{const{format:u=cn}=i??{};return H(s).format(u)},isDayjs:s=>H.isDayjs(s),daysDiff:(s,i)=>{const u=H(s);return H(i).diff(u,"days")},isDateInRange:(s,i)=>{const{start:u,end:c}=i,m=H(s);return m.isAfter(u)&&m.isBefore(c)}});function Xe(e){const{width:n,height:t}=Ko(e),o=j(!1),{observer:a}=e??{};return ca(()=>{const{media:s=768}=e??{};o.value=n.value<=s,a==null||a(o.value,{width:n.value,height:t.value})}),{width:n,height:t,isTabletOrSmaller:ve(o)}}let ot=999,Ot=!1;const be="ELEMENT-FULLSCREEN-RAY",dn=document.createElement("style"),Is=(e,n)=>{const{beforeEnter:t,beforeExit:o,enter:a,exit:l,backgroundColor:s,zIndex:i,transition:u="transform 0.3s var(--r-bezier)"}=n??{};let c=!1;const m={x:null,y:null},p=j(!1),w=()=>{const h=se(e);if(!h)return;const{left:_,top:d}=h.getBoundingClientRect();m.x===null&&m.y===null&&(m.x=-_,m.y=-d),ut(document.body,{"--element-fullscreen-z-index":ge(i,"Null")||ge(i,"Undefined")?ot:i,"--element-fullscreen-transition":u,"--element-fullscreen-background-color":s,"--element-fullscreen-width":"var(--html-width)","--element-fullscreen-height":"var(--html-height)","--element-fullscreen-transform-x":`${m.x}px`,"--element-fullscreen-transform-y":`${m.y}px`});const y=` + [${be}] { + 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); + } + `.trim();dn.innerHTML=y,Ot||document.head.appendChild(dn)},g=()=>{const h=se(e);t==null||t(),h&&(h.getAttribute(be)||h.setAttribute(be,be),c||(c=!0,ot+=1),Ot||(w(),Ot=!0),h.style.transition=u,p.value=!0,a==null||a())},b=()=>{o==null||o();const h=se(e);h&&h.removeAttribute(be),p.value=!1,l==null||l()},f=()=>{const h=se(e);h&&(h.getAttribute(be)?b():g())};return Ft(()=>{const h=se(e);h&&h.removeAttribute(be),ot=Math.max(999,ot-1),p.value=!1}),{enter:g,exit:b,toggleFullscreen:f,isFullscreen:ve(p)}},kt={svg:ma,png:fa,jpeg:ga,blob:ha,pixelData:ya,canvas:ba},Bi=(e,n)=>{const{beforeCreate:t,created:o,createdError:a,finally:l,imageType:s}=n;return{create:u=>new Promise((c,m)=>{var g;const p=se(e);if(t==null||t(p),!p)return a==null||a(),m("[useDomToImage]: target element is undefined.");(g=kt[u??s??"jpeg"])==null||g.call(kt,p,n).then(b=>(o==null||o(b,p),c(b))).catch(b=>(a==null||a(b),m(b))).finally(()=>{l==null||l(p)})})}},Vi=(e,n)=>({print:()=>{const o=se(e)||e;ea({...We(n,["printable"]),printable:o})}}),at={page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50,100]},Fs=(e,n)=>{const t=T(()=>({...at,...We(n,["on-update:page","on-update:page-size","onUpdatePage","onUpdatePageSize","onUpdate:page","onUpdate:page-size","onUpdate:pageSize"]),...a})),o=oe(e),a={onUpdatePage:d=>{var S;const{pageChange:y}=t.value;l.value.page=d,(S=o.value)==null||S.call(o),y==null||y(d)},onUpdatePageSize:d=>{var S;const{pageSizeChange:y}=t.value;l.value.pageSize=d,l.value.page=at.page,(S=o.value)==null||S.call(o),y==null||y(d)}},l=j(t.value),s=l.value.onUpdatePage,i=l.value.onUpdatePageSize,u=()=>l.value.itemCount,c=d=>{l.value.itemCount=d},m=()=>l.value.page,p=d=>{s(d)},w=()=>l.value.pageSize,g=d=>{i(d)},b=()=>l.value,f=o.value,h=d=>{o.value=d},_=()=>{const{pageSizes:d}=l.value;l.value.page=at.page,l.value.pageSize=(d==null?void 0:d[0])||at.pageSize};return Ft(()=>{o.value=void 0}),[l,{getItemCount:u,setItemCount:c,getPage:m,setPage:p,getPageSize:w,setPageSize:g,getPagination:b,getCallback:f,setCallback:h,resetPagination:_}]},to=()=>({isLayoutContentMaximized:T(()=>gt("layoutContentMaximize").value),maximize:(t,o)=>{var i;const{scrollToOptions:a}=o??{},l=se(xe),{toggleFullscreen:s}=Is(l,o);me("layoutContentMaximize",t),s(),a&&t&&((i=xe==null?void 0:xe.value)==null||i.scrollTo(a))}}),Bs=()=>({reload:(o=800)=>{me("globalMainLayoutLoad",!1),setTimeout(()=>me("globalMainLayoutLoad",!0),o)},openSpin:()=>{me("layoutContentSpinning",!0)},closeSpin:()=>{me("layoutContentSpinning",!1)}}),ji=()=>({setWatermarkContent:a=>{const{getWatermarkConfig:l}=J(),s=Object.assign({},l.value,{content:a}),{updateSettingState:i}=W();i("watermarkConfig",s)},showWatermark:()=>{const{updateSettingState:a}=W();a("watermarkSwitch",!0)},hiddenWatermark:()=>{const{updateSettingState:a}=W();a("watermarkSwitch",!1)},toggleWatermark:()=>{const{getWatermarkSwitch:a}=J(),{updateSettingState:l}=W();l("watermarkSwitch",!a.value)}}),lt=e=>{const{getPrimaryColorOverride:n}=J(),{updateSettingState:t}=W();t("primaryColorOverride",e?st({},n.value,Se.appNaiveUIThemeOverrides.dark):st({},n.value,Se.appNaiveUIThemeOverrides.light))},Ni=()=>{const e=()=>{const{getAppTheme:l}=J(),{t:s}=He();return{theme:l.value,themeI18nLabel:l.value?s("headerSettingOptions.ThemeOptions.Dark"):s("headerSettingOptions.ThemeOptions.Light"),themeLabel:l.value?"Dark":"Light"}};return{darkTheme:()=>{const{updateSettingState:l}=W();l("_appTheme",!0),l("appTheme","dark"),lt(!0)},lightTheme:()=>{const{updateSettingState:l}=W();l("_appTheme",!1),l("appTheme","light"),lt(!1)},toggleTheme:()=>{const{theme:l}=e(),{updateSettingState:s}=W();s("_appTheme",!l),s("appTheme",l?"light":"dark"),lt(!l)},getAppTheme:e,syncSystemTheme:()=>{const{getAppTheme:l}=J(),{updateSettingState:s}=W(),{system:i}=Sn();s("_appTheme",i.value==="dark"),s("appTheme","auto"),lt(l.value)}}},Pe=(e,n)=>{const{getMenuTagOptions:t}=Oe();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(a=>a.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,a=t.value.findIndex(l=>l.fullPath===o);if(a===-1){console.warn(`${n}: The incoming menuTag option ${e.fullPath} did not match the corresponding item.`);return}return{option:e,index:a}}};function no(){const{getMenuTagOptions:e,getMenuKey:n}=Oe(),{changeMenuModelValue:t,spliceMenTagOptions:o,setMenuTagOptions:a,resolveOption:l}=Be(),s=()=>e.value.findIndex(b=>b.fullPath===n.value),i=b=>{const f=Pe(b,"checkCloseRight");if(f){const{index:h}=f,_=e.value.length-1;return!(h>=_)}return!1},u=b=>{const f=Pe(b,"checkCloseRight");if(f){const{index:h}=f,_=e.value.length-1;return h===0?!1:h>0&&_>0}return!1};return{close:b=>{const f=Pe(b,"close");if(e.value.length!==1&&f){const{index:h,option:_}=f;if(o(h),_.fullPath===n.value){let d=u(h)?h-1:i(h)?h:h-1;d<0&&(d=0);const y=e.value[d];y&&t(y.fullPath,y)}}},closeAll:()=>{o(0,e.value.length);const{getRootPath:b}=Je(),{router:{getRoutes:f}}=jt(),h=f().find(_=>_.path===b.value);if(h){const _=Ne(h,Mt),d=l(_);t(d.path,l({...d,fullPath:d.path}))}},closeRight:b=>{const f=Pe(b,"closeRight");if(f){const{option:h,index:_}=f,d=e.value.length-_,y=s();o(_+1,d),_<=y&&n.value!==h.fullPath&&t(h.fullPath,h)}},closeLeft:b=>{const f=Pe(b,"closeLeft");if(f){const{option:h,index:_}=f,d=s();o(0,_),d<=_&&n.value!==h.fullPath&&t(h.fullPath,h)}},closeOther:b=>{const f=Pe(b,"closeOther");if(f){const{option:h}=f;n.value!==h.fullPath?(o(0,e.value.length),t(h.fullPath,h)):a(h,!1)}},getCurrentTagIndex:s,checkCloseRight:i,checkCloseLeft:u}}function Ui(){return{navigationTo:(n,t)=>{const{router:{getRoutes:o,push:a,replace:l}}=jt(),{isPush:s=!0,query:i}=t||{},u=c=>s?a({path:c,query:i}):l({path:c,query:i});if(typeof n=="number"){if(isNaN(n)){console.warn(`[navigationTo]: The ${n} is NaN, expect number.`);return}const{getMenuOptions:c}=Oe();if(n>c.value.length){console.warn(`[navigationTo]: The current ${n} exceeds the maximum number of menus.`);return}const m=c.value[n],p=w=>{if(w.children&&w.children.length>0){const{children:[g]}=w;p(g);return}u(w.fullPath)};p(m)}else if(typeof n=="string"){const c=o().find(m=>m.path===n);c?u(c.path):console.warn(`[navigationTo]: The path "${n}" is not found.`)}else u(n.fullPath)}}}function Je(){const{getAppRootRoute:e}=J(),{updateSettingState:n}=W(),t=e,o=T(()=>e.value.path),a=T(()=>e.value.name);return{getRootRoute:t,getRootPath:o,getRootName:a,setRootRoute:s=>{n("appRootRoute",Object.assign({},e.value,s))}}}const Vs=(e,n)=>{const{show:t,...o}=n;e.meta.extra=Object.assign({},e.meta.extra,{...o,show:t}),e.extra=Kn(e)},pn=(e,n,t)=>{const o=qn(e,n);o&&Vs(o,t)},At=(e,n,t)=>{const{getMenuOptions:o}=Oe();if(typeof e=="string")pn(o.value,e,t);else if(ge(e,"Object")){const{fullPath:a}=e;pn(o.value,a,t)}else console.warn(`[useBadge ${n}]: target expect string or object.`)};function $i(){return{hidden:o=>{At(o,"hidden",{show:!1})},show:(o,a)=>{At(o,"show",{...a,show:!0})},update:(o,a)=>{At(o,"update",a)}}}const Ki=()=>{const e=Dn.value,{scrollTo:n}=e||{};if(!n)throw new Error("[useSiderScroll]: LAYOUT_SIDER_REF is not ready yet. please wait component mounted!");return n},oo=()=>Le(K.localeLanguage,"localStorage",{defaultValue:Ja});export{Ls as $,bi as A,En as B,_t as C,Qa as D,fi as E,xi as F,Ya as G,Si as H,Ti as I,Oi as J,ki as K,Dn as L,hi as M,Di as N,zi as O,Ai as P,Fs as Q,Un as R,es as S,Ci as T,Pr as U,yr as V,Vr as W,Ei as X,Ri as Y,Mi as Z,z as _,Bi as a,as as a0,Ii as a1,_i as a2,Rr as a3,jn as a4,to as a5,Ui as a6,Bs as a7,ji as a8,$i as a9,Vi as b,Ki as c,vi as d,J as e,K as f,gi as g,Se as h,Dr as i,W as j,sn as k,Qn as l,eo as m,Pi as n,gt as o,Xn as p,yi as q,xs as r,el as s,Li as t,Ni as u,wi as v,Fi as w,Je as x,He as y,M as z}; diff --git a/js/hooks-DAFrMGjY.js.gz b/js/hooks-DAFrMGjY.js.gz new file mode 100644 index 00000000..6ed956d4 Binary files /dev/null and b/js/hooks-DAFrMGjY.js.gz differ diff --git a/js/index-B2wNkbzZ.js b/js/index-B2wNkbzZ.js new file mode 100644 index 00000000..2b8e3651 --- /dev/null +++ b/js/index-B2wNkbzZ.js @@ -0,0 +1 @@ +import{P as r}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{m as i,b as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{N as o,e as m}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const ut=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{ut as default}; diff --git a/js/index-B2wNkbzZ.js.gz b/js/index-B2wNkbzZ.js.gz new file mode 100644 index 00000000..d794fe5e Binary files /dev/null and b/js/index-B2wNkbzZ.js.gz differ diff --git a/js/index-B5AFEgYt.js b/js/index-B5AFEgYt.js new file mode 100644 index 00000000..59031dd1 --- /dev/null +++ b/js/index-B5AFEgYt.js @@ -0,0 +1 @@ +import{z as s}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{A as d}from"./index-KVQuX6r5.js";import{N as i,ac as f,ad as c,ae as n,af as E,e as a,w as p,O as b}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as F,b as t,J as u,q as C,p as A}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function m(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!C(o)}const gt=F({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>t(a,null,{default:()=>[t(p,{type:"success"},{default:()=>[u("Vue3.x")]}),t(p,{type:"info"},{default:()=>[u("React")]})]})},{label:"从事搬砖时长",des:()=>t(a,null,{default:()=>[t(p,{type:"success"},{default:()=>[u("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>t(a,{align:"center"},{default:()=>[t(s,{name:"ray",size:"22"},null),u("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>t(a,{align:"center"},{default:()=>[u("如果有希望补充的功能可以在"),t(b,A({tag:"a",class:"dashboard-link",type:"primary"},{href:"https://github.com/XiaoDaiGua-Ray/ray-template/issues"}),{default:()=>[u("GitHub")]}),u("提一个 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 o,l;return t(a,{vertical:!0},{default:()=>[t(i,null,{header:()=>t(s,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),t(i,{title:"个人介绍"},{default:()=>[t(f,{bordered:!0,labelPlacement:"left",column:2},m(o=this.coverLetterOptions.map(e=>{let r;return t(c,{key:e.label,label:e.label,span:e==null?void 0:e.span},m(r=e.des())?r:{default:()=>[r]})}))?o:{default:()=>[o]})]}),t(i,{title:"项目介绍"},{default:()=>[t(n,null,{default:()=>[u("技术栈")]}),t(E,null,{default:()=>[t(a,null,m(l=this.technologyTagOptions.map(e=>t(p,{key:e.value,type:"info"},{default:()=>[e.label]})))?l:{default:()=>[l]})]}),t(n,null,{default:()=>[u("项目介绍")]}),t(E,null,{default:()=>[u("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),t(i,{title:"友情链接"},{default:()=>[t(d,null,null)]})]})}});export{gt as default}; diff --git a/js/index-B5AFEgYt.js.gz b/js/index-B5AFEgYt.js.gz new file mode 100644 index 00000000..b93d133c Binary files /dev/null and b/js/index-B5AFEgYt.js.gz differ diff --git a/js/index-B5p3nAYZ.js b/js/index-B5p3nAYZ.js deleted file mode 100644 index 3805fc22..00000000 --- a/js/index-B5p3nAYZ.js +++ /dev/null @@ -1 +0,0 @@ -import{J as d}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{m as c,b as t,J as n}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as u}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{N as f,e as s,k as h}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const bt=c({name:"ContextMenuDemo",setup(){const o=u(),r=u(!1),e=u([{label:"杰·盖茨比",key:"jay gatsby"},{label:"黛西·布坎南",key:"daisy buchanan"},{type:"divider",key:"d1"},{label:"尼克·卡拉威",key:"nick caraway"}]),{x:m,y:p,show:a,updateShow:i}=d(o);return{demoOneRef:o,demoOneShow:r,x:m,y:p,show:a,options:e,clickOutside:l=>{l.preventDefault(),i(!1)},updateShow:i}},render(){const{x:o,y:r,show:e}=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:e,x:o,y:r,options:this.options,trigger:"manual",placement:"bottom-start",onSelect:(a,i)=>{window.$message.info(`选中了 ${i.label}`),p(!1)},onClickoutside:m.bind(this)},null)]})}});export{bt as default}; diff --git a/js/index-B5p3nAYZ.js.gz b/js/index-B5p3nAYZ.js.gz deleted file mode 100644 index c447ea2a..00000000 Binary files a/js/index-B5p3nAYZ.js.gz and /dev/null differ diff --git a/js/index-BCyJGjGS.js b/js/index-BCyJGjGS.js new file mode 100644 index 00000000..fe84f088 --- /dev/null +++ b/js/index-BCyJGjGS.js @@ -0,0 +1 @@ +import{C as u,e as s}from"./hooks-DAFrMGjY.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{u as a}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import{ab as n,W as l,e as c,P as p}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m,b as t,p as d,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const f=m({name:"PageResult",props:{...n},setup(){const{replace:r}=a();return{goBack:()=>{var i;const{getAppRootRoute:o}=s();(i=o.value)!=null&&i.path&&r(o.value.path)}}},render(){const{goBack:r}=this;return t("div",{class:"error-page"},[t(l,d(this.$props,{status:"500",title:"404 资源不存在",description:"小调皮你走错地方了"}),{...this.$slots,footer:()=>t(c,{align:"center",justify:"center"},{default:()=>[t(p,{onClick:u.bind(this,!0)},{default:()=>[e("返回首页")]}),t(p,{type:"primary",onClick:r.bind(this)},{default:()=>[e("返回上一页面")]})]})})])}}),Dt=m({name:"ErrorPage404",setup(){return{}},render(){return t(f,{status:"404"},null)}});export{Dt as default}; diff --git a/js/index-BCyJGjGS.js.gz b/js/index-BCyJGjGS.js.gz new file mode 100644 index 00000000..0edbf1e6 Binary files /dev/null and b/js/index-BCyJGjGS.js.gz differ diff --git a/js/index-BFJAvh0j.js.gz b/js/index-BFJAvh0j.js.gz deleted file mode 100644 index 2ea5fa81..00000000 Binary files a/js/index-BFJAvh0j.js.gz and /dev/null differ diff --git a/js/index-BGFkC73C.js b/js/index-BGFkC73C.js new file mode 100644 index 00000000..b22aa848 --- /dev/null +++ b/js/index-BGFkC73C.js @@ -0,0 +1 @@ +import{a as l}from"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import{s as n}from"./instance-Lnu85bZk.js";import{e as r,N as o,P as A,M as i,$ as g}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as V,b as u,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{e as R,x as v}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./axios@1.7.9-upsvKRUO.js";import"./hooks-DAFrMGjY.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function b(e,a){return l(()=>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"}),Nu=V({name:"RAxios",setup(){const e=R({weatherData:[],inputCityValue:null,throttleDemoInputValue:null,debounceDemoInputValue:null,weatherDemoInputValue:null}),{data:a,loading:m,run:p}=l(d,{throttleWait:1e3,manual:!0}),{data:s,loading:D,run:F}=l(d,{debounceWait:1e3,manual:!0}),{data:h,loading:c,run:E}=l(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(r,{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(r,{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(r,{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(r,{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(r,{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{Nu as default}; diff --git a/js/index-BGFkC73C.js.gz b/js/index-BGFkC73C.js.gz new file mode 100644 index 00000000..260d352c Binary files /dev/null and b/js/index-BGFkC73C.js.gz differ diff --git a/js/index-BNHkUzwU.js b/js/index-BNHkUzwU.js deleted file mode 100644 index 69da33e0..00000000 --- a/js/index-BNHkUzwU.js +++ /dev/null @@ -1 +0,0 @@ -import{V as F,n as l}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as e,e as d,P as o}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as p,b as u,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{e as s,x as E}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Au=p({name:"ModalDemo",setup(){const a=s({modal1:!1,modal2:!1,modal3:!1}),{create:i}=F(),r=()=>{i({title:"卡片模态框",draggable:!0,preset:"card",content:()=>u("div",{style:"height: 3000px;"},[t("我可以被拖拽的全屏card模态框")]),fullscreen:!0})},m=()=>{i({title:"模态框",content:"内容",preset:"dialog",draggable:!0})};return{...E(a),createCardModal:r,createDialogModal:m}},render(){const{createCardModal:a,createDialogModal:i}=this;return u(d,{vertical:!0},{default:()=>[u(e,{title:"props"},{default:()=>[u(d,{vertical:!0},{default:()=>[u("h3",null,[t("fullscreen: 全屏模态框。")])]})]}),u(l,{show:this.modal1,"onUpdate:show":r=>this.modal1=r,title:"全屏模态框",fullscreen:!0,preset:"card"},{default:()=>[u("div",{style:"height: 3000px;"},[t("我可以被拖拽的全屏card模态框")])]}),u(l,{show:this.modal2,"onUpdate:show":r=>this.modal2=r,preset:"card",title:"可拖拽卡片模态框",draggable:!0},{default:()=>[u("p",null,[t("我可以被拖拽")])]}),u(l,{show:this.modal3,"onUpdate:show":r=>this.modal3=r,preset:"dialog",title:"可拖拽卡片模态框",draggable:!0},{default:()=>[u("p",null,[t("我可以被拖拽")])]}),u(e,{title:"可拖拽模态框"},{default:()=>[u(o,{onClick:()=>this.modal2=!0},{default:()=>[t("卡片模态框")]}),u(o,{onClick:()=>this.modal3=!0},{default:()=>[t("对话框模态框")]})]}),u(e,{title:"全屏模态框"},{default:()=>[u(d,{vertical:!0},{default:()=>[u("h4",null,[t("全屏模态框需要同时设置:fullscreen 为 true,并且 preset 为 card 时才会生效。")]),u(o,{onClick:()=>this.modal1=!0},{default:()=>[t("打开")]})]})]}),u(e,{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(e,{title:"重写 useModal"},{default:()=>[u(o,{onClick:a.bind(this)},{default:()=>[t("创建卡片模态框")]}),u(o,{onClick:i.bind(this)},{default:()=>[t("创建对话框模态框")]})]})]})}});export{Au as default}; diff --git a/js/index-BNHkUzwU.js.gz b/js/index-BNHkUzwU.js.gz deleted file mode 100644 index 79342d1b..00000000 Binary files a/js/index-BNHkUzwU.js.gz and /dev/null differ diff --git a/js/index-BVc_Gnpy.js.gz b/js/index-BVc_Gnpy.js.gz deleted file mode 100644 index 29023b13..00000000 Binary files a/js/index-BVc_Gnpy.js.gz and /dev/null differ diff --git a/js/index-DmIHrKCj.js b/js/index-BZPqABS2.js similarity index 96% rename from js/index-DmIHrKCj.js rename to js/index-BZPqABS2.js index 99d1ca37..ab55fee6 100644 --- a/js/index-DmIHrKCj.js +++ b/js/index-BZPqABS2.js @@ -1 +1 @@ -import{m as r,b as u,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{N as e,e as o}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.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{m as r,b as u,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{N as e,e as o}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.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-BZPqABS2.js.gz b/js/index-BZPqABS2.js.gz new file mode 100644 index 00000000..20f22fb8 Binary files /dev/null and b/js/index-BZPqABS2.js.gz differ diff --git a/js/index-Bdu49VSO.js b/js/index-Bdu49VSO.js deleted file mode 100644 index d8cf7669..00000000 --- a/js/index-Bdu49VSO.js +++ /dev/null @@ -1 +0,0 @@ -import{z as m,W as o}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{m as h,b as u,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as d}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{ah as F,N as i,a as b,b as l,e as B,al as f,am as a}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const gu=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(m,{name:"setting"},null)},{label:"刷新",key:"reload",icon:u(m,{name:"reload"},null)},{label:"搜索",key:"search",icon:u(m,{name:"search"},null),popover:"我是搜索"}],E=d("this is three"),e=d("medium"),C=d("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{gu as default}; diff --git a/js/index-Bdu49VSO.js.gz b/js/index-Bdu49VSO.js.gz deleted file mode 100644 index e88c4c36..00000000 Binary files a/js/index-Bdu49VSO.js.gz and /dev/null differ diff --git a/js/index-Bf4jaD3y.js.gz b/js/index-Bf4jaD3y.js.gz deleted file mode 100644 index 2146048f..00000000 Binary files a/js/index-Bf4jaD3y.js.gz and /dev/null differ diff --git a/js/index-BhM7EuC5.js b/js/index-BhM7EuC5.js deleted file mode 100644 index 26c6a8a1..00000000 --- a/js/index-BhM7EuC5.js +++ /dev/null @@ -1 +0,0 @@ -import{a as l}from"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import{s as n}from"./instance-BbSLtO2c.js";import{e as r,N as o,P as A,M as i,$ as g}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as V,b as u,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{e as R,x as v}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./axios@1.7.9-upsvKRUO.js";import"./hooks-Bi_Q9OFa.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function b(e,a){return l(()=>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"}),Nu=V({name:"RAxios",setup(){const e=R({weatherData:[],inputCityValue:null,throttleDemoInputValue:null,debounceDemoInputValue:null,weatherDemoInputValue:null}),{data:a,loading:m,run:p}=l(d,{throttleWait:1e3,manual:!0}),{data:s,loading:D,run:F}=l(d,{debounceWait:1e3,manual:!0}),{data:h,loading:c,run:E}=l(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(r,{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(r,{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(r,{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(r,{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(r,{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{Nu as default}; diff --git a/js/index-BhM7EuC5.js.gz b/js/index-BhM7EuC5.js.gz deleted file mode 100644 index 40c3421e..00000000 Binary files a/js/index-BhM7EuC5.js.gz and /dev/null differ diff --git a/js/index-BjsUFS0U.js b/js/index-BjsUFS0U.js deleted file mode 100644 index 4f67f08e..00000000 --- a/js/index-BjsUFS0U.js +++ /dev/null @@ -1 +0,0 @@ -import{Q as C,T as f,U as k}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{a as A}from"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import{s as B}from"./instance-BbSLtO2c.js";import"./lodash@4.17.21-D1YkSij2.js";import{N as p,r as y,ag as h,M as D,P as i,e as l}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as b,b as t,J as o,F as w}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{e as P,x as N}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./axios@1.7.9-upsvKRUO.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const R=e=>B({url:"/api/list",method:"get",params:e}),It=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(l,{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(l,{vertical:!0},{default:()=>{var e;return[t(p,{title:"Mock 数据"},{default:()=>[t("h2",null,[o("mock 数据使用。但是,并没有启用生产环境的部署,所以生产环境结果为空。")])]}),t(p,{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{It as default}; diff --git a/js/index-BjsUFS0U.js.gz b/js/index-BjsUFS0U.js.gz deleted file mode 100644 index 912913d6..00000000 Binary files a/js/index-BjsUFS0U.js.gz and /dev/null differ diff --git a/js/index-BryWK9rN.js b/js/index-BryWK9rN.js deleted file mode 100644 index c5aa3e00..00000000 --- a/js/index-BryWK9rN.js +++ /dev/null @@ -1 +0,0 @@ -import{i as N,p as O,x as C,R as L,y as F,f as v,z as r,e as P,u as A,j as $,B as z}from"./hooks-Bi_Q9OFa.js";import{s as f}from"./utils-4asTneEs.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import{u as G}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{I as y,M as w,P as V,W as q,p as I,e as l,y as D,J as E,A as S,k as Q,a as U,b,N as H,v as W,T as g,F as k}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as a,b as e,q as m,J as c,F as B}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as d,e as x,x as _}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{Q as J}from"./vue3-next-qrcode@2.0.10_typescript@5.6.3-wzrC7cBz.js";import{L as K}from"./ray-dCjhX_JK.js";import{f as M}from"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import{A as X}from"./index-BFJAvh0j.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function Y(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const Z=a({name:"RSigning",setup(){const[t,{validate:i}]=N(),{t:n}=F(),{signing:s}=O(),{getRootPath:o}=C(),p=d(!1),j=()=>({name:"Ray Admin",pwd:"123456"}),R=G(),u=d(j()),T={name:{required:!0,message:n("views.login.index.NamePlaceholder"),trigger:["blur","input"]},pwd:{required:!0,message:n("views.login.index.PasswordPlaceholder"),trigger:["blur","input"]}};return{signingForm:u,register:t,handleLogin:()=>{i().then(()=>{p.value=!0,s(u.value).then(h=>{h.code===0&&setTimeout(()=>{window.$message.success(`欢迎${u.value.name}登陆~`),f(v.token,"tokenValue","localStorage"),f(v.signing,h.data,"localStorage"),R.push(o.value),p.value=!1},2*1e3)}).catch(()=>{window.$message.error("不可以这样哟, 不可以哟")})})},rules:T,loading:p}},render(){let t;const{$t:i,loading:n,register:s}=this;return e(L,{model:this.signingForm,onRegister:s,rules:this.rules},{default:()=>[e(y,{label:i("views.login.index.Name"),path:"name"},{default:()=>[e(w,{value:this.signingForm.name,"onUpdate:value":o=>this.signingForm.name=o,placeholder:i("views.login.index.NamePlaceholder")},null)]}),e(y,{label:i("views.login.index.Password"),path:"pwd"},{default:()=>[e(w,{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(V,{style:["width: 100%","margin-to: 18px"],type:"primary",onClick:this.handleLogin.bind(this),loading:n},Y(t=i("views.login.index.Login"))?t:{default:()=>[t]})]})}}),ee=a({name:"RRegister",render(){return e(q,{status:"info",title:"提示",description:"我实在是不想写了..."},null)}}),te=a({name:"QRCodeSigning",setup(){const t=x({qrcodeValue:"https://github.com/XiaoDaiGua-Ray/xiaodaigua-ray.github.io"});return{..._(t)}},render(){return e("div",{class:"qrcode-signing"},[e(J,{text:"ray template yes",size:200,logoImage:K},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}=A(),{getAppTheme:n}=P(),s=d(n.value);return{darkTheme:t,lightTheme:i,getAppTheme:n,railStyle:({checked:p})=>p?{backgroundColor:"#000000"}:{color:"#000000"},modelAppThemeRef:s}},render(){const{$t:t,darkTheme:i,lightTheme:n,railStyle:s}=this;return e(l,{justify:"center"},{default:()=>[e(D,null,{trigger:()=>e(E,{value:this.modelAppThemeRef,"onUpdate:value":o=>this.modelAppThemeRef=o,railStyle:s.bind(this),onUpdateValue:o=>o?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:{"@logicflow/core":"2.0.10","@logicflow/extension":"2.0.14","@vueuse/core":"^12.4.0",axios:"^1.7.9",clipboard:"^2.0.11","crypto-js":"4.2.0","currency.js":"^2.0.4",dayjs:"^1.11.13",echarts:"^5.6.0","html-to-image":"1.11.11",interactjs:"1.10.27",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.41.0",pinia:"^2.3.0","pinia-plugin-persistedstate":"^4.2.0","print-js":"^1.6.0",vue:"^3.5.13","vue-demi":"0.14.10","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.4.0","vue3-next-qrcode":"2.0.10"},devDependencies:{"@amap/amap-jsapi-types":"0.0.15","@ant-design/icons-vue":"7.0.1","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@interactjs/types":"1.10.27","@intlify/unplugin-vue-i18n":"4.0.0","@types/crypto-js":"4.2.2","@types/jsbarcode":"3.11.4","@types/lodash-es":"4.17.12","@types/mockjs":"1.0.10","@types/three":"0.171.0","@typescript-eslint/eslint-plugin":"8.20.0","@typescript-eslint/parser":"8.20.0","@vitejs/plugin-vue":"5.2.1","@vitejs/plugin-vue-jsx":"4.1.1","@vitest/ui":"2.1.8","@vue/eslint-config-prettier":"10.1.0","@vue/eslint-config-typescript":"14.2.0","@vue/test-utils":"2.4.6",autoprefixer:"10.4.20",depcheck:"1.4.7",eslint:"9.18.0","eslint-config-prettier":"10.0.1","eslint-plugin-prettier":"5.2.2","eslint-plugin-vue":"9.32.0",globals:"15.14.0","happy-dom":"16.6.0",husky:"8.0.3","lint-staged":"15.3.0",postcss:"8.5.1","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"3.4.2","rollup-plugin-gzip":"4.0.1",sass:"1.83.0","svg-sprite-loader":"6.0.11",typescript:"5.6.3","unplugin-auto-import":"19.0.0","unplugin-vue-components":"0.28.0",vite:"6.0.7","vite-bundle-analyzer":"0.16.0","vite-plugin-cdn2":"1.1.0","vite-plugin-ejs":"1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"0.8.4","vite-plugin-mock-dev-server":"1.8.3","vite-plugin-svg-icons":"2.0.1","vite-svg-loader":"5.1.0",vitest:"2.1.8","vue-tsc":"2.2.0"},name:"ray-template",version:"5.0.10"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"}};function le(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const dt=a({name:"RLogin",setup(){const{layout:{copyright:t}}=se,i=x({tabsValue:"signing"}),{height:n,width:s}=M(),{updateLocale:o}=$();return{..._(i),windowHeight:n,updateLocale:o,copyright:t,windowWidth:s}},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(S,{class:"login-title",type:"info",size:28},{default:()=>[c("Ray Template")]})]}),e(l,{align:"center",class:"login-action__wrapper"},{default:()=>[e(oe,null,null),e(Q,{options:z,onSelect:n=>this.updateLocale(n),trigger:"click"},{default:()=>[e(r,{customClassName:"login-icon",name:"language",size:"18",cursor:"pointer"},null)]})]}),e(U,{cols:"s:1 m:1 l:2 xl:2 2xl:2",itemResponsive:!1,responsive:"screen"},{default:()=>[e(b,{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(S,{class:"login-title",type:"info",size:36},le(t=i("views.login.index.RayTemplate"))?t:{default:()=>[t]})]})]}),e(b,{span:1,class:"login__right-wrapper"},{default:()=>[e(H,{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(g,{tab:i("views.login.index.Signing"),name:"signing"},{default:()=>[e(Z,null,null)]}),e(g,{tab:i("views.login.index.Register"),name:"register"},{default:()=>[e(ee,null,null)]}),e(g,{tab:i("views.login.index.QRCodeSigning"),name:"qrcodeSigning"},{default:()=>[e(te,null,null)]})])}),e(k,null,{default:()=>[c("其他登陆方式")]}),e(ne,null,null),e(k,null,{default:()=>[c("友情链接")]}),e(X,null,null)]})]})]}),e(l,{align:"center",justify:"center",class:"login-copyright__wrapper"},{default:()=>[this.copyright]})])])])}});export{dt as default}; diff --git a/js/index-BryWK9rN.js.gz b/js/index-BryWK9rN.js.gz deleted file mode 100644 index f41bd513..00000000 Binary files a/js/index-BryWK9rN.js.gz and /dev/null differ diff --git a/js/index-BsBhO5KD.js b/js/index-BsBhO5KD.js new file mode 100644 index 00000000..e2782c9f --- /dev/null +++ b/js/index-BsBhO5KD.js @@ -0,0 +1 @@ +import"./hooks-DAFrMGjY.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{s as n,g as l,w as c,E as f}from"./utils-Bic_iDtY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import{e as i,ah as u,ai as a,M as m,P as o,N as d}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as g,b as e,J as r}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Be=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{Be as default}; diff --git a/js/index-BsBhO5KD.js.gz b/js/index-BsBhO5KD.js.gz new file mode 100644 index 00000000..2eec37b5 Binary files /dev/null and b/js/index-BsBhO5KD.js.gz differ diff --git a/js/index-C9W4sfAi.js b/js/index-BwZLGLQy.js similarity index 95% rename from js/index-C9W4sfAi.js rename to js/index-BwZLGLQy.js index ff8a440d..787525ab 100644 --- a/js/index-C9W4sfAi.js +++ b/js/index-BwZLGLQy.js @@ -1 +1 @@ -import{m as e,b as o,J as r}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as i}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{M as p}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.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{m as e,b as o,J as r}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as i}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{M as p}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.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-BwZLGLQy.js.gz b/js/index-BwZLGLQy.js.gz new file mode 100644 index 00000000..39391c15 Binary files /dev/null and b/js/index-BwZLGLQy.js.gz differ diff --git a/js/index-BVc_Gnpy.js b/js/index-C0d6i1OB.js similarity index 95% rename from js/index-BVc_Gnpy.js rename to js/index-C0d6i1OB.js index b1b4d9ba..750714e6 100644 --- a/js/index-BVc_Gnpy.js +++ b/js/index-C0d6i1OB.js @@ -1 +1 @@ -import{m as r,b as o,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as i}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{M as p}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const D=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{D as default}; +import{m as r,b as o,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as i}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{M as p}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const D=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{D as default}; diff --git a/js/index-C0d6i1OB.js.gz b/js/index-C0d6i1OB.js.gz new file mode 100644 index 00000000..1b1a90c8 Binary files /dev/null and b/js/index-C0d6i1OB.js.gz differ diff --git a/js/index-C5NvyzDY.js b/js/index-C5NvyzDY.js deleted file mode 100644 index f38c2e03..00000000 --- a/js/index-C5NvyzDY.js +++ /dev/null @@ -1 +0,0 @@ -import{U as p}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import{u as a}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{P as n,e}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as u,b as o,J as s}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as l}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const ft=u({name:"RouterDemoHome",setup(){const r=a(),i=l([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:t=>o(e,{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("详情")]})]})}]),m=[];for(let t=0;t<10;t++)m.push({name:"张三"+t,address:"New York No. 1 Lake Park",phone:"010-121212",key:t});return{dataSource:m,columns:i}},render(){return o(e,null,{default:()=>[o(p,{columns:this.columns,"onUpdate:columns":r=>this.columns=r,data:this.dataSource},null)]})}});export{ft as default}; diff --git a/js/index-C5NvyzDY.js.gz b/js/index-C5NvyzDY.js.gz deleted file mode 100644 index 6337a53f..00000000 Binary files a/js/index-C5NvyzDY.js.gz and /dev/null differ diff --git a/js/index-C8q1X2s-.js b/js/index-C8q1X2s-.js deleted file mode 100644 index 5245bcb7..00000000 --- a/js/index-C8q1X2s-.js +++ /dev/null @@ -1 +0,0 @@ -import{o as S,e as W,a5 as V,z as w,a6 as y,a7 as M,a8 as N,u as L,a9 as R}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as i,e as a,M as T,P as t}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as U,b as u,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as b}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Ou=U({name:"TemplateHooks",setup(){const m=b(""),r=S("layoutContentMaximize"),n=b(W().getWatermarkConfig.value.content),F=b("new"),{navigationTo:p}=y(),{maximize:s,isLayoutContentMaximized:d}=V(),{reload:C,openSpin:B,closeSpin:D}=M(),{showWatermark:h,hiddenWatermark:A,setWatermarkContent:E,toggleWatermark:c}=N(),{darkTheme:f,lightTheme:k,toggleTheme:l,getAppTheme:g,syncSystemTheme:o}=L(),{hidden:v,show:x,update:z}=R();return{navigationTo:p,reload:C,currentMenuOption:m,maximize:s,maximizeRef:r,openSpin:B,closeSpin:D,showWatermark:h,hiddenWatermark:A,setWatermarkContent:E,watermark:n,toggleWatermark:c,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:r,maximize:n,openSpin:F,closeSpin:p,showWatermark:s,hiddenWatermark:d,setWatermarkContent:C,toggleWatermark:B,darkTheme:D,lightTheme:h,toggleTheme:A,getAppTheme:E,isLayoutContentMaximized:c,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",{label:this.badgeValue})},{default:()=>[e("显示当前菜单标记")]}),u(t,{onClick:()=>l("/template-hooks",{label:this.badgeValue})},{default:()=>[e("更新当前菜单标记")]}),u(t,{onClick:()=>{l("/template-hooks",{label:this.badgeValue,icon:u(w,{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 获取当前主题色: "),E().themeLabel]),u(a,null,{default:()=>[u(t,{onClick:()=>D()},{default:()=>[e("切换暗黑主题")]}),u(t,{onClick:()=>h()},{default:()=>[e("切换明亮主题")]}),u(t,{onClick:()=>g()},{default:()=>[e("跟随主题")]}),u(t,{onClick:()=>A()},{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:()=>{r()}},{default:()=>[e("刷新(强制刷新)")]}),u(t,{onClick:()=>{F(),setTimeout(()=>{p()},800)}},{default:()=>[e("触发加载动画(不强制刷新)")]})]})]}),u(i,{title:"useMaximize 内容区域最大化"},{default:()=>[u("h3",null,[e("isLayoutContentMaximized 检测当前内容区域是否最大化:"),c?"最大化":"正常尺寸"]),u(t,{onClick:()=>{n(!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{Ou as default}; diff --git a/js/index-C8q1X2s-.js.gz b/js/index-C8q1X2s-.js.gz deleted file mode 100644 index 7974f3c5..00000000 Binary files a/js/index-C8q1X2s-.js.gz and /dev/null differ diff --git a/js/index-C9W4sfAi.js.gz b/js/index-C9W4sfAi.js.gz deleted file mode 100644 index 07f975f2..00000000 Binary files a/js/index-C9W4sfAi.js.gz and /dev/null differ diff --git a/js/index-CAOR_kJ-.js b/js/index-CAOR_kJ-.js deleted file mode 100644 index d953e3a0..00000000 --- a/js/index-CAOR_kJ-.js +++ /dev/null @@ -1 +0,0 @@ -import"./hooks-Bi_Q9OFa.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{F,G as h,H as O,I as C,J as E,K as b}from"./utils-4asTneEs.js";import"./crypto-js@4.2.0-CO3T8151.js";import{m as D,b as u,J as p,n as B}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{e as f,x as v}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{e as r,N as i,L as o,K as s,$ as V}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const At=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,m)=>{const d=a[m],c=d(...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{At as default}; diff --git a/js/index-CAOR_kJ-.js.gz b/js/index-CAOR_kJ-.js.gz deleted file mode 100644 index cc72d541..00000000 Binary files a/js/index-CAOR_kJ-.js.gz and /dev/null differ diff --git a/js/index-CDWeRbxT.js b/js/index-CDWeRbxT.js new file mode 100644 index 00000000..684607de --- /dev/null +++ b/js/index-CDWeRbxT.js @@ -0,0 +1 @@ +import{U as p}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import{u as a}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{P as n,e}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as u,b as o,J as s}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as l}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const ft=u({name:"RouterDemoHome",setup(){const r=a(),i=l([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:t=>o(e,{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("详情")]})]})}]),m=[];for(let t=0;t<10;t++)m.push({name:"张三"+t,address:"New York No. 1 Lake Park",phone:"010-121212",key:t});return{dataSource:m,columns:i}},render(){return o(e,null,{default:()=>[o(p,{columns:this.columns,"onUpdate:columns":r=>this.columns=r,data:this.dataSource},null)]})}});export{ft as default}; diff --git a/js/index-CDWeRbxT.js.gz b/js/index-CDWeRbxT.js.gz new file mode 100644 index 00000000..c1a127ec Binary files /dev/null and b/js/index-CDWeRbxT.js.gz differ diff --git a/js/index-CEq6_GG6.js b/js/index-CEq6_GG6.js new file mode 100644 index 00000000..2cb46477 --- /dev/null +++ b/js/index-CEq6_GG6.js @@ -0,0 +1 @@ +import{a3 as $,Y as z,T as G,U as L,z as P,a4 as j}from"./hooks-DAFrMGjY.js";import{m as Y}from"./utils-Bic_iDtY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as D,e as n,ag as _,P as u,w as K,b as r,H as q,M as F,am as H,J as X,p as Q}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as W,b as e,J as o,F as I,q as Z}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as x,e as ee,x as te}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function N(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Z(i)}const at=W({name:"TableView",setup(){const[i,{getTableInstance:c,clearFilters:p,clearSorter:m,scrollTo:f,filters:C,sort:k,downloadCsv:y,print:h}]=$(),b=[{type:"selection"},{title:"Name",key:"name",filterOptions:[{label:"John Brown",value:"John Brown"},{label:"Jim Green",value:"Jim Green"}],filter:(t,a)=>a.name.includes(t.toString())},{title:"Age",key:"age",sorter:(t,a)=>t.age-a.age},{title:"Address",key:"address"},{title:"Tags",key:"tags",render:t=>t.tags.map(d=>e(K,{type:"info",bordered:!1,style:"margin-right: 6px"},N(d)?d:{default:()=>[d]}))},{title:"Remark",key:"remark"},{title:"Action",key:"actions",render:t=>e(n,{align:"center"},{default:()=>[e(u,{size:"tiny"},{default:()=>[o("查看")]}),e(j,{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;"},[o("删除")]),key:"delete"}],E=ee({gridItemCount:4,gridCollapsedRows:1,tableLoading:!1}),[T,{checkedRowKeysBind:B,getKeys:R,getRows:l,clearKey:v,clearAll:A,selectKey:S}]=z(s,w,{rowKey:"key",onChange:(t,a,d)=>{}}),J=()=>{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:"我是一条很长很长的备注"})},M=t=>{window.$message.info(`${t}`)},O=()=>{const{key:t}=s.value[1];v(t)},U=()=>{s.value.map(a=>a.key).forEach(a=>S(a))},V=()=>{const{key:t}=s.value[1];S(t)};return J(),{...te(E),tableData:s,actionColumns:w,baseColumns:b,tableMenuOptions:g,menuSelect:M,register:i,getKeys:R,getRows:l,clearKey:v,clearAll:A,checkedRowKeysBind:B,checkedRowKeys:T,clearSecondIndexRow:O,selectAll:U,selectSecondIndexRow:V,clearFilters:p,clearSorter:m,scrollTo:f,filters:C,sort:k,downloadCsv:y,getTableInstance:c,print:h}},render(){let i;const{register:c,clearAll:p,checkedRowKeysBind:m,clearSecondIndexRow:f,selectAll:C,selectSecondIndexRow:k,clearFilters:y,clearSorter:h,scrollTo:b,filters:w,sort:s,downloadCsv:g,getTableInstance:E,getRows:T,getKeys:B,print:R}=this;return e(n,{vertical:!0},{default:()=>[e(D,{title:"RTable"},{default:()=>[o("基于 NDataTable 封装,继承该组件所有 props 属性。查看 RTable props 文件即可查看该组件拓展项")]}),e(D,{title:"useTable"},{default:()=>[e(n,{vertical:!0,style:"width: 100%"},{default:()=>[e(_,{title:"DataTable Methods",type:"info"},{default:()=>[o("其余的方法查看")," ",e("a",{style:"color: transparent",href:"https://www.naiveui.com/zh-CN/dark/components/data-table#DataTable-Methods"},[o("Naive UI")]),o("官网,保持一致。")]}),e(n,null,{default:()=>[e(u,{onClick:h.bind(this)},{default:()=>[o("清除所有排序")]}),e(u,{onClick:y.bind(this)},{default:()=>[o("清除所有过滤")]}),e(u,{onClick:()=>{g()}},{default:()=>[o("下载 CSV")]}),e(u,{onClick:()=>E()},{default:()=>[o("getTableInstance")]}),e(u,{onClick:()=>R()},{default:()=>[o("打印")]})]})]})]}),e(D,{title:"useCheckedRowKeys"},{default:()=>[e(n,{vertical:!0},{default:()=>[e(n,null,{default:()=>[e(u,{onClick:C.bind(this)},{default:()=>[o("选中所有行")]}),e(u,{onClick:p.bind(this)},{default:()=>[o("取消所有已选中行")]}),e(u,{onClick:k.bind(this)},{default:()=>[o("选中第二行")]}),e(u,{onClick:f.bind(this)},{default:()=>[o("取消第二行选中")]})]}),e(n,null,N(i=this.checkedRowKeys.map(l=>e(K,{type:"success",key:l},N(l)?l:{default:()=>[l]})))?i:{default:()=>[i]})]})]}),e(G,{collapsedRows:this.gridCollapsedRows,cols:this.gridItemCount,onUpdateOpen:l=>window.$message.info(`我是 RCollapse 组件${l?"收起":"展开"}的回调函数`)},{action:()=>e(I,null,[e(u,{type:"primary"},{default:()=>[o("搜索")]}),e(u,null,{default:()=>[o("重置")]})]),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(H,{type:"datetimerange",clearable:!0},null)]}),e(r,null,{default:()=>[e(F,null,null)]}),e(r,null,{default:()=>[e(F,null,null)]})])}),e(L,{checkedRowKeys:this.checkedRowKeys,"onUpdate:checkedRowKeys":l=>this.checkedRowKeys=l,onUpdateCheckedRowKeys:m.bind(this),onRegister:c.bind(this),scrollX:1e3,title:e(n,{align:"center"},{default:()=>[e("span",null,[o("标题插槽:")]),e(X,{onUpdateValue:l=>this.tableLoading=l},null)]}),data:this.tableData,columns:this.actionColumns,"onUpdate:columns":l=>this.actionColumns=l,pagination:{pageSize:10},contextMenuOptions:this.tableMenuOptions,loading:this.tableLoading,onContextMenuClick:this.menuSelect.bind(this),toolOptions:[e(Q,null,{trigger:()=>e(P,{name:"search",size:"18",cursor:"pointer",onClick:()=>{window.$message.info("点击了搜索按钮")}},null),default:()=>"我是自定义工具栏示例"})],rowKey:l=>l.key,striped:!0},{tableFooter:()=>"表格的底部内容区域插槽,有时候你可能会用上",tableAction:()=>"表格的操作区域内容插槽,有时候可能会用上"})]})}});export{at as default}; diff --git a/js/index-CEq6_GG6.js.gz b/js/index-CEq6_GG6.js.gz new file mode 100644 index 00000000..314dfb4b Binary files /dev/null and b/js/index-CEq6_GG6.js.gz differ diff --git a/js/index-VfNFmfqJ.js b/js/index-CGF4AOp0.js similarity index 95% rename from js/index-VfNFmfqJ.js rename to js/index-CGF4AOp0.js index 74a79482..b9ba1773 100644 --- a/js/index-VfNFmfqJ.js +++ b/js/index-CGF4AOp0.js @@ -1 +1 @@ -import{m as o,b as r,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{M as i}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const v=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{v as default}; +import{m as o,b as r,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{M as i}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const v=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{v as default}; diff --git a/js/index-CGF4AOp0.js.gz b/js/index-CGF4AOp0.js.gz new file mode 100644 index 00000000..88fe4088 Binary files /dev/null and b/js/index-CGF4AOp0.js.gz differ diff --git a/js/index-CIvQqKT5.js b/js/index-CIvQqKT5.js new file mode 100644 index 00000000..320cbd3a --- /dev/null +++ b/js/index-CIvQqKT5.js @@ -0,0 +1 @@ +import{H as d}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{m as c,b as t,J as n}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as u}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{N as f,e as s,k as h}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const bt=c({name:"ContextMenuDemo",setup(){const o=u(),r=u(!1),e=u([{label:"杰·盖茨比",key:"jay gatsby"},{label:"黛西·布坎南",key:"daisy buchanan"},{type:"divider",key:"d1"},{label:"尼克·卡拉威",key:"nick caraway"}]),{x:m,y:p,show:a,updateShow:i}=d(o);return{demoOneRef:o,demoOneShow:r,x:m,y:p,show:a,options:e,clickOutside:l=>{l.preventDefault(),i(!1)},updateShow:i}},render(){const{x:o,y:r,show:e}=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:e,x:o,y:r,options:this.options,trigger:"manual",placement:"bottom-start",onSelect:(a,i)=>{window.$message.info(`选中了 ${i.label}`),p(!1)},onClickoutside:m.bind(this)},null)]})}});export{bt as default}; diff --git a/js/index-CIvQqKT5.js.gz b/js/index-CIvQqKT5.js.gz new file mode 100644 index 00000000..e2bd10ea Binary files /dev/null and b/js/index-CIvQqKT5.js.gz differ diff --git a/js/index-CT9fhFWm.js b/js/index-CT9fhFWm.js new file mode 100644 index 00000000..718f3dc3 --- /dev/null +++ b/js/index-CT9fhFWm.js @@ -0,0 +1 @@ +import{z as s,_ as i}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{m as c,b as t,O as p,V as d,q as m}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as u}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{e as E,p as a,N as g}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function f(r){return typeof r=="function"||Object.prototype.toString.call(r)==="[object Object]"&&!m(r)}const Oi=c({name:"PreviewSVGIcons",setup(){const r=u([]);return Object.keys(Object.assign({"/src/icons/action/close_other.svg":()=>i(()=>import("./close_other-DPtbrCYd.js"),[]),"/src/icons/action/draggable.svg":()=>i(()=>import("./draggable-D6qza0mp.js"),[]),"/src/icons/action/fullscreen.svg":()=>i(()=>import("./fullscreen-Cjm0bPGx.js"),[]),"/src/icons/action/fullscreen_fold.svg":()=>i(()=>import("./fullscreen_fold-D_jdG9mi.js"),[]),"/src/icons/action/out.svg":()=>i(()=>import("./out-CMQCc625.js"),[]),"/src/icons/action/reload.svg":()=>i(()=>import("./reload-BPf1PV7s.js"),[]),"/src/icons/action/search.svg":()=>i(()=>import("./search-CFLGi5BR.js"),[]),"/src/icons/action/setting.svg":()=>i(()=>import("./setting-DyoycADf.js"),[]),"/src/icons/action/shared.svg":()=>i(()=>import("./shared-DVfOv8Mx.js"),[]),"/src/icons/directional/adjustment.svg":()=>i(()=>import("./adjustment-DIo_g8Za.js"),[]),"/src/icons/directional/close_left.svg":()=>i(()=>import("./close_left-DX8SFJx4.js"),[]),"/src/icons/directional/close_right.svg":()=>i(()=>import("./close_right-DWMWcuX1.js"),[]),"/src/icons/directional/expanded.svg":()=>i(()=>import("./expanded-BswQDJyW.js"),[]),"/src/icons/directional/left_arrow.svg":()=>i(()=>import("./left_arrow-DAKeumRT.js"),[]),"/src/icons/directional/lock.svg":()=>i(()=>import("./lock-dC7sQfx2.js"),[]),"/src/icons/directional/resize_h.svg":()=>i(()=>import("./resize_h-DA2p7YCQ.js"),[]),"/src/icons/directional/right_arrow.svg":()=>i(()=>import("./right_arrow-CbmroMoE.js"),[]),"/src/icons/directional/row_end.svg":()=>i(()=>import("./row_end-CqbNhb3G.js"),[]),"/src/icons/directional/row_head.svg":()=>i(()=>import("./row_head-BCxi2x-p.js"),[]),"/src/icons/logo/github.svg":()=>i(()=>import("./github-B4ARmChV.js"),[]),"/src/icons/logo/google.svg":()=>i(()=>import("./google-GEcrFhWr.js"),[]),"/src/icons/logo/login_bg.svg":()=>i(()=>import("./login_bg-CRcyXHBf.js"),[]),"/src/icons/logo/office.svg":()=>i(()=>import("./office-B5pC1KGi.js"),[]),"/src/icons/logo/ray.svg":()=>i(()=>import("./ray-B93BjtIh.js"),[]),"/src/icons/logo/twitter.svg":()=>i(()=>import("./twitter-DjE7U1HD.js"),[]),"/src/icons/template/dark.svg":()=>i(()=>import("./dark-zODhV8ab.js"),[]),"/src/icons/template/light.svg":()=>i(()=>import("./light-DWWBs-Ry.js"),[]),"/src/icons/template/system_os.svg":()=>i(()=>import("./system_os-Bu1k9Avg.js"),[]),"/src/icons/tip/axios.svg":()=>i(()=>import("./axios-o8g4A-7A.js"),[]),"/src/icons/tip/close.svg":()=>i(()=>import("./close-B43hVi0H.js"),[]),"/src/icons/tip/dashboard.svg":()=>i(()=>import("./dashboard-70op-CO0.js"),[]),"/src/icons/tip/echart.svg":()=>i(()=>import("./echart-c_3t778P.js"),[]),"/src/icons/tip/enter.svg":()=>i(()=>import("./enter-CPGcsJ25.js"),[]),"/src/icons/tip/error.svg":()=>i(()=>import("./error-CjWalrOZ.js"),[]),"/src/icons/tip/export_excel.svg":()=>i(()=>import("./export_excel-ZmNoLzCr.js"),[]),"/src/icons/tip/language.svg":()=>i(()=>import("./language-BOVZ3dlJ.js"),[]),"/src/icons/tip/menu.svg":()=>i(()=>import("./menu-CPMkWw77.js"),[]),"/src/icons/tip/more.svg":()=>i(()=>import("./more-DW-qndwg.js"),[]),"/src/icons/tip/mouse.svg":()=>i(()=>import("./mouse-C_l6KSTs.js"),[]),"/src/icons/tip/other.svg":()=>i(()=>import("./other-DU6bZUrM.js"),[]),"/src/icons/tip/print.svg":()=>i(()=>import("./print-jFo_n0lx.js"),[]),"/src/icons/tip/question.svg":()=>i(()=>import("./question-TxSSjOrI.js"),[]),"/src/icons/tip/rely.svg":()=>i(()=>import("./rely-DlDUQEbT.js"),[]),"/src/icons/tip/table.svg":()=>i(()=>import("./table-tYkftQGA.js"),[])})).forEach(n=>{var _;const o=(_=n.match(/\/(\w+)\.svg/))==null?void 0:_[1];o&&r.value.push(o)}),{icons:r}},render(){return t(g,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let r;return t(E,null,f(r=this.icons.map(e=>p(t("div",{class:"pre-view-icons__card",key:e},[t(a,null,{trigger:()=>t(s,{name:e,size:"56",cursor:"pointer"},null),default:()=>e})]),[[d("copy"),``]])))?r:{default:()=>[r]})}})}});export{Oi as default}; diff --git a/js/index-CT9fhFWm.js.gz b/js/index-CT9fhFWm.js.gz new file mode 100644 index 00000000..2bb73d4d Binary files /dev/null and b/js/index-CT9fhFWm.js.gz differ diff --git a/js/index-Ca5uOONJ.js.gz b/js/index-Ca5uOONJ.js.gz deleted file mode 100644 index 1ea43692..00000000 Binary files a/js/index-Ca5uOONJ.js.gz and /dev/null differ diff --git a/js/index-Ca5uOONJ.js b/js/index-Caq9UL_D.js similarity index 95% rename from js/index-Ca5uOONJ.js rename to js/index-Caq9UL_D.js index 723f5e45..b5947ef7 100644 --- a/js/index-Ca5uOONJ.js +++ b/js/index-Caq9UL_D.js @@ -1 +1 @@ -import{Q as t}from"./vue3-next-qrcode@2.0.10_typescript@5.6.3-wzrC7cBz.js";import{L as l}from"./ray-dCjhX_JK.js";import{N as r,e,P as d}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as n,b as u,J as o}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as i}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.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.6.3-wzrC7cBz.js";import{L as l}from"./ray-dCjhX_JK.js";import{N as r,e,P as d}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as n,b as u,J as o}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as i}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const b=n({name:"RQRCodeDemo",setup(){const a=i("ray template yes"),m=i(),s=i();return{qrcodeText:a,qrcodeStatus:m,rayQRCodeRef:s}},render(){return u(e,null,{default:()=>[u(r,null,{default:()=>[u("h2",null,[o("基于 awesome-qr 进行封装,支持 LOGO、gif、backgroundImage 等属性。")]),u("h2",null,[o("该组件会自动监听文本内容变化,然后重新渲染(watchText)")]),u("h2",null,[o("具体使用请参考 props 配置项")])]}),u(r,{title:"基础二维码"},{default:()=>[u(e,null,{default:()=>[u(t,{text:"ray template yes"},null),u(t,{text:"ray template yes",logoImage:l},null),u(t,{text:"ray template yes",gifBackgroundURL:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80",dotScale:.5,colorDark:"#64d9d6"},null)]})]}),u(r,{title:"状态二维码"},{default:()=>[u(e,null,{default:()=>[u(t,{text:"ray template yes",logoImage:l,status:"error",onReload:()=>{window.$message.info("reload event")}},null),u(t,{text:"ray template yes",logoImage:l,status:"loading"},null)]})]}),u(r,{title:"监听内容变化"},{default:()=>[u(e,{vertical:!0},{default:()=>[u(e,null,{default:()=>[u(d,{onClick:()=>{this.qrcodeStatus="loading",setTimeout(()=>{this.qrcodeText="text updated: "+new Date().getTime(),this.qrcodeStatus=void 0},1e3)}},{default:()=>[o("更新二维码内容")]}),u(d,{onClick:()=>{var a;(a=this.rayQRCodeRef)==null||a.downloadQRCode()}},{default:()=>[o("下载二维码")]})]}),u(e,null,{default:()=>[u(t,{text:this.qrcodeText,status:this.qrcodeStatus,logoImage:l,ref:"rayQRCodeRef"},null),o("当前二维码内容:"),this.qrcodeText]})]})]})]})}});export{b as default}; diff --git a/js/index-Caq9UL_D.js.gz b/js/index-Caq9UL_D.js.gz new file mode 100644 index 00000000..5fea8859 Binary files /dev/null and b/js/index-Caq9UL_D.js.gz differ diff --git a/js/index-Ch7Iz5Mb.js b/js/index-Ch7Iz5Mb.js deleted file mode 100644 index dafab527..00000000 --- a/js/index-Ch7Iz5Mb.js +++ /dev/null @@ -1 +0,0 @@ -import{z as s,_ as i}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{m as c,b as t,O as p,V as d,q as m}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as u}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{e as E,p as a,N as g}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function f(r){return typeof r=="function"||Object.prototype.toString.call(r)==="[object Object]"&&!m(r)}const Oi=c({name:"PreviewSVGIcons",setup(){const r=u([]);return Object.keys(Object.assign({"/src/icons/action/close_other.svg":()=>i(()=>import("./close_other-DPtbrCYd.js"),[]),"/src/icons/action/draggable.svg":()=>i(()=>import("./draggable-D6qza0mp.js"),[]),"/src/icons/action/fullscreen.svg":()=>i(()=>import("./fullscreen-Cjm0bPGx.js"),[]),"/src/icons/action/fullscreen_fold.svg":()=>i(()=>import("./fullscreen_fold-D_jdG9mi.js"),[]),"/src/icons/action/out.svg":()=>i(()=>import("./out-CMQCc625.js"),[]),"/src/icons/action/reload.svg":()=>i(()=>import("./reload-BPf1PV7s.js"),[]),"/src/icons/action/search.svg":()=>i(()=>import("./search-CFLGi5BR.js"),[]),"/src/icons/action/setting.svg":()=>i(()=>import("./setting-DyoycADf.js"),[]),"/src/icons/action/shared.svg":()=>i(()=>import("./shared-DVfOv8Mx.js"),[]),"/src/icons/directional/adjustment.svg":()=>i(()=>import("./adjustment-DIo_g8Za.js"),[]),"/src/icons/directional/close_left.svg":()=>i(()=>import("./close_left-DX8SFJx4.js"),[]),"/src/icons/directional/close_right.svg":()=>i(()=>import("./close_right-DWMWcuX1.js"),[]),"/src/icons/directional/expanded.svg":()=>i(()=>import("./expanded-BswQDJyW.js"),[]),"/src/icons/directional/left_arrow.svg":()=>i(()=>import("./left_arrow-DAKeumRT.js"),[]),"/src/icons/directional/lock.svg":()=>i(()=>import("./lock-dC7sQfx2.js"),[]),"/src/icons/directional/resize_h.svg":()=>i(()=>import("./resize_h-DA2p7YCQ.js"),[]),"/src/icons/directional/right_arrow.svg":()=>i(()=>import("./right_arrow-CbmroMoE.js"),[]),"/src/icons/directional/row_end.svg":()=>i(()=>import("./row_end-CqbNhb3G.js"),[]),"/src/icons/directional/row_head.svg":()=>i(()=>import("./row_head-BCxi2x-p.js"),[]),"/src/icons/logo/github.svg":()=>i(()=>import("./github-B4ARmChV.js"),[]),"/src/icons/logo/google.svg":()=>i(()=>import("./google-GEcrFhWr.js"),[]),"/src/icons/logo/login_bg.svg":()=>i(()=>import("./login_bg-CRcyXHBf.js"),[]),"/src/icons/logo/office.svg":()=>i(()=>import("./office-B5pC1KGi.js"),[]),"/src/icons/logo/ray.svg":()=>i(()=>import("./ray-B93BjtIh.js"),[]),"/src/icons/logo/twitter.svg":()=>i(()=>import("./twitter-DjE7U1HD.js"),[]),"/src/icons/template/dark.svg":()=>i(()=>import("./dark-zODhV8ab.js"),[]),"/src/icons/template/light.svg":()=>i(()=>import("./light-DWWBs-Ry.js"),[]),"/src/icons/template/system_os.svg":()=>i(()=>import("./system_os-Bu1k9Avg.js"),[]),"/src/icons/tip/axios.svg":()=>i(()=>import("./axios-o8g4A-7A.js"),[]),"/src/icons/tip/close.svg":()=>i(()=>import("./close-B43hVi0H.js"),[]),"/src/icons/tip/dashboard.svg":()=>i(()=>import("./dashboard-70op-CO0.js"),[]),"/src/icons/tip/echart.svg":()=>i(()=>import("./echart-c_3t778P.js"),[]),"/src/icons/tip/enter.svg":()=>i(()=>import("./enter-CPGcsJ25.js"),[]),"/src/icons/tip/error.svg":()=>i(()=>import("./error-CjWalrOZ.js"),[]),"/src/icons/tip/export_excel.svg":()=>i(()=>import("./export_excel-ZmNoLzCr.js"),[]),"/src/icons/tip/language.svg":()=>i(()=>import("./language-BOVZ3dlJ.js"),[]),"/src/icons/tip/menu.svg":()=>i(()=>import("./menu-CPMkWw77.js"),[]),"/src/icons/tip/more.svg":()=>i(()=>import("./more-DW-qndwg.js"),[]),"/src/icons/tip/mouse.svg":()=>i(()=>import("./mouse-C_l6KSTs.js"),[]),"/src/icons/tip/other.svg":()=>i(()=>import("./other-DU6bZUrM.js"),[]),"/src/icons/tip/print.svg":()=>i(()=>import("./print-jFo_n0lx.js"),[]),"/src/icons/tip/question.svg":()=>i(()=>import("./question-TxSSjOrI.js"),[]),"/src/icons/tip/rely.svg":()=>i(()=>import("./rely-DlDUQEbT.js"),[]),"/src/icons/tip/table.svg":()=>i(()=>import("./table-tYkftQGA.js"),[])})).forEach(n=>{var _;const o=(_=n.match(/\/(\w+)\.svg/))==null?void 0:_[1];o&&r.value.push(o)}),{icons:r}},render(){return t(g,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let r;return t(E,null,f(r=this.icons.map(e=>p(t("div",{class:"pre-view-icons__card",key:e},[t(a,null,{trigger:()=>t(s,{name:e,size:"56",cursor:"pointer"},null),default:()=>e})]),[[d("copy"),``]])))?r:{default:()=>[r]})}})}});export{Oi as default}; diff --git a/js/index-Ch7Iz5Mb.js.gz b/js/index-Ch7Iz5Mb.js.gz deleted file mode 100644 index f7b98829..00000000 Binary files a/js/index-Ch7Iz5Mb.js.gz and /dev/null differ diff --git a/js/index-D26iCvfp.js b/js/index-D26iCvfp.js deleted file mode 100644 index d6420b7f..00000000 --- a/js/index-D26iCvfp.js +++ /dev/null @@ -1 +0,0 @@ -import{a3 as $,Y as z,T as G,U as L,z as P,a4 as j}from"./hooks-Bi_Q9OFa.js";import{m as Y}from"./utils-4asTneEs.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as D,e as n,ah as _,P as u,w as K,b as r,H as q,M as F,ak as H,J as X,p as Q}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as W,b as e,J as o,F as I,q as Z}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as x,e as ee,x as te}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function N(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Z(i)}const at=W({name:"TableView",setup(){const[i,{getTableInstance:c,clearFilters:p,clearSorter:m,scrollTo:f,filters:k,sort:C,downloadCsv:h,print:y}]=$(),b=[{type:"selection"},{title:"Name",key:"name",filterOptions:[{label:"John Brown",value:"John Brown"},{label:"Jim Green",value:"Jim Green"}],filter:(t,a)=>a.name.includes(t.toString())},{title:"Age",key:"age",sorter:(t,a)=>t.age-a.age},{title:"Address",key:"address"},{title:"Tags",key:"tags",render:t=>t.tags.map(d=>e(K,{type:"info",bordered:!1,style:"margin-right: 6px"},N(d)?d:{default:()=>[d]}))},{title:"Remark",key:"remark"},{title:"Action",key:"actions",render:t=>e(n,{align:"center"},{default:()=>[e(u,{size:"tiny"},{default:()=>[o("查看")]}),e(j,{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;"},[o("删除")]),key:"delete"}],E=ee({gridItemCount:4,gridCollapsedRows:1,tableLoading:!1}),[T,{checkedRowKeysBind:B,getKeys:R,getRows:l,clearKey:v,clearAll:A,selectKey:S}]=z(s,w,{rowKey:"key",onChange:(t,a,d)=>{}}),J=()=>{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:"我是一条很长很长的备注"})},M=t=>{window.$message.info(`${t}`)},O=()=>{const{key:t}=s.value[1];v(t)},U=()=>{s.value.map(a=>a.key).forEach(a=>S(a))},V=()=>{const{key:t}=s.value[1];S(t)};return J(),{...te(E),tableData:s,actionColumns:w,baseColumns:b,tableMenuOptions:g,menuSelect:M,register:i,getKeys:R,getRows:l,clearKey:v,clearAll:A,checkedRowKeysBind:B,checkedRowKeys:T,clearSecondIndexRow:O,selectAll:U,selectSecondIndexRow:V,clearFilters:p,clearSorter:m,scrollTo:f,filters:k,sort:C,downloadCsv:h,getTableInstance:c,print:y}},render(){let i;const{register:c,clearAll:p,checkedRowKeysBind:m,clearSecondIndexRow:f,selectAll:k,selectSecondIndexRow:C,clearFilters:h,clearSorter:y,scrollTo:b,filters:w,sort:s,downloadCsv:g,getTableInstance:E,getRows:T,getKeys:B,print:R}=this;return e(n,{vertical:!0},{default:()=>[e(D,{title:"RTable"},{default:()=>[o("基于 NDataTable 封装,继承该组件所有 props 属性。查看 RTable props 文件即可查看该组件拓展项")]}),e(D,{title:"useTable"},{default:()=>[e(n,{vertical:!0,style:"width: 100%"},{default:()=>[e(_,{title:"DataTable Methods",type:"info"},{default:()=>[o("其余的方法查看")," ",e("a",{style:"color: transparent",href:"https://www.naiveui.com/zh-CN/dark/components/data-table#DataTable-Methods"},[o("Naive UI")]),o("官网,保持一致。")]}),e(n,null,{default:()=>[e(u,{onClick:y.bind(this)},{default:()=>[o("清除所有排序")]}),e(u,{onClick:h.bind(this)},{default:()=>[o("清除所有过滤")]}),e(u,{onClick:()=>{g()}},{default:()=>[o("下载 CSV")]}),e(u,{onClick:()=>E()},{default:()=>[o("getTableInstance")]}),e(u,{onClick:()=>R()},{default:()=>[o("打印")]})]})]})]}),e(D,{title:"useCheckedRowKeys"},{default:()=>[e(n,{vertical:!0},{default:()=>[e(n,null,{default:()=>[e(u,{onClick:k.bind(this)},{default:()=>[o("选中所有行")]}),e(u,{onClick:p.bind(this)},{default:()=>[o("取消所有已选中行")]}),e(u,{onClick:C.bind(this)},{default:()=>[o("选中第二行")]}),e(u,{onClick:f.bind(this)},{default:()=>[o("取消第二行选中")]})]}),e(n,null,N(i=this.checkedRowKeys.map(l=>e(K,{type:"success",key:l},N(l)?l:{default:()=>[l]})))?i:{default:()=>[i]})]})]}),e(G,{collapsedRows:this.gridCollapsedRows,cols:this.gridItemCount,onUpdateOpen:l=>window.$message.info(`我是 RCollapse 组件${l?"收起":"展开"}的回调函数`)},{action:()=>e(I,null,[e(u,{type:"primary"},{default:()=>[o("搜索")]}),e(u,null,{default:()=>[o("重置")]})]),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(H,{type:"datetimerange",clearable:!0},null)]}),e(r,null,{default:()=>[e(F,null,null)]}),e(r,null,{default:()=>[e(F,null,null)]})])}),e(L,{checkedRowKeys:this.checkedRowKeys,"onUpdate:checkedRowKeys":l=>this.checkedRowKeys=l,onUpdateCheckedRowKeys:m.bind(this),onRegister:c.bind(this),scrollX:1e3,title:e(n,{align:"center"},{default:()=>[e("span",null,[o("标题插槽:")]),e(X,{onUpdateValue:l=>this.tableLoading=l},null)]}),data:this.tableData,columns:this.actionColumns,"onUpdate:columns":l=>this.actionColumns=l,pagination:{pageSize:10},contextMenuOptions:this.tableMenuOptions,loading:this.tableLoading,onContextMenuClick:this.menuSelect.bind(this),toolOptions:[e(Q,null,{trigger:()=>e(P,{name:"search",size:"18",cursor:"pointer",onClick:()=>{window.$message.info("点击了搜索按钮")}},null),default:()=>"我是自定义工具栏示例"})],rowKey:l=>l.key,striped:!0},{tableFooter:()=>"表格的底部内容区域插槽,有时候你可能会用上",tableAction:()=>"表格的操作区域内容插槽,有时候可能会用上"})]})}});export{at as default}; diff --git a/js/index-D26iCvfp.js.gz b/js/index-D26iCvfp.js.gz deleted file mode 100644 index a0eee629..00000000 Binary files a/js/index-D26iCvfp.js.gz and /dev/null differ diff --git a/js/index-DGmHId93.js b/js/index-DGmHId93.js deleted file mode 100644 index aaea7212..00000000 --- a/js/index-DGmHId93.js +++ /dev/null @@ -1 +0,0 @@ -import{C as u,e as s}from"./hooks-Bi_Q9OFa.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{u as a}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import{ab as n,W as l,e as c,P as p}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m,b as t,p as d,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const f=m({name:"PageResult",props:{...n},setup(){const{replace:r}=a();return{goBack:()=>{var i;const{getAppRootRoute:o}=s();(i=o.value)!=null&&i.path&&r(o.value.path)}}},render(){const{goBack:r}=this;return t("div",{class:"error-page"},[t(l,d(this.$props,{status:"500",title:"404 资源不存在",description:"小调皮你走错地方了"}),{...this.$slots,footer:()=>t(c,{align:"center",justify:"center"},{default:()=>[t(p,{onClick:u.bind(this,!0)},{default:()=>[e("返回首页")]}),t(p,{type:"primary",onClick:r.bind(this)},{default:()=>[e("返回上一页面")]})]})})])}}),Dt=m({name:"ErrorPage404",setup(){return{}},render(){return t(f,{status:"404"},null)}});export{Dt as default}; diff --git a/js/index-DGmHId93.js.gz b/js/index-DGmHId93.js.gz deleted file mode 100644 index 67feb943..00000000 Binary files a/js/index-DGmHId93.js.gz and /dev/null differ diff --git a/js/index-DZB7njz5.js.gz b/js/index-DZB7njz5.js.gz deleted file mode 100644 index 96a4ff08..00000000 Binary files a/js/index-DZB7njz5.js.gz and /dev/null differ diff --git a/js/index-Dk76Wg-2.js b/js/index-Dk76Wg-2.js deleted file mode 100644 index 8eaf35b0..00000000 --- a/js/index-Dk76Wg-2.js +++ /dev/null @@ -1 +0,0 @@ -import"./hooks-Bi_Q9OFa.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{s as n,g as l,w as c,E as f}from"./utils-4asTneEs.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import{e as i,ai as u,aj as a,M as m,P as o,N as d}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as g,b as e,J as r}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Be=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{Be as default}; diff --git a/js/index-Dk76Wg-2.js.gz b/js/index-Dk76Wg-2.js.gz deleted file mode 100644 index dec3c792..00000000 Binary files a/js/index-Dk76Wg-2.js.gz and /dev/null differ diff --git a/js/index-DmIHrKCj.js.gz b/js/index-DmIHrKCj.js.gz deleted file mode 100644 index f3cd9dec..00000000 Binary files a/js/index-DmIHrKCj.js.gz and /dev/null differ diff --git a/js/index-Bf4jaD3y.js b/js/index-DmgxQ1v0.js similarity index 53% rename from js/index-Bf4jaD3y.js rename to js/index-DmgxQ1v0.js index b1fdd595..e299b5cd 100644 --- a/js/index-Bf4jaD3y.js +++ b/js/index-DmgxQ1v0.js @@ -1 +1 @@ -import{m as k,v as x,b as t,J as C,p as O,q as D}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as y}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{N as l,ac as a,ad as p,w as N}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";var _={pkg:{dependencies:{"@logicflow/core":"2.0.10","@logicflow/extension":"2.0.14","@vueuse/core":"^12.4.0",axios:"^1.7.9",clipboard:"^2.0.11","crypto-js":"4.2.0","currency.js":"^2.0.4",dayjs:"^1.11.13",echarts:"^5.6.0","html-to-image":"1.11.11",interactjs:"1.10.27",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.41.0",pinia:"^2.3.0","pinia-plugin-persistedstate":"^4.2.0","print-js":"^1.6.0",vue:"^3.5.13","vue-demi":"0.14.10","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.4.0","vue3-next-qrcode":"2.0.10"},devDependencies:{"@amap/amap-jsapi-types":"0.0.15","@ant-design/icons-vue":"7.0.1","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@interactjs/types":"1.10.27","@intlify/unplugin-vue-i18n":"4.0.0","@types/crypto-js":"4.2.2","@types/jsbarcode":"3.11.4","@types/lodash-es":"4.17.12","@types/mockjs":"1.0.10","@types/three":"0.171.0","@typescript-eslint/eslint-plugin":"8.20.0","@typescript-eslint/parser":"8.20.0","@vitejs/plugin-vue":"5.2.1","@vitejs/plugin-vue-jsx":"4.1.1","@vitest/ui":"2.1.8","@vue/eslint-config-prettier":"10.1.0","@vue/eslint-config-typescript":"14.2.0","@vue/test-utils":"2.4.6",autoprefixer:"10.4.20",depcheck:"1.4.7",eslint:"9.18.0","eslint-config-prettier":"10.0.1","eslint-plugin-prettier":"5.2.2","eslint-plugin-vue":"9.32.0",globals:"15.14.0","happy-dom":"16.6.0",husky:"8.0.3","lint-staged":"15.3.0",postcss:"8.5.1","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"3.4.2","rollup-plugin-gzip":"4.0.1",sass:"1.83.0","svg-sprite-loader":"6.0.11",typescript:"5.6.3","unplugin-auto-import":"19.0.0","unplugin-vue-components":"0.28.0",vite:"6.0.7","vite-bundle-analyzer":"0.16.0","vite-plugin-cdn2":"1.1.0","vite-plugin-ejs":"1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"0.8.4","vite-plugin-mock-dev-server":"1.8.3","vite-plugin-svg-icons":"2.0.1","vite-svg-loader":"5.1.0",vitest:"2.1.8","vue-tsc":"2.2.0"},name:"ray-template",version:"5.0.10"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"}};function r(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!D(i)}const Q=k({name:"RelyAbout",setup(){const{pkg:i}=_,{dependencies:s,devDependencies:n,name:e,version:g}=i,f=[{title:"依赖名称",key:"name"},{title:"依赖版本",key:"relyVersion"},{title:"依赖地址",key:"relyAddress"}],u=y([]),d=y([]),b=[{name:"项目名称",label:e},{name:"版本信息",label:g},{name:"项目地址",label:"GitHub",url:"https://github.com/XiaoDaiGua-Ray/ray-template"}],h=()=>{const o=c=>Object.keys(c).reduce((m,v)=>(m.push({name:v,relyVersion:c[v],relyAddress:""}),m),[]);u.value=o(s),d.value=o(n)},j=o=>{o.url&&window.open(o.url)};return x(()=>{h()}),{columns:f,dependenciesOptions:u,devDependenciesOptions:d,templateOptions:b,handleTagClick:j}},render(){let i,s,n;return t("div",{class:"rely-about"},[t(l,{title:"关于项目"},{default:()=>[C("ray template 是一个基于: tsx pinia vue3.x vite sass 的中后台解决方案. 项目干净与轻巧, 已经集成了很多项目中可能需要的搬砖工具可以让你快速起一个相关项目, 并且不需要剔除大量无用页面与组件.")]}),t(l,{title:"项目信息"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(i=this.templateOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[t(N,O({bordered:!1,type:"info"},{onClick:this.handleTagClick.bind(this,e)},{style:[e.url?"cursor: pointer":""]}),{default:()=>[e.label]})]})))?i:{default:()=>[i]})]}),t(l,{title:"生产依赖"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(s=this.dependenciesOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?s:{default:()=>[s]})]}),t(l,{title:"开发依赖"},{default:()=>[t(a,{bordered:!0,labelPlacement:"left"},r(n=this.devDependenciesOptions.map(e=>t(p,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?n:{default:()=>[n]})]})])}});export{Q as default}; +import{m as k,v as x,b as t,J as C,p as O,q as D}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as y}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{N as l,ac as a,ad as p,w as N}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";var _={pkg:{dependencies:{"@logicflow/core":"2.0.10","@logicflow/extension":"2.0.14","@vueuse/core":"^12.4.0",axios:"^1.7.9",clipboard:"^2.0.11","crypto-js":"4.2.0","currency.js":"^2.0.4",dayjs:"^1.11.13",echarts:"^5.6.0","html-to-image":"1.11.11",interactjs:"1.10.27",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.41.0",pinia:"^2.3.0","pinia-plugin-persistedstate":"^4.2.0","print-js":"^1.6.0",vue:"^3.5.13","vue-demi":"0.14.10","vue-hooks-plus":"2.2.3","vue-i18n":"^9.13.1","vue-router":"^4.4.0","vue3-next-qrcode":"2.0.10"},devDependencies:{"@amap/amap-jsapi-types":"0.0.15","@ant-design/icons-vue":"7.0.1","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@interactjs/types":"1.10.27","@intlify/unplugin-vue-i18n":"4.0.0","@types/crypto-js":"4.2.2","@types/jsbarcode":"3.11.4","@types/lodash-es":"4.17.12","@types/mockjs":"1.0.10","@types/three":"0.171.0","@typescript-eslint/eslint-plugin":"8.20.0","@typescript-eslint/parser":"8.20.0","@vitejs/plugin-vue":"5.2.1","@vitejs/plugin-vue-jsx":"4.1.1","@vitest/ui":"2.1.8","@vue/eslint-config-prettier":"10.1.0","@vue/eslint-config-typescript":"14.2.0","@vue/test-utils":"2.4.6",autoprefixer:"10.4.20",depcheck:"1.4.7",eslint:"9.18.0","eslint-config-prettier":"10.0.1","eslint-plugin-prettier":"5.2.2","eslint-plugin-vue":"9.32.0",globals:"15.14.0","happy-dom":"16.6.0",husky:"8.0.3","lint-staged":"15.3.0",postcss:"8.5.1","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"3.4.2","rollup-plugin-gzip":"4.0.1",sass:"1.83.4","svg-sprite-loader":"6.0.11",typescript:"5.6.3","unplugin-auto-import":"19.0.0","unplugin-vue-components":"0.28.0",vite:"6.1.0","vite-bundle-analyzer":"0.16.0","vite-plugin-cdn2":"1.1.0","vite-plugin-ejs":"1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"0.8.4","vite-plugin-mock-dev-server":"1.8.3","vite-plugin-svg-icons":"2.0.1","vite-svg-loader":"5.1.0",vitest:"2.1.8","vue-tsc":"2.2.0"},name:"ray-template",version:"5.1.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"}};function r(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!D(i)}const Q=k({name:"RelyAbout",setup(){const{pkg:i}=_,{dependencies:s,devDependencies:n,name:e,version:g}=i,f=[{title:"依赖名称",key:"name"},{title:"依赖版本",key:"relyVersion"},{title:"依赖地址",key:"relyAddress"}],u=y([]),d=y([]),b=[{name:"项目名称",label:e},{name:"版本信息",label:g},{name:"项目地址",label:"GitHub",url:"https://github.com/XiaoDaiGua-Ray/ray-template"}],h=()=>{const o=c=>Object.keys(c).reduce((m,v)=>(m.push({name:v,relyVersion:c[v],relyAddress:""}),m),[]);u.value=o(s),d.value=o(n)},j=o=>{o.url&&window.open(o.url)};return x(()=>{h()}),{columns:f,dependenciesOptions:u,devDependenciesOptions:d,templateOptions:b,handleTagClick:j}},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-DmgxQ1v0.js.gz b/js/index-DmgxQ1v0.js.gz new file mode 100644 index 00000000..ceaf29a9 Binary files /dev/null and b/js/index-DmgxQ1v0.js.gz differ diff --git a/js/index-Dxwaq9TV.js b/js/index-Dxwaq9TV.js new file mode 100644 index 00000000..ae67439c --- /dev/null +++ b/js/index-Dxwaq9TV.js @@ -0,0 +1 @@ +import{V as F,n as l}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as e,e as d,P as o}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as p,b as u,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{e as s,x as E}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Au=p({name:"ModalDemo",setup(){const a=s({modal1:!1,modal2:!1,modal3:!1}),{create:i}=F(),r=()=>{i({title:"卡片模态框",draggable:!0,preset:"card",content:()=>u("div",{style:"height: 3000px;"},[t("我可以被拖拽的全屏card模态框")]),fullscreen:!0})},m=()=>{i({title:"模态框",content:"内容",preset:"dialog",draggable:!0})};return{...E(a),createCardModal:r,createDialogModal:m}},render(){const{createCardModal:a,createDialogModal:i}=this;return u(d,{vertical:!0},{default:()=>[u(e,{title:"props"},{default:()=>[u(d,{vertical:!0},{default:()=>[u("h3",null,[t("fullscreen: 全屏模态框。")])]})]}),u(l,{show:this.modal1,"onUpdate:show":r=>this.modal1=r,title:"全屏模态框",fullscreen:!0,preset:"card"},{default:()=>[u("div",{style:"height: 3000px;"},[t("我可以被拖拽的全屏card模态框")])]}),u(l,{show:this.modal2,"onUpdate:show":r=>this.modal2=r,preset:"card",title:"可拖拽卡片模态框",draggable:!0},{default:()=>[u("p",null,[t("我可以被拖拽")])]}),u(l,{show:this.modal3,"onUpdate:show":r=>this.modal3=r,preset:"dialog",title:"可拖拽卡片模态框",draggable:!0},{default:()=>[u("p",null,[t("我可以被拖拽")])]}),u(e,{title:"可拖拽模态框"},{default:()=>[u(o,{onClick:()=>this.modal2=!0},{default:()=>[t("卡片模态框")]}),u(o,{onClick:()=>this.modal3=!0},{default:()=>[t("对话框模态框")]})]}),u(e,{title:"全屏模态框"},{default:()=>[u(d,{vertical:!0},{default:()=>[u("h4",null,[t("全屏模态框需要同时设置:fullscreen 为 true,并且 preset 为 card 时才会生效。")]),u(o,{onClick:()=>this.modal1=!0},{default:()=>[t("打开")]})]})]}),u(e,{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(e,{title:"重写 useModal"},{default:()=>[u(o,{onClick:a.bind(this)},{default:()=>[t("创建卡片模态框")]}),u(o,{onClick:i.bind(this)},{default:()=>[t("创建对话框模态框")]})]})]})}});export{Au as default}; diff --git a/js/index-Dxwaq9TV.js.gz b/js/index-Dxwaq9TV.js.gz new file mode 100644 index 00000000..49595aa2 Binary files /dev/null and b/js/index-Dxwaq9TV.js.gz differ diff --git a/js/index-BFJAvh0j.js b/js/index-KVQuX6r5.js similarity index 95% rename from js/index-BFJAvh0j.js rename to js/index-KVQuX6r5.js index eaaa356f..50e81771 100644 --- a/js/index-BFJAvh0j.js +++ b/js/index-KVQuX6r5.js @@ -1 +1 @@ -import{m as n,b as e,p as s,q as i}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{y as r,Y as c,e as p}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.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{m as n,b as e,p as s,q as i}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{y as r,Y as c,e as p}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.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-KVQuX6r5.js.gz b/js/index-KVQuX6r5.js.gz new file mode 100644 index 00000000..2dfee7b3 Binary files /dev/null and b/js/index-KVQuX6r5.js.gz differ diff --git a/js/index-NT6CxTG0.js b/js/index-NT6CxTG0.js deleted file mode 100644 index 49e50a00..00000000 --- a/js/index-NT6CxTG0.js +++ /dev/null @@ -1 +0,0 @@ -import{N as r,O as A}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as u,e as h,P as i,J as C}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as O,b as t,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as g,e as L,x as V}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Rt=O({name:"REchart",setup(){const[n,{getChartInstance:f,dispose:l,render:d,isDisposed:p}]=A(),[m,{getChartInstance:o,dispose:F,render:y,isDisposed:B}]=A(),b=g(!1),E=g(!1),s=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)"}}}]},c=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=>{s.loading=a},w=a=>{E.value=a},S=()=>{p()?d():window.$message.warning("图表已渲染~")},x=()=>{l()},T=()=>{s.loading1=!0;const a=()=>Math.floor((Math.random()+1)*100);setTimeout(()=>{c.value.series[0].data=new Array(7).fill(0).map(()=>a()),c.value.series[1].data=new Array(7).fill(0).map(()=>a()),s.loading1=!1},1e3)};return{baseOptions:D,chartLoading:b,handleLoadingShow:v,chartAria:E,handleAriaShow:w,basePieOptions:k,baseLineOptions:c,...V(s),mountChart:S,unmountChart:x,updateChartOptions:T,register:n,register2:m,dispose2:F,render2:y,isDisposed2:B}},render(){const{register:n,register2:f,dispose2:l,render2:d,isDisposed2:p,loading1:m}=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(h,{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:m},null)])]}),t(u,{title:"不跟随主题切换的暗色主题可视化图,并且手动指定原始主题色"},{default:()=>[t(h,{vertical:!0},{default:()=>[t(h,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":o=>this.chartLoading=o,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":o=>this.chartAria=o,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{Rt as default}; diff --git a/js/index-NT6CxTG0.js.gz b/js/index-NT6CxTG0.js.gz deleted file mode 100644 index 487b7909..00000000 Binary files a/js/index-NT6CxTG0.js.gz and /dev/null differ diff --git a/js/index-PdfG5d8M.js b/js/index-PdfG5d8M.js new file mode 100644 index 00000000..dc19a5ea --- /dev/null +++ b/js/index-PdfG5d8M.js @@ -0,0 +1 @@ +import"./hooks-DAFrMGjY.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{F,G as h,H as O,I as C,J as E,K as b}from"./utils-Bic_iDtY.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import{m as D,b as u,J as p,n as B}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{e as f,x as v}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{e as r,N as i,L as o,K as s,$ as V}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const At=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,m)=>{const d=a[m],c=d(...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{At as default}; diff --git a/js/index-PdfG5d8M.js.gz b/js/index-PdfG5d8M.js.gz new file mode 100644 index 00000000..52ad2209 Binary files /dev/null and b/js/index-PdfG5d8M.js.gz differ diff --git a/js/index-RcBdBfte.js b/js/index-RcBdBfte.js deleted file mode 100644 index e82f91c5..00000000 --- a/js/index-RcBdBfte.js +++ /dev/null @@ -1 +0,0 @@ -import{i as f,R as h}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{a as v,ag as r,M as l,K as F,ak as b,al as y,am as s,e as N,P as m}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as k,b as t,J as i}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as d}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Bt=k({name:"RFormDemo",setup(){const[u,{getFormInstance:p,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"}}),g=d(e()),c=d(a());return{register:u,rules:g,condition:c,restoreValidation:n,formModel:a,validate:o}},render(){const{rules:u}=this,{register:p,restoreValidation:o,formModel:n,validate:a}=this;return t(h,{onRegister:p,rules:u,model:this.condition},{default:()=>[t(v,{cols:24,xGap:24},{default:()=>[t(r,{label:"姓名",path:"name",span:12},{default:()=>[t(l,{value:this.condition.name,"onUpdate:value":e=>this.condition.name=e},null)]}),t(r,{label:"年龄",path:"age",span:12},{default:()=>[t(F,{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(l,{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(m,{type:"info",onClick:()=>{this.condition=n(),o()}},{default:()=>[i("重置表单为初始状态")]}),t(m,{type:"warning",onClick:o.bind(this)},{default:()=>[i("移除校验状态")]}),t(m,{type:"primary",onClick:()=>a()},{default:()=>[i("校验")]})]})]})]})]})}});export{Bt as default}; diff --git a/js/index-RcBdBfte.js.gz b/js/index-RcBdBfte.js.gz deleted file mode 100644 index f6025ddf..00000000 Binary files a/js/index-RcBdBfte.js.gz and /dev/null differ diff --git a/js/index-e7_TArrI.js b/js/index-Sl0awl2C.js similarity index 96% rename from js/index-e7_TArrI.js rename to js/index-Sl0awl2C.js index dfb975e4..12a273ba 100644 --- a/js/index-e7_TArrI.js +++ b/js/index-Sl0awl2C.js @@ -1 +1 @@ -import{m as f,b as u,J as e,O as t,V as l}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{N as i,e as a,ah as r,w as s,P as n,K as B,ai as p,M as d,J as E,r as m,I as h}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{e as v,k as A,x as b}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const M=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(r,{title:"modifiers",type:"info"},{default:()=>[e("你可以手动显示的声明水波纹效果,默认为 circle。你可以手动的声明为 center。")]}),u(r,{title:"vue template",type:"success"},{default:()=>[e('"v-ripple.center" 或者 "v-ripple.circle"。')]}),u(r,{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(n,{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(r,{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(n,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(n,null,{default:()=>[e("复制")]}),[[l("copy"),this.copyValueTwo]])]})]}),u(i,{title:"节流"},{default:()=>[u(a,{vertical:!0},{default:()=>[t(u(n,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(n,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(n,null,{default:()=>[e("按钮")]}),[[l("disabled"),this.disabledValue]]),t(u(E,null,null),[[l("disabled"),this.disabledValue]])]})]})]})]})]})}});export{M as default}; +import{m as f,b as u,J as e,O as t,V as l}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{N as i,e as a,ag as r,w as s,P as n,K as B,ah as p,M as d,J as E,r as m,I as h}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{e as v,k as A,x as b}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const M=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(r,{title:"modifiers",type:"info"},{default:()=>[e("你可以手动显示的声明水波纹效果,默认为 circle。你可以手动的声明为 center。")]}),u(r,{title:"vue template",type:"success"},{default:()=>[e('"v-ripple.center" 或者 "v-ripple.circle"。')]}),u(r,{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(n,{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(r,{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(n,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(n,null,{default:()=>[e("复制")]}),[[l("copy"),this.copyValueTwo]])]})]}),u(i,{title:"节流"},{default:()=>[u(a,{vertical:!0},{default:()=>[t(u(n,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(n,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(n,null,{default:()=>[e("按钮")]}),[[l("disabled"),this.disabledValue]]),t(u(E,null,null),[[l("disabled"),this.disabledValue]])]})]})]})]})]})}});export{M as default}; diff --git a/js/index-Sl0awl2C.js.gz b/js/index-Sl0awl2C.js.gz new file mode 100644 index 00000000..cc9070a7 Binary files /dev/null and b/js/index-Sl0awl2C.js.gz differ diff --git a/js/index-Tan3v5mf.js b/js/index-Tan3v5mf.js new file mode 100644 index 00000000..ef100889 --- /dev/null +++ b/js/index-Tan3v5mf.js @@ -0,0 +1 @@ +import{o as S,e as W,a5 as V,z as w,a6 as y,a7 as M,a8 as N,u as L,a9 as R}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as i,e as a,M as T,P as t}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as U,b as u,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as b}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Ou=U({name:"TemplateHooks",setup(){const m=b(""),r=S("layoutContentMaximize"),n=b(W().getWatermarkConfig.value.content),F=b("new"),{navigationTo:p}=y(),{maximize:s,isLayoutContentMaximized:d}=V(),{reload:C,openSpin:B,closeSpin:D}=M(),{showWatermark:h,hiddenWatermark:A,setWatermarkContent:E,toggleWatermark:c}=N(),{darkTheme:f,lightTheme:k,toggleTheme:l,getAppTheme:g,syncSystemTheme:o}=L(),{hidden:v,show:x,update:z}=R();return{navigationTo:p,reload:C,currentMenuOption:m,maximize:s,maximizeRef:r,openSpin:B,closeSpin:D,showWatermark:h,hiddenWatermark:A,setWatermarkContent:E,watermark:n,toggleWatermark:c,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:r,maximize:n,openSpin:F,closeSpin:p,showWatermark:s,hiddenWatermark:d,setWatermarkContent:C,toggleWatermark:B,darkTheme:D,lightTheme:h,toggleTheme:A,getAppTheme:E,isLayoutContentMaximized:c,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",{label:this.badgeValue})},{default:()=>[e("显示当前菜单标记")]}),u(t,{onClick:()=>l("/template-hooks",{label:this.badgeValue})},{default:()=>[e("更新当前菜单标记")]}),u(t,{onClick:()=>{l("/template-hooks",{label:this.badgeValue,icon:u(w,{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 获取当前主题色: "),E().themeLabel]),u(a,null,{default:()=>[u(t,{onClick:()=>D()},{default:()=>[e("切换暗黑主题")]}),u(t,{onClick:()=>h()},{default:()=>[e("切换明亮主题")]}),u(t,{onClick:()=>g()},{default:()=>[e("跟随主题")]}),u(t,{onClick:()=>A()},{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:()=>{r()}},{default:()=>[e("刷新(强制刷新)")]}),u(t,{onClick:()=>{F(),setTimeout(()=>{p()},800)}},{default:()=>[e("触发加载动画(不强制刷新)")]})]})]}),u(i,{title:"useMaximize 内容区域最大化"},{default:()=>[u("h3",null,[e("isLayoutContentMaximized 检测当前内容区域是否最大化:"),c?"最大化":"正常尺寸"]),u(t,{onClick:()=>{n(!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{Ou as default}; diff --git a/js/index-Tan3v5mf.js.gz b/js/index-Tan3v5mf.js.gz new file mode 100644 index 00000000..659a6215 Binary files /dev/null and b/js/index-Tan3v5mf.js.gz differ diff --git a/js/index-VfNFmfqJ.js.gz b/js/index-VfNFmfqJ.js.gz deleted file mode 100644 index e6b6aa6e..00000000 Binary files a/js/index-VfNFmfqJ.js.gz and /dev/null differ diff --git a/js/index-Zn8uDOa9.js b/js/index-Zn8uDOa9.js deleted file mode 100644 index 251f1686..00000000 --- a/js/index-Zn8uDOa9.js +++ /dev/null @@ -1 +0,0 @@ -import{z as s}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{A as d}from"./index-BFJAvh0j.js";import{N as i,ac as f,ad as c,ae as n,af as E,e as a,w as p,O as b}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m as F,b as t,J as u,q as C,p as A}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function m(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!C(o)}const ht=F({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>t(a,null,{default:()=>[t(p,{type:"success"},{default:()=>[u("Vue3.x")]}),t(p,{type:"info"},{default:()=>[u("React")]})]})},{label:"从事搬砖时长",des:()=>t(a,null,{default:()=>[t(p,{type:"success"},{default:()=>[u("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>t(a,{align:"center"},{default:()=>[t(s,{name:"ray",size:"22"},null),u("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>t(a,{align:"center"},{default:()=>[u("如果有希望补充的功能可以在"),t(b,A({as:"a",class:"dashboard-link",type:"primary"},{href:"https://github.com/XiaoDaiGua-Ray/ray-template/issues"}),{default:()=>[u("GitHub")]}),u("提一个 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 o,l;return t(a,{vertical:!0},{default:()=>[t(i,null,{header:()=>t(s,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),t(i,{title:"个人介绍"},{default:()=>[t(f,{bordered:!0,labelPlacement:"left",column:2},m(o=this.coverLetterOptions.map(e=>{let r;return t(c,{key:e.label,label:e.label,span:e==null?void 0:e.span},m(r=e.des())?r:{default:()=>[r]})}))?o:{default:()=>[o]})]}),t(i,{title:"项目介绍"},{default:()=>[t(n,null,{default:()=>[u("技术栈")]}),t(E,null,{default:()=>[t(a,null,m(l=this.technologyTagOptions.map(e=>t(p,{key:e.value,type:"info"},{default:()=>[e.label]})))?l:{default:()=>[l]})]}),t(n,null,{default:()=>[u("项目介绍")]}),t(E,null,{default:()=>[u("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),t(i,{title:"友情链接"},{default:()=>[t(d,null,null)]})]})}});export{ht as default}; diff --git a/js/index-Zn8uDOa9.js.gz b/js/index-Zn8uDOa9.js.gz deleted file mode 100644 index 9dd20531..00000000 Binary files a/js/index-Zn8uDOa9.js.gz and /dev/null differ diff --git a/js/index-e7_TArrI.js.gz b/js/index-e7_TArrI.js.gz deleted file mode 100644 index 7e19d390..00000000 Binary files a/js/index-e7_TArrI.js.gz and /dev/null differ diff --git a/js/index-j89RtQdR.js b/js/index-j89RtQdR.js new file mode 100644 index 00000000..711098a0 --- /dev/null +++ b/js/index-j89RtQdR.js @@ -0,0 +1 @@ +import{R as J}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import{e as M,M as Y,g as K,f as v,G as b,h as X,i as Q,j,k as S,l as e1,R as t1,r as l1,m as o1,n as E,o as i1,p as c1,q as a1,D as n1,s as r1,t as s1,v as p1,w as d1}from"./hooks-DAFrMGjY.js";import{d as h1}from"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import{a0 as f1,a1 as u1,a2 as m1,a3 as v1,a4 as g1,a5 as b1,a6 as V,a7 as _1,a8 as M1,I as y1,M as w1,P as C1,a9 as Z1,aa as z1,h as k1}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m,f as y,b as n,j as S1,t as V1,l as x1,n as H1,J as P1,p as T}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{f as A1,u as O}from"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import{g as Z,c as L1,b as _,y as w,n as R,s as C,D as B1,d as x,i as j1}from"./utils-Bic_iDtY.js";import{g as E1,o as T1,q as O1,A as R1}from"./lodash-es@4.17.21-BbYRMHep.js";import{e as $1,x as N1,k as F1}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./vue3-next-qrcode@2.0.10_typescript@5.6.3-wzrC7cBz.js";import{C as D1}from"./clipboard@2.0.11-DrvHMEFZ.js";import{c as $}from"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const a of c.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function l(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(o){if(o.ep)return;o.ep=!0;const c=l(o);fetch(o.href,c)}})();const I1=m({name:"GlobalProvider",setup(e,{expose:t}){const{getPrimaryColorOverride:l,getAppTheme:i,getLocaleLanguage:o}=M(),c=y(()=>{const r=o.value;return K(r)}),a=()=>{const{message:r,notification:s,dialog:p,loadingBar:d}=M1(["message","dialog","notification","loadingBar"],{configProviderProps:y(()=>({theme:i.value?V:null}))});window.$dialog=p,window.$message=r,window.$loadingBar=d,window.$notification=s};return t(),{getPrimaryColorOverride:l,localePackage:c,getAppTheme:i,discreteApi:a}},render(){const{$slots:{default:e},discreteApi:t}=this,{getPrimaryColorOverride:l,getAppTheme:i,localePackage:o}=this;return n(_1,{themeOverrides:l,theme:i?V:null,locale:o.locale,dateLocale:o.dateLocal},{default:()=>[n(f1,null,{default:()=>[n(u1,Y,{default:()=>[n(m1,null,{default:()=>[n(v1,null,{default:()=>[n(g1,null,{default:()=>[n(b1,null,null),e==null?void 0:e(),t()]})]})]})]})]})]})}}),W1=m({name:"AppStyleProvider",setup(e,{expose:t}){const{getAppTheme:l}=M(),{height:i,width:o}=A1(),c=()=>{const{appPrimaryColor:{primaryColor:s,primaryFadeColor:p}}=X,{rayTemplateThemePrimaryColor:d,rayTemplateThemePrimaryFadeColor:h}=b,u=document.documentElement,g=Z(v.appPiniaSettingStore,"localStorage");if(g){const k=E1(g,"primaryColorOverride.common.primaryColor",s),G=L1(k,.85);u.style.setProperty(d,k),u.style.setProperty(h,G||p)}},a=()=>{const s=document.getElementById(b.preLoadingAnimation);s&&_(s,{display:"none"})},r=s=>{const p=document.documentElement,{darkClassName:d,lightClassName:h}=b;s?w(p,h):w(p,d),R(p,s?d:h)};c(),a(),S1(()=>{r(l.value),_(document.documentElement,{[b.htmlHeight]:`${i.value}px`,[b.htmlWidth]:`${o.value}px`})}),t()},render(){return n("div",{class:"app-style-provider"},null)}}),q1=m({name:"LockScreen",setup(){const[e,{validate:t}]=Q(),l=V1("inputInstRef"),{setLockAppScreen:i}=o1(),{updateSettingState:o}=j(),c=$1({lockCondition:S()}),a=()=>{t().then(()=>{i(!0),o("lockScreenSwitch",!1),C(v.appLockScreenPasswordKey,B1(c.lockCondition.lockPassword),"localStorage"),c.lockCondition=S()})};return x1(()=>{H1(()=>{var r;(r=l.value)==null||r.focus()})}),{...N1(c),lockScreen:a,register:e,inputInstRef:l}},render(){const{register:e}=this;return n("div",{class:"app-lock-screen__content"},[n("div",{class:"app-lock-screen__input"},[n(e1,{avatarSize:52,style:"pointer-events: none;margin: 24px 0;",vertical:!0},null),n(t1,{ref:"formInstRef",model:this.lockCondition,rules:l1,labelPlacement:"left",onRegister:e},{default:()=>[n(y1,{path:"lockPassword"},{default:()=>[n(w1,{ref:"inputInstRef",value:this.lockCondition.lockPassword,"onUpdate:value":t=>this.lockCondition.lockPassword=t,type:"password",placeholder:"请输入锁屏密码",clearable:!0,showPasswordOn:"click",minlength:6,maxlength:12,onKeydown:t=>{t.code==="Enter"&&this.lockScreen()},autofocus:!0},null)]}),n(C1,{type:"primary",onClick:this.lockScreen.bind(this)},{default:()=>[P1("锁屏")]})]})])])}}),U1=m({name:"AppLockScreen",setup(){const{updateSettingState:e}=j(),{getLockScreenSwitch:t}=M();return{lockScreenSwitchRef:y({get:()=>t.value,set:i=>{e("lockScreenSwitch",i)}})}},render(){return n(E,{show:this.lockScreenSwitchRef,"onUpdate:show":e=>this.lockScreenSwitchRef=e,transformOrigin:"center",autoFocus:!1,maskClosable:!1,closeOnEsc:!1,preset:"dialog",title:"锁定屏幕"},{default:()=>[n(q1,null,null)]})}}),G1=m({name:"AppWatermarkProvider",setup(){const{getWatermarkSwitch:e,getWatermarkConfig:t}=M();return{getWatermarkSwitch:e,getWatermarkConfig:t}},render(){const{getWatermarkConfig:e,getWatermarkSwitch:t}=this;return t?n(Z1,T(e,{fullscreen:!0}),null):null}}),J1=m({name:"GlobalSpin",props:{...z1},setup(){const e={opacitySpinning:"0.3"};return{spinValue:i1("globalSpinning"),overrides:e}},render(){return n(k1,T(this.$props,{show:this.spinValue,themeOverrides:this.overrides,style:"height: var(--html-height)"}),{...this.$slots})}});var Y1={pkg:{dependencies:{"@logicflow/core":"2.0.10","@logicflow/extension":"2.0.14","@vueuse/core":"^12.4.0",axios:"^1.7.9",clipboard:"^2.0.11","crypto-js":"4.2.0","currency.js":"^2.0.4",dayjs:"^1.11.13",echarts:"^5.6.0","html-to-image":"1.11.11",interactjs:"1.10.27",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.41.0",pinia:"^2.3.0","pinia-plugin-persistedstate":"^4.2.0","print-js":"^1.6.0",vue:"^3.5.13","vue-demi":"0.14.10","vue-hooks-plus":"2.2.3","vue-i18n":"^9.13.1","vue-router":"^4.4.0","vue3-next-qrcode":"2.0.10"},devDependencies:{"@amap/amap-jsapi-types":"0.0.15","@ant-design/icons-vue":"7.0.1","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@interactjs/types":"1.10.27","@intlify/unplugin-vue-i18n":"4.0.0","@types/crypto-js":"4.2.2","@types/jsbarcode":"3.11.4","@types/lodash-es":"4.17.12","@types/mockjs":"1.0.10","@types/three":"0.171.0","@typescript-eslint/eslint-plugin":"8.20.0","@typescript-eslint/parser":"8.20.0","@vitejs/plugin-vue":"5.2.1","@vitejs/plugin-vue-jsx":"4.1.1","@vitest/ui":"2.1.8","@vue/eslint-config-prettier":"10.1.0","@vue/eslint-config-typescript":"14.2.0","@vue/test-utils":"2.4.6",autoprefixer:"10.4.20",depcheck:"1.4.7",eslint:"9.18.0","eslint-config-prettier":"10.0.1","eslint-plugin-prettier":"5.2.2","eslint-plugin-vue":"9.32.0",globals:"15.14.0","happy-dom":"16.6.0",husky:"8.0.3","lint-staged":"15.3.0",postcss:"8.5.1","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"3.4.2","rollup-plugin-gzip":"4.0.1",sass:"1.83.4","svg-sprite-loader":"6.0.11",typescript:"5.6.3","unplugin-auto-import":"19.0.0","unplugin-vue-components":"0.28.0",vite:"6.1.0","vite-bundle-analyzer":"0.16.0","vite-plugin-cdn2":"1.1.0","vite-plugin-ejs":"1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"0.8.4","vite-plugin-mock-dev-server":"1.8.3","vite-plugin-svg-icons":"2.0.1","vite-svg-loader":"5.1.0",vitest:"2.1.8","vue-tsc":"2.2.0"},name:"ray-template",version:"5.1.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"}};const K1=m({name:"AppVersionProvider",setup(){const{pkg:{version:e}}=Y1,t=Z(v.appVersionProvider,"localStorage"),l=F1(!1),{logout:i}=c1();return t!==null?e!==t&&(l.value=!0,C(v.appVersionProvider,e,"localStorage")):C(v.appVersionProvider,e,"localStorage"),{modalShow:l,logout:i}},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,draggable:!0,positiveText:"确认",negativeText:"取消",onPositiveClick:e,onNegativeClick:()=>{this.modalShow=!1}},null)])}}),N=m({name:"App",render(){return n(I1,null,{default:()=>[n(K1,null,null),n(U1,null,null),n(W1,null,null),n(G1,null,null),n(J1,null,{default:()=>n(J,null,null),description:()=>a1})]})}});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 X1=()=>{const{localeLanguage:e}=Z(v.appPiniaSettingStore,"localStorage",{defaultValue:{}}),t=n1[e]||r1;h1.locale(t)},H=(e,t)=>{const l=new D1(e,{text:()=>t});e.$$clipboard=l,e.$$clipboard.on("success",()=>{window.$message.success("复制成功")}),e.$$clipboard.on("error",()=>{window.$message.error("复制失败")})},Q1=()=>({mounted:(e,{value:t})=>{H(e,t)},updated:(e,{value:t,oldValue:l})=>{var i;t!==l&&((i=e.$$clipboard)==null||i.destroy(),H(e,t))},beforeUnmount:e=>{var t;e.$$clipboard&&((t=e.$$clipboard)==null||t.destroy(),e.$$clipboard=null)}}),e2=Object.freeze(Object.defineProperty({__proto__:null,default:Q1},Symbol.toStringTag,{value:"Module"})),t2=()=>{let e,t;return{beforeMount:(l,{value:i})=>{const{func:o,trigger:c="click",wait:a=500,options:r}=i;if(typeof o!="function")throw new TypeError("debounce directive value must be a function");e=T1(o,a,Object.assign({},r)),t=O(l,c,e)},beforeUnmount:(l,{value:i})=>{e&&(e.cancel(),t==null||t()),e=null}}},l2=Object.freeze(Object.defineProperty({__proto__:null,default:t2},Symbol.toStringTag,{value:"Module"})),P=(e,t)=>{if(e){const l="ray-template__directive--disabled";t?(e.setAttribute("disabled","disabled"),R(e,l)):(e.removeAttribute("disabled"),w(e,l)),e==null||e.setAttribute("disabled",t?"disabled":"")}},o2=()=>({mounted:(e,{value:t})=>{P(e,t)},updated:(e,{value:t,oldValue:l})=>{t!==l&&P(e,t)}}),i2=Object.freeze(Object.defineProperty({__proto__:null,default:o2},Symbol.toStringTag,{value:"Module"})),A=(e,t)=>{const{line:l=1,type:i="block",width:o,popoverText:c}=t;if(o==null){console.error(`[v-ellipsis]: Expected width is string or number, but got typeof ${o}!`);return}c&&e.textContent&&e.setAttribute("title",e.textContent),i==="line"?_(e,{display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":l,overflow:"hidden",width:x(o)}):_(e,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:x(o)})},c2=()=>({mounted:(e,{value:t})=>{A(e,t)},updated:(e,{value:t})=>{A(e,t)}}),a2=Object.freeze(Object.defineProperty({__proto__:null,default:c2},Symbol.toStringTag,{value:"Module"})),f={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 L(e,t){e.style.transform=t}function F(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),z.show(e,l,t))}function D(e){const t=e.currentTarget;t!=null&&t.__d_ripple__&&(setTimeout(()=>{t.__d_ripple__&&(t.__d_ripple__.touched=!1)}),z.hide(t))}const r2=(e,t,l={})=>{var u;const i=t.getBoundingClientRect(),o=e.clientX-i.left,c=e.clientY-i.top;let a=0,r=.3;(u=t.__d_ripple__)!=null&&u.circle?(r=.15,a=t.clientWidth/2,a=l.center?a:a+Math.sqrt((o-a)**2+(c-a)**2)/4):a=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const s=`${(t.clientWidth-a*2)/2}px`,p=`${(t.clientHeight-a*2)/2}px`,d=l.center?s:`${o-a}px`,h=l.center?p:`${c-a}px`;return{radius:a,scale:r,x:d,y:h,centerX:s,centerY:p}},z={show(e,t,l={}){var g;if(!((g=t==null?void 0:t.__d_ripple__)!=null&&g.enabled))return;const i=document.createElement("span"),o=document.createElement("span");i.appendChild(o),i.className=n2,l.class&&(i.className+=` ${l.class}`);const{radius:c,scale:a,x:r,y:s,centerX:p,centerY:d}=r2(e,t,l),h=`${c*2}px`;o.className=f.vRippleAnimation,o.style.width=h,o.style.height=h,t.appendChild(i);const u=window.getComputedStyle(t);u&&u.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),o.classList.add(f.vRippleAnimationEnter),o.classList.add(f.vRippleAnimationVisible),L(o,`translate(${r}, ${s}) scale3d(${a},${a},${a})`),o.dataset.activated=String(performance.now()),setTimeout(()=>{o.classList.remove(f.vRippleAnimationEnter),o.classList.add(f.vRippleAnimationIn),L(o,`translate(${p}, ${d}) scale3d(1,1,1)`)},0)},hide(e){var c;if(!((c=e==null?void 0:e.__d_ripple__)!=null&&c.enabled))return;const t=e.getElementsByClassName(f.vRippleAnimation);if(t.length===0)return;const l=t[t.length-1];if(l.dataset.isHiding)return;l.dataset.isHiding="true";const i=performance.now()-Number(l.dataset.activated),o=Math.max(250-i,0);setTimeout(()=>{l.classList.remove(f.vRippleAnimationIn),l.classList.add(f.vRippleAnimationOut),setTimeout(()=>{var r;e.getElementsByClassName(f.vRippleAnimation).length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((r=l.parentNode)==null?void 0:r.parentNode)===e&&e.removeChild(l.parentNode)},300)},o)}};function I(e){return typeof e>"u"||!!e}function W(e){e.removeEventListener("pointerdown",F),e.removeEventListener("pointerup",D)}function B(e,t,l){const{value:i,modifiers:o}=t,c=I(i);c||z.hide(e),e.__d_ripple__=e.__d_ripple__??{},e.__d_ripple__.enabled=c,e.__d_ripple__.centered=o.center,e.__d_ripple__.circle=o.circle,j1(i,"Object")&&i.class&&(e.__d_ripple__.class=i.class),c&&!l?(e.addEventListener("pointerdown",F),e.addEventListener("pointerup",D)):!c&&l&&W(e)}const s2=()=>({mounted:(e,t)=>{B(e,t,!1)},beforeUnmount:e=>{delete e.__d_ripple__,W(e)},updated:(e,t)=>{if(t.value===t.oldValue)return;const l=I(t.oldValue);B(e,t,l)}}),p2=Object.freeze(Object.defineProperty({__proto__:null,default:s2},Symbol.toStringTag,{value:"Module"})),d2=()=>{let e;return{beforeMount:(t,{value:l})=>{const{func:i,trigger:o="click",wait:c=500,options:a}=l;if(typeof i!="function")throw new TypeError("throttle directive value must be a function");e=O1(i,c,Object.assign({},a)),O(t,o,e)},beforeUnmount:()=>{e&&e.cancel(),e=null}}},h2=Object.freeze(Object.defineProperty({__proto__:null,default:d2},Symbol.toStringTag,{value:"Module"})),f2=e=>Object.keys(e).reduce((l,i)=>{var c;const o=(c=e[i])==null?void 0:c.default;if(typeof o=="function")return l[i]=o,l;throw new TypeError(`directiveModules: ${i} is not function`)},{}),u2=e=>{const l=f2(Object.assign({"/src/directives/modules/copy/index.ts":e2,"/src/directives/modules/debounce/index.ts":l2,"/src/directives/modules/disabled/index.ts":i2,"/src/directives/modules/ellipsis/index.ts":a2,"/src/directives/modules/ripple/index.ts":p2,"/src/directives/modules/throttle/index.ts":h2})),i=new RegExp("(?<=modules\\/).*(?=\\/index\\.ts)"),o=/^([^-]+-)*[^-]+$/;R1(l,(c,a)=>{var s;const r=(s=a.match(i))==null?void 0:s[0];typeof r=="string"&&o.test(r)?e.directive(r,c()):console.error(`[setupDirectives] ${r} is not a valid directive name`)})},q=async()=>{},U=async e=>{s1(e),await p1(e),d1(e),X1(),u2(e)},m2=async()=>{const e=$(N);await U(e),e.mount("#app"),await q()},v2=async()=>{let e;window.__WUJIE_MOUNT=async()=>{e=$(N),await U(e),e.mount("#app"),await q()},window.__WUJIE_UNMOUNT=()=>{e.unmount()},window.__WUJIE.mount()};window.__POWERED_BY_WUJIE__?v2():m2(); diff --git a/js/index-j89RtQdR.js.gz b/js/index-j89RtQdR.js.gz new file mode 100644 index 00000000..ed8d60bd Binary files /dev/null and b/js/index-j89RtQdR.js.gz differ diff --git a/js/index-l7fSfQDK.js b/js/index-l7fSfQDK.js new file mode 100644 index 00000000..c5f98562 --- /dev/null +++ b/js/index-l7fSfQDK.js @@ -0,0 +1 @@ +import{i as f,R as h}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{a as v,al as r,M as l,K as F,am as b,aj as y,ak as s,e as N,P as m}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as k,b as t,J as i}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as d}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Bt=k({name:"RFormDemo",setup(){const[u,{getFormInstance:p,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"}}),g=d(e()),c=d(a());return{register:u,rules:g,condition:c,restoreValidation:n,formModel:a,validate:o}},render(){const{rules:u}=this,{register:p,restoreValidation:o,formModel:n,validate:a}=this;return t(h,{onRegister:p,rules:u,model:this.condition},{default:()=>[t(v,{cols:24,xGap:24},{default:()=>[t(r,{label:"姓名",path:"name",span:12},{default:()=>[t(l,{value:this.condition.name,"onUpdate:value":e=>this.condition.name=e},null)]}),t(r,{label:"年龄",path:"age",span:12},{default:()=>[t(F,{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(l,{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(m,{type:"info",onClick:()=>{this.condition=n(),o()}},{default:()=>[i("重置表单为初始状态")]}),t(m,{type:"warning",onClick:o.bind(this)},{default:()=>[i("移除校验状态")]}),t(m,{type:"primary",onClick:()=>a()},{default:()=>[i("校验")]})]})]})]})]})}});export{Bt as default}; diff --git a/js/index-l7fSfQDK.js.gz b/js/index-l7fSfQDK.js.gz new file mode 100644 index 00000000..e1906eda Binary files /dev/null and b/js/index-l7fSfQDK.js.gz differ diff --git a/js/index-mSHWlsCH.js b/js/index-mSHWlsCH.js new file mode 100644 index 00000000..f3ec443d --- /dev/null +++ b/js/index-mSHWlsCH.js @@ -0,0 +1 @@ +import{i as N,p as O,x as C,R as L,y as F,f as v,z as r,e as P,u as A,j as $,B as z}from"./hooks-DAFrMGjY.js";import{s as f}from"./utils-Bic_iDtY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import{u as G}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{I as y,M as w,P as V,W as q,p as I,e as l,y as D,J as E,A as S,k as Q,a as U,b,N as H,v as W,T as g,F as k}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as a,b as e,q as m,J as c,F as B}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as d,e as x,x as _}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{Q as J}from"./vue3-next-qrcode@2.0.10_typescript@5.6.3-wzrC7cBz.js";import{L as K}from"./ray-dCjhX_JK.js";import{f as M}from"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import{A as X}from"./index-KVQuX6r5.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function Y(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const Z=a({name:"RSigning",setup(){const[t,{validate:i}]=N(),{t:n}=F(),{signing:s}=O(),{getRootPath:o}=C(),p=d(!1),j=()=>({name:"Ray Admin",pwd:"123456"}),R=G(),u=d(j()),T={name:{required:!0,message:n("views.login.index.NamePlaceholder"),trigger:["blur","input"]},pwd:{required:!0,message:n("views.login.index.PasswordPlaceholder"),trigger:["blur","input"]}};return{signingForm:u,register:t,handleLogin:()=>{i().then(()=>{p.value=!0,s(u.value).then(h=>{h.code===0&&setTimeout(()=>{window.$message.success(`欢迎${u.value.name}登陆~`),f(v.token,"tokenValue","localStorage"),f(v.signing,h.data,"localStorage"),R.push(o.value),p.value=!1},2*1e3)}).catch(()=>{window.$message.error("不可以这样哟, 不可以哟")})})},rules:T,loading:p}},render(){let t;const{$t:i,loading:n,register:s}=this;return e(L,{model:this.signingForm,onRegister:s,rules:this.rules},{default:()=>[e(y,{label:i("views.login.index.Name"),path:"name"},{default:()=>[e(w,{value:this.signingForm.name,"onUpdate:value":o=>this.signingForm.name=o,placeholder:i("views.login.index.NamePlaceholder")},null)]}),e(y,{label:i("views.login.index.Password"),path:"pwd"},{default:()=>[e(w,{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(V,{style:["width: 100%","margin-to: 18px"],type:"primary",onClick:this.handleLogin.bind(this),loading:n},Y(t=i("views.login.index.Login"))?t:{default:()=>[t]})]})}}),ee=a({name:"RRegister",render(){return e(q,{status:"info",title:"提示",description:"我实在是不想写了..."},null)}}),te=a({name:"QRCodeSigning",setup(){const t=x({qrcodeValue:"https://github.com/XiaoDaiGua-Ray/xiaodaigua-ray.github.io"});return{..._(t)}},render(){return e("div",{class:"qrcode-signing"},[e(J,{text:"ray template yes",size:200,logoImage:K},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}=A(),{getAppTheme:n}=P(),s=d(n.value);return{darkTheme:t,lightTheme:i,getAppTheme:n,railStyle:({checked:p})=>p?{backgroundColor:"#000000"}:{color:"#000000"},modelAppThemeRef:s}},render(){const{$t:t,darkTheme:i,lightTheme:n,railStyle:s}=this;return e(l,{justify:"center"},{default:()=>[e(D,null,{trigger:()=>e(E,{value:this.modelAppThemeRef,"onUpdate:value":o=>this.modelAppThemeRef=o,railStyle:s.bind(this),onUpdateValue:o=>o?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:{"@logicflow/core":"2.0.10","@logicflow/extension":"2.0.14","@vueuse/core":"^12.4.0",axios:"^1.7.9",clipboard:"^2.0.11","crypto-js":"4.2.0","currency.js":"^2.0.4",dayjs:"^1.11.13",echarts:"^5.6.0","html-to-image":"1.11.11",interactjs:"1.10.27",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.41.0",pinia:"^2.3.0","pinia-plugin-persistedstate":"^4.2.0","print-js":"^1.6.0",vue:"^3.5.13","vue-demi":"0.14.10","vue-hooks-plus":"2.2.3","vue-i18n":"^9.13.1","vue-router":"^4.4.0","vue3-next-qrcode":"2.0.10"},devDependencies:{"@amap/amap-jsapi-types":"0.0.15","@ant-design/icons-vue":"7.0.1","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@interactjs/types":"1.10.27","@intlify/unplugin-vue-i18n":"4.0.0","@types/crypto-js":"4.2.2","@types/jsbarcode":"3.11.4","@types/lodash-es":"4.17.12","@types/mockjs":"1.0.10","@types/three":"0.171.0","@typescript-eslint/eslint-plugin":"8.20.0","@typescript-eslint/parser":"8.20.0","@vitejs/plugin-vue":"5.2.1","@vitejs/plugin-vue-jsx":"4.1.1","@vitest/ui":"2.1.8","@vue/eslint-config-prettier":"10.1.0","@vue/eslint-config-typescript":"14.2.0","@vue/test-utils":"2.4.6",autoprefixer:"10.4.20",depcheck:"1.4.7",eslint:"9.18.0","eslint-config-prettier":"10.0.1","eslint-plugin-prettier":"5.2.2","eslint-plugin-vue":"9.32.0",globals:"15.14.0","happy-dom":"16.6.0",husky:"8.0.3","lint-staged":"15.3.0",postcss:"8.5.1","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"3.4.2","rollup-plugin-gzip":"4.0.1",sass:"1.83.4","svg-sprite-loader":"6.0.11",typescript:"5.6.3","unplugin-auto-import":"19.0.0","unplugin-vue-components":"0.28.0",vite:"6.1.0","vite-bundle-analyzer":"0.16.0","vite-plugin-cdn2":"1.1.0","vite-plugin-ejs":"1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"0.8.4","vite-plugin-mock-dev-server":"1.8.3","vite-plugin-svg-icons":"2.0.1","vite-svg-loader":"5.1.0",vitest:"2.1.8","vue-tsc":"2.2.0"},name:"ray-template",version:"5.1.0"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"}};function le(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!m(t)}const dt=a({name:"RLogin",setup(){const{layout:{copyright:t}}=se,i=x({tabsValue:"signing"}),{height:n,width:s}=M(),{updateLocale:o}=$();return{..._(i),windowHeight:n,updateLocale:o,copyright:t,windowWidth:s}},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(S,{class:"login-title",type:"info",size:28},{default:()=>[c("Ray Template")]})]}),e(l,{align:"center",class:"login-action__wrapper"},{default:()=>[e(oe,null,null),e(Q,{options:z,onSelect:n=>this.updateLocale(n),trigger:"click"},{default:()=>[e(r,{customClassName:"login-icon",name:"language",size:"18",cursor:"pointer"},null)]})]}),e(U,{cols:"s:1 m:1 l:2 xl:2 2xl:2",itemResponsive:!1,responsive:"screen"},{default:()=>[e(b,{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(S,{class:"login-title",type:"info",size:36},le(t=i("views.login.index.RayTemplate"))?t:{default:()=>[t]})]})]}),e(b,{span:1,class:"login__right-wrapper"},{default:()=>[e(H,{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(g,{tab:i("views.login.index.Signing"),name:"signing"},{default:()=>[e(Z,null,null)]}),e(g,{tab:i("views.login.index.Register"),name:"register"},{default:()=>[e(ee,null,null)]}),e(g,{tab:i("views.login.index.QRCodeSigning"),name:"qrcodeSigning"},{default:()=>[e(te,null,null)]})])}),e(k,null,{default:()=>[c("其他登陆方式")]}),e(ne,null,null),e(k,null,{default:()=>[c("友情链接")]}),e(X,null,null)]})]})]}),e(l,{align:"center",justify:"center",class:"login-copyright__wrapper"},{default:()=>[this.copyright]})])])])}});export{dt as default}; diff --git a/js/index-mSHWlsCH.js.gz b/js/index-mSHWlsCH.js.gz new file mode 100644 index 00000000..eb521646 Binary files /dev/null and b/js/index-mSHWlsCH.js.gz differ diff --git a/js/index-p9rF2sQs.js b/js/index-p9rF2sQs.js deleted file mode 100644 index 06faa8fe..00000000 --- a/js/index-p9rF2sQs.js +++ /dev/null @@ -1 +0,0 @@ -import{P as r}from"./hooks-Bi_Q9OFa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{m as i,b as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{N as o,e as m}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const ut=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{ut as default}; diff --git a/js/index-p9rF2sQs.js.gz b/js/index-p9rF2sQs.js.gz deleted file mode 100644 index 2e01dcba..00000000 Binary files a/js/index-p9rF2sQs.js.gz and /dev/null differ diff --git a/js/index-sYTV1lQv.js b/js/index-sYTV1lQv.js new file mode 100644 index 00000000..a6d8f0ec --- /dev/null +++ b/js/index-sYTV1lQv.js @@ -0,0 +1 @@ +import{Q as C,T as f,U as k}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{a as A}from"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import{s as B}from"./instance-Lnu85bZk.js";import"./lodash@4.17.21-Bv2ueefR.js";import{N as p,r as y,al as h,M as D,P as i,e as l}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as b,b as t,J as o,F as w}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{e as P,x as N}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./axios@1.7.9-upsvKRUO.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const R=e=>B({url:"/api/list",method:"get",params:e}),It=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(l,{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(l,{vertical:!0},{default:()=>{var e;return[t(p,{title:"Mock 数据"},{default:()=>[t("h2",null,[o("mock 数据使用。但是,并没有启用生产环境的部署,所以生产环境结果为空。")])]}),t(p,{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{It as default}; diff --git a/js/index-sYTV1lQv.js.gz b/js/index-sYTV1lQv.js.gz new file mode 100644 index 00000000..320ad9b8 Binary files /dev/null and b/js/index-sYTV1lQv.js.gz differ diff --git a/js/index-sxkktQzF.js b/js/index-sxkktQzF.js new file mode 100644 index 00000000..6735e9b7 --- /dev/null +++ b/js/index-sxkktQzF.js @@ -0,0 +1 @@ +import{J as r,K as A}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{N as u,e as h,P as i,J as C}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as O,b as t,J as e}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as g,e as L,x as V}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const Rt=O({name:"REchart",setup(){const[n,{getChartInstance:f,dispose:l,render:d,isDisposed:p}]=A(),[m,{getChartInstance:o,dispose:F,render:y,isDisposed:B}]=A(),b=g(!1),E=g(!1),s=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)"}}}]},c=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=>{s.loading=a},w=a=>{E.value=a},S=()=>{p()?d():window.$message.warning("图表已渲染~")},x=()=>{l()},T=()=>{s.loading1=!0;const a=()=>Math.floor((Math.random()+1)*100);setTimeout(()=>{c.value.series[0].data=new Array(7).fill(0).map(()=>a()),c.value.series[1].data=new Array(7).fill(0).map(()=>a()),s.loading1=!1},1e3)};return{baseOptions:D,chartLoading:b,handleLoadingShow:v,chartAria:E,handleAriaShow:w,basePieOptions:k,baseLineOptions:c,...V(s),mountChart:S,unmountChart:x,updateChartOptions:T,register:n,register2:m,dispose2:F,render2:y,isDisposed2:B}},render(){const{register:n,register2:f,dispose2:l,render2:d,isDisposed2:p,loading1:m}=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(h,{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:m},null)])]}),t(u,{title:"不跟随主题切换的暗色主题可视化图,并且手动指定原始主题色"},{default:()=>[t(h,{vertical:!0},{default:()=>[t(h,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":o=>this.chartLoading=o,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":o=>this.chartAria=o,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{Rt as default}; diff --git a/js/index-sxkktQzF.js.gz b/js/index-sxkktQzF.js.gz new file mode 100644 index 00000000..45bf8f72 Binary files /dev/null and b/js/index-sxkktQzF.js.gz differ diff --git a/js/index-u-mxvDv8.js b/js/index-u-mxvDv8.js deleted file mode 100644 index 5da356ae..00000000 --- a/js/index-u-mxvDv8.js +++ /dev/null @@ -1 +0,0 @@ -import{R as J}from"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import{e as M,M as Y,g as K,f as v,G as b,h as X,i as Q,j,k as S,l as e1,R as t1,r as l1,m as o1,n as E,o as i1,p as c1,q as a1,D as n1,s as r1,t as s1,v as p1,w as d1}from"./hooks-Bi_Q9OFa.js";import{d as h1}from"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import{a0 as f1,a1 as u1,a2 as m1,a3 as v1,a4 as g1,a5 as b1,a6 as V,a7 as _1,a8 as M1,I as y1,M as w1,P as C1,a9 as Z1,aa as z1,h as k1}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import{m,f as y,b as n,j as S1,t as V1,l as x1,n as H1,J as P1,p as T}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{f as A1,u as O}from"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import{g as Z,c as L1,b as _,y as w,n as R,s as C,D as B1,d as x,i as j1}from"./utils-4asTneEs.js";import{g as E1,o as T1,q as O1,A as R1}from"./lodash-es@4.17.21-BbYRMHep.js";import{e as $1,x as N1,k as F1}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./vue3-next-qrcode@2.0.10_typescript@5.6.3-wzrC7cBz.js";import{C as D1}from"./clipboard@2.0.11-L0nEBxcf.js";import{c as $}from"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const a of c.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function l(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(o){if(o.ep)return;o.ep=!0;const c=l(o);fetch(o.href,c)}})();const I1=m({name:"GlobalProvider",setup(e,{expose:t}){const{getPrimaryColorOverride:l,getAppTheme:i,getLocaleLanguage:o}=M(),c=y(()=>{const r=o.value;return K(r)}),a=()=>{const{message:r,notification:s,dialog:p,loadingBar:d}=M1(["message","dialog","notification","loadingBar"],{configProviderProps:y(()=>({theme:i.value?V:null}))});window.$dialog=p,window.$message=r,window.$loadingBar=d,window.$notification=s};return t(),{getPrimaryColorOverride:l,localePackage:c,getAppTheme:i,discreteApi:a}},render(){const{$slots:{default:e},discreteApi:t}=this,{getPrimaryColorOverride:l,getAppTheme:i,localePackage:o}=this;return n(_1,{themeOverrides:l,theme:i?V:null,locale:o.locale,dateLocale:o.dateLocal},{default:()=>[n(f1,null,{default:()=>[n(u1,Y,{default:()=>[n(m1,null,{default:()=>[n(v1,null,{default:()=>[n(g1,null,{default:()=>[n(b1,null,null),e==null?void 0:e(),t()]})]})]})]})]})]})}}),W1=m({name:"AppStyleProvider",setup(e,{expose:t}){const{getAppTheme:l}=M(),{height:i,width:o}=A1(),c=()=>{const{appPrimaryColor:{primaryColor:s,primaryFadeColor:p}}=X,{rayTemplateThemePrimaryColor:d,rayTemplateThemePrimaryFadeColor:h}=b,u=document.documentElement,g=Z(v.appPiniaSettingStore,"localStorage");if(g){const k=E1(g,"primaryColorOverride.common.primaryColor",s),G=L1(k,.85);u.style.setProperty(d,k),u.style.setProperty(h,G||p)}},a=()=>{const s=document.getElementById(b.preLoadingAnimation);s&&_(s,{display:"none"})},r=s=>{const p=document.documentElement,{darkClassName:d,lightClassName:h}=b;s?w(p,h):w(p,d),R(p,s?d:h)};c(),a(),S1(()=>{r(l.value),_(document.documentElement,{[b.htmlHeight]:`${i.value}px`,[b.htmlWidth]:`${o.value}px`})}),t()},render(){return n("div",{class:"app-style-provider"},null)}}),q1=m({name:"LockScreen",setup(){const[e,{validate:t}]=Q(),l=V1("inputInstRef"),{setLockAppScreen:i}=o1(),{updateSettingState:o}=j(),c=$1({lockCondition:S()}),a=()=>{t().then(()=>{i(!0),o("lockScreenSwitch",!1),C(v.appLockScreenPasswordKey,B1(c.lockCondition.lockPassword),"localStorage"),c.lockCondition=S()})};return x1(()=>{H1(()=>{var r;(r=l.value)==null||r.focus()})}),{...N1(c),lockScreen:a,register:e,inputInstRef:l}},render(){const{register:e}=this;return n("div",{class:"app-lock-screen__content"},[n("div",{class:"app-lock-screen__input"},[n(e1,{avatarSize:52,style:"pointer-events: none;margin: 24px 0;",vertical:!0},null),n(t1,{ref:"formInstRef",model:this.lockCondition,rules:l1,labelPlacement:"left",onRegister:e},{default:()=>[n(y1,{path:"lockPassword"},{default:()=>[n(w1,{ref:"inputInstRef",value:this.lockCondition.lockPassword,"onUpdate:value":t=>this.lockCondition.lockPassword=t,type:"password",placeholder:"请输入锁屏密码",clearable:!0,showPasswordOn:"click",minlength:6,maxlength:12,onKeydown:t=>{t.code==="Enter"&&this.lockScreen()},autofocus:!0},null)]}),n(C1,{type:"primary",onClick:this.lockScreen.bind(this)},{default:()=>[P1("锁屏")]})]})])])}}),U1=m({name:"AppLockScreen",setup(){const{updateSettingState:e}=j(),{getLockScreenSwitch:t}=M();return{lockScreenSwitchRef:y({get:()=>t.value,set:i=>{e("lockScreenSwitch",i)}})}},render(){return n(E,{show:this.lockScreenSwitchRef,"onUpdate:show":e=>this.lockScreenSwitchRef=e,transformOrigin:"center",autoFocus:!1,maskClosable:!1,closeOnEsc:!1,preset:"dialog",title:"锁定屏幕"},{default:()=>[n(q1,null,null)]})}}),G1=m({name:"AppWatermarkProvider",setup(){const{getWatermarkSwitch:e,getWatermarkConfig:t}=M();return{getWatermarkSwitch:e,getWatermarkConfig:t}},render(){const{getWatermarkConfig:e,getWatermarkSwitch:t}=this;return t?n(Z1,T(e,{fullscreen:!0}),null):null}}),J1=m({name:"GlobalSpin",props:{...z1},setup(){const e={opacitySpinning:"0.3"};return{spinValue:i1("globalSpinning"),overrides:e}},render(){return n(k1,T(this.$props,{show:this.spinValue,themeOverrides:this.overrides,style:"height: var(--html-height)"}),{...this.$slots})}});var Y1={pkg:{dependencies:{"@logicflow/core":"2.0.10","@logicflow/extension":"2.0.14","@vueuse/core":"^12.4.0",axios:"^1.7.9",clipboard:"^2.0.11","crypto-js":"4.2.0","currency.js":"^2.0.4",dayjs:"^1.11.13",echarts:"^5.6.0","html-to-image":"1.11.11",interactjs:"1.10.27",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.41.0",pinia:"^2.3.0","pinia-plugin-persistedstate":"^4.2.0","print-js":"^1.6.0",vue:"^3.5.13","vue-demi":"0.14.10","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.4.0","vue3-next-qrcode":"2.0.10"},devDependencies:{"@amap/amap-jsapi-types":"0.0.15","@ant-design/icons-vue":"7.0.1","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@interactjs/types":"1.10.27","@intlify/unplugin-vue-i18n":"4.0.0","@types/crypto-js":"4.2.2","@types/jsbarcode":"3.11.4","@types/lodash-es":"4.17.12","@types/mockjs":"1.0.10","@types/three":"0.171.0","@typescript-eslint/eslint-plugin":"8.20.0","@typescript-eslint/parser":"8.20.0","@vitejs/plugin-vue":"5.2.1","@vitejs/plugin-vue-jsx":"4.1.1","@vitest/ui":"2.1.8","@vue/eslint-config-prettier":"10.1.0","@vue/eslint-config-typescript":"14.2.0","@vue/test-utils":"2.4.6",autoprefixer:"10.4.20",depcheck:"1.4.7",eslint:"9.18.0","eslint-config-prettier":"10.0.1","eslint-plugin-prettier":"5.2.2","eslint-plugin-vue":"9.32.0",globals:"15.14.0","happy-dom":"16.6.0",husky:"8.0.3","lint-staged":"15.3.0",postcss:"8.5.1","postcss-px-to-viewport-8-with-include":"1.2.2",prettier:"3.4.2","rollup-plugin-gzip":"4.0.1",sass:"1.83.0","svg-sprite-loader":"6.0.11",typescript:"5.6.3","unplugin-auto-import":"19.0.0","unplugin-vue-components":"0.28.0",vite:"6.0.7","vite-bundle-analyzer":"0.16.0","vite-plugin-cdn2":"1.1.0","vite-plugin-ejs":"1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"0.8.4","vite-plugin-mock-dev-server":"1.8.3","vite-plugin-svg-icons":"2.0.1","vite-svg-loader":"5.1.0",vitest:"2.1.8","vue-tsc":"2.2.0"},name:"ray-template",version:"5.0.10"},layout:{copyright:"Copyright © 2022-present Ray"},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.85)"}};const K1=m({name:"AppVersionProvider",setup(){const{pkg:{version:e}}=Y1,t=Z(v.appVersionProvider,"localStorage"),l=F1(!1),{logout:i}=c1();return t!==null?e!==t&&(l.value=!0,C(v.appVersionProvider,e,"localStorage")):C(v.appVersionProvider,e,"localStorage"),{modalShow:l,logout:i}},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,draggable:!0,positiveText:"确认",negativeText:"取消",onPositiveClick:e,onNegativeClick:()=>{this.modalShow=!1}},null)])}}),N=m({name:"App",render(){return n(I1,null,{default:()=>[n(K1,null,null),n(U1,null,null),n(W1,null,null),n(G1,null,null),n(J1,null,{default:()=>n(J,null,null),description:()=>a1})]})}});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 X1=()=>{const{localeLanguage:e}=Z(v.appPiniaSettingStore,"localStorage",{defaultValue:{}}),t=n1[e]||r1;h1.locale(t)},H=(e,t)=>{const l=new D1(e,{text:()=>t});e.$$clipboard=l,e.$$clipboard.on("success",()=>{window.$message.success("复制成功")}),e.$$clipboard.on("error",()=>{window.$message.error("复制失败")})},Q1=()=>({mounted:(e,{value:t})=>{H(e,t)},updated:(e,{value:t,oldValue:l})=>{var i;t!==l&&((i=e.$$clipboard)==null||i.destroy(),H(e,t))},beforeUnmount:e=>{var t;e.$$clipboard&&((t=e.$$clipboard)==null||t.destroy(),e.$$clipboard=null)}}),e2=Object.freeze(Object.defineProperty({__proto__:null,default:Q1},Symbol.toStringTag,{value:"Module"})),t2=()=>{let e,t;return{beforeMount:(l,{value:i})=>{const{func:o,trigger:c="click",wait:a=500,options:r}=i;if(typeof o!="function")throw new TypeError("debounce directive value must be a function");e=T1(o,a,Object.assign({},r)),t=O(l,c,e)},beforeUnmount:(l,{value:i})=>{e&&(e.cancel(),t==null||t()),e=null}}},l2=Object.freeze(Object.defineProperty({__proto__:null,default:t2},Symbol.toStringTag,{value:"Module"})),P=(e,t)=>{if(e){const l="ray-template__directive--disabled";t?(e.setAttribute("disabled","disabled"),R(e,l)):(e.removeAttribute("disabled"),w(e,l)),e==null||e.setAttribute("disabled",t?"disabled":"")}},o2=()=>({mounted:(e,{value:t})=>{P(e,t)},updated:(e,{value:t,oldValue:l})=>{t!==l&&P(e,t)}}),i2=Object.freeze(Object.defineProperty({__proto__:null,default:o2},Symbol.toStringTag,{value:"Module"})),A=(e,t)=>{const{line:l=1,type:i="block",width:o,popoverText:c}=t;if(o==null){console.error(`[v-ellipsis]: Expected width is string or number, but got typeof ${o}!`);return}c&&e.textContent&&e.setAttribute("title",e.textContent),i==="line"?_(e,{display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":l,overflow:"hidden",width:x(o)}):_(e,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:x(o)})},c2=()=>({mounted:(e,{value:t})=>{A(e,t)},updated:(e,{value:t})=>{A(e,t)}}),a2=Object.freeze(Object.defineProperty({__proto__:null,default:c2},Symbol.toStringTag,{value:"Module"})),f={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 L(e,t){e.style.transform=t}function F(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),z.show(e,l,t))}function D(e){const t=e.currentTarget;t!=null&&t.__d_ripple__&&(setTimeout(()=>{t.__d_ripple__&&(t.__d_ripple__.touched=!1)}),z.hide(t))}const r2=(e,t,l={})=>{var u;const i=t.getBoundingClientRect(),o=e.clientX-i.left,c=e.clientY-i.top;let a=0,r=.3;(u=t.__d_ripple__)!=null&&u.circle?(r=.15,a=t.clientWidth/2,a=l.center?a:a+Math.sqrt((o-a)**2+(c-a)**2)/4):a=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const s=`${(t.clientWidth-a*2)/2}px`,p=`${(t.clientHeight-a*2)/2}px`,d=l.center?s:`${o-a}px`,h=l.center?p:`${c-a}px`;return{radius:a,scale:r,x:d,y:h,centerX:s,centerY:p}},z={show(e,t,l={}){var g;if(!((g=t==null?void 0:t.__d_ripple__)!=null&&g.enabled))return;const i=document.createElement("span"),o=document.createElement("span");i.appendChild(o),i.className=n2,l.class&&(i.className+=` ${l.class}`);const{radius:c,scale:a,x:r,y:s,centerX:p,centerY:d}=r2(e,t,l),h=`${c*2}px`;o.className=f.vRippleAnimation,o.style.width=h,o.style.height=h,t.appendChild(i);const u=window.getComputedStyle(t);u&&u.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),o.classList.add(f.vRippleAnimationEnter),o.classList.add(f.vRippleAnimationVisible),L(o,`translate(${r}, ${s}) scale3d(${a},${a},${a})`),o.dataset.activated=String(performance.now()),setTimeout(()=>{o.classList.remove(f.vRippleAnimationEnter),o.classList.add(f.vRippleAnimationIn),L(o,`translate(${p}, ${d}) scale3d(1,1,1)`)},0)},hide(e){var c;if(!((c=e==null?void 0:e.__d_ripple__)!=null&&c.enabled))return;const t=e.getElementsByClassName(f.vRippleAnimation);if(t.length===0)return;const l=t[t.length-1];if(l.dataset.isHiding)return;l.dataset.isHiding="true";const i=performance.now()-Number(l.dataset.activated),o=Math.max(250-i,0);setTimeout(()=>{l.classList.remove(f.vRippleAnimationIn),l.classList.add(f.vRippleAnimationOut),setTimeout(()=>{var r;e.getElementsByClassName(f.vRippleAnimation).length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((r=l.parentNode)==null?void 0:r.parentNode)===e&&e.removeChild(l.parentNode)},300)},o)}};function I(e){return typeof e>"u"||!!e}function W(e){e.removeEventListener("pointerdown",F),e.removeEventListener("pointerup",D)}function B(e,t,l){const{value:i,modifiers:o}=t,c=I(i);c||z.hide(e),e.__d_ripple__=e.__d_ripple__??{},e.__d_ripple__.enabled=c,e.__d_ripple__.centered=o.center,e.__d_ripple__.circle=o.circle,j1(i,"Object")&&i.class&&(e.__d_ripple__.class=i.class),c&&!l?(e.addEventListener("pointerdown",F),e.addEventListener("pointerup",D)):!c&&l&&W(e)}const s2=()=>({mounted:(e,t)=>{B(e,t,!1)},beforeUnmount:e=>{delete e.__d_ripple__,W(e)},updated:(e,t)=>{if(t.value===t.oldValue)return;const l=I(t.oldValue);B(e,t,l)}}),p2=Object.freeze(Object.defineProperty({__proto__:null,default:s2},Symbol.toStringTag,{value:"Module"})),d2=()=>{let e;return{beforeMount:(t,{value:l})=>{const{func:i,trigger:o="click",wait:c=500,options:a}=l;if(typeof i!="function")throw new TypeError("throttle directive value must be a function");e=O1(i,c,Object.assign({},a)),O(t,o,e)},beforeUnmount:()=>{e&&e.cancel(),e=null}}},h2=Object.freeze(Object.defineProperty({__proto__:null,default:d2},Symbol.toStringTag,{value:"Module"})),f2=e=>Object.keys(e).reduce((l,i)=>{var c;const o=(c=e[i])==null?void 0:c.default;if(typeof o=="function")return l[i]=o,l;throw new TypeError(`directiveModules: ${i} is not function`)},{}),u2=e=>{const l=f2(Object.assign({"/src/directives/modules/copy/index.ts":e2,"/src/directives/modules/debounce/index.ts":l2,"/src/directives/modules/disabled/index.ts":i2,"/src/directives/modules/ellipsis/index.ts":a2,"/src/directives/modules/ripple/index.ts":p2,"/src/directives/modules/throttle/index.ts":h2})),i=new RegExp("(?<=modules\\/).*(?=\\/index\\.ts)"),o=/^([^-]+-)*[^-]+$/;R1(l,(c,a)=>{var s;const r=(s=a.match(i))==null?void 0:s[0];typeof r=="string"&&o.test(r)?e.directive(r,c()):console.error(`[setupDirectives] ${r} is not a valid directive name`)})},q=async()=>{},U=async e=>{s1(e),await p1(e),d1(e),X1(),u2(e)},m2=async()=>{const e=$(N);await U(e),e.mount("#app"),await q()},v2=async()=>{let e;window.__WUJIE_MOUNT=async()=>{e=$(N),await U(e),e.mount("#app"),await q()},window.__WUJIE_UNMOUNT=()=>{e.unmount()},window.__WUJIE.mount()};window.__POWERED_BY_WUJIE__?v2():m2(); diff --git a/js/index-u-mxvDv8.js.gz b/js/index-u-mxvDv8.js.gz deleted file mode 100644 index 1580c193..00000000 Binary files a/js/index-u-mxvDv8.js.gz and /dev/null differ diff --git a/js/index-DZB7njz5.js b/js/index-u40HFa_6.js similarity index 95% rename from js/index-DZB7njz5.js rename to js/index-u40HFa_6.js index 369c4616..2e3b2233 100644 --- a/js/index-DZB7njz5.js +++ b/js/index-u40HFa_6.js @@ -1 +1 @@ -import{m as o,b as r,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{N as u}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const S=o({name:"ScrollReveal",render(){return r("div",{class:"scroll-reveal"},[r(u,{title:"提示"},{default:()=>[t("RayScrollReveal组件有点问题, 暂时移除. 不能正常的实现滚动动画. 很是操蛋!!!")]})])}});export{S as default}; +import{m as o,b as r,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{N as u}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.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-u40HFa_6.js.gz b/js/index-u40HFa_6.js.gz new file mode 100644 index 00000000..2b4aa24d Binary files /dev/null and b/js/index-u40HFa_6.js.gz differ diff --git a/js/index-zcrZ2M2i.js b/js/index-zcrZ2M2i.js new file mode 100644 index 00000000..41dd1197 --- /dev/null +++ b/js/index-zcrZ2M2i.js @@ -0,0 +1 @@ +import{z as m,W as o}from"./hooks-DAFrMGjY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{m as h,b as u,J as t}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as d}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{ag as F,N as i,a as b,b as l,e as B,aj as f,ak as a}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";const gu=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(m,{name:"setting"},null)},{label:"刷新",key:"reload",icon:u(m,{name:"reload"},null)},{label:"搜索",key:"search",icon:u(m,{name:"search"},null),popover:"我是搜索"}],E=d("this is three"),e=d("medium"),C=d("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{gu as default}; diff --git a/js/index-zcrZ2M2i.js.gz b/js/index-zcrZ2M2i.js.gz new file mode 100644 index 00000000..f5fd568e Binary files /dev/null and b/js/index-zcrZ2M2i.js.gz differ diff --git a/js/instance-BbSLtO2c.js.gz b/js/instance-BbSLtO2c.js.gz deleted file mode 100644 index a7b7e563..00000000 Binary files a/js/instance-BbSLtO2c.js.gz and /dev/null differ diff --git a/js/instance-BbSLtO2c.js b/js/instance-Lnu85bZk.js similarity index 77% rename from js/instance-BbSLtO2c.js rename to js/instance-Lnu85bZk.js index 7d897650..cb34c7d7 100644 --- a/js/instance-BbSLtO2c.js +++ b/js/instance-Lnu85bZk.js @@ -1 +1 @@ -import{a as R}from"./axios@1.7.9-upsvKRUO.js";import{a0 as t,a1 as n,f as q,a2 as d}from"./hooks-Bi_Q9OFa.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{g as A}from"./utils-4asTneEs.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.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.9-upsvKRUO.js";import{a0 as t,a1 as n,f as q,a2 as d}from"./hooks-DAFrMGjY.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{g as A}from"./utils-Bic_iDtY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.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-Lnu85bZk.js.gz b/js/instance-Lnu85bZk.js.gz new file mode 100644 index 00000000..37facfa7 Binary files /dev/null and b/js/instance-Lnu85bZk.js.gz differ diff --git a/js/interactjs@1.10.27-0Tgk5CYh.js b/js/interactjs@1.10.27-0Tgk5CYh.js new file mode 100644 index 00000000..eecede30 --- /dev/null +++ b/js/interactjs@1.10.27-0Tgk5CYh.js @@ -0,0 +1 @@ +import{g as Cr}from"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";var ye={exports:{}},jr=ye.exports,bn;function Fr(){return bn||(bn=1,function(be,Yr){(function(Ye,re){be.exports=re()})(jr,function(){function Ye(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function re(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var n,r=U(t);if(e){var i=U(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xe(o)}(this,n)}}function we(){return we=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(o,a){for(;!Object.prototype.hasOwnProperty.call(o,a)&&(o=U(o))!==null;);return o}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},we.apply(this,arguments)}function vt(t){var e=function(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(t,"string");return typeof e=="symbol"?e:e+""}var gt=function(t){return!(!t||!t.Window)&&t instanceof t.Window},mt=void 0,H=void 0;function yt(t){mt=t;var e=t.document.createTextNode("");e.ownerDocument!==t.document&&typeof t.wrap=="function"&&t.wrap(e)===e&&(t=t.wrap(t)),H=t}function F(t){return gt(t)?t:(t.ownerDocument||t).defaultView||H.window}typeof window<"u"&&window&&yt(window);var Ee=function(t){return!!t&&Z(t)==="object"},bt=function(t){return typeof t=="function"},d={window:function(t){return t===H||gt(t)},docFrag:function(t){return Ee(t)&&t.nodeType===11},object:Ee,func:bt,number:function(t){return typeof t=="number"},bool:function(t){return typeof t=="boolean"},string:function(t){return typeof t=="string"},element:function(t){if(!t||Z(t)!=="object")return!1;var e=F(t)||H;return/object|function/.test(typeof Element>"u"?"undefined":Z(Element))?t instanceof Element||t instanceof e.Element:t.nodeType===1&&typeof t.nodeName=="string"},plainObject:function(t){return Ee(t)&&!!t.constructor&&/function Object\b/.test(t.constructor.toString())},array:function(t){return Ee(t)&&t.length!==void 0&&bt(t.splice)}};function qe(t){var e=t.interaction;if(e.prepared.name==="drag"){var n=e.prepared.axis;n==="x"?(e.coords.cur.page.y=e.coords.start.page.y,e.coords.cur.client.y=e.coords.start.client.y,e.coords.velocity.client.y=0,e.coords.velocity.page.y=0):n==="y"&&(e.coords.cur.page.x=e.coords.start.page.x,e.coords.cur.client.x=e.coords.start.client.x,e.coords.velocity.client.x=0,e.coords.velocity.page.x=0)}}function xt(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="drag"){var r=n.prepared.axis;if(r==="x"||r==="y"){var i=r==="x"?"y":"x";e.page[i]=n.coords.start.page[i],e.client[i]=n.coords.start.client[i],e.delta[i]=0}}}var Te={id:"actions/drag",install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.draggable=Te.draggable,e.map.drag=Te,e.methodDict.drag="draggable",r.actions.drag=Te.defaults},listeners:{"interactions:before-action-move":qe,"interactions:action-resume":qe,"interactions:action-move":xt,"auto-start:check":function(t){var e=t.interaction,n=t.interactable,r=t.buttons,i=n.options.drag;if(i&&i.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||r&n.options.drag.mouseButtons))return t.action={name:"drag",axis:i.lockAxis==="start"?i.startAxis:i.lockAxis},!1}},draggable:function(t){return d.object(t)?(this.options.drag.enabled=t.enabled!==!1,this.setPerAction("drag",t),this.setOnEvents("drag",t),/^(xy|x|y|start)$/.test(t.lockAxis)&&(this.options.drag.lockAxis=t.lockAxis),/^(xy|x|y)$/.test(t.startAxis)&&(this.options.drag.startAxis=t.startAxis),this):d.bool(t)?(this.options.drag.enabled=t,this):this.options.drag},beforeMove:qe,move:xt,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(t){return t.search("drag")===0}},wt=Te,A={init:function(t){var e=t;A.document=e.document,A.DocumentFragment=e.DocumentFragment||ee,A.SVGElement=e.SVGElement||ee,A.SVGSVGElement=e.SVGSVGElement||ee,A.SVGElementInstance=e.SVGElementInstance||ee,A.Element=e.Element||ee,A.HTMLElement=e.HTMLElement||A.Element,A.Event=e.Event,A.Touch=e.Touch||ee,A.PointerEvent=e.PointerEvent||e.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function ee(){}var O=A,R={init:function(t){var e=O.Element,n=t.navigator||{};R.supportsTouch="ontouchstart"in t||d.func(t.DocumentTouch)&&O.document instanceof t.DocumentTouch,R.supportsPointerEvent=n.pointerEnabled!==!1&&!!O.PointerEvent,R.isIOS=/iP(hone|od|ad)/.test(n.platform),R.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),R.isIe9=/MSIE 9/.test(n.userAgent),R.isOperaMobile=n.appName==="Opera"&&R.supportsTouch&&/Presto/.test(n.userAgent),R.prefixedMatchesSelector="matches"in e.prototype?"matches":"webkitMatchesSelector"in e.prototype?"webkitMatchesSelector":"mozMatchesSelector"in e.prototype?"mozMatchesSelector":"oMatchesSelector"in e.prototype?"oMatchesSelector":"msMatchesSelector",R.pEventTypes=R.supportsPointerEvent?O.PointerEvent===t.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,R.wheelEvent=O.document&&"onmousewheel"in O.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},C=R;function K(t,e){if(t.contains)return t.contains(e);for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function Et(t,e){for(;d.element(t);){if(B(t,e))return t;t=X(t)}return null}function X(t){var e=t.parentNode;if(d.docFrag(e)){for(;(e=e.host)&&d.docFrag(e););return e}return e}function B(t,e){return H!==mt&&(e=e.replace(/\/deep\//g," ")),t[C.prefixedMatchesSelector](e)}var Be=function(t){return t.parentNode||t.host};function Tt(t,e){for(var n,r=[],i=t;(n=Be(i))&&i!==e&&n!==i.ownerDocument;)r.unshift(i),i=n;return r}function Ve(t,e,n){for(;d.element(t);){if(B(t,e))return!0;if((t=X(t))===n)return B(t,e)}return!1}function St(t){return t.correspondingUseElement||t}function We(t){var e=t instanceof O.SVGElement?t.getBoundingClientRect():t.getClientRects()[0];return e&&{left:e.left,right:e.right,top:e.top,bottom:e.bottom,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}function Ge(t){var e,n=We(t);if(!C.isIOS7&&n){var r={x:(e=(e=F(t))||H).scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop};n.left+=r.x,n.right+=r.x,n.top+=r.y,n.bottom+=r.y}return n}function _t(t){for(var e=[];t;)e.push(t),t=X(t);return e}function Pt(t){return!!d.string(t)&&(O.document.querySelector(t),!0)}function x(t,e){for(var n in e)t[n]=e[n];return t}function Ot(t,e,n){return t==="parent"?X(n):t==="self"?e.getRect(n):Et(n,t)}function ae(t,e,n,r){var i=t;return d.string(i)?i=Ot(i,e,n):d.func(i)&&(i=i.apply(void 0,r)),d.element(i)&&(i=Ge(i)),i}function Se(t){return t&&{x:"x"in t?t.x:t.left,y:"y"in t?t.y:t.top}}function Ne(t){return!t||"x"in t&&"y"in t||((t=x({},t)).x=t.left||0,t.y=t.top||0,t.width=t.width||(t.right||0)-t.x,t.height=t.height||(t.bottom||0)-t.y),t}function _e(t,e,n){t.left&&(e.left+=n.x),t.right&&(e.right+=n.x),t.top&&(e.top+=n.y),t.bottom&&(e.bottom+=n.y),e.width=e.right-e.left,e.height=e.bottom-e.top}function se(t,e,n){var r=n&&t.options[n];return Se(ae(r&&r.origin||t.options.origin,t,e,[t&&e]))||{x:0,y:0}}function $(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(c){return!0},r=arguments.length>3?arguments[3]:void 0;if(r=r||{},d.string(t)&&t.search(" ")!==-1&&(t=kt(t)),d.array(t))return t.forEach(function(c){return $(c,e,n,r)}),r;if(d.object(t)&&(e=t,t=""),d.func(e)&&n(t))r[t]=r[t]||[],r[t].push(e);else if(d.array(e))for(var i=0,o=e;i1?zt(e):e[0];Mt(r,t.page),function(i,o){o=o||{},C.isOperaMobile&&It(i)?ke("screen",i,o):ke("client",i,o)}(r,t.client),t.timeStamp=n}function Ue(t){var e=[];return d.array(t)?(e[0]=t[0],e[1]=t[1]):t.type==="touchend"?t.touches.length===1?(e[0]=t.touches[0],e[1]=t.changedTouches[0]):t.touches.length===0&&(e[0]=t.changedTouches[0],e[1]=t.changedTouches[1]):(e[0]=t.touches[0],e[1]=t.touches[1]),e}function zt(t){for(var e={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n=(parseInt(F(b).getComputedStyle(b).zIndex,10)||0)&&(y=_);else y=_}else y=_}return y}(a);return r.activeDrops[h]||null}function Qe(t,e,n){var r=t.dropState,i={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return n.type==="dragstart"&&(i.activate=new te(r,n,"dropactivate"),i.activate.target=null,i.activate.dropzone=null),n.type==="dragend"&&(i.deactivate=new te(r,n,"dropdeactivate"),i.deactivate.target=null,i.deactivate.dropzone=null),r.rejected||(r.cur.element!==r.prev.element&&(r.prev.dropzone&&(i.leave=new te(r,n,"dragleave"),n.dragLeave=i.leave.target=r.prev.element,n.prevDropzone=i.leave.dropzone=r.prev.dropzone),r.cur.dropzone&&(i.enter=new te(r,n,"dragenter"),n.dragEnter=r.cur.element,n.dropzone=r.cur.dropzone)),n.type==="dragend"&&r.cur.dropzone&&(i.drop=new te(r,n,"drop"),n.dropzone=r.cur.dropzone,n.relatedTarget=r.cur.element),n.type==="dragmove"&&r.cur.dropzone&&(i.move=new te(r,n,"dropmove"),n.dropzone=r.cur.dropzone)),i}function Ze(t,e){var n=t.dropState,r=n.activeDrops,i=n.cur,o=n.prev;e.leave&&o.dropzone.fire(e.leave),e.enter&&i.dropzone.fire(e.enter),e.move&&i.dropzone.fire(e.move),e.drop&&i.dropzone.fire(e.drop),e.deactivate&&Ft(r,e.deactivate),n.prev.dropzone=i.dropzone,n.prev.element=i.element}function Yt(t,e){var n=t.interaction,r=t.iEvent,i=t.event;if(r.type==="dragmove"||r.type==="dragend"){var o=n.dropState;e.dynamicDrop&&(o.activeDrops=Je(e,n.element));var a=r,s=Xt(n,a,i);o.rejected=o.rejected&&!!s&&s.dropzone===o.cur.dropzone&&s.element===o.cur.element,o.cur.dropzone=s&&s.dropzone,o.cur.element=s&&s.element,o.events=Qe(n,0,a)}}var Lt={id:"actions/drop",install:function(t){var e=t.actions,n=t.interactStatic,r=t.Interactable,i=t.defaults;t.usePlugin(wt),r.prototype.dropzone=function(o){return function(a,s){if(d.object(s)){if(a.options.drop.enabled=s.enabled!==!1,s.listeners){var c=$(s.listeners),l=Object.keys(c).reduce(function(p,f){return p[/^(enter|leave)/.test(f)?"drag".concat(f):/^(activate|deactivate|move)/.test(f)?"drop".concat(f):f]=c[f],p},{}),u=a.options.drop.listeners;u&&a.off(u),a.on(l),a.options.drop.listeners=l}return d.func(s.ondrop)&&a.on("drop",s.ondrop),d.func(s.ondropactivate)&&a.on("dropactivate",s.ondropactivate),d.func(s.ondropdeactivate)&&a.on("dropdeactivate",s.ondropdeactivate),d.func(s.ondragenter)&&a.on("dragenter",s.ondragenter),d.func(s.ondragleave)&&a.on("dragleave",s.ondragleave),d.func(s.ondropmove)&&a.on("dropmove",s.ondropmove),/^(pointer|center)$/.test(s.overlap)?a.options.drop.overlap=s.overlap:d.number(s.overlap)&&(a.options.drop.overlap=Math.max(Math.min(1,s.overlap),0)),"accept"in s&&(a.options.drop.accept=s.accept),"checker"in s&&(a.options.drop.checker=s.checker),a}return d.bool(s)?(a.options.drop.enabled=s,a):a.options.drop}(this,o)},r.prototype.dropCheck=function(o,a,s,c,l,u){return function(p,f,v,h,g,y,m){var b=!1;if(!(m=m||p.getRect(y)))return!!p.options.drop.checker&&p.options.drop.checker(f,v,b,p,y,h,g);var T=p.options.drop.overlap;if(T==="pointer"){var _=se(h,g,"drag"),w=Mt(f);w.x+=_.x,w.y+=_.y;var S=w.x>m.left&&w.xm.top&&w.y=m.left&&z<=m.right&&j>=m.top&&j<=m.bottom}return P&&d.number(T)&&(b=Math.max(0,Math.min(m.right,P.right)-Math.max(m.left,P.left))*Math.max(0,Math.min(m.bottom,P.bottom)-Math.max(m.top,P.top))/(P.width*P.height)>=T),p.options.drop.checker&&(b=p.options.drop.checker(f,v,b,p,y,h,g)),b}(this,o,a,s,c,l,u)},n.dynamicDrop=function(o){return d.bool(o)?(t.dynamicDrop=o,n):t.dynamicDrop},x(e.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),e.methodDict.drop="dropzone",t.dynamicDrop=!1,i.actions.drop=Lt.defaults},listeners:{"interactions:before-action-start":function(t){var e=t.interaction;e.prepared.name==="drag"&&(e.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(t,e){var n=t.interaction,r=(t.event,t.iEvent);if(n.prepared.name==="drag"){var i=n.dropState;i.activeDrops=[],i.events={},i.activeDrops=Je(e,n.element),i.events=Qe(n,0,r),i.events.activate&&(Ft(i.activeDrops,i.events.activate),e.fire("actions/drop:start",{interaction:n,dragEvent:r}))}},"interactions:action-move":Yt,"interactions:after-action-move":function(t,e){var n=t.interaction,r=t.iEvent;if(n.prepared.name==="drag"){var i=n.dropState;Ze(n,i.events),e.fire("actions/drop:move",{interaction:n,dragEvent:r}),i.events={}}},"interactions:action-end":function(t,e){if(t.interaction.prepared.name==="drag"){var n=t.interaction,r=t.iEvent;Yt(t,e),Ze(n,n.dropState.events),e.fire("actions/drop:end",{interaction:n,dragEvent:r})}},"interactions:stop":function(t){var e=t.interaction;if(e.prepared.name==="drag"){var n=e.dropState;n&&(n.activeDrops=null,n.events=null,n.cur.dropzone=null,n.cur.element=null,n.prev.dropzone=null,n.prev.element=null,n.rejected=!1)}}},getActiveDrops:Je,getDrop:Xt,getDropEvents:Qe,fireDropEvents:Ze,filterEventType:function(t){return t.search("drag")===0||t.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},Sn=Lt;function et(t){var e=t.interaction,n=t.iEvent,r=t.phase;if(e.prepared.name==="gesture"){var i=e.pointers.map(function(l){return l.pointer}),o=r==="start",a=r==="end",s=e.interactable.options.deltaSource;if(n.touches=[i[0],i[1]],o)n.distance=Ke(i,s),n.box=He(i),n.scale=1,n.ds=0,n.angle=$e(i,s),n.da=0,e.gesture.startDistance=n.distance,e.gesture.startAngle=n.angle;else if(a||e.pointers.length<2){var c=e.prevEvent;n.distance=c.distance,n.box=c.box,n.scale=c.scale,n.ds=0,n.angle=c.angle,n.da=0}else n.distance=Ke(i,s),n.box=He(i),n.scale=n.distance/e.gesture.startDistance,n.angle=$e(i,s),n.ds=n.scale-e.gesture.scale,n.da=n.angle-e.gesture.angle;e.gesture.distance=n.distance,e.gesture.angle=n.angle,d.number(n.scale)&&n.scale!==1/0&&!isNaN(n.scale)&&(e.gesture.scale=n.scale)}}var tt={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.gesturable=function(i){return d.object(i)?(this.options.gesture.enabled=i.enabled!==!1,this.setPerAction("gesture",i),this.setOnEvents("gesture",i),this):d.bool(i)?(this.options.gesture.enabled=i,this):this.options.gesture},e.map.gesture=tt,e.methodDict.gesture="gesturable",r.actions.gesture=tt.defaults},listeners:{"interactions:action-start":et,"interactions:action-move":et,"interactions:action-end":et,"interactions:new":function(t){t.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(t){if(!(t.interaction.pointers.length<2)){var e=t.interactable.options.gesture;if(e&&e.enabled)return t.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(t){return t.search("gesture")===0}},_n=tt;function Pn(t,e,n,r,i,o,a){if(!e)return!1;if(e===!0){var s=d.number(o.width)?o.width:o.right-o.left,c=d.number(o.height)?o.height:o.bottom-o.top;if(a=Math.min(a,Math.abs((t==="left"||t==="right"?s:c)/2)),s<0&&(t==="left"?t="right":t==="right"&&(t="left")),c<0&&(t==="top"?t="bottom":t==="bottom"&&(t="top")),t==="left"){var l=s>=0?o.left:o.right;return n.x=0?o.top:o.bottom;return n.y(s>=0?o.right:o.left)-a;if(t==="bottom")return n.y>(c>=0?o.bottom:o.top)-a}return!!d.element(r)&&(d.element(e)?e===r:Ve(r,e,i))}function qt(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="resize"&&n.resizeAxes){var r=e;n.interactable.options.resize.square?(n.resizeAxes==="y"?r.delta.x=r.delta.y:r.delta.y=r.delta.x,r.axes="xy"):(r.axes=n.resizeAxes,n.resizeAxes==="x"?r.delta.y=0:n.resizeAxes==="y"&&(r.delta.x=0))}}var Y,J,L={id:"actions/resize",before:["actions/drag"],install:function(t){var e=t.actions,n=t.browser,r=t.Interactable,i=t.defaults;L.cursors=function(o){return o.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(n),L.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,r.prototype.resizable=function(o){return function(a,s,c){return d.object(s)?(a.options.resize.enabled=s.enabled!==!1,a.setPerAction("resize",s),a.setOnEvents("resize",s),d.string(s.axis)&&/^x$|^y$|^xy$/.test(s.axis)?a.options.resize.axis=s.axis:s.axis===null&&(a.options.resize.axis=c.defaults.actions.resize.axis),d.bool(s.preserveAspectRatio)?a.options.resize.preserveAspectRatio=s.preserveAspectRatio:d.bool(s.square)&&(a.options.resize.square=s.square),a):d.bool(s)?(a.options.resize.enabled=s,a):a.options.resize}(this,o,t)},e.map.resize=L,e.methodDict.resize="resizable",i.actions.resize=L.defaults},listeners:{"interactions:new":function(t){t.interaction.resizeAxes="xy"},"interactions:action-start":function(t){(function(e){var n=e.iEvent,r=e.interaction;if(r.prepared.name==="resize"&&r.prepared.edges){var i=n,o=r.rect;r._rects={start:x({},o),corrected:x({},o),previous:x({},o),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},i.edges=r.prepared.edges,i.rect=r._rects.corrected,i.deltaRect=r._rects.delta}})(t),qt(t)},"interactions:action-move":function(t){(function(e){var n=e.iEvent,r=e.interaction;if(r.prepared.name==="resize"&&r.prepared.edges){var i=n,o=r.interactable.options.resize.invert,a=o==="reposition"||o==="negate",s=r.rect,c=r._rects,l=c.start,u=c.corrected,p=c.delta,f=c.previous;if(x(f,u),a){if(x(u,s),o==="reposition"){if(u.top>u.bottom){var v=u.top;u.top=u.bottom,u.bottom=v}if(u.left>u.right){var h=u.left;u.left=u.right,u.right=h}}}else u.top=Math.min(s.top,l.bottom),u.bottom=Math.max(s.bottom,l.top),u.left=Math.min(s.left,l.right),u.right=Math.max(s.right,l.left);for(var g in u.width=u.right-u.left,u.height=u.bottom-u.top,u)p[g]=u[g]-f[g];i.edges=r.prepared.edges,i.rect=u,i.deltaRect=p}})(t),qt(t)},"interactions:action-end":function(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="resize"&&n.prepared.edges){var r=e;r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}},"auto-start:check":function(t){var e=t.interaction,n=t.interactable,r=t.element,i=t.rect,o=t.buttons;if(i){var a=x({},e.coords.cur.page),s=n.options.resize;if(s&&s.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||o&s.mouseButtons)){if(d.object(s.edges)){var c={left:!1,right:!1,top:!1,bottom:!1};for(var l in c)c[l]=Pn(l,s.edges[l],a,e._latestPointer.eventTarget,r,i,s.margin||L.defaultMargin);c.left=c.left&&!c.right,c.top=c.top&&!c.bottom,(c.left||c.right||c.top||c.bottom)&&(t.action={name:"resize",edges:c})}else{var u=s.axis!=="y"&&a.x>i.right-L.defaultMargin,p=s.axis!=="x"&&a.y>i.bottom-L.defaultMargin;(u||p)&&(t.action={name:"resize",axes:(u?"x":"")+(p?"y":"")})}return!t.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(t){var e=t.edges,n=t.axis,r=t.name,i=L.cursors,o=null;if(n)o=i[r+n];else if(e){for(var a="",s=0,c=["top","bottom","left","right"];s=1){var l={x:E.x*c,y:E.y*c};if(l.x||l.y){var u=Wt(o);d.window(o)?o.scrollBy(l.x,l.y):o&&(o.scrollLeft+=l.x,o.scrollTop+=l.y);var p=Wt(o),f={x:p.x-u.x,y:p.y-u.y};(f.x||f.y)&&e.fire({type:"autoscroll",target:n,interactable:e,delta:f,interaction:t,container:o})}E.prevTime=a}E.isScrolling&&(V.cancel(E.i),E.i=V.request(E.scroll))},check:function(t,e){var n;return(n=t.options[e].autoScroll)==null?void 0:n.enabled},onInteractionMove:function(t){var e=t.interaction,n=t.pointer;if(e.interacting()&&E.check(e.interactable,e.prepared.name))if(e.simulation)E.x=E.y=0;else{var r,i,o,a,s=e.interactable,c=e.element,l=e.prepared.name,u=s.options[l].autoScroll,p=Vt(u.container,s,c);if(d.window(p))a=n.clientXp.innerWidth-E.margin,o=n.clientY>p.innerHeight-E.margin;else{var f=We(p);a=n.clientXf.right-E.margin,o=n.clientY>f.bottom-E.margin}E.x=i?1:a?-1:0,E.y=o?1:r?-1:0,E.isScrolling||(E.margin=u.margin,E.speed=u.speed,E.start(e))}}};function Vt(t,e,n){return(d.string(t)?Ot(t,e,n):t)||F(n)}function Wt(t){return d.window(t)&&(t=window.document.body),{x:t.scrollLeft,y:t.scrollTop}}var Dn={id:"auto-scroll",install:function(t){var e=t.defaults,n=t.actions;t.autoScroll=E,E.now=function(){return t.now()},n.phaselessTypes.autoscroll=!0,e.perAction.autoScroll=E.defaults},listeners:{"interactions:new":function(t){t.interaction.autoScroll=null},"interactions:destroy":function(t){t.interaction.autoScroll=null,E.stop(),E.interaction&&(E.interaction=null)},"interactions:stop":E.stop,"interactions:action-move":function(t){return E.onInteractionMove(t)}}},In=Dn;function fe(t,e){var n=!1;return function(){return n||(H.console.warn(e),n=!0),t.apply(this,arguments)}}function nt(t,e){return t.name=e.name,t.axis=e.axis,t.edges=e.edges,t}function Mn(t){return d.bool(t)?(this.options.styleCursor=t,this):t===null?(delete this.options.styleCursor,this):this.options.styleCursor}function zn(t){return d.func(t)?(this.options.actionChecker=t,this):t===null?(delete this.options.actionChecker,this):this.options.actionChecker}var An={id:"auto-start/interactableMethods",install:function(t){var e=t.Interactable;e.prototype.getAction=function(n,r,i,o){var a=function(s,c,l,u,p){var f=s.getRect(u),v=c.buttons||{0:1,1:4,3:8,4:16}[c.button],h={action:null,interactable:s,interaction:l,element:u,rect:f,buttons:v};return p.fire("auto-start:check",h),h.action}(this,r,i,o,t);return this.options.actionChecker?this.options.actionChecker(n,r,a,this,o,i):a},e.prototype.ignoreFrom=fe(function(n){return this._backCompatOption("ignoreFrom",n)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),e.prototype.allowFrom=fe(function(n){return this._backCompatOption("allowFrom",n)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),e.prototype.actionChecker=zn,e.prototype.styleCursor=Mn}};function Gt(t,e,n,r,i){return e.testIgnoreAllow(e.options[t.name],n,r)&&e.options[t.name].enabled&&Ie(e,n,t,i)?t:null}function Rn(t,e,n,r,i,o,a){for(var s=0,c=r.length;s=s||v.interactable===t&&((l+=h===n.name?1:0)>=o||v.element===e&&(u++,h===n.name&&u>=a))))return!1}return s>0}function Ht(t,e){return d.number(t)?(e.autoStart.maxInteractions=t,this):e.autoStart.maxInteractions}function rt(t,e,n){var r=n.autoStart.cursorElement;r&&r!==t&&(r.style.cursor=""),t.ownerDocument.documentElement.style.cursor=e,t.style.cursor=e,n.autoStart.cursorElement=e?t:null}function Kt(t,e){var n=t.interactable,r=t.element,i=t.prepared;if(t.pointerType==="mouse"&&n&&n.options.styleCursor){var o="";if(i.name){var a=n.options[i.name].cursorChecker;o=d.func(a)?a(i,n,r,t._interacting):e.actions.map[i.name].getCursor(i)}rt(t.element,o||"",e)}else e.autoStart.cursorElement&&rt(e.autoStart.cursorElement,"",e)}var Cn={id:"auto-start/base",before:["actions"],install:function(t){var e=t.interactStatic,n=t.defaults;t.usePlugin(An),n.base.actionChecker=null,n.base.styleCursor=!0,x(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),e.maxInteractions=function(r){return Ht(r,t)},t.autoStart={maxInteractions:1/0,withinInteractionLimit:Ie,cursorElement:null}},listeners:{"interactions:down":function(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget;n.interacting()||Ut(n,Nt(n,r,i,o,e),e)},"interactions:move":function(t,e){(function(n,r){var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget;i.pointerType!=="mouse"||i.pointerIsDown||i.interacting()||Ut(i,Nt(i,o,a,s,r),r)})(t,e),function(n,r){var i=n.interaction;if(i.pointerIsDown&&!i.interacting()&&i.pointerWasMoved&&i.prepared.name){r.fire("autoStart:before-start",n);var o=i.interactable,a=i.prepared.name;a&&o&&(o.options[a].manualStart||!Ie(o,i.element,i.prepared,r)?i.stop():(i.start(i.prepared,o,i.element),Kt(i,r)))}}(t,e)},"interactions:stop":function(t,e){var n=t.interaction,r=n.interactable;r&&r.options.styleCursor&&rt(n.element,"",e)}},maxInteractions:Ht,withinInteractionLimit:Ie,validateAction:Gt},it=Cn,jn={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(t,e){var n=t.interaction,r=t.eventTarget,i=t.dx,o=t.dy;if(n.prepared.name==="drag"){var a=Math.abs(i),s=Math.abs(o),c=n.interactable.options.drag,l=c.startAxis,u=a>s?"x":a0&&(e.autoStartHoldTimer=setTimeout(function(){e.start(e.prepared,e.interactable,e.element)},n))},"interactions:move":function(t){var e=t.interaction,n=t.duplicate;e.autoStartHoldTimer&&e.pointerWasMoved&&!n&&(clearTimeout(e.autoStartHoldTimer),e.autoStartHoldTimer=null)},"autoStart:before-start":function(t){var e=t.interaction;ot(e)>0&&(e.prepared.name=null)}},getHoldDuration:ot},Xn=Fn,Yn={id:"auto-start",install:function(t){t.usePlugin(it),t.usePlugin(Xn),t.usePlugin(jn)}},Ln=function(t){return/^(always|never|auto)$/.test(t)?(this.options.preventDefault=t,this):d.bool(t)?(this.options.preventDefault=t?"always":"never",this):this.options.preventDefault};function qn(t){var e=t.interaction,n=t.event;e.interactable&&e.interactable.checkAndPreventDefault(n)}var $t={id:"core/interactablePreventDefault",install:function(t){var e=t.Interactable;e.prototype.preventDefault=Ln,e.prototype.checkAndPreventDefault=function(n){return function(r,i,o){var a=r.options.preventDefault;if(a!=="never")if(a!=="always"){if(i.events.supportsPassive&&/^touch(start|move)$/.test(o.type)){var s=F(o.target).document,c=i.getDocOptions(s);if(!c||!c.events||c.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(o.type)||d.element(o.target)&&B(o.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||o.preventDefault()}else o.preventDefault()}(this,t,n)},t.interactions.docEvents.push({type:"dragstart",listener:function(n){for(var r=0,i=t.interactions.list;r150)return null;var i=180*Math.atan2(r.prevEvent.velocityY,r.prevEvent.velocityX)/Math.PI;i<0&&(i+=360);var o=112.5<=i&&i<247.5,a=202.5<=i&&i<337.5;return{up:a,down:!a&&22.5<=i&&i<157.5,left:o,right:!o&&(292.5<=i||i<67.5),angle:i,speed:r.prevEvent.speed,velocity:{x:r.prevEvent.velocityX,y:r.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),n}(De);Object.defineProperties(st.prototype,{pageX:{get:function(){return this.page.x},set:function(t){this.page.x=t}},pageY:{get:function(){return this.page.y},set:function(t){this.page.y=t}},clientX:{get:function(){return this.client.x},set:function(t){this.client.x=t}},clientY:{get:function(){return this.client.y},set:function(t){this.client.y=t}},dx:{get:function(){return this.delta.x},set:function(t){this.delta.x=t}},dy:{get:function(){return this.delta.y},set:function(t){this.delta.y=t}},velocityX:{get:function(){return this.velocity.x},set:function(t){this.velocity.x=t}},velocityY:{get:function(){return this.velocity.y},set:function(t){this.velocity.y=t}}});var Vn=D(function t(e,n,r,i,o){k(this,t),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=e,this.pointer=n,this.event=r,this.downTime=i,this.downTarget=o}),Wn=function(t){return t.interactable="",t.element="",t.prepared="",t.pointerIsDown="",t.pointerWasMoved="",t._proxy="",t}({}),Zt=function(t){return t.start="",t.move="",t.end="",t.stop="",t.interacting="",t}({}),Gn=0,Nn=function(){function t(e){var n=this,r=e.pointerType,i=e.scopeFire;k(this,t),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=fe(function(u){this.move(u)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=Gn++,this._scopeFire=i,this.pointerType=r;var o=this;this._proxy={};var a=function(u){Object.defineProperty(n._proxy,u,{get:function(){return o[u]}})};for(var s in Wn)a(s);var c=function(u){Object.defineProperty(n._proxy,u,{value:function(){return o[u].apply(o,arguments)}})};for(var l in Zt)c(l);this._scopeFire("interactions:new",{interaction:this})}return D(t,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(e,n,r){var i=this.updatePointer(e,n,r,!0),o=this.pointers[i];this._scopeFire("interactions:down",{pointer:e,event:n,eventTarget:r,pointerIndex:i,pointerInfo:o,type:"down",interaction:this})}},{key:"start",value:function(e,n,r){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(e.name==="gesture"?2:1)||!n.options[e.name].enabled)&&(nt(this.prepared,e),this.interactable=n,this.element=r,this.rect=n.getRect(r),this.edges=this.prepared.edges?x({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(e,n,r){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(e,n,r,!1);var i,o,a=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(i=this.coords.cur.client.x-this.coords.start.client.x,o=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=ce(i,o)>this.pointerMoveTolerance);var s,c,l,u=this.getPointerIndex(e),p={pointer:e,pointerIndex:u,pointerInfo:this.pointers[u],event:n,type:"move",eventTarget:r,dx:i,dy:o,duplicate:a,interaction:this};a||(s=this.coords.velocity,c=this.coords.delta,l=Math.max(c.timeStamp/1e3,.001),s.page.x=c.page.x/l,s.page.y=c.page.y/l,s.client.x=c.client.x/l,s.client.y=c.client.y/l,s.timeStamp=l),this._scopeFire("interactions:move",p),a||this.simulation||(this.interacting()&&(p.type=null,this.move(p)),this.pointerWasMoved&&Oe(this.coords.prev,this.coords.cur))}},{key:"move",value:function(e){e&&e.event||Dt(this.coords.delta),(e=x({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{})).phase="move",this._doPhase(e)}},{key:"pointerUp",value:function(e,n,r,i){var o=this.getPointerIndex(e);o===-1&&(o=this.updatePointer(e,n,r,!1));var a=/cancel$/i.test(n.type)?"cancel":"up";this._scopeFire("interactions:".concat(a),{pointer:e,pointerIndex:o,pointerInfo:this.pointers[o],event:n,eventTarget:r,type:a,curEventTarget:i,interaction:this}),this.simulation||this.end(n),this.removePointer(e,n)}},{key:"documentBlur",value:function(e){this.end(e),this._scopeFire("interactions:blur",{event:e,type:"blur",interaction:this})}},{key:"end",value:function(e){var n;this._ending=!0,e=e||this._latestPointer.event,this.interacting()&&(n=this._doPhase({event:e,interaction:this,phase:"end"})),this._ending=!1,n===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(e){var n=ue(e);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:le(this.pointers,function(r){return r.id===n})}},{key:"getPointerInfo",value:function(e){return this.pointers[this.getPointerIndex(e)]}},{key:"updatePointer",value:function(e,n,r,i){var o,a,s,c=ue(e),l=this.getPointerIndex(e),u=this.pointers[l];return i=i!==!1&&(i||/(down|start)$/i.test(n.type)),u?u.pointer=e:(u=new Vn(c,e,n,null,null),l=this.pointers.length,this.pointers.push(u)),Tn(this.coords.cur,this.pointers.map(function(p){return p.pointer}),this._now()),o=this.coords.delta,a=this.coords.prev,s=this.coords.cur,o.page.x=s.page.x-a.page.x,o.page.y=s.page.y-a.page.y,o.client.x=s.client.x-a.client.x,o.client.y=s.client.y-a.client.y,o.timeStamp=s.timeStamp-a.timeStamp,i&&(this.pointerIsDown=!0,u.downTime=this.coords.cur.timeStamp,u.downTarget=r,Pe(this.downPointer,e),this.interacting()||(Oe(this.coords.start,this.coords.cur),Oe(this.coords.prev,this.coords.cur),this.downEvent=n,this.pointerWasMoved=!1)),this._updateLatestPointer(e,n,r),this._scopeFire("interactions:update-pointer",{pointer:e,event:n,eventTarget:r,down:i,pointerInfo:u,pointerIndex:l,interaction:this}),l}},{key:"removePointer",value:function(e,n){var r=this.getPointerIndex(e);if(r!==-1){var i=this.pointers[r];this._scopeFire("interactions:remove-pointer",{pointer:e,event:n,eventTarget:null,pointerIndex:r,pointerInfo:i,interaction:this}),this.pointers.splice(r,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(e,n,r){this._latestPointer.pointer=e,this._latestPointer.event=n,this._latestPointer.eventTarget=r}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(e,n,r,i){return new st(this,e,this.prepared.name,n,this.element,r,i)}},{key:"_fireEvent",value:function(e){var n;(n=this.interactable)==null||n.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}},{key:"_doPhase",value:function(e){var n=e.event,r=e.phase,i=e.preEnd,o=e.type,a=this.rect;if(a&&r==="move"&&(_e(this.edges,a,this.coords.delta[this.interactable.options.deltaSource]),a.width=a.right-a.left,a.height=a.bottom-a.top),this._scopeFire("interactions:before-action-".concat(r),e)===!1)return!1;var s=e.iEvent=this._createPreparedEvent(n,r,i,o);return this._scopeFire("interactions:action-".concat(r),e),r==="start"&&(this.prevEvent=s),this._fireEvent(s),this._scopeFire("interactions:after-action-".concat(r),e),!0}},{key:"_now",value:function(){return Date.now()}}]),t}();function en(t){tn(t.interaction)}function tn(t){if(!function(n){return!(!n.offset.pending.x&&!n.offset.pending.y)}(t))return!1;var e=t.offset.pending;return ct(t.coords.cur,e),ct(t.coords.delta,e),_e(t.edges,t.rect,e),e.x=0,e.y=0,!0}function Un(t){var e=t.x,n=t.y;this.offset.pending.x+=e,this.offset.pending.y+=n,this.offset.total.x+=e,this.offset.total.y+=n}function ct(t,e){var n=t.page,r=t.client,i=e.x,o=e.y;n.x+=i,n.y+=o,r.x+=i,r.y+=o}Zt.offsetBy="";var Hn={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(t){t.Interaction.prototype.offsetBy=Un},listeners:{"interactions:new":function(t){t.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(t){return function(e){e.pointerIsDown&&(ct(e.coords.cur,e.offset.total),e.offset.pending.x=0,e.offset.pending.y=0)}(t.interaction)},"interactions:before-action-start":en,"interactions:before-action-move":en,"interactions:before-action-end":function(t){var e=t.interaction;if(tn(e))return e.move({offset:!0}),e.end(),!1},"interactions:stop":function(t){var e=t.interaction;e.offset.total.x=0,e.offset.total.y=0,e.offset.pending.x=0,e.offset.pending.y=0}}},nn=Hn,Kn=function(){function t(e){k(this,t),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=e}return D(t,[{key:"start",value:function(e){var n=this.interaction,r=Ae(n);if(!r||!r.enabled)return!1;var i=n.coords.velocity.client,o=ce(i.x,i.y),a=this.modification||(this.modification=new at(n));if(a.copyFrom(n.modification),this.t0=n._now(),this.allowResume=r.allowResume,this.v0=o,this.currentOffset={x:0,y:0},this.startCoords=n.coords.cur.page,this.modifierArg=a.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-n.coords.cur.timeStamp<50&&o>r.minSpeed&&o>r.endSpeed)this.startInertia();else{if(a.result=a.setAll(this.modifierArg),!a.result.changed)return!1;this.startSmoothEnd()}return n.modification.result.rect=null,n.offsetBy(this.targetOffset),n._doPhase({interaction:n,event:e,phase:"inertiastart"}),n.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),n.modification.result.rect=null,this.active=!0,n.simulation=this,!0}},{key:"startInertia",value:function(){var e=this,n=this.interaction.coords.velocity.client,r=Ae(this.interaction),i=r.resistance,o=-Math.log(r.endSpeed/this.v0)/i;this.targetOffset={x:(n.x-o)/i,y:(n.y-o)/i},this.te=o,this.lambda_v0=i/this.v0,this.one_ve_v0=1-r.endSpeed/this.v0;var a=this.modification,s=this.modifierArg;s.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},a.result=a.setAll(s),a.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+a.result.delta.x,y:this.targetOffset.y+a.result.delta.y}),this.onNextFrame(function(){return e.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var e=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return e.smoothEndTick()})}},{key:"onNextFrame",value:function(e){var n=this;this.timeout=V.request(function(){n.active&&e()})}},{key:"inertiaTick",value:function(){var e,n,r,i,o,a,s,c=this,l=this.interaction,u=Ae(l).resistance,p=(l._now()-this.t0)/1e3;if(p=0;g--){var T=m[g];if(T.selector===u&&T.context===p){for(var _=T.listeners,w=_.length-1;w>=0;w--){var S=_[w];if(S.func===v&&Re(S.options,y)){_.splice(w,1),_.length||(m.splice(g,1),s(p,f,c),s(p,f,l,!0)),b=!0;break}}if(b)break}}},delegateListener:c,delegateUseCapture:l,delegatedEvents:r,documents:i,targets:n,supportsOptions:!1,supportsPassive:!1};function a(u,p,f,v){if(u.addEventListener){var h=he(v),g=pe(n,function(y){return y.eventTarget===u});g||(g={eventTarget:u,events:{}},n.push(g)),g.events[p]||(g.events[p]=[]),pe(g.events[p],function(y){return y.func===f&&Re(y.options,h)})||(u.addEventListener(p,f,o.supportsOptions?h:h.capture),g.events[p].push({func:f,options:h}))}}function s(u,p,f,v){if(u.addEventListener&&u.removeEventListener){var h=le(n,function(M){return M.eventTarget===u}),g=n[h];if(g&&g.events)if(p!=="all"){var y=!1,m=g.events[p];if(m){if(f==="all"){for(var b=m.length-1;b>=0;b--){var T=m[b];s(u,p,T.func,T.options)}return}for(var _=he(v),w=0;w=2)continue;if(!i.interacting()&&e===i.pointerType)return i}return null}};function cn(t,e){return t.pointers.some(function(n){return n.id===e})}var er=ut,lt=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function un(t,e){return function(n){var r=e.interactions.list,i=At(n),o=Rt(n),a=o[0],s=o[1],c=[];if(/^touch/.test(n.type)){e.prevTouchTime=e.now();for(var l=0,u=n.changedTouches;l=0;r--){var i=e.interactions.list[r];i.interactable===n&&(i.stop(),e.fire("interactions:destroy",{interaction:i}),i.destroy(),e.interactions.list.length>2&&e.interactions.list.splice(r,1))}}},onDocSignal:pt,doOnInteractions:un,methodNames:lt},nr=tr,G=function(t){return t[t.On=0]="On",t[t.Off=1]="Off",t}(G||{}),rr=function(){function t(e,n,r,i){k(this,t),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new sn,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=n.actions,this.target=e,this._context=n.context||r,this._win=F(Pt(e)?this._context:e),this._doc=this._win.document,this._scopeEvents=i,this.set(n)}return D(t,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(e,n){return d.func(n.onstart)&&this.on("".concat(e,"start"),n.onstart),d.func(n.onmove)&&this.on("".concat(e,"move"),n.onmove),d.func(n.onend)&&this.on("".concat(e,"end"),n.onend),d.func(n.oninertiastart)&&this.on("".concat(e,"inertiastart"),n.oninertiastart),this}},{key:"updatePerActionListeners",value:function(e,n,r){var i,o=this,a=(i=this._actions.map[e])==null?void 0:i.filterEventType,s=function(c){return(a==null||a(c))&&Me(c,o._actions)};(d.array(n)||d.object(n))&&this._onOff(G.Off,e,n,void 0,s),(d.array(r)||d.object(r))&&this._onOff(G.On,e,r,void 0,s)}},{key:"setPerAction",value:function(e,n){var r=this._defaults;for(var i in n){var o=i,a=this.options[e],s=n[o];o==="listeners"&&this.updatePerActionListeners(e,a.listeners,s),d.array(s)?a[o]=jt(s):d.plainObject(s)?(a[o]=x(a[o]||{},ne(s)),d.object(r.perAction[o])&&"enabled"in r.perAction[o]&&(a[o].enabled=s.enabled!==!1)):d.bool(s)&&d.object(r.perAction[o])?a[o].enabled=s:a[o]=s}}},{key:"getRect",value:function(e){return e=e||(d.element(this.target)?this.target:null),d.string(this.target)&&(e=e||this._context.querySelector(this.target)),Ge(e)}},{key:"rectChecker",value:function(e){var n=this;return d.func(e)?(this.getRect=function(r){var i=x({},e.apply(n,r));return"width"in i||(i.width=i.right-i.left,i.height=i.bottom-i.top),i},this):e===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(e,n){if(Pt(n)||d.object(n)){for(var r in this.options[e]=n,this._actions.map)this.options[r][e]=n;return this}return this.options[e]}},{key:"origin",value:function(e){return this._backCompatOption("origin",e)}},{key:"deltaSource",value:function(e){return e==="page"||e==="client"?(this.options.deltaSource=e,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var e=this.target;return d.string(e)?Array.from(this._context.querySelectorAll(e)):d.func(e)&&e.getAllElements?e.getAllElements():d.element(e)?[e]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(e){return this._context===e.ownerDocument||K(this._context,e)}},{key:"testIgnoreAllow",value:function(e,n,r){return!this.testIgnore(e.ignoreFrom,n,r)&&this.testAllow(e.allowFrom,n,r)}},{key:"testAllow",value:function(e,n,r){return!e||!!d.element(r)&&(d.string(e)?Ve(r,e,n):!!d.element(e)&&K(e,r))}},{key:"testIgnore",value:function(e,n,r){return!(!e||!d.element(r))&&(d.string(e)?Ve(r,e,n):!!d.element(e)&&K(e,r))}},{key:"fire",value:function(e){return this.events.fire(e),this}},{key:"_onOff",value:function(e,n,r,i,o){d.object(n)&&!d.array(n)&&(i=r,r=null);var a=$(n,r,o);for(var s in a){s==="wheel"&&(s=C.wheelEvent);for(var c=0,l=a[s];c=0;r--){var i=n[r],o=i.selector,a=i.context,s=i.listeners;o===this.target&&a===this._context&&n.splice(r,1);for(var c=s.length-1;c>=0;c--)this._scopeEvents.removeDelegate(this.target,this._context,e,s[c][0],s[c][1])}else this._scopeEvents.remove(this.target,"all")}}]),t}(),ir=function(){function t(e){var n=this;k(this,t),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=e,e.addListeners({"interactable:unset":function(r){var i=r.interactable,o=i.target,a=d.string(o)?n.selectorMap[o]:o[n.scope.id],s=le(a,function(c){return c===i});a.splice(s,1)}})}return D(t,[{key:"new",value:function(e,n){n=x(n||{},{actions:this.scope.actions});var r=new this.scope.Interactable(e,n,this.scope.document,this.scope.events);return this.scope.addDocument(r._doc),this.list.push(r),d.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(r)):(r.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(r)),this.scope.fire("interactable:new",{target:e,options:n,interactable:r,win:this.scope._win}),r}},{key:"getExisting",value:function(e,n){var r=n&&n.context||this.scope.document,i=d.string(e),o=i?this.selectorMap[e]:e[this.scope.id];if(o)return pe(o,function(a){return a._context===r&&(i||a.inContext(e))})}},{key:"forEachMatch",value:function(e,n){for(var r=0,i=this.list;rMath.abs(l.y),c.coords,c.rect),x(r,c.coords)),c.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function pr(t,e,n){var r=t.startCoords,i=t.edgeSign;e?n.y=r.y+(n.x-r.x)*i.y:n.x=r.x+(n.y-r.y)*i.x}function fr(t,e,n,r){var i=t.startRect,o=t.startCoords,a=t.ratio,s=t.edgeSign;if(e){var c=r.width/a;n.y=o.y+(c-i.height)*s.y}else{var l=r.height*a;n.x=o.x+(l-i.width)*s.x}}var dr=W(lr,"aspectRatio"),dn=function(){};dn._defaults={};var Ce=dn;function Q(t,e,n){return d.func(t)?ae(t,e.interactable,e.element,[n.x,n.y,e]):ae(t,e.interactable,e.element)}var je={start:function(t){var e=t.rect,n=t.startOffset,r=t.state,i=t.interaction,o=t.pageCoords,a=r.options,s=a.elementRect,c=x({left:0,top:0,right:0,bottom:0},a.offset||{});if(e&&s){var l=Q(a.restriction,i,o);if(l){var u=l.right-l.left-e.width,p=l.bottom-l.top-e.height;u<0&&(c.left+=u,c.right+=u),p<0&&(c.top+=p,c.bottom+=p)}c.left+=n.left-e.width*s.left,c.top+=n.top-e.height*s.top,c.right+=n.right-e.width*(1-s.right),c.bottom+=n.bottom-e.height*(1-s.bottom)}r.offset=c},set:function(t){var e=t.coords,n=t.interaction,r=t.state,i=r.options,o=r.offset,a=Q(i.restriction,n,e);if(a){var s=function(c){return!c||"left"in c&&"top"in c||((c=x({},c)).left=c.x||0,c.top=c.y||0,c.right=c.right||c.left+c.width,c.bottom=c.bottom||c.top+c.height),c}(a);e.x=Math.max(Math.min(s.right-o.right,e.x),s.left+o.left),e.y=Math.max(Math.min(s.bottom-o.bottom,e.y),s.top+o.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},hr=W(je,"restrict"),hn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},vn={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function gn(t,e){for(var n=0,r=["top","left","bottom","right"];n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var n,r=U(t);if(e){var i=U(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xe(o)}(this,n)}}function we(){return we=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(o,a){for(;!Object.prototype.hasOwnProperty.call(o,a)&&(o=U(o))!==null;);return o}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},we.apply(this,arguments)}function vt(t){var e=function(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(t,"string");return typeof e=="symbol"?e:e+""}var gt=function(t){return!(!t||!t.Window)&&t instanceof t.Window},mt=void 0,H=void 0;function yt(t){mt=t;var e=t.document.createTextNode("");e.ownerDocument!==t.document&&typeof t.wrap=="function"&&t.wrap(e)===e&&(t=t.wrap(t)),H=t}function F(t){return gt(t)?t:(t.ownerDocument||t).defaultView||H.window}typeof window<"u"&&window&&yt(window);var Ee=function(t){return!!t&&Z(t)==="object"},bt=function(t){return typeof t=="function"},d={window:function(t){return t===H||gt(t)},docFrag:function(t){return Ee(t)&&t.nodeType===11},object:Ee,func:bt,number:function(t){return typeof t=="number"},bool:function(t){return typeof t=="boolean"},string:function(t){return typeof t=="string"},element:function(t){if(!t||Z(t)!=="object")return!1;var e=F(t)||H;return/object|function/.test(typeof Element>"u"?"undefined":Z(Element))?t instanceof Element||t instanceof e.Element:t.nodeType===1&&typeof t.nodeName=="string"},plainObject:function(t){return Ee(t)&&!!t.constructor&&/function Object\b/.test(t.constructor.toString())},array:function(t){return Ee(t)&&t.length!==void 0&&bt(t.splice)}};function qe(t){var e=t.interaction;if(e.prepared.name==="drag"){var n=e.prepared.axis;n==="x"?(e.coords.cur.page.y=e.coords.start.page.y,e.coords.cur.client.y=e.coords.start.client.y,e.coords.velocity.client.y=0,e.coords.velocity.page.y=0):n==="y"&&(e.coords.cur.page.x=e.coords.start.page.x,e.coords.cur.client.x=e.coords.start.client.x,e.coords.velocity.client.x=0,e.coords.velocity.page.x=0)}}function xt(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="drag"){var r=n.prepared.axis;if(r==="x"||r==="y"){var i=r==="x"?"y":"x";e.page[i]=n.coords.start.page[i],e.client[i]=n.coords.start.client[i],e.delta[i]=0}}}var Te={id:"actions/drag",install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.draggable=Te.draggable,e.map.drag=Te,e.methodDict.drag="draggable",r.actions.drag=Te.defaults},listeners:{"interactions:before-action-move":qe,"interactions:action-resume":qe,"interactions:action-move":xt,"auto-start:check":function(t){var e=t.interaction,n=t.interactable,r=t.buttons,i=n.options.drag;if(i&&i.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||r&n.options.drag.mouseButtons))return t.action={name:"drag",axis:i.lockAxis==="start"?i.startAxis:i.lockAxis},!1}},draggable:function(t){return d.object(t)?(this.options.drag.enabled=t.enabled!==!1,this.setPerAction("drag",t),this.setOnEvents("drag",t),/^(xy|x|y|start)$/.test(t.lockAxis)&&(this.options.drag.lockAxis=t.lockAxis),/^(xy|x|y)$/.test(t.startAxis)&&(this.options.drag.startAxis=t.startAxis),this):d.bool(t)?(this.options.drag.enabled=t,this):this.options.drag},beforeMove:qe,move:xt,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(t){return t.search("drag")===0}},wt=Te,A={init:function(t){var e=t;A.document=e.document,A.DocumentFragment=e.DocumentFragment||ee,A.SVGElement=e.SVGElement||ee,A.SVGSVGElement=e.SVGSVGElement||ee,A.SVGElementInstance=e.SVGElementInstance||ee,A.Element=e.Element||ee,A.HTMLElement=e.HTMLElement||A.Element,A.Event=e.Event,A.Touch=e.Touch||ee,A.PointerEvent=e.PointerEvent||e.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function ee(){}var O=A,R={init:function(t){var e=O.Element,n=t.navigator||{};R.supportsTouch="ontouchstart"in t||d.func(t.DocumentTouch)&&O.document instanceof t.DocumentTouch,R.supportsPointerEvent=n.pointerEnabled!==!1&&!!O.PointerEvent,R.isIOS=/iP(hone|od|ad)/.test(n.platform),R.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),R.isIe9=/MSIE 9/.test(n.userAgent),R.isOperaMobile=n.appName==="Opera"&&R.supportsTouch&&/Presto/.test(n.userAgent),R.prefixedMatchesSelector="matches"in e.prototype?"matches":"webkitMatchesSelector"in e.prototype?"webkitMatchesSelector":"mozMatchesSelector"in e.prototype?"mozMatchesSelector":"oMatchesSelector"in e.prototype?"oMatchesSelector":"msMatchesSelector",R.pEventTypes=R.supportsPointerEvent?O.PointerEvent===t.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,R.wheelEvent=O.document&&"onmousewheel"in O.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},C=R;function K(t,e){if(t.contains)return t.contains(e);for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function Et(t,e){for(;d.element(t);){if(B(t,e))return t;t=X(t)}return null}function X(t){var e=t.parentNode;if(d.docFrag(e)){for(;(e=e.host)&&d.docFrag(e););return e}return e}function B(t,e){return H!==mt&&(e=e.replace(/\/deep\//g," ")),t[C.prefixedMatchesSelector](e)}var Be=function(t){return t.parentNode||t.host};function Tt(t,e){for(var n,r=[],i=t;(n=Be(i))&&i!==e&&n!==i.ownerDocument;)r.unshift(i),i=n;return r}function Ve(t,e,n){for(;d.element(t);){if(B(t,e))return!0;if((t=X(t))===n)return B(t,e)}return!1}function St(t){return t.correspondingUseElement||t}function We(t){var e=t instanceof O.SVGElement?t.getBoundingClientRect():t.getClientRects()[0];return e&&{left:e.left,right:e.right,top:e.top,bottom:e.bottom,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}function Ge(t){var e,n=We(t);if(!C.isIOS7&&n){var r={x:(e=(e=F(t))||H).scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop};n.left+=r.x,n.right+=r.x,n.top+=r.y,n.bottom+=r.y}return n}function _t(t){for(var e=[];t;)e.push(t),t=X(t);return e}function Pt(t){return!!d.string(t)&&(O.document.querySelector(t),!0)}function x(t,e){for(var n in e)t[n]=e[n];return t}function Ot(t,e,n){return t==="parent"?X(n):t==="self"?e.getRect(n):Et(n,t)}function ae(t,e,n,r){var i=t;return d.string(i)?i=Ot(i,e,n):d.func(i)&&(i=i.apply(void 0,r)),d.element(i)&&(i=Ge(i)),i}function Se(t){return t&&{x:"x"in t?t.x:t.left,y:"y"in t?t.y:t.top}}function Ne(t){return!t||"x"in t&&"y"in t||((t=x({},t)).x=t.left||0,t.y=t.top||0,t.width=t.width||(t.right||0)-t.x,t.height=t.height||(t.bottom||0)-t.y),t}function _e(t,e,n){t.left&&(e.left+=n.x),t.right&&(e.right+=n.x),t.top&&(e.top+=n.y),t.bottom&&(e.bottom+=n.y),e.width=e.right-e.left,e.height=e.bottom-e.top}function se(t,e,n){var r=n&&t.options[n];return Se(ae(r&&r.origin||t.options.origin,t,e,[t&&e]))||{x:0,y:0}}function $(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(c){return!0},r=arguments.length>3?arguments[3]:void 0;if(r=r||{},d.string(t)&&t.search(" ")!==-1&&(t=kt(t)),d.array(t))return t.forEach(function(c){return $(c,e,n,r)}),r;if(d.object(t)&&(e=t,t=""),d.func(e)&&n(t))r[t]=r[t]||[],r[t].push(e);else if(d.array(e))for(var i=0,o=e;i1?zt(e):e[0];Mt(r,t.page),function(i,o){o=o||{},C.isOperaMobile&&It(i)?ke("screen",i,o):ke("client",i,o)}(r,t.client),t.timeStamp=n}function Ue(t){var e=[];return d.array(t)?(e[0]=t[0],e[1]=t[1]):t.type==="touchend"?t.touches.length===1?(e[0]=t.touches[0],e[1]=t.changedTouches[0]):t.touches.length===0&&(e[0]=t.changedTouches[0],e[1]=t.changedTouches[1]):(e[0]=t.touches[0],e[1]=t.touches[1]),e}function zt(t){for(var e={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n=(parseInt(F(b).getComputedStyle(b).zIndex,10)||0)&&(y=_);else y=_}else y=_}return y}(a);return r.activeDrops[h]||null}function Qe(t,e,n){var r=t.dropState,i={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return n.type==="dragstart"&&(i.activate=new te(r,n,"dropactivate"),i.activate.target=null,i.activate.dropzone=null),n.type==="dragend"&&(i.deactivate=new te(r,n,"dropdeactivate"),i.deactivate.target=null,i.deactivate.dropzone=null),r.rejected||(r.cur.element!==r.prev.element&&(r.prev.dropzone&&(i.leave=new te(r,n,"dragleave"),n.dragLeave=i.leave.target=r.prev.element,n.prevDropzone=i.leave.dropzone=r.prev.dropzone),r.cur.dropzone&&(i.enter=new te(r,n,"dragenter"),n.dragEnter=r.cur.element,n.dropzone=r.cur.dropzone)),n.type==="dragend"&&r.cur.dropzone&&(i.drop=new te(r,n,"drop"),n.dropzone=r.cur.dropzone,n.relatedTarget=r.cur.element),n.type==="dragmove"&&r.cur.dropzone&&(i.move=new te(r,n,"dropmove"),n.dropzone=r.cur.dropzone)),i}function Ze(t,e){var n=t.dropState,r=n.activeDrops,i=n.cur,o=n.prev;e.leave&&o.dropzone.fire(e.leave),e.enter&&i.dropzone.fire(e.enter),e.move&&i.dropzone.fire(e.move),e.drop&&i.dropzone.fire(e.drop),e.deactivate&&Ft(r,e.deactivate),n.prev.dropzone=i.dropzone,n.prev.element=i.element}function Yt(t,e){var n=t.interaction,r=t.iEvent,i=t.event;if(r.type==="dragmove"||r.type==="dragend"){var o=n.dropState;e.dynamicDrop&&(o.activeDrops=Je(e,n.element));var a=r,s=Xt(n,a,i);o.rejected=o.rejected&&!!s&&s.dropzone===o.cur.dropzone&&s.element===o.cur.element,o.cur.dropzone=s&&s.dropzone,o.cur.element=s&&s.element,o.events=Qe(n,0,a)}}var Lt={id:"actions/drop",install:function(t){var e=t.actions,n=t.interactStatic,r=t.Interactable,i=t.defaults;t.usePlugin(wt),r.prototype.dropzone=function(o){return function(a,s){if(d.object(s)){if(a.options.drop.enabled=s.enabled!==!1,s.listeners){var c=$(s.listeners),l=Object.keys(c).reduce(function(p,f){return p[/^(enter|leave)/.test(f)?"drag".concat(f):/^(activate|deactivate|move)/.test(f)?"drop".concat(f):f]=c[f],p},{}),u=a.options.drop.listeners;u&&a.off(u),a.on(l),a.options.drop.listeners=l}return d.func(s.ondrop)&&a.on("drop",s.ondrop),d.func(s.ondropactivate)&&a.on("dropactivate",s.ondropactivate),d.func(s.ondropdeactivate)&&a.on("dropdeactivate",s.ondropdeactivate),d.func(s.ondragenter)&&a.on("dragenter",s.ondragenter),d.func(s.ondragleave)&&a.on("dragleave",s.ondragleave),d.func(s.ondropmove)&&a.on("dropmove",s.ondropmove),/^(pointer|center)$/.test(s.overlap)?a.options.drop.overlap=s.overlap:d.number(s.overlap)&&(a.options.drop.overlap=Math.max(Math.min(1,s.overlap),0)),"accept"in s&&(a.options.drop.accept=s.accept),"checker"in s&&(a.options.drop.checker=s.checker),a}return d.bool(s)?(a.options.drop.enabled=s,a):a.options.drop}(this,o)},r.prototype.dropCheck=function(o,a,s,c,l,u){return function(p,f,v,h,g,y,m){var b=!1;if(!(m=m||p.getRect(y)))return!!p.options.drop.checker&&p.options.drop.checker(f,v,b,p,y,h,g);var T=p.options.drop.overlap;if(T==="pointer"){var _=se(h,g,"drag"),w=Mt(f);w.x+=_.x,w.y+=_.y;var S=w.x>m.left&&w.xm.top&&w.y=m.left&&z<=m.right&&j>=m.top&&j<=m.bottom}return P&&d.number(T)&&(b=Math.max(0,Math.min(m.right,P.right)-Math.max(m.left,P.left))*Math.max(0,Math.min(m.bottom,P.bottom)-Math.max(m.top,P.top))/(P.width*P.height)>=T),p.options.drop.checker&&(b=p.options.drop.checker(f,v,b,p,y,h,g)),b}(this,o,a,s,c,l,u)},n.dynamicDrop=function(o){return d.bool(o)?(t.dynamicDrop=o,n):t.dynamicDrop},x(e.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),e.methodDict.drop="dropzone",t.dynamicDrop=!1,i.actions.drop=Lt.defaults},listeners:{"interactions:before-action-start":function(t){var e=t.interaction;e.prepared.name==="drag"&&(e.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(t,e){var n=t.interaction,r=(t.event,t.iEvent);if(n.prepared.name==="drag"){var i=n.dropState;i.activeDrops=[],i.events={},i.activeDrops=Je(e,n.element),i.events=Qe(n,0,r),i.events.activate&&(Ft(i.activeDrops,i.events.activate),e.fire("actions/drop:start",{interaction:n,dragEvent:r}))}},"interactions:action-move":Yt,"interactions:after-action-move":function(t,e){var n=t.interaction,r=t.iEvent;if(n.prepared.name==="drag"){var i=n.dropState;Ze(n,i.events),e.fire("actions/drop:move",{interaction:n,dragEvent:r}),i.events={}}},"interactions:action-end":function(t,e){if(t.interaction.prepared.name==="drag"){var n=t.interaction,r=t.iEvent;Yt(t,e),Ze(n,n.dropState.events),e.fire("actions/drop:end",{interaction:n,dragEvent:r})}},"interactions:stop":function(t){var e=t.interaction;if(e.prepared.name==="drag"){var n=e.dropState;n&&(n.activeDrops=null,n.events=null,n.cur.dropzone=null,n.cur.element=null,n.prev.dropzone=null,n.prev.element=null,n.rejected=!1)}}},getActiveDrops:Je,getDrop:Xt,getDropEvents:Qe,fireDropEvents:Ze,filterEventType:function(t){return t.search("drag")===0||t.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},Sn=Lt;function et(t){var e=t.interaction,n=t.iEvent,r=t.phase;if(e.prepared.name==="gesture"){var i=e.pointers.map(function(l){return l.pointer}),o=r==="start",a=r==="end",s=e.interactable.options.deltaSource;if(n.touches=[i[0],i[1]],o)n.distance=Ke(i,s),n.box=He(i),n.scale=1,n.ds=0,n.angle=$e(i,s),n.da=0,e.gesture.startDistance=n.distance,e.gesture.startAngle=n.angle;else if(a||e.pointers.length<2){var c=e.prevEvent;n.distance=c.distance,n.box=c.box,n.scale=c.scale,n.ds=0,n.angle=c.angle,n.da=0}else n.distance=Ke(i,s),n.box=He(i),n.scale=n.distance/e.gesture.startDistance,n.angle=$e(i,s),n.ds=n.scale-e.gesture.scale,n.da=n.angle-e.gesture.angle;e.gesture.distance=n.distance,e.gesture.angle=n.angle,d.number(n.scale)&&n.scale!==1/0&&!isNaN(n.scale)&&(e.gesture.scale=n.scale)}}var tt={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.gesturable=function(i){return d.object(i)?(this.options.gesture.enabled=i.enabled!==!1,this.setPerAction("gesture",i),this.setOnEvents("gesture",i),this):d.bool(i)?(this.options.gesture.enabled=i,this):this.options.gesture},e.map.gesture=tt,e.methodDict.gesture="gesturable",r.actions.gesture=tt.defaults},listeners:{"interactions:action-start":et,"interactions:action-move":et,"interactions:action-end":et,"interactions:new":function(t){t.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(t){if(!(t.interaction.pointers.length<2)){var e=t.interactable.options.gesture;if(e&&e.enabled)return t.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(t){return t.search("gesture")===0}},_n=tt;function Pn(t,e,n,r,i,o,a){if(!e)return!1;if(e===!0){var s=d.number(o.width)?o.width:o.right-o.left,c=d.number(o.height)?o.height:o.bottom-o.top;if(a=Math.min(a,Math.abs((t==="left"||t==="right"?s:c)/2)),s<0&&(t==="left"?t="right":t==="right"&&(t="left")),c<0&&(t==="top"?t="bottom":t==="bottom"&&(t="top")),t==="left"){var l=s>=0?o.left:o.right;return n.x=0?o.top:o.bottom;return n.y(s>=0?o.right:o.left)-a;if(t==="bottom")return n.y>(c>=0?o.bottom:o.top)-a}return!!d.element(r)&&(d.element(e)?e===r:Ve(r,e,i))}function qt(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="resize"&&n.resizeAxes){var r=e;n.interactable.options.resize.square?(n.resizeAxes==="y"?r.delta.x=r.delta.y:r.delta.y=r.delta.x,r.axes="xy"):(r.axes=n.resizeAxes,n.resizeAxes==="x"?r.delta.y=0:n.resizeAxes==="y"&&(r.delta.x=0))}}var Y,J,L={id:"actions/resize",before:["actions/drag"],install:function(t){var e=t.actions,n=t.browser,r=t.Interactable,i=t.defaults;L.cursors=function(o){return o.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(n),L.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,r.prototype.resizable=function(o){return function(a,s,c){return d.object(s)?(a.options.resize.enabled=s.enabled!==!1,a.setPerAction("resize",s),a.setOnEvents("resize",s),d.string(s.axis)&&/^x$|^y$|^xy$/.test(s.axis)?a.options.resize.axis=s.axis:s.axis===null&&(a.options.resize.axis=c.defaults.actions.resize.axis),d.bool(s.preserveAspectRatio)?a.options.resize.preserveAspectRatio=s.preserveAspectRatio:d.bool(s.square)&&(a.options.resize.square=s.square),a):d.bool(s)?(a.options.resize.enabled=s,a):a.options.resize}(this,o,t)},e.map.resize=L,e.methodDict.resize="resizable",i.actions.resize=L.defaults},listeners:{"interactions:new":function(t){t.interaction.resizeAxes="xy"},"interactions:action-start":function(t){(function(e){var n=e.iEvent,r=e.interaction;if(r.prepared.name==="resize"&&r.prepared.edges){var i=n,o=r.rect;r._rects={start:x({},o),corrected:x({},o),previous:x({},o),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},i.edges=r.prepared.edges,i.rect=r._rects.corrected,i.deltaRect=r._rects.delta}})(t),qt(t)},"interactions:action-move":function(t){(function(e){var n=e.iEvent,r=e.interaction;if(r.prepared.name==="resize"&&r.prepared.edges){var i=n,o=r.interactable.options.resize.invert,a=o==="reposition"||o==="negate",s=r.rect,c=r._rects,l=c.start,u=c.corrected,p=c.delta,f=c.previous;if(x(f,u),a){if(x(u,s),o==="reposition"){if(u.top>u.bottom){var v=u.top;u.top=u.bottom,u.bottom=v}if(u.left>u.right){var h=u.left;u.left=u.right,u.right=h}}}else u.top=Math.min(s.top,l.bottom),u.bottom=Math.max(s.bottom,l.top),u.left=Math.min(s.left,l.right),u.right=Math.max(s.right,l.left);for(var g in u.width=u.right-u.left,u.height=u.bottom-u.top,u)p[g]=u[g]-f[g];i.edges=r.prepared.edges,i.rect=u,i.deltaRect=p}})(t),qt(t)},"interactions:action-end":function(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="resize"&&n.prepared.edges){var r=e;r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}},"auto-start:check":function(t){var e=t.interaction,n=t.interactable,r=t.element,i=t.rect,o=t.buttons;if(i){var a=x({},e.coords.cur.page),s=n.options.resize;if(s&&s.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||o&s.mouseButtons)){if(d.object(s.edges)){var c={left:!1,right:!1,top:!1,bottom:!1};for(var l in c)c[l]=Pn(l,s.edges[l],a,e._latestPointer.eventTarget,r,i,s.margin||L.defaultMargin);c.left=c.left&&!c.right,c.top=c.top&&!c.bottom,(c.left||c.right||c.top||c.bottom)&&(t.action={name:"resize",edges:c})}else{var u=s.axis!=="y"&&a.x>i.right-L.defaultMargin,p=s.axis!=="x"&&a.y>i.bottom-L.defaultMargin;(u||p)&&(t.action={name:"resize",axes:(u?"x":"")+(p?"y":"")})}return!t.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(t){var e=t.edges,n=t.axis,r=t.name,i=L.cursors,o=null;if(n)o=i[r+n];else if(e){for(var a="",s=0,c=["top","bottom","left","right"];s=1){var l={x:E.x*c,y:E.y*c};if(l.x||l.y){var u=Wt(o);d.window(o)?o.scrollBy(l.x,l.y):o&&(o.scrollLeft+=l.x,o.scrollTop+=l.y);var p=Wt(o),f={x:p.x-u.x,y:p.y-u.y};(f.x||f.y)&&e.fire({type:"autoscroll",target:n,interactable:e,delta:f,interaction:t,container:o})}E.prevTime=a}E.isScrolling&&(V.cancel(E.i),E.i=V.request(E.scroll))},check:function(t,e){var n;return(n=t.options[e].autoScroll)==null?void 0:n.enabled},onInteractionMove:function(t){var e=t.interaction,n=t.pointer;if(e.interacting()&&E.check(e.interactable,e.prepared.name))if(e.simulation)E.x=E.y=0;else{var r,i,o,a,s=e.interactable,c=e.element,l=e.prepared.name,u=s.options[l].autoScroll,p=Vt(u.container,s,c);if(d.window(p))a=n.clientXp.innerWidth-E.margin,o=n.clientY>p.innerHeight-E.margin;else{var f=We(p);a=n.clientXf.right-E.margin,o=n.clientY>f.bottom-E.margin}E.x=i?1:a?-1:0,E.y=o?1:r?-1:0,E.isScrolling||(E.margin=u.margin,E.speed=u.speed,E.start(e))}}};function Vt(t,e,n){return(d.string(t)?Ot(t,e,n):t)||F(n)}function Wt(t){return d.window(t)&&(t=window.document.body),{x:t.scrollLeft,y:t.scrollTop}}var Dn={id:"auto-scroll",install:function(t){var e=t.defaults,n=t.actions;t.autoScroll=E,E.now=function(){return t.now()},n.phaselessTypes.autoscroll=!0,e.perAction.autoScroll=E.defaults},listeners:{"interactions:new":function(t){t.interaction.autoScroll=null},"interactions:destroy":function(t){t.interaction.autoScroll=null,E.stop(),E.interaction&&(E.interaction=null)},"interactions:stop":E.stop,"interactions:action-move":function(t){return E.onInteractionMove(t)}}},In=Dn;function fe(t,e){var n=!1;return function(){return n||(H.console.warn(e),n=!0),t.apply(this,arguments)}}function nt(t,e){return t.name=e.name,t.axis=e.axis,t.edges=e.edges,t}function Mn(t){return d.bool(t)?(this.options.styleCursor=t,this):t===null?(delete this.options.styleCursor,this):this.options.styleCursor}function zn(t){return d.func(t)?(this.options.actionChecker=t,this):t===null?(delete this.options.actionChecker,this):this.options.actionChecker}var An={id:"auto-start/interactableMethods",install:function(t){var e=t.Interactable;e.prototype.getAction=function(n,r,i,o){var a=function(s,c,l,u,p){var f=s.getRect(u),v=c.buttons||{0:1,1:4,3:8,4:16}[c.button],h={action:null,interactable:s,interaction:l,element:u,rect:f,buttons:v};return p.fire("auto-start:check",h),h.action}(this,r,i,o,t);return this.options.actionChecker?this.options.actionChecker(n,r,a,this,o,i):a},e.prototype.ignoreFrom=fe(function(n){return this._backCompatOption("ignoreFrom",n)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),e.prototype.allowFrom=fe(function(n){return this._backCompatOption("allowFrom",n)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),e.prototype.actionChecker=zn,e.prototype.styleCursor=Mn}};function Gt(t,e,n,r,i){return e.testIgnoreAllow(e.options[t.name],n,r)&&e.options[t.name].enabled&&Ie(e,n,t,i)?t:null}function Rn(t,e,n,r,i,o,a){for(var s=0,c=r.length;s=s||v.interactable===t&&((l+=h===n.name?1:0)>=o||v.element===e&&(u++,h===n.name&&u>=a))))return!1}return s>0}function Ht(t,e){return d.number(t)?(e.autoStart.maxInteractions=t,this):e.autoStart.maxInteractions}function rt(t,e,n){var r=n.autoStart.cursorElement;r&&r!==t&&(r.style.cursor=""),t.ownerDocument.documentElement.style.cursor=e,t.style.cursor=e,n.autoStart.cursorElement=e?t:null}function Kt(t,e){var n=t.interactable,r=t.element,i=t.prepared;if(t.pointerType==="mouse"&&n&&n.options.styleCursor){var o="";if(i.name){var a=n.options[i.name].cursorChecker;o=d.func(a)?a(i,n,r,t._interacting):e.actions.map[i.name].getCursor(i)}rt(t.element,o||"",e)}else e.autoStart.cursorElement&&rt(e.autoStart.cursorElement,"",e)}var Cn={id:"auto-start/base",before:["actions"],install:function(t){var e=t.interactStatic,n=t.defaults;t.usePlugin(An),n.base.actionChecker=null,n.base.styleCursor=!0,x(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),e.maxInteractions=function(r){return Ht(r,t)},t.autoStart={maxInteractions:1/0,withinInteractionLimit:Ie,cursorElement:null}},listeners:{"interactions:down":function(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget;n.interacting()||Ut(n,Nt(n,r,i,o,e),e)},"interactions:move":function(t,e){(function(n,r){var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget;i.pointerType!=="mouse"||i.pointerIsDown||i.interacting()||Ut(i,Nt(i,o,a,s,r),r)})(t,e),function(n,r){var i=n.interaction;if(i.pointerIsDown&&!i.interacting()&&i.pointerWasMoved&&i.prepared.name){r.fire("autoStart:before-start",n);var o=i.interactable,a=i.prepared.name;a&&o&&(o.options[a].manualStart||!Ie(o,i.element,i.prepared,r)?i.stop():(i.start(i.prepared,o,i.element),Kt(i,r)))}}(t,e)},"interactions:stop":function(t,e){var n=t.interaction,r=n.interactable;r&&r.options.styleCursor&&rt(n.element,"",e)}},maxInteractions:Ht,withinInteractionLimit:Ie,validateAction:Gt},it=Cn,jn={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(t,e){var n=t.interaction,r=t.eventTarget,i=t.dx,o=t.dy;if(n.prepared.name==="drag"){var a=Math.abs(i),s=Math.abs(o),c=n.interactable.options.drag,l=c.startAxis,u=a>s?"x":a0&&(e.autoStartHoldTimer=setTimeout(function(){e.start(e.prepared,e.interactable,e.element)},n))},"interactions:move":function(t){var e=t.interaction,n=t.duplicate;e.autoStartHoldTimer&&e.pointerWasMoved&&!n&&(clearTimeout(e.autoStartHoldTimer),e.autoStartHoldTimer=null)},"autoStart:before-start":function(t){var e=t.interaction;ot(e)>0&&(e.prepared.name=null)}},getHoldDuration:ot},Xn=Fn,Yn={id:"auto-start",install:function(t){t.usePlugin(it),t.usePlugin(Xn),t.usePlugin(jn)}},Ln=function(t){return/^(always|never|auto)$/.test(t)?(this.options.preventDefault=t,this):d.bool(t)?(this.options.preventDefault=t?"always":"never",this):this.options.preventDefault};function qn(t){var e=t.interaction,n=t.event;e.interactable&&e.interactable.checkAndPreventDefault(n)}var $t={id:"core/interactablePreventDefault",install:function(t){var e=t.Interactable;e.prototype.preventDefault=Ln,e.prototype.checkAndPreventDefault=function(n){return function(r,i,o){var a=r.options.preventDefault;if(a!=="never")if(a!=="always"){if(i.events.supportsPassive&&/^touch(start|move)$/.test(o.type)){var s=F(o.target).document,c=i.getDocOptions(s);if(!c||!c.events||c.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(o.type)||d.element(o.target)&&B(o.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||o.preventDefault()}else o.preventDefault()}(this,t,n)},t.interactions.docEvents.push({type:"dragstart",listener:function(n){for(var r=0,i=t.interactions.list;r150)return null;var i=180*Math.atan2(r.prevEvent.velocityY,r.prevEvent.velocityX)/Math.PI;i<0&&(i+=360);var o=112.5<=i&&i<247.5,a=202.5<=i&&i<337.5;return{up:a,down:!a&&22.5<=i&&i<157.5,left:o,right:!o&&(292.5<=i||i<67.5),angle:i,speed:r.prevEvent.speed,velocity:{x:r.prevEvent.velocityX,y:r.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),n}(De);Object.defineProperties(st.prototype,{pageX:{get:function(){return this.page.x},set:function(t){this.page.x=t}},pageY:{get:function(){return this.page.y},set:function(t){this.page.y=t}},clientX:{get:function(){return this.client.x},set:function(t){this.client.x=t}},clientY:{get:function(){return this.client.y},set:function(t){this.client.y=t}},dx:{get:function(){return this.delta.x},set:function(t){this.delta.x=t}},dy:{get:function(){return this.delta.y},set:function(t){this.delta.y=t}},velocityX:{get:function(){return this.velocity.x},set:function(t){this.velocity.x=t}},velocityY:{get:function(){return this.velocity.y},set:function(t){this.velocity.y=t}}});var Vn=D(function t(e,n,r,i,o){k(this,t),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=e,this.pointer=n,this.event=r,this.downTime=i,this.downTarget=o}),Wn=function(t){return t.interactable="",t.element="",t.prepared="",t.pointerIsDown="",t.pointerWasMoved="",t._proxy="",t}({}),Zt=function(t){return t.start="",t.move="",t.end="",t.stop="",t.interacting="",t}({}),Gn=0,Nn=function(){function t(e){var n=this,r=e.pointerType,i=e.scopeFire;k(this,t),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=fe(function(u){this.move(u)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=Gn++,this._scopeFire=i,this.pointerType=r;var o=this;this._proxy={};var a=function(u){Object.defineProperty(n._proxy,u,{get:function(){return o[u]}})};for(var s in Wn)a(s);var c=function(u){Object.defineProperty(n._proxy,u,{value:function(){return o[u].apply(o,arguments)}})};for(var l in Zt)c(l);this._scopeFire("interactions:new",{interaction:this})}return D(t,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(e,n,r){var i=this.updatePointer(e,n,r,!0),o=this.pointers[i];this._scopeFire("interactions:down",{pointer:e,event:n,eventTarget:r,pointerIndex:i,pointerInfo:o,type:"down",interaction:this})}},{key:"start",value:function(e,n,r){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(e.name==="gesture"?2:1)||!n.options[e.name].enabled)&&(nt(this.prepared,e),this.interactable=n,this.element=r,this.rect=n.getRect(r),this.edges=this.prepared.edges?x({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(e,n,r){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(e,n,r,!1);var i,o,a=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(i=this.coords.cur.client.x-this.coords.start.client.x,o=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=ce(i,o)>this.pointerMoveTolerance);var s,c,l,u=this.getPointerIndex(e),p={pointer:e,pointerIndex:u,pointerInfo:this.pointers[u],event:n,type:"move",eventTarget:r,dx:i,dy:o,duplicate:a,interaction:this};a||(s=this.coords.velocity,c=this.coords.delta,l=Math.max(c.timeStamp/1e3,.001),s.page.x=c.page.x/l,s.page.y=c.page.y/l,s.client.x=c.client.x/l,s.client.y=c.client.y/l,s.timeStamp=l),this._scopeFire("interactions:move",p),a||this.simulation||(this.interacting()&&(p.type=null,this.move(p)),this.pointerWasMoved&&Oe(this.coords.prev,this.coords.cur))}},{key:"move",value:function(e){e&&e.event||Dt(this.coords.delta),(e=x({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{})).phase="move",this._doPhase(e)}},{key:"pointerUp",value:function(e,n,r,i){var o=this.getPointerIndex(e);o===-1&&(o=this.updatePointer(e,n,r,!1));var a=/cancel$/i.test(n.type)?"cancel":"up";this._scopeFire("interactions:".concat(a),{pointer:e,pointerIndex:o,pointerInfo:this.pointers[o],event:n,eventTarget:r,type:a,curEventTarget:i,interaction:this}),this.simulation||this.end(n),this.removePointer(e,n)}},{key:"documentBlur",value:function(e){this.end(e),this._scopeFire("interactions:blur",{event:e,type:"blur",interaction:this})}},{key:"end",value:function(e){var n;this._ending=!0,e=e||this._latestPointer.event,this.interacting()&&(n=this._doPhase({event:e,interaction:this,phase:"end"})),this._ending=!1,n===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(e){var n=ue(e);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:le(this.pointers,function(r){return r.id===n})}},{key:"getPointerInfo",value:function(e){return this.pointers[this.getPointerIndex(e)]}},{key:"updatePointer",value:function(e,n,r,i){var o,a,s,c=ue(e),l=this.getPointerIndex(e),u=this.pointers[l];return i=i!==!1&&(i||/(down|start)$/i.test(n.type)),u?u.pointer=e:(u=new Vn(c,e,n,null,null),l=this.pointers.length,this.pointers.push(u)),Tn(this.coords.cur,this.pointers.map(function(p){return p.pointer}),this._now()),o=this.coords.delta,a=this.coords.prev,s=this.coords.cur,o.page.x=s.page.x-a.page.x,o.page.y=s.page.y-a.page.y,o.client.x=s.client.x-a.client.x,o.client.y=s.client.y-a.client.y,o.timeStamp=s.timeStamp-a.timeStamp,i&&(this.pointerIsDown=!0,u.downTime=this.coords.cur.timeStamp,u.downTarget=r,Pe(this.downPointer,e),this.interacting()||(Oe(this.coords.start,this.coords.cur),Oe(this.coords.prev,this.coords.cur),this.downEvent=n,this.pointerWasMoved=!1)),this._updateLatestPointer(e,n,r),this._scopeFire("interactions:update-pointer",{pointer:e,event:n,eventTarget:r,down:i,pointerInfo:u,pointerIndex:l,interaction:this}),l}},{key:"removePointer",value:function(e,n){var r=this.getPointerIndex(e);if(r!==-1){var i=this.pointers[r];this._scopeFire("interactions:remove-pointer",{pointer:e,event:n,eventTarget:null,pointerIndex:r,pointerInfo:i,interaction:this}),this.pointers.splice(r,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(e,n,r){this._latestPointer.pointer=e,this._latestPointer.event=n,this._latestPointer.eventTarget=r}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(e,n,r,i){return new st(this,e,this.prepared.name,n,this.element,r,i)}},{key:"_fireEvent",value:function(e){var n;(n=this.interactable)==null||n.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}},{key:"_doPhase",value:function(e){var n=e.event,r=e.phase,i=e.preEnd,o=e.type,a=this.rect;if(a&&r==="move"&&(_e(this.edges,a,this.coords.delta[this.interactable.options.deltaSource]),a.width=a.right-a.left,a.height=a.bottom-a.top),this._scopeFire("interactions:before-action-".concat(r),e)===!1)return!1;var s=e.iEvent=this._createPreparedEvent(n,r,i,o);return this._scopeFire("interactions:action-".concat(r),e),r==="start"&&(this.prevEvent=s),this._fireEvent(s),this._scopeFire("interactions:after-action-".concat(r),e),!0}},{key:"_now",value:function(){return Date.now()}}]),t}();function en(t){tn(t.interaction)}function tn(t){if(!function(n){return!(!n.offset.pending.x&&!n.offset.pending.y)}(t))return!1;var e=t.offset.pending;return ct(t.coords.cur,e),ct(t.coords.delta,e),_e(t.edges,t.rect,e),e.x=0,e.y=0,!0}function Un(t){var e=t.x,n=t.y;this.offset.pending.x+=e,this.offset.pending.y+=n,this.offset.total.x+=e,this.offset.total.y+=n}function ct(t,e){var n=t.page,r=t.client,i=e.x,o=e.y;n.x+=i,n.y+=o,r.x+=i,r.y+=o}Zt.offsetBy="";var Hn={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(t){t.Interaction.prototype.offsetBy=Un},listeners:{"interactions:new":function(t){t.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(t){return function(e){e.pointerIsDown&&(ct(e.coords.cur,e.offset.total),e.offset.pending.x=0,e.offset.pending.y=0)}(t.interaction)},"interactions:before-action-start":en,"interactions:before-action-move":en,"interactions:before-action-end":function(t){var e=t.interaction;if(tn(e))return e.move({offset:!0}),e.end(),!1},"interactions:stop":function(t){var e=t.interaction;e.offset.total.x=0,e.offset.total.y=0,e.offset.pending.x=0,e.offset.pending.y=0}}},nn=Hn,Kn=function(){function t(e){k(this,t),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=e}return D(t,[{key:"start",value:function(e){var n=this.interaction,r=Ae(n);if(!r||!r.enabled)return!1;var i=n.coords.velocity.client,o=ce(i.x,i.y),a=this.modification||(this.modification=new at(n));if(a.copyFrom(n.modification),this.t0=n._now(),this.allowResume=r.allowResume,this.v0=o,this.currentOffset={x:0,y:0},this.startCoords=n.coords.cur.page,this.modifierArg=a.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-n.coords.cur.timeStamp<50&&o>r.minSpeed&&o>r.endSpeed)this.startInertia();else{if(a.result=a.setAll(this.modifierArg),!a.result.changed)return!1;this.startSmoothEnd()}return n.modification.result.rect=null,n.offsetBy(this.targetOffset),n._doPhase({interaction:n,event:e,phase:"inertiastart"}),n.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),n.modification.result.rect=null,this.active=!0,n.simulation=this,!0}},{key:"startInertia",value:function(){var e=this,n=this.interaction.coords.velocity.client,r=Ae(this.interaction),i=r.resistance,o=-Math.log(r.endSpeed/this.v0)/i;this.targetOffset={x:(n.x-o)/i,y:(n.y-o)/i},this.te=o,this.lambda_v0=i/this.v0,this.one_ve_v0=1-r.endSpeed/this.v0;var a=this.modification,s=this.modifierArg;s.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},a.result=a.setAll(s),a.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+a.result.delta.x,y:this.targetOffset.y+a.result.delta.y}),this.onNextFrame(function(){return e.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var e=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return e.smoothEndTick()})}},{key:"onNextFrame",value:function(e){var n=this;this.timeout=V.request(function(){n.active&&e()})}},{key:"inertiaTick",value:function(){var e,n,r,i,o,a,s,c=this,l=this.interaction,u=Ae(l).resistance,p=(l._now()-this.t0)/1e3;if(p=0;g--){var T=m[g];if(T.selector===u&&T.context===p){for(var _=T.listeners,w=_.length-1;w>=0;w--){var S=_[w];if(S.func===v&&Re(S.options,y)){_.splice(w,1),_.length||(m.splice(g,1),s(p,f,c),s(p,f,l,!0)),b=!0;break}}if(b)break}}},delegateListener:c,delegateUseCapture:l,delegatedEvents:r,documents:i,targets:n,supportsOptions:!1,supportsPassive:!1};function a(u,p,f,v){if(u.addEventListener){var h=he(v),g=pe(n,function(y){return y.eventTarget===u});g||(g={eventTarget:u,events:{}},n.push(g)),g.events[p]||(g.events[p]=[]),pe(g.events[p],function(y){return y.func===f&&Re(y.options,h)})||(u.addEventListener(p,f,o.supportsOptions?h:h.capture),g.events[p].push({func:f,options:h}))}}function s(u,p,f,v){if(u.addEventListener&&u.removeEventListener){var h=le(n,function(M){return M.eventTarget===u}),g=n[h];if(g&&g.events)if(p!=="all"){var y=!1,m=g.events[p];if(m){if(f==="all"){for(var b=m.length-1;b>=0;b--){var T=m[b];s(u,p,T.func,T.options)}return}for(var _=he(v),w=0;w=2)continue;if(!i.interacting()&&e===i.pointerType)return i}return null}};function cn(t,e){return t.pointers.some(function(n){return n.id===e})}var er=ut,lt=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function un(t,e){return function(n){var r=e.interactions.list,i=At(n),o=Rt(n),a=o[0],s=o[1],c=[];if(/^touch/.test(n.type)){e.prevTouchTime=e.now();for(var l=0,u=n.changedTouches;l=0;r--){var i=e.interactions.list[r];i.interactable===n&&(i.stop(),e.fire("interactions:destroy",{interaction:i}),i.destroy(),e.interactions.list.length>2&&e.interactions.list.splice(r,1))}}},onDocSignal:pt,doOnInteractions:un,methodNames:lt},nr=tr,G=function(t){return t[t.On=0]="On",t[t.Off=1]="Off",t}(G||{}),rr=function(){function t(e,n,r,i){k(this,t),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new sn,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=n.actions,this.target=e,this._context=n.context||r,this._win=F(Pt(e)?this._context:e),this._doc=this._win.document,this._scopeEvents=i,this.set(n)}return D(t,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(e,n){return d.func(n.onstart)&&this.on("".concat(e,"start"),n.onstart),d.func(n.onmove)&&this.on("".concat(e,"move"),n.onmove),d.func(n.onend)&&this.on("".concat(e,"end"),n.onend),d.func(n.oninertiastart)&&this.on("".concat(e,"inertiastart"),n.oninertiastart),this}},{key:"updatePerActionListeners",value:function(e,n,r){var i,o=this,a=(i=this._actions.map[e])==null?void 0:i.filterEventType,s=function(c){return(a==null||a(c))&&Me(c,o._actions)};(d.array(n)||d.object(n))&&this._onOff(G.Off,e,n,void 0,s),(d.array(r)||d.object(r))&&this._onOff(G.On,e,r,void 0,s)}},{key:"setPerAction",value:function(e,n){var r=this._defaults;for(var i in n){var o=i,a=this.options[e],s=n[o];o==="listeners"&&this.updatePerActionListeners(e,a.listeners,s),d.array(s)?a[o]=jt(s):d.plainObject(s)?(a[o]=x(a[o]||{},ne(s)),d.object(r.perAction[o])&&"enabled"in r.perAction[o]&&(a[o].enabled=s.enabled!==!1)):d.bool(s)&&d.object(r.perAction[o])?a[o].enabled=s:a[o]=s}}},{key:"getRect",value:function(e){return e=e||(d.element(this.target)?this.target:null),d.string(this.target)&&(e=e||this._context.querySelector(this.target)),Ge(e)}},{key:"rectChecker",value:function(e){var n=this;return d.func(e)?(this.getRect=function(r){var i=x({},e.apply(n,r));return"width"in i||(i.width=i.right-i.left,i.height=i.bottom-i.top),i},this):e===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(e,n){if(Pt(n)||d.object(n)){for(var r in this.options[e]=n,this._actions.map)this.options[r][e]=n;return this}return this.options[e]}},{key:"origin",value:function(e){return this._backCompatOption("origin",e)}},{key:"deltaSource",value:function(e){return e==="page"||e==="client"?(this.options.deltaSource=e,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var e=this.target;return d.string(e)?Array.from(this._context.querySelectorAll(e)):d.func(e)&&e.getAllElements?e.getAllElements():d.element(e)?[e]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(e){return this._context===e.ownerDocument||K(this._context,e)}},{key:"testIgnoreAllow",value:function(e,n,r){return!this.testIgnore(e.ignoreFrom,n,r)&&this.testAllow(e.allowFrom,n,r)}},{key:"testAllow",value:function(e,n,r){return!e||!!d.element(r)&&(d.string(e)?Ve(r,e,n):!!d.element(e)&&K(e,r))}},{key:"testIgnore",value:function(e,n,r){return!(!e||!d.element(r))&&(d.string(e)?Ve(r,e,n):!!d.element(e)&&K(e,r))}},{key:"fire",value:function(e){return this.events.fire(e),this}},{key:"_onOff",value:function(e,n,r,i,o){d.object(n)&&!d.array(n)&&(i=r,r=null);var a=$(n,r,o);for(var s in a){s==="wheel"&&(s=C.wheelEvent);for(var c=0,l=a[s];c=0;r--){var i=n[r],o=i.selector,a=i.context,s=i.listeners;o===this.target&&a===this._context&&n.splice(r,1);for(var c=s.length-1;c>=0;c--)this._scopeEvents.removeDelegate(this.target,this._context,e,s[c][0],s[c][1])}else this._scopeEvents.remove(this.target,"all")}}]),t}(),ir=function(){function t(e){var n=this;k(this,t),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=e,e.addListeners({"interactable:unset":function(r){var i=r.interactable,o=i.target,a=d.string(o)?n.selectorMap[o]:o[n.scope.id],s=le(a,function(c){return c===i});a.splice(s,1)}})}return D(t,[{key:"new",value:function(e,n){n=x(n||{},{actions:this.scope.actions});var r=new this.scope.Interactable(e,n,this.scope.document,this.scope.events);return this.scope.addDocument(r._doc),this.list.push(r),d.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(r)):(r.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(r)),this.scope.fire("interactable:new",{target:e,options:n,interactable:r,win:this.scope._win}),r}},{key:"getExisting",value:function(e,n){var r=n&&n.context||this.scope.document,i=d.string(e),o=i?this.selectorMap[e]:e[this.scope.id];if(o)return pe(o,function(a){return a._context===r&&(i||a.inContext(e))})}},{key:"forEachMatch",value:function(e,n){for(var r=0,i=this.list;rMath.abs(l.y),c.coords,c.rect),x(r,c.coords)),c.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function pr(t,e,n){var r=t.startCoords,i=t.edgeSign;e?n.y=r.y+(n.x-r.x)*i.y:n.x=r.x+(n.y-r.y)*i.x}function fr(t,e,n,r){var i=t.startRect,o=t.startCoords,a=t.ratio,s=t.edgeSign;if(e){var c=r.width/a;n.y=o.y+(c-i.height)*s.y}else{var l=r.height*a;n.x=o.x+(l-i.width)*s.x}}var dr=W(lr,"aspectRatio"),dn=function(){};dn._defaults={};var Ce=dn;function Q(t,e,n){return d.func(t)?ae(t,e.interactable,e.element,[n.x,n.y,e]):ae(t,e.interactable,e.element)}var je={start:function(t){var e=t.rect,n=t.startOffset,r=t.state,i=t.interaction,o=t.pageCoords,a=r.options,s=a.elementRect,c=x({left:0,top:0,right:0,bottom:0},a.offset||{});if(e&&s){var l=Q(a.restriction,i,o);if(l){var u=l.right-l.left-e.width,p=l.bottom-l.top-e.height;u<0&&(c.left+=u,c.right+=u),p<0&&(c.top+=p,c.bottom+=p)}c.left+=n.left-e.width*s.left,c.top+=n.top-e.height*s.top,c.right+=n.right-e.width*(1-s.right),c.bottom+=n.bottom-e.height*(1-s.bottom)}r.offset=c},set:function(t){var e=t.coords,n=t.interaction,r=t.state,i=r.options,o=r.offset,a=Q(i.restriction,n,e);if(a){var s=function(c){return!c||"left"in c&&"top"in c||((c=x({},c)).left=c.x||0,c.top=c.y||0,c.right=c.right||c.left+c.width,c.bottom=c.bottom||c.top+c.height),c}(a);e.x=Math.max(Math.min(s.right-o.right,e.x),s.left+o.left),e.y=Math.max(Math.min(s.bottom-o.bottom,e.y),s.top+o.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},hr=W(je,"restrict"),hn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},vn={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function gn(t,e){for(var n=0,r=["top","left","bottom","right"];n=200){y=r.shift()-105;var p=l.SWAP[y];p!==void 0?o=t.next(r,i+1,p):((u===l.SET_A||u===l.SET_B)&&y===l.SHIFT&&(r[0]=u===l.SET_A?r[0]>95?r[0]-96:r[0]:r[0]<32?r[0]+96:r[0]),o=t.next(r,i+1,u))}else y=t.correctIndex(r,u),o=t.next(r,i+1,u);var g=t.getBar(y),m=y*i;return{result:g+o.result,checksum:m+o.checksum}}}]),t}(v.default);return Y.default=a,Y}var Z={},Ne;function Ft(){if(Ne)return Z;Ne=1,Object.defineProperty(Z,"__esModule",{value:!0});var s=H(),d=function(f){return f.match(new RegExp("^"+s.A_CHARS+"*"))[0].length},v=function(f){return f.match(new RegExp("^"+s.B_CHARS+"*"))[0].length},l=function(f){return f.match(new RegExp("^"+s.C_CHARS+"*"))[0]};function h(c,f){var a=f?s.A_CHARS:s.B_CHARS,e=c.match(new RegExp("^("+a+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(e)return e[1]+"Ì"+_(c.substring(e[1].length));var t=c.match(new RegExp("^"+a+"+"))[0];return t.length===c.length?c:t+String.fromCharCode(f?205:206)+h(c.substring(t.length),!f)}function _(c){var f=l(c),a=f.length;if(a===c.length)return c;c=c.substring(a);var e=d(c)>=v(c);return f+String.fromCharCode(e?206:205)+h(c,e)}return Z.default=function(c){var f=void 0,a=l(c).length;if(a>=2)f=s.C_START_CHAR+_(c);else{var e=d(c)>v(c);f=(e?s.A_START_CHAR:s.B_START_CHAR)+h(c,e)}return f.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(t,n){return"Ë"+n})},Z}var Ge;function Ht(){if(Ge)return W;Ge=1,Object.defineProperty(W,"__esModule",{value:!0});var s=Pe(),d=h(s),v=Ft(),l=h(v);function h(e){return e&&e.__esModule?e:{default:e}}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function f(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(e){f(t,e);function t(n,r){if(_(this,t),/^[\x00-\x7F\xC8-\xD3]+$/.test(n))var i=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,l.default)(n),r));else var i=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r));return c(i)}return t}(d.default);return W.default=a,W}var K={},$e;function Ut(){if($e)return K;$e=1,Object.defineProperty(K,"__esModule",{value:!0});var s=function(){function e(t,n){for(var r=0;ru.width*10?u.width*10:u.fontSize,o.guardHeight=u.height+o.fontSize/2+u.textMargin,o}return s(r,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(u,o){return this.text.substr(u,o)}},{key:"leftEncode",value:function(u,o){return(0,l.default)(u,o)}},{key:"rightText",value:function(u,o){return this.text.substr(u,o)}},{key:"rightEncode",value:function(u,o){return(0,l.default)(u,o)}},{key:"encodeGuarded",value:function(){var u={fontSize:this.fontSize},o={height:this.guardHeight};return[{data:d.SIDE_BIN,options:o},{data:this.leftEncode(),text:this.leftText(),options:u},{data:d.MIDDLE_BIN,options:o},{data:this.rightEncode(),text:this.rightText(),options:u},{data:d.SIDE_BIN,options:o}]}},{key:"encodeFlat",value:function(){var u=[d.SIDE_BIN,this.leftEncode(),d.MIDDLE_BIN,this.rightEncode(),d.SIDE_BIN];return{data:u.join(""),text:this.text}}}]),r}(_.default);return ne.default=t,ne}var Je;function Jt(){if(Je)return re;Je=1,Object.defineProperty(re,"__esModule",{value:!0});var s=function(){function n(r,i){for(var u=0;uu.width*10?o.fontSize=u.width*10:o.fontSize=u.fontSize,o.guardHeight=u.height+o.fontSize/2+u.textMargin,o}return s(r,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==t(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var u="";return u+="101",u+=(0,v.default)(this.data.substr(0,6),"LLLLLL"),u+="01010",u+=(0,v.default)(this.data.substr(6,6),"RRRRRR"),u+="101",{data:u,text:this.text}}},{key:"guardedEncoding",value:function(){var u=[];return this.displayValue&&u.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),u.push({data:"101"+(0,v.default)(this.data[0],"L"),options:{height:this.guardHeight}}),u.push({data:(0,v.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),u.push({data:"01010",options:{height:this.guardHeight}}),u.push({data:(0,v.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),u.push({data:(0,v.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&u.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),u}}]),r}(h.default);function t(n){var r=0,i;for(i=1;i<11;i+=2)r+=parseInt(n[i]);for(i=0;i<11;i+=2)r+=parseInt(n[i])*3;return(10-r%10)%10}return C.default=e,C}var fe={},Ke;function Zt(){if(Ke)return fe;Ke=1,Object.defineProperty(fe,"__esModule",{value:!0});var s=function(){function u(o,y){for(var p=0;pp.width*10?g.fontSize=p.width*10:g.fontSize=p.fontSize,g.guardHeight=p.height+g.fontSize/2+p.textMargin,g}return s(o,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var p="";return p+="101",p+=this.encodeMiddleDigits(),p+="010101",{data:p,text:this.text}}},{key:"guardedEncoding",value:function(){var p=[];return this.displayValue&&p.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),p.push({data:"101",options:{height:this.guardHeight}}),p.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),p.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&p.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),p}},{key:"encodeMiddleDigits",value:function(){var p=this.upcA[0],g=this.upcA[this.upcA.length-1],m=n[parseInt(g)][parseInt(p)];return(0,v.default)(this.middleDigits,m)}}]),o}(h.default);function i(u,o){for(var y=parseInt(u[u.length-1]),p=t[y],g="",m=0,q=0;q=3&&this.number<=131070}}]),e}(v.default);return G.pharmacode=f,G}var $={},vt;function cr(){if(vt)return $;vt=1,Object.defineProperty($,"__esModule",{value:!0}),$.codabar=void 0;var s=function(){function a(e,t){for(var n=0;n0?t.fontSize+t.textMargin:0)+t.marginTop+t.marginBottom}function h(e,t,n){if(n.displayValue&&tt&&(t=e[n].height);return t}function a(e,t,n){var r;if(n)r=n;else if(typeof document<"u")r=document.createElement("canvas").getContext("2d");else return 0;r.font=t.fontOptions+" "+t.fontSize+"px "+t.font;var i=r.measureText(e);if(!i)return 0;var u=i.width;return u}return P.getMaximumHeightOfEncodings=f,P.getEncodingHeight=l,P.getBarcodePadding=h,P.calculateEncodingAttributes=_,P.getTotalWidthOfEncodings=c,P}var mt;function sr(){if(mt)return Se;mt=1,Object.defineProperty(Se,"__esModule",{value:!0});var s=function(){function f(a,e){for(var t=0;t0?(i=0,n.textAlign="left"):e.textAlign=="right"?(i=t.width-1,n.textAlign="right"):(i=t.width/2,n.textAlign="center"),n.fillText(t.text,i,u)}}},{key:"moveCanvasDrawing",value:function(e){var t=this.canvas.getContext("2d");t.translate(e.width,0)}},{key:"restoreCanvas",value:function(){var e=this.canvas.getContext("2d");e.restore()}}]),f}();return Se.default=c,Se}var Re={},St;function yr(){if(St)return Re;St=1,Object.defineProperty(Re,"__esModule",{value:!0});var s=function(){function a(e,t){for(var n=0;n0&&(this.drawRect(y-n.width*o,u,n.width*o,n.height,t),o=0);o>0&&this.drawRect(y-n.width*(o-1),u,n.width*o,n.height,t)}},{key:"drawSVGText",value:function(t,n,r){var i=this.document.createElementNS(c,"text");if(n.displayValue){var u,o;i.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?o=n.fontSize-n.textMargin:o=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||r.barcodePadding>0?(u=0,i.setAttribute("text-anchor","start")):n.textAlign=="right"?(u=r.width-1,i.setAttribute("text-anchor","end")):(u=r.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",u),i.setAttribute("y",o),i.appendChild(this.document.createTextNode(r.text)),t.appendChild(i)}}},{key:"setSvgAttributes",value:function(t,n){var r=this.svg;r.setAttribute("width",t+"px"),r.setAttribute("height",n+"px"),r.setAttribute("x","0px"),r.setAttribute("y","0px"),r.setAttribute("viewBox","0 0 "+t+" "+n),r.setAttribute("xmlns",c),r.setAttribute("version","1.1"),r.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(t,n,r){var i=this.document.createElementNS(c,"g");return i.setAttribute("transform","translate("+t+", "+n+")"),r.appendChild(i),i}},{key:"setGroupOptions",value:function(t,n){t.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(t,n,r,i,u){var o=this.document.createElementNS(c,"rect");return o.setAttribute("x",t),o.setAttribute("y",n),o.setAttribute("width",r),o.setAttribute("height",i),u.appendChild(o),o}}]),a}();return Re.default=f,Re}var xe={},Rt;function pr(){if(Rt)return xe;Rt=1,Object.defineProperty(xe,"__esModule",{value:!0});var s=function(){function l(h,_){for(var c=0;c<_.length;c++){var f=_[c];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(h,f.key,f)}}return function(h,_,c){return _&&l(h.prototype,_),c&&l(h,c),h}}();function d(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}var v=function(){function l(h,_,c){d(this,l),this.object=h,this.encodings=_,this.options=c}return s(l,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),l}();return xe.default=v,xe}var xt;function gr(){if(xt)return me;xt=1,Object.defineProperty(me,"__esModule",{value:!0});var s=sr(),d=c(s),v=yr(),l=c(v),h=pr(),_=c(h);function c(f){return f&&f.__esModule?f:{default:f}}return me.default={CanvasRenderer:d.default,SVGRenderer:l.default,ObjectRenderer:_.default},me}var j={},At;function Lt(){if(At)return j;At=1,Object.defineProperty(j,"__esModule",{value:!0});function s(c,f){if(!(c instanceof f))throw new TypeError("Cannot call a class as a function")}function d(c,f){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:c}function v(c,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);c.prototype=Object.create(f&&f.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(c,f):c.__proto__=f)}var l=function(c){v(f,c);function f(a,e){s(this,f);var t=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return t.name="InvalidInputException",t.symbology=a,t.input=e,t.message='"'+t.input+'" is not a valid input for '+t.symbology,t}return f}(Error),h=function(c){v(f,c);function f(){s(this,f);var a=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return a.name="InvalidElementException",a.message="Not supported type to render on",a}return f}(Error),_=function(c){v(f,c);function f(){s(this,f);var a=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return a.name="NoElementException",a.message="No element to render on.",a}return f}(Error);return j.InvalidInputException=l,j.InvalidElementException=h,j.NoElementException=_,j}var Pt;function Er(){if(Pt)return Ee;Pt=1,Object.defineProperty(Ee,"__esModule",{value:!0});var s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d=_r(),v=c(d),l=gr(),h=c(l),_=Lt();function c(t){return t&&t.__esModule?t:{default:t}}function f(t){if(typeof t=="string")return a(t);if(Array.isArray(t)){for(var n=[],r=0;r"u"?"undefined":s(t))==="object"&&!t.nodeName)return{element:t,renderer:h.default.ObjectRenderer};throw new _.InvalidElementException}}function a(t){var n=document.querySelectorAll(t);if(n.length!==0){for(var r=[],i=0;i"u")throw Error("No element to render on was provided.");return w._renderProperties=(0,e.default)(b),w._encodings=[],w._options=y.default,w._errorHandler=new i.default(w),typeof R<"u"&&(O=O||{},O.format||(O.format=qe()),w.options(O)[O.format](R,O).render()),w};m.getModule=function(E){return d.default[E]};for(var q in d.default)d.default.hasOwnProperty(q)&&V(d.default,q);function V(E,b){g.prototype[b]=g.prototype[b.toUpperCase()]=g.prototype[b.toLowerCase()]=function(R,O){var w=this;return w._errorHandler.wrapBarcodeCall(function(){O.text=typeof O.text>"u"?void 0:""+O.text;var T=(0,l.default)(w._options,O);T=(0,n.default)(T);var Ct=E[b],Nt=De(R,Ct,T);return w._encodings.push(Nt),w})}}function De(E,b,R){E=""+E;var O=new b(E,R);if(!O.valid())throw new u.InvalidInputException(O.constructor.name,E);var w=O.encode();w=(0,_.default)(w);for(var T=0;T=200){y=r.shift()-105;var p=l.SWAP[y];p!==void 0?o=t.next(r,i+1,p):((u===l.SET_A||u===l.SET_B)&&y===l.SHIFT&&(r[0]=u===l.SET_A?r[0]>95?r[0]-96:r[0]:r[0]<32?r[0]+96:r[0]),o=t.next(r,i+1,u))}else y=t.correctIndex(r,u),o=t.next(r,i+1,u);var g=t.getBar(y),m=y*i;return{result:g+o.result,checksum:m+o.checksum}}}]),t}(v.default);return Y.default=a,Y}var Z={},Ne;function Ft(){if(Ne)return Z;Ne=1,Object.defineProperty(Z,"__esModule",{value:!0});var s=H(),d=function(f){return f.match(new RegExp("^"+s.A_CHARS+"*"))[0].length},v=function(f){return f.match(new RegExp("^"+s.B_CHARS+"*"))[0].length},l=function(f){return f.match(new RegExp("^"+s.C_CHARS+"*"))[0]};function h(c,f){var a=f?s.A_CHARS:s.B_CHARS,e=c.match(new RegExp("^("+a+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(e)return e[1]+"Ì"+_(c.substring(e[1].length));var t=c.match(new RegExp("^"+a+"+"))[0];return t.length===c.length?c:t+String.fromCharCode(f?205:206)+h(c.substring(t.length),!f)}function _(c){var f=l(c),a=f.length;if(a===c.length)return c;c=c.substring(a);var e=d(c)>=v(c);return f+String.fromCharCode(e?206:205)+h(c,e)}return Z.default=function(c){var f=void 0,a=l(c).length;if(a>=2)f=s.C_START_CHAR+_(c);else{var e=d(c)>v(c);f=(e?s.A_START_CHAR:s.B_START_CHAR)+h(c,e)}return f.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(t,n){return"Ë"+n})},Z}var Ge;function Ht(){if(Ge)return W;Ge=1,Object.defineProperty(W,"__esModule",{value:!0});var s=Pe(),d=h(s),v=Ft(),l=h(v);function h(e){return e&&e.__esModule?e:{default:e}}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function f(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(e){f(t,e);function t(n,r){if(_(this,t),/^[\x00-\x7F\xC8-\xD3]+$/.test(n))var i=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,l.default)(n),r));else var i=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r));return c(i)}return t}(d.default);return W.default=a,W}var K={},$e;function Ut(){if($e)return K;$e=1,Object.defineProperty(K,"__esModule",{value:!0});var s=function(){function e(t,n){for(var r=0;ru.width*10?u.width*10:u.fontSize,o.guardHeight=u.height+o.fontSize/2+u.textMargin,o}return s(r,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(u,o){return this.text.substr(u,o)}},{key:"leftEncode",value:function(u,o){return(0,l.default)(u,o)}},{key:"rightText",value:function(u,o){return this.text.substr(u,o)}},{key:"rightEncode",value:function(u,o){return(0,l.default)(u,o)}},{key:"encodeGuarded",value:function(){var u={fontSize:this.fontSize},o={height:this.guardHeight};return[{data:d.SIDE_BIN,options:o},{data:this.leftEncode(),text:this.leftText(),options:u},{data:d.MIDDLE_BIN,options:o},{data:this.rightEncode(),text:this.rightText(),options:u},{data:d.SIDE_BIN,options:o}]}},{key:"encodeFlat",value:function(){var u=[d.SIDE_BIN,this.leftEncode(),d.MIDDLE_BIN,this.rightEncode(),d.SIDE_BIN];return{data:u.join(""),text:this.text}}}]),r}(_.default);return ne.default=t,ne}var Je;function Jt(){if(Je)return re;Je=1,Object.defineProperty(re,"__esModule",{value:!0});var s=function(){function n(r,i){for(var u=0;uu.width*10?o.fontSize=u.width*10:o.fontSize=u.fontSize,o.guardHeight=u.height+o.fontSize/2+u.textMargin,o}return s(r,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==t(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var u="";return u+="101",u+=(0,v.default)(this.data.substr(0,6),"LLLLLL"),u+="01010",u+=(0,v.default)(this.data.substr(6,6),"RRRRRR"),u+="101",{data:u,text:this.text}}},{key:"guardedEncoding",value:function(){var u=[];return this.displayValue&&u.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),u.push({data:"101"+(0,v.default)(this.data[0],"L"),options:{height:this.guardHeight}}),u.push({data:(0,v.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),u.push({data:"01010",options:{height:this.guardHeight}}),u.push({data:(0,v.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),u.push({data:(0,v.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&u.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),u}}]),r}(h.default);function t(n){var r=0,i;for(i=1;i<11;i+=2)r+=parseInt(n[i]);for(i=0;i<11;i+=2)r+=parseInt(n[i])*3;return(10-r%10)%10}return C.default=e,C}var fe={},Ke;function Zt(){if(Ke)return fe;Ke=1,Object.defineProperty(fe,"__esModule",{value:!0});var s=function(){function u(o,y){for(var p=0;pp.width*10?g.fontSize=p.width*10:g.fontSize=p.fontSize,g.guardHeight=p.height+g.fontSize/2+p.textMargin,g}return s(o,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var p="";return p+="101",p+=this.encodeMiddleDigits(),p+="010101",{data:p,text:this.text}}},{key:"guardedEncoding",value:function(){var p=[];return this.displayValue&&p.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),p.push({data:"101",options:{height:this.guardHeight}}),p.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),p.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&p.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),p}},{key:"encodeMiddleDigits",value:function(){var p=this.upcA[0],g=this.upcA[this.upcA.length-1],m=n[parseInt(g)][parseInt(p)];return(0,v.default)(this.middleDigits,m)}}]),o}(h.default);function i(u,o){for(var y=parseInt(u[u.length-1]),p=t[y],g="",m=0,q=0;q=3&&this.number<=131070}}]),e}(v.default);return G.pharmacode=f,G}var $={},vt;function cr(){if(vt)return $;vt=1,Object.defineProperty($,"__esModule",{value:!0}),$.codabar=void 0;var s=function(){function a(e,t){for(var n=0;n0?t.fontSize+t.textMargin:0)+t.marginTop+t.marginBottom}function h(e,t,n){if(n.displayValue&&tt&&(t=e[n].height);return t}function a(e,t,n){var r;if(n)r=n;else if(typeof document<"u")r=document.createElement("canvas").getContext("2d");else return 0;r.font=t.fontOptions+" "+t.fontSize+"px "+t.font;var i=r.measureText(e);if(!i)return 0;var u=i.width;return u}return P.getMaximumHeightOfEncodings=f,P.getEncodingHeight=l,P.getBarcodePadding=h,P.calculateEncodingAttributes=_,P.getTotalWidthOfEncodings=c,P}var mt;function sr(){if(mt)return Se;mt=1,Object.defineProperty(Se,"__esModule",{value:!0});var s=function(){function f(a,e){for(var t=0;t0?(i=0,n.textAlign="left"):e.textAlign=="right"?(i=t.width-1,n.textAlign="right"):(i=t.width/2,n.textAlign="center"),n.fillText(t.text,i,u)}}},{key:"moveCanvasDrawing",value:function(e){var t=this.canvas.getContext("2d");t.translate(e.width,0)}},{key:"restoreCanvas",value:function(){var e=this.canvas.getContext("2d");e.restore()}}]),f}();return Se.default=c,Se}var Re={},St;function yr(){if(St)return Re;St=1,Object.defineProperty(Re,"__esModule",{value:!0});var s=function(){function a(e,t){for(var n=0;n0&&(this.drawRect(y-n.width*o,u,n.width*o,n.height,t),o=0);o>0&&this.drawRect(y-n.width*(o-1),u,n.width*o,n.height,t)}},{key:"drawSVGText",value:function(t,n,r){var i=this.document.createElementNS(c,"text");if(n.displayValue){var u,o;i.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?o=n.fontSize-n.textMargin:o=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||r.barcodePadding>0?(u=0,i.setAttribute("text-anchor","start")):n.textAlign=="right"?(u=r.width-1,i.setAttribute("text-anchor","end")):(u=r.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",u),i.setAttribute("y",o),i.appendChild(this.document.createTextNode(r.text)),t.appendChild(i)}}},{key:"setSvgAttributes",value:function(t,n){var r=this.svg;r.setAttribute("width",t+"px"),r.setAttribute("height",n+"px"),r.setAttribute("x","0px"),r.setAttribute("y","0px"),r.setAttribute("viewBox","0 0 "+t+" "+n),r.setAttribute("xmlns",c),r.setAttribute("version","1.1"),r.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(t,n,r){var i=this.document.createElementNS(c,"g");return i.setAttribute("transform","translate("+t+", "+n+")"),r.appendChild(i),i}},{key:"setGroupOptions",value:function(t,n){t.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(t,n,r,i,u){var o=this.document.createElementNS(c,"rect");return o.setAttribute("x",t),o.setAttribute("y",n),o.setAttribute("width",r),o.setAttribute("height",i),u.appendChild(o),o}}]),a}();return Re.default=f,Re}var xe={},Rt;function pr(){if(Rt)return xe;Rt=1,Object.defineProperty(xe,"__esModule",{value:!0});var s=function(){function l(h,_){for(var c=0;c<_.length;c++){var f=_[c];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(h,f.key,f)}}return function(h,_,c){return _&&l(h.prototype,_),c&&l(h,c),h}}();function d(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}var v=function(){function l(h,_,c){d(this,l),this.object=h,this.encodings=_,this.options=c}return s(l,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),l}();return xe.default=v,xe}var xt;function gr(){if(xt)return me;xt=1,Object.defineProperty(me,"__esModule",{value:!0});var s=sr(),d=c(s),v=yr(),l=c(v),h=pr(),_=c(h);function c(f){return f&&f.__esModule?f:{default:f}}return me.default={CanvasRenderer:d.default,SVGRenderer:l.default,ObjectRenderer:_.default},me}var j={},At;function Lt(){if(At)return j;At=1,Object.defineProperty(j,"__esModule",{value:!0});function s(c,f){if(!(c instanceof f))throw new TypeError("Cannot call a class as a function")}function d(c,f){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:c}function v(c,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);c.prototype=Object.create(f&&f.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(c,f):c.__proto__=f)}var l=function(c){v(f,c);function f(a,e){s(this,f);var t=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return t.name="InvalidInputException",t.symbology=a,t.input=e,t.message='"'+t.input+'" is not a valid input for '+t.symbology,t}return f}(Error),h=function(c){v(f,c);function f(){s(this,f);var a=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return a.name="InvalidElementException",a.message="Not supported type to render on",a}return f}(Error),_=function(c){v(f,c);function f(){s(this,f);var a=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return a.name="NoElementException",a.message="No element to render on.",a}return f}(Error);return j.InvalidInputException=l,j.InvalidElementException=h,j.NoElementException=_,j}var Pt;function Er(){if(Pt)return Ee;Pt=1,Object.defineProperty(Ee,"__esModule",{value:!0});var s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d=_r(),v=c(d),l=gr(),h=c(l),_=Lt();function c(t){return t&&t.__esModule?t:{default:t}}function f(t){if(typeof t=="string")return a(t);if(Array.isArray(t)){for(var n=[],r=0;r"u"?"undefined":s(t))==="object"&&!t.nodeName)return{element:t,renderer:h.default.ObjectRenderer};throw new _.InvalidElementException}}function a(t){var n=document.querySelectorAll(t);if(n.length!==0){for(var r=[],i=0;i"u")throw Error("No element to render on was provided.");return w._renderProperties=(0,e.default)(b),w._encodings=[],w._options=y.default,w._errorHandler=new i.default(w),typeof R<"u"&&(O=O||{},O.format||(O.format=qe()),w.options(O)[O.format](R,O).render()),w};m.getModule=function(E){return d.default[E]};for(var q in d.default)d.default.hasOwnProperty(q)&&V(d.default,q);function V(E,b){g.prototype[b]=g.prototype[b.toUpperCase()]=g.prototype[b.toLowerCase()]=function(R,O){var w=this;return w._errorHandler.wrapBarcodeCall(function(){O.text=typeof O.text>"u"?void 0:""+O.text;var T=(0,l.default)(w._options,O);T=(0,n.default)(T);var Ct=E[b],Nt=De(R,Ct,T);return w._encodings.push(Nt),w})}}function De(E,b,R){E=""+E;var O=new b(E,R);if(!O.valid())throw new u.InvalidInputException(O.constructor.name,E);var w=O.encode();w=(0,_.default)(w);for(var T=0;T=o||E<0||l&&M>=h}function A(){var S=e();if(_(S))return O(S);T=setTimeout(A,g(S))}function O(S){return T=void 0,I&&c?b(S):(c=v=void 0,q)}function m(){T!==void 0&&clearTimeout(T),p=0,c=y=v=T=void 0}function d(){return T===void 0?q:O(e())}function P(){var S=e(),E=_(S);if(c=arguments,v=this,y=S,E){if(T===void 0)return C(y);if(l)return clearTimeout(T),T=setTimeout(A,o),b(y)}return T===void 0&&(T=setTimeout(A,o)),q}return P.cancel=m,P.flush=d,P}return me=u,me}var Qu=tu();const Go=Yt(Qu);var Ie,Ca;function es(){if(Ca)return Ie;Ca=1;var r=tu(),e=D(),t="Expected a function";function a(n,i,u){var s=!0,o=!0;if(typeof n!="function")throw new TypeError(t);return e(u)&&(s="leading"in u?!!u.leading:s,o="trailing"in u?!!u.trailing:o),r(n,i,{leading:s,maxWait:i,trailing:o})}return Ie=a,Ie}var rs=es();const Fo=Yt(rs);var Ce,ja;function ts(){if(ja)return Ce;ja=1;function r(){this.__data__=[],this.size=0}return Ce=r,Ce}var je,wa;function Y(){if(wa)return je;wa=1;function r(e,t){return e===t||e!==e&&t!==t}return je=r,je}var we,Pa;function ue(){if(Pa)return we;Pa=1;var r=Y();function e(t,a){for(var n=t.length;n--;)if(r(t[n][0],a))return n;return-1}return we=e,we}var Pe,Ea;function as(){if(Ea)return Pe;Ea=1;var r=ue(),e=Array.prototype,t=e.splice;function a(n){var i=this.__data__,u=r(i,n);if(u<0)return!1;var s=i.length-1;return u==s?i.pop():t.call(i,u,1),--this.size,!0}return Pe=a,Pe}var Ee,xa;function ns(){if(xa)return Ee;xa=1;var r=ue();function e(t){var a=this.__data__,n=r(a,t);return n<0?void 0:a[n][1]}return Ee=e,Ee}var xe,Ma;function is(){if(Ma)return xe;Ma=1;var r=ue();function e(t){return r(this.__data__,t)>-1}return xe=e,xe}var Me,Da;function us(){if(Da)return Me;Da=1;var r=ue();function e(t,a){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,a])):n[i][1]=a,this}return Me=e,Me}var De,La;function se(){if(La)return De;La=1;var r=ts(),e=as(),t=ns(),a=is(),n=us();function i(u){var s=-1,o=u==null?0:u.length;for(this.clear();++s-1&&a%1==0&&a-1&&t%1==0&&t<=r}return Ar=e,Ar}var Rr,mn;function Es(){if(mn)return Rr;mn=1;var r=$(),e=fu(),t=G(),a="[object Arguments]",n="[object Array]",i="[object Boolean]",u="[object Date]",s="[object Error]",o="[object Function]",f="[object Map]",c="[object Number]",v="[object Object]",h="[object RegExp]",q="[object Set]",T="[object String]",y="[object WeakMap]",p="[object ArrayBuffer]",R="[object DataView]",l="[object Float32Array]",I="[object Float64Array]",b="[object Int8Array]",C="[object Int16Array]",g="[object Int32Array]",_="[object Uint8Array]",A="[object Uint8ClampedArray]",O="[object Uint16Array]",m="[object Uint32Array]",d={};d[l]=d[I]=d[b]=d[C]=d[g]=d[_]=d[A]=d[O]=d[m]=!0,d[a]=d[n]=d[p]=d[i]=d[R]=d[u]=d[s]=d[o]=d[f]=d[c]=d[v]=d[h]=d[q]=d[T]=d[y]=!1;function P(S){return t(S)&&e(S.length)&&!!d[r(S)]}return Rr=P,Rr}var Sr,In;function ra(){if(In)return Sr;In=1;function r(e){return function(t){return e(t)}}return Sr=r,Sr}var J={exports:{}};J.exports;var Cn;function ta(){return Cn||(Cn=1,function(r,e){var t=ru(),a=e&&!e.nodeType&&e,n=a&&!0&&r&&!r.nodeType&&r,i=n&&n.exports===a,u=i&&t.process,s=function(){try{var o=n&&n.require&&n.require("util").types;return o||u&&u.binding&&u.binding("util")}catch{}}();r.exports=s}(J,J.exports)),J.exports}var Or,jn;function aa(){if(jn)return Or;jn=1;var r=Es(),e=ra(),t=ta(),a=t&&t.isTypedArray,n=a?e(a):r;return Or=n,Or}var mr,wn;function cu(){if(wn)return mr;wn=1;var r=js(),e=su(),t=Z(),a=ce(),n=ou(),i=aa(),u=Object.prototype,s=u.hasOwnProperty;function o(f,c){var v=t(f),h=!v&&e(f),q=!v&&!h&&a(f),T=!v&&!h&&!q&&i(f),y=v||h||q||T,p=y?r(f.length,String):[],R=p.length;for(var l in f)(c||s.call(f,l))&&!(y&&(l=="length"||q&&(l=="offset"||l=="parent")||T&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||n(l,R)))&&p.push(l);return p}return mr=o,mr}var Ir,Pn;function na(){if(Pn)return Ir;Pn=1;var r=Object.prototype;function e(t){var a=t&&t.constructor,n=typeof a=="function"&&a.prototype||r;return t===n}return Ir=e,Ir}var Cr,En;function vu(){if(En)return Cr;En=1;function r(e,t){return function(a){return e(t(a))}}return Cr=r,Cr}var jr,xn;function xs(){if(xn)return jr;xn=1;var r=vu(),e=r(Object.keys,Object);return jr=e,jr}var wr,Mn;function Ms(){if(Mn)return wr;Mn=1;var r=na(),e=xs(),t=Object.prototype,a=t.hasOwnProperty;function n(i){if(!r(i))return e(i);var u=[];for(var s in Object(i))a.call(i,s)&&s!="constructor"&&u.push(s);return u}return wr=n,wr}var Pr,Dn;function ve(){if(Dn)return Pr;Dn=1;var r=kt(),e=fu();function t(a){return a!=null&&e(a.length)&&!r(a)}return Pr=t,Pr}var Er,Ln;function ia(){if(Ln)return Er;Ln=1;var r=cu(),e=Ms(),t=ve();function a(n){return t(n)?r(n):e(n)}return Er=a,Er}var xr,Gn;function Ds(){if(Gn)return xr;Gn=1;var r=k(),e=ia();function t(a,n){return a&&r(n,e(n),a)}return xr=t,xr}var Mr,Fn;function Ls(){if(Fn)return Mr;Fn=1;function r(e){var t=[];if(e!=null)for(var a in Object(e))t.push(a);return t}return Mr=r,Mr}var Dr,Bn;function Gs(){if(Bn)return Dr;Bn=1;var r=D(),e=na(),t=Ls(),a=Object.prototype,n=a.hasOwnProperty;function i(u){if(!r(u))return t(u);var s=e(u),o=[];for(var f in u)f=="constructor"&&(s||!n.call(u,f))||o.push(f);return o}return Dr=i,Dr}var Lr,Kn;function Q(){if(Kn)return Lr;Kn=1;var r=cu(),e=Gs(),t=ve();function a(n){return t(n)?r(n,!0):e(n)}return Lr=a,Lr}var Gr,Nn;function Fs(){if(Nn)return Gr;Nn=1;var r=k(),e=Q();function t(a,n){return a&&r(n,e(n),a)}return Gr=t,Gr}var X={exports:{}};X.exports;var Hn;function lu(){return Hn||(Hn=1,function(r,e){var t=L(),a=e&&!e.nodeType&&e,n=a&&!0&&r&&!r.nodeType&&r,i=n&&n.exports===a,u=i?t.Buffer:void 0,s=u?u.allocUnsafe:void 0;function o(f,c){if(c)return f.slice();var v=f.length,h=s?s(v):new f.constructor(v);return f.copy(h),h}r.exports=o}(X,X.exports)),X.exports}var Fr,Un;function _u(){if(Un)return Fr;Un=1;function r(e,t){var a=-1,n=e.length;for(t||(t=Array(n));++aq))return!1;var y=v.get(u),p=v.get(s);if(y&&p)return y==s&&p==u;var R=-1,l=!0,I=o&n?new r:void 0;for(v.set(u,s),v.set(s,u);++R0){if(++i>=r)return arguments[0]}else i=0;return n.apply(void 0,arguments)}}return Vt=a,Vt}var Wt,Yi;function Po(){if(Yi)return Wt;Yi=1;var r=jo(),e=wo(),t=e(r);return Wt=t,Wt}var $t,ki;function Eo(){if(ki)return $t;ki=1;var r=Ou(),e=Io(),t=Po();function a(n,i){return t(e(n,i,r),n+"")}return $t=a,$t}var zt,Zi;function xo(){if(Zi)return zt;Zi=1;var r=Y(),e=ve(),t=ou(),a=D();function n(i,u,s){if(!a(s))return!1;var o=typeof u;return(o=="number"?e(s)&&t(u,s.length):o=="string"&&u in s)?r(s[u],i):!1}return zt=n,zt}var Jt,Qi;function Mo(){if(Qi)return Jt;Qi=1;var r=Eo(),e=xo();function t(a){return r(function(n,i){var u=-1,s=i.length,o=s>1?i[s-1]:void 0,f=s>2?i[2]:void 0;for(o=a.length>3&&typeof o=="function"?(s--,o):void 0,f&&e(i[0],i[1],f)&&(o=s<3?void 0:o,s=1),n=Object(n);++u=o||E<0||l&&M>=h}function A(){var S=e();if(_(S))return O(S);T=setTimeout(A,g(S))}function O(S){return T=void 0,I&&c?b(S):(c=v=void 0,q)}function m(){T!==void 0&&clearTimeout(T),p=0,c=y=v=T=void 0}function d(){return T===void 0?q:O(e())}function P(){var S=e(),E=_(S);if(c=arguments,v=this,y=S,E){if(T===void 0)return C(y);if(l)return clearTimeout(T),T=setTimeout(A,o),b(y)}return T===void 0&&(T=setTimeout(A,o)),q}return P.cancel=m,P.flush=d,P}return me=u,me}var Qu=tu();const Go=Yt(Qu);var Ie,Ca;function es(){if(Ca)return Ie;Ca=1;var r=tu(),e=D(),t="Expected a function";function a(n,i,u){var s=!0,o=!0;if(typeof n!="function")throw new TypeError(t);return e(u)&&(s="leading"in u?!!u.leading:s,o="trailing"in u?!!u.trailing:o),r(n,i,{leading:s,maxWait:i,trailing:o})}return Ie=a,Ie}var rs=es();const Fo=Yt(rs);var Ce,ja;function ts(){if(ja)return Ce;ja=1;function r(){this.__data__=[],this.size=0}return Ce=r,Ce}var je,wa;function Y(){if(wa)return je;wa=1;function r(e,t){return e===t||e!==e&&t!==t}return je=r,je}var we,Pa;function ue(){if(Pa)return we;Pa=1;var r=Y();function e(t,a){for(var n=t.length;n--;)if(r(t[n][0],a))return n;return-1}return we=e,we}var Pe,Ea;function as(){if(Ea)return Pe;Ea=1;var r=ue(),e=Array.prototype,t=e.splice;function a(n){var i=this.__data__,u=r(i,n);if(u<0)return!1;var s=i.length-1;return u==s?i.pop():t.call(i,u,1),--this.size,!0}return Pe=a,Pe}var Ee,xa;function ns(){if(xa)return Ee;xa=1;var r=ue();function e(t){var a=this.__data__,n=r(a,t);return n<0?void 0:a[n][1]}return Ee=e,Ee}var xe,Ma;function is(){if(Ma)return xe;Ma=1;var r=ue();function e(t){return r(this.__data__,t)>-1}return xe=e,xe}var Me,Da;function us(){if(Da)return Me;Da=1;var r=ue();function e(t,a){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,a])):n[i][1]=a,this}return Me=e,Me}var De,La;function se(){if(La)return De;La=1;var r=ts(),e=as(),t=ns(),a=is(),n=us();function i(u){var s=-1,o=u==null?0:u.length;for(this.clear();++s-1&&a%1==0&&a-1&&t%1==0&&t<=r}return Ar=e,Ar}var Rr,mn;function Es(){if(mn)return Rr;mn=1;var r=$(),e=fu(),t=G(),a="[object Arguments]",n="[object Array]",i="[object Boolean]",u="[object Date]",s="[object Error]",o="[object Function]",f="[object Map]",c="[object Number]",v="[object Object]",h="[object RegExp]",q="[object Set]",T="[object String]",y="[object WeakMap]",p="[object ArrayBuffer]",R="[object DataView]",l="[object Float32Array]",I="[object Float64Array]",b="[object Int8Array]",C="[object Int16Array]",g="[object Int32Array]",_="[object Uint8Array]",A="[object Uint8ClampedArray]",O="[object Uint16Array]",m="[object Uint32Array]",d={};d[l]=d[I]=d[b]=d[C]=d[g]=d[_]=d[A]=d[O]=d[m]=!0,d[a]=d[n]=d[p]=d[i]=d[R]=d[u]=d[s]=d[o]=d[f]=d[c]=d[v]=d[h]=d[q]=d[T]=d[y]=!1;function P(S){return t(S)&&e(S.length)&&!!d[r(S)]}return Rr=P,Rr}var Sr,In;function ra(){if(In)return Sr;In=1;function r(e){return function(t){return e(t)}}return Sr=r,Sr}var J={exports:{}};J.exports;var Cn;function ta(){return Cn||(Cn=1,function(r,e){var t=ru(),a=e&&!e.nodeType&&e,n=a&&!0&&r&&!r.nodeType&&r,i=n&&n.exports===a,u=i&&t.process,s=function(){try{var o=n&&n.require&&n.require("util").types;return o||u&&u.binding&&u.binding("util")}catch{}}();r.exports=s}(J,J.exports)),J.exports}var Or,jn;function aa(){if(jn)return Or;jn=1;var r=Es(),e=ra(),t=ta(),a=t&&t.isTypedArray,n=a?e(a):r;return Or=n,Or}var mr,wn;function cu(){if(wn)return mr;wn=1;var r=js(),e=su(),t=Z(),a=ce(),n=ou(),i=aa(),u=Object.prototype,s=u.hasOwnProperty;function o(f,c){var v=t(f),h=!v&&e(f),q=!v&&!h&&a(f),T=!v&&!h&&!q&&i(f),y=v||h||q||T,p=y?r(f.length,String):[],R=p.length;for(var l in f)(c||s.call(f,l))&&!(y&&(l=="length"||q&&(l=="offset"||l=="parent")||T&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||n(l,R)))&&p.push(l);return p}return mr=o,mr}var Ir,Pn;function na(){if(Pn)return Ir;Pn=1;var r=Object.prototype;function e(t){var a=t&&t.constructor,n=typeof a=="function"&&a.prototype||r;return t===n}return Ir=e,Ir}var Cr,En;function vu(){if(En)return Cr;En=1;function r(e,t){return function(a){return e(t(a))}}return Cr=r,Cr}var jr,xn;function xs(){if(xn)return jr;xn=1;var r=vu(),e=r(Object.keys,Object);return jr=e,jr}var wr,Mn;function Ms(){if(Mn)return wr;Mn=1;var r=na(),e=xs(),t=Object.prototype,a=t.hasOwnProperty;function n(i){if(!r(i))return e(i);var u=[];for(var s in Object(i))a.call(i,s)&&s!="constructor"&&u.push(s);return u}return wr=n,wr}var Pr,Dn;function ve(){if(Dn)return Pr;Dn=1;var r=kt(),e=fu();function t(a){return a!=null&&e(a.length)&&!r(a)}return Pr=t,Pr}var Er,Ln;function ia(){if(Ln)return Er;Ln=1;var r=cu(),e=Ms(),t=ve();function a(n){return t(n)?r(n):e(n)}return Er=a,Er}var xr,Gn;function Ds(){if(Gn)return xr;Gn=1;var r=k(),e=ia();function t(a,n){return a&&r(n,e(n),a)}return xr=t,xr}var Mr,Fn;function Ls(){if(Fn)return Mr;Fn=1;function r(e){var t=[];if(e!=null)for(var a in Object(e))t.push(a);return t}return Mr=r,Mr}var Dr,Bn;function Gs(){if(Bn)return Dr;Bn=1;var r=D(),e=na(),t=Ls(),a=Object.prototype,n=a.hasOwnProperty;function i(u){if(!r(u))return t(u);var s=e(u),o=[];for(var f in u)f=="constructor"&&(s||!n.call(u,f))||o.push(f);return o}return Dr=i,Dr}var Lr,Kn;function Q(){if(Kn)return Lr;Kn=1;var r=cu(),e=Gs(),t=ve();function a(n){return t(n)?r(n,!0):e(n)}return Lr=a,Lr}var Gr,Nn;function Fs(){if(Nn)return Gr;Nn=1;var r=k(),e=Q();function t(a,n){return a&&r(n,e(n),a)}return Gr=t,Gr}var X={exports:{}};X.exports;var Hn;function lu(){return Hn||(Hn=1,function(r,e){var t=L(),a=e&&!e.nodeType&&e,n=a&&!0&&r&&!r.nodeType&&r,i=n&&n.exports===a,u=i?t.Buffer:void 0,s=u?u.allocUnsafe:void 0;function o(f,c){if(c)return f.slice();var v=f.length,h=s?s(v):new f.constructor(v);return f.copy(h),h}r.exports=o}(X,X.exports)),X.exports}var Fr,Un;function _u(){if(Un)return Fr;Un=1;function r(e,t){var a=-1,n=e.length;for(t||(t=Array(n));++aq))return!1;var y=v.get(u),p=v.get(s);if(y&&p)return y==s&&p==u;var R=-1,l=!0,I=o&n?new r:void 0;for(v.set(u,s),v.set(s,u);++R0){if(++i>=r)return arguments[0]}else i=0;return n.apply(void 0,arguments)}}return Vt=a,Vt}var Wt,Yi;function Po(){if(Yi)return Wt;Yi=1;var r=jo(),e=wo(),t=e(r);return Wt=t,Wt}var $t,ki;function Eo(){if(ki)return $t;ki=1;var r=Ou(),e=Io(),t=Po();function a(n,i){return t(e(n,i,r),n+"")}return $t=a,$t}var zt,Zi;function xo(){if(Zi)return zt;Zi=1;var r=Y(),e=ve(),t=ou(),a=D();function n(i,u,s){if(!a(s))return!1;var o=typeof u;return(o=="number"?e(s)&&t(u,s.length):o=="string"&&u in s)?r(s[u],i):!1}return zt=n,zt}var Jt,Qi;function Mo(){if(Qi)return Jt;Qi=1;var r=Eo(),e=xo();function t(a){return r(function(n,i){var u=-1,s=i.length,o=s>1?i[s-1]:void 0,f=s>2?i[2]:void 0;for(o=a.length>3&&typeof o=="function"?(s--,o):void 0,f&&e(i[0],i[1],f)&&(o=s<3?void 0:o,s=1),n=Object(n);++u":".","?":"/","|":"\\"},T={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},k,c=1;c<20;++c)d[111+c]="f"+c;for(c=0;c<=9;++c)d[c+96]=c.toString();function w(r,e,n){if(r.addEventListener){r.addEventListener(e,n,!1);return}r.attachEvent("on"+e,n)}function L(r){if(r.type=="keypress"){var e=String.fromCharCode(r.which);return r.shiftKey||(e=e.toLowerCase()),e}return d[r.which]?d[r.which]:A[r.which]?A[r.which]:String.fromCharCode(r.which).toLowerCase()}function B(r,e){return r.sort().join(",")===e.sort().join(",")}function N(r){var e=[];return r.shiftKey&&e.push("shift"),r.altKey&&e.push("alt"),r.ctrlKey&&e.push("ctrl"),r.metaKey&&e.push("meta"),e}function V(r){if(r.preventDefault){r.preventDefault();return}r.returnValue=!1}function $(r){if(r.stopPropagation){r.stopPropagation();return}r.cancelBubble=!0}function K(r){return r=="shift"||r=="ctrl"||r=="alt"||r=="meta"}function H(){if(!k){k={};for(var r in d)r>95&&r<112||d.hasOwnProperty(r)&&(k[d[r]]=r)}return k}function U(r,e,n){return n||(n=H()[r]?"keydown":"keypress"),n=="keypress"&&e.length&&(n="keydown"),n}function X(r){return r==="+"?["+"]:(r=r.replace(/\+{2}/g,"+plus"),r.split("+"))}function D(r,e){var n,o,h,y=[];for(n=X(r),h=0;h1){z(t,v,a,s);return}f=D(t,s),e._callbacks[f.key]=e._callbacks[f.key]||[],R(f.key,f.modifiers,{type:f.action},i,t,u),e._callbacks[f.key][i?"unshift":"push"]({callback:a,modifiers:f.modifiers,action:f.action,seq:i,level:u,combo:t})}e._bindMultiple=function(t,a,s){for(var i=0;i-1||I(e,n.target))return!1;if("composedPath"in r&&typeof r.composedPath=="function"){var o=r.composedPath()[0];o!==r.target&&(e=o)}return e.tagName=="INPUT"||e.tagName=="SELECT"||e.tagName=="TEXTAREA"||e.isContentEditable},p.prototype.handleKey=function(){var r=this;return r._handleKey.apply(r,arguments)},p.addKeycodes=function(r){for(var e in r)r.hasOwnProperty(e)&&(d[e]=r[e]);k=null},p.init=function(){var r=p(M);for(var e in r)e.charAt(0)!=="_"&&(p[e]=function(n){return function(){return r[n].apply(r,arguments)}}(e))},p.init(),E.Mousetrap=p,x.exports&&(x.exports=p)})(typeof window<"u"?window:null,typeof window<"u"?document:null)}(b)),b.exports}var Z=W();const er=Q(Z);export{er as M}; diff --git a/js/mousetrap@1.6.5-C2A6yrpM.js.gz b/js/mousetrap@1.6.5-C2A6yrpM.js.gz new file mode 100644 index 00000000..40581cb5 Binary files /dev/null and b/js/mousetrap@1.6.5-C2A6yrpM.js.gz differ diff --git a/js/mousetrap@1.6.5-D2xAa-oQ.js b/js/mousetrap@1.6.5-D2xAa-oQ.js deleted file mode 100644 index 66ef7603..00000000 --- a/js/mousetrap@1.6.5-D2xAa-oQ.js +++ /dev/null @@ -1 +0,0 @@ -import{g as Q}from"./call-bind@1.0.7-BosuxZz1.js";var b={exports:{}},O;function W(){return O||(O=1,function(x){(function(E,M,j){if(!E)return;for(var d={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},A={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},q={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},T={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},k,c=1;c<20;++c)d[111+c]="f"+c;for(c=0;c<=9;++c)d[c+96]=c.toString();function w(r,e,n){if(r.addEventListener){r.addEventListener(e,n,!1);return}r.attachEvent("on"+e,n)}function L(r){if(r.type=="keypress"){var e=String.fromCharCode(r.which);return r.shiftKey||(e=e.toLowerCase()),e}return d[r.which]?d[r.which]:A[r.which]?A[r.which]:String.fromCharCode(r.which).toLowerCase()}function B(r,e){return r.sort().join(",")===e.sort().join(",")}function N(r){var e=[];return r.shiftKey&&e.push("shift"),r.altKey&&e.push("alt"),r.ctrlKey&&e.push("ctrl"),r.metaKey&&e.push("meta"),e}function V(r){if(r.preventDefault){r.preventDefault();return}r.returnValue=!1}function $(r){if(r.stopPropagation){r.stopPropagation();return}r.cancelBubble=!0}function K(r){return r=="shift"||r=="ctrl"||r=="alt"||r=="meta"}function H(){if(!k){k={};for(var r in d)r>95&&r<112||d.hasOwnProperty(r)&&(k[d[r]]=r)}return k}function U(r,e,n){return n||(n=H()[r]?"keydown":"keypress"),n=="keypress"&&e.length&&(n="keydown"),n}function X(r){return r==="+"?["+"]:(r=r.replace(/\+{2}/g,"+plus"),r.split("+"))}function D(r,e){var n,o,h,y=[];for(n=X(r),h=0;h1){z(t,v,a,s);return}f=D(t,s),e._callbacks[f.key]=e._callbacks[f.key]||[],R(f.key,f.modifiers,{type:f.action},i,t,u),e._callbacks[f.key][i?"unshift":"push"]({callback:a,modifiers:f.modifiers,action:f.action,seq:i,level:u,combo:t})}e._bindMultiple=function(t,a,s){for(var i=0;i-1||I(e,n.target))return!1;if("composedPath"in r&&typeof r.composedPath=="function"){var o=r.composedPath()[0];o!==r.target&&(e=o)}return e.tagName=="INPUT"||e.tagName=="SELECT"||e.tagName=="TEXTAREA"||e.isContentEditable},p.prototype.handleKey=function(){var r=this;return r._handleKey.apply(r,arguments)},p.addKeycodes=function(r){for(var e in r)r.hasOwnProperty(e)&&(d[e]=r[e]);k=null},p.init=function(){var r=p(M);for(var e in r)e.charAt(0)!=="_"&&(p[e]=function(n){return function(){return r[n].apply(r,arguments)}}(e))},p.init(),E.Mousetrap=p,x.exports&&(x.exports=p)})(typeof window<"u"?window:null,typeof window<"u"?document:null)}(b)),b.exports}var Z=W();const er=Q(Z);export{er as M}; diff --git a/js/mousetrap@1.6.5-D2xAa-oQ.js.gz b/js/mousetrap@1.6.5-D2xAa-oQ.js.gz deleted file mode 100644 index e2a3d2e9..00000000 Binary files a/js/mousetrap@1.6.5-D2xAa-oQ.js.gz and /dev/null differ diff --git a/js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js b/js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js similarity index 99% rename from js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js rename to js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js index 12baa78e..b6db4bae 100644 --- a/js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js +++ b/js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js @@ -4578,4 +4578,4 @@ import{e as vu,z as xu,p as Cu,i as On,f as Bt,a as Dt,b as Ve,s as Vn,c as Tr,d height: max(284vh, 284vw); width: max(284vh, 284vw); `)])]);function By(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 Oy=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}}),j0=oe({name:"Watermark",props:Oy,setup(e,{slots:t}){const{mergedClsPrefixRef:n}=Qe(e),o=Re("Watermark","-watermark",Iy,Jx,e,n),r=B(""),i=xn?document.createElement("canvas"):null,s=i?i.getContext("2d"):null,l=B(!1);return is(()=>l.value=!0),Ft(()=>{if(!i)return;l.value;const d=By(s),{xGap:c,yGap:u,width:f,height:p,yOffset:g,xOffset:h,rotate:m,image:x,content:y,fontColor:v,fontStyle:T,fontVariant:$,fontStretch:R,fontWeight:S,fontFamily:w,fontSize:O,lineHeight:F,debug:A}=e,j=(c+f)*d,M=(u+p)*d,H=h*d,U=g*d;if(i.width=j,i.height=M,s){s.translate(0,0);const L=f*d,te=p*d;if(A&&(s.strokeStyle="grey",s.strokeRect(0,0,L,te)),s.rotate(m*(Math.PI/180)),x){const K=new Image;K.crossOrigin="anonymous",K.referrerPolicy="no-referrer",K.src=x,K.onload=()=>{s.globalAlpha=e.imageOpacity;const{imageWidth:le,imageHeight:ve}=e;s.drawImage(K,H,U,(e.imageWidth||(ve?K.width*ve/K.height:K.width))*d,(e.imageHeight||(le?K.height*le/K.width:K.height))*d),r.value=i.toDataURL()}}else if(y){A&&(s.strokeStyle="green",s.strokeRect(0,0,L,te)),s.font=`${T} ${$} ${S} ${R} ${O*d}px/${F*d}px ${w||o.value.self.fontFamily}`,s.fillStyle=v;let K=0;const{textAlign:le}=e;y.split(` -`).map(ve=>{const ce=s.measureText(ve).width;return K=Math.max(K,ce),{width:ce,line:ve}}).forEach(({line:ve,width:ce},V)=>{const E=le==="left"?0:le==="center"?(K-ce)/2:K-ce;s.fillText(ve,H+E,U+F*d*(V+1))}),r.value=i.toDataURL()}else y||(s.clearRect(0,0,i.width,i.height),r.value=i.toDataURL())}else of("watermark","Canvas is not supported in the browser.")}),()=>{var d;const{globalRotate:c,fullscreen:u,zIndex:f}=e,p=n.value,g=c!==0&&u,h="max(142vh, 142vw)",m=a("div",{class:[`${p}-watermark`,c!==0&&`${p}-watermark--global-rotate`,u&&`${p}-watermark--fullscreen`],style:{transform:c?`translateX(-50%) translateY(-50%) rotate(${c}deg)`:void 0,zIndex:g?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(${r.value}), url(${r.value})`:`url(${r.value})`}});return e.fullscreen&&!c?m:a("div",{class:[`${p}-watermark-container`,c!==0&&`${p}-watermark-container--global-rotate`,u&&`${p}-watermark-container--fullscreen`,e.selectable&&`${p}-watermark-container--selectable`],style:{zIndex:g?f:void 0}},(d=t.default)===null||d===void 0?void 0:d.call(t),m)}}}),Dy=()=>({}),My={name:"Equation",common:_e,self:Dy},Ay={name:"FloatButtonGroup",common:_e,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},V0={name:"dark",common:_e,Alert:sh,Anchor:bh,AutoComplete:Oh,Avatar:Ys,AvatarGroup:jh,BackTop:Wh,Badge:Uh,Breadcrumb:Yh,Button:gn,ButtonGroup:Kv,Calendar:fp,Card:od,Carousel:xp,Cascader:wp,Checkbox:Ko,Code:id,Collapse:Fp,CollapseTransition:Bp,ColorPicker:Dp,DataTable:zg,DatePicker:_m,Descriptions:nb,Dialog:ac,Divider:cv,Drawer:pv,Dropdown:Ii,DynamicInput:Bv,DynamicTags:_v,Element:Nv,Empty:Fo,Ellipsis:Cd,Equation:My,Flex:jv,Form:Yv,GradientText:Gv,Icon:nm,IconWrapper:xC,Image:CC,Input:Tn,InputNumber:Qv,LegacyTransfer:DC,Layout:tx,List:ax,LoadingBar:Rb,Log:ix,Menu:cx,Mention:lx,Message:Mb,Modal:hb,Notification:Gb,PageHeader:hx,Pagination:md,Popconfirm:mx,Popover:Io,Popselect:dd,Progress:Tc,QrCode:KC,Radio:Sd,Rate:vx,Result:yx,Row:ox,Scrollbar:pn,Select:hd,Skeleton:ty,Slider:Sx,Space:Sc,Spin:Rx,Statistic:Px,Steps:Fx,Switch:Ix,Table:Ax,Tabs:Ex,Tag:Ds,Thing:Nx,TimePicker:qd,Timeline:Vx,Tooltip:oa,Transfer:Ux,Tree:Mc,TreeSelect:qx,Typography:Gx,Upload:Zx,Watermark:Qx,Split:ay,FloatButton:eC,FloatButtonGroup:Ay,Marquee:AC};export{P0 as $,k0 as A,b0 as B,I0 as C,F0 as D,Wg as E,m0 as F,d0 as G,gg as H,cC as I,M0 as J,z0 as K,x0 as L,Dn as M,bp as N,N0 as O,At as P,Tv as Q,v0 as R,O0 as S,A0 as T,s0 as U,l0 as V,B0 as W,Lh as X,i0 as Y,T0 as Z,$0 as _,R0 as a,Ib as a0,jb as a1,kb as a2,Kb as a3,rv as a4,S0 as a5,V0 as a6,lg as a7,g0 as a8,j0 as a9,ry as aa,JC as ab,h0 as ac,p0 as ad,E0 as ae,L0 as af,w0 as ag,r0 as ah,Ph as ai,a0 as aj,f0 as ak,jg as al,Bd as am,c0 as an,fC as b,mp as c,o0 as d,C0 as e,oC as f,bC as g,D0 as h,uc as i,hm as j,Nd as k,Pg as l,cc as m,fg as n,H0 as o,Rr as p,u0 as q,y0 as r,ii as s,cy as t,mb as u,_0 as v,jr as w,Di as x,Od as y,n0 as z}; +`).map(ve=>{const ce=s.measureText(ve).width;return K=Math.max(K,ce),{width:ce,line:ve}}).forEach(({line:ve,width:ce},V)=>{const E=le==="left"?0:le==="center"?(K-ce)/2:K-ce;s.fillText(ve,H+E,U+F*d*(V+1))}),r.value=i.toDataURL()}else y||(s.clearRect(0,0,i.width,i.height),r.value=i.toDataURL())}else of("watermark","Canvas is not supported in the browser.")}),()=>{var d;const{globalRotate:c,fullscreen:u,zIndex:f}=e,p=n.value,g=c!==0&&u,h="max(142vh, 142vw)",m=a("div",{class:[`${p}-watermark`,c!==0&&`${p}-watermark--global-rotate`,u&&`${p}-watermark--fullscreen`],style:{transform:c?`translateX(-50%) translateY(-50%) rotate(${c}deg)`:void 0,zIndex:g?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(${r.value}), url(${r.value})`:`url(${r.value})`}});return e.fullscreen&&!c?m:a("div",{class:[`${p}-watermark-container`,c!==0&&`${p}-watermark-container--global-rotate`,u&&`${p}-watermark-container--fullscreen`,e.selectable&&`${p}-watermark-container--selectable`],style:{zIndex:g?f:void 0}},(d=t.default)===null||d===void 0?void 0:d.call(t),m)}}}),Dy=()=>({}),My={name:"Equation",common:_e,self:Dy},Ay={name:"FloatButtonGroup",common:_e,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},V0={name:"dark",common:_e,Alert:sh,Anchor:bh,AutoComplete:Oh,Avatar:Ys,AvatarGroup:jh,BackTop:Wh,Badge:Uh,Breadcrumb:Yh,Button:gn,ButtonGroup:Kv,Calendar:fp,Card:od,Carousel:xp,Cascader:wp,Checkbox:Ko,Code:id,Collapse:Fp,CollapseTransition:Bp,ColorPicker:Dp,DataTable:zg,DatePicker:_m,Descriptions:nb,Dialog:ac,Divider:cv,Drawer:pv,Dropdown:Ii,DynamicInput:Bv,DynamicTags:_v,Element:Nv,Empty:Fo,Ellipsis:Cd,Equation:My,Flex:jv,Form:Yv,GradientText:Gv,Icon:nm,IconWrapper:xC,Image:CC,Input:Tn,InputNumber:Qv,LegacyTransfer:DC,Layout:tx,List:ax,LoadingBar:Rb,Log:ix,Menu:cx,Mention:lx,Message:Mb,Modal:hb,Notification:Gb,PageHeader:hx,Pagination:md,Popconfirm:mx,Popover:Io,Popselect:dd,Progress:Tc,QrCode:KC,Radio:Sd,Rate:vx,Result:yx,Row:ox,Scrollbar:pn,Select:hd,Skeleton:ty,Slider:Sx,Space:Sc,Spin:Rx,Statistic:Px,Steps:Fx,Switch:Ix,Table:Ax,Tabs:Ex,Tag:Ds,Thing:Nx,TimePicker:qd,Timeline:Vx,Tooltip:oa,Transfer:Ux,Tree:Mc,TreeSelect:qx,Typography:Gx,Upload:Zx,Watermark:Qx,Split:ay,FloatButton:eC,FloatButtonGroup:Ay,Marquee:AC};export{P0 as $,k0 as A,b0 as B,I0 as C,F0 as D,Wg as E,m0 as F,d0 as G,gg as H,cC as I,M0 as J,z0 as K,x0 as L,Dn as M,bp as N,N0 as O,At as P,Tv as Q,v0 as R,O0 as S,A0 as T,s0 as U,l0 as V,B0 as W,Lh as X,i0 as Y,T0 as Z,$0 as _,R0 as a,Ib as a0,jb as a1,kb as a2,Kb as a3,rv as a4,S0 as a5,V0 as a6,lg as a7,g0 as a8,j0 as a9,ry as aa,JC as ab,h0 as ac,p0 as ad,E0 as ae,L0 as af,r0 as ag,Ph as ah,a0 as ai,jg as aj,Bd as ak,w0 as al,f0 as am,c0 as an,fC as b,mp as c,o0 as d,C0 as e,oC as f,bC as g,D0 as h,uc as i,hm as j,Nd as k,Pg as l,cc as m,fg as n,H0 as o,Rr as p,u0 as q,y0 as r,ii as s,cy as t,mb as u,_0 as v,jr as w,Di as x,Od as y,n0 as z}; diff --git a/js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js.gz b/js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js.gz similarity index 98% rename from js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js.gz rename to js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js.gz index b4f476d1..56ba1c63 100644 Binary files a/js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js.gz and b/js/naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js.gz differ diff --git a/js/set-function-length@1.2.2-l0sNRNKZ.js b/js/object-inspect@1.13.3-l0sNRNKZ.js similarity index 100% rename from js/set-function-length@1.2.2-l0sNRNKZ.js rename to js/object-inspect@1.13.3-l0sNRNKZ.js diff --git a/js/set-function-length@1.2.2-l0sNRNKZ.js.gz b/js/object-inspect@1.13.3-l0sNRNKZ.js.gz similarity index 100% rename from js/set-function-length@1.2.2-l0sNRNKZ.js.gz rename to js/object-inspect@1.13.3-l0sNRNKZ.js.gz diff --git a/js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js b/js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js similarity index 100% rename from js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js rename to js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js diff --git a/js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js.gz b/js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js.gz similarity index 100% rename from js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js.gz rename to js/pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js.gz diff --git a/js/print-js@1.6.0-BptnCCm-.js b/js/print-js@1.6.0-BptnCCm-.js new file mode 100644 index 00000000..89086987 --- /dev/null +++ b/js/print-js@1.6.0-BptnCCm-.js @@ -0,0 +1 @@ +import{g as O}from"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";var v={exports:{}},j;function S(){return j||(j=1,function(M,C){(function(a,n){M.exports=n()})(window,function(){return function(E){var a={};function n(o){if(a[o])return a[o].exports;var s=a[o]={i:o,l:!1,exports:{}};return E[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=E,n.c=a,n.d=function(o,s,f){n.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:f})},n.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},n.t=function(o,s){if(s&1&&(o=n(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var f=Object.create(null);if(n.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var b in o)n.d(f,b,(function(i){return o[i]}).bind(null,b));return f},n.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(s,"a",s),s},n.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},n.p="",n(n.s=0)}({"./src/index.js":function(E,a,n){n.r(a),n("./src/sass/index.scss");var o=n("./src/js/init.js"),s=o.default.init;typeof window<"u"&&(window.printJS=s),a.default=s},"./src/js/browser.js":function(E,a,n){n.r(a);var o={isFirefox:function(){return typeof InstallTrigger<"u"},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode},isEdge:function(){return!o.isIE()&&!!window.StyleMedia},isChrome:function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!f.chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||navigator.userAgent.toLowerCase().indexOf("safari")!==-1},isIOSChrome:function(){return navigator.userAgent.toLowerCase().indexOf("crios")!==-1}};a.default=o},"./src/js/functions.js":function(E,a,n){n.r(a),n.d(a,"addWrapper",function(){return b}),n.d(a,"capitalizePrint",function(){return i}),n.d(a,"collectStyles",function(){return l}),n.d(a,"addHeader",function(){return e}),n.d(a,"cleanUp",function(){return u}),n.d(a,"isRawHTML",function(){return y});var o=n("./src/js/modal.js"),s=n("./src/js/browser.js");function f(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(c){return typeof c}:f=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},f(t)}function b(t,d){var c="font-family:"+d.font+" !important; font-size: "+d.font_size+" !important; width:100%;";return'
'+t+"
"}function i(t){return t.charAt(0).toUpperCase()+t.slice(1)}function l(t,d){for(var c=document.defaultView||window,h="",p=c.getComputedStyle(t,""),m=0;m]*>(.*?)");return d.test(t)}},"./src/js/html.js":function(E,a,n){n.r(a);var o=n("./src/js/functions.js"),s=n("./src/js/print.js");function f(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(e){return typeof e}:f=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(l)}a.default={print:function(r,e){var u=i(r.printable)?r.printable:document.getElementById(r.printable);if(!u){window.console.error("Invalid HTML element id: "+r.printable);return}r.printableElement=b(u,r),r.header&&Object(o.addHeader)(r.printableElement,r),s.default.send(r,e)}};function b(l,r){for(var e=l.cloneNode(),u=Array.prototype.slice.call(l.childNodes),y=0;y"+t.documentTitle+"",t.css&&(Array.isArray(t.css)||(t.css=[t.css]),t.css.forEach(function(g){p.srcdoc+=''})),p.srcdoc+=""),t.type){case"pdf":if(o.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var m=window.open(t.fallbackPrintable,"_blank");m.focus(),t.onIncompatibleBrowser()}catch(g){t.onError(g)}finally{t.showModal&&s.default.close(),t.onLoadingEnd&&t.onLoadingEnd()}else f.default.print(t,p);break;case"image":l.default.print(t,p);break;case"html":b.default.print(t,p);break;case"raw-html":i.default.print(t,p);break;case"json":r.default.print(t,p);break}}}},"./src/js/json.js":function(E,a,n){n.r(a);var o=n("./src/js/functions.js"),s=n("./src/js/print.js");function f(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(r){return typeof r}:f=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},f(i)}a.default={print:function(l,r){if(f(l.printable)!=="object")throw new Error("Invalid javascript data object (JSON).");if(typeof l.repeatTableHeader!="boolean")throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!l.properties||!Array.isArray(l.properties))throw new Error("Invalid properties array for your JSON data.");l.properties=l.properties.map(function(e){return{field:f(e)==="object"?e.field:e,displayName:f(e)==="object"?e.displayName:e,columnSize:f(e)==="object"&&e.columnSize?e.columnSize+";":100/l.properties.length+"%;"}}),l.printableElement=document.createElement("div"),l.header&&Object(o.addHeader)(l.printableElement,l),l.printableElement.innerHTML+=b(l),s.default.send(l,r)}};function b(i){var l=i.printable,r=i.properties,e='';i.repeatTableHeader&&(e+=""),e+="";for(var u=0;u'+Object(o.capitalizePrint)(r[u].displayName)+"";e+="",i.repeatTableHeader&&(e+=""),e+="";for(var y=0;y";for(var t=0;t1)for(var h=0;h'+d+""}e+=""}return e+="
",e}},"./src/js/modal.js":function(E,a,n){n.r(a);var o={show:function(f){var b="font-family:sans-serif; display:table; text-align:center; font-weight:300; font-size:30px; left:0; top:0;position:fixed; z-index: 9990;color: #0460B5; width: 100%; height: 100%; background-color:rgba(255,255,255,.9);transition: opacity .3s ease;",i=document.createElement("div");i.setAttribute("style",b),i.setAttribute("id","printJS-Modal");var l=document.createElement("div");l.setAttribute("style","display:table-cell; vertical-align:middle; padding-bottom:100px;");var r=document.createElement("div");r.setAttribute("class","printClose"),r.setAttribute("id","printClose"),l.appendChild(r);var e=document.createElement("span");e.setAttribute("class","printSpinner"),l.appendChild(e);var u=document.createTextNode(f.modalMessage);l.appendChild(u),i.appendChild(l),document.getElementsByTagName("body")[0].appendChild(i),document.getElementById("printClose").addEventListener("click",function(){o.close()})},close:function(){var f=document.getElementById("printJS-Modal");f&&f.parentNode.removeChild(f)}};a.default=o},"./src/js/pdf.js":function(E,a,n){n.r(a);var o=n("./src/js/print.js"),s=n("./src/js/functions.js");a.default={print:function(i,l){if(i.base64){var r=Uint8Array.from(atob(i.printable),function(u){return u.charCodeAt(0)});f(i,l,r);return}i.printable=/^(blob|http|\/\/)/i.test(i.printable)?i.printable:window.location.origin+(i.printable.charAt(0)!=="/"?"/"+i.printable:i.printable);var e=new window.XMLHttpRequest;e.responseType="arraybuffer",e.addEventListener("error",function(){Object(s.cleanUp)(i),i.onError(e.statusText,e)}),e.addEventListener("load",function(){if([200,201].indexOf(e.status)===-1){Object(s.cleanUp)(i),i.onError(e.statusText,e);return}f(i,l,e.response)}),e.open("GET",i.printable,!0),e.send()}};function f(b,i,l){var r=new window.Blob([l],{type:"application/pdf"});r=window.URL.createObjectURL(r),i.setAttribute("src",r),o.default.send(b,i)}},"./src/js/print.js":function(E,a,n){n.r(a);var o=n("./src/js/browser.js"),s=n("./src/js/functions.js"),f={send:function(e,u){document.getElementsByTagName("body")[0].appendChild(u);var y=document.getElementById(e.frameId);y.onload=function(){if(e.type==="pdf"){o.default.isFirefox()?setTimeout(function(){return b(y,e)},1e3):b(y,e);return}var t=y.contentWindow||y.contentDocument;if(t.document&&(t=t.document),t.body.appendChild(e.printableElement),e.type!=="pdf"&&e.style){var d=document.createElement("style");d.innerHTML=e.style,t.head.appendChild(d)}var c=t.getElementsByTagName("img");c.length>0?i(Array.from(c)).then(function(){return b(y,e)}):b(y,e)}}};function b(r,e){try{if(r.focus(),o.default.isEdge()||o.default.isIE())try{r.contentWindow.document.execCommand("print",!1,null)}catch{r.contentWindow.print()}else r.contentWindow.print()}catch(u){e.onError(u)}finally{o.default.isFirefox()&&(r.style.visibility="hidden",r.style.left="-1px"),Object(s.cleanUp)(e)}}function i(r){var e=r.map(function(u){if(u.src&&u.src!==window.location.href)return l(u)});return Promise.all(e)}function l(r){return new Promise(function(e){var u=function y(){!r||typeof r.naturalWidth>"u"||r.naturalWidth===0||!r.complete?setTimeout(y,500):e()};u()})}a.default=f},"./src/js/raw-html.js":function(E,a,n){n.r(a);var o=n("./src/js/print.js");a.default={print:function(f,b){f.printableElement=document.createElement("div"),f.printableElement.setAttribute("style","width:100%"),f.printableElement.innerHTML=f.printable,o.default.send(f,b)}}},"./src/sass/index.scss":function(E,a,n){},0:function(E,a,n){E.exports=n("./src/index.js")}}).default})}(v)),v.exports}var w=S();const A=O(w);export{A as p}; diff --git a/js/print-js@1.6.0-BptnCCm-.js.gz b/js/print-js@1.6.0-BptnCCm-.js.gz new file mode 100644 index 00000000..f37a01a7 Binary files /dev/null and b/js/print-js@1.6.0-BptnCCm-.js.gz differ diff --git a/js/print-js@1.6.0-CWwD-D0p.js b/js/print-js@1.6.0-CWwD-D0p.js deleted file mode 100644 index 6b8c7e86..00000000 --- a/js/print-js@1.6.0-CWwD-D0p.js +++ /dev/null @@ -1 +0,0 @@ -import{g as O}from"./call-bind@1.0.7-BosuxZz1.js";var v={exports:{}},j;function S(){return j||(j=1,function(M,C){(function(a,n){M.exports=n()})(window,function(){return function(E){var a={};function n(o){if(a[o])return a[o].exports;var s=a[o]={i:o,l:!1,exports:{}};return E[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=E,n.c=a,n.d=function(o,s,f){n.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:f})},n.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},n.t=function(o,s){if(s&1&&(o=n(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var f=Object.create(null);if(n.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var b in o)n.d(f,b,(function(i){return o[i]}).bind(null,b));return f},n.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(s,"a",s),s},n.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},n.p="",n(n.s=0)}({"./src/index.js":function(E,a,n){n.r(a),n("./src/sass/index.scss");var o=n("./src/js/init.js"),s=o.default.init;typeof window<"u"&&(window.printJS=s),a.default=s},"./src/js/browser.js":function(E,a,n){n.r(a);var o={isFirefox:function(){return typeof InstallTrigger<"u"},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode},isEdge:function(){return!o.isIE()&&!!window.StyleMedia},isChrome:function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!f.chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||navigator.userAgent.toLowerCase().indexOf("safari")!==-1},isIOSChrome:function(){return navigator.userAgent.toLowerCase().indexOf("crios")!==-1}};a.default=o},"./src/js/functions.js":function(E,a,n){n.r(a),n.d(a,"addWrapper",function(){return b}),n.d(a,"capitalizePrint",function(){return i}),n.d(a,"collectStyles",function(){return l}),n.d(a,"addHeader",function(){return e}),n.d(a,"cleanUp",function(){return u}),n.d(a,"isRawHTML",function(){return y});var o=n("./src/js/modal.js"),s=n("./src/js/browser.js");function f(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(c){return typeof c}:f=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},f(t)}function b(t,d){var c="font-family:"+d.font+" !important; font-size: "+d.font_size+" !important; width:100%;";return'
'+t+"
"}function i(t){return t.charAt(0).toUpperCase()+t.slice(1)}function l(t,d){for(var c=document.defaultView||window,h="",p=c.getComputedStyle(t,""),m=0;m]*>(.*?)");return d.test(t)}},"./src/js/html.js":function(E,a,n){n.r(a);var o=n("./src/js/functions.js"),s=n("./src/js/print.js");function f(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(e){return typeof e}:f=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(l)}a.default={print:function(r,e){var u=i(r.printable)?r.printable:document.getElementById(r.printable);if(!u){window.console.error("Invalid HTML element id: "+r.printable);return}r.printableElement=b(u,r),r.header&&Object(o.addHeader)(r.printableElement,r),s.default.send(r,e)}};function b(l,r){for(var e=l.cloneNode(),u=Array.prototype.slice.call(l.childNodes),y=0;y"+t.documentTitle+"",t.css&&(Array.isArray(t.css)||(t.css=[t.css]),t.css.forEach(function(g){p.srcdoc+=''})),p.srcdoc+=""),t.type){case"pdf":if(o.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var m=window.open(t.fallbackPrintable,"_blank");m.focus(),t.onIncompatibleBrowser()}catch(g){t.onError(g)}finally{t.showModal&&s.default.close(),t.onLoadingEnd&&t.onLoadingEnd()}else f.default.print(t,p);break;case"image":l.default.print(t,p);break;case"html":b.default.print(t,p);break;case"raw-html":i.default.print(t,p);break;case"json":r.default.print(t,p);break}}}},"./src/js/json.js":function(E,a,n){n.r(a);var o=n("./src/js/functions.js"),s=n("./src/js/print.js");function f(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(r){return typeof r}:f=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},f(i)}a.default={print:function(l,r){if(f(l.printable)!=="object")throw new Error("Invalid javascript data object (JSON).");if(typeof l.repeatTableHeader!="boolean")throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!l.properties||!Array.isArray(l.properties))throw new Error("Invalid properties array for your JSON data.");l.properties=l.properties.map(function(e){return{field:f(e)==="object"?e.field:e,displayName:f(e)==="object"?e.displayName:e,columnSize:f(e)==="object"&&e.columnSize?e.columnSize+";":100/l.properties.length+"%;"}}),l.printableElement=document.createElement("div"),l.header&&Object(o.addHeader)(l.printableElement,l),l.printableElement.innerHTML+=b(l),s.default.send(l,r)}};function b(i){var l=i.printable,r=i.properties,e='';i.repeatTableHeader&&(e+=""),e+="";for(var u=0;u'+Object(o.capitalizePrint)(r[u].displayName)+"";e+="",i.repeatTableHeader&&(e+=""),e+="";for(var y=0;y";for(var t=0;t1)for(var h=0;h'+d+""}e+=""}return e+="
",e}},"./src/js/modal.js":function(E,a,n){n.r(a);var o={show:function(f){var b="font-family:sans-serif; display:table; text-align:center; font-weight:300; font-size:30px; left:0; top:0;position:fixed; z-index: 9990;color: #0460B5; width: 100%; height: 100%; background-color:rgba(255,255,255,.9);transition: opacity .3s ease;",i=document.createElement("div");i.setAttribute("style",b),i.setAttribute("id","printJS-Modal");var l=document.createElement("div");l.setAttribute("style","display:table-cell; vertical-align:middle; padding-bottom:100px;");var r=document.createElement("div");r.setAttribute("class","printClose"),r.setAttribute("id","printClose"),l.appendChild(r);var e=document.createElement("span");e.setAttribute("class","printSpinner"),l.appendChild(e);var u=document.createTextNode(f.modalMessage);l.appendChild(u),i.appendChild(l),document.getElementsByTagName("body")[0].appendChild(i),document.getElementById("printClose").addEventListener("click",function(){o.close()})},close:function(){var f=document.getElementById("printJS-Modal");f&&f.parentNode.removeChild(f)}};a.default=o},"./src/js/pdf.js":function(E,a,n){n.r(a);var o=n("./src/js/print.js"),s=n("./src/js/functions.js");a.default={print:function(i,l){if(i.base64){var r=Uint8Array.from(atob(i.printable),function(u){return u.charCodeAt(0)});f(i,l,r);return}i.printable=/^(blob|http|\/\/)/i.test(i.printable)?i.printable:window.location.origin+(i.printable.charAt(0)!=="/"?"/"+i.printable:i.printable);var e=new window.XMLHttpRequest;e.responseType="arraybuffer",e.addEventListener("error",function(){Object(s.cleanUp)(i),i.onError(e.statusText,e)}),e.addEventListener("load",function(){if([200,201].indexOf(e.status)===-1){Object(s.cleanUp)(i),i.onError(e.statusText,e);return}f(i,l,e.response)}),e.open("GET",i.printable,!0),e.send()}};function f(b,i,l){var r=new window.Blob([l],{type:"application/pdf"});r=window.URL.createObjectURL(r),i.setAttribute("src",r),o.default.send(b,i)}},"./src/js/print.js":function(E,a,n){n.r(a);var o=n("./src/js/browser.js"),s=n("./src/js/functions.js"),f={send:function(e,u){document.getElementsByTagName("body")[0].appendChild(u);var y=document.getElementById(e.frameId);y.onload=function(){if(e.type==="pdf"){o.default.isFirefox()?setTimeout(function(){return b(y,e)},1e3):b(y,e);return}var t=y.contentWindow||y.contentDocument;if(t.document&&(t=t.document),t.body.appendChild(e.printableElement),e.type!=="pdf"&&e.style){var d=document.createElement("style");d.innerHTML=e.style,t.head.appendChild(d)}var c=t.getElementsByTagName("img");c.length>0?i(Array.from(c)).then(function(){return b(y,e)}):b(y,e)}}};function b(r,e){try{if(r.focus(),o.default.isEdge()||o.default.isIE())try{r.contentWindow.document.execCommand("print",!1,null)}catch{r.contentWindow.print()}else r.contentWindow.print()}catch(u){e.onError(u)}finally{o.default.isFirefox()&&(r.style.visibility="hidden",r.style.left="-1px"),Object(s.cleanUp)(e)}}function i(r){var e=r.map(function(u){if(u.src&&u.src!==window.location.href)return l(u)});return Promise.all(e)}function l(r){return new Promise(function(e){var u=function y(){!r||typeof r.naturalWidth>"u"||r.naturalWidth===0||!r.complete?setTimeout(y,500):e()};u()})}a.default=f},"./src/js/raw-html.js":function(E,a,n){n.r(a);var o=n("./src/js/print.js");a.default={print:function(f,b){f.printableElement=document.createElement("div"),f.printableElement.setAttribute("style","width:100%"),f.printableElement.innerHTML=f.printable,o.default.send(f,b)}}},"./src/sass/index.scss":function(E,a,n){},0:function(E,a,n){E.exports=n("./src/index.js")}}).default})}(v)),v.exports}var w=S();const A=O(w);export{A as p}; diff --git a/js/print-js@1.6.0-CWwD-D0p.js.gz b/js/print-js@1.6.0-CWwD-D0p.js.gz deleted file mode 100644 index 1fa6c79e..00000000 Binary files a/js/print-js@1.6.0-CWwD-D0p.js.gz and /dev/null differ diff --git a/js/side-channel@1.0.6-l0sNRNKZ.js b/js/qs@6.14.0-l0sNRNKZ.js similarity index 100% rename from js/side-channel@1.0.6-l0sNRNKZ.js rename to js/qs@6.14.0-l0sNRNKZ.js diff --git a/js/side-channel@1.0.6-l0sNRNKZ.js.gz b/js/qs@6.14.0-l0sNRNKZ.js.gz similarity index 100% rename from js/side-channel@1.0.6-l0sNRNKZ.js.gz rename to js/qs@6.14.0-l0sNRNKZ.js.gz diff --git a/js/screenfull@5.2.0-DQHhvod-.js b/js/screenfull@5.2.0-CClqR5rE.js similarity index 96% rename from js/screenfull@5.2.0-DQHhvod-.js rename to js/screenfull@5.2.0-CClqR5rE.js index 55eb3908..83a63ca5 100644 --- a/js/screenfull@5.2.0-DQHhvod-.js +++ b/js/screenfull@5.2.0-CClqR5rE.js @@ -1,4 +1,4 @@ -import{g as d}from"./call-bind@1.0.7-BosuxZz1.js";var o={exports:{}};/*! +import{g as d}from"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";var o={exports:{}};/*! * screenfull * v5.2.0 - 2021-11-03 * (c) Sindre Sorhus; MIT License diff --git a/js/screenfull@5.2.0-CClqR5rE.js.gz b/js/screenfull@5.2.0-CClqR5rE.js.gz new file mode 100644 index 00000000..b4b6aec2 Binary files /dev/null and b/js/screenfull@5.2.0-CClqR5rE.js.gz differ diff --git a/js/screenfull@5.2.0-DQHhvod-.js.gz b/js/screenfull@5.2.0-DQHhvod-.js.gz deleted file mode 100644 index 68a0cdca..00000000 Binary files a/js/screenfull@5.2.0-DQHhvod-.js.gz and /dev/null differ diff --git a/js/side-channel-list@1.0.0-l0sNRNKZ.js b/js/side-channel-list@1.0.0-l0sNRNKZ.js new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/js/side-channel-list@1.0.0-l0sNRNKZ.js @@ -0,0 +1 @@ + diff --git a/js/side-channel-list@1.0.0-l0sNRNKZ.js.gz b/js/side-channel-list@1.0.0-l0sNRNKZ.js.gz new file mode 100644 index 00000000..7bb6dce8 Binary files /dev/null and b/js/side-channel-list@1.0.0-l0sNRNKZ.js.gz differ diff --git a/js/side-channel-map@1.0.1-l0sNRNKZ.js b/js/side-channel-map@1.0.1-l0sNRNKZ.js new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/js/side-channel-map@1.0.1-l0sNRNKZ.js @@ -0,0 +1 @@ + diff --git a/js/side-channel-map@1.0.1-l0sNRNKZ.js.gz b/js/side-channel-map@1.0.1-l0sNRNKZ.js.gz new file mode 100644 index 00000000..7bb6dce8 Binary files /dev/null and b/js/side-channel-map@1.0.1-l0sNRNKZ.js.gz differ diff --git a/js/side-channel-weakmap@1.0.2-l0sNRNKZ.js b/js/side-channel-weakmap@1.0.2-l0sNRNKZ.js new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/js/side-channel-weakmap@1.0.2-l0sNRNKZ.js @@ -0,0 +1 @@ + diff --git a/js/side-channel-weakmap@1.0.2-l0sNRNKZ.js.gz b/js/side-channel-weakmap@1.0.2-l0sNRNKZ.js.gz new file mode 100644 index 00000000..7bb6dce8 Binary files /dev/null and b/js/side-channel-weakmap@1.0.2-l0sNRNKZ.js.gz differ diff --git a/js/side-channel@1.1.0-l0sNRNKZ.js b/js/side-channel@1.1.0-l0sNRNKZ.js new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/js/side-channel@1.1.0-l0sNRNKZ.js @@ -0,0 +1 @@ + diff --git a/js/side-channel@1.1.0-l0sNRNKZ.js.gz b/js/side-channel@1.1.0-l0sNRNKZ.js.gz new file mode 100644 index 00000000..7bb6dce8 Binary files /dev/null and b/js/side-channel@1.1.0-l0sNRNKZ.js.gz differ diff --git a/js/table-pro-demo-D9QXUfgj.js b/js/table-pro-demo-D9QXUfgj.js new file mode 100644 index 00000000..52b7d018 --- /dev/null +++ b/js/table-pro-demo-D9QXUfgj.js @@ -0,0 +1 @@ +import{X as Z,Y as _,T as $,z as x,Z as Q,$ as W}from"./hooks-DAFrMGjY.js";import{m as ee}from"./utils-Bic_iDtY.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./print-js@1.6.0-BptnCCm-.js";import{a as te}from"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./instance-Lnu85bZk.js";import{M as G}from"./mockjs@1.1.0-D7bfvBF5.js";import{d as S}from"./dayjs@1.11.13-BWvakrn1.js";import{w as ae,al as b,M as O,H as ue,am as oe,e as f,P as m,N as U,I,aj as z,an as h}from"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import{m as re,b as e,F as le,J as l,q as ie}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{k as p}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";import"./axios@1.7.9-upsvKRUO.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";function se(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!ie(a)}const ft=re({name:"TableProDemo",setup(){const{format:a}=W(),[q,{runTableRequest:T,getCurrentTableRequestParams:E,print:v,downloadCsv:n}]=Z(),i=p([]),g=p([{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(ae,{type:"info",bordered:!1,style:"margin-right: 6px"},se(o)?o:{default:()=>[o]}))},{title:"Remark",key:"remark"}]),y=p(0),D=p({}),k=p((()=>{const d=[],o=S().valueOf();for(let r=0;r<30;r++)d.push({key:ee(),name:G.Random.cname(),age:r+20,address:G.Random.city(),tags:["nice","developer"],remark:"我是一条很长很长的备注",status:r%2===0?"success":"error",statusText:r%2===0?"在线":"离线",signTimeStart:S(o).add(r*2,"year").valueOf(),signTimeEnd:S(o).add(r+5,"day").valueOf()});return d})()),w=p({pagination:!0,manual:!1}),[L,{checkedRowKeysBind:j,getKeys:F,getRows:P,clearKey:R,clearAll:t,selectKey:M}]=_(i,g,{rowKey:"key",onChange:(u,d,o)=>{}}),V=p(!0),C=u=>u==null,H=u=>new Promise(d=>{const{page:o=1,pageSize:r=10,name:A,status:K,signTimeStart:N,signTimeEnd:B}=u||{};let s=k.value;const Y=k.value.length;A&&(s=s.filter(c=>c.name.includes(A))),K&&(s=s.filter(c=>c.status===K)),N&&B&&(s=s.filter(c=>c.signTimeStart>=N&&c.signTimeEnd<=B)),s=s.slice((o-1)*r,o*r),setTimeout(()=>{d({code:0,data:s,total:C(K)&&C(A)&&(C(N)||C(B))?Y:s.length,message:"success",page:o,pageSize:r})},1e3)}),{run:J,loading:X}=te(H,{onSuccess:u=>{const{data:d,total:o}=u;i.value=d,y.value=o}});return{tableDataRef:i,baseColumns:g,itemCountRef:y,loadingGetPersonList:X,runGetPersonList:J,conditionRef:D,radioRef:w,runTableRequest:T,tableProRegister:q,print:v,downloadCsv:n,checkedRowKeysBind:j,checkedRowKeys:L,getKeys:F,getRows:P,clearKey:R,clearAll:t,collapseRef:V,selectKey:M}},render(){const{tableDataRef:a,baseColumns:q,itemCountRef:T,loadingGetPersonList:E,runGetPersonList:v,conditionRef:n,radioRef:i,runTableRequest:g,tableProRegister:y,print:D,downloadCsv:k,checkedRowKeysBind:w,getKeys:L,getRows:j,clearKey:F,clearAll:P,selectKey:R}=this;return e(f,{vertical:!0},{default:()=>[e($,{open:this.collapseRef,bordered:!0},{default:()=>e(le,null,[e(b,{label:"用户名"},{default:()=>[e(O,{value:n.name,"onUpdate:value":t=>n.name=t,clearable:!0},null)]}),e(b,{label:"状态"},{default:()=>[e(ue,{value:n.status,"onUpdate:value":t=>n.status=t,clearable:!0,options:[{label:"成功",value:"success"},{label:"失败",value:"error"}]},null)]}),e(b,{label:"登陆时间"},{default:()=>[e(oe,{type:"datetimerange",value:n.RangeTime,"onUpdate:value":t=>n.RangeTime=t,clearable:!0},null)]}),e(b,{label:"演示折叠的条件框"},{default:()=>[e(O,{readonly:!0,placeholder:"我只是为了占位"},null)]})]),action:()=>e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>g(),loading:E},{default:()=>[l("查询")]})]}),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(U,{title:"常用高级拓展功能"},{default:()=>[e(f,null,{default:()=>[e(I,{label:"分页"},{default:()=>[e(z,{value:i.pagination,"onUpdate:value":t=>i.pagination=t},{default:()=>[e(h,{value:!0},{default:()=>[l("显示分页")]}),e(h,{value:!1},{default:()=>[l("隐藏分页")]})]})]}),e(I,{label:"自动更新"},{default:()=>[e(z,{value:i.manual,"onUpdate:value":t=>i.manual=t},{default:()=>[e(h,{value:!1},{default:()=>[l("自动更新")]}),e(h,{value:!0},{default:()=>[l("取消自动")]})]})]})]})]}),e(U,{title:"useTablePro 部分方法"},{default:()=>[e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>D()},{default:()=>[l("打印")]}),e(m,{type:"primary",onClick:()=>k()},{default:()=>[l("下载 csv")]})]})]}),e(U,{title:"useCheckedRowKeys 部分方法"},{default:()=>[e(f,null,{default:()=>[e(m,{type:"primary",onClick:()=>{const t=a[1].key;R(t)}},{default:()=>[l("选中第二行")]}),e(m,{type:"primary",onClick:()=>{const t=a[1].key;F(t)}},{default:()=>[l("取消选中第二行")]}),e(m,{type:"primary",onClick:()=>{a==null||a.forEach(t=>R(t.key))}},{default:()=>[l("选中当前页面所有行")]}),e(m,{type:"primary",onClick:()=>{P()}},{default:()=>[l("取消所有已选中行")]})]})]}),e(Q,{onRegister:y,data:a,columns:this.baseColumns,"onUpdate:columns":t=>this.baseColumns=t,loading:E,paginationCount:T,request:v,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{ft as default}; diff --git a/js/table-pro-demo-D9QXUfgj.js.gz b/js/table-pro-demo-D9QXUfgj.js.gz new file mode 100644 index 00000000..a460fbeb Binary files /dev/null and b/js/table-pro-demo-D9QXUfgj.js.gz differ diff --git a/js/utils-4asTneEs.js.gz b/js/utils-4asTneEs.js.gz deleted file mode 100644 index 351643e4..00000000 Binary files a/js/utils-4asTneEs.js.gz and /dev/null differ diff --git a/js/utils-4asTneEs.js b/js/utils-Bic_iDtY.js similarity index 97% rename from js/utils-4asTneEs.js rename to js/utils-Bic_iDtY.js index a1c4309a..4416f8ee 100644 --- a/js/utils-4asTneEs.js +++ b/js/utils-Bic_iDtY.js @@ -1 +1 @@ -import{u as ve,a as Pe,b as Fe,c as Re,L as Ie,S as Te,A as je,d as Be}from"./hooks-Bi_Q9OFa.js";import{c as i}from"./currency.js@2.0.4-9OAR_aOO.js";import{c as C}from"./crypto-js@4.2.0-CO3T8151.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{z as Me,c as De,r as Oe}from"./lodash-es@4.17.21-BbYRMHep.js";import{k as Ue,a as Ve,u as ze,v as Ke}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{w as S,j as qe}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";const E=["#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",W={},k={textStyle:{color:"#ffffff"},subtextStyle:{color:"#dddddd"}},L={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},v={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},P={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},F={itemStyle:{borderWidth:0,borderColor:"#ccc"}},R={itemStyle:{borderWidth:0,borderColor:"#ccc"}},I={itemStyle:{borderWidth:0,borderColor:"#ccc"}},T={itemStyle:{borderWidth:0,borderColor:"#ccc"}},j={itemStyle:{borderWidth:0,borderColor:"#ccc"}},B={itemStyle:{borderWidth:0,borderColor:"#ccc"}},M={itemStyle:{borderWidth:0,borderColor:"#ccc"}},D={itemStyle:{color:"#fc97af",color0:"transparent",borderColor:"#fc97af",borderColor0:"#87f7cf",borderWidth:"2"}},O={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"}},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={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)"}}},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)"]}}},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)"]}}},J={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)"]}}},Y={iconStyle:{borderColor:"#999999"},emphasis:{iconStyle:{borderColor:"#666666"}}},N={textStyle:{color:"#999999"},pageTextStyle:{color:"#999999"}},X={axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},Z={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"}}},G={color:["#fc97af","#87f7cf"]},H={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"}},Q={label:{color:"#293441"},emphasis:{label:{color:"#293441"}}},Je={color:E,backgroundColor:A,textStyle:W,title:k,line:L,radar:v,bar:P,pie:F,scatter:R,boxplot:I,parallel:T,sankey:j,funnel:B,gauge:M,candlestick:D,graph:O,map:U,geo:V,categoryAxis:z,valueAxis:K,logAxis:q,timeAxis:J,toolbox:Y,legend:N,tooltip:X,timeline:Z,visualMap:G,dataZoom:H,markPoint:Q},Ye=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:A,bar:P,boxplot:I,candlestick:D,categoryAxis:z,color:E,dataZoom:H,default:Je,funnel:B,gauge:M,geo:V,graph:O,legend:N,line:L,logAxis:q,map:U,markPoint:Q,parallel:T,pie:F,radar:v,sankey:j,scatter:R,textStyle:W,timeAxis:J,timeline:Z,title:k,toolbox:Y,tooltip:X,valueAxis:K,visualMap:G},Symbol.toStringTag,{value:"Module"})),ee=["#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"],te="transparent",oe={},re={textStyle:{color:"#008acd"},subtextStyle:{color:"#aaaaaa"}},le={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},ce={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},se={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},ae={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:{borderWidth:0,borderColor:"#ccc"}},pe={itemStyle:{color:"#d87a80",color0:"#2ec7c9",borderColor:"#d87a80",borderColor0:"#2ec7c9",borderWidth:1}},he={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"}},ye={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)"}}},me={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)"]}}},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:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Ce={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)"]}}},xe={iconStyle:{borderColor:"#2ec7c9"},emphasis:{iconStyle:{borderColor:"#18a4a6"}}},$e={textStyle:{color:"#333333"}},_e={axisPointer:{lineStyle:{color:"#008acd",width:"1"},crossStyle:{color:"#008acd",width:"1"}}},Ee={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"]},We={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"}}},Ne={color:ee,backgroundColor:te,textStyle:oe,title:re,line:le,radar:ce,bar:se,pie:ae,scatter:ne,boxplot:ie,parallel:de,sankey:fe,funnel:ue,gauge:be,candlestick:pe,graph:he,map:ye,geo:me,categoryAxis:Se,valueAxis:ge,logAxis:we,timeAxis:Ce,toolbox:xe,legend:$e,tooltip:_e,timeline:Ee,visualMap:Ae,dataZoom:We,markPoint:ke},Xe=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:te,bar:se,boxplot:ie,candlestick:pe,categoryAxis:Se,color:ee,dataZoom:We,default:Ne,funnel:ue,gauge:be,geo:me,graph:he,legend:$e,line:le,logAxis:we,map:ye,markPoint:ke,parallel:de,pie:ae,radar:ce,sankey:fe,scatter:ne,textStyle:oe,timeAxis:Ce,timeline:Ee,title:re,toolbox:xe,tooltip:_e,valueAxis:ge,visualMap:Ae},Symbol.toStringTag,{value:"Module"})),gt=()=>{const e=Object.assign({"/src/app-config/echart-themes/macarons/macarons-dark.json":Ye,"/src/app-config/echart-themes/macarons/macarons.json":Xe}),o=/\/([^/]+)\.json$/;return Object.keys(e).reduce((r,l)=>{var c;const s=(c=l.match(o))==null?void 0:c[1];if(s)return r.push({name:s,theme:e[l].default}),r;throw new Error(`[RChart Theme Error]: name ${l} is invalid!`)},[])},wt=e=>{const{getAppTheme:o}=ve(),{theme:t}=o();return Object.assign({},e,{text:"loading",color:"#c23531",textColor:t?"#fff":"#000",maskColor:t?"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"})},Ct=()=>({notMerge:!0,lazyUpdate:!0,silent:!1,replaceMerge:[]}),xt=(e,o)=>{var s;const{domToImageOptions:t,printOptions:r}=o??{},{create:l}=Pe(e,{...t,beforeCreate:c=>{var a,n;(a=t==null?void 0:t.beforeCreate)==null||a.call(t,c),(n=window.$loadingBar)==null||n.start()},created(c,a){var n,u;(n=t==null?void 0:t.created)==null||n.call(t,c,a),(u=window.$loadingBar)==null||u.finish()},createdError(c){var a,n;(a=t==null?void 0:t.createdError)==null||a.call(t,c),(n=window.$loadingBar)==null||n.error()}});(s=l("jpeg"))==null||s.then(c=>{const{print:a}=Fe(c,{type:"image",base64:!0,targetStyles:["*"],...Me(r,["type","base64"])});a()})},Ze=".n-menu-item-content--selected",Ge=".n-menu-item",He=".n-menu-item-content--child-active",$t=()=>{const e=f(Ie),o=(e==null?void 0:e.querySelector(Ze))||(e==null?void 0:e.querySelector(He)),t=f(Te);let r=0;const l=e==null?void 0:e.querySelector(Ge);if(t){const{height:s}=t.getBoundingClientRect();r=s}if(o&&e){const s=o.getBoundingClientRect(),c=e.getBoundingClientRect();if(!(s.top>=c.top+r&&s.bottom<=c.bottom)){const n=Re(),u=e.scrollTop,p=l?parseInt(window.getComputedStyle(l).marginTop):6;n({top:s.top-c.top+u-r-p,left:0,behavior:"smooth"})}}};var b=(e=>(e.Windows="Windows",e.MacOS="MacOS",e.Linux="Linux",e.Android="Android",e.IOS="IOS",e.Unknown="Unknown",e))(b||{});const Qe={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:"/"},_t=()=>Qe,Et=(e,o)=>{const t=document.createElement("a");t.href=e,t.download=o,t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)},h=(e,o)=>Object.prototype.toString.call(e).includes(o),At=(e=16,o=62)=>{const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[],l=window.crypto||window.msCrypto;let s=0;for(s=0;s{const e=navigator.userAgent;return/windows/i.test(e)?b.Windows:/macintosh|mac os x/i.test(e)?b.MacOS:/linux/i.test(e)?b.Linux:/android/i.test(e)?b.Android:/iphone|ipad|ipod/i.test(e)?b.IOS:b.Unknown},kt=(e,o)=>{const t=e.split("?").filter(Boolean)[0],r=o.split("?").filter(Boolean)[0],l=/\/$/;return t.replace(l,"")===r.replace(l,"")},g=(e="sessionStorage")=>e==="localStorage"?window.localStorage:window.sessionStorage,y=(e,o)=>{const{prefix:t,prefixKey:r}=o??{};return t?(r||je)+e:e};function Lt(e,o="sessionStorage",t){const r=y(e,t),l=g(o);return Object.keys(l).includes(r)}function vt(e,o,t="sessionStorage",r){if(!e){console.error("[setStorage]: Failed to set stored data: key is empty");return}const l=y(e,r),s=g(t);try{s.setItem(l,JSON.stringify(o))}catch(c){console.error(`[setStorage]: Failed to set stored data for key '${e}'`,c)}}function Pt(e,o="sessionStorage",t){const r=y(e,t),l=g(o),{defaultValue:s}=t??{};try{const c=l.getItem(r);return c===null?s??null:JSON.parse(c)}catch(c){return console.error(`[getStorage]: Failed to get stored data for key '${e}'`,c),s??null}}const Ft=(e,o,t)=>{if(!e){console.error("[removeStorage]: Failed to remove stored data: key is empty");return}const r=y(e,t),l=window.localStorage,s=window.sessionStorage,c=a=>{Object.keys(a).forEach(n=>a.removeItem(y(n,t)))};switch(e){case"__all__":c(l),c(s);break;case"__all_sessionStorage__":c(s);break;case"__all_localStorage__":c(l);break;default:g(o).removeItem(r)}},Rt=(e,o)=>{const r=S(()=>f(e),()=>{const l=f(e);l&&(typeof o=="string"?o.trim().split(" "):o).forEach(c=>{c&&l.classList.add(c)})},{immediate:!0});m(r)},It=(e,o)=>{const r=S(()=>f(e),()=>{const l=f(e);if(l)if(o==="removeAllClass"){const s=l.classList;s.forEach(c=>s.remove(c))}else(typeof o=="string"?o.trim().split(" "):o).forEach(c=>{c&&l.classList.remove(c)})},{immediate:!0});m(r)},Tt=(e,o)=>{const t=Ue(!1),l=S(()=>f(e),()=>{const s=f(e);if(!s)t.value=!1;else{const c=s.className,a=o.trim().split(" ").filter(n=>n!=="");t.value=a.some(n=>c.includes(n))}},{immediate:!0});return m(l),t},et=e=>{const o=["webkit","moz","ms","o"],t={};return o.forEach(r=>{t[`${r}${e.charAt(0).toUpperCase()}${e.slice(1)}`]=e}),t[e]=e,t},jt=(e,o)=>{const t=(s,c)=>{s.split(";").forEach(a=>{const[n,u]=a.split(":");if(n&&u){const p=n.trim(),x=u.trim();if(n.startsWith("--"))c.style.setProperty(p,x);else if(n.startsWith("-"))c.style.setProperty(n,u);else{const $=et(p);Object.keys($).forEach(_=>{c.style.setProperty(_,$[_])}),c.style.setProperty(p,x)}}})},l=S(()=>f(e),()=>{const s=f(e);s&&(h(o,"String")?t(o,s):h(o,"Array")?o.forEach(c=>{t(c,s)}):Object.keys(o).forEach(a=>{t(`${a}: ${o[a]}`,s)}))},{immediate:!0});m(l)},Bt=(e,o=1,t)=>{if(!e)return e;if(e.includes("rgba"))return e.replace(/rgba\((.*?),(.*?),(.*?),.*?\)/,`rgba($1,$2,$3,${o})`);if(e.includes("rgb("))return e.replace("rgb","rgba").replace(")",`, ${o})`);if(e.includes("hsla"))return e.replace(/hsla\((.*?),(.*?),(.*?),.*?\)/,`hsla($1,$2,$3,${o})`);if(e.includes("hsl("))return e.replace("hsl","hsla").replace(")",`, ${o})`);if(e.startsWith("#")){const r=e.replace("#","");try{switch(r.length){case 3:return`rgba(${parseInt(r[0]+r[0],16)}, ${parseInt(r[1]+r[1],16)}, ${parseInt(r[2]+r[2],16)}, ${o})`;case 6:return`rgba(${parseInt(r.slice(0,2),16)}, ${parseInt(r.slice(2,4),16)}, ${parseInt(r.slice(4,6),16)}, ${o})`;case 8:return`rgba(${parseInt(r.slice(0,2),16)}, ${parseInt(r.slice(2,4),16)}, ${parseInt(r.slice(4,6),16)}, ${o})`;default:return t||e}}catch{return e}}return e},Mt=(e,o)=>{const{defaultElement:t}={};if(!e)return t?[t]:null;const r=e.startsWith("attr:")?`[${e.replace("attr:","")}]`:e;try{const l=Array.from(document.querySelectorAll(r));return!l.length&&t?[t]:l}catch(l){return console.error(`[queryElements]: Failed to get elements for selector '${e}'`,l),t?[t]:null}},Dt=(e,o="px")=>e==="auto"?e:typeof e=="number"?e.toString()+o:h(e,"String")&&Be.cssUnit.test(e)?e:e+o,d={precision:8,decimal:"."},w=(e,o,t)=>{if(!(e!=null&&e.length))return i(0,d);if(e.length===1)return i(e[0],d);const r=i(o,d);return e.reduce(t,r)},tt=(e,o)=>{const t={...d,...o},r=i(e,t),{type:l="number"}=t;return l==="number"?r.value:r.toString()},Ot=(...e)=>e.length?e.length===1?i(e[0],d).add(0):w(e,0,(o,t)=>o.add(t)):i(0,d),Ut=(...e)=>{if(!e.length)return i(0,d);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[o,...t]=e;return w(t,o,(r,l)=>r.subtract(l))},Vt=(...e)=>e.length===1?i(e[0],d).multiply(1):w(e,1,(o,t)=>i(o,d).multiply(t)),zt=(...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 o=De(e),t=o.shift();return w(o,t,(r,l)=>i(r,d).divide(l))},Kt=(e,o,t)=>{if(o<=1)return[e||0];if(!e)return new Array(o).fill(0);const r={...d,...t};return i(e,r).distribute(o).map(s=>tt(s,r))};function ot(e,...o){if(Array.isArray(e))e.forEach(t=>ot(t,...o));else return e(...o)}function f(e,o){var r;if(!e)return o;let t;return typeof e=="function"?t=e():Ve(e)?t=((r=e.value)==null?void 0:r.$el)??e.value:t=e,t}function qt(e,o){if(!e){const{defaultElement:t=null}=o??{};return typeof t=="function"?t:()=>t}if(typeof e=="string"||h(e,"Object"))return()=>e;if(typeof e=="function")return e}function m(e){return ze()?(Ke(e),!0):!1}function Jt(e,o){const t=qe(e,o);m(t)}const Le="4cP+dX5FI2EVYzln",Yt=(e,o)=>{try{const r=C.AES.decrypt(e,o||Le).toString(C.enc.Utf8);return JSON.parse(r)}catch(t){console.error(`Unknown error: ${t}`)}},Nt=(e,o)=>C.AES.encrypt(JSON.stringify(e),Le).toString(),Xt=(e,o,t,r)=>{if(!e||typeof e!="object"){console.warn(`[updateObjectValue]: targetObject must be an object, received ${typeof e}`);return}Object.hasOwn(e,o)&&(h(t,"Object")?e[o]={...e[o],...t}:e[o]=t,r==null||r())},Zt=e=>Oe(Object.entries(e).reverse(),(o,[t,r])=>(o[t]=r,o),{});export{Tt as A,Yt as B,Jt as C,Nt as D,Lt as E,tt as F,Kt as G,Ot as H,Ut as I,Vt as J,zt as K,_t as a,jt as b,Bt as c,Dt as d,f as e,Ct as f,Pt as g,gt as h,h as i,ot as j,Et as k,wt as l,At as m,Rt as n,m as o,xt as p,Mt as q,qt as r,vt as s,Zt as t,Xt as u,kt as v,Ft as w,$t as x,It as y,Wt as z}; +import{u as ve,a as Pe,b as Fe,c as Re,L as Ie,S as Te,A as je,d as Be}from"./hooks-DAFrMGjY.js";import{c as i}from"./currency.js@2.0.4-9OAR_aOO.js";import{c as C}from"./crypto-js@4.2.0-CXjOS6lk.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import{z as Me,c as De,r as Oe}from"./lodash-es@4.17.21-BbYRMHep.js";import{k as Ue,a as Ve,u as ze,v as Ke}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{w as S,j as qe}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";const E=["#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",W={},k={textStyle:{color:"#ffffff"},subtextStyle:{color:"#dddddd"}},L={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},v={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},P={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},F={itemStyle:{borderWidth:0,borderColor:"#ccc"}},R={itemStyle:{borderWidth:0,borderColor:"#ccc"}},I={itemStyle:{borderWidth:0,borderColor:"#ccc"}},T={itemStyle:{borderWidth:0,borderColor:"#ccc"}},j={itemStyle:{borderWidth:0,borderColor:"#ccc"}},B={itemStyle:{borderWidth:0,borderColor:"#ccc"}},M={itemStyle:{borderWidth:0,borderColor:"#ccc"}},D={itemStyle:{color:"#fc97af",color0:"transparent",borderColor:"#fc97af",borderColor0:"#87f7cf",borderWidth:"2"}},O={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"}},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={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)"}}},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)"]}}},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)"]}}},J={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)"]}}},Y={iconStyle:{borderColor:"#999999"},emphasis:{iconStyle:{borderColor:"#666666"}}},N={textStyle:{color:"#999999"},pageTextStyle:{color:"#999999"}},X={axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},Z={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"}}},G={color:["#fc97af","#87f7cf"]},H={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"}},Q={label:{color:"#293441"},emphasis:{label:{color:"#293441"}}},Je={color:E,backgroundColor:A,textStyle:W,title:k,line:L,radar:v,bar:P,pie:F,scatter:R,boxplot:I,parallel:T,sankey:j,funnel:B,gauge:M,candlestick:D,graph:O,map:U,geo:V,categoryAxis:z,valueAxis:K,logAxis:q,timeAxis:J,toolbox:Y,legend:N,tooltip:X,timeline:Z,visualMap:G,dataZoom:H,markPoint:Q},Ye=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:A,bar:P,boxplot:I,candlestick:D,categoryAxis:z,color:E,dataZoom:H,default:Je,funnel:B,gauge:M,geo:V,graph:O,legend:N,line:L,logAxis:q,map:U,markPoint:Q,parallel:T,pie:F,radar:v,sankey:j,scatter:R,textStyle:W,timeAxis:J,timeline:Z,title:k,toolbox:Y,tooltip:X,valueAxis:K,visualMap:G},Symbol.toStringTag,{value:"Module"})),ee=["#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"],te="transparent",oe={},re={textStyle:{color:"#008acd"},subtextStyle:{color:"#aaaaaa"}},le={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},ce={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},se={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},ae={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:{borderWidth:0,borderColor:"#ccc"}},pe={itemStyle:{color:"#d87a80",color0:"#2ec7c9",borderColor:"#d87a80",borderColor0:"#2ec7c9",borderWidth:1}},he={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"}},ye={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)"}}},me={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)"]}}},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:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Ce={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)"]}}},xe={iconStyle:{borderColor:"#2ec7c9"},emphasis:{iconStyle:{borderColor:"#18a4a6"}}},$e={textStyle:{color:"#333333"}},_e={axisPointer:{lineStyle:{color:"#008acd",width:"1"},crossStyle:{color:"#008acd",width:"1"}}},Ee={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"]},We={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"}}},Ne={color:ee,backgroundColor:te,textStyle:oe,title:re,line:le,radar:ce,bar:se,pie:ae,scatter:ne,boxplot:ie,parallel:de,sankey:fe,funnel:ue,gauge:be,candlestick:pe,graph:he,map:ye,geo:me,categoryAxis:Se,valueAxis:ge,logAxis:we,timeAxis:Ce,toolbox:xe,legend:$e,tooltip:_e,timeline:Ee,visualMap:Ae,dataZoom:We,markPoint:ke},Xe=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:te,bar:se,boxplot:ie,candlestick:pe,categoryAxis:Se,color:ee,dataZoom:We,default:Ne,funnel:ue,gauge:be,geo:me,graph:he,legend:$e,line:le,logAxis:we,map:ye,markPoint:ke,parallel:de,pie:ae,radar:ce,sankey:fe,scatter:ne,textStyle:oe,timeAxis:Ce,timeline:Ee,title:re,toolbox:xe,tooltip:_e,valueAxis:ge,visualMap:Ae},Symbol.toStringTag,{value:"Module"})),gt=()=>{const e=Object.assign({"/src/app-config/echart-themes/macarons/macarons-dark.json":Ye,"/src/app-config/echart-themes/macarons/macarons.json":Xe}),o=/\/([^/]+)\.json$/;return Object.keys(e).reduce((r,l)=>{var c;const s=(c=l.match(o))==null?void 0:c[1];if(s)return r.push({name:s,theme:e[l].default}),r;throw new Error(`[RChart Theme Error]: name ${l} is invalid!`)},[])},wt=e=>{const{getAppTheme:o}=ve(),{theme:t}=o();return Object.assign({},e,{text:"loading",color:"#c23531",textColor:t?"#fff":"#000",maskColor:t?"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"})},Ct=()=>({notMerge:!0,lazyUpdate:!0,silent:!1,replaceMerge:[]}),xt=(e,o)=>{var s;const{domToImageOptions:t,printOptions:r}=o??{},{create:l}=Pe(e,{...t,beforeCreate:c=>{var a,n;(a=t==null?void 0:t.beforeCreate)==null||a.call(t,c),(n=window.$loadingBar)==null||n.start()},created(c,a){var n,u;(n=t==null?void 0:t.created)==null||n.call(t,c,a),(u=window.$loadingBar)==null||u.finish()},createdError(c){var a,n;(a=t==null?void 0:t.createdError)==null||a.call(t,c),(n=window.$loadingBar)==null||n.error()}});(s=l("jpeg"))==null||s.then(c=>{const{print:a}=Fe(c,{type:"image",base64:!0,targetStyles:["*"],...Me(r,["type","base64"])});a()})},Ze=".n-menu-item-content--selected",Ge=".n-menu-item",He=".n-menu-item-content--child-active",$t=()=>{const e=f(Ie),o=(e==null?void 0:e.querySelector(Ze))||(e==null?void 0:e.querySelector(He)),t=f(Te);let r=0;const l=e==null?void 0:e.querySelector(Ge);if(t){const{height:s}=t.getBoundingClientRect();r=s}if(o&&e){const s=o.getBoundingClientRect(),c=e.getBoundingClientRect();if(!(s.top>=c.top+r&&s.bottom<=c.bottom)){const n=Re(),u=e.scrollTop,p=l?parseInt(window.getComputedStyle(l).marginTop):6;n({top:s.top-c.top+u-r-p,left:0,behavior:"smooth"})}}};var b=(e=>(e.Windows="Windows",e.MacOS="MacOS",e.Linux="Linux",e.Android="Android",e.IOS="IOS",e.Unknown="Unknown",e))(b||{});const Qe={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:"/"},_t=()=>Qe,Et=(e,o)=>{const t=document.createElement("a");t.href=e,t.download=o,t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)},h=(e,o)=>Object.prototype.toString.call(e).includes(o),At=(e=16,o=62)=>{const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[],l=window.crypto||window.msCrypto;let s=0;for(s=0;s{const e=navigator.userAgent;return/windows/i.test(e)?b.Windows:/macintosh|mac os x/i.test(e)?b.MacOS:/linux/i.test(e)?b.Linux:/android/i.test(e)?b.Android:/iphone|ipad|ipod/i.test(e)?b.IOS:b.Unknown},kt=(e,o)=>{const t=e.split("?").filter(Boolean)[0],r=o.split("?").filter(Boolean)[0],l=/\/$/;return t.replace(l,"")===r.replace(l,"")},g=(e="sessionStorage")=>e==="localStorage"?window.localStorage:window.sessionStorage,y=(e,o)=>{const{prefix:t,prefixKey:r}=o??{};return t?(r||je)+e:e};function Lt(e,o="sessionStorage",t){const r=y(e,t),l=g(o);return Object.keys(l).includes(r)}function vt(e,o,t="sessionStorage",r){if(!e){console.error("[setStorage]: Failed to set stored data: key is empty");return}const l=y(e,r),s=g(t);try{s.setItem(l,JSON.stringify(o))}catch(c){console.error(`[setStorage]: Failed to set stored data for key '${e}'`,c)}}function Pt(e,o="sessionStorage",t){const r=y(e,t),l=g(o),{defaultValue:s}=t??{};try{const c=l.getItem(r);return c===null?s??null:JSON.parse(c)}catch(c){return console.error(`[getStorage]: Failed to get stored data for key '${e}'`,c),s??null}}const Ft=(e,o,t)=>{if(!e){console.error("[removeStorage]: Failed to remove stored data: key is empty");return}const r=y(e,t),l=window.localStorage,s=window.sessionStorage,c=a=>{Object.keys(a).forEach(n=>a.removeItem(y(n,t)))};switch(e){case"__all__":c(l),c(s);break;case"__all_sessionStorage__":c(s);break;case"__all_localStorage__":c(l);break;default:g(o).removeItem(r)}},Rt=(e,o)=>{const r=S(()=>f(e),()=>{const l=f(e);l&&(typeof o=="string"?o.trim().split(" "):o).forEach(c=>{c&&l.classList.add(c)})},{immediate:!0});m(r)},It=(e,o)=>{const r=S(()=>f(e),()=>{const l=f(e);if(l)if(o==="removeAllClass"){const s=l.classList;s.forEach(c=>s.remove(c))}else(typeof o=="string"?o.trim().split(" "):o).forEach(c=>{c&&l.classList.remove(c)})},{immediate:!0});m(r)},Tt=(e,o)=>{const t=Ue(!1),l=S(()=>f(e),()=>{const s=f(e);if(!s)t.value=!1;else{const c=s.className,a=o.trim().split(" ").filter(n=>n!=="");t.value=a.some(n=>c.includes(n))}},{immediate:!0});return m(l),t},et=e=>{const o=["webkit","moz","ms","o"],t={};return o.forEach(r=>{t[`${r}${e.charAt(0).toUpperCase()}${e.slice(1)}`]=e}),t[e]=e,t},jt=(e,o)=>{const t=(s,c)=>{s.split(";").forEach(a=>{const[n,u]=a.split(":");if(n&&u){const p=n.trim(),x=u.trim();if(n.startsWith("--"))c.style.setProperty(p,x);else if(n.startsWith("-"))c.style.setProperty(n,u);else{const $=et(p);Object.keys($).forEach(_=>{c.style.setProperty(_,$[_])}),c.style.setProperty(p,x)}}})},l=S(()=>f(e),()=>{const s=f(e);s&&(h(o,"String")?t(o,s):h(o,"Array")?o.forEach(c=>{t(c,s)}):Object.keys(o).forEach(a=>{t(`${a}: ${o[a]}`,s)}))},{immediate:!0});m(l)},Bt=(e,o=1,t)=>{if(!e)return e;if(e.includes("rgba"))return e.replace(/rgba\((.*?),(.*?),(.*?),.*?\)/,`rgba($1,$2,$3,${o})`);if(e.includes("rgb("))return e.replace("rgb","rgba").replace(")",`, ${o})`);if(e.includes("hsla"))return e.replace(/hsla\((.*?),(.*?),(.*?),.*?\)/,`hsla($1,$2,$3,${o})`);if(e.includes("hsl("))return e.replace("hsl","hsla").replace(")",`, ${o})`);if(e.startsWith("#")){const r=e.replace("#","");try{switch(r.length){case 3:return`rgba(${parseInt(r[0]+r[0],16)}, ${parseInt(r[1]+r[1],16)}, ${parseInt(r[2]+r[2],16)}, ${o})`;case 6:return`rgba(${parseInt(r.slice(0,2),16)}, ${parseInt(r.slice(2,4),16)}, ${parseInt(r.slice(4,6),16)}, ${o})`;case 8:return`rgba(${parseInt(r.slice(0,2),16)}, ${parseInt(r.slice(2,4),16)}, ${parseInt(r.slice(4,6),16)}, ${o})`;default:return t||e}}catch{return e}}return e},Mt=(e,o)=>{const{defaultElement:t}={};if(!e)return t?[t]:null;const r=e.startsWith("attr:")?`[${e.replace("attr:","")}]`:e;try{const l=Array.from(document.querySelectorAll(r));return!l.length&&t?[t]:l}catch(l){return console.error(`[queryElements]: Failed to get elements for selector '${e}'`,l),t?[t]:null}},Dt=(e,o="px")=>e==="auto"?e:typeof e=="number"?e.toString()+o:h(e,"String")&&Be.cssUnit.test(e)?e:e+o,d={precision:8,decimal:"."},w=(e,o,t)=>{if(!(e!=null&&e.length))return i(0,d);if(e.length===1)return i(e[0],d);const r=i(o,d);return e.reduce(t,r)},tt=(e,o)=>{const t={...d,...o},r=i(e,t),{type:l="number"}=t;return l==="number"?r.value:r.toString()},Ot=(...e)=>e.length?e.length===1?i(e[0],d).add(0):w(e,0,(o,t)=>o.add(t)):i(0,d),Ut=(...e)=>{if(!e.length)return i(0,d);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[o,...t]=e;return w(t,o,(r,l)=>r.subtract(l))},Vt=(...e)=>e.length===1?i(e[0],d).multiply(1):w(e,1,(o,t)=>i(o,d).multiply(t)),zt=(...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 o=De(e),t=o.shift();return w(o,t,(r,l)=>i(r,d).divide(l))},Kt=(e,o,t)=>{if(o<=1)return[e||0];if(!e)return new Array(o).fill(0);const r={...d,...t};return i(e,r).distribute(o).map(s=>tt(s,r))};function ot(e,...o){if(Array.isArray(e))e.forEach(t=>ot(t,...o));else return e(...o)}function f(e,o){var r;if(!e)return o;let t;return typeof e=="function"?t=e():Ve(e)?t=((r=e.value)==null?void 0:r.$el)??e.value:t=e,t}function qt(e,o){if(!e){const{defaultElement:t=null}=o??{};return typeof t=="function"?t:()=>t}if(typeof e=="string"||h(e,"Object"))return()=>e;if(typeof e=="function")return e}function m(e){return ze()?(Ke(e),!0):!1}function Jt(e,o){const t=qe(e,o);m(t)}const Le="4cP+dX5FI2EVYzln",Yt=(e,o)=>{try{const r=C.AES.decrypt(e,o||Le).toString(C.enc.Utf8);return JSON.parse(r)}catch(t){console.error(`Unknown error: ${t}`)}},Nt=(e,o)=>C.AES.encrypt(JSON.stringify(e),Le).toString(),Xt=(e,o,t,r)=>{if(!e||typeof e!="object"){console.warn(`[updateObjectValue]: targetObject must be an object, received ${typeof e}`);return}Object.hasOwn(e,o)&&(h(t,"Object")?e[o]={...e[o],...t}:e[o]=t,r==null||r())},Zt=e=>Oe(Object.entries(e).reverse(),(o,[t,r])=>(o[t]=r,o),{});export{Tt as A,Yt as B,Jt as C,Nt as D,Lt as E,tt as F,Kt as G,Ot as H,Ut as I,Vt as J,zt as K,_t as a,jt as b,Bt as c,Dt as d,f as e,Ct as f,Pt as g,gt as h,h as i,ot as j,Et as k,wt as l,At as m,Rt as n,m as o,xt as p,Mt as q,qt as r,vt as s,Zt as t,Xt as u,kt as v,Ft as w,$t as x,It as y,Wt as z}; diff --git a/js/utils-Bic_iDtY.js.gz b/js/utils-Bic_iDtY.js.gz new file mode 100644 index 00000000..38bb4f9e Binary files /dev/null and b/js/utils-Bic_iDtY.js.gz differ diff --git a/js/vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js.gz b/js/vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js.gz deleted file mode 100644 index 21cad63e..00000000 Binary files a/js/vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js.gz and /dev/null differ diff --git a/js/vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js b/js/vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js similarity index 99% rename from js/vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js rename to js/vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js index 2363e017..d26425d7 100644 --- a/js/vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js +++ b/js/vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js @@ -1 +1 @@ -import{y as h,k as b,v as x,e as X,a as Y,x as Z,n as K}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{j as P,w as V,f as q,i as k,R as ee}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{d as ne,t as te,c as j}from"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import{s as g}from"./screenfull@5.2.0-DQHhvod-.js";const z=(t,{manual:e,ready:n=!0,refreshDeps:s=[],refreshDepsAction:i})=>{const u=b(!1);return P(()=>{!e&&t.options.refreshDeps!==!0&&(u.value=h(n))}),s instanceof Array?V([u,...s],([r])=>{r&&!e&&r&&(i?i():t.refresh())},{deep:!0,immediate:!1}):V(u,r=>{!e&&r&&(i?i():t.refresh())}),{name:"autoRunPlugin",onBefore:()=>{if(!h(n))return{stopNow:!0}}}};z.onInit=({ready:t=!0,manual:e})=>({loading:!e&&h(t)});const T=new Map,se=(t,e,n)=>{const s=T.get(t);s!=null&&s.timer&&clearTimeout(s.timer);let i;e>-1&&(i=setTimeout(()=>{T.delete(t)},e)),T.set(t,{...n,timer:i})},ie=t=>T.get(t),F=new Map,re=t=>F.get(t),ue=(t,e)=>{F.set(t,e),e.then(n=>(F.delete(t),n)).catch(n=>{throw F.delete(t),n})},S={},le=[],ae=(t,e)=>{S[t]&&(S[t].forEach(n=>n(e)),le.forEach(n=>n({type:t,data:e})))},y=(t,e)=>(S[t]||(S[t]=[]),S[t].push(e),function(){const s=S[t].indexOf(e);S[t].splice(s,1)}),oe=(t,{cacheKey:e,cacheTime:n=5*60*1e3,staleTime:s=0,setCache:i,getCache:u})=>{const r=b(),o=b(),c=(l,f)=>{i?i(f):se(l,n,f),ae(l,f.data)},d=(l,f=[])=>u?u(f):ie(l);return P(()=>{if(!e)return;const l=d(e);l&&Object.hasOwnProperty.call(l,"data")&&(t.state.data=l.data,t.state.params=l.params,(s===-1||new Date().getTime()-l.time<=s)&&(t.state.loading=!1)),r.value=y(e,f=>{t.setState({data:f})})}),x(()=>{var l;(l=r.value)==null||l.call(r)}),e?{name:"cachePlugin",onBefore:l=>{const f=d(e,l);return!f||!Object.hasOwnProperty.call(f,"data")?{}:s===-1||new Date().getTime()-f.time<=s?{loading:!1,data:f==null?void 0:f.data,returnNow:!0}:{data:f==null?void 0:f.data}},onRequest:(l,f)=>{let m=re(e);return m&&m!==o.value?{servicePromise:m}:(m=l(...f),o.value=m,ue(e,m),{servicePromise:m})},onSuccess:(l,f)=>{var m;e&&((m=r.value)==null||m.call(r),c(e,{data:l,params:f,time:new Date().getTime()}),r.value=y(e,a=>{t.setState({data:a})}))},onMutate:l=>{var f;e&&((f=r.value)==null||f.call(r),c(e,{data:l,params:t.state.params,time:new Date().getTime()}),r.value=y(e,m=>{t.setState({data:m})}))}}:{}},ce=(t,{debounceWait:e,debounceLeading:n,debounceTrailing:s,debounceMaxWait:i})=>{const u=b(),r=q(()=>{const o={},c=h(n),d=h(s),l=h(i);return c!==void 0&&(o.leading=c),d!==void 0&&(o.trailing=d),l!==void 0&&(o.maxWait=l),o});return P(o=>{if(h(e)){const c=t.runAsync.bind(t);u.value=ne(d=>{d()},h(e),r.value),t.runAsync=(...d)=>new Promise((l,f)=>{var m;(m=u.value)==null||m.call(u,()=>{c(...d).then(l).catch(f)})}),o(()=>{var d;(d=u.value)==null||d.cancel(),t.runAsync=c})}}),h(e)?{name:"debouncePlugin",onCancel:()=>{var o;(o=u.value)==null||o.cancel()}}:{}};var fe=Object.defineProperty,de=(t,e,n)=>e in t?fe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,I=(t,e,n)=>(de(t,typeof e!="symbol"?e+"":e,n),n);class he{constructor(){I(this,"table",{}),I(this,"hashTable",{})}insert(e){const n=Symbol(e);return this.table[e]=!0,this.hashTable[n]=e,n}find(e){return this.hashTable[e]}}new he;var me=Object.defineProperty,pe=(t,e,n)=>e in t?me(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Q=(t,e,n)=>(pe(t,typeof e!="symbol"?e+"":e,n),n);class ve{constructor(){Q(this,"requestInstances",new Map),Q(this,"listeners",[])}emit(e){this.listeners.forEach(n=>n(e))}subscribe(e){return this.listeners.push(e),()=>{const n=this.listeners.indexOf(e);this.listeners.splice(n,1)}}insert(e,n){this.requestInstances.set(e,{...n}),this.emit({key:e,...n})}update(e,n){this.has(e)&&this.requestInstances.set(e,{...this.requestInstances.get(e),...n})}has(e){return this.requestInstances.has(e)}reset(e){if(this.requestInstances.has(e)){const n=this.requestInstances.get(e);this.requestInstances.clear(),this.insert(e,n)}else this.requestInstances.clear()}getAll(){return this.requestInstances}}new ve;const be=(t,{loadingDelay:e})=>{const n=b(),s=()=>{n.value&&(clearTimeout(h(n.value)),n.value=void 0)};return{name:"loadingDelayPlugin",onFinally:()=>{s();const i=h(e);i&&(t.setState({loading:!0}),n.value=setTimeout(()=>{t.setState({loading:!1})},i))},onError:()=>{s()}}};function B(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const ge=!!(typeof window<"u"&&window.document&&window.document.createElement);function U(){return B()?document.visibilityState!=="hidden":!0}const O=[];function _e(t){return O.push(t),function(){const n=O.indexOf(t);O.splice(n,1)}}if(B()){const t=()=>{if(U())for(let e=0;e{let i;const u=b(),r=b(0),o=()=>{var c;i&&clearTimeout(i),(c=u.value)==null||c.call(u)};return P(()=>{h(e)||o()}),h(e)?{name:"pollingPlugin",onBefore:()=>{o()},onError:()=>{r.value+=1},onSuccess:()=>{r.value=0},onFinally:()=>{s===-1||s!==-1&&r.value<=s?i=setTimeout(()=>{!n&&!U()?u.value=_e(()=>{t.refresh()}):t.refresh()},h(e)):r.value=0},onCancel:()=>{o()}}:{}};function Pe(t,e){let n=!1;return(...s)=>{n||(n=!0,t(...s),setTimeout(()=>{n=!1},e))}}function Ee(){return B()&&typeof navigator.onLine<"u"?navigator.onLine:!0}const D=[];function Re(t){return D.push(t),function(){const n=D.indexOf(t);n>-1&&D.splice(n,1)}}if(ge){const t=()=>{if(!(!U()||!Ee()))for(let e=0;e{const s=b(),i=()=>{var u;(u=s.value)==null||u.call(s)};return P(u=>{if(h(e)){const r=Pe(t.refresh.bind(t),h(n));s.value=Re(()=>{r()})}u(()=>{i()})}),x(()=>{i()}),{name:"refreshOnWindowFocusPlugin"}},Oe=(t,{retryInterval:e,retryCount:n})=>{const s=b(),i=b(0),u=b(!1);return n?{name:"retryPlugin",onBefore:()=>{u.value||(i.value=0),u.value=!1,s.value&&clearTimeout(s.value)},onSuccess:()=>{i.value=0},onError:()=>{if(i.value+=1,n===-1||i.value<=n){const r=e??Math.min(1e3*2**i.value,3e4);s.value=setTimeout(()=>{u.value=!0,t.refresh()},r)}else i.value=0},onCancel:()=>{i.value=0,s.value&&clearTimeout(s.value)}}:{}},De=(t,{throttleWait:e,throttleLeading:n,throttleTrailing:s})=>{const i=q(()=>{const r={};return h(n)!==void 0&&(r.leading=h(n)),h(s)!==void 0&&(r.trailing=h(s)),r}),u=q(()=>te(r=>{r()},h(e),i.value));return P(r=>{if(h(e)){const o=t.runAsync.bind(t);t.runAsync=(...c)=>new Promise((d,l)=>{var f;(f=u.value)==null||f.call(u,()=>{o(...c).then(d).catch(l)})}),r(()=>{var c;t.runAsync=o,(c=u.value)==null||c.cancel()})}}),h(e)?{name:"throttlePlugin",onCancel:()=>{var r;(r=u.value)==null||r.cancel()}}:{}},G=t=>typeof t=="function",Ae=t=>typeof t=="boolean";var Te=Object.defineProperty,Fe=(t,e,n)=>e in t?Te(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,A=(t,e,n)=>(Fe(t,typeof e!="symbol"?e+"":e,n),n);class qe{constructor(e,n,s,i={}){A(this,"pluginImpls"),A(this,"count",0),A(this,"state",{loading:!1,params:void 0,data:void 0,error:void 0}),A(this,"previousValidData"),this.serviceRef=e,this.options=n,this.setUpdateData=s,this.initState=i,this.state={...this.state,loading:!n.manual,...i}}setState(e={}){this.state={...this.state,...e},this.setUpdateData(this.state)}setData(e,n){console.warn("Please use 'setFetchState' instead of 'setData'"),n instanceof Array?n.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[n]=e,this.setUpdateData(e,n))}setFetchState(e,n){n instanceof Array?n.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[n]=e,this.setUpdateData(e,n))}runPluginHandler(e,...n){var s,i,u;const r=(u=(i=(s=this.pluginImpls)==null?void 0:s.map(o=>{var c;return(c=o[e])==null?void 0:c.call(o,...n)}))!=null?i:[])==null?void 0:u.filter(Boolean);return Object.assign({},...r)}async runAsync(...e){var n,s,i,u,r,o,c,d,l,f,m;this.count+=1;const a=this.count,{stopNow:w=!1,returnNow:p=!1,..._}=this.runPluginHandler("onBefore",e);if(w)return new Promise(()=>{});if(this.setState({loading:!0,params:e,..._}),p)return Promise.resolve(_.data);try{(s=(n=this.options).onBefore)==null||s.call(n,e)}catch(v){return this.setState({error:v,loading:!1}),(u=(i=this.options).onError)==null||u.call(i,v,e),this.runPluginHandler("onError",v,e),new Promise(()=>{})}try{let{servicePromise:v}=this.runPluginHandler("onRequest",this.serviceRef.value,e);const J=$=>{var L,H,N,M;if(a!==this.count)return new Promise(()=>{});const E=this.options.formatResult?this.options.formatResult($):$;return this.setState({data:E,error:void 0,loading:!1}),(H=(L=this.options).onSuccess)==null||H.call(L,E,e),this.runPluginHandler("onSuccess",E,e),this.previousValidData=E,(M=(N=this.options).onFinally)==null||M.call(N,e,E,void 0),a===this.count&&this.runPluginHandler("onFinally",e,E,void 0),E};v||(v=this.serviceRef.value(...e));const W=await v;return J(W)}catch(v){if(a!==this.count)return new Promise(()=>{});throw this.setState({error:v,loading:!1}),(o=(r=this.options).onError)==null||o.call(r,v,e),this.runPluginHandler("onError",v,e),(G((c=this.options)==null?void 0:c.rollbackOnError)&&((d=this.options)!=null&&d.rollbackOnError(e))||Ae((l=this.options)==null?void 0:l.rollbackOnError)&&this.options.rollbackOnError)&&this.setState({data:this.previousValidData}),(m=(f=this.options).onFinally)==null||m.call(f,e,void 0,v),a===this.count&&this.runPluginHandler("onFinally",e,void 0,v),v}}run(...e){this.runAsync(...e).catch(n=>{this.options.onError||console.error(n)})}cancel(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")}refresh(){this.run(...this.state.params||[])}refreshAsync(){return this.runAsync(...this.state.params||[])}mutate(e){const n=G(e)?e(this.state.data):e;this.runPluginHandler("onMutate",n),this.setState({data:n})}}const ye=Symbol("USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY");function Ce(t){return Object.keys(t).filter(n=>["data","loading","params","error"].includes(n)).length===4}function xe(t,e={},n=[]){const s=k(ye,{}),{initialData:i=void 0,manual:u=!1,ready:r=!0,...o}={...s??{},...e??{}},c={manual:u,ready:r,initialData:i,...o},d=b(t),l=X({data:i,loading:!1,params:void 0,error:void 0}),f=(p,_)=>{_?l[_]=p:Ce(p)&&(l.data=p.data,l.loading=p.loading,l.error=p.error,l.params=p.params)},m=n.map(p=>{var _;return(_=p==null?void 0:p.onInit)==null?void 0:_.call(p,c)}).filter(Boolean),a=new qe(d,c,f,Object.assign({},...m,l));a.options=c,a.pluginImpls=n.map(p=>p(a,c));const w=q(()=>Y(r)?r.value:r);if(P(()=>{if(!u){const p=a.state.params||e.defaultParams||[];w.value&&a.options.refreshDeps===!0&&d.value&&a.run(...p)}}),!u&&a.options.refreshDeps!==!0){const p=a.state.params||e.defaultParams||[];h(r)&&a.run(...p)}return x(()=>{a.cancel()}),{...Z(l),cancel:a.cancel.bind(a),refresh:a.refresh.bind(a),refreshAsync:a.refreshAsync.bind(a),run:a.run.bind(a),runAsync:a.runAsync.bind(a),mutate:a.mutate.bind(a)}}const Be=(t,e)=>function(s,i={},u=[]){let r=t;const o=e||[];for(let c=o.length;c--;)r=o[c](r);return r(s,i,u)};function Qe(t,e,n){var s;const i=(s=[null,ce,be,we,Se,De,z,oe,Oe])==null?void 0:s.filter(Boolean);return Be(xe,e==null?void 0:e.use)(t,e,[...i])}const Ue=!!(typeof window<"u"&&window.document&&window.document.createElement);function C(t,e){var n,s;if(!Ue)return;if(!t)return e;let i;return typeof t=="function"?i=t():Y(t)?i=(s=(n=t.value)==null?void 0:n.$el)!=null?s:t.value:i=t,i}var $e=Object.defineProperty,Le=(t,e,n)=>e in t?$e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e,n)=>(Le(t,typeof e!="symbol"?e+"":e,n),n);class He{constructor(){R(this,"subscriptions",new Map),R(this,"emitEffectCache",new Map),R(this,"useSubscription",(e,n)=>{const s=b();P(i=>{var u,r;s.value=n;function o(d){s.value&&s.value(d)}const c=(r=(u=this.subscriptions)==null?void 0:u.get(e))!=null?r:[];c.push(o),this.subscriptions.set(e,c),this.emitEffect(e),i(()=>{this.subscriptions.delete(e)})})}),R(this,"emit",(e,...n)=>{if(typeof e=="string"||typeof e=="number"){const s=this.subscriptions.get(e);s==null||s.forEach(i=>{i==null||i({params:j(n),event:e})}),this.emitEffectCache.set(e,{params:j(n),event:e})}else throw new TypeError("event must be string or number !")}),R(this,"emitEffect",e=>{const n=this.emitEffectCache.get(e),s=this.subscriptions.get(e);n&&(s==null||s.forEach(i=>{i==null||i({...n})}))}),R(this,"removeListener",e=>{this.subscriptions.delete(e)}),R(this,"clear",()=>{this.subscriptions.clear()}),this.clear()}}new He;const Ge=(t,e)=>{const{onExit:n,onEnter:s,defaultElement:i=document.documentElement}={},u=b(n),r=b(s),o=b(!1),c=a=>{o.value=a},d=()=>{var a,w,p;if(g.isEnabled){const _=C(t,i);if(!g.element)(a=u.value)==null||a.call(u),c(!1),g.off("change",d);else{const v=g.element===_;v?(w=r.value)==null||w.call(r):(p=u.value)==null||p.call(u),c(v)}}},l=()=>{const a=C(t,i);if(a&&g.isEnabled)try{g.request(a),g.on("change",d)}catch(w){console.error(w)}},f=()=>{const a=C(t,i);g.isEnabled&&g.element===a&&g.exit()},m=()=>{o.value?f():l()};return ee(()=>{g.isEnabled&&g.off("change",d)}),[K(o),{enterFullscreen:l,exitFullscreen:f,toggleFullscreen:m,isEnabled:g.isEnabled}]};export{Qe as a,Ge as u}; +import{y as h,k as b,v as x,e as X,a as Y,x as Z,n as K}from"./@vue_reactivity@3.5.13-CVvlldVq.js";import{j as P,w as V,f as q,i as k,R as ee}from"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import{d as ne,t as te,c as j}from"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import{s as g}from"./screenfull@5.2.0-CClqR5rE.js";const z=(t,{manual:e,ready:n=!0,refreshDeps:s=[],refreshDepsAction:i})=>{const u=b(!1);return P(()=>{!e&&t.options.refreshDeps!==!0&&(u.value=h(n))}),s instanceof Array?V([u,...s],([r])=>{r&&!e&&r&&(i?i():t.refresh())},{deep:!0,immediate:!1}):V(u,r=>{!e&&r&&(i?i():t.refresh())}),{name:"autoRunPlugin",onBefore:()=>{if(!h(n))return{stopNow:!0}}}};z.onInit=({ready:t=!0,manual:e})=>({loading:!e&&h(t)});const T=new Map,se=(t,e,n)=>{const s=T.get(t);s!=null&&s.timer&&clearTimeout(s.timer);let i;e>-1&&(i=setTimeout(()=>{T.delete(t)},e)),T.set(t,{...n,timer:i})},ie=t=>T.get(t),F=new Map,re=t=>F.get(t),ue=(t,e)=>{F.set(t,e),e.then(n=>(F.delete(t),n)).catch(n=>{throw F.delete(t),n})},S={},le=[],ae=(t,e)=>{S[t]&&(S[t].forEach(n=>n(e)),le.forEach(n=>n({type:t,data:e})))},y=(t,e)=>(S[t]||(S[t]=[]),S[t].push(e),function(){const s=S[t].indexOf(e);S[t].splice(s,1)}),oe=(t,{cacheKey:e,cacheTime:n=5*60*1e3,staleTime:s=0,setCache:i,getCache:u})=>{const r=b(),o=b(),c=(l,f)=>{i?i(f):se(l,n,f),ae(l,f.data)},d=(l,f=[])=>u?u(f):ie(l);return P(()=>{if(!e)return;const l=d(e);l&&Object.hasOwnProperty.call(l,"data")&&(t.state.data=l.data,t.state.params=l.params,(s===-1||new Date().getTime()-l.time<=s)&&(t.state.loading=!1)),r.value=y(e,f=>{t.setState({data:f})})}),x(()=>{var l;(l=r.value)==null||l.call(r)}),e?{name:"cachePlugin",onBefore:l=>{const f=d(e,l);return!f||!Object.hasOwnProperty.call(f,"data")?{}:s===-1||new Date().getTime()-f.time<=s?{loading:!1,data:f==null?void 0:f.data,returnNow:!0}:{data:f==null?void 0:f.data}},onRequest:(l,f)=>{let m=re(e);return m&&m!==o.value?{servicePromise:m}:(m=l(...f),o.value=m,ue(e,m),{servicePromise:m})},onSuccess:(l,f)=>{var m;e&&((m=r.value)==null||m.call(r),c(e,{data:l,params:f,time:new Date().getTime()}),r.value=y(e,a=>{t.setState({data:a})}))},onMutate:l=>{var f;e&&((f=r.value)==null||f.call(r),c(e,{data:l,params:t.state.params,time:new Date().getTime()}),r.value=y(e,m=>{t.setState({data:m})}))}}:{}},ce=(t,{debounceWait:e,debounceLeading:n,debounceTrailing:s,debounceMaxWait:i})=>{const u=b(),r=q(()=>{const o={},c=h(n),d=h(s),l=h(i);return c!==void 0&&(o.leading=c),d!==void 0&&(o.trailing=d),l!==void 0&&(o.maxWait=l),o});return P(o=>{if(h(e)){const c=t.runAsync.bind(t);u.value=ne(d=>{d()},h(e),r.value),t.runAsync=(...d)=>new Promise((l,f)=>{var m;(m=u.value)==null||m.call(u,()=>{c(...d).then(l).catch(f)})}),o(()=>{var d;(d=u.value)==null||d.cancel(),t.runAsync=c})}}),h(e)?{name:"debouncePlugin",onCancel:()=>{var o;(o=u.value)==null||o.cancel()}}:{}};var fe=Object.defineProperty,de=(t,e,n)=>e in t?fe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,I=(t,e,n)=>(de(t,typeof e!="symbol"?e+"":e,n),n);class he{constructor(){I(this,"table",{}),I(this,"hashTable",{})}insert(e){const n=Symbol(e);return this.table[e]=!0,this.hashTable[n]=e,n}find(e){return this.hashTable[e]}}new he;var me=Object.defineProperty,pe=(t,e,n)=>e in t?me(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Q=(t,e,n)=>(pe(t,typeof e!="symbol"?e+"":e,n),n);class ve{constructor(){Q(this,"requestInstances",new Map),Q(this,"listeners",[])}emit(e){this.listeners.forEach(n=>n(e))}subscribe(e){return this.listeners.push(e),()=>{const n=this.listeners.indexOf(e);this.listeners.splice(n,1)}}insert(e,n){this.requestInstances.set(e,{...n}),this.emit({key:e,...n})}update(e,n){this.has(e)&&this.requestInstances.set(e,{...this.requestInstances.get(e),...n})}has(e){return this.requestInstances.has(e)}reset(e){if(this.requestInstances.has(e)){const n=this.requestInstances.get(e);this.requestInstances.clear(),this.insert(e,n)}else this.requestInstances.clear()}getAll(){return this.requestInstances}}new ve;const be=(t,{loadingDelay:e})=>{const n=b(),s=()=>{n.value&&(clearTimeout(h(n.value)),n.value=void 0)};return{name:"loadingDelayPlugin",onFinally:()=>{s();const i=h(e);i&&(t.setState({loading:!0}),n.value=setTimeout(()=>{t.setState({loading:!1})},i))},onError:()=>{s()}}};function B(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const ge=!!(typeof window<"u"&&window.document&&window.document.createElement);function U(){return B()?document.visibilityState!=="hidden":!0}const O=[];function _e(t){return O.push(t),function(){const n=O.indexOf(t);O.splice(n,1)}}if(B()){const t=()=>{if(U())for(let e=0;e{let i;const u=b(),r=b(0),o=()=>{var c;i&&clearTimeout(i),(c=u.value)==null||c.call(u)};return P(()=>{h(e)||o()}),h(e)?{name:"pollingPlugin",onBefore:()=>{o()},onError:()=>{r.value+=1},onSuccess:()=>{r.value=0},onFinally:()=>{s===-1||s!==-1&&r.value<=s?i=setTimeout(()=>{!n&&!U()?u.value=_e(()=>{t.refresh()}):t.refresh()},h(e)):r.value=0},onCancel:()=>{o()}}:{}};function Pe(t,e){let n=!1;return(...s)=>{n||(n=!0,t(...s),setTimeout(()=>{n=!1},e))}}function Ee(){return B()&&typeof navigator.onLine<"u"?navigator.onLine:!0}const D=[];function Re(t){return D.push(t),function(){const n=D.indexOf(t);n>-1&&D.splice(n,1)}}if(ge){const t=()=>{if(!(!U()||!Ee()))for(let e=0;e{const s=b(),i=()=>{var u;(u=s.value)==null||u.call(s)};return P(u=>{if(h(e)){const r=Pe(t.refresh.bind(t),h(n));s.value=Re(()=>{r()})}u(()=>{i()})}),x(()=>{i()}),{name:"refreshOnWindowFocusPlugin"}},Oe=(t,{retryInterval:e,retryCount:n})=>{const s=b(),i=b(0),u=b(!1);return n?{name:"retryPlugin",onBefore:()=>{u.value||(i.value=0),u.value=!1,s.value&&clearTimeout(s.value)},onSuccess:()=>{i.value=0},onError:()=>{if(i.value+=1,n===-1||i.value<=n){const r=e??Math.min(1e3*2**i.value,3e4);s.value=setTimeout(()=>{u.value=!0,t.refresh()},r)}else i.value=0},onCancel:()=>{i.value=0,s.value&&clearTimeout(s.value)}}:{}},De=(t,{throttleWait:e,throttleLeading:n,throttleTrailing:s})=>{const i=q(()=>{const r={};return h(n)!==void 0&&(r.leading=h(n)),h(s)!==void 0&&(r.trailing=h(s)),r}),u=q(()=>te(r=>{r()},h(e),i.value));return P(r=>{if(h(e)){const o=t.runAsync.bind(t);t.runAsync=(...c)=>new Promise((d,l)=>{var f;(f=u.value)==null||f.call(u,()=>{o(...c).then(d).catch(l)})}),r(()=>{var c;t.runAsync=o,(c=u.value)==null||c.cancel()})}}),h(e)?{name:"throttlePlugin",onCancel:()=>{var r;(r=u.value)==null||r.cancel()}}:{}},G=t=>typeof t=="function",Ae=t=>typeof t=="boolean";var Te=Object.defineProperty,Fe=(t,e,n)=>e in t?Te(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,A=(t,e,n)=>(Fe(t,typeof e!="symbol"?e+"":e,n),n);class qe{constructor(e,n,s,i={}){A(this,"pluginImpls"),A(this,"count",0),A(this,"state",{loading:!1,params:void 0,data:void 0,error:void 0}),A(this,"previousValidData"),this.serviceRef=e,this.options=n,this.setUpdateData=s,this.initState=i,this.state={...this.state,loading:!n.manual,...i}}setState(e={}){this.state={...this.state,...e},this.setUpdateData(this.state)}setData(e,n){console.warn("Please use 'setFetchState' instead of 'setData'"),n instanceof Array?n.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[n]=e,this.setUpdateData(e,n))}setFetchState(e,n){n instanceof Array?n.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[n]=e,this.setUpdateData(e,n))}runPluginHandler(e,...n){var s,i,u;const r=(u=(i=(s=this.pluginImpls)==null?void 0:s.map(o=>{var c;return(c=o[e])==null?void 0:c.call(o,...n)}))!=null?i:[])==null?void 0:u.filter(Boolean);return Object.assign({},...r)}async runAsync(...e){var n,s,i,u,r,o,c,d,l,f,m;this.count+=1;const a=this.count,{stopNow:w=!1,returnNow:p=!1,..._}=this.runPluginHandler("onBefore",e);if(w)return new Promise(()=>{});if(this.setState({loading:!0,params:e,..._}),p)return Promise.resolve(_.data);try{(s=(n=this.options).onBefore)==null||s.call(n,e)}catch(v){return this.setState({error:v,loading:!1}),(u=(i=this.options).onError)==null||u.call(i,v,e),this.runPluginHandler("onError",v,e),new Promise(()=>{})}try{let{servicePromise:v}=this.runPluginHandler("onRequest",this.serviceRef.value,e);const J=$=>{var L,H,N,M;if(a!==this.count)return new Promise(()=>{});const E=this.options.formatResult?this.options.formatResult($):$;return this.setState({data:E,error:void 0,loading:!1}),(H=(L=this.options).onSuccess)==null||H.call(L,E,e),this.runPluginHandler("onSuccess",E,e),this.previousValidData=E,(M=(N=this.options).onFinally)==null||M.call(N,e,E,void 0),a===this.count&&this.runPluginHandler("onFinally",e,E,void 0),E};v||(v=this.serviceRef.value(...e));const W=await v;return J(W)}catch(v){if(a!==this.count)return new Promise(()=>{});throw this.setState({error:v,loading:!1}),(o=(r=this.options).onError)==null||o.call(r,v,e),this.runPluginHandler("onError",v,e),(G((c=this.options)==null?void 0:c.rollbackOnError)&&((d=this.options)!=null&&d.rollbackOnError(e))||Ae((l=this.options)==null?void 0:l.rollbackOnError)&&this.options.rollbackOnError)&&this.setState({data:this.previousValidData}),(m=(f=this.options).onFinally)==null||m.call(f,e,void 0,v),a===this.count&&this.runPluginHandler("onFinally",e,void 0,v),v}}run(...e){this.runAsync(...e).catch(n=>{this.options.onError||console.error(n)})}cancel(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")}refresh(){this.run(...this.state.params||[])}refreshAsync(){return this.runAsync(...this.state.params||[])}mutate(e){const n=G(e)?e(this.state.data):e;this.runPluginHandler("onMutate",n),this.setState({data:n})}}const ye=Symbol("USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY");function Ce(t){return Object.keys(t).filter(n=>["data","loading","params","error"].includes(n)).length===4}function xe(t,e={},n=[]){const s=k(ye,{}),{initialData:i=void 0,manual:u=!1,ready:r=!0,...o}={...s??{},...e??{}},c={manual:u,ready:r,initialData:i,...o},d=b(t),l=X({data:i,loading:!1,params:void 0,error:void 0}),f=(p,_)=>{_?l[_]=p:Ce(p)&&(l.data=p.data,l.loading=p.loading,l.error=p.error,l.params=p.params)},m=n.map(p=>{var _;return(_=p==null?void 0:p.onInit)==null?void 0:_.call(p,c)}).filter(Boolean),a=new qe(d,c,f,Object.assign({},...m,l));a.options=c,a.pluginImpls=n.map(p=>p(a,c));const w=q(()=>Y(r)?r.value:r);if(P(()=>{if(!u){const p=a.state.params||e.defaultParams||[];w.value&&a.options.refreshDeps===!0&&d.value&&a.run(...p)}}),!u&&a.options.refreshDeps!==!0){const p=a.state.params||e.defaultParams||[];h(r)&&a.run(...p)}return x(()=>{a.cancel()}),{...Z(l),cancel:a.cancel.bind(a),refresh:a.refresh.bind(a),refreshAsync:a.refreshAsync.bind(a),run:a.run.bind(a),runAsync:a.runAsync.bind(a),mutate:a.mutate.bind(a)}}const Be=(t,e)=>function(s,i={},u=[]){let r=t;const o=e||[];for(let c=o.length;c--;)r=o[c](r);return r(s,i,u)};function Qe(t,e,n){var s;const i=(s=[null,ce,be,we,Se,De,z,oe,Oe])==null?void 0:s.filter(Boolean);return Be(xe,e==null?void 0:e.use)(t,e,[...i])}const Ue=!!(typeof window<"u"&&window.document&&window.document.createElement);function C(t,e){var n,s;if(!Ue)return;if(!t)return e;let i;return typeof t=="function"?i=t():Y(t)?i=(s=(n=t.value)==null?void 0:n.$el)!=null?s:t.value:i=t,i}var $e=Object.defineProperty,Le=(t,e,n)=>e in t?$e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e,n)=>(Le(t,typeof e!="symbol"?e+"":e,n),n);class He{constructor(){R(this,"subscriptions",new Map),R(this,"emitEffectCache",new Map),R(this,"useSubscription",(e,n)=>{const s=b();P(i=>{var u,r;s.value=n;function o(d){s.value&&s.value(d)}const c=(r=(u=this.subscriptions)==null?void 0:u.get(e))!=null?r:[];c.push(o),this.subscriptions.set(e,c),this.emitEffect(e),i(()=>{this.subscriptions.delete(e)})})}),R(this,"emit",(e,...n)=>{if(typeof e=="string"||typeof e=="number"){const s=this.subscriptions.get(e);s==null||s.forEach(i=>{i==null||i({params:j(n),event:e})}),this.emitEffectCache.set(e,{params:j(n),event:e})}else throw new TypeError("event must be string or number !")}),R(this,"emitEffect",e=>{const n=this.emitEffectCache.get(e),s=this.subscriptions.get(e);n&&(s==null||s.forEach(i=>{i==null||i({...n})}))}),R(this,"removeListener",e=>{this.subscriptions.delete(e)}),R(this,"clear",()=>{this.subscriptions.clear()}),this.clear()}}new He;const Ge=(t,e)=>{const{onExit:n,onEnter:s,defaultElement:i=document.documentElement}={},u=b(n),r=b(s),o=b(!1),c=a=>{o.value=a},d=()=>{var a,w,p;if(g.isEnabled){const _=C(t,i);if(!g.element)(a=u.value)==null||a.call(u),c(!1),g.off("change",d);else{const v=g.element===_;v?(w=r.value)==null||w.call(r):(p=u.value)==null||p.call(u),c(v)}}},l=()=>{const a=C(t,i);if(a&&g.isEnabled)try{g.request(a),g.on("change",d)}catch(w){console.error(w)}},f=()=>{const a=C(t,i);g.isEnabled&&g.element===a&&g.exit()},m=()=>{o.value?f():l()};return ee(()=>{g.isEnabled&&g.off("change",d)}),[K(o),{enterFullscreen:l,exitFullscreen:f,toggleFullscreen:m,isEnabled:g.isEnabled}]};export{Qe as a,Ge as u}; diff --git a/js/vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js.gz b/js/vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js.gz new file mode 100644 index 00000000..f0736af9 Binary files /dev/null and b/js/vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js.gz differ diff --git a/js/zh-CN-B-kcJT8r.js b/js/zh-CN-B-kcJT8r.js deleted file mode 100644 index 67c3fa72..00000000 --- a/js/zh-CN-B-kcJT8r.js +++ /dev/null @@ -1 +0,0 @@ -import{E as to}from"./hooks-Bi_Q9OFa.js";import"./dayjs@1.11.13-BI9XULUM.js";import"./print-js@1.6.0-CWwD-D0p.js";import"./vue-hooks-plus@2.2.1_vue@3.5.13_typescript@5.6.3_-BWv22OGL.js";import"./lodash@4.17.21-D1YkSij2.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DQHhvod-.js";import"./jsbarcode@3.11.6-VhIBVAt6.js";import"./@logicflow_core@2.0.10-Dy_oAVRl.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CO3T8151.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-Pd0MfMWr.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-4asTneEs.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.30.1-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./interactjs@1.10.27-hUbPqkuo.js";import"./call-bind@1.0.7-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-BXd8anFz.js";import"./mousetrap@1.6.5-D2xAa-oQ.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";const o="当前环境不支持全屏",eo={isEnabledFullscreen:o},no=Object.freeze(Object.defineProperty({__proto__:null,default:eo,isEnabledFullscreen:o},Symbol.toStringTag,{value:"Module"})),t="项目配置",e={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},n="界面显示",i="动画效果",io={Title:t,ThemeOptions:e,InterfaceDisplay:n,ContentTransition:i},ro=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:i,InterfaceDisplay:n,ThemeOptions:e,Title:t,default:io},Symbol.toStringTag,{value:"Module"})),r="刷新当前页面",s="锁屏",c="设置",l="Github",p="全屏",m="退出全屏",a="搜索",so={Reload:r,Lock:s,Setting:c,Github:l,FullScreen:p,CancelFullScreen:m,Search:a},co=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:p,Github:l,Lock:s,Reload:r,Search:a,Setting:c,default:so},Symbol.toStringTag,{value:"Module"})),_="请求",g="条形码",d="缓存工具函数",u="数字精度",b="右键菜单",f="首页",h="指令",S="文档",O="文档 (加速地址)",T="文档(内嵌)",y="可视化",C="表单",j="Mock 数据",v="模态框",D="多级菜单(缓存)",M="办公",P="文档",z="演示",N="表格",R="二维码",I="依赖项",k="关于",L="页面详情模式",x="分段器",F="SVG 图标",w="表格",E="模板内置 Api",A="滚动动画",G="高级表格",$="流程图",Q="拖拽卡片",lo={Axios:_,Barcode:g,CacheDemo:d,CalculatePrecision:u,ContextMenu:b,Dashboard:f,Directive:h,Doc:S,DocLocal:O,DocLocalInside:T,Echart:y,Error:"错误页",Form:C,Mock:j,Modal:v,MultiMenu:D,Office:M,Office_Document:P,Office_Presentation:z,Office_Spreadsheet:N,QRCode:R,Rely:I,RelyAbout:k,RouterDemo:L,Segment:x,SvgIcon:F,Table:w,TemplateHooks:E,scrollReveal:A,TablePro:G,Flow:$,DraggableCard:Q},po=Object.freeze(Object.defineProperty({__proto__:null,Axios:_,Barcode:g,CacheDemo:d,CalculatePrecision:u,ContextMenu:b,Dashboard:f,Directive:h,Doc:S,DocLocal:O,DocLocalInside:T,DraggableCard:Q,Echart:y,Flow:$,Form:C,Mock:j,Modal:v,MultiMenu:D,Office:M,Office_Document:P,Office_Presentation:z,Office_Spreadsheet:N,QRCode:R,Rely:I,RelyAbout:k,RouterDemo:L,Segment:x,SvgIcon:F,Table:w,TablePro:G,TemplateHooks:E,default:lo,scrollReveal:A},Symbol.toStringTag,{value:"Module"})),B="项目配置",H={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},V="界面显示",mo={Title:B,ThemeOptions:H,InterfaceDisplay:V},ao=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:V,ThemeOptions:H,Title:B,default:mo},Symbol.toStringTag,{value:"Module"})),q="注册",J="登录",K="扫码登陆",U="请输入用户名",W="请输入密码",X="登 陆",Y="用户名",Z="密码",oo="开箱即用的中后台管理系统",_o={Register:q,Signing:J,QRCodeSigning:K,NamePlaceholder:U,PasswordPlaceholder:W,Login:X,Name:Y,Password:Z,RayTemplate:oo},go=Object.freeze(Object.defineProperty({__proto__:null,Login:X,Name:Y,NamePlaceholder:U,Password:Z,PasswordPlaceholder:W,QRCodeSigning:K,RayTemplate:oo,Register:q,Signing:J,default:_o},Symbol.toStringTag,{value:"Module"})),uo=Object.assign({"./zh-CN/globalMessage.json":no,"./zh-CN/headerSettingOptions.json":ro,"./zh-CN/headerTooltip.json":co,"./zh-CN/menu.json":po,"./zh-CN/setting.json":ao,"./zh-CN/views/login/index.json":go}),ht={message:{...to(uo,"zh-CN")}};export{ht as default}; diff --git a/js/zh-CN-B-kcJT8r.js.gz b/js/zh-CN-B-kcJT8r.js.gz deleted file mode 100644 index 2dd0b8d6..00000000 Binary files a/js/zh-CN-B-kcJT8r.js.gz and /dev/null differ diff --git a/js/zh-CN-DtTnE_ME.js b/js/zh-CN-DtTnE_ME.js new file mode 100644 index 00000000..9895323f --- /dev/null +++ b/js/zh-CN-DtTnE_ME.js @@ -0,0 +1 @@ +import{E as to}from"./hooks-DAFrMGjY.js";import"./dayjs@1.11.13-BWvakrn1.js";import"./print-js@1.6.0-BptnCCm-.js";import"./vue-hooks-plus@2.2.3_vue@3.5.13_typescript@5.6.3_-F-c4u1GS.js";import"./lodash@4.17.21-Bv2ueefR.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-CClqR5rE.js";import"./jsbarcode@3.11.6-CfPZaUx-.js";import"./@logicflow_core@2.0.10-ofLqxMRW.js";import"./mobx-preact@3.0.0_mobx@5.15.7_preact@10.25.4-CFsMsPXj.js";import"./preact@10.25.4--QYavupV.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./crypto-js@4.2.0-CXjOS6lk.js";import"./lodash-es@4.17.21-BbYRMHep.js";import"./naive-ui@2.41.0_vue@3.5.13_typescript@5.6.3_-DW0tiym6.js";import"./date-fns@3.6.0-CG906D2E.js";import"./seemly@0.3.9-BnJ6M8Cl.js";import"./@vue_runtime-core@3.5.13-pPpmd6wL.js";import"./@vue_reactivity@3.5.13-CVvlldVq.js";import"./@vue_shared@3.5.13-CQ6Z-5d1.js";import"./vueuc@0.4.64_vue@3.5.13_typescript@5.6.3_-DZgPmxv3.js";import"./evtd@0.2.4-CI_DDEu_.js";import"./@css-render_vue3-ssr@0.15.14_vue@3.5.13_typescript@5.6.3_-DvmkD8RF.js";import"./vooks@0.2.12_vue@3.5.13_typescript@5.6.3_-rG9g4GjQ.js";import"./vdirs@0.1.8_vue@3.5.13_typescript@5.6.3_-C0KV5pCE.js";import"./@juggle_resize-observer@3.4.0-DY95s5UV.js";import"./css-render@0.15.14-BwokE0u2.js";import"./@emotion_hash@0.8.0-WldOFDRm.js";import"./@vue_runtime-dom@3.5.13-DJqlZTHq.js";import"./treemate@0.3.11-CWtmm0QO.js";import"./date-fns-tz@3.2.0_date-fns@3.6.0-CULxTaQG.js";import"./async-validator@4.2.5-P8scd9xB.js";import"./@css-render_plugin-bem@0.15.14_css-render@0.15.14-BrMTnGYY.js";import"./@vueuse_core@12.4.0_typescript@5.6.3-DzjsbTKf.js";import"./@vueuse_shared@12.4.0_typescript@5.6.3-BcXCAzGo.js";import"./utils-Bic_iDtY.js";import"./pinia-plugin-persistedstate@4.2.0_pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3___rollup@4.31.0-7e9nenNP.js";import"./destr@2.0.3-Cx7WjB9q.js";import"./deep-pick-omit@1.2.1-B1UrSIxj.js";import"./pinia@2.3.0_typescript@5.6.3_vue@3.5.13_typescript@5.6.3_-D39uhmss.js";import"./html-to-image@1.11.11-D6_yziCT.js";import"./vue-router@4.4.0_vue@3.5.13_typescript@5.6.3_-Ddx7y29b.js";import"./interactjs@1.10.27-0Tgk5CYh.js";import"./call-bind-apply-helpers@1.0.1-BosuxZz1.js";import"./vue-i18n@9.13.1_vue@3.5.13_typescript@5.6.3_-DQlA9smo.js";import"./@intlify_shared@9.13.1-BxU0OzX2.js";import"./@intlify_core-base@9.13.1-CVxc1Bsn.js";import"./@intlify_message-compiler@9.13.1-GrLDMuy_.js";import"./echarts@5.6.0-Dq866SEH.js";import"./zrender@5.6.1-B_T0sHVE.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./mobx@5.15.7-BvNiR7Ki.js";import"./uuid@9.0.1-CtRu48qb.js";import"./classnames@2.5.1-iH4Bdr9I.js";import"./mousetrap@1.6.5-C2A6yrpM.js";import"./mobx-utils@5.6.2_mobx@5.15.7-D4RSJWSh.js";const o="当前环境不支持全屏",eo={isEnabledFullscreen:o},no=Object.freeze(Object.defineProperty({__proto__:null,default:eo,isEnabledFullscreen:o},Symbol.toStringTag,{value:"Module"})),t="项目配置",e={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},n="界面显示",i="动画效果",io={Title:t,ThemeOptions:e,InterfaceDisplay:n,ContentTransition:i},ro=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:i,InterfaceDisplay:n,ThemeOptions:e,Title:t,default:io},Symbol.toStringTag,{value:"Module"})),r="刷新当前页面",s="锁屏",c="设置",l="Github",p="全屏",m="退出全屏",a="搜索",so={Reload:r,Lock:s,Setting:c,Github:l,FullScreen:p,CancelFullScreen:m,Search:a},co=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:p,Github:l,Lock:s,Reload:r,Search:a,Setting:c,default:so},Symbol.toStringTag,{value:"Module"})),_="请求",g="条形码",d="缓存工具函数",u="数字精度",b="右键菜单",f="首页",h="指令",S="文档",O="文档 (加速地址)",T="文档(内嵌)",y="可视化",C="表单",j="Mock 数据",v="模态框",D="多级菜单(缓存)",M="办公",P="文档",z="演示",N="表格",R="二维码",I="依赖项",k="关于",L="页面详情模式",x="分段器",F="SVG 图标",w="表格",E="模板内置 Api",A="滚动动画",G="高级表格",$="流程图",Q="拖拽卡片",lo={Axios:_,Barcode:g,CacheDemo:d,CalculatePrecision:u,ContextMenu:b,Dashboard:f,Directive:h,Doc:S,DocLocal:O,DocLocalInside:T,Echart:y,Error:"错误页",Form:C,Mock:j,Modal:v,MultiMenu:D,Office:M,Office_Document:P,Office_Presentation:z,Office_Spreadsheet:N,QRCode:R,Rely:I,RelyAbout:k,RouterDemo:L,Segment:x,SvgIcon:F,Table:w,TemplateHooks:E,scrollReveal:A,TablePro:G,Flow:$,DraggableCard:Q},po=Object.freeze(Object.defineProperty({__proto__:null,Axios:_,Barcode:g,CacheDemo:d,CalculatePrecision:u,ContextMenu:b,Dashboard:f,Directive:h,Doc:S,DocLocal:O,DocLocalInside:T,DraggableCard:Q,Echart:y,Flow:$,Form:C,Mock:j,Modal:v,MultiMenu:D,Office:M,Office_Document:P,Office_Presentation:z,Office_Spreadsheet:N,QRCode:R,Rely:I,RelyAbout:k,RouterDemo:L,Segment:x,SvgIcon:F,Table:w,TablePro:G,TemplateHooks:E,default:lo,scrollReveal:A},Symbol.toStringTag,{value:"Module"})),B="项目配置",H={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},V="界面显示",mo={Title:B,ThemeOptions:H,InterfaceDisplay:V},ao=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:V,ThemeOptions:H,Title:B,default:mo},Symbol.toStringTag,{value:"Module"})),q="注册",J="登录",K="扫码登陆",U="请输入用户名",W="请输入密码",X="登 陆",Y="用户名",Z="密码",oo="开箱即用的中后台管理系统",_o={Register:q,Signing:J,QRCodeSigning:K,NamePlaceholder:U,PasswordPlaceholder:W,Login:X,Name:Y,Password:Z,RayTemplate:oo},go=Object.freeze(Object.defineProperty({__proto__:null,Login:X,Name:Y,NamePlaceholder:U,Password:Z,PasswordPlaceholder:W,QRCodeSigning:K,RayTemplate:oo,Register:q,Signing:J,default:_o},Symbol.toStringTag,{value:"Module"})),uo=Object.assign({"./zh-CN/globalMessage.json":no,"./zh-CN/headerSettingOptions.json":ro,"./zh-CN/headerTooltip.json":co,"./zh-CN/menu.json":po,"./zh-CN/setting.json":ao,"./zh-CN/views/login/index.json":go}),ht={message:{...to(uo,"zh-CN")}};export{ht as default}; diff --git a/js/zh-CN-DtTnE_ME.js.gz b/js/zh-CN-DtTnE_ME.js.gz new file mode 100644 index 00000000..b967f5cc Binary files /dev/null and b/js/zh-CN-DtTnE_ME.js.gz differ diff --git a/mockServer/mock-data.js b/mockServer/mock-data.js index 47e1e260..ae324887 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-1740476407689.js +// mock-data-1740476410737.js import { transformMockData, transformRawData } from "vite-plugin-mock-dev-server/server"; // mock/demo/person.mock.ts @@ -85,7 +85,7 @@ var getPersonList = defineMock({ } }); -// mock-data-1740476407689.js +// mock-data-1740476410737.js var exporters = [ [person_mock_exports, "mock/demo/person.mock.ts"] ]; @@ -93,7 +93,7 @@ var mockList = exporters.map(([mod, filepath]) => { const raw = mod.default || mod; return transformRawData(raw, filepath); }); -var mock_data_1740476407689_default = transformMockData(mockList); +var mock_data_1740476410737_default = transformMockData(mockList); export { - mock_data_1740476407689_default as default + mock_data_1740476410737_default as default }; diff --git a/mockServer/mock-data.js.gz b/mockServer/mock-data.js.gz index 6e23b480..d4408172 100644 Binary files a/mockServer/mock-data.js.gz and b/mockServer/mock-data.js.gz differ