voodoojs 0.10.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { __publicField } from './chunk-2UST7MKN.js';
1
+ import { __publicField } from './chunk-EYGQD7OP.js';
2
2
 
3
3
  /**
4
- * Voodoo.js v0.10.1
4
+ * Voodoo.js v0.11.0
5
5
  * JavaScript feels like magic.
6
6
  * (c) 2026 Voodoo.js contributors. MIT License.
7
7
  */
@@ -637,5 +637,5 @@ function traverse(value, seen = /* @__PURE__ */ new Set()) {
637
637
  }
638
638
 
639
639
  export { EffectScope, ITERATE_KEY, ReactiveEffect, TriggerType, computed, effect, effectScope, enableTracking, flushSync, getActiveEffect, getActiveScope, handleError, hasChanged, isReactive, isRef, markRaw, nextTick, pauseTracking, queueJob, queuePostFlush, reactive, ref, resetTracking, setErrorHandler, shallowRef, stop, toRaw, track, trigger, unref, warn, watch, watchEffect };
640
- //# sourceMappingURL=chunk-246ZC2JD.js.map
641
- //# sourceMappingURL=chunk-246ZC2JD.js.map
640
+ //# sourceMappingURL=chunk-5GWN7E6N.js.map
641
+ //# sourceMappingURL=chunk-5GWN7E6N.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Voodoo.js v0.10.1
2
+ * Voodoo.js v0.11.0
3
3
  * JavaScript feels like magic.
4
4
  * (c) 2026 Voodoo.js contributors. MIT License.
5
5
  */
