@bicharts/chart-host 0.5.12 → 0.5.14
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/{chunk-UAP5C7EQ.mjs → chunk-CHXK4WAI.mjs} +237 -216
- package/dist/index.mjs +3 -3
- package/dist/react.mjs +1 -1
- package/dist/types/payload.d.ts +14 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
MARK_SELECTED_CLASS,
|
|
24
24
|
ROW_IDX_ATTR,
|
|
25
25
|
SELECTION_ACTIVE_CLASS,
|
|
26
|
+
U3,
|
|
26
27
|
XFILTER_REFRESH_EVENT,
|
|
27
28
|
buildRenderPayload,
|
|
28
29
|
clearGeoCache,
|
|
@@ -30,7 +31,6 @@ import {
|
|
|
30
31
|
createChartHost,
|
|
31
32
|
createMarkResolver,
|
|
32
33
|
explainRenderFailure,
|
|
33
|
-
g3,
|
|
34
34
|
geoAssetFor,
|
|
35
35
|
geoFromCache,
|
|
36
36
|
loadGeo,
|
|
@@ -39,12 +39,12 @@ import {
|
|
|
39
39
|
requiredD3Plugins,
|
|
40
40
|
resolveOptions,
|
|
41
41
|
stripEsmExports
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CHXK4WAI.mjs";
|
|
43
43
|
import "./chunk-A2GMXZP7.mjs";
|
|
44
44
|
|
|
45
45
|
// src/index.ts
|
|
46
46
|
function registerCityTable(packed) {
|
|
47
|
-
|
|
47
|
+
U3(packed);
|
|
48
48
|
}
|
|
49
49
|
export {
|
|
50
50
|
ANIM_MAX_IDEAL_FRAMES_DEFAULT,
|
package/dist/react.mjs
CHANGED
package/dist/types/payload.d.ts
CHANGED
|
@@ -29,6 +29,20 @@ export interface RenderPayload {
|
|
|
29
29
|
rolesBackfilled?: string[];
|
|
30
30
|
rolesRefused?: string[];
|
|
31
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* WHY THERE IS NO MAP — the refusals that survive when nothing could be placed.
|
|
34
|
+
*
|
|
35
|
+
* `geoPoint.rolesRefused` above only exists when a binding resolved, so the one case where
|
|
36
|
+
* an explanation is worth most — the resolver rejected every candidate and the chart is
|
|
37
|
+
* about to draw its own empty state — reported NOTHING. That is how "no coordinate data
|
|
38
|
+
* available" over a table full of countries cost a day: the classifier had a precise
|
|
39
|
+
* reason ("only 95.5% of values are country identifiers") and no way to say it.
|
|
40
|
+
*
|
|
41
|
+
* Present whenever a point binding was attempted and something was refused, whether or not
|
|
42
|
+
* a map came out of it. Joel 2026-08-02: "be sure to provide feedback in the output that
|
|
43
|
+
* helps call out exceptions / decisions like this, if possible."
|
|
44
|
+
*/
|
|
45
|
+
geoPointRefused?: string[];
|
|
32
46
|
}
|
|
33
47
|
export declare function buildRenderPayload(cols: Array<{
|
|
34
48
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bicharts/chart-host",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.14",
|
|
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",
|