@graphysdk/react-renderer 1.9.0-beta.1793700147232 → 1.9.0-beta.1793702966406

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as zn, A as Ot, At as is, C as ls, Cn as ss, Ct as Ho, D as cs, Dn as Go, Dt as ds, E as us, Et as hs, F as ps, Fn as Bn, G as Q, H as gs, I as ms, It as et, J as wr, Jt as vs, K as X, L as I, Lt as ee, Mn as fs, Nn as H, O as Vo, Ot as Te, P as bs, Q as Hn, Rt as ys, S as Ss, St as Cs, T as de, Tt as $o, U as xs, W as ws, X as ks, Y as Ts, Z as K, Zt as As, _ as Fe, _t as Rt, at as Gn, b as Wo, bn as Ps, bt as Ls, c as Uo, cn as se, ct as Is, d as Es, dt as kr, et as Ko, f as Ms, ft as Os, g as qo, gt as Rs, h as tt, ht as Ns, i as Nt, in as Ds, it as jo, jn as R, jt as _s, k as gn, kn as $, kt as Fs, l as zs, ln as Vn, lt as Bs, m as Hs, mt as Se, n as ue, nn as Gs, nt as Dt, o as Vs, on as Xo, p as Zo, pt as me, q as $s, qt as Tr, r as W, rn as Yo, rt as Ws, sn as Jo, t as Us, tn as Ks, tt as $n, u as qs, un as Be, ut as js, v as Xs, wt as E, x as Zs, y as Ys, yn as Js, zt as Qs } from "./history-chords-_OMXH8sB.js";
1
+ import { $ as zn, A as Ot, At as is, C as ls, Cn as ss, Ct as Ho, D as cs, Dn as Go, Dt as ds, E as us, Et as hs, F as ps, Fn as Bn, G as Q, H as gs, I as ms, It as et, J as wr, Jt as vs, K as X, L as I, Lt as ee, Mn as fs, Nn as H, O as Vo, Ot as Te, P as bs, Q as Hn, Rt as ys, S as Ss, St as Cs, T as de, Tt as $o, U as xs, W as ws, X as ks, Y as Ts, Z as K, Zt as As, _ as Fe, _t as Rt, at as Gn, b as Wo, bn as Ps, bt as Ls, c as Uo, cn as se, ct as Is, d as Es, dt as kr, et as Ko, f as Ms, ft as Os, g as qo, gt as Rs, h as tt, ht as Ns, i as Nt, in as Ds, it as jo, jn as R, jt as _s, k as gn, kn as $, kt as Fs, l as zs, ln as Vn, lt as Bs, m as Hs, mt as Se, n as ue, nn as Gs, nt as Dt, o as Vs, on as Xo, p as Zo, pt as me, q as $s, qt as Tr, r as W, rn as Yo, rt as Ws, sn as Jo, t as Us, tn as Ks, tt as $n, u as qs, un as Be, ut as js, v as Xs, wt as E, x as Zs, y as Ys, yn as Js, zt as Qs } from "./history-chords-DHzCTBn_.js";
2
2
  import { ARROW_DEFAULTS as ec, ARROW_STICKER_DECLARATIONS as tc, ARROW_STROKE_WIDTHS_PX as Qt, AddAnnotationCommand as Le, AddHighlightCommand as nc, COMBO_TYPES as Ar, CONSTANT_VARIABLES as rc, DASH_PRESETS as oc, DEFAULT_BAR_CORNER_RADII as ac, DEFAULT_GEOM_COLOR as ic, DEFAULT_POINT_SIZE_PX as Qo, DEFAULT_STROKE_WIDTH_PX as lc, DIFFERENCE_ARROW_DEFAULTS as ea, DIFFERENCE_ARROW_SIZE_DECLARATIONS as Pr, InternalError as sc, MAX_BAR_WIDTH_FRACTION as cc, MIN_BAR_WIDTH_FRACTION as dc, MoveAnnotationCommand as uc, RESTING_HOVER_STATE as Wn, RemoveAnnotationCommand as $e, RemoveHighlightCommand as hc, SHAPE_DEFAULTS as pc, SequenceCommand as Xe, SetAxisLabelCommand as ta, SetAxisPositionCommand as na, SetAxisTickModeCommand as ra, SetAxisTicksVisibilityCommand as gc, SetAxisVisibilityCommand as mn, SetBarCornerRadiusCommand as mc, SetBarWidthCommand as oa, SetContentCaptionCommand as aa, SetContentSourceCommand as vc, SetContentSubtitleCommand as ia, SetContentTitleCommand as la, SetDataLabelsFormatCommand as sa, SetDifferenceArrowStyleCommand as fc, SetGraphTypeCommand as Un, SetGridLineStyleCommand as ca, SetGridVisibilityCommand as vn, SetHeadlineCompareWithCommand as bc, SetHeadlinePositionCommand as yc, SetHeadlineShowCommand as Lr, SetHeadlineSizeCommand as Sc, SetHighlightDimStyleCommand as Cc, SetLayerYScaleTypeCommand as xc, SetLegendAlignCommand as wc, SetLegendDisplayCommand as kc, SetLegendPlacementCommand as Tc, SetLegendPositionCommand as fn, SetLineCurveCommand as da, SetLineMissingValuesCommand as ua, SetLineStyleCommand as ke, SetMappingCommand as Ac, SetNumberFormatAbbreviationCommand as Pc, SetNumberFormatDecimalsCommand as Ir, SetObservationsColorCommand as Lc, SetPointSizeCommand as Kn, SetPolarInnerRadiusCommand as Ic, SetPolarStartAngleCommand as Ec, SetRuleLabelCommand as Mc, SetRuleValueCommand as Oc, SetScaleDomainCommand as Ye, SetScaleRangeCommand as Rc, SetScaleReverseCommand as Nc, SetScaleTransformCommand as ha, SetStatLineCommand as Dc, SetStyleRuleCommand as Ne, TEXT_ANNOTATION_DEFAULTS as _c, TEXT_ANNOTATION_FADE_ALPHA as Fc, ToggleCategoryLabelsCommand as pa, ToggleContentVisibilityCommand as Re, ToggleDataLabelsCommand as ga, ToggleGoalLineCommand as zc, ToggleLinePointsCommand as qn, ToggleStackTotalsCommand as ma, UpdateAnnotationCommand as ve, alignUnitFractions as Bc, areAnchorsEqual as va, areEditTargetsEqual as jn, areEndpointsComparable as Hc, buildEditMenuTriggerRegion as Gc, buildLayerStyleAddress as Ge, buildObservationPredicate as Vc, buildObservationsTarget as We, buildObservationsTargetAtValue as fa, canAnchorDirectLabels as $c, canBecomeCombo as Wc, canBecomeHeatmap as Uc, clampAnnotationTranslation as Kc, combineKindStyleDeclarations as Er, computeArrow as ba, createObservationAnchorBuilder as qc, createObservationAnchorParser as jc, createStyleResolver as Xc, createStyleRuleMatcher as Zc, createValueFormatter as ya, createXValueReader as Yc, filterLayersByGeoms as bn, findAnnotation as Jc, findAverageLineLayer as Qc, findAxisGuide as Sa, findCompanionLayers as Ca, findGoalLineLayer as ed, findHighlightsAtObservation as td, findHostLayer as _t, findKindStyleDeclarations as yt, findLayerByGeom as xa, findLayerById as j, findObservationAttachment as nd, findStyleRule as Ie, findTrendLineLayer as rd, formatDifferenceLabel as od, getBoundingRect as yn, getGroupVariables as wa, getXBand as ad, getYBand as id, hasMainAxisBand as ld, hasMultipleGroups as Ft, inferDefaultDifferenceArrowEndpoints as sd, inferDifferenceArrowEndpoints as cd, isComboGraphType as le, isCompanionLayer as ka, isGeomStyleRule as dd, isLayerSpecOf as zt, isObservationAttachmentKind as ud, isPointWithinEditMenuTrigger as Xn, isSafeUrl as hd, isZeroAnchoredAxis as Ta, measureObservationsBoxes as Aa, projectAnchorToPanel as St, readBroadestObservationsScope as pd, readColorChoices as gd, readComboLineLayerId as md, readCompanionRowsAtScopeKey as vd, readConstantValue as fd, readEditTargetKey as Bt, readGeomColor as bd, readGraphType as Ht, readHighlightDimStyle as yd, readMainAxis as Sd, readMappableAesthetics as Cd, readMappedVariable as xd, readObservationIndex as Zn, readObservationsColor as wd, readObservationsColorRoute as Yn, readReachableLevels as kd, readRowScopeKey as Td, readRowsAtScopeKey as Ad, readScopeXVariable as Pd, readStyleCoord as ce, readStyleRulesBeneath as Ld, readVariableName as Gt, resolveArrowAnnotationStyle as Jn, resolveBarBandFraction as Pa, resolveComparisonBasis as Id, resolveDifferenceArrowAnnotationStyle as Ed, resolveEditOutlineStyle as Md, resolveLayerAxisValueFormat as Od, resolveObservationPoint as La, resolveObservationsTarget as De, stepDifferenceArrowEndpoint as Rd, toDashPreset as _e, toPaintColor as Ct, toPanelCursor as Vt, toStrokeDasharray as Ia } from "@graphysdk/viz-engine";
