@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,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.alignedPhotoRect = alignedPhotoRect;
|
|
4
|
+
exports.roundRect = roundRect;
|
|
5
|
+
exports.zoomFitCap = zoomFitCap;
|
|
6
|
+
exports.pieceBeatBudget = pieceBeatBudget;
|
|
7
|
+
exports.pieceAxisFor = pieceAxisFor;
|
|
8
|
+
exports.zoomPartitionCap = zoomPartitionCap;
|
|
9
|
+
exports.assertPieceBeatDisjoint = assertPieceBeatDisjoint;
|
|
10
|
+
exports.pieceBeatLayout = pieceBeatLayout;
|
|
11
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
12
|
+
/** Where the tile's whole source image sits on the frame once the camera is parked at `zoom` (frame px, unrounded). */
|
|
13
|
+
function alignedPhotoRect(o) {
|
|
14
|
+
const Z = o.zoom;
|
|
15
|
+
const fx = (o.tile.x + o.tile.width / 2) / o.stageW;
|
|
16
|
+
const fy = (o.tile.y + o.tile.height / 2) / o.stageH;
|
|
17
|
+
const cx = Z > 1 ? o.stageW * (Z - 1) * (0, template_utils_1.centerFocus)(fx, Z) : 0;
|
|
18
|
+
const cy = Z > 1 ? o.stageH * (Z - 1) * (0, template_utils_1.centerFocus)(fy, Z) : 0;
|
|
19
|
+
const s = Math.max(o.tile.width / o.image.width, o.tile.height / o.image.height);
|
|
20
|
+
const sw = o.image.width * s;
|
|
21
|
+
const sh = o.image.height * s;
|
|
22
|
+
const ox = (sw - o.tile.width) * o.focus.x;
|
|
23
|
+
const oy = (sh - o.tile.height) * o.focus.y;
|
|
24
|
+
return { x: (o.tile.x - ox) * Z - cx, y: (o.tile.y - oy) * Z - cy, width: sw * Z, height: sh * Z };
|
|
25
|
+
}
|
|
26
|
+
/** Round a frame rect to whole pixels (even sides keep chroma happy). */
|
|
27
|
+
function roundRect(r) {
|
|
28
|
+
const width = Math.max(2, Math.round(r.width / 2) * 2);
|
|
29
|
+
const height = Math.max(2, Math.round(r.height / 2) * 2);
|
|
30
|
+
return { x: Math.round(r.x), y: Math.round(r.y), width, height };
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The largest zoom ≤ `maxZoom` at which the whole original fits inside the
|
|
34
|
+
* stage with `margin` px of air on every side (so the reveal can show all
|
|
35
|
+
* of it without moving). Monotone in Z → bisection; never below `minZoom`.
|
|
36
|
+
*
|
|
37
|
+
* Kept for callers that only need the stage fit; the provenance pipeline
|
|
38
|
+
* uses `zoomPartitionCap`, which adds the piece-beat partition.
|
|
39
|
+
*/
|
|
40
|
+
function zoomFitCap(o) {
|
|
41
|
+
var _a, _b;
|
|
42
|
+
const minZoom = (_a = o.minZoom) !== null && _a !== void 0 ? _a : 1.02;
|
|
43
|
+
const fits = (Z) => {
|
|
44
|
+
const r = alignedPhotoRect({ ...o, zoom: Z });
|
|
45
|
+
return r.x >= o.margin && r.y >= o.margin && r.x + r.width <= o.stageW - o.margin && r.y + r.height <= o.stageH - o.margin;
|
|
46
|
+
};
|
|
47
|
+
return (_b = largestZoom(fits, minZoom, o.maxZoom)) !== null && _b !== void 0 ? _b : minZoom;
|
|
48
|
+
}
|
|
49
|
+
/** Margins, gap and floors for a frame: everything the partition needs. */
|
|
50
|
+
function pieceBeatBudget(frameW, frameH) {
|
|
51
|
+
const margin = Math.round(Math.min(frameW, frameH) * 0.045);
|
|
52
|
+
const gap = margin;
|
|
53
|
+
const pieceMinW = Math.round(frameW * 0.3);
|
|
54
|
+
const pieceMinH = Math.round(frameH * 0.3);
|
|
55
|
+
return {
|
|
56
|
+
margin,
|
|
57
|
+
gap,
|
|
58
|
+
pieceMinW,
|
|
59
|
+
pieceMinH,
|
|
60
|
+
photoMaxW: frameW - 2 * margin - gap - pieceMinW,
|
|
61
|
+
photoMaxH: frameH - 2 * margin - gap - pieceMinH,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
/** Which axis a photo of this size can share the frame on; null = neither (the cap prevents this). */
|
|
65
|
+
function pieceAxisFor(photo, b) {
|
|
66
|
+
const x = photo.width <= b.photoMaxW;
|
|
67
|
+
const y = photo.height <= b.photoMaxH;
|
|
68
|
+
if (x && y)
|
|
69
|
+
return photo.width / b.photoMaxW <= photo.height / b.photoMaxH ? "x" : "y";
|
|
70
|
+
if (x)
|
|
71
|
+
return "x";
|
|
72
|
+
if (y)
|
|
73
|
+
return "y";
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
/** Largest Z in [minZoom, maxZoom] with pred(Z) true; pred must be monotone (true below some Z, false above). */
|
|
77
|
+
function largestZoom(pred, minZoom, maxZoom) {
|
|
78
|
+
if (pred(maxZoom))
|
|
79
|
+
return maxZoom;
|
|
80
|
+
if (!pred(minZoom))
|
|
81
|
+
return null;
|
|
82
|
+
let lo = minZoom, hi = maxZoom;
|
|
83
|
+
for (let i = 0; i < 40; i++) {
|
|
84
|
+
const mid = (lo + hi) / 2;
|
|
85
|
+
if (pred(mid))
|
|
86
|
+
lo = mid;
|
|
87
|
+
else
|
|
88
|
+
hi = mid;
|
|
89
|
+
}
|
|
90
|
+
return Math.floor(lo * 1000) / 1000;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The zoom for the whole reveal → piece → return arc: the largest Z ≤
|
|
94
|
+
* `maxZoom` at which the original (a) fits inside the stage with `margin`
|
|
95
|
+
* of air (the reveal shows all of it without moving) AND (b) leaves the
|
|
96
|
+
* piece its floor on SOME axis. Every photo dimension grows with Z, so both
|
|
97
|
+
* are monotone and the largest Z on the better axis is the answer. When the
|
|
98
|
+
* stage fit alone is impossible even at `minZoom` (a very tall original in
|
|
99
|
+
* a small tile) it is tolerated exactly as before — the original overflows
|
|
100
|
+
* the frame edge — but the partition is never given up: the pinned
|
|
101
|
+
* dimension is bounded by the tile, so an axis always exists.
|
|
102
|
+
*/
|
|
103
|
+
function zoomPartitionCap(o) {
|
|
104
|
+
var _a, _b, _c;
|
|
105
|
+
const minZoom = (_a = o.minZoom) !== null && _a !== void 0 ? _a : 1.02;
|
|
106
|
+
const b = pieceBeatBudget(o.frameW, o.frameH);
|
|
107
|
+
const rectAt = (Z) => alignedPhotoRect({ ...o, zoom: Z });
|
|
108
|
+
const fitsStage = (r) => r.x >= o.margin && r.y >= o.margin && r.x + r.width <= o.stageW - o.margin && r.y + r.height <= o.stageH - o.margin;
|
|
109
|
+
const onX = (r) => r.width <= b.photoMaxW;
|
|
110
|
+
const onY = (r) => r.height <= b.photoMaxH;
|
|
111
|
+
const best = (extra) => {
|
|
112
|
+
const zx = largestZoom((Z) => { const r = rectAt(Z); return extra(r) && onX(r); }, minZoom, o.maxZoom);
|
|
113
|
+
const zy = largestZoom((Z) => { const r = rectAt(Z); return extra(r) && onY(r); }, minZoom, o.maxZoom);
|
|
114
|
+
if (zx === null && zy === null)
|
|
115
|
+
return null;
|
|
116
|
+
return Math.max(zx !== null && zx !== void 0 ? zx : -Infinity, zy !== null && zy !== void 0 ? zy : -Infinity);
|
|
117
|
+
};
|
|
118
|
+
return (_c = (_b = best(fitsStage)) !== null && _b !== void 0 ? _b : best(() => true)) !== null && _c !== void 0 ? _c : minZoom;
|
|
119
|
+
}
|
|
120
|
+
/** Throws unless the two rects are separated by at least `gap` on the partition axis. */
|
|
121
|
+
function assertPieceBeatDisjoint(axis, parked, piece, gap) {
|
|
122
|
+
const ok = axis === "x" ? piece.x >= parked.x + parked.width + gap : piece.y >= parked.y + parked.height + gap;
|
|
123
|
+
if (!ok) {
|
|
124
|
+
throw new Error(`community-m: piece-beat layout contract violated on axis ${axis} — parked photo ${JSON.stringify(parked)} vs piece ${JSON.stringify(piece)} (gap ${gap}). This is a bug in the zoom cap, not the inputs.`);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The piece beat's geometry. The photo keeps its size; the piece is
|
|
129
|
+
* contain-fit into the remainder on the chosen axis. Throws when neither
|
|
130
|
+
* axis has room — which `zoomPartitionCap` makes unreachable; the throw is
|
|
131
|
+
* the contract, not a code path.
|
|
132
|
+
*/
|
|
133
|
+
function pieceBeatLayout(o) {
|
|
134
|
+
const b = pieceBeatBudget(o.frameW, o.frameH);
|
|
135
|
+
const axis = pieceAxisFor(o.photo, b);
|
|
136
|
+
if (axis === null) {
|
|
137
|
+
throw new Error(`community-m: the parked original (${o.photo.width}×${o.photo.height}) leaves the contributor canvas no room on a ${o.frameW}×${o.frameH} frame (needs width ≤ ${b.photoMaxW} or height ≤ ${b.photoMaxH}); the zoom cap must run first.`);
|
|
138
|
+
}
|
|
139
|
+
const parked = axis === "x" ? { ...o.photo, x: b.margin } : { ...o.photo, y: b.margin };
|
|
140
|
+
// The remainder past the gap — by construction on the far side of the photo.
|
|
141
|
+
const area = axis === "x"
|
|
142
|
+
? { x: parked.x + parked.width + b.gap, y: b.margin, width: o.frameW - b.margin - (parked.x + parked.width + b.gap), height: o.frameH - 2 * b.margin }
|
|
143
|
+
: { x: b.margin, y: parked.y + parked.height + b.gap, width: o.frameW - 2 * b.margin, height: o.frameH - b.margin - (parked.y + parked.height + b.gap) };
|
|
144
|
+
const scale = Math.min(area.width / o.piece.width, area.height / o.piece.height);
|
|
145
|
+
const width = Math.max(2, Math.floor((o.piece.width * scale) / 2) * 2);
|
|
146
|
+
const height = Math.max(2, Math.floor((o.piece.height * scale) / 2) * 2);
|
|
147
|
+
const pieceRect = {
|
|
148
|
+
x: area.x + Math.round((area.width - width) / 2),
|
|
149
|
+
y: area.y + Math.round((area.height - height) / 2),
|
|
150
|
+
width,
|
|
151
|
+
height,
|
|
152
|
+
};
|
|
153
|
+
assertPieceBeatDisjoint(axis, parked, pieceRect, b.gap);
|
|
154
|
+
return { axis, parked, parkedX: parked.x, parkedY: parked.y, dx: parked.x - o.photo.x, dy: parked.y - o.photo.y, pieceRect, gap: b.gap };
|
|
155
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { MosaicDocument } from "@m0saic/types";
|
|
2
|
+
/**
|
|
3
|
+
* The founder's piece for the root tile of Community M #001 — the seed
|
|
4
|
+
* `ms/001/root/piece.mosaic`, the canvas that pops in beside the original
|
|
5
|
+
* in the provenance video and the reference every contributor copies.
|
|
6
|
+
*
|
|
7
|
+
* "Mosaic itself — the first contribution": the M assembles from its own
|
|
8
|
+
* 26 rectangles (dormant grey flying in and turning the accent, the
|
|
9
|
+
* hello-world assembly); the 7 V-leg pieces drawbox cannot draw FADE in as
|
|
10
|
+
* the last rects land (never a snap — the founder's note, 2026-09-16);
|
|
11
|
+
* then the line rises in: one tile, forever.
|
|
12
|
+
*
|
|
13
|
+
* DATA ONLY, like any contributor's piece (`validateCommunityPiece`): a
|
|
14
|
+
* colour surface, drawbox tracks, one masked colour tile, one svg text
|
|
15
|
+
* layer. No media, no assets. Regenerate the committed file with
|
|
16
|
+
* `node dist/m0saic/brand/community-m/v1/gen-seed-piece.js`; the test pins
|
|
17
|
+
* the committed bytes to this builder so the two cannot drift.
|
|
18
|
+
*/
|
|
19
|
+
/** Square canvas — the same navy / accent / ink the harness renders at defaults. */
|
|
20
|
+
export declare const SEED_PIECE_SIDE = 1080;
|
|
21
|
+
export declare const SEED_PIECE_DURATION_MS = 4000;
|
|
22
|
+
export declare const SEED_PIECE_FPS = 30;
|
|
23
|
+
export declare const SEED_PIECE_LINE = "one tile, forever";
|
|
24
|
+
/** The beats, in piece seconds (the harness pops the canvas in over its first ~0.45 s). */
|
|
25
|
+
export declare const SEED_PIECE_TIMELINE: {
|
|
26
|
+
readonly assembleStart: 0.4;
|
|
27
|
+
readonly assembleDur: 1;
|
|
28
|
+
/** The V-legs fade in (smoothstep) while the last rects settle — starting
|
|
29
|
+
* before the assembly lands (1.4 s), so the M completes in one motion
|
|
30
|
+
* (founder, 2026-09-16: at 1.25 s the legs registered as late). */
|
|
31
|
+
readonly legsStart: 1.05;
|
|
32
|
+
readonly legsDur: 0.6;
|
|
33
|
+
readonly lineStart: 1.9;
|
|
34
|
+
readonly lineDur: 0.5;
|
|
35
|
+
};
|
|
36
|
+
type Rect = {
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
w: number;
|
|
40
|
+
h: number;
|
|
41
|
+
};
|
|
42
|
+
/** Layout: the M over the line, centred, a hair above the middle. */
|
|
43
|
+
export declare function seedPieceLayout(S?: number): {
|
|
44
|
+
mark: Rect;
|
|
45
|
+
line: Rect;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* The 7 diagonal V-leg pieces of the brand M — every subpath of the
|
|
49
|
+
* silhouette whose box is NOT one of the 26 rects the assembly draws (a
|
|
50
|
+
* rect can be drawn with `L` segments, so the test is geometric).
|
|
51
|
+
*/
|
|
52
|
+
export declare function mLegPaths(): string[];
|
|
53
|
+
/** The seed piece as a document — pure; the same bytes every call. */
|
|
54
|
+
export declare function buildSeedPiece(): MosaicDocument;
|
|
55
|
+
/** The committed file's exact text: 2-space JSON + trailing newline. */
|
|
56
|
+
export declare function seedPieceJson(): string;
|
|
57
|
+
export {};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SEED_PIECE_TIMELINE = exports.SEED_PIECE_LINE = exports.SEED_PIECE_FPS = exports.SEED_PIECE_DURATION_MS = exports.SEED_PIECE_SIDE = void 0;
|
|
4
|
+
exports.seedPieceLayout = seedPieceLayout;
|
|
5
|
+
exports.mLegPaths = mLegPaths;
|
|
6
|
+
exports.buildSeedPiece = buildSeedPiece;
|
|
7
|
+
exports.seedPieceJson = seedPieceJson;
|
|
8
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
9
|
+
/**
|
|
10
|
+
* The founder's piece for the root tile of Community M #001 — the seed
|
|
11
|
+
* `ms/001/root/piece.mosaic`, the canvas that pops in beside the original
|
|
12
|
+
* in the provenance video and the reference every contributor copies.
|
|
13
|
+
*
|
|
14
|
+
* "Mosaic itself — the first contribution": the M assembles from its own
|
|
15
|
+
* 26 rectangles (dormant grey flying in and turning the accent, the
|
|
16
|
+
* hello-world assembly); the 7 V-leg pieces drawbox cannot draw FADE in as
|
|
17
|
+
* the last rects land (never a snap — the founder's note, 2026-09-16);
|
|
18
|
+
* then the line rises in: one tile, forever.
|
|
19
|
+
*
|
|
20
|
+
* DATA ONLY, like any contributor's piece (`validateCommunityPiece`): a
|
|
21
|
+
* colour surface, drawbox tracks, one masked colour tile, one svg text
|
|
22
|
+
* layer. No media, no assets. Regenerate the committed file with
|
|
23
|
+
* `node dist/m0saic/brand/community-m/v1/gen-seed-piece.js`; the test pins
|
|
24
|
+
* the committed bytes to this builder so the two cannot drift.
|
|
25
|
+
*/
|
|
26
|
+
/** Square canvas — the same navy / accent / ink the harness renders at defaults. */
|
|
27
|
+
exports.SEED_PIECE_SIDE = 1080;
|
|
28
|
+
exports.SEED_PIECE_DURATION_MS = 4000;
|
|
29
|
+
exports.SEED_PIECE_FPS = 30;
|
|
30
|
+
exports.SEED_PIECE_LINE = "one tile, forever";
|
|
31
|
+
const CANVAS = "#0E1220";
|
|
32
|
+
const ACCENT = "#f97316";
|
|
33
|
+
const DORMANT = "#34343A";
|
|
34
|
+
const INK = "#F4F4F5";
|
|
35
|
+
/** The beats, in piece seconds (the harness pops the canvas in over its first ~0.45 s). */
|
|
36
|
+
exports.SEED_PIECE_TIMELINE = {
|
|
37
|
+
assembleStart: 0.4,
|
|
38
|
+
assembleDur: 1.0,
|
|
39
|
+
/** The V-legs fade in (smoothstep) while the last rects settle — starting
|
|
40
|
+
* before the assembly lands (1.4 s), so the M completes in one motion
|
|
41
|
+
* (founder, 2026-09-16: at 1.25 s the legs registered as late). */
|
|
42
|
+
legsStart: 1.05,
|
|
43
|
+
legsDur: 0.6,
|
|
44
|
+
lineStart: 1.9,
|
|
45
|
+
lineDur: 0.5,
|
|
46
|
+
};
|
|
47
|
+
/** Layout: the M over the line, centred, a hair above the middle. */
|
|
48
|
+
function seedPieceLayout(S = exports.SEED_PIECE_SIDE) {
|
|
49
|
+
const side = Math.round(S * 0.54);
|
|
50
|
+
const mark = { x: Math.round((S - side) / 2), y: Math.round(S * 0.139), w: side, h: side };
|
|
51
|
+
const lineH = Math.round(S * 0.118);
|
|
52
|
+
const line = { x: Math.round(S * 0.074), y: Math.round(S * 0.737), w: S - 2 * Math.round(S * 0.074), h: lineH };
|
|
53
|
+
return { mark, line };
|
|
54
|
+
}
|
|
55
|
+
/** Bounding box of one absolute M/L/H/V/Z subpath of the silhouette (272-space). */
|
|
56
|
+
function subpathBBox(d) {
|
|
57
|
+
var _a;
|
|
58
|
+
const tokens = (_a = d.match(/[MLHVZ]|-?\d*\.?\d+(?:e-?\d+)?/gi)) !== null && _a !== void 0 ? _a : [];
|
|
59
|
+
let cmd = "M", x = 0, y = 0, pending = null;
|
|
60
|
+
let minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;
|
|
61
|
+
const mark = () => { minX = Math.min(minX, x); maxX = Math.max(maxX, x); minY = Math.min(minY, y); maxY = Math.max(maxY, y); };
|
|
62
|
+
for (const tok of tokens) {
|
|
63
|
+
if (/^[MLHVZ]$/i.test(tok)) {
|
|
64
|
+
cmd = tok.toUpperCase();
|
|
65
|
+
pending = null;
|
|
66
|
+
continue;
|
|
67
|
+
}
|
|
68
|
+
const n = Number(tok);
|
|
69
|
+
if (cmd === "H") {
|
|
70
|
+
x = n;
|
|
71
|
+
mark();
|
|
72
|
+
}
|
|
73
|
+
else if (cmd === "V") {
|
|
74
|
+
y = n;
|
|
75
|
+
mark();
|
|
76
|
+
}
|
|
77
|
+
else if (pending === null)
|
|
78
|
+
pending = n;
|
|
79
|
+
else {
|
|
80
|
+
x = pending;
|
|
81
|
+
y = n;
|
|
82
|
+
pending = null;
|
|
83
|
+
mark();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return { x: minX, y: minY, w: maxX - minX, h: maxY - minY };
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The 7 diagonal V-leg pieces of the brand M — every subpath of the
|
|
90
|
+
* silhouette whose box is NOT one of the 26 rects the assembly draws (a
|
|
91
|
+
* rect can be drawn with `L` segments, so the test is geometric).
|
|
92
|
+
*/
|
|
93
|
+
function mLegPaths() {
|
|
94
|
+
const isRect = (b) => template_utils_1.M_RECTS.some(([x, y, w, h]) => Math.abs(b.x - x) < 0.25 && Math.abs(b.y - y) < 0.25 && Math.abs(b.w - w) < 0.25 && Math.abs(b.h - h) < 0.25);
|
|
95
|
+
return template_utils_1.HEADER_M_GLYPH.path.split(/(?=M)/).map((d) => d.trim()).filter((d) => d && !isRect(subpathBBox(d)));
|
|
96
|
+
}
|
|
97
|
+
const r3 = (n) => Number(n.toFixed(3));
|
|
98
|
+
function ramp(atSec, durSec) {
|
|
99
|
+
return (0, template_utils_1.easingExpr)("easeOut", (0, template_utils_1.progressExpr)(r3(atSec), Math.max(0.001, r3(durSec))));
|
|
100
|
+
}
|
|
101
|
+
/** Fade in place — a gentle smoothstep, no onset the eye reads as a pop. */
|
|
102
|
+
function fadeIn(atSec, durSec) {
|
|
103
|
+
return { alpha: (0, template_utils_1.easingExpr)("smoothstep", (0, template_utils_1.progressExpr)(r3(atSec), Math.max(0.001, r3(durSec)))), startAtSec: r3(atSec), window: { startSec: r3(atSec) } };
|
|
104
|
+
}
|
|
105
|
+
/** Rise in from `dyPx` below while fading up. */
|
|
106
|
+
function riseIn(atSec, durSec, dyPx) {
|
|
107
|
+
const p = ramp(atSec, durSec);
|
|
108
|
+
return { alpha: p, yExpr: `(1-${p})*${dyPx}`, startAtSec: r3(atSec), window: { startSec: r3(atSec) } };
|
|
109
|
+
}
|
|
110
|
+
/** The seed piece as a document — pure; the same bytes every call. */
|
|
111
|
+
function buildSeedPiece() {
|
|
112
|
+
const S = exports.SEED_PIECE_SIDE;
|
|
113
|
+
const t = exports.SEED_PIECE_TIMELINE;
|
|
114
|
+
const { mark, line } = seedPieceLayout(S);
|
|
115
|
+
const full = { x: 0, y: 0, w: S, h: S };
|
|
116
|
+
const assembly = (0, template_utils_1.markAssembly)({
|
|
117
|
+
W: S,
|
|
118
|
+
H: S,
|
|
119
|
+
S,
|
|
120
|
+
mark,
|
|
121
|
+
startSec: t.assembleStart,
|
|
122
|
+
durSec: t.assembleDur,
|
|
123
|
+
fps: exports.SEED_PIECE_FPS,
|
|
124
|
+
fromColor: DORMANT,
|
|
125
|
+
toColor: ACCENT,
|
|
126
|
+
});
|
|
127
|
+
const legs = { bounds: template_utils_1.HEADER_M_GLYPH.bounds, path: mLegPaths().join(" ") };
|
|
128
|
+
const pieces = [
|
|
129
|
+
{ rect: { ...full, importance: 0 }, source: (0, template_utils_1.makeColorTile)(CANVAS) },
|
|
130
|
+
...(0, template_utils_1.assemblyTracks)(assembly.boxes, ACCENT).map((source, i) => ({ rect: { ...full, importance: 1 + i }, source })),
|
|
131
|
+
{ rect: { ...mark, importance: 10 }, source: { ...(0, template_utils_1.brandGlyphTile)(legs, ACCENT), overlay: fadeIn(t.legsStart, t.legsDur) } },
|
|
132
|
+
{
|
|
133
|
+
rect: { ...line, importance: 11 },
|
|
134
|
+
source: { ...(0, template_utils_1.svgLabel)(exports.SEED_PIECE_LINE, line.w, line.h, { color: INK, maxPx: Math.round(S * 0.07), maxLines: 1 }), overlay: riseIn(t.lineStart, t.lineDur, Math.round(S * 0.03)) },
|
|
135
|
+
},
|
|
136
|
+
];
|
|
137
|
+
const placed = (0, template_utils_1.placeInsetPieces)({ rootW: S, rootH: S, pieces });
|
|
138
|
+
return {
|
|
139
|
+
kind: "mosaic_document",
|
|
140
|
+
version: 1,
|
|
141
|
+
m0: placed.m0,
|
|
142
|
+
size: { width: S, height: S },
|
|
143
|
+
fps: exports.SEED_PIECE_FPS,
|
|
144
|
+
durationMs: exports.SEED_PIECE_DURATION_MS,
|
|
145
|
+
backgroundColor: CANVAS,
|
|
146
|
+
assets: {},
|
|
147
|
+
sources: placed.sources,
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
/** The committed file's exact text: 2-space JSON + trailing newline. */
|
|
151
|
+
function seedPieceJson() {
|
|
152
|
+
return JSON.stringify(buildSeedPiece(), null, 2) + "\n";
|
|
153
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { CommunityMEntry, CommunityMManifest, CommunityMSlot } from "@m0saic/types";
|
|
2
|
+
import type { ClaimImage, MarkClaim } from "./mark";
|
|
3
|
+
import { type PreviewOptions, type PreviewPhoto } from "./preview";
|
|
4
|
+
import type { ResolvedPreview } from "./props";
|
|
5
|
+
/**
|
|
6
|
+
* Everything the harness needs about ONE tile of ONE Community M, with no
|
|
7
|
+
* filesystem in sight. The node entry hands it real file paths; the browser
|
|
8
|
+
* entry hands it nothing and every picture becomes a stand-in.
|
|
9
|
+
*/
|
|
10
|
+
export type ProvenanceTarget = {
|
|
11
|
+
manifest: CommunityMManifest;
|
|
12
|
+
entry: CommunityMEntry;
|
|
13
|
+
/** The slot the video is about (a contributor claim, the root award, or a stood-up preview). */
|
|
14
|
+
slot: CommunityMSlot;
|
|
15
|
+
/** The slot's tile picture, or null when there is no readable file for it. */
|
|
16
|
+
tileImage: ClaimImage | null;
|
|
17
|
+
/** Tile index → picture + slot for every claim the M shows (per `asOf`). */
|
|
18
|
+
claimedTiles: Map<number, {
|
|
19
|
+
image: ClaimImage;
|
|
20
|
+
slot: CommunityMSlot;
|
|
21
|
+
}>;
|
|
22
|
+
/** Whether the root reads as awarded in this view. */
|
|
23
|
+
rootShown: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* True when nobody has claimed this slot and the dev preview stood it up
|
|
26
|
+
* anyway: the picture and the canvas are generated, not read from the repo.
|
|
27
|
+
*/
|
|
28
|
+
synthetic: boolean;
|
|
29
|
+
};
|
|
30
|
+
export type BuildTargetResult = {
|
|
31
|
+
ok: true;
|
|
32
|
+
target: ProvenanceTarget;
|
|
33
|
+
} | {
|
|
34
|
+
ok: false;
|
|
35
|
+
error: string;
|
|
36
|
+
};
|
|
37
|
+
export type BuildTargetOptions = {
|
|
38
|
+
m: string;
|
|
39
|
+
tile: string;
|
|
40
|
+
asOf: "now" | "claim";
|
|
41
|
+
allowUnclaimed?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The picture for a slot, or null when it cannot be read here (a claim
|
|
44
|
+
* whose file is missing, or the browser, which has no files at all). A
|
|
45
|
+
* null picture paints as dormant rather than failing the render.
|
|
46
|
+
*/
|
|
47
|
+
pictureFor: (slot: CommunityMSlot) => ClaimImage | null;
|
|
48
|
+
};
|
|
49
|
+
/** Resolve the M, the slot and the claims to paint. Never throws. */
|
|
50
|
+
export declare function buildTarget(manifest: CommunityMManifest, o: BuildTargetOptions): BuildTargetResult;
|
|
51
|
+
/**
|
|
52
|
+
* The slot an unclaimed reference WOULD become: claim N takes the N-th tile
|
|
53
|
+
* of the M's own deal order, and "root" is always the V-tip. Everything else
|
|
54
|
+
* (a handle nobody holds) has no tile to stand up.
|
|
55
|
+
*/
|
|
56
|
+
export declare function syntheticSlot(entry: CommunityMEntry, tileRef: string): CommunityMSlot | null;
|
|
57
|
+
/** "Community M #001 - opened 2026-04-15 - in progress" / "… - completed 2026-06-05". */
|
|
58
|
+
export declare function identityLine(entry: CommunityMEntry): string;
|
|
59
|
+
/** "tile 32 - root - @m0saic-dev - 2026-04-15" / "tile 20 - claim 1 of 32 - @octocat - 2026-05-01". */
|
|
60
|
+
export declare function tileLine(entry: CommunityMEntry, slot: CommunityMSlot): string;
|
|
61
|
+
/** True when any dev lever is on — which is also what lets an unclaimed tile stand up. */
|
|
62
|
+
export declare function previewIsOn(pv: ResolvedPreview): boolean;
|
|
63
|
+
export type Subject = {
|
|
64
|
+
tileIndex: number;
|
|
65
|
+
standIn: boolean;
|
|
66
|
+
caption: string;
|
|
67
|
+
photo: PreviewPhoto | null;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* The "Subject tile" lever speaks AWARD ORDER, the one number the Community
|
|
71
|
+
* page, the caption ("claim 1 of 32") and the "claims" lever all agree on:
|
|
72
|
+
* claim N (1..32) is `entry.claimOrder[N-1]`, 0 is the root. The geometry
|
|
73
|
+
* index (0..32 in mark order) is an implementation detail nobody sees —
|
|
74
|
+
* exposing it here is what made "Subject tile 1" light a tile the Community
|
|
75
|
+
* page lists fifteenth (founder, 2026-09-16).
|
|
76
|
+
*/
|
|
77
|
+
export declare function awardToTileIndex(entry: CommunityMEntry, claimNo: number): {
|
|
78
|
+
tileIndex: number;
|
|
79
|
+
claimNo: number | null;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Which tile the video is about: the explicit lever wins, else the tile the
|
|
83
|
+
* slot resolves to. It is a stand-in whenever nobody really holds it (or
|
|
84
|
+
* whenever its picture cannot be read here).
|
|
85
|
+
*/
|
|
86
|
+
export declare function subjectOf(target: ProvenanceTarget, pv: ResolvedPreview): Subject;
|
|
87
|
+
/** Every tile the M paints as claimed: the real claims, plus stand-ins for the levers. */
|
|
88
|
+
export declare function harnessClaims(target: ProvenanceTarget, pv: ResolvedPreview, subject: Subject, simulate: (entry: CommunityMEntry, real: ReadonlySet<number>, o: PreviewOptions) => Map<number, MarkClaim>): Map<number, MarkClaim>;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildTarget = buildTarget;
|
|
4
|
+
exports.syntheticSlot = syntheticSlot;
|
|
5
|
+
exports.identityLine = identityLine;
|
|
6
|
+
exports.tileLine = tileLine;
|
|
7
|
+
exports.previewIsOn = previewIsOn;
|
|
8
|
+
exports.awardToTileIndex = awardToTileIndex;
|
|
9
|
+
exports.subjectOf = subjectOf;
|
|
10
|
+
exports.harnessClaims = harnessClaims;
|
|
11
|
+
const types_1 = require("@m0saic/types");
|
|
12
|
+
const platform_1 = require("@m0saic/platform");
|
|
13
|
+
const preview_1 = require("./preview");
|
|
14
|
+
/** Resolve the M, the slot and the claims to paint. Never throws. */
|
|
15
|
+
function buildTarget(manifest, o) {
|
|
16
|
+
const r = (0, platform_1.resolveCommunitySlot)(manifest, o.m, o.tile);
|
|
17
|
+
// An UNCLAIMED slot is normally the end of the road — there is no
|
|
18
|
+
// provenance to tell. With the dev preview on it is the whole point: stand
|
|
19
|
+
// the slot up so its tile's zoom and framing can be designed now.
|
|
20
|
+
if (!r.ok && !(r.code === "UNCLAIMED" && o.allowUnclaimed)) {
|
|
21
|
+
return { ok: false, error: r.code === "UNCLAIMED" ? `${r.error}. Turn on Dev preview (filled tiles, or a generated canvas) to preview it anyway.` : r.error };
|
|
22
|
+
}
|
|
23
|
+
const entry = r.ok ? r.m : manifest.ms.find((e) => e.id === o.m);
|
|
24
|
+
if (!entry)
|
|
25
|
+
return { ok: false, error: `Community M "${o.m}" not found` };
|
|
26
|
+
const synthetic = !r.ok;
|
|
27
|
+
const slot = r.ok ? r.slot : syntheticSlot(entry, o.tile);
|
|
28
|
+
if (!slot)
|
|
29
|
+
return { ok: false, error: `tile "${o.tile}" does not name a slot of Community M ${o.m}` };
|
|
30
|
+
const cutoff = o.asOf === "claim" ? slot.claimedAt : null;
|
|
31
|
+
const visible = (s) => cutoff === null || s.claimedAt <= cutoff;
|
|
32
|
+
const claimedTiles = new Map();
|
|
33
|
+
const add = (s) => {
|
|
34
|
+
const image = o.pictureFor(s);
|
|
35
|
+
if (image)
|
|
36
|
+
claimedTiles.set(s.tileIndex, { image, slot: s });
|
|
37
|
+
};
|
|
38
|
+
for (const s of entry.slots)
|
|
39
|
+
if (visible(s))
|
|
40
|
+
add(s);
|
|
41
|
+
const rootShown = !!entry.root.slot && visible(entry.root.slot);
|
|
42
|
+
if (entry.root.slot && rootShown)
|
|
43
|
+
add(entry.root.slot);
|
|
44
|
+
const tileImage = synthetic ? null : o.pictureFor(slot);
|
|
45
|
+
return { ok: true, target: { manifest, entry, slot, tileImage, claimedTiles, rootShown, synthetic } };
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The slot an unclaimed reference WOULD become: claim N takes the N-th tile
|
|
49
|
+
* of the M's own deal order, and "root" is always the V-tip. Everything else
|
|
50
|
+
* (a handle nobody holds) has no tile to stand up.
|
|
51
|
+
*/
|
|
52
|
+
function syntheticSlot(entry, tileRef) {
|
|
53
|
+
var _a;
|
|
54
|
+
const ref = tileRef.trim();
|
|
55
|
+
const at = (tileIndex, slot, stableKey) => {
|
|
56
|
+
var _a;
|
|
57
|
+
return ({
|
|
58
|
+
slot, tileIndex, stableKey,
|
|
59
|
+
handle: "preview", displayName: "Preview",
|
|
60
|
+
claimedAt: (_a = entry.openedAt) !== null && _a !== void 0 ? _a : "",
|
|
61
|
+
tile: "", piece: "",
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
if (ref.toLowerCase() === "root" || ref === "0")
|
|
65
|
+
return at(types_1.COMMUNITY_M_TIP_TILE_INDEX, 0, types_1.COMMUNITY_M_TIP_STABLE_KEY);
|
|
66
|
+
if (!/^\d+$/.test(ref))
|
|
67
|
+
return null;
|
|
68
|
+
const n = Number(ref);
|
|
69
|
+
const tileIndex = entry.claimOrder[n - 1];
|
|
70
|
+
if (tileIndex === undefined)
|
|
71
|
+
return null;
|
|
72
|
+
const key = (_a = platform_1.M_TILES.find((t) => t.tileIndex === tileIndex)) === null || _a === void 0 ? void 0 : _a.stableKey;
|
|
73
|
+
return key ? at(tileIndex, n, key) : null;
|
|
74
|
+
}
|
|
75
|
+
/** "Community M #001 - opened 2026-04-15 - in progress" / "… - completed 2026-06-05". */
|
|
76
|
+
function identityLine(entry) {
|
|
77
|
+
const opened = entry.openedAt ? `opened ${entry.openedAt.slice(0, 10)}` : "not yet open";
|
|
78
|
+
const state = entry.completedAt ? `completed ${entry.completedAt.slice(0, 10)}` : entry.status === "locked" ? "locked" : "in progress";
|
|
79
|
+
return `${entry.title} - ${opened} - ${state}`;
|
|
80
|
+
}
|
|
81
|
+
/** "tile 32 - root - @m0saic-dev - 2026-04-15" / "tile 20 - claim 1 of 32 - @octocat - 2026-05-01". */
|
|
82
|
+
function tileLine(entry, slot) {
|
|
83
|
+
const which = slot.slot === 0 ? "root" : `claim ${slot.slot} of ${entry.capacity}`;
|
|
84
|
+
return `tile ${slot.tileIndex} - ${which} - @${slot.handle} - ${slot.claimedAt.slice(0, 10)}`;
|
|
85
|
+
}
|
|
86
|
+
// ── The subject of the video, and what the M paints ──────────────────────
|
|
87
|
+
/** True when any dev lever is on — which is also what lets an unclaimed tile stand up. */
|
|
88
|
+
function previewIsOn(pv) {
|
|
89
|
+
return pv.claims > 0 || pv.tile !== null || pv.piece !== "off";
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The "Subject tile" lever speaks AWARD ORDER, the one number the Community
|
|
93
|
+
* page, the caption ("claim 1 of 32") and the "claims" lever all agree on:
|
|
94
|
+
* claim N (1..32) is `entry.claimOrder[N-1]`, 0 is the root. The geometry
|
|
95
|
+
* index (0..32 in mark order) is an implementation detail nobody sees —
|
|
96
|
+
* exposing it here is what made "Subject tile 1" light a tile the Community
|
|
97
|
+
* page lists fifteenth (founder, 2026-09-16).
|
|
98
|
+
*/
|
|
99
|
+
function awardToTileIndex(entry, claimNo) {
|
|
100
|
+
if (claimNo <= 0)
|
|
101
|
+
return { tileIndex: entry.root.tileIndex, claimNo: null };
|
|
102
|
+
const tileIndex = entry.claimOrder[claimNo - 1];
|
|
103
|
+
if (tileIndex === undefined)
|
|
104
|
+
throw new Error(`community-m: claim ${claimNo} is past this M's award order (${entry.claimOrder.length} claims)`);
|
|
105
|
+
return { tileIndex, claimNo };
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Which tile the video is about: the explicit lever wins, else the tile the
|
|
109
|
+
* slot resolves to. It is a stand-in whenever nobody really holds it (or
|
|
110
|
+
* whenever its picture cannot be read here).
|
|
111
|
+
*/
|
|
112
|
+
function subjectOf(target, pv) {
|
|
113
|
+
const lever = pv.tile === null ? null : awardToTileIndex(target.entry, pv.tile);
|
|
114
|
+
const tileIndex = lever ? lever.tileIndex : target.slot.tileIndex;
|
|
115
|
+
const standIn = pv.tile !== null || target.tileImage === null;
|
|
116
|
+
return {
|
|
117
|
+
tileIndex,
|
|
118
|
+
standIn,
|
|
119
|
+
caption: standIn ? (0, preview_1.previewTileLine)(tileIndex, pv.style, lever ? lever.claimNo : null, target.entry.capacity) : tileLine(target.entry, target.slot),
|
|
120
|
+
photo: standIn ? (0, preview_1.standInPhoto)(tileIndex, pv) : null,
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/** Every tile the M paints as claimed: the real claims, plus stand-ins for the levers. */
|
|
124
|
+
function harnessClaims(target, pv, subject, simulate) {
|
|
125
|
+
const claims = new Map();
|
|
126
|
+
for (const [i, c] of target.claimedTiles)
|
|
127
|
+
claims.set(i, { image: c.image, ...(c.slot.focus ? { focus: c.slot.focus } : {}) });
|
|
128
|
+
const opts = { ...pv, tile: subject.standIn ? subject.tileIndex : null };
|
|
129
|
+
for (const [i, c] of simulate(target.entry, new Set(claims.keys()), opts))
|
|
130
|
+
claims.set(i, c);
|
|
131
|
+
return claims;
|
|
132
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { MosaicEngineContext } from "@m0saic/types";
|
|
2
|
+
import type { ResolvedProps } from "./props";
|
|
3
|
+
export type Timeline = {
|
|
4
|
+
introVisibleMs: number;
|
|
5
|
+
introHoldMs: number;
|
|
6
|
+
zoomMs: number;
|
|
7
|
+
tileHoldMs: number;
|
|
8
|
+
revealMs: number;
|
|
9
|
+
/** The original's slide aside (and back). */
|
|
10
|
+
slideMs: number;
|
|
11
|
+
/** The canvas pop at the top of the piece beat (inside pieceVisibleMs). */
|
|
12
|
+
popMs: number;
|
|
13
|
+
pieceVisibleMs: number;
|
|
14
|
+
outroMs: number;
|
|
15
|
+
closerMs: number;
|
|
16
|
+
xfadeMs: number;
|
|
17
|
+
totalMs: number;
|
|
18
|
+
source: "natural" | "pinned";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Visible time per beat. The stitched pipeline equals `totalMs` exactly
|
|
22
|
+
* (fades ride on the outgoing step). A pinned duration (`--durationMs` /
|
|
23
|
+
* Make) is honoured by shrinking the piece window first, then scaling the
|
|
24
|
+
* harness beats; below the floor the caller shows an error card.
|
|
25
|
+
*/
|
|
26
|
+
export declare function resolveTimeline(p: ResolvedProps, declaredPieceMs: number, ctx: MosaicEngineContext): {
|
|
27
|
+
ok: true;
|
|
28
|
+
timeline: Timeline;
|
|
29
|
+
} | {
|
|
30
|
+
ok: false;
|
|
31
|
+
error: string;
|
|
32
|
+
};
|