@tanstack/router-devtools-core 1.133.22 → 1.133.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("./index-CC1CXbDA.cjs");
2
+ const index = require("./index-T2C4hF4E.cjs");
3
3
  const clsx = require("clsx");
4
4
  const invariant = require("tiny-invariant");
5
5
  const routerCore = require("@tanstack/router-core");
@@ -987,7 +987,7 @@ function Explorer({
987
987
  return (() => {
988
988
  var _el$3 = _tmpl$2$1();
989
989
  index.insert(_el$3, (() => {
990
- var _c$ = index.createMemo(() => !!subEntryPages().length);
990
+ var _c$ = index.memo(() => !!subEntryPages().length);
991
991
  return () => _c$() ? [(() => {
992
992
  var _el$4 = _tmpl$3$1(), _el$5 = _el$4.firstChild, _el$6 = _el$5.firstChild;
993
993
  _el$4.$$click = () => toggleExpanded();
@@ -1010,7 +1010,7 @@ function Explorer({
1010
1010
  t: void 0
1011
1011
  });
1012
1012
  return _el$4;
1013
- })(), index.createMemo(() => index.createMemo(() => !!(expanded() ?? false))() ? index.createMemo(() => subEntryPages().length === 1)() ? (() => {
1013
+ })(), index.memo(() => index.memo(() => !!(expanded() ?? false))() ? index.memo(() => subEntryPages().length === 1)() ? (() => {
1014
1014
  var _el$7 = _tmpl$2$1();
1015
1015
  index.insert(_el$7, () => subEntries().map((entry, index2) => handleEntry(entry)));
1016
1016
  index.createRenderEffect(() => index.className(_el$7, styles().subEntries));
@@ -1030,7 +1030,7 @@ function Explorer({
1030
1030
  index.insert(_el$1, index$1 * pageSize, _el$15);
1031
1031
  index.insert(_el$1, index$1 * pageSize + pageSize - 1, _el$16);
1032
1032
  index.insert(_el$0, (() => {
1033
- var _c$3 = index.createMemo(() => !!expandedPages().includes(index$1));
1033
+ var _c$3 = index.memo(() => !!expandedPages().includes(index$1));
1034
1034
  return () => _c$3() ? (() => {
1035
1035
  var _el$17 = _tmpl$2$1();
1036
1036
  index.insert(_el$17, () => entries.map((entry) => handleEntry(entry)));
@@ -1053,7 +1053,7 @@ function Explorer({
1053
1053
  index.createRenderEffect(() => index.className(_el$8, styles().subEntries));
1054
1054
  return _el$8;
1055
1055
  })() : null)] : (() => {
1056
- var _c$2 = index.createMemo(() => type() === "function");
1056
+ var _c$2 = index.memo(() => type() === "function");
1057
1057
  return () => _c$2() ? index.createComponent(Explorer, {
1058
1058
  get label() {
1059
1059
  return (() => {
@@ -1371,7 +1371,7 @@ function RouteComp({
1371
1371
  }
1372
1372
  }), null);
1373
1373
  index.insert(_el$6, (() => {
1374
- var _c$ = index.createMemo(() => !!route.children?.length);
1374
+ var _c$ = index.memo(() => !!route.children?.length);
1375
1375
  return () => _c$() ? (() => {
1376
1376
  var _el$10 = _tmpl$6();
1377
1377
  index.insert(_el$10, () => [...route.children].sort((a, b) => {
@@ -1508,7 +1508,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1508
1508
  }
1509
1509
  }));
1510
1510
  index.insert(_el$20, (() => {
1511
- var _c$2 = index.createMemo(() => !!routerState().location.maskedLocation);
1511
+ var _c$2 = index.memo(() => !!routerState().location.maskedLocation);
1512
1512
  return () => _c$2() ? (() => {
1513
1513
  var _el$35 = _tmpl$9(), _el$36 = _el$35.firstChild;
1514
1514
  index.createRenderEffect((_p$) => {
@@ -1525,7 +1525,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1525
1525
  })(), null);
1526
1526
  index.insert(_el$23, () => routerState().location.pathname);
1527
1527
  index.insert(_el$22, (() => {
1528
- var _c$3 = index.createMemo(() => !!routerState().location.maskedLocation);
1528
+ var _c$3 = index.memo(() => !!routerState().location.maskedLocation);
1529
1529
  return () => _c$3() ? (() => {
1530
1530
  var _el$37 = _tmpl$4();
1531
1531
  index.insert(_el$37, () => routerState().location.maskedLocation?.pathname);
@@ -1667,7 +1667,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1667
1667
  })()
1668
1668
  }), null);
1669
1669
  index.insert(_el$33, (() => {
1670
- var _c$4 = index.createMemo(() => !!hasHistoryOverflowed());
1670
+ var _c$4 = index.memo(() => !!hasHistoryOverflowed());
1671
1671
  return () => _c$4() ? (() => {
1672
1672
  var _el$44 = _tmpl$10();
1673
1673
  index.createRenderEffect(() => index.className(_el$44, styles().historyOverflowContainer));
@@ -1680,7 +1680,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1680
1680
  }
1681
1681
  }));
1682
1682
  index.insert(_el$18, (() => {
1683
- var _c$5 = index.createMemo(() => !!routerState().cachedMatches.length);
1683
+ var _c$5 = index.memo(() => !!routerState().cachedMatches.length);
1684
1684
  return () => _c$5() ? (() => {
1685
1685
  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;
1686
1686
  index.insert(_el$49, () => routerState().cachedMatches.map((match) => {
@@ -1744,24 +1744,24 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1744
1744
  })() : null;
1745
1745
  })(), null);
1746
1746
  index.insert(_el$11, (() => {
1747
- var _c$6 = index.createMemo(() => !!(activeMatch() && activeMatch()?.status));
1747
+ var _c$6 = index.memo(() => !!(activeMatch() && activeMatch()?.status));
1748
1748
  return () => _c$6() ? (() => {
1749
1749
  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;
1750
1750
  index.insert(_el$58, (() => {
1751
- var _c$8 = index.createMemo(() => !!(activeMatch()?.status === "success" && activeMatch()?.isFetching));
1751
+ var _c$8 = index.memo(() => !!(activeMatch()?.status === "success" && activeMatch()?.isFetching));
1752
1752
  return () => _c$8() ? "fetching" : activeMatch()?.status;
1753
1753
  })());
1754
1754
  index.insert(_el$62, () => activeMatch()?.id);
1755
1755
  index.insert(_el$65, (() => {
1756
- var _c$9 = index.createMemo(() => !!routerState().pendingMatches?.find((d) => d.id === activeMatch()?.id));
1756
+ var _c$9 = index.memo(() => !!routerState().pendingMatches?.find((d) => d.id === activeMatch()?.id));
1757
1757
  return () => _c$9() ? "Pending" : routerState().matches.find((d) => d.id === activeMatch()?.id) ? "Active" : "Cached";
1758
1758
  })());
1759
1759
  index.insert(_el$68, (() => {
1760
- var _c$0 = index.createMemo(() => !!activeMatch()?.updatedAt);
1760
+ var _c$0 = index.memo(() => !!activeMatch()?.updatedAt);
1761
1761
  return () => _c$0() ? new Date(activeMatch()?.updatedAt).toLocaleTimeString() : "N/A";
1762
1762
  })());
1763
1763
  index.insert(_el$53, (() => {
1764
- var _c$1 = index.createMemo(() => !!activeMatchLoaderData());
1764
+ var _c$1 = index.memo(() => !!activeMatchLoaderData());
1765
1765
  return () => _c$1() ? [(() => {
1766
1766
  var _el$71 = _tmpl$13();
1767
1767
  index.createRenderEffect(() => index.className(_el$71, styles().detailsHeader));
@@ -1815,7 +1815,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1815
1815
  })() : null;
1816
1816
  })(), null);
1817
1817
  index.insert(_el$11, (() => {
1818
- var _c$7 = index.createMemo(() => !!hasSearch());
1818
+ var _c$7 = index.memo(() => !!hasSearch());
1819
1819
  return () => _c$7() ? (() => {
1820
1820
  var _el$73 = _tmpl$14(), _el$74 = _el$73.firstChild;
1821
1821
  _el$74.firstChild;
@@ -1943,4 +1943,4 @@ exports.BaseTanStackRouterDevtoolsPanel$1 = BaseTanStackRouterDevtoolsPanel$1;
1943
1943
  exports.useIsMounted = useIsMounted;
1944
1944
  exports.useLocalStorage = useLocalStorage;
1945
1945
  exports.useStyles = useStyles$1;
1946
- //# sourceMappingURL=BaseTanStackRouterDevtoolsPanel-z0YMII09.cjs.map
1946
+ //# sourceMappingURL=BaseTanStackRouterDevtoolsPanel-CXtqf9z_.cjs.map