@synnaxlabs/pluto 0.21.7 → 0.21.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/{Center-hbwH7rg9.js → Center-BK9Rcaa0.js} +2 -2
  2. package/dist/{Center-hbwH7rg9.js.map → Center-BK9Rcaa0.js.map} +1 -1
  3. package/dist/{Center-5NJ61qfA.cjs → Center-Cc_rR5pQ.cjs} +2 -2
  4. package/dist/{Center-5NJ61qfA.cjs.map → Center-Cc_rR5pQ.cjs.map} +1 -1
  5. package/dist/{Keyboard-DaFraUsQ.cjs → Keyboard-Byx8rGZt.cjs} +3 -3
  6. package/dist/{Keyboard-DaFraUsQ.cjs.map → Keyboard-Byx8rGZt.cjs.map} +1 -1
  7. package/dist/{Keyboard-nDIAR7Rj.js → Keyboard-D31SwhYT.js} +3 -3
  8. package/dist/{Keyboard-nDIAR7Rj.js.map → Keyboard-D31SwhYT.js.map} +1 -1
  9. package/dist/{LinePlot-BZDm4uxJ.cjs → LinePlot-Bnb8Ufob.cjs} +96 -65
  10. package/dist/LinePlot-Bnb8Ufob.cjs.map +1 -0
  11. package/dist/{LinePlot-tOiSUMjC.js → LinePlot-KYwy1D7H.js} +281 -250
  12. package/dist/LinePlot-KYwy1D7H.js.map +1 -0
  13. package/dist/{Link-BdWFvK8v.cjs → Link-Bq38h1dw.cjs} +2 -2
  14. package/dist/{Link-BdWFvK8v.cjs.map → Link-Bq38h1dw.cjs.map} +1 -1
  15. package/dist/{Link-d3CXVSaO.js → Link-DQKdkwWL.js} +2 -2
  16. package/dist/{Link-d3CXVSaO.js.map → Link-DQKdkwWL.js.map} +1 -1
  17. package/dist/{List-DcsWFiLT.js → List-BmP_se57.js} +3 -3
  18. package/dist/{List-DcsWFiLT.js.map → List-BmP_se57.js.map} +1 -1
  19. package/dist/{List-PlMTfEHi.cjs → List-BnB-C5vQ.cjs} +3 -3
  20. package/dist/{List-PlMTfEHi.cjs.map → List-BnB-C5vQ.cjs.map} +1 -1
  21. package/dist/{Toggle-C6Z8WPT3.cjs → Toggle-D3iCEbO1.cjs} +46 -46
  22. package/dist/{Toggle-C6Z8WPT3.cjs.map → Toggle-D3iCEbO1.cjs.map} +1 -1
  23. package/dist/{Toggle-DGLgYCOX.js → Toggle-bT5RpwfA.js} +399 -399
  24. package/dist/{Toggle-DGLgYCOX.js.map → Toggle-bT5RpwfA.js.map} +1 -1
  25. package/dist/Video-B4sma9fk.cjs +14 -0
  26. package/dist/Video-B4sma9fk.cjs.map +1 -0
  27. package/dist/Video-Cp6XjjOK.js +15 -0
  28. package/dist/Video-Cp6XjjOK.js.map +1 -0
  29. package/dist/{aggregator-BgImZc4o.js → aggregator-B8fg7W2s.js} +106 -106
  30. package/dist/aggregator-B8fg7W2s.js.map +1 -0
  31. package/dist/{aggregator-BpfMBUD1.cjs → aggregator-Bh2Kyzkg.cjs} +100 -100
  32. package/dist/aggregator-Bh2Kyzkg.cjs.map +1 -0
  33. package/dist/align.cjs +1 -1
  34. package/dist/align.js +1 -1
  35. package/dist/button.cjs +1 -1
  36. package/dist/button.js +1 -1
  37. package/dist/{color-DV-YGUvp.js → color-CjdRh-aN.js} +2 -2
  38. package/dist/{color-DV-YGUvp.js.map → color-CjdRh-aN.js.map} +1 -1
  39. package/dist/{color-BVVyrgRF.cjs → color-DBNbbjJy.cjs} +2 -2
  40. package/dist/{color-BVVyrgRF.cjs.map → color-DBNbbjJy.cjs.map} +1 -1
  41. package/dist/color.cjs +1 -1
  42. package/dist/color.js +1 -1
  43. package/dist/{css-Pf9qxhQ4.cjs → css-Ci8WUD5E.cjs} +112 -108
  44. package/dist/css-Ci8WUD5E.cjs.map +1 -0
  45. package/dist/{css-DoalWJF6.js → css-DKKmdhSr.js} +114 -110
  46. package/dist/css-DKKmdhSr.js.map +1 -0
  47. package/dist/css.cjs +2 -2
  48. package/dist/css.js +2 -2
  49. package/dist/dropdown.cjs +1 -1
  50. package/dist/dropdown.js +1 -1
  51. package/dist/ether.cjs +3 -3
  52. package/dist/ether.js +5 -5
  53. package/dist/{external-Cu6T11fi.cjs → external-9_cqFQy3.cjs} +6 -6
  54. package/dist/{external-Cu6T11fi.cjs.map → external-9_cqFQy3.cjs.map} +1 -1
  55. package/dist/{external-Blx0rtt2.cjs → external-B-zN2e5z.cjs} +6 -6
  56. package/dist/{external-Blx0rtt2.cjs.map → external-B-zN2e5z.cjs.map} +1 -1
  57. package/dist/{external-DeheWVb-.js → external-BM82B8W2.js} +6 -6
  58. package/dist/{external-DeheWVb-.js.map → external-BM82B8W2.js.map} +1 -1
  59. package/dist/{external-96EinZfY.js → external-BYqTC99W.js} +3 -3
  60. package/dist/external-BYqTC99W.js.map +1 -0
  61. package/dist/{external-5przQjJD.js → external-BfZYUV3z.js} +11 -11
  62. package/dist/{external-5przQjJD.js.map → external-BfZYUV3z.js.map} +1 -1
  63. package/dist/{external-SxB9IH0p.js → external-BpqCp_M1.js} +2 -2
  64. package/dist/external-BpqCp_M1.js.map +1 -0
  65. package/dist/{external-C6GmnG49.js → external-BrW40HJx.js} +6 -6
  66. package/dist/{external-C6GmnG49.js.map → external-BrW40HJx.js.map} +1 -1
  67. package/dist/{external-1osPryUV.js → external-CAOQcoqL.js} +5 -5
  68. package/dist/{external-1osPryUV.js.map → external-CAOQcoqL.js.map} +1 -1
  69. package/dist/{external-D8dWmF4U.cjs → external-CIVsFXOp.cjs} +2 -2
  70. package/dist/external-CIVsFXOp.cjs.map +1 -0
  71. package/dist/{external-BAdU6u03.js → external-CnNdgPsB.js} +5 -5
  72. package/dist/{external-BAdU6u03.js.map → external-CnNdgPsB.js.map} +1 -1
  73. package/dist/{external-DiFhWWS-.js → external-CwjCCHPi.js} +7 -7
  74. package/dist/{external-DiFhWWS-.js.map → external-CwjCCHPi.js.map} +1 -1
  75. package/dist/{external-DarqsFzT.js → external-DNHMAfGi.js} +5 -5
  76. package/dist/{external-DarqsFzT.js.map → external-DNHMAfGi.js.map} +1 -1
  77. package/dist/{external-0PM7JrzG.cjs → external-DVQ2SRoH.cjs} +5 -5
  78. package/dist/{external-0PM7JrzG.cjs.map → external-DVQ2SRoH.cjs.map} +1 -1
  79. package/dist/{external-16K8slq8.cjs → external-D_yXh8rn.cjs} +11 -11
  80. package/dist/{external-16K8slq8.cjs.map → external-D_yXh8rn.cjs.map} +1 -1
  81. package/dist/{external-CPx8XA9-.cjs → external-Df0D1YYb.cjs} +7 -7
  82. package/dist/{external-CPx8XA9-.cjs.map → external-Df0D1YYb.cjs.map} +1 -1
  83. package/dist/{external-DvGqQHd8.cjs → external-DhPBdJpR.cjs} +3 -3
  84. package/dist/external-DhPBdJpR.cjs.map +1 -0
  85. package/dist/{external-D7XrxOVE.cjs → external-DhiN6pEk.cjs} +4 -4
  86. package/dist/{external-D7XrxOVE.cjs.map → external-DhiN6pEk.cjs.map} +1 -1
  87. package/dist/{external-CsO29OsF.cjs → external-DjYXzP7v.cjs} +7 -7
  88. package/dist/{external-CsO29OsF.cjs.map → external-DjYXzP7v.cjs.map} +1 -1
  89. package/dist/{external-B3ly2-jy.js → external-FWIwgLzc.js} +7 -7
  90. package/dist/{external-B3ly2-jy.js.map → external-FWIwgLzc.js.map} +1 -1
  91. package/dist/{external-B0z7uXZV.cjs → external-Iv2mRce8.cjs} +5 -5
  92. package/dist/{external-B0z7uXZV.cjs.map → external-Iv2mRce8.cjs.map} +1 -1
  93. package/dist/{external-CzJYG1hX.cjs → external-P6zP6dBA.cjs} +3 -3
  94. package/dist/external-P6zP6dBA.cjs.map +1 -0
  95. package/dist/{external-D4ur_D1S.cjs → external-d-vI8EHK.cjs} +5 -5
  96. package/dist/{external-D4ur_D1S.cjs.map → external-d-vI8EHK.cjs.map} +1 -1
  97. package/dist/{external-DQkw1ko0.js → external-giUMrk8w.js} +4 -4
  98. package/dist/{external-DQkw1ko0.js.map → external-giUMrk8w.js.map} +1 -1
  99. package/dist/{external-CgMwmBnF.js → external-zG96smqq.js} +3 -3
  100. package/dist/external-zG96smqq.js.map +1 -0
  101. package/dist/header.cjs +1 -1
  102. package/dist/header.js +1 -1
  103. package/dist/index.cjs +30 -30
  104. package/dist/index.js +55 -55
  105. package/dist/index.js.map +1 -1
  106. package/dist/input.cjs +1 -1
  107. package/dist/input.js +1 -1
  108. package/dist/list.cjs +1 -1
  109. package/dist/list.js +1 -1
  110. package/dist/menu.cjs +1 -1
  111. package/dist/menu.js +1 -1
  112. package/dist/src/telem/client/cache/cache.d.ts +3 -8
  113. package/dist/src/telem/client/cache/cache.d.ts.map +1 -1
  114. package/dist/src/telem/client/cache/dynamic.d.ts +13 -3
  115. package/dist/src/telem/client/cache/dynamic.d.ts.map +1 -1
  116. package/dist/src/telem/client/client.d.ts +1 -1
  117. package/dist/src/video/Video.d.ts +2 -2
  118. package/dist/src/video/Video.d.ts.map +1 -1
  119. package/dist/tabs.cjs +1 -1
  120. package/dist/tabs.js +1 -1
  121. package/dist/text.cjs +2 -2
  122. package/dist/text.js +2 -2
  123. package/dist/theming.cjs +2 -2
  124. package/dist/theming.js +2 -2
  125. package/dist/tree.cjs +1 -1
  126. package/dist/tree.js +1 -1
  127. package/dist/triggers.cjs +1 -1
  128. package/dist/triggers.js +1 -1
  129. package/dist/video.cjs +1 -1
  130. package/dist/video.js +1 -1
  131. package/package.json +1 -1
  132. package/dist/LinePlot-BZDm4uxJ.cjs.map +0 -1
  133. package/dist/LinePlot-tOiSUMjC.js.map +0 -1
  134. package/dist/Video-B1oW8NLd.js +0 -11
  135. package/dist/Video-B1oW8NLd.js.map +0 -1
  136. package/dist/Video-BGNx94bQ.cjs +0 -10
  137. package/dist/Video-BGNx94bQ.cjs.map +0 -1
  138. package/dist/aggregator-BgImZc4o.js.map +0 -1
  139. package/dist/aggregator-BpfMBUD1.cjs.map +0 -1
  140. package/dist/css-DoalWJF6.js.map +0 -1
  141. package/dist/css-Pf9qxhQ4.cjs.map +0 -1
  142. package/dist/external-96EinZfY.js.map +0 -1
  143. package/dist/external-CgMwmBnF.js.map +0 -1
  144. package/dist/external-CzJYG1hX.cjs.map +0 -1
  145. package/dist/external-D8dWmF4U.cjs.map +0 -1
  146. package/dist/external-DvGqQHd8.cjs.map +0 -1
  147. package/dist/external-SxB9IH0p.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"external-DQkw1ko0.js","sources":["../src/menu/Menu.tsx","../src/menu/Item.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport {\n createContext,\n type PropsWithChildren,\n type ReactElement,\n useContext,\n} from \"react\";\n\nimport { type Input } from \"@/input\";\nimport { type Text } from \"@/text\";\nimport { type ComponentSize } from \"@/util/component\";\n\ninterface MenuContextValue {\n onClick: (key: string) => void;\n selected: string;\n level?: Text.Level;\n iconSpacing?: ComponentSize;\n}\n\nexport const MenuContext = createContext<MenuContextValue>({\n onClick: () => {},\n selected: \"\",\n});\n\nexport interface MenuProps\n extends Partial<Input.Control<string>>,\n PropsWithChildren,\n Pick<MenuContextValue, \"level\" | \"iconSpacing\"> {}\n\nexport const useMenuContext = (): MenuContextValue => useContext(MenuContext);\n\n/**\n * Menu is a modular component that allows you to create a menu with a list of items.\n * It satisfies the InputControl string interface, so it's selected value can be\n * controlled.\n *\n * @param props - Props for the component. All unlisted props will be spread to the\n * underlying Space component acting as the root element.\n * @param props.onChange - Callback executed when the selected item changes.\n * @param props.value - The selected item.\n */\nexport const Menu = ({\n children,\n onChange,\n level,\n iconSpacing,\n value = \"\",\n}: MenuProps): ReactElement => {\n const handleClick: MenuProps[\"onChange\"] = (key) => onChange?.(key);\n return (\n <MenuContext.Provider\n value={{ onClick: handleClick, selected: value, level, iconSpacing }}\n >\n {children}\n </MenuContext.Provider>\n );\n};\n","// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type FunctionComponent, type ReactElement } from \"react\";\n\nimport { Button } from \"@/button\";\nimport { CSS } from \"@/css\";\nimport { useMenuContext } from \"@/menu/Menu\";\n\nimport \"@/menu/Item.css\";\n\nconst menuItemFactory =\n <E extends Pick<Button.ButtonProps, \"className\" | \"onClick\" | \"size\">>(\n Base: FunctionComponent<E>,\n defaultProps?: Partial<E>,\n ): FunctionComponent<E & { itemKey: string }> =>\n // eslint-disable-next-line react/display-name\n (props): ReactElement => {\n const { itemKey, className, onClick, size, ...rest } = {\n ...defaultProps,\n ...props,\n };\n\n const { onClick: ctxOnClick, selected, level, iconSpacing } = useMenuContext();\n\n const handleClick: Button.ButtonProps[\"onClick\"] = (e) => {\n ctxOnClick(itemKey);\n onClick?.(e);\n };\n const _selected = selected === itemKey;\n return (\n // @ts-expect-error\n <Base\n level={level}\n {...rest}\n onClick={handleClick}\n variant=\"text\"\n className={CSS(CSS.B(\"menu-item\"), CSS.selected(_selected), className)}\n size={size ?? iconSpacing}\n />\n );\n };\n\nexport interface ItemProps extends Button.ButtonProps {\n itemKey: string;\n}\nexport const CoreItem = menuItemFactory(Button.Button, { noWrap: true });\n\nexport interface ItemIconProps extends Button.IconProps {\n itemKey: string;\n}\nconst ItemIcon = menuItemFactory(Button.Icon);\n\nconst ItemLink = menuItemFactory(Button.Link, { noWrap: true });\nexport interface MenuItemLinkProps extends Button.LinkProps {\n itemKey: string;\n}\n\ntype CoreItemType = typeof CoreItem;\n\nexport interface ItemType extends CoreItemType {\n Icon: typeof ItemIcon;\n Link: typeof ItemLink;\n}\n\n/**\n * Menu.Item renders a menu item.\n *\n * @param props - Props for the component. Identical props to those of Use except\n * for the ones listed below.\n * @param props.itemKey - The key of the item. This is used to identify the item and\n * is passed to the onChange callback of the Menu.\n */\nexport const Item = CoreItem as ItemType;\nItem.Icon = ItemIcon;\nItem.Link = ItemLink;\n"],"names":["jsx","Button.Button","Button.Icon","Button.Link"],"mappings":";;;;;AA2BO,MAAM,cAAc,cAAgC;AAAA,EACzD,SAAS,MAAM;AAAA,EAAC;AAAA,EAChB,UAAU;AACZ,CAAC;AAOY,MAAA,iBAAiB,MAAwB,WAAW,WAAW;AAYrE,MAAM,OAAO,CAAC;AAAA,EACnB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ;AACV,MAA+B;AAC7B,QAAM,cAAqC,CAAC,QAAQ,qCAAW;AAE7D,SAAAA,kCAAA;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACC,OAAO,EAAE,SAAS,aAAa,UAAU,OAAO,OAAO,YAAY;AAAA,MAElE;AAAA,IAAA;AAAA,EAAA;AAGP;AC/CA,MAAM,kBACJ,CACE,MACA;AAAA;AAAA,EAGF,CAAC,UAAwB;AACvB,UAAM,EAAE,SAAS,WAAW,SAAS,MAAM,GAAG,SAAS;AAAA,MACrD,GAAG;AAAA,MACH,GAAG;AAAA,IAAA;AAGL,UAAM,EAAE,SAAS,YAAY,UAAU,OAAO,YAAA,IAAgB;AAExD,UAAA,cAA6C,CAAC,MAAM;AACxD,iBAAW,OAAO;AAClB,yCAAU;AAAA,IAAC;AAEb,UAAM,YAAY,aAAa;AAC/B;AAAA;AAAA,MAEEA,kCAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC;AAAA,UACC,GAAG;AAAA,UACJ,SAAS;AAAA,UACT,SAAQ;AAAA,UACR,WAAW,IAAI,IAAI,EAAE,WAAW,GAAG,IAAI,SAAS,SAAS,GAAG,SAAS;AAAA,UACrE,MAAM,QAAQ;AAAA,QAAA;AAAA,MAChB;AAAA;AAAA,EAEJ;AAAA;AAKK,MAAM,WAAW,gBAAgBC,QAAe,EAAE,QAAQ,KAAM,CAAA;AAKvE,MAAM,WAAW,gBAAgBC,IAAW;AAE5C,MAAM,WAAW,gBAAgBC,MAAa,EAAE,QAAQ,KAAM,CAAA;AAoBvD,MAAM,OAAO;AACpB,KAAK,OAAO;AACZ,KAAK,OAAO;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"external-giUMrk8w.js","sources":["../src/menu/Menu.tsx","../src/menu/Item.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport {\n createContext,\n type PropsWithChildren,\n type ReactElement,\n useContext,\n} from \"react\";\n\nimport { type Input } from \"@/input\";\nimport { type Text } from \"@/text\";\nimport { type ComponentSize } from \"@/util/component\";\n\ninterface MenuContextValue {\n onClick: (key: string) => void;\n selected: string;\n level?: Text.Level;\n iconSpacing?: ComponentSize;\n}\n\nexport const MenuContext = createContext<MenuContextValue>({\n onClick: () => {},\n selected: \"\",\n});\n\nexport interface MenuProps\n extends Partial<Input.Control<string>>,\n PropsWithChildren,\n Pick<MenuContextValue, \"level\" | \"iconSpacing\"> {}\n\nexport const useMenuContext = (): MenuContextValue => useContext(MenuContext);\n\n/**\n * Menu is a modular component that allows you to create a menu with a list of items.\n * It satisfies the InputControl string interface, so it's selected value can be\n * controlled.\n *\n * @param props - Props for the component. All unlisted props will be spread to the\n * underlying Space component acting as the root element.\n * @param props.onChange - Callback executed when the selected item changes.\n * @param props.value - The selected item.\n */\nexport const Menu = ({\n children,\n onChange,\n level,\n iconSpacing,\n value = \"\",\n}: MenuProps): ReactElement => {\n const handleClick: MenuProps[\"onChange\"] = (key) => onChange?.(key);\n return (\n <MenuContext.Provider\n value={{ onClick: handleClick, selected: value, level, iconSpacing }}\n >\n {children}\n </MenuContext.Provider>\n );\n};\n","// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type FunctionComponent, type ReactElement } from \"react\";\n\nimport { Button } from \"@/button\";\nimport { CSS } from \"@/css\";\nimport { useMenuContext } from \"@/menu/Menu\";\n\nimport \"@/menu/Item.css\";\n\nconst menuItemFactory =\n <E extends Pick<Button.ButtonProps, \"className\" | \"onClick\" | \"size\">>(\n Base: FunctionComponent<E>,\n defaultProps?: Partial<E>,\n ): FunctionComponent<E & { itemKey: string }> =>\n // eslint-disable-next-line react/display-name\n (props): ReactElement => {\n const { itemKey, className, onClick, size, ...rest } = {\n ...defaultProps,\n ...props,\n };\n\n const { onClick: ctxOnClick, selected, level, iconSpacing } = useMenuContext();\n\n const handleClick: Button.ButtonProps[\"onClick\"] = (e) => {\n ctxOnClick(itemKey);\n onClick?.(e);\n };\n const _selected = selected === itemKey;\n return (\n // @ts-expect-error\n <Base\n level={level}\n {...rest}\n onClick={handleClick}\n variant=\"text\"\n className={CSS(CSS.B(\"menu-item\"), CSS.selected(_selected), className)}\n size={size ?? iconSpacing}\n />\n );\n };\n\nexport interface ItemProps extends Button.ButtonProps {\n itemKey: string;\n}\nexport const CoreItem = menuItemFactory(Button.Button, { noWrap: true });\n\nexport interface ItemIconProps extends Button.IconProps {\n itemKey: string;\n}\nconst ItemIcon = menuItemFactory(Button.Icon);\n\nconst ItemLink = menuItemFactory(Button.Link, { noWrap: true });\nexport interface MenuItemLinkProps extends Button.LinkProps {\n itemKey: string;\n}\n\ntype CoreItemType = typeof CoreItem;\n\nexport interface ItemType extends CoreItemType {\n Icon: typeof ItemIcon;\n Link: typeof ItemLink;\n}\n\n/**\n * Menu.Item renders a menu item.\n *\n * @param props - Props for the component. Identical props to those of Use except\n * for the ones listed below.\n * @param props.itemKey - The key of the item. This is used to identify the item and\n * is passed to the onChange callback of the Menu.\n */\nexport const Item = CoreItem as ItemType;\nItem.Icon = ItemIcon;\nItem.Link = ItemLink;\n"],"names":["jsx","Button.Button","Button.Icon","Button.Link"],"mappings":";;;;;AA2BO,MAAM,cAAc,cAAgC;AAAA,EACzD,SAAS,MAAM;AAAA,EAAC;AAAA,EAChB,UAAU;AACZ,CAAC;AAOY,MAAA,iBAAiB,MAAwB,WAAW,WAAW;AAYrE,MAAM,OAAO,CAAC;AAAA,EACnB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ;AACV,MAA+B;AAC7B,QAAM,cAAqC,CAAC,QAAQ,qCAAW;AAE7D,SAAAA,kCAAA;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACC,OAAO,EAAE,SAAS,aAAa,UAAU,OAAO,OAAO,YAAY;AAAA,MAElE;AAAA,IAAA;AAAA,EAAA;AAGP;AC/CA,MAAM,kBACJ,CACE,MACA;AAAA;AAAA,EAGF,CAAC,UAAwB;AACvB,UAAM,EAAE,SAAS,WAAW,SAAS,MAAM,GAAG,SAAS;AAAA,MACrD,GAAG;AAAA,MACH,GAAG;AAAA,IAAA;AAGL,UAAM,EAAE,SAAS,YAAY,UAAU,OAAO,YAAA,IAAgB;AAExD,UAAA,cAA6C,CAAC,MAAM;AACxD,iBAAW,OAAO;AAClB,yCAAU;AAAA,IAAC;AAEb,UAAM,YAAY,aAAa;AAC/B;AAAA;AAAA,MAEEA,kCAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC;AAAA,UACC,GAAG;AAAA,UACJ,SAAS;AAAA,UACT,SAAQ;AAAA,UACR,WAAW,IAAI,IAAI,EAAE,WAAW,GAAG,IAAI,SAAS,SAAS,GAAG,SAAS;AAAA,UACrE,MAAM,QAAQ;AAAA,QAAA;AAAA,MAChB;AAAA;AAAA,EAEJ;AAAA;AAKK,MAAM,WAAW,gBAAgBC,QAAe,EAAE,QAAQ,KAAM,CAAA;AAKvE,MAAM,WAAW,gBAAgBC,IAAW;AAE5C,MAAM,WAAW,gBAAgBC,MAAa,EAAE,QAAQ,KAAM,CAAA;AAoBvD,MAAM,OAAO;AACpB,KAAK,OAAO;AACZ,KAAK,OAAO;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
