@m0saic/templates 0.2.0
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/LICENSE +13 -0
- package/README.md +7 -0
- package/dist/freeze.d.ts +406 -0
- package/dist/freeze.js +855 -0
- package/dist/gen-geometry-matrix.d.ts +1 -0
- package/dist/gen-geometry-matrix.js +177 -0
- package/dist/gen-geometry-proof.d.ts +1 -0
- package/dist/gen-geometry-proof.js +259 -0
- package/dist/gen-layout-envelope.d.ts +1 -0
- package/dist/gen-layout-envelope.js +120 -0
- package/dist/gen-precision-sweep.d.ts +1 -0
- package/dist/gen-precision-sweep.js +219 -0
- package/dist/gen-props-shape.d.ts +1 -0
- package/dist/gen-props-shape.js +269 -0
- package/dist/gen-template-audit.d.ts +1 -0
- package/dist/gen-template-audit.js +379 -0
- package/dist/gen-template-manifest.d.ts +1 -0
- package/dist/gen-template-manifest.js +162 -0
- package/dist/gen-web-template-ids.d.ts +1 -0
- package/dist/gen-web-template-ids.js +65 -0
- package/dist/geometry-audit.d.ts +149 -0
- package/dist/geometry-audit.js +368 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +29 -0
- package/dist/m0saic/_shared/onboarding-cover.d.ts +95 -0
- package/dist/m0saic/_shared/onboarding-cover.js +247 -0
- package/dist/m0saic/_shared/raster.d.ts +28 -0
- package/dist/m0saic/_shared/raster.js +146 -0
- package/dist/m0saic/_shared/svgRaster.d.ts +40 -0
- package/dist/m0saic/_shared/svgRaster.js +142 -0
- package/dist/m0saic/agents/commit-feed/index.d.ts +1 -0
- package/dist/m0saic/agents/commit-feed/index.js +17 -0
- package/dist/m0saic/agents/commit-feed/v1/commit-feed.d.ts +68 -0
- package/dist/m0saic/agents/commit-feed/v1/commit-feed.js +293 -0
- package/dist/m0saic/agents/commit-feed/v1/index.d.ts +2 -0
- package/dist/m0saic/agents/commit-feed/v1/index.js +11 -0
- package/dist/m0saic/agents/index.d.ts +7 -0
- package/dist/m0saic/agents/index.js +25 -0
- package/dist/m0saic/agents/trace-timeline/index.d.ts +1 -0
- package/dist/m0saic/agents/trace-timeline/index.js +17 -0
- package/dist/m0saic/agents/trace-timeline/v1/index.d.ts +2 -0
- package/dist/m0saic/agents/trace-timeline/v1/index.js +15 -0
- package/dist/m0saic/agents/trace-timeline/v1/trace-timeline.d.ts +73 -0
- package/dist/m0saic/agents/trace-timeline/v1/trace-timeline.js +356 -0
- package/dist/m0saic/alpine/_shared/alpine-anim.d.ts +65 -0
- package/dist/m0saic/alpine/_shared/alpine-anim.js +142 -0
- package/dist/m0saic/alpine/_shared/alpine-card.d.ts +114 -0
- package/dist/m0saic/alpine/_shared/alpine-card.js +193 -0
- package/dist/m0saic/alpine/_shared/alpine-glyphs.d.ts +23 -0
- package/dist/m0saic/alpine/_shared/alpine-glyphs.js +46 -0
- package/dist/m0saic/alpine/_shared/alpine-theme.d.ts +84 -0
- package/dist/m0saic/alpine/_shared/alpine-theme.js +155 -0
- package/dist/m0saic/alpine/bar-graph/v1/bar-graph.d.ts +85 -0
- package/dist/m0saic/alpine/bar-graph/v1/bar-graph.js +558 -0
- package/dist/m0saic/alpine/bar-graph/v1/index.d.ts +5 -0
- package/dist/m0saic/alpine/bar-graph/v1/index.js +9 -0
- package/dist/m0saic/alpine/commit-feed/v1/commit-feed.d.ts +64 -0
- package/dist/m0saic/alpine/commit-feed/v1/commit-feed.js +261 -0
- package/dist/m0saic/alpine/commit-feed/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/commit-feed/v1/index.js +5 -0
- package/dist/m0saic/alpine/commit-feed/v2/commit-feed.d.ts +78 -0
- package/dist/m0saic/alpine/commit-feed/v2/commit-feed.js +509 -0
- package/dist/m0saic/alpine/commit-feed/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/commit-feed/v2/index.js +5 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/README.md +13 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/layout-lite.m0 +9 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/layout-standard.m0 +9 -0
- package/dist/m0saic/alpine/contributor-table/v1/contributor-table.d.ts +76 -0
- package/dist/m0saic/alpine/contributor-table/v1/contributor-table.js +651 -0
- package/dist/m0saic/alpine/contributor-table/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/contributor-table/v1/index.js +5 -0
- package/dist/m0saic/alpine/donut/v1/donut.d.ts +55 -0
- package/dist/m0saic/alpine/donut/v1/donut.js +322 -0
- package/dist/m0saic/alpine/donut/v1/index.d.ts +5 -0
- package/dist/m0saic/alpine/donut/v1/index.js +9 -0
- package/dist/m0saic/alpine/donut/v2/donut.d.ts +58 -0
- package/dist/m0saic/alpine/donut/v2/donut.js +268 -0
- package/dist/m0saic/alpine/donut/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/donut/v2/index.js +5 -0
- package/dist/m0saic/alpine/donut/v3/donut.d.ts +65 -0
- package/dist/m0saic/alpine/donut/v3/donut.js +428 -0
- package/dist/m0saic/alpine/donut/v3/index.d.ts +1 -0
- package/dist/m0saic/alpine/donut/v3/index.js +5 -0
- package/dist/m0saic/alpine/heatmap/v1/heatmap.d.ts +68 -0
- package/dist/m0saic/alpine/heatmap/v1/heatmap.js +370 -0
- package/dist/m0saic/alpine/heatmap/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/heatmap/v1/index.js +5 -0
- package/dist/m0saic/alpine/heatmap/v2/heatmap.d.ts +73 -0
- package/dist/m0saic/alpine/heatmap/v2/heatmap.js +582 -0
- package/dist/m0saic/alpine/heatmap/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/heatmap/v2/index.js +5 -0
- package/dist/m0saic/alpine/index.d.ts +20 -0
- package/dist/m0saic/alpine/index.js +37 -0
- package/dist/m0saic/alpine/kpi-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/kpi-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/kpi-card/v1/kpi-card.d.ts +54 -0
- package/dist/m0saic/alpine/kpi-card/v1/kpi-card.js +311 -0
- package/dist/m0saic/alpine/kpi-card/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/kpi-card/v2/index.js +5 -0
- package/dist/m0saic/alpine/kpi-card/v2/kpi-card.d.ts +60 -0
- package/dist/m0saic/alpine/kpi-card/v2/kpi-card.js +362 -0
- package/dist/m0saic/alpine/leaderboard/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/leaderboard/v1/index.js +5 -0
- package/dist/m0saic/alpine/leaderboard/v1/leaderboard.d.ts +58 -0
- package/dist/m0saic/alpine/leaderboard/v1/leaderboard.js +313 -0
- package/dist/m0saic/alpine/line-chart/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/line-chart/v1/index.js +5 -0
- package/dist/m0saic/alpine/line-chart/v1/line-chart.d.ts +70 -0
- package/dist/m0saic/alpine/line-chart/v1/line-chart.js +408 -0
- package/dist/m0saic/alpine/line-chart/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/line-chart/v2/index.js +5 -0
- package/dist/m0saic/alpine/line-chart/v2/line-chart.d.ts +72 -0
- package/dist/m0saic/alpine/line-chart/v2/line-chart.js +434 -0
- package/dist/m0saic/alpine/progress-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/progress-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/progress-card/v1/progress-card.d.ts +53 -0
- package/dist/m0saic/alpine/progress-card/v1/progress-card.js +333 -0
- package/dist/m0saic/alpine/stat-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/stat-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/stat-card/v1/stat-card.d.ts +76 -0
- package/dist/m0saic/alpine/stat-card/v1/stat-card.js +295 -0
- package/dist/m0saic/alpine/timeline/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/timeline/v1/index.js +5 -0
- package/dist/m0saic/alpine/timeline/v1/timeline.d.ts +55 -0
- package/dist/m0saic/alpine/timeline/v1/timeline.js +266 -0
- package/dist/m0saic/alpine/timeline/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/timeline/v2/index.js +5 -0
- package/dist/m0saic/alpine/timeline/v2/timeline.d.ts +61 -0
- package/dist/m0saic/alpine/timeline/v2/timeline.js +371 -0
- package/dist/m0saic/alpine/treemap/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/treemap/v1/index.js +5 -0
- package/dist/m0saic/alpine/treemap/v1/treemap.d.ts +56 -0
- package/dist/m0saic/alpine/treemap/v1/treemap.js +326 -0
- package/dist/m0saic/alpine/treemap/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/treemap/v2/index.js +5 -0
- package/dist/m0saic/alpine/treemap/v2/treemap.d.ts +59 -0
- package/dist/m0saic/alpine/treemap/v2/treemap.js +323 -0
- package/dist/m0saic/benchmark/battery/assets/media/README.md +16 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-av.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-01.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-02.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-03.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-04.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/duration-long.mosaic +80 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/encoders-base.mosaic +32 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/geometry-grid.mosaic +592 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/lifetime-window-fade.mosaic +28 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-bar-graph.mosaic +1980 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-donut.mosaic +797 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-screencap-grid.mosaic +4591 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-stat-card.mosaic +187 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-audio.mosaic +31 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-lavfi.mosaic +32 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-media.mosaic +73 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-nested.mosaic +48 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-ref.mosaic +24 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-text.mosaic +120 -0
- package/dist/m0saic/benchmark/battery/manifest.d.ts +65 -0
- package/dist/m0saic/benchmark/battery/manifest.js +97 -0
- package/dist/m0saic/benchmark/index.d.ts +2 -0
- package/dist/m0saic/benchmark/index.js +22 -0
- package/dist/m0saic/benchmark/report/v1/assets/m-logo.png +0 -0
- package/dist/m0saic/benchmark/report/v1/assets/sample-session/benchmark.json +41 -0
- package/dist/m0saic/benchmark/report/v1/index.d.ts +1 -0
- package/dist/m0saic/benchmark/report/v1/index.js +17 -0
- package/dist/m0saic/benchmark/report/v1/report.d.ts +23 -0
- package/dist/m0saic/benchmark/report/v1/report.js +242 -0
- package/dist/m0saic/benchmark/run/v1/benchmarkRun.d.ts +57 -0
- package/dist/m0saic/benchmark/run/v1/benchmarkRun.js +151 -0
- package/dist/m0saic/benchmark/run/v1/confirmation.d.ts +11 -0
- package/dist/m0saic/benchmark/run/v1/confirmation.js +48 -0
- package/dist/m0saic/benchmark/run/v1/index.d.ts +1 -0
- package/dist/m0saic/benchmark/run/v1/index.js +17 -0
- package/dist/m0saic/benchmark/run/v1/renderScenario.d.ts +12 -0
- package/dist/m0saic/benchmark/run/v1/renderScenario.js +122 -0
- package/dist/m0saic/benchmark/run/v1/runner.d.ts +10 -0
- package/dist/m0saic/benchmark/run/v1/runner.js +208 -0
- package/dist/m0saic/brand/business-card/v1/back-catalog.d.ts +68 -0
- package/dist/m0saic/brand/business-card/v1/back-catalog.js +121 -0
- package/dist/m0saic/brand/business-card/v1/business-card.d.ts +82 -0
- package/dist/m0saic/brand/business-card/v1/business-card.js +517 -0
- package/dist/m0saic/brand/business-card/v1/index.d.ts +4 -0
- package/dist/m0saic/brand/business-card/v1/index.js +16 -0
- package/dist/m0saic/brand/business-card/v1/layout.d.ts +163 -0
- package/dist/m0saic/brand/business-card/v1/layout.js +369 -0
- package/dist/m0saic/brand/community-m/v1/camera.d.ts +45 -0
- package/dist/m0saic/brand/community-m/v1/camera.js +44 -0
- package/dist/m0saic/brand/community-m/v1/caption.d.ts +5 -0
- package/dist/m0saic/brand/community-m/v1/caption.js +18 -0
- package/dist/m0saic/brand/community-m/v1/community-m.d.ts +25 -0
- package/dist/m0saic/brand/community-m/v1/community-m.js +117 -0
- package/dist/m0saic/brand/community-m/v1/community-m.web.d.ts +3 -0
- package/dist/m0saic/brand/community-m/v1/community-m.web.js +172 -0
- package/dist/m0saic/brand/community-m/v1/gen-seed-piece.d.ts +1 -0
- package/dist/m0saic/brand/community-m/v1/gen-seed-piece.js +59 -0
- package/dist/m0saic/brand/community-m/v1/geometry.d.ts +44 -0
- package/dist/m0saic/brand/community-m/v1/geometry.js +68 -0
- package/dist/m0saic/brand/community-m/v1/imageSize.node.d.ts +3 -0
- package/dist/m0saic/brand/community-m/v1/imageSize.node.js +60 -0
- package/dist/m0saic/brand/community-m/v1/index.d.ts +1 -0
- package/dist/m0saic/brand/community-m/v1/index.js +5 -0
- package/dist/m0saic/brand/community-m/v1/loadPiece.node.d.ts +14 -0
- package/dist/m0saic/brand/community-m/v1/loadPiece.node.js +69 -0
- package/dist/m0saic/brand/community-m/v1/manifest.d.ts +22 -0
- package/dist/m0saic/brand/community-m/v1/manifest.js +81 -0
- package/dist/m0saic/brand/community-m/v1/mark.d.ts +76 -0
- package/dist/m0saic/brand/community-m/v1/mark.js +136 -0
- package/dist/m0saic/brand/community-m/v1/paths.d.ts +14 -0
- package/dist/m0saic/brand/community-m/v1/paths.js +61 -0
- package/dist/m0saic/brand/community-m/v1/piece.d.ts +28 -0
- package/dist/m0saic/brand/community-m/v1/piece.js +35 -0
- package/dist/m0saic/brand/community-m/v1/pipeline.d.ts +122 -0
- package/dist/m0saic/brand/community-m/v1/pipeline.js +461 -0
- package/dist/m0saic/brand/community-m/v1/preview.d.ts +75 -0
- package/dist/m0saic/brand/community-m/v1/preview.js +214 -0
- package/dist/m0saic/brand/community-m/v1/props.d.ts +101 -0
- package/dist/m0saic/brand/community-m/v1/props.js +178 -0
- package/dist/m0saic/brand/community-m/v1/reveal.d.ts +129 -0
- package/dist/m0saic/brand/community-m/v1/reveal.js +155 -0
- package/dist/m0saic/brand/community-m/v1/seedPiece.d.ts +57 -0
- package/dist/m0saic/brand/community-m/v1/seedPiece.js +153 -0
- package/dist/m0saic/brand/community-m/v1/target.d.ts +88 -0
- package/dist/m0saic/brand/community-m/v1/target.js +132 -0
- package/dist/m0saic/brand/community-m/v1/timing.d.ts +32 -0
- package/dist/m0saic/brand/community-m/v1/timing.js +57 -0
- package/dist/m0saic/brand/community-m/v1/webPiece.d.ts +23 -0
- package/dist/m0saic/brand/community-m/v1/webPiece.js +42 -0
- package/dist/m0saic/brand/community-m/v1/wordmark.d.ts +34 -0
- package/dist/m0saic/brand/community-m/v1/wordmark.js +62 -0
- package/dist/m0saic/brand/index.d.ts +7 -0
- package/dist/m0saic/brand/index.js +17 -0
- package/dist/m0saic/brand/logo/v1/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v1/index.js +5 -0
- package/dist/m0saic/brand/logo/v1/logo.d.ts +30 -0
- package/dist/m0saic/brand/logo/v1/logo.js +471 -0
- package/dist/m0saic/brand/logo/v2/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v2/index.js +5 -0
- package/dist/m0saic/brand/logo/v2/logo.d.ts +30 -0
- package/dist/m0saic/brand/logo/v2/logo.js +615 -0
- package/dist/m0saic/brand/logo/v3/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v3/index.js +5 -0
- package/dist/m0saic/brand/logo/v3/logo.d.ts +36 -0
- package/dist/m0saic/brand/logo/v3/logo.js +666 -0
- package/dist/m0saic/brand/logo/v3/logo_runner.d.ts +36 -0
- package/dist/m0saic/brand/logo/v3/logo_runner.js +216 -0
- package/dist/m0saic/brand/qr-stamp/assets/brand-qr-with-logo.svg +8 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.mp4 +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.static.png +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.mp4 +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.static.png +0 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/index.d.ts +2 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/index.js +10 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.d.ts +45 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.js +347 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/index.d.ts +2 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/index.js +9 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.d.ts +43 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.js +447 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/windows.d.ts +19 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/windows.js +24 -0
- package/dist/m0saic/charts/_shared/index.d.ts +8 -0
- package/dist/m0saic/charts/_shared/index.js +24 -0
- package/dist/m0saic/charts/_shared/line.d.ts +100 -0
- package/dist/m0saic/charts/_shared/line.js +134 -0
- package/dist/m0saic/charts/_shared/scale.d.ts +9 -0
- package/dist/m0saic/charts/_shared/scale.js +17 -0
- package/dist/m0saic/charts/bar-graph/v1/anim.d.ts +83 -0
- package/dist/m0saic/charts/bar-graph/v1/anim.js +104 -0
- package/dist/m0saic/charts/bar-graph/v1/axis.d.ts +51 -0
- package/dist/m0saic/charts/bar-graph/v1/axis.js +73 -0
- package/dist/m0saic/charts/bar-graph/v1/bar-graph.d.ts +44 -0
- package/dist/m0saic/charts/bar-graph/v1/bar-graph.js +316 -0
- package/dist/m0saic/charts/bar-graph/v1/defaults.d.ts +88 -0
- package/dist/m0saic/charts/bar-graph/v1/defaults.js +157 -0
- package/dist/m0saic/charts/bar-graph/v1/format.d.ts +46 -0
- package/dist/m0saic/charts/bar-graph/v1/format.js +95 -0
- package/dist/m0saic/charts/bar-graph/v1/index.d.ts +31 -0
- package/dist/m0saic/charts/bar-graph/v1/index.js +36 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.d.ts +53 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.js +198 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.d.ts +4 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.js +154 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.d.ts +41 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.js +208 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.d.ts +32 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.js +124 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/labels.d.ts +52 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/labels.js +504 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/plot-area.d.ts +24 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/plot-area.js +180 -0
- package/dist/m0saic/charts/bar-graph/v1/types.d.ts +326 -0
- package/dist/m0saic/charts/bar-graph/v1/types.js +36 -0
- package/dist/m0saic/charts/bar-graph/v2/bar-graph.d.ts +131 -0
- package/dist/m0saic/charts/bar-graph/v2/bar-graph.js +768 -0
- package/dist/m0saic/charts/bar-graph/v2/index.d.ts +10 -0
- package/dist/m0saic/charts/bar-graph/v2/index.js +14 -0
- package/dist/m0saic/charts/donut/v1/anim.d.ts +54 -0
- package/dist/m0saic/charts/donut/v1/anim.js +84 -0
- package/dist/m0saic/charts/donut/v1/donut.d.ts +87 -0
- package/dist/m0saic/charts/donut/v1/donut.js +400 -0
- package/dist/m0saic/charts/donut/v1/geometry.d.ts +55 -0
- package/dist/m0saic/charts/donut/v1/geometry.js +115 -0
- package/dist/m0saic/charts/donut/v1/index.d.ts +11 -0
- package/dist/m0saic/charts/donut/v1/index.js +17 -0
- package/dist/m0saic/charts/donut/v2/donut.d.ts +67 -0
- package/dist/m0saic/charts/donut/v2/donut.js +307 -0
- package/dist/m0saic/charts/donut/v2/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v2/index.js +14 -0
- package/dist/m0saic/charts/donut/v3/anim.d.ts +47 -0
- package/dist/m0saic/charts/donut/v3/anim.js +77 -0
- package/dist/m0saic/charts/donut/v3/donut.d.ts +54 -0
- package/dist/m0saic/charts/donut/v3/donut.js +531 -0
- package/dist/m0saic/charts/donut/v3/geometry.d.ts +74 -0
- package/dist/m0saic/charts/donut/v3/geometry.js +152 -0
- package/dist/m0saic/charts/donut/v3/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v3/index.js +14 -0
- package/dist/m0saic/charts/donut/v4/donut.d.ts +63 -0
- package/dist/m0saic/charts/donut/v4/donut.js +546 -0
- package/dist/m0saic/charts/donut/v4/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v4/index.js +14 -0
- package/dist/m0saic/charts/index.d.ts +8 -0
- package/dist/m0saic/charts/index.js +25 -0
- package/dist/m0saic/charts/line-chart/v1/anim.d.ts +78 -0
- package/dist/m0saic/charts/line-chart/v1/anim.js +119 -0
- package/dist/m0saic/charts/line-chart/v1/axis.d.ts +48 -0
- package/dist/m0saic/charts/line-chart/v1/axis.js +55 -0
- package/dist/m0saic/charts/line-chart/v1/card.d.ts +27 -0
- package/dist/m0saic/charts/line-chart/v1/card.js +44 -0
- package/dist/m0saic/charts/line-chart/v1/chrome-spec.d.ts +110 -0
- package/dist/m0saic/charts/line-chart/v1/chrome-spec.js +208 -0
- package/dist/m0saic/charts/line-chart/v1/chrome.d.ts +30 -0
- package/dist/m0saic/charts/line-chart/v1/chrome.js +335 -0
- package/dist/m0saic/charts/line-chart/v1/defaults.d.ts +65 -0
- package/dist/m0saic/charts/line-chart/v1/defaults.js +151 -0
- package/dist/m0saic/charts/line-chart/v1/format.d.ts +26 -0
- package/dist/m0saic/charts/line-chart/v1/format.js +76 -0
- package/dist/m0saic/charts/line-chart/v1/frame.d.ts +50 -0
- package/dist/m0saic/charts/line-chart/v1/frame.js +62 -0
- package/dist/m0saic/charts/line-chart/v1/geometry.d.ts +15 -0
- package/dist/m0saic/charts/line-chart/v1/geometry.js +34 -0
- package/dist/m0saic/charts/line-chart/v1/index.d.ts +16 -0
- package/dist/m0saic/charts/line-chart/v1/index.js +21 -0
- package/dist/m0saic/charts/line-chart/v1/line-chart.d.ts +26 -0
- package/dist/m0saic/charts/line-chart/v1/line-chart.js +634 -0
- package/dist/m0saic/charts/line-chart/v1/line-series.d.ts +69 -0
- package/dist/m0saic/charts/line-chart/v1/line-series.js +259 -0
- package/dist/m0saic/charts/line-chart/v1/types.d.ts +328 -0
- package/dist/m0saic/charts/line-chart/v1/types.js +24 -0
- package/dist/m0saic/charts/stat-card/v1/index.d.ts +10 -0
- package/dist/m0saic/charts/stat-card/v1/index.js +15 -0
- package/dist/m0saic/charts/stat-card/v1/stat-card.d.ts +78 -0
- package/dist/m0saic/charts/stat-card/v1/stat-card.js +475 -0
- package/dist/m0saic/code/_shared/code-diff.d.ts +73 -0
- package/dist/m0saic/code/_shared/code-diff.js +220 -0
- package/dist/m0saic/code/_shared/code-lexer.d.ts +28 -0
- package/dist/m0saic/code/_shared/code-lexer.js +226 -0
- package/dist/m0saic/code/_shared/code-metrics.d.ts +58 -0
- package/dist/m0saic/code/_shared/code-metrics.js +140 -0
- package/dist/m0saic/code/_shared/code-theme.d.ts +30 -0
- package/dist/m0saic/code/_shared/code-theme.js +141 -0
- package/dist/m0saic/code/index.d.ts +1 -0
- package/dist/m0saic/code/index.js +17 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/chrome.d.ts +60 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/chrome.js +252 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/plan.d.ts +90 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/plan.js +226 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/steps.d.ts +103 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/steps.js +313 -0
- package/dist/m0saic/code/snippet-morph/v1/snippet-morph.d.ts +61 -0
- package/dist/m0saic/code/snippet-morph/v1/snippet-morph.js +462 -0
- package/dist/m0saic/collage/image-collage/v1/demo-fixture.d.ts +18 -0
- package/dist/m0saic/collage/image-collage/v1/demo-fixture.js +30 -0
- package/dist/m0saic/collage/image-collage/v1/emit.d.ts +81 -0
- package/dist/m0saic/collage/image-collage/v1/emit.js +163 -0
- package/dist/m0saic/collage/image-collage/v1/image-collage.d.ts +63 -0
- package/dist/m0saic/collage/image-collage/v1/image-collage.js +386 -0
- package/dist/m0saic/collage/image-collage/v1/index.d.ts +2 -0
- package/dist/m0saic/collage/image-collage/v1/index.js +5 -0
- package/dist/m0saic/collage/image-collage/v1/packer/candidates.d.ts +71 -0
- package/dist/m0saic/collage/image-collage/v1/packer/candidates.js +211 -0
- package/dist/m0saic/collage/image-collage/v1/packer/classify.d.ts +26 -0
- package/dist/m0saic/collage/image-collage/v1/packer/classify.js +70 -0
- package/dist/m0saic/collage/image-collage/v1/packer/index.d.ts +7 -0
- package/dist/m0saic/collage/image-collage/v1/packer/index.js +23 -0
- package/dist/m0saic/collage/image-collage/v1/packer/paging.d.ts +39 -0
- package/dist/m0saic/collage/image-collage/v1/packer/paging.js +139 -0
- package/dist/m0saic/collage/image-collage/v1/packer/score.d.ts +25 -0
- package/dist/m0saic/collage/image-collage/v1/packer/score.js +69 -0
- package/dist/m0saic/collage/image-collage/v1/packer/solve.d.ts +27 -0
- package/dist/m0saic/collage/image-collage/v1/packer/solve.js +84 -0
- package/dist/m0saic/collage/image-collage/v1/packer/tiler.d.ts +65 -0
- package/dist/m0saic/collage/image-collage/v1/packer/tiler.js +607 -0
- package/dist/m0saic/collage/image-collage/v1/packer/types.d.ts +99 -0
- package/dist/m0saic/collage/image-collage/v1/packer/types.js +10 -0
- package/dist/m0saic/collage/image-collage/v1/tutorial.d.ts +17 -0
- package/dist/m0saic/collage/image-collage/v1/tutorial.js +269 -0
- package/dist/m0saic/collage/index.d.ts +2 -0
- package/dist/m0saic/collage/index.js +18 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.d.ts +7 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.js +11 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/index.d.ts +1 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/index.js +5 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.d.ts +29 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.js +78 -0
- package/dist/m0saic/dsl-tutorial/index.d.ts +1 -0
- package/dist/m0saic/dsl-tutorial/index.js +18 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.d.ts +24 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.js +17 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.d.ts +6 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.js +9 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.d.ts +57 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.js +156 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.d.ts +76 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.js +127 -0
- package/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.d.ts +124 -0
- package/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.js +675 -0
- package/dist/m0saic/dsl-tutorial/v1/index.d.ts +24 -0
- package/dist/m0saic/dsl-tutorial/v1/index.js +35 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.d.ts +113 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.js +573 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.d.ts +83 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.js +373 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.d.ts +48 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.js +366 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.d.ts +54 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.js +304 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.d.ts +110 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.js +443 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/camera.d.ts +64 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/camera.js +177 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.d.ts +47 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.js +64 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.d.ts +61 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.js +135 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.d.ts +62 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.js +197 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/timing.d.ts +117 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/timing.js +180 -0
- package/dist/m0saic/dsl-tutorial/v1/theme/tokens.d.ts +87 -0
- package/dist/m0saic/dsl-tutorial/v1/theme/tokens.js +96 -0
- package/dist/m0saic/forensic/index.d.ts +1 -0
- package/dist/m0saic/forensic/index.js +17 -0
- package/dist/m0saic/forensic/watermark/_shared/cellLuminance.d.ts +37 -0
- package/dist/m0saic/forensic/watermark/_shared/cellLuminance.js +62 -0
- package/dist/m0saic/forensic/watermark/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/index.js +18 -0
- package/dist/m0saic/forensic/watermark/verify/index.d.ts +1 -0
- package/dist/m0saic/forensic/watermark/verify/index.js +17 -0
- package/dist/m0saic/forensic/watermark/verify/v1/decode.d.ts +83 -0
- package/dist/m0saic/forensic/watermark/verify/v1/decode.js +270 -0
- package/dist/m0saic/forensic/watermark/verify/v1/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/verify/v1/index.js +23 -0
- package/dist/m0saic/forensic/watermark/verify/v1/report.d.ts +71 -0
- package/dist/m0saic/forensic/watermark/verify/v1/report.js +428 -0
- package/dist/m0saic/forensic/watermark/verify/v1/verify.d.ts +55 -0
- package/dist/m0saic/forensic/watermark/verify/v1/verify.js +286 -0
- package/dist/m0saic/forensic/watermark/video/index.d.ts +1 -0
- package/dist/m0saic/forensic/watermark/video/index.js +17 -0
- package/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.d.ts +119 -0
- package/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.js +629 -0
- package/dist/m0saic/forensic/watermark/video/v1/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/video/v1/index.js +9 -0
- package/dist/m0saic/forensic/watermark/video/v1/maskAsset.d.ts +67 -0
- package/dist/m0saic/forensic/watermark/video/v1/maskAsset.js +125 -0
- package/dist/m0saic/forensic/watermark/video/v1/probeHost.d.ts +69 -0
- package/dist/m0saic/forensic/watermark/video/v1/probeHost.js +83 -0
- package/dist/m0saic/github/client.d.ts +200 -0
- package/dist/m0saic/github/client.js +161 -0
- package/dist/m0saic/github/connection.d.ts +24 -0
- package/dist/m0saic/github/connection.js +91 -0
- package/dist/m0saic/github/index.d.ts +20 -0
- package/dist/m0saic/github/index.js +42 -0
- package/dist/m0saic/github/repo-facts-fetcher/index.d.ts +4 -0
- package/dist/m0saic/github/repo-facts-fetcher/index.js +20 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.d.ts +54 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.js +238 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/facts.d.ts +112 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/facts.js +12 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.d.ts +67 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.js +210 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.d.ts +16 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.js +175 -0
- package/dist/m0saic/github/week-math.d.ts +50 -0
- package/dist/m0saic/github/week-math.js +96 -0
- package/dist/m0saic/github/weekly-pulse/index.d.ts +1 -0
- package/dist/m0saic/github/weekly-pulse/index.js +17 -0
- package/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.d.ts +51 -0
- package/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.js +153 -0
- package/dist/m0saic/github/weekly-pulse-adapter/index.d.ts +2 -0
- package/dist/m0saic/github/weekly-pulse-adapter/index.js +18 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.d.ts +24 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.js +257 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.d.ts +35 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.js +131 -0
- package/dist/m0saic/github/year-card/index.d.ts +1 -0
- package/dist/m0saic/github/year-card/index.js +17 -0
- package/dist/m0saic/github/year-card/v1/index.d.ts +2 -0
- package/dist/m0saic/github/year-card/v1/index.js +16 -0
- package/dist/m0saic/github/year-card/v1/year-card.d.ts +90 -0
- package/dist/m0saic/github/year-card/v1/year-card.js +476 -0
- package/dist/m0saic/hello-world/index.d.ts +1 -0
- package/dist/m0saic/hello-world/index.js +18 -0
- package/dist/m0saic/hello-world/v1/hello-world.d.ts +4 -0
- package/dist/m0saic/hello-world/v1/hello-world.js +36 -0
- package/dist/m0saic/hello-world/v1/index.d.ts +5 -0
- package/dist/m0saic/hello-world/v1/index.js +9 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/bake-fin-qr.sh +11 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg-logo.png +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg_logo_480x480.svg +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/m-hero.png +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/qr-fin.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-desktop.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-layout.m0p +5146 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-mobile.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-square.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/title-layout.m0p +130 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.d.ts +151 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.js +305 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.d.ts +178 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.js +238 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.js +12 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.d.ts +67 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.js +59 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.d.ts +54 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.js +173 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.js +178 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.js +164 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.js +159 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.d.ts +31 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.js +154 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/index.d.ts +10 -0
- package/dist/m0saic/hero/ffmpeg-pulse/index.js +24 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.d.ts +38 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.js +161 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.d.ts +36 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.js +151 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.d.ts +54 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.js +128 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.d.ts +29 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.js +47 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.d.ts +20 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.js +365 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.d.ts +38 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.js +174 -0
- package/dist/m0saic/hero/index.d.ts +1 -0
- package/dist/m0saic/hero/index.js +18 -0
- package/dist/m0saic/index.d.ts +20 -0
- package/dist/m0saic/index.js +56 -0
- package/dist/m0saic/media/barcode/v1/barcode.d.ts +22 -0
- package/dist/m0saic/media/barcode/v1/barcode.js +218 -0
- package/dist/m0saic/media/barcode/v1/index.d.ts +1 -0
- package/dist/m0saic/media/barcode/v1/index.js +9 -0
- package/dist/m0saic/media/blur-regions/index.d.ts +1 -0
- package/dist/m0saic/media/blur-regions/index.js +17 -0
- package/dist/m0saic/media/blur-regions/v1/blur-regions.d.ts +58 -0
- package/dist/m0saic/media/blur-regions/v1/blur-regions.js +303 -0
- package/dist/m0saic/media/blur-regions/v1/index.d.ts +2 -0
- package/dist/m0saic/media/blur-regions/v1/index.js +20 -0
- package/dist/m0saic/media/blur-regions/v1/plan.d.ts +125 -0
- package/dist/m0saic/media/blur-regions/v1/plan.js +204 -0
- package/dist/m0saic/media/blur-regions/v1/tutorial.d.ts +18 -0
- package/dist/m0saic/media/blur-regions/v1/tutorial.js +428 -0
- package/dist/m0saic/media/highlights/index.d.ts +1 -0
- package/dist/m0saic/media/highlights/index.js +17 -0
- package/dist/m0saic/media/highlights/v1/assets/cover-ranges.jpg +0 -0
- package/dist/m0saic/media/highlights/v1/highlights.d.ts +49 -0
- package/dist/m0saic/media/highlights/v1/highlights.js +222 -0
- package/dist/m0saic/media/highlights/v1/index.d.ts +3 -0
- package/dist/m0saic/media/highlights/v1/index.js +19 -0
- package/dist/m0saic/media/highlights/v1/pipeline.d.ts +35 -0
- package/dist/m0saic/media/highlights/v1/pipeline.js +91 -0
- package/dist/m0saic/media/highlights/v1/plan.d.ts +46 -0
- package/dist/m0saic/media/highlights/v1/plan.js +68 -0
- package/dist/m0saic/media/index.d.ts +13 -0
- package/dist/m0saic/media/index.js +31 -0
- package/dist/m0saic/media/logo-animate/index.d.ts +1 -0
- package/dist/m0saic/media/logo-animate/index.js +17 -0
- package/dist/m0saic/media/logo-animate/v1/default-logo.d.ts +12 -0
- package/dist/m0saic/media/logo-animate/v1/default-logo.js +49 -0
- package/dist/m0saic/media/logo-animate/v1/expressions.d.ts +66 -0
- package/dist/m0saic/media/logo-animate/v1/expressions.js +107 -0
- package/dist/m0saic/media/logo-animate/v1/index.d.ts +2 -0
- package/dist/m0saic/media/logo-animate/v1/index.js +5 -0
- package/dist/m0saic/media/logo-animate/v1/layout.d.ts +29 -0
- package/dist/m0saic/media/logo-animate/v1/layout.js +43 -0
- package/dist/m0saic/media/logo-animate/v1/logo-animate.d.ts +106 -0
- package/dist/m0saic/media/logo-animate/v1/logo-animate.js +732 -0
- package/dist/m0saic/media/logo-animate/v1/svg-source.d.ts +63 -0
- package/dist/m0saic/media/logo-animate/v1/svg-source.js +127 -0
- package/dist/m0saic/media/logo-animate/v1/tutorial.d.ts +16 -0
- package/dist/m0saic/media/logo-animate/v1/tutorial.js +378 -0
- package/dist/m0saic/media/metadata-stamp/index.d.ts +1 -0
- package/dist/m0saic/media/metadata-stamp/index.js +17 -0
- package/dist/m0saic/media/metadata-stamp/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/metadata-stamp/v1/format-date.d.ts +52 -0
- package/dist/m0saic/media/metadata-stamp/v1/format-date.js +128 -0
- package/dist/m0saic/media/metadata-stamp/v1/index.d.ts +4 -0
- package/dist/m0saic/media/metadata-stamp/v1/index.js +10 -0
- package/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.d.ts +58 -0
- package/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.js +534 -0
- package/dist/m0saic/media/qr/_shared/brandMCenter.d.ts +28 -0
- package/dist/m0saic/media/qr/_shared/brandMCenter.js +52 -0
- package/dist/m0saic/media/qr/animate/v1/expressions.d.ts +164 -0
- package/dist/m0saic/media/qr/animate/v1/expressions.js +251 -0
- package/dist/m0saic/media/qr/animate/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/animate/v1/index.js +9 -0
- package/dist/m0saic/media/qr/animate/v1/qr-animate.d.ts +171 -0
- package/dist/m0saic/media/qr/animate/v1/qr-animate.js +775 -0
- package/dist/m0saic/media/qr/animate/v2/index.d.ts +2 -0
- package/dist/m0saic/media/qr/animate/v2/index.js +9 -0
- package/dist/m0saic/media/qr/animate/v2/qr-animate.d.ts +64 -0
- package/dist/m0saic/media/qr/animate/v2/qr-animate.js +341 -0
- package/dist/m0saic/media/qr/basic/v1/index.d.ts +1 -0
- package/dist/m0saic/media/qr/basic/v1/index.js +10 -0
- package/dist/m0saic/media/qr/basic/v1/qr.d.ts +24 -0
- package/dist/m0saic/media/qr/basic/v1/qr.js +132 -0
- package/dist/m0saic/media/qr/code/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/code/v1/index.js +9 -0
- package/dist/m0saic/media/qr/code/v1/qr-code.d.ts +135 -0
- package/dist/m0saic/media/qr/code/v1/qr-code.js +611 -0
- package/dist/m0saic/media/qr/index.d.ts +7 -0
- package/dist/m0saic/media/qr/index.js +19 -0
- package/dist/m0saic/media/qr/rounded/v1/index.d.ts +1 -0
- package/dist/m0saic/media/qr/rounded/v1/index.js +9 -0
- package/dist/m0saic/media/qr/rounded/v1/qr-rounded.d.ts +68 -0
- package/dist/m0saic/media/qr/rounded/v1/qr-rounded.js +338 -0
- package/dist/m0saic/media/qr/stamp/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.d.ts +44 -0
- package/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.js +389 -0
- package/dist/m0saic/media/qr/stamp-video/v1/expressions.d.ts +10 -0
- package/dist/m0saic/media/qr/stamp-video/v1/expressions.js +18 -0
- package/dist/m0saic/media/qr/stamp-video/v1/gleamBand.d.ts +115 -0
- package/dist/m0saic/media/qr/stamp-video/v1/gleamBand.js +206 -0
- package/dist/m0saic/media/qr/stamp-video/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/stamp-video/v1/index.js +9 -0
- package/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.d.ts +82 -0
- package/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.js +424 -0
- package/dist/m0saic/media/screencap_grid/index.d.ts +3 -0
- package/dist/m0saic/media/screencap_grid/index.js +9 -0
- package/dist/m0saic/media/screencap_grid/internal/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/internal/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/internal/info_pane.d.ts +13 -0
- package/dist/m0saic/media/screencap_grid/internal/info_pane.js +130 -0
- package/dist/m0saic/media/screencap_grid/v1/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/v1/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/v1/screencap-grid.d.ts +162 -0
- package/dist/m0saic/media/screencap_grid/v1/screencap-grid.js +690 -0
- package/dist/m0saic/media/screencap_grid/v2/assets/tutorial-sheet.jpg +0 -0
- package/dist/m0saic/media/screencap_grid/v2/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/v2/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.d.ts +9 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.js +12 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.d.ts +97 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.js +367 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.d.ts +38 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.js +530 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid.d.ts +194 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid.js +615 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/index.js +5 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/assets/pair-sheet.jpg +0 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.js +5 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.d.ts +18 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.js +191 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.d.ts +13 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.js +355 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.d.ts +179 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.js +544 -0
- package/dist/m0saic/media/scroll_wall/index.d.ts +1 -0
- package/dist/m0saic/media/scroll_wall/index.js +5 -0
- package/dist/m0saic/media/scroll_wall/v1/geometry.d.ts +131 -0
- package/dist/m0saic/media/scroll_wall/v1/geometry.js +172 -0
- package/dist/m0saic/media/scroll_wall/v1/index.d.ts +1 -0
- package/dist/m0saic/media/scroll_wall/v1/index.js +5 -0
- package/dist/m0saic/media/scroll_wall/v1/motion.d.ts +114 -0
- package/dist/m0saic/media/scroll_wall/v1/motion.js +141 -0
- package/dist/m0saic/media/scroll_wall/v1/scroll-wall.d.ts +182 -0
- package/dist/m0saic/media/scroll_wall/v1/scroll-wall.js +432 -0
- package/dist/m0saic/media/subtitle-burn/index.d.ts +1 -0
- package/dist/m0saic/media/subtitle-burn/index.js +17 -0
- package/dist/m0saic/media/subtitle-burn/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/subtitle-burn/v1/index.d.ts +1 -0
- package/dist/m0saic/media/subtitle-burn/v1/index.js +6 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.d.ts +13 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.js +196 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.d.ts +137 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.js +603 -0
- package/dist/m0saic/media/trickplay/index.d.ts +1 -0
- package/dist/m0saic/media/trickplay/index.js +17 -0
- package/dist/m0saic/media/trickplay/v1/index.d.ts +4 -0
- package/dist/m0saic/media/trickplay/v1/index.js +18 -0
- package/dist/m0saic/media/trickplay/v1/pipeline.d.ts +51 -0
- package/dist/m0saic/media/trickplay/v1/pipeline.js +180 -0
- package/dist/m0saic/media/trickplay/v1/plan.d.ts +65 -0
- package/dist/m0saic/media/trickplay/v1/plan.js +76 -0
- package/dist/m0saic/media/trickplay/v1/sidecars.d.ts +79 -0
- package/dist/m0saic/media/trickplay/v1/sidecars.js +89 -0
- package/dist/m0saic/media/trickplay/v1/trickplay.d.ts +40 -0
- package/dist/m0saic/media/trickplay/v1/trickplay.js +123 -0
- package/dist/m0saic/media/video_to_png_sequence/index.d.ts +1 -0
- package/dist/m0saic/media/video_to_png_sequence/index.js +5 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/index.d.ts +1 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/index.js +5 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.d.ts +37 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.js +234 -0
- package/dist/m0saic/media/watermark/index.d.ts +1 -0
- package/dist/m0saic/media/watermark/index.js +17 -0
- package/dist/m0saic/media/watermark/v1/adaptive.d.ts +85 -0
- package/dist/m0saic/media/watermark/v1/adaptive.js +162 -0
- package/dist/m0saic/media/watermark/v1/content.d.ts +56 -0
- package/dist/m0saic/media/watermark/v1/content.js +160 -0
- package/dist/m0saic/media/watermark/v1/geometry.d.ts +138 -0
- package/dist/m0saic/media/watermark/v1/geometry.js +247 -0
- package/dist/m0saic/media/watermark/v1/index.d.ts +3 -0
- package/dist/m0saic/media/watermark/v1/index.js +5 -0
- package/dist/m0saic/media/watermark/v1/pageGrid.d.ts +105 -0
- package/dist/m0saic/media/watermark/v1/pageGrid.js +203 -0
- package/dist/m0saic/media/watermark/v1/pipeline.d.ts +68 -0
- package/dist/m0saic/media/watermark/v1/pipeline.js +324 -0
- package/dist/m0saic/media/watermark/v1/watermark.d.ts +88 -0
- package/dist/m0saic/media/watermark/v1/watermark.js +452 -0
- package/dist/m0saic/meta/camera-debug/index.d.ts +1 -0
- package/dist/m0saic/meta/camera-debug/index.js +17 -0
- package/dist/m0saic/meta/camera-debug/v1/camera-debug.d.ts +98 -0
- package/dist/m0saic/meta/camera-debug/v1/camera-debug.js +490 -0
- package/dist/m0saic/meta/fixture-fetcher/index.d.ts +1 -0
- package/dist/m0saic/meta/fixture-fetcher/index.js +17 -0
- package/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.d.ts +76 -0
- package/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.js +159 -0
- package/dist/m0saic/meta/hot-reload-smoke/index.d.ts +1 -0
- package/dist/m0saic/meta/hot-reload-smoke/index.js +17 -0
- package/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.d.ts +50 -0
- package/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.js +131 -0
- package/dist/m0saic/meta/index.d.ts +13 -0
- package/dist/m0saic/meta/index.js +29 -0
- package/dist/m0saic/meta/post-mortem/index.d.ts +1 -0
- package/dist/m0saic/meta/post-mortem/index.js +17 -0
- package/dist/m0saic/meta/post-mortem/v1/assets/human.png +0 -0
- package/dist/m0saic/meta/post-mortem/v1/assets/robot.png +0 -0
- package/dist/m0saic/meta/post-mortem/v1/post-mortem.d.ts +47 -0
- package/dist/m0saic/meta/post-mortem/v1/post-mortem.js +634 -0
- package/dist/m0saic/meta/upstream-echo/index.d.ts +1 -0
- package/dist/m0saic/meta/upstream-echo/index.js +17 -0
- package/dist/m0saic/meta/upstream-echo/v1/upstream-echo.d.ts +52 -0
- package/dist/m0saic/meta/upstream-echo/v1/upstream-echo.js +138 -0
- package/dist/m0saic/primitives/grid/index.d.ts +2 -0
- package/dist/m0saic/primitives/grid/index.js +7 -0
- package/dist/m0saic/primitives/grid/v1/grid.d.ts +85 -0
- package/dist/m0saic/primitives/grid/v1/grid.js +217 -0
- package/dist/m0saic/primitives/grid/v2/grid.d.ts +80 -0
- package/dist/m0saic/primitives/grid/v2/grid.js +150 -0
- package/dist/m0saic/primitives/index.d.ts +1 -0
- package/dist/m0saic/primitives/index.js +17 -0
- package/dist/m0saic/social/index.d.ts +1 -0
- package/dist/m0saic/social/index.js +17 -0
- package/dist/m0saic/social/quote-card/index.d.ts +1 -0
- package/dist/m0saic/social/quote-card/index.js +17 -0
- package/dist/m0saic/social/quote-card/v1/index.d.ts +2 -0
- package/dist/m0saic/social/quote-card/v1/index.js +5 -0
- package/dist/m0saic/social/quote-card/v1/layout.d.ts +119 -0
- package/dist/m0saic/social/quote-card/v1/layout.js +323 -0
- package/dist/m0saic/social/quote-card/v1/quote-card.d.ts +51 -0
- package/dist/m0saic/social/quote-card/v1/quote-card.js +310 -0
- package/dist/m0saic/story/index.d.ts +2 -0
- package/dist/m0saic/story/index.js +20 -0
- package/dist/m0saic/story/narrated-chapters/index.d.ts +1 -0
- package/dist/m0saic/story/narrated-chapters/index.js +17 -0
- package/dist/m0saic/story/narrated-chapters/v1/captions.d.ts +42 -0
- package/dist/m0saic/story/narrated-chapters/v1/captions.js +200 -0
- package/dist/m0saic/story/narrated-chapters/v1/demo-fixture.d.ts +13 -0
- package/dist/m0saic/story/narrated-chapters/v1/demo-fixture.js +52 -0
- package/dist/m0saic/story/narrated-chapters/v1/index.d.ts +2 -0
- package/dist/m0saic/story/narrated-chapters/v1/index.js +5 -0
- package/dist/m0saic/story/narrated-chapters/v1/kenburns.d.ts +50 -0
- package/dist/m0saic/story/narrated-chapters/v1/kenburns.js +0 -0
- package/dist/m0saic/story/narrated-chapters/v1/layout.d.ts +103 -0
- package/dist/m0saic/story/narrated-chapters/v1/layout.js +162 -0
- package/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.d.ts +22 -0
- package/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.js +160 -0
- package/dist/m0saic/story/narrated-chapters/v1/pipeline.d.ts +43 -0
- package/dist/m0saic/story/narrated-chapters/v1/pipeline.js +94 -0
- package/dist/m0saic/story/narrated-chapters/v1/plan.d.ts +144 -0
- package/dist/m0saic/story/narrated-chapters/v1/plan.js +372 -0
- package/dist/m0saic/story/narrated-chapters/v1/props.d.ts +147 -0
- package/dist/m0saic/story/narrated-chapters/v1/props.js +205 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/body.d.ts +64 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/body.js +253 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/card.d.ts +40 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/card.js +201 -0
- package/dist/m0saic/story/narrated-chapters/v1/theme.d.ts +25 -0
- package/dist/m0saic/story/narrated-chapters/v1/theme.js +38 -0
- package/dist/m0saic/story/scrapbook/v1/document.d.ts +41 -0
- package/dist/m0saic/story/scrapbook/v1/document.js +124 -0
- package/dist/m0saic/story/scrapbook/v1/index.d.ts +1 -0
- package/dist/m0saic/story/scrapbook/v1/index.js +9 -0
- package/dist/m0saic/story/scrapbook/v1/page.d.ts +34 -0
- package/dist/m0saic/story/scrapbook/v1/page.js +121 -0
- package/dist/m0saic/story/scrapbook/v1/pages.d.ts +29 -0
- package/dist/m0saic/story/scrapbook/v1/pages.js +37 -0
- package/dist/m0saic/story/scrapbook/v1/pipeline.d.ts +44 -0
- package/dist/m0saic/story/scrapbook/v1/pipeline.js +130 -0
- package/dist/m0saic/story/scrapbook/v1/placeholder.d.ts +22 -0
- package/dist/m0saic/story/scrapbook/v1/placeholder.js +51 -0
- package/dist/m0saic/story/scrapbook/v1/props.d.ts +66 -0
- package/dist/m0saic/story/scrapbook/v1/props.js +80 -0
- package/dist/m0saic/story/scrapbook/v1/scrapbook.d.ts +23 -0
- package/dist/m0saic/story/scrapbook/v1/scrapbook.js +77 -0
- package/dist/m0saic/theming/index.d.ts +1 -0
- package/dist/m0saic/theming/index.js +17 -0
- package/dist/m0saic/theming/v1/brand-m-glyph.d.ts +14 -0
- package/dist/m0saic/theming/v1/brand-m-glyph.js +12 -0
- package/dist/m0saic/theming/v1/index.d.ts +2 -0
- package/dist/m0saic/theming/v1/index.js +16 -0
- package/dist/m0saic/theming/v1/theme-tokens.d.ts +71 -0
- package/dist/m0saic/theming/v1/theme-tokens.js +111 -0
- package/dist/m0saic/theming/v1/theming.d.ts +18 -0
- package/dist/m0saic/theming/v1/theming.js +94 -0
- package/dist/m0saic/theming/v1/token-sheet.d.ts +23 -0
- package/dist/m0saic/theming/v1/token-sheet.js +191 -0
- package/dist/m0saic/web/index.d.ts +1 -0
- package/dist/m0saic/web/index.js +17 -0
- package/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.d.ts +1 -0
- package/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.js +528 -0
- package/dist/m0saic/web/page-skeleton/v1/index.d.ts +1 -0
- package/dist/m0saic/web/page-skeleton/v1/index.js +5 -0
- package/dist/m0saic/web/page-skeleton/v1/layout.d.ts +107 -0
- package/dist/m0saic/web/page-skeleton/v1/layout.js +246 -0
- package/dist/m0saic/web/page-skeleton/v1/page-skeleton.d.ts +148 -0
- package/dist/m0saic/web/page-skeleton/v1/page-skeleton.js +787 -0
- package/dist/m0saic/web/page-skeleton/v1/sample-capture.d.ts +7 -0
- package/dist/m0saic/web/page-skeleton/v1/sample-capture.js +50 -0
- package/dist/m0saic/web/page-skeleton/v1/schema.d.ts +35 -0
- package/dist/m0saic/web/page-skeleton/v1/schema.js +132 -0
- package/dist/m0saic/wireframe/animated/v1/animated-wireframe.d.ts +93 -0
- package/dist/m0saic/wireframe/animated/v1/animated-wireframe.js +580 -0
- package/dist/m0saic/wireframe/animated/v1/index.d.ts +1 -0
- package/dist/m0saic/wireframe/animated/v1/index.js +5 -0
- package/dist/m0saic/wireframe/base/v1/index.d.ts +1 -0
- package/dist/m0saic/wireframe/base/v1/index.js +5 -0
- package/dist/m0saic/wireframe/base/v1/wireframe.d.ts +68 -0
- package/dist/m0saic/wireframe/base/v1/wireframe.js +372 -0
- package/dist/m0saic/wireframe/base/v2/index.d.ts +2 -0
- package/dist/m0saic/wireframe/base/v2/index.js +9 -0
- package/dist/m0saic/wireframe/base/v2/wireframe.d.ts +166 -0
- package/dist/m0saic/wireframe/base/v2/wireframe.js +1181 -0
- package/dist/m0saic/wireframe/index.d.ts +4 -0
- package/dist/m0saic/wireframe/index.js +16 -0
- package/dist/m0saic/wireframe/utils/paperGrid.d.ts +53 -0
- package/dist/m0saic/wireframe/utils/paperGrid.js +91 -0
- package/dist/m0saic/wireframe/utils/wireframeCell.d.ts +35 -0
- package/dist/m0saic/wireframe/utils/wireframeCell.js +278 -0
- package/dist/registry.d.ts +4 -0
- package/dist/registry.js +7 -0
- package/dist/repo.d.ts +11 -0
- package/dist/repo.js +39 -0
- package/dist/template-registry.d.ts +18 -0
- package/dist/template-registry.js +888 -0
- package/dist/web.d.ts +35 -0
- package/dist/web.js +88 -0
- package/dist/webTemplateIds.d.ts +6 -0
- package/dist/webTemplateIds.js +80 -0
- package/package.json +52 -0
- package/template-manifest.json +1635 -0
- package/web-template-ids.json +84 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* @m0saic/hero/ffmpeg-pulse/contributions/v1 — Weekly Pulse · Contributions (Beat 5)
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* The SAME chrome as the other beats (BEAT chip top-left, FFmpeg logo in line with
|
|
7
|
+
* the title, subtitle, footer, baked scatter, bg-first timing) wrapping a
|
|
8
|
+
* GitHub-style contribution heatmap (nested @m0saic/alpine/heatmap — 7 weekday rows ×
|
|
9
|
+
* N week columns, green intensity scale) on the left + a rail of aggregate activity
|
|
10
|
+
* stat tiles (nested @m0saic/alpine/stat-card) on the right.
|
|
11
|
+
*
|
|
12
|
+
* Driven by `pulse.activity.grid` (trailing N-week commits-by-day matrix) + reuses
|
|
13
|
+
* `pulse.activity.rail`. The heatmap self-surfaces theme.card, so a theme.card
|
|
14
|
+
* backdrop at ±pad behind it keeps the panel edges aligned (cohesive).
|
|
15
|
+
* Aspect-adaptive; deterministic; reduceMotion → static.
|
|
16
|
+
* ============================================================================
|
|
17
|
+
*/
|
|
18
|
+
import type { MosaicTemplate } from "@m0saic/types";
|
|
19
|
+
import { type PulsePreset } from "../../_shared/pulse-theme";
|
|
20
|
+
import { type WeeklyPulse } from "../../_shared/pulse-data";
|
|
21
|
+
type AnimConfig = {
|
|
22
|
+
introFrac: number;
|
|
23
|
+
reduceMotion: boolean;
|
|
24
|
+
};
|
|
25
|
+
type ContributionsProps = {
|
|
26
|
+
pulse: WeeklyPulse;
|
|
27
|
+
eyebrow?: string;
|
|
28
|
+
headline?: string;
|
|
29
|
+
subtitle?: string;
|
|
30
|
+
preset?: PulsePreset;
|
|
31
|
+
renderMode?: "premium" | "light";
|
|
32
|
+
anim?: AnimConfig;
|
|
33
|
+
animate?: boolean;
|
|
34
|
+
debugLayout?: boolean;
|
|
35
|
+
};
|
|
36
|
+
export declare const FfmpegPulseContributions: MosaicTemplate<ContributionsProps>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FfmpegPulseContributions = void 0;
|
|
4
|
+
const types_1 = require("@m0saic/types");
|
|
5
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
6
|
+
const alpine_card_1 = require("../../../../alpine/_shared/alpine-card");
|
|
7
|
+
const pulse_chrome_1 = require("../../_shared/pulse-chrome");
|
|
8
|
+
const pulse_theme_1 = require("../../_shared/pulse-theme");
|
|
9
|
+
const pulse_data_1 = require("../../_shared/pulse-data");
|
|
10
|
+
const pulse_glyphs_1 = require("../../_shared/pulse-glyphs");
|
|
11
|
+
const DEFAULT_PRESET = "dark";
|
|
12
|
+
const DEFAULT_ANIM = { introFrac: 0.7, reduceMotion: false };
|
|
13
|
+
const GEOM = {
|
|
14
|
+
desktop: { nativeW: 1920, nativeH: 1080, margin: 140,
|
|
15
|
+
beat: { x: 140, y: 66, w: 128, h: 42 }, logo: { x: 140, y: 138, w: 116, h: 116 }, title: { x: 276, y: 150, w: 980, h: 92 }, subtitle: { x: 142, y: 282, w: 760, h: 34 },
|
|
16
|
+
footer: { x: 140, y: 1006, w: 560, h: 50 }, heat: { x: 140, y: 384, w: 980, h: 600 }, rail: { x0: 1160, y0: 384, cols: 2, cw: 290, ch: 288, gx: 20, gy: 24 } },
|
|
17
|
+
square: { nativeW: 1080, nativeH: 1080, margin: 170,
|
|
18
|
+
beat: { x: 170, y: 40, w: 120, h: 38 }, logo: { x: 170, y: 104, w: 92, h: 92 }, title: { x: 282, y: 120, w: 628, h: 60 }, subtitle: { x: 172, y: 202, w: 720, h: 30 },
|
|
19
|
+
footer: { x: 170, y: 1026, w: 420, h: 34 }, heat: { x: 170, y: 252, w: 740, h: 380 },
|
|
20
|
+
rail: { x0: 170, y0: 652, cols: 2, cw: 360, ch: 178, gx: 20, gy: 16 } },
|
|
21
|
+
mobile: { nativeW: 1080, nativeH: 1920, margin: 80,
|
|
22
|
+
beat: { x: 80, y: 110, w: 150, h: 46 }, logo: { x: 80, y: 196, w: 130, h: 130 }, title: { x: 230, y: 228, w: 760, h: 74 }, subtitle: { x: 82, y: 332, w: 760, h: 38 },
|
|
23
|
+
footer: { x: 80, y: 1800, w: 640, h: 56 }, heat: { x: 80, y: 430, w: 920, h: 740 },
|
|
24
|
+
rail: { x0: 80, y0: 1200, cols: 2, cw: 448, ch: 290, gx: 24, gy: 16 } },
|
|
25
|
+
};
|
|
26
|
+
// activity rail KPI key → glyph key.
|
|
27
|
+
const RAIL_GLYPH = { totalCommits: "commits", peakDay: "stars", dailyAvg: "commits", activeDays: "contributors", contributors: "contributors", additions: "additions", deletions: "deletions" };
|
|
28
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
29
|
+
pulse: { type: "group", required: false, description: "Weekly Pulse data sheet (activity.grid drives the heatmap, activity.rail the tiles).", meta: { ui: { label: "Pulse data", order: 1, consumer: "agent" } } },
|
|
30
|
+
eyebrow: { type: "string", required: false, description: "Beat chip label.", meta: { control: { placeholder: "BEAT 5" }, ui: { label: "Eyebrow", order: 1 } } },
|
|
31
|
+
headline: { type: "string", required: false, description: "Beat title.", meta: { control: { placeholder: "CONTRIBUTIONS" }, ui: { label: "Headline", order: 2 } } },
|
|
32
|
+
subtitle: { type: "string", required: false, description: "One-line beat subtitle.", meta: { ui: { label: "Subtitle", order: 3 } } },
|
|
33
|
+
preset: { type: "string", required: false, description: "Pulse theme variant.", meta: { constraints: { oneOf: ["dark"] }, ui: { label: "Preset", order: 10 } } },
|
|
34
|
+
renderMode: { type: "string", required: false, description: "Render weight for this beat's nested charts/cards. \"premium\" (default): alpha-fade reveals — the softer look; the engine's enable-gating makes the per-pixel geq nearly free. \"light\": geq-free enable-gate pops — cheapest, most composable when nested many-deep. Set by the runner.", meta: { constraints: { oneOf: ["light", "premium"] }, ui: { label: "Render mode", order: 11 } } },
|
|
35
|
+
anim: { type: "group", required: false, description: "Intro: introFrac, reduceMotion.", meta: { ui: { label: "Animation", collapsedByDefault: true, consumer: "agent" } } },
|
|
36
|
+
animate: { type: "boolean", required: false, description: "Animate the heatmap cascade + content fade.", meta: { ui: { label: "Animate", consumer: "human", order: 1 }, control: { syncsTo: [{ prop: "anim.reduceMotion", map: { kind: "boolInvert" } }] } } },
|
|
37
|
+
debugLayout: { type: "boolean", required: false, description: "Dev-only layout contract: assert the shared chrome (header cluster top-band, footer bottom-band) + this beat's content/rail panels hold their canvas-fraction zones at any resolution/aspect; on violation render a LAYOUT_CONTRACT error mosaic + stamp editor.layoutContract. Default false; production never sets it. Swept by audit:layout-envelope.", meta: { ui: { label: "Debug layout", order: 20, collapsedByDefault: true } } },
|
|
38
|
+
});
|
|
39
|
+
exports.FfmpegPulseContributions = {
|
|
40
|
+
id: (0, types_1.asTemplateId)("@m0saic/hero/ffmpeg-pulse/contributions/v1"),
|
|
41
|
+
label: "Weekly Pulse · Contributions",
|
|
42
|
+
version: 1,
|
|
43
|
+
description: "FFmpeg Weekly Pulse — Contributions beat (Beat 5). The shared beat chrome wrapping a GitHub-style contribution heatmap (commits by weekday × trailing weeks) + a rail of aggregate activity stat tiles. Aspect-adaptive.",
|
|
44
|
+
capabilities: { tier: "core" },
|
|
45
|
+
internal: true,
|
|
46
|
+
tags: ["hero", "ffmpeg-pulse", "contributions", "heatmap", "beat"],
|
|
47
|
+
outputHints: { width: 1920, height: 1080, fps: 30, durationMs: 9000 },
|
|
48
|
+
upstreamDataSchema: pulse_data_1.WEEKLY_PULSE_UPSTREAM_SCHEMA,
|
|
49
|
+
propsSchema,
|
|
50
|
+
defaultProps: {
|
|
51
|
+
debugLayout: false,
|
|
52
|
+
pulse: pulse_data_1.MOCK_FFMPEG_PULSE,
|
|
53
|
+
eyebrow: "BEAT 5",
|
|
54
|
+
headline: "CONTRIBUTIONS",
|
|
55
|
+
subtitle: "Commits by day · last 8 weeks.",
|
|
56
|
+
preset: DEFAULT_PRESET,
|
|
57
|
+
renderMode: "premium",
|
|
58
|
+
anim: DEFAULT_ANIM,
|
|
59
|
+
},
|
|
60
|
+
async render(props, ctx) {
|
|
61
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
62
|
+
const W = Math.max(1, Math.round(ctx.target.width));
|
|
63
|
+
const H = Math.max(1, Math.round(ctx.target.height));
|
|
64
|
+
const theme = (0, pulse_theme_1.pulseTheme)((_a = props.preset) !== null && _a !== void 0 ? _a : DEFAULT_PRESET);
|
|
65
|
+
const pulse = (0, pulse_data_1.resolvePulse)(props.pulse, ctx);
|
|
66
|
+
const anim = { ...DEFAULT_ANIM, ...((_b = props.anim) !== null && _b !== void 0 ? _b : {}) };
|
|
67
|
+
const reduceMotion = anim.reduceMotion;
|
|
68
|
+
const renderMode = props.renderMode === "light" ? "light" : "premium";
|
|
69
|
+
const durationMs = (_c = ctx.target.durationMs) !== null && _c !== void 0 ? _c : 9000;
|
|
70
|
+
const variant = (0, pulse_chrome_1.classify)(W, H);
|
|
71
|
+
const gm = GEOM[variant];
|
|
72
|
+
const sx = W / gm.nativeW, sy = H / gm.nativeH;
|
|
73
|
+
const scale = (r) => ({ x: Math.round(r.x * sx), y: Math.round(r.y * sy), w: Math.round(r.w * sx), h: Math.round(r.h * sy) });
|
|
74
|
+
const grid = (_d = pulse.activity) === null || _d === void 0 ? void 0 : _d.grid;
|
|
75
|
+
if (!((_e = grid === null || grid === void 0 ? void 0 : grid.rows) === null || _e === void 0 ? void 0 : _e.length))
|
|
76
|
+
return (0, template_utils_1.makeErrorMosaic)("contributions: pulse has no activity.grid", { title: `${this.id}`, width: W, height: H });
|
|
77
|
+
// Rail tiles (aggregate activity KPIs, first 4 of pulse.activity.rail).
|
|
78
|
+
const railData = ((_g = (_f = pulse.activity) === null || _f === void 0 ? void 0 : _f.rail) !== null && _g !== void 0 ? _g : []).slice(0, 4).map((k) => {
|
|
79
|
+
var _a, _b, _c;
|
|
80
|
+
return ({
|
|
81
|
+
label: k.label, value: (0, pulse_data_1.kpiValue)(k), delta: (0, pulse_data_1.kpiDelta)(k), direction: (_a = k.direction) !== null && _a !== void 0 ? _a : "flat", sublabel: (_b = k.sublabel) !== null && _b !== void 0 ? _b : "vs last week", iconKey: (_c = RAIL_GLYPH[k.key]) !== null && _c !== void 0 ? _c : "commits",
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
// ── Rail cells (row-major) ──
|
|
85
|
+
const rg = gm.rail;
|
|
86
|
+
const railCells = railData.map((_, i) => {
|
|
87
|
+
const row = Math.floor(i / rg.cols), col = i % rg.cols;
|
|
88
|
+
return scale({ x: rg.x0 + col * (rg.cw + rg.gx), y: rg.y0 + row * (rg.ch + rg.gy), w: rg.cw, h: rg.ch });
|
|
89
|
+
});
|
|
90
|
+
// Every nested child renders at the CELL its inset will produce (exact fit
|
|
91
|
+
// for an absolutely-laid-out child at any canvas) — nudged so that cell is
|
|
92
|
+
// 5-smooth and hands the child no rough factor (insetSlot, pulse-chrome).
|
|
93
|
+
const railSlots = railCells.map((r) => (0, pulse_chrome_1.insetSlot)(r, W, H));
|
|
94
|
+
railCells.forEach((_, i) => { railCells[i] = railSlots[i].rect; });
|
|
95
|
+
const heatRSlot = (0, pulse_chrome_1.insetSlot)(scale(gm.heat), W, H);
|
|
96
|
+
const heatR = heatRSlot.rect;
|
|
97
|
+
// ── Nested panels: the heatmap + the rail stat cards ──
|
|
98
|
+
const introMs = reduceMotion ? 0 : Math.max(500, Math.round(durationMs * anim.introFrac));
|
|
99
|
+
const heatChild = await (0, template_utils_1.renderNestedTemplate)("@m0saic/alpine/heatmap/v1", {
|
|
100
|
+
rows: grid.rows, colLabels: grid.weekLabels, title: "", subtitle: "",
|
|
101
|
+
preset: "dark", color: theme.primaryBright, levels: 5, showLegend: true, showValues: false,
|
|
102
|
+
anim: { introFrac: anim.introFrac, easing: "easeOut", reduceMotion, renderMode }, // runner-controlled render weight (light = geq-free heatmap cascade; premium = alpha fade)
|
|
103
|
+
}, ctx, { slot: { width: heatRSlot.slot.width, height: heatRSlot.slot.height, durationMs } });
|
|
104
|
+
const railChildren = await Promise.all(railData.map((r, i) => {
|
|
105
|
+
var _a, _b, _c;
|
|
106
|
+
return (0, template_utils_1.renderNestedTemplate)("@m0saic/alpine/stat-card/v1", {
|
|
107
|
+
label: r.label, value: r.value, delta: (_a = r.delta) !== null && _a !== void 0 ? _a : "", direction: (_b = r.direction) !== null && _b !== void 0 ? _b : "flat", sublabel: (_c = r.sublabel) !== null && _c !== void 0 ? _c : "",
|
|
108
|
+
accent: theme.primaryBright, iconPath: r.iconKey ? pulse_glyphs_1.KPI_GLYPHS[r.iconKey] : undefined,
|
|
109
|
+
renderMode, // runner-controlled render weight (light = geq-free; premium = alpha-fade)
|
|
110
|
+
preset: "dark", // hero keeps its dark KPI look (stat-card now light by default)
|
|
111
|
+
backgroundColor: theme.card,
|
|
112
|
+
anim: { countUp: !reduceMotion, fade: false, introMs, reduceMotion },
|
|
113
|
+
}, ctx, { slot: { width: railSlots[i].slot.width, height: railSlots[i].slot.height, durationMs } });
|
|
114
|
+
}));
|
|
115
|
+
// ── Intro timing + content cascade (shared chrome) ──
|
|
116
|
+
const t = (0, pulse_chrome_1.pulseTiming)(durationMs, reduceMotion);
|
|
117
|
+
const { bgFinishT, chromeFadeDur, cardStagger, cardsStart, animOn } = t;
|
|
118
|
+
const children = { heat: heatChild };
|
|
119
|
+
const heatNode = (0, pulse_chrome_1.insetSafe)((0, pulse_chrome_1.withFade)((0, alpine_card_1.paint)({ type: "mosaic", ref: "heat" }), bgFinishT, chromeFadeDur, animOn), heatR, W, H);
|
|
120
|
+
const railNodes = railChildren.map((c, i) => {
|
|
121
|
+
const ref = `rail${i}`;
|
|
122
|
+
children[ref] = c;
|
|
123
|
+
return (0, pulse_chrome_1.insetSafe)((0, pulse_chrome_1.withFade)((0, alpine_card_1.paint)({ type: "mosaic", ref }), cardsStart + i * cardStagger, cardStagger, animOn), railCells[i], W, H);
|
|
124
|
+
});
|
|
125
|
+
// ── Header cluster + footer (shared chrome) ──
|
|
126
|
+
const beatR = scale(gm.beat), logoR = scale(gm.logo), titleR = scale(gm.title), subR = scale(gm.subtitle), footR = scale(gm.footer);
|
|
127
|
+
const footText = `WEEK ${(_j = (_h = pulse.period) === null || _h === void 0 ? void 0 : _h.weekNumber) !== null && _j !== void 0 ? _j : ""} · ${(0, pulse_data_1.periodLabel)(pulse.period)}`.trim();
|
|
128
|
+
const header = (0, pulse_chrome_1.buildHeader)({ beat: beatR, logo: logoR, title: titleR, subtitle: subR }, theme, { eyebrow: (_k = props.eyebrow) !== null && _k !== void 0 ? _k : "BEAT 5", title: (_l = props.headline) !== null && _l !== void 0 ? _l : "CONTRIBUTIONS", subtitle: (_m = props.subtitle) !== null && _m !== void 0 ? _m : "Commits by day · last 8 weeks.", bind: { eyebrow: "eyebrow", title: "headline", subtitle: "subtitle" } }, t, W, H);
|
|
129
|
+
const footNode = (0, pulse_chrome_1.buildFooter)(footR, theme, footText, t, W, H);
|
|
130
|
+
// ── Backdrop panels (all theme.card with the same ±pad inset → aligned edges).
|
|
131
|
+
// The heatmap self-surfaces theme.card, so its ±pad backdrop blends seamlessly. ──
|
|
132
|
+
const M = Math.round(gm.margin * sx);
|
|
133
|
+
const pad = Math.round(Math.min(W, H) * 0.018);
|
|
134
|
+
const panelX = Math.max(0, M - pad), panelRight = Math.min(W, W - M + pad);
|
|
135
|
+
const railBbox = (0, pulse_chrome_1.unionRect)(railCells, 0, W, H);
|
|
136
|
+
const heatBg = (0, pulse_chrome_1.labelNode)((0, pulse_chrome_1.backdrop)(theme.card, { x: heatR.x - pad, y: heatR.y - pad, w: heatR.w + 2 * pad, h: heatR.h + 2 * pad }, W, H, bgFinishT, chromeFadeDur, animOn), "content-panel");
|
|
137
|
+
const headerBg = (0, pulse_chrome_1.backdrop)(theme.card, { x: panelX, y: Math.max(0, header.bbox.y - pad), w: panelRight - panelX, h: header.bbox.h + 2 * pad }, W, H, bgFinishT, chromeFadeDur, animOn);
|
|
138
|
+
const railBg = (0, pulse_chrome_1.labelNode)((0, pulse_chrome_1.backdrop)(theme.card, { x: railBbox.x - pad, y: railBbox.y - pad, w: railBbox.w + 2 * pad, h: railBbox.h + 2 * pad }, W, H, bgFinishT, chromeFadeDur, animOn), "rail-panel");
|
|
139
|
+
const footBg = (0, pulse_chrome_1.backdrop)(theme.card, { x: panelX, y: footR.y - pad, w: footR.w + 2 * pad, h: footR.h + 2 * pad }, W, H, bgFinishT, chromeFadeDur, animOn);
|
|
140
|
+
const root = (0, alpine_card_1.overlay)([(0, pulse_chrome_1.scatterNode)(), heatBg, railBg, headerBg, footBg, ...header.nodes, footNode, heatNode, ...railNodes]);
|
|
141
|
+
const doc = {
|
|
142
|
+
kind: "mosaic_document",
|
|
143
|
+
version: 1,
|
|
144
|
+
assets: { ...(0, pulse_chrome_1.chromeAssets)(variant) },
|
|
145
|
+
m0: root.m0,
|
|
146
|
+
sources: root.sources,
|
|
147
|
+
children,
|
|
148
|
+
backgroundColor: theme.canvas,
|
|
149
|
+
fps: ctx.target.fps,
|
|
150
|
+
durationMs,
|
|
151
|
+
size: { width: W, height: H },
|
|
152
|
+
};
|
|
153
|
+
// Layout contract (dev tripwire; flatten:false → judge only this beat's own
|
|
154
|
+
// top-level chrome + content/rail panels, not the nested heatmap/cards).
|
|
155
|
+
const constraints = [...pulse_chrome_1.PULSE_CHROME_CONSTRAINTS, ...pulse_chrome_1.PULSE_CONTENT_CONSTRAINTS];
|
|
156
|
+
return (0, template_utils_1.withLayoutContract)(doc, ctx, { templateId: "@m0saic/hero/ffmpeg-pulse/contributions/v1", constraints, flatten: false, debug: props.debugLayout === true });
|
|
157
|
+
},
|
|
158
|
+
};
|
|
159
|
+
(0, template_utils_1.registerTemplate)(exports.FfmpegPulseContributions);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FfmpegPulseContributions } from "./contributions";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FfmpegPulseContributions = void 0;
|
|
4
|
+
var contributions_1 = require("./contributions");
|
|
5
|
+
Object.defineProperty(exports, "FfmpegPulseContributions", { enumerable: true, get: function () { return contributions_1.FfmpegPulseContributions; } });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* @m0saic/hero/ffmpeg-pulse/fin/v1 — Weekly Pulse · Fin (closing card)
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* The closing beat: a big centered headline + subhead, a KPI strip of the week's
|
|
7
|
+
* signature numbers (nested @m0saic/alpine/stat-card), and a QR to the full report
|
|
8
|
+
* (nested @m0saic/media/qr/basic) with a caption — over the signature scatter, with a
|
|
9
|
+
* "Built with m0saic" footer. Driven by `pulse.fin`. Aspect-adaptive (desktop 1×4
|
|
10
|
+
* strip, square/mobile 2×2). Deterministic; reduceMotion → static.
|
|
11
|
+
* ============================================================================
|
|
12
|
+
*/
|
|
13
|
+
import type { MosaicTemplate } from "@m0saic/types";
|
|
14
|
+
import { type PulsePreset } from "../../_shared/pulse-theme";
|
|
15
|
+
import { type WeeklyPulse } from "../../_shared/pulse-data";
|
|
16
|
+
type AnimConfig = {
|
|
17
|
+
introFrac: number;
|
|
18
|
+
reduceMotion: boolean;
|
|
19
|
+
};
|
|
20
|
+
type FinProps = {
|
|
21
|
+
pulse: WeeklyPulse;
|
|
22
|
+
headline?: string;
|
|
23
|
+
subhead?: string;
|
|
24
|
+
preset?: PulsePreset;
|
|
25
|
+
renderMode?: "premium" | "light";
|
|
26
|
+
anim?: AnimConfig;
|
|
27
|
+
animate?: boolean;
|
|
28
|
+
debugLayout?: boolean;
|
|
29
|
+
};
|
|
30
|
+
export declare const FfmpegPulseFin: MosaicTemplate<FinProps>;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FfmpegPulseFin = void 0;
|
|
4
|
+
const types_1 = require("@m0saic/types");
|
|
5
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
6
|
+
const alpine_card_1 = require("../../../../alpine/_shared/alpine-card");
|
|
7
|
+
const pulse_chrome_1 = require("../../_shared/pulse-chrome");
|
|
8
|
+
const pulse_theme_1 = require("../../_shared/pulse-theme");
|
|
9
|
+
const pulse_data_1 = require("../../_shared/pulse-data");
|
|
10
|
+
const pulse_glyphs_1 = require("../../_shared/pulse-glyphs");
|
|
11
|
+
const DEFAULT_PRESET = "dark";
|
|
12
|
+
const DEFAULT_ANIM = { introFrac: 0.7, reduceMotion: false };
|
|
13
|
+
const GEOM = {
|
|
14
|
+
desktop: { nativeW: 1920, nativeH: 1080, margin: 140,
|
|
15
|
+
headline: { x: 160, y: 168, w: 1600, h: 150 }, subhead: { x: 160, y: 338, w: 1600, h: 54 },
|
|
16
|
+
strip: { x0: 348, y0: 452, cols: 4, cw: 288, ch: 240, gx: 24, gy: 0 },
|
|
17
|
+
qr: { x: 870, y: 736, w: 180, h: 180 }, caption: { x: 560, y: 930, w: 800, h: 38 }, footer: { x: 140, y: 1006, w: 640, h: 50 } },
|
|
18
|
+
square: { nativeW: 1080, nativeH: 1080, margin: 110,
|
|
19
|
+
headline: { x: 80, y: 110, w: 920, h: 120 }, subhead: { x: 80, y: 248, w: 920, h: 46 },
|
|
20
|
+
strip: { x0: 120, y0: 344, cols: 2, cw: 400, ch: 180, gx: 40, gy: 22 },
|
|
21
|
+
qr: { x: 450, y: 786, w: 178, h: 178 }, caption: { x: 140, y: 984, w: 800, h: 34 }, footer: { x: 110, y: 1030, w: 540, h: 32 } },
|
|
22
|
+
mobile: { nativeW: 1080, nativeH: 1920, margin: 80,
|
|
23
|
+
headline: { x: 60, y: 230, w: 960, h: 150 }, subhead: { x: 60, y: 404, w: 960, h: 54 },
|
|
24
|
+
strip: { x0: 80, y0: 540, cols: 2, cw: 448, ch: 300, gx: 24, gy: 24 },
|
|
25
|
+
qr: { x: 400, y: 1300, w: 280, h: 280 }, caption: { x: 100, y: 1606, w: 880, h: 46 }, footer: { x: 80, y: 1800, w: 640, h: 56 } },
|
|
26
|
+
};
|
|
27
|
+
const STRIP_GLYPH = { commits: "commits", contributors: "contributors", filesChanged: "additions", additions: "additions", deletions: "deletions", stars: "stars", mergedPrs: "mergedPrs", pullRequests: "pullRequests" };
|
|
28
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
29
|
+
pulse: { type: "group", required: false, description: "Weekly Pulse data sheet (fin drives the headline, KPI strip + QR).", meta: { ui: { label: "Pulse data", order: 1, consumer: "agent" } } },
|
|
30
|
+
headline: { type: "string", required: false, description: "Closing headline.", meta: { control: { placeholder: "THANK YOU!" }, ui: { label: "Headline", order: 1 } } },
|
|
31
|
+
subhead: { type: "string", required: false, description: "Closing subhead.", meta: { ui: { label: "Subhead", order: 2 } } },
|
|
32
|
+
preset: { type: "string", required: false, description: "Pulse theme variant.", meta: { constraints: { oneOf: ["dark"] }, ui: { label: "Preset", order: 10 } } },
|
|
33
|
+
renderMode: { type: "string", required: false, description: "Render weight for this beat's nested cards. \"premium\" (default): alpha-fade reveals — the softer look; the engine's enable-gating makes the per-pixel geq nearly free. \"light\": geq-free enable-gate pops — cheapest, most composable when nested many-deep. Set by the runner.", meta: { constraints: { oneOf: ["light", "premium"] }, ui: { label: "Render mode", order: 11 } } },
|
|
34
|
+
anim: { type: "group", required: false, description: "Intro: introFrac, reduceMotion.", meta: { ui: { label: "Animation", collapsedByDefault: true, consumer: "agent" } } },
|
|
35
|
+
animate: { type: "boolean", required: false, description: "Animate the closing intro.", meta: { ui: { label: "Animate", consumer: "human", order: 1 }, control: { syncsTo: [{ prop: "anim.reduceMotion", map: { kind: "boolInvert" } }] } } },
|
|
36
|
+
debugLayout: { type: "boolean", required: false, description: "Dev-only layout contract: assert the centered content panel + the footer hold their canvas-fraction zones at any resolution/aspect; on violation render a LAYOUT_CONTRACT error mosaic + stamp editor.layoutContract. Default false; production never sets it. Swept by audit:layout-envelope.", meta: { ui: { label: "Debug layout", order: 20, collapsedByDefault: true } } },
|
|
37
|
+
});
|
|
38
|
+
exports.FfmpegPulseFin = {
|
|
39
|
+
id: (0, types_1.asTemplateId)("@m0saic/hero/ffmpeg-pulse/fin/v1"),
|
|
40
|
+
label: "Weekly Pulse · Fin",
|
|
41
|
+
version: 1,
|
|
42
|
+
description: "FFmpeg Weekly Pulse — Fin (closing card). Centered headline + subhead, a KPI strip of the week's signature numbers, and a QR to the full report, over the signature scatter. Aspect-adaptive.",
|
|
43
|
+
capabilities: { tier: "core" },
|
|
44
|
+
internal: true,
|
|
45
|
+
tags: ["hero", "ffmpeg-pulse", "fin", "beat"],
|
|
46
|
+
outputHints: { width: 1920, height: 1080, fps: 30, durationMs: 6000 },
|
|
47
|
+
upstreamDataSchema: pulse_data_1.WEEKLY_PULSE_UPSTREAM_SCHEMA,
|
|
48
|
+
propsSchema,
|
|
49
|
+
defaultProps: {
|
|
50
|
+
debugLayout: false,
|
|
51
|
+
pulse: pulse_data_1.MOCK_FFMPEG_PULSE,
|
|
52
|
+
headline: "THANK YOU!",
|
|
53
|
+
subhead: "ANOTHER WEEK OF PROGRESS.",
|
|
54
|
+
preset: DEFAULT_PRESET,
|
|
55
|
+
renderMode: "premium",
|
|
56
|
+
anim: DEFAULT_ANIM,
|
|
57
|
+
},
|
|
58
|
+
async render(props, ctx) {
|
|
59
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
60
|
+
const W = Math.max(1, Math.round(ctx.target.width));
|
|
61
|
+
const H = Math.max(1, Math.round(ctx.target.height));
|
|
62
|
+
const theme = (0, pulse_theme_1.pulseTheme)((_a = props.preset) !== null && _a !== void 0 ? _a : DEFAULT_PRESET);
|
|
63
|
+
const pulse = (0, pulse_data_1.resolvePulse)(props.pulse, ctx);
|
|
64
|
+
const anim = { ...DEFAULT_ANIM, ...((_b = props.anim) !== null && _b !== void 0 ? _b : {}) };
|
|
65
|
+
const reduceMotion = anim.reduceMotion;
|
|
66
|
+
const renderMode = props.renderMode === "light" ? "light" : "premium";
|
|
67
|
+
const durationMs = (_c = ctx.target.durationMs) !== null && _c !== void 0 ? _c : 6000;
|
|
68
|
+
const fin = pulse.fin;
|
|
69
|
+
if (!fin)
|
|
70
|
+
return (0, template_utils_1.makeErrorMosaic)("fin: pulse has no fin", { title: `${this.id}`, width: W, height: H });
|
|
71
|
+
const variant = (0, pulse_chrome_1.classify)(W, H);
|
|
72
|
+
const gm = GEOM[variant];
|
|
73
|
+
const sx = W / gm.nativeW, sy = H / gm.nativeH;
|
|
74
|
+
const scale = (r) => ({ x: Math.round(r.x * sx), y: Math.round(r.y * sy), w: Math.round(r.w * sx), h: Math.round(r.h * sy) });
|
|
75
|
+
const strip = ((_d = fin.kpiStrip) !== null && _d !== void 0 ? _d : []).slice(0, 4);
|
|
76
|
+
const rg = gm.strip;
|
|
77
|
+
const stripCells = strip.map((_, i) => {
|
|
78
|
+
const row = Math.floor(i / rg.cols), col = i % rg.cols;
|
|
79
|
+
return scale({ x: rg.x0 + col * (rg.cw + rg.gx), y: rg.y0 + row * (rg.ch + rg.gy), w: rg.cw, h: rg.ch });
|
|
80
|
+
});
|
|
81
|
+
// Every card renders at the CELL its inset will produce, nudged 5-smooth
|
|
82
|
+
// (insetSlot, pulse-chrome): exact fit, no inherited rough factor.
|
|
83
|
+
const stripSlots = stripCells.map((r) => (0, pulse_chrome_1.insetSlot)(r, W, H));
|
|
84
|
+
stripCells.forEach((_, i) => { stripCells[i] = stripSlots[i].rect; });
|
|
85
|
+
const qrR = scale(gm.qr);
|
|
86
|
+
// ── Nested: KPI strip cards + QR ──
|
|
87
|
+
const introMs = reduceMotion ? 0 : Math.max(500, Math.round(durationMs * anim.introFrac));
|
|
88
|
+
const stripChildren = await Promise.all(strip.map((k, i) => {
|
|
89
|
+
var _a;
|
|
90
|
+
return (0, template_utils_1.renderNestedTemplate)("@m0saic/alpine/stat-card/v1", {
|
|
91
|
+
label: k.label, value: (0, pulse_data_1.kpiValue)(k), delta: "", direction: "flat", sublabel: (_a = k.sublabel) !== null && _a !== void 0 ? _a : "",
|
|
92
|
+
accent: theme.primaryBright, iconPath: STRIP_GLYPH[k.key] ? pulse_glyphs_1.KPI_GLYPHS[STRIP_GLYPH[k.key]] : undefined,
|
|
93
|
+
renderMode, // runner-controlled render weight (light = geq-free; premium = alpha-fade)
|
|
94
|
+
preset: "dark", // hero keeps its dark KPI look (stat-card now light by default)
|
|
95
|
+
backgroundColor: theme.card,
|
|
96
|
+
anim: { countUp: !reduceMotion, fade: false, introMs, reduceMotion },
|
|
97
|
+
}, ctx, { slot: { width: stripSlots[i].slot.width, height: stripSlots[i].slot.height, durationMs } });
|
|
98
|
+
}));
|
|
99
|
+
// Premium QR is BAKED (chromeAssets.qrFin → qr-fin.mp4): green QR Code with the
|
|
100
|
+
// FFmpeg logo carved in + pixelate assemble, pre-rendered to a flat video. Baking
|
|
101
|
+
// keeps fin cheap — no live per-module tile generation — and the assemble is a
|
|
102
|
+
// one-shot anyway. Re-bake via tools/bake-fin-qr.sh if the URL/logo/color changes.
|
|
103
|
+
// ── Timing ──
|
|
104
|
+
const t = (0, pulse_chrome_1.pulseTiming)(durationMs, reduceMotion);
|
|
105
|
+
const { bgFinishT, chromeFadeDur, cardStagger, cardsStart, animOn } = t;
|
|
106
|
+
const children = {};
|
|
107
|
+
const stripNodes = stripChildren.map((c, i) => {
|
|
108
|
+
const ref = `kpi${i}`;
|
|
109
|
+
children[ref] = c;
|
|
110
|
+
return (0, pulse_chrome_1.insetSafe)((0, pulse_chrome_1.withFade)((0, alpine_card_1.paint)({ type: "mosaic", ref }), cardsStart + i * cardStagger, cardStagger, animOn), stripCells[i], W, H);
|
|
111
|
+
});
|
|
112
|
+
// Baked QR (media asset), placed at the QR rect.
|
|
113
|
+
const qrNode = (0, pulse_chrome_1.insetSafe)((0, pulse_chrome_1.withFade)((0, alpine_card_1.paint)({ type: "media", mediaType: "video", assetId: "qrFin", placement: { fit: "contain" } }), cardsStart + strip.length * cardStagger, chromeFadeDur, animOn), qrR, W, H);
|
|
114
|
+
// ── Headline / subhead / caption / footer ──
|
|
115
|
+
const headR = scale(gm.headline), subR = scale(gm.subhead), capR = scale(gm.caption), footR = scale(gm.footer);
|
|
116
|
+
const headline = (_f = (_e = props.headline) !== null && _e !== void 0 ? _e : fin.headline) !== null && _f !== void 0 ? _f : "THANK YOU!";
|
|
117
|
+
const subhead = (_h = (_g = props.subhead) !== null && _g !== void 0 ? _g : fin.subhead) !== null && _h !== void 0 ? _h : "";
|
|
118
|
+
const headNode = (0, pulse_chrome_1.bindNode)((0, pulse_chrome_1.insetSafe)((0, pulse_chrome_1.withFade)((0, alpine_card_1.paint)((0, pulse_chrome_1.text1)(headline, (0, pulse_chrome_1.capFont)(headR.h * 0.86, headline, headR.w, 24, 0.6), theme.primaryBright, "center")), bgFinishT, chromeFadeDur, animOn), headR, W, H), "headline");
|
|
119
|
+
const subNode = (0, pulse_chrome_1.bindNode)((0, pulse_chrome_1.insetSafe)((0, pulse_chrome_1.withFade)((0, alpine_card_1.paint)((0, pulse_chrome_1.text1)(subhead, (0, pulse_chrome_1.capFont)(subR.h * 0.78, subhead, subR.w, 12, 0.5), theme.subtitle, "center")), bgFinishT + chromeFadeDur * 0.4, chromeFadeDur, animOn), subR, W, H), "subhead");
|
|
120
|
+
const capText = (_k = (_j = fin.qr) === null || _j === void 0 ? void 0 : _j.caption) !== null && _k !== void 0 ? _k : "";
|
|
121
|
+
const capNode = (0, pulse_chrome_1.insetSafe)((0, pulse_chrome_1.withFade)((0, alpine_card_1.paint)((0, pulse_chrome_1.text1)(capText, (0, pulse_chrome_1.capFont)(capR.h * 0.7, capText, capR.w, 10, 0.5), theme.label, "center")), cardsStart + (strip.length + 1) * cardStagger, chromeFadeDur, animOn), capR, W, H);
|
|
122
|
+
const footNode = (0, pulse_chrome_1.buildFooter)(footR, theme, (_l = fin.footer) !== null && _l !== void 0 ? _l : "Built with m0saic", t, W, H);
|
|
123
|
+
// Subtle m0saic attribution bottom-right (visible, not overbearing — FFmpeg is the subject).
|
|
124
|
+
const wmW = Math.round(240 * sx);
|
|
125
|
+
const wmR = { x: Math.max(0, W - Math.round(gm.margin * sx) - wmW), y: footR.y, w: wmW, h: footR.h };
|
|
126
|
+
const wmNode = (0, pulse_chrome_1.insetSafe)((0, pulse_chrome_1.withFade)((0, alpine_card_1.paint)((0, pulse_chrome_1.text1)("m0saic.io", (0, pulse_chrome_1.capFont)(wmR.h * 0.5, "m0saic.io", wmR.w, 11, 0.5), theme.label, "right")), bgFinishT, chromeFadeDur, animOn), wmR, W, H);
|
|
127
|
+
// ── Backdrop behind the centered content (headline + strip) for legibility ──
|
|
128
|
+
const pad = Math.round(Math.min(W, H) * 0.02);
|
|
129
|
+
const stripBbox = (0, pulse_chrome_1.unionRect)(stripCells, 0, W, H);
|
|
130
|
+
const contentBbox = (0, pulse_chrome_1.unionRect)([headR, subR, stripBbox, qrR, capR], pad, W, H);
|
|
131
|
+
const bg = (0, pulse_chrome_1.labelNode)((0, pulse_chrome_1.backdrop)(theme.card, contentBbox, W, H, bgFinishT, chromeFadeDur, animOn), "content-panel");
|
|
132
|
+
const root = (0, alpine_card_1.overlay)([(0, pulse_chrome_1.scatterNode)(), bg, ...stripNodes, qrNode, headNode, subNode, capNode, footNode, wmNode]);
|
|
133
|
+
const doc = {
|
|
134
|
+
kind: "mosaic_document",
|
|
135
|
+
version: 1,
|
|
136
|
+
assets: { ...(0, pulse_chrome_1.chromeAssets)(variant) },
|
|
137
|
+
m0: root.m0,
|
|
138
|
+
sources: root.sources,
|
|
139
|
+
children,
|
|
140
|
+
backgroundColor: theme.canvas,
|
|
141
|
+
fps: ctx.target.fps,
|
|
142
|
+
durationMs,
|
|
143
|
+
size: { width: W, height: H },
|
|
144
|
+
};
|
|
145
|
+
// Layout contract (dev tripwire; flatten:false → judge only fin's own top-level
|
|
146
|
+
// content panel + footer, not the nested KPI cards). Fin has no header cluster.
|
|
147
|
+
const constraints = [
|
|
148
|
+
{ label: "content-panel", within: { yFrac: [0.04, 0.98] } },
|
|
149
|
+
{ label: "footer", within: { yFrac: [0.84, 1.0] } },
|
|
150
|
+
];
|
|
151
|
+
return (0, template_utils_1.withLayoutContract)(doc, ctx, { templateId: "@m0saic/hero/ffmpeg-pulse/fin/v1", constraints, flatten: false, debug: props.debugLayout === true });
|
|
152
|
+
},
|
|
153
|
+
};
|
|
154
|
+
(0, template_utils_1.registerTemplate)(exports.FfmpegPulseFin);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FfmpegPulseFin } from "./fin";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { FfmpegPulseTitle } from "./title/v1";
|
|
2
|
+
export { FfmpegPulseScatterBake } from "./scatter-bake/v1";
|
|
3
|
+
export { FfmpegPulseKpiOverview } from "./kpi-overview/v1";
|
|
4
|
+
export { FfmpegPulseActivityTrend } from "./activity-trend/v1";
|
|
5
|
+
export { FfmpegPulseTopContributors } from "./top-contributors/v1";
|
|
6
|
+
export { FfmpegPulseChangesBreakdown } from "./changes-breakdown/v1";
|
|
7
|
+
export { FfmpegPulseContributions } from "./contributions/v1";
|
|
8
|
+
export { FfmpegPulseNotableCommits } from "./notable-commits/v1";
|
|
9
|
+
export { FfmpegPulseFin } from "./fin/v1";
|
|
10
|
+
export { FfmpegPulseRunner } from "./runner/v1";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FfmpegPulseRunner = exports.FfmpegPulseFin = exports.FfmpegPulseNotableCommits = exports.FfmpegPulseContributions = exports.FfmpegPulseChangesBreakdown = exports.FfmpegPulseTopContributors = exports.FfmpegPulseActivityTrend = exports.FfmpegPulseKpiOverview = exports.FfmpegPulseScatterBake = exports.FfmpegPulseTitle = void 0;
|
|
4
|
+
/* FFmpeg Weekly Pulse — multi-beat hero pack (beats + runner). */
|
|
5
|
+
var v1_1 = require("./title/v1");
|
|
6
|
+
Object.defineProperty(exports, "FfmpegPulseTitle", { enumerable: true, get: function () { return v1_1.FfmpegPulseTitle; } });
|
|
7
|
+
var v1_2 = require("./scatter-bake/v1");
|
|
8
|
+
Object.defineProperty(exports, "FfmpegPulseScatterBake", { enumerable: true, get: function () { return v1_2.FfmpegPulseScatterBake; } });
|
|
9
|
+
var v1_3 = require("./kpi-overview/v1");
|
|
10
|
+
Object.defineProperty(exports, "FfmpegPulseKpiOverview", { enumerable: true, get: function () { return v1_3.FfmpegPulseKpiOverview; } });
|
|
11
|
+
var v1_4 = require("./activity-trend/v1");
|
|
12
|
+
Object.defineProperty(exports, "FfmpegPulseActivityTrend", { enumerable: true, get: function () { return v1_4.FfmpegPulseActivityTrend; } });
|
|
13
|
+
var v1_5 = require("./top-contributors/v1");
|
|
14
|
+
Object.defineProperty(exports, "FfmpegPulseTopContributors", { enumerable: true, get: function () { return v1_5.FfmpegPulseTopContributors; } });
|
|
15
|
+
var v1_6 = require("./changes-breakdown/v1");
|
|
16
|
+
Object.defineProperty(exports, "FfmpegPulseChangesBreakdown", { enumerable: true, get: function () { return v1_6.FfmpegPulseChangesBreakdown; } });
|
|
17
|
+
var v1_7 = require("./contributions/v1");
|
|
18
|
+
Object.defineProperty(exports, "FfmpegPulseContributions", { enumerable: true, get: function () { return v1_7.FfmpegPulseContributions; } });
|
|
19
|
+
var v1_8 = require("./notable-commits/v1");
|
|
20
|
+
Object.defineProperty(exports, "FfmpegPulseNotableCommits", { enumerable: true, get: function () { return v1_8.FfmpegPulseNotableCommits; } });
|
|
21
|
+
var v1_9 = require("./fin/v1");
|
|
22
|
+
Object.defineProperty(exports, "FfmpegPulseFin", { enumerable: true, get: function () { return v1_9.FfmpegPulseFin; } });
|
|
23
|
+
var v1_10 = require("./runner/v1");
|
|
24
|
+
Object.defineProperty(exports, "FfmpegPulseRunner", { enumerable: true, get: function () { return v1_10.FfmpegPulseRunner; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FfmpegPulseKpiOverview } from "./kpi-overview";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FfmpegPulseKpiOverview = void 0;
|
|
4
|
+
var kpi_overview_1 = require("./kpi-overview");
|
|
5
|
+
Object.defineProperty(exports, "FfmpegPulseKpiOverview", { enumerable: true, get: function () { return kpi_overview_1.FfmpegPulseKpiOverview; } });
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* @m0saic/hero/ffmpeg-pulse/kpi-overview/v1 — Weekly Pulse · KPI Overview (Beat 1)
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* The metrics-at-a-glance beat: a logo-left header cluster (FFmpeg logo + "BEAT 1"
|
|
7
|
+
* chip + "KPI OVERVIEW" title + subtitle), an aspect-adaptive grid of KPI stat
|
|
8
|
+
* cards (4×2 desktop, 2×4 square/mobile), and a "WEEK N · period" footer — all
|
|
9
|
+
* over the signature baked scatter (shared with the title beat).
|
|
10
|
+
*
|
|
11
|
+
* Each KPI cell is a NESTED @m0saic/alpine/stat-card/v1 (renderNestedTemplate →
|
|
12
|
+
* its own document, referenced as a `{type:"mosaic"}` source) so the parent stays
|
|
13
|
+
* shallow and each card sizes its fonts off its own slot. The grid is driven by
|
|
14
|
+
* `pulse.kpis` (flexible count; the mock ships 8 API-derivable metrics). Geometry
|
|
15
|
+
* is the sandbox-approved candidate-002 layout, authored per aspect and scaled to
|
|
16
|
+
* the render canvas. Deterministic; `anim.reduceMotion` → static.
|
|
17
|
+
* ============================================================================
|
|
18
|
+
*/
|
|
19
|
+
import type { MosaicTemplate } from "@m0saic/types";
|
|
20
|
+
import { type PulsePreset } from "../../_shared/pulse-theme";
|
|
21
|
+
import { type WeeklyPulse } from "../../_shared/pulse-data";
|
|
22
|
+
type AnimConfig = {
|
|
23
|
+
introFrac: number;
|
|
24
|
+
reduceMotion: boolean;
|
|
25
|
+
};
|
|
26
|
+
type KpiOverviewProps = {
|
|
27
|
+
pulse: WeeklyPulse;
|
|
28
|
+
eyebrow?: string;
|
|
29
|
+
headline?: string;
|
|
30
|
+
subtitle?: string;
|
|
31
|
+
preset?: PulsePreset;
|
|
32
|
+
renderMode?: "premium" | "light";
|
|
33
|
+
anim?: AnimConfig;
|
|
34
|
+
animate?: boolean;
|
|
35
|
+
debugLayout?: boolean;
|
|
36
|
+
};
|
|
37
|
+
export declare const FfmpegPulseKpiOverview: MosaicTemplate<KpiOverviewProps>;
|
|
38
|
+
export {};
|