sibujs 3.3.1 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.cjs +21 -15
- package/dist/browser.js +5 -5
- package/dist/build.cjs +48 -20
- package/dist/build.js +13 -13
- package/dist/cdn.global.js +7 -7
- package/dist/{chunk-IKLYI3RF.js → chunk-2ARSB7NG.js} +36 -13
- package/dist/{chunk-TEFZT5PJ.js → chunk-4NJEAPLI.js} +1 -1
- package/dist/{chunk-F7FXQ3QS.js → chunk-5VH3GIDX.js} +1 -1
- package/dist/{chunk-RYMOSG5B.js → chunk-62V653X2.js} +16 -21
- package/dist/{chunk-XH2RTYEQ.js → chunk-655B7MMR.js} +3 -3
- package/dist/{chunk-37BUKSLH.js → chunk-6TCOWMGY.js} +1 -1
- package/dist/{chunk-6LTFHJQG.js → chunk-A7CZH3GN.js} +3 -3
- package/dist/{chunk-ULLTNDRA.js → chunk-AEOLHSSQ.js} +3 -3
- package/dist/chunk-CCSJMTRN.js +15 -0
- package/dist/{chunk-R3QEDXFS.js → chunk-EX77FXTT.js} +1 -1
- package/dist/{chunk-ZUVLC7TM.js → chunk-FJIRS3FM.js} +1 -1
- package/dist/{chunk-Z37APKBV.js → chunk-FJO2ZL4Q.js} +4 -4
- package/dist/{chunk-WW6DAGGR.js → chunk-G6N3LMO2.js} +1 -1
- package/dist/{chunk-WL7BIR6O.js → chunk-IQJ36UTJ.js} +1 -1
- package/dist/{chunk-WZG2SZOT.js → chunk-JCQG2I2G.js} +1 -1
- package/dist/{chunk-MHBCEJQO.js → chunk-N5TQVEKE.js} +2 -2
- package/dist/{chunk-4UUMSLSL.js → chunk-P7C7SEJV.js} +4 -4
- package/dist/{chunk-VOVVTOEA.js → chunk-Q46YIQYW.js} +2 -2
- package/dist/{chunk-NHKQKKZU.js → chunk-QCFBIVIQ.js} +1 -1
- package/dist/{chunk-SLMFA3ZZ.js → chunk-RLTFJYDN.js} +2 -2
- package/dist/{chunk-GOJMFRBL.js → chunk-S3NFJO6L.js} +20 -14
- package/dist/{chunk-AMIKDMLP.js → chunk-YUBEOWII.js} +5 -5
- package/dist/{chunk-M5KBNOSJ.js → chunk-YUR5SX7F.js} +2 -2
- package/dist/{chunk-LU2MQXQQ.js → chunk-ZEUP4TUD.js} +2 -2
- package/dist/data.cjs +21 -15
- package/dist/data.js +7 -7
- package/dist/devtools.cjs +21 -15
- package/dist/devtools.js +5 -5
- package/dist/ecosystem.cjs +21 -15
- package/dist/ecosystem.js +8 -8
- package/dist/extras.cjs +32 -31
- package/dist/extras.js +22 -22
- package/dist/index.cjs +50 -20
- package/dist/index.d.cts +20 -7
- package/dist/index.d.ts +20 -7
- package/dist/index.js +17 -13
- package/dist/motion.cjs +1 -1
- package/dist/motion.js +3 -3
- package/dist/patterns.cjs +21 -15
- package/dist/patterns.js +6 -6
- package/dist/performance.cjs +21 -15
- package/dist/performance.js +6 -6
- package/dist/plugins.cjs +110 -103
- package/dist/plugins.js +95 -94
- package/dist/{ssr-6D67RAVB.js → ssr-2PPULEK2.js} +2 -2
- package/dist/ssr.cjs +21 -15
- package/dist/ssr.js +9 -9
- package/dist/testing.cjs +21 -15
- package/dist/testing.js +3 -3
- package/dist/ui.cjs +36 -34
- package/dist/ui.js +8 -8
- package/dist/widgets.cjs +21 -15
- package/dist/widgets.js +7 -7
- package/package.json +1 -1
- package/dist/chunk-YT6HQ6AM.js +0 -14
package/dist/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
deepSignal,
|
|
20
20
|
defer,
|
|
21
21
|
each,
|
|
22
|
+
getAction,
|
|
22
23
|
getSlot,
|
|
23
24
|
html,
|
|
24
25
|
lazy,
|
|
@@ -31,6 +32,7 @@ import {
|
|
|
31
32
|
onUnmount,
|
|
32
33
|
reactiveArray,
|
|
33
34
|
ref,
|
|
35
|
+
registerAction,
|
|
34
36
|
registerComponent,
|
|
35
37
|
resolveComponent,
|
|
36
38
|
setGlobalErrorHandler,
|
|
@@ -44,11 +46,11 @@ import {
|
|
|
44
46
|
unregisterComponent,
|
|
45
47
|
when,
|
|
46
48
|
writable
|
|
47
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-2ARSB7NG.js";
|
|
48
50
|
import {
|
|
49
51
|
__resetIdCounter,
|
|
50
52
|
createId
|
|
51
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-CCSJMTRN.js";
|
|
52
54
|
import {
|
|
53
55
|
a,
|
|
54
56
|
abbr,
|
|
@@ -186,26 +188,26 @@ import {
|
|
|
186
188
|
use,
|
|
187
189
|
var_,
|
|
188
190
|
video
|
|
189
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-6TCOWMGY.js";
|
|
190
192
|
import {
|
|
191
193
|
watch
|
|
192
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-RLTFJYDN.js";
|
|
193
195
|
import {
|
|
194
196
|
trustHTML
|
|
195
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-EX77FXTT.js";
|
|
196
198
|
import {
|
|
197
199
|
context
|
|
198
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-5VH3GIDX.js";
|
|
199
201
|
import {
|
|
200
202
|
SVG_NS,
|
|
201
203
|
tagFactory
|
|
202
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-ZEUP4TUD.js";
|
|
203
205
|
import {
|
|
204
206
|
bindDynamic
|
|
205
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-QCFBIVIQ.js";
|
|
206
208
|
import {
|
|
207
209
|
derived
|
|
208
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-G6N3LMO2.js";
|
|
209
211
|
import {
|
|
210
212
|
checkLeaks,
|
|
211
213
|
dispose,
|
|
@@ -215,7 +217,7 @@ import "./chunk-L3GAGWCC.js";
|
|
|
215
217
|
import {
|
|
216
218
|
effect,
|
|
217
219
|
on
|
|
218
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-N5TQVEKE.js";
|
|
219
221
|
import {
|
|
220
222
|
disableSSR,
|
|
221
223
|
enableSSR,
|
|
@@ -224,18 +226,18 @@ import {
|
|
|
224
226
|
isSSR,
|
|
225
227
|
runInSSRContext,
|
|
226
228
|
withSSR
|
|
227
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-S3NFJO6L.js";
|
|
228
230
|
import {
|
|
229
231
|
batch,
|
|
230
232
|
enqueueBatchedSignal,
|
|
231
233
|
isBatching,
|
|
232
234
|
signal
|
|
233
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-JCQG2I2G.js";
|
|
234
236
|
import {
|
|
235
237
|
retrack,
|
|
236
238
|
setMaxDrainIterations,
|
|
237
239
|
untracked
|
|
238
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-4NJEAPLI.js";
|
|
239
241
|
import "./chunk-COY6PUD2.js";
|
|
240
242
|
export {
|
|
241
243
|
DynamicComponent,
|
|
@@ -317,6 +319,7 @@ export {
|
|
|
317
319
|
footer,
|
|
318
320
|
form,
|
|
319
321
|
g,
|
|
322
|
+
getAction,
|
|
320
323
|
getRequestScopedCache,
|
|
321
324
|
getSSRStore,
|
|
322
325
|
getSlot,
|
|
@@ -385,6 +388,7 @@ export {
|
|
|
385
388
|
reactiveArray,
|
|
386
389
|
rect,
|
|
387
390
|
ref,
|
|
391
|
+
registerAction,
|
|
388
392
|
registerComponent,
|
|
389
393
|
registerDisposer,
|
|
390
394
|
resolveComponent,
|
package/dist/motion.cjs
CHANGED
|
@@ -719,7 +719,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
719
719
|
|
|
720
720
|
// src/reactivity/track.ts
|
|
721
721
|
var _isDev3 = isDev();
|
|
722
|
-
var _runtimeVersion =
|
|
722
|
+
var _runtimeVersion = true ? "3.3.2" : "dev";
|
|
723
723
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
724
724
|
function resolveReactiveApi() {
|
|
725
725
|
const g = globalThis;
|
package/dist/motion.js
CHANGED
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
stagger,
|
|
20
20
|
transition,
|
|
21
21
|
viewTransition
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-IQJ36UTJ.js";
|
|
23
|
+
import "./chunk-JCQG2I2G.js";
|
|
24
|
+
import "./chunk-4NJEAPLI.js";
|
|
25
25
|
import "./chunk-COY6PUD2.js";
|
|
26
26
|
export {
|
|
27
27
|
TransitionGroup,
|
package/dist/patterns.cjs
CHANGED
|
@@ -481,7 +481,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
481
481
|
|
|
482
482
|
// src/reactivity/track.ts
|
|
483
483
|
var _isDev3 = isDev();
|
|
484
|
-
var _runtimeVersion =
|
|
484
|
+
var _runtimeVersion = true ? "3.3.2" : "dev";
|
|
485
485
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
486
486
|
function resolveReactiveApi() {
|
|
487
487
|
const g = globalThis;
|
|
@@ -729,23 +729,29 @@ function machine(config) {
|
|
|
729
729
|
}
|
|
730
730
|
|
|
731
731
|
// src/core/ssr-context.ts
|
|
732
|
-
var
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
732
|
+
var SSR_KEY = /* @__PURE__ */ Symbol.for("sibujs.ssr.v1");
|
|
733
|
+
function detectSSRShared() {
|
|
734
|
+
let detected = null;
|
|
735
|
+
try {
|
|
736
|
+
if (typeof process !== "undefined" && process.versions && process.versions.node) {
|
|
737
|
+
let mod = null;
|
|
738
|
+
const getBuiltin = process.getBuiltinModule;
|
|
739
|
+
if (typeof getBuiltin === "function") {
|
|
740
|
+
mod = getBuiltin("node:async_hooks");
|
|
741
|
+
} else {
|
|
742
|
+
const req = Function("return typeof require==='function'?require:null")();
|
|
743
|
+
if (req) mod = req("node:async_hooks");
|
|
744
|
+
}
|
|
745
|
+
if (mod) detected = new mod.AsyncLocalStorage();
|
|
742
746
|
}
|
|
743
|
-
|
|
747
|
+
} catch {
|
|
748
|
+
detected = null;
|
|
744
749
|
}
|
|
745
|
-
|
|
746
|
-
als = null;
|
|
750
|
+
return { als: detected, fallbackStore: { ssr: false, suspenseIdCounter: 0 } };
|
|
747
751
|
}
|
|
748
|
-
var
|
|
752
|
+
var _shared = globalThis[SSR_KEY] ?? (globalThis[SSR_KEY] = detectSSRShared());
|
|
753
|
+
var als = _shared.als;
|
|
754
|
+
var fallbackStore = _shared.fallbackStore;
|
|
749
755
|
function getSSRStore() {
|
|
750
756
|
if (als) {
|
|
751
757
|
const s = als.getStore();
|
package/dist/patterns.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
optimisticList,
|
|
6
6
|
persisted,
|
|
7
7
|
timeline
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-655B7MMR.js";
|
|
9
9
|
import {
|
|
10
10
|
RenderProp,
|
|
11
11
|
assertType,
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
withWrapper
|
|
24
24
|
} from "./chunk-VJE6DDYM.js";
|
|
25
25
|
import "./chunk-H3SRKIYX.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-G6N3LMO2.js";
|
|
27
|
+
import "./chunk-N5TQVEKE.js";
|
|
28
|
+
import "./chunk-S3NFJO6L.js";
|
|
29
|
+
import "./chunk-JCQG2I2G.js";
|
|
30
|
+
import "./chunk-4NJEAPLI.js";
|
|
31
31
|
import "./chunk-COY6PUD2.js";
|
|
32
32
|
export {
|
|
33
33
|
RenderProp,
|
package/dist/performance.cjs
CHANGED
|
@@ -654,7 +654,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
654
654
|
|
|
655
655
|
// src/reactivity/track.ts
|
|
656
656
|
var _isDev3 = isDev();
|
|
657
|
-
var _runtimeVersion =
|
|
657
|
+
var _runtimeVersion = true ? "3.3.2" : "dev";
|
|
658
658
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
659
659
|
function resolveReactiveApi() {
|
|
660
660
|
const g = globalThis;
|
|
@@ -711,23 +711,29 @@ var getSubscriberDeps2 = API.getSubscriberDeps;
|
|
|
711
711
|
var forEachSubscriber2 = API.forEachSubscriber;
|
|
712
712
|
|
|
713
713
|
// src/core/ssr-context.ts
|
|
714
|
-
var
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
714
|
+
var SSR_KEY = /* @__PURE__ */ Symbol.for("sibujs.ssr.v1");
|
|
715
|
+
function detectSSRShared() {
|
|
716
|
+
let detected = null;
|
|
717
|
+
try {
|
|
718
|
+
if (typeof process !== "undefined" && process.versions && process.versions.node) {
|
|
719
|
+
let mod = null;
|
|
720
|
+
const getBuiltin = process.getBuiltinModule;
|
|
721
|
+
if (typeof getBuiltin === "function") {
|
|
722
|
+
mod = getBuiltin("node:async_hooks");
|
|
723
|
+
} else {
|
|
724
|
+
const req = Function("return typeof require==='function'?require:null")();
|
|
725
|
+
if (req) mod = req("node:async_hooks");
|
|
726
|
+
}
|
|
727
|
+
if (mod) detected = new mod.AsyncLocalStorage();
|
|
724
728
|
}
|
|
725
|
-
|
|
729
|
+
} catch {
|
|
730
|
+
detected = null;
|
|
726
731
|
}
|
|
727
|
-
|
|
728
|
-
als = null;
|
|
732
|
+
return { als: detected, fallbackStore: { ssr: false, suspenseIdCounter: 0 } };
|
|
729
733
|
}
|
|
730
|
-
var
|
|
734
|
+
var _shared = globalThis[SSR_KEY] ?? (globalThis[SSR_KEY] = detectSSRShared());
|
|
735
|
+
var als = _shared.als;
|
|
736
|
+
var fallbackStore = _shared.fallbackStore;
|
|
731
737
|
function getSSRStore() {
|
|
732
738
|
if (als) {
|
|
733
739
|
const s = als.getStore();
|
package/dist/performance.js
CHANGED
|
@@ -33,16 +33,16 @@ import {
|
|
|
33
33
|
transitionState,
|
|
34
34
|
uniqueId,
|
|
35
35
|
yieldToMain
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YUR5SX7F.js";
|
|
37
37
|
import {
|
|
38
38
|
trustHTML
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EX77FXTT.js";
|
|
40
40
|
import "./chunk-5VGSK6D2.js";
|
|
41
41
|
import "./chunk-L3GAGWCC.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-N5TQVEKE.js";
|
|
43
|
+
import "./chunk-S3NFJO6L.js";
|
|
44
|
+
import "./chunk-JCQG2I2G.js";
|
|
45
|
+
import "./chunk-4NJEAPLI.js";
|
|
46
46
|
import "./chunk-COY6PUD2.js";
|
|
47
47
|
export {
|
|
48
48
|
DOMPool,
|