@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,615 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TheMosaicMV2 = void 0;
|
|
4
|
+
const types_1 = require("@m0saic/types");
|
|
5
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
6
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
7
|
+
const dictionary_1 = require("@m0saic/dictionary");
|
|
8
|
+
const HERO_ORANGE = "#f97316";
|
|
9
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
10
|
+
color: {
|
|
11
|
+
type: "string",
|
|
12
|
+
required: false,
|
|
13
|
+
description: "Foreground color of the logo tiles",
|
|
14
|
+
meta: {
|
|
15
|
+
constraints: { isColor: true },
|
|
16
|
+
ui: { label: "Logo Color" },
|
|
17
|
+
control: { colorPicker: true, placeholder: HERO_ORANGE },
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
size: {
|
|
21
|
+
type: "string",
|
|
22
|
+
required: false,
|
|
23
|
+
description: "Brand entry to render. m-33 (33 rect frames with rank set, fast). " +
|
|
24
|
+
"m-33_bitmap (272x272 bitmap, 36770 frames — substantially slower).",
|
|
25
|
+
meta: {
|
|
26
|
+
constraints: { oneOf: ["m-33", "m-33_bitmap"] },
|
|
27
|
+
ui: { label: "Size" },
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
animation: {
|
|
31
|
+
type: "string",
|
|
32
|
+
required: false,
|
|
33
|
+
description: "Animation mode: logo_loop (reveal in/out), progress_fill (0→100%), loading_shimmer (looping shimmer while loading), loading_ui_v2 (the default loading treatment)",
|
|
34
|
+
meta: {
|
|
35
|
+
// `loading_ui_v2` IS the default and the render handles it — it was
|
|
36
|
+
// missing from the closed set, so the panel showed "—" for the state
|
|
37
|
+
// the template ships in (caught by the defaultsValidate convention).
|
|
38
|
+
constraints: { oneOf: ["logo_loop", "progress_fill", "loading_shimmer", "loading_ui_v2"] },
|
|
39
|
+
ui: { label: "Animation", order: 5 },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
// logo_loop
|
|
43
|
+
loopSec: {
|
|
44
|
+
type: "number",
|
|
45
|
+
required: false,
|
|
46
|
+
description: "Total duration of the animation loop (in seconds)",
|
|
47
|
+
meta: {
|
|
48
|
+
constraints: { min: 0.1, max: 60 },
|
|
49
|
+
ui: { label: "Loop (sec)", order: 10 },
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
inEnd: {
|
|
53
|
+
type: "number",
|
|
54
|
+
required: false,
|
|
55
|
+
description: "Fraction of the loop used for the reveal-in phase",
|
|
56
|
+
meta: {
|
|
57
|
+
constraints: { min: 0.0001, max: 1 },
|
|
58
|
+
ui: { label: "Reveal-in end", order: 20 },
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
outStart: {
|
|
62
|
+
type: "number",
|
|
63
|
+
required: false,
|
|
64
|
+
description: "Fraction of the loop where reveal-out begins",
|
|
65
|
+
meta: {
|
|
66
|
+
constraints: { min: 0, max: 0.9999 },
|
|
67
|
+
ui: { label: "Reveal-out start", order: 30 },
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
feather: {
|
|
71
|
+
type: "number",
|
|
72
|
+
required: false,
|
|
73
|
+
description: "Feather amount in normalized units (0..1) to soften thresholds (fill / shimmer / reveal)",
|
|
74
|
+
meta: {
|
|
75
|
+
constraints: { min: 0, max: 0.2 },
|
|
76
|
+
ui: { label: "Feather", order: 35 },
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
startDelay: {
|
|
80
|
+
type: "number",
|
|
81
|
+
required: false,
|
|
82
|
+
description: "Fraction of the loop to hold on black BEFORE reveal starts.",
|
|
83
|
+
meta: {
|
|
84
|
+
constraints: { min: 0, max: 0.9 },
|
|
85
|
+
ui: { label: "Start pause", order: 25 },
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
endDelay: {
|
|
89
|
+
type: "number",
|
|
90
|
+
required: false,
|
|
91
|
+
description: "Fraction of the loop to hold on black AFTER reveal-out finishes.",
|
|
92
|
+
meta: {
|
|
93
|
+
constraints: { min: 0, max: 0.9 },
|
|
94
|
+
ui: { label: "End pause", order: 27 },
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
easing: {
|
|
98
|
+
type: "string",
|
|
99
|
+
required: false,
|
|
100
|
+
description: "Easing applied to the active progress. smoothstep = calm ease-in-out.",
|
|
101
|
+
meta: {
|
|
102
|
+
constraints: { oneOf: ["linear", "smoothstep"] },
|
|
103
|
+
ui: { label: "Easing", order: 45 },
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
// progress_fill
|
|
107
|
+
progress: {
|
|
108
|
+
type: "number",
|
|
109
|
+
required: false,
|
|
110
|
+
description: "Progress 0..1 for progress_fill; when set, fills tiles directly (no time animation).",
|
|
111
|
+
meta: {
|
|
112
|
+
control: { placeholder: "auto (animated)" },
|
|
113
|
+
constraints: { min: 0, max: 1 },
|
|
114
|
+
ui: { label: "Progress", order: 50 },
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
progressSec: {
|
|
118
|
+
type: "number",
|
|
119
|
+
required: false,
|
|
120
|
+
description: "Duration (sec) for auto progress animation when progress is not set. Used only for progress_fill.",
|
|
121
|
+
meta: {
|
|
122
|
+
constraints: { min: 0.1, max: 60 },
|
|
123
|
+
ui: { label: "Progress duration (sec)", order: 52 },
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
oneShot: {
|
|
127
|
+
type: "boolean",
|
|
128
|
+
required: false,
|
|
129
|
+
description: "When true and progress is auto-animated, play once (no loop).",
|
|
130
|
+
meta: {
|
|
131
|
+
ui: { label: "One-shot", order: 54 },
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
// loading_shimmer
|
|
135
|
+
shimmerSec: {
|
|
136
|
+
type: "number",
|
|
137
|
+
required: false,
|
|
138
|
+
description: "Duration (sec) for one shimmer sweep. Used only for loading_shimmer.",
|
|
139
|
+
meta: {
|
|
140
|
+
constraints: { min: 0.1, max: 60 },
|
|
141
|
+
ui: { label: "Shimmer duration (sec)", order: 60 },
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
shimmerWidth: {
|
|
145
|
+
type: "number",
|
|
146
|
+
required: false,
|
|
147
|
+
description: "Width of the shimmer band in normalized units across the filled tiles (0..1). Used only for loading_shimmer.",
|
|
148
|
+
meta: {
|
|
149
|
+
constraints: { min: 0.01, max: 1 },
|
|
150
|
+
ui: { label: "Shimmer width", order: 62 },
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
});
|
|
154
|
+
const DICT_ID_M33 = "brand/m-33";
|
|
155
|
+
const DICT_ID_BITMAP = "brand/m-33_bitmap";
|
|
156
|
+
// Default rank set name for m-33's rect-based animation reveal order.
|
|
157
|
+
const DICT_ID_M33_RANKS = "diag";
|
|
158
|
+
// m-33_bitmap is a 272x272 bitmap with 36770 frames. Hard-coded here
|
|
159
|
+
// because bitmapRowMajorToCoords needs the side length explicitly.
|
|
160
|
+
const BITMAP_GRID = 272;
|
|
161
|
+
function buildLoadingUiAlphaExpr(rank, opts) {
|
|
162
|
+
const { baseMin, baseMax, basePulseSec, shimmerSec, shimmerWidth, shimmerAmp, feather, fps } = opts;
|
|
163
|
+
const startGate = `gte(t,1/${fps})`;
|
|
164
|
+
// base breathing: base = baseMin + (baseMax-baseMin)*0.5*(1-cos(2*pi*t/basePulseSec))
|
|
165
|
+
const base = `(${baseMin})+(${baseMax}-${baseMin})*0.5*(1-cos(2*PI*t/${basePulseSec}))`;
|
|
166
|
+
// moving center p in [0..1)
|
|
167
|
+
const p = `mod(t,${shimmerSec})/${shimmerSec}`;
|
|
168
|
+
const halfW = `(${shimmerWidth}/2)`;
|
|
169
|
+
// wrap distance
|
|
170
|
+
const d0 = `abs(${rank}-(${p}))`;
|
|
171
|
+
const d1 = `abs(${rank}-((${p})-1))`;
|
|
172
|
+
const d2 = `abs(${rank}-((${p})+1))`;
|
|
173
|
+
const d = `min(min(${d0},${d1}),${d2})`;
|
|
174
|
+
// band strength u in [0..1]: u = clamp(1 - d/halfW, 0, 1)
|
|
175
|
+
const u = `max(min(1-(${d})/(${halfW}),1),0)`;
|
|
176
|
+
// smoothstep(u) = u*u*(3-2*u)
|
|
177
|
+
const band = `(${u})*(${u})*(3-2*(${u}))`;
|
|
178
|
+
// highlight
|
|
179
|
+
const hi = `(${shimmerAmp})*${band}`;
|
|
180
|
+
// alpha = clamp(base + hi, 0, 1)
|
|
181
|
+
const a = `max(min((${base})+(${hi})+${feather},1),0)`;
|
|
182
|
+
return `${startGate}*(${a})`;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Parse row-major .m0 bitmap string into (x,y) coords for filled cells.
|
|
186
|
+
* Row-major: idx = y * gridSize + x → x = idx % gridSize, y = floor(idx / gridSize).
|
|
187
|
+
*/
|
|
188
|
+
function bitmapRowMajorToCoords(bitmap, gridSize) {
|
|
189
|
+
const expected = gridSize * gridSize;
|
|
190
|
+
const cleaned = bitmap.replace(/[^F1-]/g, "");
|
|
191
|
+
if (cleaned.length !== expected) {
|
|
192
|
+
return {
|
|
193
|
+
ok: false,
|
|
194
|
+
error: `Expected ${expected} bitmap chars (F/1/-) after stripping DSL punctuation; got ${cleaned.length}`,
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
const coords = [];
|
|
198
|
+
for (let idx = 0; idx < cleaned.length; idx++) {
|
|
199
|
+
const c = cleaned[idx];
|
|
200
|
+
if (c === "F" || c === "1") {
|
|
201
|
+
const x = idx % gridSize;
|
|
202
|
+
const y = Math.floor(idx / gridSize);
|
|
203
|
+
coords.push({ x, y });
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
return { ok: true, coords, filledCount: coords.length };
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Build a loopable per-tile enable expression for ffmpeg overlay.enable.
|
|
210
|
+
* Reveal-in by rank, hold, then reveal-out by reverse rank.
|
|
211
|
+
*/
|
|
212
|
+
function buildEnableExpr(rank, opts) {
|
|
213
|
+
const { loopSec, inEnd, outStart, feather, fps, startDelay, endDelay } = opts;
|
|
214
|
+
const p = `mod(t,${loopSec})/${loopSec}`;
|
|
215
|
+
const pFrame = `(1/${fps})/${loopSec}`;
|
|
216
|
+
const startGate = `gte(${p},${pFrame})`;
|
|
217
|
+
const activeStart = `${startDelay}`;
|
|
218
|
+
const activeEnd = `(1-${endDelay})`;
|
|
219
|
+
const activeDur = `(${activeEnd}-${activeStart})`;
|
|
220
|
+
const activeGate = `gte(${p},${activeStart})*lt(${p},${activeEnd})`;
|
|
221
|
+
const pA = `(((${p})-${activeStart})/${activeDur})`;
|
|
222
|
+
const pE = opts.easing === "smoothstep"
|
|
223
|
+
? `(${pA})*(${pA})*(3-2*(${pA}))`
|
|
224
|
+
: `${pA}`;
|
|
225
|
+
const outDur = `(1-${outStart})`;
|
|
226
|
+
const inProg = `min((${pE})/${inEnd},1)`;
|
|
227
|
+
const outProg = `min(max(((${pE})-${outStart})/${outDur},0),1)`;
|
|
228
|
+
return `${startGate}*${activeGate}*gte((${inProg})+${feather},${rank})*gte((1-(${outProg}))+${feather},${rank})`;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Deterministic raw score for ordering filled tiles (used to derive percentile ranks).
|
|
232
|
+
* Diagonal bottom-left → top-right:
|
|
233
|
+
* raw = 0.75*xN + 0.25*(1 - yN)
|
|
234
|
+
*/
|
|
235
|
+
function progressFillRawScore(x, y, GRID) {
|
|
236
|
+
if (GRID <= 1)
|
|
237
|
+
return 0;
|
|
238
|
+
const g = GRID - 1;
|
|
239
|
+
const xN = x / g;
|
|
240
|
+
const yN = y / g;
|
|
241
|
+
return 0.75 * xN + 0.25 * (1 - yN);
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Convert raw ordering scores into percentile ranks [0..1] across ONLY filled tiles.
|
|
245
|
+
* This makes progress=0.5 mean ~50% of filled tiles, regardless of where the shape sits in the grid.
|
|
246
|
+
*/
|
|
247
|
+
function buildPercentileRanks(coords, GRID) {
|
|
248
|
+
const scored = coords.map((c, idx) => ({
|
|
249
|
+
idx,
|
|
250
|
+
raw: progressFillRawScore(c.x, c.y, GRID),
|
|
251
|
+
}));
|
|
252
|
+
scored.sort((a, b) => a.raw - b.raw);
|
|
253
|
+
const n = scored.length;
|
|
254
|
+
const ranks = new Array(n);
|
|
255
|
+
for (let order = 0; order < n; order++) {
|
|
256
|
+
const pct = n <= 1 ? 0 : order / (n - 1);
|
|
257
|
+
ranks[scored[order].idx] = pct;
|
|
258
|
+
}
|
|
259
|
+
return ranks;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Build enable expression for progress_fill: p controls fill; enable when (p + feather) >= rank.
|
|
263
|
+
* rank MUST be a percentile rank in [0..1] across filled tiles.
|
|
264
|
+
*/
|
|
265
|
+
function buildProgressFillEnableExpr(rank, opts) {
|
|
266
|
+
const { progress, progressSec, oneShot, feather, fps } = opts;
|
|
267
|
+
// Frame-0 guard
|
|
268
|
+
const startGate = `gte(t,1/${fps})`;
|
|
269
|
+
const pExpr = progress !== undefined
|
|
270
|
+
? String(Math.max(0, Math.min(1, progress)))
|
|
271
|
+
: oneShot
|
|
272
|
+
? `min(max(t/${progressSec},0),1)`
|
|
273
|
+
: `mod(t,${progressSec})/${progressSec}`;
|
|
274
|
+
return `${startGate}*gte((${pExpr})+${feather},${rank})`;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Build enable expression for loading_shimmer:
|
|
278
|
+
* - shimmer center moves p(t) in [0..1)
|
|
279
|
+
* - enable tiles within a band around p
|
|
280
|
+
* - wrap-around handled by comparing to p, p-1, p+1
|
|
281
|
+
*
|
|
282
|
+
* rank MUST be a percentile rank in [0..1] across filled tiles.
|
|
283
|
+
*/
|
|
284
|
+
function buildLoadingShimmerEnableExpr(rank, opts) {
|
|
285
|
+
const { shimmerSec, shimmerWidth, feather, fps } = opts;
|
|
286
|
+
const startGate = `gte(t,1/${fps})`;
|
|
287
|
+
const p = `mod(t,${shimmerSec})/${shimmerSec}`;
|
|
288
|
+
const halfW = `(${shimmerWidth}/2)`;
|
|
289
|
+
// d = min( abs(rank - p), abs(rank - (p-1)), abs(rank - (p+1)) )
|
|
290
|
+
const d0 = `abs(${rank}-(${p}))`;
|
|
291
|
+
const d1 = `abs(${rank}-((${p})-1))`;
|
|
292
|
+
const d2 = `abs(${rank}-((${p})+1))`;
|
|
293
|
+
const d = `min(min(${d0},${d1}),${d2})`;
|
|
294
|
+
return `${startGate}*lte(${d},(${halfW})+${feather})`;
|
|
295
|
+
}
|
|
296
|
+
exports.TheMosaicMV2 = {
|
|
297
|
+
id: (0, types_1.asTemplateId)("@m0saic/brand/logo/v2"),
|
|
298
|
+
label: "The M0saic M Logo",
|
|
299
|
+
version: 2,
|
|
300
|
+
// BITMAP drafting mode (handbook §3c): the split counts ARE the canonical M bitmap —
|
|
301
|
+
// never live-composed, so the latticeSmooth convention does not apply.
|
|
302
|
+
lattice: { mode: "bitmap" },
|
|
303
|
+
description: "Deterministic render of the canonical m0saic M bitmap",
|
|
304
|
+
capabilities: { tier: "core" },
|
|
305
|
+
tags: ["brand", "logo"],
|
|
306
|
+
deprecated: {
|
|
307
|
+
reason: "Superseded by @m0saic/brand/logo/v3, a superset — v3 renders the M as rects (m-33) or bitmap plus the m0 logotype, the m0saic pattern, and the animated composite.",
|
|
308
|
+
replacement: (0, types_1.asTemplateId)("@m0saic/brand/logo/v3"),
|
|
309
|
+
since: "2026-07-15",
|
|
310
|
+
},
|
|
311
|
+
outputHints: {
|
|
312
|
+
fps: 30,
|
|
313
|
+
durationMs: 3200,
|
|
314
|
+
width: 1080,
|
|
315
|
+
height: 1080,
|
|
316
|
+
note: "Square logo loop",
|
|
317
|
+
},
|
|
318
|
+
propsSchema,
|
|
319
|
+
defaultProps: {
|
|
320
|
+
color: HERO_ORANGE,
|
|
321
|
+
size: "m-33",
|
|
322
|
+
// animation
|
|
323
|
+
animation: "loading_ui_v2",
|
|
324
|
+
// logo_loop defaults
|
|
325
|
+
loopSec: 3.2,
|
|
326
|
+
inEnd: 0.25,
|
|
327
|
+
outStart: 0.75,
|
|
328
|
+
feather: 0.02,
|
|
329
|
+
startDelay: 0.1,
|
|
330
|
+
endDelay: 0.2,
|
|
331
|
+
easing: "smoothstep",
|
|
332
|
+
// progress_fill defaults
|
|
333
|
+
progressSec: 2.0,
|
|
334
|
+
oneShot: false,
|
|
335
|
+
// loading_shimmer defaults
|
|
336
|
+
shimmerSec: 1.2,
|
|
337
|
+
shimmerWidth: 0.18,
|
|
338
|
+
},
|
|
339
|
+
render(props, ctx) {
|
|
340
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
341
|
+
const animMode = (_a = props.animation) !== null && _a !== void 0 ? _a : this.defaultProps.animation;
|
|
342
|
+
const loopSec = (_b = props.loopSec) !== null && _b !== void 0 ? _b : this.defaultProps.loopSec;
|
|
343
|
+
const inEnd = (_c = props.inEnd) !== null && _c !== void 0 ? _c : this.defaultProps.inEnd;
|
|
344
|
+
const outStart = (_d = props.outStart) !== null && _d !== void 0 ? _d : this.defaultProps.outStart;
|
|
345
|
+
const finalColor = (_e = props.color) !== null && _e !== void 0 ? _e : this.defaultProps.color;
|
|
346
|
+
const feather = (_f = props.feather) !== null && _f !== void 0 ? _f : this.defaultProps.feather;
|
|
347
|
+
const startDelay = (_g = props.startDelay) !== null && _g !== void 0 ? _g : this.defaultProps.startDelay;
|
|
348
|
+
const endDelay = (_h = props.endDelay) !== null && _h !== void 0 ? _h : this.defaultProps.endDelay;
|
|
349
|
+
const easing = (_j = props.easing) !== null && _j !== void 0 ? _j : this.defaultProps.easing;
|
|
350
|
+
const progressSec = (_k = props.progressSec) !== null && _k !== void 0 ? _k : this.defaultProps.progressSec;
|
|
351
|
+
const oneShot = (_l = props.oneShot) !== null && _l !== void 0 ? _l : this.defaultProps.oneShot;
|
|
352
|
+
const shimmerSec = (_m = props.shimmerSec) !== null && _m !== void 0 ? _m : this.defaultProps.shimmerSec;
|
|
353
|
+
const shimmerWidth = (_o = props.shimmerWidth) !== null && _o !== void 0 ? _o : this.defaultProps.shimmerWidth;
|
|
354
|
+
const effectiveFps = ctx.output.fps;
|
|
355
|
+
const errs = [];
|
|
356
|
+
if (!(feather >= 0 && feather <= 0.2)) {
|
|
357
|
+
errs.push(`feather must be in [0,0.2] (got ${feather})`);
|
|
358
|
+
}
|
|
359
|
+
if (animMode === "progress_fill") {
|
|
360
|
+
if (props.progress !== undefined) {
|
|
361
|
+
const p = props.progress;
|
|
362
|
+
if (!Number.isFinite(p) || p < 0 || p > 1) {
|
|
363
|
+
errs.push(`progress must be finite and in [0,1] (got ${p})`);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
else {
|
|
367
|
+
if (!(progressSec > 0)) {
|
|
368
|
+
errs.push(`progressSec must be > 0 when progress is not set (got ${progressSec})`);
|
|
369
|
+
}
|
|
370
|
+
if (progressSec < 0.1 || progressSec > 60) {
|
|
371
|
+
errs.push(`progressSec must be in [0.1, 60] (got ${progressSec})`);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
else if (animMode === "loading_shimmer") {
|
|
376
|
+
if (!(shimmerSec > 0))
|
|
377
|
+
errs.push(`shimmerSec must be > 0 (got ${shimmerSec})`);
|
|
378
|
+
if (shimmerSec < 0.1 || shimmerSec > 60)
|
|
379
|
+
errs.push(`shimmerSec must be in [0.1, 60] (got ${shimmerSec})`);
|
|
380
|
+
if (!(shimmerWidth > 0 && shimmerWidth <= 1))
|
|
381
|
+
errs.push(`shimmerWidth must be in (0,1] (got ${shimmerWidth})`);
|
|
382
|
+
}
|
|
383
|
+
else {
|
|
384
|
+
// logo_loop validations
|
|
385
|
+
if (!(loopSec > 0))
|
|
386
|
+
errs.push(`loopSec must be > 0 (got ${loopSec})`);
|
|
387
|
+
if (!(inEnd > 0 && inEnd <= 1))
|
|
388
|
+
errs.push(`inEnd must be in (0,1] (got ${inEnd})`);
|
|
389
|
+
if (!(outStart >= 0 && outStart < 1))
|
|
390
|
+
errs.push(`outStart must be in [0,1) (got ${outStart})`);
|
|
391
|
+
if (!(inEnd < outStart))
|
|
392
|
+
errs.push(`Expected inEnd < outStart (got inEnd=${inEnd}, outStart=${outStart})`);
|
|
393
|
+
if (!(startDelay >= 0 && startDelay < 1))
|
|
394
|
+
errs.push(`startDelay must be in [0,1) (got ${startDelay})`);
|
|
395
|
+
if (!(endDelay >= 0 && endDelay < 1))
|
|
396
|
+
errs.push(`endDelay must be in [0,1) (got ${endDelay})`);
|
|
397
|
+
if (!(startDelay + endDelay < 1))
|
|
398
|
+
errs.push(`Expected startDelay + endDelay < 1 (got ${startDelay + endDelay})`);
|
|
399
|
+
if (easing !== "linear" && easing !== "smoothstep")
|
|
400
|
+
errs.push(`easing must be "linear" or "smoothstep" (got ${String(easing)})`);
|
|
401
|
+
if (!(1 - endDelay - startDelay > 0))
|
|
402
|
+
errs.push(`Active window must be > 0 (got ${1 - endDelay - startDelay})`);
|
|
403
|
+
}
|
|
404
|
+
if (errs.length) {
|
|
405
|
+
return Promise.resolve((0, template_utils_1.makeErrorMosaic)(errs.join(" | "), {
|
|
406
|
+
title: `${this.id} props`,
|
|
407
|
+
width: ctx.output.width,
|
|
408
|
+
height: ctx.output.height,
|
|
409
|
+
}));
|
|
410
|
+
}
|
|
411
|
+
const isBitmap = props.size === "m-33_bitmap";
|
|
412
|
+
const dictId = isBitmap ? DICT_ID_BITMAP : DICT_ID_M33;
|
|
413
|
+
const entry = dictionary_1.registry.byId[dictId];
|
|
414
|
+
if (!entry) {
|
|
415
|
+
return Promise.resolve((0, template_utils_1.makeErrorMosaic)(`Dictionary entry "${dictId}" not found.`, {
|
|
416
|
+
title: `${this.id} entry`,
|
|
417
|
+
width: ctx.output.width,
|
|
418
|
+
height: ctx.output.height,
|
|
419
|
+
}));
|
|
420
|
+
}
|
|
421
|
+
const sourceCount = entry.sourceCount;
|
|
422
|
+
const m0saic = entry.m0;
|
|
423
|
+
const GRID = isBitmap ? BITMAP_GRID : 0;
|
|
424
|
+
let coords = null;
|
|
425
|
+
// ranks source:
|
|
426
|
+
// - m-33: loaded "diag" rank set (33 rect frames in diagonal order)
|
|
427
|
+
// - m-33_bitmap: computed from bitmap coords (radial for logo_loop,
|
|
428
|
+
// percentile for the progress/shimmer modes)
|
|
429
|
+
let ranks = [];
|
|
430
|
+
if (!isBitmap) {
|
|
431
|
+
// `dictionaryRegistry.getRankSet` now returns a StableKey-keyed
|
|
432
|
+
// MosaicRankSet (inline on the m0c). Convert to a positional
|
|
433
|
+
// `number[]` via the entry's source-order stableKeys so the
|
|
434
|
+
// downstream rank-by-index code keeps working unchanged.
|
|
435
|
+
const rankSet = dictionary_1.registry.getRankSet(dictId, DICT_ID_M33_RANKS);
|
|
436
|
+
const rankSourceKeys = (0, dictionary_1.getSourceOrderStableKeys)(entry);
|
|
437
|
+
const RANKS = rankSourceKeys.map((k) => { var _a; return (_a = rankSet.ranks[k]) !== null && _a !== void 0 ? _a : 0; });
|
|
438
|
+
if (RANKS.length !== sourceCount) {
|
|
439
|
+
return Promise.resolve((0, template_utils_1.makeErrorMosaic)(`${DICT_ID_M33_RANKS} ranks length (${RANKS.length}) != sourceCount (${sourceCount})`, {
|
|
440
|
+
title: `${this.id} ranks`,
|
|
441
|
+
width: ctx.output.width,
|
|
442
|
+
height: ctx.output.height,
|
|
443
|
+
}));
|
|
444
|
+
}
|
|
445
|
+
ranks = RANKS;
|
|
446
|
+
}
|
|
447
|
+
else {
|
|
448
|
+
const coordsRes = bitmapRowMajorToCoords(m0saic, GRID);
|
|
449
|
+
if (coordsRes.ok === false) {
|
|
450
|
+
return Promise.resolve((0, template_utils_1.makeErrorMosaic)(coordsRes.error, {
|
|
451
|
+
title: `${this.id} mask`,
|
|
452
|
+
width: ctx.output.width,
|
|
453
|
+
height: ctx.output.height,
|
|
454
|
+
}));
|
|
455
|
+
}
|
|
456
|
+
coords = coordsRes.coords;
|
|
457
|
+
if (coords.length !== sourceCount) {
|
|
458
|
+
return Promise.resolve((0, template_utils_1.makeErrorMosaic)(`Filled-count (${coords.length}) != sourceCount (${sourceCount}). (Treating 'F' and legacy '1' as filled.)`, {
|
|
459
|
+
title: `${this.id} mask`,
|
|
460
|
+
width: ctx.output.width,
|
|
461
|
+
height: ctx.output.height,
|
|
462
|
+
}));
|
|
463
|
+
}
|
|
464
|
+
// ranks =
|
|
465
|
+
// animMode === "progress_fill" ||
|
|
466
|
+
// animMode === "loading_shimmer" ||
|
|
467
|
+
// animMode === "loading_ui_v2"
|
|
468
|
+
// ? buildPercentileRanks(coords, GRID)
|
|
469
|
+
// : (() => {
|
|
470
|
+
// // logo_loop still uses radial symmetry from coords
|
|
471
|
+
// // keep existing path below; we’ll compute rank inline there
|
|
472
|
+
// return [];
|
|
473
|
+
// })();
|
|
474
|
+
ranks =
|
|
475
|
+
animMode === "progress_fill" ||
|
|
476
|
+
animMode === "loading_shimmer" ||
|
|
477
|
+
animMode === "loading_ui_v2"
|
|
478
|
+
? buildPercentileRanks(coords, GRID)
|
|
479
|
+
: [];
|
|
480
|
+
}
|
|
481
|
+
// sanity for the modes that require ranks
|
|
482
|
+
if ((animMode === "progress_fill" ||
|
|
483
|
+
animMode === "loading_shimmer" ||
|
|
484
|
+
animMode === "loading_ui_v2") &&
|
|
485
|
+
ranks.length !== sourceCount) {
|
|
486
|
+
throw new Error(`ranks missing for animMode="${animMode}" size="${props.size}"`);
|
|
487
|
+
}
|
|
488
|
+
const sources = animMode === "progress_fill"
|
|
489
|
+
? Array.from({ length: sourceCount }, (_, i) => {
|
|
490
|
+
const rank = ranks[i];
|
|
491
|
+
const enable = buildProgressFillEnableExpr(rank, {
|
|
492
|
+
progress: props.progress,
|
|
493
|
+
progressSec,
|
|
494
|
+
oneShot,
|
|
495
|
+
feather,
|
|
496
|
+
fps: effectiveFps,
|
|
497
|
+
});
|
|
498
|
+
return (0, template_utils_1.makeColorTile)(finalColor, { overlay: { enable } });
|
|
499
|
+
})
|
|
500
|
+
: animMode === "loading_shimmer"
|
|
501
|
+
? Array.from({ length: sourceCount }, (_, i) => {
|
|
502
|
+
const rank = ranks[i];
|
|
503
|
+
const enable = buildLoadingShimmerEnableExpr(rank, {
|
|
504
|
+
shimmerSec,
|
|
505
|
+
shimmerWidth,
|
|
506
|
+
feather,
|
|
507
|
+
fps: effectiveFps,
|
|
508
|
+
});
|
|
509
|
+
return (0, template_utils_1.makeColorTile)(finalColor, { overlay: { enable } });
|
|
510
|
+
})
|
|
511
|
+
: animMode === "loading_ui_v2"
|
|
512
|
+
? Array.from({ length: sourceCount }, (_, i) => {
|
|
513
|
+
const rank = ranks[i];
|
|
514
|
+
const alpha = buildLoadingUiAlphaExpr(rank, {
|
|
515
|
+
baseMin: 0.18,
|
|
516
|
+
baseMax: 0.32,
|
|
517
|
+
basePulseSec: 1.6,
|
|
518
|
+
shimmerSec,
|
|
519
|
+
shimmerWidth,
|
|
520
|
+
shimmerAmp: 0.75,
|
|
521
|
+
feather,
|
|
522
|
+
fps: effectiveFps,
|
|
523
|
+
});
|
|
524
|
+
return (0, template_utils_1.makeColorTile)(finalColor, { overlay: { alpha } });
|
|
525
|
+
})
|
|
526
|
+
: (() => {
|
|
527
|
+
// logo_loop
|
|
528
|
+
if (!isBitmap) {
|
|
529
|
+
// m-33: use precomputed diag rank set across the 33 rect frames
|
|
530
|
+
return Array.from({ length: sourceCount }, (_, i) => {
|
|
531
|
+
const rank = ranks[i];
|
|
532
|
+
const enable = buildEnableExpr(rank, {
|
|
533
|
+
loopSec,
|
|
534
|
+
inEnd,
|
|
535
|
+
outStart,
|
|
536
|
+
feather,
|
|
537
|
+
fps: effectiveFps,
|
|
538
|
+
startDelay,
|
|
539
|
+
endDelay,
|
|
540
|
+
easing,
|
|
541
|
+
});
|
|
542
|
+
return (0, template_utils_1.makeColorTile)(finalColor, { overlay: { enable } });
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
// m-33_bitmap: radial reveal from bitmap coords
|
|
546
|
+
if (!coords) {
|
|
547
|
+
throw new Error("coords missing for bitmap logo_loop");
|
|
548
|
+
}
|
|
549
|
+
const cx = (GRID - 1) / 2;
|
|
550
|
+
const cy = (GRID - 1) / 2;
|
|
551
|
+
const dMax = Math.sqrt(cx * cx + cy * cy);
|
|
552
|
+
const symmetricFade = true;
|
|
553
|
+
const effectiveOutStart = symmetricFade ? 1 - inEnd : outStart;
|
|
554
|
+
return Array.from({ length: sourceCount }, (_, i) => {
|
|
555
|
+
const { x, y } = coords[i];
|
|
556
|
+
const dx = x - cx;
|
|
557
|
+
const dy = y - cy;
|
|
558
|
+
const rank = dMax === 0 ? 0 : Math.sqrt(dx * dx + dy * dy) / dMax;
|
|
559
|
+
const enable = buildEnableExpr(rank, {
|
|
560
|
+
loopSec,
|
|
561
|
+
inEnd,
|
|
562
|
+
outStart: effectiveOutStart,
|
|
563
|
+
feather,
|
|
564
|
+
fps: effectiveFps,
|
|
565
|
+
startDelay,
|
|
566
|
+
endDelay,
|
|
567
|
+
easing,
|
|
568
|
+
});
|
|
569
|
+
return (0, template_utils_1.makeColorTile)(finalColor, { overlay: { enable } });
|
|
570
|
+
});
|
|
571
|
+
})();
|
|
572
|
+
// Carve each rect tile into its exact M sub-shape (diagonals / serifs)
|
|
573
|
+
// via the dictionary mask set, so the rendered video shows the true M
|
|
574
|
+
// silhouette rather than blocky rectangles. Null mask entries (the M's
|
|
575
|
+
// solid-rect body) resolve to "no mask" → full rect. The bitmap variant
|
|
576
|
+
// is already pixel-exact and ships no mask set, so it is left unmasked.
|
|
577
|
+
//
|
|
578
|
+
// Inlines the silhouette data (localPath + design-space bounds) loaded
|
|
579
|
+
// from the dictionary so the engine reads `source.mask` directly — no
|
|
580
|
+
// extra fetch / cache lookup at render time, and the emitted document
|
|
581
|
+
// is self-contained (can be saved/shared without the dictionary
|
|
582
|
+
// present at consumption time).
|
|
583
|
+
const maskedSources = (() => {
|
|
584
|
+
if (isBitmap)
|
|
585
|
+
return sources;
|
|
586
|
+
const entry = dictionary_1.registry.byId[dictId];
|
|
587
|
+
if (!entry || !entry.masks)
|
|
588
|
+
return sources;
|
|
589
|
+
const sourceKeys = (0, dictionary_1.getSourceOrderStableKeys)(entry);
|
|
590
|
+
const masks = entry.masks;
|
|
591
|
+
return sources.map((s, i) => {
|
|
592
|
+
const m = masks[sourceKeys[i]];
|
|
593
|
+
if (!m)
|
|
594
|
+
return s;
|
|
595
|
+
return {
|
|
596
|
+
...s,
|
|
597
|
+
mask: {
|
|
598
|
+
kind: "inline-mask",
|
|
599
|
+
localPath: m.localPath,
|
|
600
|
+
bounds: m.bounds,
|
|
601
|
+
},
|
|
602
|
+
};
|
|
603
|
+
});
|
|
604
|
+
})();
|
|
605
|
+
const doc = {
|
|
606
|
+
kind: "mosaic_document",
|
|
607
|
+
version: 1,
|
|
608
|
+
sources: maskedSources,
|
|
609
|
+
assets: {},
|
|
610
|
+
m0: (0, dsl_stdlib_1.toM0String)(m0saic, "LogoV2"),
|
|
611
|
+
};
|
|
612
|
+
return Promise.resolve(doc);
|
|
613
|
+
},
|
|
614
|
+
};
|
|
615
|
+
(0, template_utils_1.registerTemplate)(exports.TheMosaicMV2);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TheMosaicMV3 } from "./logo_runner";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TheMosaicMV3 = void 0;
|
|
4
|
+
var logo_runner_1 = require("./logo_runner");
|
|
5
|
+
Object.defineProperty(exports, "TheMosaicMV3", { enumerable: true, get: function () { return logo_runner_1.TheMosaicMV3; } });
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { MosaicColor, MosaicTemplate } from "@m0saic/types";
|
|
2
|
+
export type LogoProps = {
|
|
3
|
+
color?: MosaicColor;
|
|
4
|
+
size?: "m-33" | "m0" | "m0saic-pattern" | "m-33_bitmap";
|
|
5
|
+
/**
|
|
6
|
+
* logo_loop: existing radial reveal in/out loop
|
|
7
|
+
* progress_fill: deterministic 0..1 fill (requires progress or time-based progressSec)
|
|
8
|
+
* loading_shimmer: deterministic sweeping shimmer band (best for unknown load times)
|
|
9
|
+
*/
|
|
10
|
+
animation?: "logo_loop" | "progress_fill" | "loading_shimmer" | "loading_ui_v2";
|
|
11
|
+
loopSec?: number;
|
|
12
|
+
inEnd?: number;
|
|
13
|
+
outStart?: number;
|
|
14
|
+
feather?: number;
|
|
15
|
+
startDelay?: number;
|
|
16
|
+
endDelay?: number;
|
|
17
|
+
easing?: "linear" | "smoothstep";
|
|
18
|
+
/** Progress 0..1 for progress_fill; when set, controls fill directly (no time-based animation). */
|
|
19
|
+
progress?: number;
|
|
20
|
+
/** Duration in seconds for auto progress animation when progress is undefined. Used only for progress_fill. */
|
|
21
|
+
progressSec?: number;
|
|
22
|
+
/** When true and progress is auto-animated, use one-shot (no loop). */
|
|
23
|
+
oneShot?: boolean;
|
|
24
|
+
/** Duration (sec) for one shimmer sweep. Used only for loading_shimmer. */
|
|
25
|
+
shimmerSec?: number;
|
|
26
|
+
/** Band width in normalized units across the filled tiles (0..1). Used only for loading_shimmer. */
|
|
27
|
+
shimmerWidth?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Hero rank set to use for m0 / m-33 / m0saic-pattern animations.
|
|
30
|
+
* - "diag" (default): top-left → bottom-right diagonal sweep (cx + cy)
|
|
31
|
+
* - "cascade": top-down wipe, row-by-row, left-to-right within rows
|
|
32
|
+
* - "radial": center → edges pulse
|
|
33
|
+
*/
|
|
34
|
+
rankSet?: "diag" | "cascade" | "radial";
|
|
35
|
+
};
|
|
36
|
+
export declare const TheMosaicMV3Base: MosaicTemplate<LogoProps>;
|