semiotic 3.10.0 → 3.10.2
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/README.md +73 -72
- package/ai/artifact-surface-inventory.json +4 -1
- package/ai/componentMetadata.cjs +3 -1
- package/ai/dist/mcp-server.js +47 -46
- package/ai/examples.md +95 -0
- package/ai/reference.md +80 -1
- package/ai/schema.json +7304 -1990
- package/ai/surface-manifest.json +26 -4
- package/ai/task-packets/compare-category-totals.json +7 -53
- package/ai/task-packets/compare-category-totals.md +4 -4
- package/ai/task-packets/correct-published-chart.json +7 -53
- package/ai/task-packets/correct-published-chart.md +4 -4
- package/ai/task-packets/index.json +9 -9
- package/ai/task-packets/update-live-chart.json +8 -54
- package/ai/task-packets/update-live-chart.md +4 -4
- package/dist/c-27DCB5T6.min.js +18 -0
- package/dist/c-2MONF2P6.min.js +1 -0
- package/dist/c-2TW5H5PD.min.js +1 -0
- package/dist/c-3AGX252H.min.js +1 -0
- package/dist/c-3B6JZEZT.min.js +1 -0
- package/dist/c-3BYZXCX3.min.js +4 -0
- package/dist/c-3DIPZJDO.min.js +1 -0
- package/dist/c-3FOUMWLR.min.js +1 -0
- package/dist/c-3NA6I656.min.js +2 -0
- package/dist/c-3OFVBWQY.min.js +1 -0
- package/dist/{c-QA3HMQJP.min.js → c-3PFVJFBK.min.js} +1 -1
- package/dist/c-3PPO7ZJF.min.js +4 -0
- package/dist/c-3YEW2PK6.min.js +1 -0
- package/dist/c-4JKDJUYD.min.js +1 -0
- package/dist/c-4LKK5YWB.min.js +1 -0
- package/dist/c-4MD53L2J.min.js +33 -0
- package/dist/c-4V3CD337.min.js +1 -0
- package/dist/c-4XLHPQTP.min.js +1 -0
- package/dist/c-5NYONM6V.min.js +5 -0
- package/dist/c-6IVBV5NO.min.js +1 -0
- package/dist/c-6ZU3QVLB.min.js +100 -0
- package/dist/c-72CBVNYX.min.js +209 -0
- package/dist/c-7APWCEPL.min.js +1 -0
- package/dist/c-7ASK4WBF.min.js +1 -0
- package/dist/{c-ORLEBW72.min.js → c-7FKPPCGN.min.js} +1 -1
- package/dist/c-7LY46QUI.min.js +41 -0
- package/dist/c-ABMGCCLT.min.js +1 -0
- package/dist/c-AINGQGUN.min.js +1 -0
- package/dist/c-AKLBQMQF.min.js +391 -0
- package/dist/c-AXJ2QI3F.min.js +1 -0
- package/dist/c-BQYD7T4E.min.js +1 -0
- package/dist/{c-V4XMSLC3.min.js → c-BYJJ7EMG.min.js} +1 -1
- package/dist/{c-JO2UGTCP.min.js → c-C4KIXUWU.min.js} +1 -1
- package/dist/c-C4SXYFXL.min.js +1 -0
- package/dist/c-CLDCKFBE.min.js +1 -0
- package/dist/c-CLJCJSFU.min.js +1 -0
- package/dist/c-CLLCX3PT.min.js +2 -0
- package/dist/c-ECHBKW7U.min.js +1 -0
- package/dist/c-EPJWM2UT.min.js +1 -0
- package/dist/c-F2GGJB2S.min.js +31 -0
- package/dist/c-FD2BXSRG.min.js +1 -0
- package/dist/c-FDUQDCBC.min.js +51 -0
- package/dist/c-FOTTQHOO.min.js +1 -0
- package/dist/c-FU7A5KSY.min.js +1 -0
- package/dist/c-G53AVC42.min.js +113 -0
- package/dist/c-GHN6IR4Y.min.js +1 -0
- package/dist/c-GSCO3FWL.min.js +1 -0
- package/dist/c-GYLOSK7M.min.js +1 -0
- package/dist/c-HK4OSLZA.min.js +1 -0
- package/dist/c-HLGTD5SJ.min.js +1 -0
- package/dist/c-HQ27AHMC.min.js +1 -0
- package/dist/{c-D6HAAPTX.min.js → c-IBRLFKWA.min.js} +1 -1
- package/dist/c-IHWZ2C6D.min.js +26 -0
- package/dist/c-IIV73MUW.min.js +1 -0
- package/dist/c-IPYGNVN6.min.js +116 -0
- package/dist/c-JJKRER47.min.js +1 -0
- package/dist/c-JO6AYCU4.min.js +1 -0
- package/dist/c-JWHPG6S2.min.js +1 -0
- package/dist/c-JXVYIXTV.min.js +1 -0
- package/dist/c-K2ZIYDI3.min.js +1 -0
- package/dist/c-K37JAIWA.min.js +4 -0
- package/dist/c-KGROWFT2.min.js +9 -0
- package/dist/c-MOP2NGLH.min.js +1 -0
- package/dist/c-MTX2AO5S.min.js +1 -0
- package/dist/c-N5WT7TXG.min.js +1 -0
- package/dist/c-NATWERHZ.min.js +1 -0
- package/dist/{c-42PLDTX7.min.js → c-O53GOO7H.min.js} +1 -1
- package/dist/c-OVQB75PE.min.js +1 -0
- package/dist/c-P3SKRNZN.min.js +1 -0
- package/dist/c-P5NXQWIM.min.js +1 -0
- package/dist/c-P7BQMVQQ.min.js +1 -0
- package/dist/{c-GNTXRXRN.min.js → c-PDQHLOKU.min.js} +1 -1
- package/dist/c-PKY4JFY5.min.js +1 -0
- package/dist/c-PQOZPM4G.min.js +1 -0
- package/dist/c-PZ3NEGNG.min.js +1 -0
- package/dist/c-QXLDCATV.min.js +1 -0
- package/dist/c-R2HUSWKB.min.js +1 -0
- package/dist/{c-HYW2XA4Q.min.js → c-RHDOOQ4X.min.js} +1 -1
- package/dist/c-RZPP5ERV.min.js +1 -0
- package/dist/c-SG2Y7EBY.min.js +46 -0
- package/dist/{c-WUWXGQYA.min.js → c-SJIB5RNI.min.js} +1 -1
- package/dist/c-SQNEVNWT.min.js +1 -0
- package/dist/c-STHZWF3D.min.js +1 -0
- package/dist/c-TIDKVMMZ.min.js +1 -0
- package/dist/c-TIMGODBG.min.js +1 -0
- package/dist/c-TR7OHUAO.min.js +2 -0
- package/dist/c-TTKWXGAI.min.js +61 -0
- package/dist/c-TVKZC4BY.min.js +1 -0
- package/dist/c-U5XVLSHN.min.js +1 -0
- package/dist/c-U6NLVFN4.min.js +1 -0
- package/dist/{c-VJTDST2R.min.js → c-UBHICVSC.min.js} +1 -1
- package/dist/c-UOPPO26M.min.js +1 -0
- package/dist/c-UUDAON4Z.min.js +1 -0
- package/dist/c-V32TPPY2.min.js +1 -0
- package/dist/c-V5KFJWQQ.min.js +1 -0
- package/dist/{c-P65V6HLO.min.js → c-VN557BQE.min.js} +1 -1
- package/dist/c-VXIYF7V2.min.js +1 -0
- package/dist/c-Y342FJ6K.min.js +1 -0
- package/dist/c-YM6CT4LJ.min.js +1 -0
- package/dist/{c-MVR3RWF3.min.js → c-YMFUIO54.min.js} +1 -1
- package/dist/c-YQVOKPKR.min.js +1 -0
- package/dist/c-YRJ3BJQZ.min.js +1 -0
- package/dist/c-YT5KPVNP.min.js +1 -0
- package/dist/components/ai/audienceProfile.d.ts +18 -1
- package/dist/components/ai/describeChart.d.ts +5 -1
- package/dist/components/ai/intentManifest.d.ts +16 -0
- package/dist/components/ai/intentRegistry.d.ts +12 -0
- package/dist/components/ai/intents.d.ts +6 -6
- package/dist/components/ai/streamSchema.d.ts +19 -0
- package/dist/components/ai/streamingTypes.d.ts +57 -11
- package/dist/components/ai/suggestCharts.d.ts +1 -1
- package/dist/components/ai/suggestStreamCharts.d.ts +43 -8
- package/dist/components/ai/suggestStreamDashboard.d.ts +35 -0
- package/dist/components/ai/variantDiscovery.d.ts +1 -1
- package/dist/components/charts/ordinal/BarChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/ordinal/DonutChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/ordinal/GroupedBarChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/ordinal/PieChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/ordinal/StackedBarChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeAccumulator.d.ts +14 -0
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +6 -5
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +5 -1
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +2 -161
- package/dist/components/charts/realtime/RealtimeLineChart.types.d.ts +175 -0
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +6 -5
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +6 -5
- package/dist/components/charts/realtime/aggregate.d.ts +11 -1
- package/dist/components/charts/realtime/resolveWindowSize.d.ts +1 -1
- package/dist/components/charts/shared/DirectLabelLayer.d.ts +25 -0
- package/dist/components/charts/shared/chartDataProps.d.ts +3 -0
- package/dist/components/charts/shared/chartSpecAtlasSchemas.d.ts +5 -0
- package/dist/components/charts/shared/chartSpecCore.d.ts +4 -0
- package/dist/components/charts/shared/chartSpecsAtlas.d.ts +2 -0
- package/dist/components/charts/shared/directLabels.d.ts +12 -0
- package/dist/components/charts/shared/hooks.d.ts +3 -1
- package/dist/components/charts/shared/knownChartComponents.d.ts +5 -2
- package/dist/components/charts/shared/lineSeriesSsr.d.ts +0 -12
- package/dist/components/charts/shared/useChartSetup.d.ts +2 -0
- package/dist/components/charts/value/BigNumber.streamCapability.d.ts +2 -0
- package/dist/components/charts/value/GaugeChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/xy/BubbleChart.d.ts +4 -1
- package/dist/components/charts/xy/ConnectedScatterplot.d.ts +4 -1
- package/dist/components/charts/xy/LineChart.d.ts +4 -1
- package/dist/components/charts/xy/Scatterplot.d.ts +7 -0
- package/dist/components/realtime/HyperLogLog.d.ts +19 -0
- package/dist/components/realtime/ReorderBuffer.d.ts +2 -2
- package/dist/components/realtime/TDigest.d.ts +22 -0
- package/dist/components/realtime/WindowAccumulator.d.ts +22 -5
- package/dist/components/realtime/applyChangelog.d.ts +38 -0
- package/dist/components/realtime/minHeap.d.ts +3 -0
- package/dist/components/recipes/atlas/DependencyForestChart.d.ts +20 -0
- package/dist/components/recipes/atlas/DependencyMatrix.d.ts +7 -0
- package/dist/components/recipes/atlas/FlowCircuitChart.d.ts +20 -0
- package/dist/components/recipes/atlas/MotifBraidChart.d.ts +17 -0
- package/dist/components/recipes/atlas/atlasChartOptions.d.ts +11 -0
- package/dist/components/recipes/atlas/braid.d.ts +62 -0
- package/dist/components/recipes/atlas/capsules.d.ts +18 -0
- package/dist/components/recipes/atlas/compare.d.ts +4 -0
- package/dist/components/recipes/atlas/completeness.d.ts +2 -0
- package/dist/components/recipes/atlas/dependencyForest.d.ts +32 -0
- package/dist/components/recipes/atlas/dependencyForestChartProps.d.ts +58 -0
- package/dist/components/recipes/atlas/dependencyForestLayout.d.ts +17 -0
- package/dist/components/recipes/atlas/dependencyQueries.d.ts +20 -0
- package/dist/components/recipes/atlas/dependencyTypes.d.ts +21 -0
- package/dist/components/recipes/atlas/directedGraph.d.ts +9 -0
- package/dist/components/recipes/atlas/entityCounts.d.ts +3 -0
- package/dist/components/recipes/atlas/flowCircuit.d.ts +32 -0
- package/dist/components/recipes/atlas/flowCircuitChartProps.d.ts +72 -0
- package/dist/components/recipes/atlas/flowCircuitChrome.d.ts +18 -0
- package/dist/components/recipes/atlas/flowCircuitGeometry.d.ts +11 -0
- package/dist/components/recipes/atlas/flowCircuitLayout.d.ts +20 -0
- package/dist/components/recipes/atlas/flowCircuitSemantics.d.ts +26 -0
- package/dist/components/recipes/atlas/flowCircuitTape.d.ts +22 -0
- package/dist/components/recipes/atlas/flowCircuitTypes.d.ts +144 -0
- package/dist/components/recipes/atlas/forests.d.ts +11 -0
- package/dist/components/recipes/atlas/ids.d.ts +6 -0
- package/dist/components/recipes/atlas/index.d.ts +26 -0
- package/dist/components/recipes/atlas/ledger.d.ts +7 -0
- package/dist/components/recipes/atlas/motifBraidChartProps.d.ts +51 -0
- package/dist/components/recipes/atlas/motifBraidGeometry.d.ts +5 -0
- package/dist/components/recipes/atlas/motifBraidLayout.d.ts +11 -0
- package/dist/components/recipes/atlas/motifs.d.ts +3 -0
- package/dist/components/recipes/atlas/prefixForest.d.ts +9 -0
- package/dist/components/recipes/atlas/prepare.d.ts +14 -0
- package/dist/components/recipes/atlas/prepareAsync.d.ts +7 -0
- package/dist/components/recipes/atlas/profile.d.ts +19 -0
- package/dist/components/recipes/atlas/publish.d.ts +10 -0
- package/dist/components/recipes/atlas/queries.d.ts +34 -0
- package/dist/components/recipes/atlas/requiredPaths.d.ts +9 -0
- package/dist/components/recipes/atlas/rootedForest.d.ts +4 -0
- package/dist/components/recipes/atlas/sections.d.ts +3 -0
- package/dist/components/recipes/atlas/support.d.ts +7 -0
- package/dist/components/recipes/atlas/types.d.ts +278 -0
- package/dist/components/recipes/atlas/validate.d.ts +12 -0
- package/dist/components/recipes/layout1d.d.ts +2 -20
- package/dist/components/recipes/minGapPlacement.d.ts +20 -0
- package/dist/components/semiotic-ai-core.d.ts +8 -3
- package/dist/components/semiotic-ai-stream.d.ts +10 -0
- package/dist/components/semiotic-ai.d.ts +4 -6
- package/dist/components/semiotic-atlas-core.d.ts +20 -0
- package/dist/components/semiotic-atlas.d.ts +8 -0
- package/dist/components/semiotic-realtime-core.d.ts +6 -2
- package/dist/components/semiotic-recipes-core.d.ts +9 -0
- package/dist/components/semiotic-stream-types.d.ts +14 -0
- package/dist/components/semiotic-xy.d.ts +1 -0
- package/dist/components/semiotic.d.ts +3 -11
- package/dist/components/server/encodeSvgFramesToGif.d.ts +2 -0
- package/dist/components/server/rasterizeSVG.d.ts +2 -0
- package/dist/components/server/registerServerXYPlugins.d.ts +2 -0
- package/dist/components/server/renderEvidence.d.ts +4 -0
- package/dist/components/server/serverChartConfigs.d.ts +8 -0
- package/dist/components/server/serverChartConfigsAtlas.d.ts +4 -0
- package/dist/components/server/serverChartConfigsRealtime.d.ts +6 -0
- package/dist/components/server/serverRealtimeCategoryColors.d.ts +3 -0
- package/dist/components/server/staticAnnotations.d.ts +9 -0
- package/dist/components/stream/NetworkPipelineStore.d.ts +1 -0
- package/dist/components/stream/SceneGraph.d.ts +3 -3
- package/dist/components/stream/StalenessBadge.d.ts +5 -2
- package/dist/components/stream/canvasSetup.d.ts +1 -2
- package/dist/components/stream/fontLoading.d.ts +4 -0
- package/dist/components/stream/networkCustomLayout.d.ts +8 -0
- package/dist/components/stream/networkCustomLayoutCache.d.ts +12 -0
- package/dist/components/stream/networkPipelineConfig.d.ts +0 -7
- package/dist/components/stream/physics/physicsSemanticUI.d.ts +2 -0
- package/dist/components/stream/physics/usePhysicsCanvasPointer.d.ts +3 -1
- package/dist/components/stream/physics/usePhysicsSemanticNavigation.d.ts +2 -0
- package/dist/components/stream/pipelinePathJoin.d.ts +27 -0
- package/dist/components/stream/pipelineTransitionTypes.d.ts +43 -0
- package/dist/components/stream/pipelineTransitions.d.ts +5 -35
- package/dist/components/stream/seriesGeometry.d.ts +2 -1
- package/dist/components/stream/shallowEqual.d.ts +2 -0
- package/dist/components/stream/streamEncodingTypes.d.ts +9 -0
- package/dist/components/stream/types.d.ts +25 -2
- package/dist/components/stream/useEnsureCustomXYRenderers.d.ts +4 -2
- package/dist/components/text/axisLabelAssessment.d.ts +15 -0
- package/dist/components/text/browserAxisLabelAssessment.d.ts +1 -0
- package/dist/components/text/browserLabelMeasurement.d.ts +3 -0
- package/dist/components/text/labelMeasurement.d.ts +19 -0
- package/dist/components/text/labelPlacement.d.ts +71 -0
- package/dist/components/text/useAxisLabelAssessment.d.ts +6 -0
- package/dist/components/text/useLabelMeasurer.d.ts +3 -0
- package/dist/controls.module.min.js +71 -1
- package/dist/geo.min.js +231 -1
- package/dist/geo.module.min.js +31 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/physics-matter.module.min.js +1 -1
- package/dist/physics-rapier.module.min.js +1 -1
- package/dist/physics.module.min.js +1 -1
- package/dist/rough.min.js +2 -1
- package/dist/rough.module.min.js +2 -1
- package/dist/semiotic-access.module.min.js +1 -1
- package/dist/semiotic-ai-artifact-policy-constants.module.min.js +1 -1
- package/dist/semiotic-ai-core.d.ts +8 -3
- package/dist/semiotic-ai-core.min.js +4 -1
- package/dist/semiotic-ai-core.module.min.js +4 -1
- package/dist/semiotic-ai-hash-primitives.module.min.js +1 -1
- package/dist/semiotic-ai.d.ts +4 -6
- package/dist/semiotic-ai.module.min.js +14 -1
- package/dist/semiotic-artifact-react.min.js +269 -1
- package/dist/semiotic-artifact-react.module.min.js +137 -1
- package/dist/semiotic-artifact.min.js +3 -1
- package/dist/semiotic-artifact.module.min.js +3 -1
- package/dist/semiotic-atlas-core.d.ts +20 -0
- package/dist/semiotic-atlas-core.min.js +2 -0
- package/dist/semiotic-atlas-core.module.min.js +1 -0
- package/dist/semiotic-atlas-selection.module.min.js +2 -0
- package/dist/semiotic-atlas.d.ts +8 -0
- package/dist/semiotic-atlas.min.js +2 -0
- package/dist/semiotic-atlas.module.min.js +12 -0
- package/dist/semiotic-client-cjs-shared.min.js +1529 -1
- package/dist/semiotic-client-glyph.module.min.js +3 -1
- package/dist/semiotic-client-responsive.module.min.js +1 -1
- package/dist/semiotic-client-shared.module.min.js +1 -1
- package/dist/semiotic-custom-layout-selection-cjs-shared.min.js +2 -1
- package/dist/semiotic-data.min.js +1 -1
- package/dist/semiotic-data.module.min.js +1 -1
- package/dist/semiotic-evidence.min.js +3 -1
- package/dist/semiotic-evidence.module.min.js +3 -1
- package/dist/semiotic-experimental-auxiliary.module.min.js +8 -1
- package/dist/semiotic-experimental-node-auxiliary.module.min.js +8 -1
- package/dist/semiotic-experimental-react-shared.module.min.js +1 -1
- package/dist/semiotic-experimental-vacp.min.js +1 -1
- package/dist/semiotic-experimental-vacp.module.min.js +1 -1
- package/dist/semiotic-line.module.min.js +1 -1
- package/dist/semiotic-realtime-core.d.ts +6 -2
- package/dist/semiotic-realtime-core.module.min.js +1 -1
- package/dist/semiotic-realtime-react.module.min.js +1 -1
- package/dist/semiotic-recipes-core-cjs-base.min.js +160 -1
- package/dist/semiotic-recipes-core.d.ts +9 -0
- package/dist/semiotic-recipes-core.module.min.js +72 -1
- package/dist/semiotic-recipes-geo-cjs.min.js +1 -1
- package/dist/semiotic-recipes-react.min.js +3 -1
- package/dist/semiotic-server-edge-node.module.min.js +391 -1
- package/dist/semiotic-server-edge.min.js +651 -1
- package/dist/semiotic-server-edge.module.min.js +372 -1
- package/dist/semiotic-server-node.min.js +651 -1
- package/dist/semiotic-server-node.module.min.js +1 -1
- package/dist/semiotic-text.min.js +1 -1
- package/dist/semiotic-text.module.min.js +1 -1
- package/dist/semiotic-themes-core.min.js +1 -1
- package/dist/semiotic-themes-core.module.min.js +1 -1
- package/dist/semiotic-themes.min.js +1 -1
- package/dist/semiotic-themes.module.min.js +1 -1
- package/dist/semiotic-utils-core.min.js +11 -1
- package/dist/semiotic-utils-core.module.min.js +8 -1
- package/dist/semiotic-value.module.min.js +15 -1
- package/dist/semiotic-xy.d.ts +1 -0
- package/dist/semiotic.d.ts +3 -11
- package/dist/semiotic.module.min.js +10 -1
- package/dist/server.min.js +651 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +19 -3
- package/dist/c-2N7IU2NY.min.js +0 -1
- package/dist/c-2WK7YJLL.min.js +0 -1
- package/dist/c-33QOXEUG.min.js +0 -1
- package/dist/c-447VIMRO.min.js +0 -1
- package/dist/c-4FN7Q6VQ.min.js +0 -1
- package/dist/c-553QUDKA.min.js +0 -1
- package/dist/c-55BAJ333.min.js +0 -1
- package/dist/c-7242NXSG.min.js +0 -1
- package/dist/c-7EGHJU2F.min.js +0 -1
- package/dist/c-7HP7MB2I.min.js +0 -1
- package/dist/c-7NBU5ZKS.min.js +0 -1
- package/dist/c-AFBSWT77.min.js +0 -1
- package/dist/c-AJ7EC32V.min.js +0 -1
- package/dist/c-AQADQNY7.min.js +0 -1
- package/dist/c-ATM475SA.min.js +0 -1
- package/dist/c-AVO3Q7T7.min.js +0 -1
- package/dist/c-AZKPVBOC.min.js +0 -1
- package/dist/c-BNFJMDHN.min.js +0 -1
- package/dist/c-BNG5ECK5.min.js +0 -1
- package/dist/c-BOHCQILI.min.js +0 -1
- package/dist/c-CCTGN5CK.min.js +0 -1
- package/dist/c-CPSPZH6A.min.js +0 -1
- package/dist/c-CPV4N35K.min.js +0 -1
- package/dist/c-DE5Q3U2X.min.js +0 -1
- package/dist/c-DK662R77.min.js +0 -1
- package/dist/c-DY2676CR.min.js +0 -1
- package/dist/c-E32M6XW5.min.js +0 -1
- package/dist/c-E4JDJH4I.min.js +0 -1
- package/dist/c-E7I2L7CU.min.js +0 -1
- package/dist/c-EBOQ7ER7.min.js +0 -1
- package/dist/c-ELDWAO2V.min.js +0 -1
- package/dist/c-EUBTECGM.min.js +0 -1
- package/dist/c-GSZRZRD6.min.js +0 -1
- package/dist/c-GWX7JGMF.min.js +0 -1
- package/dist/c-GXV3C3MO.min.js +0 -1
- package/dist/c-HHTK2R75.min.js +0 -1
- package/dist/c-HLLFJYTY.min.js +0 -1
- package/dist/c-HPOYKCCG.min.js +0 -1
- package/dist/c-HXDKPIKR.min.js +0 -1
- package/dist/c-I4QJ6YLM.min.js +0 -1
- package/dist/c-IDJV3CZK.min.js +0 -1
- package/dist/c-ITKX3RC5.min.js +0 -1
- package/dist/c-JG2JCQLP.min.js +0 -1
- package/dist/c-JLGRHXGZ.min.js +0 -1
- package/dist/c-JUKIWTBJ.min.js +0 -1
- package/dist/c-KCRJGUHP.min.js +0 -1
- package/dist/c-LMGSSD2E.min.js +0 -1
- package/dist/c-LYQMZMZQ.min.js +0 -1
- package/dist/c-LYVKDBQJ.min.js +0 -1
- package/dist/c-MXCP7GNZ.min.js +0 -1
- package/dist/c-NG7BLZTR.min.js +0 -1
- package/dist/c-NYZ2QNAM.min.js +0 -1
- package/dist/c-OO5QLMJC.min.js +0 -1
- package/dist/c-OOVX2JPQ.min.js +0 -1
- package/dist/c-PP6VY3QU.min.js +0 -1
- package/dist/c-PRIKOLTE.min.js +0 -1
- package/dist/c-PSNI6KAZ.min.js +0 -1
- package/dist/c-PYNW54D2.min.js +0 -1
- package/dist/c-QAVFOEUY.min.js +0 -1
- package/dist/c-ROEHCIGV.min.js +0 -1
- package/dist/c-S3AZX5PP.min.js +0 -1
- package/dist/c-T2V7O2LO.min.js +0 -1
- package/dist/c-TIXX5CAU.min.js +0 -1
- package/dist/c-TKG2NP7G.min.js +0 -1
- package/dist/c-VXLOLYTO.min.js +0 -1
- package/dist/c-W4ZUKSEQ.min.js +0 -1
- package/dist/c-WH2O53VI.min.js +0 -1
- package/dist/c-WNGH47HF.min.js +0 -1
- package/dist/c-XDQKXPX4.min.js +0 -1
- package/dist/c-XSB27XPS.min.js +0 -1
- package/dist/c-YDECTEUW.min.js +0 -1
- package/dist/c-YF3YKVQI.min.js +0 -1
- package/dist/c-YLZIV3VS.min.js +0 -1
- package/dist/c-ZYPXQF7B.min.js +0 -1
package/ai/surface-manifest.json
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"src/components/semiotic-ai.ts",
|
|
8
8
|
"ai/mcp-server.ts"
|
|
9
9
|
],
|
|
10
|
-
"version": "3.10.
|
|
10
|
+
"version": "3.10.2",
|
|
11
11
|
"components": {
|
|
12
|
-
"schema":
|
|
12
|
+
"schema": 64,
|
|
13
13
|
"aiChartExports": 56,
|
|
14
|
-
"mcpRenderable":
|
|
14
|
+
"mcpRenderable": 59,
|
|
15
15
|
"browserOnly": 5,
|
|
16
16
|
"requiresLiveData": [
|
|
17
17
|
"RealtimeHeatmap",
|
|
@@ -59,7 +59,9 @@
|
|
|
59
59
|
"network": [
|
|
60
60
|
"ChordDiagram",
|
|
61
61
|
"CirclePack",
|
|
62
|
+
"DependencyForestChart",
|
|
62
63
|
"ForceDirectedGraph",
|
|
64
|
+
"MotifBraidChart",
|
|
63
65
|
"OrbitDiagram",
|
|
64
66
|
"ProcessSankey",
|
|
65
67
|
"SankeyDiagram",
|
|
@@ -85,6 +87,7 @@
|
|
|
85
87
|
"CollisionSwarmChart",
|
|
86
88
|
"CrucibleChart",
|
|
87
89
|
"EventDropChart",
|
|
90
|
+
"FlowCircuitChart",
|
|
88
91
|
"GaltonBoardChart",
|
|
89
92
|
"GauntletChart",
|
|
90
93
|
"PacketFlowChart",
|
|
@@ -260,6 +263,12 @@
|
|
|
260
263
|
"mobile"
|
|
261
264
|
]
|
|
262
265
|
},
|
|
266
|
+
"DependencyForestChart": {
|
|
267
|
+
"componentKind": "chart-hoc",
|
|
268
|
+
"commonChartProps": "supported",
|
|
269
|
+
"headingProp": "title",
|
|
270
|
+
"modeValues": []
|
|
271
|
+
},
|
|
263
272
|
"DifferenceChart": {
|
|
264
273
|
"componentKind": "chart-hoc",
|
|
265
274
|
"commonChartProps": "supported",
|
|
@@ -315,6 +324,12 @@
|
|
|
315
324
|
"mobile"
|
|
316
325
|
]
|
|
317
326
|
},
|
|
327
|
+
"FlowCircuitChart": {
|
|
328
|
+
"componentKind": "chart-hoc",
|
|
329
|
+
"commonChartProps": "supported",
|
|
330
|
+
"headingProp": "title",
|
|
331
|
+
"modeValues": []
|
|
332
|
+
},
|
|
318
333
|
"FlowMap": {
|
|
319
334
|
"componentKind": "chart-hoc",
|
|
320
335
|
"commonChartProps": "supported",
|
|
@@ -449,6 +464,12 @@
|
|
|
449
464
|
"mobile"
|
|
450
465
|
]
|
|
451
466
|
},
|
|
467
|
+
"MotifBraidChart": {
|
|
468
|
+
"componentKind": "chart-hoc",
|
|
469
|
+
"commonChartProps": "supported",
|
|
470
|
+
"headingProp": "title",
|
|
471
|
+
"modeValues": []
|
|
472
|
+
},
|
|
452
473
|
"MultiAxisLineChart": {
|
|
453
474
|
"componentKind": "chart-hoc",
|
|
454
475
|
"commonChartProps": "supported",
|
|
@@ -832,7 +853,7 @@
|
|
|
832
853
|
]
|
|
833
854
|
},
|
|
834
855
|
"mcp": {
|
|
835
|
-
"toolCount":
|
|
856
|
+
"toolCount": 29,
|
|
836
857
|
"tools": [
|
|
837
858
|
"applyTheme",
|
|
838
859
|
"auditAccessibility",
|
|
@@ -860,6 +881,7 @@
|
|
|
860
881
|
"suggestCharts",
|
|
861
882
|
"suggestDashboard",
|
|
862
883
|
"suggestStreamCharts",
|
|
884
|
+
"suggestStreamDashboard",
|
|
863
885
|
"suggestStretchCharts",
|
|
864
886
|
"suggestTokenEncoding"
|
|
865
887
|
],
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
"route": "/tasks/compare-category-totals",
|
|
8
8
|
"identity": {
|
|
9
9
|
"packageName": "semiotic",
|
|
10
|
-
"packageVersion": "3.10.
|
|
10
|
+
"packageVersion": "3.10.2",
|
|
11
11
|
"channel": "source",
|
|
12
|
-
"sourceRevision": "sha256:
|
|
12
|
+
"sourceRevision": "sha256:3cf6701c453ebddb4c3f0d425983a4977f4a2d3d5220396c43e35ebb65453727",
|
|
13
13
|
"revisionKind": "content-digest",
|
|
14
14
|
"runtime": {
|
|
15
|
-
"digest": "sha256:
|
|
16
|
-
"fileCount":
|
|
15
|
+
"digest": "sha256:c2aac1145bd9945c21e1ea12eeaf0f29ba1f3e55f04b06c31a4b5403293cf8b5",
|
|
16
|
+
"fileCount": 1171
|
|
17
17
|
},
|
|
18
18
|
"taskSources": {
|
|
19
|
-
"digest": "sha256:
|
|
19
|
+
"digest": "sha256:75a490ba8eb66ac32b45fb47c49bdc0e03cdd5b82b7826d7f6d638f07dd60558",
|
|
20
20
|
"fileCount": 36
|
|
21
21
|
},
|
|
22
22
|
"availability": "Verified source checkout guidance; npm package, hosted site and MCP deployment identities require separate checks."
|
|
@@ -195,54 +195,8 @@
|
|
|
195
195
|
"claimId": "task.compare-category-totals",
|
|
196
196
|
"statement": "Compare three totals in React, inspect their exact values, and verify the server-rendered bar geometry.",
|
|
197
197
|
"owner": "Semiotic repository maintainers",
|
|
198
|
-
"status": "
|
|
199
|
-
"observed":
|
|
200
|
-
"verifiedAt": "2026-09-11T03:13:52.427Z",
|
|
201
|
-
"environment": {
|
|
202
|
-
"node": "v22.22.1",
|
|
203
|
-
"platform": "darwin",
|
|
204
|
-
"architecture": "arm64",
|
|
205
|
-
"browser": "Playwright Chromium"
|
|
206
|
-
},
|
|
207
|
-
"runs": [
|
|
208
|
-
{
|
|
209
|
-
"kind": "unit",
|
|
210
|
-
"targets": [
|
|
211
|
-
"docs/src/pages/tasks/examples/category-comparison.test.ts",
|
|
212
|
-
"docs/src/pages/tasks/examples/live-chart.test.tsx",
|
|
213
|
-
"docs/src/pages/tasks/examples/source-correction.test.ts"
|
|
214
|
-
],
|
|
215
|
-
"name": "Task source units",
|
|
216
|
-
"command": "node node_modules/vitest/vitest.mjs run ./docs/src/pages/tasks/examples/category-comparison.test.ts ./docs/src/pages/tasks/examples/live-chart.test.tsx ./docs/src/pages/tasks/examples/source-correction.test.ts --reporter=default --reporter=json --outputFile=<temporary-report-directory>/unit.json --allowOnly=false",
|
|
217
|
-
"exitCode": 0,
|
|
218
|
-
"passed": 14,
|
|
219
|
-
"skipped": 0,
|
|
220
|
-
"passedByFile": {
|
|
221
|
-
"docs/src/pages/tasks/examples/category-comparison.test.ts": 4,
|
|
222
|
-
"docs/src/pages/tasks/examples/live-chart.test.tsx": 5,
|
|
223
|
-
"docs/src/pages/tasks/examples/source-correction.test.ts": 5
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"kind": "browser",
|
|
228
|
-
"targets": [
|
|
229
|
-
"integration-tests/docs-examples-task-live.spec.ts",
|
|
230
|
-
"integration-tests/docs-examples-tasks.spec.ts"
|
|
231
|
-
],
|
|
232
|
-
"name": "Task browser behavior",
|
|
233
|
-
"command": "node node_modules/@playwright/test/cli.js test --config playwright.docs-examples.config.ts ./integration-tests/docs-examples-task-live.spec.ts ./integration-tests/docs-examples-tasks.spec.ts --reporter=list,json --forbid-only",
|
|
234
|
-
"exitCode": 0,
|
|
235
|
-
"passed": 6,
|
|
236
|
-
"skipped": 0,
|
|
237
|
-
"passedByFile": {
|
|
238
|
-
"integration-tests/docs-examples-task-live.spec.ts": 2,
|
|
239
|
-
"integration-tests/docs-examples-tasks.spec.ts": 4
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
],
|
|
243
|
-
"record": "ai/tasks/verification.json",
|
|
244
|
-
"authorship": "Agent-observed execution of repository tests; independent review is not recorded."
|
|
245
|
-
},
|
|
198
|
+
"status": "stale",
|
|
199
|
+
"observed": null,
|
|
246
200
|
"validity": "Only the content digests and environment recorded here; not a release range or an adoption result.",
|
|
247
201
|
"invalidation": "Changes to runtime source, schemas, manifests, task examples, tests, verification tooling or this task definition invalidate the recorded result.",
|
|
248
202
|
"commands": [
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Compare three totals in React, inspect their exact values, and verify the server-rendered bar geometry.
|
|
6
6
|
|
|
7
|
-
Source package: semiotic@3.10.
|
|
8
|
-
Source revision: sha256:
|
|
7
|
+
Source package: semiotic@3.10.2. Channel: source.
|
|
8
|
+
Source revision: sha256:3cf6701c453ebddb4c3f0d425983a4977f4a2d3d5220396c43e35ebb65453727. Verified source checkout guidance; npm package, hosted site and MCP deployment identities require separate checks.
|
|
9
9
|
|
|
10
10
|
## The job
|
|
11
11
|
|
|
@@ -110,7 +110,7 @@ export function checkCategoryComparison() {
|
|
|
110
110
|
|
|
111
111
|
## Check the result
|
|
112
112
|
|
|
113
|
-
Evidence state:
|
|
113
|
+
Evidence state: stale. Only the content digests and environment recorded here; not a release range or an adoption result.
|
|
114
114
|
|
|
115
115
|
- North 12, South 30, West 18; total 60, with South largest.
|
|
116
116
|
- Three SVG bars retain 12:30:18 proportions and insertion order in both orientations.
|
|
@@ -124,7 +124,7 @@ npx vitest run docs/src/pages/tasks/examples/category-comparison.test.ts
|
|
|
124
124
|
npx playwright test --config playwright.docs-examples.config.ts integration-tests/docs-examples-tasks.spec.ts
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
No current execution result is recorded for these source contents.
|
|
128
128
|
|
|
129
129
|
Not assessed:
|
|
130
130
|
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
"route": "/tasks/correct-published-chart",
|
|
8
8
|
"identity": {
|
|
9
9
|
"packageName": "semiotic",
|
|
10
|
-
"packageVersion": "3.10.
|
|
10
|
+
"packageVersion": "3.10.2",
|
|
11
11
|
"channel": "source",
|
|
12
|
-
"sourceRevision": "sha256:
|
|
12
|
+
"sourceRevision": "sha256:06e3a17845e0d48a7b695ee2742e2f0518fca012d13595ddc90a14815e26e1aa",
|
|
13
13
|
"revisionKind": "content-digest",
|
|
14
14
|
"runtime": {
|
|
15
|
-
"digest": "sha256:
|
|
16
|
-
"fileCount":
|
|
15
|
+
"digest": "sha256:c2aac1145bd9945c21e1ea12eeaf0f29ba1f3e55f04b06c31a4b5403293cf8b5",
|
|
16
|
+
"fileCount": 1171
|
|
17
17
|
},
|
|
18
18
|
"taskSources": {
|
|
19
|
-
"digest": "sha256:
|
|
19
|
+
"digest": "sha256:75a490ba8eb66ac32b45fb47c49bdc0e03cdd5b82b7826d7f6d638f07dd60558",
|
|
20
20
|
"fileCount": 36
|
|
21
21
|
},
|
|
22
22
|
"availability": "Verified source checkout guidance; npm package, hosted site and MCP deployment identities require separate checks."
|
|
@@ -166,54 +166,8 @@
|
|
|
166
166
|
"claimId": "task.correct-published-chart",
|
|
167
167
|
"statement": "Apply a source correction, replace affected claims explicitly, and preserve the context a later reader needs.",
|
|
168
168
|
"owner": "Semiotic repository maintainers",
|
|
169
|
-
"status": "
|
|
170
|
-
"observed":
|
|
171
|
-
"verifiedAt": "2026-09-11T03:13:52.427Z",
|
|
172
|
-
"environment": {
|
|
173
|
-
"node": "v22.22.1",
|
|
174
|
-
"platform": "darwin",
|
|
175
|
-
"architecture": "arm64",
|
|
176
|
-
"browser": "Playwright Chromium"
|
|
177
|
-
},
|
|
178
|
-
"runs": [
|
|
179
|
-
{
|
|
180
|
-
"kind": "unit",
|
|
181
|
-
"targets": [
|
|
182
|
-
"docs/src/pages/tasks/examples/category-comparison.test.ts",
|
|
183
|
-
"docs/src/pages/tasks/examples/live-chart.test.tsx",
|
|
184
|
-
"docs/src/pages/tasks/examples/source-correction.test.ts"
|
|
185
|
-
],
|
|
186
|
-
"name": "Task source units",
|
|
187
|
-
"command": "node node_modules/vitest/vitest.mjs run ./docs/src/pages/tasks/examples/category-comparison.test.ts ./docs/src/pages/tasks/examples/live-chart.test.tsx ./docs/src/pages/tasks/examples/source-correction.test.ts --reporter=default --reporter=json --outputFile=<temporary-report-directory>/unit.json --allowOnly=false",
|
|
188
|
-
"exitCode": 0,
|
|
189
|
-
"passed": 14,
|
|
190
|
-
"skipped": 0,
|
|
191
|
-
"passedByFile": {
|
|
192
|
-
"docs/src/pages/tasks/examples/category-comparison.test.ts": 4,
|
|
193
|
-
"docs/src/pages/tasks/examples/live-chart.test.tsx": 5,
|
|
194
|
-
"docs/src/pages/tasks/examples/source-correction.test.ts": 5
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"kind": "browser",
|
|
199
|
-
"targets": [
|
|
200
|
-
"integration-tests/docs-examples-task-live.spec.ts",
|
|
201
|
-
"integration-tests/docs-examples-tasks.spec.ts"
|
|
202
|
-
],
|
|
203
|
-
"name": "Task browser behavior",
|
|
204
|
-
"command": "node node_modules/@playwright/test/cli.js test --config playwright.docs-examples.config.ts ./integration-tests/docs-examples-task-live.spec.ts ./integration-tests/docs-examples-tasks.spec.ts --reporter=list,json --forbid-only",
|
|
205
|
-
"exitCode": 0,
|
|
206
|
-
"passed": 6,
|
|
207
|
-
"skipped": 0,
|
|
208
|
-
"passedByFile": {
|
|
209
|
-
"integration-tests/docs-examples-task-live.spec.ts": 2,
|
|
210
|
-
"integration-tests/docs-examples-tasks.spec.ts": 4
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"record": "ai/tasks/verification.json",
|
|
215
|
-
"authorship": "Agent-observed execution of repository tests; independent review is not recorded."
|
|
216
|
-
},
|
|
169
|
+
"status": "stale",
|
|
170
|
+
"observed": null,
|
|
217
171
|
"validity": "Only the content digests and environment recorded here; not a release range or an adoption result.",
|
|
218
172
|
"invalidation": "Changes to runtime source, schemas, manifests, task examples, tests, verification tooling or this task definition invalidate the recorded result.",
|
|
219
173
|
"commands": [
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Apply a source correction, replace affected claims explicitly, and preserve the context a later reader needs.
|
|
6
6
|
|
|
7
|
-
Source package: semiotic@3.10.
|
|
8
|
-
Source revision: sha256:
|
|
7
|
+
Source package: semiotic@3.10.2. Channel: source.
|
|
8
|
+
Source revision: sha256:06e3a17845e0d48a7b695ee2742e2f0518fca012d13595ddc90a14815e26e1aa. Verified source checkout guidance; npm package, hosted site and MCP deployment identities require separate checks.
|
|
9
9
|
|
|
10
10
|
## The job
|
|
11
11
|
|
|
@@ -524,7 +524,7 @@ Browser presentation; source: docs/src/pages/tasks/examples/source-correction.cs
|
|
|
524
524
|
|
|
525
525
|
## Check the result
|
|
526
526
|
|
|
527
|
-
Evidence state:
|
|
527
|
+
Evidence state: stale. Only the content digests and environment recorded here; not a release range or an adoption result.
|
|
528
528
|
|
|
529
529
|
- Changing data without revisiting active claims is refused.
|
|
530
530
|
- The original total 60 and South-largest claims are superseded; replacements describe total 78 and West 36.
|
|
@@ -539,7 +539,7 @@ npx vitest run docs/src/pages/tasks/examples/source-correction.test.ts
|
|
|
539
539
|
npx playwright test --config playwright.docs-examples.config.ts integration-tests/docs-examples-tasks.spec.ts
|
|
540
540
|
```
|
|
541
541
|
|
|
542
|
-
|
|
542
|
+
No current execution result is recorded for these source contents.
|
|
543
543
|
|
|
544
544
|
Not assessed:
|
|
545
545
|
|
|
@@ -8,33 +8,33 @@
|
|
|
8
8
|
"title": "Compare category totals you can check",
|
|
9
9
|
"summary": "Compare three totals in React, inspect their exact values, and verify the server-rendered bar geometry.",
|
|
10
10
|
"route": "/tasks/compare-category-totals",
|
|
11
|
-
"packageVersion": "3.10.
|
|
12
|
-
"sourceRevision": "sha256:
|
|
11
|
+
"packageVersion": "3.10.2",
|
|
12
|
+
"sourceRevision": "sha256:3cf6701c453ebddb4c3f0d425983a4977f4a2d3d5220396c43e35ebb65453727",
|
|
13
13
|
"markdown": "/tasks/compare-category-totals.md",
|
|
14
14
|
"json": "/tasks/compare-category-totals.json",
|
|
15
|
-
"evidenceStatus": "
|
|
15
|
+
"evidenceStatus": "stale"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"id": "update-live-chart",
|
|
19
19
|
"title": "Update a live chart by record ID",
|
|
20
20
|
"summary": "Maintain a bounded window of incoming records, apply corrections, and reconcile the display after reconnecting.",
|
|
21
21
|
"route": "/tasks/update-live-chart",
|
|
22
|
-
"packageVersion": "3.10.
|
|
23
|
-
"sourceRevision": "sha256:
|
|
22
|
+
"packageVersion": "3.10.2",
|
|
23
|
+
"sourceRevision": "sha256:35cf27492bc9b5c30cbc11b1b3ca249bc3133cca75665102fe962c955946c766",
|
|
24
24
|
"markdown": "/tasks/update-live-chart.md",
|
|
25
25
|
"json": "/tasks/update-live-chart.json",
|
|
26
|
-
"evidenceStatus": "
|
|
26
|
+
"evidenceStatus": "stale"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"id": "correct-published-chart",
|
|
30
30
|
"title": "Correct a chart after its source changes",
|
|
31
31
|
"summary": "Apply a source correction, replace affected claims explicitly, and preserve the context a later reader needs.",
|
|
32
32
|
"route": "/tasks/correct-published-chart",
|
|
33
|
-
"packageVersion": "3.10.
|
|
34
|
-
"sourceRevision": "sha256:
|
|
33
|
+
"packageVersion": "3.10.2",
|
|
34
|
+
"sourceRevision": "sha256:06e3a17845e0d48a7b695ee2742e2f0518fca012d13595ddc90a14815e26e1aa",
|
|
35
35
|
"markdown": "/tasks/correct-published-chart.md",
|
|
36
36
|
"json": "/tasks/correct-published-chart.json",
|
|
37
|
-
"evidenceStatus": "
|
|
37
|
+
"evidenceStatus": "stale"
|
|
38
38
|
}
|
|
39
39
|
]
|
|
40
40
|
}
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
"route": "/tasks/update-live-chart",
|
|
8
8
|
"identity": {
|
|
9
9
|
"packageName": "semiotic",
|
|
10
|
-
"packageVersion": "3.10.
|
|
10
|
+
"packageVersion": "3.10.2",
|
|
11
11
|
"channel": "source",
|
|
12
|
-
"sourceRevision": "sha256:
|
|
12
|
+
"sourceRevision": "sha256:35cf27492bc9b5c30cbc11b1b3ca249bc3133cca75665102fe962c955946c766",
|
|
13
13
|
"revisionKind": "content-digest",
|
|
14
14
|
"runtime": {
|
|
15
|
-
"digest": "sha256:
|
|
16
|
-
"fileCount":
|
|
15
|
+
"digest": "sha256:c2aac1145bd9945c21e1ea12eeaf0f29ba1f3e55f04b06c31a4b5403293cf8b5",
|
|
16
|
+
"fileCount": 1171
|
|
17
17
|
},
|
|
18
18
|
"taskSources": {
|
|
19
|
-
"digest": "sha256:
|
|
19
|
+
"digest": "sha256:75a490ba8eb66ac32b45fb47c49bdc0e03cdd5b82b7826d7f6d638f07dd60558",
|
|
20
20
|
"fileCount": 36
|
|
21
21
|
},
|
|
22
22
|
"availability": "Verified source checkout guidance; npm package, hosted site and MCP deployment identities require separate checks."
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"pointIdAccessor": {
|
|
67
67
|
"type": "string",
|
|
68
|
-
"description": "Stable ID for point annotations
|
|
68
|
+
"description": "Stable ID for point annotations, push-mode remove()/update(), and identity-keyed line path transitions.",
|
|
69
69
|
"x-semiotic-runtime-types": [
|
|
70
70
|
"string",
|
|
71
71
|
"function"
|
|
@@ -182,54 +182,8 @@
|
|
|
182
182
|
"claimId": "task.update-live-chart",
|
|
183
183
|
"statement": "Maintain a bounded window of incoming records, apply corrections, and reconcile the display after reconnecting.",
|
|
184
184
|
"owner": "Semiotic repository maintainers",
|
|
185
|
-
"status": "
|
|
186
|
-
"observed":
|
|
187
|
-
"verifiedAt": "2026-09-11T03:13:52.427Z",
|
|
188
|
-
"environment": {
|
|
189
|
-
"node": "v22.22.1",
|
|
190
|
-
"platform": "darwin",
|
|
191
|
-
"architecture": "arm64",
|
|
192
|
-
"browser": "Playwright Chromium"
|
|
193
|
-
},
|
|
194
|
-
"runs": [
|
|
195
|
-
{
|
|
196
|
-
"kind": "unit",
|
|
197
|
-
"targets": [
|
|
198
|
-
"docs/src/pages/tasks/examples/category-comparison.test.ts",
|
|
199
|
-
"docs/src/pages/tasks/examples/live-chart.test.tsx",
|
|
200
|
-
"docs/src/pages/tasks/examples/source-correction.test.ts"
|
|
201
|
-
],
|
|
202
|
-
"name": "Task source units",
|
|
203
|
-
"command": "node node_modules/vitest/vitest.mjs run ./docs/src/pages/tasks/examples/category-comparison.test.ts ./docs/src/pages/tasks/examples/live-chart.test.tsx ./docs/src/pages/tasks/examples/source-correction.test.ts --reporter=default --reporter=json --outputFile=<temporary-report-directory>/unit.json --allowOnly=false",
|
|
204
|
-
"exitCode": 0,
|
|
205
|
-
"passed": 14,
|
|
206
|
-
"skipped": 0,
|
|
207
|
-
"passedByFile": {
|
|
208
|
-
"docs/src/pages/tasks/examples/category-comparison.test.ts": 4,
|
|
209
|
-
"docs/src/pages/tasks/examples/live-chart.test.tsx": 5,
|
|
210
|
-
"docs/src/pages/tasks/examples/source-correction.test.ts": 5
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"kind": "browser",
|
|
215
|
-
"targets": [
|
|
216
|
-
"integration-tests/docs-examples-task-live.spec.ts",
|
|
217
|
-
"integration-tests/docs-examples-tasks.spec.ts"
|
|
218
|
-
],
|
|
219
|
-
"name": "Task browser behavior",
|
|
220
|
-
"command": "node node_modules/@playwright/test/cli.js test --config playwright.docs-examples.config.ts ./integration-tests/docs-examples-task-live.spec.ts ./integration-tests/docs-examples-tasks.spec.ts --reporter=list,json --forbid-only",
|
|
221
|
-
"exitCode": 0,
|
|
222
|
-
"passed": 6,
|
|
223
|
-
"skipped": 0,
|
|
224
|
-
"passedByFile": {
|
|
225
|
-
"integration-tests/docs-examples-task-live.spec.ts": 2,
|
|
226
|
-
"integration-tests/docs-examples-tasks.spec.ts": 4
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
],
|
|
230
|
-
"record": "ai/tasks/verification.json",
|
|
231
|
-
"authorship": "Agent-observed execution of repository tests; independent review is not recorded."
|
|
232
|
-
},
|
|
185
|
+
"status": "stale",
|
|
186
|
+
"observed": null,
|
|
233
187
|
"validity": "Only the content digests and environment recorded here; not a release range or an adoption result.",
|
|
234
188
|
"invalidation": "Changes to runtime source, schemas, manifests, task examples, tests, verification tooling or this task definition invalidate the recorded result.",
|
|
235
189
|
"commands": [
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Maintain a bounded window of incoming records, apply corrections, and reconcile the display after reconnecting.
|
|
6
6
|
|
|
7
|
-
Source package: semiotic@3.10.
|
|
8
|
-
Source revision: sha256:
|
|
7
|
+
Source package: semiotic@3.10.2. Channel: source.
|
|
8
|
+
Source revision: sha256:35cf27492bc9b5c30cbc11b1b3ca249bc3133cca75665102fe962c955946c766. Verified source checkout guidance; npm package, hosted site and MCP deployment identities require separate checks.
|
|
9
9
|
|
|
10
10
|
## The job
|
|
11
11
|
|
|
@@ -343,7 +343,7 @@ Browser presentation; source: docs/src/pages/tasks/examples/live-chart.css.
|
|
|
343
343
|
|
|
344
344
|
## Check the result
|
|
345
345
|
|
|
346
|
-
Evidence state:
|
|
346
|
+
Evidence state: stale. Only the content digests and environment recorded here; not a release range or an adoption result.
|
|
347
347
|
|
|
348
348
|
- Corrections replace records by stable ID without increasing the retained count.
|
|
349
349
|
- At most four records remain in the chart after new observations.
|
|
@@ -358,7 +358,7 @@ npx vitest run docs/src/pages/tasks/examples/live-chart.test.tsx
|
|
|
358
358
|
npx playwright test --config playwright.docs-examples.config.ts integration-tests/docs-examples-task-live.spec.ts
|
|
359
359
|
```
|
|
360
360
|
|
|
361
|
-
|
|
361
|
+
No current execution result is recorded for these source contents.
|
|
362
362
|
|
|
363
363
|
Not assessed:
|
|
364
364
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
function t(t){return{type:t.type,bins:t.bins??h,fill:t.fill??a,fillOpacity:t.fillOpacity??f,stroke:t.stroke??x,strokeWidth:t.strokeWidth??d}}function l(t){let l=[...t].sort((t,l)=>t-l),e=l.length;if(0===e)return null;let i=l[Math.floor(.25*e)],r=l[Math.floor(.5*e)],n=l[Math.floor(.75*e)],o=n-i;return{q1:i,median:r,q3:n,whiskerLow:Math.max(l[0],i-1.5*o),whiskerHigh:Math.min(l[e-1],n+1.5*o)}}function e({orient:e,config:h,values:a,scale:f,size:x,length:d}){let u=t(h),k="top"===e||"bottom"===e,p=r(()=>{if(0===a.length)return null;let t=f.domain(),r=x-8;if("boxplot"===u.type){let t=l(a);if(!t)return null;let{q1:i,median:n,q3:h,whiskerLow:x,whiskerHigh:d}=t,p=Math.min(.5*r,20),y=(r-p)/2+4;if(k){let t=f(i),l=f(h),r=f(n),a=f(x),k=f(d),g="top"===e?-1:1,c=0;/* @__PURE__ */
|
|
2
|
+
return s("g",{"data-testid":"marginal-boxplot-"+e,children:[
|
|
3
|
+
/* @__PURE__ */o("line",{x1:a,y1:c+g*(y+p/2),x2:k,y2:c+g*(y+p/2),stroke:u.fill,strokeWidth:u.strokeWidth}),
|
|
4
|
+
/* @__PURE__ */o("line",{x1:a,y1:c+g*y,x2:a,y2:c+g*(y+p),stroke:u.fill,strokeWidth:u.strokeWidth}),
|
|
5
|
+
/* @__PURE__ */o("line",{x1:k,y1:c+g*y,x2:k,y2:c+g*(y+p),stroke:u.fill,strokeWidth:u.strokeWidth}),
|
|
6
|
+
/* @__PURE__ */o("rect",{x:Math.min(t,l),y:"top"===e?c-y-p:c+y,width:Math.abs(l-t),height:p,fill:u.fill,fillOpacity:u.fillOpacity,stroke:"none"===u.stroke?u.fill:u.stroke,strokeWidth:u.strokeWidth}),
|
|
7
|
+
/* @__PURE__ */o("line",{x1:r,y1:"top"===e?c-y-p:c+y,x2:r,y2:"top"===e?c-y:c+y+p,stroke:u.fill,strokeWidth:2})]})}{let t=f(i),l=f(h),r=f(n),a=f(x),k=f(d),g="left"===e?-1:1,c=0;/* @__PURE__ */
|
|
8
|
+
return s("g",{"data-testid":"marginal-boxplot-"+e,children:[
|
|
9
|
+
/* @__PURE__ */o("line",{x1:c+g*(y+p/2),y1:a,x2:c+g*(y+p/2),y2:k,stroke:u.fill,strokeWidth:u.strokeWidth}),
|
|
10
|
+
/* @__PURE__ */o("line",{x1:c+g*y,y1:a,x2:c+g*(y+p),y2:a,stroke:u.fill,strokeWidth:u.strokeWidth}),
|
|
11
|
+
/* @__PURE__ */o("line",{x1:c+g*y,y1:k,x2:c+g*(y+p),y2:k,stroke:u.fill,strokeWidth:u.strokeWidth}),
|
|
12
|
+
/* @__PURE__ */o("rect",{x:"left"===e?c-y-p:c+y,y:Math.min(t,l),width:p,height:Math.abs(l-t),fill:u.fill,fillOpacity:u.fillOpacity,stroke:"none"===u.stroke?u.fill:u.stroke,strokeWidth:u.strokeWidth}),
|
|
13
|
+
/* @__PURE__ */o("line",{x1:"left"===e?c-y-p:c+y,y1:r,x2:"left"===e?c-y:c+y+p,y2:r,stroke:u.fill,strokeWidth:2})]})}}let h=n().domain(t).thresholds(u.bins)(a);if(0===h.length)return null;let p=i(h.map(t=>t.length));if(0===p)return null;if("histogram"===u.type)/* @__PURE__ */
|
|
14
|
+
return o("g",{"data-testid":"marginal-histogram-"+e,children:h.map((t,l)=>{if(null==t.x0||null==t.x1)return null;let i=t.length/p*r;if(k){let r=f(t.x0),n=f(t.x1)-f(t.x0);/* @__PURE__ */
|
|
15
|
+
return o("rect",{x:r,y:"top"===e?-4-i:4,width:Math.max(n,.5),height:i,fill:u.fill,fillOpacity:u.fillOpacity,stroke:u.stroke,strokeWidth:u.strokeWidth},l)}{let r=f(t.x0),n=f(t.x1)-f(t.x0);/* @__PURE__ */
|
|
16
|
+
return o("rect",{x:"left"===e?-4-i:4,y:Math.min(r,r+n),width:i,height:Math.abs(n),fill:u.fill,fillOpacity:u.fillOpacity,stroke:u.stroke,strokeWidth:u.strokeWidth},l)}})});if("violin"===u.type){let t=r/2+4,l=[];for(let i of h){if(null==i.x0||null==i.x1)continue;let n=i.length/p*(r/2),o=f((i.x0+i.x1)/2);l.push(k?`${o},${"top"===e?-(t-n):t-n}`:`${"left"===e?-(t-n):t-n},${o}`)}for(let i=h.length-1;i>=0;i--){let n=h[i];if(null==n.x0||null==n.x1)continue;let o=n.length/p*(r/2),s=f((n.x0+n.x1)/2);l.push(k?`${s},${"top"===e?-(t+o):t+o}`:`${"left"===e?-(t+o):t+o},${s}`)}/* @__PURE__ */
|
|
17
|
+
return o("g",{"data-testid":"marginal-violin-"+e,children:/* @__PURE__ */o("polygon",{points:l.join(" "),fill:u.fill,fillOpacity:u.fillOpacity,stroke:"none"===u.stroke?u.fill:u.stroke,strokeWidth:u.strokeWidth})})}if("ridgeline"===u.type){let t=[];if(k){let l=null!=h[0].x0?f(h[0].x0):0;t.push(`M${l},0`);for(let l of h){if(null==l.x0||null==l.x1)continue;let i=l.length/p*r,n=f((l.x0+l.x1)/2);t.push(`L${n},${"top"===e?-i-4:i+4}`)}let i=null!=h[h.length-1].x1?f(h[h.length-1].x1):d;t.push(`L${i},0`),t.push("Z")}else{let l=null!=h[0].x0?f(h[0].x0):0;t.push("M0,"+l);for(let l of h){if(null==l.x0||null==l.x1)continue;let i=l.length/p*r,n=f((l.x0+l.x1)/2);t.push(`L${"left"===e?-i-4:i+4},${n}`)}let i=null!=h[h.length-1].x1?f(h[h.length-1].x1):d;t.push("L0,"+i),t.push("Z")}/* @__PURE__ */
|
|
18
|
+
return o("g",{"data-testid":"marginal-ridgeline-"+e,children:/* @__PURE__ */o("path",{d:t.join(" "),fill:u.fill,fillOpacity:u.fillOpacity,stroke:"none"===u.stroke?u.fill:u.stroke,strokeWidth:u.strokeWidth})})}return null},[a,f,u,x,d,e,k,4]);return p?/* @__PURE__ */o("g",{className:"marginal-"+e,"data-testid":"marginal-"+e,children:p}):null}import{c as i}from"./c-3PFVJFBK.min.js";import{useMemo as r}from"react";import{bin as n}from"d3-array";import{jsx as o,jsxs as s}from"react/jsx-runtime";var h=20,a="#4e79a7",f=.5,x="none",d=1;export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return"string"==typeof e&&e.trim().length>0}function t(t,a,s){let i=$.has(t)||void 0!==s&&P.has(s),r=e=>k(t,e)||i,n=A.filter(t=>e(a[t])&&!r(t));return{hasTitle:r("title")&&e(a.title),hasDescription:r("description")&&e(a.description),hasSummary:r("summary")&&e(a.summary),unsupportedFinding:n.length>0?{id:"understandable.unsupported-description-prop",principle:"understandable",heuristic:"Descriptive text is connected to the rendered chart",critical:!0,status:"warn",message:`Useful ${n.join(" and ")} text was supplied, but ${1===n.length?"that prop is":"those props are"} not supported by ${t}'s declared chart API and cannot be credited as rendered accessibility text.`,fix:"Use the component's declared title, description, and summary props when available; for richer generated description or navigation, use ChartContainer with chartConfig plus describe and/or navigable."}:void 0}}function a(e){return!!Array.isArray(e.styleRules)&&e.styleRules.some(e=>{if("object"!=typeof e||null===e)return!1;let t=e.style;if("object"!=typeof t||null===t||Array.isArray(t))return!1;let a=t.fill;return"object"==typeof a&&null!==a&&"hatch"===a.type})}function s(e){if(!Array.isArray(e))return!1;let t=e.filter(e=>"string"==typeof e&&e.startsWith("#")).map(e=>e.toLowerCase());return t.length>0&&t.every(e=>F.has(e))}function i(e){let t=e.replace(/^#/,"");/^[a-f\d]{3}$/i.test(t)&&(t=t.split("").map(e=>e+e).join(""));let a=t.match(/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);if(!a)return null;let[s,i,r]=[parseInt(a[1],16)/255,parseInt(a[2],16)/255,parseInt(a[3],16)/255],n=e=>e>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92;return.2126*n(s)+.7152*n(i)+.0722*n(r)}function r(e,t){let a=i(e),s=i(t);return null===a||null===s?null:(Math.max(a,s)+.05)/(Math.min(a,s)+.05)}function n(e){return"string"==typeof e?.type?e.type:""}function o(e){return!!e&&"object"==typeof e&&R.has(n(e))}function l(e){return Array.isArray(e?.disable)&&e.disable.includes("connector")}function c(e){return j.has(n(e))&&!l(e)}function u(e){let t=e?.provenance?.confidence;return"number"==typeof t&&Number.isFinite(t)?t:null}function d(e){return"primary"===e?.emphasis||"secondary"===e?.emphasis||null!=u(e)}function h(e){let t=e.split(/[.!?]+/).map(e=>e.trim()).filter(Boolean),a=e.trim().split(/\s+/).filter(Boolean);if(0===a.length||0===t.length)return null;let s=0;for(let e of a)s+=p(e);return a.length/t.length*.39+s/a.length*11.8-15.59}function p(e){let t=e.toLowerCase().replace(/[^a-z]/g,"");if(!t)return 0;if(3>=t.length)return 1;let a=t.replace(/(?:[^laeiouy]es|ed|[^laeiouy]e)$/,"").replace(/^y/,"").match(/[aeiouy]{1,2}/g);return a?a.length:1}function m(e){return!1!==e.tooltip||null!=e.onClick||null!=e.brush||null!=e.onBrush||null!=e.selection||null!=e.linkedHover||null!=e.linkedBrush}function f(e){return e.physics&&"object"==typeof e.physics?e.physics:{}}function g(e){let t=f(e),a=e.controls&&"object"==typeof e.controls?e.controls:{};return!0===e.pauseControl||!0===t.pauseControl||!0===a.pause||"function"==typeof a.pause}function b(e){let t=f(e);return!0===e.settledProjection||!0===t.settledProjection}function y(e){let t=f(e);return!0===e.reducedMotionSettle||"settle"===e.reducedMotion||!0===t.reducedMotionSettle||"settle"===t.reducedMotion}function v(e){let t={id:"perceivable.low-contrast",principle:"perceivable",heuristic:"Low contrast",critical:!0},a=e.colorScheme,s="string"==typeof e.background?e.background:null;if(s&&!s.startsWith("#"))return{...t,status:"manual",message:`Background "${s}" isn't a hex literal (theme/CSS variable) — contrast can't be verified statically.`,fix:'Pass a hex `background` (e.g. "#ffffff"/"#000000"), or verify contrast manually once the theme resolves.'};let i=s??"#ffffff";if(!Array.isArray(a))return{...t,status:"manual",message:"Mark colors come from the theme/CSS variables — contrast can't be verified statically.",fix:"Confirm geometries/large text have ≥ 3:1 and regular text ≥ 4.5:1 contrast against the background."};let n=[],o=0;for(let e of a){if("string"!=typeof e||!e.startsWith("#"))continue;let t=r(e,i);null!=t&&(o++,3>t&&n.push(`${e} (${t.toFixed(1)}:1)`))}return 0===o?{...t,status:"manual",message:"colorScheme has no parseable hex colors to check.",fix:"Verify contrast manually for non-hex colors."}:n.length>0?{...t,status:"fail",message:`${n.length} color(s) fall below 3:1 contrast vs ${i}: ${n.join(", ")}.`,fix:"Darken (light background) or lighten (dark background) those colors, or use COLOR_BLIND_SAFE_CATEGORICAL."}:{...t,status:"pass",message:`All ${o} checked colorScheme color(s) meet ≥ 3:1 contrast vs ${i}.`}}function C(i,r,l={}){let u=[],p=x(i),f=V.has(i),C=S(i)||!!p||f,w=!0===l.inChartContainer,k=!0===l.describe,A=!0===l.navigable,$=G.has(i),P=L.has(i),{hasTitle:F,hasDescription:R,hasSummary:j,unsupportedFinding:D}=t(i,r,p?.frameFamily),T=!1!==r.accessibleTable&&!$,B=F||R||j,N=m(r),M=g(r),I=f,O=b(r)||W.has(i)&&T,U=y(r)||I,q=Array.isArray(r.annotations)?r.annotations.filter(e=>!!e&&"object"==typeof e):[],X=C?"pass":"manual",Y=C?"":` (unrecognized component "${i}" — verify manually that the built-in applies)`;if(D&&u.push(D),u.push(v(r)),u.push({id:"perceivable.content-only-visual",principle:"perceivable",heuristic:"Content is only visual",critical:!0,...$?{status:"pass",message:"BigNumber renders its value as real text with an ARIA label — available without vision."}:T?{status:"pass",message:"A screen-reader data table + live region expose the data non-visually (accessibleTable is on)."}:R&&j?{status:"manual",message:"accessibleTable is off; a description + summary are present. Verify they convey everything the chart shows.",fix:"Re-enable accessibleTable, or confirm via screen reader that the text alternative is complete."}:{status:"fail",message:"accessibleTable is disabled and there's no full text alternative — the data is only available visually.",fix:"Remove accessibleTable={false}, or provide a complete description/summary plus a data table."}}),u.push({id:"perceivable.small-text",principle:"perceivable",heuristic:"Small text size",critical:!0,status:"pass",message:"Semiotic's default tick and axis-label fonts are 12px, meeting Chartability's 9pt/12px floor.",fix:"If a theme or override lowers --semiotic-tick-font-size below 12px, raise it back for low-vision audiences."}),u.push({id:"perceivable.seizure-risk",principle:"perceivable",heuristic:"Visual presents seizure risk",critical:!0,...null!=r.pulse||E.has(i)?{status:"manual",message:"Pulse/continuous animation is in use. Confirm nothing flashes more than 3×/sec, especially saturated red.",fix:"Avoid red flashes and rapid (>3 Hz) flicker; reduced-motion is auto-honored, but verify the default presentation."}:{status:"manual",message:"No flashing detected statically. Confirm no element flashes more than 3×/sec.",fix:"Manual check — most static charts pass trivially."}}),null!=r.colorBy){let e=!0===r.directLabel||!0===r.showLabels,t=a(r);u.push({id:"perceivable.color-alone",principle:"perceivable",heuristic:"Color is used alone to communicate meaning",critical:!1,...e?{status:"pass",message:"Categories are encoded by color (colorBy) and also directly labeled, so color isn't the only channel."}:{status:"warn",message:t?"Categories use colorBy and this config authors a HatchFill through styleRules, but a static audit cannot prove those rules give every category a distinct non-color cue. Semiotic does not automatically assign per-category textures.":"Categories are encoded by color (colorBy) with no declared redundant channel. Semiotic supports author-supplied HatchFill patterns through styleRules, but this config has no statically visible HatchFill descriptor and there is no automatic per-category texture assignment.",fix:t?"Verify every category remains distinguishable with color removed; add direct labels where hatching is incomplete, keep categories ≤ ~7, and use a CVD-safe palette.":"Add direct labels (directLabel on LineChart/AreaChart, showLabels on network/hierarchy) or category-targeted styleRules with distinct HatchFill descriptors; keep categories ≤ ~7 and use a CVD-safe palette."}});let i=s(r.colorScheme);u.push({id:"perceivable.cvd-safe",principle:"perceivable",heuristic:"Not CVD-friendly",critical:!1,...i?{status:"pass",message:"colorScheme uses Semiotic's Wong colorblind-safe palette."}:{status:"manual",message:"Color encodes meaning; statically we can't confirm the palette is colorblind-safe.",fix:'Use COLOR_BLIND_SAFE_CATEGORICAL from "semiotic", or test your scheme with Viz Palette / Chroma.'}}),u.push({id:"flexible.textures-adjustable",principle:"flexible",heuristic:"Contrast and textures cannot be adjusted",critical:!1,status:"warn",message:t?"This config uses an author-supplied HatchFill through styleRules, but Semiotic has no automatic, theme-aware per-category texture channel or user-facing texture toggle.":"Semiotic supports author-supplied HatchFill patterns through styleRules, but this config has no statically visible HatchFill descriptor; there is no automatic, theme-aware per-category texture channel or user-facing texture toggle.",fix:t?"Verify the authored hatches cover every meaningful category and remain legible in the active theme; pair them with direct labels and a CVD-safe palette.":"Use category-targeted styleRules with distinct HatchFill descriptors or direct labels so the encoding survives color removal. Contrast itself is themeable via CSS variables."})}{let e=q.filter(o);if(e.length>0){let t=r.autoPlaceAnnotations,a="object"==typeof t&&null!==t&&!0===t.redundantCues,s=e.filter(e=>{if("string"!=typeof e.color)return!1;let t=n(e),s=a&&"text"===t;return!(c(e)||s)});u.push({id:"perceivable.annotation-association",principle:"perceivable",heuristic:"Color is used alone to communicate meaning",critical:!1,...0===s.length?{status:"pass",message:"No annotation relies on color alone to indicate its target — wherever color is used, a connector, enclosure, or reference-line cue is present too."}:{status:"warn",message:`${s.length} of ${e.length} annotation(s) carry a color but no connector, enclosure, or reference-line cue, so a color-blind or non-visual reader can't tie them to their target (the correspondence problem).`,fix:"Add a connector (the label/callout default), place the note adjacent to its target, enclose the target, or enable autoPlaceAnnotations: { redundantCues: true } to give colored text notes a leader line — don't rely on color matching alone."}})}}u.push({id:"operable.single-input-modality",principle:"operable",heuristic:"Interaction modality only has one input type",critical:!0,...C?{status:"pass",message:"Built-in keyboard navigation (arrows/Home/End/PageUp-Down/Enter) mirrors mouse hover."}:{status:"manual",message:`Can't confirm keyboard support for "${i}".`,fix:"Verify Tab + arrow-key operation."}});{let e=[];(null!=r.brush||null!=r.onBrush)&&e.push("brushing"),!0===r.zoomable&&e.push("zoom/pan"),("isolate"===r.legendInteraction||"highlight"===r.legendInteraction)&&e.push("legend filtering"),e.length>0&&u.push({id:"operable.complex-action-alternatives",principle:"operable",heuristic:"Complex actions have no alternatives",critical:!1,status:"warn",message:`Mouse-driven ${e.join(", ")} ${e.length>1?"have":"has"} no built-in keyboard/standard-UI equivalent.`,fix:"Pair the complex interaction with a standard control (range inputs for a brush, buttons for zoom, a checkbox list for legend filtering) operable by keyboard and screen reader."})}{let e=Q[i];if(e&&N){let t=r[e];"number"==typeof t&&t>0&&24>2*t&&u.push({id:"operable.target-size",principle:"operable",heuristic:"Target pointer interaction size is too small",critical:!1,status:"warn",message:`${e}=${t} gives a ~${2*t}px hit target, below the 24×24px minimum for pointer interaction.`,fix:"Increase the radius, or rely on the chart's hoverRadius / keyboard navigation as the alternative for precise selection."})}}u.push({id:"operable.tab-stops",principle:"operable",heuristic:"Inappropriate tab stops",critical:!1,status:X,message:`The chart takes a single tab stop and navigates data with arrow keys${Y} — the recommended pattern for dense charts (no per-datum tab stops to wade through).`}),u.push({id:"operable.interaction-cues",principle:"operable",heuristic:"No interaction cues or instructions",critical:!0,...N?j||R?{status:"manual",message:"Chart is interactive and has descriptive text. Confirm that text explains how to interact (keyboard + pointer).",fix:'State the interaction model in summary, e.g. "Use arrow keys to move between points."'}:{status:"warn",message:"Chart is interactive but nothing explains how to use it.",fix:"Describe the interaction in a summary or nearby text (keyboard navigation, what hover/click reveals)."}:{status:"not-applicable",message:"No interactive behavior detected."}}),u.push({id:"operable.controls-override-at",principle:"operable",heuristic:"Controls override AT controls",critical:!0,status:X,message:`Keyboard handlers fire only while the chart has focus, so they don't hijack page/app screen-reader shortcuts${Y}.`}),u.push({id:"operable.focus-indicator",principle:"operable",heuristic:"Keyboard focus indicator missing, obscured, or low contrast",critical:!1,status:X,message:`A shape-adaptive focus ring (var(--semiotic-focus)) marks the focused element${Y}.`,fix:C?"Ensure --semiotic-focus keeps ≥ 3:1 contrast against your background.":void 0}),u.push({id:"understandable.title-summary-caption",principle:"understandable",heuristic:"No title, summary, or caption",critical:!0,...B?{status:"pass",message:`Provided: ${[F&&"title",R&&"description",j&&"summary"].filter(Boolean).join(", ")}.`}:w?{status:"manual",message:"No title/description/summary on the chart. If the wrapping ChartContainer supplies a title/subtitle, this is covered at that layer — verify it does.",fix:"Give the ChartContainer a title (and optionally enable describe), or set title/description/summary on the chart."}:{status:"fail",message:"No title, description, or summary — the screen reader falls back to a generic label.",fix:"Add title/description/summary on the chart, or wrap it in a ChartContainer (the opt-in layer for title/caption/description chrome)."}}),u.push({id:"understandable.explain-purpose",principle:"understandable",heuristic:"No explanation for purpose or for how to read",critical:!0,...R||j?{status:"pass",message:"A description/summary is available to explain purpose and how to read the chart."}:k?{status:"manual",message:"ChartContainer's describe option explains how to read the chart (type, stats, trend). Confirm the domain purpose — why this chart exists — is also conveyed (title/subtitle).",fix:"Give the ChartContainer a title/subtitle stating the purpose; describe() covers the how-to-read half."}:F?{status:"warn",message:"Only a title is set — a label, not an explanation of purpose or how to read the chart.",fix:"Add a summary, or enable ChartContainer's describe option for an auto-generated how-to-read description."}:{status:"fail",message:"Nothing explains the chart's purpose or how to read it.",fix:"Add a summary/description, or wrap in a ChartContainer with a title and the describe option (the opt-in full-accessibility layer)."}});{let t=[r.description,r.summary].filter(e).join(". "),a=t?h(t):null;u.push({id:"understandable.reading-level",principle:"understandable",heuristic:"Reading level inappropriate",critical:!0,...null==a?{status:"not-applicable",message:"No description/summary text to grade."}:a>9?{status:"warn",message:`Description/summary reads at ~grade ${a.toFixed(0)}; Chartability targets grade 9 or lower.`,fix:"Shorten sentences and prefer common words."}:{status:"pass",message:`Description/summary reads at ~grade ${Math.max(0,Math.round(a))} (≤ 9).`}})}if(H.has(i)){let t=e(r.xLabel),a=e(r.yLabel);u.push({id:"understandable.axis-labels",principle:"understandable",heuristic:"Axis labels are unclear or missing",critical:!1,...t&&a?{status:"pass",message:"Both axes are labeled (xLabel, yLabel)."}:{status:"warn",message:`Missing axis label: ${[!t&&"xLabel",!a&&"yLabel"].filter(Boolean).join(", ")}. Ticks alone may not name the variable.`,fix:"Set xLabel and yLabel to name each axis's variable and units."}})}if(K.has(i)&&u.push({id:"understandable.information-complexity",principle:"understandable",heuristic:"Information complexity is inappropriate",critical:!1,status:"warn",message:"Dual-axis chart: two y-scales are hard to read accurately and notoriously easy to misinterpret (the crossover point is arbitrary).",fix:"Confirm the second axis is necessary; consider two aligned charts (small multiples) or indexing both series to a common baseline. Label each axis and its series unambiguously."}),q.length>1){let e=q.filter(d).length;u.push({id:"understandable.annotation-hierarchy",principle:"understandable",heuristic:"Information complexity is inappropriate",critical:!1,...e===q.length?{status:"pass",message:`All ${q.length} annotation(s) declare hierarchy through emphasis or provenance confidence, so the renderer can resolve reading order and visual priority.`}:0===e?{status:"warn",message:q.length+" annotations are present with no emphasis or provenance confidence; readers may not know which note is primary.",fix:'Mark the main annotation with emphasis="primary", set supporting notes to emphasis="secondary", or provide provenance.confidence so Semiotic can infer order.'}:{status:"warn",message:`${q.length-e} of ${q.length} annotation(s) have no emphasis or provenance confidence; readers may not know which note is primary among the unordered notes.`,fix:"Set emphasis on each annotation (primary/secondary), or provide provenance.confidence on all annotations so Semiotic can infer order."}})}(null!=r.forecast||null!=r.anomaly||null!=r.band||null!=r.regression)&&u.push({id:"understandable.uncertainty",principle:"understandable",heuristic:"Statistical uncertainty isn't clearly communicated",critical:!1,status:"manual",message:"The chart shows a forecast/regression/band/anomaly overlay. Confirm the uncertainty it represents is explained in text, not just drawn.",fix:"State the confidence interval / method in the summary, and label the band so it isn't mistaken for data."}),null!=r.animate&&!1!==r.animate&&u.push({id:"understandable.changes-followable",principle:"understandable",heuristic:"Changes are not easy to follow",critical:!1,status:X,message:`Transitions animate with object constancy and data changes are mirrored to the live region${Y}.`,fix:C?"Keep transition durations in the 250ms–2s range so changes are followable but not slow.":void 0}),u.push({id:"robust.conforms-to-standards",principle:"robust",heuristic:"Does not conform to standards",critical:!1,status:"manual",message:"WCAG 2.1 / Section 508 conformance can't be settled from config alone.",fix:"Run an automated checker (axe) on the rendered output and test with real assistive tech."}),u.push({id:"robust.semantically-valid",principle:"robust",heuristic:"Semantically invalid",critical:!1,status:"manual",message:"Whether interactive elements expose correct roles/names is a render-time, screen-reader question.",fix:"Verify with a screen reader that buttons read as buttons, the chart as an image/group, etc."}),u.push({id:"robust.fragile-technology-support",principle:"robust",heuristic:"Fragile technology support",critical:!1,status:X,message:`Charts render on canvas with an SVG overlay and render to SVG in SSR, so access isn't tied to one rendering path${Y}.`,fix:C?"Still test across NVDA+Firefox, JAWS+Chrome, and VoiceOver+Safari — AT support varies.":void 0}),u.push({id:"compromising.table",principle:"compromising",heuristic:"No table",critical:!0,...$?{status:"not-applicable",message:"Single-value display — a table isn't meaningful."}:T?{status:"pass",message:"A human-readable data table is provided (accessibleTable)."}:{status:"fail",message:"accessibleTable is disabled — no human-readable table of the underlying data.",fix:"Remove accessibleTable={false} (unless title/summary/annotations already convey all the data)."}}),$||u.push({id:"compromising.table-static",principle:"compromising",heuristic:"Table/data is static",critical:!1,...w?{status:"manual",message:"Rendered in a ChartContainer. If a data-download action is enabled, the data is exportable.",fix:"Enable the ChartContainer data-download action so users can save the underlying data (keep it opt-in)."}:{status:"warn",message:"The data table is read-only — not downloadable, sortable, or filterable.",fix:"Wrap the chart in a ChartContainer and enable its data-download action (opt-in, so deployments can withhold it where export isn't allowed)."}}),u.push({id:"compromising.shareable-state",principle:"compromising",heuristic:"State is not easy to share and reproduce",critical:!1,status:C?"pass":"manual",message:`Chart state serializes via toConfig/toURL/copyConfig${C?"":Y}.`,fix:C?"Expose it to users via the ChartContainer copyConfig action or a shareable URL.":void 0}),u.push({id:"compromising.navigable-structure",principle:"compromising",heuristic:"Information cannot be navigated according to narrative or structure",critical:!1,...A?P?{status:"pass",message:"ChartContainer's navigable option mounts a structured navigation tree, including hierarchy/network branches and their data items."}:{status:"pass",message:"ChartContainer's navigable option mounts a structured tree (chart → axes/series → data points) that screen readers can traverse."}:P?{status:"warn",message:"Hierarchical chart: built-in keyboard navigation is largely flat — it doesn't descend the tree structure.",fix:"Enable ChartContainer's navigable option for a structured navigation tree, or lean on the data table and a summary that conveys the hierarchy."}:{status:X,message:`Keyboard navigation steps through points and switches series/groups${Y}.`,fix:C?"For deeper structure (axis → series → datum), enable ChartContainer's navigable option.":void 0}});{let e,t=Array.isArray(r.data)?r.data:null,a=Array.isArray(r.nodes)?r.nodes:null,s={id:"assistive.data-density",principle:"assistive",heuristic:"Data density is inappropriate",critical:!0};e=z.has(i)&&t&&t.length>7?{...s,status:"warn",message:t.length+" slices in a part-to-whole chart. Chartability suggests ≤ 5 categories; many thin slices are hard to perceive and to describe.",fix:'Group small slices into an "Other" category, or switch to a ranked bar chart.'}:a&&a.length>200?{...s,status:"warn",message:a.length+" nodes. A network this size is hard to navigate non-visually node by node.",fix:"Provide a summary of structure (clusters, hubs, components) and consider filtering or aggregating the graph."}:t&&t.length>5e3?{...s,status:"warn",message:t.length+" data points. Canvas renders this fine, but the non-visual table/navigation become unwieldy.",fix:"Aggregate or bin for the accessible representation, or expose summary statistics rather than every row."}:t?{...s,status:"pass",message:t.length+" data points — a reasonable density for non-visual consumption."}:a?{...s,status:"pass",message:a.length+" nodes — a reasonable density for non-visual consumption."}:{...s,status:"manual",message:"Data not provided inline (push mode); verify density at runtime."},u.push(e)}{let e=Array.isArray(r.data)?r.data:null,t=["valueFormat","yFormat","xFormat","tickFormat","format"].some(e=>"function"==typeof r[e]||"string"==typeof r[e]),a=!1;if(e&&!t)for(let t of e.slice(0,50))if(t&&"object"==typeof t){for(let e of Object.values(t))if("number"==typeof e&&Number.isFinite(e)&&Math.abs(e)>=1e5){a=!0;break}if(a)break}a&&u.push({id:"assistive.human-readable-numbers",principle:"assistive",heuristic:"Data in text is not human-readable",critical:!1,status:"warn",message:'Data includes large numbers (≥ 100,000) and no value/tick formatter — screen readers will read every digit (e.g. "six hundred fifty thousand…").',fix:'Pass valueFormat / yFormat (e.g. a compact formatter so 6,500,000 reads as "6.5M"); the formatter flows to ticks, tooltips, and the data table.'})}u.push({id:"assistive.features-described",principle:"assistive",heuristic:"Visually apparent features and relationships are not described",critical:!1,...k?{status:"pass",message:"ChartContainer's describe option auto-generates an L1–L3 description (chart type, statistics, and trend) via describeChart()."}:j?{status:"manual",message:"A summary is present. Confirm it describes trends, extrema, clusters, and outliers — not just what the chart is.",fix:"Cover the L2/L3 content blind readers value most: direction of trend, peak/trough, notable outliers."}:{status:"warn",message:"No text describes the visually apparent trends, extrema, or outliers.",fix:"Enable ChartContainer's describe option (auto-generates via describeChart()), or write a summary covering the key trend and notable points."}}),u.push({id:"assistive.skippable-navigation",principle:"assistive",heuristic:"Navigation and interaction is tedious",critical:!0,...$?{status:"not-applicable",message:"Single value — nothing to skip."}:T?{status:"pass",message:'A "Skip to data table" link lets screen-reader users bypass point-by-point navigation.'}:{status:"warn",message:"accessibleTable is off, removing the skip-to-table affordance.",fix:"Keep accessibleTable enabled so users can skip past dense point navigation."}}),u.push({id:"flexible.user-style-respected",principle:"flexible",heuristic:"User style change not respected",critical:!0,status:X,message:`Styling flows through CSS custom properties and honors forced-colors mode, so user/user-agent style changes cascade in${Y}.`,fix:C?"Avoid hardcoding colors via frameProps style fns that bypass theme variables.":void 0}),u.push({id:"flexible.reduced-motion",principle:"flexible",heuristic:"Long animations cannot be controlled",critical:!1,...E.has(i)||_.has(i)?M?{status:"pass",message:i+" animates continuously and declares an in-chart pause/stop control."}:{status:"warn",message:i+" animates continuously. prefers-reduced-motion is auto-honored, but there's no in-chart pause/stop control for users who don't set that preference.",fix:"Offer a pause/stop control for looping/streaming motion (Chartability requires it for animation > 2s)."}:{status:X,message:`prefers-reduced-motion is auto-detected; transitions fast-forward and looping animation stops${Y}.`}}),f&&(u.push({id:"flexible.sim-pause-control",principle:"flexible",heuristic:"Long animations cannot be controlled",critical:!1,...M?{status:"pass",message:"Physics simulation exposes a pause/stop control for users who need to stop motion."}:{status:"warn",message:"Physics simulation has no declared pause/stop control.",fix:"Provide a visible pause control and set physics.pauseControl=true (or pauseControl=true) so the contract is auditable."}}),u.push({id:"flexible.settled-projection",principle:"flexible",heuristic:"User style change not respected",critical:!1,...O?{status:"pass",message:"A settled-projection table is declared, so non-visual readers get aggregate chart semantics instead of trajectories."}:{status:"warn",message:"Physics chart does not declare a settled projection for its accessible table.",fix:"Provide aggregate rows from the settled projection and set physics.settledProjection=true."}}),u.push({id:"flexible.reduced-motion-settle",principle:"flexible",heuristic:"Long animations cannot be controlled",critical:!1,...U?{status:"pass",message:"Reduced-motion mode settles the simulation to a static chart state instead of freezing bodies mid-flight."}:{status:"warn",message:"Physics chart does not declare reduced-motion synchronous settle behavior.",fix:"In reduced motion, run the world to its settled projection and paint once; set physics.reducedMotionSettle=true."}}));{let e=!0===r.responsiveWidth||!0===r.responsiveHeight,t=J.has(i)&&!0===r.zoomable;u.push({id:"flexible.zoom-reflow",principle:"flexible",heuristic:"Zoom and reflow are not supported",critical:!1,...e?{status:"pass",message:`Chart reflows to its container (${[!0===r.responsiveWidth&&"responsiveWidth",!0===r.responsiveHeight&&"responsiveHeight"].filter(Boolean).join(", ")}), so page zoom doesn't clip it.`}:t?{status:"pass",message:"Geo chart is zoomable/pannable."}:{status:"manual",message:"Fixed width/height — verify the chart survives browser zoom and reflow without clipping or loss of function.",fix:"Use responsiveWidth/responsiveHeight so the chart reflows to its container."}})}p&&(p.encodings?.some(e=>"color"===e.channel&&(!e.redundantWith||0===e.redundantWith.length))&&u.push({id:"perceivable.recipe-color-alone",principle:"perceivable",heuristic:"Color is used alone to communicate meaning",critical:!1,status:"warn",message:p.name+" declares a color encoding without a redundant cue.",fix:"Add shape, label, position, texture, or a textual category summary to the recipe encoding."}),"required"===p.accessibility.description&&!R&&u.push({id:"understandable.recipe-description",principle:"understandable",heuristic:"Features are not described",critical:!1,status:"fail",message:p.name+" requires a recipe-aware description, but none is attached.",fix:"Call describeChart with recipeId/recipe metadata and attach the returned text as description."}),p.accessibility.fallbackTable&&!1===r.accessibleTable&&u.push({id:"compromising.recipe-fallback",principle:"compromising",heuristic:"No data table is provided",critical:!0,status:"fail",message:p.name+" requires a fallback table, but accessibleTable is disabled.",fix:"Enable accessibleTable and preserve recipe-declared table fields on scene nodes."}));let Z=u.filter(e=>"not-applicable"!==e.status).filter(e=>e.critical),ee={criticalsPassed:Z.filter(e=>"pass"===e.status).length,criticalsEvaluated:Z.length,fails:u.filter(e=>"fail"===e.status).length,warnings:u.filter(e=>"warn"===e.status).length,manual:u.filter(e=>"manual"===e.status).length,passes:u.filter(e=>"pass"===e.status).length};return{component:i,ok:!Z.some(e=>"fail"===e.status),summary:ee,findings:u,reference:"Chartability (POUR-CAF) — https://chartability.github.io/POUR-CAF/. Not a pass/fail cert; pair with manual screen-reader testing (NVDA+Firefox, JAWS+Chrome, VoiceOver+Safari)."}}function w(e){let t=[],a=e.summary,s=e.ok?`${a.criticalsPassed}/${a.criticalsEvaluated} critical heuristics pass`:`${a.fails} blocking failure(s) — ${a.criticalsPassed}/${a.criticalsEvaluated} critical heuristics pass`;t.push(`${e.ok?"✓":"✗"} ${e.component}: accessibility audit (Chartability POUR-CAF)`),t.push(` ${s} · ${a.warnings} warning(s) · ${a.manual} to verify manually`);for(let a of Y){let s=e.findings.filter(e=>e.principle===a&&"not-applicable"!==e.status);if(0!==s.length){t.push(""),t.push(" "+a.toUpperCase());for(let e of s)t.push(` ${X[e.status]} ${e.id}${e.critical?" [critical]":""}: ${e.message}`),e.fix&&("fail"===e.status||"warn"===e.status||"manual"===e.status)&&t.push(" → "+e.fix)}}return t.push(""),t.push(" Ref: "+e.reference),t.join("\n")}import{a as x,n as S,o as k}from"./c-UOPPO26M.min.js";var A=["title","description","summary"],$=/* @__PURE__ */new Set(["XYCustomChart","OrdinalCustomChart","NetworkCustomChart","GeoCustomChart","PhysicsCustomChart"]),P=/* @__PURE__ */new Set([...$,"XYFrame","OrdinalFrame","NetworkFrame","GeoFrame"]),F=/* @__PURE__ */new Set(["#0072b2","#e69f00","#009e73","#cc79a7","#56b4e9","#d55e00","#f0e442","#000000"]),R=new Set(["label","callout","callout-circle","callout-rect","text","widget"]),j=new Set(["label","callout","callout-circle","callout-rect"]),L=/* @__PURE__ */new Set(["TreeDiagram","Treemap","CirclePack","OrbitDiagram"]),D=/* @__PURE__ */new Set(["ForceDirectedGraph","SankeyDiagram","ChordDiagram"]),T=/* @__PURE__ */new Set(["BarChart","StackedBarChart","GroupedBarChart","AreaChart","StackedAreaChart"]),B=/* @__PURE__ */new Set(["LineChart","AreaChart","StackedAreaChart"]),N=/* @__PURE__ */new Set(["BarChart","StackedBarChart","GroupedBarChart","FunnelChart"]),M=/* @__PURE__ */new Set(["LineChart","AreaChart","StackedAreaChart","ConnectedScatterplot"]),I=/* @__PURE__ */new Set(["PieChart","DonutChart"]),O={PieChart:"valueAccessor",DonutChart:"valueAccessor",FunnelChart:"valueAccessor"},z=new Set(Object.keys(O)),U={StackedBarChart:"valueAccessor",StackedAreaChart:"yAccessor"},G=/* @__PURE__ */new Set(["BigNumber"]),H=/* @__PURE__ */new Set(["LineChart","AreaChart","DifferenceChart","StackedAreaChart","Scatterplot","ConnectedScatterplot","BubbleChart","QuadrantChart","MultiAxisLineChart","CandlestickChart","Heatmap","MinimapChart"]),V=/* @__PURE__ */new Set(["StreamPhysicsFrame","GaltonBoardChart","EventDropChart","UnitPileChart","CollisionSwarmChart","PacketFlowChart","ProcessFlowChart","PhysicsCustomChart"]),E=/* @__PURE__ */new Set(["OrbitDiagram",...V]),W=/* @__PURE__ */new Set(["GaltonBoardChart","EventDropChart","UnitPileChart","CollisionSwarmChart","PacketFlowChart","ProcessFlowChart","GauntletChart","CrucibleChart"]),q=/* @__PURE__ */new Set(["GaltonBoardChart","EventDropChart","UnitPileChart","CollisionSwarmChart","PacketFlowChart","ProcessFlowChart","GauntletChart","CrucibleChart","PhysicsCustomChart"]),_=/* @__PURE__ */new Set(["RealtimeLineChart","RealtimeHistogram","RealtimeSwarmChart","RealtimeWaterfallChart","RealtimeHeatmap","ProcessSankey"]),K=/* @__PURE__ */new Set(["MultiAxisLineChart"]),J=/* @__PURE__ */new Set(["ChoroplethMap","ProportionalSymbolMap","FlowMap","DistanceCartogram"]),Q={Scatterplot:"pointRadius",BubbleChart:"pointRadius",ConnectedScatterplot:"pointRadius",QuadrantChart:"pointRadius",SwarmPlot:"pointRadius",DotPlot:"dotRadius"},X={pass:"✓",fail:"✗",warn:"⚠",manual:"○","not-applicable":"·"},Y=["perceivable","operable","understandable","robust","compromising","assistive","flexible"];export{r as a,n as b,o as c,c as d,L as e,D as f,T as g,B as h,N as i,M as j,I as k,O as l,U as m,q as n,C as o,w as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t){return t===1/0?1/0:Number.isFinite(t)?Math.max(0,Math.floor(t)):5e3}function e(t){return t===1/0?1/0:Number.isFinite(t)?Math.max(1,Math.floor(t)):5e3}function i(t,e,i,a){return"string"==typeof t?{key:t,fn:null}:"function"==typeof t?{key:i,fn:t}:"string"==typeof e?{key:e,fn:null}:"function"==typeof e?{key:a,fn:e}:{key:void 0,fn:null}}function a(t,e,i){return a=>{if(!a||!i||!t.fn&&!e.fn)return a;let r=!1,n=a.map(i=>{let a=t.fn&&t.key&&!(t.key in i),n=e.fn&&e.key&&!(e.key in i);if(!a&&!n)return i;r=!0;let h={...i};return a&&(h[t.key]=t.fn(i)),n&&(h[e.key]=e.fn(i)),h});return r?n:a}}function r(t,e){return t.__legendMarginReservedFor===e}function n(t,e){return{legendLayout:t.legendLayout,axisChrome:_({showAxes:t.showAxes,xLabel:t.xLabel,yLabel:t.yLabel,yLabelRight:t.yLabelRight,axes:t.axes}),legendMarginReserved:r(t,e)}}function h(t,e){return{legendLayout:t.legendLayout,axisChrome:g({showAxes:t.showAxes,projection:t.projection,hasCategoryLabel:!!(t.categoryLabel??t.oLabel),hasValueLabel:!!(t.valueLabel??t.rLabel)}),legendMarginReserved:r(t,e)}}function s(t){return new Set(Array.isArray(t)?t:[t])}function l(t){for(let e of t){if(void 0!==e._targetOpacity){let t=e._targetOpacity;e.style={...e.style||{},opacity:0===t?0:t},e._targetOpacity=void 0}if("point"===e.type)void 0!==e._targetX&&(e.x=e._targetX,e.y=e._targetY,void 0!==e._targetR&&(e.r=e._targetR),e._targetX=void 0,e._targetY=void 0,e._targetR=void 0);else if("glyph"===e.type)void 0!==e._targetX&&(e.x=e._targetX,e.y=e._targetY,void 0!==e._targetR&&(e.size=e._targetR),e._targetX=void 0,e._targetY=void 0,e._targetR=void 0);else if("rect"===e.type||"heatcell"===e.type)void 0!==e._targetX&&(e.x=e._targetX,e.y=e._targetY,e.w=e._targetW,e.h=e._targetH,e._targetX=void 0,e._targetY=void 0,e._targetW=void 0,e._targetH=void 0);else if("candlestick"===e.type)void 0!==e._targetX&&(e.x=e._targetX,void 0!==e._targetOpenY&&(e.openY=e._targetOpenY),void 0!==e._targetCloseY&&(e.closeY=e._targetCloseY),void 0!==e._targetHighY&&(e.highY=e._targetHighY),void 0!==e._targetLowY&&(e.lowY=e._targetLowY),e._targetX=void 0,e._targetOpenY=void 0,e._targetCloseY=void 0,e._targetHighY=void 0,e._targetLowY=void 0);else if("line"===e.type||"area"===e.type){if(e._introClipFraction=void 0,"line"===e.type&&e._targetPath){for(let t=0;e.path.length>t;t++)e.path[t]=e._targetPath[t];e._prevPath=void 0,e._targetPath=void 0}if("area"===e.type){if(e._targetTopPath)for(let t=0;e.topPath.length>t;t++)e.topPath[t]=e._targetTopPath[t];if(e._targetBottomPath)for(let t=0;e.bottomPath.length>t;t++)e.bottomPath[t]=e._targetBottomPath[t];e._prevTopPath=void 0,e._prevBottomPath=void 0,e._targetTopPath=void 0,e._targetBottomPath=void 0}}}}function u(t){for(let e of t){if(void 0!==e._targetOpacity){let t=e._targetOpacity;e.style={...e.style||{},opacity:0===t?0:t},e._targetOpacity=void 0}"point"===e.type?void 0!==e._targetX?(e.x=e._targetX,e.y=e._targetY,void 0!==e._targetR&&(e.r=e._targetR),e._targetX=void 0,e._targetY=void 0,e._targetR=void 0):void 0!==e._targetR&&(e.r=e._targetR,e._targetR=void 0):"rect"===e.type?void 0!==e._targetX&&(e.x=e._targetX,e.y=e._targetY,e.w=e._targetW,e.h=e._targetH,e._targetX=void 0,e._targetY=void 0,e._targetW=void 0,e._targetH=void 0):"wedge"===e.type&&void 0!==e._targetStartAngle&&(e.startAngle=e._targetStartAngle,e.endAngle=e._targetEndAngle,e._targetStartAngle=void 0,e._targetEndAngle=void 0)}}function o(t,e){let i=t.domain(),a=i[0],r=i[i.length-1],n=a instanceof Date,h=a instanceof Date?a.getTime():a,s=r instanceof Date?r.getTime():r;if(2>e||h===s)return n?[new Date(h),new Date(s)]:[h,s];let l=(s-h)/(e-1),u=Array(e);for(let t=0;e>t;t++){let i=t===e-1?s:h+t*l;u[t]=n?new Date(i):i}return u}function d(t,e,i){return"exact"===i?o(t,e):t.ticks(e)}import{A as g,b as c,y as _}from"./c-G53AVC42.min.js";var f=class{constructor(){this._min=1/0,this._max=-1/0,this._dirty=!1}push(t){Number.isFinite(t)&&(this._min>t&&(this._min=t),t>this._max&&(this._max=t))}evict(t){(t===this._min||t===this._max)&&(this._dirty=!0)}recalculate(t,e){this._min=1/0,this._max=-1/0;for(let i of t){let t=e?e(i):i;Number.isFinite(t)&&(this._min>t&&(this._min=t),t>this._max&&(this._max=t))}this._dirty=!1}clear(){this._min=1/0,this._max=-1/0,this._dirty=!1}get extent(){return[this._min,this._max]}get min(){return this._min}get max(){return this._max}get dirty(){return this._dirty}},m=class{constructor(i,a){this.lastBoundedData=null,this.chunkTimer=null,this.pushBuffer=[],this.flushScheduled=!1,this.callback=i,this.chunkThreshold=t(a?.chunkThreshold),this.chunkSize=e(a?.chunkSize)}updateChunkOptions(i){this.chunkThreshold=t(i.chunkThreshold),this.chunkSize=e(i.chunkSize)}clearLastData(){this.lastBoundedData=null,this.pushBuffer=[],this.flushScheduled=!1,null!==this.chunkTimer&&(cancelAnimationFrame(this.chunkTimer),this.chunkTimer=null)}setBoundedData(t){if(t=c(t),this.lastBoundedData===t)return;if(this.lastBoundedData=t,null!==this.chunkTimer&&(cancelAnimationFrame(this.chunkTimer),this.chunkTimer=null),this.chunkThreshold>=t.length)return void this.callback({inserts:t,bounded:!0});this.callback({inserts:t.slice(0,this.chunkSize),bounded:!0,totalSize:t.length});let e=this.chunkSize,i=()=>{if(e>=t.length)return void(this.chunkTimer=null);if(t!==this.lastBoundedData)return void(this.chunkTimer=null);let a=Math.min(e+this.chunkSize,t.length);this.callback({inserts:t.slice(e,a),bounded:!1}),e=a,this.chunkTimer=t.length>e?requestAnimationFrame(i):null};this.chunkTimer=t.length>e?requestAnimationFrame(i):null}setReplacementData(t){if(t=c(t),this.lastBoundedData=t,null!==this.chunkTimer&&(cancelAnimationFrame(this.chunkTimer),this.chunkTimer=null),this.pushBuffer=[],this.flushScheduled=!1,this.chunkThreshold>=t.length)return void this.callback({inserts:t,bounded:!0,preserveCategoryOrder:!0});this.callback({inserts:t.slice(0,this.chunkSize),bounded:!0,preserveCategoryOrder:!0,totalSize:t.length});let e=this.chunkSize,i=()=>{if(e>=t.length)return void(this.chunkTimer=null);if(t!==this.lastBoundedData)return void(this.chunkTimer=null);let a=Math.min(e+this.chunkSize,t.length);this.callback({inserts:t.slice(e,a),bounded:!1}),e=a,this.chunkTimer=t.length>e?requestAnimationFrame(i):null};this.chunkTimer=t.length>e?requestAnimationFrame(i):null}flushPushBuffer(){if(this.flushScheduled=!1,0===this.pushBuffer.length)return;let t=this.pushBuffer;this.pushBuffer=[],this.callback({inserts:t,bounded:!1})}scheduleFlush(){this.flushScheduled||(this.flushScheduled=!0,queueMicrotask(()=>this.flushPushBuffer()))}push(t){null==t||"object"!=typeof t||(this.pushBuffer.push(t),this.scheduleFlush())}pushMany(t){if(0===t.length)return;let e=0;for(let i=0;t.length>i;i++){let a=t[i];null==a||"object"!=typeof a||(this.pushBuffer.push(a),e++)}0!==e&&this.scheduleFlush()}flush(){this.flushPushBuffer()}clear(){null!==this.chunkTimer&&(cancelAnimationFrame(this.chunkTimer),this.chunkTimer=null),this.lastBoundedData=null,this.pushBuffer=[],this.flushScheduled=!1}};export{m as a,f as b,s as c,l as d,u as e,d as f,i as g,a as h,n as i,h as j};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t,l,i,s,n){if(0>=l.size)return;let c=l.glyph;if(!c||!c.parts?.length)return;let f=e(c,l.size);if(0>=f.scale)return;let p=(l.style.opacity??1)*(l._decayOpacity??1);if(0>=p)return;let y=l=>{let e=r(t,l,l);return"string"==typeof e?e:l},h=l.color??("string"==typeof l.style.fill?l.style.fill:void 0);t.save(),t.translate(i,s),l.rotation&&t.rotate(l.rotation),t.translate(f.offsetX,f.offsetY),t.scale(f.scale,f.scale),t.globalAlpha=n*p*(l.style.fillOpacity??1);let g=a(c,l.fraction??1,l.fractionStart??0,l.fractionDirection??"horizontal");g&&l.ghostColor&&o(t,c,h,l.accent,l.ghostColor,y),g&&(t.beginPath(),t.rect(g.x,g.y,g.width,g.height),t.clip()),o(t,c,h,l.accent,void 0,y),t.restore()}function l(l,e){let a=l.globalAlpha;for(let o of e)"glyph"===o.type&&t(l,o,o.cx,o.cy,a);l.globalAlpha=a}import{d as e,h as a,j as o,x as r}from"./c-3BYZXCX3.min.js";var i=(l,e)=>{let a=l.globalAlpha;for(let o of e)"glyph"===o.type&&t(l,o,o.x,o.y,a);l.globalAlpha=a};export{i as a,l as b};
|