@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/css.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./color-gJTR__ef.cjs"),r=require("./css-s9KpanYu.cjs");require("zod");exports.createHexOpacityVariants=e.createHexOpacityVariants;exports.unitProperty=e.unitProperty;exports.CSS=r.CSS;exports.newBEM=r.newBEM;
|
|
2
|
+
//# sourceMappingURL=css.cjs.map
|
package/dist/css.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/css.js
ADDED
package/dist/css.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { e as u } from "./css-5RvvUhjr.js";
|
|
2
|
+
let n = null;
|
|
3
|
+
const i = () => (n == null && (n = document.createElement("canvas")), n), r = (e, s, t) => {
|
|
4
|
+
if (u.RUNTIME === "node")
|
|
5
|
+
return { width: 0, height: 0 };
|
|
6
|
+
t == null && (t = i().getContext("2d")), t.font = s;
|
|
7
|
+
const a = t.measureText(e);
|
|
8
|
+
return {
|
|
9
|
+
width: Math.trunc(
|
|
10
|
+
Math.abs(a.actualBoundingBoxLeft) + Math.abs(a.actualBoundingBoxRight)
|
|
11
|
+
),
|
|
12
|
+
height: Math.trunc(
|
|
13
|
+
Math.abs(a.actualBoundingBoxAscent) + Math.abs(a.actualBoundingBoxDescent)
|
|
14
|
+
)
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
r as d
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=dimensions--C45ahLe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimensions
|
|
1
|
+
{"version":3,"file":"dimensions--C45ahLe.js","sources":["../src/text/dimensions.ts"],"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 { type dimensions as core, runtime } from \"@synnaxlabs/x\";\n\nlet canvas: HTMLCanvasElement | null = null;\n\nconst getCanvas = (): HTMLCanvasElement => {\n if (canvas == null) canvas = document.createElement(\"canvas\");\n return canvas;\n};\n\nexport const dimensions = (\n text: string,\n font: string,\n context?: OffscreenCanvasRenderingContext2D | CanvasRenderingContext2D,\n): core.Dimensions => {\n if (runtime.RUNTIME === \"node\") return { width: 0, height: 0 };\n if (context == null)\n context = getCanvas().getContext(\"2d\") as CanvasRenderingContext2D;\n context.font = font;\n const metrics = context.measureText(text);\n return {\n width: Math.trunc(\n Math.abs(metrics.actualBoundingBoxLeft) +\n Math.abs(metrics.actualBoundingBoxRight),\n ),\n height: Math.trunc(\n Math.abs(metrics.actualBoundingBoxAscent) +\n Math.abs(metrics.actualBoundingBoxDescent),\n ),\n };\n};\n"],"names":["canvas","getCanvas","dimensions","text","font","context","runtime","metrics"],"mappings":";AAWA,IAAIA,IAAmC;AAEvC,MAAMC,IAAY,OACZD,KAAU,SAAeA,IAAA,SAAS,cAAc,QAAQ,IACrDA,IAGIE,IAAa,CACxBC,GACAC,GACAC,MACoB;AACpB,MAAIC,EAAQ,YAAY;AAAQ,WAAO,EAAE,OAAO,GAAG,QAAQ,EAAE;AAC7D,EAAID,KAAW,SACHA,IAAAJ,EAAA,EAAY,WAAW,IAAI,IACvCI,EAAQ,OAAOD;AACT,QAAAG,IAAUF,EAAQ,YAAYF,CAAI;AACjC,SAAA;AAAA,IACL,OAAO,KAAK;AAAA,MACV,KAAK,IAAII,EAAQ,qBAAqB,IACpC,KAAK,IAAIA,EAAQ,sBAAsB;AAAA,IAC3C;AAAA,IACA,QAAQ,KAAK;AAAA,MACX,KAAK,IAAIA,EAAQ,uBAAuB,IACtC,KAAK,IAAIA,EAAQ,wBAAwB;AAAA,IAC7C;AAAA,EAAA;AAEJ;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const u=require("./css-s9KpanYu.cjs");let a=null;const i=()=>(a==null&&(a=document.createElement("canvas")),a),c=(e,s,t)=>{if(u.external$1.RUNTIME==="node")return{width:0,height:0};t==null&&(t=i().getContext("2d")),t.font=s;const n=t.measureText(e);return{width:Math.trunc(Math.abs(n.actualBoundingBoxLeft)+Math.abs(n.actualBoundingBoxRight)),height:Math.trunc(Math.abs(n.actualBoundingBoxAscent)+Math.abs(n.actualBoundingBoxDescent))}};exports.dimensions=c;
|
|
2
|
+
//# sourceMappingURL=dimensions-HfZjDJQz.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimensions-
|
|
1
|
+
{"version":3,"file":"dimensions-HfZjDJQz.cjs","sources":["../src/text/dimensions.ts"],"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 { type dimensions as core, runtime } from \"@synnaxlabs/x\";\n\nlet canvas: HTMLCanvasElement | null = null;\n\nconst getCanvas = (): HTMLCanvasElement => {\n if (canvas == null) canvas = document.createElement(\"canvas\");\n return canvas;\n};\n\nexport const dimensions = (\n text: string,\n font: string,\n context?: OffscreenCanvasRenderingContext2D | CanvasRenderingContext2D,\n): core.Dimensions => {\n if (runtime.RUNTIME === \"node\") return { width: 0, height: 0 };\n if (context == null)\n context = getCanvas().getContext(\"2d\") as CanvasRenderingContext2D;\n context.font = font;\n const metrics = context.measureText(text);\n return {\n width: Math.trunc(\n Math.abs(metrics.actualBoundingBoxLeft) +\n Math.abs(metrics.actualBoundingBoxRight),\n ),\n height: Math.trunc(\n Math.abs(metrics.actualBoundingBoxAscent) +\n Math.abs(metrics.actualBoundingBoxDescent),\n ),\n };\n};\n"],"names":["canvas","getCanvas","dimensions","text","font","context","runtime","metrics"],"mappings":"mDAWA,IAAIA,EAAmC,KAEvC,MAAMC,EAAY,KACZD,GAAU,OAAeA,EAAA,SAAS,cAAc,QAAQ,GACrDA,GAGIE,EAAa,CACxBC,EACAC,EACAC,IACoB,CACpB,GAAIC,EAAAA,WAAQ,UAAY,OAAQ,MAAO,CAAE,MAAO,EAAG,OAAQ,CAAE,EACzDD,GAAW,OACHA,EAAAJ,EAAA,EAAY,WAAW,IAAI,GACvCI,EAAQ,KAAOD,EACT,MAAAG,EAAUF,EAAQ,YAAYF,CAAI,EACjC,MAAA,CACL,MAAO,KAAK,MACV,KAAK,IAAII,EAAQ,qBAAqB,EACpC,KAAK,IAAIA,EAAQ,sBAAsB,CAC3C,EACA,OAAQ,KAAK,MACX,KAAK,IAAIA,EAAQ,uBAAuB,EACtC,KAAK,IAAIA,EAAQ,wBAAwB,CAC7C,CAAA,CAEJ"}
|
package/dist/dropdown.cjs
CHANGED
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Toggle = require("./Toggle-eOKYw1OT.cjs");
|
|
4
|
-
require("./jsx-runtime-N1ikfypN.cjs");
|
|
5
|
-
require("react");
|
|
6
|
-
require("./css-V3VUT_Js.cjs");
|
|
7
|
-
require("zod");
|
|
8
|
-
require("./component-joFaJiQW.cjs");
|
|
9
|
-
require("react-dom");
|
|
10
|
-
require("./Center-ZAcURh-3.cjs");
|
|
11
|
-
require("react-hook-form");
|
|
12
|
-
exports.Dropdown = Toggle.Dropdown;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Toggle-QnKinMl4.cjs");require("./jsx-runtime-evvPGacs.cjs");require("react");require("./css-s9KpanYu.cjs");require("zod");require("./component-dgLAEMbt.cjs");require("react-dom");require("./Center-ER_owvfX.cjs");require("./color-gJTR__ef.cjs");require("react-hook-form");exports.Dropdown=e.Dropdown;
|
|
13
2
|
//# sourceMappingURL=dropdown.cjs.map
|
package/dist/dropdown.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dropdown.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/dropdown.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { D } from "./Toggle-
|
|
2
|
-
import "./jsx-runtime-
|
|
1
|
+
import { D as n } from "./Toggle-HVxv8bv2.js";
|
|
2
|
+
import "./jsx-runtime-NmMXPjeo.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "./css-
|
|
4
|
+
import "./css-5RvvUhjr.js";
|
|
5
5
|
import "zod";
|
|
6
|
-
import "./component-
|
|
6
|
+
import "./component-LA8IXGSG.js";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
import "./Center-
|
|
8
|
+
import "./Center-8mBjm1cO.js";
|
|
9
|
+
import "./color-9QRifwqk.js";
|
|
9
10
|
import "react-hook-form";
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
n as Dropdown
|
|
12
13
|
};
|
|
13
14
|
//# sourceMappingURL=dropdown.js.map
|
package/dist/dropdown.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dropdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./Toggle-QnKinMl4.cjs"),o=require("./Link-16dbGK7G.cjs"),n=Object.freeze(Object.defineProperty({__proto__:null,Button:e.Button,Core:e.Core,Icon:e.Icon,Link:o.Link,Toggle:e.Toggle,ToggleIcon:e.ToggleIcon},Symbol.toStringTag,{value:"Module"}));exports.external=n;
|
|
2
|
+
//# sourceMappingURL=external--jsfNkbo.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external--jsfNkbo.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { C as e, P as t, S as a, T as s, a as o, r, b as n, u as l, c as b } from "./Selector-R4SumEUV.js";
|
|
2
|
+
const i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
|
+
__proto__: null,
|
|
4
|
+
Content: e,
|
|
5
|
+
Provider: t,
|
|
6
|
+
Selector: a,
|
|
7
|
+
Tabs: s,
|
|
8
|
+
TabsContext: o,
|
|
9
|
+
rename: r,
|
|
10
|
+
resetSelection: n,
|
|
11
|
+
useStatic: l,
|
|
12
|
+
useTabsContext: b
|
|
13
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
14
|
+
export {
|
|
15
|
+
i as e
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=external-1DGLK9F2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-1DGLK9F2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { j as e, k as a, N as t, l as o, m as r, n as s, o as l, p as m } from "./Toggle-HVxv8bv2.js";
|
|
2
|
+
import { H as n, I as i, a as p, L as c } from "./Item--h4UWJZo.js";
|
|
3
|
+
const b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
|
+
__proto__: null,
|
|
5
|
+
Date: e,
|
|
6
|
+
DragButton: a,
|
|
7
|
+
HelpText: n,
|
|
8
|
+
Item: i,
|
|
9
|
+
ItemControlled: p,
|
|
10
|
+
Label: c,
|
|
11
|
+
Numeric: t,
|
|
12
|
+
Switch: o,
|
|
13
|
+
Text: r,
|
|
14
|
+
TextArea: s,
|
|
15
|
+
Time: l,
|
|
16
|
+
combineDateAndTimeValue: m
|
|
17
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
export {
|
|
19
|
+
b as e
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=external-4h9H4Y_N.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-4h9H4Y_N.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { z as u, A as l, f as n, F as m, G as f, H as d, K as c, J as p, O as g, Q as S, R as x, U as M, V as K, X as j, Y as y, Z as C, _ as E, $ as _, a0 as h, a1 as T, a2 as b, a3 as A, a4 as R, q as k, a5 as H, a6 as O, a7 as U } from "./Toggle-HVxv8bv2.js";
|
|
2
|
+
import { j as e } from "./jsx-runtime-NmMXPjeo.js";
|
|
3
|
+
import { useState as Y, useEffect as L } from "react";
|
|
4
|
+
import "./component-LA8IXGSG.js";
|
|
5
|
+
import { u as P } from "./useDrag-4o21IpGy.js";
|
|
6
|
+
import { S as Z } from "./Center-8mBjm1cO.js";
|
|
7
|
+
import "./css-5RvvUhjr.js";
|
|
8
|
+
import { K as v } from "./Keyboard-IWRXgioJ.js";
|
|
9
|
+
const I = (a) => {
|
|
10
|
+
const { listen: s } = u(), [o, t] = Y([]);
|
|
11
|
+
return L(
|
|
12
|
+
() => s(({ next: [r] }) => t(r ?? [])),
|
|
13
|
+
[s, t]
|
|
14
|
+
), /* @__PURE__ */ e.jsx(l, { hideIcon: !0, ...a, children: o.join(" ") });
|
|
15
|
+
}, z = ({
|
|
16
|
+
className: a,
|
|
17
|
+
style: s,
|
|
18
|
+
trigger: o,
|
|
19
|
+
...t
|
|
20
|
+
}) => {
|
|
21
|
+
const r = {
|
|
22
|
+
Control: /* @__PURE__ */ e.jsx(n.Meta, {}),
|
|
23
|
+
Alt: /* @__PURE__ */ e.jsx(n.Alt, {}),
|
|
24
|
+
Shift: /* @__PURE__ */ e.jsx(m.Keyboard.Shift, {}),
|
|
25
|
+
MouseLeft: "Left Click",
|
|
26
|
+
MouseRight: "Right Click",
|
|
27
|
+
MouseMiddle: "Middle Click"
|
|
28
|
+
};
|
|
29
|
+
return /* @__PURE__ */ e.jsx(Z, { className: a, style: s, direction: "x", children: o.map((i) => (
|
|
30
|
+
// @ts-expect-error
|
|
31
|
+
/* @__PURE__ */ e.jsx(v, { ...t, children: r[i] ?? i }, i)
|
|
32
|
+
)) });
|
|
33
|
+
}, Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34
|
+
__proto__: null,
|
|
35
|
+
ALPHANUMERIC_KEYS: f,
|
|
36
|
+
ALPHANUMERIC_KEYS_SET: d,
|
|
37
|
+
KEYS: c,
|
|
38
|
+
MOUSE_KEYS: p,
|
|
39
|
+
Provider: g,
|
|
40
|
+
Status: I,
|
|
41
|
+
Text: z,
|
|
42
|
+
compareModeConfigs: S,
|
|
43
|
+
determineMode: x,
|
|
44
|
+
diff: M,
|
|
45
|
+
eventKey: K,
|
|
46
|
+
filter: j,
|
|
47
|
+
flattenConfig: y,
|
|
48
|
+
keyZ: C,
|
|
49
|
+
keyboardKey: E,
|
|
50
|
+
match: _,
|
|
51
|
+
mouseKey: h,
|
|
52
|
+
mouseKeyZ: T,
|
|
53
|
+
purge: b,
|
|
54
|
+
purgeMouse: A,
|
|
55
|
+
triggerZ: R,
|
|
56
|
+
use: k,
|
|
57
|
+
useContext: u,
|
|
58
|
+
useDrag: P,
|
|
59
|
+
useFlattenedMemoConfig: H,
|
|
60
|
+
useHeld: O,
|
|
61
|
+
useHeldRef: U
|
|
62
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
63
|
+
export {
|
|
64
|
+
z as T,
|
|
65
|
+
Q as e
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=external-4uqucf0m.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-
|
|
1
|
+
{"version":3,"file":"external-4uqucf0m.js","sources":["../src/triggers/Status.tsx","../src/triggers/Text.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 { type ReactElement, useEffect, useState } from \"react\";\n\nimport { Status as CoreStatus } from \"@/status\";\nimport { useContext } from \"@/triggers/Provider\";\nimport { type Trigger } from \"@/triggers/triggers\";\n\nexport interface StatusProps extends CoreStatus.TextProps {}\n\nexport const Status = (props: StatusProps): ReactElement => {\n const { listen } = useContext();\n const [trigger, setTrigger] = useState<Trigger>([]);\n\n useEffect(\n () => listen(({ next: [trigger] }) => setTrigger(trigger ?? [])),\n [listen, setTrigger],\n );\n\n return (\n <CoreStatus.Text hideIcon {...props}>\n {trigger.join(\" \")}\n </CoreStatus.Text>\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 ReactElement } from \"react\";\n\nimport { Icon } from \"@synnaxlabs/media\";\n\nimport { Align } from \"@/align\";\nimport { Text as Core } from \"@/text\";\nimport { type Key, type Trigger } from \"@/triggers/triggers\";\n\nexport type TextProps<L extends Core.Level> = Core.KeyboardProps<L> & {\n trigger: Trigger;\n};\n\nexport const Text = <L extends Core.Level>({\n className,\n style,\n trigger,\n ...props\n}: TextProps<L>): ReactElement => {\n const CUSTOM_TEXT: Partial<Record<Key, ReactElement | string>> = {\n Control: <Core.Symbols.Meta />,\n Alt: <Core.Symbols.Alt />,\n Shift: <Icon.Keyboard.Shift />,\n MouseLeft: \"Left Click\",\n MouseRight: \"Right Click\",\n MouseMiddle: \"Middle Click\",\n };\n return (\n <Align.Space className={className} style={style} direction=\"x\">\n {trigger.map((t) => (\n // @ts-expect-error\n <Core.Keyboard<L> key={t} {...props}>\n {CUSTOM_TEXT[t] ?? t}\n </Core.Keyboard>\n ))}\n </Align.Space>\n );\n};\n"],"names":["Status","props","listen","useContext","trigger","setTrigger","useState","useEffect","jsx","CoreStatus.Text","Text","className","style","CUSTOM_TEXT","Core.Symbols","Icon","Align.Space","t","Core.Keyboard"],"mappings":";;;;;;;;AAiBa,MAAAA,IAAS,CAACC,MAAqC;AACpD,QAAA,EAAE,QAAAC,MAAWC,KACb,CAACC,GAASC,CAAU,IAAIC,EAAkB,CAAE,CAAA;AAElD,SAAAC;AAAA,IACE,MAAML,EAAO,CAAC,EAAE,MAAM,CAACE,CAAO,EAAA,MAAQC,EAAWD,KAAW,CAAA,CAAE,CAAC;AAAA,IAC/D,CAACF,GAAQG,CAAU;AAAA,EAAA,GAInBG,gBAAAA,MAACC,GAAA,EAAgB,UAAQ,IAAE,GAAGR,GAC3B,UAAAG,EAAQ,KAAK,GAAG,EACnB,CAAA;AAEJ,GCVaM,IAAO,CAAuB;AAAA,EACzC,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,SAAAR;AAAA,EACA,GAAGH;AACL,MAAkC;AAChC,QAAMY,IAA2D;AAAA,IAC/D,SAASL,gBAAAA,EAAA,IAACM,EAAa,MAAb,CAAA,CAAkB;AAAA,IAC5B,KAAKN,gBAAAA,EAAA,IAACM,EAAa,KAAb,CAAA,CAAiB;AAAA,IACvB,OAAON,gBAAAA,EAAAA,IAACO,EAAK,SAAS,OAAd,CAAA,CAAoB;AAAA,IAC5B,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,aAAa;AAAA,EAAA;AAGb,SAAAP,gBAAAA,MAACQ,GAAA,EAAY,WAAAL,GAAsB,OAAAC,GAAc,WAAU,KACxD,UAAQR,EAAA,IAAI,CAACa;AAAA;AAAA,IAEZT,gBAAAA,MAACU,GAAA,EAA0B,GAAGjB,GAC3B,UAAYY,EAAAI,CAAC,KAAKA,EAAA,GADEA,CAEvB;AAAA,GACD,EACH,CAAA;AAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./TimeRangeChip-jQH9NacG.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Column:e.Column,Context:e.Context,Core:e.Core,Filter:e.Filter,Hover:e.Hover,List:e.List,Provider:e.Provider,Search:e.Search,Selector:e.Selector,useContext:e.useContext},Symbol.toStringTag,{value:"Module"}));exports.external=t;
|
|
2
|
+
//# sourceMappingURL=external-A_eQgT5T.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-A_eQgT5T.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { P as e, S as t, t as a, u as r, a as s, b as o } from "./Toggle-HVxv8bv2.js";
|
|
2
|
+
import { u as n } from "./font-HpLrwPSD.js";
|
|
3
|
+
import { s as i, a as m, t as u, b as p } from "./component-LA8IXGSG.js";
|
|
4
|
+
const g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
|
+
__proto__: null,
|
|
6
|
+
Provider: e,
|
|
7
|
+
Switch: t,
|
|
8
|
+
get Theming() {
|
|
9
|
+
return g;
|
|
10
|
+
},
|
|
11
|
+
synnaxDark: i,
|
|
12
|
+
synnaxLight: m,
|
|
13
|
+
themeZ: u,
|
|
14
|
+
themes: p,
|
|
15
|
+
toCSSVars: a,
|
|
16
|
+
use: r,
|
|
17
|
+
useContext: s,
|
|
18
|
+
useProvider: o,
|
|
19
|
+
useTypography: n
|
|
20
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
21
|
+
export {
|
|
22
|
+
g as e
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=external-FCO_hdNr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-FCO_hdNr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./Toggle-QnKinMl4.cjs"),n=require("./font-yosRgv9n.cjs"),t=require("./component-dgLAEMbt.cjs"),r=Object.freeze(Object.defineProperty({__proto__:null,Provider:e.Provider,Switch:e.Switch,get Theming(){return r},synnaxDark:t.synnaxDark,synnaxLight:t.synnaxLight,themeZ:t.themeZ,themes:t.themes,toCSSVars:e.toCSSVars,use:e.use,useContext:e.useContext,useProvider:e.useProvider,useTypography:n.useTypography},Symbol.toStringTag,{value:"Module"}));exports.external=r;
|
|
2
|
+
//# sourceMappingURL=external-HZ6f2KvU.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-HZ6f2KvU.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./Toggle-QnKinMl4.cjs"),o=require("./dimensions-HfZjDJQz.cjs"),i=require("./Keyboard-bXNOi0bP.cjs"),t=require("./component-dgLAEMbt.cjs"),n=require("./SelectLevel-DrdlLBOs.cjs"),l=Object.freeze(Object.defineProperty({__proto__:null,ComponentSizeLevels:t.ComponentSizeLevels,CoreDateTime:e.CoreDateTime,DateTime:e.DateTime,Editable:e.Editable,Keyboard:i.Keyboard,LEVELS:t.LEVELS,LevelComponentSizes:t.LevelComponentSizes,Link:e.Link,MaybeEditable:e.MaybeEditable,SelectLevel:n.SelectLevel,Symbols:e.Symbols,Text:e.Text,WithIcon:e.WithIcon,dimensions:o.dimensions,edit:e.edit,formatChildren:e.formatChildren,levelZ:t.levelZ,specZ:t.specZ},Symbol.toStringTag,{value:"Module"}));exports.external=l;
|
|
2
|
+
//# sourceMappingURL=external-LPdjowBG.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-LPdjowBG.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./Item-EBiM5yGJ.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_SELECTED:e.CONTEXT_SELECTED,CONTEXT_TARGET:e.CONTEXT_TARGET,ContextMenu:e.ContextMenu,CoreItem:e.CoreItem,Item:e.Item,Menu:e.Menu,MenuContext:e.MenuContext,useContextMenu:e.useContextMenu,useMenuContext:e.useMenuContext},Symbol.toStringTag,{value:"Module"}));exports.external=t;
|
|
2
|
+
//# sourceMappingURL=external-O1b3FJKI.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-O1b3FJKI.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const r=require("./jsx-runtime-evvPGacs.cjs"),m=require("react"),i=require("./css-s9KpanYu.cjs"),C=require("./Center-ER_owvfX.cjs"),u=require("./Toggle-QnKinMl4.cjs"),c=require("./Header-PpcdP7hn.cjs"),d=require("./component-dgLAEMbt.cjs"),j=({children:n=[]})=>{const{level:s,divided:e}=c.useContext();return r.jsxRuntimeExports.jsx(C.Space,{direction:"x",size:"small",align:"center",className:i.CSS.BE("header","actions"),children:i.toArray(n).map((o,t)=>r.jsxRuntimeExports.jsx(S,{index:t,level:s,divided:e,children:o},t))})},S=({index:n,level:s,children:e,divided:o})=>{let t=e;if(!m.isValidElement(e)){const l=e;t=r.jsxRuntimeExports.jsx(u.Icon,{onClick:x=>{var a;x.stopPropagation(),x.preventDefault(),(a=l.onClick)==null||a.call(l,x)},size:d.LevelComponentSizes[s],...l},n)}return r.jsxRuntimeExports.jsxs(m.Fragment,{children:[o&&r.jsxRuntimeExports.jsx(u.Divider,{}),t]},n)},p=({children:n="",className:s,onClick:e,...o})=>{const{level:t}=c.useContext();return r.jsxRuntimeExports.jsx(u.Button,{variant:"text",size:d.LevelComponentSizes[t],onClick:e,className:i.CSS(i.CSS.B("header-button-title"),s),sharp:!0,...o,children:n})},v=({className:n,level:s,...e})=>{const{level:o,divided:t}=c.useContext();return r.jsxRuntimeExports.jsx(u.WithIcon,{className:i.CSS(i.CSS.BE("header","text"),n),level:s??o,divided:t,...e})},E=Object.freeze(Object.defineProperty({__proto__:null,Actions:j,ButtonTitle:p,Header:c.Header,Title:v,useContext:c.useContext},Symbol.toStringTag,{value:"Module"}));exports.Actions=j;exports.ButtonTitle=p;exports.external=E;
|
|
2
|
+
//# sourceMappingURL=external-RGdrJX7y.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-
|
|
1
|
+
{"version":3,"file":"external-RGdrJX7y.cjs","sources":["../src/header/Actions.tsx","../src/header/ButtonTitle.tsx","../src/header/Title.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 { Fragment, isValidElement, type ReactElement } from \"react\";\n\nimport { toArray } from \"@synnaxlabs/x\";\n\nimport { Align } from \"@/align\";\nimport { Button } from \"@/button\";\nimport { CSS } from \"@/css\";\nimport { Divider } from \"@/divider\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport type ActionSpec = Button.IconProps | ReactElement;\n\nexport interface ActionsProps {\n children?: ActionSpec | ActionSpec[];\n}\n\n/**\n * Custom actions to render on the right side of the header.\n *\n * @param children - The actions to render. If the action is of type\n * {@link ButtonIconProps}, a correectly sized {@link ButtonIconOnly} is rendered\n * using the given props. If the action is a JSX element, it is renderered directly.\n * It's a good idea to prefer the latter in almost all cases for simplicity.\n */\nexport const Actions = ({ children = [] }: ActionsProps): ReactElement => {\n const { level, divided } = useContext();\n return (\n <Align.Space\n direction=\"x\"\n size=\"small\"\n align=\"center\"\n className={CSS.BE(\"header\", \"actions\")}\n >\n {toArray(children).map((action, i) => (\n <Action key={i} index={i} level={level} divided={divided}>\n {action}\n </Action>\n ))}\n </Align.Space>\n );\n};\n\ninterface ActionProps {\n index: number;\n level: Text.Level;\n children: ReactElement | Button.IconProps;\n divided: boolean;\n}\n\nconst Action = ({ index, level, children, divided }: ActionProps): ReactElement => {\n let content: ReactElement = children as ReactElement;\n if (!isValidElement(children)) {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n const props = children as Button.IconProps;\n content = (\n <Button.Icon\n onClick={(e) => {\n e.stopPropagation();\n e.preventDefault();\n props.onClick?.(e);\n }}\n key={index}\n size={Text.LevelComponentSizes[level]}\n {...props}\n />\n );\n }\n return (\n <Fragment key={index}>\n {divided && <Divider.Divider />}\n {content}\n </Fragment>\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 ReactElement } from \"react\";\n\nimport { Button } from \"@/button\";\nimport { CSS } from \"@/css\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport interface ButtonTitleProps\n extends Omit<Button.ButtonProps, \"variant\" | \"size\"> {}\n\n/**\n * Header.Title.Use renders a clickable header title.\n *\n * @param props - The comonent props. The props for this component are identical\n * to {@link Button}, except the variant is always 'outlined' and that the component size\n * is automatically inferred from the 'level' prop passsed to the parent {@link Header}\n * component.\n */\nexport const ButtonTitle = ({\n children = \"\",\n className,\n onClick,\n ...props\n}: ButtonTitleProps): ReactElement => {\n const { level } = useContext();\n return (\n <Button.Button\n variant=\"text\"\n size={Text.LevelComponentSizes[level]}\n onClick={onClick}\n className={CSS(CSS.B(\"header-button-title\"), className)}\n sharp\n {...props}\n >\n {children}\n </Button.Button>\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 ReactElement } from \"react\";\n\nimport { type Optional } from \"@synnaxlabs/x\";\n\nimport { CSS } from \"@/css\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport interface TitleProps\n extends Optional<Omit<Text.WithIconProps, \"divided\">, \"level\"> {}\n\n/**\n * Renders the title for the header component.\n *\n * @param props - The component props. The props for this component are identical\n * to the {@link Typography.TextWithIcon} component, except that the 'level', and\n * 'divider' props are inherited from the parent {@link Header} component.\n */\nexport const Title = ({\n className,\n level: propsLevel,\n ...props\n}: TitleProps): ReactElement => {\n const { level, divided } = useContext();\n return (\n <Text.WithIcon\n className={CSS(CSS.BE(\"header\", \"text\"), className)}\n level={propsLevel ?? level}\n divided={divided}\n {...props}\n />\n );\n};\n"],"names":["Actions","children","level","divided","useContext","jsx","Align.Space","CSS","toArray","action","i","Action","index","content","isValidElement","props","Button.Icon","e","_a","Text.LevelComponentSizes","Fragment","Divider.Divider","ButtonTitle","className","onClick","Button.Button","Title","propsLevel","Text.WithIcon"],"mappings":"6PAkCaA,EAAU,CAAC,CAAE,SAAAC,EAAW,CAAA,KAAqC,CACxE,KAAM,CAAE,MAAAC,EAAO,QAAAC,CAAQ,EAAIC,EAAW,WAAA,EAEpC,OAAAC,EAAA,kBAAA,IAACC,EAAM,MAAN,CACC,UAAU,IACV,KAAK,QACL,MAAM,SACN,UAAWC,EAAA,IAAI,GAAG,SAAU,SAAS,EAEpC,SAAQC,EAAA,QAAAP,CAAQ,EAAE,IAAI,CAACQ,EAAQC,IAC7BL,wBAAAM,EAAA,CAAe,MAAOD,EAAG,MAAAR,EAAc,QAAAC,EACrC,SAAAM,CAAA,EADUC,CAEb,CACD,CAAA,CAAA,CAGP,EASMC,EAAS,CAAC,CAAE,MAAAC,EAAO,MAAAV,EAAO,SAAAD,EAAU,QAAAE,KAAyC,CACjF,IAAIU,EAAwBZ,EACxB,GAAA,CAACa,EAAAA,eAAeb,CAAQ,EAAG,CAE7B,MAAMc,EAAQd,EAEZY,EAAAR,EAAA,kBAAA,IAACW,EAAO,KAAP,CACC,QAAUC,GAAM,OACdA,EAAE,gBAAgB,EAClBA,EAAE,eAAe,GACjBC,EAAAH,EAAM,UAAN,MAAAG,EAAA,KAAAH,EAAgBE,EAClB,EAEA,KAAME,EAAK,oBAAoBjB,CAAK,EACnC,GAAGa,CAAA,EAFCH,CAAA,CAKX,CACA,gCACGQ,WACE,CAAA,SAAA,CAAWjB,GAAAE,EAAAA,kBAAAA,IAACgB,EAAQ,QAAR,EAAgB,EAC5BR,CAAA,CAAA,EAFYD,CAGf,CAEJ,ECxDaU,EAAc,CAAC,CAC1B,SAAArB,EAAW,GACX,UAAAsB,EACA,QAAAC,EACA,GAAGT,CACL,IAAsC,CAC9B,KAAA,CAAE,MAAAb,GAAUE,EAAAA,aAEhB,OAAAC,EAAA,kBAAA,IAACoB,EAAO,OAAP,CACC,QAAQ,OACR,KAAMN,EAAK,oBAAoBjB,CAAK,EACpC,QAAAsB,EACA,UAAWjB,EAAI,IAAAA,EAAA,IAAI,EAAE,qBAAqB,EAAGgB,CAAS,EACtD,MAAK,GACJ,GAAGR,EAEH,SAAAd,CAAA,CAAA,CAGP,ECnBayB,EAAQ,CAAC,CACpB,UAAAH,EACA,MAAOI,EACP,GAAGZ,CACL,IAAgC,CAC9B,KAAM,CAAE,MAAAb,EAAO,QAAAC,CAAQ,EAAIC,EAAW,WAAA,EAEpC,OAAAC,EAAA,kBAAA,IAACuB,EAAK,SAAL,CACC,UAAWrB,EAAI,IAAAA,MAAI,GAAG,SAAU,MAAM,EAAGgB,CAAS,EAClD,MAAOI,GAAczB,EACrB,QAAAC,EACC,GAAGY,CAAA,CAAA,CAGV"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { d as e, e as a, E as o, L as s, M as t, f as r, g as i, W as m, h as l, i as n } from "./Toggle-HVxv8bv2.js";
|
|
2
|
+
import { d } from "./dimensions--C45ahLe.js";
|
|
3
|
+
import { K as p } from "./Keyboard-IWRXgioJ.js";
|
|
4
|
+
import { C as f, L as b, c as L, l as S, d as c } from "./component-LA8IXGSG.js";
|
|
5
|
+
import { S as v } from "./SelectLevel-Uod3Ez6y.js";
|
|
6
|
+
const g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
|
+
__proto__: null,
|
|
8
|
+
ComponentSizeLevels: f,
|
|
9
|
+
CoreDateTime: e,
|
|
10
|
+
DateTime: a,
|
|
11
|
+
Editable: o,
|
|
12
|
+
Keyboard: p,
|
|
13
|
+
LEVELS: b,
|
|
14
|
+
LevelComponentSizes: L,
|
|
15
|
+
Link: s,
|
|
16
|
+
MaybeEditable: t,
|
|
17
|
+
SelectLevel: v,
|
|
18
|
+
Symbols: r,
|
|
19
|
+
Text: i,
|
|
20
|
+
WithIcon: m,
|
|
21
|
+
dimensions: d,
|
|
22
|
+
edit: l,
|
|
23
|
+
formatChildren: n,
|
|
24
|
+
levelZ: S,
|
|
25
|
+
specZ: c
|
|
26
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
27
|
+
export {
|
|
28
|
+
g as e
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=external-WiHGqQPA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-WiHGqQPA.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./Toggle-QnKinMl4.cjs"),t=require("./Item-_og4CdwZ.cjs"),r=Object.freeze(Object.defineProperty({__proto__:null,Date:e.Date,DragButton:e.DragButton,HelpText:t.HelpText,Item:t.Item,ItemControlled:t.ItemControlled,Label:t.Label,Numeric:e.Numeric,Switch:e.Switch$1,Text:e.Text$1,TextArea:e.TextArea,Time:e.Time,combineDateAndTimeValue:e.combineDateAndTimeValue},Symbol.toStringTag,{value:"Module"}));exports.external=r;
|
|
2
|
+
//# sourceMappingURL=external-eWu6hCLU.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-eWu6hCLU.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { C as e, a as o, b as t, F as a, H as r, L as s, P as l, S as n, c, u as i } from "./TimeRangeChip-jI9Nn9z8.js";
|
|
2
|
+
const C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
|
+
__proto__: null,
|
|
4
|
+
Column: e,
|
|
5
|
+
Context: o,
|
|
6
|
+
Core: t,
|
|
7
|
+
Filter: a,
|
|
8
|
+
Hover: r,
|
|
9
|
+
List: s,
|
|
10
|
+
Provider: l,
|
|
11
|
+
Search: n,
|
|
12
|
+
Selector: c,
|
|
13
|
+
useContext: i
|
|
14
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
15
|
+
export {
|
|
16
|
+
C as e
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=external-kvAz85mu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-kvAz85mu.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { A as a, a as e, B as s, b as r, c as o, C as n, d as i, F as t, e as S, I as c, M as p, f as u, N as l, P as m, R as Z, g as f, S as b, h as d, i as P, j as y, k, l as g, m as h, T, U as x, n as F, W as N, o as v, p as C, q as B, r as A, s as D, t as _, u as j, v as M, w as R, x as U, y as V, z as I, D as O, E as w, G as z, H as E, J as G, K as W, L as Y, O as q, Q as H, V as J, X as K, Y as L, Z as Q, _ as X, $, a0 as aa, a1 as ea, a2 as sa, a3 as ra, a4 as oa, a5 as na, a6 as ia, a7 as ta, a8 as Sa, a9 as ca, aa as pa, ab as ua, ac as la, ad as ma, ae as Za, af as fa, ag as ba, ah as da, ai as Pa, aj as ya, ak as ka, al as ga, am as ha, an as Ta, ao as xa, ap as Fa } from "./table-MJysJcCC.js";
|
|
2
|
+
const va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
|
+
__proto__: null,
|
|
4
|
+
AbstractSink: a,
|
|
5
|
+
AbstractSource: e,
|
|
6
|
+
Base: s,
|
|
7
|
+
BaseProvider: r,
|
|
8
|
+
BooleanStatus: o,
|
|
9
|
+
ChannelData: n,
|
|
10
|
+
CompoundTelemFactory: i,
|
|
11
|
+
FixedNumber: t,
|
|
12
|
+
FixedString: S,
|
|
13
|
+
IterativeSeries: c,
|
|
14
|
+
Mean: p,
|
|
15
|
+
MultiSourceTransformer: u,
|
|
16
|
+
NoopFactory: l,
|
|
17
|
+
PipelineFactory: m,
|
|
18
|
+
REGISTRY: Z,
|
|
19
|
+
RemoteFactory: f,
|
|
20
|
+
Setpoint: b,
|
|
21
|
+
SinkPipeline: d,
|
|
22
|
+
SourcePipeline: P,
|
|
23
|
+
StaticFactory: y,
|
|
24
|
+
StreamChannelData: k,
|
|
25
|
+
StreamChannelValue: g,
|
|
26
|
+
StringifyNumber: h,
|
|
27
|
+
TransformerFactory: T,
|
|
28
|
+
UnarySinkTransformer: x,
|
|
29
|
+
UnarySourceTransformer: F,
|
|
30
|
+
WithinBounds: N,
|
|
31
|
+
booleanSinkSpecZ: v,
|
|
32
|
+
booleanSinkTransformerSpecZ: C,
|
|
33
|
+
booleanSourceSpecZ: B,
|
|
34
|
+
booleanSourceTransformerSpecZ: A,
|
|
35
|
+
booleanStatus: D,
|
|
36
|
+
booleanStatusProps: _,
|
|
37
|
+
channelData: j,
|
|
38
|
+
colorSourceSpecZ: M,
|
|
39
|
+
factory: R,
|
|
40
|
+
fixedArray: U,
|
|
41
|
+
fixedNumber: V,
|
|
42
|
+
fixedNumberPropsZ: I,
|
|
43
|
+
fixedSeriesPropsZ: O,
|
|
44
|
+
fixedString: w,
|
|
45
|
+
fixedStringPropsZ: z,
|
|
46
|
+
iterativeArray: E,
|
|
47
|
+
iterativeSeriesPropsZ: G,
|
|
48
|
+
mean: W,
|
|
49
|
+
noopBooleanSinkSpec: Y,
|
|
50
|
+
noopBooleanSourceSpec: q,
|
|
51
|
+
noopColorSourceSpec: H,
|
|
52
|
+
noopNumericSinkSpec: J,
|
|
53
|
+
noopNumericSourceSpec: K,
|
|
54
|
+
noopStatusSourceSpec: L,
|
|
55
|
+
noopStringSourceSpec: Q,
|
|
56
|
+
numberSinkSpecZ: X,
|
|
57
|
+
numberSourceSpecZ: $,
|
|
58
|
+
providerStateZ: aa,
|
|
59
|
+
registerFactory: ea,
|
|
60
|
+
seriesSourceSpecZ: sa,
|
|
61
|
+
setProvider: ra,
|
|
62
|
+
setpoint: oa,
|
|
63
|
+
shouldUpdate: na,
|
|
64
|
+
sinkPipeline: ia,
|
|
65
|
+
sinkPipelinePropsZ: ta,
|
|
66
|
+
sinkSpecZ: Sa,
|
|
67
|
+
sinkTransformerSpecZ: ca,
|
|
68
|
+
sourcePipeline: pa,
|
|
69
|
+
sourcePipelinePropsZ: ua,
|
|
70
|
+
sourceSpecZ: la,
|
|
71
|
+
sourceTransformerSpecZ: ma,
|
|
72
|
+
specZ: Za,
|
|
73
|
+
statusSourceSpecZ: fa,
|
|
74
|
+
streamChannelData: ba,
|
|
75
|
+
streamChannelValue: da,
|
|
76
|
+
streamChannelValuePropsZ: Pa,
|
|
77
|
+
stringSourceSpecZ: ya,
|
|
78
|
+
stringifyNumber: ka,
|
|
79
|
+
stringifyNumberProps: ga,
|
|
80
|
+
useProvider: ha,
|
|
81
|
+
useSink: Ta,
|
|
82
|
+
useSource: xa,
|
|
83
|
+
withinBounds: Fa
|
|
84
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
85
|
+
export {
|
|
86
|
+
va as e
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=external-mpVdVPF1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-mpVdVPF1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./table-NIrLpFOm.cjs"),r=Object.freeze(Object.defineProperty({__proto__:null,AbstractSink:e.AbstractSink,AbstractSource:e.AbstractSource,Base:e.Base,BaseProvider:e.BaseProvider,BooleanStatus:e.BooleanStatus,ChannelData:e.ChannelData,CompoundTelemFactory:e.CompoundTelemFactory,FixedNumber:e.FixedNumber,FixedString:e.FixedString,IterativeSeries:e.IterativeSeries,Mean:e.Mean,MultiSourceTransformer:e.MultiSourceTransformer,NoopFactory:e.NoopFactory,PipelineFactory:e.PipelineFactory,REGISTRY:e.REGISTRY,RemoteFactory:e.RemoteFactory,Setpoint:e.Setpoint,SinkPipeline:e.SinkPipeline,SourcePipeline:e.SourcePipeline,StaticFactory:e.StaticFactory,StreamChannelData:e.StreamChannelData,StreamChannelValue:e.StreamChannelValue,StringifyNumber:e.StringifyNumber,TransformerFactory:e.TransformerFactory,UnarySinkTransformer:e.UnarySinkTransformer,UnarySourceTransformer:e.UnarySourceTransformer,WithinBounds:e.WithinBounds,booleanSinkSpecZ:e.booleanSinkSpecZ,booleanSinkTransformerSpecZ:e.booleanSinkTransformerSpecZ,booleanSourceSpecZ:e.booleanSourceSpecZ,booleanSourceTransformerSpecZ:e.booleanSourceTransformerSpecZ,booleanStatus:e.booleanStatus,booleanStatusProps:e.booleanStatusProps,channelData:e.channelData,colorSourceSpecZ:e.colorSourceSpecZ,factory:e.factory,fixedArray:e.fixedArray,fixedNumber:e.fixedNumber,fixedNumberPropsZ:e.fixedNumberPropsZ,fixedSeriesPropsZ:e.fixedSeriesPropsZ,fixedString:e.fixedString,fixedStringPropsZ:e.fixedStringPropsZ,iterativeArray:e.iterativeArray,iterativeSeriesPropsZ:e.iterativeSeriesPropsZ,mean:e.mean,noopBooleanSinkSpec:e.noopBooleanSinkSpec,noopBooleanSourceSpec:e.noopBooleanSourceSpec,noopColorSourceSpec:e.noopColorSourceSpec,noopNumericSinkSpec:e.noopNumericSinkSpec,noopNumericSourceSpec:e.noopNumericSourceSpec,noopStatusSourceSpec:e.noopStatusSourceSpec,noopStringSourceSpec:e.noopStringSourceSpec,numberSinkSpecZ:e.numberSinkSpecZ,numberSourceSpecZ:e.numberSourceSpecZ,providerStateZ:e.providerStateZ,registerFactory:e.registerFactory,seriesSourceSpecZ:e.seriesSourceSpecZ,setProvider:e.setProvider,setpoint:e.setpoint,shouldUpdate:e.shouldUpdate,sinkPipeline:e.sinkPipeline,sinkPipelinePropsZ:e.sinkPipelinePropsZ,sinkSpecZ:e.sinkSpecZ,sinkTransformerSpecZ:e.sinkTransformerSpecZ,sourcePipeline:e.sourcePipeline,sourcePipelinePropsZ:e.sourcePipelinePropsZ,sourceSpecZ:e.sourceSpecZ,sourceTransformerSpecZ:e.sourceTransformerSpecZ,specZ:e.specZ,statusSourceSpecZ:e.statusSourceSpecZ,streamChannelData:e.streamChannelData,streamChannelValue:e.streamChannelValue,streamChannelValuePropsZ:e.streamChannelValuePropsZ,stringSourceSpecZ:e.stringSourceSpecZ,stringifyNumber:e.stringifyNumber,stringifyNumberProps:e.stringifyNumberProps,useProvider:e.useProvider,useSink:e.useSink,useSource:e.useSource,withinBounds:e.withinBounds},Symbol.toStringTag,{value:"Module"}));exports.external=r;
|
|
2
|
+
//# sourceMappingURL=external-nTDD8IMd.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-nTDD8IMd.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { B as o, C as e, I as t, T as r, c as a } from "./Toggle-HVxv8bv2.js";
|
|
2
|
+
import { L as n } from "./Link-fRQvqiYx.js";
|
|
3
|
+
const c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
|
+
__proto__: null,
|
|
5
|
+
Button: o,
|
|
6
|
+
Core: e,
|
|
7
|
+
Icon: t,
|
|
8
|
+
Link: n,
|
|
9
|
+
Toggle: r,
|
|
10
|
+
ToggleIcon: a
|
|
11
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
12
|
+
export {
|
|
13
|
+
c as e
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=external-phknItOL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-phknItOL.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./Toggle-QnKinMl4.cjs"),t=require("./jsx-runtime-evvPGacs.cjs"),d=require("react");require("./component-dgLAEMbt.cjs");const c=require("./useDrag-l_moa7e3.cjs"),x=require("./Center-ER_owvfX.cjs");require("./css-s9KpanYu.cjs");const g=require("./Keyboard-bXNOi0bP.cjs"),a=s=>{const{listen:r}=e.useContext$1(),[n,o]=d.useState([]);return d.useEffect(()=>r(({next:[i]})=>o(i??[])),[r,o]),t.jsxRuntimeExports.jsx(e.Text$2,{hideIcon:!0,...s,children:n.join(" ")})},l=({className:s,style:r,trigger:n,...o})=>{const i={Control:t.jsxRuntimeExports.jsx(e.Symbols.Meta,{}),Alt:t.jsxRuntimeExports.jsx(e.Symbols.Alt,{}),Shift:t.jsxRuntimeExports.jsx(e.n0.Keyboard.Shift,{}),MouseLeft:"Left Click",MouseRight:"Right Click",MouseMiddle:"Middle Click"};return t.jsxRuntimeExports.jsx(x.Space,{className:s,style:r,direction:"x",children:n.map(u=>t.jsxRuntimeExports.jsx(g.Keyboard,{...o,children:i[u]??u},u))})},f=Object.freeze(Object.defineProperty({__proto__:null,ALPHANUMERIC_KEYS:e.ALPHANUMERIC_KEYS,ALPHANUMERIC_KEYS_SET:e.ALPHANUMERIC_KEYS_SET,KEYS:e.KEYS,MOUSE_KEYS:e.MOUSE_KEYS,Provider:e.Provider$1,Status:a,Text:l,compareModeConfigs:e.compareModeConfigs,determineMode:e.determineMode,diff:e.diff,eventKey:e.eventKey,filter:e.filter,flattenConfig:e.flattenConfig,keyZ:e.keyZ,keyboardKey:e.keyboardKey,match:e.match,mouseKey:e.mouseKey,mouseKeyZ:e.mouseKeyZ,purge:e.purge,purgeMouse:e.purgeMouse,triggerZ:e.triggerZ,use:e.use$1,useContext:e.useContext$1,useDrag:c.useDrag,useFlattenedMemoConfig:e.useFlattenedMemoConfig,useHeld:e.useHeld,useHeldRef:e.useHeldRef},Symbol.toStringTag,{value:"Module"}));exports.Text=l;exports.external=f;
|
|
2
|
+
//# sourceMappingURL=external-rGcWjp84.cjs.map
|