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