@m0saic/templates 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -0
- package/README.md +7 -0
- package/dist/freeze.d.ts +406 -0
- package/dist/freeze.js +855 -0
- package/dist/gen-geometry-matrix.d.ts +1 -0
- package/dist/gen-geometry-matrix.js +177 -0
- package/dist/gen-geometry-proof.d.ts +1 -0
- package/dist/gen-geometry-proof.js +259 -0
- package/dist/gen-layout-envelope.d.ts +1 -0
- package/dist/gen-layout-envelope.js +120 -0
- package/dist/gen-precision-sweep.d.ts +1 -0
- package/dist/gen-precision-sweep.js +219 -0
- package/dist/gen-props-shape.d.ts +1 -0
- package/dist/gen-props-shape.js +269 -0
- package/dist/gen-template-audit.d.ts +1 -0
- package/dist/gen-template-audit.js +379 -0
- package/dist/gen-template-manifest.d.ts +1 -0
- package/dist/gen-template-manifest.js +162 -0
- package/dist/gen-web-template-ids.d.ts +1 -0
- package/dist/gen-web-template-ids.js +65 -0
- package/dist/geometry-audit.d.ts +149 -0
- package/dist/geometry-audit.js +368 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +29 -0
- package/dist/m0saic/_shared/onboarding-cover.d.ts +95 -0
- package/dist/m0saic/_shared/onboarding-cover.js +247 -0
- package/dist/m0saic/_shared/raster.d.ts +28 -0
- package/dist/m0saic/_shared/raster.js +146 -0
- package/dist/m0saic/_shared/svgRaster.d.ts +40 -0
- package/dist/m0saic/_shared/svgRaster.js +142 -0
- package/dist/m0saic/agents/commit-feed/index.d.ts +1 -0
- package/dist/m0saic/agents/commit-feed/index.js +17 -0
- package/dist/m0saic/agents/commit-feed/v1/commit-feed.d.ts +68 -0
- package/dist/m0saic/agents/commit-feed/v1/commit-feed.js +293 -0
- package/dist/m0saic/agents/commit-feed/v1/index.d.ts +2 -0
- package/dist/m0saic/agents/commit-feed/v1/index.js +11 -0
- package/dist/m0saic/agents/index.d.ts +7 -0
- package/dist/m0saic/agents/index.js +25 -0
- package/dist/m0saic/agents/trace-timeline/index.d.ts +1 -0
- package/dist/m0saic/agents/trace-timeline/index.js +17 -0
- package/dist/m0saic/agents/trace-timeline/v1/index.d.ts +2 -0
- package/dist/m0saic/agents/trace-timeline/v1/index.js +15 -0
- package/dist/m0saic/agents/trace-timeline/v1/trace-timeline.d.ts +73 -0
- package/dist/m0saic/agents/trace-timeline/v1/trace-timeline.js +356 -0
- package/dist/m0saic/alpine/_shared/alpine-anim.d.ts +65 -0
- package/dist/m0saic/alpine/_shared/alpine-anim.js +142 -0
- package/dist/m0saic/alpine/_shared/alpine-card.d.ts +114 -0
- package/dist/m0saic/alpine/_shared/alpine-card.js +193 -0
- package/dist/m0saic/alpine/_shared/alpine-glyphs.d.ts +23 -0
- package/dist/m0saic/alpine/_shared/alpine-glyphs.js +46 -0
- package/dist/m0saic/alpine/_shared/alpine-theme.d.ts +84 -0
- package/dist/m0saic/alpine/_shared/alpine-theme.js +155 -0
- package/dist/m0saic/alpine/bar-graph/v1/bar-graph.d.ts +85 -0
- package/dist/m0saic/alpine/bar-graph/v1/bar-graph.js +558 -0
- package/dist/m0saic/alpine/bar-graph/v1/index.d.ts +5 -0
- package/dist/m0saic/alpine/bar-graph/v1/index.js +9 -0
- package/dist/m0saic/alpine/commit-feed/v1/commit-feed.d.ts +64 -0
- package/dist/m0saic/alpine/commit-feed/v1/commit-feed.js +261 -0
- package/dist/m0saic/alpine/commit-feed/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/commit-feed/v1/index.js +5 -0
- package/dist/m0saic/alpine/commit-feed/v2/commit-feed.d.ts +78 -0
- package/dist/m0saic/alpine/commit-feed/v2/commit-feed.js +509 -0
- package/dist/m0saic/alpine/commit-feed/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/commit-feed/v2/index.js +5 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/README.md +13 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/layout-lite.m0 +9 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/layout-standard.m0 +9 -0
- package/dist/m0saic/alpine/contributor-table/v1/contributor-table.d.ts +76 -0
- package/dist/m0saic/alpine/contributor-table/v1/contributor-table.js +651 -0
- package/dist/m0saic/alpine/contributor-table/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/contributor-table/v1/index.js +5 -0
- package/dist/m0saic/alpine/donut/v1/donut.d.ts +55 -0
- package/dist/m0saic/alpine/donut/v1/donut.js +322 -0
- package/dist/m0saic/alpine/donut/v1/index.d.ts +5 -0
- package/dist/m0saic/alpine/donut/v1/index.js +9 -0
- package/dist/m0saic/alpine/donut/v2/donut.d.ts +58 -0
- package/dist/m0saic/alpine/donut/v2/donut.js +268 -0
- package/dist/m0saic/alpine/donut/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/donut/v2/index.js +5 -0
- package/dist/m0saic/alpine/donut/v3/donut.d.ts +65 -0
- package/dist/m0saic/alpine/donut/v3/donut.js +428 -0
- package/dist/m0saic/alpine/donut/v3/index.d.ts +1 -0
- package/dist/m0saic/alpine/donut/v3/index.js +5 -0
- package/dist/m0saic/alpine/heatmap/v1/heatmap.d.ts +68 -0
- package/dist/m0saic/alpine/heatmap/v1/heatmap.js +370 -0
- package/dist/m0saic/alpine/heatmap/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/heatmap/v1/index.js +5 -0
- package/dist/m0saic/alpine/heatmap/v2/heatmap.d.ts +73 -0
- package/dist/m0saic/alpine/heatmap/v2/heatmap.js +582 -0
- package/dist/m0saic/alpine/heatmap/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/heatmap/v2/index.js +5 -0
- package/dist/m0saic/alpine/index.d.ts +20 -0
- package/dist/m0saic/alpine/index.js +37 -0
- package/dist/m0saic/alpine/kpi-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/kpi-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/kpi-card/v1/kpi-card.d.ts +54 -0
- package/dist/m0saic/alpine/kpi-card/v1/kpi-card.js +311 -0
- package/dist/m0saic/alpine/kpi-card/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/kpi-card/v2/index.js +5 -0
- package/dist/m0saic/alpine/kpi-card/v2/kpi-card.d.ts +60 -0
- package/dist/m0saic/alpine/kpi-card/v2/kpi-card.js +362 -0
- package/dist/m0saic/alpine/leaderboard/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/leaderboard/v1/index.js +5 -0
- package/dist/m0saic/alpine/leaderboard/v1/leaderboard.d.ts +58 -0
- package/dist/m0saic/alpine/leaderboard/v1/leaderboard.js +313 -0
- package/dist/m0saic/alpine/line-chart/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/line-chart/v1/index.js +5 -0
- package/dist/m0saic/alpine/line-chart/v1/line-chart.d.ts +70 -0
- package/dist/m0saic/alpine/line-chart/v1/line-chart.js +408 -0
- package/dist/m0saic/alpine/line-chart/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/line-chart/v2/index.js +5 -0
- package/dist/m0saic/alpine/line-chart/v2/line-chart.d.ts +72 -0
- package/dist/m0saic/alpine/line-chart/v2/line-chart.js +434 -0
- package/dist/m0saic/alpine/progress-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/progress-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/progress-card/v1/progress-card.d.ts +53 -0
- package/dist/m0saic/alpine/progress-card/v1/progress-card.js +333 -0
- package/dist/m0saic/alpine/stat-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/stat-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/stat-card/v1/stat-card.d.ts +76 -0
- package/dist/m0saic/alpine/stat-card/v1/stat-card.js +295 -0
- package/dist/m0saic/alpine/timeline/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/timeline/v1/index.js +5 -0
- package/dist/m0saic/alpine/timeline/v1/timeline.d.ts +55 -0
- package/dist/m0saic/alpine/timeline/v1/timeline.js +266 -0
- package/dist/m0saic/alpine/timeline/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/timeline/v2/index.js +5 -0
- package/dist/m0saic/alpine/timeline/v2/timeline.d.ts +61 -0
- package/dist/m0saic/alpine/timeline/v2/timeline.js +371 -0
- package/dist/m0saic/alpine/treemap/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/treemap/v1/index.js +5 -0
- package/dist/m0saic/alpine/treemap/v1/treemap.d.ts +56 -0
- package/dist/m0saic/alpine/treemap/v1/treemap.js +326 -0
- package/dist/m0saic/alpine/treemap/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/treemap/v2/index.js +5 -0
- package/dist/m0saic/alpine/treemap/v2/treemap.d.ts +59 -0
- package/dist/m0saic/alpine/treemap/v2/treemap.js +323 -0
- package/dist/m0saic/benchmark/battery/assets/media/README.md +16 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-av.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-01.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-02.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-03.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-04.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/duration-long.mosaic +80 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/encoders-base.mosaic +32 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/geometry-grid.mosaic +592 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/lifetime-window-fade.mosaic +28 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-bar-graph.mosaic +1980 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-donut.mosaic +797 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-screencap-grid.mosaic +4591 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-stat-card.mosaic +187 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-audio.mosaic +31 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-lavfi.mosaic +32 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-media.mosaic +73 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-nested.mosaic +48 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-ref.mosaic +24 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-text.mosaic +120 -0
- package/dist/m0saic/benchmark/battery/manifest.d.ts +65 -0
- package/dist/m0saic/benchmark/battery/manifest.js +97 -0
- package/dist/m0saic/benchmark/index.d.ts +2 -0
- package/dist/m0saic/benchmark/index.js +22 -0
- package/dist/m0saic/benchmark/report/v1/assets/m-logo.png +0 -0
- package/dist/m0saic/benchmark/report/v1/assets/sample-session/benchmark.json +41 -0
- package/dist/m0saic/benchmark/report/v1/index.d.ts +1 -0
- package/dist/m0saic/benchmark/report/v1/index.js +17 -0
- package/dist/m0saic/benchmark/report/v1/report.d.ts +23 -0
- package/dist/m0saic/benchmark/report/v1/report.js +242 -0
- package/dist/m0saic/benchmark/run/v1/benchmarkRun.d.ts +57 -0
- package/dist/m0saic/benchmark/run/v1/benchmarkRun.js +151 -0
- package/dist/m0saic/benchmark/run/v1/confirmation.d.ts +11 -0
- package/dist/m0saic/benchmark/run/v1/confirmation.js +48 -0
- package/dist/m0saic/benchmark/run/v1/index.d.ts +1 -0
- package/dist/m0saic/benchmark/run/v1/index.js +17 -0
- package/dist/m0saic/benchmark/run/v1/renderScenario.d.ts +12 -0
- package/dist/m0saic/benchmark/run/v1/renderScenario.js +122 -0
- package/dist/m0saic/benchmark/run/v1/runner.d.ts +10 -0
- package/dist/m0saic/benchmark/run/v1/runner.js +208 -0
- package/dist/m0saic/brand/business-card/v1/back-catalog.d.ts +68 -0
- package/dist/m0saic/brand/business-card/v1/back-catalog.js +121 -0
- package/dist/m0saic/brand/business-card/v1/business-card.d.ts +82 -0
- package/dist/m0saic/brand/business-card/v1/business-card.js +517 -0
- package/dist/m0saic/brand/business-card/v1/index.d.ts +4 -0
- package/dist/m0saic/brand/business-card/v1/index.js +16 -0
- package/dist/m0saic/brand/business-card/v1/layout.d.ts +163 -0
- package/dist/m0saic/brand/business-card/v1/layout.js +369 -0
- package/dist/m0saic/brand/community-m/v1/camera.d.ts +45 -0
- package/dist/m0saic/brand/community-m/v1/camera.js +44 -0
- package/dist/m0saic/brand/community-m/v1/caption.d.ts +5 -0
- package/dist/m0saic/brand/community-m/v1/caption.js +18 -0
- package/dist/m0saic/brand/community-m/v1/community-m.d.ts +25 -0
- package/dist/m0saic/brand/community-m/v1/community-m.js +117 -0
- package/dist/m0saic/brand/community-m/v1/community-m.web.d.ts +3 -0
- package/dist/m0saic/brand/community-m/v1/community-m.web.js +172 -0
- package/dist/m0saic/brand/community-m/v1/gen-seed-piece.d.ts +1 -0
- package/dist/m0saic/brand/community-m/v1/gen-seed-piece.js +59 -0
- package/dist/m0saic/brand/community-m/v1/geometry.d.ts +44 -0
- package/dist/m0saic/brand/community-m/v1/geometry.js +68 -0
- package/dist/m0saic/brand/community-m/v1/imageSize.node.d.ts +3 -0
- package/dist/m0saic/brand/community-m/v1/imageSize.node.js +60 -0
- package/dist/m0saic/brand/community-m/v1/index.d.ts +1 -0
- package/dist/m0saic/brand/community-m/v1/index.js +5 -0
- package/dist/m0saic/brand/community-m/v1/loadPiece.node.d.ts +14 -0
- package/dist/m0saic/brand/community-m/v1/loadPiece.node.js +69 -0
- package/dist/m0saic/brand/community-m/v1/manifest.d.ts +22 -0
- package/dist/m0saic/brand/community-m/v1/manifest.js +81 -0
- package/dist/m0saic/brand/community-m/v1/mark.d.ts +76 -0
- package/dist/m0saic/brand/community-m/v1/mark.js +136 -0
- package/dist/m0saic/brand/community-m/v1/paths.d.ts +14 -0
- package/dist/m0saic/brand/community-m/v1/paths.js +61 -0
- package/dist/m0saic/brand/community-m/v1/piece.d.ts +28 -0
- package/dist/m0saic/brand/community-m/v1/piece.js +35 -0
- package/dist/m0saic/brand/community-m/v1/pipeline.d.ts +122 -0
- package/dist/m0saic/brand/community-m/v1/pipeline.js +461 -0
- package/dist/m0saic/brand/community-m/v1/preview.d.ts +75 -0
- package/dist/m0saic/brand/community-m/v1/preview.js +214 -0
- package/dist/m0saic/brand/community-m/v1/props.d.ts +101 -0
- package/dist/m0saic/brand/community-m/v1/props.js +178 -0
- package/dist/m0saic/brand/community-m/v1/reveal.d.ts +129 -0
- package/dist/m0saic/brand/community-m/v1/reveal.js +155 -0
- package/dist/m0saic/brand/community-m/v1/seedPiece.d.ts +57 -0
- package/dist/m0saic/brand/community-m/v1/seedPiece.js +153 -0
- package/dist/m0saic/brand/community-m/v1/target.d.ts +88 -0
- package/dist/m0saic/brand/community-m/v1/target.js +132 -0
- package/dist/m0saic/brand/community-m/v1/timing.d.ts +32 -0
- package/dist/m0saic/brand/community-m/v1/timing.js +57 -0
- package/dist/m0saic/brand/community-m/v1/webPiece.d.ts +23 -0
- package/dist/m0saic/brand/community-m/v1/webPiece.js +42 -0
- package/dist/m0saic/brand/community-m/v1/wordmark.d.ts +34 -0
- package/dist/m0saic/brand/community-m/v1/wordmark.js +62 -0
- package/dist/m0saic/brand/index.d.ts +7 -0
- package/dist/m0saic/brand/index.js +17 -0
- package/dist/m0saic/brand/logo/v1/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v1/index.js +5 -0
- package/dist/m0saic/brand/logo/v1/logo.d.ts +30 -0
- package/dist/m0saic/brand/logo/v1/logo.js +471 -0
- package/dist/m0saic/brand/logo/v2/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v2/index.js +5 -0
- package/dist/m0saic/brand/logo/v2/logo.d.ts +30 -0
- package/dist/m0saic/brand/logo/v2/logo.js +615 -0
- package/dist/m0saic/brand/logo/v3/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v3/index.js +5 -0
- package/dist/m0saic/brand/logo/v3/logo.d.ts +36 -0
- package/dist/m0saic/brand/logo/v3/logo.js +666 -0
- package/dist/m0saic/brand/logo/v3/logo_runner.d.ts +36 -0
- package/dist/m0saic/brand/logo/v3/logo_runner.js +216 -0
- package/dist/m0saic/brand/qr-stamp/assets/brand-qr-with-logo.svg +8 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.mp4 +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.static.png +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.mp4 +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.static.png +0 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/index.d.ts +2 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/index.js +10 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.d.ts +45 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.js +347 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/index.d.ts +2 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/index.js +9 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.d.ts +43 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.js +447 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/windows.d.ts +19 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/windows.js +24 -0
- package/dist/m0saic/charts/_shared/index.d.ts +8 -0
- package/dist/m0saic/charts/_shared/index.js +24 -0
- package/dist/m0saic/charts/_shared/line.d.ts +100 -0
- package/dist/m0saic/charts/_shared/line.js +134 -0
- package/dist/m0saic/charts/_shared/scale.d.ts +9 -0
- package/dist/m0saic/charts/_shared/scale.js +17 -0
- package/dist/m0saic/charts/bar-graph/v1/anim.d.ts +83 -0
- package/dist/m0saic/charts/bar-graph/v1/anim.js +104 -0
- package/dist/m0saic/charts/bar-graph/v1/axis.d.ts +51 -0
- package/dist/m0saic/charts/bar-graph/v1/axis.js +73 -0
- package/dist/m0saic/charts/bar-graph/v1/bar-graph.d.ts +44 -0
- package/dist/m0saic/charts/bar-graph/v1/bar-graph.js +316 -0
- package/dist/m0saic/charts/bar-graph/v1/defaults.d.ts +88 -0
- package/dist/m0saic/charts/bar-graph/v1/defaults.js +157 -0
- package/dist/m0saic/charts/bar-graph/v1/format.d.ts +46 -0
- package/dist/m0saic/charts/bar-graph/v1/format.js +95 -0
- package/dist/m0saic/charts/bar-graph/v1/index.d.ts +31 -0
- package/dist/m0saic/charts/bar-graph/v1/index.js +36 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.d.ts +53 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.js +198 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.d.ts +4 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.js +154 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.d.ts +41 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.js +208 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.d.ts +32 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.js +124 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/labels.d.ts +52 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/labels.js +504 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/plot-area.d.ts +24 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/plot-area.js +180 -0
- package/dist/m0saic/charts/bar-graph/v1/types.d.ts +326 -0
- package/dist/m0saic/charts/bar-graph/v1/types.js +36 -0
- package/dist/m0saic/charts/bar-graph/v2/bar-graph.d.ts +131 -0
- package/dist/m0saic/charts/bar-graph/v2/bar-graph.js +768 -0
- package/dist/m0saic/charts/bar-graph/v2/index.d.ts +10 -0
- package/dist/m0saic/charts/bar-graph/v2/index.js +14 -0
- package/dist/m0saic/charts/donut/v1/anim.d.ts +54 -0
- package/dist/m0saic/charts/donut/v1/anim.js +84 -0
- package/dist/m0saic/charts/donut/v1/donut.d.ts +87 -0
- package/dist/m0saic/charts/donut/v1/donut.js +400 -0
- package/dist/m0saic/charts/donut/v1/geometry.d.ts +55 -0
- package/dist/m0saic/charts/donut/v1/geometry.js +115 -0
- package/dist/m0saic/charts/donut/v1/index.d.ts +11 -0
- package/dist/m0saic/charts/donut/v1/index.js +17 -0
- package/dist/m0saic/charts/donut/v2/donut.d.ts +67 -0
- package/dist/m0saic/charts/donut/v2/donut.js +307 -0
- package/dist/m0saic/charts/donut/v2/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v2/index.js +14 -0
- package/dist/m0saic/charts/donut/v3/anim.d.ts +47 -0
- package/dist/m0saic/charts/donut/v3/anim.js +77 -0
- package/dist/m0saic/charts/donut/v3/donut.d.ts +54 -0
- package/dist/m0saic/charts/donut/v3/donut.js +531 -0
- package/dist/m0saic/charts/donut/v3/geometry.d.ts +74 -0
- package/dist/m0saic/charts/donut/v3/geometry.js +152 -0
- package/dist/m0saic/charts/donut/v3/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v3/index.js +14 -0
- package/dist/m0saic/charts/donut/v4/donut.d.ts +63 -0
- package/dist/m0saic/charts/donut/v4/donut.js +546 -0
- package/dist/m0saic/charts/donut/v4/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v4/index.js +14 -0
- package/dist/m0saic/charts/index.d.ts +8 -0
- package/dist/m0saic/charts/index.js +25 -0
- package/dist/m0saic/charts/line-chart/v1/anim.d.ts +78 -0
- package/dist/m0saic/charts/line-chart/v1/anim.js +119 -0
- package/dist/m0saic/charts/line-chart/v1/axis.d.ts +48 -0
- package/dist/m0saic/charts/line-chart/v1/axis.js +55 -0
- package/dist/m0saic/charts/line-chart/v1/card.d.ts +27 -0
- package/dist/m0saic/charts/line-chart/v1/card.js +44 -0
- package/dist/m0saic/charts/line-chart/v1/chrome-spec.d.ts +110 -0
- package/dist/m0saic/charts/line-chart/v1/chrome-spec.js +208 -0
- package/dist/m0saic/charts/line-chart/v1/chrome.d.ts +30 -0
- package/dist/m0saic/charts/line-chart/v1/chrome.js +335 -0
- package/dist/m0saic/charts/line-chart/v1/defaults.d.ts +65 -0
- package/dist/m0saic/charts/line-chart/v1/defaults.js +151 -0
- package/dist/m0saic/charts/line-chart/v1/format.d.ts +26 -0
- package/dist/m0saic/charts/line-chart/v1/format.js +76 -0
- package/dist/m0saic/charts/line-chart/v1/frame.d.ts +50 -0
- package/dist/m0saic/charts/line-chart/v1/frame.js +62 -0
- package/dist/m0saic/charts/line-chart/v1/geometry.d.ts +15 -0
- package/dist/m0saic/charts/line-chart/v1/geometry.js +34 -0
- package/dist/m0saic/charts/line-chart/v1/index.d.ts +16 -0
- package/dist/m0saic/charts/line-chart/v1/index.js +21 -0
- package/dist/m0saic/charts/line-chart/v1/line-chart.d.ts +26 -0
- package/dist/m0saic/charts/line-chart/v1/line-chart.js +634 -0
- package/dist/m0saic/charts/line-chart/v1/line-series.d.ts +69 -0
- package/dist/m0saic/charts/line-chart/v1/line-series.js +259 -0
- package/dist/m0saic/charts/line-chart/v1/types.d.ts +328 -0
- package/dist/m0saic/charts/line-chart/v1/types.js +24 -0
- package/dist/m0saic/charts/stat-card/v1/index.d.ts +10 -0
- package/dist/m0saic/charts/stat-card/v1/index.js +15 -0
- package/dist/m0saic/charts/stat-card/v1/stat-card.d.ts +78 -0
- package/dist/m0saic/charts/stat-card/v1/stat-card.js +475 -0
- package/dist/m0saic/code/_shared/code-diff.d.ts +73 -0
- package/dist/m0saic/code/_shared/code-diff.js +220 -0
- package/dist/m0saic/code/_shared/code-lexer.d.ts +28 -0
- package/dist/m0saic/code/_shared/code-lexer.js +226 -0
- package/dist/m0saic/code/_shared/code-metrics.d.ts +58 -0
- package/dist/m0saic/code/_shared/code-metrics.js +140 -0
- package/dist/m0saic/code/_shared/code-theme.d.ts +30 -0
- package/dist/m0saic/code/_shared/code-theme.js +141 -0
- package/dist/m0saic/code/index.d.ts +1 -0
- package/dist/m0saic/code/index.js +17 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/chrome.d.ts +60 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/chrome.js +252 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/plan.d.ts +90 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/plan.js +226 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/steps.d.ts +103 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/steps.js +313 -0
- package/dist/m0saic/code/snippet-morph/v1/snippet-morph.d.ts +61 -0
- package/dist/m0saic/code/snippet-morph/v1/snippet-morph.js +462 -0
- package/dist/m0saic/collage/image-collage/v1/demo-fixture.d.ts +18 -0
- package/dist/m0saic/collage/image-collage/v1/demo-fixture.js +30 -0
- package/dist/m0saic/collage/image-collage/v1/emit.d.ts +81 -0
- package/dist/m0saic/collage/image-collage/v1/emit.js +163 -0
- package/dist/m0saic/collage/image-collage/v1/image-collage.d.ts +63 -0
- package/dist/m0saic/collage/image-collage/v1/image-collage.js +386 -0
- package/dist/m0saic/collage/image-collage/v1/index.d.ts +2 -0
- package/dist/m0saic/collage/image-collage/v1/index.js +5 -0
- package/dist/m0saic/collage/image-collage/v1/packer/candidates.d.ts +71 -0
- package/dist/m0saic/collage/image-collage/v1/packer/candidates.js +211 -0
- package/dist/m0saic/collage/image-collage/v1/packer/classify.d.ts +26 -0
- package/dist/m0saic/collage/image-collage/v1/packer/classify.js +70 -0
- package/dist/m0saic/collage/image-collage/v1/packer/index.d.ts +7 -0
- package/dist/m0saic/collage/image-collage/v1/packer/index.js +23 -0
- package/dist/m0saic/collage/image-collage/v1/packer/paging.d.ts +39 -0
- package/dist/m0saic/collage/image-collage/v1/packer/paging.js +139 -0
- package/dist/m0saic/collage/image-collage/v1/packer/score.d.ts +25 -0
- package/dist/m0saic/collage/image-collage/v1/packer/score.js +69 -0
- package/dist/m0saic/collage/image-collage/v1/packer/solve.d.ts +27 -0
- package/dist/m0saic/collage/image-collage/v1/packer/solve.js +84 -0
- package/dist/m0saic/collage/image-collage/v1/packer/tiler.d.ts +65 -0
- package/dist/m0saic/collage/image-collage/v1/packer/tiler.js +607 -0
- package/dist/m0saic/collage/image-collage/v1/packer/types.d.ts +99 -0
- package/dist/m0saic/collage/image-collage/v1/packer/types.js +10 -0
- package/dist/m0saic/collage/image-collage/v1/tutorial.d.ts +17 -0
- package/dist/m0saic/collage/image-collage/v1/tutorial.js +269 -0
- package/dist/m0saic/collage/index.d.ts +2 -0
- package/dist/m0saic/collage/index.js +18 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.d.ts +7 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.js +11 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/index.d.ts +1 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/index.js +5 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.d.ts +29 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.js +78 -0
- package/dist/m0saic/dsl-tutorial/index.d.ts +1 -0
- package/dist/m0saic/dsl-tutorial/index.js +18 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.d.ts +24 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.js +17 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.d.ts +6 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.js +9 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.d.ts +57 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.js +156 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.d.ts +76 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.js +127 -0
- package/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.d.ts +124 -0
- package/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.js +675 -0
- package/dist/m0saic/dsl-tutorial/v1/index.d.ts +24 -0
- package/dist/m0saic/dsl-tutorial/v1/index.js +35 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.d.ts +113 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.js +573 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.d.ts +83 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.js +373 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.d.ts +48 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.js +366 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.d.ts +54 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.js +304 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.d.ts +110 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.js +443 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/camera.d.ts +64 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/camera.js +177 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.d.ts +47 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.js +64 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.d.ts +61 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.js +135 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.d.ts +62 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.js +197 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/timing.d.ts +117 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/timing.js +180 -0
- package/dist/m0saic/dsl-tutorial/v1/theme/tokens.d.ts +87 -0
- package/dist/m0saic/dsl-tutorial/v1/theme/tokens.js +96 -0
- package/dist/m0saic/forensic/index.d.ts +1 -0
- package/dist/m0saic/forensic/index.js +17 -0
- package/dist/m0saic/forensic/watermark/_shared/cellLuminance.d.ts +37 -0
- package/dist/m0saic/forensic/watermark/_shared/cellLuminance.js +62 -0
- package/dist/m0saic/forensic/watermark/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/index.js +18 -0
- package/dist/m0saic/forensic/watermark/verify/index.d.ts +1 -0
- package/dist/m0saic/forensic/watermark/verify/index.js +17 -0
- package/dist/m0saic/forensic/watermark/verify/v1/decode.d.ts +83 -0
- package/dist/m0saic/forensic/watermark/verify/v1/decode.js +270 -0
- package/dist/m0saic/forensic/watermark/verify/v1/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/verify/v1/index.js +23 -0
- package/dist/m0saic/forensic/watermark/verify/v1/report.d.ts +71 -0
- package/dist/m0saic/forensic/watermark/verify/v1/report.js +428 -0
- package/dist/m0saic/forensic/watermark/verify/v1/verify.d.ts +55 -0
- package/dist/m0saic/forensic/watermark/verify/v1/verify.js +286 -0
- package/dist/m0saic/forensic/watermark/video/index.d.ts +1 -0
- package/dist/m0saic/forensic/watermark/video/index.js +17 -0
- package/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.d.ts +119 -0
- package/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.js +629 -0
- package/dist/m0saic/forensic/watermark/video/v1/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/video/v1/index.js +9 -0
- package/dist/m0saic/forensic/watermark/video/v1/maskAsset.d.ts +67 -0
- package/dist/m0saic/forensic/watermark/video/v1/maskAsset.js +125 -0
- package/dist/m0saic/forensic/watermark/video/v1/probeHost.d.ts +69 -0
- package/dist/m0saic/forensic/watermark/video/v1/probeHost.js +83 -0
- package/dist/m0saic/github/client.d.ts +200 -0
- package/dist/m0saic/github/client.js +161 -0
- package/dist/m0saic/github/connection.d.ts +24 -0
- package/dist/m0saic/github/connection.js +91 -0
- package/dist/m0saic/github/index.d.ts +20 -0
- package/dist/m0saic/github/index.js +42 -0
- package/dist/m0saic/github/repo-facts-fetcher/index.d.ts +4 -0
- package/dist/m0saic/github/repo-facts-fetcher/index.js +20 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.d.ts +54 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.js +238 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/facts.d.ts +112 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/facts.js +12 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.d.ts +67 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.js +210 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.d.ts +16 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.js +175 -0
- package/dist/m0saic/github/week-math.d.ts +50 -0
- package/dist/m0saic/github/week-math.js +96 -0
- package/dist/m0saic/github/weekly-pulse/index.d.ts +1 -0
- package/dist/m0saic/github/weekly-pulse/index.js +17 -0
- package/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.d.ts +51 -0
- package/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.js +153 -0
- package/dist/m0saic/github/weekly-pulse-adapter/index.d.ts +2 -0
- package/dist/m0saic/github/weekly-pulse-adapter/index.js +18 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.d.ts +24 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.js +257 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.d.ts +35 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.js +131 -0
- package/dist/m0saic/github/year-card/index.d.ts +1 -0
- package/dist/m0saic/github/year-card/index.js +17 -0
- package/dist/m0saic/github/year-card/v1/index.d.ts +2 -0
- package/dist/m0saic/github/year-card/v1/index.js +16 -0
- package/dist/m0saic/github/year-card/v1/year-card.d.ts +90 -0
- package/dist/m0saic/github/year-card/v1/year-card.js +476 -0
- package/dist/m0saic/hello-world/index.d.ts +1 -0
- package/dist/m0saic/hello-world/index.js +18 -0
- package/dist/m0saic/hello-world/v1/hello-world.d.ts +4 -0
- package/dist/m0saic/hello-world/v1/hello-world.js +36 -0
- package/dist/m0saic/hello-world/v1/index.d.ts +5 -0
- package/dist/m0saic/hello-world/v1/index.js +9 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/bake-fin-qr.sh +11 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg-logo.png +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg_logo_480x480.svg +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/m-hero.png +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/qr-fin.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-desktop.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-layout.m0p +5146 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-mobile.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-square.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/title-layout.m0p +130 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.d.ts +151 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.js +305 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.d.ts +178 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.js +238 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.js +12 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.d.ts +67 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.js +59 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.d.ts +54 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.js +173 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.js +178 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.js +164 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.js +159 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.d.ts +31 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.js +154 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/index.d.ts +10 -0
- package/dist/m0saic/hero/ffmpeg-pulse/index.js +24 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.d.ts +38 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.js +161 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.d.ts +36 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.js +151 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.d.ts +54 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.js +128 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.d.ts +29 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.js +47 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.d.ts +20 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.js +365 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.d.ts +38 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.js +174 -0
- package/dist/m0saic/hero/index.d.ts +1 -0
- package/dist/m0saic/hero/index.js +18 -0
- package/dist/m0saic/index.d.ts +20 -0
- package/dist/m0saic/index.js +56 -0
- package/dist/m0saic/media/barcode/v1/barcode.d.ts +22 -0
- package/dist/m0saic/media/barcode/v1/barcode.js +218 -0
- package/dist/m0saic/media/barcode/v1/index.d.ts +1 -0
- package/dist/m0saic/media/barcode/v1/index.js +9 -0
- package/dist/m0saic/media/blur-regions/index.d.ts +1 -0
- package/dist/m0saic/media/blur-regions/index.js +17 -0
- package/dist/m0saic/media/blur-regions/v1/blur-regions.d.ts +58 -0
- package/dist/m0saic/media/blur-regions/v1/blur-regions.js +303 -0
- package/dist/m0saic/media/blur-regions/v1/index.d.ts +2 -0
- package/dist/m0saic/media/blur-regions/v1/index.js +20 -0
- package/dist/m0saic/media/blur-regions/v1/plan.d.ts +125 -0
- package/dist/m0saic/media/blur-regions/v1/plan.js +204 -0
- package/dist/m0saic/media/blur-regions/v1/tutorial.d.ts +18 -0
- package/dist/m0saic/media/blur-regions/v1/tutorial.js +428 -0
- package/dist/m0saic/media/highlights/index.d.ts +1 -0
- package/dist/m0saic/media/highlights/index.js +17 -0
- package/dist/m0saic/media/highlights/v1/assets/cover-ranges.jpg +0 -0
- package/dist/m0saic/media/highlights/v1/highlights.d.ts +49 -0
- package/dist/m0saic/media/highlights/v1/highlights.js +222 -0
- package/dist/m0saic/media/highlights/v1/index.d.ts +3 -0
- package/dist/m0saic/media/highlights/v1/index.js +19 -0
- package/dist/m0saic/media/highlights/v1/pipeline.d.ts +35 -0
- package/dist/m0saic/media/highlights/v1/pipeline.js +91 -0
- package/dist/m0saic/media/highlights/v1/plan.d.ts +46 -0
- package/dist/m0saic/media/highlights/v1/plan.js +68 -0
- package/dist/m0saic/media/index.d.ts +13 -0
- package/dist/m0saic/media/index.js +31 -0
- package/dist/m0saic/media/logo-animate/index.d.ts +1 -0
- package/dist/m0saic/media/logo-animate/index.js +17 -0
- package/dist/m0saic/media/logo-animate/v1/default-logo.d.ts +12 -0
- package/dist/m0saic/media/logo-animate/v1/default-logo.js +49 -0
- package/dist/m0saic/media/logo-animate/v1/expressions.d.ts +66 -0
- package/dist/m0saic/media/logo-animate/v1/expressions.js +107 -0
- package/dist/m0saic/media/logo-animate/v1/index.d.ts +2 -0
- package/dist/m0saic/media/logo-animate/v1/index.js +5 -0
- package/dist/m0saic/media/logo-animate/v1/layout.d.ts +29 -0
- package/dist/m0saic/media/logo-animate/v1/layout.js +43 -0
- package/dist/m0saic/media/logo-animate/v1/logo-animate.d.ts +106 -0
- package/dist/m0saic/media/logo-animate/v1/logo-animate.js +732 -0
- package/dist/m0saic/media/logo-animate/v1/svg-source.d.ts +63 -0
- package/dist/m0saic/media/logo-animate/v1/svg-source.js +127 -0
- package/dist/m0saic/media/logo-animate/v1/tutorial.d.ts +16 -0
- package/dist/m0saic/media/logo-animate/v1/tutorial.js +378 -0
- package/dist/m0saic/media/metadata-stamp/index.d.ts +1 -0
- package/dist/m0saic/media/metadata-stamp/index.js +17 -0
- package/dist/m0saic/media/metadata-stamp/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/metadata-stamp/v1/format-date.d.ts +52 -0
- package/dist/m0saic/media/metadata-stamp/v1/format-date.js +128 -0
- package/dist/m0saic/media/metadata-stamp/v1/index.d.ts +4 -0
- package/dist/m0saic/media/metadata-stamp/v1/index.js +10 -0
- package/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.d.ts +58 -0
- package/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.js +534 -0
- package/dist/m0saic/media/qr/_shared/brandMCenter.d.ts +28 -0
- package/dist/m0saic/media/qr/_shared/brandMCenter.js +52 -0
- package/dist/m0saic/media/qr/animate/v1/expressions.d.ts +164 -0
- package/dist/m0saic/media/qr/animate/v1/expressions.js +251 -0
- package/dist/m0saic/media/qr/animate/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/animate/v1/index.js +9 -0
- package/dist/m0saic/media/qr/animate/v1/qr-animate.d.ts +171 -0
- package/dist/m0saic/media/qr/animate/v1/qr-animate.js +775 -0
- package/dist/m0saic/media/qr/animate/v2/index.d.ts +2 -0
- package/dist/m0saic/media/qr/animate/v2/index.js +9 -0
- package/dist/m0saic/media/qr/animate/v2/qr-animate.d.ts +64 -0
- package/dist/m0saic/media/qr/animate/v2/qr-animate.js +341 -0
- package/dist/m0saic/media/qr/basic/v1/index.d.ts +1 -0
- package/dist/m0saic/media/qr/basic/v1/index.js +10 -0
- package/dist/m0saic/media/qr/basic/v1/qr.d.ts +24 -0
- package/dist/m0saic/media/qr/basic/v1/qr.js +132 -0
- package/dist/m0saic/media/qr/code/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/code/v1/index.js +9 -0
- package/dist/m0saic/media/qr/code/v1/qr-code.d.ts +135 -0
- package/dist/m0saic/media/qr/code/v1/qr-code.js +611 -0
- package/dist/m0saic/media/qr/index.d.ts +7 -0
- package/dist/m0saic/media/qr/index.js +19 -0
- package/dist/m0saic/media/qr/rounded/v1/index.d.ts +1 -0
- package/dist/m0saic/media/qr/rounded/v1/index.js +9 -0
- package/dist/m0saic/media/qr/rounded/v1/qr-rounded.d.ts +68 -0
- package/dist/m0saic/media/qr/rounded/v1/qr-rounded.js +338 -0
- package/dist/m0saic/media/qr/stamp/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.d.ts +44 -0
- package/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.js +389 -0
- package/dist/m0saic/media/qr/stamp-video/v1/expressions.d.ts +10 -0
- package/dist/m0saic/media/qr/stamp-video/v1/expressions.js +18 -0
- package/dist/m0saic/media/qr/stamp-video/v1/gleamBand.d.ts +115 -0
- package/dist/m0saic/media/qr/stamp-video/v1/gleamBand.js +206 -0
- package/dist/m0saic/media/qr/stamp-video/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/stamp-video/v1/index.js +9 -0
- package/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.d.ts +82 -0
- package/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.js +424 -0
- package/dist/m0saic/media/screencap_grid/index.d.ts +3 -0
- package/dist/m0saic/media/screencap_grid/index.js +9 -0
- package/dist/m0saic/media/screencap_grid/internal/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/internal/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/internal/info_pane.d.ts +13 -0
- package/dist/m0saic/media/screencap_grid/internal/info_pane.js +130 -0
- package/dist/m0saic/media/screencap_grid/v1/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/v1/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/v1/screencap-grid.d.ts +162 -0
- package/dist/m0saic/media/screencap_grid/v1/screencap-grid.js +690 -0
- package/dist/m0saic/media/screencap_grid/v2/assets/tutorial-sheet.jpg +0 -0
- package/dist/m0saic/media/screencap_grid/v2/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/v2/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.d.ts +9 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.js +12 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.d.ts +97 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.js +367 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.d.ts +38 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.js +530 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid.d.ts +194 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid.js +615 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/index.js +5 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/assets/pair-sheet.jpg +0 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.js +5 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.d.ts +18 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.js +191 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.d.ts +13 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.js +355 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.d.ts +179 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.js +544 -0
- package/dist/m0saic/media/scroll_wall/index.d.ts +1 -0
- package/dist/m0saic/media/scroll_wall/index.js +5 -0
- package/dist/m0saic/media/scroll_wall/v1/geometry.d.ts +131 -0
- package/dist/m0saic/media/scroll_wall/v1/geometry.js +172 -0
- package/dist/m0saic/media/scroll_wall/v1/index.d.ts +1 -0
- package/dist/m0saic/media/scroll_wall/v1/index.js +5 -0
- package/dist/m0saic/media/scroll_wall/v1/motion.d.ts +114 -0
- package/dist/m0saic/media/scroll_wall/v1/motion.js +141 -0
- package/dist/m0saic/media/scroll_wall/v1/scroll-wall.d.ts +182 -0
- package/dist/m0saic/media/scroll_wall/v1/scroll-wall.js +432 -0
- package/dist/m0saic/media/subtitle-burn/index.d.ts +1 -0
- package/dist/m0saic/media/subtitle-burn/index.js +17 -0
- package/dist/m0saic/media/subtitle-burn/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/subtitle-burn/v1/index.d.ts +1 -0
- package/dist/m0saic/media/subtitle-burn/v1/index.js +6 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.d.ts +13 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.js +196 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.d.ts +137 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.js +603 -0
- package/dist/m0saic/media/trickplay/index.d.ts +1 -0
- package/dist/m0saic/media/trickplay/index.js +17 -0
- package/dist/m0saic/media/trickplay/v1/index.d.ts +4 -0
- package/dist/m0saic/media/trickplay/v1/index.js +18 -0
- package/dist/m0saic/media/trickplay/v1/pipeline.d.ts +51 -0
- package/dist/m0saic/media/trickplay/v1/pipeline.js +180 -0
- package/dist/m0saic/media/trickplay/v1/plan.d.ts +65 -0
- package/dist/m0saic/media/trickplay/v1/plan.js +76 -0
- package/dist/m0saic/media/trickplay/v1/sidecars.d.ts +79 -0
- package/dist/m0saic/media/trickplay/v1/sidecars.js +89 -0
- package/dist/m0saic/media/trickplay/v1/trickplay.d.ts +40 -0
- package/dist/m0saic/media/trickplay/v1/trickplay.js +123 -0
- package/dist/m0saic/media/video_to_png_sequence/index.d.ts +1 -0
- package/dist/m0saic/media/video_to_png_sequence/index.js +5 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/index.d.ts +1 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/index.js +5 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.d.ts +37 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.js +234 -0
- package/dist/m0saic/media/watermark/index.d.ts +1 -0
- package/dist/m0saic/media/watermark/index.js +17 -0
- package/dist/m0saic/media/watermark/v1/adaptive.d.ts +85 -0
- package/dist/m0saic/media/watermark/v1/adaptive.js +162 -0
- package/dist/m0saic/media/watermark/v1/content.d.ts +56 -0
- package/dist/m0saic/media/watermark/v1/content.js +160 -0
- package/dist/m0saic/media/watermark/v1/geometry.d.ts +138 -0
- package/dist/m0saic/media/watermark/v1/geometry.js +247 -0
- package/dist/m0saic/media/watermark/v1/index.d.ts +3 -0
- package/dist/m0saic/media/watermark/v1/index.js +5 -0
- package/dist/m0saic/media/watermark/v1/pageGrid.d.ts +105 -0
- package/dist/m0saic/media/watermark/v1/pageGrid.js +203 -0
- package/dist/m0saic/media/watermark/v1/pipeline.d.ts +68 -0
- package/dist/m0saic/media/watermark/v1/pipeline.js +324 -0
- package/dist/m0saic/media/watermark/v1/watermark.d.ts +88 -0
- package/dist/m0saic/media/watermark/v1/watermark.js +452 -0
- package/dist/m0saic/meta/camera-debug/index.d.ts +1 -0
- package/dist/m0saic/meta/camera-debug/index.js +17 -0
- package/dist/m0saic/meta/camera-debug/v1/camera-debug.d.ts +98 -0
- package/dist/m0saic/meta/camera-debug/v1/camera-debug.js +490 -0
- package/dist/m0saic/meta/fixture-fetcher/index.d.ts +1 -0
- package/dist/m0saic/meta/fixture-fetcher/index.js +17 -0
- package/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.d.ts +76 -0
- package/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.js +159 -0
- package/dist/m0saic/meta/hot-reload-smoke/index.d.ts +1 -0
- package/dist/m0saic/meta/hot-reload-smoke/index.js +17 -0
- package/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.d.ts +50 -0
- package/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.js +131 -0
- package/dist/m0saic/meta/index.d.ts +13 -0
- package/dist/m0saic/meta/index.js +29 -0
- package/dist/m0saic/meta/post-mortem/index.d.ts +1 -0
- package/dist/m0saic/meta/post-mortem/index.js +17 -0
- package/dist/m0saic/meta/post-mortem/v1/assets/human.png +0 -0
- package/dist/m0saic/meta/post-mortem/v1/assets/robot.png +0 -0
- package/dist/m0saic/meta/post-mortem/v1/post-mortem.d.ts +47 -0
- package/dist/m0saic/meta/post-mortem/v1/post-mortem.js +634 -0
- package/dist/m0saic/meta/upstream-echo/index.d.ts +1 -0
- package/dist/m0saic/meta/upstream-echo/index.js +17 -0
- package/dist/m0saic/meta/upstream-echo/v1/upstream-echo.d.ts +52 -0
- package/dist/m0saic/meta/upstream-echo/v1/upstream-echo.js +138 -0
- package/dist/m0saic/primitives/grid/index.d.ts +2 -0
- package/dist/m0saic/primitives/grid/index.js +7 -0
- package/dist/m0saic/primitives/grid/v1/grid.d.ts +85 -0
- package/dist/m0saic/primitives/grid/v1/grid.js +217 -0
- package/dist/m0saic/primitives/grid/v2/grid.d.ts +80 -0
- package/dist/m0saic/primitives/grid/v2/grid.js +150 -0
- package/dist/m0saic/primitives/index.d.ts +1 -0
- package/dist/m0saic/primitives/index.js +17 -0
- package/dist/m0saic/social/index.d.ts +1 -0
- package/dist/m0saic/social/index.js +17 -0
- package/dist/m0saic/social/quote-card/index.d.ts +1 -0
- package/dist/m0saic/social/quote-card/index.js +17 -0
- package/dist/m0saic/social/quote-card/v1/index.d.ts +2 -0
- package/dist/m0saic/social/quote-card/v1/index.js +5 -0
- package/dist/m0saic/social/quote-card/v1/layout.d.ts +119 -0
- package/dist/m0saic/social/quote-card/v1/layout.js +323 -0
- package/dist/m0saic/social/quote-card/v1/quote-card.d.ts +51 -0
- package/dist/m0saic/social/quote-card/v1/quote-card.js +310 -0
- package/dist/m0saic/story/index.d.ts +2 -0
- package/dist/m0saic/story/index.js +20 -0
- package/dist/m0saic/story/narrated-chapters/index.d.ts +1 -0
- package/dist/m0saic/story/narrated-chapters/index.js +17 -0
- package/dist/m0saic/story/narrated-chapters/v1/captions.d.ts +42 -0
- package/dist/m0saic/story/narrated-chapters/v1/captions.js +200 -0
- package/dist/m0saic/story/narrated-chapters/v1/demo-fixture.d.ts +13 -0
- package/dist/m0saic/story/narrated-chapters/v1/demo-fixture.js +52 -0
- package/dist/m0saic/story/narrated-chapters/v1/index.d.ts +2 -0
- package/dist/m0saic/story/narrated-chapters/v1/index.js +5 -0
- package/dist/m0saic/story/narrated-chapters/v1/kenburns.d.ts +50 -0
- package/dist/m0saic/story/narrated-chapters/v1/kenburns.js +0 -0
- package/dist/m0saic/story/narrated-chapters/v1/layout.d.ts +103 -0
- package/dist/m0saic/story/narrated-chapters/v1/layout.js +162 -0
- package/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.d.ts +22 -0
- package/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.js +160 -0
- package/dist/m0saic/story/narrated-chapters/v1/pipeline.d.ts +43 -0
- package/dist/m0saic/story/narrated-chapters/v1/pipeline.js +94 -0
- package/dist/m0saic/story/narrated-chapters/v1/plan.d.ts +144 -0
- package/dist/m0saic/story/narrated-chapters/v1/plan.js +372 -0
- package/dist/m0saic/story/narrated-chapters/v1/props.d.ts +147 -0
- package/dist/m0saic/story/narrated-chapters/v1/props.js +205 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/body.d.ts +64 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/body.js +253 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/card.d.ts +40 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/card.js +201 -0
- package/dist/m0saic/story/narrated-chapters/v1/theme.d.ts +25 -0
- package/dist/m0saic/story/narrated-chapters/v1/theme.js +38 -0
- package/dist/m0saic/story/scrapbook/v1/document.d.ts +41 -0
- package/dist/m0saic/story/scrapbook/v1/document.js +124 -0
- package/dist/m0saic/story/scrapbook/v1/index.d.ts +1 -0
- package/dist/m0saic/story/scrapbook/v1/index.js +9 -0
- package/dist/m0saic/story/scrapbook/v1/page.d.ts +34 -0
- package/dist/m0saic/story/scrapbook/v1/page.js +121 -0
- package/dist/m0saic/story/scrapbook/v1/pages.d.ts +29 -0
- package/dist/m0saic/story/scrapbook/v1/pages.js +37 -0
- package/dist/m0saic/story/scrapbook/v1/pipeline.d.ts +44 -0
- package/dist/m0saic/story/scrapbook/v1/pipeline.js +130 -0
- package/dist/m0saic/story/scrapbook/v1/placeholder.d.ts +22 -0
- package/dist/m0saic/story/scrapbook/v1/placeholder.js +51 -0
- package/dist/m0saic/story/scrapbook/v1/props.d.ts +66 -0
- package/dist/m0saic/story/scrapbook/v1/props.js +80 -0
- package/dist/m0saic/story/scrapbook/v1/scrapbook.d.ts +23 -0
- package/dist/m0saic/story/scrapbook/v1/scrapbook.js +77 -0
- package/dist/m0saic/theming/index.d.ts +1 -0
- package/dist/m0saic/theming/index.js +17 -0
- package/dist/m0saic/theming/v1/brand-m-glyph.d.ts +14 -0
- package/dist/m0saic/theming/v1/brand-m-glyph.js +12 -0
- package/dist/m0saic/theming/v1/index.d.ts +2 -0
- package/dist/m0saic/theming/v1/index.js +16 -0
- package/dist/m0saic/theming/v1/theme-tokens.d.ts +71 -0
- package/dist/m0saic/theming/v1/theme-tokens.js +111 -0
- package/dist/m0saic/theming/v1/theming.d.ts +18 -0
- package/dist/m0saic/theming/v1/theming.js +94 -0
- package/dist/m0saic/theming/v1/token-sheet.d.ts +23 -0
- package/dist/m0saic/theming/v1/token-sheet.js +191 -0
- package/dist/m0saic/web/index.d.ts +1 -0
- package/dist/m0saic/web/index.js +17 -0
- package/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.d.ts +1 -0
- package/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.js +528 -0
- package/dist/m0saic/web/page-skeleton/v1/index.d.ts +1 -0
- package/dist/m0saic/web/page-skeleton/v1/index.js +5 -0
- package/dist/m0saic/web/page-skeleton/v1/layout.d.ts +107 -0
- package/dist/m0saic/web/page-skeleton/v1/layout.js +246 -0
- package/dist/m0saic/web/page-skeleton/v1/page-skeleton.d.ts +148 -0
- package/dist/m0saic/web/page-skeleton/v1/page-skeleton.js +787 -0
- package/dist/m0saic/web/page-skeleton/v1/sample-capture.d.ts +7 -0
- package/dist/m0saic/web/page-skeleton/v1/sample-capture.js +50 -0
- package/dist/m0saic/web/page-skeleton/v1/schema.d.ts +35 -0
- package/dist/m0saic/web/page-skeleton/v1/schema.js +132 -0
- package/dist/m0saic/wireframe/animated/v1/animated-wireframe.d.ts +93 -0
- package/dist/m0saic/wireframe/animated/v1/animated-wireframe.js +580 -0
- package/dist/m0saic/wireframe/animated/v1/index.d.ts +1 -0
- package/dist/m0saic/wireframe/animated/v1/index.js +5 -0
- package/dist/m0saic/wireframe/base/v1/index.d.ts +1 -0
- package/dist/m0saic/wireframe/base/v1/index.js +5 -0
- package/dist/m0saic/wireframe/base/v1/wireframe.d.ts +68 -0
- package/dist/m0saic/wireframe/base/v1/wireframe.js +372 -0
- package/dist/m0saic/wireframe/base/v2/index.d.ts +2 -0
- package/dist/m0saic/wireframe/base/v2/index.js +9 -0
- package/dist/m0saic/wireframe/base/v2/wireframe.d.ts +166 -0
- package/dist/m0saic/wireframe/base/v2/wireframe.js +1181 -0
- package/dist/m0saic/wireframe/index.d.ts +4 -0
- package/dist/m0saic/wireframe/index.js +16 -0
- package/dist/m0saic/wireframe/utils/paperGrid.d.ts +53 -0
- package/dist/m0saic/wireframe/utils/paperGrid.js +91 -0
- package/dist/m0saic/wireframe/utils/wireframeCell.d.ts +35 -0
- package/dist/m0saic/wireframe/utils/wireframeCell.js +278 -0
- package/dist/registry.d.ts +4 -0
- package/dist/registry.js +7 -0
- package/dist/repo.d.ts +11 -0
- package/dist/repo.js +39 -0
- package/dist/template-registry.d.ts +18 -0
- package/dist/template-registry.js +888 -0
- package/dist/web.d.ts +35 -0
- package/dist/web.js +88 -0
- package/dist/webTemplateIds.d.ts +6 -0
- package/dist/webTemplateIds.js +80 -0
- package/package.json +52 -0
- package/template-manifest.json +1635 -0
- package/web-template-ids.json +84 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.STAND_IN_PAGES = void 0;
|
|
4
|
+
exports.resolvePages = resolvePages;
|
|
5
|
+
const placeholder_1 = require("./placeholder");
|
|
6
|
+
/** How many pages to lay out when no pictures have arrived yet. */
|
|
7
|
+
exports.STAND_IN_PAGES = 4;
|
|
8
|
+
/** A stand-in line, so the layout is judged with words in it rather than blanks. */
|
|
9
|
+
function standInNote(i, hasPhotos) {
|
|
10
|
+
if (hasPhotos)
|
|
11
|
+
return "";
|
|
12
|
+
return [
|
|
13
|
+
"the summer everything changed",
|
|
14
|
+
"she never let me carry anything",
|
|
15
|
+
"we drove until the map ran out",
|
|
16
|
+
"and then there were four of us",
|
|
17
|
+
][i % 4];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Resolve pages from the props. With no photos the film is laid out with
|
|
21
|
+
* stand-ins so its pacing can be judged before any real picture exists;
|
|
22
|
+
* with photos, the count follows the photos and the notes fill in beside
|
|
23
|
+
* them (a missing note is a wordless page, never an error).
|
|
24
|
+
*/
|
|
25
|
+
function resolvePages(p) {
|
|
26
|
+
const photos = p.photos.filter((s) => typeof s === "string" && s.trim() !== "");
|
|
27
|
+
const count = photos.length > 0 ? photos.length : exports.STAND_IN_PAGES;
|
|
28
|
+
return Array.from({ length: count }, (_, i) => {
|
|
29
|
+
const real = photos[i];
|
|
30
|
+
return {
|
|
31
|
+
index: i,
|
|
32
|
+
image: real ? { kind: "file", path: real } : { kind: "data-uri", uri: (0, placeholder_1.standInPhotoUrl)(i, p.paperColor) },
|
|
33
|
+
note: typeof p.notes[i] === "string" ? p.notes[i] : standInNote(i, photos.length > 0),
|
|
34
|
+
standIn: !real,
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { MosaicDocument, MosaicDocumentPipeline } from "@m0saic/types";
|
|
2
|
+
import type { Page } from "./pages";
|
|
3
|
+
import type { ResolvedProps } from "./props";
|
|
4
|
+
/**
|
|
5
|
+
* The film: an opening card, a page per picture, a closing line — every
|
|
6
|
+
* join a cross-fade, because a scrapbook turns pages, it does not cut.
|
|
7
|
+
*
|
|
8
|
+
* Timing law (the same one the rest of the house keeps): a fade rides on
|
|
9
|
+
* the OUTGOING step, so the stitched length equals the authored
|
|
10
|
+
* `durationMs` exactly.
|
|
11
|
+
*/
|
|
12
|
+
export type ScrapbookPlan = {
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
fps: number;
|
|
16
|
+
props: ResolvedProps;
|
|
17
|
+
pages: Page[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* A card: a big line, and a small one under it when there is one.
|
|
21
|
+
*
|
|
22
|
+
* The rows are built from the text that EXISTS. An empty line is not an
|
|
23
|
+
* empty row — a blank svg text source still paints its box, which is how
|
|
24
|
+
* the closing card grew a grey bar the first time.
|
|
25
|
+
*/
|
|
26
|
+
export declare function cardDoc(o: {
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
fps: number;
|
|
30
|
+
durationMs: number;
|
|
31
|
+
props: ResolvedProps;
|
|
32
|
+
headline: string;
|
|
33
|
+
sub: string;
|
|
34
|
+
/** Which prop the headline IS, so Make can edit it where it is drawn. */
|
|
35
|
+
headlineProp: string;
|
|
36
|
+
/** When this card's own time starts, on the PARENT clock (see buildPageDoc). */
|
|
37
|
+
originSec?: number;
|
|
38
|
+
/** See `buildPageDoc` — false as one layer of a single document. */
|
|
39
|
+
entrances?: boolean;
|
|
40
|
+
}): MosaicDocument;
|
|
41
|
+
/** The whole film, as an `emit:"single"` pipeline. */
|
|
42
|
+
export declare function buildScrapbookPipeline(plan: ScrapbookPlan): MosaicDocumentPipeline;
|
|
43
|
+
/** The film's natural length, for the output hint and the timing gate. */
|
|
44
|
+
export declare function naturalDurationMs(p: ResolvedProps, pageCount: number): number;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cardDoc = cardDoc;
|
|
4
|
+
exports.buildScrapbookPipeline = buildScrapbookPipeline;
|
|
5
|
+
exports.naturalDurationMs = naturalDurationMs;
|
|
6
|
+
const types_1 = require("@m0saic/types");
|
|
7
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
8
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
9
|
+
const page_1 = require("./page");
|
|
10
|
+
/**
|
|
11
|
+
* A card: a big line, and a small one under it when there is one.
|
|
12
|
+
*
|
|
13
|
+
* The rows are built from the text that EXISTS. An empty line is not an
|
|
14
|
+
* empty row — a blank svg text source still paints its box, which is how
|
|
15
|
+
* the closing card grew a grey bar the first time.
|
|
16
|
+
*/
|
|
17
|
+
function cardDoc(o) {
|
|
18
|
+
var _a;
|
|
19
|
+
const { width: W, height: H, fps, durationMs, props: p } = o;
|
|
20
|
+
const t0 = (_a = o.originSec) !== null && _a !== void 0 ? _a : 0;
|
|
21
|
+
const hasSub = o.sub.trim() !== "";
|
|
22
|
+
// Rows in UNITS, not pixels. Pixel weights would make this a split with
|
|
23
|
+
// one slot per pixel of canvas — far past the planner's px-per-weight
|
|
24
|
+
// floor, where cells quantize and squash.
|
|
25
|
+
const units = hasSub ? [10, 11, 4] : [12, 13];
|
|
26
|
+
const total = units.reduce((a, b) => a + b, 0);
|
|
27
|
+
const headH = Math.round((H * units[1]) / total);
|
|
28
|
+
const subH = hasSub ? Math.round((H * units[2]) / total) : 0;
|
|
29
|
+
const sources = [
|
|
30
|
+
{ type: "lavfi", color: p.paperColor },
|
|
31
|
+
(0, template_utils_1.bindProp)({
|
|
32
|
+
...(0, template_utils_1.svgLabel)(o.headline, W, headH, { color: p.inkColor, maxPx: Math.round(headH * 0.46), maxLines: 2 }),
|
|
33
|
+
...(o.entrances === false ? {} : { overlay: (0, template_utils_1.entrance)({ kind: "rise", durationMs: 700, atSec: t0 + 0.15, ease: "easeOut" }) }),
|
|
34
|
+
}, o.headlineProp),
|
|
35
|
+
];
|
|
36
|
+
if (hasSub) {
|
|
37
|
+
sources.push((0, template_utils_1.bindProp)({
|
|
38
|
+
...(0, template_utils_1.svgLabel)(o.sub, W, subH, { color: p.accentColor, maxPx: Math.round(subH * 0.5), maxLines: 1 }),
|
|
39
|
+
...(o.entrances === false ? {} : { overlay: (0, template_utils_1.entrance)({ kind: "fade", durationMs: 700, atSec: t0 + 0.55, ease: "easeOut" }) }),
|
|
40
|
+
}, "subtitle"));
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
kind: "mosaic_document",
|
|
44
|
+
version: 1,
|
|
45
|
+
m0: (0, dsl_stdlib_1.weightedSplit)(units, "row", { precision: total }),
|
|
46
|
+
size: { width: W, height: H },
|
|
47
|
+
fps,
|
|
48
|
+
durationMs,
|
|
49
|
+
backgroundColor: p.paperColor,
|
|
50
|
+
audio: { mode: "off" },
|
|
51
|
+
assets: {},
|
|
52
|
+
sources,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Put the music bed under one step. An audio-only source still holds a
|
|
57
|
+
* frame, so it arrives as a nested leaf on the document's m0 — and it
|
|
58
|
+
* starts `atMs` INTO the track, so the bed runs continuously across the
|
|
59
|
+
* film instead of restarting on every page.
|
|
60
|
+
*/
|
|
61
|
+
function withMusic(doc, music, id, atMs) {
|
|
62
|
+
var _a;
|
|
63
|
+
if (!music)
|
|
64
|
+
return doc;
|
|
65
|
+
return {
|
|
66
|
+
...doc,
|
|
67
|
+
m0: (0, dsl_stdlib_1.toM0String)(`${String(doc.m0)}{F}`, "Scrapbook-audio"),
|
|
68
|
+
audio: { mode: "auto" },
|
|
69
|
+
assets: { ...((_a = doc.assets) !== null && _a !== void 0 ? _a : {}), [id]: { kind: "file", path: music, mediaType: "audio" } },
|
|
70
|
+
sources: [
|
|
71
|
+
...doc.sources,
|
|
72
|
+
{ type: "media", mediaType: "audio", assetId: id, playback: { clipStartMs: Math.max(0, Math.round(atMs)) } },
|
|
73
|
+
],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/** The whole film, as an `emit:"single"` pipeline. */
|
|
77
|
+
function buildScrapbookPipeline(plan) {
|
|
78
|
+
const { width: W, height: H, fps, props: p, pages } = plan;
|
|
79
|
+
const x = Math.round(p.xfadeMs);
|
|
80
|
+
const steps = [];
|
|
81
|
+
const fade = x > 0 ? ({ transitionToNext: { type: "fade", durationMs: x } }) : {};
|
|
82
|
+
const openMs = Math.round(p.introMs);
|
|
83
|
+
const pageMs = Math.round(p.perPageMs);
|
|
84
|
+
const closeMs = Math.round(p.outroMs);
|
|
85
|
+
const music = p.music.trim();
|
|
86
|
+
const musicId = (0, types_1.asAssetId)("music_bed");
|
|
87
|
+
// Where the film has got to — the bed picks up from here on each step.
|
|
88
|
+
let atMs = 0;
|
|
89
|
+
if (openMs > 0) {
|
|
90
|
+
const d = openMs + x;
|
|
91
|
+
const doc = cardDoc({ width: W, height: H, fps, durationMs: d, props: p, headline: p.title, sub: p.subtitle, headlineProp: "title" });
|
|
92
|
+
steps.push({ name: "open", label: "Opening", durationMs: d, file: withMusic(doc, music, musicId, atMs), ...fade });
|
|
93
|
+
atMs += openMs;
|
|
94
|
+
}
|
|
95
|
+
pages.forEach((page, i) => {
|
|
96
|
+
const last = i === pages.length - 1 && closeMs <= 0;
|
|
97
|
+
const d = pageMs + (last ? 0 : x);
|
|
98
|
+
const doc = (0, page_1.buildPageDoc)({ page, width: W, height: H, fps, durationMs: d, props: p });
|
|
99
|
+
steps.push({
|
|
100
|
+
name: `page-${page.index + 1}`,
|
|
101
|
+
label: `Page ${page.index + 1}`,
|
|
102
|
+
durationMs: d,
|
|
103
|
+
file: withMusic(doc, music, musicId, atMs),
|
|
104
|
+
...(last ? {} : fade),
|
|
105
|
+
});
|
|
106
|
+
atMs += pageMs;
|
|
107
|
+
});
|
|
108
|
+
if (closeMs > 0) {
|
|
109
|
+
const doc = cardDoc({ width: W, height: H, fps, durationMs: closeMs, props: p, headline: p.closing, sub: "", headlineProp: "closing" });
|
|
110
|
+
steps.push({ name: "close", label: "Closing", durationMs: closeMs, file: withMusic(doc, music, musicId, atMs) });
|
|
111
|
+
}
|
|
112
|
+
// Fades ride on the outgoing step, so the stitched total is exactly this.
|
|
113
|
+
const totalMs = openMs + pageMs * pages.length + closeMs;
|
|
114
|
+
return {
|
|
115
|
+
kind: "mosaic_pipeline",
|
|
116
|
+
version: 1,
|
|
117
|
+
emit: "single",
|
|
118
|
+
size: { width: W, height: H },
|
|
119
|
+
fps,
|
|
120
|
+
durationMs: totalMs,
|
|
121
|
+
durationFit: "cut",
|
|
122
|
+
defaultTransition: { type: "cut" },
|
|
123
|
+
backgroundColor: p.paperColor,
|
|
124
|
+
steps,
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
/** The film's natural length, for the output hint and the timing gate. */
|
|
128
|
+
function naturalDurationMs(p, pageCount) {
|
|
129
|
+
return Math.round(p.introMs) + Math.round(p.perPageMs) * pageCount + Math.round(p.outroMs);
|
|
130
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stand-in pictures, so the film can be laid out and paced before a single
|
|
3
|
+
* real photograph exists.
|
|
4
|
+
*
|
|
5
|
+
* Deliberately NOT photographic: soft warm shapes that read as "a picture
|
|
6
|
+
* goes here" at a glance. Fakes that looked real would flatter the layout
|
|
7
|
+
* and hide what the real thing has to survive.
|
|
8
|
+
*
|
|
9
|
+
* Generated as URL-encoded SVG data URIs — no `Buffer` (so this module is
|
|
10
|
+
* browser-safe) and no `;utf8` parameter, which the engine's plain-SVG
|
|
11
|
+
* parser rejects.
|
|
12
|
+
*/
|
|
13
|
+
export type ClaimImageLike = {
|
|
14
|
+
kind: "file";
|
|
15
|
+
path: string;
|
|
16
|
+
} | {
|
|
17
|
+
kind: "data-uri";
|
|
18
|
+
uri: string;
|
|
19
|
+
};
|
|
20
|
+
/** One stand-in picture, deterministic per page index. */
|
|
21
|
+
export declare function standInPhotoSvg(i: number, paper: string): string;
|
|
22
|
+
export declare function standInPhotoUrl(i: number, paper: string): string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Stand-in pictures, so the film can be laid out and paced before a single
|
|
4
|
+
* real photograph exists.
|
|
5
|
+
*
|
|
6
|
+
* Deliberately NOT photographic: soft warm shapes that read as "a picture
|
|
7
|
+
* goes here" at a glance. Fakes that looked real would flatter the layout
|
|
8
|
+
* and hide what the real thing has to survive.
|
|
9
|
+
*
|
|
10
|
+
* Generated as URL-encoded SVG data URIs — no `Buffer` (so this module is
|
|
11
|
+
* browser-safe) and no `;utf8` parameter, which the engine's plain-SVG
|
|
12
|
+
* parser rejects.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.standInPhotoSvg = standInPhotoSvg;
|
|
16
|
+
exports.standInPhotoUrl = standInPhotoUrl;
|
|
17
|
+
/** Warm, faded-snapshot palettes: [sky, ground, subject]. */
|
|
18
|
+
const PALETTES = [
|
|
19
|
+
["#D8C7A8", "#B49B78", "#6E5842"],
|
|
20
|
+
["#C9CFC0", "#9FAE94", "#4F5C4A"],
|
|
21
|
+
["#E2C7B4", "#C39A85", "#7A5545"],
|
|
22
|
+
["#C6CDD8", "#98A5B6", "#4C5769"],
|
|
23
|
+
["#E0D2B6", "#BFA97F", "#6B5636"],
|
|
24
|
+
];
|
|
25
|
+
function hash(i, salt) {
|
|
26
|
+
let h = (i * 0x9e3779b1) ^ (salt * 0x85ebca6b);
|
|
27
|
+
h = Math.imul(h ^ (h >>> 16), 0x7feb352d);
|
|
28
|
+
h = Math.imul(h ^ (h >>> 15), 0x846ca68b);
|
|
29
|
+
return (h ^ (h >>> 16)) >>> 0;
|
|
30
|
+
}
|
|
31
|
+
/** One stand-in picture, deterministic per page index. */
|
|
32
|
+
function standInPhotoSvg(i, paper) {
|
|
33
|
+
const [sky, ground, subject] = PALETTES[hash(i, 1) % PALETTES.length];
|
|
34
|
+
const horizon = 96 + (hash(i, 2) % 40);
|
|
35
|
+
const sunX = 40 + (hash(i, 3) % 120);
|
|
36
|
+
const figures = 1 + (hash(i, 4) % 3);
|
|
37
|
+
const people = Array.from({ length: figures }, (_, k) => {
|
|
38
|
+
const x = 40 + ((hash(i, 10 + k) % 120));
|
|
39
|
+
const h = 26 + (hash(i, 20 + k) % 18);
|
|
40
|
+
return `<circle cx="${x}" cy="${horizon + 14 - h}" r="7" fill="${subject}"/><rect x="${x - 7}" y="${horizon + 22 - h}" width="14" height="${h}" rx="6" fill="${subject}"/>`;
|
|
41
|
+
}).join("");
|
|
42
|
+
return (`<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200">` +
|
|
43
|
+
`<rect width="200" height="200" fill="${sky}"/>` +
|
|
44
|
+
`<circle cx="${sunX}" cy="${horizon - 54}" r="18" fill="${paper}" opacity="0.55"/>` +
|
|
45
|
+
`<rect y="${horizon}" width="200" height="${200 - horizon}" fill="${ground}"/>` +
|
|
46
|
+
people +
|
|
47
|
+
`</svg>`);
|
|
48
|
+
}
|
|
49
|
+
function standInPhotoUrl(i, paper) {
|
|
50
|
+
return `data:image/svg+xml,${encodeURIComponent(standInPhotoSvg(i, paper))}`;
|
|
51
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@m0saic/story/scrapbook/v1` — props.
|
|
3
|
+
*
|
|
4
|
+
* THE CONTRACT (what this template is, before any layout):
|
|
5
|
+
*
|
|
6
|
+
* A short personal film. A handful of pictures, each with a line in the
|
|
7
|
+
* author's own words, laid down like the pages of a scrapbook: pinned
|
|
8
|
+
* slightly askew on paper, drifting gently, handing over with soft
|
|
9
|
+
* cross-fades, optionally over music. Warm and unhurried — the opposite
|
|
10
|
+
* register to a product demo.
|
|
11
|
+
*
|
|
12
|
+
* What it is NOT: a gallery, a grid, or a slideshow with effects. One page
|
|
13
|
+
* at a time, and the words matter as much as the pictures.
|
|
14
|
+
*
|
|
15
|
+
* CONTENT COMES LATER. `photos` and `notes` are index-aligned and both may
|
|
16
|
+
* be empty: at defaults the template lays out generated stand-in pages so
|
|
17
|
+
* the pacing and motion can be judged before a single real picture exists.
|
|
18
|
+
* Dropping real files in replaces them one for one.
|
|
19
|
+
*/
|
|
20
|
+
export type ScrapbookProps = {
|
|
21
|
+
/** Opening line — a name, usually. */
|
|
22
|
+
title?: string;
|
|
23
|
+
/** Under the title: a date range, a place, a dedication. */
|
|
24
|
+
subtitle?: string;
|
|
25
|
+
/** The pictures, in order. Empty = generated stand-in pages. */
|
|
26
|
+
photos?: string[];
|
|
27
|
+
/** One line per picture, index-aligned with `photos`. Blank entries are fine. */
|
|
28
|
+
notes?: string[];
|
|
29
|
+
/** The last thing on screen. */
|
|
30
|
+
closing?: string;
|
|
31
|
+
/** Optional music bed under the whole film. */
|
|
32
|
+
music?: string;
|
|
33
|
+
/** How long each page holds (ms). */
|
|
34
|
+
perPageMs?: number;
|
|
35
|
+
/** The opening card (ms). */
|
|
36
|
+
introMs?: number;
|
|
37
|
+
/** The closing card (ms). */
|
|
38
|
+
outroMs?: number;
|
|
39
|
+
/** Cross-fade between pages (ms) — the scrapbook's page turn. */
|
|
40
|
+
xfadeMs?: number;
|
|
41
|
+
/** How far each picture drifts while it holds (0 = still, 1 = a lot). */
|
|
42
|
+
drift?: number;
|
|
43
|
+
/** How far off square a picture is pinned, in degrees. */
|
|
44
|
+
tilt?: number;
|
|
45
|
+
/** The paper the scrapbook is made of. */
|
|
46
|
+
paperColor?: string;
|
|
47
|
+
/** The pen. */
|
|
48
|
+
inkColor?: string;
|
|
49
|
+
/** The one colour that is not paper or ink. */
|
|
50
|
+
accentColor?: string;
|
|
51
|
+
};
|
|
52
|
+
export declare const DEFAULT_PROPS: Required<Omit<ScrapbookProps, "photos" | "notes" | "music">> & {
|
|
53
|
+
photos: string[];
|
|
54
|
+
notes: string[];
|
|
55
|
+
music: string;
|
|
56
|
+
};
|
|
57
|
+
export declare const propsSchema: Record<keyof ScrapbookProps, import("@m0saic/types").MosaicTemplatePropDefinition>;
|
|
58
|
+
export type ResolvedProps = typeof DEFAULT_PROPS;
|
|
59
|
+
/** Merge defaults + fail-fast validation. */
|
|
60
|
+
export declare function resolveProps(props: ScrapbookProps): {
|
|
61
|
+
ok: true;
|
|
62
|
+
value: ResolvedProps;
|
|
63
|
+
} | {
|
|
64
|
+
ok: false;
|
|
65
|
+
errors: string[];
|
|
66
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
title: "A few good years",
|
|
8
|
+
subtitle: "the people who were there",
|
|
9
|
+
photos: [],
|
|
10
|
+
notes: [],
|
|
11
|
+
closing: "more soon",
|
|
12
|
+
music: "",
|
|
13
|
+
perPageMs: 3600,
|
|
14
|
+
introMs: 2200,
|
|
15
|
+
outroMs: 2600,
|
|
16
|
+
xfadeMs: 700,
|
|
17
|
+
drift: 0.18,
|
|
18
|
+
tilt: 2.2,
|
|
19
|
+
paperColor: "#EFE7D8",
|
|
20
|
+
inkColor: "#221E19",
|
|
21
|
+
accentColor: "#C2410C",
|
|
22
|
+
};
|
|
23
|
+
exports.propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
24
|
+
title: { type: "string", required: false, description: "Opening line — a name, usually.", meta: { ui: { label: "Title", order: 1, primary: true } } },
|
|
25
|
+
subtitle: { type: "string", required: false, description: "Under the title: a date range, a place, a dedication.", meta: { ui: { label: "Subtitle", order: 2 } } },
|
|
26
|
+
photos: {
|
|
27
|
+
type: "media[]",
|
|
28
|
+
required: false,
|
|
29
|
+
description: "The pictures, in order. Leave empty to lay the film out with generated stand-in pages and drop real ones in later.",
|
|
30
|
+
meta: { control: { accept: ["image"], picker: "folder", multiple: true }, ui: { label: "Photos", order: 3, primary: true } },
|
|
31
|
+
},
|
|
32
|
+
notes: {
|
|
33
|
+
type: "string[]",
|
|
34
|
+
required: false,
|
|
35
|
+
description: "One line per picture, in the same order. A blank entry leaves that page wordless.",
|
|
36
|
+
meta: { ui: { label: "Notes", order: 4, primary: true } },
|
|
37
|
+
},
|
|
38
|
+
closing: { type: "string", required: false, description: "The last thing on screen.", meta: { ui: { label: "Closing line", order: 5 } } },
|
|
39
|
+
music: {
|
|
40
|
+
type: "media",
|
|
41
|
+
required: false,
|
|
42
|
+
description: "Optional music bed under the whole film.",
|
|
43
|
+
meta: { control: { accept: ["audio"], placeholder: "no music" }, ui: { label: "Music", order: 6 } },
|
|
44
|
+
},
|
|
45
|
+
perPageMs: { type: "number", required: false, description: "How long each page holds (ms).", meta: { constraints: { min: 800, max: 20000 }, ui: { label: "Per page" } } },
|
|
46
|
+
introMs: { type: "number", required: false, description: "The opening card (ms).", meta: { constraints: { min: 0, max: 15000 }, ui: { label: "Opening" } } },
|
|
47
|
+
outroMs: { type: "number", required: false, description: "The closing card (ms).", meta: { constraints: { min: 0, max: 15000 }, ui: { label: "Closing" } } },
|
|
48
|
+
xfadeMs: { type: "number", required: false, description: "Cross-fade between pages (ms) — the page turn.", meta: { constraints: { min: 0, max: 3000 }, ui: { label: "Page turn" } } },
|
|
49
|
+
drift: { type: "number", required: false, description: "How far each picture drifts while it holds. 0 = perfectly still.", meta: { constraints: { min: 0, max: 1 }, ui: { label: "Drift" } } },
|
|
50
|
+
tilt: { type: "number", required: false, description: "How far off square a picture is pinned, in degrees.", meta: { constraints: { min: 0, max: 8 }, ui: { label: "Tilt" } } },
|
|
51
|
+
paperColor: { type: "string", required: false, description: "The paper the scrapbook is made of.", meta: { ui: { label: "Paper" }, constraints: { isColor: true }, control: { colorPicker: true } } },
|
|
52
|
+
inkColor: { type: "string", required: false, description: "The pen.", meta: { ui: { label: "Ink" }, constraints: { isColor: true }, control: { colorPicker: true } } },
|
|
53
|
+
accentColor: { type: "string", required: false, description: "The one colour that is not paper or ink.", meta: { ui: { label: "Accent" }, constraints: { isColor: true }, control: { colorPicker: true } } },
|
|
54
|
+
});
|
|
55
|
+
/** Merge defaults + fail-fast validation. */
|
|
56
|
+
function resolveProps(props) {
|
|
57
|
+
const given = Object.fromEntries(Object.entries(props !== null && props !== void 0 ? props : {}).filter(([, v]) => v !== undefined));
|
|
58
|
+
const v = { ...exports.DEFAULT_PROPS, ...given };
|
|
59
|
+
const errors = [];
|
|
60
|
+
const num = (name, lo, hi) => {
|
|
61
|
+
const n = v[name];
|
|
62
|
+
if (!Number.isFinite(n) || n < lo || n > hi)
|
|
63
|
+
errors.push(`${String(name)} must be ${lo}..${hi} (got ${String(n)})`);
|
|
64
|
+
};
|
|
65
|
+
num("perPageMs", 800, 20000);
|
|
66
|
+
num("introMs", 0, 15000);
|
|
67
|
+
num("outroMs", 0, 15000);
|
|
68
|
+
num("xfadeMs", 0, 3000);
|
|
69
|
+
num("drift", 0, 1);
|
|
70
|
+
num("tilt", 0, 8);
|
|
71
|
+
if (!Array.isArray(v.photos))
|
|
72
|
+
errors.push("photos must be a list");
|
|
73
|
+
if (!Array.isArray(v.notes))
|
|
74
|
+
errors.push("notes must be a list");
|
|
75
|
+
for (const c of ["paperColor", "inkColor", "accentColor"]) {
|
|
76
|
+
if (!/^#[0-9a-fA-F]{6}$/.test(v[c]))
|
|
77
|
+
errors.push(`${c} must be #rrggbb (got "${v[c]}")`);
|
|
78
|
+
}
|
|
79
|
+
return errors.length ? { ok: false, errors } : { ok: true, value: v };
|
|
80
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ScrapbookProps } from "./props";
|
|
2
|
+
/**
|
|
3
|
+
* `@m0saic/story/scrapbook/v1` — a short personal film.
|
|
4
|
+
*
|
|
5
|
+
* A handful of pictures, each with a line in the author's own words, laid
|
|
6
|
+
* down like the pages of a scrapbook: pinned slightly askew on paper,
|
|
7
|
+
* drifting gently, handing over with soft cross-fades, optionally over
|
|
8
|
+
* music. Warm and unhurried.
|
|
9
|
+
*
|
|
10
|
+
* The content arrives later on purpose. With no photos it lays out
|
|
11
|
+
* generated stand-in pages, so the pacing, the tilt, the drift and the
|
|
12
|
+
* words can all be judged before a single real picture exists — then real
|
|
13
|
+
* files replace the stand-ins one for one.
|
|
14
|
+
*
|
|
15
|
+
* It renders as a PIPELINE — a step per page, the same cost whatever the
|
|
16
|
+
* length. A single-document form (which would keep its geometry and could
|
|
17
|
+
* BE a Community M piece) is written and tested in `document.ts` but is NOT
|
|
18
|
+
* offered: it is blocked on an engine defect. See that file.
|
|
19
|
+
*
|
|
20
|
+
* See `props.ts` for the contract this keeps.
|
|
21
|
+
*/
|
|
22
|
+
export declare const ScrapbookV1: import("@m0saic/types").MosaicTemplate<ScrapbookProps, import("@m0saic/types").MosaicTemplateOutputs, import("@m0saic/types").MosaicTemplateUpstreamVariables, import("@m0saic/types").MosaicTemplateUpstreamData, import("@m0saic/types").MosaicTemplateSidecars>;
|
|
23
|
+
export default ScrapbookV1;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScrapbookV1 = void 0;
|
|
4
|
+
const types_1 = require("@m0saic/types");
|
|
5
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
6
|
+
const pages_1 = require("./pages");
|
|
7
|
+
const pipeline_1 = require("./pipeline");
|
|
8
|
+
const props_1 = require("./props");
|
|
9
|
+
/**
|
|
10
|
+
* `@m0saic/story/scrapbook/v1` — a short personal film.
|
|
11
|
+
*
|
|
12
|
+
* A handful of pictures, each with a line in the author's own words, laid
|
|
13
|
+
* down like the pages of a scrapbook: pinned slightly askew on paper,
|
|
14
|
+
* drifting gently, handing over with soft cross-fades, optionally over
|
|
15
|
+
* music. Warm and unhurried.
|
|
16
|
+
*
|
|
17
|
+
* The content arrives later on purpose. With no photos it lays out
|
|
18
|
+
* generated stand-in pages, so the pacing, the tilt, the drift and the
|
|
19
|
+
* words can all be judged before a single real picture exists — then real
|
|
20
|
+
* files replace the stand-ins one for one.
|
|
21
|
+
*
|
|
22
|
+
* It renders as a PIPELINE — a step per page, the same cost whatever the
|
|
23
|
+
* length. A single-document form (which would keep its geometry and could
|
|
24
|
+
* BE a Community M piece) is written and tested in `document.ts` but is NOT
|
|
25
|
+
* offered: it is blocked on an engine defect. See that file.
|
|
26
|
+
*
|
|
27
|
+
* See `props.ts` for the contract this keeps.
|
|
28
|
+
*/
|
|
29
|
+
exports.ScrapbookV1 = (0, template_utils_1.defineMosaicTemplate)({
|
|
30
|
+
id: (0, types_1.asTemplateId)("@m0saic/story/scrapbook/v1"),
|
|
31
|
+
label: "Scrapbook",
|
|
32
|
+
version: 1,
|
|
33
|
+
description: "A short personal film: a few pictures, a line each, pinned askew on paper and drifting past to music. Lays itself out with stand-in pages until your own photos arrive.",
|
|
34
|
+
capabilities: { tier: "core" },
|
|
35
|
+
tags: ["story", "personal", "photos", "animated", "creators", "social", "memories", "photo-album"],
|
|
36
|
+
outputHints: {
|
|
37
|
+
width: 1920,
|
|
38
|
+
height: 1080,
|
|
39
|
+
fps: 30,
|
|
40
|
+
durationMs: (0, pipeline_1.naturalDurationMs)(props_1.DEFAULT_PROPS, pages_1.STAND_IN_PAGES),
|
|
41
|
+
note: "Length follows the page count: opening + per-page × pictures + closing.",
|
|
42
|
+
format: { kind: "video", container: "mp4" },
|
|
43
|
+
},
|
|
44
|
+
propsSchema: props_1.propsSchema,
|
|
45
|
+
defaultProps: props_1.DEFAULT_PROPS,
|
|
46
|
+
render(props, ctx) {
|
|
47
|
+
const width = ctx.output.width;
|
|
48
|
+
const height = ctx.output.height;
|
|
49
|
+
const fps = ctx.target.fps;
|
|
50
|
+
const fail = (title, message) => Promise.resolve((0, template_utils_1.makeErrorMosaic)(message, { title: `${this.id} ${title}`, width, height }));
|
|
51
|
+
const rp = (0, props_1.resolveProps)(props);
|
|
52
|
+
if (!rp.ok)
|
|
53
|
+
return fail("props", rp.errors.join(" | "));
|
|
54
|
+
const p = rp.value;
|
|
55
|
+
if (Math.min(width, height) < 320)
|
|
56
|
+
return fail("canvas", `canvas too small: the short side must be at least 320 px (got ${width}×${height})`);
|
|
57
|
+
const pages = (0, pages_1.resolvePages)(p);
|
|
58
|
+
if (pages.length === 0)
|
|
59
|
+
return fail("pages", "no pages to show");
|
|
60
|
+
// A pinned length re-paces the film rather than cutting it off: the
|
|
61
|
+
// pages share whatever is left after the two cards.
|
|
62
|
+
const pinned = (0, template_utils_1.resolvePinnedDurationMs)(ctx);
|
|
63
|
+
const paced = { ...p };
|
|
64
|
+
if (pinned !== undefined) {
|
|
65
|
+
const forPages = Math.round(pinned) - Math.round(p.introMs) - Math.round(p.outroMs);
|
|
66
|
+
const perPage = Math.floor(forPages / pages.length);
|
|
67
|
+
if (perPage < 400)
|
|
68
|
+
return fail("duration", `pinned duration ${Math.round(pinned)} ms leaves under 400 ms a page for ${pages.length} pages`);
|
|
69
|
+
paced.perPageMs = perPage;
|
|
70
|
+
// Absorb the rounding into the closing card so the total is exact.
|
|
71
|
+
paced.outroMs = Math.round(pinned) - Math.round(p.introMs) - perPage * pages.length;
|
|
72
|
+
}
|
|
73
|
+
return Promise.resolve((0, pipeline_1.buildScrapbookPipeline)({ width, height, fps, props: paced, pages }));
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
(0, template_utils_1.registerTemplate)(exports.ScrapbookV1);
|
|
77
|
+
exports.default = exports.ScrapbookV1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./v1";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./v1"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The m0saic brand 'M' mark as a single-colour SVG silhouette, sourced from the
|
|
3
|
+
* canonical asset `apps/mosaic/assets/brand/mosaic-m.svg` (33 mosaic
|
|
4
|
+
* tiles combined into one mask path). TODO: hoist to a shared brand-glyph module.
|
|
5
|
+
*/
|
|
6
|
+
export declare const BRAND_M_GLYPH: {
|
|
7
|
+
bounds: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
};
|
|
13
|
+
path: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BRAND_M_GLYPH = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* The m0saic brand 'M' mark as a single-colour SVG silhouette, sourced from the
|
|
6
|
+
* canonical asset `apps/mosaic/assets/brand/mosaic-m.svg` (33 mosaic
|
|
7
|
+
* tiles combined into one mask path). TODO: hoist to a shared brand-glyph module.
|
|
8
|
+
*/
|
|
9
|
+
exports.BRAND_M_GLYPH = {
|
|
10
|
+
bounds: { x: 0, y: 0, width: 272, height: 272 },
|
|
11
|
+
path: "M19.7296 0.010376H0.0599976V48.117H19.7296V0.010376Z M34.9327 55.9604H0V104.067H34.9327V55.9604Z M62.2438 111.931H34.9327V160.038H62.2438V111.931Z M27.3212 111.931H0V160.038H27.3212V111.931Z M34.9327 167.912H0V216.019H34.9327V167.912Z M62.1336 223.893H27.3712V272H62.1336V223.893Z M19.7197 223.893H0.0100098V272H19.7197V223.893Z M131.799 111.931H103.496V160.038H131.799V111.931Z M174.503 56.0122L163.737 55.9915L139.49 89.6651V104.088L174.503 104.119V56.0122Z M118.248 104.067H131.799V89.52L107.582 55.9604H69.675V104.067H115.614H118.248Z M91.3477 33.9223L69.675 3.38805V48.1067H101.924L91.3477 33.9223Z M180.422 32.8758L169.886 48.1067H180.051H181.574H201.754V3.34662L180.422 32.9172V32.8758Z M139.49 160.069H165.81L200.512 111.962H139.49V160.069Z M95.8845 148.278L95.8946 111.931H69.675L95.8845 148.278Z M135.054 202.612L160.151 167.912L110.036 167.902L135.054 202.612Z M62.1738 55.9604H42.5742V75.6776H62.1738V55.9604Z M62.1738 83.5313H42.5742V104.057H62.1738V83.5313Z M182.185 104.088L201.714 104.067V55.9604L182.185 55.9915V104.088Z M62.1837 0.010376H27.3312V48.117H62.1837V0.010376Z M62.0736 167.912H42.5141V187.629H62.0736V167.912Z M62.0736 195.494H42.5141V216.019H62.0736V195.494Z M271.95 223.883H252.28V271.99H271.95V223.883Z M272 167.933H237.067V216.04H272V167.933Z M237.067 111.952H209.756V160.059H237.067V111.952Z M272 111.952H244.679V160.059H272V111.952Z M272 55.9707H237.067V104.077H272V55.9707Z M244.629 0H209.866V48.1067H244.629V0Z M271.99 0H252.28V48.1067H271.99V0Z M229.426 196.322H209.826V216.04H229.426V196.322Z M229.426 167.933H209.826V188.458H229.426V167.933Z M244.679 223.883H209.826V271.99H244.679V223.883Z M229.486 84.3602H209.926V104.077H229.486V84.3602Z M229.486 55.9707H209.926V76.4961H229.486V55.9707Z",
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.resolveTheme = exports.DEFAULT_THEME_PRESET = exports.DEFAULT_THEME_MODE = exports.THEME_MODES = exports.THEME_PRESETS = exports.M0SAIC_BRAND = exports.default = exports.Theming = void 0;
|
|
7
|
+
var theming_1 = require("./theming");
|
|
8
|
+
Object.defineProperty(exports, "Theming", { enumerable: true, get: function () { return theming_1.Theming; } });
|
|
9
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(theming_1).default; } });
|
|
10
|
+
var theme_tokens_1 = require("./theme-tokens");
|
|
11
|
+
Object.defineProperty(exports, "M0SAIC_BRAND", { enumerable: true, get: function () { return theme_tokens_1.M0SAIC_BRAND; } });
|
|
12
|
+
Object.defineProperty(exports, "THEME_PRESETS", { enumerable: true, get: function () { return theme_tokens_1.THEME_PRESETS; } });
|
|
13
|
+
Object.defineProperty(exports, "THEME_MODES", { enumerable: true, get: function () { return theme_tokens_1.THEME_MODES; } });
|
|
14
|
+
Object.defineProperty(exports, "DEFAULT_THEME_MODE", { enumerable: true, get: function () { return theme_tokens_1.DEFAULT_THEME_MODE; } });
|
|
15
|
+
Object.defineProperty(exports, "DEFAULT_THEME_PRESET", { enumerable: true, get: function () { return theme_tokens_1.DEFAULT_THEME_PRESET; } });
|
|
16
|
+
Object.defineProperty(exports, "resolveTheme", { enumerable: true, get: function () { return theme_tokens_1.resolveTheme; } });
|