@bicharts/chart-host 0.1.5 → 0.1.7
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-UNH36TGD.mjs → chunk-DF5QUB2N.mjs} +219 -9
- package/dist/chunk-DF5QUB2N.mjs.map +7 -0
- package/dist/index.mjs +1 -1
- package/dist/react.mjs +1 -1
- package/dist/types/contract.d.ts +2 -0
- package/dist/types/payload.d.ts +3 -0
- package/package.json +67 -67
- package/dist/chunk-UNH36TGD.mjs.map +0 -7
package/dist/index.mjs
CHANGED
package/dist/react.mjs
CHANGED
package/dist/types/contract.d.ts
CHANGED
package/dist/types/payload.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export interface GeoPointBinding {
|
|
|
7
7
|
zip?: string;
|
|
8
8
|
lat?: string;
|
|
9
9
|
lon?: string;
|
|
10
|
+
country?: string;
|
|
10
11
|
}
|
|
11
12
|
export interface RenderPayload {
|
|
12
13
|
columns: any[];
|
|
@@ -21,6 +22,8 @@ export interface RenderPayload {
|
|
|
21
22
|
unplaced: number;
|
|
22
23
|
unplacedExamples: string[];
|
|
23
24
|
ambiguousRows: number;
|
|
25
|
+
rolesBackfilled?: string[];
|
|
26
|
+
rolesRefused?: string[];
|
|
24
27
|
};
|
|
25
28
|
}
|
|
26
29
|
export declare function buildRenderPayload(cols: Array<{
|
package/package.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bicharts/chart-host",
|
|
3
|
-
"version": "0.1.
|
|
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
|
-
"license": "Apache-2.0",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"sideEffects": false,
|
|
8
|
-
"main": "./dist/index.mjs",
|
|
9
|
-
"module": "./dist/index.mjs",
|
|
10
|
-
"types": "./dist/types/index.d.ts",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/types/index.d.ts",
|
|
14
|
-
"import": "./dist/index.mjs",
|
|
15
|
-
"default": "./dist/index.mjs"
|
|
16
|
-
},
|
|
17
|
-
"./react": {
|
|
18
|
-
"types": "./dist/types/react.d.ts",
|
|
19
|
-
"import": "./dist/react.mjs",
|
|
20
|
-
"default": "./dist/react.mjs"
|
|
21
|
-
},
|
|
22
|
-
"./geo": {
|
|
23
|
-
"types": "./dist/types/geo.d.ts",
|
|
24
|
-
"import": "./dist/geo.mjs",
|
|
25
|
-
"default": "./dist/geo.mjs"
|
|
26
|
-
},
|
|
27
|
-
"./package.json": "./package.json"
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist",
|
|
31
|
-
"README.md",
|
|
32
|
-
"LICENSE",
|
|
33
|
-
"NOTICE"
|
|
34
|
-
],
|
|
35
|
-
"peerDependencies": {
|
|
36
|
-
"react": ">=18",
|
|
37
|
-
"react-dom": ">=18"
|
|
38
|
-
},
|
|
39
|
-
"peerDependenciesMeta": {
|
|
40
|
-
"react": {
|
|
41
|
-
"optional": true
|
|
42
|
-
},
|
|
43
|
-
"react-dom": {
|
|
44
|
-
"optional": true
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"scripts": {
|
|
48
|
-
"build": "node build.mjs",
|
|
49
|
-
"prepack": "node build.mjs",
|
|
50
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
51
|
-
"test": "vitest run"
|
|
52
|
-
},
|
|
53
|
-
"// devDependencies": "@bicharts/shape-core is deliberately NOT declared. It is a workspace sibling that npm links regardless, and its code is BUNDLED into dist, so a consumer never installs it. Declaring it made this package a registry DEPENDENT of shape-core, which blocks lifecycle operations on that package in exchange for nothing. Do not add it back; if the build stops resolving it, fix the workspace, not the manifest.",
|
|
54
|
-
"devDependencies": {
|
|
55
|
-
"@types/react": "^19.2.17",
|
|
56
|
-
"esbuild": "^0.28.1",
|
|
57
|
-
"typescript": "^5.9.3"
|
|
58
|
-
},
|
|
59
|
-
"publishConfig": {
|
|
60
|
-
"access": "public"
|
|
61
|
-
},
|
|
62
|
-
"repository": {
|
|
63
|
-
"type": "git",
|
|
64
|
-
"url": "git+https://github.com/codexguy/bicharts.git",
|
|
65
|
-
"directory": "packages/chart-host"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bicharts/chart-host",
|
|
3
|
+
"version": "0.1.7",
|
|
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
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"main": "./dist/index.mjs",
|
|
9
|
+
"module": "./dist/index.mjs",
|
|
10
|
+
"types": "./dist/types/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/types/index.d.ts",
|
|
14
|
+
"import": "./dist/index.mjs",
|
|
15
|
+
"default": "./dist/index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"./react": {
|
|
18
|
+
"types": "./dist/types/react.d.ts",
|
|
19
|
+
"import": "./dist/react.mjs",
|
|
20
|
+
"default": "./dist/react.mjs"
|
|
21
|
+
},
|
|
22
|
+
"./geo": {
|
|
23
|
+
"types": "./dist/types/geo.d.ts",
|
|
24
|
+
"import": "./dist/geo.mjs",
|
|
25
|
+
"default": "./dist/geo.mjs"
|
|
26
|
+
},
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"NOTICE"
|
|
34
|
+
],
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"react": ">=18",
|
|
37
|
+
"react-dom": ">=18"
|
|
38
|
+
},
|
|
39
|
+
"peerDependenciesMeta": {
|
|
40
|
+
"react": {
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
"react-dom": {
|
|
44
|
+
"optional": true
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "node build.mjs",
|
|
49
|
+
"prepack": "node build.mjs",
|
|
50
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
51
|
+
"test": "vitest run"
|
|
52
|
+
},
|
|
53
|
+
"// devDependencies": "@bicharts/shape-core is deliberately NOT declared. It is a workspace sibling that npm links regardless, and its code is BUNDLED into dist, so a consumer never installs it. Declaring it made this package a registry DEPENDENT of shape-core, which blocks lifecycle operations on that package in exchange for nothing. Do not add it back; if the build stops resolving it, fix the workspace, not the manifest.",
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/react": "^19.2.17",
|
|
56
|
+
"esbuild": "^0.28.1",
|
|
57
|
+
"typescript": "^5.9.3"
|
|
58
|
+
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
61
|
+
},
|
|
62
|
+
"repository": {
|
|
63
|
+
"type": "git",
|
|
64
|
+
"url": "git+https://github.com/codexguy/bicharts.git",
|
|
65
|
+
"directory": "packages/chart-host"
|
|
66
|
+
}
|
|
67
|
+
}
|