mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-05 19:42:07 +08:00
Deploying to dist from @ XiaoDaiGua-Ray/ray-template@fa8d52601f 🚀
This commit is contained in:
parent
761c43e8f9
commit
e4f462b5b9
File diff suppressed because one or more lines are too long
Binary file not shown.
1
css/hooks-Ds7YEzcf.css
Normal file
1
css/hooks-Ds7YEzcf.css
Normal file
File diff suppressed because one or more lines are too long
BIN
css/hooks-Ds7YEzcf.css.gz
Normal file
BIN
css/hooks-Ds7YEzcf.css.gz
Normal file
Binary file not shown.
1
css/index-74sXJ5VP.css
Normal file
1
css/index-74sXJ5VP.css
Normal file
@ -0,0 +1 @@
|
||||
.login{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;overflow:hidden}.login .login-wrapper{position:relative;-webkit-box-flex:1;-webkit-flex:auto;flex:auto}.login .login-wrapper.login-wrapper--divider{position:relative}.login .login-wrapper.login-wrapper--divider:before{content:"";position:absolute;width:var(--login-height);height:2px;background:-webkit-linear-gradient(315deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%),-webkit-linear-gradient(45deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%);background:linear-gradient(135deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%),linear-gradient(45deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%);background-size:1em 1em;background-repeat:repeat-x,repeat-x;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:0;transform-origin:0;left:50%}.login .login-wrapper .login-title__wrapper{position:absolute;left:24px;top:24px}.login .login-wrapper .login-action__wrapper{position:absolute;height:54.4px;right:24px;top:24px}.login .login-wrapper .login-copyright__wrapper{position:absolute;width:100%;text-align:center;bottom:24px;font-size:14px}.login .login-wrapper .login-wrapper__content{width:100%;height:100%}.login .login-wrapper .login-wrapper__content .n-grid{height:100%}.login .login-wrapper .login-wrapper__content .login__left-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:background-color .3s var(--r-bezier);transition:background-color .3s var(--r-bezier)}.login .login-wrapper .login-wrapper__content .login__right-wrapper{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}.login .login-wrapper .login-wrapper__content .login__right-wrapper .login__right-wrapper__content{width:50%;background-color:transparent}.ray-template--light .login__left-wrapper{background-color:#2080f038}.ray-template--light .login__right-wrapper{background-color:#fff}.ray-template--dark .login__left-wrapper{background-color:#2c354b}.ray-template--dark .login__right-wrapper{background-color:#2a3146}@media screen and (max-width: 1200px){.login__left-wrapper{display:none!important}}@media screen and (min-width: 768px) and (max-width: 992px){.login__right-wrapper .login__right-wrapper__content{width:55%!important}}@media screen and (max-width: 768px){.login__right-wrapper .login__right-wrapper__content{width:100%!important}}.qrcode-signing{width:100%;height:240px;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}.ray-template--light .sso-signing{color:#878787}
|
BIN
css/index-74sXJ5VP.css.gz
Normal file
BIN
css/index-74sXJ5VP.css.gz
Normal file
Binary file not shown.
1
css/index-B6yUFiKH.css
Normal file
1
css/index-B6yUFiKH.css
Normal file
@ -0,0 +1 @@
|
||||
.rely-about .n-card{margin-top:18px}.rely-about .n-card:first-child{margin-top:0}
|
@ -1 +0,0 @@
|
||||
.login{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden}.login .login-wrapper{position:relative;-webkit-box-flex:1;-webkit-flex:auto;-ms-flex:auto;flex:auto}.login .login-wrapper.login-wrapper--divider{position:relative}.login .login-wrapper.login-wrapper--divider:before{content:"";position:absolute;width:var(--login-height);height:.104rem;background:-webkit-linear-gradient(315deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%),-webkit-linear-gradient(45deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%);background:linear-gradient(135deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%),linear-gradient(45deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%);background-size:1em 1em;background-repeat:repeat-x,repeat-x;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:0;-ms-transform-origin:0;transform-origin:0;left:50%}.login .login-wrapper .login-title__wrapper{position:absolute;left:1.25rem;top:1.25rem}.login .login-wrapper .login-action__wrapper{position:absolute;height:2.833rem;right:1.25rem;top:1.25rem}.login .login-wrapper .login-copyright__wrapper{position:absolute;width:100%;text-align:center;bottom:1.25rem;font-size:.729rem}.login .login-wrapper .login-wrapper__content{width:100%;height:100%}.login .login-wrapper .login-wrapper__content .n-grid{height:100%}.login .login-wrapper .login-wrapper__content .login__left-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color .3s var(--r-bezier);transition:background-color .3s var(--r-bezier)}.login .login-wrapper .login-wrapper__content .login__right-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.login .login-wrapper .login-wrapper__content .login__right-wrapper .login__right-wrapper__content{width:50%;background-color:transparent}.ray-template--light .login__left-wrapper{background-color:#2080f038}.ray-template--light .login__right-wrapper{background-color:#fff}.ray-template--dark .login__left-wrapper{background-color:#2c354b}.ray-template--dark .login__right-wrapper{background-color:#2a3146}@media screen and (max-width: 1200px){.login__left-wrapper{display:none!important}}@media screen and (min-width: 768px) and (max-width: 992px){.login__right-wrapper .login__right-wrapper__content{width:55%!important}}@media screen and (max-width: 768px){.login__right-wrapper .login__right-wrapper__content{width:100%!important}}.qrcode-signing{width:100%;height:12.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.ray-template--light .sso-signing{color:#878787}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
.echart{width:100%;height:100%}.echart .n-card{margin-top:.938rem}.echart .n-card:first-child{margin-top:0}.echart .chart--container{width:100%;height:26.042rem}
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1 +0,0 @@
|
||||
.pre-view-icons__card{width:6.25rem;height:6.25rem;padding:.938rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border:1px solid var(--n-border-color);border-radius:var(--n-border-radius)}
|
@ -1 +0,0 @@
|
||||
.axios-header__btn{height:3.333rem}
|
1
css/index-D8hdJTnX.css
Normal file
1
css/index-D8hdJTnX.css
Normal file
File diff suppressed because one or more lines are too long
BIN
css/index-D8hdJTnX.css.gz
Normal file
BIN
css/index-D8hdJTnX.css.gz
Normal file
Binary file not shown.
1
css/index-DHYYVpM7.css
Normal file
1
css/index-DHYYVpM7.css
Normal file
@ -0,0 +1 @@
|
||||
.echart{width:100%;height:100%}.echart .n-card{margin-top:18px}.echart .n-card:first-child{margin-top:0}.echart .chart--container{width:100%;height:500px}
|
1
css/index-D_4DGt8i.css
Normal file
1
css/index-D_4DGt8i.css
Normal file
@ -0,0 +1 @@
|
||||
.dashboard-layout .n-card{margin-top:18px}.dashboard-layout .n-card:first-child{margin-top:0}.dashboard-layout .dashboard-link{text-decoration:none}
|
@ -1 +0,0 @@
|
||||
.dashboard-layout .n-card{margin-top:.938rem}.dashboard-layout .n-card:first-child{margin-top:0}.dashboard-layout .dashboard-link{text-decoration:none}
|
1
css/index-Eq1L-L2-.css
Normal file
1
css/index-Eq1L-L2-.css
Normal file
@ -0,0 +1 @@
|
||||
.pre-view-icons__card{width:120px;height:120px;padding:18px;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:1px solid var(--n-border-color);border-radius:var(--n-border-radius)}
|
@ -1 +0,0 @@
|
||||
.error-page{width:100%;height:100vh;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}
|
1
css/index-QAd2IBUs.css
Normal file
1
css/index-QAd2IBUs.css
Normal file
@ -0,0 +1 @@
|
||||
.axios-header__btn{height:64px}
|
1
css/index-b1h4j9PV.css
Normal file
1
css/index-b1h4j9PV.css
Normal file
@ -0,0 +1 @@
|
||||
.error-page{width:100%;height:100vh;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}
|
@ -1 +0,0 @@
|
||||
.rely-about .n-card{margin-top:.938rem}.rely-about .n-card:first-child{margin-top:0}
|
1
css/vue3-next-qrcode@2.0.10_typescript@5.2-CG4VaxS5.css
Normal file
1
css/vue3-next-qrcode@2.0.10_typescript@5.2-CG4VaxS5.css
Normal file
@ -0,0 +1 @@
|
||||
.ray-qrcode{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;width:var(--ray-qrcode-width);height:var(--ray-qrcode-height);overflow:hidden;border:1px solid rgba(5,5,5,.06);border-radius:var(--ray-qrcode-border-radius);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.ray-qrcode .ray-qrcode__loading--custom{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}.ray-qrcode .ray-qrcode__loading--custom .ray-qrcode__loading-slots{position:absolute;width:100%;height:100%}.ray-qrcode .ray-qrcode__loading{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}.ray-qrcode .ray-qrcode__loading:before{content:"";position:absolute;width:100%;height:100%;background-color:var(--ray-qrcode-mask-color)}.ray-qrcode .ray-qrcode__loading .ray-qrcode__spin{position:absolute;width:30px;height:30px;border:3px solid #1677ff;border-top-color:transparent;border-radius:100%;-webkit-animation:ray-qrcode-spin infinite .75s linear;animation:ray-qrcode-spin infinite .75s linear}.ray-qrcode .ray-qrcode__error{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:10;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;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;gap:5px 0;color:#000000e0;-webkit-transition:color .3s ease-in-out;transition:color .3s ease-in-out}.ray-qrcode .ray-qrcode__error:before{content:"";position:absolute;width:100%;height:100%;background-color:var(--ray-qrcode-mask-color);z-index:-1}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-content{text-align:center}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-btn{cursor:pointer;color:#1677ff}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-btn:hover{color:#69b1ff}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-btn .ray-qrcode__error-btn-click{color:#1677ff}@-webkit-keyframes ray-qrcode-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ray-qrcode-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}
|
BIN
css/vue3-next-qrcode@2.0.10_typescript@5.2-CG4VaxS5.css.gz
Normal file
BIN
css/vue3-next-qrcode@2.0.10_typescript@5.2-CG4VaxS5.css.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
.ray-qrcode{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--ray-qrcode-width);height:var(--ray-qrcode-height);overflow:hidden;border:1px solid rgba(5,5,5,.06);border-radius:var(--ray-qrcode-border-radius);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.ray-qrcode .ray-qrcode__loading--custom{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.ray-qrcode .ray-qrcode__loading--custom .ray-qrcode__loading-slots{position:absolute;width:100%;height:100%}.ray-qrcode .ray-qrcode__loading{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.ray-qrcode .ray-qrcode__loading:before{content:"";position:absolute;width:100%;height:100%;background-color:var(--ray-qrcode-mask-color)}.ray-qrcode .ray-qrcode__loading .ray-qrcode__spin{position:absolute;width:30px;height:30px;border:3px solid #1677ff;border-top-color:transparent;border-radius:100%;-webkit-animation:ray-qrcode-spin infinite .75s linear;animation:ray-qrcode-spin infinite .75s linear}.ray-qrcode .ray-qrcode__error{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:10;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:5px 0;color:#000000e0;-webkit-transition:color .3s ease-in-out;transition:color .3s ease-in-out}.ray-qrcode .ray-qrcode__error:before{content:"";position:absolute;width:100%;height:100%;background-color:var(--ray-qrcode-mask-color);z-index:-1}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-content{text-align:center}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-btn{cursor:pointer;color:#1677ff}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-btn:hover{color:#69b1ff}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-btn .ray-qrcode__error-btn-click{color:#1677ff}@-webkit-keyframes ray-qrcode-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes ray-qrcode-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}
|
Binary file not shown.
70
index.html
70
index.html
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.34/vue.global.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.38/vue.global.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-demi/0.14.6/index.iife.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/naive-ui/2.39.0/index.prod.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pinia/2.1.7/pinia.iife.min.js"></script>
|
||||
@ -17,34 +17,34 @@
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||
/>
|
||||
<title>Ray Template</title>
|
||||
<script type="module" crossorigin src="/ray-template/js/index-DaiUWuBq.js"></script>
|
||||
<script type="module" crossorigin src="/ray-template/js/index-Cn5RTuqi.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/lodash-es@4.17.21-BALnwRTu.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/currency.js@2.0.4-9OAR_aOO.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/call-bind@1.0.7-Cpj98o6Y.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/dayjs@1.11.10-D8VSY-p2.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/dayjs@1.11.10-C8LoRVP6.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/print-js@1.6.0-BdoEj60G.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/lodash@4.17.21-Cw59kuJw.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/js-cookie@3.0.5-Z_8Sd105.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/screenfull@5.2.0-DmMZCkhi.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/utils-KzSLWhhh.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/utils-DCtVzoYl.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/interactjs@1.10.26-DZL_TZzP.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/dom-to-image@2.6.0-DCOFUeQU.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/tslib@2.3.0-BDyQ-Jie.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/zrender@5.5.0-DW8ownf1.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/echarts@5.5.0-CezqL3m-.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_shared@3.4.34-C-TABL9H.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_reactivity@3.4.34-CztCRbLl.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_runtime-core@3.4.34-DmZqUhja.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/hooks-BbIBxRo9.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-Du0Nh3g9.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_shared@3.4.38-D8qfpBTH.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_reactivity@3.4.38-CmXFqMGn.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_runtime-core@3.4.38-f9XU7P4m.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/hooks-C7ZgHAXE.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-B-d0H0H3.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/clipboard@2.0.11-DheAgBlr.js">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/hooks-Cqe-s-rU.css">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/vue3-next-qrcode@2.0.10_typescript@5.2-DMlRaYPw.css">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/index-C7YmoElI.css">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/hooks-Ds7YEzcf.css">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/vue3-next-qrcode@2.0.10_typescript@5.2-CG4VaxS5.css">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/index-D8hdJTnX.css">
|
||||
</head>
|
||||
<style>
|
||||
:root {
|
||||
@ -74,36 +74,32 @@
|
||||
height: 100%;
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-pack: center;
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-box-align: center;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#pre-loading-animation
|
||||
.pre-loading-animation__wrapper
|
||||
.pre-loading-animation__wrapper-title {
|
||||
font-size: 1.667rem;
|
||||
padding-bottom: 2.5rem;
|
||||
font-size: 32px;
|
||||
padding-bottom: 48px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.pre-loading-animation__wrapper-loading {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 0.313rem;
|
||||
height: 0.521rem;
|
||||
width: 6px;
|
||||
height: 10px;
|
||||
|
||||
-webkit-animation: rectangle infinite 1s ease-in-out -0.2s;
|
||||
|
||||
@ -115,14 +111,14 @@
|
||||
.pre-loading-animation__wrapper-loading:before,
|
||||
.pre-loading-animation__wrapper-loading:after {
|
||||
position: absolute;
|
||||
width: 0.313rem;
|
||||
height: 0.521rem;
|
||||
width: 6px;
|
||||
height: 10px;
|
||||
content: '';
|
||||
background-color: var(--preloading-tag-color);
|
||||
}
|
||||
|
||||
.pre-loading-animation__wrapper-loading:before {
|
||||
left: -0.729rem;
|
||||
left: -14px;
|
||||
|
||||
-webkit-animation: rectangle infinite 1s ease-in-out -0.4s;
|
||||
|
||||
@ -130,7 +126,7 @@
|
||||
}
|
||||
|
||||
.pre-loading-animation__wrapper-loading:after {
|
||||
right: -0.729rem;
|
||||
right: -14px;
|
||||
|
||||
-webkit-animation: rectangle infinite 1s ease-in-out;
|
||||
|
||||
@ -141,15 +137,13 @@
|
||||
0%,
|
||||
80%,
|
||||
100% {
|
||||
height: 1.042rem;
|
||||
-webkit-box-shadow: 0 0 var(--preloading-tag-color);
|
||||
box-shadow: 0 0 var(--preloading-tag-color);
|
||||
height: 20px;
|
||||
box-shadow: 0 0 var(--preloading-tag-color);
|
||||
}
|
||||
|
||||
40% {
|
||||
height: 1.563rem;
|
||||
-webkit-box-shadow: 0 -1.042rem var(--preloading-tag-color);
|
||||
box-shadow: 0 -1.042rem var(--preloading-tag-color);
|
||||
height: 30px;
|
||||
box-shadow: 0 -20px var(--preloading-tag-color);
|
||||
}
|
||||
}
|
||||
|
||||
@ -157,15 +151,13 @@
|
||||
0%,
|
||||
80%,
|
||||
100% {
|
||||
height: 1.042rem;
|
||||
-webkit-box-shadow: 0 0 var(--preloading-tag-color);
|
||||
box-shadow: 0 0 var(--preloading-tag-color);
|
||||
height: 20px;
|
||||
box-shadow: 0 0 var(--preloading-tag-color);
|
||||
}
|
||||
|
||||
40% {
|
||||
height: 1.563rem;
|
||||
-webkit-box-shadow: 0 -1.042rem var(--preloading-tag-color);
|
||||
box-shadow: 0 -1.042rem var(--preloading-tag-color);
|
||||
height: 30px;
|
||||
box-shadow: 0 -20px var(--preloading-tag-color);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
BIN
index.html.gz
BIN
index.html.gz
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
import{i as r}from"./@vue_shared@3.4.34-C-TABL9H.js";/**
|
||||
* @vue/reactivity v3.4.34
|
||||
import{i as r}from"./@vue_shared@3.4.38-D8qfpBTH.js";/**
|
||||
* @vue/reactivity v3.4.38
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(r));function i(e){return e?!!e.__v_raw:!1}function o(e){return!!(e&&e.__v_isRef===!0)}export{i as a,o as i};
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
import{i as A,a as N}from"./@vue_reactivity@3.4.34-CztCRbLl.js";import{a as g,b as m,c as S,g as z,E as j,n as T,d as k,e as h,f as y,h as B}from"./@vue_shared@3.4.34-C-TABL9H.js";/**
|
||||
* @vue/runtime-core v3.4.34
|
||||
import{i as A,a as N}from"./@vue_reactivity@3.4.38-CmXFqMGn.js";import{a as g,b as m,c as S,g as z,E as j,n as T,d as k,e as h,f as y,h as B}from"./@vue_shared@3.4.38-D8qfpBTH.js";/**
|
||||
* @vue/runtime-core v3.4.38
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let r=null,M=null;function E(t,s){t.shapeFlag&6&&t.component?E(t.component.subTree,s):t.shapeFlag&128?(t.ssContent.transition=s.clone(t.ssContent),t.ssFallback.transition=s.clone(t.ssFallback)):t.transition=s}const P=Symbol.for("v-ndc"),U={},V=t=>Object.getPrototypeOf(t)===U,G=t=>t.__isTeleport,L=t=>t.__isSuspense,I=Symbol.for("v-fgt"),Y=Symbol.for("v-txt"),D=Symbol.for("v-cmt"),H=Symbol.for("v-stc"),f=[];let u=null;function v(t=!1){f.push(u=t?null:[])}function K(){f.pop(),u=f[f.length-1]||null}function q(t){return t.dynamicChildren=u||j,K(),u&&u.push(t),t}function tt(t,s,l,c,n,e){return q(x(t,s,l,c,n,e,!0))}function w(t){return t?t.__v_isVNode===!0:!1}const O=({key:t})=>t??null,_=({ref:t,ref_key:s,ref_for:l})=>(typeof t=="number"&&(t=""+t),t!=null?g(t)||A(t)||S(t)?{i:r,r:t,k:s,f:!!l}:t:null);function x(t,s=null,l=null,c=0,n=null,e=t===I?0:1,i=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:s,key:s&&O(s),ref:s&&_(s),scopeId:M,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:e,patchFlag:c,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:r};return o?(p(a,l),e&128&&t.normalize(a)):l&&(a.shapeFlag|=g(l)?8:16),!i&&u&&(a.patchFlag>0||e&6)&&a.patchFlag!==32&&u.push(a),a}const R=J;function J(t,s=null,l=null,c=0,n=null,e=!1){if((!t||t===P)&&(t=D),w(t)){const o=F(t,s,!0);return l&&p(o,l),!e&&u&&(o.shapeFlag&6?u[u.indexOf(t)]=o:u.push(o)),o.patchFlag=-2,o}if(Z(t)&&(t=t.__vccOpts),s){s=Q(s);let{class:o,style:a}=s;o&&!g(o)&&(s.class=T(o)),k(a)&&(N(a)&&!m(a)&&(a=h({},a)),s.style=y(a))}const i=g(t)?1:L(t)?128:G(t)?64:k(t)?4:S(t)?2:0;return x(t,s,l,c,n,i,e,!0)}function Q(t){return t?N(t)||V(t)?h({},t):t:null}function F(t,s,l=!1,c=!1){const{props:n,ref:e,patchFlag:i,children:o,transition:a}=t,C=s?X(n||{},s):n,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:C,key:C&&O(C),ref:s&&s.ref?l&&e?m(e)?e.concat(_(s)):[e,_(s)]:_(s):e,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:s&&t.type!==I?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&F(t.ssContent),ssFallback:t.ssFallback&&F(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&c&&E(b,a.clone(b)),b}function W(t=" ",s=0){return R(Y,null,t,s)}function st(t,s){const l=R(H,null,t);return l.staticCount=s,l}function p(t,s){let l=0;const{shapeFlag:c}=t;if(s==null)s=null;else if(m(s))l=16;else if(typeof s=="object")if(c&65){const n=s.default;n&&(n._c&&(n._d=!1),p(t,n()),n._c&&(n._d=!0));return}else{l=32;const n=s._;!n&&!V(s)?s._ctx=r:n===3&&r&&(r.slots._===1?s._=1:(s._=2,t.patchFlag|=1024))}else S(s)?(s={default:s,_ctx:r},l=32):(s=String(s),c&64?(l=16,s=[W(s)]):l=8);t.children=s,t.shapeFlag|=l}function X(...t){const s={};for(let l=0;l<t.length;l++){const c=t[l];for(const n in c)if(n==="class")s.class!==c.class&&(s.class=T([s.class,c.class]));else if(n==="style")s.style=y([s.style,c.style]);else if(B(n)){const e=s[n],i=c[n];i&&e!==i&&!(m(e)&&e.includes(i))&&(s[n]=e?[].concat(e,i):i)}else n!==""&&(s[n]=c[n])}return s}{const t=z(),s=(l,c)=>{let n;return(n=t[l])||(n=t[l]=[]),n.push(c),e=>{n.length>1?n.forEach(i=>i(e)):n[0](e)}};s("__VUE_INSTANCE_SETTERS__",l=>l),s("__VUE_SSR_SETTERS__",l=>l)}function Z(t){return S(t)&&"__vccOpts"in t}export{st as a,tt as c,v as o};
|
BIN
js/@vue_runtime-core@3.4.38-f9XU7P4m.js.gz
Normal file
BIN
js/@vue_runtime-core@3.4.38-f9XU7P4m.js.gz
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/shared v3.4.34
|
||||
* @vue/shared v3.4.38
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/const h=[],b=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),A=Object.assign,f=Array.isArray,C=t=>typeof t=="function",i=t=>typeof t=="string",E=t=>typeof t=="symbol",l=t=>t!==null&&typeof t=="object";let c;const R=()=>c||(c=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function a(t){if(f(t)){const o={};for(let n=0;n<t.length;n++){const s=t[n],e=i(s)?m(s):a(s);if(e)for(const r in e)o[r]=e[r]}return o}else if(i(t)||l(t))return t}const d=/;(?![^(]*\))/g,g=/:([^]+)/,p=/\/\*[^]*?\*\//g;function m(t){const o={};return t.replace(p,"").split(d).forEach(n=>{if(n){const s=n.split(g);s.length>1&&(o[s[0].trim()]=s[1].trim())}}),o}function y(t){let o="";if(i(t))o=t;else if(f(t))for(let n=0;n<t.length;n++){const s=y(t[n]);s&&(o+=s+" ")}else if(l(t))for(const n in t)t[n]&&(o+=n+" ");return o.trim()}export{h as E,i as a,f as b,C as c,l as d,A as e,a as f,R as g,b as h,E as i,y as n};
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js.gz
Normal file
BIN
js/@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
import{y as e}from"./hooks-BbIBxRo9.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./utils-KzSLWhhh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";const T=Vue.defineComponent({name:"BarcodeDemo",setup(){const u={width:4},t=Vue.ref(!1),a=Vue.ref("RayTemplate");return{baseOptions:u,loading:t,text:a}},render(){const{baseOptions:u}=this;return Vue.createVNode(naive.NGrid,{cols:2,xGap:12,yGap:12},{default:()=>[Vue.createVNode(naive.NGridItem,{span:2},{default:()=>[Vue.createVNode(naive.NCard,{title:"详细配置项说明"},{default:()=>[Vue.createTextVNode("点击查看详细配置项:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/Options"},[Vue.createTextVNode("js-barcode options")]),Vue.createTextVNode("。")]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"基础条形码"},{default:()=>[Vue.createVNode(e,{text:"RayTemplate",options:{...u}},null)]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"自定义颜色条形码"},{default:()=>[Vue.createVNode(e,{text:"RayTemplate",options:{...u,lineColor:"red"}},null)]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"pharmacode 模式"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NAlert,{type:"warning",title:"注意"},{default:()=>[Vue.createTextVNode("该模式下,条形码只能渲染有效数值,否则将会渲染失败。可以查看官网说明:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/pharmacode"},[Vue.createTextVNode("pharmacode")]),Vue.createTextVNode("。")]}),Vue.createVNode(e,{text:"1234",format:"pharmacode",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"codabar 模式"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NAlert,{type:"warning",title:"注意"},{default:()=>[Vue.createTextVNode("该模式下,需要注意 text 中的特殊字符,可以查看官网说明:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/codabar"},[Vue.createTextVNode("codabar")]),Vue.createTextVNode("。")]}),Vue.createVNode(e,{text:"1234",format:"codabar",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"有状态的条形码"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0,size:"large",justify:"flex-start",inline:!0},{default:()=>[Vue.createVNode(naive.NSwitch,{value:this.loading,"onUpdate:value":t=>this.loading=t,style:"width: fit-content"},{checked:()=>"loading...",unchecked:()=>"success!"}),Vue.createVNode(e,{text:"RayTemplate",loading:this.loading},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"watchText 主动监听 text 变化"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NInput,{value:this.text,"onUpdate:value":t=>this.text=t},null),Vue.createVNode(e,{text:this.text,watchText:!0},null)]})]})]})]})}});export{T as default};
|
||||
import{y as e}from"./hooks-C7ZgHAXE.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./utils-DCtVzoYl.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";const T=Vue.defineComponent({name:"BarcodeDemo",setup(){const u={width:4},t=Vue.ref(!1),a=Vue.ref("RayTemplate");return{baseOptions:u,loading:t,text:a}},render(){const{baseOptions:u}=this;return Vue.createVNode(naive.NGrid,{cols:2,xGap:12,yGap:12},{default:()=>[Vue.createVNode(naive.NGridItem,{span:2},{default:()=>[Vue.createVNode(naive.NCard,{title:"详细配置项说明"},{default:()=>[Vue.createTextVNode("点击查看详细配置项:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/Options"},[Vue.createTextVNode("js-barcode options")]),Vue.createTextVNode("。")]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"基础条形码"},{default:()=>[Vue.createVNode(e,{text:"RayTemplate",options:{...u}},null)]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"自定义颜色条形码"},{default:()=>[Vue.createVNode(e,{text:"RayTemplate",options:{...u,lineColor:"red"}},null)]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"pharmacode 模式"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NAlert,{type:"warning",title:"注意"},{default:()=>[Vue.createTextVNode("该模式下,条形码只能渲染有效数值,否则将会渲染失败。可以查看官网说明:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/pharmacode"},[Vue.createTextVNode("pharmacode")]),Vue.createTextVNode("。")]}),Vue.createVNode(e,{text:"1234",format:"pharmacode",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"codabar 模式"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NAlert,{type:"warning",title:"注意"},{default:()=>[Vue.createTextVNode("该模式下,需要注意 text 中的特殊字符,可以查看官网说明:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/codabar"},[Vue.createTextVNode("codabar")]),Vue.createTextVNode("。")]}),Vue.createVNode(e,{text:"1234",format:"codabar",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"有状态的条形码"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0,size:"large",justify:"flex-start",inline:!0},{default:()=>[Vue.createVNode(naive.NSwitch,{value:this.loading,"onUpdate:value":t=>this.loading=t,style:"width: fit-content"},{checked:()=>"loading...",unchecked:()=>"success!"}),Vue.createVNode(e,{text:"RayTemplate",loading:this.loading},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"watchText 主动监听 text 变化"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NInput,{value:this.text,"onUpdate:value":t=>this.text=t},null),Vue.createVNode(e,{text:this.text,watchText:!0},null)]})]})]})]})}});export{T as default};
|
BIN
js/BarcodeDemo-DfxRtshw.js.gz
Normal file
BIN
js/BarcodeDemo-DfxRtshw.js.gz
Normal file
Binary file not shown.
Binary file not shown.
1
js/TablePro-DSdnm-wa.js
Normal file
1
js/TablePro-DSdnm-wa.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/TablePro-DSdnm-wa.js.gz
Normal file
BIN
js/TablePro-DSdnm-wa.js.gz
Normal file
Binary file not shown.
1
js/dayjs@1.11.10-C8LoRVP6.js
Normal file
1
js/dayjs@1.11.10-C8LoRVP6.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/dayjs@1.11.10-C8LoRVP6.js.gz
Normal file
BIN
js/dayjs@1.11.10-C8LoRVP6.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{x as Y}from"./hooks-BbIBxRo9.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./utils-KzSLWhhh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";const e="The current environment does not support full screen",Z={isEnabledFullscreen:e},ee=Object.freeze(Object.defineProperty({__proto__:null,default:Z,isEnabledFullscreen:e},Symbol.toStringTag,{value:"Module"})),o="Configuration",t={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},n="Display",c="Content Transition",oe={Title:o,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:c},te=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:c,InterfaceDisplay:n,ThemeOptions:t,Title:o,default:oe},Symbol.toStringTag,{value:"Module"})),i="Reload Current Page",r="Lock",s="Setting",l="Github",a="Full Screen",m="Cancel Full Screen",g="Search",ne={Reload:i,Lock:r,Setting:s,Github:l,FullScreen:a,CancelFullScreen:m,Search:g},ce=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:r,Reload:i,Search:g,Setting:s,default:ne},Symbol.toStringTag,{value:"Module"})),u="Axios Request",p="Barcode",d="Cache Utils Demo",_="Precision",S="Right Click Menu",f="Home",b="Directive",h="Doc",T="Doc (China)",D="Doc(inside)",y="Chart",C="Form",O="Mock",R="Modal",P="MultiMenu(catch)",M="Office",v="Document",j="Presentation",L="Spreadsheet",k="QRCode",F="Rely",I="Rely About",U="Same Level Router Demo",x="Segment",w="SVG Icon",A="Table",z="Template Api",E="Scroll Reveal",ie={Axios:u,Barcode:p,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Error:"Error Page",Form:C,Mock:O,Modal:R,MultiMenu:P,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,scrollReveal:E},re=Object.freeze(Object.defineProperty({__proto__:null,Axios:u,Barcode:p,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Form:C,Mock:O,Modal:R,MultiMenu:P,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,default:ie,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),Q="Configuration",N={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},B="Interface Display",se={Title:Q,ThemeOptions:N,InterfaceDisplay:B},le=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:B,ThemeOptions:N,Title:Q,default:se},Symbol.toStringTag,{value:"Module"})),G="Register",H="Signing",$="QRCode Signing",q="please enter user name",V="please enter password",J="Login",K="User Name",W="User Password",X="Fast Background Template",ae={Register:G,Signing:H,QRCodeSigning:$,NamePlaceholder:q,PasswordPlaceholder:V,Login:J,Name:K,Password:W,RayTemplate:X},me=Object.freeze(Object.defineProperty({__proto__:null,Login:J,Name:K,NamePlaceholder:q,Password:W,PasswordPlaceholder:V,QRCodeSigning:$,RayTemplate:X,Register:G,Signing:H,default:ae},Symbol.toStringTag,{value:"Module"})),ge=Object.assign({"./en-US/globalMessage.json":ee,"./en-US/headerSettingOptions.json":te,"./en-US/headerTooltip.json":ce,"./en-US/menu.json":re,"./en-US/setting.json":le,"./en-US/views/login/index.json":me}),Ue={message:{...Y(ge,"en-US")}};export{Ue as default};
|
Binary file not shown.
1
js/en-US-CLY6lC7i.js
Normal file
1
js/en-US-CLY6lC7i.js
Normal file
@ -0,0 +1 @@
|
||||
import{x as Z}from"./hooks-C7ZgHAXE.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./utils-DCtVzoYl.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";const e="The current environment does not support full screen",ee={isEnabledFullscreen:e},oe=Object.freeze(Object.defineProperty({__proto__:null,default:ee,isEnabledFullscreen:e},Symbol.toStringTag,{value:"Module"})),o="Configuration",t={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},n="Display",c="Content Transition",te={Title:o,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:c},ne=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:c,InterfaceDisplay:n,ThemeOptions:t,Title:o,default:te},Symbol.toStringTag,{value:"Module"})),r="Reload Current Page",i="Lock",s="Setting",l="Github",a="Full Screen",m="Cancel Full Screen",g="Search",ce={Reload:r,Lock:i,Setting:s,Github:l,FullScreen:a,CancelFullScreen:m,Search:g},re=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:i,Reload:r,Search:g,Setting:s,default:ce},Symbol.toStringTag,{value:"Module"})),u="Axios Request",p="Barcode",d="Cache Utils Demo",_="Precision",S="Right Click Menu",f="Home",b="Directive",h="Doc",T="Doc (China)",D="Doc(inside)",y="Chart",C="Form",P="Mock",O="Modal",R="MultiMenu(catch)",M="Office",v="Document",j="Presentation",L="Spreadsheet",k="QRCode",F="Rely",I="Rely About",U="Same Level Router Demo",x="Segment",w="SVG Icon",A="Table",z="Template Api",E="Scroll Reveal",Q="Table Pro",ie={Axios:u,Barcode:p,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Error:"Error Page",Form:C,Mock:P,Modal:O,MultiMenu:R,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,scrollReveal:E,TablePro:Q},se=Object.freeze(Object.defineProperty({__proto__:null,Axios:u,Barcode:p,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Form:C,Mock:P,Modal:O,MultiMenu:R,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TablePro:Q,TemplateHooks:z,default:ie,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),N="Configuration",B={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},G="Interface Display",le={Title:N,ThemeOptions:B,InterfaceDisplay:G},ae=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:G,ThemeOptions:B,Title:N,default:le},Symbol.toStringTag,{value:"Module"})),H="Register",$="Signing",q="QRCode Signing",V="please enter user name",J="please enter password",K="Login",W="User Name",X="User Password",Y="Fast Background Template",me={Register:H,Signing:$,QRCodeSigning:q,NamePlaceholder:V,PasswordPlaceholder:J,Login:K,Name:W,Password:X,RayTemplate:Y},ge=Object.freeze(Object.defineProperty({__proto__:null,Login:K,Name:W,NamePlaceholder:V,Password:X,PasswordPlaceholder:J,QRCodeSigning:q,RayTemplate:Y,Register:H,Signing:$,default:me},Symbol.toStringTag,{value:"Module"})),ue=Object.assign({"./en-US/globalMessage.json":oe,"./en-US/headerSettingOptions.json":ne,"./en-US/headerTooltip.json":re,"./en-US/menu.json":se,"./en-US/setting.json":ae,"./en-US/views/login/index.json":ge}),xe={message:{...Z(ue,"en-US")}};export{xe as default};
|
BIN
js/en-US-CLY6lC7i.js.gz
Normal file
BIN
js/en-US-CLY6lC7i.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
12
js/hooks-C7ZgHAXE.js
Normal file
12
js/hooks-C7ZgHAXE.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/hooks-C7ZgHAXE.js.gz
Normal file
BIN
js/hooks-C7ZgHAXE.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
import{r as o}from"./hooks-BbIBxRo9.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{A as r}from"./index-43Sr2ZDd.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./utils-KzSLWhhh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";function l(u){return typeof u=="function"||Object.prototype.toString.call(u)==="[object Object]"&&!Vue.isVNode(u)}const O=Vue.defineComponent({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("Vue3.x")]}),Vue.createVNode(naive.NTag,{type:"info"},{default:()=>[Vue.createTextVNode("React")]})]})},{label:"从事搬砖时长",des:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(o,{name:"ray",size:"22"},null),Vue.createTextVNode("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createTextVNode("如果有希望补充的功能可以在"),Vue.createVNode("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[Vue.createTextVNode("GitHub")]),Vue.createTextVNode("提一个 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 u,t;return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,null,{header:()=>Vue.createVNode(o,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),Vue.createVNode(naive.NCard,{title:"个人介绍"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left",column:2},l(u=this.coverLetterOptions.map(e=>{let a;return Vue.createVNode(naive.NDescriptionsItem,{key:e.label,label:e.label,span:e==null?void 0:e.span},l(a=e.des())?a:{default:()=>[a]})}))?u:{default:()=>[u]})]}),Vue.createVNode(naive.NCard,{title:"项目介绍"},{default:()=>[Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("技术栈")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createVNode(naive.NFlex,null,l(t=this.technologyTagOptions.map(e=>Vue.createVNode(naive.NTag,{key:e.value,type:"info"},{default:()=>[e.label]})))?t:{default:()=>[t]})]}),Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("项目介绍")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createTextVNode("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),Vue.createVNode(naive.NCard,{title:"友情链接"},{default:()=>[Vue.createVNode(r,null,null)]})]})}});export{O as default};
|
||||
import{r as o}from"./hooks-C7ZgHAXE.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{A as r}from"./index-43Sr2ZDd.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./utils-DCtVzoYl.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";function l(u){return typeof u=="function"||Object.prototype.toString.call(u)==="[object Object]"&&!Vue.isVNode(u)}const O=Vue.defineComponent({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("Vue3.x")]}),Vue.createVNode(naive.NTag,{type:"info"},{default:()=>[Vue.createTextVNode("React")]})]})},{label:"从事搬砖时长",des:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(o,{name:"ray",size:"22"},null),Vue.createTextVNode("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createTextVNode("如果有希望补充的功能可以在"),Vue.createVNode("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[Vue.createTextVNode("GitHub")]),Vue.createTextVNode("提一个 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 u,t;return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,null,{header:()=>Vue.createVNode(o,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),Vue.createVNode(naive.NCard,{title:"个人介绍"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left",column:2},l(u=this.coverLetterOptions.map(e=>{let a;return Vue.createVNode(naive.NDescriptionsItem,{key:e.label,label:e.label,span:e==null?void 0:e.span},l(a=e.des())?a:{default:()=>[a]})}))?u:{default:()=>[u]})]}),Vue.createVNode(naive.NCard,{title:"项目介绍"},{default:()=>[Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("技术栈")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createVNode(naive.NFlex,null,l(t=this.technologyTagOptions.map(e=>Vue.createVNode(naive.NTag,{key:e.value,type:"info"},{default:()=>[e.label]})))?t:{default:()=>[t]})]}),Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("项目介绍")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createTextVNode("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),Vue.createVNode(naive.NCard,{title:"友情链接"},{default:()=>[Vue.createVNode(r,null,null)]})]})}});export{O as default};
|
BIN
js/index-4kfTDO0r.js.gz
Normal file
BIN
js/index-4kfTDO0r.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
var g={pkg:{dependencies:{"@vueuse/core":"^10.9.0",axios:"^1.7.2",clipboard:"^2.0.11","currency.js":"^2.0.4",dayjs:"^1.11.10","dom-to-image":"2.6.0",echarts:"^5.5.0",interactjs:"1.10.26",jsbarcode:"3.11.6","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.39.0",pinia:"^2.1.7","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.4.34","vue-demi":"0.14.6","vue-hooks-plus":"2.2.1","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.1.1","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^5.1.0","@vitejs/plugin-vue-jsx":"^4.0.0","@vitest/ui":"1.4.0","@vue/eslint-config-prettier":"^9.0.0","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"2.4.3",autoprefixer:"^10.4.15",depcheck:"^1.4.5",eslint:"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^43.0.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.25.0","happy-dom":"14.3.1",husky:"8.0.3","lint-staged":"^15.1.0",postcss:"^8.4.31","postcss-px-to-viewport-8-plugin":"1.2.3",prettier:"^3.2.5",sass:"1.71.1","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.17.5","unplugin-vue-components":"^0.26.0",vite:"^5.3.5","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.11"},name:"ray-template",version:"4.9.2"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};function a(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!Vue.isVNode(t)}const V=Vue.defineComponent({name:"RelyAbout",setup(){const{pkg:t}=g,{dependencies:i,devDependencies:n,name:e,version:d}=t,c=[{title:"依赖名称",key:"name"},{title:"依赖版本",key:"relyVersion"},{title:"依赖地址",key:"relyAddress"}],l=Vue.ref([]),o=Vue.ref([]),v=[{name:"项目名称",label:e},{name:"版本信息",label:d},{name:"项目地址",label:"GitHub",url:"https://github.com/XiaoDaiGua-Ray/ray-template"}],m=()=>{const s=r=>Object.keys(r).reduce((p,u)=>(p.push({name:u,relyVersion:r[u],relyAddress:""}),p),[]);l.value=s(i),o.value=s(n)},y=s=>{s.url&&window.open(s.url)};return Vue.onBeforeMount(()=>{m()}),{columns:c,dependenciesOptions:l,devDependenciesOptions:o,templateOptions:v,handleTagClick:y}},render(){let t,i,n;return Vue.createVNode("div",{class:"rely-about"},[Vue.createVNode(naive.NCard,{title:"关于项目"},{default:()=>[Vue.createTextVNode("ray template 是一个基于: tsx pinia vue3.x vite sass 的中后台解决方案. 项目干净与轻巧, 已经集成了很多项目中可能需要的搬砖工具可以让你快速起一个相关项目, 并且不需要剔除大量无用页面与组件.")]}),Vue.createVNode(naive.NCard,{title:"项目信息"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left"},a(t=this.templateOptions.map(e=>Vue.createVNode(naive.NDescriptionsItem,{key:e.name,label:e.name},{default:()=>[Vue.createVNode(naive.NTag,Vue.mergeProps({bordered:!1,type:"info"},{onClick:this.handleTagClick.bind(this,e)},{style:[e.url?"cursor: pointer":""]}),{default:()=>[e.label]})]})))?t:{default:()=>[t]})]}),Vue.createVNode(naive.NCard,{title:"生产依赖"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left"},a(i=this.dependenciesOptions.map(e=>Vue.createVNode(naive.NDescriptionsItem,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?i:{default:()=>[i]})]}),Vue.createVNode(naive.NCard,{title:"开发依赖"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left"},a(n=this.devDependenciesOptions.map(e=>Vue.createVNode(naive.NDescriptionsItem,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?n:{default:()=>[n]})]})])}});export{V as default};
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
import{G as e}from"./hooks-BbIBxRo9.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./utils-KzSLWhhh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";const b=Vue.defineComponent({name:"IframeDemo",setup(){return{}},render(){return Vue.createVNode(naive.NFlex,{vertical:!0,size:[20,20]},{default:()=>[Vue.createVNode(naive.NCard,{title:"naive ui(延迟加载)"},{default:()=>[Vue.createVNode(e,{src:"https://www.naiveui.com/zh-CN/dark",height:"300",allow:"fullscreen"},null)]}),Vue.createVNode(naive.NCard,{title:"vue-hooks-plus(立即加载)"},{default:()=>[Vue.createVNode(e,{src:"https://inhiblabcore.github.io/docs/hooks/",height:"300",lazy:!1},null)]})]})}});export{b as default};
|
||||
import{G as e}from"./hooks-C7ZgHAXE.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./utils-DCtVzoYl.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";const b=Vue.defineComponent({name:"IframeDemo",setup(){return{}},render(){return Vue.createVNode(naive.NFlex,{vertical:!0,size:[20,20]},{default:()=>[Vue.createVNode(naive.NCard,{title:"naive ui(延迟加载)"},{default:()=>[Vue.createVNode(e,{src:"https://www.naiveui.com/zh-CN/dark",height:"300",allow:"fullscreen"},null)]}),Vue.createVNode(naive.NCard,{title:"vue-hooks-plus(立即加载)"},{default:()=>[Vue.createVNode(e,{src:"https://inhiblabcore.github.io/docs/hooks/",height:"300",lazy:!1},null)]})]})}});export{b as default};
|
BIN
js/index-Bf1RTeuh.js.gz
Normal file
BIN
js/index-Bf1RTeuh.js.gz
Normal file
Binary file not shown.
Binary file not shown.
1
js/index-BqB5dHh9.js
Normal file
1
js/index-BqB5dHh9.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-BqB5dHh9.js.gz
Normal file
BIN
js/index-BqB5dHh9.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
import{P as r,R as a}from"./hooks-BbIBxRo9.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./utils-KzSLWhhh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";const g=Vue.defineComponent({name:"ModalDemo",setup(){const t=Vue.reactive({modal1:!1,modal2:!1,modal3:!1}),{create:e}=r(),u=()=>{e({title:"卡片模态框",dad:!0,preset:"card",content:"我可以被拖拽的全屏card模态框",fullscreen:!0})},o=()=>{e({title:"模态框",content:"内容",preset:"dialog",dad:!0})};return{...Vue.toRefs(t),createCardModal:u,createDialogModal:o}},render(){const{createCardModal:t,createDialogModal:e}=this;return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"props"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("memoryPosition: 是否记住上一次被拖拽的位置,如果设置为 true,那么下一次打开的时候会自动定位到上一次的位置。")]),Vue.createVNode("h3",null,[Vue.createTextVNode("fullscreen: 全屏模态框。")]),Vue.createVNode("h3",null,[Vue.createTextVNode("dad: 启用拖拽,当配置为 false 时,会禁用拖拽效果。")])]})]}),Vue.createVNode(a,{show:this.modal1,"onUpdate:show":u=>this.modal1=u,title:"全屏模态框",fullscreen:!0,preset:"card"},{default:()=>[Vue.createTextVNode("我是全屏模态框,并且会自动启用滚动条。")]}),Vue.createVNode(a,{show:this.modal2,"onUpdate:show":u=>this.modal2=u,preset:"card",title:"可拖拽卡片模态框",dad:!0},{default:()=>[Vue.createVNode("p",null,[Vue.createTextVNode("我可以被拖拽")])]}),Vue.createVNode(a,{show:this.modal3,"onUpdate:show":u=>this.modal3=u,preset:"dialog",title:"可拖拽卡片模态框",dad:!0},{default:()=>[Vue.createVNode("p",null,[Vue.createTextVNode("我可以被拖拽")])]}),Vue.createVNode(naive.NCard,{title:"可拖拽模态框"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>this.modal2=!0},{default:()=>[Vue.createTextVNode("卡片模态框")]}),Vue.createVNode(naive.NButton,{onClick:()=>this.modal3=!0},{default:()=>[Vue.createTextVNode("对话框模态框")]})]}),Vue.createVNode(naive.NCard,{title:"全屏模态框"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h4",null,[Vue.createTextVNode("全屏模态框需要同时设置:fullscreen 为 true,并且 preset 为 card 时才会生效。")]),Vue.createVNode(naive.NButton,{onClick:()=>this.modal1=!0},{default:()=>[Vue.createTextVNode("打开")]})]})]}),Vue.createVNode(naive.NCard,{title:"手动设置宽度"},{default:()=>[Vue.createVNode("h4",null,[Vue.createTextVNode("width(--r-modal-width): 当 preset 不为 dialog 或者 card 的时候,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("dialogWidth(--r-modal-dialog-width): 当 preset 为 dialog,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("cardWidth(--r-modal-card-width): 当 preset 为 card,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("所有的宽度配置属性都会注入一个对应的 `css variable`,有时候会用上。")])]}),Vue.createVNode(naive.NCard,{title:"重写 useModal"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:t.bind(this)},{default:()=>[Vue.createTextVNode("创建卡片模态框")]}),Vue.createVNode(naive.NButton,{onClick:e.bind(this)},{default:()=>[Vue.createTextVNode("创建对话框模态框")]})]})]})}});export{g as default};
|
||||
import{K as r,R as a}from"./hooks-C7ZgHAXE.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./utils-DCtVzoYl.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";const g=Vue.defineComponent({name:"ModalDemo",setup(){const t=Vue.reactive({modal1:!1,modal2:!1,modal3:!1}),{create:e}=r(),u=()=>{e({title:"卡片模态框",dad:!0,preset:"card",content:"我可以被拖拽的全屏card模态框",fullscreen:!0})},o=()=>{e({title:"模态框",content:"内容",preset:"dialog",dad:!0})};return{...Vue.toRefs(t),createCardModal:u,createDialogModal:o}},render(){const{createCardModal:t,createDialogModal:e}=this;return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"props"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("memoryPosition: 是否记住上一次被拖拽的位置,如果设置为 true,那么下一次打开的时候会自动定位到上一次的位置。")]),Vue.createVNode("h3",null,[Vue.createTextVNode("fullscreen: 全屏模态框。")]),Vue.createVNode("h3",null,[Vue.createTextVNode("dad: 启用拖拽,当配置为 false 时,会禁用拖拽效果。")])]})]}),Vue.createVNode(a,{show:this.modal1,"onUpdate:show":u=>this.modal1=u,title:"全屏模态框",fullscreen:!0,preset:"card"},{default:()=>[Vue.createTextVNode("我是全屏模态框,并且会自动启用滚动条。")]}),Vue.createVNode(a,{show:this.modal2,"onUpdate:show":u=>this.modal2=u,preset:"card",title:"可拖拽卡片模态框",dad:!0},{default:()=>[Vue.createVNode("p",null,[Vue.createTextVNode("我可以被拖拽")])]}),Vue.createVNode(a,{show:this.modal3,"onUpdate:show":u=>this.modal3=u,preset:"dialog",title:"可拖拽卡片模态框",dad:!0},{default:()=>[Vue.createVNode("p",null,[Vue.createTextVNode("我可以被拖拽")])]}),Vue.createVNode(naive.NCard,{title:"可拖拽模态框"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>this.modal2=!0},{default:()=>[Vue.createTextVNode("卡片模态框")]}),Vue.createVNode(naive.NButton,{onClick:()=>this.modal3=!0},{default:()=>[Vue.createTextVNode("对话框模态框")]})]}),Vue.createVNode(naive.NCard,{title:"全屏模态框"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h4",null,[Vue.createTextVNode("全屏模态框需要同时设置:fullscreen 为 true,并且 preset 为 card 时才会生效。")]),Vue.createVNode(naive.NButton,{onClick:()=>this.modal1=!0},{default:()=>[Vue.createTextVNode("打开")]})]})]}),Vue.createVNode(naive.NCard,{title:"手动设置宽度"},{default:()=>[Vue.createVNode("h4",null,[Vue.createTextVNode("width(--r-modal-width): 当 preset 不为 dialog 或者 card 的时候,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("dialogWidth(--r-modal-dialog-width): 当 preset 为 dialog,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("cardWidth(--r-modal-card-width): 当 preset 为 card,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("所有的宽度配置属性都会注入一个对应的 `css variable`,有时候会用上。")])]}),Vue.createVNode(naive.NCard,{title:"重写 useModal"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:t.bind(this)},{default:()=>[Vue.createTextVNode("创建卡片模态框")]}),Vue.createVNode(naive.NButton,{onClick:e.bind(this)},{default:()=>[Vue.createTextVNode("创建对话框模态框")]})]})]})}});export{g as default};
|
BIN
js/index-Bsvn83r6.js.gz
Normal file
BIN
js/index-Bsvn83r6.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
import{r as s,_ as o}from"./hooks-BbIBxRo9.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./utils-KzSLWhhh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";function c(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Vue.isVNode(i)}const w=Vue.defineComponent({name:"PreviewSVGIcons",setup(){const i=Vue.ref([]);return Object.keys(Object.assign({"/src/icons/action/draggable.svg":()=>o(()=>import("./draggable-D6qza0mp.js"),[]),"/src/icons/action/fullscreen.svg":()=>o(()=>import("./fullscreen-Cjm0bPGx.js"),[]),"/src/icons/action/fullscreen_fold.svg":()=>o(()=>import("./fullscreen_fold-BUWP5JFn.js"),[]),"/src/icons/action/out.svg":()=>o(()=>import("./out-CMQCc625.js"),[]),"/src/icons/action/reload.svg":()=>o(()=>import("./reload-BCsJCBo-.js"),[]),"/src/icons/action/search.svg":()=>o(()=>import("./search-DPR73sQp.js"),[]),"/src/icons/action/setting.svg":()=>o(()=>import("./setting-CqYm8XBn.js"),[]),"/src/icons/directional/adjustment.svg":()=>o(()=>import("./adjustment-DIo_g8Za.js"),[]),"/src/icons/directional/close_left.svg":()=>o(()=>import("./close_left-C6k2eGWg.js"),[]),"/src/icons/directional/close_right.svg":()=>o(()=>import("./close_right-CrnE5vtw.js"),[]),"/src/icons/directional/expanded.svg":()=>o(()=>import("./expanded-BswQDJyW.js"),[]),"/src/icons/directional/left_arrow.svg":()=>o(()=>import("./left_arrow-DAKeumRT.js"),[]),"/src/icons/directional/lock.svg":()=>o(()=>import("./lock-dC7sQfx2.js"),[]),"/src/icons/directional/resize_h.svg":()=>o(()=>import("./resize_h-DA2p7YCQ.js"),[]),"/src/icons/directional/right_arrow.svg":()=>o(()=>import("./right_arrow-CbmroMoE.js"),[]),"/src/icons/directional/row_end.svg":()=>o(()=>import("./row_end-CqbNhb3G.js"),[]),"/src/icons/directional/row_head.svg":()=>o(()=>import("./row_head-BCxi2x-p.js"),[]),"/src/icons/logo/github.svg":()=>o(()=>import("./github-B4ARmChV.js"),[]),"/src/icons/logo/google.svg":()=>o(()=>import("./google-GEcrFhWr.js"),[]),"/src/icons/logo/login_bg.svg":()=>o(()=>import("./login_bg-CRcyXHBf.js"),[]),"/src/icons/logo/office.svg":()=>o(()=>import("./office-B5pC1KGi.js"),[]),"/src/icons/logo/ray.svg":()=>o(()=>import("./ray-B93BjtIh.js"),[]),"/src/icons/logo/twitter.svg":()=>o(()=>import("./twitter-DjE7U1HD.js"),[]),"/src/icons/template/dark.svg":()=>o(()=>import("./dark-BqsidBpX.js"),[]),"/src/icons/template/light.svg":()=>o(()=>import("./light-DWbddXnY.js"),[]),"/src/icons/tip/axios.svg":()=>o(()=>import("./axios-o8g4A-7A.js"),[]),"/src/icons/tip/close.svg":()=>o(()=>import("./close-10SEVxdb.js"),[]),"/src/icons/tip/dashboard.svg":()=>o(()=>import("./dashboard-70op-CO0.js"),[]),"/src/icons/tip/echart.svg":()=>o(()=>import("./echart-c_3t778P.js"),[]),"/src/icons/tip/enter.svg":()=>o(()=>import("./enter-CPGcsJ25.js"),[]),"/src/icons/tip/error.svg":()=>o(()=>import("./error-CjWalrOZ.js"),[]),"/src/icons/tip/export_excel.svg":()=>o(()=>import("./export_excel-ZmNoLzCr.js"),[]),"/src/icons/tip/language.svg":()=>o(()=>import("./language-C4AMs4_p.js"),[]),"/src/icons/tip/menu.svg":()=>o(()=>import("./menu-CPMkWw77.js"),[]),"/src/icons/tip/more.svg":()=>o(()=>import("./more-DW-qndwg.js"),[]),"/src/icons/tip/mouse.svg":()=>o(()=>import("./mouse-C_l6KSTs.js"),[]),"/src/icons/tip/other.svg":()=>o(()=>import("./other-DU6bZUrM.js"),[]),"/src/icons/tip/print.svg":()=>o(()=>import("./print-jFo_n0lx.js"),[]),"/src/icons/tip/rely.svg":()=>o(()=>import("./rely-DlDUQEbT.js"),[]),"/src/icons/tip/table.svg":()=>o(()=>import("./table-tYkftQGA.js"),[])})).forEach(e=>{var t;const r=(t=e.match(/\/(\w+)\.svg/))==null?void 0:t[1];r&&i.value.push(r)}),{icons:i}},render(){return Vue.createVNode(naive.NCard,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let i;return Vue.createVNode(naive.NFlex,null,c(i=this.icons.map(_=>Vue.withDirectives(Vue.createVNode("div",{class:"pre-view-icons__card",key:_},[Vue.createVNode(naive.NPopover,null,{trigger:()=>Vue.createVNode(s,{name:_,size:"56",cursor:"pointer"},null),default:()=>_})]),[[Vue.resolveDirective("copy"),`<RIcon name="${_}" size="56" />`]])))?i:{default:()=>[i]})}})}});export{w as default};
|
||||
import{r as s,_ as o}from"./hooks-C7ZgHAXE.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./utils-DCtVzoYl.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";function c(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Vue.isVNode(i)}const w=Vue.defineComponent({name:"PreviewSVGIcons",setup(){const i=Vue.ref([]);return Object.keys(Object.assign({"/src/icons/action/draggable.svg":()=>o(()=>import("./draggable-D6qza0mp.js"),[]),"/src/icons/action/fullscreen.svg":()=>o(()=>import("./fullscreen-Cjm0bPGx.js"),[]),"/src/icons/action/fullscreen_fold.svg":()=>o(()=>import("./fullscreen_fold-BUWP5JFn.js"),[]),"/src/icons/action/out.svg":()=>o(()=>import("./out-CMQCc625.js"),[]),"/src/icons/action/reload.svg":()=>o(()=>import("./reload-BCsJCBo-.js"),[]),"/src/icons/action/search.svg":()=>o(()=>import("./search-DPR73sQp.js"),[]),"/src/icons/action/setting.svg":()=>o(()=>import("./setting-CqYm8XBn.js"),[]),"/src/icons/directional/adjustment.svg":()=>o(()=>import("./adjustment-DIo_g8Za.js"),[]),"/src/icons/directional/close_left.svg":()=>o(()=>import("./close_left-C6k2eGWg.js"),[]),"/src/icons/directional/close_right.svg":()=>o(()=>import("./close_right-CrnE5vtw.js"),[]),"/src/icons/directional/expanded.svg":()=>o(()=>import("./expanded-BswQDJyW.js"),[]),"/src/icons/directional/left_arrow.svg":()=>o(()=>import("./left_arrow-DAKeumRT.js"),[]),"/src/icons/directional/lock.svg":()=>o(()=>import("./lock-dC7sQfx2.js"),[]),"/src/icons/directional/resize_h.svg":()=>o(()=>import("./resize_h-DA2p7YCQ.js"),[]),"/src/icons/directional/right_arrow.svg":()=>o(()=>import("./right_arrow-CbmroMoE.js"),[]),"/src/icons/directional/row_end.svg":()=>o(()=>import("./row_end-CqbNhb3G.js"),[]),"/src/icons/directional/row_head.svg":()=>o(()=>import("./row_head-BCxi2x-p.js"),[]),"/src/icons/logo/github.svg":()=>o(()=>import("./github-B4ARmChV.js"),[]),"/src/icons/logo/google.svg":()=>o(()=>import("./google-GEcrFhWr.js"),[]),"/src/icons/logo/login_bg.svg":()=>o(()=>import("./login_bg-CRcyXHBf.js"),[]),"/src/icons/logo/office.svg":()=>o(()=>import("./office-B5pC1KGi.js"),[]),"/src/icons/logo/ray.svg":()=>o(()=>import("./ray-B93BjtIh.js"),[]),"/src/icons/logo/twitter.svg":()=>o(()=>import("./twitter-DjE7U1HD.js"),[]),"/src/icons/template/dark.svg":()=>o(()=>import("./dark-BqsidBpX.js"),[]),"/src/icons/template/light.svg":()=>o(()=>import("./light-DWbddXnY.js"),[]),"/src/icons/tip/axios.svg":()=>o(()=>import("./axios-o8g4A-7A.js"),[]),"/src/icons/tip/close.svg":()=>o(()=>import("./close-10SEVxdb.js"),[]),"/src/icons/tip/dashboard.svg":()=>o(()=>import("./dashboard-70op-CO0.js"),[]),"/src/icons/tip/echart.svg":()=>o(()=>import("./echart-c_3t778P.js"),[]),"/src/icons/tip/enter.svg":()=>o(()=>import("./enter-CPGcsJ25.js"),[]),"/src/icons/tip/error.svg":()=>o(()=>import("./error-CjWalrOZ.js"),[]),"/src/icons/tip/export_excel.svg":()=>o(()=>import("./export_excel-ZmNoLzCr.js"),[]),"/src/icons/tip/language.svg":()=>o(()=>import("./language-C4AMs4_p.js"),[]),"/src/icons/tip/menu.svg":()=>o(()=>import("./menu-CPMkWw77.js"),[]),"/src/icons/tip/more.svg":()=>o(()=>import("./more-DW-qndwg.js"),[]),"/src/icons/tip/mouse.svg":()=>o(()=>import("./mouse-C_l6KSTs.js"),[]),"/src/icons/tip/other.svg":()=>o(()=>import("./other-DU6bZUrM.js"),[]),"/src/icons/tip/print.svg":()=>o(()=>import("./print-jFo_n0lx.js"),[]),"/src/icons/tip/rely.svg":()=>o(()=>import("./rely-DlDUQEbT.js"),[]),"/src/icons/tip/table.svg":()=>o(()=>import("./table-tYkftQGA.js"),[])})).forEach(e=>{var t;const r=(t=e.match(/\/(\w+)\.svg/))==null?void 0:t[1];r&&i.value.push(r)}),{icons:i}},render(){return Vue.createVNode(naive.NCard,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let i;return Vue.createVNode(naive.NFlex,null,c(i=this.icons.map(_=>Vue.withDirectives(Vue.createVNode("div",{class:"pre-view-icons__card",key:_},[Vue.createVNode(naive.NPopover,null,{trigger:()=>Vue.createVNode(s,{name:_,size:"56",cursor:"pointer"},null),default:()=>_})]),[[Vue.resolveDirective("copy"),`<RIcon name="${_}" size="56" />`]])))?i:{default:()=>[i]})}})}});export{w as default};
|
BIN
js/index-COExw1oh.js.gz
Normal file
BIN
js/index-COExw1oh.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/index-CjpCzadx.js.gz
Normal file
BIN
js/index-CjpCzadx.js.gz
Normal file
Binary file not shown.
1
js/index-Cn5RTuqi.js
Normal file
1
js/index-Cn5RTuqi.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-Cn5RTuqi.js.gz
Normal file
BIN
js/index-Cn5RTuqi.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
import{E as d,F as l}from"./hooks-BbIBxRo9.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./utils-KzSLWhhh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";const w=Vue.defineComponent({name:"RFormDemo",setup(){const[u,{getFormInstance:i,validate:t,restoreValidation:r,formModel:a,formRules:e}]=d({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"}}),o=Vue.ref(e()),n=Vue.ref(a());return{register:u,rules:o,condition:n,restoreValidation:r,formModel:a,validate:t}},render(){const{rules:u}=this,{register:i,restoreValidation:t,formModel:r,validate:a}=this;return Vue.createVNode(l,{onRegister:i,rules:u,model:this.condition},{default:()=>[Vue.createVNode(naive.NGrid,{cols:24,xGap:24},{default:()=>[Vue.createVNode(naive.NFormItemGi,{label:"姓名",path:"name",span:12},{default:()=>[Vue.createVNode(naive.NInput,{value:this.condition.name,"onUpdate:value":e=>this.condition.name=e},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"年龄",path:"age",span:12},{default:()=>[Vue.createVNode(naive.NInputNumber,{value:this.condition.age,"onUpdate:value":e=>this.condition.age=e,showButton:!1,style:"width: 100%"},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"出生日期",path:"date",span:12},{default:()=>[Vue.createVNode(naive.NDatePicker,{value:this.condition.date,"onUpdate:value":e=>this.condition.date=e,style:"width: 100%"},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"性别",path:"gender",span:12},{default:()=>[Vue.createVNode(naive.NRadioGroup,{value:this.condition.gender,"onUpdate:value":e=>this.condition.gender=e},{default:()=>[Vue.createVNode(naive.NRadio,{value:"girl"},{default:()=>[Vue.createTextVNode("女")]}),Vue.createVNode(naive.NRadio,{value:"man"},{default:()=>[Vue.createTextVNode("男")]})]})]}),Vue.createVNode(naive.NFormItemGi,{label:"备注信息",span:24},{default:()=>[Vue.createVNode(naive.NInput,{type:"textarea",value:this.condition.remark,"onUpdate:value":e=>this.condition.remark=e},null)]}),Vue.createVNode(naive.NFormItemGi,{span:24},{default:()=>[Vue.createVNode(naive.NFlex,{justify:"flex-end",style:"width: 100%"},{default:()=>[Vue.createVNode(naive.NButton,{type:"info",onClick:()=>{this.condition=r(),t()}},{default:()=>[Vue.createTextVNode("重置表单为初始状态")]}),Vue.createVNode(naive.NButton,{type:"warning",onClick:t.bind(this)},{default:()=>[Vue.createTextVNode("移除校验状态")]}),Vue.createVNode(naive.NButton,{type:"primary",onClick:()=>a()},{default:()=>[Vue.createTextVNode("校验")]})]})]})]})]})}});export{w as default};
|
||||
import{E as d,F as l}from"./hooks-C7ZgHAXE.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./utils-DCtVzoYl.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";const w=Vue.defineComponent({name:"RFormDemo",setup(){const[u,{getFormInstance:i,validate:t,restoreValidation:r,formModel:a,formRules:e}]=d({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"}}),o=Vue.ref(e()),n=Vue.ref(a());return{register:u,rules:o,condition:n,restoreValidation:r,formModel:a,validate:t}},render(){const{rules:u}=this,{register:i,restoreValidation:t,formModel:r,validate:a}=this;return Vue.createVNode(l,{onRegister:i,rules:u,model:this.condition},{default:()=>[Vue.createVNode(naive.NGrid,{cols:24,xGap:24},{default:()=>[Vue.createVNode(naive.NFormItemGi,{label:"姓名",path:"name",span:12},{default:()=>[Vue.createVNode(naive.NInput,{value:this.condition.name,"onUpdate:value":e=>this.condition.name=e},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"年龄",path:"age",span:12},{default:()=>[Vue.createVNode(naive.NInputNumber,{value:this.condition.age,"onUpdate:value":e=>this.condition.age=e,showButton:!1,style:"width: 100%"},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"出生日期",path:"date",span:12},{default:()=>[Vue.createVNode(naive.NDatePicker,{value:this.condition.date,"onUpdate:value":e=>this.condition.date=e,style:"width: 100%"},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"性别",path:"gender",span:12},{default:()=>[Vue.createVNode(naive.NRadioGroup,{value:this.condition.gender,"onUpdate:value":e=>this.condition.gender=e},{default:()=>[Vue.createVNode(naive.NRadio,{value:"girl"},{default:()=>[Vue.createTextVNode("女")]}),Vue.createVNode(naive.NRadio,{value:"man"},{default:()=>[Vue.createTextVNode("男")]})]})]}),Vue.createVNode(naive.NFormItemGi,{label:"备注信息",span:24},{default:()=>[Vue.createVNode(naive.NInput,{type:"textarea",value:this.condition.remark,"onUpdate:value":e=>this.condition.remark=e},null)]}),Vue.createVNode(naive.NFormItemGi,{span:24},{default:()=>[Vue.createVNode(naive.NFlex,{justify:"flex-end",style:"width: 100%"},{default:()=>[Vue.createVNode(naive.NButton,{type:"info",onClick:()=>{this.condition=r(),t()}},{default:()=>[Vue.createTextVNode("重置表单为初始状态")]}),Vue.createVNode(naive.NButton,{type:"warning",onClick:t.bind(this)},{default:()=>[Vue.createTextVNode("移除校验状态")]}),Vue.createVNode(naive.NButton,{type:"primary",onClick:()=>a()},{default:()=>[Vue.createTextVNode("校验")]})]})]})]})]})}});export{w as default};
|
BIN
js/index-CtW8lgEK.js.gz
Normal file
BIN
js/index-CtW8lgEK.js.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
import"./hooks-BbIBxRo9.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{y as s,z as p,A as d,B as l,C as c,D as V}from"./utils-KzSLWhhh.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";const k=Vue.defineComponent({name:"CalculatePrecision",setup(){const t=Vue.reactive({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}),e={addOptions:d,subtractOptions:l,multiplyOptions:c,divideOptions:V},i=(a,o)=>{const n=e[o],r=n(...a);return"结果: "+s(r)},u=()=>{Vue.nextTick().then(()=>{t.distributeOutputValue=p(t.distributeValue,t.distributeLength)})};return u(),{...Vue.toRefs(t),copilotFunc:i,updateDistributeValue:u}},render(){return Vue.createVNode(naive.NLayout,null,{default:()=>[Vue.createVNode("h2",{style:"margin: 0 0 20px 0"},[Vue.createTextVNode("计算方法,默认都保留八位小数与四舍五入,可以根据 format 方法自行转换")]),Vue.createVNode("h3",{style:"margin: 0 0 20px 0"},[Vue.createTextVNode("示例方法都基于 currency.js 封装,利用其精度处理能力封装了常用的一些计算方法,解决精度问题。如果需要其他的方法请阅读官方文档 https://currency.js.org/#subtract")]),Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"加法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.addOptions,"onUpdate:value":t=>this.addOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"addOptions")}},null),footer:()=>this.copilotFunc(this.addOptions,"addOptions")}),Vue.createVNode(naive.NCard,{title:"减法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.subtractOptions,"onUpdate:value":t=>this.subtractOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"subtractOptions")}},null),footer:()=>this.copilotFunc(this.subtractOptions,"subtractOptions")}),Vue.createVNode(naive.NCard,{title:"乘法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.multiplyOptions,"onUpdate:value":t=>this.multiplyOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"multiplyOptions")}},null),footer:()=>this.copilotFunc(this.multiplyOptions,"multiplyOptions")}),Vue.createVNode(naive.NCard,{title:"除法(非取模)"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.divideOptions,"onUpdate:value":t=>this.divideOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"divideOptions")}},null),footer:()=>this.copilotFunc(this.divideOptions,"divideOptions")}),Vue.createVNode(naive.NCard,{title:"平分一个值"},{default:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NInputNumber,{value:this.distributeValue,"onUpdate:value":t=>this.distributeValue=t,onUpdateValue:()=>{this.updateDistributeValue()}},null),Vue.createVNode(naive.NInputNumber,{value:this.distributeLength,"onUpdate:value":t=>this.distributeLength=t,onUpdateValue:()=>{this.updateDistributeValue()}},null)]}),footer:()=>"结果: "+this.distributeOutputValue.join(", ")})]})]})}});export{k as default};
|
||||
import"./hooks-C7ZgHAXE.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{y as s,z as p,A as d,B as l,C as c,D as V}from"./utils-DCtVzoYl.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";const k=Vue.defineComponent({name:"CalculatePrecision",setup(){const t=Vue.reactive({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}),e={addOptions:d,subtractOptions:l,multiplyOptions:c,divideOptions:V},i=(a,o)=>{const n=e[o],r=n(...a);return"结果: "+s(r)},u=()=>{Vue.nextTick().then(()=>{t.distributeOutputValue=p(t.distributeValue,t.distributeLength)})};return u(),{...Vue.toRefs(t),copilotFunc:i,updateDistributeValue:u}},render(){return Vue.createVNode(naive.NLayout,null,{default:()=>[Vue.createVNode("h2",{style:"margin: 0 0 20px 0"},[Vue.createTextVNode("计算方法,默认都保留八位小数与四舍五入,可以根据 format 方法自行转换")]),Vue.createVNode("h3",{style:"margin: 0 0 20px 0"},[Vue.createTextVNode("示例方法都基于 currency.js 封装,利用其精度处理能力封装了常用的一些计算方法,解决精度问题。如果需要其他的方法请阅读官方文档 https://currency.js.org/#subtract")]),Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"加法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.addOptions,"onUpdate:value":t=>this.addOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"addOptions")}},null),footer:()=>this.copilotFunc(this.addOptions,"addOptions")}),Vue.createVNode(naive.NCard,{title:"减法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.subtractOptions,"onUpdate:value":t=>this.subtractOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"subtractOptions")}},null),footer:()=>this.copilotFunc(this.subtractOptions,"subtractOptions")}),Vue.createVNode(naive.NCard,{title:"乘法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.multiplyOptions,"onUpdate:value":t=>this.multiplyOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"multiplyOptions")}},null),footer:()=>this.copilotFunc(this.multiplyOptions,"multiplyOptions")}),Vue.createVNode(naive.NCard,{title:"除法(非取模)"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.divideOptions,"onUpdate:value":t=>this.divideOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"divideOptions")}},null),footer:()=>this.copilotFunc(this.divideOptions,"divideOptions")}),Vue.createVNode(naive.NCard,{title:"平分一个值"},{default:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NInputNumber,{value:this.distributeValue,"onUpdate:value":t=>this.distributeValue=t,onUpdateValue:()=>{this.updateDistributeValue()}},null),Vue.createVNode(naive.NInputNumber,{value:this.distributeLength,"onUpdate:value":t=>this.distributeLength=t,onUpdateValue:()=>{this.updateDistributeValue()}},null)]}),footer:()=>"结果: "+this.distributeOutputValue.join(", ")})]})]})}});export{k as default};
|
BIN
js/index-D3O3Ds63.js.gz
Normal file
BIN
js/index-D3O3Ds63.js.gz
Normal file
Binary file not shown.
Binary file not shown.
1
js/index-DPDK5RVu.js
Normal file
1
js/index-DPDK5RVu.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-DPDK5RVu.js.gz
Normal file
BIN
js/index-DPDK5RVu.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
import{Q as e}from"./vue3-next-qrcode@2.0.10_typescript@5.2.2-Du0Nh3g9.js";import{L as t}from"./ray-dCjhX_JK.js";const l=Vue.defineComponent({name:"RQRCodeDemo",setup(){const u=Vue.ref("ray template yes"),a=Vue.ref(),o=Vue.ref();return{qrcodeText:u,qrcodeStatus:a,rayQRCodeRef:o}},render(){return Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NCard,null,{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("基于 awesome-qr 进行封装,支持 LOGO、gif、backgroundImage 等属性。")]),Vue.createVNode("h2",null,[Vue.createTextVNode("该组件会自动监听文本内容变化,然后重新渲染(watchText)")]),Vue.createVNode("h2",null,[Vue.createTextVNode("具体使用请参考 props 配置项")])]}),Vue.createVNode(naive.NCard,{title:"基础二维码"},{default:()=>[Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(e,{text:"ray template yes"},null),Vue.createVNode(e,{text:"ray template yes",logoImage:t},null),Vue.createVNode(e,{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)]})]}),Vue.createVNode(naive.NCard,{title:"状态二维码"},{default:()=>[Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(e,{text:"ray template yes",logoImage:t,status:"error",onReload:()=>{window.$message.info("reload event")}},null),Vue.createVNode(e,{text:"ray template yes",logoImage:t,status:"loading"},null)]})]}),Vue.createVNode(naive.NCard,{title:"监听内容变化"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>{this.qrcodeStatus="loading",setTimeout(()=>{this.qrcodeText="text updated: "+new Date().getTime(),this.qrcodeStatus=void 0},1e3)}},{default:()=>[Vue.createTextVNode("更新二维码内容")]}),Vue.createVNode(naive.NButton,{onClick:()=>{var u;(u=this.rayQRCodeRef)==null||u.downloadQRCode()}},{default:()=>[Vue.createTextVNode("下载二维码")]})]}),Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(e,{text:this.qrcodeText,status:this.qrcodeStatus,logoImage:t,ref:"rayQRCodeRef"},null),Vue.createTextVNode("当前二维码内容:"),this.qrcodeText]})]})]})]})}});export{l as default};
|
||||
import{Q as e}from"./vue3-next-qrcode@2.0.10_typescript@5.2.2-B-d0H0H3.js";import{L as t}from"./ray-dCjhX_JK.js";const l=Vue.defineComponent({name:"RQRCodeDemo",setup(){const u=Vue.ref("ray template yes"),a=Vue.ref(),o=Vue.ref();return{qrcodeText:u,qrcodeStatus:a,rayQRCodeRef:o}},render(){return Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NCard,null,{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("基于 awesome-qr 进行封装,支持 LOGO、gif、backgroundImage 等属性。")]),Vue.createVNode("h2",null,[Vue.createTextVNode("该组件会自动监听文本内容变化,然后重新渲染(watchText)")]),Vue.createVNode("h2",null,[Vue.createTextVNode("具体使用请参考 props 配置项")])]}),Vue.createVNode(naive.NCard,{title:"基础二维码"},{default:()=>[Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(e,{text:"ray template yes"},null),Vue.createVNode(e,{text:"ray template yes",logoImage:t},null),Vue.createVNode(e,{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)]})]}),Vue.createVNode(naive.NCard,{title:"状态二维码"},{default:()=>[Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(e,{text:"ray template yes",logoImage:t,status:"error",onReload:()=>{window.$message.info("reload event")}},null),Vue.createVNode(e,{text:"ray template yes",logoImage:t,status:"loading"},null)]})]}),Vue.createVNode(naive.NCard,{title:"监听内容变化"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>{this.qrcodeStatus="loading",setTimeout(()=>{this.qrcodeText="text updated: "+new Date().getTime(),this.qrcodeStatus=void 0},1e3)}},{default:()=>[Vue.createTextVNode("更新二维码内容")]}),Vue.createVNode(naive.NButton,{onClick:()=>{var u;(u=this.rayQRCodeRef)==null||u.downloadQRCode()}},{default:()=>[Vue.createTextVNode("下载二维码")]})]}),Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(e,{text:this.qrcodeText,status:this.qrcodeStatus,logoImage:t,ref:"rayQRCodeRef"},null),Vue.createTextVNode("当前二维码内容:"),this.qrcodeText]})]})]})]})}});export{l as default};
|
BIN
js/index-DU0AD4bw.js.gz
Normal file
BIN
js/index-DU0AD4bw.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
import{J as i}from"./hooks-BbIBxRo9.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-D8VSY-p2.js";import"./print-js@1.6.0-BdoEj60G.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.34-BEaNfl9U.js";import"./@vueuse_shared@10.9.0_vue@3.4.34-BTLxKjPf.js";import"./vue-hooks-plus@2.2.1_vue@3.4.34-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./utils-KzSLWhhh.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.34-DmZqUhja.js";import"./@vue_reactivity@3.4.34-CztCRbLl.js";import"./@vue_shared@3.4.34-C-TABL9H.js";const H=Vue.defineComponent({name:"RouterDemoHome",setup(){const t=VueRouter.useRouter(),r=Vue.ref([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:e=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{type:"info",text:!0,size:"tiny",onClick:()=>{t.push({path:"/router-demo/router-demo-detail",query:{name:e.name}})}},{default:()=>[Vue.createTextVNode("详情")]})]})}]),o=[];for(let e=0;e<10;e++)o.push({name:"张三"+e,address:"New York No. 1 Lake Park",phone:"010-121212",key:e});return{dataSource:o,columns:r}},render(){return Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(i,{columns:this.columns,"onUpdate:columns":t=>this.columns=t,data:this.dataSource},null)]})}});export{H as default};
|
||||
import{J as i}from"./hooks-C7ZgHAXE.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.38-Cp_qoKMZ.js";import"./@vueuse_shared@10.9.0_vue@3.4.38-BTLxKjPf.js";import"./vue-hooks-plus@2.2.1_vue@3.4.38-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./utils-DCtVzoYl.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.38-f9XU7P4m.js";import"./@vue_reactivity@3.4.38-CmXFqMGn.js";import"./@vue_shared@3.4.38-D8qfpBTH.js";const H=Vue.defineComponent({name:"RouterDemoHome",setup(){const t=VueRouter.useRouter(),r=Vue.ref([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:e=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{type:"info",text:!0,size:"tiny",onClick:()=>{t.push({path:"/router-demo/router-demo-detail",query:{name:e.name}})}},{default:()=>[Vue.createTextVNode("详情")]})]})}]),o=[];for(let e=0;e<10;e++)o.push({name:"张三"+e,address:"New York No. 1 Lake Park",phone:"010-121212",key:e});return{dataSource:o,columns:r}},render(){return Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(i,{columns:this.columns,"onUpdate:columns":t=>this.columns=t,data:this.dataSource},null)]})}});export{H as default};
|
BIN
js/index-DUQF5ve0.js.gz
Normal file
BIN
js/index-DUQF5ve0.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user