@stacksjs/stx 0.2.93 → 0.2.94
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 +1 -1
- package/dist/analytics.js +1 -1
- package/dist/analyzer.js +1 -1
- package/dist/animation.js +1 -1
- package/dist/app-shell.js +1 -1
- package/dist/app.js +1 -1
- package/dist/assets.js +1 -1
- package/dist/ast.js +1 -1
- package/dist/async-components.js +1 -1
- package/dist/auth.js +1 -1
- package/dist/broadcasting.js +1 -1
- package/dist/browser-composables.js +1 -1
- package/dist/build-assets.js +1 -1
- package/dist/build-mode-detector.js +1 -1
- package/dist/build-optimizer.js +1 -1
- package/dist/build-views.js +1 -1
- package/dist/build.js +1 -1
- package/dist/builtins/drawer.js +1 -1
- package/dist/builtins/escape.js +1 -1
- package/dist/builtins/icon.js +1 -1
- package/dist/builtins/index.js +1 -1
- package/dist/builtins/modal.js +1 -1
- package/dist/builtins/safe-image.js +1 -1
- package/dist/builtins/stx-image.js +1 -1
- package/dist/builtins/stx-link.js +1 -1
- package/dist/builtins/stx-loading-indicator.js +1 -1
- package/dist/builtins/suspense.js +1 -1
- package/dist/builtins/toast.js +1 -1
- package/dist/builtins/tooltip.js +1 -1
- package/dist/builtins/transition-group.js +1 -1
- package/dist/bundle-analyzer/collector.js +1 -1
- package/dist/bundle-analyzer/index.js +1 -1
- package/dist/bundle-analyzer/report.js +1 -1
- package/dist/bundle-analyzer/treemap.js +1 -1
- package/dist/caching.js +1 -1
- package/dist/{chunk-7074g241.js → chunk-03c26pjz.js} +1 -1
- package/dist/{chunk-n9dhs1dw.js → chunk-04mvcmcr.js} +1 -1
- package/dist/{chunk-hc2mf5h6.js → chunk-05hgyyqc.js} +1 -1
- package/dist/{chunk-kx6eb6ma.js → chunk-0g4gece6.js} +1 -1
- package/dist/{chunk-1v49fwr5.js → chunk-0jkwrcwj.js} +1 -1
- package/dist/{chunk-47kpewks.js → chunk-0m9tdm7t.js} +1 -1
- package/dist/{chunk-4deg33rw.js → chunk-0tatqxj2.js} +2 -2
- package/dist/{chunk-akf1r75r.js → chunk-0wdar532.js} +1 -1
- package/dist/{chunk-9cf97f9p.js → chunk-13yz561y.js} +2 -2
- package/dist/{chunk-rpx5fa65.js → chunk-174z0cd0.js} +2 -2
- package/dist/{chunk-wkz2vwkr.js → chunk-1mmykse5.js} +1 -1
- package/dist/{chunk-3te20hqw.js → chunk-1z2yq9em.js} +2 -2
- package/dist/{chunk-rw26rpek.js → chunk-25s7bckb.js} +2 -2
- package/dist/{chunk-xgkv66q5.js → chunk-268adc7r.js} +1 -1
- package/dist/{chunk-a87qqft6.js → chunk-26r6zh3t.js} +2 -2
- package/dist/{chunk-t0c9wvpr.js → chunk-2w3302dh.js} +1 -1
- package/dist/{chunk-vjbefncc.js → chunk-2xen423s.js} +1 -1
- package/dist/{chunk-jjdq01dv.js → chunk-3bjtemm6.js} +1 -1
- package/dist/{chunk-xv34zbp4.js → chunk-3jm3snz8.js} +1 -1
- package/dist/{chunk-e98v1bc6.js → chunk-3ngm57nt.js} +2 -2
- package/dist/{chunk-gz5fmp3q.js → chunk-3rh7va1z.js} +1 -1
- package/dist/{chunk-kypas8vy.js → chunk-3yg9hbmb.js} +1 -1
- package/dist/{chunk-qygvvygy.js → chunk-46mkpbkk.js} +2 -2
- package/dist/chunk-48cw2nde.js +2 -0
- package/dist/chunk-48r3qe0k.js +3 -0
- package/dist/{chunk-azkegjd8.js → chunk-4bt81cg3.js} +1 -1
- package/dist/{chunk-07y6m5xx.js → chunk-4j188175.js} +1 -1
- package/dist/{chunk-h7aq56qj.js → chunk-4qq8ffke.js} +1 -1
- package/dist/{chunk-hrnnh4tq.js → chunk-50vqeesm.js} +2 -2
- package/dist/{chunk-7n8g0nfn.js → chunk-52agge4n.js} +1 -1
- package/dist/{chunk-9t14se2t.js → chunk-57p201gb.js} +1 -1
- package/dist/{chunk-jpndqst5.js → chunk-5ggw1dyv.js} +1 -1
- package/dist/{chunk-ah88wzbg.js → chunk-5kt3ay7x.js} +1 -1
- package/dist/{chunk-x24s4heg.js → chunk-5p568px4.js} +1 -1
- package/dist/{chunk-q6zhd9yf.js → chunk-5ppkfyn2.js} +1 -1
- package/dist/{chunk-khdn7jwe.js → chunk-5q87fgkk.js} +2 -2
- package/dist/{chunk-0p1h3p3w.js → chunk-5qb761h2.js} +1 -1
- package/dist/{chunk-rtr974rc.js → chunk-5xvbq2gs.js} +2 -2
- package/dist/{chunk-p3e0cqtt.js → chunk-647849kf.js} +2 -2
- package/dist/{chunk-gkzq8zw4.js → chunk-6cr3eeh4.js} +1 -1
- package/dist/{chunk-mhgk632d.js → chunk-6djgb0hr.js} +1 -1
- package/dist/{chunk-tffh3b1e.js → chunk-6dqzky7x.js} +1 -1
- package/dist/{chunk-drjq2zwg.js → chunk-6w03t7h6.js} +2 -2
- package/dist/{chunk-ek2w6zvy.js → chunk-6wn85hn6.js} +1 -1
- package/dist/{chunk-jz73j3qs.js → chunk-6y4gqs1q.js} +1 -1
- package/dist/{chunk-nd9rmddh.js → chunk-75rndzbd.js} +1 -1
- package/dist/{chunk-7dkz6z2s.js → chunk-77tga15w.js} +2 -2
- package/dist/{chunk-wvf31nzs.js → chunk-7a51hkpf.js} +1 -1
- package/dist/{chunk-a2g2qb2y.js → chunk-7b0xdy5h.js} +1 -1
- package/dist/{chunk-ewa88139.js → chunk-7dy588as.js} +1 -1
- package/dist/{chunk-8ahwt6a4.js → chunk-7rvh2wwv.js} +1 -1
- package/dist/{chunk-jt0ezawy.js → chunk-7sm05m0j.js} +1 -1
- package/dist/{chunk-m167kjhv.js → chunk-7xcfy2fn.js} +1 -1
- package/dist/{chunk-keawsbpn.js → chunk-82t27pvd.js} +1 -1
- package/dist/{chunk-psc3wfcf.js → chunk-87kx8byz.js} +1 -1
- package/dist/{chunk-31dr4bys.js → chunk-8fgwhhb8.js} +2 -2
- package/dist/{chunk-rz2ec6g7.js → chunk-8qbax8xn.js} +1 -1
- package/dist/{chunk-e2q9c5vq.js → chunk-91s2hres.js} +1 -1
- package/dist/{chunk-yb1t2h8h.js → chunk-94g3cahw.js} +2 -2
- package/dist/{chunk-n98x35xd.js → chunk-957amb71.js} +1 -1
- package/dist/{chunk-v8j49spx.js → chunk-95w08s8v.js} +1 -1
- package/dist/{chunk-zy3rp1ab.js → chunk-9agvhp1x.js} +1 -1
- package/dist/{chunk-vgv7jvyz.js → chunk-9tmbrwwx.js} +1 -1
- package/dist/{chunk-3a4qsygv.js → chunk-9yz5d003.js} +2 -2
- package/dist/{chunk-4qcy5tx6.js → chunk-a69tvya5.js} +2 -2
- package/dist/{chunk-p52yzjq6.js → chunk-adjcg6wa.js} +2 -2
- package/dist/{chunk-w3b6m427.js → chunk-adqh2m9z.js} +1 -1
- package/dist/{chunk-h0hjy0kn.js → chunk-asarebzq.js} +1 -1
- package/dist/{chunk-43t7faps.js → chunk-aw3rp9ac.js} +1 -1
- package/dist/{chunk-7gd339hd.js → chunk-b0cyc09a.js} +1 -1
- package/dist/{chunk-09k66d8a.js → chunk-b3kkjcdh.js} +1 -1
- package/dist/{chunk-jnmgm2xw.js → chunk-b3prs7y0.js} +1 -1
- package/dist/{chunk-xw36p73h.js → chunk-b5zc9y0y.js} +2 -2
- package/dist/{chunk-krqn0ddk.js → chunk-baa7h4yz.js} +2 -2
- package/dist/{chunk-15nesxgt.js → chunk-bgec9r1v.js} +2 -2
- package/dist/{chunk-kdfe4t91.js → chunk-bjnjpsgn.js} +2 -2
- package/dist/{chunk-0a61y94n.js → chunk-bk8ew8ze.js} +2 -2
- package/dist/{chunk-pcntd9h4.js → chunk-bn08k7yy.js} +2 -2
- package/dist/{chunk-8va64c9n.js → chunk-bwxda6n1.js} +2 -2
- package/dist/{chunk-pa9zb7ty.js → chunk-bykjk6vj.js} +1 -1
- package/dist/{chunk-p3fpb79v.js → chunk-c53hyw5c.js} +1 -1
- package/dist/{chunk-km25cwz6.js → chunk-ca6qd1dx.js} +1 -1
- package/dist/{chunk-x3r64r0c.js → chunk-cdbwprfv.js} +2 -2
- package/dist/{chunk-tg2f1mzq.js → chunk-ceg2c2q2.js} +2 -2
- package/dist/{chunk-80g54ncj.js → chunk-cn409b69.js} +1 -1
- package/dist/{chunk-8xj7c3mf.js → chunk-cp3kwv17.js} +1 -1
- package/dist/{chunk-nm15ccsg.js → chunk-cpcc11vp.js} +2 -2
- package/dist/{chunk-y6xsqe9a.js → chunk-cr3wbrcr.js} +2 -2
- package/dist/{chunk-4d2y57k7.js → chunk-cygfdk1n.js} +2 -2
- package/dist/{chunk-xys2sxh6.js → chunk-cyp4m0vh.js} +1 -1
- package/dist/{chunk-27zsyhrd.js → chunk-cz25azze.js} +1 -1
- package/dist/{chunk-4x7kae4j.js → chunk-d77yxcds.js} +2 -2
- package/dist/{chunk-x05nxhyv.js → chunk-dyjnn5k8.js} +2 -2
- package/dist/{chunk-9jtj77jx.js → chunk-dzw95th7.js} +2 -2
- package/dist/{chunk-7b6s3g65.js → chunk-e0zytzdh.js} +1 -1
- package/dist/{chunk-b77wjyn7.js → chunk-e53h9qhd.js} +1 -1
- package/dist/{chunk-wazkqv7n.js → chunk-eds0f8f1.js} +2 -2
- package/dist/{chunk-04n64bnt.js → chunk-eh8hact1.js} +1 -1
- package/dist/{chunk-scpkdrdb.js → chunk-epj957jf.js} +1 -1
- package/dist/{chunk-trfswy66.js → chunk-eqeyaq6g.js} +1 -1
- package/dist/{chunk-x5g9w4hh.js → chunk-fbxt2mrx.js} +2 -2
- package/dist/{chunk-5shey2e4.js → chunk-fch9tk1k.js} +1 -1
- package/dist/{chunk-988dw6q3.js → chunk-fe7r1mq1.js} +2 -2
- package/dist/{chunk-8b3z0zd5.js → chunk-fhawx87n.js} +1 -1
- package/dist/{chunk-ynhngsdh.js → chunk-fk51yyrw.js} +1 -1
- package/dist/{chunk-dqn9gyhb.js → chunk-fms20x0n.js} +1 -1
- package/dist/{chunk-bk3j0n82.js → chunk-fs0qezn5.js} +1 -1
- package/dist/{chunk-2j21d3ka.js → chunk-g2hekckm.js} +1 -1
- package/dist/{chunk-55nwdnsd.js → chunk-g8b81pzc.js} +1 -1
- package/dist/{chunk-avx8aydt.js → chunk-ganag9dm.js} +2 -2
- package/dist/{chunk-hbgxbgam.js → chunk-gc84b1d2.js} +2 -2
- package/dist/{chunk-djddhmcc.js → chunk-gcf5v18y.js} +1 -1
- package/dist/{chunk-v7f8jj15.js → chunk-ghrx0hn1.js} +1 -1
- package/dist/{chunk-ckxjqqn9.js → chunk-gqpkp459.js} +2 -2
- package/dist/chunk-h45py5w5.js +2 -0
- package/dist/{chunk-aywxfqev.js → chunk-haecq01c.js} +1 -1
- package/dist/{chunk-hbehnm18.js → chunk-hepg894w.js} +2 -2
- package/dist/{chunk-29y0hk5z.js → chunk-hjdc99kb.js} +2 -2
- package/dist/{chunk-8n9nnqr6.js → chunk-hje9v2zh.js} +1 -1
- package/dist/{chunk-bdk6g1vj.js → chunk-hke99a0v.js} +2 -2
- package/dist/{chunk-qvrbjpdc.js → chunk-hpqr9e3x.js} +2 -2
- package/dist/{chunk-ht43ds42.js → chunk-hq5cem49.js} +1 -1
- package/dist/{chunk-8vtm0m84.js → chunk-hrampcrj.js} +1 -1
- package/dist/{chunk-fjk3x41y.js → chunk-ht4j68cs.js} +2 -2
- package/dist/{chunk-xyg1r5w0.js → chunk-j4s5qwd7.js} +2 -2
- package/dist/{chunk-9eq3ht5f.js → chunk-jbejwejg.js} +1 -1
- package/dist/{chunk-baf1hfwh.js → chunk-jfm69keq.js} +2 -2
- package/dist/chunk-jfrn43vh.js +2 -0
- package/dist/{chunk-zen6ax1y.js → chunk-jjvp4t5w.js} +2 -2
- package/dist/{chunk-vmxjghsm.js → chunk-jt44av4j.js} +1 -1
- package/dist/{chunk-k21df0pg.js → chunk-jt98jhpt.js} +1 -1
- package/dist/{chunk-0p0nyq50.js → chunk-k8440jxh.js} +2 -2
- package/dist/{chunk-y1k17c8b.js → chunk-kdxa9epn.js} +2 -2
- package/dist/{chunk-p1h8065h.js → chunk-kfd2hf6f.js} +2 -2
- package/dist/{chunk-x0770gt9.js → chunk-kh6rfz2v.js} +1 -1
- package/dist/{chunk-bhqgmyqw.js → chunk-kkp6rs2n.js} +1 -1
- package/dist/{chunk-jjb05d21.js → chunk-m59y310j.js} +2 -2
- package/dist/{chunk-ay9qf4zj.js → chunk-mgmyr1b9.js} +1 -1
- package/dist/{chunk-vw7vqd76.js → chunk-mqwbpamc.js} +1 -1
- package/dist/{chunk-bs3gmfxz.js → chunk-mrehzhxv.js} +1 -1
- package/dist/{chunk-1sr54zp8.js → chunk-mv03qb75.js} +1 -1
- package/dist/chunk-mwbng54r.js +2 -0
- package/dist/{chunk-rwrv9wbf.js → chunk-n46a5g1g.js} +1 -1
- package/dist/{chunk-zf2pek72.js → chunk-n944baxp.js} +1 -1
- package/dist/{chunk-6djzdes9.js → chunk-nanw7yhz.js} +1 -1
- package/dist/{chunk-g1vt329s.js → chunk-nap11ntr.js} +2 -2
- package/dist/{chunk-d0zjtdw4.js → chunk-ncnfa8ae.js} +2 -2
- package/dist/{chunk-knm8a8yx.js → chunk-pc31m5x5.js} +1 -1
- package/dist/{chunk-7ed3tean.js → chunk-q60knhjf.js} +1 -1
- package/dist/{chunk-shv88d2d.js → chunk-q6h6yvzb.js} +2 -2
- package/dist/{chunk-9wmq2272.js → chunk-qd5461tt.js} +1 -1
- package/dist/{chunk-0dx4q6yq.js → chunk-qdc3aav1.js} +1 -1
- package/dist/{chunk-d1qh1x2g.js → chunk-qfwzdffx.js} +2 -2
- package/dist/{chunk-p73meypx.js → chunk-qgxwmagw.js} +1 -1
- package/dist/{chunk-rw7937v4.js → chunk-qhdtssn1.js} +2 -2
- package/dist/{chunk-pcm1vd8w.js → chunk-qk584whs.js} +1 -1
- package/dist/{chunk-9zbk5zx5.js → chunk-qm4yppj5.js} +2 -2
- package/dist/chunk-qwyd9a1d.js +2 -0
- package/dist/{chunk-xs03kc1h.js → chunk-qxs6et76.js} +1 -1
- package/dist/{chunk-8qc1bsym.js → chunk-rb1e4cnb.js} +1 -1
- package/dist/{chunk-9ecv8aqj.js → chunk-rv002yn0.js} +1 -1
- package/dist/chunk-sjagg9qz.js +66 -0
- package/dist/{chunk-bndmdahk.js → chunk-sn07azv3.js} +2 -2
- package/dist/{chunk-5f43yz6z.js → chunk-svahbw0w.js} +2 -2
- package/dist/{chunk-pznnww6k.js → chunk-svhtdb0s.js} +1 -1
- package/dist/{chunk-tzwtg722.js → chunk-t37dp99j.js} +1 -1
- package/dist/{chunk-mgj88zeq.js → chunk-tj6zfxeb.js} +2 -2
- package/dist/{chunk-rqxf5hns.js → chunk-tmgz5t2g.js} +1 -1
- package/dist/{chunk-hjm2xab3.js → chunk-tr0z0e1g.js} +1 -1
- package/dist/{chunk-2cdvw21b.js → chunk-tx6br9r4.js} +1 -1
- package/dist/{chunk-hy8820vc.js → chunk-vdfwv0fp.js} +1 -1
- package/dist/{chunk-yrsb6j3z.js → chunk-vp2395eb.js} +2 -2
- package/dist/{chunk-j447q024.js → chunk-vpe6napb.js} +2 -2
- package/dist/{chunk-wg9k6h8w.js → chunk-vv9wfz1c.js} +2 -2
- package/dist/{chunk-yj4x5ehw.js → chunk-vw6ejgmy.js} +1 -1
- package/dist/{chunk-1xz0w746.js → chunk-w01y57f5.js} +2 -2
- package/dist/{chunk-8a5bxece.js → chunk-w21mwxdd.js} +1 -1
- package/dist/{chunk-20swzkx3.js → chunk-w4n8fqp7.js} +1 -1
- package/dist/{chunk-m491r0rj.js → chunk-w959hm8j.js} +1 -1
- package/dist/{chunk-9b6cec0v.js → chunk-wk07pwtd.js} +1 -1
- package/dist/{chunk-amaa1bev.js → chunk-wxvyj65q.js} +1 -1
- package/dist/{chunk-m8448qby.js → chunk-x1hjv24z.js} +1 -1
- package/dist/{chunk-frg705zq.js → chunk-x39sfpvm.js} +1 -1
- package/dist/{chunk-j58vh0w6.js → chunk-x4fze3q2.js} +1 -1
- package/dist/{chunk-35faj94w.js → chunk-x64kb787.js} +1 -1
- package/dist/{chunk-vg5kt6az.js → chunk-xcb0pbr6.js} +1 -1
- package/dist/{chunk-p077sw22.js → chunk-xhkjhxsp.js} +1 -1
- package/dist/{chunk-zcxzdrn7.js → chunk-xhnpsngj.js} +2 -2
- package/dist/{chunk-7j5e8sdj.js → chunk-xsqbk4yk.js} +2 -2
- package/dist/{chunk-r0jcmpv6.js → chunk-xygc53vr.js} +1 -1
- package/dist/{chunk-nhv099jv.js → chunk-y25pr13j.js} +1 -1
- package/dist/{chunk-rvptcndz.js → chunk-y4c744dk.js} +2 -2
- package/dist/{chunk-wfg2gm11.js → chunk-y4md9hp0.js} +1 -1
- package/dist/{chunk-n5kg7fpx.js → chunk-y5wazw6j.js} +1 -1
- package/dist/{chunk-8dhdpa5h.js → chunk-y86m1wr4.js} +2 -2
- package/dist/{chunk-veeerpwa.js → chunk-yaan98dd.js} +1 -1
- package/dist/{chunk-bxc7kjsk.js → chunk-yach037f.js} +1 -1
- package/dist/{chunk-06w68hyg.js → chunk-yexjrg9d.js} +2 -2
- package/dist/{chunk-6eqbxcrd.js → chunk-yj560gp8.js} +1 -1
- package/dist/{chunk-ejh8fyak.js → chunk-yr1gdceh.js} +1 -1
- package/dist/{chunk-r5m9xtm7.js → chunk-yw2fzq86.js} +2 -2
- package/dist/{chunk-h5jxydqq.js → chunk-ywkrxp2h.js} +1 -1
- package/dist/{chunk-j8tn8enq.js → chunk-z37xq5rx.js} +2 -2
- package/dist/{chunk-npfmdb6y.js → chunk-z4djtgt0.js} +1 -1
- package/dist/{chunk-zk3d0jjf.js → chunk-z8cjr9n9.js} +1 -1
- package/dist/{chunk-10debkj5.js → chunk-znxp3zha.js} +1 -1
- package/dist/{chunk-k848dzsa.js → chunk-zt2yag10.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/client/directive.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client-helpers.js +1 -1
- package/dist/client-script-bundler.js +1 -1
- package/dist/client-script.js +1 -1
- package/dist/component-hmr.js +1 -1
- package/dist/component-processing.js +1 -1
- package/dist/component-registry.js +1 -1
- package/dist/component-renderer.js +1 -1
- package/dist/components.js +1 -1
- package/dist/composables/index.js +1 -1
- package/dist/composables/use-battery.js +1 -1
- package/dist/composables/use-broadcast-channel.js +1 -1
- package/dist/composables/use-channel.js +1 -1
- package/dist/composables/use-clipboard.js +1 -1
- package/dist/composables/use-color-mode.js +1 -1
- package/dist/composables/use-cookie.js +1 -1
- package/dist/composables/use-device-orientation.js +1 -1
- package/dist/composables/use-event-listener.js +1 -1
- package/dist/composables/use-event-source.js +1 -1
- package/dist/composables/use-eye-dropper.js +1 -1
- package/dist/composables/use-fetch.js +1 -1
- package/dist/composables/use-fullscreen.js +1 -1
- package/dist/composables/use-geolocation.js +1 -1
- package/dist/composables/use-idle.js +1 -1
- package/dist/composables/use-intersection-observer.js +1 -1
- package/dist/composables/use-keyboard.js +1 -1
- package/dist/composables/use-media-query.js +1 -1
- package/dist/composables/use-meta.js +1 -1
- package/dist/composables/use-mouse.js +1 -1
- package/dist/composables/use-mutation-observer.js +1 -1
- package/dist/composables/use-network.js +1 -1
- package/dist/composables/use-notification.js +1 -1
- package/dist/composables/use-permissions.js +1 -1
- package/dist/composables/use-resize-observer.js +1 -1
- package/dist/composables/use-router.js +1 -1
- package/dist/composables/use-share.js +1 -1
- package/dist/composables/use-speech.js +1 -1
- package/dist/composables/use-storage.js +1 -1
- package/dist/composables/use-text-selection.js +1 -1
- package/dist/composables/use-timer.js +1 -1
- package/dist/composables/use-utilities.js +1 -1
- package/dist/composables/use-wake-lock.js +1 -1
- package/dist/composables/use-websocket.js +1 -1
- package/dist/composables/use-window.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/composition-api.js +1 -1
- package/dist/computed.js +1 -1
- package/dist/conditionals.js +1 -1
- package/dist/config.js +1 -1
- package/dist/craft-bridge.js +1 -1
- package/dist/craft-compiler.js +1 -1
- package/dist/craft-components.js +1 -1
- package/dist/craft-entry.js +1 -1
- package/dist/craft-ssr.js +1 -1
- package/dist/csp.js +1 -1
- package/dist/csrf.js +1 -1
- package/dist/custom-directives.js +1 -1
- package/dist/defer.js +1 -1
- package/dist/deploy/config-generators.js +1 -1
- package/dist/deploy/index.js +1 -1
- package/dist/deploy/netlify.js +1 -1
- package/dist/dev-server/crosswind.js +1 -1
- package/dist/dev-server/index.js +1 -1
- package/dist/dev-server/keyboard-shortcuts.js +1 -1
- package/dist/dev-server/native-window.js +1 -1
- package/dist/dev-server/port-utils.js +1 -1
- package/dist/dev-server/serve-app.js +6 -1
- package/dist/dev-server/serve-file.js +6 -1
- package/dist/dev-server/serve-markdown.js +1 -1
- package/dist/dev-server/serve-multi.js +171 -1
- package/dist/dev-server/terminal-colors.js +1 -1
- package/dist/dev-server/theme-selector.js +1 -1
- package/dist/dev-server/types.js +1 -1
- package/dist/dev-server.js +1 -1
- package/dist/devtools.js +1 -1
- package/dist/directive-api.js +1 -1
- package/dist/docs.js +1 -1
- package/dist/doctor.js +1 -1
- package/dist/document-shell.js +1 -1
- package/dist/dynamic-components.js +1 -1
- package/dist/edge-runtime.js +1 -1
- package/dist/env.js +1 -1
- package/dist/error-boundaries.js +1 -1
- package/dist/error-handling.js +1 -1
- package/dist/errors/codes.js +1 -1
- package/dist/errors/formatter.js +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/errors/logger.js +1 -1
- package/dist/errors/sanitizer.js +1 -1
- package/dist/errors/types.js +1 -1
- package/dist/events.js +1 -1
- package/dist/expressions.js +1 -1
- package/dist/formatter.js +1 -1
- package/dist/forms-validation.js +1 -1
- package/dist/forms.js +1 -1
- package/dist/head.js +1 -1
- package/dist/heatmap.js +1 -1
- package/dist/hot-reload.js +1 -1
- package/dist/html-masking.js +1 -1
- package/dist/hydration-runtime.js +1 -1
- package/dist/hydration.js +1 -1
- package/dist/i18n.js +1 -1
- package/dist/image-optimization/auto-sibling.js +1 -1
- package/dist/image-optimization/build-plugin.js +1 -1
- package/dist/image-optimization/component.js +1 -1
- package/dist/image-optimization/directive.js +1 -1
- package/dist/image-optimization/index.js +1 -1
- package/dist/image-optimization/processor.js +1 -1
- package/dist/image-optimization/serve.js +1 -1
- package/dist/includes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/init.js +1 -1
- package/dist/inline-assets.js +1 -1
- package/dist/interactive.js +1 -1
- package/dist/internal-markdown.js +1 -1
- package/dist/island-chunking.js +1 -1
- package/dist/js-ts.js +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/dist/keep-alive.js +1 -1
- package/dist/lazy-loader.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/loops.js +1 -1
- package/dist/manifest.js +1 -1
- package/dist/markdown.js +1 -1
- package/dist/media/client/blur-up.js +1 -1
- package/dist/media/client/index.js +1 -1
- package/dist/media/client/lazy-load.js +1 -1
- package/dist/media/client/upload-handler.js +1 -1
- package/dist/media/image/component.js +1 -1
- package/dist/media/image/directive.js +1 -1
- package/dist/media/image/editing.js +1 -1
- package/dist/media/image/index.js +1 -1
- package/dist/media/image/placeholder.js +1 -1
- package/dist/media/image/processor/cache.js +1 -1
- package/dist/media/image/processor/index.js +1 -1
- package/dist/media/image/processor/optimizer.js +1 -1
- package/dist/media/image/processor/responsive.js +1 -1
- package/dist/media/image/srcset.js +1 -1
- package/dist/media/index.js +1 -1
- package/dist/media/manager/embed.js +1 -1
- package/dist/media/protected/component.js +1 -1
- package/dist/media/protected/index.js +1 -1
- package/dist/media/protected/signature.js +1 -1
- package/dist/media/shared/cache.js +1 -1
- package/dist/media/shared/hash.js +1 -1
- package/dist/media/shared/index.js +1 -1
- package/dist/media/upload/component.js +1 -1
- package/dist/media/upload/index.js +1 -1
- package/dist/media/video/directive.js +1 -1
- package/dist/media/video/index.js +1 -1
- package/dist/media/video/processor/cache.js +1 -1
- package/dist/media/video/processor/index.js +1 -1
- package/dist/media/video/processor/streaming.js +1 -1
- package/dist/media/video/processor/thumbnail.js +1 -1
- package/dist/media/video/processor/transcoder.js +1 -1
- package/dist/method-spoofing.js +1 -1
- package/dist/middleware.js +1 -1
- package/dist/misc-directives.js +1 -1
- package/dist/native-build.js +1 -1
- package/dist/parser/directive-parser.js +1 -1
- package/dist/parser/expression-parser.js +1 -1
- package/dist/parser/index.js +1 -1
- package/dist/parser/tokenizer.js +1 -1
- package/dist/partial-hydration.js +1 -1
- package/dist/performance-utils.js +1 -1
- package/dist/placeholder.js +1 -1
- package/dist/plugin-system.js +1 -1
- package/dist/plugin.js +1 -1
- package/dist/precompiler.js +1 -1
- package/dist/process.js +1 -1
- package/dist/production-build.js +1 -1
- package/dist/production-builder.js +1 -1
- package/dist/production-server.js +1 -1
- package/dist/props.js +1 -1
- package/dist/public-env.js +1 -1
- package/dist/pwa/audit.js +1 -1
- package/dist/pwa/directives.js +1 -1
- package/dist/pwa/icons.js +1 -1
- package/dist/pwa/index.js +1 -1
- package/dist/pwa/inject.js +1 -1
- package/dist/pwa/manifest.js +1 -1
- package/dist/pwa/offline.js +1 -1
- package/dist/pwa/precache.js +1 -1
- package/dist/pwa/service-worker.js +1 -1
- package/dist/pwa/workbox-strategies.js +1 -1
- package/dist/pwa/workbox.js +1 -1
- package/dist/reactive-bindings.js +1 -1
- package/dist/reactive.js +1 -1
- package/dist/reactivity.js +1 -1
- package/dist/release.js +1 -1
- package/dist/render.js +1 -1
- package/dist/route-middleware.js +1 -1
- package/dist/router.js +1 -1
- package/dist/routes.js +1 -1
- package/dist/runtime-injection.js +1 -1
- package/dist/runtime.js +1 -1
- package/dist/safe-evaluator.js +1 -1
- package/dist/scaffolding.js +1 -1
- package/dist/screenshot.js +1 -1
- package/dist/script-classifier.js +1 -1
- package/dist/script-validation.js +1 -1
- package/dist/seo.js +1 -1
- package/dist/serve.js +1 -1
- package/dist/server-bindings.js +1 -1
- package/dist/server-components.js +1 -1
- package/dist/signal-processing.js +1 -1
- package/dist/signals-api.js +1 -1
- package/dist/signals.js +1 -1
- package/dist/site-builder/build.js +1 -1
- package/dist/site-builder/i18n.js +1 -1
- package/dist/site-builder/index.js +1 -1
- package/dist/site-builder/robots.js +1 -1
- package/dist/site-builder/router.js +1 -1
- package/dist/site-builder/seo.js +1 -1
- package/dist/site-builder/sitemap.js +1 -1
- package/dist/site-builder/theme.js +1 -1
- package/dist/slots.js +1 -1
- package/dist/source-maps.js +1 -1
- package/dist/spa-shell.js +1 -1
- package/dist/ssr.js +1 -1
- package/dist/state-management.js +1 -1
- package/dist/store-imports.js +1 -1
- package/dist/store-loader.js +1 -1
- package/dist/stores-client.js +1 -1
- package/dist/story/addons.js +1 -1
- package/dist/story/analytics.js +1 -1
- package/dist/story/auto-stories.js +1 -1
- package/dist/story/bookmarks.js +1 -1
- package/dist/story/bun-test.js +1 -1
- package/dist/story/cli.js +1 -1
- package/dist/story/collect/analyzer.js +1 -1
- package/dist/story/collect/index.js +1 -1
- package/dist/story/collect/parser.js +1 -1
- package/dist/story/collect/scanner.js +1 -1
- package/dist/story/collect/tree.js +1 -1
- package/dist/story/commands/build.js +1 -1
- package/dist/story/commands/dev.js +1 -1
- package/dist/story/commands/index.js +1 -1
- package/dist/story/commands/preview.js +1 -1
- package/dist/story/compiled-output.js +1 -1
- package/dist/story/composition.js +1 -1
- package/dist/story/config-watcher.js +1 -1
- package/dist/story/config.js +1 -1
- package/dist/story/context.js +1 -1
- package/dist/story/controls/index.js +1 -1
- package/dist/story/crosswind.js +1 -1
- package/dist/story/desktop-preview.js +1 -1
- package/dist/story/docs-generator.js +1 -1
- package/dist/story/errors.js +1 -1
- package/dist/story/figma-export.js +1 -1
- package/dist/story/generator.js +1 -1
- package/dist/story/hmr.js +1 -1
- package/dist/story/hot-swap.js +1 -1
- package/dist/story/index.js +1 -1
- package/dist/story/interactions.js +1 -1
- package/dist/story/keyboard-shortcuts.js +1 -1
- package/dist/story/output.js +1 -1
- package/dist/story/performance.js +1 -1
- package/dist/story/presets.js +1 -1
- package/dist/story/props-validation.js +1 -1
- package/dist/story/renderer.js +1 -1
- package/dist/story/search-index.js +1 -1
- package/dist/story/search.js +1 -1
- package/dist/story/server.js +1 -1
- package/dist/story/setup.js +1 -1
- package/dist/story/snapshots.js +1 -1
- package/dist/story/testing.js +1 -1
- package/dist/story/theme.js +1 -1
- package/dist/story/ui/code-panel.js +1 -1
- package/dist/story/ui/controls-panel.js +1 -1
- package/dist/story/ui/index.js +1 -1
- package/dist/story/ui/navigation.js +1 -1
- package/dist/story/ui/preview.js +1 -1
- package/dist/story/visual-testing.js +1 -1
- package/dist/streaming.js +1 -1
- package/dist/strict-lint.js +1 -1
- package/dist/style-scoping.js +1 -1
- package/dist/suspense.js +1 -1
- package/dist/teleport.js +1 -1
- package/dist/template-compiler.js +1 -1
- package/dist/template-hydrator.js +1 -1
- package/dist/template-tag-balance.js +1 -1
- package/dist/testing.js +1 -1
- package/dist/transitions.js +1 -1
- package/dist/type-checker.js +1 -1
- package/dist/types/directive-types.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types.js +1 -1
- package/dist/typescript-templates.js +1 -1
- package/dist/utils.js +1 -1
- package/dist/validator.js +1 -1
- package/dist/variable-extractor.js +1 -1
- package/dist/view-composers.js +1 -1
- package/dist/virtual-scrolling.js +1 -1
- package/dist/visual-editor.js +1 -1
- package/dist/vue-template.js +1 -1
- package/dist/web-components/css-scoping.js +1 -1
- package/dist/web-components/index.js +1 -1
- package/dist/web-components/reactive-generator.js +1 -1
- package/dist/web-components.js +1 -1
- package/dist/x-element.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-2jxbwnkz.js +0 -2
- package/dist/chunk-ejayeex8.js +0 -2
- package/dist/chunk-qa59zejf.js +0 -246
- package/dist/chunk-xqq1vxb6.js +0 -1
- package/dist/chunk-yywfvfph.js +0 -2
|
@@ -1,2 +1,172 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{qf as i}from"../chunk-sjagg9qz.js";import"../chunk-48r3qe0k.js";import"../chunk-w4n8fqp7.js";import"../chunk-mgmyr1b9.js";import"../chunk-vx22he47.js";import"../chunk-jfrn43vh.js";import"../chunk-fs0qezn5.js";import"../chunk-0m9tdm7t.js";import"../chunk-wk07pwtd.js";import"../chunk-26r6zh3t.js";import"../chunk-epj957jf.js";import"../chunk-hjdc99kb.js";import"../chunk-6cr3eeh4.js";import"../chunk-xsqbk4yk.js";import"../chunk-6dqzky7x.js";import"../chunk-h45py5w5.js";import"../chunk-yexjrg9d.js";import"../chunk-y5wazw6j.js";import"../chunk-b3prs7y0.js";import"../chunk-jbejwejg.js";import"../chunk-k8440jxh.js";import"../chunk-yj560gp8.js";import"../chunk-7dy588as.js";import"../chunk-cr3wbrcr.js";import"../chunk-fk51yyrw.js";import"../chunk-5qb761h2.js";import"../chunk-c53hyw5c.js";import"../chunk-qk584whs.js";import"../chunk-e0zytzdh.js";import"../chunk-7a51hkpf.js";import"../chunk-qhdtssn1.js";import"../chunk-a69tvya5.js";import"../chunk-y86m1wr4.js";import"../chunk-bjnjpsgn.js";import"../chunk-2w3302dh.js";import"../chunk-174z0cd0.js";import"../chunk-qfwzdffx.js";import"../chunk-z8cjr9n9.js";import"../chunk-jfm69keq.js";import"../chunk-mqwbpamc.js";import"../chunk-hje9v2zh.js";import"../chunk-ktkmvaa8.js";import"../chunk-v97390pe.js";import"../chunk-asarebzq.js";import"../chunk-0b9w2w1y.js";import"../chunk-d77yxcds.js";import"../chunk-5xvbq2gs.js";import"../chunk-z37xq5rx.js";import"../chunk-bn08k7yy.js";import"../chunk-9tmbrwwx.js";import"../chunk-hjv76kcw.js";import"../chunk-qm4yppj5.js";import"../chunk-eqeyaq6g.js";import"../chunk-mv4fb50w.js";import"../chunk-tmgz5t2g.js";import"../chunk-7sqdeqsw.js";import"../chunk-sn07azv3.js";import"../chunk-5q87fgkk.js";import"../chunk-gqpkp459.js";import"../chunk-1z2yq9em.js";import"../chunk-5ggw1dyv.js";import"../chunk-cn409b69.js";import"../chunk-xhnpsngj.js";import"../chunk-0wdar532.js";import"../chunk-9agvhp1x.js";import"../chunk-znxp3zha.js";import"../chunk-bk8ew8ze.js";import"../chunk-jt44av4j.js";import"../chunk-7sm05m0j.js";import"../chunk-3bjtemm6.js";import"../chunk-y4md9hp0.js";import"../chunk-svahbw0w.js";import"../chunk-vp2395eb.js";import"../chunk-zt2yag10.js";import"../chunk-qxs6et76.js";import"../chunk-6y4gqs1q.js";import"../chunk-qgxwmagw.js";import"../chunk-n944baxp.js";import"../chunk-kfd2hf6f.js";import"../chunk-647849kf.js";import"../chunk-cygfdk1n.js";import"../chunk-kkp6rs2n.js";import"../chunk-50vqeesm.js";import"../chunk-xcb0pbr6.js";import"../chunk-b3kkjcdh.js";import"../chunk-e53h9qhd.js";import"../chunk-vpe6napb.js";import"../chunk-eh8hact1.js";import"../chunk-xhkjhxsp.js";import"../chunk-qwyd9a1d.js";import"../chunk-4aj7ftqb.js";import"../chunk-ca6qd1dx.js";import"../chunk-cdbwprfv.js";import{ko as f}from"../chunk-mv03qb75.js";import{no as T,oo as y,po as d,qo as P}from"../chunk-57p201gb.js";import{wo as m}from"../chunk-cpcc11vp.js";import"../chunk-tx6br9r4.js";import"../chunk-hepg894w.js";import"../chunk-m59y310j.js";import{vp as b}from"../chunk-x4fze3q2.js";import"../chunk-0jkwrcwj.js";import"../chunk-6w03t7h6.js";import"../chunk-w959hm8j.js";import"../chunk-haecq01c.js";import"../chunk-y4c744dk.js";import"../chunk-bgec9r1v.js";import"../chunk-5ppkfyn2.js";import"../chunk-bwxda6n1.js";import"../chunk-cyp4m0vh.js";import"../chunk-3ngm57nt.js";import"../chunk-vdfwv0fp.js";import"../chunk-ncnfa8ae.js";import"../chunk-6djgb0hr.js";import"../chunk-ganag9dm.js";import"../chunk-xygc53vr.js";import{Tr as M,Ws as R,Zr as x,qs as C}from"../chunk-w01y57f5.js";import"../chunk-x1hjv24z.js";import"../chunk-0g4gece6.js";import"../chunk-nap11ntr.js";import"../chunk-03c26pjz.js";import"../chunk-13yz561y.js";import"../chunk-nanw7yhz.js";import"../chunk-ghrx0hn1.js";import"../chunk-82t27pvd.js";import"../chunk-fhawx87n.js";import"../chunk-gc84b1d2.js";import"../chunk-yr1gdceh.js";import"../chunk-baa7h4yz.js";import"../chunk-kdxa9epn.js";import"../chunk-g2hekckm.js";import"../chunk-x39sfpvm.js";import"../chunk-tr0z0e1g.js";import"../chunk-4j188175.js";import"../chunk-eds0f8f1.js";import"../chunk-dyjnn5k8.js";import"../chunk-8fgwhhb8.js";import"../chunk-tj6zfxeb.js";import"../chunk-7xcfy2fn.js";import"../chunk-9yz5d003.js";import"../chunk-fms20x0n.js";import"../chunk-fe7r1mq1.js";import"../chunk-rb1e4cnb.js";import"../chunk-j4s5qwd7.js";import"../chunk-b0cyc09a.js";import"../chunk-0tatqxj2.js";import"../chunk-bykjk6vj.js";import"../chunk-7b0xdy5h.js";import"../chunk-ywkrxp2h.js";import"../chunk-y25pr13j.js";import{Sw as S}from"../chunk-q6h6yvzb.js";import{Tw as z}from"../chunk-qdc3aav1.js";import"../chunk-6wn85hn6.js";import"../chunk-qd5461tt.js";import"../chunk-77tga15w.js";import"../chunk-rv002yn0.js";import"../chunk-hke99a0v.js";import"../chunk-mwbng54r.js";import"../chunk-wxvyj65q.js";import"../chunk-yw2fzq86.js";import"../chunk-mrehzhxv.js";import"../chunk-1zgsgk4b.js";import"../chunk-48cw2nde.js";import"../chunk-jjvp4t5w.js";import"../chunk-94g3cahw.js";import"../chunk-ht4j68cs.js";import"../chunk-fch9tk1k.js";import"../chunk-cz25azze.js";import"../chunk-q60knhjf.js";import"../chunk-hrampcrj.js";import"../chunk-t37dp99j.js";import"../chunk-5kt3ay7x.js";import"../chunk-95w08s8v.js";import"../chunk-ceg2c2q2.js";import"../chunk-04mvcmcr.js";import"../chunk-n46a5g1g.js";import"../chunk-vv9wfz1c.js";import"../chunk-dzw95th7.js";import"../chunk-46mkpbkk.js";import"../chunk-3rh7va1z.js";import"../chunk-2xen423s.js";import"../chunk-cp3kwv17.js";import"../chunk-hpqr9e3x.js";import"../chunk-adqh2m9z.js";import"../chunk-8qbax8xn.js";import"../chunk-x64kb787.js";import"../chunk-gcf5v18y.js";import"../chunk-pc31m5x5.js";import"../chunk-3jm3snz8.js";var{serve:p}=globalThis.Bun;import O from"fs";import X from"path";function u(L){if(L.length===0)return"";if(L.length===1)return L[0];let B=L.map((N)=>N.split(X.sep)),j=[];for(let N=0;N<B[0].length;N++){let A=B[0][N];if(B.every((F)=>F[N]===A))j.push(A);else break}return j.join(X.sep)}async function Jz(L,B={}){let j=B.port||3000,N=B.watch!==!1;for(let G of L){let J=X.resolve(G);if(!O.existsSync(J))return console.error(`${z.red}Error: File not found: ${z.bright}${J}${z.reset}`),!1;if(!J.endsWith(".stx")&&!J.endsWith(".md"))return console.error(`${z.red}Error: Unsupported file type: ${z.bright}${J}${z.reset}. Only .stx and .md files are supported.`),!1}let A=X.join(process.cwd(),".stx/output");O.mkdirSync(A,{recursive:!0});let F=u(L.map((G)=>X.dirname(X.resolve(G))));console.log(`${z.blue}Processing ${z.bright}${L.length}${z.reset} files...`);let K={},v=[],g=async()=>{try{for(let G of L){let J=X.resolve(G);if(J.endsWith(".md"))try{let{content:Y,data:$}=await x(J,{markdown:{syntaxHighlighting:{serverSide:!0,enabled:!0,defaultTheme:M.markdown?.syntaxHighlighting?.defaultTheme||"github-dark",highlightUnknownLanguages:!0}}}),Q=B.markdown?.syntaxHighlighting||M.markdown?.syntaxHighlighting,U=Q?.defaultTheme||"github-dark",E=["github-dark"],V=Q?.additionalThemes||[],Z=[...new Set([...E,...V])].map((q)=>`<option value="${q}"${q===U?" selected":""}>${q}</option>`).join(`
|
|
3
|
+
`),k=`
|
|
4
|
+
<!DOCTYPE html>
|
|
5
|
+
<html lang="en">
|
|
6
|
+
<head>
|
|
7
|
+
<meta charset="UTF-8">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
9
|
+
<title>${$.title||X.basename(J)}</title>
|
|
10
|
+
<!-- Syntax highlighting styles -->
|
|
11
|
+
<style id="syntax-theme">
|
|
12
|
+
:root {
|
|
13
|
+
--shiki-color-text: #24292e;
|
|
14
|
+
--shiki-color-background: #ffffff;
|
|
15
|
+
--shiki-token-constant: #005cc5;
|
|
16
|
+
--shiki-token-string: #032f62;
|
|
17
|
+
--shiki-token-comment: #6a737d;
|
|
18
|
+
--shiki-token-keyword: #d73a49;
|
|
19
|
+
--shiki-token-parameter: #24292e;
|
|
20
|
+
--shiki-token-function: #6f42c1;
|
|
21
|
+
--shiki-token-string-expression: #032f62;
|
|
22
|
+
--shiki-token-punctuation: #24292e;
|
|
23
|
+
--shiki-token-link: #032f62;
|
|
24
|
+
}
|
|
25
|
+
pre {
|
|
26
|
+
background-color: var(--shiki-color-background);
|
|
27
|
+
padding: 1rem;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
}
|
|
30
|
+
code {
|
|
31
|
+
color: var(--shiki-color-text);
|
|
32
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
33
|
+
}
|
|
34
|
+
.dark-mode {
|
|
35
|
+
--shiki-color-text: #e1e4e8;
|
|
36
|
+
--shiki-color-background: #24292e;
|
|
37
|
+
--shiki-token-constant: #79b8ff;
|
|
38
|
+
--shiki-token-string: #9ecbff;
|
|
39
|
+
--shiki-token-comment: #6a737d;
|
|
40
|
+
--shiki-token-keyword: #f97583;
|
|
41
|
+
--shiki-token-parameter: #e1e4e8;
|
|
42
|
+
--shiki-token-function: #b392f0;
|
|
43
|
+
--shiki-token-string-expression: #9ecbff;
|
|
44
|
+
--shiki-token-punctuation: #e1e4e8;
|
|
45
|
+
--shiki-token-link: #9ecbff;
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
<style>
|
|
49
|
+
body {
|
|
50
|
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
51
|
+
line-height: 1.6;
|
|
52
|
+
color: #333;
|
|
53
|
+
max-width: 800px;
|
|
54
|
+
margin: 0 auto;
|
|
55
|
+
padding: 2rem;
|
|
56
|
+
}
|
|
57
|
+
pre, code {
|
|
58
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
59
|
+
}
|
|
60
|
+
pre {
|
|
61
|
+
border-radius: 4px;
|
|
62
|
+
padding: 0;
|
|
63
|
+
margin: 1.5rem 0;
|
|
64
|
+
overflow-x: auto;
|
|
65
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
66
|
+
}
|
|
67
|
+
pre code {
|
|
68
|
+
display: block;
|
|
69
|
+
padding: 1rem;
|
|
70
|
+
overflow-x: auto;
|
|
71
|
+
}
|
|
72
|
+
/* Apply background color to code blocks based on theme */
|
|
73
|
+
pre.syntax-highlighter {
|
|
74
|
+
background-color: var(--shiki-color-background) !important;
|
|
75
|
+
}
|
|
76
|
+
.dark-mode pre.syntax-highlighter {
|
|
77
|
+
background-color: var(--shiki-color-background) !important;
|
|
78
|
+
}
|
|
79
|
+
code {
|
|
80
|
+
padding: 0.2rem 0.4rem;
|
|
81
|
+
border-radius: 3px;
|
|
82
|
+
}
|
|
83
|
+
h1, h2, h3, h4 {
|
|
84
|
+
margin-top: 2rem;
|
|
85
|
+
margin-bottom: 1rem;
|
|
86
|
+
}
|
|
87
|
+
h1 { color: #111; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; }
|
|
88
|
+
h2 { color: #333; border-bottom: 1px solid #f0f0f0; padding-bottom: 0.3rem; }
|
|
89
|
+
h3 { color: #444; }
|
|
90
|
+
img {
|
|
91
|
+
max-width: 100%;
|
|
92
|
+
border-radius: 4px;
|
|
93
|
+
margin: 1rem 0;
|
|
94
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
95
|
+
}
|
|
96
|
+
blockquote {
|
|
97
|
+
border-left: 4px solid #ddd;
|
|
98
|
+
padding-left: 1rem;
|
|
99
|
+
margin-left: 0;
|
|
100
|
+
color: #555;
|
|
101
|
+
background: #f9f9f9;
|
|
102
|
+
padding: 0.5rem 1rem;
|
|
103
|
+
margin: 1.5rem 0;
|
|
104
|
+
}
|
|
105
|
+
table {
|
|
106
|
+
border-collapse: collapse;
|
|
107
|
+
width: 100%;
|
|
108
|
+
margin: 1.5rem 0;
|
|
109
|
+
}
|
|
110
|
+
th, td {
|
|
111
|
+
border: 1px solid #ddd;
|
|
112
|
+
padding: 0.5rem;
|
|
113
|
+
}
|
|
114
|
+
th {
|
|
115
|
+
background: #f0f0f0;
|
|
116
|
+
text-align: left;
|
|
117
|
+
}
|
|
118
|
+
tr:nth-child(even) {
|
|
119
|
+
background-color: #f8f8f8;
|
|
120
|
+
}
|
|
121
|
+
a {
|
|
122
|
+
color: #0066cc;
|
|
123
|
+
text-decoration: none;
|
|
124
|
+
}
|
|
125
|
+
a:hover {
|
|
126
|
+
text-decoration: underline;
|
|
127
|
+
}
|
|
128
|
+
hr {
|
|
129
|
+
border: 0;
|
|
130
|
+
border-top: 1px solid #eee;
|
|
131
|
+
margin: 2rem 0;
|
|
132
|
+
}
|
|
133
|
+
.frontmatter {
|
|
134
|
+
background: #f8f8f8;
|
|
135
|
+
border-radius: 4px;
|
|
136
|
+
padding: 1.5rem;
|
|
137
|
+
margin-bottom: 2rem;
|
|
138
|
+
font-size: 0.9rem;
|
|
139
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
140
|
+
border-left: 4px solid #ddd;
|
|
141
|
+
}
|
|
142
|
+
.frontmatter-item {
|
|
143
|
+
margin-bottom: 0.5rem;
|
|
144
|
+
display: flex;
|
|
145
|
+
}
|
|
146
|
+
.frontmatter-label {
|
|
147
|
+
font-weight: bold;
|
|
148
|
+
min-width: 100px;
|
|
149
|
+
color: #555;
|
|
150
|
+
}
|
|
151
|
+
${T()}
|
|
152
|
+
</style>
|
|
153
|
+
</head>
|
|
154
|
+
<body>
|
|
155
|
+
${P($)}
|
|
156
|
+
${y(Z)}
|
|
157
|
+
|
|
158
|
+
${Y}
|
|
159
|
+
|
|
160
|
+
<script>
|
|
161
|
+
${d()}
|
|
162
|
+
</script>
|
|
163
|
+
</body>
|
|
164
|
+
</html>
|
|
165
|
+
`,w=`/${X.relative(F,J).replace(/\.md$/,"")}`;if(w.endsWith("/index"))w=w.slice(0,-6)||"/";K[w||"/"]={filePath:J,content:k,fileType:"md"}}catch(Y){console.error(`${z.red}Error processing Markdown file ${z.bright}${G}${z.reset}:`,Y);continue}else{let Y={name:"public-assets",setup(W){W.onResolve({filter:/^\/(images|fonts|assets|public)\//},(Z)=>{return{path:Z.path,external:!0}})}},$=await Bun.build({entrypoints:[J],outdir:A,plugins:[Y,i],define:{"process.env.NODE_ENV":'"development"'},...B.stxOptions});if(!$.success){console.error(`${z.red}Build failed for ${z.bright}${G}${z.reset}:`,$.logs);continue}let Q=$.outputs.find((W)=>W.path.endsWith(".html"));if(!Q){console.error(`${z.red}No HTML output found for ${z.bright}${G}${z.reset}`);continue}let U=await Bun.file(Q.path).text(),V=`/${X.relative(F,J).replace(/\.stx$/,"")}`;if(V.endsWith("/index"))V=V.slice(0,-6)||"/";if(V.includes("[")){let W=[...V.matchAll(/\[([^\]]+)\]/g)].map((k)=>k[1]),Z=V.replace(/\[([^\]]+)\]/g,"([^/]+)");v.push({pattern:new RegExp(`^${Z}$`),paramNames:W,filePath:J,routeTemplate:V,fileType:"stx"}),K[V]={filePath:J,content:U,fileType:"stx"}}else K[V||"/"]={filePath:J,content:U,fileType:"stx"}}}if(Object.keys(K).length===0)return console.error(`${z.red}No files were successfully processed${z.reset}`),!1;return!0}catch(G){return console.error(`${z.red}Error processing files:${z.reset}`,G),!1}};if(!await g())return!1;let H=j;try{if(H=await f(j),H!==j)console.log(`${z.yellow}Port ${j} is busy, using port ${H} instead${z.reset}`)}catch{return console.error(`${z.red}Could not find an available port${z.reset}`),!1}console.log(`${z.blue}Starting server on ${z.cyan}http://localhost:${H}/${z.reset}...`);let D=p({port:H,async fetch(G){let J=new URL(G.url),_=X.join(process.cwd(),"public",J.pathname);if(O.existsSync(_)&&O.statSync(_).isFile()){let Q=Bun.file(_),U=X.extname(_).toLowerCase(),E="application/octet-stream";if(U===".ts"||U===".tsx"){let V=new Bun.Transpiler({loader:U===".tsx"?"tsx":"ts"}),W=await Q.text(),Z=V.transformSync(W);return new Response(Z,{headers:{"Content-Type":"application/javascript","Cache-Control":"no-store, no-cache, must-revalidate",Pragma:"no-cache",Expires:"0"}})}switch(U){case".html":E="text/html";break;case".css":E="text/css";break;case".js":E="text/javascript";break;case".json":E="application/json";break;case".png":E="image/png";break;case".jpg":case".jpeg":E="image/jpeg";break;case".gif":E="image/gif";break;case".svg":E="image/svg+xml";break;case".ico":E="image/x-icon";break;case".woff":E="font/woff";break;case".woff2":E="font/woff2";break;case".ttf":E="font/ttf";break;case".otf":E="font/otf";break;case".eot":E="application/vnd.ms-fontobject";break}return new Response(Q,{headers:{"Content-Type":E}})}let Y=K[J.pathname];if(!Y&&!J.pathname.endsWith("/"))Y=K[`${J.pathname}/`];if(!Y)for(let Q of v){let U=J.pathname.match(Q.pattern);if(U){let E=K[Q.routeTemplate];if(E){let V={};for(let k=0;k<Q.paramNames.length;k++)V[Q.paramNames[k]]=decodeURIComponent(U[k+1]);let W=E.content,Z=`<script>window.__routeParams = ${JSON.stringify(V)};</script>`;if(W.includes("</head>"))W=W.replace("</head>",`${Z}
|
|
166
|
+
</head>`);else W=Z+W;Y={...E,content:W}}break}}if(Y)return S(Y.content).then((Q)=>{if(Q.includes("</head>"))Q=Q.replace("</head>",`${b}
|
|
167
|
+
</head>`);return new Response(Q,{headers:{"Content-Type":"text/html","Cache-Control":"no-store, no-cache, must-revalidate",Pragma:"no-cache",Expires:"0"}})});let $=X.join(A,J.pathname);if(O.existsSync($)&&O.statSync($).isFile()){let Q=Bun.file($),U=X.extname($).toLowerCase(),E="text/plain";if(U===".ts"||U===".tsx"){let V=new Bun.Transpiler({loader:U===".tsx"?"tsx":"ts"}),W=await Q.text(),Z=V.transformSync(W);return new Response(Z,{headers:{"Content-Type":"application/javascript","Cache-Control":"no-store, no-cache, must-revalidate",Pragma:"no-cache",Expires:"0"}})}switch(U){case".html":E="text/html";break;case".css":E="text/css";break;case".js":E="text/javascript";break;case".json":E="application/json";break;case".png":E="image/png";break;case".jpg":case".jpeg":E="image/jpeg";break;case".gif":E="image/gif";break;case".svg":E="image/svg+xml";break;case".ico":E="image/x-icon";break;case".woff":E="font/woff";break;case".woff2":E="font/woff2";break;case".ttf":E="font/ttf";break;case".otf":E="font/otf";break;case".eot":E="application/vnd.ms-fontobject";break}return new Response(Q,{headers:{"Content-Type":E}})}if(J.pathname!=="/"&&K["/"]){let Q=G.headers.get("X-STX-Router")==="true";return S(K["/"].content).then((U)=>{if(Q){let E=U.match(/<main[^>]*>([\s\S]*?)<\/main>/i);if(E){let V=U.match(/<title[^>]*>([\s\S]*?)<\/title>/i),Z=`<!DOCTYPE html><html><head><title>${V?V[1]:""}</title></head><body><main>${E[1]}</main></body></html>`;return new Response(Z,{headers:{"Content-Type":"text/html","X-STX-Partial":"true","Cache-Control":"no-store, no-cache, must-revalidate",Pragma:"no-cache",Expires:"0"}})}}return new Response(U,{headers:{"Content-Type":"text/html","Cache-Control":"no-store, no-cache, must-revalidate",Pragma:"no-cache",Expires:"0"}})})}return new Response("Not Found",{status:404})},error(G){return new Response(`<pre>${G}
|
|
168
|
+
${G.stack}</pre>`,{headers:{"Content-Type":"text/html"}})}});console.clear(),console.log(`
|
|
169
|
+
${z.blue}stx${z.reset} ${z.green}${process.env.stx_VERSION||"v0.0.10"}${z.reset} ${z.dim}ready in ${Math.random()*10+5|0}.${Math.random()*90+10|0} ms${z.reset}`),console.log(`
|
|
170
|
+
${z.bright}\u2192 ${z.cyan}http://localhost:${H}/${z.reset}`),console.log(`
|
|
171
|
+
${z.yellow}Routes:${z.reset}`);let h=new Set(v.map((G)=>G.routeTemplate)),I=Object.entries(K).filter(([G])=>!h.has(G)).sort(([G],[J])=>G.localeCompare(J)).map(([G,J])=>({route:G==="/"?"/":G,filePath:X.relative(process.cwd(),J.filePath),fileType:J.fileType}));for(let G of v){let J=G.routeTemplate.replace(/\[([^\]]+)\]/g,":$1");I.push({route:J,filePath:X.relative(process.cwd(),G.filePath),fileType:"stx"})}if(I.sort((G,J)=>G.route.localeCompare(J.route)),I.forEach((G,J)=>{let Y=J===I.length-1?"\u2514\u2500 ":"\u251C\u2500 ",$=G.fileType==="md"?`${z.magenta}(markdown)${z.reset}`:"";console.log(` ${z.green}${Y}${G.route}${z.reset} \u2192 ${z.bright}${G.filePath}${z.reset} ${$}`)}),console.log(`
|
|
172
|
+
Press ${z.cyan}h${z.reset} + ${z.cyan}Enter${z.reset} to show shortcuts`),m(D.url.toString(),()=>{if(N)O.watch(F,{recursive:!0}).close();D.stop()}),N){console.log(`${z.blue}Watching for changes...${z.reset}`);let G=O.watch(F,{recursive:!0},async(J,_)=>{if(!_)return;if(_.endsWith(".stx")||_.endsWith(".js")||_.endsWith(".ts")||_.endsWith(".md"))console.log(`${z.yellow}File ${z.bright}${_}${z.yellow} changed, rebuilding...${z.reset}`),C.clear(),R(),await g()});process.on("SIGINT",()=>{G.close(),D.stop(),process.exit(0)})}return!0}export{Jz as serveMultipleStxFiles,u as findCommonDir};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Tw as a,Uw as b,Vw as c,Ww as d,Xw as e,Yw as f,Zw as g}from"../chunk-qdc3aav1.js";import"../chunk-3jm3snz8.js";export{d as warning,c as success,f as info,e as error,g as dim,a as colors,b as colorize};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{no as a,oo as b,po as c,qo as d,ro as e,so as f}from"../chunk-57p201gb.js";import"../chunk-3jm3snz8.js";export{f as isDarkTheme,a as getThemeSelectorStyles,c as getThemeSelectorScript,b as getThemeSelectorHtml,d as getFrontmatterHtml,e as DARK_THEME_KEYWORDS};
|
package/dist/dev-server/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{co as a,do as b,eo as c}from"../chunk-ca6qd1dx.js";import"../chunk-3jm3snz8.js";export{b as getMimeType,a as MIME_TYPES,c as DEFAULT_DEV_OPTIONS};
|
package/dist/dev-server.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{$n as c,Zn as a,_n as b,ao as d,bo as e}from"./chunk-qwyd9a1d.js";import"./chunk-3jm3snz8.js";export{b as serveStxFile,c as serveMultipleStxFiles,a as serveMarkdownFile,e as serveApp,d as findCommonDir};
|
package/dist/devtools.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-3jm3snz8.js";var A={enabled:!1,components:new Map,stores:new Map,events:[],performance:[],selectedComponent:null,selectedStore:null,maxEvents:1000,maxPerformance:500};function b(q={}){if(typeof window>"u")return;A.enabled=!0,A.maxEvents=q.maxEvents||1000,A.maxPerformance=q.maxPerformance||500,window.__STX_DEVTOOLS__={getState:()=>A,getComponents:()=>Array.from(A.components.values()),getComponent:(k)=>A.components.get(k),getStores:()=>Array.from(A.stores.values()),getStore:(k)=>A.stores.get(k),getEvents:()=>A.events,getPerformance:()=>A.performance,selectComponent:(k)=>M(k),selectStore:(k)=>$(k),inspectElement:(k)=>j(k),highlightComponent:(k)=>X(k),clearHighlight:()=>Y(),logComponentTree:()=>O(),logStoreState:(k)=>D(k),timeTravel:(k,z)=>H(k,z)},w(),P(),console.log("%c[STX DevTools] Enabled","color: #10b981; font-weight: bold;")}function C(){A.enabled=!1,delete window.__STX_DEVTOOLS__;let q=document.getElementById("stx-devtools-panel");if(q)q.remove();console.log("%c[STX DevTools] Disabled","color: #ef4444;")}var _=0;function y(q,k,z={},B={},F){if(!A.enabled)return"";let G=`stx-${++_}`;k.setAttribute("data-stx-component-id",G);let J,L=k.parentElement;while(L){let N=L.getAttribute("data-stx-component-id");if(N){J=N;let Q=A.components.get(J);if(Q)Q.children.push(G);break}L=L.parentElement}let Z={id:G,name:q,file:F,parentId:J,children:[],props:z,state:B,exposed:[],element:k,renderCount:1,lastRenderTime:0,createdAt:Date.now()};return A.components.set(G,Z),K({timestamp:Date.now(),type:"component:mounted",componentId:G,payload:{name:q,props:z}}),G}function g(q,k){if(!A.enabled)return;let z=A.components.get(q);if(z)z.state={...z.state,...k},z.renderCount++,K({timestamp:Date.now(),type:"component:updated",componentId:q,payload:{state:k}})}function h(q,k){if(!A.enabled)return;let z=A.components.get(q);if(z){let B={...z.props};z.props={...z.props,...k},K({timestamp:Date.now(),type:"component:props-changed",componentId:q,payload:{oldProps:B,newProps:k}})}}function R(q){if(!A.enabled)return;let k=A.components.get(q);if(k){if(k.parentId){let z=A.components.get(k.parentId);if(z)z.children=z.children.filter((B)=>B!==q)}A.components.delete(q),K({timestamp:Date.now(),type:"component:unmounted",componentId:q,payload:{name:k.name}})}}function u(q,k,z={},B=[]){if(!A.enabled)return;let F={id:q,state:k,getters:z,actions:B,history:[{timestamp:Date.now(),type:"state",name:"__init__",newValue:k}]};A.stores.set(q,F),K({timestamp:Date.now(),type:"store:registered",payload:{id:q,state:k}})}function I(q,k,z,B,F="state"){if(!A.enabled)return;let G=A.stores.get(q);if(G){let J={timestamp:Date.now(),type:F,name:k,oldValue:z,newValue:B,stack:Error().stack};if(G.history.push(J),G.history.length>100)G.history=G.history.slice(-100);if(F==="state")G.state={...G.state,[k]:B};K({timestamp:Date.now(),type:`store:${F}`,payload:{storeId:q,name:k,oldValue:z,newValue:B}})}}function m(q,k){if(!A.enabled)return;let z=A.stores.get(q);if(z)z.getters=k}function K(q){if(!A.enabled)return;if(A.events.push(q),A.events.length>A.maxEvents)A.events=A.events.slice(-A.maxEvents);if(typeof window<"u")window.dispatchEvent(new CustomEvent("stx:devtools:event",{detail:q}))}function W(q){if(!A.enabled)return;if(A.performance.push(q),A.performance.length>A.maxPerformance)A.performance=A.performance.slice(-A.maxPerformance)}function f(q,k,z){if(!A.enabled)return k();let B=performance.now(),F=k(),G=performance.now()-B;return W({name:q,duration:G,timestamp:Date.now(),componentId:z}),F}async function T(q,k,z){if(!A.enabled)return k();let B=performance.now(),F=await k(),G=performance.now()-B;return W({name:q,duration:G,timestamp:Date.now(),componentId:z}),F}function M(q){A.selectedComponent=q;let k=A.components.get(q);if(k)X(q),console.log("%c[STX DevTools] Selected component:","color: #3b82f6;",k);return k}function $(q){A.selectedStore=q;let k=A.stores.get(q);if(k)console.log("%c[STX DevTools] Selected store:","color: #8b5cf6;",k);return k}function j(q){let k=q;while(k){let z=k.getAttribute("data-stx-component-id");if(z)return M(z);k=k.parentElement}console.log("%c[STX DevTools] No component found for element","color: #f59e0b;");return}function X(q){Y();let k=A.components.get(q);if(k?.element){let z=document.createElement("div");z.id="stx-devtools-highlight",z.style.cssText=`
|
|
3
3
|
position: absolute;
|
|
4
4
|
background: rgba(59, 130, 246, 0.2);
|
|
5
5
|
border: 2px solid #3b82f6;
|
package/dist/directive-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Aw as
|
|
2
|
+
import{Aw as g,Bw as h,Cw as i,uw as a,vw as b,ww as c,xw as d,yw as e,zw as f}from"./chunk-ywkrxp2h.js";import"./chunk-3jm3snz8.js";export{d as unregisterDirective,a as registerDirective,i as processDirectiveAttributes,c as getDirectives,b as getDirective,h as generateDirectiveRuntime,e as defineDirective,f as defineClientDirective,g as createBuiltinDirectives};
|
package/dist/docs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{an as a,bn as b,cn as c,dn as d,en as e,fn as f,gn as g,hn as h,in as i,jn as j,kn as k,ln as l}from"./chunk-50vqeesm.js";import"./chunk-w01y57f5.js";import"./chunk-x1hjv24z.js";import"./chunk-0g4gece6.js";import"./chunk-nap11ntr.js";import"./chunk-03c26pjz.js";import"./chunk-13yz561y.js";import"./chunk-nanw7yhz.js";import"./chunk-ghrx0hn1.js";import"./chunk-82t27pvd.js";import"./chunk-fhawx87n.js";import"./chunk-gc84b1d2.js";import"./chunk-yr1gdceh.js";import"./chunk-baa7h4yz.js";import"./chunk-kdxa9epn.js";import"./chunk-g2hekckm.js";import"./chunk-x39sfpvm.js";import"./chunk-tr0z0e1g.js";import"./chunk-4j188175.js";import"./chunk-eds0f8f1.js";import"./chunk-dyjnn5k8.js";import"./chunk-8fgwhhb8.js";import"./chunk-tj6zfxeb.js";import"./chunk-7xcfy2fn.js";import"./chunk-9yz5d003.js";import"./chunk-fms20x0n.js";import"./chunk-fe7r1mq1.js";import"./chunk-rb1e4cnb.js";import"./chunk-j4s5qwd7.js";import"./chunk-b0cyc09a.js";import"./chunk-0tatqxj2.js";import"./chunk-bykjk6vj.js";import"./chunk-7b0xdy5h.js";import"./chunk-ywkrxp2h.js";import"./chunk-y25pr13j.js";import"./chunk-q6h6yvzb.js";import"./chunk-qdc3aav1.js";import"./chunk-6wn85hn6.js";import"./chunk-qd5461tt.js";import"./chunk-77tga15w.js";import"./chunk-rv002yn0.js";import"./chunk-hke99a0v.js";import"./chunk-mwbng54r.js";import"./chunk-wxvyj65q.js";import"./chunk-yw2fzq86.js";import"./chunk-mrehzhxv.js";import"./chunk-1zgsgk4b.js";import"./chunk-48cw2nde.js";import"./chunk-jjvp4t5w.js";import"./chunk-94g3cahw.js";import"./chunk-ht4j68cs.js";import"./chunk-fch9tk1k.js";import"./chunk-cz25azze.js";import"./chunk-q60knhjf.js";import"./chunk-hrampcrj.js";import"./chunk-t37dp99j.js";import"./chunk-5kt3ay7x.js";import"./chunk-95w08s8v.js";import"./chunk-ceg2c2q2.js";import"./chunk-04mvcmcr.js";import"./chunk-n46a5g1g.js";import"./chunk-vv9wfz1c.js";import"./chunk-dzw95th7.js";import"./chunk-46mkpbkk.js";import"./chunk-3rh7va1z.js";import"./chunk-2xen423s.js";import"./chunk-cp3kwv17.js";import"./chunk-hpqr9e3x.js";import"./chunk-adqh2m9z.js";import"./chunk-8qbax8xn.js";import"./chunk-x64kb787.js";import"./chunk-gcf5v18y.js";import"./chunk-pc31m5x5.js";import"./chunk-3jm3snz8.js";export{f as generateTemplatesDocs,k as generateDocs,g as generateDirectivesDocs,e as generateComponentsDocs,c as generateComponentDoc,h as formatDocsAsMarkdown,j as formatDocsAsJson,i as formatDocsAsHtml,d as findComponentFiles,a as extractComponentProps,b as extractComponentDescription,l as docsCommand};
|
package/dist/doctor.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{mn as a,nn as b,on as c}from"./chunk-xcb0pbr6.js";import"./chunk-3jm3snz8.js";export{b as runDoctor,c as formatDoctorReport,a as findPantryPackage};
|
package/dist/document-shell.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Dw as a,Ew as b,Fw as c,Gw as d,Hw as e,Iw as f}from"./chunk-y25pr13j.js";import"./chunk-3jm3snz8.js";export{e as injectConfigHeadTags,b as injectCloakStyle,d as hasDocumentShell,c as generateDocumentShell,f as ensureDocumentShell,a as CLOAK_STYLE};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Bs as a}from"./chunk-w01y57f5.js";import"./chunk-x1hjv24z.js";import"./chunk-0g4gece6.js";import"./chunk-nap11ntr.js";import"./chunk-03c26pjz.js";import"./chunk-13yz561y.js";import"./chunk-nanw7yhz.js";import"./chunk-ghrx0hn1.js";import"./chunk-82t27pvd.js";import"./chunk-fhawx87n.js";import"./chunk-gc84b1d2.js";import"./chunk-yr1gdceh.js";import"./chunk-baa7h4yz.js";import"./chunk-kdxa9epn.js";import"./chunk-g2hekckm.js";import"./chunk-x39sfpvm.js";import"./chunk-tr0z0e1g.js";import"./chunk-4j188175.js";import"./chunk-eds0f8f1.js";import"./chunk-dyjnn5k8.js";import"./chunk-8fgwhhb8.js";import"./chunk-tj6zfxeb.js";import"./chunk-7xcfy2fn.js";import"./chunk-9yz5d003.js";import"./chunk-fms20x0n.js";import"./chunk-fe7r1mq1.js";import"./chunk-rb1e4cnb.js";import"./chunk-j4s5qwd7.js";import"./chunk-b0cyc09a.js";import"./chunk-0tatqxj2.js";import"./chunk-bykjk6vj.js";import"./chunk-7b0xdy5h.js";import"./chunk-ywkrxp2h.js";import"./chunk-y25pr13j.js";import"./chunk-q6h6yvzb.js";import"./chunk-qdc3aav1.js";import"./chunk-6wn85hn6.js";import"./chunk-qd5461tt.js";import"./chunk-77tga15w.js";import"./chunk-rv002yn0.js";import"./chunk-hke99a0v.js";import"./chunk-mwbng54r.js";import"./chunk-wxvyj65q.js";import"./chunk-yw2fzq86.js";import"./chunk-mrehzhxv.js";import"./chunk-1zgsgk4b.js";import"./chunk-48cw2nde.js";import"./chunk-jjvp4t5w.js";import"./chunk-94g3cahw.js";import"./chunk-ht4j68cs.js";import"./chunk-fch9tk1k.js";import"./chunk-cz25azze.js";import"./chunk-q60knhjf.js";import"./chunk-hrampcrj.js";import"./chunk-t37dp99j.js";import"./chunk-5kt3ay7x.js";import"./chunk-95w08s8v.js";import"./chunk-ceg2c2q2.js";import"./chunk-04mvcmcr.js";import"./chunk-n46a5g1g.js";import"./chunk-vv9wfz1c.js";import"./chunk-dzw95th7.js";import"./chunk-46mkpbkk.js";import"./chunk-3rh7va1z.js";import"./chunk-2xen423s.js";import"./chunk-cp3kwv17.js";import"./chunk-hpqr9e3x.js";import"./chunk-adqh2m9z.js";import"./chunk-8qbax8xn.js";import"./chunk-x64kb787.js";import"./chunk-gcf5v18y.js";import"./chunk-pc31m5x5.js";import"./chunk-3jm3snz8.js";export{a as processDynamicComponents};
|
package/dist/edge-runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{An as
|
|
2
|
+
import{An as l,Bn as m,Cn as n,Dn as o,En as p,Fn as q,Gn as r,Hn as s,pn as a,qn as b,rn as c,sn as d,tn as e,un as f,vn as g,wn as h,xn as i,yn as j,zn as k}from"./chunk-b3kkjcdh.js";import"./chunk-3jm3snz8.js";export{j as stringToStream,r as redirect,o as parseCookies,s as notFound,q as jsonResponse,c as isServerEnvironment,b as isEdgeEnvironment,a as detectRuntime,m as createVercelHandler,i as createTextEncoderStream,h as createStreamingResponse,n as createNetlifyHandler,e as createKVNamespace,d as createEnvAccessor,g as createEdgeHandler,f as createEdgeCache,l as createDenoHandler,p as createCookie,k as createCloudflareHandler};
|
package/dist/env.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Ky as a,Ly as b,My as c}from"./chunk-fch9tk1k.js";import"./chunk-3jm3snz8.js";export{c as isTest,a as isProduction,b as isDevelopment};
|
package/dist/error-boundaries.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-3jm3snz8.js";var N=0;function P(){return`eb-${++N}-${Date.now().toString(36)}`}function W(q,z={},A){let j=/@errorBoundary(?:\s*\(([^)]*)\))?\s*([\s\S]*?)@fallback\s*([\s\S]*?)@enderrorBoundary/gi;return q.replace(j,(D,F,J,K)=>{let L=P(),M=Q(F||"");return T(L,J.trim(),K.trim(),M)})}function Q(q){let z={},A=/(\w+)\s*:\s*(?:'([^']*)'|"([^"]*)"|(\w+))/g,j;while((j=A.exec(q))!==null){let D=j[1],F=j[2]||j[3]||j[4];switch(D){case"id":z.id=F;break;case"logErrors":z.logErrors=F==="true";break}}return z}function T(q,z,A,j){let D=j.logErrors!==!1;return`
|
|
3
3
|
<div class="stx-error-boundary" data-boundary-id="${q}" data-has-error="false">
|
|
4
4
|
<div class="stx-error-boundary-content" data-boundary-content="${q}">
|
|
5
5
|
${z}
|
package/dist/error-handling.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-1zgsgk4b.js";import{
|
|
2
|
+
import"./chunk-1zgsgk4b.js";import{ky as C,ly as D,my as E,ny as F,oy as G,py as H}from"./chunk-48cw2nde.js";import{qy as s,ry as t,sy as u,ty as v,uy as w,vy as x}from"./chunk-jjvp4t5w.js";import{wy as y,xy as z,yy as A,zy as B}from"./chunk-94g3cahw.js";import{Ay as i,By as j,Cy as k,Dy as l,Ey as m,Fy as n,Gy as o,Hy as p,Iy as q,Jy as r}from"./chunk-ht4j68cs.js";import"./chunk-fch9tk1k.js";import{Ny as a,Oy as b,Py as c,Qy as d,Ry as e,Sy as f,Ty as g,Uy as h}from"./chunk-cz25azze.js";import"./chunk-3jm3snz8.js";export{H as validators,a as setErrorLocale,G as sanitizeFilePath,F as sanitizeExpression,E as sanitizeDirectiveParams,D as sanitizeDirectiveParam,C as sanitizeComponentProps,x as safeExecuteAsync,w as safeExecute,k as resetErrorConfig,c as registerErrorMessages,t as inlineError,e as getErrorMessage,b as getErrorLocale,j as getErrorConfig,h as getErrorCodeName,f as formatLocalizedError,l as formatFilePath,s as formatError,y as errorRecovery,A as errorLogger,B as devHelpers,v as createEnhancedError,u as consoleError,i as configureErrorHandling,d as clearErrorMessages,r as StxValidationError,n as StxSyntaxError,p as StxSecurityError,o as StxRuntimeError,q as StxFileError,m as StxError,z as ErrorLogger,g as ErrorCodes};
|
package/dist/errors/codes.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Ny as a,Oy as b,Py as c,Qy as d,Ry as e,Sy as f,Ty as g,Uy as h}from"../chunk-cz25azze.js";import"../chunk-3jm3snz8.js";export{a as setErrorLocale,c as registerErrorMessages,e as getErrorMessage,b as getErrorLocale,h as getErrorCodeName,f as formatLocalizedError,d as clearErrorMessages,g as ErrorCodes};
|
package/dist/errors/formatter.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{qy as a,ry as b,sy as c,ty as d,uy as e,vy as f}from"../chunk-jjvp4t5w.js";import"../chunk-ht4j68cs.js";import"../chunk-fch9tk1k.js";import"../chunk-cz25azze.js";import"../chunk-3jm3snz8.js";export{f as safeExecuteAsync,e as safeExecute,b as inlineError,a as formatError,d as createEnhancedError,c as consoleError};
|
package/dist/errors/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{ky as C,ly as D,my as E,ny as F,oy as G,py as H}from"../chunk-48cw2nde.js";import{qy as s,ry as t,sy as u,ty as v,uy as w,vy as x}from"../chunk-jjvp4t5w.js";import{wy as y,xy as z,yy as A,zy as B}from"../chunk-94g3cahw.js";import{Ay as i,By as j,Cy as k,Dy as l,Ey as m,Fy as n,Gy as o,Hy as p,Iy as q,Jy as r}from"../chunk-ht4j68cs.js";import"../chunk-fch9tk1k.js";import{Ny as a,Oy as b,Py as c,Qy as d,Ry as e,Sy as f,Ty as g,Uy as h}from"../chunk-cz25azze.js";import"../chunk-3jm3snz8.js";export{H as validators,a as setErrorLocale,G as sanitizeFilePath,F as sanitizeExpression,E as sanitizeDirectiveParams,D as sanitizeDirectiveParam,C as sanitizeComponentProps,x as safeExecuteAsync,w as safeExecute,k as resetErrorConfig,c as registerErrorMessages,t as inlineError,e as getErrorMessage,b as getErrorLocale,j as getErrorConfig,h as getErrorCodeName,f as formatLocalizedError,l as formatFilePath,s as formatError,y as errorRecovery,A as errorLogger,B as devHelpers,v as createEnhancedError,u as consoleError,i as configureErrorHandling,d as clearErrorMessages,r as StxValidationError,n as StxSyntaxError,p as StxSecurityError,o as StxRuntimeError,q as StxFileError,m as StxError,z as ErrorLogger,g as ErrorCodes};
|
package/dist/errors/logger.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{wy as a,xy as b,yy as c,zy as d}from"../chunk-94g3cahw.js";import"../chunk-ht4j68cs.js";import"../chunk-fch9tk1k.js";import"../chunk-cz25azze.js";import"../chunk-3jm3snz8.js";export{a as errorRecovery,c as errorLogger,d as devHelpers,b as ErrorLogger};
|
package/dist/errors/sanitizer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"../chunk-
|
|
2
|
+
import"../chunk-3jm3snz8.js";import T from"path";var W={isValidFilePath(B,q){let j=B.replace(/\\/g,"/");if(j.includes("\x00"))return!1;if(j.includes("../")||j.includes("..\\")||j===".."||j.startsWith("../")||j.endsWith("/..")||j.includes("/..\\")||j.includes("\\../"))return!1;if(/^[a-z][a-z0-9+.-]*:/i.test(j))return!1;if(j.startsWith("/")){if(["/etc/","/root/","/var/","/usr/","/bin/","/sbin/","/proc/","/sys/","/dev/","/boot/","/home/","/private/","/Library/","/System/"].some((J)=>j===J.slice(0,-1)||j.startsWith(J)))return!1}if(/^[a-z]:/i.test(j)){if(["Windows/","Windows\\","System32/","System32\\","Program Files/","Program Files\\"].some((J)=>j.includes(J)))return!1}if(q){let I=T.resolve(q,B),J=T.resolve(q);if(!I.startsWith(J+T.sep)&&I!==J)return!1}return!0},isValidVariableName(B){return/^[a-z_$]\w*$/i.test(B)},isValidDirectiveName(B){return/^[a-z][\w-]*$/i.test(B)},isSafeContent(B){return![/<script[^>]*>[\s\S]*?<\/script>/i,/javascript:/i,/data:text\/html/i,/vbscript:/i,/on\w+\s*=/i].some((j)=>j.test(B))}};function Y(B){let q={"&":"&","<":"<",">":">",'"':""","'":"'"};return B.replace(/[&<>"']/g,(j)=>q[j]||j)}function U(B,q={}){let{allowHtml:j=!1,maxLength:G=1e4,allowSpecialChars:I=!0,customSanitizer:J}=q,K=[],F=B,M=!1;if(J){let N=J(F);if(N!==F)F=N,M=!0}if(F.includes("\x00"))F=F.replace(/\0/g,""),M=!0,K.push("Null bytes removed from parameter");if(F.length>G)F=F.substring(0,G),M=!0,K.push(`Parameter truncated to ${G} characters`);if(!j&&/<[^>]+>/.test(F))F=Y(F),M=!0,K.push("HTML content was escaped");let X=[{pattern:/javascript:/gi,replacement:"",name:"javascript: URI"},{pattern:/vbscript:/gi,replacement:"",name:"vbscript: URI"},{pattern:/data:text\/html/gi,replacement:"",name:"data:text/html URI"}];for(let{pattern:N,replacement:Q,name:O}of X)if(N.test(F))F=F.replace(N,Q),M=!0,K.push(`Removed ${O} from parameter`);if(!I){let N=F;if(F=F.split("").filter((Q)=>{let O=Q.charCodeAt(0);return O>=32&&O!==127}).join(""),F!==N)M=!0,K.push("Control characters removed")}return{value:F,modified:M,warnings:K}}function $(B,q){let j=B.replace(/\0/g,"");j=j.replace(/\\/g,"/"),j=j.replace(/^[a-z][a-z0-9+.-]*:/i,"");while(j.includes("../")||j.includes("./"))j=j.replace(/\.\.\//g,"").replace(/\.\//g,"");if(!W.isValidFilePath(j,q))return null;return j}function A(B){let q=[],j=B.trim(),G=j!==B,I=[{pattern:/\beval\s*\(/gi,name:"eval()"},{pattern:/\bFunction\s*\(/gi,name:"Function()"},{pattern:/\bsetTimeout\s*\(/gi,name:"setTimeout()"},{pattern:/\bsetInterval\s*\(/gi,name:"setInterval()"},{pattern:/\bimport\s*\(/gi,name:"dynamic import()"},{pattern:/\brequire\s*\(/gi,name:"require()"},{pattern:/\b__proto__\b/gi,name:"__proto__"},{pattern:/\bconstructor\b/gi,name:"constructor"},{pattern:/\bprototype\b/gi,name:"prototype"}];for(let{pattern:J,name:K}of I)if(J.test(j))q.push(`Potentially dangerous pattern detected: ${K}`);if(j.includes("\x00"))j=j.replace(/\0/g,""),G=!0,q.push("Null bytes removed from expression");return{value:j,modified:G,warnings:q}}function C(B,q={}){return B.map((j)=>U(j,q))}function Z(B){let q={};for(let[j,G]of Object.entries(B)){if(!W.isValidVariableName(j))continue;if(typeof G==="string"){let I=U(G);q[j]=I.value}else if(Array.isArray(G))q[j]=G.map((I)=>typeof I==="string"?U(I).value:I);else if(typeof G==="object"&&G!==null)q[j]=Z(G);else q[j]=G}return q}export{W as validators,$ as sanitizeFilePath,A as sanitizeExpression,C as sanitizeDirectiveParams,U as sanitizeDirectiveParam,Z as sanitizeComponentProps};
|
package/dist/errors/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ay as
|
|
2
|
+
import{Ay as a,By as b,Cy as c,Dy as d,Ey as e,Fy as f,Gy as g,Hy as h,Iy as i,Jy as j}from"../chunk-ht4j68cs.js";import"../chunk-fch9tk1k.js";import"../chunk-cz25azze.js";import"../chunk-3jm3snz8.js";export{c as resetErrorConfig,b as getErrorConfig,d as formatFilePath,a as configureErrorHandling,j as StxValidationError,f as StxSyntaxError,h as StxSecurityError,g as StxRuntimeError,i as StxFileError,e as StxError};
|
package/dist/events.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Lv as a,Mv as b,Nv as c}from"./chunk-b0cyc09a.js";import"./chunk-3jm3snz8.js";export{b as processEventDirectives,c as hasEventDirectives,a as extractAndProcessEvents};
|
package/dist/expressions.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ar as
|
|
2
|
+
import{Ar as l,Br as m,pr as a,qr as b,rr as c,sr as d,tr as e,ur as f,vr as g,wr as h,xr as i,yr as j,zr as k}from"./chunk-w01y57f5.js";import"./chunk-x1hjv24z.js";import"./chunk-0g4gece6.js";import"./chunk-nap11ntr.js";import"./chunk-03c26pjz.js";import"./chunk-13yz561y.js";import"./chunk-nanw7yhz.js";import"./chunk-ghrx0hn1.js";import"./chunk-82t27pvd.js";import"./chunk-fhawx87n.js";import"./chunk-gc84b1d2.js";import"./chunk-yr1gdceh.js";import"./chunk-baa7h4yz.js";import"./chunk-kdxa9epn.js";import"./chunk-g2hekckm.js";import"./chunk-x39sfpvm.js";import"./chunk-tr0z0e1g.js";import"./chunk-4j188175.js";import"./chunk-eds0f8f1.js";import"./chunk-dyjnn5k8.js";import"./chunk-8fgwhhb8.js";import"./chunk-tj6zfxeb.js";import"./chunk-7xcfy2fn.js";import"./chunk-9yz5d003.js";import"./chunk-fms20x0n.js";import"./chunk-fe7r1mq1.js";import"./chunk-rb1e4cnb.js";import"./chunk-j4s5qwd7.js";import"./chunk-b0cyc09a.js";import"./chunk-0tatqxj2.js";import"./chunk-bykjk6vj.js";import"./chunk-7b0xdy5h.js";import"./chunk-ywkrxp2h.js";import"./chunk-y25pr13j.js";import"./chunk-q6h6yvzb.js";import"./chunk-qdc3aav1.js";import"./chunk-6wn85hn6.js";import"./chunk-qd5461tt.js";import"./chunk-77tga15w.js";import"./chunk-rv002yn0.js";import"./chunk-hke99a0v.js";import"./chunk-mwbng54r.js";import"./chunk-wxvyj65q.js";import"./chunk-yw2fzq86.js";import"./chunk-mrehzhxv.js";import"./chunk-1zgsgk4b.js";import"./chunk-48cw2nde.js";import"./chunk-jjvp4t5w.js";import"./chunk-94g3cahw.js";import"./chunk-ht4j68cs.js";import"./chunk-fch9tk1k.js";import"./chunk-cz25azze.js";import"./chunk-q60knhjf.js";import"./chunk-hrampcrj.js";import"./chunk-t37dp99j.js";import"./chunk-5kt3ay7x.js";import"./chunk-95w08s8v.js";import"./chunk-ceg2c2q2.js";import"./chunk-04mvcmcr.js";import"./chunk-n46a5g1g.js";import"./chunk-vv9wfz1c.js";import"./chunk-dzw95th7.js";import"./chunk-46mkpbkk.js";import"./chunk-3rh7va1z.js";import"./chunk-2xen423s.js";import"./chunk-cp3kwv17.js";import"./chunk-hpqr9e3x.js";import"./chunk-adqh2m9z.js";import"./chunk-8qbax8xn.js";import"./chunk-x64kb787.js";import"./chunk-gcf5v18y.js";import"./chunk-pc31m5x5.js";import"./chunk-3jm3snz8.js";export{g as usesSignalsInScript,m as unescapeHtml,c as registerFilters,b as registerFilter,j as processExpressions,i as interpolateScriptsInTemplate,h as interpolateScriptExpressions,d as getAllFilters,l as evaluateExpression,f as escapeHtml,a as defaultFilters,e as clearCustomFilters,k as applyFilters};
|
package/dist/formatter.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{$m as b,_m as a}from"./chunk-kkp6rs2n.js";import"./chunk-3jm3snz8.js";export{a as formatStxContent,b as formatMarkdownContent};
|
package/dist/forms-validation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-3jm3snz8.js";class O{rules=[];defaultValue="";addRule(j){let k=new O;return k.rules=[...this.rules,j],k.defaultValue=this.defaultValue,k}required(j="This field is required"){return this.addRule({name:"required",message:j,validate:(k)=>{if(k===null||k===void 0)return j;if(typeof k==="string"&&k.trim()==="")return j;if(Array.isArray(k)&&k.length===0)return j;return!0}})}email(j="Please enter a valid email"){return this.addRule({name:"email",message:j,validate:(k)=>{if(!k)return!0;return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(k))||j}})}url(j="Please enter a valid URL"){return this.addRule({name:"url",message:j,validate:(k)=>{if(!k)return!0;try{return new URL(String(k)),!0}catch{return j}}})}min(j,k){let q=k||`Must be at least ${j} characters`;return this.addRule({name:"min",message:q,validate:(z)=>{if(!z)return!0;return String(z).length>=j||q}})}max(j,k){let q=k||`Must be no more than ${j} characters`;return this.addRule({name:"max",message:q,validate:(z)=>{if(!z)return!0;return String(z).length<=j||q}})}length(j,k,q){let z=q||`Must be between ${j} and ${k} characters`;return this.addRule({name:"length",message:z,validate:(B)=>{if(!B)return!0;let G=String(B).length;return G>=j&&G<=k||z}})}pattern(j,k="Invalid format"){return this.addRule({name:"pattern",message:k,validate:(q)=>{if(!q)return!0;return j.test(String(q))||k}})}hasUppercase(j="Must contain an uppercase letter"){return this.pattern(/[A-Z]/,j)}hasLowercase(j="Must contain a lowercase letter"){return this.pattern(/[a-z]/,j)}hasNumber(j="Must contain a number"){return this.pattern(/\d/,j)}hasSpecial(j="Must contain a special character"){return this.pattern(/[!@#$%^&*(),.?":{}|<>]/,j)}alphanumeric(j="Only letters and numbers allowed"){return this.pattern(/^[a-zA-Z0-9]+$/,j)}startsWithLetter(j="Must start with a letter"){return this.pattern(/^[a-zA-Z]/,j)}noSpaces(j="Spaces are not allowed"){return this.addRule({name:"noSpaces",message:j,validate:(k)=>{if(!k)return!0;return!String(k).includes(" ")||j}})}number(j="Must be a number"){let k=this.addRule({name:"number",message:j,validate:(q)=>{if(!q&&q!==0)return!0;return!Number.isNaN(Number(q))||j}});return k.defaultValue=0,k}integer(j="Must be a whole number"){return this.addRule({name:"integer",message:j,validate:(k)=>{if(!k&&k!==0)return!0;return Number.isInteger(Number(k))||j}})}positive(j="Must be a positive number"){return this.addRule({name:"positive",message:j,validate:(k)=>{if(!k&&k!==0)return!0;return Number(k)>0||j}})}negative(j="Must be a negative number"){return this.addRule({name:"negative",message:j,validate:(k)=>{if(!k&&k!==0)return!0;return Number(k)<0||j}})}minValue(j,k){let q=k||`Must be at least ${j}`;return this.addRule({name:"minValue",message:q,validate:(z)=>{if(!z&&z!==0)return!0;return Number(z)>=j||q}})}maxValue(j,k){let q=k||`Must be no more than ${j}`;return this.addRule({name:"maxValue",message:q,validate:(z)=>{if(!z&&z!==0)return!0;return Number(z)<=j||q}})}between(j,k,q){let z=q||`Must be between ${j} and ${k}`;return this.addRule({name:"between",message:z,validate:(B)=>{if(!B&&B!==0)return!0;let G=Number(B);return G>=j&&G<=k||z}})}matches(j,k){let q=k||`Must match ${j}`;return this.addRule({name:"matches",message:q,validate:(z,B)=>{if(!B)return!0;return z===B[j]||q}})}oneOf(j,k){let q=k||`Must be one of: ${j.join(", ")}`;return this.addRule({name:"oneOf",message:q,validate:(z)=>{if(!z)return!0;return j.includes(z)||q}})}notOneOf(j,k){let q=k||`Cannot be one of: ${j.join(", ")}`;return this.addRule({name:"notOneOf",message:q,validate:(z)=>{if(!z)return!0;return!j.includes(z)||q}})}date(j="Must be a valid date"){return this.addRule({name:"date",message:j,validate:(k)=>{if(!k)return!0;let q=new Date(String(k));return!Number.isNaN(q.getTime())||j}})}before(j,k){let q=new Date(j),z=k||`Must be before ${q.toLocaleDateString()}`;return this.addRule({name:"before",message:z,validate:(B)=>{if(!B)return!0;return new Date(String(B))<q||z}})}after(j,k){let q=new Date(j),z=k||`Must be after ${q.toLocaleDateString()}`;return this.addRule({name:"after",message:z,validate:(B)=>{if(!B)return!0;return new Date(String(B))>q||z}})}custom(j,k="Invalid value"){return this.addRule({name:"custom",message:k,validate:j})}async(j,k="Invalid value"){return this.addRule({name:"async",message:k,async:!0,validate:j})}when(j,k){let q=new O;q.rules=[...this.rules],q.defaultValue=this.defaultValue;for(let z of k.getRules())q.rules.push({...z,validate:(B,G)=>{if(!j(B,G||{}))return!0;return z.validate(B,G)}});return q}getRules(){return this.rules}getDefaultValue(){return this.defaultValue}default(j){let k=new O;return k.rules=[...this.rules],k.defaultValue=j,k}async validate(j,k){let q=[];for(let z of this.rules){let B=await z.validate(j,k);if(B!==!0)q.push(B)}return q}validateSync(j,k){let q=[];for(let z of this.rules){if(z.async)continue;let B=z.validate(j,k);if(B!==!0)q.push(B)}return q}}var S=new O;function T(j,k){let q=Object.keys(j),z={},B={},G={},L={},M={};for(let A of q)z[A]=k?.[A]??j[A].getDefaultValue(),B[A]=[],G[A]=!1,L[A]=!1,M[A]=!1;let C=!1;async function I(A){M[A]=!0;let K=await j[A].validate(z[A],z);return B[A]=K,M[A]=!1,K.length===0}async function J(){C=!0;let A=await Promise.all(q.map(I));return C=!1,A.every(Boolean)}function Q(){for(let A of q)z[A]=k?.[A]??j[A].getDefaultValue(),B[A]=[],G[A]=!1,L[A]=!1}function U(A){for(let K of q)if(K in A)z[K]=A[K],L[K]=!0}function W(A,K){z[A]=K,L[A]=!0}function X(A,K=!0){if(G[A]=K,K)I(A)}function Y(A){return{value:z[A],errors:B[A],touched:G[A],dirty:L[A],valid:B[A].length===0,validating:M[A]}}function Z(A){return async(K)=>{K?.preventDefault?.();for(let _ of q)G[_]=!0;if(await J())await A(z)}}return{values:z,errors:B,touched:G,dirty:L,get isValid(){return q.every((A)=>B[A].length===0)},get isValidating(){return C||q.some((A)=>M[A])},get isDirty(){return q.some((A)=>L[A])},validate:J,validateField:I,reset:Q,setValues:U,setFieldValue:W,setFieldTouched:X,getFieldState:Y,handleSubmit:Z}}function $(j,k,q){let z=/@error\s*\(\s*([^)]+)\s*\)([\s\S]*?)@enderror/g;return j.replace(z,(B,G,L)=>{try{let M=G.trim().split("."),C=k;for(let J of M)if(C&&typeof C==="object"&&J in C)C=C[J];else return"";let I=C;if(!I||!Array.isArray(I)||I.length===0)return"";return I.map((J)=>{return L.replace(/\{\{\s*message\s*\}\}/g,J)}).join(`
|
|
3
3
|
`)}catch{return""}})}function H(j,k,q){let z=/@errors\s*\(\s*([^)]+)\s*\)([\s\S]*?)@enderrors/g;return j.replace(z,(B,G,L)=>{try{let M=G.trim().split("."),C=k;for(let J of M)if(C&&typeof C==="object"&&J in C)C=C[J];else return"";let I=C;if(!I||!Array.isArray(I)||I.length===0)return"";return I.map((J)=>L.replace(/\{\{\s*message\s*\}\}/g,J)).join(`
|
|
4
4
|
`)}catch{return""}})}function R(j,k,q){let z=/@hasErrors\s*\(\s*([^)]+)\s*\)([\s\S]*?)@endhasErrors/g;return j.replace(z,(B,G,L)=>{try{let M=G.trim().split("."),C=k;for(let J of M)if(C&&typeof C==="object"&&J in C)C=C[J];else return"";let I=C;if(!I||!Array.isArray(I)||I.length===0)return"";return L}catch{return""}})}function E(j,k,q){let z=j;return z=$(z,k,q),z=H(z,k,q),z=R(z,k,q),z}export{S as v,R as processHasErrorsDirective,E as processFormValidationDirectives,H as processErrorsDirective,$ as processErrorDirective,T as defineForm,O as Validator};
|
package/dist/forms.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{$v as n,Ov as a,Pv as b,Qv as c,Rv as d,Sv as e,Tv as f,Uv as g,Vv as h,Wv as i,Xv as j,Yv as k,Zv as l,_v as m}from"./chunk-0tatqxj2.js";import"./chunk-adqh2m9z.js";import"./chunk-3jm3snz8.js";export{l as validateValueEnhanced,m as validateFormEnhanced,h as validateFields,g as validateField,f as registerValidationRule,k as registerEnhancedValidationRule,i as processValidateDirective,b as processForms,d as processFormInputDirectives,e as processErrorDirective,c as processBasicFormDirectives,n as generateValidationScript,j as enhancedValidationRules,a as defaultFormClasses};
|
package/dist/head.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{aw as a,bw as b,cw as c,dw as d,ew as e,fw as f,gw as g,hw as h,iw as i,jw as j,kw as k,lw as l,mw as m,nw as n}from"./chunk-bykjk6vj.js";import"./chunk-3jm3snz8.js";export{g as useTitle,e as useSeoMeta,g as usePageTitle,d as useHead,c as resetHead,i as renderHtmlAttrs,h as renderHead,j as renderBodyAttrs,m as processTitleDirective,n as processMetaDirective,l as processHeadDirective,b as getPageMeta,a as getHead,f as definePageMeta,k as applyHead};
|
package/dist/heatmap.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{ow as a,pw as b,qw as c,rw as d,sw as e,tw as f}from"./chunk-7b0xdy5h.js";import"./chunk-3jm3snz8.js";export{c as injectHeatmap,d as heatmapDirective,b as generateHeatmapScript,a as defaultHeatmapConfig,f as createHeatmapAggregator,e as HeatmapAggregator};
|
package/dist/hot-reload.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{em as a,fm as b,gm as c,hm as d,im as e,jm as f,km as g,lm as h}from"./chunk-qxs6et76.js";import"./chunk-3jm3snz8.js";export{h as stopHmrServer,e as shouldReloadOnChange,f as shouldIgnoreFile,d as isCssOnlyChange,c as injectHotReload,g as getHmrServer,b as generateHotReloadScript,a as HotReloadServer};
|
package/dist/html-masking.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{lv as a,mv as b,nv as c,ov as d,pv as e,qv as f}from"./chunk-rb1e4cnb.js";import"./chunk-3jm3snz8.js";export{e as stashScriptElements,f as restoreStashedScripts,b as matchStyleElement,a as matchScriptElement,c as matchHtmlComment,d as maskAtElementPosition};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{mm as a,nm as b,om as c,pm as d}from"./chunk-6y4gqs1q.js";import"./chunk-3jm3snz8.js";export{a as generateHydrationBootstrap,b as generateComponentManifest,c as extractComponentName,d as extractBoundProps};
|
package/dist/hydration.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{qm as a,rm as b,sm as c,tm as d,um as e,vm as f,wm as g,xm as h,ym as i,zm as j}from"./chunk-qgxwmagw.js";import"./chunk-3jm3snz8.js";export{a as serializeState,h as hydrate,g as getHydrationRuntime,b as generateStateScript,f as generateHydrationScript,i as generateHydrationCSS,c as generateEventBindings,d as extractState,j as default,e as HydrationRuntime};
|