This commit is contained in:
mkm 2023-06-06 13:24:29 +08:00
parent bb913ca4aa
commit 97042b6433
129 changed files with 98 additions and 98 deletions

4
.env
View File

@ -2,7 +2,7 @@
VITE_DEV_PORT = '8083'
# development path
VITE_DEV_PATH = 'http://127.0.0.1:8787'
VITE_DEV_PATH = 'http://goviewphp.lihaink.cn'
# production path
VITE_PRO_PATH = 'http://goviewphp.lihaink.cn'
VITE_PRO_PATH = 'https://goviewphp.lihaink.cn'

2
dist/index.html vendored
View File

@ -41,7 +41,7 @@
<link rel="icon" href="./favicon.ico" />
<title>GoView</title>
<script type="module" crossorigin src="./static/js/index-414f6242.js"></script>
<script type="module" crossorigin src="./static/js/index-4ec2ce15.js"></script>
<link rel="stylesheet" href="./static/css/index-9c2eb289.css">
</head>
<body>

View File

@ -1 +1 @@
import{d as _,r as n,c,b as r,w as p,A as d,P as i,s as l,x as m,n as t,o as u,e as f,h}from"./index-414f6242.js";const v=""+new URL("../svg/403-f5bbf2f7.svg",import.meta.url).href,o=e=>(l("data-v-6a4aa462"),e=e(),m(),e),x={class:"go-error"},g=o(()=>t("div",{class:"text-center"},[t("img",{src:v,alt:""})],-1)),b=o(()=>t("div",{class:"text-center"},[t("h1",null,"抱歉,你无权访问该页面")],-1)),y=_({__name:"403",setup(e){function s(){d(i.BASE_HOME_NAME)}return(B,E)=>{const a=n("n-button");return u(),c("div",x,[g,b,r(a,{type:"primary",onClick:s},{default:p(()=>[f("回到首页")]),_:1})])}}});const w=h(y,[["__scopeId","data-v-6a4aa462"]]);export{w as default};
import{d as _,r as n,c,b as r,w as p,A as d,P as i,s as l,x as m,n as t,o as u,e as f,h}from"./index-4ec2ce15.js";const v=""+new URL("../svg/403-f5bbf2f7.svg",import.meta.url).href,o=e=>(l("data-v-6a4aa462"),e=e(),m(),e),x={class:"go-error"},g=o(()=>t("div",{class:"text-center"},[t("img",{src:v,alt:""})],-1)),b=o(()=>t("div",{class:"text-center"},[t("h1",null,"抱歉,你无权访问该页面")],-1)),y=_({__name:"403",setup(e){function s(){d(i.BASE_HOME_NAME)}return(B,E)=>{const a=n("n-button");return u(),c("div",x,[g,b,r(a,{type:"primary",onClick:s},{default:p(()=>[f("回到首页")]),_:1})])}}});const w=h(y,[["__scopeId","data-v-6a4aa462"]]);export{w as default};

View File

@ -1 +1 @@
import{d as _,r as n,c,b as r,w as d,A as p,P as i,s as l,x as m,n as t,o as u,e as h,h as v}from"./index-414f6242.js";const x=""+new URL("../svg/404-2ee16551.svg",import.meta.url).href,o=e=>(l("data-v-2103ad5b"),e=e(),m(),e),f={class:"go-error"},g=o(()=>t("div",{class:"text-center"},[t("img",{src:x,alt:""})],-1)),b=o(()=>t("div",{class:"text-center"},[t("h1",null,"抱歉,你访问的页面不存在")],-1)),y=_({__name:"404",setup(e){function s(){p(i.BASE_HOME_NAME)}return(B,E)=>{const a=n("n-button");return u(),c("div",f,[g,b,r(a,{type:"primary",onClick:s},{default:d(()=>[h("回到首页")]),_:1})])}}});const w=v(y,[["__scopeId","data-v-2103ad5b"]]);export{w as default};
import{d as _,r as n,c,b as r,w as d,A as p,P as i,s as l,x as m,n as t,o as u,e as h,h as v}from"./index-4ec2ce15.js";const x=""+new URL("../svg/404-2ee16551.svg",import.meta.url).href,o=e=>(l("data-v-2103ad5b"),e=e(),m(),e),f={class:"go-error"},g=o(()=>t("div",{class:"text-center"},[t("img",{src:x,alt:""})],-1)),b=o(()=>t("div",{class:"text-center"},[t("h1",null,"抱歉,你访问的页面不存在")],-1)),y=_({__name:"404",setup(e){function s(){p(i.BASE_HOME_NAME)}return(B,E)=>{const a=n("n-button");return u(),c("div",f,[g,b,r(a,{type:"primary",onClick:s},{default:d(()=>[h("回到首页")]),_:1})])}}});const w=v(y,[["__scopeId","data-v-2103ad5b"]]);export{w as default};

View File

@ -1 +1 @@
import{d as c,r as _,c as n,b as r,w as d,A as p,P as i,s as l,x as m,n as t,o as u,e as f,h as x}from"./index-414f6242.js";const h=""+new URL("../svg/500-0e2ea61d.svg",import.meta.url).href,s=e=>(l("data-v-6c2e645f"),e=e(),m(),e),v={class:"go-error"},g=s(()=>t("div",{class:"text-center"},[t("img",{src:h,alt:""})],-1)),y=s(()=>t("div",{class:"text-center"},[t("h1",{class:"text-base text-gray-500"},"抱歉,服务器出错了,建议您重新登录呢")],-1)),N=c({__name:"500",setup(e){function o(){p(i.BASE_LOGIN_NAME)}return(B,I)=>{const a=_("n-button");return u(),n("div",v,[g,y,r(a,{type:"primary",secondary:"",onClick:o},{default:d(()=>[f("重新登录")]),_:1})])}}});const w=x(N,[["__scopeId","data-v-6c2e645f"]]);export{w as default};
import{d as c,r as _,c as n,b as r,w as d,A as p,P as i,s as l,x as m,n as t,o as u,e as f,h as x}from"./index-4ec2ce15.js";const h=""+new URL("../svg/500-0e2ea61d.svg",import.meta.url).href,s=e=>(l("data-v-6c2e645f"),e=e(),m(),e),v={class:"go-error"},g=s(()=>t("div",{class:"text-center"},[t("img",{src:h,alt:""})],-1)),y=s(()=>t("div",{class:"text-center"},[t("h1",{class:"text-base text-gray-500"},"抱歉,服务器出错了,建议您重新登录呢")],-1)),N=c({__name:"500",setup(e){function o(){p(i.BASE_LOGIN_NAME)}return(B,I)=>{const a=_("n-button");return u(),n("div",v,[g,y,r(a,{type:"primary",secondary:"",onClick:o},{default:d(()=>[f("重新登录")]),_:1})])}}});const w=x(N,[["__scopeId","data-v-6c2e645f"]]);export{w as default};

View File

@ -1 +1 @@
import{d as m,r as n,o as i,c as p,b as t,w as o,n as u,a as l,F as f}from"./index-414f6242.js";const g=m({__name:"CollapseItem",props:{name:{type:String,required:!0},expanded:{type:Boolean,required:!1,default:!1}},setup(a){const s=e=>{e.preventDefault(),e.stopPropagation()};return(e,_)=>{const r=n("n-divider"),d=n("n-collapse-item"),c=n("n-collapse");return i(),p(f,null,[t(r,{style:{margin:"10px 0"}}),t(c,{"arrow-placement":"right","default-expanded-names":a.expanded?a.name:null,accordion:""},{"header-extra":o(()=>[u("div",{onClick:s},[l(e.$slots,"header")])]),default:o(()=>[t(d,{title:a.name,name:a.name},{default:o(()=>[l(e.$slots,"default")]),_:3},8,["title","name"])]),_:3},8,["default-expanded-names"])],64)}}});export{g as _};
import{d as m,r as n,o as i,c as p,b as t,w as o,n as u,a as l,F as f}from"./index-4ec2ce15.js";const g=m({__name:"CollapseItem",props:{name:{type:String,required:!0},expanded:{type:Boolean,required:!1,default:!1}},setup(a){const s=e=>{e.preventDefault(),e.stopPropagation()};return(e,_)=>{const r=n("n-divider"),d=n("n-collapse-item"),c=n("n-collapse");return i(),p(f,null,[t(r,{style:{margin:"10px 0"}}),t(c,{"arrow-placement":"right","default-expanded-names":a.expanded?a.name:null,accordion:""},{"header-extra":o(()=>[u("div",{onClick:s},[l(e.$slots,"header")])]),default:o(()=>[t(d,{title:a.name,name:a.name},{default:o(()=>[l(e.$slots,"default")]),_:3},8,["title","name"])]),_:3},8,["default-expanded-names"])],64)}}});export{g as _};

View File

