@juki-team/base-ui 1.5.11 → 1.5.13

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.
Files changed (123) hide show
  1. package/dist/esm/ArrowForwardIcon-DelUFdaJ.js +1 -0
  2. package/dist/esm/{BarChart-D6_BRhr2.js → BarChart-D2X8Qu4u.js} +1 -1
  3. package/dist/esm/{CartesianChart-CWujTVm7.js → CartesianChart-DYpkf6Ou.js} +1 -1
  4. package/dist/esm/{ChangePasswordModal-Ds3TqD5C.js → ChangePasswordModal-yc4D7RMs.js} +1 -1
  5. package/dist/esm/{CodeEditor-CTnPGIiF.js → CodeEditor-Dxp5QnTB.js} +1 -1
  6. package/dist/esm/{CodeViewer-DKaZetL7.js → CodeViewer-BSZXIngC.js} +1 -1
  7. package/dist/esm/{Collapse-cx1sfcdL.js → Collapse-D-w5SKss.js} +1 -1
  8. package/dist/esm/{DataGrid-bZJxnNpn.js → DataGrid-BdFgb8IP.js} +1 -1
  9. package/dist/esm/DataViewer-DVVGkDSK.js +1 -0
  10. package/dist/esm/{DrawerView-uqDkkfN3.js → DrawerView-DCRvckZd.js} +1 -1
  11. package/dist/esm/{ExcalidrawButton-DP7IRqig.js → ExcalidrawButton-_a-eNbyb.js} +1 -1
  12. package/dist/esm/{GraphvizViewer-BGX2Z8KP.js → GraphvizViewer-B2-JVx0t.js} +1 -1
  13. package/dist/esm/{ImageLoaderCropper-BfIfmEdE.js → ImageLoaderCropper-wV-hPOjq.js} +1 -1
  14. package/dist/esm/{InputCellPhoneNumber-qovO8IT4.js → InputCellPhoneNumber-Bcl22QsC.js} +1 -1
  15. package/dist/esm/{InputColor-8DJM_wZR.js → InputColor-CHgGjI3f.js} +1 -1
  16. package/dist/esm/{LineChart-vXWysFNq.js → LineChart-ByKPkVhP.js} +1 -1
  17. package/dist/esm/{LoaderLayer-Cv80UCdL.js → LoaderLayer-ECtsj85k.js} +1 -1
  18. package/dist/esm/{MdMath-D4p_cWv8.js → MdMath-DljkRDxR.js} +1 -1
  19. package/dist/esm/{MdMathEditor-BC4QqqY5.js → MdMathEditor-Dvq5oODw.js} +1 -1
  20. package/dist/esm/{Popover-KQx_QYJY.js → Popover-CX8YffOd.js} +1 -1
  21. package/dist/esm/ReplyIcon-BNYBKbgb.js +1 -0
  22. package/dist/esm/{SettingsIcon-C3sN1TNw.js → SettingsIcon-B9nmP4lD.js} +1 -1
  23. package/dist/esm/{SlideDeck-BP-CNUhS.js → SlideDeck-C0n93gz0.js} +1 -1
  24. package/dist/esm/{TableEyeIcon-BFfTLgKU.js → TableEyeIcon-Mb5aFvN0.js} +1 -1
  25. package/dist/esm/{TableOfContents-Cg9pymLO.js → TableOfContents-BBAEZx6Z.js} +1 -1
  26. package/dist/esm/{Tooltip-k62JJg5n.js → Tooltip-DB0S1ErV.js} +1 -1
  27. package/dist/esm/{UserCodeEditor-LaT3CJvU.js → UserCodeEditor-B1d5gyVE.js} +2 -2
  28. package/dist/esm/{VirtualizedRowsFixed-CN-1w7u1.js → VirtualizedRowsFixed-ChX4ON0l.js} +1 -1
  29. package/dist/esm/{WorksheetAsSlides-DmGLDXtL.js → WorksheetAsSlides-CpiXbUML.js} +1 -1
  30. package/dist/esm/{WorksheetBodies-BYISk5yC.js → WorksheetBodies-CO67-rEz.js} +1 -1
  31. package/dist/esm/{WorksheetContents-IzJ6Cw_g.js → WorksheetContents-ClZpiXB-.js} +1 -1
  32. package/dist/esm/{WorksheetEditor-Dacb3EOk.js → WorksheetEditor-CjAvgOx6.js} +1 -1
  33. package/dist/esm/WorksheetNode-BgNNzY8I.js +1 -0
  34. package/dist/esm/{WorksheetViewer-BLFZouvt.js → WorksheetViewer-DVQitUzi.js} +1 -1
  35. package/dist/esm/{abnfDiagram-WEYOIA3C-BEp-BJ00.js → abnfDiagram-WEYOIA3C-CwJ1V2U1.js} +1 -1
  36. package/dist/esm/{arc-B4ps4Bee.js → arc-COK0VEkT.js} +1 -1
  37. package/dist/esm/{architectureDiagram-ZHVYKT53-BDbBQNmT.js → architectureDiagram-ZHVYKT53-CM6AQFKG.js} +1 -1
  38. package/dist/esm/{blockDiagram-RJAE7QA3-CYciK31K.js → blockDiagram-RJAE7QA3-CdSNo9Pe.js} +1 -1
  39. package/dist/esm/{c4Diagram-XDPPPE54-dye_nDtJ.js → c4Diagram-XDPPPE54-BhfYKASq.js} +1 -1
  40. package/dist/esm/channel-DWjyymG_.js +1 -0
  41. package/dist/esm/{chunk-2E7WHVMD-fBpaf8Ph.js → chunk-2E7WHVMD-CVBqw5fR.js} +1 -1
  42. package/dist/esm/{chunk-2Q5K7J3B-B1dv6ovr.js → chunk-2Q5K7J3B-CyZYeWxE.js} +1 -1
  43. package/dist/esm/{chunk-4EMNKR2T-B10soxeX.js → chunk-4EMNKR2T-D1yHHif8.js} +1 -1
  44. package/dist/esm/{chunk-55XCU76K-BhN5PLeC.js → chunk-55XCU76K-CvYWAV_o.js} +1 -1
  45. package/dist/esm/{chunk-5VM5RSS4-DEKr6tsK.js → chunk-5VM5RSS4-CS0kZLYA.js} +1 -1
  46. package/dist/esm/{chunk-JWPE2WC7-lyHCgozd.js → chunk-JWPE2WC7-Ct5OBLCL.js} +1 -1
  47. package/dist/esm/{chunk-NQOKRVIF-CLuzP2Xi.js → chunk-NQOKRVIF-D0-2mmH4.js} +1 -1
  48. package/dist/esm/{chunk-VQ5W62QI-MGNBKNlF.js → chunk-VQ5W62QI-CsGo0PTx.js} +1 -1
  49. package/dist/esm/{chunk-XXDRQBXY-CIB-Pv6R.js → chunk-XXDRQBXY-DPPGTM3w.js} +1 -1
  50. package/dist/esm/{chunk-ZCHMQSOR--e_zi_XA.js → chunk-ZCHMQSOR-Bvjutmxm.js} +1 -1
  51. package/dist/esm/{classDiagram-v2-4MYWR3UA-BU3oZLY5.js → classDiagram-v2-4MYWR3UA-J_cOAAHS.js} +1 -1
  52. package/dist/esm/{commons-BHuDJzTw.js → commons-iref2pEJ.js} +1 -1
  53. package/dist/esm/constants.js +1 -1
  54. package/dist/esm/{cose-bilkent-JH36ORCC-DdSzxxt0.js → cose-bilkent-JH36ORCC-BHzp2aV0.js} +1 -1
  55. package/dist/esm/{cynefinDiagram-WF24UDRP-BbPVqiW_.js → cynefinDiagram-WF24UDRP-B3Y9mCh3.js} +1 -1
  56. package/dist/esm/{dagre-NK4GIZVX-DLhklBxm.js → dagre-NK4GIZVX-BSfh-C_i.js} +1 -1
  57. package/dist/esm/{diagram-CBK3MWTC-C2Pa6CcJ.js → diagram-CBK3MWTC-w-BT1S7I.js} +1 -1
  58. package/dist/esm/{diagram-I5XIIV2D-D-qVVyv1.js → diagram-I5XIIV2D-wMqo87b_.js} +1 -1
  59. package/dist/esm/{diagram-ODIL2UCW-QFqiGLCP.js → diagram-ODIL2UCW-DQhUXqDu.js} +1 -1
  60. package/dist/esm/{diagram-PFBEJUXE-UHmEOsHi.js → diagram-PFBEJUXE-BlCntZMJ.js} +1 -1
  61. package/dist/esm/{diagram-RJA3I4VV-CcSCqRS4.js → diagram-RJA3I4VV-Cev21A9i.js} +1 -1
  62. package/dist/esm/{diagram-TYUNFSNR-DcSxaQx8.js → diagram-TYUNFSNR-BiiLNoPs.js} +1 -1
  63. package/dist/esm/{ebnfDiagram-V4P3TTPT-DRA2NTIs.js → ebnfDiagram-V4P3TTPT-BWNnHl88.js} +1 -1
  64. package/dist/esm/{elk-QONTBCTQ-Bkv5Sf8G.js → elk-QONTBCTQ-DhvgoeNg.js} +1 -1
  65. package/dist/esm/{erDiagram-KYQIGQAA-Blb_MksM.js → erDiagram-KYQIGQAA-DkFGw08p.js} +1 -1
  66. package/dist/esm/flowDiagram-IUGLLWBU-B-Bxdnen.js +1 -0
  67. package/dist/esm/{ganttDiagram-R7GPNTJY-Do8IYgX5.js → ganttDiagram-R7GPNTJY-Bvr90Acy.js} +1 -1
  68. package/dist/esm/{gitGraphDiagram-PDYL7XHY-CAvv6VXj.js → gitGraphDiagram-PDYL7XHY-DHszoB7b.js} +1 -1
  69. package/dist/esm/helpers.js +1 -1
  70. package/dist/esm/{index-_kF3_0-k.js → index-2PTQqTnK.js} +1 -1
  71. package/dist/esm/{index-JPCp_Z3V.js → index-70SVfF-m.js} +1 -1
  72. package/dist/esm/{index-Dz8ISdDG.js → index-B5Soolr4.js} +1 -1
  73. package/dist/esm/index-BpcqEzEG.js +1 -0
  74. package/dist/esm/{index-L4hkrldv.js → index-DkZReaeM.js} +1 -1
  75. package/dist/esm/{infoDiagram-MVDRKAX5-CcsrNbMy.js → infoDiagram-MVDRKAX5-D05SjyVf.js} +1 -1
  76. package/dist/esm/{ishikawaDiagram-HPEHV2GE-BSefVZjI.js → ishikawaDiagram-HPEHV2GE-50RQ8Owd.js} +1 -1
  77. package/dist/esm/{journeyDiagram-BOSHW7O7-C3Y3fTW5.js → journeyDiagram-BOSHW7O7-DnHu8DYt.js} +1 -1
  78. package/dist/esm/{kanban-definition-FNSA4HC5-DqDHeqOc.js → kanban-definition-FNSA4HC5-BF3y0Q5O.js} +1 -1
  79. package/dist/esm/main.js +1 -1
  80. package/dist/esm/{mermaid.core-DKkN0L2R.js → mermaid.core-DRk6tt5W.js} +2 -2
  81. package/dist/esm/{mindmap-definition-6OY57UG3-BaT97m0e.js → mindmap-definition-6OY57UG3-D2VvQCn5.js} +1 -1
  82. package/dist/esm/{pegDiagram-ECIUJNBX-BHWXjV1h.js → pegDiagram-ECIUJNBX-LCa_e2vp.js} +1 -1
  83. package/dist/esm/{pieDiagram-GNMPY74T-tMRQX3HS.js → pieDiagram-GNMPY74T-BFxRc695.js} +1 -1
  84. package/dist/esm/{quadrantDiagram-D57K4MC3-CfbxRwkB.js → quadrantDiagram-D57K4MC3-m-v5Oved.js} +1 -1
  85. package/dist/esm/{railroadDiagram-Y72NRBL7-QMN2Zgh0.js → railroadDiagram-Y72NRBL7-CGhQNkt2.js} +1 -1
  86. package/dist/esm/{requirementDiagram-EQYSW5RA-5SA2oZMo.js → requirementDiagram-EQYSW5RA-D4TUJX2j.js} +1 -1
  87. package/dist/esm/{sankeyDiagram-SY24JHO5-BXdQgEr6.js → sankeyDiagram-SY24JHO5-qeunG13D.js} +1 -1
  88. package/dist/esm/{sequenceDiagram-BLEHNHQU-BvWgv_Hq.js → sequenceDiagram-BLEHNHQU-Bf8dSGiP.js} +1 -1
  89. package/dist/esm/server.js +1 -1
  90. package/dist/esm/settings-CBGV-lz3.js +1 -0
  91. package/dist/esm/settings.js +1 -1
  92. package/dist/esm/{sizeCapture-INFHLROL-CRBg4FIP.js → sizeCapture-INFHLROL-B0tQoQkY.js} +1 -1
  93. package/dist/esm/{stateDiagram-v2-A6IESKWZ-DOTqWcFT.js → stateDiagram-v2-A6IESKWZ-D-bM5qVN.js} +1 -1
  94. package/dist/esm/{swimlanes-B3ENRKFQ-Dt3HxqOR.js → swimlanes-B3ENRKFQ-DR9euVhL.js} +1 -1
  95. package/dist/esm/swimlanesDiagram-AYQRV4AK-D0-BBYnj.js +1 -0
  96. package/dist/esm/{timeline-definition-JXYKGLGB-ChogrVVw.js → timeline-definition-JXYKGLGB-ChsOD2es.js} +1 -1
  97. package/dist/esm/{types-BqWpd51k.js → types-DsZvEANP.js} +1 -1
  98. package/dist/esm/{usecaseDiagram-WPOLBNNX-DAMNLFuf.js → usecaseDiagram-WPOLBNNX-DZFg1Zof.js} +1 -1
  99. package/dist/esm/{vennDiagram-Q3Y3IDCW--qCUcJOu.js → vennDiagram-Q3Y3IDCW-DAW-dDy7.js} +1 -1
  100. package/dist/esm/{wardleyDiagram-IVAIDKWA-D0f1LOLT.js → wardleyDiagram-IVAIDKWA-B-gsebc8.js} +1 -1
  101. package/dist/esm/websocket-CdeP8N_S.js +1 -0
  102. package/dist/esm/{xychartDiagram-4URNHDU4-Bkx4mxlH.js → xychartDiagram-4URNHDU4-DS3Qm0VA.js} +1 -1
  103. package/dist/module-types/src/components/organisms/_layz_/DataViewer/CardList/DataViewerCard.d.ts +6 -2
  104. package/dist/module-types/src/components/organisms/_layz_/DataViewer/CardList/types.d.ts +9 -6
  105. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/index.d.ts +2 -2
  106. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableRow.d.ts +21 -0
  107. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/ViewContainerRows.d.ts +0 -2
  108. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/columnLayout.d.ts +23 -0
  109. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/useScrollEdges.d.ts +13 -0
  110. package/dist/module-types/src/components/organisms/_layz_/DataViewer/types.d.ts +12 -8
  111. package/dist/module-types/src/stores/websocket/topicChannels.d.ts +37 -0
  112. package/package.json +2 -2
  113. package/src/styles/components/atoms/_data-viewer.scss +34 -16
  114. package/dist/esm/ArrowForwardIcon-1RdVdC78.js +0 -1
  115. package/dist/esm/DataViewer-DpQqmjva.js +0 -1
  116. package/dist/esm/ReplyIcon-BlBLARCH.js +0 -1
  117. package/dist/esm/WorksheetNode-2B7Rld9L.js +0 -1
  118. package/dist/esm/channel-DdQBbu1U.js +0 -1
  119. package/dist/esm/flowDiagram-IUGLLWBU-CQaJ12bg.js +0 -1
  120. package/dist/esm/index-DTAG4nDF.js +0 -1
  121. package/dist/esm/settings-BONQQsPx.js +0 -1
  122. package/dist/esm/swimlanesDiagram-AYQRV4AK-cNbShXsw.js +0 -1
  123. package/dist/esm/websocket-B2hJys_Q.js +0 -1
