@juki-team/base-ui 1.4.127 → 1.4.129
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/ArrowForwardIcon-IN9agpuQ.js +1 -0
- package/dist/esm/BarChart-BnEygCik.js +1 -0
- package/dist/esm/CartesianChart-46JvJlt2.js +47 -0
- package/dist/esm/ChangePasswordModal-W7o3d5xv.js +1 -0
- package/dist/esm/CodeEditor-btUZu2Dy.js +1 -0
- package/dist/esm/{DataGrid-BMin2rBG.js → DataGrid-C-1PcbQ9.js} +1 -1
- package/dist/esm/DataViewer-DdoMfhBT.js +1 -0
- package/dist/esm/DrawerView-C59g89Qq.js +1 -0
- package/dist/esm/ExcalidrawButton-7RauNqcW.js +1 -0
- package/dist/esm/GraphvizViewer-Cdd3s9Pz.js +1 -0
- package/dist/esm/ImageLoaderCropper-By7-NpjH.js +1 -0
- package/dist/esm/InputCellPhoneNumber-BoliLbve.js +1 -0
- package/dist/esm/{InputColor-D4iKI1yK.js → InputColor-B6fjWGPV.js} +1 -1
- package/dist/esm/LineChart-yzQzjap8.js +1 -0
- package/dist/esm/MdMath-DcAukZc5.js +1 -0
- package/dist/esm/MdMathEditor-Ckf7tXlp.js +28 -0
- package/dist/esm/{Popover-3_hEGjKj.js → Popover-DOgPkWfK.js} +1 -1
- package/dist/esm/ReplyIcon-DrZrr78M.js +1 -0
- package/dist/esm/SettingsIcon-DM1F7UIb.js +1 -0
- package/dist/esm/SlideDeck-yImvO_hq.js +1 -0
- package/dist/esm/TableOfContents-KP3dhzIR.js +1 -0
- package/dist/esm/TextHeadCell-CtlRYJ1U.js +1 -0
- package/dist/esm/Tooltip-CQx5RC2x.js +7 -0
- package/dist/esm/UserCodeEditor-DVycUyoi.js +30 -0
- package/dist/esm/ViewModuleIcon-CBJGd2NB.js +1 -0
- package/dist/esm/VirtualizedRowsFixed-CJRctik-.js +1 -0
- package/dist/esm/WorksheetAsSlides-33duB_50.js +1 -0
- package/dist/esm/WorksheetBodies-Ptk1_moK.js +1 -0
- package/dist/esm/WorksheetContents-WKXb5Uk4.js +1 -0
- package/dist/esm/WorksheetEditor-z9ucL22I.js +1 -0
- package/dist/esm/WorksheetNode-DdlERlmz.js +1 -0
- package/dist/esm/WorksheetViewer-C8lplKFc.js +1 -0
- package/dist/esm/arc-BalHlvik.js +1 -0
- package/dist/esm/architectureDiagram-3BPJPVTR-mkUe-O1b.js +1 -0
- package/dist/esm/{band-DVHgMxOa.js → band-sgKLmfhd.js} +1 -1
- package/dist/esm/blockDiagram-GPEHLZMM-DI6f452i.js +1 -0
- package/dist/esm/c4Diagram-AAUBKEIU-CprJ4eDK.js +1 -0
- package/dist/esm/channel-B3QafhkE.js +1 -0
- package/dist/esm/{chunk-2J33WTMH-CSNy6D0K.js → chunk-2J33WTMH-CRrW12Q1.js} +1 -1
- package/dist/esm/{chunk-4BX2VUAB-BG00Pq3P.js → chunk-4BX2VUAB-DP1enpjM.js} +1 -1
- package/dist/esm/{chunk-55IACEB6-_KG92tYv.js → chunk-55IACEB6-Qy7BShb8.js} +1 -1
- package/dist/esm/{chunk-727SXJPM-1yPcPicj.js → chunk-727SXJPM-DCaL4Ssn.js} +1 -1
- package/dist/esm/{chunk-AQP2D5EJ-B6rE4s-L.js → chunk-AQP2D5EJ-MvQ9vOa8.js} +1 -1
- package/dist/esm/{chunk-FMBD7UC4-B30SBvYv.js → chunk-FMBD7UC4-C_QBV__I.js} +1 -1
- package/dist/esm/{chunk-ND2GUHAM-Dew5vqZ7.js → chunk-ND2GUHAM-Cz6MG9Ip.js} +1 -1
- package/dist/esm/{chunk-QZHKN3VN-DBZ0ofQY.js → chunk-QZHKN3VN-CNeKC3i9.js} +1 -1
- package/dist/esm/classDiagram-4FO5ZUOK-CIl1HCsD.js +1 -0
- package/dist/esm/classDiagram-v2-Q7XG4LA2-CIl1HCsD.js +1 -0
- package/dist/esm/constants.js +1 -1
- package/dist/esm/contest--aeYKKxf.js +1 -0
- package/dist/esm/cose-bilkent-S5V4N54A-BU_DfNnH.js +1 -0
- package/dist/esm/{cytoscape.esm-B8MMPWBb.js → cytoscape.esm-ym4YJMee.js} +1 -1
- package/dist/esm/dagre-BM42HDAG-B0jhlami.js +1 -0
- package/dist/esm/date-D28INXpp.js +1 -0
- package/dist/esm/diagram-2AECGRRQ-BoG6bCz0.js +1 -0
- package/dist/esm/diagram-5GNKFQAL-CmPEF4Gb.js +1 -0
- package/dist/esm/diagram-KO2AKTUF-otFu6fY1.js +1 -0
- package/dist/esm/diagram-LMA3HP47-BNvQPERF.js +1 -0
- package/dist/esm/diagram-OG6HWLK6-GT5ck18c.js +1 -0
- package/dist/esm/erDiagram-TEJ5UH35-DOTojUvv.js +1 -0
- package/dist/esm/flowDiagram-I6XJVG4X-DMNWQIoP.js +1 -0
- package/dist/esm/ganttDiagram-6RSMTGT7-UueSCT2P.js +1 -0
- package/dist/esm/gitGraphDiagram-PVQCEYII-BMejzE3B.js +1 -0
- package/dist/esm/{graph-CBbILnwM.js → graph-ByvXLzfz.js} +1 -1
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/{index-CiR06WNd.js → index-2vw3cISu.js} +1 -1
- package/dist/esm/index-3RT03X12.js +1 -0
- package/dist/esm/index-4xl-oI83.js +1 -0
- package/dist/esm/index-8NOL5jJy.js +1 -0
- package/dist/esm/index-B8r5j97Z.js +1 -0
- package/dist/esm/index-BozcvZKO.js +1 -0
- package/dist/esm/index-C7UTkWm2.js +1 -0
- package/dist/esm/index-CCC14puG.js +1 -0
- package/dist/esm/index-CHdwVvPu.js +1 -0
- package/dist/esm/index-CQTsT8Zj.js +1 -0
- package/dist/esm/index-CU5b90xS.js +1 -0
- package/dist/esm/index-CWWVtFL-.js +1 -0
- package/dist/esm/index-CYal7RVq.js +1 -0
- package/dist/esm/index-CZHb8PSE.js +1 -0
- package/dist/esm/index-C_iDYl6D.js +1 -0
- package/dist/esm/index-Ci0TIrsP.js +1 -0
- package/dist/esm/index-CncjGRa9.js +1 -0
- package/dist/esm/index-CoD0BG11.js +1 -0
- package/dist/esm/index-CroDROK5.js +1 -0
- package/dist/esm/index-D2MvgUx2.js +1 -0
- package/dist/esm/index-DI4w9v5q.js +1 -0
- package/dist/esm/index-DO5jS6VE.js +1 -0
- package/dist/esm/index-DPqNWk5z.js +1 -0
- package/dist/esm/index-DQ_RDg2x.js +1 -0
- package/dist/esm/index-DklIqAi8.js +1 -0
- package/dist/esm/{index-9FCB1eYq.js → index-Dwi3ag-n.js} +1 -1
- package/dist/esm/index-MXDpbG5L.js +2 -0
- package/dist/esm/index-P3Cb0cjc.js +1 -0
- package/dist/esm/index-XKEYn2Wr.js +1 -0
- package/dist/esm/index-mPuca8dy.js +1 -0
- package/dist/esm/index-uScqGt-h.js +1 -0
- package/dist/esm/index-wgkxcuUd.js +1 -0
- package/dist/esm/infoDiagram-5YYISTIA-BSxjrZJf.js +1 -0
- package/dist/esm/{isUndefined-CFeFfF_Q.js → isUndefined-DFy0_ZQT.js} +1 -1
- package/dist/esm/ishikawaDiagram-YF4QCWOH-B2-9liDF.js +1 -0
- package/dist/esm/journeyDiagram-JHISSGLW-DBQd4ic_.js +1 -0
- package/dist/esm/kanban-definition-UN3LZRKU-DFolGaRv.js +1 -0
- package/dist/esm/{layout-B7iAeCjH.js → layout-C8ygm6VF.js} +1 -1
- package/dist/esm/{basic-setup-Uxna1ORW.js → light-CK5396YO.js} +1 -1
- package/dist/esm/{linear-BqR6NtXG.js → linear-L30X52KW.js} +1 -1
- package/dist/esm/main.js +1 -1
- package/dist/esm/{map-CUEN-iGA.js → map-CkaOHTqG.js} +1 -1
- package/dist/esm/mermaid.core-EsBL2ECN.js +1 -0
- package/dist/esm/mindmap-definition-RKZ34NQL-BIQZzlCy.js +1 -0
- package/dist/esm/pieDiagram-4H26LBE5-DZBAcvRC.js +1 -0
- package/dist/esm/purify.es-J-_UhghA.js +2 -0
- package/dist/esm/quadrantDiagram-W4KKPZXB-b5MVV3Rk.js +1 -0
- package/dist/esm/requirementDiagram-4Y6WPE33-CLn9X-PZ.js +1 -0
- package/dist/esm/sankeyDiagram-5OEKKPKP-D4-b_g7U.js +1 -0
- package/dist/esm/sequenceDiagram-3UESZ5HK-CCdY9Q3W.js +1 -0
- package/dist/esm/server.js +1 -1
- package/dist/esm/settings.js +1 -1
- package/dist/esm/stateDiagram-AJRCARHV-BSMAHoem.js +1 -0
- package/dist/esm/stateDiagram-v2-BHNVJYJU-BeJ_O1Tl.js +1 -0
- package/dist/esm/{throttle-omWozCTR.js → throttle-_MCmQvyw.js} +1 -1
- package/dist/esm/{time-BgcLBBP-.js → time-BHcZPeyw.js} +1 -1
- package/dist/esm/{time-BhHpEZFB.js → time-BJsLnFy1.js} +1 -1
- package/dist/esm/timeline-definition-PNZ67QCA-o-UlOwfU.js +1 -0
- package/dist/esm/{toNumber-DDd3oWg0.js → toNumber-DP6YK8S3.js} +1 -1
- package/dist/esm/types-TNt9NcVE.js +1 -0
- package/dist/esm/vennDiagram-CIIHVFJN-CySj1ueN.js +1 -0
- package/dist/esm/wardleyDiagram-YWT4CUSO-B7YSHlE3.js +1 -0
- package/dist/esm/worksheet-BBAH_yZC.js +1 -0
- package/dist/esm/{worksheet-BfayCMey.js → worksheet-DTRmzBjG.js} +1 -1
- package/dist/esm/{worksheet-JNPwhsnI.js → worksheet-GN3yGKYw.js} +1 -1
- package/dist/esm/xychartDiagram-2RQKCTM6-D6EqpoC5.js +1 -0
- package/dist/module-types/src/components/atoms/_lazy_/Collapse/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/types.d.ts +5 -6
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmitViewContent.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MilkdownEditorContent/MilkdownEditorContent.d.ts +0 -1
- package/dist/module-types/src/settings/ApiManager.d.ts +168 -45
- package/package.json +5 -3
- package/src/styles/components/atoms/_modal.scss +9 -0
- package/src/vendor/fumadocs-ui/css/generated/docs.css +2 -0
- package/src/vendor/fumadocs-ui/css/generated/flux.css +1 -0
- package/src/vendor/fumadocs-ui/css/generated/notebook.css +2 -0
- package/src/vendor/fumadocs-ui/css/preset.css +0 -1
- package/dist/esm/ArrowForwardIcon-C60hznwq.js +0 -1
- package/dist/esm/BarChart-Y665GO2I.js +0 -1
- package/dist/esm/CartesianChart-BSvx15yS.js +0 -47
- package/dist/esm/ChangePasswordModal-k-lMf3KZ.js +0 -1
- package/dist/esm/CodeEditor-Dzi2v961.js +0 -1
- package/dist/esm/CodeViewer-BdmCvDHi.js +0 -1
- package/dist/esm/Collapse-DT9m5JSq.js +0 -1
- package/dist/esm/DataViewer-DFjt8Z2T.js +0 -1
- package/dist/esm/DrawerView-DnA_hA_o.js +0 -1
- package/dist/esm/ExcalidrawButton-BIpwsxPt.js +0 -1
- package/dist/esm/GraphvizViewer-BcJ7nToT.js +0 -1
- package/dist/esm/ImageLoaderCropper-05YcRQBj.js +0 -1
- package/dist/esm/InputCellPhoneNumber-BMf06bCT.js +0 -1
- package/dist/esm/LineChart-BIIgUvoc.js +0 -1
- package/dist/esm/MdMath-DQTMZaLV.js +0 -1
- package/dist/esm/MdMathEditor-BNc7OJyC.js +0 -28
- package/dist/esm/ReplyIcon-DHT60m5d.js +0 -1
- package/dist/esm/SettingsIcon-CwPMEnlj.js +0 -1
- package/dist/esm/SlideDeck-CeJiattp.js +0 -1
- package/dist/esm/SubmissionDateField-BrmGyMm3.js +0 -1
- package/dist/esm/TableOfContents-CuG8yYpo.js +0 -1
- package/dist/esm/TextHeadCell-SVbfF_eL.js +0 -1
- package/dist/esm/Tooltip-DDKwIA6e.js +0 -7
- package/dist/esm/UserCodeEditor-B03D6M_j.js +0 -30
- package/dist/esm/VirtualizedRowsFixed-CmXcLfyc.js +0 -1
- package/dist/esm/WorksheetAsSlides-DAW1vFDM.js +0 -1
- package/dist/esm/WorksheetBodies-CoKyyPAM.js +0 -1
- package/dist/esm/WorksheetContents-3MJ6QvVj.js +0 -1
- package/dist/esm/WorksheetEditor-MJcu6NAp.js +0 -1
- package/dist/esm/WorksheetNode-CNdvC8qa.js +0 -1
- package/dist/esm/WorksheetViewer-Csl3IhGA.js +0 -1
- package/dist/esm/arc-BNZ5pIhU.js +0 -1
- package/dist/esm/architectureDiagram-3BPJPVTR-EGo92Js8.js +0 -1
- package/dist/esm/blockDiagram-GPEHLZMM-YEwStt0q.js +0 -1
- package/dist/esm/c4Diagram-AAUBKEIU-6qLMKLHQ.js +0 -1
- package/dist/esm/channel-DuJyewAO.js +0 -1
- package/dist/esm/classDiagram-4FO5ZUOK-D95DEj2F.js +0 -1
- package/dist/esm/classDiagram-v2-Q7XG4LA2-D95DEj2F.js +0 -1
- package/dist/esm/cose-bilkent-S5V4N54A-DvdEsdgg.js +0 -1
- package/dist/esm/dagre-BM42HDAG-CAK4m8n4.js +0 -1
- package/dist/esm/date-CmFU6v8V.js +0 -1
- package/dist/esm/diagram-2AECGRRQ-CSqNVFb4.js +0 -1
- package/dist/esm/diagram-5GNKFQAL-BWzWwjF5.js +0 -1
- package/dist/esm/diagram-KO2AKTUF-D2-JeanM.js +0 -1
- package/dist/esm/diagram-LMA3HP47-DS2R1tWs.js +0 -1
- package/dist/esm/diagram-OG6HWLK6-DTxKf0Qv.js +0 -1
- package/dist/esm/erDiagram-TEJ5UH35-WtYIPbRt.js +0 -1
- package/dist/esm/flowDiagram-I6XJVG4X-Dy8OXjRp.js +0 -1
- package/dist/esm/ganttDiagram-6RSMTGT7-EDpgQ3lf.js +0 -1
- package/dist/esm/gitGraphDiagram-PVQCEYII-B46XqY2u.js +0 -1
- package/dist/esm/index-6wuMZC45.js +0 -1
- package/dist/esm/index-7ZeiemAy.js +0 -1
- package/dist/esm/index-93zckEk3.js +0 -1
- package/dist/esm/index-B62yhWOD.js +0 -1
- package/dist/esm/index-BGOJy6XN.js +0 -1
- package/dist/esm/index-BLeJ2vIS.js +0 -1
- package/dist/esm/index-BNfTE7vw.js +0 -1
- package/dist/esm/index-BP3Q2zrN.js +0 -1
- package/dist/esm/index-BP3zM0tT.js +0 -1
- package/dist/esm/index-BRtSnjHY.js +0 -1
- package/dist/esm/index-BqzjQnaK.js +0 -1
- package/dist/esm/index-BwuVfyt_.js +0 -1
- package/dist/esm/index-C5ILZmlq.js +0 -1
- package/dist/esm/index-C78By0NM.js +0 -1
- package/dist/esm/index-CR8iXDSF.js +0 -1
- package/dist/esm/index-CjLxDzml.js +0 -1
- package/dist/esm/index-Cp9n6f_0.js +0 -2
- package/dist/esm/index-CscbTRs5.js +0 -1
- package/dist/esm/index-Cub1smTw.js +0 -1
- package/dist/esm/index-DazVIYP8.js +0 -1
- package/dist/esm/index-De9_SWGB.js +0 -1
- package/dist/esm/index-Dg7y6UO5.js +0 -1
- package/dist/esm/index-DntVU4z9.js +0 -1
- package/dist/esm/index-DpJxGesA.js +0 -1
- package/dist/esm/index-FHXK2zWb.js +0 -1
- package/dist/esm/index-LpQq9PxO.js +0 -1
- package/dist/esm/index-QDPpqsGj.js +0 -1
- package/dist/esm/index-_4A5sEHw.js +0 -1
- package/dist/esm/index-cKVkCxcy.js +0 -1
- package/dist/esm/index-uJKDC6Vv.js +0 -1
- package/dist/esm/infoDiagram-5YYISTIA-CY7j_JnA.js +0 -1
- package/dist/esm/ishikawaDiagram-YF4QCWOH-D6o2nQHa.js +0 -1
- package/dist/esm/journeyDiagram-JHISSGLW-DdFME4_e.js +0 -1
- package/dist/esm/kanban-definition-UN3LZRKU-DVq4JZWr.js +0 -1
- package/dist/esm/mermaid.core-BJ63Ijjp.js +0 -1
- package/dist/esm/mindmap-definition-RKZ34NQL-jgbgERyG.js +0 -1
- package/dist/esm/pieDiagram-4H26LBE5-Kk7ovyMv.js +0 -1
- package/dist/esm/purify.es-BkjUCQC6.js +0 -2
- package/dist/esm/quadrantDiagram-W4KKPZXB-DiMCYk-T.js +0 -1
- package/dist/esm/requirementDiagram-4Y6WPE33-DZBXo7zD.js +0 -1
- package/dist/esm/sankeyDiagram-5OEKKPKP-CJp9Tkkm.js +0 -1
- package/dist/esm/sequenceDiagram-3UESZ5HK-D76l6Rd4.js +0 -1
- package/dist/esm/stateDiagram-AJRCARHV-CesXVS_W.js +0 -1
- package/dist/esm/stateDiagram-v2-BHNVJYJU-DqWSoWM6.js +0 -1
- package/dist/esm/timeline-definition-PNZ67QCA-CDn8cvlq.js +0 -1
- package/dist/esm/types-Bp4jYQko.js +0 -1
- package/dist/esm/vennDiagram-CIIHVFJN-DlZtAp7y.js +0 -1
- package/dist/esm/wardleyDiagram-YWT4CUSO-DG4_85tj.js +0 -1
- package/dist/esm/websocket-BXbChnc8.js +0 -1
- package/dist/esm/worksheet-KMCQx4-g.js +0 -1
- package/dist/esm/xychartDiagram-2RQKCTM6-BYf7oiMn.js +0 -1
- package/dist/module-types/src/components/mockup/index.d.ts +0 -4
- package/dist/module-types/src/components/molecules/TabsInline/TabsInline.deprecated.d.ts +0 -2
- package/dist/module-types/src/components/molecules/TabsInlineBody/TabsInlineBody.deprecated.d.ts +0 -2
- package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/Pencil.deprecated.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.tiptap.deprecated.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/TiptapEditorContent.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/BlockImage.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/ClearMarksOnEnter.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CurrentNodeHighlighter.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CustomCodeBlockLowlight.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CustomLink.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/SmartHeadingBackspace.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/SmartPasteMarkdown.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/index.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.old.d.ts +0 -6
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetRecursiveSection.d.ts +0 -9
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetSection.d.ts +0 -7
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/index.d.ts +0 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.old.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionView.old.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/UpRemoveDownButtons.d.ts +0 -7
- package/dist/module-types/src/components/providers/JukiPageInitializer/useMouseInsidePage.d.ts +0 -1
- package/dist/module-types/src/components/templates/MainMenu/DrawerViewMenuMobile/index.d.ts +0 -1
|
@@ -2,7 +2,7 @@ import type { OrderedExcalidrawElement } from '@excalidraw/excalidraw/element/ty
|
|
|
2
2
|
import type { AppState } from '@excalidraw/excalidraw/types';
|
|
3
3
|
import type { CodeEditorSubmissionDTO, CodeRunDTO, EntityMembersDTO, GroupByTimestampKey, JkmdSubmissionDTO, OrganizationStylesResponseDTO, QuizOptionsSubmissionDTO, QuizProblemSubmissionDTO, UpsertWorksheetDTO } from '@juki-team/commons/dto';
|
|
4
4
|
import { type FilesJukiPub, HTTPMethod, type Judge, type Language, type OrganizationPlan, type ProblemVerdict, type Theme } from '@juki-team/commons/enums';
|
|
5
|
-
import type { ClientId, CodeEditorFiles, JudgeLanguage, UserRoles, UserSettings } from '@juki-team/commons/types';
|
|
5
|
+
import type { ClientId, CodeEditorFiles, JudgeLanguage, KeyFileType, UserRoles, UserSettings } from '@juki-team/commons/types';
|
|
6
6
|
import type { ErrorInfo } from 'react';
|
|
7
7
|
import type { RowDataType } from '../components/molecules/_lazy_/DataGrid/types';
|
|
8
8
|
import type { AuthorizedRequestType, SignInPayloadDTO, SignUpPayloadDTO, UpdatePasswordPayloadDTO, UpdateUserProfileDataPayloadDTO } from '../components/types';
|
|
@@ -205,6 +205,16 @@ export declare class ApiManager {
|
|
|
205
205
|
key: string;
|
|
206
206
|
};
|
|
207
207
|
}) => ResponseAPI<"GET">;
|
|
208
|
+
getSummary: (props: {
|
|
209
|
+
params: {
|
|
210
|
+
key: string;
|
|
211
|
+
};
|
|
212
|
+
}) => ResponseAPI<"GET">;
|
|
213
|
+
getLogs: (props: {
|
|
214
|
+
params: {
|
|
215
|
+
key: string;
|
|
216
|
+
};
|
|
217
|
+
}) => ResponseAPI<"GET">;
|
|
208
218
|
getBasicSummaryList: (props: {
|
|
209
219
|
params: {
|
|
210
220
|
page: number;
|
|
@@ -229,21 +239,41 @@ export declare class ApiManager {
|
|
|
229
239
|
sortUrl?: string;
|
|
230
240
|
};
|
|
231
241
|
}) => ResponseAPI<"GET">;
|
|
232
|
-
|
|
242
|
+
getTestCases: (props: {
|
|
233
243
|
params: {
|
|
234
244
|
key: string;
|
|
235
245
|
};
|
|
236
246
|
}) => ResponseAPI<"GET">;
|
|
237
|
-
|
|
247
|
+
getTestCasesGroups: (props: {
|
|
238
248
|
params: {
|
|
239
249
|
key: string;
|
|
240
250
|
};
|
|
241
251
|
}) => ResponseAPI<"GET">;
|
|
242
|
-
|
|
252
|
+
getAllTestCases: (props: {
|
|
243
253
|
params: {
|
|
244
254
|
key: string;
|
|
245
255
|
};
|
|
246
256
|
}) => ResponseAPI<"GET">;
|
|
257
|
+
createTestCase: (props: {
|
|
258
|
+
params: {
|
|
259
|
+
key: string;
|
|
260
|
+
};
|
|
261
|
+
body: Record<string, unknown>;
|
|
262
|
+
}) => ResponseAPI<"POST">;
|
|
263
|
+
getTestCaseKeyFile: (props: {
|
|
264
|
+
params: {
|
|
265
|
+
key: string;
|
|
266
|
+
testCaseKey: string;
|
|
267
|
+
keyFile: KeyFileType;
|
|
268
|
+
};
|
|
269
|
+
}) => ResponseAPI<"GET">;
|
|
270
|
+
deleteTestCaseKeyFile: (props: {
|
|
271
|
+
params: {
|
|
272
|
+
key: string;
|
|
273
|
+
testCaseKey: string;
|
|
274
|
+
keyFile: KeyFileType;
|
|
275
|
+
};
|
|
276
|
+
}) => ResponseAPI<"DELETE">;
|
|
247
277
|
submit: (props: {
|
|
248
278
|
params: {
|
|
249
279
|
key: string;
|
|
@@ -259,24 +289,22 @@ export declare class ApiManager {
|
|
|
259
289
|
key: string;
|
|
260
290
|
};
|
|
261
291
|
}) => ResponseAPI<"POST">;
|
|
292
|
+
createStatementPdf: (props: {
|
|
293
|
+
body: Record<string, unknown>;
|
|
294
|
+
}) => ResponseAPI<"POST">;
|
|
262
295
|
};
|
|
263
296
|
contest: {
|
|
264
|
-
|
|
297
|
+
create: (props: void) => ResponseAPI<"POST">;
|
|
298
|
+
update: (props: {
|
|
265
299
|
params: {
|
|
266
|
-
|
|
267
|
-
pageSize: number;
|
|
268
|
-
filterUrl?: string;
|
|
269
|
-
sortUrl?: string;
|
|
300
|
+
key: string;
|
|
270
301
|
};
|
|
271
|
-
}) => ResponseAPI<"
|
|
272
|
-
|
|
302
|
+
}) => ResponseAPI<"PUT">;
|
|
303
|
+
delete: (props: {
|
|
273
304
|
params: {
|
|
274
|
-
|
|
275
|
-
pageSize: number;
|
|
276
|
-
filterUrl?: string;
|
|
277
|
-
sortUrl?: string;
|
|
305
|
+
key: string;
|
|
278
306
|
};
|
|
279
|
-
}) => ResponseAPI<"
|
|
307
|
+
}) => ResponseAPI<"DELETE">;
|
|
280
308
|
getMetadata: (props: {
|
|
281
309
|
params: {
|
|
282
310
|
key: string;
|
|
@@ -301,6 +329,12 @@ export declare class ApiManager {
|
|
|
301
329
|
organizationKey?: string;
|
|
302
330
|
};
|
|
303
331
|
}) => ResponseAPI<"GET">;
|
|
332
|
+
getMembers: (props: {
|
|
333
|
+
params: {
|
|
334
|
+
key: string;
|
|
335
|
+
organizationKey?: string;
|
|
336
|
+
};
|
|
337
|
+
}) => ResponseAPI<"GET">;
|
|
304
338
|
getDataClarifications: (props: {
|
|
305
339
|
params: {
|
|
306
340
|
key: string;
|
|
@@ -315,12 +349,40 @@ export declare class ApiManager {
|
|
|
315
349
|
official: boolean;
|
|
316
350
|
};
|
|
317
351
|
}) => ResponseAPI<"GET">;
|
|
352
|
+
getScoreboardHistory: (props: {
|
|
353
|
+
params: {
|
|
354
|
+
key: string;
|
|
355
|
+
organizationKey?: string;
|
|
356
|
+
};
|
|
357
|
+
}) => ResponseAPI<"GET">;
|
|
318
358
|
getLogs: (props: {
|
|
319
359
|
params: {
|
|
320
360
|
key: string;
|
|
321
361
|
organizationKey?: string;
|
|
322
362
|
};
|
|
323
363
|
}) => ResponseAPI<"GET">;
|
|
364
|
+
getSummaryList: (props: {
|
|
365
|
+
params: {
|
|
366
|
+
page: number;
|
|
367
|
+
pageSize: number;
|
|
368
|
+
filterUrl?: string;
|
|
369
|
+
sortUrl?: string;
|
|
370
|
+
};
|
|
371
|
+
}) => ResponseAPI<"GET">;
|
|
372
|
+
getSystemList: (props: {
|
|
373
|
+
params: {
|
|
374
|
+
page: number;
|
|
375
|
+
pageSize: number;
|
|
376
|
+
filterUrl?: string;
|
|
377
|
+
sortUrl?: string;
|
|
378
|
+
};
|
|
379
|
+
}) => ResponseAPI<"GET">;
|
|
380
|
+
register: (props: {
|
|
381
|
+
params: {
|
|
382
|
+
key: string;
|
|
383
|
+
organizationKey?: string;
|
|
384
|
+
};
|
|
385
|
+
}) => ResponseAPI<"POST">;
|
|
324
386
|
submit: (props: {
|
|
325
387
|
params: {
|
|
326
388
|
key: string;
|
|
@@ -332,6 +394,12 @@ export declare class ApiManager {
|
|
|
332
394
|
source: string;
|
|
333
395
|
};
|
|
334
396
|
}) => ResponseAPI<"POST">;
|
|
397
|
+
retrieve: (props: {
|
|
398
|
+
params: {
|
|
399
|
+
key: string;
|
|
400
|
+
organizationKey?: string;
|
|
401
|
+
};
|
|
402
|
+
}) => ResponseAPI<"POST">;
|
|
335
403
|
recalculateScoreboard: (props: {
|
|
336
404
|
params: {
|
|
337
405
|
key: string;
|
|
@@ -339,34 +407,57 @@ export declare class ApiManager {
|
|
|
339
407
|
official: boolean;
|
|
340
408
|
};
|
|
341
409
|
}) => ResponseAPI<"POST">;
|
|
410
|
+
recalculateScoreboardHistory: (props: {
|
|
411
|
+
params: {
|
|
412
|
+
key: string;
|
|
413
|
+
organizationKey?: string;
|
|
414
|
+
};
|
|
415
|
+
}) => ResponseAPI<"POST">;
|
|
342
416
|
recalculatePrerequisites: (props: {
|
|
343
417
|
params: {
|
|
344
418
|
key: string;
|
|
345
419
|
organizationKey?: string;
|
|
346
420
|
};
|
|
347
421
|
}) => ResponseAPI<"POST">;
|
|
348
|
-
|
|
349
|
-
rejudge: (props: {
|
|
350
|
-
params: {
|
|
351
|
-
key: string;
|
|
352
|
-
problemKey: string;
|
|
353
|
-
organizationKey?: string;
|
|
354
|
-
};
|
|
355
|
-
}) => ResponseAPI<"POST">;
|
|
356
|
-
retrieve: (props: {
|
|
357
|
-
params: {
|
|
358
|
-
key: string;
|
|
359
|
-
problemKey: string;
|
|
360
|
-
organizationKey?: string;
|
|
361
|
-
};
|
|
362
|
-
}) => ResponseAPI<"POST">;
|
|
363
|
-
};
|
|
364
|
-
retrieve: (props: {
|
|
422
|
+
lockScoreboard: (props: {
|
|
365
423
|
params: {
|
|
366
424
|
key: string;
|
|
367
425
|
organizationKey?: string;
|
|
368
426
|
};
|
|
369
427
|
}) => ResponseAPI<"POST">;
|
|
428
|
+
unlockScoreboard: (props: {
|
|
429
|
+
params: {
|
|
430
|
+
key: string;
|
|
431
|
+
organizationKey?: string;
|
|
432
|
+
};
|
|
433
|
+
}) => ResponseAPI<"POST">;
|
|
434
|
+
enableUpsolving: (props: {
|
|
435
|
+
params: {
|
|
436
|
+
key: string;
|
|
437
|
+
organizationKey?: string;
|
|
438
|
+
};
|
|
439
|
+
}) => ResponseAPI<"POST">;
|
|
440
|
+
disableUpsolving: (props: {
|
|
441
|
+
params: {
|
|
442
|
+
key: string;
|
|
443
|
+
organizationKey?: string;
|
|
444
|
+
};
|
|
445
|
+
}) => ResponseAPI<"POST">;
|
|
446
|
+
createClarification: (props: {
|
|
447
|
+
params: {
|
|
448
|
+
key: string;
|
|
449
|
+
organizationKey?: string;
|
|
450
|
+
};
|
|
451
|
+
body: Record<string, unknown>;
|
|
452
|
+
}) => ResponseAPI<"POST">;
|
|
453
|
+
answerClarification: (props: {
|
|
454
|
+
params: {
|
|
455
|
+
key: string;
|
|
456
|
+
clarificationId: string;
|
|
457
|
+
organizationKey?: string;
|
|
458
|
+
};
|
|
459
|
+
body: Record<string, unknown>;
|
|
460
|
+
}) => ResponseAPI<"PUT">;
|
|
370
461
|
editGlobal: (props: {
|
|
371
462
|
params: {
|
|
372
463
|
key: string;
|
|
@@ -380,8 +471,8 @@ export declare class ApiManager {
|
|
|
380
471
|
index: string;
|
|
381
472
|
points: number;
|
|
382
473
|
color: string;
|
|
383
|
-
|
|
384
|
-
|
|
474
|
+
startsAt: number;
|
|
475
|
+
endsAt: number;
|
|
385
476
|
};
|
|
386
477
|
};
|
|
387
478
|
tags: string[];
|
|
@@ -399,8 +490,8 @@ export declare class ApiManager {
|
|
|
399
490
|
index: string;
|
|
400
491
|
points: number;
|
|
401
492
|
color: string;
|
|
402
|
-
|
|
403
|
-
|
|
493
|
+
startsAt: number;
|
|
494
|
+
endsAt: number;
|
|
404
495
|
};
|
|
405
496
|
};
|
|
406
497
|
tags: string[];
|
|
@@ -412,6 +503,22 @@ export declare class ApiManager {
|
|
|
412
503
|
organizationKey?: string;
|
|
413
504
|
};
|
|
414
505
|
}) => ResponseAPI<"POST">;
|
|
506
|
+
problem: {
|
|
507
|
+
rejudge: (props: {
|
|
508
|
+
params: {
|
|
509
|
+
key: string;
|
|
510
|
+
problemKey: string;
|
|
511
|
+
organizationKey?: string;
|
|
512
|
+
};
|
|
513
|
+
}) => ResponseAPI<"POST">;
|
|
514
|
+
retrieve: (props: {
|
|
515
|
+
params: {
|
|
516
|
+
key: string;
|
|
517
|
+
problemKey: string;
|
|
518
|
+
organizationKey?: string;
|
|
519
|
+
};
|
|
520
|
+
}) => ResponseAPI<"POST">;
|
|
521
|
+
};
|
|
415
522
|
};
|
|
416
523
|
submission: {
|
|
417
524
|
getSummaryList: (props: {
|
|
@@ -587,7 +694,7 @@ export declare class ApiManager {
|
|
|
587
694
|
hosts?: string[];
|
|
588
695
|
judgeKeys?: string[];
|
|
589
696
|
trustedOrganizationsKeys?: string[];
|
|
590
|
-
|
|
697
|
+
startsAt?: number;
|
|
591
698
|
plan?: OrganizationPlan;
|
|
592
699
|
};
|
|
593
700
|
}) => ResponseAPI<"PATCH">;
|
|
@@ -799,11 +906,11 @@ export declare class ApiManager {
|
|
|
799
906
|
}) => ResponseAPI<"PUT">;
|
|
800
907
|
};
|
|
801
908
|
statistics: {
|
|
802
|
-
|
|
909
|
+
getOrganizationStats: (props: {
|
|
803
910
|
params: {
|
|
804
911
|
organizationKey?: string;
|
|
805
|
-
|
|
806
|
-
|
|
912
|
+
startsAt: number;
|
|
913
|
+
endsAt: number;
|
|
807
914
|
groupBy: GroupByTimestampKey[];
|
|
808
915
|
};
|
|
809
916
|
}) => ResponseAPI<"GET">;
|
|
@@ -811,15 +918,16 @@ export declare class ApiManager {
|
|
|
811
918
|
params: {
|
|
812
919
|
organizationKey?: string;
|
|
813
920
|
problemKey: string;
|
|
814
|
-
|
|
815
|
-
|
|
921
|
+
startsAt: number;
|
|
922
|
+
endsAt: number;
|
|
923
|
+
groupBy: GroupByTimestampKey[];
|
|
816
924
|
};
|
|
817
925
|
}) => ResponseAPI<"GET">;
|
|
818
926
|
getUsersTracksStats: (props: {
|
|
819
927
|
params: {
|
|
820
928
|
organizationKeys: string;
|
|
821
|
-
|
|
822
|
-
|
|
929
|
+
startsAt: number;
|
|
930
|
+
endsAt: number;
|
|
823
931
|
groupBy: GroupByTimestampKey[];
|
|
824
932
|
};
|
|
825
933
|
}) => ResponseAPI<"GET">;
|
|
@@ -1001,6 +1109,21 @@ export declare class ApiManager {
|
|
|
1001
1109
|
}) => ResponseAPI<"POST">;
|
|
1002
1110
|
};
|
|
1003
1111
|
};
|
|
1112
|
+
rejudge: {
|
|
1113
|
+
getProblemCount: (props: {
|
|
1114
|
+
params: {
|
|
1115
|
+
problemJudgeKey: string;
|
|
1116
|
+
};
|
|
1117
|
+
}) => ResponseAPI<"GET">;
|
|
1118
|
+
rejudgeProblem: (props: {
|
|
1119
|
+
params: {
|
|
1120
|
+
problemJudgeKey: string;
|
|
1121
|
+
};
|
|
1122
|
+
}) => ResponseAPI<"POST">;
|
|
1123
|
+
};
|
|
1124
|
+
rank: {
|
|
1125
|
+
getList: (props: void) => ResponseAPI<"GET">;
|
|
1126
|
+
};
|
|
1004
1127
|
websocket: {
|
|
1005
1128
|
auth: (props: void) => ResponseAPI<"POST">;
|
|
1006
1129
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juki-team/base-ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.129",
|
|
4
4
|
"repository": "https://github.com/juki-team/base-ui",
|
|
5
5
|
"author": "juki-team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@floating-ui/react": "^0.27.19",
|
|
98
98
|
"@handsontable/react-wrapper": "^17.1.0",
|
|
99
99
|
"@hookform/resolvers": "^5.4.0",
|
|
100
|
-
"@juki-team/commons": "^0.2.
|
|
100
|
+
"@juki-team/commons": "^0.2.16",
|
|
101
101
|
"@mdx-js/mdx": "^3.1.1",
|
|
102
102
|
"@milkdown/components": "^7.21.1",
|
|
103
103
|
"@milkdown/core": "^7.21.1",
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
"playwright": "^1.60.0",
|
|
188
188
|
"postcss": "^8.5.15",
|
|
189
189
|
"react": "^19.2.6",
|
|
190
|
+
"react-doctor": "^0.2.6",
|
|
190
191
|
"react-dom": "^19.2.6",
|
|
191
192
|
"react-router-dom": "^7.15.1",
|
|
192
193
|
"rollup": "^4.60.4",
|
|
@@ -258,6 +259,7 @@
|
|
|
258
259
|
"check-style-files": "find src/styles -type f -name \"*.scss\" -exec stat -f \"%z %N\" {} + | awk '{printf \"%.1f KB %s\\n\", $1/1024, $2}' | sort -nr",
|
|
259
260
|
"outdated": "npx npm-check-updates",
|
|
260
261
|
"check:circular-deps": "npx madge --circular ./src/*",
|
|
261
|
-
"check:circular-deps-graph": "npx madge --circular ./dist/* --image deps.png"
|
|
262
|
+
"check:circular-deps-graph": "npx madge --circular ./dist/* --image deps.png",
|
|
263
|
+
"doctor": "react-doctor"
|
|
262
264
|
}
|
|
263
265
|
}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
@use "../../mixins";
|
|
2
2
|
|
|
3
3
|
.jk-modal-container {
|
|
4
|
+
// Reset native <dialog> UA defaults (padding, border, background, margin)
|
|
5
|
+
padding: 0;
|
|
6
|
+
border: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
color: inherit;
|
|
9
|
+
max-width: none;
|
|
10
|
+
max-height: none;
|
|
11
|
+
margin: 0;
|
|
12
|
+
|
|
4
13
|
position: fixed;
|
|
5
14
|
top: 0;
|
|
6
15
|
left: 0;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@source inline("!header");
|
|
1
2
|
@source inline("!showItem");
|
|
2
3
|
@source inline("*:col-start-1");
|
|
3
4
|
@source inline("*:my-auto");
|
|
@@ -146,6 +147,7 @@
|
|
|
146
147
|
@source inline("nd-page");
|
|
147
148
|
@source inline("nd-subnav");
|
|
148
149
|
@source inline("nd-toc");
|
|
150
|
+
@source inline("nd-toc-placeholder");
|
|
149
151
|
@source inline("no");
|
|
150
152
|
@source inline("normalizedValue");
|
|
151
153
|
@source inline("onClickItem");
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@source inline("!footer");
|
|
1
2
|
@source inline("!isSelected");
|
|
2
3
|
@source inline("!showItem");
|
|
3
4
|
@source inline("*:col-start-1");
|
|
@@ -172,6 +173,7 @@
|
|
|
172
173
|
@source inline("nd-page");
|
|
173
174
|
@source inline("nd-subnav");
|
|
174
175
|
@source inline("nd-toc");
|
|
176
|
+
@source inline("nd-toc-placeholder");
|
|
175
177
|
@source inline("no");
|
|
176
178
|
@source inline("normalizedValue");
|
|
177
179
|
@source inline("onClickItem");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{aT as o}from"./SubmissionDateField-BrmGyMm3.js";import"react";import"./settings-DgLs6IK_.js";const t=({color:o})=>r("path",{d:"m12 20-1.425-1.4 5.6-5.6H4v-2h12.175l-5.6-5.6L12 4l8 8Z",fill:o}),i=r=>o(r,t,"arrow-forward");export{i as A};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{ai as t,aa as r,K as n,a9 as i,F as l,B as o,t as s,H as u,u as c,m as d,E as p,h as v,l as f,a3 as m,U as y,a2 as h,a0 as x,V as b,a7 as g,o as I,a8 as A,a5 as k,_ as E,W as O,a6 as j,a4 as P,$ as w,s as S,c as z,N as K,O as B,D,al as M,R as C,f as T,S as N,Z as L,v as V,g as F,M as W,am as R,ak as q,n as G,aj as H,e as _,w as J,G as Q,p as U,af as X,q as Y,Q as Z,ae as $,j as ee,ah as ae,J as te,x as re,L as ne,b as ie,ad as le,P as oe,A as se,I as ue,C as ce,k as de,d as pe,a as ve,X as fe,Y as me,T as ye}from"./CartesianChart-BSvx15yS.js";import*as he from"react";import{useContext as xe,createContext as be,PureComponent as ge,useRef as Ie,useState as Ae,useCallback as ke,useEffect as Ee,forwardRef as Oe}from"react";import{c as je}from"./clsx-BeLtu-UY.js";import"react-dom";import"./index-Cp9n6f_0.js";import"./settings-DgLs6IK_.js";import"./SubmissionDateField-BrmGyMm3.js";import"./index-BwuVfyt_.js";import"./enums.js";import"./date-CmFU6v8V.js";import"./time-BgcLBBP-.js";import"./websocket-BXbChnc8.js";import"./worksheet-KMCQx4-g.js";import"motion/react";import"./index-9FCB1eYq.js";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-CQk_HvWX.js";import"./band-DVHgMxOa.js";import"./init-DWDD0M30.js";import"./ordinal-UuA5o140.js";import"./linear-BqR6NtXG.js";import"./defaultLocale-BAKTrQtR.js";import"./time-BhHpEZFB.js";var Pe=e=>null;Pe.displayName="Cell";var we=(e,a,n)=>{var i=t();return(t,l)=>o=>{null==e||e(t,l,o),i(r({activeIndex:String(l),activeDataKey:a,activeCoordinate:t.tooltipPosition,activeGraphicalItemId:n}))}},Se=e=>{var a=t();return(t,r)=>i=>{null==e||e(t,r,i),a(n())}},ze=(e,a,r)=>{var n=t();return(t,l)=>o=>{null==e||e(t,l,o),n(i({activeIndex:String(l),activeDataKey:a,activeCoordinate:t.tooltipPosition,activeGraphicalItemId:r}))}},Ke=(e,a,t)=>{var r=null!=t?t:e;if(!o(r))return s(r,a,0)};function Be(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function De(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?Be(Object(t),!0).forEach(function(a){Me(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Be(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}function Me(e,a,t){return(a=function(e){var a=function(e,a){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,a);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:a+""}(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function Ce(e,a){var t,r;return null!==(t=null===(r=e.graphicalItems.cartesianItems.find(e=>e.id===a))||void 0===r?void 0:r.xAxisId)&&void 0!==t?t:d}function Te(e,a){var t,r;return null!==(t=null===(r=e.graphicalItems.cartesianItems.find(e=>e.id===a))||void 0===r?void 0:r.yAxisId)&&void 0!==t?t:d}var Ne="production"===process.env.NODE_ENV,Le="Invariant failed";function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ve.apply(null,arguments)}function Fe(e){return he.createElement(v,Ve({shapeType:"rectangle",activeClassName:"recharts-active-bar",inActiveClassName:"recharts-inactive-bar"},e))}var We=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t,r)=>{if(p(e))return e;var n=p(t)||o(t);return n?e(t,r):(n||function(e,a){if(Ne)throw new Error(Le);var t="function"==typeof a?a():a,r=t?"".concat(Le,": ").concat(t):Le;throw new Error(r)}(0,"minPointSize callback function received a value with type of ".concat(typeof t,". Currently only numbers or null/undefined are supported.")),a)}},Re=f([A,(e,a)=>a],(e,a)=>e.filter(e=>"bar"===e.type).find(e=>e.id===a)),qe=f([Re],e=>null==e?void 0:e.maxBarSize),Ge=f([h,A,Ce,Te,(e,a,t)=>t],(e,a,t,r,n)=>a.filter(a=>"horizontal"===e?a.xAxisId===t:a.yAxisId===r).filter(e=>e.isPanorama===n).filter(e=>!1===e.hide).filter(e=>"bar"===e.type)),He=f([Ge,P,(e,a)=>{var t=h(e),r=Ce(e,a),n=Te(e,a);if(null!=r&&null!=n)return"horizontal"===t?w(e,"xAxis",r):w(e,"yAxis",n)}],(e,a,t)=>{var r=e.filter(l),n=e.filter(e=>null==e.stackId),i=r.reduce((e,a)=>{var t=e[a.stackId];return null==t&&(t=[]),t.push(a),e[a.stackId]=t,e},{});return[...Object.entries(i).map(e=>{var r,[n,i]=e;return{stackId:n,dataKeys:i.map(e=>e.dataKey),barSize:Ke(a,t,null===(r=i[0])||void 0===r?void 0:r.barSize)}}),...n.map(e=>({stackId:void 0,dataKeys:[e.dataKey].filter(e=>null!=e),barSize:Ke(a,t,e.barSize)}))]}),_e=(e,a,t)=>{var r,n,i=h(e),l=Ce(e,a),o=Te(e,a);if(null!=l&&null!=o)return"horizontal"===i?(r=b(e,"xAxis",l,t),n=g(e,"xAxis",l,t)):(r=b(e,"yAxis",o,t),n=g(e,"yAxis",o,t)),I(r,n)},Je=f([He,k,E,O,(e,a,t)=>{var r,n,i=Re(e,a);if(null==i)return 0;var l=Ce(e,a),s=Te(e,a);if(null==l||null==s)return 0;var u,c,d=h(e),p=k(e),{maxBarSize:v}=i,f=o(v)?p:v;return"horizontal"===d?(u=b(e,"xAxis",l,t),c=g(e,"xAxis",l,t)):(u=b(e,"yAxis",s,t),c=g(e,"yAxis",s,t)),null!==(r=null!==(n=I(u,c,!0))&&void 0!==n?n:f)&&void 0!==r?r:0},_e,qe],(e,a,t,r,n,i,l)=>{var c=o(l)?a:l,d=function(e,a,t,r,n){var i,l=r.length;if(!(l<1)){var o,c=s(e,t,0,!0),d=[];if(u(null===(i=r[0])||void 0===i?void 0:i.barSize)){var p=!1,v=t/l,f=r.reduce((e,a)=>e+(a.barSize||0),0);(f+=(l-1)*c)>=t&&(f-=(l-1)*c,c=0),f>=t&&v>0&&(p=!0,f=l*(v*=.9));var m={offset:((t-f)/2|0)-c,size:0};o=r.reduce((e,a)=>{var t,r={stackId:a.stackId,dataKeys:a.dataKeys,position:{offset:m.offset+m.size+c,size:p?v:null!==(t=a.barSize)&&void 0!==t?t:0}},n=[...e,r];return m=r.position,n},d)}else{var y=s(a,t,0,!0);t-2*y-(l-1)*c<=0&&(c=0);var h=(t-2*y-(l-1)*c)/l;h>1&&(h>>=0);var x=u(n)?Math.min(h,n):h;o=r.reduce((e,a,t)=>[...e,{stackId:a.stackId,dataKeys:a.dataKeys,position:{offset:y+(h+c)*t+(h-x)/2,size:x}}],d)}return o}}(t,r,n!==i?n:i,e,c);return n!==i&&null!=d&&(d=d.map(e=>De(De({},e),{},{position:De(De({},e.position),{},{offset:e.position.offset-n/2})}))),d}),Qe=f([Je,Re],(e,a)=>{if(null!=e&&null!=a){var t=e.find(e=>e.stackId===a.stackId&&null!=a.dataKey&&e.dataKeys.includes(a.dataKey));if(null!=t)return t.position}}),Ue=f([(e,a,t)=>{var r=h(e),n=Ce(e,a),i=Te(e,a);if(null!=n&&null!=i)return"horizontal"===r?j(e,"yAxis",i,t):j(e,"xAxis",n,t)},Re],(e,a)=>{var t=c(a);if(e&&null!=t&&null!=a){var{stackId:r}=a;if(null!=r){var n=e[r];if(n){var{stackedData:i}=n;if(i)return i.find(e=>e.key===t)}}}}),Xe=f([m,y,(e,a,t)=>{var r=Ce(e,a);if(null!=r)return b(e,"xAxis",r,t)},(e,a,t)=>{var r=Te(e,a);if(null!=r)return b(e,"yAxis",r,t)},(e,a,t)=>{var r=Ce(e,a);if(null!=r)return g(e,"xAxis",r,t)},(e,a,t)=>{var r=Te(e,a);if(null!=r)return g(e,"yAxis",r,t)},Qe,h,x,_e,Ue,Re,(e,a,t,r)=>r],(e,a,t,r,n,i,l,o,s,u,c,d,p)=>{var{chartData:v,dataStartIndex:f,dataEndIndex:m}=s;if(null!=d&&null!=l&&null!=a&&("horizontal"===o||"vertical"===o)&&null!=t&&null!=r&&null!=n&&null!=i&&null!=u){var y,{data:h}=d;if(null!=(y=null!=h&&h.length>0?h:null==v?void 0:v.slice(f,m+1)))return function(e){var{layout:a,barSettings:{dataKey:t,minPointSize:r,hasCustomShape:n},pos:i,bandSize:l,xAxis:o,yAxis:s,xAxisTicks:u,yAxisTicks:c,stackedData:d,displayedData:p,offset:v,cells:f,parentViewBox:m,dataStartIndex:y}=e,h="horizontal"===a?s:o,x=d?h.scale.domain():null,b=U({numericAxis:h}),g=h.scale.map(b);return p.map((e,p)=>{var h,I,A,k,E,O;if(d){var j=d[p+y];if(null==j)return null;h=X(j,x)}else h=J(e,t),Array.isArray(h)||(h=[b,h]);var P=We(r,ba)(h[1],p);if("horizontal"===a){var w,S=s.scale.map(h[0]),z=s.scale.map(h[1]);if(null==S||null==z)return null;I=Y({axis:o,ticks:u,bandSize:l,offset:i.offset,entry:e,index:p}),A=null!==(w=null!=z?z:S)&&void 0!==w?w:void 0,k=i.size;var K=S-z;if(E=se(K)?0:K,O={x:I,y:v.top,width:k,height:v.height},Math.abs(P)>0&&Math.abs(E)<Math.abs(P)){var B=ue(E||P)*(Math.abs(P)-Math.abs(E));A-=B,E+=B}}else{var D=o.scale.map(h[0]),M=o.scale.map(h[1]);if(null==D||null==M)return null;if(I=D,A=Y({axis:s,ticks:c,bandSize:l,offset:i.offset,entry:e,index:p}),k=M-D,E=i.size,O={x:v.left,y:A,width:v.width,height:E},Math.abs(P)>0&&Math.abs(k)<Math.abs(P))k+=ue(k||P)*(Math.abs(P)-Math.abs(k))}return null!=I&&null!=A&&null!=k&&null!=E&&(n||0!==k&&0!==E)?oa(oa({},e),{},{stackedBarStart:g,x:I,y:A,width:k,height:E,value:d?h:h[1],payload:e,background:O,tooltipPosition:{x:I+k/2,y:A+E/2},parentViewBox:m,originalDataIndex:p},f&&f[p]&&f[p].props):null}).filter(Boolean)}({layout:o,barSettings:d,pos:l,parentViewBox:a,bandSize:u,xAxis:t,yAxis:r,xAxisTicks:n,yAxisTicks:i,stackedData:c,displayedData:y,offset:e,cells:p,dataStartIndex:f})}}),Ye=["index"];function Ze(){return Ze=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ze.apply(null,arguments)}var $e=be(void 0),ea=e=>{var{index:a}=e,t=function(e,a){if(null==e)return{};var t,r,n=function(e,a){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==a.indexOf(r))continue;t[r]=e[r]}return t}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],-1===a.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(e,Ye),r=(e=>{var a=xe($e);if(null!=a){var{stackId:t}=a;return"url(#".concat(((e,a)=>"recharts-bar-stack-clip-path-".concat(e,"-").concat(a))(t,e),")")}})(a);return he.createElement(z,Ze({className:"recharts-bar-stack-layer",clipPath:r},t))},aa=["onMouseEnter","onMouseLeave","onClick"],ta=["value","background","tooltipPosition"],ra=["id"],na=["onMouseEnter","onClick","onMouseLeave"];function ia(){return ia=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ia.apply(null,arguments)}function la(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function oa(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?la(Object(t),!0).forEach(function(a){sa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):la(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}function sa(e,a,t){return(a=function(e){var a=function(e,a){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,a);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:a+""}(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function ua(e,a){if(null==e)return{};var t,r,n=function(e,a){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==a.indexOf(r))continue;t[r]=e[r]}return t}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],-1===a.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var ca=e=>{var{dataKey:a,name:t,fill:r,legendType:n,hide:i}=e;return[{inactive:i,dataKey:a,type:n,color:r,value:V(t,a),payload:e}]},da=he.memo(e=>{var{dataKey:a,stroke:t,strokeWidth:r,fill:n,name:i,hide:l,unit:o,tooltipType:s,id:u}=e,c={dataDefinedOnItem:void 0,getPosition:W,settings:{stroke:t,strokeWidth:r,fill:n,dataKey:a,nameKey:void 0,name:V(i,a),hide:l,type:s,color:n,unit:o,graphicalItemId:u}};return he.createElement(F,{tooltipEntrySettings:c})});function pa(e){var a=H(Z),{data:t,dataKey:r,background:n,allOtherBarProps:i}=e,{onMouseEnter:l,onMouseLeave:o,onClick:s}=i,c=ua(i,aa),d=we(l,r,i.id),p=Se(o),v=ze(s,r,i.id);if(!n||null==t)return null;var f,m,y=$(n);return he.createElement(L,{zIndex:(f=n,m=D.barBackground,f&&"object"==typeof f&&"zIndex"in f&&"number"==typeof f.zIndex&&u(f.zIndex)?f.zIndex:m)},t.map((e,t)=>{var{value:i,background:l,tooltipPosition:o}=e,s=ua(e,ta);if(!l)return null;var u=d(e,t),f=p(e,t),m=v(e,t),h=oa(oa(oa(oa(oa({option:n,isActive:String(t)===a},s),{},{fill:"#eee"},l),y),ee(c,e,t)),{},{onMouseEnter:u,onMouseLeave:f,onClick:m,dataKey:r,index:t,className:"recharts-bar-background-rectangle"});return he.createElement(Fe,ia({key:"background-bar-".concat(t)},h))}))}function va(e){var{showLabels:a,children:t,rects:r}=e,n=null==r?void 0:r.map(e=>{var a={x:e.x,y:e.y,width:e.width,lowerWidth:e.width,upperWidth:e.width,height:e.height};return oa(oa({},a),{},{value:e.value,payload:e.payload,parentViewBox:e.parentViewBox,viewBox:a,fill:e.fill})});return he.createElement(ie,{value:a?n:void 0},t)}function fa(e){var{shape:a,activeBar:t,baseProps:r,entry:n,index:i,dataKey:l}=e,o=H(Z),s=H(oe),u=t&&String(n.originalDataIndex)===o&&(null==s||l===s),[c,d]=Ae(!1),[p,v]=Ae(!1);Ee(()=>{var e;return u?(d(!0),e=requestAnimationFrame(()=>{v(!0)})):v(!1),()=>{cancelAnimationFrame(e)}},[u]);var f,m=ke(()=>{u||d(!1)},[u]),y=u&&p,h=u||c;f=u?!0===t?a:t:a;var x=he.createElement(Fe,ia({},r,{name:String(r.name)},n,{isActive:y,option:f,index:i,dataKey:l,onTransitionEnd:m}));return h?he.createElement(L,{zIndex:D.activeBar},he.createElement(ea,{index:n.originalDataIndex},x)):x}function ma(e){var{shape:a,baseProps:t,entry:r,index:n,dataKey:i}=e;return he.createElement(Fe,ia({},t,{name:String(t.name)},r,{isActive:!1,option:a,index:n,dataKey:i}))}function ya(e){var a,{data:t,props:r}=e,n=null!==(a=le(r))&&void 0!==a?a:{},{id:i}=n,l=ua(n,ra),{shape:o,dataKey:s,activeBar:u}=r,{onMouseEnter:c,onClick:d,onMouseLeave:p}=r,v=ua(r,na),f=we(c,s,i),m=Se(p),y=ze(d,s,i);return t?he.createElement(he.Fragment,null,t.map((e,a)=>he.createElement(ea,ia({index:e.originalDataIndex,key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value,"-").concat(a),className:"recharts-bar-rectangle"},ee(v,e,a),{onMouseEnter:f(e,a),onMouseLeave:m(e,a),onClick:y(e,a)}),u?he.createElement(fa,{shape:o,activeBar:u,baseProps:l,entry:e,index:a,dataKey:s}):he.createElement(ma,{shape:o,baseProps:l,entry:e,index:a,dataKey:s})))):null}function ha(e){var{props:a,previousRectanglesRef:t}=e,{data:r,layout:n,isAnimationActive:i,animationBegin:l,animationDuration:o,animationEasing:s,onAnimationEnd:u,onAnimationStart:c}=a,d=t.current,p=ae(a,"recharts-bar-"),[v,f]=Ae(!1),m=!v,y=ke(()=>{"function"==typeof u&&u(),f(!1)},[u]),h=ke(()=>{"function"==typeof c&&c(),f(!0)},[c]);return he.createElement(va,{showLabels:m,rects:r},he.createElement(te,{animationId:p,begin:l,duration:o,isActive:i,easing:s,onAnimationEnd:y,onAnimationStart:h,key:p},e=>{var i=1===e?r:null==r?void 0:r.map((a,t)=>{var r=d&&d[t];if(r)return oa(oa({},a),{},{x:re(r.x,a.x,e),y:re(r.y,a.y,e),width:re(r.width,a.width,e),height:re(r.height,a.height,e)});if("horizontal"===n){var i=re(0,a.height,e),l=re(a.stackedBarStart,a.y,e);return oa(oa({},a),{},{y:l,height:i})}var o=re(0,a.width,e),s=re(a.stackedBarStart,a.x,e);return oa(oa({},a),{},{width:o,x:s})});return e>0&&(t.current=null!=i?i:null),null==i?null:he.createElement(z,null,he.createElement(ya,{props:a,data:i}))}),he.createElement(ne,{label:a.label}),a.children)}function xa(e){var a=Ie(null);return he.createElement(ha,{previousRectanglesRef:a,props:e})}var ba=0,ga=(e,a)=>{var t=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:t,errorVal:J(e,a)}};class Ia extends ge{render(){var{hide:e,data:a,dataKey:t,className:r,xAxisId:n,yAxisId:i,needClip:l,background:o,id:s}=this.props;if(e||null==a)return null;var u=je("recharts-bar",r),c=s;return he.createElement(z,{className:u,id:s},l&&he.createElement("defs",null,he.createElement(Q,{clipPathId:c,xAxisId:n,yAxisId:i})),he.createElement(z,{className:"recharts-bar-rectangles",clipPath:l?"url(#clipPath-".concat(c,")"):void 0},he.createElement(pa,{data:a,dataKey:t,background:o,allOtherBarProps:this.props}),he.createElement(xa,this.props)))}}var Aa={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:"ease",background:!1,hide:!1,isAnimationActive:"auto",label:!1,legendType:"rect",minPointSize:ba,xAxisId:0,yAxisId:0,zIndex:D.bar};function ka(e){var a,{xAxisId:t,yAxisId:r,hide:n,legendType:i,minPointSize:l,activeBar:o,animationBegin:s,animationDuration:u,animationEasing:c,isAnimationActive:d}=e,{needClip:p}=R(t,r),v=q(),f=M(),m=G(e.children,Pe),y=H(a=>Xe(a,e.id,f,m));if("vertical"!==v&&"horizontal"!==v)return null;var h=null==y?void 0:y[0];return a=null==h||null==h.height||null==h.width?0:"vertical"===v?h.height/2:h.width/2,he.createElement(_,{xAxisId:t,yAxisId:r,data:y,dataPointFormatter:ga,errorBarOffset:a},he.createElement(Ia,ia({},e,{layout:v,needClip:p,data:y,xAxisId:t,yAxisId:r,hide:n,legendType:i,minPointSize:l,activeBar:o,animationBegin:s,animationDuration:u,animationEasing:c,isAnimationActive:d})))}function Ea(e){var a,t,r=B(e,Aa),n=(a=r.stackId,null!=(t=xe($e))?t.stackId:null!=a?S(a):void 0),i=M();return he.createElement(C,{id:r.id,type:"bar"},e=>he.createElement(he.Fragment,null,he.createElement(T,{legendPayload:ca(r)}),he.createElement(da,{dataKey:r.dataKey,stroke:r.stroke,strokeWidth:r.strokeWidth,fill:r.fill,name:r.name,hide:r.hide,unit:r.unit,tooltipType:r.tooltipType,id:e}),he.createElement(N,{type:"bar",id:e,data:void 0,xAxisId:r.xAxisId,yAxisId:r.yAxisId,zAxisId:0,dataKey:r.dataKey,stackId:n,hide:r.hide,barSize:r.barSize,minPointSize:r.minPointSize,maxBarSize:r.maxBarSize,isPanorama:i,hasCustomShape:null!=r.shape}),he.createElement(L,{zIndex:r.zIndex},he.createElement(ka,ia({},r,{id:e})))))}var Oa=he.memo(Ea,K);Oa.displayName="Bar";var ja=["axis","item"],Pa=Oe((e,a)=>he.createElement(ce,{chartName:"BarChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:ja,tooltipPayloadSearcher:de,categoricalChartProps:e,ref:a}));function wa(t){const{data:r,margin:n,tooltipContent:i,xAxisTick:l}=t;return e(pe,{minHeight:256,children:a(Pa,{data:r,margin:n,children:[e(ve,{strokeDasharray:"3 3",vertical:!1}),e(fe,{dataKey:"label",tick:l,includeHidden:!0,interval:0}),e(me,{interval:0}),e(ye,{content:i}),e(Oa,{dataKey:"value",fill:"var(--cr-tx-ht-lt)",minPointSize:4})]})})}export{wa as default};
|