@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,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Media-free built-in demo story — rendered on null/absent props so the
|
|
4
|
+
* template previews with zero setup (Templates page, null-props E2E case,
|
|
5
|
+
* `m0saic make` with no --props).
|
|
6
|
+
*
|
|
7
|
+
* Every section pins its length via `overrides.durationMs`, so no audio is
|
|
8
|
+
* probed. The values are deliberately unequal and non-round (they mirror the
|
|
9
|
+
* committed demo project's minted narration clips) — a timing model that
|
|
10
|
+
* divides time evenly instead of reading per-section durations fails
|
|
11
|
+
* visibly against this fixture.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.DEMO_STORY = void 0;
|
|
15
|
+
exports.DEMO_STORY = {
|
|
16
|
+
schemaVersion: 1,
|
|
17
|
+
title: "Every Level of a City Block",
|
|
18
|
+
subtitle: "From the sidewalk to the skyline",
|
|
19
|
+
brand: {
|
|
20
|
+
accentColor: "#2f6df6",
|
|
21
|
+
backgroundColor: "#0d0f12",
|
|
22
|
+
textColor: "#f4f6f8",
|
|
23
|
+
},
|
|
24
|
+
// No `outputs` on purpose: the demo adopts the requested canvas
|
|
25
|
+
// orientation, so `-w 1080 -h 1920` previews portrait out of the box.
|
|
26
|
+
sections: [
|
|
27
|
+
{
|
|
28
|
+
id: "sidewalk",
|
|
29
|
+
title: "Street Level",
|
|
30
|
+
narrationText: "Start at the pavement. Everything a block does for a person happens in the first three metres.",
|
|
31
|
+
overrides: { durationMs: 2640 },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: "storefront",
|
|
35
|
+
title: "The Storefront",
|
|
36
|
+
narrationText: "One step up, the block starts selling. Glass, signage, and a doorway that decides who comes in.",
|
|
37
|
+
overrides: { durationMs: 4120 },
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: "upper-floors",
|
|
41
|
+
title: "The Upper Floors",
|
|
42
|
+
narrationText: "Above the shopfront the block goes quiet: offices, apartments, and the windows nobody looks up at.",
|
|
43
|
+
overrides: { durationMs: 3360 },
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: "skyline",
|
|
47
|
+
title: "The Skyline",
|
|
48
|
+
narrationText: "At the top the block stops being architecture and becomes silhouette — the shape the city remembers.",
|
|
49
|
+
overrides: { durationMs: 5080 },
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NarratedChapters = void 0;
|
|
4
|
+
var narrated_chapters_1 = require("./narrated-chapters");
|
|
5
|
+
Object.defineProperty(exports, "NarratedChapters", { enumerable: true, get: function () { return narrated_chapters_1.NarratedChapters; } });
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ken Burns — constant NUMERIC zoom, animated focus (perf rule R10:
|
|
3
|
+
* `applyCamera` emits a static `eval=init` scale for a number zoom and a
|
|
4
|
+
* per-frame `eval=frame` scale for a string zoom; never animate zoom).
|
|
5
|
+
*
|
|
6
|
+
* All variation flows from `hash32` (FNV-1a) over (salt, seed, section,
|
|
7
|
+
* image) — §9: no `Math.random`, identical seeds → identical cameras,
|
|
8
|
+
* byte-identical output. ~20% of shots are locked-off stills (no camera at
|
|
9
|
+
* all — the all-numeric zoom≤1 path is a plain `copy`).
|
|
10
|
+
*
|
|
11
|
+
* `keyframeExpr` holds the first value before t0, so the image is already
|
|
12
|
+
* framed during its fade-in — no jump. Ease defaults to linear (a drift
|
|
13
|
+
* wants constant velocity; smoothstep reads as stalling at both ends) and
|
|
14
|
+
* follows `story.motion.ease` when the manifest overrides it.
|
|
15
|
+
*/
|
|
16
|
+
import type { MotionEase } from "./plan";
|
|
17
|
+
export type StoryCamera = {
|
|
18
|
+
zoom: number;
|
|
19
|
+
focusX: number | string;
|
|
20
|
+
focusY: number | string;
|
|
21
|
+
};
|
|
22
|
+
/** ~1.08–1.18× — the genre look; anything larger reads as a crash zoom. */
|
|
23
|
+
export declare const ZOOMS: readonly [1.08, 1.1, 1.12, 1.15, 1.18];
|
|
24
|
+
/** Drift directions (dx, dy) in focus space; 0 = no travel on that axis. */
|
|
25
|
+
export declare const MOVES: ReadonlyArray<readonly [number, number]>;
|
|
26
|
+
/** FNV-1a over the joined parts — deterministic across runtimes. */
|
|
27
|
+
export declare function hash32(...parts: Array<string | number>): number;
|
|
28
|
+
export type KenBurnsOptions = {
|
|
29
|
+
seed: number;
|
|
30
|
+
sectionIndex: number;
|
|
31
|
+
imageIndex: number;
|
|
32
|
+
/** Image's visible window on the scene-local clock, seconds. */
|
|
33
|
+
startSec: number;
|
|
34
|
+
endSec: number;
|
|
35
|
+
/** story.motion.intensity (default 1). */
|
|
36
|
+
intensity: number;
|
|
37
|
+
/** story.motion.ease (default "linear" — constant-velocity drift). */
|
|
38
|
+
ease?: MotionEase;
|
|
39
|
+
/** Aspect-table multiplier (portrait 0.75 — full amplitude reads as shake). */
|
|
40
|
+
ampScale: number;
|
|
41
|
+
/** Cover-crop anchor the drift orbits (defaults to center). */
|
|
42
|
+
subjectX?: number;
|
|
43
|
+
subjectY?: number;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* The camera for one image, or undefined for a locked-off still.
|
|
47
|
+
* Zoom is always a NUMBER; focus axes are keyframed strings only when they
|
|
48
|
+
* actually travel.
|
|
49
|
+
*/
|
|
50
|
+
export declare function kenBurnsCamera(opts: KenBurnsOptions): StoryCamera | undefined;
|
|
Binary file
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Aspect table + m0 assembly. ONE table keyed by aspect class — builders
|
|
3
|
+
* read it, they never branch on dimensions (the plan's aspect-adaptivity
|
|
4
|
+
* rule). Type scales off the short edge S = min(W, H).
|
|
5
|
+
*
|
|
6
|
+
* The body m0 is a nested image stack (`F{F{F}}` — nest, never chain:
|
|
7
|
+
* `F{F}{F}` is an illegal overlay chain). Overlay nesting IS the z-order:
|
|
8
|
+
* image k is the overlay of image k−1 and paints above it, which is what
|
|
9
|
+
* makes a single fade-in a true dissolve.
|
|
10
|
+
*/
|
|
11
|
+
import type { M0String } from "@m0saic/dsl";
|
|
12
|
+
export type AspectClass = "landscape" | "portrait" | "square";
|
|
13
|
+
/** Plan-mandated thresholds: landscape ar ≥ 1.2, portrait ar ≤ 0.85. */
|
|
14
|
+
export declare function classifyAspect(width: number, height: number): AspectClass;
|
|
15
|
+
export type AspectSpec = {
|
|
16
|
+
/** Ken Burns focus-travel multiplier — full amplitude reads as shake in a tight portrait crop. */
|
|
17
|
+
cameraAmpScale: number;
|
|
18
|
+
/** Default cover-crop vertical anchor (heads sit high in portrait shots). */
|
|
19
|
+
coverFocusY: number;
|
|
20
|
+
/** Headline font cap as a fraction of the short edge. */
|
|
21
|
+
headingScale: number;
|
|
22
|
+
/** Subtitle / kicker font cap as a fraction of the short edge. */
|
|
23
|
+
subScale: number;
|
|
24
|
+
/** Horizontal text-safe fraction of the canvas width on cards. */
|
|
25
|
+
cardSafeW: number;
|
|
26
|
+
/** Caption font cap as a fraction of the short edge. */
|
|
27
|
+
captionScale: number;
|
|
28
|
+
/** Max wrapped lines per cue. */
|
|
29
|
+
captionLines: number;
|
|
30
|
+
/**
|
|
31
|
+
* Caption band height as a fraction of H — a LIVE weight in every
|
|
32
|
+
* aspect's band split (buildBodyM0): portrait carves its bottom band
|
|
33
|
+
* directly; landscape/square carve a lower-third band whose top band is
|
|
34
|
+
* claimed by a transparent tile so the images show through. (Painting a
|
|
35
|
+
* strip via inset is illegal — the engine caps placement.inset at
|
|
36
|
+
* 0.49/side.)
|
|
37
|
+
*/
|
|
38
|
+
captionBandFrac: number;
|
|
39
|
+
};
|
|
40
|
+
export declare const ASPECT_TABLE: Record<AspectClass, AspectSpec>;
|
|
41
|
+
/**
|
|
42
|
+
* Card scenes carve REAL vertical bands (Rect Thesis — no drawtext
|
|
43
|
+
* positioning, no full-frame hacks). Weights are integer fractions of the
|
|
44
|
+
* height; every band is claimed (a "0" claimant would donate its space
|
|
45
|
+
* forward and inflate the next band).
|
|
46
|
+
*/
|
|
47
|
+
export type CardBand = {
|
|
48
|
+
kind: "spacer";
|
|
49
|
+
weight: number;
|
|
50
|
+
} | {
|
|
51
|
+
kind: "kicker";
|
|
52
|
+
weight: number;
|
|
53
|
+
} | {
|
|
54
|
+
kind: "heading";
|
|
55
|
+
weight: number;
|
|
56
|
+
} | {
|
|
57
|
+
kind: "bar";
|
|
58
|
+
weight: number;
|
|
59
|
+
} | {
|
|
60
|
+
kind: "sub";
|
|
61
|
+
weight: number;
|
|
62
|
+
};
|
|
63
|
+
export declare const CARD_BANDS: Record<"title" | "section-card" | "outro", CardBand[]>;
|
|
64
|
+
/**
|
|
65
|
+
* Vertically stacked bands claiming every cell — exactly bands.length
|
|
66
|
+
* frames, plus an optional audio overlay leaf (the music bed rides every
|
|
67
|
+
* step). Axis "row" = horizontal rows stacked top-to-bottom (the m0
|
|
68
|
+
* `N[...]` form); "col" would lay the bands out side-by-side.
|
|
69
|
+
*/
|
|
70
|
+
export declare function buildCardM0(bands: CardBand[], audioCount?: number): M0String;
|
|
71
|
+
export type BodyM0Options = {
|
|
72
|
+
aspect: AspectClass;
|
|
73
|
+
/** Frames in the visual base: image count, or 2 for the panel fallback. */
|
|
74
|
+
stackFrames: number;
|
|
75
|
+
/** Append plate + text caption frames. */
|
|
76
|
+
captions: boolean;
|
|
77
|
+
/** Trailing audio leaves (narration and/or music). */
|
|
78
|
+
audioCount: number;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* The full body m0. Frame order is ALWAYS [stack…, captions?, audio…] —
|
|
82
|
+
* only the caption carve differs per aspect:
|
|
83
|
+
*
|
|
84
|
+
* - portrait: a real [12,56,32] band split — images in the top band,
|
|
85
|
+
* plate+text in the bottom band, audio as the root overlay. Caption
|
|
86
|
+
* frames: plate, text.
|
|
87
|
+
* - landscape/square: the innermost image's overlay carves a REAL
|
|
88
|
+
* lower-third band split — the top band claimed by a transparent tile so
|
|
89
|
+
* the images show through, the bottom band = plate{text}. Caption
|
|
90
|
+
* frames: topSpacer, plate, text. (An inset-painted strip is illegal —
|
|
91
|
+
* the engine caps placement.inset at 0.49 per side.)
|
|
92
|
+
*/
|
|
93
|
+
export declare function buildBodyM0(opts: BodyM0Options): M0String;
|
|
94
|
+
/**
|
|
95
|
+
* Body scene: a nested full-canvas image stack, one frame per image.
|
|
96
|
+
* count 1 → "F"; count 3 → "F{F{F}}". Never chained.
|
|
97
|
+
*/
|
|
98
|
+
export declare function buildImageStackM0(count: number): M0String;
|
|
99
|
+
/**
|
|
100
|
+
* Media-free body fallback (the built-in demo): a full-canvas panel with a
|
|
101
|
+
* centered heading block — panel base + heading overlay.
|
|
102
|
+
*/
|
|
103
|
+
export declare function buildPanelBodyM0(): M0String;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Aspect table + m0 assembly. ONE table keyed by aspect class — builders
|
|
4
|
+
* read it, they never branch on dimensions (the plan's aspect-adaptivity
|
|
5
|
+
* rule). Type scales off the short edge S = min(W, H).
|
|
6
|
+
*
|
|
7
|
+
* The body m0 is a nested image stack (`F{F{F}}` — nest, never chain:
|
|
8
|
+
* `F{F}{F}` is an illegal overlay chain). Overlay nesting IS the z-order:
|
|
9
|
+
* image k is the overlay of image k−1 and paints above it, which is what
|
|
10
|
+
* makes a single fade-in a true dissolve.
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.CARD_BANDS = exports.ASPECT_TABLE = void 0;
|
|
14
|
+
exports.classifyAspect = classifyAspect;
|
|
15
|
+
exports.buildCardM0 = buildCardM0;
|
|
16
|
+
exports.buildBodyM0 = buildBodyM0;
|
|
17
|
+
exports.buildImageStackM0 = buildImageStackM0;
|
|
18
|
+
exports.buildPanelBodyM0 = buildPanelBodyM0;
|
|
19
|
+
const dsl_1 = require("@m0saic/dsl");
|
|
20
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
21
|
+
/** Plan-mandated thresholds: landscape ar ≥ 1.2, portrait ar ≤ 0.85. */
|
|
22
|
+
function classifyAspect(width, height) {
|
|
23
|
+
const ar = width / height;
|
|
24
|
+
if (ar >= 1.2)
|
|
25
|
+
return "landscape";
|
|
26
|
+
if (ar <= 0.85)
|
|
27
|
+
return "portrait";
|
|
28
|
+
return "square";
|
|
29
|
+
}
|
|
30
|
+
exports.ASPECT_TABLE = {
|
|
31
|
+
landscape: {
|
|
32
|
+
cameraAmpScale: 1.0, coverFocusY: 0.5, headingScale: 0.085, subScale: 0.036, cardSafeW: 0.72,
|
|
33
|
+
captionScale: 0.042, captionLines: 2, captionBandFrac: 0.22,
|
|
34
|
+
},
|
|
35
|
+
portrait: {
|
|
36
|
+
cameraAmpScale: 0.75, coverFocusY: 0.42, headingScale: 0.08, subScale: 0.036, cardSafeW: 0.84,
|
|
37
|
+
captionScale: 0.044, captionLines: 3, captionBandFrac: 0.32,
|
|
38
|
+
},
|
|
39
|
+
square: {
|
|
40
|
+
cameraAmpScale: 0.85, coverFocusY: 0.46, headingScale: 0.08, subScale: 0.036, cardSafeW: 0.8,
|
|
41
|
+
captionScale: 0.042, captionLines: 2, captionBandFrac: 0.24,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
exports.CARD_BANDS = {
|
|
45
|
+
title: [
|
|
46
|
+
{ kind: "spacer", weight: 30 },
|
|
47
|
+
{ kind: "heading", weight: 14 },
|
|
48
|
+
{ kind: "spacer", weight: 3 },
|
|
49
|
+
{ kind: "bar", weight: 2 },
|
|
50
|
+
{ kind: "spacer", weight: 5 },
|
|
51
|
+
{ kind: "sub", weight: 8 },
|
|
52
|
+
{ kind: "spacer", weight: 38 },
|
|
53
|
+
],
|
|
54
|
+
"section-card": [
|
|
55
|
+
{ kind: "spacer", weight: 32 },
|
|
56
|
+
{ kind: "kicker", weight: 6 },
|
|
57
|
+
{ kind: "spacer", weight: 2 },
|
|
58
|
+
{ kind: "heading", weight: 12 },
|
|
59
|
+
{ kind: "spacer", weight: 4 },
|
|
60
|
+
{ kind: "bar", weight: 2 },
|
|
61
|
+
{ kind: "spacer", weight: 42 },
|
|
62
|
+
],
|
|
63
|
+
outro: [
|
|
64
|
+
{ kind: "spacer", weight: 36 },
|
|
65
|
+
{ kind: "heading", weight: 11 },
|
|
66
|
+
{ kind: "spacer", weight: 3 },
|
|
67
|
+
{ kind: "bar", weight: 2 },
|
|
68
|
+
{ kind: "spacer", weight: 6 },
|
|
69
|
+
{ kind: "sub", weight: 7 },
|
|
70
|
+
{ kind: "spacer", weight: 35 },
|
|
71
|
+
],
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Vertically stacked bands claiming every cell — exactly bands.length
|
|
75
|
+
* frames, plus an optional audio overlay leaf (the music bed rides every
|
|
76
|
+
* step). Axis "row" = horizontal rows stacked top-to-bottom (the m0
|
|
77
|
+
* `N[...]` form); "col" would lay the bands out side-by-side.
|
|
78
|
+
*/
|
|
79
|
+
function buildCardM0(bands, audioCount = 0) {
|
|
80
|
+
const split = (0, dsl_stdlib_1.weightedSplit)(bands.map((b) => b.weight), "row", { claimants: bands.map(() => "1") });
|
|
81
|
+
const audio = audioLeaf(audioCount);
|
|
82
|
+
return audio === "" ? split : assertValid(`${split}{${audio}}`);
|
|
83
|
+
}
|
|
84
|
+
/** Nested audio leaves ("F", "F{F}") — audio-only sources still hold frames. */
|
|
85
|
+
function audioLeaf(count) {
|
|
86
|
+
if (count <= 0)
|
|
87
|
+
return "";
|
|
88
|
+
let m0 = "F";
|
|
89
|
+
for (let i = 1; i < count; i++)
|
|
90
|
+
m0 = `F{${m0}}`;
|
|
91
|
+
return m0;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The full body m0. Frame order is ALWAYS [stack…, captions?, audio…] —
|
|
95
|
+
* only the caption carve differs per aspect:
|
|
96
|
+
*
|
|
97
|
+
* - portrait: a real [12,56,32] band split — images in the top band,
|
|
98
|
+
* plate+text in the bottom band, audio as the root overlay. Caption
|
|
99
|
+
* frames: plate, text.
|
|
100
|
+
* - landscape/square: the innermost image's overlay carves a REAL
|
|
101
|
+
* lower-third band split — the top band claimed by a transparent tile so
|
|
102
|
+
* the images show through, the bottom band = plate{text}. Caption
|
|
103
|
+
* frames: topSpacer, plate, text. (An inset-painted strip is illegal —
|
|
104
|
+
* the engine caps placement.inset at 0.49 per side.)
|
|
105
|
+
*/
|
|
106
|
+
function buildBodyM0(opts) {
|
|
107
|
+
const { aspect, stackFrames, captions, audioCount } = opts;
|
|
108
|
+
if (!Number.isInteger(stackFrames) || stackFrames < 1) {
|
|
109
|
+
throw new Error(`buildBodyM0: stackFrames must be a positive integer, got ${stackFrames}`);
|
|
110
|
+
}
|
|
111
|
+
const audio = audioLeaf(audioCount);
|
|
112
|
+
const bandWeight = Math.round(exports.ASPECT_TABLE[aspect].captionBandFrac * 100);
|
|
113
|
+
if (captions && aspect === "portrait") {
|
|
114
|
+
// [12, 56, 32]: the 12% top margin donates forward into the image band.
|
|
115
|
+
const stackClaimant = nest("1", stackFrames);
|
|
116
|
+
const split = (0, dsl_stdlib_1.weightedSplit)([12, 100 - 12 - bandWeight, bandWeight], "row", {
|
|
117
|
+
claimants: ["0", stackClaimant, "1{1}"],
|
|
118
|
+
});
|
|
119
|
+
return assertValid(audio === "" ? String(split) : `${split}{${audio}}`);
|
|
120
|
+
}
|
|
121
|
+
if (captions) {
|
|
122
|
+
const split = (0, dsl_stdlib_1.weightedSplit)([100 - bandWeight, bandWeight], "row", {
|
|
123
|
+
claimants: ["1", "1{1}"],
|
|
124
|
+
});
|
|
125
|
+
const tail = audio === "" ? String(split) : `${split}{${audio}}`;
|
|
126
|
+
return assertValid(nest("F", stackFrames, tail));
|
|
127
|
+
}
|
|
128
|
+
return assertValid(nest("F", stackFrames, audio));
|
|
129
|
+
}
|
|
130
|
+
/** token nested `count` deep, innermost carrying `tail` as its overlay. */
|
|
131
|
+
function nest(token, count, tail = "") {
|
|
132
|
+
let m0 = tail === "" ? token : `${token}{${tail}}`;
|
|
133
|
+
for (let i = 1; i < count; i++)
|
|
134
|
+
m0 = `${token}{${m0}}`;
|
|
135
|
+
return m0;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Body scene: a nested full-canvas image stack, one frame per image.
|
|
139
|
+
* count 1 → "F"; count 3 → "F{F{F}}". Never chained.
|
|
140
|
+
*/
|
|
141
|
+
function buildImageStackM0(count) {
|
|
142
|
+
if (!Number.isInteger(count) || count < 1) {
|
|
143
|
+
throw new Error(`buildImageStackM0: count must be a positive integer, got ${count}`);
|
|
144
|
+
}
|
|
145
|
+
let m0 = "F";
|
|
146
|
+
for (let i = 1; i < count; i++)
|
|
147
|
+
m0 = `F{${m0}}`;
|
|
148
|
+
return assertValid(m0);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Media-free body fallback (the built-in demo): a full-canvas panel with a
|
|
152
|
+
* centered heading block — panel base + heading overlay.
|
|
153
|
+
*/
|
|
154
|
+
function buildPanelBodyM0() {
|
|
155
|
+
return assertValid("F{F}");
|
|
156
|
+
}
|
|
157
|
+
function assertValid(m0) {
|
|
158
|
+
if (!(0, dsl_1.isValidM0String)(m0)) {
|
|
159
|
+
throw new Error(`layout: generated invalid m0 "${m0}"`);
|
|
160
|
+
}
|
|
161
|
+
return m0;
|
|
162
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @m0saic/story/narrated-chapters/v1 — the agentic-video flagship.
|
|
3
|
+
*
|
|
4
|
+
* A chaptered, narration-timed story pipeline: an upstream orchestrator
|
|
5
|
+
* (see `examples/story-studio`) turns a topic into `story.json` + assets;
|
|
6
|
+
* this template turns that manifest into one emit:"multi" pipeline with one
|
|
7
|
+
* output step per aspect variant. Phase-2 state: structural skeleton with
|
|
8
|
+
* placeholder colour scenes; card/body visuals, narration audio and
|
|
9
|
+
* captions land in later phases.
|
|
10
|
+
*
|
|
11
|
+
* Time authority: the CLI make path passes no durationMs/fps to the
|
|
12
|
+
* planner, `emit:"multi"` escapes assertTiming's stitched-length invariant,
|
|
13
|
+
* and the output stamp preserves a template-declared pipeline durationMs —
|
|
14
|
+
* so the story's length derives entirely from the manifest + probed
|
|
15
|
+
* narration durations. `ctx.target` stays the sole authority for canvas
|
|
16
|
+
* geometry and fps (its durationMs is only a default-5000ms hint and is
|
|
17
|
+
* deliberately ignored).
|
|
18
|
+
*/
|
|
19
|
+
import type { MosaicTemplate } from "@m0saic/types";
|
|
20
|
+
import type { NarratedChaptersProps } from "./props";
|
|
21
|
+
export type { NarratedChaptersProps };
|
|
22
|
+
export declare const NarratedChapters: MosaicTemplate<NarratedChaptersProps>;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @m0saic/story/narrated-chapters/v1 — the agentic-video flagship.
|
|
4
|
+
*
|
|
5
|
+
* A chaptered, narration-timed story pipeline: an upstream orchestrator
|
|
6
|
+
* (see `examples/story-studio`) turns a topic into `story.json` + assets;
|
|
7
|
+
* this template turns that manifest into one emit:"multi" pipeline with one
|
|
8
|
+
* output step per aspect variant. Phase-2 state: structural skeleton with
|
|
9
|
+
* placeholder colour scenes; card/body visuals, narration audio and
|
|
10
|
+
* captions land in later phases.
|
|
11
|
+
*
|
|
12
|
+
* Time authority: the CLI make path passes no durationMs/fps to the
|
|
13
|
+
* planner, `emit:"multi"` escapes assertTiming's stitched-length invariant,
|
|
14
|
+
* and the output stamp preserves a template-declared pipeline durationMs —
|
|
15
|
+
* so the story's length derives entirely from the manifest + probed
|
|
16
|
+
* narration durations. `ctx.target` stays the sole authority for canvas
|
|
17
|
+
* geometry and fps (its durationMs is only a default-5000ms hint and is
|
|
18
|
+
* deliberately ignored).
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.NarratedChapters = void 0;
|
|
22
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
23
|
+
const types_1 = require("@m0saic/types");
|
|
24
|
+
const captions_1 = require("./captions");
|
|
25
|
+
const demo_fixture_1 = require("./demo-fixture");
|
|
26
|
+
const plan_1 = require("./plan");
|
|
27
|
+
const props_1 = require("./props");
|
|
28
|
+
const pipeline_1 = require("./pipeline");
|
|
29
|
+
const body_1 = require("./scenes/body");
|
|
30
|
+
const theme_1 = require("./theme");
|
|
31
|
+
const TEMPLATE_ID = "@m0saic/story/narrated-chapters/v1";
|
|
32
|
+
const TEMPLATE_TITLE = "Narrated Chapters";
|
|
33
|
+
/** Demo storyMs: 3500 + 4×2000 + (3340+4820+4060+5780) + 3000 = 32500. */
|
|
34
|
+
const DEMO_DURATION_MS = 32500;
|
|
35
|
+
exports.NarratedChapters = {
|
|
36
|
+
id: (0, types_1.asTemplateId)(TEMPLATE_ID),
|
|
37
|
+
label: TEMPLATE_TITLE,
|
|
38
|
+
version: 1,
|
|
39
|
+
description: "Chaptered, narration-timed story video from a story.json manifest — title/section cards, per-chapter scenes, and one deliverable per aspect (landscape/portrait) from a single invocation. Omit props for the built-in demo story.",
|
|
40
|
+
capabilities: { tier: "core" },
|
|
41
|
+
tags: ["media", "story", "chapters", "narrated", "pipeline", "agentic", "animated", "creators", "educators", "social", "voice-over", "explainer"],
|
|
42
|
+
outputHints: {
|
|
43
|
+
format: { kind: "video", container: "mp4" },
|
|
44
|
+
width: 1920,
|
|
45
|
+
height: 1080,
|
|
46
|
+
fps: 30,
|
|
47
|
+
durationMs: DEMO_DURATION_MS,
|
|
48
|
+
note: "Duration derives from the story manifest (narration lengths), not from -t/--duration.",
|
|
49
|
+
},
|
|
50
|
+
propsSchema: props_1.narratedChaptersPropsSchema,
|
|
51
|
+
defaultProps: {},
|
|
52
|
+
async render(props, ctx) {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
const width = Math.max(1, Math.round(ctx.target.width));
|
|
55
|
+
const height = Math.max(1, Math.round(ctx.target.height));
|
|
56
|
+
const fail = (message) => (0, template_utils_1.makeErrorMosaic)(message, { width, height, title: TEMPLATE_TITLE });
|
|
57
|
+
// The CLI calls render() directly — validateTemplateProps never runs on
|
|
58
|
+
// that path, so the props schema is documentation and this is the gate.
|
|
59
|
+
const coerced = (0, props_1.coerceStoryProp)(props === null || props === void 0 ? void 0 : props.story);
|
|
60
|
+
if (coerced.errors.length > 0)
|
|
61
|
+
return fail(coerced.errors.join("\n"));
|
|
62
|
+
// `--props @story.json` passes the manifest AS the props bag — accept it
|
|
63
|
+
// rather than silently rendering the demo over the user's story.
|
|
64
|
+
const story = (_b = (_a = coerced.story) !== null && _a !== void 0 ? _a : (0, props_1.sniffBareStory)(props)) !== null && _b !== void 0 ? _b : demo_fixture_1.DEMO_STORY;
|
|
65
|
+
const shapeErrors = (0, props_1.validateStoryShape)(story);
|
|
66
|
+
if (shapeErrors.length > 0)
|
|
67
|
+
return fail(shapeErrors.join("\n"));
|
|
68
|
+
const timing = (0, plan_1.resolveTiming)(story, {
|
|
69
|
+
fps: ctx.target.fps,
|
|
70
|
+
target: { width, height },
|
|
71
|
+
// Registry keys are the RAW trimmed prop strings; never normalize.
|
|
72
|
+
narrationDurationMs: (rawPath) => { var _a; return (_a = ctx.media[(0, types_1.asAssetId)(rawPath)]) === null || _a === void 0 ? void 0 : _a.durationMs; },
|
|
73
|
+
});
|
|
74
|
+
if ("error" in timing)
|
|
75
|
+
return fail(timing.error);
|
|
76
|
+
const media = resolveSectionMedia(story, ctx);
|
|
77
|
+
if (typeof media === "string")
|
|
78
|
+
return fail(media);
|
|
79
|
+
const music = timing.plan.audio.musicPath !== undefined
|
|
80
|
+
? { path: timing.plan.audio.musicPath, assetKey: "music_bed" }
|
|
81
|
+
: undefined;
|
|
82
|
+
const pipeline = (0, pipeline_1.buildOuterPipeline)(timing.plan, { width, height, fps: ctx.target.fps }, (0, theme_1.themeFromStory)(story), media, music);
|
|
83
|
+
attachCaptionsSidecar(pipeline, timing.plan);
|
|
84
|
+
return pipeline;
|
|
85
|
+
},
|
|
86
|
+
sidecarsSchema: {
|
|
87
|
+
captions: {
|
|
88
|
+
type: "object",
|
|
89
|
+
required: false,
|
|
90
|
+
description: "Combined SubRip captions on the story timeline, written as {output-basename}.captions.srt next to the deliverable (cues are aspect-invariant, so one file serves every variant).",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* The combined .srt rides as a text sidecar on the FIRST variant's first
|
|
96
|
+
* scene doc: the sidecar walker recurses nested pipelines and resolves an
|
|
97
|
+
* inner step's base to the primary `-o` path, and cue timing is identical
|
|
98
|
+
* across variants, so one attachment yields exactly one
|
|
99
|
+
* `{basename}.captions.srt`.
|
|
100
|
+
*/
|
|
101
|
+
function attachCaptionsSidecar(pipeline, plan) {
|
|
102
|
+
var _a, _b, _c, _d, _e, _f;
|
|
103
|
+
const absolute = [];
|
|
104
|
+
for (const scene of plan.scenes) {
|
|
105
|
+
for (const cue of (_a = scene.cues) !== null && _a !== void 0 ? _a : []) {
|
|
106
|
+
absolute.push({ startMs: scene.startMs + cue.startMs, endMs: scene.startMs + cue.endMs, text: cue.text });
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
if (absolute.length === 0)
|
|
110
|
+
return;
|
|
111
|
+
const outer = pipeline;
|
|
112
|
+
const firstSceneDoc = (_f = (_e = (_d = (_c = (_b = outer.steps) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.file) === null || _d === void 0 ? void 0 : _d.steps) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.file;
|
|
113
|
+
if (firstSceneDoc === undefined)
|
|
114
|
+
return;
|
|
115
|
+
firstSceneDoc.sidecars = {
|
|
116
|
+
captions: { kind: "text", ext: "srt", content: (0, captions_1.serializeSrt)(absolute) },
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Probe-verify every declared image against ctx.media and hand the scene
|
|
121
|
+
* builders resolved keys. Fail fast (one message naming every problem +
|
|
122
|
+
* the mediaPaths remedy) — a missing asset must never render as a black
|
|
123
|
+
* tile. Asset keys are positional (`img_<section>_<index>`), so key
|
|
124
|
+
* collisions are impossible by construction.
|
|
125
|
+
*/
|
|
126
|
+
function resolveSectionMedia(story, ctx) {
|
|
127
|
+
const sections = Array.isArray(story.sections) ? story.sections : [];
|
|
128
|
+
const problems = [];
|
|
129
|
+
const resolved = sections.map((section, i) => {
|
|
130
|
+
const paths = Array.isArray(section.images)
|
|
131
|
+
? section.images.filter((p) => typeof p === "string" && p.trim().length > 0)
|
|
132
|
+
: [];
|
|
133
|
+
const images = paths.map((rawPath, k) => {
|
|
134
|
+
var _a;
|
|
135
|
+
const meta = ctx.media[(0, types_1.asAssetId)(rawPath.trim())];
|
|
136
|
+
if (meta === undefined) {
|
|
137
|
+
problems.push(`sections[${i}].images[${k}] ("${rawPath}") is not in ctx.media — this engine probes only top-level string/string[] props; run \`story-studio build\` so mediaPaths mirrors it.`);
|
|
138
|
+
}
|
|
139
|
+
else if (meta.kind !== "image") {
|
|
140
|
+
problems.push(`sections[${i}].images[${k}] ("${rawPath}") probed as ${(_a = meta.kind) !== null && _a !== void 0 ? _a : "unknown"} — images must be stills in v1.`);
|
|
141
|
+
}
|
|
142
|
+
return { path: rawPath.trim(), assetKey: `img_${i}_${k}` };
|
|
143
|
+
});
|
|
144
|
+
// Narration becomes a real audio source — the doc manifest is what the
|
|
145
|
+
// engine probes for audio correctness (it recurses nested pipelines),
|
|
146
|
+
// so this works even on routes where mediaPaths is absent.
|
|
147
|
+
const narrationPath = typeof section.narrationAudio === "string" && section.narrationAudio.trim().length > 0
|
|
148
|
+
? section.narrationAudio.trim()
|
|
149
|
+
: undefined;
|
|
150
|
+
return {
|
|
151
|
+
images,
|
|
152
|
+
focus: (0, body_1.focusFromOverrides)(section.overrides, paths.length),
|
|
153
|
+
...(narrationPath !== undefined ? { narration: { path: narrationPath, assetKey: `nar_${i}` } } : {}),
|
|
154
|
+
};
|
|
155
|
+
});
|
|
156
|
+
if (problems.length > 0)
|
|
157
|
+
return problems.join("\n");
|
|
158
|
+
return resolved;
|
|
159
|
+
}
|
|
160
|
+
(0, template_utils_1.registerTemplate)(exports.NarratedChapters);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipeline assembly — the structural core of the template.
|
|
3
|
+
*
|
|
4
|
+
* OUTER: emit:"multi", one step per output VARIANT (aspect). Authored
|
|
5
|
+
* emit:"multi" escapes assertTiming's stitched-length invariant, which is
|
|
6
|
+
* what makes narration-derived duration legal. One variant collapses to the
|
|
7
|
+
* bare `-o` path (no concat is planned for a single video output step); two
|
|
8
|
+
* variants fan out to `<out>-landscape.mp4` / `<out>-portrait.mp4`.
|
|
9
|
+
*
|
|
10
|
+
* INNER: one emit:"single" story pipeline per variant, at that variant's
|
|
11
|
+
* own canvas. Scenes are plain builders (scenes/card.ts, scenes/body.ts) —
|
|
12
|
+
* pure functions, not registered subtemplates; each pipeline STEP is its
|
|
13
|
+
* own ffmpeg command, so every scene gets a fresh overlay-depth budget.
|
|
14
|
+
*
|
|
15
|
+
* ⚠ Stamp hazard (the reason for every seemingly redundant field below):
|
|
16
|
+
* `stampStepInlineDoc` treats a step's `file` like a document — it writes
|
|
17
|
+
* `size: doc.size ?? outerTarget`, `fps: doc.fps ?? src.fps`, and
|
|
18
|
+
* `durationMs: step.durationMs` UNCONDITIONALLY, and it does NOT recurse
|
|
19
|
+
* into inner steps. So the nested pipeline MUST self-declare `size`/`fps`/
|
|
20
|
+
* `durationMs` (an undeclared size silently renders the portrait cut at the
|
|
21
|
+
* landscape canvas), every outer `step.durationMs` MUST equal the nested
|
|
22
|
+
* natural length (the default durationFit is "loop" — a mismatch loops or
|
|
23
|
+
* trims the entire video), and every scene doc self-declares all three too.
|
|
24
|
+
* `durationFit:"cut"` at both levels makes any drift underrun VISIBLY
|
|
25
|
+
* rather than loop silently. `plan.storyMs` is a positive integer by
|
|
26
|
+
* construction — `isValidPipelineDurationMs` rejects fractional values and
|
|
27
|
+
* the declaration would be silently dropped.
|
|
28
|
+
*/
|
|
29
|
+
import type { MosaicDocument, MosaicDocumentPipeline } from "@m0saic/types";
|
|
30
|
+
import type { StoryPlan, StoryScene, StoryVariant } from "./plan";
|
|
31
|
+
import type { MusicBed, SectionMedia } from "./scenes/body";
|
|
32
|
+
import type { StoryTheme } from "./theme";
|
|
33
|
+
export type StoryRenderTarget = {
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
fps: number;
|
|
37
|
+
};
|
|
38
|
+
/** Dispatch one scene to its builder. */
|
|
39
|
+
export declare function buildSceneDoc(scene: StoryScene, variant: StoryVariant, plan: StoryPlan, theme: StoryTheme, media: SectionMedia[], music?: MusicBed): MosaicDocument;
|
|
40
|
+
/** The INNER pipeline — the whole story at one variant's canvas. */
|
|
41
|
+
export declare function buildStoryPipeline(plan: StoryPlan, variant: StoryVariant, theme: StoryTheme, media: SectionMedia[], music?: MusicBed): MosaicDocumentPipeline;
|
|
42
|
+
/** The OUTER pipeline — one output step per variant. */
|
|
43
|
+
export declare function buildOuterPipeline(plan: StoryPlan, target: StoryRenderTarget, theme: StoryTheme, media: SectionMedia[], music?: MusicBed): MosaicDocumentPipeline;
|