@graphysdk/react-renderer 1.9.0-beta.1789480282040 → 1.9.0-beta.1789545386500
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.mjs +145 -145
- package/dist/{history-chords-B2TZO9S_.js → history-chords-DUMZMIc_.js} +162 -158
- package/dist/{history-chords-DK83-lsv.cjs → history-chords-kAwHzxZz.cjs} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.mjs +74 -73
- package/package.json +2 -2
package/dist/editable.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as ln, B as Ht, Bt as
|
|
1
|
+
import { $ as ln, B as Ht, Bt as mo, C as er, D as go, E as Se, F as vo, Ft as fo, G as tr, H as Bt, I as X, J as bo, K as yo, L as U, Lt as nr, Mt as Co, Nt as So, O as w, P as xo, Pt as wo, Q as To, R as $, S as Ao, T as ko, Tt as rr, U as ot, Ut as B, V as ar, Vt as H, W as Lo, Y as Po, Z as Io, _ as or, b as Vt, c as Eo, ct as Mo, d as No, et as Oo, f as ir, ft as Ro, g as Do, h as zo, ht as ce, i as _o, j as Fo, jt as lr, l as Ho, m as it, mt as Bo, n as de, o as Vo, ot as Go, p as sr, pt as $o, q as cr, r as W, rt as lt, st as I, t as Uo, tt as re, u as Wo, ut as Ee, v as dr, vt as st, w as Ko, wt as qo, x as Zo, y as xe, yt as J, z as Gt } from "./history-chords-DUMZMIc_.js";
|
|
2
2
|
import { n as ue, t as ur } from "./theme.contract.css-DaZ5UPN0.js";
|
|
3
|
-
import { ARROW_DEFAULTS as jo, ARROW_STICKER_DECLARATIONS as Xo, ARROW_STROKE_WIDTHS as Ct, AddAnnotationCommand as ve, AddHighlightCommand as Yo, BORDER_RADIUS_TOKENS as sn, COMBO_TYPES as cn, CONSTANT_VARIABLES as Jo, DEFAULT_BAR_BORDER_RADIUS as Qo, DEFAULT_POINT_SIZE as ei, DEFAULT_STROKE_WIDTH as ti, DIFFERENCE_ARROW_DEFAULTS as hr, DIFFERENCE_ARROW_SIZE_DECLARATIONS as dn, InternalError as ni, MAX_BAR_WIDTH as ri, MIN_BAR_WIDTH as ai, MoveAnnotationCommand as oi, RESTING_HOVER_STATE as pr, RemoveAnnotationCommand as Me, RemoveHighlightCommand as ii, SHAPE_DEFAULTS as li, SetAxisLabelCommand as si, SetAxisPositionCommand as ci, SetAxisTickModeCommand as di, SetAxisTicksVisibilityCommand as ui, SetAxisVisibilityCommand as hi, SetBarBorderRadiusCommand as pi, SetBarWidthCommand as mi, SetChartTypeCommand as mr, SetContentCaptionCommand as gr, SetContentSourceCommand as gi, SetContentSubtitleCommand as vr, SetContentTitleCommand as fr, SetDataLabelsFormatCommand as vi, SetDifferenceArrowStyleCommand as fi, SetGridLineStyleCommand as bi, SetGridLineWidthCommand as yi, SetGridVisibilityCommand as Ci, SetHeadlineCompareWithCommand as Si, SetHeadlinePositionCommand as xi, SetHeadlineShowCommand as un, SetHeadlineSizeCommand as wi, SetHighlightDimStyleCommand as Ti, SetLayerYScaleTypeCommand as Ai, SetLegendAlignCommand as ki, SetLegendDisplayCommand as Li, SetLegendPositionCommand as Pi, SetLineInterpolationCommand as Ii, SetLineMissingValuesCommand as Ei, SetLineWidthCommand as hn, SetMappingCommand as Mi, SetNumberFormatAbbreviationCommand as Ni, SetNumberFormatDecimalsCommand as pn, SetPointSizeCommand as Oi, SetPolarInnerRadiusCommand as Ri, SetPolarStartAngleCommand as Di, SetRuleLabelCommand as zi, SetRuleValueCommand as _i, SetScaleDomainCommand as
|
|
3
|
+
import { ARROW_DEFAULTS as jo, ARROW_STICKER_DECLARATIONS as Xo, ARROW_STROKE_WIDTHS as Ct, AddAnnotationCommand as ve, AddHighlightCommand as Yo, BORDER_RADIUS_TOKENS as sn, COMBO_TYPES as cn, CONSTANT_VARIABLES as Jo, DEFAULT_BAR_BORDER_RADIUS as Qo, DEFAULT_POINT_SIZE as ei, DEFAULT_STROKE_WIDTH as ti, DIFFERENCE_ARROW_DEFAULTS as hr, DIFFERENCE_ARROW_SIZE_DECLARATIONS as dn, InternalError as ni, MAX_BAR_WIDTH as ri, MIN_BAR_WIDTH as ai, MoveAnnotationCommand as oi, RESTING_HOVER_STATE as pr, RemoveAnnotationCommand as Me, RemoveHighlightCommand as ii, SHAPE_DEFAULTS as li, SetAxisLabelCommand as si, SetAxisPositionCommand as ci, SetAxisTickModeCommand as di, SetAxisTicksVisibilityCommand as ui, SetAxisVisibilityCommand as hi, SetBarBorderRadiusCommand as pi, SetBarWidthCommand as mi, SetChartTypeCommand as mr, SetContentCaptionCommand as gr, SetContentSourceCommand as gi, SetContentSubtitleCommand as vr, SetContentTitleCommand as fr, SetDataLabelsFormatCommand as vi, SetDifferenceArrowStyleCommand as fi, SetGridLineStyleCommand as bi, SetGridLineWidthCommand as yi, SetGridVisibilityCommand as Ci, SetHeadlineCompareWithCommand as Si, SetHeadlinePositionCommand as xi, SetHeadlineShowCommand as un, SetHeadlineSizeCommand as wi, SetHighlightDimStyleCommand as Ti, SetLayerYScaleTypeCommand as Ai, SetLegendAlignCommand as ki, SetLegendDisplayCommand as Li, SetLegendPositionCommand as Pi, SetLineInterpolationCommand as Ii, SetLineMissingValuesCommand as Ei, SetLineWidthCommand as hn, SetMappingCommand as Mi, SetNumberFormatAbbreviationCommand as Ni, SetNumberFormatDecimalsCommand as pn, SetPointSizeCommand as Oi, SetPolarInnerRadiusCommand as Ri, SetPolarStartAngleCommand as Di, SetRuleLabelCommand as zi, SetRuleValueCommand as _i, SetScaleDomainCommand as Ue, SetScaleReverseCommand as Fi, SetScaleTransformCommand as Hi, SetScaleZeroCommand as mn, SetStatLineCommand as Bi, SetStyleRuleCommand as Ne, TEXT_ANNOTATION_DEFAULTS as Vi, TEXT_ANNOTATION_FADE_ALPHA as Gi, ToggleCategoryLabelsCommand as $i, ToggleContentVisibilityCommand as ct, ToggleDataLabelsCommand as Ui, ToggleGoalLineCommand as Wi, ToggleLineFillCommand as Ki, ToggleLinePointsVisibilityCommand as qi, ToggleStackTotalsCommand as Zi, UpdateAnnotationCommand as oe, alignUnitFractions as ji, areAnchorsEqual as br, areEndpointsComparable as Xi, buildEditMenuTriggerRegion as Yi, buildLayerStyleAddress as Ji, buildObservationPredicate as yr, buildObservationsTarget as kt, canAnchorDirectLabels as Qi, canBecomeCombo as el, canBecomeHeatmap as tl, canPlaceDataLabels as nl, clampAnnotationTranslation as rl, computeArrow as Cr, createObservationAnchorBuilder as al, createObservationAnchorParser as ol, createStyleResolver as dt, createValueFormatter as il, extractConstantValue as ll, extractVariableName as sl, filterLayersByGeoms as Lt, findAnnotation as cl, findAverageLineLayer as dl, findGoalLineLayer as ul, findHighlightsAtObservation as hl, findKindStyleDeclarations as pl, findLayerByGeom as Sr, findObservationAttachment as ml, findStyleRule as Ce, findTrendLineLayer as gl, formatDifferenceLabel as vl, hasMultipleGroups as fl, inferDefaultDifferenceArrowEndpoints as bl, inferDifferenceArrowEndpoints as yl, isComboChartType as ye, isCompanionLayer as xr, isObservationAttachmentKind as Cl, isPointWithinEditMenuTrigger as wr, isSafeUrl as Sl, projectAnchorToPanel as je, readBroadestObservationsScope as xl, readChartType as Tr, readComboLineLayerId as wl, readHighlightDimStyle as Tl, readMappableAesthetics as Al, readMappedVariable as kl, readObservationIndex as Ar, resolveBarBandFraction as Ll, resolveComparisonBasis as Pl, resolveGridLineStyle as Il, resolveObservationPoint as kr, resolveShapeAnnotationStyle as El, stepDifferenceArrowEndpoint as Ml, toPanelCursor as ut } from "@graphysdk/viz-engine";
|
|
4
4
|
import { createContext as He, useCallback as se, useContext as Oe, useEffect as O, useId as Ie, useMemo as R, useRef as ne, useState as te } from "react";
|
|
5
5
|
import { Fragment as Y, jsx as n, jsxs as p } from "react/jsx-runtime";
|
|
6
6
|
import { useShallow as Re } from "zustand/react/shallow";
|
|
@@ -17,7 +17,7 @@ import { Italic as Bl } from "@tiptap/extension-italic";
|
|
|
17
17
|
import { Link as Vl } from "@tiptap/extension-link";
|
|
18
18
|
import { Text as Gl } from "@tiptap/extension-text";
|
|
19
19
|
import { TextAlign as $l } from "@tiptap/extension-text-align";
|
|
20
|
-
import { Color as
|
|
20
|
+
import { Color as Ul, FontFamily as Er, TextStyle as Wl } from "@tiptap/extension-text-style";
|
|
21
21
|
import { Underline as Kl } from "@tiptap/extension-underline";
|
|
22
22
|
import { Placeholder as $t, UndoRedo as ql } from "@tiptap/extensions";
|
|
23
23
|
import { Paragraph as Mr } from "@tiptap/extension-paragraph";
|
|
@@ -2359,7 +2359,7 @@ import './editable.css';var es = {
|
|
|
2359
2359
|
"en-US": cs,
|
|
2360
2360
|
ar: rs,
|
|
2361
2361
|
"pt-PT": ps
|
|
2362
|
-
}, gs = [ms,
|
|
2362
|
+
}, gs = [ms, Mo], vs = ({ children: e, ...t }) => /* @__PURE__ */ n(Go, {
|
|
2363
2363
|
dictionaries: gs,
|
|
2364
2364
|
...t,
|
|
2365
2365
|
children: e
|
|
@@ -2383,7 +2383,7 @@ import './editable.css';var es = {
|
|
|
2383
2383
|
return r.depth !== 1 || r.parentOffset !== 0 ? !1 : r.index(0) === 1;
|
|
2384
2384
|
} };
|
|
2385
2385
|
}
|
|
2386
|
-
}),
|
|
2386
|
+
}), Ut = () => [
|
|
2387
2387
|
Gl,
|
|
2388
2388
|
ql,
|
|
2389
2389
|
Hl.configure({ levels: [
|
|
@@ -2399,8 +2399,8 @@ import './editable.css';var es = {
|
|
|
2399
2399
|
openOnClick: !1,
|
|
2400
2400
|
autolink: !0
|
|
2401
2401
|
}),
|
|
2402
|
-
Ul,
|
|
2403
2402
|
Wl,
|
|
2403
|
+
Ul,
|
|
2404
2404
|
Fl
|
|
2405
2405
|
], ys = ({ titlePlaceholder: e, subtitlePlaceholder: t, isTitleVisible: r, isSubtitleVisible: a }) => [
|
|
2406
2406
|
Ss({
|
|
@@ -2408,7 +2408,7 @@ import './editable.css';var es = {
|
|
|
2408
2408
|
isSubtitleVisible: a
|
|
2409
2409
|
}),
|
|
2410
2410
|
Dr,
|
|
2411
|
-
...
|
|
2411
|
+
...Ut(),
|
|
2412
2412
|
Er,
|
|
2413
2413
|
bs.configure({ isTitleVisible: r }),
|
|
2414
2414
|
$t.configure({
|
|
@@ -2422,7 +2422,7 @@ import './editable.css';var es = {
|
|
|
2422
2422
|
], Cs = ({ placeholder: e }) => [
|
|
2423
2423
|
Xe,
|
|
2424
2424
|
Dr,
|
|
2425
|
-
...
|
|
2425
|
+
...Ut(),
|
|
2426
2426
|
Er,
|
|
2427
2427
|
$t.configure({
|
|
2428
2428
|
showOnlyCurrent: !1,
|
|
@@ -2530,7 +2530,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
2530
2530
|
})]
|
|
2531
2531
|
});
|
|
2532
2532
|
}, Vs = ({ value: e, onChange: t, popupAttributes: r }) => {
|
|
2533
|
-
const a = I(), [o, i] = te(!1), l =
|
|
2533
|
+
const a = I(), [o, i] = te(!1), l = fo(e) ? e : "#000000", s = $s(l);
|
|
2534
2534
|
return /* @__PURE__ */ p(Q.Root, {
|
|
2535
2535
|
open: o,
|
|
2536
2536
|
onOpenChange: i,
|
|
@@ -2600,13 +2600,13 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
2600
2600
|
border: `1px solid ${ue.border100}`
|
|
2601
2601
|
} : {
|
|
2602
2602
|
background: e,
|
|
2603
|
-
border: `1px solid ${
|
|
2603
|
+
border: `1px solid ${So(e, 0.1)}`
|
|
2604
2604
|
}, $s = (e) => {
|
|
2605
2605
|
const { themeValues: t } = lt();
|
|
2606
|
-
if (
|
|
2606
|
+
if (wo(e)) return e.toUpperCase();
|
|
2607
2607
|
const r = Fs[e];
|
|
2608
2608
|
return r ? t[r].toUpperCase() : "#000000";
|
|
2609
|
-
}, Gr = (e, t) => t === null ? !1 : e.toLowerCase() === t.toLowerCase(),
|
|
2609
|
+
}, Gr = (e, t) => t === null ? !1 : e.toLowerCase() === t.toLowerCase(), Us = "l9kff0", Ws = "l9kff1", Ks = "l9kff2", qs = "xn24px0", Zs = "xn24px1", js = "xn24px2", Xs = ({ children: e, popupAttributes: t }) => /* @__PURE__ */ n(F.Portal, {
|
|
2610
2610
|
container: ce(),
|
|
2611
2611
|
children: /* @__PURE__ */ n(re, { children: /* @__PURE__ */ n(F.Positioner, {
|
|
2612
2612
|
side: "bottom",
|
|
@@ -2628,10 +2628,10 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
2628
2628
|
children: e
|
|
2629
2629
|
}), Js = ({ className: e, ...t }) => /* @__PURE__ */ n(Le.Provider, { children: /* @__PURE__ */ n(pe.Root, {
|
|
2630
2630
|
...t,
|
|
2631
|
-
className: he(
|
|
2631
|
+
className: he(Us, e)
|
|
2632
2632
|
}) }), Qs = ({ className: e, ...t }) => /* @__PURE__ */ n(pe.Group, {
|
|
2633
2633
|
...t,
|
|
2634
|
-
className: he(
|
|
2634
|
+
className: he(Ws, e)
|
|
2635
2635
|
}), ec = ({ className: e, ...t }) => /* @__PURE__ */ n(pe.Separator, {
|
|
2636
2636
|
...t,
|
|
2637
2637
|
className: he(Ks, e)
|
|
@@ -2687,7 +2687,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
2687
2687
|
preview: "Aa",
|
|
2688
2688
|
fontFamily: oc
|
|
2689
2689
|
}
|
|
2690
|
-
], ic = (e) => e ? Et.find((t) => t.fontFamily === e) ?? null : null, $r = "_70l3rt0",
|
|
2690
|
+
], ic = (e) => e ? Et.find((t) => t.fontFamily === e) ?? null : null, $r = "_70l3rt0", Ur = "_70l3rt1", Wr = "_70l3rt3", Kr = "_70l3rt4", qr = "_70l3rt5", lc = ({ editor: e, currentFontFamily: t, isOpen: r, onOpenChange: a }) => {
|
|
2691
2691
|
const o = I(), i = ic(t) ?? Et[0], l = (s) => {
|
|
2692
2692
|
e.chain().focus().setFontFamily(s.fontFamily).run();
|
|
2693
2693
|
};
|
|
@@ -2700,7 +2700,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
2700
2700
|
className: $r,
|
|
2701
2701
|
onMouseDown: (s) => s.preventDefault(),
|
|
2702
2702
|
children: [/* @__PURE__ */ n("span", {
|
|
2703
|
-
className:
|
|
2703
|
+
className: Ur,
|
|
2704
2704
|
style: { fontFamily: i?.fontFamily },
|
|
2705
2705
|
children: i?.preview
|
|
2706
2706
|
}), /* @__PURE__ */ n(Be, { size: "sm" })]
|
|
@@ -2710,7 +2710,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
2710
2710
|
side: "bottom",
|
|
2711
2711
|
align: "start",
|
|
2712
2712
|
sideOffset: 6,
|
|
2713
|
-
className:
|
|
2713
|
+
className: Wr,
|
|
2714
2714
|
children: /* @__PURE__ */ n(F.Popup, {
|
|
2715
2715
|
className: Kr,
|
|
2716
2716
|
onMouseDown: (s) => s.preventDefault(),
|
|
@@ -2764,7 +2764,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
2764
2764
|
className: $r,
|
|
2765
2765
|
onMouseDown: (l) => l.preventDefault(),
|
|
2766
2766
|
children: [/* @__PURE__ */ n("span", {
|
|
2767
|
-
className:
|
|
2767
|
+
className: Ur,
|
|
2768
2768
|
children: o(i.translationKey)
|
|
2769
2769
|
}), /* @__PURE__ */ n(Be, { size: "sm" })]
|
|
2770
2770
|
}), /* @__PURE__ */ n(F.Portal, {
|
|
@@ -2773,7 +2773,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
2773
2773
|
side: "bottom",
|
|
2774
2774
|
align: "start",
|
|
2775
2775
|
sideOffset: 6,
|
|
2776
|
-
className:
|
|
2776
|
+
className: Wr,
|
|
2777
2777
|
children: /* @__PURE__ */ n(F.Popup, {
|
|
2778
2778
|
className: Kr,
|
|
2779
2779
|
onMouseDown: (l) => l.preventDefault(),
|
|
@@ -3118,8 +3118,8 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3118
3118
|
editor: e,
|
|
3119
3119
|
"aria-label": t
|
|
3120
3120
|
})]
|
|
3121
|
-
}), Oc = 200,
|
|
3122
|
-
const i = ne(Sn(e)), l = ne(i.current), s =
|
|
3121
|
+
}), Oc = 200, Wt = ({ content: e, extensions: t, isEditable: r, onUpdate: a, updateDebounceMs: o = Oc }) => {
|
|
3122
|
+
const i = ne(Sn(e)), l = ne(i.current), s = $o((u) => {
|
|
3123
3123
|
l.current = u, a?.(u);
|
|
3124
3124
|
}, o), c = Zl({
|
|
3125
3125
|
extensions: t,
|
|
@@ -3164,7 +3164,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3164
3164
|
to: Math.min(a, o)
|
|
3165
3165
|
});
|
|
3166
3166
|
}, St = (e, t) => JSON.stringify(Je(e)) === JSON.stringify(Je(t)), Je = (e) => Array.isArray(e) ? e.map(Je) : e === null || typeof e != "object" ? e : Object.fromEntries(Object.entries(e).map(([t, r]) => [t, Je(r)]).filter(([, t]) => !Dc(t)).sort(([t], [r]) => String(t).localeCompare(String(r)))), Dc = (e) => e == null || typeof e == "object" && Object.keys(e).length === 0, zc = ({ caption: e, captionStyle: t }) => {
|
|
3167
|
-
const { dispatch: r } = de(), a =
|
|
3167
|
+
const { dispatch: r } = de(), a = Wt({
|
|
3168
3168
|
content: e,
|
|
3169
3169
|
extensions: R(() => Cs({ placeholder: "Add caption" }), []),
|
|
3170
3170
|
isEditable: !0,
|
|
@@ -3184,14 +3184,14 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3184
3184
|
}, _c = (e) => [
|
|
3185
3185
|
Xe,
|
|
3186
3186
|
Mr,
|
|
3187
|
-
...
|
|
3187
|
+
...Ut(),
|
|
3188
3188
|
Hc,
|
|
3189
3189
|
$t.configure({
|
|
3190
3190
|
showOnlyCurrent: !1,
|
|
3191
3191
|
placeholder: ({ pos: t }) => t === 0 ? e : ""
|
|
3192
3192
|
})
|
|
3193
3193
|
], Fc = ({ annotation: e }) => {
|
|
3194
|
-
const t = I(), { dispatch: r } = de(), a =
|
|
3194
|
+
const t = I(), { dispatch: r } = de(), a = U(), o = R(() => _c(t("graph.annotations.text.placeholder")), [t]), i = Wt({
|
|
3195
3195
|
content: e.content,
|
|
3196
3196
|
extensions: o,
|
|
3197
3197
|
isEditable: !0,
|
|
@@ -3210,12 +3210,12 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3210
3210
|
i?.commands.focus("end", { scrollIntoView: !1 });
|
|
3211
3211
|
}, [i]), /* @__PURE__ */ n(Nr, {
|
|
3212
3212
|
"aria-label": t("graph.annotations.text.editLabel"),
|
|
3213
|
-
className:
|
|
3213
|
+
className: No,
|
|
3214
3214
|
editor: i,
|
|
3215
3215
|
"data-testid": "text-annotation-editor"
|
|
3216
3216
|
});
|
|
3217
3217
|
}, xn = (e) => {
|
|
3218
|
-
const t =
|
|
3218
|
+
const t = Oo(e);
|
|
3219
3219
|
return t === void 0 ? {} : { style: `font-family: ${t}` };
|
|
3220
3220
|
}, Hc = Ir.create({
|
|
3221
3221
|
name: "annotationTextStyleAttributes",
|
|
@@ -3244,14 +3244,14 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3244
3244
|
type: "heading",
|
|
3245
3245
|
attrs: { level: Bc },
|
|
3246
3246
|
content: $c(e)
|
|
3247
|
-
}), a && o.push(...
|
|
3247
|
+
}), a && o.push(...Uc(r)), {
|
|
3248
3248
|
type: "doc",
|
|
3249
3249
|
content: o
|
|
3250
3250
|
};
|
|
3251
3251
|
}, Gc = (e) => {
|
|
3252
3252
|
const [t, ...r] = e.content ?? [];
|
|
3253
3253
|
return {
|
|
3254
|
-
title:
|
|
3254
|
+
title: Wc(t?.content ?? []),
|
|
3255
3255
|
subtitle: Kc(r)
|
|
3256
3256
|
};
|
|
3257
3257
|
}, Kt = (e) => ({
|
|
@@ -3263,7 +3263,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3263
3263
|
}), $c = (e) => e === null ? [] : typeof e == "string" ? e === "" ? [] : [{
|
|
3264
3264
|
type: "text",
|
|
3265
3265
|
text: e
|
|
3266
|
-
}] : e.type === "doc" && e.content ? e.content.flatMap((t) => t.content ?? []) : e.type === "text" || e.type === "hardBreak" ? [e] : e.content ?? [],
|
|
3266
|
+
}] : e.type === "doc" && e.content ? e.content.flatMap((t) => t.content ?? []) : e.type === "text" || e.type === "hardBreak" ? [e] : e.content ?? [], Uc = (e) => e === null ? [{ type: "paragraph" }] : typeof e == "string" ? e === "" ? [{ type: "paragraph" }] : [{
|
|
3267
3267
|
type: "paragraph",
|
|
3268
3268
|
content: [{
|
|
3269
3269
|
type: "text",
|
|
@@ -3272,7 +3272,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3272
3272
|
}] : e.type === "doc" && e.content ? e.content.length === 0 ? [{ type: "paragraph" }] : e.content.map(wn) : [wn(e)], wn = (e) => e.type === "paragraph" ? e : {
|
|
3273
3273
|
type: "paragraph",
|
|
3274
3274
|
content: e.content ?? [e]
|
|
3275
|
-
},
|
|
3275
|
+
}, Wc = (e) => {
|
|
3276
3276
|
if (e.length === 0) return null;
|
|
3277
3277
|
const [t] = e;
|
|
3278
3278
|
return t && e.length === 1 && t.type === "text" && (!t.marks || t.marks.length === 0) ? t.text ?? null : {
|
|
@@ -3303,7 +3303,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3303
3303
|
subtitlePlaceholder: "Untitled",
|
|
3304
3304
|
isTitleVisible: t,
|
|
3305
3305
|
isSubtitleVisible: r
|
|
3306
|
-
}), [t, r]), c =
|
|
3306
|
+
}), [t, r]), c = Wt({
|
|
3307
3307
|
content: R(() => Vc({
|
|
3308
3308
|
title: e,
|
|
3309
3309
|
isTitleVisible: t,
|
|
@@ -3327,7 +3327,7 @@ var _r = "d0bl03", ws = "d0bl04", Fr = "d0bl05", Pt = "d0bl06", Ts = "d0bl07", A
|
|
|
3327
3327
|
"data-testid": "title-editor",
|
|
3328
3328
|
style: {
|
|
3329
3329
|
...rr(o),
|
|
3330
|
-
...
|
|
3330
|
+
...qo(qc, i)
|
|
3331
3331
|
},
|
|
3332
3332
|
children: /* @__PURE__ */ n(Qr, {
|
|
3333
3333
|
editor: c,
|
|
@@ -4131,7 +4131,7 @@ var gd = (e) => {
|
|
|
4131
4131
|
icon: /* @__PURE__ */ n(da, {}),
|
|
4132
4132
|
children: /* @__PURE__ */ n("div", {
|
|
4133
4133
|
className: Dd,
|
|
4134
|
-
children: Object.entries(
|
|
4134
|
+
children: Object.entries(Eo).map(([i, l]) => /* @__PURE__ */ n(fe.Item, {
|
|
4135
4135
|
className: zd,
|
|
4136
4136
|
"aria-label": i,
|
|
4137
4137
|
onClick: () => o(i),
|
|
@@ -4144,7 +4144,7 @@ var gd = (e) => {
|
|
|
4144
4144
|
})
|
|
4145
4145
|
});
|
|
4146
4146
|
}, Hd = ({ interaction: e, panelOrigin: t }) => {
|
|
4147
|
-
const r =
|
|
4147
|
+
const r = U(), a = X((i) => i.menuTrigger);
|
|
4148
4148
|
if (e.kind !== "menu" || a === null) return null;
|
|
4149
4149
|
const o = () => {
|
|
4150
4150
|
r.getState().releaseInteraction("menu");
|
|
@@ -4259,13 +4259,13 @@ var gd = (e) => {
|
|
|
4259
4259
|
...e[t.endpoint],
|
|
4260
4260
|
...t.point
|
|
4261
4261
|
}
|
|
4262
|
-
}), ma = (e, t) => e.x === t.x && e.y === t.y,
|
|
4262
|
+
}), ma = (e, t) => e.x === t.x && e.y === t.y, Ud = (e, t) => {
|
|
4263
4263
|
const r = je(e, t);
|
|
4264
4264
|
return {
|
|
4265
4265
|
x: t.x + r.x,
|
|
4266
4266
|
y: t.y + r.y
|
|
4267
4267
|
};
|
|
4268
|
-
},
|
|
4268
|
+
}, Wd = (e, t, r) => {
|
|
4269
4269
|
const a = je(e, r), o = je(t, r);
|
|
4270
4270
|
return {
|
|
4271
4271
|
x: Math.min(a.x, o.x),
|
|
@@ -4463,7 +4463,7 @@ var gd = (e) => {
|
|
|
4463
4463
|
Button: Z.Button,
|
|
4464
4464
|
Separator: Z.Separator
|
|
4465
4465
|
}, du = { kind: "chrome-popup" }, mt = () => {
|
|
4466
|
-
const { commands: e } = B(), t =
|
|
4466
|
+
const { commands: e } = B(), t = U(), [r, a] = te(null);
|
|
4467
4467
|
O(() => () => e.seal(), [e]), O(() => {
|
|
4468
4468
|
const { claimInteraction: i, releaseInteraction: l } = t.getState();
|
|
4469
4469
|
return r === null ? l("chrome-popup") : i(du), () => l("chrome-popup");
|
|
@@ -4532,7 +4532,7 @@ var gd = (e) => {
|
|
|
4532
4532
|
}, {
|
|
4533
4533
|
value: "none",
|
|
4534
4534
|
key: "graph.annotations.arrowToolbar.arrowhead.none",
|
|
4535
|
-
Icon:
|
|
4535
|
+
Icon: go
|
|
4536
4536
|
}], kn = [
|
|
4537
4537
|
{
|
|
4538
4538
|
value: "solid",
|
|
@@ -4603,7 +4603,7 @@ var vu = ({ arrow: e, arrowBox: t, panelRect: r, frameWidth: a, frameHeight: o,
|
|
|
4603
4603
|
title: ""
|
|
4604
4604
|
}),
|
|
4605
4605
|
...u.bind("thickness"),
|
|
4606
|
-
children: /* @__PURE__ */ n(
|
|
4606
|
+
children: /* @__PURE__ */ n(We, {
|
|
4607
4607
|
options: mu,
|
|
4608
4608
|
current: d.strokeWidth,
|
|
4609
4609
|
onPick: L
|
|
@@ -4616,7 +4616,7 @@ var vu = ({ arrow: e, arrowBox: t, panelRect: r, frameWidth: a, frameHeight: o,
|
|
|
4616
4616
|
title: ""
|
|
4617
4617
|
}),
|
|
4618
4618
|
...u.bind("startArrowhead"),
|
|
4619
|
-
children: /* @__PURE__ */ n(
|
|
4619
|
+
children: /* @__PURE__ */ n(We, {
|
|
4620
4620
|
options: An,
|
|
4621
4621
|
current: e.startArrowheadStyle,
|
|
4622
4622
|
onPick: P
|
|
@@ -4629,7 +4629,7 @@ var vu = ({ arrow: e, arrowBox: t, panelRect: r, frameWidth: a, frameHeight: o,
|
|
|
4629
4629
|
title: ""
|
|
4630
4630
|
}),
|
|
4631
4631
|
...u.bind("lineStyle"),
|
|
4632
|
-
children: /* @__PURE__ */ n(
|
|
4632
|
+
children: /* @__PURE__ */ n(We, {
|
|
4633
4633
|
options: kn,
|
|
4634
4634
|
current: d.lineType,
|
|
4635
4635
|
onPick: D
|
|
@@ -4642,7 +4642,7 @@ var vu = ({ arrow: e, arrowBox: t, panelRect: r, frameWidth: a, frameHeight: o,
|
|
|
4642
4642
|
title: ""
|
|
4643
4643
|
}),
|
|
4644
4644
|
...u.bind("endArrowhead"),
|
|
4645
|
-
children: /* @__PURE__ */ n(
|
|
4645
|
+
children: /* @__PURE__ */ n(We, {
|
|
4646
4646
|
options: An,
|
|
4647
4647
|
current: e.endArrowheadStyle,
|
|
4648
4648
|
onPick: _
|
|
@@ -4668,7 +4668,7 @@ var vu = ({ arrow: e, arrowBox: t, panelRect: r, frameWidth: a, frameHeight: o,
|
|
|
4668
4668
|
})
|
|
4669
4669
|
]
|
|
4670
4670
|
});
|
|
4671
|
-
},
|
|
4671
|
+
}, We = ({ options: e, current: t, onPick: r }) => {
|
|
4672
4672
|
const a = I(), o = (i) => () => r(i);
|
|
4673
4673
|
return /* @__PURE__ */ n(Y, { children: e.map((i) => /* @__PURE__ */ p(M.MenuItem, {
|
|
4674
4674
|
isSelected: i.value === t,
|
|
@@ -4769,7 +4769,7 @@ var yu = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) >= 3, Ge = class {
|
|
|
4769
4769
|
}));
|
|
4770
4770
|
}
|
|
4771
4771
|
}, Su = ({ annotationId: e, arrow: t, panelRect: r }) => {
|
|
4772
|
-
const { commands: a } = B(), o =
|
|
4772
|
+
const { commands: a } = B(), o = U(), i = J({
|
|
4773
4773
|
annotations: H((s) => s.spec.annotations),
|
|
4774
4774
|
arrow: t,
|
|
4775
4775
|
panelRect: r
|
|
@@ -4805,7 +4805,7 @@ var yu = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) >= 3, Ge = class {
|
|
|
4805
4805
|
a
|
|
4806
4806
|
]);
|
|
4807
4807
|
}, xu = [" ", "Enter"], Ln = 4, wu = ({ annotationId: e, arrow: t, panelRect: r }) => {
|
|
4808
|
-
const { commands: a } = B(), o =
|
|
4808
|
+
const { commands: a } = B(), o = U(), i = H((c) => c.spec.annotations), l = J(i), s = J(a.dispatch);
|
|
4809
4809
|
return O(() => () => {
|
|
4810
4810
|
for (const c of ha) Pn({
|
|
4811
4811
|
editorStore: o,
|
|
@@ -4928,14 +4928,14 @@ var yu = (e, t) => Math.hypot(t.x - e.x, t.y - e.y) >= 3, Ge = class {
|
|
|
4928
4928
|
"data-annotation-id": e.id,
|
|
4929
4929
|
children: [a && /* @__PURE__ */ n(vu, {
|
|
4930
4930
|
arrow: e,
|
|
4931
|
-
arrowBox:
|
|
4931
|
+
arrowBox: Wd(t.start, t.end, i),
|
|
4932
4932
|
panelRect: i,
|
|
4933
4933
|
frameWidth: l.width,
|
|
4934
4934
|
frameHeight: l.height,
|
|
4935
4935
|
frameElement: s
|
|
4936
4936
|
}), !o && ha.filter((h) => e[h].anchorType === "panel").map((h) => /* @__PURE__ */ n(Lu, {
|
|
4937
4937
|
endpoint: h,
|
|
4938
|
-
point:
|
|
4938
|
+
point: Ud(r[h], i),
|
|
4939
4939
|
label: c(`graph.annotations.arrowToolbar.moveEndpoint.${h}`),
|
|
4940
4940
|
dragHandlers: u(h),
|
|
4941
4941
|
keyboardHandlers: d(h)
|
|
@@ -5020,7 +5020,7 @@ var Du = [
|
|
|
5020
5020
|
key: "graph.annotations.differenceArrowToolbar.size.large"
|
|
5021
5021
|
}
|
|
5022
5022
|
], Hu = ({ arrow: e, color: t, labelBox: r, panelRect: a, frameWidth: o, frameHeight: i, frameElement: l }) => {
|
|
5023
|
-
const s = I(), { commands: c } = B(), u = H((f) => f.spec.styles.overrides), d = mt(), h = Fu(e), g =
|
|
5023
|
+
const s = I(), { commands: c } = B(), u = H((f) => f.spec.styles.overrides), d = mt(), h = Fu(e), g = Po()(e.id), m = R(() => ({
|
|
5024
5024
|
target: "annotation",
|
|
5025
5025
|
kind: "differenceArrow",
|
|
5026
5026
|
annotation: e.id
|
|
@@ -5143,8 +5143,8 @@ var Du = [
|
|
|
5143
5143
|
]
|
|
5144
5144
|
})] });
|
|
5145
5145
|
};
|
|
5146
|
-
var Vu = "ydgo3h0", Gu = "ydgo3h1", $u = "ydgo3h2",
|
|
5147
|
-
const u =
|
|
5146
|
+
var Vu = "ydgo3h0", Gu = "ydgo3h1", $u = "ydgo3h2", Uu = ({ clientPoint: e, panelOrigin: t, panelRect: r, engine: a, layers: o, coordSystem: i, resolver: l, fixedAnchor: s, align: c }) => {
|
|
5147
|
+
const u = Wu({
|
|
5148
5148
|
x: e.x - t.x,
|
|
5149
5149
|
y: e.y - t.y
|
|
5150
5150
|
}, r), { primary: d } = a.query(ut(u, r));
|
|
@@ -5160,7 +5160,7 @@ var Vu = "ydgo3h0", Gu = "ydgo3h1", $u = "ydgo3h2", Wu = ({ clientPoint: e, pane
|
|
|
5160
5160
|
align: c
|
|
5161
5161
|
});
|
|
5162
5162
|
return g === null || br(g.anchor, s) ? null : g;
|
|
5163
|
-
},
|
|
5163
|
+
}, Wu = (e, t) => ({
|
|
5164
5164
|
x: Math.max(0, Math.min(e.x, t.width)),
|
|
5165
5165
|
y: Math.max(0, Math.min(e.y, t.height))
|
|
5166
5166
|
}), ya = (e) => e === "start" ? "end" : "start", Ca = ({ dispatch: e, arrow: t, endpoint: r, anchor: a }) => {
|
|
@@ -5181,7 +5181,7 @@ var Vu = "ydgo3h0", Gu = "ydgo3h1", $u = "ydgo3h2", Wu = ({ clientPoint: e, pane
|
|
|
5181
5181
|
return ar($(e, "difference-arrow-endpoint-drag"), r().arrow.id, t);
|
|
5182
5182
|
}
|
|
5183
5183
|
resolvePreview(e) {
|
|
5184
|
-
const { endpoint: t, readInputs: r, engine: a, anchorResolver: o } = this.params, { arrow: i, panelOrigin: l, panelRect: s, layers: c, coordSystem: u } = r(), d =
|
|
5184
|
+
const { endpoint: t, readInputs: r, engine: a, anchorResolver: o } = this.params, { arrow: i, panelOrigin: l, panelRect: s, layers: c, coordSystem: u } = r(), d = Uu({
|
|
5185
5185
|
clientPoint: e,
|
|
5186
5186
|
panelOrigin: l,
|
|
5187
5187
|
panelRect: s,
|
|
@@ -5209,7 +5209,7 @@ var Vu = "ydgo3h0", Gu = "ydgo3h1", $u = "ydgo3h2", Wu = ({ clientPoint: e, pane
|
|
|
5209
5209
|
});
|
|
5210
5210
|
}
|
|
5211
5211
|
}, qu = ({ arrow: e, panelOrigin: t, panelRect: r }) => {
|
|
5212
|
-
const { commands: a, anchorResolver: o } = B(), { engine: i } = st(), l =
|
|
5212
|
+
const { commands: a, anchorResolver: o } = B(), { engine: i } = st(), l = U(), s = J({
|
|
5213
5213
|
arrow: e,
|
|
5214
5214
|
panelOrigin: t,
|
|
5215
5215
|
panelRect: r,
|
|
@@ -5251,7 +5251,7 @@ var Vu = "ydgo3h0", Gu = "ydgo3h1", $u = "ydgo3h2", Wu = ({ clientPoint: e, pane
|
|
|
5251
5251
|
a
|
|
5252
5252
|
]);
|
|
5253
5253
|
}, Zu = [" ", "Enter"], ju = ({ arrow: e }) => {
|
|
5254
|
-
const { commands: t, anchorResolver: r } = B(), a =
|
|
5254
|
+
const { commands: t, anchorResolver: r } = B(), a = U(), { layers: o, coordSystem: i, mainAxis: l } = H(Re((c) => ({
|
|
5255
5255
|
layers: c.layers,
|
|
5256
5256
|
coordSystem: c.coordSystem,
|
|
5257
5257
|
mainAxis: c.coordSystem.type === "cartesian" ? c.coordSystem.mainAxis : "x"
|
|
@@ -5341,7 +5341,7 @@ var Vu = "ydgo3h0", Gu = "ydgo3h1", $u = "ydgo3h2", Wu = ({ clientPoint: e, pane
|
|
|
5341
5341
|
...e
|
|
5342
5342
|
});
|
|
5343
5343
|
}, Qu = ({ annotationId: e, ...t }) => {
|
|
5344
|
-
const r =
|
|
5344
|
+
const r = xo(), a = R(() => r.find((o) => o.id === e), [r, e]);
|
|
5345
5345
|
return a === void 0 ? null : /* @__PURE__ */ n(eh, {
|
|
5346
5346
|
committedArrow: a.committedArrow,
|
|
5347
5347
|
color: a.color,
|
|
@@ -5473,7 +5473,7 @@ var Sa = ({ width: e, height: t }) => ({
|
|
|
5473
5473
|
};
|
|
5474
5474
|
}, wa = (e, t) => e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height, Ta = (e) => e === "top-left" || e === "bottom-left", Aa = (e) => e === "top-left" || e === "top-right", ka = (e, t, r, a) => {
|
|
5475
5475
|
const o = e.textAnnotations.find((i) => i.id === t);
|
|
5476
|
-
return o === void 0 ? null :
|
|
5476
|
+
return o === void 0 ? null : Ko(Ho(o, r), a);
|
|
5477
5477
|
};
|
|
5478
5478
|
var rh = {
|
|
5479
5479
|
hovered: "_1ee8fau1 _1ee8fau0",
|
|
@@ -5504,7 +5504,7 @@ var rh = {
|
|
|
5504
5504
|
}
|
|
5505
5505
|
if (s?.annotationId === b.id) {
|
|
5506
5506
|
const C = t.arrows.find((k) => k.id === b.id);
|
|
5507
|
-
return C === void 0 ? b.geometry :
|
|
5507
|
+
return C === void 0 ? b.geometry : Ao(Xt(C, s), d.panel) ?? b.geometry;
|
|
5508
5508
|
}
|
|
5509
5509
|
return c?.annotationId === b.id ? ka(t, b.id, c, d) ?? b.geometry : b.geometry;
|
|
5510
5510
|
}, v = (b) => {
|
|
@@ -5528,7 +5528,7 @@ var rh = {
|
|
|
5528
5528
|
})] });
|
|
5529
5529
|
}, Nn = (e, t, r) => {
|
|
5530
5530
|
if (t === null) return null;
|
|
5531
|
-
const a =
|
|
5531
|
+
const a = ko(e, t, r);
|
|
5532
5532
|
return a === null ? null : {
|
|
5533
5533
|
id: t,
|
|
5534
5534
|
geometry: a
|
|
@@ -5583,7 +5583,7 @@ var rh = {
|
|
|
5583
5583
|
children: ch(r, t.annotationId, e)
|
|
5584
5584
|
});
|
|
5585
5585
|
}, lh = ({ annotation: e, panel: t }) => {
|
|
5586
|
-
const r =
|
|
5586
|
+
const r = yo(e.id);
|
|
5587
5587
|
return /* @__PURE__ */ n(Wo, {
|
|
5588
5588
|
annotation: e,
|
|
5589
5589
|
panel: t,
|
|
@@ -5632,10 +5632,10 @@ var rh = {
|
|
|
5632
5632
|
shape: e,
|
|
5633
5633
|
style: it()(e.id),
|
|
5634
5634
|
panel: t
|
|
5635
|
-
}), hh = ({ image: e, panelSize: t }) => /* @__PURE__ */ n(
|
|
5635
|
+
}), hh = ({ image: e, panelSize: t }) => /* @__PURE__ */ n(zo, {
|
|
5636
5636
|
image: e,
|
|
5637
5637
|
panel: t,
|
|
5638
|
-
style:
|
|
5638
|
+
style: Do()(e.id)
|
|
5639
5639
|
}), ph = ({ panelRect: e }) => {
|
|
5640
5640
|
const t = X((i) => $(i, "shape-resize-drag")), r = xe(e).shapes, a = it();
|
|
5641
5641
|
if (t === null) return null;
|
|
@@ -5821,7 +5821,7 @@ var rh = {
|
|
|
5821
5821
|
}));
|
|
5822
5822
|
}
|
|
5823
5823
|
}, yh = ({ annotationId: e, panelRect: t }) => {
|
|
5824
|
-
const { commands: r } = B(), a =
|
|
5824
|
+
const { commands: r } = B(), a = U(), o = J({
|
|
5825
5825
|
annotations: H((i) => i.spec.annotations),
|
|
5826
5826
|
panelRect: t
|
|
5827
5827
|
});
|
|
@@ -5834,7 +5834,7 @@ var rh = {
|
|
|
5834
5834
|
dispatch: r.dispatch
|
|
5835
5835
|
}));
|
|
5836
5836
|
}, Ch = [" ", "Enter"], Ia = (e) => {
|
|
5837
|
-
const t =
|
|
5837
|
+
const t = U(), r = J(e);
|
|
5838
5838
|
return O(() => () => Dn(t, r.current), [t, r]), se((a) => ({ onKeyDown: (o) => {
|
|
5839
5839
|
if (o.altKey || o.ctrlKey || o.metaKey || o.shiftKey) return;
|
|
5840
5840
|
const i = t.getState(), l = r.current.readHeld();
|
|
@@ -5857,7 +5857,7 @@ var rh = {
|
|
|
5857
5857
|
const r = t.readHeld();
|
|
5858
5858
|
r !== null && (e.getState().releaseInteraction(r.kind), t.commit(r));
|
|
5859
5859
|
}, zn = 4, Sh = ({ annotationId: e, panelRect: t }) => {
|
|
5860
|
-
const { commands: r } = B(), a =
|
|
5860
|
+
const { commands: r } = B(), a = U(), o = H((i) => i.spec.annotations);
|
|
5861
5861
|
return Ia({
|
|
5862
5862
|
readHeld: () => Ht($(a.getState(), "shape-resize-drag"), e),
|
|
5863
5863
|
claim: () => {
|
|
@@ -6049,7 +6049,7 @@ var Na = [
|
|
|
6049
6049
|
].map(({ id: e, key: t }) => ({
|
|
6050
6050
|
id: e,
|
|
6051
6051
|
key: t,
|
|
6052
|
-
fontFamily:
|
|
6052
|
+
fontFamily: To[e] ?? e
|
|
6053
6053
|
})), Hh = (e) => Na.find((t) => t.id === (e ?? "modern")) ?? null;
|
|
6054
6054
|
var Oa = [
|
|
6055
6055
|
{
|
|
@@ -6086,7 +6086,7 @@ var Oa = [
|
|
|
6086
6086
|
Icon: Yr
|
|
6087
6087
|
}
|
|
6088
6088
|
], $h = ({ annotation: e, textBox: t, panelRect: r, frameWidth: a, frameHeight: o, frameElement: i }) => {
|
|
6089
|
-
const l = I(), { commands: s } = B(), c = H((f) => f.spec.styles.overrides), u =
|
|
6089
|
+
const l = I(), { commands: s } = B(), c = H((f) => f.spec.styles.overrides), u = U(), d = mt(), h = ir()(e.id), g = Ih(e.content), m = Hh(g.font), v = Bh(g.fontSize), b = g.color ?? h.textColor, C = R(() => ({
|
|
6090
6090
|
target: "annotation",
|
|
6091
6091
|
kind: "text",
|
|
6092
6092
|
annotation: e.id
|
|
@@ -6117,7 +6117,7 @@ var Oa = [
|
|
|
6117
6117
|
y({ content: Eh(q, f) }, A);
|
|
6118
6118
|
}, D = () => {
|
|
6119
6119
|
s.dispatch(new Me({ id: e.id })), i.focus({ preventScroll: !0 });
|
|
6120
|
-
}, _ = (f) => k(
|
|
6120
|
+
}, _ = (f) => k(Uh(f), { transient: !0 }), z = (f) => P({ color: f }, { transient: !0 }), E = (f) => () => {
|
|
6121
6121
|
P({ font: f }), d.close();
|
|
6122
6122
|
}, N = (f) => () => {
|
|
6123
6123
|
P({ fontSize: f }), d.close();
|
|
@@ -6179,7 +6179,7 @@ var Oa = [
|
|
|
6179
6179
|
}, f.size))
|
|
6180
6180
|
}),
|
|
6181
6181
|
/* @__PURE__ */ n(M.Separator, {}),
|
|
6182
|
-
/* @__PURE__ */ n(
|
|
6182
|
+
/* @__PURE__ */ n(Wh, {
|
|
6183
6183
|
current: g.alignment ?? "center",
|
|
6184
6184
|
onPick: x
|
|
6185
6185
|
}),
|
|
@@ -6194,10 +6194,10 @@ var Oa = [
|
|
|
6194
6194
|
})
|
|
6195
6195
|
]
|
|
6196
6196
|
});
|
|
6197
|
-
},
|
|
6197
|
+
}, Uh = (e) => e === "transparent" ? { background: Br } : {
|
|
6198
6198
|
background: e,
|
|
6199
6199
|
alpha: Hs(e) ? Gi : 1
|
|
6200
|
-
},
|
|
6200
|
+
}, Wh = ({ current: e, onPick: t }) => {
|
|
6201
6201
|
const r = I(), a = (o) => () => t(o);
|
|
6202
6202
|
return /* @__PURE__ */ n(Y, { children: Gh.map((o) => /* @__PURE__ */ n(M.ToggleButton, {
|
|
6203
6203
|
label: r(`graph.annotations.textToolbar.align.${o.alignment}`),
|
|
@@ -6276,7 +6276,7 @@ var Ra = ({ width: e }) => ae(60, e), qh = (e, t) => ({
|
|
|
6276
6276
|
}));
|
|
6277
6277
|
}
|
|
6278
6278
|
}, Xh = ({ annotationId: e, panelRect: t }) => {
|
|
6279
|
-
const { commands: r } = B(), a =
|
|
6279
|
+
const { commands: r } = B(), a = U(), o = J({
|
|
6280
6280
|
annotations: H((i) => i.spec.annotations),
|
|
6281
6281
|
panelRect: t
|
|
6282
6282
|
});
|
|
@@ -6289,7 +6289,7 @@ var Ra = ({ width: e }) => ae(60, e), qh = (e, t) => ({
|
|
|
6289
6289
|
dispatch: r.dispatch
|
|
6290
6290
|
}));
|
|
6291
6291
|
}, Yh = 4, Jh = ({ annotationId: e, panelRect: t }) => {
|
|
6292
|
-
const { commands: r } = B(), a =
|
|
6292
|
+
const { commands: r } = B(), a = U(), o = H((l) => l.spec.annotations), i = (l, s) => {
|
|
6293
6293
|
const c = nt(o, e);
|
|
6294
6294
|
return c === null ? null : {
|
|
6295
6295
|
kind: "text-resize-drag",
|
|
@@ -6427,7 +6427,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6427
6427
|
closed: "_1tyillx6",
|
|
6428
6428
|
open: "_1tyillx7"
|
|
6429
6429
|
}, h1 = ({ interaction: e, panelRect: t }) => {
|
|
6430
|
-
const r =
|
|
6430
|
+
const r = U(), a = e.kind === "trigger" || e.kind === "menu" ? e.anchor : null, o = p1(e), i = R(() => {
|
|
6431
6431
|
if (a === null) return null;
|
|
6432
6432
|
const l = je(a.position, t);
|
|
6433
6433
|
return {
|
|
@@ -6461,7 +6461,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6461
6461
|
})
|
|
6462
6462
|
});
|
|
6463
6463
|
}, p1 = (e) => e.kind === "menu" ? "open" : e.kind === "trigger" && e.isEngaged ? "hovered" : "rest", m1 = 'button:not([disabled]):not([tabindex="-1"]), [tabindex]:not([tabindex="-1"])', g1 = (e, t) => {
|
|
6464
|
-
const { chartId: r } = B(), a =
|
|
6464
|
+
const { chartId: r } = B(), a = U();
|
|
6465
6465
|
O(() => {
|
|
6466
6466
|
if (t === null) return;
|
|
6467
6467
|
const o = (i) => {
|
|
@@ -6495,13 +6495,13 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6495
6495
|
}, b1 = (e) => {
|
|
6496
6496
|
const t = e.getAttribute(tr);
|
|
6497
6497
|
if (t !== "annotation") return null;
|
|
6498
|
-
const r = e.getAttribute(
|
|
6498
|
+
const r = e.getAttribute(Lo);
|
|
6499
6499
|
return r === null || r === "" ? null : {
|
|
6500
6500
|
kind: t,
|
|
6501
6501
|
id: r
|
|
6502
6502
|
};
|
|
6503
6503
|
}, y1 = (e) => {
|
|
6504
|
-
const { selectionStore: t, chartId: r } = B(), a =
|
|
6504
|
+
const { selectionStore: t, chartId: r } = B(), a = U();
|
|
6505
6505
|
O(() => {
|
|
6506
6506
|
let o = null;
|
|
6507
6507
|
const i = (c) => {
|
|
@@ -6613,7 +6613,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6613
6613
|
target: a,
|
|
6614
6614
|
observation: null
|
|
6615
6615
|
}, P1 = (e, t, r) => {
|
|
6616
|
-
const { commands: a, selectionStore: o, store: i } = B(), l =
|
|
6616
|
+
const { commands: a, selectionStore: o, store: i } = B(), l = U(), { engine: s, overlayRef: c } = st(), u = H((y) => y.spec.annotations), d = Ee[Se()], h = d.observationsPress, g = d.tolerance, m = d.annotations, v = J(d.graphPress), b = J({
|
|
6617
6617
|
annotations: u,
|
|
6618
6618
|
panelRect: r
|
|
6619
6619
|
}), C = J(t), k = ne(null);
|
|
@@ -6649,7 +6649,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6649
6649
|
y: f.clientY - A.top
|
|
6650
6650
|
};
|
|
6651
6651
|
}, _ = (f, A) => {
|
|
6652
|
-
if (k.current !== null || !
|
|
6652
|
+
if (k.current !== null || !Zo(b.current.annotations, A.id)) return;
|
|
6653
6653
|
try {
|
|
6654
6654
|
e.setPointerCapture(f.pointerId);
|
|
6655
6655
|
} catch {
|
|
@@ -6744,7 +6744,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6744
6744
|
m
|
|
6745
6745
|
]);
|
|
6746
6746
|
}, wt = (e, t) => e instanceof Node && t.contains(e), I1 = (e) => {
|
|
6747
|
-
const { selectionStore: t, commands: r, chartId: a } = B(), o =
|
|
6747
|
+
const { selectionStore: t, commands: r, chartId: a } = B(), o = U(), i = J(H((d) => d.spec.annotations.textAnnotations)), l = Ee[Se()].annotations, s = se((d) => {
|
|
6748
6748
|
const { selection: h } = t.getState(), g = l ? Nt(h) : null;
|
|
6749
6749
|
g !== null && (d.preventDefault(), r.dispatch(new Me({ id: g })), e.focus({ preventScroll: !0 }));
|
|
6750
6750
|
}, [
|
|
@@ -6806,10 +6806,10 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6806
6806
|
o
|
|
6807
6807
|
]);
|
|
6808
6808
|
}, E1 = (e) => e instanceof HTMLElement && (e.isContentEditable || e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement), M1 = () => {
|
|
6809
|
-
const e = Ee[Se()].observationMenu, t =
|
|
6809
|
+
const e = Ee[Se()].observationMenu, t = Io((l) => e ? l.hover.primary : null), { layers: r, coordSystem: a } = H(Re((l) => ({
|
|
6810
6810
|
layers: l.layers,
|
|
6811
6811
|
coordSystem: l.coordSystem
|
|
6812
|
-
}))), { anchorResolver: o } = B(), i =
|
|
6812
|
+
}))), { anchorResolver: o } = B(), i = mo();
|
|
6813
6813
|
return R(() => {
|
|
6814
6814
|
if (t === null) return null;
|
|
6815
6815
|
const l = r.find((u) => u.id === t.layerId);
|
|
@@ -6847,7 +6847,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6847
6847
|
t
|
|
6848
6848
|
]);
|
|
6849
6849
|
}, O1 = (e, t, r) => {
|
|
6850
|
-
const a =
|
|
6850
|
+
const a = U(), { selectionStore: o } = B(), { store: i, engine: l } = st(), s = J(e), c = J(t), u = J(r);
|
|
6851
6851
|
O(() => {
|
|
6852
6852
|
const d = (b) => ta(b, c.current, a.getState().menuTrigger), h = (b) => {
|
|
6853
6853
|
if (d(b) || o.getState().selection.length > 0) return;
|
|
@@ -6886,7 +6886,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6886
6886
|
u
|
|
6887
6887
|
]);
|
|
6888
6888
|
}, R1 = (e, t) => {
|
|
6889
|
-
const r =
|
|
6889
|
+
const r = U(), a = J(t), o = Ee[Se()].annotations;
|
|
6890
6890
|
O(() => {
|
|
6891
6891
|
let i = null, l = null;
|
|
6892
6892
|
const s = (v) => {
|
|
@@ -6941,7 +6941,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6941
6941
|
return !1;
|
|
6942
6942
|
}
|
|
6943
6943
|
}, _n = "editor", Fn = [], D1 = (e, t, r, a) => {
|
|
6944
|
-
const o = Fa(), { store: i } = st(), { selectionStore: l } = B(), s =
|
|
6944
|
+
const o = Fa(), { store: i } = st(), { selectionStore: l } = B(), s = U(), c = or().length > 0, u = Ee[Se()].holdsHoverWhileSelected, d = X((v) => v.menuTrigger), h = o.kind === "menu", g = R(() => d === null ? Fn : [Yi(d)], [d]);
|
|
6945
6945
|
R1(e, t), P1(e, t, r), O1(o, t, r), y1(e), I1(e), g1(e, a), O(() => l.subscribe((v, b) => {
|
|
6946
6946
|
v.selection !== b.selection && s.getState().setPressContext(null);
|
|
6947
6947
|
}), [s, l]), O(() => (i.getState().publishPointerRegions(_n, g), () => i.getState().publishPointerRegions(_n, Fn)), [i, g]);
|
|
@@ -6956,7 +6956,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6956
6956
|
u
|
|
6957
6957
|
]);
|
|
6958
6958
|
}, z1 = ({ frameElement: e, panelRect: t }) => {
|
|
6959
|
-
const { measureRef: r, screenRect: a } =
|
|
6959
|
+
const { measureRef: r, screenRect: a } = Ro(), { selectionStore: o } = B(), i = U(), l = X((u) => u.caret?.annotationId ?? null), s = Se(), c = ne(s);
|
|
6960
6960
|
return O(() => (r(e), () => r(null)), [r, e]), O(() => () => {
|
|
6961
6961
|
const u = i.getState();
|
|
6962
6962
|
u.releaseInteraction("menu"), u.setCaret(null);
|
|
@@ -6978,7 +6978,7 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
6978
6978
|
panelRect: t
|
|
6979
6979
|
})] });
|
|
6980
6980
|
}, _1 = ({ annotationId: e, panelRect: t }) => {
|
|
6981
|
-
const r =
|
|
6981
|
+
const r = U(), { textAnnotations: a } = xe(t);
|
|
6982
6982
|
return O(() => {
|
|
6983
6983
|
a.some(({ id: o }) => o === e) || r.getState().setCaret(null);
|
|
6984
6984
|
}, [
|
|
@@ -7005,9 +7005,9 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
7005
7005
|
});
|
|
7006
7006
|
}, H1 = ({ frameElement: e, frameRect: t, panelOrigin: r, panelRect: a, boxRef: o }) => {
|
|
7007
7007
|
const i = qt(), l = Fa(), s = Ee[Se()].annotations;
|
|
7008
|
-
return /* @__PURE__ */ n(
|
|
7008
|
+
return /* @__PURE__ */ n(Bo, {
|
|
7009
7009
|
rect: t,
|
|
7010
|
-
zIndex:
|
|
7010
|
+
zIndex: Co.editorOverlay,
|
|
7011
7011
|
container: i,
|
|
7012
7012
|
"data-testid": "editor-overlay",
|
|
7013
7013
|
boxRef: o,
|
|
@@ -7050,10 +7050,10 @@ var s1 = "_1tyillx1", c1 = {
|
|
|
7050
7050
|
] })
|
|
7051
7051
|
});
|
|
7052
7052
|
}, v0 = ({ slots: e, mode: t, ...r }) => /* @__PURE__ */ n(vs, {
|
|
7053
|
-
locale:
|
|
7054
|
-
children: /* @__PURE__ */ n(
|
|
7053
|
+
locale: bo(),
|
|
7054
|
+
children: /* @__PURE__ */ n(vo, { children: /* @__PURE__ */ n(Fo, {
|
|
7055
7055
|
editors: Xc,
|
|
7056
|
-
children: /* @__PURE__ */ n(
|
|
7056
|
+
children: /* @__PURE__ */ n(Vo, {
|
|
7057
7057
|
slots: R(() => ({
|
|
7058
7058
|
EditorSurface: z1,
|
|
7059
7059
|
...e
|
|
@@ -7115,7 +7115,7 @@ var B1 = {
|
|
|
7115
7115
|
return /* @__PURE__ */ n("div", {
|
|
7116
7116
|
onKeyDown: (i) => {
|
|
7117
7117
|
if (t?.(i), !a || i.defaultPrevented) return;
|
|
7118
|
-
const l =
|
|
7118
|
+
const l = Uo(i.nativeEvent);
|
|
7119
7119
|
l && (i.preventDefault(), l === "undo" ? a.undo() : a.redo());
|
|
7120
7120
|
},
|
|
7121
7121
|
...r,
|
|
@@ -7150,8 +7150,8 @@ var B1 = {
|
|
|
7150
7150
|
}
|
|
7151
7151
|
}
|
|
7152
7152
|
};
|
|
7153
|
-
}, G1 = "eh8dvc0", $1 = "eh8dvc1 uz3g760",
|
|
7154
|
-
var
|
|
7153
|
+
}, G1 = "eh8dvc0", $1 = "eh8dvc1 uz3g760", U1 = "eh8dvc2 uz3g761";
|
|
7154
|
+
var W1 = ({ value: e, onChange: t, onCommit: r, min: a, max: o, step: i, placeholder: l, prefix: s, suffix: c, isDisabled: u, hasError: d, ariaLabel: h, ariaLabelledBy: g, id: m }) => {
|
|
7155
7155
|
const v = be({
|
|
7156
7156
|
id: m,
|
|
7157
7157
|
ariaLabel: h,
|
|
@@ -7178,7 +7178,7 @@ var U1 = ({ value: e, onChange: t, onCommit: r, min: a, max: o, step: i, placeho
|
|
|
7178
7178
|
children: s
|
|
7179
7179
|
}),
|
|
7180
7180
|
/* @__PURE__ */ n(gn.Input, {
|
|
7181
|
-
className:
|
|
7181
|
+
className: U1,
|
|
7182
7182
|
placeholder: l,
|
|
7183
7183
|
...C,
|
|
7184
7184
|
"aria-invalid": d === !0 ? !0 : void 0,
|
|
@@ -7399,25 +7399,25 @@ var wp = ({ options: e, value: t, onChange: r, onCommit: a, itemLayout: o = "inl
|
|
|
7399
7399
|
}, $a = (e, t) => e.icon === void 0 || t, Tp = (e, t) => {
|
|
7400
7400
|
if (!$a(e, t))
|
|
7401
7401
|
return e.label;
|
|
7402
|
-
},
|
|
7402
|
+
}, Ua = {
|
|
7403
7403
|
ToggleGroup: wp,
|
|
7404
7404
|
Switch: fp,
|
|
7405
7405
|
Slider: pp,
|
|
7406
7406
|
RadioGrid: j1,
|
|
7407
7407
|
Button: V1,
|
|
7408
7408
|
TextField: Cp,
|
|
7409
|
-
NumberField:
|
|
7409
|
+
NumberField: W1,
|
|
7410
7410
|
Select: ap
|
|
7411
|
-
},
|
|
7411
|
+
}, Wa = He(Ua), Ap = ({ controls: e, children: t }) => {
|
|
7412
7412
|
const r = R(() => ({
|
|
7413
|
-
...
|
|
7413
|
+
...Ua,
|
|
7414
7414
|
...e
|
|
7415
7415
|
}), [e]);
|
|
7416
|
-
return /* @__PURE__ */ n(
|
|
7416
|
+
return /* @__PURE__ */ n(Wa.Provider, {
|
|
7417
7417
|
value: r,
|
|
7418
7418
|
children: t
|
|
7419
7419
|
});
|
|
7420
|
-
}, G = () => Oe(
|
|
7420
|
+
}, G = () => Oe(Wa), kp = "_12lhx9e0", Ka = ({ children: e }) => /* @__PURE__ */ n("div", {
|
|
7421
7421
|
className: kp,
|
|
7422
7422
|
children: e
|
|
7423
7423
|
}), Lp = "_139ohwv0", j = ({ children: e }) => /* @__PURE__ */ n("div", {
|
|
@@ -7437,7 +7437,7 @@ function Op(e) {
|
|
|
7437
7437
|
return t.includes("_1ii3bsb0") || t.includes("_1ii3bsb1");
|
|
7438
7438
|
}
|
|
7439
7439
|
var Rp = ({ handle: e, children: t, controls: r, defaultExpandedSection: a = void 0, className: o }) => {
|
|
7440
|
-
const i =
|
|
7440
|
+
const i = _o(e), { themeClass: l, inlineVarsStyle: s } = lt(), [c, u] = te(() => a ? [a] : []), d = R(() => ({
|
|
7441
7441
|
expandSection: (h) => u([h]),
|
|
7442
7442
|
collapseAllSections: () => u([])
|
|
7443
7443
|
}), []);
|
|
@@ -7614,10 +7614,10 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7614
7614
|
}),
|
|
7615
7615
|
children: i
|
|
7616
7616
|
});
|
|
7617
|
-
},
|
|
7617
|
+
}, Up = {
|
|
7618
7618
|
horizontal: ["bottom", "top"],
|
|
7619
7619
|
vertical: ["left", "right"]
|
|
7620
|
-
},
|
|
7620
|
+
}, Wp = {
|
|
7621
7621
|
left: "editor.axesPanel.position.left",
|
|
7622
7622
|
right: "editor.axesPanel.position.right",
|
|
7623
7623
|
top: "editor.axesPanel.position.top",
|
|
@@ -7626,16 +7626,16 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7626
7626
|
x: "editor.axesPanel.mainAxisSection.xAxis",
|
|
7627
7627
|
y: "editor.axesPanel.mainAxisSection.yAxis"
|
|
7628
7628
|
}, Gn = ({ axis: e, title: t, layout: r = "collapsible", preview: a }) => {
|
|
7629
|
-
const o = V(), i =
|
|
7629
|
+
const o = V(), i = W(o), l = I(), { NumberField: s, Switch: c, TextField: u, ToggleGroup: d } = G();
|
|
7630
7630
|
if (!i) return null;
|
|
7631
7631
|
const h = i.coordSystem.type === "polar" ? i.coordSystem.axisMapping[e].geometry : "linear", g = i.config.axes[e], m = i.scales[e], v = m?.spec, b = v?.scaleType === "continuous" ? v : void 0;
|
|
7632
7632
|
if (h === "circular" || h === "radial" && b === void 0) return null;
|
|
7633
7633
|
const C = v !== void 0 && "reverse" in v ? v : void 0, k = v?.scaleType === "continuous" || v?.scaleType === "datetime", y = e === "y" && b !== void 0 && i.layers.some((T) => T.yScaleType === "primary" && T.geom === "bar"), L = b?.transform === "log", P = b?.domainMax ?? null, D = qp(b), _ = (T, ge) => T.map(($e) => ({
|
|
7634
7634
|
value: $e,
|
|
7635
7635
|
label: ge($e)
|
|
7636
|
-
})), z = i.guides.axes.find((T) => T.scaleAestheticKey === e)?.position, E =
|
|
7636
|
+
})), z = i.guides.axes.find((T) => T.scaleAestheticKey === e)?.position, E = Up[z === "bottom" || z === "top" || z === void 0 && e === "x" ? "horizontal" : "vertical"], N = e === "y" ? wl(i.spec) : null, x = N === null ? void 0 : i.spec.layers.find((T) => T.id === N), f = i.guides.legends.drawn.some((T) => E.some((ge) => ge === T.position)), A = E.map((T) => ({
|
|
7637
7637
|
value: T,
|
|
7638
|
-
label: l(
|
|
7638
|
+
label: l(Wp[T])
|
|
7639
7639
|
})), q = _(["auto", "edges"], (T) => l(T === "edges" ? "editor.axesPanel.labelMode.edges" : "editor.axesPanel.labelMode.auto")), ee = _(["linear", "log"], (T) => l(T === "log" ? "editor.axesPanel.scale.log" : "editor.axesPanel.scale.auto")), Ae = _([
|
|
7640
7640
|
"auto",
|
|
7641
7641
|
"zero",
|
|
@@ -7671,7 +7671,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7671
7671
|
transform: T === "log" ? "log" : "linear"
|
|
7672
7672
|
}));
|
|
7673
7673
|
}, on = (T) => {
|
|
7674
|
-
o.commands.dispatch(new
|
|
7674
|
+
o.commands.dispatch(new Ue({
|
|
7675
7675
|
scaledAesthetic: e,
|
|
7676
7676
|
...T
|
|
7677
7677
|
}), { transient: !0 });
|
|
@@ -7685,13 +7685,13 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7685
7685
|
b.zero && o.commands.dispatch(new mn({
|
|
7686
7686
|
scaledAesthetic: e,
|
|
7687
7687
|
zero: !1
|
|
7688
|
-
})), o.commands.dispatch(new
|
|
7688
|
+
})), o.commands.dispatch(new Ue({
|
|
7689
7689
|
scaledAesthetic: e,
|
|
7690
7690
|
domainMin: $n(m?.domain, "start")
|
|
7691
7691
|
}));
|
|
7692
7692
|
return;
|
|
7693
7693
|
}
|
|
7694
|
-
b.domainMin !== null && o.commands.dispatch(new
|
|
7694
|
+
b.domainMin !== null && o.commands.dispatch(new Ue({
|
|
7695
7695
|
scaledAesthetic: e,
|
|
7696
7696
|
domainMin: null
|
|
7697
7697
|
})), o.commands.dispatch(new mn({
|
|
@@ -7701,7 +7701,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7701
7701
|
}
|
|
7702
7702
|
}, uo = (T) => {
|
|
7703
7703
|
const ge = T === "custom" ? $n(m?.domain, "end") : null;
|
|
7704
|
-
o.commands.dispatch(new
|
|
7704
|
+
o.commands.dispatch(new Ue({
|
|
7705
7705
|
scaledAesthetic: e,
|
|
7706
7706
|
domainMax: ge
|
|
7707
7707
|
}));
|
|
@@ -7833,7 +7833,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7833
7833
|
})
|
|
7834
7834
|
});
|
|
7835
7835
|
}, Zp = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7836
|
-
const a = V(), o =
|
|
7836
|
+
const a = V(), o = W(a), i = I(), { Switch: l } = G();
|
|
7837
7837
|
if (!o) return null;
|
|
7838
7838
|
const s = o.config.content, c = (d) => {
|
|
7839
7839
|
a.commands.dispatch(new ct({
|
|
@@ -7858,8 +7858,8 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7858
7858
|
onChange: u
|
|
7859
7859
|
})] })
|
|
7860
7860
|
});
|
|
7861
|
-
},
|
|
7862
|
-
const a = V(), o =
|
|
7861
|
+
}, Un = /^[a-z][a-z\d+.-]*:/i, jp = {}, Xp = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7862
|
+
const a = V(), o = W(a), i = I(), { Switch: l } = G();
|
|
7863
7863
|
if (!o) return null;
|
|
7864
7864
|
const s = o.config.content, c = (u) => {
|
|
7865
7865
|
a.commands.dispatch(new ct({
|
|
@@ -7885,7 +7885,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7885
7885
|
t.commands.dispatch(new gi({ source: u ? c : null }), { transient: !0 });
|
|
7886
7886
|
}, i = () => {
|
|
7887
7887
|
const c = e.url ?? "";
|
|
7888
|
-
c !== "" && !
|
|
7888
|
+
c !== "" && !Un.test(c) && o({
|
|
7889
7889
|
...e,
|
|
7890
7890
|
url: `https://${c}`
|
|
7891
7891
|
}), t.commands.seal();
|
|
@@ -7902,7 +7902,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7902
7902
|
value: e.url ?? "",
|
|
7903
7903
|
onChange: l,
|
|
7904
7904
|
onCommit: i,
|
|
7905
|
-
hasError:
|
|
7905
|
+
hasError: Un.test(e.url ?? "") && !Sl(e.url)
|
|
7906
7906
|
})
|
|
7907
7907
|
}), /* @__PURE__ */ n(S, {
|
|
7908
7908
|
label: r("editor.elementsPanel.sourceSection.name"),
|
|
@@ -7913,7 +7913,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7913
7913
|
})
|
|
7914
7914
|
})] });
|
|
7915
7915
|
}, Jp = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7916
|
-
const a = V(), o =
|
|
7916
|
+
const a = V(), o = W(a), i = I(), { Switch: l } = G();
|
|
7917
7917
|
if (!o) return null;
|
|
7918
7918
|
const s = o.config.content, c = (d) => {
|
|
7919
7919
|
a.commands.dispatch(new ct({
|
|
@@ -7950,7 +7950,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7950
7950
|
3,
|
|
7951
7951
|
4
|
|
7952
7952
|
], Qp = Dt.length / 2, e2 = { select: { target: "graph" } }, t2 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7953
|
-
const a = V(), o =
|
|
7953
|
+
const a = V(), o = W(a), i = I(), { RadioGrid: l } = G();
|
|
7954
7954
|
if (!o) return null;
|
|
7955
7955
|
const s = dt().chromeReaders(o.chrome).graph.get("textScale"), c = (h) => i("editor.elementsPanel.textSizeSection.scaleFormat", { value: `${h}` }), u = Dt.map((h) => ({
|
|
7956
7956
|
value: `${h}`,
|
|
@@ -7983,7 +7983,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
7983
7983
|
})
|
|
7984
7984
|
});
|
|
7985
7985
|
}, n2 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
7986
|
-
const a = V(), o =
|
|
7986
|
+
const a = V(), o = W(a), i = I(), { Switch: l } = G();
|
|
7987
7987
|
if (!o) return null;
|
|
7988
7988
|
const s = o.config.content, c = (d) => {
|
|
7989
7989
|
a.commands.dispatch(new ct({
|
|
@@ -8020,10 +8020,10 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8020
8020
|
}), b0 = ({ children: e, ...t }) => /* @__PURE__ */ n(Za.Root, {
|
|
8021
8021
|
...t,
|
|
8022
8022
|
children: e ?? /* @__PURE__ */ p(Y, { children: [/* @__PURE__ */ n(Gn, { axis: "x" }), /* @__PURE__ */ n(Gn, { axis: "y" })] })
|
|
8023
|
-
}), ft = (e) => `${e}px`, Xa = (e) => `${Math.round(e * 100)}%`, r2 = (e) => `${e}°`, a2 = 24, o2 = { select: { target: "graph" } },
|
|
8024
|
-
const a = V(), o =
|
|
8023
|
+
}), ft = (e) => `${e}px`, Xa = (e) => `${Math.round(e * 100)}%`, r2 = (e) => `${e}°`, a2 = 24, o2 = { select: { target: "graph" } }, Wn = ["dim", "desaturate"], y0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
8024
|
+
const a = V(), o = W(a), i = I(), { Slider: l, ToggleGroup: s } = G();
|
|
8025
8025
|
if (!o) return null;
|
|
8026
|
-
const c = dt().chromeReaders(o.chrome).graph.get("borderRadius"), u = Tl(o.spec), d =
|
|
8026
|
+
const c = dt().chromeReaders(o.chrome).graph.get("borderRadius"), u = Tl(o.spec), d = Wn.map((m) => ({
|
|
8027
8027
|
value: m,
|
|
8028
8028
|
label: i(m === "dim" ? "editor.highlighting.highlightStyle.tint" : "editor.highlighting.highlightStyle.gray")
|
|
8029
8029
|
})), h = (m) => {
|
|
@@ -8039,7 +8039,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8039
8039
|
}
|
|
8040
8040
|
}), { transient: !0 });
|
|
8041
8041
|
}, g = (m) => {
|
|
8042
|
-
const v =
|
|
8042
|
+
const v = Wn.find((b) => b === m);
|
|
8043
8043
|
v && a.commands.dispatch(new Ti({ dimStyle: v }));
|
|
8044
8044
|
};
|
|
8045
8045
|
return /* @__PURE__ */ n(K, {
|
|
@@ -8077,7 +8077,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8077
8077
|
r
|
|
8078
8078
|
]);
|
|
8079
8079
|
}, i2 = 0.05, C0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
8080
|
-
const a = V(), o =
|
|
8080
|
+
const a = V(), o = W(a), i = I(), { Slider: l, ToggleGroup: s } = G(), c = o ? Sr(o.spec.layers, "bar") : void 0, u = an(o, c?.id ?? null);
|
|
8081
8081
|
if (!o || !c || o.coordSystem.type === "polar" && o.coordSystem.bandAxis === null) return null;
|
|
8082
8082
|
const d = (v) => {
|
|
8083
8083
|
a.commands.dispatch(new mi({
|
|
@@ -8205,7 +8205,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8205
8205
|
x: 0.6,
|
|
8206
8206
|
y: 0.4
|
|
8207
8207
|
}, f2 = "relative-difference", S0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
8208
|
-
const a = V(), o =
|
|
8208
|
+
const a = V(), o = W(a), i = I(), { Button: l } = G();
|
|
8209
8209
|
if (!o) return null;
|
|
8210
8210
|
const s = () => {
|
|
8211
8211
|
a.commands.dispatch(new ve({
|
|
@@ -8299,7 +8299,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8299
8299
|
}]
|
|
8300
8300
|
}]
|
|
8301
8301
|
}), x0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
8302
|
-
const a = V(), o =
|
|
8302
|
+
const a = V(), o = W(a), i = I(), { ToggleGroup: l } = G();
|
|
8303
8303
|
if (!o) return null;
|
|
8304
8304
|
const s = Tr(o.spec);
|
|
8305
8305
|
if (s === null || !ye(s)) return null;
|
|
@@ -8325,10 +8325,10 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8325
8325
|
})
|
|
8326
8326
|
});
|
|
8327
8327
|
}, y2 = 0.1, C2 = 20, w0 = ({ title: e, preview: t }) => {
|
|
8328
|
-
const r = V(), a =
|
|
8328
|
+
const r = V(), a = W(r), o = I(), { NumberField: i, TextField: l } = G();
|
|
8329
8329
|
if (!a || a.coordSystem.type === "polar") return null;
|
|
8330
8330
|
const s = ul(a.spec.layers), c = e ?? o("editor.annotationsPanel.goalSection.title"), u = ll(s?.mapping.y), d = typeof u == "number" ? u : null, h = (v) => {
|
|
8331
|
-
const b = new
|
|
8331
|
+
const b = new Wi({
|
|
8332
8332
|
showGoalLine: v,
|
|
8333
8333
|
value: S2(a),
|
|
8334
8334
|
...s !== void 0 && { layerId: s.id }
|
|
@@ -8382,14 +8382,14 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
8382
8382
|
const i = Math.min(C2, Math.max(0, 1 - Math.floor(Math.log10(o))));
|
|
8383
8383
|
return Number((r + o * y2).toFixed(i));
|
|
8384
8384
|
}, T0 = ({ layerId: e, title: t, layout: r = "collapsible", preview: a }) => {
|
|
8385
|
-
const o = V(), i =
|
|
8385
|
+
const o = V(), i = W(o), l = I(), { Switch: s } = G();
|
|
8386
8386
|
if (!i) return null;
|
|
8387
8387
|
const c = e === void 0 ? i.spec.layers[0] : i.spec.layers.find((z) => z.id === e);
|
|
8388
8388
|
if (!c) return null;
|
|
8389
8389
|
const { showDataLabels: u, format: d, showStackTotals: h, showCategoryLabels: g } = c.dataLabels, m = i.coordSystem.type === "polar", v = c.geom === "bar", b = c.position === "stack" || c.position === "fill", C = v && !m && c.position === "stack", k = v && (!m || u), y = v || c.geom === "area" && b;
|
|
8390
8390
|
if (!nl(c.geom, i.coordSystem.type)) return null;
|
|
8391
8391
|
const L = (z) => {
|
|
8392
|
-
const E = new
|
|
8392
|
+
const E = new Ui({
|
|
8393
8393
|
layerId: c.id,
|
|
8394
8394
|
showDataLabels: z
|
|
8395
8395
|
});
|
|
@@ -9208,7 +9208,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9208
9208
|
position: "identity"
|
|
9209
9209
|
}
|
|
9210
9210
|
}
|
|
9211
|
-
], G2 = 0.05, $2 = (e) => e === null ? null : zt.find((t) =>
|
|
9211
|
+
], G2 = 0.05, $2 = (e) => e === null ? null : zt.find((t) => W2(t.summary, e)) ?? null, U2 = (e, t) => {
|
|
9212
9212
|
const { summary: r } = e;
|
|
9213
9213
|
return t === null || ye(r) ? r : r.position === "dodge" && Ya(t) ? {
|
|
9214
9214
|
...r,
|
|
@@ -9217,12 +9217,12 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9217
9217
|
...r,
|
|
9218
9218
|
innerRadius: t.innerRadius
|
|
9219
9219
|
};
|
|
9220
|
-
}, Ya = (e) => !ye(e) && e.geom === "bar" && e.position === "identity",
|
|
9220
|
+
}, Ya = (e) => !ye(e) && e.geom === "bar" && e.position === "identity", W2 = (e, t) => {
|
|
9221
9221
|
if (ye(e) || ye(t)) return ye(e) && ye(t);
|
|
9222
9222
|
const r = e.position === t.position || e.position === "dodge" && Ya(t);
|
|
9223
9223
|
return e.coordType !== t.coordType || e.geom !== t.geom || !r ? !1 : e.coordType !== "polar" || t.coordType !== "polar" ? !0 : e.theta === t.theta && at(e.innerRadius) === at(t.innerRadius);
|
|
9224
9224
|
}, at = (e) => e >= G2, K2 = 3, A0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9225
|
-
const a = V(), o =
|
|
9225
|
+
const a = V(), o = W(a), i = I(), { RadioGrid: l } = G(), s = R(() => zt.map(({ name: h, icon: g }) => ({
|
|
9226
9226
|
value: h,
|
|
9227
9227
|
label: i(`editor.graphTypes.${h}`),
|
|
9228
9228
|
icon: /* @__PURE__ */ n(g, { size: "md" }),
|
|
@@ -9231,7 +9231,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9231
9231
|
if (!o) return null;
|
|
9232
9232
|
const c = Tr(o.spec), u = $2(c), d = (h) => {
|
|
9233
9233
|
const g = zt.find((m) => m.name === h);
|
|
9234
|
-
g && a.commands.dispatch(new mr(
|
|
9234
|
+
g && a.commands.dispatch(new mr(U2(g, c)));
|
|
9235
9235
|
};
|
|
9236
9236
|
return /* @__PURE__ */ n(K, {
|
|
9237
9237
|
title: e ?? i("editor.graphPanel.graphTypeSection.title"),
|
|
@@ -9250,7 +9250,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9250
9250
|
"dashed",
|
|
9251
9251
|
"dotted"
|
|
9252
9252
|
], q2 = 8, Z2 = 0, k0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9253
|
-
const a = V(), o =
|
|
9253
|
+
const a = V(), o = W(a), i = I(), { Slider: l, Switch: s, ToggleGroup: c } = G(), { colorScheme: u } = lt();
|
|
9254
9254
|
if (!o) return null;
|
|
9255
9255
|
const d = o.guides.axes.filter(j2);
|
|
9256
9256
|
if (d.length === 0) return null;
|
|
@@ -9314,7 +9314,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9314
9314
|
"medium",
|
|
9315
9315
|
"large"
|
|
9316
9316
|
], L0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9317
|
-
const a = V(), o =
|
|
9317
|
+
const a = V(), o = W(a), i = I(), { Switch: l, ToggleGroup: s } = G();
|
|
9318
9318
|
if (!o) return null;
|
|
9319
9319
|
const c = o.config.headline, u = c.show !== "none", d = o.coordSystem, h = d.type === "polar", g = d.type === "polar" && d.innerRadius > 0, m = o.layers.some((x) => x.summary.grandTotal !== void 0);
|
|
9320
9320
|
if (h && !m) return null;
|
|
@@ -9413,7 +9413,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9413
9413
|
"pill",
|
|
9414
9414
|
"direct"
|
|
9415
9415
|
], P0 = ({ positions: e, title: t, layout: r = "collapsible", preview: a }) => {
|
|
9416
|
-
const o = V(), i =
|
|
9416
|
+
const o = V(), i = W(o), l = I(), { ToggleGroup: s } = G();
|
|
9417
9417
|
if (!i) return null;
|
|
9418
9418
|
const c = i.config.legend.position, u = e ?? At, d = i.guides.legends.drawn[0], h = Qi({
|
|
9419
9419
|
legendPosition: i.guides.legends.position,
|
|
@@ -9475,7 +9475,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9475
9475
|
] })
|
|
9476
9476
|
});
|
|
9477
9477
|
}, em = 1, tm = 20, nm = 0.5, Qa = ({ layerId: e }) => {
|
|
9478
|
-
const t = V(), r =
|
|
9478
|
+
const t = V(), r = W(t), { Slider: a } = G(), o = an(r, e);
|
|
9479
9479
|
if (!r) return null;
|
|
9480
9480
|
const i = (l) => {
|
|
9481
9481
|
const s = new Oi({
|
|
@@ -9498,7 +9498,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9498
9498
|
"zero",
|
|
9499
9499
|
"connect"
|
|
9500
9500
|
], I0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9501
|
-
const a = V(), o =
|
|
9501
|
+
const a = V(), o = W(a), i = I(), { Select: l, Slider: s, Switch: c, ToggleGroup: u } = G(), d = o?.spec.layers ?? [], h = Sr(d, "line", "area"), g = an(o, h?.id ?? null);
|
|
9502
9502
|
if (!o || !h) return null;
|
|
9503
9503
|
const m = o.coordSystem.type === "polar", v = cm(i, h), b = sm(h, d), C = Yn(o.spec, h.geom, "strokeWidth", h.id), k = typeof C == "number", y = h.geom === "line" ? h : void 0, L = [{
|
|
9504
9504
|
value: "auto",
|
|
@@ -9624,7 +9624,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9624
9624
|
size: "editor.graphPanel.mappingSection.size",
|
|
9625
9625
|
label: "editor.graphPanel.mappingSection.label"
|
|
9626
9626
|
}, E0 = ({ title: e, layout: t = "collapsible" }) => {
|
|
9627
|
-
const r = V(), a =
|
|
9627
|
+
const r = V(), a = W(r), o = I(), { Select: i } = G(), l = o("editor.graphPanel.mappingSection.none"), s = a?.spec, c = R(() => s === void 0 ? [] : Al(s, dm).map(({ aesthetic: u, variables: d, isRequired: h }) => {
|
|
9628
9628
|
const g = kl(s.mapping, u);
|
|
9629
9629
|
return {
|
|
9630
9630
|
aesthetic: u,
|
|
@@ -9680,7 +9680,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9680
9680
|
labelKey: "billions"
|
|
9681
9681
|
}
|
|
9682
9682
|
], fm = ["auto", "none"], M0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9683
|
-
const a = V(), o =
|
|
9683
|
+
const a = V(), o = W(a), i = I(), { NumberField: l, ToggleGroup: s } = G();
|
|
9684
9684
|
if (!o) return null;
|
|
9685
9685
|
const { abbreviation: c, decimals: u } = o.config.numberFormat, d = bm(c) !== void 0, h = u !== "auto", g = (L) => L.map((P) => ({
|
|
9686
9686
|
value: P,
|
|
@@ -9747,7 +9747,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9747
9747
|
] })
|
|
9748
9748
|
});
|
|
9749
9749
|
}, bm = (e) => Ft.find((t) => t.value === e), N0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9750
|
-
const a =
|
|
9750
|
+
const a = W(V()), o = I();
|
|
9751
9751
|
if (!a) return null;
|
|
9752
9752
|
const i = ym(a.spec.layers);
|
|
9753
9753
|
return i ? /* @__PURE__ */ n(K, {
|
|
@@ -9763,7 +9763,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9763
9763
|
const t = Lt(e, "line", "area");
|
|
9764
9764
|
return Lt(e, "point").find((r) => !xr(r, t));
|
|
9765
9765
|
}, Cm = 0.9, Sm = 360, xm = 0.05, wm = 15, O0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9766
|
-
const a = V(), o =
|
|
9766
|
+
const a = V(), o = W(a), i = I(), { Slider: l } = G();
|
|
9767
9767
|
if (!o || o.spec.coords.coordType !== "polar") return null;
|
|
9768
9768
|
const { innerRadius: s, startAngle: c } = o.spec.coords.params, u = (h) => {
|
|
9769
9769
|
a.commands.dispatch(new Ri({ innerRadius: h }), { transient: !0 });
|
|
@@ -9877,7 +9877,7 @@ var Bp = "_40zvwv8", K = ({ title: e, layout: t = "fixed", preview: r, accessory
|
|
|
9877
9877
|
"power",
|
|
9878
9878
|
"loess"
|
|
9879
9879
|
], km = "linear", R0 = ({ title: e, layout: t = "collapsible", preview: r }) => {
|
|
9880
|
-
const a = V(), o =
|
|
9880
|
+
const a = V(), o = W(a), i = I(), { Select: l, Switch: s } = G(), { options: c, findValue: u } = Am(o);
|
|
9881
9881
|
if (!o || o.coordSystem.type === "polar") return null;
|
|
9882
9882
|
const d = gl(o.spec.layers), h = dl(o.spec.layers), g = d?.stat.type === "smooth" ? d.stat.method : km, m = Lm(h), v = Qn.map((P) => ({
|
|
9883
9883
|
value: P,
|
|
@@ -9964,7 +9964,7 @@ export {
|
|
|
9964
9964
|
P0 as LegendSection,
|
|
9965
9965
|
I0 as LineSection,
|
|
9966
9966
|
E0 as MappingSection,
|
|
9967
|
-
|
|
9967
|
+
W1 as NumberField,
|
|
9968
9968
|
M0 as NumberFormatSection,
|
|
9969
9969
|
Mp as PANEL_ROOT_ATTRIBUTE,
|
|
9970
9970
|
N0 as PointSection,
|