@@ -12,5 +12,5 @@ var __export = (target, all) => {
12
12
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
13
13
 
14
14
  export { __export, __publicField };
15
- //# sourceMappingURL=chunk-2UST7MKN.js.map
16
- //# sourceMappingURL=chunk-2UST7MKN.js.map
15
+ //# sourceMappingURL=chunk-EYGQD7OP.js.map
16
+ //# sourceMappingURL=chunk-EYGQD7OP.js.map
@@ -1,7 +1,7 @@
1
- import { __export } from './chunk-2UST7MKN.js';
1
+ import { __export } from './chunk-EYGQD7OP.js';
2
2
 
3
3
  /**
4
- * Voodoo.js v0.10.1
4
+ * Voodoo.js v0.11.0
5
5
  * JavaScript feels like magic.
6
6
  * (c) 2026 Voodoo.js contributors. MIT License.
7
7
  */
@@ -397,5 +397,5 @@ var device = {
397
397
  };
398
398
 
399
399
  export { capitalize, chunk, clone, debounce, device, escapeHtml, formatCurrency, formatDate, formatFileSize, formatNumber, formatPercent, get, groupBy, isBrowser, matchesMedia, memoize, merge, once, parseDuration, random, relativeTime, sample, set, setFormatDefaults, sleep, slugify, sortBy, stripTags, throttle, titleCase, truncate, uid, unique, utils_exports, uuid };
400
- //# sourceMappingURL=chunk-F3Z3HMZR.js.map
401
- //# sourceMappingURL=chunk-F3Z3HMZR.js.map
400
+ //# sourceMappingURL=chunk-FBQPFIHZ.js.map
401
+ //# sourceMappingURL=chunk-FBQPFIHZ.js.map
@@ -1,8 +1,8 @@
1
- import { reactive } from './chunk-246ZC2JD.js';
2
- import { warnOnce } from './chunk-RREZZ4FB.js';
1
+ import { reactive } from './chunk-5GWN7E6N.js';
2
+ import { warnOnce } from './chunk-OTRGHJIJ.js';
3
3
 
4
4
  /**
5
- * Voodoo.js v0.10.1
5
+ * Voodoo.js v0.11.0
6
6
  * JavaScript feels like magic.
7
7
  * (c) 2026 Voodoo.js contributors. MIT License.
8
8
  */
@@ -942,5 +942,5 @@ Object.defineProperty(factory, "open", {
942
942
  var socket = factory;
943
943
 
944
944
  export { ENGINE, SIO, createSocket, decodeEngine, decodeSocketIo, devtoolsBus, encodeSocketIo, engineURL, resolveSocketURL, socket, socketSupported };
945
- //# sourceMappingURL=chunk-5D7TM3GL.js.map
946
- //# sourceMappingURL=chunk-5D7TM3GL.js.map
945
+ //# sourceMappingURL=chunk-KAS77SGY.js.map
946
+ //# sourceMappingURL=chunk-KAS77SGY.js.map
@@ -1,10 +1,10 @@
1
- import { reactive, handleError, EffectScope, effect } from './chunk-246ZC2JD.js';
2
- import { inDevelopment, warnInvalidExpression, warnUnknownDirective } from './chunk-RREZZ4FB.js';
3
- import { config, directives, components } from './chunk-D4DNTWIS.js';
4
- import { __publicField } from './chunk-2UST7MKN.js';
1
+ import { reactive, handleError, EffectScope, effect } from './chunk-5GWN7E6N.js';
2
+ import { inDevelopment, warnInvalidExpression, warnUnknownDirective } from './chunk-OTRGHJIJ.js';
3
+ import { config, directives, components } from './chunk-WIXAZJYS.js';
4
+ import { __publicField } from './chunk-EYGQD7OP.js';
5
5
 
6
6
  /**
7
- * Voodoo.js v0.10.1
7
+ * Voodoo.js v0.11.0
8
8
  * JavaScript feels like magic.
9
9
  * (c) 2026 Voodoo.js contributors. MIT License.
10
10
  */
@@ -2102,5 +2102,5 @@ function refresh(root) {
2102
2102
  }
2103
2103
 
2104
2104
  export { Scope, VoodooRuntimeError, VoodooSyntaxError, addCleanup, allowedGlobals, clearParseCache, closestDirective, collectDirectives, componentAliases, destroy, evaluate, evaluateIn, findScope, getEffectScopes, getScope, hadDirectives, hasAttr, hasDirective, hasDirectives, isInitialized, magic, magics, markInitialized, markNodeScope, markSkipChildren, onStart, originalAttributes, parse, parseAttribute, queryDirective, readAttr, refresh, removeQuietly, restoreAttributes, rootScope, setComponentMounter, start, stopObserving, stringify, tokenize, unwrap, walk };
2105
- //# sourceMappingURL=chunk-5E3UZREN.js.map
2106
- //# sourceMappingURL=chunk-5E3UZREN.js.map
2105
+ //# sourceMappingURL=chunk-NUBOX6YQ.js.map
2106
+ //# sourceMappingURL=chunk-NUBOX6YQ.js.map
@@ -1,7 +1,7 @@
1
- import { config } from './chunk-D4DNTWIS.js';
1
+ import { config } from './chunk-WIXAZJYS.js';
2
2
 
3
3
  /**
4
- * Voodoo.js v0.10.1
4
+ * Voodoo.js v0.11.0
5
5
  * JavaScript feels like magic.
6
6
  * (c) 2026 Voodoo.js contributors. MIT License.
7
7
  */
@@ -78,5 +78,5 @@ function warnAlias(alias, canonical) {
78
78
  }
79
79
 
80
80
  export { describeElement, inDevelopment, warn, warnAlias, warnDuplicateKey, warnInvalidExpression, warnOnce, warnRequiredProp, warnUnknownComponent, warnUnknownDirective };
81
- //# sourceMappingURL=chunk-RREZZ4FB.js.map
82
- //# sourceMappingURL=chunk-RREZZ4FB.js.map
81
+ //# sourceMappingURL=chunk-OTRGHJIJ.js.map
82
+ //# sourceMappingURL=chunk-OTRGHJIJ.js.map
@@ -1,14 +1,14 @@
1
- import { http, HttpError, request } from './chunk-DNIQLT66.js';
2
- import { stringify, markInitialized, markSkipChildren, destroy, walk, removeQuietly, evaluateIn, addCleanup, markNodeScope, setComponentMounter, closestDirective, magic, readAttr, hasAttr, componentAliases, Scope, queryDirective, parse, evaluate, parseAttribute, originalAttributes, hasDirective, findScope, VoodooRuntimeError, VoodooSyntaxError, allowedGlobals, clearParseCache, tokenize, getScope, stopObserving, refresh, start, magics, rootScope, isInitialized, restoreAttributes, hasDirectives } from './chunk-5E3UZREN.js';
3
- import { ref, reactive, handleError, nextTick, queuePostFlush, warn, watch, EffectScope, computed, effect, toRaw, flushSync, effectScope, stop, unref, markRaw, watchEffect, shallowRef, setErrorHandler } from './chunk-246ZC2JD.js';
4
- import { warnDuplicateKey, warn as warn$1, describeElement, warnUnknownComponent, warnAlias, warnRequiredProp } from './chunk-RREZZ4FB.js';
5
- import { parseDuration, debounce, utils_exports, throttle, uid, device, escapeHtml } from './chunk-F3Z3HMZR.js';
6
- import { injectStyle, ensureTokens } from './chunk-KQRWQPD6.js';
7
- import { defineDirective, config, PRIORITY, directives, normalizeComponentName, components, usePlugin } from './chunk-D4DNTWIS.js';
8
- import { __publicField } from './chunk-2UST7MKN.js';
1
+ import { http, HttpError, request } from './chunk-VQEJ4DTE.js';
2
+ import { stringify, markInitialized, markSkipChildren, destroy, walk, removeQuietly, evaluateIn, addCleanup, markNodeScope, setComponentMounter, closestDirective, magic, readAttr, hasAttr, componentAliases, Scope, queryDirective, parse, evaluate, parseAttribute, originalAttributes, hasDirective, findScope, VoodooRuntimeError, VoodooSyntaxError, allowedGlobals, clearParseCache, tokenize, getScope, stopObserving, refresh, start, magics, rootScope, isInitialized, restoreAttributes, hasDirectives } from './chunk-NUBOX6YQ.js';
3
+ import { ref, reactive, handleError, nextTick, queuePostFlush, warn, watch, EffectScope, computed, effect, toRaw, flushSync, effectScope, stop, unref, markRaw, watchEffect, shallowRef, setErrorHandler } from './chunk-5GWN7E6N.js';
4
+ import { warnDuplicateKey, warn as warn$1, describeElement, warnUnknownComponent, warnAlias, warnRequiredProp } from './chunk-OTRGHJIJ.js';
5
+ import { parseDuration, debounce, utils_exports, throttle, uid, device, escapeHtml } from './chunk-FBQPFIHZ.js';
6
+ import { injectStyle, ensureTokens } from './chunk-QL2GIGVQ.js';
7
+ import { defineDirective, config, PRIORITY, directives, normalizeComponentName, components, usePlugin } from './chunk-WIXAZJYS.js';
8
+ import { __publicField } from './chunk-EYGQD7OP.js';
9
9
 
10
10
  /**
11
- * Voodoo.js v0.10.1
11
+ * Voodoo.js v0.11.0
12
12
  * JavaScript feels like magic.
13
13
  * (c) 2026 Voodoo.js contributors. MIT License.
14
14
  */
@@ -2662,7 +2662,7 @@ var jsonStylesInjected = false;
2662
2662
  function injectJSONStyles() {
2663
2663
  if (jsonStylesInjected) return;
2664
2664
  jsonStylesInjected = true;
2665
- void import('./style-BSEVBI4K.js').then(({ injectStyle: injectStyle2 }) => {
2665
+ void import('./style-ZM3TAT4K.js').then(({ injectStyle: injectStyle2 }) => {
2666
2666
  injectStyle2(
2667
2667
  "json-render",
2668
2668
  `
@@ -2949,7 +2949,7 @@ function data(values) {
2949
2949
  Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
2950
2950
  return rootScope.data;
2951
2951
  }
2952
- var version2 = "0.10.1";
2952
+ var version2 = "0.11.0";
2953
2953
  var core = {
2954
2954
  // Utilities first: Voodoo's own names can override.
2955
2955
  ...utils_exports,
@@ -10271,5 +10271,5 @@ defineDirective(
10271
10271
  );
10272
10272
 
10273
10273
  export { VoodooCollection, alert, allStores, applyMask, cache, clearErrors, clipboard, confirm, cookie, core, createApp, createResource, defineComponent, dialog, efeitos, ensurePalette, enter, fadeIn, fadeOut, fromHtml, hotkey, instances, leave, mask, masks, messages, modal, mountComponent, network, palette, prompt, query, ready, ready2, registerMask, removeStore, screen, serializeForm, session, showFieldError, showFormErrors, slideDown, slideUp, sound, storage, store, storeNames, theme, toast, unmask, url, validate, validator, viewTransition, whenElement, whenReady };
10274
- //# sourceMappingURL=chunk-4MJIS5RZ.js.map
10275
- //# sourceMappingURL=chunk-4MJIS5RZ.js.map
10274
+ //# sourceMappingURL=chunk-PBZCYF2Y.js.map
10275
+ //# sourceMappingURL=chunk-PBZCYF2Y.js.map
@@ -1,7 +1,7 @@
1
- import { config } from './chunk-D4DNTWIS.js';
1
+ import { config } from './chunk-WIXAZJYS.js';
2
2
 
3
3
  /**
4
- * Voodoo.js v0.10.1
4
+ * Voodoo.js v0.11.0
5
5
  * JavaScript feels like magic.
6
6
  * (c) 2026 Voodoo.js contributors. MIT License.
7
7
  */
@@ -68,5 +68,5 @@ function ensureTokens() {
68
68
  }
69
69
 
70
70
  export { BASE_TOKENS, ensureTokens, injectStyle };
71
- //# sourceMappingURL=chunk-KQRWQPD6.js.map
72
- //# sourceMappingURL=chunk-KQRWQPD6.js.map
71
+ //# sourceMappingURL=chunk-QL2GIGVQ.js.map
72
+ //# sourceMappingURL=chunk-QL2GIGVQ.js.map
@@ -1,8 +1,8 @@
1
- import { handleError } from './chunk-246ZC2JD.js';
2
- import { warn } from './chunk-RREZZ4FB.js';
1
+ import { handleError } from './chunk-5GWN7E6N.js';
2
+ import { warn } from './chunk-OTRGHJIJ.js';
3
3
 
4
4
  /**
5
- * Voodoo.js v0.10.1
5
+ * Voodoo.js v0.11.0
6
6
  * JavaScript feels like magic.
7
7
  * (c) 2026 Voodoo.js contributors. MIT License.
8
8
  */
@@ -1192,5 +1192,5 @@ var gpu = {
1192
1192
  };
1193
1193
 
1194
1194
  export { clock, compute, describeWgslType, destroy, effect, findEntry, flattenValue, frame, frameLoop, gpu, inferStruct, init, packStruct, reflectBindings, reflectEntries, reflectStructs, reflectWgsl, resetShared, shared, splitTopLevel, stripWgslComments, supported, surface, target, uniforms, writeField, writeStruct };
1195
- //# sourceMappingURL=chunk-WYSN4IOV.js.map
1196
- //# sourceMappingURL=chunk-WYSN4IOV.js.map
1195
+ //# sourceMappingURL=chunk-TZJSPNLV.js.map
1196
+ //# sourceMappingURL=chunk-TZJSPNLV.js.map
@@ -1,9 +1,9 @@
1
- import { warnOnce } from './chunk-RREZZ4FB.js';
2
- import { parseDuration } from './chunk-F3Z3HMZR.js';
3
- import { __publicField } from './chunk-2UST7MKN.js';
1
+ import { warnOnce } from './chunk-OTRGHJIJ.js';
2
+ import { parseDuration } from './chunk-FBQPFIHZ.js';
3
+ import { __publicField } from './chunk-EYGQD7OP.js';
4
4
 
5
5
  /**
6
- * Voodoo.js v0.10.1
6
+ * Voodoo.js v0.11.0
7
7
  * JavaScript feels like magic.
8
8
  * (c) 2026 Voodoo.js contributors. MIT License.
9
9
  */
@@ -444,5 +444,5 @@ var http = {
444
444
  };
445
445
 
446
446
  export { HttpError, clearCache, flushOfflineQueue, http, request };
447
- //# sourceMappingURL=chunk-DNIQLT66.js.map
448
- //# sourceMappingURL=chunk-DNIQLT66.js.map
447
+ //# sourceMappingURL=chunk-VQEJ4DTE.js.map
448
+ //# sourceMappingURL=chunk-VQEJ4DTE.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Voodoo.js v0.10.1
2
+ * Voodoo.js v0.11.0
3
3
  * JavaScript feels like magic.
4
4
  * (c) 2026 Voodoo.js contributors. MIT License.
5
5
  */
@@ -61,5 +61,5 @@ function usePlugin(V, plugin, options) {
61
61
  }
62
62
 
63
63
  export { PRIORITY, components, config, defineDirective, directives, normalizeComponentName, usePlugin };
64
- //# sourceMappingURL=chunk-D4DNTWIS.js.map
65
- //# sourceMappingURL=chunk-D4DNTWIS.js.map
64
+ //# sourceMappingURL=chunk-WIXAZJYS.js.map
65
+ //# sourceMappingURL=chunk-WIXAZJYS.js.map
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  /**
6
- * Voodoo.js v0.10.1
6
+ * Voodoo.js v0.11.0
7
7
  * JavaScript feels like magic.
8
8
  * (c) 2026 Voodoo.js contributors. MIT License.
9
9
  */
@@ -6764,7 +6764,7 @@ function data(values) {
6764
6764
  Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
6765
6765
  return rootScope.data;
6766
6766
  }
6767
- var version2 = "0.10.1";
6767
+ var version2 = "0.11.0";
6768
6768
  var core = {
6769
6769
  // Utilities first: Voodoo's own names can override.
6770
6770
  ...utils_exports,
package/dist/essential.js CHANGED
@@ -1,15 +1,15 @@
1
- import { core, sound, hotkey, palette, registerMask, unmask, applyMask, masks, mask, clearErrors, showFieldError, showFormErrors, messages, serializeForm, validate, validator, dialog, prompt, confirm, alert, modal, VoodooCollection, fromHtml, ready2, query } from './chunk-4MJIS5RZ.js';
2
- import './chunk-DNIQLT66.js';
3
- import { magic } from './chunk-5E3UZREN.js';
4
- import './chunk-246ZC2JD.js';
5
- import './chunk-RREZZ4FB.js';
6
- import './chunk-F3Z3HMZR.js';
7
- import './chunk-KQRWQPD6.js';
8
- import './chunk-D4DNTWIS.js';
9
- import './chunk-2UST7MKN.js';
1
+ import { core, sound, hotkey, palette, registerMask, unmask, applyMask, masks, mask, clearErrors, showFieldError, showFormErrors, messages, serializeForm, validate, validator, dialog, prompt, confirm, alert, modal, VoodooCollection, fromHtml, ready2, query } from './chunk-PBZCYF2Y.js';
2
+ import './chunk-VQEJ4DTE.js';
3
+ import { magic } from './chunk-NUBOX6YQ.js';
4
+ import './chunk-5GWN7E6N.js';
5
+ import './chunk-OTRGHJIJ.js';
6
+ import './chunk-FBQPFIHZ.js';
7
+ import './chunk-QL2GIGVQ.js';
8
+ import './chunk-WIXAZJYS.js';
9
+ import './chunk-EYGQD7OP.js';
10
10
 
11
11
  /**
12
- * Voodoo.js v0.10.1
12
+ * Voodoo.js v0.11.0
13
13
  * JavaScript feels like magic.
14
14
  * (c) 2026 Voodoo.js contributors. MIT License.
15
15
  */
package/dist/gpu.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  /**
6
- * Voodoo.js v0.10.1
6
+ * Voodoo.js v0.11.0
7
7
  * JavaScript feels like magic.
8
8
  * (c) 2026 Voodoo.js contributors. MIT License.
9
9
  */
package/dist/gpu.js CHANGED
@@ -1,15 +1,15 @@
1
- import { supported, clock, shared, gpu, surface, effect, frameLoop, frame } from './chunk-WYSN4IOV.js';
2
- export { clock, compute, describeWgslType, destroy, effect, findEntry, flattenValue, frame, frameLoop, gpu, inferStruct, init, packStruct, reflectBindings, reflectEntries, reflectStructs, reflectWgsl, resetShared, shared, splitTopLevel, stripWgslComments, supported, surface, target, uniforms, writeField, writeStruct } from './chunk-WYSN4IOV.js';
3
- import { http } from './chunk-DNIQLT66.js';
4
- import { originalAttributes, destroy } from './chunk-5E3UZREN.js';
5
- import { handleError } from './chunk-246ZC2JD.js';
6
- import { warn, describeElement } from './chunk-RREZZ4FB.js';
7
- import './chunk-F3Z3HMZR.js';
8
- import { defineDirective } from './chunk-D4DNTWIS.js';
9
- import './chunk-2UST7MKN.js';
1
+ import { supported, clock, shared, gpu, surface, effect, frameLoop, frame } from './chunk-TZJSPNLV.js';
2
+ export { clock, compute, describeWgslType, destroy, effect, findEntry, flattenValue, frame, frameLoop, gpu, inferStruct, init, packStruct, reflectBindings, reflectEntries, reflectStructs, reflectWgsl, resetShared, shared, splitTopLevel, stripWgslComments, supported, surface, target, uniforms, writeField, writeStruct } from './chunk-TZJSPNLV.js';
3
+ import { http } from './chunk-VQEJ4DTE.js';
4
+ import { originalAttributes, destroy } from './chunk-NUBOX6YQ.js';
5
+ import { handleError } from './chunk-5GWN7E6N.js';
6
+ import { warn, describeElement } from './chunk-OTRGHJIJ.js';
7
+ import './chunk-FBQPFIHZ.js';
8
+ import { defineDirective } from './chunk-WIXAZJYS.js';
9
+ import './chunk-EYGQD7OP.js';
10
10
 
11
11
  /**
12
- * Voodoo.js v0.10.1
12
+ * Voodoo.js v0.11.0
13
13
  * JavaScript feels like magic.
14
14
  * (c) 2026 Voodoo.js contributors. MIT License.
15
15
  */
package/dist/http.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  /**
4
- * Voodoo.js v0.10.1
4
+ * Voodoo.js v0.11.0
5
5
  * JavaScript feels like magic.
6
6
  * (c) 2026 Voodoo.js contributors. MIT License.
7
7
  */
package/dist/http.js CHANGED
@@ -1,7 +1,7 @@
1
- export { HttpError, clearCache, flushOfflineQueue, http, request } from './chunk-DNIQLT66.js';
2
- import './chunk-RREZZ4FB.js';
3
- import './chunk-F3Z3HMZR.js';
4
- import './chunk-D4DNTWIS.js';
5
- import './chunk-2UST7MKN.js';
1
+ export { HttpError, clearCache, flushOfflineQueue, http, request } from './chunk-VQEJ4DTE.js';
2
+ import './chunk-OTRGHJIJ.js';
3
+ import './chunk-FBQPFIHZ.js';
4
+ import './chunk-WIXAZJYS.js';
5
+ import './chunk-EYGQD7OP.js';
6
6
  //# sourceMappingURL=http.js.map
7
7
  //# sourceMappingURL=http.js.map
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  /**
6
- * Voodoo.js v0.10.1
6
+ * Voodoo.js v0.11.0
7
7
  * JavaScript feels like magic.
8
8
  * (c) 2026 Voodoo.js contributors. MIT License.
9
9
  */
@@ -6778,7 +6778,7 @@ function data(values) {
6778
6778
  Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
6779
6779
  return rootScope.data;
6780
6780
  }
6781
- var version2 = "0.10.1";
6781
+ var version2 = "0.11.0";
6782
6782
  var core = {
6783
6783
  // Utilities first: Voodoo's own names can override.
6784
6784
  ...utils_exports,
@@ -20791,6 +20791,30 @@ function collect(start2, offset) {
20791
20791
  if (!closed) return null;
20792
20792
  return { source, templates, nodes, tail };
20793
20793
  }
20794
+ function recoverFromTable(collected) {
20795
+ const empties = collected.source.match(/\(\s*\)/g);
20796
+ if (!empties) return false;
20797
+ const first = collected.nodes[0];
20798
+ const last = collected.nodes[collected.nodes.length - 1];
20799
+ const table = [last?.nextSibling, first?.previousSibling].map((from) => {
20800
+ let node = from ?? null;
20801
+ while (node && node.nodeType === Node.TEXT_NODE && !(node.textContent ?? "").trim()) {
20802
+ node = node === last?.nextSibling ? node.nextSibling : node.previousSibling;
20803
+ }
20804
+ return node && node.nodeType === Node.ELEMENT_NODE ? node : null;
20805
+ }).find((el) => el?.tagName === "TABLE");
20806
+ if (!table) return false;
20807
+ const body = table.querySelector("tbody");
20808
+ if (!body) return false;
20809
+ const rows = Array.from(body.children).filter((el) => el.tagName === "TR");
20810
+ if (rows.length !== empties.length) return false;
20811
+ let index = 0;
20812
+ collected.source = collected.source.replace(/\(\s*\)/g, () => `($t(${index++}, $__jsx))`);
20813
+ collected.templates = rows;
20814
+ collected.host = body;
20815
+ collected.nodes.push(...rows);
20816
+ return true;
20817
+ }
20794
20818
  function render2(value, templates, scope, out) {
20795
20819
  if (value == null || value === false || value === true) return;
20796
20820
  if (Array.isArray(value)) {
@@ -20832,7 +20856,11 @@ function applyRegions(root, parentScope) {
20832
20856
  continue;
20833
20857
  }
20834
20858
  const collected = collect(child, open);
20835
- if (!collected || collected.templates.length === 0) {
20859
+ if (!collected) {
20860
+ child = next;
20861
+ continue;
20862
+ }
20863
+ if (collected.templates.length === 0 && !recoverFromTable(collected)) {
20836
20864
  child = next;
20837
20865
  continue;
20838
20866
  }
@@ -20855,8 +20883,9 @@ function install(parent, collected, hint) {
20855
20883
  if (tail && tail.offset < (tail.node.textContent ?? "").length) {
20856
20884
  tail.node.splitText(tail.offset);
20857
20885
  }
20886
+ const target2 = collected.host ?? parent;
20858
20887
  const anchor = document.createComment("v-jsx");
20859
- parent.insertBefore(anchor, nodes[0]);
20888
+ target2.insertBefore(anchor, collected.host ? collected.host.firstChild : nodes[0]);
20860
20889
  for (const node of nodes) node.remove();
20861
20890
  let rendered = [];
20862
20891
  pending.push(() => activateRegion());
@@ -20872,7 +20901,7 @@ function install(parent, collected, hint) {
20872
20901
  render2(value, templates, local, out);
20873
20902
  for (const node of rendered) node.remove();
20874
20903
  rendered = out;
20875
- for (const node of out) parent.insertBefore(node, anchor);
20904
+ for (const node of out) target2.insertBefore(node, anchor);
20876
20905
  });
20877
20906
  addCleanup(anchor, () => {
20878
20907
  runner.effect.stop();
package/dist/index.js CHANGED
@@ -1,25 +1,25 @@
1
- import { core, sound, hotkey, palette, registerMask, unmask, applyMask, masks, mask, clearErrors, showFieldError, showFormErrors, messages, serializeForm, validate, validator, dialog, prompt, confirm, alert, modal, VoodooCollection, fromHtml, ready2, query, viewTransition, defineComponent, storage, ensurePalette, instances, storeNames, allStores } from './chunk-4MJIS5RZ.js';
2
- export { VoodooCollection, alert, allStores, applyMask, cache, clearErrors, clipboard, confirm, cookie, createApp, createResource, defineComponent, dialog, ready as documentReady, enter, fadeIn, fadeOut, fromHtml, hotkey, instances, leave, mask, masks, modal, mountComponent, network, palette, prompt, query, ready2 as ready, registerMask, removeStore, createResource as resource, screen, serializeForm, session, showFormErrors, slideDown, slideUp, sound, efeitos as soundEffects, storage, store, storeNames, theme, toast, unmask, url, validate, validator, viewTransition, whenElement, whenReady } from './chunk-4MJIS5RZ.js';
3
- export { gpu, reflectWgsl } from './chunk-WYSN4IOV.js';
4
- import { http } from './chunk-DNIQLT66.js';
5
- export { HttpError, http, request } from './chunk-DNIQLT66.js';
6
- import { devtoolsBus } from './chunk-5D7TM3GL.js';
7
- export { createSocket, devtoolsBus, socket, socketSupported } from './chunk-5D7TM3GL.js';
8
- import { magic, markSkipChildren, onStart, rootScope, findScope, destroy, readAttr, evaluate, parse, Scope, getScope, walk, unwrap, addCleanup, hadDirectives, collectDirectives, getEffectScopes, evaluateIn } from './chunk-5E3UZREN.js';
9
- export { Scope, VoodooRuntimeError, VoodooSyntaxError, addCleanup, allowedGlobals, clearParseCache, destroy, evaluate, findScope, getScope, magic, magics, parse, refresh, rootScope, start, stringify, tokenize, walk } from './chunk-5E3UZREN.js';
10
- import { reactive, warn, handleError, effect, queuePostFlush, nextTick } from './chunk-246ZC2JD.js';
11
- export { EffectScope, computed, effect, effectScope, flushSync, isReactive, markRaw, nextTick, reactive, ref, shallowRef, stop, toRaw, unref, watch, watchEffect } from './chunk-246ZC2JD.js';
12
- import { warnAlias } from './chunk-RREZZ4FB.js';
13
- import { parseDuration, formatNumber, formatCurrency, formatDate, relativeTime, device, setFormatDefaults, uid, merge, escapeHtml, truncate, get, titleCase } from './chunk-F3Z3HMZR.js';
14
- export { capitalize, chunk, clone, debounce, device, escapeHtml, formatCurrency, formatDate, formatFileSize, formatNumber, formatPercent, get, groupBy, isBrowser, matchesMedia, memoize, merge, once, parseDuration, random, relativeTime, sample, set, setFormatDefaults, sleep, slugify, sortBy, stripTags, throttle, titleCase, truncate, uid, unique, uuid } from './chunk-F3Z3HMZR.js';
15
- import { ensureTokens, injectStyle } from './chunk-KQRWQPD6.js';
16
- export { ensureTokens, injectStyle } from './chunk-KQRWQPD6.js';
17
- import { defineDirective, PRIORITY, config } from './chunk-D4DNTWIS.js';
18
- export { PRIORITY, config, defineDirective } from './chunk-D4DNTWIS.js';
19
- import './chunk-2UST7MKN.js';
1
+ import { core, sound, hotkey, palette, registerMask, unmask, applyMask, masks, mask, clearErrors, showFieldError, showFormErrors, messages, serializeForm, validate, validator, dialog, prompt, confirm, alert, modal, VoodooCollection, fromHtml, ready2, query, viewTransition, defineComponent, storage, ensurePalette, instances, storeNames, allStores } from './chunk-PBZCYF2Y.js';
2
+ export { VoodooCollection, alert, allStores, applyMask, cache, clearErrors, clipboard, confirm, cookie, createApp, createResource, defineComponent, dialog, ready as documentReady, enter, fadeIn, fadeOut, fromHtml, hotkey, instances, leave, mask, masks, modal, mountComponent, network, palette, prompt, query, ready2 as ready, registerMask, removeStore, createResource as resource, screen, serializeForm, session, showFormErrors, slideDown, slideUp, sound, efeitos as soundEffects, storage, store, storeNames, theme, toast, unmask, url, validate, validator, viewTransition, whenElement, whenReady } from './chunk-PBZCYF2Y.js';
3
+ export { gpu, reflectWgsl } from './chunk-TZJSPNLV.js';
4
+ import { http } from './chunk-VQEJ4DTE.js';
5
+ export { HttpError, http, request } from './chunk-VQEJ4DTE.js';
6
+ import { devtoolsBus } from './chunk-KAS77SGY.js';
7
+ export { createSocket, devtoolsBus, socket, socketSupported } from './chunk-KAS77SGY.js';
8
+ import { magic, markSkipChildren, onStart, rootScope, findScope, destroy, readAttr, evaluate, parse, Scope, getScope, walk, unwrap, addCleanup, hadDirectives, collectDirectives, getEffectScopes, evaluateIn } from './chunk-NUBOX6YQ.js';
9
+ export { Scope, VoodooRuntimeError, VoodooSyntaxError, addCleanup, allowedGlobals, clearParseCache, destroy, evaluate, findScope, getScope, magic, magics, parse, refresh, rootScope, start, stringify, tokenize, walk } from './chunk-NUBOX6YQ.js';
10
+ import { reactive, warn, handleError, effect, queuePostFlush, nextTick } from './chunk-5GWN7E6N.js';
11
+ export { EffectScope, computed, effect, effectScope, flushSync, isReactive, markRaw, nextTick, reactive, ref, shallowRef, stop, toRaw, unref, watch, watchEffect } from './chunk-5GWN7E6N.js';
12
+ import { warnAlias } from './chunk-OTRGHJIJ.js';
13
+ import { parseDuration, formatNumber, formatCurrency, formatDate, relativeTime, device, setFormatDefaults, uid, merge, escapeHtml, truncate, get, titleCase } from './chunk-FBQPFIHZ.js';
14
+ export { capitalize, chunk, clone, debounce, device, escapeHtml, formatCurrency, formatDate, formatFileSize, formatNumber, formatPercent, get, groupBy, isBrowser, matchesMedia, memoize, merge, once, parseDuration, random, relativeTime, sample, set, setFormatDefaults, sleep, slugify, sortBy, stripTags, throttle, titleCase, truncate, uid, unique, uuid } from './chunk-FBQPFIHZ.js';
15
+ import { ensureTokens, injectStyle } from './chunk-QL2GIGVQ.js';
16
+ export { ensureTokens, injectStyle } from './chunk-QL2GIGVQ.js';
17
+ import { defineDirective, PRIORITY, config } from './chunk-WIXAZJYS.js';
18
+ export { PRIORITY, config, defineDirective } from './chunk-WIXAZJYS.js';
19
+ import './chunk-EYGQD7OP.js';
20
20
 
21
21
  /**
22
- * Voodoo.js v0.10.1
22
+ * Voodoo.js v0.11.0
23
23
  * JavaScript feels like magic.
24
24
  * (c) 2026 Voodoo.js contributors. MIT License.
25
25
  */
@@ -6631,6 +6631,30 @@ function collect(start2, offset) {
6631
6631
  if (!closed) return null;
6632
6632
  return { source, templates, nodes, tail };
6633
6633
  }
6634
+ function recoverFromTable(collected) {
6635
+ const empties = collected.source.match(/\(\s*\)/g);
6636
+ if (!empties) return false;
6637
+ const first = collected.nodes[0];
6638
+ const last = collected.nodes[collected.nodes.length - 1];
6639
+ const table = [last?.nextSibling, first?.previousSibling].map((from) => {
6640
+ let node = from ?? null;
6641
+ while (node && node.nodeType === Node.TEXT_NODE && !(node.textContent ?? "").trim()) {
6642
+ node = node === last?.nextSibling ? node.nextSibling : node.previousSibling;
6643
+ }
6644
+ return node && node.nodeType === Node.ELEMENT_NODE ? node : null;
6645
+ }).find((el) => el?.tagName === "TABLE");
6646
+ if (!table) return false;
6647
+ const body = table.querySelector("tbody");
6648
+ if (!body) return false;
6649
+ const rows = Array.from(body.children).filter((el) => el.tagName === "TR");
6650
+ if (rows.length !== empties.length) return false;
6651
+ let index = 0;
6652
+ collected.source = collected.source.replace(/\(\s*\)/g, () => `($t(${index++}, $__jsx))`);
6653
+ collected.templates = rows;
6654
+ collected.host = body;
6655
+ collected.nodes.push(...rows);
6656
+ return true;
6657
+ }
6634
6658
  function render(value, templates, scope, out) {
6635
6659
  if (value == null || value === false || value === true) return;
6636
6660
  if (Array.isArray(value)) {
@@ -6672,7 +6696,11 @@ function applyRegions(root, parentScope) {
6672
6696
  continue;
6673
6697
  }
6674
6698
  const collected = collect(child, open);
6675
- if (!collected || collected.templates.length === 0) {
6699
+ if (!collected) {
6700
+ child = next;
6701
+ continue;
6702
+ }
6703
+ if (collected.templates.length === 0 && !recoverFromTable(collected)) {
6676
6704
  child = next;
6677
6705
  continue;
6678
6706
  }
@@ -6695,8 +6723,9 @@ function install(parent, collected, hint) {
6695
6723
  if (tail && tail.offset < (tail.node.textContent ?? "").length) {
6696
6724
  tail.node.splitText(tail.offset);
6697
6725
  }
6726
+ const target = collected.host ?? parent;
6698
6727
  const anchor = document.createComment("v-jsx");
6699
- parent.insertBefore(anchor, nodes[0]);
6728
+ target.insertBefore(anchor, collected.host ? collected.host.firstChild : nodes[0]);
6700
6729
  for (const node of nodes) node.remove();
6701
6730
  let rendered = [];
6702
6731
  pending.push(() => activateRegion());
@@ -6712,7 +6741,7 @@ function install(parent, collected, hint) {
6712
6741
  render(value, templates, local, out);
6713
6742
  for (const node of rendered) node.remove();
6714
6743
  rendered = out;
6715
- for (const node of out) parent.insertBefore(node, anchor);
6744
+ for (const node of out) target.insertBefore(node, anchor);
6716
6745
  });
6717
6746
  addCleanup(anchor, () => {
6718
6747
  runner.effect.stop();
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  /**
4
- * Voodoo.js v0.10.1
4
+ * Voodoo.js v0.11.0
5
5
  * JavaScript feels like magic.
6
6
  * (c) 2026 Voodoo.js contributors. MIT License.
7
7
  */
@@ -1,4 +1,4 @@
1
- export { EffectScope, ITERATE_KEY, ReactiveEffect, TriggerType, computed, effect, effectScope, enableTracking, flushSync, getActiveEffect, getActiveScope, handleError, hasChanged, isReactive, isRef, markRaw, nextTick, pauseTracking, queueJob, queuePostFlush, reactive, ref, resetTracking, setErrorHandler, shallowRef, stop, toRaw, track, trigger, unref, warn, watch, watchEffect } from './chunk-246ZC2JD.js';
2
- import './chunk-2UST7MKN.js';
1
+ export { EffectScope, ITERATE_KEY, ReactiveEffect, TriggerType, computed, effect, effectScope, enableTracking, flushSync, getActiveEffect, getActiveScope, handleError, hasChanged, isReactive, isRef, markRaw, nextTick, pauseTracking, queueJob, queuePostFlush, reactive, ref, resetTracking, setErrorHandler, shallowRef, stop, toRaw, track, trigger, unref, warn, watch, watchEffect } from './chunk-5GWN7E6N.js';
2
+ import './chunk-EYGQD7OP.js';
3
3
  //# sourceMappingURL=reactivity.js.map
4
4
  //# sourceMappingURL=reactivity.js.map
package/dist/socket.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  /**
6
- * Voodoo.js v0.10.1
6
+ * Voodoo.js v0.11.0
7
7
  * JavaScript feels like magic.
8
8
  * (c) 2026 Voodoo.js contributors. MIT License.
9
9
  */
package/dist/socket.js CHANGED
@@ -1,14 +1,14 @@
1
- import { socketSupported, createSocket, socket } from './chunk-5D7TM3GL.js';
2
- export { ENGINE, SIO, createSocket, decodeEngine, decodeSocketIo, encodeSocketIo, engineURL, resolveSocketURL, socket, socketSupported } from './chunk-5D7TM3GL.js';
3
- import { evaluateIn, readAttr } from './chunk-5E3UZREN.js';
4
- import { reactive } from './chunk-246ZC2JD.js';
5
- import { warnAlias } from './chunk-RREZZ4FB.js';
6
- import { parseDuration } from './chunk-F3Z3HMZR.js';
7
- import { defineDirective, PRIORITY, config } from './chunk-D4DNTWIS.js';
8
- import './chunk-2UST7MKN.js';
1
+ import { socketSupported, createSocket, socket } from './chunk-KAS77SGY.js';
2
+ export { ENGINE, SIO, createSocket, decodeEngine, decodeSocketIo, encodeSocketIo, engineURL, resolveSocketURL, socket, socketSupported } from './chunk-KAS77SGY.js';
3
+ import { evaluateIn, readAttr } from './chunk-NUBOX6YQ.js';
4
+ import { reactive } from './chunk-5GWN7E6N.js';
5
+ import { warnAlias } from './chunk-OTRGHJIJ.js';
6
+ import { parseDuration } from './chunk-FBQPFIHZ.js';
7
+ import { defineDirective, PRIORITY, config } from './chunk-WIXAZJYS.js';
8
+ import './chunk-EYGQD7OP.js';
9
9
 
10
10
  /**
11
- * Voodoo.js v0.10.1
11
+ * Voodoo.js v0.11.0
12
12
  * JavaScript feels like magic.
13
13
  * (c) 2026 Voodoo.js contributors. MIT License.
14
14
  */
@@ -0,0 +1,5 @@
1
+ export { BASE_TOKENS, ensureTokens, injectStyle } from './chunk-QL2GIGVQ.js';
2
+ import './chunk-WIXAZJYS.js';
3
+ import './chunk-EYGQD7OP.js';
4
+ //# sourceMappingURL=style-ZM3TAT4K.js.map
5
+ //# sourceMappingURL=style-ZM3TAT4K.js.map
package/dist/utils.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  /**
4
- * Voodoo.js v0.10.1
4
+ * Voodoo.js v0.11.0
5
5
  * JavaScript feels like magic.
6
6
  * (c) 2026 Voodoo.js contributors. MIT License.
7
7
  */
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- export { capitalize, chunk, clone, debounce, device, escapeHtml, formatCurrency, formatDate, formatFileSize, formatNumber, formatPercent, get, groupBy, isBrowser, matchesMedia, memoize, merge, once, parseDuration, random, relativeTime, sample, set, setFormatDefaults, sleep, slugify, sortBy, stripTags, throttle, titleCase, truncate, uid, unique, uuid } from './chunk-F3Z3HMZR.js';
2
- import './chunk-2UST7MKN.js';
1
+ export { capitalize, chunk, clone, debounce, device, escapeHtml, formatCurrency, formatDate, formatFileSize, formatNumber, formatPercent, get, groupBy, isBrowser, matchesMedia, memoize, merge, once, parseDuration, random, relativeTime, sample, set, setFormatDefaults, sleep, slugify, sortBy, stripTags, throttle, titleCase, truncate, uid, unique, uuid } from './chunk-FBQPFIHZ.js';
2
+ import './chunk-EYGQD7OP.js';
3
3
  //# sourceMappingURL=utils.js.map
4
4
  //# sourceMappingURL=utils.js.map