@absolutejs/absolute 0.19.0-beta.1082 → 0.19.0-beta.1083

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.
Files changed (148) hide show
  1. package/dist/.absolutejs/generated/angular/indexes/angular-example.1g23yr9r.js +167 -0
  2. package/dist/.absolutejs/generated/react/indexes/ReactExample.e6kzvjqy.js +3 -0
  3. package/dist/.absolutejs/generated/svelte/client/pages/SvelteExample.5pq2wmw6.js +1 -0
  4. package/dist/.absolutejs/generated/svelte/indexes/pages/SvelteExample.9zcw5vtg.js +1 -0
  5. package/dist/.absolutejs/generated/vue/client/pages/VueExample.q47m56s4.js +1 -0
  6. package/dist/.absolutejs/generated/vue/indexes/VueExample.6bqszcxv.js +1 -0
  7. package/dist/_prerendered/angular.html +45 -0
  8. package/dist/_prerendered/angular.meta +1 -0
  9. package/dist/_prerendered/html.html +70 -0
  10. package/dist/_prerendered/html.meta +1 -0
  11. package/dist/_prerendered/htmx.html +239 -0
  12. package/dist/_prerendered/htmx.meta +1 -0
  13. package/dist/_prerendered/index.html +70 -0
  14. package/dist/_prerendered/index.meta +1 -0
  15. package/dist/_prerendered/react.html +1 -0
  16. package/dist/_prerendered/react.meta +1 -0
  17. package/dist/_prerendered/vue.html +41 -0
  18. package/dist/_prerendered/vue.meta +1 -0
  19. package/dist/angular/browser.js +18 -18
  20. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
  21. package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
  22. package/dist/angular/components/defer-slot-templates.directive.js +2 -2
  23. package/dist/angular/components/defer-slot.component.js +3 -3
  24. package/dist/angular/components/image.component.js +3 -3
  25. package/dist/angular/components/stream-slot.component.js +3 -3
  26. package/dist/angular/example/angular/pages/angular-example.djr1v9hj.js +373 -0
  27. package/dist/angular/index.js +43 -43
  28. package/dist/angular/server.js +31 -31
  29. package/dist/angular/vendor/angular_common.js +310 -0
  30. package/dist/angular/vendor/angular_common_http.js +129 -0
  31. package/dist/angular/vendor/angular_core.js +1177 -0
  32. package/dist/angular/vendor/angular_core_primitives_di.js +36 -0
  33. package/dist/angular/vendor/angular_core_primitives_signals.js +132 -0
  34. package/dist/angular/vendor/angular_platform-browser.js +117 -0
  35. package/dist/angular/vendor/angular_router.js +6410 -0
  36. package/dist/angular/vendor/chunk-2c9evnn0.js +4764 -0
  37. package/dist/angular/vendor/chunk-3evcs0sk.js +2567 -0
  38. package/dist/angular/vendor/chunk-5h3qyvpj.js +729 -0
  39. package/dist/angular/vendor/chunk-hgg0w52m.js +62 -0
  40. package/dist/angular/vendor/chunk-n6rt7w2y.js +23 -0
  41. package/dist/angular/vendor/chunk-t4tc7c8b.js +28013 -0
  42. package/dist/angular/vendor/chunk-vqd7j0kb.js +1786 -0
  43. package/dist/angular/vendor/chunk-yqjkhk8j.js +145 -0
  44. package/dist/angular/vendor/server/angular_common.js +311 -0
  45. package/dist/angular/vendor/server/angular_common_http.js +130 -0
  46. package/dist/angular/vendor/server/angular_core.js +1178 -0
  47. package/dist/angular/vendor/server/angular_core_primitives_di.js +37 -0
  48. package/dist/angular/vendor/server/angular_core_primitives_signals.js +133 -0
  49. package/dist/angular/vendor/server/angular_platform-browser.js +118 -0
  50. package/dist/angular/vendor/server/angular_platform-server.js +59 -0
  51. package/dist/angular/vendor/server/angular_router.js +261 -0
  52. package/dist/angular/vendor/server/angular_ssr.js +11669 -0
  53. package/dist/angular/vendor/server/chunk-2akxms5e.js +2566 -0
  54. package/dist/angular/vendor/server/chunk-659a9c3p.js +6218 -0
  55. package/dist/angular/vendor/server/chunk-8eecnjd1.js +16686 -0
  56. package/dist/angular/vendor/server/chunk-9jz2apvp.js +743 -0
  57. package/dist/angular/vendor/server/chunk-dhs2bg35.js +48 -0
  58. package/dist/angular/vendor/server/chunk-hs2gc8sr.js +1787 -0
  59. package/dist/angular/vendor/server/chunk-k46n34mb.js +63 -0
  60. package/dist/angular/vendor/server/chunk-p2fdvyh1.js +4767 -0
  61. package/dist/angular/vendor/server/chunk-r0w9r4bg.js +730 -0
  62. package/dist/angular/vendor/server/chunk-vthxj7kd.js +146 -0
  63. package/dist/angular/vendor/server/chunk-xahr7f2f.js +35534 -0
  64. package/dist/assets/css/tailwind.generated.css +218 -0
  65. package/dist/assets/css/vue-example-compiled.abzaxheq.css +32 -0
  66. package/dist/assets/ico/favicon.ico +0 -0
  67. package/dist/assets/png/absolutejs-temp.png +0 -0
  68. package/dist/assets/svg/HTML5_Badge.svg +7 -0
  69. package/dist/assets/svg/angular.svg +18 -0
  70. package/dist/assets/svg/htmx-logo-black.svg +9 -0
  71. package/dist/assets/svg/htmx-logo-white.svg +9 -0
  72. package/dist/assets/svg/react.svg +1 -0
  73. package/dist/assets/svg/svelte-logo.svg +1 -0
  74. package/dist/assets/svg/vue-logo.svg +4 -0
  75. package/dist/build.js +42 -42
  76. package/dist/chunk-7pp6gkg8.js +2 -0
  77. package/dist/chunk-ek2qyx2c.js +11 -0
  78. package/dist/chunk-ysr5ycdt.js +2 -0
  79. package/dist/cli/config/server.js +11 -11
  80. package/dist/cli/index.js +12 -1
  81. package/dist/client/index.js +13 -13
  82. package/dist/client.tsx +15 -0
  83. package/dist/example/html/scripts/typescript-example.fqn9zkdh.js +1 -0
  84. package/dist/html/pages/HTMLExample.html +70 -0
  85. package/dist/htmx/htmx.min.js +1 -0
  86. package/dist/htmx/pages/HTMXExample.html +239 -0
  87. package/dist/htmx.min.js +1 -0
  88. package/dist/index.js +62 -62
  89. package/dist/indexes/angular-example.xsx88ph0.css +227 -0
  90. package/dist/indexes/html-example.s3banzdc.css +221 -0
  91. package/dist/indexes/htmx-example.5vgssc3f.css +221 -0
  92. package/dist/indexes/react-example.bz1k8xa2.css +245 -0
  93. package/dist/indexes/svelte-example.vy3015es.css +221 -0
  94. package/dist/indexes/vue-example.q4vf2wtq.css +228 -0
  95. package/dist/islands/index.js +14 -14
  96. package/dist/manifest.json +26 -0
  97. package/dist/nested/dynamic-module.txt +1 -0
  98. package/dist/package-asset.txt +1 -0
  99. package/dist/react/browser.js +3 -3
  100. package/dist/react/components/browser/index.js +5 -5
  101. package/dist/react/components/index.js +7 -7
  102. package/dist/react/hooks/index.js +2 -2
  103. package/dist/react/index.js +30 -30
  104. package/dist/react/jsxDevRuntimeCompat.js +1 -1
  105. package/dist/react/router/browser.js +2 -2
  106. package/dist/react/router/index.js +2 -2
  107. package/dist/react/server.js +13 -13
  108. package/dist/react/vendor/chunk-2kh60w9b.js +33 -0
  109. package/dist/react/vendor/chunk-9g12fvrw.js +236 -0
  110. package/dist/react/vendor/chunk-rejbymp5.js +837 -0
  111. package/dist/react/vendor/chunk-wwy122hz.js +200 -0
  112. package/dist/react/vendor/react-dom.js +44 -0
  113. package/dist/react/vendor/react-dom_client.js +15864 -0
  114. package/dist/react/vendor/react-refresh_runtime.js +304 -0
  115. package/dist/react/vendor/react.js +103 -0
  116. package/dist/react/vendor/react_jsx-dev-runtime.js +17 -0
  117. package/dist/react/vendor/react_jsx-runtime.js +22 -0
  118. package/dist/robots.txt +2 -0
  119. package/dist/runtime/blob.txt +1 -0
  120. package/dist/runtime/dir-join.txt +1 -0
  121. package/dist/runtime/nested/binary.bin +1 -0
  122. package/dist/runtime/nested/readfile.txt +1 -0
  123. package/dist/runtime/template.html +1 -0
  124. package/dist/server.js +92156 -0
  125. package/dist/sitemap.xml +48 -0
  126. package/dist/svelte/index.js +26 -26
  127. package/dist/svelte/router/page.js +1 -1
  128. package/dist/svelte/server/pages/SvelteExample.fxs20w1b.js +290 -0
  129. package/dist/svelte/server.js +13 -13
  130. package/dist/svelte/vendor/chunk-5qdxn1p3.js +4586 -0
  131. package/dist/svelte/vendor/chunk-8qdfbbez.js +12 -0
  132. package/dist/svelte/vendor/chunk-r2jyyfjt.js +4495 -0
  133. package/dist/svelte/vendor/svelte.js +49 -0
  134. package/dist/svelte/vendor/svelte_internal.js +2 -0
  135. package/dist/svelte/vendor/svelte_internal_client.js +395 -0
  136. package/dist/svelte/vendor/svelte_internal_disclose-version.js +7 -0
  137. package/dist/svelte/vendor/svelte_internal_flags_async.js +6 -0
  138. package/dist/svelte/vendor/svelte_internal_flags_legacy.js +6 -0
  139. package/dist/svelte/vendor/svelte_store.js +99 -0
  140. package/dist/vue/browser.js +3 -3
  141. package/dist/vue/components/Image.js +1 -1
  142. package/dist/vue/components/index.js +5 -5
  143. package/dist/vue/index.js +36 -36
  144. package/dist/vue/server/pages/VueExample.fyhmna2p.css +32 -0
  145. package/dist/vue/server/pages/VueExample.fyhmna2p.js +75 -0
  146. package/dist/vue/server.js +13 -13
  147. package/dist/vue/vendor/vue.js +11011 -0
  148. package/package.json +1 -1