@ -1 +1 @@
import{d as k,r as u,o as a,c,F as C,q as y,b as n,w as o,n as s,au as r,t,e as i,u as B,h as m}from"./index-414f6242.js";const R=[{CMYK:[62,0,21,16],RGB:[81,214,169],hex:"#51d6a9",name:"碧空绿",pinyin:"bikonlv"},{CMYK:[73,17,20,1],RGB:[102,169,201],hex:"#66a9c9",name:"涧石蓝",pinyin:"jianshilan"},{CMYK:[4,13,67,0],RGB:[248,223,114],hex:"#f8df72",name:"茉莉黄",pinyin:"molihuang"},{CMYK:[76,51,0,0],RGB:[60,126,255],hex:"#3c7eff",name:"深海蓝",pinyin:"shenhailan"}],G={class:"content-left"},b=["onClick"],$={class:"Pinyin-upper"},S=["onClick"],q={class:"Pinyin-upper"},K=k({__name:"ColorList",props:{designColor:{type:Object,required:!0}},emits:["colorSelectHandle"],setup(v,{emit:x}){const p=f=>{x("colorSelectHandle",f)};return(f,L)=>{const l=u("n-space"),d=u("n-divider"),h=u("n-text");return a(),c("div",G,[(a(!0),c(C,null,y(B(R),(e,_)=>(a(),c("div",{class:"content-left-item go-transition-quick go-mb-0",span:"12 1000:6 1400:4 1800:4 2200:2",key:_,onClick:g=>p(e)},[n(l,null,{default:o(()=>[s("div",{class:"content-left-item-color",style:r({backgroundColor:e.hex})},null,4),n(l,{vertical:""},{default:o(()=>[n(l,null,{default:o(()=>[s("span",{style:r({color:e.hex})},t(e.name),5),s("span",$,t(e.pinyin.toUpperCase()),1)]),_:2},1024),n(h,null,{default:o(()=>[i(t(e.hex)+" ",1),n(d,{vertical:""}),i(" "+t(`rgb(${e.RGB[0]}, ${e.RGB[1]}, ${e.RGB[2]})`),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)],8,b))),128)),n(d),(a(!0),c(C,null,y(v.designColor,(e,_)=>(a(),c("div",{class:"content-left-item go-transition-quick",span:"12 1000:6 1400:4 1800:4 2200:2",key:_,onClick:g=>p(e)},[n(l,null,{default:o(()=>[s("div",{class:"content-left-item-color",style:r({backgroundColor:e.hex})},null,4),n(l,{vertical:""},{default:o(()=>[n(l,null,{default:o(()=>[s("span",{style:r({color:e.hex})},t(e.name),5),s("span",q,t(e.pinyin.toUpperCase()),1)]),_:2},1024),n(h,null,{default:o(()=>[i(t(e.hex)+" ",1),n(d,{vertical:""}),i(" "+t(`rgb(${e.RGB[0]}, ${e.RGB[1]}, ${e.RGB[2]})`),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)],8,S))),128))])}}});const Y=m(K,[["__scopeId","data-v-e8d4af24"]]);export{Y as default};
import{d as k,r as u,o as a,c,F as C,q as y,b as n,w as o,n as s,au as r,t,e as i,u as B,h as m}from"./index-4ec2ce15.js";const R=[{CMYK:[62,0,21,16],RGB:[81,214,169],hex:"#51d6a9",name:"碧空绿",pinyin:"bikonlv"},{CMYK:[73,17,20,1],RGB:[102,169,201],hex:"#66a9c9",name:"涧石蓝",pinyin:"jianshilan"},{CMYK:[4,13,67,0],RGB:[248,223,114],hex:"#f8df72",name:"茉莉黄",pinyin:"molihuang"},{CMYK:[76,51,0,0],RGB:[60,126,255],hex:"#3c7eff",name:"深海蓝",pinyin:"shenhailan"}],G={class:"content-left"},b=["onClick"],$={class:"Pinyin-upper"},S=["onClick"],q={class:"Pinyin-upper"},K=k({__name:"ColorList",props:{designColor:{type:Object,required:!0}},emits:["colorSelectHandle"],setup(v,{emit:x}){const p=f=>{x("colorSelectHandle",f)};return(f,L)=>{const l=u("n-space"),d=u("n-divider"),h=u("n-text");return a(),c("div",G,[(a(!0),c(C,null,y(B(R),(e,_)=>(a(),c("div",{class:"content-left-item go-transition-quick go-mb-0",span:"12 1000:6 1400:4 1800:4 2200:2",key:_,onClick:g=>p(e)},[n(l,null,{default:o(()=>[s("div",{class:"content-left-item-color",style:r({backgroundColor:e.hex})},null,4),n(l,{vertical:""},{default:o(()=>[n(l,null,{default:o(()=>[s("span",{style:r({color:e.hex})},t(e.name),5),s("span",$,t(e.pinyin.toUpperCase()),1)]),_:2},1024),n(h,null,{default:o(()=>[i(t(e.hex)+" ",1),n(d,{vertical:""}),i(" "+t(`rgb(${e.RGB[0]}, ${e.RGB[1]}, ${e.RGB[2]})`),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)],8,b))),128)),n(d),(a(!0),c(C,null,y(v.designColor,(e,_)=>(a(),c("div",{class:"content-left-item go-transition-quick",span:"12 1000:6 1400:4 1800:4 2200:2",key:_,onClick:g=>p(e)},[n(l,null,{default:o(()=>[s("div",{class:"content-left-item-color",style:r({backgroundColor:e.hex})},null,4),n(l,{vertical:""},{default:o(()=>[n(l,null,{default:o(()=>[s("span",{style:r({color:e.hex})},t(e.name),5),s("span",q,t(e.pinyin.toUpperCase()),1)]),_:2},1024),n(h,null,{default:o(()=>[i(t(e.hex)+" ",1),n(d,{vertical:""}),i(" "+t(`rgb(${e.RGB[0]}, ${e.RGB[1]}, ${e.RGB[2]})`),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)],8,S))),128))])}}});const Y=m(K,[["__scopeId","data-v-e8d4af24"]]);export{Y as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{d as s,r as n,o,c as r,a as i,b as d,w as c,e as m,t as l,au as p,h as _}from"./index-414f6242.js";/* empty css */const u=s({__name:"SettingItem",props:{name:{type:String,required:!1},width:{type:Number,required:!1}},setup(e){return(t,f)=>{const a=n("n-text");return o(),r("div",{class:"go-setting-item",style:p({width:e.width+"px"})},[i(t.$slots,"default",{},void 0,!0),d(a,{class:"name",depth:"3"},{default:c(()=>[m(l(e.name),1)]),_:1})],4)}}}),S=_(u,[["__scopeId","data-v-30fb98bd"]]);export{S};
import{d as s,r as n,o,c as r,a as i,b as d,w as c,e as m,t as l,au as p,h as _}from"./index-4ec2ce15.js";/* empty css */const u=s({__name:"SettingItem",props:{name:{type:String,required:!1},width:{type:Number,required:!1}},setup(e){return(t,f)=>{const a=n("n-text");return o(),r("div",{class:"go-setting-item",style:p({width:e.width+"px"})},[i(t.$slots,"default",{},void 0,!0),d(a,{class:"name",depth:"3"},{default:c(()=>[m(l(e.name),1)]),_:1})],4)}}}),S=_(u,[["__scopeId","data-v-30fb98bd"]]);export{S};

View File

@ -1 +1 @@
var f=Object.defineProperty;var o=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var s=(t,e,a)=>e in t?f(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,n=(t,e)=>{for(var a in e||(e={}))p.call(e,a)&&s(t,a,e[a]);if(o)for(var a of o(e))u.call(e,a)&&s(t,a,e[a]);return t};import{d as _,r,o as g,c as S,b as l,w as i,e as h,t as x,a as c,n as y,au as v,h as B}from"./index-414f6242.js";/* empty css */const C={class:"go-config-item-box"},b=_({__name:"SettingItemBox",props:{name:{type:String,required:!1},alone:{type:Boolean,default:!1,required:!1},itemRightStyle:{type:Object,default:()=>{},required:!1}},setup(t){return(e,a)=>{const d=r("n-space"),m=r("n-text");return g(),S("div",C,[l(m,{class:"item-left",depth:"2"},{default:i(()=>[h(x(t.name)+" ",1),l(d,{size:5},{default:i(()=>[c(e.$slots,"name",{},void 0,!0)]),_:3})]),_:3}),y("div",{class:"item-right",style:v(n({gridTemplateColumns:t.alone?"1fr":"1fr 1fr"},t.itemRightStyle))},[c(e.$slots,"default",{},void 0,!0)],4)])}}}),V=B(b,[["__scopeId","data-v-9746c50f"]]);export{V as S};
var f=Object.defineProperty;var o=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var s=(t,e,a)=>e in t?f(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,n=(t,e)=>{for(var a in e||(e={}))p.call(e,a)&&s(t,a,e[a]);if(o)for(var a of o(e))u.call(e,a)&&s(t,a,e[a]);return t};import{d as _,r,o as g,c as S,b as l,w as i,e as h,t as x,a as c,n as y,au as v,h as B}from"./index-4ec2ce15.js";/* empty css */const C={class:"go-config-item-box"},b=_({__name:"SettingItemBox",props:{name:{type:String,required:!1},alone:{type:Boolean,default:!1,required:!1},itemRightStyle:{type:Object,default:()=>{},required:!1}},setup(t){return(e,a)=>{const d=r("n-space"),m=r("n-text");return g(),S("div",C,[l(m,{class:"item-left",depth:"2"},{default:i(()=>[h(x(t.name)+" ",1),l(d,{size:5},{default:i(()=>[c(e.$slots,"name",{},void 0,!0)]),_:3})]),_:3}),y("div",{class:"item-right",style:v(n({gridTemplateColumns:t.alone?"1fr":"1fr 1fr"},t.itemRightStyle))},[c(e.$slots,"default",{},void 0,!0)],4)])}}}),V=B(b,[["__scopeId","data-v-9746c50f"]]);export{V as S};

View File

@ -1 +1 @@
import{d as B,r as s,o as f,c as p,Q as z,U as $,n as X,b as e,w as a,e as y,t as Y,u as o,D as S,a6 as c,F as N}from"./index-414f6242.js";import{B as V}from"./chartEditStore-71df5cf8.js";import{S as u}from"./SettingItem-cbdfd56e.js";import{S as i}from"./SettingItemBox-c30b2af8.js";import{_ as D}from"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import{i as I}from"./icon-42145a57.js";const G=B({__name:"StylesSetting",props:{isGroup:{type:Boolean,required:!1},isCanvas:{type:Boolean,default:!1},chartStyles:{type:Object,required:!0}},setup(t){const{HelpOutlineIcon:x}=I.ionicons5,d=v=>`${(parseFloat(v)*100).toFixed(0)}%`,w=v=>`${v}deg`;return(v,l)=>{const F=s("n-divider"),h=s("n-tag"),U=s("n-switch"),r=s("n-slider"),g=s("n-text"),b=s("n-icon"),k=s("n-tooltip"),C=s("n-select"),m=s("n-input-number");return f(),p(N,null,[z(X("div",null,[e(F,{"n-divider":"",style:{margin:"10px 0"}}),e(h,{type:"warning"},{default:a(()=>[y(" 解散分组「 "+Y(t.isCanvas?"滤镜":"滤镜 / 变换")+" 」也将消失!",1)]),_:1})],512),[[$,t.isGroup]]),e(o(D),{name:t.isCanvas?"滤镜":"滤镜 / 变换"},{header:a(()=>[e(U,{value:t.chartStyles.filterShow,"onUpdate:value":l[0]||(l[0]=n=>t.chartStyles.filterShow=n),size:"small"},null,8,["value"])]),default:a(()=>[e(o(i),{name:"色相",alone:!0},{default:a(()=>[e(o(u),{name:`值:${t.chartStyles.hueRotate}deg`},{default:a(()=>[e(r,{value:t.chartStyles.hueRotate,"onUpdate:value":l[1]||(l[1]=n=>t.chartStyles.hueRotate=n),step:3,min:0,max:360,"format-tooltip":w},null,8,["value"])]),_:1},8,["name"])]),_:1}),e(o(i),{name:"饱和度",alone:!0},{default:a(()=>[e(o(u),{name:`值:${(parseFloat(String(t.chartStyles.saturate))*100).toFixed(0)}%`},{default:a(()=>[e(r,{value:t.chartStyles.saturate,"onUpdate:value":l[2]||(l[2]=n=>t.chartStyles.saturate=n),step:.1,min:0,max:2,"format-tooltip":d},null,8,["value"])]),_:1},8,["name"])]),_:1}),e(o(i),{name:"对比度",alone:!0},{default:a(()=>[e(o(u),{name:`值:${(parseFloat(String(t.chartStyles.contrast))*100).toFixed(0)}%`},{default:a(()=>[e(r,{value:t.chartStyles.contrast,"onUpdate:value":l[3]||(l[3]=n=>t.chartStyles.contrast=n),step:.1,min:0,max:2,"format-tooltip":d},null,8,["value"])]),_:1},8,["name"])]),_:1}),e(o(i),{name:"亮度",alone:!0},{default:a(()=>[e(o(u),{name:`值:${(parseFloat(String(t.chartStyles.brightness))*100).toFixed(0)}%`},{default:a(()=>[e(r,{value:t.chartStyles.brightness,"onUpdate:value":l[4]||(l[4]=n=>t.chartStyles.brightness=n),step:.1,min:0,max:2,"format-tooltip":d},null,8,["value"])]),_:1},8,["name"])]),_:1}),e(o(i),{name:"透明度",alone:!0},{default:a(()=>[e(o(u),{name:`值:${(parseFloat(String(t.chartStyles.opacity))*100).toFixed(0)}%`},{default:a(()=>[e(r,{value:t.chartStyles.opacity,"onUpdate:value":l[5]||(l[5]=n=>t.chartStyles.opacity=n),step:.1,min:0,max:1,"format-tooltip":d},null,8,["value"])]),_:1},8,["name"])]),_:1}),t.isCanvas?c("",!0):(f(),S(o(i),{key:0,alone:!0},{name:a(()=>[e(g,null,{default:a(()=>[y("混合")]),_:1}),e(k,{trigger:"hover"},{trigger:a(()=>[e(b,{size:"21",depth:3},{default:a(()=>[e(o(x))]),_:1})]),default:a(()=>[e(g,null,{default:a(()=>[y("视频组件需要底色透明一般选中滤色")]),_:1})]),_:1})]),default:a(()=>[e(o(u),null,{default:a(()=>[e(C,{value:t.chartStyles.blendMode,"onUpdate:value":l[6]||(l[6]=n=>t.chartStyles.blendMode=n),size:"small",filterable:"",options:o(V)},null,8,["value","options"])]),_:1})]),_:1})),t.isCanvas?c("",!0):(f(),S(o(i),{key:1,name:"旋转°"},{default:a(()=>[e(o(u),{name:"Z轴(平面) - 旋转"},{default:a(()=>[e(m,{value:t.chartStyles.rotateZ,"onUpdate:value":l[7]||(l[7]=n=>t.chartStyles.rotateZ=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1}),e(o(u),{name:"X轴 - 旋转"},{default:a(()=>[e(m,{value:t.chartStyles.rotateX,"onUpdate:value":l[8]||(l[8]=n=>t.chartStyles.rotateX=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1}),e(o(u),{name:"Y轴 - 旋转"},{default:a(()=>[e(m,{value:t.chartStyles.rotateY,"onUpdate:value":l[9]||(l[9]=n=>t.chartStyles.rotateY=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1})]),_:1})),t.isCanvas?c("",!0):(f(),S(o(i),{key:2,name:"倾斜°"},{default:a(()=>[e(o(u),{name:"X轴 - 倾斜"},{default:a(()=>[e(m,{value:t.chartStyles.skewX,"onUpdate:value":l[10]||(l[10]=n=>t.chartStyles.skewX=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1}),e(o(u),{name:"Y轴 - 倾斜"},{default:a(()=>[e(m,{value:t.chartStyles.skewY,"onUpdate:value":l[11]||(l[11]=n=>t.chartStyles.skewY=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1})]),_:1})),e(h,{type:"warning"},{default:a(()=>[y(" 若预览时大屏模糊,可以尝试关闭滤镜进行修复 ")]),_:1})]),_:1},8,["name"])],64)}}});export{G as _};
import{d as B,r as s,o as f,c as p,Q as z,U as $,n as X,b as e,w as a,e as y,t as Y,u as o,D as S,a6 as c,F as N}from"./index-4ec2ce15.js";import{B as V}from"./chartEditStore-bfc6c223.js";import{S as u}from"./SettingItem-35031211.js";import{S as i}from"./SettingItemBox-f60eaa4e.js";import{_ as D}from"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import{i as I}from"./icon-42fa39e7.js";const G=B({__name:"StylesSetting",props:{isGroup:{type:Boolean,required:!1},isCanvas:{type:Boolean,default:!1},chartStyles:{type:Object,required:!0}},setup(t){const{HelpOutlineIcon:x}=I.ionicons5,d=v=>`${(parseFloat(v)*100).toFixed(0)}%`,w=v=>`${v}deg`;return(v,l)=>{const F=s("n-divider"),h=s("n-tag"),U=s("n-switch"),r=s("n-slider"),g=s("n-text"),b=s("n-icon"),k=s("n-tooltip"),C=s("n-select"),m=s("n-input-number");return f(),p(N,null,[z(X("div",null,[e(F,{"n-divider":"",style:{margin:"10px 0"}}),e(h,{type:"warning"},{default:a(()=>[y(" 解散分组「 "+Y(t.isCanvas?"滤镜":"滤镜 / 变换")+" 」也将消失!",1)]),_:1})],512),[[$,t.isGroup]]),e(o(D),{name:t.isCanvas?"滤镜":"滤镜 / 变换"},{header:a(()=>[e(U,{value:t.chartStyles.filterShow,"onUpdate:value":l[0]||(l[0]=n=>t.chartStyles.filterShow=n),size:"small"},null,8,["value"])]),default:a(()=>[e(o(i),{name:"色相",alone:!0},{default:a(()=>[e(o(u),{name:`值:${t.chartStyles.hueRotate}deg`},{default:a(()=>[e(r,{value:t.chartStyles.hueRotate,"onUpdate:value":l[1]||(l[1]=n=>t.chartStyles.hueRotate=n),step:3,min:0,max:360,"format-tooltip":w},null,8,["value"])]),_:1},8,["name"])]),_:1}),e(o(i),{name:"饱和度",alone:!0},{default:a(()=>[e(o(u),{name:`值:${(parseFloat(String(t.chartStyles.saturate))*100).toFixed(0)}%`},{default:a(()=>[e(r,{value:t.chartStyles.saturate,"onUpdate:value":l[2]||(l[2]=n=>t.chartStyles.saturate=n),step:.1,min:0,max:2,"format-tooltip":d},null,8,["value"])]),_:1},8,["name"])]),_:1}),e(o(i),{name:"对比度",alone:!0},{default:a(()=>[e(o(u),{name:`值:${(parseFloat(String(t.chartStyles.contrast))*100).toFixed(0)}%`},{default:a(()=>[e(r,{value:t.chartStyles.contrast,"onUpdate:value":l[3]||(l[3]=n=>t.chartStyles.contrast=n),step:.1,min:0,max:2,"format-tooltip":d},null,8,["value"])]),_:1},8,["name"])]),_:1}),e(o(i),{name:"亮度",alone:!0},{default:a(()=>[e(o(u),{name:`值:${(parseFloat(String(t.chartStyles.brightness))*100).toFixed(0)}%`},{default:a(()=>[e(r,{value:t.chartStyles.brightness,"onUpdate:value":l[4]||(l[4]=n=>t.chartStyles.brightness=n),step:.1,min:0,max:2,"format-tooltip":d},null,8,["value"])]),_:1},8,["name"])]),_:1}),e(o(i),{name:"透明度",alone:!0},{default:a(()=>[e(o(u),{name:`值:${(parseFloat(String(t.chartStyles.opacity))*100).toFixed(0)}%`},{default:a(()=>[e(r,{value:t.chartStyles.opacity,"onUpdate:value":l[5]||(l[5]=n=>t.chartStyles.opacity=n),step:.1,min:0,max:1,"format-tooltip":d},null,8,["value"])]),_:1},8,["name"])]),_:1}),t.isCanvas?c("",!0):(f(),S(o(i),{key:0,alone:!0},{name:a(()=>[e(g,null,{default:a(()=>[y("混合")]),_:1}),e(k,{trigger:"hover"},{trigger:a(()=>[e(b,{size:"21",depth:3},{default:a(()=>[e(o(x))]),_:1})]),default:a(()=>[e(g,null,{default:a(()=>[y("视频组件需要底色透明一般选中滤色")]),_:1})]),_:1})]),default:a(()=>[e(o(u),null,{default:a(()=>[e(C,{value:t.chartStyles.blendMode,"onUpdate:value":l[6]||(l[6]=n=>t.chartStyles.blendMode=n),size:"small",filterable:"",options:o(V)},null,8,["value","options"])]),_:1})]),_:1})),t.isCanvas?c("",!0):(f(),S(o(i),{key:1,name:"旋转°"},{default:a(()=>[e(o(u),{name:"Z轴(平面) - 旋转"},{default:a(()=>[e(m,{value:t.chartStyles.rotateZ,"onUpdate:value":l[7]||(l[7]=n=>t.chartStyles.rotateZ=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1}),e(o(u),{name:"X轴 - 旋转"},{default:a(()=>[e(m,{value:t.chartStyles.rotateX,"onUpdate:value":l[8]||(l[8]=n=>t.chartStyles.rotateX=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1}),e(o(u),{name:"Y轴 - 旋转"},{default:a(()=>[e(m,{value:t.chartStyles.rotateY,"onUpdate:value":l[9]||(l[9]=n=>t.chartStyles.rotateY=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1})]),_:1})),t.isCanvas?c("",!0):(f(),S(o(i),{key:2,name:"倾斜°"},{default:a(()=>[e(o(u),{name:"X轴 - 倾斜"},{default:a(()=>[e(m,{value:t.chartStyles.skewX,"onUpdate:value":l[10]||(l[10]=n=>t.chartStyles.skewX=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1}),e(o(u),{name:"Y轴 - 倾斜"},{default:a(()=>[e(m,{value:t.chartStyles.skewY,"onUpdate:value":l[11]||(l[11]=n=>t.chartStyles.skewY=n),min:0,max:360,size:"small",placeholder:"角度"},null,8,["value"])]),_:1})]),_:1})),e(h,{type:"warning"},{default:a(()=>[y(" 若预览时大屏模糊,可以尝试关闭滤镜进行修复 ")]),_:1})]),_:1},8,["name"])],64)}}});export{G as _};

View File

@ -1 +1 @@
import{h as c,c as o,o as _,s as n,x as a,n as s}from"./index-414f6242.js";const d=""+new URL("../svg/nodata-81174c59.svg",import.meta.url).href;const r={},t=e=>(n("data-v-38b9bb95"),e=e(),a(),e),i={class:"go-redirect-un-publish"},l=t(()=>s("div",{class:"text-center"},[s("img",{src:d,alt:""})],-1)),p=t(()=>s("div",{class:"text-center"},[s("h1",null,"当前项目暂未发布")],-1)),h=[l,p];function b(e,u){return _(),o("div",i,h)}const m=c(r,[["render",b],["__scopeId","data-v-38b9bb95"]]);export{m as default};
import{h as c,c as o,o as _,s as n,x as a,n as s}from"./index-4ec2ce15.js";const d=""+new URL("../svg/nodata-81174c59.svg",import.meta.url).href;const r={},t=e=>(n("data-v-38b9bb95"),e=e(),a(),e),i={class:"go-redirect-un-publish"},l=t(()=>s("div",{class:"text-center"},[s("img",{src:d,alt:""})],-1)),p=t(()=>s("div",{class:"text-center"},[s("h1",null,"当前项目暂未发布")],-1)),h=[l,p];function b(e,u){return _(),o("div",i,h)}const m=c(r,[["render",b],["__scopeId","data-v-38b9bb95"]]);export{m as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +1 @@
var h=Object.defineProperty;var s=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var r=(e,t,a)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))l.call(t,a)&&r(e,a,t[a]);if(s)for(var a of s(t))g.call(t,a)&&r(e,a,t[a]);return e};import{aj as p,aW as u,bk as y,ak as A}from"./index-414f6242.js";import{u as S}from"./chartEditStore-71df5cf8.js";var n=(e=>(e.SINGLE="single",e.DOUBLE="double",e))(n||{}),o=(e=>(e.THUMBNAIL="thumbnail",e.TEXT="text",e))(o||{}),C=(e=>(e.LAYERS="layers",e.CHARTS="charts",e.DETAILS="details",e.Chart_TYPE="chartType",e.LAYER_TYPE="layerType",e.PERCENTAGE="percentage",e.RE_POSITION_CANVAS="rePositionCanvas",e))(C||{});const L=S(),{GO_CHART_LAYOUT_STORE:c}=A,P=p(c),v=u({id:"useChartLayoutStore",state:()=>i({layers:!0,charts:!0,details:!1,chartType:n.SINGLE,layerType:o.THUMBNAIL,percentage:0,rePositionCanvas:!1},P),getters:{getLayers(){return this.layers},getCharts(){return this.charts},getDetails(){return this.details},getChartType(){return this.chartType},getLayerType(){return this.layerType},getPercentage(){return this.percentage},getRePositionCanvas(){return this.rePositionCanvas}},actions:{setItem(e,t,a=!0){this.$patch(T=>{T[e]=t}),y(c,this.$state),this.rePositionCanvas=!0,a&&setTimeout(()=>{L.computedScale()},500)},setItemUnHandle(e,t){this.$patch(a=>{a[e]=t})}}});export{C,o as L,n as a,v as u};
var h=Object.defineProperty;var s=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var r=(e,t,a)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))l.call(t,a)&&r(e,a,t[a]);if(s)for(var a of s(t))g.call(t,a)&&r(e,a,t[a]);return e};import{aj as p,aW as u,bk as y,ak as A}from"./index-4ec2ce15.js";import{u as S}from"./chartEditStore-bfc6c223.js";var n=(e=>(e.SINGLE="single",e.DOUBLE="double",e))(n||{}),o=(e=>(e.THUMBNAIL="thumbnail",e.TEXT="text",e))(o||{}),C=(e=>(e.LAYERS="layers",e.CHARTS="charts",e.DETAILS="details",e.Chart_TYPE="chartType",e.LAYER_TYPE="layerType",e.PERCENTAGE="percentage",e.RE_POSITION_CANVAS="rePositionCanvas",e))(C||{});const L=S(),{GO_CHART_LAYOUT_STORE:c}=A,P=p(c),v=u({id:"useChartLayoutStore",state:()=>i({layers:!0,charts:!0,details:!1,chartType:n.SINGLE,layerType:o.THUMBNAIL,percentage:0,rePositionCanvas:!1},P),getters:{getLayers(){return this.layers},getCharts(){return this.charts},getDetails(){return this.details},getChartType(){return this.chartType},getLayerType(){return this.layerType},getPercentage(){return this.percentage},getRePositionCanvas(){return this.rePositionCanvas}},actions:{setItem(e,t,a=!0){this.$patch(T=>{T[e]=t}),y(c,this.$state),this.rePositionCanvas=!0,a&&setTimeout(()=>{L.computedScale()},500)},setItemUnHandle(e,t){this.$patch(a=>{a[e]=t})}}});export{C,o as L,n as a,v as u};

View File

@ -1 +1 @@
var m=Object.defineProperty;var e=(r,o,f)=>o in r?m(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f;var i=(r,o,f)=>(e(r,typeof o!="symbol"?o+"":o,f),f);import{ac as t}from"./index-414f6242.js";import{e as a}from"./chartEditStore-71df5cf8.js";import{C as p}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const s={border:6,color:"#ffffff",bgColor:"#84a5e9",borderColor:"#ffffff"};class D extends a{constructor(){super(...arguments);i(this,"key",p.key);i(this,"chartConfig",t(p));i(this,"option",t(s))}}export{D as default,s as option};
var m=Object.defineProperty;var e=(r,o,f)=>o in r?m(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f;var i=(r,o,f)=>(e(r,typeof o!="symbol"?o+"":o,f),f);import{ac as t}from"./index-4ec2ce15.js";import{e as a}from"./chartEditStore-bfc6c223.js";import{C as p}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const s={border:6,color:"#ffffff",bgColor:"#84a5e9",borderColor:"#ffffff"};class D extends a{constructor(){super(...arguments);i(this,"key",p.key);i(this,"chartConfig",t(p));i(this,"option",t(s))}}export{D as default,s as option};

View File

@ -1 +1 @@
var s=Object.defineProperty,m=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var i=(p,e,o)=>e in p?s(p,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):p[e]=o,a=(p,e)=>{for(var o in e||(e={}))g.call(e,o)&&i(p,o,e[o]);if(r)for(var o of r(e))C.call(e,o)&&i(p,o,e[o]);return p},f=(p,e)=>m(p,d(e));var t=(p,e,o)=>(i(p,typeof e!="symbol"?e+"":e,o),o);import{aT as c,ac as l}from"./index-414f6242.js";import{e as h}from"./chartEditStore-71df5cf8.js";import{g as n}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const D={dataset:10*60,useEndDate:!1,endDate:new Date().getTime(),style:"时分秒",showDay:!1,flipperBgColor:"#16293E",flipperTextColor:"#4A9EF8FF",flipperWidth:30,flipperHeight:50,flipperRadius:5,flipperGap:10,flipperType:"down",flipperSpeed:450};class B extends h{constructor(){super(...arguments);t(this,"key",n.key);t(this,"attr",f(a({},c),{w:500,h:100,zIndex:-1}));t(this,"chartConfig",l(n));t(this,"option",l(D))}}export{B as default,D as option};
var s=Object.defineProperty,m=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var i=(p,e,o)=>e in p?s(p,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):p[e]=o,a=(p,e)=>{for(var o in e||(e={}))g.call(e,o)&&i(p,o,e[o]);if(r)for(var o of r(e))C.call(e,o)&&i(p,o,e[o]);return p},f=(p,e)=>m(p,d(e));var t=(p,e,o)=>(i(p,typeof e!="symbol"?e+"":e,o),o);import{aT as c,ac as l}from"./index-4ec2ce15.js";import{e as h}from"./chartEditStore-bfc6c223.js";import{g as n}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const D={dataset:10*60,useEndDate:!1,endDate:new Date().getTime(),style:"时分秒",showDay:!1,flipperBgColor:"#16293E",flipperTextColor:"#4A9EF8FF",flipperWidth:30,flipperHeight:50,flipperRadius:5,flipperGap:10,flipperType:"down",flipperSpeed:450};class B extends h{constructor(){super(...arguments);t(this,"key",n.key);t(this,"attr",f(a({},c),{w:500,h:100,zIndex:-1}));t(this,"chartConfig",l(n));t(this,"option",l(D))}}export{B as default,D as option};

View File

@ -1 +1 @@
var l=Object.defineProperty,c=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(t,o,i)=>o in t?l(t,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[o]=i,e=(t,o)=>{for(var i in o||(o={}))g.call(o,i)&&a(t,i,o[i]);if(p)for(var i of p(o))C.call(o,i)&&a(t,i,o[i]);return t},n=(t,o)=>c(t,f(o));var r=(t,o,i)=>(a(t,typeof o!="symbol"?o+"":o,i),i);import{aT as _,ac as m}from"./index-414f6242.js";import{e as d}from"./chartEditStore-71df5cf8.js";import{P as s}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const h={color_type:1,o_color:"#0a7ae2",i_color:"#119bfa",line_class:"svg_ani_flow"};class T extends d{constructor(){super(...arguments);r(this,"key",s.key);r(this,"attr",n(e({},_),{w:500,h:15,zIndex:-1}));r(this,"chartConfig",m(s));r(this,"option",m(h))}}export{T as default,h as option};
var l=Object.defineProperty,c=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(t,o,i)=>o in t?l(t,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[o]=i,e=(t,o)=>{for(var i in o||(o={}))g.call(o,i)&&a(t,i,o[i]);if(p)for(var i of p(o))C.call(o,i)&&a(t,i,o[i]);return t},n=(t,o)=>c(t,f(o));var r=(t,o,i)=>(a(t,typeof o!="symbol"?o+"":o,i),i);import{aT as _,ac as m}from"./index-4ec2ce15.js";import{e as d}from"./chartEditStore-bfc6c223.js";import{P as s}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const h={color_type:1,o_color:"#0a7ae2",i_color:"#119bfa",line_class:"svg_ani_flow"};class T extends d{constructor(){super(...arguments);r(this,"key",s.key);r(this,"attr",n(e({},_),{w:500,h:15,zIndex:-1}));r(this,"chartConfig",m(s));r(this,"option",m(h))}}export{T as default,h as option};

View File

@ -1 +1 @@
var f=Object.defineProperty;var m=(r,o,e)=>o in r?f(r,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[o]=e;var i=(r,o,e)=>(m(r,typeof o!="symbol"?o+"":o,e),e);import{ac as t}from"./index-414f6242.js";import{e as a}from"./chartEditStore-71df5cf8.js";import{N as p}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const s={dataset:1e5,from:0,dur:3,precision:0,showSeparator:!0,numberSize:34,numberColor:"#4a9ef8",prefixText:"¥",prefixColor:"#4a9ef8",suffixText:"元",suffixColor:"#4a9ef8"};class N extends a{constructor(){super(...arguments);i(this,"key",p.key);i(this,"chartConfig",t(p));i(this,"option",t(s))}}export{N as default,s as option};
var f=Object.defineProperty;var m=(r,o,e)=>o in r?f(r,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[o]=e;var i=(r,o,e)=>(m(r,typeof o!="symbol"?o+"":o,e),e);import{ac as t}from"./index-4ec2ce15.js";import{e as a}from"./chartEditStore-bfc6c223.js";import{N as p}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const s={dataset:1e5,from:0,dur:3,precision:0,showSeparator:!0,numberSize:34,numberColor:"#4a9ef8",prefixText:"¥",prefixColor:"#4a9ef8",suffixText:"元",suffixColor:"#4a9ef8"};class N extends a{constructor(){super(...arguments);i(this,"key",p.key);i(this,"chartConfig",t(p));i(this,"option",t(s))}}export{N as default,s as option};

View File

@ -1 +1 @@
var c=Object.defineProperty,f=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var a=(i,o,t)=>o in i?c(i,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[o]=t,e=(i,o)=>{for(var t in o||(o={}))C.call(o,t)&&a(i,t,o[t]);if(p)for(var t of p(o))g.call(o,t)&&a(i,t,o[t]);return i},m=(i,o)=>f(i,l(o));var r=(i,o,t)=>(a(i,typeof o!="symbol"?o+"":o,t),t);import{aT as d,ac as n}from"./index-414f6242.js";import{e as h}from"./chartEditStore-71df5cf8.js";import{i as s}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const u={dataset:"uim:apple",color:"#03A9F4",size:64,rotate:0};class j extends h{constructor(){super(...arguments);r(this,"key",s.key);r(this,"attr",m(e({},d),{w:64,h:64,zIndex:1}));r(this,"chartConfig",n(s));r(this,"option",n(u))}}export{j as default,u as option};
var c=Object.defineProperty,f=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var a=(i,o,t)=>o in i?c(i,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[o]=t,e=(i,o)=>{for(var t in o||(o={}))C.call(o,t)&&a(i,t,o[t]);if(p)for(var t of p(o))g.call(o,t)&&a(i,t,o[t]);return i},m=(i,o)=>f(i,l(o));var r=(i,o,t)=>(a(i,typeof o!="symbol"?o+"":o,t),t);import{aT as d,ac as n}from"./index-4ec2ce15.js";import{e as h}from"./chartEditStore-bfc6c223.js";import{i as s}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const u={dataset:"uim:apple",color:"#03A9F4",size:64,rotate:0};class j extends h{constructor(){super(...arguments);r(this,"key",s.key);r(this,"attr",m(e({},d),{w:64,h:64,zIndex:1}));r(this,"chartConfig",n(s));r(this,"option",n(u))}}export{j as default,u as option};

View File

@ -1 +1 @@
var n=Object.defineProperty,s=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var t=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var e=(r,p,i)=>p in r?n(r,p,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[p]=i,f=(r,p)=>{for(var i in p||(p={}))g.call(p,i)&&e(r,i,p[i]);if(t)for(var i of t(p))C.call(p,i)&&e(r,i,p[i]);return r},l=(r,p)=>s(r,d(p));var o=(r,p,i)=>(e(r,typeof p!="symbol"?p+"":p,i),i);import{aT as c,ac as a}from"./index-414f6242.js";import{e as h}from"./chartEditStore-71df5cf8.js";import{F as m}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const F={dataset:3234,flipperLength:6,flipperBgColor:"#16293E",flipperTextColor:"#4A9EF8FF",flipperWidth:30,flipperHeight:50,flipperRadius:5,flipperGap:10,flipperType:"down",flipperSpeed:450,flipperBorderWidth:0};class A extends h{constructor(){super(...arguments);o(this,"key",m.key);o(this,"attr",l(f({},c),{w:300,h:100,zIndex:-1}));o(this,"chartConfig",a(m));o(this,"option",a(F))}}export{A as default,F as option};
var n=Object.defineProperty,s=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var t=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var e=(r,p,i)=>p in r?n(r,p,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[p]=i,f=(r,p)=>{for(var i in p||(p={}))g.call(p,i)&&e(r,i,p[i]);if(t)for(var i of t(p))C.call(p,i)&&e(r,i,p[i]);return r},l=(r,p)=>s(r,d(p));var o=(r,p,i)=>(e(r,typeof p!="symbol"?p+"":p,i),i);import{aT as c,ac as a}from"./index-4ec2ce15.js";import{e as h}from"./chartEditStore-bfc6c223.js";import{F as m}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const F={dataset:3234,flipperLength:6,flipperBgColor:"#16293E",flipperTextColor:"#4A9EF8FF",flipperWidth:30,flipperHeight:50,flipperRadius:5,flipperGap:10,flipperType:"down",flipperSpeed:450,flipperBorderWidth:0};class A extends h{constructor(){super(...arguments);o(this,"key",m.key);o(this,"attr",l(f({},c),{w:300,h:100,zIndex:-1}));o(this,"chartConfig",a(m));o(this,"option",a(F))}}export{A as default,F as option};

View File

@ -1 +1 @@
var m=Object.defineProperty;var n=(t,o,e)=>o in t?m(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e;var i=(t,o,e)=>(n(t,typeof o!="symbol"?o+"":o,e),e);import{ac as r}from"./index-414f6242.js";import{e as p}from"./chartEditStore-71df5cf8.js";import{y as a}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const s=[["行1列1","行1列2","行1列3"],["行2列1","行2列2","行2列3"],["行3列1","行3列2","行3列3"],["行4列1","行4列2","行4列3"],["行5列1","行5列2","行5列3"],["行6列1","行6列2","行6列3"],["行7列1","行7列2","行7列3"],["行8列1","行8列2","行8列3"],["行9列1","行9列2","行9列3"],["行10列1","行10列2","行10列3"]],d={header:["列1","列2","列3"],dataset:s,index:!0,columnWidth:[30,100,100],align:["center","right","right","right"],rowNum:5,waitTime:2,headerHeight:35,carousel:"single",headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732"};class b extends p{constructor(){super(...arguments);i(this,"key",a.key);i(this,"chartConfig",r(a));i(this,"option",r(d))}}export{b as default,d as option};
var m=Object.defineProperty;var n=(t,o,e)=>o in t?m(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e;var i=(t,o,e)=>(n(t,typeof o!="symbol"?o+"":o,e),e);import{ac as r}from"./index-4ec2ce15.js";import{e as p}from"./chartEditStore-bfc6c223.js";import{y as a}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const s=[["行1列1","行1列2","行1列3"],["行2列1","行2列2","行2列3"],["行3列1","行3列2","行3列3"],["行4列1","行4列2","行4列3"],["行5列1","行5列2","行5列3"],["行6列1","行6列2","行6列3"],["行7列1","行7列2","行7列3"],["行8列1","行8列2","行8列3"],["行9列1","行9列2","行9列3"],["行10列1","行10列2","行10列3"]],d={header:["列1","列2","列3"],dataset:s,index:!0,columnWidth:[30,100,100],align:["center","right","right","right"],rowNum:5,waitTime:2,headerHeight:35,carousel:"single",headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732"};class b extends p{constructor(){super(...arguments);i(this,"key",a.key);i(this,"chartConfig",r(a));i(this,"option",r(d))}}export{b as default,d as option};

View File

@ -1 +1 @@
var l=Object.defineProperty,c=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var i=(o,t,a)=>t in o?l(o,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[t]=a,r=(o,t)=>{for(var a in t||(t={}))C.call(t,a)&&i(o,a,t[a]);if(n)for(var a of n(t))T.call(t,a)&&i(o,a,t[a]);return o},s=(o,t)=>c(o,f(t));var e=(o,t,a)=>(i(o,typeof t!="symbol"?t+"":t,a),a);import{aT as b,ac as p,cK as u}from"./index-414f6242.js";import{e as E}from"./chartEditStore-71df5cf8.js";import{r as m,s as g,t as A}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const I={[u]:A.DATA,tabLabel:"选项1",tabType:"segment",dataset:[{label:"选项1",value:"1"},{label:"选项2",value:"2"},{label:"选项3",value:"3"}]};class w extends E{constructor(){super(...arguments);e(this,"key",m.key);e(this,"attr",s(r({},b),{w:460,h:32,zIndex:-1}));e(this,"chartConfig",p(m));e(this,"interactActions",g);e(this,"option",p(I))}}export{w as default,I as option};
var l=Object.defineProperty,c=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var i=(o,t,a)=>t in o?l(o,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[t]=a,r=(o,t)=>{for(var a in t||(t={}))C.call(t,a)&&i(o,a,t[a]);if(n)for(var a of n(t))T.call(t,a)&&i(o,a,t[a]);return o},s=(o,t)=>c(o,f(t));var e=(o,t,a)=>(i(o,typeof t!="symbol"?t+"":t,a),a);import{aT as b,ac as p,cK as u}from"./index-4ec2ce15.js";import{e as E}from"./chartEditStore-bfc6c223.js";import{r as m,s as g,t as A}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const I={[u]:A.DATA,tabLabel:"选项1",tabType:"segment",dataset:[{label:"选项1",value:"1"},{label:"选项2",value:"2"},{label:"选项3",value:"3"}]};class w extends E{constructor(){super(...arguments);e(this,"key",m.key);e(this,"attr",s(r({},b),{w:460,h:32,zIndex:-1}));e(this,"chartConfig",p(m));e(this,"interactActions",g);e(this,"option",p(I))}}export{w as default,I as option};

View File

@ -1 +1 @@
var m=Object.defineProperty,c=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var i=(a,t,o)=>t in a?m(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o,r=(a,t)=>{for(var o in t||(t={}))C.call(t,o)&&i(a,o,t[o]);if(n)for(var o of n(t))u.call(t,o)&&i(a,o,t[o]);return a},s=(a,t)=>c(a,f(t));var e=(a,t,o)=>(i(a,typeof t!="symbol"?t+"":t,o),o);import{aT as E,ac as p,cK as T}from"./index-414f6242.js";import{e as g}from"./chartEditStore-71df5cf8.js";import{o as l,p as A,q as I}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const b={[T]:I.DATA,selectValue:"1",dataset:[{label:"选项1",value:"1"},{label:"选项2",value:"2"},{label:"选项3",value:"3"}]};class V extends g{constructor(){super(...arguments);e(this,"key",l.key);e(this,"attr",s(r({},E),{w:260,h:32,zIndex:-1}));e(this,"chartConfig",p(l));e(this,"interactActions",A);e(this,"option",p(b))}}export{V as default,b as option};
var m=Object.defineProperty,c=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var i=(a,t,o)=>t in a?m(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o,r=(a,t)=>{for(var o in t||(t={}))C.call(t,o)&&i(a,o,t[o]);if(n)for(var o of n(t))u.call(t,o)&&i(a,o,t[o]);return a},s=(a,t)=>c(a,f(t));var e=(a,t,o)=>(i(a,typeof t!="symbol"?t+"":t,o),o);import{aT as E,ac as p,cK as T}from"./index-4ec2ce15.js";import{e as g}from"./chartEditStore-bfc6c223.js";import{o as l,p as A,q as I}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const b={[T]:I.DATA,selectValue:"1",dataset:[{label:"选项1",value:"1"},{label:"选项2",value:"2"},{label:"选项3",value:"3"}]};class V extends g{constructor(){super(...arguments);e(this,"key",l.key);e(this,"attr",s(r({},E),{w:260,h:32,zIndex:-1}));e(this,"chartConfig",p(l));e(this,"interactActions",A);e(this,"option",p(b))}}export{V as default,b as option};

View File

@ -1 +1 @@
var c=Object.defineProperty,f=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var n=(a,t,o)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o,r=(a,t)=>{for(var o in t||(t={}))l.call(t,o)&&n(a,o,t[o]);if(e)for(var o of e(t))E.call(t,o)&&n(a,o,t[o]);return a},s=(a,t)=>f(a,C(t));var i=(a,t,o)=>(n(a,typeof t!="symbol"?t+"":t,o),o);import{j as m,k as T,m as d,n as u}from"./index-3e379f1f.js";import{aT as g,ac as p,cK as I}from"./index-414f6242.js";import{e as A}from"./chartEditStore-71df5cf8.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./icon-42145a57.js";import"./index.esm.min-6f206398.js";import"./plugin-614116ba.js";import"./fileTypeEnum-21359a08.js";const N={[I]:d.DATE,isPanel:0,dataset:u().valueOf(),differValue:0};class b extends A{constructor(){super(...arguments);i(this,"key",m.key);i(this,"attr",s(r({},g),{w:260,h:32,zIndex:-1}));i(this,"chartConfig",p(m));i(this,"interactActions",T);i(this,"option",p(N))}}export{b as default,N as option};
var c=Object.defineProperty,f=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var n=(a,t,o)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o,r=(a,t)=>{for(var o in t||(t={}))l.call(t,o)&&n(a,o,t[o]);if(e)for(var o of e(t))E.call(t,o)&&n(a,o,t[o]);return a},s=(a,t)=>f(a,C(t));var i=(a,t,o)=>(n(a,typeof t!="symbol"?t+"":t,o),o);import{j as m,k as T,m as d,n as u}from"./index-96c3a075.js";import{aT as g,ac as p,cK as I}from"./index-4ec2ce15.js";import{e as A}from"./chartEditStore-bfc6c223.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./icon-42fa39e7.js";import"./index.esm.min-2eecdcbd.js";import"./plugin-ae137233.js";import"./fileTypeEnum-21359a08.js";const N={[I]:d.DATE,isPanel:0,dataset:u().valueOf(),differValue:0};class b extends A{constructor(){super(...arguments);i(this,"key",m.key);i(this,"attr",s(r({},g),{w:260,h:32,zIndex:-1}));i(this,"chartConfig",p(m));i(this,"interactActions",T);i(this,"option",p(N))}}export{b as default,N as option};

View File

@ -1 +1 @@
var l=Object.defineProperty,c=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(t,o,i)=>o in t?l(t,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[o]=i,e=(t,o)=>{for(var i in o||(o={}))g.call(o,i)&&a(t,i,o[i]);if(p)for(var i of p(o))C.call(o,i)&&a(t,i,o[i]);return t},n=(t,o)=>c(t,f(o));var r=(t,o,i)=>(a(t,typeof o!="symbol"?o+"":o,i),i);import{aT as _,ac as m}from"./index-414f6242.js";import{e as h}from"./chartEditStore-71df5cf8.js";import{h as s}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const d={color_type:1,o_color:"#0a7ae2",i_color:"#119bfa",line_class:"svg_ani_flow"};class V extends h{constructor(){super(...arguments);r(this,"key",s.key);r(this,"attr",n(e({},_),{w:15,h:500,zIndex:-1}));r(this,"chartConfig",m(s));r(this,"option",m(d))}}export{V as default,d as option};
var l=Object.defineProperty,c=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(t,o,i)=>o in t?l(t,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[o]=i,e=(t,o)=>{for(var i in o||(o={}))g.call(o,i)&&a(t,i,o[i]);if(p)for(var i of p(o))C.call(o,i)&&a(t,i,o[i]);return t},n=(t,o)=>c(t,f(o));var r=(t,o,i)=>(a(t,typeof o!="symbol"?o+"":o,i),i);import{aT as _,ac as m}from"./index-4ec2ce15.js";import{e as h}from"./chartEditStore-bfc6c223.js";import{h as s}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const d={color_type:1,o_color:"#0a7ae2",i_color:"#119bfa",line_class:"svg_ani_flow"};class V extends h{constructor(){super(...arguments);r(this,"key",s.key);r(this,"attr",n(e({},_),{w:15,h:500,zIndex:-1}));r(this,"chartConfig",m(s));r(this,"option",m(d))}}export{V as default,d as option};

View File

@ -1 +1 @@
var E=Object.defineProperty,N=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var r=(e,a,t)=>a in e?E(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,o=(e,a)=>{for(var t in a||(a={}))c.call(a,t)&&r(e,t,a[t]);if(m)for(var t of m(a))d.call(a,t)&&r(e,t,a[t]);return e},i=(e,a)=>N(e,f(a));var n=(e,a,t)=>(r(e,typeof a!="symbol"?a+"":a,t),t);import{aT as y,ac as s}from"./index-414f6242.js";import{e as C}from"./chartEditStore-71df5cf8.js";import{T as p}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const g=[{startArray:{name:"杭州",N:30.246026,E:120.210792},endArray:[{name:"曼谷",N:22,E:100.49074172973633},{name:"澳大利亚",N:-23.68477416688374,E:133.857421875},{name:"新疆维吾尔自治区",N:41.748,E:84.9023},{name:"德黑兰",N:35,E:51},{name:"德黑兰",N:35,E:51},{name:"美国",N:34.125447565116126,E:241.7431640625},{name:"英国",N:51.508742458803326,E:359.82421875},{name:"巴西",N:-9.96885060854611,E:668.1445312499999}]},{startArray:{name:"北京",N:39.89491,E:116.322056},endArray:[{name:"西藏",N:29.660361,E:91.132212},{name:"广西",N:22.830824,E:108.30616},{name:"江西",N:28.676493,E:115.892151},{name:"贵阳",N:26.647661,E:106.630153}]}],h={dataset:g};class P extends C{constructor(){super(...arguments);n(this,"key",p.key);n(this,"attr",i(o({},y),{w:800,h:800,zIndex:-1}));n(this,"chartConfig",s(p));n(this,"option",s(h))}}export{P as default,h as option};
var E=Object.defineProperty,N=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var r=(e,a,t)=>a in e?E(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,o=(e,a)=>{for(var t in a||(a={}))c.call(a,t)&&r(e,t,a[t]);if(m)for(var t of m(a))d.call(a,t)&&r(e,t,a[t]);return e},i=(e,a)=>N(e,f(a));var n=(e,a,t)=>(r(e,typeof a!="symbol"?a+"":a,t),t);import{aT as y,ac as s}from"./index-4ec2ce15.js";import{e as C}from"./chartEditStore-bfc6c223.js";import{T as p}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const g=[{startArray:{name:"杭州",N:30.246026,E:120.210792},endArray:[{name:"曼谷",N:22,E:100.49074172973633},{name:"澳大利亚",N:-23.68477416688374,E:133.857421875},{name:"新疆维吾尔自治区",N:41.748,E:84.9023},{name:"德黑兰",N:35,E:51},{name:"德黑兰",N:35,E:51},{name:"美国",N:34.125447565116126,E:241.7431640625},{name:"英国",N:51.508742458803326,E:359.82421875},{name:"巴西",N:-9.96885060854611,E:668.1445312499999}]},{startArray:{name:"北京",N:39.89491,E:116.322056},endArray:[{name:"西藏",N:29.660361,E:91.132212},{name:"广西",N:22.830824,E:108.30616},{name:"江西",N:28.676493,E:115.892151},{name:"贵阳",N:26.647661,E:106.630153}]}],h={dataset:g};class P extends C{constructor(){super(...arguments);n(this,"key",p.key);n(this,"attr",i(o({},y),{w:800,h:800,zIndex:-1}));n(this,"chartConfig",s(p));n(this,"option",s(h))}}export{P as default,h as option};

View File

@ -1 +1 @@
var e=Object.defineProperty;var a=(t,o,i)=>o in t?e(t,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[o]=i;var r=(t,o,i)=>(a(t,typeof o!="symbol"?o+"":o,i),i);import{ac as p}from"./index-414f6242.js";import{e as n}from"./chartEditStore-71df5cf8.js";import{w as m}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const s=""+new URL("../png/logo.png",import.meta.url).href,f={dataset:s,fit:"contain",borderRadius:10};class R extends n{constructor(){super(...arguments);r(this,"key",m.key);r(this,"chartConfig",p(m));r(this,"option",p(f))}}export{R as default,f as option};
var e=Object.defineProperty;var a=(t,o,i)=>o in t?e(t,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[o]=i;var r=(t,o,i)=>(a(t,typeof o!="symbol"?o+"":o,i),i);import{ac as p}from"./index-4ec2ce15.js";import{e as n}from"./chartEditStore-bfc6c223.js";import{w as m}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const s=""+new URL("../png/logo.png",import.meta.url).href,f={dataset:s,fit:"contain",borderRadius:10};class R extends n{constructor(){super(...arguments);r(this,"key",m.key);r(this,"chartConfig",p(m));r(this,"option",p(f))}}export{R as default,f as option};

View File

@ -1 +1 @@
var f=Object.defineProperty,c=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var a=(i,o,t)=>o in i?f(i,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[o]=t,p=(i,o)=>{for(var t in o||(o={}))g.call(o,t)&&a(i,t,o[t]);if(m)for(var t of m(o))l.call(o,t)&&a(i,t,o[t]);return i},e=(i,o)=>c(i,d(o));var r=(i,o,t)=>(a(i,typeof o!="symbol"?o+"":o,t),t);import{aT as C,ac as n}from"./index-414f6242.js";import{e as u}from"./chartEditStore-71df5cf8.js";import{v as s}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const h={dataset:"https://www.mtruning.club/",borderRadius:10};class j extends u{constructor(){super(...arguments);r(this,"key",s.key);r(this,"attr",e(p({},C),{w:1200,h:800,zIndex:-1}));r(this,"chartConfig",n(s));r(this,"option",n(h))}}export{j as default,h as option};
var f=Object.defineProperty,c=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var a=(i,o,t)=>o in i?f(i,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[o]=t,p=(i,o)=>{for(var t in o||(o={}))g.call(o,t)&&a(i,t,o[t]);if(m)for(var t of m(o))l.call(o,t)&&a(i,t,o[t]);return i},e=(i,o)=>c(i,d(o));var r=(i,o,t)=>(a(i,typeof o!="symbol"?o+"":o,t),t);import{aT as C,ac as n}from"./index-4ec2ce15.js";import{e as u}from"./chartEditStore-bfc6c223.js";import{v as s}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const h={dataset:"https://www.mtruning.club/",borderRadius:10};class j extends u{constructor(){super(...arguments);r(this,"key",s.key);r(this,"attr",e(p({},C),{w:1200,h:800,zIndex:-1}));r(this,"chartConfig",n(s));r(this,"option",n(h))}}export{j as default,h as option};

View File

@ -1 +1 @@
var m=Object.defineProperty;var i=(e,a,o)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o;var t=(e,a,o)=>(i(e,typeof a!="symbol"?a+"":a,o),o);import{ac as n}from"./index-414f6242.js";import{e as l}from"./chartEditStore-71df5cf8.js";import{x as r}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const u=[{name:"荣成",value:26700},{name:"河南",value:20700},{name:"河北",value:18700},{name:"徐州",value:17800},{name:"漯河",value:16756},{name:"三门峡",value:12343},{name:"郑州",value:9822},{name:"周口",value:8912},{name:"濮阳",value:6834},{name:"信阳",value:5875},{name:"新乡",value:3832},{name:"大同",value:1811}],s={dataset:u,rowNum:5,waitTime:2,unit:"",sort:!0,color:"#1370fb",textColor:"#CDD2F8FF",borderColor:"#1370fb80",carousel:"single",indexFontSize:12,leftFontSize:12,rightFontSize:12,valueFormatter(e){return e.value}};class S extends l{constructor(){super(...arguments);t(this,"key",r.key);t(this,"chartConfig",n(r));t(this,"option",n(s))}}export{S as default,s as option};
var m=Object.defineProperty;var i=(e,a,o)=>a in e?m(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o;var t=(e,a,o)=>(i(e,typeof a!="symbol"?a+"":a,o),o);import{ac as n}from"./index-4ec2ce15.js";import{e as l}from"./chartEditStore-bfc6c223.js";import{x as r}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const u=[{name:"荣成",value:26700},{name:"河南",value:20700},{name:"河北",value:18700},{name:"徐州",value:17800},{name:"漯河",value:16756},{name:"三门峡",value:12343},{name:"郑州",value:9822},{name:"周口",value:8912},{name:"濮阳",value:6834},{name:"信阳",value:5875},{name:"新乡",value:3832},{name:"大同",value:1811}],s={dataset:u,rowNum:5,waitTime:2,unit:"",sort:!0,color:"#1370fb",textColor:"#CDD2F8FF",borderColor:"#1370fb80",carousel:"single",indexFontSize:12,leftFontSize:12,rightFontSize:12,valueFormatter(e){return e.value}};class S extends l{constructor(){super(...arguments);t(this,"key",r.key);t(this,"chartConfig",n(r));t(this,"option",n(s))}}export{S as default,s as option};

View File

@ -1,4 +1,4 @@
var Le=Object.defineProperty;var Fe=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(Fe(e,typeof n!="symbol"?n+"":n,i),i);import{m as je}from"./EditorWorker-a0040853.js";import"./index-414f6242.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
var Le=Object.defineProperty;var Fe=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(Fe(e,typeof n!="symbol"?n+"":n,i),i);import{m as je}from"./EditorWorker-43e8cbc4.js";import"./index-4ec2ce15.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license

BIN
dist/static/js/cssMode-2c4825fd.js.gz vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
var $=Object.defineProperty,v=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var f=(t,n,_)=>n in t?$(t,n,{enumerable:!0,configurable:!0,writable:!0,value:_}):t[n]=_,i=(t,n)=>{for(var _ in n||(n={}))D.call(n,_)&&f(t,_,n[_]);if(m)for(var _ of m(n))B.call(n,_)&&f(t,_,n[_]);return t},d=(t,n)=>v(t,E(n));import{m as C}from"./EditorWorker-a0040853.js";import"./index-414f6242.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
var $=Object.defineProperty,v=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var f=(t,n,_)=>n in t?$(t,n,{enumerable:!0,configurable:!0,writable:!0,value:_}):t[n]=_,i=(t,n)=>{for(var _ in n||(n={}))D.call(n,_)&&f(t,_,n[_]);if(m)for(var _ of m(n))B.call(n,_)&&f(t,_,n[_]);return t},d=(t,n)=>v(t,E(n));import{m as C}from"./EditorWorker-43e8cbc4.js";import"./index-4ec2ce15.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{m as i}from"./EditorWorker-a0040853.js";import"./index-414f6242.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
import{m as i}from"./EditorWorker-43e8cbc4.js";import"./index-4ec2ce15.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license

View File

@ -1,4 +1,4 @@
import{m as s}from"./EditorWorker-a0040853.js";import"./index-414f6242.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
import{m as s}from"./EditorWorker-43e8cbc4.js";import"./index-4ec2ce15.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license

Binary file not shown.

View File

@ -1,4 +1,4 @@
var Be=Object.defineProperty;var $e=(e,n,i)=>n in e?Be(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>($e(e,typeof n!="symbol"?n+"":n,i),i);import{m as qe}from"./EditorWorker-a0040853.js";import"./index-414f6242.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
var Be=Object.defineProperty;var $e=(e,n,i)=>n in e?Be(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>($e(e,typeof n!="symbol"?n+"":n,i),i);import{m as qe}from"./EditorWorker-43e8cbc4.js";import"./index-4ec2ce15.js";import"./editorWorker-43a98755.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license

BIN
dist/static/js/htmlMode-c8355c7d.js.gz vendored Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
dist/static/js/icon-42fa39e7.js.gz vendored Normal file

Binary file not shown.

View File

@ -1 +1 @@
var J=Object.defineProperty;var G=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var j=(a,s,t)=>s in a?J(a,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[s]=t,E=(a,s)=>{for(var t in s||(s={}))K.call(s,t)&&j(a,t,s[t]);if(G)for(var t of G(s))Q.call(s,t)&&j(a,t,s[t]);return a};var N=(a,s,t)=>new Promise((I,w)=>{var m=i=>{try{f(t.next(i))}catch(v){w(v)}},R=i=>{try{f(t.throw(i))}catch(v){w(v)}},f=i=>i.done?I(i.value):Promise.resolve(i.value).then(m,R);f((t=t.apply(a,s)).next())});import{d as X,j as k,a8 as D,B as Z,b8 as ee,a1 as te,r as _,o as S,c as V,b as o,w as e,F as $,q as oe,D as z,E as se,n as ne,t as A,e as h,u as F,aL as ae,R as re,a9 as ce,Y as L,M as le,b9 as ie,aj as ue,ak as C,aI as x,N as pe,h as de}from"./index-414f6242.js";import{u as _e}from"./index-6b001454.js";import{u as me,P as fe}from"./chartEditStore-71df5cf8.js";import{s as ve}from"./useSyncUpdate.hook-1176d557.js";import{a as ye}from"./project.api-d17fa7c6.js";import{i as he}from"./icon-42145a57.js";import{l as we}from"./index-3e379f1f.js";import"./plugin-614116ba.js";import"./useSync.hook-02ee83df.js";import"./chartLayoutStore-5945c8c3.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const ge=X({__name:"index",setup(a){const{BrowsersOutlineIcon:s,SendIcon:t,AnalyticsIcon:I,CloseIcon:w}=he.ionicons5,m=me(),R=k(D()),{copy:f,isSupported:i}=_e({source:R}),v=Z(),y=k(!1),p=k(!1);ee(()=>{p.value=m.getProjectInfo.release||!1});const b=()=>{y.value=!1},M=()=>{const n=le(ie.CHART_PREVIEW_NAME,"href");if(!n)return;const{id:r}=v.params,c=typeof r=="string"?r:r[0],u=m.getStorageInfo,l=ue(C.GO_CHART_STORAGE_LIST)||[];if(l!=null&&l.length){const g=l.findIndex(T=>T.id===c);g!==-1?(l.splice(g,1,E({id:c},u)),x(C.GO_CHART_STORAGE_LIST,l)):(l.push(E({id:c},u)),x(C.GO_CHART_STORAGE_LIST,l))}else x(C.GO_CHART_STORAGE_LIST,[E({id:c},u)]);pe(n,[c],void 0,!0)},P=()=>{y.value=!y.value},H=(n,r)=>{i?(f(),window.$message.success(n||"复制成功!")):window.$message.error(r||"复制失败!")},U=()=>N(this,null,function*(){const n=yield ye({id:ae(),state:p.value?-1:1});n&&n.code===re.SUCCESS?(P(),p.value?window.$message.success("已取消发布"):H("发布成功!已复制地址到剪贴板~","发布成功!"),m.setProjectInfo(fe.RELEASE,!p.value)):ce()}),B=[{select:!0,title:()=>"同步内容",type:()=>"primary",icon:L(I),event:ve},{key:"preview",title:()=>"预览",type:()=>"default",icon:L(s),event:M},{key:"release",title:()=>p.value?"已发布":"发布",icon:L(t),type:()=>p.value?"primary":"default",event:P}],q=te(()=>{if(m.getEditCanvas.isCodeEdit)return B;const n=we.cloneDeep(B);return n.shift(),n});return(n,r)=>{const c=_("n-button"),u=_("n-space"),l=_("n-h3"),g=_("n-icon"),T=_("n-alert"),O=_("n-list-item"),W=_("n-list"),Y=_("n-modal");return S(),V($,null,[o(u,{class:"go-mt-0"},{default:e(()=>[(S(!0),V($,null,oe(q.value,d=>(S(),z(c,{key:d.key,type:d.type(),ghost:"",onClick:d.event},{icon:e(()=>[(S(),z(se(d.icon)))]),default:e(()=>[ne("span",null,A(d.title()),1)]),_:2},1032,["type","onClick"]))),128))]),_:1}),o(Y,{show:y.value,"onUpdate:show":r[1]||(r[1]=d=>y.value=d),onAfterLeave:b},{default:e(()=>[o(W,{bordered:"",class:"go-system-setting"},{header:e(()=>[o(u,{justify:"space-between"},{default:e(()=>[o(l,{class:"go-mb-0"},{default:e(()=>[h("发布管理")]),_:1}),o(g,{size:"20",class:"go-cursor-pointer",onClick:b},{default:e(()=>[o(F(w))]),_:1})]),_:1})]),default:e(()=>[o(O,null,{default:e(()=>[o(u,{size:10},{default:e(()=>[o(T,{"show-icon":!1,title:"预览地址:",type:"success"},{default:e(()=>[h(A(F(D)()),1)]),_:1}),o(u,{vertical:""},{default:e(()=>[o(c,{tertiary:"",type:"primary",onClick:r[0]||(r[0]=d=>H())},{default:e(()=>[h(" 复制地址 ")]),_:1}),o(c,{type:p.value?"warning":"primary",onClick:U},{default:e(()=>[h(A(p.value?"取消发布":"发布大屏"),1)]),_:1},8,["type"])]),_:1})]),_:1})]),_:1}),o(O,null,{default:e(()=>[o(u,{size:10},{default:e(()=>[o(c,{onClick:P},{default:e(()=>[h("关闭弹窗")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["show"])],64)}}});const Ne=de(ge,[["__scopeId","data-v-5e37a913"]]);export{Ne as default};
var J=Object.defineProperty;var G=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var j=(a,s,t)=>s in a?J(a,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[s]=t,E=(a,s)=>{for(var t in s||(s={}))K.call(s,t)&&j(a,t,s[t]);if(G)for(var t of G(s))Q.call(s,t)&&j(a,t,s[t]);return a};var N=(a,s,t)=>new Promise((I,w)=>{var m=i=>{try{f(t.next(i))}catch(v){w(v)}},R=i=>{try{f(t.throw(i))}catch(v){w(v)}},f=i=>i.done?I(i.value):Promise.resolve(i.value).then(m,R);f((t=t.apply(a,s)).next())});import{d as X,j as k,a8 as D,B as Z,b8 as ee,a1 as te,r as _,o as S,c as V,b as o,w as e,F as $,q as oe,D as z,E as se,n as ne,t as A,e as h,u as F,aL as ae,R as re,a9 as ce,Y as L,M as le,b9 as ie,aj as ue,ak as C,aI as x,N as pe,h as de}from"./index-4ec2ce15.js";import{u as _e}from"./index-64867e41.js";import{u as me,P as fe}from"./chartEditStore-bfc6c223.js";import{s as ve}from"./useSyncUpdate.hook-4756cfae.js";import{a as ye}from"./project.api-0931840b.js";import{i as he}from"./icon-42fa39e7.js";import{l as we}from"./index-96c3a075.js";import"./plugin-ae137233.js";import"./useSync.hook-dcdbd18a.js";import"./chartLayoutStore-810503fe.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const ge=X({__name:"index",setup(a){const{BrowsersOutlineIcon:s,SendIcon:t,AnalyticsIcon:I,CloseIcon:w}=he.ionicons5,m=me(),R=k(D()),{copy:f,isSupported:i}=_e({source:R}),v=Z(),y=k(!1),p=k(!1);ee(()=>{p.value=m.getProjectInfo.release||!1});const b=()=>{y.value=!1},M=()=>{const n=le(ie.CHART_PREVIEW_NAME,"href");if(!n)return;const{id:r}=v.params,c=typeof r=="string"?r:r[0],u=m.getStorageInfo,l=ue(C.GO_CHART_STORAGE_LIST)||[];if(l!=null&&l.length){const g=l.findIndex(T=>T.id===c);g!==-1?(l.splice(g,1,E({id:c},u)),x(C.GO_CHART_STORAGE_LIST,l)):(l.push(E({id:c},u)),x(C.GO_CHART_STORAGE_LIST,l))}else x(C.GO_CHART_STORAGE_LIST,[E({id:c},u)]);pe(n,[c],void 0,!0)},P=()=>{y.value=!y.value},H=(n,r)=>{i?(f(),window.$message.success(n||"复制成功!")):window.$message.error(r||"复制失败!")},U=()=>N(this,null,function*(){const n=yield ye({id:ae(),state:p.value?-1:1});n&&n.code===re.SUCCESS?(P(),p.value?window.$message.success("已取消发布"):H("发布成功!已复制地址到剪贴板~","发布成功!"),m.setProjectInfo(fe.RELEASE,!p.value)):ce()}),B=[{select:!0,title:()=>"同步内容",type:()=>"primary",icon:L(I),event:ve},{key:"preview",title:()=>"预览",type:()=>"default",icon:L(s),event:M},{key:"release",title:()=>p.value?"已发布":"发布",icon:L(t),type:()=>p.value?"primary":"default",event:P}],q=te(()=>{if(m.getEditCanvas.isCodeEdit)return B;const n=we.cloneDeep(B);return n.shift(),n});return(n,r)=>{const c=_("n-button"),u=_("n-space"),l=_("n-h3"),g=_("n-icon"),T=_("n-alert"),O=_("n-list-item"),W=_("n-list"),Y=_("n-modal");return S(),V($,null,[o(u,{class:"go-mt-0"},{default:e(()=>[(S(!0),V($,null,oe(q.value,d=>(S(),z(c,{key:d.key,type:d.type(),ghost:"",onClick:d.event},{icon:e(()=>[(S(),z(se(d.icon)))]),default:e(()=>[ne("span",null,A(d.title()),1)]),_:2},1032,["type","onClick"]))),128))]),_:1}),o(Y,{show:y.value,"onUpdate:show":r[1]||(r[1]=d=>y.value=d),onAfterLeave:b},{default:e(()=>[o(W,{bordered:"",class:"go-system-setting"},{header:e(()=>[o(u,{justify:"space-between"},{default:e(()=>[o(l,{class:"go-mb-0"},{default:e(()=>[h("发布管理")]),_:1}),o(g,{size:"20",class:"go-cursor-pointer",onClick:b},{default:e(()=>[o(F(w))]),_:1})]),_:1})]),default:e(()=>[o(O,null,{default:e(()=>[o(u,{size:10},{default:e(()=>[o(T,{"show-icon":!1,title:"预览地址:",type:"success"},{default:e(()=>[h(A(F(D)()),1)]),_:1}),o(u,{vertical:""},{default:e(()=>[o(c,{tertiary:"",type:"primary",onClick:r[0]||(r[0]=d=>H())},{default:e(()=>[h(" 复制地址 ")]),_:1}),o(c,{type:p.value?"warning":"primary",onClick:U},{default:e(()=>[h(A(p.value?"取消发布":"发布大屏"),1)]),_:1},8,["type"])]),_:1})]),_:1})]),_:1}),o(O,null,{default:e(()=>[o(u,{size:10},{default:e(()=>[o(c,{onClick:P},{default:e(()=>[h("关闭弹窗")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["show"])],64)}}});const Ne=de(ge,[["__scopeId","data-v-5e37a913"]]);export{Ne as default};

1
dist/static/js/index-04f5d9ae.js vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

1
dist/static/js/index-0e410ade.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as V,be as N,ae as O,O as H,j as L,a1 as m,aC as M,r,o as s,c,b as o,w as a,u as h,F as f,q as g,D as R,n as u,e as $,t as q,au as v,av as F,ac as P,s as j,x as U,h as G}from"./index-414f6242.js";import{u as J,E as K}from"./chartEditStore-71df5cf8.js";import{i as Q}from"./icon-42145a57.js";import{l as W}from"./index-6b001454.js";import"./plugin-614116ba.js";const X=n=>(j("data-v-4ce90fea"),n=n(),U(),n),Y={class:"go-chart-theme-color"},Z=X(()=>u("span",null,"自定义颜色",-1)),ee={class:"go-flex-items-center"},oe=V({__name:"index",setup(n){N(e=>({d133daf6:w.value}));const x=W(()=>O(()=>import("./index-9eaf64dc.js"),["./index-9eaf64dc.js","./index-414f6242.js","../css/index-9c2eb289.css","./noData-e5cefb25.js","./plugin-614116ba.js","./icon-42145a57.js","./chartEditStore-71df5cf8.js","./index-6b001454.js","../css/index-d825de9b.css","../css/index-db178c17.css"],import.meta.url)),{SquareIcon:te,AddIcon:S}=Q.ionicons5,l=J(),E=H(),d=L(!1),b=m(()=>M(l.getEditCanvasConfig.chartCustomThemeColorInfo)),w=m(()=>E.getAppTheme),I=m(()=>l.getEditCanvasConfig.chartThemeColor),k=()=>{d.value=!0},T=e=>`linear-gradient(to right, ${e.color[0]} 0%, ${e.color[5]} 100%)`,y=e=>P(e).splice(0,6),z=e=>{l.setEditCanvasConfig(K.CHART_THEME_COLOR,e)};return(e,p)=>{const A=r("n-icon"),B=r("n-text"),C=r("n-card"),D=r("n-ellipsis");return s(),c("div",Y,[o(C,{class:"card-box",size:"small",hoverable:"",embedded:"",onClick:k},{default:a(()=>[o(B,{class:"go-flex-items-center"},{default:a(()=>[Z,o(A,{size:"16"},{default:a(()=>[o(h(S))]),_:1})]),_:1})]),_:1}),(s(!0),c(f,null,g(b.value,(t,i)=>(s(),R(C,{key:i,class:F(["card-box",{selected:i===I.value}]),size:"small",hoverable:"",embedded:"",onClick:_=>z(i)},{default:a(()=>[u("div",ee,[o(D,{style:{"text-align":"left",width:"60px"}},{default:a(()=>[$(q(t.name),1)]),_:2},1024),(s(!0),c(f,null,g(y(t.color),_=>(s(),c("span",{class:"theme-color-item",key:_,style:v({backgroundColor:_})},null,4))),128))]),u("div",{class:"theme-bottom",style:v({backgroundImage:T(t)})},null,4)]),_:2},1032,["class","onClick"]))),128)),o(h(x),{modelShow:d.value,"onUpdate:modelShow":p[0]||(p[0]=t=>d.value=t)},null,8,["modelShow"])])}}});const le=G(oe,[["__scopeId","data-v-4ce90fea"]]);export{le as default};
import{d as V,be as N,ae as O,O as H,j as L,a1 as m,aC as M,r,o as s,c,b as o,w as a,u as h,F as f,q as g,D as R,n as u,e as $,t as q,au as v,av as F,ac as P,s as j,x as U,h as G}from"./index-4ec2ce15.js";import{u as J,E as K}from"./chartEditStore-bfc6c223.js";import{i as Q}from"./icon-42fa39e7.js";import{l as W}from"./index-64867e41.js";import"./plugin-ae137233.js";const X=n=>(j("data-v-4ce90fea"),n=n(),U(),n),Y={class:"go-chart-theme-color"},Z=X(()=>u("span",null,"自定义颜色",-1)),ee={class:"go-flex-items-center"},oe=V({__name:"index",setup(n){N(e=>({d133daf6:w.value}));const x=W(()=>O(()=>import("./index-fb9121e3.js"),["./index-fb9121e3.js","./index-4ec2ce15.js","../css/index-9c2eb289.css","./noData-e5cefb25.js","./plugin-ae137233.js","./icon-42fa39e7.js","./chartEditStore-bfc6c223.js","./index-64867e41.js","../css/index-d825de9b.css","../css/index-db178c17.css"],import.meta.url)),{SquareIcon:te,AddIcon:S}=Q.ionicons5,l=J(),E=H(),d=L(!1),b=m(()=>M(l.getEditCanvasConfig.chartCustomThemeColorInfo)),w=m(()=>E.getAppTheme),I=m(()=>l.getEditCanvasConfig.chartThemeColor),k=()=>{d.value=!0},T=e=>`linear-gradient(to right, ${e.color[0]} 0%, ${e.color[5]} 100%)`,y=e=>P(e).splice(0,6),z=e=>{l.setEditCanvasConfig(K.CHART_THEME_COLOR,e)};return(e,p)=>{const A=r("n-icon"),B=r("n-text"),C=r("n-card"),D=r("n-ellipsis");return s(),c("div",Y,[o(C,{class:"card-box",size:"small",hoverable:"",embedded:"",onClick:k},{default:a(()=>[o(B,{class:"go-flex-items-center"},{default:a(()=>[Z,o(A,{size:"16"},{default:a(()=>[o(h(S))]),_:1})]),_:1})]),_:1}),(s(!0),c(f,null,g(b.value,(t,i)=>(s(),R(C,{key:i,class:F(["card-box",{selected:i===I.value}]),size:"small",hoverable:"",embedded:"",onClick:_=>z(i)},{default:a(()=>[u("div",ee,[o(D,{style:{"text-align":"left",width:"60px"}},{default:a(()=>[$(q(t.name),1)]),_:2},1024),(s(!0),c(f,null,g(y(t.color),_=>(s(),c("span",{class:"theme-color-item",key:_,style:v({backgroundColor:_})},null,4))),128))]),u("div",{class:"theme-bottom",style:v({backgroundImage:T(t)})},null,4)]),_:2},1032,["class","onClick"]))),128)),o(h(x),{modelShow:d.value,"onUpdate:modelShow":p[0]||(p[0]=t=>d.value=t)},null,8,["modelShow"])])}}});const le=G(oe,[["__scopeId","data-v-4ce90fea"]]);export{le as default};

View File

@ -1 +1 @@
var k=(t,e,n)=>new Promise((l,o)=>{var c=i=>{try{f(n.next(i))}catch(g){o(g)}},E=i=>{try{f(n.throw(i))}catch(g){o(g)}},f=i=>i.done?l(i.value):Promise.resolve(i.value).then(c,E);f((n=n.apply(t,e)).next())});import{M}from"./index-61e82eaa.js";import{_ as H}from"./index-8c3e7bec.js";import{u as G,b as U,f as x}from"./chartEditStore-71df5cf8.js";import{u as V,a as O}from"./chartLayoutStore-5945c8c3.js";import{I as J,z,f as D,d as L,e as Y,c as q}from"./index-3e379f1f.js";import{cL as Q,cM as A,cN as W,cO as X,g as Z,cP as j,cQ as tt,cR as et,cS as at,cT as nt,d as st,j as ot,a1 as rt,J as ct,ad as lt,r as y,o as u,c as h,n as C,F as it,q as dt,b as d,u as m,w as _,e as I,t as P,D as w,a6 as T,av as ut,cU as _t,aJ as ft,s as gt,x as pt,h as ht}from"./index-414f6242.js";import{a as mt,b as Ct,l as vt,g as yt}from"./plugin-614116ba.js";import{c as b}from"./index-6b001454.js";import{i as bt}from"./icon-42145a57.js";import"./index-b0d48761.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";function Et(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var St=Et;function kt(t,e,n){var l=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var c=Array(o);++l<o;)c[l]=t[l+e];return c}var xt=kt,Ot=Q,Dt=xt;function Lt(t,e){return e.length<2?t:Ot(t,Dt(e,0,-1))}var It=Lt,Pt=A,wt=St,Tt=It,At=W;function $t(t,e){return e=Pt(e,t),t=Tt(t,e),t==null||delete t[At(wt(e))]}var Bt=$t,Ft=X;function Kt(t){return Ft(t)?void 0:t}var Nt=Kt,Rt=j,Mt=nt,Ht=Bt,Gt=A,Ut=tt,Vt=Nt,Jt=et,zt=at,Yt=1,qt=2,Qt=4,Wt=Jt(function(t,e){var n={};if(t==null)return n;var l=!1;e=Rt(e,function(c){return c=Gt(c,t),l||(l=c.length>1),c}),Ut(t,zt(t),n),l&&(n=Mt(n,Yt|qt|Qt,Vt));for(var o=e.length;o--;)Ht(n,e[o]);return n}),Xt=Wt;const Zt=Z(Xt),jt=t=>(gt("data-v-ded4749c"),t=t(),pt(),t),te={class:"go-content-charts-item-animation-patch"},ee=["onDragstart","onDragend","onDblclick","onClick"],ae={class:"list-header"},ne={class:"list-center go-flex-center go-transition",draggable:"true"},se={class:"list-bottom"},oe={key:0,class:"list-model"},re=["onClick"],ce=jt(()=>C("span",null,"删除",-1)),le=st({__name:"index",props:{menuOptions:{type:Array,default:()=>[]}},emits:["deletePhoto"],setup(t,{emit:e}){const n=G(),{TrashIcon:l}=bt.ionicons5,o=V(),c=ot(),E=a=>!a.disabled&&a.package===U.PHOTOS&&a.category===z.PRIVATE,f=rt(()=>o.getChartType),i=(a,s)=>{s.disabled||(b(s.chartKey,D(s)),b(s.conKey,L(s)),a.dataTransfer.setData(_t.DRAG_KEY,ft(Zt(s,["image"]))),n.setEditCanvas(x.IS_CREATE,!0))},g=()=>{n.setEditCanvas(x.IS_CREATE,!1)},$=a=>k(this,null,function*(){if(!a.disabled)try{mt(),b(a.chartKey,D(a)),b(a.conKey,L(a));let s=yield Y(a);a.redirectComponent&&(a.dataset&&(s.option.dataset=a.dataset),s.chartConfig.title=a.title,s.chartConfig.chartFrame=a.chartFrame),n.addComponentList(s,!1,!0),n.setTargetSelectChart(s.id),Ct()}catch(s){vt(),window.$message.warning("图表正在研发中, 敬请期待...")}}),B=a=>{var s;(s=a==null?void 0:a.configEvents)==null||s.addHandle(a)},F=(a,s)=>{yt({message:"是否删除此图片?",transformOrigin:"center",onPositiveCallback:()=>{const v=q();e("deletePhoto",a,s),v.deletePhotos(a,s)}})};return ct(()=>f.value,a=>{a===O.DOUBLE&&lt(()=>{c.value.classList.add("miniAnimation")})}),(a,s)=>{const v=y("n-ellipsis"),S=y("n-text"),K=y("n-icon"),N=y("n-button");return u(),h("div",te,[C("div",{ref_key:"contentChartsItemBoxRef",ref:c,class:ut(["go-content-charts-item-box",[f.value===m(O).DOUBLE?"double":"single"]])},[(u(!0),h(it,null,dt(t.menuOptions,(r,R)=>(u(),h("div",{class:"item-box",key:r.title,draggable:"",onDragstart:p=>!r.disabled&&i(p,r),onDragend:p=>!r.disabled&&g,onDblclick:p=>$(r),onClick:p=>B(r)},[C("div",ae,[d(m(M),{class:"list-header-control-btn",mini:!0,disabled:!0}),d(S,{class:"list-header-text",depth:"3"},{default:_(()=>[d(v,null,{default:_(()=>[I(P(r.title),1)]),_:2},1024)]),_:2},1024)]),C("div",ne,[r.icon?(u(),w(m(J),{key:0,class:"list-img",icon:r.icon,color:"#999",width:"48"},null,8,["icon"])):(u(),w(m(H),{key:1,class:"list-img",chartConfig:r},null,8,["chartConfig"]))]),C("div",se,[d(S,{class:"list-bottom-text",depth:"3"},{default:_(()=>[d(v,{style:{"max-width":"90%"}},{default:_(()=>[I(P(r.title),1)]),_:2},1024)]),_:2},1024)]),r.disabled?(u(),h("div",oe)):T("",!0),E(r)?(u(),h("div",{key:1,class:"list-tools go-transition",onClick:p=>F(r,R)},[d(N,{text:"",type:"default",color:"#ffffff"},{icon:_(()=>[d(K,null,{default:_(()=>[d(m(l))]),_:1})]),default:_(()=>[ce]),_:1})],8,re)):T("",!0)],40,ee))),128))],2)])}}});const Oe=ht(le,[["__scopeId","data-v-ded4749c"]]);export{Oe as default};
var k=(t,e,n)=>new Promise((l,o)=>{var c=i=>{try{f(n.next(i))}catch(g){o(g)}},E=i=>{try{f(n.throw(i))}catch(g){o(g)}},f=i=>i.done?l(i.value):Promise.resolve(i.value).then(c,E);f((n=n.apply(t,e)).next())});import{M}from"./index-b2b393ee.js";import{_ as H}from"./index-d489f98f.js";import{u as G,b as U,f as x}from"./chartEditStore-bfc6c223.js";import{u as V,a as O}from"./chartLayoutStore-810503fe.js";import{I as J,z,f as D,d as L,e as Y,c as q}from"./index-96c3a075.js";import{cL as Q,cM as A,cN as W,cO as X,g as Z,cP as j,cQ as tt,cR as et,cS as at,cT as nt,d as st,j as ot,a1 as rt,J as ct,ad as lt,r as y,o as u,c as h,n as C,F as it,q as dt,b as d,u as m,w as _,e as I,t as P,D as w,a6 as T,av as ut,cU as _t,aJ as ft,s as gt,x as pt,h as ht}from"./index-4ec2ce15.js";import{a as mt,b as Ct,l as vt,g as yt}from"./plugin-ae137233.js";import{c as b}from"./index-64867e41.js";import{i as bt}from"./icon-42fa39e7.js";import"./index-f119bf30.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";function Et(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var St=Et;function kt(t,e,n){var l=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var c=Array(o);++l<o;)c[l]=t[l+e];return c}var xt=kt,Ot=Q,Dt=xt;function Lt(t,e){return e.length<2?t:Ot(t,Dt(e,0,-1))}var It=Lt,Pt=A,wt=St,Tt=It,At=W;function $t(t,e){return e=Pt(e,t),t=Tt(t,e),t==null||delete t[At(wt(e))]}var Bt=$t,Ft=X;function Kt(t){return Ft(t)?void 0:t}var Nt=Kt,Rt=j,Mt=nt,Ht=Bt,Gt=A,Ut=tt,Vt=Nt,Jt=et,zt=at,Yt=1,qt=2,Qt=4,Wt=Jt(function(t,e){var n={};if(t==null)return n;var l=!1;e=Rt(e,function(c){return c=Gt(c,t),l||(l=c.length>1),c}),Ut(t,zt(t),n),l&&(n=Mt(n,Yt|qt|Qt,Vt));for(var o=e.length;o--;)Ht(n,e[o]);return n}),Xt=Wt;const Zt=Z(Xt),jt=t=>(gt("data-v-ded4749c"),t=t(),pt(),t),te={class:"go-content-charts-item-animation-patch"},ee=["onDragstart","onDragend","onDblclick","onClick"],ae={class:"list-header"},ne={class:"list-center go-flex-center go-transition",draggable:"true"},se={class:"list-bottom"},oe={key:0,class:"list-model"},re=["onClick"],ce=jt(()=>C("span",null,"删除",-1)),le=st({__name:"index",props:{menuOptions:{type:Array,default:()=>[]}},emits:["deletePhoto"],setup(t,{emit:e}){const n=G(),{TrashIcon:l}=bt.ionicons5,o=V(),c=ot(),E=a=>!a.disabled&&a.package===U.PHOTOS&&a.category===z.PRIVATE,f=rt(()=>o.getChartType),i=(a,s)=>{s.disabled||(b(s.chartKey,D(s)),b(s.conKey,L(s)),a.dataTransfer.setData(_t.DRAG_KEY,ft(Zt(s,["image"]))),n.setEditCanvas(x.IS_CREATE,!0))},g=()=>{n.setEditCanvas(x.IS_CREATE,!1)},$=a=>k(this,null,function*(){if(!a.disabled)try{mt(),b(a.chartKey,D(a)),b(a.conKey,L(a));let s=yield Y(a);a.redirectComponent&&(a.dataset&&(s.option.dataset=a.dataset),s.chartConfig.title=a.title,s.chartConfig.chartFrame=a.chartFrame),n.addComponentList(s,!1,!0),n.setTargetSelectChart(s.id),Ct()}catch(s){vt(),window.$message.warning("图表正在研发中, 敬请期待...")}}),B=a=>{var s;(s=a==null?void 0:a.configEvents)==null||s.addHandle(a)},F=(a,s)=>{yt({message:"是否删除此图片?",transformOrigin:"center",onPositiveCallback:()=>{const v=q();e("deletePhoto",a,s),v.deletePhotos(a,s)}})};return ct(()=>f.value,a=>{a===O.DOUBLE&&lt(()=>{c.value.classList.add("miniAnimation")})}),(a,s)=>{const v=y("n-ellipsis"),S=y("n-text"),K=y("n-icon"),N=y("n-button");return u(),h("div",te,[C("div",{ref_key:"contentChartsItemBoxRef",ref:c,class:ut(["go-content-charts-item-box",[f.value===m(O).DOUBLE?"double":"single"]])},[(u(!0),h(it,null,dt(t.menuOptions,(r,R)=>(u(),h("div",{class:"item-box",key:r.title,draggable:"",onDragstart:p=>!r.disabled&&i(p,r),onDragend:p=>!r.disabled&&g,onDblclick:p=>$(r),onClick:p=>B(r)},[C("div",ae,[d(m(M),{class:"list-header-control-btn",mini:!0,disabled:!0}),d(S,{class:"list-header-text",depth:"3"},{default:_(()=>[d(v,null,{default:_(()=>[I(P(r.title),1)]),_:2},1024)]),_:2},1024)]),C("div",ne,[r.icon?(u(),w(m(J),{key:0,class:"list-img",icon:r.icon,color:"#999",width:"48"},null,8,["icon"])):(u(),w(m(H),{key:1,class:"list-img",chartConfig:r},null,8,["chartConfig"]))]),C("div",se,[d(S,{class:"list-bottom-text",depth:"3"},{default:_(()=>[d(v,{style:{"max-width":"90%"}},{default:_(()=>[I(P(r.title),1)]),_:2},1024)]),_:2},1024)]),r.disabled?(u(),h("div",oe)):T("",!0),E(r)?(u(),h("div",{key:1,class:"list-tools go-transition",onClick:p=>F(r,R)},[d(N,{text:"",type:"default",color:"#ffffff"},{icon:_(()=>[d(K,null,{default:_(()=>[d(m(l))]),_:1})]),default:_(()=>[ce]),_:1})],8,re)):T("",!0)],40,ee))),128))],2)])}}});const Oe=ht(le,[["__scopeId","data-v-ded4749c"]]);export{Oe as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +1 @@
import{e as y,S as p}from"./index.esm.min-6f206398.js";import"./chartEditStore-71df5cf8.js";import{bI as _,d as $,bx as w,bB as v,by as A,bC as C,bH as H,bD as L,bE as k,bF as S,j as m,J as z,r as l,o as d,D as h,w as r,b as i,u as f,a6 as B}from"./index-414f6242.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";const I=["legend","xAxis","yAxis","grid"],O=e=>{const o=(a,n)=>parseInt(`${a*Math.random()}`,10)*2,t=[260,251,200,334,366,256,253];return e.map((a,n)=>({name:`data${n+1}`,type:"bar",data:t.map((s,c)=>o(s))}))},P=e=>y({tooltip:{trigger:"axis",showContent:!1,axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:e.map((o,t)=>`data${t+1}`),axisTick:{alignWithLabel:!0}},yAxis:{show:!0,type:"value"},series:O(e||[])},I),G=["legend","xAxis","yAxis","grid"],M=e=>{const o=(a,n)=>parseInt(`${a*Math.random()}`,10)*2,t=[130,251,200,334,366,456,223];return e.map((a,n)=>({name:`data${n+1}`,type:"line",smooth:!0,lineStyle:{width:1,type:"solid"},emphasis:{focus:"series"},areaStyle:{opacity:.8,color:new _(0,0,0,1,[{offset:1,color:a},{offset:0,color:a}])},showSymbol:!1,data:t.reverse().map((s,c)=>o(s))}))},N=e=>y({tooltip:{trigger:"axis",showContent:!1,axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:e.map((o,t)=>`data${t+1}`),axisTick:{alignWithLabel:!0}},yAxis:{show:!0,type:"value"},series:M(e||[])},G),q=$({__name:"index",props:{color:{type:Array,required:!0}},setup(e){const o=e;w([v,A,C,H,L,k,S]);const t=m(),a=m(),n={width:"528px",height:"200px"};return z(()=>o.color,s=>{t.value=P(s),a.value=N(s)},{immediate:!0,deep:!0}),(s,c)=>{const u=l("n-tab-pane"),b=l("n-tabs"),x=l("n-card"),g=l("n-space");return d(),h(g,null,{default:r(()=>[t.value?(d(),h(x,{key:0,class:"go-mt-3",bordered:!1,role:"dialog",size:"small","aria-modal":"true"},{default:r(()=>[i(b,{type:"segment",size:"small",animated:""},{default:r(()=>[i(u,{name:"柱状图",tab:"柱状图"},{default:r(()=>[i(f(p),{ref:"vChartRefBar",theme:{color:e.color},option:t.value,"manual-update":!0,autoresize:"",style:n},null,8,["theme","option"])]),_:1}),i(u,{name:"折线图",tab:"折线图"},{default:r(()=>[i(f(p),{ref:"vChartRefLine",theme:{color:e.color},option:a.value,"manual-update":!0,autoresize:"",style:n},null,8,["theme","option"])]),_:1})]),_:1})]),_:1})):B("",!0)]),_:1})}}});export{q as default};
import{e as y,S as p}from"./index.esm.min-2eecdcbd.js";import"./chartEditStore-bfc6c223.js";import{bI as _,d as $,bx as w,bB as v,by as A,bC as C,bH as H,bD as L,bE as k,bF as S,j as m,J as z,r as l,o as d,D as h,w as r,b as i,u as f,a6 as B}from"./index-4ec2ce15.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";const I=["legend","xAxis","yAxis","grid"],O=e=>{const o=(a,n)=>parseInt(`${a*Math.random()}`,10)*2,t=[260,251,200,334,366,256,253];return e.map((a,n)=>({name:`data${n+1}`,type:"bar",data:t.map((s,c)=>o(s))}))},P=e=>y({tooltip:{trigger:"axis",showContent:!1,axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:e.map((o,t)=>`data${t+1}`),axisTick:{alignWithLabel:!0}},yAxis:{show:!0,type:"value"},series:O(e||[])},I),G=["legend","xAxis","yAxis","grid"],M=e=>{const o=(a,n)=>parseInt(`${a*Math.random()}`,10)*2,t=[130,251,200,334,366,456,223];return e.map((a,n)=>({name:`data${n+1}`,type:"line",smooth:!0,lineStyle:{width:1,type:"solid"},emphasis:{focus:"series"},areaStyle:{opacity:.8,color:new _(0,0,0,1,[{offset:1,color:a},{offset:0,color:a}])},showSymbol:!1,data:t.reverse().map((s,c)=>o(s))}))},N=e=>y({tooltip:{trigger:"axis",showContent:!1,axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:e.map((o,t)=>`data${t+1}`),axisTick:{alignWithLabel:!0}},yAxis:{show:!0,type:"value"},series:M(e||[])},G),q=$({__name:"index",props:{color:{type:Array,required:!0}},setup(e){const o=e;w([v,A,C,H,L,k,S]);const t=m(),a=m(),n={width:"528px",height:"200px"};return z(()=>o.color,s=>{t.value=P(s),a.value=N(s)},{immediate:!0,deep:!0}),(s,c)=>{const u=l("n-tab-pane"),b=l("n-tabs"),x=l("n-card"),g=l("n-space");return d(),h(g,null,{default:r(()=>[t.value?(d(),h(x,{key:0,class:"go-mt-3",bordered:!1,role:"dialog",size:"small","aria-modal":"true"},{default:r(()=>[i(b,{type:"segment",size:"small",animated:""},{default:r(()=>[i(u,{name:"柱状图",tab:"柱状图"},{default:r(()=>[i(f(p),{ref:"vChartRefBar",theme:{color:e.color},option:t.value,"manual-update":!0,autoresize:"",style:n},null,8,["theme","option"])]),_:1}),i(u,{name:"折线图",tab:"折线图"},{default:r(()=>[i(f(p),{ref:"vChartRefLine",theme:{color:e.color},option:a.value,"manual-update":!0,autoresize:"",style:n},null,8,["theme","option"])]),_:1})]),_:1})]),_:1})):B("",!0)]),_:1})}}});export{q as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

BIN
dist/static/js/index-29d828cf.js.gz vendored Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
dist/static/js/index-35415123.js.gz vendored Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{u as m}from"./chartLayoutStore-5945c8c3.js";import{d as i,O as _,j as s,a1 as d,J as f,r as a,o as h,D as g,w as v,n as r,b as x}from"./index-414f6242.js";import"./chartEditStore-71df5cf8.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";const C=r("span",null," 拼命加载中... ",-1),N=i({__name:"index",setup(w){const n=m(),c=_(),o=s(!1),t=s(0),l=d(()=>c.getAppTheme);return f(()=>n.getPercentage,e=>{if(e===0){setTimeout(()=>{t.value=e,o.value=!1},500);return}t.value=e,o.value=e>0}),(e,y)=>{const p=a("n-progress"),u=a("n-modal");return h(),g(u,{show:o.value,"close-on-esc":!1,"transform-origin":"center"},{default:v(()=>[r("div",null,[C,x(p,{type:"line",color:l.value,percentage:t.value,style:{width:"300px"}},null,8,["color","percentage"])])]),_:1},8,["show"])}}});export{N as default};
import{u as m}from"./chartLayoutStore-810503fe.js";import{d as i,O as _,j as s,a1 as d,J as f,r as a,o as h,D as g,w as v,n as r,b as x}from"./index-4ec2ce15.js";import"./chartEditStore-bfc6c223.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";const C=r("span",null," 拼命加载中... ",-1),N=i({__name:"index",setup(w){const n=m(),c=_(),o=s(!1),t=s(0),l=d(()=>c.getAppTheme);return f(()=>n.getPercentage,e=>{if(e===0){setTimeout(()=>{t.value=e,o.value=!1},500);return}t.value=e,o.value=e>0}),(e,y)=>{const p=a("n-progress"),u=a("n-modal");return h(),g(u,{show:o.value,"close-on-esc":!1,"transform-origin":"center"},{default:v(()=>[r("div",null,[C,x(p,{type:"line",color:l.value,percentage:t.value,style:{width:"300px"}},null,8,["color","percentage"])])]),_:1},8,["show"])}}});export{N as default};

View File

@ -1 +1 @@
var v=(m,c,a)=>new Promise((_,o)=>{var r=t=>{try{i(a.next(t))}catch(s){o(s)}},e=t=>{try{i(a.throw(t))}catch(s){o(s)}},i=t=>t.done?_(t.value):Promise.resolve(t.value).then(r,e);i((a=a.apply(m,c)).next())});import{d as j,j as d,aL as h,b8 as I,a1 as N,aE as R,r as u,o as T,D as b,w as p,b as l,u as k,e as B,Q as E,n as U,t as z,U as x,ba as A,ad as D,R as K,a9 as M,h as V}from"./index-414f6242.js";import{i as F}from"./icon-42145a57.js";import{u as J,E as L,P as O}from"./chartEditStore-71df5cf8.js";import{u as H}from"./project.api-d17fa7c6.js";import{u as Q}from"./useSync.hook-02ee83df.js";import"./plugin-614116ba.js";import"./chartLayoutStore-5945c8c3.js";import"./index-3e379f1f.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const $={class:"title"},q=j({__name:"index",setup(m){const c=J(),{dataSyncUpdate:a}=Q(),{FishIcon:_}=F.ionicons5,o=d(!1),r=d(null),e=d(h());I(()=>{e.value=c.getProjectInfo.projectName||""});const i=N(()=>{e.value=e.value.replace(/\s/g,"");const n=e.value.length?e.value:"新项目";return R(`工作空间-${n}`),c.setEditCanvasConfig(L.PROJECT_NAME,n),n}),t=()=>{o.value=!0,D(()=>{r.value&&r.value.focus()})},s=()=>v(this,null,function*(){o.value=!1,c.setProjectInfo(O.PROJECT_NAME,e.value||"");const n=yield H({id:h(),projectName:e.value});n&&n.code===K.SUCCESS?a():M()});return(n,f)=>{const y=u("n-icon"),C=u("n-button"),w=u("n-text"),S=u("n-input"),g=u("n-space");return T(),b(g,null,{default:p(()=>[l(y,{size:"20",depth:3},{default:p(()=>[l(k(_))]),_:1}),l(w,{onClick:t},{default:p(()=>[B(" 工作空间 - "),E(l(C,{secondary:"",size:"tiny"},{default:p(()=>[U("span",$,z(i.value),1)]),_:1},512),[[x,!o.value]])]),_:1}),E(l(S,{ref_key:"inputInstRef",ref:r,size:"small",type:"text",maxlength:"16","show-count":"",placeholder:"请输入项目名称",value:e.value,"onUpdate:value":f[0]||(f[0]=P=>e.value=P),valueModifiers:{trim:!0},onKeyup:A(s,["enter"]),onBlur:s},null,8,["value","onKeyup"]),[[x,o.value]])]),_:1})}}});const le=V(q,[["__scopeId","data-v-4af849d3"]]);export{le as default};
var v=(m,c,a)=>new Promise((_,o)=>{var r=t=>{try{i(a.next(t))}catch(s){o(s)}},e=t=>{try{i(a.throw(t))}catch(s){o(s)}},i=t=>t.done?_(t.value):Promise.resolve(t.value).then(r,e);i((a=a.apply(m,c)).next())});import{d as j,j as d,aL as h,b8 as I,a1 as N,aE as R,r as u,o as T,D as b,w as p,b as l,u as k,e as B,Q as E,n as U,t as z,U as x,ba as A,ad as D,R as K,a9 as M,h as V}from"./index-4ec2ce15.js";import{i as F}from"./icon-42fa39e7.js";import{u as J,E as L,P as O}from"./chartEditStore-bfc6c223.js";import{u as H}from"./project.api-0931840b.js";import{u as Q}from"./useSync.hook-dcdbd18a.js";import"./plugin-ae137233.js";import"./chartLayoutStore-810503fe.js";import"./index-96c3a075.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const $={class:"title"},q=j({__name:"index",setup(m){const c=J(),{dataSyncUpdate:a}=Q(),{FishIcon:_}=F.ionicons5,o=d(!1),r=d(null),e=d(h());I(()=>{e.value=c.getProjectInfo.projectName||""});const i=N(()=>{e.value=e.value.replace(/\s/g,"");const n=e.value.length?e.value:"新项目";return R(`工作空间-${n}`),c.setEditCanvasConfig(L.PROJECT_NAME,n),n}),t=()=>{o.value=!0,D(()=>{r.value&&r.value.focus()})},s=()=>v(this,null,function*(){o.value=!1,c.setProjectInfo(O.PROJECT_NAME,e.value||"");const n=yield H({id:h(),projectName:e.value});n&&n.code===K.SUCCESS?a():M()});return(n,f)=>{const y=u("n-icon"),C=u("n-button"),w=u("n-text"),S=u("n-input"),g=u("n-space");return T(),b(g,null,{default:p(()=>[l(y,{size:"20",depth:3},{default:p(()=>[l(k(_))]),_:1}),l(w,{onClick:t},{default:p(()=>[B(" 工作空间 - "),E(l(C,{secondary:"",size:"tiny"},{default:p(()=>[U("span",$,z(i.value),1)]),_:1},512),[[x,!o.value]])]),_:1}),E(l(S,{ref_key:"inputInstRef",ref:r,size:"small",type:"text",maxlength:"16","show-count":"",placeholder:"请输入项目名称",value:e.value,"onUpdate:value":f[0]||(f[0]=P=>e.value=P),valueModifiers:{trim:!0},onKeyup:A(s,["enter"]),onBlur:s},null,8,["value","onKeyup"]),[[x,o.value]])]),_:1})}}});const le=V(q,[["__scopeId","data-v-4af849d3"]]);export{le as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as c,B as r,C as p,r as e,c as d,b as t,w as o,o as i,e as u,h as l}from"./index-414f6242.js";const m={class:"go-redirect"},x=c({__name:"index",setup(f){r();const n=p(),s=()=>{n.replace({path:"/"})};return(h,v)=>{const a=e("n-button"),_=e("n-empty");return i(),d("div",m,[t(_,{description:"你什么也找不到"},{extra:o(()=>[t(a,{size:"small",onClick:s},{default:o(()=>[u("看看别的")]),_:1})]),_:1})])}}});const y=l(x,[["__scopeId","data-v-52faa652"]]);export{y as default};
import{d as c,B as r,C as p,r as e,c as d,b as t,w as o,o as i,e as u,h as l}from"./index-4ec2ce15.js";const m={class:"go-redirect"},x=c({__name:"index",setup(f){r();const n=p(),s=()=>{n.replace({path:"/"})};return(h,v)=>{const a=e("n-button"),_=e("n-empty");return i(),d("div",m,[t(_,{description:"你什么也找不到"},{extra:o(()=>[t(a,{size:"small",onClick:s},{default:o(()=>[u("看看别的")]),_:1})]),_:1})])}}});const y=l(x,[["__scopeId","data-v-52faa652"]]);export{y as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as _,r as e,c,b as t,w as n,o as r,u as p,a5 as i,e as d,h as l}from"./index-414f6242.js";const m={class:"go-project-template-market"},u=_({__name:"index",setup(f){return(x,h)=>{const o=e("n-image"),a=e("n-h3"),s=e("n-space");return r(),c("div",m,[t(s,{vertical:""},{default:n(()=>[t(o,{"object-fit":"contain",height:"300","preview-disabled":"",src:p(i)()},null,8,["src"]),t(a,null,{default:n(()=>[d("暂时还没有东西呢")]),_:1})]),_:1})])}}});const g=l(u,[["__scopeId","data-v-02948726"]]);export{g as default};
import{d as _,r as e,c,b as t,w as n,o as r,u as p,a5 as i,e as d,h as l}from"./index-4ec2ce15.js";const m={class:"go-project-template-market"},u=_({__name:"index",setup(f){return(x,h)=>{const o=e("n-image"),a=e("n-h3"),s=e("n-space");return r(),c("div",m,[t(s,{vertical:""},{default:n(()=>[t(o,{"object-fit":"contain",height:"300","preview-disabled":"",src:p(i)()},null,8,["src"]),t(a,null,{default:n(()=>[d("暂时还没有东西呢")]),_:1})]),_:1})])}}});const g=l(u,[["__scopeId","data-v-02948726"]]);export{g as default};

File diff suppressed because one or more lines are too long

BIN
dist/static/js/index-64867e41.js.gz vendored Normal file

Binary file not shown.

View File

@ -1 +1 @@
import{h as _,r as i,o as e,D as n,w as u,E as r,K as p,d as f,u as l}from"./index-414f6242.js";const m={};function d(a,s){const o=i("router-view");return e(),n(o,null,{default:u(({Component:t,route:c})=>[c.meta.noKeepAlive?(e(),n(r(t),{key:0})):(e(),n(p,{key:1},[(e(),n(r(t)))],1024))]),_:1})}const v=_(m,[["render",d]]),h=f({__name:"index",setup(a){return(s,o)=>(e(),n(l(v)))}});export{h as default};
import{h as _,r as i,o as e,D as n,w as u,E as r,K as p,d as f,u as l}from"./index-4ec2ce15.js";const m={};function d(a,s){const o=i("router-view");return e(),n(o,null,{default:u(({Component:t,route:c})=>[c.meta.noKeepAlive?(e(),n(r(t),{key:0})):(e(),n(p,{key:1},[(e(),n(r(t)))],1024))]),_:1})}const v=_(m,[["render",d]]),h=f({__name:"index",setup(a){return(s,o)=>(e(),n(l(v)))}});export{h as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
dist/static/js/index-6e4ea42d.js.gz vendored Normal file

Binary file not shown.

View File

@ -1 +1 @@
/* empty css */import{d as f,r as c,o as p,D as y,w as o,b as a,u as n,c as x,F as I,q as V,E as w,e as _,Y as h,a6 as H,h as q}from"./index-414f6242.js";import"./chartEditStore-71df5cf8.js";import{S as v}from"./SettingItemBox-c30b2af8.js";import{i as D}from"./icon-42145a57.js";import{_ as $}from"./StylesSetting.vue_vue_type_script_setup_true_lang-bd40d0c6.js";import{u as j}from"./useTargetData.hook-d38571ae.js";import"./plugin-614116ba.js";import"./SettingItem-cbdfd56e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";const U=f({__name:"NameSetting",props:{chartConfig:{type:Object,required:!0}},setup(e){const t=e;let r="";const l=()=>{r=t.chartConfig.title},s=()=>{t.chartConfig.title.length||(window.$message.warning("请输入至少一个字符!"),t.chartConfig.title=r)};return(d,m)=>{const A=c("n-input");return p(),y(n(v),{name:"名称",alone:!0},{default:o(()=>[a(A,{type:"text",maxlength:"12",minlength:"1",placeholder:"请输入图表名称",size:"small",clearable:"","show-count":"",value:e.chartConfig.title,"onUpdate:value":m[0]||(m[0]=i=>e.chartConfig.title=i),onFocus:l,onBlur:s},null,8,["value"])]),_:1})}}}),E=f({__name:"PositionSetting",props:{canvasConfig:{type:Object,required:!0},chartAttr:{type:Object,required:!0}},setup(e){const t=e,{AlignHorizontalLeftIcon:r,AlignVerticalCenterIcon:l,AlignVerticalTopIcon:s,AlignHorizontalCenterIcon:d,AlignHorizontalRightIcon:m,AlignVerticalBottomIcon:A}=D.carbon,i=[{key:"AlignHorizontalLeftIcon",lable:"局左",icon:h(r)},{key:"AlignVerticalCenterIcon",lable:"X轴居中",icon:h(l)},{key:"AlignHorizontalRightIcon",lable:"局右",icon:h(m)},{key:"AlignVerticalTopIcon",lable:"顶部",icon:h(s)},{key:"AlignHorizontalCenterIcon",lable:"Y轴居中",icon:h(d)},{key:"AlignVerticalBottomIcon",lable:"底部",icon:h(A)}],z=C=>{switch(C){case i[0].key:t.chartAttr.x=0;break;case i[1].key:t.chartAttr.y=(t.canvasConfig.height-t.chartAttr.h)/2;break;case i[2].key:t.chartAttr.x=t.canvasConfig.width-t.chartAttr.w;break;case i[3].key:t.chartAttr.y=0;break;case i[4].key:t.chartAttr.x=(t.canvasConfig.width-t.chartAttr.w)/2;break;case i[5].key:t.chartAttr.y=t.canvasConfig.height-t.chartAttr.h;break}};return(C,g)=>{const B=c("n-divider"),G=c("n-button"),S=c("n-space"),b=c("n-text"),k=c("n-input-number");return p(),x(I,null,[a(B,{style:{margin:"10px 0"}}),a(S,{size:8,justify:"space-between",style:{"margin-top":"10px"}},{default:o(()=>[(p(),x(I,null,V(i,u=>a(G,{secondary:"",key:u.key,onClick:O=>z(u.key)},{icon:o(()=>[(p(),y(w(u.icon)))]),_:2},1032,["onClick"])),64))]),_:1}),a(n(v),{name:"位置"},{default:o(()=>[a(k,{value:e.chartAttr.y,"onUpdate:value":g[0]||(g[0]=u=>e.chartAttr.y=u),min:0,size:"small",placeholder:"px"},{prefix:o(()=>[a(b,{depth:"3"},{default:o(()=>[_("上")]),_:1})]),_:1},8,["value"]),a(k,{value:e.chartAttr.x,"onUpdate:value":g[1]||(g[1]=u=>e.chartAttr.x=u),min:0,size:"small",placeholder:"px"},{prefix:o(()=>[a(b,{depth:"3"},{default:o(()=>[_("左")]),_:1})]),_:1},8,["value"])]),_:1})],64)}}}),F=f({__name:"SizeSetting",props:{chartAttr:{type:Object,required:!0},isGroup:{type:Boolean,required:!1}},setup(e){return(t,r)=>{const l=c("n-text"),s=c("n-input-number");return p(),y(n(v),{name:"尺寸"},{default:o(()=>[a(s,{value:e.chartAttr.w,"onUpdate:value":r[0]||(r[0]=d=>e.chartAttr.w=d),min:50,disabled:e.isGroup,size:"small",placeholder:"px"},{prefix:o(()=>[a(l,{depth:"3"},{default:o(()=>[_("宽度")]),_:1})]),_:1},8,["value","disabled"]),a(s,{value:e.chartAttr.h,"onUpdate:value":r[1]||(r[1]=d=>e.chartAttr.h=d),min:50,disabled:e.isGroup,size:"small",placeholder:"px"},{prefix:o(()=>[a(l,{depth:"3"},{default:o(()=>[_("高度")]),_:1})]),_:1},8,["value","disabled"])]),_:1})}}}),L={key:0,class:"go-chart-configurations-setting"},N=f({__name:"index",setup(e){const{targetData:t,chartEditStore:r}=j();return(l,s)=>n(t)?(p(),x("div",L,[a(n(U),{chartConfig:n(t).chartConfig},null,8,["chartConfig"]),a(n(F),{isGroup:n(t).isGroup,chartAttr:n(t).attr},null,8,["isGroup","chartAttr"]),a(n(E),{chartAttr:n(t).attr,canvasConfig:n(r).getEditCanvasConfig},null,8,["chartAttr","canvasConfig"]),a(n($),{isGroup:n(t).isGroup,chartStyles:n(t).styles},null,8,["isGroup","chartStyles"]),(p(),y(w(n(t).chartConfig.conKey),{optionData:n(t).option},null,8,["optionData"]))])):H("",!0)}});const Z=q(N,[["__scopeId","data-v-246c8460"]]);export{Z as default};
/* empty css */import{d as f,r as c,o as p,D as y,w as o,b as a,u as n,c as x,F as I,q as V,E as w,e as _,Y as h,a6 as H,h as q}from"./index-4ec2ce15.js";import"./chartEditStore-bfc6c223.js";import{S as v}from"./SettingItemBox-f60eaa4e.js";import{i as D}from"./icon-42fa39e7.js";import{_ as $}from"./StylesSetting.vue_vue_type_script_setup_true_lang-cf4b6b74.js";import{u as j}from"./useTargetData.hook-06bbbd45.js";import"./plugin-ae137233.js";import"./SettingItem-35031211.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";const U=f({__name:"NameSetting",props:{chartConfig:{type:Object,required:!0}},setup(e){const t=e;let r="";const l=()=>{r=t.chartConfig.title},s=()=>{t.chartConfig.title.length||(window.$message.warning("请输入至少一个字符!"),t.chartConfig.title=r)};return(d,m)=>{const A=c("n-input");return p(),y(n(v),{name:"名称",alone:!0},{default:o(()=>[a(A,{type:"text",maxlength:"12",minlength:"1",placeholder:"请输入图表名称",size:"small",clearable:"","show-count":"",value:e.chartConfig.title,"onUpdate:value":m[0]||(m[0]=i=>e.chartConfig.title=i),onFocus:l,onBlur:s},null,8,["value"])]),_:1})}}}),E=f({__name:"PositionSetting",props:{canvasConfig:{type:Object,required:!0},chartAttr:{type:Object,required:!0}},setup(e){const t=e,{AlignHorizontalLeftIcon:r,AlignVerticalCenterIcon:l,AlignVerticalTopIcon:s,AlignHorizontalCenterIcon:d,AlignHorizontalRightIcon:m,AlignVerticalBottomIcon:A}=D.carbon,i=[{key:"AlignHorizontalLeftIcon",lable:"局左",icon:h(r)},{key:"AlignVerticalCenterIcon",lable:"X轴居中",icon:h(l)},{key:"AlignHorizontalRightIcon",lable:"局右",icon:h(m)},{key:"AlignVerticalTopIcon",lable:"顶部",icon:h(s)},{key:"AlignHorizontalCenterIcon",lable:"Y轴居中",icon:h(d)},{key:"AlignVerticalBottomIcon",lable:"底部",icon:h(A)}],z=C=>{switch(C){case i[0].key:t.chartAttr.x=0;break;case i[1].key:t.chartAttr.y=(t.canvasConfig.height-t.chartAttr.h)/2;break;case i[2].key:t.chartAttr.x=t.canvasConfig.width-t.chartAttr.w;break;case i[3].key:t.chartAttr.y=0;break;case i[4].key:t.chartAttr.x=(t.canvasConfig.width-t.chartAttr.w)/2;break;case i[5].key:t.chartAttr.y=t.canvasConfig.height-t.chartAttr.h;break}};return(C,g)=>{const B=c("n-divider"),G=c("n-button"),S=c("n-space"),b=c("n-text"),k=c("n-input-number");return p(),x(I,null,[a(B,{style:{margin:"10px 0"}}),a(S,{size:8,justify:"space-between",style:{"margin-top":"10px"}},{default:o(()=>[(p(),x(I,null,V(i,u=>a(G,{secondary:"",key:u.key,onClick:O=>z(u.key)},{icon:o(()=>[(p(),y(w(u.icon)))]),_:2},1032,["onClick"])),64))]),_:1}),a(n(v),{name:"位置"},{default:o(()=>[a(k,{value:e.chartAttr.y,"onUpdate:value":g[0]||(g[0]=u=>e.chartAttr.y=u),min:0,size:"small",placeholder:"px"},{prefix:o(()=>[a(b,{depth:"3"},{default:o(()=>[_("上")]),_:1})]),_:1},8,["value"]),a(k,{value:e.chartAttr.x,"onUpdate:value":g[1]||(g[1]=u=>e.chartAttr.x=u),min:0,size:"small",placeholder:"px"},{prefix:o(()=>[a(b,{depth:"3"},{default:o(()=>[_("左")]),_:1})]),_:1},8,["value"])]),_:1})],64)}}}),F=f({__name:"SizeSetting",props:{chartAttr:{type:Object,required:!0},isGroup:{type:Boolean,required:!1}},setup(e){return(t,r)=>{const l=c("n-text"),s=c("n-input-number");return p(),y(n(v),{name:"尺寸"},{default:o(()=>[a(s,{value:e.chartAttr.w,"onUpdate:value":r[0]||(r[0]=d=>e.chartAttr.w=d),min:50,disabled:e.isGroup,size:"small",placeholder:"px"},{prefix:o(()=>[a(l,{depth:"3"},{default:o(()=>[_("宽度")]),_:1})]),_:1},8,["value","disabled"]),a(s,{value:e.chartAttr.h,"onUpdate:value":r[1]||(r[1]=d=>e.chartAttr.h=d),min:50,disabled:e.isGroup,size:"small",placeholder:"px"},{prefix:o(()=>[a(l,{depth:"3"},{default:o(()=>[_("高度")]),_:1})]),_:1},8,["value","disabled"])]),_:1})}}}),L={key:0,class:"go-chart-configurations-setting"},N=f({__name:"index",setup(e){const{targetData:t,chartEditStore:r}=j();return(l,s)=>n(t)?(p(),x("div",L,[a(n(U),{chartConfig:n(t).chartConfig},null,8,["chartConfig"]),a(n(F),{isGroup:n(t).isGroup,chartAttr:n(t).attr},null,8,["isGroup","chartAttr"]),a(n(E),{chartAttr:n(t).attr,canvasConfig:n(r).getEditCanvasConfig},null,8,["chartAttr","canvasConfig"]),a(n($),{isGroup:n(t).isGroup,chartStyles:n(t).styles},null,8,["isGroup","chartStyles"]),(p(),y(w(n(t).chartConfig.conKey),{optionData:n(t).option},null,8,["optionData"]))])):H("",!0)}});const Z=q(N,[["__scopeId","data-v-246c8460"]]);export{Z as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{aO as a,d1 as u,aP as r,d as P,ae as T,aN as l,a1 as S,r as O,u as t,o as d,c as D,b as v,w as I,D as _,a6 as i}from"./index-414f6242.js";import{l as m}from"./index-6b001454.js";/* empty css */import{S as g}from"./SettingItemBox-c30b2af8.js";import{d as N}from"./chartEditStore-71df5cf8.js";import{u as h}from"./useTargetData.hook-d38571ae.js";var q=(e=>(e[e.NULL=0]="NULL",e[e.SUCCESS=1]="SUCCESS",e[e.FAILURE=2]="FAILURE",e))(q||{}),U=(e=>(e.FILTER="数据过滤",e.MAPPING="数据映射",e.CONTENT="数据内容",e))(U||{}),p=(e=>(e.STATIC="静态数据",e.AJAX="动态请求",e.Pond="公共接口",e))(p||{});const j=[{label:a.GET,value:a.GET,style:{color:"greenyellow",fontWeight:"bold"}},{label:a.POST,value:a.POST,style:{color:"skyblue",fontWeight:"bold"}},{label:a.PUT,value:a.PUT,style:{color:"goldenrod",fontWeight:"bold"}},{label:a.PATCH,value:a.PATCH,style:{color:"violet",fontWeight:"bold"}},{label:a.DELETE,value:a.DELETE,disabled:!0,style:{fontWeight:"bold"}}],B=[{label:u[r.SECOND],value:r.SECOND},{label:u[r.MINUTE],value:r.MINUTE},{label:u[r.HOUR],value:r.HOUR},{label:u[r.DAY],value:r.DAY}],L={key:0,class:"go-chart-configurations-data"},k=P({__name:"index",setup(e){const b=m(()=>T(()=>import("./index-de968ff8.js"),["./index-de968ff8.js","./index-17be34f0.js","./index-414f6242.js","../css/index-9c2eb289.css","./chartEditStore-71df5cf8.js","./plugin-614116ba.js","./icon-42145a57.js","./useTargetData.hook-d38571ae.js","./EditorWorker-a0040853.js","./editorWorker-43a98755.js","../css/EditorWorker-eb2c5524.css","./fileTypeEnum-21359a08.js","../css/index-b75b8879.css","./index-6b001454.js","../css/index-d825de9b.css","./SettingItemBox-c30b2af8.js","../css/SettingItemBox-462ae6ed.css","../css/index-4dd462f0.css"],import.meta.url)),A=m(()=>T(()=>import("./index-4f2248f7.js"),["./index-4f2248f7.js","./index-414f6242.js","../css/index-9c2eb289.css","./icon-42145a57.js","./SettingItem-cbdfd56e.js","../css/SettingItemBox-462ae6ed.css","./SettingItemBox-c30b2af8.js","./chartEditStore-71df5cf8.js","./plugin-614116ba.js","./useTargetData.hook-d38571ae.js","./pondIndex.vue_vue_type_style_index_0_scoped_bc18493e_lang-e253d2a7.js","./EditorWorker-a0040853.js","./editorWorker-43a98755.js","../css/EditorWorker-eb2c5524.css","../css/pondIndex-fd522318.css","./useSync.hook-02ee83df.js","./chartLayoutStore-5945c8c3.js","./index-3e379f1f.js","./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js","./index.esm.min-6f206398.js","./fileTypeEnum-21359a08.js","../css/index-51120298.css","./project.api-d17fa7c6.js","./index-17be34f0.js","../css/index-b75b8879.css","./index-6b001454.js","../css/index-d825de9b.css","../css/index-2b79e72d.css"],import.meta.url)),y=m(()=>T(()=>import("./index-0be83bf4.js"),["./index-0be83bf4.js","./index-414f6242.js","../css/index-9c2eb289.css","./icon-42145a57.js","./SettingItemBox-c30b2af8.js","../css/SettingItemBox-462ae6ed.css","./chartEditStore-71df5cf8.js","./plugin-614116ba.js","./noData-e5cefb25.js","./useTargetData.hook-d38571ae.js","./pondIndex.vue_vue_type_style_index_0_scoped_bc18493e_lang-e253d2a7.js","./SettingItem-cbdfd56e.js","./EditorWorker-a0040853.js","./editorWorker-43a98755.js","../css/EditorWorker-eb2c5524.css","../css/pondIndex-fd522318.css","./chartLayoutStore-5945c8c3.js","./index-3e379f1f.js","./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js","./index.esm.min-6f206398.js","./fileTypeEnum-21359a08.js","../css/index-51120298.css","./useSync.hook-02ee83df.js","./project.api-d17fa7c6.js","./index-17be34f0.js","../css/index-b75b8879.css","./index-6b001454.js","../css/index-d825de9b.css","../css/index-e14f9969.css"],import.meta.url)),{targetData:o}=h(),C=[{label:p.STATIC,value:l.STATIC},{label:p.AJAX,value:l.AJAX},{label:p.Pond,value:l.Pond}],f=S(()=>{var c,s,n;return((c=o.value.chartConfig)==null?void 0:c.chartFrame)===N.STATIC||typeof((n=(s=o.value)==null?void 0:s.option)==null?void 0:n.dataset)=="undefined"});return(c,s)=>{const n=O("n-select");return t(o)?(d(),D("div",L,[v(t(g),{name:"请求方式",alone:!0},{default:I(()=>[v(n,{value:t(o).request.requestDataType,"onUpdate:value":s[0]||(s[0]=E=>t(o).request.requestDataType=E),disabled:f.value,options:C},null,8,["value","disabled"])]),_:1}),t(o).request.requestDataType===t(l).STATIC?(d(),_(t(b),{key:0})):i("",!0),t(o).request.requestDataType===t(l).AJAX?(d(),_(t(A),{key:1})):i("",!0),t(o).request.requestDataType===t(l).Pond?(d(),_(t(y),{key:2})):i("",!0)])):i("",!0)}}}),J=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"}));export{q as D,U as T,j as a,J as i,B as s};
import{aO as a,d1 as u,aP as r,d as P,ae as T,aN as l,a1 as S,r as O,u as t,o as d,c as D,b as v,w as I,D as _,a6 as i}from"./index-4ec2ce15.js";import{l as m}from"./index-64867e41.js";/* empty css */import{S as g}from"./SettingItemBox-f60eaa4e.js";import{d as N}from"./chartEditStore-bfc6c223.js";import{u as h}from"./useTargetData.hook-06bbbd45.js";var q=(e=>(e[e.NULL=0]="NULL",e[e.SUCCESS=1]="SUCCESS",e[e.FAILURE=2]="FAILURE",e))(q||{}),U=(e=>(e.FILTER="数据过滤",e.MAPPING="数据映射",e.CONTENT="数据内容",e))(U||{}),p=(e=>(e.STATIC="静态数据",e.AJAX="动态请求",e.Pond="公共接口",e))(p||{});const j=[{label:a.GET,value:a.GET,style:{color:"greenyellow",fontWeight:"bold"}},{label:a.POST,value:a.POST,style:{color:"skyblue",fontWeight:"bold"}},{label:a.PUT,value:a.PUT,style:{color:"goldenrod",fontWeight:"bold"}},{label:a.PATCH,value:a.PATCH,style:{color:"violet",fontWeight:"bold"}},{label:a.DELETE,value:a.DELETE,disabled:!0,style:{fontWeight:"bold"}}],B=[{label:u[r.SECOND],value:r.SECOND},{label:u[r.MINUTE],value:r.MINUTE},{label:u[r.HOUR],value:r.HOUR},{label:u[r.DAY],value:r.DAY}],L={key:0,class:"go-chart-configurations-data"},k=P({__name:"index",setup(e){const b=m(()=>T(()=>import("./index-b454ff8a.js"),["./index-b454ff8a.js","./index-9703cacc.js","./index-4ec2ce15.js","../css/index-9c2eb289.css","./chartEditStore-bfc6c223.js","./plugin-ae137233.js","./icon-42fa39e7.js","./useTargetData.hook-06bbbd45.js","./EditorWorker-43e8cbc4.js","./editorWorker-43a98755.js","../css/EditorWorker-eb2c5524.css","./fileTypeEnum-21359a08.js","../css/index-b75b8879.css","./index-64867e41.js","../css/index-d825de9b.css","./SettingItemBox-f60eaa4e.js","../css/SettingItemBox-462ae6ed.css","../css/index-4dd462f0.css"],import.meta.url)),A=m(()=>T(()=>import("./index-7f30d867.js"),["./index-7f30d867.js","./index-4ec2ce15.js","../css/index-9c2eb289.css","./icon-42fa39e7.js","./SettingItem-35031211.js","../css/SettingItemBox-462ae6ed.css","./SettingItemBox-f60eaa4e.js","./chartEditStore-bfc6c223.js","./plugin-ae137233.js","./useTargetData.hook-06bbbd45.js","./pondIndex.vue_vue_type_style_index_0_scoped_bc18493e_lang-51a9fc87.js","./EditorWorker-43e8cbc4.js","./editorWorker-43a98755.js","../css/EditorWorker-eb2c5524.css","../css/pondIndex-fd522318.css","./useSync.hook-dcdbd18a.js","./chartLayoutStore-810503fe.js","./index-96c3a075.js","./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js","./index.esm.min-2eecdcbd.js","./fileTypeEnum-21359a08.js","../css/index-51120298.css","./project.api-0931840b.js","./index-9703cacc.js","../css/index-b75b8879.css","./index-64867e41.js","../css/index-d825de9b.css","../css/index-2b79e72d.css"],import.meta.url)),y=m(()=>T(()=>import("./index-d0352fad.js"),["./index-d0352fad.js","./index-4ec2ce15.js","../css/index-9c2eb289.css","./icon-42fa39e7.js","./SettingItemBox-f60eaa4e.js","../css/SettingItemBox-462ae6ed.css","./chartEditStore-bfc6c223.js","./plugin-ae137233.js","./noData-e5cefb25.js","./useTargetData.hook-06bbbd45.js","./pondIndex.vue_vue_type_style_index_0_scoped_bc18493e_lang-51a9fc87.js","./SettingItem-35031211.js","./EditorWorker-43e8cbc4.js","./editorWorker-43a98755.js","../css/EditorWorker-eb2c5524.css","../css/pondIndex-fd522318.css","./chartLayoutStore-810503fe.js","./index-96c3a075.js","./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js","./index.esm.min-2eecdcbd.js","./fileTypeEnum-21359a08.js","../css/index-51120298.css","./useSync.hook-dcdbd18a.js","./project.api-0931840b.js","./index-9703cacc.js","../css/index-b75b8879.css","./index-64867e41.js","../css/index-d825de9b.css","../css/index-e14f9969.css"],import.meta.url)),{targetData:o}=h(),C=[{label:p.STATIC,value:l.STATIC},{label:p.AJAX,value:l.AJAX},{label:p.Pond,value:l.Pond}],f=S(()=>{var c,s,n;return((c=o.value.chartConfig)==null?void 0:c.chartFrame)===N.STATIC||typeof((n=(s=o.value)==null?void 0:s.option)==null?void 0:n.dataset)=="undefined"});return(c,s)=>{const n=O("n-select");return t(o)?(d(),D("div",L,[v(t(g),{name:"请求方式",alone:!0},{default:I(()=>[v(n,{value:t(o).request.requestDataType,"onUpdate:value":s[0]||(s[0]=E=>t(o).request.requestDataType=E),disabled:f.value,options:C},null,8,["value","disabled"])]),_:1}),t(o).request.requestDataType===t(l).STATIC?(d(),_(t(b),{key:0})):i("",!0),t(o).request.requestDataType===t(l).AJAX?(d(),_(t(A),{key:1})):i("",!0),t(o).request.requestDataType===t(l).Pond?(d(),_(t(y),{key:2})):i("",!0)])):i("",!0)}}}),J=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"}));export{q as D,U as T,j as a,J as i,B as s};

View File

@ -1 +1 @@
import{d as _,r as e,c,b as t,w as n,o as r,u as p,a5 as i,e as d,h as l}from"./index-414f6242.js";const m={class:"go-project-my-template"},u=_({__name:"index",setup(f){return(x,h)=>{const o=e("n-image"),a=e("n-h3"),s=e("n-space");return r(),c("div",m,[t(s,{vertical:""},{default:n(()=>[t(o,{"object-fit":"contain",height:"300","preview-disabled":"",src:p(i)()},null,8,["src"]),t(a,null,{default:n(()=>[d("暂时还没有东西呢")]),_:1})]),_:1})])}}});const g=l(u,[["__scopeId","data-v-e79066a1"]]);export{g as default};
import{d as _,r as e,c,b as t,w as n,o as r,u as p,a5 as i,e as d,h as l}from"./index-4ec2ce15.js";const m={class:"go-project-my-template"},u=_({__name:"index",setup(f){return(x,h)=>{const o=e("n-image"),a=e("n-h3"),s=e("n-space");return r(),c("div",m,[t(s,{vertical:""},{default:n(()=>[t(o,{"object-fit":"contain",height:"300","preview-disabled":"",src:p(i)()},null,8,["src"]),t(a,null,{default:n(()=>[d("暂时还没有东西呢")]),_:1})]),_:1})])}}});const g=l(u,[["__scopeId","data-v-e79066a1"]]);export{g as default};

File diff suppressed because one or more lines are too long

BIN
dist/static/js/index-96c3a075.js.gz vendored Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
var d=(v,f,i)=>new Promise((S,u)=>{var g=a=>{try{n(i.next(a))}catch(c){u(c)}},r=a=>{try{n(i.throw(a))}catch(c){u(c)}},n=a=>a.done?S(a.value):Promise.resolve(a.value).then(g,r);n((i=i.apply(v,f)).next())});import{M as B}from"./EditorWorker-a0040853.js";import"./editorWorker-43a98755.js";import{d as D,j as J,aH as w,aI as L,ak as R,aJ as h,aK as j,aL as A,r as s,c as M,b as t,w as o,aE as F,o as y,n as H,e as p,u as m,D as x,a6 as O,h as K}from"./index-414f6242.js";import{g as z}from"./storage-d36afdb9.js";import{g as b}from"./plugin-614116ba.js";import{i as G}from"./icon-42145a57.js";import{u as U}from"./useSync.hook-02ee83df.js";import{u as q,P as Q}from"./chartEditStore-71df5cf8.js";import"./project.api-d17fa7c6.js";import"./chartLayoutStore-5945c8c3.js";import"./index-3e379f1f.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";const W={class:"go-edit"},X=D({__name:"index",setup(v){const f=q(),{dataSyncUpdate:i}=U(),{ChevronBackOutlineIcon:S,DownloadIcon:u,AnalyticsIcon:g}=G.ionicons5,r=window.showOpenFilePicker,n=J("");window.$message.warning("请不要刷新此窗口!");function a(){return d(this,null,function*(){const e=yield z();F(`编辑-${e.editCanvasConfig.projectName}`),n.value=h(e)})}setTimeout(a);function c(){b({message:"导入数据将覆盖内容,此操作不可撤回,是否继续?",isMaskClosable:!0,transformOrigin:"center",onPositiveCallback:()=>d(this,null,function*(){try{const _=yield(yield r())[0].getFile(),l=new FileReader;l.readAsText(_),l.onloadend=()=>{n.value=(l.result||"").toString()},window.$message.success("导入成功!")}catch(e){window.$message.error("导入失败,请检查文件是否损坏!"),console.log(e)}})})}window.opener.addEventListener(w.CHART,e=>{window.$message.success("正在进行更新..."),L(R.GO_CHART_STORAGE_LIST,[e.detail]),n.value=h(e.detail)}),document.addEventListener("keydown",function(e){e.keyCode==83&&(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)&&(e.preventDefault(),C())});function C(){return d(this,null,function*(){if(!window.opener)return window.$message.error("源窗口已关闭,视图同步失败!");b({message:"是否覆盖源视图内容? 此操作不可撤!",isMaskClosable:!0,transformOrigin:"center",onPositiveCallback:()=>d(this,null,function*(){try{const e=j(n.value);delete e.id,i&&(f.setProjectInfo(Q.PROJECT_ID,A()),yield i(!1)),window.opener.dispatchEvent(new CustomEvent(w.JSON,{detail:e})),window.$message.success("正在同步内容...")}catch(e){window.$message.error("内容格式有误"),console.log(e)}})})})}return window.onbeforeunload=()=>{window.opener&&window.opener.dispatchEvent(new CustomEvent(w.CLOSE))},(e,_)=>{const l=s("n-text"),k=s("n-icon"),E=s("n-button"),I=s("n-tag"),P=s("n-space"),N=s("n-layout-header"),T=s("n-layout-content"),$=s("n-layout");return y(),M("div",W,[t($,null,{default:o(()=>[t(N,{class:"go-edit-header go-px-5 go-flex-items-center",bordered:""},{default:o(()=>[H("div",null,[t(l,{class:"go-edit-title go-mr-4"},{default:o(()=>[p("页面在线编辑器")]),_:1}),m(r)?(y(),x(E,{key:0,class:"go-mr-3",size:"medium",onClick:c},{icon:o(()=>[t(k,null,{default:o(()=>[t(m(u))]),_:1})]),default:o(()=>[p(" 导入 ")]),_:1})):O("",!0)]),t(P,null,{default:o(()=>[t(I,{bordered:!1,type:"warning"},{default:o(()=>[p(" 「Ctrl + S 更新视图」 ")]),_:1}),m(r)?(y(),x(E,{key:0,class:"go-mr-3",size:"medium",onClick:C},{icon:o(()=>[t(k,null,{default:o(()=>[t(m(g))]),_:1})]),default:o(()=>[p(" 保存 ")]),_:1})):O("",!0)]),_:1})]),_:1}),t(T,null,{default:o(()=>[t(m(B),{modelValue:n.value,"onUpdate:modelValue":_[0]||(_[0]=V=>n.value=V),language:"json",editorOptions:{lineNumbers:"on",minimap:{enabled:!0}}},null,8,["modelValue"])]),_:1})]),_:1})])}}});const ge=K(X,[["__scopeId","data-v-13e14cec"]]);export{ge as default};
var d=(v,f,i)=>new Promise((S,u)=>{var g=a=>{try{n(i.next(a))}catch(c){u(c)}},r=a=>{try{n(i.throw(a))}catch(c){u(c)}},n=a=>a.done?S(a.value):Promise.resolve(a.value).then(g,r);n((i=i.apply(v,f)).next())});import{M as B}from"./EditorWorker-43e8cbc4.js";import"./editorWorker-43a98755.js";import{d as D,j as J,aH as w,aI as L,ak as R,aJ as h,aK as j,aL as A,r as s,c as M,b as t,w as o,aE as F,o as y,n as H,e as p,u as m,D as x,a6 as O,h as K}from"./index-4ec2ce15.js";import{g as z}from"./storage-a224a9c3.js";import{g as b}from"./plugin-ae137233.js";import{i as G}from"./icon-42fa39e7.js";import{u as U}from"./useSync.hook-dcdbd18a.js";import{u as q,P as Q}from"./chartEditStore-bfc6c223.js";import"./project.api-0931840b.js";import"./chartLayoutStore-810503fe.js";import"./index-96c3a075.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";const W={class:"go-edit"},X=D({__name:"index",setup(v){const f=q(),{dataSyncUpdate:i}=U(),{ChevronBackOutlineIcon:S,DownloadIcon:u,AnalyticsIcon:g}=G.ionicons5,r=window.showOpenFilePicker,n=J("");window.$message.warning("请不要刷新此窗口!");function a(){return d(this,null,function*(){const e=yield z();F(`编辑-${e.editCanvasConfig.projectName}`),n.value=h(e)})}setTimeout(a);function c(){b({message:"导入数据将覆盖内容,此操作不可撤回,是否继续?",isMaskClosable:!0,transformOrigin:"center",onPositiveCallback:()=>d(this,null,function*(){try{const _=yield(yield r())[0].getFile(),l=new FileReader;l.readAsText(_),l.onloadend=()=>{n.value=(l.result||"").toString()},window.$message.success("导入成功!")}catch(e){window.$message.error("导入失败,请检查文件是否损坏!"),console.log(e)}})})}window.opener.addEventListener(w.CHART,e=>{window.$message.success("正在进行更新..."),L(R.GO_CHART_STORAGE_LIST,[e.detail]),n.value=h(e.detail)}),document.addEventListener("keydown",function(e){e.keyCode==83&&(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)&&(e.preventDefault(),C())});function C(){return d(this,null,function*(){if(!window.opener)return window.$message.error("源窗口已关闭,视图同步失败!");b({message:"是否覆盖源视图内容? 此操作不可撤!",isMaskClosable:!0,transformOrigin:"center",onPositiveCallback:()=>d(this,null,function*(){try{const e=j(n.value);delete e.id,i&&(f.setProjectInfo(Q.PROJECT_ID,A()),yield i(!1)),window.opener.dispatchEvent(new CustomEvent(w.JSON,{detail:e})),window.$message.success("正在同步内容...")}catch(e){window.$message.error("内容格式有误"),console.log(e)}})})})}return window.onbeforeunload=()=>{window.opener&&window.opener.dispatchEvent(new CustomEvent(w.CLOSE))},(e,_)=>{const l=s("n-text"),k=s("n-icon"),E=s("n-button"),I=s("n-tag"),P=s("n-space"),N=s("n-layout-header"),T=s("n-layout-content"),$=s("n-layout");return y(),M("div",W,[t($,null,{default:o(()=>[t(N,{class:"go-edit-header go-px-5 go-flex-items-center",bordered:""},{default:o(()=>[H("div",null,[t(l,{class:"go-edit-title go-mr-4"},{default:o(()=>[p("页面在线编辑器")]),_:1}),m(r)?(y(),x(E,{key:0,class:"go-mr-3",size:"medium",onClick:c},{icon:o(()=>[t(k,null,{default:o(()=>[t(m(u))]),_:1})]),default:o(()=>[p(" 导入 ")]),_:1})):O("",!0)]),t(P,null,{default:o(()=>[t(I,{bordered:!1,type:"warning"},{default:o(()=>[p(" 「Ctrl + S 更新视图」 ")]),_:1}),m(r)?(y(),x(E,{key:0,class:"go-mr-3",size:"medium",onClick:C},{icon:o(()=>[t(k,null,{default:o(()=>[t(m(g))]),_:1})]),default:o(()=>[p(" 保存 ")]),_:1})):O("",!0)]),_:1})]),_:1}),t(T,null,{default:o(()=>[t(m(B),{modelValue:n.value,"onUpdate:modelValue":_[0]||(_[0]=V=>n.value=V),language:"json",editorOptions:{lineNumbers:"on",minimap:{enabled:!0}}},null,8,["modelValue"])]),_:1})]),_:1})])}}});const ge=K(X,[["__scopeId","data-v-13e14cec"]]);export{ge as default};

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as b,a1 as c,bo as o,r as h,o as t,c as i,F as C,q as x,av as d,bp as z,b as B,w,D as q,E as I,h as R}from"./index-414f6242.js";import{i as F}from"./icon-42145a57.js";const g={class:"go-apple-control-btn"},L=["onClick"],M=b({__name:"index",props:{mini:{request:!1,type:Boolean,default:!1},disabled:{request:!1,type:Boolean,default:!1},hidden:{request:!1,type:Array,default(){return[]}},narrow:{request:!1,type:Boolean,default:!1}},emits:["close","remove","resize","fullResize"],setup(s,{emit:u}){const a=s,{CloseIcon:f,RemoveIcon:_,ResizeIcon:m}=F.ionicons5,p=c(()=>y.filter(r=>a.hidden.findIndex(l=>r.key==l)===-1)),v=c(()=>a.narrow&&o(!0)),y=[{title:"关闭",key:"close",icon:f},{title:"缩小",key:"remove",icon:_},{title:v.value?"缩小":"放大",key:a.narrow?"fullResize":"resize",icon:m}],k=e=>{e==="fullResize"&&o(),e==="remove"&&o(!0)&&o(),u(e)};return(e,r)=>{const l=h("n-icon");return t(),i("div",g,[(t(!0),i(C,null,x(p.value,n=>(t(),i("div",{key:n.key,class:d(["btn",[n.key,s.disabled&&"disabled",s.mini&&"mini"]]),onClick:z(D=>k(n.key),["stop"])},[B(l,{size:"10",class:d(["icon-base",{hover:!s.disabled}])},{default:w(()=>[(t(),q(I(n.icon)))]),_:2},1032,["class"])],10,L))),128))])}}});const N=R(M,[["__scopeId","data-v-281e8a22"]]);export{N as M};
import{d as b,a1 as c,bo as o,r as h,o as t,c as i,F as C,q as x,av as d,bp as z,b as B,w,D as q,E as I,h as R}from"./index-4ec2ce15.js";import{i as F}from"./icon-42fa39e7.js";const g={class:"go-apple-control-btn"},L=["onClick"],M=b({__name:"index",props:{mini:{request:!1,type:Boolean,default:!1},disabled:{request:!1,type:Boolean,default:!1},hidden:{request:!1,type:Array,default(){return[]}},narrow:{request:!1,type:Boolean,default:!1}},emits:["close","remove","resize","fullResize"],setup(s,{emit:u}){const a=s,{CloseIcon:f,RemoveIcon:_,ResizeIcon:m}=F.ionicons5,p=c(()=>y.filter(r=>a.hidden.findIndex(l=>r.key==l)===-1)),v=c(()=>a.narrow&&o(!0)),y=[{title:"关闭",key:"close",icon:f},{title:"缩小",key:"remove",icon:_},{title:v.value?"缩小":"放大",key:a.narrow?"fullResize":"resize",icon:m}],k=e=>{e==="fullResize"&&o(),e==="remove"&&o(!0)&&o(),u(e)};return(e,r)=>{const l=h("n-icon");return t(),i("div",g,[(t(!0),i(C,null,x(p.value,n=>(t(),i("div",{key:n.key,class:d(["btn",[n.key,s.disabled&&"disabled",s.mini&&"mini"]]),onClick:z(D=>k(n.key),["stop"])},[B(l,{size:"10",class:d(["icon-base",{hover:!s.disabled}])},{default:w(()=>[(t(),q(I(n.icon)))]),_:2},1032,["class"])],10,L))),128))])}}});const N=R(M,[["__scopeId","data-v-281e8a22"]]);export{N as M};

1
dist/static/js/index-b454ff8a.js vendored Normal file
View File

@ -0,0 +1 @@
import{C as t}from"./index-9703cacc.js";import{d as o,o as e,c as a,b as r,u as s,h as i}from"./index-4ec2ce15.js";import"./chartEditStore-bfc6c223.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";import"./index-8433d189.js";import"./index-64867e41.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./useTargetData.hook-06bbbd45.js";import"./EditorWorker-43e8cbc4.js";import"./editorWorker-43a98755.js";import"./fileTypeEnum-21359a08.js";const n={class:"go-chart-configurations-data-static"},p=o({__name:"index",setup(_){return(c,m)=>(e(),a("div",n,[r(s(t),{show:!1,ajax:!1})]))}});const B=i(p,[["__scopeId","data-v-27759b05"]]);export{B as default};

View File

@ -1 +1 @@
import{d as L,be as R,O as B,j as S,a1 as U,r as s,u as t,o as n,c as i,b as v,w as o,e as c,F as d,q as _,D as m,av as z,t as V,a6 as A,h as $}from"./index-414f6242.js";/* empty css */import{_ as N}from"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./chartEditStore-71df5cf8.js";import{u as O}from"./useTargetData.hook-d38571ae.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";const T=[{label:"强调动画",children:[{label:"弹跳",value:"bounce"},{label:"闪烁",value:"flash"},{label:"放大缩小",value:"pulse"},{label:"放大缩小弹簧",value:"rubberBand"},{label:"左右晃动",value:"headShake"},{label:"左右扇形摇摆",value:"swing"},{label:"放大晃动缩小",value:"tada"},{label:"扇形摇摆",value:"wobble"},{label:"左右上下晃动",value:"jello"}]},{label:"移入动画",children:[{label:"渐显",value:"fadeIn"},{label:"向右进入",value:"fadeInLeft"},{label:"向左进入",value:"fadeInRight"},{label:"向上进入",value:"fadeInUp"},{label:"向下进入",value:"fadeInDown"},{label:"向右长距进入",value:"fadeInLeftBig"},{label:"向左长距进入",value:"fadeInRightBig"},{label:"向上长距进入",value:"fadeInUpBig"},{label:"向下长距进入",value:"fadeInDownBig"},{label:"旋转进入",value:"rotateIn"},{label:"左顺时针旋转",value:"rotateInDownLeft"},{label:"右逆时针旋转",value:"rotateInDownRight"},{label:"左逆时针旋转",value:"rotateInUpLeft"},{label:"右逆时针旋转",value:"rotateInUpRight"},{label:"弹入",value:"bounceIn"},{label:"向右弹入",value:"bounceInLeft"},{label:"向左弹入",value:"bounceInRight"},{label:"向上弹入",value:"bounceInUp"},{label:"向下弹入",value:"bounceInDown"},{label:"光速从右进入",value:"lightSpeedInRight"},{label:"光速从左进入",value:"lightSpeedInLeft"},{label:"光速从右退出",value:"lightSpeedOutRight"},{label:"光速从左退出",value:"lightSpeedOutLeft"},{label:"Y轴旋转",value:"flip"},{label:"中心X轴旋转",value:"flipInX"},{label:"中心Y轴旋转",value:"flipInY"},{label:"左长半径旋转",value:"rollIn"},{label:"由小变大进入",value:"zoomIn"},{label:"左变大进入",value:"zoomInLeft"},{label:"右变大进入",value:"zoomInRight"},{label:"向上变大进入",value:"zoomInUp"},{label:"向下变大进入",value:"zoomInDown"},{label:"向右滑动展开",value:"slideInLeft"},{label:"向左滑动展开",value:"slideInRight"},{label:"向上滑动展开",value:"slideInUp"},{label:"向下滑动展开",value:"slideInDown"}]}],Y={key:0,class:"go-chart-configurations-animations"},j=L({__name:"index",setup(q){R(l=>({d4c88a06:f.value}));const p=B(),b=S(""),{targetData:a}=O(),f=U(()=>p.getAppTheme),g=l=>{const u=a.value.styles.animations;return u.length?u[0]===l:!1},I=()=>{a.value.styles.animations=[]},h=l=>{a.value.styles.animations=[l.value]};return(l,u)=>{const x=s("n-button"),w=s("n-grid-item"),y=s("n-grid");return t(a)?(n(),i("div",Y,[v(x,{class:"clear-btn go-my-2",disabled:!t(a).styles.animations.length,onClick:I},{default:o(()=>[c(" 清除动画 ")]),_:1},8,["disabled"]),(n(!0),i(d,null,_(t(T),(r,D)=>(n(),m(t(N),{key:D,name:r.label,expanded:!0},{default:o(()=>[v(y,{"x-gap":6,"y-gap":10,cols:3},{default:o(()=>[(n(!0),i(d,null,_(r.children,(e,k)=>(n(),m(w,{class:z(["animation-item go-transition-quick",[g(e.value)&&"active",b.value===e.value&&`animate__animated animate__${e.value}`]]),key:k,onMouseover:C=>b.value=e.value,onClick:C=>h(e)},{default:o(()=>[c(V(e.label),1)]),_:2},1032,["class","onMouseover","onClick"]))),128))]),_:2},1024)]),_:2},1032,["name"]))),128))])):A("",!0)}}});const J=$(j,[["__scopeId","data-v-6ba9ba9c"]]);export{J as default};
import{d as L,be as R,O as B,j as S,a1 as U,r as s,u as t,o as n,c as i,b as v,w as o,e as c,F as d,q as _,D as m,av as z,t as V,a6 as A,h as $}from"./index-4ec2ce15.js";/* empty css */import{_ as N}from"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./chartEditStore-bfc6c223.js";import{u as O}from"./useTargetData.hook-06bbbd45.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";const T=[{label:"强调动画",children:[{label:"弹跳",value:"bounce"},{label:"闪烁",value:"flash"},{label:"放大缩小",value:"pulse"},{label:"放大缩小弹簧",value:"rubberBand"},{label:"左右晃动",value:"headShake"},{label:"左右扇形摇摆",value:"swing"},{label:"放大晃动缩小",value:"tada"},{label:"扇形摇摆",value:"wobble"},{label:"左右上下晃动",value:"jello"}]},{label:"移入动画",children:[{label:"渐显",value:"fadeIn"},{label:"向右进入",value:"fadeInLeft"},{label:"向左进入",value:"fadeInRight"},{label:"向上进入",value:"fadeInUp"},{label:"向下进入",value:"fadeInDown"},{label:"向右长距进入",value:"fadeInLeftBig"},{label:"向左长距进入",value:"fadeInRightBig"},{label:"向上长距进入",value:"fadeInUpBig"},{label:"向下长距进入",value:"fadeInDownBig"},{label:"旋转进入",value:"rotateIn"},{label:"左顺时针旋转",value:"rotateInDownLeft"},{label:"右逆时针旋转",value:"rotateInDownRight"},{label:"左逆时针旋转",value:"rotateInUpLeft"},{label:"右逆时针旋转",value:"rotateInUpRight"},{label:"弹入",value:"bounceIn"},{label:"向右弹入",value:"bounceInLeft"},{label:"向左弹入",value:"bounceInRight"},{label:"向上弹入",value:"bounceInUp"},{label:"向下弹入",value:"bounceInDown"},{label:"光速从右进入",value:"lightSpeedInRight"},{label:"光速从左进入",value:"lightSpeedInLeft"},{label:"光速从右退出",value:"lightSpeedOutRight"},{label:"光速从左退出",value:"lightSpeedOutLeft"},{label:"Y轴旋转",value:"flip"},{label:"中心X轴旋转",value:"flipInX"},{label:"中心Y轴旋转",value:"flipInY"},{label:"左长半径旋转",value:"rollIn"},{label:"由小变大进入",value:"zoomIn"},{label:"左变大进入",value:"zoomInLeft"},{label:"右变大进入",value:"zoomInRight"},{label:"向上变大进入",value:"zoomInUp"},{label:"向下变大进入",value:"zoomInDown"},{label:"向右滑动展开",value:"slideInLeft"},{label:"向左滑动展开",value:"slideInRight"},{label:"向上滑动展开",value:"slideInUp"},{label:"向下滑动展开",value:"slideInDown"}]}],Y={key:0,class:"go-chart-configurations-animations"},j=L({__name:"index",setup(q){R(l=>({d4c88a06:f.value}));const p=B(),b=S(""),{targetData:a}=O(),f=U(()=>p.getAppTheme),g=l=>{const u=a.value.styles.animations;return u.length?u[0]===l:!1},I=()=>{a.value.styles.animations=[]},h=l=>{a.value.styles.animations=[l.value]};return(l,u)=>{const x=s("n-button"),w=s("n-grid-item"),y=s("n-grid");return t(a)?(n(),i("div",Y,[v(x,{class:"clear-btn go-my-2",disabled:!t(a).styles.animations.length,onClick:I},{default:o(()=>[c(" 清除动画 ")]),_:1},8,["disabled"]),(n(!0),i(d,null,_(t(T),(r,D)=>(n(),m(t(N),{key:D,name:r.label,expanded:!0},{default:o(()=>[v(y,{"x-gap":6,"y-gap":10,cols:3},{default:o(()=>[(n(!0),i(d,null,_(r.children,(e,k)=>(n(),m(w,{class:z(["animation-item go-transition-quick",[g(e.value)&&"active",b.value===e.value&&`animate__animated animate__${e.value}`]]),key:k,onMouseover:C=>b.value=e.value,onClick:C=>h(e)},{default:o(()=>[c(V(e.label),1)]),_:2},1032,["class","onMouseover","onClick"]))),128))]),_:2},1024)]),_:2},1032,["name"]))),128))])):A("",!0)}}});const J=$(j,[["__scopeId","data-v-6ba9ba9c"]]);export{J as default};

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
dist/static/js/index-d0352fad.js.gz vendored Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +1 @@
import{d as Q,$ as X,l as h,Y as a,a1 as v,r,o as n,D as c,w as t,b as o,u as y,c as b,F as I,q as A,E as H,n as u,t as B,b7 as Z,s as tt,x as et,h as ot}from"./index-414f6242.js";import{g as st}from"./plugin-614116ba.js";import{i as w}from"./icon-42145a57.js";import{u as nt}from"./useKeyboard.hook-458bded7.js";import{u as at}from"./useSync.hook-02ee83df.js";import{u as rt,a as ct,H as d}from"./chartEditStore-71df5cf8.js";import{u as L,C as _}from"./chartLayoutStore-5945c8c3.js";import"./index-3e379f1f.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";import"./project.api-d17fa7c6.js";const it=i=>(tt("data-v-73bd34c5"),i=i(),et(),i),lt={class:"save-btn"},pt=it(()=>u("span",null,"保存",-1)),dt=Q({__name:"index",setup(i){const{LayersIcon:x,BarChartIcon:D,PrismIcon:E,HomeIcon:F,ArrowBackIcon:R,ArrowForwardIcon:K}=w.ionicons5,{SaveIcon:T}=w.carbon,{setItem:z}=L(),{dataSyncUpdate:$}=at(),{getLayers:q,getCharts:N,getDetails:O}=X(L()),k=rt(),g=ct(),P=h([{key:_.CHARTS,select:N,title:"图表组件",icon:a(D)},{key:_.LAYERS,select:q,title:"图层控制",icon:a(x)},{key:_.DETAILS,select:O,title:"详情设置",icon:a(E)}]),V=v(()=>g.getBackStack.length>1),W=v(()=>g.getForwardStack.length>0),Y=h([{key:d.BACK_STACK,select:V,title:"后退",icon:a(R)},{key:d.FORWARD_STACK,select:W,title:"前进",icon:a(K)}]),M=s=>s.key===_.DETAILS?s.select?"":"primary":s.select?"primary":"",U=s=>{z(s.key,!s.select)},j=s=>{switch(s.key){case d.BACK_STACK:k.setBack();break;case d.FORWARD_STACK:k.setForward();break}},G=()=>{st({message:"确定已保存了数据Ctrl / ⌘ + S并返回到首页吗",isMaskClosable:!0,onPositiveCallback:()=>{Z(),nt()}})};return(s,l)=>{const C=r("n-icon"),p=r("n-button"),m=r("n-tooltip"),S=r("n-divider"),f=r("n-space");return n(),c(f,{class:"header-left-btn",size:25},{default:t(()=>[o(p,{size:"small",quaternary:"",onClick:l[0]||(l[0]=e=>G())},{icon:t(()=>[o(C,{depth:3},{default:t(()=>[o(y(F))]),_:1})]),_:1}),o(f,null,{default:t(()=>[(n(!0),b(I,null,A(P,e=>(n(),c(m,{key:e.key,placement:"bottom",trigger:"hover"},{trigger:t(()=>[o(p,{size:"small",ghost:"",type:M(e),focusable:!1,onClick:J=>U(e)},{default:t(()=>[(n(),c(H(e.icon)))]),_:2},1032,["type","onClick"])]),default:t(()=>[u("span",null,B(e.title),1)]),_:2},1024))),128)),o(S,{vertical:""}),(n(!0),b(I,null,A(Y,e=>(n(),c(m,{key:e.key,placement:"bottom",trigger:"hover"},{trigger:t(()=>[o(p,{size:"small",ghost:"",type:"primary",disabled:!e.select,onClick:J=>j(e)},{default:t(()=>[(n(),c(H(e.icon)))]),_:2},1032,["disabled","onClick"])]),default:t(()=>[u("span",null,B(e.title),1)]),_:2},1024))),128)),o(S,{vertical:""}),o(m,{placement:"bottom",trigger:"hover"},{trigger:t(()=>[u("div",lt,[o(p,{size:"small",type:"primary",ghost:"",onClick:l[1]||(l[1]=e=>y($)())},{icon:t(()=>[o(C,null,{default:t(()=>[o(y(T))]),_:1})]),_:1})])]),default:t(()=>[pt]),_:1})]),_:1})]),_:1})}}});const Bt=ot(dt,[["__scopeId","data-v-73bd34c5"]]);export{Bt as default};
import{d as Q,$ as X,l as h,Y as a,a1 as v,r,o as n,D as c,w as t,b as o,u as y,c as b,F as I,q as A,E as H,n as u,t as B,b7 as Z,s as tt,x as et,h as ot}from"./index-4ec2ce15.js";import{g as st}from"./plugin-ae137233.js";import{i as w}from"./icon-42fa39e7.js";import{u as nt}from"./useKeyboard.hook-f82db81a.js";import{u as at}from"./useSync.hook-dcdbd18a.js";import{u as rt,a as ct,H as d}from"./chartEditStore-bfc6c223.js";import{u as L,C as _}from"./chartLayoutStore-810503fe.js";import"./index-96c3a075.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";import"./project.api-0931840b.js";const it=i=>(tt("data-v-73bd34c5"),i=i(),et(),i),lt={class:"save-btn"},pt=it(()=>u("span",null,"保存",-1)),dt=Q({__name:"index",setup(i){const{LayersIcon:x,BarChartIcon:D,PrismIcon:E,HomeIcon:F,ArrowBackIcon:R,ArrowForwardIcon:K}=w.ionicons5,{SaveIcon:T}=w.carbon,{setItem:z}=L(),{dataSyncUpdate:$}=at(),{getLayers:q,getCharts:N,getDetails:O}=X(L()),k=rt(),g=ct(),P=h([{key:_.CHARTS,select:N,title:"图表组件",icon:a(D)},{key:_.LAYERS,select:q,title:"图层控制",icon:a(x)},{key:_.DETAILS,select:O,title:"详情设置",icon:a(E)}]),V=v(()=>g.getBackStack.length>1),W=v(()=>g.getForwardStack.length>0),Y=h([{key:d.BACK_STACK,select:V,title:"后退",icon:a(R)},{key:d.FORWARD_STACK,select:W,title:"前进",icon:a(K)}]),M=s=>s.key===_.DETAILS?s.select?"":"primary":s.select?"primary":"",U=s=>{z(s.key,!s.select)},j=s=>{switch(s.key){case d.BACK_STACK:k.setBack();break;case d.FORWARD_STACK:k.setForward();break}},G=()=>{st({message:"确定已保存了数据Ctrl / ⌘ + S并返回到首页吗",isMaskClosable:!0,onPositiveCallback:()=>{Z(),nt()}})};return(s,l)=>{const C=r("n-icon"),p=r("n-button"),m=r("n-tooltip"),S=r("n-divider"),f=r("n-space");return n(),c(f,{class:"header-left-btn",size:25},{default:t(()=>[o(p,{size:"small",quaternary:"",onClick:l[0]||(l[0]=e=>G())},{icon:t(()=>[o(C,{depth:3},{default:t(()=>[o(y(F))]),_:1})]),_:1}),o(f,null,{default:t(()=>[(n(!0),b(I,null,A(P,e=>(n(),c(m,{key:e.key,placement:"bottom",trigger:"hover"},{trigger:t(()=>[o(p,{size:"small",ghost:"",type:M(e),focusable:!1,onClick:J=>U(e)},{default:t(()=>[(n(),c(H(e.icon)))]),_:2},1032,["type","onClick"])]),default:t(()=>[u("span",null,B(e.title),1)]),_:2},1024))),128)),o(S,{vertical:""}),(n(!0),b(I,null,A(Y,e=>(n(),c(m,{key:e.key,placement:"bottom",trigger:"hover"},{trigger:t(()=>[o(p,{size:"small",ghost:"",type:"primary",disabled:!e.select,onClick:J=>j(e)},{default:t(()=>[(n(),c(H(e.icon)))]),_:2},1032,["disabled","onClick"])]),default:t(()=>[u("span",null,B(e.title),1)]),_:2},1024))),128)),o(S,{vertical:""}),o(m,{placement:"bottom",trigger:"hover"},{trigger:t(()=>[u("div",lt,[o(p,{size:"small",type:"primary",ghost:"",onClick:l[1]||(l[1]=e=>y($)())},{icon:t(()=>[o(C,null,{default:t(()=>[o(y(T))]),_:1})]),_:1})])]),default:t(()=>[pt]),_:1})]),_:1})]),_:1})}}});const Bt=ot(dt,[["__scopeId","data-v-73bd34c5"]]);export{Bt as default};

View File

@ -1 +0,0 @@
import{C as t}from"./index-17be34f0.js";import{d as o,o as e,c as a,b as r,u as s,h as i}from"./index-414f6242.js";import"./chartEditStore-71df5cf8.js";import"./plugin-614116ba.js";import"./icon-42145a57.js";import"./index-a9256dac.js";import"./index-6b001454.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./useTargetData.hook-d38571ae.js";import"./EditorWorker-a0040853.js";import"./editorWorker-43a98755.js";import"./fileTypeEnum-21359a08.js";const n={class:"go-chart-configurations-data-static"},p=o({__name:"index",setup(_){return(c,m)=>(e(),a("div",n,[r(s(t),{show:!1,ajax:!1})]))}});const B=i(p,[["__scopeId","data-v-27759b05"]]);export{B as default};

View File

@ -1,4 +1,4 @@
var Gn=(s,n,r)=>new Promise((i,e)=>{var u=a=>{try{o(r.next(a))}catch(l){e(l)}},t=a=>{try{o(r.throw(a))}catch(l){e(l)}},o=a=>a.done?i(a.value):Promise.resolve(a.value).then(u,t);o((r=r.apply(s,n)).next())});import{bb as pr,g as gr,bc as mr,bd as yr,d as ln,be as Rn,O as Mn,a1 as Ut,r as wt,Q as Sr,U as br,o as $t,c as Ue,b as Ot,av as ce,u as mt,h as un,j as tn,n as ue,a5 as xr,w as Pt,t as Nn,aa as Gt,D as le,e as Tn,F as Zn,q as kn,bf as qn,ac as Er,J as Or,a6 as Tr}from"./index-414f6242.js";import{C as Ir}from"./index-b0d48761.js";import{L as ye,u as Cr,C as Un}from"./chartLayoutStore-5945c8c3.js";import{u as fn}from"./chartEditStore-71df5cf8.js";import{u as _n,d as Dr}from"./index-515c1b54.js";import{b as Pr}from"./index-3e379f1f.js";import{i as en}from"./icon-42145a57.js";import"./plugin-614116ba.js";import"./index-6b001454.js";import"./index.vue_vue_type_script_setup_true_lang-134999cf.js";import"./SettingItem-cbdfd56e.js";/* empty css */import"./SettingItemBox-c30b2af8.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-80d5594f.js";import"./index.esm.min-6f206398.js";import"./fileTypeEnum-21359a08.js";var tr={exports:{}};/**!
var Gn=(s,n,r)=>new Promise((i,e)=>{var u=a=>{try{o(r.next(a))}catch(l){e(l)}},t=a=>{try{o(r.throw(a))}catch(l){e(l)}},o=a=>a.done?i(a.value):Promise.resolve(a.value).then(u,t);o((r=r.apply(s,n)).next())});import{bb as pr,g as gr,bc as mr,bd as yr,d as ln,be as Rn,O as Mn,a1 as Ut,r as wt,Q as Sr,U as br,o as $t,c as Ue,b as Ot,av as ce,u as mt,h as un,j as tn,n as ue,a5 as xr,w as Pt,t as Nn,aa as Gt,D as le,e as Tn,F as Zn,q as kn,bf as qn,ac as Er,J as Or,a6 as Tr}from"./index-4ec2ce15.js";import{C as Ir}from"./index-f119bf30.js";import{L as ye,u as Cr,C as Un}from"./chartLayoutStore-810503fe.js";import{u as fn}from"./chartEditStore-bfc6c223.js";import{u as _n,d as Dr}from"./index-04f5d9ae.js";import{b as Pr}from"./index-96c3a075.js";import{i as en}from"./icon-42fa39e7.js";import"./plugin-ae137233.js";import"./index-64867e41.js";import"./index.vue_vue_type_script_setup_true_lang-4f4dbba3.js";import"./SettingItem-35031211.js";/* empty css */import"./SettingItemBox-f60eaa4e.js";import"./CollapseItem.vue_vue_type_script_setup_true_lang-77b092a0.js";import"./index.esm.min-2eecdcbd.js";import"./fileTypeEnum-21359a08.js";var tr={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>

BIN
dist/static/js/index-e251d0d0.js.gz vendored Normal file

Binary file not shown.

View File

@ -1 +1 @@
import{d as w,r as l,o as n,c as d,b as s,w as o,e as k,t as y,n as i,a,Q as B,u as x,U as C,a6 as u,D as f,av as h,h as S}from"./index-414f6242.js";import{i as $}from"./icon-42145a57.js";const N={key:0,class:"top go-mt-0 go-flex-no-wrap"},T={class:"mt-1"},I={key:1,class:"bottom go-mt-0"},V={class:"aside"},z=w({__name:"index",props:{title:String,showTop:{type:Boolean,default:!0},showBottom:{type:Boolean,default:!1},flex:{type:Boolean,default:!1},backIcon:{type:Boolean,default:!0},depth:{type:Number,default:1},xScroll:{type:Boolean,default:!1},disabledScroll:{type:Boolean,default:!1}},emits:["back"],setup(e,{emit:m}){const{ChevronBackOutlineIcon:p}=$.ionicons5,v=()=>{m("back")};return(t,D)=>{const _=l("n-text"),b=l("n-ellipsis"),r=l("n-space"),g=l("n-icon"),c=l("n-scrollbar");return n(),d("div",{class:h(["go-content-box",[`bg-depth${e.depth}`,e.flex&&"flex"]])},[e.showTop?(n(),d("div",N,[s(r,{class:"go-flex-no-wrap",size:5},{default:o(()=>[s(b,null,{default:o(()=>[s(_,null,{default:o(()=>[k(y(e.title),1)]),_:1})]),_:1}),i("div",T,[a(t.$slots,"icon",{},void 0,!0)])]),_:3}),s(r,{class:"go-flex-no-wrap",align:"center",style:{gap:"4px"}},{default:o(()=>[a(t.$slots,"top-right",{},void 0,!0),B(s(g,{size:"20",class:"go-cursor-pointer go-d-block",onClick:v},{default:o(()=>[s(x(p))]),_:1},512),[[C,e.backIcon]])]),_:3})])):u("",!0),i("div",{class:h(["content",{"content-height-show-top-bottom":e.showBottom||e.showTop,"content-height-show-both":e.showBottom&&e.showTop}])},[e.disabledScroll?a(t.$slots,"default",{key:0},void 0,!0):e.xScroll?(n(),f(c,{key:1,"x-scrollable":""},{default:o(()=>[s(c,null,{default:o(()=>[a(t.$slots,"default",{},void 0,!0)]),_:3})]),_:3})):(n(),f(c,{key:2},{default:o(()=>[a(t.$slots,"default",{},void 0,!0)]),_:3}))],2),e.showBottom?(n(),d("div",I,[a(t.$slots,"bottom",{},void 0,!0)])):u("",!0),i("div",V,[a(t.$slots,"aside",{},void 0,!0)])],2)}}});const O=S(z,[["__scopeId","data-v-247d09d8"]]);export{O as C};
import{d as w,r as l,o as n,c as d,b as s,w as o,e as k,t as y,n as i,a,Q as B,u as x,U as C,a6 as u,D as f,av as h,h as S}from"./index-4ec2ce15.js";import{i as $}from"./icon-42fa39e7.js";const N={key:0,class:"top go-mt-0 go-flex-no-wrap"},T={class:"mt-1"},I={key:1,class:"bottom go-mt-0"},V={class:"aside"},z=w({__name:"index",props:{title:String,showTop:{type:Boolean,default:!0},showBottom:{type:Boolean,default:!1},flex:{type:Boolean,default:!1},backIcon:{type:Boolean,default:!0},depth:{type:Number,default:1},xScroll:{type:Boolean,default:!1},disabledScroll:{type:Boolean,default:!1}},emits:["back"],setup(e,{emit:m}){const{ChevronBackOutlineIcon:p}=$.ionicons5,v=()=>{m("back")};return(t,D)=>{const _=l("n-text"),b=l("n-ellipsis"),r=l("n-space"),g=l("n-icon"),c=l("n-scrollbar");return n(),d("div",{class:h(["go-content-box",[`bg-depth${e.depth}`,e.flex&&"flex"]])},[e.showTop?(n(),d("div",N,[s(r,{class:"go-flex-no-wrap",size:5},{default:o(()=>[s(b,null,{default:o(()=>[s(_,null,{default:o(()=>[k(y(e.title),1)]),_:1})]),_:1}),i("div",T,[a(t.$slots,"icon",{},void 0,!0)])]),_:3}),s(r,{class:"go-flex-no-wrap",align:"center",style:{gap:"4px"}},{default:o(()=>[a(t.$slots,"top-right",{},void 0,!0),B(s(g,{size:"20",class:"go-cursor-pointer go-d-block",onClick:v},{default:o(()=>[s(x(p))]),_:1},512),[[C,e.backIcon]])]),_:3})])):u("",!0),i("div",{class:h(["content",{"content-height-show-top-bottom":e.showBottom||e.showTop,"content-height-show-both":e.showBottom&&e.showTop}])},[e.disabledScroll?a(t.$slots,"default",{key:0},void 0,!0):e.xScroll?(n(),f(c,{key:1,"x-scrollable":""},{default:o(()=>[s(c,null,{default:o(()=>[a(t.$slots,"default",{},void 0,!0)]),_:3})]),_:3})):(n(),f(c,{key:2},{default:o(()=>[a(t.$slots,"default",{},void 0,!0)]),_:3}))],2),e.showBottom?(n(),d("div",I,[a(t.$slots,"bottom",{},void 0,!0)])):u("",!0),i("div",V,[a(t.$slots,"aside",{},void 0,!0)])],2)}}});const O=S(z,[["__scopeId","data-v-247d09d8"]]);export{O as C};

Some files were not shown because too many files have changed in this diff Show More