- import { B as Button, I as Icon, T as Toggle, d as ToggleIcon } from "./Toggle-DGLgYCOX.js";
2
- import { L as Link } from "./Link-d3CXVSaO.js";
1
+ import { B as Button, I as Icon, T as Toggle, d as ToggleIcon } from "./Toggle-bT5RpwfA.js";
2
+ import { L as Link } from "./Link-DQKdkwWL.js";
3
3
  const external = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  Button,
@@ -11,4 +11,4 @@ const external = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
11
11
  export {
12
12
  external as e
13
13
  };
14
- //# sourceMappingURL=external-CgMwmBnF.js.map
14
+ //# sourceMappingURL=external-zG96smqq.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-zG96smqq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
package/dist/header.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const external = require("./external-0PM7JrzG.cjs");
3
+ const external = require("./external-DVQ2SRoH.cjs");
4
4
  exports.Header = external.external;
5
5
  //# sourceMappingURL=header.cjs.map
package/dist/header.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e } from "./external-BAdU6u03.js";
1
+ import { e } from "./external-CnNdgPsB.js";
2
2
  export {
3
3
  e as Header
4
4
  };
package/dist/index.cjs CHANGED
@@ -8,26 +8,26 @@ var __publicField = (obj, key, value2) => {
8
8
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
9
  const jsxRuntime = require("./jsx-runtime-B3vWrP5x.cjs");
10
10
  const React = require("react");
11
- const Toggle$1 = require("./Toggle-C6Z8WPT3.cjs");
12
- const css = require("./css-Pf9qxhQ4.cjs");
13
- const external$l = require("./external-0PM7JrzG.cjs");
14
- const aggregator = require("./aggregator-BpfMBUD1.cjs");
15
- const Center$1 = require("./Center-5NJ61qfA.cjs");
16
- const LinePlot$2 = require("./LinePlot-BZDm4uxJ.cjs");
17
- const external$k = require("./external-D4ur_D1S.cjs");
18
- const external$t = require("./external-Cu6T11fi.cjs");
19
- const external$q = require("./external-CsO29OsF.cjs");
11
+ const Toggle$1 = require("./Toggle-D3iCEbO1.cjs");
12
+ const css = require("./css-Ci8WUD5E.cjs");
13
+ const external$l = require("./external-DVQ2SRoH.cjs");
14
+ const aggregator = require("./aggregator-Bh2Kyzkg.cjs");
15
+ const Center$1 = require("./Center-Cc_rR5pQ.cjs");
16
+ const LinePlot$2 = require("./LinePlot-Bnb8Ufob.cjs");
17
+ const external$k = require("./external-d-vI8EHK.cjs");
18
+ const external$t = require("./external-9_cqFQy3.cjs");
19
+ const external$q = require("./external-DjYXzP7v.cjs");
20
20
  const reactDom = require("react-dom");
21
- const external$o = require("./external-D7XrxOVE.cjs");
22
- const external$n = require("./external-Blx0rtt2.cjs");
23
- const external$i = require("./external-D8dWmF4U.cjs");
24
- const external$j = require("./external-CzJYG1hX.cjs");
25
- const color = require("./color-BVVyrgRF.cjs");
26
- const external$m = require("./external-16K8slq8.cjs");
27
- const external$p = require("./external-B0z7uXZV.cjs");
28
- const external$r = require("./external-DvGqQHd8.cjs");
29
- const external$s = require("./external-CPx8XA9-.cjs");
30
- const Video = require("./Video-BGNx94bQ.cjs");
21
+ const external$o = require("./external-DhiN6pEk.cjs");
22
+ const external$n = require("./external-B-zN2e5z.cjs");
23
+ const external$i = require("./external-CIVsFXOp.cjs");
24
+ const external$j = require("./external-P6zP6dBA.cjs");
25
+ const color = require("./color-DBNbbjJy.cjs");
26
+ const external$m = require("./external-D_yXh8rn.cjs");
27
+ const external$p = require("./external-Iv2mRce8.cjs");
28
+ const external$r = require("./external-DhPBdJpR.cjs");
29
+ const external$s = require("./external-Df0D1YYb.cjs");
30
+ const Video = require("./Video-B4sma9fk.cjs");
31
31
  const zod = require("zod");
32
32
  const Circle$1 = ({ variant, ...props }) => {
33
33
  return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Toggle$1.m0.Circle, { color: Toggle$1.variantColors[variant], ...props });
@@ -297,7 +297,7 @@ const calculateInitialSizeDistribution = (initial, count) => {
297
297
  };
298
298
  const DELTA = 1e-3;
299
299
  const slightlyOffsetEvenDistribution = (sizes) => {
300
- if (sizes.every((v) => css.Z.closeTo(v, 1 / sizes.length), DELTA))
300
+ if (sizes.every((v) => css.L.closeTo(v, 1 / sizes.length), DELTA))
301
301
  return sizes.map((v, i) => {
302
302
  if (i % 2 === 0)
303
303
  return v + DELTA;
@@ -2247,8 +2247,8 @@ const Rule = Toggle$1.wrap$1(
2247
2247
  return;
2248
2248
  if (propsPosition == null)
2249
2249
  return onPositionChange == null ? void 0 : onPositionChange(position);
2250
- const b = css.L.construct(position + 0.01, position - 0.01);
2251
- if (propsPosition != null && !css.L.contains(b, propsPosition))
2250
+ const b = css.C.construct(position + 0.01, position - 0.01);
2251
+ if (propsPosition != null && !css.C.contains(b, propsPosition))
2252
2252
  onPositionChange == null ? void 0 : onPositionChange(Math.trunc(position * 100) / 100);
2253
2253
  }, [position]);
2254
2254
  const pixelPosRef = React.useRef(pixelPosition);
@@ -5224,7 +5224,7 @@ const Indicator = Toggle$1.wrap$1(
5224
5224
  key: "no_chip",
5225
5225
  variant: "warning",
5226
5226
  message: "No chip connected.",
5227
- time: aggregator.w.now()
5227
+ time: aggregator.m.now()
5228
5228
  }
5229
5229
  },
5230
5230
  schema: LinePlot$2.indicatorStateZ
@@ -5308,7 +5308,7 @@ const Chip = Toggle$1.wrap$1(
5308
5308
  key: "no_chip",
5309
5309
  variant: "disabled",
5310
5310
  message: "No chip connected.",
5311
- time: aggregator.w.now()
5311
+ time: aggregator.m.now()
5312
5312
  }
5313
5313
  }
5314
5314
  });
