mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-21 15:55:36 +08:00
232 lines
37 KiB
JavaScript
232 lines
37 KiB
JavaScript
|
|
import{g as ee}from"./chunk-XXDRQBXY.Cwm78DH8.js";import{s as se}from"./chunk-VR4S4FIN.V_t2sjuN.js";import{_ as p,l as b,c as $,x as ie,y as re,a as ae,b as ne,g as oe,s as le,o as ce,p as he,a9 as ue,k as j,q as de,d as kt,a5 as fe}from"./mermaid.core.TSSz6aZW.js";import{f as pe}from"./chunk-32BRIVSS.DTslVixY.js";var Ct=(function(){var t=p(function(V,o,u,a){for(u=u||{},a=V.length;a--;u[V[a]]=o);return u},"o"),e=[1,2],s=[1,3],n=[1,4],r=[2,4],c=[1,9],d=[1,11],S=[1,16],f=[1,17],T=[1,18],E=[1,19],m=[1,33],L=[1,20],D=[1,21],h=[1,22],I=[1,23],w=[1,24],C=[1,26],F=[1,27],A=[1,28],P=[1,29],N=[1,30],z=[1,31],rt=[1,32],at=[1,35],nt=[1,36],ot=[1,37],lt=[1,38],K=[1,34],y=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Lt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],gt={trace:p(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(function(o,u,a,g,_,i,B){var l=i.length-1;switch(_){case 3:return g.setRootDoc(i[l]),i[l];case 4:this.$=[];break;case 5:i[l]!="nl"&&(i[l-1].push(i[l]),this.$=i[l-1]);break;case 6:case 7:this.$=i[l];break;case 8:this.$="nl";break;case 12:this.$=i[l];break;case 13:const Z=i[l-1];Z.description=g.trimColon(i[l]),this.$=Z;break;case 14:this.$={stmt:"relation",state1:i[l-2],state2:i[l]};break;case 15:const Tt=g.trimColon(i[l]);this.$={stmt:"relation",state1:i[l-3],state2:i[l-1],description:Tt};break;case 19:this.$={stmt:"state",id:i[l-3],type:"default",description:"",doc:i[l-1]};break;case 20:var Y=i[l],X=i[l-2].trim();if(i[l].match(":")){var ut=i[l].split(":");Y=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:Y,type:"default",description:X};break;case 21:this.$={stmt:"state",id:i[l-3],type:"default",description:i[l-5],doc:i[l-1]};break;case 22:this.$={stmt:"state",id:i[l],type:"fork"};break;case 23:this.$={stmt:"state",id:i[l],type:"join"};break;case 24:this.$={stmt:"state",id:i[l],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[l-1].trim(),note:{position:i[l-2].trim(),text:i[l].trim()}};break;case 29:this.$=i[l].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=i[l].trim(),g.setAccDescription(this.$);break;ca
|
||
|
|
`+k.showPosition()+`
|
||
|
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[x]||x)+"'":bt="Parse error on line "+(Y+1)+": Unexpected "+(x==Z?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(bt,{text:k.match,token:this.terminals_[x]||x,line:k.yylineno,loc:_t,expected:ft})}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+x);switch(R[0]){case 1:a.push(x),_.push(k.yytext),i.push(k.yylloc),a.push(R[1]),x=null,X=k.yyleng,l=k.yytext,Y=k.yylineno,_t=k.yylloc;break;case 2:if(G=this.productions_[R[1]][1],J.$=_[_.length-G],J._$={first_line:i[i.length-(G||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(G||1)].first_column,last_column:i[i.length-1].last_column},Zt&&(J._$.range=[i[i.length-(G||1)].range[0],i[i.length-1].range[1]]),mt=this.performAction.apply(J,[l,X,Y,U.yy,R[1],_,i].concat(Tt)),typeof mt<"u")return mt;G&&(a=a.slice(0,-1*G*2),_=_.slice(0,-1*G),i=i.slice(0,-1*G)),a.push(this.productions_[R[1]][0]),_.push(J.$),i.push(J._$),wt=B[a[a.length-2]][a[a.length-1]],a.push(wt);break;case 3:return!0}}return!0},"parse")},Qt=(function(){var V={EOF:1,parseError:p(function(u,a){if(this.yy.parser)this.yy.parser.parseError(u,a);else throw new Error(u)},"parseError"),setInput:p(function(o,u){return this.yy=u||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:p(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:p(function(o){var u=o.length,a=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===g.length?this.yylloc.first_column:0)+g[g.length-a.length].length-a[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:p(function(){return this._more=!0,this},"more"),reject:p(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
||
|
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:p(function(o){this.unput(this.match.slice(o))},"less"),pastInput:p(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p(function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
||
|
|
`+u+"^"},"showPosition"),test_match:p(function(o,u){var a,g,_;if(this.options.backtrack_lexer&&(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_.yylloc.range=this.yylloc.range.slice(0))),g=o[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],a=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var i in _)this[i]=_[i];return!1}return!1},"test_match"),next:p(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,u,a,g;this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),i=0;i<_.length;i++)if(a=this._input.match(this.rules[_[i]]),a&&(!u||a[0].length>u[0].length)){if(u=a,g=i,this.options.backtrack_lexer){if(o=this.test_match(a,_[i]),o!==!1)return o;if(this._backtrack){u=!1;continue}else return!1}else if(!this.options.flex)break}return u?(o=this.test_match(u,_[g]),o!==!1?o:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
||
|
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:p(function(){var u=this.next();return u||this.lex()},"lex"),begin:p(function(u){this.conditionStack.push(u)},"begin"),popState:p(function(){var u=this.conditionStack.length-1;return u>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:p(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:p(function(u){return u=this.conditionStack.length-1-Math.abs(u||0),u>=0?this.conditionStack[u]:"INITIAL"},"topState"),pushState:p(function(u){this.begin(u)},"pushState"),stateStackSize:p(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:p(function(u,a,g,_){function i(){const B=a.yytext.indexOf("%%");if(B===0)return!1;if(B>0){const l=a.yytext.slice(0,B),Y=a.yytext.slice(B);Y&&u.lexer.unput(Y),a.yytext=l}return!0}switch(p(i,"processId"),g){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;case 17:return this.popState(),"acc_title_value";case 18:return this.begin("acc_descr"),35;case 19:return this.popState(),"acc_descr_value";case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 25:return this.popState(),this.pushState("CLASSDEFID"),42;case 26:return this.popState(),43;case 27:return this.pushState("CLASS"),48;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;case 29:return this.popState(),50;case 30:return this.pushState("STYLE"),45;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 32:return this.popState(),47;case 33:return this.pushState("SCALE"),17;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),a.yytext=a.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),a.yytext=a.yytext.slice(0,-8).trim(),26;case 39:return this.popState(),a.yytext=a.yytext.slice(0,-10).trim(),27;case 40:return this.popState(),a.yytext=a.yytext.slice(0,-8).trim(),25;case 41:return this.popState(),a.yytext=a.yytext.slice(0,-8).trim(),26;case 42:return this.popState(),a.yytext=a.yytext.slice(0,-10).trim(),27;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";case 49:return i()?(this.popState(),"ID"):void 0;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw new Error('Error: State name must be a single word. Found: "'+a.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;case 56:return this.popState(),21;case 57:break;case 58:return this.begin("NOTE"),29;case 59:return this.popState(),this.pushState("NOTE_ID"),59;case 60:return this.popState(),this.pushState("NOTE_ID"),60;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 63:break;case 64:return"NOTE_TEXT";case 65:return i()?(this.popState(),"ID"):void 0;case 66:return i()?(this.popState(),this.pushState("NOTE_TEXT"),24):void 0;case 67:return this.popState(),a.yytext=a.yytext.substr(2).trim(),31;case 68:return this.popState(),a.yytext=a.yytext.slice(0,-8).trim(),31;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:return i()?24:void 0;case 74:return a.yytext=a.yytext.trim(),14;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymo
|
||
|
|
defs [id$="-barbEnd"] {
|
||
|
|
fill: ${t.transitionColor};
|
||
|
|
stroke: ${t.transitionColor};
|
||
|
|
}
|
||
|
|
g.stateGroup text {
|
||
|
|
fill: ${t.nodeBorder};
|
||
|
|
stroke: none;
|
||
|
|
font-size: 10px;
|
||
|
|
}
|
||
|
|
g.stateGroup text {
|
||
|
|
fill: ${t.textColor};
|
||
|
|
stroke: none;
|
||
|
|
font-size: 10px;
|
||
|
|
|
||
|
|
}
|
||
|
|
g.stateGroup .state-title {
|
||
|
|
font-weight: bolder;
|
||
|
|
fill: ${t.stateLabelColor};
|
||
|
|
}
|
||
|
|
|
||
|
|
g.stateGroup rect {
|
||
|
|
fill: ${t.mainBkg};
|
||
|
|
stroke: ${t.nodeBorder};
|
||
|
|
}
|
||
|
|
|
||
|
|
g.stateGroup line {
|
||
|
|
stroke: ${t.lineColor};
|
||
|
|
stroke-width: ${t.strokeWidth||1};
|
||
|
|
}
|
||
|
|
|
||
|
|
.transition {
|
||
|
|
stroke: ${t.transitionColor};
|
||
|
|
stroke-width: ${t.strokeWidth||1};
|
||
|
|
fill: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stateGroup .composit {
|
||
|
|
fill: ${t.background};
|
||
|
|
border-bottom: 1px
|
||
|
|
}
|
||
|
|
|
||
|
|
.stateGroup .alt-composit {
|
||
|
|
fill: #e0e0e0;
|
||
|
|
border-bottom: 1px
|
||
|
|
}
|
||
|
|
|
||
|
|
.state-note {
|
||
|
|
stroke: ${t.noteBorderColor};
|
||
|
|
fill: ${t.noteBkgColor};
|
||
|
|
|
||
|
|
text {
|
||
|
|
fill: ${t.noteTextColor};
|
||
|
|
stroke: none;
|
||
|
|
font-size: 10px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.stateLabel .box {
|
||
|
|
stroke: none;
|
||
|
|
stroke-width: 0;
|
||
|
|
fill: ${t.mainBkg};
|
||
|
|
opacity: 0.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.edgeLabel .label rect {
|
||
|
|
fill: ${t.labelBackgroundColor};
|
||
|
|
opacity: 0.5;
|
||
|
|
}
|
||
|
|
.edgeLabel {
|
||
|
|
background-color: ${t.edgeLabelBackground};
|
||
|
|
p {
|
||
|
|
background-color: ${t.edgeLabelBackground};
|
||
|
|
}
|
||
|
|
rect {
|
||
|
|
opacity: 0.5;
|
||
|
|
background-color: ${t.edgeLabelBackground};
|
||
|
|
fill: ${t.edgeLabelBackground};
|
||
|
|
}
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
.edgeLabel .label text {
|
||
|
|
fill: ${t.transitionLabelColor||t.tertiaryTextColor};
|
||
|
|
}
|
||
|
|
.label div .edgeLabel {
|
||
|
|
color: ${t.transitionLabelColor||t.tertiaryTextColor};
|
||
|
|
}
|
||
|
|
|
||
|
|
.stateLabel text {
|
||
|
|
fill: ${t.stateLabelColor};
|
||
|
|
font-size: 10px;
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
.node circle.state-start {
|
||
|
|
fill: ${t.specialStateColor};
|
||
|
|
stroke: ${t.specialStateColor};
|
||
|
|
}
|
||
|
|
|
||
|
|
.node .fork-join {
|
||
|
|
fill: ${t.specialStateColor};
|
||
|
|
stroke: ${t.specialStateColor};
|
||
|
|
}
|
||
|
|
|
||
|
|
.node circle.state-end {
|
||
|
|
fill: ${t.innerEndBackground};
|
||
|
|
stroke: ${t.background};
|
||
|
|
stroke-width: 1.5
|
||
|
|
}
|
||
|
|
.end-state-inner {
|
||
|
|
fill: ${t.compositeBackground||t.background};
|
||
|
|
// stroke: ${t.background};
|
||
|
|
stroke-width: 1.5
|
||
|
|
}
|
||
|
|
|
||
|
|
.node rect {
|
||
|
|
fill: ${t.stateBkg||t.mainBkg};
|
||
|
|
stroke: ${t.stateBorder||t.nodeBorder};
|
||
|
|
stroke-width: ${t.strokeWidth||1}px;
|
||
|
|
}
|
||
|
|
.node polygon {
|
||
|
|
fill: ${t.mainBkg};
|
||
|
|
stroke: ${t.stateBorder||t.nodeBorder};;
|
||
|
|
stroke-width: ${t.strokeWidth||1}px;
|
||
|
|
}
|
||
|
|
[id$="-barbEnd"] {
|
||
|
|
fill: ${t.lineColor};
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagram-cluster rect {
|
||
|
|
fill: ${t.compositeTitleBackground};
|
||
|
|
stroke: ${t.stateBorder||t.nodeBorder};
|
||
|
|
stroke-width: ${t.strokeWidth||1}px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cluster-label, .nodeLabel {
|
||
|
|
color: ${t.stateLabelColor};
|
||
|
|
// line-height: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagram-cluster rect.outer {
|
||
|
|
rx: 5px;
|
||
|
|
ry: 5px;
|
||
|
|
}
|
||
|
|
.statediagram-state .divider {
|
||
|
|
stroke: ${t.stateBorder||t.nodeBorder};
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagram-state .title-state {
|
||
|
|
rx: 5px;
|
||
|
|
ry: 5px;
|
||
|
|
}
|
||
|
|
.statediagram-cluster.statediagram-cluster .inner {
|
||
|
|
fill: ${t.compositeBackground||t.background};
|
||
|
|
}
|
||
|
|
.statediagram-cluster.statediagram-cluster-alt .inner {
|
||
|
|
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagram-cluster .inner {
|
||
|
|
rx:0;
|
||
|
|
ry:0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagram-state rect.basic {
|
||
|
|
rx: 5px;
|
||
|
|
ry: 5px;
|
||
|
|
}
|
||
|
|
.statediagram-state rect.divider {
|
||
|
|
stroke-dasharray: 10,10;
|
||
|
|
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
||
|
|
}
|
||
|
|
|
||
|
|
.note-edge {
|
||
|
|
stroke-dasharray: 5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagram-note rect {
|
||
|
|
fill: ${t.noteBkgColor};
|
||
|
|
stroke: ${t.noteBorderColor};
|
||
|
|
stroke-width: 1px;
|
||
|
|
rx: 0;
|
||
|
|
ry: 0;
|
||
|
|
}
|
||
|
|
.statediagram-note rect {
|
||
|
|
fill: ${t.noteBkgColor};
|
||
|
|
stroke: ${t.noteBorderColor};
|
||
|
|
stroke-width: 1px;
|
||
|
|
rx: 0;
|
||
|
|
ry: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagram-note text {
|
||
|
|
fill: ${t.noteTextColor};
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagram-note .nodeLabel {
|
||
|
|
color: ${t.noteTextColor};
|
||
|
|
}
|
||
|
|
.statediagram .edgeLabel {
|
||
|
|
color: red; // ${t.noteTextColor};
|
||
|
|
}
|
||
|
|
|
||
|
|
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
||
|
|
fill: ${t.lineColor};
|
||
|
|
stroke: ${t.lineColor};
|
||
|
|
stroke-width: ${t.strokeWidth||1};
|
||
|
|
}
|
||
|
|
|
||
|
|
.statediagramTitleText {
|
||
|
|
text-anchor: middle;
|
||
|
|
font-size: 18px;
|
||
|
|
fill: ${t.textColor};
|
||
|
|
}
|
||
|
|
|
||
|
|
[data-look="neo"].statediagram-cluster rect {
|
||
|
|
fill: ${t.mainBkg};
|
||
|
|
stroke: ${t.useGradient?"url("+t.svgId+"-gradient)":t.stateBorder||t.nodeBorder};
|
||
|
|
stroke-width: ${t.strokeWidth??1};
|
||
|
|
}
|
||
|
|
[data-look="neo"].statediagram-cluster rect.outer {
|
||
|
|
rx: ${t.radius}px;
|
||
|
|
ry: ${t.radius}px;
|
||
|
|
filter: ${t.dropShadow?t.dropShadow.replace("url(#drop-shadow)",`url(${t.svgId}-drop-shadow)`):"none"}
|
||
|
|
}
|
||
|
|
`,"getStyles"),ze=Ye;export{He as S,We as a,je as b,ze as s};
|