@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,12 @@
|
|
|
1
|
+
import type { ScenarioExecutor } from "./benchmarkRun";
|
|
2
|
+
/**
|
|
3
|
+
* Build the real scenario executor: renders each frozen `.mosaic` via a
|
|
4
|
+
* `m0saic make … --report` subprocess and reads the resulting `.output.json`
|
|
5
|
+
* sidecar for the measured render time. The CLI's own `run.elapsedMs` is used
|
|
6
|
+
* (it times the render, excluding our spawn overhead).
|
|
7
|
+
*/
|
|
8
|
+
export declare function makeRealExecutor(opts: {
|
|
9
|
+
scenariosDir: string;
|
|
10
|
+
outDir: string;
|
|
11
|
+
onProgress?: (msg: string) => void;
|
|
12
|
+
}): ScenarioExecutor;
|
|
@@ -0,0 +1,122 @@
|
|
|
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.makeRealExecutor = makeRealExecutor;
|
|
37
|
+
const child_process_1 = require("child_process");
|
|
38
|
+
const fs = __importStar(require("fs"));
|
|
39
|
+
const path = __importStar(require("path"));
|
|
40
|
+
/** Fixed render envelope — the fairness invariant for every workload. */
|
|
41
|
+
const BENCH_WIDTH = 1920;
|
|
42
|
+
const BENCH_HEIGHT = 1080;
|
|
43
|
+
function readReport(p) {
|
|
44
|
+
try {
|
|
45
|
+
return JSON.parse(fs.readFileSync(p, "utf8"));
|
|
46
|
+
}
|
|
47
|
+
catch {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Resolve the `m0saic` CLI to spawn. Prefers an explicit `M0SAIC_CLI` override,
|
|
53
|
+
* else re-invokes the same CLI script currently running this template (so a run
|
|
54
|
+
* launched via a linked/bundled CLI re-uses it), else falls back to `m0saic` on
|
|
55
|
+
* PATH.
|
|
56
|
+
*/
|
|
57
|
+
function resolveCli() {
|
|
58
|
+
const override = process.env.M0SAIC_CLI;
|
|
59
|
+
if (override && override.trim())
|
|
60
|
+
return { file: override.trim(), prefix: [] };
|
|
61
|
+
const entry = process.argv[1];
|
|
62
|
+
if (entry && /m0saic|cli|index\.js$/i.test(entry)) {
|
|
63
|
+
return { file: process.execPath, prefix: [entry] };
|
|
64
|
+
}
|
|
65
|
+
return { file: "m0saic", prefix: [] };
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Build the real scenario executor: renders each frozen `.mosaic` via a
|
|
69
|
+
* `m0saic make … --report` subprocess and reads the resulting `.output.json`
|
|
70
|
+
* sidecar for the measured render time. The CLI's own `run.elapsedMs` is used
|
|
71
|
+
* (it times the render, excluding our spawn overhead).
|
|
72
|
+
*/
|
|
73
|
+
function makeRealExecutor(opts) {
|
|
74
|
+
const cli = resolveCli();
|
|
75
|
+
fs.mkdirSync(opts.outDir, { recursive: true });
|
|
76
|
+
return async (s) => {
|
|
77
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
78
|
+
const input = path.join(opts.scenariosDir, s.file);
|
|
79
|
+
const outFile = path.join(opts.outDir, `${s.id}.mp4`);
|
|
80
|
+
const args = [
|
|
81
|
+
...cli.prefix,
|
|
82
|
+
"make",
|
|
83
|
+
input,
|
|
84
|
+
"--width",
|
|
85
|
+
String(BENCH_WIDTH),
|
|
86
|
+
"--height",
|
|
87
|
+
String(BENCH_HEIGHT),
|
|
88
|
+
"--report",
|
|
89
|
+
"-o",
|
|
90
|
+
outFile,
|
|
91
|
+
"--quiet",
|
|
92
|
+
];
|
|
93
|
+
if (s.codec)
|
|
94
|
+
args.push("--video-codec", s.codec);
|
|
95
|
+
if (s.durationMs)
|
|
96
|
+
args.push("--durationMs", String(s.durationMs));
|
|
97
|
+
(_a = opts.onProgress) === null || _a === void 0 ? void 0 : _a.call(opts, `▶ ${s.id}${s.codec ? ` [${s.codec}]` : ""}${s.durationMs ? ` (${Math.round(s.durationMs / 1000)}s)` : ""}`);
|
|
98
|
+
const res = (0, child_process_1.spawnSync)(cli.file, args, {
|
|
99
|
+
encoding: "utf8",
|
|
100
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
101
|
+
});
|
|
102
|
+
const report = readReport(outFile.replace(/\.mp4$/, ".output.json"));
|
|
103
|
+
const out = report === null || report === void 0 ? void 0 : report.output;
|
|
104
|
+
const measurement = {
|
|
105
|
+
ok: res.status === 0 && !!report && report.ok !== false,
|
|
106
|
+
elapsedMs: (_c = (_b = report === null || report === void 0 ? void 0 : report.run) === null || _b === void 0 ? void 0 : _b.elapsedMs) !== null && _c !== void 0 ? _c : null,
|
|
107
|
+
width: (_d = out === null || out === void 0 ? void 0 : out.width) !== null && _d !== void 0 ? _d : null,
|
|
108
|
+
height: (_e = out === null || out === void 0 ? void 0 : out.height) !== null && _e !== void 0 ? _e : null,
|
|
109
|
+
fps: (_f = out === null || out === void 0 ? void 0 : out.fps) !== null && _f !== void 0 ? _f : null,
|
|
110
|
+
durationMs: (_g = out === null || out === void 0 ? void 0 : out.durationMs) !== null && _g !== void 0 ? _g : null,
|
|
111
|
+
codec: (_k = (_j = (_h = out === null || out === void 0 ? void 0 : out.format) === null || _h === void 0 ? void 0 : _h.codec) !== null && _j !== void 0 ? _j : s.codec) !== null && _k !== void 0 ? _k : null,
|
|
112
|
+
};
|
|
113
|
+
if (measurement.ok) {
|
|
114
|
+
measurement.versions = report === null || report === void 0 ? void 0 : report.versions;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
const stderr = (res.stderr || "").trim().split(/\r?\n/).slice(-2).join(" ");
|
|
118
|
+
measurement.error = stderr || `exit ${(_l = res.status) !== null && _l !== void 0 ? _l : "unknown"}`;
|
|
119
|
+
}
|
|
120
|
+
return measurement;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BenchmarkSet } from "@m0saic/types";
|
|
2
|
+
export type BenchmarkRunProps = {
|
|
3
|
+
/** Which sets to run. Default: every set with shipped workloads. */
|
|
4
|
+
tests?: BenchmarkSet[];
|
|
5
|
+
/** Run label — distinguishes conditions, e.g. "idle" vs "loaded". */
|
|
6
|
+
label?: string;
|
|
7
|
+
/** Where to write the session folder. Default: current working directory. */
|
|
8
|
+
outputDir?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const BenchmarkRun: import("@m0saic/types").MosaicTemplate<BenchmarkRunProps, import("@m0saic/types").MosaicTemplateOutputs, import("@m0saic/types").MosaicTemplateUpstreamVariables, import("@m0saic/types").MosaicTemplateUpstreamData, import("@m0saic/types").MosaicTemplateSidecars>;
|
|
@@ -0,0 +1,208 @@
|
|
|
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.BenchmarkRun = 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 system_1 = require("@m0saic/platform/system");
|
|
43
|
+
const manifest_1 = require("../../battery/manifest");
|
|
44
|
+
const benchmarkRun_1 = require("./benchmarkRun");
|
|
45
|
+
const renderScenario_1 = require("./renderScenario");
|
|
46
|
+
const confirmation_1 = require("./confirmation");
|
|
47
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
48
|
+
tests: {
|
|
49
|
+
type: "string[]",
|
|
50
|
+
required: false,
|
|
51
|
+
description: "Which benchmark sets to run. Default: all available.",
|
|
52
|
+
meta: {
|
|
53
|
+
control: {
|
|
54
|
+
multiple: true,
|
|
55
|
+
options: [
|
|
56
|
+
{ value: "sources", label: "Sources", description: "One workload per source kind (lavfi, text, nested, ref, video, audio)" },
|
|
57
|
+
{ value: "geometry", label: "Geometry", description: "144-cell grid — chunked-stitch path" },
|
|
58
|
+
{ value: "duration", label: "Duration", description: "60s render — longest wall-clock" },
|
|
59
|
+
{ value: "encoders", label: "Encoders", description: "Same job across software + detected hardware encoders" },
|
|
60
|
+
{ value: "real", label: "Real (heavy)", description: "Captured real templates (charts, video grid) at short/medium/long — minutes-long, the truest real-world cost signal" },
|
|
61
|
+
{ value: "sloth", label: "Sloth (blowups)", description: "Known complexity blowups (the donut's masked-sweep, ~70min at 30s) — run deliberately on their own; they'd dominate a normal run and flatten the chart" },
|
|
62
|
+
],
|
|
63
|
+
},
|
|
64
|
+
ui: { label: "Tests", order: 1 },
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
label: {
|
|
68
|
+
type: "string",
|
|
69
|
+
required: false,
|
|
70
|
+
description: "Run condition — names the session folder and labels the shareable result, so machines compare like-for-like.",
|
|
71
|
+
meta: {
|
|
72
|
+
control: {
|
|
73
|
+
options: [
|
|
74
|
+
{ value: "idle", label: "Idle", description: "Nothing else running — the clean baseline" },
|
|
75
|
+
{ value: "loaded", label: "Loaded", description: "Browser + apps open, like a working machine" },
|
|
76
|
+
{ value: "gaming", label: "Gaming", description: "A game running alongside the render" },
|
|
77
|
+
{ value: "dedicated", label: "Dedicated render", description: "A render-only rig with nothing else competing" },
|
|
78
|
+
],
|
|
79
|
+
},
|
|
80
|
+
ui: { label: "Label", order: 2 },
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
outputDir: {
|
|
84
|
+
type: "string",
|
|
85
|
+
required: false,
|
|
86
|
+
description: "Folder to write the benchmark session into. Default: current directory.",
|
|
87
|
+
meta: {
|
|
88
|
+
control: { placeholder: "current working directory", picker: "folder" },
|
|
89
|
+
ui: { label: "Output dir", order: 3 },
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
// Default to the STANDARD tier — a quick run. The `real` (heavy) tier is
|
|
94
|
+
// minutes-long, so it's opt-in via the Tests selection.
|
|
95
|
+
const DEFAULTS = { tests: manifest_1.BENCHMARK_STANDARD_SETS, label: "idle" };
|
|
96
|
+
function slug(label) {
|
|
97
|
+
return label.trim().toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "") || "run";
|
|
98
|
+
}
|
|
99
|
+
/** Resolve the requested sets, defaulting to the standard tier; drop unknowns. */
|
|
100
|
+
function resolveTests(props) {
|
|
101
|
+
var _a;
|
|
102
|
+
const raw = (_a = props.tests) !== null && _a !== void 0 ? _a : manifest_1.BENCHMARK_STANDARD_SETS;
|
|
103
|
+
return raw.filter((t) => benchmarkRun_1.AVAILABLE_SETS.includes(t));
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The lightweight stand-in shown on preview / design hot paths (and as a guard
|
|
107
|
+
* if render() is ever invoked in design mode). It describes what pressing Make
|
|
108
|
+
* will do — it performs NO side effects (no subprocess, no fs writes).
|
|
109
|
+
*/
|
|
110
|
+
function buildLiteDoc(props, ctx) {
|
|
111
|
+
var _a;
|
|
112
|
+
const tests = resolveTests(props);
|
|
113
|
+
if (tests.length === 0) {
|
|
114
|
+
return (0, confirmation_1.buildConfirmationDoc)({
|
|
115
|
+
titleLine: "m0saic benchmark",
|
|
116
|
+
subLine: "Select test sets (sources, geometry, duration, encoders), then press Make to run",
|
|
117
|
+
ctx,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
const count = (0, benchmarkRun_1.selectScenarios)(tests, []).length;
|
|
121
|
+
return (0, confirmation_1.buildConfirmationDoc)({
|
|
122
|
+
titleLine: "m0saic benchmark — press Make to run",
|
|
123
|
+
subLine: `${tests.join(", ")} · ${count}+ workloads · writes ./benchmark-${slug(((_a = props.label) !== null && _a !== void 0 ? _a : "run").trim() || "run")}/benchmark.json`,
|
|
124
|
+
ctx,
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
exports.BenchmarkRun = (0, template_utils_1.defineMosaicTemplate)({
|
|
128
|
+
id: (0, types_1.asTemplateId)("@m0saic/benchmark/run/v1"),
|
|
129
|
+
label: "Benchmark — Run",
|
|
130
|
+
version: 1,
|
|
131
|
+
description: "Measures this machine's render performance: renders a frozen battery of standardized .mosaic workloads (sources, geometry, long-duration, encoder comparison), times each via its --report sidecar, captures host specs, and writes a shareable benchmark.json session folder. Pair with the benchmark report template to render the results video.",
|
|
132
|
+
capabilities: {
|
|
133
|
+
tier: "capability",
|
|
134
|
+
caps: {
|
|
135
|
+
// Spawns `m0saic make` per workload and writes the session folder.
|
|
136
|
+
exec: { spawn: true },
|
|
137
|
+
fs: { read: true, write: true, list: true, temp: true },
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
tags: ["developer", "benchmark", "performance", "diagnostics", "capability", "developers", "animated"],
|
|
141
|
+
outputHints: {
|
|
142
|
+
width: 1920,
|
|
143
|
+
height: 1080,
|
|
144
|
+
fps: 30,
|
|
145
|
+
durationMs: 4000,
|
|
146
|
+
format: { kind: "video", container: "mp4" },
|
|
147
|
+
},
|
|
148
|
+
propsSchema,
|
|
149
|
+
defaultProps: DEFAULTS,
|
|
150
|
+
async render(props, ctx) {
|
|
151
|
+
var _a, _b;
|
|
152
|
+
// Preview / design hot path defense-in-depth: never run the battery just
|
|
153
|
+
// because a host rendered us in design mode. Preview hosts should call
|
|
154
|
+
// renderLite() (below), but guard here too in case render() is invoked
|
|
155
|
+
// directly with mode: "design".
|
|
156
|
+
if (ctx.mode === "design")
|
|
157
|
+
return buildLiteDoc(props, ctx);
|
|
158
|
+
// Omitted → all available sets; an explicit empty array → just the card
|
|
159
|
+
// (used by the E2E suite to avoid running the battery in CI).
|
|
160
|
+
const tests = resolveTests(props);
|
|
161
|
+
const label = ((_a = props.label) !== null && _a !== void 0 ? _a : "run").trim() || "run";
|
|
162
|
+
if (tests.length === 0)
|
|
163
|
+
return buildLiteDoc(props, ctx);
|
|
164
|
+
const systemInfo = (0, system_1.collectSystemInfo)();
|
|
165
|
+
const scenarios = (0, benchmarkRun_1.selectScenarios)(tests, systemInfo.ffmpeg.hwEncoders);
|
|
166
|
+
const outputDir = (_b = props.outputDir) !== null && _b !== void 0 ? _b : process.cwd();
|
|
167
|
+
const sessionDir = path.join(outputDir, `benchmark-${slug(label)}`);
|
|
168
|
+
// asar-translated: the frozen `.mosaic` scenarios are handed to a spawned
|
|
169
|
+
// `m0saic make` subprocess (see renderScenario), which cannot read inside
|
|
170
|
+
// app.asar. asarUnpack already mirrors them (they live under `assets/`).
|
|
171
|
+
const scenariosDir = (0, assetPath_1.unpackedAsarPath)(path.resolve(__dirname, "..", "..", "battery", manifest_1.BATTERY_SCENARIOS_SUBDIR));
|
|
172
|
+
const exec = (0, renderScenario_1.makeRealExecutor)({
|
|
173
|
+
scenariosDir,
|
|
174
|
+
outDir: path.join(sessionDir, "scenarios"),
|
|
175
|
+
onProgress: (m) => process.stderr.write(`${m}\n`),
|
|
176
|
+
});
|
|
177
|
+
const startedAt = Date.now();
|
|
178
|
+
const { results, versions } = await (0, benchmarkRun_1.runScenarios)(scenarios, exec);
|
|
179
|
+
const finishedAt = Date.now();
|
|
180
|
+
const session = (0, benchmarkRun_1.assembleSession)({
|
|
181
|
+
label,
|
|
182
|
+
systemInfo,
|
|
183
|
+
results,
|
|
184
|
+
selectedSets: tests,
|
|
185
|
+
startedAtIso: new Date(startedAt).toISOString(),
|
|
186
|
+
finishedAtIso: new Date(finishedAt).toISOString(),
|
|
187
|
+
elapsedMs: finishedAt - startedAt,
|
|
188
|
+
versions,
|
|
189
|
+
});
|
|
190
|
+
fs.mkdirSync(sessionDir, { recursive: true });
|
|
191
|
+
const jsonPath = path.join(sessionDir, "benchmark.json");
|
|
192
|
+
fs.writeFileSync(jsonPath, `${JSON.stringify(session, null, 2)}\n`, "utf8");
|
|
193
|
+
const okCount = results.filter((r) => r.ok).length;
|
|
194
|
+
process.stderr.write(`✅ benchmark "${label}": ${okCount}/${results.length} ok · score ${session.summary.score} → ${jsonPath}\n`);
|
|
195
|
+
return (0, confirmation_1.buildConfirmationDoc)({
|
|
196
|
+
titleLine: `m0saic benchmark · ${label}`,
|
|
197
|
+
subLine: `${okCount}/${results.length} scenarios · ${Math.round(session.summary.totalElapsedMs / 1000)}s · score ${session.summary.score}`,
|
|
198
|
+
ctx,
|
|
199
|
+
});
|
|
200
|
+
},
|
|
201
|
+
// Preview / design hot path: a lightweight instructional card. NO side
|
|
202
|
+
// effects — this is what the editor shows when the template is selected or
|
|
203
|
+
// its props change, so the battery only ever runs on an explicit Make.
|
|
204
|
+
renderLite(props, ctx) {
|
|
205
|
+
return buildLiteDoc(props, ctx);
|
|
206
|
+
},
|
|
207
|
+
});
|
|
208
|
+
(0, template_utils_1.registerTemplate)(exports.BenchmarkRun);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @m0saic/brand/business-card/v1 — the back-of-card catalog.
|
|
3
|
+
*
|
|
4
|
+
* The back shows ONE shipped template, picked by the `back` prop. Every
|
|
5
|
+
* entry is rendered LIVE as a nested child (never a bundled poster — the
|
|
6
|
+
* publish gate keeps `assets/templates/*` out of the CLI tarball), so each
|
|
7
|
+
* entry must (a) be registered in the web build too (the QR opens it on
|
|
8
|
+
* Mosaic Web) and (b) freeze to a finished frame at t = 0: a still samples
|
|
9
|
+
* the first frame, and an intro that starts from nothing renders blank.
|
|
10
|
+
* `frozenProps` flips the same knobs the editor covers use (`anim.reduceMotion`
|
|
11
|
+
* / `animation.reduceMotion` / `animate`).
|
|
12
|
+
*
|
|
13
|
+
* Hardcoded on purpose: `template-registry.ts` is 700 lines of data and would
|
|
14
|
+
* ride into the web bundle; `back-catalog.test.ts` cross-checks every row
|
|
15
|
+
* against it instead.
|
|
16
|
+
*/
|
|
17
|
+
export declare const WEB_APP_URL = "https://app.m0saic.io";
|
|
18
|
+
/** The marketing site — owner of the typeable short links the card prints. */
|
|
19
|
+
export declare const SITE_HOST = "m0saic.io";
|
|
20
|
+
export type BackEntry = {
|
|
21
|
+
/** The template rendered on the back. */
|
|
22
|
+
templateId: string;
|
|
23
|
+
/** Short display title (ASCII — svg glyphs). */
|
|
24
|
+
title: string;
|
|
25
|
+
/** Prop overrides layered over the template's defaults (light flavour only). */
|
|
26
|
+
flavour?: Record<string, unknown>;
|
|
27
|
+
/** The one-liner printed under the link. Default `npx m0saic make <id>`. */
|
|
28
|
+
command?: string;
|
|
29
|
+
/** The typeable url as printed. Default `m0saic.io/t/<pack>/<slug>/<vN>` (the site's route). */
|
|
30
|
+
typeable?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Canvas the child renders at. Default: its own `outputHints` (the canvas its
|
|
33
|
+
* layout was designed for). `"cell"` = the poster cell itself — for a
|
|
34
|
+
* template whose layout is ABSOLUTE at the head (hello-world's card is
|
|
35
|
+
* `placeRects`): rendered at its native 1920x1080 and scaled into the cell
|
|
36
|
+
* its pixel-basis splits go sub-pixel when the editor flattens the card.
|
|
37
|
+
*/
|
|
38
|
+
slot?: {
|
|
39
|
+
width: number;
|
|
40
|
+
height: number;
|
|
41
|
+
} | "cell";
|
|
42
|
+
};
|
|
43
|
+
export declare const BACK_KEYS: readonly ["hello-world", "agent-commit-feed", "trace-timeline", "year-card", "commit-feed", "donut", "bar-graph", "line-chart", "kpi-card", "heatmap", "treemap", "leaderboard", "timeline", "contributor-table", "snippet-morph"];
|
|
44
|
+
export type BackKey = (typeof BACK_KEYS)[number];
|
|
45
|
+
export declare const BACK_CATALOG: Record<BackKey, BackEntry>;
|
|
46
|
+
export declare function pickBack(value: string | undefined): BackKey;
|
|
47
|
+
/** The minimal Mosaic Web link — `/make?t=<id>` opens the template at its defaults. */
|
|
48
|
+
export declare function makeUrl(templateId: string): string;
|
|
49
|
+
/**
|
|
50
|
+
* The url as PRINTED: the site's typeable form (`m0saic.io/t/<pack>/<slug>/<vN>`
|
|
51
|
+
* — `@m0saic/` is implied by the route; hello-world has `/hello`), the same
|
|
52
|
+
* line the mobile showroom tells a phone to type. 39 chars at the longest, so
|
|
53
|
+
* it holds at the 8 pt floor; the app url (`makeUrl`) runs to 64. The QR
|
|
54
|
+
* keeps the app url — a scan never waits on the site's redirect.
|
|
55
|
+
*/
|
|
56
|
+
export declare function displayUrl(entry: BackEntry): string;
|
|
57
|
+
/** The CLI one-liner; `make` writes `out.mp4` / `out.png` when `-o` is omitted. */
|
|
58
|
+
export declare function commandFor(entry: BackEntry): string;
|
|
59
|
+
/**
|
|
60
|
+
* The longest command in the catalog — it sets the ONE size every back's
|
|
61
|
+
* command prints at (mono, so longest = widest). Ties break on catalog order.
|
|
62
|
+
*/
|
|
63
|
+
export declare function longestCommand(): string;
|
|
64
|
+
/**
|
|
65
|
+
* The child's props: its defaults, the entry's flavour, then every motion
|
|
66
|
+
* knob switched off so frame 0 is the finished picture.
|
|
67
|
+
*/
|
|
68
|
+
export declare function frozenProps(defaults: Record<string, unknown> | undefined, flavour?: Record<string, unknown>): Record<string, unknown>;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @m0saic/brand/business-card/v1 — the back-of-card catalog.
|
|
4
|
+
*
|
|
5
|
+
* The back shows ONE shipped template, picked by the `back` prop. Every
|
|
6
|
+
* entry is rendered LIVE as a nested child (never a bundled poster — the
|
|
7
|
+
* publish gate keeps `assets/templates/*` out of the CLI tarball), so each
|
|
8
|
+
* entry must (a) be registered in the web build too (the QR opens it on
|
|
9
|
+
* Mosaic Web) and (b) freeze to a finished frame at t = 0: a still samples
|
|
10
|
+
* the first frame, and an intro that starts from nothing renders blank.
|
|
11
|
+
* `frozenProps` flips the same knobs the editor covers use (`anim.reduceMotion`
|
|
12
|
+
* / `animation.reduceMotion` / `animate`).
|
|
13
|
+
*
|
|
14
|
+
* Hardcoded on purpose: `template-registry.ts` is 700 lines of data and would
|
|
15
|
+
* ride into the web bundle; `back-catalog.test.ts` cross-checks every row
|
|
16
|
+
* against it instead.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.BACK_CATALOG = exports.BACK_KEYS = exports.SITE_HOST = exports.WEB_APP_URL = void 0;
|
|
20
|
+
exports.pickBack = pickBack;
|
|
21
|
+
exports.makeUrl = makeUrl;
|
|
22
|
+
exports.displayUrl = displayUrl;
|
|
23
|
+
exports.commandFor = commandFor;
|
|
24
|
+
exports.longestCommand = longestCommand;
|
|
25
|
+
exports.frozenProps = frozenProps;
|
|
26
|
+
exports.WEB_APP_URL = "https://app.m0saic.io";
|
|
27
|
+
/** The marketing site — owner of the typeable short links the card prints. */
|
|
28
|
+
exports.SITE_HOST = "m0saic.io";
|
|
29
|
+
exports.BACK_KEYS = [
|
|
30
|
+
"hello-world",
|
|
31
|
+
"agent-commit-feed",
|
|
32
|
+
"trace-timeline",
|
|
33
|
+
"year-card",
|
|
34
|
+
"commit-feed",
|
|
35
|
+
"donut",
|
|
36
|
+
"bar-graph",
|
|
37
|
+
"line-chart",
|
|
38
|
+
"kpi-card",
|
|
39
|
+
"heatmap",
|
|
40
|
+
"treemap",
|
|
41
|
+
"leaderboard",
|
|
42
|
+
"timeline",
|
|
43
|
+
"contributor-table",
|
|
44
|
+
"snippet-morph",
|
|
45
|
+
];
|
|
46
|
+
exports.BACK_CATALOG = {
|
|
47
|
+
"hello-world": {
|
|
48
|
+
templateId: "@m0saic/hello-world/v1",
|
|
49
|
+
title: "Hello, World",
|
|
50
|
+
command: "npx m0saic hello-world",
|
|
51
|
+
typeable: `${exports.SITE_HOST}/hello`, // next.config.ts redirect — the showroom's own hand-off line
|
|
52
|
+
slot: "cell",
|
|
53
|
+
},
|
|
54
|
+
// The WeAreDevelopers NA card for the AI-coding majority: who wrote this week's commits.
|
|
55
|
+
"agent-commit-feed": { templateId: "@m0saic/agents/commit-feed/v1", title: "Agent Commit Feed" },
|
|
56
|
+
// The "agents in production" card: one run as a waterfall of tool calls.
|
|
57
|
+
"trace-timeline": { templateId: "@m0saic/agents/trace-timeline/v1", title: "Agent Trace Timeline" },
|
|
58
|
+
// The card for everyone: a year of contributions on one card.
|
|
59
|
+
"year-card": { templateId: "@m0saic/github/year-card/v1", title: "GitHub Year Card" },
|
|
60
|
+
"commit-feed": { templateId: "@m0saic/alpine/commit-feed/v2", title: "Commit Feed" },
|
|
61
|
+
// The alpine charts, not charts/*: the alpine donut carries a legend (the
|
|
62
|
+
// charts one labels the ring only — founder pick 2026-09-16) and the trio
|
|
63
|
+
// shares the alpine chrome with the rest of the catalog.
|
|
64
|
+
donut: { templateId: "@m0saic/alpine/donut/v3", title: "Donut Chart" },
|
|
65
|
+
"bar-graph": { templateId: "@m0saic/alpine/bar-graph/v1", title: "Bar Graph" },
|
|
66
|
+
"line-chart": { templateId: "@m0saic/alpine/line-chart/v2", title: "Line Chart" },
|
|
67
|
+
"kpi-card": { templateId: "@m0saic/alpine/kpi-card/v2", title: "KPI Card" },
|
|
68
|
+
heatmap: { templateId: "@m0saic/alpine/heatmap/v2", title: "Heatmap" },
|
|
69
|
+
treemap: { templateId: "@m0saic/alpine/treemap/v2", title: "Treemap" },
|
|
70
|
+
leaderboard: { templateId: "@m0saic/alpine/leaderboard/v1", title: "Leaderboard" },
|
|
71
|
+
timeline: { templateId: "@m0saic/alpine/timeline/v2", title: "Timeline" },
|
|
72
|
+
"contributor-table": { templateId: "@m0saic/alpine/contributor-table/v1", title: "Contributor Table" },
|
|
73
|
+
"snippet-morph": { templateId: "@m0saic/code/snippet-morph/v1", title: "Code Snippet Morph" },
|
|
74
|
+
};
|
|
75
|
+
function pickBack(value) {
|
|
76
|
+
return exports.BACK_KEYS.includes(value !== null && value !== void 0 ? value : "") ? value : "hello-world";
|
|
77
|
+
}
|
|
78
|
+
/** The minimal Mosaic Web link — `/make?t=<id>` opens the template at its defaults. */
|
|
79
|
+
function makeUrl(templateId) {
|
|
80
|
+
return `${exports.WEB_APP_URL}/make?t=${templateId}`;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The url as PRINTED: the site's typeable form (`m0saic.io/t/<pack>/<slug>/<vN>`
|
|
84
|
+
* — `@m0saic/` is implied by the route; hello-world has `/hello`), the same
|
|
85
|
+
* line the mobile showroom tells a phone to type. 39 chars at the longest, so
|
|
86
|
+
* it holds at the 8 pt floor; the app url (`makeUrl`) runs to 64. The QR
|
|
87
|
+
* keeps the app url — a scan never waits on the site's redirect.
|
|
88
|
+
*/
|
|
89
|
+
function displayUrl(entry) {
|
|
90
|
+
var _a;
|
|
91
|
+
return (_a = entry.typeable) !== null && _a !== void 0 ? _a : `${exports.SITE_HOST}/t/${entry.templateId.replace(/^@m0saic\//, "")}`;
|
|
92
|
+
}
|
|
93
|
+
/** The CLI one-liner; `make` writes `out.mp4` / `out.png` when `-o` is omitted. */
|
|
94
|
+
function commandFor(entry) {
|
|
95
|
+
var _a;
|
|
96
|
+
return (_a = entry.command) !== null && _a !== void 0 ? _a : `npx m0saic make ${entry.templateId}`;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The longest command in the catalog — it sets the ONE size every back's
|
|
100
|
+
* command prints at (mono, so longest = widest). Ties break on catalog order.
|
|
101
|
+
*/
|
|
102
|
+
function longestCommand() {
|
|
103
|
+
return exports.BACK_KEYS.map((k) => commandFor(exports.BACK_CATALOG[k])).reduce((a, b) => (b.length > a.length ? b : a));
|
|
104
|
+
}
|
|
105
|
+
function isRecord(v) {
|
|
106
|
+
return typeof v === "object" && v !== null && !Array.isArray(v);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The child's props: its defaults, the entry's flavour, then every motion
|
|
110
|
+
* knob switched off so frame 0 is the finished picture.
|
|
111
|
+
*/
|
|
112
|
+
function frozenProps(defaults, flavour) {
|
|
113
|
+
const out = { ...(defaults !== null && defaults !== void 0 ? defaults : {}), ...(flavour !== null && flavour !== void 0 ? flavour : {}) };
|
|
114
|
+
for (const key of ["anim", "animation"]) {
|
|
115
|
+
if (isRecord(out[key]))
|
|
116
|
+
out[key] = { ...out[key], reduceMotion: true };
|
|
117
|
+
}
|
|
118
|
+
if (typeof out.animate === "boolean")
|
|
119
|
+
out.animate = false;
|
|
120
|
+
return out;
|
|
121
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* @m0saic/brand/business-card/v1 — the m0saic business card, print-ready
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* A double-sided US business card (3.5 x 2 in) rendered at press resolution.
|
|
7
|
+
* One render emits TWO PNG stills as an `emit: "multi"` pipeline — the CLI
|
|
8
|
+
* writes `<out>-front.png` and `<out>-back.png`; Make previews both faces.
|
|
9
|
+
*
|
|
10
|
+
* FRONT — the brand surface: the Home-screen tile field cover-fit across the
|
|
11
|
+
* bleed canvas, the M + wordmark lockup, then name / role and the
|
|
12
|
+
* contact lines in the product's mono face.
|
|
13
|
+
* BACK — one shipped template (the `back` knob), rendered LIVE as a nested
|
|
14
|
+
* child with its motion frozen, beside a QR that opens it on Mosaic
|
|
15
|
+
* Web (`app.m0saic.io/make?t=<id>`), the site's typeable link
|
|
16
|
+
* (`m0saic.io/t/<pack>/<slug>/<vN>`) and the `npx` one-liner.
|
|
17
|
+
*
|
|
18
|
+
* Print discipline lives in `layout.ts`: inches × dpi, trim centred on a
|
|
19
|
+
* bleed canvas (MOO's 3.66 x 2.16 in box by default — 1098 x 648 px at 300
|
|
20
|
+
* DPI, exact; 1/8 in for FedEx Office / Staples, 1/16 in for Vistaprint),
|
|
21
|
+
* a 1/8 in safe area, MOO's 8 pt type floor (the back's `npx` line is the one
|
|
22
|
+
* exception: every card prints it at the size the LONGEST catalog command
|
|
23
|
+
* fits), even lattice-friendly canvas edges.
|
|
24
|
+
* The engine writes no DPI metadata — tag the PNGs at 300 DPI before upload
|
|
25
|
+
* (`sips -s dpiWidth 300 -s dpiHeight 300 …` or sharp's `withMetadata`).
|
|
26
|
+
*
|
|
27
|
+
* Everything is real geometry (the Rect Thesis): field tiles, the glyph
|
|
28
|
+
* masks, every text line, the poster and QR cells are m0 cells laundered
|
|
29
|
+
* through `placeInsetPieces` — zero drift, bounded precision.
|
|
30
|
+
* ============================================================================
|
|
31
|
+
*/
|
|
32
|
+
import type { MosaicColor, MosaicTemplate } from "@m0saic/types";
|
|
33
|
+
import { type LayoutConstraint } from "@m0saic/template-utils";
|
|
34
|
+
import { type BackKey } from "./back-catalog";
|
|
35
|
+
import { type Bleed, type CardCanvas } from "./layout";
|
|
36
|
+
export type BusinessCardProps = {
|
|
37
|
+
/** Name — the bold line. */
|
|
38
|
+
name?: string;
|
|
39
|
+
/** Role / company line under the name. Empty = none. */
|
|
40
|
+
role?: string;
|
|
41
|
+
/** Email (mono). Empty = none. */
|
|
42
|
+
email?: string;
|
|
43
|
+
/** Website (mono). Empty = none. */
|
|
44
|
+
site?: string;
|
|
45
|
+
/** Social handle (mono, beside the site). Empty = none. */
|
|
46
|
+
handle?: string;
|
|
47
|
+
/** Which shipped template the back shows. */
|
|
48
|
+
back?: BackKey;
|
|
49
|
+
/** Printer bleed per side: MOO's 0.08 in box (default), none (trim only), 1/16 in, 1/8 in. */
|
|
50
|
+
bleed?: Bleed;
|
|
51
|
+
/** Print resolution; the whole card scales with it. Default 300. */
|
|
52
|
+
dpi?: number;
|
|
53
|
+
/** Field tile tint over the navy (Home uses 0.16; print wants more). */
|
|
54
|
+
fieldOpacity?: number;
|
|
55
|
+
/** Accent — the M and the wordmark's zero. */
|
|
56
|
+
accent?: MosaicColor;
|
|
57
|
+
/** Draw the trim and safe-area outlines (proofing only). */
|
|
58
|
+
guides?: boolean;
|
|
59
|
+
/** Dev-only: check the layout contract (marks keep their aspect, the back's template keeps ITS aspect, everything inside the safe area). */
|
|
60
|
+
debugLayout?: boolean;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* The layout contract — label-keyed, canvas-independent, shared by `render`
|
|
64
|
+
* (`debugLayout`) and the gate test's canvas sweep. Every glyph/mark on a face
|
|
65
|
+
* must stay inside the safe area; the marks keep their aspect; and on the
|
|
66
|
+
* back the NESTED TEMPLATE keeps ITS OWN aspect (the cell is cut to the
|
|
67
|
+
* child's canvas, so a stretched poster is a contract violation, not a
|
|
68
|
+
* render surprise).
|
|
69
|
+
*/
|
|
70
|
+
export declare function businessCardConstraints(face: "front" | "back", c: CardCanvas, present: {
|
|
71
|
+
labels: readonly string[];
|
|
72
|
+
posterAspect?: number;
|
|
73
|
+
}): LayoutConstraint[];
|
|
74
|
+
/**
|
|
75
|
+
* The smallest QR version that encodes `text` with the template's carve
|
|
76
|
+
* (ECC H + the centre safe area). The QR template pins a cutout to version
|
|
77
|
+
* 6 exactly (~58 bytes of URL); a long template id overflows it and renders
|
|
78
|
+
* an error card. Same encoder, same arguments — so what fits here fits there.
|
|
79
|
+
*/
|
|
80
|
+
export declare function pickQrVersion(text: string, moduleColor: MosaicColor): number;
|
|
81
|
+
export declare const BusinessCard: MosaicTemplate<BusinessCardProps>;
|
|
82
|
+
export default BusinessCard;
|