@bicharts/chart-host 0.5.65 → 0.5.66

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.
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  US_STATES
4
4
  } from "./chunk-75ZJSYIF.mjs";
5
+ import "./chunk-GHODWOAL.mjs";
5
6
  export {
6
7
  US_STATES
7
8
  };
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  US_ZIP3
4
4
  } from "./chunk-D3N3JUMK.mjs";
5
+ import "./chunk-GHODWOAL.mjs";
5
6
  export {
6
7
  US_ZIP3
7
8
  };
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  WORLD_110M
4
4
  } from "./chunk-ABGDJ3NJ.mjs";
5
+ import "./chunk-GHODWOAL.mjs";
5
6
  export {
6
7
  WORLD_110M
7
8
  };
package/dist/geo.mjs CHANGED
@@ -13,6 +13,7 @@ import {
13
13
  import {
14
14
  US_ZIP3
15
15
  } from "./chunk-D3N3JUMK.mjs";
16
+ import "./chunk-GHODWOAL.mjs";
16
17
 
17
18
  // src/geo.ts
18
19
  function geoForKind(geoKind) {
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  US_STATES
4
4
  } from "./chunk-75ZJSYIF.mjs";
5
+ import "./chunk-GHODWOAL.mjs";
5
6
  export {
6
7
  US_STATES
7
8
  };
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  US_ZIP3
4
4
  } from "./chunk-D3N3JUMK.mjs";
5
+ import "./chunk-GHODWOAL.mjs";
5
6
  export {
6
7
  US_ZIP3
7
8
  };
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  WORLD_110M
4
4
  } from "./chunk-ABGDJ3NJ.mjs";
5
+ import "./chunk-GHODWOAL.mjs";
5
6
  export {
6
7
  WORLD_110M
7
8
  };
package/dist/index.mjs CHANGED
@@ -11,6 +11,7 @@ import {
11
11
  ANIM_PLAY_SPEED_MIN,
12
12
  APPROXIMATE_POSITIONS_DEFAULT,
13
13
  AXIS_FILTER_CLASS,
14
+ At,
14
15
  COLOR_SCALE_SELF_CLAMP_PCT_DEFAULT,
15
16
  COLOR_SCALE_SELF_CLAMP_PCT_MAX,
16
17
  COLOR_SCALE_SELF_CLAMP_PCT_MIN,
@@ -18,12 +19,10 @@ import {
18
19
  CONTAINER_SLOT_INITIAL_XF_MARK,
19
20
  CONTAINER_SLOT_UI_STATE,
20
21
  CONTAINER_SLOT_XF_CLEAR,
21
- D,
22
22
  DIM_OPACITY_DEFAULT,
23
23
  DIM_OPACITY_VAR,
24
24
  FIT_CONTENT_SELECTOR,
25
25
  FLIP_MODE_DEFAULT,
26
- G,
27
26
  GEO_POINT_PRECISIONS,
28
27
  HOST_CONTAINER_CLASS,
29
28
  HOST_CONTRACT_VERSION,
@@ -38,6 +37,7 @@ import {
38
37
  ROW_IDX_ATTR,
39
38
  SCROLL_SLACK_PX,
40
39
  SELECTION_ACTIVE_CLASS,
40
+ Tt,
41
41
  VALUE_AXIS_BASELINE_DEFAULT,
42
42
  XFILTER_REFRESH_EVENT,
43
43
  blankRenderFlag,
@@ -57,12 +57,12 @@ import {
57
57
  fitRenderedChart,
58
58
  geoAssetFor,
59
59
  geoFromCache,
60
+ he,
60
61
  hitBandFlag,
61
62
  isBlankRender,
62
63
  isPhantomBox,
63
64
  loadGeo,
64
65
  measureContainerBoxes,
65
- ne,
66
66
  needsScroll,
67
67
  noopViewStateProvider,
68
68
  periodTickSuppressesFeedback,
@@ -75,9 +75,10 @@ import {
75
75
  sessionViewStateProvider,
76
76
  stripEsmExports,
77
77
  svgInkReach,
78
- te
79
- } from "./chunk-YDFJF2UG.mjs";
78
+ ye
79
+ } from "./chunk-OR2XGMAH.mjs";
80
80
  import "./chunk-A2GMXZP7.mjs";
81
+ import "./chunk-GHODWOAL.mjs";
81
82
 
82
83
  // src/trivial.ts
83
84
  var META_COLUMNS = /* @__PURE__ */ new Set(["__rowIdx__", "__geoIso__", "__geoLat__", "__geoLon__", "__geoPrecision__"]);
@@ -820,15 +821,15 @@ function isRealColumn(col) {
820
821
  return !!col && !isSynthetic(col.name);
821
822
  }
822
823
  function isSuppressed(col) {
823
- return G(col).suppressed;
824
+ return At(col).suppressed;
824
825
  }
825
826
  function resolveAgg(col, requested, auto) {
826
827
  const fallback = () => {
827
- const d = te(col);
828
+ const d = he(col);
828
829
  return d === "first" ? "count" : d;
829
830
  };
830
831
  if (auto) return fallback();
831
- return D(col).indexOf(requested) >= 0 ? requested : fallback();
832
+ return Tt(col).indexOf(requested) >= 0 ? requested : fallback();
832
833
  }
833
834
  function toNumber(v) {
834
835
  if (v == null || v === "") return null;
@@ -932,7 +933,7 @@ function computeSelectionCard(payload, selectedRowIdxs, opts = {}) {
932
933
  }
933
934
  const value = reduce(selVals, colAgg, selRaw);
934
935
  let sharePct = null;
935
- if (ne(col, colAgg) && value != null) {
936
+ if (ye(col, colAgg) && value != null) {
936
937
  const allVals = [];
937
938
  const allRaw = [];
938
939
  for (let r = 0; r < rows.length; r++) {
package/dist/react.mjs CHANGED
@@ -4,8 +4,9 @@ import {
4
4
  createChartHost,
5
5
  geoFromCache,
6
6
  loadGeo
7
- } from "./chunk-YDFJF2UG.mjs";
7
+ } from "./chunk-OR2XGMAH.mjs";
8
8
  import "./chunk-A2GMXZP7.mjs";
9
+ import "./chunk-GHODWOAL.mjs";
9
10
 
10
11
  // src/react.tsx
11
12
  import { createContext, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/chart-host",
3
- "version": "0.5.65",
3
+ "version": "0.5.66",
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",