3
3
  import { Fragment as Ea, createContext as Oe, memo as Ma, useCallback as te, useContext as he, useEffect as z, useId as Ee, useLayoutEffect as Me, useMemo as M, useRef as ne, useState as q, useSyncExternalStore as Nd } from "react";
4
4
  import { Fragment as V, jsx as r, jsxs as v } from "react/jsx-runtime";
@@ -22,7 +22,7 @@ import './history-chords.css';var Co = Object.defineProperty, Rc = (e, t) => {
22
22
  });
23
23
  return t || Co(r, Symbol.toStringTag, { value: "Module" }), r;
24
24
  };
25
- typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "1.9.0-beta.1793700147232");
25
+ typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "1.9.0-beta.1793702966406");
26
26
  function Cc(e) {
27
27
  for (const t of e) (t.severity === "error" ? console.error : console.warn)(`[graphy] ${t.code}: ${t.message}`, t);
28
28
  }
@@ -7595,7 +7595,7 @@ var cy = (e, t, r, n) => t !== "comment" ? r : $a(r, 140, (o) => e.measureText(o
7595
7595
  width: t * e,
7596
7596
  height: t
7597
7597
  }, Sy = "_1agclyl0", wy = "_1agclyl1", ky = "_1agclyl2", Sl = ({ x: e, y: t, width: r, height: n, text: o, rotated: a, labelRole: i, position: s, coordType: d, backdropColor: c }) => {
7598
- const u = M(), h = T(Fr, u), v = T(Of, u), p = a ? `rotate(-90 ${e} ${t})` : void 0, f = h[i][s], m = Ly(i, d, f), g = Cy(f, m, c, v), x = g.stroke !== void 0 && (g.strokeWidth ?? 0) > 0, A = Ry(g, m, c, v), S = {
7598
+ const u = M(), h = T(Fr, u), v = T(Of, u), p = a ? `rotate(-90 ${e} ${t})` : void 0, f = h[i][s], m = Ly(i, s, d, f), g = Cy(f, m, c, v), x = g.stroke !== void 0 && (g.strokeWidth ?? 0) > 0, A = Ry(g, m, c, v), S = {
7599
7599
  x: e - r / 2,
7600
7600
  y: t - n / 2,
7601
7601
  width: r,
@@ -7657,7 +7657,7 @@ var cy = (e, t, r, n) => t !== "comment" ? r : $a(r, 140, (o) => e.measureText(o
7657
7657
  }, kl = (e) => {
7658
7658
  if (!(e.textOutlineColor === void 0 || (e.textOutlineWidth ?? 0) <= 0))
7659
7659
  return nr(void 0, e.textOutlineColor);
7660
- }, Ly = (e, t, r) => r.fill === void 0 ? !1 : e === "aggregate" || t === "cartesian", Ty = ({ panelRect: e, formattingLocale: t, plotBottomY: r, hasReservedFooterSpace: n }) => {
7660
+ }, Ly = (e, t, r, n) => n.fill === void 0 ? !1 : e === "aggregate" || r === "cartesian" || t === "inside", Ty = ({ panelRect: e, formattingLocale: t, plotBottomY: r, hasReservedFooterSpace: n }) => {
7661
7661
  const o = De(), a = Ze(), i = B(oe((f) => ({
7662
7662
  layers: f.layers,
7663
7663
  coordSystem: f.coordSystem,