voodoojs 0.12.3 → 0.12.5
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/README.md +1 -1
- package/dist/{chunk-NGDOIDR6.js → chunk-6QFKV444.js} +19 -7
- package/dist/{chunk-4DLB2RY5.js → chunk-D45ZEXUO.js} +4 -4
- package/dist/{chunk-NB3JAL4F.js → chunk-IWHK6Y32.js} +4 -4
- package/dist/{chunk-WOYGKZ3L.js → chunk-JB72AX7G.js} +5 -5
- package/dist/{chunk-EWFY7CJB.js → chunk-L3JNHLTI.js} +5 -5
- package/dist/{chunk-HTBGKRUJ.js → chunk-OH6FIDTW.js} +3 -3
- package/dist/{chunk-5YP5VMW7.js → chunk-PO6REBDJ.js} +3 -3
- package/dist/{chunk-VI27DQRZ.js → chunk-PPT7RDKJ.js} +4 -4
- package/dist/{chunk-UFLF4VNQ.js → chunk-TUXGS7XW.js} +13 -13
- package/dist/{chunk-ZDLVJ7TA.js → chunk-X3FZPWI6.js} +6 -6
- package/dist/{chunk-FRYNZTKW.js → chunk-YH3IDF6L.js} +4 -4
- package/dist/essential.cjs +14 -2
- package/dist/essential.d.cts +1 -1
- package/dist/essential.d.ts +1 -1
- package/dist/essential.js +10 -10
- package/dist/gpu.cjs +7 -1
- package/dist/gpu.js +10 -10
- package/dist/http.cjs +1 -1
- package/dist/http.js +5 -5
- package/dist/index.cjs +14 -2
- package/dist/index.d.cts +16 -8
- package/dist/index.d.ts +16 -8
- package/dist/index.js +20 -20
- package/dist/reactivity.cjs +1 -1
- package/dist/reactivity.js +2 -2
- package/dist/socket.cjs +1 -1
- package/dist/socket.js +9 -9
- package/dist/style-YWBYOE6T.js +5 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +2 -2
- package/dist/voodoo.core.js +14 -2
- package/dist/voodoo.core.min.js +15 -15
- package/dist/voodoo.full.js +14 -2
- package/dist/voodoo.full.min.js +37 -37
- package/dist/voodoo.js +14 -2
- package/dist/voodoo.min.js +24 -24
- package/package.json +1 -1
- package/dist/style-JJTTJNSI.js +0 -5
- package/dist/{query-XooOh4vB.d.cts → query-D_BGQw8m.d.cts} +28 -28
- package/dist/{query-DzHfm8Kg.d.ts → query-Dl6Urlwd.d.ts} +28 -28
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ npm install voodoojs
|
|
|
22
22
|
Or drop it into a page, with nothing else:
|
|
23
23
|
|
|
24
24
|
```html
|
|
25
|
-
<script src="https://cdn.jsdelivr.net/npm/voodoojs@0.12.
|
|
25
|
+
<script src="https://cdn.jsdelivr.net/npm/voodoojs@0.12.5/dist/voodoo.full.min.js" defer></script>
|
|
26
26
|
|
|
27
27
|
<div v-data="{ count: 0 }">
|
|
28
28
|
<button @click="count++">Clicked { count } times</button>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { reactive, handleError, EffectScope, effect } from './chunk-
|
|
2
|
-
import { inDevelopment, warnInvalidExpression, warnUnknownDirective } from './chunk-
|
|
3
|
-
import { config, directives, components } from './chunk-
|
|
4
|
-
import { __publicField } from './chunk-
|
|
1
|
+
import { reactive, handleError, EffectScope, effect } from './chunk-PPT7RDKJ.js';
|
|
2
|
+
import { inDevelopment, warnInvalidExpression, warnUnknownDirective } from './chunk-YH3IDF6L.js';
|
|
3
|
+
import { config, directives, components } from './chunk-OH6FIDTW.js';
|
|
4
|
+
import { __publicField } from './chunk-PO6REBDJ.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Voodoo.js v0.12.
|
|
7
|
+
* Voodoo.js v0.12.5
|
|
8
8
|
* JavaScript feels like magic.
|
|
9
9
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
10
10
|
*/
|
|
@@ -1591,8 +1591,15 @@ function getEffectScopes(node) {
|
|
|
1591
1591
|
return nodeEffectScopes.get(node) ?? [];
|
|
1592
1592
|
}
|
|
1593
1593
|
var ignoredRemovals = /* @__PURE__ */ new WeakSet();
|
|
1594
|
+
var detachedTemplates = /* @__PURE__ */ new WeakMap();
|
|
1594
1595
|
function removeQuietly(node) {
|
|
1595
1596
|
ignoredRemovals.add(node);
|
|
1597
|
+
const parent = node.parentNode;
|
|
1598
|
+
if (parent) {
|
|
1599
|
+
let kept = detachedTemplates.get(parent);
|
|
1600
|
+
if (!kept) detachedTemplates.set(parent, kept = /* @__PURE__ */ new Set());
|
|
1601
|
+
kept.add(node);
|
|
1602
|
+
}
|
|
1596
1603
|
node.remove();
|
|
1597
1604
|
}
|
|
1598
1605
|
function addCleanup(node, fn) {
|
|
@@ -1608,6 +1615,11 @@ function destroy(node) {
|
|
|
1608
1615
|
}
|
|
1609
1616
|
for (let i = children.length - 1; i >= 0; i--) destroy(children[i]);
|
|
1610
1617
|
}
|
|
1618
|
+
const detached = detachedTemplates.get(node);
|
|
1619
|
+
if (detached) {
|
|
1620
|
+
detachedTemplates.delete(node);
|
|
1621
|
+
for (const template of detached) destroy(template);
|
|
1622
|
+
}
|
|
1611
1623
|
const list = nodeCleanups.get(node);
|
|
1612
1624
|
if (list) {
|
|
1613
1625
|
nodeCleanups.delete(node);
|
|
@@ -2202,5 +2214,5 @@ function refresh(root) {
|
|
|
2202
2214
|
}
|
|
2203
2215
|
|
|
2204
2216
|
export { Scope, VoodooRuntimeError, VoodooSyntaxError, addCleanup, allowedGlobals, clearParseCache, closestDirective, collectDirectives, componentAliases, currentHookHost, destroy, evaluate, evaluateIn, findScope, getEffectScopes, getScope, hadDirectives, hasAttr, hasDirective, hasDirectives, hook, hooks, isInitialized, magic, magics, markInitialized, markNodeScope, markSkipChildren, onStart, originalAttributes, parse, parseAttribute, queryDirective, readAttr, refresh, removeQuietly, restoreAttributes, rootScope, setComponentMounter, start, stopObserving, stringify, tokenize, unwrap, walk };
|
|
2205
|
-
//# sourceMappingURL=chunk-
|
|
2206
|
-
//# sourceMappingURL=chunk-
|
|
2217
|
+
//# sourceMappingURL=chunk-6QFKV444.js.map
|
|
2218
|
+
//# sourceMappingURL=chunk-6QFKV444.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __export } from './chunk-
|
|
1
|
+
import { __export } from './chunk-PO6REBDJ.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Voodoo.js v0.12.
|
|
4
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
401
|
-
//# sourceMappingURL=chunk-
|
|
400
|
+
//# sourceMappingURL=chunk-D45ZEXUO.js.map
|
|
401
|
+
//# sourceMappingURL=chunk-D45ZEXUO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { config } from './chunk-
|
|
1
|
+
import { config } from './chunk-OH6FIDTW.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Voodoo.js v0.12.
|
|
4
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-IWHK6Y32.js.map
|
|
72
|
+
//# sourceMappingURL=chunk-IWHK6Y32.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { handleError } from './chunk-
|
|
2
|
-
import { warn } from './chunk-
|
|
1
|
+
import { handleError } from './chunk-PPT7RDKJ.js';
|
|
2
|
+
import { warn } from './chunk-YH3IDF6L.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Voodoo.js v0.12.
|
|
5
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
1196
|
-
//# sourceMappingURL=chunk-
|
|
1195
|
+
//# sourceMappingURL=chunk-JB72AX7G.js.map
|
|
1196
|
+
//# sourceMappingURL=chunk-JB72AX7G.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { reactive } from './chunk-
|
|
2
|
-
import { warnOnce } from './chunk-
|
|
1
|
+
import { reactive } from './chunk-PPT7RDKJ.js';
|
|
2
|
+
import { warnOnce } from './chunk-YH3IDF6L.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Voodoo.js v0.12.
|
|
5
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
946
|
-
//# sourceMappingURL=chunk-
|
|
945
|
+
//# sourceMappingURL=chunk-L3JNHLTI.js.map
|
|
946
|
+
//# sourceMappingURL=chunk-L3JNHLTI.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Voodoo.js v0.12.
|
|
2
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
64
|
+
//# sourceMappingURL=chunk-OH6FIDTW.js.map
|
|
65
|
+
//# sourceMappingURL=chunk-OH6FIDTW.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Voodoo.js v0.12.
|
|
2
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-PO6REBDJ.js.map
|
|
16
|
+
//# sourceMappingURL=chunk-PO6REBDJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __publicField } from './chunk-
|
|
1
|
+
import { __publicField } from './chunk-PO6REBDJ.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Voodoo.js v0.12.
|
|
4
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
641
|
-
//# sourceMappingURL=chunk-
|
|
640
|
+
//# sourceMappingURL=chunk-PPT7RDKJ.js.map
|
|
641
|
+
//# sourceMappingURL=chunk-PPT7RDKJ.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { http, HttpError, request } from './chunk-
|
|
2
|
-
import { stringify, markInitialized, markSkipChildren, destroy, walk, removeQuietly, evaluateIn, addCleanup, markNodeScope, setComponentMounter, closestDirective, magic, readAttr, hasAttr, componentAliases, Scope, hook, queryDirective, parse, evaluate, parseAttribute, originalAttributes, hasDirective, currentHookHost, findScope, VoodooRuntimeError, VoodooSyntaxError, allowedGlobals, clearParseCache, tokenize, getScope, stopObserving, refresh, start, magics, rootScope, isInitialized, restoreAttributes, hasDirectives } from './chunk-
|
|
3
|
-
import { ref, reactive, handleError, nextTick, queuePostFlush, warn, watch, EffectScope, computed, effect, toRaw, markRaw, stop, flushSync, effectScope, unref, watchEffect, shallowRef, setErrorHandler } from './chunk-
|
|
4
|
-
import { warnDuplicateKey, warn as warn$1, describeElement, warnUnknownComponent, warnAlias, warnRequiredProp } from './chunk-
|
|
5
|
-
import { parseDuration, debounce, utils_exports, throttle, uid, device, escapeHtml } from './chunk-
|
|
6
|
-
import { injectStyle, ensureTokens } from './chunk-
|
|
7
|
-
import { defineDirective, config, PRIORITY, directives, normalizeComponentName, components, usePlugin } from './chunk-
|
|
8
|
-
import { __publicField } from './chunk-
|
|
1
|
+
import { http, HttpError, request } from './chunk-X3FZPWI6.js';
|
|
2
|
+
import { stringify, markInitialized, markSkipChildren, destroy, walk, removeQuietly, evaluateIn, addCleanup, markNodeScope, setComponentMounter, closestDirective, magic, readAttr, hasAttr, componentAliases, Scope, hook, queryDirective, parse, evaluate, parseAttribute, originalAttributes, hasDirective, currentHookHost, findScope, VoodooRuntimeError, VoodooSyntaxError, allowedGlobals, clearParseCache, tokenize, getScope, stopObserving, refresh, start, magics, rootScope, isInitialized, restoreAttributes, hasDirectives } from './chunk-6QFKV444.js';
|
|
3
|
+
import { ref, reactive, handleError, nextTick, queuePostFlush, warn, watch, EffectScope, computed, effect, toRaw, markRaw, stop, flushSync, effectScope, unref, watchEffect, shallowRef, setErrorHandler } from './chunk-PPT7RDKJ.js';
|
|
4
|
+
import { warnDuplicateKey, warn as warn$1, describeElement, warnUnknownComponent, warnAlias, warnRequiredProp } from './chunk-YH3IDF6L.js';
|
|
5
|
+
import { parseDuration, debounce, utils_exports, throttle, uid, device, escapeHtml } from './chunk-D45ZEXUO.js';
|
|
6
|
+
import { injectStyle, ensureTokens } from './chunk-IWHK6Y32.js';
|
|
7
|
+
import { defineDirective, config, PRIORITY, directives, normalizeComponentName, components, usePlugin } from './chunk-OH6FIDTW.js';
|
|
8
|
+
import { __publicField } from './chunk-PO6REBDJ.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Voodoo.js v0.12.
|
|
11
|
+
* Voodoo.js v0.12.5
|
|
12
12
|
* JavaScript feels like magic.
|
|
13
13
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
14
14
|
*/
|
|
@@ -2811,7 +2811,7 @@ var jsonStylesInjected = false;
|
|
|
2811
2811
|
function injectJSONStyles() {
|
|
2812
2812
|
if (jsonStylesInjected) return;
|
|
2813
2813
|
jsonStylesInjected = true;
|
|
2814
|
-
void import('./style-
|
|
2814
|
+
void import('./style-YWBYOE6T.js').then(({ injectStyle: injectStyle2 }) => {
|
|
2815
2815
|
injectStyle2(
|
|
2816
2816
|
"json-render",
|
|
2817
2817
|
`
|
|
@@ -3099,7 +3099,7 @@ function data(values) {
|
|
|
3099
3099
|
Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
|
|
3100
3100
|
return rootScope.data;
|
|
3101
3101
|
}
|
|
3102
|
-
var version2 = "0.12.
|
|
3102
|
+
var version2 = "0.12.5";
|
|
3103
3103
|
var core = {
|
|
3104
3104
|
// Utilities first: Voodoo's own names can override.
|
|
3105
3105
|
...utils_exports,
|
|
@@ -10444,5 +10444,5 @@ defineDirective(
|
|
|
10444
10444
|
);
|
|
10445
10445
|
|
|
10446
10446
|
export { VoodooCollection, alert, allStores, applyMask, cache, clearErrors, clipboard, confirm, cookie, core, createApp, createResource, defineComponent, dialog, efeitos, ensurePalette, enter, fadeIn, fadeOut, fromHtml, hotkey, installHooks, 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, useContext, useEffect, useMemo, useRef, useState, validate, validator, viewTransition, whenElement, whenReady };
|
|
10447
|
-
//# sourceMappingURL=chunk-
|
|
10448
|
-
//# sourceMappingURL=chunk-
|
|
10447
|
+
//# sourceMappingURL=chunk-TUXGS7XW.js.map
|
|
10448
|
+
//# sourceMappingURL=chunk-TUXGS7XW.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { warnOnce } from './chunk-
|
|
2
|
-
import { parseDuration } from './chunk-
|
|
3
|
-
import { __publicField } from './chunk-
|
|
1
|
+
import { warnOnce } from './chunk-YH3IDF6L.js';
|
|
2
|
+
import { parseDuration } from './chunk-D45ZEXUO.js';
|
|
3
|
+
import { __publicField } from './chunk-PO6REBDJ.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Voodoo.js v0.12.
|
|
6
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
448
|
-
//# sourceMappingURL=chunk-
|
|
447
|
+
//# sourceMappingURL=chunk-X3FZPWI6.js.map
|
|
448
|
+
//# sourceMappingURL=chunk-X3FZPWI6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { config } from './chunk-
|
|
1
|
+
import { config } from './chunk-OH6FIDTW.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Voodoo.js v0.12.
|
|
4
|
+
* Voodoo.js v0.12.5
|
|
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-
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
81
|
+
//# sourceMappingURL=chunk-YH3IDF6L.js.map
|
|
82
|
+
//# sourceMappingURL=chunk-YH3IDF6L.js.map
|
package/dist/essential.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Voodoo.js v0.12.
|
|
6
|
+
* Voodoo.js v0.12.5
|
|
7
7
|
* JavaScript feels like magic.
|
|
8
8
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
9
9
|
*/
|
|
@@ -2484,8 +2484,15 @@ function trackEffectScope(node, scope) {
|
|
|
2484
2484
|
list.push(scope);
|
|
2485
2485
|
}
|
|
2486
2486
|
var ignoredRemovals = /* @__PURE__ */ new WeakSet();
|
|
2487
|
+
var detachedTemplates = /* @__PURE__ */ new WeakMap();
|
|
2487
2488
|
function removeQuietly(node) {
|
|
2488
2489
|
ignoredRemovals.add(node);
|
|
2490
|
+
const parent = node.parentNode;
|
|
2491
|
+
if (parent) {
|
|
2492
|
+
let kept = detachedTemplates.get(parent);
|
|
2493
|
+
if (!kept) detachedTemplates.set(parent, kept = /* @__PURE__ */ new Set());
|
|
2494
|
+
kept.add(node);
|
|
2495
|
+
}
|
|
2489
2496
|
node.remove();
|
|
2490
2497
|
}
|
|
2491
2498
|
function addCleanup(node, fn) {
|
|
@@ -2501,6 +2508,11 @@ function destroy(node) {
|
|
|
2501
2508
|
}
|
|
2502
2509
|
for (let i = children.length - 1; i >= 0; i--) destroy(children[i]);
|
|
2503
2510
|
}
|
|
2511
|
+
const detached = detachedTemplates.get(node);
|
|
2512
|
+
if (detached) {
|
|
2513
|
+
detachedTemplates.delete(node);
|
|
2514
|
+
for (const template of detached) destroy(template);
|
|
2515
|
+
}
|
|
2504
2516
|
const list = nodeCleanups.get(node);
|
|
2505
2517
|
if (list) {
|
|
2506
2518
|
nodeCleanups.delete(node);
|
|
@@ -7016,7 +7028,7 @@ function data(values) {
|
|
|
7016
7028
|
Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
|
|
7017
7029
|
return rootScope.data;
|
|
7018
7030
|
}
|
|
7019
|
-
var version2 = "0.12.
|
|
7031
|
+
var version2 = "0.12.5";
|
|
7020
7032
|
var core = {
|
|
7021
7033
|
// Utilities first: Voodoo's own names can override.
|
|
7022
7034
|
...utils_exports,
|
package/dist/essential.d.cts
CHANGED
package/dist/essential.d.ts
CHANGED
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import { magic } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
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-TUXGS7XW.js';
|
|
2
|
+
import './chunk-X3FZPWI6.js';
|
|
3
|
+
import { magic } from './chunk-6QFKV444.js';
|
|
4
|
+
import './chunk-PPT7RDKJ.js';
|
|
5
|
+
import './chunk-YH3IDF6L.js';
|
|
6
|
+
import './chunk-D45ZEXUO.js';
|
|
7
|
+
import './chunk-IWHK6Y32.js';
|
|
8
|
+
import './chunk-OH6FIDTW.js';
|
|
9
|
+
import './chunk-PO6REBDJ.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Voodoo.js v0.12.
|
|
12
|
+
* Voodoo.js v0.12.5
|
|
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.12.
|
|
6
|
+
* Voodoo.js v0.12.5
|
|
7
7
|
* JavaScript feels like magic.
|
|
8
8
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
9
9
|
*/
|
|
@@ -45,6 +45,7 @@ var nodeScopes = /* @__PURE__ */ new WeakMap();
|
|
|
45
45
|
var nodeCleanups = /* @__PURE__ */ new WeakMap();
|
|
46
46
|
var initialized = /* @__PURE__ */ new WeakSet();
|
|
47
47
|
var nodeEffectScopes = /* @__PURE__ */ new WeakMap();
|
|
48
|
+
var detachedTemplates = /* @__PURE__ */ new WeakMap();
|
|
48
49
|
function destroy(node) {
|
|
49
50
|
if (node.nodeType === 1) {
|
|
50
51
|
const children = [];
|
|
@@ -53,6 +54,11 @@ function destroy(node) {
|
|
|
53
54
|
}
|
|
54
55
|
for (let i = children.length - 1; i >= 0; i--) destroy(children[i]);
|
|
55
56
|
}
|
|
57
|
+
const detached = detachedTemplates.get(node);
|
|
58
|
+
if (detached) {
|
|
59
|
+
detachedTemplates.delete(node);
|
|
60
|
+
for (const template of detached) destroy(template);
|
|
61
|
+
}
|
|
56
62
|
const list = nodeCleanups.get(node);
|
|
57
63
|
if (list) {
|
|
58
64
|
nodeCleanups.delete(node);
|
package/dist/gpu.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { supported, clock, shared, gpu, surface, effect, frameLoop, frame } from './chunk-
|
|
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-
|
|
3
|
-
import { http } from './chunk-
|
|
4
|
-
import { originalAttributes, destroy } from './chunk-
|
|
5
|
-
import { handleError } from './chunk-
|
|
6
|
-
import { warn, describeElement } from './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import { defineDirective } from './chunk-
|
|
9
|
-
import './chunk-
|
|
1
|
+
import { supported, clock, shared, gpu, surface, effect, frameLoop, frame } from './chunk-JB72AX7G.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-JB72AX7G.js';
|
|
3
|
+
import { http } from './chunk-X3FZPWI6.js';
|
|
4
|
+
import { originalAttributes, destroy } from './chunk-6QFKV444.js';
|
|
5
|
+
import { handleError } from './chunk-PPT7RDKJ.js';
|
|
6
|
+
import { warn, describeElement } from './chunk-YH3IDF6L.js';
|
|
7
|
+
import './chunk-D45ZEXUO.js';
|
|
8
|
+
import { defineDirective } from './chunk-OH6FIDTW.js';
|
|
9
|
+
import './chunk-PO6REBDJ.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Voodoo.js v0.12.
|
|
12
|
+
* Voodoo.js v0.12.5
|
|
13
13
|
* JavaScript feels like magic.
|
|
14
14
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
15
15
|
*/
|
package/dist/http.cjs
CHANGED
package/dist/http.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { HttpError, clearCache, flushOfflineQueue, http, request } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
1
|
+
export { HttpError, clearCache, flushOfflineQueue, http, request } from './chunk-X3FZPWI6.js';
|
|
2
|
+
import './chunk-YH3IDF6L.js';
|
|
3
|
+
import './chunk-D45ZEXUO.js';
|
|
4
|
+
import './chunk-OH6FIDTW.js';
|
|
5
|
+
import './chunk-PO6REBDJ.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.12.
|
|
6
|
+
* Voodoo.js v0.12.5
|
|
7
7
|
* JavaScript feels like magic.
|
|
8
8
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
9
9
|
*/
|
|
@@ -2487,8 +2487,15 @@ function getEffectScopes(node) {
|
|
|
2487
2487
|
return nodeEffectScopes.get(node) ?? [];
|
|
2488
2488
|
}
|
|
2489
2489
|
var ignoredRemovals = /* @__PURE__ */ new WeakSet();
|
|
2490
|
+
var detachedTemplates = /* @__PURE__ */ new WeakMap();
|
|
2490
2491
|
function removeQuietly(node) {
|
|
2491
2492
|
ignoredRemovals.add(node);
|
|
2493
|
+
const parent = node.parentNode;
|
|
2494
|
+
if (parent) {
|
|
2495
|
+
let kept = detachedTemplates.get(parent);
|
|
2496
|
+
if (!kept) detachedTemplates.set(parent, kept = /* @__PURE__ */ new Set());
|
|
2497
|
+
kept.add(node);
|
|
2498
|
+
}
|
|
2492
2499
|
node.remove();
|
|
2493
2500
|
}
|
|
2494
2501
|
function addCleanup(node, fn) {
|
|
@@ -2504,6 +2511,11 @@ function destroy(node) {
|
|
|
2504
2511
|
}
|
|
2505
2512
|
for (let i = children.length - 1; i >= 0; i--) destroy(children[i]);
|
|
2506
2513
|
}
|
|
2514
|
+
const detached = detachedTemplates.get(node);
|
|
2515
|
+
if (detached) {
|
|
2516
|
+
detachedTemplates.delete(node);
|
|
2517
|
+
for (const template of detached) destroy(template);
|
|
2518
|
+
}
|
|
2507
2519
|
const list = nodeCleanups.get(node);
|
|
2508
2520
|
if (list) {
|
|
2509
2521
|
nodeCleanups.delete(node);
|
|
@@ -7030,7 +7042,7 @@ function data(values) {
|
|
|
7030
7042
|
Object.defineProperties(rootScope.data, Object.getOwnPropertyDescriptors(values));
|
|
7031
7043
|
return rootScope.data;
|
|
7032
7044
|
}
|
|
7033
|
-
var version2 = "0.12.
|
|
7045
|
+
var version2 = "0.12.5";
|
|
7034
7046
|
var core = {
|
|
7035
7047
|
// Utilities first: Voodoo's own names can override.
|
|
7036
7048
|
...utils_exports,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Scope, c as core, V as VoodooCollection } from './query-
|
|
2
|
-
export { A as App, a as AppOptions, C as ComponentDefinition, D as DirectiveBinding, b as DirectiveHooks, P as PRIORITY, R as Resource, d as ResourceOptions, e as VoodooConfig, f as VoodooPlugin, g as VoodooRuntimeError, h as VoodooSyntaxError, i as addCleanup, j as allStores, k as allowedGlobals, l as cache, m as clearParseCache, n as config, o as cookie, p as createApp, q as createResource, r as defineComponent, s as defineDirective, t as destroy, u as documentReady, v as ensureTokens, w as enter, x as evaluate, y as fadeIn, z as fadeOut, B as findScope, E as fromHtml, F as getScope, G as hook, H as hooks, I as injectStyle, J as instances, K as leave, L as magic, M as magics, N as mountComponent, O as parse, Q as query, T as ready, U as refresh, W as removeStore, q as resource, X as rootScope, Y as session, Z as slideDown, _ as slideUp, $ as start, a0 as storage, a1 as store, a2 as storeNames, a3 as stringify, a4 as theme, a5 as toast, a6 as tokenize, a7 as url, a8 as viewTransition, a9 as walk, aa as whenElement, ab as whenReady } from './query-
|
|
1
|
+
import { S as Scope, c as core, V as VoodooCollection } from './query-D_BGQw8m.cjs';
|
|
2
|
+
export { A as App, a as AppOptions, C as ComponentDefinition, D as DirectiveBinding, b as DirectiveHooks, P as PRIORITY, R as Resource, d as ResourceOptions, e as VoodooConfig, f as VoodooPlugin, g as VoodooRuntimeError, h as VoodooSyntaxError, i as addCleanup, j as allStores, k as allowedGlobals, l as cache, m as clearParseCache, n as config, o as cookie, p as createApp, q as createResource, r as defineComponent, s as defineDirective, t as destroy, u as documentReady, v as ensureTokens, w as enter, x as evaluate, y as fadeIn, z as fadeOut, B as findScope, E as fromHtml, F as getScope, G as hook, H as hooks, I as injectStyle, J as instances, K as leave, L as magic, M as magics, N as mountComponent, O as parse, Q as query, T as ready, U as refresh, W as removeStore, q as resource, X as rootScope, Y as session, Z as slideDown, _ as slideUp, $ as start, a0 as storage, a1 as store, a2 as storeNames, a3 as stringify, a4 as theme, a5 as toast, a6 as tokenize, a7 as url, a8 as viewTransition, a9 as walk, aa as whenElement, ab as whenReady } from './query-D_BGQw8m.cjs';
|
|
3
3
|
import { Ref } from './reactivity.cjs';
|
|
4
4
|
export { EffectScope, computed, effect, effectScope, flushSync, isReactive, markRaw, nextTick, reactive, ref, shallowRef, stop, toRaw, unref, watch, watchEffect } from './reactivity.cjs';
|
|
5
5
|
export { HttpError, HttpMethod, HttpResponse, RequestConfig, http, request } from './http.cjs';
|
|
@@ -638,14 +638,22 @@ declare const clipboard: {
|
|
|
638
638
|
* expression, which is what keeps it working under a strict Content Security
|
|
639
639
|
* Policy.
|
|
640
640
|
*
|
|
641
|
-
*
|
|
641
|
+
* THERE IS NO style={{ ... }}. BIND THE ATTRIBUTE
|
|
642
642
|
*
|
|
643
|
-
* style="{
|
|
644
|
-
* style={{ backgroundColor: cor }} does not
|
|
643
|
+
* :style="{ backgroundColor: color }" this is the way
|
|
645
644
|
*
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
*
|
|
645
|
+
* style="{{ backgroundColor: color }}" does nothing
|
|
646
|
+
* style={{ backgroundColor: color }} does nothing
|
|
647
|
+
*
|
|
648
|
+
* This comment used to claim the middle line worked. It does not. A plain
|
|
649
|
+
* `style` attribute is never treated as an expression -- only `v-*`, `:` and
|
|
650
|
+
* `@` attributes are read -- so the braces survive verbatim as a nonsense CSS
|
|
651
|
+
* declaration and the element renders unstyled. Prefix with a colon and the
|
|
652
|
+
* ordinary binding does what was wanted.
|
|
653
|
+
*
|
|
654
|
+
* The last line fails twice over, and its second reason applies to every
|
|
655
|
+
* attribute. An unquoted value ends at the first space, so the browser turns it
|
|
656
|
+
* into six separate attributes, `style="{{"`, `backgroundcolor:=""`, `color,=""`
|
|
649
657
|
* and so on, before a single line of JavaScript has run.
|
|
650
658
|
*
|
|
651
659
|
* The pieces do survive in order, so they could in principle be rejoined. What
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Scope, c as core, V as VoodooCollection } from './query-
|
|
2
|
-
export { A as App, a as AppOptions, C as ComponentDefinition, D as DirectiveBinding, b as DirectiveHooks, P as PRIORITY, R as Resource, d as ResourceOptions, e as VoodooConfig, f as VoodooPlugin, g as VoodooRuntimeError, h as VoodooSyntaxError, i as addCleanup, j as allStores, k as allowedGlobals, l as cache, m as clearParseCache, n as config, o as cookie, p as createApp, q as createResource, r as defineComponent, s as defineDirective, t as destroy, u as documentReady, v as ensureTokens, w as enter, x as evaluate, y as fadeIn, z as fadeOut, B as findScope, E as fromHtml, F as getScope, G as hook, H as hooks, I as injectStyle, J as instances, K as leave, L as magic, M as magics, N as mountComponent, O as parse, Q as query, T as ready, U as refresh, W as removeStore, q as resource, X as rootScope, Y as session, Z as slideDown, _ as slideUp, $ as start, a0 as storage, a1 as store, a2 as storeNames, a3 as stringify, a4 as theme, a5 as toast, a6 as tokenize, a7 as url, a8 as viewTransition, a9 as walk, aa as whenElement, ab as whenReady } from './query-
|
|
1
|
+
import { S as Scope, c as core, V as VoodooCollection } from './query-Dl6Urlwd.js';
|
|
2
|
+
export { A as App, a as AppOptions, C as ComponentDefinition, D as DirectiveBinding, b as DirectiveHooks, P as PRIORITY, R as Resource, d as ResourceOptions, e as VoodooConfig, f as VoodooPlugin, g as VoodooRuntimeError, h as VoodooSyntaxError, i as addCleanup, j as allStores, k as allowedGlobals, l as cache, m as clearParseCache, n as config, o as cookie, p as createApp, q as createResource, r as defineComponent, s as defineDirective, t as destroy, u as documentReady, v as ensureTokens, w as enter, x as evaluate, y as fadeIn, z as fadeOut, B as findScope, E as fromHtml, F as getScope, G as hook, H as hooks, I as injectStyle, J as instances, K as leave, L as magic, M as magics, N as mountComponent, O as parse, Q as query, T as ready, U as refresh, W as removeStore, q as resource, X as rootScope, Y as session, Z as slideDown, _ as slideUp, $ as start, a0 as storage, a1 as store, a2 as storeNames, a3 as stringify, a4 as theme, a5 as toast, a6 as tokenize, a7 as url, a8 as viewTransition, a9 as walk, aa as whenElement, ab as whenReady } from './query-Dl6Urlwd.js';
|
|
3
3
|
import { Ref } from './reactivity.js';
|
|
4
4
|
export { EffectScope, computed, effect, effectScope, flushSync, isReactive, markRaw, nextTick, reactive, ref, shallowRef, stop, toRaw, unref, watch, watchEffect } from './reactivity.js';
|
|
5
5
|
export { HttpError, HttpMethod, HttpResponse, RequestConfig, http, request } from './http.js';
|
|
@@ -638,14 +638,22 @@ declare const clipboard: {
|
|
|
638
638
|
* expression, which is what keeps it working under a strict Content Security
|
|
639
639
|
* Policy.
|
|
640
640
|
*
|
|
641
|
-
*
|
|
641
|
+
* THERE IS NO style={{ ... }}. BIND THE ATTRIBUTE
|
|
642
642
|
*
|
|
643
|
-
* style="{
|
|
644
|
-
* style={{ backgroundColor: cor }} does not
|
|
643
|
+
* :style="{ backgroundColor: color }" this is the way
|
|
645
644
|
*
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
*
|
|
645
|
+
* style="{{ backgroundColor: color }}" does nothing
|
|
646
|
+
* style={{ backgroundColor: color }} does nothing
|
|
647
|
+
*
|
|
648
|
+
* This comment used to claim the middle line worked. It does not. A plain
|
|
649
|
+
* `style` attribute is never treated as an expression -- only `v-*`, `:` and
|
|
650
|
+
* `@` attributes are read -- so the braces survive verbatim as a nonsense CSS
|
|
651
|
+
* declaration and the element renders unstyled. Prefix with a colon and the
|
|
652
|
+
* ordinary binding does what was wanted.
|
|
653
|
+
*
|
|
654
|
+
* The last line fails twice over, and its second reason applies to every
|
|
655
|
+
* attribute. An unquoted value ends at the first space, so the browser turns it
|
|
656
|
+
* into six separate attributes, `style="{{"`, `backgroundcolor:=""`, `color,=""`
|
|
649
657
|
* and so on, before a single line of JavaScript has run.
|
|
650
658
|
*
|
|
651
659
|
* The pieces do survive in order, so they could in principle be rejoined. What
|
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-
|
|
2
|
-
export { VoodooCollection, alert, allStores, applyMask, cache, clearErrors, clipboard, confirm, cookie, createApp, createResource, defineComponent, dialog, ready as documentReady, enter, fadeIn, fadeOut, fromHtml, hotkey, installHooks, 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, useContext, useEffect, useMemo, useRef, useState, validate, validator, viewTransition, whenElement, whenReady } from './chunk-
|
|
3
|
-
export { gpu, reflectWgsl } from './chunk-
|
|
4
|
-
import { http } from './chunk-
|
|
5
|
-
export { HttpError, http, request } from './chunk-
|
|
6
|
-
import { devtoolsBus } from './chunk-
|
|
7
|
-
export { createSocket, devtoolsBus, socket, socketSupported } from './chunk-
|
|
8
|
-
import { magic, markSkipChildren, onStart, rootScope, findScope, destroy, readAttr, evaluate, parse, Scope, getScope, walk, unwrap, addCleanup, hadDirectives, collectDirectives, getEffectScopes, evaluateIn } from './chunk-
|
|
9
|
-
export { Scope, VoodooRuntimeError, VoodooSyntaxError, addCleanup, allowedGlobals, clearParseCache, destroy, evaluate, findScope, getScope, hook, hooks, magic, magics, parse, refresh, rootScope, start, stringify, tokenize, walk } from './chunk-
|
|
10
|
-
import { reactive, warn, handleError, effect, queuePostFlush, nextTick } from './chunk-
|
|
11
|
-
export { EffectScope, computed, effect, effectScope, flushSync, isReactive, markRaw, nextTick, reactive, ref, shallowRef, stop, toRaw, unref, watch, watchEffect } from './chunk-
|
|
12
|
-
import { warnAlias } from './chunk-
|
|
13
|
-
import { parseDuration, formatNumber, formatCurrency, formatDate, relativeTime, device, setFormatDefaults, uid, merge, escapeHtml, truncate, get, titleCase } from './chunk-
|
|
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-
|
|
15
|
-
import { ensureTokens, injectStyle } from './chunk-
|
|
16
|
-
export { ensureTokens, injectStyle } from './chunk-
|
|
17
|
-
import { defineDirective, PRIORITY, config } from './chunk-
|
|
18
|
-
export { PRIORITY, config, defineDirective } from './chunk-
|
|
19
|
-
import './chunk-
|
|
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-TUXGS7XW.js';
|
|
2
|
+
export { VoodooCollection, alert, allStores, applyMask, cache, clearErrors, clipboard, confirm, cookie, createApp, createResource, defineComponent, dialog, ready as documentReady, enter, fadeIn, fadeOut, fromHtml, hotkey, installHooks, 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, useContext, useEffect, useMemo, useRef, useState, validate, validator, viewTransition, whenElement, whenReady } from './chunk-TUXGS7XW.js';
|
|
3
|
+
export { gpu, reflectWgsl } from './chunk-JB72AX7G.js';
|
|
4
|
+
import { http } from './chunk-X3FZPWI6.js';
|
|
5
|
+
export { HttpError, http, request } from './chunk-X3FZPWI6.js';
|
|
6
|
+
import { devtoolsBus } from './chunk-L3JNHLTI.js';
|
|
7
|
+
export { createSocket, devtoolsBus, socket, socketSupported } from './chunk-L3JNHLTI.js';
|
|
8
|
+
import { magic, markSkipChildren, onStart, rootScope, findScope, destroy, readAttr, evaluate, parse, Scope, getScope, walk, unwrap, addCleanup, hadDirectives, collectDirectives, getEffectScopes, evaluateIn } from './chunk-6QFKV444.js';
|
|
9
|
+
export { Scope, VoodooRuntimeError, VoodooSyntaxError, addCleanup, allowedGlobals, clearParseCache, destroy, evaluate, findScope, getScope, hook, hooks, magic, magics, parse, refresh, rootScope, start, stringify, tokenize, walk } from './chunk-6QFKV444.js';
|
|
10
|
+
import { reactive, warn, handleError, effect, queuePostFlush, nextTick } from './chunk-PPT7RDKJ.js';
|
|
11
|
+
export { EffectScope, computed, effect, effectScope, flushSync, isReactive, markRaw, nextTick, reactive, ref, shallowRef, stop, toRaw, unref, watch, watchEffect } from './chunk-PPT7RDKJ.js';
|
|
12
|
+
import { warnAlias } from './chunk-YH3IDF6L.js';
|
|
13
|
+
import { parseDuration, formatNumber, formatCurrency, formatDate, relativeTime, device, setFormatDefaults, uid, merge, escapeHtml, truncate, get, titleCase } from './chunk-D45ZEXUO.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-D45ZEXUO.js';
|
|
15
|
+
import { ensureTokens, injectStyle } from './chunk-IWHK6Y32.js';
|
|
16
|
+
export { ensureTokens, injectStyle } from './chunk-IWHK6Y32.js';
|
|
17
|
+
import { defineDirective, PRIORITY, config } from './chunk-OH6FIDTW.js';
|
|
18
|
+
export { PRIORITY, config, defineDirective } from './chunk-OH6FIDTW.js';
|
|
19
|
+
import './chunk-PO6REBDJ.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Voodoo.js v0.12.
|
|
22
|
+
* Voodoo.js v0.12.5
|
|
23
23
|
* JavaScript feels like magic.
|
|
24
24
|
* (c) 2026 Voodoo.js contributors. MIT License.
|
|
25
25
|
*/
|