@skdx/web-components-charts 0.45.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/area.cjs +29 -29
- package/dist/area.d.cts +2 -1
- package/dist/area.d.ts +2 -1
- package/dist/area.js +31 -31
- package/dist/bar.cjs +29 -29
- package/dist/bar.d.cts +2 -1
- package/dist/bar.d.ts +2 -1
- package/dist/bar.js +33 -33
- package/dist/boxplot.cjs +35 -35
- package/dist/boxplot.d.cts +2 -1
- package/dist/boxplot.d.ts +2 -1
- package/dist/boxplot.js +38 -38
- package/dist/bubble.cjs +39 -39
- package/dist/bubble.d.cts +2 -1
- package/dist/bubble.d.ts +2 -1
- package/dist/bubble.js +38 -38
- package/dist/bullet.cjs +38 -38
- package/dist/bullet.d.cts +2 -1
- package/dist/bullet.d.ts +2 -1
- package/dist/bullet.js +40 -40
- package/dist/bump.cjs +37 -37
- package/dist/bump.d.cts +2 -1
- package/dist/bump.d.ts +2 -1
- package/dist/bump.js +37 -37
- package/dist/candlestick.cjs +34 -34
- package/dist/candlestick.d.cts +2 -1
- package/dist/candlestick.d.ts +2 -1
- package/dist/candlestick.js +35 -35
- package/dist/chord.cjs +37 -37
- package/dist/chord.d.cts +2 -1
- package/dist/chord.d.ts +2 -1
- package/dist/chord.js +39 -39
- package/dist/circle-packing.cjs +37 -37
- package/dist/circle-packing.d.cts +2 -1
- package/dist/circle-packing.d.ts +2 -1
- package/dist/circle-packing.js +37 -37
- package/dist/combo.cjs +29 -29
- package/dist/combo.d.cts +2 -1
- package/dist/combo.d.ts +2 -1
- package/dist/combo.js +33 -33
- package/dist/contracts.json +17886 -0
- package/dist/dumbbell.cjs +40 -40
- package/dist/dumbbell.d.cts +2 -1
- package/dist/dumbbell.d.ts +2 -1
- package/dist/dumbbell.js +39 -39
- package/dist/funnel.cjs +38 -38
- package/dist/funnel.d.cts +2 -1
- package/dist/funnel.d.ts +2 -1
- package/dist/funnel.js +38 -38
- package/dist/gantt.cjs +37 -37
- package/dist/gantt.d.cts +2 -1
- package/dist/gantt.d.ts +2 -1
- package/dist/gantt.js +40 -40
- package/dist/gauge.cjs +36 -36
- package/dist/gauge.d.cts +2 -1
- package/dist/gauge.d.ts +2 -1
- package/dist/gauge.js +35 -35
- package/dist/heatmap.cjs +38 -38
- package/dist/heatmap.d.cts +2 -1
- package/dist/heatmap.d.ts +2 -1
- package/dist/heatmap.js +39 -39
- package/dist/histogram.cjs +30 -30
- package/dist/histogram.d.cts +2 -1
- package/dist/histogram.d.ts +2 -1
- package/dist/histogram.js +34 -34
- package/dist/icicle.cjs +40 -40
- package/dist/icicle.d.cts +2 -1
- package/dist/icicle.d.ts +2 -1
- package/dist/icicle.js +40 -40
- package/dist/{index-H-_fLjtt.d.cts → index-BkR4iVqI.d.ts} +11 -1071
- package/dist/{index-H-_fLjtt.d.ts → index-DjnBT-5R.d.cts} +11 -1071
- package/dist/index.cjs +37 -37
- package/dist/index.d.cts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.js +38 -38
- package/dist/line.cjs +29 -29
- package/dist/line.d.cts +2 -1
- package/dist/line.d.ts +2 -1
- package/dist/line.js +31 -31
- package/dist/linear-gauge.cjs +33 -33
- package/dist/linear-gauge.d.cts +2 -1
- package/dist/linear-gauge.d.ts +2 -1
- package/dist/linear-gauge.js +40 -40
- package/dist/map.cjs +39 -39
- package/dist/map.d.cts +2 -1
- package/dist/map.d.ts +2 -1
- package/dist/map.js +37 -37
- package/dist/marimekko.cjs +40 -40
- package/dist/marimekko.d.cts +2 -1
- package/dist/marimekko.d.ts +2 -1
- package/dist/marimekko.js +38 -38
- package/dist/network.cjs +38 -38
- package/dist/network.d.cts +2 -1
- package/dist/network.d.ts +2 -1
- package/dist/network.js +39 -39
- package/dist/organization.cjs +38 -38
- package/dist/organization.d.cts +2 -1
- package/dist/organization.d.ts +2 -1
- package/dist/organization.js +38 -38
- package/dist/parallel.cjs +38 -38
- package/dist/parallel.d.cts +2 -1
- package/dist/parallel.d.ts +2 -1
- package/dist/parallel.js +40 -40
- package/dist/pareto.cjs +25 -25
- package/dist/pareto.d.cts +2 -1
- package/dist/pareto.d.ts +2 -1
- package/dist/pareto.js +24 -24
- package/dist/pie.cjs +38 -38
- package/dist/pie.d.cts +2 -1
- package/dist/pie.d.ts +2 -1
- package/dist/pie.js +38 -38
- package/dist/polar-area.cjs +38 -38
- package/dist/polar-area.d.cts +2 -1
- package/dist/polar-area.d.ts +2 -1
- package/dist/polar-area.js +40 -40
- package/dist/portable-runtime.js +1 -0
- package/dist/portable.cjs +1 -0
- package/dist/portable.d.cts +25 -0
- package/dist/portable.d.ts +25 -0
- package/dist/portable.js +1 -0
- package/dist/radar.cjs +39 -39
- package/dist/radar.d.cts +2 -1
- package/dist/radar.d.ts +2 -1
- package/dist/radar.js +37 -37
- package/dist/radial.cjs +36 -36
- package/dist/radial.d.cts +2 -1
- package/dist/radial.d.ts +2 -1
- package/dist/radial.js +37 -37
- package/dist/range.cjs +27 -27
- package/dist/range.d.cts +2 -1
- package/dist/range.d.ts +2 -1
- package/dist/range.js +27 -27
- package/dist/sankey.cjs +38 -38
- package/dist/sankey.d.cts +2 -1
- package/dist/sankey.d.ts +2 -1
- package/dist/sankey.js +36 -36
- package/dist/scatter.cjs +40 -40
- package/dist/scatter.d.cts +2 -1
- package/dist/scatter.d.ts +2 -1
- package/dist/scatter.js +39 -39
- package/dist/sparkline.cjs +36 -36
- package/dist/sparkline.d.cts +2 -1
- package/dist/sparkline.d.ts +2 -1
- package/dist/sparkline.js +37 -37
- package/dist/sunburst.cjs +37 -37
- package/dist/sunburst.d.cts +2 -1
- package/dist/sunburst.d.ts +2 -1
- package/dist/sunburst.js +40 -40
- package/dist/swarm.cjs +40 -40
- package/dist/swarm.d.cts +2 -1
- package/dist/swarm.d.ts +2 -1
- package/dist/swarm.js +39 -39
- package/dist/timeline.cjs +38 -38
- package/dist/timeline.d.cts +2 -1
- package/dist/timeline.d.ts +2 -1
- package/dist/timeline.js +40 -40
- package/dist/tree.cjs +38 -38
- package/dist/tree.d.cts +2 -1
- package/dist/tree.d.ts +2 -1
- package/dist/tree.js +38 -38
- package/dist/treemap.cjs +40 -40
- package/dist/treemap.d.cts +2 -1
- package/dist/treemap.d.ts +2 -1
- package/dist/treemap.js +38 -38
- package/dist/types-5xXhTghj.d.cts +1168 -0
- package/dist/types-5xXhTghj.d.ts +1168 -0
- package/dist/waffle.cjs +40 -40
- package/dist/waffle.d.cts +2 -1
- package/dist/waffle.d.ts +2 -1
- package/dist/waffle.js +39 -39
- package/dist/waterfall.cjs +37 -37
- package/dist/waterfall.d.cts +2 -1
- package/dist/waterfall.d.ts +2 -1
- package/dist/waterfall.js +38 -38
- package/dist/wrapper-api.json +1849 -0
- package/package.json +9 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { C as ChartExportOptions, a as ChartInstanceExportOptions, S as SelectionMode, b as SkdxAreaChart, c as SkdxBarChart, d as SkdxBoxplot, e as SkdxBubbleChart, f as SkdxBulletChart, g as SkdxBumpChart, h as SkdxCandlestickChart, i as SkdxChordChart, j as SkdxCirclePackingChart, k as SkdxComboChart, l as SkdxDumbbellChart, m as SkdxFunnelChart, n as SkdxGanttChart, o as SkdxGaugeChart, p as SkdxHeatmap, q as SkdxHistogram, r as SkdxIcicleChart, s as SkdxLineChart, t as SkdxLinearGauge, u as SkdxMapChart, v as SkdxMarimekkoChart, w as SkdxNetworkChart, x as SkdxOrganizationChart, y as SkdxParallelCoordinatesChart, z as SkdxParetoChart, A as SkdxPieChart, B as SkdxPolarAreaChart, D as SkdxRadarChart, E as SkdxRadialBarChart, F as SkdxRangeChart, G as SkdxSankeyChart, H as SkdxScatterChart, I as SkdxSparkline, J as SkdxSunburstChart, K as SkdxSwarmPlot, L as SkdxTimelineChart, M as SkdxTreeChart, N as SkdxTreemap, O as SkdxWaffleChart, P as SkdxWaterfallChart, Q as csv, R as exportChart, T as seriesCsv, U as svgMarkup } from './index-DjnBT-5R.cjs';
|
|
2
|
+
import { C as Canvas, F as Format, a as ChartItemRef, Z as Zoom } from './types-5xXhTghj.cjs';
|
|
3
|
+
export { A as AccessibleTableOptions, b as Annotation, c as AxisOptions, B as Band, d as BoxSummary, e as BoxplotSeries, f as BubblePoint, g as BubbleSeries, h as BulletDatum, i as BumpChartInput, j as CalendarCell, k as Candle, l as CandlestickOverlay, m as CartesianSeries, n as Category, o as ChartDataIssue, p as ChartItem, q as ChartItemId, r as ChordLink, s as CirclePackingInput, t as ColorScale, u as ComboSeries, v as Curve, D as Datum, w as DumbbellDatum, E as ErrorValue, G as GanttTask, x as GeoMultiPolygon, y as GeoPolygon, z as GroupedBoxSeries, H as HighlightScope, I as IcicleInput, L as LegendOptions, M as MapFeature, J as MapLine, K as MapPoint, N as MapView, O as MarimekkoCategory, P as MarimekkoChartInput, Q as MarkerSymbol, R as NetworkEdge, S as NetworkNode, T as OrganizationChartInput, U as ParallelCoordinatesInput, V as ParallelDimension, W as ParallelRow, X as PolarAreaChartInput, Y as RadarMetric, _ as RadialBand, $ as RangeChartSeries, a0 as RangeSeries, a1 as Reference, a2 as Sampling, a3 as SankeyLink, a4 as SankeyNode, a5 as ScatterPoint, a6 as ScatterSeries, a7 as Selection, a8 as Series, a9 as SeriesTransform, aa as SwarmPlotInput, ab as TaskChange, ac as TimelineChartInput, ad as TimelineEvent, ae as TooltipOptions, af as TreeChartInput, ag as TreeNode, ah as Value, ai as Variant, aj as WaffleChartInput, ak as WaterfallDatum, al as XAxisOptions } from './types-5xXhTghj.cjs';
|
|
3
4
|
import 'lit';
|
|
4
5
|
|
|
6
|
+
type ChartSnapshotValue = null | boolean | number | string | ChartSnapshotValue[] | {
|
|
7
|
+
[key: string]: ChartSnapshotValue;
|
|
8
|
+
};
|
|
9
|
+
interface RuntimeChartSnapshot {
|
|
10
|
+
schemaVersion: '1.0.0';
|
|
11
|
+
/** Owner wrapper kind, resolved to canonical chart ID through the owner contract. */
|
|
12
|
+
kind: string;
|
|
13
|
+
configuration: Record<string, ChartSnapshotValue>;
|
|
14
|
+
canvas: Pick<Canvas, 'width' | 'height' | 'shapes' | 'defs' | 'issues' | 'table'>;
|
|
15
|
+
diagnostics: {
|
|
16
|
+
code: string;
|
|
17
|
+
path: string;
|
|
18
|
+
message: string;
|
|
19
|
+
}[];
|
|
20
|
+
}
|
|
21
|
+
/** Query a mounted owner chart without framework internals or a global capture mode. */
|
|
22
|
+
declare function readChartSnapshot(svg: EventTarget): RuntimeChartSnapshot | undefined;
|
|
23
|
+
/** Validate the owner snapshot at a JSON/file/DOM boundary before consuming native geometry. */
|
|
24
|
+
declare function parseChartSnapshot(value: unknown): RuntimeChartSnapshot;
|
|
25
|
+
|
|
5
26
|
/** Turns a `Format` into a function; `undefined` gives the default number format. */
|
|
6
27
|
declare function makeFormatter(format: Format | undefined): (value: number) => string;
|
|
7
28
|
|
|
@@ -26,4 +47,4 @@ interface SyncGroup {
|
|
|
26
47
|
/** The group for a `syncId`, created on first use; groups are keyed per JavaScript realm. */
|
|
27
48
|
declare function syncGroup(id: string): SyncGroup;
|
|
28
49
|
|
|
29
|
-
export { ChartItemRef, Format, type SyncState, Zoom, makeFormatter, syncGroup };
|
|
50
|
+
export { ChartItemRef, type ChartSnapshotValue, Format, type RuntimeChartSnapshot, type SyncState, Zoom, makeFormatter, parseChartSnapshot, readChartSnapshot, syncGroup };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { C as ChartExportOptions, a as ChartInstanceExportOptions, S as SelectionMode, b as SkdxAreaChart, c as SkdxBarChart, d as SkdxBoxplot, e as SkdxBubbleChart, f as SkdxBulletChart, g as SkdxBumpChart, h as SkdxCandlestickChart, i as SkdxChordChart, j as SkdxCirclePackingChart, k as SkdxComboChart, l as SkdxDumbbellChart, m as SkdxFunnelChart, n as SkdxGanttChart, o as SkdxGaugeChart, p as SkdxHeatmap, q as SkdxHistogram, r as SkdxIcicleChart, s as SkdxLineChart, t as SkdxLinearGauge, u as SkdxMapChart, v as SkdxMarimekkoChart, w as SkdxNetworkChart, x as SkdxOrganizationChart, y as SkdxParallelCoordinatesChart, z as SkdxParetoChart, A as SkdxPieChart, B as SkdxPolarAreaChart, D as SkdxRadarChart, E as SkdxRadialBarChart, F as SkdxRangeChart, G as SkdxSankeyChart, H as SkdxScatterChart, I as SkdxSparkline, J as SkdxSunburstChart, K as SkdxSwarmPlot, L as SkdxTimelineChart, M as SkdxTreeChart, N as SkdxTreemap, O as SkdxWaffleChart, P as SkdxWaterfallChart, Q as csv, R as exportChart, T as seriesCsv, U as svgMarkup } from './index-BkR4iVqI.js';
|
|
2
|
+
import { C as Canvas, F as Format, a as ChartItemRef, Z as Zoom } from './types-5xXhTghj.js';
|
|
3
|
+
export { A as AccessibleTableOptions, b as Annotation, c as AxisOptions, B as Band, d as BoxSummary, e as BoxplotSeries, f as BubblePoint, g as BubbleSeries, h as BulletDatum, i as BumpChartInput, j as CalendarCell, k as Candle, l as CandlestickOverlay, m as CartesianSeries, n as Category, o as ChartDataIssue, p as ChartItem, q as ChartItemId, r as ChordLink, s as CirclePackingInput, t as ColorScale, u as ComboSeries, v as Curve, D as Datum, w as DumbbellDatum, E as ErrorValue, G as GanttTask, x as GeoMultiPolygon, y as GeoPolygon, z as GroupedBoxSeries, H as HighlightScope, I as IcicleInput, L as LegendOptions, M as MapFeature, J as MapLine, K as MapPoint, N as MapView, O as MarimekkoCategory, P as MarimekkoChartInput, Q as MarkerSymbol, R as NetworkEdge, S as NetworkNode, T as OrganizationChartInput, U as ParallelCoordinatesInput, V as ParallelDimension, W as ParallelRow, X as PolarAreaChartInput, Y as RadarMetric, _ as RadialBand, $ as RangeChartSeries, a0 as RangeSeries, a1 as Reference, a2 as Sampling, a3 as SankeyLink, a4 as SankeyNode, a5 as ScatterPoint, a6 as ScatterSeries, a7 as Selection, a8 as Series, a9 as SeriesTransform, aa as SwarmPlotInput, ab as TaskChange, ac as TimelineChartInput, ad as TimelineEvent, ae as TooltipOptions, af as TreeChartInput, ag as TreeNode, ah as Value, ai as Variant, aj as WaffleChartInput, ak as WaterfallDatum, al as XAxisOptions } from './types-5xXhTghj.js';
|
|
3
4
|
import 'lit';
|
|
4
5
|
|
|
6
|
+
type ChartSnapshotValue = null | boolean | number | string | ChartSnapshotValue[] | {
|
|
7
|
+
[key: string]: ChartSnapshotValue;
|
|
8
|
+
};
|
|
9
|
+
interface RuntimeChartSnapshot {
|
|
10
|
+
schemaVersion: '1.0.0';
|
|
11
|
+
/** Owner wrapper kind, resolved to canonical chart ID through the owner contract. */
|
|
12
|
+
kind: string;
|
|
13
|
+
configuration: Record<string, ChartSnapshotValue>;
|
|
14
|
+
canvas: Pick<Canvas, 'width' | 'height' | 'shapes' | 'defs' | 'issues' | 'table'>;
|
|
15
|
+
diagnostics: {
|
|
16
|
+
code: string;
|
|
17
|
+
path: string;
|
|
18
|
+
message: string;
|
|
19
|
+
}[];
|
|
20
|
+
}
|
|
21
|
+
/** Query a mounted owner chart without framework internals or a global capture mode. */
|
|
22
|
+
declare function readChartSnapshot(svg: EventTarget): RuntimeChartSnapshot | undefined;
|
|
23
|
+
/** Validate the owner snapshot at a JSON/file/DOM boundary before consuming native geometry. */
|
|
24
|
+
declare function parseChartSnapshot(value: unknown): RuntimeChartSnapshot;
|
|
25
|
+
|
|
5
26
|
/** Turns a `Format` into a function; `undefined` gives the default number format. */
|
|
6
27
|
declare function makeFormatter(format: Format | undefined): (value: number) => string;
|
|
7
28
|
|
|
@@ -26,4 +47,4 @@ interface SyncGroup {
|
|
|
26
47
|
/** The group for a `syncId`, created on first use; groups are keyed per JavaScript realm. */
|
|
27
48
|
declare function syncGroup(id: string): SyncGroup;
|
|
28
49
|
|
|
29
|
-
export { ChartItemRef, Format, type SyncState, Zoom, makeFormatter, syncGroup };
|
|
50
|
+
export { ChartItemRef, type ChartSnapshotValue, Format, type RuntimeChartSnapshot, type SyncState, Zoom, makeFormatter, parseChartSnapshot, readChartSnapshot, syncGroup };
|