@bicharts/chart-host 0.5.85 → 0.5.86

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/index.mjs CHANGED
@@ -15,6 +15,7 @@ import {
15
15
  AXIS_PIN_MAX_BAND_FRACTION,
16
16
  AXIS_PIN_MIN_LABELS,
17
17
  AXIS_PIN_TRACK_REACH_PX,
18
+ Ae,
18
19
  BACKING_MAJORITY,
19
20
  COLOR_SCALE_SELF_CLAMP_PCT_DEFAULT,
20
21
  COLOR_SCALE_SELF_CLAMP_PCT_MAX,
@@ -23,6 +24,7 @@ import {
23
24
  CONTAINER_SLOT_INITIAL_XF_MARK,
24
25
  CONTAINER_SLOT_UI_STATE,
25
26
  CONTAINER_SLOT_XF_CLEAR,
27
+ Ce,
26
28
  DARK_TEXT,
27
29
  DIM_OPACITY_DEFAULT,
28
30
  DIM_OPACITY_VAR,
@@ -43,8 +45,6 @@ import {
43
45
  MAX_FRAME_GROW_FACTOR,
44
46
  MIN_CONTRAST,
45
47
  MIN_HIT_BAND_PX,
46
- Me,
47
- Nt,
48
48
  PAGE_MATCH_TOLERANCE,
49
49
  PHANTOM_FRACTION,
50
50
  PILL_MIN_ALPHA,
@@ -55,7 +55,6 @@ import {
55
55
  SCROLL_SLACK_PX,
56
56
  SEASONAL_MARKERS_DEFAULT,
57
57
  SELECTION_ACTIVE_CLASS,
58
- Se,
59
58
  VALUE_AXIS_BASELINE_DEFAULT,
60
59
  WHITE_TEXT_BG_LUM,
61
60
  XFILTER_REFRESH_EVENT,
@@ -109,8 +108,9 @@ import {
109
108
  stripEsmExports,
110
109
  svgInkReach,
111
110
  toRGBA,
112
- unpinScrolledAxis
113
- } from "./chunk-RD3DRWLL.mjs";
111
+ unpinScrolledAxis,
112
+ vt
113
+ } from "./chunk-R4STRHXO.mjs";
114
114
  import "./chunk-A2GMXZP7.mjs";
115
115
  import "./chunk-GHODWOAL.mjs";
116
116
 
@@ -864,15 +864,15 @@ function isRealColumn(col) {
864
864
  return !!col && !isSynthetic(col.name);
865
865
  }
866
866
  function isSuppressed(col) {
867
- return Nt(col).suppressed;
867
+ return Rt(col).suppressed;
868
868
  }
869
869
  function resolveAgg(col, requested, auto) {
870
870
  const fallback = () => {
871
- const d = Se(col);
871
+ const d = Ce(col);
872
872
  return d === "first" ? "count" : d;
873
873
  };
874
874
  if (auto) return fallback();
875
- return Rt(col).indexOf(requested) >= 0 ? requested : fallback();
875
+ return vt(col).indexOf(requested) >= 0 ? requested : fallback();
876
876
  }
877
877
  function toNumber(v) {
878
878
  if (v == null || v === "") return null;
@@ -976,7 +976,7 @@ function computeSelectionCard(payload, selectedRowIdxs, opts = {}) {
976
976
  }
977
977
  const value = reduce(selVals, colAgg, selRaw);
978
978
  let sharePct = null;
979
- if (Me(col, colAgg) && value != null) {
979
+ if (Ae(col, colAgg) && value != null) {
980
980
  const allVals = [];
981
981
  const allRaw = [];
982
982
  for (let r = 0; r < rows.length; r++) {
package/dist/react.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  createChartHost,
5
5
  geoFromCache,
6
6
  loadGeo
7
- } from "./chunk-RD3DRWLL.mjs";
7
+ } from "./chunk-R4STRHXO.mjs";
8
8
  import "./chunk-A2GMXZP7.mjs";
9
9
  import "./chunk-GHODWOAL.mjs";
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/chart-host",
3
- "version": "0.5.85",
3
+ "version": "0.5.86",
4
4
  "description": "Run a BIC-generated D3 chart in any web host: compiles the generated render() function, applies the shared option defaults, resolves mark clicks (through tooltip overlays), owns the selection affordance, and translates row indices between cross-filtered charts. The same contract the BIC Power BI visual implements, minus Power BI. React bindings at @bicharts/chart-host/react.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",