@@ -0,0 +1,49 @@
1
+ import {
2
+ afterUpdate,
3
+ beforeUpdate,
4
+ createEventDispatcher,
5
+ createRawSnippet,
6
+ getAbortSignal,
7
+ hydratable,
8
+ hydrate,
9
+ mount,
10
+ onDestroy,
11
+ onMount,
12
+ unmount
13
+ } from "./chunk-5qdxn1p3.js";
14
+ import {
15
+ createContext,
16
+ flushSync,
17
+ fork,
18
+ getAllContexts,
19
+ getContext,
20
+ hasContext,
21
+ setContext,
22
+ settled,
23
+ tick,
24
+ untrack
25
+ } from "./chunk-r2jyyfjt.js";
26
+ import"./chunk-8qdfbbez.js";
27
+ export {
28
+ untrack,
29
+ unmount,
30
+ tick,
31
+ settled,
32
+ setContext,
33
+ onMount,
34
+ onDestroy,
35
+ mount,
36
+ hydrate,
37
+ hydratable,
38
+ hasContext,
39
+ getContext,
40
+ getAllContexts,
41
+ getAbortSignal,
42
+ fork,
43
+ flushSync,
44
+ createRawSnippet,
45
+ createEventDispatcher,
46
+ createContext,
47
+ beforeUpdate,
48
+ afterUpdate
49
+ };
@@ -0,0 +1,2 @@
1
+ // node_modules/svelte/src/internal/index.js
2
+ throw new Error(`Your application, or one of its dependencies, imported from 'svelte/internal', which was a private module used by Svelte 4 components that no longer exists in Svelte 5. It is not intended to be public API. If you're a library author and you used 'svelte/internal' deliberately, please raise an issue on https://github.com/sveltejs/svelte/issues detailing your use case.`);
@@ -0,0 +1,395 @@
1
+ import {
2
+ CLASS,
3
+ STYLE,
4
+ action,
5
+ add_legacy_event_listener,
6
+ add_locations,
7
+ animation,
8
+ append,
9
+ append_styles,
10
+ apply,
11
+ assign,
12
+ assign_async,
13
+ async,
14
+ attach,
15
+ attr,
16
+ attribute_effect,
17
+ await_block,
18
+ bind_active_element,
19
+ bind_buffered,
20
+ bind_checked,
21
+ bind_content_editable,
22
+ bind_current_time,
23
+ bind_element_size,
24
+ bind_ended,
25
+ bind_files,
26
+ bind_focused,
27
+ bind_group,
28
+ bind_muted,
29
+ bind_online,
30
+ bind_paused,
31
+ bind_playback_rate,
32
+ bind_played,
33
+ bind_prop,
34
+ bind_property,
35
+ bind_ready_state,
36
+ bind_resize_observer,
37
+ bind_seekable,
38
+ bind_seeking,
39
+ bind_select_value,
40
+ bind_this,
41
+ bind_value,
42
+ bind_volume,
43
+ bind_window_scroll,
44
+ bind_window_size,
45
+ bubble_event,
46
+ check_target,
47
+ cleanup_styles,
48
+ clsx,
49
+ comment,
50
+ component,
51
+ createAttachmentKey,
52
+ create_custom_element,
53
+ create_ownership_validator,
54
+ css_props,
55
+ customizable_select,
56
+ delegate,
57
+ delegated,
58
+ each,
59
+ element,
60
+ event,
61
+ from_html,
62
+ from_mathml,
63
+ from_svg,
64
+ from_tree,
65
+ head,
66
+ hmr,
67
+ html,
68
+ if_block,
69
+ index,
70
+ init,
71
+ init_select,
72
+ inspect,
73
+ key,
74
+ legacy_api,
75
+ legacy_rest_props,
76
+ log_if_contains_state,
77
+ once,
78
+ preventDefault,
79
+ prevent_snippet_stringification,
80
+ prop,
81
+ props_id,
82
+ raf,
83
+ reactive_import,
84
+ remove_input_defaults,
85
+ replay_events,
86
+ rest_props,
87
+ sanitize_slots,
88
+ select_option,
89
+ selectedcontent,
90
+ self,
91
+ set_attribute,
92
+ set_checked,
93
+ set_class,
94
+ set_custom_element_data,
95
+ set_default_checked,
96
+ set_default_value,
97
+ set_selected,
98
+ set_style,
99
+ set_text,
100
+ set_value,
101
+ set_xlink_attribute,
102
+ slot,
103
+ snippet,
104
+ spread_props,
105
+ stopImmediatePropagation,
106
+ stopPropagation,
107
+ text,
108
+ transition,
109
+ trusted,
110
+ update_legacy_props,
111
+ update_pre_prop,
112
+ update_prop,
113
+ validate_binding,
114
+ validate_dynamic_element_tag,
115
+ validate_snippet_args,
116
+ validate_store,
117
+ validate_void_dynamic_element,
118
+ with_script,
119
+ wrap_snippet
120
+ } from "./chunk-5qdxn1p3.js";
121
+ import {
122
+ $document,
123
+ $window,
124
+ FILENAME,
125
+ HMR,
126
+ NAMESPACE_SVG,
127
+ aborted,
128
+ active_effect,
129
+ add_svelte_meta,
130
+ async_derived,
131
+ autofocus,
132
+ boundary,
133
+ child,
134
+ deep_read,
135
+ deep_read_state,
136
+ deferred_template_effect,
137
+ derived_safe_equal,
138
+ eager,
139
+ effect,
140
+ effect_root,
141
+ effect_tracking,
142
+ equals,
143
+ exclude_from_object,
144
+ fallback,
145
+ first_child,
146
+ flushSync,
147
+ for_await_track_reactivity_loss,
148
+ get1 as get,
149
+ hydrate_template,
150
+ invalid_default_snippet,
151
+ invalidate_inner_signals,
152
+ invalidate_store,
153
+ invoke_error_boundary,
154
+ legacy_pre_effect,
155
+ legacy_pre_effect_reset,
156
+ mark_store_binding,
157
+ mutable_source,
158
+ mutate,
159
+ next,
160
+ noop,
161
+ pending,
162
+ pop,
163
+ proxy,
164
+ push,
165
+ remove_textarea_child,
166
+ render_effect,
167
+ reset,
168
+ run1 as run,
169
+ run_after_blockers,
170
+ safe_get,
171
+ save,
172
+ set,
173
+ setup_stores,
174
+ sibling,
175
+ snapshot,
176
+ state,
177
+ store_get,
178
+ store_mutate,
179
+ store_set,
180
+ store_unsub,
181
+ strict_equals,
182
+ tag,
183
+ tag_proxy,
184
+ template_effect,
185
+ tick,
186
+ to_array,
187
+ trace,
188
+ track_reactivity_loss,
189
+ untrack,
190
+ update,
191
+ update_pre,
192
+ update_pre_store,
193
+ update_store,
194
+ user_derived,
195
+ user_effect,
196
+ user_pre_effect,
197
+ wait
198
+ } from "./chunk-r2jyyfjt.js";
199
+ import"./chunk-8qdfbbez.js";
200
+ export {
201
+ wrap_snippet,
202
+ with_script,
203
+ $window as window,
204
+ wait,
205
+ validate_void_dynamic_element,
206
+ validate_store,
207
+ validate_snippet_args,
208
+ validate_dynamic_element_tag,
209
+ validate_binding,
210
+ user_pre_effect,
211
+ user_effect,
212
+ update_store,
213
+ update_prop,
214
+ update_pre_store,
215
+ update_pre_prop,
216
+ update_pre,
217
+ update_legacy_props,
218
+ update,
219
+ untrack,
220
+ trusted,
221
+ transition,
222
+ track_reactivity_loss,
223
+ trace,
224
+ to_array,
225
+ tick,
226
+ text,
227
+ template_effect,
228
+ tag_proxy,
229
+ tag,
230
+ strict_equals,
231
+ store_unsub,
232
+ store_set,
233
+ store_mutate,
234
+ store_get,
235
+ stopPropagation,
236
+ stopImmediatePropagation,
237
+ state,
238
+ spread_props,
239
+ snippet,
240
+ snapshot,
241
+ slot,
242
+ sibling,
243
+ setup_stores,
244
+ set_xlink_attribute,
245
+ set_value,
246
+ set_text,
247
+ set_style,
248
+ set_selected,
249
+ set_default_value,
250
+ set_default_checked,
251
+ set_custom_element_data,
252
+ set_class,
253
+ set_checked,
254
+ set_attribute,
255
+ set,
256
+ self,
257
+ selectedcontent,
258
+ select_option,
259
+ save,
260
+ sanitize_slots,
261
+ safe_get,
262
+ run_after_blockers,
263
+ run,
264
+ rest_props,
265
+ reset,
266
+ replay_events,
267
+ render_effect,
268
+ remove_textarea_child,
269
+ remove_input_defaults,
270
+ reactive_import,
271
+ raf,
272
+ push,
273
+ proxy,
274
+ props_id,
275
+ prop,
276
+ prevent_snippet_stringification,
277
+ preventDefault,
278
+ pop,
279
+ pending,
280
+ once,
281
+ noop,
282
+ next,
283
+ mutate,
284
+ mutable_source,
285
+ mark_store_binding,
286
+ log_if_contains_state,
287
+ legacy_rest_props,
288
+ legacy_pre_effect_reset,
289
+ legacy_pre_effect,
290
+ legacy_api,
291
+ key,
292
+ invoke_error_boundary,
293
+ invalidate_store,
294
+ invalidate_inner_signals,
295
+ invalid_default_snippet,
296
+ inspect,
297
+ init_select,
298
+ init,
299
+ index,
300
+ if_block as if,
301
+ hydrate_template,
302
+ html,
303
+ hmr,
304
+ head,
305
+ get,
306
+ from_tree,
307
+ from_svg,
308
+ from_mathml,
309
+ from_html,
310
+ for_await_track_reactivity_loss,
311
+ flushSync as flush,
312
+ first_child,
313
+ fallback,
314
+ exclude_from_object,
315
+ event,
316
+ equals,
317
+ element,
318
+ effect_tracking,
319
+ effect_root,
320
+ effect,
321
+ eager,
322
+ each,
323
+ $document as document,
324
+ derived_safe_equal,
325
+ user_derived as derived,
326
+ delegated,
327
+ delegate,
328
+ deferred_template_effect,
329
+ deep_read_state,
330
+ deep_read,
331
+ customizable_select,
332
+ css_props,
333
+ create_ownership_validator,
334
+ create_custom_element,
335
+ component,
336
+ comment,
337
+ clsx,
338
+ cleanup_styles,
339
+ child,
340
+ check_target,
341
+ bubble_event,
342
+ boundary,
343
+ bind_window_size,
344
+ bind_window_scroll,
345
+ bind_volume,
346
+ bind_value,
347
+ bind_this,
348
+ bind_select_value,
349
+ bind_seeking,
350
+ bind_seekable,
351
+ bind_resize_observer,
352
+ bind_ready_state,
353
+ bind_property,
354
+ bind_prop,
355
+ bind_played,
356
+ bind_playback_rate,
357
+ bind_paused,
358
+ bind_online,
359
+ bind_muted,
360
+ bind_group,
361
+ bind_focused,
362
+ bind_files,
363
+ bind_ended,
364
+ bind_element_size,
365
+ bind_current_time,
366
+ bind_content_editable,
367
+ bind_checked,
368
+ bind_buffered,
369
+ bind_active_element,
370
+ await_block as await,
371
+ autofocus,
372
+ attribute_effect,
373
+ attr,
374
+ createAttachmentKey as attachment,
375
+ attach,
376
+ async_derived,
377
+ async,
378
+ assign_async,
379
+ assign,
380
+ apply,
381
+ append_styles,
382
+ append,
383
+ animation,
384
+ add_svelte_meta,
385
+ add_locations,
386
+ add_legacy_event_listener,
387
+ active_effect,
388
+ action,
389
+ aborted,
390
+ STYLE,
391
+ NAMESPACE_SVG,
392
+ HMR,
393
+ FILENAME,
394
+ CLASS
395
+ };
@@ -0,0 +1,7 @@
1
+ // node_modules/svelte/src/version.js
2
+ var PUBLIC_VERSION = "5";
3
+
4
+ // node_modules/svelte/src/internal/disclose-version.js
5
+ if (typeof window !== "undefined") {
6
+ ((window.__svelte ??= {}).v ??= new Set).add(PUBLIC_VERSION);
7
+ }
@@ -0,0 +1,6 @@
1
+ import {
2
+ enable_async_mode_flag
3
+ } from "./chunk-8qdfbbez.js";
4
+
5
+ // node_modules/svelte/src/internal/flags/async.js
6
+ enable_async_mode_flag();
@@ -0,0 +1,6 @@
1
+ import {
2
+ enable_legacy_mode_flag
3
+ } from "./chunk-8qdfbbez.js";
4
+
5
+ // node_modules/svelte/src/internal/flags/legacy.js
6
+ enable_legacy_mode_flag();
@@ -0,0 +1,99 @@
1
+ import {
2
+ active_effect,
3
+ active_reaction,
4
+ createSubscriber,
5
+ derived,
6
+ effect_root,
7
+ effect_tracking,
8
+ get,
9
+ readable,
10
+ readonly,
11
+ render_effect,
12
+ set_active_effect,
13
+ set_active_reaction,
14
+ writable
15
+ } from "./chunk-r2jyyfjt.js";
16
+ import"./chunk-8qdfbbez.js";
17
+
18
+ // node_modules/svelte/src/store/index-client.js
19
+ function toStore(get2, set) {
20
+ var effect = active_effect;
21
+ var reaction = active_reaction;
22
+ var init_value = get2();
23
+ const store = writable(init_value, (set2) => {
24
+ var ran = init_value !== get2();
25
+ var teardown;
26
+ var previous_reaction = active_reaction;
27
+ var previous_effect = active_effect;
28
+ set_active_reaction(reaction);
29
+ set_active_effect(effect);
30
+ try {
31
+ teardown = effect_root(() => {
32
+ render_effect(() => {
33
+ const value = get2();
34
+ if (ran)
35
+ set2(value);
36
+ });
37
+ });
38
+ } finally {
39
+ set_active_reaction(previous_reaction);
40
+ set_active_effect(previous_effect);
41
+ }
42
+ ran = true;
43
+ return teardown;
44
+ });
45
+ if (set) {
46
+ return {
47
+ set,
48
+ update: (fn) => set(fn(get2())),
49
+ subscribe: store.subscribe
50
+ };
51
+ }
52
+ return {
53
+ subscribe: store.subscribe
54
+ };
55
+ }
56
+ function fromStore(store) {
57
+ let value = undefined;
58
+ const subscribe = createSubscriber((update) => {
59
+ let ran = false;
60
+ const unsubscribe = store.subscribe((v) => {
61
+ value = v;
62
+ if (ran)
63
+ update();
64
+ });
65
+ ran = true;
66
+ return unsubscribe;
67
+ });
68
+ function current() {
69
+ if (effect_tracking()) {
70
+ subscribe();
71
+ return value;
72
+ }
73
+ return get(store);
74
+ }
75
+ if ("set" in store) {
76
+ return {
77
+ get current() {
78
+ return current();
79
+ },
80
+ set current(v) {
81
+ store.set(v);
82
+ }
83
+ };
84
+ }
85
+ return {
86
+ get current() {
87
+ return current();
88
+ }
89
+ };
90
+ }
91
+ export {
92
+ writable,
93
+ toStore,
94
+ readonly,
95
+ readable,
96
+ get,
97
+ fromStore,
98
+ derived
99
+ };
@@ -143,7 +143,7 @@ var init_islandMarkupAttributes = __esm(() => {
143
143
  });
