@synnaxlabs/pluto 0.13.0 → 0.14.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/Center-8mBjm1cO.js +126 -0
- package/dist/{Center-gEKkAkdh.js.map → Center-8mBjm1cO.js.map} +1 -1
- package/dist/Center-ER_owvfX.cjs +2 -0
- package/dist/{Center-ZAcURh-3.cjs.map → Center-ER_owvfX.cjs.map} +1 -1
- package/dist/Header-9CR1VnwV.js +34 -0
- package/dist/{Header-7x6367IV.js.map → Header-9CR1VnwV.js.map} +1 -1
- package/dist/Header-PpcdP7hn.cjs +2 -0
- package/dist/{Header-5YX6FUn6.cjs.map → Header-PpcdP7hn.cjs.map} +1 -1
- package/dist/Item--h4UWJZo.js +80 -0
- package/dist/{Item-owLU4Xop.js.map → Item--h4UWJZo.js.map} +1 -1
- package/dist/Item-EBiM5yGJ.cjs +2 -0
- package/dist/{Item-HWzX7RK2.cjs.map → Item-EBiM5yGJ.cjs.map} +1 -1
- package/dist/Item-_og4CdwZ.cjs +2 -0
- package/dist/{Item-rkSKzZoh.cjs.map → Item-_og4CdwZ.cjs.map} +1 -1
- package/dist/Item-kbCoFEj2.js +137 -0
- package/dist/{Item-EDdYN2NK.js.map → Item-kbCoFEj2.js.map} +1 -1
- package/dist/Keyboard-IWRXgioJ.js +14 -0
- package/dist/{Keyboard-mE03PKwA.js.map → Keyboard-IWRXgioJ.js.map} +1 -1
- package/dist/Keyboard-bXNOi0bP.cjs +2 -0
- package/dist/{Keyboard-w372197S.cjs.map → Keyboard-bXNOi0bP.cjs.map} +1 -1
- package/dist/Link-16dbGK7G.cjs +2 -0
- package/dist/{Link-xlTZan29.cjs.map → Link-16dbGK7G.cjs.map} +1 -1
- package/dist/Link-fRQvqiYx.js +11 -0
- package/dist/{Link-laNlv47N.js.map → Link-fRQvqiYx.js.map} +1 -1
- package/dist/SelectLevel-DrdlLBOs.cjs +2 -0
- package/dist/{SelectLevel-bGb0dRXh.cjs.map → SelectLevel-DrdlLBOs.cjs.map} +1 -1
- package/dist/SelectLevel-Uod3Ez6y.js +121 -0
- package/dist/{SelectLevel-cewIWtOv.js.map → SelectLevel-Uod3Ez6y.js.map} +1 -1
- package/dist/Selector-8rTHUToj.cjs +2 -0
- package/dist/{Selector-hQLSIYum.cjs.map → Selector-8rTHUToj.cjs.map} +1 -1
- package/dist/Selector-R4SumEUV.js +233 -0
- package/dist/{Selector-R3lL41_i.js.map → Selector-R4SumEUV.js.map} +1 -1
- package/dist/Swatch--Prmb5q_.cjs +2 -0
- package/dist/Swatch--Prmb5q_.cjs.map +1 -0
- package/dist/Swatch-IH4OmVdd.js +82 -0
- package/dist/Swatch-IH4OmVdd.js.map +1 -0
- package/dist/TimeRangeChip-jI9Nn9z8.js +7384 -0
- package/dist/TimeRangeChip-jI9Nn9z8.js.map +1 -0
- package/dist/TimeRangeChip-jQH9NacG.cjs +50 -0
- package/dist/TimeRangeChip-jQH9NacG.cjs.map +1 -0
- package/dist/Toggle-HVxv8bv2.js +10648 -0
- package/dist/Toggle-HVxv8bv2.js.map +1 -0
- package/dist/Toggle-QnKinMl4.cjs +73 -0
- package/dist/Toggle-QnKinMl4.cjs.map +1 -0
- package/dist/Video-iiPAk_ej.cjs +2 -0
- package/dist/{Video-a7BUKvzF.cjs.map → Video-iiPAk_ej.cjs.map} +1 -1
- package/dist/Video-vyIORMaH.js +11 -0
- package/dist/{Video-Vpwp5ao1.js.map → Video-vyIORMaH.js.map} +1 -1
- package/dist/aether.cjs +1 -89
- package/dist/aether.cjs.map +1 -1
- package/dist/aether.js +76 -80
- package/dist/aether.js.map +1 -1
- package/dist/align.cjs +1 -9
- package/dist/align.cjs.map +1 -1
- package/dist/align.js +5 -5
- package/dist/button.cjs +1 -14
- package/dist/button.cjs.map +1 -1
- package/dist/button.js +9 -8
- package/dist/button.js.map +1 -1
- package/dist/color-9QRifwqk.js +9 -0
- package/dist/color-9QRifwqk.js.map +1 -0
- package/dist/color-gJTR__ef.cjs +2 -0
- package/dist/color-gJTR__ef.cjs.map +1 -0
- package/dist/color.cjs +2 -0
- package/dist/color.cjs.map +1 -0
- package/dist/color.js +16 -0
- package/dist/color.js.map +1 -0
- package/dist/component-LA8IXGSG.js +17961 -0
- package/dist/component-LA8IXGSG.js.map +1 -0
- package/dist/component-dgLAEMbt.cjs +23 -0
- package/dist/component-dgLAEMbt.cjs.map +1 -0
- package/dist/css-5RvvUhjr.js +6414 -0
- package/dist/{css-NTD4Xm8x.js.map → css-5RvvUhjr.js.map} +1 -1
- package/dist/css-s9KpanYu.cjs +8 -0
- package/dist/{css-V3VUT_Js.cjs.map → css-s9KpanYu.cjs.map} +1 -1
- package/dist/css.cjs +2 -0
- package/dist/css.cjs.map +1 -0
- package/dist/css.js +10 -0
- package/dist/css.js.map +1 -0
- package/dist/dimensions--C45ahLe.js +20 -0
- package/dist/{dimensions-guJ5PHmb.js.map → dimensions--C45ahLe.js.map} +1 -1
- package/dist/dimensions-HfZjDJQz.cjs +2 -0
- package/dist/{dimensions-Sej0Zly9.cjs.map → dimensions-HfZjDJQz.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -12
- package/dist/dropdown.cjs.map +1 -1
- package/dist/dropdown.js +7 -6
- package/dist/dropdown.js.map +1 -1
- package/dist/external--jsfNkbo.cjs +2 -0
- package/dist/external--jsfNkbo.cjs.map +1 -0
- package/dist/external-1DGLK9F2.js +17 -0
- package/dist/external-1DGLK9F2.js.map +1 -0
- package/dist/external-4h9H4Y_N.js +21 -0
- package/dist/external-4h9H4Y_N.js.map +1 -0
- package/dist/external-4uqucf0m.js +67 -0
- package/dist/{external-QuVTCnGl.js.map → external-4uqucf0m.js.map} +1 -1
- package/dist/external-A_eQgT5T.cjs +2 -0
- package/dist/external-A_eQgT5T.cjs.map +1 -0
- package/dist/external-FCO_hdNr.js +24 -0
- package/dist/external-FCO_hdNr.js.map +1 -0
- package/dist/external-HZ6f2KvU.cjs +2 -0
- package/dist/external-HZ6f2KvU.cjs.map +1 -0
- package/dist/external-LPdjowBG.cjs +2 -0
- package/dist/external-LPdjowBG.cjs.map +1 -0
- package/dist/external-O1b3FJKI.cjs +2 -0
- package/dist/external-O1b3FJKI.cjs.map +1 -0
- package/dist/external-RGdrJX7y.cjs +2 -0
- package/dist/{external-9Ncn2J9B.cjs.map → external-RGdrJX7y.cjs.map} +1 -1
- package/dist/external-WiHGqQPA.js +30 -0
- package/dist/external-WiHGqQPA.js.map +1 -0
- package/dist/external-eWu6hCLU.cjs +2 -0
- package/dist/external-eWu6hCLU.cjs.map +1 -0
- package/dist/external-kvAz85mu.js +18 -0
- package/dist/external-kvAz85mu.js.map +1 -0
- package/dist/external-mpVdVPF1.js +88 -0
- package/dist/external-mpVdVPF1.js.map +1 -0
- package/dist/external-nTDD8IMd.cjs +2 -0
- package/dist/external-nTDD8IMd.cjs.map +1 -0
- package/dist/external-phknItOL.js +15 -0
- package/dist/external-phknItOL.js.map +1 -0
- package/dist/external-rGcWjp84.cjs +2 -0
- package/dist/{external-zBiIxeDG.cjs.map → external-rGcWjp84.cjs.map} +1 -1
- package/dist/external-r_2-tYfC.js +88 -0
- package/dist/{external-up1sE3F6.js.map → external-r_2-tYfC.js.map} +1 -1
- package/dist/external-sHbzLUrP.js +17 -0
- package/dist/external-sHbzLUrP.js.map +1 -0
- package/dist/external-tZiYBM94.cjs +2 -0
- package/dist/external-tZiYBM94.cjs.map +1 -0
- package/dist/external-tnCo64yx.cjs +2 -0
- package/dist/external-tnCo64yx.cjs.map +1 -0
- package/dist/external-uR-7_68y.js +16 -0
- package/dist/external-uR-7_68y.js.map +1 -0
- package/dist/external-uSIsCKNG.js +15 -0
- package/dist/external-uSIsCKNG.js.map +1 -0
- package/dist/external-z6BLlxur.cjs +2 -0
- package/dist/external-z6BLlxur.cjs.map +1 -0
- package/dist/font-HpLrwPSD.js +16 -0
- package/dist/{font-t7KoGNFX.js.map → font-HpLrwPSD.js.map} +1 -1
- package/dist/font-yosRgv9n.cjs +2 -0
- package/dist/{font-wlgaMRYN.cjs.map → font-yosRgv9n.cjs.map} +1 -1
- package/dist/fontString-_dtZSiPk.cjs +2 -0
- package/dist/{fontString-i24UxKCQ.cjs.map → fontString-_dtZSiPk.cjs.map} +1 -1
- package/dist/fontString-lodjYTYz.js +12 -0
- package/dist/{fontString-RKvYIr5H.js.map → fontString-lodjYTYz.js.map} +1 -1
- package/dist/header.cjs +1 -14
- package/dist/header.cjs.map +1 -1
- package/dist/header.js +9 -8
- package/dist/header.js.map +1 -1
- package/dist/index.cjs +1 -1174
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +737 -930
- package/dist/index.js.map +1 -1
- package/dist/input/Input.stories.d.ts +1 -0
- package/dist/input/TextArea.d.ts +20 -0
- package/dist/input/external.d.ts +1 -0
- package/dist/input/types.d.ts +4 -2
- package/dist/input.cjs +1 -14
- package/dist/input.cjs.map +1 -1
- package/dist/input.js +9 -8
- package/dist/input.js.map +1 -1
- package/dist/jsx-runtime-NmMXPjeo.js +632 -0
- package/dist/{jsx-runtime-rX5tAIG2.js.map → jsx-runtime-NmMXPjeo.js.map} +1 -1
- package/dist/jsx-runtime-evvPGacs.cjs +28 -0
- package/dist/{jsx-runtime-N1ikfypN.cjs.map → jsx-runtime-evvPGacs.cjs.map} +1 -1
- package/dist/list.cjs +1 -26
- package/dist/list.cjs.map +1 -1
- package/dist/list.js +21 -19
- package/dist/list.js.map +1 -1
- package/dist/menu.cjs +1 -15
- package/dist/menu.cjs.map +1 -1
- package/dist/menu.js +10 -9
- package/dist/menu.js.map +1 -1
- package/dist/style.css +1 -3119
- package/dist/table-MJysJcCC.js +10312 -0
- package/dist/table-MJysJcCC.js.map +1 -0
- package/dist/table-NIrLpFOm.cjs +69 -0
- package/dist/table-NIrLpFOm.cjs.map +1 -0
- package/dist/tabs.cjs +1 -14
- package/dist/tabs.cjs.map +1 -1
- package/dist/tabs.js +9 -8
- package/dist/tabs.js.map +1 -1
- package/dist/text.cjs +1 -16
- package/dist/text.cjs.map +1 -1
- package/dist/text.js +11 -10
- package/dist/text.js.map +1 -1
- package/dist/theming.cjs +1 -15
- package/dist/theming.cjs.map +1 -1
- package/dist/theming.js +10 -9
- package/dist/theming.js.map +1 -1
- package/dist/tree.cjs +1 -25
- package/dist/tree.cjs.map +1 -1
- package/dist/tree.js +20 -18
- package/dist/tree.js.map +1 -1
- package/dist/triggers.cjs +1 -15
- package/dist/triggers.cjs.map +1 -1
- package/dist/triggers.js +10 -9
- package/dist/triggers.js.map +1 -1
- package/dist/useDrag-4o21IpGy.js +36 -0
- package/dist/{useDrag-rQt5hv4R.js.map → useDrag-4o21IpGy.js.map} +1 -1
- package/dist/useDrag-l_moa7e3.cjs +2 -0
- package/dist/{useDrag-KRQ7DTg1.cjs.map → useDrag-l_moa7e3.cjs.map} +1 -1
- package/dist/video.cjs +1 -9
- package/dist/video.cjs.map +1 -1
- package/dist/video.js +3 -3
- package/package.json +15 -5
- package/dist/Center-ZAcURh-3.cjs +0 -148
- package/dist/Center-gEKkAkdh.js +0 -149
- package/dist/Header-5YX6FUn6.cjs +0 -35
- package/dist/Header-7x6367IV.js +0 -36
- package/dist/Item-EDdYN2NK.js +0 -171
- package/dist/Item-HWzX7RK2.cjs +0 -170
- package/dist/Item-owLU4Xop.js +0 -97
- package/dist/Item-rkSKzZoh.cjs +0 -96
- package/dist/Keyboard-mE03PKwA.js +0 -14
- package/dist/Keyboard-w372197S.cjs +0 -13
- package/dist/Link-laNlv47N.js +0 -13
- package/dist/Link-xlTZan29.cjs +0 -12
- package/dist/SelectLevel-bGb0dRXh.cjs +0 -152
- package/dist/SelectLevel-cewIWtOv.js +0 -153
- package/dist/Selector-R3lL41_i.js +0 -267
- package/dist/Selector-hQLSIYum.cjs +0 -266
- package/dist/TimeRangeChip-XXXLMCrf.cjs +0 -9316
- package/dist/TimeRangeChip-XXXLMCrf.cjs.map +0 -1
- package/dist/TimeRangeChip-eDCX5pUC.js +0 -9301
- package/dist/TimeRangeChip-eDCX5pUC.js.map +0 -1
- package/dist/Toggle-eOKYw1OT.cjs +0 -13664
- package/dist/Toggle-eOKYw1OT.cjs.map +0 -1
- package/dist/Toggle-kLunfJtR.js +0 -13665
- package/dist/Toggle-kLunfJtR.js.map +0 -1
- package/dist/Video-Vpwp5ao1.js +0 -12
- package/dist/Video-a7BUKvzF.cjs +0 -11
- package/dist/component-joFaJiQW.cjs +0 -24719
- package/dist/component-joFaJiQW.cjs.map +0 -1
- package/dist/component-k78Jq9I7.js +0 -24720
- package/dist/component-k78Jq9I7.js.map +0 -1
- package/dist/css-NTD4Xm8x.js +0 -9206
- package/dist/css-V3VUT_Js.cjs +0 -9204
- package/dist/dimensions-Sej0Zly9.cjs +0 -26
- package/dist/dimensions-guJ5PHmb.js +0 -27
- package/dist/external-2Aicsb3l.js +0 -88
- package/dist/external-2Aicsb3l.js.map +0 -1
- package/dist/external-9Ncn2J9B.cjs +0 -93
- package/dist/external-9RCzxzgZ.js +0 -30
- package/dist/external-9RCzxzgZ.js.map +0 -1
- package/dist/external-9pS8-DvV.js +0 -15
- package/dist/external-9pS8-DvV.js.map +0 -1
- package/dist/external-KxlyA74C.js +0 -20
- package/dist/external-KxlyA74C.js.map +0 -1
- package/dist/external-OSLzuRs1.cjs +0 -14
- package/dist/external-OSLzuRs1.cjs.map +0 -1
- package/dist/external-PS3nzqUn.cjs +0 -23
- package/dist/external-PS3nzqUn.cjs.map +0 -1
- package/dist/external-QRmqSjV0.js +0 -18
- package/dist/external-QRmqSjV0.js.map +0 -1
- package/dist/external-QuVTCnGl.js +0 -71
- package/dist/external-U5HRPaDI.cjs +0 -17
- package/dist/external-U5HRPaDI.cjs.map +0 -1
- package/dist/external-_CtRDtih.js +0 -17
- package/dist/external-_CtRDtih.js.map +0 -1
- package/dist/external-eQU48hM4.cjs +0 -87
- package/dist/external-eQU48hM4.cjs.map +0 -1
- package/dist/external-kbDFnfuk.js +0 -24
- package/dist/external-kbDFnfuk.js.map +0 -1
- package/dist/external-oX1JmOFf.js +0 -17
- package/dist/external-oX1JmOFf.js.map +0 -1
- package/dist/external-oZe6tF4A.cjs +0 -14
- package/dist/external-oZe6tF4A.cjs.map +0 -1
- package/dist/external-tVcmKSsT.cjs +0 -19
- package/dist/external-tVcmKSsT.cjs.map +0 -1
- package/dist/external-up1sE3F6.js +0 -94
- package/dist/external-uvx0b-Jw.cjs +0 -16
- package/dist/external-uvx0b-Jw.cjs.map +0 -1
- package/dist/external-vXBQOmKv.js +0 -15
- package/dist/external-vXBQOmKv.js.map +0 -1
- package/dist/external-yiqRIIvW.cjs +0 -16
- package/dist/external-yiqRIIvW.cjs.map +0 -1
- package/dist/external-zBiIxeDG.cjs +0 -70
- package/dist/external-zw9fckWT.cjs +0 -29
- package/dist/external-zw9fckWT.cjs.map +0 -1
- package/dist/font-t7KoGNFX.js +0 -17
- package/dist/font-wlgaMRYN.cjs +0 -16
- package/dist/fontString-RKvYIr5H.js +0 -13
- package/dist/fontString-i24UxKCQ.cjs +0 -12
- package/dist/jsx-runtime-N1ikfypN.cjs +0 -931
- package/dist/jsx-runtime-rX5tAIG2.js +0 -932
- package/dist/table-8MFXzE4C.js +0 -13664
- package/dist/table-8MFXzE4C.js.map +0 -1
- package/dist/table-VNkSG_Cj.cjs +0 -13661
- package/dist/table-VNkSG_Cj.cjs.map +0 -1
- package/dist/useDrag-KRQ7DTg1.cjs +0 -48
- package/dist/useDrag-rQt5hv4R.js +0 -49
package/dist/index.js
CHANGED
|
@@ -1,694 +1,552 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { createElement, useCallback, useState, useEffect } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n } from "./css-
|
|
7
|
-
import { B as
|
|
8
|
-
import { e } from "./external-
|
|
9
|
-
import { H as
|
|
10
|
-
import { V as
|
|
11
|
-
import { h } from "./component-
|
|
12
|
-
import { S as
|
|
13
|
-
import { G } from "./Center-
|
|
14
|
-
import { d as
|
|
15
|
-
import { aC as
|
|
16
|
-
import { ag as
|
|
17
|
-
import { u as
|
|
18
|
-
import { e as
|
|
19
|
-
import { e as
|
|
20
|
-
import { e as
|
|
21
|
-
import {
|
|
22
|
-
import { e as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { e as
|
|
28
|
-
import {
|
|
29
|
-
import { e as
|
|
30
|
-
import {
|
|
1
|
+
import { j as n } from "./jsx-runtime-NmMXPjeo.js";
|
|
2
|
+
import { createElement as C, useCallback as ne, useState as Ne, useEffect as De } from "react";
|
|
3
|
+
import { F as x, aa as Ge, ab as re, A as Ae, ac as Re, ad as Ze, ae as He, af as le, ag as Ve, ah as Fe, ai as Xe, aj as Ye, ak as Ue, al as We, M as Ke, I as X, g as Z, am as oe, w as ie, an as Y, v as ce, ao as Je, O as Qe, ap as qe, aq as es, ar as ss, P as ts, e as Q } from "./Toggle-HVxv8bv2.js";
|
|
4
|
+
import { as as tn, at as an, D as nn, au as rn, av as ln, ax as on, aG as cn, aH as un, az as dn, a9 as mn, aE as fn, aF as pn, aA as xn, aw as bn, ay as gn, aB as yn, aC as jn, aD as hn } from "./Toggle-HVxv8bv2.js";
|
|
5
|
+
import { C as p, b as y, i as as, l as P, j as ns, e as rs, x as B, T as N, k as ls } from "./css-5RvvUhjr.js";
|
|
6
|
+
import { n as Tn } from "./css-5RvvUhjr.js";
|
|
7
|
+
import { B as os, A as is } from "./external-r_2-tYfC.js";
|
|
8
|
+
import { e as vn } from "./external-r_2-tYfC.js";
|
|
9
|
+
import { H as cs } from "./Header-9CR1VnwV.js";
|
|
10
|
+
import { V as us, g as ds, v as ms } from "./component-LA8IXGSG.js";
|
|
11
|
+
import { h as zn } from "./component-LA8IXGSG.js";
|
|
12
|
+
import { S as k, P as fs } from "./Center-8mBjm1cO.js";
|
|
13
|
+
import { G as Pn } from "./Center-8mBjm1cO.js";
|
|
14
|
+
import { d as ps, M as ue, e as xs, f as bs, g as de, h as H, i as gs, j as me, k as fe, l as ys, m as z, D as js, n as hs, o as Ss, p as Ts, q as _s, Z as vs, r as ws, s as U, t as pe, V as xe, X as be, Y as ge, v as zs, w as Ms, x as Ps, y as Ls, z as Os, A as w, R as ye, B as Es, E as je, G as Cs, I as ks, J as Is, K as $s, N as Bs, O as Ns, Q as Ds, U as Gs, W as As, _ as Rs, $ as Zs, a0 as Hs, a1 as Vs, a2 as Fs, a3 as Xs, a4 as Ys, a5 as Us, a6 as Ws, a7 as Ks, a8 as Js, a9 as Qs, aa as qs, ab as et, ac as st, ad as tt, ae as at, af as nt, ag as rt, ah as lt, ai as ot, aj as it, ak as ct, al as ut, am as dt, an as mt, ao as ft, ap as pt, aq as xt, ar as he, as as bt, at as gt, au as yt, av as jt, aw as ht, ax as St } from "./TimeRangeChip-jI9Nn9z8.js";
|
|
15
|
+
import { aA as On, aG as En, aB as Cn, aC as kn, aE as In, aD as $n, ay as Bn, az as Nn, aF as Dn, T as Gn, aI as An, aH as Rn, aK as Zn, aJ as Hn } from "./TimeRangeChip-jI9Nn9z8.js";
|
|
16
|
+
import { ag as q, u as ee, a_ as Tt, a$ as _t } from "./table-MJysJcCC.js";
|
|
17
|
+
import { u as vt } from "./font-HpLrwPSD.js";
|
|
18
|
+
import { e as Fn } from "./external-uSIsCKNG.js";
|
|
19
|
+
import { e as Yn } from "./external-phknItOL.js";
|
|
20
|
+
import { e as Wn } from "./external-uR-7_68y.js";
|
|
21
|
+
import { c as Jn, u as Qn } from "./color-9QRifwqk.js";
|
|
22
|
+
import { e as er } from "./external-4h9H4Y_N.js";
|
|
23
|
+
import { e as tr } from "./external-kvAz85mu.js";
|
|
24
|
+
import { e as nr } from "./external-sHbzLUrP.js";
|
|
25
|
+
import { b as Se, r as wt } from "./Selector-R4SumEUV.js";
|
|
26
|
+
import { B as W } from "./SelectLevel-Uod3Ez6y.js";
|
|
27
|
+
import { e as lr } from "./external-1DGLK9F2.js";
|
|
28
|
+
import { e as ir } from "./external-WiHGqQPA.js";
|
|
29
|
+
import { e as ur } from "./external-FCO_hdNr.js";
|
|
30
|
+
import { T as zt } from "./external-4uqucf0m.js";
|
|
31
|
+
import { e as mr } from "./external-4uqucf0m.js";
|
|
32
|
+
import { V as pr } from "./Video-vyIORMaH.js";
|
|
31
33
|
import "react-hook-form";
|
|
32
|
-
import "./Item-
|
|
33
|
-
import { e as
|
|
34
|
+
import "./Item-kbCoFEj2.js";
|
|
35
|
+
import { e as br } from "./external-mpVdVPF1.js";
|
|
34
36
|
import "react-dom";
|
|
35
37
|
import "zod";
|
|
36
|
-
import "./
|
|
37
|
-
import "./
|
|
38
|
-
import "./
|
|
39
|
-
import "./
|
|
38
|
+
import "./Swatch-IH4OmVdd.js";
|
|
39
|
+
import "./useDrag-4o21IpGy.js";
|
|
40
|
+
import "./Item--h4UWJZo.js";
|
|
41
|
+
import "./dimensions--C45ahLe.js";
|
|
42
|
+
import "./Link-fRQvqiYx.js";
|
|
40
43
|
import "./Video-w40geAFS.js";
|
|
41
|
-
import "./fontString-
|
|
42
|
-
import "./Keyboard-
|
|
43
|
-
const
|
|
44
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1.Circle, { color: variantColors[variant] });
|
|
45
|
-
};
|
|
46
|
-
const external$g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
44
|
+
import "./fontString-lodjYTYz.js";
|
|
45
|
+
import "./Keyboard-IWRXgioJ.js";
|
|
46
|
+
const Mt = ({ variant: e }) => /* @__PURE__ */ n.jsx(x.Circle, { color: Ge[e] }), Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47
47
|
__proto__: null,
|
|
48
|
-
Aggregator,
|
|
49
|
-
Circle,
|
|
50
|
-
Text,
|
|
51
|
-
VARIANTS,
|
|
52
|
-
specZ,
|
|
53
|
-
useAggregator,
|
|
54
|
-
useContext,
|
|
55
|
-
useNotifications,
|
|
56
|
-
variantZ
|
|
57
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
58
|
-
const external$f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
48
|
+
Aggregator: re,
|
|
49
|
+
Circle: Mt,
|
|
50
|
+
Text: Ae,
|
|
51
|
+
VARIANTS: us,
|
|
52
|
+
specZ: ds,
|
|
53
|
+
useAggregator: Re,
|
|
54
|
+
useContext: Ze,
|
|
55
|
+
useNotifications: He,
|
|
56
|
+
variantZ: ms
|
|
57
|
+
}, Symbol.toStringTag, { value: "Module" })), Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
59
58
|
__proto__: null,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
68
|
-
const external$e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
69
|
-
__proto__: null,
|
|
70
|
-
Config,
|
|
71
|
-
Context,
|
|
72
|
-
Dialog,
|
|
73
|
-
formatTip,
|
|
74
|
-
useConfig,
|
|
75
|
-
wrap
|
|
76
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
77
|
-
const external$d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
59
|
+
Config: le,
|
|
60
|
+
Context: Ve,
|
|
61
|
+
Dialog: Fe,
|
|
62
|
+
formatTip: Xe,
|
|
63
|
+
useConfig: Ye,
|
|
64
|
+
wrap: Ue
|
|
65
|
+
}, Symbol.toStringTag, { value: "Module" })), Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
78
66
|
__proto__: null,
|
|
79
|
-
Core,
|
|
80
|
-
Multiple,
|
|
81
|
-
Single,
|
|
82
|
-
calculateDiffPercentage,
|
|
83
|
-
useMultiple
|
|
84
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
85
|
-
const DIRECTION = "y";
|
|
86
|
-
const MIN_SIZE = 28;
|
|
87
|
-
const COLLAPSED_THRESHOLD = 32;
|
|
88
|
-
const EXPAND_THRESHOLD = 40;
|
|
89
|
-
const DEFAULT_EXPAND_SIZE = 0.5;
|
|
90
|
-
const Accordion = ({ data, ...props }) => {
|
|
67
|
+
Core: ps,
|
|
68
|
+
Multiple: ue,
|
|
69
|
+
Single: xs,
|
|
70
|
+
calculateDiffPercentage: bs,
|
|
71
|
+
useMultiple: de
|
|
72
|
+
}, Symbol.toStringTag, { value: "Module" })), M = "y", se = 28, Pt = 32, Lt = 40, Ot = 0.5, Et = ({ data: e, ...s }) => {
|
|
91
73
|
const {
|
|
92
|
-
setSize,
|
|
93
|
-
props: { sizeDistribution:
|
|
94
|
-
} =
|
|
95
|
-
direction:
|
|
96
|
-
count:
|
|
97
|
-
minSize:
|
|
98
|
-
})
|
|
99
|
-
|
|
100
|
-
if (ref.current == null)
|
|
74
|
+
setSize: t,
|
|
75
|
+
props: { sizeDistribution: a, ref: r, ...l }
|
|
76
|
+
} = de({
|
|
77
|
+
direction: M,
|
|
78
|
+
count: e.length,
|
|
79
|
+
minSize: se
|
|
80
|
+
}), o = (i) => {
|
|
81
|
+
if (r.current == null)
|
|
101
82
|
return;
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
setSize(index, data[index].initialSize ?? DEFAULT_EXPAND_SIZE);
|
|
105
|
-
else
|
|
106
|
-
setSize(index, MIN_SIZE + 1);
|
|
83
|
+
const u = y.dim(y.construct(r.current), M);
|
|
84
|
+
a[i] < Lt / u ? t(i, e[i].initialSize ?? Ot) : t(i, se + 1);
|
|
107
85
|
};
|
|
108
|
-
return /* @__PURE__ */
|
|
109
|
-
|
|
86
|
+
return /* @__PURE__ */ n.jsx(
|
|
87
|
+
ue,
|
|
110
88
|
{
|
|
111
|
-
empty:
|
|
112
|
-
className:
|
|
113
|
-
sizeDistribution:
|
|
114
|
-
ref,
|
|
115
|
-
...
|
|
116
|
-
...
|
|
117
|
-
children:
|
|
118
|
-
|
|
89
|
+
empty: !0,
|
|
90
|
+
className: p.B("accordion"),
|
|
91
|
+
sizeDistribution: a,
|
|
92
|
+
ref: r,
|
|
93
|
+
...s,
|
|
94
|
+
...l,
|
|
95
|
+
children: e.map((i, u) => /* @__PURE__ */ C(
|
|
96
|
+
It,
|
|
119
97
|
{
|
|
120
|
-
...
|
|
121
|
-
key:
|
|
122
|
-
index:
|
|
123
|
-
direction:
|
|
124
|
-
onExpand,
|
|
125
|
-
parent:
|
|
126
|
-
size:
|
|
98
|
+
...i,
|
|
99
|
+
key: i.key,
|
|
100
|
+
index: u,
|
|
101
|
+
direction: M,
|
|
102
|
+
onExpand: o,
|
|
103
|
+
parent: r,
|
|
104
|
+
size: a[u]
|
|
127
105
|
}
|
|
128
106
|
))
|
|
129
107
|
}
|
|
130
108
|
);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
size,
|
|
140
|
-
parent,
|
|
141
|
-
onExpand
|
|
109
|
+
}, Ct = /* @__PURE__ */ n.jsx(x.Caret.Down, { "aria-label": "contract" }), kt = /* @__PURE__ */ n.jsx(x.Caret.Right, { "aria-label": "expand" }), It = ({
|
|
110
|
+
index: e,
|
|
111
|
+
name: s,
|
|
112
|
+
content: t,
|
|
113
|
+
actions: a,
|
|
114
|
+
size: r,
|
|
115
|
+
parent: l,
|
|
116
|
+
onExpand: o
|
|
142
117
|
}) => {
|
|
143
|
-
let
|
|
144
|
-
if (
|
|
145
|
-
const
|
|
146
|
-
|
|
118
|
+
let i = !0;
|
|
119
|
+
if (l.current != null) {
|
|
120
|
+
const d = y.dim(y.construct(l.current), M);
|
|
121
|
+
i = r * d > Pt;
|
|
147
122
|
}
|
|
148
|
-
const
|
|
149
|
-
return /* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
|
|
123
|
+
const u = i ? Ct : kt;
|
|
124
|
+
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
125
|
+
/* @__PURE__ */ n.jsxs(cs, { level: "p", className: p.expanded(i), empty: !0, children: [
|
|
126
|
+
/* @__PURE__ */ n.jsx(os, { startIcon: u, onClick: () => o(e), children: s }),
|
|
127
|
+
a != null && /* @__PURE__ */ n.jsx(is, { children: a })
|
|
153
128
|
] }),
|
|
154
|
-
|
|
129
|
+
t
|
|
155
130
|
] });
|
|
156
|
-
}
|
|
157
|
-
const Accordion$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
131
|
+
}, Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
158
132
|
__proto__: null,
|
|
159
|
-
Accordion
|
|
160
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
...props
|
|
133
|
+
Accordion: Et
|
|
134
|
+
}, Symbol.toStringTag, { value: "Module" })), Te = ({
|
|
135
|
+
className: e,
|
|
136
|
+
style: s,
|
|
137
|
+
onLineChange: t,
|
|
138
|
+
...a
|
|
166
139
|
}) => {
|
|
167
|
-
const { lines } =
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
level = "h2",
|
|
173
|
-
...props
|
|
140
|
+
const { lines: r } = H("Legend");
|
|
141
|
+
return H("Legend"), /* @__PURE__ */ n.jsx(gs, { data: r, onEntryChange: t, ...a });
|
|
142
|
+
}, _e = ({
|
|
143
|
+
level: e = "h2",
|
|
144
|
+
...s
|
|
174
145
|
}) => {
|
|
175
|
-
const
|
|
176
|
-
const font = useTypography(level);
|
|
177
|
-
const gridStyle = useGridPosition(
|
|
146
|
+
const t = We(), a = vt(e), r = me(
|
|
178
147
|
{
|
|
179
|
-
key,
|
|
180
|
-
size: (
|
|
148
|
+
key: t,
|
|
149
|
+
size: (a.lineHeight + 2) * a.baseSize,
|
|
181
150
|
loc: "top",
|
|
182
151
|
order: "first"
|
|
183
152
|
},
|
|
184
153
|
"Title"
|
|
185
154
|
);
|
|
186
|
-
return /* @__PURE__ */
|
|
187
|
-
}
|
|
188
|
-
const DATA = [
|
|
155
|
+
return /* @__PURE__ */ n.jsx(k, { justify: "center", align: "center", style: r, children: /* @__PURE__ */ n.jsx(Ke, { ...s, level: e }) });
|
|
156
|
+
}, $t = [
|
|
189
157
|
{
|
|
190
158
|
key: "x",
|
|
191
|
-
icon: /* @__PURE__ */
|
|
159
|
+
icon: /* @__PURE__ */ n.jsx(x.Arrow.Right, {})
|
|
192
160
|
},
|
|
193
161
|
{
|
|
194
162
|
key: "y",
|
|
195
|
-
icon: /* @__PURE__ */
|
|
163
|
+
icon: /* @__PURE__ */ n.jsx(x.Arrow.Down, {})
|
|
196
164
|
}
|
|
197
|
-
]
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
const Direction = ({
|
|
215
|
-
children = defaultSelectDirectionButton,
|
|
216
|
-
...props
|
|
217
|
-
}) => {
|
|
218
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { ...props, data: DATA, children });
|
|
219
|
-
};
|
|
220
|
-
const external$c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
165
|
+
], Bt = ({
|
|
166
|
+
key: e,
|
|
167
|
+
entry: s,
|
|
168
|
+
onClick: t,
|
|
169
|
+
selected: a
|
|
170
|
+
}) => /* @__PURE__ */ n.jsx(
|
|
171
|
+
X,
|
|
172
|
+
{
|
|
173
|
+
variant: a ? "filled" : "outlined",
|
|
174
|
+
onClick: t,
|
|
175
|
+
children: s.icon
|
|
176
|
+
},
|
|
177
|
+
e
|
|
178
|
+
), Nt = ({
|
|
179
|
+
children: e = Bt,
|
|
180
|
+
...s
|
|
181
|
+
}) => /* @__PURE__ */ n.jsx(W, { ...s, data: $t, children: e }), Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
221
182
|
__proto__: null,
|
|
222
|
-
Button:
|
|
223
|
-
Direction,
|
|
224
|
-
Multiple:
|
|
225
|
-
Single:
|
|
226
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
227
|
-
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
triggers,
|
|
240
|
-
disable = ["zoomReset", "click"],
|
|
241
|
-
...props
|
|
183
|
+
Button: W,
|
|
184
|
+
Direction: Nt,
|
|
185
|
+
Multiple: fe,
|
|
186
|
+
Single: ys
|
|
187
|
+
}, Symbol.toStringTag, { value: "Module" })), Dt = ({ mode: e, triggers: s }) => /* @__PURE__ */ n.jsxs(k, { direction: "x", align: "center", children: [
|
|
188
|
+
/* @__PURE__ */ n.jsx(Z, { level: "small", children: as.capitalize(e) }),
|
|
189
|
+
/* @__PURE__ */ n.jsx(zt, { trigger: s[0], level: "small" })
|
|
190
|
+
] }), Gt = {
|
|
191
|
+
zoom: /* @__PURE__ */ n.jsx(x.Zoom, {}),
|
|
192
|
+
pan: /* @__PURE__ */ n.jsx(x.Pan, {}),
|
|
193
|
+
select: /* @__PURE__ */ n.jsx(x.Selection, {}),
|
|
194
|
+
zoomReset: /* @__PURE__ */ n.jsx(x.Expand, {}),
|
|
195
|
+
click: /* @__PURE__ */ n.jsx(x.Bolt, {})
|
|
196
|
+
}, At = ({
|
|
197
|
+
triggers: e,
|
|
198
|
+
disable: s = ["zoomReset", "click"],
|
|
199
|
+
...t
|
|
242
200
|
}) => {
|
|
243
|
-
const
|
|
244
|
-
key,
|
|
245
|
-
icon:
|
|
246
|
-
tooltip: /* @__PURE__ */
|
|
247
|
-
})).sort((
|
|
248
|
-
return /* @__PURE__ */
|
|
249
|
-
|
|
201
|
+
const a = Object.entries(e).filter(([r]) => !s.includes(r) && z.includes(r)).map(([r, l]) => ({
|
|
202
|
+
key: r,
|
|
203
|
+
icon: Gt[r],
|
|
204
|
+
tooltip: /* @__PURE__ */ n.jsx(Dt, { mode: r, triggers: l })
|
|
205
|
+
})).sort((r, l) => z.indexOf(r.key) - z.indexOf(l.key));
|
|
206
|
+
return /* @__PURE__ */ n.jsx(W, { ...t, data: a, entryRenderKey: "icon", children: ({ title: r, entry: l, ...o }) => /* @__PURE__ */ C(
|
|
207
|
+
X,
|
|
250
208
|
{
|
|
251
|
-
...
|
|
252
|
-
key:
|
|
253
|
-
variant:
|
|
209
|
+
...o,
|
|
210
|
+
key: l.key,
|
|
211
|
+
variant: o.selected ? "filled" : "text",
|
|
254
212
|
size: "medium",
|
|
255
|
-
tooltip:
|
|
213
|
+
tooltip: l.tooltip,
|
|
256
214
|
tooltipLocation: { x: "right", y: "top" }
|
|
257
215
|
},
|
|
258
|
-
|
|
216
|
+
l.icon
|
|
259
217
|
) });
|
|
260
|
-
}
|
|
261
|
-
const external$b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
218
|
+
}, Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
262
219
|
__proto__: null,
|
|
263
|
-
DEFAULT_TRIGGERS,
|
|
264
|
-
MASK_MODES,
|
|
265
|
-
MODES,
|
|
266
|
-
Mask,
|
|
267
|
-
PAN_DEFAULT_TRIGGERS,
|
|
268
|
-
SELECT_DEFAULT_TRIGGERS,
|
|
269
|
-
SelectMode,
|
|
270
|
-
ZOOM_DEFAULT_TRIGGERS,
|
|
271
|
-
use:
|
|
272
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
273
|
-
const external$a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
220
|
+
DEFAULT_TRIGGERS: js,
|
|
221
|
+
MASK_MODES: hs,
|
|
222
|
+
MODES: z,
|
|
223
|
+
Mask: Ss,
|
|
224
|
+
PAN_DEFAULT_TRIGGERS: Ts,
|
|
225
|
+
SELECT_DEFAULT_TRIGGERS: _s,
|
|
226
|
+
SelectMode: At,
|
|
227
|
+
ZOOM_DEFAULT_TRIGGERS: vs,
|
|
228
|
+
use: ws
|
|
229
|
+
}, Symbol.toStringTag, { value: "Module" })), Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
274
230
|
__proto__: null,
|
|
275
|
-
Legend,
|
|
276
|
-
Line:
|
|
277
|
-
LinePlot:
|
|
278
|
-
Title,
|
|
279
|
-
Viewport,
|
|
280
|
-
XAxis:
|
|
281
|
-
YAxis:
|
|
282
|
-
axisFactory,
|
|
283
|
-
selectViewportEl,
|
|
284
|
-
useContext:
|
|
285
|
-
useGridPosition,
|
|
286
|
-
useViewport
|
|
287
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
viewportTriggers,
|
|
307
|
-
...restProps
|
|
231
|
+
Legend: Te,
|
|
232
|
+
Line: U,
|
|
233
|
+
LinePlot: pe,
|
|
234
|
+
Title: _e,
|
|
235
|
+
Viewport: xe,
|
|
236
|
+
XAxis: be,
|
|
237
|
+
YAxis: ge,
|
|
238
|
+
axisFactory: zs,
|
|
239
|
+
selectViewportEl: Ms,
|
|
240
|
+
useContext: H,
|
|
241
|
+
useGridPosition: me,
|
|
242
|
+
useViewport: Ps
|
|
243
|
+
}, Symbol.toStringTag, { value: "Module" })), ve = Y(w), Rt = ({
|
|
244
|
+
lines: e,
|
|
245
|
+
axes: s,
|
|
246
|
+
showTitle: t = !0,
|
|
247
|
+
title: a = "",
|
|
248
|
+
onTitleChange: r,
|
|
249
|
+
showLegend: l = !0,
|
|
250
|
+
titleLevel: o = "h4",
|
|
251
|
+
onLineChange: i,
|
|
252
|
+
onRuleChange: u,
|
|
253
|
+
onAxisChannelDrop: d,
|
|
254
|
+
onAxisChange: c,
|
|
255
|
+
rules: m,
|
|
256
|
+
enableTooltip: b = !0,
|
|
257
|
+
enableMeasure: f = !1,
|
|
258
|
+
initialViewport: g = y.DECIMAL,
|
|
259
|
+
onViewportChange: T,
|
|
260
|
+
viewportTriggers: $,
|
|
261
|
+
..._
|
|
308
262
|
}) => {
|
|
309
|
-
const
|
|
310
|
-
return /* @__PURE__ */
|
|
311
|
-
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
const axisRules = rules == null ? void 0 : rules.filter(
|
|
315
|
-
(r) => [...yAxes.map(({ key: id }) => id), a.key].includes(r.axis)
|
|
263
|
+
const Ce = s.filter(({ location: h }) => P.isY(h));
|
|
264
|
+
return /* @__PURE__ */ n.jsxs(pe, { ..._, children: [
|
|
265
|
+
Ce.map((h, ke) => {
|
|
266
|
+
const Ie = e.filter((v) => v.axes.x === h.key), J = s.filter(({ location: v }) => P.isX(v)), $e = m == null ? void 0 : m.filter(
|
|
267
|
+
(v) => [...J.map(({ key: Be }) => Be), h.key].includes(v.axis)
|
|
316
268
|
);
|
|
317
|
-
return /* @__PURE__ */
|
|
318
|
-
|
|
269
|
+
return /* @__PURE__ */ n.jsx(
|
|
270
|
+
Zt,
|
|
319
271
|
{
|
|
320
|
-
axis:
|
|
321
|
-
index:
|
|
322
|
-
lines:
|
|
323
|
-
yAxes,
|
|
324
|
-
rules:
|
|
325
|
-
onAxisChannelDrop,
|
|
326
|
-
onAxisChange
|
|
272
|
+
axis: h,
|
|
273
|
+
index: ke,
|
|
274
|
+
lines: Ie,
|
|
275
|
+
yAxes: J,
|
|
276
|
+
rules: $e,
|
|
277
|
+
onAxisChannelDrop: d,
|
|
278
|
+
onAxisChange: c
|
|
327
279
|
},
|
|
328
|
-
|
|
280
|
+
h.key
|
|
329
281
|
);
|
|
330
282
|
}),
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
/* @__PURE__ */
|
|
334
|
-
|
|
283
|
+
l && /* @__PURE__ */ n.jsx(Te, { onLineChange: i }),
|
|
284
|
+
t && /* @__PURE__ */ n.jsx(_e, { value: a, onChange: r, level: o }),
|
|
285
|
+
/* @__PURE__ */ n.jsxs(
|
|
286
|
+
xe,
|
|
335
287
|
{
|
|
336
|
-
initial:
|
|
337
|
-
onChange:
|
|
338
|
-
triggers:
|
|
288
|
+
initial: g,
|
|
289
|
+
onChange: T,
|
|
290
|
+
triggers: $,
|
|
339
291
|
children: [
|
|
340
|
-
|
|
341
|
-
|
|
292
|
+
b && /* @__PURE__ */ n.jsx(Ls, {}),
|
|
293
|
+
f && /* @__PURE__ */ n.jsx(Os, {})
|
|
342
294
|
]
|
|
343
295
|
}
|
|
344
296
|
)
|
|
345
297
|
] });
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
axis: { location: location2, key, showGrid, ...axis }
|
|
298
|
+
}, Zt = ({
|
|
299
|
+
yAxes: e,
|
|
300
|
+
lines: s,
|
|
301
|
+
index: t,
|
|
302
|
+
rules: a,
|
|
303
|
+
onRuleChange: r,
|
|
304
|
+
onAxisChannelDrop: l,
|
|
305
|
+
onAxisChange: o,
|
|
306
|
+
axis: { location: i, key: u, showGrid: d, ...c }
|
|
356
307
|
}) => {
|
|
357
|
-
const
|
|
308
|
+
const m = oe({
|
|
358
309
|
type: "Channel.LinePlot.XAxis",
|
|
359
|
-
canDrop,
|
|
360
|
-
onDrop:
|
|
361
|
-
({ items }) => {
|
|
362
|
-
const
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
);
|
|
367
|
-
return dropped;
|
|
310
|
+
canDrop: ve,
|
|
311
|
+
onDrop: ne(
|
|
312
|
+
({ items: f }) => {
|
|
313
|
+
const g = ie(w, f);
|
|
314
|
+
return l == null || l(
|
|
315
|
+
u,
|
|
316
|
+
g.map(({ key: T }) => T)
|
|
317
|
+
), g;
|
|
368
318
|
},
|
|
369
|
-
[
|
|
319
|
+
[u, l]
|
|
370
320
|
)
|
|
371
|
-
});
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
XAxis$1,
|
|
321
|
+
}), b = a == null ? void 0 : a.filter((f) => f.axis === u);
|
|
322
|
+
return /* @__PURE__ */ n.jsxs(
|
|
323
|
+
be,
|
|
375
324
|
{
|
|
376
|
-
...
|
|
377
|
-
...
|
|
378
|
-
location:
|
|
379
|
-
showGrid:
|
|
380
|
-
className:
|
|
381
|
-
|
|
325
|
+
...c,
|
|
326
|
+
...m,
|
|
327
|
+
location: i,
|
|
328
|
+
showGrid: d ?? t === 0,
|
|
329
|
+
className: p(
|
|
330
|
+
p.dropRegion(Y(w)(ce()))
|
|
382
331
|
),
|
|
383
|
-
onAutoBoundsChange: (
|
|
332
|
+
onAutoBoundsChange: (f) => o == null ? void 0 : o({ key: u, bounds: f }),
|
|
384
333
|
children: [
|
|
385
|
-
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
YAxis,
|
|
334
|
+
e.map((f, g) => {
|
|
335
|
+
const T = s.filter((_) => _.axes.y === f.key), $ = a == null ? void 0 : a.filter((_) => _.axis === f.key);
|
|
336
|
+
return /* @__PURE__ */ n.jsx(
|
|
337
|
+
Vt,
|
|
390
338
|
{
|
|
391
339
|
axis: {
|
|
392
|
-
...
|
|
393
|
-
showGrid:
|
|
340
|
+
...f,
|
|
341
|
+
showGrid: d ?? (t === 0 && g === 0)
|
|
394
342
|
},
|
|
395
|
-
lines:
|
|
396
|
-
rules:
|
|
397
|
-
onRuleChange,
|
|
398
|
-
onAxisChannelDrop,
|
|
399
|
-
onAxisChange
|
|
343
|
+
lines: T,
|
|
344
|
+
rules: $,
|
|
345
|
+
onRuleChange: r,
|
|
346
|
+
onAxisChannelDrop: l,
|
|
347
|
+
onAxisChange: o
|
|
400
348
|
},
|
|
401
|
-
|
|
349
|
+
f.key
|
|
402
350
|
);
|
|
403
351
|
}),
|
|
404
|
-
|
|
405
|
-
|
|
352
|
+
b == null ? void 0 : b.map((f) => /* @__PURE__ */ C(
|
|
353
|
+
ye,
|
|
406
354
|
{
|
|
407
|
-
aetherKey:
|
|
408
|
-
...
|
|
409
|
-
key:
|
|
410
|
-
onLabelChange: (
|
|
411
|
-
onPositionChange: (
|
|
355
|
+
aetherKey: f.key,
|
|
356
|
+
...f,
|
|
357
|
+
key: f.key,
|
|
358
|
+
onLabelChange: (g) => r == null ? void 0 : r({ key: f.key, label: g }),
|
|
359
|
+
onPositionChange: (g) => r == null ? void 0 : r({ key: f.key, position: g })
|
|
412
360
|
}
|
|
413
361
|
))
|
|
414
362
|
]
|
|
415
363
|
}
|
|
416
364
|
);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
onAxisChange,
|
|
425
|
-
axis: { key, location: loc2, ...props }
|
|
365
|
+
}, Ht = ({ channels: { x: e, y: s } }) => `${e ?? 0}-${s}`, Vt = ({
|
|
366
|
+
lines: e,
|
|
367
|
+
rules: s,
|
|
368
|
+
onRuleChange: t,
|
|
369
|
+
onAxisChannelDrop: a,
|
|
370
|
+
onAxisChange: r,
|
|
371
|
+
axis: { key: l, location: o, ...i }
|
|
426
372
|
}) => {
|
|
427
|
-
const
|
|
373
|
+
const u = oe({
|
|
428
374
|
type: "Channel.LinePlot.YAxis",
|
|
429
|
-
canDrop,
|
|
430
|
-
onDrop:
|
|
431
|
-
({ items }) => {
|
|
432
|
-
const
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
);
|
|
437
|
-
return dropped;
|
|
375
|
+
canDrop: ve,
|
|
376
|
+
onDrop: ne(
|
|
377
|
+
({ items: c }) => {
|
|
378
|
+
const m = ie(w, c);
|
|
379
|
+
return a == null || a(
|
|
380
|
+
l,
|
|
381
|
+
m.map(({ key: b }) => b)
|
|
382
|
+
), m;
|
|
438
383
|
},
|
|
439
|
-
[
|
|
384
|
+
[l, a]
|
|
440
385
|
)
|
|
441
|
-
});
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
YAxis$1,
|
|
386
|
+
}), d = ce();
|
|
387
|
+
return /* @__PURE__ */ n.jsxs(
|
|
388
|
+
ge,
|
|
445
389
|
{
|
|
446
|
-
...
|
|
447
|
-
...
|
|
448
|
-
location:
|
|
449
|
-
className:
|
|
450
|
-
onAutoBoundsChange: (
|
|
390
|
+
...i,
|
|
391
|
+
...u,
|
|
392
|
+
location: o,
|
|
393
|
+
className: p(p.dropRegion(Y(w)(d))),
|
|
394
|
+
onAutoBoundsChange: (c) => r == null ? void 0 : r({ key: l, bounds: c }),
|
|
451
395
|
children: [
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
396
|
+
e.map((c) => /* @__PURE__ */ n.jsx(Ft, { line: c }, Ht(c))),
|
|
397
|
+
s == null ? void 0 : s.map((c) => /* @__PURE__ */ C(
|
|
398
|
+
ye,
|
|
455
399
|
{
|
|
456
|
-
aetherKey:
|
|
457
|
-
...
|
|
458
|
-
key:
|
|
459
|
-
onLabelChange: (
|
|
460
|
-
onPositionChange: (
|
|
400
|
+
aetherKey: c.key,
|
|
401
|
+
...c,
|
|
402
|
+
key: c.key,
|
|
403
|
+
onLabelChange: (m) => t == null ? void 0 : t({ key: c.key, label: m }),
|
|
404
|
+
onPositionChange: (m) => t == null ? void 0 : t({ key: c.key, position: m })
|
|
461
405
|
}
|
|
462
406
|
))
|
|
463
407
|
]
|
|
464
408
|
}
|
|
465
409
|
);
|
|
466
|
-
}
|
|
467
|
-
const Line = ({ line }) => line.variant === "static" ? /* @__PURE__ */ jsxRuntimeExports.jsx(StaticLine, { line }) : /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicLine, { line });
|
|
468
|
-
const DynamicLine = ({
|
|
410
|
+
}, Ft = ({ line: e }) => e.variant === "static" ? /* @__PURE__ */ n.jsx(Yt, { line: e }) : /* @__PURE__ */ n.jsx(Xt, { line: e }), Xt = ({
|
|
469
411
|
line: {
|
|
470
|
-
key,
|
|
471
|
-
timeSpan,
|
|
472
|
-
channels: { x, y },
|
|
473
|
-
...
|
|
412
|
+
key: e,
|
|
413
|
+
timeSpan: s,
|
|
414
|
+
channels: { x: t, y: a },
|
|
415
|
+
...r
|
|
474
416
|
}
|
|
475
417
|
}) => {
|
|
476
|
-
const
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
channel: hasX ? x : y,
|
|
481
|
-
index: !hasX
|
|
418
|
+
const l = q({ timeSpan: s, channel: a }), o = t != null && t !== 0, i = q({
|
|
419
|
+
timeSpan: s,
|
|
420
|
+
channel: o ? t : a,
|
|
421
|
+
index: !o
|
|
482
422
|
});
|
|
483
|
-
return /* @__PURE__ */
|
|
484
|
-
}
|
|
485
|
-
const StaticLine = ({
|
|
423
|
+
return /* @__PURE__ */ n.jsx(U, { aetherKey: e, y: l, x: i, ...r });
|
|
424
|
+
}, Yt = ({
|
|
486
425
|
line: {
|
|
487
|
-
timeRange,
|
|
488
|
-
key,
|
|
489
|
-
channels: { x, y },
|
|
490
|
-
...
|
|
426
|
+
timeRange: e,
|
|
427
|
+
key: s,
|
|
428
|
+
channels: { x: t, y: a },
|
|
429
|
+
...r
|
|
491
430
|
}
|
|
492
431
|
}) => {
|
|
493
|
-
const
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
channel: hasX ? x : y,
|
|
498
|
-
index: !hasX
|
|
432
|
+
const l = ee({ timeRange: e, channel: a }), o = t != null && t !== 0, i = ee({
|
|
433
|
+
timeRange: e,
|
|
434
|
+
channel: o ? t : a,
|
|
435
|
+
index: !o
|
|
499
436
|
});
|
|
500
|
-
return /* @__PURE__ */
|
|
501
|
-
}
|
|
502
|
-
const external$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
437
|
+
return /* @__PURE__ */ n.jsx(U, { aetherKey: s, y: l, x: i, ...r });
|
|
438
|
+
}, Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
503
439
|
__proto__: null,
|
|
504
|
-
AliasInput,
|
|
505
|
-
AliasProvider,
|
|
506
|
-
LinePlot,
|
|
507
|
-
SelectMultiple,
|
|
508
|
-
SelectSingle,
|
|
509
|
-
useActiveRange,
|
|
510
|
-
useAlias,
|
|
511
|
-
useAliases,
|
|
512
|
-
useContext:
|
|
513
|
-
useName
|
|
514
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
node[siblingOrder] = { key: 0, tabs: node.tabs, selected: node.selected };
|
|
534
|
-
if (node.first == null || node.last == null)
|
|
535
|
-
throw InvalidMosaic;
|
|
536
|
-
node.first.key = node.key * 2;
|
|
537
|
-
node.last.key = node.key * 2 + 1;
|
|
538
|
-
node.tabs = void 0;
|
|
539
|
-
node.size = void 0;
|
|
540
|
-
node.selected = void 0;
|
|
541
|
-
return root;
|
|
542
|
-
};
|
|
543
|
-
const insertAnywhere = (root, tab) => {
|
|
544
|
-
root = shallowCopyNode(root);
|
|
545
|
-
if (root.tabs != null) {
|
|
546
|
-
root.tabs.push(tab);
|
|
547
|
-
root.selected = tab.tabKey;
|
|
548
|
-
return root;
|
|
549
|
-
}
|
|
550
|
-
if (root.first != null)
|
|
551
|
-
root.first = insertAnywhere(root.first, tab);
|
|
552
|
-
else if (root.last != null)
|
|
553
|
-
root.last = insertAnywhere(root.last, tab);
|
|
554
|
-
return root;
|
|
555
|
-
};
|
|
556
|
-
const autoSelectTabs = (root) => {
|
|
557
|
-
root = shallowCopyNode(root);
|
|
558
|
-
const selected = [];
|
|
559
|
-
if (root.tabs != null) {
|
|
560
|
-
root.selected = resetSelection(root.selected, root.tabs);
|
|
561
|
-
if (root.selected != null)
|
|
562
|
-
selected.push(root.selected);
|
|
563
|
-
}
|
|
564
|
-
if (root.first != null) {
|
|
565
|
-
const [f, s] = autoSelectTabs(root.first);
|
|
566
|
-
root.first = f;
|
|
567
|
-
selected.push(...s);
|
|
440
|
+
AliasInput: Es,
|
|
441
|
+
AliasProvider: je,
|
|
442
|
+
LinePlot: Rt,
|
|
443
|
+
SelectMultiple: Cs,
|
|
444
|
+
SelectSingle: ks,
|
|
445
|
+
useActiveRange: Is,
|
|
446
|
+
useAlias: $s,
|
|
447
|
+
useAliases: Bs,
|
|
448
|
+
useContext: Ns,
|
|
449
|
+
useName: Ds
|
|
450
|
+
}, Symbol.toStringTag, { value: "Module" })), I = new Error("Tab not found"), Ut = new Error("Invalid Mosaic"), we = (e, s, t = "center", a) => {
|
|
451
|
+
var u;
|
|
452
|
+
if (e = j(e), a === void 0)
|
|
453
|
+
return V(e, s);
|
|
454
|
+
const r = Oe(e, a);
|
|
455
|
+
if (t === "center")
|
|
456
|
+
return (u = r.tabs) == null || u.push(s), r.selected = s.tabKey, e;
|
|
457
|
+
if (r.tabs == null || r.tabs.length === 0)
|
|
458
|
+
return e;
|
|
459
|
+
const [l, o, i] = Jt(t);
|
|
460
|
+
if (r.direction = i, r[l] = { key: 0, tabs: [s], selected: s.tabKey }, r[o] = { key: 0, tabs: r.tabs, selected: r.selected }, r.first == null || r.last == null)
|
|
461
|
+
throw Ut;
|
|
462
|
+
return r.first.key = r.key * 2, r.last.key = r.key * 2 + 1, r.tabs = void 0, r.size = void 0, r.selected = void 0, e;
|
|
463
|
+
}, V = (e, s) => (e = j(e), e.tabs != null ? (e.tabs.push(s), e.selected = s.tabKey, e) : (e.first != null ? e.first = V(e.first, s) : e.last != null && (e.last = V(e.last, s)), e)), L = (e) => {
|
|
464
|
+
e = j(e);
|
|
465
|
+
const s = [];
|
|
466
|
+
if (e.tabs != null && (e.selected = Se(e.selected, e.tabs), e.selected != null && s.push(e.selected)), e.first != null) {
|
|
467
|
+
const [t, a] = L(e.first);
|
|
468
|
+
e.first = t, s.push(...a);
|
|
568
469
|
}
|
|
569
|
-
if (
|
|
570
|
-
const [
|
|
571
|
-
|
|
572
|
-
selected.push(...l);
|
|
470
|
+
if (e.last != null) {
|
|
471
|
+
const [t, a] = L(e.last);
|
|
472
|
+
e.last = t, s.push(...a);
|
|
573
473
|
}
|
|
574
|
-
return [
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
if (
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
if (tab == null || entry == null)
|
|
601
|
-
throw TabNotFound;
|
|
602
|
-
entry.selected = tabKey;
|
|
603
|
-
return root;
|
|
604
|
-
};
|
|
605
|
-
const moveTab = (root, tabKey, loc, to) => {
|
|
606
|
-
root = shallowCopyNode(root);
|
|
607
|
-
const [tab, entry] = findMosaicTab(root, tabKey);
|
|
608
|
-
if (tab == null || entry == null)
|
|
609
|
-
throw TabNotFound;
|
|
610
|
-
const [r2, selected] = removeTab(root, tabKey);
|
|
611
|
-
const r3 = insertTab(r2, tab, loc, to);
|
|
612
|
-
return [r3, selected];
|
|
613
|
-
};
|
|
614
|
-
const resizeNode = (root, key, size) => {
|
|
615
|
-
const node = findMosaicNode(root, key);
|
|
616
|
-
if (node == null)
|
|
474
|
+
return [e, s];
|
|
475
|
+
}, K = (e, s) => {
|
|
476
|
+
var l;
|
|
477
|
+
e = j(e);
|
|
478
|
+
const [, t] = S(e, s);
|
|
479
|
+
if (t == null)
|
|
480
|
+
throw I;
|
|
481
|
+
t.tabs = (l = t.tabs) == null ? void 0 : l.filter((o) => o.tabKey !== s), t.selected = Se(t.selected, t.tabs);
|
|
482
|
+
const a = Kt(e), r = t.selected ?? O(a);
|
|
483
|
+
return [a, r];
|
|
484
|
+
}, O = (e) => e.selected != null ? e.selected : e.first != null ? O(e.first) : e.last != null ? O(e.last) : null, ze = (e, s) => {
|
|
485
|
+
e = j(e);
|
|
486
|
+
const [t, a] = S(e, s);
|
|
487
|
+
if (t == null || a == null)
|
|
488
|
+
throw I;
|
|
489
|
+
return a.selected = s, e;
|
|
490
|
+
}, Me = (e, s, t, a) => {
|
|
491
|
+
e = j(e);
|
|
492
|
+
const [r, l] = S(e, s);
|
|
493
|
+
if (r == null || l == null)
|
|
494
|
+
throw I;
|
|
495
|
+
const [o, i] = K(e, s);
|
|
496
|
+
return [we(o, r, t, a), i];
|
|
497
|
+
}, Pe = (e, s, t) => {
|
|
498
|
+
const a = E(e, s);
|
|
499
|
+
if (a == null)
|
|
617
500
|
throw new Error("Node not found");
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
if (
|
|
638
|
-
return
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
let
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
return [node, false];
|
|
651
|
-
if (shouldGc(node.first))
|
|
652
|
-
return [liftUp(node.last, true), true];
|
|
653
|
-
if (shouldGc(node.last))
|
|
654
|
-
return [liftUp(node.first, false), true];
|
|
655
|
-
let [sGC, eGC] = [false, false];
|
|
656
|
-
[node.first, sGC] = _gc(node.first);
|
|
657
|
-
[node.last, eGC] = _gc(node.last);
|
|
658
|
-
return [node, sGC || eGC];
|
|
659
|
-
};
|
|
660
|
-
const liftUp = (node, isLast) => {
|
|
661
|
-
node.size = void 0;
|
|
662
|
-
node.key = (node.key - Number(isLast)) / 2;
|
|
663
|
-
return node;
|
|
664
|
-
};
|
|
665
|
-
const shouldGc = (node) => node.first == null && node.last == null && (node.tabs == null || node.tabs.length === 0);
|
|
666
|
-
const findMosaicTab = (node, tabKey) => {
|
|
667
|
-
if (node.tabs != null) {
|
|
668
|
-
const tab = node.tabs.find((t) => t.tabKey === tabKey);
|
|
669
|
-
if (tab != null)
|
|
670
|
-
return [tab, node];
|
|
501
|
+
return a.size = t, e;
|
|
502
|
+
}, Le = (e, s, t) => {
|
|
503
|
+
e = j(e);
|
|
504
|
+
const [, a] = S(e, s);
|
|
505
|
+
if ((a == null ? void 0 : a.tabs) == null)
|
|
506
|
+
throw I;
|
|
507
|
+
return a.tabs = wt(s, t, (a == null ? void 0 : a.tabs) ?? []), e;
|
|
508
|
+
}, Wt = (e) => e.tabs != null ? e.tabs.length === 0 : e.first == null && e.last == null, Oe = (e, s) => {
|
|
509
|
+
const t = E(e, s);
|
|
510
|
+
if (t != null)
|
|
511
|
+
return t;
|
|
512
|
+
const a = Math.floor(s / 2);
|
|
513
|
+
return a === 0 ? e : Oe(e, a);
|
|
514
|
+
}, Kt = (e) => {
|
|
515
|
+
let s = !0;
|
|
516
|
+
for (; s; )
|
|
517
|
+
[e, s] = F(e);
|
|
518
|
+
return e;
|
|
519
|
+
}, F = (e) => {
|
|
520
|
+
if (e.first == null || e.last == null)
|
|
521
|
+
return [e, !1];
|
|
522
|
+
if (ae(e.first))
|
|
523
|
+
return [te(e.last, !0), !0];
|
|
524
|
+
if (ae(e.last))
|
|
525
|
+
return [te(e.first, !1), !0];
|
|
526
|
+
let [s, t] = [!1, !1];
|
|
527
|
+
return [e.first, s] = F(e.first), [e.last, t] = F(e.last), [e, s || t];
|
|
528
|
+
}, te = (e, s) => (e.size = void 0, e.key = (e.key - Number(s)) / 2, e), ae = (e) => e.first == null && e.last == null && (e.tabs == null || e.tabs.length === 0), S = (e, s) => {
|
|
529
|
+
if (e.tabs != null) {
|
|
530
|
+
const o = e.tabs.find((i) => i.tabKey === s);
|
|
531
|
+
if (o != null)
|
|
532
|
+
return [o, e];
|
|
671
533
|
}
|
|
672
|
-
if (
|
|
534
|
+
if (e.first == null || e.last == null)
|
|
673
535
|
return [void 0, void 0];
|
|
674
|
-
const [
|
|
675
|
-
if (
|
|
676
|
-
return [
|
|
677
|
-
const [
|
|
678
|
-
return [
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
return findMosaicNode(node.last, key);
|
|
689
|
-
};
|
|
690
|
-
const splitArrangement = (insertPosition) => {
|
|
691
|
-
switch (insertPosition) {
|
|
536
|
+
const [t, a] = S(e.first, s);
|
|
537
|
+
if (t != null && a != null)
|
|
538
|
+
return [t, a];
|
|
539
|
+
const [r, l] = S(e.last, s);
|
|
540
|
+
return [r, l];
|
|
541
|
+
}, E = (e, s) => {
|
|
542
|
+
if (e.key === s)
|
|
543
|
+
return e;
|
|
544
|
+
if (e.first == null || e.last == null)
|
|
545
|
+
return;
|
|
546
|
+
const t = E(e.first, s);
|
|
547
|
+
return t ?? E(e.last, s);
|
|
548
|
+
}, Jt = (e) => {
|
|
549
|
+
switch (e) {
|
|
692
550
|
case "top":
|
|
693
551
|
return ["first", "last", "y"];
|
|
694
552
|
case "left":
|
|
@@ -700,49 +558,38 @@ const splitArrangement = (insertPosition) => {
|
|
|
700
558
|
case "center":
|
|
701
559
|
throw new Error("cannot split a center placed tab");
|
|
702
560
|
}
|
|
703
|
-
}
|
|
704
|
-
const
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
const handleRename = (tabKey, title) => setRoot((r) => renameTab(r, tabKey, title));
|
|
713
|
-
return {
|
|
714
|
-
root,
|
|
715
|
-
onDrop: handleDrop,
|
|
716
|
-
onClose: handleClose,
|
|
717
|
-
onSelect: handleSelect,
|
|
718
|
-
onResize: handleResize,
|
|
719
|
-
onRename: allowRename ? handleRename : void 0
|
|
561
|
+
}, j = (e) => ns.copy(e), Qt = ({ allowRename: e = !1, initialTree: s }) => {
|
|
562
|
+
const [t, a] = Ne(s);
|
|
563
|
+
return De(() => a(L(s)[0]), [s]), {
|
|
564
|
+
root: t,
|
|
565
|
+
onDrop: (d, c, m) => a((b) => Me(b, c, m, d)[0]),
|
|
566
|
+
onClose: (d) => a((c) => K(c, d)[0]),
|
|
567
|
+
onSelect: (d) => a((c) => ze(c, d)),
|
|
568
|
+
onResize: (d, c) => a((m) => Pe(m, d, c)),
|
|
569
|
+
onRename: e ? (d, c) => a((m) => Le(m, d, c)) : void 0
|
|
720
570
|
};
|
|
721
|
-
}
|
|
722
|
-
const external$8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
571
|
+
}, Va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
723
572
|
__proto__: null,
|
|
724
|
-
HAUL_CREATE_TYPE,
|
|
725
|
-
HAUL_DROP_TYPE,
|
|
726
|
-
Mosaic,
|
|
727
|
-
autoSelectTabs,
|
|
728
|
-
findSelected,
|
|
729
|
-
insertTab,
|
|
730
|
-
isEmpty,
|
|
731
|
-
moveTab,
|
|
732
|
-
removeTab,
|
|
733
|
-
renameTab,
|
|
734
|
-
resizeNode,
|
|
735
|
-
selectTab,
|
|
736
|
-
use:
|
|
737
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
738
|
-
const external$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
573
|
+
HAUL_CREATE_TYPE: Gs,
|
|
574
|
+
HAUL_DROP_TYPE: As,
|
|
575
|
+
Mosaic: Rs,
|
|
576
|
+
autoSelectTabs: L,
|
|
577
|
+
findSelected: O,
|
|
578
|
+
insertTab: we,
|
|
579
|
+
isEmpty: Wt,
|
|
580
|
+
moveTab: Me,
|
|
581
|
+
removeTab: K,
|
|
582
|
+
renameTab: Le,
|
|
583
|
+
resizeNode: Pe,
|
|
584
|
+
selectTab: ze,
|
|
585
|
+
use: Qt
|
|
586
|
+
}, Symbol.toStringTag, { value: "Module" })), Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
739
587
|
__proto__: null,
|
|
740
|
-
Bar,
|
|
741
|
-
Drawer,
|
|
742
|
-
useDrawer
|
|
743
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
744
|
-
|
|
745
|
-
Close: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
588
|
+
Bar: Zs,
|
|
589
|
+
Drawer: Hs,
|
|
590
|
+
useDrawer: Vs
|
|
591
|
+
}, Symbol.toStringTag, { value: "Module" })), D = {
|
|
592
|
+
Close: /* @__PURE__ */ n.jsxs(
|
|
746
593
|
"svg",
|
|
747
594
|
{
|
|
748
595
|
width: "124",
|
|
@@ -751,7 +598,7 @@ const Icon = {
|
|
|
751
598
|
fill: "none",
|
|
752
599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
753
600
|
children: [
|
|
754
|
-
/* @__PURE__ */
|
|
601
|
+
/* @__PURE__ */ n.jsx(
|
|
755
602
|
"rect",
|
|
756
603
|
{
|
|
757
604
|
x: "26.8701",
|
|
@@ -762,7 +609,7 @@ const Icon = {
|
|
|
762
609
|
fill: "#7E0508"
|
|
763
610
|
}
|
|
764
611
|
),
|
|
765
|
-
/* @__PURE__ */
|
|
612
|
+
/* @__PURE__ */ n.jsx(
|
|
766
613
|
"rect",
|
|
767
614
|
{
|
|
768
615
|
x: "26.8701",
|
|
@@ -776,7 +623,7 @@ const Icon = {
|
|
|
776
623
|
]
|
|
777
624
|
}
|
|
778
625
|
),
|
|
779
|
-
Minimize: /* @__PURE__ */
|
|
626
|
+
Minimize: /* @__PURE__ */ n.jsx(
|
|
780
627
|
"svg",
|
|
781
628
|
{
|
|
782
629
|
width: "87",
|
|
@@ -784,10 +631,10 @@ const Icon = {
|
|
|
784
631
|
viewBox: "0 0 87 11",
|
|
785
632
|
fill: "none",
|
|
786
633
|
xmlns: "http://www.w3.org/2000/svg",
|
|
787
|
-
children: /* @__PURE__ */
|
|
634
|
+
children: /* @__PURE__ */ n.jsx("rect", { x: "15", width: "60", height: "11", fill: "#985712" })
|
|
788
635
|
}
|
|
789
636
|
),
|
|
790
|
-
Maximize: /* @__PURE__ */
|
|
637
|
+
Maximize: /* @__PURE__ */ n.jsxs(
|
|
791
638
|
"svg",
|
|
792
639
|
{
|
|
793
640
|
width: "143",
|
|
@@ -796,14 +643,14 @@ const Icon = {
|
|
|
796
643
|
fill: "none",
|
|
797
644
|
xmlns: "http://www.w3.org/2000/svg",
|
|
798
645
|
children: [
|
|
799
|
-
/* @__PURE__ */
|
|
646
|
+
/* @__PURE__ */ n.jsx(
|
|
800
647
|
"path",
|
|
801
648
|
{
|
|
802
649
|
d: "M108.242 32.8833C108.797 32.8817 109.247 33.3317 109.245 33.8862L109.092 87.5891C109.09 88.4786 108.014 88.9223 107.385 88.2933L53.8351 34.7432C53.2061 34.1142 53.6499 33.0387 54.5394 33.0361L108.242 32.8833Z",
|
|
803
650
|
fill: "#0B650D"
|
|
804
651
|
}
|
|
805
652
|
),
|
|
806
|
-
/* @__PURE__ */
|
|
653
|
+
/* @__PURE__ */ n.jsx(
|
|
807
654
|
"path",
|
|
808
655
|
{
|
|
809
656
|
d: "M33.8862 109.245C33.3317 109.247 32.8818 108.797 32.8833 108.242L33.0361 54.5394C33.0387 53.6499 34.1142 53.2061 34.7432 53.8351L88.2934 107.385C88.9223 108.014 88.4786 109.09 87.5891 109.092L33.8862 109.245Z",
|
|
@@ -813,276 +660,238 @@ const Icon = {
|
|
|
813
660
|
]
|
|
814
661
|
}
|
|
815
662
|
)
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
Space,
|
|
663
|
+
}, qt = ({
|
|
664
|
+
disabled: e = [],
|
|
665
|
+
className: s,
|
|
666
|
+
focused: t = !0,
|
|
667
|
+
onMinimize: a,
|
|
668
|
+
onMaximize: r,
|
|
669
|
+
onFullscreen: l,
|
|
670
|
+
onClose: o,
|
|
671
|
+
...i
|
|
672
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
673
|
+
k,
|
|
828
674
|
{
|
|
829
675
|
size: 1.5,
|
|
830
676
|
direction: "x",
|
|
831
|
-
className:
|
|
832
|
-
|
|
833
|
-
!
|
|
834
|
-
|
|
677
|
+
className: p(
|
|
678
|
+
p.B("macos-controls"),
|
|
679
|
+
!t && p.BM("macos-controls", "blurred"),
|
|
680
|
+
s
|
|
835
681
|
),
|
|
836
|
-
...
|
|
682
|
+
...i,
|
|
837
683
|
children: [
|
|
838
|
-
/* @__PURE__ */
|
|
839
|
-
|
|
684
|
+
/* @__PURE__ */ n.jsx(
|
|
685
|
+
G,
|
|
840
686
|
{
|
|
841
|
-
onClick:
|
|
842
|
-
className:
|
|
843
|
-
disabled:
|
|
844
|
-
children:
|
|
687
|
+
onClick: o,
|
|
688
|
+
className: p.BM("macos-control", "close"),
|
|
689
|
+
disabled: e.includes("close"),
|
|
690
|
+
children: D.Close
|
|
845
691
|
}
|
|
846
692
|
),
|
|
847
|
-
/* @__PURE__ */
|
|
848
|
-
|
|
693
|
+
/* @__PURE__ */ n.jsx(
|
|
694
|
+
G,
|
|
849
695
|
{
|
|
850
|
-
onClick:
|
|
851
|
-
className:
|
|
852
|
-
disabled:
|
|
853
|
-
children:
|
|
696
|
+
onClick: a,
|
|
697
|
+
className: p.BM("macos-control", "minimize"),
|
|
698
|
+
disabled: e.includes("minimize"),
|
|
699
|
+
children: D.Minimize
|
|
854
700
|
}
|
|
855
701
|
),
|
|
856
|
-
/* @__PURE__ */
|
|
857
|
-
|
|
702
|
+
/* @__PURE__ */ n.jsx(
|
|
703
|
+
G,
|
|
858
704
|
{
|
|
859
|
-
onClick:
|
|
860
|
-
className:
|
|
861
|
-
disabled:
|
|
862
|
-
children:
|
|
705
|
+
onClick: l,
|
|
706
|
+
className: p.BM("macos-control", "maximize"),
|
|
707
|
+
disabled: e.includes("maximize"),
|
|
708
|
+
children: D.Maximize
|
|
863
709
|
}
|
|
864
710
|
)
|
|
865
711
|
]
|
|
866
712
|
}
|
|
867
|
-
)
|
|
868
|
-
const TrafficLight = ({ className, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
713
|
+
), G = ({ className: e, ...s }) => /* @__PURE__ */ n.jsx(
|
|
869
714
|
"button",
|
|
870
715
|
{
|
|
871
|
-
className:
|
|
716
|
+
className: p(p.B("macos-control"), e),
|
|
872
717
|
tabIndex: -1,
|
|
873
718
|
size: "",
|
|
874
|
-
...
|
|
719
|
+
...s
|
|
875
720
|
}
|
|
876
|
-
)
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
onClose,
|
|
721
|
+
), A = ({
|
|
722
|
+
disabled: e = [],
|
|
723
|
+
onMinimize: s,
|
|
724
|
+
onMaximize: t,
|
|
725
|
+
onClose: a,
|
|
882
726
|
// no-op on windows
|
|
883
|
-
onFullscreen:
|
|
884
|
-
...
|
|
885
|
-
}) => /* @__PURE__ */
|
|
886
|
-
/* @__PURE__ */
|
|
887
|
-
|
|
727
|
+
onFullscreen: r,
|
|
728
|
+
...l
|
|
729
|
+
}) => /* @__PURE__ */ n.jsxs(fs, { ...l, children: [
|
|
730
|
+
/* @__PURE__ */ n.jsx(
|
|
731
|
+
R,
|
|
888
732
|
{
|
|
889
|
-
className:
|
|
890
|
-
onClick:
|
|
891
|
-
disabled:
|
|
892
|
-
children: /* @__PURE__ */
|
|
733
|
+
className: p.BM("windows-control", "minimize"),
|
|
734
|
+
onClick: s,
|
|
735
|
+
disabled: e.includes("minimize"),
|
|
736
|
+
children: /* @__PURE__ */ n.jsx(x.Subtract, {})
|
|
893
737
|
}
|
|
894
738
|
),
|
|
895
|
-
/* @__PURE__ */
|
|
896
|
-
|
|
739
|
+
/* @__PURE__ */ n.jsx(
|
|
740
|
+
R,
|
|
897
741
|
{
|
|
898
|
-
className:
|
|
899
|
-
onClick:
|
|
900
|
-
disabled:
|
|
901
|
-
children: /* @__PURE__ */
|
|
742
|
+
className: p.BM("windows-control", "maximize"),
|
|
743
|
+
onClick: t,
|
|
744
|
+
disabled: e.includes("maximize"),
|
|
745
|
+
children: /* @__PURE__ */ n.jsx(x.Box, {})
|
|
902
746
|
}
|
|
903
747
|
),
|
|
904
|
-
/* @__PURE__ */
|
|
905
|
-
|
|
748
|
+
/* @__PURE__ */ n.jsx(
|
|
749
|
+
R,
|
|
906
750
|
{
|
|
907
|
-
onClick:
|
|
908
|
-
className:
|
|
909
|
-
disabled:
|
|
910
|
-
children: /* @__PURE__ */
|
|
751
|
+
onClick: a,
|
|
752
|
+
className: p.BM("windows-control", "close"),
|
|
753
|
+
disabled: e.includes("close"),
|
|
754
|
+
children: /* @__PURE__ */ n.jsx(x.Close, {})
|
|
911
755
|
}
|
|
912
756
|
)
|
|
913
|
-
] })
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
Icon$2,
|
|
757
|
+
] }), R = ({
|
|
758
|
+
disabled: e = !1,
|
|
759
|
+
className: s,
|
|
760
|
+
...t
|
|
761
|
+
}) => e ? null : /* @__PURE__ */ n.jsx(
|
|
762
|
+
X,
|
|
920
763
|
{
|
|
921
|
-
className:
|
|
764
|
+
className: p(p.B("windows-control"), s),
|
|
922
765
|
tabIndex: -1,
|
|
923
|
-
...
|
|
766
|
+
...t
|
|
924
767
|
}
|
|
925
|
-
)
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
const Controls = ({
|
|
935
|
-
forceOS,
|
|
936
|
-
visibleIfOS,
|
|
937
|
-
...props
|
|
768
|
+
), Ee = (e) => rs.getOS(e), ea = {
|
|
769
|
+
MacOS: qt,
|
|
770
|
+
Windows: A,
|
|
771
|
+
Linux: A,
|
|
772
|
+
Docker: A
|
|
773
|
+
}, sa = "Windows", ta = ({
|
|
774
|
+
forceOS: e,
|
|
775
|
+
visibleIfOS: s,
|
|
776
|
+
...t
|
|
938
777
|
}) => {
|
|
939
|
-
const
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
return null;
|
|
943
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(C, { ...props });
|
|
944
|
-
};
|
|
945
|
-
const external$6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
778
|
+
const a = Ee({ force: e, default: sa }), r = ea[a];
|
|
779
|
+
return s != null && s !== a ? null : /* @__PURE__ */ n.jsx(r, { ...t });
|
|
780
|
+
}, Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
946
781
|
__proto__: null,
|
|
947
|
-
Controls,
|
|
948
|
-
use:
|
|
949
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
950
|
-
|
|
951
|
-
if (layouts.length === 0)
|
|
782
|
+
Controls: ta,
|
|
783
|
+
use: Ee
|
|
784
|
+
}, Symbol.toStringTag, { value: "Module" })), aa = (e, s = "x") => {
|
|
785
|
+
if (e.length === 0)
|
|
952
786
|
return [];
|
|
953
|
-
const
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
layouts.forEach((layout, i) => {
|
|
957
|
-
if (i === 0)
|
|
787
|
+
const t = P.construct(s), a = P.swap(t);
|
|
788
|
+
return e.sort((r, l) => y.loc(r.box, t) - y.loc(l.box, t)), e.forEach((r, l) => {
|
|
789
|
+
if (l === 0)
|
|
958
790
|
return;
|
|
959
|
-
const
|
|
960
|
-
|
|
961
|
-
const leftHandle = layout.handles.find((h2) => h2.orientation === loc);
|
|
962
|
-
if (prevRightHandle == null || leftHandle == null)
|
|
791
|
+
const i = e[l - 1].handles.find((f) => f.orientation === a), u = r.handles.find((f) => f.orientation === t);
|
|
792
|
+
if (i == null || u == null)
|
|
963
793
|
return;
|
|
964
|
-
const
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
layout.box = box$1.construct(newPos, box$1.dims(layout.box));
|
|
969
|
-
});
|
|
970
|
-
return layouts;
|
|
971
|
-
};
|
|
972
|
-
const external$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
794
|
+
const d = i.absolutePosition, c = u.absolutePosition, m = B.set(B.translation(c, d), s, 0), b = B.translate(y.topLeft(r.box), m);
|
|
795
|
+
r.box = y.construct(b, y.dims(r.box));
|
|
796
|
+
}), e;
|
|
797
|
+
}, Ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
973
798
|
__proto__: null,
|
|
974
|
-
Background,
|
|
975
|
-
Controls:
|
|
976
|
-
Diagram,
|
|
977
|
-
FitViewControl,
|
|
978
|
-
HandleLayout,
|
|
979
|
-
NodeLayout,
|
|
980
|
-
NodeRenderer,
|
|
981
|
-
ToggleEditControl,
|
|
982
|
-
alignNodes,
|
|
983
|
-
selectNode,
|
|
984
|
-
selectNodeBox,
|
|
985
|
-
selectNodeLayout,
|
|
986
|
-
use:
|
|
987
|
-
useContext:
|
|
988
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
});
|
|
998
|
-
const external$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
799
|
+
Background: Fs,
|
|
800
|
+
Controls: Xs,
|
|
801
|
+
Diagram: Ys,
|
|
802
|
+
FitViewControl: Us,
|
|
803
|
+
HandleLayout: Ws,
|
|
804
|
+
NodeLayout: Ks,
|
|
805
|
+
NodeRenderer: Js,
|
|
806
|
+
ToggleEditControl: Qs,
|
|
807
|
+
alignNodes: aa,
|
|
808
|
+
selectNode: qs,
|
|
809
|
+
selectNodeBox: et,
|
|
810
|
+
selectNodeLayout: st,
|
|
811
|
+
use: tt,
|
|
812
|
+
useContext: at
|
|
813
|
+
}, Symbol.toStringTag, { value: "Module" })), na = ({
|
|
814
|
+
aetherKey: e,
|
|
815
|
+
...s
|
|
816
|
+
}) => Je({
|
|
817
|
+
aetherKey: e,
|
|
818
|
+
type: Tt.TYPE,
|
|
819
|
+
schema: _t,
|
|
820
|
+
initialState: s
|
|
821
|
+
}), Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
999
822
|
__proto__: null,
|
|
1000
|
-
StringTD,
|
|
1001
|
-
TR,
|
|
1002
|
-
Table:
|
|
1003
|
-
use
|
|
1004
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
1005
|
-
const external$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
823
|
+
StringTD: nt,
|
|
824
|
+
TR: rt,
|
|
825
|
+
Table: lt,
|
|
826
|
+
use: na
|
|
827
|
+
}, Symbol.toStringTag, { value: "Module" })), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1006
828
|
__proto__: null,
|
|
1007
|
-
LabelSpec,
|
|
1008
|
-
REGISTRY,
|
|
1009
|
-
initialProps
|
|
1010
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
1011
|
-
const external$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
829
|
+
LabelSpec: ot,
|
|
830
|
+
REGISTRY: it,
|
|
831
|
+
initialProps: ct
|
|
832
|
+
}, Symbol.toStringTag, { value: "Module" })), Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1012
833
|
__proto__: null,
|
|
1013
|
-
corePropsZ,
|
|
1014
|
-
use:
|
|
1015
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
1016
|
-
const external$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
834
|
+
corePropsZ: ut,
|
|
835
|
+
use: dt
|
|
836
|
+
}, Symbol.toStringTag, { value: "Module" })), Ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1017
837
|
__proto__: null,
|
|
1018
|
-
Chip,
|
|
1019
|
-
Controller,
|
|
1020
|
-
Indicator,
|
|
1021
|
-
Legend:
|
|
1022
|
-
StateProvider,
|
|
1023
|
-
useContext:
|
|
1024
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(StateProvider, { children })
|
|
1047
|
-
}
|
|
1048
|
-
) }) }) }) }) }) }) }) }) }) });
|
|
1049
|
-
};
|
|
1050
|
-
const Pluto = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
838
|
+
Chip: mt,
|
|
839
|
+
Controller: ft,
|
|
840
|
+
Indicator: pt,
|
|
841
|
+
Legend: xt,
|
|
842
|
+
StateProvider: he,
|
|
843
|
+
useContext: bt
|
|
844
|
+
}, Symbol.toStringTag, { value: "Module" })), ra = "data:video/mp2t;base64,Ly8gQ29weXJpZ2h0IDIwMjMgU3lubmF4IExhYnMsIEluYy4KLy8KLy8gVXNlIG9mIHRoaXMgc29mdHdhcmUgaXMgZ292ZXJuZWQgYnkgdGhlIEJ1c2luZXNzIFNvdXJjZSBMaWNlbnNlIGluY2x1ZGVkIGluIHRoZSBmaWxlCi8vIGxpY2Vuc2VzL0JTTC50eHQuCi8vCi8vIEFzIG9mIHRoZSBDaGFuZ2UgRGF0ZSBzcGVjaWZpZWQgaW4gdGhhdCBmaWxlLCBpbiBhY2NvcmRhbmNlIHdpdGggdGhlIEJ1c2luZXNzIFNvdXJjZQovLyBMaWNlbnNlLCB1c2Ugb2YgdGhpcyBzb2Z0d2FyZSB3aWxsIGJlIGdvdmVybmVkIGJ5IHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAsCi8vIGluY2x1ZGVkIGluIHRoZSBmaWxlIGxpY2Vuc2VzL0FQTC50eHQuCgppbXBvcnQgeyBwbHV0byB9IGZyb20gIkAvcGx1dG8vYWV0aGVyIjsKCnBsdXRvLnJlbmRlcigpOwo=", la = ({
|
|
845
|
+
children: e,
|
|
846
|
+
connParams: s,
|
|
847
|
+
workerEnabled: t = !0,
|
|
848
|
+
workerURL: a,
|
|
849
|
+
theme: r,
|
|
850
|
+
toggleTheme: l,
|
|
851
|
+
setTheme: o,
|
|
852
|
+
tooltip: i,
|
|
853
|
+
triggers: u,
|
|
854
|
+
alamos: d,
|
|
855
|
+
haul: c,
|
|
856
|
+
channelAlias: m
|
|
857
|
+
}) => /* @__PURE__ */ n.jsx(Qe, { ...u, children: /* @__PURE__ */ n.jsx(le, { ...i, children: /* @__PURE__ */ n.jsx(qe, { ...c, children: /* @__PURE__ */ n.jsx(es, { url: a ?? ra, enabled: t, children: /* @__PURE__ */ n.jsx(ss, { workerKey: "vis", children: /* @__PURE__ */ n.jsx(gt, { ...d, children: /* @__PURE__ */ n.jsx(re, { children: /* @__PURE__ */ n.jsx(yt, { connParams: s, children: /* @__PURE__ */ n.jsx(je, { ...m, children: /* @__PURE__ */ n.jsx(jt, { children: /* @__PURE__ */ n.jsx(
|
|
858
|
+
ts,
|
|
859
|
+
{
|
|
860
|
+
theme: r,
|
|
861
|
+
toggleTheme: l,
|
|
862
|
+
setTheme: o,
|
|
863
|
+
children: /* @__PURE__ */ n.jsx(he, { children: e })
|
|
864
|
+
}
|
|
865
|
+
) }) }) }) }) }) }) }) }) }) }), Qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1051
866
|
__proto__: null,
|
|
1052
|
-
Provider
|
|
1053
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
1054
|
-
const
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
const endTS = new TimeStamp(timeRange.end);
|
|
1058
|
-
const isOpen = endTS.equals(TimeStamp.MAX);
|
|
1059
|
-
const endFormat = endTS.span(startTS) < TimeSpan.DAY ? "time" : "dateTime";
|
|
1060
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
1061
|
-
Space,
|
|
867
|
+
Provider: la
|
|
868
|
+
}, Symbol.toStringTag, { value: "Module" })), oa = ({ timeRange: e }) => {
|
|
869
|
+
const s = new N(e.start), t = s.isToday ? "time" : "dateTime", a = new N(e.end), r = a.equals(N.MAX), l = a.span(s) < ls.DAY ? "time" : "dateTime";
|
|
870
|
+
return /* @__PURE__ */ n.jsxs(
|
|
871
|
+
k,
|
|
1062
872
|
{
|
|
1063
873
|
direction: "x",
|
|
1064
874
|
size: "small",
|
|
1065
|
-
className:
|
|
875
|
+
className: p(p.B("time-range-chip")),
|
|
1066
876
|
align: "center",
|
|
1067
877
|
children: [
|
|
1068
|
-
|
|
1069
|
-
/* @__PURE__ */
|
|
1070
|
-
/* @__PURE__ */
|
|
1071
|
-
|
|
878
|
+
s.isToday && /* @__PURE__ */ n.jsx(Z, { level: "small", children: "Today" }),
|
|
879
|
+
/* @__PURE__ */ n.jsx(Q, { level: "small", displayTZ: "local", format: t, children: s }),
|
|
880
|
+
/* @__PURE__ */ n.jsx(x.Arrow.Right, { color: "var(--pluto-text-color)" }),
|
|
881
|
+
r ? /* @__PURE__ */ n.jsx(Z, { level: "small", children: "Now" }) : /* @__PURE__ */ n.jsx(Q, { level: "small", displayTZ: "local", format: l, children: a })
|
|
1072
882
|
]
|
|
1073
883
|
}
|
|
1074
884
|
);
|
|
1075
|
-
}
|
|
1076
|
-
const labelColumns = [
|
|
885
|
+
}, ia = [
|
|
1077
886
|
{
|
|
1078
887
|
key: "color",
|
|
1079
888
|
name: "Color",
|
|
1080
889
|
width: 50,
|
|
1081
|
-
render: (
|
|
1082
|
-
|
|
890
|
+
render: (e) => /* @__PURE__ */ n.jsx(
|
|
891
|
+
x.Circle,
|
|
1083
892
|
{
|
|
1084
893
|
style: { fontSize: 10, marginLeft: 10, marginRight: 30 },
|
|
1085
|
-
color:
|
|
894
|
+
color: e.entry.color
|
|
1086
895
|
}
|
|
1087
896
|
)
|
|
1088
897
|
},
|
|
@@ -1090,93 +899,91 @@ const labelColumns = [
|
|
|
1090
899
|
key: "name",
|
|
1091
900
|
name: "Name"
|
|
1092
901
|
}
|
|
1093
|
-
]
|
|
1094
|
-
const
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
Multiple$1,
|
|
902
|
+
], ca = (e) => {
|
|
903
|
+
const s = ht();
|
|
904
|
+
return /* @__PURE__ */ n.jsx(
|
|
905
|
+
fe,
|
|
1098
906
|
{
|
|
1099
|
-
...
|
|
1100
|
-
searcher:
|
|
1101
|
-
columns:
|
|
1102
|
-
renderTag: (
|
|
907
|
+
...e,
|
|
908
|
+
searcher: s == null ? void 0 : s.labels,
|
|
909
|
+
columns: ia,
|
|
910
|
+
renderTag: (t) => /* @__PURE__ */ n.jsx(St, { color: t.entry.color, children: t.entry.name })
|
|
1103
911
|
}
|
|
1104
912
|
);
|
|
1105
|
-
}
|
|
1106
|
-
const external = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
913
|
+
}, qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1107
914
|
__proto__: null,
|
|
1108
|
-
SelectLabels,
|
|
1109
|
-
TimeRangeChip
|
|
915
|
+
SelectLabels: ca,
|
|
916
|
+
TimeRangeChip: oa
|
|
1110
917
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1111
918
|
export {
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
CSS,
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
Pluto,
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
919
|
+
Ga as Accordion,
|
|
920
|
+
tn as Aether,
|
|
921
|
+
Fn as Align,
|
|
922
|
+
Yn as Button,
|
|
923
|
+
p as CSS,
|
|
924
|
+
On as Canvas,
|
|
925
|
+
Ha as Channel,
|
|
926
|
+
Wn as Color,
|
|
927
|
+
Ja as Control,
|
|
928
|
+
Ya as Diagram,
|
|
929
|
+
an as Divider,
|
|
930
|
+
nn as Dropdown,
|
|
931
|
+
En as Eraser,
|
|
932
|
+
Pn as Generic,
|
|
933
|
+
rn as Haul,
|
|
934
|
+
vn as Header,
|
|
935
|
+
er as Input,
|
|
936
|
+
Cn as Line,
|
|
937
|
+
Za as LinePlot,
|
|
938
|
+
tr as List,
|
|
939
|
+
kn as Measure,
|
|
940
|
+
nr as Menu,
|
|
941
|
+
Va as Mosaic,
|
|
942
|
+
Fa as Nav,
|
|
943
|
+
Xa as OS,
|
|
944
|
+
In as PID,
|
|
945
|
+
Qa as Pluto,
|
|
946
|
+
qa as Ranger,
|
|
947
|
+
Da as Resize,
|
|
948
|
+
$n as Rule,
|
|
949
|
+
Aa as Select,
|
|
950
|
+
Ba as Status,
|
|
951
|
+
Bn as Synnax,
|
|
952
|
+
Ua as Table,
|
|
953
|
+
Wa as TableCell,
|
|
954
|
+
lr as Tabs,
|
|
955
|
+
Nn as Tag,
|
|
956
|
+
Dn as Telem,
|
|
957
|
+
ir as Text,
|
|
958
|
+
ur as Theming,
|
|
959
|
+
Na as Tooltip,
|
|
960
|
+
Gn as Tree,
|
|
961
|
+
mr as Triggers,
|
|
962
|
+
Ka as Value,
|
|
963
|
+
pr as Video,
|
|
964
|
+
Ra as Viewport,
|
|
965
|
+
ln as Worker,
|
|
966
|
+
on as compareArrayDeps,
|
|
967
|
+
cn as componentRenderProp,
|
|
968
|
+
An as createFilterTransform,
|
|
969
|
+
Jn as createHexOpacityVariants,
|
|
970
|
+
Rn as fuseFilter,
|
|
971
|
+
un as isRenderProp,
|
|
972
|
+
Tn as newBEM,
|
|
973
|
+
zn as state,
|
|
974
|
+
br as telem,
|
|
975
|
+
Qn as unitProperty,
|
|
976
|
+
dn as useAsyncEffect,
|
|
977
|
+
mn as useClickOutside,
|
|
978
|
+
fn as useCombinedRefs,
|
|
979
|
+
pn as useCombinedStateAndRef,
|
|
980
|
+
Zn as useDebouncedCallback,
|
|
981
|
+
xn as useEffectCompare,
|
|
982
|
+
bn as useMemoCompare,
|
|
983
|
+
gn as useMemoDeepEqualProps,
|
|
984
|
+
yn as useResize,
|
|
985
|
+
jn as useStateRef,
|
|
986
|
+
hn as useSyncedRef,
|
|
987
|
+
Hn as useTransforms
|
|
1181
988
|
};
|
|
1182
989
|
//# sourceMappingURL=index.js.map
|