@graphysdk/react-renderer 1.9.0-beta.1788892166977 → 1.9.0-beta.1788895348418
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/editable.cjs +1 -1
- package/dist/editable.d.ts +0 -1
- package/dist/editable.mjs +315 -304
- package/dist/history-chords-Bnv8UZck.cjs +1 -0
- package/dist/{history-chords--ylRa7hp.js → history-chords-DhcO3NfJ.js} +2598 -2628
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.mjs +278 -275
- package/package.json +2 -2
- package/dist/history-chords-AXTcGXnl.cjs +0 -1
package/dist/editable.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as oo, A as io, At as lo, B as qn, C as Zn, D as x, Dt as so, E as co, Et as Xn, F as X,
|
|
1
|
+
import { $ as oo, A as io, At as lo, B as qn, C as Zn, D as x, Dt as so, E as co, Et as Xn, F as X, G as uo, H as et, I as U, It as G, J as ho, K as jn, L as V, N as po, Nt as mo, Ot as go, P as vo, Pt as _, Q as Qt, R as Et, S as fo, T as bo, U as Co, V as Mt, W as Yn, X as yo, Z as So, _ as Jn, at as xo, b as Nt, c as wo, d as To, dt as Ao, et as ee, f as Qn, ft as le, g as ko, gt as J, h as Lo, ht as Ot, i as Po, kt as Io, l as Eo, lt as Mo, m as tt, n as se, nt, o as No, ot as k, p as er, q as Oo, r as $, st as Ro, t as Do, u as zo, ut as _o, v as tr, w as Fo, x as Ho, y as be, z as Rt } from "./history-chords-DhcO3NfJ.js";
|
|
2
2
|
import { d as ce, n as nr, u as rr } from "./dev.utils-DT-z_GBs.js";
|
|
3
|
-
import { ARROW_DEFAULTS as
|
|
4
|
-
import { createContext as Oe, useCallback as ie, useContext as
|
|
3
|
+
import { ARROW_DEFAULTS as Bo, ARROW_STICKER_DECLARATIONS as Vo, ARROW_STROKE_WIDTHS as pt, AddAnnotationCommand as pe, AddHighlightCommand as Go, BORDER_RADIUS_TOKENS as en, COMBO_TYPES as tn, CONSTANT_VARIABLES as $o, DEFAULT_BAR_BORDER_RADIUS as Uo, DEFAULT_POINT_SIZE as Wo, DEFAULT_STROKE_WIDTH as Ko, DIFFERENCE_ARROW_DEFAULTS as ar, DIFFERENCE_ARROW_SIZE_DECLARATIONS as nn, MAX_BAR_WIDTH as qo, MIN_BAR_WIDTH as Zo, MoveAnnotationCommand as Xo, RESTING_HOVER_STATE as or, RemoveAnnotationCommand as ke, RemoveHighlightCommand as jo, SHAPE_DEFAULTS as Yo, SetAxisLabelCommand as Jo, SetAxisPositionCommand as Qo, SetAxisTickModeCommand as ei, SetAxisTicksVisibilityCommand as ti, SetAxisVisibilityCommand as ni, SetBarBorderRadiusCommand as ri, SetBarWidthCommand as ai, SetChartTypeCommand as ir, SetContentCaptionCommand as lr, SetContentSourceCommand as oi, SetContentSubtitleCommand as sr, SetContentTitleCommand as cr, SetDataLabelsFormatCommand as ii, SetDifferenceArrowStyleCommand as li, SetGridLineStyleCommand as si, SetGridLineWidthCommand as ci, SetGridVisibilityCommand as di, SetHeadlineCompareWithCommand as ui, SetHeadlinePositionCommand as hi, SetHeadlineShowCommand as rn, SetHeadlineSizeCommand as pi, SetHighlightDimStyleCommand as mi, SetLayerYScaleTypeCommand as gi, SetLegendAlignCommand as vi, SetLegendDisplayCommand as fi, SetLegendPositionCommand as bi, SetLineInterpolationCommand as Ci, SetLineMissingValuesCommand as yi, SetLineWidthCommand as an, SetMappingCommand as Si, SetNumberFormatAbbreviationCommand as xi, SetNumberFormatDecimalsCommand as on, SetPointSizeCommand as wi, SetPolarInnerRadiusCommand as Ti, SetPolarStartAngleCommand as Ai, SetRuleLabelCommand as ki, SetRuleValueCommand as Li, SetScaleDomainCommand as He, SetScaleReverseCommand as Pi, SetScaleTransformCommand as Ii, SetScaleZeroCommand as ln, SetStatLineCommand as Ei, SetStyleRuleCommand as Le, TEXT_ANNOTATION_DEFAULTS as Mi, TEXT_ANNOTATION_FADE_ALPHA as Ni, ToggleCategoryLabelsCommand as Oi, ToggleContentVisibilityCommand as rt, ToggleDataLabelsCommand as Ri, ToggleGoalLineCommand as Di, ToggleLineFillCommand as zi, ToggleLinePointsVisibilityCommand as _i, ToggleStackTotalsCommand as Fi, UpdateAnnotationCommand as re, alignUnitFractions as Hi, areAnchorsEqual as dr, areEndpointsComparable as Bi, buildEditMenuTriggerRegion as Vi, buildLayerStyleAddress as Gi, buildObservationPredicate as $i, canAnchorDirectLabels as Ui, canBecomeCombo as Wi, canBecomeHeatmap as Ki, canPlaceDataLabels as qi, clampAnnotationTranslation as Zi, computeArrow as ur, createObservationAnchorBuilder as Xi, createObservationAnchorParser as ji, createStyleResolver as at, createValueFormatter as Yi, extractConstantValue as Ji, extractVariableName as Qi, filterLayersByGeoms as bt, findAnnotation as el, findAverageLineLayer as tl, findGoalLineLayer as nl, findHighlightsAtObservation as rl, findKindStyleDeclarations as al, findLayerByGeom as hr, findObservationAttachment as ol, findStyleRule as fe, findTrendLineLayer as il, formatDifferenceLabel as ll, hasMultipleGroups as sl, inferDefaultDifferenceArrowEndpoints as cl, inferDifferenceArrowEndpoints as dl, isComboChartType as ve, isCompanionLayer as pr, isObservationAttachmentKind as ul, isPointWithinEditMenuTrigger as mr, isSafeUrl as hl, projectAnchorToPanel as Ue, readChartType as gr, readComboLineLayerId as pl, readHighlightDimStyle as ml, readMappableAesthetics as gl, readMappedVariable as vl, readObservationIndex as fl, resolveBarBandFraction as bl, resolveComparisonBasis as Cl, resolveGridLineStyle as yl, resolveObservationPoint as vr, resolveShapeAnnotationStyle as Sl, stepDifferenceArrowEndpoint as xl, toPanelCursor as Dt } from "@graphysdk/viz-engine";
|
|
4
|
+
import { createContext as Oe, useCallback as ie, useContext as Pe, useEffect as O, useId as Ae, useMemo as M, useRef as te, useState as Q } from "react";
|
|
5
5
|
import { Fragment as j, jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
6
|
-
import { useShallow as
|
|
6
|
+
import { useShallow as Ie } from "zustand/react/shallow";
|
|
7
7
|
import { createPortal as fr } from "react-dom";
|
|
8
8
|
import de from "clsx";
|
|
9
9
|
import { autoUpdate as wl, flip as Tl, offset as Al, shift as kl, useFloating as Ll } from "@floating-ui/react-dom";
|
|
@@ -23,7 +23,7 @@ import { Placeholder as zt, UndoRedo as Fl } from "@tiptap/extensions";
|
|
|
23
23
|
import { Paragraph as Sr } from "@tiptap/extension-paragraph";
|
|
24
24
|
import { EditorContent as xr, useEditor as Hl, useEditorState as Bl } from "@tiptap/react";
|
|
25
25
|
import { Toolbar as ue } from "@base-ui/react/toolbar";
|
|
26
|
-
import { Tooltip as
|
|
26
|
+
import { Tooltip as we } from "@base-ui/react/tooltip";
|
|
27
27
|
import { Popover as Y } from "@base-ui/react/popover";
|
|
28
28
|
import { HexColorInput as Vl, HexColorPicker as Gl } from "react-colorful";
|
|
29
29
|
import { Slider as oe } from "@base-ui/react/slider";
|
|
@@ -31,7 +31,7 @@ import { Menu as z } from "@base-ui/react/menu";
|
|
|
31
31
|
import { Toggle as $l } from "@base-ui/react/toggle";
|
|
32
32
|
import { Menu as me } from "@base-ui/react";
|
|
33
33
|
import Ke from "lodash-es/clamp";
|
|
34
|
-
import { Accordion as
|
|
34
|
+
import { Accordion as Me } from "@base-ui/react/accordion";
|
|
35
35
|
import { NumberField as sn } from "@base-ui/react/number-field";
|
|
36
36
|
import { Radio as wr } from "@base-ui/react/radio";
|
|
37
37
|
import { RadioGroup as Tr } from "@base-ui/react/radio-group";
|
|
@@ -2359,7 +2359,7 @@ import './editable.css';var Wl = {
|
|
|
2359
2359
|
"en-US": es,
|
|
2360
2360
|
ar: Zl,
|
|
2361
2361
|
"pt-PT": as
|
|
2362
|
-
}, is = [os,
|
|
2362
|
+
}, is = [os, Ro], ls = ({ children: e, ...t }) => /* @__PURE__ */ n(xo, {
|
|
2363
2363
|
dictionaries: is,
|
|
2364
2364
|
...t,
|
|
2365
2365
|
children: e
|
|
@@ -2600,10 +2600,10 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
2600
2600
|
border: `1px solid ${ce.border100}`
|
|
2601
2601
|
} : {
|
|
2602
2602
|
background: e,
|
|
2603
|
-
border: `1px solid ${
|
|
2603
|
+
border: `1px solid ${go(e, 0.1)}`
|
|
2604
2604
|
}, Rs = (e) => {
|
|
2605
2605
|
const { themeValues: t } = nt();
|
|
2606
|
-
if (
|
|
2606
|
+
if (Io(e)) return e.toUpperCase();
|
|
2607
2607
|
const r = Is[e];
|
|
2608
2608
|
return r ? t[r].toUpperCase() : "#000000";
|
|
2609
2609
|
}, Nr = (e, t) => t === null ? !1 : e.toLowerCase() === t.toLowerCase(), Ds = "l9kff0", zs = "l9kff1", _s = "l9kff2", Fs = "xn24px0", Hs = "xn24px1", Bs = "xn24px2", Vs = ({ children: e, popupAttributes: t }) => /* @__PURE__ */ n(z.Portal, {
|
|
@@ -2626,7 +2626,7 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
2626
2626
|
disabled: r,
|
|
2627
2627
|
onClick: a,
|
|
2628
2628
|
children: e
|
|
2629
|
-
}), $s = ({ className: e, ...t }) => /* @__PURE__ */ n(
|
|
2629
|
+
}), $s = ({ className: e, ...t }) => /* @__PURE__ */ n(we.Provider, { children: /* @__PURE__ */ n(ue.Root, {
|
|
2630
2630
|
...t,
|
|
2631
2631
|
className: de(Ds, e)
|
|
2632
2632
|
}) }), Us = ({ className: e, ...t }) => /* @__PURE__ */ n(ue.Group, {
|
|
@@ -2970,9 +2970,9 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
2970
2970
|
/* @__PURE__ */ n("path", { d: "M17 19H3" })
|
|
2971
2971
|
]
|
|
2972
2972
|
})
|
|
2973
|
-
}), hc = "_1d66w570", pc = "_1d66w571", mc = 6,
|
|
2973
|
+
}), hc = "_1d66w570", pc = "_1d66w571", mc = 6, Te = ({ label: e, isActive: t, onToggle: r, children: a }) => {
|
|
2974
2974
|
const o = (i) => i.preventDefault();
|
|
2975
|
-
return /* @__PURE__ */ m(
|
|
2975
|
+
return /* @__PURE__ */ m(we.Root, { children: [/* @__PURE__ */ n(we.Trigger, {
|
|
2976
2976
|
render: /* @__PURE__ */ n($l, {
|
|
2977
2977
|
render: /* @__PURE__ */ n(ue.Button, {}),
|
|
2978
2978
|
pressed: t,
|
|
@@ -2982,11 +2982,11 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
2982
2982
|
className: hc,
|
|
2983
2983
|
onMouseDown: o,
|
|
2984
2984
|
children: a
|
|
2985
|
-
}), /* @__PURE__ */ n(
|
|
2985
|
+
}), /* @__PURE__ */ n(we.Portal, {
|
|
2986
2986
|
container: le(),
|
|
2987
|
-
children: /* @__PURE__ */ n(ee, { children: /* @__PURE__ */ n(
|
|
2987
|
+
children: /* @__PURE__ */ n(ee, { children: /* @__PURE__ */ n(we.Positioner, {
|
|
2988
2988
|
sideOffset: mc,
|
|
2989
|
-
children: /* @__PURE__ */ n(
|
|
2989
|
+
children: /* @__PURE__ */ n(we.Popup, {
|
|
2990
2990
|
className: pc,
|
|
2991
2991
|
children: e
|
|
2992
2992
|
})
|
|
@@ -2995,19 +2995,19 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
2995
2995
|
}, gc = ({ editor: e, activeAlignment: t = "left" }) => {
|
|
2996
2996
|
const r = k();
|
|
2997
2997
|
return /* @__PURE__ */ m(j, { children: [
|
|
2998
|
-
/* @__PURE__ */ n(
|
|
2998
|
+
/* @__PURE__ */ n(Te, {
|
|
2999
2999
|
label: r("graph.toolbar.textAlign.left"),
|
|
3000
3000
|
isActive: t === "left",
|
|
3001
3001
|
onToggle: () => e.chain().focus().setTextAlign("left").run(),
|
|
3002
3002
|
children: /* @__PURE__ */ n(Gr, {})
|
|
3003
3003
|
}),
|
|
3004
|
-
/* @__PURE__ */ n(
|
|
3004
|
+
/* @__PURE__ */ n(Te, {
|
|
3005
3005
|
label: r("graph.toolbar.textAlign.center"),
|
|
3006
3006
|
isActive: t === "center",
|
|
3007
3007
|
onToggle: () => e.chain().focus().setTextAlign("center").run(),
|
|
3008
3008
|
children: /* @__PURE__ */ n(Br, {})
|
|
3009
3009
|
}),
|
|
3010
|
-
/* @__PURE__ */ n(
|
|
3010
|
+
/* @__PURE__ */ n(Te, {
|
|
3011
3011
|
label: r("graph.toolbar.textAlign.right"),
|
|
3012
3012
|
isActive: t === "right",
|
|
3013
3013
|
onToggle: () => e.chain().focus().setTextAlign("right").run(),
|
|
@@ -3078,19 +3078,19 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
3078
3078
|
}) }),
|
|
3079
3079
|
/* @__PURE__ */ n(K.Separator, {}),
|
|
3080
3080
|
/* @__PURE__ */ m(K.Group, { children: [
|
|
3081
|
-
/* @__PURE__ */ n(
|
|
3081
|
+
/* @__PURE__ */ n(Te, {
|
|
3082
3082
|
label: t("graph.toolbar.formatting.bold"),
|
|
3083
3083
|
isActive: h?.isBold ?? !1,
|
|
3084
3084
|
onToggle: () => e.chain().focus().toggleBold().run(),
|
|
3085
3085
|
children: /* @__PURE__ */ n("strong", { children: "B" })
|
|
3086
3086
|
}),
|
|
3087
|
-
/* @__PURE__ */ n(
|
|
3087
|
+
/* @__PURE__ */ n(Te, {
|
|
3088
3088
|
label: t("graph.toolbar.formatting.italic"),
|
|
3089
3089
|
isActive: h?.isItalic ?? !1,
|
|
3090
3090
|
onToggle: () => e.chain().focus().toggleItalic().run(),
|
|
3091
3091
|
children: /* @__PURE__ */ n("em", { children: "I" })
|
|
3092
3092
|
}),
|
|
3093
|
-
/* @__PURE__ */ n(
|
|
3093
|
+
/* @__PURE__ */ n(Te, {
|
|
3094
3094
|
label: t("graph.toolbar.formatting.underline"),
|
|
3095
3095
|
isActive: h?.isUnderline ?? !1,
|
|
3096
3096
|
onToggle: () => e.chain().focus().toggleUnderline().run(),
|
|
@@ -3119,7 +3119,7 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
3119
3119
|
"aria-label": t
|
|
3120
3120
|
})]
|
|
3121
3121
|
}), Tc = 200, Ft = ({ content: e, extensions: t, isEditable: r, onUpdate: a, updateDebounceMs: o = Tc }) => {
|
|
3122
|
-
const i = te(mn(e)), l = te(i.current), s =
|
|
3122
|
+
const i = te(mn(e)), l = te(i.current), s = _o((u) => {
|
|
3123
3123
|
l.current = u, a?.(u);
|
|
3124
3124
|
}, o), c = Hl({
|
|
3125
3125
|
extensions: t,
|
|
@@ -3206,7 +3206,7 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
3206
3206
|
i?.commands.focus("end", { scrollIntoView: !1 });
|
|
3207
3207
|
}, [i]), /* @__PURE__ */ n(xr, {
|
|
3208
3208
|
"aria-label": t("graph.annotations.text.editLabel"),
|
|
3209
|
-
className:
|
|
3209
|
+
className: To,
|
|
3210
3210
|
editor: i,
|
|
3211
3211
|
"data-testid": "text-annotation-editor"
|
|
3212
3212
|
});
|
|
@@ -3323,7 +3323,7 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
3323
3323
|
}, Bc = "data-graphy-chart-chrome", Vc = "data-graphy-chart-menu", Ur = { [Vc]: "" }, ot = (e) => ({ [Bc]: e }), $e = (e, t) => e instanceof Element && e.closest(`[data-graphy-chart-chrome="${CSS.escape(t)}"]`) !== null, Gc = (e) => e instanceof Element && e.closest("[data-graphy-chart-menu]") !== null, xt = (e) => e instanceof Element && e.closest("[data-graphy-chart-chrome]") !== null, Wr = (e, t, r) => r !== null && mr({
|
|
3324
3324
|
x: e.clientX - t.x,
|
|
3325
3325
|
y: e.clientY - t.y
|
|
3326
|
-
}, r),
|
|
3326
|
+
}, r), Ne = (e, t, r) => e instanceof Node && (t.contains(e) || $e(e, r)), $c = "cml7ha0", Kr = Oe(null), Uc = ({ children: e }) => {
|
|
3327
3327
|
const { chartId: t } = G(), [r] = Q(le), [a, o] = Q(null);
|
|
3328
3328
|
return r === null ? null : /* @__PURE__ */ m(j, { children: [fr(/* @__PURE__ */ n("div", {
|
|
3329
3329
|
ref: o,
|
|
@@ -3333,7 +3333,7 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
3333
3333
|
value: a,
|
|
3334
3334
|
children: e
|
|
3335
3335
|
})] });
|
|
3336
|
-
}, Bt = () =>
|
|
3336
|
+
}, Bt = () => Pe(Kr), qr = (e) => /* @__PURE__ */ m(x, {
|
|
3337
3337
|
viewBox: "0 0 16 16",
|
|
3338
3338
|
...e,
|
|
3339
3339
|
children: [
|
|
@@ -3359,7 +3359,7 @@ var Lr = "d0bl03", ms = "d0bl04", Pr = "d0bl05", Ct = "d0bl06", gs = "d0bl07", v
|
|
|
3359
3359
|
})
|
|
3360
3360
|
]
|
|
3361
3361
|
});
|
|
3362
|
-
var Zr = "efjmb40", Xr = "efjmb41",
|
|
3362
|
+
var Zr = "efjmb40", Xr = "efjmb41", Ce = "efjmb42", ye = "efjmb43", Wc = "efjmb44", Kc = "efjmb45", qc = /* @__PURE__ */ new Set([
|
|
3363
3363
|
"item-press",
|
|
3364
3364
|
"escape-key",
|
|
3365
3365
|
"outside-press",
|
|
@@ -3392,12 +3392,12 @@ var Zr = "efjmb40", Xr = "efjmb41", be = "efjmb42", Ce = "efjmb43", Wc = "efjmb4
|
|
|
3392
3392
|
})]
|
|
3393
3393
|
});
|
|
3394
3394
|
}, Zc = ({ label: e, icon: t }) => /* @__PURE__ */ m(me.SubmenuTrigger, {
|
|
3395
|
-
className:
|
|
3395
|
+
className: Ce,
|
|
3396
3396
|
openOnHover: !1,
|
|
3397
3397
|
children: [
|
|
3398
3398
|
t,
|
|
3399
3399
|
/* @__PURE__ */ n("span", {
|
|
3400
|
-
className:
|
|
3400
|
+
className: ye,
|
|
3401
3401
|
children: e
|
|
3402
3402
|
}),
|
|
3403
3403
|
/* @__PURE__ */ n("span", {
|
|
@@ -3482,10 +3482,10 @@ var Zr = "efjmb40", Xr = "efjmb41", be = "efjmb42", Ce = "efjmb43", Wc = "efjmb4
|
|
|
3482
3482
|
})), a();
|
|
3483
3483
|
};
|
|
3484
3484
|
return /* @__PURE__ */ m(z.Item, {
|
|
3485
|
-
className:
|
|
3485
|
+
className: Ce,
|
|
3486
3486
|
onClick: s,
|
|
3487
3487
|
children: [/* @__PURE__ */ n(ed, {}), /* @__PURE__ */ n("span", {
|
|
3488
|
-
className:
|
|
3488
|
+
className: ye,
|
|
3489
3489
|
children: e
|
|
3490
3490
|
})]
|
|
3491
3491
|
});
|
|
@@ -3541,7 +3541,7 @@ function rd(e, t) {
|
|
|
3541
3541
|
}
|
|
3542
3542
|
var ad = (e) => {
|
|
3543
3543
|
const t = Qi(e.mapping.x);
|
|
3544
|
-
return t !== null && t !==
|
|
3544
|
+
return t !== null && t !== $o.x;
|
|
3545
3545
|
}, od = (e) => /* @__PURE__ */ m(x, {
|
|
3546
3546
|
viewBox: "0 0 16 16",
|
|
3547
3547
|
...e,
|
|
@@ -3930,10 +3930,10 @@ var ad = (e) => {
|
|
|
3930
3930
|
label: e,
|
|
3931
3931
|
icon: /* @__PURE__ */ n(Yr, {}),
|
|
3932
3932
|
children: t.map((o) => /* @__PURE__ */ m(me.Item, {
|
|
3933
|
-
className:
|
|
3933
|
+
className: Ce,
|
|
3934
3934
|
onClick: () => r(o.scope),
|
|
3935
3935
|
children: [/* @__PURE__ */ n(jr, { labelKey: o.labelKey }), /* @__PURE__ */ n("span", {
|
|
3936
|
-
className:
|
|
3936
|
+
className: ye,
|
|
3937
3937
|
children: a(`graph.annotations.highlights.labels.${o.labelKey}`)
|
|
3938
3938
|
})]
|
|
3939
3939
|
}, o.scope))
|
|
@@ -3945,7 +3945,7 @@ var ad = (e) => {
|
|
|
3945
3945
|
}, [u, a]), [h] = d;
|
|
3946
3946
|
if (c === null || h === void 0) return null;
|
|
3947
3947
|
const v = (p) => {
|
|
3948
|
-
l(new
|
|
3948
|
+
l(new Go({
|
|
3949
3949
|
predicate: c,
|
|
3950
3950
|
scope: p,
|
|
3951
3951
|
layerId: t.id
|
|
@@ -3954,10 +3954,10 @@ var ad = (e) => {
|
|
|
3954
3954
|
if (d.length === 1) {
|
|
3955
3955
|
const p = u.length === 1 ? e : i("graph.annotations.baseMenu.highlightWithLabel", { label: i(`graph.annotations.highlights.labels.${h.labelKey}`) });
|
|
3956
3956
|
return /* @__PURE__ */ m(me.Item, {
|
|
3957
|
-
className:
|
|
3957
|
+
className: Ce,
|
|
3958
3958
|
onClick: () => v(h.scope),
|
|
3959
3959
|
children: [/* @__PURE__ */ n(jr, { labelKey: h.labelKey }), /* @__PURE__ */ n("span", {
|
|
3960
|
-
className:
|
|
3960
|
+
className: ye,
|
|
3961
3961
|
children: p
|
|
3962
3962
|
})]
|
|
3963
3963
|
});
|
|
@@ -3975,13 +3975,13 @@ var ad = (e) => {
|
|
|
3975
3975
|
const { dispatch: a } = se(), o = t.at(-1);
|
|
3976
3976
|
if (o === void 0) return null;
|
|
3977
3977
|
const i = () => {
|
|
3978
|
-
a(new
|
|
3978
|
+
a(new jo({ id: o.id })), r();
|
|
3979
3979
|
};
|
|
3980
3980
|
return /* @__PURE__ */ m(z.Item, {
|
|
3981
|
-
className:
|
|
3981
|
+
className: Ce,
|
|
3982
3982
|
onClick: i,
|
|
3983
3983
|
children: [/* @__PURE__ */ n(Jr, { children: /* @__PURE__ */ n(Yr, {}) }), /* @__PURE__ */ n("span", {
|
|
3984
|
-
className:
|
|
3984
|
+
className: ye,
|
|
3985
3985
|
children: e
|
|
3986
3986
|
})]
|
|
3987
3987
|
});
|
|
@@ -4029,10 +4029,10 @@ var ad = (e) => {
|
|
|
4029
4029
|
})), r();
|
|
4030
4030
|
};
|
|
4031
4031
|
return /* @__PURE__ */ m(z.Item, {
|
|
4032
|
-
className:
|
|
4032
|
+
className: Ce,
|
|
4033
4033
|
onClick: o,
|
|
4034
4034
|
children: [/* @__PURE__ */ n(Qr, {}), /* @__PURE__ */ n("span", {
|
|
4035
|
-
className:
|
|
4035
|
+
className: ye,
|
|
4036
4036
|
children: e
|
|
4037
4037
|
})]
|
|
4038
4038
|
});
|
|
@@ -4088,10 +4088,10 @@ var ad = (e) => {
|
|
|
4088
4088
|
a(new ke({ id: e.annotation.id })), t();
|
|
4089
4089
|
};
|
|
4090
4090
|
return /* @__PURE__ */ m(z.Item, {
|
|
4091
|
-
className:
|
|
4091
|
+
className: Ce,
|
|
4092
4092
|
onClick: l,
|
|
4093
4093
|
children: [/* @__PURE__ */ n(Jr, { children: /* @__PURE__ */ n(o, {}) }), /* @__PURE__ */ n("span", {
|
|
4094
|
-
className:
|
|
4094
|
+
className: ye,
|
|
4095
4095
|
children: r(i)
|
|
4096
4096
|
})]
|
|
4097
4097
|
});
|
|
@@ -4113,7 +4113,7 @@ var ad = (e) => {
|
|
|
4113
4113
|
icon: /* @__PURE__ */ n(ea, {}),
|
|
4114
4114
|
children: /* @__PURE__ */ n("div", {
|
|
4115
4115
|
className: Td,
|
|
4116
|
-
children: Object.entries(
|
|
4116
|
+
children: Object.entries(wo).map(([i, l]) => /* @__PURE__ */ n(me.Item, {
|
|
4117
4117
|
className: Ad,
|
|
4118
4118
|
"aria-label": i,
|
|
4119
4119
|
onClick: () => o(i),
|
|
@@ -4256,7 +4256,7 @@ var ad = (e) => {
|
|
|
4256
4256
|
height: Math.abs(o.y - a.y)
|
|
4257
4257
|
};
|
|
4258
4258
|
}, fn = (e, t) => !Number.isFinite(t) || !Number.isFinite(e) ? 0 : Ke(t, Math.min(-e, 0), Math.max(1 - e, 0)), Dd = ({ panelRect: e }) => {
|
|
4259
|
-
const t = X((s) => V(s, "arrow-endpoint-drag")), r =
|
|
4259
|
+
const t = X((s) => V(s, "arrow-endpoint-drag")), r = be(e).arrows, a = Nt();
|
|
4260
4260
|
if (t === null) return null;
|
|
4261
4261
|
const o = r.find((s) => s.id === t.annotationId);
|
|
4262
4262
|
if (o === void 0) return null;
|
|
@@ -4359,12 +4359,12 @@ var ad = (e) => {
|
|
|
4359
4359
|
/* @__PURE__ */ n("path", { d: "M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2" })
|
|
4360
4360
|
]
|
|
4361
4361
|
})
|
|
4362
|
-
}), Fd = "var(--pvjfpx0)", Hd = "var(--pvjfpx1)", Bd = "pvjfpx2", Vd = "pvjfpx3", Gd = "pvjfpx4", $d = "pvjfpx6 pvjfpx5", Ud = "pvjfpx7 pvjfpx6 pvjfpx5", Wd = "pvjfpx8 pvjfpx5",
|
|
4363
|
-
const o = t.y + e.y, i = o + e.height, l = o - 8 - 36, s = i + 8, c = Ke(l >=
|
|
4362
|
+
}), Fd = "var(--pvjfpx0)", Hd = "var(--pvjfpx1)", Bd = "pvjfpx2", Vd = "pvjfpx3", Gd = "pvjfpx4", $d = "pvjfpx6 pvjfpx5", Ud = "pvjfpx7 pvjfpx6 pvjfpx5", Wd = "pvjfpx8 pvjfpx5", Ee = 8, Kd = ({ anchorBox: e, panelRect: t, frameWidth: r, frameHeight: a }) => {
|
|
4363
|
+
const o = t.y + e.y, i = o + e.height, l = o - 8 - 36, s = i + 8, c = Ke(l >= Ee ? l : s, Ee, a - Ee - 36), u = Ee;
|
|
4364
4364
|
return {
|
|
4365
4365
|
top: c,
|
|
4366
4366
|
left: u,
|
|
4367
|
-
available: Math.max(0, r -
|
|
4367
|
+
available: Math.max(0, r - Ee * 2),
|
|
4368
4368
|
centre: t.x + e.x + e.width / 2 - u
|
|
4369
4369
|
};
|
|
4370
4370
|
}, qd = ({ anchorBox: e, panelRect: t, frameWidth: r, frameHeight: a, label: o, testId: i, children: l }) => {
|
|
@@ -4538,8 +4538,8 @@ var ou = ({ arrow: e, arrowBox: t, panelRect: r, frameWidth: a, frameHeight: o,
|
|
|
4538
4538
|
kind: "arrow",
|
|
4539
4539
|
annotation: e.id
|
|
4540
4540
|
}), [e.id]), g = (E, N) => {
|
|
4541
|
-
const T =
|
|
4542
|
-
s.dispatch(new
|
|
4541
|
+
const T = fe(c, { select: p })?.declarations ?? {};
|
|
4542
|
+
s.dispatch(new Le({
|
|
4543
4543
|
list: "overrides",
|
|
4544
4544
|
rule: {
|
|
4545
4545
|
select: p,
|
|
@@ -4562,7 +4562,7 @@ var ou = ({ arrow: e, arrowBox: t, panelRect: r, frameWidth: a, frameHeight: o,
|
|
|
4562
4562
|
}, C = (E) => g({ color: E }, { transient: !0 }), A = (E) => f({ strokeWidth: E }), L = (E) => y({ startArrowheadStyle: E }), R = (E) => f({ lineType: E }), F = (E) => y({ endArrowheadStyle: E }), D = () => g(v ? {
|
|
4563
4563
|
borderWidth: 0,
|
|
4564
4564
|
shadow: "none"
|
|
4565
|
-
} :
|
|
4565
|
+
} : Vo);
|
|
4566
4566
|
return /* @__PURE__ */ m(I.Root, {
|
|
4567
4567
|
anchorBox: t,
|
|
4568
4568
|
panelRect: r,
|
|
@@ -4940,9 +4940,9 @@ var su = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) >= 3, ze = class {
|
|
|
4940
4940
|
const t = _((r) => r.spec.annotations.arrows);
|
|
4941
4941
|
return e === null ? null : t.find((r) => r.id === e) ?? null;
|
|
4942
4942
|
}, bu = (e, t) => {
|
|
4943
|
-
const r =
|
|
4943
|
+
const r = be(e).arrows;
|
|
4944
4944
|
return t === null ? null : r.find((a) => a.id === t) ?? null;
|
|
4945
|
-
}, Cu = (e) => X(
|
|
4945
|
+
}, Cu = (e) => X(Ie((t) => {
|
|
4946
4946
|
if (e === null) return {
|
|
4947
4947
|
dragged: null,
|
|
4948
4948
|
isMoved: !1
|
|
@@ -5016,16 +5016,16 @@ var Tu = [
|
|
|
5016
5016
|
patch: b
|
|
5017
5017
|
}), Z);
|
|
5018
5018
|
}, A = (b) => ({
|
|
5019
|
-
...
|
|
5019
|
+
...fe(u, { select: p })?.declarations,
|
|
5020
5020
|
...b
|
|
5021
5021
|
}), L = (b) => ({
|
|
5022
|
-
...
|
|
5022
|
+
...fe(u, { select: g })?.declarations,
|
|
5023
5023
|
...b
|
|
5024
5024
|
}), R = (b) => {
|
|
5025
5025
|
C(b), d.close();
|
|
5026
5026
|
}, F = () => {
|
|
5027
5027
|
c.dispatch(new ke({ id: e.id })), l.focus({ preventScroll: !0 });
|
|
5028
|
-
}, D = (b) => c.dispatch(new
|
|
5028
|
+
}, D = (b) => c.dispatch(new Le({
|
|
5029
5029
|
list: "overrides",
|
|
5030
5030
|
rule: {
|
|
5031
5031
|
select: p,
|
|
@@ -5195,7 +5195,7 @@ var Eu = "ydgo3h0", Mu = "ydgo3h1", Nu = "ydgo3h2", Ou = ({ clientPoint: e, pane
|
|
|
5195
5195
|
arrow: e,
|
|
5196
5196
|
panelOrigin: t,
|
|
5197
5197
|
panelRect: r,
|
|
5198
|
-
..._(
|
|
5198
|
+
..._(Ie((u) => ({
|
|
5199
5199
|
layers: u.layers,
|
|
5200
5200
|
coordSystem: u.coordSystem
|
|
5201
5201
|
})))
|
|
@@ -5233,7 +5233,7 @@ var Eu = "ydgo3h0", Mu = "ydgo3h1", Nu = "ydgo3h2", Ou = ({ clientPoint: e, pane
|
|
|
5233
5233
|
a
|
|
5234
5234
|
]);
|
|
5235
5235
|
}, _u = [" ", "Enter"], Fu = ({ arrow: e }) => {
|
|
5236
|
-
const { commands: t, anchorResolver: r } = G(), a = U(), { layers: o, coordSystem: i, mainAxis: l } = _(
|
|
5236
|
+
const { commands: t, anchorResolver: r } = G(), a = U(), { layers: o, coordSystem: i, mainAxis: l } = _(Ie((c) => ({
|
|
5237
5237
|
layers: c.layers,
|
|
5238
5238
|
coordSystem: c.coordSystem,
|
|
5239
5239
|
mainAxis: c.coordSystem.type === "cartesian" ? c.coordSystem.mainAxis : "x"
|
|
@@ -5455,7 +5455,7 @@ var ua = ({ width: e, height: t }) => ({
|
|
|
5455
5455
|
};
|
|
5456
5456
|
}, pa = (e, t) => e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height, ma = (e) => e === "top-left" || e === "bottom-left", ga = (e) => e === "top-left" || e === "top-right", va = (e, t, r, a) => {
|
|
5457
5457
|
const o = e.textAnnotations.find((i) => i.id === t);
|
|
5458
|
-
return o === void 0 ? null :
|
|
5458
|
+
return o === void 0 ? null : Fo(Eo(o, r), a);
|
|
5459
5459
|
};
|
|
5460
5460
|
var Ku = {
|
|
5461
5461
|
hovered: "_1ee8fau1 _1ee8fau0",
|
|
@@ -5464,7 +5464,7 @@ var Ku = {
|
|
|
5464
5464
|
hovered: "_1ee8fau4 _1ee8fau3",
|
|
5465
5465
|
selected: "_1ee8fau5 _1ee8fau3"
|
|
5466
5466
|
}, Zu = ({ panelRect: e }) => {
|
|
5467
|
-
const t =
|
|
5467
|
+
const t = be(e), r = jn(), a = Xn(), o = De(), i = X((f) => V(f, "move-drag")), l = X((f) => V(f, "shape-resize-drag")), s = X((f) => V(f, "arrow-endpoint-drag")), c = X((f) => V(f, "text-resize-drag")), u = X((f) => {
|
|
5468
5468
|
const y = f.editTargetUnderPointer;
|
|
5469
5469
|
return y?.kind === "annotation" ? y.id : null;
|
|
5470
5470
|
}), d = M(() => ({
|
|
@@ -5486,7 +5486,7 @@ var Ku = {
|
|
|
5486
5486
|
}
|
|
5487
5487
|
if (s?.annotationId === f.id) {
|
|
5488
5488
|
const y = t.arrows.find((P) => P.id === f.id);
|
|
5489
|
-
return y === void 0 ? f.geometry :
|
|
5489
|
+
return y === void 0 ? f.geometry : fo($t(y, s), d.panel) ?? f.geometry;
|
|
5490
5490
|
}
|
|
5491
5491
|
return c?.annotationId === f.id ? va(t, f.id, c, d) ?? f.geometry : f.geometry;
|
|
5492
5492
|
}, g = (f) => {
|
|
@@ -5510,7 +5510,7 @@ var Ku = {
|
|
|
5510
5510
|
})] });
|
|
5511
5511
|
}, An = (e, t, r) => {
|
|
5512
5512
|
if (t === null) return null;
|
|
5513
|
-
const a =
|
|
5513
|
+
const a = bo(e, t, r);
|
|
5514
5514
|
return a === null ? null : {
|
|
5515
5515
|
id: t,
|
|
5516
5516
|
geometry: a
|
|
@@ -5548,7 +5548,7 @@ var Ku = {
|
|
|
5548
5548
|
top: r.y + e.y
|
|
5549
5549
|
}
|
|
5550
5550
|
}), Xu = ({ panelRect: e }) => {
|
|
5551
|
-
const t = X((o) => V(o, "move-drag")), r =
|
|
5551
|
+
const t = X((o) => V(o, "move-drag")), r = be(e);
|
|
5552
5552
|
if (t === null) return null;
|
|
5553
5553
|
const a = la(t.translation, e);
|
|
5554
5554
|
return /* @__PURE__ */ n("svg", {
|
|
@@ -5566,7 +5566,7 @@ var Ku = {
|
|
|
5566
5566
|
});
|
|
5567
5567
|
}, ju = ({ annotation: e, panel: t }) => {
|
|
5568
5568
|
const r = uo(e.id);
|
|
5569
|
-
return /* @__PURE__ */ n(
|
|
5569
|
+
return /* @__PURE__ */ n(zo, {
|
|
5570
5570
|
annotation: e,
|
|
5571
5571
|
panel: t,
|
|
5572
5572
|
style: Qn()(e.id),
|
|
@@ -5614,12 +5614,12 @@ var Ku = {
|
|
|
5614
5614
|
shape: e,
|
|
5615
5615
|
style: tt()(e.id),
|
|
5616
5616
|
panel: t
|
|
5617
|
-
}), th = ({ image: e, panelSize: t }) => /* @__PURE__ */ n(
|
|
5617
|
+
}), th = ({ image: e, panelSize: t }) => /* @__PURE__ */ n(Lo, {
|
|
5618
5618
|
image: e,
|
|
5619
5619
|
panel: t,
|
|
5620
|
-
style:
|
|
5620
|
+
style: ko()(e.id)
|
|
5621
5621
|
}), nh = ({ panelRect: e }) => {
|
|
5622
|
-
const t = X((i) => V(i, "shape-resize-drag")), r =
|
|
5622
|
+
const t = X((i) => V(i, "shape-resize-drag")), r = be(e).shapes, a = tt();
|
|
5623
5623
|
if (t === null) return null;
|
|
5624
5624
|
const o = r.find((i) => i.id === t.annotationId);
|
|
5625
5625
|
return o === void 0 ? null : /* @__PURE__ */ n("svg", {
|
|
@@ -5688,8 +5688,8 @@ var Ku = {
|
|
|
5688
5688
|
kind: "shape",
|
|
5689
5689
|
annotation: e.id
|
|
5690
5690
|
}), [e.id]), p = (C, A) => {
|
|
5691
|
-
const L =
|
|
5692
|
-
s.dispatch(new
|
|
5691
|
+
const L = fe(c, { select: v })?.declarations ?? {};
|
|
5692
|
+
s.dispatch(new Le({
|
|
5693
5693
|
list: "overrides",
|
|
5694
5694
|
rule: {
|
|
5695
5695
|
select: v,
|
|
@@ -5954,7 +5954,7 @@ var Ku = {
|
|
|
5954
5954
|
}, gh = (e) => {
|
|
5955
5955
|
const t = _((r) => r.spec.annotations.shapes);
|
|
5956
5956
|
return e === null ? null : t.find((r) => r.id === e) ?? null;
|
|
5957
|
-
}, vh = (e) => X(
|
|
5957
|
+
}, vh = (e) => X(Ie((t) => e === null ? {
|
|
5958
5958
|
resizedRegion: null,
|
|
5959
5959
|
isMoved: !1
|
|
5960
5960
|
} : {
|
|
@@ -6031,7 +6031,7 @@ var xa = [
|
|
|
6031
6031
|
].map(({ id: e, key: t }) => ({
|
|
6032
6032
|
id: e,
|
|
6033
6033
|
key: t,
|
|
6034
|
-
fontFamily:
|
|
6034
|
+
fontFamily: So[e] ?? e
|
|
6035
6035
|
})), Ph = (e) => xa.find((t) => t.id === (e ?? "modern")) ?? null;
|
|
6036
6036
|
var wa = [
|
|
6037
6037
|
{
|
|
@@ -6073,13 +6073,13 @@ var wa = [
|
|
|
6073
6073
|
kind: "text",
|
|
6074
6074
|
annotation: e.id
|
|
6075
6075
|
}), [e.id]), P = (b, Z) => {
|
|
6076
|
-
const
|
|
6077
|
-
s.dispatch(new
|
|
6076
|
+
const Se = fe(c, { select: y })?.declarations ?? {};
|
|
6077
|
+
s.dispatch(new Le({
|
|
6078
6078
|
list: "overrides",
|
|
6079
6079
|
rule: {
|
|
6080
6080
|
select: y,
|
|
6081
6081
|
declarations: {
|
|
6082
|
-
...
|
|
6082
|
+
...Se,
|
|
6083
6083
|
...b
|
|
6084
6084
|
}
|
|
6085
6085
|
}
|
|
@@ -6091,12 +6091,12 @@ var wa = [
|
|
|
6091
6091
|
patch: b
|
|
6092
6092
|
}), Z);
|
|
6093
6093
|
}, A = () => u.getState().caret?.editor?.getJSON() ?? e.content, L = (b, Z) => {
|
|
6094
|
-
const
|
|
6095
|
-
if (_e !== null && !yh(
|
|
6094
|
+
const Se = A(), _e = u.getState().caret?.editor ?? null;
|
|
6095
|
+
if (_e !== null && !yh(Se)) {
|
|
6096
6096
|
_e.chain().focus().setMark(je, b).run();
|
|
6097
6097
|
return;
|
|
6098
6098
|
}
|
|
6099
|
-
C({ content: Ch(
|
|
6099
|
+
C({ content: Ch(Se, b) }, Z);
|
|
6100
6100
|
}, R = () => {
|
|
6101
6101
|
s.dispatch(new ke({ id: e.id })), i.focus({ preventScroll: !0 });
|
|
6102
6102
|
}, F = (b) => P(Oh(b), { transient: !0 }), D = (b) => L({ color: b }, { transient: !0 }), E = (b) => () => {
|
|
@@ -6366,14 +6366,14 @@ var Ta = ({ width: e }) => ne(60, e), zh = (e, t) => ({
|
|
|
6366
6366
|
}, Wh = (e) => {
|
|
6367
6367
|
const t = _((r) => r.spec.annotations.textAnnotations);
|
|
6368
6368
|
return e === null ? null : t.find((r) => r.id === e) ?? null;
|
|
6369
|
-
}, Kh = (e) => X(
|
|
6369
|
+
}, Kh = (e) => X(Ie((t) => e === null ? {
|
|
6370
6370
|
resized: null,
|
|
6371
6371
|
isMoved: !1
|
|
6372
6372
|
} : {
|
|
6373
6373
|
resized: Et(V(t, "text-resize-drag"), e),
|
|
6374
6374
|
isMoved: et(V(t, "move-drag"), e) !== null
|
|
6375
6375
|
})), qh = (e, t, r) => {
|
|
6376
|
-
const a =
|
|
6376
|
+
const a = be(e), o = jn(), i = Xn(), l = M(() => ({
|
|
6377
6377
|
panel: {
|
|
6378
6378
|
width: e.width,
|
|
6379
6379
|
height: e.height
|
|
@@ -6447,7 +6447,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6447
6447
|
O(() => {
|
|
6448
6448
|
if (t === null) return;
|
|
6449
6449
|
const o = (i) => {
|
|
6450
|
-
if (i.key !== "Tab" || i.defaultPrevented || !
|
|
6450
|
+
if (i.key !== "Tab" || i.defaultPrevented || !Ne(i.target, e, r) || a.getState().standingInteraction?.kind === "chrome-popup") return;
|
|
6451
6451
|
const l = [...t.querySelectorAll(r1)];
|
|
6452
6452
|
if (l.length === 0) return;
|
|
6453
6453
|
i.preventDefault();
|
|
@@ -6477,7 +6477,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6477
6477
|
}, l1 = (e) => {
|
|
6478
6478
|
const t = e.getAttribute(Yn);
|
|
6479
6479
|
if (t !== "annotation") return null;
|
|
6480
|
-
const r = e.getAttribute(
|
|
6480
|
+
const r = e.getAttribute(Co);
|
|
6481
6481
|
return r === null || r === "" ? null : {
|
|
6482
6482
|
kind: t,
|
|
6483
6483
|
id: r
|
|
@@ -6491,10 +6491,10 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6491
6491
|
d !== null && d.id === u?.annotationId || e.focus({ preventScroll: !0 });
|
|
6492
6492
|
}, l = (c) => {
|
|
6493
6493
|
const { selection: u, clearSelection: d } = t.getState();
|
|
6494
|
-
u.length !== 0 && (
|
|
6494
|
+
u.length !== 0 && (Ne(c.target, e, r) || d());
|
|
6495
6495
|
}, s = (c) => {
|
|
6496
|
-
t.getState().selection.length !== 0 &&
|
|
6497
|
-
o = null, document.hasFocus() && (
|
|
6496
|
+
t.getState().selection.length !== 0 && Ne(c.target, e, r) && c.relatedTarget === null && (o !== null && cancelAnimationFrame(o), o = requestAnimationFrame(() => {
|
|
6497
|
+
o = null, document.hasFocus() && (Ne(document.activeElement, e, r) || t.getState().clearSelection());
|
|
6498
6498
|
}));
|
|
6499
6499
|
};
|
|
6500
6500
|
return e.addEventListener("pointerdown", i), document.addEventListener("focusin", l), document.addEventListener("focusout", s), () => {
|
|
@@ -6525,7 +6525,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6525
6525
|
}
|
|
6526
6526
|
commit({ translation: e }) {
|
|
6527
6527
|
const { annotationId: t, dispatch: r } = this.params;
|
|
6528
|
-
lu(e) && r(new
|
|
6528
|
+
lu(e) && r(new Xo({
|
|
6529
6529
|
id: t,
|
|
6530
6530
|
translation: e
|
|
6531
6531
|
}));
|
|
@@ -6540,7 +6540,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6540
6540
|
const { editTargetUnderPointer: g, standingInteraction: f } = i.getState();
|
|
6541
6541
|
return g !== null && f === null && p.pointerType === "mouse" && u1(p.target, e) ? g : Je(p.clientX, p.clientY, e);
|
|
6542
6542
|
}, d = (p, g) => {
|
|
6543
|
-
if (c.current !== null || !
|
|
6543
|
+
if (c.current !== null || !Ho(l.current.annotations, g.id)) return;
|
|
6544
6544
|
try {
|
|
6545
6545
|
e.setPointerCapture(p.pointerId);
|
|
6546
6546
|
} catch {
|
|
@@ -6625,7 +6625,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6625
6625
|
]);
|
|
6626
6626
|
O(() => {
|
|
6627
6627
|
const u = (d) => {
|
|
6628
|
-
if (!
|
|
6628
|
+
if (!Ne(d.target, e, a) || Gc(d.target)) return;
|
|
6629
6629
|
const h = p1(d.target), v = o.getState().caret !== null && !$e(d.target, a);
|
|
6630
6630
|
if (!(h && !v))
|
|
6631
6631
|
switch (d.key) {
|
|
@@ -6650,26 +6650,26 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6650
6650
|
o
|
|
6651
6651
|
]);
|
|
6652
6652
|
}, p1 = (e) => e instanceof HTMLElement && (e.isContentEditable || e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement), m1 = () => {
|
|
6653
|
-
const e =
|
|
6654
|
-
layers:
|
|
6655
|
-
coordSystem:
|
|
6656
|
-
}))), { anchorResolver: a
|
|
6653
|
+
const e = yo((i) => i.hover.primary), { layers: t, coordSystem: r } = _(Ie((i) => ({
|
|
6654
|
+
layers: i.layers,
|
|
6655
|
+
coordSystem: i.coordSystem
|
|
6656
|
+
}))), { anchorResolver: a } = G(), o = mo();
|
|
6657
6657
|
return M(() => {
|
|
6658
6658
|
if (e === null) return null;
|
|
6659
|
-
const
|
|
6660
|
-
if (
|
|
6661
|
-
const
|
|
6659
|
+
const i = t.find((c) => c.id === e.layerId);
|
|
6660
|
+
if (i === void 0) return null;
|
|
6661
|
+
const l = a.resolve(i.geom, e.observation, {
|
|
6662
6662
|
coordSystem: r,
|
|
6663
|
-
position:
|
|
6663
|
+
position: i.position,
|
|
6664
6664
|
purpose: "pin"
|
|
6665
6665
|
});
|
|
6666
|
-
if (
|
|
6667
|
-
const
|
|
6668
|
-
return
|
|
6669
|
-
position:
|
|
6670
|
-
color:
|
|
6671
|
-
layer:
|
|
6672
|
-
at:
|
|
6666
|
+
if (l === null) return null;
|
|
6667
|
+
const s = Xi(i)(e.observation);
|
|
6668
|
+
return s === null ? null : {
|
|
6669
|
+
position: l,
|
|
6670
|
+
color: o.geomReaders(i).get("color", e.observation),
|
|
6671
|
+
layer: i,
|
|
6672
|
+
at: s,
|
|
6673
6673
|
observation: e.observation
|
|
6674
6674
|
};
|
|
6675
6675
|
}, [
|
|
@@ -6677,7 +6677,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6677
6677
|
t,
|
|
6678
6678
|
r,
|
|
6679
6679
|
a,
|
|
6680
|
-
|
|
6680
|
+
o
|
|
6681
6681
|
]);
|
|
6682
6682
|
}, g1 = { kind: "idle" }, La = () => {
|
|
6683
6683
|
const e = X((a) => a.standingInteraction), t = X((a) => a.chromeUnderPointer), r = m1();
|
|
@@ -6795,7 +6795,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6795
6795
|
d.setHoverState(or), d.setTooltipAnchor(null);
|
|
6796
6796
|
}, [i, l]);
|
|
6797
6797
|
}, y1 = ({ frameElement: e, panelRect: t }) => {
|
|
6798
|
-
const { measureRef: r, screenRect: a } =
|
|
6798
|
+
const { measureRef: r, screenRect: a } = Mo(), o = U(), i = X((l) => l.caret?.annotationId ?? null);
|
|
6799
6799
|
return O(() => (r(e), () => r(null)), [r, e]), O(() => () => {
|
|
6800
6800
|
const l = o.getState();
|
|
6801
6801
|
l.releaseInteraction("menu"), l.setCaret(null);
|
|
@@ -6808,7 +6808,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6808
6808
|
panelRect: t
|
|
6809
6809
|
})] });
|
|
6810
6810
|
}, S1 = ({ annotationId: e, panelRect: t }) => {
|
|
6811
|
-
const r = U(), { textAnnotations: a } =
|
|
6811
|
+
const r = U(), { textAnnotations: a } = be(t);
|
|
6812
6812
|
return O(() => {
|
|
6813
6813
|
a.some(({ id: o }) => o === e) || r.getState().setCaret(null);
|
|
6814
6814
|
}, [
|
|
@@ -6835,7 +6835,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6835
6835
|
});
|
|
6836
6836
|
}, w1 = ({ frameElement: e, frameRect: t, panelOrigin: r, panelRect: a, boxRef: o }) => {
|
|
6837
6837
|
const i = Bt(), l = La();
|
|
6838
|
-
return /* @__PURE__ */ n(
|
|
6838
|
+
return /* @__PURE__ */ n(Ao, {
|
|
6839
6839
|
rect: t,
|
|
6840
6840
|
zIndex: so.editorOverlay,
|
|
6841
6841
|
container: i,
|
|
@@ -6877,11 +6877,11 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6877
6877
|
})
|
|
6878
6878
|
] })
|
|
6879
6879
|
});
|
|
6880
|
-
},
|
|
6881
|
-
locale:
|
|
6882
|
-
children: /* @__PURE__ */ n(
|
|
6880
|
+
}, e0 = ({ slots: e, ...t }) => /* @__PURE__ */ n(ls, {
|
|
6881
|
+
locale: Oo(),
|
|
6882
|
+
children: /* @__PURE__ */ n(vo, { children: /* @__PURE__ */ n(io, {
|
|
6883
6883
|
editors: Hc,
|
|
6884
|
-
children: /* @__PURE__ */ n(
|
|
6884
|
+
children: /* @__PURE__ */ n(No, {
|
|
6885
6885
|
slots: M(() => ({
|
|
6886
6886
|
EditorSurface: y1,
|
|
6887
6887
|
...e
|
|
@@ -6903,7 +6903,7 @@ var Yh = "_1tyillx1", Jh = {
|
|
|
6903
6903
|
children: r
|
|
6904
6904
|
});
|
|
6905
6905
|
}, ge = ({ id: e, ariaLabel: t, ariaLabelledBy: r }, a = !0) => {
|
|
6906
|
-
const o =
|
|
6906
|
+
const o = Pe(Pa), i = Ae(), [l] = Q(() => a ? o?.claimControlId(i) ?? !1 : !1), s = e ?? (l ? o?.controlId : void 0), c = r ?? (t === void 0 ? o?.labelId : void 0);
|
|
6907
6907
|
return {
|
|
6908
6908
|
...s !== void 0 && { id: s },
|
|
6909
6909
|
...t !== void 0 && { "aria-label": t },
|
|
@@ -6934,15 +6934,15 @@ var T1 = {
|
|
|
6934
6934
|
})]
|
|
6935
6935
|
});
|
|
6936
6936
|
}, qt = Oe(null), H = () => {
|
|
6937
|
-
const e =
|
|
6937
|
+
const e = Pe(qt);
|
|
6938
6938
|
if (!e) throw new Error("An editing section must sit inside an <EditorPanel.Root> bound to a graph — pass it a `handle`, or render the panel inside a <GraphProvider>.");
|
|
6939
6939
|
return e;
|
|
6940
6940
|
}, Ea = ({ children: e, onKeyDown: t, ...r }) => {
|
|
6941
|
-
const a =
|
|
6941
|
+
const a = Pe(qt);
|
|
6942
6942
|
return /* @__PURE__ */ n("div", {
|
|
6943
6943
|
onKeyDown: (i) => {
|
|
6944
6944
|
if (t?.(i), !a || i.defaultPrevented) return;
|
|
6945
|
-
const l =
|
|
6945
|
+
const l = Do(i.nativeEvent);
|
|
6946
6946
|
l && (i.preventDefault(), l === "undo" ? a.undo() : a.redo());
|
|
6947
6947
|
},
|
|
6948
6948
|
...r,
|
|
@@ -7018,7 +7018,7 @@ var I1 = ({ value: e, onChange: t, onCommit: r, min: a, max: o, step: i, placeho
|
|
|
7018
7018
|
]
|
|
7019
7019
|
})
|
|
7020
7020
|
});
|
|
7021
|
-
}, E1 = "_1b7s5f0",
|
|
7021
|
+
}, E1 = "_1b7s5f0", xe = {
|
|
7022
7022
|
1: "_1b7s5f1",
|
|
7023
7023
|
2: "_1b7s5f2",
|
|
7024
7024
|
3: "_1b7s5f3",
|
|
@@ -7055,17 +7055,17 @@ var N1 = 6, O1 = ({ options: e, value: t, onChange: r, onCommit: a, columns: o,
|
|
|
7055
7055
|
}, R1 = (e) => {
|
|
7056
7056
|
switch (Math.min(Math.max(Math.round(e), 1), N1)) {
|
|
7057
7057
|
case 1:
|
|
7058
|
-
return
|
|
7058
|
+
return xe[1];
|
|
7059
7059
|
case 2:
|
|
7060
|
-
return
|
|
7060
|
+
return xe[2];
|
|
7061
7061
|
case 3:
|
|
7062
|
-
return
|
|
7062
|
+
return xe[3];
|
|
7063
7063
|
case 4:
|
|
7064
|
-
return
|
|
7064
|
+
return xe[4];
|
|
7065
7065
|
case 5:
|
|
7066
|
-
return
|
|
7066
|
+
return xe[5];
|
|
7067
7067
|
default:
|
|
7068
|
-
return
|
|
7068
|
+
return xe[6];
|
|
7069
7069
|
}
|
|
7070
7070
|
}, D1 = "_1g5x15w0 uz3g760", z1 = "_1g5x15w1", _1 = "_1g5x15w2", Nn = "_1g5x15w3", F1 = "_1g5x15w4", H1 = "_1g5x15w5", B1 = "_1g5x15w6", V1 = "_1g5x15w7";
|
|
7071
7071
|
var G1 = ({ options: e, value: t, onChange: r, placeholder: a, isDisabled: o, hasError: i, ariaLabel: l, ariaLabelledBy: s, id: c }) => {
|
|
@@ -7244,14 +7244,14 @@ var lp = ({ options: e, value: t, onChange: r, onCommit: a, itemLayout: o = "inl
|
|
|
7244
7244
|
value: r,
|
|
7245
7245
|
children: t
|
|
7246
7246
|
});
|
|
7247
|
-
}, B = () =>
|
|
7247
|
+
}, B = () => Pe(Ra), dp = "_12lhx9e0", Da = ({ children: e }) => /* @__PURE__ */ n("div", {
|
|
7248
7248
|
className: dp,
|
|
7249
7249
|
children: e
|
|
7250
7250
|
}), up = "_139ohwv0", q = ({ children: e }) => /* @__PURE__ */ n("div", {
|
|
7251
7251
|
className: up,
|
|
7252
7252
|
children: e
|
|
7253
7253
|
}), za = Oe(null), hp = za.Provider, pp = () => {
|
|
7254
|
-
const e =
|
|
7254
|
+
const e = Pe(za);
|
|
7255
7255
|
if (!e) throw new Error("A section must be rendered inside <EditorPanel.Root>.");
|
|
7256
7256
|
return e;
|
|
7257
7257
|
}, mp = "_1jlczkt0", gp = "data-graphy-editor-panel", vp = {
|
|
@@ -7264,7 +7264,7 @@ function fp(e) {
|
|
|
7264
7264
|
return t.includes("_1ii3bsb0") || t.includes("_1ii3bsb1");
|
|
7265
7265
|
}
|
|
7266
7266
|
var bp = ({ handle: e, children: t, controls: r, defaultExpandedSection: a = void 0, className: o }) => {
|
|
7267
|
-
const i =
|
|
7267
|
+
const i = Po(e), { themeClass: l, inlineVarsStyle: s } = nt(), [c, u] = Q(() => a ? [a] : []), d = M(() => ({
|
|
7268
7268
|
expandSection: (h) => u([h]),
|
|
7269
7269
|
collapseAllSections: () => u([])
|
|
7270
7270
|
}), []);
|
|
@@ -7274,7 +7274,7 @@ var bp = ({ handle: e, children: t, controls: r, defaultExpandedSection: a = voi
|
|
|
7274
7274
|
controls: r,
|
|
7275
7275
|
children: /* @__PURE__ */ n(hp, {
|
|
7276
7276
|
value: d,
|
|
7277
|
-
children: /* @__PURE__ */ n(
|
|
7277
|
+
children: /* @__PURE__ */ n(Me.Root, {
|
|
7278
7278
|
[gp]: "",
|
|
7279
7279
|
className: de(mp, o, { [l]: !fp(o) }),
|
|
7280
7280
|
style: s,
|
|
@@ -7391,15 +7391,15 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7391
7391
|
});
|
|
7392
7392
|
}, kp = ({ title: e, preview: t, accessory: r, onOpenChange: a, children: o }) => {
|
|
7393
7393
|
const i = k();
|
|
7394
|
-
return /* @__PURE__ */ m(
|
|
7394
|
+
return /* @__PURE__ */ m(Me.Item, {
|
|
7395
7395
|
value: e,
|
|
7396
7396
|
className: Zt,
|
|
7397
7397
|
onOpenChange: a,
|
|
7398
|
-
children: [/* @__PURE__ */ m(
|
|
7398
|
+
children: [/* @__PURE__ */ m(Me.Header, {
|
|
7399
7399
|
className: Xt,
|
|
7400
7400
|
render: /* @__PURE__ */ n("div", {}),
|
|
7401
7401
|
children: [
|
|
7402
|
-
/* @__PURE__ */ n(
|
|
7402
|
+
/* @__PURE__ */ n(Me.Trigger, {
|
|
7403
7403
|
className: Sp,
|
|
7404
7404
|
"aria-label": i("editor.accessibility.toggleSection", { title: e })
|
|
7405
7405
|
}),
|
|
@@ -7420,7 +7420,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7420
7420
|
children: /* @__PURE__ */ n(yp, { size: "sm" })
|
|
7421
7421
|
})
|
|
7422
7422
|
]
|
|
7423
|
-
}), /* @__PURE__ */ n(
|
|
7423
|
+
}), /* @__PURE__ */ n(Me.Panel, { children: /* @__PURE__ */ n("div", { children: o }) })]
|
|
7424
7424
|
});
|
|
7425
7425
|
}, Lp = ({ title: e, isChecked: t, onToggle: r, isDisabled: a, preview: o, children: i }) => {
|
|
7426
7426
|
const { expandSection: l, collapseAllSections: s } = pp(), { Switch: c } = B();
|
|
@@ -7463,7 +7463,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7463
7463
|
})), D = i.guides.axes.find((w) => w.scaleAestheticKey === e)?.position, E = Pp[D === "bottom" || D === "top" || D === void 0 && e === "x" ? "horizontal" : "vertical"], N = e === "y" ? pl(i.spec) : null, T = N === null ? void 0 : i.spec.layers.find((w) => w.id === N), b = i.guides.legends.drawn.some((w) => E.some((he) => he === w.position)), Z = E.map((w) => ({
|
|
7464
7464
|
value: w,
|
|
7465
7465
|
label: l(Ip[w])
|
|
7466
|
-
})),
|
|
7466
|
+
})), Se = F(["auto", "edges"], (w) => l(w === "edges" ? "editor.axesPanel.labelMode.edges" : "editor.axesPanel.labelMode.auto")), _e = F(["linear", "log"], (w) => l(w === "log" ? "editor.axesPanel.scale.log" : "editor.axesPanel.scale.auto")), $a = F([
|
|
7467
7467
|
"auto",
|
|
7468
7468
|
"zero",
|
|
7469
7469
|
"custom"
|
|
@@ -7582,7 +7582,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7582
7582
|
label: l("editor.axesPanel.controls.labels"),
|
|
7583
7583
|
children: /* @__PURE__ */ n(d, {
|
|
7584
7584
|
value: v.ticks.mode,
|
|
7585
|
-
options:
|
|
7585
|
+
options: Se,
|
|
7586
7586
|
onChange: ja
|
|
7587
7587
|
})
|
|
7588
7588
|
}),
|
|
@@ -7776,15 +7776,26 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7776
7776
|
2.5,
|
|
7777
7777
|
3,
|
|
7778
7778
|
4
|
|
7779
|
-
], _p = kt.length / 2, Fp = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7779
|
+
], _p = kt.length / 2, Fp = { select: { target: "graph" } }, Hp = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7780
7780
|
const a = H(), o = $(a), i = k(), { RadioGrid: l } = B();
|
|
7781
7781
|
if (!o) return null;
|
|
7782
|
-
const
|
|
7782
|
+
const s = at().chromeReaders(o.chrome).graph.get("textScale"), c = (h) => i("editor.elementsPanel.textSizeSection.scaleFormat", { value: `${h}` }), u = kt.map((h) => ({
|
|
7783
7783
|
value: `${h}`,
|
|
7784
7784
|
label: c(h)
|
|
7785
7785
|
})), d = (h) => {
|
|
7786
|
-
const v = kt.find((
|
|
7787
|
-
v
|
|
7786
|
+
const v = kt.find((g) => `${g}` === h);
|
|
7787
|
+
if (v === void 0) return;
|
|
7788
|
+
const p = fe(o.spec.styles.overrides, Fp)?.declarations ?? {};
|
|
7789
|
+
a.commands.dispatch(new Le({
|
|
7790
|
+
list: "overrides",
|
|
7791
|
+
rule: {
|
|
7792
|
+
select: { target: "graph" },
|
|
7793
|
+
declarations: {
|
|
7794
|
+
...p,
|
|
7795
|
+
textScale: v
|
|
7796
|
+
}
|
|
7797
|
+
}
|
|
7798
|
+
}));
|
|
7788
7799
|
};
|
|
7789
7800
|
return /* @__PURE__ */ n(W, {
|
|
7790
7801
|
title: e ?? i("editor.elementsPanel.textSizeSection.title"),
|
|
@@ -7798,7 +7809,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7798
7809
|
ariaLabel: i("editor.elementsPanel.textSizeSection.title")
|
|
7799
7810
|
})
|
|
7800
7811
|
});
|
|
7801
|
-
},
|
|
7812
|
+
}, Bp = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7802
7813
|
const a = H(), o = $(a), i = k(), { Switch: l } = B();
|
|
7803
7814
|
if (!o) return null;
|
|
7804
7815
|
const s = o.config.content, c = (d) => {
|
|
@@ -7824,27 +7835,27 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7824
7835
|
onChange: u
|
|
7825
7836
|
})] })
|
|
7826
7837
|
});
|
|
7827
|
-
},
|
|
7838
|
+
}, t0 = ({ children: e, ...t }) => /* @__PURE__ */ n(_a.Root, {
|
|
7828
7839
|
...t,
|
|
7829
7840
|
children: e ?? /* @__PURE__ */ m(j, { children: [
|
|
7830
|
-
/* @__PURE__ */ n(
|
|
7841
|
+
/* @__PURE__ */ n(Bp, {}),
|
|
7831
7842
|
/* @__PURE__ */ n(zp, {}),
|
|
7832
7843
|
/* @__PURE__ */ n(Np, {}),
|
|
7833
7844
|
/* @__PURE__ */ n(Rp, {}),
|
|
7834
|
-
/* @__PURE__ */ n(
|
|
7845
|
+
/* @__PURE__ */ n(Hp, {})
|
|
7835
7846
|
] })
|
|
7836
|
-
}),
|
|
7847
|
+
}), n0 = ({ children: e, ...t }) => /* @__PURE__ */ n(_a.Root, {
|
|
7837
7848
|
...t,
|
|
7838
7849
|
children: e ?? /* @__PURE__ */ m(j, { children: [/* @__PURE__ */ n(Dn, { axis: "x" }), /* @__PURE__ */ n(Dn, { axis: "y" })] })
|
|
7839
|
-
}), dt = (e) => `${e}px`, Ha = (e) => `${Math.round(e * 100)}%`,
|
|
7850
|
+
}), dt = (e) => `${e}px`, Ha = (e) => `${Math.round(e * 100)}%`, Vp = (e) => `${e}°`, Gp = 24, $p = { select: { target: "graph" } }, Fn = ["dim", "desaturate"], r0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7840
7851
|
const a = H(), o = $(a), i = k(), { Slider: l, ToggleGroup: s } = B();
|
|
7841
7852
|
if (!o) return null;
|
|
7842
7853
|
const c = at().chromeReaders(o.chrome).graph.get("borderRadius"), u = ml(o.spec), d = Fn.map((p) => ({
|
|
7843
7854
|
value: p,
|
|
7844
7855
|
label: i(p === "dim" ? "editor.highlighting.highlightStyle.tint" : "editor.highlighting.highlightStyle.grey")
|
|
7845
7856
|
})), h = (p) => {
|
|
7846
|
-
const g =
|
|
7847
|
-
a.commands.dispatch(new
|
|
7857
|
+
const g = fe(o.spec.styles.overrides, $p)?.declarations ?? {};
|
|
7858
|
+
a.commands.dispatch(new Le({
|
|
7848
7859
|
list: "overrides",
|
|
7849
7860
|
rule: {
|
|
7850
7861
|
select: { target: "graph" },
|
|
@@ -7867,7 +7878,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7867
7878
|
children: /* @__PURE__ */ n(l, {
|
|
7868
7879
|
value: c,
|
|
7869
7880
|
min: 0,
|
|
7870
|
-
max:
|
|
7881
|
+
max: Gp,
|
|
7871
7882
|
step: 1,
|
|
7872
7883
|
formatValue: dt,
|
|
7873
7884
|
onChange: h,
|
|
@@ -7892,7 +7903,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7892
7903
|
t,
|
|
7893
7904
|
r
|
|
7894
7905
|
]);
|
|
7895
|
-
},
|
|
7906
|
+
}, Up = 0.05, a0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7896
7907
|
const a = H(), o = $(a), i = k(), { Slider: l, ToggleGroup: s } = B(), c = o ? hr(o.spec.layers, "bar") : void 0, u = Yt(o, c?.id ?? null);
|
|
7897
7908
|
if (!o || !c || o.coordSystem.type === "polar" && o.coordSystem.bandAxis === null) return null;
|
|
7898
7909
|
const d = (g) => {
|
|
@@ -7918,9 +7929,9 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7918
7929
|
label: i("editor.graphPanel.barSection.thickness"),
|
|
7919
7930
|
children: /* @__PURE__ */ n(l, {
|
|
7920
7931
|
value: p,
|
|
7921
|
-
min:
|
|
7922
|
-
max:
|
|
7923
|
-
step:
|
|
7932
|
+
min: Zo,
|
|
7933
|
+
max: qo,
|
|
7934
|
+
step: Up,
|
|
7924
7935
|
formatValue: Ha,
|
|
7925
7936
|
onChange: d,
|
|
7926
7937
|
onCommit: a.commands.seal
|
|
@@ -7929,7 +7940,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7929
7940
|
label: i("editor.graphPanel.barSection.rounding"),
|
|
7930
7941
|
layout: "stack",
|
|
7931
7942
|
children: /* @__PURE__ */ n(s, {
|
|
7932
|
-
value: u?.get("borderRadius") ??
|
|
7943
|
+
value: u?.get("borderRadius") ?? Uo,
|
|
7933
7944
|
options: v,
|
|
7934
7945
|
onChange: h
|
|
7935
7946
|
})
|
|
@@ -7960,7 +7971,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7960
7971
|
floodOpacity: "0.16"
|
|
7961
7972
|
})]
|
|
7962
7973
|
}) })] });
|
|
7963
|
-
}, ht = "qdaoth0",
|
|
7974
|
+
}, ht = "qdaoth0", Wp = (e) => /* @__PURE__ */ m(x, {
|
|
7964
7975
|
viewBox: "0 0 31 33",
|
|
7965
7976
|
...e,
|
|
7966
7977
|
children: [/* @__PURE__ */ n(ut, { children: /* @__PURE__ */ n("path", {
|
|
@@ -7972,7 +7983,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7972
7983
|
fill: "currentColor",
|
|
7973
7984
|
d: "M12.0591 7.11C11.5767 7.11 11.1857 6.71899 11.1857 6.23664C11.1857 5.7543 11.5767 5.36328 12.0591 5.36328H24.8684C25.3507 5.36328 25.7417 5.7543 25.7417 6.23664V19.0459C25.7417 19.5283 25.3507 19.9193 24.8684 19.9193C24.386 19.9193 23.995 19.5283 23.995 19.0459V8.34512L6.8542 25.4859C6.51313 25.827 5.96015 25.827 5.61908 25.4859C5.27801 25.1448 5.27801 24.5919 5.61908 24.2508L22.7599 7.11H12.0591Z"
|
|
7974
7985
|
})]
|
|
7975
|
-
}),
|
|
7986
|
+
}), Kp = (e) => /* @__PURE__ */ n(x, {
|
|
7976
7987
|
viewBox: "0 0 32 32",
|
|
7977
7988
|
...e,
|
|
7978
7989
|
children: /* @__PURE__ */ m(ut, { children: [/* @__PURE__ */ n("path", {
|
|
@@ -7982,7 +7993,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7982
7993
|
fill: "currentColor",
|
|
7983
7994
|
d: "M24.25 9C24.25 8.30964 23.6904 7.75 23 7.75H9C8.30964 7.75 7.75 8.30964 7.75 9V23C7.75 23.6904 8.30964 24.25 9 24.25H23C23.6904 24.25 24.25 23.6904 24.25 23V9ZM25.75 23C25.75 24.5188 24.5188 25.75 23 25.75H9C7.48122 25.75 6.25 24.5188 6.25 23V9C6.25 7.48122 7.48122 6.25 9 6.25H23C24.5188 6.25 25.75 7.48122 25.75 9V23Z"
|
|
7984
7995
|
})] })
|
|
7985
|
-
}),
|
|
7996
|
+
}), qp = (e) => /* @__PURE__ */ m(x, {
|
|
7986
7997
|
viewBox: "0 0 32 33",
|
|
7987
7998
|
...e,
|
|
7988
7999
|
children: [/* @__PURE__ */ n(ut, { children: /* @__PURE__ */ n("path", {
|
|
@@ -7996,7 +8007,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7996
8007
|
clipRule: "evenodd",
|
|
7997
8008
|
d: "M25.25 22C25.25 20.7574 24.2426 19.75 23 19.75C21.7574 19.75 20.75 20.7574 20.75 22C20.75 23.2426 21.7574 24.25 23 24.25C24.2426 24.25 25.25 23.2426 25.25 22ZM23 18.25C25.0711 18.25 26.75 19.9289 26.75 22C26.75 24.0711 25.0711 25.75 23 25.75C20.9289 25.75 19.25 24.0711 19.25 22C19.25 19.9289 20.9289 18.25 23 18.25ZM11.25 9C11.25 7.75736 10.2426 6.75 9 6.75C7.75736 6.75 6.75 7.75736 6.75 9C6.75 10.2426 7.75736 11.25 9 11.25C10.2426 11.25 11.25 10.2426 11.25 9ZM9.75 12.675C11.4617 12.3275 12.75 10.8142 12.75 9C12.75 6.92893 11.0711 5.25 9 5.25C6.92893 5.25 5.25 6.92893 5.25 9C5.25 10.8142 6.53832 12.3275 8.25 12.675L8.25 24C8.25 24.4142 8.58579 24.75 9 24.75L16 24.75C16.4142 24.75 16.75 24.4142 16.75 24L16.75 7.75L22.25 7.75L22.25 14.1893L21.0303 12.9697C20.7374 12.6768 20.2626 12.6768 19.9697 12.9697C19.6768 13.2626 19.6768 13.7374 19.9697 14.0303L22.4697 16.5303C22.7626 16.8232 23.2374 16.8232 23.5303 16.5303L26.0303 14.0303C26.3232 13.7374 26.3232 13.2626 26.0303 12.9697C25.7374 12.6768 25.2626 12.6768 24.9697 12.9697L23.75 14.1893L23.75 7C23.75 6.58579 23.4142 6.25 23 6.25L16 6.25C15.5858 6.25 15.25 6.58579 15.25 7L15.25 23.25L9.75 23.25L9.75 12.675Z"
|
|
7998
8009
|
})]
|
|
7999
|
-
}),
|
|
8010
|
+
}), Zp = (e) => /* @__PURE__ */ m(x, {
|
|
8000
8011
|
viewBox: "0 0 32 33",
|
|
8001
8012
|
...e,
|
|
8002
8013
|
children: [/* @__PURE__ */ n(ut, { children: /* @__PURE__ */ n("path", {
|
|
@@ -8006,21 +8017,21 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8006
8017
|
fill: "currentColor",
|
|
8007
8018
|
d: "M8.41371 5H20.7271C21.1595 5 21.5325 5 21.8398 5.02507C22.1641 5.05157 22.4867 5.11007 22.7971 5.26822C23.2601 5.50416 23.6366 5.88064 23.8726 6.3437C24.0307 6.65409 24.0892 6.97666 24.1157 7.30097C24.1408 7.60823 24.1408 7.98127 24.1408 8.41369V9.10155C24.1408 9.55465 23.7735 9.92195 23.3205 9.92195C22.8674 9.92195 22.5001 9.55465 22.5001 9.10155V8.44533C22.5001 7.97237 22.4995 7.66699 22.4805 7.43457C22.4623 7.21172 22.4314 7.12909 22.4107 7.08853C22.3321 6.93418 22.2066 6.80869 22.0522 6.73004C22.0117 6.70938 21.9291 6.67847 21.7062 6.66026C21.4738 6.64127 21.1684 6.64063 20.6954 6.64063H15.3907V24.6877H20.0392C20.4922 24.6877 20.8595 25.0549 20.8595 25.508C20.8595 25.961 20.4922 26.3283 20.0392 26.3283H9.10159C8.64854 26.3283 8.28127 25.961 8.28127 25.508C8.28127 25.0549 8.64854 24.6877 9.10159 24.6877H13.7501V6.64063H8.44533C7.97238 6.64063 7.66699 6.64127 7.43457 6.66026C7.21172 6.67847 7.1291 6.70938 7.08854 6.73004C6.93418 6.80869 6.80869 6.93418 6.73004 7.08853C6.70938 7.12909 6.67847 7.21172 6.66026 7.43457C6.64127 7.66699 6.64063 7.97237 6.64063 8.44533V9.10155C6.64063 9.55465 6.27337 9.92195 5.82032 9.92195C5.36727 9.92195 5 9.55465 5 9.10155V8.41371C5 7.98128 5 7.60823 5.02508 7.30097C5.05157 6.97666 5.11007 6.65409 5.26823 6.3437C5.50417 5.88064 5.88064 5.50416 6.3437 5.26822C6.65409 5.11007 6.97666 5.05157 7.30097 5.02507C7.60824 5 7.98129 5 8.41371 5Z"
|
|
8008
8019
|
})]
|
|
8009
|
-
}),
|
|
8020
|
+
}), Xp = {
|
|
8010
8021
|
x: 0.5,
|
|
8011
8022
|
y: 0.5
|
|
8012
|
-
},
|
|
8023
|
+
}, jp = 0.2, Yp = {
|
|
8013
8024
|
x: 0.375,
|
|
8014
8025
|
y: 0.25,
|
|
8015
8026
|
width: 0.25,
|
|
8016
8027
|
height: 0.5
|
|
8017
|
-
},
|
|
8028
|
+
}, Jp = { zOrder: "background" }, Qp = {
|
|
8018
8029
|
x: 0.4,
|
|
8019
8030
|
y: 0.6
|
|
8020
|
-
},
|
|
8031
|
+
}, e2 = {
|
|
8021
8032
|
x: 0.6,
|
|
8022
8033
|
y: 0.4
|
|
8023
|
-
},
|
|
8034
|
+
}, t2 = "relative-difference", o0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
8024
8035
|
const a = H(), o = $(a), i = k(), { Button: l } = B();
|
|
8025
8036
|
if (!o) return null;
|
|
8026
8037
|
const s = () => {
|
|
@@ -8028,26 +8039,26 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8028
8039
|
kind: "text",
|
|
8029
8040
|
annotation: {
|
|
8030
8041
|
...Mi,
|
|
8031
|
-
content:
|
|
8042
|
+
content: n2(i("editor.annotatePanel.callOutSection.text")),
|
|
8032
8043
|
at: {
|
|
8033
8044
|
anchorType: "panel",
|
|
8034
|
-
...
|
|
8045
|
+
...Xp
|
|
8035
8046
|
},
|
|
8036
|
-
width:
|
|
8047
|
+
width: jp
|
|
8037
8048
|
}
|
|
8038
8049
|
}));
|
|
8039
8050
|
}, c = () => {
|
|
8040
8051
|
a.commands.dispatch(new pe({
|
|
8041
8052
|
kind: "arrow",
|
|
8042
8053
|
annotation: {
|
|
8043
|
-
...
|
|
8054
|
+
...Bo,
|
|
8044
8055
|
start: {
|
|
8045
8056
|
anchorType: "panel",
|
|
8046
|
-
...
|
|
8057
|
+
...Qp
|
|
8047
8058
|
},
|
|
8048
8059
|
end: {
|
|
8049
8060
|
anchorType: "panel",
|
|
8050
|
-
...
|
|
8061
|
+
...e2
|
|
8051
8062
|
}
|
|
8052
8063
|
}
|
|
8053
8064
|
}));
|
|
@@ -8055,11 +8066,11 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8055
8066
|
a.commands.dispatch(new pe({
|
|
8056
8067
|
kind: "shape",
|
|
8057
8068
|
annotation: {
|
|
8058
|
-
...
|
|
8059
|
-
...
|
|
8069
|
+
...Yo,
|
|
8070
|
+
...Jp,
|
|
8060
8071
|
region: {
|
|
8061
8072
|
anchorType: "panel",
|
|
8062
|
-
...
|
|
8073
|
+
...Yp
|
|
8063
8074
|
}
|
|
8064
8075
|
}
|
|
8065
8076
|
}));
|
|
@@ -8070,7 +8081,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8070
8081
|
annotation: {
|
|
8071
8082
|
...ar,
|
|
8072
8083
|
...v,
|
|
8073
|
-
label:
|
|
8084
|
+
label: t2
|
|
8074
8085
|
}
|
|
8075
8086
|
}));
|
|
8076
8087
|
}, h = o.coordSystem.type === "cartesian";
|
|
@@ -8081,31 +8092,31 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8081
8092
|
children: /* @__PURE__ */ m(Da, { children: [
|
|
8082
8093
|
/* @__PURE__ */ n(l, {
|
|
8083
8094
|
variant: "tile",
|
|
8084
|
-
icon: /* @__PURE__ */ n(
|
|
8095
|
+
icon: /* @__PURE__ */ n(Zp, { size: "xl" }),
|
|
8085
8096
|
label: i("editor.annotatePanel.callOutSection.text"),
|
|
8086
8097
|
onClick: s
|
|
8087
8098
|
}),
|
|
8088
8099
|
/* @__PURE__ */ n(l, {
|
|
8089
8100
|
variant: "tile",
|
|
8090
|
-
icon: /* @__PURE__ */ n(
|
|
8101
|
+
icon: /* @__PURE__ */ n(Wp, { size: "xl" }),
|
|
8091
8102
|
label: i("editor.annotatePanel.callOutSection.arrow"),
|
|
8092
8103
|
onClick: c
|
|
8093
8104
|
}),
|
|
8094
8105
|
/* @__PURE__ */ n(l, {
|
|
8095
8106
|
variant: "tile",
|
|
8096
|
-
icon: /* @__PURE__ */ n(
|
|
8107
|
+
icon: /* @__PURE__ */ n(Kp, { size: "xl" }),
|
|
8097
8108
|
label: i("editor.annotatePanel.callOutSection.box"),
|
|
8098
8109
|
onClick: u
|
|
8099
8110
|
}),
|
|
8100
8111
|
h && /* @__PURE__ */ n(l, {
|
|
8101
8112
|
variant: "tile",
|
|
8102
|
-
icon: /* @__PURE__ */ n(
|
|
8113
|
+
icon: /* @__PURE__ */ n(qp, { size: "xl" }),
|
|
8103
8114
|
label: i("editor.annotatePanel.callOutSection.difference"),
|
|
8104
8115
|
onClick: d
|
|
8105
8116
|
})
|
|
8106
8117
|
] })
|
|
8107
8118
|
});
|
|
8108
|
-
},
|
|
8119
|
+
}, n2 = (e) => ({
|
|
8109
8120
|
type: "doc",
|
|
8110
8121
|
content: [{
|
|
8111
8122
|
type: "paragraph",
|
|
@@ -8114,7 +8125,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8114
8125
|
text: e
|
|
8115
8126
|
}]
|
|
8116
8127
|
}]
|
|
8117
|
-
}),
|
|
8128
|
+
}), i0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
8118
8129
|
const a = H(), o = $(a), i = k(), { ToggleGroup: l } = B();
|
|
8119
8130
|
if (!o) return null;
|
|
8120
8131
|
const s = gr(o.spec);
|
|
@@ -8140,13 +8151,13 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8140
8151
|
ariaLabel: i("editor.graphPanel.comboSection.title")
|
|
8141
8152
|
})
|
|
8142
8153
|
});
|
|
8143
|
-
},
|
|
8154
|
+
}, r2 = 0.1, a2 = 20, l0 = ({ title: e, preview: t }) => {
|
|
8144
8155
|
const r = H(), a = $(r), o = k(), { NumberField: i, TextField: l } = B();
|
|
8145
8156
|
if (!a || a.coordSystem.type === "polar") return null;
|
|
8146
8157
|
const s = nl(a.spec.layers), c = e ?? o("editor.annotationsPanel.goalSection.title"), u = Ji(s?.mapping.y), d = typeof u == "number" ? u : null, h = (g) => {
|
|
8147
8158
|
const f = new Di({
|
|
8148
8159
|
showGoalLine: g,
|
|
8149
|
-
value:
|
|
8160
|
+
value: o2(a),
|
|
8150
8161
|
...s !== void 0 && { layerId: s.id }
|
|
8151
8162
|
});
|
|
8152
8163
|
r.commands.dispatch(f);
|
|
@@ -8190,14 +8201,14 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8190
8201
|
})
|
|
8191
8202
|
})] })
|
|
8192
8203
|
});
|
|
8193
|
-
},
|
|
8204
|
+
}, o2 = (e) => {
|
|
8194
8205
|
const t = (e.scales.y?.domain ?? []).filter((l) => typeof l == "number");
|
|
8195
8206
|
if (t.length === 0) return 0;
|
|
8196
8207
|
const r = Math.max(...t), a = r - Math.min(...t), o = a > 0 ? a : Math.abs(r);
|
|
8197
8208
|
if (o === 0) return 0;
|
|
8198
|
-
const i = Math.min(
|
|
8199
|
-
return Number((r + o *
|
|
8200
|
-
},
|
|
8209
|
+
const i = Math.min(a2, Math.max(0, 1 - Math.floor(Math.log10(o))));
|
|
8210
|
+
return Number((r + o * r2).toFixed(i));
|
|
8211
|
+
}, s0 = ({ layerId: e, title: t, layout: r = "collapsible", preview: a }) => {
|
|
8201
8212
|
const o = H(), i = $(o), l = k(), { Switch: s } = B();
|
|
8202
8213
|
if (!i) return null;
|
|
8203
8214
|
const c = e === void 0 ? i.spec.layers[0] : i.spec.layers.find((D) => D.id === e);
|
|
@@ -8264,7 +8275,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8264
8275
|
})
|
|
8265
8276
|
] })
|
|
8266
8277
|
});
|
|
8267
|
-
},
|
|
8278
|
+
}, i2 = (e) => /* @__PURE__ */ m(x, {
|
|
8268
8279
|
viewBox: "0 0 16 16",
|
|
8269
8280
|
...e,
|
|
8270
8281
|
children: [/* @__PURE__ */ n("path", {
|
|
@@ -8276,7 +8287,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8276
8287
|
fillOpacity: "0.3",
|
|
8277
8288
|
d: "M5.744 5.565 0 11.826V8l5.744-6.957 4.718 2.087L16 0v6.957l-5.538 4z"
|
|
8278
8289
|
})]
|
|
8279
|
-
}),
|
|
8290
|
+
}), l2 = (e) => /* @__PURE__ */ n(x, {
|
|
8280
8291
|
viewBox: "0 0 16 16",
|
|
8281
8292
|
...e,
|
|
8282
8293
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8318,7 +8329,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8318
8329
|
})
|
|
8319
8330
|
]
|
|
8320
8331
|
})
|
|
8321
|
-
}),
|
|
8332
|
+
}), s2 = (e) => /* @__PURE__ */ n(x, {
|
|
8322
8333
|
viewBox: "0 0 16 16",
|
|
8323
8334
|
...e,
|
|
8324
8335
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8333,7 +8344,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8333
8344
|
d: "M0 12.445h4.267V.52A.52.52 0 0 0 3.748 0H.518A.52.52 0 0 0 0 .519zM5.867 7.111h4.266V.52A.52.52 0 0 0 9.615 0h-3.23a.52.52 0 0 0-.518.519zM11.733 9.481H16V.52A.52.52 0 0 0 15.482 0h-3.23a.52.52 0 0 0-.519.519z"
|
|
8334
8345
|
})]
|
|
8335
8346
|
})
|
|
8336
|
-
}),
|
|
8347
|
+
}), c2 = (e) => /* @__PURE__ */ n(x, {
|
|
8337
8348
|
viewBox: "0 0 16 16",
|
|
8338
8349
|
...e,
|
|
8339
8350
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8348,7 +8359,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8348
8359
|
d: "M0 7.037c0-.286.232-.518.519-.518h3.23c.286 0 .518.232.518.518v5.408H0zM5.867 7.111h4.266V4.074a.52.52 0 0 0-.518-.518h-3.23a.52.52 0 0 0-.518.518zM11.733 9.481H16V.52A.52.52 0 0 0 15.482 0h-3.23a.52.52 0 0 0-.519.519z"
|
|
8349
8360
|
})]
|
|
8350
8361
|
})
|
|
8351
|
-
}),
|
|
8362
|
+
}), d2 = (e) => /* @__PURE__ */ m(x, {
|
|
8352
8363
|
viewBox: "0 0 16 16",
|
|
8353
8364
|
...e,
|
|
8354
8365
|
children: [
|
|
@@ -8387,7 +8398,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8387
8398
|
rx: ".533"
|
|
8388
8399
|
})
|
|
8389
8400
|
]
|
|
8390
|
-
}),
|
|
8401
|
+
}), u2 = (e) => /* @__PURE__ */ m(x, {
|
|
8391
8402
|
viewBox: "0 0 16 16",
|
|
8392
8403
|
...e,
|
|
8393
8404
|
children: [/* @__PURE__ */ n("path", {
|
|
@@ -8399,7 +8410,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8399
8410
|
fillOpacity: "0.3",
|
|
8400
8411
|
d: "M0 12.445h4.267V.52A.52.52 0 0 0 3.748 0H.518A.52.52 0 0 0 0 .519zM5.867 7.111h4.266V.52A.52.52 0 0 0 9.615 0h-3.23a.52.52 0 0 0-.518.519zM11.733 9.481H16V.52A.52.52 0 0 0 15.482 0h-3.23a.52.52 0 0 0-.519.519z"
|
|
8401
8412
|
})]
|
|
8402
|
-
}),
|
|
8413
|
+
}), h2 = (e) => /* @__PURE__ */ m(x, {
|
|
8403
8414
|
viewBox: "0 0 16 16",
|
|
8404
8415
|
...e,
|
|
8405
8416
|
children: [/* @__PURE__ */ n("path", {
|
|
@@ -8411,7 +8422,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8411
8422
|
fillOpacity: "0.3",
|
|
8412
8423
|
d: "M0 7.037c0-.286.232-.518.519-.518h3.23c.286 0 .518.232.518.518v5.408H0zM5.867 7.111h4.266V4.074a.52.52 0 0 0-.518-.518h-3.23a.52.52 0 0 0-.518.518zM11.733 9.481H16V.52A.52.52 0 0 0 15.482 0h-3.23a.52.52 0 0 0-.519.519z"
|
|
8413
8424
|
})]
|
|
8414
|
-
}),
|
|
8425
|
+
}), p2 = (e) => /* @__PURE__ */ m(x, {
|
|
8415
8426
|
viewBox: "0 0 16 16",
|
|
8416
8427
|
...e,
|
|
8417
8428
|
children: [/* @__PURE__ */ m("g", {
|
|
@@ -8485,7 +8496,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8485
8496
|
})
|
|
8486
8497
|
]
|
|
8487
8498
|
})]
|
|
8488
|
-
}),
|
|
8499
|
+
}), m2 = (e) => /* @__PURE__ */ n(x, {
|
|
8489
8500
|
viewBox: "0 0 16 16",
|
|
8490
8501
|
...e,
|
|
8491
8502
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8520,7 +8531,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8520
8531
|
})
|
|
8521
8532
|
]
|
|
8522
8533
|
})
|
|
8523
|
-
}),
|
|
8534
|
+
}), g2 = (e) => /* @__PURE__ */ n(x, {
|
|
8524
8535
|
viewBox: "0 0 16 16",
|
|
8525
8536
|
...e,
|
|
8526
8537
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8597,7 +8608,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8597
8608
|
})
|
|
8598
8609
|
]
|
|
8599
8610
|
})
|
|
8600
|
-
}),
|
|
8611
|
+
}), v2 = (e) => /* @__PURE__ */ n(x, {
|
|
8601
8612
|
viewBox: "0 0 16 16",
|
|
8602
8613
|
...e,
|
|
8603
8614
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8674,7 +8685,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8674
8685
|
]
|
|
8675
8686
|
})]
|
|
8676
8687
|
})
|
|
8677
|
-
}),
|
|
8688
|
+
}), f2 = (e) => /* @__PURE__ */ m(x, {
|
|
8678
8689
|
viewBox: "0 0 16 16",
|
|
8679
8690
|
...e,
|
|
8680
8691
|
children: [
|
|
@@ -8696,7 +8707,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8696
8707
|
d: "M15.999 8a8 8 0 0 1-7.588 7.989l-.412.01V8z"
|
|
8697
8708
|
})
|
|
8698
8709
|
]
|
|
8699
|
-
}),
|
|
8710
|
+
}), b2 = (e) => /* @__PURE__ */ n(x, {
|
|
8700
8711
|
viewBox: "0 0 16 16",
|
|
8701
8712
|
...e,
|
|
8702
8713
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8713,7 +8724,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8713
8724
|
strokeWidth: "1.2"
|
|
8714
8725
|
})]
|
|
8715
8726
|
})
|
|
8716
|
-
}),
|
|
8727
|
+
}), C2 = (e) => /* @__PURE__ */ m(x, {
|
|
8717
8728
|
viewBox: "0 0 16 16",
|
|
8718
8729
|
...e,
|
|
8719
8730
|
children: [/* @__PURE__ */ n("polygon", {
|
|
@@ -8728,7 +8739,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8728
8739
|
fill: "currentColor",
|
|
8729
8740
|
fillOpacity: "0.6"
|
|
8730
8741
|
})]
|
|
8731
|
-
}),
|
|
8742
|
+
}), y2 = (e) => /* @__PURE__ */ n(x, {
|
|
8732
8743
|
viewBox: "0 0 16 16",
|
|
8733
8744
|
...e,
|
|
8734
8745
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8783,7 +8794,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8783
8794
|
})
|
|
8784
8795
|
]
|
|
8785
8796
|
})
|
|
8786
|
-
}),
|
|
8797
|
+
}), S2 = (e) => /* @__PURE__ */ n(x, {
|
|
8787
8798
|
viewBox: "0 0 16 16",
|
|
8788
8799
|
...e,
|
|
8789
8800
|
children: /* @__PURE__ */ n("path", {
|
|
@@ -8791,7 +8802,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8791
8802
|
fillOpacity: "0.75",
|
|
8792
8803
|
d: "M8.4 7.31 8.4 1.01A7 7 0 0 1 13.85 4.16ZM8.8 8 13.64 5.2A6.3 6.3 0 0 1 13.64 10.8ZM8.4 8.69 12.64 11.14A5.6 5.6 0 0 1 8.4 13.59ZM7.6 8.69 7.6 12.78A4.8 4.8 0 0 1 4.06 10.74ZM7.2 8 4.27 9.69A4.1 4.1 0 0 1 4.27 6.31ZM7.6 7.31 5.19 5.92A3.5 3.5 0 0 1 7.6 4.52Z"
|
|
8793
8804
|
})
|
|
8794
|
-
}),
|
|
8805
|
+
}), x2 = (e) => /* @__PURE__ */ n(x, {
|
|
8795
8806
|
viewBox: "0 0 16 16",
|
|
8796
8807
|
...e,
|
|
8797
8808
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8804,7 +8815,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8804
8815
|
d: "M8.4 7.31 8.4 3.82A4.2 4.2 0 0 1 11.42 5.56ZM8.8 8 11.46 6.47A3.78 3.78 0 0 1 11.46 9.53ZM8.4 8.69 10.69 10.01A3.36 3.36 0 0 1 8.4 11.34ZM7.6 8.69 7.6 10.85A2.88 2.88 0 0 1 5.73 9.77ZM7.2 8 5.7 8.87A2.46 2.46 0 0 1 5.7 7.13ZM7.6 7.31 6.41 6.62A2.1 2.1 0 0 1 7.6 5.94Z"
|
|
8805
8816
|
})]
|
|
8806
8817
|
})
|
|
8807
|
-
}),
|
|
8818
|
+
}), w2 = (e) => /* @__PURE__ */ n(x, {
|
|
8808
8819
|
viewBox: "0 0 16 16",
|
|
8809
8820
|
...e,
|
|
8810
8821
|
children: /* @__PURE__ */ m("g", {
|
|
@@ -8848,10 +8859,10 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8848
8859
|
})
|
|
8849
8860
|
]
|
|
8850
8861
|
})
|
|
8851
|
-
}),
|
|
8862
|
+
}), T2 = 0.55, A2 = 0.15, Lt = [
|
|
8852
8863
|
{
|
|
8853
8864
|
name: "column",
|
|
8854
|
-
icon:
|
|
8865
|
+
icon: d2,
|
|
8855
8866
|
summary: {
|
|
8856
8867
|
coordType: "cartesian",
|
|
8857
8868
|
geom: "bar",
|
|
@@ -8860,7 +8871,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8860
8871
|
},
|
|
8861
8872
|
{
|
|
8862
8873
|
name: "columnStacked",
|
|
8863
|
-
icon:
|
|
8874
|
+
icon: h2,
|
|
8864
8875
|
summary: {
|
|
8865
8876
|
coordType: "cartesian",
|
|
8866
8877
|
geom: "bar",
|
|
@@ -8869,7 +8880,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8869
8880
|
},
|
|
8870
8881
|
{
|
|
8871
8882
|
name: "columnStackedFill",
|
|
8872
|
-
icon:
|
|
8883
|
+
icon: u2,
|
|
8873
8884
|
summary: {
|
|
8874
8885
|
coordType: "cartesian",
|
|
8875
8886
|
geom: "bar",
|
|
@@ -8878,7 +8889,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8878
8889
|
},
|
|
8879
8890
|
{
|
|
8880
8891
|
name: "bar",
|
|
8881
|
-
icon:
|
|
8892
|
+
icon: l2,
|
|
8882
8893
|
summary: {
|
|
8883
8894
|
coordType: "flip",
|
|
8884
8895
|
geom: "bar",
|
|
@@ -8887,7 +8898,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8887
8898
|
},
|
|
8888
8899
|
{
|
|
8889
8900
|
name: "barStacked",
|
|
8890
|
-
icon:
|
|
8901
|
+
icon: c2,
|
|
8891
8902
|
summary: {
|
|
8892
8903
|
coordType: "flip",
|
|
8893
8904
|
geom: "bar",
|
|
@@ -8896,7 +8907,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8896
8907
|
},
|
|
8897
8908
|
{
|
|
8898
8909
|
name: "barStackedFill",
|
|
8899
|
-
icon:
|
|
8910
|
+
icon: s2,
|
|
8900
8911
|
summary: {
|
|
8901
8912
|
coordType: "flip",
|
|
8902
8913
|
geom: "bar",
|
|
@@ -8905,7 +8916,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8905
8916
|
},
|
|
8906
8917
|
{
|
|
8907
8918
|
name: "line",
|
|
8908
|
-
icon:
|
|
8919
|
+
icon: v2,
|
|
8909
8920
|
summary: {
|
|
8910
8921
|
coordType: "cartesian",
|
|
8911
8922
|
geom: "line",
|
|
@@ -8914,7 +8925,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8914
8925
|
},
|
|
8915
8926
|
{
|
|
8916
8927
|
name: "areaStacked",
|
|
8917
|
-
icon:
|
|
8928
|
+
icon: i2,
|
|
8918
8929
|
summary: {
|
|
8919
8930
|
coordType: "cartesian",
|
|
8920
8931
|
geom: "area",
|
|
@@ -8923,7 +8934,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8923
8934
|
},
|
|
8924
8935
|
{
|
|
8925
8936
|
name: "combo",
|
|
8926
|
-
icon:
|
|
8937
|
+
icon: p2,
|
|
8927
8938
|
summary: {
|
|
8928
8939
|
coordType: "cartesian",
|
|
8929
8940
|
comboType: "grouped-bars"
|
|
@@ -8931,7 +8942,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8931
8942
|
},
|
|
8932
8943
|
{
|
|
8933
8944
|
name: "scatter",
|
|
8934
|
-
icon:
|
|
8945
|
+
icon: w2,
|
|
8935
8946
|
summary: {
|
|
8936
8947
|
coordType: "cartesian",
|
|
8937
8948
|
geom: "point",
|
|
@@ -8940,7 +8951,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8940
8951
|
},
|
|
8941
8952
|
{
|
|
8942
8953
|
name: "pie",
|
|
8943
|
-
icon:
|
|
8954
|
+
icon: f2,
|
|
8944
8955
|
summary: {
|
|
8945
8956
|
coordType: "polar",
|
|
8946
8957
|
geom: "bar",
|
|
@@ -8951,29 +8962,29 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8951
8962
|
},
|
|
8952
8963
|
{
|
|
8953
8964
|
name: "donut",
|
|
8954
|
-
icon:
|
|
8965
|
+
icon: m2,
|
|
8955
8966
|
summary: {
|
|
8956
8967
|
coordType: "polar",
|
|
8957
8968
|
geom: "bar",
|
|
8958
8969
|
position: "fill",
|
|
8959
8970
|
theta: "y",
|
|
8960
|
-
innerRadius:
|
|
8971
|
+
innerRadius: T2
|
|
8961
8972
|
}
|
|
8962
8973
|
},
|
|
8963
8974
|
{
|
|
8964
8975
|
name: "radialBar",
|
|
8965
|
-
icon:
|
|
8976
|
+
icon: y2,
|
|
8966
8977
|
summary: {
|
|
8967
8978
|
coordType: "polar",
|
|
8968
8979
|
geom: "bar",
|
|
8969
8980
|
position: "stack",
|
|
8970
8981
|
theta: "y",
|
|
8971
|
-
innerRadius:
|
|
8982
|
+
innerRadius: A2
|
|
8972
8983
|
}
|
|
8973
8984
|
},
|
|
8974
8985
|
{
|
|
8975
8986
|
name: "rose",
|
|
8976
|
-
icon:
|
|
8987
|
+
icon: S2,
|
|
8977
8988
|
summary: {
|
|
8978
8989
|
coordType: "polar",
|
|
8979
8990
|
geom: "bar",
|
|
@@ -8984,7 +8995,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8984
8995
|
},
|
|
8985
8996
|
{
|
|
8986
8997
|
name: "roseStacked",
|
|
8987
|
-
icon:
|
|
8998
|
+
icon: x2,
|
|
8988
8999
|
summary: {
|
|
8989
9000
|
coordType: "polar",
|
|
8990
9001
|
geom: "bar",
|
|
@@ -8995,7 +9006,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8995
9006
|
},
|
|
8996
9007
|
{
|
|
8997
9008
|
name: "radar",
|
|
8998
|
-
icon:
|
|
9009
|
+
icon: b2,
|
|
8999
9010
|
summary: {
|
|
9000
9011
|
coordType: "polar",
|
|
9001
9012
|
geom: "line",
|
|
@@ -9006,7 +9017,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9006
9017
|
},
|
|
9007
9018
|
{
|
|
9008
9019
|
name: "radarFilled",
|
|
9009
|
-
icon:
|
|
9020
|
+
icon: C2,
|
|
9010
9021
|
summary: {
|
|
9011
9022
|
coordType: "polar",
|
|
9012
9023
|
geom: "area",
|
|
@@ -9017,14 +9028,14 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9017
9028
|
},
|
|
9018
9029
|
{
|
|
9019
9030
|
name: "heatmap",
|
|
9020
|
-
icon:
|
|
9031
|
+
icon: g2,
|
|
9021
9032
|
summary: {
|
|
9022
9033
|
coordType: "cartesian",
|
|
9023
9034
|
geom: "tile",
|
|
9024
9035
|
position: "identity"
|
|
9025
9036
|
}
|
|
9026
9037
|
}
|
|
9027
|
-
],
|
|
9038
|
+
], k2 = 0.05, L2 = (e) => e === null ? null : Lt.find((t) => I2(t.summary, e)) ?? null, P2 = (e, t) => {
|
|
9028
9039
|
const { summary: r } = e;
|
|
9029
9040
|
return t === null || ve(r) ? r : r.position === "dodge" && Ba(t) ? {
|
|
9030
9041
|
...r,
|
|
@@ -9033,11 +9044,11 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9033
9044
|
...r,
|
|
9034
9045
|
innerRadius: t.innerRadius
|
|
9035
9046
|
};
|
|
9036
|
-
}, Ba = (e) => !ve(e) && e.geom === "bar" && e.position === "identity",
|
|
9047
|
+
}, Ba = (e) => !ve(e) && e.geom === "bar" && e.position === "identity", I2 = (e, t) => {
|
|
9037
9048
|
if (ve(e) || ve(t)) return ve(e) && ve(t);
|
|
9038
9049
|
const r = e.position === t.position || e.position === "dodge" && Ba(t);
|
|
9039
9050
|
return e.coordType !== t.coordType || e.geom !== t.geom || !r ? !1 : e.coordType !== "polar" || t.coordType !== "polar" ? !0 : e.theta === t.theta && Qe(e.innerRadius) === Qe(t.innerRadius);
|
|
9040
|
-
}, Qe = (e) => e >=
|
|
9051
|
+
}, Qe = (e) => e >= k2, E2 = 3, c0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9041
9052
|
const a = H(), o = $(a), i = k(), { RadioGrid: l } = B(), s = M(() => Lt.map(({ name: h, icon: v }) => ({
|
|
9042
9053
|
value: h,
|
|
9043
9054
|
label: i(`editor.graphTypes.${h}`),
|
|
@@ -9045,9 +9056,9 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9045
9056
|
isDisabled: h === "combo" && !Wi(o?.spec) || h === "heatmap" && !Ki(o?.spec)
|
|
9046
9057
|
})), [i, o]);
|
|
9047
9058
|
if (!o) return null;
|
|
9048
|
-
const c = gr(o.spec), u =
|
|
9059
|
+
const c = gr(o.spec), u = L2(c), d = (h) => {
|
|
9049
9060
|
const v = Lt.find((p) => p.name === h);
|
|
9050
|
-
v && a.commands.dispatch(new ir(
|
|
9061
|
+
v && a.commands.dispatch(new ir(P2(v, c)));
|
|
9051
9062
|
};
|
|
9052
9063
|
return /* @__PURE__ */ n(W, {
|
|
9053
9064
|
title: e ?? i("editor.graphPanel.graphTypeSection.title"),
|
|
@@ -9056,7 +9067,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9056
9067
|
children: /* @__PURE__ */ n(l, {
|
|
9057
9068
|
value: u?.name ?? "",
|
|
9058
9069
|
options: s,
|
|
9059
|
-
columns:
|
|
9070
|
+
columns: E2,
|
|
9060
9071
|
onChange: d,
|
|
9061
9072
|
ariaLabel: i("editor.graphPanel.graphTypeSection.title")
|
|
9062
9073
|
})
|
|
@@ -9065,10 +9076,10 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9065
9076
|
"solid",
|
|
9066
9077
|
"dashed",
|
|
9067
9078
|
"dotted"
|
|
9068
|
-
],
|
|
9079
|
+
], M2 = 8, N2 = 0, d0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9069
9080
|
const a = H(), o = $(a), i = k(), { Slider: l, Switch: s, ToggleGroup: c } = B(), { colorScheme: u } = nt();
|
|
9070
9081
|
if (!o) return null;
|
|
9071
|
-
const d = o.guides.axes.filter(
|
|
9082
|
+
const d = o.guides.axes.filter(O2);
|
|
9072
9083
|
if (d.length === 0) return null;
|
|
9073
9084
|
const h = o.coordSystem.type !== "polar", v = d.some((C) => C.gridVisible), p = yl(at({ colorScheme: u }).chromeReaders(o.chrome), "y"), g = Hn.map((C) => ({
|
|
9074
9085
|
value: C,
|
|
@@ -9095,7 +9106,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9095
9106
|
layout: t,
|
|
9096
9107
|
preview: r,
|
|
9097
9108
|
children: /* @__PURE__ */ m(q, { children: [d.map((C) => /* @__PURE__ */ n(S, {
|
|
9098
|
-
label: i(
|
|
9109
|
+
label: i(R2(C)),
|
|
9099
9110
|
children: /* @__PURE__ */ n(s, {
|
|
9100
9111
|
isChecked: C.gridVisible,
|
|
9101
9112
|
onChange: f(C.scaleAestheticKey)
|
|
@@ -9111,8 +9122,8 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9111
9122
|
label: i("editor.graphPanel.gridSection.gridThickness"),
|
|
9112
9123
|
children: /* @__PURE__ */ n(l, {
|
|
9113
9124
|
value: p.strokeWidth,
|
|
9114
|
-
min:
|
|
9115
|
-
max:
|
|
9125
|
+
min: N2,
|
|
9126
|
+
max: M2,
|
|
9116
9127
|
step: 0.5,
|
|
9117
9128
|
formatValue: dt,
|
|
9118
9129
|
onChange: P,
|
|
@@ -9120,21 +9131,21 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9120
9131
|
})
|
|
9121
9132
|
})] })] })
|
|
9122
9133
|
});
|
|
9123
|
-
},
|
|
9134
|
+
}, O2 = (e) => e.scaleAestheticKey === "x" || e.scaleAestheticKey === "y", R2 = (e) => e.geometry === "radial" ? "editor.graphPanel.gridSection.rings" : e.geometry === "circular" ? "editor.graphPanel.gridSection.spokes" : e.scaleAestheticKey === "x" ? "editor.graphPanel.gridSection.verticalGridLines" : "editor.graphPanel.gridSection.horizontalGridLines", D2 = "total", Va = [
|
|
9124
9135
|
"total",
|
|
9125
9136
|
"average",
|
|
9126
9137
|
"current"
|
|
9127
|
-
],
|
|
9138
|
+
], z2 = ["total"], Bn = ["previous", "first"], Vn = [
|
|
9128
9139
|
"auto",
|
|
9129
9140
|
"small",
|
|
9130
9141
|
"medium",
|
|
9131
9142
|
"large"
|
|
9132
|
-
],
|
|
9143
|
+
], u0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9133
9144
|
const a = H(), o = $(a), i = k(), { Switch: l, ToggleGroup: s } = B();
|
|
9134
9145
|
if (!o) return null;
|
|
9135
9146
|
const c = o.config.headline, u = c.show !== "none", d = o.coordSystem, h = d.type === "polar", v = d.type === "polar" && d.innerRadius > 0, p = o.layers.some((T) => T.summary.grandTotal !== void 0);
|
|
9136
9147
|
if (h && !p) return null;
|
|
9137
|
-
const g = h ?
|
|
9148
|
+
const g = h ? z2 : Va, f = o.guides.headline, y = f?.kind === "perGroup" && f.items.some((T) => T.comparison !== null), P = g.map((T) => ({
|
|
9138
9149
|
value: T,
|
|
9139
9150
|
label: i(`editor.graphPanel.headlineNumberSection.metrics.${T}`)
|
|
9140
9151
|
})), C = Bn.map((T) => ({
|
|
@@ -9150,7 +9161,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9150
9161
|
value: "center",
|
|
9151
9162
|
label: i("editor.graphPanel.headlineNumberSection.position.center")
|
|
9152
9163
|
}], R = (T) => {
|
|
9153
|
-
a.commands.dispatch(new rn({ show: T ?
|
|
9164
|
+
a.commands.dispatch(new rn({ show: T ? D2 : "none" }));
|
|
9154
9165
|
}, F = (T) => {
|
|
9155
9166
|
const b = g.find((Z) => Z === T);
|
|
9156
9167
|
b && a.commands.dispatch(new rn({ show: b }));
|
|
@@ -9166,7 +9177,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9166
9177
|
return /* @__PURE__ */ n(W, {
|
|
9167
9178
|
title: e ?? i("editor.graphPanel.headlineNumberSection.title"),
|
|
9168
9179
|
layout: t,
|
|
9169
|
-
preview: r ??
|
|
9180
|
+
preview: r ?? _2(i, c.show),
|
|
9170
9181
|
children: /* @__PURE__ */ m(q, { children: [/* @__PURE__ */ n(S, {
|
|
9171
9182
|
label: i("editor.graphPanel.headlineNumberSection.toggle"),
|
|
9172
9183
|
children: /* @__PURE__ */ n(l, {
|
|
@@ -9210,7 +9221,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9210
9221
|
})
|
|
9211
9222
|
] })] })
|
|
9212
9223
|
});
|
|
9213
|
-
},
|
|
9224
|
+
}, _2 = (e, t) => {
|
|
9214
9225
|
const r = Va.find((a) => a === t);
|
|
9215
9226
|
return r && e(`editor.graphPanel.headlineNumberSection.metrics.${r}`);
|
|
9216
9227
|
}, ft = [
|
|
@@ -9228,7 +9239,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9228
9239
|
"auto",
|
|
9229
9240
|
"pill",
|
|
9230
9241
|
"direct"
|
|
9231
|
-
],
|
|
9242
|
+
], h0 = ({ positions: e, title: t, layout: r = "collapsible", preview: a }) => {
|
|
9232
9243
|
const o = H(), i = $(o), l = k(), { ToggleGroup: s } = B();
|
|
9233
9244
|
if (!i) return null;
|
|
9234
9245
|
const c = i.config.legend.position, u = e ?? ft, d = i.guides.legends.drawn[0], h = Ui({
|
|
@@ -9290,7 +9301,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9290
9301
|
})
|
|
9291
9302
|
] })
|
|
9292
9303
|
});
|
|
9293
|
-
},
|
|
9304
|
+
}, F2 = 1, H2 = 20, B2 = 0.5, Ga = ({ layerId: e }) => {
|
|
9294
9305
|
const t = H(), r = $(t), { Slider: a } = B(), o = Yt(r, e);
|
|
9295
9306
|
if (!r) return null;
|
|
9296
9307
|
const i = (l) => {
|
|
@@ -9301,22 +9312,22 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9301
9312
|
t.commands.dispatch(s, { transient: !0 });
|
|
9302
9313
|
};
|
|
9303
9314
|
return /* @__PURE__ */ n(a, {
|
|
9304
|
-
value: o?.get("size") ??
|
|
9305
|
-
min:
|
|
9306
|
-
max:
|
|
9307
|
-
step:
|
|
9315
|
+
value: o?.get("size") ?? Wo,
|
|
9316
|
+
min: F2,
|
|
9317
|
+
max: H2,
|
|
9318
|
+
step: B2,
|
|
9308
9319
|
formatValue: dt,
|
|
9309
9320
|
onChange: i,
|
|
9310
9321
|
onCommit: t.commands.seal
|
|
9311
9322
|
});
|
|
9312
|
-
},
|
|
9323
|
+
}, V2 = 1, G2 = 10, $2 = 0.1, U2 = [
|
|
9313
9324
|
"gap",
|
|
9314
9325
|
"zero",
|
|
9315
9326
|
"connect"
|
|
9316
|
-
],
|
|
9327
|
+
], p0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9317
9328
|
const a = H(), o = $(a), i = k(), { Select: l, Slider: s, Switch: c, ToggleGroup: u } = B(), d = o?.spec.layers ?? [], h = hr(d, "line", "area"), v = Yt(o, h?.id ?? null);
|
|
9318
9329
|
if (!o || !h) return null;
|
|
9319
|
-
const p = o.coordSystem.type === "polar", g =
|
|
9330
|
+
const p = o.coordSystem.type === "polar", g = q2(i, h), f = K2(h, d), y = Un(o.spec, h.geom, "strokeWidth", h.id), P = typeof y == "number", C = h.geom === "line" ? h : void 0, A = [{
|
|
9320
9331
|
value: "auto",
|
|
9321
9332
|
label: i("editor.graphPanel.numberFormat.options.auto")
|
|
9322
9333
|
}, {
|
|
@@ -9338,7 +9349,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9338
9349
|
interpolate: T ? "catmull-rom" : "linear"
|
|
9339
9350
|
}));
|
|
9340
9351
|
}, D = (T) => {
|
|
9341
|
-
const b = v?.get("strokeWidth") ??
|
|
9352
|
+
const b = v?.get("strokeWidth") ?? Ko;
|
|
9342
9353
|
a.commands.dispatch(new an({
|
|
9343
9354
|
layerId: h.id,
|
|
9344
9355
|
lineWidth: T === "custom" ? b : null
|
|
@@ -9349,7 +9360,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9349
9360
|
lineWidth: T
|
|
9350
9361
|
}), { transient: !0 });
|
|
9351
9362
|
}, N = (T) => {
|
|
9352
|
-
const b =
|
|
9363
|
+
const b = W2(T);
|
|
9353
9364
|
b && a.commands.dispatch(new yi({
|
|
9354
9365
|
layerId: h.id,
|
|
9355
9366
|
missingValues: b
|
|
@@ -9397,9 +9408,9 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9397
9408
|
label: i("editor.graphPanel.numberFormat.valueLabel"),
|
|
9398
9409
|
children: /* @__PURE__ */ n(s, {
|
|
9399
9410
|
value: y,
|
|
9400
|
-
min:
|
|
9401
|
-
max:
|
|
9402
|
-
step:
|
|
9411
|
+
min: V2,
|
|
9412
|
+
max: G2,
|
|
9413
|
+
step: $2,
|
|
9403
9414
|
formatValue: dt,
|
|
9404
9415
|
onChange: E,
|
|
9405
9416
|
onCommit: a.commands.seal
|
|
@@ -9415,7 +9426,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9415
9426
|
})
|
|
9416
9427
|
] })
|
|
9417
9428
|
});
|
|
9418
|
-
},
|
|
9429
|
+
}, W2 = (e) => U2.find((t) => t === e), Un = (e, t, r, a) => al(e.styles.overrides, Gi(t, a))?.[r], K2 = (e, t) => bt(t, "point").find((r) => pr(r, [e])), q2 = (e, t) => {
|
|
9419
9430
|
const r = [{
|
|
9420
9431
|
value: "gap",
|
|
9421
9432
|
label: e("editor.graphPanel.treatEmptyValues.leaveGap.label")
|
|
@@ -9427,26 +9438,26 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9427
9438
|
value: "connect",
|
|
9428
9439
|
label: e("editor.graphPanel.treatEmptyValues.connectGaps.label")
|
|
9429
9440
|
}), t.geom === "area" ? r.filter((a) => a.value !== "gap") : r;
|
|
9430
|
-
}, Pt = "\0none",
|
|
9441
|
+
}, Pt = "\0none", Z2 = [
|
|
9431
9442
|
"x",
|
|
9432
9443
|
"y",
|
|
9433
9444
|
"color",
|
|
9434
9445
|
"size",
|
|
9435
9446
|
"label"
|
|
9436
|
-
],
|
|
9447
|
+
], X2 = {
|
|
9437
9448
|
x: "editor.graphPanel.mappingSection.x",
|
|
9438
9449
|
y: "editor.graphPanel.mappingSection.y",
|
|
9439
9450
|
color: "editor.graphPanel.mappingSection.color",
|
|
9440
9451
|
size: "editor.graphPanel.mappingSection.size",
|
|
9441
9452
|
label: "editor.graphPanel.mappingSection.label"
|
|
9442
|
-
},
|
|
9443
|
-
const r = H(), a = $(r), o = k(), { Select: i } = B(), l = o("editor.graphPanel.mappingSection.none"), s = a?.spec, c = M(() => s === void 0 ? [] : gl(s,
|
|
9453
|
+
}, m0 = ({ title: e, layout: t = "collapsible" }) => {
|
|
9454
|
+
const r = H(), a = $(r), o = k(), { Select: i } = B(), l = o("editor.graphPanel.mappingSection.none"), s = a?.spec, c = M(() => s === void 0 ? [] : gl(s, Z2).map(({ aesthetic: u, variables: d, isRequired: h }) => {
|
|
9444
9455
|
const v = vl(s.mapping, u);
|
|
9445
9456
|
return {
|
|
9446
9457
|
aesthetic: u,
|
|
9447
|
-
label: o(
|
|
9458
|
+
label: o(X2[u]),
|
|
9448
9459
|
value: v ?? (h ? null : Pt),
|
|
9449
|
-
options:
|
|
9460
|
+
options: j2(d, v, h ? null : l),
|
|
9450
9461
|
chooseColumn: (p) => {
|
|
9451
9462
|
r.commands.dispatch(new Si({
|
|
9452
9463
|
aesthetic: u,
|
|
@@ -9473,7 +9484,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9473
9484
|
})
|
|
9474
9485
|
}, u)) })
|
|
9475
9486
|
}) : null;
|
|
9476
|
-
},
|
|
9487
|
+
}, j2 = (e, t, r) => {
|
|
9477
9488
|
const a = t !== null && !e.includes(t) ? [t, ...e] : e;
|
|
9478
9489
|
return [...r === null ? [] : [{
|
|
9479
9490
|
value: Pt,
|
|
@@ -9482,7 +9493,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9482
9493
|
value: o,
|
|
9483
9494
|
label: o
|
|
9484
9495
|
}))];
|
|
9485
|
-
},
|
|
9496
|
+
}, Y2 = "k", J2 = 2, Q2 = 0, em = 5, It = [
|
|
9486
9497
|
{
|
|
9487
9498
|
value: "k",
|
|
9488
9499
|
labelKey: "thousands"
|
|
@@ -9495,10 +9506,10 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9495
9506
|
value: "b",
|
|
9496
9507
|
labelKey: "billions"
|
|
9497
9508
|
}
|
|
9498
|
-
],
|
|
9509
|
+
], tm = ["auto", "none"], g0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9499
9510
|
const a = H(), o = $(a), i = k(), { NumberField: l, ToggleGroup: s } = B();
|
|
9500
9511
|
if (!o) return null;
|
|
9501
|
-
const { abbreviation: c, decimals: u } = o.config.numberFormat, d =
|
|
9512
|
+
const { abbreviation: c, decimals: u } = o.config.numberFormat, d = nm(c) !== void 0, h = u !== "auto", v = (A) => A.map((L) => ({
|
|
9502
9513
|
value: L,
|
|
9503
9514
|
label: i(`editor.graphPanel.numberFormat.options.${L}`)
|
|
9504
9515
|
})), p = It.map(({ value: A, labelKey: L }) => ({
|
|
@@ -9507,13 +9518,13 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9507
9518
|
})), g = (A) => {
|
|
9508
9519
|
a.commands.dispatch(new xi({ abbreviation: A }));
|
|
9509
9520
|
}, f = (A) => {
|
|
9510
|
-
const L =
|
|
9511
|
-
g(L ??
|
|
9521
|
+
const L = tm.find((R) => R === A);
|
|
9522
|
+
g(L ?? Y2);
|
|
9512
9523
|
}, y = (A) => {
|
|
9513
9524
|
const L = It.find((R) => R.value === A);
|
|
9514
9525
|
L && g(L.value);
|
|
9515
9526
|
}, P = (A) => {
|
|
9516
|
-
a.commands.dispatch(new on({ decimals: A === "custom" ?
|
|
9527
|
+
a.commands.dispatch(new on({ decimals: A === "custom" ? J2 : "auto" }));
|
|
9517
9528
|
}, C = (A) => {
|
|
9518
9529
|
A !== null && a.commands.dispatch(new on({ decimals: A }), { transient: !0 });
|
|
9519
9530
|
};
|
|
@@ -9554,18 +9565,18 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9554
9565
|
label: i("editor.graphPanel.numberFormat.valueLabel"),
|
|
9555
9566
|
children: /* @__PURE__ */ n(l, {
|
|
9556
9567
|
value: u,
|
|
9557
|
-
min:
|
|
9558
|
-
max:
|
|
9568
|
+
min: Q2,
|
|
9569
|
+
max: em,
|
|
9559
9570
|
onChange: C,
|
|
9560
9571
|
onCommit: a.commands.seal
|
|
9561
9572
|
})
|
|
9562
9573
|
})
|
|
9563
9574
|
] })
|
|
9564
9575
|
});
|
|
9565
|
-
},
|
|
9576
|
+
}, nm = (e) => It.find((t) => t.value === e), v0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9566
9577
|
const a = $(H()), o = k();
|
|
9567
9578
|
if (!a) return null;
|
|
9568
|
-
const i =
|
|
9579
|
+
const i = rm(a.spec.layers);
|
|
9569
9580
|
return i ? /* @__PURE__ */ n(W, {
|
|
9570
9581
|
title: e ?? o("editor.graphPanel.pointSize.label"),
|
|
9571
9582
|
layout: t,
|
|
@@ -9575,10 +9586,10 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9575
9586
|
children: /* @__PURE__ */ n(Ga, { layerId: i.id })
|
|
9576
9587
|
}) })
|
|
9577
9588
|
}) : null;
|
|
9578
|
-
},
|
|
9589
|
+
}, rm = (e) => {
|
|
9579
9590
|
const t = bt(e, "line", "area");
|
|
9580
9591
|
return bt(e, "point").find((r) => !pr(r, t));
|
|
9581
|
-
},
|
|
9592
|
+
}, am = 0.9, om = 360, im = 0.05, lm = 15, f0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9582
9593
|
const a = H(), o = $(a), i = k(), { Slider: l } = B();
|
|
9583
9594
|
if (!o || o.spec.coords.coordType !== "polar") return null;
|
|
9584
9595
|
const { innerRadius: s, startAngle: c } = o.spec.coords.params, u = (h) => {
|
|
@@ -9595,8 +9606,8 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9595
9606
|
children: /* @__PURE__ */ n(l, {
|
|
9596
9607
|
value: s,
|
|
9597
9608
|
min: 0,
|
|
9598
|
-
max:
|
|
9599
|
-
step:
|
|
9609
|
+
max: am,
|
|
9610
|
+
step: im,
|
|
9600
9611
|
formatValue: Ha,
|
|
9601
9612
|
onChange: u,
|
|
9602
9613
|
onCommit: a.commands.seal
|
|
@@ -9606,15 +9617,15 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9606
9617
|
children: /* @__PURE__ */ n(l, {
|
|
9607
9618
|
value: c,
|
|
9608
9619
|
min: 0,
|
|
9609
|
-
max:
|
|
9610
|
-
step:
|
|
9611
|
-
formatValue:
|
|
9620
|
+
max: om - 1,
|
|
9621
|
+
step: lm,
|
|
9622
|
+
formatValue: Vp,
|
|
9612
9623
|
onChange: d,
|
|
9613
9624
|
onCommit: a.commands.seal
|
|
9614
9625
|
})
|
|
9615
9626
|
})] })
|
|
9616
9627
|
});
|
|
9617
|
-
},
|
|
9628
|
+
}, sm = (e) => /* @__PURE__ */ m(x, {
|
|
9618
9629
|
...e,
|
|
9619
9630
|
children: [
|
|
9620
9631
|
/* @__PURE__ */ n("path", {
|
|
@@ -9660,7 +9671,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9660
9671
|
fill: "currentColor"
|
|
9661
9672
|
})
|
|
9662
9673
|
]
|
|
9663
|
-
}),
|
|
9674
|
+
}), cm = (e) => M(() => {
|
|
9664
9675
|
if (e === null) return {
|
|
9665
9676
|
options: [],
|
|
9666
9677
|
findValue: () => {
|
|
@@ -9692,10 +9703,10 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9692
9703
|
"logarithmic",
|
|
9693
9704
|
"power",
|
|
9694
9705
|
"loess"
|
|
9695
|
-
],
|
|
9696
|
-
const a = H(), o = $(a), i = k(), { Select: l, Switch: s } = B(), { options: c, findValue: u } =
|
|
9706
|
+
], dm = "linear", b0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9707
|
+
const a = H(), o = $(a), i = k(), { Select: l, Switch: s } = B(), { options: c, findValue: u } = cm(o);
|
|
9697
9708
|
if (!o || o.coordSystem.type === "polar") return null;
|
|
9698
|
-
const d = il(o.spec.layers), h = tl(o.spec.layers), v = d?.stat.type === "smooth" ? d.stat.method :
|
|
9709
|
+
const d = il(o.spec.layers), h = tl(o.spec.layers), v = d?.stat.type === "smooth" ? d.stat.method : dm, p = um(h), g = Kn.map((L) => ({
|
|
9699
9710
|
value: L,
|
|
9700
9711
|
label: i(`editor.annotationsPanel.trendType.options.${L}`)
|
|
9701
9712
|
})), f = (L, R = {}) => {
|
|
@@ -9737,7 +9748,7 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9737
9748
|
}),
|
|
9738
9749
|
/* @__PURE__ */ n(S, {
|
|
9739
9750
|
label: i("editor.annotationsPanel.trendsAndAveragesSection.average"),
|
|
9740
|
-
icon: /* @__PURE__ */ n(
|
|
9751
|
+
icon: /* @__PURE__ */ n(sm, { size: "lg" }),
|
|
9741
9752
|
children: /* @__PURE__ */ n(s, {
|
|
9742
9753
|
isChecked: h !== void 0,
|
|
9743
9754
|
onChange: P
|
|
@@ -9755,36 +9766,36 @@ var Tp = "_40zvwv8", W = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9755
9766
|
})
|
|
9756
9767
|
] })
|
|
9757
9768
|
});
|
|
9758
|
-
},
|
|
9769
|
+
}, um = (e) => {
|
|
9759
9770
|
const t = e?.transforms.find((r) => r.transformType === "filter")?.options.value;
|
|
9760
9771
|
return t instanceof Date ? t.getTime() : t;
|
|
9761
9772
|
};
|
|
9762
9773
|
export {
|
|
9763
|
-
|
|
9764
|
-
|
|
9774
|
+
r0 as AppearanceSection,
|
|
9775
|
+
n0 as AxesPanel,
|
|
9765
9776
|
Dn as AxisSection,
|
|
9766
|
-
|
|
9777
|
+
a0 as BarSection,
|
|
9767
9778
|
A1 as Button,
|
|
9768
|
-
|
|
9779
|
+
o0 as CalloutsSection,
|
|
9769
9780
|
Np as CaptionSection,
|
|
9770
|
-
|
|
9771
|
-
|
|
9781
|
+
i0 as ComboSection,
|
|
9782
|
+
e0 as EditableGraphRenderer,
|
|
9772
9783
|
_a as EditorPanel,
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9784
|
+
t0 as ElementsPanel,
|
|
9785
|
+
l0 as GoalSection,
|
|
9786
|
+
s0 as GraphOptionsSection,
|
|
9787
|
+
c0 as GraphTypeSection,
|
|
9788
|
+
d0 as GridSection,
|
|
9789
|
+
u0 as HeadlineSection,
|
|
9779
9790
|
ls as IntlProvider,
|
|
9780
|
-
|
|
9781
|
-
|
|
9782
|
-
|
|
9791
|
+
h0 as LegendSection,
|
|
9792
|
+
p0 as LineSection,
|
|
9793
|
+
m0 as MappingSection,
|
|
9783
9794
|
I1 as NumberField,
|
|
9784
|
-
|
|
9795
|
+
g0 as NumberFormatSection,
|
|
9785
9796
|
gp as PANEL_ROOT_ATTRIBUTE,
|
|
9786
|
-
|
|
9787
|
-
|
|
9797
|
+
v0 as PointSection,
|
|
9798
|
+
f0 as PolarSection,
|
|
9788
9799
|
O1 as RadioGrid,
|
|
9789
9800
|
S as Row,
|
|
9790
9801
|
W as Section,
|
|
@@ -9794,11 +9805,11 @@ export {
|
|
|
9794
9805
|
zp as SubtitleSection,
|
|
9795
9806
|
tp as Switch,
|
|
9796
9807
|
ap as TextField,
|
|
9797
|
-
|
|
9798
|
-
|
|
9808
|
+
Hp as TextSizeSection,
|
|
9809
|
+
Bp as TitleSection,
|
|
9799
9810
|
lp as ToggleGroup,
|
|
9800
9811
|
Lp as ToggledSection,
|
|
9801
|
-
|
|
9812
|
+
b0 as TrendsAndAveragesSection,
|
|
9802
9813
|
B as useControls,
|
|
9803
9814
|
pp as usePanelExpansion,
|
|
9804
9815
|
H as usePanelGraph
|