144
144
 
145
145
  // src/vue/Island.browser.ts
146
- import { defineComponent, h } from "vue";
146
+ import { defineComponent, h } from "../node_modules/vue/index.mjs";
147
147
 
148
148
  // src/client/preserveIslandMarkup.ts
149
149
  init_islandMarkupAttributes();
@@ -310,7 +310,7 @@ var Island = defineComponent({
310
310
  }
311
311
  });
312
312
  // src/vue/createIsland.browser.ts
313
- import { defineComponent as defineComponent2, h as h2 } from "vue";
313
+ import { defineComponent as defineComponent2, h as h2 } from "../node_modules/vue/index.mjs";
314
314
  var defineRuntimeIslandComponent = (setup) => defineComponent2({
315
315
  name: "AbsoluteIsland",
316
316
  props: {
@@ -342,7 +342,7 @@ var createTypedIsland = (_registry) => defineRuntimeIslandComponent((props) => {
342
342
  });
343
343
  });
344
344
  // src/vue/useIslandStore.ts
345
- import { customRef, onBeforeUnmount } from "vue";
345
+ import { customRef, onBeforeUnmount } from "../node_modules/vue/index.mjs";
346
346
 
347
347
  // node_modules/zustand/esm/vanilla.mjs
348
348
  var createStoreImpl = (createState) => {
@@ -99,7 +99,7 @@ var init_constants = __esm(() => {
99
99
  });
100
100
 
101
101
  // src/vue/components/Image.ts
102
- import { computed, defineComponent, h, ref } from "vue";
102
+ import { computed, defineComponent, h, ref } from "../../node_modules/vue/index.mjs";
103
103
 
104
104
  // src/utils/imageClient.ts
105
105
  init_constants();
@@ -146,7 +146,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
146
146
  };
147
147
 
148
148
  // src/vue/components/Image.ts
149
- import { computed, defineComponent, h, ref } from "vue";
149
+ import { computed, defineComponent, h, ref } from "../../node_modules/vue/index.mjs";
150
150
 
151
151
  // src/utils/imageClient.ts
152
152
  init_constants();
@@ -314,10 +314,10 @@ import {
314
314
  onBeforeUnmount,
315
315
  ref as ref2,
316
316
  useSSRContext
317
- } from "vue";
317
+ } from "../../node_modules/vue/index.mjs";
318
318
  var renderVueNodesToHtml = async (nodes) => {
319
- const { createSSRApp, h: createVNode } = await import("vue");
320
- const { renderToString } = await import("vue/server-renderer");
319
+ const { createSSRApp, h: createVNode } = await import("../../node_modules/vue/index.mjs");
320
+ const { renderToString } = await import("../../node_modules/vue/server-renderer/index.mjs");
321
321
  const app = createSSRApp({
322
322
  render: () => createVNode("div", undefined, nodes ?? undefined)
323
323
  });
@@ -523,7 +523,7 @@ var SuspenseSlot = defineComponent2({
523
523
  }
524
524
  });
525
525
  // src/vue/components/StreamSlot.ts
526
- import { defineComponent as defineComponent3, h as h3, useSSRContext as useSSRContext2 } from "vue";
526
+ import { defineComponent as defineComponent3, h as h3, useSSRContext as useSSRContext2 } from "../../node_modules/vue/index.mjs";
527
527
  var StreamSlot = defineComponent3({
528
528
  name: "AbsoluteStreamSlot",
529
529
  props: {