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@8405cc5709 🚀
This commit is contained in:
parent
14d4833aec
commit
2dd5de208e
22
index.html
22
index.html
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.31/vue.global.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.30/vue.global.min.js"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-demi/0.14.6/index.iife.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-demi/0.14.6/index.iife.min.js"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/naive-ui/2.38.2/index.prod.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/naive-ui/2.38.2/index.prod.js"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pinia/2.1.7/pinia.iife.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pinia/2.1.7/pinia.iife.min.js"></script>
|
||||||
@ -17,10 +17,10 @@
|
|||||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||||
/>
|
/>
|
||||||
<title>Ray Template</title>
|
<title>Ray Template</title>
|
||||||
<script type="module" crossorigin src="/ray-template/js/index-PHyytJfX.js"></script>
|
<script type="module" crossorigin src="/ray-template/js/index-B5JnmBGm.js"></script>
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/lodash-es@4.17.21-BALnwRTu.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/lodash-es@4.17.21-3YkgETI-.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.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/currency.js@2.0.4-9OAR_aOO.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/call-bind@1.0.7-Cpj98o6Y.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/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/dayjs@1.11.10-C8LoRVP6.js">
|
||||||
@ -28,18 +28,18 @@
|
|||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/lodash@4.17.21-Cw59kuJw.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/js-cookie@3.0.5-Z_8Sd105.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/screenfull@5.2.0-DmMZCkhi.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/screenfull@5.2.0-DmMZCkhi.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/utils-Cti1zzpP.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/utils-BmI4YPvf.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/interactjs@1.10.26-DZL_TZzP.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/interactjs@1.10.26-DZL_TZzP.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/dom-to-image@2.6.0-DCOFUeQU.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/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/tslib@2.3.0-BDyQ-Jie.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/zrender@5.5.0-DW8ownf1.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/zrender@5.5.0-DW8ownf1.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/echarts@5.5.0-CezqL3m-.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/echarts@5.5.0-CezqL3m-.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_shared@3.4.31-3J5ZjAdt.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_shared@3.4.30-Bev2jR-5.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_reactivity@3.4.31-B8nTu0ia.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_reactivity@3.4.30-DnhErqw9.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_runtime-core@3.4.31-DIOvAikH.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/@vue_runtime-core@3.4.30-CrcfNDdL.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/hooks-s17Sjidp.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/hooks-DtYdZWXJ.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-CrPzMTkm.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/vue3-next-qrcode@2.0.10_typescript@5.2.2-CrPzMTkm.js">
|
||||||
<link rel="modulepreload" crossorigin href="/ray-template/js/clipboard@2.0.11-DheAgBlr.js">
|
<link rel="modulepreload" crossorigin href="/ray-template/js/clipboard@2.0.11-DheAgBlr.js">
|
||||||
<link rel="stylesheet" crossorigin href="/ray-template/css/hooks-Cqe-s-rU.css">
|
<link rel="stylesheet" crossorigin href="/ray-template/css/hooks-Cqe-s-rU.css">
|
||||||
|
BIN
index.html.gz
BIN
index.html.gz
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
import{i as r}from"./@vue_shared@3.4.31-3J5ZjAdt.js";/**
|
import{i as r}from"./@vue_shared@3.4.30-Bev2jR-5.js";/**
|
||||||
* @vue/reactivity v3.4.31
|
* @vue/reactivity v3.4.30
|
||||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||||
* @license MIT
|
* @license MIT
|
||||||
**/new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(r));function i(e){return e?!!e.__v_raw:!1}function o(e){return!!(e&&e.__v_isRef===!0)}export{i as a,o as i};
|
**/new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(r));function i(e){return e?!!e.__v_raw:!1}function o(e){return!!(e&&e.__v_isRef===!0)}export{i as a,o as i};
|
@ -1,5 +1,5 @@
|
|||||||
import{i as A,a as N}from"./@vue_reactivity@3.4.31-B8nTu0ia.js";import{a as g,b as m,c as C,g as z,E as j,n as T,d as k,e as h,f as y,h as B}from"./@vue_shared@3.4.31-3J5ZjAdt.js";/**
|
import{i as A,a as N}from"./@vue_reactivity@3.4.30-DnhErqw9.js";import{a as g,b as m,c as C,g as z,E as j,n as T,d as k,e as h,f as y,h as B}from"./@vue_shared@3.4.30-Bev2jR-5.js";/**
|
||||||
* @vue/runtime-core v3.4.31
|
* @vue/runtime-core v3.4.30
|
||||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||||
* @license MIT
|
* @license MIT
|
||||||
**/let f=null,M=null;const P=Symbol.for("v-ndc"),U=t=>t.__isSuspense,G={},E=t=>Object.getPrototypeOf(t)===G;function V(t,s){t.shapeFlag&6&&t.component?V(t.component.subTree,s):t.shapeFlag&128?(t.ssContent.transition=s.clone(t.ssContent),t.ssFallback.transition=s.clone(t.ssFallback)):t.transition=s}const L=t=>t.__isTeleport,I=Symbol.for("v-fgt"),Y=Symbol.for("v-txt"),D=Symbol.for("v-cmt"),H=Symbol.for("v-stc"),r=[];let u=null;function v(t=!1){r.push(u=t?null:[])}function K(){r.pop(),u=r[r.length-1]||null}function q(t){return t.dynamicChildren=u||j,K(),u&&u.push(t),t}function tt(t,s,l,c,n,e){return q(x(t,s,l,c,n,e,!0))}function w(t){return t?t.__v_isVNode===!0:!1}const O=({key:t})=>t??null,_=({ref:t,ref_key:s,ref_for:l})=>(typeof t=="number"&&(t=""+t),t!=null?g(t)||A(t)||C(t)?{i:f,r:t,k:s,f:!!l}:t:null);function x(t,s=null,l=null,c=0,n=null,e=t===I?0:1,i=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:s,key:s&&O(s),ref:s&&_(s),scopeId:M,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:e,patchFlag:c,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:f};return o?(p(a,l),e&128&&t.normalize(a)):l&&(a.shapeFlag|=g(l)?8:16),!i&&u&&(a.patchFlag>0||e&6)&&a.patchFlag!==32&&u.push(a),a}const R=J;function J(t,s=null,l=null,c=0,n=null,e=!1){if((!t||t===P)&&(t=D),w(t)){const o=F(t,s,!0);return l&&p(o,l),!e&&u&&(o.shapeFlag&6?u[u.indexOf(t)]=o:u.push(o)),o.patchFlag=-2,o}if(Z(t)&&(t=t.__vccOpts),s){s=Q(s);let{class:o,style:a}=s;o&&!g(o)&&(s.class=T(o)),k(a)&&(N(a)&&!m(a)&&(a=h({},a)),s.style=y(a))}const i=g(t)?1:U(t)?128:L(t)?64:k(t)?4:C(t)?2:0;return x(t,s,l,c,n,i,e,!0)}function Q(t){return t?N(t)||E(t)?h({},t):t:null}function F(t,s,l=!1,c=!1){const{props:n,ref:e,patchFlag:i,children:o,transition:a}=t,S=s?X(n||{},s):n,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:S,key:S&&O(S),ref:s&&s.ref?l&&e?m(e)?e.concat(_(s)):[e,_(s)]:_(s):e,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:s&&t.type!==I?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&F(t.ssContent),ssFallback:t.ssFallback&&F(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&c&&V(b,a.clone(b)),b}function W(t=" ",s=0){return R(Y,null,t,s)}function st(t,s){const l=R(H,null,t);return l.staticCount=s,l}function p(t,s){let l=0;const{shapeFlag:c}=t;if(s==null)s=null;else if(m(s))l=16;else if(typeof s=="object")if(c&65){const n=s.default;n&&(n._c&&(n._d=!1),p(t,n()),n._c&&(n._d=!0));return}else{l=32;const n=s._;!n&&!E(s)?s._ctx=f:n===3&&f&&(f.slots._===1?s._=1:(s._=2,t.patchFlag|=1024))}else C(s)?(s={default:s,_ctx:f},l=32):(s=String(s),c&64?(l=16,s=[W(s)]):l=8);t.children=s,t.shapeFlag|=l}function X(...t){const s={};for(let l=0;l<t.length;l++){const c=t[l];for(const n in c)if(n==="class")s.class!==c.class&&(s.class=T([s.class,c.class]));else if(n==="style")s.style=y([s.style,c.style]);else if(B(n)){const e=s[n],i=c[n];i&&e!==i&&!(m(e)&&e.includes(i))&&(s[n]=e?[].concat(e,i):i)}else n!==""&&(s[n]=c[n])}return s}{const t=z(),s=(l,c)=>{let n;return(n=t[l])||(n=t[l]=[]),n.push(c),e=>{n.length>1?n.forEach(i=>i(e)):n[0](e)}};s("__VUE_INSTANCE_SETTERS__",l=>l),s("__VUE_SSR_SETTERS__",l=>l)}function Z(t){return C(t)&&"__vccOpts"in t}export{st as a,tt as c,v as o};
|
**/let f=null,M=null;const P=Symbol.for("v-ndc"),U=t=>t.__isSuspense,G={},E=t=>Object.getPrototypeOf(t)===G;function V(t,s){t.shapeFlag&6&&t.component?V(t.component.subTree,s):t.shapeFlag&128?(t.ssContent.transition=s.clone(t.ssContent),t.ssFallback.transition=s.clone(t.ssFallback)):t.transition=s}const L=t=>t.__isTeleport,I=Symbol.for("v-fgt"),Y=Symbol.for("v-txt"),D=Symbol.for("v-cmt"),H=Symbol.for("v-stc"),r=[];let u=null;function v(t=!1){r.push(u=t?null:[])}function K(){r.pop(),u=r[r.length-1]||null}function q(t){return t.dynamicChildren=u||j,K(),u&&u.push(t),t}function tt(t,s,l,c,n,e){return q(x(t,s,l,c,n,e,!0))}function w(t){return t?t.__v_isVNode===!0:!1}const O=({key:t})=>t??null,_=({ref:t,ref_key:s,ref_for:l})=>(typeof t=="number"&&(t=""+t),t!=null?g(t)||A(t)||C(t)?{i:f,r:t,k:s,f:!!l}:t:null);function x(t,s=null,l=null,c=0,n=null,e=t===I?0:1,i=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:s,key:s&&O(s),ref:s&&_(s),scopeId:M,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:e,patchFlag:c,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:f};return o?(p(a,l),e&128&&t.normalize(a)):l&&(a.shapeFlag|=g(l)?8:16),!i&&u&&(a.patchFlag>0||e&6)&&a.patchFlag!==32&&u.push(a),a}const R=J;function J(t,s=null,l=null,c=0,n=null,e=!1){if((!t||t===P)&&(t=D),w(t)){const o=F(t,s,!0);return l&&p(o,l),!e&&u&&(o.shapeFlag&6?u[u.indexOf(t)]=o:u.push(o)),o.patchFlag=-2,o}if(Z(t)&&(t=t.__vccOpts),s){s=Q(s);let{class:o,style:a}=s;o&&!g(o)&&(s.class=T(o)),k(a)&&(N(a)&&!m(a)&&(a=h({},a)),s.style=y(a))}const i=g(t)?1:U(t)?128:L(t)?64:k(t)?4:C(t)?2:0;return x(t,s,l,c,n,i,e,!0)}function Q(t){return t?N(t)||E(t)?h({},t):t:null}function F(t,s,l=!1,c=!1){const{props:n,ref:e,patchFlag:i,children:o,transition:a}=t,S=s?X(n||{},s):n,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:S,key:S&&O(S),ref:s&&s.ref?l&&e?m(e)?e.concat(_(s)):[e,_(s)]:_(s):e,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:s&&t.type!==I?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&F(t.ssContent),ssFallback:t.ssFallback&&F(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&c&&V(b,a.clone(b)),b}function W(t=" ",s=0){return R(Y,null,t,s)}function st(t,s){const l=R(H,null,t);return l.staticCount=s,l}function p(t,s){let l=0;const{shapeFlag:c}=t;if(s==null)s=null;else if(m(s))l=16;else if(typeof s=="object")if(c&65){const n=s.default;n&&(n._c&&(n._d=!1),p(t,n()),n._c&&(n._d=!0));return}else{l=32;const n=s._;!n&&!E(s)?s._ctx=f:n===3&&f&&(f.slots._===1?s._=1:(s._=2,t.patchFlag|=1024))}else C(s)?(s={default:s,_ctx:f},l=32):(s=String(s),c&64?(l=16,s=[W(s)]):l=8);t.children=s,t.shapeFlag|=l}function X(...t){const s={};for(let l=0;l<t.length;l++){const c=t[l];for(const n in c)if(n==="class")s.class!==c.class&&(s.class=T([s.class,c.class]));else if(n==="style")s.style=y([s.style,c.style]);else if(B(n)){const e=s[n],i=c[n];i&&e!==i&&!(m(e)&&e.includes(i))&&(s[n]=e?[].concat(e,i):i)}else n!==""&&(s[n]=c[n])}return s}{const t=z(),s=(l,c)=>{let n;return(n=t[l])||(n=t[l]=[]),n.push(c),e=>{n.length>1?n.forEach(i=>i(e)):n[0](e)}};s("__VUE_INSTANCE_SETTERS__",l=>l),s("__VUE_SSR_SETTERS__",l=>l)}function Z(t){return C(t)&&"__vccOpts"in t}export{st as a,tt as c,v as o};
|
BIN
js/@vue_runtime-core@3.4.30-CrcfNDdL.js.gz
Normal file
BIN
js/@vue_runtime-core@3.4.30-CrcfNDdL.js.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @vue/shared v3.4.31
|
* @vue/shared v3.4.30
|
||||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||||
* @license MIT
|
* @license MIT
|
||||||
**/const h=[],b=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),A=Object.assign,f=Array.isArray,C=t=>typeof t=="function",i=t=>typeof t=="string",E=t=>typeof t=="symbol",l=t=>t!==null&&typeof t=="object";let c;const R=()=>c||(c=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function a(t){if(f(t)){const o={};for(let n=0;n<t.length;n++){const s=t[n],e=i(s)?m(s):a(s);if(e)for(const r in e)o[r]=e[r]}return o}else if(i(t)||l(t))return t}const d=/;(?![^(]*\))/g,g=/:([^]+)/,p=/\/\*[^]*?\*\//g;function m(t){const o={};return t.replace(p,"").split(d).forEach(n=>{if(n){const s=n.split(g);s.length>1&&(o[s[0].trim()]=s[1].trim())}}),o}function y(t){let o="";if(i(t))o=t;else if(f(t))for(let n=0;n<t.length;n++){const s=y(t[n]);s&&(o+=s+" ")}else if(l(t))for(const n in t)t[n]&&(o+=n+" ");return o.trim()}export{h as E,i as a,f as b,C as c,l as d,A as e,a as f,R as g,b as h,E as i,y as n};
|
**/const h=[],b=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),A=Object.assign,f=Array.isArray,C=t=>typeof t=="function",i=t=>typeof t=="string",E=t=>typeof t=="symbol",l=t=>t!==null&&typeof t=="object";let c;const R=()=>c||(c=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function a(t){if(f(t)){const o={};for(let n=0;n<t.length;n++){const s=t[n],e=i(s)?m(s):a(s);if(e)for(const r in e)o[r]=e[r]}return o}else if(i(t)||l(t))return t}const d=/;(?![^(]*\))/g,g=/:([^]+)/,p=/\/\*[^]*?\*\//g;function m(t){const o={};return t.replace(p,"").split(d).forEach(n=>{if(n){const s=n.split(g);s.length>1&&(o[s[0].trim()]=s[1].trim())}}),o}function y(t){let o="";if(i(t))o=t;else if(f(t))for(let n=0;n<t.length;n++){const s=y(t[n]);s&&(o+=s+" ")}else if(l(t))for(const n in t)t[n]&&(o+=n+" ");return o.trim()}export{h as E,i as a,f as b,C as c,l as d,A as e,a as f,R as g,b as h,E as i,y as n};
|
BIN
js/@vue_shared@3.4.30-Bev2jR-5.js.gz
Normal file
BIN
js/@vue_shared@3.4.30-Bev2jR-5.js.gz
Normal file
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js.gz
Normal file
BIN
js/@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{y as e}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";const T=Vue.defineComponent({name:"BarcodeDemo",setup(){const u={width:4},t=Vue.ref(!1),a=Vue.ref("RayTemplate");return{baseOptions:u,loading:t,text:a}},render(){const{baseOptions:u}=this;return Vue.createVNode(naive.NGrid,{cols:2,xGap:12,yGap:12},{default:()=>[Vue.createVNode(naive.NGridItem,{span:2},{default:()=>[Vue.createVNode(naive.NCard,{title:"详细配置项说明"},{default:()=>[Vue.createTextVNode("点击查看详细配置项:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/Options"},[Vue.createTextVNode("js-barcode options")]),Vue.createTextVNode("。")]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"基础条形码"},{default:()=>[Vue.createVNode(e,{text:"RayTemplate",options:{...u}},null)]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"自定义颜色条形码"},{default:()=>[Vue.createVNode(e,{text:"RayTemplate",options:{...u,lineColor:"red"}},null)]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"pharmacode 模式"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NAlert,{type:"warning",title:"注意"},{default:()=>[Vue.createTextVNode("该模式下,条形码只能渲染有效数值,否则将会渲染失败。可以查看官网说明:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/pharmacode"},[Vue.createTextVNode("pharmacode")]),Vue.createTextVNode("。")]}),Vue.createVNode(e,{text:"1234",format:"pharmacode",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"codabar 模式"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NAlert,{type:"warning",title:"注意"},{default:()=>[Vue.createTextVNode("该模式下,需要注意 text 中的特殊字符,可以查看官网说明:"),Vue.createVNode("a",{href:"https://github.com/lindell/JsBarcode/wiki/codabar"},[Vue.createTextVNode("codabar")]),Vue.createTextVNode("。")]}),Vue.createVNode(e,{text:"1234",format:"codabar",options:{width:4,height:40,displayValue:!1,background:"#eee"}},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"有状态的条形码"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0,size:"large",justify:"flex-start",inline:!0},{default:()=>[Vue.createVNode(naive.NSwitch,{value:this.loading,"onUpdate:value":t=>this.loading=t,style:"width: fit-content"},{checked:()=>"loading...",unchecked:()=>"success!"}),Vue.createVNode(e,{text:"RayTemplate",loading:this.loading},null)]})]})]}),Vue.createVNode(naive.NGridItem,{span:1},{default:()=>[Vue.createVNode(naive.NCard,{title:"watchText 主动监听 text 变化"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NInput,{value:this.text,"onUpdate:value":t=>this.text=t},null),Vue.createVNode(e,{text:this.text,watchText:!0},null)]})]})]})]})}});export{T as default};
|
import{y as e}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.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-AjAw1DzR.js.gz
Normal file
BIN
js/BarcodeDemo-AjAw1DzR.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{x as Y}from"./hooks-s17Sjidp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";const e="The current environment does not support full screen",Z={isEnabledFullscreen:e},ee=Object.freeze(Object.defineProperty({__proto__:null,default:Z,isEnabledFullscreen:e},Symbol.toStringTag,{value:"Module"})),o="Configuration",t={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},n="Display",c="Content Transition",oe={Title:o,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:c},te=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:c,InterfaceDisplay:n,ThemeOptions:t,Title:o,default:oe},Symbol.toStringTag,{value:"Module"})),i="Reload Current Page",r="Lock",s="Setting",l="Github",a="Full Screen",m="Cancel Full Screen",g="Search",ne={Reload:i,Lock:r,Setting:s,Github:l,FullScreen:a,CancelFullScreen:m,Search:g},ce=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:r,Reload:i,Search:g,Setting:s,default:ne},Symbol.toStringTag,{value:"Module"})),u="Axios Request",p="Barcode",d="Cache Utils Demo",_="Precision",S="Right Click Menu",f="Home",b="Directive",h="Doc",T="Doc (China)",D="Doc(inside)",y="Chart",C="Form",O="Mock",R="Modal",P="MultiMenu(catch)",M="Office",v="Document",j="Presentation",L="Spreadsheet",k="QRCode",F="Rely",I="Rely About",U="Same Level Router Demo",x="Segment",w="SVG Icon",A="Table",z="Template Api",E="Scroll Reveal",ie={Axios:u,Barcode:p,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Error:"Error Page",Form:C,Mock:O,Modal:R,MultiMenu:P,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,scrollReveal:E},re=Object.freeze(Object.defineProperty({__proto__:null,Axios:u,Barcode:p,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Form:C,Mock:O,Modal:R,MultiMenu:P,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,default:ie,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),Q="Configuration",N={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},B="Interface Display",se={Title:Q,ThemeOptions:N,InterfaceDisplay:B},le=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:B,ThemeOptions:N,Title:Q,default:se},Symbol.toStringTag,{value:"Module"})),G="Register",H="Signing",$="QRCode Signing",q="please enter user name",V="please enter password",J="Login",K="User Name",W="User Password",X="Fast Background Template",ae={Register:G,Signing:H,QRCodeSigning:$,NamePlaceholder:q,PasswordPlaceholder:V,Login:J,Name:K,Password:W,RayTemplate:X},me=Object.freeze(Object.defineProperty({__proto__:null,Login:J,Name:K,NamePlaceholder:q,Password:W,PasswordPlaceholder:V,QRCodeSigning:$,RayTemplate:X,Register:G,Signing:H,default:ae},Symbol.toStringTag,{value:"Module"})),ge=Object.assign({"./en-US/globalMessage.json":ee,"./en-US/headerSettingOptions.json":te,"./en-US/headerTooltip.json":ce,"./en-US/menu.json":re,"./en-US/setting.json":le,"./en-US/views/login/index.json":me}),Ue={message:{...Y(ge,"en-US")}};export{Ue as default};
|
import{x as Y}from"./hooks-DtYdZWXJ.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.js";const e="The current environment does not support full screen",Z={isEnabledFullscreen:e},ee=Object.freeze(Object.defineProperty({__proto__:null,default:Z,isEnabledFullscreen:e},Symbol.toStringTag,{value:"Module"})),o="Configuration",t={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},n="Display",c="Content Transition",oe={Title:o,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:c},te=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:c,InterfaceDisplay:n,ThemeOptions:t,Title:o,default:oe},Symbol.toStringTag,{value:"Module"})),i="Reload Current Page",r="Lock",s="Setting",l="Github",a="Full Screen",m="Cancel Full Screen",g="Search",ne={Reload:i,Lock:r,Setting:s,Github:l,FullScreen:a,CancelFullScreen:m,Search:g},ce=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:m,FullScreen:a,Github:l,Lock:r,Reload:i,Search:g,Setting:s,default:ne},Symbol.toStringTag,{value:"Module"})),u="Axios Request",p="Barcode",d="Cache Utils Demo",_="Precision",S="Right Click Menu",f="Home",b="Directive",h="Doc",T="Doc (China)",D="Doc(inside)",y="Chart",C="Form",O="Mock",R="Modal",P="MultiMenu(catch)",M="Office",v="Document",j="Presentation",L="Spreadsheet",k="QRCode",F="Rely",I="Rely About",U="Same Level Router Demo",x="Segment",w="SVG Icon",A="Table",z="Template Api",E="Scroll Reveal",ie={Axios:u,Barcode:p,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Error:"Error Page",Form:C,Mock:O,Modal:R,MultiMenu:P,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,scrollReveal:E},re=Object.freeze(Object.defineProperty({__proto__:null,Axios:u,Barcode:p,CacheDemo:d,CalculatePrecision:_,ContextMenu:S,Dashboard:f,Directive:b,Doc:h,DocLocal:T,DocLocalInside:D,Echart:y,Form:C,Mock:O,Modal:R,MultiMenu:P,Office:M,Office_Document:v,Office_Presentation:j,Office_Spreadsheet:L,QRCode:k,Rely:F,RelyAbout:I,RouterDemo:U,Segment:x,SvgIcon:w,Table:A,TemplateHooks:z,default:ie,scrollReveal:E},Symbol.toStringTag,{value:"Module"})),Q="Configuration",N={Title:"Theme",Dark:"Dark",Light:"Light",PrimaryColorConfig:"Primary Color"},B="Interface Display",se={Title:Q,ThemeOptions:N,InterfaceDisplay:B},le=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:B,ThemeOptions:N,Title:Q,default:se},Symbol.toStringTag,{value:"Module"})),G="Register",H="Signing",$="QRCode Signing",q="please enter user name",V="please enter password",J="Login",K="User Name",W="User Password",X="Fast Background Template",ae={Register:G,Signing:H,QRCodeSigning:$,NamePlaceholder:q,PasswordPlaceholder:V,Login:J,Name:K,Password:W,RayTemplate:X},me=Object.freeze(Object.defineProperty({__proto__:null,Login:J,Name:K,NamePlaceholder:q,Password:W,PasswordPlaceholder:V,QRCodeSigning:$,RayTemplate:X,Register:G,Signing:H,default:ae},Symbol.toStringTag,{value:"Module"})),ge=Object.assign({"./en-US/globalMessage.json":ee,"./en-US/headerSettingOptions.json":te,"./en-US/headerTooltip.json":ce,"./en-US/menu.json":re,"./en-US/setting.json":le,"./en-US/views/login/index.json":me}),Ue={message:{...Y(ge,"en-US")}};export{Ue as default};
|
BIN
js/en-US-Vq4yC-66.js.gz
Normal file
BIN
js/en-US-Vq4yC-66.js.gz
Normal file
Binary file not shown.
12
js/hooks-DtYdZWXJ.js
Normal file
12
js/hooks-DtYdZWXJ.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/hooks-DtYdZWXJ.js.gz
Normal file
BIN
js/hooks-DtYdZWXJ.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-1VNdjw6i.js
Normal file
1
js/index-1VNdjw6i.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
var g={pkg:{dependencies:{"@vueuse/core":"^10.9.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.30","vue-demi":"0.14.6","vue-hooks-plus":"2.2.0","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.1.1","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^5.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.3.1","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.9"},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};
|
BIN
js/index-1VNdjw6i.js.gz
Normal file
BIN
js/index-1VNdjw6i.js.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{G as e}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";const b=Vue.defineComponent({name:"IframeDemo",setup(){return{}},render(){return Vue.createVNode(naive.NFlex,{vertical:!0,size:[20,20]},{default:()=>[Vue.createVNode(naive.NCard,{title:"naive ui(延迟加载)"},{default:()=>[Vue.createVNode(e,{src:"https://www.naiveui.com/zh-CN/dark",height:"300",allow:"fullscreen"},null)]}),Vue.createVNode(naive.NCard,{title:"vue-hooks-plus(立即加载)"},{default:()=>[Vue.createVNode(e,{src:"https://inhiblabcore.github.io/docs/hooks/",height:"300",lazy:!1},null)]})]})}});export{b as default};
|
import{G as e}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.js";const b=Vue.defineComponent({name:"IframeDemo",setup(){return{}},render(){return Vue.createVNode(naive.NFlex,{vertical:!0,size:[20,20]},{default:()=>[Vue.createVNode(naive.NCard,{title:"naive ui(延迟加载)"},{default:()=>[Vue.createVNode(e,{src:"https://www.naiveui.com/zh-CN/dark",height:"300",allow:"fullscreen"},null)]}),Vue.createVNode(naive.NCard,{title:"vue-hooks-plus(立即加载)"},{default:()=>[Vue.createVNode(e,{src:"https://inhiblabcore.github.io/docs/hooks/",height:"300",lazy:!1},null)]})]})}});export{b as default};
|
BIN
js/index-2iyrt7kQ.js.gz
Normal file
BIN
js/index-2iyrt7kQ.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
js/index-B5JnmBGm.js
Normal file
1
js/index-B5JnmBGm.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-B5JnmBGm.js.gz
Normal file
BIN
js/index-B5JnmBGm.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/index-BIFJwPsQ.js.gz
Normal file
BIN
js/index-BIFJwPsQ.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{r as s,_ as o}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";function c(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Vue.isVNode(i)}const w=Vue.defineComponent({name:"PreviewSVGIcons",setup(){const i=Vue.ref([]);return Object.keys(Object.assign({"/src/icons/action/draggable.svg":()=>o(()=>import("./draggable-D6qza0mp.js"),[]),"/src/icons/action/fullscreen.svg":()=>o(()=>import("./fullscreen-Cjm0bPGx.js"),[]),"/src/icons/action/fullscreen_fold.svg":()=>o(()=>import("./fullscreen_fold-BUWP5JFn.js"),[]),"/src/icons/action/out.svg":()=>o(()=>import("./out-CMQCc625.js"),[]),"/src/icons/action/reload.svg":()=>o(()=>import("./reload-BCsJCBo-.js"),[]),"/src/icons/action/search.svg":()=>o(()=>import("./search-DPR73sQp.js"),[]),"/src/icons/action/setting.svg":()=>o(()=>import("./setting-CqYm8XBn.js"),[]),"/src/icons/directional/adjustment.svg":()=>o(()=>import("./adjustment-DIo_g8Za.js"),[]),"/src/icons/directional/close_left.svg":()=>o(()=>import("./close_left-C6k2eGWg.js"),[]),"/src/icons/directional/close_right.svg":()=>o(()=>import("./close_right-CrnE5vtw.js"),[]),"/src/icons/directional/expanded.svg":()=>o(()=>import("./expanded-BswQDJyW.js"),[]),"/src/icons/directional/left_arrow.svg":()=>o(()=>import("./left_arrow-DAKeumRT.js"),[]),"/src/icons/directional/lock.svg":()=>o(()=>import("./lock-dC7sQfx2.js"),[]),"/src/icons/directional/resize_h.svg":()=>o(()=>import("./resize_h-DA2p7YCQ.js"),[]),"/src/icons/directional/right_arrow.svg":()=>o(()=>import("./right_arrow-CbmroMoE.js"),[]),"/src/icons/directional/row_end.svg":()=>o(()=>import("./row_end-CqbNhb3G.js"),[]),"/src/icons/directional/row_head.svg":()=>o(()=>import("./row_head-BCxi2x-p.js"),[]),"/src/icons/logo/github.svg":()=>o(()=>import("./github-B4ARmChV.js"),[]),"/src/icons/logo/google.svg":()=>o(()=>import("./google-GEcrFhWr.js"),[]),"/src/icons/logo/login_bg.svg":()=>o(()=>import("./login_bg-CRcyXHBf.js"),[]),"/src/icons/logo/office.svg":()=>o(()=>import("./office-B5pC1KGi.js"),[]),"/src/icons/logo/ray.svg":()=>o(()=>import("./ray-B93BjtIh.js"),[]),"/src/icons/logo/twitter.svg":()=>o(()=>import("./twitter-DjE7U1HD.js"),[]),"/src/icons/template/dark.svg":()=>o(()=>import("./dark-BqsidBpX.js"),[]),"/src/icons/template/light.svg":()=>o(()=>import("./light-DWbddXnY.js"),[]),"/src/icons/tip/axios.svg":()=>o(()=>import("./axios-o8g4A-7A.js"),[]),"/src/icons/tip/close.svg":()=>o(()=>import("./close-10SEVxdb.js"),[]),"/src/icons/tip/dashboard.svg":()=>o(()=>import("./dashboard-70op-CO0.js"),[]),"/src/icons/tip/echart.svg":()=>o(()=>import("./echart-c_3t778P.js"),[]),"/src/icons/tip/enter.svg":()=>o(()=>import("./enter-CPGcsJ25.js"),[]),"/src/icons/tip/error.svg":()=>o(()=>import("./error-CjWalrOZ.js"),[]),"/src/icons/tip/export_excel.svg":()=>o(()=>import("./export_excel-ZmNoLzCr.js"),[]),"/src/icons/tip/language.svg":()=>o(()=>import("./language-C4AMs4_p.js"),[]),"/src/icons/tip/menu.svg":()=>o(()=>import("./menu-CPMkWw77.js"),[]),"/src/icons/tip/more.svg":()=>o(()=>import("./more-DW-qndwg.js"),[]),"/src/icons/tip/mouse.svg":()=>o(()=>import("./mouse-C_l6KSTs.js"),[]),"/src/icons/tip/other.svg":()=>o(()=>import("./other-DU6bZUrM.js"),[]),"/src/icons/tip/print.svg":()=>o(()=>import("./print-jFo_n0lx.js"),[]),"/src/icons/tip/rely.svg":()=>o(()=>import("./rely-DlDUQEbT.js"),[]),"/src/icons/tip/table.svg":()=>o(()=>import("./table-tYkftQGA.js"),[])})).forEach(e=>{var t;const r=(t=e.match(/\/(\w+)\.svg/))==null?void 0:t[1];r&&i.value.push(r)}),{icons:i}},render(){return Vue.createVNode(naive.NCard,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let i;return Vue.createVNode(naive.NFlex,null,c(i=this.icons.map(_=>Vue.withDirectives(Vue.createVNode("div",{class:"pre-view-icons__card",key:_},[Vue.createVNode(naive.NPopover,null,{trigger:()=>Vue.createVNode(s,{name:_,size:"56",cursor:"pointer"},null),default:()=>_})]),[[Vue.resolveDirective("copy"),`<RIcon name="${_}" size="56" />`]])))?i:{default:()=>[i]})}})}});export{w as default};
|
import{r as s,_ as o}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.js";function c(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!Vue.isVNode(i)}const w=Vue.defineComponent({name:"PreviewSVGIcons",setup(){const i=Vue.ref([]);return Object.keys(Object.assign({"/src/icons/action/draggable.svg":()=>o(()=>import("./draggable-D6qza0mp.js"),[]),"/src/icons/action/fullscreen.svg":()=>o(()=>import("./fullscreen-Cjm0bPGx.js"),[]),"/src/icons/action/fullscreen_fold.svg":()=>o(()=>import("./fullscreen_fold-BUWP5JFn.js"),[]),"/src/icons/action/out.svg":()=>o(()=>import("./out-CMQCc625.js"),[]),"/src/icons/action/reload.svg":()=>o(()=>import("./reload-BCsJCBo-.js"),[]),"/src/icons/action/search.svg":()=>o(()=>import("./search-DPR73sQp.js"),[]),"/src/icons/action/setting.svg":()=>o(()=>import("./setting-CqYm8XBn.js"),[]),"/src/icons/directional/adjustment.svg":()=>o(()=>import("./adjustment-DIo_g8Za.js"),[]),"/src/icons/directional/close_left.svg":()=>o(()=>import("./close_left-C6k2eGWg.js"),[]),"/src/icons/directional/close_right.svg":()=>o(()=>import("./close_right-CrnE5vtw.js"),[]),"/src/icons/directional/expanded.svg":()=>o(()=>import("./expanded-BswQDJyW.js"),[]),"/src/icons/directional/left_arrow.svg":()=>o(()=>import("./left_arrow-DAKeumRT.js"),[]),"/src/icons/directional/lock.svg":()=>o(()=>import("./lock-dC7sQfx2.js"),[]),"/src/icons/directional/resize_h.svg":()=>o(()=>import("./resize_h-DA2p7YCQ.js"),[]),"/src/icons/directional/right_arrow.svg":()=>o(()=>import("./right_arrow-CbmroMoE.js"),[]),"/src/icons/directional/row_end.svg":()=>o(()=>import("./row_end-CqbNhb3G.js"),[]),"/src/icons/directional/row_head.svg":()=>o(()=>import("./row_head-BCxi2x-p.js"),[]),"/src/icons/logo/github.svg":()=>o(()=>import("./github-B4ARmChV.js"),[]),"/src/icons/logo/google.svg":()=>o(()=>import("./google-GEcrFhWr.js"),[]),"/src/icons/logo/login_bg.svg":()=>o(()=>import("./login_bg-CRcyXHBf.js"),[]),"/src/icons/logo/office.svg":()=>o(()=>import("./office-B5pC1KGi.js"),[]),"/src/icons/logo/ray.svg":()=>o(()=>import("./ray-B93BjtIh.js"),[]),"/src/icons/logo/twitter.svg":()=>o(()=>import("./twitter-DjE7U1HD.js"),[]),"/src/icons/template/dark.svg":()=>o(()=>import("./dark-BqsidBpX.js"),[]),"/src/icons/template/light.svg":()=>o(()=>import("./light-DWbddXnY.js"),[]),"/src/icons/tip/axios.svg":()=>o(()=>import("./axios-o8g4A-7A.js"),[]),"/src/icons/tip/close.svg":()=>o(()=>import("./close-10SEVxdb.js"),[]),"/src/icons/tip/dashboard.svg":()=>o(()=>import("./dashboard-70op-CO0.js"),[]),"/src/icons/tip/echart.svg":()=>o(()=>import("./echart-c_3t778P.js"),[]),"/src/icons/tip/enter.svg":()=>o(()=>import("./enter-CPGcsJ25.js"),[]),"/src/icons/tip/error.svg":()=>o(()=>import("./error-CjWalrOZ.js"),[]),"/src/icons/tip/export_excel.svg":()=>o(()=>import("./export_excel-ZmNoLzCr.js"),[]),"/src/icons/tip/language.svg":()=>o(()=>import("./language-C4AMs4_p.js"),[]),"/src/icons/tip/menu.svg":()=>o(()=>import("./menu-CPMkWw77.js"),[]),"/src/icons/tip/more.svg":()=>o(()=>import("./more-DW-qndwg.js"),[]),"/src/icons/tip/mouse.svg":()=>o(()=>import("./mouse-C_l6KSTs.js"),[]),"/src/icons/tip/other.svg":()=>o(()=>import("./other-DU6bZUrM.js"),[]),"/src/icons/tip/print.svg":()=>o(()=>import("./print-jFo_n0lx.js"),[]),"/src/icons/tip/rely.svg":()=>o(()=>import("./rely-DlDUQEbT.js"),[]),"/src/icons/tip/table.svg":()=>o(()=>import("./table-tYkftQGA.js"),[])})).forEach(e=>{var t;const r=(t=e.match(/\/(\w+)\.svg/))==null?void 0:t[1];r&&i.value.push(r)}),{icons:i}},render(){return Vue.createVNode(naive.NCard,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let i;return Vue.createVNode(naive.NFlex,null,c(i=this.icons.map(_=>Vue.withDirectives(Vue.createVNode("div",{class:"pre-view-icons__card",key:_},[Vue.createVNode(naive.NPopover,null,{trigger:()=>Vue.createVNode(s,{name:_,size:"56",cursor:"pointer"},null),default:()=>_})]),[[Vue.resolveDirective("copy"),`<RIcon name="${_}" size="56" />`]])))?i:{default:()=>[i]})}})}});export{w as default};
|
BIN
js/index-BMklpJ_p.js.gz
Normal file
BIN
js/index-BMklpJ_p.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
import"./hooks-s17Sjidp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{y as s,z as p,A as d,B as l,C as c,D as V}from"./utils-Cti1zzpP.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";const k=Vue.defineComponent({name:"CalculatePrecision",setup(){const t=Vue.reactive({addOptions:["1","0.2","0.1","1.1"],subtractOptions:["1","0.2","0.1","1.1"],multiplyOptions:["1","0.2","0.1","1.1"],divideOptions:["1","0.2","0.1","1.1"],distributeValue:12,distributeOutputValue:[],distributeLength:3}),e={addOptions:d,subtractOptions:l,multiplyOptions:c,divideOptions:V},i=(a,o)=>{const n=e[o],r=n(...a);return"结果: "+s(r)},u=()=>{Vue.nextTick().then(()=>{t.distributeOutputValue=p(t.distributeValue,t.distributeLength)})};return u(),{...Vue.toRefs(t),copilotFunc:i,updateDistributeValue:u}},render(){return Vue.createVNode(naive.NLayout,null,{default:()=>[Vue.createVNode("h2",{style:"margin: 0 0 20px 0"},[Vue.createTextVNode("计算方法,默认都保留八位小数与四舍五入,可以根据 format 方法自行转换")]),Vue.createVNode("h3",{style:"margin: 0 0 20px 0"},[Vue.createTextVNode("示例方法都基于 currency.js 封装,利用其精度处理能力封装了常用的一些计算方法,解决精度问题。如果需要其他的方法请阅读官方文档 https://currency.js.org/#subtract")]),Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"加法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.addOptions,"onUpdate:value":t=>this.addOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"addOptions")}},null),footer:()=>this.copilotFunc(this.addOptions,"addOptions")}),Vue.createVNode(naive.NCard,{title:"减法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.subtractOptions,"onUpdate:value":t=>this.subtractOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"subtractOptions")}},null),footer:()=>this.copilotFunc(this.subtractOptions,"subtractOptions")}),Vue.createVNode(naive.NCard,{title:"乘法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.multiplyOptions,"onUpdate:value":t=>this.multiplyOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"multiplyOptions")}},null),footer:()=>this.copilotFunc(this.multiplyOptions,"multiplyOptions")}),Vue.createVNode(naive.NCard,{title:"除法(非取模)"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.divideOptions,"onUpdate:value":t=>this.divideOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"divideOptions")}},null),footer:()=>this.copilotFunc(this.divideOptions,"divideOptions")}),Vue.createVNode(naive.NCard,{title:"平分一个值"},{default:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NInputNumber,{value:this.distributeValue,"onUpdate:value":t=>this.distributeValue=t,onUpdateValue:()=>{this.updateDistributeValue()}},null),Vue.createVNode(naive.NInputNumber,{value:this.distributeLength,"onUpdate:value":t=>this.distributeLength=t,onUpdateValue:()=>{this.updateDistributeValue()}},null)]}),footer:()=>"结果: "+this.distributeOutputValue.join(", ")})]})]})}});export{k as default};
|
import"./hooks-DtYdZWXJ.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{y as s,z as p,A as d,B as l,C as c,D as V}from"./utils-BmI4YPvf.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.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-BUieUnir.js.gz
Normal file
BIN
js/index-BUieUnir.js.gz
Normal file
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/index-Bi16YVaZ.js.gz
Normal file
BIN
js/index-Bi16YVaZ.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{H as c,I as p,J as V}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import{a as F}from"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import{s as E}from"./instance-B93KqPYt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.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};
|
import{H as c,I as p,J as V}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import{a as F}from"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import{s as E}from"./instance-COhWfrSq.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.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-CETCbL0X.js.gz
Normal file
BIN
js/index-CETCbL0X.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
import"./hooks-s17Sjidp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{s as u,g as r,l as a,x as o}from"./utils-Cti1zzpP.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.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};
|
import"./hooks-DtYdZWXJ.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{s as u,g as r,l as a,x as o}from"./utils-BmI4YPvf.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.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-C_p6s4B3.js.gz
Normal file
BIN
js/index-C_p6s4B3.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/index-Ca8dkFUR.js.gz
Normal file
BIN
js/index-Ca8dkFUR.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{v as o,w as u,e as i}from"./hooks-s17Sjidp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{g as a}from"./utils-Cti1zzpP.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.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};
|
import{v as o,w as u,e as i}from"./hooks-DtYdZWXJ.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{g as a}from"./utils-BmI4YPvf.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.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-CdBUAOSD.js.gz
Normal file
BIN
js/index-CdBUAOSD.js.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
var g={pkg:{dependencies:{"@vueuse/core":"^10.9.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.31","vue-demi":"0.14.6","vue-hooks-plus":"2.2.0","vue-i18n":"^9.13.1","vue-router":"^4.3.2","vue3-next-qrcode":"2.0.10"},devDependencies:{"@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@interactjs/types":"1.10.21","@intlify/unplugin-vue-i18n":"^4.0.0","@types/crypto-js":"^4.1.1","@types/dom-to-image":"2.6.7","@types/jsbarcode":"3.11.4","@types/lodash-es":"^4.17.12","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^5.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.3.3","vite-bundle-analyzer":"0.9.4","vite-plugin-cdn2":"1.1.0","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-inspect":"^0.8.3","vite-plugin-mock-dev-server":"1.4.7","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.5.2","vue-tsc":"^2.0.11"},name:"ray-template",version:"4.9.0"},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 +1 @@
|
|||||||
import{P as r,R as a}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";const g=Vue.defineComponent({name:"ModalDemo",setup(){const t=Vue.reactive({modal1:!1,modal2:!1,modal3:!1}),{create:e}=r(),u=()=>{e({title:"卡片模态框",dad:!0,preset:"card",content:"我可以被拖拽的全屏card模态框",fullscreen:!0})},o=()=>{e({title:"模态框",content:"内容",preset:"dialog",dad:!0})};return{...Vue.toRefs(t),createCardModal:u,createDialogModal:o}},render(){const{createCardModal:t,createDialogModal:e}=this;return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"props"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("memoryPosition: 是否记住上一次被拖拽的位置,如果设置为 true,那么下一次打开的时候会自动定位到上一次的位置。")]),Vue.createVNode("h3",null,[Vue.createTextVNode("fullscreen: 全屏模态框。")]),Vue.createVNode("h3",null,[Vue.createTextVNode("dad: 启用拖拽,当配置为 false 时,会禁用拖拽效果。")])]})]}),Vue.createVNode(a,{show:this.modal1,"onUpdate:show":u=>this.modal1=u,title:"全屏模态框",fullscreen:!0,preset:"card"},{default:()=>[Vue.createTextVNode("我是全屏模态框,并且会自动启用滚动条。")]}),Vue.createVNode(a,{show:this.modal2,"onUpdate:show":u=>this.modal2=u,preset:"card",title:"可拖拽卡片模态框",dad:!0},{default:()=>[Vue.createVNode("p",null,[Vue.createTextVNode("我可以被拖拽")])]}),Vue.createVNode(a,{show:this.modal3,"onUpdate:show":u=>this.modal3=u,preset:"dialog",title:"可拖拽卡片模态框",dad:!0},{default:()=>[Vue.createVNode("p",null,[Vue.createTextVNode("我可以被拖拽")])]}),Vue.createVNode(naive.NCard,{title:"可拖拽模态框"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>this.modal2=!0},{default:()=>[Vue.createTextVNode("卡片模态框")]}),Vue.createVNode(naive.NButton,{onClick:()=>this.modal3=!0},{default:()=>[Vue.createTextVNode("对话框模态框")]})]}),Vue.createVNode(naive.NCard,{title:"全屏模态框"},{default:()=>[Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode("h4",null,[Vue.createTextVNode("全屏模态框需要同时设置:fullscreen 为 true,并且 preset 为 card 时才会生效。")]),Vue.createVNode(naive.NButton,{onClick:()=>this.modal1=!0},{default:()=>[Vue.createTextVNode("打开")]})]})]}),Vue.createVNode(naive.NCard,{title:"手动设置宽度"},{default:()=>[Vue.createVNode("h4",null,[Vue.createTextVNode("width(--r-modal-width): 当 preset 不为 dialog 或者 card 的时候,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("dialogWidth(--r-modal-dialog-width): 当 preset 为 dialog,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("cardWidth(--r-modal-card-width): 当 preset 为 card,你可能用得上。")]),Vue.createVNode("h4",null,[Vue.createTextVNode("所有的宽度配置属性都会注入一个对应的 `css variable`,有时候会用上。")])]}),Vue.createVNode(naive.NCard,{title:"重写 useModal"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:t.bind(this)},{default:()=>[Vue.createTextVNode("创建卡片模态框")]}),Vue.createVNode(naive.NButton,{onClick:e.bind(this)},{default:()=>[Vue.createTextVNode("创建对话框模态框")]})]})]})}});export{g as default};
|
import{P as r,R as a}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.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-CwH8f46E.js.gz
Normal file
BIN
js/index-CwH8f46E.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/index-DG3hJlZ3.js.gz
Normal file
BIN
js/index-DG3hJlZ3.js.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{J as i}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";const H=Vue.defineComponent({name:"RouterDemoHome",setup(){const t=VueRouter.useRouter(),r=Vue.ref([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:e=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{type:"info",text:!0,size:"tiny",onClick:()=>{t.push({path:"/router-demo/router-demo-detail",query:{name:e.name}})}},{default:()=>[Vue.createTextVNode("详情")]})]})}]),o=[];for(let e=0;e<10;e++)o.push({name:"张三"+e,address:"New York No. 1 Lake Park",phone:"010-121212",key:e});return{dataSource:o,columns:r}},render(){return Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(i,{columns:this.columns,"onUpdate:columns":t=>this.columns=t,data:this.dataSource},null)]})}});export{H as default};
|
import{J as i}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.js";const H=Vue.defineComponent({name:"RouterDemoHome",setup(){const t=VueRouter.useRouter(),r=Vue.ref([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:e=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{type:"info",text:!0,size:"tiny",onClick:()=>{t.push({path:"/router-demo/router-demo-detail",query:{name:e.name}})}},{default:()=>[Vue.createTextVNode("详情")]})]})}]),o=[];for(let e=0;e<10;e++)o.push({name:"张三"+e,address:"New York No. 1 Lake Park",phone:"010-121212",key:e});return{dataSource:o,columns:r}},render(){return Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(i,{columns:this.columns,"onUpdate:columns":t=>this.columns=t,data:this.dataSource},null)]})}});export{H as default};
|
BIN
js/index-DXOaZCDd.js.gz
Normal file
BIN
js/index-DXOaZCDd.js.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{z as d}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";const A=Vue.defineComponent({name:"ContextMenuDemo",setup(){const e=Vue.ref(),o=Vue.ref(!1),u=Vue.ref([{label:"杰·盖茨比",key:"jay gatsby"},{label:"黛西·布坎南",key:"daisy buchanan"},{type:"divider",key:"d1"},{label:"尼克·卡拉威",key:"nick caraway"}]),{x:r,y:i,show:a,updateShow:t}=d(e);return{demoOneRef:e,demoOneShow:o,x:r,y:i,show:a,options:u,clickOutside:n=>{n.preventDefault(),t(!1)},updateShow:t}},render(){const{x:e,y:o,show:u}=this,{clickOutside:r,updateShow:i}=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:u,x:e,y:o,options:this.options,trigger:"manual",placement:"bottom-start",onSelect:(a,t)=>{window.$message.info(`选中了 ${t.label}`),i(!1)},onClickoutside:r.bind(this)},null)]})}});export{A as default};
|
import{z as d}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.js";const A=Vue.defineComponent({name:"ContextMenuDemo",setup(){const e=Vue.ref(),o=Vue.ref(!1),u=Vue.ref([{label:"杰·盖茨比",key:"jay gatsby"},{label:"黛西·布坎南",key:"daisy buchanan"},{type:"divider",key:"d1"},{label:"尼克·卡拉威",key:"nick caraway"}]),{x:r,y:i,show:a,updateShow:t}=d(e);return{demoOneRef:e,demoOneShow:o,x:r,y:i,show:a,options:u,clickOutside:n=>{n.preventDefault(),t(!1)},updateShow:t}},render(){const{x:e,y:o,show:u}=this,{clickOutside:r,updateShow:i}=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:u,x:e,y:o,options:this.options,trigger:"manual",placement:"bottom-start",onSelect:(a,t)=>{window.$message.info(`选中了 ${t.label}`),i(!1)},onClickoutside:r.bind(this)},null)]})}});export{A as default};
|
BIN
js/index-DscxrZZp.js.gz
Normal file
BIN
js/index-DscxrZZp.js.gz
Normal file
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/index-FvWab_gy.js.gz
Normal file
BIN
js/index-FvWab_gy.js.gz
Normal file
Binary file not shown.
1
js/index-OUOi2Sg4.js
Normal file
1
js/index-OUOi2Sg4.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/index-OUOi2Sg4.js.gz
Normal file
BIN
js/index-OUOi2Sg4.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{r as o}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{A as r}from"./index-43Sr2ZDd.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";function l(u){return typeof u=="function"||Object.prototype.toString.call(u)==="[object Object]"&&!Vue.isVNode(u)}const O=Vue.defineComponent({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("Vue3.x")]}),Vue.createVNode(naive.NTag,{type:"info"},{default:()=>[Vue.createTextVNode("React")]})]})},{label:"从事搬砖时长",des:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(o,{name:"ray",size:"22"},null),Vue.createTextVNode("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createTextVNode("如果有希望补充的功能可以在"),Vue.createVNode("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[Vue.createTextVNode("GitHub")]),Vue.createTextVNode("提一个 Issues")]}),span:2}],technologyTagOptions:[{label:"Vue3.x",value:"Vue3.x"},{label:"Vite5.x",value:"Vite5.x"},{label:"Pinia",value:"Pinia"},{label:"TS(X)",value:"TS(X)"}]}},render(){let u,t;return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,null,{header:()=>Vue.createVNode(o,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),Vue.createVNode(naive.NCard,{title:"个人介绍"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left",column:2},l(u=this.coverLetterOptions.map(e=>{let a;return Vue.createVNode(naive.NDescriptionsItem,{key:e.label,label:e.label,span:e==null?void 0:e.span},l(a=e.des())?a:{default:()=>[a]})}))?u:{default:()=>[u]})]}),Vue.createVNode(naive.NCard,{title:"项目介绍"},{default:()=>[Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("技术栈")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createVNode(naive.NFlex,null,l(t=this.technologyTagOptions.map(e=>Vue.createVNode(naive.NTag,{key:e.value,type:"info"},{default:()=>[e.label]})))?t:{default:()=>[t]})]}),Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("项目介绍")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createTextVNode("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),Vue.createVNode(naive.NCard,{title:"友情链接"},{default:()=>[Vue.createVNode(r,null,null)]})]})}});export{O as default};
|
import{r as o}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{A as r}from"./index-43Sr2ZDd.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.js";function l(u){return typeof u=="function"||Object.prototype.toString.call(u)==="[object Object]"&&!Vue.isVNode(u)}const O=Vue.defineComponent({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("Vue3.x")]}),Vue.createVNode(naive.NTag,{type:"info"},{default:()=>[Vue.createTextVNode("React")]})]})},{label:"从事搬砖时长",des:()=>Vue.createVNode(naive.NFlex,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createVNode(o,{name:"ray",size:"22"},null),Vue.createTextVNode("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>Vue.createVNode(naive.NFlex,{align:"center"},{default:()=>[Vue.createTextVNode("如果有希望补充的功能可以在"),Vue.createVNode("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[Vue.createTextVNode("GitHub")]),Vue.createTextVNode("提一个 Issues")]}),span:2}],technologyTagOptions:[{label:"Vue3.x",value:"Vue3.x"},{label:"Vite5.x",value:"Vite5.x"},{label:"Pinia",value:"Pinia"},{label:"TS(X)",value:"TS(X)"}]}},render(){let u,t;return Vue.createVNode(naive.NFlex,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,null,{header:()=>Vue.createVNode(o,{name:"ray",size:"64"},null),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),Vue.createVNode(naive.NCard,{title:"个人介绍"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left",column:2},l(u=this.coverLetterOptions.map(e=>{let a;return Vue.createVNode(naive.NDescriptionsItem,{key:e.label,label:e.label,span:e==null?void 0:e.span},l(a=e.des())?a:{default:()=>[a]})}))?u:{default:()=>[u]})]}),Vue.createVNode(naive.NCard,{title:"项目介绍"},{default:()=>[Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("技术栈")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createVNode(naive.NFlex,null,l(t=this.technologyTagOptions.map(e=>Vue.createVNode(naive.NTag,{key:e.value,type:"info"},{default:()=>[e.label]})))?t:{default:()=>[t]})]}),Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("项目介绍")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createTextVNode("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),Vue.createVNode(naive.NCard,{title:"友情链接"},{default:()=>[Vue.createVNode(r,null,null)]})]})}});export{O as default};
|
BIN
js/index-R3UIaZc8.js.gz
Normal file
BIN
js/index-R3UIaZc8.js.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
import{E as d,F as l}from"./hooks-s17Sjidp.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-BALnwRTu.js";import"./@vueuse_core@10.9.0_vue@3.4.31-CnUoy1-c.js";import"./@vueuse_shared@10.9.0_vue@3.4.31-BTLxKjPf.js";import"./utils-Cti1zzpP.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.31-DIOvAikH.js";import"./@vue_reactivity@3.4.31-B8nTu0ia.js";import"./@vue_shared@3.4.31-3J5ZjAdt.js";const w=Vue.defineComponent({name:"RFormDemo",setup(){const[u,{getFormInstance:i,validate:t,restoreValidation:r,formModel:a,formRules:e}]=d({name:null,age:null,gender:null,date:null,remark:null},{name:{required:!0,message:"请输入姓名",trigger:["blur","change"]},date:{required:!0,message:"请选择日期",trigger:["blur","change"],type:"number"},gender:{required:!0,message:"请选择性别",trigger:"change"},age:{required:!0,message:"请输入年龄",trigger:["blur","change"],type:"number"}}),o=Vue.ref(e()),n=Vue.ref(a());return{register:u,rules:o,condition:n,restoreValidation:r,formModel:a,validate:t}},render(){const{rules:u}=this,{register:i,restoreValidation:t,formModel:r,validate:a}=this;return Vue.createVNode(l,{onRegister:i,rules:u,model:this.condition},{default:()=>[Vue.createVNode(naive.NGrid,{cols:24,xGap:24},{default:()=>[Vue.createVNode(naive.NFormItemGi,{label:"姓名",path:"name",span:12},{default:()=>[Vue.createVNode(naive.NInput,{value:this.condition.name,"onUpdate:value":e=>this.condition.name=e},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"年龄",path:"age",span:12},{default:()=>[Vue.createVNode(naive.NInputNumber,{value:this.condition.age,"onUpdate:value":e=>this.condition.age=e,showButton:!1,style:"width: 100%"},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"出生日期",path:"date",span:12},{default:()=>[Vue.createVNode(naive.NDatePicker,{value:this.condition.date,"onUpdate:value":e=>this.condition.date=e,style:"width: 100%"},null)]}),Vue.createVNode(naive.NFormItemGi,{label:"性别",path:"gender",span:12},{default:()=>[Vue.createVNode(naive.NRadioGroup,{value:this.condition.gender,"onUpdate:value":e=>this.condition.gender=e},{default:()=>[Vue.createVNode(naive.NRadio,{value:"girl"},{default:()=>[Vue.createTextVNode("女")]}),Vue.createVNode(naive.NRadio,{value:"man"},{default:()=>[Vue.createTextVNode("男")]})]})]}),Vue.createVNode(naive.NFormItemGi,{label:"备注信息",span:24},{default:()=>[Vue.createVNode(naive.NInput,{type:"textarea",value:this.condition.remark,"onUpdate:value":e=>this.condition.remark=e},null)]}),Vue.createVNode(naive.NFormItemGi,{span:24},{default:()=>[Vue.createVNode(naive.NFlex,{justify:"flex-end",style:"width: 100%"},{default:()=>[Vue.createVNode(naive.NButton,{type:"info",onClick:()=>{this.condition=r(),t()}},{default:()=>[Vue.createTextVNode("重置表单为初始状态")]}),Vue.createVNode(naive.NButton,{type:"warning",onClick:t.bind(this)},{default:()=>[Vue.createTextVNode("移除校验状态")]}),Vue.createVNode(naive.NButton,{type:"primary",onClick:()=>a()},{default:()=>[Vue.createTextVNode("校验")]})]})]})]})]})}});export{w as default};
|
import{E as d,F as l}from"./hooks-DtYdZWXJ.js";import"./currency.js@2.0.4-9OAR_aOO.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import"./lodash-es@4.17.21-3YkgETI-.js";import"./@vueuse_core@10.9.0_vue@3.4.30-CHk58Nsj.js";import"./@vueuse_shared@10.9.0_vue@3.4.30-BTLxKjPf.js";import"./utils-BmI4YPvf.js";import"./interactjs@1.10.26-DZL_TZzP.js";import"./call-bind@1.0.7-Cpj98o6Y.js";import"./pinia-plugin-persistedstate@3.2.1_pinia@2.1.7-RV7uh3T-.js";import"./dom-to-image@2.6.0-DCOFUeQU.js";import"./echarts@5.5.0-CezqL3m-.js";import"./zrender@5.5.0-DW8ownf1.js";import"./tslib@2.3.0-BDyQ-Jie.js";import"./@vue_runtime-core@3.4.30-CrcfNDdL.js";import"./@vue_reactivity@3.4.30-DnhErqw9.js";import"./@vue_shared@3.4.30-Bev2jR-5.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-jW2kx6LG.js.gz
Normal file
BIN
js/index-jW2kx6LG.js.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
import{K as t,N as n,e as R,O as q}from"./hooks-s17Sjidp.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.31-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{g as d}from"./utils-Cti1zzpP.js";import"./currency.js@2.0.4-9OAR_aOO.js";const A=(e,r)=>{t.removePendingRequest(e)},y=(e,r)=>{t.removePendingRequest(e)},p={implementResponseInterceptorArray:[A],implementResponseInterceptorErrorArray:[y]},{setImplement:m}=n(),E=()=>{const{implementResponseInterceptorArray:e}=p;m("implementResponseInterceptorArray",e,"ok")},k=()=>{const{implementResponseInterceptorErrorArray:e}=p;m("implementResponseInterceptorErrorArray",e,"error")},P=(e,r)=>{t.removePendingRequest(e),t.addPendingRequest(e)},g=(e,r)=>{t.removePendingRequest(e)},v=(e,r)=>{if(e){const o=e.headers;r.forEach(s=>{o[s.key]=s.value})}},C=(e,r)=>{const o=d(R.token,"localStorage");return e.url,{key:"X-TOKEN",value:o}},f=(e,r)=>{v(e,[C(e),{key:"Demo-Header-Key",value:"Demo Header Value"}])},c={implementRequestInterceptorArray:[f,P],implementRequestInterceptorErrorArray:[g]},{setImplement:a}=n(),H=()=>{const{implementRequestInterceptorArray:e}=c;a("implementRequestInterceptorArray",e,"ok")},j=()=>{const{implementRequestInterceptorErrorArray:e}=c;a("implementRequestInterceptorErrorArray",e,"error")},i=axios.create(q),{createAxiosInstance:u,beforeFetch:l,fetchError:I}=n();i.interceptors.request.use(e=>(u(e,"requestInstance"),H(),l("requestInstance","implementRequestInterceptorArray","ok"),e),e=>(j(),I("requestError",e,"implementRequestInterceptorErrorArray"),Promise.reject(e)));i.interceptors.response.use(e=>{u(e,"responseInstance"),E(),l("responseInstance","implementResponseInterceptorArray","ok");const{data:r}=e;return Promise.resolve(r)},e=>(k(),I("responseError",e,"implementResponseInterceptorErrorArray"),Promise.reject(e)));export{i as s};
|
|
Binary file not shown.
1
js/instance-COhWfrSq.js
Normal file
1
js/instance-COhWfrSq.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{K as t,N as n,e as R,O as q}from"./hooks-DtYdZWXJ.js";import"./dayjs@1.11.10-C8LoRVP6.js";import"./print-js@1.6.0-BdoEj60G.js";import"./vue-hooks-plus@2.2.0_vue@3.4.30-DdMBTcyt.js";import"./lodash@4.17.21-Cw59kuJw.js";import"./js-cookie@3.0.5-Z_8Sd105.js";import"./screenfull@5.2.0-DmMZCkhi.js";import{g as d}from"./utils-BmI4YPvf.js";import"./currency.js@2.0.4-9OAR_aOO.js";const A=(e,r)=>{t.removePendingRequest(e)},y=(e,r)=>{t.removePendingRequest(e)},p={implementResponseInterceptorArray:[A],implementResponseInterceptorErrorArray:[y]},{setImplement:m}=n(),E=()=>{const{implementResponseInterceptorArray:e}=p;m("implementResponseInterceptorArray",e,"ok")},k=()=>{const{implementResponseInterceptorErrorArray:e}=p;m("implementResponseInterceptorErrorArray",e,"error")},P=(e,r)=>{t.removePendingRequest(e),t.addPendingRequest(e)},v=(e,r)=>{t.removePendingRequest(e)},g=(e,r)=>{if(e){const o=e.headers;r.forEach(s=>{o[s.key]=s.value})}},C=(e,r)=>{const o=d(R.token);return e.url,{key:"X-TOKEN",value:o}},f=(e,r)=>{g(e,[C(e),{key:"Demo-Header-Key",value:"Demo Header Value"}])},c={implementRequestInterceptorArray:[f,P],implementRequestInterceptorErrorArray:[v]},{setImplement:a}=n(),H=()=>{const{implementRequestInterceptorArray:e}=c;a("implementRequestInterceptorArray",e,"ok")},j=()=>{const{implementRequestInterceptorErrorArray:e}=c;a("implementRequestInterceptorErrorArray",e,"error")},i=axios.create(q),{createAxiosInstance:u,beforeFetch:l,fetchError:I}=n();i.interceptors.request.use(e=>(u(e,"requestInstance"),H(),l("requestInstance","implementRequestInterceptorArray","ok"),e),e=>(j(),I("requestError",e,"implementRequestInterceptorErrorArray"),Promise.reject(e)));i.interceptors.response.use(e=>{u(e,"responseInstance"),E(),l("responseInstance","implementResponseInterceptorArray","ok");const{data:r}=e;return Promise.resolve(r)},e=>(k(),I("responseError",e,"implementResponseInterceptorErrorArray"),Promise.reject(e)));export{i as s};
|
BIN
js/instance-COhWfrSq.js.gz
Normal file
BIN
js/instance-COhWfrSq.js.gz
Normal file
Binary file not shown.
1
js/lodash-es@4.17.21-3YkgETI-.js
Normal file
1
js/lodash-es@4.17.21-3YkgETI-.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/lodash-es@4.17.21-3YkgETI-.js.gz
Normal file
BIN
js/lodash-es@4.17.21-3YkgETI-.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/utils-BmI4YPvf.js
Normal file
1
js/utils-BmI4YPvf.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/utils-BmI4YPvf.js.gz
Normal file
BIN
js/utils-BmI4YPvf.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user