@stacksjs/stx 0.2.94 → 0.2.96
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/dist/a11y.js +598 -2
- package/dist/analytics.js +159 -2
- package/dist/analyzer.js +240 -2
- package/dist/animation.js +688 -2
- package/dist/app-shell.js +220 -2
- package/dist/app.js +79 -2
- package/dist/assets.js +155 -2
- package/dist/ast.js +630 -2
- package/dist/async-components.js +428 -2
- package/dist/auth.js +12 -2
- package/dist/broadcasting.js +102 -2
- package/dist/browser-composables.js +565 -2
- package/dist/build-assets.js +29 -2
- package/dist/build-mode-detector.js +50 -2
- package/dist/build-optimizer.js +433 -2
- package/dist/build-views.js +180 -2
- package/dist/build.js +33 -2
- package/dist/builtins/drawer.js +37 -2
- package/dist/builtins/escape.js +3 -2
- package/dist/builtins/icon.js +83 -2
- package/dist/builtins/index.js +34 -2
- package/dist/builtins/modal.js +38 -2
- package/dist/builtins/safe-image.js +51 -2
- package/dist/builtins/stx-image.js +200 -2
- package/dist/builtins/stx-link.js +41 -2
- package/dist/builtins/stx-loading-indicator.js +35 -2
- package/dist/builtins/suspense.js +24 -2
- package/dist/builtins/toast.js +42 -2
- package/dist/builtins/tooltip.js +106 -2
- package/dist/builtins/transition-group.js +22 -2
- package/dist/bundle-analyzer/collector.js +233 -2
- package/dist/bundle-analyzer/index.js +82 -2
- package/dist/bundle-analyzer/report.js +318 -2
- package/dist/bundle-analyzer/treemap.js +594 -2
- package/dist/caching.js +131 -2
- package/dist/cli.js +11317 -10982
- package/dist/client/directive.js +14 -2
- package/dist/client/index.js +2 -2
- package/dist/client-helpers.js +312 -2
- package/dist/client-script-bundler.js +216 -6
- package/dist/client-script.js +754 -2
- package/dist/client.js +73 -4
- package/dist/component-hmr.js +585 -2
- package/dist/component-library.d.ts +6 -0
- package/dist/component-library.js +683 -0
- package/dist/component-processing.js +613 -2
- package/dist/component-registry.js +90 -2
- package/dist/component-renderer.js +660 -2
- package/dist/components.js +213 -2
- package/dist/composables/index.js +220 -2
- package/dist/composables/use-battery.js +101 -2
- package/dist/composables/use-broadcast-channel.js +80 -2
- package/dist/composables/use-channel.js +124 -2
- package/dist/composables/use-clipboard.js +79 -2
- package/dist/composables/use-color-mode.js +131 -2
- package/dist/composables/use-cookie.js +86 -2
- package/dist/composables/use-device-orientation.js +181 -2
- package/dist/composables/use-event-listener.js +27 -2
- package/dist/composables/use-event-source.js +166 -2
- package/dist/composables/use-eye-dropper.js +142 -2
- package/dist/composables/use-fetch.js +223 -2
- package/dist/composables/use-fullscreen.js +110 -2
- package/dist/composables/use-geolocation.js +101 -2
- package/dist/composables/use-idle.js +182 -2
- package/dist/composables/use-intersection-observer.js +168 -2
- package/dist/composables/use-keyboard.js +224 -2
- package/dist/composables/use-media-query.js +62 -2
- package/dist/composables/use-meta.js +48 -2
- package/dist/composables/use-mouse.js +286 -2
- package/dist/composables/use-mutation-observer.js +129 -2
- package/dist/composables/use-network.js +85 -2
- package/dist/composables/use-notification.js +94 -2
- package/dist/composables/use-permissions.js +132 -2
- package/dist/composables/use-query.js +0 -1
- package/dist/composables/use-resize-observer.js +157 -2
- package/dist/composables/use-router.js +51 -2
- package/dist/composables/use-share.js +104 -2
- package/dist/composables/use-speech.js +294 -2
- package/dist/composables/use-storage.js +130 -2
- package/dist/composables/use-text-selection.js +205 -4
- package/dist/composables/use-timer.js +183 -2
- package/dist/composables/use-utilities.js +176 -2
- package/dist/composables/use-wake-lock.js +122 -2
- package/dist/composables/use-websocket.js +165 -2
- package/dist/composables/use-window.js +163 -2
- package/dist/composables.js +552 -2
- package/dist/composition-api.js +190 -2
- package/dist/computed.js +376 -8
- package/dist/conditionals.js +599 -2
- package/dist/config.js +751 -2
- package/dist/craft-bridge.js +432 -2
- package/dist/craft-compiler.js +810 -2
- package/dist/craft-components.js +945 -2
- package/dist/craft-entry.js +5 -2
- package/dist/craft-ssr.js +559 -2
- package/dist/csp.js +220 -2
- package/dist/csrf.js +38 -2
- package/dist/custom-directives.js +136 -2
- package/dist/defer.js +156 -2
- package/dist/deploy/config-generators.js +214 -2
- package/dist/deploy/index.js +203 -2
- package/dist/deploy/netlify.js +167 -2
- package/dist/dev-server/crosswind.js +379 -2
- package/dist/dev-server/index.js +7 -2
- package/dist/dev-server/keyboard-shortcuts.js +81 -2
- package/dist/dev-server/native-window.js +91 -2
- package/dist/dev-server/port-utils.js +40 -2
- package/dist/dev-server/serve-app.js +682 -7
- package/dist/dev-server/serve-file.js +439 -7
- package/dist/dev-server/serve-markdown.js +281 -2
- package/dist/dev-server/serve-multi.js +424 -17
- package/dist/dev-server/terminal-colors.js +45 -2
- package/dist/dev-server/theme-selector.js +111 -2
- package/dist/dev-server/types.js +43 -2
- package/dist/dev-server.js +4 -2
- package/dist/devtools.js +462 -18
- package/dist/directive-api.js +355 -2
- package/dist/docs.js +567 -2
- package/dist/doctor.js +123 -2
- package/dist/document-shell.js +105 -2
- package/dist/dynamic-components.js +78 -2
- package/dist/edge-runtime.js +539 -2
- package/dist/env.js +9 -2
- package/dist/error-boundaries.js +62 -12
- package/dist/error-handling.js +1 -2
- package/dist/errors/codes.js +97 -2
- package/dist/errors/formatter.js +196 -2
- package/dist/errors/index.js +44 -2
- package/dist/errors/logger.js +250 -2
- package/dist/errors/sanitizer.js +181 -2
- package/dist/errors/types.js +86 -2
- package/dist/events.js +382 -2
- package/dist/expressions.js +650 -2
- package/dist/formatter.js +265 -2
- package/dist/forms-validation.js +510 -4
- package/dist/forms.js +709 -2
- package/dist/head.js +224 -2
- package/dist/heatmap.js +566 -2
- package/dist/hot-reload.js +367 -2
- package/dist/html-masking.js +73 -2
- package/dist/hydration-runtime.js +195 -2
- package/dist/hydration.js +654 -2
- package/dist/i18n.js +633 -2
- package/dist/image-optimization/auto-sibling.js +88 -2
- package/dist/image-optimization/build-plugin.js +241 -2
- package/dist/image-optimization/component.js +244 -2
- package/dist/image-optimization/directive.js +203 -2
- package/dist/image-optimization/index.js +54 -2
- package/dist/image-optimization/processor.js +262 -2
- package/dist/image-optimization/serve.js +102 -2
- package/dist/includes.js +733 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +134 -2
- package/dist/init.js +505 -2
- package/dist/inline-assets.js +82 -2
- package/dist/interactive.js +383 -2
- package/dist/internal-markdown.js +141 -2
- package/dist/island-chunking.js +52 -2
- package/dist/js-ts.js +57 -2
- package/dist/jsx-runtime.js +289 -2
- package/dist/keep-alive.js +421 -2
- package/dist/lazy-loader.js +245 -2
- package/dist/loading-indicator.js +322 -2
- package/dist/loops.js +643 -2
- package/dist/manifest.js +31 -2
- package/dist/markdown.js +68 -2
- package/dist/media/client/blur-up.js +217 -2
- package/dist/media/client/index.js +53 -2
- package/dist/media/client/lazy-load.js +283 -2
- package/dist/media/client/upload-handler.js +354 -2
- package/dist/media/image/component.js +574 -2
- package/dist/media/image/directive.js +160 -2
- package/dist/media/image/editing.js +193 -2
- package/dist/media/image/index.js +80 -2
- package/dist/media/image/placeholder.js +188 -2
- package/dist/media/image/processor/cache.js +51 -2
- package/dist/media/image/processor/index.js +3 -2
- package/dist/media/image/processor/optimizer.js +202 -2
- package/dist/media/image/processor/responsive.js +162 -2
- package/dist/media/image/srcset.js +194 -2
- package/dist/media/index.js +198 -2
- package/dist/media/manager/embed.js +253 -2
- package/dist/media/protected/component.js +235 -2
- package/dist/media/protected/index.js +20 -2
- package/dist/media/protected/signature.js +205 -2
- package/dist/media/shared/cache.js +132 -2
- package/dist/media/shared/hash.js +35 -2
- package/dist/media/shared/index.js +2 -2
- package/dist/media/types.js +0 -1
- package/dist/media/upload/component.js +320 -2
- package/dist/media/upload/index.js +1 -2
- package/dist/media/video/directive.js +142 -2
- package/dist/media/video/index.js +583 -2
- package/dist/media/video/processor/cache.js +52 -2
- package/dist/media/video/processor/index.js +4 -2
- package/dist/media/video/processor/streaming.js +197 -2
- package/dist/media/video/processor/thumbnail.js +134 -2
- package/dist/media/video/processor/transcoder.js +283 -2
- package/dist/method-spoofing.js +17 -2
- package/dist/middleware.js +40 -2
- package/dist/misc-directives.js +222 -2
- package/dist/native-build.js +511 -2
- package/dist/parser/directive-parser.js +239 -2
- package/dist/parser/expression-parser.js +358 -2
- package/dist/parser/index.js +23 -2
- package/dist/parser/tokenizer.js +534 -2
- package/dist/partial-hydration.js +427 -2
- package/dist/performance-utils.js +430 -2
- package/dist/placeholder.js +35 -2
- package/dist/plugin-system.js +214 -2
- package/dist/plugin.js +173 -2
- package/dist/precompiler.js +660 -81
- package/dist/process.js +711 -2
- package/dist/production-build.js +596 -2
- package/dist/production-builder.js +132 -2
- package/dist/production-server.js +188 -2
- package/dist/props.js +224 -2
- package/dist/public-env.js +19 -2
- package/dist/pwa/audit.js +255 -2
- package/dist/pwa/directives.js +332 -2
- package/dist/pwa/icons.js +109 -2
- package/dist/pwa/index.js +47 -2
- package/dist/pwa/inject.js +102 -2
- package/dist/pwa/manifest.js +186 -2
- package/dist/pwa/offline.js +259 -2
- package/dist/pwa/precache.js +116 -2
- package/dist/pwa/service-worker.js +860 -2
- package/dist/pwa/workbox-strategies.js +167 -2
- package/dist/pwa/workbox.js +382 -2
- package/dist/pwa.js +427 -427
- package/dist/reactive-bindings.js +266 -2
- package/dist/reactive.js +569 -2
- package/dist/reactivity.js +559 -2
- package/dist/release.js +1 -2
- package/dist/render.js +165 -2
- package/dist/route-middleware.js +17 -2
- package/dist/router.js +9 -2
- package/dist/routes.js +14 -2
- package/dist/runtime-injection.js +120 -2
- package/dist/runtime.js +94 -2
- package/dist/safe-evaluator.js +444 -2
- package/dist/scaffolding.js +897 -2
- package/dist/screenshot.js +87 -2
- package/dist/script-classifier.js +32 -2
- package/dist/script-validation.js +158 -2
- package/dist/seo.js +457 -2
- package/dist/serve.js +237 -2
- package/dist/server-bindings.js +108 -2
- package/dist/server-components.js +338 -11
- package/dist/signal-processing.js +946 -2
- package/dist/signals-api.js +154 -2
- package/dist/signals.js +5287 -2
- package/dist/site-builder/build.js +224 -2
- package/dist/site-builder/i18n.js +140 -2
- package/dist/site-builder/index.js +15 -2
- package/dist/site-builder/robots.js +26 -2
- package/dist/site-builder/router.js +27 -2
- package/dist/site-builder/seo.js +36 -2
- package/dist/site-builder/sitemap.js +26 -2
- package/dist/site-builder/theme.js +33 -2
- package/dist/site-builder/types.js +0 -1
- package/dist/slots.js +201 -2
- package/dist/source-maps.js +350 -2
- package/dist/spa-shell.js +34 -2
- package/dist/ssg.js +389 -389
- package/dist/ssr.js +355 -2
- package/dist/state-management.js +533 -2
- package/dist/store-imports.js +13 -2
- package/dist/store-loader.js +72 -5
- package/dist/stores-client.js +132 -2
- package/dist/story/addons.js +261 -2
- package/dist/story/analytics.js +235 -2
- package/dist/story/auto-stories.js +158 -2
- package/dist/story/bookmarks.js +277 -2
- package/dist/story/bun-test.js +102 -2
- package/dist/story/cli.js +155 -2
- package/dist/story/collect/analyzer.js +305 -2
- package/dist/story/collect/index.js +27 -2
- package/dist/story/collect/parser.js +129 -2
- package/dist/story/collect/scanner.js +101 -2
- package/dist/story/collect/tree.js +110 -2
- package/dist/story/commands/build.js +172 -2
- package/dist/story/commands/dev.js +78 -2
- package/dist/story/commands/index.js +3 -2
- package/dist/story/commands/preview.js +56 -2
- package/dist/story/compiled-output.js +151 -2
- package/dist/story/composition.js +261 -2
- package/dist/story/config-watcher.js +67 -2
- package/dist/story/config.js +64 -2
- package/dist/story/context.js +27 -2
- package/dist/story/controls/index.js +320 -2
- package/dist/story/crosswind.js +189 -2
- package/dist/story/desktop-preview.js +105 -2
- package/dist/story/docs-generator.js +186 -2
- package/dist/story/errors.js +239 -2
- package/dist/story/figma-export.js +224 -2
- package/dist/story/generator.js +165 -2
- package/dist/story/hmr.js +131 -2
- package/dist/story/hot-swap.js +207 -2
- package/dist/story/index.js +49 -2
- package/dist/story/interactions.js +225 -2
- package/dist/story/keyboard-shortcuts.js +345 -2
- package/dist/story/output.js +153 -2
- package/dist/story/performance.js +252 -2
- package/dist/story/presets.js +289 -2
- package/dist/story/props-validation.js +215 -2
- package/dist/story/renderer.js +209 -2
- package/dist/story/search-index.js +106 -2
- package/dist/story/search.js +140 -2
- package/dist/story/server.js +965 -2
- package/dist/story/setup.js +78 -2
- package/dist/story/snapshots.js +170 -2
- package/dist/story/testing.js +163 -2
- package/dist/story/theme.js +170 -2
- package/dist/story/types.js +0 -2
- package/dist/story/ui/code-panel.js +175 -2
- package/dist/story/ui/controls-panel.js +168 -2
- package/dist/story/ui/index.js +4 -2
- package/dist/story/ui/navigation.js +250 -2
- package/dist/story/ui/preview.js +251 -2
- package/dist/story/visual-testing.js +247 -2
- package/dist/streaming.js +537 -2
- package/dist/strict-lint.js +288 -2
- package/dist/style-scoping.js +50 -2
- package/dist/suspense.js +398 -2
- package/dist/teleport.js +109 -2
- package/dist/template-compiler.js +63 -2
- package/dist/template-hydrator.js +82 -2
- package/dist/template-tag-balance.js +93 -2
- package/dist/testing.js +581 -2
- package/dist/transitions.js +443 -2
- package/dist/type-checker.js +581 -2
- package/dist/types/component-types.d.ts +54 -0
- package/dist/types/component-types.js +0 -1
- package/dist/types/config-types.js +0 -1
- package/dist/types/context-types.js +0 -1
- package/dist/types/csp-types.js +0 -1
- package/dist/types/directive-types.js +3 -2
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.js +1 -2
- package/dist/types/pwa-types.js +0 -1
- package/dist/types.js +1 -2
- package/dist/typescript-templates.js +386 -4
- package/dist/utils.js +942 -2
- package/dist/validator.js +171 -2
- package/dist/variable-extractor.js +1094 -2
- package/dist/view-composers.js +29 -2
- package/dist/virtual-scrolling.js +454 -2
- package/dist/visual-editor.js +688 -28
- package/dist/vue-template.js +475 -2
- package/dist/web-components/css-scoping.js +177 -2
- package/dist/web-components/index.js +13 -2
- package/dist/web-components/reactive-generator.js +121 -56
- package/dist/web-components.js +1447 -2
- package/dist/x-element.js +17 -5
- package/package.json +6 -7
- package/dist/chunk-03c26pjz.js +0 -3
- package/dist/chunk-04mvcmcr.js +0 -106
- package/dist/chunk-05hgyyqc.js +0 -4
- package/dist/chunk-095s3972.js +0 -99
- package/dist/chunk-0b9w2w1y.js +0 -1
- package/dist/chunk-0dz85jrp.js +0 -3
- package/dist/chunk-0g4gece6.js +0 -4
- package/dist/chunk-0jd0pndq.js +0 -3
- package/dist/chunk-0jkwrcwj.js +0 -3
- package/dist/chunk-0m9tdm7t.js +0 -71
- package/dist/chunk-0qakwen3.js +0 -1
- package/dist/chunk-0qnz93q2.js +0 -3
- package/dist/chunk-0tatqxj2.js +0 -57
- package/dist/chunk-0wdar532.js +0 -102
- package/dist/chunk-13yz561y.js +0 -3
- package/dist/chunk-174z0cd0.js +0 -3
- package/dist/chunk-1mmykse5.js +0 -81
- package/dist/chunk-1z2yq9em.js +0 -3
- package/dist/chunk-1z5nhbjt.js +0 -90
- package/dist/chunk-1zgsgk4b.js +0 -1
- package/dist/chunk-25s7bckb.js +0 -171
- package/dist/chunk-268adc7r.js +0 -2230
- package/dist/chunk-26r6zh3t.js +0 -194
- package/dist/chunk-2w3302dh.js +0 -3
- package/dist/chunk-2xen423s.js +0 -3
- package/dist/chunk-39gm08bn.js +0 -39
- package/dist/chunk-3bjtemm6.js +0 -128
- package/dist/chunk-3jm3snz8.js +0 -3
- package/dist/chunk-3ngm57nt.js +0 -12
- package/dist/chunk-3rh7va1z.js +0 -3
- package/dist/chunk-3yg9hbmb.js +0 -4
- package/dist/chunk-44hd3kab.js +0 -1
- package/dist/chunk-46mkpbkk.js +0 -12
- package/dist/chunk-48cw2nde.js +0 -2
- package/dist/chunk-48r3qe0k.js +0 -3
- package/dist/chunk-4aj7ftqb.js +0 -1
- package/dist/chunk-4bt81cg3.js +0 -61
- package/dist/chunk-4j188175.js +0 -3
- package/dist/chunk-4k7d8p8d.js +0 -188
- package/dist/chunk-4qq8ffke.js +0 -28
- package/dist/chunk-50vqeesm.js +0 -142
- package/dist/chunk-52agge4n.js +0 -38
- package/dist/chunk-55yp0q8t.js +0 -201
- package/dist/chunk-57p201gb.js +0 -83
- package/dist/chunk-5ggw1dyv.js +0 -3
- package/dist/chunk-5kt3ay7x.js +0 -10
- package/dist/chunk-5p568px4.js +0 -1166
- package/dist/chunk-5ppkfyn2.js +0 -3
- package/dist/chunk-5q87fgkk.js +0 -3
- package/dist/chunk-5qb761h2.js +0 -3
- package/dist/chunk-5xvbq2gs.js +0 -30
- package/dist/chunk-647849kf.js +0 -34
- package/dist/chunk-6b5k6w2q.js +0 -7
- package/dist/chunk-6cr3eeh4.js +0 -23
- package/dist/chunk-6djgb0hr.js +0 -3
- package/dist/chunk-6dqzky7x.js +0 -35
- package/dist/chunk-6e4c6g46.js +0 -3
- package/dist/chunk-6w03t7h6.js +0 -3
- package/dist/chunk-6wn85hn6.js +0 -4
- package/dist/chunk-6y4gqs1q.js +0 -169
- package/dist/chunk-75rndzbd.js +0 -6
- package/dist/chunk-77tga15w.js +0 -3
- package/dist/chunk-7a51hkpf.js +0 -3
- package/dist/chunk-7b0xdy5h.js +0 -386
- package/dist/chunk-7cgmq685.js +0 -33
- package/dist/chunk-7dy588as.js +0 -6
- package/dist/chunk-7rvh2wwv.js +0 -721
- package/dist/chunk-7sm05m0j.js +0 -351
- package/dist/chunk-7sqdeqsw.js +0 -1
- package/dist/chunk-7xcfy2fn.js +0 -4
- package/dist/chunk-82t27pvd.js +0 -5
- package/dist/chunk-87kx8byz.js +0 -1115
- package/dist/chunk-8fgwhhb8.js +0 -6
- package/dist/chunk-8qbax8xn.js +0 -347
- package/dist/chunk-91s2hres.js +0 -8
- package/dist/chunk-94g3cahw.js +0 -11
- package/dist/chunk-957amb71.js +0 -8
- package/dist/chunk-95w08s8v.js +0 -3
- package/dist/chunk-9agvhp1x.js +0 -93
- package/dist/chunk-9tmbrwwx.js +0 -219
- package/dist/chunk-9yz5d003.js +0 -51
- package/dist/chunk-a3hyn4we.js +0 -79
- package/dist/chunk-a69tvya5.js +0 -53
- package/dist/chunk-adjcg6wa.js +0 -498
- package/dist/chunk-adqh2m9z.js +0 -45
- package/dist/chunk-asarebzq.js +0 -292
- package/dist/chunk-aw3rp9ac.js +0 -24
- package/dist/chunk-b0cyc09a.js +0 -109
- package/dist/chunk-b3kkjcdh.js +0 -3
- package/dist/chunk-b3prs7y0.js +0 -5
- package/dist/chunk-b5zc9y0y.js +0 -90
- package/dist/chunk-baa7h4yz.js +0 -3
- package/dist/chunk-bgec9r1v.js +0 -5224
- package/dist/chunk-bjnjpsgn.js +0 -3
- package/dist/chunk-bk8ew8ze.js +0 -24
- package/dist/chunk-bn08k7yy.js +0 -3
- package/dist/chunk-bpgg59wa.js +0 -3
- package/dist/chunk-bwxda6n1.js +0 -3
- package/dist/chunk-bykjk6vj.js +0 -4
- package/dist/chunk-c53hyw5c.js +0 -477
- package/dist/chunk-c7jg8w13.js +0 -3
- package/dist/chunk-ca6qd1dx.js +0 -3
- package/dist/chunk-cdbwprfv.js +0 -6
- package/dist/chunk-ceg2c2q2.js +0 -11
- package/dist/chunk-cn409b69.js +0 -3
- package/dist/chunk-cn8az1b4.js +0 -1
- package/dist/chunk-cp3kwv17.js +0 -8
- package/dist/chunk-cpcc11vp.js +0 -5
- package/dist/chunk-cr3wbrcr.js +0 -10
- package/dist/chunk-cygfdk1n.js +0 -3
- package/dist/chunk-cyp4m0vh.js +0 -16
- package/dist/chunk-cz25azze.js +0 -4
- package/dist/chunk-d77yxcds.js +0 -3
- package/dist/chunk-dvfs1h3c.js +0 -117
- package/dist/chunk-dyjnn5k8.js +0 -262
- package/dist/chunk-dzw95th7.js +0 -3
- package/dist/chunk-e0zytzdh.js +0 -179
- package/dist/chunk-e53h9qhd.js +0 -84
- package/dist/chunk-eds0f8f1.js +0 -3
- package/dist/chunk-eh8hact1.js +0 -5
- package/dist/chunk-epj957jf.js +0 -4
- package/dist/chunk-eqeyaq6g.js +0 -77
- package/dist/chunk-fbxt2mrx.js +0 -5
- package/dist/chunk-fch9tk1k.js +0 -3
- package/dist/chunk-fe7r1mq1.js +0 -9
- package/dist/chunk-fhawx87n.js +0 -8
- package/dist/chunk-fk51yyrw.js +0 -3
- package/dist/chunk-fms20x0n.js +0 -21
- package/dist/chunk-fs0qezn5.js +0 -341
- package/dist/chunk-fzm3y0r3.js +0 -267
- package/dist/chunk-g2hekckm.js +0 -161
- package/dist/chunk-g4ps1dj8.js +0 -140
- package/dist/chunk-g8b81pzc.js +0 -3
- package/dist/chunk-ganag9dm.js +0 -3
- package/dist/chunk-gc84b1d2.js +0 -58
- package/dist/chunk-gcf5v18y.js +0 -60
- package/dist/chunk-ghrx0hn1.js +0 -4
- package/dist/chunk-gqpkp459.js +0 -3
- package/dist/chunk-h45py5w5.js +0 -2
- package/dist/chunk-h5wa62ek.js +0 -145
- package/dist/chunk-h82kjdr4.js +0 -83
- package/dist/chunk-haecq01c.js +0 -3
- package/dist/chunk-hepg894w.js +0 -3
- package/dist/chunk-hjdc99kb.js +0 -3
- package/dist/chunk-hje9v2zh.js +0 -3
- package/dist/chunk-hjv76kcw.js +0 -1
- package/dist/chunk-hke99a0v.js +0 -3
- package/dist/chunk-hpqr9e3x.js +0 -3
- package/dist/chunk-hq5cem49.js +0 -236
- package/dist/chunk-hrampcrj.js +0 -3
- package/dist/chunk-ht4j68cs.js +0 -3
- package/dist/chunk-hxx3za24.js +0 -62
- package/dist/chunk-j4s5qwd7.js +0 -4
- package/dist/chunk-jbejwejg.js +0 -8
- package/dist/chunk-jc0fc4ht.js +0 -11
- package/dist/chunk-jcs0ymw7.js +0 -3
- package/dist/chunk-jfm69keq.js +0 -231
- package/dist/chunk-jfrn43vh.js +0 -2
- package/dist/chunk-jjamhxpm.js +0 -139
- package/dist/chunk-jjvp4t5w.js +0 -27
- package/dist/chunk-jt44av4j.js +0 -3
- package/dist/chunk-jt98jhpt.js +0 -10
- package/dist/chunk-k8440jxh.js +0 -6
- package/dist/chunk-kdxa9epn.js +0 -21
- package/dist/chunk-kfd2hf6f.js +0 -3
- package/dist/chunk-kgym7ch9.js +0 -8
- package/dist/chunk-kh6rfz2v.js +0 -4
- package/dist/chunk-kkp6rs2n.js +0 -36
- package/dist/chunk-ktkmvaa8.js +0 -1
- package/dist/chunk-m59y310j.js +0 -3
- package/dist/chunk-mgmyr1b9.js +0 -6
- package/dist/chunk-mqwbpamc.js +0 -3
- package/dist/chunk-mrehzhxv.js +0 -5
- package/dist/chunk-mv03qb75.js +0 -3
- package/dist/chunk-mv4fb50w.js +0 -1
- package/dist/chunk-mwbng54r.js +0 -2
- package/dist/chunk-n46a5g1g.js +0 -3
- package/dist/chunk-n944baxp.js +0 -3
- package/dist/chunk-nanw7yhz.js +0 -14
- package/dist/chunk-nap11ntr.js +0 -21
- package/dist/chunk-ncnfa8ae.js +0 -29
- package/dist/chunk-ngxfwzq3.js +0 -3
- package/dist/chunk-nvwb4x04.js +0 -3
- package/dist/chunk-nw34xajc.js +0 -8
- package/dist/chunk-payfb24w.js +0 -207
- package/dist/chunk-pc31m5x5.js +0 -398
- package/dist/chunk-pg1fvqb9.js +0 -167
- package/dist/chunk-q60knhjf.js +0 -3
- package/dist/chunk-q6h6yvzb.js +0 -10
- package/dist/chunk-qd5461tt.js +0 -3
- package/dist/chunk-qdc3aav1.js +0 -3
- package/dist/chunk-qfwzdffx.js +0 -3
- package/dist/chunk-qgxwmagw.js +0 -134
- package/dist/chunk-qhdtssn1.js +0 -19
- package/dist/chunk-qk584whs.js +0 -3
- package/dist/chunk-qm4yppj5.js +0 -57
- package/dist/chunk-qwyd9a1d.js +0 -2
- package/dist/chunk-qxs6et76.js +0 -196
- package/dist/chunk-rb1e4cnb.js +0 -3
- package/dist/chunk-rh80q1nd.js +0 -1
- package/dist/chunk-rkffm9sy.js +0 -128
- package/dist/chunk-rv002yn0.js +0 -14
- package/dist/chunk-s6ja2bdg.js +0 -66
- package/dist/chunk-sjagg9qz.js +0 -66
- package/dist/chunk-sn07azv3.js +0 -3
- package/dist/chunk-svahbw0w.js +0 -12
- package/dist/chunk-svhtdb0s.js +0 -6
- package/dist/chunk-t37dp99j.js +0 -3
- package/dist/chunk-tj6zfxeb.js +0 -64
- package/dist/chunk-tmgz5t2g.js +0 -3
- package/dist/chunk-tr0z0e1g.js +0 -3
- package/dist/chunk-tx6br9r4.js +0 -274
- package/dist/chunk-v97390pe.js +0 -1
- package/dist/chunk-vcr5pzpx.js +0 -233
- package/dist/chunk-vdfwv0fp.js +0 -6
- package/dist/chunk-vp2395eb.js +0 -3
- package/dist/chunk-vpe6napb.js +0 -28
- package/dist/chunk-vv9wfz1c.js +0 -12
- package/dist/chunk-vw6ejgmy.js +0 -21
- package/dist/chunk-vx22he47.js +0 -1
- package/dist/chunk-w01y57f5.js +0 -1539
- package/dist/chunk-w21mwxdd.js +0 -4
- package/dist/chunk-w4n8fqp7.js +0 -216
- package/dist/chunk-w959hm8j.js +0 -358
- package/dist/chunk-wf7zrjsw.js +0 -138
- package/dist/chunk-wk07pwtd.js +0 -321
- package/dist/chunk-wvef3ngh.js +0 -127
- package/dist/chunk-wxvyj65q.js +0 -2
- package/dist/chunk-x1hjv24z.js +0 -11
- package/dist/chunk-x39sfpvm.js +0 -302
- package/dist/chunk-x4fze3q2.js +0 -314
- package/dist/chunk-x64kb787.js +0 -15
- package/dist/chunk-xcb0pbr6.js +0 -4
- package/dist/chunk-xhkjhxsp.js +0 -3
- package/dist/chunk-xhnpsngj.js +0 -5
- package/dist/chunk-xsqbk4yk.js +0 -3
- package/dist/chunk-xygc53vr.js +0 -68
- package/dist/chunk-y0qg6rrv.js +0 -3
- package/dist/chunk-y25pr13j.js +0 -19
- package/dist/chunk-y4c744dk.js +0 -3
- package/dist/chunk-y4md9hp0.js +0 -3
- package/dist/chunk-y5wazw6j.js +0 -7
- package/dist/chunk-y5xz0jc4.js +0 -141
- package/dist/chunk-y86m1wr4.js +0 -4
- package/dist/chunk-yaan98dd.js +0 -3
- package/dist/chunk-yach037f.js +0 -32
- package/dist/chunk-yexjrg9d.js +0 -7
- package/dist/chunk-ygvyc6wv.js +0 -90
- package/dist/chunk-yj560gp8.js +0 -8
- package/dist/chunk-yn38c15w.js +0 -4
- package/dist/chunk-yr1gdceh.js +0 -3
- package/dist/chunk-yw2fzq86.js +0 -3
- package/dist/chunk-ywkrxp2h.js +0 -147
- package/dist/chunk-z37xq5rx.js +0 -3
- package/dist/chunk-z4djtgt0.js +0 -71
- package/dist/chunk-z8cjr9n9.js +0 -7
- package/dist/chunk-znxp3zha.js +0 -71
- package/dist/chunk-zt2yag10.js +0 -429
package/dist/chunk-9tmbrwwx.js
DELETED
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
function Y(q){let{src:E,apiKey:G,bucket:B,allowedTypes:D,maxFileSize:J,multiple:L=!1,customStyles:M={},callbacks:Q={}}=q,O=`stx-media-manager-${Math.random().toString(36).slice(2,8)}`,j={container:`#${O}`};if(G)j.apiKey=G;if(B)j.bucket=B;if(D)j.allowedTypes=D;if(J)j.maxFileSize=J;if(L)j.multiple=L;if(Object.keys(M).length>0)j.styles=M;let R=`<div id="${O}" class="stx-media-manager"></div>`,U=Object.entries(Q).filter(([,N])=>N).map(([N,W])=>{return`manager.on('${N.replace(/^on/,"").toLowerCase()}', ${W});`}).join(`
|
|
3
|
-
`),V=`
|
|
4
|
-
(function() {
|
|
5
|
-
// Load media manager script
|
|
6
|
-
var script = document.createElement('script');
|
|
7
|
-
script.src = '${P(E)}';
|
|
8
|
-
script.async = true;
|
|
9
|
-
|
|
10
|
-
script.onload = function() {
|
|
11
|
-
// Initialize manager
|
|
12
|
-
if (typeof MediaManager !== 'undefined') {
|
|
13
|
-
var manager = new MediaManager(${JSON.stringify(j)});
|
|
14
|
-
${U}
|
|
15
|
-
manager.init();
|
|
16
|
-
|
|
17
|
-
// Expose manager instance
|
|
18
|
-
window.STX = window.STX || {};
|
|
19
|
-
window.STX.mediaManager = manager;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
script.onerror = function() {
|
|
24
|
-
console.error('[stx] Failed to load media manager from:', '${P(E)}');
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
document.head.appendChild(script);
|
|
28
|
-
})();
|
|
29
|
-
`.trim();return{html:R,script:V}}function Z(q){let{accept:E="image/*",multiple:G=!1,onSelect:B="handleMediaSelect"}=q,D=`stx-picker-${Math.random().toString(36).slice(2,8)}`,J=`
|
|
30
|
-
<div id="${D}" class="stx-media-picker" style="display:none;">
|
|
31
|
-
<div class="stx-media-picker-backdrop"></div>
|
|
32
|
-
<div class="stx-media-picker-modal">
|
|
33
|
-
<div class="stx-media-picker-header">
|
|
34
|
-
<h3>Select Media</h3>
|
|
35
|
-
<button class="stx-media-picker-close" data-close>×</button>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="stx-media-picker-body">
|
|
38
|
-
<input type="file" accept="${E}" ${G?"multiple":""} data-input />
|
|
39
|
-
<div class="stx-media-picker-preview" data-preview></div>
|
|
40
|
-
</div>
|
|
41
|
-
<div class="stx-media-picker-footer">
|
|
42
|
-
<button class="stx-media-picker-cancel" data-close>Cancel</button>
|
|
43
|
-
<button class="stx-media-picker-confirm" data-confirm>Select</button>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
`.trim(),L=`
|
|
48
|
-
(function() {
|
|
49
|
-
var picker = document.getElementById('${D}');
|
|
50
|
-
if (!picker) return;
|
|
51
|
-
|
|
52
|
-
var input = picker.querySelector('[data-input]');
|
|
53
|
-
var preview = picker.querySelector('[data-preview]');
|
|
54
|
-
var selectedFiles = [];
|
|
55
|
-
|
|
56
|
-
// Open picker
|
|
57
|
-
window.STX = window.STX || {};
|
|
58
|
-
window.STX.openMediaPicker = function() {
|
|
59
|
-
picker.style.display = 'flex';
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
window.STX.closeMediaPicker = function() {
|
|
63
|
-
picker.style.display = 'none';
|
|
64
|
-
input.value = '';
|
|
65
|
-
preview.innerHTML = '';
|
|
66
|
-
selectedFiles = [];
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
// Close handlers
|
|
70
|
-
picker.querySelectorAll('[data-close]').forEach(function(btn) {
|
|
71
|
-
btn.addEventListener('click', window.STX.closeMediaPicker);
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
picker.querySelector('.stx-media-picker-backdrop').addEventListener('click', window.STX.closeMediaPicker);
|
|
75
|
-
|
|
76
|
-
// File selection
|
|
77
|
-
input.addEventListener('change', function(e) {
|
|
78
|
-
selectedFiles = Array.from(e.target.files);
|
|
79
|
-
preview.innerHTML = '';
|
|
80
|
-
|
|
81
|
-
selectedFiles.forEach(function(file) {
|
|
82
|
-
var item = document.createElement('div');
|
|
83
|
-
item.className = 'stx-media-picker-item';
|
|
84
|
-
|
|
85
|
-
if (file.type.startsWith('image/')) {
|
|
86
|
-
var reader = new FileReader();
|
|
87
|
-
reader.onload = function(e) {
|
|
88
|
-
item.innerHTML = '<img src="' + e.target.result + '" alt="' + file.name + '" />';
|
|
89
|
-
};
|
|
90
|
-
reader.readAsDataURL(file);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
item.textContent = file.name;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
preview.appendChild(item);
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
// Confirm selection
|
|
101
|
-
picker.querySelector('[data-confirm]').addEventListener('click', function() {
|
|
102
|
-
if (selectedFiles.length > 0 && typeof ${B} === 'function') {
|
|
103
|
-
${B}(selectedFiles);
|
|
104
|
-
}
|
|
105
|
-
window.STX.closeMediaPicker();
|
|
106
|
-
});
|
|
107
|
-
})();
|
|
108
|
-
`.trim(),M=`
|
|
109
|
-
.stx-media-picker {
|
|
110
|
-
position: fixed;
|
|
111
|
-
top: 0;
|
|
112
|
-
left: 0;
|
|
113
|
-
right: 0;
|
|
114
|
-
bottom: 0;
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
justify-content: center;
|
|
118
|
-
z-index: 10000;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.stx-media-picker-backdrop {
|
|
122
|
-
position: absolute;
|
|
123
|
-
top: 0;
|
|
124
|
-
left: 0;
|
|
125
|
-
right: 0;
|
|
126
|
-
bottom: 0;
|
|
127
|
-
background: rgba(0, 0, 0, 0.5);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.stx-media-picker-modal {
|
|
131
|
-
position: relative;
|
|
132
|
-
background: white;
|
|
133
|
-
border-radius: 0.5rem;
|
|
134
|
-
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
|
135
|
-
width: 90%;
|
|
136
|
-
max-width: 600px;
|
|
137
|
-
max-height: 80vh;
|
|
138
|
-
display: flex;
|
|
139
|
-
flex-direction: column;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.stx-media-picker-header {
|
|
143
|
-
display: flex;
|
|
144
|
-
justify-content: space-between;
|
|
145
|
-
align-items: center;
|
|
146
|
-
padding: 1rem;
|
|
147
|
-
border-bottom: 1px solid #e5e7eb;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.stx-media-picker-header h3 {
|
|
151
|
-
margin: 0;
|
|
152
|
-
font-size: 1.125rem;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.stx-media-picker-close {
|
|
156
|
-
background: none;
|
|
157
|
-
border: none;
|
|
158
|
-
font-size: 1.5rem;
|
|
159
|
-
cursor: pointer;
|
|
160
|
-
color: #6b7280;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.stx-media-picker-body {
|
|
164
|
-
padding: 1rem;
|
|
165
|
-
flex: 1;
|
|
166
|
-
overflow-y: auto;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.stx-media-picker-preview {
|
|
170
|
-
display: grid;
|
|
171
|
-
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
|
172
|
-
gap: 0.5rem;
|
|
173
|
-
margin-top: 1rem;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.stx-media-picker-item {
|
|
177
|
-
aspect-ratio: 1;
|
|
178
|
-
background: #f3f4f6;
|
|
179
|
-
border-radius: 0.25rem;
|
|
180
|
-
display: flex;
|
|
181
|
-
align-items: center;
|
|
182
|
-
justify-content: center;
|
|
183
|
-
overflow: hidden;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.stx-media-picker-item img {
|
|
187
|
-
width: 100%;
|
|
188
|
-
height: 100%;
|
|
189
|
-
object-fit: cover;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.stx-media-picker-footer {
|
|
193
|
-
display: flex;
|
|
194
|
-
justify-content: flex-end;
|
|
195
|
-
gap: 0.5rem;
|
|
196
|
-
padding: 1rem;
|
|
197
|
-
border-top: 1px solid #e5e7eb;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.stx-media-picker-footer button {
|
|
201
|
-
padding: 0.5rem 1rem;
|
|
202
|
-
border-radius: 0.25rem;
|
|
203
|
-
cursor: pointer;
|
|
204
|
-
font-size: 0.875rem;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.stx-media-picker-cancel {
|
|
208
|
-
background: white;
|
|
209
|
-
border: 1px solid #d1d5db;
|
|
210
|
-
color: #374151;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.stx-media-picker-confirm {
|
|
214
|
-
background: #3b82f6;
|
|
215
|
-
border: none;
|
|
216
|
-
color: white;
|
|
217
|
-
}
|
|
218
|
-
`.trim();return{html:J,script:L,css:M}}function P(q){return q.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}
|
|
219
|
-
export{Y as Hj,Z as Ij};
|
package/dist/chunk-9yz5d003.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{rB as q}from"./chunk-3jm3snz8.js";var D={strategy:"thumbhash",width:20,quality:50,blurLevel:40,transitionDuration:300,easing:"ease-out"},K=`
|
|
3
|
-
.stx-img-placeholder {
|
|
4
|
-
position: relative;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
background-size: cover;
|
|
7
|
-
background-position: center;
|
|
8
|
-
background-repeat: no-repeat;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.stx-img-placeholder img {
|
|
12
|
-
opacity: 0;
|
|
13
|
-
transition: opacity var(--stx-img-transition-duration, 300ms) var(--stx-img-transition-easing, ease-out);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.stx-img-placeholder.stx-img-loaded img {
|
|
17
|
-
opacity: 1;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.stx-img-blur {
|
|
21
|
-
filter: blur(20px);
|
|
22
|
-
transform: scale(1.1);
|
|
23
|
-
transition: filter var(--stx-img-transition-duration, 300ms) var(--stx-img-transition-easing, ease-out),
|
|
24
|
-
transform var(--stx-img-transition-duration, 300ms) var(--stx-img-transition-easing, ease-out);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.stx-img-loaded .stx-img-blur {
|
|
28
|
-
filter: blur(0);
|
|
29
|
-
transform: scale(1);
|
|
30
|
-
}
|
|
31
|
-
`.trim();async function X(){try{return await import("ts-images")}catch{return null}}async function Z(j,f={}){let x={...D,...f},z=await X();if(z)try{return await G(j,x,z)}catch(J){console.warn(`[stx-media] ts-images placeholder generation failed, using fallback: ${J}`)}return $(j,x)}async function G(j,f,x){let{generatePlaceholder:z,generateThumbHash:J}=x,M={blur:"blur",thumbhash:"thumbhash",blurhash:"thumbhash",pixelate:"pixelate","dominant-color":"dominant-color",none:"blur"}[f.strategy]||"blur";if(f.strategy==="thumbhash")return{dataURL:(await J(j)).dataUrl,width:32,height:32,aspectRatio:1,originalWidth:0,originalHeight:0,strategy:"thumbhash"};let B=await z(j,{width:f.width,height:f.height,quality:f.quality,blurLevel:f.blurLevel,strategy:M,base64Encode:!0});return{dataURL:B.dataURL,width:B.width,height:B.height,aspectRatio:B.aspectRatio,originalWidth:B.originalWidth,originalHeight:B.originalHeight,strategy:f.strategy,dominantColor:B.dominantColor,css:B.css}}function $(j,f){let x=f.width||20,z=f.height||x,J="#e5e7eb",V=`<svg xmlns="http://www.w3.org/2000/svg" width="${x}" height="${z}" viewBox="0 0 ${x} ${z}"><rect fill="#e5e7eb" width="${x}" height="${z}"/></svg>`;return{dataURL:`data:image/svg+xml;charset=utf-8,${encodeURIComponent(V)}`,width:x,height:z,aspectRatio:x/z,originalWidth:0,originalHeight:0,strategy:f.strategy,dominantColor:"#e5e7eb"}}async function O(j){let f=await X();if(f)try{return(await f.generateThumbHash(j)).dataUrl}catch{}return(await $(j,{strategy:"thumbhash",width:32,height:32})).dataURL}function b(j){let f=j[0]|j[1]<<8|j[2]<<16,x=(f&63)/63,z=(f>>6&63)/31.5-1,J=(f>>12&63)/31.5-1,V=(f>>18&31)/31,M=f>>23!==0,B=j[3]|j[4]<<8,N=(B>>3&63)/63,H=(B>>9&63)/63,Y=B>>15!==0,S=Math.max(3,Y?M?5:7:M?5:7),v=Math.max(3,Y?M?5:7:M?5:7),E=32,F=32,R=Math.max(0,Math.min(255,Math.round((x+z)*255))),U=Math.max(0,Math.min(255,Math.round(x*255))),W=Math.max(0,Math.min(255,Math.round((x-z)*255))),k=`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32">
|
|
32
|
-
<rect fill="rgb(${R},${U},${W})" width="32" height="32"/>
|
|
33
|
-
</svg>`;return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(k)}`}async function L(j,f=20,x=50){return Z(j,{strategy:"blur",width:f,quality:x,blurLevel:40})}async function y(j){let f=await X();if(f)try{return(await f.generatePlaceholder(j,{strategy:"dominant-color"})).dominantColor||"#e5e7eb"}catch{}return"#e5e7eb"}function A(j,f=1,x=1){let z=`<svg xmlns="http://www.w3.org/2000/svg" width="${f}" height="${x}"><rect fill="${j}" width="${f}" height="${x}"/></svg>`;return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(z)}`}function P(j,f,x={}){let z=x.transitionDuration||300,J=x.easing||"ease-out";return`
|
|
34
|
-
#${j} {
|
|
35
|
-
--stx-img-transition-duration: ${z}ms;
|
|
36
|
-
--stx-img-transition-easing: ${J};
|
|
37
|
-
background-image: url('${f.dataURL}');
|
|
38
|
-
background-size: cover;
|
|
39
|
-
background-position: center;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
#${j} img {
|
|
43
|
-
opacity: 0;
|
|
44
|
-
transition: opacity var(--stx-img-transition-duration) var(--stx-img-transition-easing);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
#${j}.stx-img-loaded img {
|
|
48
|
-
opacity: 1;
|
|
49
|
-
}
|
|
50
|
-
`.trim()}function T(j){return`background-image: url('${j.dataURL}'); background-size: cover; background-position: center;`}var Q=new Map;async function _(j,f={}){let x=`${j}:${JSON.stringify(f)}`;if(Q.has(x))return Q.get(x);let z=await Z(j,f);return Q.set(x,z),z}function C(){Q.clear()}function u(){return{size:Q.size,keys:Array.from(Q.keys())}}
|
|
51
|
-
export{D as Vu,K as Wu,Z as Xu,O as Yu,b as Zu,L as _u,y as $u,A as av,P as bv,T as cv,_ as dv,C as ev,u as fv};
|
package/dist/chunk-a3hyn4we.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
async function N(w,b,z,x={}){let q=b.story?.variants.find((B)=>B.id===z);if(!q)return"<!-- Variant not found -->";let j=q.source||"";if(j=E(j),j=F(j,q.state||{}),x.format)j=J(j);if(x.minify)j=K(j);return j}function E(w){let b=w;return b=b.replace(/@if\s*\([^)]+\)/g,"<!-- @if -->"),b=b.replace(/@endif/g,"<!-- @endif -->"),b=b.replace(/@foreach\s*\([^)]+\)/g,"<!-- @foreach -->"),b=b.replace(/@endforeach/g,"<!-- @endforeach -->"),b=b.replace(/@unless\s*\([^)]+\)/g,"<!-- @unless -->"),b=b.replace(/@endunless/g,"<!-- @endunless -->"),b=b.replace(/@component\s*\([^)]+\)/g,"<!-- @component -->"),b=b.replace(/@endcomponent/g,"<!-- @endcomponent -->"),b}function F(w,b){return w.replace(/\{\{\s*(\w+)\s*\}\}/g,(z,x)=>{if(x in b){let q=b[x];if(typeof q==="string")return C(q);if(typeof q==="number"||typeof q==="boolean")return String(q);return JSON.stringify(q)}return`{{ ${x} }}`})}function J(w){let b="",z=0,x=w.split(/>\s*</).map((q,j,B)=>{let A=q;if(j>0)A=`<${A}`;if(j<B.length-1)A=`${A}>`;return A});for(let q of x){let j=q.trim();if(!j)continue;if(j.startsWith("</")||j.startsWith("-->"))z=Math.max(0,z-1);if(b+=`${" ".repeat(z)}${j}
|
|
3
|
-
`,j.startsWith("<")&&!j.startsWith("</")&&!j.startsWith("<!")&&!j.endsWith("/>")&&!j.includes("</"))z++}return b.trim()}function K(w){return w.replace(/\s+/g," ").replace(/>\s+</g,"><").replace(/\s+>/g,">").replace(/<\s+/g,"<").trim()}function C(w){return w.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function O(w){return`
|
|
4
|
-
<div class="stx-compiled-output">
|
|
5
|
-
<div class="stx-compiled-header">
|
|
6
|
-
<span>Compiled HTML</span>
|
|
7
|
-
<div class="stx-compiled-actions">
|
|
8
|
-
<button onclick="window.__stxStory.copyCompiledOutput()" title="Copy">\uD83D\uDCCB</button>
|
|
9
|
-
<button onclick="window.__stxStory.toggleMinify()" title="Toggle minify">\uD83D\uDDDC\uFE0F</button>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
<pre class="stx-compiled-code"><code>${C(w)}</code></pre>
|
|
13
|
-
</div>
|
|
14
|
-
`}function P(){return`
|
|
15
|
-
.stx-compiled-output {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
height: 100%;
|
|
19
|
-
}
|
|
20
|
-
.stx-compiled-header {
|
|
21
|
-
display: flex;
|
|
22
|
-
justify-content: space-between;
|
|
23
|
-
align-items: center;
|
|
24
|
-
padding: 8px 12px;
|
|
25
|
-
background: var(--bg-secondary);
|
|
26
|
-
border-bottom: 1px solid var(--border);
|
|
27
|
-
font-size: 12px;
|
|
28
|
-
font-weight: 500;
|
|
29
|
-
}
|
|
30
|
-
.stx-compiled-actions {
|
|
31
|
-
display: flex;
|
|
32
|
-
gap: 4px;
|
|
33
|
-
}
|
|
34
|
-
.stx-compiled-actions button {
|
|
35
|
-
padding: 4px 8px;
|
|
36
|
-
border: 1px solid var(--border);
|
|
37
|
-
border-radius: 4px;
|
|
38
|
-
background: var(--bg);
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
}
|
|
41
|
-
.stx-compiled-actions button:hover {
|
|
42
|
-
background: var(--bg-secondary);
|
|
43
|
-
}
|
|
44
|
-
.stx-compiled-code {
|
|
45
|
-
flex: 1;
|
|
46
|
-
margin: 0;
|
|
47
|
-
padding: 12px;
|
|
48
|
-
overflow: auto;
|
|
49
|
-
font-family: var(--code-font-family);
|
|
50
|
-
font-size: 12px;
|
|
51
|
-
line-height: 1.5;
|
|
52
|
-
background: var(--bg);
|
|
53
|
-
white-space: pre-wrap;
|
|
54
|
-
word-break: break-word;
|
|
55
|
-
}
|
|
56
|
-
.stx-compiled-code code {
|
|
57
|
-
font-family: inherit;
|
|
58
|
-
}
|
|
59
|
-
`}function Q(){return`
|
|
60
|
-
window.__stxStory = window.__stxStory || {};
|
|
61
|
-
|
|
62
|
-
window.__stxStory.showCompiledOutput = false;
|
|
63
|
-
|
|
64
|
-
window.__stxStory.toggleCompiledOutput = function() {
|
|
65
|
-
this.showCompiledOutput = !this.showCompiledOutput;
|
|
66
|
-
const panel = document.querySelector('.stx-compiled-output');
|
|
67
|
-
if (panel) {
|
|
68
|
-
panel.style.display = this.showCompiledOutput ? 'flex' : 'none';
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
window.__stxStory.copyCompiledOutput = function() {
|
|
73
|
-
const code = document.querySelector('.stx-compiled-code code');
|
|
74
|
-
if (code) {
|
|
75
|
-
navigator.clipboard.writeText(code.textContent || '');
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
`}
|
|
79
|
-
export{N as Ua,O as Va,P as Wa,Q as Xa};
|
package/dist/chunk-a69tvya5.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{rB as I}from"./chunk-3jm3snz8.js";import{createHash as v}from"crypto";import{existsSync as X,mkdirSync as H,readFileSync as $,writeFileSync as T,readdirSync as B,statSync as F}from"fs";import{basename as Y,dirname as W,extname as Z,join as V,relative as N}from"path";import{gzipSync as k}from"zlib";var D={outDir:"dist",publicPath:"/",sourcemaps:!0,minify:{js:!0,css:!0,html:!0,dropConsole:!0,dropDebugger:!0,mangle:!0},splitting:{vendor:!0,minSize:20000,maxSize:250000,chunkNames:"deterministic"},css:{extract:!0,minify:!0,filename:"assets/[name].[hash].css"},assets:{inlineLimit:4096,filename:"assets/[name].[hash][ext]",hash:!0,hashLength:8,include:["png","jpg","jpeg","gif","svg","webp","woff","woff2","ttf","eot"]},compression:{gzip:!0,brotli:!0,threshold:1024,deleteOriginal:!1}};class w{config;startTime=0;outputs=[];chunks=[];assets=[];warnings=[];errors=[];moduleGraph=new Map;assetHashes=new Map;constructor(E){this.config={...D,...E}}async build(){this.startTime=Date.now(),this.outputs=[],this.chunks=[],this.assets=[],this.warnings=[],this.errors=[];try{this.ensureDir(this.config.outDir),await this.runPluginHook("setup"),await this.runPluginHook("buildStart");let E=this.collectEntries();for(let[A,G]of E)await this.buildEntry(A,G);if(this.config.css?.extract)await this.extractCss();if(await this.processAssets(),this.config.splitting)await this.performCodeSplitting();if(this.config.minify)await this.minifyOutputs();if(this.config.sourcemaps)await this.generateSourceMaps();if(await this.fingerprintAssets(),this.config.compression)await this.compressOutputs();if(this.config.analyze)await this.analyzeBundle();let q=this.getResult();return await this.runPluginHook("buildEnd",q),q}catch(E){return this.errors.push(String(E)),this.getResult()}}collectEntries(){let E=new Map,{entry:q}=this.config;if(typeof q==="string")E.set("main",q);else if(Array.isArray(q))q.forEach((A,G)=>{let J=Y(A,Z(A));E.set(J,A)});else if(typeof q==="object")Object.entries(q).forEach(([A,G])=>{E.set(A,G)});return E}async buildEntry(E,q){if(!await Bun.file(q).exists()){this.errors.push(`Entry point not found: ${q}`);return}let A=await Bun.file(q).text(),G=Z(q),J=A,L="js";if(G===".stx"||G===".html")L="html",J=await this.processTemplate(A,q);else if(G===".css")L="css",J=await this.processCss(A,q);else if(G===".js"||G===".ts")L="js",J=await this.processScript(A,q);J=await this.runPluginTransform(J,q);let K=this.generateHash(J),Q=this.getOutputName(E,L,K),R=V(this.config.outDir,Q);this.ensureDir(W(R)),await Bun.write(R,J),this.outputs.push({path:R,type:L,size:Buffer.byteLength(J),hash:K,sources:[q],isEntry:!0})}resolveRelativePath(E,q){if(q.startsWith("/"))return V(W(E),"..",q);return V(W(E),q)}async processTemplate(E,q){let A=E,G=[],J=[];if(A=A.replace(/<script\b([^>]*)\bstx-inline\b([^>]*)(?:><\/script>|><\/script>|\/>)/gi,(L,K,Q)=>{let R=(K+Q).match(/src=["']([^"']+)["']/);if(R){let U=this.resolveRelativePath(q,R[1]);if(X(U)){let _=$(U,"utf-8");G.push(`// Source: ${R[1]}
|
|
3
|
-
${_}`)}else this.warnings.push(`External script not found: ${U}`)}return""}),A=A.replace(/<link\b([^>]*)\bstx-inline\b([^>]*)(?:\/>|>)/gi,(L,K,Q)=>{let R=(K+Q).match(/href=["']([^"']+)["']/);if(R){let U=this.resolveRelativePath(q,R[1]);if(X(U)){let _=$(U,"utf-8");J.push(`/* Source: ${R[1]} */
|
|
4
|
-
${_}`)}else this.warnings.push(`External stylesheet not found: ${U}`)}return""}),A=A.replace(/<script\b(?![^>]*\bstx-inline\b)([^>]*)>([\s\S]*?)<\/script>/gi,(L,K,Q)=>{if(/\bsrc=/.test(K))return L;if(Q.trim())G.push(Q);return""}),A=A.replace(/<style\b[^>]*>([\s\S]*?)<\/style>/gi,(L,K)=>{if(K.trim())J.push(K);return""}),G.length>0){let L=G.join(`
|
|
5
|
-
|
|
6
|
-
`),K=this.generateHash(L).slice(0,8),Q=`assets/app.${K}.js`,R=V(this.config.outDir,Q);this.ensureDir(W(R)),await Bun.write(R,L),this.outputs.push({path:R,type:"js",size:Buffer.byteLength(L),hash:K,sources:[q]});let U=A.lastIndexOf("</body>");if(U!==-1)A=A.slice(0,U)+`<script src="${this.config.publicPath}${Q}"></script>
|
|
7
|
-
`+A.slice(U)}if(J.length>0){let L=J.join(`
|
|
8
|
-
|
|
9
|
-
`),K=this.generateHash(L).slice(0,8),Q=`assets/app.${K}.css`,R=V(this.config.outDir,Q);this.ensureDir(W(R)),await Bun.write(R,L),this.outputs.push({path:R,type:"css",size:Buffer.byteLength(L),hash:K,sources:[q]}),A=A.replace("</head>",`<link rel="stylesheet" href="${this.config.publicPath}${Q}">
|
|
10
|
-
</head>`)}return A}async processCss(E,q){let A=E;if(typeof this.config.minify==="object"&&this.config.minify.css)A=this.minifyCss(A);return A}async processScript(E,q){let A=E;if(this.config.define)for(let[G,J]of Object.entries(this.config.define))A=A.replace(new RegExp(G.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),J);return A}async extractCss(){let E=[];for(let L of this.outputs)if(L.type==="css"){let K=await Bun.file(L.path).text();E.push(K)}if(E.length===0)return;let q=E.join(`
|
|
11
|
-
`),A=this.generateHash(q).slice(0,8),G=(this.config.css?.filename||"assets/[name].[hash].css").replace("[name]","styles").replace("[hash]",A),J=V(this.config.outDir,G);this.ensureDir(W(J)),await Bun.write(J,q),this.outputs.push({path:J,type:"css",size:Buffer.byteLength(q),hash:A})}async processAssets(){let E=V(W(this.config.outDir),"public");if(!X(E))return;let q=this.config.assets||{},A=q.include||[];this.walkDir(E,(G)=>{let J=Z(G).slice(1).toLowerCase();if(!A.includes(J))return;let L=$(G),K=L.length;if(q.inlineLimit&&K<q.inlineLimit)return;let Q=q.hash?this.generateHash(L).slice(0,q.hashLength||8):"",R=(q.filename||"assets/[name].[hash][ext]").replace("[name]",Y(G,Z(G))).replace("[hash]",Q).replace("[ext]",Z(G)),U=V(this.config.outDir,R);this.ensureDir(W(U)),T(U,L),this.assetHashes.set(G,R),this.assets.push({name:Y(G),file:R,size:K,source:G}),this.outputs.push({path:U,type:"asset",size:K,hash:Q,sources:[G]})})}async performCodeSplitting(){if((typeof this.config.splitting==="object"?this.config.splitting:{}).vendor){let q=[];this.chunks.push({name:"vendor",file:"assets/vendor.js",size:0,modules:q,isVendor:!0,imports:[],dynamicImports:[]})}}async minifyOutputs(){let E=typeof this.config.minify==="object"?this.config.minify:{};for(let q of this.outputs){let A=await Bun.file(q.path).text(),G=A;if(q.type==="js"&&E.js)G=this.minifyJs(A);else if(q.type==="css"&&E.css)G=this.minifyCss(A);else if(q.type==="html"&&E.html)G=this.minifyHtml(A);if(G!==A)await Bun.write(q.path,G),q.size=Buffer.byteLength(G)}}minifyJs(E){let q=typeof this.config.minify==="object"?this.config.minify:{},A=E;if(A=A.replace(/\/\*[\s\S]*?\*\//g,""),A=A.replace(/\/\/.*$/gm,""),q.dropConsole)A=A.replace(/console\.(log|debug|info|warn)\([^)]*\);?/g,"");if(q.dropDebugger)A=A.replace(/debugger;?/g,"");return A=A.replace(/\s+/g," "),A=A.replace(/\s*([{};,:])\s*/g,"$1"),A=A.replace(/;\}/g,"}"),A.trim()}minifyCss(E){let q=E;return q=q.replace(/\/\*[\s\S]*?\*\//g,""),q=q.replace(/\s+/g," "),q=q.replace(/\s*([{};:,>+~])\s*/g,"$1"),q=q.replace(/;}/g,"}"),q=q.replace(/[^{}]+\{\s*\}/g,""),q.trim()}minifyHtml(E){let q=E;return q=q.replace(/<!--(?!\[if)[\s\S]*?-->/g,""),q=q.replace(/>\s+</g,"><"),q=q.replace(/\s+>/g,">"),q=q.replace(/<\s+/g,"<"),q=q.replace(/\s{2,}/g," "),q.trim()}async generateSourceMaps(){if(!this.config.sourcemaps)return;for(let E of this.outputs)if(E.type==="js"||E.type==="css"){let q=await Bun.file(E.path).text(),A=[];for(let Q of E.sources||[])if(await Bun.file(Q).exists())A.push(await Bun.file(Q).text());else A.push(null);let G={version:3,file:Y(E.path),sources:E.sources||[],sourcesContent:A,mappings:"",names:[]},J=`${E.path}.map`;await Bun.write(J,JSON.stringify(G));let L=new Uint8Array([10,47,47,35,32,115,111,117,114,99,101,77,97,112,112,105,110,103,85,82,76,61]),K=this.config.sourcemaps==="inline"?`data:application/json;base64,${Buffer.from(JSON.stringify(G)).toString("base64")}`:Y(J);if(this.config.sourcemaps!=="hidden")await Bun.write(E.path,Buffer.concat([Buffer.from(q),Buffer.from(L),Buffer.from(K)]));this.outputs.push({path:J,type:"map",size:F(J).size})}}async fingerprintAssets(){for(let E of this.outputs)if(E.type==="html"){let q=await Bun.file(E.path).text();for(let[A,G]of this.assetHashes){let J=N(W(E.path),A);q=q.replace(new RegExp(J.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),`${this.config.publicPath}${G}`)}await Bun.write(E.path,q)}}async compressOutputs(){let E=this.config.compression||{},q=E.threshold||1024;for(let A of this.outputs){if(A.type==="map")continue;if(A.size<q)continue;let G=Buffer.from(await Bun.file(A.path).arrayBuffer());if(E.gzip){let J=k(G,{level:9}),L=`${A.path}.gz`;await Bun.write(L,J),A.gzipSize=J.length}if(E.brotli)try{let{brotliCompressSync:J}=await import("zlib"),L=J(G);await Bun.write(`${A.path}.br`,L)}catch{}}}async analyzeBundle(){let E=typeof this.config.analyze==="object"?this.config.analyze:{},q=E.format||"text",A={outputs:this.outputs.map((K)=>({path:N(this.config.outDir,K.path),type:K.type,size:K.size,gzipSize:K.gzipSize,sizeFormatted:this.formatSize(K.size),gzipSizeFormatted:K.gzipSize?this.formatSize(K.gzipSize):void 0})),chunks:this.chunks,assets:this.assets,totalSize:this.outputs.reduce((K,Q)=>K+Q.size,0),totalGzipSize:this.outputs.reduce((K,Q)=>K+(Q.gzipSize||0),0)},G;if(q==="json")G=JSON.stringify(A,null,2);else if(q==="html")G=this.generateAnalysisHtml(A);else G=this.generateAnalysisText(A);let J=E.filename||`bundle-analysis.${q==="html"?"html":q==="json"?"json":"txt"}`,L=V(this.config.outDir,J);await Bun.write(L,G),console.log(`
|
|
12
|
-
\uD83D\uDCCA Bundle Analysis`),console.log("\u2500".repeat(50));for(let K of A.outputs){let Q=K.gzipSizeFormatted?` (gzip: ${K.gzipSizeFormatted})`:"";console.log(` ${K.path}: ${K.sizeFormatted}${Q}`)}console.log("\u2500".repeat(50)),console.log(` Total: ${this.formatSize(A.totalSize)} (gzip: ${this.formatSize(A.totalGzipSize)})`),console.log("")}generateAnalysisHtml(E){return`<!DOCTYPE html>
|
|
13
|
-
<html>
|
|
14
|
-
<head>
|
|
15
|
-
<title>Bundle Analysis</title>
|
|
16
|
-
<style>
|
|
17
|
-
body { font-family: system-ui, sans-serif; max-width: 1200px; margin: 0 auto; padding: 20px; }
|
|
18
|
-
h1 { color: #333; }
|
|
19
|
-
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
|
|
20
|
-
th, td { padding: 12px; text-align: left; border-bottom: 1px solid #ddd; }
|
|
21
|
-
th { background: #f5f5f5; }
|
|
22
|
-
.size { font-family: monospace; text-align: right; }
|
|
23
|
-
.bar { height: 20px; background: #4CAF50; border-radius: 4px; }
|
|
24
|
-
.summary { background: #e3f2fd; padding: 20px; border-radius: 8px; margin: 20px 0; }
|
|
25
|
-
</style>
|
|
26
|
-
</head>
|
|
27
|
-
<body>
|
|
28
|
-
<h1>\uD83D\uDCCA Bundle Analysis</h1>
|
|
29
|
-
<div class="summary">
|
|
30
|
-
<strong>Total Size:</strong> ${this.formatSize(E.totalSize)}<br>
|
|
31
|
-
<strong>Gzipped:</strong> ${this.formatSize(E.totalGzipSize)}<br>
|
|
32
|
-
<strong>Files:</strong> ${E.outputs.length}
|
|
33
|
-
</div>
|
|
34
|
-
<table>
|
|
35
|
-
<thead>
|
|
36
|
-
<tr><th>File</th><th>Type</th><th class="size">Size</th><th class="size">Gzip</th><th>%</th></tr>
|
|
37
|
-
</thead>
|
|
38
|
-
<tbody>
|
|
39
|
-
${E.outputs.map((q)=>`
|
|
40
|
-
<tr>
|
|
41
|
-
<td>${q.path}</td>
|
|
42
|
-
<td>${q.type}</td>
|
|
43
|
-
<td class="size">${q.sizeFormatted}</td>
|
|
44
|
-
<td class="size">${q.gzipSizeFormatted||"-"}</td>
|
|
45
|
-
<td><div class="bar" style="width: ${Math.round(q.size/E.totalSize*100)}%"></div></td>
|
|
46
|
-
</tr>
|
|
47
|
-
`).join("")}
|
|
48
|
-
</tbody>
|
|
49
|
-
</table>
|
|
50
|
-
</body>
|
|
51
|
-
</html>`}generateAnalysisText(E){let q=["Bundle Analysis","=".repeat(50),""];for(let A of E.outputs)q.push(`${A.path}`),q.push(` Size: ${A.sizeFormatted}${A.gzipSizeFormatted?` (gzip: ${A.gzipSizeFormatted})`:""}`),q.push("");return q.push("=".repeat(50)),q.push(`Total: ${this.formatSize(E.totalSize)} (gzip: ${this.formatSize(E.totalGzipSize)})`),q.join(`
|
|
52
|
-
`)}async runPluginHook(E,q){if(!this.config.plugins)return;for(let A of this.config.plugins){let G=A[E];if(typeof G==="function")await G.call(A,q||this)}}async runPluginTransform(E,q){if(!this.config.plugins)return E;let A=E;for(let G of this.config.plugins)if(G.transform){let J=await G.transform(A,q);if(J!=null)A=J}return A}generateHash(E){return v("sha256").update(E).digest("hex")}getOutputName(E,q,A){let G=q==="html"?".html":q==="css"?".css":q==="js"?".js":"";return`${E}.${A.slice(0,8)}${G}`}formatSize(E){if(E<1024)return`${E} B`;if(E<1048576)return`${(E/1024).toFixed(2)} KB`;return`${(E/1048576).toFixed(2)} MB`}ensureDir(E){if(!X(E))H(E,{recursive:!0})}walkDir(E,q){if(!X(E))return;let A=B(E,{withFileTypes:!0});for(let G of A){let J=V(E,G.name);if(G.isDirectory())this.walkDir(J,q);else q(J)}}getResult(){let E=Date.now()-this.startTime,q=this.outputs.reduce((G,J)=>G+J.size,0),A=this.outputs.reduce((G,J)=>G+(J.gzipSize||0),0);return{outputs:this.outputs,duration:E,totalSize:q,gzipSize:A,chunks:this.chunks,assets:this.assets,warnings:this.warnings,errors:this.errors}}}async function C(E){return new w(E).build()}function S(E){return new w(E)}function g(E){return{...D,...E}}
|
|
53
|
-
export{w as xi,C as yi,S as zi,g as Ai};
|