@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,356 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* @m0saic/agents/trace-timeline/v1 — what did the agent do on that run?
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* A waterfall of one agent run: every tool call is a swimlane — the tool and
|
|
8
|
+
* what it touched on the left, a latency bar placed on a shared time axis on
|
|
9
|
+
* the right, the tokens it cost at the bar's end. Status colours the bar
|
|
10
|
+
* (ok = accent, error, retry, cached); a legend and tick labels frame it.
|
|
11
|
+
* The subtitle carries the run totals. Built for the "agents in production"
|
|
12
|
+
* crowd: the picture their observability vendor draws, from a JSON of spans.
|
|
13
|
+
*
|
|
14
|
+
* RATIO throughout (the alpine card kit): rows are equal bands, every bar is
|
|
15
|
+
* a weighted column split of its lane (start · duration · rest, on a ~100
|
|
16
|
+
* basis), tick labels are a column split of the axis row. No hairlines — a
|
|
17
|
+
* faint lane wash reads as the grid and survives any canvas. Composes at any
|
|
18
|
+
* size; fonts are sized to H and width-capped.
|
|
19
|
+
*
|
|
20
|
+
* Determinism: no clock, no randomness — the sample run is a fixed fixture.
|
|
21
|
+
* ============================================================================
|
|
22
|
+
*/
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.TraceTimelineV1 = exports.SAMPLE_SPANS = void 0;
|
|
25
|
+
exports.fmtTokens = fmtTokens;
|
|
26
|
+
exports.fmtSeconds = fmtSeconds;
|
|
27
|
+
exports.fmtTick = fmtTick;
|
|
28
|
+
exports.tickStepMs = tickStepMs;
|
|
29
|
+
const types_1 = require("@m0saic/types");
|
|
30
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
31
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
32
|
+
const alpine_card_1 = require("../../../alpine/_shared/alpine-card");
|
|
33
|
+
const alpine_theme_1 = require("../../../alpine/_shared/alpine-theme");
|
|
34
|
+
const alpine_anim_1 = require("../../../alpine/_shared/alpine-anim");
|
|
35
|
+
const TEMPLATE_ID = "@m0saic/agents/trace-timeline/v1";
|
|
36
|
+
const MAX_SPANS = 10;
|
|
37
|
+
const DEFAULT_ERROR = "#f85149";
|
|
38
|
+
const DEFAULT_RETRY = "#e3b341";
|
|
39
|
+
const DEFAULT_CACHED = "#8b949e";
|
|
40
|
+
const DEFAULT_ANIM = { renderMode: "premium", introFrac: 0.7, reduceMotion: false };
|
|
41
|
+
const STATUSES = ["ok", "error", "retry", "cached"];
|
|
42
|
+
/** A fixed sample run: plan → read → edit → tests fail → fix → tests pass → wrap up. 38.2 s, ~14k tokens. */
|
|
43
|
+
exports.SAMPLE_SPANS = [
|
|
44
|
+
{ tool: "plan", target: "read the failing report, pick a fix", startMs: 0, durMs: 1800, tokens: 1900 },
|
|
45
|
+
{ tool: "read_file", target: "package.json", startMs: 1800, durMs: 500, tokens: 400 },
|
|
46
|
+
{ tool: "grep", target: "renderNested", startMs: 2300, durMs: 800, tokens: 600 },
|
|
47
|
+
{ tool: "read_file", target: "render/renderNestedTemplate.ts", startMs: 3100, durMs: 900, tokens: 2200 },
|
|
48
|
+
{ tool: "edit", target: "business-card.ts", startMs: 4000, durMs: 2500, tokens: 3100 },
|
|
49
|
+
{ tool: "bash", target: "npm test -w templates", startMs: 6500, durMs: 12700, tokens: 900, status: "error" },
|
|
50
|
+
{ tool: "read_file", target: "layout.test.ts", startMs: 19200, durMs: 800, tokens: 800 },
|
|
51
|
+
{ tool: "edit", target: "layout.ts", startMs: 20000, durMs: 2400, tokens: 1400 },
|
|
52
|
+
{ tool: "bash", target: "npm test -w templates", startMs: 22400, durMs: 12200, tokens: 900, status: "retry" },
|
|
53
|
+
{ tool: "git", target: "diff --stat", startMs: 34600, durMs: 900, tokens: 300, status: "cached" },
|
|
54
|
+
];
|
|
55
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
56
|
+
title: { type: "string", required: false, description: "Card title.", meta: { control: { placeholder: "none" }, ui: { label: "Title", order: 1, primary: true } } },
|
|
57
|
+
subtitle: { type: "string", required: false, description: "Line under the title. Empty = the run totals (calls · wall time · tokens).", meta: { control: { placeholder: "run totals" }, ui: { label: "Subtitle", order: 2 } } },
|
|
58
|
+
spans: {
|
|
59
|
+
type: "list",
|
|
60
|
+
required: true,
|
|
61
|
+
description: "The run's tool calls in order: tool, what it touched, start and duration in ms, tokens, status (ok · error · retry · cached). Up to 10 are drawn.",
|
|
62
|
+
meta: { ui: { label: "Spans", order: 3, primary: true }, list: { max: 40 } },
|
|
63
|
+
itemSchema: {
|
|
64
|
+
tool: { type: "string", required: true, description: "Tool or phase.", meta: { ui: { label: "Tool" } } },
|
|
65
|
+
target: { type: "string", required: false, description: "What it touched.", meta: { control: { placeholder: "none" }, ui: { label: "Target" } } },
|
|
66
|
+
startMs: { type: "number", required: true, description: "Start (ms from run start).", meta: { ui: { label: "Start ms" } } },
|
|
67
|
+
durMs: { type: "number", required: true, description: "Duration (ms).", meta: { ui: { label: "Duration ms" } } },
|
|
68
|
+
tokens: { type: "number", required: false, description: "Tokens on this hop.", meta: { control: { placeholder: "none" }, ui: { label: "Tokens" } } },
|
|
69
|
+
status: { type: "string", required: false, description: "ok · error · retry · cached.", meta: { constraints: { oneOf: STATUSES }, control: { placeholder: "ok" }, ui: { label: "Status" } } },
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
preset: { type: "string", required: false, description: 'Alpine theme: "light" (default) or "dark".', meta: { constraints: { oneOf: ["light", "dark"] }, ui: { label: "Preset", order: 4 } } },
|
|
73
|
+
accent: { type: "string", required: false, description: "Bar colour for ok spans.", meta: { constraints: { isColor: true }, control: { colorPicker: true, placeholder: "theme primary" }, ui: { label: "Accent", order: 5 } } },
|
|
74
|
+
errorColor: { type: "string", required: false, description: "Bar colour for error spans.", meta: { constraints: { isColor: true }, control: { colorPicker: true }, ui: { label: "Error colour", order: 6 } } },
|
|
75
|
+
retryColor: { type: "string", required: false, description: "Bar colour for retried spans.", meta: { constraints: { isColor: true }, control: { colorPicker: true }, ui: { label: "Retry colour", order: 7 } } },
|
|
76
|
+
cachedColor: { type: "string", required: false, description: "Bar colour for cached spans.", meta: { constraints: { isColor: true }, control: { colorPicker: true }, ui: { label: "Cached colour", order: 8 } } },
|
|
77
|
+
showTokens: { type: "boolean", required: false, description: "Print each span's token cost after its bar.", meta: { ui: { label: "Show tokens", order: 9 } } },
|
|
78
|
+
anim: {
|
|
79
|
+
type: "group",
|
|
80
|
+
required: false,
|
|
81
|
+
description: "Reveal: lanes appear in run order over the intro. reduceMotion renders the final frame.",
|
|
82
|
+
meta: { ui: { label: "Animation", order: 10, collapsedByDefault: true } },
|
|
83
|
+
fields: {
|
|
84
|
+
reduceMotion: alpine_anim_1.ALPINE_ANIM_FIELDS.reduceMotion,
|
|
85
|
+
introFrac: alpine_anim_1.ALPINE_ANIM_FIELDS.introFrac,
|
|
86
|
+
renderMode: (0, alpine_anim_1.fEnum)("Render mode", ["premium", "light"], "premium = alpha-fade; light = enable-gate pops (cheaper when nested)."),
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
theme: { type: "json", required: false, description: "Opt-in producer theme tokens.", meta: { ui: { label: "Theme", order: 11, collapsedByDefault: true, consumer: "agent" } } },
|
|
90
|
+
debugLayout: { type: "boolean", required: false, description: "Dev-only: overlay the layout contract.", meta: { ui: { label: "Debug layout", order: 12 } } },
|
|
91
|
+
});
|
|
92
|
+
// ---------------------------------------------------------------------------
|
|
93
|
+
// Helpers
|
|
94
|
+
// ---------------------------------------------------------------------------
|
|
95
|
+
const color = (v, fallback) => (v && v.trim() ? v : fallback);
|
|
96
|
+
/** "1.2k" / "38.2 s" — compact labels, ASCII only. */
|
|
97
|
+
function fmtTokens(n) {
|
|
98
|
+
if (n >= 1000000)
|
|
99
|
+
return `${(n / 1000000).toFixed(1)}M`;
|
|
100
|
+
if (n >= 1000)
|
|
101
|
+
return `${(n / 1000).toFixed(1)}k`;
|
|
102
|
+
return String(Math.round(n));
|
|
103
|
+
}
|
|
104
|
+
function fmtSeconds(ms) {
|
|
105
|
+
const s = ms / 1000;
|
|
106
|
+
return s >= 100 ? `${Math.round(s)}s` : s >= 10 ? `${s.toFixed(1)}s` : `${s.toFixed(2)}s`;
|
|
107
|
+
}
|
|
108
|
+
/** Axis tick label: whole seconds when the step allows ("10s"), else the compact form. */
|
|
109
|
+
function fmtTick(ms, stepMs) {
|
|
110
|
+
if (ms === 0)
|
|
111
|
+
return "0";
|
|
112
|
+
if (stepMs >= 1000 && ms % 1000 === 0)
|
|
113
|
+
return `${ms / 1000}s`;
|
|
114
|
+
if (stepMs < 1000)
|
|
115
|
+
return `${ms}ms`;
|
|
116
|
+
return fmtSeconds(ms);
|
|
117
|
+
}
|
|
118
|
+
/** Tick interval: the smallest 1·2·5·10 step that keeps the axis to at most 7 ticks (so 4–7 over `totalMs`). */
|
|
119
|
+
function tickStepMs(totalMs) {
|
|
120
|
+
const target = totalMs / 6;
|
|
121
|
+
const pow = Math.pow(10, Math.floor(Math.log10(Math.max(1, target))));
|
|
122
|
+
for (const m of [1, 2, 5, 10])
|
|
123
|
+
if (m * pow >= target)
|
|
124
|
+
return m * pow;
|
|
125
|
+
return 10 * pow;
|
|
126
|
+
}
|
|
127
|
+
function roundTile(c, radius) {
|
|
128
|
+
return (0, template_utils_1.makeColorTile)(c, { effects: { rounding: { cornerStyle: "rounded", borderRadius: radius } } });
|
|
129
|
+
}
|
|
130
|
+
/** Width-capped font: `px` unless `text` would overflow `boxPx` at the rasterizer's 0.72 em/char. */
|
|
131
|
+
function capFont(px, text, boxPx, min) {
|
|
132
|
+
return Math.max(min, Math.min(px, Math.floor((boxPx * 0.94 - 2) / (Math.max(1, (0, template_utils_1.textEmUnits)(text)) * 0.72))));
|
|
133
|
+
}
|
|
134
|
+
function fitText(text, font, boxPx) {
|
|
135
|
+
return (0, template_utils_1.fitEmUnits)(text, Math.floor((boxPx * 0.94 - 2) / (font * 0.72)));
|
|
136
|
+
}
|
|
137
|
+
// ---------------------------------------------------------------------------
|
|
138
|
+
// Template
|
|
139
|
+
// ---------------------------------------------------------------------------
|
|
140
|
+
exports.TraceTimelineV1 = {
|
|
141
|
+
id: (0, types_1.asTemplateId)(TEMPLATE_ID),
|
|
142
|
+
label: "Agent Trace Timeline",
|
|
143
|
+
version: 1,
|
|
144
|
+
description: "What the agent did on a run — a waterfall of tool calls: the tool and its target per lane, a latency bar on a shared time axis, tokens per hop, and status colours for errors, retries and cache hits. Alpine card, composes at any canvas.",
|
|
145
|
+
capabilities: { tier: "core" },
|
|
146
|
+
tags: ["agents", "trace", "timeline", "waterfall", "observability", "latency", "tokens", "developers", "sre", "alpine", "animated"],
|
|
147
|
+
aspectRatio: { ideal: 16 / 10, min: 1, max: 2.2, mode: "warn" },
|
|
148
|
+
outputHints: { format: { kind: "video", container: "mp4" }, width: 1280, height: 800, fps: 30, durationMs: 3000 },
|
|
149
|
+
propsSchema,
|
|
150
|
+
defaultProps: {
|
|
151
|
+
title: "One agent run, end to end",
|
|
152
|
+
spans: exports.SAMPLE_SPANS,
|
|
153
|
+
preset: "light",
|
|
154
|
+
errorColor: DEFAULT_ERROR,
|
|
155
|
+
retryColor: DEFAULT_RETRY,
|
|
156
|
+
cachedColor: DEFAULT_CACHED,
|
|
157
|
+
showTokens: true,
|
|
158
|
+
anim: { ...DEFAULT_ANIM },
|
|
159
|
+
debugLayout: false,
|
|
160
|
+
},
|
|
161
|
+
async render(props, ctx) {
|
|
162
|
+
var _a, _b, _c, _d, _e;
|
|
163
|
+
const W = Math.max(1, Math.round(ctx.target.width));
|
|
164
|
+
const H = Math.max(1, Math.round(ctx.target.height));
|
|
165
|
+
const fail = (message) => (0, template_utils_1.makeErrorMosaic)(message, { title: "Agent Trace Timeline", width: W, height: H });
|
|
166
|
+
const spans = ((_a = props.spans) !== null && _a !== void 0 ? _a : [])
|
|
167
|
+
.filter((s) => s && typeof s.tool === "string" && s.tool.trim() && Number.isFinite(s.startMs) && Number.isFinite(s.durMs) && s.durMs >= 0 && s.startMs >= 0)
|
|
168
|
+
.slice(0, MAX_SPANS);
|
|
169
|
+
if (spans.length === 0)
|
|
170
|
+
return fail("trace-timeline needs spans[] with tool, startMs and durMs");
|
|
171
|
+
const theme = await (0, alpine_theme_1.resolveAlpineTheme)((_b = props.preset) !== null && _b !== void 0 ? _b : "light", ctx, props.theme);
|
|
172
|
+
const okColor = color(props.accent, theme.primary);
|
|
173
|
+
const statusColor = {
|
|
174
|
+
ok: okColor,
|
|
175
|
+
error: color(props.errorColor, DEFAULT_ERROR),
|
|
176
|
+
retry: color(props.retryColor, DEFAULT_RETRY),
|
|
177
|
+
cached: color(props.cachedColor, DEFAULT_CACHED),
|
|
178
|
+
};
|
|
179
|
+
const showTokens = props.showTokens !== false;
|
|
180
|
+
const anim = { ...DEFAULT_ANIM, ...((_c = props.anim) !== null && _c !== void 0 ? _c : {}) };
|
|
181
|
+
const animate = !anim.reduceMotion;
|
|
182
|
+
const light = anim.renderMode === "light";
|
|
183
|
+
const clipSec = Math.max(0.1, ((_d = ctx.target.durationMs) !== null && _d !== void 0 ? _d : 3000) / 1000);
|
|
184
|
+
const introSec = Math.max(0.1, Math.min(1, anim.introFrac) * clipSec);
|
|
185
|
+
// ── run totals ──
|
|
186
|
+
const totalMs = Math.max(1, ...spans.map((s) => s.startMs + s.durMs));
|
|
187
|
+
const totalTokens = spans.reduce((a, s) => { var _a; return a + ((_a = s.tokens) !== null && _a !== void 0 ? _a : 0); }, 0);
|
|
188
|
+
const subtitle = ((_e = props.subtitle) !== null && _e !== void 0 ? _e : "").trim() || `${spans.length} tool calls · ${fmtSeconds(totalMs)} wall time${totalTokens > 0 ? ` · ${fmtTokens(totalTokens)} tokens` : ""}`;
|
|
189
|
+
// ── chrome ──
|
|
190
|
+
const card = (0, alpine_card_1.alpineCard)({ theme, W, H, title: props.title, subtitle });
|
|
191
|
+
const content = card.contentRect;
|
|
192
|
+
const wOf = (px, ref) => Math.max(1, Math.round((px / ref) * 100));
|
|
193
|
+
// ── geometry (px → proportions) ──
|
|
194
|
+
const N = spans.length;
|
|
195
|
+
const axisH = Math.round(content.h * 0.07);
|
|
196
|
+
const legendH = Math.round(content.h * 0.08);
|
|
197
|
+
const gapAxis = Math.round(content.h * 0.02);
|
|
198
|
+
const gapLegend = Math.round(content.h * 0.04);
|
|
199
|
+
const lanesH = Math.max(1, content.h - axisH - gapAxis - legendH - gapLegend);
|
|
200
|
+
const pitch = Math.max(1, Math.floor(lanesH / N));
|
|
201
|
+
const laneGap = Math.max(2, Math.round(pitch * 0.18));
|
|
202
|
+
const laneH = Math.max(1, pitch - laneGap);
|
|
203
|
+
const labelW = Math.round(content.w * 0.28);
|
|
204
|
+
const gapLabel = Math.round(content.w * 0.02);
|
|
205
|
+
const trackW = Math.max(1, content.w - labelW - gapLabel);
|
|
206
|
+
const tokenW = showTokens ? Math.round(content.w * 0.06) : 0;
|
|
207
|
+
const labelFont = Math.max(10, Math.round(H * 0.024));
|
|
208
|
+
const targetFont = Math.max(9, Math.round(H * 0.018));
|
|
209
|
+
const tickFont = Math.max(9, Math.round(H * 0.018));
|
|
210
|
+
const tokenFont = Math.max(9, Math.round(H * 0.017));
|
|
211
|
+
const legendFont = Math.max(10, Math.round(H * 0.02));
|
|
212
|
+
// Reveal: lanes in run order across the intro (premium = fade, light = gate).
|
|
213
|
+
const laneDur = Math.max(0.05, introSec / (1 + 0.5 * Math.max(0, N - 1)));
|
|
214
|
+
const reveal = (node, i) => {
|
|
215
|
+
if (!animate)
|
|
216
|
+
return node;
|
|
217
|
+
const at = (introSec * i) / Math.max(1, N);
|
|
218
|
+
return light ? (0, alpine_anim_1.revealGateNode)(node, at) : (0, alpine_anim_1.revealFadeNode)(node, at, laneDur);
|
|
219
|
+
};
|
|
220
|
+
// ── the axis: tick labels at nice intervals, as a column split of the track ──
|
|
221
|
+
const step = tickStepMs(totalMs);
|
|
222
|
+
const ticks = [];
|
|
223
|
+
for (let t = 0; t <= totalMs; t += step)
|
|
224
|
+
ticks.push(t);
|
|
225
|
+
const axisBands = ticks.map((t, i) => {
|
|
226
|
+
var _a;
|
|
227
|
+
const next = (_a = ticks[i + 1]) !== null && _a !== void 0 ? _a : totalMs;
|
|
228
|
+
const spanPx = Math.max(1, Math.round(((next - t) / totalMs) * trackW));
|
|
229
|
+
const label = fmtTick(t, step);
|
|
230
|
+
return { weight: wOf(spanPx, trackW), node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(label, capFont(tickFont, label, spanPx, 8), theme.muted, "left", "bottom"), "axis-tick")) };
|
|
231
|
+
});
|
|
232
|
+
const axisRow = (0, alpine_card_1.colSplit)([
|
|
233
|
+
{ weight: wOf(labelW + gapLabel, content.w), node: alpine_card_1.EMPTY },
|
|
234
|
+
{ weight: wOf(trackW, content.w), node: (0, alpine_card_1.colSplit)(axisBands) },
|
|
235
|
+
]);
|
|
236
|
+
// ── the lanes ──
|
|
237
|
+
const laneNode = (s, i) => {
|
|
238
|
+
var _a;
|
|
239
|
+
const status = STATUSES.includes(s.status) ? s.status : "ok";
|
|
240
|
+
const barColor = statusColor[status];
|
|
241
|
+
const tool = s.tool.trim();
|
|
242
|
+
const target = ((_a = s.target) !== null && _a !== void 0 ? _a : "").trim();
|
|
243
|
+
// Label column: tool (bold-ish, the lane's name) over its target.
|
|
244
|
+
const toolFont = capFont(labelFont, tool, labelW, 9);
|
|
245
|
+
const label = target
|
|
246
|
+
? (0, alpine_card_1.rowSplit)([
|
|
247
|
+
{ weight: 55, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(fitText(tool, toolFont, labelW), toolFont, theme.title, "left", "bottom"), "span-tool")) },
|
|
248
|
+
{ weight: 45, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(fitText(target, targetFont, labelW), capFont(targetFont, fitText(target, targetFont, labelW), labelW, 8), theme.muted, "left", "top"), "span-target")) },
|
|
249
|
+
])
|
|
250
|
+
: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(fitText(tool, toolFont, labelW), toolFont, theme.title, "left", "middle"), "span-tool"));
|
|
251
|
+
// Track: start · bar · (tokens) · rest, as proportions of the track width.
|
|
252
|
+
const startPx = Math.round((Math.min(s.startMs, totalMs) / totalMs) * trackW);
|
|
253
|
+
const barPx = Math.max(Math.round(laneH * 0.35), Math.round((s.durMs / totalMs) * trackW));
|
|
254
|
+
const afterPx = Math.max(0, trackW - startPx - barPx);
|
|
255
|
+
const tokenLabel = showTokens && s.tokens != null && s.tokens > 0 ? fmtTokens(s.tokens) : "";
|
|
256
|
+
const tokenPx = tokenLabel ? Math.min(afterPx, tokenW) : 0;
|
|
257
|
+
const restPx = Math.max(0, afterPx - tokenPx);
|
|
258
|
+
const barNode = (0, alpine_card_1.rowSplit)([
|
|
259
|
+
{ weight: 20, node: alpine_card_1.EMPTY },
|
|
260
|
+
{ weight: 60, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)(roundTile(barColor, 0.5), `span-bar-${status}`)) },
|
|
261
|
+
{ weight: 20, node: alpine_card_1.EMPTY },
|
|
262
|
+
]);
|
|
263
|
+
const trackBands = [];
|
|
264
|
+
if (startPx > 0)
|
|
265
|
+
trackBands.push({ weight: wOf(startPx, trackW), node: alpine_card_1.EMPTY });
|
|
266
|
+
trackBands.push({ weight: wOf(barPx, trackW), node: barNode });
|
|
267
|
+
if (tokenPx > 0) {
|
|
268
|
+
// `padding` is a FRACTION of the box (MosaicBoxFrac) — a small left
|
|
269
|
+
// margin so the label does not kiss the bar.
|
|
270
|
+
trackBands.push({ weight: wOf(tokenPx, trackW), node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(tokenLabel, capFont(tokenFont, tokenLabel, tokenPx * 0.86, 8), theme.muted, "left", "middle", { left: 0.14 }), "span-tokens")) });
|
|
271
|
+
}
|
|
272
|
+
if (restPx > 0)
|
|
273
|
+
trackBands.push({ weight: wOf(restPx, trackW), node: alpine_card_1.EMPTY });
|
|
274
|
+
// A faint lane wash under the track — the "grid" without hairlines.
|
|
275
|
+
const track = (0, alpine_card_1.overlay)([(0, alpine_card_1.paint)((0, template_utils_1.tag)(roundTile(theme.grid, 0.3), "lane-wash")), (0, alpine_card_1.colSplit)(trackBands)]);
|
|
276
|
+
const lane = (0, alpine_card_1.colSplit)([
|
|
277
|
+
{ weight: wOf(labelW, content.w), node: label },
|
|
278
|
+
{ weight: wOf(gapLabel, content.w), node: alpine_card_1.EMPTY },
|
|
279
|
+
{ weight: wOf(trackW, content.w), node: track },
|
|
280
|
+
]);
|
|
281
|
+
return reveal(lane, i);
|
|
282
|
+
};
|
|
283
|
+
const laneBands = [];
|
|
284
|
+
spans.forEach((s, i) => {
|
|
285
|
+
if (i > 0)
|
|
286
|
+
laneBands.push({ weight: laneGap, node: alpine_card_1.EMPTY });
|
|
287
|
+
laneBands.push({ weight: laneH, node: laneNode(s, i) });
|
|
288
|
+
});
|
|
289
|
+
const lanes = (0, alpine_card_1.rowSplit)(laneBands);
|
|
290
|
+
// ── the legend: one entry per status that appears (ok always) ──
|
|
291
|
+
const present = STATUSES.filter((st) => st === "ok" || spans.some((s) => s.status === st));
|
|
292
|
+
// Entries are laid out at 20% of the TRACK (the legend hangs under the bars).
|
|
293
|
+
const legendEntryW = Math.round(trackW * 0.2);
|
|
294
|
+
const legendEntry = (st) => {
|
|
295
|
+
// A bigger dot and a text budget with slack: these are 15–20 px marks
|
|
296
|
+
// three splits deep, where the card's coarse inset basis can shave a
|
|
297
|
+
// few px off either axis.
|
|
298
|
+
const dot = Math.max(8, Math.round(legendH * 0.5));
|
|
299
|
+
const gap = Math.round(dot * 0.5);
|
|
300
|
+
const textPx = legendEntryW - dot - gap;
|
|
301
|
+
const text = st === "ok" ? "ok" : st;
|
|
302
|
+
const vPad = Math.max(1, Math.round((legendH - dot) / 2));
|
|
303
|
+
return (0, alpine_card_1.colSplit)([
|
|
304
|
+
{ weight: wOf(dot, legendEntryW), node: (0, alpine_card_1.rowSplit)([{ weight: vPad, node: alpine_card_1.EMPTY }, { weight: dot, node: (0, alpine_card_1.paint)((0, template_utils_1.tag)(roundTile(statusColor[st], 1), `legend-${st}-dot`)) }, { weight: Math.max(1, legendH - dot - vPad), node: alpine_card_1.EMPTY }]) },
|
|
305
|
+
{ weight: wOf(gap, legendEntryW), node: alpine_card_1.EMPTY },
|
|
306
|
+
{ weight: wOf(textPx, legendEntryW), node: (0, alpine_card_1.paint)((0, template_utils_1.tag)((0, alpine_card_1.textCell)(text, capFont(legendFont, text, textPx * 0.8, 8), theme.label, "left", "middle"), `legend-${st}-text`)) },
|
|
307
|
+
]);
|
|
308
|
+
};
|
|
309
|
+
const legendBands = [];
|
|
310
|
+
present.forEach((st, i) => {
|
|
311
|
+
if (i > 0)
|
|
312
|
+
legendBands.push({ weight: 2, node: alpine_card_1.EMPTY });
|
|
313
|
+
legendBands.push({ weight: 20, node: legendEntry(st) });
|
|
314
|
+
});
|
|
315
|
+
const legendRow = (0, alpine_card_1.colSplit)([
|
|
316
|
+
{ weight: wOf(labelW + gapLabel, content.w), node: alpine_card_1.EMPTY },
|
|
317
|
+
{ weight: wOf(trackW, content.w), node: (0, alpine_card_1.colSplit)([...legendBands, { weight: Math.max(1, 100 - present.length * 22), node: alpine_card_1.EMPTY }]) },
|
|
318
|
+
]);
|
|
319
|
+
const body = (0, alpine_card_1.rowSplit)([
|
|
320
|
+
{ weight: wOf(axisH, content.h), node: axisRow },
|
|
321
|
+
{ weight: wOf(gapAxis, content.h), node: alpine_card_1.EMPTY },
|
|
322
|
+
{ weight: wOf(lanesH, content.h), node: lanes },
|
|
323
|
+
{ weight: wOf(gapLegend, content.h), node: alpine_card_1.EMPTY },
|
|
324
|
+
{ weight: wOf(legendH, content.h), node: legendRow },
|
|
325
|
+
]);
|
|
326
|
+
const root = card.compose(body);
|
|
327
|
+
const doc = {
|
|
328
|
+
kind: "mosaic_document",
|
|
329
|
+
version: 1,
|
|
330
|
+
assets: {},
|
|
331
|
+
m0: (0, dsl_stdlib_1.toM0String)(root.m0, "TraceTimelineV1"),
|
|
332
|
+
sources: root.sources,
|
|
333
|
+
backgroundColor: card.backgroundColor,
|
|
334
|
+
fps: ctx.target.fps,
|
|
335
|
+
durationMs: ctx.target.durationMs,
|
|
336
|
+
size: { width: W, height: H },
|
|
337
|
+
editor: { label: `Agent Trace Timeline · ${spans.length} calls · ${fmtSeconds(totalMs)}` },
|
|
338
|
+
};
|
|
339
|
+
const constraints = [
|
|
340
|
+
...card.constraints,
|
|
341
|
+
{ label: "span-tool", textFits: {} },
|
|
342
|
+
{ label: "axis-tick", textFits: {} },
|
|
343
|
+
{ label: "lane-wash", minWidthFrac: 0.5 },
|
|
344
|
+
...present.flatMap((st) => [
|
|
345
|
+
// A rounded mark three splits under the card's coarse inset basis: it may
|
|
346
|
+
// come out a short pill at some canvases (45×33 at 1080²) — still a
|
|
347
|
+
// legend swatch, so the aspect tolerance is loose; the text is the gate.
|
|
348
|
+
{ label: `legend-${st}-dot`, aspect: 1, aspectTolerance: 0.5 },
|
|
349
|
+
{ label: `legend-${st}-text`, textFits: {} },
|
|
350
|
+
]),
|
|
351
|
+
];
|
|
352
|
+
return (0, template_utils_1.withLayoutContract)(doc, ctx, { templateId: TEMPLATE_ID, constraints, relations: [], debug: props.debugLayout === true });
|
|
353
|
+
},
|
|
354
|
+
};
|
|
355
|
+
(0, template_utils_1.registerTemplate)(exports.TraceTimelineV1);
|
|
356
|
+
exports.default = exports.TraceTimelineV1;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* Alpine pack — shared reveal + animation-schema helpers (F4 U-A0)
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* Two shared pieces the alpine tier adopts:
|
|
7
|
+
*
|
|
8
|
+
* 1. `revealGate` — the geq-free intro reveal. Alpine templates each carried a
|
|
9
|
+
* local `fadeIn`/`wrapFade` wrapper that set a time-varying `overlay.alpha`
|
|
10
|
+
* (`fadeInExpr`) — which compiles to a per-pixel `geq` fold (cost-model R3/R4,
|
|
11
|
+
* paid every frame of a nesting parent's whole timeline). `revealGate` swaps
|
|
12
|
+
* that for a free scalar `overlay.enable` gate: the element pops in at its
|
|
13
|
+
* moment, no geq. (For elements that also SLIDE — a bar/fill growing via an
|
|
14
|
+
* `xExpr`/`yExpr` translate — just drop the `alpha`; keep the translate. The
|
|
15
|
+
* slide is the grow; the alpha was redundant fade sugar.)
|
|
16
|
+
*
|
|
17
|
+
* 2. `ALPINE_ANIM_FIELDS` + field helpers — the `anim` prop group shipped as a
|
|
18
|
+
* `type:"group"` with NO `fields`, so it rendered as a raw JSON bag in Make.
|
|
19
|
+
* These give it real labeled sub-fields. Templates with extra anim knobs
|
|
20
|
+
* spread + add: `fields: { ...ALPINE_ANIM_FIELDS, countUp: fBool("Count up") }`.
|
|
21
|
+
* ============================================================================
|
|
22
|
+
*/
|
|
23
|
+
import type { MosaicSource } from "@m0saic/types";
|
|
24
|
+
import type { Node } from "./alpine-card";
|
|
25
|
+
/**
|
|
26
|
+
* Reveal a source at `atSec` via a free `overlay.enable` gate (no geq). Raw
|
|
27
|
+
* `gte(t,X)` form — the engine escapes commas natively; do NOT use the
|
|
28
|
+
* comma-escaped `gatedEnableExpr`. `on = false` returns the source untouched
|
|
29
|
+
* (reduceMotion / static). Preserves any existing overlay (position/slide).
|
|
30
|
+
*/
|
|
31
|
+
export declare function revealGate<T extends MosaicSource>(src: T, atSec: number, on?: boolean): T;
|
|
32
|
+
/** Map `revealGate` over every source in a node (the enable-gate analog of the
|
|
33
|
+
* per-template `wrapFade` that fanned a fade over `node.sources`). */
|
|
34
|
+
export declare function revealGateNode(node: Node, atSec: number, on?: boolean): Node;
|
|
35
|
+
/**
|
|
36
|
+
* Soft slide-in reveal — still geq-free. Enable-gates the source at `atSec` AND
|
|
37
|
+
* slides it up `distPx` into place over `durSec` via a per-frame `yExpr` translate
|
|
38
|
+
* (a position anim — cheap, NO alpha/geq). Reads softer than a hard `enable` pop
|
|
39
|
+
* without the per-pixel fade cost. `on=false` returns the source untouched.
|
|
40
|
+
*/
|
|
41
|
+
export declare function revealSlide<T extends MosaicSource>(src: T, atSec: number, durSec: number, distPx: number, on?: boolean): T;
|
|
42
|
+
/** Map `revealSlide` over every source in a node. */
|
|
43
|
+
export declare function revealSlideNode(node: Node, atSec: number, durSec: number, distPx: number, on?: boolean): Node;
|
|
44
|
+
/**
|
|
45
|
+
* Premium fade reveal — a time-varying `overlay.alpha` crossfade (`fadeInExpr`).
|
|
46
|
+
* This IS a per-pixel geq (heavier), used by a template's `renderMode:"premium"`
|
|
47
|
+
* path for the softest look; the `light` path uses `revealGate`/`revealSlide`
|
|
48
|
+
* instead. `on=false` returns the source untouched.
|
|
49
|
+
*/
|
|
50
|
+
export declare function revealFade<T extends MosaicSource>(src: T, atSec: number, durSec: number, on?: boolean): T;
|
|
51
|
+
/** Map `revealFade` over every source in a node. */
|
|
52
|
+
export declare function revealFadeNode(node: Node, atSec: number, durSec: number, on?: boolean): Node;
|
|
53
|
+
/** Boolean sub-field. */
|
|
54
|
+
export declare const fBool: (label: string, description?: string) => any;
|
|
55
|
+
/** String sub-field. */
|
|
56
|
+
export declare const fStr: (label: string, description?: string, placeholder?: string) => any;
|
|
57
|
+
/** Number sub-field. */
|
|
58
|
+
export declare const fNum: (label: string, description?: string, control?: any, constraints?: any) => any;
|
|
59
|
+
/** 0..1 slider sub-field. */
|
|
60
|
+
export declare const fFrac: (label: string, description?: string, placeholder?: string) => any;
|
|
61
|
+
/** Enum (oneOf) sub-field. */
|
|
62
|
+
export declare const fEnum: (label: string, oneOf: string[], description?: string) => any;
|
|
63
|
+
/** The common alpine `anim` group fields. Templates spread + extend for extras
|
|
64
|
+
* (e.g. `countUp`). Field names match the pack's `AnimConfig` keys. */
|
|
65
|
+
export declare const ALPINE_ANIM_FIELDS: Record<string, any>;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* Alpine pack — shared reveal + animation-schema helpers (F4 U-A0)
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* Two shared pieces the alpine tier adopts:
|
|
8
|
+
*
|
|
9
|
+
* 1. `revealGate` — the geq-free intro reveal. Alpine templates each carried a
|
|
10
|
+
* local `fadeIn`/`wrapFade` wrapper that set a time-varying `overlay.alpha`
|
|
11
|
+
* (`fadeInExpr`) — which compiles to a per-pixel `geq` fold (cost-model R3/R4,
|
|
12
|
+
* paid every frame of a nesting parent's whole timeline). `revealGate` swaps
|
|
13
|
+
* that for a free scalar `overlay.enable` gate: the element pops in at its
|
|
14
|
+
* moment, no geq. (For elements that also SLIDE — a bar/fill growing via an
|
|
15
|
+
* `xExpr`/`yExpr` translate — just drop the `alpha`; keep the translate. The
|
|
16
|
+
* slide is the grow; the alpha was redundant fade sugar.)
|
|
17
|
+
*
|
|
18
|
+
* 2. `ALPINE_ANIM_FIELDS` + field helpers — the `anim` prop group shipped as a
|
|
19
|
+
* `type:"group"` with NO `fields`, so it rendered as a raw JSON bag in Make.
|
|
20
|
+
* These give it real labeled sub-fields. Templates with extra anim knobs
|
|
21
|
+
* spread + add: `fields: { ...ALPINE_ANIM_FIELDS, countUp: fBool("Count up") }`.
|
|
22
|
+
* ============================================================================
|
|
23
|
+
*/
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ALPINE_ANIM_FIELDS = exports.fEnum = exports.fFrac = exports.fNum = exports.fStr = exports.fBool = void 0;
|
|
26
|
+
exports.revealGate = revealGate;
|
|
27
|
+
exports.revealGateNode = revealGateNode;
|
|
28
|
+
exports.revealSlide = revealSlide;
|
|
29
|
+
exports.revealSlideNode = revealSlideNode;
|
|
30
|
+
exports.revealFade = revealFade;
|
|
31
|
+
exports.revealFadeNode = revealFadeNode;
|
|
32
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
33
|
+
/**
|
|
34
|
+
* Reveal a source at `atSec` via a free `overlay.enable` gate (no geq). Raw
|
|
35
|
+
* `gte(t,X)` form — the engine escapes commas natively; do NOT use the
|
|
36
|
+
* comma-escaped `gatedEnableExpr`. `on = false` returns the source untouched
|
|
37
|
+
* (reduceMotion / static). Preserves any existing overlay (position/slide).
|
|
38
|
+
*/
|
|
39
|
+
function revealGate(src, atSec, on = true) {
|
|
40
|
+
var _a;
|
|
41
|
+
if (!on)
|
|
42
|
+
return src;
|
|
43
|
+
const prev = (_a = src.overlay) !== null && _a !== void 0 ? _a : {};
|
|
44
|
+
const at = Number(atSec.toFixed(3));
|
|
45
|
+
return {
|
|
46
|
+
...src,
|
|
47
|
+
overlay: {
|
|
48
|
+
...prev,
|
|
49
|
+
enable: `gte(t,${atSec.toFixed(3)})`,
|
|
50
|
+
// Structured twin of the gate (enable-gating sprint): lets the engine
|
|
51
|
+
// trim the source's upstream chain to its lifetime.
|
|
52
|
+
window: { startSec: at },
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/** Map `revealGate` over every source in a node (the enable-gate analog of the
|
|
57
|
+
* per-template `wrapFade` that fanned a fade over `node.sources`). */
|
|
58
|
+
function revealGateNode(node, atSec, on = true) {
|
|
59
|
+
if (!on)
|
|
60
|
+
return node;
|
|
61
|
+
return { ...node, sources: node.sources.map((s) => revealGate(s, atSec, true)) };
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Soft slide-in reveal — still geq-free. Enable-gates the source at `atSec` AND
|
|
65
|
+
* slides it up `distPx` into place over `durSec` via a per-frame `yExpr` translate
|
|
66
|
+
* (a position anim — cheap, NO alpha/geq). Reads softer than a hard `enable` pop
|
|
67
|
+
* without the per-pixel fade cost. `on=false` returns the source untouched.
|
|
68
|
+
*/
|
|
69
|
+
function revealSlide(src, atSec, durSec, distPx, on = true) {
|
|
70
|
+
var _a;
|
|
71
|
+
if (!on)
|
|
72
|
+
return src;
|
|
73
|
+
const prev = (_a = src.overlay) !== null && _a !== void 0 ? _a : {};
|
|
74
|
+
const eased = `min(1,max(0,lt/${Math.max(0.001, durSec).toFixed(3)}))`; // 0..1 over the window (local time)
|
|
75
|
+
return {
|
|
76
|
+
...src,
|
|
77
|
+
overlay: {
|
|
78
|
+
...prev,
|
|
79
|
+
startAtSec: atSec,
|
|
80
|
+
enable: `gte(t,${atSec.toFixed(3)})`,
|
|
81
|
+
yExpr: `${Math.round(distPx)}*(1-(${eased}))`,
|
|
82
|
+
window: { startSec: Number(atSec.toFixed(3)) },
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
/** Map `revealSlide` over every source in a node. */
|
|
87
|
+
function revealSlideNode(node, atSec, durSec, distPx, on = true) {
|
|
88
|
+
if (!on)
|
|
89
|
+
return node;
|
|
90
|
+
return { ...node, sources: node.sources.map((s) => revealSlide(s, atSec, durSec, distPx, true)) };
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Premium fade reveal — a time-varying `overlay.alpha` crossfade (`fadeInExpr`).
|
|
94
|
+
* This IS a per-pixel geq (heavier), used by a template's `renderMode:"premium"`
|
|
95
|
+
* path for the softest look; the `light` path uses `revealGate`/`revealSlide`
|
|
96
|
+
* instead. `on=false` returns the source untouched.
|
|
97
|
+
*/
|
|
98
|
+
function revealFade(src, atSec, durSec, on = true) {
|
|
99
|
+
var _a;
|
|
100
|
+
if (!on)
|
|
101
|
+
return src;
|
|
102
|
+
const prev = (_a = src.overlay) !== null && _a !== void 0 ? _a : {};
|
|
103
|
+
return {
|
|
104
|
+
...src,
|
|
105
|
+
overlay: {
|
|
106
|
+
...prev,
|
|
107
|
+
alpha: (0, template_utils_1.fadeInExpr)(atSec, durSec),
|
|
108
|
+
// The ramp holds alpha 0 before atSec — the source's lifetime starts
|
|
109
|
+
// there (feeds the engine's trim; the fade itself lowers natively).
|
|
110
|
+
window: { startSec: atSec },
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
/** Map `revealFade` over every source in a node. */
|
|
115
|
+
function revealFadeNode(node, atSec, durSec, on = true) {
|
|
116
|
+
if (!on)
|
|
117
|
+
return node;
|
|
118
|
+
return { ...node, sources: node.sources.map((s) => revealFade(s, atSec, durSec, true)) };
|
|
119
|
+
}
|
|
120
|
+
// ── anim-group schema fields (kills the JSON-bag `anim` group) ────────────────
|
|
121
|
+
/** Boolean sub-field. */
|
|
122
|
+
const fBool = (label, description = "") => ({ type: "boolean", required: false, description, meta: { ui: { label } } });
|
|
123
|
+
exports.fBool = fBool;
|
|
124
|
+
/** String sub-field. */
|
|
125
|
+
const fStr = (label, description = "", placeholder) => ({ type: "string", required: false, description, meta: { ui: { label }, ...(placeholder ? { control: { placeholder } } : {}) } });
|
|
126
|
+
exports.fStr = fStr;
|
|
127
|
+
/** Number sub-field. */
|
|
128
|
+
const fNum = (label, description = "", control, constraints) => ({ type: "number", required: false, description, meta: { ...(constraints ? { constraints } : {}), ...(control ? { control } : {}), ui: { label } } });
|
|
129
|
+
exports.fNum = fNum;
|
|
130
|
+
/** 0..1 slider sub-field. */
|
|
131
|
+
const fFrac = (label, description = "", placeholder) => (0, exports.fNum)(label, description, { flavor: "slider", step: 0.05, ...(placeholder ? { placeholder } : {}) }, { min: 0, max: 1 });
|
|
132
|
+
exports.fFrac = fFrac;
|
|
133
|
+
/** Enum (oneOf) sub-field. */
|
|
134
|
+
const fEnum = (label, oneOf, description = "") => ({ type: "string", required: false, description, meta: { constraints: { oneOf }, ui: { label } } });
|
|
135
|
+
exports.fEnum = fEnum;
|
|
136
|
+
/** The common alpine `anim` group fields. Templates spread + extend for extras
|
|
137
|
+
* (e.g. `countUp`). Field names match the pack's `AnimConfig` keys. */
|
|
138
|
+
exports.ALPINE_ANIM_FIELDS = {
|
|
139
|
+
reduceMotion: (0, exports.fBool)("Reduce motion", "Skip motion; render the final static card."),
|
|
140
|
+
introFrac: (0, exports.fFrac)("Intro length", "Share of the clip the intro fills (the rest holds)."),
|
|
141
|
+
easing: (0, exports.fEnum)("Easing", ["easeOut", "smoothstep", "easeInOut", "linear"], "Intro easing curve."),
|
|
142
|
+
};
|