@bicharts/chart-host 0.6.102 → 0.6.105

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.
Files changed (33) hide show
  1. package/dist/adapters.mjs +3 -3
  2. package/dist/card.mjs +2 -2
  3. package/dist/chunk-5WTQN5DL.mjs +96 -0
  4. package/dist/{chunk-M7MBTLDP.mjs → chunk-7XRQUFVH.mjs} +3 -1
  5. package/dist/{chunk-ASLRGGLV.mjs → chunk-CPLWAW3Z.mjs} +1 -1
  6. package/dist/{chunk-B6BLSIID.mjs → chunk-IE426WU6.mjs} +2 -2
  7. package/dist/{chunk-3JBJ2SIF.mjs → chunk-IE7TM6DX.mjs} +1 -1
  8. package/dist/{chunk-ALX4D2I2.mjs → chunk-K6UXTDMR.mjs} +675 -132
  9. package/dist/{chunk-D6A37G2G.mjs → chunk-MU4BWWO6.mjs} +10 -10
  10. package/dist/{chunk-5OCL4EFM.mjs → chunk-P2DLK7WZ.mjs} +1 -1
  11. package/dist/{chunk-PMA56BKD.mjs → chunk-PA5V6J6K.mjs} +1 -1
  12. package/dist/{chunk-CNT3QA3R.mjs → chunk-SYUJ4TPX.mjs} +961 -771
  13. package/dist/{chunk-WSNDXS3Z.mjs → chunk-TLIBO5PT.mjs} +1 -1
  14. package/dist/index.mjs +207 -17
  15. package/dist/legend-fit.mjs +3 -3
  16. package/dist/page.mjs +4 -4
  17. package/dist/provinces.mjs +229 -0
  18. package/dist/react.mjs +12 -10
  19. package/dist/testing.mjs +1 -1
  20. package/dist/types/admin1LookupLoader.d.ts +26 -0
  21. package/dist/types/contract.d.ts +9 -1
  22. package/dist/types/exportTable.d.ts +100 -0
  23. package/dist/types/host.d.ts +3 -2
  24. package/dist/types/hostLinks.d.ts +11 -0
  25. package/dist/types/index.d.ts +5 -2
  26. package/dist/types/optionsVocabulary.d.ts +5 -0
  27. package/dist/types/payload.d.ts +63 -4
  28. package/dist/types/provinceGeo.d.ts +38 -0
  29. package/dist/types/provinceHost.d.ts +47 -0
  30. package/dist/types/provinces.d.ts +3 -0
  31. package/dist/types/shareRate.d.ts +90 -0
  32. package/dist/zoom-memory.mjs +1 -1
  33. package/package.json +6 -1
@@ -1,12 +1,12 @@
1
1
  /*! @bicharts/chart-host — Apache-2.0. Bundled reference data: GeoNames (https://www.geonames.org/) CC BY 4.0; Natural Earth and US Census/TIGER (public domain). Full text: NOTICE in this package. */
2
2
  import {
3
- fi,
3
+ Bt,
4
+ Gt,
5
+ Ii,
6
+ Ti,
4
7
  j,
5
- kt,
6
- pi,
7
- u,
8
- vt
9
- } from "./chunk-CNT3QA3R.mjs";
8
+ u
9
+ } from "./chunk-SYUJ4TPX.mjs";
10
10
 
11
11
  // src/sourceDateFormat.ts
12
12
  function formatSourceDate(raw, opts = {}) {
@@ -435,15 +435,15 @@ function displayText(col, raw, opts) {
435
435
  return String(raw);
436
436
  }
437
437
  function isSuppressed(col) {
438
- return vt(col).suppressed;
438
+ return Bt(col).suppressed;
439
439
  }
440
440
  function resolveAgg(col, requested, auto) {
441
441
  const fallback = () => {
442
- const d = fi(col);
442
+ const d = Ti(col);
443
443
  return d === "first" ? "count" : d;
444
444
  };
445
445
  if (auto) return fallback();
446
- return kt(col).indexOf(requested) >= 0 ? requested : fallback();
446
+ return Gt(col).indexOf(requested) >= 0 ? requested : fallback();
447
447
  }
448
448
  function toNumber(v) {
449
449
  if (v == null || v === "") return null;
@@ -546,7 +546,7 @@ function computeSelectionCard(payload, selectedRowIdxs, opts = {}) {
546
546
  }
547
547
  const value = reduce(selVals, colAgg, selRaw);
548
548
  let sharePct = null;
549
- if (pi(col, colAgg) && value != null) {
549
+ if (Ii(col, colAgg) && value != null) {
550
550
  const allVals = [];
551
551
  const allRaw = [];
552
552
  for (let r = 0; r < rows.length; r++) {
@@ -8,7 +8,7 @@ import {
8
8
  SELECTION_RULE_ATTR,
9
9
  SELECTION_RULE_CLICKED_MARKS,
10
10
  XFILTER_REFRESH_EVENT
11
- } from "./chunk-M7MBTLDP.mjs";
11
+ } from "./chunk-7XRQUFVH.mjs";
12
12
 
13
13
  // src/selection.ts
14
14
  function rowIdxsFromMark(el) {
@@ -1,7 +1,7 @@
1
1
  /*! @bicharts/chart-host — Apache-2.0. Bundled reference data: GeoNames (https://www.geonames.org/) CC BY 4.0; Natural Earth and US Census/TIGER (public domain). Full text: NOTICE in this package. */
2
2
  import {
3
3
  SNAPSHOT_SVG_ATTR
4
- } from "./chunk-M7MBTLDP.mjs";
4
+ } from "./chunk-7XRQUFVH.mjs";
5
5
 
6
6
  // src/snapshot.ts
7
7
  var DEFAULT_TIMEOUT_MS = 2e3;