@skdx/web-components-charts 0.38.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/LICENSE +21 -0
- package/README.md +98 -0
- package/dist/area.cjs +109 -0
- package/dist/area.d.cts +2 -0
- package/dist/area.d.ts +2 -0
- package/dist/area.js +109 -0
- package/dist/bar.cjs +109 -0
- package/dist/bar.d.cts +2 -0
- package/dist/bar.d.ts +2 -0
- package/dist/bar.js +109 -0
- package/dist/boxplot.cjs +109 -0
- package/dist/boxplot.d.cts +2 -0
- package/dist/boxplot.d.ts +2 -0
- package/dist/boxplot.js +109 -0
- package/dist/bubble.cjs +109 -0
- package/dist/bubble.d.cts +2 -0
- package/dist/bubble.d.ts +2 -0
- package/dist/bubble.js +109 -0
- package/dist/bullet.cjs +109 -0
- package/dist/bullet.d.cts +2 -0
- package/dist/bullet.d.ts +2 -0
- package/dist/bullet.js +109 -0
- package/dist/bump.cjs +109 -0
- package/dist/bump.d.cts +2 -0
- package/dist/bump.d.ts +2 -0
- package/dist/bump.js +109 -0
- package/dist/candlestick.cjs +109 -0
- package/dist/candlestick.d.cts +2 -0
- package/dist/candlestick.d.ts +2 -0
- package/dist/candlestick.js +109 -0
- package/dist/chord.cjs +109 -0
- package/dist/chord.d.cts +2 -0
- package/dist/chord.d.ts +2 -0
- package/dist/chord.js +109 -0
- package/dist/circle-packing.cjs +109 -0
- package/dist/circle-packing.d.cts +2 -0
- package/dist/circle-packing.d.ts +2 -0
- package/dist/circle-packing.js +109 -0
- package/dist/combo.cjs +109 -0
- package/dist/combo.d.cts +2 -0
- package/dist/combo.d.ts +2 -0
- package/dist/combo.js +109 -0
- package/dist/dumbbell.cjs +109 -0
- package/dist/dumbbell.d.cts +2 -0
- package/dist/dumbbell.d.ts +2 -0
- package/dist/dumbbell.js +109 -0
- package/dist/funnel.cjs +109 -0
- package/dist/funnel.d.cts +2 -0
- package/dist/funnel.d.ts +2 -0
- package/dist/funnel.js +109 -0
- package/dist/gantt.cjs +109 -0
- package/dist/gantt.d.cts +2 -0
- package/dist/gantt.d.ts +2 -0
- package/dist/gantt.js +109 -0
- package/dist/gauge.cjs +109 -0
- package/dist/gauge.d.cts +2 -0
- package/dist/gauge.d.ts +2 -0
- package/dist/gauge.js +109 -0
- package/dist/heatmap.cjs +109 -0
- package/dist/heatmap.d.cts +2 -0
- package/dist/heatmap.d.ts +2 -0
- package/dist/heatmap.js +109 -0
- package/dist/histogram.cjs +109 -0
- package/dist/histogram.d.cts +2 -0
- package/dist/histogram.d.ts +2 -0
- package/dist/histogram.js +109 -0
- package/dist/icicle.cjs +109 -0
- package/dist/icicle.d.cts +2 -0
- package/dist/icicle.d.ts +2 -0
- package/dist/icicle.js +109 -0
- package/dist/index-oF5ss8v9.d.cts +2331 -0
- package/dist/index-oF5ss8v9.d.ts +2331 -0
- package/dist/index.cjs +109 -0
- package/dist/index.d.cts +29 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +109 -0
- package/dist/line.cjs +109 -0
- package/dist/line.d.cts +2 -0
- package/dist/line.d.ts +2 -0
- package/dist/line.js +109 -0
- package/dist/linear-gauge.cjs +109 -0
- package/dist/linear-gauge.d.cts +2 -0
- package/dist/linear-gauge.d.ts +2 -0
- package/dist/linear-gauge.js +109 -0
- package/dist/map.cjs +109 -0
- package/dist/map.d.cts +2 -0
- package/dist/map.d.ts +2 -0
- package/dist/map.js +109 -0
- package/dist/marimekko.cjs +109 -0
- package/dist/marimekko.d.cts +2 -0
- package/dist/marimekko.d.ts +2 -0
- package/dist/marimekko.js +109 -0
- package/dist/network.cjs +109 -0
- package/dist/network.d.cts +2 -0
- package/dist/network.d.ts +2 -0
- package/dist/network.js +109 -0
- package/dist/organization.cjs +109 -0
- package/dist/organization.d.cts +2 -0
- package/dist/organization.d.ts +2 -0
- package/dist/organization.js +109 -0
- package/dist/parallel.cjs +109 -0
- package/dist/parallel.d.cts +2 -0
- package/dist/parallel.d.ts +2 -0
- package/dist/parallel.js +109 -0
- package/dist/pareto.cjs +109 -0
- package/dist/pareto.d.cts +2 -0
- package/dist/pareto.d.ts +2 -0
- package/dist/pareto.js +109 -0
- package/dist/pie.cjs +109 -0
- package/dist/pie.d.cts +2 -0
- package/dist/pie.d.ts +2 -0
- package/dist/pie.js +109 -0
- package/dist/polar-area.cjs +109 -0
- package/dist/polar-area.d.cts +2 -0
- package/dist/polar-area.d.ts +2 -0
- package/dist/polar-area.js +109 -0
- package/dist/radar.cjs +109 -0
- package/dist/radar.d.cts +2 -0
- package/dist/radar.d.ts +2 -0
- package/dist/radar.js +109 -0
- package/dist/radial.cjs +109 -0
- package/dist/radial.d.cts +2 -0
- package/dist/radial.d.ts +2 -0
- package/dist/radial.js +109 -0
- package/dist/range.cjs +109 -0
- package/dist/range.d.cts +2 -0
- package/dist/range.d.ts +2 -0
- package/dist/range.js +109 -0
- package/dist/sankey.cjs +109 -0
- package/dist/sankey.d.cts +2 -0
- package/dist/sankey.d.ts +2 -0
- package/dist/sankey.js +109 -0
- package/dist/scatter.cjs +109 -0
- package/dist/scatter.d.cts +2 -0
- package/dist/scatter.d.ts +2 -0
- package/dist/scatter.js +109 -0
- package/dist/sparkline.cjs +109 -0
- package/dist/sparkline.d.cts +2 -0
- package/dist/sparkline.d.ts +2 -0
- package/dist/sparkline.js +109 -0
- package/dist/sunburst.cjs +109 -0
- package/dist/sunburst.d.cts +2 -0
- package/dist/sunburst.d.ts +2 -0
- package/dist/sunburst.js +109 -0
- package/dist/swarm.cjs +109 -0
- package/dist/swarm.d.cts +2 -0
- package/dist/swarm.d.ts +2 -0
- package/dist/swarm.js +109 -0
- package/dist/timeline.cjs +109 -0
- package/dist/timeline.d.cts +2 -0
- package/dist/timeline.d.ts +2 -0
- package/dist/timeline.js +109 -0
- package/dist/tree.cjs +109 -0
- package/dist/tree.d.cts +2 -0
- package/dist/tree.d.ts +2 -0
- package/dist/tree.js +109 -0
- package/dist/treemap.cjs +109 -0
- package/dist/treemap.d.cts +2 -0
- package/dist/treemap.d.ts +2 -0
- package/dist/treemap.js +109 -0
- package/dist/waffle.cjs +109 -0
- package/dist/waffle.d.cts +2 -0
- package/dist/waffle.d.ts +2 -0
- package/dist/waffle.js +109 -0
- package/dist/waterfall.cjs +109 -0
- package/dist/waterfall.d.cts +2 -0
- package/dist/waterfall.d.ts +2 -0
- package/dist/waterfall.js +109 -0
- package/package.json +76 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { F as Format, C as ChartItemRef, Z as Zoom } from './index-oF5ss8v9.cjs';
|
|
2
|
+
export { A as AccessibleTableOptions, a as Annotation, b as AxisOptions, B as Band, c as BoxSummary, d as BoxplotSeries, e as BubblePoint, f as BubbleSeries, g as BulletDatum, h as BumpChartInput, i as CalendarCell, j as Candle, k as CandlestickOverlay, l as CartesianSeries, m as Category, n as ChartDataIssue, o as ChartExportOptions, 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 SelectionMode, a9 as Series, aa as SeriesTransform, ab as SkdxAreaChart, ac as SkdxBarChart, ad as SkdxBoxplot, ae as SkdxBubbleChart, af as SkdxBulletChart, ag as SkdxBumpChart, ah as SkdxCandlestickChart, ai as SkdxChordChart, aj as SkdxCirclePackingChart, ak as SkdxComboChart, al as SkdxDumbbellChart, am as SkdxFunnelChart, an as SkdxGanttChart, ao as SkdxGaugeChart, ap as SkdxHeatmap, aq as SkdxHistogram, ar as SkdxIcicleChart, as as SkdxLineChart, at as SkdxLinearGauge, au as SkdxMapChart, av as SkdxMarimekkoChart, aw as SkdxNetworkChart, ax as SkdxOrganizationChart, ay as SkdxParallelCoordinatesChart, az as SkdxParetoChart, aA as SkdxPieChart, aB as SkdxPolarAreaChart, aC as SkdxRadarChart, aD as SkdxRadialBarChart, aE as SkdxRangeChart, aF as SkdxSankeyChart, aG as SkdxScatterChart, aH as SkdxSparkline, aI as SkdxSunburstChart, aJ as SkdxSwarmPlot, aK as SkdxTimelineChart, aL as SkdxTreeChart, aM as SkdxTreemap, aN as SkdxWaffleChart, aO as SkdxWaterfallChart, aP as SwarmPlotInput, aQ as TaskChange, aR as TimelineChartInput, aS as TimelineEvent, aT as TooltipOptions, aU as TreeChartInput, aV as TreeNode, aW as Value, aX as Variant, aY as WaffleChartInput, aZ as WaterfallDatum, a_ as XAxisOptions, a$ as csv, b0 as exportChart, b1 as seriesCsv, b2 as svgMarkup } from './index-oF5ss8v9.cjs';
|
|
3
|
+
import 'lit';
|
|
4
|
+
|
|
5
|
+
/** Turns a `Format` into a function; `undefined` gives the default number format. */
|
|
6
|
+
declare function makeFormatter(format: Format | undefined): (value: number) => string;
|
|
7
|
+
|
|
8
|
+
/** What a group shares. Every field is optional: a chart publishes only what changed. */
|
|
9
|
+
interface SyncState {
|
|
10
|
+
highlighted?: ChartItemRef | null | undefined;
|
|
11
|
+
selected?: ChartItemRef[] | undefined;
|
|
12
|
+
zoom?: Zoom | undefined;
|
|
13
|
+
hiddenSeries?: string[] | undefined;
|
|
14
|
+
/** The category under the crosshair (by label), or `null` when the pointer left. */
|
|
15
|
+
crosshair?: string | null | undefined;
|
|
16
|
+
}
|
|
17
|
+
type SyncListener = (state: SyncState, source: object) => void;
|
|
18
|
+
interface SyncGroup {
|
|
19
|
+
/** Listens for changes published by other members; returns the unsubscribe function. */
|
|
20
|
+
subscribe(listener: SyncListener): () => void;
|
|
21
|
+
/** Publishes a change; `source` identifies the publisher so it can ignore its own echo. */
|
|
22
|
+
publish(state: SyncState, source: object): void;
|
|
23
|
+
/** The last published values, for members that join later. */
|
|
24
|
+
readonly current: SyncState;
|
|
25
|
+
}
|
|
26
|
+
/** The group for a `syncId`, created on first use; groups are keyed per JavaScript realm. */
|
|
27
|
+
declare function syncGroup(id: string): SyncGroup;
|
|
28
|
+
|
|
29
|
+
export { ChartItemRef, Format, type SyncState, Zoom, makeFormatter, syncGroup };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { F as Format, C as ChartItemRef, Z as Zoom } from './index-oF5ss8v9.js';
|
|
2
|
+
export { A as AccessibleTableOptions, a as Annotation, b as AxisOptions, B as Band, c as BoxSummary, d as BoxplotSeries, e as BubblePoint, f as BubbleSeries, g as BulletDatum, h as BumpChartInput, i as CalendarCell, j as Candle, k as CandlestickOverlay, l as CartesianSeries, m as Category, n as ChartDataIssue, o as ChartExportOptions, 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 SelectionMode, a9 as Series, aa as SeriesTransform, ab as SkdxAreaChart, ac as SkdxBarChart, ad as SkdxBoxplot, ae as SkdxBubbleChart, af as SkdxBulletChart, ag as SkdxBumpChart, ah as SkdxCandlestickChart, ai as SkdxChordChart, aj as SkdxCirclePackingChart, ak as SkdxComboChart, al as SkdxDumbbellChart, am as SkdxFunnelChart, an as SkdxGanttChart, ao as SkdxGaugeChart, ap as SkdxHeatmap, aq as SkdxHistogram, ar as SkdxIcicleChart, as as SkdxLineChart, at as SkdxLinearGauge, au as SkdxMapChart, av as SkdxMarimekkoChart, aw as SkdxNetworkChart, ax as SkdxOrganizationChart, ay as SkdxParallelCoordinatesChart, az as SkdxParetoChart, aA as SkdxPieChart, aB as SkdxPolarAreaChart, aC as SkdxRadarChart, aD as SkdxRadialBarChart, aE as SkdxRangeChart, aF as SkdxSankeyChart, aG as SkdxScatterChart, aH as SkdxSparkline, aI as SkdxSunburstChart, aJ as SkdxSwarmPlot, aK as SkdxTimelineChart, aL as SkdxTreeChart, aM as SkdxTreemap, aN as SkdxWaffleChart, aO as SkdxWaterfallChart, aP as SwarmPlotInput, aQ as TaskChange, aR as TimelineChartInput, aS as TimelineEvent, aT as TooltipOptions, aU as TreeChartInput, aV as TreeNode, aW as Value, aX as Variant, aY as WaffleChartInput, aZ as WaterfallDatum, a_ as XAxisOptions, a$ as csv, b0 as exportChart, b1 as seriesCsv, b2 as svgMarkup } from './index-oF5ss8v9.js';
|
|
3
|
+
import 'lit';
|
|
4
|
+
|
|
5
|
+
/** Turns a `Format` into a function; `undefined` gives the default number format. */
|
|
6
|
+
declare function makeFormatter(format: Format | undefined): (value: number) => string;
|
|
7
|
+
|
|
8
|
+
/** What a group shares. Every field is optional: a chart publishes only what changed. */
|
|
9
|
+
interface SyncState {
|
|
10
|
+
highlighted?: ChartItemRef | null | undefined;
|
|
11
|
+
selected?: ChartItemRef[] | undefined;
|
|
12
|
+
zoom?: Zoom | undefined;
|
|
13
|
+
hiddenSeries?: string[] | undefined;
|
|
14
|
+
/** The category under the crosshair (by label), or `null` when the pointer left. */
|
|
15
|
+
crosshair?: string | null | undefined;
|
|
16
|
+
}
|
|
17
|
+
type SyncListener = (state: SyncState, source: object) => void;
|
|
18
|
+
interface SyncGroup {
|
|
19
|
+
/** Listens for changes published by other members; returns the unsubscribe function. */
|
|
20
|
+
subscribe(listener: SyncListener): () => void;
|
|
21
|
+
/** Publishes a change; `source` identifies the publisher so it can ignore its own echo. */
|
|
22
|
+
publish(state: SyncState, source: object): void;
|
|
23
|
+
/** The last published values, for members that join later. */
|
|
24
|
+
readonly current: SyncState;
|
|
25
|
+
}
|
|
26
|
+
/** The group for a `syncId`, created on first use; groups are keyed per JavaScript realm. */
|
|
27
|
+
declare function syncGroup(id: string): SyncGroup;
|
|
28
|
+
|
|
29
|
+
export { ChartItemRef, Format, type SyncState, Zoom, makeFormatter, syncGroup };
|