@tanstack/query-devtools 5.27.3 → 5.27.8

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.
@@ -8874,14 +8874,17 @@ function chunkArray(array, size2) {
8874
8874
  }
8875
8875
  var Expander = (props) => {
8876
8876
  const theme = useTheme();
8877
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
8878
+ target: useQueryDevtoolsContext().shadowDOMTarget
8879
+ }) : u;
8877
8880
  const styles = createMemo(() => {
8878
- return theme() === "dark" ? darkStyles : lightStyles;
8881
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
8879
8882
  });
8880
8883
  return (() => {
8881
8884
  const _el$ = _tmpl$23();
8882
- createRenderEffect(() => className(_el$, clsx(styles().expander, u`
8885
+ createRenderEffect(() => className(_el$, clsx(styles().expander, css`
8883
8886
  transform: rotate(${props.expanded ? 90 : 0}deg);
8884
- `, props.expanded && u`
8887
+ `, props.expanded && css`
8885
8888
  & svg {
8886
8889
  top: -1px;
8887
8890
  }
@@ -8891,8 +8894,11 @@ var Expander = (props) => {
8891
8894
  };
8892
8895
  var CopyButton = (props) => {
8893
8896
  const theme = useTheme();
8897
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
8898
+ target: useQueryDevtoolsContext().shadowDOMTarget
8899
+ }) : u;
8894
8900
  const styles = createMemo(() => {
8895
- return theme() === "dark" ? darkStyles : lightStyles;
8901
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
8896
8902
  });
8897
8903
  const [copyState, setCopyState] = createSignal("NoCopy");
8898
8904
  return (() => {
@@ -8954,8 +8960,11 @@ var CopyButton = (props) => {
8954
8960
  };
8955
8961
  var ClearArrayButton = (props) => {
8956
8962
  const theme = useTheme();
8963
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
8964
+ target: useQueryDevtoolsContext().shadowDOMTarget
8965
+ }) : u;
8957
8966
  const styles = createMemo(() => {
8958
- return theme() === "dark" ? darkStyles : lightStyles;
8967
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
8959
8968
  });
8960
8969
  const queryClient = useQueryDevtoolsContext().client;
8961
8970
  return (() => {
@@ -8972,8 +8981,11 @@ var ClearArrayButton = (props) => {
8972
8981
  };
8973
8982
  var DeleteItemButton = (props) => {
8974
8983
  const theme = useTheme();
8984
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
8985
+ target: useQueryDevtoolsContext().shadowDOMTarget
8986
+ }) : u;
8975
8987
  const styles = createMemo(() => {
8976
- return theme() === "dark" ? darkStyles : lightStyles;
8988
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
8977
8989
  });
8978
8990
  const queryClient = useQueryDevtoolsContext().client;
8979
8991
  return (() => {
@@ -8990,8 +9002,11 @@ var DeleteItemButton = (props) => {
8990
9002
  };
8991
9003
  var ToggleValueButton = (props) => {
8992
9004
  const theme = useTheme();
9005
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
9006
+ target: useQueryDevtoolsContext().shadowDOMTarget
9007
+ }) : u;
8993
9008
  const styles = createMemo(() => {
8994
- return theme() === "dark" ? darkStyles : lightStyles;
9009
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
8995
9010
  });
8996
9011
  const queryClient = useQueryDevtoolsContext().client;
8997
9012
  return (() => {
@@ -9009,7 +9024,7 @@ var ToggleValueButton = (props) => {
9009
9024
  return props.value;
9010
9025
  }
9011
9026
  }));
9012
- createRenderEffect(() => className(_el$5, clsx(styles().actionButton, u`
9027
+ createRenderEffect(() => className(_el$5, clsx(styles().actionButton, css`
9013
9028
  width: ${tokens.size[3.5]};
9014
9029
  height: ${tokens.size[3.5]};
9015
9030
  `)));
@@ -9021,8 +9036,11 @@ function isIterable(x) {
9021
9036
  }
9022
9037
  function Explorer(props) {
9023
9038
  const theme = useTheme();
9039
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
9040
+ target: useQueryDevtoolsContext().shadowDOMTarget
9041
+ }) : u;
9024
9042
  const styles = createMemo(() => {
9025
- return theme() === "dark" ? darkStyles : lightStyles;
9043
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
9026
9044
  });
9027
9045
  const queryClient = useQueryDevtoolsContext().client;
9028
9046
  const [expanded, setExpanded] = createSignal((props.defaultExpanded || []).includes(props.label));
@@ -9352,7 +9370,7 @@ function Explorer(props) {
9352
9370
  return _el$6;
9353
9371
  })();
9354
9372
  }
9355
- var stylesFactory = (theme) => {
9373
+ var stylesFactory = (theme, css) => {
9356
9374
  const {
9357
9375
  colors,
9358
9376
  font,
@@ -9361,7 +9379,7 @@ var stylesFactory = (theme) => {
9361
9379
  } = tokens;
9362
9380
  const t2 = (light, dark) => theme === "light" ? light : dark;
9363
9381
  return {
9364
- entry: u`
9382
+ entry: css`
9365
9383
  & * {
9366
9384
  font-size: ${font.size.xs};
9367
9385
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
@@ -9371,13 +9389,13 @@ var stylesFactory = (theme) => {
9371
9389
  outline: none;
9372
9390
  word-break: break-word;
9373
9391
  `,
9374
- subEntry: u`
9392
+ subEntry: css`
9375
9393
  margin: 0 0 0 0.5em;
9376
9394
  padding-left: 0.75em;
9377
9395
  border-left: 2px solid ${t2(colors.gray[300], colors.darkGray[400])};
9378
9396
  /* outline: 1px solid ${colors.teal[400]}; */
9379
9397
  `,
9380
- expander: u`
9398
+ expander: css`
9381
9399
  & path {
9382
9400
  stroke: ${colors.gray[400]};
9383
9401
  }
@@ -9390,14 +9408,14 @@ var stylesFactory = (theme) => {
9390
9408
  transition: all 0.1s ease;
9391
9409
  /* outline: 1px solid ${colors.blue[400]}; */
9392
9410
  `,
9393
- expanderButtonContainer: u`
9411
+ expanderButtonContainer: css`
9394
9412
  display: flex;
9395
9413
  align-items: center;
9396
9414
  line-height: ${size2[4]};
9397
9415
  min-height: ${size2[4]};
9398
9416
  gap: ${size2[2]};
9399
9417
  `,
9400
- expanderButton: u`
9418
+ expanderButton: css`
9401
9419
  cursor: pointer;
9402
9420
  color: inherit;
9403
9421
  font: inherit;
@@ -9422,26 +9440,26 @@ var stylesFactory = (theme) => {
9422
9440
  left: 1px;
9423
9441
  }
9424
9442
  `,
9425
- info: u`
9443
+ info: css`
9426
9444
  color: ${t2(colors.gray[500], colors.gray[500])};
9427
9445
  font-size: ${font.size.xs};
9428
9446
  margin-left: ${size2[1]};
9429
9447
  /* outline: 1px solid ${colors.yellow[400]}; */
9430
9448
  `,
9431
- label: u`
9449
+ label: css`
9432
9450
  color: ${t2(colors.gray[700], colors.gray[300])};
9433
9451
  white-space: nowrap;
9434
9452
  `,
9435
- value: u`
9453
+ value: css`
9436
9454
  color: ${t2(colors.purple[600], colors.purple[400])};
9437
9455
  flex-grow: 1;
9438
9456
  `,
9439
- actions: u`
9457
+ actions: css`
9440
9458
  display: inline-flex;
9441
9459
  gap: ${size2[2]};
9442
9460
  align-items: center;
9443
9461
  `,
9444
- row: u`
9462
+ row: css`
9445
9463
  display: inline-flex;
9446
9464
  gap: ${size2[2]};
9447
9465
  width: 100%;
@@ -9449,7 +9467,7 @@ var stylesFactory = (theme) => {
9449
9467
  line-height: ${size2[4.5]};
9450
9468
  align-items: center;
9451
9469
  `,
9452
- editableInput: u`
9470
+ editableInput: css`
9453
9471
  border: none;
9454
9472
  padding: ${size2[0.5]} ${size2[1]} ${size2[0.5]} ${size2[1.5]};
9455
9473
  flex-grow: 1;
@@ -9460,7 +9478,7 @@ var stylesFactory = (theme) => {
9460
9478
  background-color: ${t2(colors.gray[300], colors.darkGray[600])};
9461
9479
  }
9462
9480
  `,
9463
- actionButton: u`
9481
+ actionButton: css`
9464
9482
  background-color: transparent;
9465
9483
  color: ${t2(colors.gray[500], colors.gray[500])};
9466
9484
  border: none;
@@ -9486,8 +9504,8 @@ var stylesFactory = (theme) => {
9486
9504
  `
9487
9505
  };
9488
9506
  };
9489
- var lightStyles = stylesFactory("light");
9490
- var darkStyles = stylesFactory("dark");
9507
+ var lightStyles = (css) => stylesFactory("light", css);
9508
+ var darkStyles = (css) => stylesFactory("dark", css);
9491
9509
  delegateEvents(["click"]);
9492
9510
 
9493
9511
  // src/Devtools.tsx
@@ -9538,6 +9556,7 @@ var DEFAULT_MUTATION_SORT_FN_NAME = Object.keys(mutationSortFns)[0];
9538
9556
  var [selectedQueryHash, setSelectedQueryHash] = createSignal(null);
9539
9557
  var [selectedMutationId, setSelectedMutationId] = createSignal(null);
9540
9558
  var [panelWidth, setPanelWidth] = createSignal(0);
9559
+ var [offline, setOffline] = createSignal(false);
9541
9560
  var PiPContext = createContext(void 0);
9542
9561
  var PiPProvider = (props) => {
9543
9562
  const [pipWindow, setPipWindow] = createSignal(null);
@@ -10037,7 +10056,6 @@ var ContentView = (props) => {
10037
10056
  const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
10038
10057
  const mutationSort = createMemo(() => props.localStore.mutationSort || DEFAULT_MUTATION_SORT_FN_NAME);
10039
10058
  const mutationSortOrder = createMemo(() => Number(props.localStore.mutationSortOrder) || DEFAULT_SORT_ORDER);
10040
- const [offline, setOffline] = createSignal(false);
10041
10059
  const sortFn = createMemo(() => sortFns[sort()]);
10042
10060
  const mutationSortFn = createMemo(() => mutationSortFns[mutationSort()]);
10043
10061
  const onlineManager = createMemo(() => useQueryDevtoolsContext().onlineManager);
package/build/dev.cjs CHANGED
@@ -12239,8 +12239,11 @@ function isIterable(x) {
12239
12239
  }
12240
12240
  function Explorer(props) {
12241
12241
  const theme = useTheme();
12242
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
12243
+ target: useQueryDevtoolsContext().shadowDOMTarget
12244
+ }) : u;
12242
12245
  const styles = createMemo(() => {
12243
- return theme() === "dark" ? darkStyles : lightStyles;
12246
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
12244
12247
  });
12245
12248
  const queryClient = useQueryDevtoolsContext().client;
12246
12249
  const [expanded, setExpanded] = createSignal((props.defaultExpanded || []).includes(props.label));
@@ -12583,10 +12586,10 @@ var init_Explorer = __esm({
12583
12586
  init_web();
12584
12587
  init_web();
12585
12588
  init_esm();
12586
- init_goober_modern();
12587
12589
  init_clsx();
12588
12590
  init_solid();
12589
12591
  init_dist6();
12592
+ init_goober_modern();
12590
12593
  init_theme();
12591
12594
  init_utils();
12592
12595
  init_icons();
@@ -12604,14 +12607,17 @@ var init_Explorer = __esm({
12604
12607
  _tmpl$112 = /* @__PURE__ */ template(`<div><div><button> [<!>...<!>]`);
12605
12608
  Expander = (props) => {
12606
12609
  const theme = useTheme();
12610
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
12611
+ target: useQueryDevtoolsContext().shadowDOMTarget
12612
+ }) : u;
12607
12613
  const styles = createMemo(() => {
12608
- return theme() === "dark" ? darkStyles : lightStyles;
12614
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
12609
12615
  });
12610
12616
  return (() => {
12611
12617
  const _el$ = _tmpl$23();
12612
- createRenderEffect(() => className(_el$, clsx(styles().expander, u`
12618
+ createRenderEffect(() => className(_el$, clsx(styles().expander, css`
12613
12619
  transform: rotate(${props.expanded ? 90 : 0}deg);
12614
- `, props.expanded && u`
12620
+ `, props.expanded && css`
12615
12621
  & svg {
12616
12622
  top: -1px;
12617
12623
  }
@@ -12621,8 +12627,11 @@ var init_Explorer = __esm({
12621
12627
  };
12622
12628
  CopyButton = (props) => {
12623
12629
  const theme = useTheme();
12630
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
12631
+ target: useQueryDevtoolsContext().shadowDOMTarget
12632
+ }) : u;
12624
12633
  const styles = createMemo(() => {
12625
- return theme() === "dark" ? darkStyles : lightStyles;
12634
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
12626
12635
  });
12627
12636
  const [copyState, setCopyState] = createSignal("NoCopy");
12628
12637
  return (() => {
@@ -12685,8 +12694,11 @@ var init_Explorer = __esm({
12685
12694
  };
12686
12695
  ClearArrayButton = (props) => {
12687
12696
  const theme = useTheme();
12697
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
12698
+ target: useQueryDevtoolsContext().shadowDOMTarget
12699
+ }) : u;
12688
12700
  const styles = createMemo(() => {
12689
- return theme() === "dark" ? darkStyles : lightStyles;
12701
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
12690
12702
  });
12691
12703
  const queryClient = useQueryDevtoolsContext().client;
12692
12704
  return (() => {
@@ -12703,8 +12715,11 @@ var init_Explorer = __esm({
12703
12715
  };
12704
12716
  DeleteItemButton = (props) => {
12705
12717
  const theme = useTheme();
12718
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
12719
+ target: useQueryDevtoolsContext().shadowDOMTarget
12720
+ }) : u;
12706
12721
  const styles = createMemo(() => {
12707
- return theme() === "dark" ? darkStyles : lightStyles;
12722
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
12708
12723
  });
12709
12724
  const queryClient = useQueryDevtoolsContext().client;
12710
12725
  return (() => {
@@ -12721,8 +12736,11 @@ var init_Explorer = __esm({
12721
12736
  };
12722
12737
  ToggleValueButton = (props) => {
12723
12738
  const theme = useTheme();
12739
+ const css = useQueryDevtoolsContext().shadowDOMTarget ? u.bind({
12740
+ target: useQueryDevtoolsContext().shadowDOMTarget
12741
+ }) : u;
12724
12742
  const styles = createMemo(() => {
12725
- return theme() === "dark" ? darkStyles : lightStyles;
12743
+ return theme() === "dark" ? darkStyles(css) : lightStyles(css);
12726
12744
  });
12727
12745
  const queryClient = useQueryDevtoolsContext().client;
12728
12746
  return (() => {
@@ -12740,14 +12758,14 @@ var init_Explorer = __esm({
12740
12758
  return props.value;
12741
12759
  }
12742
12760
  }));
12743
- createRenderEffect(() => className(_el$5, clsx(styles().actionButton, u`
12761
+ createRenderEffect(() => className(_el$5, clsx(styles().actionButton, css`
12744
12762
  width: ${tokens.size[3.5]};
12745
12763
  height: ${tokens.size[3.5]};
12746
12764
  `)));
12747
12765
  return _el$5;
12748
12766
  })();
12749
12767
  };
12750
- stylesFactory = (theme) => {
12768
+ stylesFactory = (theme, css) => {
12751
12769
  const {
12752
12770
  colors,
12753
12771
  font,
@@ -12756,7 +12774,7 @@ var init_Explorer = __esm({
12756
12774
  } = tokens;
12757
12775
  const t2 = (light, dark) => theme === "light" ? light : dark;
12758
12776
  return {
12759
- entry: u`
12777
+ entry: css`
12760
12778
  & * {
12761
12779
  font-size: ${font.size.xs};
12762
12780
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
@@ -12766,13 +12784,13 @@ var init_Explorer = __esm({
12766
12784
  outline: none;
12767
12785
  word-break: break-word;
12768
12786
  `,
12769
- subEntry: u`
12787
+ subEntry: css`
12770
12788
  margin: 0 0 0 0.5em;
12771
12789
  padding-left: 0.75em;
12772
12790
  border-left: 2px solid ${t2(colors.gray[300], colors.darkGray[400])};
12773
12791
  /* outline: 1px solid ${colors.teal[400]}; */
12774
12792
  `,
12775
- expander: u`
12793
+ expander: css`
12776
12794
  & path {
12777
12795
  stroke: ${colors.gray[400]};
12778
12796
  }
@@ -12785,14 +12803,14 @@ var init_Explorer = __esm({
12785
12803
  transition: all 0.1s ease;
12786
12804
  /* outline: 1px solid ${colors.blue[400]}; */
12787
12805
  `,
12788
- expanderButtonContainer: u`
12806
+ expanderButtonContainer: css`
12789
12807
  display: flex;
12790
12808
  align-items: center;
12791
12809
  line-height: ${size2[4]};
12792
12810
  min-height: ${size2[4]};
12793
12811
  gap: ${size2[2]};
12794
12812
  `,
12795
- expanderButton: u`
12813
+ expanderButton: css`
12796
12814
  cursor: pointer;
12797
12815
  color: inherit;
12798
12816
  font: inherit;
@@ -12817,26 +12835,26 @@ var init_Explorer = __esm({
12817
12835
  left: 1px;
12818
12836
  }
12819
12837
  `,
12820
- info: u`
12838
+ info: css`
12821
12839
  color: ${t2(colors.gray[500], colors.gray[500])};
12822
12840
  font-size: ${font.size.xs};
12823
12841
  margin-left: ${size2[1]};
12824
12842
  /* outline: 1px solid ${colors.yellow[400]}; */
12825
12843
  `,
12826
- label: u`
12844
+ label: css`
12827
12845
  color: ${t2(colors.gray[700], colors.gray[300])};
12828
12846
  white-space: nowrap;
12829
12847
  `,
12830
- value: u`
12848
+ value: css`
12831
12849
  color: ${t2(colors.purple[600], colors.purple[400])};
12832
12850
  flex-grow: 1;
12833
12851
  `,
12834
- actions: u`
12852
+ actions: css`
12835
12853
  display: inline-flex;
12836
12854
  gap: ${size2[2]};
12837
12855
  align-items: center;
12838
12856
  `,
12839
- row: u`
12857
+ row: css`
12840
12858
  display: inline-flex;
12841
12859
  gap: ${size2[2]};
12842
12860
  width: 100%;
@@ -12844,7 +12862,7 @@ var init_Explorer = __esm({
12844
12862
  line-height: ${size2[4.5]};
12845
12863
  align-items: center;
12846
12864
  `,
12847
- editableInput: u`
12865
+ editableInput: css`
12848
12866
  border: none;
12849
12867
  padding: ${size2[0.5]} ${size2[1]} ${size2[0.5]} ${size2[1.5]};
12850
12868
  flex-grow: 1;
@@ -12855,7 +12873,7 @@ var init_Explorer = __esm({
12855
12873
  background-color: ${t2(colors.gray[300], colors.darkGray[600])};
12856
12874
  }
12857
12875
  `,
12858
- actionButton: u`
12876
+ actionButton: css`
12859
12877
  background-color: transparent;
12860
12878
  color: ${t2(colors.gray[500], colors.gray[500])};
12861
12879
  border: none;
@@ -12881,8 +12899,8 @@ var init_Explorer = __esm({
12881
12899
  `
12882
12900
  };
12883
12901
  };
12884
- lightStyles = stylesFactory("light");
12885
- darkStyles = stylesFactory("dark");
12902
+ lightStyles = (css) => stylesFactory("light", css);
12903
+ darkStyles = (css) => stylesFactory("dark", css);
12886
12904
  delegateEvents(["click"]);
12887
12905
  }
12888
12906
  });
@@ -12892,7 +12910,7 @@ var Devtools_exports = {};
12892
12910
  __export(Devtools_exports, {
12893
12911
  default: () => Devtools_default
12894
12912
  });
12895
- var _tmpl$25, _tmpl$26, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$103, _tmpl$113, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$182, _tmpl$192, _tmpl$202, _tmpl$212, _tmpl$222, _tmpl$232, _tmpl$242, _tmpl$252, _tmpl$262, _tmpl$27, _tmpl$28, _tmpl$29, _tmpl$30, _tmpl$31, _tmpl$322, firstBreakpoint, secondBreakpoint, thirdBreakpoint, BUTTON_POSITION, POSITION, THEME_PREFERENCE, INITIAL_IS_OPEN, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_SORT_FN_NAME, DEFAULT_SORT_ORDER, DEFAULT_MUTATION_SORT_FN_NAME, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, PiPContext, PiPProvider, usePiPWindow, DevtoolsComponent, Devtools_default, Devtools, PiPPanel, DevtoolsPanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, stylesFactory2, lightStyles2, darkStyles2;
12913
+ var _tmpl$25, _tmpl$26, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$103, _tmpl$113, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$182, _tmpl$192, _tmpl$202, _tmpl$212, _tmpl$222, _tmpl$232, _tmpl$242, _tmpl$252, _tmpl$262, _tmpl$27, _tmpl$28, _tmpl$29, _tmpl$30, _tmpl$31, _tmpl$322, firstBreakpoint, secondBreakpoint, thirdBreakpoint, BUTTON_POSITION, POSITION, THEME_PREFERENCE, INITIAL_IS_OPEN, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_SORT_FN_NAME, DEFAULT_SORT_ORDER, DEFAULT_MUTATION_SORT_FN_NAME, selectedQueryHash, setSelectedQueryHash, selectedMutationId, setSelectedMutationId, panelWidth, setPanelWidth, offline, setOffline, PiPContext, PiPProvider, usePiPWindow, DevtoolsComponent, Devtools_default, Devtools, PiPPanel, DevtoolsPanel, ContentView, QueryRow, MutationRow, QueryStatusCount, MutationStatusCount, QueryStatus, QueryDetails, MutationDetails, queryCacheMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, mutationCacheMap, setupMutationCacheSubscription, createSubscribeToMutationCacheBatcher, stylesFactory2, lightStyles2, darkStyles2;
12896
12914
  var init_Devtools = __esm({
12897
12915
  "src/Devtools.tsx"() {
12898
12916
  init_web();
@@ -12968,6 +12986,7 @@ var init_Devtools = __esm({
12968
12986
  [selectedQueryHash, setSelectedQueryHash] = createSignal(null);
12969
12987
  [selectedMutationId, setSelectedMutationId] = createSignal(null);
12970
12988
  [panelWidth, setPanelWidth] = createSignal(0);
12989
+ [offline, setOffline] = createSignal(false);
12971
12990
  PiPContext = createContext(void 0);
12972
12991
  PiPProvider = (props) => {
12973
12992
  const [pipWindow, setPipWindow] = createSignal(null);
@@ -13467,7 +13486,6 @@ var init_Devtools = __esm({
13467
13486
  const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
13468
13487
  const mutationSort = createMemo(() => props.localStore.mutationSort || DEFAULT_MUTATION_SORT_FN_NAME);
13469
13488
  const mutationSortOrder = createMemo(() => Number(props.localStore.mutationSortOrder) || DEFAULT_SORT_ORDER);
13470
- const [offline, setOffline] = createSignal(false);
13471
13489
  const sortFn = createMemo(() => sortFns[sort()]);
13472
13490
  const mutationSortFn = createMemo(() => mutationSortFns[mutationSort()]);
13473
13491
  const onlineManager = createMemo(() => useQueryDevtoolsContext().onlineManager);
package/build/dev.js CHANGED
@@ -69,7 +69,7 @@ var TanstackQueryDevtools = class {
69
69
  if (this.#Component) {
70
70
  Devtools = this.#Component;
71
71
  } else {
72
- Devtools = lazy(() => import('./Devtools/UXHVNKJK.js'));
72
+ Devtools = lazy(() => import('./Devtools/HSODRENB.js'));
73
73
  this.#Component = Devtools;
74
74
  }
75
75
  setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
package/build/dev.jsx CHANGED
@@ -73,7 +73,7 @@ var TanstackQueryDevtools = class {
73
73
  if (this.#Component) {
74
74
  Devtools = this.#Component;
75
75
  } else {
76
- Devtools = lazy(() => import("./Devtools/MZG6MFIN.jsx"));
76
+ Devtools = lazy(() => import("./Devtools/HPBPMTAC.jsx"));
77
77
  this.#Component = Devtools;
78
78
  }
79
79
  setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);