@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,214 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PREVIEW_PIECE_LONG_MS = exports.PREVIEW_PIECE_MS = void 0;
|
|
4
|
+
exports.standInPhoto = standInPhoto;
|
|
5
|
+
exports.simulatedClaims = simulatedClaims;
|
|
6
|
+
exports.previewTileLine = previewTileLine;
|
|
7
|
+
exports.previewPiece = previewPiece;
|
|
8
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
9
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
10
|
+
const platform_1 = require("@m0saic/platform");
|
|
11
|
+
const caption_1 = require("./caption");
|
|
12
|
+
/** One tile's stand-in, as a data-uri image the engine rasterizes (same path as the claimed edges). */
|
|
13
|
+
function standInPhoto(tileIndex, o) {
|
|
14
|
+
return {
|
|
15
|
+
// The shared bank builds the data URL — one form, read by both the DOM
|
|
16
|
+
// and the render engine's plain-SVG parser.
|
|
17
|
+
image: { kind: "data-uri", uri: (0, platform_1.placeholderArtUrl)(tileIndex, o.style, o.seed, o.logoShare) },
|
|
18
|
+
size: { ...platform_1.PLACEHOLDER_ART_SIZE },
|
|
19
|
+
focus: (0, platform_1.placeholderArtFocus)(tileIndex, o.style, o.seed, o.logoShare),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function standInClaim(tileIndex, o) {
|
|
23
|
+
const p = standInPhoto(tileIndex, o);
|
|
24
|
+
return { image: p.image, focus: { ...p.focus, zoom: 1 } };
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Stand-ins for open tiles, dealt in the M's own claim order (so a
|
|
28
|
+
* half-full preview scatters exactly the way the real M will fill). Real
|
|
29
|
+
* claims are never overwritten; the subject tile is always included so
|
|
30
|
+
* `previewTile` can point anywhere.
|
|
31
|
+
*/
|
|
32
|
+
function simulatedClaims(entry, real, o) {
|
|
33
|
+
const out = new Map();
|
|
34
|
+
if (o.claims <= 0 && o.tile === null)
|
|
35
|
+
return out;
|
|
36
|
+
if (o.claims > 0) {
|
|
37
|
+
let filled = real.size;
|
|
38
|
+
for (const tileIndex of entry.claimOrder) {
|
|
39
|
+
if (filled >= o.claims)
|
|
40
|
+
break;
|
|
41
|
+
if (real.has(tileIndex) || out.has(tileIndex))
|
|
42
|
+
continue;
|
|
43
|
+
out.set(tileIndex, standInClaim(tileIndex, o));
|
|
44
|
+
filled++;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (o.tile !== null && !real.has(o.tile) && !out.has(o.tile))
|
|
48
|
+
out.set(o.tile, standInClaim(o.tile, o));
|
|
49
|
+
return out;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* "tile 20 - claim 1 of 32 - preview stand-in - mixed, unclaimed" — the real
|
|
53
|
+
* line's shape (`tileLine`), with the award number the lever was set by;
|
|
54
|
+
* without a claim number (the resolved slot, or the root) just the tile.
|
|
55
|
+
*/
|
|
56
|
+
function previewTileLine(tileIndex, style, claimNo = null, capacity = 32) {
|
|
57
|
+
const which = claimNo === null ? "" : ` - claim ${claimNo} of ${capacity}`;
|
|
58
|
+
return `tile ${tileIndex}${which} - preview stand-in - ${style === "logos" ? "logo" : style === "faces" ? "avatar" : "mixed"}, unclaimed`;
|
|
59
|
+
}
|
|
60
|
+
const PIECE_SIZES = {
|
|
61
|
+
"16:9": { width: 1920, height: 1080 },
|
|
62
|
+
"1:1": { width: 1080, height: 1080 },
|
|
63
|
+
"9:16": { width: 1080, height: 1920 },
|
|
64
|
+
};
|
|
65
|
+
/** Stand-in canvas duration — long enough to read, short enough to iterate. */
|
|
66
|
+
exports.PREVIEW_PIECE_MS = 4000;
|
|
67
|
+
/** The moving samples need room to actually move. */
|
|
68
|
+
exports.PREVIEW_PIECE_LONG_MS = 6000;
|
|
69
|
+
const LOREM_BODY = "Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.";
|
|
70
|
+
/** Sample palette — the accent plus four that sit beside it without fighting. */
|
|
71
|
+
const PALETTE = ["#f97316", "#38bdf8", "#a78bfa", "#34d399", "#fbbf24"];
|
|
72
|
+
/** One beat of the `reel` sample: an eyebrow over a headline, on its own. */
|
|
73
|
+
function beatCard(W, H, o, eyebrow, headline, index) {
|
|
74
|
+
return {
|
|
75
|
+
kind: "mosaic_document",
|
|
76
|
+
version: 1,
|
|
77
|
+
m0: (0, dsl_stdlib_1.weightedSplit)([2, 5], "row", { precision: 7 }),
|
|
78
|
+
size: { width: W, height: H },
|
|
79
|
+
fps: o.fps,
|
|
80
|
+
durationMs: exports.PREVIEW_PIECE_LONG_MS,
|
|
81
|
+
backgroundColor: (index % 2 === 0 ? o.canvasColor : "#141a26"),
|
|
82
|
+
audio: { mode: "off" },
|
|
83
|
+
assets: {},
|
|
84
|
+
sources: [
|
|
85
|
+
(0, template_utils_1.svgLabel)((0, caption_1.asciiSafe)(eyebrow), W, Math.round((H * 2) / 7), { color: o.accentColor, maxPx: Math.round(H * 0.07), maxLines: 1 }),
|
|
86
|
+
(0, template_utils_1.svgLabel)((0, caption_1.asciiSafe)(headline), W, Math.round((H * 5) / 7), { color: o.textColor, maxPx: Math.round(H * 0.16), maxLines: 2 }),
|
|
87
|
+
],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* A generated contributor canvas: something designed-looking in the piece
|
|
92
|
+
* beat while the real one does not exist yet. Declares its own size (the
|
|
93
|
+
* aspect knob covers the portrait case the harness has to survive) and
|
|
94
|
+
* carries no assets, so it costs nothing to render.
|
|
95
|
+
*/
|
|
96
|
+
function previewPiece(o) {
|
|
97
|
+
const size = PIECE_SIZES[o.aspect];
|
|
98
|
+
const { width: W, height: H } = size;
|
|
99
|
+
const text = (s, rows, total, color, weight = 0.6) => (0, template_utils_1.svgLabel)((0, caption_1.asciiSafe)(s), W, Math.round((H * rows) / total), { color: color, maxPx: Math.round(((H * rows) / total) * weight), maxLines: rows > 2 ? 3 : 1 });
|
|
100
|
+
let m0;
|
|
101
|
+
let sources;
|
|
102
|
+
let children;
|
|
103
|
+
const long = o.style === "reel" || o.style === "grid";
|
|
104
|
+
const durationMs = long ? exports.PREVIEW_PIECE_LONG_MS : exports.PREVIEW_PIECE_MS;
|
|
105
|
+
const end = durationMs / 1000;
|
|
106
|
+
if (o.style === "bars") {
|
|
107
|
+
// A flat colour band — a busy, wordless canvas to read the harness against.
|
|
108
|
+
m0 = (0, dsl_stdlib_1.weightedSplit)([1, 1, 1, 1, 1], "col");
|
|
109
|
+
sources = PALETTE.map((c) => ({ type: "lavfi", color: c }));
|
|
110
|
+
}
|
|
111
|
+
else if (o.style === "card") {
|
|
112
|
+
// A stat card: label, a big number, a sublabel.
|
|
113
|
+
m0 = (0, dsl_stdlib_1.weightedSplit)([3, 6, 3], "row", { precision: 12 });
|
|
114
|
+
sources = [
|
|
115
|
+
text("CONTRIBUTORS", 3, 12, o.accentColor, 0.35),
|
|
116
|
+
text("1,284", 6, 12, o.textColor, 0.8),
|
|
117
|
+
text("+12% since last month", 3, 12, o.textColor, 0.3),
|
|
118
|
+
];
|
|
119
|
+
}
|
|
120
|
+
else if (o.style === "reel") {
|
|
121
|
+
// Three beats in one canvas — the point of this sample is that a piece
|
|
122
|
+
// is a VIDEO, not a poster: each beat is its own nested card that fades
|
|
123
|
+
// in, holds and hands over. Complexity is welcome here.
|
|
124
|
+
const beats = [
|
|
125
|
+
["THE CLAIM", "One tile, forever"],
|
|
126
|
+
["THE WORK", "Your template, accepted"],
|
|
127
|
+
["THE MARK", "You are in the M"],
|
|
128
|
+
];
|
|
129
|
+
const span = end / beats.length;
|
|
130
|
+
children = {};
|
|
131
|
+
sources = [{ type: "lavfi", color: o.canvasColor }];
|
|
132
|
+
beats.forEach(([eyebrow, headline], i) => {
|
|
133
|
+
const ref = `beat${i}`;
|
|
134
|
+
children[ref] = beatCard(W, H, o, eyebrow, headline, i);
|
|
135
|
+
const t0 = i * span;
|
|
136
|
+
const fade = Math.min(0.45, span * 0.3);
|
|
137
|
+
const keys = [{ t: t0, v: 0 }, { t: t0 + fade, v: 1 }];
|
|
138
|
+
// Every beat but the last hands over; the last one holds to the end.
|
|
139
|
+
if (i < beats.length - 1)
|
|
140
|
+
keys.push({ t: t0 + span - fade, v: 1 }, { t: t0 + span, v: 0 });
|
|
141
|
+
sources.push({ type: "mosaic", ref, overlay: { alpha: (0, template_utils_1.keyframeExpr)(keys) } });
|
|
142
|
+
});
|
|
143
|
+
m0 = (0, dsl_stdlib_1.toM0String)("1{1{1{1}}}", "CommunityMV1-preview-reel");
|
|
144
|
+
}
|
|
145
|
+
else if (o.style === "grid") {
|
|
146
|
+
// A canvas that BUILDS itself: twelve cells landing on a stagger, then
|
|
147
|
+
// the line that names what was built. Density and rhythm, no assets.
|
|
148
|
+
// The cells are a CHILD so the parent has exactly two frames — a base
|
|
149
|
+
// and one overlay. (Cells + caption as siblings would make the caption
|
|
150
|
+
// the thirteenth cell; m0 counts frames, not intentions.)
|
|
151
|
+
const g = (0, dsl_stdlib_1.grid)({ rows: 3, cols: 4 });
|
|
152
|
+
const cells = 12;
|
|
153
|
+
const build = end * 0.6;
|
|
154
|
+
children = {
|
|
155
|
+
cells: {
|
|
156
|
+
kind: "mosaic_document",
|
|
157
|
+
version: 1,
|
|
158
|
+
m0: g.m0,
|
|
159
|
+
size: { width: W, height: H },
|
|
160
|
+
fps: o.fps,
|
|
161
|
+
durationMs,
|
|
162
|
+
backgroundColor: o.canvasColor,
|
|
163
|
+
audio: { mode: "off" },
|
|
164
|
+
assets: {},
|
|
165
|
+
sources: Array.from({ length: cells }, (_, i) => {
|
|
166
|
+
const t0 = (i / cells) * build;
|
|
167
|
+
return {
|
|
168
|
+
type: "lavfi",
|
|
169
|
+
color: PALETTE[i % PALETTE.length],
|
|
170
|
+
overlay: { alpha: (0, template_utils_1.keyframeExpr)([{ t: t0, v: 0 }, { t: t0 + 0.35, v: 1 }]) },
|
|
171
|
+
};
|
|
172
|
+
}),
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
sources = [
|
|
176
|
+
{ type: "mosaic", ref: "cells" },
|
|
177
|
+
// The line lands once the grid is up.
|
|
178
|
+
{
|
|
179
|
+
...(0, template_utils_1.svgLabel)((0, caption_1.asciiSafe)("thirty-three tiles, one mark"), W, Math.round(H * 0.2), {
|
|
180
|
+
color: o.textColor,
|
|
181
|
+
maxPx: Math.round(H * 0.11),
|
|
182
|
+
maxLines: 2,
|
|
183
|
+
}),
|
|
184
|
+
placement: { fit: "contain", inset: { x: 0.06, y: 0.4 } },
|
|
185
|
+
overlay: { alpha: (0, template_utils_1.keyframeExpr)([{ t: build, v: 0 }, { t: build + 0.5, v: 1 }]) },
|
|
186
|
+
},
|
|
187
|
+
];
|
|
188
|
+
m0 = (0, dsl_stdlib_1.toM0String)("1{1}", "CommunityMV1-preview-grid");
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
// Lorem: eyebrow, headline, body, footer — the shape of most cards.
|
|
192
|
+
m0 = (0, dsl_stdlib_1.weightedSplit)([2, 4, 4, 2], "row", { precision: 12 });
|
|
193
|
+
sources = [
|
|
194
|
+
text("LOREM IPSUM", 2, 12, o.accentColor, 0.45),
|
|
195
|
+
text("Dolor sit amet, consectetur", 4, 12, o.textColor, 0.42),
|
|
196
|
+
text(LOREM_BODY, 4, 12, o.textColor, 0.22),
|
|
197
|
+
text("your canvas goes here", 2, 12, o.accentColor, 0.35),
|
|
198
|
+
];
|
|
199
|
+
}
|
|
200
|
+
const doc = {
|
|
201
|
+
kind: "mosaic_document",
|
|
202
|
+
version: 1,
|
|
203
|
+
m0: (0, dsl_stdlib_1.toM0String)(m0, "CommunityMV1-preview-piece"),
|
|
204
|
+
size,
|
|
205
|
+
fps: o.fps,
|
|
206
|
+
durationMs,
|
|
207
|
+
backgroundColor: o.canvasColor,
|
|
208
|
+
audio: { mode: "off" },
|
|
209
|
+
assets: {},
|
|
210
|
+
...(children ? { children } : {}),
|
|
211
|
+
sources,
|
|
212
|
+
};
|
|
213
|
+
return { doc, declaredMs: durationMs, size };
|
|
214
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@m0saic/brand/community-m/v1` — props.
|
|
3
|
+
*
|
|
4
|
+
* The provenance video for one Community M tile: the M with its identity,
|
|
5
|
+
* a zoom into the tile, the tile's original image revealed, the
|
|
6
|
+
* contributor's own canvas (their `.mosaic` piece), then back out to the M
|
|
7
|
+
* and the brand closer. m0saic owns the harness; the piece is theirs.
|
|
8
|
+
*
|
|
9
|
+
* Every knob has a deterministic default or a placeholder (the
|
|
10
|
+
* `defaultProps` convention), and no default is a local path
|
|
11
|
+
* (`noLocalPaths`): `communityDir` defaults to `""` = the bundled seed; the
|
|
12
|
+
* host pre-fills the real cache path when it exists.
|
|
13
|
+
*/
|
|
14
|
+
export type CommunityMProvenanceProps = {
|
|
15
|
+
/** Community M id, e.g. "001". */
|
|
16
|
+
m?: string;
|
|
17
|
+
/** Which tile: a 1-based claim number ("7"), "root", or a handle ("@octocat"). */
|
|
18
|
+
tile?: string;
|
|
19
|
+
/** Local checkout / cache of the community-m repo. "" = the bundled seed. */
|
|
20
|
+
communityDir?: string;
|
|
21
|
+
/** Show the M as it stands now, or as it stood when this tile was claimed. */
|
|
22
|
+
asOf?: "now" | "claim";
|
|
23
|
+
/** Hold on the whole M before the zoom (ms). */
|
|
24
|
+
introMs?: number;
|
|
25
|
+
/** Zoom travel into the tile (ms). */
|
|
26
|
+
zoomMs?: number;
|
|
27
|
+
/** Hold on the zoomed tile (ms). */
|
|
28
|
+
holdMs?: number;
|
|
29
|
+
/** Reveal: the M fades out while the original image fades in (ms). */
|
|
30
|
+
revealMs?: number;
|
|
31
|
+
/** Slide: the original glides aside to make room for the canvas (ms); the same slide brings it back. */
|
|
32
|
+
slideMs?: number;
|
|
33
|
+
/** Pop: the contributor canvas scales into place (ms). */
|
|
34
|
+
popMs?: number;
|
|
35
|
+
/** Cap on the contributor piece's declared duration (ms). */
|
|
36
|
+
pieceMaxMs?: number;
|
|
37
|
+
/** Outro: zoom back out to the whole M (ms). */
|
|
38
|
+
outroMs?: number;
|
|
39
|
+
/** Brand closer beat (ms). 0 = no closer. */
|
|
40
|
+
closerMs?: number;
|
|
41
|
+
/** Crossfade between beats (ms). */
|
|
42
|
+
xfadeMs?: number;
|
|
43
|
+
/** Camera zoom into the tile. Unset = auto (the tile fills the frame's tighter axis). */
|
|
44
|
+
zoom?: number;
|
|
45
|
+
/** Accent (claimed edges, captions). */
|
|
46
|
+
accentColor?: string;
|
|
47
|
+
/** Dormant tile colour. */
|
|
48
|
+
dormantColor?: string;
|
|
49
|
+
/** Canvas colour behind everything. */
|
|
50
|
+
canvasColor?: string;
|
|
51
|
+
/** Caption text colour. */
|
|
52
|
+
textColor?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Dev levers — design the harness before the M fills up. Off by default;
|
|
55
|
+
* see `preview.ts`.
|
|
56
|
+
*/
|
|
57
|
+
preview?: {
|
|
58
|
+
/** Paint this many tiles as claimed using stand-in art. 0 = only real claims. */
|
|
59
|
+
claims?: number;
|
|
60
|
+
/** Which stand-in family fills open tiles. */
|
|
61
|
+
style?: "faces" | "logos" | "mix";
|
|
62
|
+
/** Re-deal the stand-in art. */
|
|
63
|
+
seed?: number;
|
|
64
|
+
/** Share of a mix that is logos rather than faces (0..1). */
|
|
65
|
+
mix?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Make the video about claim N in the M's award order (1..32 — the order
|
|
68
|
+
* the Community page lists open tiles in, and the order "claims" deals
|
|
69
|
+
* stand-ins in); 0 = the root. Unset = the resolved slot.
|
|
70
|
+
*/
|
|
71
|
+
tile?: number;
|
|
72
|
+
/** Replace the contributor piece with a generated card. */
|
|
73
|
+
piece?: "off" | "lorem" | "card" | "bars" | "reel" | "grid";
|
|
74
|
+
/** Shape of that generated card. */
|
|
75
|
+
aspect?: "16:9" | "1:1" | "9:16";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export declare const DEFAULT_PROPS: Required<Omit<CommunityMProvenanceProps, "zoom">>;
|
|
79
|
+
export declare const propsSchema: Record<keyof CommunityMProvenanceProps, import("@m0saic/types").MosaicTemplatePropDefinition>;
|
|
80
|
+
export type ResolvedPreview = {
|
|
81
|
+
claims: number;
|
|
82
|
+
style: "faces" | "logos" | "mix";
|
|
83
|
+
seed: number;
|
|
84
|
+
logoShare: number;
|
|
85
|
+
/** null = the video is about the tile the slot resolves to. */
|
|
86
|
+
tile: number | null;
|
|
87
|
+
piece: "off" | "lorem" | "card" | "bars" | "reel" | "grid";
|
|
88
|
+
pieceAspect: "16:9" | "1:1" | "9:16";
|
|
89
|
+
};
|
|
90
|
+
export type ResolvedProps = Required<Omit<CommunityMProvenanceProps, "zoom" | "preview">> & {
|
|
91
|
+
zoom: number | null;
|
|
92
|
+
preview: ResolvedPreview;
|
|
93
|
+
};
|
|
94
|
+
/** Merge defaults + fail-fast validation. Returns a list of problems when invalid. */
|
|
95
|
+
export declare function resolveProps(props: CommunityMProvenanceProps): {
|
|
96
|
+
ok: true;
|
|
97
|
+
value: ResolvedProps;
|
|
98
|
+
} | {
|
|
99
|
+
ok: false;
|
|
100
|
+
errors: string[];
|
|
101
|
+
};
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.propsSchema = exports.DEFAULT_PROPS = void 0;
|
|
4
|
+
exports.resolveProps = resolveProps;
|
|
5
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
6
|
+
exports.DEFAULT_PROPS = {
|
|
7
|
+
m: "001",
|
|
8
|
+
tile: "root",
|
|
9
|
+
communityDir: "",
|
|
10
|
+
asOf: "now",
|
|
11
|
+
introMs: 2400,
|
|
12
|
+
zoomMs: 1800,
|
|
13
|
+
holdMs: 600,
|
|
14
|
+
revealMs: 2000,
|
|
15
|
+
slideMs: 900,
|
|
16
|
+
popMs: 450,
|
|
17
|
+
pieceMaxMs: 18000,
|
|
18
|
+
outroMs: 2000,
|
|
19
|
+
closerMs: 2500,
|
|
20
|
+
xfadeMs: 500,
|
|
21
|
+
accentColor: "#f97316",
|
|
22
|
+
dormantColor: "#34343A",
|
|
23
|
+
canvasColor: "#0E1220",
|
|
24
|
+
textColor: "#F4F4F5",
|
|
25
|
+
preview: { claims: 0, style: "mix", seed: 1, mix: 0.34, piece: "off", aspect: "16:9" },
|
|
26
|
+
};
|
|
27
|
+
exports.propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
28
|
+
m: {
|
|
29
|
+
type: "string",
|
|
30
|
+
required: false,
|
|
31
|
+
description: "Community M id (three digits), e.g. 001.",
|
|
32
|
+
meta: { ui: { label: "Community M", order: 1 } },
|
|
33
|
+
},
|
|
34
|
+
tile: {
|
|
35
|
+
type: "string",
|
|
36
|
+
required: false,
|
|
37
|
+
description: 'Which tile the video is about: a claim number ("7"), "root" for the root award, or a GitHub handle ("@octocat").',
|
|
38
|
+
meta: { ui: { label: "Tile", order: 2 } },
|
|
39
|
+
},
|
|
40
|
+
communityDir: {
|
|
41
|
+
type: "string",
|
|
42
|
+
required: false,
|
|
43
|
+
description: "Folder holding the community-m repo (its index.json). Leave empty for the bundled seed; Mosaic Desktop and the CLI fill in the local cache automatically.",
|
|
44
|
+
meta: { control: { picker: "folder", placeholder: "bundled seed" }, ui: { label: "community-m folder", order: 3 } },
|
|
45
|
+
},
|
|
46
|
+
asOf: {
|
|
47
|
+
type: "string",
|
|
48
|
+
required: false,
|
|
49
|
+
description: "Show the M as it stands now (re-renders age into the record) or as it stood when this tile was claimed.",
|
|
50
|
+
meta: { constraints: { oneOf: ["now", "claim"] }, control: { options: [{ value: "now", label: "As it is now" }, { value: "claim", label: "As it was when claimed" }] }, ui: { label: "M as of", order: 4 } },
|
|
51
|
+
},
|
|
52
|
+
introMs: { type: "number", required: false, description: "Hold on the whole M before the zoom (ms).", meta: { constraints: { min: 200, max: 15000 }, ui: { label: "Intro hold" } } },
|
|
53
|
+
zoomMs: { type: "number", required: false, description: "Zoom travel into the tile (ms).", meta: { constraints: { min: 200, max: 10000 }, ui: { label: "Zoom" } } },
|
|
54
|
+
holdMs: { type: "number", required: false, description: "Hold on the zoomed tile (ms).", meta: { constraints: { min: 0, max: 10000 }, ui: { label: "Tile hold" } } },
|
|
55
|
+
revealMs: { type: "number", required: false, description: "The M fades out while the tile's original image fades in (ms).", meta: { constraints: { min: 400, max: 10000 }, ui: { label: "Reveal" } } },
|
|
56
|
+
slideMs: { type: "number", required: false, description: "The original slides aside for the canvas, and back again at the end (ms).", meta: { constraints: { min: 200, max: 5000 }, ui: { label: "Slide aside" } } },
|
|
57
|
+
popMs: { type: "number", required: false, description: "The contributor canvas pops into place (ms).", meta: { constraints: { min: 100, max: 3000 }, ui: { label: "Canvas pop" } } },
|
|
58
|
+
pieceMaxMs: { type: "number", required: false, description: "Longest the contributor piece may play (ms); shorter pieces play their declared length.", meta: { constraints: { min: 500, max: 60000 }, ui: { label: "Piece cap" } } },
|
|
59
|
+
outroMs: { type: "number", required: false, description: "Zoom back out to the whole M (ms).", meta: { constraints: { min: 200, max: 10000 }, ui: { label: "Outro" } } },
|
|
60
|
+
closerMs: { type: "number", required: false, description: "Brand closer at the end (ms). 0 removes it.", meta: { constraints: { min: 0, max: 10000 }, ui: { label: "Closer" } } },
|
|
61
|
+
xfadeMs: { type: "number", required: false, description: "Crossfade between beats (ms).", meta: { constraints: { min: 0, max: 2000 }, ui: { label: "Crossfade" } } },
|
|
62
|
+
zoom: {
|
|
63
|
+
type: "number",
|
|
64
|
+
required: false,
|
|
65
|
+
description: "Camera zoom into the tile (1–4). Unset = auto: the tile fills the frame's tighter axis, capped at 4.",
|
|
66
|
+
meta: { constraints: { min: 1, max: 4 }, control: { placeholder: "auto (fit the tile)" }, ui: { label: "Camera zoom" } },
|
|
67
|
+
},
|
|
68
|
+
accentColor: { type: "string", required: false, description: "Accent colour: claimed-tile edges and captions.", meta: { ui: { label: "Accent color" }, constraints: { isColor: true }, control: { colorPicker: true } } },
|
|
69
|
+
dormantColor: { type: "string", required: false, description: "Colour of open (unclaimed) tiles.", meta: { ui: { label: "Open tile color" }, constraints: { isColor: true }, control: { colorPicker: true } } },
|
|
70
|
+
canvasColor: { type: "string", required: false, description: "Canvas behind the M and the piece.", meta: { ui: { label: "Canvas color" }, constraints: { isColor: true }, control: { colorPicker: true } } },
|
|
71
|
+
textColor: { type: "string", required: false, description: "Caption text colour.", meta: { ui: { label: "Caption color" }, constraints: { isColor: true }, control: { colorPicker: true } } },
|
|
72
|
+
preview: {
|
|
73
|
+
type: "group",
|
|
74
|
+
required: false,
|
|
75
|
+
description: "Dev levers: stand in art for open tiles, point the video at any tile, and swap the contributor piece for a generated card — so the harness can be designed before real claims exist. All off by default.",
|
|
76
|
+
meta: { ui: { label: "Dev preview", order: 20, collapsedByDefault: true } },
|
|
77
|
+
fields: {
|
|
78
|
+
claims: { type: "number", required: false, description: "Paint this many tiles as claimed using stand-in art (the same bank the Community page previews with), dealt in the M's own claim order. 0 = only real claims.", meta: { constraints: { min: 0, max: 33 }, ui: { label: "Filled tiles" } } },
|
|
79
|
+
style: {
|
|
80
|
+
type: "string", required: false, description: "Which stand-in family fills open tiles.",
|
|
81
|
+
meta: { constraints: { oneOf: ["faces", "logos", "mix"] }, control: { options: [{ value: "mix", label: "Mix" }, { value: "faces", label: "Faces" }, { value: "logos", label: "Logos" }] }, ui: { label: "Stand-ins" } },
|
|
82
|
+
},
|
|
83
|
+
seed: { type: "number", required: false, description: "Re-deal the stand-in art (shuffle).", meta: { constraints: { min: 1, max: 9999 }, ui: { label: "Shuffle" } } },
|
|
84
|
+
mix: { type: "number", required: false, description: "Share of a mix that is logos rather than faces.", meta: { constraints: { min: 0, max: 1 }, ui: { label: "Logo share" } } },
|
|
85
|
+
tile: { type: "number", required: false, description: "Make the video about claim N in the M's award order (1..32 — the same order the Community page lists open tiles in, and the order Filled tiles deals stand-ins in) with stand-in art; 0 = the root. The way to exercise the zoom and crop on a wide, tall or diagonal tile instead of the root's V. Unset = the tile the slot resolves to.", meta: { constraints: { min: 0, max: 32 }, control: { placeholder: "the resolved tile" }, ui: { label: "Subject tile (claim #)" } } },
|
|
86
|
+
piece: {
|
|
87
|
+
type: "string", required: false, description: "Replace the contributor piece with a generated card, so the canvas beat has something in it before a real .mosaic exists.",
|
|
88
|
+
meta: {
|
|
89
|
+
constraints: { oneOf: ["off", "lorem", "card", "bars", "reel", "grid"] },
|
|
90
|
+
control: {
|
|
91
|
+
options: [
|
|
92
|
+
{ value: "off", label: "Real piece" },
|
|
93
|
+
{ value: "lorem", label: "Lorem card" },
|
|
94
|
+
{ value: "card", label: "Stat card" },
|
|
95
|
+
{ value: "bars", label: "Colour bars" },
|
|
96
|
+
{ value: "reel", label: "Reel (3 beats)" },
|
|
97
|
+
{ value: "grid", label: "Grid (builds in)" },
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
ui: { label: "Canvas" },
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
aspect: {
|
|
104
|
+
type: "string", required: false, description: "Shape of that generated card — the portrait option is the one the harness has to survive.",
|
|
105
|
+
meta: { constraints: { oneOf: ["16:9", "1:1", "9:16"] }, control: { options: [{ value: "16:9", label: "Landscape 16:9" }, { value: "1:1", label: "Square" }, { value: "9:16", label: "Portrait 9:16" }] }, ui: { label: "Canvas shape" } },
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
});
|
|
110
|
+
/** Merge defaults + fail-fast validation. Returns a list of problems when invalid. */
|
|
111
|
+
function resolveProps(props) {
|
|
112
|
+
var _a, _b, _c, _d;
|
|
113
|
+
const d = exports.DEFAULT_PROPS.preview;
|
|
114
|
+
const pv = { ...d, ...stripUndefined((_a = props.preview) !== null && _a !== void 0 ? _a : {}) };
|
|
115
|
+
const preview = {
|
|
116
|
+
claims: pv.claims,
|
|
117
|
+
style: pv.style,
|
|
118
|
+
seed: pv.seed,
|
|
119
|
+
logoShare: pv.mix,
|
|
120
|
+
tile: (_c = (_b = props.preview) === null || _b === void 0 ? void 0 : _b.tile) !== null && _c !== void 0 ? _c : null,
|
|
121
|
+
piece: pv.piece,
|
|
122
|
+
pieceAspect: pv.aspect,
|
|
123
|
+
};
|
|
124
|
+
const v = { ...exports.DEFAULT_PROPS, ...stripUndefined(props), zoom: (_d = props.zoom) !== null && _d !== void 0 ? _d : null, preview };
|
|
125
|
+
const errors = [];
|
|
126
|
+
if (!/^\d{3}$/.test(v.m))
|
|
127
|
+
errors.push(`m must be three digits (got "${v.m}")`);
|
|
128
|
+
if (typeof v.tile !== "string" || v.tile.trim() === "")
|
|
129
|
+
errors.push("tile is required");
|
|
130
|
+
if (v.asOf !== "now" && v.asOf !== "claim")
|
|
131
|
+
errors.push(`asOf must be "now" or "claim" (got "${String(v.asOf)}")`);
|
|
132
|
+
const num = (name, lo, hi) => {
|
|
133
|
+
const n = v[name];
|
|
134
|
+
if (!Number.isFinite(n) || n < lo || n > hi)
|
|
135
|
+
errors.push(`${name} must be ${lo}..${hi} ms (got ${String(n)})`);
|
|
136
|
+
};
|
|
137
|
+
num("introMs", 200, 15000);
|
|
138
|
+
num("zoomMs", 200, 10000);
|
|
139
|
+
num("holdMs", 0, 10000);
|
|
140
|
+
num("revealMs", 400, 10000);
|
|
141
|
+
num("slideMs", 200, 5000);
|
|
142
|
+
num("popMs", 100, 3000);
|
|
143
|
+
num("pieceMaxMs", 500, 60000);
|
|
144
|
+
num("outroMs", 200, 10000);
|
|
145
|
+
num("closerMs", 0, 10000);
|
|
146
|
+
num("xfadeMs", 0, 2000);
|
|
147
|
+
if (v.zoom !== null && !(Number.isFinite(v.zoom) && v.zoom >= 1 && v.zoom <= 4))
|
|
148
|
+
errors.push(`zoom must be 1..4 (got ${String(v.zoom)})`);
|
|
149
|
+
const rng = (name, n, lo, hi) => {
|
|
150
|
+
if (!Number.isFinite(n) || n < lo || n > hi)
|
|
151
|
+
errors.push(`preview.${name} must be ${lo}..${hi} (got ${String(n)})`);
|
|
152
|
+
};
|
|
153
|
+
rng("claims", preview.claims, 0, 33);
|
|
154
|
+
rng("seed", preview.seed, 1, 9999);
|
|
155
|
+
rng("mix", preview.logoShare, 0, 1);
|
|
156
|
+
if (preview.tile !== null && !(Number.isInteger(preview.tile) && preview.tile >= 0 && preview.tile <= 32))
|
|
157
|
+
errors.push(`preview.tile must be a claim number 1..32 in award order, or 0 for the root (got ${String(preview.tile)})`);
|
|
158
|
+
if (!["faces", "logos", "mix"].includes(preview.style))
|
|
159
|
+
errors.push(`preview.style must be faces, logos or mix (got "${String(preview.style)}")`);
|
|
160
|
+
if (!["off", "lorem", "card", "bars", "reel", "grid"].includes(preview.piece))
|
|
161
|
+
errors.push(`preview.piece must be off, lorem, card, bars, reel or grid (got "${String(preview.piece)}")`);
|
|
162
|
+
if (!["16:9", "1:1", "9:16"].includes(preview.pieceAspect))
|
|
163
|
+
errors.push(`preview.aspect must be 16:9, 1:1 or 9:16 (got "${String(preview.pieceAspect)}")`);
|
|
164
|
+
for (const c of ["accentColor", "dormantColor", "canvasColor", "textColor"]) {
|
|
165
|
+
if (!/^#[0-9a-fA-F]{6}$/.test(v[c]))
|
|
166
|
+
errors.push(`${c} must be #rrggbb (got "${v[c]}")`);
|
|
167
|
+
}
|
|
168
|
+
if (v.xfadeMs * 2 > Math.min(v.outroMs, v.pieceMaxMs))
|
|
169
|
+
errors.push("xfadeMs is too long for the outro / piece beats");
|
|
170
|
+
return errors.length ? { ok: false, errors } : { ok: true, value: v };
|
|
171
|
+
}
|
|
172
|
+
function stripUndefined(o) {
|
|
173
|
+
const out = {};
|
|
174
|
+
for (const k of Object.keys(o))
|
|
175
|
+
if (o[k] !== undefined)
|
|
176
|
+
out[k] = o[k];
|
|
177
|
+
return out;
|
|
178
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The reveal's alignment math. The founder's rule: the un-clipped original
|
|
3
|
+
* must land EXACTLY where the tile's cover-crop sits once the camera is
|
|
4
|
+
* parked, so the crossfade reads as the mask dissolving — the face never
|
|
5
|
+
* moves. Everything here mirrors the engine byte for byte:
|
|
6
|
+
* - cover crop (`coverCrop.ts`): scale = max(tileW/imgW, tileH/imgH),
|
|
7
|
+
* crop offset = (scaled − tile) × focus;
|
|
8
|
+
* - camera (`applyCamera.ts`): content scaled by Z, window top-left =
|
|
9
|
+
* (box × (Z−1)) × focus, with `centerFocus` picking the focus that
|
|
10
|
+
* centres the tile (clamped at the stage edge, like the engine).
|
|
11
|
+
*/
|
|
12
|
+
export type Rect = {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
export type ImageSize = {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
22
|
+
export type AlignOptions = {
|
|
23
|
+
/** The tile in STAGE pixels (the camera's content box is the stage). */
|
|
24
|
+
tile: Rect;
|
|
25
|
+
stageW: number;
|
|
26
|
+
stageH: number;
|
|
27
|
+
zoom: number;
|
|
28
|
+
image: ImageSize;
|
|
29
|
+
focus: {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
/** Where the tile's whole source image sits on the frame once the camera is parked at `zoom` (frame px, unrounded). */
|
|
35
|
+
export declare function alignedPhotoRect(o: AlignOptions): Rect;
|
|
36
|
+
/** Round a frame rect to whole pixels (even sides keep chroma happy). */
|
|
37
|
+
export declare function roundRect(r: Rect): Rect;
|
|
38
|
+
/**
|
|
39
|
+
* The largest zoom ≤ `maxZoom` at which the whole original fits inside the
|
|
40
|
+
* stage with `margin` px of air on every side (so the reveal can show all
|
|
41
|
+
* of it without moving). Monotone in Z → bisection; never below `minZoom`.
|
|
42
|
+
*
|
|
43
|
+
* Kept for callers that only need the stage fit; the provenance pipeline
|
|
44
|
+
* uses `zoomPartitionCap`, which adds the piece-beat partition.
|
|
45
|
+
*/
|
|
46
|
+
export declare function zoomFitCap(o: Omit<AlignOptions, "zoom"> & {
|
|
47
|
+
maxZoom: number;
|
|
48
|
+
minZoom?: number;
|
|
49
|
+
margin: number;
|
|
50
|
+
}): number;
|
|
51
|
+
/**
|
|
52
|
+
* THE PIECE-BEAT LAYOUT CONTRACT (founder, 2026-09-16): the parked original
|
|
53
|
+
* and the contributor canvas can NEVER overlap. Not "usually" — the frame is
|
|
54
|
+
* PARTITIONED on one axis, the piece gets exactly the remainder past a gap,
|
|
55
|
+
* and the zoom is chosen up front so that remainder is at least the
|
|
56
|
+
* legibility floor. There is no floor that can push the piece back under
|
|
57
|
+
* the photo (the old `max(0.3·W, remainder)` did exactly that whenever the
|
|
58
|
+
* parked photo was wide), and `assertPieceBeatDisjoint` re-checks the two
|
|
59
|
+
* rects before anything is placed — an impossible layout is an error
|
|
60
|
+
* mosaic, never a covered face. `reveal.test.ts` walks every tile × frame ×
|
|
61
|
+
* image aspect × focus × piece aspect and proves the cap always finds an
|
|
62
|
+
* axis.
|
|
63
|
+
*
|
|
64
|
+
* - axis "x": photo parks at the left margin (pure horizontal slide — its
|
|
65
|
+
* height and y never change), the piece takes the width to the right.
|
|
66
|
+
* - axis "y": photo parks at the top margin (pure vertical slide — its x
|
|
67
|
+
* and width never change), the piece takes the height below. The axis
|
|
68
|
+
* that admits the LARGER zoom wins, so wide originals on wide frames
|
|
69
|
+
* stay side by side and only go vertical when that shows more of them.
|
|
70
|
+
*/
|
|
71
|
+
export type PieceAxis = "x" | "y";
|
|
72
|
+
export type PieceBeatBudget = {
|
|
73
|
+
margin: number;
|
|
74
|
+
gap: number;
|
|
75
|
+
/** The piece's area on the partition axis is never smaller than this. */
|
|
76
|
+
pieceMinW: number;
|
|
77
|
+
pieceMinH: number;
|
|
78
|
+
/** The parked photo may be at most this wide (axis x) / tall (axis y). */
|
|
79
|
+
photoMaxW: number;
|
|
80
|
+
photoMaxH: number;
|
|
81
|
+
};
|
|
82
|
+
/** Margins, gap and floors for a frame: everything the partition needs. */
|
|
83
|
+
export declare function pieceBeatBudget(frameW: number, frameH: number): PieceBeatBudget;
|
|
84
|
+
/** Which axis a photo of this size can share the frame on; null = neither (the cap prevents this). */
|
|
85
|
+
export declare function pieceAxisFor(photo: ImageSize, b: PieceBeatBudget): PieceAxis | null;
|
|
86
|
+
/**
|
|
87
|
+
* The zoom for the whole reveal → piece → return arc: the largest Z ≤
|
|
88
|
+
* `maxZoom` at which the original (a) fits inside the stage with `margin`
|
|
89
|
+
* of air (the reveal shows all of it without moving) AND (b) leaves the
|
|
90
|
+
* piece its floor on SOME axis. Every photo dimension grows with Z, so both
|
|
91
|
+
* are monotone and the largest Z on the better axis is the answer. When the
|
|
92
|
+
* stage fit alone is impossible even at `minZoom` (a very tall original in
|
|
93
|
+
* a small tile) it is tolerated exactly as before — the original overflows
|
|
94
|
+
* the frame edge — but the partition is never given up: the pinned
|
|
95
|
+
* dimension is bounded by the tile, so an axis always exists.
|
|
96
|
+
*/
|
|
97
|
+
export declare function zoomPartitionCap(o: Omit<AlignOptions, "zoom"> & {
|
|
98
|
+
frameW: number;
|
|
99
|
+
frameH: number;
|
|
100
|
+
maxZoom: number;
|
|
101
|
+
minZoom?: number;
|
|
102
|
+
margin: number;
|
|
103
|
+
}): number;
|
|
104
|
+
export type PieceBeatLayout = {
|
|
105
|
+
axis: PieceAxis;
|
|
106
|
+
/** The photo during the piece beat: same size as `photo`, moved to the margin on `axis`. */
|
|
107
|
+
parked: Rect;
|
|
108
|
+
parkedX: number;
|
|
109
|
+
parkedY: number;
|
|
110
|
+
/** parked − photo: the slide (one of them is always 0). */
|
|
111
|
+
dx: number;
|
|
112
|
+
dy: number;
|
|
113
|
+
pieceRect: Rect;
|
|
114
|
+
gap: number;
|
|
115
|
+
};
|
|
116
|
+
/** Throws unless the two rects are separated by at least `gap` on the partition axis. */
|
|
117
|
+
export declare function assertPieceBeatDisjoint(axis: PieceAxis, parked: Rect, piece: Rect, gap: number): void;
|
|
118
|
+
/**
|
|
119
|
+
* The piece beat's geometry. The photo keeps its size; the piece is
|
|
120
|
+
* contain-fit into the remainder on the chosen axis. Throws when neither
|
|
121
|
+
* axis has room — which `zoomPartitionCap` makes unreachable; the throw is
|
|
122
|
+
* the contract, not a code path.
|
|
123
|
+
*/
|
|
124
|
+
export declare function pieceBeatLayout(o: {
|
|
125
|
+
frameW: number;
|
|
126
|
+
frameH: number;
|
|
127
|
+
photo: Rect;
|
|
128
|
+
piece: ImageSize;
|
|
129
|
+
}): PieceBeatLayout;
|