@juki-team/base-ui 1.4.135 → 1.5.0
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-B6qJaqxW.js +1 -0
- package/dist/esm/BarChart-DGvfKEbJ.js +1 -0
- package/dist/esm/CartesianChart-BLpd_e8l.js +47 -0
- package/dist/esm/ChangePasswordModal-8aYa6mTN.js +1 -0
- package/dist/esm/CodeEditor-BKMFVmPO.js +1 -0
- package/dist/esm/CodeViewer-DqO18gks.js +1 -0
- package/dist/esm/Collapse-DMLYcciz.js +1 -0
- package/dist/esm/DataGrid-C-Gco96b.js +272 -0
- package/dist/esm/DataViewer-DIROui4g.js +1 -0
- package/dist/esm/DrawerView-Be_ckf6D.js +1 -0
- package/dist/esm/ExcalidrawButton-DWRJMohJ.js +1 -0
- package/dist/esm/GraphvizViewer-DUIJSiDq.js +1 -0
- package/dist/esm/ImageLoaderCropper-O3UDeKd5.js +1 -0
- package/dist/esm/InputCellPhoneNumber-ByG_R6dr.js +1 -0
- package/dist/esm/InputColor-C_JNgwYl.js +14 -0
- package/dist/esm/LineChart-BkCo4cnj.js +1 -0
- package/dist/esm/LoaderLayer-D9O7WqFD.js +1 -0
- package/dist/esm/MdMath-C38RmN3O.js +1 -0
- package/dist/esm/MdMathEditor-C7surRiM.js +28 -0
- package/dist/esm/{Popover-CIsKcwr_.js → Popover-BaP7hJ0J.js} +2 -2
- package/dist/esm/ReplyIcon-CPGYEALJ.js +1 -0
- package/dist/esm/SettingsIcon-Dk27Vz1G.js +1 -0
- package/dist/esm/SlideDeck-CpWGHFVE.js +1 -0
- package/dist/esm/TableEyeIcon-D74isCSR.js +1 -0
- package/dist/esm/TableOfContents-888D-B0V.js +1 -0
- package/dist/esm/Tooltip-CNWDFJKv.js +13 -0
- package/dist/esm/UserCodeEditor-C0MyUL5-.js +28 -0
- package/dist/esm/VirtualizedRowsFixed-CYPaWB5L.js +1 -0
- package/dist/esm/WorksheetAsSlides-BNOZBoQY.js +1 -0
- package/dist/esm/WorksheetBodies-CHTN-wn9.js +1 -0
- package/dist/esm/WorksheetContents-IN63vuWT.js +1 -0
- package/dist/esm/WorksheetEditor-Hs_sWk7j.js +1 -0
- package/dist/esm/WorksheetNode-DGuKOPTt.js +1 -0
- package/dist/esm/WorksheetViewer-Bt_jqHdh.js +1 -0
- package/dist/esm/_baseIteratee-DJNkOVK7.js +1 -0
- package/dist/esm/_baseUniq-BJKKUJ6e.js +1 -0
- package/dist/esm/arc-BqJSq9Se.js +1 -0
- package/dist/esm/architecture-YZFGNWBL-BExtdnEH.js +1 -0
- package/dist/esm/architectureDiagram-Q4EWVU46-CUhUPzlC.js +1 -0
- package/dist/esm/{band-sgKLmfhd.js → band-D2afako6.js} +1 -1
- package/dist/esm/basic-setup-UGhpl5jF.js +1 -0
- package/dist/esm/blockDiagram-DXYQGD6D-DwW8YrKx.js +1 -0
- package/dist/esm/c4Diagram-AHTNJAMY-DUUpakLg.js +1 -0
- package/dist/esm/channel-a8NrvAcc.js +1 -0
- package/dist/esm/{chunk-4BX2VUAB-DLCx-_ir.js → chunk-4BX2VUAB-BwFNstmG.js} +1 -1
- package/dist/esm/chunk-4TB4RGXK-DV5sTBnv.js +1 -0
- package/dist/esm/chunk-55IACEB6-BPJEY6mM.js +1 -0
- package/dist/esm/chunk-EDXVE4YY-9L7nz82K.js +1 -0
- package/dist/esm/{chunk-FMBD7UC4-BGLWSSaQ.js → chunk-FMBD7UC4-BZMcHvFk.js} +1 -1
- package/dist/esm/chunk-OYMX7WX6-COWCWylB.js +1 -0
- package/dist/esm/{chunk-QZHKN3VN-aadBLkdn.js → chunk-QZHKN3VN-D2pIW1ss.js} +1 -1
- package/dist/esm/chunk-YZCP3GAM-D9GadUwL.js +1 -0
- package/dist/esm/classDiagram-6PBFFD2Q-Cr8ipQ5w.js +1 -0
- package/dist/esm/classDiagram-v2-HSJHXN6E-Cr8ipQ5w.js +1 -0
- package/dist/esm/clone-1ULLnhdV.js +1 -0
- package/dist/esm/commons-B_OozOv-.js +1 -0
- package/dist/esm/constants.js +1 -1
- package/dist/esm/cose-bilkent-S5V4N54A-Dg1f2q8q.js +1 -0
- package/dist/esm/cytoscape.esm-D5qQrGhU.js +9 -0
- package/dist/esm/dagre-KV5264BT-Drwedjf_.js +1 -0
- package/dist/esm/{defaultLocale-BAKTrQtR.js → defaultLocale-HOdfsG1x.js} +1 -1
- package/dist/esm/diagram-5BDNPKRD-BUvinU3I.js +1 -0
- package/dist/esm/diagram-G4DWMVQ6-D60Wox58.js +1 -0
- package/dist/esm/diagram-MMDJMWI5-C60GB5LZ.js +1 -0
- package/dist/esm/diagram-TYMM5635-CMF-zVic.js +1 -0
- package/dist/esm/erDiagram-SMLLAGMA-BmCfxmBR.js +1 -0
- package/dist/esm/{floating-ui.dom-D1Wb0QDy.js → floating-ui.dom-BKnkJW47.js} +1 -1
- package/dist/esm/flowDiagram-DWJPFMVM-CVOjnh-h.js +1 -0
- package/dist/esm/ganttDiagram-T4ZO3ILL-Cay-LcBr.js +1 -0
- package/dist/esm/gitGraph-7Q5UKJZL-BIhofRTU.js +1 -0
- package/dist/esm/gitGraphDiagram-UUTBAWPF-BN1EkaA3.js +1 -0
- package/dist/esm/graph-XFLEVMvo.js +1 -0
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/index--PWk-3Ol.js +1 -0
- package/dist/esm/index-A0sdG_JC.js +1 -0
- package/dist/esm/index-B3fb7Ita.js +1 -0
- package/dist/esm/index-BR16hIbn.js +1 -0
- package/dist/esm/index-Bp7rYslS.js +1 -0
- package/dist/esm/index-Bw2EofiE.js +1 -0
- package/dist/esm/index-BzjjAmh3.js +1 -0
- package/dist/esm/{index-XKEYn2Wr.js → index-C9_5xd3V.js} +1 -1
- package/dist/esm/index-CB1_GL3t.js +1 -0
- package/dist/esm/index-CODLgwqm.js +1 -0
- package/dist/esm/index-CQbc3KUq.js +1 -0
- package/dist/esm/index-CRfRlH9U.js +1 -0
- package/dist/esm/index-Ccq-5wm6.js +1 -0
- package/dist/esm/index-Cj5SSv5l.js +1 -0
- package/dist/esm/index-Ck9BxS1f.js +1 -0
- package/dist/esm/index-CpRfyO85.js +1 -0
- package/dist/esm/index-CtTbnbzM.js +1 -0
- package/dist/esm/index-CtWPxOcn.js +1 -0
- package/dist/esm/index-D2mDsVm5.js +1 -0
- package/dist/esm/index-D4D24Np7.js +1 -0
- package/dist/esm/index-D5NvcxPc.js +1 -0
- package/dist/esm/index-D8zPYs0m.js +1 -0
- package/dist/esm/index-DAJdettS.js +1 -0
- package/dist/esm/index-DSGuayJy.js +1 -0
- package/dist/esm/index-DVFv6Eth.js +1 -0
- package/dist/esm/index-D_AOS7Yx.js +1 -0
- package/dist/esm/index-EPJhFLhN.js +1 -0
- package/dist/esm/index-GoUUn3QE.js +1 -0
- package/dist/esm/index-QhLowdpF.js +1 -0
- package/dist/esm/index-Y09lLL_e.js +1 -0
- package/dist/esm/index-xaEdDd13.js +1 -0
- package/dist/esm/info-OMHHGYJF-DMKJgJ3s.js +1 -0
- package/dist/esm/infoDiagram-42DDH7IO-kAZbkK9S.js +1 -0
- package/dist/esm/{init-DWDD0M30.js → init-DLRA0X12.js} +1 -1
- package/dist/esm/isSymbol-CATEdeai.js +1 -0
- package/dist/esm/isUndefined-DgmxjSXK.js +1 -0
- package/dist/esm/ishikawaDiagram-UXIWVN3A-MtQmxrIE.js +1 -0
- package/dist/esm/journeyDiagram-VCZTEJTY-BuKFXeHL.js +1 -0
- package/dist/esm/kanban-definition-6JOO6SKY-pGcXhhi7.js +1 -0
- package/dist/esm/layout-D9uGd7GO.js +1 -0
- package/dist/esm/{lib-mG56Y3Rb.js → lib-DdKR2uQv.js} +1 -1
- package/dist/esm/{linear-L30X52KW.js → linear-BnXjbO66.js} +1 -1
- package/dist/esm/{lua-BvgfYBhq.js → lua-8DXOpKDz.js} +1 -1
- package/dist/esm/main.js +1 -1
- package/dist/esm/map-BvlAjF4J.js +1 -0
- package/dist/esm/memoize-CPUrcYQl.js +1 -0
- package/dist/esm/mermaid-parser.core-Crc-QLCi.js +1 -0
- package/dist/esm/mermaid.core-C2hrg85i.js +1 -0
- package/dist/esm/min-Dc9VrJ6M.js +1 -0
- package/dist/esm/mindmap-definition-QFDTVHPH-CtfxHH9N.js +1 -0
- package/dist/esm/{ordinal-UuA5o140.js → ordinal-zwWoQKz9.js} +1 -1
- package/dist/esm/packet-4T2RLAQJ-BD2Ad6jE.js +1 -0
- package/dist/esm/pie-ZZUOXDRM-Bf017PqT.js +1 -0
- package/dist/esm/pieDiagram-DEJITSTG-ChBbMYd8.js +1 -0
- package/dist/esm/purify.es-DBOWJxv3.js +2 -0
- package/dist/esm/quadrantDiagram-34T5L4WZ-BNmMB-pp.js +1 -0
- package/dist/esm/radar-PYXPWWZC-DvvZel7z.js +1 -0
- package/dist/esm/requirementDiagram-MS252O5E-B1RjmS2l.js +1 -0
- package/dist/esm/sankeyDiagram-XADWPNL6-DSuRDDHI.js +1 -0
- package/dist/esm/sequenceDiagram-FGHM5R23-ByfYuCTD.js +1 -0
- package/dist/esm/server.js +1 -1
- package/dist/esm/settings-BIQ7IqJl.js +1 -0
- package/dist/esm/settings.js +1 -1
- package/dist/esm/stateDiagram-FHFEXIEX-CMjgjvak.js +1 -0
- package/dist/esm/stateDiagram-v2-QKLJ7IA2-htYMk5r5.js +1 -0
- package/dist/esm/{string-CQk_HvWX.js → string-LeDn2fkG.js} +1 -1
- package/dist/esm/throttle-BsCMUG1-.js +1 -0
- package/dist/esm/time-PiK_t_Re.js +1 -0
- package/dist/esm/timeline-definition-GMOUNBTQ-COFLk0ve.js +1 -0
- package/dist/esm/toNumber-Bh_HTlSx.js +1 -0
- package/dist/esm/treeView-SZITEDCU-Ck6yPSxL.js +1 -0
- package/dist/esm/treemap-W4RFUUIX-ErJXCLFJ.js +1 -0
- package/dist/esm/types-rkDjePoL.js +1 -0
- package/dist/esm/vennDiagram-DHZGUBPP-xxvi147V.js +1 -0
- package/dist/esm/viz-CFEjElvl.js +9 -0
- package/dist/esm/wardley-RL74JXVD-B3jC7s0b.js +1 -0
- package/dist/esm/wardleyDiagram-NUSXRM2D-CIYzWE9T.js +1 -0
- package/dist/esm/websocket-CxbYBjHT.js +1 -0
- package/dist/esm/worksheet-CQgex79V.js +1 -0
- package/dist/esm/xychartDiagram-5P7HB3ND-CHfEshBW.js +1 -0
- package/dist/module-types/src/components/atoms/Button/Button.d.ts +3 -3
- package/dist/module-types/src/components/atoms/Client/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/CopyToClipboard/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/{server/DateLiteral → DateLiteral}/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/DetectRequestAnimationFrame/DetectRequestAnimationFrame.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Div/Div.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Div/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Input/Input.d.ts +6 -8
- package/dist/module-types/src/components/atoms/Input/types.d.ts +4 -4
- package/dist/module-types/src/components/atoms/Modal/types.d.ts +3 -3
- package/dist/module-types/src/components/atoms/Portal/Portal.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Portal/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/T/types.d.ts +1 -12
- package/dist/module-types/src/components/atoms/TextArea/TextArea.d.ts +4 -4
- package/dist/module-types/src/components/atoms/_lazy_/Collapse/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/_lazy_/InputCellPhoneNumber/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/Popover/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/_lazy_/VirtualizedRowsFixed/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/index.d.ts +6 -6
- package/dist/module-types/src/components/atoms/server/icons/SpinIcon/Spin.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/SpinIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/google/_group.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/BalloonIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/BalloonIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/FacebookIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/GmailIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/SortIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/TelegramIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/types.d.ts +6 -5
- package/dist/module-types/src/components/atoms/server/icons/types.d.ts +16 -16
- package/dist/module-types/src/components/atoms/server/icons/utils/CircleFilledFrame.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/CirclePath.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/functions.d.ts +3 -3
- package/dist/module-types/src/components/atoms/server/icons/utils/index.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/utils/renderBasicIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/renderSignIcon.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/index.d.ts +0 -2
- package/dist/module-types/src/components/atoms/server/loaders/LoaderLayer.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/loaders/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/loaders/line-loader/LineLoader.d.ts +1 -1
- package/dist/module-types/src/components/atoms/types.d.ts +11 -10
- package/dist/module-types/src/components/helpers/commons.d.ts +4 -4
- package/dist/module-types/src/components/helpers/contest.d.ts +1 -1
- package/dist/module-types/src/components/helpers/date.d.ts +4 -3
- package/dist/module-types/src/components/helpers/fetch.d.ts +7 -7
- package/dist/module-types/src/components/helpers/layout.d.ts +2 -2
- package/dist/module-types/src/components/helpers/problem.d.ts +4 -15
- package/dist/module-types/src/components/helpers/render.d.ts +1 -1
- package/dist/module-types/src/components/helpers/router.d.ts +1 -1
- package/dist/module-types/src/components/helpers/submission.d.ts +2 -2
- package/dist/module-types/src/components/helpers/time.d.ts +1 -1
- package/dist/module-types/src/components/helpers/websocket.d.ts +40 -2
- package/dist/module-types/src/components/hooks/useClickOutside.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useDataViewerRequester.d.ts +3 -3
- package/dist/module-types/src/components/hooks/useFetcher.d.ts +4 -4
- package/dist/module-types/src/components/hooks/useHandleState.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useInjectTheme.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useJudge.d.ts +3 -4
- package/dist/module-types/src/components/hooks/useJukiNotification.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useJukiUser.d.ts +13 -12
- package/dist/module-types/src/components/hooks/useLoaderStatusSync.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useOverflowDetector.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useSubscribe.d.ts +2 -2
- package/dist/module-types/src/components/hooks/useSyncedState.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useTrackCursor.d.ts +1 -1
- package/dist/module-types/src/components/index.d.ts +1 -1
- package/dist/module-types/src/components/mockup/MockupJukiProvider.d.ts +1 -1
- package/dist/module-types/src/components/mockup/index.d.ts +4 -0
- package/dist/module-types/src/components/molecules/Breadcrumbs/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ButtonLoader/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/CheckboxList/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/{server/CircularProgress → CircularProgress}/CircularProgress.d.ts +1 -1
- package/dist/module-types/src/components/molecules/DatePicker/DatePicker.d.ts +1 -4
- package/dist/module-types/src/components/molecules/DatePicker/types.d.ts +17 -17
- package/dist/module-types/src/components/molecules/Drawer/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/FetcherLayer/FetcherLayer.d.ts +2 -2
- package/dist/module-types/src/components/molecules/FetcherLayer/types.d.ts +8 -8
- package/dist/module-types/src/components/molecules/FirstLoginWrapper/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/FloatToolbar/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/HomeLink/types.d.ts +2 -0
- package/dist/module-types/src/components/molecules/InformationPopover/FrozenInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/InformationPopover.d.ts +2 -2
- package/dist/module-types/src/components/molecules/InformationPopover/NewlineInfo.d.ts +3 -0
- package/dist/module-types/src/components/molecules/InformationPopover/QuietInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/UpsolvingInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/LinkLastPath/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/MultiSelectSearchable/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Pagination/Pagination.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ProgressMultiBar/types.d.ts +5 -1
- package/dist/module-types/src/components/molecules/ProgressSlide/ProgressSlide.d.ts +1 -1
- package/dist/module-types/src/components/molecules/SplitModal/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/SplitPane/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Tabs/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInline/TabsInline.deprecated.d.ts +2 -0
- package/dist/module-types/src/components/molecules/TabsInline/TabsInlineButton.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInline/TabsInlineButtonLoader.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInlineBody/TabsInlineBody.deprecated.d.ts +2 -0
- package/dist/module-types/src/components/molecules/ThemeColorPalette/types.d.ts +2 -0
- package/dist/module-types/src/components/molecules/{server/TimerDisplay → Timer}/TimerDisplay.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Timer/types.d.ts +13 -2
- package/dist/module-types/src/components/molecules/TimerLabeled/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/TwoActionModal/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TwoContentSection/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/BarChart/types.d.ts +3 -3
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/ReactCodeMirror.d.ts +2 -8
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/extensions/basic-setup.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/timeoutLatch.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/useCodeMirror.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeViewer/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/_lazy_/DataGrid/DataGrid.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/DrawerView/DrawerView.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/DrawerView/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/ImageLoaderCropper/canvasPreview.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/InputColor/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/LineChart/types.d.ts +4 -4
- package/dist/module-types/src/components/molecules/_lazy_/SlideDeck/pdfexport.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/SlideDeck/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/_lazy_/SortableItems/SortableItems.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/SortableItems/types.d.ts +5 -5
- package/dist/module-types/src/components/molecules/index.d.ts +22 -17
- package/dist/module-types/src/components/molecules/layouts/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/types.d.ts +14 -12
- package/dist/module-types/src/components/organisms/AiChatPanel/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/CardNotification/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/CheckUnsavedChanges/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/HorizontalMenu/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/LoginUser/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMath.deprecated.d.ts +3 -0
- package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMathViewer.deprecated.d.ts +2 -0
- package/dist/module-types/src/components/organisms/MdMathViewer/types.d.ts +10 -2
- package/dist/module-types/src/components/organisms/PageNotFound/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PresentationToolButtons/PresentationToolButtons.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/Pencil.deprecated.d.ts +0 -0
- package/dist/module-types/src/components/organisms/PresentationToolButtons/types.d.ts +2 -0
- package/dist/module-types/src/components/organisms/ProblemSelector/ProblemSelector.d.ts +1 -1
- package/dist/module-types/src/components/organisms/ProblemSelector/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/ProblemVerdictTag/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/SubmitView.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionGroupInfo.d.ts +1 -2
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionListenerVerdict.d.ts +1 -1
- package/dist/module-types/src/components/organisms/{server/SubmissionMemory → SubmitView/commons}/SubmissionMemory.d.ts +1 -1
- package/dist/module-types/src/components/organisms/{server/SubmissionTime → SubmitView/commons}/SubmissionTime.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionVerdict.d.ts +1 -2
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmitViewContent.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/{server/TextHeadCell → TextHeadCell}/TextHeadCell.d.ts +1 -1
- package/dist/module-types/src/components/organisms/UserChip/UserChip.d.ts +2 -5
- package/dist/module-types/src/components/organisms/UserChip/types.d.ts +3 -3
- package/dist/module-types/src/components/organisms/UserNicknameLink/UserNicknameLink.d.ts +1 -1
- package/dist/module-types/src/components/organisms/UsersSelector/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/VerticalMenu/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/ChangePasswordModal/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/ChangePasswordModal/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/CardList/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkContestTableTest/MockJkContestTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkProblemTableTest/MockJkProblemTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkSubmissionsTableTest/MockJkSubmissionTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkUserTableTest/MockJkUserTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/Filter.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterDate.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterDateRange.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterText.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/index.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/ViewContainerRows.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/DisplayDataViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/utils.d.ts +6 -5
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/types.d.ts +11 -10
- package/dist/module-types/src/components/organisms/_layz_/GraphvizViewer/GraphvizViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/GraphvizViewer/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/MdMath.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.d.ts +1 -4
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.deprecated.d.ts +2 -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/MilkdownEditorContent/MilkdownEditorContent.d.ts +4 -5
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/index.d.ts +2 -5
- 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_/UserCodeEditor/CodeRunnerEditor/CodeRunnerEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FileTreePanel/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FirstPane.d.ts +3 -4
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/Header/RunCodeButton.d.ts +3 -3
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/MermaidViewer/MermaidViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/SettingsModal/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/types.d.ts +8 -9
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/UserCodeEditor.d.ts +4 -5
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/code-editor-file.d.ts +7 -0
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/index.d.ts +2 -4
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/types.d.ts +4 -4
- package/dist/module-types/src/components/organisms/_layz_/WorksheetAsSlides/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetAsSlides/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetContents/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetContents/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/AddNewChild.d.ts +3 -3
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ChunkTitle.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditor.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionView.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/EditSheetModal.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditor.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionView.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.old.d.ts +6 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditor.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetRecursiveSection.d.ts +9 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetSection.d.ts +7 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/index.d.ts +1 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionView.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditor.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.d.ts +10 -0
- 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.d.ts +1 -1
- 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/ResultHeader.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/TableOfContents.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/TableOfContentsModal.d.ts +3 -3
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/UpRemoveDownButtons.d.ts +7 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/WorksheetBody.d.ts +4 -5
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/WorksheetNode.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/getActionButtons.d.ts +5 -6
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/logos.d.ts +4 -4
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/upRemoveDownActions.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/types.d.ts +3 -3
- package/dist/module-types/src/components/organisms/_layz_/WorksheetViewer/WorksheetViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetViewer/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/index.d.ts +14 -13
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/PublicImagesTab/PublicImages.d.ts +3 -3
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/PublicImagesTab/index.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/UploadNewImageTab/index.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/types.d.ts +5 -5
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModal.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/ForgotPassword/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/types.d.ts +4 -4
- package/dist/module-types/src/components/organisms/modals/LoginModal/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/SignUpModal/SignUpModalTemplate/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/UserPreviewModal/UserPreviewContentModal.d.ts +4 -4
- package/dist/module-types/src/components/organisms/modals/UserPreviewModal/types.d.ts +2 -0
- package/dist/module-types/src/components/organisms/modals/WelcomeModal/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/types.d.ts +10 -9
- package/dist/module-types/src/components/providers/JukiAblyInitializer/JukiAblyInitializer.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiI18nInitializer/JukiI18nInitializer.d.ts +1 -0
- package/dist/module-types/src/components/providers/JukiI18nInitializer/index.d.ts +1 -0
- package/dist/module-types/src/components/providers/JukiLastPathInitializer/types.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiPageInitializer/useMouseInsidePage.d.ts +1 -0
- package/dist/module-types/src/components/providers/JukiProviders.d.ts +2 -2
- package/dist/module-types/src/components/providers/JukiRouterInitializer/JukiRouterInitializer.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiRouterInitializer/types.d.ts +2 -2
- package/dist/module-types/src/components/providers/{server/Image → JukiUIProvider}/Image.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/JukiUIProvider.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/Link.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/types.d.ts +24 -6
- package/dist/module-types/src/components/providers/JukiUserProvider/types.d.ts +9 -8
- package/dist/module-types/src/components/providers/NotificationProvider/NotificationProvider.d.ts +1 -1
- package/dist/module-types/src/components/providers/index.d.ts +1 -1
- package/dist/module-types/src/components/providers/types.d.ts +3 -2
- package/dist/module-types/src/components/server/index.d.ts +0 -4
- package/dist/module-types/src/components/server/types.d.ts +0 -4
- package/dist/module-types/src/components/templates/ContestNameLinkField/types.d.ts +2 -2
- package/dist/module-types/src/components/templates/EditProfileModal/ImageProfileModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/EditProfileModal/types.d.ts +4 -5
- package/dist/module-types/src/components/templates/EntityCreateLayout/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/EntityUpdateLayout/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/ErrorBoundary/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/HelpSection/types.d.ts +2 -0
- package/dist/module-types/src/components/templates/MainMenu/DrawerViewMenuMobile/DrawerViewMenuMobile.d.ts +2 -2
- package/dist/module-types/src/components/templates/MainMenu/DrawerViewMenuMobile/index.d.ts +1 -0
- package/dist/module-types/src/components/templates/MainMenu/SettingsSection/index.d.ts +1 -1
- package/dist/module-types/src/components/templates/MainMenu/types.d.ts +5 -5
- package/dist/module-types/src/components/templates/ProblemView/ProblemInfo.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/ProblemView.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/commons/ProblemCodeEditor.d.ts +2 -2
- package/dist/module-types/src/components/templates/ProblemView/commons/SampleTest.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/types.d.ts +4 -4
- package/dist/module-types/src/components/templates/ResetPasswordModal/ResetPasswordModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/ResetPasswordModal/types.d.ts +2 -2
- package/dist/module-types/src/components/templates/UserActiveSessions/UserMyActiveSessions.d.ts +2 -1
- package/dist/module-types/src/components/templates/UserActiveSessions/types.d.ts +2 -0
- package/dist/module-types/src/components/templates/UserProfile/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserProfileSettings/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserViewLayout/ProfileSubmissions.d.ts +2 -1
- package/dist/module-types/src/components/templates/UserViewLayout/types.d.ts +5 -3
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestContestantsHeader.d.ts +3 -0
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestDateHeader.d.ts +3 -0
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestNameHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestStatusHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestTagsHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/contest-columns/index.d.ts +2 -2
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemAdminActionsHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemKeyHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemModeHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemNameHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemOwnerHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemTagsHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemTypeHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionContestHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionContestProblemHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionDateHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionLanguageHeader.d.ts +1 -2
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionMemoryHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionNicknameHeader.d.ts +2 -2
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionProblemHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionRejudgeHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionTimeHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionVerdictHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/index.d.ts +17 -14
- package/dist/module-types/src/components/templates/members/DocumentMembersButton.d.ts +1 -1
- package/dist/module-types/src/components/templates/members/DocumentMembersModal/DocumentMembersModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/members/types.d.ts +5 -6
- package/dist/module-types/src/components/templates/problem/ProblemCrawlerField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemModeField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemOwnerField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemTypeField.d.ts +1 -1
- package/dist/module-types/src/components/templates/{server/problem → problem}/TagsField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/types.d.ts +8 -2
- package/dist/module-types/src/components/templates/{server/submission → submission}/SubmissionDateField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionLanguageField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionNicknameField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/types.d.ts +2 -2
- package/dist/module-types/src/components/templates/types.d.ts +15 -12
- package/dist/module-types/src/components/types/index.d.ts +10 -12
- package/dist/module-types/src/constants/index.d.ts +3 -3
- package/dist/module-types/src/constants/settings.d.ts +1 -1
- package/dist/module-types/src/constants/worksheet.d.ts +1 -1
- package/dist/module-types/src/helpers/index.d.ts +1 -1
- package/dist/module-types/src/hooks/index.d.ts +13 -12
- package/dist/module-types/src/settings/ApiManager.d.ts +249 -370
- package/dist/module-types/src/settings/AppRoutes.d.ts +4 -4
- package/dist/module-types/src/stores/ably/useAblyStore.d.ts +2 -2
- package/dist/module-types/src/stores/i18n/i18n.d.ts +2 -0
- package/dist/module-types/src/stores/i18n/i18nConfig.d.ts +7 -0
- package/dist/module-types/src/stores/i18n/useI18nStore.d.ts +8 -0
- package/dist/module-types/src/stores/lastPath/useLastPath.d.ts +1 -1
- package/dist/module-types/src/stores/router/useRouterStore.d.ts +2 -2
- package/dist/module-types/src/stores/sound/useSoundStore.d.ts +1 -1
- package/dist/module-types/src/stores/ui/useUIStore.d.ts +2 -2
- package/dist/module-types/src/stores/user/useUserStore.d.ts +2 -2
- package/dist/module-types/src/stores/websocket/types.d.ts +2 -2
- package/dist/module-types/src/stores/websocket/useWebsocketStore.d.ts +1 -1
- package/dist/module-types/src/types/index.d.ts +1 -1
- package/package.json +70 -76
- package/src/styles/components/atoms/_button.scss +7 -7
- package/src/styles/components/atoms/_data-viewer.scss +3 -3
- package/src/styles/components/atoms/_modal.scss +0 -9
- package/src/vendor/@milkdown/crepe/lib/theme/common/code-mirror.css +0 -14
- package/src/vendor/@milkdown/crepe/lib/theme/common/style.css +0 -2
- package/src/vendor/@milkdown/crepe/src/theme/common/code-mirror.css +0 -14
- package/src/vendor/@milkdown/crepe/src/theme/common/style.css +0 -2
- package/src/vendor/fumadocs-ui/css/generated/docs.css +281 -3
- package/src/vendor/fumadocs-ui/css/generated/flux.css +264 -2
- package/src/vendor/fumadocs-ui/css/generated/home.css +161 -1
- package/src/vendor/fumadocs-ui/css/generated/notebook.css +288 -6
- package/src/vendor/fumadocs-ui/css/generated/shared.css +103 -80
- package/src/vendor/fumadocs-ui/css/lib/base.css +1 -78
- package/src/vendor/fumadocs-ui/css/lib/shiki.css +2 -2
- package/src/vendor/fumadocs-ui/css/preset.css +80 -0
- package/src/vendor/fumadocs-ui/dist/style.css +47 -63
- package/src/vendor/handsontable/styles/handsontable.css +82 -335
- package/src/vendor/handsontable/styles/handsontable.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-icons-horizon.css +3 -11
- package/src/vendor/handsontable/styles/ht-icons-horizon.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-icons-main.css +3 -11
- package/src/vendor/handsontable/styles/ht-icons-main.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.css +2 -21
- package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-classic.css +5 -32
- package/src/vendor/handsontable/styles/ht-theme-classic.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.css +1 -20
- package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-horizon.css +4 -31
- package/src/vendor/handsontable/styles/ht-theme-horizon.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-main-no-icons.css +2 -21
- package/src/vendor/handsontable/styles/ht-theme-main-no-icons.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-main.css +5 -32
- package/src/vendor/handsontable/styles/ht-theme-main.min.css +3 -4
- package/src/vendor/katex/dist/katex-swap.css +2 -5
- package/src/vendor/katex/dist/katex-swap.min.css +1 -1
- package/src/vendor/katex/dist/katex.css +2 -5
- package/src/vendor/katex/dist/katex.min.css +1 -1
- package/src/vendor/katex/src/styles/katex.scss +1 -3
- package/dist/esm/ArrowForwardIcon-9VrCQrla.js +0 -1
- package/dist/esm/BarChart-BYCvk2RN.js +0 -1
- package/dist/esm/CartesianChart-D1L2w_VG.js +0 -47
- package/dist/esm/ChangePasswordModal-DOBon_ok.js +0 -1
- package/dist/esm/CodeEditor-B6YXqauq.js +0 -1
- package/dist/esm/DataGrid-Dy2MSOK0.js +0 -277
- package/dist/esm/DataViewer-DebzEZj0.js +0 -1
- package/dist/esm/DrawerView-C6KbvsgW.js +0 -1
- package/dist/esm/ExcalidrawButton-rCOaM390.js +0 -1
- package/dist/esm/GraphvizViewer-DQ_3zkqP.js +0 -1
- package/dist/esm/ImageLoaderCropper-DCPp73Ao.js +0 -1
- package/dist/esm/InputCellPhoneNumber-UNqdq7Va.js +0 -1
- package/dist/esm/InputColor-DLE6PJz7.js +0 -14
- package/dist/esm/LineChart-DxN-I5Kl.js +0 -1
- package/dist/esm/MdMath-BQs4hBpa.js +0 -1
- package/dist/esm/MdMathEditor-BHfoWvp_.js +0 -28
- package/dist/esm/ReplyIcon-rPXXCIKg.js +0 -1
- package/dist/esm/SettingsIcon-DnAtSsRm.js +0 -1
- package/dist/esm/SlideDeck-c69qGz1J.js +0 -1
- package/dist/esm/TableOfContents-CL2MOKlA.js +0 -1
- package/dist/esm/TextHeadCell-CExu2jw7.js +0 -1
- package/dist/esm/Tooltip-C-DKzZ8R.js +0 -7
- package/dist/esm/UserCodeEditor-CAg3dvAT.js +0 -30
- package/dist/esm/ViewModuleIcon-B7qvToID.js +0 -1
- package/dist/esm/VirtualizedRowsFixed-Bks5JFSx.js +0 -1
- package/dist/esm/WorksheetAsSlides-B1YaxqYO.js +0 -1
- package/dist/esm/WorksheetBodies-BnGXG6wi.js +0 -1
- package/dist/esm/WorksheetContents-CJbNoWXT.js +0 -1
- package/dist/esm/WorksheetEditor-B37fFHcY.js +0 -1
- package/dist/esm/WorksheetNode-DjqZZQRs.js +0 -1
- package/dist/esm/WorksheetViewer-DE_XAr2A.js +0 -1
- package/dist/esm/arc-BalHlvik.js +0 -1
- package/dist/esm/architectureDiagram-3BPJPVTR-DaZ9rWVO.js +0 -1
- package/dist/esm/blockDiagram-GPEHLZMM-CgMTM8qx.js +0 -1
- package/dist/esm/c4Diagram-AAUBKEIU-DF5dBD4X.js +0 -1
- package/dist/esm/channel-DtX7K8fH.js +0 -1
- package/dist/esm/chunk-2J33WTMH-BSF8-_lr.js +0 -1
- package/dist/esm/chunk-55IACEB6-Ce1Mc1lZ.js +0 -1
- package/dist/esm/chunk-727SXJPM-Cc0QJGYk.js +0 -1
- package/dist/esm/chunk-AQP2D5EJ-D7lU0Qk0.js +0 -1
- package/dist/esm/chunk-ND2GUHAM-BD5ZdCjv.js +0 -1
- package/dist/esm/classDiagram-4FO5ZUOK-B6nVlqWv.js +0 -1
- package/dist/esm/classDiagram-v2-Q7XG4LA2-B6nVlqWv.js +0 -1
- package/dist/esm/contest-hvD3tLnF.js +0 -1
- package/dist/esm/cose-bilkent-S5V4N54A-C1xAVZwJ.js +0 -1
- package/dist/esm/cytoscape.esm-ym4YJMee.js +0 -9
- package/dist/esm/dagre-BM42HDAG-BTH23OkS.js +0 -1
- package/dist/esm/date-D28INXpp.js +0 -1
- package/dist/esm/diagram-2AECGRRQ-s_eIY8Ju.js +0 -1
- package/dist/esm/diagram-5GNKFQAL-BQ7iPFrS.js +0 -1
- package/dist/esm/diagram-KO2AKTUF-BwauQwgA.js +0 -1
- package/dist/esm/diagram-LMA3HP47-VgneUbzF.js +0 -1
- package/dist/esm/diagram-OG6HWLK6-CQXmLp-X.js +0 -1
- package/dist/esm/erDiagram-TEJ5UH35-BrtUM8g8.js +0 -1
- package/dist/esm/flowDiagram-I6XJVG4X-BVuY5iRd.js +0 -1
- package/dist/esm/ganttDiagram-6RSMTGT7-Dp3J7m4L.js +0 -1
- package/dist/esm/gitGraphDiagram-PVQCEYII-DDvUv1py.js +0 -1
- package/dist/esm/graph-ByvXLzfz.js +0 -1
- package/dist/esm/index-3RT03X12.js +0 -1
- package/dist/esm/index-4xl-oI83.js +0 -1
- package/dist/esm/index-8NOL5jJy.js +0 -1
- package/dist/esm/index-B8r5j97Z.js +0 -1
- package/dist/esm/index-B8yg8iZ5.js +0 -1
- package/dist/esm/index-BozcvZKO.js +0 -1
- package/dist/esm/index-C7UTkWm2.js +0 -1
- package/dist/esm/index-CCoeYJCH.js +0 -1
- package/dist/esm/index-CHdwVvPu.js +0 -1
- package/dist/esm/index-CICkoZjG.js +0 -1
- package/dist/esm/index-CQTsT8Zj.js +0 -1
- package/dist/esm/index-CU5b90xS.js +0 -1
- package/dist/esm/index-CWWVtFL-.js +0 -1
- package/dist/esm/index-CYal7RVq.js +0 -1
- package/dist/esm/index-CZHb8PSE.js +0 -1
- package/dist/esm/index-C_iDYl6D.js +0 -1
- package/dist/esm/index-Ci0TIrsP.js +0 -1
- package/dist/esm/index-CncjGRa9.js +0 -1
- package/dist/esm/index-CoD0BG11.js +0 -1
- package/dist/esm/index-D2MvgUx2.js +0 -1
- package/dist/esm/index-DI4w9v5q.js +0 -1
- package/dist/esm/index-DO5jS6VE.js +0 -1
- package/dist/esm/index-DPqNWk5z.js +0 -1
- package/dist/esm/index-DQ_RDg2x.js +0 -1
- package/dist/esm/index-DUSXBI7E.js +0 -1
- package/dist/esm/index-DklIqAi8.js +0 -1
- package/dist/esm/index-DoTjNc47.js +0 -2
- package/dist/esm/index-Dwi3ag-n.js +0 -1
- package/dist/esm/index-mPuca8dy.js +0 -1
- package/dist/esm/index-uScqGt-h.js +0 -1
- package/dist/esm/index-wgkxcuUd.js +0 -1
- package/dist/esm/infoDiagram-5YYISTIA-D0QNaNgu.js +0 -1
- package/dist/esm/isSymbol-BuOnvf7n.js +0 -1
- package/dist/esm/isUndefined-DFy0_ZQT.js +0 -1
- package/dist/esm/ishikawaDiagram-YF4QCWOH-C5VX82DI.js +0 -1
- package/dist/esm/journeyDiagram-JHISSGLW-BVEghM8I.js +0 -1
- package/dist/esm/kanban-definition-UN3LZRKU-2IZxapBL.js +0 -1
- package/dist/esm/layout-C8ygm6VF.js +0 -1
- package/dist/esm/light-CK5396YO.js +0 -1
- package/dist/esm/map-CkaOHTqG.js +0 -1
- package/dist/esm/mermaid.core-DoQpgFF5.js +0 -1
- package/dist/esm/mindmap-definition-RKZ34NQL-D-7AMujv.js +0 -1
- package/dist/esm/pieDiagram-4H26LBE5-mrgU3sOl.js +0 -1
- package/dist/esm/purify.es-J-_UhghA.js +0 -2
- package/dist/esm/quadrantDiagram-W4KKPZXB-O8NSasGc.js +0 -1
- package/dist/esm/requirementDiagram-4Y6WPE33-CQHcM086.js +0 -1
- package/dist/esm/sankeyDiagram-5OEKKPKP-DFihOSab.js +0 -1
- package/dist/esm/sequenceDiagram-3UESZ5HK-CR8iCSRR.js +0 -1
- package/dist/esm/settings-DgLs6IK_.js +0 -1
- package/dist/esm/stateDiagram-AJRCARHV-CRmD_B8Z.js +0 -1
- package/dist/esm/stateDiagram-v2-BHNVJYJU-BQMQV-zB.js +0 -1
- package/dist/esm/throttle-_MCmQvyw.js +0 -1
- package/dist/esm/time-BHcZPeyw.js +0 -1
- package/dist/esm/time-BJsLnFy1.js +0 -1
- package/dist/esm/timeline-definition-PNZ67QCA-BSXJOTVE.js +0 -1
- package/dist/esm/toNumber-DP6YK8S3.js +0 -1
- package/dist/esm/types-DYOIqA8v.js +0 -1
- package/dist/esm/vennDiagram-CIIHVFJN-BGumey1i.js +0 -1
- package/dist/esm/viz-BjPw9uNj.js +0 -9
- package/dist/esm/wardley-L42UT6IY-Bn2xZ99U.js +0 -15
- package/dist/esm/wardleyDiagram-YWT4CUSO-CXmvZufs.js +0 -1
- package/dist/esm/worksheet-BBAH_yZC.js +0 -1
- package/dist/esm/worksheet-DTRmzBjG.js +0 -1
- package/dist/esm/worksheet-GN3yGKYw.js +0 -1
- package/dist/esm/xychartDiagram-2RQKCTM6-DZBDvK3P.js +0 -1
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/component/diff.d.ts +0 -1
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/exception.d.ts +0 -1
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/plugin/diff.d.ts +0 -1
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/plugin/streaming.d.ts +0 -1
- package/dist/module-types/src/components/atoms/T/T.server.d.ts +0 -2
- package/dist/module-types/src/components/atoms/T/cache.d.ts +0 -4
- package/dist/module-types/src/components/atoms/T/client.d.ts +0 -7
- package/dist/module-types/src/components/atoms/T/server.d.ts +0 -12
- package/dist/module-types/src/components/atoms/T/shared.d.ts +0 -2
- package/dist/module-types/src/components/atoms/server/T/index.d.ts +0 -3
- package/dist/module-types/src/components/molecules/server/CircularProgress/types.d.ts +0 -4
- package/dist/module-types/src/components/molecules/server/NewlineInfo/NewlineInfo.d.ts +0 -2
- package/dist/module-types/src/components/molecules/server/NewlineInfo/types.d.ts +0 -3
- package/dist/module-types/src/components/molecules/server/TimerDisplay/types.d.ts +0 -13
- package/dist/module-types/src/components/molecules/server/index.d.ts +0 -5
- package/dist/module-types/src/components/molecules/server/types.d.ts +0 -3
- package/dist/module-types/src/components/organisms/server/index.d.ts +0 -3
- package/dist/module-types/src/components/organisms/server/types.d.ts +0 -1
- package/dist/module-types/src/components/providers/JukiI18nBridge/JukiI18nBridge.d.ts +0 -23
- package/dist/module-types/src/components/providers/JukiI18nBridge/index.d.ts +0 -1
- package/dist/module-types/src/components/providers/server/Image/types.d.ts +0 -20
- package/dist/module-types/src/components/providers/server/index.d.ts +0 -1
- package/dist/module-types/src/components/providers/server/types.d.ts +0 -1
- package/dist/module-types/src/components/templates/server/ProblemStatus/types.d.ts +0 -6
- package/dist/module-types/src/components/templates/server/columns/contest-columns/getContestContestantsHeader.d.ts +0 -3
- package/dist/module-types/src/components/templates/server/columns/contest-columns/getContestDateHeader.d.ts +0 -3
- package/dist/module-types/src/components/templates/server/index.d.ts +0 -5
- package/dist/module-types/src/components/templates/server/types.d.ts +0 -1
- package/src/vendor/@milkdown/crepe/lib/theme/common/ai.css +0 -446
- package/src/vendor/@milkdown/crepe/lib/theme/common/diff.css +0 -177
- package/src/vendor/@milkdown/crepe/src/theme/common/ai.css +0 -430
- package/src/vendor/@milkdown/crepe/src/theme/common/diff.css +0 -196
- package/src/vendor/fumadocs-ui/css/preset-legacy.css +0 -38
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/code-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/image-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/image-inline.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/index.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/link-tooltip.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/list-item-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/table-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/core.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/ctx.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/clipboard.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/cursor.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/history.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/indent.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/listener.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/slash.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/tooltip.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/trailing.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/upload.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/preset/commonmark.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/preset/gfm.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/history.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/index.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/inputrules.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/keymap.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/model.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/state.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/view.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/utils.d.ts +0 -0
- /package/dist/module-types/src/components/atoms/{server/DateLiteral → DateLiteral}/DateLiteral.d.ts +0 -0
- /package/dist/module-types/src/components/molecules/{server/ThemeColorPalette → ThemeColorPalette}/ThemeColorPalette.d.ts +0 -0
- /package/dist/module-types/src/components/molecules/{server/layouts → layouts}/ApplicationLoaderLayout.d.ts +0 -0
- /package/dist/module-types/src/components/templates/{server/ProblemStatus → problem}/ProblemStatus.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as r}from"./mermaid-parser.core-Crc-QLCi.js";export{W as WardleyModule}from"./mermaid-parser.core-Crc-QLCi.js";import"./map-BvlAjF4J.js";import"./_baseIteratee-DJNkOVK7.js";import"./memoize-CPUrcYQl.js";import"./isSymbol-CATEdeai.js";import"./_baseUniq-BJKKUJ6e.js";import"./min-Dc9VrJ6M.js";import"./mermaid.core-C2hrg85i.js";import"./index-EPJhFLhN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-B_OozOv-.js";import"./settings-BIQ7IqJl.js";import"./constants.js";import"./LoaderLayer-D9O7WqFD.js";import"./websocket-CxbYBjHT.js";import"./index-CODLgwqm.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"./purify.es-DBOWJxv3.js";import"./string-LeDn2fkG.js";export{r as createWardleyServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as t,g as e,t as a,q as r,a as o,b as n,_ as s,l as i,K as d,e as l,z as c,c as p,i as h}from"./mermaid.core-C2hrg85i.js";import{p as x}from"./chunk-4BX2VUAB-BwFNstmG.js";import{p as y}from"./mermaid-parser.core-Crc-QLCi.js";import"./index-EPJhFLhN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-B_OozOv-.js";import"./settings-BIQ7IqJl.js";import"./constants.js";import"./LoaderLayer-D9O7WqFD.js";import"./websocket-CxbYBjHT.js";import"./index-CODLgwqm.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"./purify.es-DBOWJxv3.js";import"./string-LeDn2fkG.js";import"./memoize-CPUrcYQl.js";import"./map-BvlAjF4J.js";import"./_baseIteratee-DJNkOVK7.js";import"./isSymbol-CATEdeai.js";import"./_baseUniq-BJKKUJ6e.js";import"./min-Dc9VrJ6M.js";var g=s((t,e)=>{const a=t<=1?100*t:t;if(a<0||a>100)throw new Error(`${e} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${t}`);return a},"toPercent"),f=s((t,e,a)=>({x:g(e,`${a} evolution`),y:g(t,`${a} visibility`)}),"toCoordinates"),m=s(t=>{if(t)return"+<>"===t?"bidirectional":"+<"===t?"backward":"+>"===t?"forward":void 0},"getFlowFromPort"),u=s(t=>{if(!t?.startsWith("+"))return{};const e=/^\+'([^']*)'/.exec(t),a=e?.[1];return t.includes("<>")?{flow:"bidirectional",label:a}:t.includes("<")?{flow:"backward",label:a}:t.includes(">")?{flow:"forward",label:a}:{label:a}},"extractFlowFromArrow"),w=s((t,e)=>{if(x(t,e),t.size&&e.setSize(t.size.width,t.size.height),t.evolution){const a=t.evolution.stages.map(t=>t.secondName?`${t.name.trim()} / ${t.secondName.trim()}`:t.name.trim()),r=t.evolution.stages.filter(t=>void 0!==t.boundary).map(t=>t.boundary);e.updateAxes({stages:a,stageBoundaries:r})}if(t.anchors.forEach(t=>{const a=f(t.visibility,t.evolution,`Anchor "${t.name}"`);e.addNode(t.name,t.name,a.x,a.y,"anchor")}),t.components.forEach(t=>{const a=f(t.visibility,t.evolution,`Component "${t.name}"`),r=t.label?(t.label.negX?-1:1)*t.label.offsetX:void 0,o=t.label?(t.label.negY?-1:1)*t.label.offsetY:void 0,n=t.decorator?.strategy;e.addNode(t.name,t.name,a.x,a.y,"component",r,o,t.inertia,n)}),t.notes.forEach(t=>{const a=f(t.visibility,t.evolution,`Note "${t.text}"`);e.addNote(t.text,a.x,a.y)}),t.pipelines.forEach(t=>{const a=e.getNode(t.parent);if(!a||"number"!=typeof a.y)throw new Error(`Pipeline "${t.parent}" must reference an existing component with coordinates.`);const r=a.y;e.startPipeline(t.parent),t.components.forEach(a=>{const o=`${t.parent}_${a.name}`,n=a.label?(a.label.negX?-1:1)*a.label.offsetX:void 0,s=a.label?(a.label.negY?-1:1)*a.label.offsetY:void 0,i=g(a.evolution,`Pipeline component "${a.name}" evolution`);e.addNode(o,a.name,i,r,"pipeline-component",n,s),e.addPipelineComponent(t.parent,o)})}),t.links.forEach(t=>{const a=!!t.arrow&&(t.arrow.includes("-.->")||t.arrow.includes(".-."));let r=m(t.fromPort)??m(t.toPort);const{flow:o,label:n}=u(t.arrow);!r&&o&&(r=o);const s=t.linkLabel,i=n??s;e.addLink(t.from,t.to,a,i,r)}),t.evolves.forEach(t=>{const a=e.getNode(t.component);if(void 0!==a?.y){const r=g(t.target,`Evolve target for "${t.component}"`);e.addTrend(t.component,r,a.y)}}),t.annotations.length>0){const a=t.annotations[0],r=f(a.x,a.y,"Annotations box");e.setAnnotationsBox(r.x,r.y)}t.annotation.forEach(t=>{const a=f(t.x,t.y,`Annotation ${t.number}`);e.addAnnotation(t.number,[{x:a.x,y:a.y}],t.text)}),t.accelerators.forEach(t=>{const a=f(t.x,t.y,`Accelerator "${t.name}"`);e.addAccelerator(t.name,a.x,a.y)}),t.deaccelerators.forEach(t=>{const a=f(t.x,t.y,`Deaccelerator "${t.name}"`);e.addDeaccelerator(t.name,a.x,a.y)})},"populateDb"),k={parser:{yy:void 0},parse:s(async t=>{const e=await y("wardley",t);i.debug(e);const a=k.parser?.yy;if(!a||"function"!=typeof a.addNode)throw new Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");w(e,a)},"parse")},b=new class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{s(this,"WardleyBuilder")}addNode(t){const e=this.nodes.get(t.id)??{id:t.id,label:t.label},a={...e,...t,className:t.className??e.className,labelOffsetX:t.labelOffsetX??e.labelOffsetX,labelOffsetY:t.labelOffsetY??e.labelOffsetY};this.nodes.set(t.id,a)}addLink(t){this.links.push(t)}addTrend(t){this.trends.set(t.nodeId,t)}startPipeline(t){this.pipelines.set(t,{nodeId:t,componentIds:[]});const e=this.nodes.get(t);e&&(e.isPipelineParent=!0)}addPipelineComponent(t,e){const a=this.pipelines.get(t);a&&a.componentIds.push(e);const r=this.nodes.get(e);r&&(r.inPipeline=!0)}addAnnotation(t){this.annotations.push(t)}addNote(t){this.notes.push(t)}addAccelerator(t){this.accelerators.push(t)}addDeaccelerator(t){this.deaccelerators.push(t)}setAnnotationsBox(t,e){this.annotationsBox={x:t,y:e}}setAxes(t){this.axes={...this.axes,...t}}setSize(t,e){this.size={width:t,height:e}}getNode(t){return this.nodes.get(t)}build(){const t=[];for(const e of this.nodes.values()){if("number"!=typeof e.x||"number"!=typeof e.y)throw new Error(`Node "${e.label}" is missing coordinates`);t.push(e)}return{nodes:t,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}};function $(t){const e=p();return h(t.trim(),e)}function M(){return p()["wardley-beta"]}function v(t,e,a,r,o,n,s,i,d){b.addNode({id:t,label:$(e),x:a,y:r,className:o,labelOffsetX:n,labelOffsetY:s,inertia:i,sourceStrategy:d})}function S(t,e,a=!1,r,o){b.addLink({source:t,target:e,dashed:a,label:r,flow:o})}function P(t,e,a){b.addTrend({nodeId:t,targetX:e,targetY:a})}function C(t,e,a){b.addAnnotation({number:t,coordinates:e,text:a?$(a):void 0})}function L(t,e,a){b.addNote({text:$(t),x:e,y:a})}function z(t,e,a){b.addAccelerator({name:$(t),x:e,y:a})}function N(t,e,a){b.addDeaccelerator({name:$(t),x:e,y:a})}function A(t,e){b.setAnnotationsBox(t,e)}function E(t,e){b.setSize(t,e)}function j(t){b.startPipeline(t)}function T(t,e){b.addPipelineComponent(t,e)}function B(t){const e={};t.xLabel&&(e.xLabel=$(t.xLabel)),t.yLabel&&(e.yLabel=$(t.yLabel)),t.stages&&(e.stages=t.stages.map(t=>$(t))),t.stageBoundaries&&(e.stageBoundaries=t.stageBoundaries),b.setAxes(e)}function I(t){return b.getNode(t)}function R(){return b.build()}function X(){b.clear(),c()}s($,"textSanitizer"),s(M,"getConfig"),s(v,"addNode"),s(S,"addLink"),s(P,"addTrend"),s(C,"addAnnotation"),s(L,"addNote"),s(z,"addAccelerator"),s(N,"addDeaccelerator"),s(A,"setAnnotationsBox"),s(E,"setSize"),s(j,"startPipeline"),s(T,"addPipelineComponent"),s(B,"updateAxes"),s(I,"getNode"),s(R,"getWardleyData"),s(X,"clear");var Y={getConfig:M,addNode:v,addLink:S,addTrend:P,addAnnotation:C,addNote:L,addAccelerator:z,addDeaccelerator:N,setAnnotationsBox:A,setSize:E,startPipeline:j,addPipelineComponent:T,updateAxes:B,getNode:I,getWardleyData:R,clear:X,setAccTitle:n,getAccTitle:o,setDiagramTitle:r,getDiagramTitle:a,getAccDescription:e,setAccDescription:t},F=["Genesis","Custom Built","Product","Commodity"],O=s(()=>{const{themeVariables:t}=p();return{backgroundColor:t.wardley?.backgroundColor??t.background??"#fff",axisColor:t.wardley?.axisColor??"#000",axisTextColor:t.wardley?.axisTextColor??t.primaryTextColor??"#222",gridColor:t.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:t.wardley?.componentFill??"#fff",componentStroke:t.wardley?.componentStroke??"#000",componentLabelColor:t.wardley?.componentLabelColor??t.primaryTextColor??"#222",linkStroke:t.wardley?.linkStroke??"#000",evolutionStroke:t.wardley?.evolutionStroke??"#dc3545",annotationStroke:t.wardley?.annotationStroke??"#000",annotationTextColor:t.wardley?.annotationTextColor??t.primaryTextColor??"#222",annotationFill:t.wardley?.annotationFill??t.background??"#fff"}},"getTheme"),D=s(()=>{const t=p()["wardley-beta"];return{width:t?.width??900,height:t?.height??600,padding:t?.padding??48,nodeRadius:t?.nodeRadius??6,nodeLabelOffset:t?.nodeLabelOffset??8,axisFontSize:t?.axisFontSize??12,labelFontSize:t?.labelFontSize??10,showGrid:t?.showGrid??!1,useMaxWidth:t?.useMaxWidth??!0}},"getConfigValues"),q={parser:k,db:Y,renderer:{draw:s((t,e,a,r)=>{i.debug("Rendering Wardley map\n"+t);const o=D(),n=O(),c=1.6*o.nodeRadius,p=r.db,h=p.getWardleyData(),x=p.getDiagramTitle(),y=h.size?.width??o.width,g=h.size?.height??o.height,f=d(e);f.selectAll("*").remove(),l(f,g,y,o.useMaxWidth),f.attr("viewBox",`0 0 ${y} ${g}`);const m=f.append("g").attr("class","wardley-map"),u=f.append("defs");u.append("marker").attr("id",`arrow-${e}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",n.evolutionStroke).attr("stroke","none"),u.append("marker").attr("id",`link-arrow-end-${e}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",n.linkStroke).attr("stroke","none"),u.append("marker").attr("id",`link-arrow-start-${e}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",n.linkStroke).attr("stroke","none"),m.append("rect").attr("class","wardley-background").attr("width",y).attr("height",g).attr("fill",n.backgroundColor);const w=y-2*o.padding,k=g-2*o.padding;x&&m.append("text").attr("class","wardley-title").attr("x",y/2).attr("y",o.padding/2).attr("fill",n.axisTextColor).attr("font-size",1.05*o.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(x);const b=s(t=>o.padding+t/100*w,"projectX"),$=s(t=>g-o.padding-t/100*k,"projectY"),M=m.append("g").attr("class","wardley-axes");M.append("line").attr("x1",o.padding).attr("x2",y-o.padding).attr("y1",g-o.padding).attr("y2",g-o.padding).attr("stroke",n.axisColor).attr("stroke-width",1),M.append("line").attr("x1",o.padding).attr("x2",o.padding).attr("y1",o.padding).attr("y2",g-o.padding).attr("stroke",n.axisColor).attr("stroke-width",1);const v=h.axes.xLabel??"Evolution",S=h.axes.yLabel??"Visibility";M.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",o.padding+w/2).attr("y",g-o.padding/4).attr("fill",n.axisTextColor).attr("font-size",o.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(v),M.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",o.padding/3).attr("y",o.padding+k/2).attr("fill",n.axisTextColor).attr("font-size",o.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${o.padding/3} ${o.padding+k/2})`).text(S);const P=h.axes.stages&&h.axes.stages.length>0?h.axes.stages:F;if(P.length>0){const t=m.append("g").attr("class","wardley-stages"),e=h.axes.stageBoundaries,a=[];if(e&&e.length===P.length){let t=0;e.forEach(e=>{a.push({start:t,end:e}),t=e})}else{const t=1/P.length;P.forEach((e,r)=>{a.push({start:r*t,end:(r+1)*t})})}P.forEach((e,r)=>{const s=a[r],i=o.padding+s.start*w,d=(i+(o.padding+s.end*w))/2;r>0&&t.append("line").attr("x1",i).attr("x2",i).attr("y1",o.padding).attr("y2",g-o.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),t.append("text").attr("class","wardley-stage-label").attr("x",d).attr("y",g-o.padding/1.5).attr("fill",n.axisTextColor).attr("font-size",o.axisFontSize-2).attr("text-anchor","middle").text(e)})}if(o.showGrid){const t=m.append("g").attr("class","wardley-grid");for(let e=1;e<4;e++){const a=e/4,r=o.padding+w*a;t.append("line").attr("x1",r).attr("x2",r).attr("y1",o.padding).attr("y2",g-o.padding).attr("stroke",n.gridColor).attr("stroke-dasharray","2 6"),t.append("line").attr("x1",o.padding).attr("x2",y-o.padding).attr("y1",g-o.padding-k*a).attr("y2",g-o.padding-k*a).attr("stroke",n.gridColor).attr("stroke-dasharray","2 6")}}const C=new Map;if(h.nodes.forEach(t=>{C.set(t.id,{x:b(t.x),y:$(t.y),node:t})}),h.pipelines.length>0){const t=m.append("g").attr("class","wardley-pipelines"),e=m.append("g").attr("class","wardley-pipeline-links");h.pipelines.forEach(a=>{if(0===a.componentIds.length)return;const r=a.componentIds.map(t=>({id:t,pos:C.get(t),node:h.nodes.find(e=>e.id===t)})).filter(t=>t.pos&&t.node).sort((t,e)=>t.node.x-e.node.x);for(let t=0;t<r.length-1;t++){const a=r[t],o=r[t+1];e.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",a.pos.x).attr("y1",a.pos.y).attr("x2",o.pos.x).attr("y2",o.pos.y).attr("stroke",n.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let s=1/0,i=-1/0,d=0;if(a.componentIds.forEach(t=>{const e=C.get(t);e&&(s=Math.min(s,e.x),i=Math.max(i,e.x),d=e.y)}),s!==1/0&&i!==-1/0){const e=15,r=4*o.nodeRadius,l=d-r/2,p=C.get(a.nodeId);if(p){const t=(s+i)/2;p.x=t,p.y=l-c/6}t.append("rect").attr("class","wardley-pipeline-box").attr("x",s-e).attr("y",l).attr("width",i-s+2*e).attr("height",r).attr("fill","none").attr("stroke",n.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}const L=m.append("g").attr("class","wardley-links"),z=new Map;h.pipelines.forEach(t=>{z.set(t.nodeId,new Set(t.componentIds))});const N=h.links.filter(t=>{if(!C.has(t.source)||!C.has(t.target))return!1;const e=z.get(t.target);return!e?.has(t.source)});L.selectAll("line").data(N).enter().append("line").attr("class",t=>"wardley-link"+(t.dashed?" wardley-link--dashed":"")).attr("x1",t=>{const e=C.get(t.source),a=C.get(t.target),r=h.nodes.find(e=>e.id===t.source).isPipelineParent?c/Math.sqrt(2):o.nodeRadius,n=a.x-e.x,s=a.y-e.y,i=Math.sqrt(n*n+s*s);return e.x+n/i*r}).attr("y1",t=>{const e=C.get(t.source),a=C.get(t.target),r=h.nodes.find(e=>e.id===t.source).isPipelineParent?c/Math.sqrt(2):o.nodeRadius,n=a.x-e.x,s=a.y-e.y,i=Math.sqrt(n*n+s*s);return e.y+s/i*r}).attr("x2",t=>{const e=C.get(t.source),a=C.get(t.target),r=h.nodes.find(e=>e.id===t.target).isPipelineParent?c/Math.sqrt(2):o.nodeRadius,n=e.x-a.x,s=e.y-a.y,i=Math.sqrt(n*n+s*s);return a.x+n/i*r}).attr("y2",t=>{const e=C.get(t.source),a=C.get(t.target),r=h.nodes.find(e=>e.id===t.target).isPipelineParent?c/Math.sqrt(2):o.nodeRadius,n=e.x-a.x,s=e.y-a.y,i=Math.sqrt(n*n+s*s);return a.y+s/i*r}).attr("stroke",n.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",t=>t.dashed?"6 6":null).attr("marker-end",t=>"forward"===t.flow||"bidirectional"===t.flow?`url(#link-arrow-end-${e})`:null).attr("marker-start",t=>"backward"===t.flow||"bidirectional"===t.flow?`url(#link-arrow-start-${e})`:null),L.selectAll("text").data(N.filter(t=>t.label)).enter().append("text").attr("class","wardley-link-label").attr("x",t=>{const e=C.get(t.source),a=C.get(t.target),r=(e.x+a.x)/2,o=a.y-e.y,n=a.x-e.x;return r+8*(o/Math.sqrt(n*n+o*o))}).attr("y",t=>{const e=C.get(t.source),a=C.get(t.target),r=(e.y+a.y)/2,o=a.x-e.x,n=a.y-e.y;return r+8*(-o/Math.sqrt(o*o+n*n))}).attr("fill",n.axisTextColor).attr("font-size",o.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",t=>{const e=C.get(t.source),a=C.get(t.target),r=(e.x+a.x)/2,o=(e.y+a.y)/2,n=a.x-e.x,s=a.y-e.y,i=Math.sqrt(n*n+s*s),d=r+8*(s/i),l=o+8*(-n/i);let c=180*Math.atan2(s,n)/Math.PI;return(c>90||c<-90)&&(c+=180),`rotate(${c} ${d} ${l})`}).text(t=>t.label);const A=m.append("g").attr("class","wardley-trends"),E=h.trends.map(t=>{const e=C.get(t.nodeId);if(!e)return null;const a=b(t.targetX),r=$(t.targetY),n=a-e.x,s=r-e.y,i=Math.sqrt(n*n+s*s),d=o.nodeRadius+2;return{origin:e,targetX:a,targetY:r,adjustedX2:i>d?a-n/i*d:a,adjustedY2:i>d?r-s/i*d:r}}).filter(t=>null!==t);A.selectAll("line").data(E).enter().append("line").attr("class","wardley-trend").attr("x1",t=>t.origin.x).attr("y1",t=>t.origin.y).attr("x2",t=>t.adjustedX2).attr("y2",t=>t.adjustedY2).attr("stroke",n.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${e})`);const j=m.append("g").attr("class","wardley-nodes").selectAll("g").data(h.nodes).enter().append("g").attr("class",t=>["wardley-node",t.className?`wardley-node--${t.className}`:""].filter(Boolean).join(" "));j.filter(t=>"outsource"===t.sourceStrategy).append("circle").attr("class","wardley-outsource-overlay").attr("cx",t=>C.get(t.id).x).attr("cy",t=>C.get(t.id).y).attr("r",2*o.nodeRadius).attr("fill","#666").attr("stroke",n.componentStroke).attr("stroke-width",1),j.filter(t=>"buy"===t.sourceStrategy).append("circle").attr("class","wardley-buy-overlay").attr("cx",t=>C.get(t.id).x).attr("cy",t=>C.get(t.id).y).attr("r",2*o.nodeRadius).attr("fill","#ccc").attr("stroke",n.componentStroke).attr("stroke-width",1),j.filter(t=>"build"===t.sourceStrategy).append("circle").attr("class","wardley-build-overlay").attr("cx",t=>C.get(t.id).x).attr("cy",t=>C.get(t.id).y).attr("r",2*o.nodeRadius).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);const T=j.filter(t=>"market"===t.sourceStrategy);T.append("circle").attr("class","wardley-market-overlay").attr("cx",t=>C.get(t.id).x).attr("cy",t=>C.get(t.id).y).attr("r",2*o.nodeRadius).attr("fill","white").attr("stroke",n.componentStroke).attr("stroke-width",1),j.filter(t=>!t.isPipelineParent&&"market"!==t.sourceStrategy&&"anchor"!==t.className).append("circle").attr("cx",t=>C.get(t.id).x).attr("cy",t=>C.get(t.id).y).attr("r",o.nodeRadius).attr("fill",n.componentFill).attr("stroke",n.componentStroke).attr("stroke-width",1);const B=.7*o.nodeRadius,I=1.2*o.nodeRadius;if(T.append("line").attr("class","wardley-market-line").attr("x1",t=>C.get(t.id).x).attr("y1",t=>C.get(t.id).y-I).attr("x2",t=>C.get(t.id).x-I*Math.cos(Math.PI/6)).attr("y2",t=>C.get(t.id).y+I*Math.sin(Math.PI/6)).attr("stroke",n.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>C.get(t.id).x-I*Math.cos(Math.PI/6)).attr("y1",t=>C.get(t.id).y+I*Math.sin(Math.PI/6)).attr("x2",t=>C.get(t.id).x+I*Math.cos(Math.PI/6)).attr("y2",t=>C.get(t.id).y+I*Math.sin(Math.PI/6)).attr("stroke",n.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>C.get(t.id).x+I*Math.cos(Math.PI/6)).attr("y1",t=>C.get(t.id).y+I*Math.sin(Math.PI/6)).attr("x2",t=>C.get(t.id).x).attr("y2",t=>C.get(t.id).y-I).attr("stroke",n.componentStroke).attr("stroke-width",1),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>C.get(t.id).x).attr("cy",t=>C.get(t.id).y-I).attr("r",B).attr("fill","white").attr("stroke",n.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>C.get(t.id).x-I*Math.cos(Math.PI/6)).attr("cy",t=>C.get(t.id).y+I*Math.sin(Math.PI/6)).attr("r",B).attr("fill","white").attr("stroke",n.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>C.get(t.id).x+I*Math.cos(Math.PI/6)).attr("cy",t=>C.get(t.id).y+I*Math.sin(Math.PI/6)).attr("r",B).attr("fill","white").attr("stroke",n.componentStroke).attr("stroke-width",2),j.filter(t=>!0===t.isPipelineParent).append("rect").attr("x",t=>C.get(t.id).x-c/2).attr("y",t=>C.get(t.id).y-c/2).attr("width",c).attr("height",c).attr("fill",n.componentFill).attr("stroke",n.componentStroke).attr("stroke-width",1),j.filter(t=>!0===t.inertia).append("line").attr("class","wardley-inertia").attr("x1",t=>{const e=C.get(t.id);let a=t.isPipelineParent?c/2+15:o.nodeRadius+15;return t.sourceStrategy&&(a+=o.nodeRadius+10),e.x+a}).attr("y1",t=>{const e=C.get(t.id),a=t.isPipelineParent?c:2*o.nodeRadius;return e.y-a/2}).attr("x2",t=>{const e=C.get(t.id);let a=t.isPipelineParent?c/2+15:o.nodeRadius+15;return t.sourceStrategy&&(a+=o.nodeRadius+10),e.x+a}).attr("y2",t=>{const e=C.get(t.id),a=t.isPipelineParent?c:2*o.nodeRadius;return e.y+a/2}).attr("stroke",n.componentStroke).attr("stroke-width",6),j.append("text").attr("x",t=>{const e=C.get(t.id);if("anchor"===t.className)return void 0!==t.labelOffsetX?e.x+t.labelOffsetX:e.x;let a=o.nodeLabelOffset;t.sourceStrategy&&void 0===t.labelOffsetX&&(a+=10);const r=t.labelOffsetX??a;return e.x+r}).attr("y",t=>{const e=C.get(t.id);if("anchor"===t.className)return void 0!==t.labelOffsetY?e.y+t.labelOffsetY:e.y-3;let a=-o.nodeLabelOffset;t.sourceStrategy&&void 0===t.labelOffsetY&&(a-=10);const r=t.labelOffsetY??a;return e.y+r}).attr("class","wardley-node-label").attr("fill",t=>"evolved"===t.className?n.evolutionStroke:"anchor"===t.className?"#000":n.componentLabelColor).attr("font-size",o.labelFontSize).attr("font-weight",t=>"anchor"===t.className?"bold":"normal").attr("text-anchor",t=>"anchor"===t.className?"middle":"start").attr("dominant-baseline",t=>"anchor"===t.className?"middle":"auto").text(t=>t.label),h.annotations.length>0){const t=m.append("g").attr("class","wardley-annotations");if(h.annotations.forEach(e=>{const a=e.coordinates.map(t=>({x:b(t.x),y:$(t.y)}));if(a.length>1)for(let e=0;e<a.length-1;e++)t.append("line").attr("class","wardley-annotation-line").attr("x1",a[e].x).attr("y1",a[e].y).attr("x2",a[e+1].x).attr("y2",a[e+1].y).attr("stroke",n.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");a.forEach(a=>{const r=t.append("g").attr("class","wardley-annotation");r.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("fill","white").attr("stroke",n.axisColor).attr("stroke-width",1.5),r.append("text").attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",n.axisTextColor).attr("font-weight","bold").text(e.number)})}),h.annotationsBox){let e=b(h.annotationsBox.x),a=$(h.annotationsBox.y);const r=10,s=16,i=11,d=t.append("g").attr("class","wardley-annotations-box"),l=[...h.annotations].filter(t=>t.text).sort((t,e)=>t.number-e.number),c=[];if(l.forEach((t,o)=>{const l=d.append("text").attr("x",e+r).attr("y",a+r+(o+1)*s).attr("font-size",i).attr("fill",n.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${t.number}. ${t.text}`);c.push(l)}),c.length>0){let t=0,i=0;c.forEach(e=>{const a=e.node(),r=a.getComputedTextLength();t=Math.max(t,r);const o=a.getBBox();i=Math.max(i,o.height)});const p=t+2*r+105,h=l.length*s+2*r+i/2,x=o.padding,f=y-o.padding-p,m=o.padding,u=g-o.padding-h;e=Math.max(x,Math.min(e,f)),a=Math.max(m,Math.min(a,u)),c.forEach((t,o)=>{t.attr("x",e+r).attr("y",a+r+(o+1)*s)}),d.insert("rect","text").attr("x",e).attr("y",a).attr("width",p).attr("height",h).attr("fill","white").attr("stroke",n.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(h.notes.length>0){const t=m.append("g").attr("class","wardley-notes");h.notes.forEach(e=>{const a=b(e.x),r=$(e.y);t.append("text").attr("x",a).attr("y",r).attr("text-anchor","start").attr("font-size",11).attr("fill",n.axisTextColor).attr("font-weight","bold").text(e.text)})}if(h.accelerators.length>0){const t=m.append("g").attr("class","wardley-accelerators");h.accelerators.forEach(e=>{const a=b(e.x),r=$(e.y),o=60,s=`\n M ${a} ${r-15}\n L ${a+o-20} ${r-15}\n L ${a+o-20} ${r-15-8}\n L ${a+o} ${r}\n L ${a+o-20} ${r+15+8}\n L ${a+o-20} ${r+15}\n L ${a} ${r+15}\n Z\n `;t.append("path").attr("d",s).attr("fill","white").attr("stroke",n.componentStroke).attr("stroke-width",1),t.append("text").attr("x",a+30).attr("y",r+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",n.axisTextColor).attr("font-weight","bold").text(e.name)})}if(h.deaccelerators.length>0){const t=m.append("g").attr("class","wardley-deaccelerators");h.deaccelerators.forEach(e=>{const a=b(e.x),r=$(e.y),o=`\n M ${a+60} ${r-15}\n L ${a+20} ${r-15}\n L ${a+20} ${r-15-8}\n L ${a} ${r}\n L ${a+20} ${r+15+8}\n L ${a+20} ${r+15}\n L ${a+60} ${r+15}\n Z\n `;t.append("path").attr("d",o).attr("fill","white").attr("stroke",n.componentStroke).attr("stroke-width",1),t.append("text").attr("x",a+30).attr("y",r+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",n.axisTextColor).attr("font-weight","bold").text(e.name)})}},"draw")},styles:s(()=>"","styles")};export{q as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as e,H as s,p as t,q as n,c as o,r,t as a,d as i,u as c,S as l,w as d,f as p,x as u,y as m,z as g,L as h,B as S,F as w,G as f,I as y,K as b,O as E,U as $,V as I,X as U,Y as R,Z as T,_ as C,$ as N,a0 as j,a1 as _,a2 as A,a3 as B,a4 as O,a5 as M,a6 as k,a7 as v,a8 as P,a9 as L,aa as x,ab as D,ac as F,ad as H}from"./settings-BIQ7IqJl.js";import{QueryParamKey as K}from"./enums.js";import{j as G}from"./index-CODLgwqm.js";import{i as V,d as W,f as J}from"./commons-B_OozOv-.js";import{jsx as Y}from"react/jsx-runtime";import{Fragment as q}from"react";const z=e=>e.isGlobal?{order:0,label:"global",bc:"bc-io"}:e.isEndless?{order:1,label:"endless",bc:"bc-io"}:e.isPast?{order:2,label:"past",bc:"bc-sf-md"}:e.isLive?{order:3,label:"live",bc:"bc-er"}:e.isFuture?{order:4,label:"upcoming",bc:"bc-ss"}:{order:5,label:"-",bc:"bc-sf-md"},X=async e=>{"undefined"!=typeof navigator&&await navigator.clipboard.writeText(e)},Z=e=>{const s=e.includes("milliseconds"),t=e.includes("seconds"),n=e.includes("minutes"),o=e.includes("hours"),r=e.includes("day"),a=e.includes("month");return{showYears:e.includes("year"),showMonths:a,showDays:r,showHours:o,showMinutes:n,showSeconds:t,showMilliseconds:s}},Q=e=>({showWeeks:e.includes("weeks"),showDays:e.includes("days"),showHours:e.includes("hours"),showMinutes:e.includes("minutes"),showSeconds:e.includes("seconds"),showMilliseconds:e.includes("milliseconds")}),ee=(s,t,n)=>{const{showYears:o,showMonths:r,showDays:a,showHours:i,showMinutes:c,showSeconds:l,showMilliseconds:d}=Z(t);return(a?s.getDate():"")+(r?" "+n(e[s.getMonth()]||""):"")+(o?" "+s.getFullYear():"")+(i?", "+s.getHours().padStart(2)+(c?":"+s.getMinutes().padStart(2):"")+(l?":"+s.getSeconds().padStart(2):"")+(d?"."+s.getMilliseconds().padStart(3):""):"")},se=new RegExp("^[0-9a-fA-F]{24}$");function te(){let e="";return V()&&(e=new URLSearchParams(window.location.search).get(K.TOKEN)??""),24===(s=e).length&&se.test(s)?e:"";var s}function ne(){return"undefined"!=typeof localStorage?te()||localStorage.getItem(i)||"":te()||""}const oe=async(e,s,t)=>ae(e,s,t),re=async(e,s,t)=>ae(e,s,t),ae=async(e,i,c)=>{const{method:l=s.GET,body:d,signal:p,responseType:u,headers:m,cache:g,next:h}=i||{},S=new Headers(m??{});S.set("accept","application/json"),d instanceof FormData||S.set("content-type","application/json"),V()&&S.set(t,window.location?.host);const w=ne();w&&S.set(n,w);try{const s=await fetch(e,{method:l,headers:S,credentials:"include",...d?{body:d}:{},...p?{signal:p}:{},cache:g,next:h});try{return"blob"===u?await s.blob():await s.text()}catch(s){o("error on get data",{url:e,error:s,responseType:u})}return"blob"===u?new Blob:""}catch(s){if(o("error on fetch",{url:e,error:s}),p?.aborted)return"blob"===u?new Blob:JSON.stringify({success:!1,message:a[r.ERR9997].message,errors:[{code:r.ERR9997,detail:`[${l}] ${e} \n ${d}`}]});if(!1===c)throw s;return"blob"===u?new Blob:JSON.stringify({success:!1,message:a[r.ERR9998].message,errors:[{code:r.ERR9998,detail:"FETCH CATCH ERROR : "+JSON.stringify({method:l,url:e,body:d,error:s})}]})}},ie=e=>({origin:V()?window.location.origin:"https://juki.app",referer:V()?window.location.origin+"/":"https://juki.app/",[n]:e,[t]:"juki.app"}),ce=()=>({origin:V()?window.location.origin:"https://juki.app",referer:V()?window.location.origin+"/":"https://juki.app/",[g]:"true",[t]:"juki.app"}),le=async e=>{const{url:s,...t}=G.API_V2.note.publish({body:{source:e.trim()}}),n=c(await oe(s,t));return n?.success&&n?.content.sourceUrl?n.content.sourceUrl:(o("error on publish note",{request:n}),"")},de=async(e,t)=>{try{const{url:n,...o}=G.API_V2.image.publish({body:{contentType:e.type,isPublic:t}}),r=c(await oe(n,o));return r.success?(await fetch(r.content.signedUrl,{method:s.PUT,headers:{"Content-Type":e.type},body:e}),{status:l.SUCCESS,message:"image uploaded successfully",content:r.content}):(console.error("response not success on handleUploadImage",{response:r}),{status:l.ERROR,message:"Ups, please try again",content:null})}catch(e){return console.error(e),{status:l.ERROR,message:"Ups, please try again",content:null}}},pe=async(e,t)=>{try{const{url:n,...o}=G.API_V2.file.publish({body:{contentType:e.type,folder:t}}),r=c(await oe(n,o));return r.success?(await fetch(r.content.signedUrl,{method:s.PUT,headers:{"Content-Type":e.type},body:e}),{status:l.SUCCESS,message:"image uploaded successfully",content:r.content}):(d("response not success on handleUploadImage",{response:r}),{status:l.ERROR,message:"Ups, please try again",content:null})}catch(e){return d(e),{status:l.ERROR,message:"Ups, please try again",content:null}}},ue=async(e,s,t)=>{const{url:n,...o}=G.API_V2.export.websiteToPdf({params:{url:e,footerTemplate:t?.footerTemplate?.split("\n").join(""),headerTemplate:t?.headerTemplate?.split("\n").join(""),format:t?.format,margin:t?.margin}}),r=c(await oe(n,o));if(!r.success)throw new Error("error on download pdf");await J("https://"+r.content.urlExportedPDF,s)},me=async(e,s,t)=>{const{url:n,...o}=G.API_V2.note.createPdf({body:{source:e,theme:s}}),a=await oe(n,{responseType:"blob",...o});if("string"==typeof a){if(u(a)){const e=JSON.parse(a);if(e.errors.length)throw new m(e.errors[0].code,{message:e.errors[0].detail})}throw new m(r.ERR9997,{message:"error generating the pdf"})}W(a,t)},ge=async(e,s,t)=>{const n=ne(),o=V()?window.location:new Location;d("Error to report",{error:e,errorInfo:s,location:o,visitorSessionId:n,data:t});try{const{url:r,...a}=G.API_V2.log.error({body:{location:o,visitorSessionId:n,errorName:e?.name||"",errorMessage:e?.message||"",errorStack:e?.stack||"",errorInfo:s,data:{error:e,...t||{}}}}),i=c(await oe(r,a));i.success?p("Error reported"):d("Error reported failed",{error:e,errorInfo:s,location:o,visitorSessionId:n,response:i})}catch(t){d("error on log error",{error:e,errorInfo:s,location:o,visitorSessionId:n,errorOnLog:t})}},he=e=>`jk-editor-settings-store/${e}`,Se=e=>`jk-problem-storage/${e}`,we=e=>`jk-sources-storage/${e}`,fe=e=>`jk-code-editor-settings-storage/${e}`,ye=e=>`jk-test-cases-storage/${e}`,be=(e,{statement:s,settings:t},n,o)=>{const r=(s?.description?.[n]||s?.description?.[h.EN]||s?.description?.[h.ES]||"").trim(),a=(s?.input[n]||s?.input[h.EN]||s?.input[h.ES]||"").trim(),i=(s?.output[n]||s?.output[h.EN]||s?.output[h.ES]||"").trim(),c=(s?.note?.[n]||s?.note?.[h.EN]||s?.note?.[h.ES]||"").trim(),l=s?.sampleCases||[],d=Object.values(t?.byProgrammingLanguage||{});return{statementDescription:r,statementInput:a,statementOutput:i,statementNote:c,mdStatement:`\n# \\textAlign=center ${o}\n\n\\textAlign=center **${e("type")}:** ${S[t?.type]?.label}, **${e("mode")}:** ${w[t?.scoringMode]?.label}\n\n|${e("language")}|${e("time limit")}|${e("memory limit")}|\n|--|--|--|\n| ${e("general")} | ${(t?.timeLimit/1e3).toFixed(1)} ${e("seconds")} | ${(t?.memoryLimit/1e3).toFixed(1)} ${e("MB")} |\n${d.map(s=>`| ${f[s.language]?.label} | ${(s?.timeLimit/1e3).toFixed(1)} ${e("seconds")} | ${(s?.memoryLimit/1e3).toFixed(1)} ${e("MB")}|`).join("\n")}\n\n# ${e("description")}\n\n${r}\n\n# ${e("input")}\n\n${a}\n\n# ${e("output")}\n\n${i}\n\n# ${e("subtasks description")}\n\n${t.scoringMode===y.SUBTASK?Object.values(t.pointsByGroups).map(s=>`### ${e("group")} ${s.group} (${s.points} ${e("points")})\n\n${s.description?.[n]}\n `).join("\n"):""}\n\n${l.map((s,t)=>`### ${e("input sample")} ${t+1}\n\`\`\`\n${s.input}\n\`\`\`\n### ${e("output sample")} ${t+1}\n\`\`\`\n${s.output}\n\`\`\`\n`).join("")}\n\n# ${e("note")}\n\n${c}\n`,shouldViewPDF:!(""!==r.trim()||""!==a.trim()||""!==i.trim()||""!==c.trim()||!s.pdfUrl[h.ES]&&!s.pdfUrl[h.EN])}},Ee=()=>V()&&("https://judge.juki.app"===window.location.origin||window.location.origin.endsWith(".jukijudge.com")||"http://localhost:3070"===window.location.origin),$e=(e,s)=>{if(Ee()||s===e)return"";let t=`https://${e}.jukijudge.com`;return e===b&&(t="https://judge.juki.app"),t},Ie=(e,s)=>{const t="function"==typeof e?e():e;return void 0!==s?Y(q,{children:t},s):t},Ue=(e,s,t)=>{const n="function"==typeof e?e(s):e;return void 0!==t?Y(q,{children:n},t):n},Re=e=>{let s="";return Object.entries(e).forEach(([e,t])=>{t&&(s&&(s+="&"),s+=`${e}=${encodeURIComponent(t.toString())}`)}),s},Te=e=>{let s="";return Object.entries(e).forEach(([e,t])=>{!s||-1!==t&&1!==t||(s+=E),-1===t&&(s+=encodeURIComponent(`-${e}`)),1===t&&(s+=encodeURIComponent(`+${e}`))}),s?"sort="+s:""},Ce=e=>{let s,t;if("string"==typeof e){const[n,o]=e.split("?");s=n||"",t=new URLSearchParams(o||"")}else s=e?.pathname||"",t=e?.searchParams||new URLSearchParams;const n=t.toString();return{pathname:s,searchParams:t,path:`${s}${n?"?"+n:""}`}},Ne=e=>"string"==typeof e?"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1)):"",je=(e,s,t,n,o,r)=>{const a=$(Math.max(e,0)),{showWeeks:i,showDays:c,showHours:l,showMinutes:d,showSeconds:p,showMilliseconds:u}=Q(s);for(i||(a[1].remaining+=a[0].milliseconds*a[0].remaining/a[1].milliseconds,a[1].label=1===a[1].remaining?"day":"days",a.shift(),c||(a[1].remaining+=a[0].milliseconds*a[0].remaining/a[1].milliseconds,a[1].label=1===a[1].remaining?"hour":"hours",a.shift(),l||(a[1].remaining+=a[0].milliseconds*a[0].remaining/a[1].milliseconds,a[1].label=1===a[1].remaining?"minute":"minutes",a.shift(),d||(a[1].remaining+=a[0].milliseconds*a[0].remaining/a[1].milliseconds,a[1].label=1===a[1].remaining?"second":"seconds",a.shift(),p||(a[1].remaining+=a[0].milliseconds*a[0].remaining/a[1].milliseconds,a[1].label=1===a[1].remaining?"millisecond":"milliseconds",a.shift()))))),u||(a.pop(),p||(a.pop(),d||(a.pop(),l||(a.pop(),c||a.pop()))));a.length>r&&(t||a.length>o)&&a.length&&0===a[0].remaining;)a.shift();for(;a.length>r&&(n||a.length>o)&&a.length&&0===a[a.length-1]?.remaining;)a.pop();for(;a.length>r&&a.length>o;)a.pop();return a};function _e(e){return I(e)||U(e)?R(T.CODE_RUN_STATUS,e.clientId,e.runId):C(e)||N(e)?R(T.SUBMISSION_RUN_STATUS,e.clientId,e.submitId):j(e)||_(e)?R(T.SEND_DATA_,e.clientId,e.dataId):A(e)||B(e)?R(T.USER_NOTIFICATION_,e.clientId,"*"):O(e)||M(e)?R(T.PROBLEM_CRAWLED,e.clientId,e.problemKey):k(e)||v(e)?R(T.SUBMISSIONS_CRAWL,e.clientId,P([e.contestKey,e.problemKeys])):L(e)||x(e)?R(T.CONTEST_CHANGES,e.clientId,e.contestKey):D(e)||F(e)?R(T.CLIENT_TRACK,e.clientId,"*"):""}function Ae(e){return I(e)?{...e,event:H.UNSUBSCRIBE_CODE_RUN_STATUS}:C(e)?{...e,event:H.UNSUBSCRIBE_SUBMISSION_RUN_STATUS}:j(e)?{...e,event:H.UNSUBSCRIBE_GET_DATA}:O(e)?{...e,event:H.UNSUBSCRIBE_PROBLEM_CRAWLED}:k(e)?{...e,event:H.UNSUBSCRIBE_SUBMISSIONS_CRAWL}:L(e)?{...e,event:H.UNSUBSCRIBE_CONTEST_CHANGES}:D(e)?{...e,event:H.UNSUBSCRIBE_CLIENT_TRACK}:A(e)?{...e,event:H.UNSUBSCRIBE_USER_NOTIFICATION}:e}export{le as A,Ie as B,ge as C,Z as D,Q as E,Re as F,Te as G,Ne as H,oe as a,je as b,X as c,me as d,ue as e,re as f,te as g,z as h,ee as i,he as j,ie as k,Ce as l,$e as m,_e as n,ce as o,Se as p,fe as q,Ue as r,we as s,be as t,ye as u,Ae as v,ne as w,pe as x,de as y,Ee as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{WORKSHEET_CODE_EDITOR_MIN_HEIGHT as t}from"./constants.js";const s=(s,n)=>"number"==typeof s&&!Number.isNaN(s)&&s>t?s+"px":Math.max(20*(n?.split("\n").length??0)+60,t);export{s as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as t,g as i,t as e,q as s,a,b as n,_ as o,l as h,K as r,e as l,z as c,E as g,i as u,G as x,H as d,L as p,M as f}from"./mermaid.core-C2hrg85i.js";import{b as m}from"./band-D2afako6.js";import{l as y}from"./linear-BnXjbO66.js";import{l as b}from"./string-LeDn2fkG.js";import"./index-EPJhFLhN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-B_OozOv-.js";import"./settings-BIQ7IqJl.js";import"./constants.js";import"./LoaderLayer-D9O7WqFD.js";import"./websocket-CxbYBjHT.js";import"./index-CODLgwqm.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"./purify.es-DBOWJxv3.js";import"./memoize-CPUrcYQl.js";import"./init-DLRA0X12.js";import"./ordinal-zwWoQKz9.js";import"./defaultLocale-HOdfsG1x.js";var A=function(){var t=o(function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],a=[1,5],n=[1,6],h=[1,7],r=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],c=[1,26],g=[1,28],u=[1,29],x=[1,30],d=[1,31],p=[1,32],f=[1,33],m=[1,34],y=[1,35],b=[1,36],A=[1,37],w=[1,43],S=[1,42],C=[1,47],k=[1,50],_=[1,10,12,14,16,18,19,21,23,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],R=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],D=[1,64],L={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:o(function(t,i,e,s,a,n,o){var h=n.length-1;switch(a){case 5:s.setOrientation(n[h]);break;case 9:s.setDiagramTitle(n[h].text.trim());break;case 12:s.setLineData({text:"",type:"text"},n[h]);break;case 13:s.setLineData(n[h-1],n[h]);break;case 14:s.setBarData({text:"",type:"text"},n[h]);break;case 15:s.setBarData(n[h-1],n[h]);break;case 16:this.$=n[h].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=n[h].trim(),s.setAccDescription(this.$);break;case 19:case 27:this.$=n[h-1];break;case 20:this.$=[Number(n[h-2]),...n[h]];break;case 21:this.$=[Number(n[h])];break;case 22:s.setXAxisTitle(n[h]);break;case 23:s.setXAxisTitle(n[h-1]);break;case 24:s.setXAxisTitle({type:"text",text:""});break;case 25:s.setXAxisBand(n[h]);break;case 26:s.setXAxisRangeData(Number(n[h-2]),Number(n[h]));break;case 28:this.$=[n[h-2],...n[h]];break;case 29:this.$=[n[h]];break;case 30:s.setYAxisTitle(n[h]);break;case 31:s.setYAxisTitle(n[h-1]);break;case 32:s.setYAxisTitle({type:"text",text:""});break;case 33:s.setYAxisRangeData(Number(n[h-2]),Number(n[h]));break;case 37:case 38:this.$={text:n[h],type:"text"};break;case 39:this.$={text:n[h],type:"markdown"};break;case 40:this.$=n[h];break;case 41:this.$=n[h-1]+""+n[h]}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:a,35:n,36:h}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:a,35:n,36:h}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:a,35:n,36:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(r,[2,34]),t(r,[2,35]),t(r,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:a,35:n,36:h}),{1:[2,3]},t(r,[2,5]),t(i,[2,7],{4:22,34:a,35:n,36:h}),{11:23,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:m,48:y,49:b,50:A},{11:39,13:38,24:w,27:S,29:40,30:41,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:m,48:y,49:b,50:A},{11:45,15:44,27:C,33:46,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:m,48:y,49:b,50:A},{11:49,17:48,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:m,48:y,49:b,50:A},{11:52,17:51,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:m,48:y,49:b,50:A},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(T,[2,37],{40:55,41:g,42:u,43:x,44:d,45:p,46:f,47:m,48:y,49:b,50:A}),t(T,[2,38]),t(T,[2,39]),t(R,[2,40]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(_,[2,10]),t(_,[2,22],{30:41,29:56,24:w,27:S}),t(_,[2,24]),t(_,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:m,48:y,49:b,50:A},t(_,[2,11]),t(_,[2,30],{33:60,27:C}),t(_,[2,32]),{31:[1,61]},t(_,[2,12]),{17:62,24:k},{25:63,27:D},t(_,[2,14]),{17:65,24:k},t(_,[2,16]),t(_,[2,17]),t(R,[2,41]),t(_,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(_,[2,31]),{27:[1,69]},t(_,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(_,[2,15]),t(_,[2,26]),t(_,[2,27]),{11:59,32:72,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:m,48:y,49:b,50:A},t(_,[2,33]),t(_,[2,19]),{25:73,27:D},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:o(function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},"parseError"),parse:o(function(t){var i=this,e=[0],s=[],a=[null],n=[],h=this.table,r="",l=0,c=0,g=n.slice.call(arguments,1),u=Object.create(this.lexer),x={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(x.yy[d]=this.yy[d]);u.setInput(t,x.yy),x.yy.lexer=u,x.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var p=u.yylloc;n.push(p);var f=u.options&&u.options.ranges;function m(){var t;return"number"!=typeof(t=s.pop()||u.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}"function"==typeof x.yy.parseError?this.parseError=x.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,o(function(t){e.length=e.length-2*t,a.length=a.length-t,n.length=n.length-t},"popStack"),o(m,"lex");for(var y,b,A,w,S,C,k,_,T={};;){if(b=e[e.length-1],this.defaultActions[b]?A=this.defaultActions[b]:(null==y&&(y=m()),A=h[b]&&h[b][y]),void 0===A||!A.length||!A[0]){var R="";for(S in _=[],h[b])this.terminals_[S]&&S>2&&_.push("'"+this.terminals_[S]+"'");R=u.showPosition?"Parse error on line "+(l+1)+":\n"+u.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(R,{text:u.match,token:this.terminals_[y]||y,line:u.yylineno,loc:p,expected:_})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+y);switch(A[0]){case 1:e.push(y),a.push(u.yytext),n.push(u.yylloc),e.push(A[1]),y=null,c=u.yyleng,r=u.yytext,l=u.yylineno,p=u.yylloc;break;case 2:if(C=this.productions_[A[1]][1],T.$=a[a.length-C],T._$={first_line:n[n.length-(C||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(C||1)].first_column,last_column:n[n.length-1].last_column},f&&(T._$.range=[n[n.length-(C||1)].range[0],n[n.length-1].range[1]]),void 0!==(w=this.performAction.apply(T,[r,c,l,x.yy,A[1],a,n].concat(g))))return w;C&&(e=e.slice(0,-1*C*2),a=a.slice(0,-1*C),n=n.slice(0,-1*C)),e.push(this.productions_[A[1]][0]),a.push(T.$),n.push(T._$),k=h[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0},"parse")},P=function(){return{EOF:1,parseError:o(function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},"parseError"),setInput:o(function(t,i){return this.yy=i||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:o(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:o(function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=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),e.length-1&&(this.yylineno-=e.length-1);var a=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:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(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:o(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:o(function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:o(function(t,i){var e,s,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;var t,i,e,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;n<a.length;n++)if((e=this._input.match(this.rules[a[n]]))&&(!i||e[0].length>i[0].length)){if(i=e,s=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,a[n])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,a[s]))&&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:o(function(){var t=this.next();return t||this.lex()},"lex"),begin:o(function(t){this.conditionStack.push(t)},"begin"),popState:o(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(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:o(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:o(function(t){this.begin(t)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(t,i,e,s){switch(e){case 0:case 1:case 5:case 44:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 26:case 28:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";case 18:return this.pushState("axis_data"),"Y_AXIS";case 19:return this.pushState("axis_band_data"),24;case 20:return 31;case 21:return this.pushState("data"),16;case 22:return this.pushState("data"),18;case 23:return this.pushState("data_inner"),24;case 24:return 27;case 25:return this.popState(),26;case 27:this.pushState("string");break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 43;case 33:return"COLON";case 34:return 44;case 35:return 28;case 36:return 45;case 37:return 46;case 38:return 48;case 39:return 50;case 40:return 47;case 41:return 41;case 42:return 49;case 43:return 42;case 45:return 35;case 46:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}}}();function E(){this.yy={}}return L.lexer=P,o(E,"Parser"),E.prototype=L,L.Parser=E,new E}();A.parser=A;var w=A;function S(t){return"bar"===t.type}function C(t){return"band"===t.type}function k(t){return"linear"===t.type}o(S,"isBarPlot"),o(C,"isBandAxisData"),o(k,"isLinearAxisData");var _=class{constructor(t){this.parentGroup=t}static{o(this,"TextDimensionCalculatorWithFont")}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((t,i)=>Math.max(i.length,t),0)*i,height:i};const e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const a of t){const t=f(s,1,a),n=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,n),e.height=Math.max(e.height,o)}return s.remove(),e}},T=class{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{o(this,"BaseAxis")}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);const a=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,a<=i&&(i-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);const a=e.width+2*this.axisConfig.labelPadding;a<=i&&(i-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},R=class extends T{static{o(this,"BandAxis")}constructor(t,i,e,s,a){super(t,s,a,i),this.categories=e,this.scale=m().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=m().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),h.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},D=class extends T{static{o(this,"LinearAxis")}constructor(t,i,e,s,a){super(t,s,a,i),this.domain=e,this.scale=y().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=y().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}};function L(t,i,e,s){const a=new _(s);return C(t)?new R(i,e,t.categories,t.title,a):new D(i,e,[t.min,t.max],t.title,a)}o(L,"getAxis");var P=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{o(this,"ChartTitle")}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}};function E(t,i,e,s){const a=new _(s);return new P(a,t,i,e)}o(E,"getChartTitleComponent");var v=class{constructor(t,i,e,s,a){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=a}static{o(this,"LinePlot")}getDrawableElement(){const t=this.plotData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]);let i;return i="horizontal"===this.orientation?b().y(t=>t[0]).x(t=>t[1])(t):b().x(t=>t[0]).y(t=>t[1])(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},M=class{constructor(t,i,e,s,a,n){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=a,this.plotIndex=n}static{o(this,"BarPlot")}getDrawableElement(){const t=this.barData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},I=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}static{o(this,"BasePlot")}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!this.xAxis||!this.yAxis)throw Error("Axes must be passed to render Plots");const t=[];for(const[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{const s=new v(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{const s=new M(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}};function $(t,i,e){return new I(t,i,e)}o($,"getPlotComponent");var B,z=class{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:E(t,i,e,s),plot:$(t,i,e),xAxis:L(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:L(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}static{o(this,"Orchestrator")}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),n=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:n});t-=o.width,i-=o.height,o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=o.height,i-=o.height,this.componentStore.xAxis.setAxisPosition("bottom"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=o.height,this.componentStore.yAxis.setAxisPosition("left"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),e=o.width,t-=o.width,t>0&&(a+=t,t=0),i>0&&(n+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:n}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+a]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+n}),this.componentStore.yAxis.setRange([s,s+n]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some(t=>S(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,a=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),o=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:n,height:o});t-=h.width,i-=h.height,h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),e=h.height,i-=h.height,this.componentStore.xAxis.setAxisPosition("left"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=h.width,s=h.width,this.componentStore.yAxis.setAxisPosition("top"),h=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=h.height,a=e+h.height,t>0&&(n+=t,t=0),i>0&&(o+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:o}),this.componentStore.plot.setBoundingBoxXY({x:s,y:a}),this.componentStore.yAxis.setRange([s,s+n]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([a,a+o]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some(t=>S(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}},O=class{static{o(this,"XYChartBuilder")}static build(t,i,e,s){return new z(t,i,e,s).getDrawableElement()}},W=0,F=U(),X=H(),N=G(),V=X.plotColorPalette.split(",").map(t=>t.trim()),Y=!1,j=!1;function H(){const t=p(),i=g();return x(t.xyChart,i.themeVariables.xyChart)}function U(){const t=g();return x(d.xyChart,t.xyChart)}function G(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function Q(t){const i=g();return u(t.trim(),i)}function K(t){B=t}function J(t){F.chartOrientation="horizontal"===t?"horizontal":"vertical"}function q(t){N.xAxis.title=Q(t.text)}function Z(t,i){N.xAxis={type:"linear",title:N.xAxis.title,min:t,max:i},Y=!0}function tt(t){N.xAxis={type:"band",title:N.xAxis.title,categories:t.map(t=>Q(t.text))},Y=!0}function it(t){N.yAxis.title=Q(t.text)}function et(t,i){N.yAxis={type:"linear",title:N.yAxis.title,min:t,max:i},j=!0}function st(t){const i=Math.min(...t),e=Math.max(...t),s=k(N.yAxis)?N.yAxis.min:1/0,a=k(N.yAxis)?N.yAxis.max:-1/0;N.yAxis={type:"linear",title:N.yAxis.title,min:Math.min(s,i),max:Math.max(a,e)}}function at(t){let i=[];if(0===t.length)return i;if(!Y){const i=k(N.xAxis)?N.xAxis.min:1/0,e=k(N.xAxis)?N.xAxis.max:-1/0;Z(Math.min(i,1),Math.max(e,t.length))}if(j||st(t),C(N.xAxis)&&(i=N.xAxis.categories.map((i,e)=>[i,t[e]])),k(N.xAxis)){const e=N.xAxis.min,s=N.xAxis.max,a=(s-e)/(t.length-1),n=[];for(let t=e;t<=s;t+=a)n.push(`${t}`);i=n.map((i,e)=>[i,t[e]])}return i}function nt(t){return V[0===t?0:t%V.length]}function ot(t,i){const e=at(i);N.plots.push({type:"line",strokeFill:nt(W),strokeWidth:2,data:e}),W++}function ht(t,i){const e=at(i);N.plots.push({type:"bar",fill:nt(W),data:e}),W++}function rt(){if(0===N.plots.length)throw Error("No Plot to render, please provide a plot with some data");return N.title=e(),O.build(F,N,X,B)}function lt(){return X}function ct(){return F}function gt(){return N}o(H,"getChartDefaultThemeConfig"),o(U,"getChartDefaultConfig"),o(G,"getChartDefaultData"),o(Q,"textSanitizer"),o(K,"setTmpSVGG"),o(J,"setOrientation"),o(q,"setXAxisTitle"),o(Z,"setXAxisRangeData"),o(tt,"setXAxisBand"),o(it,"setYAxisTitle"),o(et,"setYAxisRangeData"),o(st,"setYAxisRangeFromPlotData"),o(at,"transformDataWithoutCategory"),o(nt,"getPlotColorFromPalette"),o(ot,"setLineData"),o(ht,"setBarData"),o(rt,"getDrawableElem"),o(lt,"getChartThemeConfig"),o(ct,"getChartConfig"),o(gt,"getXYChartData");var ut={parser:w,db:{getDrawableElem:rt,clear:o(function(){c(),W=0,F=U(),N={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},X=H(),V=X.plotColorPalette.split(",").map(t=>t.trim()),Y=!1,j=!1},"clear"),setAccTitle:n,getAccTitle:a,setDiagramTitle:s,getDiagramTitle:e,getAccDescription:i,setAccDescription:t,setOrientation:J,setXAxisTitle:q,setXAxisRangeData:Z,setXAxisBand:tt,setYAxisTitle:it,setYAxisRangeData:et,setLineData:ot,setBarData:ht,setTmpSVGG:K,getChartThemeConfig:lt,getChartConfig:ct,getXYChartData:gt},renderer:{draw:o((t,i,e,s)=>{const a=s.db,n=a.getChartThemeConfig(),c=a.getChartConfig(),g=a.getXYChartData().plots[0].data.map(t=>t[1]);function u(t){return"top"===t?"text-before-edge":"middle"}function x(t){return"left"===t?"start":"right"===t?"end":"middle"}function d(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}o(u,"getDominantBaseLine"),o(x,"getTextAnchor"),o(d,"getTextTransformation"),h.debug("Rendering xychart chart\n"+t);const p=r(i),f=p.append("g").attr("class","main"),m=f.append("rect").attr("width",c.width).attr("height",c.height).attr("class","background");l(p,c.height,c.width,!0),p.attr("viewBox",`0 0 ${c.width} ${c.height}`),m.attr("fill",n.backgroundColor),a.setTmpSVGG(p.append("g").attr("class","mermaid-tmp-group"));const y=a.getDrawableElem(),b={};function A(t){let i=f,e="";for(const[s]of t.entries()){let a=f;s>0&&b[e]&&(a=b[e]),e+=t[s],i=b[e],i||(i=b[e]=a.append("g").attr("class",t[s]))}return i}o(A,"getGroup");for(const t of y){if(0===t.data.length)continue;const i=A(t.groupTexts);switch(t.type){case"rect":if(i.selectAll("rect").data(t.data).enter().append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth),c.showDataLabel){const e=c.showDataLabelOutsideBar;if("horizontal"===c.chartOrientation){let s=function(t,i){const{data:e,label:s}=t;return i*s.length*a<=e.width-h};o(s,"fitsHorizontally");const a=.7,h=10,r=t.data.map((t,i)=>({data:t,label:g[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),l=r.map(t=>{const{data:i}=t;let e=.7*i.height;for(;!s(t,e)&&e>0;)e-=1;return e}),c=Math.floor(Math.min(...l)),u=o(t=>e?t.data.x+t.data.width+h:t.data.x+t.data.width-h,"determineLabelXPosition");i.selectAll("text").data(r).enter().append("text").attr("x",u).attr("y",t=>t.data.y+t.data.height/2).attr("text-anchor",e?"start":"end").attr("dominant-baseline","middle").attr("fill",n.dataLabelColor).attr("font-size",`${c}px`).text(t=>t.label)}else{let s=function(t,i,e){const{data:s,label:a}=t,n=i*a.length*.7,o=s.x+s.width/2,h=o+n/2,r=o-n/2>=s.x&&h<=s.x+s.width,l=s.y+e+i<=s.y+s.height;return r&&l};o(s,"fitsInBar");const a=10,h=t.data.map((t,i)=>({data:t,label:g[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),r=h.map(t=>{const{data:i,label:e}=t;let n=i.width/(.7*e.length);for(;!s(t,n,a)&&n>0;)n-=1;return n}),l=Math.floor(Math.min(...r)),c=o(t=>e?t.data.y-a:t.data.y+a,"determineLabelYPosition");i.selectAll("text").data(h).enter().append("text").attr("x",t=>t.data.x+t.data.width/2).attr("y",c).attr("text-anchor","middle").attr("dominant-baseline",e?"auto":"hanging").attr("fill",n.dataLabelColor).attr("font-size",`${l}px`).text(t=>t.label)}}break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>u(t.verticalPos)).attr("text-anchor",t=>x(t.horizontalPos)).attr("transform",t=>d(t)).text(t=>t.text);break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",t=>t.path).attr("fill",t=>t.fill?t.fill:"none").attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth)}}},"draw")}};export{ut as diagram};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentPropsWithRef, type ReactElement, type Ref } from 'react';
|
|
2
2
|
import type { ButtonBasicProps, OnClickButtonEventType } from '../../types';
|
|
3
|
-
export declare
|
|
3
|
+
export declare const Button: (p: ButtonCmpProps & {
|
|
4
4
|
ref?: Ref<HTMLButtonElement>;
|
|
5
|
-
})
|
|
5
|
+
}) => ReactElement;
|
|
6
6
|
interface ButtonCmpProps extends ButtonBasicProps {
|
|
7
7
|
withIconTransition?: boolean;
|
|
8
8
|
onClick?: (props: OnClickButtonEventType) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
export type ClientProps = PropsWithChildren;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IconProps } from '../server/icons/types';
|
|
3
3
|
export interface CopyToClipboardProps {
|
|
4
4
|
text: string;
|
|
5
5
|
iconSize?: IconProps['size'];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DetectRequestAnimationFrameProps } from './types';
|
|
2
2
|
export declare function DetectRequestAnimationFrame({ name }: DetectRequestAnimationFrameProps): null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { DivProps } from './types';
|
|
2
|
-
export declare
|
|
2
|
+
export declare const Div: import("react").ForwardRefExoticComponent<Omit<DivProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { type ReactElement, type Ref } from 'react';
|
|
1
|
+
import { type ComponentPropsWithRef, type ReactElement, type Ref } from 'react';
|
|
2
2
|
import type { InputCommonsProps } from '../../types';
|
|
3
3
|
export type CmpInputProps<T> = InputCommonsProps<T>;
|
|
4
|
-
export declare
|
|
4
|
+
export declare const InputBase: <T>(p: InputProps<T> & {
|
|
5
5
|
inputId: string;
|
|
6
6
|
ref?: Ref<HTMLInputElement>;
|
|
7
|
-
})
|
|
8
|
-
export declare
|
|
7
|
+
}) => ReactElement;
|
|
8
|
+
export declare const Input: <T>(p: CmpInputProps<T> & {
|
|
9
9
|
ref?: Ref<HTMLInputElement>;
|
|
10
|
-
})
|
|
11
|
-
export type InputProps<T> =
|
|
12
|
-
ref?: Ref<HTMLInputElement>;
|
|
13
|
-
};
|
|
10
|
+
}) => ReactElement;
|
|
11
|
+
export type InputProps<T> = ComponentPropsWithRef<typeof Input<T>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type UseFormRegisterReturn, type UseFormSetValue } from 'react-hook-form';
|
|
3
3
|
import type { ButtonSizeType, ButtonType, ReactNodeOrFunctionType } from '../../types';
|
|
4
4
|
import type { SelectOption2Type, SelectProps } from '../Select/types';
|
|
5
5
|
import type { TextAreaProps } from '../TextArea/types';
|
|
6
|
-
import
|
|
6
|
+
import { InputProps } from './Input';
|
|
7
7
|
export interface InputCheckboxProps {
|
|
8
8
|
name?: string;
|
|
9
9
|
onChange?: (newValue: boolean) => void;
|
|
@@ -28,7 +28,7 @@ export type InputSelectProps<T, U extends ReactNodeOrFunctionType, V extends Rea
|
|
|
28
28
|
selectedOption?: SelectOption2Type<T, U, V>;
|
|
29
29
|
} & {
|
|
30
30
|
register?: UseFormRegisterReturn & {
|
|
31
|
-
setValue: UseFormSetValue<
|
|
31
|
+
setValue: UseFormSetValue<any>;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
export type InputTextAreaProps = Omit<InputProps<string>, 'type'> & TextAreaProps;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { KeyboardEvent as ReactKeyboardEvent, MouseEvent, PropsWithChildren } from 'react';
|
|
2
|
+
import { ButtonLoaderOnClickType, LoaderStatusOnClickType, SetLoaderStatusOnClickType } from '../../types';
|
|
3
3
|
export type OnClickModalEventType = {
|
|
4
4
|
overlayOnClickEvent?: MouseEvent<HTMLDivElement>;
|
|
5
5
|
closeButtonOnClickEvent?: MouseEvent<HTMLDivElement | HTMLButtonElement>;
|
|
6
6
|
onKeyDownEvent?: KeyboardEvent | ReactKeyboardEvent;
|
|
7
|
-
fetcherLayerErrorEvent?:
|
|
7
|
+
fetcherLayerErrorEvent?: any;
|
|
8
8
|
};
|
|
9
9
|
export type ModalButtonLoaderEventType = ButtonLoaderOnClickType<OnClickModalEventType>;
|
|
10
10
|
export interface BasicModalProps<T extends ModalButtonLoaderEventType = () => void> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
export type PortalProps = PropsWithChildren;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
2
|
export interface TProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
children: string;
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
}
|
|
7
|
-
export type { Dict } from './shared';
|
|
8
|
-
export interface I18nContextValue {
|
|
9
|
-
locale: string;
|
|
10
|
-
dict: import('./shared').Dict;
|
|
11
|
-
dicts: Record<string, import('./shared').Dict>;
|
|
12
|
-
}
|
|
13
|
-
export interface I18nProviderProps {
|
|
14
|
-
locale: string;
|
|
15
|
-
dicts: Record<string, import('./shared').Dict>;
|
|
16
|
-
children?: import('react').ReactNode;
|
|
17
|
-
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
3
|
-
export declare
|
|
1
|
+
import { type ComponentPropsWithRef, type CSSProperties, type ReactElement, type Ref } from 'react';
|
|
2
|
+
import { type UseFormRegisterReturn } from 'react-hook-form';
|
|
3
|
+
export declare const TextArea: (p: CmpTextAreaProps & {
|
|
4
4
|
ref?: Ref<HTMLTextAreaElement>;
|
|
5
|
-
})
|
|
5
|
+
}) => ReactElement;
|
|
6
6
|
interface CmpTextAreaProps {
|
|
7
7
|
value?: string;
|
|
8
8
|
onChange?: (value: string) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import type { ReactNodeOrFunctionP1Type } from '../../../types';
|
|
3
|
-
import
|
|
3
|
+
import { ExpandLessIcon } from '../../server';
|
|
4
4
|
export interface CollapseProps {
|
|
5
5
|
showContent?: boolean;
|
|
6
6
|
onChangeShowContent?: (showContent: boolean) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { InputProps } from '../../Input/Input';
|
|
2
2
|
export type InputCellPhoneNumberProps = Omit<InputProps<string>, 'type'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import { type Placement } from '@floating-ui/react';
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
3
3
|
import type { ReactNodeOrFunctionP1Type, TriggerOnActionsType } from '../../../types';
|
|
4
4
|
export interface PopoverProps {
|
|
5
5
|
content: ReactNodeOrFunctionP1Type<{
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
export { Collapse } from './_lazy_/Collapse';
|
|
2
|
-
export { InputCellPhoneNumber } from './_lazy_/InputCellPhoneNumber';
|
|
3
|
-
export { Popover } from './_lazy_/Popover';
|
|
4
|
-
export { Tooltip } from './_lazy_/Tooltip';
|
|
5
|
-
export { VirtualizedRowsFixed } from './_lazy_/VirtualizedRowsFixed';
|
|
6
1
|
export { Button } from './Button/Button';
|
|
7
2
|
export { Client } from './Client/Client';
|
|
8
3
|
export { CopyToClipboard } from './CopyToClipboard/CopyToClipboard';
|
|
4
|
+
export { DateLiteral } from './DateLiteral/DateLiteral';
|
|
9
5
|
export { DetectRequestAnimationFrame } from './DetectRequestAnimationFrame/DetectRequestAnimationFrame';
|
|
10
6
|
export { Div } from './Div/Div';
|
|
11
7
|
export { Input } from './Input/Input';
|
|
@@ -19,6 +15,10 @@ export { Modal } from './Modal/Modal';
|
|
|
19
15
|
export { MultiSelect } from './MultiSelect/MultiSelect';
|
|
20
16
|
export { Portal } from './Portal/Portal';
|
|
21
17
|
export { Select } from './Select/Select';
|
|
22
|
-
export { I18nProvider, useDict, useI18n, useLocale, useT } from './T/client';
|
|
23
18
|
export { T } from './T/T';
|
|
24
19
|
export { TextArea } from './TextArea/TextArea';
|
|
20
|
+
export { Collapse } from './_lazy_/Collapse';
|
|
21
|
+
export { InputCellPhoneNumber } from './_lazy_/InputCellPhoneNumber';
|
|
22
|
+
export { Popover } from './_lazy_/Popover';
|
|
23
|
+
export { Tooltip } from './_lazy_/Tooltip';
|
|
24
|
+
export { VirtualizedRowsFixed } from './_lazy_/VirtualizedRowsFixed';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { SpinIcon } from './index';
|
|
3
3
|
export type SpinIconProps = ComponentPropsWithRef<typeof SpinIcon>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AccountCircleIcon } from './AccountCircleIcon';
|
|
2
1
|
export { AcUnitIcon } from './AcUnitIcon';
|
|
2
|
+
export { AccountCircleIcon } from './AccountCircleIcon';
|
|
3
3
|
export { AcuteIcon } from './AcuteIcon';
|
|
4
4
|
export { AddColumnLeftIcon } from './AddColumnLeftIcon';
|
|
5
5
|
export { AddColumnRightIcon } from './AddColumnRightIcon';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AccountCircleIcon } from './AccountCircleIcon';
|
|
2
1
|
export { AcUnitIcon } from './AcUnitIcon';
|
|
2
|
+
export { AccountCircleIcon } from './AccountCircleIcon';
|
|
3
3
|
export { AcuteIcon } from './AcuteIcon';
|
|
4
4
|
export { AddColumnLeftIcon } from './AddColumnLeftIcon';
|
|
5
5
|
export { AddColumnRightIcon } from './AddColumnRightIcon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import type { IconProps } from '../../types';
|
|
3
3
|
export declare const BalloonIcon: ({ size, className, percent, children, ...props }: PropsWithChildren<IconProps & {
|
|
4
4
|
percent?: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { BalloonIcon } from './index';
|
|
3
3
|
export type BalloonIconProps = ComponentPropsWithRef<typeof BalloonIcon>;
|
package/dist/module-types/src/components/atoms/server/icons/specials/FacebookIcon/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { FacebookIcon } from './index';
|
|
3
3
|
export type FacebookIconProps = ComponentPropsWithRef<typeof FacebookIcon>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { GmailIcon } from './index';
|
|
3
3
|
export type GmailIconProps = ComponentPropsWithRef<typeof GmailIcon>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { SortIcon } from './index';
|
|
3
3
|
export type SortIconProps = ComponentPropsWithRef<typeof SortIcon>;
|
package/dist/module-types/src/components/atoms/server/icons/specials/TelegramIcon/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { TelegramIcon } from './index';
|
|
3
3
|
export type TelegramIconProps = ComponentPropsWithRef<typeof TelegramIcon>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
1
|
+
export * from './types';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export * from './types';
|
|
5
|
+
export * from './types';
|
|
6
|
+
export * from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties, MouseEventHandler } from 'react';
|
|
2
2
|
export interface RootIconProps {
|
|
3
3
|
color: string;
|
|
4
4
|
width: number;
|
|
@@ -14,31 +14,31 @@ export interface IconProps {
|
|
|
14
14
|
letterSize?: number;
|
|
15
15
|
color?: string;
|
|
16
16
|
}
|
|
17
|
-
type
|
|
17
|
+
type locked = never | false | undefined;
|
|
18
18
|
export type SignIconProps = (IconProps & {
|
|
19
19
|
rotate?: number;
|
|
20
20
|
}) & ({
|
|
21
21
|
circle: true;
|
|
22
|
-
square?:
|
|
23
|
-
filledCircle?:
|
|
24
|
-
filledSquare?:
|
|
22
|
+
square?: locked;
|
|
23
|
+
filledCircle?: locked;
|
|
24
|
+
filledSquare?: locked;
|
|
25
25
|
} | {
|
|
26
|
-
circle?:
|
|
26
|
+
circle?: locked;
|
|
27
27
|
square: true;
|
|
28
|
-
filledCircle?:
|
|
29
|
-
filledSquare?:
|
|
28
|
+
filledCircle?: locked;
|
|
29
|
+
filledSquare?: locked;
|
|
30
30
|
} | {
|
|
31
|
-
circle?:
|
|
32
|
-
square?:
|
|
31
|
+
circle?: locked;
|
|
32
|
+
square?: locked;
|
|
33
33
|
filledCircle: true | string;
|
|
34
|
-
filledSquare?:
|
|
34
|
+
filledSquare?: locked;
|
|
35
35
|
} | {
|
|
36
|
-
circle?:
|
|
37
|
-
square?:
|
|
38
|
-
filledCircle?:
|
|
36
|
+
circle?: locked;
|
|
37
|
+
square?: locked;
|
|
38
|
+
filledCircle?: locked;
|
|
39
39
|
filledSquare?: true | string;
|
|
40
40
|
});
|
|
41
|
-
export type BasicIconProps = SignIconProps & {
|
|
41
|
+
export type BasicIconProps = (SignIconProps & {
|
|
42
42
|
strikethrough?: boolean;
|
|
43
|
-
};
|
|
43
|
+
});
|
|
44
44
|
export {};
|
|
@@ -4,5 +4,5 @@ interface CircleFilledFrameProps {
|
|
|
4
4
|
strokeWidth?: number;
|
|
5
5
|
sizeBox?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const CircleFilledFrame: ({ cx, cy, sizeBox }: CircleFilledFrameProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const CircleFilledFrame: ({ cx, cy, sizeBox, }: CircleFilledFrameProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|