This commit is contained in:
songchenxuan
2024-01-17 09:33:25 +08:00
parent 99c51f3a62
commit b931a64aeb
63 changed files with 4282 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
import{_}from"./403-24e394e4.js";import{p as c,d as r,r as n,h as u,e as p,w as d,G as i,P as m,o as l,m as v,H as x,I as B,z as t}from"./index.js";const o=e=>(x("data-v-6eb339c3"),e=e(),B(),e),E={class:"go-error"},h=o(()=>t("div",{class:"text-center"},[t("img",{src:_,alt:""})],-1)),f=o(()=>t("div",{class:"text-center"},[t("h1",{class:"text-base text-gray-500"},"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762")],-1)),g=r({__name:"403",setup(e){function s(){i(m.BASE_HOME_NAME)}return(b,y)=>{const a=n("n-button");return l(),u("div",E,[h,f,p(a,{type:"primary",onClick:s},{default:d(()=>[v("\u56DE\u5230\u9996\u9875")]),_:1})])}}});var N=c(g,[["__scopeId","data-v-6eb339c3"]]);export{N as default};
+1
View File
@@ -0,0 +1 @@
import{_}from"./404-c00f16ad.js";import{p as c,d as r,r as u,h as n,e as p,w as d,G as i,P as m,o as l,m as f,H as v,I as x,z as t}from"./index.js";const o=e=>(v("data-v-69f4f0be"),e=e(),x(),e),B={class:"go-error"},h=o(()=>t("div",{class:"text-center"},[t("img",{src:_,alt:""})],-1)),E=o(()=>t("div",{class:"text-center"},[t("h1",{class:"text-base text-gray-500"},"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728")],-1)),g=r({__name:"404",setup(e){function s(){i(m.BASE_HOME_NAME)}return(b,y)=>{const a=u("n-button");return l(),n("div",B,[h,E,p(a,{type:"primary",onClick:s},{default:d(()=>[f("\u56DE\u5230\u9996\u9875")]),_:1})])}}});var N=c(g,[["__scopeId","data-v-69f4f0be"]]);export{N as default};
+1
View File
@@ -0,0 +1 @@
import{_}from"./500-dc262da5.js";import{p as c,d as r,r as n,h as u,e as p,w as d,G as i,P as m,o as l,m as f,H as v,I as x,z as t}from"./index.js";const o=e=>(v("data-v-ece4f648"),e=e(),x(),e),h={class:"go-error"},g=o(()=>t("div",{class:"text-center"},[t("img",{src:_,alt:""})],-1)),y=o(()=>t("div",{class:"text-center"},[t("h1",{class:"text-base text-gray-500"},"\u62B1\u6B49\uFF0C\u670D\u52A1\u5668\u51FA\u9519\u4E86")],-1)),B=r({__name:"500",setup(e){function s(){i(m.BASE_HOME_NAME)}return(E,C)=>{const a=n("n-button");return l(),u("div",h,[g,y,p(a,{type:"primary",secondary:"",onClick:s},{default:d(()=>[f("\u56DE\u5230\u9996\u9875")]),_:1})])}}});var b=c(B,[["__scopeId","data-v-ece4f648"]]);export{b 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
Binary file not shown.
File diff suppressed because one or more lines are too long
+6
View File
@@ -0,0 +1,6 @@
import{m as s}from"./index-1885db53.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7d8b87c8.js";import"./icon-c1713429.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/var p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,c=(r,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of m(e))!l.call(r,t)&&(a||t!=="default")&&p(r,t,{get:()=>e[t],enumerable:!(i=d(e,t))||i.enumerable});return r},n={};c(n,s);var o=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],g={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${o.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${o.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},E={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{g as conf,E as language};
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
import{d as c,r,o as l,h as u,z as f,j as a,c as n,w as s,e as i,ad as d,p as h}from"./index.js";const m=c({__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:p}){return(t,B)=>{const o=r("n-scrollbar");return l(),u("div",{class:d(["go-content-box",[`bg-depth${e.depth}`,e.flex&&"flex"]])},[f("div",{class:d(["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?(l(),n(o,{key:1,"x-scrollable":""},{default:s(()=>[i(o,null,{default:s(()=>[a(t.$slots,"default",{},void 0,!0)]),_:3})]),_:3})):(l(),n(o,{key:2},{default:s(()=>[a(t.$slots,"default",{},void 0,!0)]),_:3}))],2)],2)}}});var x=h(m,[["__scopeId","data-v-633d4f12"]]);export{x as C};
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
import{p as q,d as j,a3 as J,al as c,q as T,a5 as K,R as Q,r,o as n,c as _,w as a,e as s,f as b,h as L,F as x,A as N,z as R,t as k,L as D,a9 as G}from"./index.js";import{g as P,u as W,l as i,C as H}from"./useSync.hook-7c7dda8a.js";import{C as X}from"./index-05411183.js";import"./tables_list-992ce806.js";import"./plugin-318fecf4.js";import"./icon-c1713429.js";var l=(o=>(o.PAGE_SETTING="pageSetting",o.PAGE_SELECT="pageSelect",o.CHART_SETTING="chartSetting",o.CHART_ANIMATION="chartAnimation",o.CHART_DATA="chartData",o.CHART_EVENT="chartEvent",o))(l||{});const Y=j({__name:"index",setup(o){const{getDetails:y}=J(P()),{setItem:A}=P(),p=W(),w=i(()=>c(()=>import("./index-457866e0.js"),["static/js/index-457866e0.js","static/css/index-0cbc77f7.css","static/js/useSync.hook-7c7dda8a.js","static/css/useSync.hook-0a727461.css","static/js/index.js","static/css/index-a1e82c00.css","static/js/tables_list-992ce806.js","static/js/plugin-318fecf4.js","static/js/icon-c1713429.js","static/js/index-7975f79c.js","static/css/index-95e0b0d7.css","static/js/index-7feb31fa.js","static/js/index-aafa89ac.js","static/css/index-24d4cc74.css","static/js/useItem.hook-8e2b47c4.js","static/js/index-05411183.js","static/css/index-3e214e52.css","static/js/index-4ded3c7f.js","static/css/index-e4970116.css"])),V=i(()=>c(()=>import("./index-70f6bce0.js"),["static/js/index-70f6bce0.js","static/css/index-3d6336b2.css","static/js/useSync.hook-7c7dda8a.js","static/css/useSync.hook-0a727461.css","static/js/index.js","static/css/index-a1e82c00.css","static/js/tables_list-992ce806.js","static/js/plugin-318fecf4.js","static/js/icon-c1713429.js"]));i(()=>c(()=>import("./index-0b83a46f.js"),["static/js/index-0b83a46f.js","static/css/index-c9039cb2.css","static/js/useSync.hook-7c7dda8a.js","static/css/useSync.hook-0a727461.css","static/js/index.js","static/css/index-a1e82c00.css","static/js/tables_list-992ce806.js","static/js/plugin-318fecf4.js","static/js/icon-c1713429.js"]));const B=i(()=>c(()=>import("./index-7dbf8c48.js"),["static/js/index-7dbf8c48.js","static/css/index-a04ef501.css","static/js/useSync.hook-7c7dda8a.js","static/css/useSync.hook-0a727461.css","static/js/index.js","static/css/index-a1e82c00.css","static/js/tables_list-992ce806.js","static/js/plugin-318fecf4.js","static/js/icon-c1713429.js"])),z=i(()=>c(()=>import("./index-bf8a4fbe.js"),["static/js/index-bf8a4fbe.js","static/css/index-6f5f5e19.css","static/js/index.js","static/css/index-a1e82c00.css","static/js/useSync.hook-7c7dda8a.js","static/css/useSync.hook-0a727461.css","static/js/tables_list-992ce806.js","static/js/plugin-318fecf4.js","static/js/icon-c1713429.js"])),m=T(y.value),v=T(l.CHART_SETTING),E=T(l.PAGE_SETTING),C=()=>{m.value=!0,A(H.DETAILS,!0)},g=()=>{m.value=!1,A(H.DETAILS,!1)},f=K(()=>{var d;if(p.getTargetChart.selectId.length!==1)return;const e=p.componentList[p.fetchTargetIndex()];if(!((d=e==null?void 0:e.option)!=null&&d.isDeleted))return e!=null&&e.isGroup&&(v.value=l.CHART_SETTING),e});Q(y,u=>{u?C():g()});const F=[{key:l.PAGE_SETTING,title:"\u9875\u9762\u914D\u7F6E",render:V}],O=u=>{let e=[{key:l.CHART_SETTING,title:"\u57FA\u7840\u4FE1\u606F",render:B},{key:l.CHART_ANIMATION,title:"\u52A8\u753B",render:z}];return u=="Filters"&&(e[0].title="\u5168\u5C40\u7B5B\u9009\u5668"),e};return(u,e)=>{const d=r("n-layout-content"),h=r("n-space"),I=r("n-tab-pane"),S=r("n-tabs"),M=r("n-layout-sider"),U=r("n-layout");return n(),_(U,{"has-sider":"","sider-placement":"right"},{default:a(()=>[s(d,null,{default:a(()=>[s(b(w))]),_:1}),s(M,{"collapse-mode":"transform","collapsed-width":0,width:296,collapsed:m.value,"native-scrollbar":!1,"show-trigger":"bar",onCollapse:C,onExpand:g},{default:a(()=>[s(b(X),{class:"go-content-configurations go-boderbox","show-top":!1,depth:2},{default:a(()=>[f.value?G("",!0):(n(),_(S,{key:0,value:E.value,"onUpdate:value":e[0]||(e[0]=t=>E.value=t),class:"tabs-box",size:"small",type:"segment"},{default:a(()=>[(n(),L(x,null,N(F,t=>s(I,{key:t.key,name:t.key,size:"small","display-directive":"show:lazy"},{tab:a(()=>[s(h,null,{default:a(()=>[R("span",null,k(t.title),1)]),_:2},1024)]),default:a(()=>[(n(),_(D(t.render)))]),_:2},1032,["name"])),64))]),_:1},8,["value"])),f.value?(n(),_(S,{key:1,value:v.value,"onUpdate:value":e[1]||(e[1]=t=>v.value=t),class:"tabs-box",size:"small",type:"segment"},{default:a(()=>[(n(!0),L(x,null,N(O(f.value.chartConfig.category),t=>(n(),_(I,{key:t.key,name:t.key,size:"small","display-directive":"show:lazy"},{tab:a(()=>[s(h,null,{default:a(()=>[R("span",null,k(t.title),1)]),_:2},1024)]),default:a(()=>[(n(),_(D(t.render)))]),_:2},1032,["name"]))),128))]),_:1},8,["value"])):G("",!0)]),_:1})]),_:1},8,["collapsed"])]),_:1})}}});var ne=q(Y,[["__scopeId","data-v-5502bf46"]]);export{ne as default};
File diff suppressed because one or more lines are too long
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
import{p as s,d as c,r as e,h as r,e as t,w as n,o as p,f as u,aa as i,m as d}from"./index.js";const l={class:"go-project-template-market"},m=c({__name:"index",setup(f){return(v,x)=>{const a=e("n-image"),o=e("n-h3"),_=e("n-space");return p(),r("div",l,[t(_,{vertical:""},{default:n(()=>[t(a,{"object-fit":"contain",height:"300","preview-disabled":"",src:u(i)()},null,8,["src"]),t(o,null,{default:n(()=>[d("\u6682\u65F6\u8FD8\u6CA1\u6709\u4E1C\u897F\u5462")]),_:1})]),_:1})])}}});var g=s(m,[["__scopeId","data-v-f698f1bc"]]);export{g as default};
File diff suppressed because one or more lines are too long
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
import{d as E,q as L,R as I,c6 as e,c7 as o,r as p,o as C,c as H,w as l,e as u,z as t,f as x,h as d,F as A,A as k,t as c,m,p as R,H as D,I as K}from"./index.js";import{i as g}from"./icon-c1713429.js";const U=n=>(D("data-v-3c7b6730"),n=n(),K(),n),M=U(()=>t("th",null,"\u529F\u80FD",-1)),V=U(()=>t("th",null,"Win \u5FEB\u6377\u952E",-1)),G=U(()=>t("span",null," Mac \u5FEB\u6377\u952E ",-1)),O={key:0},Z={key:1},z=E({__name:"ShortcutKeyModal",props:{modelShow:Boolean},emits:["update:modelShow"],setup(n,{emit:r}){const{CloseIcon:$}=g.ionicons5,a=L(!1),i=r,_=n;I(()=>_.modelShow,T=>{a.value=T});const S=[{label:"\u62D6\u62FD\u753B\u5E03",win:`${e.SPACE.toUpperCase()} + \u{1F5B1}\uFE0F `,mac:`${o.SPACE.toUpperCase()} + \u{1F5B1}\uFE0F `,macSource:!0},{label:"\u5411 \u4E0A/\u53F3/\u4E0B/\u5DE6 \u79FB\u52A8",win:`${e.CTRL.toUpperCase()} + \u2191 \u6216 \u2192 \u6216 \u2193 \u6216 \u2190`,mac:`${o.CTRL.toUpperCase()} + \u2191 `},{label:"\u9501\u5B9A",win:`${e.CTRL.toUpperCase()} + L `,mac:`${o.CTRL.toUpperCase()} + L `},{label:"\u89E3\u9501",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()}+ L `,mac:`${o.CTRL.toUpperCase()} + ${o.SHIFT.toUpperCase()} + L `},{label:"\u5C55\u793A",win:`${e.CTRL.toUpperCase()} + H `,mac:`${o.CTRL.toUpperCase()} + H `},{label:"\u9690\u85CF",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + H `,mac:`${o.CTRL.toUpperCase()} + ${o.SHIFT.toUpperCase()} + H `},{label:"\u5220\u9664",win:"Delete".toUpperCase(),mac:`${o.CTRL.toUpperCase()} + Backspace `},{label:"\u590D\u5236",win:`${e.CTRL.toUpperCase()} + C `,mac:`${o.CTRL.toUpperCase()} + C `},{label:"\u526A\u5207",win:`${e.CTRL.toUpperCase()} + X `,mac:`${o.CTRL.toUpperCase()} + X `},{label:"\u7C98\u8D34",win:`${e.CTRL.toUpperCase()} + V `,mac:`${o.CTRL.toUpperCase()} + V `},{label:"\u540E\u9000",win:`${e.CTRL.toUpperCase()} + Z `,mac:`${o.CTRL.toUpperCase()} + Z `},{label:"\u524D\u8FDB",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + Z `,mac:`${o.CTRL.toUpperCase()} + ${o.SHIFT.toUpperCase()} + Z `},{label:"\u591A\u9009",win:`${e.CTRL.toUpperCase()} + \u{1F5B1}\uFE0F `,mac:`${o.CTRL_SOURCE_KEY.toUpperCase()} + \u{1F5B1}\uFE0F `},{label:"\u521B\u5EFA\u5206\u7EC4",win:`${e.CTRL.toUpperCase()} + G / \u{1F5B1}\uFE0F `,mac:`${o.CTRL_SOURCE_KEY.toUpperCase()} + G / \u{1F5B1}\uFE0F`},{label:"\u89E3\u9664\u5206\u7EC4",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + G `,mac:`${o.CTRL_SOURCE_KEY.toUpperCase()} + ${e.SHIFT.toUpperCase()} + G `}],F=()=>{i("update:modelShow",!1)};return(T,w)=>{const b=p("n-icon"),h=p("n-space"),f=p("n-gradient-text"),v=p("n-table"),B=p("n-modal");return C(),H(B,{show:a.value,"onUpdate:show":w[0]||(w[0]=s=>a.value=s),"mask-closable":!0,onAfterLeave:F},{default:l(()=>[u(v,{class:"model-content",bordered:!1,"single-line":!1},{default:l(()=>[t("thead",null,[t("tr",null,[M,V,t("th",null,[u(h,{justify:"space-between"},{default:l(()=>[G,u(b,{size:"20",class:"go-cursor-pointer",onClick:F},{default:l(()=>[u(x($))]),_:1})]),_:1})])])]),t("tbody",null,[(C(),d(A,null,k(S,(s,y)=>t("tr",{key:y},[t("td",null,c(s.label),1),t("td",null,c(s.win),1),s.macSource?(C(),d("td",O,c(s.mac),1)):(C(),d("td",Z,[u(f,{size:22},{default:l(()=>[m(c(s.mac.substr(0,1)),1)]),_:2},1024),m(" + "+c(s.mac.substr(3)),1)]))])),64))])]),_:1})]),_:1},8,["show"])}}});var N=R(z,[["__scopeId","data-v-3c7b6730"]]);const Y={class:"go-edit-shortcut"},P=E({__name:"index",setup(n){const r=L(!1);return($,a)=>{const i=p("n-button");return C(),d("div",Y,[u(N,{modelShow:r.value,"onUpdate:modelShow":a[0]||(a[0]=_=>r.value=_)},null,8,["modelShow"]),u(i,{class:"scale-btn",onClick:a[1]||(a[1]=_=>r.value=!0)},{default:l(()=>[m(" \u5FEB\u6377\u952E")]),_:1})])}}});var j=R(P,[["__scopeId","data-v-2a5a05ce"]]);export{j as E};
+1
View File
@@ -0,0 +1 @@
var E=(_,a,s)=>new Promise((i,o)=>{var m=t=>{try{r(s.next(t))}catch(e){o(e)}},p=t=>{try{r(s.throw(t))}catch(e){o(e)}},r=t=>t.done?i(t.value):Promise.resolve(t.value).then(m,p);r((s=s.apply(_,a)).next())});import{M as F}from"./index-9c60f525.js";import{_ as L,o as A}from"./index-f1bb61b6.js";import{u as I,g as K,n as v,i as l,j as b,k as D,E as S,o as O}from"./useSync.hook-7c7dda8a.js";import{p as R,d as M,q as N,a5 as H,R as V,ak as $,r as k,o as h,h as f,z as d,F as z,A as U,e as n,f as g,w as u,m as B,t as w,ad as j,cl as q,c2 as G}from"./index.js";import{a as J,b as Y,l as P}from"./plugin-318fecf4.js";import"./icon-c1713429.js";import"./index-05411183.js";import"./tables_list-992ce806.js";const Q={class:"go-content-charts-item-animation-patch"},W=["onDragstart","onDblclick"],X={class:"list-header"},Z={class:"list-center go-flex-center go-transition"},tt={class:"list-bottom"},et=M({__name:"index",props:{menuOptions:{type:Array,default:()=>[]}},setup(_){const a=I(),s=K(),i=N(),o=H(()=>s.getChartType),m=(t,e)=>{l(e.chartKey,b(e)),l(e.conKey,D(e)),t.dataTransfer.setData(q.DRAG_KEY,G(A(e,["image"]))),a.setEditCanvas(S.IS_CREATE,!0)},p=()=>{a.setEditCanvas(S.IS_CREATE,!1)},r=t=>E(this,null,function*(){try{J(),l(t.chartKey,b(t)),l(t.conKey,D(t));let e=yield O(t);a.addComponentList(e,!1,!0),a.setTargetSelectChart(e.id),Y()}catch(e){P(),window.$message.warning("\u56FE\u8868\u6B63\u5728\u7814\u53D1\u4E2D, \u656C\u8BF7\u671F\u5F85...")}});return V(()=>o.value,t=>{t===v.DOUBLE&&$(()=>{i.value.classList.add("miniAnimation")})}),(t,e)=>{const C=k("n-ellipsis"),x=k("n-text");return h(),f("div",Q,[d("div",{ref_key:"contentChartsItemBoxRef",ref:i,class:j(["go-content-charts-item-box",[o.value===g(v).DOUBLE?"double":"single"]])},[(h(!0),f(z,null,U(_.menuOptions,(c,T)=>(h(),f("div",{class:"item-box",key:T,draggable:"",onDragstart:y=>m(y,c),onDragend:p,onDblclick:y=>r(c)},[d("div",X,[n(g(F),{class:"list-header-control-btn",mini:!0,disabled:!0}),n(x,{class:"list-header-text",depth:"3"},{default:u(()=>[n(C,null,{default:u(()=>[B(w(c.title),1)]),_:2},1024)]),_:2},1024)]),d("div",Z,[n(g(L),{class:"list-img",chartConfig:c},null,8,["chartConfig"])]),d("div",tt,[n(x,{class:"list-bottom-text",depth:"3"},{default:u(()=>[n(C,{style:{"max-width":"90%"}},{default:u(()=>[B(w(c.title),1)]),_:2},1024)]),_:2},1024)])],40,W))),128))],2)])}}});var ut=R(et,[["__scopeId","data-v-3bb6960e"]]);export{ut as default};
+1
View File
@@ -0,0 +1 @@
import{p as _,r as l,o as e,c as n,w as f,L as r,M as i,d as p,f as u}from"./index.js";const m={};function d(s,c){const t=l("router-view");return e(),n(t,null,{default:f(({Component:o,route:a})=>[a.noKeepAlive?(e(),n(r(o),{key:a.fullPath})):(e(),n(i,{key:1},[(e(),n(r(o),{key:a.fullPath}))],1024))]),_:1})}var v=_(m,[["render",d]]);const h=p({__name:"index",setup(s){return(c,t)=>(e(),n(u(v)))}});export{h as default};
+1
View File
@@ -0,0 +1 @@
import{d as a,J as c,K as r,r as e,c as _,w as t,o as p,e as m,m as i}from"./index.js";const B=a({__name:"index",setup(l){c();const o=r(),n=()=>{o.replace({path:"/"})};return(d,x)=>{const s=e("n-button"),u=e("n-empty");return p(),_(u,{description:"\u4F60\u4EC0\u4E48\u4E5F\u627E\u4E0D\u5230"},{extra:t(()=>[m(s,{size:"small",onClick:n},{default:t(()=>[i("\u770B\u770B\u522B\u7684")]),_:1})]),_:1})}}});export{B as default};
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
import{u as H,S as d,A as S}from"./useSync.hook-7c7dda8a.js";import{p as N,d as R,q as Y,b_ as h,R as M,r as u,o as m,h as F,e as a,w as l,f as t,c as W,m as r,a9 as q,F as P,A as X,t as j}from"./index.js";import{i as x}from"./icon-c1713429.js";import"./tables_list-992ce806.js";import"./plugin-318fecf4.js";const G={class:"go-canvas-setting"},J=R({__name:"index",setup(K){const i=H(),e=i.getEditCanvasConfig,v=i.getEditCanvas,E=Y(0),{ScaleIcon:k,FitToScreenIcon:C,FitToWidthIcon:w}=x.carbon,{LockOpenOutlineIcon:A,LockClosedOutlineIcon:y}=x.ionicons5,B=[{label:"1366 \xD7 768",value:1366},{label:"1600 x 900",value:1600},{label:"1920 x 1080",value:1920},{label:"2560 x 1440",value:2560},{label:"3840 x 2160",value:3840},{label:"\u81EA\u5B9A\u4E49",value:0}],z=()=>{e.size===1366?(e.width=1366,e.height=768):e.size===1600?(e.width=1600,e.height=900):e.size===1920?(e.width=1920,e.height=1080):e.size===2560?(e.width=2560,e.height=1440):e.size===3840&&(e.width=3840,e.height=2160),i.computedScale()},D=[{key:h.FIT,title:"\u81EA\u9002\u5E94",icon:k,desc:"\u6309\u5C4F\u5E55\u6BD4\u4F8B\u81EA\u9002\u5E94 (\u7559\u767D\u53EF\u80FD\u53D8\u591A)"},{key:h.FULL,title:"\u94FA\u6EE1",icon:C,desc:"\u5F3A\u5236\u94FA\u6EE1 (\u5143\u7D20\u53EF\u80FD\u6324\u538B\u6216\u62C9\u4F38\u53D8\u5F62)"},{key:h.SCROLL_Y,title:"Y\u8F74\u6EDA\u52A8",icon:w,desc:"X\u8F74\u56FA\u5B9A\uFF0CY\u8F74\u81EA\u9002\u5E94\u6EDA\u52A8"}];M(()=>e.selectColor,c=>{E.value=c?0:1},{immediate:!0});const f=c=>c>50;let s=1;const b=()=>{e.lockScale&&(e.height=Math.round(e.width/s)),i.computedScale()},I=()=>{e.lockScale&&(e.width=Math.round(e.height*s)),i.computedScale()},L=()=>{e.lockScale=!e.lockScale,s=1,e.lockScale&&(s=e.width/e.height)};return(c,o)=>{const T=u("n-select"),p=u("n-text"),g=u("n-input"),U=u("n-icon"),O=u("n-radio"),_=u("n-space"),V=u("n-radio-group");return m(),F("div",G,[a(t(S),{name:"\u753B\u5E03\u5C3A\u5BF8",alone:!0,itemBoxStyle:{margin:"0px 0px 20px 0px"}},{default:l(()=>[a(t(d),null,{default:l(()=>[a(T,{class:"scale-btn",value:t(e).size,"onUpdate:value":[o[0]||(o[0]=n=>t(e).size=n),z],options:B},null,8,["value"])]),_:1})]),_:1}),t(e).size===0?(m(),W(t(S),{key:0,itemRightStyle:{gridTemplateColumns:"1fr 1fr 1fr"}},{default:l(()=>[a(t(d),{width:80},{default:l(()=>[a(g,{size:"small",value:t(e).width,"onUpdate:value":[o[1]||(o[1]=n=>t(e).width=n),b],disabled:t(v).lockScale,validator:f},{prefix:l(()=>[a(p,{depth:"3"},{default:l(()=>[r("\u5BBD")]),_:1})]),_:1},8,["value","disabled"])]),_:1}),a(t(d),{width:80},{default:l(()=>[a(g,{size:"small",value:t(e).height,"onUpdate:value":[o[2]||(o[2]=n=>t(e).height=n),I],disabled:t(v).lockScale,validator:f},{prefix:l(()=>[a(p,{depth:"3"},{default:l(()=>[r("\u9AD8")]),_:1})]),_:1},8,["value","disabled"])]),_:1}),a(t(d),{width:20},{default:l(()=>[a(U,{size:"16",style:{"margin-top":"4px"},component:t(e).lockScale?t(y):t(A),onClick:L},null,8,["component"])]),_:1})]),_:1})):q("",!0),a(_,{class:"detail",vertical:"",size:12},{default:l(()=>[a(_,null,{default:l(()=>[a(p,null,{default:l(()=>[r("\u9002\u914D\u65B9\u5F0F")]),_:1}),a(V,{value:t(e).previewScaleType,"onUpdate:value":o[3]||(o[3]=n=>t(e).previewScaleType=n),name:"radiogroup"},{default:l(()=>[a(_,null,{default:l(()=>[(m(),F(P,null,X(D,n=>a(O,{key:n.key,value:n.key},{default:l(()=>[r(j(n.desc),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["value"])]),_:1})]),_:1})])}}});var ae=N(J,[["__scopeId","data-v-2e7da65c"]]);export{ae 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
+1
View File
@@ -0,0 +1 @@
import{G as a}from"./useSync.hook-7c7dda8a.js";import{p as n,d as r,f as t,o,h as s,c,L as _,a9 as i}from"./index.js";import"./tables_list-992ce806.js";import"./plugin-318fecf4.js";import"./icon-c1713429.js";const p={key:0,class:"go-chart-configurations-setting"},m=r({__name:"index",setup(d){const{targetData:e}=a();return(u,l)=>t(e)?(o(),s("div",p,[(o(),c(_(t(e).chartConfig.conKey),{optionData:t(e).option},null,8,["optionData"]))])):i("",!0)}});var y=n(m,[["__scopeId","data-v-2210075d"]]);export{y as default};
+1
View File
@@ -0,0 +1 @@
import{L as s}from"./index-aafa89ac.js";import{d as o,c as n,w as r,f as a,o as l,j as t}from"./index.js";const m=o({__name:"index",setup(i){return(e,f)=>(l(),n(a(s),null,{left:r(()=>[t(e.$slots,"left")]),center:r(()=>[t(e.$slots,"center")]),"ri-left":r(()=>[t(e.$slots,"ri-left")]),"ri-right":r(()=>[t(e.$slots,"ri-right")]),_:3}))}});export{m as _};
+1
View File
@@ -0,0 +1 @@
import{p as s,d as c,r as e,h as r,e as t,w as n,o as p,f as u,aa as d,m as i}from"./index.js";const l={class:"go-project-my-template"},m=c({__name:"index",setup(f){return(v,x)=>{const a=e("n-image"),o=e("n-h3"),_=e("n-space");return p(),r("div",l,[t(_,{vertical:""},{default:n(()=>[t(a,{"object-fit":"contain",height:"300","preview-disabled":"",src:u(d)()},null,8,["src"]),t(o,null,{default:n(()=>[i("\u6682\u65F6\u8FD8\u6CA1\u6709\u4E1C\u897F\u5462")]),_:1})]),_:1})])}}});var g=s(m,[["__scopeId","data-v-4d4b5d3b"]]);export{g as default};
+1
View File
@@ -0,0 +1 @@
import{d as h,a5 as c,r as b,h as l,F as x,A as z,ac as t,o,ad as u,ae as B,e as F,w,c as I,L as R,p as q}from"./index.js";import{i as L}from"./icon-c1713429.js";const g={class:"go-apple-control-btn"},E=["onClick"],M=h({__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:d}){const f=d,a=s,{CloseIcon:m,RemoveIcon:_,ResizeIcon:p}=L.ionicons5,v=c(()=>k.filter(r=>a.hidden.findIndex(i=>r.key==i)===-1)),y=c(()=>a.narrow&&t(!0)),k=[{title:"\u5173\u95ED",key:"close",icon:m},{title:"\u7F29\u5C0F",key:"remove",icon:_},{title:y.value?"\u7F29\u5C0F":"\u653E\u5927",key:a.narrow?"fullResize":"resize",icon:p}],C=e=>{e==="fullResize"&&t(),e==="remove"&&t(!0)&&t(),f(e)};return(e,r)=>{const i=b("n-icon");return o(),l("div",g,[(o(!0),l(x,null,z(v.value,n=>(o(),l("div",{key:n.key,class:u(["btn",[n.key,s.disabled&&"disabled",s.mini&&"mini"]]),onClick:B(A=>C(n.key),["stop"])},[F(i,{size:"10",class:u(["icon-base",{hover:!s.disabled}])},{default:w(()=>[(o(),I(R(n.icon)))]),_:2},1032,["class"])],10,E))),128))])}}});var O=q(M,[["__scopeId","data-v-56375fab"]]);export{O as M};
+1
View File
@@ -0,0 +1 @@
import{g as m}from"./useSync.hook-7c7dda8a.js";import{d as i,u as _,q as s,a5 as d,R as f,r as a,o as g,c as h,w as v,z as r,e as C}from"./index.js";import"./tables_list-992ce806.js";import"./plugin-318fecf4.js";import"./icon-c1713429.js";const x=r("span",null," \u62FC\u547D\u52A0\u8F7D\u4E2D... ",-1),F=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 u=a("n-progress"),p=a("n-modal");return g(),h(p,{show:o.value,"close-on-esc":!1,"transform-origin":"center"},{default:v(()=>[r("div",null,[x,C(u,{type:"line",color:l.value,percentage:t.value,style:{width:"300px"}},null,8,["color","percentage"])])]),_:1},8,["show"])}}});export{F as default};
File diff suppressed because one or more lines are too long
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
import{d as n,r,c,w as o,o as l,z as t,e as d,j as s,p as i}from"./index.js";const u={class:"go-header-box"},p={class:"header-item left"},h={class:"header-item center"},v={class:"header-item right"},m=n({__name:"index",setup(f){return(e,g)=>{const a=r("n-space"),_=r("n-layout-header");return l(),c(_,{bordered:"",class:"go-header"},{default:o(()=>[t("header",u,[t("div",p,[d(a,null,{default:o(()=>[s(e.$slots,"left",{},void 0,!0)]),_:3})]),t("div",h,[s(e.$slots,"center",{},void 0,!0)]),t("div",v,[d(a,null,{default:o(()=>[s(e.$slots,"ri-left",{},void 0,!0),s(e.$slots,"ri-right",{},void 0,!0)]),_:3})])])]),_:3})}}});var x=i(m,[["__scopeId","data-v-285ee82e"]]);export{x as L};
+1
View File
@@ -0,0 +1 @@
import{p as x,d as w,bI as y,u as k,q as L,a5 as R,r as s,f as n,o as l,h as i,e as r,w as t,m as b,F as D,A as c,c as d,ad as S,t as U,a9 as z}from"./index.js";import{G as V,_ as $}from"./useSync.hook-7c7dda8a.js";import"./tables_list-992ce806.js";import"./plugin-318fecf4.js";import"./icon-c1713429.js";const N=[{label:"\u5F3A\u8C03\u52A8\u753B",children:[{label:"\u5F39\u8DF3",value:"bounce"},{label:"\u95EA\u70C1",value:"flash"},{label:"\u653E\u5927\u7F29\u5C0F",value:"pulse"},{label:"\u653E\u5927\u7F29\u5C0F\u5F39\u7C27",value:"rubberBand"},{label:"\u5DE6\u53F3\u6643\u52A8",value:"headShake"},{label:"\u5DE6\u53F3\u6247\u5F62\u6447\u6446",value:"swing"},{label:"\u653E\u5927\u6643\u52A8\u7F29\u5C0F",value:"tada"},{label:"\u6247\u5F62\u6447\u6446",value:"wobble"},{label:"\u5DE6\u53F3\u4E0A\u4E0B\u6643\u52A8",value:"jello"}]},{label:"\u79FB\u5165\u52A8\u753B",children:[{label:"\u6E10\u663E",value:"fadeIn"},{label:"\u5411\u53F3\u8FDB\u5165",value:"fadeInLeft"},{label:"\u5411\u5DE6\u8FDB\u5165",value:"fadeInRight"},{label:"\u5411\u4E0A\u8FDB\u5165",value:"fadeInUp"},{label:"\u5411\u4E0B\u8FDB\u5165",value:"fadeInDown"},{label:"\u5411\u53F3\u957F\u8DDD\u8FDB\u5165",value:"fadeInLeftBig"},{label:"\u5411\u5DE6\u957F\u8DDD\u8FDB\u5165",value:"fadeInRightBig"},{label:"\u5411\u4E0A\u957F\u8DDD\u8FDB\u5165",value:"fadeInUpBig"},{label:"\u5411\u4E0B\u957F\u8DDD\u8FDB\u5165",value:"fadeInDownBig"},{label:"\u65CB\u8F6C\u8FDB\u5165",value:"rotateIn"},{label:"\u5DE6\u987A\u65F6\u9488\u65CB\u8F6C",value:"rotateInDownLeft"},{label:"\u53F3\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInDownRight"},{label:"\u5DE6\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInUpLeft"},{label:"\u53F3\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInUpRight"},{label:"\u5F39\u5165",value:"bounceIn"},{label:"\u5411\u53F3\u5F39\u5165",value:"bounceInLeft"},{label:"\u5411\u5DE6\u5F39\u5165",value:"bounceInRight"},{label:"\u5411\u4E0A\u5F39\u5165",value:"bounceInUp"},{label:"\u5411\u4E0B\u5F39\u5165",value:"bounceInDown"},{label:"\u5149\u901F\u4ECE\u53F3\u8FDB\u5165",value:"lightSpeedInRight"},{label:"\u5149\u901F\u4ECE\u5DE6\u8FDB\u5165",value:"lightSpeedInLeft"},{label:"\u5149\u901F\u4ECE\u53F3\u9000\u51FA",value:"lightSpeedOutRight"},{label:"\u5149\u901F\u4ECE\u5DE6\u9000\u51FA",value:"lightSpeedOutLeft"},{label:"Y\u8F74\u65CB\u8F6C",value:"flip"},{label:"\u4E2D\u5FC3X\u8F74\u65CB\u8F6C",value:"flipInX"},{label:"\u4E2D\u5FC3Y\u8F74\u65CB\u8F6C",value:"flipInY"},{label:"\u5DE6\u957F\u534A\u5F84\u65CB\u8F6C",value:"rollIn"},{label:"\u7531\u5C0F\u53D8\u5927\u8FDB\u5165",value:"zoomIn"},{label:"\u5DE6\u53D8\u5927\u8FDB\u5165",value:"zoomInLeft"},{label:"\u53F3\u53D8\u5927\u8FDB\u5165",value:"zoomInRight"},{label:"\u5411\u4E0A\u53D8\u5927\u8FDB\u5165",value:"zoomInUp"},{label:"\u5411\u4E0B\u53D8\u5927\u8FDB\u5165",value:"zoomInDown"},{label:"\u5411\u53F3\u6ED1\u52A8\u5C55\u5F00",value:"slideInLeft"},{label:"\u5411\u5DE6\u6ED1\u52A8\u5C55\u5F00",value:"slideInRight"},{label:"\u5411\u4E0A\u6ED1\u52A8\u5C55\u5F00",value:"slideInUp"},{label:"\u5411\u4E0B\u6ED1\u52A8\u5C55\u5F00",value:"slideInDown"}]}];const T={key:0,class:"go-chart-configurations-animations"},Y=w({__name:"index",setup(q){y(a=>({"3f9cae02":C.value}));const E=k(),F=L(""),{targetData:e}=V(),C=R(()=>E.getAppTheme),_=a=>{const o=e.value.styles.animations;return o.length?o[0]===a:!1},B=()=>{e.value.styles.animations=[]},m=a=>{e.value.styles.animations=[a.value]};return(a,o)=>{const p=s("n-button"),f=s("n-grid-item"),g=s("n-grid");return n(e)?(l(),i("div",T,[r(p,{class:"clear-btn go-my-2",disabled:!n(e).styles.animations.length,onClick:B},{default:t(()=>[b(" \u6E05\u9664\u52A8\u753B ")]),_:1},8,["disabled"]),(l(!0),i(D,null,c(n(N),(v,I)=>(l(),d(n($),{key:I,name:v.label,expanded:!0},{default:t(()=>[r(g,{"x-gap":6,"y-gap":10,cols:3},{default:t(()=>[(l(!0),i(D,null,c(v.children,(u,A)=>(l(),d(f,{class:S(["animation-item go-transition-quick",[_(u.value)&&"active",F.value===u.value&&`animate__animated animate__${u.value}`]]),key:A,onMouseover:h=>F.value=u.value,onClick:h=>m(u)},{default:t(()=>[b(U(u.label),1)]),_:2},1032,["class","onMouseover","onClick"]))),128))]),_:2},1024)]),_:2},1032,["name"]))),128))])):z("",!0)}}});var P=x(Y,[["__scopeId","data-v-940a39fc"]]);export{P as default};
+1
View File
@@ -0,0 +1 @@
import{d as D,q as w,a5 as I,R as N,r as l,o as n,c as E,w as e,e as t,f as x,m as F,z as a,h as b,F as A,A as T,t as q,p as G,H as U,I as K,a3 as H,y as O,a1 as Y,aT as j,L as J}from"./index.js";import{i as z}from"./icon-c1713429.js";import{u as $,g as V,C as R}from"./useSync.hook-7c7dda8a.js";import{E as P}from"./index-4ded3c7f.js";import"./tables_list-992ce806.js";import"./plugin-318fecf4.js";const h=c=>(U("data-v-30f99802"),c=c(),K(),c),Q=h(()=>a("br",null,null,-1)),W=h(()=>a("br",null,null,-1)),X=h(()=>a("th",{class:"header-cell"},[a("div",{class:"top"},"\u5168\u5C40\u7B5B\u9009\u5668\u540D\u79F0"),a("div",{class:"bottom"},"\u56FE/\u8868/\u5EA6\u91CF\u9879\u540D\u79F0")],-1)),Z=h(()=>a("th",null,null,-1)),uu=h(()=>a("tbody",null,null,-1)),eu=D({__name:"GlobalFilterModal",props:{modelShow:{type:Boolean,required:!0},batchLink:{type:Boolean,required:!1,default:!1}},emits:["update:modelShow"],setup(c,{emit:o}){const{CloseIcon:m}=z.ionicons5,i=c,_=w(!1),s=$(),p=I(()=>s.getGlobalFilters),v=i.batchLink?"\u6279\u91CF\u5173\u8054\u7B5B\u9009\u5668":"\u5173\u8054\u5168\u5C40\u7B5B\u9009\u5668";N(()=>i.modelShow,y=>{_.value=y});const B=o,r=()=>{B("update:modelShow",!1)};return(y,S)=>{const f=l("n-icon"),k=l("n-card"),u=l("n-table"),g=l("n-modal");return n(),E(g,{show:_.value,"onUpdate:show":S[0]||(S[0]=C=>_.value=C),"mask-closable":!0,onAfterLeave:r},{default:e(()=>[t(k,{style:{width:"800px"},title:x(v),bordered:!1,role:"dialog","aria-modal":"true"},{default:e(()=>[t(f,{size:"20",class:"go-cursor-pointer model-close",onClick:r},{default:e(()=>[t(x(m))]),_:1}),t(k,{bordered:!1,"content-style":"padding: 0 0 20px 0;"},{default:e(()=>[F(" 1. \u5173\u8054\u903B\u8F91\uFF1A\u5168\u5C40\u7B5B\u9009\u5668\u4E0E\u56FE\u8868/\u900F\u89C6\u8868/\u5EA6\u91CF\u9879\u7684\u7B5B\u9009\u5668\u53EF\u4EE5\u4E00\u5BF9\u4E00\u8FDB\u884C\u5173\u8054\uFF0C\u5173\u8054\u540E\u7684\u56FE\u8868/\u900F\u89C6\u8868/\u5EA6\u91CF\u9879\u7B5B\u9009\u5668\u7684\u9ED8\u8BA4\u503C\u5C06\u7EE7\u627F\u5168\u5C40\u7B5B\u9009\u5668\u7684\u9ED8\u8BA4\u503C\u3002"),Q,F(" 2. \u64CD\u4F5C\u903B\u8F91\uFF1A\u9009\u62E9\u56FE\u8868/\u900F\u89C6\u8868/\u5EA6\u91CF\u9879\u7B5B\u9009\u5668\u7684\u540D\u79F0\u76F4\u63A5\u5173\u8054\uFF1B\u6216\u8005\u901A\u8FC7\u9009\u62E9\u5168\u5C40\u7B5B\u9009\u5668\u7684\u5B57\u6BB5\uFF0C\u4E0E\u56FE\u8868/\u900F\u89C6\u8868/\u5EA6\u91CF\u9879\u7B5B\u9009\u5668\u7684\u5173\u8054\u5B57\u6BB5\u8FDB\u884C\u5173\u8054\u3002"),W,F(" 3. \u5173\u8054\u64CD\u4F5C\u5C06\u81EA\u52A8\u4FDD\u5B58 ")]),_:1}),t(u,{class:"model-content",bordered:!1,"single-line":!1},{default:e(()=>[a("thead",null,[a("tr",null,[X,(n(!0),b(A,null,T(p.value,(C,L)=>(n(),b("th",{key:L},q(C.option.name),1))),128)),Z])]),uu]),_:1})]),_:1},8,["title"])]),_:1},8,["show"])}}});var tu=G(eu,[["__scopeId","data-v-30f99802"]]);const ou=D({__name:"index",setup(c){const o=w(!1),m=$(),i=I(()=>m.canLinkGlobalFilter());return(_,s)=>{const p=l("n-button"),v=l("n-tooltip"),B=l("n-space");return n(),b(A,null,[t(tu,{modelShow:o.value,"onUpdate:modelShow":s[0]||(s[0]=r=>o.value=r),batchLink:!0},null,8,["modelShow"]),t(B,{class:"btnList"},{default:e(()=>[i.value?(n(),E(p,{key:0,onClick:s[1]||(s[1]=r=>o.value=!0),class:"btn"},{default:e(()=>[F("\u6279\u91CF\u5173\u8054\u7B5B\u9009\u5668")]),_:1})):(n(),E(v,{key:1},{trigger:e(()=>[t(p,{disabled:"",class:"btn",tag:"div"},{default:e(()=>[F("\u6279\u91CF\u5173\u8054\u7B5B\u9009\u5668")]),_:1})]),default:e(()=>[F(" \u6682\u65E0\u7B5B\u9009\u5668\u53EF\u5173\u8054 ")]),_:1}))]),_:1})],64)}}});var lu=G(ou,[["__scopeId","data-v-37a69d80"]]);const nu=D({__name:"index",setup(c){const o=$();I(()=>o.canLinkGlobalFilter());const{lockScale:m,scale:i}=H(o.getEditCanvas),{setItem:_}=V(),{getLayers:s}=H(V()),{LayersIcon:p}=z.ionicons5,v=w(100),B=u=>{_(u.key,!u.select)},r=u=>u.key===R.DETAILS?u.select?"":"primary":u.select?"primary":"",y=O([{key:R.LAYERS,select:s,title:"\u56FE\u5C42",icon:Y(p)}]);let S=[{label:"200%",value:200},{label:"150%",value:150},{label:"100%",value:100},{label:"50%",value:50},{label:"\u81EA\u9002\u5E94",value:0}];const f=w(""),k=u=>{if(u===0){o.computedScale();return}o.setScale(u/100)};return j(()=>{const u=(i.value*100).toFixed(0);f.value=`${u}%`,v.value=parseInt(u)}),(u,g)=>{const C=l("n-button"),L=l("n-space"),M=l("n-select");return n(),b(A,null,[t(lu),t(L,{class:"btnList"},{default:e(()=>[(n(!0),b(A,null,T(y,d=>(n(),E(C,{class:"btn",type:r(d),key:d.key,ghost:"",onClick:au=>B(d)},{icon:e(()=>[(n(),E(J(d.icon)))]),default:e(()=>[a("span",null,q(d.title),1)]),_:2},1032,["type","onClick"]))),128))]),_:1}),t(P),t(M,{disabled:x(m),class:"scale-btn",value:f.value,"onUpdate:value":[g[0]||(g[0]=d=>f.value=d),k],size:"mini",options:x(S)},null,8,["disabled","value","options"])],64)}}});var pu=G(nu,[["__scopeId","data-v-63bdd28d"]]);export{pu as default};
+1
View File
@@ -0,0 +1 @@
var c=(d,s,n)=>new Promise((u,o)=>{var l=t=>{try{e(n.next(t))}catch(a){o(a)}},i=t=>{try{e(n.throw(t))}catch(a){o(a)}},e=t=>t.done?u(t.value):Promise.resolve(t.value).then(l,i);e((n=n.apply(d,s)).next())});import{p as m,d as p,J as f,ba as g,r as w,o as _,h as b,A as v,c as h,w as C,z as x,t as y,ad as k,f as S,F as I,c5 as A}from"./index.js";import{u as B}from"./useSync.hook-7c7dda8a.js";import"./tables_list-992ce806.js";import"./plugin-318fecf4.js";import"./icon-c1713429.js";const E=p({__name:"index",setup(d){const s=B();f();const n=()=>{var e;(e=window.fullscreen)==null||e.call(window)},u=()=>c(this,null,function*(){var a;const e=s.getStorageInfo,t=yield l();(a=window.saveAsDraft)==null||a.call(window,e,t)}),o=()=>c(this,null,function*(){var a;const e=s.getStorageInfo,t=yield l();(a=window.saveAsPublish)==null||a.call(window,e,t)}),l=()=>c(this,null,function*(){window.$loading.start();const e=document.querySelector(".go-edit-range"),t=yield A(e,{backgroundColor:null,allowTaint:!0,useCORS:!0});return window.$loading.finish(),t.toDataURL()}),i=g([{select:!0,title:"\u5168\u5C4F",event:n,className:"btn btn-full"},{select:!0,title:"\u5B58\u4E3A\u8349\u7A3F",event:u,className:"btn btn-full"},{select:!0,title:"\u53D1\u5E03",event:o,className:"btn btn-publish"}]);return(e,t)=>{const a=w("n-button");return _(!0),b(I,null,v(S(i),r=>(_(),h(a,{key:r.title,class:k(r.className),ghost:"",onClick:r.event},{default:C(()=>[x("span",null,y(r.title),1)]),_:2},1032,["class","onClick"]))),128)}}});var z=m(E,[["__scopeId","data-v-357dfaa3"]]);export{z as default};
+1
View File
@@ -0,0 +1 @@
import{d as c,r as n,o as _,c as r,w as t,e as l,z as p}from"./index.js";const d=p("span",null,"\u8FD4\u56DE",-1),b=c({__name:"index",setup(u){const o=()=>{var e;(e=window.backBrowse)==null||e.call(window)};return(e,i)=>{const s=n("n-button"),a=n("n-space");return _(),r(a,{class:"header-left-btn",size:25},{default:t(()=>[l(s,{class:"btn-back",ghost:"",onClick:o},{default:t(()=>[d]),_:1})]),_:1})}}});export{b as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
import{conf as t,language as e}from"./typescript-3c087df0.js";import"./index-1885db53.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7d8b87c8.js";import"./icon-c1713429.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/var l=t,c={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{l as conf,c as language};
File diff suppressed because one or more lines are too long
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
import{m as l}from"./index-1885db53.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7d8b87c8.js";import"./icon-c1713429.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/var s=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,u=(i,e,a,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of c(e))!m.call(i,t)&&(a||t!=="default")&&s(i,t,{get:()=>e[t],enumerable:!(o=d(e,t))||o.enumerable});return i},r={};u(r,l);var n=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],_={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${n.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${n.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:r.languages.IndentAction.Indent}}]},h={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{_ as conf,h as language};
+1
View File
@@ -0,0 +1 @@
var k=Object.defineProperty,p=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var v=(e,o,i)=>o in e?k(e,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[o]=i,N=(e,o)=>{for(var i in o||(o={}))F.call(o,i)&&v(e,i,o[i]);if(R)for(var i of R(o))I.call(o,i)&&v(e,i,o[i]);return e},E=(e,o)=>p(e,T(o));var C=(e,o,i)=>new Promise((n,u)=>{var c=s=>{try{r(i.next(s))}catch(t){u(t)}},g=s=>{try{r(i.throw(s))}catch(t){u(t)}},r=s=>s.done?n(s.value):Promise.resolve(s.value).then(c,g);r((i=i.apply(e,o)).next())});import{a1 as S,af as D,ag as $}from"./index.js";import{i as x}from"./icon-c1713429.js";var a=(e=>(e.DELETE="delete",e.WARNING="warning",e.ERROR="error",e.SUCCESS="success",e))(a||{});const{InformationCircleIcon:A}=x.ionicons5,W=()=>{window.$loading.start()},h=()=>{setTimeout(()=>{window.$loading.finish()})},O=()=>{setTimeout(()=>{window.$loading.error()})},j=e=>{const{type:o,title:i,message:n,positiveText:u,negativeText:c,closeNegativeText:g,isMaskClosable:r,onPositiveCallback:s,onNegativeCallback:t,promise:b,promiseResCallback:w,promiseRejCallback:m}=e,f={[a.DELETE]:{fn:window.$dialog.warning,message:n||"\u662F\u5426\u5220\u9664\u6B64\u6570\u636E?"},[a.WARNING]:{fn:window.$dialog.warning,message:n||"\u662F\u5426\u6267\u884C\u6B64\u64CD\u4F5C?"},[a.ERROR]:{fn:window.$dialog.error,message:n||"\u662F\u5426\u6267\u884C\u6B64\u64CD\u4F5C?"},[a.SUCCESS]:{fn:window.$dialog.success,message:n||"\u662F\u5426\u6267\u884C\u6B64\u64CD\u4F5C?"}},l=f[o||a.WARNING].fn(E(N({},e),{title:i||"\u63D0\u793A",icon:S(A,{size:D}),content:f[o||a.WARNING].message,positiveText:u||"\u786E\u5B9A",negativeText:g?void 0:c||"\u53D6\u6D88",maskClosable:r||$,onPositiveClick:()=>C(void 0,null,function*(){if(b&&s){l.loading=!0;try{const d=yield s();w&&w(d)}catch(d){m&&m(d)}l.loading=!1;return}s&&s(l)}),onNegativeClick:()=>C(void 0,null,function*(){t&&t(l)})}))};export{a as D,W as a,h as b,j as g,O as l};
+6
View File
@@ -0,0 +1,6 @@
import{m as i}from"./index-1885db53.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7d8b87c8.js";import"./icon-c1713429.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/var a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,d=(t,e,s,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of p(e))!c.call(t,r)&&(s||r!=="default")&&a(t,r,{get:()=>e[r],enumerable:!(n=l(e,r))||n.enumerable});return t},o={};d(o,i);var u={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$"),action:{indentAction:o.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},y={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};export{u as conf,y as language};
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
import{c1 as n,S as s}from"./index.js";const c=()=>{if(window.chartData)return window.chartData;const r=document.location.hash.split("/"),a=r&&r[r.length-1],t=n(s.GO_CHART_STORAGE_LIST);if(!!t){for(let o=0;o<t.length;o++)if(a.toString()===t[o].id)return t[o]}};export{c as g};
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
+1
View File
@@ -0,0 +1 @@
import{P as a,e as y,f as d}from"./useSync.hook-7c7dda8a.js";const k=t=>{var i;return t.chartConfig.package==a.METRICS&&t.option.displayType=="card"?!1:!!((i=t.chartConfig.filters)!=null&&i.length)},x=t=>{var i,l,o,f,r,g,s,h,p,S;let e=t.chartConfig.package;return!!(e==a.CHARTS&&((l=(i=t.option)==null?void 0:i.title)==null?void 0:l.text)&&((f=(o=t==null?void 0:t.option)==null?void 0:o.title)==null?void 0:f.titleShow)||e==a.CHARTS&&!((r=t.option)!=null&&r.title)&&t.chartConfig.title||e==a.METRICS&&(t.option.displayType=="normal"||t.option.cardType=="B")&&((p=(h=(s=(g=t.option)==null?void 0:g.chartOption)==null?void 0:s.title)==null?void 0:h.titleShow)!=null?p:y.title.titleShow)||e==a.TABLES&&((S=t.option)==null?void 0:S.showCaption))},R=t=>x(t)?t.chartConfig.package!=a.METRICS?60:60-16:0,w=t=>{var f;const e=(f=t.chartConfig.filters)==null?void 0:f.map(r=>r.type==d.DATE&&r.from!="query"?221:450);if(!k(t))return 0;const i=e==null?void 0:e.reduce((r,g)=>r+g+8),l=i?Math.ceil(i/t.attr.w):0;return l*24+(l-1)*8+32},I=t=>{var i,l,o,f,r,g,s;const e=t.chartConfig.package;return e==a.CHARTS?(o=(l=(i=t.option)==null?void 0:i.title)==null?void 0:l.text)!=null?o:t.chartConfig.title:e==a.METRICS?(g=(r=(f=t.option)==null?void 0:f.chartOption)==null?void 0:r.title)==null?void 0:g.text:e==a.TABLES?(s=t.option)==null?void 0:s.caption:t.chartConfig.title},A=t=>{var i,l,o,f,r,g,s,h,p,S,u,n,C,T,c;let e=t.chartConfig.package;return e==a.CHARTS&&((o=(l=(i=t.option)==null?void 0:i.title)==null?void 0:l.textStyle)==null?void 0:o.fontSize)?(g=(r=(f=t.option)==null?void 0:f.title)==null?void 0:r.textStyle)==null?void 0:g.fontSize:e==a.METRICS&&((S=(p=(h=(s=t.option)==null?void 0:s.chartOption)==null?void 0:h.title)==null?void 0:p.textStyle)==null?void 0:S.fontSize)?(T=(C=(n=(u=t.option)==null?void 0:u.chartOption)==null?void 0:n.title)==null?void 0:C.textStyle)==null?void 0:T.fontSize:e==a.TABLES?(c=t.option)==null?void 0:c.captionSize:18},M=t=>t.chartConfig.package!=a.METRICS?{"padding-top":"16px","padding-bottom":"16px"}:{"padding-top":"16px","padding-bottom":"0px"};export{A as a,M as b,w as f,I as g,k as h,x as i,R as o};
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
+6
View File
@@ -0,0 +1,6 @@
import{m as r}from"./index-1885db53.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7d8b87c8.js";import"./icon-c1713429.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/var m=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s=(n,e,i,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of p(e))!l.call(n,t)&&(i||t!=="default")&&m(n,t,{get:()=>e[t],enumerable:!(a=c(e,t))||a.enumerable});return n},o={};s(o,r);var x={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:o.languages.IndentAction.Indent}}]},_={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}};export{x as conf,_ as language};