sibujs 4.12.0 → 4.13.1
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 +71 -18
- package/dist/browser.js +4 -4
- package/dist/build.cjs +6618 -6178
- package/dist/build.d.cts +554 -415
- package/dist/build.d.ts +554 -415
- package/dist/build.js +2091 -1735
- package/dist/cdn.dev.global.js +12 -12
- package/dist/cdn.full.dev.global.js +13 -13
- package/dist/cdn.full.global.js +12 -12
- package/dist/cdn.global.js +12 -12
- package/dist/{chunk-WFRQ6D7H.js → chunk-22OPSWMF.js} +1 -1
- package/dist/{chunk-ZJCHY2IB.js → chunk-2NC56RGY.js} +1 -1
- package/dist/{chunk-NB7TFSJE.js → chunk-2O6JJCUR.js} +4 -4
- package/dist/{chunk-B2Y5BJSP.js → chunk-4UTGDVSA.js} +70 -16
- package/dist/{chunk-NAVLCP4S.js → chunk-5RIBLY2N.js} +4 -4
- package/dist/{chunk-T5O2CUHV.js → chunk-5XUGJM3J.js} +1 -1
- package/dist/{chunk-HXT2RNH5.js → chunk-ADZHPN2B.js} +1 -1
- package/dist/chunk-B36ADEIR.js +21 -0
- package/dist/{chunk-DFZL3AX7.js → chunk-C73VBPEF.js} +9 -5
- package/dist/{chunk-WH4U2VUE.js → chunk-CPQKWCJ2.js} +13 -5
- package/dist/{chunk-LEUEKK4G.js → chunk-EU7T7EB3.js} +2 -2
- package/dist/{chunk-QLG5IK7F.js → chunk-G3Z2FEBR.js} +4 -4
- package/dist/{chunk-ZPY2UAKM.js → chunk-J4X7ICH4.js} +3 -3
- package/dist/{chunk-XX4BRMWF.js → chunk-K4LNUT5L.js} +1 -1
- package/dist/{chunk-CI4W6XAU.js → chunk-KC62VURU.js} +3 -3
- package/dist/chunk-N5TBYXHW.js +17 -0
- package/dist/{chunk-653KGQS2.js → chunk-OIKD7YDY.js} +2 -2
- package/dist/{chunk-LYTUTXQP.js → chunk-PBJYCE2Z.js} +46 -4
- package/dist/{chunk-EMB5PG7V.js → chunk-QC3NP47A.js} +1 -1
- package/dist/{chunk-IHA62NGJ.js → chunk-QKFVMIAV.js} +1 -1
- package/dist/{chunk-LXBMVGVB.js → chunk-QZ47OZ25.js} +3 -3
- package/dist/{chunk-ZTYCCBU3.js → chunk-VFPLWUT7.js} +44 -26
- package/dist/{chunk-RK7EPQPG.js → chunk-YFTBCCVH.js} +1 -1
- package/dist/data.cjs +71 -18
- package/dist/data.js +5 -5
- package/dist/datePicker-DxuxWpgF.d.cts +285 -0
- package/dist/datePicker-DxuxWpgF.d.ts +285 -0
- package/dist/devtools.cjs +71 -18
- package/dist/devtools.js +4 -4
- package/dist/ecosystem.cjs +82 -21
- package/dist/ecosystem.js +7 -7
- package/dist/extras.cjs +131 -23
- package/dist/extras.d.cts +2 -2
- package/dist/extras.d.ts +2 -2
- package/dist/extras.js +21 -20
- package/dist/index.cjs +115 -37
- package/dist/index.d.cts +59 -5
- package/dist/index.d.ts +59 -5
- package/dist/index.js +10 -10
- package/dist/motion.cjs +69 -16
- package/dist/motion.js +3 -3
- package/dist/patterns.cjs +71 -18
- package/dist/patterns.js +5 -5
- package/dist/performance.cjs +69 -16
- package/dist/performance.js +4 -4
- package/dist/plugins.cjs +1421 -996
- package/dist/plugins.d.cts +132 -3
- package/dist/plugins.d.ts +132 -3
- package/dist/plugins.js +262 -11
- package/dist/routeMiddleware-B1sp4P7a.d.ts +688 -0
- package/dist/routeMiddleware-CedQTsLK.d.cts +688 -0
- package/dist/ssr.cjs +3607 -3524
- package/dist/ssr.d.cts +20 -671
- package/dist/ssr.d.ts +20 -671
- package/dist/ssr.js +15 -7
- package/dist/testing.cjs +71 -18
- package/dist/testing.js +2 -2
- package/dist/ui.cjs +78 -18
- package/dist/ui.js +8 -7
- package/dist/widgets.cjs +1352 -952
- package/dist/widgets.d.cts +100 -268
- package/dist/widgets.d.ts +100 -268
- package/dist/widgets.js +316 -7
- package/package.json +9 -1
package/dist/extras.cjs
CHANGED
|
@@ -748,6 +748,7 @@ function bindOwnerScope(fn) {
|
|
|
748
748
|
if (scope === null) return fn;
|
|
749
749
|
return (...args) => runWithOwnerScope(scope, () => fn(...args));
|
|
750
750
|
}
|
|
751
|
+
var currentStructOwner = null;
|
|
751
752
|
var subscriberEpochCounter = 0;
|
|
752
753
|
function retrack(effectFn, subscriber) {
|
|
753
754
|
const prev = currentSubscriber;
|
|
@@ -767,6 +768,9 @@ function retrack(effectFn, subscriber) {
|
|
|
767
768
|
if (prevScope !== null && !sub2._epoch && sub2._scope === void 0) sub2._scope = prevScope;
|
|
768
769
|
const scope = sub2._scope === void 0 ? null : sub2._scope;
|
|
769
770
|
if (scope !== prevScope) currentOwnerScope = scope;
|
|
771
|
+
const prevStructOwner = currentStructOwner;
|
|
772
|
+
if (prevStructOwner !== null && !sub2._epoch && !sub2._c && sub2._owner == null) sub2._owner = prevStructOwner;
|
|
773
|
+
if (sub2._tok != null) currentStructOwner = sub2._tok;
|
|
770
774
|
const epoch = ++subscriberEpochCounter;
|
|
771
775
|
sub2._epoch = epoch;
|
|
772
776
|
sub2._structDirty = false;
|
|
@@ -780,6 +784,7 @@ function retrack(effectFn, subscriber) {
|
|
|
780
784
|
} finally {
|
|
781
785
|
currentSubscriber = prev;
|
|
782
786
|
currentOwnerScope = prevScope;
|
|
787
|
+
currentStructOwner = prevStructOwner;
|
|
783
788
|
if (savedDepth !== 0) {
|
|
784
789
|
suspendDepth = savedDepth;
|
|
785
790
|
suspendSavedSub = savedSuspendSub;
|
|
@@ -836,7 +841,25 @@ function track(effectFn, subscriber) {
|
|
|
836
841
|
}
|
|
837
842
|
return sub2._dispose ?? (sub2._dispose = () => cleanup(subscriber));
|
|
838
843
|
}
|
|
839
|
-
function reactiveBinding(commit, ownerNode) {
|
|
844
|
+
function reactiveBinding(commit, ownerNode, structural) {
|
|
845
|
+
return createBinding(commit, ownerNode, structural === true)._dispose;
|
|
846
|
+
}
|
|
847
|
+
function structuralBinding(commit, ownerNode) {
|
|
848
|
+
const sub2 = createBinding(commit, ownerNode, true);
|
|
849
|
+
return {
|
|
850
|
+
stop: sub2._dispose,
|
|
851
|
+
run: (fn) => {
|
|
852
|
+
const prev = currentStructOwner;
|
|
853
|
+
currentStructOwner = sub2._tok ?? null;
|
|
854
|
+
try {
|
|
855
|
+
return fn();
|
|
856
|
+
} finally {
|
|
857
|
+
currentStructOwner = prev;
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
};
|
|
861
|
+
}
|
|
862
|
+
function createBinding(commit, ownerNode, structural) {
|
|
840
863
|
const run = () => {
|
|
841
864
|
const s2 = subscriber;
|
|
842
865
|
if (s2._disposed || s2._reentrant) return;
|
|
@@ -859,19 +882,25 @@ function reactiveBinding(commit, ownerNode) {
|
|
|
859
882
|
subscriber._disposed = false;
|
|
860
883
|
subscriber._errorPhase = "binding";
|
|
861
884
|
subscriber._errorNode = ownerNode;
|
|
885
|
+
subscriber._tok = null;
|
|
886
|
+
subscriber._owner = null;
|
|
887
|
+
if (structural) subscriber._tok = { sub: subscriber };
|
|
862
888
|
try {
|
|
863
889
|
run();
|
|
864
890
|
} catch (err) {
|
|
865
891
|
subscriber._disposed = true;
|
|
866
892
|
subscriber._errorNode = void 0;
|
|
893
|
+
if (subscriber._tok != null) subscriber._tok.sub = null;
|
|
867
894
|
cleanup(subscriber);
|
|
868
895
|
throw err;
|
|
869
896
|
}
|
|
870
|
-
|
|
897
|
+
subscriber._dispose = () => {
|
|
871
898
|
subscriber._disposed = true;
|
|
872
899
|
subscriber._errorNode = void 0;
|
|
900
|
+
if (subscriber._tok != null) subscriber._tok.sub = null;
|
|
873
901
|
cleanup(subscriber);
|
|
874
|
-
}
|
|
902
|
+
};
|
|
903
|
+
return subscriber;
|
|
875
904
|
}
|
|
876
905
|
function recordDependency(signal2) {
|
|
877
906
|
if (!currentSubscriber) return;
|
|
@@ -895,6 +924,7 @@ function recordDependency(signal2) {
|
|
|
895
924
|
}
|
|
896
925
|
function cleanup(subscriber) {
|
|
897
926
|
const sub2 = subscriber;
|
|
927
|
+
if (sub2._owner != null) sub2._owner = null;
|
|
898
928
|
let node = sub2.depsHead ?? null;
|
|
899
929
|
sub2.depsHead = null;
|
|
900
930
|
sub2.depsTail = null;
|
|
@@ -954,20 +984,41 @@ function drainQueue() {
|
|
|
954
984
|
break;
|
|
955
985
|
}
|
|
956
986
|
const sub2 = pendingQueue[i2++];
|
|
957
|
-
pendingSet.delete(sub2);
|
|
958
|
-
if (
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
987
|
+
if (!pendingSet.delete(sub2)) continue;
|
|
988
|
+
if (sub2._owner != null && pendingSet.size > 0) {
|
|
989
|
+
runPendingOwners(sub2);
|
|
990
|
+
if (pendingSet.has(sub2)) continue;
|
|
991
|
+
}
|
|
992
|
+
runQueued(sub2);
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
function runPendingOwners(sub2) {
|
|
996
|
+
for (; ; ) {
|
|
997
|
+
let outer = null;
|
|
998
|
+
for (let t = sub2._owner ?? null; t !== null; ) {
|
|
999
|
+
const o = t.sub;
|
|
1000
|
+
if (o === null) break;
|
|
1001
|
+
if (pendingSet.has(o)) outer = o;
|
|
1002
|
+
t = o._owner ?? null;
|
|
1003
|
+
}
|
|
1004
|
+
if (outer === null) return;
|
|
1005
|
+
pendingSet.delete(outer);
|
|
1006
|
+
runQueued(outer);
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
function runQueued(sub2) {
|
|
1010
|
+
if (quarantined.size > 0 && quarantined.has(sub2)) return;
|
|
1011
|
+
if (sub2._hasComputedDep === true && !depsChanged(sub2)) return;
|
|
1012
|
+
if (tickRepeat(sub2)) {
|
|
1013
|
+
cycleError(sub2);
|
|
1014
|
+
quarantined.add(sub2);
|
|
1015
|
+
return;
|
|
1016
|
+
}
|
|
1017
|
+
const pushed = beginDisposerCapture(sub2._cap ?? null);
|
|
1018
|
+
try {
|
|
1019
|
+
safeInvoke(sub2);
|
|
1020
|
+
} finally {
|
|
1021
|
+
if (pushed) endDisposerCapture();
|
|
971
1022
|
}
|
|
972
1023
|
}
|
|
973
1024
|
function drainNotificationQueue() {
|
|
@@ -1103,7 +1154,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
1103
1154
|
}
|
|
1104
1155
|
|
|
1105
1156
|
// src/reactivity/track.ts
|
|
1106
|
-
var _runtimeVersion = true ? "4.
|
|
1157
|
+
var _runtimeVersion = true ? "4.13.1" : "dev";
|
|
1107
1158
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
1108
1159
|
function resolveReactiveApi() {
|
|
1109
1160
|
const g2 = globalThis;
|
|
@@ -1138,6 +1189,7 @@ function resolveReactiveApi() {
|
|
|
1138
1189
|
getOwnerScope,
|
|
1139
1190
|
runWithOwnerScope,
|
|
1140
1191
|
bindOwnerScope,
|
|
1192
|
+
structuralBinding,
|
|
1141
1193
|
version: _runtimeVersion
|
|
1142
1194
|
};
|
|
1143
1195
|
g2[REGISTRY_KEY] = local;
|
|
@@ -1164,6 +1216,7 @@ var forEachSubscriber2 = API.forEachSubscriber;
|
|
|
1164
1216
|
var getOwnerScope2 = API.getOwnerScope ?? getOwnerScope;
|
|
1165
1217
|
var runWithOwnerScope2 = API.runWithOwnerScope ?? runWithOwnerScope;
|
|
1166
1218
|
var bindOwnerScope2 = API.bindOwnerScope ?? bindOwnerScope;
|
|
1219
|
+
var structuralBinding2 = API.structuralBinding ?? ((commit, ownerNode) => ({ stop: API.reactiveBinding(commit, ownerNode), run: (fn) => fn() }));
|
|
1167
1220
|
|
|
1168
1221
|
// src/core/devtoolsHook.ts
|
|
1169
1222
|
function emitDevtools(hook, event, payload) {
|
|
@@ -8056,6 +8109,15 @@ function bindData(el, key, getter) {
|
|
|
8056
8109
|
return bindAttribute(el, dataAttr, getter);
|
|
8057
8110
|
}
|
|
8058
8111
|
|
|
8112
|
+
// src/widgets/keyOwnership.ts
|
|
8113
|
+
var CLAIM = /* @__PURE__ */ Symbol.for("sibujs.widgetKey");
|
|
8114
|
+
function claimWidgetKey(event, widget) {
|
|
8115
|
+
event[CLAIM] = widget;
|
|
8116
|
+
}
|
|
8117
|
+
function isWidgetKeyEvent(event) {
|
|
8118
|
+
return event[CLAIM] !== void 0;
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8059
8121
|
// src/ui/dialog.ts
|
|
8060
8122
|
var _dlg = globalSingleton(/* @__PURE__ */ Symbol.for("sibujs.dialog.v1"), () => ({
|
|
8061
8123
|
stack: [],
|
|
@@ -8071,6 +8133,7 @@ function __resetDialogStack() {
|
|
|
8071
8133
|
}
|
|
8072
8134
|
function handleGlobalKeydown(event) {
|
|
8073
8135
|
if (event.key !== "Escape") return;
|
|
8136
|
+
if (isWidgetKeyEvent(event)) return;
|
|
8074
8137
|
const top = dialogStack[dialogStack.length - 1];
|
|
8075
8138
|
if (top) top.close();
|
|
8076
8139
|
}
|
|
@@ -10822,9 +10885,10 @@ function refocus(el, snapshot) {
|
|
|
10822
10885
|
field.setSelectionRange(start, end, snapshot.direction ?? "none");
|
|
10823
10886
|
}
|
|
10824
10887
|
}
|
|
10825
|
-
function restoreFocusWithin(snapshot, nodes, where) {
|
|
10888
|
+
function restoreFocusWithin(snapshot, nodes, where, policy) {
|
|
10826
10889
|
if (!snapshot) return;
|
|
10827
10890
|
if (typeof document === "undefined") return;
|
|
10891
|
+
if (policy === "discard") return;
|
|
10828
10892
|
const active = document.activeElement;
|
|
10829
10893
|
if (active === snapshot.el) return;
|
|
10830
10894
|
if (active && active !== document.body && active !== document.documentElement) return;
|
|
@@ -10841,10 +10905,17 @@ function restoreFocusWithin(snapshot, nodes, where) {
|
|
|
10841
10905
|
}
|
|
10842
10906
|
ambiguous = count > 1;
|
|
10843
10907
|
}
|
|
10908
|
+
if (policy !== void 0 && typeof policy === "object") {
|
|
10909
|
+
const target = typeof policy.restoreTo === "function" ? policy.restoreTo() : policy.restoreTo;
|
|
10910
|
+
if (target?.isConnected) {
|
|
10911
|
+
target.focus();
|
|
10912
|
+
if (document.activeElement === target) return;
|
|
10913
|
+
}
|
|
10914
|
+
}
|
|
10844
10915
|
devWarnLazy(() => {
|
|
10845
10916
|
const id = snapshot.attr ? ` (${snapshot.attr}="${snapshot.value}")` : "";
|
|
10846
10917
|
const why = ambiguous ? `several elements in the rebuilt subtree share ${snapshot.attr}="${snapshot.value}", so there is no way to tell which one the user was in \u2014 a shared name (a radio group) identifies a GROUP, not a control. Add a unique id or data-focus-key to each` : "no element in the rebuilt subtree carries the same identity. Give it a stable id, name, or data-focus-key that the rebuild reproduces";
|
|
10847
|
-
return `${where}: a reactive rebuild discarded the focused element <${snapshot.tag.toLowerCase()}>${id} and could not re-establish it, so focus fell back to <body>. An in-progress edit ends here, and an in-progress IME composition is lost outright \u2014 a composition belongs to the DOM node, so it cannot survive the node being destroyed. ${why}, or stop the rebuild from happening: key the subtree with match(() => shapeKey(), { \u2026 }) so it is re-created only when the shape actually changes, and drive the rest with reactive attributes and text children, which mutate nodes in place instead of replacing them
|
|
10918
|
+
return `${where}: a reactive rebuild discarded the focused element <${snapshot.tag.toLowerCase()}>${id} and could not re-establish it, so focus fell back to <body>. An in-progress edit ends here, and an in-progress IME composition is lost outright \u2014 a composition belongs to the DOM node, so it cannot survive the node being destroyed. ${why}, or stop the rebuild from happening: key the subtree with match(() => shapeKey(), { \u2026 }) so it is re-created only when the shape actually changes, and drive the rest with reactive attributes and text children, which mutate nodes in place instead of replacing them. If dropping focus is INTENDED here (closing a panel, say), pass { focus: "discard" } to when()/match() to silence this, or { focus: { restoreTo: element } } to send focus somewhere other than <body>.`;
|
|
10848
10919
|
});
|
|
10849
10920
|
}
|
|
10850
10921
|
|
|
@@ -10919,7 +10990,7 @@ function bindChildNode(placeholder, getter) {
|
|
|
10919
10990
|
lastNodes = newNodes;
|
|
10920
10991
|
restoreFocusWithin(focused, newNodes, "bindChildNode");
|
|
10921
10992
|
}
|
|
10922
|
-
return reactiveBinding2(commit, placeholder);
|
|
10993
|
+
return reactiveBinding2(commit, placeholder, true);
|
|
10923
10994
|
}
|
|
10924
10995
|
|
|
10925
10996
|
// src/core/rendering/requireDocument.ts
|
|
@@ -12245,7 +12316,7 @@ var CDN_ENTRY_POINTS = {
|
|
|
12245
12316
|
};
|
|
12246
12317
|
var packageInfo = {
|
|
12247
12318
|
name: "sibujs",
|
|
12248
|
-
version: true ? "4.
|
|
12319
|
+
version: true ? "4.13.1" : "dev",
|
|
12249
12320
|
entryPoints: MODULE_ENTRY_POINTS,
|
|
12250
12321
|
/**
|
|
12251
12322
|
* Generate the package.json `exports` map. Module entries resolve to the
|
|
@@ -12390,7 +12461,7 @@ var env = {
|
|
|
12390
12461
|
};
|
|
12391
12462
|
|
|
12392
12463
|
// src/plugins/versioning.ts
|
|
12393
|
-
var VERSION = true ? "4.
|
|
12464
|
+
var VERSION = true ? "4.13.1" : "dev";
|
|
12394
12465
|
var NUM = "(?:0|[1-9]\\d*)";
|
|
12395
12466
|
var PRE_ID = `(?:${NUM}|\\d*[a-zA-Z-][0-9a-zA-Z-]*)`;
|
|
12396
12467
|
var BUILD_ID = "[0-9a-zA-Z-]+";
|
|
@@ -14281,27 +14352,34 @@ function combobox(options) {
|
|
|
14281
14352
|
open();
|
|
14282
14353
|
};
|
|
14283
14354
|
const onKey = (e) => {
|
|
14355
|
+
if (isWidgetKeyEvent(e)) return;
|
|
14284
14356
|
if (e.key === "ArrowDown") {
|
|
14285
14357
|
e.preventDefault();
|
|
14358
|
+
claimWidgetKey(e, "combobox");
|
|
14286
14359
|
if (!isOpen()) open();
|
|
14287
14360
|
highlightNext();
|
|
14288
14361
|
} else if (e.key === "ArrowUp") {
|
|
14289
14362
|
e.preventDefault();
|
|
14363
|
+
claimWidgetKey(e, "combobox");
|
|
14290
14364
|
if (!isOpen()) open();
|
|
14291
14365
|
highlightPrev();
|
|
14292
14366
|
} else if (e.key === "Enter") {
|
|
14293
14367
|
if (highlightedIndex() >= 0) {
|
|
14294
14368
|
e.preventDefault();
|
|
14369
|
+
claimWidgetKey(e, "combobox");
|
|
14295
14370
|
selectHighlighted();
|
|
14296
14371
|
}
|
|
14297
14372
|
} else if (e.key === "Escape") {
|
|
14298
14373
|
e.preventDefault();
|
|
14374
|
+
claimWidgetKey(e, "combobox");
|
|
14299
14375
|
close();
|
|
14300
14376
|
} else if (e.key === "Home") {
|
|
14301
14377
|
e.preventDefault();
|
|
14378
|
+
claimWidgetKey(e, "combobox");
|
|
14302
14379
|
if (filteredItems().length > 0) setHighlightedIndex(0);
|
|
14303
14380
|
} else if (e.key === "End") {
|
|
14304
14381
|
e.preventDefault();
|
|
14382
|
+
claimWidgetKey(e, "combobox");
|
|
14305
14383
|
const len = filteredItems().length;
|
|
14306
14384
|
if (len > 0) setHighlightedIndex(len - 1);
|
|
14307
14385
|
}
|
|
@@ -14470,16 +14548,20 @@ function tabs(options) {
|
|
|
14470
14548
|
}
|
|
14471
14549
|
}, els.tablist);
|
|
14472
14550
|
const onKey = (e) => {
|
|
14551
|
+
if (isWidgetKeyEvent(e)) return;
|
|
14473
14552
|
if (e.key === "ArrowRight" || e.key === "ArrowDown") {
|
|
14474
14553
|
e.preventDefault();
|
|
14554
|
+
claimWidgetKey(e, "tabs");
|
|
14475
14555
|
nextTab();
|
|
14476
14556
|
els.tabs[activeTab()]?.focus();
|
|
14477
14557
|
} else if (e.key === "ArrowLeft" || e.key === "ArrowUp") {
|
|
14478
14558
|
e.preventDefault();
|
|
14559
|
+
claimWidgetKey(e, "tabs");
|
|
14479
14560
|
prevTab();
|
|
14480
14561
|
els.tabs[activeTab()]?.focus();
|
|
14481
14562
|
} else if (e.key === "Home") {
|
|
14482
14563
|
e.preventDefault();
|
|
14564
|
+
claimWidgetKey(e, "tabs");
|
|
14483
14565
|
const first = tabDefs.find((t) => !t.disabled);
|
|
14484
14566
|
if (first) {
|
|
14485
14567
|
setActiveTabState(first.id);
|
|
@@ -14487,6 +14569,7 @@ function tabs(options) {
|
|
|
14487
14569
|
}
|
|
14488
14570
|
} else if (e.key === "End") {
|
|
14489
14571
|
e.preventDefault();
|
|
14572
|
+
claimWidgetKey(e, "tabs");
|
|
14490
14573
|
for (let i2 = tabDefs.length - 1; i2 >= 0; i2--) {
|
|
14491
14574
|
if (!tabDefs[i2].disabled) {
|
|
14492
14575
|
setActiveTabState(tabDefs[i2].id);
|
|
@@ -14620,8 +14703,10 @@ function accordion(options) {
|
|
|
14620
14703
|
if (!trig) continue;
|
|
14621
14704
|
const click = () => toggle(item.id);
|
|
14622
14705
|
const key = (e) => {
|
|
14706
|
+
if (isWidgetKeyEvent(e)) return;
|
|
14623
14707
|
if (e.key === "Enter" || e.key === " ") {
|
|
14624
14708
|
e.preventDefault();
|
|
14709
|
+
claimWidgetKey(e, "accordion");
|
|
14625
14710
|
toggle(item.id);
|
|
14626
14711
|
}
|
|
14627
14712
|
};
|
|
@@ -14701,8 +14786,10 @@ function popover() {
|
|
|
14701
14786
|
toggle();
|
|
14702
14787
|
};
|
|
14703
14788
|
const onKey = (e) => {
|
|
14789
|
+
if (isWidgetKeyEvent(e)) return;
|
|
14704
14790
|
if (e.key === "Escape" && isOpen()) {
|
|
14705
14791
|
e.stopPropagation();
|
|
14792
|
+
claimWidgetKey(e, "popover");
|
|
14706
14793
|
close();
|
|
14707
14794
|
els.trigger.focus();
|
|
14708
14795
|
}
|
|
@@ -14861,26 +14948,33 @@ function select2(options) {
|
|
|
14861
14948
|
let typeBuffer = "";
|
|
14862
14949
|
let typeTimer = null;
|
|
14863
14950
|
const onKey = (e) => {
|
|
14951
|
+
if (isWidgetKeyEvent(e)) return;
|
|
14864
14952
|
if (e.key === "ArrowDown") {
|
|
14865
14953
|
e.preventDefault();
|
|
14954
|
+
claimWidgetKey(e, "select");
|
|
14866
14955
|
highlightNext();
|
|
14867
14956
|
} else if (e.key === "ArrowUp") {
|
|
14868
14957
|
e.preventDefault();
|
|
14958
|
+
claimWidgetKey(e, "select");
|
|
14869
14959
|
highlightPrev();
|
|
14870
14960
|
} else if (e.key === "Home") {
|
|
14871
14961
|
e.preventDefault();
|
|
14962
|
+
claimWidgetKey(e, "select");
|
|
14872
14963
|
const first = nextEnabled(-1, 1);
|
|
14873
14964
|
if (first !== -1) setHighlightedIndex(first);
|
|
14874
14965
|
} else if (e.key === "End") {
|
|
14875
14966
|
e.preventDefault();
|
|
14967
|
+
claimWidgetKey(e, "select");
|
|
14876
14968
|
const last = nextEnabled(items.length, -1);
|
|
14877
14969
|
if (last !== -1) setHighlightedIndex(last);
|
|
14878
14970
|
} else if (e.key === "Enter" || e.key === " ") {
|
|
14879
14971
|
if (highlightedIndex() >= 0) {
|
|
14880
14972
|
e.preventDefault();
|
|
14973
|
+
claimWidgetKey(e, "select");
|
|
14881
14974
|
selectHighlighted();
|
|
14882
14975
|
}
|
|
14883
14976
|
} else if (e.key.length === 1 && /\S/.test(e.key)) {
|
|
14977
|
+
claimWidgetKey(e, "select");
|
|
14884
14978
|
typeBuffer += e.key.toLowerCase();
|
|
14885
14979
|
if (typeTimer !== null) clearTimeout(typeTimer);
|
|
14886
14980
|
typeTimer = setTimeout(() => {
|
|
@@ -14997,8 +15091,10 @@ function tooltip(options) {
|
|
|
14997
15091
|
const onFocus = () => show();
|
|
14998
15092
|
const onBlur = () => hide();
|
|
14999
15093
|
const onKey = (e) => {
|
|
15094
|
+
if (isWidgetKeyEvent(e)) return;
|
|
15000
15095
|
if (e.key === "Escape" && isVisible()) {
|
|
15001
15096
|
e.stopPropagation();
|
|
15097
|
+
claimWidgetKey(e, "tooltip");
|
|
15002
15098
|
hide();
|
|
15003
15099
|
}
|
|
15004
15100
|
};
|
|
@@ -15184,8 +15280,10 @@ function fileUpload(options) {
|
|
|
15184
15280
|
};
|
|
15185
15281
|
const onDropClick = () => els.input.click();
|
|
15186
15282
|
const onDropKey = (e) => {
|
|
15283
|
+
if (isWidgetKeyEvent(e)) return;
|
|
15187
15284
|
if (e.key === "Enter" || e.key === " ") {
|
|
15188
15285
|
e.preventDefault();
|
|
15286
|
+
claimWidgetKey(e, "fileUpload");
|
|
15189
15287
|
els.input.click();
|
|
15190
15288
|
}
|
|
15191
15289
|
};
|
|
@@ -15513,48 +15611,58 @@ function datePicker(options) {
|
|
|
15513
15611
|
setViewDate((prev) => new Date(prev.getFullYear(), prev.getMonth(), prev.getDate() + delta));
|
|
15514
15612
|
}
|
|
15515
15613
|
const onKey = (e) => {
|
|
15614
|
+
if (isWidgetKeyEvent(e)) return;
|
|
15516
15615
|
if (e.key === "ArrowLeft" || e.key === "ArrowRight" || e.key === "ArrowUp" || e.key === "ArrowDown" || e.key === "Home" || e.key === "End" || e.key === "PageUp" || e.key === "PageDown") {
|
|
15517
15616
|
pendingFocus = true;
|
|
15518
15617
|
}
|
|
15519
15618
|
switch (e.key) {
|
|
15520
15619
|
case "ArrowLeft":
|
|
15521
15620
|
e.preventDefault();
|
|
15621
|
+
claimWidgetKey(e, "datePicker");
|
|
15522
15622
|
shiftDays(-1);
|
|
15523
15623
|
break;
|
|
15524
15624
|
case "ArrowRight":
|
|
15525
15625
|
e.preventDefault();
|
|
15626
|
+
claimWidgetKey(e, "datePicker");
|
|
15526
15627
|
shiftDays(1);
|
|
15527
15628
|
break;
|
|
15528
15629
|
case "ArrowUp":
|
|
15529
15630
|
e.preventDefault();
|
|
15631
|
+
claimWidgetKey(e, "datePicker");
|
|
15530
15632
|
shiftDays(-7);
|
|
15531
15633
|
break;
|
|
15532
15634
|
case "ArrowDown":
|
|
15533
15635
|
e.preventDefault();
|
|
15636
|
+
claimWidgetKey(e, "datePicker");
|
|
15534
15637
|
shiftDays(7);
|
|
15535
15638
|
break;
|
|
15536
15639
|
case "Home":
|
|
15537
15640
|
e.preventDefault();
|
|
15641
|
+
claimWidgetKey(e, "datePicker");
|
|
15538
15642
|
setViewDate((p2) => new Date(p2.getFullYear(), p2.getMonth(), p2.getDate() - p2.getDay()));
|
|
15539
15643
|
break;
|
|
15540
15644
|
case "End": {
|
|
15541
15645
|
e.preventDefault();
|
|
15646
|
+
claimWidgetKey(e, "datePicker");
|
|
15542
15647
|
setViewDate((p2) => new Date(p2.getFullYear(), p2.getMonth(), p2.getDate() + (6 - p2.getDay())));
|
|
15543
15648
|
break;
|
|
15544
15649
|
}
|
|
15545
15650
|
case "PageUp":
|
|
15546
15651
|
e.preventDefault();
|
|
15652
|
+
claimWidgetKey(e, "datePicker");
|
|
15547
15653
|
if (e.shiftKey) prevYear();
|
|
15548
15654
|
else prevMonth();
|
|
15549
15655
|
break;
|
|
15550
15656
|
case "PageDown":
|
|
15551
15657
|
e.preventDefault();
|
|
15658
|
+
claimWidgetKey(e, "datePicker");
|
|
15552
15659
|
if (e.shiftKey) nextYear();
|
|
15553
15660
|
else nextMonth();
|
|
15554
15661
|
break;
|
|
15555
15662
|
case "Enter":
|
|
15556
15663
|
case " ":
|
|
15557
15664
|
e.preventDefault();
|
|
15665
|
+
claimWidgetKey(e, "datePicker");
|
|
15558
15666
|
select3(viewDate());
|
|
15559
15667
|
break;
|
|
15560
15668
|
}
|
package/dist/extras.d.cts
CHANGED
|
@@ -5,12 +5,12 @@ export { C as ComponentProps, P as PropDef, a as PropSchema, R as RenderProp, V
|
|
|
5
5
|
export { AnimationPreset, PresetOptions, SlideDirection, SpringOptions, TransitionGroup, TransitionGroupOptions, TransitionOptions, animate, bounceIn, bounceOut, fadeIn, fadeOut, flipIn, prefersReducedMotion, pulse, reducedMotion, scaleDown, scaleUp, sequence, shake, slideIn, slideOut, spring, springSignal, stagger, transition, viewTransition } from './motion.cjs';
|
|
6
6
|
export { A as AttributeSource, a as AttributeValue, B as BoundFieldProps, C as CustomElementOptions, F as FieldConfig, b as FocusTrap, c as FormConfig, d as FormField, e as FormReturn, I as IntersectionResult, M as MaskOptions, P as PaginationResult, T as Toast, f as ToastInstance, V as ValidatorFn, g as VirtualList, h as VirtualListProps, _ as __resetDialogStack, i as announce, j as aria, k as bindAttrs, l as bindBoolAttr, m as bindData, n as bindField, o as creditCardMask, p as custom, q as dateMask, r as defineElement, s as dialog, t as email, u as eventBus, v as focus, w as form, x as hotkey, y as infiniteScroll, z as inputMask, D as intersection, E as lazyLoad, G as matchesPattern, H as max, J as maxLength, K as min, L as minLength, N as pagination, O as phoneMask, Q as removeScopedStyle, R as required, S as scopedStyle, U as ssnMask, W as svgElement, X as timeMask, Y as toast, Z as withScopedStyle, $ as zipMask } from './customElement-pYDKUzWl.cjs';
|
|
7
7
|
export { ChunkConfig, DOMPool, Features, NormalizeResult, NormalizedEntities, NormalizedSchema, NormalizedState, NormalizedStoreActions, Priority, PriorityLevel, block, cloneTemplate, conditional, createChunkRegistry, deferredValue, denormalize, devOnly, flushScheduler, getDOMPool, hoistable, lazyChunk, noSideEffect, normalize, normalizedStore, pendingTasks, precompile, prefetch, preloadImage, preloadModule, preloadModules, preloadResource, processInChunks, pure, resetIdCounter, scheduleUpdate, setIdPrefix, startTransition, staticTemplate, transitionState, uniqueId, yieldToMain } from './performance.cjs';
|
|
8
|
-
export { ActionFn, ActionResult, Head, ISROptions, LoadRemoteModuleOptions, LoadWasmOptions, MicroApp, MicroAppConfig, MiddlewareFn, SSGOptions, SSGResult, ScrollRestorationOptions, ServiceWorkerState, SharedScope, UseWorkerFnReturn, UseWorkerReturn, WasmConfig, WasmModuleState, WorkerPool, clearWasmCache, composeMiddleware, createAction, createISR, createMicroApp, createMiddlewareChain, createSharedScope, createWasmBridge, createWorkerPool, defineRemoteComponent, generateStaticSite, isWasmCached, loadRemoteModule, loadWasmModule, loadWasmModuleWithOptions, preloadWasm, scrollRestoration, serviceWorker, setCanonical, setStructuredData, wasm, worker, workerFn } from './
|
|
8
|
+
export { A as ActionFn, a as ActionResult, H as Head, I as ISROptions, L as LoadRemoteModuleOptions, b as LoadWasmOptions, M as MicroApp, c as MicroAppConfig, d as MiddlewareFn, S as SSGOptions, e as SSGResult, f as ScrollRestorationOptions, g as ServiceWorkerState, h as SharedScope, U as UseWorkerFnReturn, i as UseWorkerReturn, W as WasmConfig, j as WasmModuleState, k as WorkerPool, l as clearWasmCache, m as composeMiddleware, n as createAction, o as createISR, p as createMicroApp, q as createMiddlewareChain, r as createSharedScope, s as createWasmBridge, t as createWorkerPool, u as defineRemoteComponent, v as generateStaticSite, w as isWasmCached, x as loadRemoteModule, y as loadWasmModule, z as loadWasmModuleWithOptions, B as preloadWasm, C as scrollRestoration, D as serviceWorker, E as setCanonical, F as setStructuredData, G as wasm, J as worker, K as workerFn } from './routeMiddleware-CedQTsLK.cjs';
|
|
9
9
|
export { H as HydrateOptions, a as HydrationMismatch, T as TrustedHTML, c as collectStream, d as deserializeState, e as escapeScriptJson, h as hydrate, b as hydrateIslands, f as hydrateProgressively, i as isDangerousMetaRefresh, g as island, r as renderToDocument, j as renderToReadableStream, k as renderToStream, l as renderToString, m as renderToSuspenseStream, n as resetSSRState, s as serializeState, o as ssrSuspense, p as suspenseSwapScript, t as trustHTML } from './ssr-Db0Sgdu3.cjs';
|
|
10
10
|
export { P as PluginContext, a as PluginInstallCancelledError, b as PluginRegistry, S as SibuPlugin, c as createPlugin, d as createPluginRegistry, i as inject, e as isPluginInstallCancelledError, p as plugin, r as resetPlugins, s as setDefaultPluginRegistry, t as triggerPluginError, f as triggerPluginMount, g as triggerPluginUnmount } from './plugin-DVgSnTfK.cjs';
|
|
11
11
|
export { L as LazyModule, M as Migration, a as MigrationStorageError, P as PackageExportTarget, S as SemVer, V as VERSION, b as bundlerMetadata, c as checkCompatibility, d as compareSemVer, e as createBootSequence, f as createBundle, g as createMigrationRunner, h as createModuleRegistry, i as createSSRCache, j as createTestHarness, k as deferNonCritical, l as env, m as healthCheck, n as lazyModule, p as packageInfo, o as parseSemVer, q as preloadCritical, r as prerenderRoutes, s as satisfies } from './startup-BLfSeL15.cjs';
|
|
12
12
|
export { D as DevToolsEvent, a as DevtoolsOverlayOptions, P as ProfilerResult, R as ReactiveNodeInfo, S as SibuError, c as checkLeaks, b as clearDebugValues, d as clearHMRModule, e as clearHMRState, f as clearPerformanceData, g as createDevtoolsOverlay, h as createErrorReporter, i as createHMRBoundary, j as createProfiler, k as debugLog, l as debugValue, m as devState, n as disableDebug, o as enableDebug, p as exposeHMR, q as formatError, r as getActiveDevTools, s as getDebugValues, t as getDependencies, u as getPerformanceReport, v as getSignalName, w as getSubscriberCount, x as hmrState, y as initDevTools, z as inspectSignal, A as isDebugEnabled, B as isHMRAvailable, C as measureRender, E as perfTracker, F as registerHMR, G as runCleanups, H as startMeasure, I as trackCleanup, J as walkDependencyGraph, K as withErrorTracking } from './introspect-D5xF-0Es.cjs';
|
|
13
|
-
export { AccordionAriaBinding, AccordionOptions, ComboboxOptions, DatePickerOptions, FileUploadOptions, SelectOptions, SetContentOptions, TabsAriaBinding, TabsOptions, accordion, combobox, contentEditable, datePicker, fileUpload, popover, select, tabs, tooltip } from './
|
|
13
|
+
export { A as AccordionAriaBinding, a as AccordionOptions, C as ComboboxOptions, D as DatePickerOptions, F as FileUploadOptions, S as SelectOptions, b as SetContentOptions, T as TabsAriaBinding, c as TabsOptions, d as accordion, e as combobox, f as contentEditable, g as datePicker, h as fileUpload, p as popover, s as select, t as tabs, i as tooltip } from './datePicker-DxuxWpgF.cjs';
|
|
14
14
|
export { AdaptedComponent, AdaptedComponentProps, AdapterConfig, ComponentMapping, MobXAdapterAPI, MobXAdapterOptions, MobXReactionDisposer, ReduxAdapterAPI, ReduxAdapterOptions, ReduxStore, ThemeAPI, ThemeConfig, ZustandAdapterAPI, ZustandAdapterOptions, ZustandStore, antdAdapter, chakraAdapter, componentAdapter, createTheme, materialAdapter, mobXAdapter, reduxAdapter, zustandAdapter } from './ecosystem.cjs';
|
|
15
15
|
import './signal-EotCj4hS.cjs';
|
|
16
16
|
import './types-CJFViL6Q.cjs';
|
package/dist/extras.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ export { C as ComponentProps, P as PropDef, a as PropSchema, R as RenderProp, V
|
|
|
5
5
|
export { AnimationPreset, PresetOptions, SlideDirection, SpringOptions, TransitionGroup, TransitionGroupOptions, TransitionOptions, animate, bounceIn, bounceOut, fadeIn, fadeOut, flipIn, prefersReducedMotion, pulse, reducedMotion, scaleDown, scaleUp, sequence, shake, slideIn, slideOut, spring, springSignal, stagger, transition, viewTransition } from './motion.js';
|
|
6
6
|
export { A as AttributeSource, a as AttributeValue, B as BoundFieldProps, C as CustomElementOptions, F as FieldConfig, b as FocusTrap, c as FormConfig, d as FormField, e as FormReturn, I as IntersectionResult, M as MaskOptions, P as PaginationResult, T as Toast, f as ToastInstance, V as ValidatorFn, g as VirtualList, h as VirtualListProps, _ as __resetDialogStack, i as announce, j as aria, k as bindAttrs, l as bindBoolAttr, m as bindData, n as bindField, o as creditCardMask, p as custom, q as dateMask, r as defineElement, s as dialog, t as email, u as eventBus, v as focus, w as form, x as hotkey, y as infiniteScroll, z as inputMask, D as intersection, E as lazyLoad, G as matchesPattern, H as max, J as maxLength, K as min, L as minLength, N as pagination, O as phoneMask, Q as removeScopedStyle, R as required, S as scopedStyle, U as ssnMask, W as svgElement, X as timeMask, Y as toast, Z as withScopedStyle, $ as zipMask } from './customElement-pYDKUzWl.js';
|
|
7
7
|
export { ChunkConfig, DOMPool, Features, NormalizeResult, NormalizedEntities, NormalizedSchema, NormalizedState, NormalizedStoreActions, Priority, PriorityLevel, block, cloneTemplate, conditional, createChunkRegistry, deferredValue, denormalize, devOnly, flushScheduler, getDOMPool, hoistable, lazyChunk, noSideEffect, normalize, normalizedStore, pendingTasks, precompile, prefetch, preloadImage, preloadModule, preloadModules, preloadResource, processInChunks, pure, resetIdCounter, scheduleUpdate, setIdPrefix, startTransition, staticTemplate, transitionState, uniqueId, yieldToMain } from './performance.js';
|
|
8
|
-
export { ActionFn, ActionResult, Head, ISROptions, LoadRemoteModuleOptions, LoadWasmOptions, MicroApp, MicroAppConfig, MiddlewareFn, SSGOptions, SSGResult, ScrollRestorationOptions, ServiceWorkerState, SharedScope, UseWorkerFnReturn, UseWorkerReturn, WasmConfig, WasmModuleState, WorkerPool, clearWasmCache, composeMiddleware, createAction, createISR, createMicroApp, createMiddlewareChain, createSharedScope, createWasmBridge, createWorkerPool, defineRemoteComponent, generateStaticSite, isWasmCached, loadRemoteModule, loadWasmModule, loadWasmModuleWithOptions, preloadWasm, scrollRestoration, serviceWorker, setCanonical, setStructuredData, wasm, worker, workerFn } from './
|
|
8
|
+
export { A as ActionFn, a as ActionResult, H as Head, I as ISROptions, L as LoadRemoteModuleOptions, b as LoadWasmOptions, M as MicroApp, c as MicroAppConfig, d as MiddlewareFn, S as SSGOptions, e as SSGResult, f as ScrollRestorationOptions, g as ServiceWorkerState, h as SharedScope, U as UseWorkerFnReturn, i as UseWorkerReturn, W as WasmConfig, j as WasmModuleState, k as WorkerPool, l as clearWasmCache, m as composeMiddleware, n as createAction, o as createISR, p as createMicroApp, q as createMiddlewareChain, r as createSharedScope, s as createWasmBridge, t as createWorkerPool, u as defineRemoteComponent, v as generateStaticSite, w as isWasmCached, x as loadRemoteModule, y as loadWasmModule, z as loadWasmModuleWithOptions, B as preloadWasm, C as scrollRestoration, D as serviceWorker, E as setCanonical, F as setStructuredData, G as wasm, J as worker, K as workerFn } from './routeMiddleware-B1sp4P7a.js';
|
|
9
9
|
export { H as HydrateOptions, a as HydrationMismatch, T as TrustedHTML, c as collectStream, d as deserializeState, e as escapeScriptJson, h as hydrate, b as hydrateIslands, f as hydrateProgressively, i as isDangerousMetaRefresh, g as island, r as renderToDocument, j as renderToReadableStream, k as renderToStream, l as renderToString, m as renderToSuspenseStream, n as resetSSRState, s as serializeState, o as ssrSuspense, p as suspenseSwapScript, t as trustHTML } from './ssr-Db0Sgdu3.js';
|
|
10
10
|
export { P as PluginContext, a as PluginInstallCancelledError, b as PluginRegistry, S as SibuPlugin, c as createPlugin, d as createPluginRegistry, i as inject, e as isPluginInstallCancelledError, p as plugin, r as resetPlugins, s as setDefaultPluginRegistry, t as triggerPluginError, f as triggerPluginMount, g as triggerPluginUnmount } from './plugin-DVgSnTfK.js';
|
|
11
11
|
export { L as LazyModule, M as Migration, a as MigrationStorageError, P as PackageExportTarget, S as SemVer, V as VERSION, b as bundlerMetadata, c as checkCompatibility, d as compareSemVer, e as createBootSequence, f as createBundle, g as createMigrationRunner, h as createModuleRegistry, i as createSSRCache, j as createTestHarness, k as deferNonCritical, l as env, m as healthCheck, n as lazyModule, p as packageInfo, o as parseSemVer, q as preloadCritical, r as prerenderRoutes, s as satisfies } from './startup-BLfSeL15.js';
|
|
12
12
|
export { D as DevToolsEvent, a as DevtoolsOverlayOptions, P as ProfilerResult, R as ReactiveNodeInfo, S as SibuError, c as checkLeaks, b as clearDebugValues, d as clearHMRModule, e as clearHMRState, f as clearPerformanceData, g as createDevtoolsOverlay, h as createErrorReporter, i as createHMRBoundary, j as createProfiler, k as debugLog, l as debugValue, m as devState, n as disableDebug, o as enableDebug, p as exposeHMR, q as formatError, r as getActiveDevTools, s as getDebugValues, t as getDependencies, u as getPerformanceReport, v as getSignalName, w as getSubscriberCount, x as hmrState, y as initDevTools, z as inspectSignal, A as isDebugEnabled, B as isHMRAvailable, C as measureRender, E as perfTracker, F as registerHMR, G as runCleanups, H as startMeasure, I as trackCleanup, J as walkDependencyGraph, K as withErrorTracking } from './introspect-rSBIxEQi.js';
|
|
13
|
-
export { AccordionAriaBinding, AccordionOptions, ComboboxOptions, DatePickerOptions, FileUploadOptions, SelectOptions, SetContentOptions, TabsAriaBinding, TabsOptions, accordion, combobox, contentEditable, datePicker, fileUpload, popover, select, tabs, tooltip } from './
|
|
13
|
+
export { A as AccordionAriaBinding, a as AccordionOptions, C as ComboboxOptions, D as DatePickerOptions, F as FileUploadOptions, S as SelectOptions, b as SetContentOptions, T as TabsAriaBinding, c as TabsOptions, d as accordion, e as combobox, f as contentEditable, g as datePicker, h as fileUpload, p as popover, s as select, t as tabs, i as tooltip } from './datePicker-DxuxWpgF.js';
|
|
14
14
|
export { AdaptedComponent, AdaptedComponentProps, AdapterConfig, ComponentMapping, MobXAdapterAPI, MobXAdapterOptions, MobXReactionDisposer, ReduxAdapterAPI, ReduxAdapterOptions, ReduxStore, ThemeAPI, ThemeConfig, ZustandAdapterAPI, ZustandAdapterOptions, ZustandStore, antdAdapter, chakraAdapter, componentAdapter, createTheme, materialAdapter, mobXAdapter, reduxAdapter, zustandAdapter } from './ecosystem.js';
|
|
15
15
|
import './signal-EotCj4hS.js';
|
|
16
16
|
import './types-CJFViL6Q.js';
|
package/dist/extras.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
optimisticList,
|
|
6
6
|
persisted,
|
|
7
7
|
timeline
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QZ47OZ25.js";
|
|
9
9
|
import {
|
|
10
10
|
DOMPool,
|
|
11
11
|
Features,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
transitionState,
|
|
42
42
|
uniqueId,
|
|
43
43
|
yieldToMain
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-KC62VURU.js";
|
|
45
45
|
import {
|
|
46
46
|
MigrationStorageError,
|
|
47
47
|
VERSION,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
preloadCritical,
|
|
64
64
|
prerenderRoutes,
|
|
65
65
|
satisfies
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-OIKD7YDY.js";
|
|
67
67
|
import {
|
|
68
68
|
Head,
|
|
69
69
|
clearWasmCache,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
wasm,
|
|
90
90
|
worker,
|
|
91
91
|
workerFn
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-2O6JJCUR.js";
|
|
93
93
|
import {
|
|
94
94
|
FocusTrap,
|
|
95
95
|
VirtualList,
|
|
@@ -130,7 +130,7 @@ import {
|
|
|
130
130
|
toast,
|
|
131
131
|
withScopedStyle,
|
|
132
132
|
zipMask
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-C73VBPEF.js";
|
|
134
134
|
import {
|
|
135
135
|
RenderProp,
|
|
136
136
|
assertType,
|
|
@@ -157,7 +157,8 @@ import {
|
|
|
157
157
|
select,
|
|
158
158
|
tabs,
|
|
159
159
|
tooltip
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-PBJYCE2Z.js";
|
|
161
|
+
import "./chunk-N5TBYXHW.js";
|
|
161
162
|
import {
|
|
162
163
|
__resetSpeechCoordinator,
|
|
163
164
|
animationFrame,
|
|
@@ -196,7 +197,7 @@ import {
|
|
|
196
197
|
visibility,
|
|
197
198
|
wakeLock,
|
|
198
199
|
windowSize
|
|
199
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-EU7T7EB3.js";
|
|
200
201
|
import "./chunk-52XFPGSN.js";
|
|
201
202
|
import {
|
|
202
203
|
__resetQueryCache,
|
|
@@ -222,7 +223,7 @@ import {
|
|
|
222
223
|
throttle,
|
|
223
224
|
withLoader,
|
|
224
225
|
withRetry
|
|
225
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-G3Z2FEBR.js";
|
|
226
227
|
import {
|
|
227
228
|
SibuError,
|
|
228
229
|
checkLeaks,
|
|
@@ -260,7 +261,7 @@ import {
|
|
|
260
261
|
trackCleanup,
|
|
261
262
|
walkDependencyGraph,
|
|
262
263
|
withErrorTracking
|
|
263
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-J4X7ICH4.js";
|
|
264
265
|
import {
|
|
265
266
|
antdAdapter,
|
|
266
267
|
chakraAdapter,
|
|
@@ -270,7 +271,7 @@ import {
|
|
|
270
271
|
mobXAdapter,
|
|
271
272
|
reduxAdapter,
|
|
272
273
|
zustandAdapter
|
|
273
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-5RIBLY2N.js";
|
|
274
275
|
import {
|
|
275
276
|
PluginInstallCancelledError,
|
|
276
277
|
createPlugin,
|
|
@@ -284,7 +285,7 @@ import {
|
|
|
284
285
|
triggerPluginMount,
|
|
285
286
|
triggerPluginUnmount
|
|
286
287
|
} from "./chunk-J6FW5TV6.js";
|
|
287
|
-
import "./chunk-
|
|
288
|
+
import "./chunk-5XUGJM3J.js";
|
|
288
289
|
import {
|
|
289
290
|
collectStream,
|
|
290
291
|
deserializeState,
|
|
@@ -306,15 +307,15 @@ import {
|
|
|
306
307
|
trustHTML
|
|
307
308
|
} from "./chunk-2F4PSJ5Z.js";
|
|
308
309
|
import "./chunk-AM6DZLBM.js";
|
|
309
|
-
import "./chunk-
|
|
310
|
-
import "./chunk-
|
|
310
|
+
import "./chunk-ADZHPN2B.js";
|
|
311
|
+
import "./chunk-22OPSWMF.js";
|
|
311
312
|
import "./chunk-62BDYGAG.js";
|
|
312
|
-
import "./chunk-
|
|
313
|
-
import "./chunk-
|
|
313
|
+
import "./chunk-CPQKWCJ2.js";
|
|
314
|
+
import "./chunk-K4LNUT5L.js";
|
|
314
315
|
import "./chunk-F2UWOZ6J.js";
|
|
315
|
-
import "./chunk-
|
|
316
|
+
import "./chunk-YFTBCCVH.js";
|
|
316
317
|
import "./chunk-7ZHH77QA.js";
|
|
317
|
-
import "./chunk-
|
|
318
|
+
import "./chunk-QC3NP47A.js";
|
|
318
319
|
import "./chunk-EXXSN3BW.js";
|
|
319
320
|
import "./chunk-7XHATCIH.js";
|
|
320
321
|
import {
|
|
@@ -339,10 +340,10 @@ import {
|
|
|
339
340
|
stagger,
|
|
340
341
|
transition,
|
|
341
342
|
viewTransition
|
|
342
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-2NC56RGY.js";
|
|
343
344
|
import "./chunk-5HZXGZ6T.js";
|
|
344
|
-
import "./chunk-
|
|
345
|
-
import "./chunk-
|
|
345
|
+
import "./chunk-QKFVMIAV.js";
|
|
346
|
+
import "./chunk-4UTGDVSA.js";
|
|
346
347
|
import "./chunk-NYNYSPK7.js";
|
|
347
348
|
export {
|
|
348
349
|
DOMPool,
|