@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,490 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* @m0saic/meta/camera-debug/v1 — see what the camera does
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* Renders any m0 layout as gray boxes and draws the CAMERA's crop viewport
|
|
8
|
+
* over it as a red rectangle, so authors can debug camera behavior without
|
|
9
|
+
* rendering real content.
|
|
10
|
+
*
|
|
11
|
+
* THE input is the `camera` prop ({@link CameraDebugCamera}) — the rolled-up
|
|
12
|
+
* value a template attaches to `effects.camera`, with each field a number, a
|
|
13
|
+
* t-expression pasted verbatim, or declarative KEYFRAMES `[{t, v, ease?}]`
|
|
14
|
+
* (compiled via `keyframeExpr` — the `t`s you assign ARE the settle moments;
|
|
15
|
+
* eased between them, held outside them). Paste the camera your template
|
|
16
|
+
* computed, put your layout skeleton behind it, and the render simulates
|
|
17
|
+
* what your final output's camera will do — math verification, no content.
|
|
18
|
+
* CLI debug flow: `m0saic make @m0saic/meta/camera-debug/v1
|
|
19
|
+
* --props '{"M0String":"…","camera":{…}}'` (pin --durationMs to the length
|
|
20
|
+
* the camera was compiled for). Rendering:
|
|
21
|
+
* - numbers/keyframes (the normal case): the FILMSTRIP — one gated-drawbox
|
|
22
|
+
* track of ring rects sampled at the output fps (midpoint-sampled,
|
|
23
|
+
* holds merged, rate degraded uniformly past the argv budget). ONLY the
|
|
24
|
+
* red rect, exactly where the camera is, panning AND resizing — no
|
|
25
|
+
* per-frame scaling, no geq. Frame-exact: the output is fps-quantized
|
|
26
|
+
* anyway, so the strip equals the compiled expressions at render time.
|
|
27
|
+
* - a pasted t-EXPRESSION focus with constant zoom: a closed ring panned
|
|
28
|
+
* by the expression itself (overlay offsets).
|
|
29
|
+
* - a pasted t-EXPRESSION zoom (animated): the one unsampleable case —
|
|
30
|
+
* falls back to four full-length guide lines whose central intersection
|
|
31
|
+
* is the viewport. Prefer keyframes to get the closed rect.
|
|
32
|
+
*
|
|
33
|
+
* When no `camera` is given, the follow-walk RECIPE builds one (UI-helper
|
|
34
|
+
* model: knobs drive motion-kit function invocation): walk the leaves via
|
|
35
|
+
* `computeTimeline` → `followCamera`, zoom from the prop or
|
|
36
|
+
* `autoZoomForLegibility`. Recipe-only modes:
|
|
37
|
+
* - `smooth` (default): ONE red ring pans along the true eased camera path
|
|
38
|
+
* (`overlay.xExpr/yExpr` = the followCamera focus exprs × the pixel
|
|
39
|
+
* travel). The ring's size is the constant-zoom viewport, so it is gated
|
|
40
|
+
* OFF when the pull-back starts (an animated-zoom ring would need
|
|
41
|
+
* per-frame scaling — R10's expensive path, not worth it for a debugger).
|
|
42
|
+
* - `snap`: one enable-gated ring per settle window (a gatedBoxTrackSource)
|
|
43
|
+
* — shows WHERE the camera settles and WHEN, discrete and readable.
|
|
44
|
+
*
|
|
45
|
+
* In both recipe modes a full-frame ring appears when the pull-back's full
|
|
46
|
+
* view ARRIVES (`resolvePullBackEnvelope().zoomEndSec`) and holds to the end;
|
|
47
|
+
* the gap between the walking ring vanishing and the full-frame ring
|
|
48
|
+
* appearing IS the pull-back transit. When the camera never moves (zoom ≤ 1,
|
|
49
|
+
* e.g. auto-zoom on an already-legible layout), the full-frame ring is
|
|
50
|
+
* static from t=0 — an honest "the camera does nothing here".
|
|
51
|
+
*
|
|
52
|
+
* Timeline: one step per leaf in logical order via `computeTimeline`
|
|
53
|
+
* (duration-fit: a pinned render length rescales the walk uniformly, per
|
|
54
|
+
* `resolvePinnedDurationMs`). Note the recipe walks LEAVES — it does not
|
|
55
|
+
* model dsl-tutorial's passthrough-following walk semantics.
|
|
56
|
+
* ============================================================================
|
|
57
|
+
*/
|
|
58
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59
|
+
exports.CameraDebug = void 0;
|
|
60
|
+
const types_1 = require("@m0saic/types");
|
|
61
|
+
const dsl_1 = require("@m0saic/dsl");
|
|
62
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
63
|
+
const BG_COLOR = "#0E1220";
|
|
64
|
+
const TILE_COLOR = "#2A3140";
|
|
65
|
+
const TILE_BORDER_COLOR = "#4E5B76";
|
|
66
|
+
const VIEWPORT_COLOR = "#FF3B30";
|
|
67
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
68
|
+
M0String: {
|
|
69
|
+
type: "m0",
|
|
70
|
+
required: true,
|
|
71
|
+
description: "The layout to debug the camera over.",
|
|
72
|
+
meta: {
|
|
73
|
+
control: { placeholder: 'e.g. "2(2[1,1],2[1,1])"' },
|
|
74
|
+
ui: { label: "Layout (m0 string)" },
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
camera: {
|
|
78
|
+
type: "json",
|
|
79
|
+
required: false,
|
|
80
|
+
description: 'Raw camera to verify ({zoom, focusX, focusY}) — each field a number, a t-expression, or keyframes [{t, v, ease?}] (eased between the moments you assign; holds outside them). Wins over the walk-recipe knobs. Example: {"zoom":2,"focusX":[{"t":1,"v":0},{"t":2,"v":1}],"focusY":0.5} pans left→right across 1s..2s.',
|
|
81
|
+
meta: { ui: { label: "Raw camera", collapsedByDefault: true } },
|
|
82
|
+
},
|
|
83
|
+
speedMultiplier: {
|
|
84
|
+
type: "number",
|
|
85
|
+
required: false,
|
|
86
|
+
description: "Walk speed multiplier (>1 = faster).",
|
|
87
|
+
meta: {
|
|
88
|
+
constraints: { min: 0.1, max: 8 },
|
|
89
|
+
control: { flavor: "slider", step: 0.1 },
|
|
90
|
+
ui: { label: "Speed" },
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
zoom: {
|
|
94
|
+
type: "number",
|
|
95
|
+
required: false,
|
|
96
|
+
description: "Camera zoom. Omit = auto (legibility-driven); 1 = fixed full view.",
|
|
97
|
+
meta: {
|
|
98
|
+
constraints: { min: 1, max: 8 },
|
|
99
|
+
control: { placeholder: "from camera", flavor: "slider", step: 0.25 },
|
|
100
|
+
ui: { label: "Zoom" },
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
mode: {
|
|
104
|
+
type: "string",
|
|
105
|
+
required: false,
|
|
106
|
+
description: "Viewport visualization: smooth eased pan, or snap-per-settle rings.",
|
|
107
|
+
meta: {
|
|
108
|
+
constraints: { oneOf: ["smooth", "snap"] },
|
|
109
|
+
control: {
|
|
110
|
+
options: [
|
|
111
|
+
{ value: "smooth", label: "Smooth pan" },
|
|
112
|
+
{ value: "snap", label: "Snap rings" },
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
ui: { label: "Mode" },
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
exports.CameraDebug = {
|
|
120
|
+
id: (0, types_1.asTemplateId)("@m0saic/meta/camera-debug/v1"),
|
|
121
|
+
label: "Camera Debugger",
|
|
122
|
+
version: 1,
|
|
123
|
+
description: "Gray-box wireframe of any layout with the camera's crop viewport drawn as a red rectangle — debug follow-camera motion without rendering real content.",
|
|
124
|
+
capabilities: { tier: "core" },
|
|
125
|
+
// Dev/debug tool — keep off the shelves.
|
|
126
|
+
internal: true,
|
|
127
|
+
tags: ["developer", "meta", "camera", "debug"],
|
|
128
|
+
outputHints: {
|
|
129
|
+
width: 1280,
|
|
130
|
+
height: 720,
|
|
131
|
+
fps: 30,
|
|
132
|
+
durationMs: 5000,
|
|
133
|
+
note: "Camera viewport visualized over a gray-box layout walk.",
|
|
134
|
+
},
|
|
135
|
+
propsSchema,
|
|
136
|
+
defaultProps: {
|
|
137
|
+
mode: "smooth",
|
|
138
|
+
speedMultiplier: 1,
|
|
139
|
+
M0String: "2(2[1,1],2[1,1])",
|
|
140
|
+
// Default demo: a four-corner X tour (TL → BR → BL → TR) at zoom 2 —
|
|
141
|
+
// the rect visibly pans corner to corner then holds. Clear the Raw
|
|
142
|
+
// camera field to fall back to the walk recipe (auto zoom).
|
|
143
|
+
camera: {
|
|
144
|
+
zoom: 2,
|
|
145
|
+
focusX: [
|
|
146
|
+
{ t: 0.5, v: 0 },
|
|
147
|
+
{ t: 1.5, v: 1 },
|
|
148
|
+
{ t: 2.5, v: 0 },
|
|
149
|
+
{ t: 3.5, v: 1 },
|
|
150
|
+
],
|
|
151
|
+
focusY: [
|
|
152
|
+
{ t: 0.5, v: 0 },
|
|
153
|
+
{ t: 1.5, v: 1 },
|
|
154
|
+
{ t: 2.5, v: 1 },
|
|
155
|
+
{ t: 3.5, v: 0 },
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
render(props, ctx) {
|
|
160
|
+
var _a, _b, _c, _d;
|
|
161
|
+
const W = ctx.target.width;
|
|
162
|
+
const H = ctx.target.height;
|
|
163
|
+
const m0 = String(props.M0String);
|
|
164
|
+
const parsed = (0, dsl_1.parseM0StringComplete)(m0, W, H);
|
|
165
|
+
if (!parsed.ok) {
|
|
166
|
+
throw new Error(`camera-debug: m0 parse failed — ${(_b = (_a = parsed.error) === null || _a === void 0 ? void 0 : _a.message) !== null && _b !== void 0 ? _b : "unknown"}`);
|
|
167
|
+
}
|
|
168
|
+
const rects = parsed.ir.renderFrames.slice().sort((a, b) => a.logicalIndex - b.logicalIndex);
|
|
169
|
+
const timeline = (0, template_utils_1.computeTimeline)({
|
|
170
|
+
stepCount: rects.length,
|
|
171
|
+
speedMultiplier: (_c = props.speedMultiplier) !== null && _c !== void 0 ? _c : 1,
|
|
172
|
+
targetDurationMs: (0, template_utils_1.resolvePinnedDurationMs)(ctx),
|
|
173
|
+
});
|
|
174
|
+
const endSec = timeline.durationMs / 1000;
|
|
175
|
+
const settle = (i) => timeline.stepStartSec(i) + timeline.stepDurSec / 2;
|
|
176
|
+
const zoom = props.zoom != null
|
|
177
|
+
? props.zoom
|
|
178
|
+
: (0, template_utils_1.autoZoomForLegibility)(rects.map((r) => ({ width: r.width, height: r.height })), W, H, W, H);
|
|
179
|
+
const ringT = Math.max(2, Math.round(Math.min(W, H) * 0.005));
|
|
180
|
+
const sources = [];
|
|
181
|
+
// ── Gray tiles with DISTINCT BORDERS, still O(1) sources at any tile
|
|
182
|
+
// count (the dsl-canvas two-atlas idiom): a border-colored silhouette
|
|
183
|
+
// underneath + the fill silhouette inset by a hairline (radius reduced
|
|
184
|
+
// to stay concentric), so the underlayer reads as an inner stroke and
|
|
185
|
+
// the geometry outline is visible. Combined subpaths across both
|
|
186
|
+
// atlases ride ONE resolver arg → borders drop first past budget, then
|
|
187
|
+
// the masked fill degrades to a flat fill. ──
|
|
188
|
+
const N = rects.length;
|
|
189
|
+
const drawBorders = N > 0 && 2 * N <= template_utils_1.MASK_SUBPATH_BUDGET;
|
|
190
|
+
const drawTiles = N > 0 && N <= template_utils_1.MASK_SUBPATH_BUDGET;
|
|
191
|
+
const tileRadius = (w, h) => Math.max(0, Math.floor(Math.min(w, h) * 0.04));
|
|
192
|
+
if (drawTiles) {
|
|
193
|
+
if (drawBorders) {
|
|
194
|
+
const borderPaths = rects.map((r) => {
|
|
195
|
+
const w = Math.round(r.width);
|
|
196
|
+
const h = Math.round(r.height);
|
|
197
|
+
if (w <= 0 || h <= 0)
|
|
198
|
+
return "";
|
|
199
|
+
return (0, template_utils_1.roundedRectPathD)(Math.round(r.x), Math.round(r.y), w, h, tileRadius(w, h));
|
|
200
|
+
});
|
|
201
|
+
sources.push((0, template_utils_1.maskAtlasSource)(borderPaths, TILE_BORDER_COLOR, { width: W, height: H }));
|
|
202
|
+
}
|
|
203
|
+
const fillPaths = rects.map((r) => {
|
|
204
|
+
const iw = Math.round(r.width);
|
|
205
|
+
const ih = Math.round(r.height);
|
|
206
|
+
if (iw <= 0 || ih <= 0)
|
|
207
|
+
return "";
|
|
208
|
+
const outerR = tileRadius(iw, ih);
|
|
209
|
+
const bw = drawBorders ? Math.max(1, Math.floor(0.004 * Math.min(iw, ih))) : 0;
|
|
210
|
+
const w = iw - 2 * bw;
|
|
211
|
+
const h = ih - 2 * bw;
|
|
212
|
+
if (w <= 0 || h <= 0)
|
|
213
|
+
return "";
|
|
214
|
+
const r2 = drawBorders ? Math.max(outerR - bw, 0) : outerR;
|
|
215
|
+
return (0, template_utils_1.roundedRectPathD)(Math.round(r.x) + bw, Math.round(r.y) + bw, w, h, r2);
|
|
216
|
+
});
|
|
217
|
+
sources.push((0, template_utils_1.maskAtlasSource)(fillPaths, TILE_COLOR, { width: W, height: H }));
|
|
218
|
+
}
|
|
219
|
+
else if (N > 0) {
|
|
220
|
+
sources.push((0, template_utils_1.makeColorTile)(TILE_COLOR));
|
|
221
|
+
}
|
|
222
|
+
// Normalize a camera field (number | expr | keyframes | absent) to ONE
|
|
223
|
+
// expr string. Keyframes are the friendly form: the template compiles
|
|
224
|
+
// them with keyframeExpr (the .m0t-shaped declarative input).
|
|
225
|
+
const fieldExpr = (v, fallback) => Array.isArray(v)
|
|
226
|
+
? v.length > 0
|
|
227
|
+
? (0, template_utils_1.keyframeExpr)(v)
|
|
228
|
+
: fallback
|
|
229
|
+
: v == null
|
|
230
|
+
? fallback
|
|
231
|
+
: typeof v === "number"
|
|
232
|
+
? v.toFixed(5)
|
|
233
|
+
: String(v);
|
|
234
|
+
// Keyframed zoom that never changes value is CONSTANT (→ the closed
|
|
235
|
+
// ring); varying values compile to an animated-zoom expr (→ guides).
|
|
236
|
+
const zoomOf = (z) => Array.isArray(z)
|
|
237
|
+
? z.length === 0
|
|
238
|
+
? undefined
|
|
239
|
+
: z.every((k) => k.v === z[0].v)
|
|
240
|
+
? z[0].v
|
|
241
|
+
: (0, template_utils_1.keyframeExpr)(z)
|
|
242
|
+
: z;
|
|
243
|
+
// The closed viewport ring at a CONSTANT zoom: a full-canvas tile whose
|
|
244
|
+
// mask is a viewport-sized hollow rect at the canvas top-left (outer CW +
|
|
245
|
+
// inner CCW cuts the hole under both fill rules), panned by offset exprs.
|
|
246
|
+
// Overlay x/y exprs are NOT auto-rebalanced by the engine funnels (only
|
|
247
|
+
// enable/alpha/camera are) — rebalance here or dense walks hit the ~100-
|
|
248
|
+
// term parse cliff.
|
|
249
|
+
const pushViewportRing = (z, fxExpr, fyExpr, enable) => {
|
|
250
|
+
const vw = Math.max(2 * ringT, Math.round(W / z));
|
|
251
|
+
const vh = Math.max(2 * ringT, Math.round(H / z));
|
|
252
|
+
const travelX = W - W / z;
|
|
253
|
+
const travelY = H - H / z;
|
|
254
|
+
const outer = `M0 0 H${vw} V${vh} H0 Z`;
|
|
255
|
+
const inner = `M${ringT} ${ringT} V${vh - ringT} H${vw - ringT} V${ringT} Z`;
|
|
256
|
+
sources.push((0, template_utils_1.makeColorTile)(VIEWPORT_COLOR, {
|
|
257
|
+
mask: {
|
|
258
|
+
kind: "inline-mask",
|
|
259
|
+
localPath: `${outer} ${inner}`,
|
|
260
|
+
bounds: { x: 0, y: 0, width: W, height: H },
|
|
261
|
+
},
|
|
262
|
+
overlay: {
|
|
263
|
+
xExpr: (0, template_utils_1.rebalanceAdditiveChains)(`(${travelX.toFixed(4)})*(${fxExpr})`),
|
|
264
|
+
yExpr: (0, template_utils_1.rebalanceAdditiveChains)(`(${travelY.toFixed(4)})*(${fyExpr})`),
|
|
265
|
+
...(enable ? { enable } : {}),
|
|
266
|
+
},
|
|
267
|
+
}));
|
|
268
|
+
};
|
|
269
|
+
// Camera never moves → an honest static full-frame viewport ring.
|
|
270
|
+
const pushStaticRing = () => {
|
|
271
|
+
sources.push((0, template_utils_1.gatedBoxTrackSource)([{ x: 0, y: 0, w: W, h: H, thicknessPx: ringT }], {
|
|
272
|
+
color: VIEWPORT_COLOR,
|
|
273
|
+
}));
|
|
274
|
+
};
|
|
275
|
+
// ── JS-side keyframe sampling (mirrors keyframeExpr semantics: hold
|
|
276
|
+
// before first / after last, per-key ease shapes the segment LEAVING the
|
|
277
|
+
// key, 1e-4 duration floor). Sampling lets the debugger draw the ONE
|
|
278
|
+
// thing a constant-size source can't: a closed rect that RESIZES. ──
|
|
279
|
+
const easeU = (ease, u) => ease === "linear"
|
|
280
|
+
? u
|
|
281
|
+
: ease === "easeOut"
|
|
282
|
+
? 1 - (1 - u) * (1 - u)
|
|
283
|
+
: u * u * (3 - 2 * u); // smoothstep / easeInOut / default
|
|
284
|
+
const sampleKeys = (keys, t) => {
|
|
285
|
+
if (t < keys[0].t || keys.length === 1)
|
|
286
|
+
return keys[0].v;
|
|
287
|
+
for (let i = 0; i < keys.length - 1; i++) {
|
|
288
|
+
const a = keys[i];
|
|
289
|
+
const b = keys[i + 1];
|
|
290
|
+
if (t >= a.t && t < b.t) {
|
|
291
|
+
const dur = Math.max(1e-4, b.t - a.t);
|
|
292
|
+
const u = Math.min(1, Math.max(0, (t - a.t) / dur));
|
|
293
|
+
return a.v + (b.v - a.v) * easeU(a.ease, u);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
return keys[keys.length - 1].v;
|
|
297
|
+
};
|
|
298
|
+
// A camera field is SAMPLEABLE when it's a number or keyframes; a pasted
|
|
299
|
+
// expression string is opaque to JS (no evaluator) → null.
|
|
300
|
+
const samplerOf = (v, fallback) => v == null
|
|
301
|
+
? () => fallback
|
|
302
|
+
: typeof v === "number"
|
|
303
|
+
? () => v
|
|
304
|
+
: Array.isArray(v)
|
|
305
|
+
? v.length > 0
|
|
306
|
+
? (t) => sampleKeys(v, t)
|
|
307
|
+
: () => fallback
|
|
308
|
+
: null;
|
|
309
|
+
// ── The FILMSTRIP: the whole camera as ONE gated drawbox track — a ring
|
|
310
|
+
// per frame-slice at the exact sampled viewport rect (midpoint-sampled),
|
|
311
|
+
// consecutive identical rects merged (holds cost one box). This is what
|
|
312
|
+
// the render shows anyway (the output is fps-quantized), so the strip is
|
|
313
|
+
// frame-exact, and the rect both PANS and RESIZES — no guides, no grid.
|
|
314
|
+
// Slice rate = output fps, degraded uniformly past the argv budget. ──
|
|
315
|
+
const pushFilmstrip = (zoomAt, fxAt, fyAt, durSec) => {
|
|
316
|
+
const fps = ctx.target.fps > 0 ? ctx.target.fps : 30;
|
|
317
|
+
const rate = Math.ceil(durSec * fps) > template_utils_1.GATED_BOX_BUDGET ? template_utils_1.GATED_BOX_BUDGET / durSec : fps;
|
|
318
|
+
const n = Math.max(1, Math.ceil(durSec * rate));
|
|
319
|
+
const boxes = [];
|
|
320
|
+
for (let i = 0; i < n; i++) {
|
|
321
|
+
const t0 = (i / n) * durSec;
|
|
322
|
+
const t1 = ((i + 1) / n) * durSec;
|
|
323
|
+
const tm = (t0 + t1) / 2;
|
|
324
|
+
const z = Math.max(1, zoomAt(tm));
|
|
325
|
+
const vp = (0, template_utils_1.cameraViewportRect)(fxAt(tm), fyAt(tm), z, W, H);
|
|
326
|
+
const x = Math.round(vp.x);
|
|
327
|
+
const y = Math.round(vp.y);
|
|
328
|
+
const w = Math.max(2 * ringT, Math.round(vp.width));
|
|
329
|
+
const h = Math.max(2 * ringT, Math.round(vp.height));
|
|
330
|
+
const prev = boxes[boxes.length - 1];
|
|
331
|
+
if (prev && prev.x === x && prev.y === y && prev.w === w && prev.h === h) {
|
|
332
|
+
prev.toSec = t1; // hold → extend the previous ring's window
|
|
333
|
+
}
|
|
334
|
+
else {
|
|
335
|
+
boxes.push({ x, y, w, h, fromSec: t0, toSec: t1, thicknessPx: ringT });
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
// The last ring holds to the end of the clip (gte-only gate).
|
|
339
|
+
if (boxes.length > 0)
|
|
340
|
+
delete boxes[boxes.length - 1].toSec;
|
|
341
|
+
sources.push((0, template_utils_1.gatedBoxTrackSource)(boxes, { color: VIEWPORT_COLOR }));
|
|
342
|
+
};
|
|
343
|
+
// ── The viewport ──
|
|
344
|
+
const raw = props.camera;
|
|
345
|
+
if (raw) {
|
|
346
|
+
// RAW mode: simulate exactly the supplied camera, full duration. The
|
|
347
|
+
// recipe knobs (zoom/speed/mode) are ignored — the math to verify is
|
|
348
|
+
// already rolled up inside the camera value.
|
|
349
|
+
const zAt = samplerOf(raw.zoom, 1);
|
|
350
|
+
const xAt = samplerOf(raw.focusX, 0.5);
|
|
351
|
+
const yAt = samplerOf(raw.focusY, 0.5);
|
|
352
|
+
if (zAt && xAt && yAt) {
|
|
353
|
+
// Numbers/keyframes → the filmstrip: ONLY the red rect, exactly
|
|
354
|
+
// where the camera is, panning AND resizing. A static camera merges
|
|
355
|
+
// down to a single always-on ring.
|
|
356
|
+
pushFilmstrip(zAt, xAt, yAt, endSec);
|
|
357
|
+
}
|
|
358
|
+
else {
|
|
359
|
+
// Some field is a pasted EXPRESSION STRING — opaque to JS, so the
|
|
360
|
+
// filmstrip can't sample it.
|
|
361
|
+
const fx = fieldExpr(raw.focusX, "0.5");
|
|
362
|
+
const fy = fieldExpr(raw.focusY, "0.5");
|
|
363
|
+
const rawZoom = zoomOf(raw.zoom);
|
|
364
|
+
if (typeof rawZoom === "string") {
|
|
365
|
+
// Animated expression zoom: the window resizes but its size can't
|
|
366
|
+
// be sampled OR carried by a constant-size ring — the one case
|
|
367
|
+
// that falls back to four guide lines (their central intersection
|
|
368
|
+
// IS the viewport). Prefer keyframes to get the closed rect.
|
|
369
|
+
const zE = `(${rawZoom})`;
|
|
370
|
+
const xL = `(${fx})*(${W}-${W}/${zE})`;
|
|
371
|
+
const yT = `(${fy})*(${H}-${H}/${zE})`;
|
|
372
|
+
const vStripe = `M0 0 H${ringT} V${H} H0 Z`;
|
|
373
|
+
const hStripe = `M0 0 H${W} V${ringT} H0 Z`;
|
|
374
|
+
const guide = (stripe, ov) => (0, template_utils_1.makeColorTile)(VIEWPORT_COLOR, {
|
|
375
|
+
mask: {
|
|
376
|
+
kind: "inline-mask",
|
|
377
|
+
localPath: stripe,
|
|
378
|
+
bounds: { x: 0, y: 0, width: W, height: H },
|
|
379
|
+
},
|
|
380
|
+
overlay: {
|
|
381
|
+
...(ov.xExpr ? { xExpr: (0, template_utils_1.rebalanceAdditiveChains)(ov.xExpr) } : {}),
|
|
382
|
+
...(ov.yExpr ? { yExpr: (0, template_utils_1.rebalanceAdditiveChains)(ov.yExpr) } : {}),
|
|
383
|
+
},
|
|
384
|
+
});
|
|
385
|
+
sources.push(guide(vStripe, { xExpr: xL }));
|
|
386
|
+
sources.push(guide(vStripe, { xExpr: `${xL}+${W}/${zE}-${ringT}` }));
|
|
387
|
+
sources.push(guide(hStripe, { yExpr: yT }));
|
|
388
|
+
sources.push(guide(hStripe, { yExpr: `${yT}+${H}/${zE}-${ringT}` }));
|
|
389
|
+
}
|
|
390
|
+
else if (rawZoom != null && rawZoom > 1) {
|
|
391
|
+
// Constant zoom: the closed ring pans on the raw focus exprs.
|
|
392
|
+
pushViewportRing(rawZoom, fx, fy);
|
|
393
|
+
}
|
|
394
|
+
else {
|
|
395
|
+
// zoom absent / ≤ 1 → the camera is a no-op by contract.
|
|
396
|
+
pushStaticRing();
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
else if (zoom > 1 && rects.length > 0) {
|
|
401
|
+
const targets = rects.map((r, i) => ({
|
|
402
|
+
rect: { x: r.x, y: r.y, width: r.width, height: r.height },
|
|
403
|
+
atSec: settle(i + 1),
|
|
404
|
+
}));
|
|
405
|
+
const pullBack = {
|
|
406
|
+
endSec,
|
|
407
|
+
earliestStartSec: timeline.stepStartSec(targets.length),
|
|
408
|
+
settleOutSec: Math.min(settle(targets.length) + timeline.stepDurSec / 2, endSec),
|
|
409
|
+
};
|
|
410
|
+
const env = (0, template_utils_1.resolvePullBackEnvelope)(pullBack);
|
|
411
|
+
if (((_d = props.mode) !== null && _d !== void 0 ? _d : "smooth") === "snap") {
|
|
412
|
+
const boxes = [];
|
|
413
|
+
for (let i = 0; i < targets.length; i++) {
|
|
414
|
+
const tg = targets[i];
|
|
415
|
+
const fx = (0, template_utils_1.centerFocus)((tg.rect.x + tg.rect.width / 2) / W, zoom);
|
|
416
|
+
const fy = (0, template_utils_1.centerFocus)((tg.rect.y + tg.rect.height / 2) / H, zoom);
|
|
417
|
+
const vp = (0, template_utils_1.cameraViewportRect)(fx, fy, zoom, W, H);
|
|
418
|
+
const from = timeline.stepStartSec(i + 1);
|
|
419
|
+
const to = i + 1 < targets.length
|
|
420
|
+
? timeline.stepStartSec(i + 2)
|
|
421
|
+
: env.active
|
|
422
|
+
? env.outStartSec
|
|
423
|
+
: endSec;
|
|
424
|
+
boxes.push({
|
|
425
|
+
x: Math.round(vp.x),
|
|
426
|
+
y: Math.round(vp.y),
|
|
427
|
+
w: Math.max(2 * ringT, Math.round(vp.width)),
|
|
428
|
+
h: Math.max(2 * ringT, Math.round(vp.height)),
|
|
429
|
+
fromSec: from,
|
|
430
|
+
toSec: to,
|
|
431
|
+
thicknessPx: ringT,
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
// Full view ARRIVES: a full-frame ring holds from zoomEnd to the
|
|
435
|
+
// end. The gap after the last settle ring is the pull-back transit.
|
|
436
|
+
if (env.active) {
|
|
437
|
+
boxes.push({ x: 0, y: 0, w: W, h: H, fromSec: env.zoomEndSec, thicknessPx: ringT });
|
|
438
|
+
}
|
|
439
|
+
if (boxes.length > 0) {
|
|
440
|
+
sources.push((0, template_utils_1.gatedBoxTrackSource)(boxes, { color: VIEWPORT_COLOR }));
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
else {
|
|
444
|
+
// Smooth mode = the filmstrip over the SAME keys the follow camera
|
|
445
|
+
// compiles: settle keyframes per target, then a clean pull-back
|
|
446
|
+
// envelope (hold the last focus until the pull-back starts, ease to
|
|
447
|
+
// center + zoom 1 by zoomEnd, hold full frame to the end). The rect
|
|
448
|
+
// follows the walk AND grows during the pull-back — no transit gap.
|
|
449
|
+
// (On squeezed tails the ENGINE's envelope emits overlapping gates —
|
|
450
|
+
// the characterized F2 quirk; the filmstrip shows the intended path.)
|
|
451
|
+
const xs = targets.map((tg) => ({
|
|
452
|
+
t: tg.atSec,
|
|
453
|
+
v: (0, template_utils_1.centerFocus)((tg.rect.x + tg.rect.width / 2) / W, zoom),
|
|
454
|
+
}));
|
|
455
|
+
const ys = targets.map((tg) => ({
|
|
456
|
+
t: tg.atSec,
|
|
457
|
+
v: (0, template_utils_1.centerFocus)((tg.rect.y + tg.rect.height / 2) / H, zoom),
|
|
458
|
+
}));
|
|
459
|
+
let zoomKeys = [{ t: 0, v: zoom }];
|
|
460
|
+
if (env.active) {
|
|
461
|
+
const pbStart = Math.min(endSec, Math.max(env.outStartSec, xs[xs.length - 1].t));
|
|
462
|
+
const pbEnd = Math.min(endSec, Math.max(env.zoomEndSec, pbStart + 0.3));
|
|
463
|
+
if (pbEnd > pbStart) {
|
|
464
|
+
xs.push({ t: pbStart, v: xs[xs.length - 1].v }, { t: pbEnd, v: 0.5 });
|
|
465
|
+
ys.push({ t: pbStart, v: ys[ys.length - 1].v }, { t: pbEnd, v: 0.5 });
|
|
466
|
+
zoomKeys = [
|
|
467
|
+
{ t: pbStart, v: zoom },
|
|
468
|
+
{ t: pbEnd, v: 1 },
|
|
469
|
+
];
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
pushFilmstrip((t) => sampleKeys(zoomKeys, t), (t) => sampleKeys(xs, t), (t) => sampleKeys(ys, t), endSec);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
else {
|
|
476
|
+
// Camera never moves (zoom ≤ 1): static full-frame viewport ring.
|
|
477
|
+
pushStaticRing();
|
|
478
|
+
}
|
|
479
|
+
return Promise.resolve({
|
|
480
|
+
kind: "mosaic_document",
|
|
481
|
+
version: 1,
|
|
482
|
+
assets: {},
|
|
483
|
+
m0: (0, template_utils_1.buildOverlayStack)(sources.length),
|
|
484
|
+
sources,
|
|
485
|
+
backgroundColor: BG_COLOR,
|
|
486
|
+
durationMs: timeline.durationMs,
|
|
487
|
+
});
|
|
488
|
+
},
|
|
489
|
+
};
|
|
490
|
+
(0, template_utils_1.registerTemplate)(exports.CameraDebug);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./v1/fixture-fetcher";
|
|
@@ -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/fixture-fetcher"), exports);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { MosaicTemplateUpstreamData, MosaicTemplateUpstreamVariables } from "@m0saic/types";
|
|
2
|
+
/**
|
|
3
|
+
* `@m0saic/meta/fixture-fetcher/v1` — the capability-layer PROOF fixture.
|
|
4
|
+
*
|
|
5
|
+
* A deterministic, network-free, fs-free stand-in for a real data
|
|
6
|
+
* fetcher (the GitHub fetcher lands in F5). Its only job is to
|
|
7
|
+
* exercise the capability plumbing end-to-end and anchor the
|
|
8
|
+
* regression suites:
|
|
9
|
+
*
|
|
10
|
+
* - publishes a fixed payload as an aliased `MosaicDataSource` in a
|
|
11
|
+
* data-only `mosaic_document` (pipeline-step-0 shape);
|
|
12
|
+
* - when `secretRef` is set, resolves it via `ctx.secrets` (which
|
|
13
|
+
* only reaches this template because it declares
|
|
14
|
+
* `tier: "capability"` — the Level 1 gate strips it otherwise) and
|
|
15
|
+
* publishes a DERIVED, non-secret marker: `{ secretResolved: true,
|
|
16
|
+
* secretLength }`. Cleartext never enters the document, the
|
|
17
|
+
* upstream channel, or the sidecar;
|
|
18
|
+
* - mirrors the published payload to `sidecars` so the jobs / CLI
|
|
19
|
+
* e2e suites can byte-assert what flowed through the pipeline.
|
|
20
|
+
*
|
|
21
|
+
* The returned doc pairs the data source with a minimal 1-cell black
|
|
22
|
+
* CARRIER (the documented "data + renderable coexistence" shape from
|
|
23
|
+
* `MosaicDataSource`'s contract): a `.mosaicx` wrapper installs the
|
|
24
|
+
* rendered doc as a child behind a `mosaic` ref, and a ref's cell
|
|
25
|
+
* must point at something renderable — a strictly data-only child is
|
|
26
|
+
* unplannable behind a ref today. The carrier renders a black tile;
|
|
27
|
+
* when the owning pipeline step is `intermediate: true` (the intended
|
|
28
|
+
* wiring) that tile never reaches the deliverable. The strictly
|
|
29
|
+
* data-only INLINE step shape (no carrier) is covered by the planner
|
|
30
|
+
* unit tests (clean skip / PIPELINE_DATA_ONLY_STEP_NOT_INTERMEDIATE).
|
|
31
|
+
*
|
|
32
|
+
* Defaults are fully self-contained: no env var, no secret, no
|
|
33
|
+
* network — the default e2e sweep stays green.
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* The fixed deterministic payload published when `payload` is not
|
|
37
|
+
* supplied. The e2e suites byte-assert against this exact object —
|
|
38
|
+
* change it and the sidecar-equality fixtures change with it.
|
|
39
|
+
*/
|
|
40
|
+
export declare const FIXTURE_FETCHER_DEFAULT_PAYLOAD: {
|
|
41
|
+
readonly dataset: "m0saic-fixture";
|
|
42
|
+
readonly version: 1;
|
|
43
|
+
readonly series: readonly [3, 5, 8, 13];
|
|
44
|
+
readonly label: "deterministic fixture payload";
|
|
45
|
+
};
|
|
46
|
+
export type FixtureFetcherProps = {
|
|
47
|
+
/** Alias the data block publishes under. Default `"fixtureData"`. */
|
|
48
|
+
alias?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Payload to publish instead of the built-in fixture object. Must be
|
|
51
|
+
* a plain JSON object (it becomes `MosaicDataSource.variables`).
|
|
52
|
+
*/
|
|
53
|
+
payload?: Record<string, unknown>;
|
|
54
|
+
/**
|
|
55
|
+
* Optional `SecretRef` (e.g. `env:M0SAIC_FIXTURE_SECRET`). When set,
|
|
56
|
+
* the ref is resolved via `ctx.secrets` and a derived non-secret
|
|
57
|
+
* marker is published under the `secret` key of the data block.
|
|
58
|
+
* Fails fast when the ref is unresolvable or `ctx.secrets` is absent.
|
|
59
|
+
*/
|
|
60
|
+
secretRef?: string;
|
|
61
|
+
};
|
|
62
|
+
type FixtureFetcherOutputs = {
|
|
63
|
+
dataset: string;
|
|
64
|
+
version: number;
|
|
65
|
+
series: number[];
|
|
66
|
+
label: string;
|
|
67
|
+
secret: {
|
|
68
|
+
secretResolved: boolean;
|
|
69
|
+
secretLength: number;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
type FixtureFetcherSidecars = {
|
|
73
|
+
fixtureData: Record<string, unknown>;
|
|
74
|
+
};
|
|
75
|
+
export declare const FixtureFetcher: import("@m0saic/types").MosaicTemplate<FixtureFetcherProps, FixtureFetcherOutputs, MosaicTemplateUpstreamVariables, MosaicTemplateUpstreamData, FixtureFetcherSidecars>;
|
|
76
|
+
export default FixtureFetcher;
|