semiotic 3.8.6 → 3.8.8
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/CLAUDE.md +34 -8
- package/README.md +93 -56
- package/ai/behaviorContracts.cjs +86 -1
- package/ai/componentMetadata.cjs +4 -9
- package/ai/dist/mcp-server.js +125 -12
- package/ai/examples.md +154 -7
- package/ai/schema.json +1742 -156
- package/ai/surface-manifest.json +12 -10
- package/ai/system-prompt.md +9 -3
- package/dist/{chunk-chartContainerDataAudit-FEOD5GTQ.module.min.js → chunk-chartContainerDataAudit-IQ3NBN3Q.module.min.js} +1 -1
- package/dist/chunk-chunk-2B3AIKUZ.module.min.js +2 -0
- package/dist/chunk-chunk-2NVFEB7P.module.min.js +2 -0
- package/dist/chunk-chunk-3GCILWPB.module.min.js +2 -0
- package/dist/chunk-chunk-46KRGJQP.module.min.js +1 -0
- package/dist/{chunk-chunk-G7WFWHAD.module.min.js → chunk-chunk-4ITOQRXM.module.min.js} +1 -1
- package/dist/chunk-chunk-4MLLQUGW.module.min.js +2 -0
- package/dist/chunk-chunk-57RBPDBQ.module.min.js +2 -0
- package/dist/chunk-chunk-5VVNW5AZ.module.min.js +1 -0
- package/dist/chunk-chunk-66PCWJUG.module.min.js +1 -0
- package/dist/chunk-chunk-6V5VQVCT.module.min.js +2 -0
- package/dist/chunk-chunk-7LE56WAE.module.min.js +2 -0
- package/dist/chunk-chunk-7T25U75Z.module.min.js +2 -0
- package/dist/chunk-chunk-AF53TBSN.module.min.js +2 -0
- package/dist/chunk-chunk-BTZYH2IE.module.min.js +1 -0
- package/dist/chunk-chunk-BWV55BZK.module.min.js +2 -0
- package/dist/chunk-chunk-BZNOAHJV.module.min.js +2 -0
- package/dist/chunk-chunk-CD6PVVS3.module.min.js +2 -0
- package/dist/chunk-chunk-DTSNLGRK.module.min.js +2 -0
- package/dist/chunk-chunk-FC3NZWYR.module.min.js +2 -0
- package/dist/chunk-chunk-FEPXDKJP.module.min.js +1 -0
- package/dist/chunk-chunk-FJ76HWQZ.module.min.js +1 -0
- package/dist/chunk-chunk-FQPKOAIH.module.min.js +2 -0
- package/dist/chunk-chunk-FRGBMTZR.module.min.js +1 -0
- package/dist/chunk-chunk-G75OPF5N.module.min.js +2 -0
- package/dist/chunk-chunk-H5IFO6CU.module.min.js +2 -0
- package/dist/chunk-chunk-HADHLMY5.module.min.js +1 -0
- package/dist/chunk-chunk-HBFA4NN6.module.min.js +1 -0
- package/dist/chunk-chunk-HCNDE26Q.module.min.js +2 -0
- package/dist/chunk-chunk-J5QD4RAM.module.min.js +2 -0
- package/dist/chunk-chunk-JJ4BSUYL.module.min.js +2 -0
- package/dist/chunk-chunk-JRHXQGEV.module.min.js +2 -0
- package/dist/chunk-chunk-L6FFYGYS.module.min.js +1 -0
- package/dist/chunk-chunk-LJDH3WV3.module.min.js +2 -0
- package/dist/chunk-chunk-LSJUXBMF.module.min.js +1 -0
- package/dist/chunk-chunk-N3Q33XCB.module.min.js +2 -0
- package/dist/chunk-chunk-NWIGA3UK.module.min.js +1 -0
- package/dist/chunk-chunk-OG3TTJGJ.module.min.js +2 -0
- package/dist/{chunk-chunk-XEVJDUTH.module.min.js → chunk-chunk-OZK46A5U.module.min.js} +1 -1
- package/dist/chunk-chunk-PMR47KRY.module.min.js +2 -0
- package/dist/chunk-chunk-QQJNG23C.module.min.js +2 -0
- package/dist/chunk-chunk-RGJ6TKAH.module.min.js +2 -0
- package/dist/{chunk-chunk-RA7JCG7D.module.min.js → chunk-chunk-SFLUSZ73.module.min.js} +1 -1
- package/dist/chunk-chunk-SV4XAZ3Q.module.min.js +1 -0
- package/dist/chunk-chunk-TCMHJWFJ.module.min.js +1 -0
- package/dist/chunk-chunk-TSCFL235.module.min.js +1 -0
- package/dist/{chunk-chunk-XP3OHHFX.module.min.js → chunk-chunk-UEZ6SHW5.module.min.js} +1 -1
- package/dist/chunk-chunk-UOQRPGPK.module.min.js +2 -0
- package/dist/chunk-chunk-VUWYT7DY.module.min.js +2 -0
- package/dist/{chunk-chunk-GFTVACTO.module.min.js → chunk-chunk-W5HWGQMD.module.min.js} +1 -1
- package/dist/chunk-chunk-WFHZHWT7.module.min.js +1 -0
- package/dist/chunk-chunk-WGROBM3I.module.min.js +2 -0
- package/dist/chunk-chunk-WSDJFBKX.module.min.js +2 -0
- package/dist/chunk-statisticalOverlays-HMYYSGPE.module.min.js +2 -0
- package/dist/components/ai/SemioticVACPBridge.d.ts +22 -0
- package/dist/components/ai/chartCapabilities.d.ts +4 -3
- package/dist/components/ai/conversationArc.d.ts +2 -176
- package/dist/components/ai/conversationArcTypes.d.ts +202 -0
- package/dist/components/ai/readerGrounding.d.ts +12 -0
- package/dist/components/ai/vacpAdapter.d.ts +13 -0
- package/dist/components/ai/vacpAdapterActions.d.ts +2 -0
- package/dist/components/ai/vacpAdapterModel.d.ts +7 -0
- package/dist/components/ai/vacpAdapterRuntime.d.ts +26 -0
- package/dist/components/ai/vacpAdapterState.d.ts +3 -0
- package/dist/components/ai/vacpAdapterTypes.d.ts +169 -0
- package/dist/components/ai/vacpTypes.d.ts +160 -0
- package/dist/components/charts/index.d.ts +6 -6
- package/dist/components/charts/network/ProcessSankey.d.ts +105 -74
- package/dist/components/charts/network/processSankey/accessors.d.ts +7 -0
- package/dist/components/charts/network/processSankey/algorithm.d.ts +14 -193
- package/dist/components/charts/network/processSankey/axisChrome.d.ts +31 -0
- package/dist/components/charts/network/processSankey/bandPaths.d.ts +45 -0
- package/dist/components/charts/network/processSankey/buildScenes.d.ts +41 -3
- package/dist/components/charts/network/processSankey/fixtures.d.ts +17 -0
- package/dist/components/charts/network/processSankey/frameMargins.d.ts +11 -0
- package/dist/components/charts/network/processSankey/groupBonding.d.ts +13 -0
- package/dist/components/charts/network/processSankey/inventoryAtTime.d.ts +41 -0
- package/dist/components/charts/network/processSankey/labelPlacement.d.ts +34 -0
- package/dist/components/charts/network/processSankey/layoutGeometry.d.ts +47 -0
- package/dist/components/charts/network/processSankey/layoutOrchestrator.d.ts +44 -0
- package/dist/components/charts/network/processSankey/layoutQualityProduct.d.ts +27 -0
- package/dist/components/charts/network/processSankey/massSimulation.d.ts +16 -0
- package/dist/components/charts/network/processSankey/ordering.d.ts +55 -0
- package/dist/components/charts/network/processSankey/orderingBond.d.ts +33 -0
- package/dist/components/charts/network/processSankey/orientation.d.ts +5 -0
- package/dist/components/charts/network/processSankey/packing.d.ts +8 -0
- package/dist/components/charts/network/processSankey/packingCache.d.ts +23 -0
- package/dist/components/charts/network/processSankey/processSankeyLayoutAsync.d.ts +27 -0
- package/dist/components/charts/network/processSankey/processSankeyLayoutWorkerClient.d.ts +72 -0
- package/dist/components/charts/network/processSankey/processSankeyTooltip.d.ts +26 -0
- package/dist/components/charts/network/processSankey/processSankeyTypes.d.ts +163 -0
- package/dist/components/charts/network/processSankey/ribbonInputs.d.ts +26 -2
- package/dist/components/charts/network/processSankey/ribbonRunway.d.ts +45 -0
- package/dist/components/charts/network/processSankey/streamingLayout.d.ts +23 -0
- package/dist/components/charts/network/processSankey/time.d.ts +11 -0
- package/dist/components/charts/network/processSankey/useProcessSankeyPush.d.ts +29 -0
- package/dist/components/charts/network/processSankey/useProcessSankeyScenes.d.ts +26 -0
- package/dist/components/charts/network/processSankey/validation.d.ts +33 -0
- package/dist/components/charts/physics/ChainReactionChart.capability.d.ts +9 -0
- package/dist/components/charts/physics/ChainReactionChart.d.ts +29 -0
- package/dist/components/charts/physics/CollisionSwarmChart.d.ts +1 -1
- package/dist/components/charts/physics/EventDropChart.d.ts +7 -2
- package/dist/components/charts/physics/GaltonBoardChart.d.ts +1 -1
- package/dist/components/charts/physics/{PhysicsPileChart.capability.d.ts → PacketFlowChart.capability.d.ts} +1 -1
- package/dist/components/charts/physics/{PhysicalFlowChart.d.ts → PacketFlowChart.d.ts} +22 -6
- package/dist/components/charts/physics/PhysicsCustomChart.d.ts +1 -1
- package/dist/components/charts/physics/ProcessFlowChart.d.ts +7 -4
- package/dist/components/charts/physics/{PhysicalFlowChart.capability.d.ts → UnitPileChart.capability.d.ts} +1 -1
- package/dist/components/charts/physics/{PhysicsPileChart.d.ts → UnitPileChart.d.ts} +19 -6
- package/dist/components/charts/physics/crucibleChartProps.d.ts +1 -1
- package/dist/components/charts/physics/crucibleChartUtils.d.ts +9 -0
- package/dist/components/charts/physics/gauntletChartProps.d.ts +6 -1
- package/dist/components/charts/physics/gauntletTerminal.d.ts +61 -0
- package/dist/components/charts/physics/packetFlowSemantics.d.ts +6 -0
- package/dist/components/charts/physics/physicsHocUtils.d.ts +45 -2
- package/dist/components/charts/shared/auditAccessibilityStyles.d.ts +9 -0
- package/dist/components/charts/shared/chartFamilySets.d.ts +1 -0
- package/dist/components/charts/shared/formatUtils.d.ts +12 -1
- package/dist/components/charts/shared/hatchFill.d.ts +2 -0
- package/dist/components/charts/shared/hooks.d.ts +1 -1
- package/dist/components/charts/shared/knownChartComponents.d.ts +1 -1
- package/dist/components/charts/shared/leastSquaresRegression.d.ts +31 -0
- package/dist/components/charts/shared/styleRules.d.ts +5 -1
- package/dist/components/charts/shared/useChartLegend.d.ts +14 -1
- package/dist/components/charts/shared/useChartSetup.d.ts +8 -1
- package/dist/components/charts/shared/validateProps.d.ts +2 -2
- package/dist/components/charts/shared/withChartWrapper.d.ts +0 -6
- package/dist/components/data/numericFieldProfiler.d.ts +2 -0
- package/dist/components/data/portability/capabilityBinding.d.ts +41 -0
- package/dist/components/data/portability/index.d.ts +2 -0
- package/dist/components/legendLayout.d.ts +56 -0
- package/dist/components/recipes/geographicDotGrid.d.ts +82 -0
- package/dist/components/recipes/geographicGrid.d.ts +100 -0
- package/dist/components/recipes/layout1d.d.ts +68 -0
- package/dist/components/recipes/physics.d.ts +2 -0
- package/dist/components/recipes/physicsStageGeography.d.ts +137 -0
- package/dist/components/semiotic-ai.d.ts +4 -3
- package/dist/components/semiotic-experimental-vacp.d.ts +11 -0
- package/dist/components/semiotic-experimental.d.ts +6 -3
- package/dist/components/semiotic-geo.d.ts +4 -0
- package/dist/components/semiotic-network.d.ts +2 -2
- package/dist/components/semiotic-physics.d.ts +9 -6
- package/dist/components/semiotic-recipes-core.d.ts +8 -1
- package/dist/components/semiotic.d.ts +2 -0
- package/dist/components/server/renderEvidence.d.ts +1 -1
- package/dist/components/server/renderToStaticSVG.d.ts +2 -1
- package/dist/components/server/serverChartConfigHeatmap.d.ts +6 -0
- package/dist/components/server/serverChartConfigNetworkStyles.d.ts +12 -0
- package/dist/components/server/serverChartConfigShared.d.ts +16 -0
- package/dist/components/server/serverChartConfigs.d.ts +2 -2
- package/dist/components/server/serverChartConfigsPhysics.d.ts +2 -2
- package/dist/components/server/serverChartConfigsXY.d.ts +0 -1
- package/dist/components/server/staticLegend.d.ts +6 -0
- package/dist/components/server/staticSVGChrome.d.ts +12 -3
- package/dist/components/server/staticValue.d.ts +8 -0
- package/dist/components/store/createStore.d.ts +2 -0
- package/dist/components/stream/OrdinalPipelineStore.d.ts +3 -0
- package/dist/components/stream/PipelineStore.d.ts +5 -0
- package/dist/components/stream/accessorUtils.d.ts +21 -0
- package/dist/components/stream/frameKeyboardNavigation.d.ts +3 -2
- package/dist/components/stream/geoPipelineConfig.d.ts +10 -0
- package/dist/components/stream/layouts/forceLayoutWorkerClient.d.ts +3 -8
- package/dist/components/stream/layouts/index.d.ts +1 -1
- package/dist/components/stream/legendRenderer.d.ts +8 -0
- package/dist/components/stream/moduleWorkerSession.d.ts +67 -0
- package/dist/components/stream/networkTypes.d.ts +2 -0
- package/dist/components/stream/ordinalSceneBuilders/sceneBuilderMap.d.ts +2 -1
- package/dist/components/stream/physics/PhysicsEvidence.d.ts +37 -0
- package/dist/components/stream/physics/PhysicsKernel.d.ts +9 -0
- package/dist/components/stream/physics/PhysicsPipelineStore.d.ts +9 -0
- package/dist/components/stream/physics/PhysicsSettledScene.d.ts +5 -0
- package/dist/components/stream/physics/physicsFramePipelineConfig.d.ts +19 -0
- package/dist/components/stream/physics/physicsPipelineSettle.d.ts +52 -0
- package/dist/components/stream/physics/physicsRegionRuntime.d.ts +23 -0
- package/dist/components/stream/pipelineIntroCancellation.d.ts +6 -0
- package/dist/components/stream/pipelineTransitions.d.ts +15 -1
- package/dist/components/stream/renderers/canvasRenderHelpers.d.ts +16 -4
- package/dist/components/stream/renderers/symbolCanvasRenderer.d.ts +4 -0
- package/dist/components/stream/symbolPath.d.ts +8 -0
- package/dist/components/stream/types.d.ts +4 -0
- package/dist/components/stream/useCanvasFrameHost.d.ts +6 -0
- package/dist/components/stream/useSemanticFrameInteractions.d.ts +12 -3
- package/dist/components/stream/xyFrameAxisTypes.d.ts +4 -0
- package/dist/components/types/legendTypes.d.ts +17 -1
- package/dist/controls.min.js +1 -1
- package/dist/controls.module.min.js +1 -1
- package/dist/forceLayoutWorker.js +1 -1
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/physics.min.js +1 -1
- package/dist/physics.module.min.js +1 -1
- package/dist/physicsWorker.js +1 -1
- package/dist/processSankeyLayoutWorker.js +1 -0
- package/dist/realtime.min.js +1 -1
- package/dist/realtime.module.min.js +1 -1
- package/dist/semiotic-ai-core.min.js +1 -1
- package/dist/semiotic-ai-core.module.min.js +1 -1
- package/dist/semiotic-ai.d.ts +4 -3
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-data.module.min.js +1 -1
- package/dist/semiotic-experimental-vacp.d.ts +11 -0
- package/dist/semiotic-experimental-vacp.min.js +1 -0
- package/dist/semiotic-experimental-vacp.module.min.js +1 -0
- package/dist/semiotic-experimental.d.ts +6 -3
- package/dist/semiotic-experimental.min.js +2 -1
- package/dist/semiotic-experimental.module.min.js +2 -1
- package/dist/semiotic-geo.d.ts +4 -0
- package/dist/semiotic-network.d.ts +2 -2
- package/dist/semiotic-physics.d.ts +9 -6
- package/dist/semiotic-realtime-core.min.js +1 -1
- package/dist/semiotic-realtime-core.module.min.js +1 -1
- package/dist/semiotic-recipes-core.d.ts +8 -1
- package/dist/semiotic-recipes-core.min.js +1 -1
- package/dist/semiotic-recipes-core.module.min.js +1 -1
- package/dist/semiotic-recipes.min.js +1 -1
- package/dist/semiotic-recipes.module.min.js +1 -1
- package/dist/semiotic-server-edge.min.js +1 -1
- package/dist/semiotic-server-edge.module.min.js +1 -1
- package/dist/semiotic-server-node.min.js +1 -1
- package/dist/semiotic-server-node.module.min.js +1 -1
- package/dist/semiotic-themes-core.module.min.js +1 -1
- package/dist/semiotic-themes-react.module.min.js +1 -1
- package/dist/semiotic-themes.module.min.js +1 -1
- package/dist/semiotic-utils-core.min.js +1 -1
- package/dist/semiotic-utils-core.module.min.js +1 -1
- package/dist/semiotic-utils-react.module.min.js +1 -1
- package/dist/semiotic-utils.min.js +1 -1
- package/dist/semiotic-utils.module.min.js +1 -1
- package/dist/semiotic-value.min.js +1 -1
- package/dist/semiotic-value.module.min.js +1 -1
- package/dist/semiotic.d.ts +2 -0
- package/dist/semiotic.min.js +1 -1
- package/dist/semiotic.module.min.js +1 -1
- package/dist/server.min.js +1 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +21 -4
- package/spec/README.md +94 -2
- package/spec/bindings/README.md +14 -3
- package/spec/v0.1/examples/annotation-provenance-reviewed-revision.json +27 -0
- package/spec/v0.1/examples/annotation-provenance-watcher-threshold.json +21 -0
- package/spec/v0.1/examples/audience-profile-executive-review.json +24 -0
- package/spec/v0.1/examples/audience-profile-incident-operators.json +42 -0
- package/spec/v0.1/examples/chart-capability-bar-comparison.json +48 -0
- package/spec/v0.1/examples/chart-capability-service-flow.json +54 -0
- package/dist/chunk-chunk-2CHN2TA3.module.min.js +0 -1
- package/dist/chunk-chunk-3NGIKFD6.module.min.js +0 -1
- package/dist/chunk-chunk-3SHB24AG.module.min.js +0 -1
- package/dist/chunk-chunk-4MMOOYTX.module.min.js +0 -2
- package/dist/chunk-chunk-5RKXZQ2P.module.min.js +0 -1
- package/dist/chunk-chunk-75OTQSXS.module.min.js +0 -1
- package/dist/chunk-chunk-7ALTGHK6.module.min.js +0 -1
- package/dist/chunk-chunk-A5GRQUOF.module.min.js +0 -1
- package/dist/chunk-chunk-AAF5LZAU.module.min.js +0 -2
- package/dist/chunk-chunk-ARZGA4LJ.module.min.js +0 -2
- package/dist/chunk-chunk-C4YA6TDR.module.min.js +0 -1
- package/dist/chunk-chunk-CAFLML4L.module.min.js +0 -2
- package/dist/chunk-chunk-CO5KQMGH.module.min.js +0 -1
- package/dist/chunk-chunk-DSNGDNJY.module.min.js +0 -1
- package/dist/chunk-chunk-FHBN7OEB.module.min.js +0 -2
- package/dist/chunk-chunk-GMQ5AYTD.module.min.js +0 -1
- package/dist/chunk-chunk-IP2UE74X.module.min.js +0 -1
- package/dist/chunk-chunk-ITDWLZXV.module.min.js +0 -2
- package/dist/chunk-chunk-JCG72SGW.module.min.js +0 -2
- package/dist/chunk-chunk-LPSPATPC.module.min.js +0 -1
- package/dist/chunk-chunk-OM6NWS4H.module.min.js +0 -2
- package/dist/chunk-chunk-PRDGLMJT.module.min.js +0 -2
- package/dist/chunk-chunk-PX5YQGDP.module.min.js +0 -2
- package/dist/chunk-chunk-Q2BS46W2.module.min.js +0 -2
- package/dist/chunk-chunk-QSQVBIJA.module.min.js +0 -1
- package/dist/chunk-chunk-RCF52Z42.module.min.js +0 -2
- package/dist/chunk-chunk-RNUHEXZA.module.min.js +0 -2
- package/dist/chunk-chunk-ROZWKEUG.module.min.js +0 -1
- package/dist/chunk-chunk-SMVD3EQJ.module.min.js +0 -2
- package/dist/chunk-chunk-T2FKJD4O.module.min.js +0 -2
- package/dist/chunk-chunk-UDREYOLV.module.min.js +0 -1
- package/dist/chunk-chunk-VOWE3SAP.module.min.js +0 -2
- package/dist/chunk-chunk-VQPNBUSW.module.min.js +0 -2
- package/dist/chunk-chunk-WAWCIHFJ.module.min.js +0 -1
- package/dist/chunk-chunk-WCX6U47H.module.min.js +0 -2
- package/dist/chunk-chunk-WYARAXHR.module.min.js +0 -2
- package/dist/chunk-chunk-XV3KGYTR.module.min.js +0 -2
- package/dist/chunk-chunk-YC2IVEPX.module.min.js +0 -1
- package/dist/chunk-chunk-ZOAQDIJO.module.min.js +0 -1
- package/dist/chunk-chunk-ZXIXAPRE.module.min.js +0 -2
- package/dist/chunk-statisticalOverlays-6MVAK5RW.module.min.js +0 -2
- package/dist/components/stream/renderers/networkSymbolRenderer.d.ts +0 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bind a library-neutral IDID capability descriptor to a Semiotic runtime
|
|
3
|
+
* capability. A portable `intentScores` field is authoritative when present;
|
|
4
|
+
* omission retains the host's ranking policy.
|
|
5
|
+
*
|
|
6
|
+
* The portable descriptor intentionally cannot contain executable `fits` or
|
|
7
|
+
* `buildProps` functions. Treating it as a complete runtime capability would
|
|
8
|
+
* therefore make every dataset appear to fit, which is precisely the kind of
|
|
9
|
+
* plausible-but-unsafe recommendation the portability layer refuses to make.
|
|
10
|
+
*
|
|
11
|
+
* This binder overlays the descriptor's portable policy (rubric, intent
|
|
12
|
+
* scores, variants, caveats, and mobile contract) onto a host-resolved
|
|
13
|
+
* capability while retaining the host's executable data-fit, prop-building,
|
|
14
|
+
* scale, quality, and numeric-contract logic.
|
|
15
|
+
*/
|
|
16
|
+
import type { ChartCapability } from "../../ai/chartCapabilityTypes";
|
|
17
|
+
import { type PortableChartCapability } from "./spec";
|
|
18
|
+
import type { PortabilityDiagnostic, PortabilityLoss, PortabilityProvenance, PortabilityStatus } from "./result";
|
|
19
|
+
/** Runtime capability plus the exact portable descriptor that shaped it. */
|
|
20
|
+
export interface BoundPortableChartCapability extends ChartCapability {
|
|
21
|
+
readonly portableDescriptor: PortableChartCapability;
|
|
22
|
+
}
|
|
23
|
+
/** Structured activation result; refused results never contain a capability. */
|
|
24
|
+
export interface PortableCapabilityBindingResult {
|
|
25
|
+
status: PortabilityStatus;
|
|
26
|
+
capability?: BoundPortableChartCapability;
|
|
27
|
+
diagnostics: readonly PortabilityDiagnostic[];
|
|
28
|
+
lossReport: readonly PortabilityLoss[];
|
|
29
|
+
provenance: PortabilityProvenance;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Activate a portable descriptor against an explicitly resolved host
|
|
33
|
+
* capability.
|
|
34
|
+
*
|
|
35
|
+
* The component ids must match. The portable rubric/intent scores are
|
|
36
|
+
* authoritative for ranking; portable variants replace host variants when the
|
|
37
|
+
* field is present (an omitted variants field means no carried variants).
|
|
38
|
+
* Host `fits`, `buildProps`, numeric contracts, scale/quality gates, and
|
|
39
|
+
* dynamic caveats remain in force.
|
|
40
|
+
*/
|
|
41
|
+
export declare function bindPortableCapability(descriptor: unknown, host: ChartCapability | undefined): PortableCapabilityBindingResult;
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export { IDID_SPEC_VERSION, BUILTIN_INTENT_IDS, validatePortableCapability, validatePortableAudienceProfile, validatePortableAnnotation, } from "./spec";
|
|
12
12
|
export type { BuiltInIntentId, PortableIntentId, PortableChartRubric, PortableChartVariant, PortableMobileInteractionCapability, PortableMobileLabelCapability, PortableMobileCustomCapability, PortableMobileCapability, PortableChartCapability, PortableReceptionModality, PortableAudienceTarget, PortableAudienceProfile, PortableAnnotationActorKind, PortableAnnotationSource, PortableAnnotationBasis, PortableAnnotationProvenance, PortableAnnotationFreshness, PortableAnnotationStatus, PortableAnnotationAnchor, PortableAnnotationLifecycle, PortableAnnotated, ValidationResult, } from "./spec";
|
|
13
|
+
export { bindPortableCapability } from "./capabilityBinding";
|
|
14
|
+
export type { BoundPortableChartCapability, PortableCapabilityBindingResult, } from "./capabilityBinding";
|
|
13
15
|
export { toVegaLite, toVegaLiteResult, attachIDID, readIDID, attachIDIDAnnotations, readIDIDAnnotations, } from "./vegaLite";
|
|
14
16
|
export type { IDIDVegaLiteMeta, ToVegaLiteOptions, VegaLiteExportResult, } from "./vegaLite";
|
|
15
17
|
export { fromVegaLiteResult, unwrapIDIDEnrichedVegaLiteSpec, } from "../fromVegaLite";
|
|
@@ -17,6 +17,62 @@ export declare function resolveSideLegendWidth(legend: LegendValue | null | unde
|
|
|
17
17
|
export declare function resolveLegendDistance(legend: LegendValue | null | undefined): number;
|
|
18
18
|
/** Resolve plot-adjacent chrome reserved before a left/right legend. */
|
|
19
19
|
export declare function resolveLegendSideGutter(layout?: LegendLayout): number;
|
|
20
|
+
/**
|
|
21
|
+
* Height of the chrome a horizontal axis draws *outside* the plot rect, which
|
|
22
|
+
* a top/bottom legend has to clear.
|
|
23
|
+
*
|
|
24
|
+
* The axis renderers place tick labels on a baseline 18px past the axis line
|
|
25
|
+
* and an axis title at 40px (58px when ticks are rotated); each needs a few
|
|
26
|
+
* more pixels for descenders. A bottom legend anchored at `plotBottom +
|
|
27
|
+
* legendDistance` lands in exactly that band, so without this reservation the
|
|
28
|
+
* legend and the tick labels draw at the same y.
|
|
29
|
+
*/
|
|
30
|
+
export declare const AXIS_TICK_CHROME = 22;
|
|
31
|
+
export declare const AXIS_TITLE_CHROME = 46;
|
|
32
|
+
export declare const ROTATED_AXIS_TITLE_CHROME = 64;
|
|
33
|
+
export interface AxisChromeInput {
|
|
34
|
+
/** A horizontal axis renders on this side of the plot. */
|
|
35
|
+
hasAxis?: boolean;
|
|
36
|
+
/** An axis title (`xLabel` / `valueLabel` / `categoryLabel`) is present. */
|
|
37
|
+
hasAxisLabel?: boolean;
|
|
38
|
+
/** Tick labels are rotated, which pushes the axis title further out. */
|
|
39
|
+
rotatedTicks?: boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Space to reserve between the plot edge and a top/bottom legend.
|
|
43
|
+
*
|
|
44
|
+
* `legendLayout.axisGutter` is the explicit override (including `0` to opt out
|
|
45
|
+
* and restore pre-3.8.7 placement); otherwise the band is derived from the
|
|
46
|
+
* axis chrome actually being drawn, and is 0 when there is no axis on that
|
|
47
|
+
* side — so pie/donut and axes-off charts are unaffected.
|
|
48
|
+
*/
|
|
49
|
+
export declare function resolveAxisChromeGutter(input?: AxisChromeInput, layout?: LegendLayout): number;
|
|
50
|
+
/**
|
|
51
|
+
* Resolve `axisChrome` for an XY chart HOC's `useChartLegendAndMargin` call.
|
|
52
|
+
* Mirrors `server/staticXY.tsx`'s `renderStreamXYFrame` (`hasAxis:
|
|
53
|
+
* showAxes !== false`, `hasAxisLabel: !!xLabel`) so a bottom-legend chart
|
|
54
|
+
* reserves the same margin on the client as `renderChart` does on the
|
|
55
|
+
* server — leaving either side to guess (the pre-3.8.8 default) makes the
|
|
56
|
+
* client over- or under-reserve relative to the SSR output whenever a
|
|
57
|
+
* wrapped legend pushes the reservation past the 80px floor.
|
|
58
|
+
*/
|
|
59
|
+
export declare function resolveXYAxisChrome(input: {
|
|
60
|
+
showAxes?: boolean;
|
|
61
|
+
xLabel?: unknown;
|
|
62
|
+
}): AxisChromeInput;
|
|
63
|
+
/**
|
|
64
|
+
* Resolve `axisChrome` for an ordinal chart HOC's `useChartLegendAndMargin`
|
|
65
|
+
* call. Mirrors `server/staticOrdinal.tsx`'s `renderOrdinalFrame`: the
|
|
66
|
+
* bottom axis is the value axis for `"horizontal"` projection, the category
|
|
67
|
+
* axis otherwise, and radial projections draw no axis at all. See
|
|
68
|
+
* `resolveXYAxisChrome` for why this must track the server computation.
|
|
69
|
+
*/
|
|
70
|
+
export declare function resolveOrdinalAxisChrome(input: {
|
|
71
|
+
showAxes?: boolean;
|
|
72
|
+
projection?: "horizontal" | "vertical" | "radial";
|
|
73
|
+
hasCategoryLabel: boolean;
|
|
74
|
+
hasValueLabel: boolean;
|
|
75
|
+
}): AxisChromeInput;
|
|
20
76
|
/** Estimate the layout-box height used to place a top/bottom legend. */
|
|
21
77
|
export declare function resolveHorizontalLegendHeight(legend: LegendValue | null | undefined, availableWidth: number, layout?: LegendLayout): number;
|
|
22
78
|
/** Margin required to fit a side legend and its plot-edge gap. */
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import type { GeoCustomLayout } from "../stream/geoCustomLayout";
|
|
3
|
+
import type { GeoScales } from "../stream/geoTypes";
|
|
4
|
+
import type { Style } from "../stream/types";
|
|
5
|
+
export type GeographicDotGridShape = "circle" | "square" | "hexagon";
|
|
6
|
+
export type GeographicDotGridAccessor = string | ((datum: GeographicDotGridDatum, index: number) => unknown);
|
|
7
|
+
export interface GeographicDotGridDatum extends Datum {
|
|
8
|
+
/** Stable source feature identity. */
|
|
9
|
+
featureId: string;
|
|
10
|
+
/** Source feature position in the filtered areas array. */
|
|
11
|
+
featureIndex: number;
|
|
12
|
+
/** Grid position in the chart-wide lattice. */
|
|
13
|
+
gridRow: number;
|
|
14
|
+
gridColumn: number;
|
|
15
|
+
/** Geographic location obtained by inverting the sampled cell center. */
|
|
16
|
+
longitude: number;
|
|
17
|
+
latitude: number;
|
|
18
|
+
/** Stable index among the retained, in-mask dots. */
|
|
19
|
+
dotIndex: number;
|
|
20
|
+
}
|
|
21
|
+
export interface GeographicDotGridSampleOptions {
|
|
22
|
+
/** Approximate pixel width/height of one lattice cell. @default 10 */
|
|
23
|
+
cellSize?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Alternative density control: number of lattice columns across the
|
|
26
|
+
* projected geographic bounds. Takes precedence over cellSize.
|
|
27
|
+
*/
|
|
28
|
+
columns?: number;
|
|
29
|
+
/** Pixel inset applied to the geographic sampling bounds. @default 0 */
|
|
30
|
+
layoutPadding?: number;
|
|
31
|
+
/** Chart-space lattice origin. Stable origins make resize transitions predictable. */
|
|
32
|
+
gridOrigin?: [number, number];
|
|
33
|
+
/**
|
|
34
|
+
* Maximum candidate cells tested. Coarser spacing is chosen automatically
|
|
35
|
+
* when the requested lattice would exceed this guard. @default 25000
|
|
36
|
+
*/
|
|
37
|
+
maxSamples?: number;
|
|
38
|
+
/** Exclude source features before their projected bounds are sampled. */
|
|
39
|
+
featureFilter?: (feature: GeoJSON.Feature, index: number) => boolean;
|
|
40
|
+
/** Exclude retained dots after feature attribution. */
|
|
41
|
+
dotFilter?: (datum: GeographicDotGridDatum, index: number) => boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface GeographicDotGridConfig extends GeographicDotGridSampleOptions {
|
|
44
|
+
/** Geometry emitted for each occupied lattice cell. @default "circle" */
|
|
45
|
+
shape?: GeographicDotGridShape;
|
|
46
|
+
/** Radius in pixels. Overrides radiusRatio. */
|
|
47
|
+
dotRadius?: number;
|
|
48
|
+
/** Radius as a fraction of cellSize. @default 0.24 */
|
|
49
|
+
radiusRatio?: number;
|
|
50
|
+
/** Direct fill field/function. categoryAccessor + the chart palette is used otherwise. */
|
|
51
|
+
fillAccessor?: GeographicDotGridAccessor;
|
|
52
|
+
categoryAccessor?: GeographicDotGridAccessor;
|
|
53
|
+
/** Additional per-dot style. */
|
|
54
|
+
markStyle?: Style | ((datum: GeographicDotGridDatum, index: number) => Style);
|
|
55
|
+
/** Draw faint source boundaries over the dot field. @default false */
|
|
56
|
+
showOutline?: boolean;
|
|
57
|
+
outlineStyle?: Style;
|
|
58
|
+
}
|
|
59
|
+
interface GeographicDotGridSampleResult {
|
|
60
|
+
dots: GeographicDotGridDatum[];
|
|
61
|
+
cellSize: number;
|
|
62
|
+
features: GeoJSON.Feature[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Sample fitted geographic polygons onto a chart-space lattice.
|
|
66
|
+
*
|
|
67
|
+
* Each candidate cell center is inverted through the active projection and
|
|
68
|
+
* retained only when it falls inside a source feature. The result is useful
|
|
69
|
+
* independently of React for inspecting density or composing custom layouts.
|
|
70
|
+
*/
|
|
71
|
+
export declare function sampleGeographicDotGrid(areas: GeoJSON.Feature[], scales: Pick<GeoScales, "geoPath" | "invertedPoint">, dimensions: {
|
|
72
|
+
width: number;
|
|
73
|
+
height: number;
|
|
74
|
+
}, options?: GeographicDotGridSampleOptions): GeographicDotGridSampleResult;
|
|
75
|
+
/**
|
|
76
|
+
* Polygon-to-lattice mask for `GeoCustomChart`.
|
|
77
|
+
*
|
|
78
|
+
* Unlike a tile cartogram, this retains the projected land silhouette: every
|
|
79
|
+
* occupied screen-space grid cell becomes a small circle, square, or hexagon.
|
|
80
|
+
*/
|
|
81
|
+
export declare const geographicDotGridLayout: GeoCustomLayout<GeographicDotGridConfig>;
|
|
82
|
+
export {};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import type { GeoCustomLayout } from "../stream/geoCustomLayout";
|
|
3
|
+
import type { Style } from "../stream/types";
|
|
4
|
+
export type GeographicGridShape = "circle" | "square" | "hexagon";
|
|
5
|
+
export type GeographicGridSource = "auto" | "areas" | "points";
|
|
6
|
+
export interface GeographicGridInput<T = Datum> {
|
|
7
|
+
datum: T;
|
|
8
|
+
/** Source-space x coordinate. Longitude or projected x both work. */
|
|
9
|
+
x: number;
|
|
10
|
+
/** Source-space y coordinate. Latitude or projected y both work. */
|
|
11
|
+
y: number;
|
|
12
|
+
}
|
|
13
|
+
export interface GridifiedGeographicPoint<T = Datum> extends GeographicGridInput<T> {
|
|
14
|
+
row: number;
|
|
15
|
+
column: number;
|
|
16
|
+
}
|
|
17
|
+
export interface GridifyGeographicPointsOptions {
|
|
18
|
+
/** Number of grid columns. Inferred from count and aspect ratio by default. */
|
|
19
|
+
columns?: number;
|
|
20
|
+
/** Number of grid rows. Inferred from count and occupancy by default. */
|
|
21
|
+
rows?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Target fraction of grid cells occupied when rows are inferred.
|
|
24
|
+
* Extra cells preserve coastline/continental whitespace. @default 0.72
|
|
25
|
+
*/
|
|
26
|
+
occupancy?: number;
|
|
27
|
+
/** Width / height of the intended display. @default 1.8 */
|
|
28
|
+
aspectRatio?: number;
|
|
29
|
+
}
|
|
30
|
+
type GridAccessor<T> = string | ((datum: T) => unknown);
|
|
31
|
+
export interface GeographicGridConfig {
|
|
32
|
+
/** Prefer area features, point rows, or whichever source is populated. @default "auto" */
|
|
33
|
+
source?: GeographicGridSource;
|
|
34
|
+
/**
|
|
35
|
+
* Explicit grid placement. When both accessors return finite values, the
|
|
36
|
+
* authored table is used instead of automatic geographic gridification.
|
|
37
|
+
*/
|
|
38
|
+
rowAccessor?: GridAccessor<Datum>;
|
|
39
|
+
columnAccessor?: GridAccessor<Datum>;
|
|
40
|
+
/** Geographic point accessors used by automatic point gridification. */
|
|
41
|
+
longitudeAccessor?: GridAccessor<Datum>;
|
|
42
|
+
latitudeAccessor?: GridAccessor<Datum>;
|
|
43
|
+
idAccessor?: GridAccessor<Datum>;
|
|
44
|
+
labelAccessor?: GridAccessor<Datum>;
|
|
45
|
+
categoryAccessor?: GridAccessor<Datum>;
|
|
46
|
+
/**
|
|
47
|
+
* Optional quantitative size encoding. Mark area is proportional to this
|
|
48
|
+
* value; omit it for equal-area geographic units.
|
|
49
|
+
*/
|
|
50
|
+
sizeAccessor?: GridAccessor<Datum>;
|
|
51
|
+
/** Explicit size domain. Inferred from finite values by default. */
|
|
52
|
+
sizeDomain?: [number, number];
|
|
53
|
+
/**
|
|
54
|
+
* Minimum/maximum mark radius as fractions of the available cell radius.
|
|
55
|
+
* @default [0.36, 1]
|
|
56
|
+
*/
|
|
57
|
+
sizeRange?: [number, number];
|
|
58
|
+
/** Direct fill field/function. categoryAccessor + the chart palette is used otherwise. */
|
|
59
|
+
fillAccessor?: GridAccessor<Datum>;
|
|
60
|
+
/** Additional per-mark style. */
|
|
61
|
+
markStyle?: Style | ((datum: Datum, index: number) => Style);
|
|
62
|
+
/** Mark geometry. @default "circle" */
|
|
63
|
+
shape?: GeographicGridShape;
|
|
64
|
+
/** Grid columns for automatic placement. */
|
|
65
|
+
columns?: number;
|
|
66
|
+
/** Grid rows for automatic placement. */
|
|
67
|
+
rows?: number;
|
|
68
|
+
/** Target automatic-grid occupancy. @default 0.72 */
|
|
69
|
+
occupancy?: number;
|
|
70
|
+
/** Fraction of each cell reserved between marks. @default 0.12 */
|
|
71
|
+
cellPadding?: number;
|
|
72
|
+
/** Pixel inset around the complete grid. @default 8 */
|
|
73
|
+
layoutPadding?: number;
|
|
74
|
+
/** Render labels over marks. @default true */
|
|
75
|
+
showLabels?: boolean;
|
|
76
|
+
labelColor?: string;
|
|
77
|
+
labelFontSize?: number;
|
|
78
|
+
labelFontFamily?: string;
|
|
79
|
+
labelFontWeight?: number | string;
|
|
80
|
+
/** Maximum visible label length. @default 4 */
|
|
81
|
+
maxLabelLength?: number;
|
|
82
|
+
/** Exclude records before placement. */
|
|
83
|
+
filter?: (datum: Datum, index: number) => boolean;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Snap geographic/projected points to unique cells while preserving their
|
|
87
|
+
* coarse relative position. Edge points claim cells first, leaving central
|
|
88
|
+
* clusters to absorb most of the unavoidable displacement.
|
|
89
|
+
*/
|
|
90
|
+
export declare function gridifyGeographicPoints<T>(input: GeographicGridInput<T>[], options?: GridifyGeographicPointsOptions): GridifiedGeographicPoint<T>[];
|
|
91
|
+
/**
|
|
92
|
+
* Geographic table/cartogram layout for `GeoCustomChart`.
|
|
93
|
+
*
|
|
94
|
+
* It accepts either authored row/column positions (state tile grids and other
|
|
95
|
+
* known cartograms) or automatically gridifies projected point/area centroids.
|
|
96
|
+
* Every result remains a native Geo scene node, retaining canvas rendering,
|
|
97
|
+
* SSR, hit testing, keyboard navigation, tooltips, and shared selection.
|
|
98
|
+
*/
|
|
99
|
+
export declare const geographicGridLayout: GeoCustomLayout<GeographicGridConfig>;
|
|
100
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deterministic one-dimensional layout primitives shared by ordered bands,
|
|
3
|
+
* lanes, and layered graphs. The helpers are deliberately geometry-agnostic:
|
|
4
|
+
* callers provide relations, silhouettes, and cost functions while the kit
|
|
5
|
+
* owns the guarded search and separation invariants.
|
|
6
|
+
*/
|
|
7
|
+
export interface MinGapPlacementOptions {
|
|
8
|
+
/** Preferred coordinate for each item, in order. */
|
|
9
|
+
desired: readonly number[];
|
|
10
|
+
/** Minimum distance between item i and i + 1. */
|
|
11
|
+
minGaps: readonly number[];
|
|
12
|
+
/** Optional least-squares weight per desired coordinate. */
|
|
13
|
+
weights?: readonly number[];
|
|
14
|
+
/** Optional lower bound for the first coordinate. */
|
|
15
|
+
min?: number;
|
|
16
|
+
/** Optional upper bound for the last coordinate. */
|
|
17
|
+
max?: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Least-squares placement with fixed order and per-pair minimum gaps.
|
|
21
|
+
*
|
|
22
|
+
* The gap constraints are removed with cumulative offsets, then weighted
|
|
23
|
+
* isotonic regression (pool-adjacent-violators) solves the remaining
|
|
24
|
+
* non-decreasing placement. Bounds apply to the whole ordered sequence.
|
|
25
|
+
*/
|
|
26
|
+
export declare function placeWithMinGap(options: MinGapPlacementOptions): number[];
|
|
27
|
+
export interface SilhouetteSample {
|
|
28
|
+
/** Position along the independent axis (time, layer, or another index). */
|
|
29
|
+
at: number;
|
|
30
|
+
/** Extent before the band's centerline (top for a vertical lane). */
|
|
31
|
+
before: number;
|
|
32
|
+
/** Extent after the band's centerline (bottom for a vertical lane). */
|
|
33
|
+
after: number;
|
|
34
|
+
}
|
|
35
|
+
export interface PackedBands {
|
|
36
|
+
/** Minimum silhouette clearance between each adjacent pair. */
|
|
37
|
+
adjacentClearance: number[];
|
|
38
|
+
/** Center coordinates starting at zero, including `gap`. */
|
|
39
|
+
positions: number[];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Pack ordered bands using their sampled silhouettes. Adjacent clearance is
|
|
43
|
+
* the worst simultaneous `lower.after + upper.before` extent, so peaks that
|
|
44
|
+
* occur at different positions can nest without overlap.
|
|
45
|
+
*/
|
|
46
|
+
export declare function packBandsBySilhouette(bands: readonly (readonly SilhouetteSample[])[], gap?: number): PackedBands;
|
|
47
|
+
export interface WeightedOrderRelation<T> {
|
|
48
|
+
source: T;
|
|
49
|
+
target: T;
|
|
50
|
+
weight?: number;
|
|
51
|
+
}
|
|
52
|
+
export interface GuardedOrderOptions<T> {
|
|
53
|
+
passes?: number;
|
|
54
|
+
/** Stable, locale-independent tie-break supplied by the caller. */
|
|
55
|
+
compare?: (a: T, b: T) => number;
|
|
56
|
+
/** Hard cap on evaluated candidates; deterministic unlike a wall-clock cap. */
|
|
57
|
+
maxEvaluations?: number;
|
|
58
|
+
}
|
|
59
|
+
/** Guarded weighted-barycenter sweeps that retain the best observed order. */
|
|
60
|
+
export declare function orderByBarycenter<T>(input: readonly T[], relations: readonly WeightedOrderRelation<T>[], cost: (order: readonly T[]) => number, options?: GuardedOrderOptions<T>): T[];
|
|
61
|
+
/** Guarded adjacent-transpose refinement under a caller-provided cost. */
|
|
62
|
+
export declare function refineByAdjacentSwaps<T>(input: readonly T[], cost: (order: readonly T[]) => number, options?: GuardedOrderOptions<T>): T[];
|
|
63
|
+
/** Exhaustive Heap-permutation ordering for small item sets. */
|
|
64
|
+
export declare function orderExactSmall<T>(input: readonly T[], cost: (order: readonly T[]) => number, options?: Pick<GuardedOrderOptions<T>, "maxEvaluations"> & {
|
|
65
|
+
maxItems?: number;
|
|
66
|
+
}): T[];
|
|
67
|
+
/** Count endpoint-order inversions, optionally filtering candidate pairs. */
|
|
68
|
+
export declare function countPairwiseCrossings<T>(items: readonly T[], endpoints: (item: T) => readonly [number, number], comparePair?: (a: T, b: T) => boolean): number;
|
|
@@ -120,3 +120,5 @@ export type { BodyGroupSpec, BodyGroupSpecOptions, ProcessMembraneDef, ProcessRe
|
|
|
120
120
|
export type { RegionCountBucket, RegionCountMap } from "./processAggregates";
|
|
121
121
|
export type { ProcessVolumePoint, ProcessVolumePolygon, ProcessVolumePolygonRole } from "./processVolumeGeometry";
|
|
122
122
|
export type { ProcessJourneyEntityState, ProcessJourneyLedger, ProcessJourneyRow, ProcessJourneyStage, ProcessJourneyUpdateOptions } from "./processJourney";
|
|
123
|
+
export { describePhysicsStageGeography, physicsChargePoint, physicsDestination, physicsStageColliders, physicsStageGeography } from "./physicsStageGeography";
|
|
124
|
+
export type { PhysicsDestinationZone, PhysicsStageColliderOptions, PhysicsStageGeography, PhysicsStageGeographyOptions, PhysicsZone } from "./physicsStageGeography";
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Physics stage geography — the shared spatial vocabulary every physics chart
|
|
3
|
+
* has been re-inventing.
|
|
4
|
+
*
|
|
5
|
+
* ## The observation
|
|
6
|
+
*
|
|
7
|
+
* Every physics chart in Semiotic is the same three-zone apparatus under a
|
|
8
|
+
* different local name:
|
|
9
|
+
*
|
|
10
|
+
* | chart | charge | apparatus | destinations |
|
|
11
|
+
* |----------------|----------------|----------------------|-----------------------|
|
|
12
|
+
* | Galton | hopper | peg field | bins |
|
|
13
|
+
* | Pile | drop point | tubes | category piles |
|
|
14
|
+
* | CollisionSwarm | x positions | collision relaxation | settled x positions |
|
|
15
|
+
* | EventDrop | arrivals | watermark barrier | windows + late gutter |
|
|
16
|
+
* | ProcessFlow | arrival | capacitated stages | absorb stages |
|
|
17
|
+
* | Gauntlet | start | gates | socket / graveyard |
|
|
18
|
+
* | Crucible | charge | phases | outlets |
|
|
19
|
+
* | ChainReaction | completed task | dependency sockets | armed tasks |
|
|
20
|
+
*
|
|
21
|
+
* They also all conserve something, which is what the settled ledger checks.
|
|
22
|
+
* `GauntletLayout` calls its zones `startX`/`socketX`/`graveyardX`;
|
|
23
|
+
* `CrucibleLayout` calls them `chamber`/`mouth`/`outlets`; Galton and Pile
|
|
24
|
+
* independently wrote the *same* lane formula
|
|
25
|
+
* (`plot.x + (index + 0.5) * plot.width / count`). Naming the geography once
|
|
26
|
+
* means the tenth physics chart costs less than the first.
|
|
27
|
+
*
|
|
28
|
+
* ## Scope
|
|
29
|
+
*
|
|
30
|
+
* This is authoring vocabulary, not a retrofit. Existing charts keep their own
|
|
31
|
+
* layouts (their SSR baselines depend on them); `physicsStageGeography.test.ts`
|
|
32
|
+
* proves this builder reproduces their lane math, so a new chart can adopt it
|
|
33
|
+
* and land in the same visual family. Reach for it when building a new physics
|
|
34
|
+
* chart or a `PhysicsCustomChart` layout.
|
|
35
|
+
*/
|
|
36
|
+
import type { PhysicsColliderSpec } from "../stream/physics/PhysicsKernel";
|
|
37
|
+
export interface PhysicsZone {
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
}
|
|
43
|
+
export interface PhysicsDestinationZone extends PhysicsZone {
|
|
44
|
+
id: string;
|
|
45
|
+
label: string;
|
|
46
|
+
/** Reading order along the flow axis. */
|
|
47
|
+
order: number;
|
|
48
|
+
/** Center of the zone — where a settled pile or bin count anchors. */
|
|
49
|
+
centerX: number;
|
|
50
|
+
centerY: number;
|
|
51
|
+
}
|
|
52
|
+
export interface PhysicsStageGeography {
|
|
53
|
+
width: number;
|
|
54
|
+
height: number;
|
|
55
|
+
/** Direction the charge travels toward its destinations. */
|
|
56
|
+
flow: "down" | "right";
|
|
57
|
+
/** Where bodies enter the world. */
|
|
58
|
+
charge: PhysicsZone;
|
|
59
|
+
/** Where the apparatus acts: pegs, gates, phases, stages, barriers. */
|
|
60
|
+
apparatus: PhysicsZone;
|
|
61
|
+
/** Where bodies come to rest, in reading order. */
|
|
62
|
+
destinations: PhysicsDestinationZone[];
|
|
63
|
+
/** Strip reserved for the settled projection. Bodies never enter it. */
|
|
64
|
+
projection: PhysicsZone;
|
|
65
|
+
}
|
|
66
|
+
export interface PhysicsStageGeographyOptions {
|
|
67
|
+
size: [number, number];
|
|
68
|
+
/**
|
|
69
|
+
* Destination bins/lanes/outlets. A number produces `bin-0…bin-n` ids, which
|
|
70
|
+
* is the common case for a histogram-shaped board.
|
|
71
|
+
*/
|
|
72
|
+
destinations: number | ReadonlyArray<{
|
|
73
|
+
id: string;
|
|
74
|
+
label?: string;
|
|
75
|
+
}>;
|
|
76
|
+
/** Charge travels down (boards, piles) or right (process lanes, routes). */
|
|
77
|
+
flow?: "down" | "right";
|
|
78
|
+
/** Outer inset in px. */
|
|
79
|
+
padding?: number | {
|
|
80
|
+
top?: number;
|
|
81
|
+
right?: number;
|
|
82
|
+
bottom?: number;
|
|
83
|
+
left?: number;
|
|
84
|
+
};
|
|
85
|
+
/** Fraction of the flow axis given to the entry zone. */
|
|
86
|
+
chargeExtent?: number;
|
|
87
|
+
/** Fraction of the flow axis given to the settled destinations. */
|
|
88
|
+
destinationExtent?: number;
|
|
89
|
+
/** Fraction of the flow axis reserved for the projection strip. */
|
|
90
|
+
projectionExtent?: number;
|
|
91
|
+
/**
|
|
92
|
+
* Fraction of each destination lane the body-holding channel occupies. `1`
|
|
93
|
+
* means bins touch (a histogram); lower values leave visible gutters (tubes).
|
|
94
|
+
*/
|
|
95
|
+
channelRatio?: number;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Build the charge → apparatus → destinations geography for a physics stage.
|
|
99
|
+
*
|
|
100
|
+
* The cross-axis lane math matches what Galton bins and Pile tubes already use,
|
|
101
|
+
* so a chart built on this lands in the same visual family as the existing ones.
|
|
102
|
+
*/
|
|
103
|
+
export declare function physicsStageGeography(options: PhysicsStageGeographyOptions): PhysicsStageGeography;
|
|
104
|
+
/** Look a destination up by id. */
|
|
105
|
+
export declare function physicsDestination(geography: PhysicsStageGeography, id: string): PhysicsDestinationZone | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Where the nth of `count` bodies should enter the charge zone, spread evenly
|
|
108
|
+
* across it so a burst does not spawn co-located and explode apart.
|
|
109
|
+
*/
|
|
110
|
+
export declare function physicsChargePoint(geography: PhysicsStageGeography, index: number, count: number): {
|
|
111
|
+
x: number;
|
|
112
|
+
y: number;
|
|
113
|
+
};
|
|
114
|
+
export interface PhysicsStageColliderOptions {
|
|
115
|
+
/** Collider thickness in px. */
|
|
116
|
+
thickness?: number;
|
|
117
|
+
/** Prefix for generated collider ids. */
|
|
118
|
+
idPrefix?: string;
|
|
119
|
+
/** Add the outer boundary walls in addition to the destination dividers. */
|
|
120
|
+
walls?: boolean;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Colliders that make the destinations physically real: a floor plus one
|
|
124
|
+
* divider between each pair of adjacent destinations, so bodies land in the bin
|
|
125
|
+
* the data says they should. This is the geometry every board/pile chart writes
|
|
126
|
+
* by hand.
|
|
127
|
+
*/
|
|
128
|
+
export declare function physicsStageColliders(geography: PhysicsStageGeography, options?: PhysicsStageColliderOptions): PhysicsColliderSpec[];
|
|
129
|
+
/**
|
|
130
|
+
* One sentence naming the apparatus, for accessible descriptions and agent
|
|
131
|
+
* grounding. The reading protocol should be stateable in words, not only drawn.
|
|
132
|
+
*/
|
|
133
|
+
export declare function describePhysicsStageGeography(geography: PhysicsStageGeography, nouns?: {
|
|
134
|
+
charge?: string;
|
|
135
|
+
apparatus?: string;
|
|
136
|
+
destination?: string;
|
|
137
|
+
}): string;
|
|
@@ -46,12 +46,13 @@ export { RealtimeHeatmap } from "./charts/realtime/RealtimeHeatmap";
|
|
|
46
46
|
export { GaltonBoardChart } from "./charts/physics/GaltonBoardChart";
|
|
47
47
|
export { EventDropChart } from "./charts/physics/EventDropChart";
|
|
48
48
|
export { PhysicsCustomChart } from "./charts/physics/PhysicsCustomChart";
|
|
49
|
-
export {
|
|
49
|
+
export { UnitPileChart } from "./charts/physics/UnitPileChart";
|
|
50
50
|
export { CollisionSwarmChart } from "./charts/physics/CollisionSwarmChart";
|
|
51
|
-
export {
|
|
51
|
+
export { PacketFlowChart } from "./charts/physics/PacketFlowChart";
|
|
52
52
|
export { ProcessFlowChart } from "./charts/physics/ProcessFlowChart";
|
|
53
53
|
export { GauntletChart } from "./charts/physics/GauntletChart";
|
|
54
54
|
export { CrucibleChart } from "./charts/physics/CrucibleChart";
|
|
55
|
+
export { ChainReactionChart } from "./charts/physics/ChainReactionChart";
|
|
55
56
|
export { BigNumber } from "./charts/value/BigNumber";
|
|
56
57
|
export { TooltipProvider } from "./store/TooltipStore";
|
|
57
58
|
export { MultiLineTooltip } from "./Tooltip/Tooltip";
|
|
@@ -172,7 +173,7 @@ export type { AnnotationProvenance, AnnotationSource, AnnotationActorKind, Annot
|
|
|
172
173
|
export { useConversationArc, summarizeArc } from "./ai/useConversationArc";
|
|
173
174
|
export type { UseConversationArcOptions, UseConversationArcResult, ConversationArcSummary } from "./ai/useConversationArc";
|
|
174
175
|
export { enableConversationArc, disableConversationArc, getConversationArcStore, subscribeToConversationArcChange, registerConversationArcSink, createLocalStorageConversationArcSink, createIndexedDBConversationArcSink, createWebhookConversationArcSink, loadConversationArc, replayConversationArc, recordAudienceChange, recordAnnotationStatusChange } from "./ai/conversationArc";
|
|
175
|
-
export type { ConversationArcEvent, ConversationArcEventType, ConversationArcEventInput, ConversationArcStore, ConversationArcListener, ConversationArcSink, ConversationArcStorageLike, EnableConversationArcOptions, LoadConversationArcOptions, LocalStorageConversationArcSinkOptions, IndexedDBConversationArcSinkOptions, ConversationArcWebhookFetch, WebhookConversationArcSinkOptions, SuggestionShownEvent, SuggestionChosenEvent, AudienceSetEvent, ChartRenderedEvent, ChartEditedEvent, ChartReplacedEvent, ChartExportedEvent, ChartAbandonedEvent, InterrogationAskedEvent, InterrogationAnsweredEvent, NavNodeFocusedEvent, NavBranchExpandedEvent, AnnotationStatusChangedEvent } from "./ai/conversationArc";
|
|
176
|
+
export type { ConversationArcEvent, ConversationArcEventType, ConversationArcEventInput, ConversationArcStore, ConversationArcListener, ConversationArcSink, ConversationArcStorageLike, EnableConversationArcOptions, LoadConversationArcOptions, LocalStorageConversationArcSinkOptions, IndexedDBConversationArcSinkOptions, ConversationArcWebhookFetch, WebhookConversationArcSinkOptions, SuggestionShownEvent, SuggestionChosenEvent, AudienceSetEvent, ChartRenderedEvent, ChartEditedEvent, ChartReplacedEvent, ChartExportedEvent, ChartAbandonedEvent, InterrogationAskedEvent, InterrogationAnsweredEvent, NavNodeFocusedEvent, NavBranchExpandedEvent, AnnotationStatusChangedEvent, ProposalRefusedEvent, RenderEvidenceEvent } from "./ai/conversationArc";
|
|
176
177
|
export { useChartObserver } from "./store/useObservation";
|
|
177
178
|
export type { UseChartObserverOptions, UseChartObserverResult } from "./store/useObservation";
|
|
178
179
|
export type { ChartObservation, OnObservationCallback, HoverObservation, HoverEndObservation, BrushObservation, BrushEndObservation, SelectionObservation, SelectionEndObservation, ClickObservation, ClickEndObservation, ObservationInputType, FocusObservation, ActivateObservation, AnnotationActivateObservation } from "./store/ObservationStore";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure experimental VACP 0.1.0 entry point.
|
|
3
|
+
*
|
|
4
|
+
* This subpath contains no React component or client directive, so server,
|
|
5
|
+
* headless, and non-React hosts can construct the semantic bridge without
|
|
6
|
+
* pulling in the browser-only experimental facade.
|
|
7
|
+
*/
|
|
8
|
+
export { SEMIOTIC_VACP_ACTIVATE_NAVIGATION_ACTION as unstable_SEMIOTIC_VACP_ACTIVATE_NAVIGATION_ACTION, SEMIOTIC_VACP_CLEAR_SELECTION_ACTION as unstable_SEMIOTIC_VACP_CLEAR_SELECTION_ACTION, SEMIOTIC_VACP_INSPECT_DATA_ACTION as unstable_SEMIOTIC_VACP_INSPECT_DATA_ACTION, SEMIOTIC_VACP_SET_INTERVAL_SELECTION_ACTION as unstable_SEMIOTIC_VACP_SET_INTERVAL_SELECTION_ACTION, SEMIOTIC_VACP_SET_POINT_SELECTION_ACTION as unstable_SEMIOTIC_VACP_SET_POINT_SELECTION_ACTION, createSemioticVACPBridge as unstable_createSemioticVACPBridge, installSemioticVACPBridge as unstable_installSemioticVACPBridge } from "./ai/vacpAdapter";
|
|
9
|
+
export { VACP_DATA_SCHEMA_ACTION as unstable_VACP_DATA_SCHEMA_ACTION, VACP_SCHEMA_VERSION as unstable_VACP_SCHEMA_VERSION } from "./ai/vacpTypes";
|
|
10
|
+
export type { CreateSemioticVACPBridgeOptions as UnstableCreateSemioticVACPBridgeOptions, InstallSemioticVACPBridgeOptions as UnstableInstallSemioticVACPBridgeOptions, SemioticVACPBridge as UnstableSemioticVACPBridge, SemioticVACPBridgeInstallation as UnstableSemioticVACPBridgeInstallation, SemioticVACPChart as UnstableSemioticVACPChart, SemioticVACPCustomAction as UnstableSemioticVACPCustomAction, SemioticVACPDataAccess as UnstableSemioticVACPDataAccess, SemioticVACPNavigationBinding as UnstableSemioticVACPNavigationBinding, SemioticVACPRefs as UnstableSemioticVACPRefs, SemioticVACPSelectionActions as UnstableSemioticVACPSelectionActions, SemioticVACPSelectionBinding as UnstableSemioticVACPSelectionBinding, SemioticVACPSelectionMode as UnstableSemioticVACPSelectionMode } from "./ai/vacpAdapter";
|
|
11
|
+
export type { VacpActionCall as UnstableVacpActionCall, VacpActionDescriptor as UnstableVacpActionDescriptor, VacpActionResult as UnstableVacpActionResult, VacpCapabilitiesRequest as UnstableVacpCapabilitiesRequest, VacpCapabilitiesSnapshot as UnstableVacpCapabilitiesSnapshot, VacpDataSchemaColumn as UnstableVacpDataSchemaColumn, VacpDataSchemaDetail as UnstableVacpDataSchemaDetail, VacpDataSchemaParams as UnstableVacpDataSchemaParams, VacpDataSchemaResult as UnstableVacpDataSchemaResult, VacpEdge as UnstableVacpEdge, VacpEdgeKind as UnstableVacpEdgeKind, VacpGraph as UnstableVacpGraph, VacpLayer as UnstableVacpLayer, VacpNode as UnstableVacpNode, VacpNodeKind as UnstableVacpNodeKind, VacpRef as UnstableVacpRef, VacpSchemaVersion as UnstableVacpSchemaVersion, VacpStateDeltaPayload as UnstableVacpStateDeltaPayload, VacpStateRequest as UnstableVacpStateRequest, VacpStateSnapshot as UnstableVacpStateSnapshot, VacpStateUpdate as UnstableVacpStateUpdate, VacpWindowBridge as UnstableVacpWindowBridge } from "./ai/vacpTypes";
|
|
@@ -12,7 +12,10 @@ export { gofishIRExamples as unstable_gofishIRExamples, flowerIR as unstable_gof
|
|
|
12
12
|
export type { GofishIRExample as UnstableGofishIRExample } from "./recipes/gofishIRExamples";
|
|
13
13
|
export { DEFAULT_DATA_PITFALLS_ANNOTATION_PALETTE as unstable_DEFAULT_DATA_PITFALLS_ANNOTATION_PALETTE, buildDataPitfallsAnnotationBridge as unstable_buildDataPitfallsAnnotationBridge, buildDataPitfallsBridge as unstable_buildDataPitfallsBridge, buildDataPitfallsNotificationBridge as unstable_buildDataPitfallsNotificationBridge, dataPitfallsFindingToAnnotation as unstable_dataPitfallsFindingToAnnotation, dataPitfallsFindingToNotification as unstable_dataPitfallsFindingToNotification, toDataPitfallsAnnotations as unstable_toDataPitfallsAnnotations, toDataPitfallsChain as unstable_toDataPitfallsChain, toDataPitfallsNotifications as unstable_toDataPitfallsNotifications } from "./ai/dataPitfallsBridge";
|
|
14
14
|
export type { DataPitfallsAnnotationBridge as UnstableDataPitfallsAnnotationBridge, DataPitfallsAnnotationBridgeOptions as UnstableDataPitfallsAnnotationBridgeOptions, DataPitfallsAnnotationType as UnstableDataPitfallsAnnotationType, DataPitfallsBridgeOptions as UnstableDataPitfallsBridgeOptions, DataPitfallsBridgeResult as UnstableDataPitfallsBridgeResult, DataPitfallsChainInput as UnstableDataPitfallsChainInput, DataPitfallsChainStage as UnstableDataPitfallsChainStage, DataPitfallsChartNotification as UnstableDataPitfallsChartNotification, DataPitfallsDocumentInput as UnstableDataPitfallsDocumentInput, DataPitfallsFinding as UnstableDataPitfallsFinding, DataPitfallsImageInput as UnstableDataPitfallsImageInput, DataPitfallsImageMediaType as UnstableDataPitfallsImageMediaType, DataPitfallsImageSource as UnstableDataPitfallsImageSource, DataPitfallsInputKind as UnstableDataPitfallsInputKind, DataPitfallsNotificationBridge as UnstableDataPitfallsNotificationBridge, DataPitfallsNotificationBridgeOptions as UnstableDataPitfallsNotificationBridgeOptions, DataPitfallsNotificationLevel as UnstableDataPitfallsNotificationLevel, DataPitfallsNotificationMessage as UnstableDataPitfallsNotificationMessage, DataPitfallsRenderedChart as UnstableDataPitfallsRenderedChart, DataPitfallsReport as UnstableDataPitfallsReport, DataPitfallsSemioticAnnotation as UnstableDataPitfallsSemioticAnnotation, DataPitfallsSeverity as UnstableDataPitfallsSeverity, DataPitfallsSlideContent as UnstableDataPitfallsSlideContent, DataPitfallsSlidesInput as UnstableDataPitfallsSlidesInput, DataPitfallsSingleArtifactInput as UnstableDataPitfallsSingleArtifactInput, DataPitfallsTextInput as UnstableDataPitfallsTextInput } from "./ai/dataPitfallsBridge";
|
|
15
|
-
export
|
|
15
|
+
export * from "./semiotic-experimental-vacp";
|
|
16
|
+
export { SemioticVACPBridge as unstable_SemioticVACPBridge } from "./ai/SemioticVACPBridge";
|
|
17
|
+
export type { SemioticVACPBridgeProps as UnstableSemioticVACPBridgeProps } from "./ai/SemioticVACPBridge";
|
|
18
|
+
export { IDID_SPEC_VERSION, BUILTIN_INTENT_IDS as unstable_BUILTIN_INTENT_IDS, validatePortableCapability as unstable_validatePortableCapability, validatePortableAudienceProfile as unstable_validatePortableAudienceProfile, validatePortableAnnotation as unstable_validatePortableAnnotation, bindPortableCapability as unstable_bindPortableCapability, toVegaLite as unstable_toVegaLite, toVegaLiteResult as unstable_toVegaLiteResult, fromVegaLiteResult as unstable_fromVegaLiteResult, unwrapIDIDEnrichedVegaLiteSpec as unstable_unwrapIDIDEnrichedVegaLiteSpec, attachIDID as unstable_attachIDID, readIDID as unstable_readIDID, attachIDIDAnnotations as unstable_attachIDIDAnnotations, readIDIDAnnotations as unstable_readIDIDAnnotations } from "./data/portability";
|
|
16
19
|
export type { FromVegaLiteOptions as UnstableFromVegaLiteOptions, PortabilityDiagnostic as UnstablePortabilityDiagnostic, PortabilityDiagnosticSeverity as UnstablePortabilityDiagnosticSeverity, PortabilityExportResult as UnstablePortabilityExportResult, PortabilityImportResult as UnstablePortabilityImportResult, PortabilityLoss as UnstablePortabilityLoss, PortabilityProvenance as UnstablePortabilityProvenance, PortabilityResult as UnstablePortabilityResult, PortabilityStatus as UnstablePortabilityStatus, ToVegaLiteOptions as UnstableToVegaLiteOptions, VegaLiteExportResult as UnstableVegaLiteExportResult, VegaLiteImportResult as UnstableVegaLiteImportResult, } from "./data/portability";
|
|
17
20
|
export { fromObservablePlot as unstable_fromObservablePlot } from "./data/fromObservablePlot";
|
|
18
21
|
export { fromMermaid as unstable_fromMermaid } from "./data/fromMermaid";
|
|
@@ -42,8 +45,8 @@ export type { PhysicsBodySelection as UnstablePhysicsBodySelection, PhysicsBodyS
|
|
|
42
45
|
export type { PhysicsCustomChartProps as UnstablePhysicsCustomChartProps, PhysicsCustomLayout as UnstablePhysicsCustomLayout, PhysicsCustomLayoutContext as UnstablePhysicsCustomLayoutContext, PhysicsCustomLayoutResult as UnstablePhysicsCustomLayoutResult, PhysicsCustomSpawnDatumResult as UnstablePhysicsCustomSpawnDatumResult } from "./charts/physics/PhysicsCustomChart";
|
|
43
46
|
export type { PhysicsExecution as UnstablePhysicsExecution } from "./stream/physics/PhysicsWorkerProtocol";
|
|
44
47
|
export type { PhysicsAnnotationAxis as UnstablePhysicsAnnotationAxis, PhysicsAnnotationColliderOptions as UnstablePhysicsAnnotationColliderOptions, PhysicsAnnotationRole as UnstablePhysicsAnnotationRole, PhysicsAnnotationSummary as UnstablePhysicsAnnotationSummary, PhysicsBodyAnnotation as UnstablePhysicsBodyAnnotation, PhysicsResolvedBodyAnnotation as UnstablePhysicsResolvedBodyAnnotation, PhysicsStaticAnnotation as UnstablePhysicsStaticAnnotation } from "./stream/physics/PhysicsAnnotations";
|
|
45
|
-
export type { PhysicsEvidenceBinCount as UnstablePhysicsEvidenceBinCount, PhysicsSettledEvidence as UnstablePhysicsSettledEvidence, PhysicsSettledEvidenceOptions as UnstablePhysicsSettledEvidenceOptions } from "./stream/physics/PhysicsEvidence";
|
|
48
|
+
export type { PhysicsEvidenceBinCount as UnstablePhysicsEvidenceBinCount, PhysicsSettledEvidence as UnstablePhysicsSettledEvidence, PhysicsSettledEvidenceOptions as UnstablePhysicsSettledEvidenceOptions, PhysicsSettledLedger as UnstablePhysicsSettledLedger } from "./stream/physics/PhysicsEvidence";
|
|
46
49
|
export type { PhysicsSettledScene as UnstablePhysicsSettledScene, PhysicsSettledSceneOptions as UnstablePhysicsSettledSceneOptions } from "./stream/physics/PhysicsSettledScene";
|
|
47
50
|
export type { PhysicsSettledSVGOptions as UnstablePhysicsSettledSVGOptions, PhysicsSettledSVGRender as UnstablePhysicsSettledSVGRender } from "./stream/physics/PhysicsSettledSVG";
|
|
48
51
|
export type { PhysicsNavigationTreeOptions as UnstablePhysicsNavigationTreeOptions, PhysicsObservationAnnouncementOptions as UnstablePhysicsObservationAnnouncementOptions, PhysicsProjectionBodySummary as UnstablePhysicsProjectionBodySummary, PhysicsProjectionContainerSpec as UnstablePhysicsProjectionContainerSpec, PhysicsSettledProjectionOptions as UnstablePhysicsSettledProjectionOptions, PhysicsSettledProjectionRow as UnstablePhysicsSettledProjectionRow } from "./stream/physics/PhysicsAccessibility";
|
|
49
|
-
export type { BuiltInIntentId as UnstableBuiltInIntentId, PortableIntentId as UnstablePortableIntentId, PortableChartRubric as UnstablePortableChartRubric, PortableChartVariant as UnstablePortableChartVariant, PortableMobileInteractionCapability as UnstablePortableMobileInteractionCapability, PortableMobileLabelCapability as UnstablePortableMobileLabelCapability, PortableMobileCustomCapability as UnstablePortableMobileCustomCapability, PortableMobileCapability as UnstablePortableMobileCapability, PortableChartCapability as UnstablePortableChartCapability, PortableReceptionModality as UnstablePortableReceptionModality, PortableAudienceTarget as UnstablePortableAudienceTarget, PortableAudienceProfile as UnstablePortableAudienceProfile, PortableAnnotationProvenance as UnstablePortableAnnotationProvenance, PortableAnnotationLifecycle as UnstablePortableAnnotationLifecycle, PortableAnnotated as UnstablePortableAnnotated, ValidationResult as UnstablePortabilityValidationResult, IDIDVegaLiteMeta as UnstableIDIDVegaLiteMeta } from "./data/portability";
|
|
52
|
+
export type { BuiltInIntentId as UnstableBuiltInIntentId, PortableIntentId as UnstablePortableIntentId, PortableChartRubric as UnstablePortableChartRubric, PortableChartVariant as UnstablePortableChartVariant, BoundPortableChartCapability as UnstableBoundPortableChartCapability, PortableCapabilityBindingResult as UnstablePortableCapabilityBindingResult, PortableMobileInteractionCapability as UnstablePortableMobileInteractionCapability, PortableMobileLabelCapability as UnstablePortableMobileLabelCapability, PortableMobileCustomCapability as UnstablePortableMobileCustomCapability, PortableMobileCapability as UnstablePortableMobileCapability, PortableChartCapability as UnstablePortableChartCapability, PortableReceptionModality as UnstablePortableReceptionModality, PortableAudienceTarget as UnstablePortableAudienceTarget, PortableAudienceProfile as UnstablePortableAudienceProfile, PortableAnnotationProvenance as UnstablePortableAnnotationProvenance, PortableAnnotationLifecycle as UnstablePortableAnnotationLifecycle, PortableAnnotated as UnstablePortableAnnotated, ValidationResult as UnstablePortabilityValidationResult, IDIDVegaLiteMeta as UnstableIDIDVegaLiteMeta } from "./data/portability";
|
|
@@ -19,6 +19,10 @@ export type { GlyphSceneNode, SceneAccessibilityMetadata } from "./stream/types"
|
|
|
19
19
|
export type { CategoricalLegendConfig, GradientLegendConfig, GradientLegendValue, LegendGroup, LegendItem, LegendLayout, LegendValue, } from "./types/legendTypes";
|
|
20
20
|
export type { StreamGeoFrameProps, StreamGeoFrameHandle, GeoAreaSceneNode, GeoSceneNode, GeoScales, ProjectionProp, ProjectionName, GraticuleConfig, DistanceCartogramConfig, GeoPipelineConfig } from "./stream/geoTypes";
|
|
21
21
|
export type { GeoCustomLayout, GeoLayoutContext, GeoLayoutResult } from "./stream/geoCustomLayout";
|
|
22
|
+
export { geographicGridLayout, gridifyGeographicPoints, } from "./recipes/geographicGrid";
|
|
23
|
+
export type { GeographicGridConfig, GeographicGridInput, GeographicGridShape, GeographicGridSource, GridifiedGeographicPoint, GridifyGeographicPointsOptions, } from "./recipes/geographicGrid";
|
|
24
|
+
export { geographicDotGridLayout, sampleGeographicDotGrid, } from "./recipes/geographicDotGrid";
|
|
25
|
+
export type { GeographicDotGridAccessor, GeographicDotGridConfig, GeographicDotGridDatum, GeographicDotGridSampleOptions, GeographicDotGridShape, } from "./recipes/geographicDotGrid";
|
|
22
26
|
export type { CustomLayoutFailureDiagnostic, CustomLayoutFailureRecovery, CustomLayoutFamily } from "./stream/customLayoutFailure";
|
|
23
27
|
export type { GeoParticleStyle } from "./stream/GeoParticlePool";
|
|
24
28
|
export { mergeData } from "./geo/mergeData";
|
|
@@ -38,8 +38,8 @@ export type { CirclePackProps } from "./charts/network/CirclePack";
|
|
|
38
38
|
export type { OrbitDiagramProps } from "./charts/network/OrbitDiagram";
|
|
39
39
|
export type { NetworkCustomChartProps } from "./charts/custom/NetworkCustomChart";
|
|
40
40
|
export type { NetworkCustomLayout, NetworkLayoutContext, NetworkLayoutResult, NetworkHtmlMark, } from "./stream/networkCustomLayout";
|
|
41
|
-
export { validateProcessSankey, formatProcessSankeyIssue, } from "./charts/network/processSankey/algorithm";
|
|
42
|
-
export type { ProcessSankeyNode as ProcessSankeyValidatorNode, ProcessSankeyEdge as ProcessSankeyValidatorEdge, ProcessSankeyIssue, } from "./charts/network/processSankey/algorithm";
|
|
41
|
+
export { validateProcessSankey, formatProcessSankeyIssue, diagnoseProcessSankeyLayout, diagnoseProcessSankeyProps, explainProcessSankeyLayout, inventoryAtTime, toProcessSankeyTime, } from "./charts/network/processSankey/algorithm";
|
|
42
|
+
export type { ProcessSankeyNode as ProcessSankeyValidatorNode, ProcessSankeyEdge as ProcessSankeyValidatorEdge, ProcessSankeyIssue, InventoryEdge, InventoryAtTimeOptions, ProcessSankeyTimeLike, } from "./charts/network/processSankey/algorithm";
|
|
43
43
|
export { resolveStyleRules, matchesThreshold, ruleMatches, makeRuleValueResolver, makeNodeRuleContext, composeStyleRules } from "./charts/shared/styleRules";
|
|
44
44
|
export type { StyleRule, StyleRuleStyle, StyleRuleThreshold, StyleRuleContext, StyleRulePredicate } from "./charts/shared/styleRules";
|
|
45
45
|
export { isHatchFill, hatchPatternDef, resolveSvgFill, hatchFillId } from "./charts/shared/hatchFill";
|