@ahmedrowaihi/pdf-forge-preview 1.0.0-canary.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/.next/BUILD_ID +1 -0
- package/.next/app-path-routes-manifest.json +7 -0
- package/.next/build/chunks/[root-of-the-server]__12fb5caf._.js +233 -0
- package/.next/build/chunks/[root-of-the-server]__12fb5caf._.js.map +8 -0
- package/.next/build/chunks/[root-of-the-server]__242deb00._.js +500 -0
- package/.next/build/chunks/[root-of-the-server]__242deb00._.js.map +11 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_ad9a1eec._.js +13 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_ad9a1eec._.js.map +5 -0
- package/.next/build/chunks/[turbopack]_runtime.js +795 -0
- package/.next/build/chunks/[turbopack]_runtime.js.map +10 -0
- package/.next/build/chunks/node_modules__pnpm_806d01c0._.js +6758 -0
- package/.next/build/chunks/node_modules__pnpm_806d01c0._.js.map +47 -0
- package/.next/build/package.json +1 -0
- package/.next/build/postcss.js +6 -0
- package/.next/build/postcss.js.map +5 -0
- package/.next/build-manifest.json +20 -0
- package/.next/diagnostics/build-diagnostics.json +6 -0
- package/.next/diagnostics/framework.json +1 -0
- package/.next/export-marker.json +6 -0
- package/.next/fallback-build-manifest.json +12 -0
- package/.next/images-manifest.json +66 -0
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -0
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +65 -0
- package/.next/required-server-files.js +163 -0
- package/.next/required-server-files.json +163 -0
- package/.next/routes-manifest.json +77 -0
- package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_global-error/page/build-manifest.json +17 -0
- package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/.next/server/app/_global-error/page.js +11 -0
- package/.next/server/app/_global-error/page.js.map +5 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/.next/server/app/_global-error/page_client-reference-manifest.js +2 -0
- package/.next/server/app/_global-error.html +2 -0
- package/.next/server/app/_global-error.meta +15 -0
- package/.next/server/app/_global-error.rsc +13 -0
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
- package/.next/server/app/_global-error.segments/_full.segment.rsc +13 -0
- package/.next/server/app/_global-error.segments/_head.segment.rsc +6 -0
- package/.next/server/app/_global-error.segments/_index.segment.rsc +4 -0
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_not-found/page/build-manifest.json +17 -0
- package/.next/server/app/_not-found/page/next-font-manifest.json +16 -0
- package/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_not-found/page/server-reference-manifest.json +20 -0
- package/.next/server/app/_not-found/page.js +14 -0
- package/.next/server/app/_not-found/page.js.map +5 -0
- package/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +2 -0
- package/.next/server/app/favicon.ico/route/app-paths-manifest.json +3 -0
- package/.next/server/app/favicon.ico/route/build-manifest.json +11 -0
- package/.next/server/app/favicon.ico/route.js +6 -0
- package/.next/server/app/favicon.ico/route.js.map +5 -0
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
- package/.next/server/app/favicon.ico.body +0 -0
- package/.next/server/app/favicon.ico.meta +1 -0
- package/.next/server/app/page/app-paths-manifest.json +3 -0
- package/.next/server/app/page/build-manifest.json +17 -0
- package/.next/server/app/page/next-font-manifest.json +16 -0
- package/.next/server/app/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/page/server-reference-manifest.json +20 -0
- package/.next/server/app/page.js +17 -0
- package/.next/server/app/page.js.map +5 -0
- package/.next/server/app/page.js.nft.json +1 -0
- package/.next/server/app/page_client-reference-manifest.js +2 -0
- package/.next/server/app/preview/[...slug]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/preview/[...slug]/page/build-manifest.json +17 -0
- package/.next/server/app/preview/[...slug]/page/next-font-manifest.json +16 -0
- package/.next/server/app/preview/[...slug]/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/preview/[...slug]/page/server-reference-manifest.json +65 -0
- package/.next/server/app/preview/[...slug]/page.js +19 -0
- package/.next/server/app/preview/[...slug]/page.js.map +5 -0
- package/.next/server/app/preview/[...slug]/page.js.nft.json +1 -0
- package/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +2 -0
- package/.next/server/app-paths-manifest.json +7 -0
- package/.next/server/chunks/730ea_preview-server__next-internal_server_app_favicon_ico_route_actions_a71a8ae7.js +3 -0
- package/.next/server/chunks/730ea_preview-server__next-internal_server_app_favicon_ico_route_actions_a71a8ae7.js.map +1 -0
- package/.next/server/chunks/[externals]_next_dist_a6d89067._.js +3 -0
- package/.next/server/chunks/[externals]_next_dist_a6d89067._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__a62cd78d._.js +21 -0
- package/.next/server/chunks/[root-of-the-server]__a62cd78d._.js.map +1 -0
- package/.next/server/chunks/[turbopack]_runtime.js +795 -0
- package/.next/server/chunks/[turbopack]_runtime.js.map +10 -0
- package/.next/server/chunks/ssr/730ea_preview-server__next-internal_server_app__global-error_page_actions_986e2de5.js +3 -0
- package/.next/server/chunks/ssr/730ea_preview-server__next-internal_server_app__global-error_page_actions_986e2de5.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__025eaae9._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__025eaae9._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1536282c._.js +4 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1536282c._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__15cf9d36._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__15cf9d36._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__450f653e._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__450f653e._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__4874d0d7._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__4874d0d7._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__49771cdc._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__49771cdc._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__9ff74047._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__9ff74047._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__a9be37b1._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__a9be37b1._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__aeefe74e._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__aeefe74e._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__b13738d2._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__b13738d2._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__bb428c83._.js +4 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__bb428c83._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__c61333e3._.js +10 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__c61333e3._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__cb0c7b1a._.js +4 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__cb0c7b1a._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__dafcae4c._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__dafcae4c._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__e47d0c07._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__e47d0c07._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__ecac8617._.js +31 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__ecac8617._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__fd4bda25._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__fd4bda25._.js.map +1 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +795 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +10 -0
- package/.next/server/chunks/ssr/_19494208._.js +19 -0
- package/.next/server/chunks/ssr/_19494208._.js.map +1 -0
- package/.next/server/chunks/ssr/_810f54e9._.js +4 -0
- package/.next/server/chunks/ssr/_810f54e9._.js.map +1 -0
- package/.next/server/chunks/ssr/_aa01e67e._.js +4 -0
- package/.next/server/chunks/ssr/_aa01e67e._.js.map +1 -0
- package/.next/server/chunks/ssr/_bf10718b._.js +4 -0
- package/.next/server/chunks/ssr/_bf10718b._.js.map +1 -0
- package/.next/server/chunks/ssr/_c57c12df._.js +4 -0
- package/.next/server/chunks/ssr/_c57c12df._.js.map +1 -0
- package/.next/server/chunks/ssr/_d9b57cb8._.js +5 -0
- package/.next/server/chunks/ssr/_d9b57cb8._.js.map +1 -0
- package/.next/server/chunks/ssr/_e2a766a8._.js +3 -0
- package/.next/server/chunks/ssr/_e2a766a8._.js.map +1 -0
- package/.next/server/chunks/ssr/_e2b86512._.js +8 -0
- package/.next/server/chunks/ssr/_e2b86512._.js.map +1 -0
- package/.next/server/chunks/ssr/_ee8ea3aa._.js +19 -0
- package/.next/server/chunks/ssr/_ee8ea3aa._.js.map +1 -0
- package/.next/server/chunks/ssr/e8449_next_dist_5870db32._.js +3 -0
- package/.next/server/chunks/ssr/e8449_next_dist_5870db32._.js.map +1 -0
- package/.next/server/chunks/ssr/e8449_next_dist_client_components_builtin_forbidden_5542069c.js +3 -0
- package/.next/server/chunks/ssr/e8449_next_dist_client_components_builtin_forbidden_5542069c.js.map +1 -0
- package/.next/server/chunks/ssr/e8449_next_dist_client_components_builtin_global-error_d0870f3a.js +3 -0
- package/.next/server/chunks/ssr/e8449_next_dist_client_components_builtin_global-error_d0870f3a.js.map +1 -0
- package/.next/server/chunks/ssr/e8449_next_dist_client_components_builtin_unauthorized_4c01c8d5.js +3 -0
- package/.next/server/chunks/ssr/e8449_next_dist_client_components_builtin_unauthorized_4c01c8d5.js.map +1 -0
- package/.next/server/chunks/ssr/e8449_next_dist_client_components_d90ace34._.js +3 -0
- package/.next/server/chunks/ssr/e8449_next_dist_client_components_d90ace34._.js.map +1 -0
- package/.next/server/chunks/ssr/e8449_next_dist_esm_af7aafb8._.js +6 -0
- package/.next/server/chunks/ssr/e8449_next_dist_esm_af7aafb8._.js.map +1 -0
- package/.next/server/chunks/ssr/e8449_next_dist_esm_build_templates_app-page_f16f0848.js +4 -0
- package/.next/server/chunks/ssr/e8449_next_dist_esm_build_templates_app-page_f16f0848.js.map +1 -0
- package/.next/server/chunks/ssr/e8449_next_dist_f0d8a2cc._.js +4 -0
- package/.next/server/chunks/ssr/e8449_next_dist_f0d8a2cc._.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules__pnpm_37510d96._.js +5 -0
- package/.next/server/chunks/ssr/node_modules__pnpm_37510d96._.js.map +1 -0
- package/.next/server/chunks/ssr/packages_preview-server_src_app_897ecf1c._.js +3 -0
- package/.next/server/chunks/ssr/packages_preview-server_src_app_897ecf1c._.js.map +1 -0
- package/.next/server/chunks/ssr/packages_preview-server_src_e17a2a9b._.js +3 -0
- package/.next/server/chunks/ssr/packages_preview-server_src_e17a2a9b._.js.map +1 -0
- package/.next/server/functions-config-manifest.json +4 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware-build-manifest.js +21 -0
- package/.next/server/middleware-manifest.json +6 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +34 -0
- package/.next/server/pages/500.html +2 -0
- package/.next/server/pages-manifest.json +3 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +80 -0
- package/.next/static/cdYIhKFtJ0GB-yJK5ywz_/_buildManifest.js +11 -0
- package/.next/static/cdYIhKFtJ0GB-yJK5ywz_/_clientMiddlewareManifest.json +1 -0
- package/.next/static/cdYIhKFtJ0GB-yJK5ywz_/_ssgManifest.js +1 -0
- package/.next/static/chunks/0464c7ff175ee6ff.js +1 -0
- package/.next/static/chunks/10468413db24762a.js +14 -0
- package/.next/static/chunks/2de338262e51ef94.js +3 -0
- package/.next/static/chunks/37adc260f85da877.js +1 -0
- package/.next/static/chunks/521eee9903bc4d1f.js +5 -0
- package/.next/static/chunks/6051bd38272cb442.js +14 -0
- package/.next/static/chunks/8d433d4b9d701456.js +1 -0
- package/.next/static/chunks/92ba72595aad9df6.js +1 -0
- package/.next/static/chunks/959ed978a6e89a66.js +1 -0
- package/.next/static/chunks/a6dad97d9634a72d.js +1 -0
- package/.next/static/chunks/a6dad97d9634a72d.js.map +1 -0
- package/.next/static/chunks/a6db6456c5b75734.js +1 -0
- package/.next/static/chunks/c3ece0a7e3e07076.js +1 -0
- package/.next/static/chunks/d1b29a74f6814a03.css +3 -0
- package/.next/static/chunks/f7ec22614fe1c1fe.js +1 -0
- package/.next/static/chunks/turbopack-e062a8e6d6034eb0.js +4 -0
- package/.next/static/media/1bffadaabf893a1e-s.7cd81963.woff2 +0 -0
- package/.next/static/media/2bbe8d2671613f1f-s.76dcb0b2.woff2 +0 -0
- package/.next/static/media/2c55a0e60120577a-s.2a48534a.woff2 +0 -0
- package/.next/static/media/5476f68d60460930-s.c995e352.woff2 +0 -0
- package/.next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2 +0 -0
- package/.next/static/media/9c72aa0f40e4eef8-s.18a48cbc.woff2 +0 -0
- package/.next/static/media/SFMonoBold-s.p.b90ec775.otf +0 -0
- package/.next/static/media/SFMonoHeavy-s.p.545fe93b.otf +0 -0
- package/.next/static/media/SFMonoLight-s.p.7c5363a6.otf +0 -0
- package/.next/static/media/SFMonoMedium-s.p.a4fc9904.otf +0 -0
- package/.next/static/media/SFMonoRegular-s.p.04ea7bf3.otf +0 -0
- package/.next/static/media/SFMonoSemibold-s.p.2d2ddb43.otf +0 -0
- package/.next/static/media/ad66f9afd8947f86-s.7a40eb73.woff2 +0 -0
- package/.next/static/media/favicon.678eb597.ico +0 -0
- package/.next/static/media/logo.22a370b0.png +0 -0
- package/.next/trace +1 -0
- package/.next/trace-build +1 -0
- package/.next/turbopack +0 -0
- package/.next/types/routes.d.ts +58 -0
- package/.next/types/validator.ts +70 -0
- package/CHANGELOG.md +12 -0
- package/LICENSE.md +8 -0
- package/index.mjs +17 -0
- package/jsx-runtime/jsx-dev-runtime.js +26 -0
- package/module-punycode.d.ts +3 -0
- package/next-env.d.ts +6 -0
- package/next.config.mjs +15 -0
- package/package.json +78 -0
- package/postcss.config.js +5 -0
- package/readme.md +33 -0
- package/scripts/build-preview-server.mts +25 -0
- package/scripts/dev.mts +57 -0
- package/scripts/seed.mts +36 -0
- package/src/actions/export-single-template.ts +74 -0
- package/src/actions/get-template-path-from-slug.ts +32 -0
- package/src/actions/get-templates-directory-metadata-action.ts +19 -0
- package/src/actions/render-template-by-path.tsx +313 -0
- package/src/actions/safe-action.ts +15 -0
- package/src/animated-icons-data/help.json +1082 -0
- package/src/animated-icons-data/link.json +1309 -0
- package/src/animated-icons-data/load.json +443 -0
- package/src/animated-icons-data/mail.json +1320 -0
- package/src/app/env.ts +14 -0
- package/src/app/favicon.ico +0 -0
- package/src/app/fonts/SFMono/SFMonoBold.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoBoldItalic.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoHeavy.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoHeavyItalic.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoLight.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoLightItalic.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoMedium.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoMediumItalic.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoRegular.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoRegularItalic.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoSemibold.otf +0 -0
- package/src/app/fonts/SFMono/SFMonoSemiboldItalic.otf +0 -0
- package/src/app/fonts.ts +39 -0
- package/src/app/globals.css +136 -0
- package/src/app/layout.tsx +46 -0
- package/src/app/logo.png +0 -0
- package/src/app/page.tsx +52 -0
- package/src/app/preview/[...slug]/download-button.tsx +138 -0
- package/src/app/preview/[...slug]/error-overlay.tsx +58 -0
- package/src/app/preview/[...slug]/page.tsx +90 -0
- package/src/app/preview/[...slug]/preview.tsx +249 -0
- package/src/app/preview/[...slug]/template-frame.tsx +68 -0
- package/src/components/button.tsx +101 -0
- package/src/components/code-container.tsx +169 -0
- package/src/components/code-snippet.tsx +9 -0
- package/src/components/code.tsx +185 -0
- package/src/components/heading.tsx +113 -0
- package/src/components/icons/icon-arrow-down.tsx +16 -0
- package/src/components/icons/icon-base.tsx +26 -0
- package/src/components/icons/icon-bug.tsx +19 -0
- package/src/components/icons/icon-button.tsx +23 -0
- package/src/components/icons/icon-check.tsx +19 -0
- package/src/components/icons/icon-clipboard.tsx +40 -0
- package/src/components/icons/icon-cloud-alert.tsx +18 -0
- package/src/components/icons/icon-cloud-check.tsx +17 -0
- package/src/components/icons/icon-download.tsx +19 -0
- package/src/components/icons/icon-file.tsx +19 -0
- package/src/components/icons/icon-folder-open.tsx +19 -0
- package/src/components/icons/icon-folder.tsx +18 -0
- package/src/components/icons/icon-hide-sidebar.tsx +23 -0
- package/src/components/icons/icon-image.tsx +19 -0
- package/src/components/icons/icon-info.tsx +18 -0
- package/src/components/icons/icon-link.tsx +14 -0
- package/src/components/icons/icon-loader.tsx +16 -0
- package/src/components/icons/icon-monitor.tsx +19 -0
- package/src/components/icons/icon-moon.tsx +16 -0
- package/src/components/icons/icon-phone.tsx +26 -0
- package/src/components/icons/icon-reload.tsx +18 -0
- package/src/components/icons/icon-source.tsx +19 -0
- package/src/components/icons/icon-stamp.tsx +14 -0
- package/src/components/icons/icon-sun.tsx +74 -0
- package/src/components/icons/icon-warning.tsx +31 -0
- package/src/components/index.ts +7 -0
- package/src/components/logo.tsx +41 -0
- package/src/components/resizable-wrapper.tsx +269 -0
- package/src/components/shell.tsx +95 -0
- package/src/components/sidebar/file-tree-directory-children.tsx +142 -0
- package/src/components/sidebar/file-tree-directory.tsx +92 -0
- package/src/components/sidebar/file-tree.tsx +31 -0
- package/src/components/sidebar/index.ts +1 -0
- package/src/components/sidebar/sidebar.tsx +46 -0
- package/src/components/text.tsx +99 -0
- package/src/components/toolbar/checking-results.tsx +150 -0
- package/src/components/toolbar/code-preview-line-link.tsx +39 -0
- package/src/components/toolbar/results-table.tsx +0 -0
- package/src/components/toolbar/results.tsx +52 -0
- package/src/components/toolbar/toolbar-button.tsx +52 -0
- package/src/components/toolbar/use-cached-state.ts +36 -0
- package/src/components/toolbar.tsx +182 -0
- package/src/components/tooltip-content.tsx +31 -0
- package/src/components/tooltip.tsx +19 -0
- package/src/components/topbar/active-view-toggle-group.tsx +86 -0
- package/src/components/topbar/emulated-dark-mode-toggle.tsx +58 -0
- package/src/components/topbar/view-size-controls.tsx +173 -0
- package/src/components/topbar.tsx +59 -0
- package/src/contexts/preview.tsx +91 -0
- package/src/contexts/templates.tsx +57 -0
- package/src/contexts/toolbar.tsx +22 -0
- package/src/hooks/use-clamped-state.ts +24 -0
- package/src/hooks/use-fragment-identifier.ts +14 -0
- package/src/hooks/use-hot-reload.ts +31 -0
- package/src/hooks/use-rendering-metadata.ts +37 -0
- package/src/hooks/use-template-rendering-result.ts +58 -0
- package/src/utils/cn.ts +6 -0
- package/src/utils/constants.ts +8 -0
- package/src/utils/contains-template.ts +52 -0
- package/src/utils/convert-stack-with-sourcemap.ts +79 -0
- package/src/utils/copy-text-to-clipboard.ts +7 -0
- package/src/utils/create-jsx-runtime.ts +47 -0
- package/src/utils/esbuild/escape-string-for-regex.ts +3 -0
- package/src/utils/esbuild/renderring-utilities-exporter.ts +64 -0
- package/src/utils/get-line-and-column-from-offset.ts +11 -0
- package/src/utils/get-template-component.ts +158 -0
- package/src/utils/get-templates-directory-metadata.ts +195 -0
- package/src/utils/index.ts +6 -0
- package/src/utils/language-map.ts +7 -0
- package/src/utils/load-stream.ts +15 -0
- package/src/utils/register-spinner-autostopping.ts +28 -0
- package/src/utils/result.ts +49 -0
- package/src/utils/run-bundled-code.ts +86 -0
- package/src/utils/sanitize.ts +6 -0
- package/src/utils/sleep.ts +3 -0
- package/src/utils/snake-to-camel.ts +5 -0
- package/src/utils/static-node-modules-for-vm.ts +93 -0
- package/src/utils/style-text.ts +11 -0
- package/src/utils/types/as.ts +26 -0
- package/src/utils/types/error-object.ts +11 -0
- package/src/utils/types/hot-reload-change.ts +13 -0
- package/src/utils/types/template.ts +8 -0
- package/src/utils/unreachable.ts +8 -0
- package/templates/.gitkeep +0 -0
- package/tsconfig.json +47 -0
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
{
|
|
2
|
+
"v": "5.12.1",
|
|
3
|
+
"fr": 60,
|
|
4
|
+
"ip": 0,
|
|
5
|
+
"op": 150,
|
|
6
|
+
"w": 144,
|
|
7
|
+
"h": 144,
|
|
8
|
+
"nm": "system-regular-716-spinner-three-dots",
|
|
9
|
+
"ddd": 0,
|
|
10
|
+
"assets": [
|
|
11
|
+
{
|
|
12
|
+
"id": "comp_1",
|
|
13
|
+
"nm": "hover-trapdoor",
|
|
14
|
+
"fr": 60,
|
|
15
|
+
"layers": [
|
|
16
|
+
{
|
|
17
|
+
"ddd": 0,
|
|
18
|
+
"ind": 1,
|
|
19
|
+
"ty": 4,
|
|
20
|
+
"nm": "Ellipse 31",
|
|
21
|
+
"sr": 1,
|
|
22
|
+
"ks": {
|
|
23
|
+
"o": { "a": 0, "k": 100, "ix": 11 },
|
|
24
|
+
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
25
|
+
"p": {
|
|
26
|
+
"a": 1,
|
|
27
|
+
"k": [
|
|
28
|
+
{
|
|
29
|
+
"i": { "x": 0.085, "y": 1 },
|
|
30
|
+
"o": { "x": 0.333, "y": 0 },
|
|
31
|
+
"t": 46,
|
|
32
|
+
"s": [120, 72, 0],
|
|
33
|
+
"to": [0, 0, 0],
|
|
34
|
+
"ti": [0, 0, 0]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"i": { "x": 0.085, "y": 0.085 },
|
|
38
|
+
"o": { "x": 0.373, "y": 0.373 },
|
|
39
|
+
"t": 76,
|
|
40
|
+
"s": [120, 23, 0],
|
|
41
|
+
"to": [0, 0, 0],
|
|
42
|
+
"ti": [0, 0, 0]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"i": { "x": 0.631, "y": 1 },
|
|
46
|
+
"o": { "x": 0.658, "y": 0 },
|
|
47
|
+
"t": 83.572,
|
|
48
|
+
"s": [120, 23, 0],
|
|
49
|
+
"to": [0, 0, 0],
|
|
50
|
+
"ti": [0, 0, 0]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"i": { "x": 0.352, "y": 1 },
|
|
54
|
+
"o": { "x": 0.333, "y": 0 },
|
|
55
|
+
"t": 104.715,
|
|
56
|
+
"s": [120, 87, 0],
|
|
57
|
+
"to": [0, 0, 0],
|
|
58
|
+
"ti": [0, 0, 0]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"i": { "x": 0.58, "y": 1 },
|
|
62
|
+
"o": { "x": 0.333, "y": 0 },
|
|
63
|
+
"t": 128.572,
|
|
64
|
+
"s": [120, 67, 0],
|
|
65
|
+
"to": [0, 0, 0],
|
|
66
|
+
"ti": [0, 0, 0]
|
|
67
|
+
},
|
|
68
|
+
{ "t": 150, "s": [120, 72, 0] }
|
|
69
|
+
],
|
|
70
|
+
"ix": 2,
|
|
71
|
+
"l": 2
|
|
72
|
+
},
|
|
73
|
+
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
|
74
|
+
"s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
|
|
75
|
+
},
|
|
76
|
+
"ao": 0,
|
|
77
|
+
"shapes": [
|
|
78
|
+
{
|
|
79
|
+
"ty": "gr",
|
|
80
|
+
"it": [
|
|
81
|
+
{
|
|
82
|
+
"d": 1,
|
|
83
|
+
"ty": "el",
|
|
84
|
+
"s": { "a": 0, "k": [27, 27], "ix": 2 },
|
|
85
|
+
"p": { "a": 0, "k": [0, 0], "ix": 3 },
|
|
86
|
+
"nm": "Ellipse Path 1",
|
|
87
|
+
"mn": "ADBE Vector Shape - Ellipse",
|
|
88
|
+
"hd": false
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"ty": "st",
|
|
92
|
+
"c": {
|
|
93
|
+
"a": 0,
|
|
94
|
+
"k": [0, 0, 0, 1],
|
|
95
|
+
"ix": 3,
|
|
96
|
+
"x": "var $bm_rt;\n$bm_rt = comp('system-regular-716-spinner-three-dots').layer('control').effect('primary')('Color');"
|
|
97
|
+
},
|
|
98
|
+
"o": { "a": 0, "k": 100, "ix": 4 },
|
|
99
|
+
"w": { "a": 0, "k": 9, "ix": 5 },
|
|
100
|
+
"lc": 2,
|
|
101
|
+
"lj": 1,
|
|
102
|
+
"ml": 4,
|
|
103
|
+
"bm": 0,
|
|
104
|
+
"nm": ".primary",
|
|
105
|
+
"mn": "ADBE Vector Graphic - Stroke",
|
|
106
|
+
"hd": false,
|
|
107
|
+
"cl": "primary"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"ty": "tr",
|
|
111
|
+
"p": { "a": 0, "k": [0, 0], "ix": 2 },
|
|
112
|
+
"a": { "a": 0, "k": [0, 0], "ix": 1 },
|
|
113
|
+
"s": { "a": 0, "k": [100, 100], "ix": 3 },
|
|
114
|
+
"r": { "a": 0, "k": 0, "ix": 6 },
|
|
115
|
+
"o": { "a": 0, "k": 100, "ix": 7 },
|
|
116
|
+
"sk": { "a": 0, "k": 0, "ix": 4 },
|
|
117
|
+
"sa": { "a": 0, "k": 0, "ix": 5 },
|
|
118
|
+
"nm": "Transform"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"nm": "Ellipse 28",
|
|
122
|
+
"np": 2,
|
|
123
|
+
"cix": 2,
|
|
124
|
+
"bm": 0,
|
|
125
|
+
"ix": 1,
|
|
126
|
+
"mn": "ADBE Vector Group",
|
|
127
|
+
"hd": false
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"ip": 0,
|
|
131
|
+
"op": 1800,
|
|
132
|
+
"st": 0,
|
|
133
|
+
"ct": 1,
|
|
134
|
+
"bm": 0
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"ddd": 0,
|
|
138
|
+
"ind": 2,
|
|
139
|
+
"ty": 4,
|
|
140
|
+
"nm": "Ellipse 30",
|
|
141
|
+
"sr": 1,
|
|
142
|
+
"ks": {
|
|
143
|
+
"o": { "a": 0, "k": 100, "ix": 11 },
|
|
144
|
+
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
145
|
+
"p": {
|
|
146
|
+
"a": 1,
|
|
147
|
+
"k": [
|
|
148
|
+
{
|
|
149
|
+
"i": { "x": 0.085, "y": 1 },
|
|
150
|
+
"o": { "x": 0.333, "y": 0 },
|
|
151
|
+
"t": 23,
|
|
152
|
+
"s": [72, 72, 0],
|
|
153
|
+
"to": [0, 0, 0],
|
|
154
|
+
"ti": [0, 0, 0]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"i": { "x": 0.085, "y": 0.085 },
|
|
158
|
+
"o": { "x": 0.373, "y": 0.373 },
|
|
159
|
+
"t": 53,
|
|
160
|
+
"s": [72, 23, 0],
|
|
161
|
+
"to": [0, 0, 0],
|
|
162
|
+
"ti": [0, 0, 0]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"i": { "x": 0.631, "y": 1 },
|
|
166
|
+
"o": { "x": 0.658, "y": 0 },
|
|
167
|
+
"t": 76,
|
|
168
|
+
"s": [72, 23, 0],
|
|
169
|
+
"to": [0, 0, 0],
|
|
170
|
+
"ti": [0, 0, 0]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"i": { "x": 0.352, "y": 1 },
|
|
174
|
+
"o": { "x": 0.333, "y": 0 },
|
|
175
|
+
"t": 97.143,
|
|
176
|
+
"s": [72, 87, 0],
|
|
177
|
+
"to": [0, 0, 0],
|
|
178
|
+
"ti": [0, 0, 0]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"i": { "x": 0.58, "y": 1 },
|
|
182
|
+
"o": { "x": 0.333, "y": 0 },
|
|
183
|
+
"t": 121,
|
|
184
|
+
"s": [72, 67, 0],
|
|
185
|
+
"to": [0, 0, 0],
|
|
186
|
+
"ti": [0, 0, 0]
|
|
187
|
+
},
|
|
188
|
+
{ "t": 142.427734375, "s": [72, 72, 0] }
|
|
189
|
+
],
|
|
190
|
+
"ix": 2,
|
|
191
|
+
"l": 2
|
|
192
|
+
},
|
|
193
|
+
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
|
194
|
+
"s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
|
|
195
|
+
},
|
|
196
|
+
"ao": 0,
|
|
197
|
+
"shapes": [
|
|
198
|
+
{
|
|
199
|
+
"ty": "gr",
|
|
200
|
+
"it": [
|
|
201
|
+
{
|
|
202
|
+
"d": 1,
|
|
203
|
+
"ty": "el",
|
|
204
|
+
"s": { "a": 0, "k": [27, 27], "ix": 2 },
|
|
205
|
+
"p": { "a": 0, "k": [0, 0], "ix": 3 },
|
|
206
|
+
"nm": "Ellipse Path 1",
|
|
207
|
+
"mn": "ADBE Vector Shape - Ellipse",
|
|
208
|
+
"hd": false
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"ty": "st",
|
|
212
|
+
"c": {
|
|
213
|
+
"a": 0,
|
|
214
|
+
"k": [0, 0, 0, 1],
|
|
215
|
+
"ix": 3,
|
|
216
|
+
"x": "var $bm_rt;\n$bm_rt = comp('system-regular-716-spinner-three-dots').layer('control').effect('primary')('Color');"
|
|
217
|
+
},
|
|
218
|
+
"o": { "a": 0, "k": 100, "ix": 4 },
|
|
219
|
+
"w": { "a": 0, "k": 9, "ix": 5 },
|
|
220
|
+
"lc": 2,
|
|
221
|
+
"lj": 1,
|
|
222
|
+
"ml": 4,
|
|
223
|
+
"bm": 0,
|
|
224
|
+
"nm": ".primary",
|
|
225
|
+
"mn": "ADBE Vector Graphic - Stroke",
|
|
226
|
+
"hd": false,
|
|
227
|
+
"cl": "primary"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"ty": "tr",
|
|
231
|
+
"p": { "a": 0, "k": [0, 0], "ix": 2 },
|
|
232
|
+
"a": { "a": 0, "k": [0, 0], "ix": 1 },
|
|
233
|
+
"s": { "a": 0, "k": [100, 100], "ix": 3 },
|
|
234
|
+
"r": { "a": 0, "k": 0, "ix": 6 },
|
|
235
|
+
"o": { "a": 0, "k": 100, "ix": 7 },
|
|
236
|
+
"sk": { "a": 0, "k": 0, "ix": 4 },
|
|
237
|
+
"sa": { "a": 0, "k": 0, "ix": 5 },
|
|
238
|
+
"nm": "Transform"
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"nm": "Ellipse 28",
|
|
242
|
+
"np": 2,
|
|
243
|
+
"cix": 2,
|
|
244
|
+
"bm": 0,
|
|
245
|
+
"ix": 1,
|
|
246
|
+
"mn": "ADBE Vector Group",
|
|
247
|
+
"hd": false
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"ip": 0,
|
|
251
|
+
"op": 1800,
|
|
252
|
+
"st": 0,
|
|
253
|
+
"ct": 1,
|
|
254
|
+
"bm": 0
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"ddd": 0,
|
|
258
|
+
"ind": 3,
|
|
259
|
+
"ty": 4,
|
|
260
|
+
"nm": "Ellipse 29",
|
|
261
|
+
"sr": 1,
|
|
262
|
+
"ks": {
|
|
263
|
+
"o": { "a": 0, "k": 100, "ix": 11 },
|
|
264
|
+
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
265
|
+
"p": {
|
|
266
|
+
"a": 1,
|
|
267
|
+
"k": [
|
|
268
|
+
{
|
|
269
|
+
"i": { "x": 0.085, "y": 1 },
|
|
270
|
+
"o": { "x": 0.333, "y": 0 },
|
|
271
|
+
"t": 0,
|
|
272
|
+
"s": [24, 72, 0],
|
|
273
|
+
"to": [0, 0, 0],
|
|
274
|
+
"ti": [0, 0, 0]
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"i": { "x": 0.085, "y": 0.085 },
|
|
278
|
+
"o": { "x": 0.373, "y": 0.373 },
|
|
279
|
+
"t": 30,
|
|
280
|
+
"s": [24, 23, 0],
|
|
281
|
+
"to": [0, 0, 0],
|
|
282
|
+
"ti": [0, 0, 0]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"i": { "x": 0.631, "y": 1 },
|
|
286
|
+
"o": { "x": 0.658, "y": 0 },
|
|
287
|
+
"t": 70.572,
|
|
288
|
+
"s": [24, 23, 0],
|
|
289
|
+
"to": [0, 0, 0],
|
|
290
|
+
"ti": [0, 0, 0]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"i": { "x": 0.352, "y": 1 },
|
|
294
|
+
"o": { "x": 0.333, "y": 0 },
|
|
295
|
+
"t": 91.715,
|
|
296
|
+
"s": [24, 87, 0],
|
|
297
|
+
"to": [0, 0, 0],
|
|
298
|
+
"ti": [0, 0, 0]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"i": { "x": 0.58, "y": 1 },
|
|
302
|
+
"o": { "x": 0.333, "y": 0 },
|
|
303
|
+
"t": 115.572,
|
|
304
|
+
"s": [24, 67, 0],
|
|
305
|
+
"to": [0, 0, 0],
|
|
306
|
+
"ti": [0, 0, 0]
|
|
307
|
+
},
|
|
308
|
+
{ "t": 137, "s": [24, 72, 0] }
|
|
309
|
+
],
|
|
310
|
+
"ix": 2,
|
|
311
|
+
"l": 2
|
|
312
|
+
},
|
|
313
|
+
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
|
314
|
+
"s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
|
|
315
|
+
},
|
|
316
|
+
"ao": 0,
|
|
317
|
+
"shapes": [
|
|
318
|
+
{
|
|
319
|
+
"ty": "gr",
|
|
320
|
+
"it": [
|
|
321
|
+
{
|
|
322
|
+
"d": 1,
|
|
323
|
+
"ty": "el",
|
|
324
|
+
"s": { "a": 0, "k": [27, 27], "ix": 2 },
|
|
325
|
+
"p": { "a": 0, "k": [0, 0], "ix": 3 },
|
|
326
|
+
"nm": "Ellipse Path 1",
|
|
327
|
+
"mn": "ADBE Vector Shape - Ellipse",
|
|
328
|
+
"hd": false
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"ty": "st",
|
|
332
|
+
"c": {
|
|
333
|
+
"a": 0,
|
|
334
|
+
"k": [0, 0, 0, 1],
|
|
335
|
+
"ix": 3,
|
|
336
|
+
"x": "var $bm_rt;\n$bm_rt = comp('system-regular-716-spinner-three-dots').layer('control').effect('primary')('Color');"
|
|
337
|
+
},
|
|
338
|
+
"o": { "a": 0, "k": 100, "ix": 4 },
|
|
339
|
+
"w": { "a": 0, "k": 9, "ix": 5 },
|
|
340
|
+
"lc": 2,
|
|
341
|
+
"lj": 1,
|
|
342
|
+
"ml": 4,
|
|
343
|
+
"bm": 0,
|
|
344
|
+
"nm": ".primary",
|
|
345
|
+
"mn": "ADBE Vector Graphic - Stroke",
|
|
346
|
+
"hd": false,
|
|
347
|
+
"cl": "primary"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"ty": "tr",
|
|
351
|
+
"p": { "a": 0, "k": [0, 0], "ix": 2 },
|
|
352
|
+
"a": { "a": 0, "k": [0, 0], "ix": 1 },
|
|
353
|
+
"s": { "a": 0, "k": [100, 100], "ix": 3 },
|
|
354
|
+
"r": { "a": 0, "k": 0, "ix": 6 },
|
|
355
|
+
"o": { "a": 0, "k": 100, "ix": 7 },
|
|
356
|
+
"sk": { "a": 0, "k": 0, "ix": 4 },
|
|
357
|
+
"sa": { "a": 0, "k": 0, "ix": 5 },
|
|
358
|
+
"nm": "Transform"
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"nm": "Ellipse 28",
|
|
362
|
+
"np": 2,
|
|
363
|
+
"cix": 2,
|
|
364
|
+
"bm": 0,
|
|
365
|
+
"ix": 1,
|
|
366
|
+
"mn": "ADBE Vector Group",
|
|
367
|
+
"hd": false
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
"ip": 0,
|
|
371
|
+
"op": 1799,
|
|
372
|
+
"st": -1,
|
|
373
|
+
"ct": 1,
|
|
374
|
+
"bm": 0
|
|
375
|
+
}
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"layers": [
|
|
380
|
+
{
|
|
381
|
+
"ddd": 0,
|
|
382
|
+
"ind": 1,
|
|
383
|
+
"ty": 3,
|
|
384
|
+
"nm": "control",
|
|
385
|
+
"sr": 1,
|
|
386
|
+
"ks": {
|
|
387
|
+
"o": { "a": 0, "k": 0, "ix": 11 },
|
|
388
|
+
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
389
|
+
"p": { "a": 0, "k": [0, 0], "ix": 2, "l": 2 },
|
|
390
|
+
"a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 },
|
|
391
|
+
"s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
|
|
392
|
+
},
|
|
393
|
+
"ao": 0,
|
|
394
|
+
"ef": [
|
|
395
|
+
{
|
|
396
|
+
"ty": 5,
|
|
397
|
+
"nm": "primary",
|
|
398
|
+
"np": 3,
|
|
399
|
+
"mn": "ADBE Color Control",
|
|
400
|
+
"ix": 1,
|
|
401
|
+
"en": 1,
|
|
402
|
+
"ef": [
|
|
403
|
+
{
|
|
404
|
+
"ty": 2,
|
|
405
|
+
"nm": "Color",
|
|
406
|
+
"mn": "ADBE Color Control-0001",
|
|
407
|
+
"ix": 1,
|
|
408
|
+
"v": { "a": 0, "k": [0, 0, 0], "ix": 1 }
|
|
409
|
+
}
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"ip": 0,
|
|
414
|
+
"op": 2112,
|
|
415
|
+
"st": 0,
|
|
416
|
+
"bm": 0
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"ddd": 0,
|
|
420
|
+
"ind": 3,
|
|
421
|
+
"ty": 0,
|
|
422
|
+
"nm": "hover-trapdoor",
|
|
423
|
+
"refId": "comp_1",
|
|
424
|
+
"sr": 1,
|
|
425
|
+
"ks": {
|
|
426
|
+
"o": { "a": 0, "k": 100, "ix": 11 },
|
|
427
|
+
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
428
|
+
"p": { "a": 0, "k": [72, 72, 0], "ix": 2, "l": 2 },
|
|
429
|
+
"a": { "a": 0, "k": [72, 72, 0], "ix": 1, "l": 2 },
|
|
430
|
+
"s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 }
|
|
431
|
+
},
|
|
432
|
+
"ao": 0,
|
|
433
|
+
"w": 144,
|
|
434
|
+
"h": 144,
|
|
435
|
+
"ip": 0,
|
|
436
|
+
"op": 160,
|
|
437
|
+
"st": 0,
|
|
438
|
+
"bm": 0
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"markers": [{ "tm": 0, "cm": "default:hover-trapdoor", "dr": 150 }],
|
|
442
|
+
"props": {}
|
|
443
|
+
}
|