@juki-team/base-ui 1.5.19 → 1.5.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/{BarChart-BvTDut5Q.js → BarChart-iS9A5dpq.js} +1 -1
- package/dist/esm/{CartesianChart-DXJUzdHO.js → CartesianChart-DRkVAUTl.js} +1 -1
- package/dist/esm/{ChangePasswordModal-CWpZcVtX.js → ChangePasswordModal-DWcV41bD.js} +1 -1
- package/dist/esm/{CodeEditor-Y_Y_KGwk.js → CodeEditor-BIbu4VxL.js} +1 -1
- package/dist/esm/{CodeViewer-0wZyL6Bq.js → CodeViewer-BUV-dalv.js} +1 -1
- package/dist/esm/{Collapse-B1DPGlnv.js → Collapse-paq7oWgG.js} +1 -1
- package/dist/esm/{DataViewer-BfSurhEG.js → DataViewer-CMI27AMZ.js} +1 -1
- package/dist/esm/{DrawerView-DSBtwsMA.js → DrawerView-WQzHX5l-.js} +1 -1
- package/dist/esm/{ExcalidrawButton-yv6E00bG.js → ExcalidrawButton-Dkt-wFZK.js} +1 -1
- package/dist/esm/{GraphvizViewer-DakATts5.js → GraphvizViewer-CYGvah6j.js} +1 -1
- package/dist/esm/{ImageLoaderCropper-C8OKbFOn.js → ImageLoaderCropper-DIEHTOiU.js} +1 -1
- package/dist/esm/{InputCellPhoneNumber-BEXEJTBK.js → InputCellPhoneNumber-DgviNp4t.js} +1 -1
- package/dist/esm/{InputColor-CbPh2iDK.js → InputColor-BSBlv1oE.js} +1 -1
- package/dist/esm/{LineChart-COzz604R.js → LineChart-BdYnYefg.js} +1 -1
- package/dist/esm/{MdMath-DtFnLyF6.js → MdMath-KE8c-hVy.js} +1 -1
- package/dist/esm/{MdMathEditor-MfrmiBkf.js → MdMathEditor-DbH_jI7Y.js} +1 -1
- package/dist/esm/{Popover-rAcowqkt.js → Popover-BLy0OI8L.js} +1 -1
- package/dist/esm/{SlideDeck-BNzpTHHg.js → SlideDeck-o1krblz8.js} +1 -1
- package/dist/esm/{TableOfContents-BReKKYKJ.js → TableOfContents-DPsfG1VD.js} +1 -1
- package/dist/esm/{Tooltip-RM4-Vd-G.js → Tooltip-BI0Xe-XW.js} +1 -1
- package/dist/esm/{UserCodeEditor-BCEc8t_t.js → UserCodeEditor-CcaAG5g_.js} +2 -2
- package/dist/esm/{VirtualizedRowsFixed-CJ-W5Lx9.js → VirtualizedRowsFixed-VrMhZ4XD.js} +1 -1
- package/dist/esm/{WorksheetAsSlides-B11okTdK.js → WorksheetAsSlides-kPK5Z2vF.js} +1 -1
- package/dist/esm/{WorksheetBodies-d_OdcX-s.js → WorksheetBodies-CxDz0Rxa.js} +1 -1
- package/dist/esm/{WorksheetContents-BTVure1H.js → WorksheetContents-Dxo5Xc3Y.js} +1 -1
- package/dist/esm/{WorksheetEditor-EvB90uEy.js → WorksheetEditor-CvFYzeZC.js} +1 -1
- package/dist/esm/{WorksheetNode-Bi_SPWLG.js → WorksheetNode-DgQD3PMR.js} +1 -1
- package/dist/esm/{WorksheetViewer-bf0RET7d.js → WorksheetViewer-DR45PXUH.js} +1 -1
- package/dist/esm/{abnfDiagram-WEYOIA3C-DUulIW8V.js → abnfDiagram-WEYOIA3C-2vvvjt5F.js} +1 -1
- package/dist/esm/{arc-DFzzPj4i.js → arc-C-pwTbE4.js} +1 -1
- package/dist/esm/{architectureDiagram-ZHVYKT53-CgOYCH5f.js → architectureDiagram-ZHVYKT53-Njrg16Bb.js} +1 -1
- package/dist/esm/{blockDiagram-RJAE7QA3-Dx--ga4x.js → blockDiagram-RJAE7QA3-OuYPx21T.js} +1 -1
- package/dist/esm/{c4Diagram-XDPPPE54-COXzepKB.js → c4Diagram-XDPPPE54-C4-sgPqw.js} +1 -1
- package/dist/esm/channel-3HQcLN5a.js +1 -0
- package/dist/esm/{chunk-2E7WHVMD-DVZL7NAY.js → chunk-2E7WHVMD-BeozrAac.js} +1 -1
- package/dist/esm/{chunk-2Q5K7J3B-eykHmSYq.js → chunk-2Q5K7J3B-4_3njuk_.js} +1 -1
- package/dist/esm/{chunk-4EMNKR2T-BiH2YqCm.js → chunk-4EMNKR2T-DwE6V67-.js} +1 -1
- package/dist/esm/{chunk-55XCU76K-DkZ5SylO.js → chunk-55XCU76K-CpG64yyk.js} +1 -1
- package/dist/esm/{chunk-5VM5RSS4-od-ppdXO.js → chunk-5VM5RSS4-CkeQhgn7.js} +1 -1
- package/dist/esm/{chunk-JWPE2WC7-Ban7escN.js → chunk-JWPE2WC7-CVtFylX6.js} +1 -1
- package/dist/esm/{chunk-NQOKRVIF-DFUjH0uz.js → chunk-NQOKRVIF-CYlkwWmJ.js} +1 -1
- package/dist/esm/{chunk-VQ5W62QI-8RFxNRa_.js → chunk-VQ5W62QI-Be8I4VMn.js} +1 -1
- package/dist/esm/{chunk-XXDRQBXY-BLNKkmc0.js → chunk-XXDRQBXY-0jU-YNFU.js} +1 -1
- package/dist/esm/{chunk-ZCHMQSOR-BhhsuCkN.js → chunk-ZCHMQSOR-Cwl9AHIQ.js} +1 -1
- package/dist/esm/{classDiagram-v2-4MYWR3UA-CeKl1zzm.js → classDiagram-v2-4MYWR3UA-CgLXcYDZ.js} +1 -1
- package/dist/esm/{cose-bilkent-JH36ORCC-DM7-KVzj.js → cose-bilkent-JH36ORCC-BUYPdwFO.js} +1 -1
- package/dist/esm/{cynefinDiagram-WF24UDRP-Cbf70uGf.js → cynefinDiagram-WF24UDRP-DFlv0vTF.js} +1 -1
- package/dist/esm/{dagre-NK4GIZVX-WvANG2YF.js → dagre-NK4GIZVX-D3hfxWjC.js} +1 -1
- package/dist/esm/{diagram-CBK3MWTC-czBpYiMW.js → diagram-CBK3MWTC-Dz3S8vtv.js} +1 -1
- package/dist/esm/{diagram-I5XIIV2D-D0K29cS6.js → diagram-I5XIIV2D-CWQZNyHk.js} +1 -1
- package/dist/esm/{diagram-ODIL2UCW-DJOtGvRy.js → diagram-ODIL2UCW-RwcoAn2X.js} +1 -1
- package/dist/esm/{diagram-PFBEJUXE-Bb7d4gy5.js → diagram-PFBEJUXE-BQ65i8Sl.js} +1 -1
- package/dist/esm/{diagram-RJA3I4VV-766WDxVQ.js → diagram-RJA3I4VV-D3wAXEKx.js} +1 -1
- package/dist/esm/{diagram-TYUNFSNR-jxQ7Yf7F.js → diagram-TYUNFSNR-CQpNNmke.js} +1 -1
- package/dist/esm/{ebnfDiagram-V4P3TTPT-CmQb2zv4.js → ebnfDiagram-V4P3TTPT-x6yeSo0p.js} +1 -1
- package/dist/esm/{elk-QONTBCTQ-ed5QeBRk.js → elk-QONTBCTQ-BKyCSI5O.js} +1 -1
- package/dist/esm/{erDiagram-KYQIGQAA-DeToaAJo.js → erDiagram-KYQIGQAA-C9n_JA_w.js} +1 -1
- package/dist/esm/flowDiagram-IUGLLWBU-BS8vlVHT.js +1 -0
- package/dist/esm/{ganttDiagram-R7GPNTJY-DFWpMgXx.js → ganttDiagram-R7GPNTJY-CKebGhU7.js} +1 -1
- package/dist/esm/{gitGraphDiagram-PDYL7XHY-CoobcIfr.js → gitGraphDiagram-PDYL7XHY-Bvp1UcgM.js} +1 -1
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/{index-D1LsGPMS.js → index-BwpxQGdp.js} +1 -1
- package/dist/esm/{index-CJ0mP3Zm.js → index-C2_E6s4y.js} +1 -1
- package/dist/esm/{infoDiagram-MVDRKAX5-BrsWRbGW.js → infoDiagram-MVDRKAX5-DrROCapb.js} +1 -1
- package/dist/esm/{ishikawaDiagram-HPEHV2GE-BAmx-YEw.js → ishikawaDiagram-HPEHV2GE-BGSVKWhg.js} +1 -1
- package/dist/esm/{journeyDiagram-BOSHW7O7-CnBSpLoa.js → journeyDiagram-BOSHW7O7-ogVQbHp2.js} +1 -1
- package/dist/esm/{kanban-definition-FNSA4HC5-4yCo11oy.js → kanban-definition-FNSA4HC5-lQM4fHQE.js} +1 -1
- package/dist/esm/main.js +1 -1
- package/dist/esm/{mermaid.core-Dj1WAzSy.js → mermaid.core-CvFWfSA0.js} +2 -2
- package/dist/esm/{mindmap-definition-6OY57UG3-Bd4Y4GbF.js → mindmap-definition-6OY57UG3-D8l0C3RA.js} +1 -1
- package/dist/esm/{pegDiagram-ECIUJNBX-CK56FMnc.js → pegDiagram-ECIUJNBX-D8xo2dyF.js} +1 -1
- package/dist/esm/{pieDiagram-GNMPY74T-BJ1Np7Iw.js → pieDiagram-GNMPY74T-gHG-R83G.js} +1 -1
- package/dist/esm/{quadrantDiagram-D57K4MC3-tOVWqHZx.js → quadrantDiagram-D57K4MC3-DDHGqMWG.js} +1 -1
- package/dist/esm/{railroadDiagram-Y72NRBL7-BvwPAju5.js → railroadDiagram-Y72NRBL7-BNcAWVzf.js} +1 -1
- package/dist/esm/{requirementDiagram-EQYSW5RA-D7P8RO2c.js → requirementDiagram-EQYSW5RA-D0TQZTve.js} +1 -1
- package/dist/esm/{sankeyDiagram-SY24JHO5-Hasf32Sf.js → sankeyDiagram-SY24JHO5-BgXxfdaz.js} +1 -1
- package/dist/esm/{sequenceDiagram-BLEHNHQU-CVjBG1oF.js → sequenceDiagram-BLEHNHQU-BoejQXUR.js} +1 -1
- package/dist/esm/{sizeCapture-INFHLROL-CiSMSiOI.js → sizeCapture-INFHLROL-sNhkxZSt.js} +1 -1
- package/dist/esm/{stateDiagram-v2-A6IESKWZ-z0hJGPOR.js → stateDiagram-v2-A6IESKWZ-sy3VIzCQ.js} +1 -1
- package/dist/esm/{swimlanes-B3ENRKFQ-CBNFNgNt.js → swimlanes-B3ENRKFQ-BMvTnJVa.js} +1 -1
- package/dist/esm/{swimlanesDiagram-AYQRV4AK-Bf9aZNHn.js → swimlanesDiagram-AYQRV4AK-CBA7l1Zm.js} +1 -1
- package/dist/esm/{timeline-definition-JXYKGLGB-Cug_uWko.js → timeline-definition-JXYKGLGB-B9uS-p90.js} +1 -1
- package/dist/esm/{types-DIz4kTf7.js → types-CdWZmDRI.js} +1 -1
- package/dist/esm/{usecaseDiagram-WPOLBNNX-DvMBgn3t.js → usecaseDiagram-WPOLBNNX-55ERmenj.js} +1 -1
- package/dist/esm/{vennDiagram-Q3Y3IDCW-BkU3qp5r.js → vennDiagram-Q3Y3IDCW-M46hCRun.js} +1 -1
- package/dist/esm/{wardleyDiagram-IVAIDKWA-BgQww2R8.js → wardleyDiagram-IVAIDKWA-DiF93Bmd.js} +1 -1
- package/dist/esm/websocket-KESFarc3.js +1 -0
- package/dist/esm/{xychartDiagram-4URNHDU4-Dk_dIDtn.js → xychartDiagram-4URNHDU4-epgUCY99.js} +1 -1
- package/dist/module-types/src/components/helpers/websocket.d.ts +0 -8
- package/package.json +2 -2
- package/dist/esm/channel-_i3jSBTX.js +0 -1
- package/dist/esm/flowDiagram-IUGLLWBU-XbuBBhyN.js +0 -1
- package/dist/esm/websocket-Cz_aqdkJ.js +0 -1
package/dist/esm/{kanban-definition-FNSA4HC5-4yCo11oy.js → kanban-definition-FNSA4HC5-lQM4fHQE.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,l as e,c as n,T as i,an as s,ao as r,ap as o,ak as a,R as c,j as l,y as h,J as g,ah as u,ai as d,aj as p}from"./mermaid.core-Dj1WAzSy.js";import{g as y}from"./chunk-5VM5RSS4-od-ppdXO.js";import"./index-D1LsGPMS.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-C-9EFvh4.js";import"./settings-DzQM72QE.js";import"./index-Zvckkvpn.js";import"./LoaderLayer-CWElgcGs.js";import"./websocket-Cz_aqdkJ.js";import"./index-DpobNvg5.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"@ably/spaces/dist/mjs/react";import"./string-DPJhNSkw.js";var m=function(){var e=t(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),n=[1,4],i=[1,13],s=[1,12],r=[1,15],o=[1,16],a=[1,20],c=[1,19],l=[6,7,8],h=[1,26],g=[1,24],u=[1,25],d=[6,7,11],p=[1,31],y=[6,7,11,24],m=[1,6,13,16,17,20,23],f=[1,35],b=[1,36],_=[1,6,7,11,13,16,17,20,23],k=[1,38],E={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(t,e,n,i,s,r,o){var a=r.length-1;switch(s){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",r[a-1].id),i.addNode(r[a-2].length,r[a-1].id,r[a-1].descr,r[a-1].type,r[a]);break;case 16:i.getLogger().info("Node: ",r[a].id),i.addNode(r[a-1].length,r[a].id,r[a].descr,r[a].type);break;case 17:i.getLogger().trace("Icon: ",r[a]),i.decorateNode({icon:r[a]});break;case 18:case 23:i.decorateNode({class:r[a]});break;case 19:i.getLogger().trace("SPACELIST");break;case 20:i.getLogger().trace("Node: ",r[a-1].id),i.addNode(0,r[a-1].id,r[a-1].descr,r[a-1].type,r[a]);break;case 21:i.getLogger().trace("Node: ",r[a].id),i.addNode(0,r[a].id,r[a].descr,r[a].type);break;case 22:i.decorateNode({icon:r[a]});break;case 27:i.getLogger().trace("node found ..",r[a-2]),this.$={id:r[a-1],descr:r[a-1],type:i.getType(r[a-2],r[a])};break;case 28:this.$={id:r[a],descr:r[a],type:0};break;case 29:i.getLogger().trace("node found ..",r[a-3]),this.$={id:r[a-3],descr:r[a-1],type:i.getType(r[a-2],r[a])};break;case 30:this.$=r[a-1]+r[a];break;case 31:this.$=r[a]}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:i,7:[1,10],9:9,12:11,13:s,14:14,16:r,17:o,18:17,19:18,20:a,23:c},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:i,12:21,13:s,14:14,16:r,17:o,18:17,19:18,20:a,23:c},{6:i,9:22,12:11,13:s,14:14,16:r,17:o,18:17,19:18,20:a,23:c},{6:h,7:g,10:23,11:u},e(d,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:a,23:c}),e(d,[2,19]),e(d,[2,21],{15:30,24:p}),e(d,[2,22]),e(d,[2,23]),e(y,[2,25]),e(y,[2,26]),e(y,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:g,10:34,11:u},{1:[2,7],6:i,12:21,13:s,14:14,16:r,17:o,18:17,19:18,20:a,23:c},e(m,[2,14],{7:f,11:b}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(d,[2,16],{15:37,24:p}),e(d,[2,17]),e(d,[2,18]),e(d,[2,20],{24:k}),e(y,[2,31]),{21:[1,39]},{22:[1,40]},e(m,[2,13],{7:f,11:b}),e(_,[2,11]),e(_,[2,12]),e(d,[2,15],{24:k}),e(y,[2,30]),{22:[1,41]},e(y,[2,27]),e(y,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},"parseError"),parse:t(function(e){var n=this,i=[0],s=[],r=[null],o=[],a=this.table,c="",l=0,h=0,g=o.slice.call(arguments,1),u=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);u.setInput(e,d.yy),d.yy.lexer=u,d.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var y=u.yylloc;o.push(y);var m=u.options&&u.options.ranges;function f(){var t;return"number"!=typeof(t=s.pop()||u.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=n.symbols_[t]||t),t}"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,t(function(t){i.length=i.length-2*t,r.length=r.length-t,o.length=o.length-t},"popStack"),t(f,"lex");for(var b,_,k,E,S,N,x,L,D={};;){if(_=i[i.length-1],this.defaultActions[_]?k=this.defaultActions[_]:(null==b&&(b=f()),k=a[_]&&a[_][b]),void 0===k||!k.length||!k[0]){var I="";for(S in L=[],a[_])this.terminals_[S]&&S>2&&L.push("'"+this.terminals_[S]+"'");I=u.showPosition?"Parse error on line "+(l+1)+":\n"+u.showPosition()+"\nExpecting "+L.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(I,{text:u.match,token:this.terminals_[b]||b,line:u.yylineno,loc:y,expected:L})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+b);switch(k[0]){case 1:i.push(b),r.push(u.yytext),o.push(u.yylloc),i.push(k[1]),b=null,h=u.yyleng,c=u.yytext,l=u.yylineno,y=u.yylloc;break;case 2:if(N=this.productions_[k[1]][1],D.$=r[r.length-N],D._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},m&&(D._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),void 0!==(E=this.performAction.apply(D,[c,h,l,d.yy,k[1],r,o].concat(g))))return E;N&&(i=i.slice(0,-1*N*2),r=r.slice(0,-1*N),o=o.slice(0,-1*N)),i.push(this.productions_[k[1]][0]),r.push(D.$),o.push(D._$),x=a[i[i.length-2]][i[i.length-1]],i.push(x);break;case 3:return!0}}return!0},"parse")},S=function(){return{EOF:1,parseError:t(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:t(function(t,e){return this.yy=e||this.yy||{},this._input=t,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:t(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:t(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),n.length-1&&(this.yylineno-=n.length-1);var s=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:t(function(t){this.unput(this.match.slice(t))},"less"),pastInput:t(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:t(function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;r<s.length;r++)if((n=this._input.match(this.rules[s[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var t=this.next();return t||this.lex()},"lex"),begin:t(function(t){this.conditionStack.push(t)},"begin"),popState:t(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:t(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:t(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:t(function(t){this.begin(t)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(t,e,n,i){switch(n){case 0:return this.pushState("shapeData"),e.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const n=/\n\s*/g;return e.yytext=e.yytext.replace(n,"<br/>"),24;case 4:return 24;case 5:case 10:case 29:case 32:this.popState();break;case 6:return t.getLogger().trace("Found comment",e.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 11:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return t.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:t.getLogger().trace("end icon"),this.popState();break;case 16:return t.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return t.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:case 21:case 22:case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 30:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 33:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 36:case 39:case 40:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 37:case 38:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 41:case 42:return t.getLogger().trace("Long description:",e.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}}}();function N(){this.yy={}}return E.lexer=S,t(N,"Parser"),N.prototype=E,E.Parser=N,new N}();m.parser=m;var f=m,b=[],_=[],k=0,E={},S=t(()=>{b=[],_=[],k=0,E={}},"clear"),N=t(t=>{if(0===b.length)return null;const e=b[0].level;let n=null;for(let t=b.length-1;t>=0;t--)if(b[t].level!==e||n||(n=b[t]),b[t].level<e)throw new Error('Items without section detected, found section ("'+b[t].label+'")');return t===n?.level?null:n},"getSection"),x=t(function(){return _},"getSections"),L=t(function(){const t=[],e=x(),i=n();for(const n of e){const e={id:n.id,label:l(n.label??"",i),labelType:"markdown",isGroup:!0,ticket:n.ticket,shape:"kanbanSection",level:n.level,look:i.look};t.push(e);const s=b.filter(t=>t.parentId===n.id);for(const e of s){const s={id:e.id,parentId:n.id,label:l(e.label??"",i),labelType:"markdown",isGroup:!1,ticket:e?.ticket,priority:e?.priority,assigned:e?.assigned,icon:e?.icon,shape:"kanbanItem",level:e.level,rx:5,ry:5,cssStyles:["text-align: left"]};t.push(s)}}return{nodes:t,edges:[],other:{},config:n()}},"getData"),D=t((t,e,i,s,r)=>{const o=n();let a=o.mindmap?.padding??c.mindmap.padding;switch(s){case I.ROUNDED_RECT:case I.RECT:case I.HEXAGON:a*=2}const u={id:l(e,o)||"kbn"+k++,level:t,label:l(i,o),width:o.mindmap?.maxNodeWidth??c.mindmap.maxNodeWidth,padding:a,isGroup:!1};if(void 0!==r){let t;t=r.includes("\n")?r+"\n":"{\n"+r+"\n}";const e=h(t,{schema:g});if(e.shape&&(e.shape!==e.shape.toLowerCase()||e.shape.includes("_")))throw new Error(`No such shape: ${e.shape}. Shape names should be lowercase.`);e?.shape&&"kanbanItem"===e.shape&&(u.shape=e?.shape),e?.label&&(u.label=e?.label),e?.icon&&(u.icon=e?.icon.toString()),e?.assigned&&(u.assigned=e?.assigned.toString()),e?.ticket&&(u.ticket=e?.ticket.toString()),e?.priority&&(u.priority=e?.priority)}const d=N(t);d?u.parentId=d.id||"kbn"+k++:_.push(u),b.push(u)},"addNode"),I={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},O={clear:S,addNode:D,getSections:x,getData:L,nodeType:I,getType:t((t,n)=>{switch(e.debug("In get type",t,n),t){case"[":return I.RECT;case"(":return")"===n?I.ROUNDED_RECT:I.CLOUD;case"((":return I.CIRCLE;case")":return I.CLOUD;case"))":return I.BANG;case"{{":return I.HEXAGON;default:return I.DEFAULT}},"getType"),setElementForId:t((t,e)=>{E[t]=e},"setElementForId"),decorateNode:t(t=>{if(!t)return;const e=n(),i=b[b.length-1];t.icon&&(i.icon=l(t.icon,e)),t.class&&(i.cssClasses=l(t.class,e))},"decorateNode"),type2Str:t(t=>{switch(t){case I.DEFAULT:return"no-border";case I.RECT:return"rect";case I.ROUNDED_RECT:return"rounded-rect";case I.CIRCLE:return"circle";case I.CLOUD:return"cloud";case I.BANG:return"bang";case I.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),getLogger:t(()=>e,"getLogger"),getElementById:t(t=>E[t],"getElementById")},v={draw:t(async(t,l,h,g)=>{e.debug("Rendering kanban diagram\n"+t);const u=g.db.getData(),d=n();d.htmlLabels=!1;const p=i(l);for(const t of u.nodes)t.domId=`${l}-${t.id}`;const y=p.append("g");y.attr("class","sections");const m=p.append("g");m.attr("class","items");const f=u.nodes.filter(t=>t.isGroup);let b=0;const _=[];let k=25;for(const t of f){const e=d?.kanban?.sectionWidth||200;b+=1,t.x=e*b+10*(b-1)/2,t.width=e,t.y=0,t.height=3*e,t.rx=5,t.ry=5,t.cssClasses=t.cssClasses+" section-"+b;const n=await s(y,t);k=Math.max(k,n?.labelBBox?.height),_.push(n)}let E=0;for(const t of f){const e=_[E];E+=1;const n=d?.kanban?.sectionWidth||200,i=3*-n/2+k;let s=i;const a=u.nodes.filter(e=>e.parentId===t.id);for(const e of a){if(e.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");e.x=t.x,e.width=n-15;const i=(await r(m,e,{config:d})).node().getBBox();e.y=s+i.height/2,await o(e),s=e.y+i.height/2+5}const c=e.cluster.select("rect"),l=Math.max(s-i+30,50)+(k-25);c.attr("height",l)}a(void 0,p,d.mindmap?.padding??c.kanban.padding,d.mindmap?.useMaxWidth??c.kanban.useMaxWidth)},"draw")},C=t(e=>{let n="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],u(e["lineColor"+t])?e["lineColor"+t]=d(e["lineColor"+t],20):e["lineColor"+t]=p(e["lineColor"+t],20);const i=t((t,n)=>e.darkMode?p(t,n):d(t,n),"adjuster");for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const s=""+(17-3*t);n+=`\n .section-${t-1} rect, .section-${t-1} path, .section-${t-1} circle, .section-${t-1} polygon, .section-${t-1} path {\n fill: ${i(e["cScale"+t],10)};\n stroke: ${i(e["cScale"+t],10)};\n\n }\n .section-${t-1} text {\n fill: ${e["cScaleLabel"+t]};\n }\n .node-icon-${t-1} {\n font-size: 40px;\n color: ${e["cScaleLabel"+t]};\n }\n .section-edge-${t-1}{\n stroke: ${e["cScale"+t]};\n }\n .edge-depth-${t-1}{\n stroke-width: ${s};\n }\n .section-${t-1} line {\n stroke: ${e["cScaleInv"+t]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.background};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n .kanban-ticket-link {\n fill: ${e.background};\n stroke: ${e.nodeBorder};\n text-decoration: underline;\n }\n `}return n},"genSections"),w={db:O,renderer:v,parser:f,styles:t(t=>`\n .edge {\n stroke-width: 3;\n }\n ${C(t)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .cluster-label, .label {\n color: ${t.textColor};\n fill: ${t.textColor};\n }\n .kanban-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n ${y()}\n`,"getStyles")};export{w as diagram};
|
|
1
|
+
import{_ as t,l as e,c as n,T as i,an as s,ao as r,ap as o,ak as a,R as c,j as l,y as h,J as g,ah as u,ai as d,aj as p}from"./mermaid.core-CvFWfSA0.js";import{g as y}from"./chunk-5VM5RSS4-CkeQhgn7.js";import"./index-BwpxQGdp.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-C-9EFvh4.js";import"./settings-DzQM72QE.js";import"./index-Zvckkvpn.js";import"./LoaderLayer-CWElgcGs.js";import"./websocket-KESFarc3.js";import"./index-DpobNvg5.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"@ably/spaces/dist/mjs/react";import"./string-DPJhNSkw.js";var m=function(){var e=t(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),n=[1,4],i=[1,13],s=[1,12],r=[1,15],o=[1,16],a=[1,20],c=[1,19],l=[6,7,8],h=[1,26],g=[1,24],u=[1,25],d=[6,7,11],p=[1,31],y=[6,7,11,24],m=[1,6,13,16,17,20,23],f=[1,35],b=[1,36],_=[1,6,7,11,13,16,17,20,23],k=[1,38],E={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(t,e,n,i,s,r,o){var a=r.length-1;switch(s){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",r[a-1].id),i.addNode(r[a-2].length,r[a-1].id,r[a-1].descr,r[a-1].type,r[a]);break;case 16:i.getLogger().info("Node: ",r[a].id),i.addNode(r[a-1].length,r[a].id,r[a].descr,r[a].type);break;case 17:i.getLogger().trace("Icon: ",r[a]),i.decorateNode({icon:r[a]});break;case 18:case 23:i.decorateNode({class:r[a]});break;case 19:i.getLogger().trace("SPACELIST");break;case 20:i.getLogger().trace("Node: ",r[a-1].id),i.addNode(0,r[a-1].id,r[a-1].descr,r[a-1].type,r[a]);break;case 21:i.getLogger().trace("Node: ",r[a].id),i.addNode(0,r[a].id,r[a].descr,r[a].type);break;case 22:i.decorateNode({icon:r[a]});break;case 27:i.getLogger().trace("node found ..",r[a-2]),this.$={id:r[a-1],descr:r[a-1],type:i.getType(r[a-2],r[a])};break;case 28:this.$={id:r[a],descr:r[a],type:0};break;case 29:i.getLogger().trace("node found ..",r[a-3]),this.$={id:r[a-3],descr:r[a-1],type:i.getType(r[a-2],r[a])};break;case 30:this.$=r[a-1]+r[a];break;case 31:this.$=r[a]}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:i,7:[1,10],9:9,12:11,13:s,14:14,16:r,17:o,18:17,19:18,20:a,23:c},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:i,12:21,13:s,14:14,16:r,17:o,18:17,19:18,20:a,23:c},{6:i,9:22,12:11,13:s,14:14,16:r,17:o,18:17,19:18,20:a,23:c},{6:h,7:g,10:23,11:u},e(d,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:a,23:c}),e(d,[2,19]),e(d,[2,21],{15:30,24:p}),e(d,[2,22]),e(d,[2,23]),e(y,[2,25]),e(y,[2,26]),e(y,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:g,10:34,11:u},{1:[2,7],6:i,12:21,13:s,14:14,16:r,17:o,18:17,19:18,20:a,23:c},e(m,[2,14],{7:f,11:b}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(d,[2,16],{15:37,24:p}),e(d,[2,17]),e(d,[2,18]),e(d,[2,20],{24:k}),e(y,[2,31]),{21:[1,39]},{22:[1,40]},e(m,[2,13],{7:f,11:b}),e(_,[2,11]),e(_,[2,12]),e(d,[2,15],{24:k}),e(y,[2,30]),{22:[1,41]},e(y,[2,27]),e(y,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},"parseError"),parse:t(function(e){var n=this,i=[0],s=[],r=[null],o=[],a=this.table,c="",l=0,h=0,g=o.slice.call(arguments,1),u=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);u.setInput(e,d.yy),d.yy.lexer=u,d.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var y=u.yylloc;o.push(y);var m=u.options&&u.options.ranges;function f(){var t;return"number"!=typeof(t=s.pop()||u.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=n.symbols_[t]||t),t}"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,t(function(t){i.length=i.length-2*t,r.length=r.length-t,o.length=o.length-t},"popStack"),t(f,"lex");for(var b,_,k,E,S,N,x,L,D={};;){if(_=i[i.length-1],this.defaultActions[_]?k=this.defaultActions[_]:(null==b&&(b=f()),k=a[_]&&a[_][b]),void 0===k||!k.length||!k[0]){var I="";for(S in L=[],a[_])this.terminals_[S]&&S>2&&L.push("'"+this.terminals_[S]+"'");I=u.showPosition?"Parse error on line "+(l+1)+":\n"+u.showPosition()+"\nExpecting "+L.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(I,{text:u.match,token:this.terminals_[b]||b,line:u.yylineno,loc:y,expected:L})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+b);switch(k[0]){case 1:i.push(b),r.push(u.yytext),o.push(u.yylloc),i.push(k[1]),b=null,h=u.yyleng,c=u.yytext,l=u.yylineno,y=u.yylloc;break;case 2:if(N=this.productions_[k[1]][1],D.$=r[r.length-N],D._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},m&&(D._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),void 0!==(E=this.performAction.apply(D,[c,h,l,d.yy,k[1],r,o].concat(g))))return E;N&&(i=i.slice(0,-1*N*2),r=r.slice(0,-1*N),o=o.slice(0,-1*N)),i.push(this.productions_[k[1]][0]),r.push(D.$),o.push(D._$),x=a[i[i.length-2]][i[i.length-1]],i.push(x);break;case 3:return!0}}return!0},"parse")},S=function(){return{EOF:1,parseError:t(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:t(function(t,e){return this.yy=e||this.yy||{},this._input=t,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:t(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:t(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),n.length-1&&(this.yylineno-=n.length-1);var s=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:t(function(t){this.unput(this.match.slice(t))},"less"),pastInput:t(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:t(function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;r<s.length;r++)if((n=this._input.match(this.rules[s[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var t=this.next();return t||this.lex()},"lex"),begin:t(function(t){this.conditionStack.push(t)},"begin"),popState:t(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:t(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:t(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:t(function(t){this.begin(t)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(t,e,n,i){switch(n){case 0:return this.pushState("shapeData"),e.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const n=/\n\s*/g;return e.yytext=e.yytext.replace(n,"<br/>"),24;case 4:return 24;case 5:case 10:case 29:case 32:this.popState();break;case 6:return t.getLogger().trace("Found comment",e.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 11:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return t.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:t.getLogger().trace("end icon"),this.popState();break;case 16:return t.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return t.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:case 21:case 22:case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 30:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 33:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 36:case 39:case 40:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 37:case 38:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 41:case 42:return t.getLogger().trace("Long description:",e.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}}}();function N(){this.yy={}}return E.lexer=S,t(N,"Parser"),N.prototype=E,E.Parser=N,new N}();m.parser=m;var f=m,b=[],_=[],k=0,E={},S=t(()=>{b=[],_=[],k=0,E={}},"clear"),N=t(t=>{if(0===b.length)return null;const e=b[0].level;let n=null;for(let t=b.length-1;t>=0;t--)if(b[t].level!==e||n||(n=b[t]),b[t].level<e)throw new Error('Items without section detected, found section ("'+b[t].label+'")');return t===n?.level?null:n},"getSection"),x=t(function(){return _},"getSections"),L=t(function(){const t=[],e=x(),i=n();for(const n of e){const e={id:n.id,label:l(n.label??"",i),labelType:"markdown",isGroup:!0,ticket:n.ticket,shape:"kanbanSection",level:n.level,look:i.look};t.push(e);const s=b.filter(t=>t.parentId===n.id);for(const e of s){const s={id:e.id,parentId:n.id,label:l(e.label??"",i),labelType:"markdown",isGroup:!1,ticket:e?.ticket,priority:e?.priority,assigned:e?.assigned,icon:e?.icon,shape:"kanbanItem",level:e.level,rx:5,ry:5,cssStyles:["text-align: left"]};t.push(s)}}return{nodes:t,edges:[],other:{},config:n()}},"getData"),D=t((t,e,i,s,r)=>{const o=n();let a=o.mindmap?.padding??c.mindmap.padding;switch(s){case I.ROUNDED_RECT:case I.RECT:case I.HEXAGON:a*=2}const u={id:l(e,o)||"kbn"+k++,level:t,label:l(i,o),width:o.mindmap?.maxNodeWidth??c.mindmap.maxNodeWidth,padding:a,isGroup:!1};if(void 0!==r){let t;t=r.includes("\n")?r+"\n":"{\n"+r+"\n}";const e=h(t,{schema:g});if(e.shape&&(e.shape!==e.shape.toLowerCase()||e.shape.includes("_")))throw new Error(`No such shape: ${e.shape}. Shape names should be lowercase.`);e?.shape&&"kanbanItem"===e.shape&&(u.shape=e?.shape),e?.label&&(u.label=e?.label),e?.icon&&(u.icon=e?.icon.toString()),e?.assigned&&(u.assigned=e?.assigned.toString()),e?.ticket&&(u.ticket=e?.ticket.toString()),e?.priority&&(u.priority=e?.priority)}const d=N(t);d?u.parentId=d.id||"kbn"+k++:_.push(u),b.push(u)},"addNode"),I={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},O={clear:S,addNode:D,getSections:x,getData:L,nodeType:I,getType:t((t,n)=>{switch(e.debug("In get type",t,n),t){case"[":return I.RECT;case"(":return")"===n?I.ROUNDED_RECT:I.CLOUD;case"((":return I.CIRCLE;case")":return I.CLOUD;case"))":return I.BANG;case"{{":return I.HEXAGON;default:return I.DEFAULT}},"getType"),setElementForId:t((t,e)=>{E[t]=e},"setElementForId"),decorateNode:t(t=>{if(!t)return;const e=n(),i=b[b.length-1];t.icon&&(i.icon=l(t.icon,e)),t.class&&(i.cssClasses=l(t.class,e))},"decorateNode"),type2Str:t(t=>{switch(t){case I.DEFAULT:return"no-border";case I.RECT:return"rect";case I.ROUNDED_RECT:return"rounded-rect";case I.CIRCLE:return"circle";case I.CLOUD:return"cloud";case I.BANG:return"bang";case I.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),getLogger:t(()=>e,"getLogger"),getElementById:t(t=>E[t],"getElementById")},v={draw:t(async(t,l,h,g)=>{e.debug("Rendering kanban diagram\n"+t);const u=g.db.getData(),d=n();d.htmlLabels=!1;const p=i(l);for(const t of u.nodes)t.domId=`${l}-${t.id}`;const y=p.append("g");y.attr("class","sections");const m=p.append("g");m.attr("class","items");const f=u.nodes.filter(t=>t.isGroup);let b=0;const _=[];let k=25;for(const t of f){const e=d?.kanban?.sectionWidth||200;b+=1,t.x=e*b+10*(b-1)/2,t.width=e,t.y=0,t.height=3*e,t.rx=5,t.ry=5,t.cssClasses=t.cssClasses+" section-"+b;const n=await s(y,t);k=Math.max(k,n?.labelBBox?.height),_.push(n)}let E=0;for(const t of f){const e=_[E];E+=1;const n=d?.kanban?.sectionWidth||200,i=3*-n/2+k;let s=i;const a=u.nodes.filter(e=>e.parentId===t.id);for(const e of a){if(e.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");e.x=t.x,e.width=n-15;const i=(await r(m,e,{config:d})).node().getBBox();e.y=s+i.height/2,await o(e),s=e.y+i.height/2+5}const c=e.cluster.select("rect"),l=Math.max(s-i+30,50)+(k-25);c.attr("height",l)}a(void 0,p,d.mindmap?.padding??c.kanban.padding,d.mindmap?.useMaxWidth??c.kanban.useMaxWidth)},"draw")},C=t(e=>{let n="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],u(e["lineColor"+t])?e["lineColor"+t]=d(e["lineColor"+t],20):e["lineColor"+t]=p(e["lineColor"+t],20);const i=t((t,n)=>e.darkMode?p(t,n):d(t,n),"adjuster");for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const s=""+(17-3*t);n+=`\n .section-${t-1} rect, .section-${t-1} path, .section-${t-1} circle, .section-${t-1} polygon, .section-${t-1} path {\n fill: ${i(e["cScale"+t],10)};\n stroke: ${i(e["cScale"+t],10)};\n\n }\n .section-${t-1} text {\n fill: ${e["cScaleLabel"+t]};\n }\n .node-icon-${t-1} {\n font-size: 40px;\n color: ${e["cScaleLabel"+t]};\n }\n .section-edge-${t-1}{\n stroke: ${e["cScale"+t]};\n }\n .edge-depth-${t-1}{\n stroke-width: ${s};\n }\n .section-${t-1} line {\n stroke: ${e["cScaleInv"+t]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.background};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n .kanban-ticket-link {\n fill: ${e.background};\n stroke: ${e.nodeBorder};\n text-decoration: underline;\n }\n `}return n},"genSections"),w={db:O,renderer:v,parser:f,styles:t(t=>`\n .edge {\n stroke-width: 3;\n }\n ${C(t)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .cluster-label, .label {\n color: ${t.textColor};\n fill: ${t.textColor};\n }\n .kanban-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n ${y()}\n`,"getStyles")};export{w as diagram};
|
package/dist/esm/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{aX as AiChatPanel,aY as ApplicationLoaderLayout,aZ as BarChart,a_ as Breadcrumbs,B as Button,s as ButtonAction,g as ButtonLoader,a$ as CardNotification,b0 as ChangePasswordModal,b1 as CheckUnsavedChanges,ac as CheckboxList,b2 as CircularProgress,A as Client,aP as CodeEditor,aI as CodeViewer,C as Collapse,b3 as ContestNameLinkField,aQ as CopyToClipboard,b4 as DataGrid,b5 as DataViewer,b6 as DateLiteral,b7 as DatePicker,b8 as DayPicker,D as DetectRequestAnimationFrame,b9 as Div,ba as DocumentCustomMembersContent,bb as DocumentMembersButton,bc as DocumentMembersContent,bd as Drawer,ae as DrawerView,be as EditProfileModal,bf as EntityCreateLayout,bg as EntityLogsModal,bh as EntityUpdateLayout,bi as ErrorBoundary,aD as FetcherLayer,bj as Field,bk as FieldDate,bl as FieldText,aH as FirstLoginWrapper,az as FloatToolbar,bm as FrozenInformation,aA as GraphvizEditor,bn as GraphvizEditorModal,aB as GraphvizViewer,bo as HelpSection,bp as HomeLink,bq as HorizontalMenu,br as ImageLoaderCropper,bs as ImageProfileModal,bt as ImageUploaderButton,aM as ImageUploaderModal,bu as InformationPopover,w as Input,bv as InputCellPhoneNumber,ax as InputCheckbox,bw as InputColor,ab as InputDate,I as InputPassword,aC as InputRadio,bx as InputSelect,aw as InputTextArea,r as InputToggle,by as JukiI18nInitializer,bz as JukiLoadingLayout,bA as JukiProviders,L as LOGO_WORKSHEET_TYPE,bB as LineChart,bC as LinkLastPath,bD as LoginModal,bE as LoginUser,bF as MainMenu,n as MdMath,t as MdMathEditor,av as MdMathViewer,M as Modal,bG as MonthPicker,aj as MultiSelect,bH as MultiSelectSearchable,bI as NewVersionAvailable,aS as NewlineInfo,aE as PageNotFound,bJ as PagedDataViewer,ah as Pagination,bK as PawsLoadingLayout,ad as Popover,P as Portal,bL as PresentationToolButtons,bM as ProblemAdminActionsField,bN as ProblemCrawlerField,bO as ProblemInfo,bP as ProblemKeyField,bQ as ProblemModeField,bR as ProblemNameLinkField,bS as ProblemNameModalField,bT as ProblemOwnerField,aF as ProblemSelector,bU as ProblemStatus,bV as ProblemTypeField,aT as ProblemVerdictTag,aG as ProblemView,bW as ProfileSubmissions,bX as ProgressMultiBar,bY as ProgressSlide,bZ as QuietInformation,b_ as ResetPasswordModal,ai as Select,b$ as SignUpModal,c0 as SlideDeck,c1 as SortableItems,c2 as SplitModal,aU as SplitPane,c3 as SubmissionContestField,c4 as SubmissionContestProblemField,c5 as SubmissionDateField,c6 as SubmissionLanguageField,c7 as SubmissionModal,c8 as SubmissionNicknameField,c9 as SubmissionProblemField,ca as SubmissionRejudgeButton,cb as SubmissionRetrieveButton,cc as SubmissionTimeField,cd as SubmitView,T,ce as Tabs,aV as TabsInline,aW as TabsInlineBody,cf as TabsInlineButton,cg as TabsInlineButtonLoader,ch as TagsField,aL as TextArea,N as TextHeadCell,ci as ThemeColorPalette,cj as TimePicker,ck as Timer,cl as TimerDisplay,cm as TimerLabeled,cn as Tooltip,aN as TwoActionModal,co as TwoContentCardsLayout,cp as TwoContentLayout,cq as TwoContentSection,cr as UpsolvingInformation,aJ as UserChip,ay as UserCodeEditor,cs as UserLoaderLayout,ct as UserMyActiveSessions,cu as UserNicknameLink,cv as UserPreviewModal,cw as UserProfile,cx as UserProfileDataContent,cy as UserProfileSettings,cz as UserStoreProvider,cA as UserViewLayout,cB as UsersSelector,cC as VerticalMenu,cD as VirtualizedRowsFixed,cE as WelcomeModal,cF as WorksheetAsSlides,W as WorksheetContents,cG as WorksheetEditor,cH as WorksheetViewer,cI as YearPicker,cJ as fetcher,cK as getContestContestantsHeader,cL as getContestDateHeader,cM as getContestNameHeader,cN as getContestStatusHeader,cO as getContestTagsHeader,cP as getProblemAdminActionsHeader,cQ as getProblemKeyHeader,cR as getProblemModeHeader,cS as getProblemNameHeader,cT as getProblemOwnerHeader,cU as getProblemTagsHeader,cV as getProblemTypeHeader,cW as getSubmissionContestHeader,cX as getSubmissionContestProblemHeader,cY as getSubmissionDateHeader,cZ as getSubmissionLanguageHeader,c_ as getSubmissionMemoryHeader,c$ as getSubmissionNicknameHeader,d0 as getSubmissionProblemHeader,d1 as getSubmissionRejudgeHeader,d2 as getSubmissionTimeHeader,d3 as getSubmissionVerdictHeader,d4 as getUrlKey,d5 as useAblyStore,E as useAnimationFrameStore,d6 as useCheckAndStartServices,d7 as useClickOutside,d8 as useDataViewerRequester,v as useDebounceEffect,d9 as useEntityDiff,m as useFetcher,da as useFocusTrap,u as useHandleState,db as useHash,l as useI18nStore,H as useInjectColorTextHighlight,G as useInjectFontSize,F as useInjectTheme,dc as useInterval,dd as useJudge,af as useJukiNotification,d as useJukiUser,de as useJukiUserSettings,b as useKeyDown,df as useLastPathStore,dg as useLazyLoadingStore,dh as useMatchMutate,di as useMemoizedArray,dj as useOrganizationPresence,dk as useOverflowDetector,dl as useOwnPresence,dm as usePageFocus,f as usePageStore,dn as usePreload,dp as usePreloadComponents,dq as usePrevious,J as useResizeDetector,dr as useRevalidateSubmissions,p as useRouterStore,ag as useSessionStorage,ds as useSoundStore,a as useStableRef,dt as useSubmissionsJudging,aO as useSubscribe,q as useSyncedState,du as useTrackCursor,dv as useTrackLastPath,x as useUIStore,e as useUserStore,dw as useWebsocketStore,dx as useWindowSize}from"./index-
|
|
1
|
+
export{aX as AiChatPanel,aY as ApplicationLoaderLayout,aZ as BarChart,a_ as Breadcrumbs,B as Button,s as ButtonAction,g as ButtonLoader,a$ as CardNotification,b0 as ChangePasswordModal,b1 as CheckUnsavedChanges,ac as CheckboxList,b2 as CircularProgress,A as Client,aP as CodeEditor,aI as CodeViewer,C as Collapse,b3 as ContestNameLinkField,aQ as CopyToClipboard,b4 as DataGrid,b5 as DataViewer,b6 as DateLiteral,b7 as DatePicker,b8 as DayPicker,D as DetectRequestAnimationFrame,b9 as Div,ba as DocumentCustomMembersContent,bb as DocumentMembersButton,bc as DocumentMembersContent,bd as Drawer,ae as DrawerView,be as EditProfileModal,bf as EntityCreateLayout,bg as EntityLogsModal,bh as EntityUpdateLayout,bi as ErrorBoundary,aD as FetcherLayer,bj as Field,bk as FieldDate,bl as FieldText,aH as FirstLoginWrapper,az as FloatToolbar,bm as FrozenInformation,aA as GraphvizEditor,bn as GraphvizEditorModal,aB as GraphvizViewer,bo as HelpSection,bp as HomeLink,bq as HorizontalMenu,br as ImageLoaderCropper,bs as ImageProfileModal,bt as ImageUploaderButton,aM as ImageUploaderModal,bu as InformationPopover,w as Input,bv as InputCellPhoneNumber,ax as InputCheckbox,bw as InputColor,ab as InputDate,I as InputPassword,aC as InputRadio,bx as InputSelect,aw as InputTextArea,r as InputToggle,by as JukiI18nInitializer,bz as JukiLoadingLayout,bA as JukiProviders,L as LOGO_WORKSHEET_TYPE,bB as LineChart,bC as LinkLastPath,bD as LoginModal,bE as LoginUser,bF as MainMenu,n as MdMath,t as MdMathEditor,av as MdMathViewer,M as Modal,bG as MonthPicker,aj as MultiSelect,bH as MultiSelectSearchable,bI as NewVersionAvailable,aS as NewlineInfo,aE as PageNotFound,bJ as PagedDataViewer,ah as Pagination,bK as PawsLoadingLayout,ad as Popover,P as Portal,bL as PresentationToolButtons,bM as ProblemAdminActionsField,bN as ProblemCrawlerField,bO as ProblemInfo,bP as ProblemKeyField,bQ as ProblemModeField,bR as ProblemNameLinkField,bS as ProblemNameModalField,bT as ProblemOwnerField,aF as ProblemSelector,bU as ProblemStatus,bV as ProblemTypeField,aT as ProblemVerdictTag,aG as ProblemView,bW as ProfileSubmissions,bX as ProgressMultiBar,bY as ProgressSlide,bZ as QuietInformation,b_ as ResetPasswordModal,ai as Select,b$ as SignUpModal,c0 as SlideDeck,c1 as SortableItems,c2 as SplitModal,aU as SplitPane,c3 as SubmissionContestField,c4 as SubmissionContestProblemField,c5 as SubmissionDateField,c6 as SubmissionLanguageField,c7 as SubmissionModal,c8 as SubmissionNicknameField,c9 as SubmissionProblemField,ca as SubmissionRejudgeButton,cb as SubmissionRetrieveButton,cc as SubmissionTimeField,cd as SubmitView,T,ce as Tabs,aV as TabsInline,aW as TabsInlineBody,cf as TabsInlineButton,cg as TabsInlineButtonLoader,ch as TagsField,aL as TextArea,N as TextHeadCell,ci as ThemeColorPalette,cj as TimePicker,ck as Timer,cl as TimerDisplay,cm as TimerLabeled,cn as Tooltip,aN as TwoActionModal,co as TwoContentCardsLayout,cp as TwoContentLayout,cq as TwoContentSection,cr as UpsolvingInformation,aJ as UserChip,ay as UserCodeEditor,cs as UserLoaderLayout,ct as UserMyActiveSessions,cu as UserNicknameLink,cv as UserPreviewModal,cw as UserProfile,cx as UserProfileDataContent,cy as UserProfileSettings,cz as UserStoreProvider,cA as UserViewLayout,cB as UsersSelector,cC as VerticalMenu,cD as VirtualizedRowsFixed,cE as WelcomeModal,cF as WorksheetAsSlides,W as WorksheetContents,cG as WorksheetEditor,cH as WorksheetViewer,cI as YearPicker,cJ as fetcher,cK as getContestContestantsHeader,cL as getContestDateHeader,cM as getContestNameHeader,cN as getContestStatusHeader,cO as getContestTagsHeader,cP as getProblemAdminActionsHeader,cQ as getProblemKeyHeader,cR as getProblemModeHeader,cS as getProblemNameHeader,cT as getProblemOwnerHeader,cU as getProblemTagsHeader,cV as getProblemTypeHeader,cW as getSubmissionContestHeader,cX as getSubmissionContestProblemHeader,cY as getSubmissionDateHeader,cZ as getSubmissionLanguageHeader,c_ as getSubmissionMemoryHeader,c$ as getSubmissionNicknameHeader,d0 as getSubmissionProblemHeader,d1 as getSubmissionRejudgeHeader,d2 as getSubmissionTimeHeader,d3 as getSubmissionVerdictHeader,d4 as getUrlKey,d5 as useAblyStore,E as useAnimationFrameStore,d6 as useCheckAndStartServices,d7 as useClickOutside,d8 as useDataViewerRequester,v as useDebounceEffect,d9 as useEntityDiff,m as useFetcher,da as useFocusTrap,u as useHandleState,db as useHash,l as useI18nStore,H as useInjectColorTextHighlight,G as useInjectFontSize,F as useInjectTheme,dc as useInterval,dd as useJudge,af as useJukiNotification,d as useJukiUser,de as useJukiUserSettings,b as useKeyDown,df as useLastPathStore,dg as useLazyLoadingStore,dh as useMatchMutate,di as useMemoizedArray,dj as useOrganizationPresence,dk as useOverflowDetector,dl as useOwnPresence,dm as usePageFocus,f as usePageStore,dn as usePreload,dp as usePreloadComponents,dq as usePrevious,J as useResizeDetector,dr as useRevalidateSubmissions,p as useRouterStore,ag as useSessionStorage,ds as useSoundStore,a as useStableRef,dt as useSubmissionsJudging,aO as useSubscribe,q as useSyncedState,du as useTrackCursor,dv as useTrackLastPath,x as useUIStore,e as useUserStore,dw as useWebsocketStore,dx as useWindowSize}from"./index-BwpxQGdp.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-C-9EFvh4.js";import"./settings-DzQM72QE.js";import"./index-Zvckkvpn.js";import"./LoaderLayer-CWElgcGs.js";import"./websocket-KESFarc3.js";import"./index-DpobNvg5.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"@ably/spaces/dist/mjs/react";
|