@@ -8295,11 +8295,11 @@ const Pluto = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
8295
8295
  Provider
8296
8296
  }, Symbol.toStringTag, { value: "Module" }));
8297
8297
  const TimeRangeChip = ({ timeRange }) => {
8298
- const startTS = new aggregator.w(timeRange.start);
8298
+ const startTS = new aggregator.m(timeRange.start);
8299
8299
  const startFormat = startTS.isToday ? "time" : "dateTime";
8300
- const endTS = new aggregator.w(timeRange.end);
8301
- const isOpen = endTS.equals(aggregator.w.MAX);
8302
- const endFormat = endTS.span(startTS) < aggregator.y.DAY ? "time" : "dateTime";
8300
+ const endTS = new aggregator.m(timeRange.end);
8301
+ const isOpen = endTS.equals(aggregator.m.MAX);
8302
+ const endFormat = endTS.span(startTS) < aggregator.w.DAY ? "time" : "dateTime";
8303
8303
  return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
8304
8304
  Center$1.Space,
8305
8305
  {
@@ -8478,8 +8478,8 @@ exports.MultiSeries = aggregator.lt;
8478
8478
  exports.Rate = aggregator.q;
8479
8479
  exports.Series = aggregator.N;
8480
8480
  exports.TimeRange = aggregator.U;
8481
- exports.TimeSpan = aggregator.y;
8482
- exports.TimeStamp = aggregator.w;
8481
+ exports.TimeSpan = aggregator.w;
8482
+ exports.TimeStamp = aggregator.m;
8483
8483
  exports.state = aggregator.state;
8484
8484
  exports.Generic = Center$1.Generic;
8485
8485
  exports.telem = LinePlot$2.external;
package/dist/index.js CHANGED
@@ -6,38 +6,38 @@ var __publicField = (obj, key, value2) => {
6
6
  };
7
7
  import { j as jsxRuntimeExports } from "./jsx-runtime-mMz73N64.js";
8
8
  import React__default, { isValidElement, forwardRef, Children, useRef, useState, useCallback, useEffect, createElement, memo, createContext, useContext as useContext$6, useMemo, useLayoutEffect, useImperativeHandle, useId, createRef, Fragment } from "react";
9
- import { p as m0, aG as variantColors, e as Text, N as DateTime, I as Icon$1, B as Button$4, aH as Aggregator, aI as Text$1, aJ as useAggregator, aK as useContext$5, aL as useNotifications, aM as Config, aN as Context$5, aO as Dialog, aP as chooseLocation, aQ as formatTip, aR as useConfig, aS as wrap, aa as mouseKey, o as useSyncedRef, M as MaybeEditable, aT as wrap$1, aU as use$b, aV as useResize, aW as Composite, aX as useEffectCompare, aY as useMemoDeepEqualProps, aZ as useUniqueKey, c as useTypography, a_ as useStateRef, f as useMemoCompare, a1 as compareModeConfigs, a6 as flattenConfig, a2 as determineMode, y as useHeldRef, X as use$c, W as WithIcon, j as use$d, a$ as useAsyncEffect, aw as selectValueIsZero, av as Search, v as useSelectionUtils, ah as Text$2, G as componentRenderProp, E as Editable, s as useContextMenu, r as ContextMenu, b0 as usePrevious, b1 as useDrop, l as filterByType, b2 as canDropOfType, k as useDraggingState, x as useCombinedStateAndRef, m as useDragAndDrop, b3 as Provider$9, as as useDebouncedCallback, u as use$e, ad as purgeMouse, b4 as useCombinedRefs, d as ToggleIcon, al as Switch$2, ak as Numeric, a0 as Provider$b, b5 as Provider$c, P as Provider$d, b6 as Provider$e } from "./Toggle-DGLgYCOX.js";
10
- import { b7, b8, D, b9, ba, be, bd, bb, bc } from "./Toggle-DGLgYCOX.js";
11
- import { C as CSS, J, d as f, g as Z, T as To, q, Y, h as clsx, j as k, _ as _$1, c as cssString, K as Ke, L, a as Color, Z as ZERO } from "./css-DoalWJF6.js";
12
- import { n } from "./css-DoalWJF6.js";
13
- import { H as Header, B as ButtonTitle, A as Actions } from "./external-BAdU6u03.js";
14
- import { e } from "./external-BAdU6u03.js";
15
- import { A, V as VARIANTS$1, n as specZ, v as variantZ, h as usePurePassthrough, m as w, _, C as ComponentSizeLevels, c as S, o as S$1, p as A$1, q as g, k as dimensions, x as _b, X, z as n2, B as o$1, l as levelZ, w as w$1, D as dk, E as is, F as i, G as a, H as h, I as B, y } from "./aggregator-BgImZc4o.js";
16
- import { K, O, M, N, U, J as J2 } from "./aggregator-BgImZc4o.js";
17
- import { S as Space, P as Pack } from "./Center-hbwH7rg9.js";
18
- import { G } from "./Center-hbwH7rg9.js";
19
- import { I as Canvas$2, J as canvasStateZ, K as useStore, M as shallow$1, N as cc, A as LinePlot$2, B as linePlotStateZ, O as filterGridEntries, P as Line$5, Q as stateZ, X as XAxis$2, Y as YAxis$2, S as coreAxisStateZ, T as parseAutoBounds, U as withinSizeThreshold, V as Tooltip$3, W as tooltipStateZ, Z as Measure$2, _ as measureStateZ, $ as Rule$2, a0 as ruleStateZ, a1 as Annotation$1, a2 as annotationStateZ, a3 as Provider$7, a4 as providerStateZ, a5 as streamChannelData, a6 as channelData, a7 as ZERO_CONTEXT_VALUE, a8 as Provider$8, a9 as Eraser$1, aa as eraserStateZ, ab as useReactFlow, ac as BaseEdge, ad as Diagram$1, ae as diagramStateZ, af as translateViewportBackward, ag as useOnViewportChange, ah as translateEdgesForward, ai as translateNodesForward, aj as nodeConverter, ak as edgeConverter, al as ReactFlow, am as translateViewportForward, an as ConnectionMode, ao as SelectionMode, ap as ReactFlowProvider, aq as applyNodeChanges, ar as applyEdgeChanges, as as updateEdge, at as addEdge, au as Value$2, av as Controller$1, aw as controllerStateZ, ax as StateProvider$1, ay as stateProviderStateZ, az as Indicator$1, aA as indicatorStateZ, aB as Chip$1, aC as chipStateZ, aD as Legend$2, aE as legendStateZ, aF as Button$6, aG as buttonStateZ, aH as Position, aI as useUpdateNodeInternals, aJ as Handle$1, aK as Toggle$1, aL as toggleStateZ, aM as useInitialViewport, aN as sourcePipelinePropsZ, aO as sinkPipelinePropsZ, aP as streamChannelValuePropsZ, aQ as setChannelValuePropsZ, aR as stringifyNumberProps, aS as rollingAverageProps, aT as sourcePipeline, aU as streamChannelValue, aV as withinBounds, aW as sinkPipeline, aX as setChannelValue, aY as setpoint, aZ as stringifyNumber, a_ as rollingAverage, a$ as authoritySource, b0 as acquireChannelControl, b1 as Provider$a, b2 as providerStateZ$1, b3 as BaseProvider, b4 as providerStateZ$2 } from "./LinePlot-tOiSUMjC.js";
20
- import { v } from "./LinePlot-tOiSUMjC.js";
21
- import { S as Swatch } from "./external-DarqsFzT.js";
22
- import { e as e2 } from "./external-DarqsFzT.js";
23
- import { u as useDrag, T as Text$3 } from "./external-DeheWVb-.js";
24
- import { e as e3 } from "./external-DeheWVb-.js";
25
- import { C as Core$2, B as Button$5, D as DropdownButton, a as BaseButton, d as defaultButton, S as SelectLevel } from "./external-B3ly2-jy.js";
26
- import { e as e4 } from "./external-B3ly2-jy.js";
9
+ import { p as m0, aG as variantColors, e as Text, N as DateTime, I as Icon$1, B as Button$4, aH as Aggregator, aI as Text$1, aJ as useAggregator, aK as useContext$5, aL as useNotifications, aM as Config, aN as Context$5, aO as Dialog, aP as chooseLocation, aQ as formatTip, aR as useConfig, aS as wrap, aa as mouseKey, o as useSyncedRef, M as MaybeEditable, aT as wrap$1, aU as use$b, aV as useResize, aW as Composite, aX as useEffectCompare, aY as useMemoDeepEqualProps, aZ as useUniqueKey, c as useTypography, a_ as useStateRef, f as useMemoCompare, a1 as compareModeConfigs, a6 as flattenConfig, a2 as determineMode, y as useHeldRef, X as use$c, W as WithIcon, j as use$d, a$ as useAsyncEffect, aw as selectValueIsZero, av as Search, v as useSelectionUtils, ah as Text$2, G as componentRenderProp, E as Editable, s as useContextMenu, r as ContextMenu, b0 as usePrevious, b1 as useDrop, l as filterByType, b2 as canDropOfType, k as useDraggingState, x as useCombinedStateAndRef, m as useDragAndDrop, b3 as Provider$9, as as useDebouncedCallback, u as use$e, ad as purgeMouse, b4 as useCombinedRefs, d as ToggleIcon, al as Switch$2, ak as Numeric, a0 as Provider$b, b5 as Provider$c, P as Provider$d, b6 as Provider$e } from "./Toggle-bT5RpwfA.js";
10
+ import { b7, b8, D, b9, ba, be, bd, bb, bc } from "./Toggle-bT5RpwfA.js";
11
+ import { C as CSS, J, d as f, L, T as To, q, Y, g as clsx, h as k, _ as _$1, c as cssString, K as Ke, j as C, a as Color, Z as ZERO } from "./css-DKKmdhSr.js";
12
+ import { n } from "./css-DKKmdhSr.js";
13
+ import { H as Header, B as ButtonTitle, A as Actions } from "./external-CnNdgPsB.js";
14
+ import { e } from "./external-CnNdgPsB.js";
15
+ import { A, V as VARIANTS$1, o as specZ, v as variantZ, h as usePurePassthrough, n as w, _, C as ComponentSizeLevels, c as S, p as S$1, q as A$1, x as g, k as dimensions, y as _b, X, z as n2, B as o$1, l as levelZ, m as m$1, D as dk, E as is, F as i, G as a, H as h, I as B, w as w$1 } from "./aggregator-B8fg7W2s.js";
16
+ import { K, O, M, N, U, J as J2 } from "./aggregator-B8fg7W2s.js";
17
+ import { S as Space, P as Pack } from "./Center-BK9Rcaa0.js";
18
+ import { G } from "./Center-BK9Rcaa0.js";
19
+ import { I as Canvas$2, J as canvasStateZ, K as useStore, M as shallow$1, N as cc, A as LinePlot$2, B as linePlotStateZ, O as filterGridEntries, P as Line$5, Q as stateZ, X as XAxis$2, Y as YAxis$2, S as coreAxisStateZ, T as parseAutoBounds, U as withinSizeThreshold, V as Tooltip$3, W as tooltipStateZ, Z as Measure$2, _ as measureStateZ, $ as Rule$2, a0 as ruleStateZ, a1 as Annotation$1, a2 as annotationStateZ, a3 as Provider$7, a4 as providerStateZ, a5 as streamChannelData, a6 as channelData, a7 as ZERO_CONTEXT_VALUE, a8 as Provider$8, a9 as Eraser$1, aa as eraserStateZ, ab as useReactFlow, ac as BaseEdge, ad as Diagram$1, ae as diagramStateZ, af as translateViewportBackward, ag as useOnViewportChange, ah as translateEdgesForward, ai as translateNodesForward, aj as nodeConverter, ak as edgeConverter, al as ReactFlow, am as translateViewportForward, an as ConnectionMode, ao as SelectionMode, ap as ReactFlowProvider, aq as applyNodeChanges, ar as applyEdgeChanges, as as updateEdge, at as addEdge, au as Value$2, av as Controller$1, aw as controllerStateZ, ax as StateProvider$1, ay as stateProviderStateZ, az as Indicator$1, aA as indicatorStateZ, aB as Chip$1, aC as chipStateZ, aD as Legend$2, aE as legendStateZ, aF as Button$6, aG as buttonStateZ, aH as Position, aI as useUpdateNodeInternals, aJ as Handle$1, aK as Toggle$1, aL as toggleStateZ, aM as useInitialViewport, aN as sourcePipelinePropsZ, aO as sinkPipelinePropsZ, aP as streamChannelValuePropsZ, aQ as setChannelValuePropsZ, aR as stringifyNumberProps, aS as rollingAverageProps, aT as sourcePipeline, aU as streamChannelValue, aV as withinBounds, aW as sinkPipeline, aX as setChannelValue, aY as setpoint, aZ as stringifyNumber, a_ as rollingAverage, a$ as authoritySource, b0 as acquireChannelControl, b1 as Provider$a, b2 as providerStateZ$1, b3 as BaseProvider, b4 as providerStateZ$2 } from "./LinePlot-KYwy1D7H.js";
20
+ import { v } from "./LinePlot-KYwy1D7H.js";
21
+ import { S as Swatch } from "./external-DNHMAfGi.js";
22
+ import { e as e2 } from "./external-DNHMAfGi.js";
23
+ import { u as useDrag, T as Text$3 } from "./external-BM82B8W2.js";
24
+ import { e as e3 } from "./external-BM82B8W2.js";
25
+ import { C as Core$2, B as Button$5, D as DropdownButton, a as BaseButton, d as defaultButton, S as SelectLevel } from "./external-FWIwgLzc.js";
26
+ import { e as e4 } from "./external-FWIwgLzc.js";
27
27
  import { createPortal } from "react-dom";
28
- import { e as e5 } from "./external-DQkw1ko0.js";
29
- import { F as Filter$2 } from "./external-C6GmnG49.js";
30
- import { e as e6, c, f as f2, p } from "./external-C6GmnG49.js";
31
- import { e as e7 } from "./external-SxB9IH0p.js";
32
- import { e as e8 } from "./external-CgMwmBnF.js";
33
- import { c as c2, u } from "./color-DV-YGUvp.js";
34
- import { I as Item } from "./external-5przQjJD.js";
35
- import { e as e9 } from "./external-5przQjJD.js";
36
- import { r as resetSelection, a as rename, T as Tabs, u as useStatic } from "./external-1osPryUV.js";
37
- import { e as e10 } from "./external-1osPryUV.js";
38
- import { e as e11 } from "./external-96EinZfY.js";
39
- import { e as e12 } from "./external-DiFhWWS-.js";
40
- import { V } from "./Video-B1oW8NLd.js";
28
+ import { e as e5 } from "./external-giUMrk8w.js";
29
+ import { F as Filter$2 } from "./external-BrW40HJx.js";
30
+ import { e as e6, c, f as f2, p } from "./external-BrW40HJx.js";
31
+ import { e as e7 } from "./external-BpqCp_M1.js";
32
+ import { e as e8 } from "./external-zG96smqq.js";
33
+ import { c as c2, u } from "./color-CjdRh-aN.js";
34
+ import { I as Item } from "./external-BfZYUV3z.js";
35
+ import { e as e9 } from "./external-BfZYUV3z.js";
36
+ import { r as resetSelection, a as rename, T as Tabs, u as useStatic } from "./external-CAOQcoqL.js";
37
+ import { e as e10 } from "./external-CAOQcoqL.js";
38
+ import { e as e11 } from "./external-BYqTC99W.js";
39
+ import { e as e12 } from "./external-CwjCCHPi.js";
40
+ import { V } from "./Video-Cp6XjjOK.js";
41
41
  import { z } from "zod";
42
42
  const Circle$1 = ({ variant, ...props }) => {
43
43
  return /* @__PURE__ */ jsxRuntimeExports.jsx(m0.Circle, { color: variantColors[variant], ...props });
@@ -307,7 +307,7 @@ const calculateInitialSizeDistribution = (initial, count) => {
307
307
  };
308
308
  const DELTA = 1e-3;
309
309
  const slightlyOffsetEvenDistribution = (sizes) => {
310
- if (sizes.every((v2) => Z.closeTo(v2, 1 / sizes.length), DELTA))
310
+ if (sizes.every((v2) => L.closeTo(v2, 1 / sizes.length), DELTA))
311
311
  return sizes.map((v2, i2) => {
312
312
  if (i2 % 2 === 0)
313
313
  return v2 + DELTA;
@@ -2257,8 +2257,8 @@ const Rule = wrap$1(
2257
2257
  return;
2258
2258
  if (propsPosition == null)
2259
2259
  return onPositionChange == null ? void 0 : onPositionChange(position);
2260
- const b = L.construct(position + 0.01, position - 0.01);
2261
- if (propsPosition != null && !L.contains(b, propsPosition))
2260
+ const b = C.construct(position + 0.01, position - 0.01);
2261
+ if (propsPosition != null && !C.contains(b, propsPosition))
2262
2262
  onPositionChange == null ? void 0 : onPositionChange(Math.trunc(position * 100) / 100);
2263
2263
  }, [position]);
2264
2264
  const pixelPosRef = useRef(pixelPosition);
@@ -2567,7 +2567,7 @@ const XAxis = ({
2567
2567
  }
2568
2568
  );
2569
2569
  };
2570
- const lineKey = ({ channels: { x, y: y2 } }) => `${x ?? 0}-${y2}`;
2570
+ const lineKey = ({ channels: { x, y } }) => `${x ?? 0}-${y}`;
2571
2571
  const YAxis = ({
2572
2572
  lines,
2573
2573
  rules,
@@ -2621,20 +2621,20 @@ const DynamicLine = ({
2621
2621
  line: {
2622
2622
  key,
2623
2623
  timeSpan,
2624
- channels: { x, y: y2 },
2624
+ channels: { x, y },
2625
2625
  ...props
2626
2626
  }
2627
2627
  }) => {
2628
2628
  const keepFor = Number(timeSpan.valueOf()) * 3;
2629
2629
  const yTelem = streamChannelData({
2630
2630
  timeSpan,
2631
- channel: y2,
2631
+ channel: y,
2632
2632
  keepFor
2633
2633
  });
2634
2634
  const hasX = x != null && x !== 0;
2635
2635
  const xTelem = streamChannelData({
2636
2636
  timeSpan,
2637
- channel: hasX ? x : y2,
2637
+ channel: hasX ? x : y,
2638
2638
  useIndexOfChannel: !hasX,
2639
2639
  keepFor
2640
2640
  });
@@ -2644,15 +2644,15 @@ const StaticLine = ({
2644
2644
  line: {
2645
2645
  timeRange,
2646
2646
  key,
2647
- channels: { x, y: y2 },
2647
+ channels: { x, y },
2648
2648
  ...props
2649
2649
  }
2650
2650
  }) => {
2651
- const yTelem = channelData({ timeRange, channel: y2 });
2651
+ const yTelem = channelData({ timeRange, channel: y });
2652
2652
  const hasX = x != null && x !== 0;
2653
2653
  const xTelem = channelData({
2654
2654
  timeRange,
2655
- channel: hasX ? x : y2,
2655
+ channel: hasX ? x : y,
2656
2656
  useIndexOfChannel: !hasX
2657
2657
  });
2658
2658
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Line$2, { aetherKey: key, y: yTelem, x: xTelem, ...props });
@@ -3599,10 +3599,10 @@ const maskStyle = {
3599
3599
  const getDragLocationPercents = (e13) => {
3600
3600
  const rect = e13.currentTarget.getBoundingClientRect();
3601
3601
  const x = e13.clientX - rect.left;
3602
- const y2 = e13.clientY - rect.top;
3603
- if (y2 < 24)
3602
+ const y = e13.clientY - rect.top;
3603
+ if (y < 24)
3604
3604
  return { px: 0.5, py: 0.5 };
3605
- return { px: x / rect.width, py: y2 / rect.height };
3605
+ return { px: x / rect.width, py: y / rect.height };
3606
3606
  };
3607
3607
  const crossHairA = (px) => px;
3608
3608
  const crossHairB = (px) => 1 - px;
@@ -4013,10 +4013,10 @@ const Controls$1 = ({
4013
4013
  ...props
4014
4014
  }) => {
4015
4015
  const os = use$5({ force: forceOS, default: DEFAULT_OS });
4016
- const C = Variants[os];
4016
+ const C2 = Variants[os];
4017
4017
  if (visibleIfOS != null && visibleIfOS !== os)
4018
4018
  return null;
4019
- return /* @__PURE__ */ jsxRuntimeExports.jsx(C, { ...props });
4019
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(C2, { ...props });
4020
4020
  };
4021
4021
  const external$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4022
4022
  __proto__: null,
@@ -5234,7 +5234,7 @@ const Indicator = wrap$1(
5234
5234
  key: "no_chip",
5235
5235
  variant: "warning",
5236
5236
  message: "No chip connected.",
5237
- time: w$1.now()
5237
+ time: m$1.now()
5238
5238
  }
5239
5239
  },
5240
5240
  schema: indicatorStateZ
@@ -5318,7 +5318,7 @@ const Chip = wrap$1(
5318
5318
  key: "no_chip",
5319
5319
  variant: "disabled",
5320
5320
  message: "No chip connected.",
5321
- time: w$1.now()
5321
+ time: m$1.now()
5322
5322
  }
5323
5323
  }
5324
5324
  });
@@ -8282,7 +8282,7 @@ const Provider$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
8282
8282
  __proto__: null,
8283
8283
  Provider: Provider$1
8284
8284
  }, Symbol.toStringTag, { value: "Module" }));
8285
- const canDisable = (C) => ({ disabled = false, ...props }) => disabled ? props.children : /* @__PURE__ */ jsxRuntimeExports.jsx(C, { ...props });
8285
+ const canDisable = (C2) => ({ disabled = false, ...props }) => disabled ? props.children : /* @__PURE__ */ jsxRuntimeExports.jsx(C2, { ...props });
8286
8286
  const CanDisableTelem = canDisable(Provider$1);
8287
8287
  const CanDisableAether = canDisable(Provider$e);
8288
8288
  const Provider = ({
@@ -8305,11 +8305,11 @@ const Pluto = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
8305
8305
  Provider
8306
8306
  }, Symbol.toStringTag, { value: "Module" }));
8307
8307
  const TimeRangeChip = ({ timeRange }) => {
8308
- const startTS = new w$1(timeRange.start);
8308
+ const startTS = new m$1(timeRange.start);
8309
8309
  const startFormat = startTS.isToday ? "time" : "dateTime";
8310
- const endTS = new w$1(timeRange.end);
8311
- const isOpen = endTS.equals(w$1.MAX);
8312
- const endFormat = endTS.span(startTS) < y.DAY ? "time" : "dateTime";
8310
+ const endTS = new m$1(timeRange.end);
8311
+ const isOpen = endTS.equals(m$1.MAX);
8312
+ const endFormat = endTS.span(startTS) < w$1.DAY ? "time" : "dateTime";
8313
8313
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
8314
8314
  Space,
8315
8315
  {
@@ -8509,8 +8509,8 @@ export {
8509
8509
  e4 as Text,
8510
8510
  e11 as Theming,
8511
8511
  U as TimeRange,
8512
- y as TimeSpan,
8513
- w$1 as TimeStamp,
8512
+ w$1 as TimeSpan,
8513
+ m$1 as TimeStamp,
8514
8514
  external$g as Tooltip,
8515
8515
  e12 as Tree,
8516
8516
  e3 as Triggers,