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@5b035815eb 🚀
This commit is contained in:
parent
733dc47533
commit
22596df581
File diff suppressed because one or more lines are too long
Binary file not shown.
1
css/hooks-NTUCATB8.css
Normal file
1
css/hooks-NTUCATB8.css
Normal file
File diff suppressed because one or more lines are too long
BIN
css/hooks-NTUCATB8.css.gz
Normal file
BIN
css/hooks-NTUCATB8.css.gz
Normal file
Binary file not shown.
1
css/vue3-next-qrcode@2.0.10_typescript@5.2-DuR3EA5M.css
Normal file
1
css/vue3-next-qrcode@2.0.10_typescript@5.2-DuR3EA5M.css
Normal file
@ -0,0 +1 @@
|
||||
.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:1.563rem;height:1.563rem;border:.156rem 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:.26rem 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-DuR3EA5M.css.gz
Normal file
BIN
css/vue3-next-qrcode@2.0.10_typescript@5.2-DuR3EA5M.css.gz
Normal file
Binary file not shown.
30
index.html
30
index.html
@ -17,33 +17,33 @@
|
||||
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-BZ9W8WLI.js"></script>
|
||||
<script type="module" crossorigin src="/ray-template/js/index-L7Y2aobr.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/lodash-es@4.17.21-Dos9GOhk.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/canvas@2.11.2-CVRTzJty.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/js-binary-schema-parser@2.0.3-D0akQrQ7.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/awesome-qr@2.1.5-rc.0-Ds7AaOTE.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/dayjs@1.11.10-BYZwCyGy.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/print-js@1.6.0-C3lAJnMa.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-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/currency.js@2.0.4-9OAR_aOO.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/lodash@4.17.21-CM7ROh5r.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-DuGDi0R7.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/utils-XwSDXJUe.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/interactjs@1.10.26-DmsZVOf4.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@1.9.0_vue@3.4.26-C9uZHg3A.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/utils-BSgV44G8.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/interactjs@1.10.26-V8skghJH.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-CaeIWam-.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-JN1hODMT.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/echarts@5.5.0-BEyY33Zi.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_shared@3.4.26-DWpY0PUk.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_reactivity@3.4.26-DTbxPGxS.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_runtime-core@3.4.26-Cq5aFJKF.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/hooks-DxjADXf2.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/clipboard@2.0.11-CB9-kMTz.js">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/hooks-0jY2luMP.css">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/hooks-Bn_NZBHp.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-DsqDmAzR.js">
|
||||
<link rel="modulepreload" crossorigin href="/ray-template/js/clipboard@2.0.11-DheAgBlr.js">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/hooks-NTUCATB8.css">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/vue3-next-qrcode@2.0.10_typescript@5.2-DuR3EA5M.css">
|
||||
<link rel="stylesheet" crossorigin href="/ray-template/css/index-C7YmoElI.css">
|
||||
</head>
|
||||
<style>
|
||||
|
BIN
index.html.gz
BIN
index.html.gz
Binary file not shown.
1
js/BarcodeDemo-BLXwr8FE.js
Normal file
1
js/BarcodeDemo-BLXwr8FE.js
Normal file
@ -0,0 +1 @@
|
||||
import{w as e}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-BSgV44G8.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.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-BLXwr8FE.js.gz
Normal file
BIN
js/BarcodeDemo-BLXwr8FE.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{x as e}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const w=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{w as default};
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
1
js/call-bind@1.0.7-Cpj98o6Y.js
Normal file
1
js/call-bind@1.0.7-Cpj98o6Y.js
Normal file
@ -0,0 +1 @@
|
||||
var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{o as c,l as g};
|
@ -1 +0,0 @@
|
||||
|
@ -1 +0,0 @@
|
||||
var i={};const u="bold|bolder|lighter|[1-9]00",g="italic|oblique",d="small-caps",p="ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",h="px|pt|pc|in|cm|mm|%|em|ex|ch|rem|q",m=`'([^']+)'|"([^"]+)"|[\\w\\s-]+`,w=new RegExp(`(${u}) +`,"i"),x=new RegExp(`(${g}) +`,"i"),b=new RegExp(`(${d}) +`,"i"),f=new RegExp(`(${p}) +`,"i"),z=new RegExp(`([\\d\\.]+)(${h}) *((?:${m})( *, *(?:${m}))*)`),o={},R=16;var v=n=>{if(o[n])return o[n];const t=z.exec(n);if(!t)return;const e={weight:"normal",style:"normal",stretch:"normal",variant:"normal",size:parseFloat(t[1]),unit:t[2],family:t[3].replace(/["']/g,"").replace(/ *, */g,",")};let c,a,s,l;const r=n.substring(0,t.index);switch((c=w.exec(r))&&(e.weight=c[1]),(a=x.exec(r))&&(e.style=a[1]),(s=b.exec(r))&&(e.variant=s[1]),(l=f.exec(r))&&(e.stretch=l[1]),e.unit){case"pt":e.size/=.75;break;case"pc":e.size*=16;break;case"in":e.size*=96;break;case"cm":e.size*=96/2.54;break;case"mm":e.size*=96/25.4;break;case"%":break;case"em":case"rem":e.size*=R/.75;break;case"q":e.size*=96/25.4/4;break}return o[n]=e};const k=v;i.parseFont=k;i.createCanvas=function(n,t){return Object.assign(document.createElement("canvas"),{width:n,height:t})};i.createImageData=function(n,t,e){switch(arguments.length){case 0:return new ImageData;case 1:return new ImageData(n);case 2:return new ImageData(n,t);default:return new ImageData(n,t,e)}};i.loadImage=function(n,t){return new Promise(function(e,c){const a=Object.assign(document.createElement("img"),t);function s(){a.onload=null,a.onerror=null}a.onload=function(){s(),e(a)},a.onerror=function(){s(),c(new Error('Failed to load the image "'+n+'"'))},a.src=n})};export{i as b};
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
import{c as X,g as $}from"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";var R={exports:{}};/*!
|
||||
import{c as X,g as $}from"./call-bind@1.0.7-Cpj98o6Y.js";var R={exports:{}};/*!
|
||||
* clipboard.js v2.0.11
|
||||
* https://clipboardjs.com/
|
||||
*
|
BIN
js/clipboard@2.0.11-DheAgBlr.js.gz
Normal file
BIN
js/clipboard@2.0.11-DheAgBlr.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
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.
2
js/dom-to-image@2.6.0-DCOFUeQU.js
Normal file
2
js/dom-to-image@2.6.0-DCOFUeQU.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/dom-to-image@2.6.0-DCOFUeQU.js.gz
Normal file
BIN
js/dom-to-image@2.6.0-DCOFUeQU.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{w as Y}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.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"})),p="Axios Request",u="Barcode",d="Cache Utils Demo",_="Precision",S="Right Click Menu",f="Home",b="Directive",h="Doc",T="Doc (China)",D="Doc(inside)",y="Chart",C="Form",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",w="Segment",x="SVG Icon",A="Table",z="Template Api",E="Scroll Reveal",ie={Axios:p,Barcode:u,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Error:"Error Page",Form:C,Mock: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:w,SvgIcon:x,Table:A,TemplateHooks:z,scrollReveal:E},re=Object.freeze(Object.defineProperty({__proto__:null,Axios:p,Barcode:u,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:w,SvgIcon:x,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}),xe={message:{...Y(ge,"en-US")}};export{xe as default};
|
Binary file not shown.
1
js/en-US-J5lTKGvI.js
Normal file
1
js/en-US-J5lTKGvI.js
Normal file
@ -0,0 +1 @@
|
||||
import{v as Y}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-BSgV44G8.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.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)",v="Office",M="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:v,Office_Document:M,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:v,Office_Document:M,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};
|
BIN
js/en-US-J5lTKGvI.js.gz
Normal file
BIN
js/en-US-J5lTKGvI.js.gz
Normal file
Binary file not shown.
12
js/hooks-Bn_NZBHp.js
Normal file
12
js/hooks-Bn_NZBHp.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/hooks-Bn_NZBHp.js.gz
Normal file
BIN
js/hooks-Bn_NZBHp.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
1
js/index-B1jhyHQ2.js
Normal file
1
js/index-B1jhyHQ2.js
Normal file
@ -0,0 +1 @@
|
||||
import{B as d,C as l}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-BSgV44G8.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.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-B1jhyHQ2.js.gz
Normal file
BIN
js/index-B1jhyHQ2.js.gz
Normal file
Binary file not shown.
1
js/index-B7lNaGqV.js
Normal file
1
js/index-B7lNaGqV.js
Normal file
@ -0,0 +1 @@
|
||||
import{r as e,_ as o}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-BSgV44G8.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";function s(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Vue.isVNode(i)}const b=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(t=>{const r=t.match(/\/(\w+)\.svg/)[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,s(i=this.icons.map(_=>Vue.withDirectives(Vue.createVNode("div",{class:"pre-view-icons__card",key:_},[Vue.createVNode(naive.NPopover,null,{trigger:()=>Vue.createVNode(e,{name:_,size:"56",cursor:"pointer"},null),default:()=>_})]),[[Vue.resolveDirective("copy"),`<RIcon name="${_}" size="56" />`]])))?i:{default:()=>[i]})}})}});export{b as default};
|
BIN
js/index-B7lNaGqV.js.gz
Normal file
BIN
js/index-B7lNaGqV.js.gz
Normal file
Binary file not shown.
1
js/index-BC_Yuvr7.js
Normal file
1
js/index-BC_Yuvr7.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-BC_Yuvr7.js.gz
Normal file
BIN
js/index-BC_Yuvr7.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{y as d}from"./hooks-DxjADXf2.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const T=Vue.defineComponent({name:"ContextMenuDemo",setup(){const e=Vue.ref(),o=Vue.ref(!1),r=Vue.ref([{label:"杰·盖茨比",key:"jay gatsby"},{label:"黛西·布坎南",key:"daisy buchanan"},{type:"divider",key:"d1"},{label:"尼克·卡拉威",key:"nick caraway"}]),{x:i,y:u,show:a,updateShow:t}=d(e);return{demoOneRef:e,demoOneShow:o,x:i,y:u,show:a,options:r,clickOutside:n=>{n.preventDefault(),t(!1)},updateShow:t}},render(){const{x:e,y:o,show:r}=this,{clickOutside:i,updateShow:u}=this;return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"useContextmenuCoordinate + NDropdown 实现右键菜单"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("默认点击元素外部会关闭菜单。")]),Vue.createVNode("div",{ref:"demoOneRef",style:"width: 100%; height: 200px; background-color: rgba(0, 128, 0, 0.5)"},[Vue.createTextVNode("右击")])]})]}),Vue.createVNode(naive.NDropdown,{show:r,x:e,y:o,options:this.options,trigger:"manual",placement:"bottom-start",onSelect:(a,t)=>{window.$message.info(`选中了 ${t.label}`),u(!1)},onClickoutside:i.bind(this)},null)]})}});export{T as default};
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{G as c,H as p,I as V}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import{a as F}from"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import{s as E}from"./instance-BO6qbDn0.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const N=u=>E({url:"/api/list",method:"get",params:u}),j=Vue.defineComponent({name:"MockDemo",setup(){const u=[{type:"selection",multiple:!0},{title:"id",key:"id"},{title:"邮箱",key:"email"},{title:"地址",key:"address"},{title:"姓名",key:"name"},{title:"年龄",key:"age"},{title:"创建时间",key:"createDate"},{title:"操作",key:"action",render:o=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{type:"primary",text:!0,onClick:()=>{window.$message.info("查看")}},{default:()=>[Vue.createTextVNode("查看")]}),Vue.createVNode(naive.NButton,{type:"primary",text:!0,onClick:()=>{window.$message.warning("编辑")}},{default:()=>[Vue.createTextVNode("编辑")]}),Vue.createVNode(naive.NButton,{type:"error",text:!0,onClick:()=>{window.$message.error("删除")}},{default:()=>[Vue.createTextVNode("删除")]})]})}],e=Vue.reactive({email:null}),[r,{getPage:t,getPageSize:a,setItemCount:i,getCallback:n,setPage:g,setPageSize:C}]=c(()=>{d({page:t(),pageSize:a(),email:e.email})}),{data:l,loading:m,run:d}=F(N,{defaultParams:[{page:t(),pageSize:a(),email:e.email}],onSuccess:o=>{const{total:s}=o;i(s)}});return{personData:l,personLoading:m,columns:u,...Vue.toRefs(e),getCallback:n,paginationRef:r}},render(){return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>{var u;return[Vue.createVNode(naive.NCard,{title:"Mock 数据"},{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("mock 数据使用。但是,并没有启用生产环境的部署,所以生产环境结果为空。")])]}),Vue.createVNode(naive.NCard,{title:"提示"},{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("RTable 组件有一个比较值得注意的地方就是,该组件会自动的按照数据量计算分页条数。所以你在异步获取数据的时候,一定要手动设置 remote 属性为 true,并且设置 itemCount 或者 pageCount。")])]}),Vue.createVNode(naive.NForm,{labelPlacement:"left"},{default:()=>[Vue.createVNode(p,{bordered:!1,cols:3},{default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(naive.NFormItemGi,{label:"邮箱"},{default:()=>[Vue.createVNode(naive.NInput,{value:this.email,"onUpdate:value":e=>this.email=e,clearable:!0},null)]})]),action:()=>{var e;return Vue.createVNode(naive.NButton,{type:"primary",onClick:(e=this.getCallback)==null?void 0:e.bind(this)},{default:()=>[Vue.createTextVNode("搜索")]})}})]}),Vue.createVNode(V,{title:"Mock数据表格",data:(u=this.personData)==null?void 0:u.data,loading:this.personLoading,columns:this.columns,"onUpdate:columns":e=>this.columns=e,pagination:this.paginationRef,remote:!0,rowKey:e=>e.id},null)]}})}});export{j as default};
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
1
js/index-BOF3xUem.js
Normal file
1
js/index-BOF3xUem.js
Normal file
@ -0,0 +1 @@
|
||||
import{F as c,G as p,H as V}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./currency.js@2.0.4-9OAR_aOO.js";import{a as F}from"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.js";import{s as E}from"./instance-_g6_JmtC.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-BSgV44G8.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";const N=u=>E({url:"/api/list",method:"get",params:u}),H=Vue.defineComponent({name:"MockDemo",setup(){const u=[{type:"selection",multiple:!0},{title:"id",key:"id"},{title:"邮箱",key:"email"},{title:"地址",key:"address"},{title:"姓名",key:"name"},{title:"年龄",key:"age"},{title:"创建时间",key:"createDate"},{title:"操作",key:"action",render:o=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{type:"primary",text:!0,onClick:()=>{window.$message.info("查看")}},{default:()=>[Vue.createTextVNode("查看")]}),Vue.createVNode(naive.NButton,{type:"primary",text:!0,onClick:()=>{window.$message.warning("编辑")}},{default:()=>[Vue.createTextVNode("编辑")]}),Vue.createVNode(naive.NButton,{type:"error",text:!0,onClick:()=>{window.$message.error("删除")}},{default:()=>[Vue.createTextVNode("删除")]})]})}],e=Vue.reactive({email:null}),[r,{getPage:t,getPageSize:a,setItemCount:i,getCallback:n,setPage:g,setPageSize:C}]=c(()=>{m({page:t(),pageSize:a(),email:e.email})}),{data:l,loading:d,run:m}=F(N,{defaultParams:[{page:t(),pageSize:a(),email:e.email}],onSuccess:o=>{const{total:s}=o;i(s)}});return{personData:l,personLoading:d,columns:u,...Vue.toRefs(e),getCallback:n,paginationRef:r}},render(){return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>{var u;return[Vue.createVNode(naive.NCard,{title:"Mock 数据"},{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("mock 数据使用。但是,并没有启用生产环境的部署,所以生产环境结果为空。")])]}),Vue.createVNode(naive.NCard,{title:"提示"},{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("RTable 组件有一个比较值得注意的地方就是,该组件会自动的按照数据量计算分页条数。所以你在异步获取数据的时候,一定要手动设置 remote 属性为 true,并且设置 itemCount 或者 pageCount。")])]}),Vue.createVNode(naive.NForm,{labelPlacement:"left"},{default:()=>[Vue.createVNode(p,{bordered:!1,cols:3},{default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(naive.NFormItemGi,{label:"邮箱"},{default:()=>[Vue.createVNode(naive.NInput,{value:this.email,"onUpdate:value":e=>this.email=e,clearable:!0},null)]})]),action:()=>{var e;return Vue.createVNode(naive.NButton,{type:"primary",onClick:(e=this.getCallback)==null?void 0:e.bind(this)},{default:()=>[Vue.createTextVNode("搜索")]})}})]}),Vue.createVNode(V,{title:"Mock数据表格",data:(u=this.personData)==null?void 0:u.data,loading:this.personLoading,columns:this.columns,"onUpdate:columns":e=>this.columns=e,pagination:this.paginationRef,remote:!0,rowKey:e=>e.id},null)]}})}});export{H as default};
|
BIN
js/index-BOF3xUem.js.gz
Normal file
BIN
js/index-BOF3xUem.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"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import{s as u,g as r,m as a,y as o}from"./utils-XwSDXJUe.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const D=Vue.defineComponent({name:"CacheDemo",setup(){const e=Vue.ref("Ray"),t=Vue.ref("ray:");return{nameValue:e,currentPrefix:t}},render(){return Vue.createVNode(naive.NCard,{title:"cache 工具包示例"},{default:()=>Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("点击 setStorage 按钮,设置缓存示例")]),Vue.createVNode(naive.NInputGroup,null,{default:()=>[Vue.createVNode(naive.NInputGroupLabel,null,{default:()=>[Vue.createTextVNode("设置缓存内容")]}),Vue.createVNode(naive.NInput,{value:this.nameValue,"onUpdate:value":e=>this.nameValue=e,placeholder:"请输入姓名"},null)]}),Vue.createVNode(naive.NInputGroup,null,{default:()=>[Vue.createVNode(naive.NInputGroupLabel,null,{default:()=>[Vue.createTextVNode("设置前缀")]}),Vue.createVNode(naive.NInput,{value:this.currentPrefix,"onUpdate:value":e=>this.currentPrefix=e,placeholder:"请输入前缀"},null)]})]}),action:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>{u("name",this.nameValue,"sessionStorage",{prefix:!0,prefixKey:this.currentPrefix}),window.$message.success("设置成功")}},{default:()=>[Vue.createTextVNode("setStorage")]}),Vue.createVNode(naive.NButton,{onClick:()=>{const e=r("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix});window.$message.success(`获取到的姓名为:${e}`)}},{default:()=>[Vue.createTextVNode("getStorage")]}),Vue.createVNode(naive.NButton,{onClick:()=>{a("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix}),window.$message.success("删除成功")}},{default:()=>[Vue.createTextVNode("removeStorage")]}),Vue.createVNode(naive.NButton,{onClick:()=>{const e=o("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix});window.$message.success(`是否存在:${e}`)}},{default:()=>[Vue.createTextVNode("hasStorage")]})]})})}});export{D as default};
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
1
js/index-BfTS1bwm.js
Normal file
1
js/index-BfTS1bwm.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-BfTS1bwm.js.gz
Normal file
BIN
js/index-BfTS1bwm.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
var g={pkg:{dependencies:{"@vueuse/core":"^10.9.0","awesome-qr":"2.1.5-rc.0",axios:"^1.6.7",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.38.2",pinia:"^2.1.7","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.4.26","vue-demi":"0.14.6","vue-hooks-plus":"1.9.0","vue-i18n":"^9.13.1","vue-router":"^4.3.0"},devDependencies:{"@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^2.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.11","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^5.0.4","@vitejs/plugin-vue-jsx":"^3.1.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.2.11","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-imp":"^2.4.0","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.8.3"},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.
@ -1 +0,0 @@
|
||||
import{t as l}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import{A as r}from"./index-43Sr2ZDd.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";function o(u){return typeof u=="function"||Object.prototype.toString.call(u)==="[object Object]"&&!Vue.isVNode(u)}const S=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(l,{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(l,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),Vue.createVNode(naive.NCard,{title:"个人介绍"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left",column:2},o(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},o(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,o(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{S as default};
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
1
js/index-CiFgrCgw.js
Normal file
1
js/index-CiFgrCgw.js
Normal file
@ -0,0 +1 @@
|
||||
import"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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-BSgV44G8.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.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-CiFgrCgw.js.gz
Normal file
BIN
js/index-CiFgrCgw.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{O as r,R as a}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const k=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{k as default};
|
Binary file not shown.
1
js/index-Cr0-CN_E.js
Normal file
1
js/index-Cr0-CN_E.js
Normal file
@ -0,0 +1 @@
|
||||
import{N as r,R as a}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-BSgV44G8.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.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-Cr0-CN_E.js.gz
Normal file
BIN
js/index-Cr0-CN_E.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{F as e}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const k=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{k as default};
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{t as e,_ as o}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";function s(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Vue.isVNode(i)}const N=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(t=>{const r=t.match(/\/(\w+)\.svg/)[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,s(i=this.icons.map(_=>Vue.withDirectives(Vue.createVNode("div",{class:"pre-view-icons__card",key:_},[Vue.createVNode(naive.NPopover,null,{trigger:()=>Vue.createVNode(e,{name:_,size:"56",cursor:"pointer"},null),default:()=>_})]),[[Vue.resolveDirective("copy"),`<RIcon name="${_}" size="56" />`]])))?i:{default:()=>[i]})}})}});export{N as default};
|
Binary file not shown.
1
js/index-DIYiuHoG.js
Normal file
1
js/index-DIYiuHoG.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-DIYiuHoG.js.gz
Normal file
BIN
js/index-DIYiuHoG.js.gz
Normal file
Binary file not shown.
1
js/index-DREHK-lz.js
Normal file
1
js/index-DREHK-lz.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-DREHK-lz.js.gz
Normal file
BIN
js/index-DREHK-lz.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{a1 as o,a2 as u,e as i}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import{g as a}from"./utils-XwSDXJUe.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const p=Vue.defineComponent({name:"PageResult",props:{...naive.resultProps},setup(){const{router:e}=u();return{goBack:()=>{const{appMenuKey:r}=i,t=a(r,"sessionStorage",{defaultValue:""});t&&e.replace(t)}}},render(){const{goBack:e}=this;return Vue.createVNode("div",{class:"error-page"},[Vue.createVNode(naive.NResult,Vue.mergeProps(this.$props,{status:"500",title:"404 资源不存在",description:"小调皮你走错地方了"}),{...this.$slots,footer:()=>Vue.createVNode(naive.NFlex,{align:"center",justify:"center"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:o.bind(this,!0)},{default:()=>[Vue.createTextVNode("返回首页")]}),Vue.createVNode(naive.NButton,{type:"primary",onClick:e.bind(this)},{default:()=>[Vue.createTextVNode("返回上一页面")]})]})})])}}),K=Vue.defineComponent({name:"ErrorPage404",setup(){return{}},render(){return Vue.createVNode(p,{status:"404"},null)}});export{K as default};
|
Binary file not shown.
1
js/index-DXw-vgra.js
Normal file
1
js/index-DXw-vgra.js
Normal file
@ -0,0 +1 @@
|
||||
import{Q as e}from"./vue3-next-qrcode@2.0.10_typescript@5.2.2-DsqDmAzR.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-DXw-vgra.js.gz
Normal file
BIN
js/index-DXw-vgra.js.gz
Normal file
Binary file not shown.
1
js/index-Db7D6hOH.js
Normal file
1
js/index-Db7D6hOH.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-Db7D6hOH.js.gz
Normal file
BIN
js/index-Db7D6hOH.js.gz
Normal file
Binary file not shown.
1
js/index-DbLBQfZ8.js
Normal file
1
js/index-DbLBQfZ8.js
Normal file
@ -0,0 +1 @@
|
||||
import{H as i}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-BSgV44G8.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";const F=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{F as default};
|
BIN
js/index-DbLBQfZ8.js.gz
Normal file
BIN
js/index-DbLBQfZ8.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{I as i}from"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-XwSDXJUe.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const T=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{T as default};
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1 +0,0 @@
|
||||
import"./hooks-DxjADXf2.js";import"./dayjs@1.11.10-BYZwCyGy.js";import"./print-js@1.6.0-C3lAJnMa.js";import"./awesome-qr@2.1.5-rc.0-Ds7AaOTE.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C_BRgauB.js";import"./lodash@4.17.21-CM7ROh5r.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DuGDi0R7.js";import{z as s,A as p,B as d,C as l,D as c,E as V}from"./utils-XwSDXJUe.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./interactjs@1.10.26-DmsZVOf4.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-CaeIWam-.js";import"./echarts@5.5.0-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";import"./canvas@2.11.2-CVRTzJty.js";import"./js-binary-schema-parser@2.0.3-D0akQrQ7.js";const M=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 r=e[o],n=r(...a);return"结果: "+s(n)},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{M as default};
|
Binary file not shown.
1
js/index-DjbZvQSE.js
Normal file
1
js/index-DjbZvQSE.js
Normal file
@ -0,0 +1 @@
|
||||
import{a0 as o,a1 as u,e as i}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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{g as a}from"./utils-BSgV44G8.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";const s=Vue.defineComponent({name:"PageResult",props:{...naive.resultProps},setup(){const{router:e}=u();return{goBack:()=>{const{appMenuKey:r}=i,t=a(r,"sessionStorage",{defaultValue:""});t&&e.replace(t)}}},render(){const{goBack:e}=this;return Vue.createVNode("div",{class:"error-page"},[Vue.createVNode(naive.NResult,Vue.mergeProps(this.$props,{status:"500",title:"404 资源不存在",description:"小调皮你走错地方了"}),{...this.$slots,footer:()=>Vue.createVNode(naive.NFlex,{align:"center",justify:"center"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:o.bind(this,!0)},{default:()=>[Vue.createTextVNode("返回首页")]}),Vue.createVNode(naive.NButton,{type:"primary",onClick:e.bind(this)},{default:()=>[Vue.createTextVNode("返回上一页面")]})]})})])}}),T=Vue.defineComponent({name:"ErrorPage404",setup(){return{}},render(){return Vue.createVNode(s,{status:"404"},null)}});export{T as default};
|
BIN
js/index-DjbZvQSE.js.gz
Normal file
BIN
js/index-DjbZvQSE.js.gz
Normal file
Binary file not shown.
1
js/index-Dr6l4HNK.js
Normal file
1
js/index-Dr6l4HNK.js
Normal file
@ -0,0 +1 @@
|
||||
import"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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{s as u,g as r,l as a,x as o}from"./utils-BSgV44G8.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.js";const P=Vue.defineComponent({name:"CacheDemo",setup(){const e=Vue.ref("Ray"),t=Vue.ref("ray:");return{nameValue:e,currentPrefix:t}},render(){return Vue.createVNode(naive.NCard,{title:"cache 工具包示例"},{default:()=>Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("点击 setStorage 按钮,设置缓存示例")]),Vue.createVNode(naive.NInputGroup,null,{default:()=>[Vue.createVNode(naive.NInputGroupLabel,null,{default:()=>[Vue.createTextVNode("设置缓存内容")]}),Vue.createVNode(naive.NInput,{value:this.nameValue,"onUpdate:value":e=>this.nameValue=e,placeholder:"请输入姓名"},null)]}),Vue.createVNode(naive.NInputGroup,null,{default:()=>[Vue.createVNode(naive.NInputGroupLabel,null,{default:()=>[Vue.createTextVNode("设置前缀")]}),Vue.createVNode(naive.NInput,{value:this.currentPrefix,"onUpdate:value":e=>this.currentPrefix=e,placeholder:"请输入前缀"},null)]})]}),action:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>{u("name",this.nameValue,"sessionStorage",{prefix:!0,prefixKey:this.currentPrefix}),window.$message.success("设置成功")}},{default:()=>[Vue.createTextVNode("setStorage")]}),Vue.createVNode(naive.NButton,{onClick:()=>{const e=r("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix});window.$message.success(`获取到的姓名为:${e}`)}},{default:()=>[Vue.createTextVNode("getStorage")]}),Vue.createVNode(naive.NButton,{onClick:()=>{a("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix}),window.$message.success("删除成功")}},{default:()=>[Vue.createTextVNode("removeStorage")]}),Vue.createVNode(naive.NButton,{onClick:()=>{const e=o("name","sessionStorage",{prefix:!0,prefixKey:this.currentPrefix});window.$message.success(`是否存在:${e}`)}},{default:()=>[Vue.createTextVNode("hasStorage")]})]})})}});export{P as default};
|
BIN
js/index-Dr6l4HNK.js.gz
Normal file
BIN
js/index-Dr6l4HNK.js.gz
Normal file
Binary file not shown.
1
js/index-Dx5qGqiG.js
Normal file
1
js/index-Dx5qGqiG.js
Normal file
@ -0,0 +1 @@
|
||||
import{r as o}from"./hooks-Bn_NZBHp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./vue-hooks-plus@1.9.0_vue@3.4.26-C9uZHg3A.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-Dos9GOhk.js";import"./@vueuse_core@10.9.0_vue@3.4.26-BxvIaqQO.js";import"./@vueuse_shared@10.9.0_vue@3.4.26-7aSumFzu.js";import"./utils-BSgV44G8.js";import"./interactjs@1.10.26-V8skghJH.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-BEyY33Zi.js";import"./zrender@5.5.0-JN1hODMT.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.26-Cq5aFJKF.js";import"./@vue_reactivity@3.4.26-DTbxPGxS.js";import"./@vue_shared@3.4.26-DWpY0PUk.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};
|
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