@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,476 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* @m0saic/github/year-card/v1 — a developer's year on GitHub, on one card
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* The contribution calendar (7 weekday rows × 53 week columns, month labels
|
|
8
|
+
* along the top, weekday labels down the side, a Less → More legend) with a
|
|
9
|
+
* row of four numbers above it — commits, pull requests, stars, top language
|
|
10
|
+
* — and the handle + year in the header. The vanity share every developer
|
|
11
|
+
* posts; hand it a year of daily counts (365 numbers, or a comma string) and
|
|
12
|
+
* the totals in the KPI tiles.
|
|
13
|
+
*
|
|
14
|
+
* Construction is the alpine heatmap's v2 move at calendar scale: the cell
|
|
15
|
+
* matrix is one gutterless `grid(7×53)` — its precision is the cell COUNT,
|
|
16
|
+
* not the canvas — and the inter-cell gap is applied AFTER composition by
|
|
17
|
+
* lattice retargeting (`latticeCellInset` over the parsed cell rects), so
|
|
18
|
+
* the cells are equal and the gaps exact at any canvas. The cells are plain
|
|
19
|
+
* square tiles (no per-tile rounding mask — at 371 tiles that quadruples the
|
|
20
|
+
* render) and the reveal is ONE curtain track, not 371 overlays. Chrome is the alpine
|
|
21
|
+
* card kit, RATIO throughout. The weeks are placed by real calendar math
|
|
22
|
+
* (UTC, deterministic): the first column is the week of January 1st, cells
|
|
23
|
+
* outside the year paint the card colour.
|
|
24
|
+
*
|
|
25
|
+
* Determinism: the sample year is a fixed literal, no clock, no randomness.
|
|
26
|
+
* ============================================================================
|
|
27
|
+
*/
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.YearCardV1 = exports.SAMPLE_CONTRIBUTIONS = void 0;
|
|
30
|
+
exports.parseContributions = parseContributions;
|
|
31
|
+
exports.calendarLayout = calendarLayout;
|
|
32
|
+
exports.bucketOf = bucketOf;
|
|
33
|
+
exports.longestStreak = longestStreak;
|
|
34
|
+
exports.fmtCount = fmtCount;
|
|
35
|
+
exports.smoothTileRow = smoothTileRow;
|
|
36
|
+
const types_1 = require("@m0saic/types");
|
|
37
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
38
|
+
const dsl_1 = require("@m0saic/dsl");
|
|
39
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
40
|
+
const alpine_card_1 = require("../../../alpine/_shared/alpine-card");
|
|
41
|
+
const alpine_theme_1 = require("../../../alpine/_shared/alpine-theme");
|
|
42
|
+
const alpine_anim_1 = require("../../../alpine/_shared/alpine-anim");
|
|
43
|
+
const TEMPLATE_ID = "@m0saic/github/year-card/v1";
|
|
44
|
+
const WEEKS = 53;
|
|
45
|
+
const DAYS = 7;
|
|
46
|
+
const LEVELS = 5;
|
|
47
|
+
/** Light by default: the year unfolds week by week under ONE curtain track; premium fades every cell on the diagonal (371 overlays, ~40 s for a 3 s clip). */
|
|
48
|
+
const DEFAULT_ANIM = { renderMode: "light", introFrac: 0.7, reduceMotion: false };
|
|
49
|
+
/** GitHub's calendar greens, light and dark. */
|
|
50
|
+
const GREENS = {
|
|
51
|
+
light: ["#ebedf0", "#9be9a8", "#40c463", "#30a14e", "#216e39"],
|
|
52
|
+
dark: ["#161b22", "#0e4429", "#006d32", "#26a641", "#39d353"],
|
|
53
|
+
};
|
|
54
|
+
const MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
55
|
+
const WEEKDAY_LABELS = [[1, "Mon"], [3, "Wed"], [5, "Fri"]];
|
|
56
|
+
/** A fixed sample year (2026): 905 contributions over 217 days, a two-week break in August. */
|
|
57
|
+
exports.SAMPLE_CONTRIBUTIONS = "4,2,0,0,1,0,5,0,1,0,0,4,5,5,0,4,0,0,6,0,0,0,4,0,0,0,0,0,0,0,4,1,0,0,0,4,1,0,5,7,0,0,0,2,3,1,2,4,2,2,8,0,2,1,3,0,6,0,0,3,5,3,10,5,1,0,0,2,0,0,8,0,11,1,3,1,7,2,1,0,0,3,0,6,1,1,0,0,7,8,0,0,4,3,7,7,5,5,12,0,0,11,6,3,3,1,1,0,0,8,3,3,4,0,1,4,14,1,8,14,9,0,1,6,11,1,5,4,0,1,6,1,15,1,4,0,0,7,9,0,3,2,0,0,4,9,4,1,0,4,0,10,2,2,4,1,0,2,4,1,3,1,1,2,0,0,4,3,0,4,0,0,2,3,1,7,0,0,1,0,11,0,4,4,2,0,0,2,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,5,0,2,0,3,1,2,1,1,0,3,9,6,5,1,1,3,0,7,6,3,8,3,4,0,5,0,8,13,15,0,2,2,2,3,6,11,0,0,2,9,3,1,2,2,0,2,5,3,3,2,15,3,4,3,3,6,3,0,3,3,5,5,5,1,0,0,3,8,5,1,2,0,0,2,3,6,1,7,0,0,10,4,2,6,5,0,1,0,2,10,2,3,0,2,8,5,0,7,6,0,3,9,6,4,5,0,0,0,0,0,5,1,4,2,0,2,1,0,0,0,0,0,5,0,0,0,0,0,0,1,1,0,3,0,0,0,0,0,0,0,0,0,0,0,1,0,0";
|
|
58
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
59
|
+
handle: { type: "string", required: false, description: "GitHub handle for the header.", meta: { control: { placeholder: "none" }, ui: { label: "Handle", order: 1, primary: true } } },
|
|
60
|
+
year: { type: "number", required: false, description: "Calendar year (places the weeks and month labels).", meta: { constraints: { min: 2008, max: 2100 }, ui: { label: "Year", order: 2 } } },
|
|
61
|
+
contributions: {
|
|
62
|
+
type: "json",
|
|
63
|
+
required: true,
|
|
64
|
+
description: "Daily contribution counts from January 1st — an array of 365/366 numbers, or one comma-separated string. Missing days count as 0.",
|
|
65
|
+
meta: { ui: { label: "Contributions", order: 3, primary: true, consumer: "agent" } },
|
|
66
|
+
},
|
|
67
|
+
commits: { type: "number", required: false, description: "Commits this year (KPI tile).", meta: { control: { placeholder: "none" }, ui: { label: "Commits", order: 4 } } },
|
|
68
|
+
pullRequests: { type: "number", required: false, description: "Pull requests this year (KPI tile).", meta: { control: { placeholder: "none" }, ui: { label: "Pull requests", order: 5 } } },
|
|
69
|
+
stars: { type: "number", required: false, description: "Stars earned this year (KPI tile).", meta: { control: { placeholder: "none" }, ui: { label: "Stars", order: 6 } } },
|
|
70
|
+
topLanguage: { type: "string", required: false, description: "Most-used language (KPI tile).", meta: { control: { placeholder: "none" }, ui: { label: "Top language", order: 7 } } },
|
|
71
|
+
showKpis: { type: "boolean", required: false, description: "Show the four KPI tiles above the calendar.", meta: { ui: { label: "Show KPIs", order: 8 } } },
|
|
72
|
+
preset: { type: "string", required: false, description: 'Alpine theme: "light" (default) or "dark" — the calendar greens follow.', meta: { constraints: { oneOf: ["light", "dark"] }, ui: { label: "Preset", order: 9 } } },
|
|
73
|
+
anim: {
|
|
74
|
+
type: "group",
|
|
75
|
+
required: false,
|
|
76
|
+
description: "Reveal: the calendar unfolds week by week (light) or fades in on the diagonal (premium). reduceMotion renders the final frame.",
|
|
77
|
+
meta: { ui: { label: "Animation", order: 10, collapsedByDefault: true } },
|
|
78
|
+
fields: {
|
|
79
|
+
reduceMotion: alpine_anim_1.ALPINE_ANIM_FIELDS.reduceMotion,
|
|
80
|
+
introFrac: alpine_anim_1.ALPINE_ANIM_FIELDS.introFrac,
|
|
81
|
+
renderMode: (0, alpine_anim_1.fEnum)("Render mode", ["premium", "light"], "light (default) = the year unfolds week by week under one curtain — free; premium = every cell fades in on the diagonal, ~10× the render time."),
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
theme: { type: "json", required: false, description: "Opt-in producer theme tokens.", meta: { ui: { label: "Theme", order: 11, collapsedByDefault: true, consumer: "agent" } } },
|
|
85
|
+
debugLayout: { type: "boolean", required: false, description: "Dev-only: overlay the layout contract.", meta: { ui: { label: "Debug layout", order: 12 } } },
|
|
86
|
+
});
|
|
87
|
+
// ---------------------------------------------------------------------------
|
|
88
|
+
// Pure helpers (exported for tests)
|
|
89
|
+
// ---------------------------------------------------------------------------
|
|
90
|
+
/** Daily counts from an array or a comma string; non-numbers → 0. */
|
|
91
|
+
function parseContributions(v) {
|
|
92
|
+
const raw = Array.isArray(v) ? v : typeof v === "string" && v.trim() ? v.trim().split(/[,\s]+/) : [];
|
|
93
|
+
return raw.map((x) => {
|
|
94
|
+
const n = typeof x === "number" ? x : Number(x);
|
|
95
|
+
return Number.isFinite(n) && n > 0 ? Math.round(n) : 0;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/** Calendar geometry for `year` — UTC math, no clock. */
|
|
99
|
+
function calendarLayout(year) {
|
|
100
|
+
const jan1 = Date.UTC(year, 0, 1);
|
|
101
|
+
const days = Math.round((Date.UTC(year + 1, 0, 1) - jan1) / 86400000);
|
|
102
|
+
const firstDow = new Date(jan1).getUTCDay();
|
|
103
|
+
const monthCols = MONTHS.map((label, m) => {
|
|
104
|
+
const dayIndex = Math.round((Date.UTC(year, m, 1) - jan1) / 86400000);
|
|
105
|
+
return { label, col: Math.floor((dayIndex + firstDow) / DAYS) };
|
|
106
|
+
});
|
|
107
|
+
return { days, firstDow, monthCols };
|
|
108
|
+
}
|
|
109
|
+
/** GitHub-style buckets: 0 for none, then four quartiles of the year's max. */
|
|
110
|
+
function bucketOf(v, max) {
|
|
111
|
+
if (v <= 0 || max <= 0)
|
|
112
|
+
return 0;
|
|
113
|
+
return Math.max(1, Math.min(LEVELS - 1, 1 + Math.floor((v / max) * (LEVELS - 1) * 0.99999)));
|
|
114
|
+
}
|
|
115
|
+
/** Longest run of consecutive active days. */
|
|
116
|
+
function longestStreak(counts) {
|
|
117
|
+
let run = 0, best = 0;
|
|
118
|
+
for (const v of counts) {
|
|
119
|
+
run = v > 0 ? run + 1 : 0;
|
|
120
|
+
if (run > best)
|
|
121
|
+
best = run;
|
|
122
|
+
}
|
|
123
|
+
return best;
|
|
124
|
+
}
|
|
125
|
+
function fmtCount(n) {
|
|
126
|
+
return n >= 1000000 ? `${(n / 1000000).toFixed(1)}M` : n >= 10000 ? `${(n / 1000).toFixed(1)}k` : n.toLocaleString("en-US");
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* `n` equal tiles separated by `n − 1` equal gutters of ~`gapFrac` of the row,
|
|
130
|
+
* as weights whose total is 5-smooth (≤ 120, the lattice). Rounding each band
|
|
131
|
+
* to a percent on its own (`wOf`) sums to 100 ± a few — 4×24 + 3×2 = 102 → a
|
|
132
|
+
* 51 = 3·17 basis — and `latticeWeights` cannot rewrite an item/gutter list
|
|
133
|
+
* onto a smooth total without making the tiles unequal, so the basis is
|
|
134
|
+
* chosen here, exactly: the smooth total whose gutter is nearest `gapFrac`.
|
|
135
|
+
*/
|
|
136
|
+
function smoothTileRow(n, gapFrac) {
|
|
137
|
+
if (n <= 1)
|
|
138
|
+
return { tile: 1, gap: 0, total: 1 };
|
|
139
|
+
let best = null;
|
|
140
|
+
for (let total = template_utils_1.FAMILY_GCD; total >= 2 * n - 1; total--) {
|
|
141
|
+
if (!(0, template_utils_1.isSmooth)(total))
|
|
142
|
+
continue;
|
|
143
|
+
const g0 = Math.round(total * gapFrac);
|
|
144
|
+
for (const gap of [g0, g0 - 1, g0 + 1]) {
|
|
145
|
+
if (gap < 1)
|
|
146
|
+
continue;
|
|
147
|
+
const rest = total - gap * (n - 1);
|
|
148
|
+
if (rest % n !== 0)
|
|
149
|
+
continue;
|
|
150
|
+
const tile = rest / n;
|
|
151
|
+
if (tile <= gap)
|
|
152
|
+
continue;
|
|
153
|
+
const err = Math.abs(gap / total - gapFrac);
|
|
154
|
+
if (!best || err < best.err)
|
|
155
|
+
best = { tile, gap, total, err };
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
if (!best)
|
|
159
|
+
return { tile: 1, gap: 0, total: n };
|
|
160
|
+
return { tile: best.tile, gap: best.gap, total: best.total };
|
|
161
|
+
}
|
|
162
|
+
function roundTile(c, radius) {
|
|
163
|
+
return (0, template_utils_1.makeColorTile)(c, { effects: { rounding: { cornerStyle: "rounded", borderRadius: radius } } });
|
|
164
|
+
}
|
|
165
|
+
function capFont(px, text, boxPx, min) {
|
|
166
|
+
return Math.max(min, Math.min(px, Math.floor((boxPx * 0.94 - 2) / (Math.max(1, (0, template_utils_1.textEmUnits)(text)) * 0.72))));
|
|
167
|
+
}
|
|
168
|
+
/** A KPI tile: big value over a small label, on the theme's grid surface. */
|
|
169
|
+
function kpiTile(value, label, theme, w, h, key, propKey) {
|
|
170
|
+
const big = capFont(Math.round(h * 0.42), value, w, 12);
|
|
171
|
+
const small = capFont(Math.round(h * 0.16), label, w, 8);
|
|
172
|
+
const stack = (0, alpine_card_1.rowSplit)([
|
|
173
|
+
{ weight: 10, node: alpine_card_1.EMPTY },
|
|
174
|
+
// The value IS the prop → Make's double-click edits it in place.
|
|
175
|
+
{ weight: 50, node: (0, alpine_card_1.paint)((0, template_utils_1.bindProp)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(value, big, theme.title, "center", "bottom"), `kpi-${key}-value`), propKey)) },
|
|
176
|
+
{ weight: 26, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(label, small, theme.muted, "center", "top"), `kpi-${key}-label`)) },
|
|
177
|
+
{ weight: 14, node: alpine_card_1.EMPTY },
|
|
178
|
+
]);
|
|
179
|
+
return (0, alpine_card_1.overlay)([(0, alpine_card_1.paint)((0, template_utils_1.tag)(roundTile(theme.grid, 0.12), `kpi-${key}-tile`)), stack]);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Exact inter-cell gaps via lattice retargeting — the alpine heatmap v2 move
|
|
183
|
+
* (copied: `_shared` and shipped templates are frozen). Parse the composed m0
|
|
184
|
+
* at the render canvas, take each cell's RAW rect as truth, retarget all of
|
|
185
|
+
* them onto an integer lattice spanning the grid's region — equal cells, gaps
|
|
186
|
+
* of exactly `gapPx` — and hand every cell tile a `placement.inset`.
|
|
187
|
+
* Degrades to a gapless grid (never dies) when the lattice cannot fit.
|
|
188
|
+
*/
|
|
189
|
+
function applyLatticeGapInsets(root, cellSources, gapPx, W, H) {
|
|
190
|
+
const N = cellSources.length;
|
|
191
|
+
if (gapPx <= 0 || N === 0)
|
|
192
|
+
return;
|
|
193
|
+
try {
|
|
194
|
+
const iCells = root.sources.indexOf(cellSources[0]);
|
|
195
|
+
if (iCells < 0 || root.sources[iCells + N - 1] !== cellSources[N - 1])
|
|
196
|
+
return;
|
|
197
|
+
const frames = (0, dsl_1.parseM0StringToRenderFrames)(root.m0, W, H);
|
|
198
|
+
const byLogical = [];
|
|
199
|
+
for (const f of frames)
|
|
200
|
+
byLogical[f.logicalIndex] = f;
|
|
201
|
+
const raws = [];
|
|
202
|
+
for (let k = 0; k < N; k++) {
|
|
203
|
+
const f = byLogical[iCells + k];
|
|
204
|
+
if (!f || f.width < 1 || f.height < 1)
|
|
205
|
+
return;
|
|
206
|
+
raws.push({ x: f.x, y: f.y, w: f.width, h: f.height });
|
|
207
|
+
}
|
|
208
|
+
const minX = Math.min(...raws.map((r) => r.x)), minY = Math.min(...raws.map((r) => r.y));
|
|
209
|
+
const maxX = Math.max(...raws.map((r) => r.x + r.w)), maxY = Math.max(...raws.map((r) => r.y + r.h));
|
|
210
|
+
const lat = (0, template_utils_1.latticeCellInset)({
|
|
211
|
+
cols: WEEKS,
|
|
212
|
+
rows: DAYS,
|
|
213
|
+
canvasW: maxX - minX,
|
|
214
|
+
canvasH: maxY - minY,
|
|
215
|
+
gutterXPx: gapPx,
|
|
216
|
+
gutterYPx: gapPx,
|
|
217
|
+
marginPx: 0,
|
|
218
|
+
cells: raws.map((r, k) => ({ unit: { c0: k % WEEKS, r0: Math.floor(k / WEEKS), cs: 1, rs: 1 }, raw: { x: r.x - minX, y: r.y - minY, w: r.w, h: r.h } })),
|
|
219
|
+
});
|
|
220
|
+
for (let k = 0; k < N; k++) {
|
|
221
|
+
const box = lat.insetAt(k);
|
|
222
|
+
if (box)
|
|
223
|
+
cellSources[k].placement = { inset: box };
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
catch {
|
|
227
|
+
// Degenerate lattice (tiny canvas) — render gapless rather than dying.
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
// ---------------------------------------------------------------------------
|
|
231
|
+
// Template
|
|
232
|
+
// ---------------------------------------------------------------------------
|
|
233
|
+
exports.YearCardV1 = {
|
|
234
|
+
id: (0, types_1.asTemplateId)(TEMPLATE_ID),
|
|
235
|
+
label: "GitHub Year Card",
|
|
236
|
+
version: 1,
|
|
237
|
+
description: "A developer's year on GitHub on one card: the 7×53 contribution calendar with month and weekday labels and a Less→More legend, four KPI tiles (commits, pull requests, stars, top language) and the handle + year in the header. Gutterless grid with lattice-exact gaps; composes at any canvas.",
|
|
238
|
+
capabilities: { tier: "core" },
|
|
239
|
+
tags: ["github", "contributions", "calendar", "heatmap", "year", "developers", "vanity", "share", "alpine", "animated"],
|
|
240
|
+
aspectRatio: { ideal: 16 / 9, min: 1.3, max: 2.4, mode: "warn" },
|
|
241
|
+
// The calendar's 53 week columns are content cardinality (GitHub's own
|
|
242
|
+
// grid: a year spans up to 53 ISO weeks), not a layout basis — declared,
|
|
243
|
+
// like the convention's own example. The gaps live in the fiber
|
|
244
|
+
// (latticeCellInset), so the grid itself stays a clean 7×53.
|
|
245
|
+
lattice: { allow: [{ count: WEEKS, reason: "the contribution calendar's 53 week columns — a year spans up to 53 ISO weeks (content cardinality, GitHub's own grid)" }] },
|
|
246
|
+
outputHints: { format: { kind: "video", container: "mp4" }, width: 1280, height: 720, fps: 30, durationMs: 3000 },
|
|
247
|
+
propsSchema,
|
|
248
|
+
defaultProps: {
|
|
249
|
+
handle: "@qsbuilds",
|
|
250
|
+
year: 2026,
|
|
251
|
+
contributions: exports.SAMPLE_CONTRIBUTIONS,
|
|
252
|
+
commits: 1102,
|
|
253
|
+
pullRequests: 96,
|
|
254
|
+
stars: 412,
|
|
255
|
+
topLanguage: "TypeScript",
|
|
256
|
+
showKpis: true,
|
|
257
|
+
preset: "light",
|
|
258
|
+
anim: { ...DEFAULT_ANIM },
|
|
259
|
+
debugLayout: false,
|
|
260
|
+
},
|
|
261
|
+
async render(props, ctx) {
|
|
262
|
+
var _a, _b, _c;
|
|
263
|
+
const W = Math.max(1, Math.round(ctx.target.width));
|
|
264
|
+
const H = Math.max(1, Math.round(ctx.target.height));
|
|
265
|
+
const fail = (message) => (0, template_utils_1.makeErrorMosaic)(message, { title: "GitHub Year Card", width: W, height: H });
|
|
266
|
+
const counts = parseContributions(props.contributions);
|
|
267
|
+
if (counts.length === 0)
|
|
268
|
+
return fail("year-card needs contributions (365 daily counts, or a comma string)");
|
|
269
|
+
const year = Number.isFinite(props.year) && props.year >= 2008 && props.year <= 2100 ? Math.round(props.year) : 2026;
|
|
270
|
+
const cal = calendarLayout(year);
|
|
271
|
+
const daily = Array.from({ length: cal.days }, (_, i) => { var _a; return (_a = counts[i]) !== null && _a !== void 0 ? _a : 0; });
|
|
272
|
+
const total = daily.reduce((a, b) => a + b, 0);
|
|
273
|
+
const max = Math.max(0, ...daily);
|
|
274
|
+
const streak = longestStreak(daily);
|
|
275
|
+
const preset = props.preset === "dark" ? "dark" : "light";
|
|
276
|
+
const theme = await (0, alpine_theme_1.resolveAlpineTheme)(preset, ctx, props.theme);
|
|
277
|
+
const greens = GREENS[preset];
|
|
278
|
+
const anim = { ...DEFAULT_ANIM, ...((_a = props.anim) !== null && _a !== void 0 ? _a : {}) };
|
|
279
|
+
const animate = !anim.reduceMotion;
|
|
280
|
+
const light = anim.renderMode === "light";
|
|
281
|
+
const clipSec = Math.max(0.1, ((_b = ctx.target.durationMs) !== null && _b !== void 0 ? _b : 3000) / 1000);
|
|
282
|
+
const introSec = Math.max(0.1, Math.min(1, anim.introFrac) * clipSec);
|
|
283
|
+
const fadeDur = Math.max(0.08, introSec * 0.3);
|
|
284
|
+
const showKpis = props.showKpis !== false;
|
|
285
|
+
const handle = ((_c = props.handle) !== null && _c !== void 0 ? _c : "").trim();
|
|
286
|
+
const title = handle ? `${handle} · ${year} on GitHub` : `${year} on GitHub`;
|
|
287
|
+
const subtitle = `${fmtCount(total)} contributions · longest streak ${streak} ${streak === 1 ? "day" : "days"}`;
|
|
288
|
+
// ── chrome ──
|
|
289
|
+
// The title shows the handle (+ the year); the subtitle is derived.
|
|
290
|
+
const card = (0, alpine_card_1.alpineCard)({ theme, W, H, title, subtitle, headerBinding: handle ? { title: "handle" } : false });
|
|
291
|
+
const content = card.contentRect;
|
|
292
|
+
const wOf = (px, ref) => Math.max(1, Math.round((px / ref) * 100));
|
|
293
|
+
// ── geometry ──
|
|
294
|
+
const kpiH = showKpis ? Math.round(content.h * 0.24) : 0;
|
|
295
|
+
const kpiGap = showKpis ? Math.round(content.h * 0.06) : 0;
|
|
296
|
+
const monthH = Math.round(content.h * 0.07);
|
|
297
|
+
const legendH = Math.round(content.h * 0.08);
|
|
298
|
+
const legendGap = Math.round(content.h * 0.03);
|
|
299
|
+
const dayLabelW = Math.round(content.w * 0.045);
|
|
300
|
+
const calAreaW = content.w - dayLabelW;
|
|
301
|
+
const calAreaH = Math.max(1, content.h - kpiH - kpiGap - monthH - legendH - legendGap);
|
|
302
|
+
// Square cells that fit the area on both axes; the grid is letterboxed inside it.
|
|
303
|
+
const cell = Math.max(4, Math.floor(Math.min(calAreaW / WEEKS, calAreaH / DAYS)));
|
|
304
|
+
const gridW = cell * WEEKS, gridH = cell * DAYS;
|
|
305
|
+
const gap = Math.max(1, Math.round(cell * 0.2));
|
|
306
|
+
const lbX = Math.max(0, Math.round((calAreaW - gridW) / 2));
|
|
307
|
+
const labelFont = Math.max(8, Math.round(H * 0.019));
|
|
308
|
+
// ── KPI row ──
|
|
309
|
+
const kpis = [
|
|
310
|
+
{ key: "commits", prop: "commits", value: props.commits, label: "commits" },
|
|
311
|
+
{ key: "prs", prop: "pullRequests", value: props.pullRequests, label: "pull requests" },
|
|
312
|
+
{ key: "stars", prop: "stars", value: props.stars, label: "stars earned" },
|
|
313
|
+
{ key: "lang", prop: "topLanguage", value: props.topLanguage, label: "top language" },
|
|
314
|
+
].filter((k) => k.value != null && k.value !== "" && (typeof k.value !== "number" || Number.isFinite(k.value)));
|
|
315
|
+
let kpiRow = alpine_card_1.EMPTY;
|
|
316
|
+
if (showKpis && kpis.length > 0) {
|
|
317
|
+
// Tiles + 2 % gutters on a smooth basis (not per-band percents — see smoothTileRow).
|
|
318
|
+
const row = smoothTileRow(kpis.length, 0.02);
|
|
319
|
+
const tileW = Math.max(1, Math.round((content.w * row.tile) / row.total));
|
|
320
|
+
const bands = [];
|
|
321
|
+
kpis.forEach((k, i) => {
|
|
322
|
+
if (i > 0)
|
|
323
|
+
bands.push({ weight: row.gap, node: alpine_card_1.EMPTY });
|
|
324
|
+
const value = typeof k.value === "number" ? fmtCount(k.value) : String(k.value).trim();
|
|
325
|
+
bands.push({ weight: row.tile, node: kpiTile(value, k.label, theme, tileW, kpiH, k.key, k.prop) });
|
|
326
|
+
});
|
|
327
|
+
kpiRow = (0, alpine_card_1.colSplit)(bands);
|
|
328
|
+
}
|
|
329
|
+
// ── month labels: one band per month, weighted by its week span ──
|
|
330
|
+
const monthBands = [];
|
|
331
|
+
if (cal.monthCols[0].col > 0)
|
|
332
|
+
monthBands.push({ weight: cal.monthCols[0].col, node: alpine_card_1.EMPTY });
|
|
333
|
+
cal.monthCols.forEach((m, i) => {
|
|
334
|
+
var _a, _b;
|
|
335
|
+
const next = (_b = (_a = cal.monthCols[i + 1]) === null || _a === void 0 ? void 0 : _a.col) !== null && _b !== void 0 ? _b : WEEKS;
|
|
336
|
+
const span = Math.max(1, next - m.col);
|
|
337
|
+
const spanPx = span * cell;
|
|
338
|
+
monthBands.push({ weight: span, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(m.label, capFont(labelFont, m.label, spanPx, 7), theme.muted, "left", "bottom"), "month-label")) });
|
|
339
|
+
});
|
|
340
|
+
const monthRow = (0, alpine_card_1.colSplit)([
|
|
341
|
+
{ weight: wOf(dayLabelW + lbX, content.w), node: alpine_card_1.EMPTY },
|
|
342
|
+
{ weight: wOf(gridW, content.w), node: (0, alpine_card_1.colSplit)(monthBands) },
|
|
343
|
+
...(calAreaW - gridW - lbX > 0 ? [{ weight: wOf(calAreaW - gridW - lbX, content.w), node: alpine_card_1.EMPTY }] : []),
|
|
344
|
+
]);
|
|
345
|
+
// ── weekday labels: 7 rows, Mon / Wed / Fri ──
|
|
346
|
+
const dayRows = Array.from({ length: DAYS }, (_, d) => {
|
|
347
|
+
var _a;
|
|
348
|
+
const lbl = (_a = WEEKDAY_LABELS.find(([row]) => row === d)) === null || _a === void 0 ? void 0 : _a[1];
|
|
349
|
+
return { weight: 1, node: lbl ? (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(lbl, capFont(labelFont, lbl, dayLabelW, 7), theme.muted, "left", "middle"), "day-label")) : alpine_card_1.EMPTY };
|
|
350
|
+
});
|
|
351
|
+
const dayCol = (0, alpine_card_1.rowSplit)(dayRows);
|
|
352
|
+
// ── the cells: one tile per gutterless grid frame (row-major over 7×53) ──
|
|
353
|
+
const gridM0 = String((0, dsl_stdlib_1.grid)({ rows: DAYS, cols: WEEKS }).m0);
|
|
354
|
+
const cellSources = [];
|
|
355
|
+
const maxDiag = Math.max(1, DAYS + WEEKS - 2);
|
|
356
|
+
for (let r = 0; r < DAYS; r++) {
|
|
357
|
+
for (let c = 0; c < WEEKS; c++) {
|
|
358
|
+
const dayIndex = c * DAYS + r - cal.firstDow;
|
|
359
|
+
const inYear = dayIndex >= 0 && dayIndex < cal.days;
|
|
360
|
+
const fill = inYear ? greens[bucketOf(daily[dayIndex], max)] : theme.card;
|
|
361
|
+
// premium = a per-cell alpha fade on the diagonal (371 overlays keep
|
|
362
|
+
// the tiles off the xstack sheet: ~40 s for a 3 s clip). light (the
|
|
363
|
+
// default) leaves every cell STATIC and reveals them with ONE curtain
|
|
364
|
+
// track below — the year unfolds left to right, zero per-cell cost.
|
|
365
|
+
const at = animate && !light ? (introSec - fadeDur) * ((r + c) / maxDiag) : 0;
|
|
366
|
+
const rev = animate && !light ? { startAtSec: at, alpha: (0, template_utils_1.fadeInExpr)(at, fadeDur) } : {};
|
|
367
|
+
// Plain square tiles on purpose: a rounding effect is an inline mask per
|
|
368
|
+
// tile, and 371 of them quadruple the render (37 s → 9 s for the still).
|
|
369
|
+
const tile = (0, template_utils_1.makeColorTile)(fill, {
|
|
370
|
+
...(Object.keys(rev).length ? { overlay: rev } : {}),
|
|
371
|
+
});
|
|
372
|
+
tile.editor = { label: inYear ? "cell" : "cell-outside" };
|
|
373
|
+
cellSources.push(tile);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
const cellsNode = { m0: gridM0, sources: cellSources };
|
|
377
|
+
// The light reveal: one hide-coloured box per week column, gated to drop
|
|
378
|
+
// in run order across the intro (the hello-world field wipe, per week).
|
|
379
|
+
let gridNode = cellsNode;
|
|
380
|
+
if (animate && light) {
|
|
381
|
+
const boxes = Array.from({ length: WEEKS }, (_, c) => ({
|
|
382
|
+
x: c * cell,
|
|
383
|
+
y: 0,
|
|
384
|
+
w: cell,
|
|
385
|
+
h: gridH,
|
|
386
|
+
revealAtSec: Number((introSec * ((c + 1) / WEEKS)).toFixed(3)),
|
|
387
|
+
}));
|
|
388
|
+
const curtain = (0, template_utils_1.curtainSource)(boxes, theme.card);
|
|
389
|
+
if (curtain)
|
|
390
|
+
gridNode = (0, alpine_card_1.overlay)([cellsNode, (0, alpine_card_1.paint)((0, template_utils_1.tag)(curtain, "calendar-curtain"))]);
|
|
391
|
+
}
|
|
392
|
+
const calendarRow = (0, alpine_card_1.colSplit)([
|
|
393
|
+
{ weight: wOf(dayLabelW, content.w), node: dayCol },
|
|
394
|
+
...(lbX > 0 ? [{ weight: wOf(lbX, content.w), node: alpine_card_1.EMPTY }] : []),
|
|
395
|
+
{ weight: wOf(gridW, content.w), node: gridNode },
|
|
396
|
+
...(calAreaW - gridW - lbX > 0 ? [{ weight: wOf(calAreaW - gridW - lbX, content.w), node: alpine_card_1.EMPTY }] : []),
|
|
397
|
+
]);
|
|
398
|
+
// ── legend: Less · five swatches · More, right-aligned under the grid ──
|
|
399
|
+
const sw = Math.max(6, Math.round(legendH * 0.4));
|
|
400
|
+
const legendTextW = Math.round(content.w * 0.05);
|
|
401
|
+
const swatchBands = [];
|
|
402
|
+
greens.forEach((g, i) => {
|
|
403
|
+
if (i > 0)
|
|
404
|
+
swatchBands.push({ weight: Math.max(1, Math.round(sw * 0.3)), node: alpine_card_1.EMPTY });
|
|
405
|
+
swatchBands.push({ weight: sw, node: (0, alpine_card_1.rowSplit)([{ weight: 1, node: alpine_card_1.EMPTY }, { weight: 1, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)(roundTile(g, 0.25), "legend-swatch")) }, { weight: 1, node: alpine_card_1.EMPTY }]) });
|
|
406
|
+
});
|
|
407
|
+
const swatchesW = sw * greens.length + Math.round(sw * 0.3) * (greens.length - 1);
|
|
408
|
+
const legendW = legendTextW * 2 + swatchesW + Math.round(sw * 0.8) * 2;
|
|
409
|
+
const legend = (0, alpine_card_1.colSplit)([
|
|
410
|
+
{ weight: legendTextW, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)("Less", capFont(labelFont, "Less", legendTextW, 7), theme.muted, "right", "middle"), "legend-less")) },
|
|
411
|
+
{ weight: Math.round(sw * 0.8), node: alpine_card_1.EMPTY },
|
|
412
|
+
{ weight: swatchesW, node: (0, alpine_card_1.colSplit)(swatchBands) },
|
|
413
|
+
{ weight: Math.round(sw * 0.8), node: alpine_card_1.EMPTY },
|
|
414
|
+
{ weight: legendTextW, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)("More", capFont(labelFont, "More", legendTextW, 7), theme.muted, "left", "middle"), "legend-more")) },
|
|
415
|
+
]);
|
|
416
|
+
const legendRow = (0, alpine_card_1.colSplit)([
|
|
417
|
+
{ weight: wOf(Math.max(1, content.w - legendW), content.w), node: alpine_card_1.EMPTY },
|
|
418
|
+
{ weight: wOf(legendW, content.w), node: legend },
|
|
419
|
+
]);
|
|
420
|
+
// ── stack ──
|
|
421
|
+
const bands = [];
|
|
422
|
+
if (showKpis && kpis.length > 0) {
|
|
423
|
+
bands.push({ weight: wOf(kpiH, content.h), node: kpiRow });
|
|
424
|
+
bands.push({ weight: wOf(kpiGap, content.h), node: alpine_card_1.EMPTY });
|
|
425
|
+
}
|
|
426
|
+
else if (kpiH + kpiGap > 0) {
|
|
427
|
+
bands.push({ weight: wOf(kpiH + kpiGap, content.h), node: alpine_card_1.EMPTY });
|
|
428
|
+
}
|
|
429
|
+
// The grid is usually width-bound, so the calendar area has vertical
|
|
430
|
+
// slack: a little above the month labels, the rest under the grid.
|
|
431
|
+
const slack = Math.max(0, calAreaH - gridH);
|
|
432
|
+
const monthGap = Math.min(slack, Math.max(2, Math.round(content.h * 0.018)));
|
|
433
|
+
const slackTop = Math.round((slack - monthGap) * 0.3);
|
|
434
|
+
if (slackTop > 0)
|
|
435
|
+
bands.push({ weight: wOf(slackTop, content.h), node: alpine_card_1.EMPTY });
|
|
436
|
+
bands.push({ weight: wOf(monthH, content.h), node: monthRow });
|
|
437
|
+
if (monthGap > 0)
|
|
438
|
+
bands.push({ weight: wOf(monthGap, content.h), node: alpine_card_1.EMPTY });
|
|
439
|
+
bands.push({ weight: wOf(gridH, content.h), node: calendarRow });
|
|
440
|
+
if (slack - monthGap - slackTop > 0)
|
|
441
|
+
bands.push({ weight: wOf(slack - monthGap - slackTop, content.h), node: alpine_card_1.EMPTY });
|
|
442
|
+
bands.push({ weight: wOf(legendGap, content.h), node: alpine_card_1.EMPTY });
|
|
443
|
+
bands.push({ weight: wOf(legendH, content.h), node: legendRow });
|
|
444
|
+
const root = card.compose((0, alpine_card_1.rowSplit)(bands));
|
|
445
|
+
// Exact gaps between the calendar cells, against the composed truth.
|
|
446
|
+
applyLatticeGapInsets(root, cellSources, gap, W, H);
|
|
447
|
+
const doc = {
|
|
448
|
+
kind: "mosaic_document",
|
|
449
|
+
version: 1,
|
|
450
|
+
assets: {},
|
|
451
|
+
m0: (0, dsl_stdlib_1.toM0String)(root.m0, "YearCardV1"),
|
|
452
|
+
sources: root.sources,
|
|
453
|
+
backgroundColor: card.backgroundColor,
|
|
454
|
+
fps: ctx.target.fps,
|
|
455
|
+
durationMs: ctx.target.durationMs,
|
|
456
|
+
size: { width: W, height: H },
|
|
457
|
+
editor: { label: `GitHub Year Card · ${title}` },
|
|
458
|
+
};
|
|
459
|
+
const constraints = [
|
|
460
|
+
...card.constraints,
|
|
461
|
+
{ label: "month-label", textFits: {} },
|
|
462
|
+
{ label: "day-label", textFits: {} },
|
|
463
|
+
{ label: "legend-less", textFits: {} },
|
|
464
|
+
{ label: "legend-more", textFits: {} },
|
|
465
|
+
...kpis.map((k) => ({ label: `kpi-${k.key}-value`, textFits: {} })),
|
|
466
|
+
];
|
|
467
|
+
return (0, template_utils_1.withLayoutContract)(doc, ctx, {
|
|
468
|
+
templateId: TEMPLATE_ID,
|
|
469
|
+
constraints,
|
|
470
|
+
relations: [{ label: "cell", equal: "size", tolerance: 0.02, tolerancePx: 1 }],
|
|
471
|
+
debug: props.debugLayout === true,
|
|
472
|
+
});
|
|
473
|
+
},
|
|
474
|
+
};
|
|
475
|
+
(0, template_utils_1.registerTemplate)(exports.YearCardV1);
|
|
476
|
+
exports.default = exports.YearCardV1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./v1";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* Hello, World — the CLI's first render (`m0saic hello-world`). Packless id, like theming/ and dsl-tutorial/. */
|
|
18
|
+
__exportStar(require("./v1"), exports);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { HelloGeometry, HelloMarkReveal, HelloSweep, HelloTextLine, HelloTimeline, HelloWorldProps, HelloWorldTemplateOptions, MarkAssembly, Rect, } from "@m0saic/template-utils";
|
|
2
|
+
export { ASSEMBLE_BOXES_PER_TRACK, DEFAULT_FIELD_OPACITY, HELLO_MARK_REVEALS, HELLO_SWEEPS, NAVY, NAVY_SOFT, assemblyTracks, buildHelloGeometry, coverFitField, fieldWipe, helloLayoutConstraints, helloTimeline, inverseSmoothstep, isPortraitField, markAssembly, markRectsIn, mixHex, sweepStripPx, } from "@m0saic/template-utils";
|
|
3
|
+
export declare const HelloWorld: import("@m0saic/types").MosaicTemplate<import("@m0saic/template-utils").HelloWorldProps, import("@m0saic/types").MosaicTemplateOutputs, import("@m0saic/types").MosaicTemplateUpstreamVariables, import("@m0saic/types").MosaicTemplateUpstreamData, import("@m0saic/types").MosaicTemplateSidecars>;
|
|
4
|
+
export default HelloWorld;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HelloWorld = exports.sweepStripPx = exports.mixHex = exports.markRectsIn = exports.markAssembly = exports.isPortraitField = exports.inverseSmoothstep = exports.helloTimeline = exports.helloLayoutConstraints = exports.fieldWipe = exports.coverFitField = exports.buildHelloGeometry = exports.assemblyTracks = exports.NAVY_SOFT = exports.NAVY = exports.HELLO_SWEEPS = exports.HELLO_MARK_REVEALS = exports.DEFAULT_FIELD_OPACITY = exports.ASSEMBLE_BOXES_PER_TRACK = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @m0saic/hello-world/v1 — Hello, World (the CLI's first render).
|
|
6
|
+
*
|
|
7
|
+
* The brand card — the app's Home screen, said as a greeting. Since
|
|
8
|
+
* 2026-09-14 the card lives in `@m0saic/template-utils` as
|
|
9
|
+
* `defineHelloWorldTemplate`, so every template repo (the starters, a
|
|
10
|
+
* third-party pack) ships the same canonical card with one call; this file is
|
|
11
|
+
* that call for the core id. The chrome, the props, the geometry, the motion
|
|
12
|
+
* and the layout contract are documented on the factory.
|
|
13
|
+
*/
|
|
14
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
15
|
+
var template_utils_2 = require("@m0saic/template-utils");
|
|
16
|
+
Object.defineProperty(exports, "ASSEMBLE_BOXES_PER_TRACK", { enumerable: true, get: function () { return template_utils_2.ASSEMBLE_BOXES_PER_TRACK; } });
|
|
17
|
+
Object.defineProperty(exports, "DEFAULT_FIELD_OPACITY", { enumerable: true, get: function () { return template_utils_2.DEFAULT_FIELD_OPACITY; } });
|
|
18
|
+
Object.defineProperty(exports, "HELLO_MARK_REVEALS", { enumerable: true, get: function () { return template_utils_2.HELLO_MARK_REVEALS; } });
|
|
19
|
+
Object.defineProperty(exports, "HELLO_SWEEPS", { enumerable: true, get: function () { return template_utils_2.HELLO_SWEEPS; } });
|
|
20
|
+
Object.defineProperty(exports, "NAVY", { enumerable: true, get: function () { return template_utils_2.NAVY; } });
|
|
21
|
+
Object.defineProperty(exports, "NAVY_SOFT", { enumerable: true, get: function () { return template_utils_2.NAVY_SOFT; } });
|
|
22
|
+
Object.defineProperty(exports, "assemblyTracks", { enumerable: true, get: function () { return template_utils_2.assemblyTracks; } });
|
|
23
|
+
Object.defineProperty(exports, "buildHelloGeometry", { enumerable: true, get: function () { return template_utils_2.buildHelloGeometry; } });
|
|
24
|
+
Object.defineProperty(exports, "coverFitField", { enumerable: true, get: function () { return template_utils_2.coverFitField; } });
|
|
25
|
+
Object.defineProperty(exports, "fieldWipe", { enumerable: true, get: function () { return template_utils_2.fieldWipe; } });
|
|
26
|
+
Object.defineProperty(exports, "helloLayoutConstraints", { enumerable: true, get: function () { return template_utils_2.helloLayoutConstraints; } });
|
|
27
|
+
Object.defineProperty(exports, "helloTimeline", { enumerable: true, get: function () { return template_utils_2.helloTimeline; } });
|
|
28
|
+
Object.defineProperty(exports, "inverseSmoothstep", { enumerable: true, get: function () { return template_utils_2.inverseSmoothstep; } });
|
|
29
|
+
Object.defineProperty(exports, "isPortraitField", { enumerable: true, get: function () { return template_utils_2.isPortraitField; } });
|
|
30
|
+
Object.defineProperty(exports, "markAssembly", { enumerable: true, get: function () { return template_utils_2.markAssembly; } });
|
|
31
|
+
Object.defineProperty(exports, "markRectsIn", { enumerable: true, get: function () { return template_utils_2.markRectsIn; } });
|
|
32
|
+
Object.defineProperty(exports, "mixHex", { enumerable: true, get: function () { return template_utils_2.mixHex; } });
|
|
33
|
+
Object.defineProperty(exports, "sweepStripPx", { enumerable: true, get: function () { return template_utils_2.sweepStripPx; } });
|
|
34
|
+
exports.HelloWorld = (0, template_utils_1.defineHelloWorldTemplate)({ id: "@m0saic/hello-world/v1" });
|
|
35
|
+
(0, template_utils_1.registerTemplate)(exports.HelloWorld);
|
|
36
|
+
exports.default = exports.HelloWorld;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HelloWorld = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @m0saic/hello-world/v1 — entry point. Importing this file registers the
|
|
6
|
+
* template via `registerTemplate` (module side effect).
|
|
7
|
+
*/
|
|
8
|
+
var hello_world_1 = require("./hello-world");
|
|
9
|
+
Object.defineProperty(exports, "HelloWorld", { enumerable: true, get: function () { return hello_world_1.HelloWorld; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Re-bake the Fin premium QR (green QR Code + FFmpeg logo center, pixelate assemble)
|
|
3
|
+
# to a flat video the fin beat references as chromeAssets.qrFin. Run from repo root.
|
|
4
|
+
# (Originally baked via qr-carve/v1, deleted 2026-07-22 — QR Code's Center group
|
|
5
|
+
# + Output mp4 spawn are the same engine; square style renders radius-0 eyes.)
|
|
6
|
+
set -euo pipefail
|
|
7
|
+
AD="packages/templates/src/m0saic/hero/ffmpeg-pulse/_shared/assets"
|
|
8
|
+
LOGO="$(pwd)/$AD/ffmpeg-logo.png"
|
|
9
|
+
m0saic make "@m0saic/media/qr/code/v1" -o "$AD/qr-fin.mp4" --width 720 --height 720 --durationMs 6000 --no-alpha \
|
|
10
|
+
--props "{\"text\":\"https://www.m0saic.io\",\"moduleColor\":\"#3fb950\",\"version\":8,\"mode\":\"dark\",\"moduleStyle\":\"square\",\"outputFormat\":\"mp4\",\"center\":{\"assetPath\":\"$LOGO\",\"width\":170,\"height\":170}}"
|
|
11
|
+
echo "baked → $AD/qr-fin.mp4"
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Generator: Adobe Illustrator 21.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48" width="480px" height="480px"><path style="fill:#388E3C;" d="M39.5,42h-9c-1,0-1.9-0.6-2.3-1.5c-0.4-0.9-0.2-2,0.5-2.7l8.3-8.3v-3.9L21.3,41.3 c-0.5,0.5-1.1,0.7-1.8,0.7h-11c-1,0-1.9-0.6-2.3-1.5c-0.4-0.9-0.2-2,0.5-2.7L33.5,11h-3.9L10.3,30.3c-0.7,0.7-1.8,0.9-2.7,0.5 C6.6,30.4,6,29.5,6,28.5v-11c0-0.7,0.3-1.3,0.7-1.8l4.7-4.7h-3C7.1,11,6,9.9,6,8.5S7.1,6,8.5,6h9c1,0,1.9,0.6,2.3,1.5 c0.4,0.9,0.2,2-0.5,2.7L11,18.5v3.9L26.7,6.7C27.2,6.3,27.8,6,28.5,6h11c1,0,1.9,0.6,2.3,1.5c0.4,0.9,0.2,2-0.5,2.7L14.5,37h3.9 l19.3-19.3c0.7-0.7,1.8-0.9,2.7-0.5c0.9,0.4,1.5,1.3,1.5,2.3v11c0,0.7-0.3,1.3-0.7,1.8L36.5,37h3c1.4,0,2.5,1.1,2.5,2.5 S40.9,42,39.5,42z"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|