@@ -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 u,ah as g,ai as d,aj as p}from"./mermaid.core-DKkN0L2R.js";import{g as y}from"./chunk-5VM5RSS4-DEKr6tsK.js";import"./index-DTAG4nDF.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-BHuDJzTw.js";import"./settings-BONQQsPx.js";import"./constants.js";import"./LoaderLayer-Cv80UCdL.js";import"./websocket-B2hJys_Q.js";import"./index-_kF3_0-k.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";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],u=[1,24],g=[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:u,10:23,11:g},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:u,10:34,11:g},{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,u=o.slice.call(arguments,1),g=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]);g.setInput(e,d.yy),d.yy.lexer=g,d.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var y=g.yylloc;o.push(y);var m=g.options&&g.options.ranges;function f(){var t;return"number"!=typeof(t=s.pop()||g.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=g.showPosition?"Parse error on line "+(l+1)+":\n"+g.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:g.match,token:this.terminals_[b]||b,line:g.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(g.yytext),o.push(g.yylloc),i.push(k[1]),b=null,h=g.yyleng,c=g.yytext,l=g.yylineno,y=g.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(u))))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 g={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:u});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&&(g.shape=e?.shape),e?.label&&(g.label=e?.label),e?.icon&&(g.icon=e?.icon.toString()),e?.assigned&&(g.assigned=e?.assigned.toString()),e?.ticket&&(g.ticket=e?.ticket.toString()),e?.priority&&(g.priority=e?.priority)}const d=N(t);d?g.parentId=d.id||"kbn"+k++:_.push(g),b.push(g)},"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,u)=>{e.debug("Rendering kanban diagram\n"+t);const g=u.db.getData(),d=n();d.htmlLabels=!1;const p=i(l);for(const t of g.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=g.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=g.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],g(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 u,ah as g,ai as d,aj as p}from"./mermaid.core-DRk6tt5W.js";import{g as y}from"./chunk-5VM5RSS4-CS0kZLYA.js";import"./index-BpcqEzEG.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-iref2pEJ.js";import"./settings-CBGV-lz3.js";import"./constants.js";import"./LoaderLayer-ECtsj85k.js";import"./websocket-CdeP8N_S.js";import"./index-2PTQqTnK.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";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],u=[1,24],g=[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:u,10:23,11:g},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:u,10:34,11:g},{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,u=o.slice.call(arguments,1),g=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]);g.setInput(e,d.yy),d.yy.lexer=g,d.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var y=g.yylloc;o.push(y);var m=g.options&&g.options.ranges;function f(){var t;return"number"!=typeof(t=s.pop()||g.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=g.showPosition?"Parse error on line "+(l+1)+":\n"+g.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:g.match,token:this.terminals_[b]||b,line:g.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(g.yytext),o.push(g.yylloc),i.push(k[1]),b=null,h=g.yyleng,c=g.yytext,l=g.yylineno,y=g.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(u))))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 g={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:u});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&&(g.shape=e?.shape),e?.label&&(g.label=e?.label),e?.icon&&(g.icon=e?.icon.toString()),e?.assigned&&(g.assigned=e?.assigned.toString()),e?.ticket&&(g.ticket=e?.ticket.toString()),e?.priority&&(g.priority=e?.priority)}const d=N(t);d?g.parentId=d.id||"kbn"+k++:_.push(g),b.push(g)},"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,u)=>{e.debug("Rendering kanban diagram\n"+t);const g=u.db.getData(),d=n();d.htmlLabels=!1;const p=i(l);for(const t of g.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=g.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=g.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],g(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{ap as AiChatPanel,aq as ApplicationLoaderLayout,ar as BarChart,as as Breadcrumbs,B as Button,s as ButtonAction,g as ButtonLoader,at as CardNotification,au as ChangePasswordModal,av as CheckUnsavedChanges,O as CheckboxList,aw as CircularProgress,A as Client,ai as CodeEditor,ac as CodeViewer,C as Collapse,ax as ContestNameLinkField,aj as CopyToClipboard,ay as DataGrid,az as DataViewer,aA as DateLiteral,aB as DatePicker,aC as DayPicker,D as DetectRequestAnimationFrame,aD as Div,aE as DocumentCustomMembersContent,aF as DocumentMembersButton,aG as DocumentMembersContent,aH as Drawer,S as DrawerView,aI as EditProfileModal,aJ as EntityCreateLayout,aK as EntityLogsModal,aL as EntityUpdateLayout,aM as ErrorBoundary,a7 as FetcherLayer,aN as Field,aO as FieldDate,aP as FieldText,ab as FirstLoginWrapper,a3 as FloatToolbar,aQ as FrozenInformation,a4 as GraphvizEditor,aR as GraphvizEditorModal,a5 as GraphvizViewer,aS as HelpSection,aT as HomeLink,aU as HorizontalMenu,aV as ImageLoaderCropper,aW as ImageProfileModal,aX as ImageUploaderButton,af as ImageUploaderModal,aY as InformationPopover,w as Input,aZ as InputCellPhoneNumber,a1 as InputCheckbox,a_ as InputColor,N as InputDate,I as InputPassword,a6 as InputRadio,a$ as InputSelect,a0 as InputTextArea,r as InputToggle,b0 as JukiI18nInitializer,b1 as JukiLoadingLayout,b2 as JukiProviders,L as LOGO_WORKSHEET_TYPE,b3 as LineChart,b4 as LinkLastPath,b5 as LoginModal,b6 as LoginUser,b7 as MainMenu,n as MdMath,t as MdMathEditor,$ as MdMathViewer,M as Modal,b8 as MonthPicker,Z as MultiSelect,b9 as MultiSelectSearchable,ba as NewVersionAvailable,ak as NewlineInfo,a8 as PageNotFound,bb as PagedDataViewer,X as Pagination,bc as PawsLoadingLayout,Q as Popover,P as Portal,bd as PresentationToolButtons,be as ProblemAdminActionsField,bf as ProblemCrawlerField,bg as ProblemInfo,bh as ProblemKeyField,bi as ProblemModeField,bj as ProblemNameLinkField,bk as ProblemNameModalField,bl as ProblemOwnerField,a9 as ProblemSelector,bm as ProblemStatus,bn as ProblemTypeField,al as ProblemVerdictTag,aa as ProblemView,bo as ProfileSubmissions,bp as ProgressMultiBar,bq as ProgressSlide,br as QuietInformation,bs as ResetPasswordModal,Y as Select,bt as SignUpModal,bu as SlideDeck,bv as SortableItems,bw as SplitModal,am as SplitPane,bx as SubmissionContestField,by as SubmissionContestProblemField,bz as SubmissionDateField,bA as SubmissionLanguageField,bB as SubmissionModal,bC as SubmissionNicknameField,bD as SubmissionProblemField,bE as SubmissionRejudgeButton,bF as SubmissionRetrieveButton,bG as SubmissionTimeField,bH as SubmitView,T,bI as Tabs,an as TabsInline,ao as TabsInlineBody,bJ as TabsInlineButton,bK as TabsInlineButtonLoader,bL as TagsField,ae as TextArea,K as TextHeadCell,bM as ThemeColorPalette,bN as TimePicker,bO as Timer,bP as TimerDisplay,bQ as TimerLabeled,bR as Tooltip,ag as TwoActionModal,bS as TwoContentCardsLayout,bT as TwoContentLayout,bU as TwoContentSection,bV as UpsolvingInformation,ad as UserChip,a2 as UserCodeEditor,bW as UserLoaderLayout,bX as UserMyActiveSessions,bY as UserNicknameLink,bZ as UserPreviewModal,b_ as UserProfile,b$ as UserProfileDataContent,c0 as UserProfileSettings,c1 as UserStoreProvider,c2 as UserViewLayout,c3 as UsersSelector,c4 as VerticalMenu,c5 as VirtualizedRowsFixed,c6 as WelcomeModal,c7 as WorksheetAsSlides,W as WorksheetContents,c8 as WorksheetEditor,c9 as WorksheetViewer,ca as YearPicker,cb as fetcher,cc as getContestContestantsHeader,cd as getContestDateHeader,ce as getContestNameHeader,cf as getContestStatusHeader,cg as getContestTagsHeader,ch as getProblemAdminActionsHeader,ci as getProblemKeyHeader,cj as getProblemModeHeader,ck as getProblemNameHeader,cl as getProblemOwnerHeader,cm as getProblemTagsHeader,cn as getProblemTypeHeader,co as getSubmissionContestHeader,cp as getSubmissionContestProblemHeader,cq as getSubmissionDateHeader,cr as getSubmissionLanguageHeader,cs as getSubmissionMemoryHeader,ct as getSubmissionNicknameHeader,cu as getSubmissionProblemHeader,cv as getSubmissionRejudgeHeader,cw as getSubmissionTimeHeader,cx as getSubmissionVerdictHeader,cy as getUrlKey,cz as useAblyStore,E as useAnimationFrameStore,cA as useCheckAndStartServices,cB as useClickOutside,cC as useClientTrackLocation,cD as useDataViewerRequester,v as useDebounceEffect,cE as useEntityDiff,m as useFetcher,cF as useFocusTrap,u as useHandleState,cG as useHash,l as useI18nStore,H as useInjectColorTextHighlight,G as useInjectFontSize,F as useInjectTheme,cH as useInterval,cI as useJudge,U as useJukiNotification,d as useJukiUser,cJ as useJukiUserSettings,b as useKeyDown,cK as useLastPathStore,cL as useLazyLoadingStore,cM as useMatchMutate,cN as useMemoizedArray,cO as useOverflowDetector,cP as usePageFocus,f as usePageStore,cQ as usePreload,cR as usePreloadComponents,R as usePrevious,J as useResizeDetector,p as useRouterStore,V as useSessionStorage,cS as useSoundStore,a as useStableRef,ah as useSubscribe,q as useSyncedState,cT as useTrackCursor,cU as useTrackLastPath,x as useUIStore,e as useUserStore,cV as useWebsocketStore,cW as useWindowSize}from"./index-DTAG4nDF.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-BHuDJzTw.js";import"./settings-BONQQsPx.js";import"./constants.js";import"./LoaderLayer-Cv80UCdL.js";import"./websocket-B2hJys_Q.js";import"./index-_kF3_0-k.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";
1
+ export{ao as AiChatPanel,ap as ApplicationLoaderLayout,aq as BarChart,ar as Breadcrumbs,B as Button,s as ButtonAction,g as ButtonLoader,as as CardNotification,at as ChangePasswordModal,au as CheckUnsavedChanges,O as CheckboxList,av as CircularProgress,A as Client,ah as CodeEditor,ab as CodeViewer,C as Collapse,aw as ContestNameLinkField,ai as CopyToClipboard,ax as DataGrid,ay as DataViewer,az as DateLiteral,aA as DatePicker,aB as DayPicker,D as DetectRequestAnimationFrame,aC as Div,aD as DocumentCustomMembersContent,aE as DocumentMembersButton,aF as DocumentMembersContent,aG as Drawer,R as DrawerView,aH as EditProfileModal,aI as EntityCreateLayout,aJ as EntityLogsModal,aK as EntityUpdateLayout,aL as ErrorBoundary,a6 as FetcherLayer,aM as Field,aN as FieldDate,aO as FieldText,aa as FirstLoginWrapper,a2 as FloatToolbar,aP as FrozenInformation,a3 as GraphvizEditor,aQ as GraphvizEditorModal,a4 as GraphvizViewer,aR as HelpSection,aS as HomeLink,aT as HorizontalMenu,aU as ImageLoaderCropper,aV as ImageProfileModal,aW as ImageUploaderButton,ae as ImageUploaderModal,aX as InformationPopover,w as Input,aY as InputCellPhoneNumber,a0 as InputCheckbox,aZ as InputColor,N as InputDate,I as InputPassword,a5 as InputRadio,a_ as InputSelect,$ as InputTextArea,r as InputToggle,a$ as JukiI18nInitializer,b0 as JukiLoadingLayout,b1 as JukiProviders,L as LOGO_WORKSHEET_TYPE,b2 as LineChart,b3 as LinkLastPath,b4 as LoginModal,b5 as LoginUser,b6 as MainMenu,n as MdMath,t as MdMathEditor,_ as MdMathViewer,M as Modal,b7 as MonthPicker,Y as MultiSelect,b8 as MultiSelectSearchable,b9 as NewVersionAvailable,aj as NewlineInfo,a7 as PageNotFound,ba as PagedDataViewer,V as Pagination,bb as PawsLoadingLayout,Q as Popover,P as Portal,bc as PresentationToolButtons,bd as ProblemAdminActionsField,be as ProblemCrawlerField,bf as ProblemInfo,bg as ProblemKeyField,bh as ProblemModeField,bi as ProblemNameLinkField,bj as ProblemNameModalField,bk as ProblemOwnerField,a8 as ProblemSelector,bl as ProblemStatus,bm as ProblemTypeField,ak as ProblemVerdictTag,a9 as ProblemView,bn as ProfileSubmissions,bo as ProgressMultiBar,bp as ProgressSlide,bq as QuietInformation,br as ResetPasswordModal,X as Select,bs as SignUpModal,bt as SlideDeck,bu as SortableItems,bv as SplitModal,al as SplitPane,bw as SubmissionContestField,bx as SubmissionContestProblemField,by as SubmissionDateField,bz as SubmissionLanguageField,bA as SubmissionModal,bB as SubmissionNicknameField,bC as SubmissionProblemField,bD as SubmissionRejudgeButton,bE as SubmissionRetrieveButton,bF as SubmissionTimeField,bG as SubmitView,T,bH as Tabs,am as TabsInline,an as TabsInlineBody,bI as TabsInlineButton,bJ as TabsInlineButtonLoader,bK as TagsField,ad as TextArea,K as TextHeadCell,bL as ThemeColorPalette,bM as TimePicker,bN as Timer,bO as TimerDisplay,bP as TimerLabeled,bQ as Tooltip,af as TwoActionModal,bR as TwoContentCardsLayout,bS as TwoContentLayout,bT as TwoContentSection,bU as UpsolvingInformation,ac as UserChip,a1 as UserCodeEditor,bV as UserLoaderLayout,bW as UserMyActiveSessions,bX as UserNicknameLink,bY as UserPreviewModal,bZ as UserProfile,b_ as UserProfileDataContent,b$ as UserProfileSettings,c0 as UserStoreProvider,c1 as UserViewLayout,c2 as UsersSelector,c3 as VerticalMenu,c4 as VirtualizedRowsFixed,c5 as WelcomeModal,c6 as WorksheetAsSlides,W as WorksheetContents,c7 as WorksheetEditor,c8 as WorksheetViewer,c9 as YearPicker,ca as fetcher,cb as getContestContestantsHeader,cc as getContestDateHeader,cd as getContestNameHeader,ce as getContestStatusHeader,cf as getContestTagsHeader,cg as getProblemAdminActionsHeader,ch as getProblemKeyHeader,ci as getProblemModeHeader,cj as getProblemNameHeader,ck as getProblemOwnerHeader,cl as getProblemTagsHeader,cm as getProblemTypeHeader,cn as getSubmissionContestHeader,co as getSubmissionContestProblemHeader,cp as getSubmissionDateHeader,cq as getSubmissionLanguageHeader,cr as getSubmissionMemoryHeader,cs as getSubmissionNicknameHeader,ct as getSubmissionProblemHeader,cu as getSubmissionRejudgeHeader,cv as getSubmissionTimeHeader,cw as getSubmissionVerdictHeader,cx as getUrlKey,cy as useAblyStore,E as useAnimationFrameStore,cz as useCheckAndStartServices,cA as useClickOutside,cB as useClientTrackLocation,cC as useDataViewerRequester,v as useDebounceEffect,cD as useEntityDiff,m as useFetcher,cE as useFocusTrap,u as useHandleState,cF as useHash,l as useI18nStore,H as useInjectColorTextHighlight,G as useInjectFontSize,F as useInjectTheme,cG as useInterval,cH as useJudge,S as useJukiNotification,d as useJukiUser,cI as useJukiUserSettings,b as useKeyDown,cJ as useLastPathStore,cK as useLazyLoadingStore,cL as useMatchMutate,cM as useMemoizedArray,cN as useOverflowDetector,cO as usePageFocus,f as usePageStore,cP as usePreload,cQ as usePreloadComponents,cR as usePrevious,J as useResizeDetector,p as useRouterStore,U as useSessionStorage,cS as useSoundStore,a as useStableRef,ag as useSubscribe,q as useSyncedState,cT as useTrackCursor,cU as useTrackLastPath,x as useUIStore,e as useUserStore,cV as useWebsocketStore,cW as useWindowSize}from"./index-BpcqEzEG.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-iref2pEJ.js";import"./settings-CBGV-lz3.js";import"./constants.js";import"./LoaderLayer-ECtsj85k.js";import"./websocket-CdeP8N_S.js";import"./index-2PTQqTnK.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";