@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
|
+
* ============================================================================
|
|
3
|
+
* @m0saic/social/quote-card/v1 — pull-quote social cards
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* A pull-quote graphic for social: quote text + attribution + optional
|
|
7
|
+
* circular avatar over a hand-tuned themed card — emitted as a lossless PNG
|
|
8
|
+
* still. Square by default; the layout re-derives from `ctx.target` every
|
|
9
|
+
* render, so 4:5 / 9:16 / 16:9 exports come from `-w`/`-h` alone.
|
|
10
|
+
*
|
|
11
|
+
* Everything is real geometry (the Rect Thesis): the decorative quote mark,
|
|
12
|
+
* the wrapped quote block, the accent bar, the avatar circle and the
|
|
13
|
+
* name/role lines are m0 cells with StableKeys; margins and gaps are `-`
|
|
14
|
+
* null tiles. Text is rendered with the svg glyph rasterizer (bundled
|
|
15
|
+
* deterministic font — no host fontconfig, no drawtext spawn); the quote is
|
|
16
|
+
* greedy word-wrapped in the layout against that same font, since the
|
|
17
|
+
* rasterizer has no auto-wrap. The avatar is a media source clipped to a
|
|
18
|
+
* circle via `effects.rounding` (pill in a square cell).
|
|
19
|
+
*
|
|
20
|
+
* Still-first by design: `outputHints.format` container-locks the CLI
|
|
21
|
+
* output, so an animated sibling ships as its own video-hinted template id
|
|
22
|
+
* (the qr-stamp still/video precedent) — see TEMPLATE-NOTES.
|
|
23
|
+
* ============================================================================
|
|
24
|
+
*/
|
|
25
|
+
import type { MosaicColor, MosaicTemplate } from "@m0saic/types";
|
|
26
|
+
export type QuoteCardProps = {
|
|
27
|
+
/** The quote body. Wrapped automatically; supports any length (shrinks to fit). */
|
|
28
|
+
quote?: string;
|
|
29
|
+
/** Who said it (rendered bold under the accent bar). Empty = no attribution. */
|
|
30
|
+
attribution?: string;
|
|
31
|
+
/** Second attribution line — title, handle, book, episode. Empty = none. */
|
|
32
|
+
role?: string;
|
|
33
|
+
/** Avatar image, clipped to a circle beside the attribution. */
|
|
34
|
+
avatar?: string;
|
|
35
|
+
/** Card composition: "center" (classic) or "left" (editorial). Default "center". */
|
|
36
|
+
align?: "center" | "left";
|
|
37
|
+
/** Show the decorative opening-quote glyph above the quote. Default true. */
|
|
38
|
+
quoteMark?: boolean;
|
|
39
|
+
/** Accent color (quote mark + bar). Default m0saic orange. */
|
|
40
|
+
accent?: MosaicColor;
|
|
41
|
+
/** Hand-tuned background/ink duo. Default "light". */
|
|
42
|
+
preset?: "light" | "dark";
|
|
43
|
+
/** Background override (the card color). */
|
|
44
|
+
background?: MosaicColor;
|
|
45
|
+
/** Ink override (quote + attribution name). */
|
|
46
|
+
ink?: MosaicColor;
|
|
47
|
+
/** Outer margin, as a fraction of the canvas short edge. Default 0.09. */
|
|
48
|
+
margin?: number;
|
|
49
|
+
};
|
|
50
|
+
export declare const QuoteCard: MosaicTemplate<QuoteCardProps>;
|
|
51
|
+
export default QuoteCard;
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* @m0saic/social/quote-card/v1 — pull-quote social cards
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* A pull-quote graphic for social: quote text + attribution + optional
|
|
8
|
+
* circular avatar over a hand-tuned themed card — emitted as a lossless PNG
|
|
9
|
+
* still. Square by default; the layout re-derives from `ctx.target` every
|
|
10
|
+
* render, so 4:5 / 9:16 / 16:9 exports come from `-w`/`-h` alone.
|
|
11
|
+
*
|
|
12
|
+
* Everything is real geometry (the Rect Thesis): the decorative quote mark,
|
|
13
|
+
* the wrapped quote block, the accent bar, the avatar circle and the
|
|
14
|
+
* name/role lines are m0 cells with StableKeys; margins and gaps are `-`
|
|
15
|
+
* null tiles. Text is rendered with the svg glyph rasterizer (bundled
|
|
16
|
+
* deterministic font — no host fontconfig, no drawtext spawn); the quote is
|
|
17
|
+
* greedy word-wrapped in the layout against that same font, since the
|
|
18
|
+
* rasterizer has no auto-wrap. The avatar is a media source clipped to a
|
|
19
|
+
* circle via `effects.rounding` (pill in a square cell).
|
|
20
|
+
*
|
|
21
|
+
* Still-first by design: `outputHints.format` container-locks the CLI
|
|
22
|
+
* output, so an animated sibling ships as its own video-hinted template id
|
|
23
|
+
* (the qr-stamp still/video precedent) — see TEMPLATE-NOTES.
|
|
24
|
+
* ============================================================================
|
|
25
|
+
*/
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.QuoteCard = void 0;
|
|
28
|
+
const types_1 = require("@m0saic/types");
|
|
29
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
30
|
+
const layout_1 = require("./layout");
|
|
31
|
+
const TEMPLATE_ID = "@m0saic/social/quote-card/v1";
|
|
32
|
+
/** Hand-tuned card duos (dark is retuned, not derived). `subtle` inks the role line. */
|
|
33
|
+
const PRESETS = {
|
|
34
|
+
light: { bg: "#faf9f7", ink: "#17181c", subtle: "#6b6f76" },
|
|
35
|
+
dark: { bg: "#101014", ink: "#e8e8ee", subtle: "#a3a7b0" },
|
|
36
|
+
};
|
|
37
|
+
const DEFAULT_ACCENT = "#f97316"; // m0saic brand orange
|
|
38
|
+
const DEFAULT_MARGIN = 0.09;
|
|
39
|
+
const DEFAULT_QUOTE = "Everything is rectangles on a canvas.";
|
|
40
|
+
const DEFAULT_ATTRIBUTION = "The m0saic Thesis";
|
|
41
|
+
/** Blank-string color pickers mean "unset" — fall back to the preset. */
|
|
42
|
+
function pickColor(value, fallback) {
|
|
43
|
+
const s = typeof value === "string" ? value.trim() : value;
|
|
44
|
+
return s ? s : fallback;
|
|
45
|
+
}
|
|
46
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
47
|
+
quote: {
|
|
48
|
+
type: "string",
|
|
49
|
+
required: true,
|
|
50
|
+
description: "The quote body. Wrapped and sized to fit automatically — long quotes shrink, short quotes render large.",
|
|
51
|
+
meta: { ui: { label: "Quote", order: 1, primary: true } },
|
|
52
|
+
},
|
|
53
|
+
attribution: {
|
|
54
|
+
type: "string",
|
|
55
|
+
required: false,
|
|
56
|
+
description: "Who said it — rendered bold under the accent bar. Empty removes the attribution.",
|
|
57
|
+
meta: { ui: { label: "Attribution", order: 2 } },
|
|
58
|
+
},
|
|
59
|
+
role: {
|
|
60
|
+
type: "string",
|
|
61
|
+
required: false,
|
|
62
|
+
description: "Second attribution line — a title, handle, book or episode. Empty removes it.",
|
|
63
|
+
meta: { control: { placeholder: "none" }, ui: { label: "Role / source", order: 3 } },
|
|
64
|
+
},
|
|
65
|
+
avatar: {
|
|
66
|
+
type: "media",
|
|
67
|
+
required: false,
|
|
68
|
+
description: "Avatar image, clipped to a circle beside the attribution.",
|
|
69
|
+
meta: {
|
|
70
|
+
ui: { label: "Avatar", order: 4 },
|
|
71
|
+
control: { picker: "file", accept: ["image"] },
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
align: {
|
|
75
|
+
type: "string",
|
|
76
|
+
required: false,
|
|
77
|
+
description: 'Card composition: "center" (classic quote card) or "left" (editorial).',
|
|
78
|
+
meta: {
|
|
79
|
+
constraints: { oneOf: ["center", "left"] },
|
|
80
|
+
ui: { label: "Alignment", order: 1 },
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
quoteMark: {
|
|
84
|
+
type: "boolean",
|
|
85
|
+
required: false,
|
|
86
|
+
description: "Show the decorative opening-quote glyph above the quote.",
|
|
87
|
+
meta: { ui: { label: "Quote mark", order: 2 } },
|
|
88
|
+
},
|
|
89
|
+
accent: {
|
|
90
|
+
type: "string",
|
|
91
|
+
required: false,
|
|
92
|
+
description: "Accent color for the quote mark and the divider bar.",
|
|
93
|
+
meta: {
|
|
94
|
+
constraints: { isColor: true },
|
|
95
|
+
control: { colorPicker: true },
|
|
96
|
+
ui: { label: "Accent", order: 3 },
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
preset: {
|
|
100
|
+
type: "string",
|
|
101
|
+
required: false,
|
|
102
|
+
description: 'Hand-tuned card duo: "light" (default) or "dark".',
|
|
103
|
+
meta: {
|
|
104
|
+
constraints: { oneOf: ["light", "dark"] },
|
|
105
|
+
ui: { label: "Preset", order: 4 },
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
background: {
|
|
109
|
+
type: "string",
|
|
110
|
+
required: false,
|
|
111
|
+
description: "Card background override.",
|
|
112
|
+
meta: {
|
|
113
|
+
constraints: { isColor: true },
|
|
114
|
+
control: { placeholder: "preset background", colorPicker: true },
|
|
115
|
+
ui: { label: "Background", order: 5 },
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
ink: {
|
|
119
|
+
type: "string",
|
|
120
|
+
required: false,
|
|
121
|
+
description: "Ink override (quote body and attribution name).",
|
|
122
|
+
meta: {
|
|
123
|
+
constraints: { isColor: true },
|
|
124
|
+
control: { placeholder: "preset ink", colorPicker: true },
|
|
125
|
+
ui: { label: "Ink", order: 6 },
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
margin: {
|
|
129
|
+
type: "number",
|
|
130
|
+
required: false,
|
|
131
|
+
description: "Outer margin, as a fraction of the canvas short edge.",
|
|
132
|
+
meta: {
|
|
133
|
+
constraints: { min: 0.02, max: 0.2 },
|
|
134
|
+
control: { flavor: "slider", step: 0.005 },
|
|
135
|
+
ui: { label: "Margin", order: 1 },
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
});
|
|
139
|
+
/** SVG-glyph text cell (bundled deterministic font; no drawtext spawn). */
|
|
140
|
+
function textCell(opts) {
|
|
141
|
+
return {
|
|
142
|
+
type: "text",
|
|
143
|
+
rasterizer: "svg",
|
|
144
|
+
renderMode: { kind: "image" },
|
|
145
|
+
layers: [
|
|
146
|
+
{
|
|
147
|
+
content: { kind: "literal", text: opts.text },
|
|
148
|
+
style: {
|
|
149
|
+
fontSize: opts.fontSize,
|
|
150
|
+
fontColor: opts.color,
|
|
151
|
+
...(opts.bold ? { fontWeight: "bold" } : {}),
|
|
152
|
+
},
|
|
153
|
+
placement: { hAlign: opts.hAlign, vAlign: "middle" },
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
editor: { owner: "template", label: opts.label },
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
exports.QuoteCard = {
|
|
160
|
+
id: (0, types_1.asTemplateId)(TEMPLATE_ID),
|
|
161
|
+
label: "Quote Card",
|
|
162
|
+
version: 1,
|
|
163
|
+
description: "Pull-quote social card — auto-wrapped quote, accent bar, attribution with an optional circular avatar; hand-tuned light/dark presets; lossless PNG still, aspect-safe from square to stories.",
|
|
164
|
+
capabilities: { tier: "core" },
|
|
165
|
+
tags: ["social", "quote", "card", "pull-quote", "promo", "creators", "marketers", "testimonial"],
|
|
166
|
+
outputHints: { width: 1080, height: 1080, format: { kind: "image", container: "png" } },
|
|
167
|
+
propsSchema,
|
|
168
|
+
defaultProps: {
|
|
169
|
+
quote: DEFAULT_QUOTE,
|
|
170
|
+
attribution: DEFAULT_ATTRIBUTION,
|
|
171
|
+
align: "center",
|
|
172
|
+
quoteMark: true,
|
|
173
|
+
accent: DEFAULT_ACCENT,
|
|
174
|
+
preset: "light",
|
|
175
|
+
margin: DEFAULT_MARGIN,
|
|
176
|
+
},
|
|
177
|
+
async render(props, ctx) {
|
|
178
|
+
var _a, _b, _c, _d, _e, _f;
|
|
179
|
+
const W = Math.max(1, Math.round(ctx.target.width));
|
|
180
|
+
const H = Math.max(1, Math.round(ctx.target.height));
|
|
181
|
+
const fail = (message) => (0, template_utils_1.makeErrorMosaic)(message, { title: "Quote Card", width: W, height: H });
|
|
182
|
+
// ── knobs ──
|
|
183
|
+
const preset = props.preset === "dark" ? "dark" : "light";
|
|
184
|
+
const duo = PRESETS[preset];
|
|
185
|
+
const bg = pickColor(props.background, duo.bg);
|
|
186
|
+
const ink = pickColor(props.ink, duo.ink);
|
|
187
|
+
const accent = pickColor(props.accent, DEFAULT_ACCENT);
|
|
188
|
+
const align = props.align === "left" ? "left" : "center";
|
|
189
|
+
const quoteMark = props.quoteMark !== false;
|
|
190
|
+
const marginFrac = Math.min(0.2, Math.max(0.02, (_a = props.margin) !== null && _a !== void 0 ? _a : DEFAULT_MARGIN));
|
|
191
|
+
const quote = ((_b = props.quote) !== null && _b !== void 0 ? _b : "").trim();
|
|
192
|
+
if (quote.length === 0)
|
|
193
|
+
return fail("quote must not be empty");
|
|
194
|
+
const attribution = ((_c = props.attribution) !== null && _c !== void 0 ? _c : "").trim();
|
|
195
|
+
const role = ((_d = props.role) !== null && _d !== void 0 ? _d : "").trim();
|
|
196
|
+
// ── optional avatar (probed by the host; the template does no I/O) ──
|
|
197
|
+
const avatarId = ((_e = props.avatar) !== null && _e !== void 0 ? _e : "").trim();
|
|
198
|
+
let avatarAssetKey = null;
|
|
199
|
+
if (avatarId.length > 0) {
|
|
200
|
+
const meta = ctx.media[(0, types_1.asAssetId)(avatarId)];
|
|
201
|
+
if (!meta || !(meta.width > 0) || !(meta.height > 0))
|
|
202
|
+
return fail(`no probed dimensions for avatar "${avatarId}"`);
|
|
203
|
+
if (meta.kind !== "image")
|
|
204
|
+
return fail(`avatar "${avatarId}" is ${(_f = meta.kind) !== null && _f !== void 0 ? _f : "unknown"} — the avatar must be an image`);
|
|
205
|
+
avatarAssetKey = String((0, template_utils_1.slugifyAssetKeyFromPath)(avatarId));
|
|
206
|
+
}
|
|
207
|
+
// ── source factory: one source per cell. Fed into the layout's
|
|
208
|
+
// inset-recovery packer, which returns them in the m0's frame order.
|
|
209
|
+
// The quote / name / role cells each DISPLAY one prop, so they carry
|
|
210
|
+
// a `bindProp` (Make's double-click → inline-edit handle). Colour
|
|
211
|
+
// props bind the rect they PAINT: `accent` inks the mark and fills the
|
|
212
|
+
// bar; `ink` rides the quote / name rects as a second (stacked) entry.
|
|
213
|
+
// `background` is `doc.backgroundColor` — no rect, nothing to bind;
|
|
214
|
+
// the role line's `subtle` ink is preset-derived, never a prop. ──
|
|
215
|
+
const sourceForCell = (cell) => {
|
|
216
|
+
switch (cell.kind) {
|
|
217
|
+
case "mark":
|
|
218
|
+
return (0, template_utils_1.bindProp)(textCell({
|
|
219
|
+
text: cell.text,
|
|
220
|
+
fontSize: cell.fontSize,
|
|
221
|
+
color: accent,
|
|
222
|
+
bold: true,
|
|
223
|
+
hAlign: cell.hAlign,
|
|
224
|
+
label: "mark",
|
|
225
|
+
}), "accent");
|
|
226
|
+
case "quote":
|
|
227
|
+
return (0, template_utils_1.bindProps)(textCell({
|
|
228
|
+
text: cell.text,
|
|
229
|
+
fontSize: cell.fontSize,
|
|
230
|
+
color: ink,
|
|
231
|
+
hAlign: cell.hAlign,
|
|
232
|
+
label: "quote",
|
|
233
|
+
}), [{ propKey: "quote" }, { propKey: "ink" }]);
|
|
234
|
+
case "accent-bar":
|
|
235
|
+
return (0, template_utils_1.bindProp)({
|
|
236
|
+
type: "lavfi",
|
|
237
|
+
color: accent,
|
|
238
|
+
editor: { owner: "template", label: "accent" },
|
|
239
|
+
}, "accent");
|
|
240
|
+
case "avatar":
|
|
241
|
+
return {
|
|
242
|
+
type: "media",
|
|
243
|
+
mediaType: "image",
|
|
244
|
+
assetId: avatarAssetKey,
|
|
245
|
+
placement: { fit: "cover" },
|
|
246
|
+
// Pill in a square cell = circle; the cell IS square by construction.
|
|
247
|
+
effects: { rounding: { cornerStyle: "pill" } },
|
|
248
|
+
editor: { owner: "template", label: "avatar" },
|
|
249
|
+
};
|
|
250
|
+
case "name":
|
|
251
|
+
return (0, template_utils_1.bindProps)(textCell({
|
|
252
|
+
text: cell.text,
|
|
253
|
+
fontSize: cell.fontSize,
|
|
254
|
+
color: ink,
|
|
255
|
+
bold: true,
|
|
256
|
+
hAlign: cell.hAlign,
|
|
257
|
+
label: "name",
|
|
258
|
+
}), [{ propKey: "attribution" }, { propKey: "ink" }]);
|
|
259
|
+
case "role":
|
|
260
|
+
return (0, template_utils_1.bindProp)(textCell({
|
|
261
|
+
text: cell.text,
|
|
262
|
+
fontSize: cell.fontSize,
|
|
263
|
+
color: duo.subtle,
|
|
264
|
+
hAlign: cell.hAlign,
|
|
265
|
+
label: "role",
|
|
266
|
+
}), "role");
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
// ── geometry + composed sources (ratio m0 + frame-ordered inset sources) ──
|
|
270
|
+
let layout;
|
|
271
|
+
try {
|
|
272
|
+
layout = (0, layout_1.buildQuoteCardLayout)({
|
|
273
|
+
W,
|
|
274
|
+
H,
|
|
275
|
+
quote,
|
|
276
|
+
attribution: attribution.length > 0 ? attribution : null,
|
|
277
|
+
role: role.length > 0 ? role : null,
|
|
278
|
+
hasAvatar: avatarAssetKey != null,
|
|
279
|
+
align,
|
|
280
|
+
quoteMark,
|
|
281
|
+
marginFrac,
|
|
282
|
+
}, sourceForCell);
|
|
283
|
+
}
|
|
284
|
+
catch (e) {
|
|
285
|
+
if (e instanceof layout_1.QuoteLayoutError)
|
|
286
|
+
return fail(e.message);
|
|
287
|
+
throw e;
|
|
288
|
+
}
|
|
289
|
+
const sources = layout.sources;
|
|
290
|
+
const assets = {};
|
|
291
|
+
if (avatarAssetKey != null)
|
|
292
|
+
assets[avatarAssetKey] = { kind: "file", path: avatarId, mediaType: "image" };
|
|
293
|
+
return {
|
|
294
|
+
kind: "mosaic_document",
|
|
295
|
+
version: 1,
|
|
296
|
+
assets,
|
|
297
|
+
m0: layout.m0,
|
|
298
|
+
sources,
|
|
299
|
+
fps: ctx.target.fps,
|
|
300
|
+
durationMs: ctx.target.durationMs,
|
|
301
|
+
size: { width: W, height: H },
|
|
302
|
+
backgroundColor: bg,
|
|
303
|
+
editor: {
|
|
304
|
+
label: `Quote Card · ${attribution.length > 0 ? attribution : "unattributed"} · ${preset}`,
|
|
305
|
+
},
|
|
306
|
+
};
|
|
307
|
+
},
|
|
308
|
+
};
|
|
309
|
+
(0, template_utils_1.registerTemplate)(exports.QuoteCard);
|
|
310
|
+
exports.default = exports.QuoteCard;
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/* Story — narrated multi-chapter pipeline pack (the agentic-video flagship). */
|
|
18
|
+
__exportStar(require("./narrated-chapters"), exports);
|
|
19
|
+
/* Scrapbook — a short personal film: photos, a line each, paper and drift. */
|
|
20
|
+
__exportStar(require("./scrapbook/v1"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./v1";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./v1"), exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Caption cue engine.
|
|
3
|
+
*
|
|
4
|
+
* Cue precedence per section: explicit `cues` (inlined by story-studio from
|
|
5
|
+
* .srt or emitted directly by a timestamp-capable TTS provider) → synthesized
|
|
6
|
+
* sentence cues from `narrationText`. All times are narration-relative,
|
|
7
|
+
* which equals step-local time because cards CUT into narration (the body
|
|
8
|
+
* step's t=0 is the narration's first sample).
|
|
9
|
+
*
|
|
10
|
+
* Synthesis (the brief's algorithm): sentence split with an abbreviation
|
|
11
|
+
* suppression set → sub-split long sentences at clause boundaries →
|
|
12
|
+
* Hamilton distribution over the NARRATION SPAN (captions track speech, not
|
|
13
|
+
* the padded body) with w[j] = max(12, len) → merge any cue below minCueMs
|
|
14
|
+
* into its shorter neighbour and re-run → trim cueGapMs off each end.
|
|
15
|
+
*
|
|
16
|
+
* Rendering stays drawtext (`buildSvgTextSource` drops per-layer enable —
|
|
17
|
+
* an svg caption source would show every cue at once, forever) and is
|
|
18
|
+
* assembled in scenes/body.ts; this module is pure cue math + SRT text.
|
|
19
|
+
*/
|
|
20
|
+
import type { StoryCue, StorySection } from "./props";
|
|
21
|
+
/** Hard cap per section — drawtext's expression budget is finite. */
|
|
22
|
+
export declare const MAX_CUES_PER_SECTION = 96;
|
|
23
|
+
export type CaptionsConfig = {
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
minCueMs: number;
|
|
26
|
+
cueGapMs: number;
|
|
27
|
+
plate: "always" | "never";
|
|
28
|
+
};
|
|
29
|
+
export declare const DEFAULT_CAPTIONS: CaptionsConfig;
|
|
30
|
+
export declare function resolveSectionCues(section: StorySection, narrationMs: number | undefined, config: CaptionsConfig): StoryCue[];
|
|
31
|
+
/** Provided cues: keep order, clamp into the narration span, cap the count. */
|
|
32
|
+
export declare function clampCues(cues: StoryCue[], narrationMs: number): StoryCue[];
|
|
33
|
+
export declare function synthesizeCues(narrationText: string, narrationMs: number, config: CaptionsConfig): StoryCue[];
|
|
34
|
+
/** Sentence split at .!?… + whitespace + an upper/digit/quote opener, ABBREV-protected. */
|
|
35
|
+
export declare function splitSentences(text: string): string[];
|
|
36
|
+
/** Sub-split an over-long sentence at clause boundaries (, ; : —). */
|
|
37
|
+
export declare function splitClauses(sentence: string): string[];
|
|
38
|
+
/** Largest-remainder integer split; ties → lower index. (Shared with plan.ts.) */
|
|
39
|
+
export declare function hamilton(total: number, weights: number[]): number[];
|
|
40
|
+
/** A cue placed on the global story timeline (for the .srt sidecar). */
|
|
41
|
+
export type AbsoluteCue = StoryCue;
|
|
42
|
+
export declare function serializeSrt(cues: AbsoluteCue[]): string;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Caption cue engine.
|
|
4
|
+
*
|
|
5
|
+
* Cue precedence per section: explicit `cues` (inlined by story-studio from
|
|
6
|
+
* .srt or emitted directly by a timestamp-capable TTS provider) → synthesized
|
|
7
|
+
* sentence cues from `narrationText`. All times are narration-relative,
|
|
8
|
+
* which equals step-local time because cards CUT into narration (the body
|
|
9
|
+
* step's t=0 is the narration's first sample).
|
|
10
|
+
*
|
|
11
|
+
* Synthesis (the brief's algorithm): sentence split with an abbreviation
|
|
12
|
+
* suppression set → sub-split long sentences at clause boundaries →
|
|
13
|
+
* Hamilton distribution over the NARRATION SPAN (captions track speech, not
|
|
14
|
+
* the padded body) with w[j] = max(12, len) → merge any cue below minCueMs
|
|
15
|
+
* into its shorter neighbour and re-run → trim cueGapMs off each end.
|
|
16
|
+
*
|
|
17
|
+
* Rendering stays drawtext (`buildSvgTextSource` drops per-layer enable —
|
|
18
|
+
* an svg caption source would show every cue at once, forever) and is
|
|
19
|
+
* assembled in scenes/body.ts; this module is pure cue math + SRT text.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.DEFAULT_CAPTIONS = exports.MAX_CUES_PER_SECTION = void 0;
|
|
23
|
+
exports.resolveSectionCues = resolveSectionCues;
|
|
24
|
+
exports.clampCues = clampCues;
|
|
25
|
+
exports.synthesizeCues = synthesizeCues;
|
|
26
|
+
exports.splitSentences = splitSentences;
|
|
27
|
+
exports.splitClauses = splitClauses;
|
|
28
|
+
exports.hamilton = hamilton;
|
|
29
|
+
exports.serializeSrt = serializeSrt;
|
|
30
|
+
/** Hard cap per section — drawtext's expression budget is finite. */
|
|
31
|
+
exports.MAX_CUES_PER_SECTION = 96;
|
|
32
|
+
exports.DEFAULT_CAPTIONS = {
|
|
33
|
+
enabled: true,
|
|
34
|
+
minCueMs: 900,
|
|
35
|
+
cueGapMs: 80,
|
|
36
|
+
plate: "always",
|
|
37
|
+
};
|
|
38
|
+
/** Abbreviations whose trailing "." must not end a sentence. */
|
|
39
|
+
const ABBREV = new Set([
|
|
40
|
+
"mr.", "mrs.", "ms.", "dr.", "prof.", "st.", "jr.", "sr.",
|
|
41
|
+
"vs.", "etc.", "e.g.", "i.e.", "no.", "inc.", "ltd.", "co.",
|
|
42
|
+
"a.m.", "p.m.", "u.s.", "u.k.",
|
|
43
|
+
]);
|
|
44
|
+
/** Sentences longer than this get sub-split at clause boundaries. */
|
|
45
|
+
const LONG_SENTENCE_CHARS = 110;
|
|
46
|
+
function resolveSectionCues(section, narrationMs, config) {
|
|
47
|
+
var _a;
|
|
48
|
+
if (!config.enabled || narrationMs === undefined || narrationMs <= 0)
|
|
49
|
+
return [];
|
|
50
|
+
// Precedence: timed data first (cues, incl. srt-inlined), then the
|
|
51
|
+
// explicit per-section caption override (one cue over the whole span),
|
|
52
|
+
// then synthesis from narrationText.
|
|
53
|
+
if (Array.isArray(section.cues) && section.cues.length > 0) {
|
|
54
|
+
return clampCues(section.cues, narrationMs);
|
|
55
|
+
}
|
|
56
|
+
const captionOverride = (_a = section.overrides) === null || _a === void 0 ? void 0 : _a.caption;
|
|
57
|
+
if (typeof captionOverride === "string" && captionOverride.trim().length > 0) {
|
|
58
|
+
return [{ startMs: 0, endMs: narrationMs, text: captionOverride.trim() }];
|
|
59
|
+
}
|
|
60
|
+
if (typeof section.narrationText === "string" && section.narrationText.trim().length > 0) {
|
|
61
|
+
return synthesizeCues(section.narrationText, narrationMs, config);
|
|
62
|
+
}
|
|
63
|
+
return [];
|
|
64
|
+
}
|
|
65
|
+
/** Provided cues: keep order, clamp into the narration span, cap the count. */
|
|
66
|
+
function clampCues(cues, narrationMs) {
|
|
67
|
+
const out = [];
|
|
68
|
+
for (const cue of cues) {
|
|
69
|
+
const startMs = Math.max(0, Math.round(cue.startMs));
|
|
70
|
+
const endMs = Math.min(narrationMs, Math.round(cue.endMs));
|
|
71
|
+
if (endMs <= startMs)
|
|
72
|
+
continue;
|
|
73
|
+
const text = cue.text.trim();
|
|
74
|
+
if (text.length === 0)
|
|
75
|
+
continue;
|
|
76
|
+
out.push({ startMs, endMs, text });
|
|
77
|
+
if (out.length >= exports.MAX_CUES_PER_SECTION)
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
return out;
|
|
81
|
+
}
|
|
82
|
+
function synthesizeCues(narrationText, narrationMs, config) {
|
|
83
|
+
const pieces = splitSentences(narrationText)
|
|
84
|
+
.flatMap((s) => (s.length > LONG_SENTENCE_CHARS ? splitClauses(s) : [s]))
|
|
85
|
+
.slice(0, exports.MAX_CUES_PER_SECTION);
|
|
86
|
+
if (pieces.length === 0)
|
|
87
|
+
return [];
|
|
88
|
+
// Hamilton over the narration span — captions track speech, not padding.
|
|
89
|
+
let texts = pieces;
|
|
90
|
+
let durations = hamilton(narrationMs, texts.map((t) => Math.max(12, t.length)));
|
|
91
|
+
// Merge any cue below minCueMs into its SHORTER neighbour and re-run.
|
|
92
|
+
for (let guard = 0; guard < exports.MAX_CUES_PER_SECTION; guard++) {
|
|
93
|
+
if (texts.length <= 1)
|
|
94
|
+
break;
|
|
95
|
+
const idx = durations.findIndex((d) => d < config.minCueMs);
|
|
96
|
+
if (idx === -1)
|
|
97
|
+
break;
|
|
98
|
+
const left = idx > 0 ? durations[idx - 1] : Infinity;
|
|
99
|
+
const right = idx < durations.length - 1 ? durations[idx + 1] : Infinity;
|
|
100
|
+
const into = left <= right ? idx - 1 : idx + 1;
|
|
101
|
+
const [a, b] = into < idx ? [into, idx] : [idx, into];
|
|
102
|
+
texts = [...texts.slice(0, a), `${texts[a]} ${texts[b]}`, ...texts.slice(b + 1)];
|
|
103
|
+
durations = hamilton(narrationMs, texts.map((t) => Math.max(12, t.length)));
|
|
104
|
+
}
|
|
105
|
+
// Lay out sequentially, then trim the gap off each end — clamped per cue
|
|
106
|
+
// so an oversized cueGapMs can never invert an interval and silently
|
|
107
|
+
// delete a caption.
|
|
108
|
+
const cues = [];
|
|
109
|
+
let cursor = 0;
|
|
110
|
+
for (let i = 0; i < texts.length; i++) {
|
|
111
|
+
const rawStart = cursor;
|
|
112
|
+
const rawEnd = cursor + durations[i];
|
|
113
|
+
cursor = rawEnd;
|
|
114
|
+
const gap = Math.min(config.cueGapMs, Math.floor((durations[i] - 1) / 2));
|
|
115
|
+
const startMs = rawStart + (i > 0 ? gap : 0);
|
|
116
|
+
const endMs = rawEnd - (i < texts.length - 1 ? gap : 0);
|
|
117
|
+
if (endMs > startMs)
|
|
118
|
+
cues.push({ startMs, endMs, text: texts[i] });
|
|
119
|
+
}
|
|
120
|
+
return cues;
|
|
121
|
+
}
|
|
122
|
+
/** Sentence split at .!?… + whitespace + an upper/digit/quote opener, ABBREV-protected. */
|
|
123
|
+
function splitSentences(text) {
|
|
124
|
+
var _a, _b;
|
|
125
|
+
const normalized = text.trim().replace(/\s+/g, " ");
|
|
126
|
+
if (normalized.length === 0)
|
|
127
|
+
return [];
|
|
128
|
+
const out = [];
|
|
129
|
+
let start = 0;
|
|
130
|
+
const re = /[.!?…]+["'”’]?(?=\s+["'“‘]?[A-Z0-9])/g;
|
|
131
|
+
let m;
|
|
132
|
+
while ((m = re.exec(normalized)) !== null) {
|
|
133
|
+
const end = m.index + m[0].length;
|
|
134
|
+
const candidate = normalized.slice(start, end).trim();
|
|
135
|
+
const lastWord = (_b = (_a = candidate.split(" ").pop()) === null || _a === void 0 ? void 0 : _a.toLowerCase()) !== null && _b !== void 0 ? _b : "";
|
|
136
|
+
if (ABBREV.has(lastWord))
|
|
137
|
+
continue; // "Dr." — not a boundary
|
|
138
|
+
if (candidate.length > 0)
|
|
139
|
+
out.push(candidate);
|
|
140
|
+
start = end;
|
|
141
|
+
}
|
|
142
|
+
const tail = normalized.slice(start).trim();
|
|
143
|
+
if (tail.length > 0)
|
|
144
|
+
out.push(tail);
|
|
145
|
+
return out;
|
|
146
|
+
}
|
|
147
|
+
/** Sub-split an over-long sentence at clause boundaries (, ; : —). */
|
|
148
|
+
function splitClauses(sentence) {
|
|
149
|
+
const parts = sentence
|
|
150
|
+
.split(/(?<=[,;:—])\s+/)
|
|
151
|
+
.map((p) => p.trim())
|
|
152
|
+
.filter((p) => p.length > 0);
|
|
153
|
+
if (parts.length <= 1)
|
|
154
|
+
return [sentence];
|
|
155
|
+
// Greedily rejoin so fragments stay caption-sized, not comma-confetti.
|
|
156
|
+
const out = [];
|
|
157
|
+
let current = "";
|
|
158
|
+
for (const part of parts) {
|
|
159
|
+
const joined = current.length > 0 ? `${current} ${part}` : part;
|
|
160
|
+
if (joined.length <= LONG_SENTENCE_CHARS) {
|
|
161
|
+
current = joined;
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
if (current.length > 0)
|
|
165
|
+
out.push(current);
|
|
166
|
+
current = part;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
if (current.length > 0)
|
|
170
|
+
out.push(current);
|
|
171
|
+
return out;
|
|
172
|
+
}
|
|
173
|
+
/** Largest-remainder integer split; ties → lower index. (Shared with plan.ts.) */
|
|
174
|
+
function hamilton(total, weights) {
|
|
175
|
+
const sum = weights.reduce((a, b) => a + b, 0);
|
|
176
|
+
const raw = weights.map((w) => (total * w) / sum);
|
|
177
|
+
const base = raw.map(Math.floor);
|
|
178
|
+
let remainder = total - base.reduce((a, b) => a + b, 0);
|
|
179
|
+
const order = raw
|
|
180
|
+
.map((r, i) => ({ frac: r - Math.floor(r), i }))
|
|
181
|
+
.sort((a, b) => b.frac - a.frac || a.i - b.i);
|
|
182
|
+
for (let n = 0; n < order.length && remainder > 0; n++, remainder--) {
|
|
183
|
+
base[order[n].i] += 1;
|
|
184
|
+
}
|
|
185
|
+
return base;
|
|
186
|
+
}
|
|
187
|
+
function serializeSrt(cues) {
|
|
188
|
+
return cues
|
|
189
|
+
.map((cue, i) => `${i + 1}\n${srtTime(cue.startMs)} --> ${srtTime(cue.endMs)}\n${cue.text}\n`)
|
|
190
|
+
.join("\n");
|
|
191
|
+
}
|
|
192
|
+
function srtTime(ms) {
|
|
193
|
+
const clamped = Math.max(0, Math.round(ms));
|
|
194
|
+
const h = Math.floor(clamped / 3600000);
|
|
195
|
+
const m = Math.floor((clamped % 3600000) / 60000);
|
|
196
|
+
const s = Math.floor((clamped % 60000) / 1000);
|
|
197
|
+
const rem = clamped % 1000;
|
|
198
|
+
const pad = (v, len) => String(v).padStart(len, "0");
|
|
199
|
+
return `${pad(h, 2)}:${pad(m, 2)}:${pad(s, 2)},${pad(rem, 3)}`;
|
|
200
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Media-free built-in demo story — rendered on null/absent props so the
|
|
3
|
+
* template previews with zero setup (Templates page, null-props E2E case,
|
|
4
|
+
* `m0saic make` with no --props).
|
|
5
|
+
*
|
|
6
|
+
* Every section pins its length via `overrides.durationMs`, so no audio is
|
|
7
|
+
* probed. The values are deliberately unequal and non-round (they mirror the
|
|
8
|
+
* committed demo project's minted narration clips) — a timing model that
|
|
9
|
+
* divides time evenly instead of reading per-section durations fails
|
|
10
|
+
* visibly against this fixture.
|
|
11
|
+
*/
|
|
12
|
+
import type { StoryDocument } from "./props";
|
|
13
|
+
export declare const DEMO_STORY: StoryDocument;
|