mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-26 19:47:00 +08:00
248 lines
66 KiB
JavaScript
248 lines
66 KiB
JavaScript
import{E as x,M as N,e as f,l as g,aa as l,w as b1,n as v1,q as M,r as t1,x as w1,aF as F,a0 as K,bk as U,aN as S1,aP as _1,T as C1,c as L1,d as E,H as n1}from"./@vue-0f114043.js";import{d as k,s as C,c as M1}from"./pinia-1fd00649.js";import{s as T1}from"./pinia-plugin-persistedstate-d93b4f94.js";import{c as z1,u as T}from"./vue-i18n-37f9b77c.js";import{m as $,f as O1,i as R1}from"./lodash-es-c8e56e34.js";import{z as G,d as q,e as P1,a as V1,N as o1,b as x1,c as N1,f as E1,g as k1,h as H1,i as D1,j as A1,k as B1,s as I1,l as j1,m as F1,n as K1,t as U1,o as H,p as $1,q as S,r as R,u as P,v as G1,w as q1,x as W,y as W1,A as Z1,B as V,C as J1,D as l1,E as Q1,F as X1,G as Z,H as Y1}from"./naive-ui-ecfcb6af.js";import{u as i1,a as e2,R as t2,c as n2,b as o2}from"./vue-router-ed35b26a.js";import{u as l2}from"./@vueuse-27b0db77.js";import{s as J}from"./screenfull-578bfdd4.js";import"./vue-demi-71ba0ef2.js";import"./@intlify-bd5dfa46.js";import"./date-fns-7f923de7.js";import"./vueuc-4d05699f.js";import"./evtd-b614532e.js";import"./seemly-dc6f1e91.js";import"./@css-render-ad88a31e.js";import"./vooks-ab318924.js";import"./vdirs-b0483831.js";import"./@juggle-41516555.js";import"./css-render-57962bc1.js";import"./@emotion-8a8e73f6.js";import"./treemate-25c27bff.js";import"./date-fns-tz-230e778e.js";import"./async-validator-dee29e8b.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&a(r)}).observe(document,{childList:!0,subtree:!0});function t(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(o){if(o.ep)return;o.ep=!0;const i=t(o);fetch(o.href,i)}})();if(typeof window<"u"){let e=function(){var n=document.body,t=document.getElementById("__svg__icons__dom__");t||(t=document.createElementNS("http://www.w3.org/2000/svg","svg"),t.style.position="absolute",t.style.width="0",t.style.height="0",t.id="__svg__icons__dom__",t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),t.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-axios"><path fill="currentColor" d="M810.667 648.533V298.667c0-46.934-38.4-85.334-85.334-85.334H640v-128L469.333 256 640 426.667v-128h85.333v349.866C674.133 665.6 640 712.533 640 768c0 72.533 55.467 128 128 128s128-55.467 128-128c0-55.467-34.133-102.4-85.333-119.467zM768 810.667c-25.6 0-42.667-17.067-42.667-42.667S742.4 725.333 768 725.333 810.667 742.4 810.667 768 793.6 810.667 768 810.667zM384 256c0-72.533-55.467-128-128-128s-128 55.467-128 128c0 55.467 34.133 102.4 85.333 119.467v268.8c-51.2 17.066-85.333 64-85.333 119.466 0 72.534 55.467 128 128 128s128-55.466 128-128c0-55.466-34.133-102.4-85.333-119.466v-268.8C349.867 358.4 384 311.467 384 256zM256 810.667c-25.6 0-42.667-17.067-42.667-42.667S230.4 725.333 256 725.333 298.667 742.4 298.667 768 281.6 810.667 256 810.667zm0-512c-25.6 0-42.667-17.067-42.667-42.667S230.4 213.333 256 213.333 298.667 230.4 298.667 256 281.6 298.667 256 298.667z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-dark"><path d="M335.22 240.91c0-57.08 10.68-111.66 30.15-161.87-167.51 64.86-286.3 227.51-286.3 417.92 0 247.42 200.58 448 448 448 190.34 0 352.95-118.71 417.85-286.13-50.16 19.42-104.69 30.08-161.71 30.08-247.41 0-447.99-200.57-447.99-448z" fill="#ffd93d" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-dashboard"><path d="M924.8 385.6c-22.6-53.4-54.9-101.3-96-142.4-41.1-41.1-89-73.4-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2c-53.4 22.6-101.3 54.9-142.4 96-41.1 41.1-73.4 89-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6C184.5 765.5 140 665.6 140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z" fill="currentColor" /><path d="M623.5 421.5c-3.1-3.1-8.2-3.1-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5-21.9 21.9-21.9 57.3 0 79.2 21.9 21.9 57.3 21.9 79.2 0 14.7-14.7 19.5-35.4 14.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2-31.1-31.1c-3.1-3.1-8.2-3.1-11.3 0l-56.6 56.6c-3.1 3.1-3.1 8.2 0 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1c-3.1-3.1-8.2-3.1-11.3 0l-31.1 31.1c-3.1 3.1-3.1 8.2 0 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-doc"><path fill="currentColor" d="M832.1 185.1H609.4l-17.1-62c-9.6-34.6-40.5-58.8-75.3-58.8H196c-43.2 0-78.3 36.4-78.3 81.1V897c0 35.3 28.7 64 64 64H832c35.3 0 64-28.7 64-64V249c.1-35.2-28.6-63.9-63.9-63.9zm-644.4-39.7c0-6.6 4.4-11.1 8.3-11.1h321c3.4 0 6.6 3.1 7.8 7.4l12 43.4H187.7v-39.7zm638.4 745.8H187.7V255.1h638.4v636.1z" /><path fill="currentColor" d="M311.1 415.1a35 35 0 1 0 70 0 35 35 0 1 0-70 0ZM462.3 380.1h257.8v70H462.3zM311.1 582.3a35 35 0 1 0 70 0 35 35 0 1 0-70 0ZM462.3 547.3h257.8v70H462.3zM311.1 749.5a35 35 0 1 0 70 0 35 35 0 1 0-70 0ZM462.3 714.5h257.8v70H462.3z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-draggable"><path fill="currentColor" d="M368 672a64 64 0 1 1 0 128 64 64 0 0 1 0-128zm288 0a64 64 0 1 1 0 128 64 64 0 0 1 0-128zM368 448a64 64 0 1 1 0 128 64 64 0 0 1 0-128zm288 0a64 64 0 1 1 0 128 64 64 0 0 1 0-128zM368 224a64 64 0 1 1 0 128 64 64 0 0 1 0-128zm288 0a64 64 0 1 1 0 128 64 64 0 0 1 0-128z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-echart"><path fill="currentColor" d="M923.008 960h-824Q84 960 73.504 949.504T63.008 924V99.008q0-15.008 10.496-25.504t25.504-10.496 25.504 10.496 10.496 25.504V888h788q15.008 0 25.504 10.496T959.008 924t-10.496 25.504T923.008 960zM384.992 743.008q-19.008 0-30.016-16L197.984 476.992q-8-12.992-4.992-27.488t15.488-22.496 27.008-4.992 22.496 15.008l112 182.016L416 442.048q4-16 19.008-23.008l182.016-88q12.992-6.016 26.016-2.496t20.992 15.488l91.008 148L889.056 89.024q4.992-14.016 18.016-20.992t27.008-2.016 20.992 18.016 2.016 27.008L799.072 588.032q-7.008 22.016-30.016 24.512t-35.008-16.512L619.04 410.016l-136.992 66.016-62.016 240q-6.016 23.008-28.992 26.016-3.008.992-6.016.992z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-error"><path d="M832 160h-96V96h-64v192h64v-64h96c17.92 0 32 14.08 32 32v96H160v-96c0-17.92 14.08-32 32-32h32v-64h-32c-53.12 0-96 42.88-96 96v576c0 53.12 42.88 96 96 96h640c53.12 0 96-42.88 96-96V256c0-53.12-42.88-96-96-96zm0 704H192c-17.92 0-32-14.08-32-32V416h704v416c0 17.92-14.08 32-32 32z" fill="currentColor" /><path d="M352 224h256v-64H352V96h-64v192h64zm223.36 300.8L512 588.16l-63.36-63.36-45.44 45.44 63.36 63.36-63.36 63.36 45.44 45.44L512 679.04l63.36 63.36 45.44-45.44-63.36-63.36 63.36-63.36z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-expanded"><path fill="currentColor" d="M806.4 319.2 512 613.6 221.6 323.2 176 368l290.4 290.4L512 704l45.6-45.6L852 364z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-export_excel"><path d="M281.6 183.115v-77.824c0-26.865 21.805-48.67 48.67-48.67h636.928c26.865 0 48.67 21.805 48.67 48.67 0 183.417.844 680.358.844 863.774a48.67 48.67 0 0 1-48.67 48.67H314.487a48.73 48.73 0 0 1-48.73-48.67V850.342h55.176v63.548a48.61 48.61 0 0 0 48.67 48.73h543.262a48.911 48.911 0 0 0 48.67-48.73c0-169.803-.843-583.62-.843-753.423a48.911 48.911 0 0 0-14.216-34.455 48.911 48.911 0 0 0-34.454-14.215H385.446a48.911 48.911 0 0 0-34.455 14.215 48.911 48.911 0 0 0-14.215 34.455v22.648H281.6z" fill="currentColor" /><path d="m633.916 183.115 2.229.12 2.168.121 2.169.18 2.168.242 2.169.301 2.108.361 2.108.422 2.109.422 2.048.542 2.048.542 2.048.602 1.987.663 1.988.723 1.988.723 1.927.783 1.928.843 1.867.903 1.867.904 1.808.964 1.867 1.024 1.747 1.084 1.746 1.084 1.747 1.145 1.687 1.144 1.686 1.205 1.627 1.265 1.626 1.325 1.566 1.325 1.566 1.386 1.506 1.385 1.446 1.446 1.446 1.445 1.445 1.506 1.325 1.566 1.326 1.566 1.325 1.627 1.265 1.626 1.204 1.687 1.205 1.686 1.145 1.747 1.084 1.747 1.024 1.807 1.024 1.807.964 1.807.963 1.867.844 1.928.843 1.927.783 1.928.783 1.928.663 1.987.662 2.048.603 1.988.542 2.048.542 2.108.421 2.048.422 2.109.362 2.168.3 2.108.242 2.169.18 2.168.12 2.229.121 2.168v487.726l-.12 2.168-.12 2.229-.181 2.168-.241 2.169-.301 2.108-.362 2.108-.422 2.108-.421 2.109-.542 2.048-.542 2.048-.603 2.048-.662 2.048-.663 1.927-.783 1.988-.783 1.927-.843 1.928-.844 1.867-.963 1.868-.964 1.867-1.024 1.807-1.024 1.807-1.084 1.747-1.145 1.747-1.205 1.686-1.204 1.687-1.265 1.626-1.325 1.626-1.326 1.567-1.325 1.505-1.445 1.506-1.446 1.506-1.446 1.446-1.506 1.385-1.566 1.386-1.566 1.325-1.626 1.265-1.627 1.265-1.686 1.265-1.687 1.144-1.747 1.145-1.746 1.084-1.747 1.084-1.867 1.024-1.808.964-1.867.903-1.867.904-1.928.843-1.927.783-1.988.723-1.988.723-1.987.663-2.048.602-2.048.542-2.048.482-2.109.482-2.108.421-2.108.302-2.169.3-2.168.242-2.169.24-2.168.121-2.229.06-2.228.06H141.854l-2.229-.06-2.168-.06-2.229-.12-2.168-.241-2.169-.241-2.108-.301-2.108-.302-2.108-.421-2.109-.482-2.048-.482-2.048-.542-2.048-.602-1.987-.663-1.988-.723-1.988-.723-1.927-.783-1.928-.843-1.867-.904-1.868-.903-1.867-.964-1.807-1.024-1.807-1.084-1.747-1.084-1.747-1.145-1.686-1.144-1.687-1.265-1.626-1.265-1.566-1.265-1.627-1.325-1.506-1.386-1.505-1.385-1.506-1.446-1.446-1.506-1.385-1.506-1.386-1.505-1.325-1.567-1.265-1.626-1.265-1.626-1.265-1.687-1.144-1.686-1.145-1.747-1.084-1.747-1.084-1.807-1.024-1.807-.964-1.867-.903-1.868-.904-1.867-.843-1.928-.783-1.927-.723-1.988-.723-1.927-.663-2.048-.602-2.048-.542-2.048-.482-2.048-.482-2.109-.421-2.108-.302-2.108-.3-2.108-.242-2.169-.24-2.168-.121-2.229-.06-2.168-.06-2.23V269.072l.06-2.229.06-2.168.12-2.229.241-2.168.241-2.169.301-2.108.302-2.168.421-2.109.482-2.048.482-2.108.542-2.048.602-1.988.663-2.048.723-1.987.723-1.928.783-1.928.843-1.927.904-1.928.903-1.867.964-1.807 1.024-1.807 1.084-1.807 1.084-1.747 1.145-1.747 1.144-1.686 1.265-1.687 1.265-1.626 1.265-1.627 1.325-1.566 1.386-1.566 1.385-1.506 1.446-1.445 1.506-1.446 1.505-1.385 1.506-1.386 1.627-1.325 1.566-1.325 1.626-1.265 1.687-1.205 1.686-1.144 1.747-1.145 1.747-1.084 1.807-1.084 1.807-1.024 1.867-.964 1.868-.904 1.867-.903 1.928-.843 1.927-.783 1.988-.723 1.988-.723 1.987-.663 2.048-.602 2.048-.542 2.048-.542 2.109-.422 2.108-.422 2.108-.36 2.108-.302 2.169-.241 2.168-.18 2.229-.121 2.168-.12h494.291zm-491.64 60.236h-1.084l-.723.06h-.663l-.602.06-.663.12-.662.06-.663.121-.602.12-.603.121-.602.12-.602.181-.603.181-.602.18-.602.242-.543.18-.602.241-.542.241-.542.301-.542.241-.603.302-.542.3-.482.302-.542.361-.542.362-.482.3-.482.362-.542.422-.482.361-.482.422-.481.422-.422.421-.482.422-.422.482-.421.422-.422.481-.361.482-.422.482-.422.482-.361.542-.301.482-.362.482-.361.602-.301.482-.301.542-.302.542-.24.543-.241.542-.302.602-.24.602-.181.542-.18.603-.242.602-.18.542-.121.663-.18.602-.121.603-.12.602-.121.663-.06.602-.06.662-.06.663-.061.663-.06.662v484.653l.06.723.06.663.06.662.06.663.06.602.121.603.12.662.121.603.18.602.121.602.181.603.241.602.18.602.181.543.241.602.302.542.24.602.241.542.302.482.3.603.302.482.361.542.362.542.301.482.361.542.422.482.422.482.361.481.422.482.421.422.422.482.482.422.422.421.481.422.482.421.482.362.542.422.482.36.482.302.542.362.542.36.482.302.542.301.603.301.542.241.542.302.542.24.602.241.543.181.602.241.602.18.603.182.602.12.602.18.603.121.602.12.663.121.662.06.663.12h.602l.663.061.723.06H632.41l.663-.06.663-.06h.662l.663-.12.662-.06.603-.121.602-.12.663-.121.602-.181.602-.12.603-.181.542-.18.602-.242.602-.18.543-.241.542-.241.602-.302.542-.24.542-.302.542-.3.543-.302.542-.361.542-.362.482-.301.482-.361.542-.422.482-.362.421-.421.482-.422.482-.421.422-.422.481-.482.422-.422.362-.482.421-.481.422-.482.361-.482.362-.542.361-.482.361-.542.302-.542.3-.482.302-.603.301-.482.301-.542.241-.602.241-.542.241-.602.241-.543.18-.602.182-.602.18-.603.18-.602.121-.602.181-.603.12-.662.06-.603.121-.602.06-.663.06-.662.061-.663V267.686l-.06-.663-.06-.663-.06-.662-.121-.602-.06-.663-.12-.602-.182-.603-.12-.602-.18-.663-.181-.542-.181-.602-.18-.603-.242-.542-.24-.602-.242-.602-.24-.542-.302-.543-.301-.542-.301-.542-.301-.482-.302-.602-.36-.482-.362-.482-.362-.542-.361-.482-.422-.482-.421-.482-.362-.481-.422-.422-.481-.482-.422-.422-.482-.421-.482-.422-.421-.422-.482-.361-.542-.422-.482-.361-.482-.301-.542-.362-.542-.361-.543-.301-.542-.301-.542-.302-.542-.24-.602-.302-.542-.24-.543-.242-.602-.18-.602-.241-.542-.18-.603-.182-.602-.18-.602-.12-.663-.121-.602-.12-.603-.121-.662-.06-.663-.12-.662-.061h-.663l-.663-.06H142.276z" fill="currentColor" /><path d="m480.738 717.463-90.112-134.566-.422-.843a46.743 46.743 0 0 1-5.903 8.131l-91.076 127.278H196.85l149.685-194.44L212.69 331.776h93.063l80.535 129.988c1.385 1.626 2.65 3.313 3.855 5l1.867-3.856c7.77-11.083 60.115-96.617 77.342-124.687l3.855-6.445h95.172L434.598 525.613l142.034 191.85h-95.894zM763.964 334.185c0-18.853 15.3-34.153 34.154-34.153h89.75a34.153 34.153 0 0 1 0 68.307h-89.75a34.153 34.153 0 0 1-34.154-34.154zm0 174.803c0-18.853 15.3-34.153 34.154-34.153h89.75a34.153 34.153 0 0 1 0 68.307h-89.75a34.153 34.153 0 0 1-34.154-34.154zm11.867 184.5c0-18.853 15.3-34.152 34.153-34.152h89.75a34.153 34.153 0 0 1 0 68.306h-89.75a34.153 34.153 0 0 1-34.153-34.153z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-fullscreen"><path fill="currentColor" d="M256 170.667a128 128 0 0 0-128 128V512a42.667 42.667 0 1 0 85.333 0V298.667A42.667 42.667 0 0 1 256 256h213.333a42.667 42.667 0 1 0 0-85.333H256zm512 682.666a128 128 0 0 0 128-128V554.667a42.667 42.667 0 1 0-85.333 0v170.666A42.667 42.667 0 0 1 768 768H576a42.667 42.667 0 1 0 0 85.333h192z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-github"><path d="M512 0C229.284 0 .142 234.943.142 524.868c0 231.829 146.647 428.553 350.068 497.952 25.593 4.82 34.977-11.389 34.977-25.294 0-12.455-.469-45.47-.725-89.277-142.382 31.735-172.453-70.38-172.453-70.38-23.247-60.57-56.817-76.694-56.817-76.694-46.493-32.588 3.54-31.948 3.54-31.948 51.357 3.71 78.358 54.086 78.358 54.086 45.683 80.191 119.817 57.072 148.993 43.594 4.65-33.911 17.915-57.03 32.503-70.168-113.675-13.223-233.151-58.224-233.151-259.341 0-57.285 19.92-104.163 52.678-140.846-5.246-13.266-22.82-66.627 4.991-138.884 0 0 42.996-14.076 140.76 53.787 40.864-11.644 84.628-17.445 128.179-17.659 43.465.214 87.271 6.015 128.135 17.66 97.68-67.907 140.59-53.788 140.59-53.788 27.939 72.257 10.408 125.618 5.119 138.884 32.844 36.683 52.593 83.56 52.593 140.846 0 201.587-119.647 245.99-233.663 258.957 18.341 16.21 34.72 48.2 34.72 97.21 0 70.168-.639 126.728-.639 143.96 0 14.034 9.214 30.371 35.19 25.21 203.25-69.528 349.77-266.124 349.77-497.867C1023.858 234.943 794.674 0 512 0" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-language"><path d="M918.955 880.896c-.619-1.323-154.688-334.379-177.195-382.421-135.403-288.918-174.976-369.643-196.821-391.958a31.83 31.83 0 0 0-13.014-12.138 32 32 0 0 0-42.944 14.293L109.91 865.707a32 32 0 0 0 57.216 28.672l99.35-198.422H763.2a49853.44 49853.44 0 0 1 97.536 211.606 32.021 32.021 0 0 0 58.219-26.667zm-397.952-693.27c39.85 76.651 126.698 260.118 212.458 444.331H298.517l222.486-444.33z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-left_arrow"><path d="m473.6 490.667 315.733-320 64 59.733-260.266 260.267 260.266 260.266-64 59.734-315.733-320zm-302.933 0 320-320L550.4 230.4 290.133 490.667 550.4 750.933l-59.733 59.734-320-320z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-light"><path d="M300 511.4a212 212 0 1 0 424 0 212 212 0 1 0-424 0Z" fill="#ffd93d" /><path d="M313.7 511.4a198.3 198.3 0 1 0 396.6 0 198.3 198.3 0 1 0-396.6 0ZM511.7 130.2c12.9-.2 24.2 11.3 24.5 24.3l.4 79.6c.2 12.9-11.3 24.2-24.3 24.5-12.9.2-24.2-11.3-24.5-24.3l-.4-79.6c.9-14.9 11.4-24.3 24.3-24.5zM901.5 510c-.2 12.9-9.6 23.4-24.5 24.3l-79.6-.4c-12.9-.2-24.5-11.5-24.3-24.5.2-12.9 11.5-24.5 24.5-24.3l79.6.4c12.9.3 24.5 11.6 24.3 24.5zm-650.6 0c-.2 12.9-9.6 23.4-24.5 24.3l-79.6-.4c-12.9-.2-24.5-11.5-24.3-24.5.2-12.9 11.5-24.5 24.5-24.3l79.6.4c12.9.3 24.5 11.6 24.3 24.5zm261.4 383.8c-12.9.2-24.2-11.3-24.5-24.3l-.4-79.6c-.2-12.9 11.3-24.2 24.3-24.5 12.9-.2 24.2 11.3 24.5 24.3l.4 79.6c-.9 14.9-11.4 24.3-24.3 24.5zM781.2 242.3c9.3 9 9.1 25.1.1 34.5l-56 56.5c-9 9.3-25.1 9.1-34.5.1-9.3-9-9.1-25.1-.1-34.5l56-56.5c11.1-9.9 25.1-9.1 34.5-.1zm7 544.2c-9.3 9-23.3 9.8-34.5-.1l-56-56.5c-9-9.3-9.2-25.5.1-34.5 9.3-9 25.5-9.2 34.5.1l56 56.5c9 9.3 9.2 25.5-.1 34.5zM328.1 326.4c-9.3 9-23.3 9.8-34.5-.1l-56-56.5c-9-9.3-9.2-25.5.1-34.5 9.3-9 25.5-9.2 34.5.1l56 56.5c9 9.4 9.3 25.5-.1 34.5zm-86.5 456.2c-9.3-9-9.1-25.1-.1-34.5l56-56.5c9-9.3 25.1-9.1 34.5-.1 9.3 9 9.1 25.1.1 34.5l-56 56.5c-11.1 9.9-25.2 9.1-34.5.1z" fill="#ffd93d" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-lock"><path d="M512 768c-17.664 0-32-14.304-32-32v-96c0-17.696 14.336-32 32-32s32 14.304 32 32v96c0 17.696-14.336 32-32 32z" fill="currentColor" /><path d="M832 960H192c-52.928 0-96-43.072-96-96V512c0-52.928 43.072-96 96-96h640c52.928 0 96 43.072 96 96v352c0 52.928-43.072 96-96 96zM192 480c-17.632 0-32 14.368-32 32v352c0 17.664 14.368 32 32 32h640c17.664 0 32-14.336 32-32V512c0-17.632-14.336-32-32-32H192z" fill="currentColor" /><path d="M736 480c-17.696 0-32-14.336-32-32V318.016C704 209.248 601.76 128 510.336 128 416.768 128 320 198.912 320 317.568V448c0 17.664-14.336 32-32 32s-32-14.336-32-32V317.568C256 158.848 385.312 64 510.336 64 632.224 64 768 168.32 768 318.016V448c0 17.664-14.304 32-32 32z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-print"><path d="M24.381 265.886h877.714c40.334 0 73.143 33.017 73.143 73.6v439.961l24.381-24.455H853.333l24.381 24.455V657.171H146.286v122.276l24.38-24.455h-48.71c-40.365 0-73.194-33.02-73.194-73.6V241.431L24.38 265.886Zm0-48.91H0v464.416c0 67.562 54.63 122.51 121.956 122.51h73.092V681.626l-24.381 24.455h682.666l-24.38-24.455v122.276H1024V339.486c0-67.56-54.605-122.51-121.905-122.51H24.38Z" fill="currentColor" /><path d="m755.81 999.545 24.38-24.456H243.81l24.38 24.456v-223.22c0-13.506-10.915-24.455-24.38-24.455-13.466 0-24.381 10.949-24.381 24.455v223.22c0 13.506 10.915 24.455 24.38 24.455H780.19c13.466 0 24.381-10.949 24.381-24.455v-223.22c0-13.506-10.915-24.455-24.38-24.455-13.466 0-24.381 10.949-24.381 24.455v223.22ZM207.238 437.073H524.19v-48.91H207.238v48.91ZM219.429 241.43V45.79l-24.381 24.455h633.904l-24.38-24.455V241.43h48.761V21.333H170.667V241.431h48.762Z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1147 1024" id="icon-ray"><path d="M472.343 968.686c-73.829 0-130.172-12-172.114-36.572-38.743-22.743-84.915-68.685-84.915-158.057-2.971-141.943 109.715-259.543 251.657-262.514C608.914 508.57 726.514 621.257 729.486 763.2c.114 3.657.114 7.2 0 10.857 0 89.372-46.172 135.2-84.915 158.057-41.942 24.686-98.285 36.572-172.228 36.572z" fill="#25467A" /><path d="M766.743 968.686c-73.943 0-130.172-12-172.229-36.572-38.743-22.743-84.914-68.685-84.914-158.057 2.857-141.943 120.229-254.743 262.286-252 137.943 2.743 249.143 113.943 252 252 0 89.372-46.172 135.2-84.915 158.057-42.057 24.686-98.4 36.572-172.228 36.572z" fill="#25467A" /><path d="M512 940.571c-153.257 0-268.457-24-352.457-73.257C108.57 837.371 69.029 797.6 42.4 749.257 14.286 698.286 0 637.03 0 567.086c.114-282.857 229.6-512 512.457-511.886 205.6.114 391.2 123.2 471.314 312.571 26.743 63.086 40.343 130.858 40.229 199.315 0 69.828-14.286 131.2-42.4 182.171-26.743 48.343-66.171 88.114-117.143 118.057-83.886 49.372-199.2 73.257-352.457 73.257z" fill="#25467A" /><path d="M48 567.086c0-256.229 207.771-464 464-464s464 207.771 464 464S768.229 892.57 512 892.57 48 823.314 48 567.086z" fill="#FFF3E0" /><path d="M472.343 943.543c-69.257 0-121.372-10.857-159.429-33.143-48.114-28.229-72.457-74.171-72.457-136.343 0-127.886 104-232 232-232s232 104 232 232c0 62.172-24.343 108.114-72.571 136.343-38.057 22.4-90.172 33.143-159.543 33.143z" fill="#25467A" /><path d="M263.314 774.057c0-115.428 93.486-209.143 209.029-209.143 115.428 0 209.143 93.486 209.143 209.029v.114c0 115.429-93.6 146.629-209.143 146.629S263.314 889.6 263.314 774.057z" fill="#FFF3E0" /><path d="M472.343 652.8c-73.372 0-132.8 51.771-132.8 115.657 0 18.514 5.028 33.143 13.943 44.572a230.14 230.14 0 0 0-2.743 33.142c0 32.8 9.943 38.972 22.286 38.972s22.285-6.286 22.285-38.972c0-2.057 0-4.228-.114-6.285 21.714 7.085 48.457 9.714 77.143 9.714 73.371 0 132.8-17.257 132.8-81.143S545.714 652.8 472.343 652.8z" fill="#388E3C" /><path d="M766.743 943.543c-69.257 0-121.372-10.857-159.429-33.143-48.114-28.229-72.571-74.171-72.571-136.343 0-127.886 104.114-232 232-232s232 104 232 232c0 62.172-24.343 108.114-72.572 136.343-38.057 22.4-90.171 33.143-159.428 33.143z" fill="#25467A" /><path d="M557.6 774.057c0-115.428 93.6-209.143 209.143-209.143s209.143 93.6 209.143 209.143c0 115.429-93.6 146.629-209.143 146.629S557.6 889.6 557.6 774.057z" fill="#FFF3E0" /><path d="M766.743 652.8c-73.372 0-132.8 51.771-132.8 115.657 0 18.514 5.028 33.143 13.943 44.572a230.14 230.14 0 0 0-2.743 33.142c0 32.8 9.943 38.972 22.286 38.972s22.285-6.286 22.285-38.972c0-2.057 0-4.228-.114-6.285 21.714 7.085 48.343 9.714 77.143 9.714 73.371 0 132.8-17.257 132.8-81.143S840 652.8 766.743 652.8z" fill="#FBC02D" /><path d="M401.6 486.857c-38.171 0-69.143-30.971-69.143-69.257a13.803 13.803 0 0 1 13.829-13.829c7.314 0 13.485 5.715 13.828 13.029v.8c-.343 22.971 17.943 41.829 40.8 42.171s41.829-17.942 42.172-40.8V417.6c-.229-7.657 5.828-14.057 13.371-14.286s14.057 5.829 14.286 13.372v.8c.114 38.4-30.857 69.371-69.143 69.371zM221.714 306.971c-.343 22.972 17.943 41.829 40.8 42.172s41.829-17.943 42.172-40.8v-1.372c.343-22.971-17.943-41.828-40.8-42.171-22.972-.343-41.829 17.943-42.172 40.8v1.371zm276.8 0c-.343 22.972 17.829 41.829 40.8 42.286 22.972.343 41.829-17.828 42.286-40.8v-1.486c.343-22.971-17.943-41.828-40.8-42.171-22.971-.343-41.829 17.943-42.171 40.8-.115.457-.115.914-.115 1.371z" fill="#25467A" /><path d="M207.886 376.229H152.57c-15.314-.343-27.885 11.771-28.228 27.085-.343 15.315 11.771 27.886 27.086 28.229H208c15.314.343 27.886-11.772 28.229-27.086.342-15.314-11.772-27.886-27.086-28.228h-1.257zm442.857 0h-55.314c-15.315 0-27.658 12.342-27.658 27.657s12.343 27.657 27.658 27.657h55.314c15.314.343 27.886-11.772 28.228-27.086.343-15.314-11.771-27.886-27.085-28.228h-1.143z" fill="#F8BBD0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-reload"><path d="m909.1 209.3-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5c-4.1-1.4-8.6.7-10.1 4.8-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4-31.6 31.6-68.4 56.4-109.3 73.8-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27-40.9-17.3-77.7-42.1-109.3-73.8-31.6-31.6-56.4-68.4-73.7-109.4-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27 40.9 17.3 77.7 42.1 109.3 73.8 9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47c-5.3 4.1-3.5 12.5 3 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-rely"><path d="M432.542 908.452c-13.635 0-27.872-3.208-42.315-9.532l-196.06-85.83c-51.598-22.588-92.018-79.653-92.018-129.912V424.347c0-42.562 28.877-72.287 70.224-72.287 13.637 0 27.874 3.207 42.318 9.533l196.06 85.838c51.597 22.59 92.015 79.65 92.015 129.903v258.831c0 42.561-28.876 72.287-70.224 72.287zM172.373 403.226c-17.083 0-19.059 12.054-19.059 21.12v258.832c0 29.924 28.678 68.729 61.373 83.04l196.064 85.833c7.823 3.426 15.357 5.236 21.792 5.236 17.083 0 19.059-12.054 19.059-21.123v-258.83c0-29.92-28.677-68.72-61.37-83.033l-196.063-85.84c-7.824-3.425-15.36-5.235-21.796-5.235zM620.676 908.452c-38.882 0-66.036-29.727-66.036-72.288v-258.83c0-49.875 36.877-106.76 83.953-129.503l177.675-85.84c13.632-6.589 27.15-9.932 40.173-9.932 38.884 0 66.04 29.725 66.04 72.287v258.83c0 49.877-36.877 106.765-83.955 129.512L660.85 898.521c-13.634 6.588-27.153 9.931-40.174 9.931zM856.44 403.226c-5.175 0-11.367 1.672-17.91 4.835L660.85 493.9c-29.323 14.167-55.045 53.153-55.045 83.433v258.831c0 21.122 11.193 21.122 14.87 21.123 5.175 0 11.369-1.672 17.915-4.835l177.678-85.834c29.324-14.169 55.048-53.16 55.048-83.441V424.347c0-21.121-11.196-21.121-14.875-21.121zM520.643 416.47h-.009c-33.104 0-67.657-5.96-94.799-16.351l-208.1-79.613c-15.586-5.958-28.178-13.106-37.417-21.242-15.425-13.582-18.789-27.504-18.894-36.789-.131-11.577 4.572-33.009 37.553-46.483l224.343-91.59c22.662-9.253 49.825-11.195 68.622-11.195 33.093 0 67.638 5.955 94.776 16.338l208.11 79.623c15.586 5.958 28.18 13.106 37.42 21.243 15.427 13.583 18.79 27.505 18.896 36.792.13 11.576-4.574 33.008-37.556 46.48l-224.345 91.59c-22.646 9.253-49.805 11.197-68.6 11.197zM217.707 263.615c3.817 2.592 9.694 5.81 18.304 9.101l208.112 79.618c21.533 8.242 49.42 12.97 76.513 12.971h.006c19.795 0 37.745-2.696 49.253-7.4l224.35-91.592c.21-.085.413-.17.613-.254-3.817-2.592-9.696-5.81-18.306-9.102l-208.118-79.625c-21.527-8.237-49.407-12.96-76.493-12.96-19.803 0-37.765 2.696-49.283 7.398l-224.337 91.59c-.21.086-.415.171-.614.255z" fill="currentColor" /><path d="M679.315 563.804v184.818l67.419-71.506c18.933-20.08 42.513-4.066 67.984 2.351V495.834l-135.403 67.97z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-resize_h"><path fill="currentColor" d="M844.288 548.827H179.712l68.718 68.7a36.571 36.571 0 0 1-51.73 51.73L67.42 539.96a37.23 37.23 0 0 1-.915-.951 36.48 36.48 0 0 1-11.648-26.752c0-9.015 3.255-17.28 8.668-23.643a37.998 37.998 0 0 1 3.876-4.572L196.7 354.761a36.571 36.571 0 1 1 51.73 51.712L179.2 475.685h665.563l-69.211-69.212a36.571 36.571 0 1 1 51.73-51.73l129.28 129.298a35.077 35.077 0 0 1 3.895 4.572c5.413 6.363 8.668 14.628 8.668 23.643 0 10.57-4.48 20.078-11.648 26.752a37.23 37.23 0 0 1-.915.95l-129.28 129.28a36.571 36.571 0 1 1-51.73-51.711l68.718-68.7z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-right_arrow"><path d="m550.4 490.667-320-320-59.733 59.733 260.266 260.267-260.266 260.266 59.733 59.734 320-320zm298.667 0-315.734-320-64 59.733L729.6 490.667 469.333 750.933l59.734 59.734 320-320z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-scroll_reveal"><path fill="currentColor" d="M523.636 197.818c-24.087 0-34.909 19.55-34.909 43.52v145.687c0 23.971 10.822 43.52 34.91 43.52s34.908-19.549 34.908-43.52V241.338c0-23.97-10.821-43.52-34.909-43.52zM552.17 0H471.83A309.178 309.178 0 0 0 162.91 308.83v406.34A309.178 309.178 0 0 0 471.831 1024h80.338A309.178 309.178 0 0 0 861.09 715.17V308.83A309.178 309.178 0 0 0 552.169 0zm239.104 715.17a239.08 239.08 0 0 1-239.104 239.012H471.83A239.08 239.08 0 0 1 232.727 715.17V308.829A239.08 239.08 0 0 1 471.831 69.82h80.338a239.08 239.08 0 0 1 239.104 239.01v406.342z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-setting"><path d="m924.8 625.7-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56c10.1-8.6 13.8-22.6 9.3-35.2l-.9-2.6c-18.1-50.5-44.9-96.9-79.7-137.9l-1.8-2.1c-8.6-10.1-22.5-13.9-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85c-2.4-13.1-12.7-23.3-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5c-13.1 2.4-23.4 12.6-25.8 25.7l-15.8 85.4c-35.9 13.6-69.2 32.9-99 57.4l-81.9-29.1c-12.5-4.4-26.5-.7-35.1 9.5l-1.8 2.1c-34.8 41.1-61.6 87.5-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5c-10.1 8.6-13.8 22.6-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c8.6 10.1 22.5 13.9 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4c2.4 13.1 12.7 23.3 25.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1 26.7 0 53.5-2.4 79.5-7.1l2.7-.5c13.1-2.4 23.4-12.6 25.8-25.7l15.7-85c36.2-13.6 69.7-32.9 99.7-57.6l81.3 28.9c12.5 4.4 26.5.7 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9c-11.3 26.1-25.6 50.7-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97c-28.1 3.2-56.8 3.2-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9z" fill="currentColor" /><path d="M512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2C570 602.3 541.9 614 512 614c-29.9 0-58-11.7-79.2-32.8C411.7 560 400 531.9 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8C612.3 444 624 472.1 624 502c0 29.9-11.7 58-32.8 79.2z" fill="currentColor" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-table"><path fill="currentColor" d="M896.022 255.957H607.898c-17.718 0-31.995-14.277-31.995-31.995 0-17.717 14.277-31.994 31.995-31.994h287.951c17.718 0 31.995 14.277 31.995 31.994.172 17.718-14.105 31.995-31.822 31.995zM896.022 415.93H607.898c-17.718 0-31.995-14.277-31.995-31.995s14.277-31.994 31.995-31.994h287.951c17.718 0 31.995 14.277 31.995 31.994s-14.105 31.995-31.822 31.995zM896.022 672.06H607.898c-17.718 0-31.995-14.278-31.995-31.995s14.277-31.995 31.995-31.995h287.951c17.718 0 31.995 14.277 31.995 31.995s-14.105 31.994-31.822 31.994zM896.022 832.032H607.898c-17.718 0-31.995-14.277-31.995-31.994s14.277-31.995 31.995-31.995h287.951c17.718 0 31.995 14.277 31.995 31.995s-14.105 31.994-31.822 31.994zM383.935 479.92H191.968c-52.98 0-95.984-43.004-95.984-95.985V191.968c0-52.98 43.003-95.984 95.984-95.984h191.967c52.98 0 95.984 43.003 95.984 95.984v191.967c0 52.98-43.003 95.984-95.984 95.984zM191.968 159.972c-17.546 0-31.995 14.45-31.995 31.995v191.967c0 17.546 14.45 31.995 31.995 31.995h191.967c17.546 0 31.995-14.45 31.995-31.995V191.968c0-17.546-14.45-31.995-31.995-31.995H191.968zM383.935 928.016H191.968c-52.98 0-95.984-43.003-95.984-95.984v-192.14c0-52.98 43.003-95.983 95.984-95.983h191.967c52.98 0 95.984 43.003 95.984 95.983V831.86c0 52.98-43.003 96.156-95.984 96.156zM191.968 607.898c-17.546 0-31.995 14.277-31.995 31.994V831.86c0 17.718 14.45 31.995 31.995 31.995h191.967c17.546 0 31.995-14.277 31.995-31.995V639.892c0-17.717-14.45-31.994-31.995-31.994H191.968z" /></symbol>',n.insertBefore(t,n.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const i2=`{
|
|
"GlobalMenuOptions": {
|
|
"Dashboard": "Home",
|
|
"Rely": "Rely",
|
|
"RelyAbout": "Rely About",
|
|
"Error": "Error Page",
|
|
"Echart": "Chart",
|
|
"scrollReveal": "Scroll Reveal",
|
|
"Axios": "Axios Request",
|
|
"Table": "Table",
|
|
"MultiMenu": "MultiMenu",
|
|
"Doc": "Doc",
|
|
"DocLocal": "Doc (China)"
|
|
},
|
|
"LayoutHeaderTooltipOptions": {
|
|
"Reload": "Reload Current Page",
|
|
"Lock": "Lock",
|
|
"Setting": "Setting",
|
|
"Github": "Github",
|
|
"FullScreen": "Full Screen",
|
|
"CancelFullScreen": "Cancel Full Screen"
|
|
},
|
|
"LayoutHeaderSettingOptions": {
|
|
"Title": "Configuration",
|
|
"ThemeOptions": {
|
|
"Title": "Theme",
|
|
"Dark": "Dark",
|
|
"Light": "Light",
|
|
"PrimaryColorConfig": "Primary Color"
|
|
}
|
|
},
|
|
"LoginModule": {
|
|
"Register": "Register",
|
|
"Signin": "Signin",
|
|
"NamePlaceholder": "please enter user name",
|
|
"PasswordPlaceholder": "please enter password",
|
|
"Login": "Login",
|
|
"Name": "User Name",
|
|
"Password": "User Password"
|
|
}
|
|
}
|
|
`,a2=`{
|
|
"GlobalMenuOptions": {
|
|
"Dashboard": "Home",
|
|
"Rely": "Rely",
|
|
"RelyAbout": "Rely About",
|
|
"Error": "Error Page",
|
|
"Echart": "Chart",
|
|
"scrollReveal": "Scroll Reveal",
|
|
"Axios": "Axios Request",
|
|
"Table": "Table",
|
|
"MultiMenu": "MultiMenu",
|
|
"Doc": "Doc",
|
|
"DocLocal": "Doc (China)"
|
|
},
|
|
"LayoutHeaderTooltipOptions": {
|
|
"Reload": "Reload Current Page",
|
|
"Lock": "Lock",
|
|
"Setting": "Setting",
|
|
"Github": "Github",
|
|
"FullScreen": "Full Screen",
|
|
"CancelFullScreen": "Cancel Full Screen"
|
|
},
|
|
"LayoutHeaderSettingOptions": {
|
|
"Title": "Configuration",
|
|
"ThemeOptions": {
|
|
"Title": "Theme",
|
|
"Dark": "Dark",
|
|
"Light": "Light",
|
|
"PrimaryColorConfig": "Primary Color"
|
|
}
|
|
},
|
|
"LoginModule": {
|
|
"Register": "Register",
|
|
"Signin": "Signin",
|
|
"NamePlaceholder": "please enter user name",
|
|
"PasswordPlaceholder": "please enter password",
|
|
"Login": "Login",
|
|
"Name": "User Name",
|
|
"Password": "User Password"
|
|
}
|
|
}
|
|
`,s2=`{
|
|
"GlobalMenuOptions": {
|
|
"Dashboard": "首页",
|
|
"Rely": "依赖项",
|
|
"RelyAbout": "关于",
|
|
"Error": "错误页",
|
|
"Echart": "可视化",
|
|
"scrollReveal": "滚动动画",
|
|
"Axios": "请求",
|
|
"Table": "表格",
|
|
"MultiMenu": "多级菜单",
|
|
"Doc": "文档",
|
|
"DocLocal": "文档 (国内地址)"
|
|
},
|
|
"LayoutHeaderTooltipOptions": {
|
|
"Reload": "刷新当前页面",
|
|
"Lock": "锁屏",
|
|
"Setting": "设置",
|
|
"Github": "Github",
|
|
"FullScreen": "全屏",
|
|
"CancelFullScreen": "退出全屏"
|
|
},
|
|
"LayoutHeaderSettingOptions": {
|
|
"Title": "项目配置",
|
|
"ThemeOptions": {
|
|
"Title": "主题",
|
|
"Dark": "暗色",
|
|
"Light": "明亮",
|
|
"PrimaryColorConfig": "主题色"
|
|
}
|
|
},
|
|
"LoginModule": {
|
|
"Register": "注册",
|
|
"Signin": "登陆",
|
|
"NamePlaceholder": "请输入用户名",
|
|
"PasswordPlaceholder": "请输入密码",
|
|
"Login": "登 陆",
|
|
"Name": "用户名",
|
|
"Password": "密码"
|
|
}
|
|
}
|
|
`,r2=`{
|
|
"GlobalMenuOptions": {
|
|
"Dashboard": "Home",
|
|
"Rely": "Rely",
|
|
"RelyAbout": "Rely About",
|
|
"Error": "Error Page",
|
|
"Echart": "Chart",
|
|
"scrollReveal": "Scroll Reveal",
|
|
"Axios": "Axios Request",
|
|
"Table": "Table",
|
|
"MultiMenu": "MultiMenu",
|
|
"Doc": "Doc",
|
|
"DocLocal": "Doc (China)"
|
|
},
|
|
"LayoutHeaderTooltipOptions": {
|
|
"Reload": "Reload Current Page",
|
|
"Lock": "Lock",
|
|
"Setting": "Setting",
|
|
"Github": "Github",
|
|
"FullScreen": "Full Screen",
|
|
"CancelFullScreen": "Cancel Full Screen"
|
|
},
|
|
"LayoutHeaderSettingOptions": {
|
|
"Title": "Configuration",
|
|
"ThemeOptions": {
|
|
"Title": "Theme",
|
|
"Dark": "Dark",
|
|
"Light": "Light",
|
|
"PrimaryColorConfig": "Primary Color"
|
|
}
|
|
},
|
|
"LoginModule": {
|
|
"Register": "Register",
|
|
"Signin": "Signin",
|
|
"NamePlaceholder": "please enter user name",
|
|
"PasswordPlaceholder": "please enter password",
|
|
"Login": "Login",
|
|
"Name": "User Name",
|
|
"Password": "User Password"
|
|
}
|
|
}
|
|
`,c2=`{
|
|
"GlobalMenuOptions": {
|
|
"Dashboard": "首页",
|
|
"Rely": "依赖项",
|
|
"RelyAbout": "关于",
|
|
"Error": "错误页",
|
|
"Echart": "可视化",
|
|
"scrollReveal": "滚动动画",
|
|
"Axios": "请求",
|
|
"Table": "表格",
|
|
"MultiMenu": "多级菜单",
|
|
"Doc": "文档",
|
|
"DocLocal": "文档 (国内地址)"
|
|
},
|
|
"LayoutHeaderTooltipOptions": {
|
|
"Reload": "刷新当前页面",
|
|
"Lock": "锁屏",
|
|
"Setting": "设置",
|
|
"Github": "Github",
|
|
"FullScreen": "全屏",
|
|
"CancelFullScreen": "退出全屏"
|
|
},
|
|
"LayoutHeaderSettingOptions": {
|
|
"Title": "项目配置",
|
|
"ThemeOptions": {
|
|
"Title": "主题",
|
|
"Dark": "暗色",
|
|
"Light": "明亮",
|
|
"PrimaryColorConfig": "主题色"
|
|
}
|
|
},
|
|
"LoginModule": {
|
|
"Register": "注册",
|
|
"Signin": "登陆",
|
|
"NamePlaceholder": "请输入用户名",
|
|
"PasswordPlaceholder": "请输入密码",
|
|
"Login": "登 陆",
|
|
"Name": "用户名",
|
|
"Password": "密码"
|
|
}
|
|
}
|
|
`,u2=`{
|
|
"GlobalMenuOptions": {
|
|
"Dashboard": "首页",
|
|
"Rely": "依赖项",
|
|
"RelyAbout": "关于",
|
|
"Error": "错误页",
|
|
"Echart": "可视化",
|
|
"scrollReveal": "滚动动画",
|
|
"Axios": "请求",
|
|
"Table": "表格",
|
|
"MultiMenu": "多级菜单",
|
|
"Doc": "文档",
|
|
"DocLocal": "文档 (国内地址)"
|
|
},
|
|
"LayoutHeaderTooltipOptions": {
|
|
"Reload": "刷新当前页面",
|
|
"Lock": "锁屏",
|
|
"Setting": "设置",
|
|
"Github": "Github",
|
|
"FullScreen": "全屏",
|
|
"CancelFullScreen": "退出全屏"
|
|
},
|
|
"LayoutHeaderSettingOptions": {
|
|
"Title": "项目配置",
|
|
"ThemeOptions": {
|
|
"Title": "主题",
|
|
"Dark": "暗色",
|
|
"Light": "明亮",
|
|
"PrimaryColorConfig": "主题色"
|
|
}
|
|
},
|
|
"LoginModule": {
|
|
"Register": "注册",
|
|
"Signin": "登陆",
|
|
"NamePlaceholder": "请输入用户名",
|
|
"PasswordPlaceholder": "请输入密码",
|
|
"Login": "登 陆",
|
|
"Name": "用户名",
|
|
"Password": "密码"
|
|
}
|
|
}
|
|
`,d2=[{key:"zh-CN",label:"中文(简体)"},{key:"en-US",label:"English(US)"}],a1=e=>{switch(e){case"zh-CN":return{local:G,dateLocal:q};case"en-US":return{local:P1,dateLocal:V1};default:return{local:G,dateLocal:q}}},D=(e,n,t="sessionStorage")=>{const a=JSON.stringify(n);t==="localStorage"?window.localStorage.setItem(e,a):window.sessionStorage.setItem(e,a)},_=(e,n="sessionStorage")=>{const t=n==="localStorage"?window.localStorage.getItem(e):window.sessionStorage.getItem(e);return Object.is(t,null)?"no":JSON.parse(t)},p2=(e,n="sessionStorage")=>{switch(e){case"all":window.window.localStorage.clear(),window.sessionStorage.clear();break;case"all-sessionStorage":window.sessionStorage.clear();break;case"all-localStorage":window.localStorage.clear();break;default:n==="localStorage"?window.localStorage.removeItem(e):window.sessionStorage.removeItem(e)}},h2=()=>{const e={},n=/([^\\/]+)\.json$/i;try{const t=Object.assign({"../../locales/en-US.json":i2,"../../locales/system-one/en-US.json":a2,"../../locales/system-one/zh-CN.json":s2,"../../locales/system-two/en-US.json":r2,"../../locales/system-two/zh-CN.json":c2,"../../locales/zh-CN.json":u2});Object.keys(t).forEach(o=>{var u;const i=(u=o.match(n))==null?void 0:u[1],r=JSON.parse(t[o]);e[i]=$({},e[i]),O1(r,(m,c)=>{e[i][c]=$(e[i][c],m)})})}catch(t){console.error(t)}return e},s1=()=>{const e=_("localeLanguage","localStorage");return e!=="no"?e:"zh-CN"},r1=e=>{const n=s1(),t=z1({locale:n,allowComposition:!0,messages:h2()});e.use(t)},m2=()=>{const e=s1();return a1(e)},z=k("setting",()=>{const e=x({drawerPlacement:"right",primaryColorOverride:{common:{primaryColor:"#2d8cf0"}},themeValue:!1,reloadRouteSwitch:!0,menuTagSwitch:!0,naiveLocal:m2(),spinSwitch:!1,breadcrumbSwitch:!0}),{locale:n}=T(),t=i=>{n.value=i,e.naiveLocal=a1(i),D("localeLanguage",i,"localStorage")},a=i=>{e.primaryColorOverride.common.primaryColor=i},o=(i,r)=>{Object.hasOwn(e,r)&&typeof e[r]=="boolean"&&(e[r]=i)};return{...N(e),updateLocale:t,changePrimaryColor:a,changeSwitcher:o}},{persist:{key:"piniaSettingStore"}});const v=f({name:"RayIcon",props:{color:{type:String,default:"currentColor"},prefix:{type:String,default:"icon"},name:{type:String,required:!0},size:{type:[Number,String],default:14},width:{type:[Number,String],default:0},height:{type:[Number,String],default:0},customClassName:{type:String,default:""},depth:{type:Number,default:1}},setup(e){const n=g(()=>e.color),t=g(()=>`#${e.prefix}-${e.name}`),a=g(()=>({"--ray-icon-width":e.width?e.width+"px":e.size+"px","--ray-icon-height":e.height?e.height+"px":e.size+"px","--ray-icon-depth":e.depth}));return{modelColor:n,symbolId:t,cssVars:a}},render(){return l("span",{class:["ray-icon",this.customClassName],style:[this.cssVars]},[l("svg",{rayIconAttribute:"ray-icon",ariaHidden:!0},[l("use",{"xlink:href":this.symbolId,fill:this.modelColor},null)])])}}),g2=["login","error-page","doc"],y2=["admin"],f2=e=>{const{role:n}=C(u1()),{meta:t,name:a}=e,o=(t==null?void 0:t.hidden)===void 0||(t==null?void 0:t.hidden)===!1?!1:t==null?void 0:t.hidden;return y2.includes(n.value)||g2.includes(a)?!o:t!=null&&t.role?t.role.includes(n.value)&&!o:!o},b2=(e,n,t)=>e[n]===t||e.key===t,c1=(e,n,t)=>{const a=[];if(b2(e,n,t))return a.push(e),a;if(e.children&&e.children.length>0)for(const o of e.children){const i=c1(o,n,t);i.length>0&&a.push(e,...i)}return a},Q=(e,n,t)=>{const a=[];for(const o of e){const i=c1(o,n,t);i.length>0&&a.push(...i)}return a},v2=(e,n,t)=>{e.path!==n&&(t.find(o=>o.path===e.path)||t.push(e))},A=k("menu",()=>{const e=i1(),n=e2(),{t}=T(),a=_("menuKey")==="no"?"/dashboard":_("menuKey"),o=x({menuKey:a,options:[],collapsed:!1,menuTagOptions:[],breadcrumbOptions:[]}),i=(s,p)=>{const b=p.meta;if(b.windowOpen)window.open(b.windowOpen);else if(o.menuKey!==s){if(v2(p,o.menuKey,o.menuTagOptions),o.breadcrumbOptions=Q(o.options,"key",s),s[0]!=="/"){const w=o.breadcrumbOptions.map(d=>d.key).join("/");e.push(w)}else e.push(p.path);o.menuKey=s,D("menuKey",s)}},r=s=>{const p=b=>{var w;for(const d of b)if((w=d==null?void 0:d.children)!=null&&w.length&&p(d.children),s===d.path){i(d.path,d);break}};p(o.options)},u=()=>{const s=e.getRoutes().find(b=>b.name==="layout"),p=(b,w)=>b.map(d=>{var j;(j=d.children)!=null&&j.length&&(d.children=p(d.children));const{meta:y}=d,B=g(()=>y!=null&&y.i18nKey?t(`GlobalMenuOptions.${y.i18nKey}`):y==null?void 0:y.noLocalTitle),I={...d,key:d.path,label:()=>M(o1,null,{default:()=>B.value}),breadcrumbLabel:B.value},f1={icon:()=>M(v,{name:y.icon,size:20},{})},O=y!=null&&y.icon?Object.assign({},I,f1):I;return d.path===a&&o.menuTagOptions.push(O),O.show=f2(d),O});o.options=p(s==null?void 0:s.children),v1(()=>{o.breadcrumbOptions=Q(o.options,"key",o.menuKey)})},m=s=>o.collapsed=s,c=s=>o.menuTagOptions.splice(s,1);return b1(()=>n.fullPath,s=>{r(s)},{immediate:!0}),{...N(o),menuModelValueChange:i,setupAppRoutes:u,collapsedMenu:m,spliceMenTagOptions:c}},{persist:{key:"piniaMenuStore",storage:window.sessionStorage,paths:["breadcrumbOptions","menuKey"]}}),u1=k("signin",()=>{const e=x({role:""}),n=t=>R1(t)?1:(e.role="admin",0);return{...N(e),signin:n}},{persist:{key:"piniaSigninStore"}}),X=M1(),d1=e=>{e.use(X),X.use(T1)},w2=f({name:"GlobalProvider",setup(){const e=z(),n=g(()=>e.primaryColorOverride),t=g(()=>e.themeValue?x1:null),a=g(()=>e.naiveLocal),{message:o,notification:i,dialog:r,loadingBar:u}=N1(["message","dialog","notification","loadingBar"],{configProviderProps:g(()=>({theme:t.value}))});return window.$dialog=r,window.$message=o,window.$loadingBar=u,window.$notification=i,{modelPrimaryColorOverride:n,modelThemeValue:t,modelLocal:a}},render(){return l(B1,{themeOverrides:this.modelPrimaryColorOverride,theme:this.modelThemeValue,locale:this.modelLocal.local,dateLocal:this.modelLocal.dateLocal},{default:()=>[l(E1,null,{default:()=>[l(k1,null,{default:()=>[l(H1,null,{default:()=>[l(D1,null,{default:()=>{var e,n;return[l(A1,null,null),(n=(e=this.$slots).default)==null?void 0:n.call(e)]}})]})]})]})]})}}),p1=t1(!1),_e=e=>p1.value=e,S2=f({name:"GlobalSpin",props:{...I1},setup(){return{spinValue:p1,overrides:{opacitySpinning:"0"}}},render(){return l(j1,w1(this.$props,{show:this.spinValue,themeOverrides:this.overrides}),{default:()=>{var e,n;return(n=(e=this.$slots).default)==null?void 0:n.call(e)},description:()=>{var e,n;return(n=(e=this.$slots).description)==null?void 0:n.call(e)}})}}),h1=f({name:"App",render(){return l(w2,null,{default:()=>[l(S2,null,{default:()=>l(t2,null,null),description:()=>"lodaing..."})]})}}),_2="modulepreload",C2=function(e){return"/"+e},Y={},h=function(n,t,a){if(!t||t.length===0)return n();const o=document.getElementsByTagName("link");return Promise.all(t.map(i=>{if(i=C2(i),i in Y)return;Y[i]=!0;const r=i.endsWith(".css"),u=r?'[rel="stylesheet"]':"";if(!!a)for(let s=o.length-1;s>=0;s--){const p=o[s];if(p.href===i&&(!r||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const c=document.createElement("link");if(c.rel=r?"stylesheet":_2,r||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),r)return new Promise((s,p)=>{c.addEventListener("load",s),c.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>n())};const L2=f({__name:"index",props:{transitionPropName:{type:String,default:"fade"},transitionMode:{type:String,default:"out-in"},transitionAppear:{type:Boolean,default:!0}},setup(e){return(n,t)=>{const a=S1("router-view");return F(),K(a,null,{default:U(({Component:o,route:i})=>[l(C1,{name:e.transitionPropName,mode:e.transitionMode,appear:e.transitionAppear},{default:U(()=>[(F(),K(_1(o),{key:i.fullPath}))]),_:2},1032,["name","mode","appear"])]),_:1})}}});const M2=f({name:"LayoutMenu",setup(){const e=A(),n=i1(),{menuModelValueChange:t,setupAppRoutes:a,collapsedMenu:o}=e,i=g({get:()=>e.menuKey,set:()=>{}}),r=g(()=>e.options),u=g(()=>e.collapsed),m=64,{layout:{sideBarLogo:c}}={pkg:{dependencies:{"@vueuse/core":"^9.1.0","amfe-flexible":"^2.2.1",axios:"^1.2.0","crypto-js":"^4.1.1",dayjs:"^1.11.7",echarts:"^5.4.0","lodash-es":"^4.17.21","naive-ui":"^2.34.3",pinia:"^2.0.17","pinia-plugin-persistedstate":"^2.4.0","print-js":"^1.6.0",sass:"^1.54.3",screenfull:"^6.0.2",vue:"^3.2.37","vue-i18n":"^9.2.2","vue-router":"^4.1.3",vuedraggable:"^4.1.0",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.20.2","@babel/eslint-parser":"^7.19.1","@commitlint/cli":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@intlify/unplugin-vue-i18n":"^0.5.0","@types/crypto-js":"^4.1.1","@types/scrollreveal":"^0.0.8","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","@vitejs/plugin-vue":"^3.0.0","@vitejs/plugin-vue-jsx":"^2.0.0",autoprefixer:"^10.4.8",depcheck:"^1.4.3",eslint:"^8.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^23.0.0","eslint-plugin-import":"^2.25.2","eslint-plugin-n":"^15.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.0.0","eslint-plugin-react":"^7.31.10","eslint-plugin-vue":"^9.7.0",husky:"^8.0.3","lint-staged":"^13.1.0",postcss:"^8.1.0","postcss-pxtorem":"^6.0.0",prettier:"^2.7.1","rollup-plugin-visualizer":"^5.8.3","svg-sprite-loader":"^6.0.11",typescript:"*","unplugin-auto-import":"^0.11.0","unplugin-vue-components":"^0.22.0",vite:"^4.1.4","vite-plugin-compression":"^0.5.1","vite-plugin-eslint":"^1.8.1","vite-plugin-imp":"^2.3.1","vite-plugin-inspect":"^0.6.0","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^3.4.0","vue-tsc":"^1.0.9"},name:"ray-template",version:"3.1.2"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}}},s=()=>{c&&c.url&&(c.jumpType==="station"?n.push(c.url):window.open(c.url))};return a(),{modelMenuKey:i,menuModelValueChange:t,modelMenuOptions:r,modelCollapsed:u,collapsedMenu:o,collapsedWidth:m,sideBarLogo:c,handleSideBarLogoClick:s}},render(){return l(K1,{bordered:!0,showTrigger:!0,collapseMode:"width",collapsedWidth:this.collapsedWidth,onUpdateCollapsed:this.collapsedMenu.bind(this),nativeScrollbar:!1},{default:()=>[this.sideBarLogo?l("div",{class:["ray-menu__logo",this.sideBarLogo.url?"ray-menu__logo-url":""],onClick:this.handleSideBarLogoClick.bind(this)},[l(v,{name:this.sideBarLogo.icon,size:"30"},null),l("h1",{class:[this.modelCollapsed?"":"ray-menu__logo-title--open","ray-menu__logo-title"]},[l(o1,null,{default:()=>[this.sideBarLogo.title]})])]):"",l(F1,{value:this.modelMenuKey,"onUpdate:value":e=>this.modelMenuKey=e,options:this.modelMenuOptions,indent:24,collapsed:this.modelCollapsed,collapsedIconSize:22,collapsedWidth:this.collapsedWidth,onUpdateValue:this.menuModelValueChange.bind(this)},null)]})}});const T2=f({name:"RayTooltipIcon",props:{...U1,iconName:{type:String,required:!0},customClassName:{type:String,default:""},tooltipText:{type:String,default:""}},emits:["click"],setup(e,{emit:n}){return{handleClick:a=>{n("click",a)}}},render(){return l(H,this.$props,{trigger:()=>l(v,{name:this.iconName,size:"18",customClassName:`ray-tooltip-text__icon ${this.customClassName}`,onClick:this.handleClick.bind(this)},null),default:()=>this.tooltipText})}});const z2=()=>["#FFFFFF","#18A058","#2d8cf0","#F0A020","rgba(208, 48, 80, 1)"];function e1(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!E(e)}const O2=f({name:"SettingDrawer",props:{show:{type:Boolean,default:!1},placement:{type:String,default:"right"},width:{type:Number,default:280}},emits:["update:show"],setup(e,{emit:n}){const{t}=T(),a=z(),{changePrimaryColor:o,changeSwitcher:i}=a,{themeValue:r,primaryColorOverride:u,menuTagSwitch:m,breadcrumbSwitch:c}=C(a);return{modelShow:g({get:()=>e.show,set:b=>{n("update:show",b)}}),ray:t,handleRailStyle:()=>({backgroundColor:"#000000"}),changePrimaryColor:o,themeValue:r,primaryColorOverride:u,menuTagSwitch:m,changeSwitcher:i,breadcrumbSwitch:c}},render(){let e,n;return l(W1,{show:this.modelShow,"onUpdate:show":t=>this.modelShow=t,placement:this.placement,width:this.width},{default:()=>[l($1,{title:this.ray("LayoutHeaderSettingOptions.Title")},{default:()=>[l(S,{class:"setting-drawer__space",vertical:!0},{default:()=>[l(R,{titlePlacement:"center"},e1(e=this.ray("LayoutHeaderSettingOptions.ThemeOptions.Title"))?e:{default:()=>[e]}),l(S,{justify:"center"},{default:()=>[l(H,null,{trigger:()=>l(P,{value:this.themeValue,"onUpdate:value":t=>this.themeValue=t,railStyle:this.handleRailStyle.bind(this),onUpdateValue:t=>this.changeSwitcher(t,"themeValue")},{"checked-icon":()=>M(v,{name:"dark"},{}),"unchecked-icon":()=>M(v,{name:"light"},{})}),default:()=>this.themeValue?this.ray("LayoutHeaderSettingOptions.ThemeOptions.Dark"):this.ray("LayoutHeaderSettingOptions.ThemeOptions.Light")})]}),l(R,{titlePlacement:"center"},e1(n=this.ray("LayoutHeaderSettingOptions.ThemeOptions.PrimaryColorConfig"))?n:{default:()=>[n]}),l(G1,{swatches:z2(),value:this.primaryColorOverride.common.primaryColor,"onUpdate:value":t=>this.primaryColorOverride.common.primaryColor=t,onUpdateValue:this.changePrimaryColor.bind(this)},null),l(R,{titlePlacement:"center"},{default:()=>[L1("界面显示")]}),l(q1,{labelPlacement:"left",column:1},{default:()=>[l(W,{label:"显示多标签"},{default:()=>[l(P,{value:this.menuTagSwitch,"onUpdate:value":t=>this.menuTagSwitch=t,onUpdateValue:t=>this.changeSwitcher(t,"menuTagSwitch")},null)]}),l(W,{label:"显示面包屑"},{default:()=>[l(P,{value:this.breadcrumbSwitch,"onUpdate:value":t=>this.breadcrumbSwitch=t,onUpdateValue:t=>this.changeSwitcher(t,"breadcrumbSwitch")},null)]})]})]})]})]})}});function R2(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!E(e)}const P2=f({name:"Breadcrumb",setup(){const e=A(),{menuModelValueChange:n}=e;return{modelBreadcrumbOptions:g(()=>e.breadcrumbOptions),handleDropdownSelect:(o,i)=>{n(o,i)}}},render(){let e;return l(J1,null,R2(e=this.modelBreadcrumbOptions.map(n=>l(Z1,{key:n.key},{default:()=>{var t;return[l(V,{labelField:"breadcrumbLabel",options:n.children&&((t=n.children)==null?void 0:t.length)>1?n.children:[],onSelect:this.handleDropdownSelect.bind(this)},{default:()=>l("span",null,[n.label&&typeof n.label=="function"?n.label():n.breadcrumbLabel])})]}})))?e:{default:()=>[e]})}}),V2=()=>[{key:"person",label:"个人信息"},{type:"divider",key:"d1"},{key:"logout",label:"退出登陆"}],x2=()=>{window.$message.info("账号退出中..."),p2("all-sessionStorage"),setTimeout(()=>window.location.reload(),300)},N2=f({name:"SiderBar",setup(){const e=z(),{t:n}=T(),{updateLocale:t,changeSwitcher:a}=e,{drawerPlacement:o,breadcrumbSwitch:i}=C(e),r=t1(!1),u=_("person"),m={display:"flex"},c=[{name:"reload",size:18,tooltip:"LayoutHeaderTooltipOptions.Reload"}],s=[{name:"fullscreen",size:18,tooltip:"LayoutHeaderTooltipOptions.FullScreen",eventKey:"screen"},{name:"github",size:18,tooltip:"LayoutHeaderTooltipOptions.Github",eventKey:"github"},{name:"setting",size:18,tooltip:"LayoutHeaderTooltipOptions.Setting",eventKey:"setting"}],p={reload:()=>{a(!1,"reloadRouteSwitch"),setTimeout(()=>a(!0,"reloadRouteSwitch"),1.5*1e3)},setting:()=>{r.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},fullscreen:()=>{J.isEnabled?J.toggle():window.$message.warning("您的浏览器不支持全屏~")}};return{leftIconOptions:c,rightTooltipIconOptions:s,t:n,handleIconClick:d=>{var y;(y=p[d])==null||y.call(p)},showSettings:r,updateLocale:t,handlePersonSelect:d=>{d==="logout"?window.$dialog.warning({title:"提示",content:"您确定要退出登录吗",positiveText:"确定",negativeText:"不确定",onPositiveClick:()=>{x2()}}):window.$message.info("这个人很懒, 没做这个功能~")},person:u,spaceItemStyle:m,drawerPlacement:o,breadcrumbSwitch:i}},render(){return l(Q1,{class:"layout-header",bordered:!0},{default:()=>[l(S,{class:"layout-header__method",align:"center",justify:"space-between"},{default:()=>[l(S,{align:"center",itemStyle:this.spaceItemStyle},{default:()=>[this.leftIconOptions.map(e=>l(H,null,{trigger:()=>l(v,{customClassName:"layout-header__method--icon",name:e.name,size:e.size,onClick:this.handleIconClick.bind(this,e.name)},null),default:()=>this.t(e.tooltip)})),this.breadcrumbSwitch?l(P2,null,null):""]}),l(S,{align:"center",itemStyle:this.spaceItemStyle},{default:()=>[this.rightTooltipIconOptions.map(e=>l(T2,{iconName:e.name,tooltipText:this.t(e.tooltip),onClick:this.handleIconClick.bind(this,e.name)},null)),l(V,{options:d2,onSelect:e=>this.updateLocale(String(e)),trigger:"click"},{default:()=>[l(v,{customClassName:"layout-header__method--icon",name:"language",size:"18"},null)]}),l(V,{options:V2(),onSelect:this.handlePersonSelect.bind(this),trigger:"click"},{default:()=>[l(l1,{checkable:!0,size:"large"},{icon:()=>l(v,{customClassName:"layout-header__method--icon",name:"ray",size:"18"},null),default:()=>this.person.name})]})]})]}),l(O2,{show:this.showSettings,"onUpdate:show":e=>this.showSettings=e,placement:this.drawerPlacement},null)]})}});function E2(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!E(e)}const k2=f({name:"MenuTag",setup(){const e=A(),{menuKey:n}=C(e),{menuModelValueChange:t,spliceMenTagOptions:a}=e,o=g(()=>e.menuTagOptions);return{modelMenuTagOptions:o,menuModelValueChange:t,handleCloseTag:u=>{if(a(u),n.value!=="/dashboard"){const m=o.value,c=m.length,s=m[c-1];t(s.key,s)}},menuKey:n,handleTagClick:u=>{t(u.key,u)}}},render(){let e;return l(X1,{class:"menu-tag",xScrollable:!0},{default:()=>[l(S,{class:"menu-tag-sapce",wrap:!1,align:"center"},E2(e=this.modelMenuTagOptions.map((n,t)=>l(l1,{closable:n.key!=="/dashboard"&&this.modelMenuTagOptions.length>1,onClose:()=>this.handleCloseTag(t),type:n.key===this.menuKey?"success":"info",onClick:this.handleTagClick.bind(this,n),bordered:!1},{default:()=>[typeof n.label=="function"?n.label():n.label]})))?e:{default:()=>[e]})]})}}),H2=f({name:"Layout",setup(){const e=z(),{height:n}=l2(),{themeValue:t,reloadRouteSwitch:a,menuTagSwitch:o}=C(e),i=g(()=>{let u={};return e.menuTagSwitch?u={"--layout-content-height":"calc(100% - 110px)"}:u={"--layout-content-height":"calc(100% - 64px)"},u}),{layout:{copyright:r}}={pkg:{dependencies:{"@vueuse/core":"^9.1.0","amfe-flexible":"^2.2.1",axios:"^1.2.0","crypto-js":"^4.1.1",dayjs:"^1.11.7",echarts:"^5.4.0","lodash-es":"^4.17.21","naive-ui":"^2.34.3",pinia:"^2.0.17","pinia-plugin-persistedstate":"^2.4.0","print-js":"^1.6.0",sass:"^1.54.3",screenfull:"^6.0.2",vue:"^3.2.37","vue-i18n":"^9.2.2","vue-router":"^4.1.3",vuedraggable:"^4.1.0",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.20.2","@babel/eslint-parser":"^7.19.1","@commitlint/cli":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@intlify/unplugin-vue-i18n":"^0.5.0","@types/crypto-js":"^4.1.1","@types/scrollreveal":"^0.0.8","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","@vitejs/plugin-vue":"^3.0.0","@vitejs/plugin-vue-jsx":"^2.0.0",autoprefixer:"^10.4.8",depcheck:"^1.4.3",eslint:"^8.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^23.0.0","eslint-plugin-import":"^2.25.2","eslint-plugin-n":"^15.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.0.0","eslint-plugin-react":"^7.31.10","eslint-plugin-vue":"^9.7.0",husky:"^8.0.3","lint-staged":"^13.1.0",postcss:"^8.1.0","postcss-pxtorem":"^6.0.0",prettier:"^2.7.1","rollup-plugin-visualizer":"^5.8.3","svg-sprite-loader":"^6.0.11",typescript:"*","unplugin-auto-import":"^0.11.0","unplugin-vue-components":"^0.22.0",vite:"^4.1.4","vite-plugin-compression":"^0.5.1","vite-plugin-eslint":"^1.8.1","vite-plugin-imp":"^2.3.1","vite-plugin-inspect":"^0.6.0","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^3.4.0","vue-tsc":"^1.0.9"},name:"ray-template",version:"3.1.2"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}}};return{windowHeight:n,modelReloadRoute:a,modelMenuTagSwitch:o,cssVarsRef:i,copyright:r,themeValue:t}},render(){return l("div",{class:["layout",this.themeValue?"layout--dark":""],style:[`height: ${this.windowHeight}px`,this.cssVarsRef]},[l(Z,{class:"layout-full",hasSider:!0},{default:()=>[l(M2,null,null),l(Z,null,{default:()=>[l(N2,null,null),this.modelMenuTagSwitch?l(k2,null,null):"",l(Y1,{class:"layout-content__router-view",nativeScrollbar:!1},{default:()=>[this.modelReloadRoute?l(L2,null,null):"",this.copyright?l("div",{class:"layout-footer"},[this.copyright]):""]})]})]})])}}),D2={path:"/dashboard",name:"dashboard",component:()=>h(()=>import("./index-0a2c40ed.js"),["assets/index-0a2c40ed.js","assets/index-8b058cf4.js","assets/naive-ui-ecfcb6af.js","assets/date-fns-7f923de7.js","assets/vueuc-4d05699f.js","assets/@vue-0f114043.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/lodash-es-c8e56e34.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/pinia-1fd00649.js","assets/vue-demi-71ba0ef2.js","assets/pinia-plugin-persistedstate-d93b4f94.js","assets/vue-i18n-37f9b77c.js","assets/@intlify-bd5dfa46.js","assets/vue-router-ed35b26a.js","assets/@vueuse-27b0db77.js","assets/screenfull-578bfdd4.js","assets/index-dc50c796.css"]),meta:{i18nKey:"Dashboard",icon:"dashboard"}},A2={path:"/rely",name:"rely",component:()=>h(()=>import("./index-dfbb8447.js"),["assets/index-dfbb8447.js","assets/vue-router-ed35b26a.js","assets/@vue-0f114043.js"]),meta:{i18nKey:"Rely",icon:"rely"},children:[{path:"/rely-about",name:"rely-about",component:()=>h(()=>import("./index-a83053cf.js"),["assets/index-a83053cf.js","assets/@vue-0f114043.js","assets/naive-ui-ecfcb6af.js","assets/date-fns-7f923de7.js","assets/vueuc-4d05699f.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/lodash-es-c8e56e34.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/index-184de73a.css"]),meta:{i18nKey:"RelyAbout"}}]},B2={path:"/error",name:"error",component:()=>h(()=>import("./index-6899f621.js"),["assets/index-6899f621.js","assets/vue-router-ed35b26a.js","assets/@vue-0f114043.js","assets/naive-ui-ecfcb6af.js","assets/date-fns-7f923de7.js","assets/vueuc-4d05699f.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/lodash-es-c8e56e34.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/index-fa813b60.css"]),meta:{i18nKey:"Error",icon:"error"}},I2={path:"/echart",name:"echart",component:()=>h(()=>import("./index-c3c691f8.js"),["assets/index-c3c691f8.js","assets/pinia-1fd00649.js","assets/vue-demi-71ba0ef2.js","assets/@vue-0f114043.js","assets/lodash-es-c8e56e34.js","assets/hook-1ce4b33f.js","assets/echarts-2fc78c0b.js","assets/zrender-e8935425.js","assets/naive-ui-ecfcb6af.js","assets/date-fns-7f923de7.js","assets/vueuc-4d05699f.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/pinia-plugin-persistedstate-d93b4f94.js","assets/vue-i18n-37f9b77c.js","assets/@intlify-bd5dfa46.js","assets/vue-router-ed35b26a.js","assets/@vueuse-27b0db77.js","assets/screenfull-578bfdd4.js","assets/index-5ba451c9.css"]),meta:{i18nKey:"Echart",icon:"echart"}},j2={path:"/scroll-reveal",name:"scroll-reveal",component:()=>h(()=>import("./index-eda4473c.js"),["assets/index-eda4473c.js","assets/@vue-0f114043.js","assets/naive-ui-ecfcb6af.js","assets/date-fns-7f923de7.js","assets/vueuc-4d05699f.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/lodash-es-c8e56e34.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/index-0d9096a4.css"]),meta:{i18nKey:"scrollReveal",icon:"scroll_reveal",hidden:!0}},F2={path:"/axios",name:"axios",component:()=>h(()=>import("./index-8b6d0c44.js"),["assets/index-8b6d0c44.js","assets/axios-f5da5039.js","assets/form-data-d2a9677b.js","assets/naive-ui-ecfcb6af.js","assets/date-fns-7f923de7.js","assets/vueuc-4d05699f.js","assets/@vue-0f114043.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/lodash-es-c8e56e34.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/index-2b2366c8.css"]),meta:{i18nKey:"Axios",icon:"axios"}},K2={path:"/table",name:"table",component:()=>h(()=>import("./index-86d0d913.js"),["assets/index-86d0d913.js","assets/pinia-1fd00649.js","assets/vue-demi-71ba0ef2.js","assets/@vue-0f114043.js","assets/vuedraggable-fb995778.js","assets/date-fns-7f923de7.js","assets/vue-d5390e61.js","assets/sortablejs-77186f55.js","assets/naive-ui-ecfcb6af.js","assets/vueuc-4d05699f.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/lodash-es-c8e56e34.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/print-js-819a679c.js","assets/hook-1ce4b33f.js","assets/xlsx-1a040596.js","assets/dayjs-e34bfade.js","assets/pinia-plugin-persistedstate-d93b4f94.js","assets/vue-i18n-37f9b77c.js","assets/@intlify-bd5dfa46.js","assets/vue-router-ed35b26a.js","assets/@vueuse-27b0db77.js","assets/screenfull-578bfdd4.js","assets/index-8e9f9bce.css"]),meta:{i18nKey:"Table",icon:"table"}},U2={path:"/doc",name:"doc",component:()=>h(()=>import("./index-0c28ee49.js"),["assets/index-0c28ee49.js","assets/@vue-0f114043.js"]),meta:{i18nKey:"Doc",icon:"doc",windowOpen:"https://xiaodaigua-ray.github.io/ray-template-doc/"}},$2={path:"/multi-menu",name:"multi-menu",component:()=>h(()=>import("./index-a86fb1a2.js"),["assets/index-a86fb1a2.js","assets/vue-router-ed35b26a.js","assets/@vue-0f114043.js"]),meta:{i18nKey:"MultiMenu",icon:"table"},children:[{path:"multi-menu-one",name:"multi-menu-one",component:()=>h(()=>import("./index-0dd3dfb9.js"),["assets/index-0dd3dfb9.js","assets/@vue-0f114043.js"]),meta:{noLocalTitle:"多级菜单-1"}},{path:"multi-menu-two",name:"multi-menu-two",component:()=>h(()=>import("./index-96498f71.js"),["assets/index-96498f71.js","assets/vue-router-ed35b26a.js","assets/@vue-0f114043.js"]),meta:{noLocalTitle:"多级菜单-2"},children:[{path:"sub-menu",name:"sub-menu",component:()=>h(()=>import("./index-621eca53.js"),["assets/index-621eca53.js","assets/@vue-0f114043.js"]),meta:{noLocalTitle:"多级菜单-2-1"}}]}]},G2={path:"/doc",name:"doc",component:()=>h(()=>import("./index-0c28ee49.js"),["assets/index-0c28ee49.js","assets/@vue-0f114043.js"]),meta:{i18nKey:"DocLocal",icon:"doc",windowOpen:"https://ray-template.yunkuangao.com/ray-template-doc/"}},q2=[D2,I2,K2,F2,j2,B2,$2,U2,G2,A2],W2=[{path:"/",name:"login",component:()=>h(()=>import("./index-d676824e.js"),["assets/index-d676824e.js","assets/vue-i18n-37f9b77c.js","assets/@intlify-bd5dfa46.js","assets/@vue-0f114043.js","assets/@vueuse-27b0db77.js","assets/vue-router-ed35b26a.js","assets/naive-ui-ecfcb6af.js","assets/date-fns-7f923de7.js","assets/vueuc-4d05699f.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/lodash-es-c8e56e34.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/index-8b058cf4.js","assets/pinia-1fd00649.js","assets/vue-demi-71ba0ef2.js","assets/pinia-plugin-persistedstate-d93b4f94.js","assets/screenfull-578bfdd4.js","assets/index-6a9d9035.css"])},{path:"/",name:"layout",redirect:"/dashboard",component:H2,children:q2},{path:"/:catchAll(.*)",name:"error-page",component:()=>h(()=>import("./index-6899f621.js"),["assets/index-6899f621.js","assets/vue-router-ed35b26a.js","assets/@vue-0f114043.js","assets/naive-ui-ecfcb6af.js","assets/date-fns-7f923de7.js","assets/vueuc-4d05699f.js","assets/evtd-b614532e.js","assets/seemly-dc6f1e91.js","assets/@css-render-ad88a31e.js","assets/vooks-ab318924.js","assets/vdirs-b0483831.js","assets/@juggle-41516555.js","assets/css-render-57962bc1.js","assets/@emotion-8a8e73f6.js","assets/lodash-es-c8e56e34.js","assets/treemate-25c27bff.js","assets/date-fns-tz-230e778e.js","assets/async-validator-dee29e8b.js","assets/index-fa813b60.css"])}],Z2=e=>{const{beforeEach:n}=e,t=a=>{a("/dashboard"),D("menuKey","/dashboard")};n((a,o,i)=>{const r=_("token"),u=_("menuKey"),{role:m}=C(u1()),{meta:c}=a;r!=="no"?(()=>c.role?c.role.length===0?!0:c.role.includes(m.value):!0)()?a.path==="/"||o.path==="/login"?u!=="no"?i(u):t(i):i():t(i):a.path==="/"||o.path==="/login"?i():i("/")})},L=n2({history:o2(),routes:W2,scrollBehavior:()=>({left:0,top:0})}),m1=()=>Z2(L),g1=e=>{e.use(L)},y1=()=>{L.beforeEach(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.start()}),L.afterEach(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.finish()}),L.onError(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.error()})},J2=()=>{const e=n1(h1);r1(e),d1(e),g1(e),y1(),m1(),e.mount("#app")},Q2=()=>{let e;window.__WUJIE_MOUNT=()=>{e=n1(h1),r1(e),d1(e),g1(e),y1(),m1(),e.mount("#app")},window.__WUJIE_UNMOUNT=()=>{e.unmount()},window.__WUJIE.mount()};window.__POWERED_BY_WUJIE__?Q2():J2();export{v as R,_e as a,z as b,d2 as l,D as s,u1 as u};
|