@tanstack/router-devtools-core 1.133.22 → 1.133.27
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/{BaseTanStackRouterDevtoolsPanel-z0YMII09.cjs → BaseTanStackRouterDevtoolsPanel-CXtqf9z_.cjs} +17 -17
- package/dist/{BaseTanStackRouterDevtoolsPanel-z0YMII09.cjs.map → BaseTanStackRouterDevtoolsPanel-CXtqf9z_.cjs.map} +1 -1
- package/dist/{BaseTanStackRouterDevtoolsPanel-KIEU40vQ.js → BaseTanStackRouterDevtoolsPanel-DYX5cXun.js} +17 -17
- package/dist/{BaseTanStackRouterDevtoolsPanel-KIEU40vQ.js.map → BaseTanStackRouterDevtoolsPanel-DYX5cXun.js.map} +1 -1
- package/dist/{FloatingTanStackRouterDevtools-7aOMOekg.cjs → FloatingTanStackRouterDevtools-CR-IUwId.cjs} +3 -3
- package/dist/{FloatingTanStackRouterDevtools-7aOMOekg.cjs.map → FloatingTanStackRouterDevtools-CR-IUwId.cjs.map} +1 -1
- package/dist/{FloatingTanStackRouterDevtools-kcMbkHXI.js → FloatingTanStackRouterDevtools-DLsVEFsK.js} +3 -3
- package/dist/{FloatingTanStackRouterDevtools-kcMbkHXI.js.map → FloatingTanStackRouterDevtools-DLsVEFsK.js.map} +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/{index-CC1CXbDA.cjs → index-T2C4hF4E.cjs} +234 -203
- package/dist/index-T2C4hF4E.cjs.map +1 -0
- package/dist/{index-DX7UIGS3.js → index-znsFa8JN.js} +241 -210
- package/dist/index-znsFa8JN.js.map +1 -0
- package/package.json +3 -3
- package/dist/index-CC1CXbDA.cjs.map +0 -1
- package/dist/index-DX7UIGS3.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createSignal, b as createEffect, g as createRenderEffect, u as useContext, S as ShadowDomTargetContext, k as delegateEvents, d as createMemo, t as template, i as insert, e as createComponent, h as className, s as setAttribute, m as mergeProps,
|
|
1
|
+
import { a as createSignal, b as createEffect, g as createRenderEffect, u as useContext, S as ShadowDomTargetContext, k as delegateEvents, d as createMemo, t as template, i as insert, l as memo, e as createComponent, h as className, s as setAttribute, m as mergeProps, n as useDevtoolsOnClose, f as spread, o as addEventListener, p as untrack, M as Match, F as For, q as Switch, r as onCleanup, v as Show } from "./index-znsFa8JN.js";
|
|
2
2
|
import { clsx } from "clsx";
|
|
3
3
|
import invariant from "tiny-invariant";
|
|
4
4
|
import { rootRouteId, trimPath, interpolatePath } from "@tanstack/router-core";
|
|
@@ -969,7 +969,7 @@ function Explorer({
|
|
|
969
969
|
return (() => {
|
|
970
970
|
var _el$3 = _tmpl$2$1();
|
|
971
971
|
insert(_el$3, (() => {
|
|
972
|
-
var _c$ =
|
|
972
|
+
var _c$ = memo(() => !!subEntryPages().length);
|
|
973
973
|
return () => _c$() ? [(() => {
|
|
974
974
|
var _el$4 = _tmpl$3$1(), _el$5 = _el$4.firstChild, _el$6 = _el$5.firstChild;
|
|
975
975
|
_el$4.$$click = () => toggleExpanded();
|
|
@@ -992,7 +992,7 @@ function Explorer({
|
|
|
992
992
|
t: void 0
|
|
993
993
|
});
|
|
994
994
|
return _el$4;
|
|
995
|
-
})(),
|
|
995
|
+
})(), memo(() => memo(() => !!(expanded() ?? false))() ? memo(() => subEntryPages().length === 1)() ? (() => {
|
|
996
996
|
var _el$7 = _tmpl$2$1();
|
|
997
997
|
insert(_el$7, () => subEntries().map((entry, index) => handleEntry(entry)));
|
|
998
998
|
createRenderEffect(() => className(_el$7, styles().subEntries));
|
|
@@ -1012,7 +1012,7 @@ function Explorer({
|
|
|
1012
1012
|
insert(_el$1, index * pageSize, _el$15);
|
|
1013
1013
|
insert(_el$1, index * pageSize + pageSize - 1, _el$16);
|
|
1014
1014
|
insert(_el$0, (() => {
|
|
1015
|
-
var _c$3 =
|
|
1015
|
+
var _c$3 = memo(() => !!expandedPages().includes(index));
|
|
1016
1016
|
return () => _c$3() ? (() => {
|
|
1017
1017
|
var _el$17 = _tmpl$2$1();
|
|
1018
1018
|
insert(_el$17, () => entries.map((entry) => handleEntry(entry)));
|
|
@@ -1035,7 +1035,7 @@ function Explorer({
|
|
|
1035
1035
|
createRenderEffect(() => className(_el$8, styles().subEntries));
|
|
1036
1036
|
return _el$8;
|
|
1037
1037
|
})() : null)] : (() => {
|
|
1038
|
-
var _c$2 =
|
|
1038
|
+
var _c$2 = memo(() => type() === "function");
|
|
1039
1039
|
return () => _c$2() ? createComponent(Explorer, {
|
|
1040
1040
|
get label() {
|
|
1041
1041
|
return (() => {
|
|
@@ -1353,7 +1353,7 @@ function RouteComp({
|
|
|
1353
1353
|
}
|
|
1354
1354
|
}), null);
|
|
1355
1355
|
insert(_el$6, (() => {
|
|
1356
|
-
var _c$ =
|
|
1356
|
+
var _c$ = memo(() => !!route.children?.length);
|
|
1357
1357
|
return () => _c$() ? (() => {
|
|
1358
1358
|
var _el$10 = _tmpl$6();
|
|
1359
1359
|
insert(_el$10, () => [...route.children].sort((a, b) => {
|
|
@@ -1490,7 +1490,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
|
|
|
1490
1490
|
}
|
|
1491
1491
|
}));
|
|
1492
1492
|
insert(_el$20, (() => {
|
|
1493
|
-
var _c$2 =
|
|
1493
|
+
var _c$2 = memo(() => !!routerState().location.maskedLocation);
|
|
1494
1494
|
return () => _c$2() ? (() => {
|
|
1495
1495
|
var _el$35 = _tmpl$9(), _el$36 = _el$35.firstChild;
|
|
1496
1496
|
createRenderEffect((_p$) => {
|
|
@@ -1507,7 +1507,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
|
|
|
1507
1507
|
})(), null);
|
|
1508
1508
|
insert(_el$23, () => routerState().location.pathname);
|
|
1509
1509
|
insert(_el$22, (() => {
|
|
1510
|
-
var _c$3 =
|
|
1510
|
+
var _c$3 = memo(() => !!routerState().location.maskedLocation);
|
|
1511
1511
|
return () => _c$3() ? (() => {
|
|
1512
1512
|
var _el$37 = _tmpl$4();
|
|
1513
1513
|
insert(_el$37, () => routerState().location.maskedLocation?.pathname);
|
|
@@ -1649,7 +1649,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
|
|
|
1649
1649
|
})()
|
|
1650
1650
|
}), null);
|
|
1651
1651
|
insert(_el$33, (() => {
|
|
1652
|
-
var _c$4 =
|
|
1652
|
+
var _c$4 = memo(() => !!hasHistoryOverflowed());
|
|
1653
1653
|
return () => _c$4() ? (() => {
|
|
1654
1654
|
var _el$44 = _tmpl$10();
|
|
1655
1655
|
createRenderEffect(() => className(_el$44, styles().historyOverflowContainer));
|
|
@@ -1662,7 +1662,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
|
|
|
1662
1662
|
}
|
|
1663
1663
|
}));
|
|
1664
1664
|
insert(_el$18, (() => {
|
|
1665
|
-
var _c$5 =
|
|
1665
|
+
var _c$5 = memo(() => !!routerState().cachedMatches.length);
|
|
1666
1666
|
return () => _c$5() ? (() => {
|
|
1667
1667
|
var _el$45 = _tmpl$11(), _el$46 = _el$45.firstChild, _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling, _el$49 = _el$46.nextSibling;
|
|
1668
1668
|
insert(_el$49, () => routerState().cachedMatches.map((match) => {
|
|
@@ -1726,24 +1726,24 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
|
|
|
1726
1726
|
})() : null;
|
|
1727
1727
|
})(), null);
|
|
1728
1728
|
insert(_el$11, (() => {
|
|
1729
|
-
var _c$6 =
|
|
1729
|
+
var _c$6 = memo(() => !!(activeMatch() && activeMatch()?.status));
|
|
1730
1730
|
return () => _c$6() ? (() => {
|
|
1731
1731
|
var _el$53 = _tmpl$12(), _el$54 = _el$53.firstChild, _el$55 = _el$54.nextSibling, _el$56 = _el$55.firstChild, _el$57 = _el$56.firstChild, _el$58 = _el$57.firstChild, _el$59 = _el$57.nextSibling, _el$60 = _el$59.firstChild, _el$61 = _el$60.nextSibling, _el$62 = _el$61.firstChild, _el$63 = _el$59.nextSibling, _el$64 = _el$63.firstChild, _el$65 = _el$64.nextSibling, _el$66 = _el$63.nextSibling, _el$67 = _el$66.firstChild, _el$68 = _el$67.nextSibling, _el$69 = _el$55.nextSibling, _el$70 = _el$69.nextSibling;
|
|
1732
1732
|
insert(_el$58, (() => {
|
|
1733
|
-
var _c$8 =
|
|
1733
|
+
var _c$8 = memo(() => !!(activeMatch()?.status === "success" && activeMatch()?.isFetching));
|
|
1734
1734
|
return () => _c$8() ? "fetching" : activeMatch()?.status;
|
|
1735
1735
|
})());
|
|
1736
1736
|
insert(_el$62, () => activeMatch()?.id);
|
|
1737
1737
|
insert(_el$65, (() => {
|
|
1738
|
-
var _c$9 =
|
|
1738
|
+
var _c$9 = memo(() => !!routerState().pendingMatches?.find((d) => d.id === activeMatch()?.id));
|
|
1739
1739
|
return () => _c$9() ? "Pending" : routerState().matches.find((d) => d.id === activeMatch()?.id) ? "Active" : "Cached";
|
|
1740
1740
|
})());
|
|
1741
1741
|
insert(_el$68, (() => {
|
|
1742
|
-
var _c$0 =
|
|
1742
|
+
var _c$0 = memo(() => !!activeMatch()?.updatedAt);
|
|
1743
1743
|
return () => _c$0() ? new Date(activeMatch()?.updatedAt).toLocaleTimeString() : "N/A";
|
|
1744
1744
|
})());
|
|
1745
1745
|
insert(_el$53, (() => {
|
|
1746
|
-
var _c$1 =
|
|
1746
|
+
var _c$1 = memo(() => !!activeMatchLoaderData());
|
|
1747
1747
|
return () => _c$1() ? [(() => {
|
|
1748
1748
|
var _el$71 = _tmpl$13();
|
|
1749
1749
|
createRenderEffect(() => className(_el$71, styles().detailsHeader));
|
|
@@ -1797,7 +1797,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
|
|
|
1797
1797
|
})() : null;
|
|
1798
1798
|
})(), null);
|
|
1799
1799
|
insert(_el$11, (() => {
|
|
1800
|
-
var _c$7 =
|
|
1800
|
+
var _c$7 = memo(() => !!hasSearch());
|
|
1801
1801
|
return () => _c$7() ? (() => {
|
|
1802
1802
|
var _el$73 = _tmpl$14(), _el$74 = _el$73.firstChild;
|
|
1803
1803
|
_el$74.firstChild;
|
|
@@ -1927,4 +1927,4 @@ export {
|
|
|
1927
1927
|
BaseTanStackRouterDevtoolsPanel$1 as c,
|
|
1928
1928
|
useLocalStorage as u
|
|
1929
1929
|
};
|
|
1930
|
-
//# sourceMappingURL=BaseTanStackRouterDevtoolsPanel-
|
|
1930
|
+
//# sourceMappingURL=BaseTanStackRouterDevtoolsPanel-DYX5cXun.js.map
|