@graphysdk/react-renderer 1.9.0-beta.1788803137845 → 1.9.0-beta.1788850422219
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/dev.css +1 -0
- package/dist/{dev.utils-DZcwQpSI.js → dev.utils-BWIxakWj.js} +1 -1
- package/dist/dev.utils-MDtVKEi4.cjs +2 -0
- package/dist/editable.cjs +1 -1
- package/dist/editable.mjs +2 -2
- package/dist/graph-config.cjs +1 -1
- package/dist/graph-config.mjs +1 -1
- package/dist/{history-chords-DdWu-GiG.js → history-chords-BBCzcKMF.js} +2 -2
- package/dist/{history-chords-Dj1OKqU5.cjs → history-chords-CTFz-YdJ.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
- package/dist/dev.utils-BU9Kwcpp.cjs +0 -2
package/dist/editable.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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, Ft as G, G as uo, H as et, I as U, J as ho, K as jn, L as V, N as po, Nt as _, Ot as mo, P as go, Q as Qt, R as Et, S as vo, T as fo, U as bo, V as Mt, W as Yn, X as Co, Z as yo, _ as Jn, at as So, b as Nt, c as xo, d as wo, dt as To, et as ee, f as Qn, ft as le, g as Ao, gt as J, h as ko, ht as Ot, i as Lo, kt as Po, l as Io, lt as Eo, m as tt, n as se, nt, o as Mo, ot as k, p as er, q as No, r as $, st as Oo, t as Ro, u as Do, ut as zo, v as tr, w as _o, x as Fo, y as fe, z as Rt } from "./history-chords-
|
|
2
|
-
import { d as ce, n as nr, u as rr } from "./dev.utils-
|
|
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, Ft as G, G as uo, H as et, I as U, J as ho, K as jn, L as V, N as po, Nt as _, Ot as mo, P as go, Q as Qt, R as Et, S as vo, T as fo, U as bo, V as Mt, W as Yn, X as Co, Z as yo, _ as Jn, at as So, b as Nt, c as xo, d as wo, dt as To, et as ee, f as Qn, ft as le, g as Ao, gt as J, h as ko, ht as Ot, i as Lo, kt as Po, l as Io, lt as Eo, m as tt, n as se, nt, o as Mo, ot as k, p as er, q as No, r as $, st as Oo, t as Ro, u as Do, ut as zo, v as tr, w as _o, x as Fo, y as fe, z as Rt } from "./history-chords-BBCzcKMF.js";
|
|
2
|
+
import { d as ce, n as nr, u as rr } from "./dev.utils-BWIxakWj.js";
|
|
3
3
|
import { ARROW_DEFAULTS as Ho, ARROW_STICKER_DECLARATIONS as Bo, ARROW_STROKE_WIDTHS as pt, AddAnnotationCommand as pe, AddHighlightCommand as Vo, BORDER_RADIUS_TOKENS as en, COMBO_TYPES as tn, CONSTANT_VARIABLES as Go, DEFAULT_BAR_BORDER_RADIUS as $o, DEFAULT_POINT_SIZE as Uo, DEFAULT_STROKE_WIDTH as Wo, DIFFERENCE_ARROW_DEFAULTS as ar, DIFFERENCE_ARROW_SIZE_DECLARATIONS as nn, MAX_BAR_WIDTH as Ko, MIN_BAR_WIDTH as qo, MoveAnnotationCommand as Zo, RESTING_HOVER_STATE as or, RemoveAnnotationCommand as ke, RemoveHighlightCommand as Xo, SHAPE_DEFAULTS as jo, SetAppearanceTextScaleCommand 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 Ne, 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 Te, 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
4
|
import { createContext as Oe, useCallback as ie, useContext as Le, 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";
|
package/dist/graph-config.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./dev.utils-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./dev.utils-MDtVKEi4.cjs");let i=require("@graphysdk/viz-engine/graph-config");var s=o=>{const e={};for(const[r,n]of Object.entries(o.themeOverrides??{}))if(a.isMeasuredFontTokenKey(r)&&typeof n=="string"){const t=(0,i.parseFontShorthand)(n);if(t===null){d(r,n);continue}e[r]=t}else e[r]=n;return e},d=(o,e)=>{a.IS_DEV&&console.warn(`[react-renderer] Ignoring GraphConfig themeOverrides."${o}": "${e}" is not a measurable font shorthand (needs a px/em size and a family).`)};exports.convertGraphConfigTheme=s;
|
package/dist/graph-config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Vr, c as aa, d as x, i as ia, l as Ur, n as Qr, o as sa, r as la, s as Kr, t as ca } from "./dev.utils-
|
|
1
|
+
import { a as Vr, c as aa, d as x, i as ia, l as Ur, n as Qr, o as sa, r as la, s as Kr, t as ca } from "./dev.utils-BWIxakWj.js";
|
|
2
2
|
import { ANNOTATION_TOOLTIP_MARKER_GAP as da, AXIS_KEYS as Wt, CachedTextMeasurer as ur, DATA_LABEL_POSITIONS as ua, DATA_LABEL_ROLES as ha, DEFAULT_GEOM_COLOR as Yr, DEFAULT_HOVER_AFFORDANCE_COLOR as vt, GROUP_VARIABLES as ce, HeuristicTextMeasurer as ga, HoverEngine as va, InternalError as fa, LayoutCompiler as pa, POLAR_RIM_LABEL_GAP_PX as ma, RESTING_HOVER_STATE as lt, TAU as hr, alignUnitFractions as zr, areAnchorsEqual as Aa, areEditMenuTriggersEqual as ya, areEndpointsComparable as gr, arePointerRegionListsEqual as xa, buildAverageLineSymbols as ba, buildCalloutHitRegions as wa, buildColumnKey as Vt, buildDataLabelsContent as Sa, buildFontString as ka, buildLayerIntroPlan as Ra, buildLayerYValueFormatter as Ca, buildPinnedNumberValueFormatter as Ea, buildPolarBarArcPath as ve, buildSliceGroupKey as Ut, buildTooltipContent as Pa, compositeColor as Ba, computeArrow as Ia, computeDifferenceArrow as Ta, computeDirectLabelsLayout as Na, computeLineBoxHeight as fe, computePanelBorderPaths as La, computePanelBorderSizes as Ma, countLayerGeoms as Fa, createAreaPathGenerators as jr, createHeadlineItemRows as Xr, createLineFillAreaGenerator as Da, createLinePathGenerator as qr, createSegmentYReader as Ha, createStableCellKeyGenerator as Oa, createStableKeyGenerator as oe, createStyleResolver as ft, findAnnotation as Ga, findPointerRegion as vr, formatHeadline as Wa, formatLegends as Va, formatRuleValue as Ua, getAestheticFromScaleAestheticKey as Ee, getAlpha as Jr, getAngleExtent as Qt, getBarRectBounds as ze, getBoundingRect as Zr, getChromeDashArray as pt, getColor as $r, getDashArray as Pe, getDifferenceArrowLabelBox as Qa, getGroup as mt, getHoverGuideLineProps as Ka, getHoverGuideRectProps as Ya, getInsetTileRect as _r, getPolarHoverGuideArcProps as za, getRadiusExtent as At, getRuleDashPattern as ja, getShapeAnnotationStroke as Xa, getSize as qa, getStackRole as Ja, getUnionExtent as Za, getX as q, getXMax as $a, getY as te, getYMax as en, isAnnotationMovable as _a, isDefined as tn, isFullTurnSweep as rn, isSafeUrl as Kt, orderPointerRegions as ei, paintsInDonutHole as ti, pickReadableTextColor as nn, placeCallouts as ri, polarToUnit as ni, positionToAngle as oi, prepareAreaObservations as on, prepareLineObservations as an, projectAnchorToPanel as Ke, projectRegionToPanel as Yt, readAnchoredObservation as ai, resolveArrowAnnotationStyle as ii, resolveArrowColor as si, resolveAxisLabelStyle as li, resolveBarBorderRadiusPx as sn, resolveBarBorderTreatment as je, resolveBarCornerRadiiPx as ci, resolveCalloutAnnotationStyle as di, resolveDataLabelStyle as ui, resolveDeferredAnchors as hi, resolveDifferenceArrowAnnotationStyle as gi, resolveDirectLabelStyle as vi, resolveGraphChromeStyle as ln, resolveGridLineStyle as Tt, resolveHeadingFontFamily as fi, resolveHeadlineFigure as cn, resolveHeadlineItemStyle as it, resolveHeadlinePlacement as pi, resolveHeadlineStyle as dn, resolveHoverGuideStyle as mi, resolveImageAnnotationStyle as Ai, resolveLegendItemStyle as yi, resolveLegendStyle as xi, resolvePanelBorderStyle as un, resolvePolarBarCornerRadiusUnit as hn, resolveRuleLabelStyle as bi, resolveShapeAnnotationStyle as gn, resolveTextAnnotationStyle as wi, resolveTickLabelStyle as Si, resolveTickLineStyle as ki, resolveTooltipStyle as Ri, toFontSpec as z, toPanelCursor as Ci, toPercent as k, toViewBoxX as vn, toViewBoxY as fn, truncateToWidth as Ei } from "@graphysdk/viz-engine";
|
|
3
3
|
import { Fragment as zt, createContext as U, memo as Z, useCallback as se, useContext as D, useEffect as M, useId as V, useMemo as A, useRef as I, useState as O, useSyncExternalStore as Pi } from "react";
|
|
4
4
|
import { Fragment as B, jsx as s, jsxs as w } from "react/jsx-runtime";
|
|
@@ -24,7 +24,7 @@ import './history-chords.css';var fr = Object.defineProperty, Hi = (e, t) => {
|
|
|
24
24
|
});
|
|
25
25
|
return t || fr(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
26
26
|
};
|
|
27
|
-
typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "1.9.0-beta.
|
|
27
|
+
typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "1.9.0-beta.1788850422219");
|
|
28
28
|
function Oi(e) {
|
|
29
29
|
for (const t of e) (t.severity === "error" ? console.error : console.warn)(`[graphy] ${t.code}: ${t.message}`, t);
|
|
30
30
|
}
|