mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-09 00:17:59 +08:00
267 lines
39 KiB
JavaScript
267 lines
39 KiB
JavaScript
|
import{Ka as re,Na as ae,b as we,c as De,d as jt,da as dt,e as Gt,f as Ht,g as Xt,h as ot,ha as Qt,j as qt,m as Ut,n as pt,na as it,o as vt,oa as Jt,p as Tt,q as bt,qa as Kt,r as xt,ra as $t,s as _t,sa as te,t as Zt,ta as ee,ua as ie,va as ne,wa as se,z as Se}from"./chunk-RQT2CUZQ.js";import{f as gt,h as nt}from"./chunk-2YVZDWG7.js";var oe=gt((wt,Dt)=>{(function(t,l){typeof wt=="object"&&typeof Dt!="undefined"?Dt.exports=l():typeof define=="function"&&define.amd?define(l):(t=typeof globalThis!="undefined"?globalThis:t||self).dayjs_plugin_isoWeek=l()})(wt,function(){"use strict";var t="day";return function(l,n,e){var s=function(p){return p.add(4-p.isoWeekday(),t)},d=n.prototype;d.isoWeekYear=function(){return s(this).year()},d.isoWeek=function(p){if(!this.$utils().u(p))return this.add(7*(p-this.isoWeek()),t);var D,M,A,z,H=s(this),g=(D=this.isoWeekYear(),M=this.$u,A=(M?e.utc:e)().year(D).startOf("year"),z=4-A.isoWeekday(),A.isoWeekday()>4&&(z+=7),A.add(z,t));return H.diff(g,"week")+1},d.isoWeekday=function(p){return this.$utils().u(p)?this.day()||7:this.day(this.day()%7?p:p-7)};var h=d.startOf;d.startOf=function(p,D){var M=this.$utils(),A=!!M.u(D)||D;return M.p(p)==="isoweek"?A?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):h.bind(this)(p,D)}}})});var ce=gt((St,Ct)=>{(function(t,l){typeof St=="object"&&typeof Ct!="undefined"?Ct.exports=l():typeof define=="function"&&define.amd?define(l):(t=typeof globalThis!="undefined"?globalThis:t||self).dayjs_plugin_customParseFormat=l()})(St,function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},l=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,e=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,d={},h=function(g){return(g=+g)+(g>68?1900:2e3)},p=function(g){return function(b){this[g]=+b}},D=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var y=b.match(/([+-]|\d\d)/g),S=60*y[1]+(+y[2]||0);return S===0?0:y[0]==="+"?-S:S}(g)}],M=function(g){var b=d[g];return b&&(b.indexOf?b:b.s.concat(b.f))},A=function(g,b){var y,S=d.meridiem;if(S){for(var W=1;W<=24;W+=1)if(g.indexOf(S(W,0,b))>-1){y=W>12;break}}else y=g===(b?"pm":"PM");return y},z={A:[s,function(g){this.afternoon=A(g,!1)}],a:[s,function(g){this.afternoon=A(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[n,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[e,p("seconds")],ss:[e,p("seconds")],m:[e,p("minutes")],mm:[e,p("minutes")],H:[e,p("hours")],h:[e,p("hours")],HH:[e,p("hours")],hh:[e,p("hours")],D:[e,p("day")],DD:[n,p("day")],Do:[s,function(g){var b=d.ordinal,y=g.match(/\d+/);if(this.day=y[0],b)for(var S=1;S<=31;S+=1)b(S).replace(/\[|\]/g,"")===g&&(this.day=S)}],M:[e,p("month")],MM:[n,p("month")],MMM:[s,function(g){var b=M("months"),y=(M("monthsShort")||b.map(function(S){return S.slice(0,3)})).indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[s,function(g){var b=M("months").indexOf(g)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,p("year")],YY:[n,function(g){this.year=h(g)}],YYYY:[/\d{4}/,p("year")],Z:D,ZZ:D};function H(g){var b,y;b=g,y=d&&d.formats;for(var S=(g=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(R,m,a){var c=a&&a.toUpperCase();return m||y[a]||t[a]||y[c].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(u,r,k){return r||k.slice(1)})})).match(l),W=S.length,P=0;P<W;P+=1){var X=S[P],j=z[X],V=j&&j[0],B=j&&j[1];S[P]=B?{regex:V,parser:B}:X.replace(/^\[|\]$/g,"")}return function(R){for(var m={},a=0,c=0;a<W;a+=1){var u=S[a];if(typeof u=="string")c+=u.length;else{var r=u.regex,k=u.parser,i=R.slice(c),_=r.exec(i)[0];k.call(m,_),R=R.replace(_,"")}}return function(o){var C=o.afternoon;if(C!==void 0){var L=o.hours;C?L<12&&(o.hours+=12):L===12&&(o.hours=0),delete o.afternoon}}(m),m}}return function(g,b,y){y.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(h=g.parseTwoDigitYear);var S=b.prototype,W=S
|
||
|
`+T.showPosition()+`
|
||
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":yt="Parse error on line "+(C+1)+": Unexpected "+(Y==f?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(yt,{text:T.match,token:this.terminals_[Y]||Y,line:T.yylineno,loc:I,expected:ft})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+Y);switch(O[0]){case 1:u.push(Y),k.push(T.yytext),i.push(T.yylloc),u.push(O[1]),Y=null,L=T.yyleng,o=T.yytext,C=T.yylineno,I=T.yylloc;break;case 2:if(Z=this.productions_[O[1]][1],U.$=k[k.length-Z],U._$={first_line:i[i.length-(Z||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(Z||1)].first_column,last_column:i[i.length-1].last_column},E&&(U._$.range=[i[i.length-(Z||1)].range[0],i[i.length-1].range[1]]),et=this.performAction.apply(U,[o,L,C,x.yy,O[1],k,i].concat(v)),typeof et!="undefined")return et;Z&&(u=u.slice(0,-1*Z*2),k=k.slice(0,-1*Z),i=i.slice(0,-1*Z)),u.push(this.productions_[O[1]][0]),k.push(U.$),i.push(U._$),Rt=_[u[u.length-2]][u[u.length-1]],u.push(Rt);break;case 3:return!0}}return!0}},B=function(){var m={EOF:1,parseError:function(c,u){if(this.yy.parser)this.yy.parser.parseError(c,u);else throw new Error(c)},setInput:function(a,c){return this.yy=c||this.yy||{},this._input=a,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},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var c=a.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var c=a.length,u=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var r=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),u.length-1&&(this.yylineno-=u.length-1);var k=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:u?(u.length===r.length?this.yylloc.first_column:0)+r[r.length-u.length].length-u[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[k[0],k[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),c=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
||
|
`+c+"^"},test_match:function(a,c){var u,r,k;if(this.options.backtrack_lexer&&(k={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&&(k.yylloc.range=this.yylloc.range.slice(0))),r=a[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],u=this.performAction.call(this,this.yy,this,c,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),u)return u;if(this._backtrack){for(var i in k)this[i]=k[i];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,c,u,r;this._more||(this.yytext="",this.match="");for(var k=this._currentRules(),i=0;i<k.length;i++)if(u=this._input.match(this.rules[k[i]]),u&&(!c||u[0].length>c[0].length)){if(c=u,r=i,this.options.backtrack_lexer){if(a=this.test_match(u,k[i]),a!==!1)return a;if(this._backtrack){c=!1;continue}else return!1}else if(!this.options.flex)break}return c?(a=this.test_match(c,k[r]),a!==!1?a:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
||
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var c=this.next();return c||this.lex()},begin:function(c){this.conditionStack.push(c)},popState:function(){var c=this.conditionStack.length-1;return c>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(c){return c=this.conditionStack.length-1-Math.abs(c||0),c>=0?this.conditionStack[c]:"INITIAL"},pushState:function(c){this.begin(c)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(c,u,r,k){switch(r){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:break;case 13:break;case 14:break;case 15:return 11;case 16:break;case 17:break;case 18:break;case 19:this.begin("href");break;case 20:this.popState();break;case 21:return 38;case 22:this.begin("callbackname");break;case 23:this.popState();break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 26:this.popState();break;case 27:return 37;case 28:this.begin("click");break;case 29:this.popState();break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return m}();V.lexer=B;function R(){this.yy={}}return R.prototype=V,V.Parser=R,new R}();At.parser=At;var Ce=At;N.default.extend(de.default);N.default.extend(he.default);N.default.extend(me.default);var Q="",Ft="",zt,Ot="",ct=[],lt=[],Vt={},Wt=[],kt=[],rt="",Pt="",ke=["active","done","crit","milestone"],Nt=[],ut=!1,Bt=!1,Lt=0,Ee=function(t,l,n){ae.parseDirective(this,t,l,n)},Me=function(){Wt=[],kt=[],rt="",Nt=[],ht=0,Yt=void 0,mt=void 0,F=[]
|
||
|
.mermaid-main-font {
|
||
|
font-family: "trebuchet ms", verdana, arial, sans-serif;
|
||
|
font-family: var(--mermaid-font-family);
|
||
|
}
|
||
|
.exclude-range {
|
||
|
fill: ${t.excludeBkgColor};
|
||
|
}
|
||
|
|
||
|
.section {
|
||
|
stroke: none;
|
||
|
opacity: 0.2;
|
||
|
}
|
||
|
|
||
|
.section0 {
|
||
|
fill: ${t.sectionBkgColor};
|
||
|
}
|
||
|
|
||
|
.section2 {
|
||
|
fill: ${t.sectionBkgColor2};
|
||
|
}
|
||
|
|
||
|
.section1,
|
||
|
.section3 {
|
||
|
fill: ${t.altSectionBkgColor};
|
||
|
opacity: 0.2;
|
||
|
}
|
||
|
|
||
|
.sectionTitle0 {
|
||
|
fill: ${t.titleColor};
|
||
|
}
|
||
|
|
||
|
.sectionTitle1 {
|
||
|
fill: ${t.titleColor};
|
||
|
}
|
||
|
|
||
|
.sectionTitle2 {
|
||
|
fill: ${t.titleColor};
|
||
|
}
|
||
|
|
||
|
.sectionTitle3 {
|
||
|
fill: ${t.titleColor};
|
||
|
}
|
||
|
|
||
|
.sectionTitle {
|
||
|
text-anchor: start;
|
||
|
// font-size: ${t.ganttFontSize};
|
||
|
// text-height: 14px;
|
||
|
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
||
|
font-family: var(--mermaid-font-family);
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Grid and axis */
|
||
|
|
||
|
.grid .tick {
|
||
|
stroke: ${t.gridColor};
|
||
|
opacity: 0.8;
|
||
|
shape-rendering: crispEdges;
|
||
|
text {
|
||
|
font-family: ${t.fontFamily};
|
||
|
fill: ${t.textColor};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.grid path {
|
||
|
stroke-width: 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Today line */
|
||
|
|
||
|
.today {
|
||
|
fill: none;
|
||
|
stroke: ${t.todayLineColor};
|
||
|
stroke-width: 2px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Task styling */
|
||
|
|
||
|
/* Default task */
|
||
|
|
||
|
.task {
|
||
|
stroke-width: 2;
|
||
|
}
|
||
|
|
||
|
.taskText {
|
||
|
text-anchor: middle;
|
||
|
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
||
|
font-family: var(--mermaid-font-family);
|
||
|
}
|
||
|
|
||
|
// .taskText:not([font-size]) {
|
||
|
// font-size: ${t.ganttFontSize};
|
||
|
// }
|
||
|
|
||
|
.taskTextOutsideRight {
|
||
|
fill: ${t.taskTextDarkColor};
|
||
|
text-anchor: start;
|
||
|
// font-size: ${t.ganttFontSize};
|
||
|
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
||
|
font-family: var(--mermaid-font-family);
|
||
|
|
||
|
}
|
||
|
|
||
|
.taskTextOutsideLeft {
|
||
|
fill: ${t.taskTextDarkColor};
|
||
|
text-anchor: end;
|
||
|
// font-size: ${t.ganttFontSize};
|
||
|
}
|
||
|
|
||
|
/* Special case clickable */
|
||
|
.task.clickable {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.taskText.clickable {
|
||
|
cursor: pointer;
|
||
|
fill: ${t.taskTextClickableColor} !important;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.taskTextOutsideLeft.clickable {
|
||
|
cursor: pointer;
|
||
|
fill: ${t.taskTextClickableColor} !important;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.taskTextOutsideRight.clickable {
|
||
|
cursor: pointer;
|
||
|
fill: ${t.taskTextClickableColor} !important;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
/* Specific task settings for the sections*/
|
||
|
|
||
|
.taskText0,
|
||
|
.taskText1,
|
||
|
.taskText2,
|
||
|
.taskText3 {
|
||
|
fill: ${t.taskTextColor};
|
||
|
}
|
||
|
|
||
|
.task0,
|
||
|
.task1,
|
||
|
.task2,
|
||
|
.task3 {
|
||
|
fill: ${t.taskBkgColor};
|
||
|
stroke: ${t.taskBorderColor};
|
||
|
}
|
||
|
|
||
|
.taskTextOutside0,
|
||
|
.taskTextOutside2
|
||
|
{
|
||
|
fill: ${t.taskTextOutsideColor};
|
||
|
}
|
||
|
|
||
|
.taskTextOutside1,
|
||
|
.taskTextOutside3 {
|
||
|
fill: ${t.taskTextOutsideColor};
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Active task */
|
||
|
|
||
|
.active0,
|
||
|
.active1,
|
||
|
.active2,
|
||
|
.active3 {
|
||
|
fill: ${t.activeTaskBkgColor};
|
||
|
stroke: ${t.activeTaskBorderColor};
|
||
|
}
|
||
|
|
||
|
.activeText0,
|
||
|
.activeText1,
|
||
|
.activeText2,
|
||
|
.activeText3 {
|
||
|
fill: ${t.taskTextDarkColor} !important;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Completed task */
|
||
|
|
||
|
.done0,
|
||
|
.done1,
|
||
|
.done2,
|
||
|
.done3 {
|
||
|
stroke: ${t.doneTaskBorderColor};
|
||
|
fill: ${t.doneTaskBkgColor};
|
||
|
stroke-width: 2;
|
||
|
}
|
||
|
|
||
|
.doneText0,
|
||
|
.doneText1,
|
||
|
.doneText2,
|
||
|
.doneText3 {
|
||
|
fill: ${t.taskTextDarkColor} !important;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Tasks on the critical line */
|
||
|
|
||
|
.crit0,
|
||
|
.crit1,
|
||
|
.crit2,
|
||
|
.crit3 {
|
||
|
stroke: ${t.critBorderColor};
|
||
|
fill: ${t.critBkgColor};
|
||
|
stroke-width: 2;
|
||
|
}
|
||
|
|
||
|
.activeCrit0,
|
||
|
.activeCrit1,
|
||
|
.activeCrit2,
|
||
|
.activeCrit3 {
|
||
|
stroke: ${t.critBorderColor};
|
||
|
fill: ${t.activeTaskBkgColor};
|
||
|
stroke-width: 2;
|
||
|
}
|
||
|
|
||
|
.doneCrit0,
|
||
|
.doneCrit1,
|
||
|
.doneCrit2,
|
||
|
.doneCrit3 {
|
||
|
stroke: ${t.critBorderColor};
|
||
|
fill: ${t.doneTaskBkgColor};
|
||
|
stroke-width: 2;
|
||
|
cursor: pointer;
|
||
|
shape-rendering: crispEdges;
|
||
|
}
|
||
|
|
||
|
.milestone {
|
||
|
transform: rotate(45deg) scale(0.8,0.8);
|
||
|
}
|
||
|
|
||
|
.milestoneText {
|
||
|
font-style: italic;
|
||
|
}
|
||
|
.doneCritText0,
|
||
|
.doneCritText1,
|
||
|
.doneCritText2,
|
||
|
.doneCritText3 {
|
||
|
fill: ${t.taskTextDarkColor} !important;
|
||
|
}
|
||
|
|
||
|
.activeCritText0,
|
||
|
.activeCritText1,
|
||
|
.activeCritText2,
|
||
|
.activeCritText3 {
|
||
|
fill: ${t.taskTextDarkColor} !important;
|
||
|
}
|
||
|
|
||
|
.titleText {
|
||
|
text-anchor: middle;
|
||
|
font-size: 18px;
|
||
|
fill: ${t.textColor} ;
|
||
|
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
||
|
font-family: var(--mermaid-font-family);
|
||
|
}
|
||
|
`,hi=di,pi={parser:Ce,db:oi,renderer:fi,styles:hi};export{pi as diagram};
|