@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,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* dsl-tutorial — geometry cursor projection
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* The cursor is the thin orange box that sits at the current X/Y/W/H bounds and
|
|
7
|
+
* LEADS the parse: it jumps + resizes the instant the geometry changes (a split
|
|
8
|
+
* shrinks it to the first child, a comma slides it to the next sibling, a close
|
|
9
|
+
* grows it back to the parent), and the cell then emits into it.
|
|
10
|
+
*
|
|
11
|
+
* The cursor SNAPS per step — it never interpolates between two positions — so
|
|
12
|
+
* it's modelled as a list of enable-GATED rects, one per distinct position, each
|
|
13
|
+
* lit for its time window. The canvas panel draws each as a thin inline-mask
|
|
14
|
+
* RING (depth-cheap, reuses the split-overlay machinery); only one is ever
|
|
15
|
+
* visible at a time. This replaces the old per-frame `geq` expression: `geq`
|
|
16
|
+
* re-evaluates per PIXEL per FRAME (multiplying render cost by pixels×frames) to
|
|
17
|
+
* solve a continuous-motion problem the cursor doesn't have. We already compute
|
|
18
|
+
* every cursor rect in `buildSteps` — baking them as rects is just emitting what
|
|
19
|
+
* we know, and it's near-free at render time.
|
|
20
|
+
*
|
|
21
|
+
* Rects are FRACTIONS (0..1) of the canvas; the canvas panel multiplies by its
|
|
22
|
+
* own pixel dims, so they're resolution-independent (the panel renders at a slot
|
|
23
|
+
* size that differs from the parse size).
|
|
24
|
+
*
|
|
25
|
+
* Consecutive steps that don't move the cursor collapse into one rect (its
|
|
26
|
+
* window spans both) — fewer overlay layers, which keeps dense layouts further
|
|
27
|
+
* from the ~25 overlay-depth mask-drop ceiling.
|
|
28
|
+
* ============================================================================
|
|
29
|
+
*/
|
|
30
|
+
import type { Step } from "./buildSteps";
|
|
31
|
+
import type { Timing } from "./timing";
|
|
32
|
+
/** One cursor position, lit for `[activeStartSec, activeEndSec)`. */
|
|
33
|
+
export type CursorRect = {
|
|
34
|
+
/** Bounds as fractions (0..1) of the whole canvas. */
|
|
35
|
+
xFrac: number;
|
|
36
|
+
yFrac: number;
|
|
37
|
+
wFrac: number;
|
|
38
|
+
hFrac: number;
|
|
39
|
+
activeStartSec: number;
|
|
40
|
+
activeEndSec: number;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Build the enable-gated cursor rects from the step cursor rects. One entry per
|
|
44
|
+
* DISTINCT position; each spans from its first step's start to the next distinct
|
|
45
|
+
* position's start (the last runs to the end of the timeline). Deterministic.
|
|
46
|
+
*/
|
|
47
|
+
export declare function buildCursorRects(steps: Step[], timing: Timing, parseW: number, parseH: number): CursorRect[];
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* dsl-tutorial — geometry cursor projection
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* The cursor is the thin orange box that sits at the current X/Y/W/H bounds and
|
|
8
|
+
* LEADS the parse: it jumps + resizes the instant the geometry changes (a split
|
|
9
|
+
* shrinks it to the first child, a comma slides it to the next sibling, a close
|
|
10
|
+
* grows it back to the parent), and the cell then emits into it.
|
|
11
|
+
*
|
|
12
|
+
* The cursor SNAPS per step — it never interpolates between two positions — so
|
|
13
|
+
* it's modelled as a list of enable-GATED rects, one per distinct position, each
|
|
14
|
+
* lit for its time window. The canvas panel draws each as a thin inline-mask
|
|
15
|
+
* RING (depth-cheap, reuses the split-overlay machinery); only one is ever
|
|
16
|
+
* visible at a time. This replaces the old per-frame `geq` expression: `geq`
|
|
17
|
+
* re-evaluates per PIXEL per FRAME (multiplying render cost by pixels×frames) to
|
|
18
|
+
* solve a continuous-motion problem the cursor doesn't have. We already compute
|
|
19
|
+
* every cursor rect in `buildSteps` — baking them as rects is just emitting what
|
|
20
|
+
* we know, and it's near-free at render time.
|
|
21
|
+
*
|
|
22
|
+
* Rects are FRACTIONS (0..1) of the canvas; the canvas panel multiplies by its
|
|
23
|
+
* own pixel dims, so they're resolution-independent (the panel renders at a slot
|
|
24
|
+
* size that differs from the parse size).
|
|
25
|
+
*
|
|
26
|
+
* Consecutive steps that don't move the cursor collapse into one rect (its
|
|
27
|
+
* window spans both) — fewer overlay layers, which keeps dense layouts further
|
|
28
|
+
* from the ~25 overlay-depth mask-drop ceiling.
|
|
29
|
+
* ============================================================================
|
|
30
|
+
*/
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.buildCursorRects = buildCursorRects;
|
|
33
|
+
const near = (a, b) => Math.abs(a - b) < 1e-6;
|
|
34
|
+
/**
|
|
35
|
+
* Build the enable-gated cursor rects from the step cursor rects. One entry per
|
|
36
|
+
* DISTINCT position; each spans from its first step's start to the next distinct
|
|
37
|
+
* position's start (the last runs to the end of the timeline). Deterministic.
|
|
38
|
+
*/
|
|
39
|
+
function buildCursorRects(steps, timing, parseW, parseH) {
|
|
40
|
+
if (steps.length === 0 || parseW <= 0 || parseH <= 0)
|
|
41
|
+
return [];
|
|
42
|
+
// Collapse consecutive identical positions into one window.
|
|
43
|
+
const runs = [];
|
|
44
|
+
for (const s of steps) {
|
|
45
|
+
const x = s.rect.x / parseW;
|
|
46
|
+
const y = s.rect.y / parseH;
|
|
47
|
+
const w = s.rect.width / parseW;
|
|
48
|
+
const h = s.rect.height / parseH;
|
|
49
|
+
const last = runs[runs.length - 1];
|
|
50
|
+
if (last && near(last.x, x) && near(last.y, y) && near(last.w, w) && near(last.h, h)) {
|
|
51
|
+
continue; // same position — its window extends through this step
|
|
52
|
+
}
|
|
53
|
+
runs.push({ x, y, w, h, start: timing.stepStartSec(s.index) });
|
|
54
|
+
}
|
|
55
|
+
const endSec = timing.durationMs / 1000;
|
|
56
|
+
return runs.map((r, i) => ({
|
|
57
|
+
xFrac: r.x,
|
|
58
|
+
yFrac: r.y,
|
|
59
|
+
wFrac: r.w,
|
|
60
|
+
hFrac: r.h,
|
|
61
|
+
activeStartSec: r.start,
|
|
62
|
+
activeEndSec: i + 1 < runs.length ? runs[i + 1].start : endSec,
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* dsl-tutorial — live DSL-string projection (syntax + caret + narration)
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* Projects the deterministic `Step[]` + the m0 source string into what the
|
|
7
|
+
* DSL-string panel renders against the GLOBAL clock:
|
|
8
|
+
*
|
|
9
|
+
* - **glyphs** — every character of the m0 string classified into a syntax
|
|
10
|
+
* token type (`count` / `bracket` / `comma` / `passthrough` / `frame` /
|
|
11
|
+
* `base`), so the panel can colour each one from `theme.syntax`. Classified
|
|
12
|
+
* lexically with the same rule the parser uses: a digit run followed by `(` or
|
|
13
|
+
* `[` is a split COUNT; a lone `0` is a PASSTHROUGH; any other digit run / `F`
|
|
14
|
+
* is a leaf FRAME.
|
|
15
|
+
*
|
|
16
|
+
* - **caretEnable** — one filter-context enable expr per glyph: nonzero exactly
|
|
17
|
+
* while the parse cursor sits on that character (the union of the step windows
|
|
18
|
+
* whose `charIndex` lands there). Drives the stepping caret + active-char wash.
|
|
19
|
+
* These are SIBLING cells in the panel (aligned 1:1 with the glyph strip), so
|
|
20
|
+
* no overlay-depth stacking.
|
|
21
|
+
*
|
|
22
|
+
* - **narration** — enable-gated text variants (one per DISTINCT narration line,
|
|
23
|
+
* merged over its step windows) for the banner that reads out what each symbol
|
|
24
|
+
* does. Only the active line is lit.
|
|
25
|
+
*
|
|
26
|
+
* All exprs are FILTER context (raw commas). Deterministic — pure function of the
|
|
27
|
+
* string + timing.
|
|
28
|
+
* ============================================================================
|
|
29
|
+
*/
|
|
30
|
+
import type { Step } from "./buildSteps";
|
|
31
|
+
import type { Timing } from "./timing";
|
|
32
|
+
import type { ChipVariant } from "./inspector";
|
|
33
|
+
import type { DslSyntaxTheme } from "../theme/tokens";
|
|
34
|
+
export type SyntaxType = keyof DslSyntaxTheme;
|
|
35
|
+
export type Glyph = {
|
|
36
|
+
ch: string;
|
|
37
|
+
type: SyntaxType;
|
|
38
|
+
};
|
|
39
|
+
/** One step's caret position in the string + its time window. The panel needs
|
|
40
|
+
* the raw (charIndex, window) — not just per-glyph enables — to compute the
|
|
41
|
+
* scroll offset + screen-slot caret when a long string scrolls (the scroll math
|
|
42
|
+
* depends on the panel's pixel width, which only the panel knows). */
|
|
43
|
+
export type CaretStep = {
|
|
44
|
+
charIndex: number;
|
|
45
|
+
startSec: number;
|
|
46
|
+
endSec: number;
|
|
47
|
+
};
|
|
48
|
+
export type DslStringProjection = {
|
|
49
|
+
/** The m0 string, one classified glyph per character (display order). */
|
|
50
|
+
glyphs: Glyph[];
|
|
51
|
+
/** Per-glyph filter-context enable expr (nonzero while the cursor is here; "" = never). */
|
|
52
|
+
caretEnable: string[];
|
|
53
|
+
/** Raw per-step caret timeline (drives the scrolling-window math). */
|
|
54
|
+
caretSteps: CaretStep[];
|
|
55
|
+
/** Enable-gated narration lines (one lit at a time). */
|
|
56
|
+
narration: ChipVariant[];
|
|
57
|
+
};
|
|
58
|
+
/** Classify every character of an m0 string into its syntax token type. */
|
|
59
|
+
export declare function classifyGlyphs(m0: string): Glyph[];
|
|
60
|
+
/** Build the full DSL-string projection (glyphs + caret enables + narration). */
|
|
61
|
+
export declare function buildDslStringProjection(steps: Step[], timing: Timing, m0: string): DslStringProjection;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* dsl-tutorial — live DSL-string projection (syntax + caret + narration)
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* Projects the deterministic `Step[]` + the m0 source string into what the
|
|
8
|
+
* DSL-string panel renders against the GLOBAL clock:
|
|
9
|
+
*
|
|
10
|
+
* - **glyphs** — every character of the m0 string classified into a syntax
|
|
11
|
+
* token type (`count` / `bracket` / `comma` / `passthrough` / `frame` /
|
|
12
|
+
* `base`), so the panel can colour each one from `theme.syntax`. Classified
|
|
13
|
+
* lexically with the same rule the parser uses: a digit run followed by `(` or
|
|
14
|
+
* `[` is a split COUNT; a lone `0` is a PASSTHROUGH; any other digit run / `F`
|
|
15
|
+
* is a leaf FRAME.
|
|
16
|
+
*
|
|
17
|
+
* - **caretEnable** — one filter-context enable expr per glyph: nonzero exactly
|
|
18
|
+
* while the parse cursor sits on that character (the union of the step windows
|
|
19
|
+
* whose `charIndex` lands there). Drives the stepping caret + active-char wash.
|
|
20
|
+
* These are SIBLING cells in the panel (aligned 1:1 with the glyph strip), so
|
|
21
|
+
* no overlay-depth stacking.
|
|
22
|
+
*
|
|
23
|
+
* - **narration** — enable-gated text variants (one per DISTINCT narration line,
|
|
24
|
+
* merged over its step windows) for the banner that reads out what each symbol
|
|
25
|
+
* does. Only the active line is lit.
|
|
26
|
+
*
|
|
27
|
+
* All exprs are FILTER context (raw commas). Deterministic — pure function of the
|
|
28
|
+
* string + timing.
|
|
29
|
+
* ============================================================================
|
|
30
|
+
*/
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.classifyGlyphs = classifyGlyphs;
|
|
33
|
+
exports.buildDslStringProjection = buildDslStringProjection;
|
|
34
|
+
const f3 = (n) => n.toFixed(3);
|
|
35
|
+
const isDigit = (c) => c >= "0" && c <= "9";
|
|
36
|
+
/** Classify every character of an m0 string into its syntax token type. */
|
|
37
|
+
function classifyGlyphs(m0) {
|
|
38
|
+
const out = [];
|
|
39
|
+
const n = m0.length;
|
|
40
|
+
let i = 0;
|
|
41
|
+
while (i < n) {
|
|
42
|
+
const ch = m0[i];
|
|
43
|
+
if (isDigit(ch)) {
|
|
44
|
+
let j = i;
|
|
45
|
+
while (j < n && isDigit(m0[j]))
|
|
46
|
+
j++;
|
|
47
|
+
const run = m0.slice(i, j);
|
|
48
|
+
const next = j < n ? m0[j] : "";
|
|
49
|
+
// A digit run that opens a split (`2(`, `3[`) is a COUNT; a lone `0` is a
|
|
50
|
+
// PASSTHROUGH; anything else (`1`, `2`…) standing alone is a leaf FRAME.
|
|
51
|
+
const type = next === "(" || next === "[" ? "count" : run === "0" ? "passthrough" : "frame";
|
|
52
|
+
for (let k = i; k < j; k++)
|
|
53
|
+
out.push({ ch: m0[k], type });
|
|
54
|
+
i = j;
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
57
|
+
let type;
|
|
58
|
+
if (ch === "(" || ch === ")" || ch === "[" || ch === "]" || ch === "{" || ch === "}")
|
|
59
|
+
type = "bracket";
|
|
60
|
+
else if (ch === ",")
|
|
61
|
+
type = "comma";
|
|
62
|
+
else if (ch === "-" || ch === ">")
|
|
63
|
+
type = "passthrough";
|
|
64
|
+
else if (ch === "F")
|
|
65
|
+
type = "frame";
|
|
66
|
+
else
|
|
67
|
+
type = "base";
|
|
68
|
+
out.push({ ch, type });
|
|
69
|
+
i++;
|
|
70
|
+
}
|
|
71
|
+
return out;
|
|
72
|
+
}
|
|
73
|
+
/** Raw per-step caret timeline (charIndex + window) for the scrolling math. */
|
|
74
|
+
function caretStepList(steps, timing) {
|
|
75
|
+
return steps.map((s) => {
|
|
76
|
+
const a = timing.stepStartSec(s.index);
|
|
77
|
+
return { charIndex: s.charIndex, startSec: a, endSec: a + timing.stepDurSec };
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/** Per-glyph enable expr — the union of step windows whose cursor sits there. */
|
|
81
|
+
function caretEnableExprs(steps, timing, count) {
|
|
82
|
+
const windows = Array.from({ length: count }, () => []);
|
|
83
|
+
for (const s of steps) {
|
|
84
|
+
const i = s.charIndex;
|
|
85
|
+
if (i < 0 || i >= count)
|
|
86
|
+
continue;
|
|
87
|
+
const a = timing.stepStartSec(s.index);
|
|
88
|
+
const b = a + timing.stepDurSec;
|
|
89
|
+
const list = windows[i];
|
|
90
|
+
const last = list[list.length - 1];
|
|
91
|
+
if (last && Math.abs(last.b - a) < 1e-6)
|
|
92
|
+
last.b = b; // contiguous → extend
|
|
93
|
+
else
|
|
94
|
+
list.push({ a, b });
|
|
95
|
+
}
|
|
96
|
+
return windows.map((list) => list.length === 0 ? "" : list.map((r) => `(gte(t,${f3(r.a)})*lt(t,${f3(r.b)}))`).join("+"));
|
|
97
|
+
}
|
|
98
|
+
/** Merge consecutive identical narration lines into enable-gated variants. The
|
|
99
|
+
* last line holds through the trail (the closing narration stays on screen for
|
|
100
|
+
* the end hold, like the canvas + inspector values). */
|
|
101
|
+
function narrationVariants(steps, timing) {
|
|
102
|
+
const lastIndex = steps.length > 0 ? steps[0].total : 0;
|
|
103
|
+
const endT = timing.durationMs / 1000;
|
|
104
|
+
const ranges = new Map();
|
|
105
|
+
const order = [];
|
|
106
|
+
for (const s of steps) {
|
|
107
|
+
const label = s.narration || " ";
|
|
108
|
+
const a = timing.stepStartSec(s.index);
|
|
109
|
+
const b = s.index === lastIndex ? Math.max(a + timing.stepDurSec, endT) : a + timing.stepDurSec;
|
|
110
|
+
if (!ranges.has(label)) {
|
|
111
|
+
ranges.set(label, []);
|
|
112
|
+
order.push(label);
|
|
113
|
+
}
|
|
114
|
+
const list = ranges.get(label);
|
|
115
|
+
const last = list[list.length - 1];
|
|
116
|
+
if (last && Math.abs(last.b - a) < 1e-6)
|
|
117
|
+
last.b = b;
|
|
118
|
+
else
|
|
119
|
+
list.push({ a, b });
|
|
120
|
+
}
|
|
121
|
+
return order.map((label) => ({
|
|
122
|
+
label,
|
|
123
|
+
enableExpr: ranges.get(label).map((r) => `(gte(t,${f3(r.a)})*lt(t,${f3(r.b)}))`).join("+"),
|
|
124
|
+
}));
|
|
125
|
+
}
|
|
126
|
+
/** Build the full DSL-string projection (glyphs + caret enables + narration). */
|
|
127
|
+
function buildDslStringProjection(steps, timing, m0) {
|
|
128
|
+
const glyphs = classifyGlyphs(m0);
|
|
129
|
+
return {
|
|
130
|
+
glyphs,
|
|
131
|
+
caretEnable: caretEnableExprs(steps, timing, glyphs.length),
|
|
132
|
+
caretSteps: caretStepList(steps, timing),
|
|
133
|
+
narration: narrationVariants(steps, timing),
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* dsl-tutorial — inspector projection (live X/Y/W/H/Z + Kind/Status)
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* Projects the deterministic `Step[]` into the ffmpeg expressions the inspector
|
|
7
|
+
* panel renders against the GLOBAL clock — so the values mutate in lockstep with
|
|
8
|
+
* the geometry walk, the camera, and the step pill (no local clock).
|
|
9
|
+
*
|
|
10
|
+
* Two depth-safe mechanisms (both keep the panel well under the ~25 overlay
|
|
11
|
+
* mask-drop limit):
|
|
12
|
+
*
|
|
13
|
+
* - **Numeric fields (X/Y/W/H/Z)** — ONE `drawtext` expr per field: a
|
|
14
|
+
* piecewise-constant `%{eif:…}` over `t` that prints the active node's value.
|
|
15
|
+
* No per-step overlay stacking (which would blow the depth limit on a big
|
|
16
|
+
* walk); a single text layer that "reads out" the value as the parser moves.
|
|
17
|
+
*
|
|
18
|
+
* - **Kind / Status chips** — a handful of enable-gated text variants (one per
|
|
19
|
+
* DISTINCT kind / status), each lit over the union of its step windows. Only
|
|
20
|
+
* a few distinct values, so depth stays ~3.
|
|
21
|
+
*
|
|
22
|
+
* Plus a git-diff "just changed" PULSE per field: a soft alpha expr (filter
|
|
23
|
+
* context) that flashes once on each step where that field's value mutated
|
|
24
|
+
* (`before != after`), decaying over the step — the cue that a value is "new".
|
|
25
|
+
*
|
|
26
|
+
* Escaping: `drawtext` `%{eif:…}` text needs commas escaped as `\,` and colons
|
|
27
|
+
* as `\:` (the `eifText` wrapper does this). Overlay `alpha`/`enable` exprs are
|
|
28
|
+
* FILTER context — raw commas. The two never mix.
|
|
29
|
+
* ============================================================================
|
|
30
|
+
*/
|
|
31
|
+
import type { Step, InspectorField } from "./buildSteps";
|
|
32
|
+
import type { Timing } from "./timing";
|
|
33
|
+
export type InspectorFieldExpr = {
|
|
34
|
+
name: InspectorField;
|
|
35
|
+
/** Value variants: one per DISTINCT value, each gated over the union of the
|
|
36
|
+
* windows where the field holds that value. The panel renders these as
|
|
37
|
+
* enable-gated LAYERS of one video text source (the narration-collapse idiom).
|
|
38
|
+
* Replaces the old single `%{eif:…}` expression, which hit drawtext's ~80-
|
|
39
|
+
* boundary parser ceiling on dense grids (10×10 → ~100 changes → crash). */
|
|
40
|
+
valueVariants: ChipVariant[];
|
|
41
|
+
/** Filter-context ENABLE expr (nonzero = the "just changed" pulse is lit) — the
|
|
42
|
+
* union of the step windows where this field mutated. Drives the pulse tile's
|
|
43
|
+
* `overlay.enable` (a per-frame gate on the overlay), NOT `overlay.alpha`: a
|
|
44
|
+
* time-varying alpha becomes a per-PIXEL `geq`, and 8 fields × a dense-grid
|
|
45
|
+
* alpha expr overflowed the inspector filtergraph ("Cannot allocate memory").
|
|
46
|
+
* Enable gates the whole tile per frame — no geq — at a fixed tile alpha. */
|
|
47
|
+
changeEnable: string;
|
|
48
|
+
};
|
|
49
|
+
export type ChipVariant = {
|
|
50
|
+
label: string;
|
|
51
|
+
/** Filter-context enable expr (nonzero = shown). */
|
|
52
|
+
enableExpr: string;
|
|
53
|
+
};
|
|
54
|
+
export type InspectorProjection = {
|
|
55
|
+
fields: InspectorFieldExpr[];
|
|
56
|
+
kindVariants: ChipVariant[];
|
|
57
|
+
statusVariants: ChipVariant[];
|
|
58
|
+
/** "cols" / "rows" enable windows for the split N refers to — tags the arity. */
|
|
59
|
+
axisVariants: ChipVariant[];
|
|
60
|
+
};
|
|
61
|
+
/** Build the full inspector projection (field exprs + Kind/Status chip variants). */
|
|
62
|
+
export declare function buildInspectorProjection(steps: Step[], timing: Timing): InspectorProjection;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* dsl-tutorial — inspector projection (live X/Y/W/H/Z + Kind/Status)
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* Projects the deterministic `Step[]` into the ffmpeg expressions the inspector
|
|
8
|
+
* panel renders against the GLOBAL clock — so the values mutate in lockstep with
|
|
9
|
+
* the geometry walk, the camera, and the step pill (no local clock).
|
|
10
|
+
*
|
|
11
|
+
* Two depth-safe mechanisms (both keep the panel well under the ~25 overlay
|
|
12
|
+
* mask-drop limit):
|
|
13
|
+
*
|
|
14
|
+
* - **Numeric fields (X/Y/W/H/Z)** — ONE `drawtext` expr per field: a
|
|
15
|
+
* piecewise-constant `%{eif:…}` over `t` that prints the active node's value.
|
|
16
|
+
* No per-step overlay stacking (which would blow the depth limit on a big
|
|
17
|
+
* walk); a single text layer that "reads out" the value as the parser moves.
|
|
18
|
+
*
|
|
19
|
+
* - **Kind / Status chips** — a handful of enable-gated text variants (one per
|
|
20
|
+
* DISTINCT kind / status), each lit over the union of its step windows. Only
|
|
21
|
+
* a few distinct values, so depth stays ~3.
|
|
22
|
+
*
|
|
23
|
+
* Plus a git-diff "just changed" PULSE per field: a soft alpha expr (filter
|
|
24
|
+
* context) that flashes once on each step where that field's value mutated
|
|
25
|
+
* (`before != after`), decaying over the step — the cue that a value is "new".
|
|
26
|
+
*
|
|
27
|
+
* Escaping: `drawtext` `%{eif:…}` text needs commas escaped as `\,` and colons
|
|
28
|
+
* as `\:` (the `eifText` wrapper does this). Overlay `alpha`/`enable` exprs are
|
|
29
|
+
* FILTER context — raw commas. The two never mix.
|
|
30
|
+
* ============================================================================
|
|
31
|
+
*/
|
|
32
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
|
+
exports.buildInspectorProjection = buildInspectorProjection;
|
|
34
|
+
const FIELDS = ["X", "Y", "W", "H", "Z", "N", "R", "C"];
|
|
35
|
+
/** Max change-pulse enable windows per field — bounds the overlay `enable=` expr
|
|
36
|
+
* regardless of grid density (a dense grid changes a field ~once per tile). The
|
|
37
|
+
* pulse is a subtle value-changed flash that fires near-constantly on a dense
|
|
38
|
+
* walk, so an evenly-spaced subset reads identically. */
|
|
39
|
+
const PULSE_TERM_CAP = 32;
|
|
40
|
+
const f3 = (n) => n.toFixed(3);
|
|
41
|
+
/**
|
|
42
|
+
* The live value as enable-gated VARIANTS: one per DISTINCT value, each gated
|
|
43
|
+
* over the union of windows where the field holds that value. A field's value is
|
|
44
|
+
* piecewise-constant over `t` (holds the root value through the lead, then steps
|
|
45
|
+
* to each new value at its step start); we build those segments and group them by
|
|
46
|
+
* value. Because a value repeats (a grid's X cycles 0,tileW,2·tileW,… every row),
|
|
47
|
+
* the distinct-value count is ≪ the change count, so this stays a handful of
|
|
48
|
+
* variants even on a dense grid — one gated LAYER each, no giant `%{eif}` expr.
|
|
49
|
+
*/
|
|
50
|
+
function valueVariantsFor(steps, timing, field) {
|
|
51
|
+
// Boundaries: { tStart, v } — only where the value actually changes.
|
|
52
|
+
const bounds = [];
|
|
53
|
+
// Step 0 (the lead, before step 1) shows the root's own value — the unparsed
|
|
54
|
+
// canvas — so the very first split visibly mutates it.
|
|
55
|
+
if (steps.length > 0 && steps[0].fields[field].before != null) {
|
|
56
|
+
bounds.push({ tStart: 0, v: Math.round(steps[0].fields[field].before) });
|
|
57
|
+
}
|
|
58
|
+
for (const s of steps) {
|
|
59
|
+
const v = Math.round(s.fields[field].after);
|
|
60
|
+
if (bounds.length === 0 || bounds[bounds.length - 1].v !== v) {
|
|
61
|
+
bounds.push({ tStart: timing.stepStartSec(s.index), v });
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
const endT = timing.durationMs / 1000;
|
|
65
|
+
if (bounds.length === 0)
|
|
66
|
+
return [{ label: "0", enableExpr: `(gte(t,0.000)*lt(t,${f3(endT)}))` }];
|
|
67
|
+
// Each boundary segment [tStart_k, tStart_{k+1 or end}) holds value v_k; group
|
|
68
|
+
// segments by value into disjoint windows, merging contiguous ones.
|
|
69
|
+
const byValue = new Map();
|
|
70
|
+
const order = [];
|
|
71
|
+
for (let k = 0; k < bounds.length; k++) {
|
|
72
|
+
const a = bounds[k].tStart;
|
|
73
|
+
const b = k + 1 < bounds.length ? bounds[k + 1].tStart : endT;
|
|
74
|
+
if (b <= a)
|
|
75
|
+
continue;
|
|
76
|
+
let list = byValue.get(bounds[k].v);
|
|
77
|
+
if (!list) {
|
|
78
|
+
list = [];
|
|
79
|
+
byValue.set(bounds[k].v, list);
|
|
80
|
+
order.push(bounds[k].v);
|
|
81
|
+
}
|
|
82
|
+
const last = list[list.length - 1];
|
|
83
|
+
if (last && Math.abs(last.b - a) < 1e-6)
|
|
84
|
+
last.b = b; // contiguous → extend
|
|
85
|
+
else
|
|
86
|
+
list.push({ a, b });
|
|
87
|
+
}
|
|
88
|
+
return order.map((v) => ({
|
|
89
|
+
label: String(v),
|
|
90
|
+
enableExpr: byValue
|
|
91
|
+
.get(v)
|
|
92
|
+
.map((r) => `(gte(t,${f3(r.a)})*lt(t,${f3(r.b)}))`)
|
|
93
|
+
.join("+"),
|
|
94
|
+
}));
|
|
95
|
+
}
|
|
96
|
+
/** ENABLE windows for the "just changed" pulse — the union of step windows where
|
|
97
|
+
* the field mutated. On/off over each step (no decay), applied as the pulse
|
|
98
|
+
* tile's `overlay.enable` (per-frame, cheap) rather than a per-pixel `geq` alpha.
|
|
99
|
+
* `N` additionally pulses on EVERY count-read step, so reading a split count is
|
|
100
|
+
* never a visual no-op even when the count repeats (e.g. an 8×8 grid). */
|
|
101
|
+
function changeEnable(steps, timing, field) {
|
|
102
|
+
const terms = [];
|
|
103
|
+
for (const s of steps) {
|
|
104
|
+
const d = s.fields[field];
|
|
105
|
+
// Internal fields pulse on the event that "reads" them even if the value
|
|
106
|
+
// repeats, so the engine-state read is never a visual no-op: N/R on a count,
|
|
107
|
+
// C on a passthrough or leaf (donate / claim).
|
|
108
|
+
const forcePulse = ((field === "N" || field === "R") && s.eventType === "count") ||
|
|
109
|
+
(field === "C" && (s.eventType === "passthrough" || s.eventType === "emitLeaf"));
|
|
110
|
+
if (!forcePulse && (d.before == null || d.before === d.after))
|
|
111
|
+
continue; // dedupe steady fields
|
|
112
|
+
const a = timing.stepStartSec(s.index);
|
|
113
|
+
const b = a + timing.stepDurSec;
|
|
114
|
+
if (b <= a)
|
|
115
|
+
continue;
|
|
116
|
+
terms.push(`(gte(t,${f3(a)})*lt(t,${f3(b)}))`);
|
|
117
|
+
}
|
|
118
|
+
if (terms.length === 0)
|
|
119
|
+
return "0";
|
|
120
|
+
// Cap + decimate: the enable joins the overlay's `enable=` in the filtergraph,
|
|
121
|
+
// so keep it bounded regardless of grid density (see PULSE_TERM_CAP).
|
|
122
|
+
const capped = terms.length > PULSE_TERM_CAP
|
|
123
|
+
? Array.from({ length: PULSE_TERM_CAP }, (_v, i) => terms[Math.floor((i * terms.length) / PULSE_TERM_CAP)])
|
|
124
|
+
: terms;
|
|
125
|
+
// Windows are disjoint → the sum is a clean 0/1 gate.
|
|
126
|
+
return capped.join("+");
|
|
127
|
+
}
|
|
128
|
+
/** Merge each step's `label` into disjoint [start,end) ranges, OR'd into an enable expr. */
|
|
129
|
+
function variantsFor(steps, timing, labelOf) {
|
|
130
|
+
var _a;
|
|
131
|
+
// Per label → merged ranges (collapse consecutive same-label steps). The walk's
|
|
132
|
+
// FINAL step (index === total) runs to the end of the video, so the chips hold
|
|
133
|
+
// their final state through the trail (they used to blank out for the closing
|
|
134
|
+
// hold while the canvas + values kept theirs). A filtered step list (the axis
|
|
135
|
+
// chip only sees split-focused steps) is NOT extended past its own last step —
|
|
136
|
+
// the arity tag must stay blank once the walk is back at the root (N = 0).
|
|
137
|
+
const lastIndex = steps.length > 0 ? steps[0].total : 0;
|
|
138
|
+
const endT = timing.durationMs / 1000;
|
|
139
|
+
const ranges = new Map();
|
|
140
|
+
for (const s of steps) {
|
|
141
|
+
const label = labelOf(s);
|
|
142
|
+
const a = timing.stepStartSec(s.index);
|
|
143
|
+
const b = s.index === lastIndex ? Math.max(a + timing.stepDurSec, endT) : a + timing.stepDurSec;
|
|
144
|
+
const list = (_a = ranges.get(label)) !== null && _a !== void 0 ? _a : [];
|
|
145
|
+
const last = list[list.length - 1];
|
|
146
|
+
if (last && Math.abs(last.b - a) < 1e-6)
|
|
147
|
+
last.b = b; // contiguous → extend
|
|
148
|
+
else
|
|
149
|
+
list.push({ a, b });
|
|
150
|
+
ranges.set(label, list);
|
|
151
|
+
}
|
|
152
|
+
const out = [];
|
|
153
|
+
for (const [label, list] of ranges) {
|
|
154
|
+
const enableExpr = list
|
|
155
|
+
.map((r) => `(gte(t,${f3(r.a)})*lt(t,${f3(r.b)}))`)
|
|
156
|
+
.join("+");
|
|
157
|
+
out.push({ label, enableExpr });
|
|
158
|
+
}
|
|
159
|
+
return out;
|
|
160
|
+
}
|
|
161
|
+
// Short, chip-safe kind names (full "Passthrough" overflows the chip → "Pass").
|
|
162
|
+
const KIND_LABEL = {
|
|
163
|
+
passthrough: "Pass",
|
|
164
|
+
};
|
|
165
|
+
const kindLabel = (s) => {
|
|
166
|
+
var _a;
|
|
167
|
+
return s.kind
|
|
168
|
+
? (_a = KIND_LABEL[s.kind]) !== null && _a !== void 0 ? _a : s.kind.charAt(0).toUpperCase() + s.kind.slice(1)
|
|
169
|
+
: "Node";
|
|
170
|
+
};
|
|
171
|
+
const STATUS = {
|
|
172
|
+
count: "Count",
|
|
173
|
+
enter: "Split",
|
|
174
|
+
sibling: "Next",
|
|
175
|
+
emitLeaf: "Leaf",
|
|
176
|
+
exit: "Close",
|
|
177
|
+
passthrough: "Pass",
|
|
178
|
+
null: "Null",
|
|
179
|
+
overlay: "Overlay",
|
|
180
|
+
};
|
|
181
|
+
const statusLabel = (s) => { var _a; return (_a = STATUS[s.eventType]) !== null && _a !== void 0 ? _a : "Step"; };
|
|
182
|
+
/** Build the full inspector projection (field exprs + Kind/Status chip variants). */
|
|
183
|
+
function buildInspectorProjection(steps, timing) {
|
|
184
|
+
const fields = FIELDS.map((name) => ({
|
|
185
|
+
name,
|
|
186
|
+
valueVariants: valueVariantsFor(steps, timing, name),
|
|
187
|
+
changeEnable: changeEnable(steps, timing, name),
|
|
188
|
+
}));
|
|
189
|
+
return {
|
|
190
|
+
fields,
|
|
191
|
+
kindVariants: variantsFor(steps, timing, kindLabel),
|
|
192
|
+
statusVariants: variantsFor(steps, timing, statusLabel),
|
|
193
|
+
// Only steps that sit inside (or read) a split carry an axis — root steps
|
|
194
|
+
// (no split in focus) are excluded so the tag is blank there.
|
|
195
|
+
axisVariants: variantsFor(steps.filter((s) => s.axisInFocus), timing, (s) => (s.axisInFocus === "col" ? "cols" : "rows")),
|
|
196
|
+
};
|
|
197
|
+
}
|