@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,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-input step builder for the trickplay pipeline.
|
|
3
|
+
*
|
|
4
|
+
* One input fans out to one pipeline step PER SHEET (long content
|
|
5
|
+
* overflows a sheet's cols·rowsPerSheet capacity). Every cell is the
|
|
6
|
+
* same video asset seeked to its own timestamp — screencap-grid's
|
|
7
|
+
* frame-at-timestamp mechanism (`clipStartMs` + freeze) with the
|
|
8
|
+
* proportional math swapped for the fixed cadence in `plan.ts`.
|
|
9
|
+
*
|
|
10
|
+
* The per-input index sidecars (WebVTT storyboard + JSON manifest)
|
|
11
|
+
* ride the FIRST sheet step, image modes only — the engine writes them
|
|
12
|
+
* next to that sheet's deliverable and resolves the step-output tokens
|
|
13
|
+
* to final basenames. The mp4 mode (animated contact-sheet preview)
|
|
14
|
+
* emits no sidecars: index files only make sense against image sheets.
|
|
15
|
+
*/
|
|
16
|
+
import type { MosaicEngineContext, MosaicPipelineStep } from "@m0saic/types";
|
|
17
|
+
/** Fixed duration for image sheet steps — a single-frame render. */
|
|
18
|
+
export declare const IMAGE_STEP_MS = 40;
|
|
19
|
+
/** Duration used for error-mosaic steps (input problems). */
|
|
20
|
+
export declare const ERROR_STEP_MS = 1000;
|
|
21
|
+
export type TrickplayOutputFormat = "png" | "jpeg" | "mp4";
|
|
22
|
+
/** Resolved knobs a step needs (validated once by the template). */
|
|
23
|
+
export type TrickplayStepKnobs = {
|
|
24
|
+
intervalSec: number;
|
|
25
|
+
tileWidth: number;
|
|
26
|
+
cols: number;
|
|
27
|
+
rowsPerSheet: number;
|
|
28
|
+
outputFormat: TrickplayOutputFormat;
|
|
29
|
+
};
|
|
30
|
+
/** Step name for input `stepBaseName`'s sheet `sheetIndex` (0-based → `__sheet_01`). */
|
|
31
|
+
export declare function sheetStepName(stepBaseName: string, sheetIndex: number): string;
|
|
32
|
+
/**
|
|
33
|
+
* The m0 for one sheet: `rows` stacked rows of `cols` cells, with the
|
|
34
|
+
* trailing cells of a partial last row as null tiles (`-` holes — they
|
|
35
|
+
* consume no source; the doc's black background shows through).
|
|
36
|
+
* Produces the identical string to `grid({rows, cols}).m0` when the
|
|
37
|
+
* sheet is full (locked by a unit test).
|
|
38
|
+
*/
|
|
39
|
+
export declare function buildSheetM0(rows: number, cols: number, thumbCount: number): string;
|
|
40
|
+
/**
|
|
41
|
+
* Build the pipeline steps for one input: one step per sheet, plus the
|
|
42
|
+
* per-input index sidecars on the first sheet step. Input problems
|
|
43
|
+
* degrade to a single error-mosaic step so one bad file never kills a
|
|
44
|
+
* batch.
|
|
45
|
+
*/
|
|
46
|
+
export declare function buildTrickplayStepsForInput(args: {
|
|
47
|
+
inputPath: string;
|
|
48
|
+
stepBaseName: string;
|
|
49
|
+
knobs: TrickplayStepKnobs;
|
|
50
|
+
ctx: MosaicEngineContext;
|
|
51
|
+
}): MosaicPipelineStep[];
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Per-input step builder for the trickplay pipeline.
|
|
4
|
+
*
|
|
5
|
+
* One input fans out to one pipeline step PER SHEET (long content
|
|
6
|
+
* overflows a sheet's cols·rowsPerSheet capacity). Every cell is the
|
|
7
|
+
* same video asset seeked to its own timestamp — screencap-grid's
|
|
8
|
+
* frame-at-timestamp mechanism (`clipStartMs` + freeze) with the
|
|
9
|
+
* proportional math swapped for the fixed cadence in `plan.ts`.
|
|
10
|
+
*
|
|
11
|
+
* The per-input index sidecars (WebVTT storyboard + JSON manifest)
|
|
12
|
+
* ride the FIRST sheet step, image modes only — the engine writes them
|
|
13
|
+
* next to that sheet's deliverable and resolves the step-output tokens
|
|
14
|
+
* to final basenames. The mp4 mode (animated contact-sheet preview)
|
|
15
|
+
* emits no sidecars: index files only make sense against image sheets.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ERROR_STEP_MS = exports.IMAGE_STEP_MS = void 0;
|
|
19
|
+
exports.sheetStepName = sheetStepName;
|
|
20
|
+
exports.buildSheetM0 = buildSheetM0;
|
|
21
|
+
exports.buildTrickplayStepsForInput = buildTrickplayStepsForInput;
|
|
22
|
+
const types_1 = require("@m0saic/types");
|
|
23
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
24
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
25
|
+
const plan_1 = require("./plan");
|
|
26
|
+
const sidecars_1 = require("./sidecars");
|
|
27
|
+
/** Fixed duration for image sheet steps — a single-frame render. */
|
|
28
|
+
exports.IMAGE_STEP_MS = 40;
|
|
29
|
+
/** Duration used for error-mosaic steps (input problems). */
|
|
30
|
+
exports.ERROR_STEP_MS = 1000;
|
|
31
|
+
const ERROR_TITLE = "Trickplay";
|
|
32
|
+
/** Step name for input `stepBaseName`'s sheet `sheetIndex` (0-based → `__sheet_01`). */
|
|
33
|
+
function sheetStepName(stepBaseName, sheetIndex) {
|
|
34
|
+
return `${stepBaseName}__sheet_${String(sheetIndex + 1).padStart(2, "0")}`;
|
|
35
|
+
}
|
|
36
|
+
/** Input basename without directory or extension — the step label.
|
|
37
|
+
* Local (not node:path) so the template stays web-bundle clean. */
|
|
38
|
+
function inputLabel(p) {
|
|
39
|
+
var _a;
|
|
40
|
+
const base = (_a = p.split(/[\\/]/).pop()) !== null && _a !== void 0 ? _a : p;
|
|
41
|
+
const dot = base.lastIndexOf(".");
|
|
42
|
+
return dot > 0 ? base.slice(0, dot) : base;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The m0 for one sheet: `rows` stacked rows of `cols` cells, with the
|
|
46
|
+
* trailing cells of a partial last row as null tiles (`-` holes — they
|
|
47
|
+
* consume no source; the doc's black background shows through).
|
|
48
|
+
* Produces the identical string to `grid({rows, cols}).m0` when the
|
|
49
|
+
* sheet is full (locked by a unit test).
|
|
50
|
+
*/
|
|
51
|
+
function buildSheetM0(rows, cols, thumbCount) {
|
|
52
|
+
const rowStrs = [];
|
|
53
|
+
for (let r = 0; r < rows; r++) {
|
|
54
|
+
const tokens = [];
|
|
55
|
+
for (let c = 0; c < cols; c++) {
|
|
56
|
+
tokens.push(r * cols + c < thumbCount ? "1" : "-");
|
|
57
|
+
}
|
|
58
|
+
rowStrs.push(cols === 1 ? tokens[0] : `${cols}(${tokens.join(",")})`);
|
|
59
|
+
}
|
|
60
|
+
return rows === 1 ? rowStrs[0] : `${rows}[${rowStrs.join(",")}]`;
|
|
61
|
+
}
|
|
62
|
+
function errorStep(stepName, label, message, ctx) {
|
|
63
|
+
return {
|
|
64
|
+
name: stepName,
|
|
65
|
+
label,
|
|
66
|
+
durationMs: exports.ERROR_STEP_MS,
|
|
67
|
+
file: (0, template_utils_1.makeErrorMosaic)(message, {
|
|
68
|
+
title: ERROR_TITLE,
|
|
69
|
+
width: ctx.target.width,
|
|
70
|
+
height: ctx.target.height,
|
|
71
|
+
}),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Build the pipeline steps for one input: one step per sheet, plus the
|
|
76
|
+
* per-input index sidecars on the first sheet step. Input problems
|
|
77
|
+
* degrade to a single error-mosaic step so one bad file never kills a
|
|
78
|
+
* batch.
|
|
79
|
+
*/
|
|
80
|
+
function buildTrickplayStepsForInput(args) {
|
|
81
|
+
var _a, _b, _c;
|
|
82
|
+
const { inputPath, stepBaseName, knobs, ctx } = args;
|
|
83
|
+
const label = inputLabel(inputPath);
|
|
84
|
+
const firstStepName = sheetStepName(stepBaseName, 0);
|
|
85
|
+
const meta = ctx.media[(0, types_1.asAssetId)(inputPath)];
|
|
86
|
+
if (!meta || !(meta.width > 0) || !(meta.height > 0)) {
|
|
87
|
+
return [errorStep(firstStepName, label, `No probed dimensions for input: ${inputPath}`, ctx)];
|
|
88
|
+
}
|
|
89
|
+
if (meta.kind !== "video") {
|
|
90
|
+
return [
|
|
91
|
+
errorStep(firstStepName, label, `Trickplay needs a video input (kind: ${meta.kind}): ${inputPath}`, ctx),
|
|
92
|
+
];
|
|
93
|
+
}
|
|
94
|
+
if (!(meta.durationMs != null && meta.durationMs > 0)) {
|
|
95
|
+
return [errorStep(firstStepName, label, `Video input has no probed duration: ${inputPath}`, ctx)];
|
|
96
|
+
}
|
|
97
|
+
try {
|
|
98
|
+
const frameMs = Math.max(1, Math.round(1000 / ((_b = (_a = meta.fps) !== null && _a !== void 0 ? _a : ctx.target.fps) !== null && _b !== void 0 ? _b : 30)));
|
|
99
|
+
const plan = (0, plan_1.planTrickplay)({
|
|
100
|
+
durationMs: meta.durationMs,
|
|
101
|
+
srcWidth: meta.width,
|
|
102
|
+
srcHeight: meta.height,
|
|
103
|
+
frameMs,
|
|
104
|
+
intervalSec: knobs.intervalSec,
|
|
105
|
+
tileWidth: knobs.tileWidth,
|
|
106
|
+
cols: knobs.cols,
|
|
107
|
+
rowsPerSheet: knobs.rowsPerSheet,
|
|
108
|
+
});
|
|
109
|
+
const isImage = knobs.outputFormat !== "mp4";
|
|
110
|
+
const format = isImage
|
|
111
|
+
? { kind: "image", container: knobs.outputFormat }
|
|
112
|
+
: { kind: "video", container: "mp4" };
|
|
113
|
+
const stepDurationMs = isImage ? exports.IMAGE_STEP_MS : ((_c = ctx.target.durationMs) !== null && _c !== void 0 ? _c : 5000);
|
|
114
|
+
const assetId = (0, types_1.asAssetId)((0, template_utils_1.slugifyAssetKeyFromPath)(inputPath));
|
|
115
|
+
const assets = {
|
|
116
|
+
[assetId]: { kind: "file", path: inputPath, mediaType: "video" },
|
|
117
|
+
};
|
|
118
|
+
return plan.sheets.map((sheet) => {
|
|
119
|
+
const sources = [];
|
|
120
|
+
for (let j = 0; j < sheet.thumbCount; j++) {
|
|
121
|
+
const t = plan.timestampsMs[sheet.firstThumbIndex + j];
|
|
122
|
+
sources.push({
|
|
123
|
+
type: "media",
|
|
124
|
+
mediaType: "video",
|
|
125
|
+
assetId,
|
|
126
|
+
// Cell aspect == source aspect up to even-rounding, so cover
|
|
127
|
+
// is an exact fit (no visible crop).
|
|
128
|
+
placement: { fit: "cover" },
|
|
129
|
+
playback: isImage
|
|
130
|
+
? { clipStartMs: t, clipDurationMs: frameMs, loopMode: "freeze" }
|
|
131
|
+
: { clipStartMs: t },
|
|
132
|
+
audio: { enabled: false },
|
|
133
|
+
editor: { owner: "template" },
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
const doc = {
|
|
137
|
+
kind: "mosaic_document",
|
|
138
|
+
version: 1,
|
|
139
|
+
m0: (0, dsl_stdlib_1.toM0String)(buildSheetM0(sheet.rows, sheet.cols, sheet.thumbCount), "Trickplay"),
|
|
140
|
+
assets,
|
|
141
|
+
sources,
|
|
142
|
+
size: { width: sheet.width, height: sheet.height },
|
|
143
|
+
backgroundColor: "#000000",
|
|
144
|
+
format,
|
|
145
|
+
...(isImage && sheet.index === 0
|
|
146
|
+
? { sidecars: buildIndexSidecars(plan, inputPath, meta.durationMs, knobs, stepBaseName) }
|
|
147
|
+
: {}),
|
|
148
|
+
};
|
|
149
|
+
return {
|
|
150
|
+
name: sheetStepName(stepBaseName, sheet.index),
|
|
151
|
+
label: plan.sheets.length > 1 ? `${label} (sheet ${sheet.index + 1}/${plan.sheets.length})` : label,
|
|
152
|
+
durationMs: stepDurationMs,
|
|
153
|
+
file: doc,
|
|
154
|
+
};
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
catch (err) {
|
|
158
|
+
return [
|
|
159
|
+
errorStep(firstStepName, label, `Trickplay step failed for ${inputPath}: ${err instanceof Error ? err.message : String(err)}`, ctx),
|
|
160
|
+
];
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
function buildIndexSidecars(plan, inputPath, durationMs, knobs, stepBaseName) {
|
|
164
|
+
const sheetRef = (sheetIndex) => (0, types_1.stepOutputToken)(sheetStepName(stepBaseName, sheetIndex));
|
|
165
|
+
return {
|
|
166
|
+
trickplay: (0, sidecars_1.buildTrickplayManifest)({
|
|
167
|
+
plan,
|
|
168
|
+
inputPath,
|
|
169
|
+
durationMs,
|
|
170
|
+
cols: knobs.cols,
|
|
171
|
+
rowsPerSheet: knobs.rowsPerSheet,
|
|
172
|
+
sheetRef,
|
|
173
|
+
}),
|
|
174
|
+
storyboard: {
|
|
175
|
+
kind: "text",
|
|
176
|
+
ext: "vtt",
|
|
177
|
+
content: (0, sidecars_1.buildStoryboardVtt)(plan, sheetRef),
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure trickplay math: fixed-interval seek timestamps, sheet
|
|
3
|
+
* partitioning, and per-thumb cue rectangles.
|
|
4
|
+
*
|
|
5
|
+
* This is the fixed-cadence counterpart of screencap-grid's
|
|
6
|
+
* proportional `computeTimestamps` (`(i+1)/(n+1)·d`): trickplay
|
|
7
|
+
* players expect one thumbnail per `interval`, placed row-major into
|
|
8
|
+
* fixed-capacity sheets — thumb `i` covers the timeline range
|
|
9
|
+
* `[i·interval, (i+1)·interval)` and lives at a coordinate derivable
|
|
10
|
+
* from `i` alone. Everything here is a pure function of its inputs.
|
|
11
|
+
*/
|
|
12
|
+
export type TrickplayKnobs = {
|
|
13
|
+
/** Seconds between thumbnails. */
|
|
14
|
+
intervalSec: number;
|
|
15
|
+
/** Thumbnail width in px (even-rounded; height derives from source aspect). */
|
|
16
|
+
tileWidth: number;
|
|
17
|
+
/** Tiles per sheet row. */
|
|
18
|
+
cols: number;
|
|
19
|
+
/** Max tile rows per sheet. */
|
|
20
|
+
rowsPerSheet: number;
|
|
21
|
+
};
|
|
22
|
+
export type TrickplayCue = {
|
|
23
|
+
/** Timeline range this thumb previews. `endMs` is exclusive; the last cue ends at the media duration. */
|
|
24
|
+
startMs: number;
|
|
25
|
+
endMs: number;
|
|
26
|
+
/** Which sheet the thumb lives in. */
|
|
27
|
+
sheetIndex: number;
|
|
28
|
+
/** Pixel rect within the sheet (the WebVTT `#xywh` values). */
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
w: number;
|
|
32
|
+
h: number;
|
|
33
|
+
};
|
|
34
|
+
export type TrickplaySheet = {
|
|
35
|
+
index: number;
|
|
36
|
+
/** Tile rows actually present (the last sheet is trimmed). */
|
|
37
|
+
rows: number;
|
|
38
|
+
cols: number;
|
|
39
|
+
/** Sheet canvas dims in px — exactly cols·tileWidth × rows·tileHeight. */
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
/** Thumbs on this sheet (< rows·cols only on the last sheet). */
|
|
43
|
+
thumbCount: number;
|
|
44
|
+
/** Global index of this sheet's first thumb. */
|
|
45
|
+
firstThumbIndex: number;
|
|
46
|
+
};
|
|
47
|
+
export type TrickplayPlan = {
|
|
48
|
+
intervalMs: number;
|
|
49
|
+
tileWidth: number;
|
|
50
|
+
tileHeight: number;
|
|
51
|
+
thumbnailCount: number;
|
|
52
|
+
/** Seek time per thumb, clamped so the last seek still yields a frame. */
|
|
53
|
+
timestampsMs: number[];
|
|
54
|
+
sheets: TrickplaySheet[];
|
|
55
|
+
cues: TrickplayCue[];
|
|
56
|
+
};
|
|
57
|
+
/** Round to the nearest even integer, floored at 2 (encoder-safe tile dims). */
|
|
58
|
+
export declare function evenRound(v: number): number;
|
|
59
|
+
export declare function planTrickplay(args: {
|
|
60
|
+
durationMs: number;
|
|
61
|
+
srcWidth: number;
|
|
62
|
+
srcHeight: number;
|
|
63
|
+
/** One source frame's duration in ms (seek clamp headroom). */
|
|
64
|
+
frameMs: number;
|
|
65
|
+
} & TrickplayKnobs): TrickplayPlan;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Pure trickplay math: fixed-interval seek timestamps, sheet
|
|
4
|
+
* partitioning, and per-thumb cue rectangles.
|
|
5
|
+
*
|
|
6
|
+
* This is the fixed-cadence counterpart of screencap-grid's
|
|
7
|
+
* proportional `computeTimestamps` (`(i+1)/(n+1)·d`): trickplay
|
|
8
|
+
* players expect one thumbnail per `interval`, placed row-major into
|
|
9
|
+
* fixed-capacity sheets — thumb `i` covers the timeline range
|
|
10
|
+
* `[i·interval, (i+1)·interval)` and lives at a coordinate derivable
|
|
11
|
+
* from `i` alone. Everything here is a pure function of its inputs.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.evenRound = evenRound;
|
|
15
|
+
exports.planTrickplay = planTrickplay;
|
|
16
|
+
/** Round to the nearest even integer, floored at 2 (encoder-safe tile dims). */
|
|
17
|
+
function evenRound(v) {
|
|
18
|
+
return Math.max(2, 2 * Math.round(v / 2));
|
|
19
|
+
}
|
|
20
|
+
function planTrickplay(args) {
|
|
21
|
+
const { durationMs, srcWidth, srcHeight, frameMs } = args;
|
|
22
|
+
if (!(durationMs > 0)) {
|
|
23
|
+
throw new Error(`planTrickplay: durationMs must be > 0 (got ${durationMs})`);
|
|
24
|
+
}
|
|
25
|
+
if (!(srcWidth > 0) || !(srcHeight > 0)) {
|
|
26
|
+
throw new Error(`planTrickplay: source dims must be > 0 (got ${srcWidth}×${srcHeight})`);
|
|
27
|
+
}
|
|
28
|
+
const intervalMs = Math.max(1, Math.round(args.intervalSec * 1000));
|
|
29
|
+
const cols = Math.max(1, Math.round(args.cols));
|
|
30
|
+
const rowsPerSheet = Math.max(1, Math.round(args.rowsPerSheet));
|
|
31
|
+
const tileWidth = evenRound(args.tileWidth);
|
|
32
|
+
const tileHeight = evenRound(tileWidth * (srcHeight / srcWidth));
|
|
33
|
+
const thumbnailCount = Math.max(1, Math.ceil(durationMs / intervalMs));
|
|
34
|
+
// Seek at each interval start; clamp so the final seek lands at least
|
|
35
|
+
// one frame before EOF (a seek at/past EOF yields no frame). t_0 stays 0.
|
|
36
|
+
const maxSeek = Math.max(0, Math.round(durationMs - frameMs));
|
|
37
|
+
const timestampsMs = Array.from({ length: thumbnailCount }, (_, i) => Math.min(i * intervalMs, maxSeek));
|
|
38
|
+
const capacity = cols * rowsPerSheet;
|
|
39
|
+
const sheetCount = Math.ceil(thumbnailCount / capacity);
|
|
40
|
+
const sheets = Array.from({ length: sheetCount }, (_, s) => {
|
|
41
|
+
const firstThumbIndex = s * capacity;
|
|
42
|
+
const thumbCount = Math.min(capacity, thumbnailCount - firstThumbIndex);
|
|
43
|
+
const rows = Math.ceil(thumbCount / cols);
|
|
44
|
+
return {
|
|
45
|
+
index: s,
|
|
46
|
+
rows,
|
|
47
|
+
cols,
|
|
48
|
+
width: cols * tileWidth,
|
|
49
|
+
height: rows * tileHeight,
|
|
50
|
+
thumbCount,
|
|
51
|
+
firstThumbIndex,
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
const cues = Array.from({ length: thumbnailCount }, (_, i) => {
|
|
55
|
+
const sheetIndex = Math.floor(i / capacity);
|
|
56
|
+
const j = i - sheetIndex * capacity;
|
|
57
|
+
return {
|
|
58
|
+
startMs: i * intervalMs,
|
|
59
|
+
endMs: Math.min((i + 1) * intervalMs, Math.round(durationMs)),
|
|
60
|
+
sheetIndex,
|
|
61
|
+
x: (j % cols) * tileWidth,
|
|
62
|
+
y: Math.floor(j / cols) * tileHeight,
|
|
63
|
+
w: tileWidth,
|
|
64
|
+
h: tileHeight,
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
return {
|
|
68
|
+
intervalMs,
|
|
69
|
+
tileWidth,
|
|
70
|
+
tileHeight,
|
|
71
|
+
thumbnailCount,
|
|
72
|
+
timestampsMs,
|
|
73
|
+
sheets,
|
|
74
|
+
cues,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trickplay index-file builders: the WebVTT storyboard and the JSON
|
|
3
|
+
* manifest. Both reference sheet images via `{{stepOutput:<stepName>}}`
|
|
4
|
+
* tokens (see `@m0saic/types` `stepOutputToken`) — the engine's sidecar
|
|
5
|
+
* writer substitutes each token with the sheet deliverable's final
|
|
6
|
+
* on-disk basename, so the emitted references are valid relative URLs
|
|
7
|
+
* next to the index files.
|
|
8
|
+
*
|
|
9
|
+
* Conventions covered:
|
|
10
|
+
* - WebVTT storyboard (`#xywh=x,y,w,h` media fragments) — the
|
|
11
|
+
* de-facto web-player format (Video.js, JW, Bitmovin, THEO, hls.js UIs).
|
|
12
|
+
* - Jellyfin trickplay fields (Width/Height = per-thumb px,
|
|
13
|
+
* TileWidth/TileHeight = tiles per row/column, ThumbnailCount,
|
|
14
|
+
* Interval in ms). Bandwidth is omitted — sheet byte sizes are
|
|
15
|
+
* unknowable at make-time.
|
|
16
|
+
* - DASH-IF thumbnail tiles (`thumbnail_tile` EssentialProperty,
|
|
17
|
+
* value "HxV") — ready to lift into an MPD.
|
|
18
|
+
*/
|
|
19
|
+
import type { TrickplayPlan } from "./plan";
|
|
20
|
+
export type TrickplayManifest = {
|
|
21
|
+
version: 1;
|
|
22
|
+
input: string;
|
|
23
|
+
durationMs: number;
|
|
24
|
+
intervalMs: number;
|
|
25
|
+
tileWidth: number;
|
|
26
|
+
tileHeight: number;
|
|
27
|
+
cols: number;
|
|
28
|
+
rowsPerSheet: number;
|
|
29
|
+
thumbnailCount: number;
|
|
30
|
+
sheets: Array<{
|
|
31
|
+
/** Sheet image file reference (step-output token → final basename). */
|
|
32
|
+
file: string;
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
rows: number;
|
|
36
|
+
cols: number;
|
|
37
|
+
thumbCount: number;
|
|
38
|
+
firstThumbIndex: number;
|
|
39
|
+
}>;
|
|
40
|
+
cues: Array<{
|
|
41
|
+
startMs: number;
|
|
42
|
+
endMs: number;
|
|
43
|
+
/** Sheet image file reference (step-output token → final basename). */
|
|
44
|
+
sheet: string;
|
|
45
|
+
x: number;
|
|
46
|
+
y: number;
|
|
47
|
+
w: number;
|
|
48
|
+
h: number;
|
|
49
|
+
}>;
|
|
50
|
+
jellyfin: {
|
|
51
|
+
Width: number;
|
|
52
|
+
Height: number;
|
|
53
|
+
TileWidth: number;
|
|
54
|
+
TileHeight: number;
|
|
55
|
+
ThumbnailCount: number;
|
|
56
|
+
Interval: number;
|
|
57
|
+
};
|
|
58
|
+
dashIf: {
|
|
59
|
+
schemeIdUri: "http://dashif.org/guidelines/thumbnail_tile";
|
|
60
|
+
value: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
/** Format milliseconds as a WebVTT timestamp (`HH:MM:SS.mmm`). */
|
|
64
|
+
export declare function formatVttTimestamp(ms: number): string;
|
|
65
|
+
/**
|
|
66
|
+
* Build the WebVTT storyboard. `sheetRef(sheetIndex)` supplies the
|
|
67
|
+
* sheet-image reference for each cue's payload (a step-output token in
|
|
68
|
+
* production; tests may pass literal names).
|
|
69
|
+
*/
|
|
70
|
+
export declare function buildStoryboardVtt(plan: TrickplayPlan, sheetRef: (sheetIndex: number) => string): string;
|
|
71
|
+
/** Build the JSON manifest (Jellyfin + DASH-IF blocks + full cue list). */
|
|
72
|
+
export declare function buildTrickplayManifest(args: {
|
|
73
|
+
plan: TrickplayPlan;
|
|
74
|
+
inputPath: string;
|
|
75
|
+
durationMs: number;
|
|
76
|
+
cols: number;
|
|
77
|
+
rowsPerSheet: number;
|
|
78
|
+
sheetRef: (sheetIndex: number) => string;
|
|
79
|
+
}): TrickplayManifest;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Trickplay index-file builders: the WebVTT storyboard and the JSON
|
|
4
|
+
* manifest. Both reference sheet images via `{{stepOutput:<stepName>}}`
|
|
5
|
+
* tokens (see `@m0saic/types` `stepOutputToken`) — the engine's sidecar
|
|
6
|
+
* writer substitutes each token with the sheet deliverable's final
|
|
7
|
+
* on-disk basename, so the emitted references are valid relative URLs
|
|
8
|
+
* next to the index files.
|
|
9
|
+
*
|
|
10
|
+
* Conventions covered:
|
|
11
|
+
* - WebVTT storyboard (`#xywh=x,y,w,h` media fragments) — the
|
|
12
|
+
* de-facto web-player format (Video.js, JW, Bitmovin, THEO, hls.js UIs).
|
|
13
|
+
* - Jellyfin trickplay fields (Width/Height = per-thumb px,
|
|
14
|
+
* TileWidth/TileHeight = tiles per row/column, ThumbnailCount,
|
|
15
|
+
* Interval in ms). Bandwidth is omitted — sheet byte sizes are
|
|
16
|
+
* unknowable at make-time.
|
|
17
|
+
* - DASH-IF thumbnail tiles (`thumbnail_tile` EssentialProperty,
|
|
18
|
+
* value "HxV") — ready to lift into an MPD.
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.formatVttTimestamp = formatVttTimestamp;
|
|
22
|
+
exports.buildStoryboardVtt = buildStoryboardVtt;
|
|
23
|
+
exports.buildTrickplayManifest = buildTrickplayManifest;
|
|
24
|
+
/** Format milliseconds as a WebVTT timestamp (`HH:MM:SS.mmm`). */
|
|
25
|
+
function formatVttTimestamp(ms) {
|
|
26
|
+
const clamped = Math.max(0, Math.round(ms));
|
|
27
|
+
const msPart = clamped % 1000;
|
|
28
|
+
const totalSec = Math.floor(clamped / 1000);
|
|
29
|
+
const sec = totalSec % 60;
|
|
30
|
+
const min = Math.floor(totalSec / 60) % 60;
|
|
31
|
+
const hr = Math.floor(totalSec / 3600);
|
|
32
|
+
const pad = (n, w) => String(n).padStart(w, "0");
|
|
33
|
+
return `${pad(hr, 2)}:${pad(min, 2)}:${pad(sec, 2)}.${pad(msPart, 3)}`;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Build the WebVTT storyboard. `sheetRef(sheetIndex)` supplies the
|
|
37
|
+
* sheet-image reference for each cue's payload (a step-output token in
|
|
38
|
+
* production; tests may pass literal names).
|
|
39
|
+
*/
|
|
40
|
+
function buildStoryboardVtt(plan, sheetRef) {
|
|
41
|
+
const cues = plan.cues.map((c) => `${formatVttTimestamp(c.startMs)} --> ${formatVttTimestamp(c.endMs)}\n` +
|
|
42
|
+
`${sheetRef(c.sheetIndex)}#xywh=${c.x},${c.y},${c.w},${c.h}`);
|
|
43
|
+
return `WEBVTT\n\n${cues.join("\n\n")}\n`;
|
|
44
|
+
}
|
|
45
|
+
/** Build the JSON manifest (Jellyfin + DASH-IF blocks + full cue list). */
|
|
46
|
+
function buildTrickplayManifest(args) {
|
|
47
|
+
const { plan, inputPath, durationMs, cols, rowsPerSheet, sheetRef } = args;
|
|
48
|
+
return {
|
|
49
|
+
version: 1,
|
|
50
|
+
input: inputPath,
|
|
51
|
+
durationMs: Math.round(durationMs),
|
|
52
|
+
intervalMs: plan.intervalMs,
|
|
53
|
+
tileWidth: plan.tileWidth,
|
|
54
|
+
tileHeight: plan.tileHeight,
|
|
55
|
+
cols,
|
|
56
|
+
rowsPerSheet,
|
|
57
|
+
thumbnailCount: plan.thumbnailCount,
|
|
58
|
+
sheets: plan.sheets.map((s) => ({
|
|
59
|
+
file: sheetRef(s.index),
|
|
60
|
+
width: s.width,
|
|
61
|
+
height: s.height,
|
|
62
|
+
rows: s.rows,
|
|
63
|
+
cols: s.cols,
|
|
64
|
+
thumbCount: s.thumbCount,
|
|
65
|
+
firstThumbIndex: s.firstThumbIndex,
|
|
66
|
+
})),
|
|
67
|
+
cues: plan.cues.map((c) => ({
|
|
68
|
+
startMs: c.startMs,
|
|
69
|
+
endMs: c.endMs,
|
|
70
|
+
sheet: sheetRef(c.sheetIndex),
|
|
71
|
+
x: c.x,
|
|
72
|
+
y: c.y,
|
|
73
|
+
w: c.w,
|
|
74
|
+
h: c.h,
|
|
75
|
+
})),
|
|
76
|
+
jellyfin: {
|
|
77
|
+
Width: plan.tileWidth,
|
|
78
|
+
Height: plan.tileHeight,
|
|
79
|
+
TileWidth: cols,
|
|
80
|
+
TileHeight: rowsPerSheet,
|
|
81
|
+
ThumbnailCount: plan.thumbnailCount,
|
|
82
|
+
Interval: plan.intervalMs,
|
|
83
|
+
},
|
|
84
|
+
dashIf: {
|
|
85
|
+
schemeIdUri: "http://dashif.org/guidelines/thumbnail_tile",
|
|
86
|
+
value: `${cols}x${rowsPerSheet}`,
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trickplay sheet generator — `@m0saic/media/trickplay/v1`.
|
|
3
|
+
*
|
|
4
|
+
* Renders the seek-preview artifacts video players use while scrubbing:
|
|
5
|
+
* sprite sheets of video thumbnails at a fixed interval, placed at
|
|
6
|
+
* known row-major grid coordinates, plus the player-consumable index
|
|
7
|
+
* files (WebVTT storyboard with `#xywh` cues; JSON manifest carrying
|
|
8
|
+
* Jellyfin-compatible fields and DASH-IF `thumbnail_tile` grid info).
|
|
9
|
+
*
|
|
10
|
+
* One template covers every output shape via the `outputFormat` knob
|
|
11
|
+
* (watermark's per-step-format precedent): `png` (default) / `jpeg`
|
|
12
|
+
* emit static sheets + index sidecars; `mp4` emits an animated
|
|
13
|
+
* contact-sheet preview (no sidecars). `outputHints` deliberately
|
|
14
|
+
* carries NO `format` — a template-level container hint would override
|
|
15
|
+
* the user's `-o` extension in `resolveOutputFormat`; each pipeline
|
|
16
|
+
* step declares its own format instead.
|
|
17
|
+
*
|
|
18
|
+
* Always returns an `emit:"multi"` pipeline (watermark precedent):
|
|
19
|
+
* per-step canvases are the only vehicle for probed-dims sheet sizing,
|
|
20
|
+
* and long inputs fan out to multiple sheet steps.
|
|
21
|
+
*/
|
|
22
|
+
import type { MosaicTemplate } from "@m0saic/types";
|
|
23
|
+
import { type TrickplayOutputFormat, type TrickplayStepKnobs } from "./pipeline";
|
|
24
|
+
export type TrickplayV1Props = {
|
|
25
|
+
/** Video(s) to index — a folder, one or more files, or drag-and-drop. One sheet set per input. */
|
|
26
|
+
sourceIds?: string[];
|
|
27
|
+
/** Seconds between thumbnails. Default 10 (Jellyfin parity). */
|
|
28
|
+
intervalSec?: number;
|
|
29
|
+
/** Thumbnail width in px (even-rounded; height derives from source aspect). Default 320. */
|
|
30
|
+
tileWidth?: number;
|
|
31
|
+
/** Thumbnails per sheet row. Default 10. */
|
|
32
|
+
cols?: number;
|
|
33
|
+
/** Max thumbnail rows per sheet; longer content spills to more sheets. Default 10. */
|
|
34
|
+
rowsPerSheet?: number;
|
|
35
|
+
/** Sheet output: png/jpeg static sheets + index sidecars, or an animated mp4 preview. Default "png". */
|
|
36
|
+
outputFormat?: TrickplayOutputFormat;
|
|
37
|
+
};
|
|
38
|
+
/** Resolve + clamp props to deterministic step knobs. */
|
|
39
|
+
export declare function resolveTrickplayKnobs(props: TrickplayV1Props): TrickplayStepKnobs;
|
|
40
|
+
export declare const Trickplay: MosaicTemplate<TrickplayV1Props>;
|