@marimo-team/islands 0.22.1-dev22 → 0.22.1-dev23
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/{ConnectedDataExplorerComponent-iT7t3FxV.js → ConnectedDataExplorerComponent-B5oZf6LB.js} +54 -54
- package/dist/{_basePickBy-QjOmBDRE.js → _basePickBy-CsPbmRlg.js} +5 -5
- package/dist/{_baseSet-xgn1IbGV.js → _baseSet-Cs7YTRXk.js} +3 -3
- package/dist/{_baseUniq-B4eL5sTC.js → _baseUniq--7il0Js0.js} +3 -3
- package/dist/{any-language-editor-CT_9yBde.js → any-language-editor-BHH_pQ6M.js} +21 -21
- package/dist/architecture-7HQA4BMR-CSK94-xM.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-vxgYGIMP.js → architectureDiagram-VXUJARFQ-Cw5_EP5P.js} +15 -15
- package/dist/{arrays-Du-jRBAy.js → arrays-beUWo8RF.js} +1 -1
- package/dist/{blockDiagram-VD42YOAC-C7x6YTH7.js → blockDiagram-VD42YOAC-BiuOHEQv.js} +7 -7
- package/dist/{button-qsiIHncQ.js → button-DNlNlZY_.js} +82 -84
- package/dist/{c4Diagram-YG6GDRKO-Cx4oseGg.js → c4Diagram-YG6GDRKO-CZSU4uqU.js} +4 -4
- package/dist/{capabilities-26mwv03y.js → capabilities-Coe9eM9T.js} +2 -2
- package/dist/{channel-C_50jIAn.js → channel-X3JKk8gE.js} +1 -1
- package/dist/{chat-ui-C1HWLRKN.js → chat-ui-MFxd7AGf.js} +147 -146
- package/dist/{check-D_YwHEgY.js → check-CWUkiHmb.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-Dvo_CFnR.js → chunk-4F5CHEZ2-B0Jbisw2.js} +1 -1
- package/dist/{chunk-ABZYJK2D-D5YIs71w.js → chunk-ABZYJK2D-CZYCCtLy.js} +1 -1
- package/dist/{chunk-ATLVNIR6-CyOjzOcf.js → chunk-ATLVNIR6-DaOzLLgN.js} +1 -1
- package/dist/{chunk-B2363JML-BzZqINRO.js → chunk-B2363JML-mJ3Q9WfR.js} +1 -1
- package/dist/{chunk-B4BG7PRW-ZJeV3KdD.js → chunk-B4BG7PRW-C4MiRcFI.js} +4 -4
- package/dist/{chunk-DI55MBZ5-Dx_wwX6l.js → chunk-DI55MBZ5-CMx27S12.js} +4 -4
- package/dist/{chunk-EXTU4WIE-CgefpSXQ.js → chunk-EXTU4WIE-jUPSAk3i.js} +1 -1
- package/dist/{chunk-FRFDVMJY-Derq8UzY.js → chunk-FRFDVMJY-IPSTV3Ua.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-CcIOIFpc.js → chunk-JA3XYJ7Z-BcPEfxk_.js} +2 -2
- package/dist/{chunk-JZLCHNYA-CgO0GG1p.js → chunk-JZLCHNYA-2bnLL3xL.js} +4 -4
- package/dist/{chunk-N4CR4FBY-2qzGzAxT.js → chunk-N4CR4FBY-DYub3dan.js} +5 -5
- package/dist/{chunk-PL6DKKU2-KoG71Zin.js → chunk-PL6DKKU2-DZiAP4HM.js} +1 -1
- package/dist/{chunk-QN33PNHL-Dp1qBo28.js → chunk-QN33PNHL-B9p5ojHB.js} +1 -1
- package/dist/{chunk-QXUST7PY-BxmmeIwf.js → chunk-QXUST7PY-Ch6F5Obl.js} +5 -5
- package/dist/{chunk-S3R3BYOJ-D3Rys9ZW.js → chunk-S3R3BYOJ-B0UOFJwq.js} +3 -3
- package/dist/{chunk-SJTYNZTY-Co-DhKAG.js → chunk-SJTYNZTY-s-hMTFeC.js} +1 -1
- package/dist/{chunk-TCCFYFTB-BAhzIqBO.js → chunk-TCCFYFTB-D7iQP6Bp.js} +7 -7
- package/dist/{chunk-TQ3KTPDO-DxYI735Z.js → chunk-TQ3KTPDO-BmFTqg51.js} +1 -1
- package/dist/{chunk-TZMSLE5B-Dxumt0wv.js → chunk-TZMSLE5B-D45397J2.js} +1 -1
- package/dist/{chunk-UMXZTB3W-CuahpKin.js → chunk-UMXZTB3W-AUirFhbD.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CYoFMQKE.js → classDiagram-2ON5EDUG-BJCfK6hn.js} +10 -10
- package/dist/{classDiagram-2ON5EDUG-DkOvXRlx.js → classDiagram-v2-WZHVMYZB-aaIrLBHp.js} +10 -10
- package/dist/{clone-DDndUqI0.js → clone-BsAy1q8B.js} +1 -1
- package/dist/{constants-D1Am36hX.js → constants-CMDkKrpC.js} +3 -3
- package/dist/{copy-CBo9JcJW.js → copy-B7781WJ3.js} +2 -2
- package/dist/{dagre-6UL2VRFP-BXBaU8PB.js → dagre-6UL2VRFP-CLYtUWgC.js} +12 -12
- package/dist/{dagre-D3dlYz-r.js → dagre-oeMGMQA0.js} +10 -10
- package/dist/{data-grid-overlay-editor-nZux6_d2.js → data-grid-overlay-editor-lKF301ME.js} +1 -1
- package/dist/{diagram-PSM6KHXK-CJxjk4LG.js → diagram-PSM6KHXK-D_6t-W86.js} +16 -16
- package/dist/{diagram-QEK2KX5R-IMILPh_p.js → diagram-QEK2KX5R-DyPwbpot.js} +14 -14
- package/dist/{diagram-S2PKOQOG-6O0g6Boj.js → diagram-S2PKOQOG-nwsLe-2u.js} +14 -14
- package/dist/{dist-BkXs8bw0.js → dist--6TSlp8H.js} +1 -1
- package/dist/dist-7K5doRvB.js +6 -0
- package/dist/{dist-CQidOwep.js → dist-B43sbpd0.js} +3 -3
- package/dist/dist-B6I_A2-E.js +8 -0
- package/dist/dist-BEQsmaZY.js +5 -0
- package/dist/dist-BasY2RHp.js +8 -0
- package/dist/{dist-BemtTYzN.js → dist-Bfp1XXWt.js} +5 -5
- package/dist/{dist-v-1kgqZ3.js → dist-BjDuO5JW.js} +1 -1
- package/dist/dist-Bosc00dY.js +5 -0
- package/dist/{dist-DLNKBPsk.js → dist-BrxqmS9Q.js} +4 -4
- package/dist/{dist-DBYL08Lu.js → dist-BvhGByxL.js} +4 -4
- package/dist/{dist-CVqlhD3M.js → dist-C4bq5Ioy.js} +2 -2
- package/dist/{dist-DwmxBUOe.js → dist-CFKdzOIu.js} +2 -2
- package/dist/{dist-5nTQE2yt.js → dist-CIB8w0Fl.js} +2 -2
- package/dist/{dist-C-EcLtO9.js → dist-CNF0QBLR.js} +1 -1
- package/dist/dist-CQMZOn-_.js +8 -0
- package/dist/dist-CViQhWZ8.js +5 -0
- package/dist/{dist-Dg65j0em.js → dist-CcMfr7jD.js} +1 -1
- package/dist/{dist-C0XYIHKJ.js → dist-Ci0CXEFt.js} +1 -1
- package/dist/dist-Cz6rLfwY.js +5 -0
- package/dist/dist-D8eq8st3.js +6 -0
- package/dist/{dist-qoCY8giM.js → dist-DAfcmt-d.js} +2 -2
- package/dist/{dist-B6Op2ogv.js → dist-DD_cYHOl.js} +2 -2
- package/dist/{dist-BUSLKXcu.js → dist-DFK94vuS.js} +2 -2
- package/dist/{dist-DBXPlQ0D.js → dist-DGNtjMZu.js} +1 -1
- package/dist/{dist-C9qF7MRB.js → dist-DJ9F1eHs.js} +2 -2
- package/dist/{dist-Ci_jEudG.js → dist-DJKubHDd.js} +1 -1
- package/dist/{dist-CnFp2Kcl.js → dist-DLafRu9s.js} +2 -2
- package/dist/dist-DM1UDXdl.js +5 -0
- package/dist/dist-DNrtWPgS.js +5 -0
- package/dist/dist-D_UjpfOY.js +1381 -0
- package/dist/{dist-DmFS6KZW.js → dist-DbnBiLNH.js} +3 -3
- package/dist/{dist-BiZZAo22.js → dist-DlSUOIm9.js} +1 -1
- package/dist/{dist-DStU8He1.js → dist-Doy0mQDg.js} +2 -2
- package/dist/{dist-CxAX99oC.js → dist-DpkJHKB8.js} +2 -2
- package/dist/{dist-DjaZNkZ7.js → dist-LhQNUe5A.js} +3 -3
- package/dist/dist-V7q2qnpA.js +5 -0
- package/dist/{dist-BJ3fhRYu.js → dist-VqF3W_ue.js} +2 -2
- package/dist/dist-a5_hPgu2.js +8 -0
- package/dist/{dist-B9KLrfoh.js → dist-ej6AQKaS.js} +1 -1
- package/dist/{dist-Brb6VNc4.js → dist-m9tsXsFf.js} +2 -2
- package/dist/{dist-CBwMSFDu.js → dist-tGk0aZ--.js} +2 -2
- package/dist/dist-uVyZcV1-.js +5 -0
- package/dist/{erDiagram-Q2GNP2WA-sho7Cl9f.js → erDiagram-Q2GNP2WA-C3PXcCCI.js} +10 -10
- package/dist/{error-banner-Bx9kIgrs.js → error-banner-Cjf0RU9I.js} +79 -79
- package/dist/{esm-CMg2ABu6.js → esm-4wmsH2lp.js} +6 -6
- package/dist/{esm-cqK9POGH.js → esm-CD1iby2n.js} +23 -23
- package/dist/{flowDiagram-NV44I4VS-C4nY4Fbz.js → flowDiagram-NV44I4VS-DFDCBPb3.js} +10 -10
- package/dist/{ganttDiagram-JELNMOA3-CtxNcCM2.js → ganttDiagram-JELNMOA3-BpZE6kVp.js} +3 -3
- package/dist/{get-CqrzlV1v.js → get-Wu1vTRhN.js} +3 -3
- package/dist/{gitGraph-G5XIXVHT-SL6TDof6.js → gitGraph-G5XIXVHT-CuhmzmB1.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-D9885mxd.js → gitGraphDiagram-V2S2FVAM-B3inBgCa.js} +13 -13
- package/dist/{glide-data-editor-CkVEV-Gk.js → glide-data-editor-kjT1twjd.js} +63 -63
- package/dist/{graphlib-CxWdvYQt.js → graphlib-B05vp8B3.js} +3 -3
- package/dist/{info-VBDWY6EO-6MXPTSmi.js → info-VBDWY6EO-CHQo46SB.js} +3 -3
- package/dist/{infoDiagram-HS3SLOUP-Bw2FlRwF.js → infoDiagram-HS3SLOUP-WHNM1sDJ.js} +13 -13
- package/dist/{input-BSde8uV4.js → input-DONWC1s4.js} +5055 -5055
- package/dist/{isEmpty-BQtUinxJ.js → isEmpty-B7FX9wKt.js} +1 -1
- package/dist/{isSymbol-DFp8040B.js → isSymbol-DCbjQG_U.js} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-BXlCEth8.js → journeyDiagram-XKPGCS4Q-ClPC94aN.js} +3 -3
- package/dist/{kanban-definition-3W4ZIXB7-CorxzSYm.js → kanban-definition-3W4ZIXB7-DHEAKdZt.js} +7 -7
- package/dist/{label-DTNqw9tv.js → label-DbZGAoCH.js} +538 -569
- package/dist/{loader-CMMa6QVT.js → loader-Bd1kgLn7.js} +15 -15
- package/dist/main.js +2392 -2413
- package/dist/{memoize-CuHciEBb.js → memoize-CSTI9eOX.js} +1 -1
- package/dist/{merge-CA_buyY3.js → merge-CVhG7q_o.js} +1 -1
- package/dist/{mermaid-CEKslOkI.js → mermaid-BdEvqBXn.js} +54 -54
- package/dist/{mermaid-parser.core-cq4YDee-.js → mermaid-parser.core-C2Dti_2f.js} +8 -8
- package/dist/{mindmap-definition-VGOIOE7T-DRsT8UaN.js → mindmap-definition-VGOIOE7T-B02Y_l4r.js} +9 -9
- package/dist/{now-CXAdKY5k.js → now-Dh_IQA36.js} +1 -1
- package/dist/{once-CZno0h-b.js → once-C_TIu-kR.js} +1 -1
- package/dist/{packet-DYOGHKS2-Dw08gMaZ.js → packet-DYOGHKS2-DjPkocnd.js} +3 -3
- package/dist/{pie-VRWISCQL-C5SPSvT8.js → pie-VRWISCQL-B9pA8cOD.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-DhJ1Cx2O.js → pieDiagram-ADFJNKIX-Bzhvjry9.js} +14 -14
- package/dist/{process-output-CzWMmQcQ.js → process-output-LVENbROu.js} +3179 -3201
- package/dist/{quadrantDiagram-AYHSOK5B-DXUFIWlz.js → quadrantDiagram-AYHSOK5B-BVWuq-3R.js} +2 -2
- package/dist/{radar-ZZBFDIW7-BvY0bgSg.js → radar-ZZBFDIW7-C2obWVPx.js} +3 -3
- package/dist/{range-CYz5jI--.js → range-CNXr10o1.js} +2 -2
- package/dist/{requirementDiagram-UZGBJVZJ-DO_gtQIb.js → requirementDiagram-UZGBJVZJ-B7RuV-90.js} +9 -9
- package/dist/{sankeyDiagram-TZEHDZUN-OZzXEkuG.js → sankeyDiagram-TZEHDZUN-CExy1joT.js} +2 -2
- package/dist/{sequenceDiagram-WL72ISMW-K7nZRifV.js → sequenceDiagram-WL72ISMW-D1BJxLjH.js} +4 -4
- package/dist/{slides-component-CIcSvFh7.js → slides-component-CX2JC-Ws.js} +2 -2
- package/dist/{spec-DYaR1rJh.js → spec-sgFxCEh3.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-DzXJZAq7.js → stateDiagram-FKZM4ZOC-QeUJrF7u.js} +12 -12
- package/dist/{stateDiagram-v2-4FDKWEC3-BZBPUmyF.js → stateDiagram-v2-4FDKWEC3-eOW_mDCq.js} +10 -10
- package/dist/stex-CQDv3aS8.js +4 -0
- package/dist/{timeline-definition-IT6M3QCI-DNoLAh-i.js → timeline-definition-IT6M3QCI-BDT9JAmn.js} +2 -2
- package/dist/{toDate-D6VXexnV.js → toDate-CamIA0ND.js} +4 -4
- package/dist/{toNumber-xFPoy1OI.js → toNumber-55tjPCWr.js} +2 -2
- package/dist/tooltip-BXEpXV3R.js +404 -0
- package/dist/{treemap-GDKQZRPO-C5OoxpmV.js → treemap-GDKQZRPO-DWMsd3D8.js} +3 -3
- package/dist/{types-CQ-RbYxp.js → types-IIG7e4M2.js} +3 -3
- package/dist/{useAsyncData-Cd4Urlww.js → useAsyncData-CdwQvOxU.js} +2 -2
- package/dist/{useDeepCompareMemoize-DOzKCTzc.js → useDeepCompareMemoize-DAfQftmI.js} +4 -4
- package/dist/{useIframeCapabilities-BVQrlRBd.js → useIframeCapabilities-CqhrVue6.js} +1 -1
- package/dist/{useLifecycle-Dids8BPm.js → useLifecycle-BlKjtYt4.js} +9 -9
- package/dist/{useTheme-Dm1WaAGy.js → useTheme-Bu-jenEZ.js} +3 -3
- package/dist/{vega-component-BaDgUvQP.js → vega-component-CuWVhTG9.js} +23 -23
- package/dist/{xychartDiagram-PRI3JC2R-ehVeySMW.js → xychartDiagram-PRI3JC2R-CuAZiqHS.js} +5 -5
- package/dist/{Combination-B--d1_LV.js → zod-C6UGQ3fz.js} +8085 -8151
- package/package.json +3 -25
- package/src/components/data-table/charts/components/chart-items.tsx +1 -1
- package/src/components/data-table/columns.tsx +4 -1
- package/src/components/editor/chrome/components/contribute-snippet-button.tsx +4 -1
- package/src/components/editor/chrome/components/feedback-button.tsx +4 -1
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +4 -1
- package/src/components/editor/header/filename-input.tsx +4 -1
- package/src/components/ui/accordion.tsx +1 -1
- package/src/components/ui/alert-dialog.tsx +1 -1
- package/src/components/ui/button.tsx +2 -2
- package/src/components/ui/checkbox.tsx +1 -1
- package/src/components/ui/command.tsx +4 -1
- package/src/components/ui/context-menu.tsx +1 -1
- package/src/components/ui/dialog.tsx +1 -1
- package/src/components/ui/draggable-popover.tsx +1 -1
- package/src/components/ui/dropdown-menu.tsx +2 -1
- package/src/components/ui/form.tsx +4 -5
- package/src/components/ui/fullscreen.tsx +4 -1
- package/src/components/ui/label.tsx +1 -1
- package/src/components/ui/navigation.tsx +1 -1
- package/src/components/ui/popover.tsx +1 -1
- package/src/components/ui/progress.tsx +1 -1
- package/src/components/ui/radio-group.tsx +1 -1
- package/src/components/ui/range-slider.tsx +1 -1
- package/src/components/ui/scroll-area.tsx +1 -1
- package/src/components/ui/select.tsx +1 -1
- package/src/components/ui/sheet.tsx +1 -1
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/toast.tsx +1 -1
- package/src/components/ui/toggle.tsx +1 -1
- package/src/components/ui/tooltip.tsx +1 -1
- package/src/core/codemirror/language/panel/sql.tsx +4 -1
- package/src/core/edit-app.tsx +4 -1
- package/src/plugins/core/BadPlugin.tsx +7 -6
- package/src/plugins/impl/CheckboxPlugin.tsx +4 -1
- package/src/plugins/impl/DataEditorPlugin.tsx +4 -1
- package/src/plugins/impl/DataTablePlugin.tsx +4 -1
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +4 -1
- package/src/plugins/impl/chat/chat-ui.tsx +4 -1
- package/dist/architecture-7HQA4BMR-BRyVh_Za.js +0 -6
- package/dist/dist-B0R_ZM4-.js +0 -6
- package/dist/dist-B4a9_9pj.js +0 -5
- package/dist/dist-BCSUKEwO.js +0 -5
- package/dist/dist-BONIDQq6.js +0 -5
- package/dist/dist-BYeRx2hb.js +0 -5
- package/dist/dist-D2Rk1j4R.js +0 -1381
- package/dist/dist-DZjX5TYv.js +0 -5
- package/dist/dist-Dkw9x6kc.js +0 -5
- package/dist/dist-Ds6UaXGR.js +0 -6
- package/dist/dist-KuEJ1Q53.js +0 -8
- package/dist/dist-S72WNyTZ.js +0 -5
- package/dist/dist-bTG-yssT.js +0 -5
- package/dist/dist-diF0sguc.js +0 -8
- package/dist/dist-mJ84BIgu.js +0 -8
- package/dist/dist-wSIhFWQz.js +0 -8
- package/dist/stex-CZyTRGVB.js +0 -4
- package/dist/tooltip-DGHTbHl5.js +0 -404
- /package/dist/{dist-KZI_BHqV.js → dist-CxZvoNao.js} +0 -0
- /package/dist/{invariant-D4hPsZFI.js → invariant-e8eBgdux.js} +0 -0
- /package/dist/{isArrayLikeObject-C-hFPChh.js → isArrayLikeObject-LXbTYiBa.js} +0 -0
- /package/dist/{main-CvkAPtaq.js → main-XimWhSi_.js} +0 -0
- /package/dist/{purify.es-ukiMXY-F.js → purify.es-hTCfRGdl.js} +0 -0
- /package/dist/{react-dom-BKwCWYPW.js → react-dom-BSUuJjCR.js} +0 -0
- /package/dist/{stex-Ze8D4R_5.js → stex-D887Ylhf.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
|
-
import "./purify.es-
|
|
2
|
+
import "./purify.es-hTCfRGdl.js";
|
|
3
3
|
import { t as linear } from "./linear-v57w-fIs.js";
|
|
4
4
|
import "./defaultLocale-qS7DaAmi.js";
|
|
5
5
|
import { i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
6
|
-
import { B as setAccTitle, C as getDiagramTitle, I as sanitizeText, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
6
|
+
import { B as setAccTitle, C as getDiagramTitle, I as sanitizeText, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
7
7
|
var parser = (function() {
|
|
8
8
|
var e = /* @__PURE__ */ __name(function(e2, t2, n, r2) {
|
|
9
9
|
for (n || (n = {}), r2 = e2.length; r2--; n[e2[r2]] = t2) ;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
2
|
-
import "./main-
|
|
3
|
-
import { n as createRadarServices, t as RadarModule } from "./chunk-TQ3KTPDO-
|
|
1
|
+
import "./chunk-TCCFYFTB-D7iQP6Bp.js";
|
|
2
|
+
import "./main-XimWhSi_.js";
|
|
3
|
+
import { n as createRadarServices, t as RadarModule } from "./chunk-TQ3KTPDO-BmFTqg51.js";
|
|
4
4
|
export {
|
|
5
5
|
createRadarServices
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as _isIterateeCall_default } from "./isArrayLikeObject-
|
|
2
|
-
import { n as toFinite_default } from "./_baseSet-
|
|
1
|
+
import { S as _isIterateeCall_default } from "./isArrayLikeObject-LXbTYiBa.js";
|
|
2
|
+
import { n as toFinite_default } from "./_baseSet-Cs7YTRXk.js";
|
|
3
3
|
var nativeCeil = Math.ceil, nativeMax = Math.max;
|
|
4
4
|
function baseRange(e, t, i, a) {
|
|
5
5
|
for (var o = -1, s = nativeMax(nativeCeil((t - e) / (i || 1)), 0), c = Array(s); s--; ) c[a ? s : ++o] = e, e += i;
|
package/dist/{requirementDiagram-UZGBJVZJ-DO_gtQIb.js → requirementDiagram-UZGBJVZJ-B7RuV-90.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import "./purify.es-
|
|
3
|
-
import { g as utils_default } from "./chunk-S3R3BYOJ-
|
|
2
|
+
import "./purify.es-hTCfRGdl.js";
|
|
3
|
+
import { g as utils_default } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
4
4
|
import { i as log, n as __export, r as __name } from "./src-DbP20yFZ.js";
|
|
5
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
5
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
6
6
|
import "./chunk-HN2XXSSU-DAhNp1ig.js";
|
|
7
7
|
import "./chunk-CVBHYZKI-BXHgce-x.js";
|
|
8
|
-
import "./chunk-ATLVNIR6-
|
|
8
|
+
import "./chunk-ATLVNIR6-DaOzLLgN.js";
|
|
9
9
|
import "./dist-BjWd_Ei9.js";
|
|
10
|
-
import "./chunk-JA3XYJ7Z-
|
|
11
|
-
import "./chunk-JZLCHNYA-
|
|
12
|
-
import "./chunk-QXUST7PY-
|
|
13
|
-
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-
|
|
10
|
+
import "./chunk-JA3XYJ7Z-BcPEfxk_.js";
|
|
11
|
+
import "./chunk-JZLCHNYA-2bnLL3xL.js";
|
|
12
|
+
import "./chunk-QXUST7PY-Ch6F5Obl.js";
|
|
13
|
+
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-DYub3dan.js";
|
|
14
14
|
import { t as getDiagramElement } from "./chunk-55IACEB6-DRsSqxbU.js";
|
|
15
|
-
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-
|
|
15
|
+
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-B9p5ojHB.js";
|
|
16
16
|
var parser = (function() {
|
|
17
17
|
var e = /* @__PURE__ */ __name(function(e2, t2, n2, r) {
|
|
18
18
|
for (n2 || (n2 = {}), r = e2.length; r--; n2[e2[r]] = t2) ;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _a, _b, _c;
|
|
2
|
-
import "./purify.es-
|
|
2
|
+
import "./purify.es-hTCfRGdl.js";
|
|
3
3
|
import { n as ordinal } from "./ordinal-D7fa8Sey.js";
|
|
4
4
|
import { t as colors_default } from "./colors-IJ-2cn2o.js";
|
|
5
5
|
import { r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
6
|
-
import { B as setAccTitle, C as getDiagramTitle, G as setupGraphViewbox, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, u as defaultConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
6
|
+
import { B as setAccTitle, C as getDiagramTitle, G as setupGraphViewbox, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, u as defaultConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
7
7
|
var Tableau10_default = colors_default("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
|
|
8
8
|
function max(t, l) {
|
|
9
9
|
let u;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import "./purify.es-
|
|
3
|
-
import { g as utils_default, p as parseFontSize, t as ZERO_WIDTH_SPACE } from "./chunk-S3R3BYOJ-
|
|
2
|
+
import "./purify.es-hTCfRGdl.js";
|
|
3
|
+
import { g as utils_default, p as parseFontSize, t as ZERO_WIDTH_SPACE } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
4
4
|
import { i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
5
|
-
import { B as setAccTitle, C as getDiagramTitle, E as getUrl, H as setConfig2, I as sanitizeText, N as renderKatexSanitized, O as hasKatex, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, i as calculateMathMLDimensions, r as assignWithDepth_default, s as common_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
5
|
+
import { B as setAccTitle, C as getDiagramTitle, E as getUrl, H as setConfig2, I as sanitizeText, N as renderKatexSanitized, O as hasKatex, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, i as calculateMathMLDimensions, r as assignWithDepth_default, s as common_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
6
6
|
import { n as load, t as JSON_SCHEMA } from "./chunk-MI3HLSF2-AKwFNP3m.js";
|
|
7
7
|
import { t as require_dist } from "./dist-BjWd_Ei9.js";
|
|
8
|
-
import { i as drawRect, n as drawEmbeddedImage, o as getNoteRect, r as drawImage, s as getTextObj, t as drawBackgroundRect } from "./chunk-TZMSLE5B-
|
|
8
|
+
import { i as drawRect, n as drawEmbeddedImage, o as getNoteRect, r as drawImage, s as getTextObj, t as drawBackgroundRect } from "./chunk-TZMSLE5B-D45397J2.js";
|
|
9
9
|
import { t as ImperativeState } from "./chunk-QZHKN3VN-BK9tlbfw.js";
|
|
10
10
|
var import_dist = require_dist(), parser = (function() {
|
|
11
11
|
var t = /* @__PURE__ */ __name(function(t2, l2, u2, d2) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import {
|
|
4
|
+
import { l as useEventListener, t as Button, y as cn } from "./button-DNlNlZY_.js";
|
|
5
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
6
|
-
import { t as useIframeCapabilities } from "./useIframeCapabilities-
|
|
6
|
+
import { t as useIframeCapabilities } from "./useIframeCapabilities-CqhrVue6.js";
|
|
7
7
|
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
8
8
|
function isObject$2(t2) {
|
|
9
9
|
return typeof t2 == "object" && !!t2 && "constructor" in t2 && t2.constructor === Object;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
|
-
import { l as createLucideIcon } from "./dist-
|
|
4
|
-
import { s as Hash } from "./useLifecycle-
|
|
5
|
-
import {
|
|
3
|
+
import { l as createLucideIcon } from "./dist-D_UjpfOY.js";
|
|
4
|
+
import { s as Hash } from "./useLifecycle-BlKjtYt4.js";
|
|
5
|
+
import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./label-DbZGAoCH.js";
|
|
6
6
|
var AlignCenterVertical = createLucideIcon("align-center-vertical", [
|
|
7
7
|
["path", {
|
|
8
8
|
d: "M12 2v20",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { t as layout } from "./dagre-
|
|
2
|
-
import { t as Graph } from "./graphlib-
|
|
3
|
-
import "./purify.es-
|
|
1
|
+
import { t as layout } from "./dagre-oeMGMQA0.js";
|
|
2
|
+
import { t as Graph } from "./graphlib-B05vp8B3.js";
|
|
3
|
+
import "./purify.es-hTCfRGdl.js";
|
|
4
4
|
import { _ as basis_default } from "./step-qd10PbTJ.js";
|
|
5
5
|
import { t as line_default } from "./line-PAEmCpyD.js";
|
|
6
|
-
import { g as utils_default } from "./chunk-S3R3BYOJ-
|
|
6
|
+
import { g as utils_default } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
7
7
|
import { i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
8
|
-
import { E as getUrl, b as getConfig2, c as configureSvgSize, s as common_default } from "./chunk-ABZYJK2D-
|
|
8
|
+
import { E as getUrl, b as getConfig2, c as configureSvgSize, s as common_default } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
9
9
|
import "./chunk-HN2XXSSU-DAhNp1ig.js";
|
|
10
10
|
import "./chunk-CVBHYZKI-BXHgce-x.js";
|
|
11
|
-
import "./chunk-ATLVNIR6-
|
|
11
|
+
import "./chunk-ATLVNIR6-DaOzLLgN.js";
|
|
12
12
|
import "./dist-BjWd_Ei9.js";
|
|
13
|
-
import "./chunk-JA3XYJ7Z-
|
|
14
|
-
import "./chunk-JZLCHNYA-
|
|
15
|
-
import "./chunk-QXUST7PY-
|
|
16
|
-
import "./chunk-N4CR4FBY-
|
|
13
|
+
import "./chunk-JA3XYJ7Z-BcPEfxk_.js";
|
|
14
|
+
import "./chunk-JZLCHNYA-2bnLL3xL.js";
|
|
15
|
+
import "./chunk-QXUST7PY-Ch6F5Obl.js";
|
|
16
|
+
import "./chunk-N4CR4FBY-DYub3dan.js";
|
|
17
17
|
import "./chunk-55IACEB6-DRsSqxbU.js";
|
|
18
|
-
import "./chunk-QN33PNHL-
|
|
19
|
-
import { i as styles_default, n as stateDiagram_default, t as StateDB } from "./chunk-DI55MBZ5-
|
|
18
|
+
import "./chunk-QN33PNHL-B9p5ojHB.js";
|
|
19
|
+
import { i as styles_default, n as stateDiagram_default, t as StateDB } from "./chunk-DI55MBZ5-CMx27S12.js";
|
|
20
20
|
var drawStartState = /* @__PURE__ */ __name((e) => e.append("circle").attr("class", "start-state").attr("r", getConfig2().state.sizeUnit).attr("cx", getConfig2().state.padding + getConfig2().state.sizeUnit).attr("cy", getConfig2().state.padding + getConfig2().state.sizeUnit), "drawStartState"), drawDivider = /* @__PURE__ */ __name((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", getConfig2().state.textHeight).attr("class", "divider").attr("x2", getConfig2().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), drawSimpleState = /* @__PURE__ */ __name((e, h) => {
|
|
21
21
|
let g = e.append("text").attr("x", 2 * getConfig2().state.padding).attr("y", getConfig2().state.textHeight + 2 * getConfig2().state.padding).attr("font-size", getConfig2().state.fontSize).attr("class", "state-title").text(h.id), _ = g.node().getBBox();
|
|
22
22
|
return e.insert("rect", ":first-child").attr("x", getConfig2().state.padding).attr("y", getConfig2().state.padding).attr("width", _.width + 2 * getConfig2().state.padding).attr("height", _.height + 2 * getConfig2().state.padding).attr("rx", getConfig2().state.radius), g;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./purify.es-
|
|
2
|
-
import "./chunk-S3R3BYOJ-
|
|
1
|
+
import "./purify.es-hTCfRGdl.js";
|
|
2
|
+
import "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
3
3
|
import { r as __name } from "./src-DbP20yFZ.js";
|
|
4
|
-
import "./chunk-ABZYJK2D-
|
|
4
|
+
import "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
5
5
|
import "./chunk-HN2XXSSU-DAhNp1ig.js";
|
|
6
6
|
import "./chunk-CVBHYZKI-BXHgce-x.js";
|
|
7
|
-
import "./chunk-ATLVNIR6-
|
|
7
|
+
import "./chunk-ATLVNIR6-DaOzLLgN.js";
|
|
8
8
|
import "./dist-BjWd_Ei9.js";
|
|
9
|
-
import "./chunk-JA3XYJ7Z-
|
|
10
|
-
import "./chunk-JZLCHNYA-
|
|
11
|
-
import "./chunk-QXUST7PY-
|
|
12
|
-
import "./chunk-N4CR4FBY-
|
|
9
|
+
import "./chunk-JA3XYJ7Z-BcPEfxk_.js";
|
|
10
|
+
import "./chunk-JZLCHNYA-2bnLL3xL.js";
|
|
11
|
+
import "./chunk-QXUST7PY-Ch6F5Obl.js";
|
|
12
|
+
import "./chunk-N4CR4FBY-DYub3dan.js";
|
|
13
13
|
import "./chunk-55IACEB6-DRsSqxbU.js";
|
|
14
|
-
import "./chunk-QN33PNHL-
|
|
15
|
-
import { i as styles_default, n as stateDiagram_default, r as stateRenderer_v3_unified_default, t as StateDB } from "./chunk-DI55MBZ5-
|
|
14
|
+
import "./chunk-QN33PNHL-B9p5ojHB.js";
|
|
15
|
+
import { i as styles_default, n as stateDiagram_default, r as stateRenderer_v3_unified_default, t as StateDB } from "./chunk-DI55MBZ5-CMx27S12.js";
|
|
16
16
|
var diagram = {
|
|
17
17
|
parser: stateDiagram_default,
|
|
18
18
|
get db() {
|
package/dist/{timeline-definition-IT6M3QCI-DNoLAh-i.js → timeline-definition-IT6M3QCI-BDT9JAmn.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./purify.es-
|
|
1
|
+
import "./purify.es-hTCfRGdl.js";
|
|
2
2
|
import { t as arc_default } from "./arc-DLJpPF9M.js";
|
|
3
3
|
import { i as log, n as __export, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
4
|
-
import { G as setupGraphViewbox, Q as is_dark_default, X as darken_default, Z as lighten_default, a as clear, b as getConfig2, o as commonDb_exports } from "./chunk-ABZYJK2D-
|
|
4
|
+
import { G as setupGraphViewbox, Q as is_dark_default, X as darken_default, Z as lighten_default, a as clear, b as getConfig2, o as commonDb_exports } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
5
5
|
var parser = (function() {
|
|
6
6
|
var t = /* @__PURE__ */ __name(function(t2, S2, C2, w) {
|
|
7
7
|
for (C2 || (C2 = {}), w = t2.length; w--; C2[t2[w]] = S2) ;
|
|
@@ -3,10 +3,10 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
|
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
5
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
6
|
-
import { l as createLucideIcon } from "./dist-
|
|
7
|
-
import {
|
|
8
|
-
import { r as KnownQueryParams } from "./constants-
|
|
9
|
-
import { f as waitFor, p as isIslands, u as store, y as atom } from "./useTheme-
|
|
6
|
+
import { l as createLucideIcon } from "./dist-D_UjpfOY.js";
|
|
7
|
+
import { g as Logger } from "./button-DNlNlZY_.js";
|
|
8
|
+
import { r as KnownQueryParams } from "./constants-CMDkKrpC.js";
|
|
9
|
+
import { f as waitFor, p as isIslands, u as store, y as atom } from "./useTheme-Bu-jenEZ.js";
|
|
10
10
|
var CircleQuestionMark = createLucideIcon("circle-question-mark", [
|
|
11
11
|
["circle", {
|
|
12
12
|
cx: "12",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as isObject_default } from "./isArrayLikeObject-
|
|
2
|
-
import { t as isSymbol_default } from "./isSymbol-
|
|
1
|
+
import { z as isObject_default } from "./isArrayLikeObject-LXbTYiBa.js";
|
|
2
|
+
import { t as isSymbol_default } from "./isSymbol-DCbjQG_U.js";
|
|
3
3
|
var reWhitespace = /\s/;
|
|
4
4
|
function trimmedEndIndex(e) {
|
|
5
5
|
for (var d = e.length; d-- && reWhitespace.test(e.charAt(d)); ) ;
|
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
+
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
|
+
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
+
import { a as createPopperScope, i as Root2, n as Arrow, r as Content, s as Root, t as Anchor } from "./dist-D_UjpfOY.js";
|
|
5
|
+
import { f as createSlottable, m as useComposedRefs, y as cn } from "./button-DNlNlZY_.js";
|
|
6
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
7
|
+
import { $ as StyleNamespace, X as withFullScreenAsRoot, Z as withSmartCollisionBoundary, ct as useId, ft as composeEventHandlers, ht as Primitive, it as Portal, lt as Presence, mt as createContextScope, ot as DismissableLayer, ut as useControllableState } from "./zod-C6UGQ3fz.js";
|
|
8
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [createPopperScope]), usePopperScope = createPopperScope(), PROVIDER_NAME = "TooltipProvider", DEFAULT_DELAY_DURATION = 700, TOOLTIP_OPEN = "tooltip.open", [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME), TooltipProvider$1 = (t) => {
|
|
9
|
+
let { __scopeTooltip: j, delayDuration: M = DEFAULT_DELAY_DURATION, skipDelayDuration: N = 300, disableHoverableContent: P = false, children: F } = t, I = import_react.useRef(true), L = import_react.useRef(false), R = import_react.useRef(0);
|
|
10
|
+
return import_react.useEffect(() => {
|
|
11
|
+
let t2 = R.current;
|
|
12
|
+
return () => window.clearTimeout(t2);
|
|
13
|
+
}, []), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipProviderContextProvider, {
|
|
14
|
+
scope: j,
|
|
15
|
+
isOpenDelayedRef: I,
|
|
16
|
+
delayDuration: M,
|
|
17
|
+
onOpen: import_react.useCallback(() => {
|
|
18
|
+
window.clearTimeout(R.current), I.current = false;
|
|
19
|
+
}, []),
|
|
20
|
+
onClose: import_react.useCallback(() => {
|
|
21
|
+
window.clearTimeout(R.current), R.current = window.setTimeout(() => I.current = true, N);
|
|
22
|
+
}, [N]),
|
|
23
|
+
isPointerInTransitRef: L,
|
|
24
|
+
onPointerInTransitChange: import_react.useCallback((t2) => {
|
|
25
|
+
L.current = t2;
|
|
26
|
+
}, []),
|
|
27
|
+
disableHoverableContent: P,
|
|
28
|
+
children: F
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
TooltipProvider$1.displayName = PROVIDER_NAME;
|
|
32
|
+
var TOOLTIP_NAME = "Tooltip", [TooltipContextProvider, useTooltipContext] = createTooltipContext(TOOLTIP_NAME), Tooltip$1 = (t) => {
|
|
33
|
+
let { __scopeTooltip: j, children: M, open: N, defaultOpen: F, onOpenChange: I, disableHoverableContent: L, delayDuration: R } = t, z = useTooltipProviderContext(TOOLTIP_NAME, t.__scopeTooltip), B = usePopperScope(j), [V, H] = import_react.useState(null), U = useId(), W = import_react.useRef(0), G = L ?? z.disableHoverableContent, K = R ?? z.delayDuration, q = import_react.useRef(false), [J, Y] = useControllableState({
|
|
34
|
+
prop: N,
|
|
35
|
+
defaultProp: F ?? false,
|
|
36
|
+
onChange: (t2) => {
|
|
37
|
+
t2 ? (z.onOpen(), document.dispatchEvent(new CustomEvent(TOOLTIP_OPEN))) : z.onClose(), I == null ? void 0 : I(t2);
|
|
38
|
+
},
|
|
39
|
+
caller: TOOLTIP_NAME
|
|
40
|
+
}), X = import_react.useMemo(() => J ? q.current ? "delayed-open" : "instant-open" : "closed", [J]), Z = import_react.useCallback(() => {
|
|
41
|
+
window.clearTimeout(W.current), W.current = 0, q.current = false, Y(true);
|
|
42
|
+
}, [Y]), Q = import_react.useCallback(() => {
|
|
43
|
+
window.clearTimeout(W.current), W.current = 0, Y(false);
|
|
44
|
+
}, [Y]), $ = import_react.useCallback(() => {
|
|
45
|
+
window.clearTimeout(W.current), W.current = window.setTimeout(() => {
|
|
46
|
+
q.current = true, Y(true), W.current = 0;
|
|
47
|
+
}, K);
|
|
48
|
+
}, [K, Y]);
|
|
49
|
+
return import_react.useEffect(() => () => {
|
|
50
|
+
W.current && (W.current = (window.clearTimeout(W.current), 0));
|
|
51
|
+
}, []), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root2, {
|
|
52
|
+
...B,
|
|
53
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContextProvider, {
|
|
54
|
+
scope: j,
|
|
55
|
+
contentId: U,
|
|
56
|
+
open: J,
|
|
57
|
+
stateAttribute: X,
|
|
58
|
+
trigger: V,
|
|
59
|
+
onTriggerChange: H,
|
|
60
|
+
onTriggerEnter: import_react.useCallback(() => {
|
|
61
|
+
z.isOpenDelayedRef.current ? $() : Z();
|
|
62
|
+
}, [
|
|
63
|
+
z.isOpenDelayedRef,
|
|
64
|
+
$,
|
|
65
|
+
Z
|
|
66
|
+
]),
|
|
67
|
+
onTriggerLeave: import_react.useCallback(() => {
|
|
68
|
+
G ? Q() : (window.clearTimeout(W.current), W.current = 0);
|
|
69
|
+
}, [Q, G]),
|
|
70
|
+
onOpen: Z,
|
|
71
|
+
onClose: Q,
|
|
72
|
+
disableHoverableContent: G,
|
|
73
|
+
children: M
|
|
74
|
+
})
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
Tooltip$1.displayName = TOOLTIP_NAME;
|
|
78
|
+
var TRIGGER_NAME = "TooltipTrigger", TooltipTrigger$1 = import_react.forwardRef((t, j) => {
|
|
79
|
+
let { __scopeTooltip: M, ...N } = t, P = useTooltipContext(TRIGGER_NAME, M), F = useTooltipProviderContext(TRIGGER_NAME, M), I = usePopperScope(M), L = useComposedRefs(j, import_react.useRef(null), P.onTriggerChange), z = import_react.useRef(false), V = import_react.useRef(false), H = import_react.useCallback(() => z.current = false, []);
|
|
80
|
+
return import_react.useEffect(() => () => document.removeEventListener("pointerup", H), [H]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Anchor, {
|
|
81
|
+
asChild: true,
|
|
82
|
+
...I,
|
|
83
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.button, {
|
|
84
|
+
"aria-describedby": P.open ? P.contentId : void 0,
|
|
85
|
+
"data-state": P.stateAttribute,
|
|
86
|
+
...N,
|
|
87
|
+
ref: L,
|
|
88
|
+
onPointerMove: composeEventHandlers(t.onPointerMove, (t2) => {
|
|
89
|
+
t2.pointerType !== "touch" && !V.current && !F.isPointerInTransitRef.current && (P.onTriggerEnter(), V.current = true);
|
|
90
|
+
}),
|
|
91
|
+
onPointerLeave: composeEventHandlers(t.onPointerLeave, () => {
|
|
92
|
+
P.onTriggerLeave(), V.current = false;
|
|
93
|
+
}),
|
|
94
|
+
onPointerDown: composeEventHandlers(t.onPointerDown, () => {
|
|
95
|
+
P.open && P.onClose(), z.current = true, document.addEventListener("pointerup", H, { once: true });
|
|
96
|
+
}),
|
|
97
|
+
onFocus: composeEventHandlers(t.onFocus, () => {
|
|
98
|
+
z.current || P.onOpen();
|
|
99
|
+
}),
|
|
100
|
+
onBlur: composeEventHandlers(t.onBlur, P.onClose),
|
|
101
|
+
onClick: composeEventHandlers(t.onClick, P.onClose)
|
|
102
|
+
})
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
TooltipTrigger$1.displayName = TRIGGER_NAME;
|
|
106
|
+
var PORTAL_NAME = "TooltipPortal", [PortalProvider, usePortalContext] = createTooltipContext(PORTAL_NAME, { forceMount: void 0 }), TooltipPortal$1 = (t) => {
|
|
107
|
+
let { __scopeTooltip: j, forceMount: M, children: N, container: P } = t, F = useTooltipContext(PORTAL_NAME, j);
|
|
108
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PortalProvider, {
|
|
109
|
+
scope: j,
|
|
110
|
+
forceMount: M,
|
|
111
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Presence, {
|
|
112
|
+
present: M || F.open,
|
|
113
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Portal, {
|
|
114
|
+
asChild: true,
|
|
115
|
+
container: P,
|
|
116
|
+
children: N
|
|
117
|
+
})
|
|
118
|
+
})
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
TooltipPortal$1.displayName = PORTAL_NAME;
|
|
122
|
+
var CONTENT_NAME = "TooltipContent", TooltipContent$1 = import_react.forwardRef((t, j) => {
|
|
123
|
+
let M = usePortalContext(CONTENT_NAME, t.__scopeTooltip), { forceMount: N = M.forceMount, side: P = "top", ...F } = t, I = useTooltipContext(CONTENT_NAME, t.__scopeTooltip);
|
|
124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Presence, {
|
|
125
|
+
present: N || I.open,
|
|
126
|
+
children: I.disableHoverableContent ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContentImpl, {
|
|
127
|
+
side: P,
|
|
128
|
+
...F,
|
|
129
|
+
ref: j
|
|
130
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContentHoverable, {
|
|
131
|
+
side: P,
|
|
132
|
+
...F,
|
|
133
|
+
ref: j
|
|
134
|
+
})
|
|
135
|
+
});
|
|
136
|
+
}), TooltipContentHoverable = import_react.forwardRef((t, j) => {
|
|
137
|
+
let M = useTooltipContext(CONTENT_NAME, t.__scopeTooltip), N = useTooltipProviderContext(CONTENT_NAME, t.__scopeTooltip), P = import_react.useRef(null), F = useComposedRefs(j, P), [I, L] = import_react.useState(null), { trigger: R, onClose: z } = M, V = P.current, { onPointerInTransitChange: H } = N, U = import_react.useCallback(() => {
|
|
138
|
+
L(null), H(false);
|
|
139
|
+
}, [H]), W = import_react.useCallback((t2, j2) => {
|
|
140
|
+
let M2 = t2.currentTarget, N2 = {
|
|
141
|
+
x: t2.clientX,
|
|
142
|
+
y: t2.clientY
|
|
143
|
+
}, P2 = getPaddedExitPoints(N2, getExitSideFromRect(N2, M2.getBoundingClientRect())), F2 = getPointsFromRect(j2.getBoundingClientRect());
|
|
144
|
+
L(getHull([...P2, ...F2])), H(true);
|
|
145
|
+
}, [H]);
|
|
146
|
+
return import_react.useEffect(() => () => U(), [U]), import_react.useEffect(() => {
|
|
147
|
+
if (R && V) {
|
|
148
|
+
let t2 = (t3) => W(t3, V), j2 = (t3) => W(t3, R);
|
|
149
|
+
return R.addEventListener("pointerleave", t2), V.addEventListener("pointerleave", j2), () => {
|
|
150
|
+
R.removeEventListener("pointerleave", t2), V.removeEventListener("pointerleave", j2);
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}, [
|
|
154
|
+
R,
|
|
155
|
+
V,
|
|
156
|
+
W,
|
|
157
|
+
U
|
|
158
|
+
]), import_react.useEffect(() => {
|
|
159
|
+
if (I) {
|
|
160
|
+
let t2 = (t3) => {
|
|
161
|
+
let j2 = t3.target, M2 = {
|
|
162
|
+
x: t3.clientX,
|
|
163
|
+
y: t3.clientY
|
|
164
|
+
}, N2 = (R == null ? void 0 : R.contains(j2)) || (V == null ? void 0 : V.contains(j2)), P2 = !isPointInPolygon(M2, I);
|
|
165
|
+
N2 ? U() : P2 && (U(), z());
|
|
166
|
+
};
|
|
167
|
+
return document.addEventListener("pointermove", t2), () => document.removeEventListener("pointermove", t2);
|
|
168
|
+
}
|
|
169
|
+
}, [
|
|
170
|
+
R,
|
|
171
|
+
V,
|
|
172
|
+
I,
|
|
173
|
+
z,
|
|
174
|
+
U
|
|
175
|
+
]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContentImpl, {
|
|
176
|
+
...t,
|
|
177
|
+
ref: F
|
|
178
|
+
});
|
|
179
|
+
}), [VisuallyHiddenContentContextProvider, useVisuallyHiddenContentContext] = createTooltipContext(TOOLTIP_NAME, { isInside: false }), Slottable = createSlottable("TooltipContent"), TooltipContentImpl = import_react.forwardRef((t, j) => {
|
|
180
|
+
let { __scopeTooltip: M, children: N, "aria-label": P, onEscapeKeyDown: F, onPointerDownOutside: R, ...z } = t, B = useTooltipContext(CONTENT_NAME, M), V = usePopperScope(M), { onClose: H } = B;
|
|
181
|
+
return import_react.useEffect(() => (document.addEventListener(TOOLTIP_OPEN, H), () => document.removeEventListener(TOOLTIP_OPEN, H)), [H]), import_react.useEffect(() => {
|
|
182
|
+
if (B.trigger) {
|
|
183
|
+
let t2 = (t3) => {
|
|
184
|
+
var _a;
|
|
185
|
+
((_a = t3.target) == null ? void 0 : _a.contains(B.trigger)) && H();
|
|
186
|
+
};
|
|
187
|
+
return window.addEventListener("scroll", t2, { capture: true }), () => window.removeEventListener("scroll", t2, { capture: true });
|
|
188
|
+
}
|
|
189
|
+
}, [B.trigger, H]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DismissableLayer, {
|
|
190
|
+
asChild: true,
|
|
191
|
+
disableOutsidePointerEvents: false,
|
|
192
|
+
onEscapeKeyDown: F,
|
|
193
|
+
onPointerDownOutside: R,
|
|
194
|
+
onFocusOutside: (t2) => t2.preventDefault(),
|
|
195
|
+
onDismiss: H,
|
|
196
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Content, {
|
|
197
|
+
"data-state": B.stateAttribute,
|
|
198
|
+
...V,
|
|
199
|
+
...z,
|
|
200
|
+
ref: j,
|
|
201
|
+
style: {
|
|
202
|
+
...z.style,
|
|
203
|
+
"--radix-tooltip-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
204
|
+
"--radix-tooltip-content-available-width": "var(--radix-popper-available-width)",
|
|
205
|
+
"--radix-tooltip-content-available-height": "var(--radix-popper-available-height)",
|
|
206
|
+
"--radix-tooltip-trigger-width": "var(--radix-popper-anchor-width)",
|
|
207
|
+
"--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
|
|
208
|
+
},
|
|
209
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slottable, { children: N }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(VisuallyHiddenContentContextProvider, {
|
|
210
|
+
scope: M,
|
|
211
|
+
isInside: true,
|
|
212
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root, {
|
|
213
|
+
id: B.contentId,
|
|
214
|
+
role: "tooltip",
|
|
215
|
+
children: P || N
|
|
216
|
+
})
|
|
217
|
+
})]
|
|
218
|
+
})
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
TooltipContent$1.displayName = CONTENT_NAME;
|
|
222
|
+
var ARROW_NAME = "TooltipArrow", TooltipArrow = import_react.forwardRef((t, j) => {
|
|
223
|
+
let { __scopeTooltip: M, ...N } = t, P = usePopperScope(M);
|
|
224
|
+
return useVisuallyHiddenContentContext(ARROW_NAME, M).isInside ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Arrow, {
|
|
225
|
+
...P,
|
|
226
|
+
...N,
|
|
227
|
+
ref: j
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
TooltipArrow.displayName = ARROW_NAME;
|
|
231
|
+
function getExitSideFromRect(t, j) {
|
|
232
|
+
let M = Math.abs(j.top - t.y), N = Math.abs(j.bottom - t.y), P = Math.abs(j.right - t.x), F = Math.abs(j.left - t.x);
|
|
233
|
+
switch (Math.min(M, N, P, F)) {
|
|
234
|
+
case F:
|
|
235
|
+
return "left";
|
|
236
|
+
case P:
|
|
237
|
+
return "right";
|
|
238
|
+
case M:
|
|
239
|
+
return "top";
|
|
240
|
+
case N:
|
|
241
|
+
return "bottom";
|
|
242
|
+
default:
|
|
243
|
+
throw Error("unreachable");
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
function getPaddedExitPoints(t, j, M = 5) {
|
|
247
|
+
let N = [];
|
|
248
|
+
switch (j) {
|
|
249
|
+
case "top":
|
|
250
|
+
N.push({
|
|
251
|
+
x: t.x - M,
|
|
252
|
+
y: t.y + M
|
|
253
|
+
}, {
|
|
254
|
+
x: t.x + M,
|
|
255
|
+
y: t.y + M
|
|
256
|
+
});
|
|
257
|
+
break;
|
|
258
|
+
case "bottom":
|
|
259
|
+
N.push({
|
|
260
|
+
x: t.x - M,
|
|
261
|
+
y: t.y - M
|
|
262
|
+
}, {
|
|
263
|
+
x: t.x + M,
|
|
264
|
+
y: t.y - M
|
|
265
|
+
});
|
|
266
|
+
break;
|
|
267
|
+
case "left":
|
|
268
|
+
N.push({
|
|
269
|
+
x: t.x + M,
|
|
270
|
+
y: t.y - M
|
|
271
|
+
}, {
|
|
272
|
+
x: t.x + M,
|
|
273
|
+
y: t.y + M
|
|
274
|
+
});
|
|
275
|
+
break;
|
|
276
|
+
case "right":
|
|
277
|
+
N.push({
|
|
278
|
+
x: t.x - M,
|
|
279
|
+
y: t.y - M
|
|
280
|
+
}, {
|
|
281
|
+
x: t.x - M,
|
|
282
|
+
y: t.y + M
|
|
283
|
+
});
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
return N;
|
|
287
|
+
}
|
|
288
|
+
function getPointsFromRect(t) {
|
|
289
|
+
let { top: j, right: M, bottom: N, left: P } = t;
|
|
290
|
+
return [
|
|
291
|
+
{
|
|
292
|
+
x: P,
|
|
293
|
+
y: j
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
x: M,
|
|
297
|
+
y: j
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
x: M,
|
|
301
|
+
y: N
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
x: P,
|
|
305
|
+
y: N
|
|
306
|
+
}
|
|
307
|
+
];
|
|
308
|
+
}
|
|
309
|
+
function isPointInPolygon(t, j) {
|
|
310
|
+
let { x: M, y: N } = t, P = false;
|
|
311
|
+
for (let t2 = 0, F = j.length - 1; t2 < j.length; F = t2++) {
|
|
312
|
+
let I = j[t2], L = j[F], R = I.x, z = I.y, B = L.x, V = L.y;
|
|
313
|
+
z > N != V > N && M < (B - R) * (N - z) / (V - z) + R && (P = !P);
|
|
314
|
+
}
|
|
315
|
+
return P;
|
|
316
|
+
}
|
|
317
|
+
function getHull(t) {
|
|
318
|
+
let j = t.slice();
|
|
319
|
+
return j.sort((t2, j2) => t2.x < j2.x ? -1 : t2.x > j2.x ? 1 : t2.y < j2.y ? -1 : t2.y > j2.y ? 1 : 0), getHullPresorted(j);
|
|
320
|
+
}
|
|
321
|
+
function getHullPresorted(t) {
|
|
322
|
+
if (t.length <= 1) return t.slice();
|
|
323
|
+
let j = [];
|
|
324
|
+
for (let M2 = 0; M2 < t.length; M2++) {
|
|
325
|
+
let N = t[M2];
|
|
326
|
+
for (; j.length >= 2; ) {
|
|
327
|
+
let t2 = j[j.length - 1], M3 = j[j.length - 2];
|
|
328
|
+
if ((t2.x - M3.x) * (N.y - M3.y) >= (t2.y - M3.y) * (N.x - M3.x)) j.pop();
|
|
329
|
+
else break;
|
|
330
|
+
}
|
|
331
|
+
j.push(N);
|
|
332
|
+
}
|
|
333
|
+
j.pop();
|
|
334
|
+
let M = [];
|
|
335
|
+
for (let j2 = t.length - 1; j2 >= 0; j2--) {
|
|
336
|
+
let N = t[j2];
|
|
337
|
+
for (; M.length >= 2; ) {
|
|
338
|
+
let t2 = M[M.length - 1], j3 = M[M.length - 2];
|
|
339
|
+
if ((t2.x - j3.x) * (N.y - j3.y) >= (t2.y - j3.y) * (N.x - j3.x)) M.pop();
|
|
340
|
+
else break;
|
|
341
|
+
}
|
|
342
|
+
M.push(N);
|
|
343
|
+
}
|
|
344
|
+
return M.pop(), j.length === 1 && M.length === 1 && j[0].x === M[0].x && j[0].y === M[0].y ? j : j.concat(M);
|
|
345
|
+
}
|
|
346
|
+
var Provider = TooltipProvider$1, Root3 = Tooltip$1, Trigger = TooltipTrigger$1, Portal$1 = TooltipPortal$1, Content2 = TooltipContent$1, import_compiler_runtime = require_compiler_runtime(), TooltipProvider = (t) => {
|
|
347
|
+
let j = (0, import_compiler_runtime.c)(6), M, N;
|
|
348
|
+
j[0] === t ? (M = j[1], N = j[2]) : ({ delayDuration: N, ...M } = t, j[0] = t, j[1] = M, j[2] = N);
|
|
349
|
+
let P = N === void 0 ? 400 : N, F;
|
|
350
|
+
return j[3] !== P || j[4] !== M ? (F = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, {
|
|
351
|
+
delayDuration: P,
|
|
352
|
+
...M
|
|
353
|
+
}), j[3] = P, j[4] = M, j[5] = F) : F = j[5], F;
|
|
354
|
+
}, TooltipPortal = withFullScreenAsRoot(Portal$1), TooltipRoot = Root3, InternalTooltipContent = withSmartCollisionBoundary(Content2), TooltipTrigger = Trigger, TooltipContent = import_react.forwardRef((t, j) => {
|
|
355
|
+
let M = (0, import_compiler_runtime.c)(11), N, P, F;
|
|
356
|
+
M[0] === t ? (N = M[1], P = M[2], F = M[3]) : ({ className: N, sideOffset: F, ...P } = t, M[0] = t, M[1] = N, M[2] = P, M[3] = F);
|
|
357
|
+
let I = F === void 0 ? 4 : F, L;
|
|
358
|
+
M[4] === N ? L = M[5] : (L = cn("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-xs data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1", N), M[4] = N, M[5] = L);
|
|
359
|
+
let R;
|
|
360
|
+
return M[6] !== P || M[7] !== j || M[8] !== I || M[9] !== L ? (R = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyleNamespace, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InternalTooltipContent, {
|
|
361
|
+
ref: j,
|
|
362
|
+
sideOffset: I,
|
|
363
|
+
className: L,
|
|
364
|
+
...P
|
|
365
|
+
}) }), M[6] = P, M[7] = j, M[8] = I, M[9] = L, M[10] = R) : R = M[10], R;
|
|
366
|
+
});
|
|
367
|
+
TooltipContent.displayName = Content2.displayName;
|
|
368
|
+
var Tooltip = (t) => {
|
|
369
|
+
let j = (0, import_compiler_runtime.c)(22), M, N, P, F, I, L, R, z;
|
|
370
|
+
j[0] === t ? (M = j[1], N = j[2], P = j[3], F = j[4], I = j[5], L = j[6], R = j[7], z = j[8]) : ({ content: P, children: N, usePortal: L, asChild: R, tabIndex: z, side: I, align: M, ...F } = t, j[0] = t, j[1] = M, j[2] = N, j[3] = P, j[4] = F, j[5] = I, j[6] = L, j[7] = R, j[8] = z);
|
|
371
|
+
let B = L === void 0 ? true : L, V = R === void 0 ? true : R;
|
|
372
|
+
if (P == null || P === "") return N;
|
|
373
|
+
let H;
|
|
374
|
+
j[9] !== V || j[10] !== N || j[11] !== z ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
375
|
+
asChild: V,
|
|
376
|
+
tabIndex: z,
|
|
377
|
+
children: N
|
|
378
|
+
}), j[9] = V, j[10] = N, j[11] = z, j[12] = H) : H = j[12];
|
|
379
|
+
let U;
|
|
380
|
+
j[13] !== M || j[14] !== P || j[15] !== I || j[16] !== B ? (U = B ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
381
|
+
side: I,
|
|
382
|
+
align: M,
|
|
383
|
+
children: P
|
|
384
|
+
}) }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
385
|
+
side: I,
|
|
386
|
+
align: M,
|
|
387
|
+
children: P
|
|
388
|
+
}), j[13] = M, j[14] = P, j[15] = I, j[16] = B, j[17] = U) : U = j[17];
|
|
389
|
+
let W;
|
|
390
|
+
return j[18] !== F || j[19] !== H || j[20] !== U ? (W = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
391
|
+
disableHoverableContent: true,
|
|
392
|
+
...F,
|
|
393
|
+
children: [H, U]
|
|
394
|
+
}), j[18] = F, j[19] = H, j[20] = U, j[21] = W) : W = j[21], W;
|
|
395
|
+
};
|
|
396
|
+
export {
|
|
397
|
+
TooltipRoot as a,
|
|
398
|
+
TooltipProvider as i,
|
|
399
|
+
TooltipContent as n,
|
|
400
|
+
TooltipTrigger as o,
|
|
401
|
+
TooltipPortal as r,
|
|
402
|
+
Provider as s,
|
|
403
|
+
Tooltip as t
|
|
404
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
2
|
-
import "./main-
|
|
3
|
-
import { n as createTreemapServices, t as TreemapModule } from "./chunk-B2363JML-
|
|
1
|
+
import "./chunk-TCCFYFTB-D7iQP6Bp.js";
|
|
2
|
+
import "./main-XimWhSi_.js";
|
|
3
|
+
import { n as createTreemapServices, t as TreemapModule } from "./chunk-B2363JML-mJ3Q9WfR.js";
|
|
4
4
|
export {
|
|
5
5
|
createTreemapServices
|
|
6
6
|
};
|