@tanstack/query-devtools 5.76.0 → 5.80.11
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/build/DevtoolsComponent/{6BZD2SY2.js → HH7B3BHX.js} +1 -1
- package/build/DevtoolsComponent/{2ZEF3XTO.js → I3HPI4QX.js} +1 -1
- package/build/DevtoolsPanelComponent/{4GTSBKBA.js → CXEL7IU7.js} +1 -1
- package/build/DevtoolsPanelComponent/{G73NX4V5.js → JZI2RDCT.js} +1 -1
- package/build/chunk/{U3MG367F.js → HASRA6WW.js} +189 -166
- package/build/chunk/{YBOVUDTV.js → L7Z3HDK6.js} +189 -166
- package/build/dev.cjs +190 -167
- package/build/dev.js +2 -2
- package/build/index.cjs +190 -167
- package/build/index.js +2 -2
- package/package.json +2 -2
- package/src/Devtools.tsx +25 -0
|
@@ -9471,17 +9471,18 @@ var _tmpl$182 = /* @__PURE__ */ template(`<div><div class=tsqd-mutations-contain
|
|
|
9471
9471
|
var _tmpl$192 = /* @__PURE__ */ template(`<div><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div></div><div><div><div><input aria-label="Filter queries by query key"type=text placeholder=Filter name=tsqd-query-filter-input></div><div></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"></button><button>`);
|
|
9472
9472
|
var _tmpl$202 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
9473
9473
|
var _tmpl$212 = /* @__PURE__ */ template(`<div class=tsqd-query-disabled-indicator>disabled`);
|
|
9474
|
-
var _tmpl$222 = /* @__PURE__ */ template(`<
|
|
9475
|
-
var _tmpl$232 = /* @__PURE__ */ template(`<div
|
|
9476
|
-
var _tmpl$242 = /* @__PURE__ */ template(`<
|
|
9477
|
-
var _tmpl$252 = /* @__PURE__ */ template(`<
|
|
9478
|
-
var _tmpl$262 = /* @__PURE__ */ template(`<button><span></span
|
|
9479
|
-
var _tmpl$27 = /* @__PURE__ */ template(`<
|
|
9480
|
-
var _tmpl$28 = /* @__PURE__ */ template(`<div
|
|
9481
|
-
var _tmpl$29 = /* @__PURE__ */ template(`<
|
|
9482
|
-
var _tmpl$30 = /* @__PURE__ */ template(`<
|
|
9483
|
-
var _tmpl$31 = /* @__PURE__ */ template(`<
|
|
9484
|
-
var _tmpl$322 = /* @__PURE__ */ template(`<
|
|
9474
|
+
var _tmpl$222 = /* @__PURE__ */ template(`<div class=tsqd-query-static-indicator>static`);
|
|
9475
|
+
var _tmpl$232 = /* @__PURE__ */ template(`<button><div></div><code class=tsqd-query-hash>`);
|
|
9476
|
+
var _tmpl$242 = /* @__PURE__ */ template(`<div role=tooltip id=tsqd-status-tooltip>`);
|
|
9477
|
+
var _tmpl$252 = /* @__PURE__ */ template(`<span>`);
|
|
9478
|
+
var _tmpl$262 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
9479
|
+
var _tmpl$27 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
9480
|
+
var _tmpl$28 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value=""disabled selected>`);
|
|
9481
|
+
var _tmpl$29 = /* @__PURE__ */ template(`<div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer">`);
|
|
9482
|
+
var _tmpl$30 = /* @__PURE__ */ template(`<form><textarea name=data></textarea><div><span></span><div><button type=button>Cancel</button><button>Save`);
|
|
9483
|
+
var _tmpl$31 = /* @__PURE__ */ template(`<div><div>Query Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-observers-count><span>Observers:</span><span></span></div><div class=tsqd-query-details-last-updated><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span>Remove</button><button><span></span> Loading</button></div><div>Data </div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
9484
|
+
var _tmpl$322 = /* @__PURE__ */ template(`<option>`);
|
|
9485
|
+
var _tmpl$332 = /* @__PURE__ */ template(`<div><div>Mutation Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-last-updated><span>Submitted At:</span><span></span></div></div><div>Variables Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Context Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Mutations Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
9485
9486
|
var [selectedQueryHash, setSelectedQueryHash] = createSignal(null);
|
|
9486
9487
|
var [selectedMutationId, setSelectedMutationId] = createSignal(null);
|
|
9487
9488
|
var [panelWidth, setPanelWidth] = createSignal(0);
|
|
@@ -10404,6 +10405,9 @@ var QueryRow = (props) => {
|
|
|
10404
10405
|
const isDisabled = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().find({
|
|
10405
10406
|
queryKey: props.query.queryKey
|
|
10406
10407
|
})?.isDisabled() ?? false, true, (e2) => e2.query.queryHash === props.query.queryHash);
|
|
10408
|
+
const isStatic = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().find({
|
|
10409
|
+
queryKey: props.query.queryKey
|
|
10410
|
+
})?.isStatic() ?? false, true, (e2) => e2.query.queryHash === props.query.queryHash);
|
|
10407
10411
|
const isStale = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().find({
|
|
10408
10412
|
queryKey: props.query.queryKey
|
|
10409
10413
|
})?.isStale() ?? false, true, (e2) => e2.query.queryHash === props.query.queryHash);
|
|
@@ -10432,7 +10436,7 @@ var QueryRow = (props) => {
|
|
|
10432
10436
|
return queryState();
|
|
10433
10437
|
},
|
|
10434
10438
|
get children() {
|
|
10435
|
-
var _el$47 = _tmpl$
|
|
10439
|
+
var _el$47 = _tmpl$232(), _el$48 = _el$47.firstChild, _el$49 = _el$48.nextSibling;
|
|
10436
10440
|
_el$47.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
10437
10441
|
insert(_el$48, observers);
|
|
10438
10442
|
insert(_el$49, () => props.query.queryHash);
|
|
@@ -10444,6 +10448,14 @@ var QueryRow = (props) => {
|
|
|
10444
10448
|
return _tmpl$212();
|
|
10445
10449
|
}
|
|
10446
10450
|
}), null);
|
|
10451
|
+
insert(_el$47, createComponent(Show, {
|
|
10452
|
+
get when() {
|
|
10453
|
+
return isStatic();
|
|
10454
|
+
},
|
|
10455
|
+
get children() {
|
|
10456
|
+
return _tmpl$222();
|
|
10457
|
+
}
|
|
10458
|
+
}), null);
|
|
10447
10459
|
createRenderEffect((_p$) => {
|
|
10448
10460
|
var _v$24 = clsx(styles().queryRow, selectedQueryHash() === props.query.queryHash && styles().selectedQueryRow, "tsqd-query-row"), _v$25 = `Query key ${props.query.queryHash}`, _v$26 = clsx(getObserverCountColorStyles(), "tsqd-query-observer-count");
|
|
10449
10461
|
_v$24 !== _p$.e && className(_el$47, _p$.e = _v$24);
|
|
@@ -10510,11 +10522,11 @@ var MutationRow = (props) => {
|
|
|
10510
10522
|
return mutationState();
|
|
10511
10523
|
},
|
|
10512
10524
|
get children() {
|
|
10513
|
-
var _el$
|
|
10514
|
-
_el$
|
|
10525
|
+
var _el$52 = _tmpl$232(), _el$53 = _el$52.firstChild, _el$54 = _el$53.nextSibling;
|
|
10526
|
+
_el$52.$$click = () => {
|
|
10515
10527
|
setSelectedMutationId(props.mutation.mutationId === selectedMutationId() ? null : props.mutation.mutationId);
|
|
10516
10528
|
};
|
|
10517
|
-
insert(_el$
|
|
10529
|
+
insert(_el$53, createComponent(Show, {
|
|
10518
10530
|
get when() {
|
|
10519
10531
|
return color() === "purple";
|
|
10520
10532
|
},
|
|
@@ -10522,7 +10534,7 @@ var MutationRow = (props) => {
|
|
|
10522
10534
|
return createComponent(PauseCircle, {});
|
|
10523
10535
|
}
|
|
10524
10536
|
}), null);
|
|
10525
|
-
insert(_el$
|
|
10537
|
+
insert(_el$53, createComponent(Show, {
|
|
10526
10538
|
get when() {
|
|
10527
10539
|
return color() === "green";
|
|
10528
10540
|
},
|
|
@@ -10530,7 +10542,7 @@ var MutationRow = (props) => {
|
|
|
10530
10542
|
return createComponent(CheckCircle, {});
|
|
10531
10543
|
}
|
|
10532
10544
|
}), null);
|
|
10533
|
-
insert(_el$
|
|
10545
|
+
insert(_el$53, createComponent(Show, {
|
|
10534
10546
|
get when() {
|
|
10535
10547
|
return color() === "red";
|
|
10536
10548
|
},
|
|
@@ -10538,7 +10550,7 @@ var MutationRow = (props) => {
|
|
|
10538
10550
|
return createComponent(XCircle, {});
|
|
10539
10551
|
}
|
|
10540
10552
|
}), null);
|
|
10541
|
-
insert(_el$
|
|
10553
|
+
insert(_el$53, createComponent(Show, {
|
|
10542
10554
|
get when() {
|
|
10543
10555
|
return color() === "yellow";
|
|
10544
10556
|
},
|
|
@@ -10546,7 +10558,7 @@ var MutationRow = (props) => {
|
|
|
10546
10558
|
return createComponent(LoadingCircle, {});
|
|
10547
10559
|
}
|
|
10548
10560
|
}), null);
|
|
10549
|
-
insert(_el$
|
|
10561
|
+
insert(_el$54, createComponent(Show, {
|
|
10550
10562
|
get when() {
|
|
10551
10563
|
return props.mutation.options.mutationKey;
|
|
10552
10564
|
},
|
|
@@ -10554,19 +10566,19 @@ var MutationRow = (props) => {
|
|
|
10554
10566
|
return [createMemo(() => JSON.stringify(props.mutation.options.mutationKey)), " -", " "];
|
|
10555
10567
|
}
|
|
10556
10568
|
}), null);
|
|
10557
|
-
insert(_el$
|
|
10569
|
+
insert(_el$54, () => new Date(props.mutation.state.submittedAt).toLocaleString(), null);
|
|
10558
10570
|
createRenderEffect((_p$) => {
|
|
10559
10571
|
var _v$27 = clsx(styles().queryRow, selectedMutationId() === props.mutation.mutationId && styles().selectedQueryRow, "tsqd-query-row"), _v$28 = `Mutation submitted at ${new Date(props.mutation.state.submittedAt).toLocaleString()}`, _v$29 = clsx(getObserverCountColorStyles(), "tsqd-query-observer-count");
|
|
10560
|
-
_v$27 !== _p$.e && className(_el$
|
|
10561
|
-
_v$28 !== _p$.t && setAttribute(_el$
|
|
10562
|
-
_v$29 !== _p$.a && className(_el$
|
|
10572
|
+
_v$27 !== _p$.e && className(_el$52, _p$.e = _v$27);
|
|
10573
|
+
_v$28 !== _p$.t && setAttribute(_el$52, "aria-label", _p$.t = _v$28);
|
|
10574
|
+
_v$29 !== _p$.a && className(_el$53, _p$.a = _v$29);
|
|
10563
10575
|
return _p$;
|
|
10564
10576
|
}, {
|
|
10565
10577
|
e: void 0,
|
|
10566
10578
|
t: void 0,
|
|
10567
10579
|
a: void 0
|
|
10568
10580
|
});
|
|
10569
|
-
return _el$
|
|
10581
|
+
return _el$52;
|
|
10570
10582
|
}
|
|
10571
10583
|
});
|
|
10572
10584
|
};
|
|
@@ -10584,44 +10596,44 @@ var QueryStatusCount = () => {
|
|
|
10584
10596
|
return theme() === "dark" ? darkStyles2(css) : lightStyles2(css);
|
|
10585
10597
|
});
|
|
10586
10598
|
return (() => {
|
|
10587
|
-
var _el$
|
|
10588
|
-
insert(_el$
|
|
10599
|
+
var _el$55 = _tmpl$26();
|
|
10600
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
10589
10601
|
label: "Fresh",
|
|
10590
10602
|
color: "green",
|
|
10591
10603
|
get count() {
|
|
10592
10604
|
return fresh();
|
|
10593
10605
|
}
|
|
10594
10606
|
}), null);
|
|
10595
|
-
insert(_el$
|
|
10607
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
10596
10608
|
label: "Fetching",
|
|
10597
10609
|
color: "blue",
|
|
10598
10610
|
get count() {
|
|
10599
10611
|
return fetching();
|
|
10600
10612
|
}
|
|
10601
10613
|
}), null);
|
|
10602
|
-
insert(_el$
|
|
10614
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
10603
10615
|
label: "Paused",
|
|
10604
10616
|
color: "purple",
|
|
10605
10617
|
get count() {
|
|
10606
10618
|
return paused();
|
|
10607
10619
|
}
|
|
10608
10620
|
}), null);
|
|
10609
|
-
insert(_el$
|
|
10621
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
10610
10622
|
label: "Stale",
|
|
10611
10623
|
color: "yellow",
|
|
10612
10624
|
get count() {
|
|
10613
10625
|
return stale();
|
|
10614
10626
|
}
|
|
10615
10627
|
}), null);
|
|
10616
|
-
insert(_el$
|
|
10628
|
+
insert(_el$55, createComponent(QueryStatus, {
|
|
10617
10629
|
label: "Inactive",
|
|
10618
10630
|
color: "gray",
|
|
10619
10631
|
get count() {
|
|
10620
10632
|
return inactive();
|
|
10621
10633
|
}
|
|
10622
10634
|
}), null);
|
|
10623
|
-
createRenderEffect(() => className(_el$
|
|
10624
|
-
return _el$
|
|
10635
|
+
createRenderEffect(() => className(_el$55, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
10636
|
+
return _el$55;
|
|
10625
10637
|
})();
|
|
10626
10638
|
};
|
|
10627
10639
|
var MutationStatusCount = () => {
|
|
@@ -10649,37 +10661,37 @@ var MutationStatusCount = () => {
|
|
|
10649
10661
|
return theme() === "dark" ? darkStyles2(css) : lightStyles2(css);
|
|
10650
10662
|
});
|
|
10651
10663
|
return (() => {
|
|
10652
|
-
var _el$
|
|
10653
|
-
insert(_el$
|
|
10664
|
+
var _el$56 = _tmpl$26();
|
|
10665
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
10654
10666
|
label: "Paused",
|
|
10655
10667
|
color: "purple",
|
|
10656
10668
|
get count() {
|
|
10657
10669
|
return paused();
|
|
10658
10670
|
}
|
|
10659
10671
|
}), null);
|
|
10660
|
-
insert(_el$
|
|
10672
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
10661
10673
|
label: "Pending",
|
|
10662
10674
|
color: "yellow",
|
|
10663
10675
|
get count() {
|
|
10664
10676
|
return pending();
|
|
10665
10677
|
}
|
|
10666
10678
|
}), null);
|
|
10667
|
-
insert(_el$
|
|
10679
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
10668
10680
|
label: "Success",
|
|
10669
10681
|
color: "green",
|
|
10670
10682
|
get count() {
|
|
10671
10683
|
return success();
|
|
10672
10684
|
}
|
|
10673
10685
|
}), null);
|
|
10674
|
-
insert(_el$
|
|
10686
|
+
insert(_el$56, createComponent(QueryStatus, {
|
|
10675
10687
|
label: "Error",
|
|
10676
10688
|
color: "red",
|
|
10677
10689
|
get count() {
|
|
10678
10690
|
return error();
|
|
10679
10691
|
}
|
|
10680
10692
|
}), null);
|
|
10681
|
-
createRenderEffect(() => className(_el$
|
|
10682
|
-
return _el$
|
|
10693
|
+
createRenderEffect(() => className(_el$56, clsx(styles().queryStatusContainer, "tsqd-query-status-container")));
|
|
10694
|
+
return _el$56;
|
|
10683
10695
|
})();
|
|
10684
10696
|
};
|
|
10685
10697
|
var QueryStatus = (props) => {
|
|
@@ -10710,17 +10722,17 @@ var QueryStatus = (props) => {
|
|
|
10710
10722
|
return true;
|
|
10711
10723
|
});
|
|
10712
10724
|
return (() => {
|
|
10713
|
-
var _el$
|
|
10725
|
+
var _el$57 = _tmpl$262(), _el$59 = _el$57.firstChild, _el$61 = _el$59.nextSibling;
|
|
10714
10726
|
var _ref$5 = tagRef;
|
|
10715
|
-
typeof _ref$5 === "function" ? use(_ref$5, _el$
|
|
10716
|
-
_el$
|
|
10727
|
+
typeof _ref$5 === "function" ? use(_ref$5, _el$57) : tagRef = _el$57;
|
|
10728
|
+
_el$57.addEventListener("mouseleave", () => {
|
|
10717
10729
|
setMouseOver(false);
|
|
10718
10730
|
setFocused(false);
|
|
10719
10731
|
});
|
|
10720
|
-
_el$
|
|
10721
|
-
_el$
|
|
10722
|
-
_el$
|
|
10723
|
-
spread(_el$
|
|
10732
|
+
_el$57.addEventListener("mouseenter", () => setMouseOver(true));
|
|
10733
|
+
_el$57.addEventListener("blur", () => setFocused(false));
|
|
10734
|
+
_el$57.addEventListener("focus", () => setFocused(true));
|
|
10735
|
+
spread(_el$57, mergeProps({
|
|
10724
10736
|
get disabled() {
|
|
10725
10737
|
return showLabel();
|
|
10726
10738
|
},
|
|
@@ -10735,29 +10747,29 @@ var QueryStatus = (props) => {
|
|
|
10735
10747
|
}, () => mouseOver() || focused() ? {
|
|
10736
10748
|
"aria-describedby": "tsqd-status-tooltip"
|
|
10737
10749
|
} : {}), false, true);
|
|
10738
|
-
insert(_el$
|
|
10750
|
+
insert(_el$57, createComponent(Show, {
|
|
10739
10751
|
get when() {
|
|
10740
10752
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
10741
10753
|
},
|
|
10742
10754
|
get children() {
|
|
10743
|
-
var _el$
|
|
10744
|
-
insert(_el$
|
|
10745
|
-
createRenderEffect(() => className(_el$
|
|
10746
|
-
return _el$
|
|
10755
|
+
var _el$58 = _tmpl$242();
|
|
10756
|
+
insert(_el$58, () => props.label);
|
|
10757
|
+
createRenderEffect(() => className(_el$58, clsx(styles().statusTooltip, "tsqd-query-status-tooltip")));
|
|
10758
|
+
return _el$58;
|
|
10747
10759
|
}
|
|
10748
|
-
}), _el$
|
|
10749
|
-
insert(_el$
|
|
10760
|
+
}), _el$59);
|
|
10761
|
+
insert(_el$57, createComponent(Show, {
|
|
10750
10762
|
get when() {
|
|
10751
10763
|
return showLabel();
|
|
10752
10764
|
},
|
|
10753
10765
|
get children() {
|
|
10754
|
-
var _el$
|
|
10755
|
-
insert(_el$
|
|
10756
|
-
createRenderEffect(() => className(_el$
|
|
10757
|
-
return _el$
|
|
10766
|
+
var _el$60 = _tmpl$252();
|
|
10767
|
+
insert(_el$60, () => props.label);
|
|
10768
|
+
createRenderEffect(() => className(_el$60, clsx(styles().queryStatusTagLabel, "tsqd-query-status-tag-label")));
|
|
10769
|
+
return _el$60;
|
|
10758
10770
|
}
|
|
10759
|
-
}), _el$
|
|
10760
|
-
insert(_el$
|
|
10771
|
+
}), _el$61);
|
|
10772
|
+
insert(_el$61, () => props.count);
|
|
10761
10773
|
createRenderEffect((_p$) => {
|
|
10762
10774
|
var _v$30 = clsx(css`
|
|
10763
10775
|
width: ${tokens.size[1.5]};
|
|
@@ -10768,14 +10780,14 @@ var QueryStatus = (props) => {
|
|
|
10768
10780
|
background-color: ${t2(colors[props.color][100], colors[props.color][900])};
|
|
10769
10781
|
color: ${t2(colors[props.color][700], colors[props.color][300])};
|
|
10770
10782
|
`, "tsqd-query-status-tag-count");
|
|
10771
|
-
_v$30 !== _p$.e && className(_el$
|
|
10772
|
-
_v$31 !== _p$.t && className(_el$
|
|
10783
|
+
_v$30 !== _p$.e && className(_el$59, _p$.e = _v$30);
|
|
10784
|
+
_v$31 !== _p$.t && className(_el$61, _p$.t = _v$31);
|
|
10773
10785
|
return _p$;
|
|
10774
10786
|
}, {
|
|
10775
10787
|
e: void 0,
|
|
10776
10788
|
t: void 0
|
|
10777
10789
|
});
|
|
10778
|
-
return _el$
|
|
10790
|
+
return _el$57;
|
|
10779
10791
|
})();
|
|
10780
10792
|
};
|
|
10781
10793
|
var QueryDetails = () => {
|
|
@@ -10892,27 +10904,27 @@ var QueryDetails = () => {
|
|
|
10892
10904
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
10893
10905
|
},
|
|
10894
10906
|
get children() {
|
|
10895
|
-
var _el$
|
|
10896
|
-
insert(_el$
|
|
10897
|
-
insert(_el$
|
|
10898
|
-
insert(_el$
|
|
10899
|
-
insert(_el$
|
|
10900
|
-
_el$
|
|
10901
|
-
_el$
|
|
10907
|
+
var _el$62 = _tmpl$31(), _el$63 = _el$62.firstChild, _el$64 = _el$63.nextSibling, _el$65 = _el$64.firstChild, _el$66 = _el$65.firstChild, _el$67 = _el$66.firstChild, _el$68 = _el$66.nextSibling, _el$69 = _el$65.nextSibling, _el$70 = _el$69.firstChild, _el$71 = _el$70.nextSibling, _el$72 = _el$69.nextSibling, _el$73 = _el$72.firstChild, _el$74 = _el$73.nextSibling, _el$75 = _el$64.nextSibling, _el$76 = _el$75.nextSibling, _el$77 = _el$76.firstChild, _el$78 = _el$77.firstChild, _el$79 = _el$77.nextSibling, _el$80 = _el$79.firstChild, _el$81 = _el$79.nextSibling, _el$82 = _el$81.firstChild, _el$83 = _el$81.nextSibling, _el$84 = _el$83.firstChild, _el$85 = _el$83.nextSibling, _el$86 = _el$85.firstChild, _el$87 = _el$86.nextSibling, _el$96 = _el$76.nextSibling; _el$96.firstChild; var _el$106 = _el$96.nextSibling, _el$107 = _el$106.nextSibling;
|
|
10908
|
+
insert(_el$67, () => displayValue(activeQuery().queryKey, true));
|
|
10909
|
+
insert(_el$68, statusLabel);
|
|
10910
|
+
insert(_el$71, observerCount);
|
|
10911
|
+
insert(_el$74, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
|
|
10912
|
+
_el$77.$$click = handleRefetch;
|
|
10913
|
+
_el$79.$$click = () => {
|
|
10902
10914
|
sendDevToolsEvent({
|
|
10903
10915
|
type: "INVALIDATE",
|
|
10904
10916
|
queryHash: activeQuery()?.queryHash
|
|
10905
10917
|
});
|
|
10906
10918
|
queryClient.invalidateQueries(activeQuery());
|
|
10907
10919
|
};
|
|
10908
|
-
_el$
|
|
10920
|
+
_el$81.$$click = () => {
|
|
10909
10921
|
sendDevToolsEvent({
|
|
10910
10922
|
type: "RESET",
|
|
10911
10923
|
queryHash: activeQuery()?.queryHash
|
|
10912
10924
|
});
|
|
10913
10925
|
queryClient.resetQueries(activeQuery());
|
|
10914
10926
|
};
|
|
10915
|
-
_el$
|
|
10927
|
+
_el$83.$$click = () => {
|
|
10916
10928
|
sendDevToolsEvent({
|
|
10917
10929
|
type: "REMOVE",
|
|
10918
10930
|
queryHash: activeQuery()?.queryHash
|
|
@@ -10920,7 +10932,7 @@ var QueryDetails = () => {
|
|
|
10920
10932
|
queryClient.removeQueries(activeQuery());
|
|
10921
10933
|
setSelectedQueryHash(null);
|
|
10922
10934
|
};
|
|
10923
|
-
_el$
|
|
10935
|
+
_el$85.$$click = () => {
|
|
10924
10936
|
if (activeQuery()?.state.data === void 0) {
|
|
10925
10937
|
setRestoringLoading(true);
|
|
10926
10938
|
restoreQueryAfterLoadingOrError();
|
|
@@ -10950,14 +10962,14 @@ var QueryDetails = () => {
|
|
|
10950
10962
|
});
|
|
10951
10963
|
}
|
|
10952
10964
|
};
|
|
10953
|
-
insert(_el$
|
|
10954
|
-
insert(_el$
|
|
10965
|
+
insert(_el$85, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$87);
|
|
10966
|
+
insert(_el$76, createComponent(Show, {
|
|
10955
10967
|
get when() {
|
|
10956
10968
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
10957
10969
|
},
|
|
10958
10970
|
get children() {
|
|
10959
|
-
var _el$
|
|
10960
|
-
_el$
|
|
10971
|
+
var _el$88 = _tmpl$27(), _el$89 = _el$88.firstChild, _el$90 = _el$89.nextSibling;
|
|
10972
|
+
_el$88.$$click = () => {
|
|
10961
10973
|
if (!activeQuery().state.error) {
|
|
10962
10974
|
triggerError();
|
|
10963
10975
|
} else {
|
|
@@ -10968,71 +10980,71 @@ var QueryDetails = () => {
|
|
|
10968
10980
|
queryClient.resetQueries(activeQuery());
|
|
10969
10981
|
}
|
|
10970
10982
|
};
|
|
10971
|
-
insert(_el$
|
|
10983
|
+
insert(_el$88, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$90);
|
|
10972
10984
|
createRenderEffect((_p$) => {
|
|
10973
10985
|
var _v$32 = clsx(css`
|
|
10974
10986
|
color: ${t2(colors.red[500], colors.red[400])};
|
|
10975
10987
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$33 = queryStatus() === "pending", _v$34 = css`
|
|
10976
10988
|
background-color: ${t2(colors.red[500], colors.red[400])};
|
|
10977
10989
|
`;
|
|
10978
|
-
_v$32 !== _p$.e && className(_el$
|
|
10979
|
-
_v$33 !== _p$.t && (_el$
|
|
10980
|
-
_v$34 !== _p$.a && className(_el$
|
|
10990
|
+
_v$32 !== _p$.e && className(_el$88, _p$.e = _v$32);
|
|
10991
|
+
_v$33 !== _p$.t && (_el$88.disabled = _p$.t = _v$33);
|
|
10992
|
+
_v$34 !== _p$.a && className(_el$89, _p$.a = _v$34);
|
|
10981
10993
|
return _p$;
|
|
10982
10994
|
}, {
|
|
10983
10995
|
e: void 0,
|
|
10984
10996
|
t: void 0,
|
|
10985
10997
|
a: void 0
|
|
10986
10998
|
});
|
|
10987
|
-
return _el$
|
|
10999
|
+
return _el$88;
|
|
10988
11000
|
}
|
|
10989
11001
|
}), null);
|
|
10990
|
-
insert(_el$
|
|
11002
|
+
insert(_el$76, createComponent(Show, {
|
|
10991
11003
|
get when() {
|
|
10992
11004
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
10993
11005
|
},
|
|
10994
11006
|
get children() {
|
|
10995
|
-
var _el$
|
|
10996
|
-
_el$
|
|
11007
|
+
var _el$91 = _tmpl$28(), _el$92 = _el$91.firstChild, _el$93 = _el$92.nextSibling, _el$94 = _el$93.nextSibling; _el$94.firstChild;
|
|
11008
|
+
_el$94.addEventListener("change", (e2) => {
|
|
10997
11009
|
const errorType = errorTypes().find((et) => et.name === e2.currentTarget.value);
|
|
10998
11010
|
triggerError(errorType);
|
|
10999
11011
|
});
|
|
11000
|
-
insert(_el$
|
|
11012
|
+
insert(_el$94, createComponent(For, {
|
|
11001
11013
|
get each() {
|
|
11002
11014
|
return errorTypes();
|
|
11003
11015
|
},
|
|
11004
11016
|
children: (errorType) => (() => {
|
|
11005
|
-
var _el$
|
|
11006
|
-
insert(_el$
|
|
11007
|
-
createRenderEffect(() => _el$
|
|
11008
|
-
return _el$
|
|
11017
|
+
var _el$108 = _tmpl$322();
|
|
11018
|
+
insert(_el$108, () => errorType.name);
|
|
11019
|
+
createRenderEffect(() => _el$108.value = errorType.name);
|
|
11020
|
+
return _el$108;
|
|
11009
11021
|
})()
|
|
11010
11022
|
}), null);
|
|
11011
|
-
insert(_el$
|
|
11023
|
+
insert(_el$91, createComponent(ChevronDown, {}), null);
|
|
11012
11024
|
createRenderEffect((_p$) => {
|
|
11013
11025
|
var _v$35 = clsx(styles().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$36 = css`
|
|
11014
11026
|
background-color: ${tokens.colors.red[400]};
|
|
11015
11027
|
`, _v$37 = queryStatus() === "pending";
|
|
11016
|
-
_v$35 !== _p$.e && className(_el$
|
|
11017
|
-
_v$36 !== _p$.t && className(_el$
|
|
11018
|
-
_v$37 !== _p$.a && (_el$
|
|
11028
|
+
_v$35 !== _p$.e && className(_el$91, _p$.e = _v$35);
|
|
11029
|
+
_v$36 !== _p$.t && className(_el$92, _p$.t = _v$36);
|
|
11030
|
+
_v$37 !== _p$.a && (_el$94.disabled = _p$.a = _v$37);
|
|
11019
11031
|
return _p$;
|
|
11020
11032
|
}, {
|
|
11021
11033
|
e: void 0,
|
|
11022
11034
|
t: void 0,
|
|
11023
11035
|
a: void 0
|
|
11024
11036
|
});
|
|
11025
|
-
return _el$
|
|
11037
|
+
return _el$91;
|
|
11026
11038
|
}
|
|
11027
11039
|
}), null);
|
|
11028
|
-
insert(_el$
|
|
11029
|
-
insert(_el$
|
|
11040
|
+
insert(_el$96, () => dataMode() === "view" ? "Explorer" : "Editor", null);
|
|
11041
|
+
insert(_el$62, createComponent(Show, {
|
|
11030
11042
|
get when() {
|
|
11031
11043
|
return dataMode() === "view";
|
|
11032
11044
|
},
|
|
11033
11045
|
get children() {
|
|
11034
|
-
var _el$
|
|
11035
|
-
insert(_el$
|
|
11046
|
+
var _el$98 = _tmpl$29();
|
|
11047
|
+
insert(_el$98, createComponent(Explorer, {
|
|
11036
11048
|
label: "Data",
|
|
11037
11049
|
defaultExpanded: ["Data"],
|
|
11038
11050
|
get value() {
|
|
@@ -11044,17 +11056,17 @@ var QueryDetails = () => {
|
|
|
11044
11056
|
return activeQuery();
|
|
11045
11057
|
}
|
|
11046
11058
|
}));
|
|
11047
|
-
createRenderEffect((_$p) => (_$p = tokens.size[2]) != null ? _el$
|
|
11048
|
-
return _el$
|
|
11059
|
+
createRenderEffect((_$p) => (_$p = tokens.size[2]) != null ? _el$98.style.setProperty("padding", _$p) : _el$98.style.removeProperty("padding"));
|
|
11060
|
+
return _el$98;
|
|
11049
11061
|
}
|
|
11050
|
-
}), _el$
|
|
11051
|
-
insert(_el$
|
|
11062
|
+
}), _el$106);
|
|
11063
|
+
insert(_el$62, createComponent(Show, {
|
|
11052
11064
|
get when() {
|
|
11053
11065
|
return dataMode() === "edit";
|
|
11054
11066
|
},
|
|
11055
11067
|
get children() {
|
|
11056
|
-
var _el$
|
|
11057
|
-
_el$
|
|
11068
|
+
var _el$99 = _tmpl$30(), _el$100 = _el$99.firstChild, _el$101 = _el$100.nextSibling, _el$102 = _el$101.firstChild, _el$103 = _el$102.nextSibling, _el$104 = _el$103.firstChild, _el$105 = _el$104.nextSibling;
|
|
11069
|
+
_el$99.addEventListener("submit", (e2) => {
|
|
11058
11070
|
e2.preventDefault();
|
|
11059
11071
|
const formData = new FormData(e2.currentTarget);
|
|
11060
11072
|
const data = formData.get("data");
|
|
@@ -11069,23 +11081,23 @@ var QueryDetails = () => {
|
|
|
11069
11081
|
setDataEditError(true);
|
|
11070
11082
|
}
|
|
11071
11083
|
});
|
|
11072
|
-
_el$
|
|
11073
|
-
insert(_el$
|
|
11074
|
-
_el$
|
|
11084
|
+
_el$100.addEventListener("focus", () => setDataEditError(false));
|
|
11085
|
+
insert(_el$102, () => dataEditError() ? "Invalid Value" : "");
|
|
11086
|
+
_el$104.$$click = () => setDataMode("view");
|
|
11075
11087
|
createRenderEffect((_p$) => {
|
|
11076
11088
|
var _v$38 = clsx(styles().devtoolsEditForm, "tsqd-query-details-data-editor"), _v$39 = styles().devtoolsEditTextarea, _v$40 = dataEditError(), _v$41 = styles().devtoolsEditFormActions, _v$42 = styles().devtoolsEditFormError, _v$43 = styles().devtoolsEditFormActionContainer, _v$44 = clsx(styles().devtoolsEditFormAction, css`
|
|
11077
11089
|
color: ${t2(colors.gray[600], colors.gray[300])};
|
|
11078
11090
|
`), _v$45 = clsx(styles().devtoolsEditFormAction, css`
|
|
11079
11091
|
color: ${t2(colors.blue[600], colors.blue[400])};
|
|
11080
11092
|
`);
|
|
11081
|
-
_v$38 !== _p$.e && className(_el$
|
|
11082
|
-
_v$39 !== _p$.t && className(_el$
|
|
11083
|
-
_v$40 !== _p$.a && setAttribute(_el$
|
|
11084
|
-
_v$41 !== _p$.o && className(_el$
|
|
11085
|
-
_v$42 !== _p$.i && className(_el$
|
|
11086
|
-
_v$43 !== _p$.n && className(_el$
|
|
11087
|
-
_v$44 !== _p$.s && className(_el$
|
|
11088
|
-
_v$45 !== _p$.h && className(_el$
|
|
11093
|
+
_v$38 !== _p$.e && className(_el$99, _p$.e = _v$38);
|
|
11094
|
+
_v$39 !== _p$.t && className(_el$100, _p$.t = _v$39);
|
|
11095
|
+
_v$40 !== _p$.a && setAttribute(_el$100, "data-error", _p$.a = _v$40);
|
|
11096
|
+
_v$41 !== _p$.o && className(_el$101, _p$.o = _v$41);
|
|
11097
|
+
_v$42 !== _p$.i && className(_el$102, _p$.i = _v$42);
|
|
11098
|
+
_v$43 !== _p$.n && className(_el$103, _p$.n = _v$43);
|
|
11099
|
+
_v$44 !== _p$.s && className(_el$104, _p$.s = _v$44);
|
|
11100
|
+
_v$45 !== _p$.h && className(_el$105, _p$.h = _v$45);
|
|
11089
11101
|
return _p$;
|
|
11090
11102
|
}, {
|
|
11091
11103
|
e: void 0,
|
|
@@ -11097,11 +11109,11 @@ var QueryDetails = () => {
|
|
|
11097
11109
|
s: void 0,
|
|
11098
11110
|
h: void 0
|
|
11099
11111
|
});
|
|
11100
|
-
createRenderEffect(() => _el$
|
|
11101
|
-
return _el$
|
|
11112
|
+
createRenderEffect(() => _el$100.value = JSON.stringify(activeQueryStateData(), null, 2));
|
|
11113
|
+
return _el$99;
|
|
11102
11114
|
}
|
|
11103
|
-
}), _el$
|
|
11104
|
-
insert(_el$
|
|
11115
|
+
}), _el$106);
|
|
11116
|
+
insert(_el$107, createComponent(Explorer, {
|
|
11105
11117
|
label: "Query",
|
|
11106
11118
|
defaultExpanded: ["Query", "queryKey"],
|
|
11107
11119
|
get value() {
|
|
@@ -11130,30 +11142,30 @@ var QueryDetails = () => {
|
|
|
11130
11142
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$65 = restoringLoading(), _v$66 = css`
|
|
11131
11143
|
background-color: ${t2(colors.cyan[500], colors.cyan[400])};
|
|
11132
11144
|
`, _v$67 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$68 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$69 = tokens.size[2];
|
|
11133
|
-
_v$46 !== _p$.e && className(_el$
|
|
11134
|
-
_v$47 !== _p$.t && className(_el$
|
|
11135
|
-
_v$48 !== _p$.a && className(_el$
|
|
11136
|
-
_v$49 !== _p$.o && className(_el$
|
|
11137
|
-
_v$50 !== _p$.i && className(_el$
|
|
11138
|
-
_v$51 !== _p$.n && className(_el$
|
|
11139
|
-
_v$52 !== _p$.s && className(_el$
|
|
11140
|
-
_v$53 !== _p$.h && (_el$
|
|
11141
|
-
_v$54 !== _p$.r && className(_el$
|
|
11142
|
-
_v$55 !== _p$.d && className(_el$
|
|
11143
|
-
_v$56 !== _p$.l && (_el$
|
|
11144
|
-
_v$57 !== _p$.u && className(_el$
|
|
11145
|
-
_v$58 !== _p$.c && className(_el$
|
|
11146
|
-
_v$59 !== _p$.w && (_el$
|
|
11147
|
-
_v$60 !== _p$.m && className(_el$
|
|
11148
|
-
_v$61 !== _p$.f && className(_el$
|
|
11149
|
-
_v$62 !== _p$.y && (_el$
|
|
11150
|
-
_v$63 !== _p$.g && className(_el$
|
|
11151
|
-
_v$64 !== _p$.p && className(_el$
|
|
11152
|
-
_v$65 !== _p$.b && (_el$
|
|
11153
|
-
_v$66 !== _p$.T && className(_el$
|
|
11154
|
-
_v$67 !== _p$.A && className(_el$
|
|
11155
|
-
_v$68 !== _p$.O && className(_el$
|
|
11156
|
-
_v$69 !== _p$.I && ((_p$.I = _v$69) != null ? _el$
|
|
11145
|
+
_v$46 !== _p$.e && className(_el$62, _p$.e = _v$46);
|
|
11146
|
+
_v$47 !== _p$.t && className(_el$63, _p$.t = _v$47);
|
|
11147
|
+
_v$48 !== _p$.a && className(_el$64, _p$.a = _v$48);
|
|
11148
|
+
_v$49 !== _p$.o && className(_el$68, _p$.o = _v$49);
|
|
11149
|
+
_v$50 !== _p$.i && className(_el$75, _p$.i = _v$50);
|
|
11150
|
+
_v$51 !== _p$.n && className(_el$76, _p$.n = _v$51);
|
|
11151
|
+
_v$52 !== _p$.s && className(_el$77, _p$.s = _v$52);
|
|
11152
|
+
_v$53 !== _p$.h && (_el$77.disabled = _p$.h = _v$53);
|
|
11153
|
+
_v$54 !== _p$.r && className(_el$78, _p$.r = _v$54);
|
|
11154
|
+
_v$55 !== _p$.d && className(_el$79, _p$.d = _v$55);
|
|
11155
|
+
_v$56 !== _p$.l && (_el$79.disabled = _p$.l = _v$56);
|
|
11156
|
+
_v$57 !== _p$.u && className(_el$80, _p$.u = _v$57);
|
|
11157
|
+
_v$58 !== _p$.c && className(_el$81, _p$.c = _v$58);
|
|
11158
|
+
_v$59 !== _p$.w && (_el$81.disabled = _p$.w = _v$59);
|
|
11159
|
+
_v$60 !== _p$.m && className(_el$82, _p$.m = _v$60);
|
|
11160
|
+
_v$61 !== _p$.f && className(_el$83, _p$.f = _v$61);
|
|
11161
|
+
_v$62 !== _p$.y && (_el$83.disabled = _p$.y = _v$62);
|
|
11162
|
+
_v$63 !== _p$.g && className(_el$84, _p$.g = _v$63);
|
|
11163
|
+
_v$64 !== _p$.p && className(_el$85, _p$.p = _v$64);
|
|
11164
|
+
_v$65 !== _p$.b && (_el$85.disabled = _p$.b = _v$65);
|
|
11165
|
+
_v$66 !== _p$.T && className(_el$86, _p$.T = _v$66);
|
|
11166
|
+
_v$67 !== _p$.A && className(_el$96, _p$.A = _v$67);
|
|
11167
|
+
_v$68 !== _p$.O && className(_el$106, _p$.O = _v$68);
|
|
11168
|
+
_v$69 !== _p$.I && ((_p$.I = _v$69) != null ? _el$107.style.setProperty("padding", _v$69) : _el$107.style.removeProperty("padding"));
|
|
11157
11169
|
return _p$;
|
|
11158
11170
|
}, {
|
|
11159
11171
|
e: void 0,
|
|
@@ -11181,7 +11193,7 @@ var QueryDetails = () => {
|
|
|
11181
11193
|
O: void 0,
|
|
11182
11194
|
I: void 0
|
|
11183
11195
|
});
|
|
11184
|
-
return _el$
|
|
11196
|
+
return _el$62;
|
|
11185
11197
|
}
|
|
11186
11198
|
});
|
|
11187
11199
|
};
|
|
@@ -11233,8 +11245,8 @@ var MutationDetails = () => {
|
|
|
11233
11245
|
return activeMutation();
|
|
11234
11246
|
},
|
|
11235
11247
|
get children() {
|
|
11236
|
-
var _el$
|
|
11237
|
-
insert(_el$
|
|
11248
|
+
var _el$109 = _tmpl$332(), _el$110 = _el$109.firstChild, _el$111 = _el$110.nextSibling, _el$112 = _el$111.firstChild, _el$113 = _el$112.firstChild, _el$114 = _el$113.firstChild, _el$115 = _el$113.nextSibling, _el$116 = _el$112.nextSibling, _el$117 = _el$116.firstChild, _el$118 = _el$117.nextSibling, _el$119 = _el$111.nextSibling, _el$120 = _el$119.nextSibling, _el$121 = _el$120.nextSibling, _el$122 = _el$121.nextSibling, _el$123 = _el$122.nextSibling, _el$124 = _el$123.nextSibling, _el$125 = _el$124.nextSibling, _el$126 = _el$125.nextSibling;
|
|
11249
|
+
insert(_el$114, createComponent(Show, {
|
|
11238
11250
|
get when() {
|
|
11239
11251
|
return activeMutation().options.mutationKey;
|
|
11240
11252
|
},
|
|
@@ -11243,13 +11255,13 @@ var MutationDetails = () => {
|
|
|
11243
11255
|
return displayValue(activeMutation().options.mutationKey, true);
|
|
11244
11256
|
}
|
|
11245
11257
|
}));
|
|
11246
|
-
insert(_el$
|
|
11258
|
+
insert(_el$115, createComponent(Show, {
|
|
11247
11259
|
get when() {
|
|
11248
11260
|
return color() === "purple";
|
|
11249
11261
|
},
|
|
11250
11262
|
children: "pending"
|
|
11251
11263
|
}), null);
|
|
11252
|
-
insert(_el$
|
|
11264
|
+
insert(_el$115, createComponent(Show, {
|
|
11253
11265
|
get when() {
|
|
11254
11266
|
return color() !== "purple";
|
|
11255
11267
|
},
|
|
@@ -11257,29 +11269,29 @@ var MutationDetails = () => {
|
|
|
11257
11269
|
return status();
|
|
11258
11270
|
}
|
|
11259
11271
|
}), null);
|
|
11260
|
-
insert(_el$
|
|
11261
|
-
insert(_el$
|
|
11272
|
+
insert(_el$118, () => new Date(activeMutation().state.submittedAt).toLocaleTimeString());
|
|
11273
|
+
insert(_el$120, createComponent(Explorer, {
|
|
11262
11274
|
label: "Variables",
|
|
11263
11275
|
defaultExpanded: ["Variables"],
|
|
11264
11276
|
get value() {
|
|
11265
11277
|
return activeMutation().state.variables;
|
|
11266
11278
|
}
|
|
11267
11279
|
}));
|
|
11268
|
-
insert(_el$
|
|
11280
|
+
insert(_el$122, createComponent(Explorer, {
|
|
11269
11281
|
label: "Context",
|
|
11270
11282
|
defaultExpanded: ["Context"],
|
|
11271
11283
|
get value() {
|
|
11272
11284
|
return activeMutation().state.context;
|
|
11273
11285
|
}
|
|
11274
11286
|
}));
|
|
11275
|
-
insert(_el$
|
|
11287
|
+
insert(_el$124, createComponent(Explorer, {
|
|
11276
11288
|
label: "Data",
|
|
11277
11289
|
defaultExpanded: ["Data"],
|
|
11278
11290
|
get value() {
|
|
11279
11291
|
return activeMutation().state.data;
|
|
11280
11292
|
}
|
|
11281
11293
|
}));
|
|
11282
|
-
insert(_el$
|
|
11294
|
+
insert(_el$126, createComponent(Explorer, {
|
|
11283
11295
|
label: "Mutation",
|
|
11284
11296
|
defaultExpanded: ["Mutation"],
|
|
11285
11297
|
get value() {
|
|
@@ -11288,18 +11300,18 @@ var MutationDetails = () => {
|
|
|
11288
11300
|
}));
|
|
11289
11301
|
createRenderEffect((_p$) => {
|
|
11290
11302
|
var _v$70 = clsx(styles().detailsContainer, "tsqd-query-details-container"), _v$71 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$72 = clsx(styles().detailsBody, "tsqd-query-details-summary-container"), _v$73 = clsx(styles().queryDetailsStatus, getQueryStatusColors()), _v$74 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$75 = tokens.size[2], _v$76 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$77 = tokens.size[2], _v$78 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$79 = tokens.size[2], _v$80 = clsx(styles().detailsHeader, "tsqd-query-details-header"), _v$81 = tokens.size[2];
|
|
11291
|
-
_v$70 !== _p$.e && className(_el$
|
|
11292
|
-
_v$71 !== _p$.t && className(_el$
|
|
11293
|
-
_v$72 !== _p$.a && className(_el$
|
|
11294
|
-
_v$73 !== _p$.o && className(_el$
|
|
11295
|
-
_v$74 !== _p$.i && className(_el$
|
|
11296
|
-
_v$75 !== _p$.n && ((_p$.n = _v$75) != null ? _el$
|
|
11297
|
-
_v$76 !== _p$.s && className(_el$
|
|
11298
|
-
_v$77 !== _p$.h && ((_p$.h = _v$77) != null ? _el$
|
|
11299
|
-
_v$78 !== _p$.r && className(_el$
|
|
11300
|
-
_v$79 !== _p$.d && ((_p$.d = _v$79) != null ? _el$
|
|
11301
|
-
_v$80 !== _p$.l && className(_el$
|
|
11302
|
-
_v$81 !== _p$.u && ((_p$.u = _v$81) != null ? _el$
|
|
11303
|
+
_v$70 !== _p$.e && className(_el$109, _p$.e = _v$70);
|
|
11304
|
+
_v$71 !== _p$.t && className(_el$110, _p$.t = _v$71);
|
|
11305
|
+
_v$72 !== _p$.a && className(_el$111, _p$.a = _v$72);
|
|
11306
|
+
_v$73 !== _p$.o && className(_el$115, _p$.o = _v$73);
|
|
11307
|
+
_v$74 !== _p$.i && className(_el$119, _p$.i = _v$74);
|
|
11308
|
+
_v$75 !== _p$.n && ((_p$.n = _v$75) != null ? _el$120.style.setProperty("padding", _v$75) : _el$120.style.removeProperty("padding"));
|
|
11309
|
+
_v$76 !== _p$.s && className(_el$121, _p$.s = _v$76);
|
|
11310
|
+
_v$77 !== _p$.h && ((_p$.h = _v$77) != null ? _el$122.style.setProperty("padding", _v$77) : _el$122.style.removeProperty("padding"));
|
|
11311
|
+
_v$78 !== _p$.r && className(_el$123, _p$.r = _v$78);
|
|
11312
|
+
_v$79 !== _p$.d && ((_p$.d = _v$79) != null ? _el$124.style.setProperty("padding", _v$79) : _el$124.style.removeProperty("padding"));
|
|
11313
|
+
_v$80 !== _p$.l && className(_el$125, _p$.l = _v$80);
|
|
11314
|
+
_v$81 !== _p$.u && ((_p$.u = _v$81) != null ? _el$126.style.setProperty("padding", _v$81) : _el$126.style.removeProperty("padding"));
|
|
11303
11315
|
return _p$;
|
|
11304
11316
|
}, {
|
|
11305
11317
|
e: void 0,
|
|
@@ -11315,7 +11327,7 @@ var MutationDetails = () => {
|
|
|
11315
11327
|
l: void 0,
|
|
11316
11328
|
u: void 0
|
|
11317
11329
|
});
|
|
11318
|
-
return _el$
|
|
11330
|
+
return _el$109;
|
|
11319
11331
|
}
|
|
11320
11332
|
});
|
|
11321
11333
|
};
|
|
@@ -12079,6 +12091,17 @@ var stylesFactory2 = (theme, css) => {
|
|
|
12079
12091
|
border-bottom: 1px solid ${t2(colors.gray[300], colors.darkGray[400])};
|
|
12080
12092
|
font-size: ${font.size.xs};
|
|
12081
12093
|
}
|
|
12094
|
+
|
|
12095
|
+
& .tsqd-query-static-indicator {
|
|
12096
|
+
align-self: stretch;
|
|
12097
|
+
display: flex;
|
|
12098
|
+
align-items: center;
|
|
12099
|
+
padding: 0 ${tokens.size[2]};
|
|
12100
|
+
color: ${t2(colors.teal[800], colors.teal[300])};
|
|
12101
|
+
background-color: ${t2(colors.teal[100], colors.teal[900])};
|
|
12102
|
+
border-bottom: 1px solid ${t2(colors.teal[300], colors.teal[700])};
|
|
12103
|
+
font-size: ${font.size.xs};
|
|
12104
|
+
}
|
|
12082
12105
|
`,
|
|
12083
12106
|
selectedQueryRow: css`
|
|
12084
12107
|
background-color: ${t2(colors.gray[200], colors.darkGray[500])};
|