@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,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* Benchmark runner (capability tier) — renders the frozen workload battery and
|
|
18
|
+
writes a shareable benchmark.json session. */
|
|
19
|
+
__exportStar(require("./run/v1"), exports);
|
|
20
|
+
/* Benchmark report (core tier) — reads a benchmark.json session and renders the
|
|
21
|
+
standard shareable results dashboard video. */
|
|
22
|
+
__exportStar(require("./report/v1"), exports);
|
|
Binary file
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"label": "idle",
|
|
4
|
+
"startedAtIso": "2026-06-18T00:00:00.000Z",
|
|
5
|
+
"finishedAtIso": "2026-06-18T00:02:11.000Z",
|
|
6
|
+
"elapsedMs": 131000,
|
|
7
|
+
"system": {
|
|
8
|
+
"cpu": { "model": "Apple M1", "cores": 8, "speedMhz": 2400 },
|
|
9
|
+
"ram": { "totalBytes": 8589934592, "totalGb": 8 },
|
|
10
|
+
"os": { "platform": "darwin", "arch": "arm64", "release": "23.6.0" },
|
|
11
|
+
"ffmpeg": {
|
|
12
|
+
"found": true,
|
|
13
|
+
"version": "ffmpeg version 8.0.1 Copyright (c) 2000-2025 the FFmpeg developers",
|
|
14
|
+
"hwEncoders": ["h264_videotoolbox", "hevc_videotoolbox", "prores_videotoolbox"]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"versions": { "cli": { "name": "m0saic-cli", "version": "0.1.0" } },
|
|
18
|
+
"sets": [
|
|
19
|
+
{ "set": "sources", "version": 2, "scenarioIds": ["sources-lavfi", "sources-text", "sources-nested", "sources-ref", "sources-media", "sources-audio"] },
|
|
20
|
+
{ "set": "geometry", "version": 1, "scenarioIds": ["geometry-grid"] },
|
|
21
|
+
{ "set": "duration", "version": 1, "scenarioIds": ["duration-long"] },
|
|
22
|
+
{ "set": "encoders", "version": 1, "scenarioIds": ["encoders-libopenh264", "encoders-libx264", "encoders-libx265"] }
|
|
23
|
+
],
|
|
24
|
+
"scenarios": [
|
|
25
|
+
{ "id": "sources-lavfi", "set": "sources", "label": "Lavfi generators", "ok": true, "elapsedMs": 4544, "outFps": 52.8, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libopenh264" },
|
|
26
|
+
{ "id": "sources-text", "set": "sources", "label": "Text rasterization", "ok": true, "elapsedMs": 6039, "outFps": 39.7, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libopenh264" },
|
|
27
|
+
{ "id": "sources-nested", "set": "sources", "label": "Nested mosaic", "ok": true, "elapsedMs": 4331, "outFps": 55.4, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libopenh264" },
|
|
28
|
+
{ "id": "sources-ref", "set": "sources", "label": "Ref mirror", "ok": true, "elapsedMs": 2815, "outFps": 85.3, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libopenh264" },
|
|
29
|
+
{ "id": "sources-media", "set": "sources", "label": "Video decode (4 clips)", "ok": true, "elapsedMs": 2755, "outFps": 43.6, "frames": 120, "width": 1920, "height": 1080, "durationMs": 4000, "fps": 30, "codec": "libx264" },
|
|
30
|
+
{ "id": "sources-audio", "set": "sources", "label": "Audio + video", "ok": true, "elapsedMs": 2391, "outFps": 100.4, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libx264" },
|
|
31
|
+
{ "id": "geometry-grid", "set": "geometry", "label": "144-cell grid", "ok": true, "elapsedMs": 31521, "outFps": 7.6, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libopenh264" },
|
|
32
|
+
{ "id": "duration-long", "set": "duration", "label": "60s render", "ok": true, "elapsedMs": 32810, "outFps": 54.9, "frames": 1800, "width": 1920, "height": 1080, "durationMs": 60000, "fps": 30, "codec": "libopenh264" },
|
|
33
|
+
{ "id": "encoders-libopenh264", "set": "encoders", "label": "libopenh264 (sw baseline)", "ok": true, "elapsedMs": 2000, "outFps": 120, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libopenh264" },
|
|
34
|
+
{ "id": "encoders-libx264", "set": "encoders", "label": "libx264 (sw)", "ok": true, "elapsedMs": 2637, "outFps": 91, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libx264" },
|
|
35
|
+
{ "id": "encoders-libx265", "set": "encoders", "label": "libx265 (sw)", "ok": true, "elapsedMs": 3227, "outFps": 74.4, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "libx265" },
|
|
36
|
+
{ "id": "encoders-h264_videotoolbox", "set": "encoders", "label": "h264_videotoolbox (hw)", "ok": true, "elapsedMs": 2111, "outFps": 113.7, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "h264_videotoolbox" },
|
|
37
|
+
{ "id": "encoders-hevc_videotoolbox", "set": "encoders", "label": "hevc_videotoolbox (hw)", "ok": true, "elapsedMs": 1935, "outFps": 124, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "hevc_videotoolbox" },
|
|
38
|
+
{ "id": "encoders-prores_videotoolbox", "set": "encoders", "label": "prores_videotoolbox (hw)", "ok": true, "elapsedMs": 2085, "outFps": 115.1, "frames": 240, "width": 1920, "height": 1080, "durationMs": 8000, "fps": 30, "codec": "prores_videotoolbox" }
|
|
39
|
+
],
|
|
40
|
+
"summary": { "totalElapsedMs": 103201, "scoreVersion": 1, "score": 47.4 }
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./report";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./report"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { MosaicTemplate } from "@m0saic/types";
|
|
2
|
+
/**
|
|
3
|
+
* @m0saic/benchmark/report/v1 — the packager.
|
|
4
|
+
*
|
|
5
|
+
* Reads a benchmark session's `benchmark.json` (written by
|
|
6
|
+
* @m0saic/benchmark/run/v1) and renders the STANDARD shareable results video:
|
|
7
|
+
* a machine-specs header, three headline KPIs, and a per-scenario render-time
|
|
8
|
+
* bar chart. KPIs and the chart are COMPOSED from the existing
|
|
9
|
+
* `@m0saic/charts/stat-card/v1` and `@m0saic/charts/bar-graph/v1` templates
|
|
10
|
+
* (reuse, not reinvention) — only the specs header is template-specific text.
|
|
11
|
+
* Deterministic given the session file.
|
|
12
|
+
*/
|
|
13
|
+
export type BenchmarkReportProps = {
|
|
14
|
+
/** Session folder (or path to a benchmark.json). Default: current directory. */
|
|
15
|
+
dir: string;
|
|
16
|
+
/**
|
|
17
|
+
* Animation length as a fraction of the video duration (0.1–1). Drives BOTH
|
|
18
|
+
* the KPI count-up and the bar growth — they're a single linked intro — then
|
|
19
|
+
* the rest of the video holds the final frame.
|
|
20
|
+
*/
|
|
21
|
+
introFrac?: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const BenchmarkReport: MosaicTemplate<BenchmarkReportProps>;
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.BenchmarkReport = void 0;
|
|
37
|
+
const fs = __importStar(require("fs"));
|
|
38
|
+
const path = __importStar(require("path"));
|
|
39
|
+
const assetPath_1 = require("@m0saic/template-utils/dist/m0saic/assetPath");
|
|
40
|
+
const types_1 = require("@m0saic/types");
|
|
41
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
42
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
43
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
44
|
+
dir: {
|
|
45
|
+
type: "string",
|
|
46
|
+
required: false,
|
|
47
|
+
description: "Benchmark session folder to report on (the dir written by the benchmark runner). May also point directly at a benchmark.json.",
|
|
48
|
+
meta: { control: { picker: "folder" }, ui: { label: "Session folder", order: 1 } },
|
|
49
|
+
},
|
|
50
|
+
introFrac: {
|
|
51
|
+
type: "number",
|
|
52
|
+
required: false,
|
|
53
|
+
description: "Animation length as a fraction of the video duration. One slider drives both the KPI count-up and the bar growth (they're linked); the rest of the video holds.",
|
|
54
|
+
meta: {
|
|
55
|
+
constraints: { min: 0.1, max: 1 },
|
|
56
|
+
control: { flavor: "slider", step: 0.05 },
|
|
57
|
+
ui: { label: "Animation length (× duration)", order: 2 },
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
const BG = "#000000";
|
|
62
|
+
const CARD_BG = "#0a0a0a";
|
|
63
|
+
const ACCENT = "#f97316"; // m0saic brand orange
|
|
64
|
+
function resolveBenchmarkJson(input) {
|
|
65
|
+
const toJson = (p) => (p.toLowerCase().endsWith(".json") ? p : path.join(p, "benchmark.json"));
|
|
66
|
+
const candidates = [];
|
|
67
|
+
if (path.isAbsolute(input)) {
|
|
68
|
+
candidates.push(toJson(input));
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
let dir = process.cwd();
|
|
72
|
+
for (;;) {
|
|
73
|
+
candidates.push(toJson(path.resolve(dir, input)));
|
|
74
|
+
const parent = path.dirname(dir);
|
|
75
|
+
if (parent === dir)
|
|
76
|
+
break;
|
|
77
|
+
dir = parent;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
for (const c of candidates) {
|
|
81
|
+
try {
|
|
82
|
+
if (fs.existsSync(c) && fs.statSync(c).isFile())
|
|
83
|
+
return c;
|
|
84
|
+
}
|
|
85
|
+
catch {
|
|
86
|
+
/* keep looking */
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
function formatMs(ms) {
|
|
92
|
+
const s = Math.round(ms / 1000);
|
|
93
|
+
if (s < 60)
|
|
94
|
+
return `${s}s`;
|
|
95
|
+
return `${Math.floor(s / 60)}m ${s % 60}s`;
|
|
96
|
+
}
|
|
97
|
+
function shortFfmpeg(version) {
|
|
98
|
+
var _a;
|
|
99
|
+
const m = version.match(/version\s+(\S+)/i);
|
|
100
|
+
return m ? m[1] : (_a = version.split(/\s+/)[0]) !== null && _a !== void 0 ? _a : version;
|
|
101
|
+
}
|
|
102
|
+
const color = (c) => c;
|
|
103
|
+
/** A solid-background cell with vertically-stacked, centered text lines. */
|
|
104
|
+
function textCell(lines, bg) {
|
|
105
|
+
const n = lines.length;
|
|
106
|
+
const gap = Math.round(Math.max(...lines.map((l) => l.size)) * 1.35);
|
|
107
|
+
const layers = lines.map((ln, i) => {
|
|
108
|
+
var _a;
|
|
109
|
+
const offset = i - (n - 1) / 2;
|
|
110
|
+
return {
|
|
111
|
+
content: { kind: "literal", text: ln.text },
|
|
112
|
+
style: { fontSize: ln.size, fontColor: color((_a = ln.color) !== null && _a !== void 0 ? _a : "#e8eef9"), fontFamily: "Arial" },
|
|
113
|
+
placement: { hAlign: "center", vAlign: "middle", yExpr: `(h-text_h)/2 + (${offset}) * ${gap}` },
|
|
114
|
+
};
|
|
115
|
+
});
|
|
116
|
+
return { type: "text", layers, visual: { backgroundColor: color(bg) }, renderMode: { kind: "image" } };
|
|
117
|
+
}
|
|
118
|
+
const headerLine = (text, size, c) => textCell([{ text, size, color: c }], BG);
|
|
119
|
+
exports.BenchmarkReport = {
|
|
120
|
+
id: (0, types_1.asTemplateId)("@m0saic/benchmark/report/v1"),
|
|
121
|
+
label: "Benchmark — Report",
|
|
122
|
+
version: 1,
|
|
123
|
+
description: "Renders the standard shareable benchmark results video from a session's benchmark.json: machine-specs header, score / total-time / scenarios KPIs (stat-card), and a per-scenario render-time bar chart (bar-graph). Pair with the benchmark runner.",
|
|
124
|
+
capabilities: { tier: "core" },
|
|
125
|
+
tags: ["developer", "benchmark", "report", "dashboard", "performance", "developers", "animated"],
|
|
126
|
+
outputHints: {
|
|
127
|
+
width: 1920,
|
|
128
|
+
height: 1080,
|
|
129
|
+
fps: 30,
|
|
130
|
+
durationMs: 6000,
|
|
131
|
+
format: { kind: "video", container: "mp4" },
|
|
132
|
+
},
|
|
133
|
+
propsSchema,
|
|
134
|
+
defaultProps: { dir: ".", introFrac: 0.6 },
|
|
135
|
+
async render(props, ctx) {
|
|
136
|
+
var _a, _b, _c;
|
|
137
|
+
const W = ctx.target.width;
|
|
138
|
+
const H = ctx.target.height;
|
|
139
|
+
const durationMs = ctx.target.durationMs;
|
|
140
|
+
const errOpts = { width: W, height: H, title: "Benchmark Report" };
|
|
141
|
+
const jsonPath = resolveBenchmarkJson((_a = props.dir) !== null && _a !== void 0 ? _a : ".");
|
|
142
|
+
if (!jsonPath) {
|
|
143
|
+
return (0, template_utils_1.makeErrorMosaic)("No benchmark.json found. Point me at a benchmark session folder (the dir written by @m0saic/benchmark/run/v1).", errOpts);
|
|
144
|
+
}
|
|
145
|
+
let session;
|
|
146
|
+
try {
|
|
147
|
+
session = JSON.parse(fs.readFileSync(jsonPath, "utf8"));
|
|
148
|
+
}
|
|
149
|
+
catch (err) {
|
|
150
|
+
return (0, template_utils_1.makeErrorMosaic)(`Failed to read ${jsonPath}: ${err instanceof Error ? err.message : String(err)}`, errOpts);
|
|
151
|
+
}
|
|
152
|
+
const scen = (_b = session.scenarios) !== null && _b !== void 0 ? _b : [];
|
|
153
|
+
if (scen.length === 0)
|
|
154
|
+
return (0, template_utils_1.makeErrorMosaic)(`No scenarios in ${jsonPath}.`, errOpts);
|
|
155
|
+
// ── Header (3 lines of specs text) ──
|
|
156
|
+
const sys = session.system;
|
|
157
|
+
const hw = sys.ffmpeg.hwEncoders.length ? sys.ffmpeg.hwEncoders.join(", ") : "none";
|
|
158
|
+
const titleCell = headerLine(`m0saic benchmark · ${session.label}`, Math.round(W / 26), "#e8eef9");
|
|
159
|
+
const specsCell = headerLine(`${sys.cpu.model} · ${sys.cpu.cores} cores · ${sys.ram.totalGb} GB`, Math.round(W / 56), "#aab6d6");
|
|
160
|
+
const envCell = headerLine(`${sys.os.platform} ${sys.os.arch} · ffmpeg ${shortFfmpeg(sys.ffmpeg.version)} · hw: ${hw}`, Math.round(W / 72), "#8794b8");
|
|
161
|
+
// ── KPIs: reuse @m0saic/charts/stat-card/v1 ──
|
|
162
|
+
// Shared intro window so the KPI count-up and the bar growth start together
|
|
163
|
+
// at t=0 and run over the same duration — one slider (introFrac) drives both.
|
|
164
|
+
const introFrac = Math.min(1, Math.max(0.1, (_c = props.introFrac) !== null && _c !== void 0 ? _c : 0.6));
|
|
165
|
+
const introMs = Math.max(500, Math.round(durationMs * introFrac));
|
|
166
|
+
const okCount = scen.filter((s) => s.ok).length;
|
|
167
|
+
const kpiSlot = { width: Math.round(W * 0.29), height: Math.round(H * 0.2), durationMs };
|
|
168
|
+
const statCard = (label, value, sublabel) => (0, template_utils_1.renderNestedTemplate)("@m0saic/charts/stat-card/v1", { label, value, sublabel, delta: "", backgroundColor: CARD_BG, anim: { countUp: true, slideIn: true, introMs } }, ctx, { slot: kpiSlot });
|
|
169
|
+
const [kpiScore, kpiTime, kpiOk] = await Promise.all([
|
|
170
|
+
statCard("Score", `${session.summary.score}`, "higher is faster"),
|
|
171
|
+
statCard("Total render time", formatMs(session.summary.totalElapsedMs), session.label),
|
|
172
|
+
statCard("Scenarios ok", `${okCount}/${scen.length}`, `${scen.length} workloads`),
|
|
173
|
+
]);
|
|
174
|
+
// ── Per-scenario render-time bars: reuse @m0saic/charts/bar-graph/v1 ──
|
|
175
|
+
// Cheap cost-scaling view: for a HEAVY session (captured real templates at
|
|
176
|
+
// several durations), color each bar by its source template so each
|
|
177
|
+
// workload's duration series reads as one colored cluster — its cost curve.
|
|
178
|
+
// Standard sessions stay single-accent. (A real line chart is a separate,
|
|
179
|
+
// not-yet-built template.)
|
|
180
|
+
const heavy = scen.some((s) => s.templateIds && s.templateIds.length > 0);
|
|
181
|
+
const BAR_PALETTE = ["#f97316", "#43c59e", "#a78bfa", "#60a5fa", "#f6c177", "#eb6f92"];
|
|
182
|
+
const groupKeys = [];
|
|
183
|
+
const barColors = scen.map((s) => {
|
|
184
|
+
const k = (s.templateIds && s.templateIds[0]) || s.set;
|
|
185
|
+
let i = groupKeys.indexOf(k);
|
|
186
|
+
if (i < 0) {
|
|
187
|
+
i = groupKeys.length;
|
|
188
|
+
groupKeys.push(k);
|
|
189
|
+
}
|
|
190
|
+
return BAR_PALETTE[i % BAR_PALETTE.length];
|
|
191
|
+
});
|
|
192
|
+
const bars = await (0, template_utils_1.renderNestedTemplate)("@m0saic/charts/bar-graph/v1", {
|
|
193
|
+
values: scen.map((s) => { var _a; return Math.round((((_a = s.elapsedMs) !== null && _a !== void 0 ? _a : 0) / 1000) * 10) / 10; }),
|
|
194
|
+
labels: scen.map((s) => s.label),
|
|
195
|
+
orientation: "horizontal",
|
|
196
|
+
preset: "terminal", // near-black card to match the black theme
|
|
197
|
+
barColor: heavy ? barColors : ACCENT,
|
|
198
|
+
valueLabels: { show: true, format: "raw", decimals: 1, suffix: "s" },
|
|
199
|
+
grid: { show: false },
|
|
200
|
+
valueAxis: { show: false },
|
|
201
|
+
baseline: { show: false }, // drop the zero-line strip (it renders with a small gap before the bars)
|
|
202
|
+
// Same intro window as the KPIs: start at t=0, run for introMs, tiny stagger.
|
|
203
|
+
anim: { intro: { durationSec: introMs / 1000, delaySec: 0, staggerSec: 0.02, ease: "smoothstep" }, reduceMotion: false },
|
|
204
|
+
}, ctx, { slot: { width: W, height: Math.round(H * 0.58), durationMs } });
|
|
205
|
+
// ── Mosaic M logo stamp (bundled brand-orange PNG, left of the KPI row).
|
|
206
|
+
// A baked PNG (1 cheap image input) — far lighter than nesting the
|
|
207
|
+
// rect-based logo template, which mints dozens of sub-renders. ──
|
|
208
|
+
const logoSource = {
|
|
209
|
+
type: "media",
|
|
210
|
+
mediaType: "image",
|
|
211
|
+
assetId: "mlogo",
|
|
212
|
+
placement: { fit: "contain" },
|
|
213
|
+
};
|
|
214
|
+
const logoAsset = (0, assetPath_1.fileAsset)(path.resolve(__dirname, "assets"), "m-logo.png", "image");
|
|
215
|
+
// ── Layout: header band (3 rows) / KPI band (M + 3 cards) / bars band ──
|
|
216
|
+
const headerM0 = (0, dsl_stdlib_1.weightedSplit)([38, 30, 32], "row");
|
|
217
|
+
const kpiBandM0 = (0, dsl_stdlib_1.weightedSplit)([13, 29, 29, 29], "col");
|
|
218
|
+
const m0 = (0, dsl_stdlib_1.weightedSplit)([22, 20, 58], "row", { claimants: [headerM0, kpiBandM0, "1"] });
|
|
219
|
+
return {
|
|
220
|
+
kind: "mosaic_document",
|
|
221
|
+
version: 1,
|
|
222
|
+
assets: { mlogo: logoAsset },
|
|
223
|
+
m0,
|
|
224
|
+
sources: [
|
|
225
|
+
titleCell,
|
|
226
|
+
specsCell,
|
|
227
|
+
envCell,
|
|
228
|
+
logoSource,
|
|
229
|
+
{ type: "mosaic", ref: "kpi-score" },
|
|
230
|
+
{ type: "mosaic", ref: "kpi-time" },
|
|
231
|
+
{ type: "mosaic", ref: "kpi-ok" },
|
|
232
|
+
{ type: "mosaic", ref: "bars" },
|
|
233
|
+
],
|
|
234
|
+
children: { "kpi-score": kpiScore, "kpi-time": kpiTime, "kpi-ok": kpiOk, bars },
|
|
235
|
+
backgroundColor: color(BG),
|
|
236
|
+
fps: ctx.target.fps,
|
|
237
|
+
durationMs,
|
|
238
|
+
size: { width: W, height: H },
|
|
239
|
+
};
|
|
240
|
+
},
|
|
241
|
+
};
|
|
242
|
+
(0, template_utils_1.registerTemplate)(exports.BenchmarkReport);
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { BenchmarkScenarioResult, BenchmarkSession, BenchmarkSet, BenchmarkSystemInfo } from "@m0saic/types";
|
|
2
|
+
/**
|
|
3
|
+
* Pure orchestration for a benchmark run. Side effects (spawning renders, the
|
|
4
|
+
* clock, the filesystem) are injected so this module is deterministic and
|
|
5
|
+
* unit-testable; the template (`runner.ts`) wires the real implementations.
|
|
6
|
+
*/
|
|
7
|
+
/** A scenario resolved for execution. `file` is the bare battery filename. */
|
|
8
|
+
export type ResolvedScenario = {
|
|
9
|
+
id: string;
|
|
10
|
+
set: BenchmarkSet;
|
|
11
|
+
label: string;
|
|
12
|
+
file: string;
|
|
13
|
+
codec?: string;
|
|
14
|
+
templateIds?: string[];
|
|
15
|
+
/** Render-duration override (ms) for `make --durationMs`. */
|
|
16
|
+
durationMs?: number;
|
|
17
|
+
};
|
|
18
|
+
/** What an executor reports back after rendering one scenario. */
|
|
19
|
+
export type ScenarioMeasurement = {
|
|
20
|
+
ok: boolean;
|
|
21
|
+
/** Render wall-clock from the scenario's `--report` sidecar (`run.elapsedMs`). */
|
|
22
|
+
elapsedMs: number | null;
|
|
23
|
+
width: number | null;
|
|
24
|
+
height: number | null;
|
|
25
|
+
fps: number | null;
|
|
26
|
+
durationMs: number | null;
|
|
27
|
+
codec: string | null;
|
|
28
|
+
/** Toolchain/package versions snapshot from the report (`report.versions`). */
|
|
29
|
+
versions?: Record<string, unknown>;
|
|
30
|
+
error?: string;
|
|
31
|
+
};
|
|
32
|
+
export type ScenarioExecutor = (s: ResolvedScenario) => Promise<ScenarioMeasurement>;
|
|
33
|
+
/** The sets that actually have shipped workloads (a declared content version). */
|
|
34
|
+
export declare const AVAILABLE_SETS: BenchmarkSet[];
|
|
35
|
+
/**
|
|
36
|
+
* Resolve the workloads to run for the selected sets. Frozen workloads come
|
|
37
|
+
* straight from the manifest; the `encoders` set is additionally expanded with
|
|
38
|
+
* the host's detected hardware encoders (those are machine-dependent and so are
|
|
39
|
+
* NOT part of any frozen set version).
|
|
40
|
+
*/
|
|
41
|
+
export declare function selectScenarios(tests: BenchmarkSet[], hwEncoders: string[]): ResolvedScenario[];
|
|
42
|
+
/** Run each scenario through the executor (sequentially — they compete for the CPU). */
|
|
43
|
+
export declare function runScenarios(scenarios: ResolvedScenario[], exec: ScenarioExecutor): Promise<{
|
|
44
|
+
results: BenchmarkScenarioResult[];
|
|
45
|
+
versions?: Record<string, unknown>;
|
|
46
|
+
}>;
|
|
47
|
+
/** Assemble the final, shareable session object from measured results. */
|
|
48
|
+
export declare function assembleSession(input: {
|
|
49
|
+
label: string;
|
|
50
|
+
systemInfo: BenchmarkSystemInfo;
|
|
51
|
+
results: BenchmarkScenarioResult[];
|
|
52
|
+
selectedSets: BenchmarkSet[];
|
|
53
|
+
startedAtIso: string;
|
|
54
|
+
finishedAtIso: string;
|
|
55
|
+
elapsedMs: number;
|
|
56
|
+
versions?: Record<string, unknown>;
|
|
57
|
+
}): BenchmarkSession;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AVAILABLE_SETS = void 0;
|
|
4
|
+
exports.selectScenarios = selectScenarios;
|
|
5
|
+
exports.runScenarios = runScenarios;
|
|
6
|
+
exports.assembleSession = assembleSession;
|
|
7
|
+
const types_1 = require("@m0saic/types");
|
|
8
|
+
const manifest_1 = require("../../battery/manifest");
|
|
9
|
+
const ALL_SETS = [
|
|
10
|
+
"sources",
|
|
11
|
+
"real",
|
|
12
|
+
"geometry",
|
|
13
|
+
"duration",
|
|
14
|
+
"encoders",
|
|
15
|
+
"sloth",
|
|
16
|
+
];
|
|
17
|
+
/** The sets that actually have shipped workloads (a declared content version). */
|
|
18
|
+
exports.AVAILABLE_SETS = ALL_SETS.filter((s) => manifest_1.BENCHMARK_SET_VERSIONS[s] != null);
|
|
19
|
+
function framesOf(durationMs, fps) {
|
|
20
|
+
if (durationMs == null || fps == null)
|
|
21
|
+
return null;
|
|
22
|
+
return Math.round((durationMs / 1000) * fps);
|
|
23
|
+
}
|
|
24
|
+
function outFpsOf(frames, elapsedMs) {
|
|
25
|
+
if (frames == null || !elapsedMs)
|
|
26
|
+
return null;
|
|
27
|
+
return Math.round((frames / (elapsedMs / 1000)) * 10) / 10;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Resolve the workloads to run for the selected sets. Frozen workloads come
|
|
31
|
+
* straight from the manifest; the `encoders` set is additionally expanded with
|
|
32
|
+
* the host's detected hardware encoders (those are machine-dependent and so are
|
|
33
|
+
* NOT part of any frozen set version).
|
|
34
|
+
*/
|
|
35
|
+
function selectScenarios(tests, hwEncoders) {
|
|
36
|
+
const wanted = new Set(tests);
|
|
37
|
+
const resolved = manifest_1.BENCHMARK_BATTERY.filter((s) => wanted.has(s.set)).map((s) => ({
|
|
38
|
+
id: s.id,
|
|
39
|
+
set: s.set,
|
|
40
|
+
label: s.label,
|
|
41
|
+
file: s.file,
|
|
42
|
+
...(s.codec ? { codec: s.codec } : {}),
|
|
43
|
+
...(s.templateIds ? { templateIds: s.templateIds } : {}),
|
|
44
|
+
...(s.durationMs ? { durationMs: s.durationMs } : {}),
|
|
45
|
+
}));
|
|
46
|
+
if (wanted.has("encoders") && hwEncoders.length > 0) {
|
|
47
|
+
const base = manifest_1.BENCHMARK_BATTERY.find((s) => s.set === "encoders");
|
|
48
|
+
if (base) {
|
|
49
|
+
for (const enc of hwEncoders) {
|
|
50
|
+
resolved.push({
|
|
51
|
+
id: `encoders-${enc}`,
|
|
52
|
+
set: "encoders",
|
|
53
|
+
label: `${enc} (hw)`,
|
|
54
|
+
file: base.file,
|
|
55
|
+
codec: enc,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return resolved;
|
|
61
|
+
}
|
|
62
|
+
/** Run each scenario through the executor (sequentially — they compete for the CPU). */
|
|
63
|
+
async function runScenarios(scenarios, exec) {
|
|
64
|
+
var _a;
|
|
65
|
+
const results = [];
|
|
66
|
+
let versions;
|
|
67
|
+
for (const s of scenarios) {
|
|
68
|
+
let m;
|
|
69
|
+
try {
|
|
70
|
+
m = await exec(s);
|
|
71
|
+
}
|
|
72
|
+
catch (err) {
|
|
73
|
+
m = {
|
|
74
|
+
ok: false,
|
|
75
|
+
elapsedMs: null,
|
|
76
|
+
width: null,
|
|
77
|
+
height: null,
|
|
78
|
+
fps: null,
|
|
79
|
+
durationMs: null,
|
|
80
|
+
codec: (_a = s.codec) !== null && _a !== void 0 ? _a : null,
|
|
81
|
+
error: err instanceof Error ? err.message : String(err),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
if (!versions && m.versions)
|
|
85
|
+
versions = m.versions;
|
|
86
|
+
const frames = framesOf(m.durationMs, m.fps);
|
|
87
|
+
results.push({
|
|
88
|
+
id: s.id,
|
|
89
|
+
set: s.set,
|
|
90
|
+
label: s.label,
|
|
91
|
+
...(s.templateIds ? { templateIds: s.templateIds } : {}),
|
|
92
|
+
ok: m.ok,
|
|
93
|
+
elapsedMs: m.elapsedMs,
|
|
94
|
+
outFps: outFpsOf(frames, m.elapsedMs),
|
|
95
|
+
frames,
|
|
96
|
+
width: m.width,
|
|
97
|
+
height: m.height,
|
|
98
|
+
durationMs: m.durationMs,
|
|
99
|
+
fps: m.fps,
|
|
100
|
+
codec: m.codec,
|
|
101
|
+
...(m.error ? { error: m.error } : {}),
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
return { results, versions };
|
|
105
|
+
}
|
|
106
|
+
/** Per-set content-version records for the sets that actually ran. */
|
|
107
|
+
function buildSetDefs(selectedSets) {
|
|
108
|
+
const defs = [];
|
|
109
|
+
for (const set of selectedSets) {
|
|
110
|
+
const version = manifest_1.BENCHMARK_SET_VERSIONS[set];
|
|
111
|
+
if (version == null)
|
|
112
|
+
continue; // set has no shipped workloads
|
|
113
|
+
const scenarioIds = manifest_1.BENCHMARK_BATTERY.filter((s) => s.set === set).map((s) => s.id);
|
|
114
|
+
if (scenarioIds.length === 0)
|
|
115
|
+
continue;
|
|
116
|
+
defs.push({ set, version, scenarioIds });
|
|
117
|
+
}
|
|
118
|
+
return defs;
|
|
119
|
+
}
|
|
120
|
+
/** Aggregate frames-per-second across all successful scenarios (the "score"). */
|
|
121
|
+
function aggregateFps(results) {
|
|
122
|
+
let frames = 0;
|
|
123
|
+
let ms = 0;
|
|
124
|
+
for (const r of results) {
|
|
125
|
+
if (r.ok && r.frames != null && r.elapsedMs) {
|
|
126
|
+
frames += r.frames;
|
|
127
|
+
ms += r.elapsedMs;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return ms > 0 ? Math.round((frames / (ms / 1000)) * 10) / 10 : 0;
|
|
131
|
+
}
|
|
132
|
+
/** Assemble the final, shareable session object from measured results. */
|
|
133
|
+
function assembleSession(input) {
|
|
134
|
+
const totalElapsedMs = input.results.reduce((sum, r) => sum + (r.ok && r.elapsedMs ? r.elapsedMs : 0), 0);
|
|
135
|
+
return {
|
|
136
|
+
schemaVersion: types_1.BENCHMARK_SESSION_SCHEMA_VERSION,
|
|
137
|
+
label: input.label,
|
|
138
|
+
startedAtIso: input.startedAtIso,
|
|
139
|
+
finishedAtIso: input.finishedAtIso,
|
|
140
|
+
elapsedMs: input.elapsedMs,
|
|
141
|
+
system: input.systemInfo,
|
|
142
|
+
...(input.versions ? { versions: input.versions } : {}),
|
|
143
|
+
sets: buildSetDefs(input.selectedSets),
|
|
144
|
+
scenarios: input.results,
|
|
145
|
+
summary: {
|
|
146
|
+
totalElapsedMs,
|
|
147
|
+
scoreVersion: 1,
|
|
148
|
+
score: aggregateFps(input.results),
|
|
149
|
+
},
|
|
150
|
+
};
|
|
151
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { MosaicDocument, MosaicEngineContext } from "@m0saic/types";
|
|
2
|
+
/**
|
|
3
|
+
* The runner's own render output — a small two-row card (title + detail). Used
|
|
4
|
+
* both for the post-run confirmation and the preview/lite stand-in. Text wraps
|
|
5
|
+
* to the canvas width so long instruction lines never clip.
|
|
6
|
+
*/
|
|
7
|
+
export declare function buildConfirmationDoc(opts: {
|
|
8
|
+
titleLine: string;
|
|
9
|
+
subLine: string;
|
|
10
|
+
ctx: MosaicEngineContext;
|
|
11
|
+
}): MosaicDocument;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildConfirmationDoc = buildConfirmationDoc;
|
|
4
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
5
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
6
|
+
function clamp(n, lo, hi) {
|
|
7
|
+
return Math.max(lo, Math.min(hi, n));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A centered, word-wrapped text tile on a solid background (image-rasterized).
|
|
11
|
+
* The mosaic text renderer has no soft-wrap, so long lines are pre-broken into
|
|
12
|
+
* one layer per line via `multilineTextLayers` to avoid clipping off the cell.
|
|
13
|
+
*/
|
|
14
|
+
function textTile(text, fontSize, bg, cellWidth) {
|
|
15
|
+
// Coarse chars-per-line for this cell at this font size (see wrapText docs).
|
|
16
|
+
const maxChars = Math.max(8, Math.floor(cellWidth / (fontSize * 0.55)));
|
|
17
|
+
return {
|
|
18
|
+
type: "text",
|
|
19
|
+
style: { fontSize, fontColor: "#ffffff", fontFamily: "Arial" },
|
|
20
|
+
layers: (0, template_utils_1.multilineTextLayers)({ text, maxCharsPerLine: maxChars, fontSize }),
|
|
21
|
+
visual: { backgroundColor: bg },
|
|
22
|
+
renderMode: { kind: "image" },
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The runner's own render output — a small two-row card (title + detail). Used
|
|
27
|
+
* both for the post-run confirmation and the preview/lite stand-in. Text wraps
|
|
28
|
+
* to the canvas width so long instruction lines never clip.
|
|
29
|
+
*/
|
|
30
|
+
function buildConfirmationDoc(opts) {
|
|
31
|
+
const { ctx } = opts;
|
|
32
|
+
const W = ctx.target.width;
|
|
33
|
+
const titleFont = clamp(Math.round(W / 26), 28, 80);
|
|
34
|
+
const subFont = clamp(Math.round(W / 46), 18, 44);
|
|
35
|
+
return {
|
|
36
|
+
kind: "mosaic_document",
|
|
37
|
+
version: 1,
|
|
38
|
+
m0: (0, dsl_stdlib_1.equalSplit)(2, "row"),
|
|
39
|
+
assets: {},
|
|
40
|
+
fps: ctx.target.fps,
|
|
41
|
+
durationMs: ctx.target.durationMs,
|
|
42
|
+
size: { width: ctx.target.width, height: ctx.target.height },
|
|
43
|
+
sources: [
|
|
44
|
+
textTile(opts.titleLine, titleFont, "#0b1020", W),
|
|
45
|
+
textTile(opts.subLine, subFont, "#11162a", W),
|
|
46
|
+
],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./runner";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./runner"), exports);
|