@quickflo/quickview 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ObjectEntry-B_eqgKIo.js → ObjectEntry-rx7WTb4N.js} +2 -2
- package/dist/composables/useExpansionState.d.ts.map +1 -1
- package/dist/{index-Cp76mZdW.js → index-BbQuaWiL.js} +405 -397
- package/dist/quickview.css +1 -1
- package/dist/quickview.js +1 -1
- package/dist/quickview.umd.cjs +1 -1
- package/dist/renderers/smart/DateRenderer.vue.d.ts.map +1 -1
- package/dist/renderers/structures/ObjectEntry.vue.d.ts.map +1 -1
- package/dist/renderers/structures/ObjectRenderer.vue.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as s, markRaw as
|
|
1
|
+
import { computed as s, markRaw as Do, defineComponent as Te, h as v, withDirectives as zn, getCurrentInstance as ye, ref as N, reactive as La, onMounted as xt, watch as ie, onBeforeUpdate as Ho, inject as et, onBeforeUnmount as ze, nextTick as Ce, onDeactivated as sn, onActivated as El, Transition as Tt, onUnmounted as No, Teleport as za, unref as ja, createBlock as be, createElementBlock as Z, openBlock as L, resolveDynamicComponent as Fa, toDisplayString as re, normalizeClass as Pe, createVNode as D, createTextVNode as ce, createElementVNode as T, withModifiers as yt, withCtx as H, normalizeStyle as _t, defineAsyncComponent as un, createCommentVNode as ee, onBeforeMount as Pl, Fragment as Ze, renderList as bt, onUpdated as Ia, toRaw as It, shallowReactive as Da, vShow as Ha, provide as Gt, withKeys as bn, createSlots as Na } from "vue";
|
|
2
2
|
const gl = {
|
|
3
3
|
xs: 18,
|
|
4
4
|
sm: 24,
|
|
@@ -24,10 +24,10 @@ function $a(e, n) {
|
|
|
24
24
|
return e;
|
|
25
25
|
}
|
|
26
26
|
function _e(e) {
|
|
27
|
-
return
|
|
27
|
+
return Do(Te(e));
|
|
28
28
|
}
|
|
29
29
|
function $o(e) {
|
|
30
|
-
return
|
|
30
|
+
return Do(e);
|
|
31
31
|
}
|
|
32
32
|
function Ve(e, n) {
|
|
33
33
|
return e !== void 0 && e() || n;
|
|
@@ -220,9 +220,9 @@ const Xo = _e({
|
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
let al, yn = 0;
|
|
223
|
-
const
|
|
223
|
+
const De = new Array(256);
|
|
224
224
|
for (let e = 0; e < 256; e++)
|
|
225
|
-
|
|
225
|
+
De[e] = (e + 256).toString(16).substring(1);
|
|
226
226
|
const nr = (() => {
|
|
227
227
|
const e = typeof crypto < "u" ? crypto : typeof window < "u" ? window.crypto || window.msCrypto : void 0;
|
|
228
228
|
if (e !== void 0) {
|
|
@@ -244,7 +244,7 @@ const nr = (() => {
|
|
|
244
244
|
function En() {
|
|
245
245
|
(al === void 0 || yn + 16 > Zl) && (yn = 0, al = nr(Zl));
|
|
246
246
|
const e = Array.prototype.slice.call(al, yn, yn += 16);
|
|
247
|
-
return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128,
|
|
247
|
+
return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, De[e[0]] + De[e[1]] + De[e[2]] + De[e[3]] + "-" + De[e[4]] + De[e[5]] + "-" + De[e[6]] + De[e[7]] + "-" + De[e[8]] + De[e[9]] + "-" + De[e[10]] + De[e[11]] + De[e[12]] + De[e[13]] + De[e[14]] + De[e[15]];
|
|
248
248
|
}
|
|
249
249
|
const nn = N(
|
|
250
250
|
!1
|
|
@@ -385,20 +385,20 @@ function sr() {
|
|
|
385
385
|
no.test(a) === !0 && (i[a] = n.props[a]);
|
|
386
386
|
l.attributes.value = o, l.listeners.value = i;
|
|
387
387
|
}
|
|
388
|
-
return
|
|
388
|
+
return Ho(t), t(), l;
|
|
389
389
|
}
|
|
390
|
-
const
|
|
390
|
+
const tt = {
|
|
391
391
|
dark: {
|
|
392
392
|
type: Boolean,
|
|
393
393
|
default: null
|
|
394
394
|
}
|
|
395
395
|
};
|
|
396
|
-
function
|
|
396
|
+
function nt(e, n) {
|
|
397
397
|
return s(() => e.dark === null ? n.dark.isActive : e.dark);
|
|
398
398
|
}
|
|
399
399
|
const ur = "_q_", cr = "_q_fo_";
|
|
400
400
|
function dr({ validate: e, resetValidation: n, requiresQForm: l }) {
|
|
401
|
-
const t =
|
|
401
|
+
const t = et(cr, !1);
|
|
402
402
|
if (t !== !1) {
|
|
403
403
|
const { props: o, proxy: i } = ye();
|
|
404
404
|
Object.assign(i, { validate: e, resetValidation: n }), ie(() => o.disable, (a) => {
|
|
@@ -566,7 +566,7 @@ function gr(e) {
|
|
|
566
566
|
function ft(e) {
|
|
567
567
|
e.stopPropagation();
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function st(e) {
|
|
570
570
|
e.cancelable !== !1 && e.preventDefault();
|
|
571
571
|
}
|
|
572
572
|
function Me(e) {
|
|
@@ -604,7 +604,7 @@ function an(e) {
|
|
|
604
604
|
return e != null && ("" + e).length !== 0;
|
|
605
605
|
}
|
|
606
606
|
const _r = {
|
|
607
|
-
...
|
|
607
|
+
...tt,
|
|
608
608
|
...vr,
|
|
609
609
|
label: String,
|
|
610
610
|
stackLabel: Boolean,
|
|
@@ -639,7 +639,7 @@ const _r = {
|
|
|
639
639
|
maxlength: [Number, String]
|
|
640
640
|
}, Tl = ["update:modelValue", "clear", "focus", "blur"];
|
|
641
641
|
function Bl({ requiredForAttr: e = !0, tagProp: n, changeEvent: l = !1 } = {}) {
|
|
642
|
-
const { props: t, proxy: o } = ye(), i =
|
|
642
|
+
const { props: t, proxy: o } = ye(), i = nt(t, o.$q), a = Yo({
|
|
643
643
|
required: e,
|
|
644
644
|
getValue: () => t.for
|
|
645
645
|
});
|
|
@@ -761,7 +761,7 @@ function Ol(e) {
|
|
|
761
761
|
v("div", {
|
|
762
762
|
class: "q-field__prepend q-field__marginal row no-wrap items-center",
|
|
763
763
|
key: "prepend",
|
|
764
|
-
onClick:
|
|
764
|
+
onClick: st
|
|
765
765
|
}, t.prepend())
|
|
766
766
|
), E.push(
|
|
767
767
|
v("div", {
|
|
@@ -793,7 +793,7 @@ function Ol(e) {
|
|
|
793
793
|
v("div", {
|
|
794
794
|
class: "q-field__append q-field__marginal row no-wrap items-center",
|
|
795
795
|
key: "append",
|
|
796
|
-
onClick:
|
|
796
|
+
onClick: st
|
|
797
797
|
}, t.append())
|
|
798
798
|
), e.getInnerAppend !== void 0 && E.push(
|
|
799
799
|
ae("inner-append", e.getInnerAppend())
|
|
@@ -838,7 +838,7 @@ function Ol(e) {
|
|
|
838
838
|
}, E);
|
|
839
839
|
return v("div", {
|
|
840
840
|
class: "q-field__bottom row items-start q-field__bottom--" + (n.hideBottomSpace !== !0 ? "animated" : "stale"),
|
|
841
|
-
onClick:
|
|
841
|
+
onClick: st
|
|
842
842
|
}, [
|
|
843
843
|
n.hideBottomSpace === !0 ? f : v(Tt, { name: "q-transition--field-message" }, () => f),
|
|
844
844
|
oe === !0 ? v("div", {
|
|
@@ -878,7 +878,7 @@ function Ol(e) {
|
|
|
878
878
|
}, [
|
|
879
879
|
t.before !== void 0 ? v("div", {
|
|
880
880
|
class: "q-field__before q-field__marginal row no-wrap items-center",
|
|
881
|
-
onClick:
|
|
881
|
+
onClick: st
|
|
882
882
|
}, t.before()) : null,
|
|
883
883
|
v("div", {
|
|
884
884
|
class: "q-field__inner relative-position col self-stretch"
|
|
@@ -893,7 +893,7 @@ function Ol(e) {
|
|
|
893
893
|
]),
|
|
894
894
|
t.after !== void 0 ? v("div", {
|
|
895
895
|
class: "q-field__after q-field__marginal row no-wrap items-center",
|
|
896
|
-
onClick:
|
|
896
|
+
onClick: st
|
|
897
897
|
}, t.after()) : null
|
|
898
898
|
]);
|
|
899
899
|
};
|
|
@@ -1475,11 +1475,11 @@ function ra({
|
|
|
1475
1475
|
pt(h, 13) === !0 && d.toggle(h);
|
|
1476
1476
|
},
|
|
1477
1477
|
contextClick(h) {
|
|
1478
|
-
o.hide(h),
|
|
1478
|
+
o.hide(h), st(h), Ce(() => {
|
|
1479
1479
|
o.show(h), h.qAnchorHandled = !0;
|
|
1480
1480
|
});
|
|
1481
1481
|
},
|
|
1482
|
-
prevent:
|
|
1482
|
+
prevent: st,
|
|
1483
1483
|
mobileTouch(h) {
|
|
1484
1484
|
if (d.mobileCleanup(h), c(h) !== !0) return;
|
|
1485
1485
|
o.hide(h), a.value.classList.add("non-selectable");
|
|
@@ -1584,13 +1584,13 @@ function Al(e) {
|
|
|
1584
1584
|
function sa(e) {
|
|
1585
1585
|
return e.isUnmounted === !0 || e.isDeactivated === !0;
|
|
1586
1586
|
}
|
|
1587
|
-
const
|
|
1587
|
+
const Dn = {
|
|
1588
1588
|
modelValue: {
|
|
1589
1589
|
type: Boolean,
|
|
1590
1590
|
default: null
|
|
1591
1591
|
},
|
|
1592
1592
|
"onUpdate:modelValue": [Function, Array]
|
|
1593
|
-
},
|
|
1593
|
+
}, Hn = [
|
|
1594
1594
|
"beforeShow",
|
|
1595
1595
|
"show",
|
|
1596
1596
|
"beforeHide",
|
|
@@ -1821,7 +1821,7 @@ function ca(e, n) {
|
|
|
1821
1821
|
return !1;
|
|
1822
1822
|
}
|
|
1823
1823
|
const Il = [Element, String], Ir = [null, document, document.body, document.scrollingElement, document.documentElement];
|
|
1824
|
-
function
|
|
1824
|
+
function Dl(e, n) {
|
|
1825
1825
|
let l = Fr(n);
|
|
1826
1826
|
if (l === void 0) {
|
|
1827
1827
|
if (e == null)
|
|
@@ -1830,10 +1830,10 @@ function Hl(e, n) {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
return Ir.includes(l) ? window : l;
|
|
1832
1832
|
}
|
|
1833
|
-
function
|
|
1833
|
+
function Dr(e) {
|
|
1834
1834
|
return e === window ? window.pageYOffset || window.scrollY || document.body.scrollTop || 0 : e.scrollTop;
|
|
1835
1835
|
}
|
|
1836
|
-
function
|
|
1836
|
+
function Hr(e) {
|
|
1837
1837
|
return e === window ? window.pageXOffset || window.scrollX || document.body.scrollLeft || 0 : e.scrollLeft;
|
|
1838
1838
|
}
|
|
1839
1839
|
let xn;
|
|
@@ -1958,11 +1958,11 @@ function ho(e, n, l, t) {
|
|
|
1958
1958
|
left: e[l.horizontal] - n[t.horizontal]
|
|
1959
1959
|
};
|
|
1960
1960
|
}
|
|
1961
|
-
function
|
|
1961
|
+
function Hl(e, n = 0) {
|
|
1962
1962
|
if (e.targetEl === null || e.anchorEl === null || n > 5) return;
|
|
1963
1963
|
if (e.targetEl.offsetHeight === 0 || e.targetEl.offsetWidth === 0) {
|
|
1964
1964
|
setTimeout(() => {
|
|
1965
|
-
|
|
1965
|
+
Hl(e, n + 1);
|
|
1966
1966
|
}, 10);
|
|
1967
1967
|
return;
|
|
1968
1968
|
}
|
|
@@ -2056,7 +2056,7 @@ const pe = _e({
|
|
|
2056
2056
|
inheritAttrs: !1,
|
|
2057
2057
|
props: {
|
|
2058
2058
|
...aa,
|
|
2059
|
-
...
|
|
2059
|
+
...Dn,
|
|
2060
2060
|
...tn,
|
|
2061
2061
|
maxHeight: {
|
|
2062
2062
|
type: String,
|
|
@@ -2101,7 +2101,7 @@ const pe = _e({
|
|
|
2101
2101
|
persistent: Boolean
|
|
2102
2102
|
},
|
|
2103
2103
|
emits: [
|
|
2104
|
-
...
|
|
2104
|
+
...Hn
|
|
2105
2105
|
],
|
|
2106
2106
|
setup(e, { slots: n, emit: l, attrs: t }) {
|
|
2107
2107
|
let o, i;
|
|
@@ -2154,7 +2154,7 @@ const pe = _e({
|
|
|
2154
2154
|
i !== void 0 && (i.disconnect(), i = void 0), o !== void 0 && (o(), o = void 0), A(), Pn(K, "tooltipTemp");
|
|
2155
2155
|
}
|
|
2156
2156
|
function ae() {
|
|
2157
|
-
|
|
2157
|
+
Hl({
|
|
2158
2158
|
targetEl: c.value,
|
|
2159
2159
|
offset: e.offset,
|
|
2160
2160
|
anchorEl: j.value,
|
|
@@ -2193,7 +2193,7 @@ const pe = _e({
|
|
|
2193
2193
|
}
|
|
2194
2194
|
function oe() {
|
|
2195
2195
|
if (j.value !== null || e.scrollTarget !== void 0) {
|
|
2196
|
-
B.value =
|
|
2196
|
+
B.value = Dl(j.value, e.scrollTarget);
|
|
2197
2197
|
const z = e.noParentEvent === !0 ? ae : Q;
|
|
2198
2198
|
V(B.value, z);
|
|
2199
2199
|
}
|
|
@@ -2561,8 +2561,8 @@ function si(e) {
|
|
|
2561
2561
|
isActionable: u
|
|
2562
2562
|
};
|
|
2563
2563
|
}
|
|
2564
|
-
const { passiveCapture:
|
|
2565
|
-
let
|
|
2564
|
+
const { passiveCapture: Je } = Ne;
|
|
2565
|
+
let Dt = null, Ht = null, Nt = null;
|
|
2566
2566
|
const ve = _e({
|
|
2567
2567
|
name: "QBtn",
|
|
2568
2568
|
props: {
|
|
@@ -2632,31 +2632,31 @@ const ve = _e({
|
|
|
2632
2632
|
if (e.type === "submit" && W !== document.body && b.value.contains(W) === !1 && W.contains(b.value) === !1) {
|
|
2633
2633
|
P.qAvoidFocus !== !0 && b.value.focus();
|
|
2634
2634
|
const ae = () => {
|
|
2635
|
-
document.removeEventListener("keydown", Me, !0), document.removeEventListener("keyup", ae,
|
|
2635
|
+
document.removeEventListener("keydown", Me, !0), document.removeEventListener("keyup", ae, Je), b.value?.removeEventListener("blur", ae, Je);
|
|
2636
2636
|
};
|
|
2637
|
-
document.addEventListener("keydown", Me, !0), document.addEventListener("keyup", ae,
|
|
2637
|
+
document.addEventListener("keydown", Me, !0), document.addEventListener("keyup", ae, Je), b.value.addEventListener("blur", ae, Je);
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
2640
|
u(P);
|
|
2641
2641
|
}
|
|
2642
2642
|
}
|
|
2643
2643
|
function Y(P) {
|
|
2644
|
-
b.value !== null && (l("keydown", P), pt(P, [13, 32]) === !0 &&
|
|
2644
|
+
b.value !== null && (l("keydown", P), pt(P, [13, 32]) === !0 && Ht !== b.value && (Ht !== null && R(), P.defaultPrevented !== !0 && (P.qAvoidFocus !== !0 && b.value.focus(), Ht = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("keyup", w, !0), b.value.addEventListener("blur", w, Je)), Me(P)));
|
|
2645
2645
|
}
|
|
2646
2646
|
function Q(P) {
|
|
2647
|
-
b.value !== null && (l("touchstart", P), P.defaultPrevented !== !0 && (
|
|
2647
|
+
b.value !== null && (l("touchstart", P), P.defaultPrevented !== !0 && (Dt !== b.value && (Dt !== null && R(), Dt = b.value, p = P.target, p.addEventListener("touchcancel", w, Je), p.addEventListener("touchend", w, Je)), x = !0, y !== null && clearTimeout(y), y = setTimeout(() => {
|
|
2648
2648
|
y = null, x = !1;
|
|
2649
2649
|
}, 200)));
|
|
2650
2650
|
}
|
|
2651
2651
|
function q(P) {
|
|
2652
|
-
b.value !== null && (P.qSkipRipple = x === !0, l("mousedown", P), P.defaultPrevented !== !0 && Nt !== b.value && (Nt !== null && R(), Nt = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("mouseup", w,
|
|
2652
|
+
b.value !== null && (P.qSkipRipple = x === !0, l("mousedown", P), P.defaultPrevented !== !0 && Nt !== b.value && (Nt !== null && R(), Nt = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("mouseup", w, Je)));
|
|
2653
2653
|
}
|
|
2654
2654
|
function w(P) {
|
|
2655
2655
|
if (b.value !== null && !(P?.type === "blur" && document.activeElement === b.value)) {
|
|
2656
2656
|
if (P?.type === "keyup") {
|
|
2657
|
-
if (
|
|
2657
|
+
if (Ht === b.value && pt(P, [13, 32]) === !0) {
|
|
2658
2658
|
const W = new MouseEvent("click", P);
|
|
2659
|
-
W.qKeyEvent = !0, P.defaultPrevented === !0 &&
|
|
2659
|
+
W.qKeyEvent = !0, P.defaultPrevented === !0 && st(W), P.cancelBubble === !0 && ft(W), b.value.dispatchEvent(W), Me(P), P.qKeyEvent = !0;
|
|
2660
2660
|
}
|
|
2661
2661
|
l("keyup", P);
|
|
2662
2662
|
}
|
|
@@ -2665,7 +2665,7 @@ const ve = _e({
|
|
|
2665
2665
|
}
|
|
2666
2666
|
function R(P) {
|
|
2667
2667
|
const W = h.value;
|
|
2668
|
-
P !== !0 && (
|
|
2668
|
+
P !== !0 && (Dt === b.value || Nt === b.value) && W !== null && W !== document.activeElement && (W.setAttribute("tabindex", -1), W.focus()), Dt === b.value && (p !== null && (p.removeEventListener("touchcancel", w, Je), p.removeEventListener("touchend", w, Je)), Dt = p = null), Nt === b.value && (document.removeEventListener("mouseup", w, Je), Nt = null), Ht === b.value && (document.removeEventListener("keyup", w, !0), b.value?.removeEventListener("blur", w, Je), Ht = null), b.value?.classList.remove("q-btn--active");
|
|
2669
2669
|
}
|
|
2670
2670
|
function O(P) {
|
|
2671
2671
|
Me(P), P.qSkipRipple = !0;
|
|
@@ -2750,7 +2750,7 @@ const ve = _e({
|
|
|
2750
2750
|
},
|
|
2751
2751
|
setup(e, { expose: n }) {
|
|
2752
2752
|
n();
|
|
2753
|
-
const l = e, t =
|
|
2753
|
+
const l = e, t = et("quickview-registry"), o = s(() => ({
|
|
2754
2754
|
value: l.value,
|
|
2755
2755
|
path: l.path,
|
|
2756
2756
|
keyName: l.keyName,
|
|
@@ -2916,10 +2916,10 @@ const Fi = /* @__PURE__ */ Te({
|
|
|
2916
2916
|
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
2917
2917
|
}
|
|
2918
2918
|
}), Ii = { class: "qv-null" };
|
|
2919
|
-
function
|
|
2919
|
+
function Di(e, n, l, t, o, i) {
|
|
2920
2920
|
return L(), Z("span", Ii, "null");
|
|
2921
2921
|
}
|
|
2922
|
-
const
|
|
2922
|
+
const Hi = /* @__PURE__ */ Ae(Fi, [["render", Di], ["__scopeId", "data-v-9d11bc73"], ["__file", "/Users/zachsherbondy/src/github.com/quickview/renderers/primitives/NullRenderer.vue"]]), Ni = /* @__PURE__ */ Te({
|
|
2923
2923
|
__name: "UndefinedRenderer",
|
|
2924
2924
|
props: {
|
|
2925
2925
|
context: { type: Object, required: !0 }
|
|
@@ -2951,7 +2951,7 @@ function Qi(e, n, l, t, o, i) {
|
|
|
2951
2951
|
class: Pe(["qv-boolean", { "is-true": l.context.value === !0 }])
|
|
2952
2952
|
},
|
|
2953
2953
|
[
|
|
2954
|
-
|
|
2954
|
+
D(me, {
|
|
2955
2955
|
name: l.context.value ? "check_circle" : "cancel",
|
|
2956
2956
|
color: l.context.value ? "positive" : "grey-5",
|
|
2957
2957
|
size: "14px",
|
|
@@ -3047,7 +3047,7 @@ const os = /* @__PURE__ */ Ae(es, [["render", ls], ["__scopeId", "data-v-ca8a8ca
|
|
|
3047
3047
|
}), rs = { class: "qv-url" }, is = ["href"];
|
|
3048
3048
|
function ss(e, n, l, t, o, i) {
|
|
3049
3049
|
return L(), Z("span", rs, [
|
|
3050
|
-
|
|
3050
|
+
D(me, {
|
|
3051
3051
|
name: "link",
|
|
3052
3052
|
size: "14px",
|
|
3053
3053
|
class: "url-icon"
|
|
@@ -3060,7 +3060,7 @@ function ss(e, n, l, t, o, i) {
|
|
|
3060
3060
|
onClick: n[0] || (n[0] = yt(() => {
|
|
3061
3061
|
}, ["stop"]))
|
|
3062
3062
|
}, re(t.displayUrl), 9, is),
|
|
3063
|
-
|
|
3063
|
+
D(ve, {
|
|
3064
3064
|
flat: "",
|
|
3065
3065
|
dense: "",
|
|
3066
3066
|
round: "",
|
|
@@ -3069,9 +3069,9 @@ function ss(e, n, l, t, o, i) {
|
|
|
3069
3069
|
class: "open-btn",
|
|
3070
3070
|
onClick: yt(t.openUrl, ["stop"])
|
|
3071
3071
|
}, {
|
|
3072
|
-
default:
|
|
3073
|
-
|
|
3074
|
-
default:
|
|
3072
|
+
default: H(() => [
|
|
3073
|
+
D(pe, null, {
|
|
3074
|
+
default: H(() => [...n[1] || (n[1] = [
|
|
3075
3075
|
ce(
|
|
3076
3076
|
"Open in new tab",
|
|
3077
3077
|
-1
|
|
@@ -3100,7 +3100,7 @@ const us = /* @__PURE__ */ Ae(as, [["render", ss], ["__scopeId", "data-v-c8a4b9a
|
|
|
3100
3100
|
}), ds = { class: "qv-email" }, fs = ["href"];
|
|
3101
3101
|
function vs(e, n, l, t, o, i) {
|
|
3102
3102
|
return L(), Z("span", ds, [
|
|
3103
|
-
|
|
3103
|
+
D(me, {
|
|
3104
3104
|
name: "email",
|
|
3105
3105
|
size: "14px",
|
|
3106
3106
|
class: "email-icon"
|
|
@@ -3142,7 +3142,7 @@ async function Kn(e) {
|
|
|
3142
3142
|
return !1;
|
|
3143
3143
|
}
|
|
3144
3144
|
}
|
|
3145
|
-
function
|
|
3145
|
+
function Ge(e, n) {
|
|
3146
3146
|
return e === "" ? typeof n == "number" ? `[${n}]` : n : typeof n == "number" ? `${e}[${n}]` : /[^a-zA-Z0-9_$]/.test(n) ? `${e}["${n}"]` : `${e}.${n}`;
|
|
3147
3147
|
}
|
|
3148
3148
|
function Lf(e, n) {
|
|
@@ -3197,15 +3197,23 @@ const ps = /* @__PURE__ */ Te({
|
|
|
3197
3197
|
setup(e, { expose: n }) {
|
|
3198
3198
|
n();
|
|
3199
3199
|
const l = e, t = s(() => {
|
|
3200
|
-
const
|
|
3201
|
-
return
|
|
3202
|
-
}), o = s(() =>
|
|
3203
|
-
|
|
3200
|
+
const c = l.context.value;
|
|
3201
|
+
return typeof c == "string" && /^\d{4}-\d{2}-\d{2}$/.test(c);
|
|
3202
|
+
}), o = s(() => {
|
|
3203
|
+
const c = l.context.value;
|
|
3204
|
+
if (c instanceof Date) return c;
|
|
3205
|
+
if (t.value) {
|
|
3206
|
+
const [d, u, g] = c.split("-").map(Number);
|
|
3207
|
+
return new Date(d, u - 1, g);
|
|
3208
|
+
}
|
|
3209
|
+
return new Date(c);
|
|
3210
|
+
}), i = s(() => t.value ? o.value.toLocaleDateString() : gs(o.value)), a = s(() => bs(o.value)), r = { props: l, isDateOnly: t, dateValue: o, formattedDate: i, relativeTime: a };
|
|
3211
|
+
return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
|
|
3204
3212
|
}
|
|
3205
3213
|
}), xs = { class: "qv-date" }, ws = { class: "date-formatted" }, Ss = { class: "date-relative" };
|
|
3206
3214
|
function ks(e, n, l, t, o, i) {
|
|
3207
3215
|
return L(), Z("span", xs, [
|
|
3208
|
-
|
|
3216
|
+
D(me, {
|
|
3209
3217
|
name: "schedule",
|
|
3210
3218
|
size: "14px",
|
|
3211
3219
|
class: "date-icon"
|
|
@@ -3260,7 +3268,7 @@ function Es(e, n, l, t, o, i) {
|
|
|
3260
3268
|
}
|
|
3261
3269
|
const Ps = /* @__PURE__ */ Ae(qs, [["render", Es], ["__scopeId", "data-v-df679191"], ["__file", "/Users/zachsherbondy/src/github.com/quickview/renderers/smart/ColorRenderer.vue"]]);
|
|
3262
3270
|
function $l() {
|
|
3263
|
-
return
|
|
3271
|
+
return et(ur);
|
|
3264
3272
|
}
|
|
3265
3273
|
const Vs = /* @__PURE__ */ Te({
|
|
3266
3274
|
__name: "LongStringRenderer",
|
|
@@ -3280,7 +3288,7 @@ const Vs = /* @__PURE__ */ Te({
|
|
|
3280
3288
|
function Ms(e, n, l, t, o, i) {
|
|
3281
3289
|
return L(), Z("div", Ts, [
|
|
3282
3290
|
T("div", Bs, [
|
|
3283
|
-
|
|
3291
|
+
D(me, {
|
|
3284
3292
|
name: "text_snippet",
|
|
3285
3293
|
size: "14px"
|
|
3286
3294
|
}),
|
|
@@ -3291,14 +3299,14 @@ function Ms(e, n, l, t, o, i) {
|
|
|
3291
3299
|
1
|
|
3292
3300
|
/* TEXT */
|
|
3293
3301
|
),
|
|
3294
|
-
|
|
3302
|
+
D(ve, {
|
|
3295
3303
|
flat: "",
|
|
3296
3304
|
dense: "",
|
|
3297
3305
|
size: "xs",
|
|
3298
3306
|
icon: t.expanded ? "expand_less" : "expand_more",
|
|
3299
3307
|
onClick: n[0] || (n[0] = (a) => t.expanded = !t.expanded)
|
|
3300
3308
|
}, {
|
|
3301
|
-
default:
|
|
3309
|
+
default: H(() => [
|
|
3302
3310
|
ce(
|
|
3303
3311
|
re(t.expanded ? "Collapse" : "Expand"),
|
|
3304
3312
|
1
|
|
@@ -3308,16 +3316,16 @@ function Ms(e, n, l, t, o, i) {
|
|
|
3308
3316
|
_: 1
|
|
3309
3317
|
/* STABLE */
|
|
3310
3318
|
}, 8, ["icon"]),
|
|
3311
|
-
|
|
3319
|
+
D(ve, {
|
|
3312
3320
|
flat: "",
|
|
3313
3321
|
dense: "",
|
|
3314
3322
|
size: "xs",
|
|
3315
3323
|
icon: "content_copy",
|
|
3316
3324
|
onClick: t.copyValue
|
|
3317
3325
|
}, {
|
|
3318
|
-
default:
|
|
3319
|
-
|
|
3320
|
-
default:
|
|
3326
|
+
default: H(() => [
|
|
3327
|
+
D(pe, null, {
|
|
3328
|
+
default: H(() => [...n[1] || (n[1] = [
|
|
3321
3329
|
ce(
|
|
3322
3330
|
"Copy full text",
|
|
3323
3331
|
-1
|
|
@@ -3407,7 +3415,7 @@ const As = /* @__PURE__ */ Ae(Vs, [["render", Ms], ["__scopeId", "data-v-06922b6
|
|
|
3407
3415
|
const b = { props: l, $q: t, showDecoded: o, base64Value: i, size: a, truncatedValue: r, decodedValue: c, isImage: d, dataUrl: u, copyValue: g };
|
|
3408
3416
|
return Object.defineProperty(b, "__isScriptSetup", { enumerable: !1, value: !0 }), b;
|
|
3409
3417
|
}
|
|
3410
|
-
}), zs = { class: "qv-base64" }, js = { class: "base64-header" }, Fs = { class: "base64-size" }, Is = { class: "base64-content" },
|
|
3418
|
+
}), zs = { class: "qv-base64" }, js = { class: "base64-header" }, Fs = { class: "base64-size" }, Is = { class: "base64-content" }, Ds = ["src"], Hs = {
|
|
3411
3419
|
key: 1,
|
|
3412
3420
|
class: "decoded-text"
|
|
3413
3421
|
}, Ns = {
|
|
@@ -3417,7 +3425,7 @@ const As = /* @__PURE__ */ Ae(Vs, [["render", Ms], ["__scopeId", "data-v-06922b6
|
|
|
3417
3425
|
function $s(e, n, l, t, o, i) {
|
|
3418
3426
|
return L(), Z("div", zs, [
|
|
3419
3427
|
T("div", js, [
|
|
3420
|
-
|
|
3428
|
+
D(me, {
|
|
3421
3429
|
name: "code",
|
|
3422
3430
|
size: "14px"
|
|
3423
3431
|
}),
|
|
@@ -3435,18 +3443,18 @@ function $s(e, n, l, t, o, i) {
|
|
|
3435
3443
|
1
|
|
3436
3444
|
/* TEXT */
|
|
3437
3445
|
),
|
|
3438
|
-
|
|
3439
|
-
default:
|
|
3440
|
-
|
|
3446
|
+
D(Ul, { flat: "" }, {
|
|
3447
|
+
default: H(() => [
|
|
3448
|
+
D(ve, {
|
|
3441
3449
|
flat: "",
|
|
3442
3450
|
dense: "",
|
|
3443
3451
|
size: "xs",
|
|
3444
3452
|
icon: "visibility",
|
|
3445
3453
|
onClick: n[0] || (n[0] = (a) => t.showDecoded = !t.showDecoded)
|
|
3446
3454
|
}, {
|
|
3447
|
-
default:
|
|
3448
|
-
|
|
3449
|
-
default:
|
|
3455
|
+
default: H(() => [
|
|
3456
|
+
D(pe, null, {
|
|
3457
|
+
default: H(() => [
|
|
3450
3458
|
ce(
|
|
3451
3459
|
re(t.showDecoded ? "Show encoded" : "Decode"),
|
|
3452
3460
|
1
|
|
@@ -3460,16 +3468,16 @@ function $s(e, n, l, t, o, i) {
|
|
|
3460
3468
|
_: 1
|
|
3461
3469
|
/* STABLE */
|
|
3462
3470
|
}),
|
|
3463
|
-
|
|
3471
|
+
D(ve, {
|
|
3464
3472
|
flat: "",
|
|
3465
3473
|
dense: "",
|
|
3466
3474
|
size: "xs",
|
|
3467
3475
|
icon: "content_copy",
|
|
3468
3476
|
onClick: t.copyValue
|
|
3469
3477
|
}, {
|
|
3470
|
-
default:
|
|
3471
|
-
|
|
3472
|
-
default:
|
|
3478
|
+
default: H(() => [
|
|
3479
|
+
D(pe, null, {
|
|
3480
|
+
default: H(() => [...n[1] || (n[1] = [
|
|
3473
3481
|
ce(
|
|
3474
3482
|
"Copy",
|
|
3475
3483
|
-1
|
|
@@ -3494,9 +3502,9 @@ function $s(e, n, l, t, o, i) {
|
|
|
3494
3502
|
src: t.dataUrl,
|
|
3495
3503
|
alt: "Decoded image",
|
|
3496
3504
|
class: "decoded-image"
|
|
3497
|
-
}, null, 8,
|
|
3505
|
+
}, null, 8, Ds)) : t.showDecoded ? (L(), Z(
|
|
3498
3506
|
"pre",
|
|
3499
|
-
|
|
3507
|
+
Hs,
|
|
3500
3508
|
re(t.decodedValue),
|
|
3501
3509
|
1
|
|
3502
3510
|
/* TEXT */
|
|
@@ -3536,7 +3544,7 @@ const Us = /* @__PURE__ */ Ae(Ls, [["render", $s], ["__scopeId", "data-v-01a0d3e
|
|
|
3536
3544
|
function Ys(e, n, l, t, o, i) {
|
|
3537
3545
|
return L(), Z("div", Ks, [
|
|
3538
3546
|
T("div", Qs, [
|
|
3539
|
-
|
|
3547
|
+
D(me, {
|
|
3540
3548
|
name: "data_object",
|
|
3541
3549
|
size: "14px"
|
|
3542
3550
|
}),
|
|
@@ -3547,14 +3555,14 @@ function Ys(e, n, l, t, o, i) {
|
|
|
3547
3555
|
-1
|
|
3548
3556
|
/* CACHED */
|
|
3549
3557
|
)),
|
|
3550
|
-
|
|
3558
|
+
D(ve, {
|
|
3551
3559
|
flat: "",
|
|
3552
3560
|
dense: "",
|
|
3553
3561
|
size: "xs",
|
|
3554
3562
|
icon: t.expanded ? "expand_less" : "expand_more",
|
|
3555
3563
|
onClick: n[0] || (n[0] = (a) => t.expanded = !t.expanded)
|
|
3556
3564
|
}, {
|
|
3557
|
-
default:
|
|
3565
|
+
default: H(() => [
|
|
3558
3566
|
ce(
|
|
3559
3567
|
re(t.expanded ? "Collapse" : "Expand"),
|
|
3560
3568
|
1
|
|
@@ -3566,7 +3574,7 @@ function Ys(e, n, l, t, o, i) {
|
|
|
3566
3574
|
}, 8, ["icon"])
|
|
3567
3575
|
]),
|
|
3568
3576
|
t.expanded ? (L(), Z("div", Xs, [
|
|
3569
|
-
|
|
3577
|
+
D(t.SmartValue, {
|
|
3570
3578
|
value: t.parsedValue,
|
|
3571
3579
|
path: l.context.path + ".(parsed)"
|
|
3572
3580
|
}, null, 8, ["value", "path"])
|
|
@@ -3741,7 +3749,7 @@ const Js = /* @__PURE__ */ Ae(Ws, [["render", Ys], ["__scopeId", "data-v-e8c37fc
|
|
|
3741
3749
|
function iu(e, n, l, t, o, i) {
|
|
3742
3750
|
return L(), Z("div", tu, [
|
|
3743
3751
|
T("div", nu, [
|
|
3744
|
-
|
|
3752
|
+
D(me, {
|
|
3745
3753
|
name: "code",
|
|
3746
3754
|
size: "14px"
|
|
3747
3755
|
}),
|
|
@@ -3752,7 +3760,7 @@ function iu(e, n, l, t, o, i) {
|
|
|
3752
3760
|
-1
|
|
3753
3761
|
/* CACHED */
|
|
3754
3762
|
)),
|
|
3755
|
-
|
|
3763
|
+
D(Zs, {
|
|
3756
3764
|
modelValue: t.viewMode,
|
|
3757
3765
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.viewMode = a),
|
|
3758
3766
|
flat: "",
|
|
@@ -3764,7 +3772,7 @@ function iu(e, n, l, t, o, i) {
|
|
|
3764
3772
|
{ label: "Preview", value: "preview" }
|
|
3765
3773
|
]
|
|
3766
3774
|
}, null, 8, ["modelValue"]),
|
|
3767
|
-
|
|
3775
|
+
D(ve, {
|
|
3768
3776
|
flat: "",
|
|
3769
3777
|
dense: "",
|
|
3770
3778
|
size: "xs",
|
|
@@ -3812,7 +3820,7 @@ function iu(e, n, l, t, o, i) {
|
|
|
3812
3820
|
title: "Drag to resize"
|
|
3813
3821
|
},
|
|
3814
3822
|
[
|
|
3815
|
-
|
|
3823
|
+
D(me, {
|
|
3816
3824
|
name: "drag_handle",
|
|
3817
3825
|
size: "16px"
|
|
3818
3826
|
})
|
|
@@ -3826,7 +3834,7 @@ function iu(e, n, l, t, o, i) {
|
|
|
3826
3834
|
const su = /* @__PURE__ */ Ae(eu, [["render", iu], ["__scopeId", "data-v-b917019a"], ["__file", "/Users/zachsherbondy/src/github.com/quickview/renderers/smart/HtmlStringRenderer.vue"]]), uu = ["ul", "ol"], pa = _e({
|
|
3827
3835
|
name: "QList",
|
|
3828
3836
|
props: {
|
|
3829
|
-
...
|
|
3837
|
+
...tt,
|
|
3830
3838
|
bordered: Boolean,
|
|
3831
3839
|
dense: Boolean,
|
|
3832
3840
|
separator: Boolean,
|
|
@@ -3837,7 +3845,7 @@ const su = /* @__PURE__ */ Ae(eu, [["render", iu], ["__scopeId", "data-v-b917019
|
|
|
3837
3845
|
}
|
|
3838
3846
|
},
|
|
3839
3847
|
setup(e, { slots: n }) {
|
|
3840
|
-
const l = ye(), t =
|
|
3848
|
+
const l = ye(), t = nt(e, l.proxy.$q), o = s(
|
|
3841
3849
|
() => uu.includes(e.tag) ? null : "list"
|
|
3842
3850
|
), i = s(
|
|
3843
3851
|
() => "q-list" + (e.bordered === !0 ? " q-list--bordered" : "") + (e.dense === !0 ? " q-list--dense" : "") + (e.separator === !0 ? " q-list--separator" : "") + (t.value === !0 ? " q-list--dark" : "") + (e.padding === !0 ? " q-list--padding" : "")
|
|
@@ -3847,7 +3855,7 @@ const su = /* @__PURE__ */ Ae(eu, [["render", iu], ["__scopeId", "data-v-b917019
|
|
|
3847
3855
|
}), cu = ["horizontal", "vertical", "cell", "none"], du = _e({
|
|
3848
3856
|
name: "QMarkupTable",
|
|
3849
3857
|
props: {
|
|
3850
|
-
...
|
|
3858
|
+
...tt,
|
|
3851
3859
|
dense: Boolean,
|
|
3852
3860
|
flat: Boolean,
|
|
3853
3861
|
bordered: Boolean,
|
|
@@ -3860,7 +3868,7 @@ const su = /* @__PURE__ */ Ae(eu, [["render", iu], ["__scopeId", "data-v-b917019
|
|
|
3860
3868
|
}
|
|
3861
3869
|
},
|
|
3862
3870
|
setup(e, { slots: n }) {
|
|
3863
|
-
const l = ye(), t =
|
|
3871
|
+
const l = ye(), t = nt(e, l.proxy.$q), o = s(
|
|
3864
3872
|
() => `q-markup-table q-table__container q-table__card q-table--${e.separator}-separator` + (t.value === !0 ? " q-table--dark q-table__card--dark q-dark" : "") + (e.dense === !0 ? " q-table--dense" : "") + (e.flat === !0 ? " q-table--flat" : "") + (e.bordered === !0 ? " q-table--bordered" : "") + (e.square === !0 ? " q-table--square" : "") + (e.wrapCells === !1 ? " q-table--no-wrap" : "")
|
|
3865
3873
|
);
|
|
3866
3874
|
return () => v("div", {
|
|
@@ -3889,7 +3897,7 @@ let An = !1;
|
|
|
3889
3897
|
height: "1px"
|
|
3890
3898
|
}), document.body.appendChild(e), e.appendChild(n), e.scrollLeft = -1e3, An = e.scrollLeft >= 0, e.remove();
|
|
3891
3899
|
}
|
|
3892
|
-
const
|
|
3900
|
+
const it = 1e3, fu = [
|
|
3893
3901
|
"start",
|
|
3894
3902
|
"center",
|
|
3895
3903
|
"end",
|
|
@@ -3937,9 +3945,9 @@ function So(e, n, l, t) {
|
|
|
3937
3945
|
function Yt(e, n, l, t) {
|
|
3938
3946
|
if (l >= t)
|
|
3939
3947
|
return 0;
|
|
3940
|
-
const o = n.length, i = Math.floor(l /
|
|
3948
|
+
const o = n.length, i = Math.floor(l / it), a = Math.floor((t - 1) / it) + 1;
|
|
3941
3949
|
let r = e.slice(i, a).reduce(Wt, 0);
|
|
3942
|
-
return l %
|
|
3950
|
+
return l % it !== 0 && (r -= n.slice(i * it, l).reduce(Wt, 0)), t % it !== 0 && t !== o && (r -= n.slice(t, a * it).reduce(Wt, 0)), r;
|
|
3943
3951
|
}
|
|
3944
3952
|
const Sa = {
|
|
3945
3953
|
virtualScrollSliceSize: {
|
|
@@ -4050,7 +4058,7 @@ function qa({
|
|
|
4050
4058
|
G -= p.value, J = A.value.from, fe = G;
|
|
4051
4059
|
else
|
|
4052
4060
|
for (let X = 0; G >= b[X] && J < z; X++)
|
|
4053
|
-
G -= b[X], J +=
|
|
4061
|
+
G -= b[X], J += it;
|
|
4054
4062
|
for (; G > 0 && J < z; )
|
|
4055
4063
|
G -= h[J], G > -_.scrollViewSize ? (J++, fe = G) : fe = h[J] + G;
|
|
4056
4064
|
R(
|
|
@@ -4069,10 +4077,10 @@ function qa({
|
|
|
4069
4077
|
E(z);
|
|
4070
4078
|
return;
|
|
4071
4079
|
}
|
|
4072
|
-
const { activeElement: ut } = document,
|
|
4073
|
-
Fe === !0 &&
|
|
4074
|
-
|
|
4075
|
-
})), vu(
|
|
4080
|
+
const { activeElement: ut } = document, He = V.value;
|
|
4081
|
+
Fe === !0 && He !== null && He !== ut && He.contains(ut) === !0 && (He.addEventListener("focusout", P), setTimeout(() => {
|
|
4082
|
+
He?.removeEventListener("focusout", P);
|
|
4083
|
+
})), vu(He, z - X);
|
|
4076
4084
|
const ct = G !== void 0 ? h.slice(X, z).reduce(Wt, 0) : 0;
|
|
4077
4085
|
if (Fe === !0) {
|
|
4078
4086
|
const Ue = Re >= A.value.from && X <= A.value.to ? A.value.to : Re;
|
|
@@ -4083,11 +4091,11 @@ function qa({
|
|
|
4083
4091
|
requestAnimationFrame(() => {
|
|
4084
4092
|
if (d !== _.scrollStart) return;
|
|
4085
4093
|
Fe === !0 && O(X);
|
|
4086
|
-
const Ue = h.slice(X, z).reduce(Wt, 0), We = Ue + _.offsetStart + p.value,
|
|
4094
|
+
const Ue = h.slice(X, z).reduce(Wt, 0), We = Ue + _.offsetStart + p.value, lt = We + h[z];
|
|
4087
4095
|
let I = We + M;
|
|
4088
4096
|
if (G !== void 0) {
|
|
4089
4097
|
const ge = Ue - ct, $e = _.scrollStart + ge;
|
|
4090
|
-
I = J !== !0 && $e < We &&
|
|
4098
|
+
I = J !== !0 && $e < We && lt < $e + _.scrollViewSize ? $e : G === "end" ? lt - _.scrollViewSize : We - (G === "start" ? 0 : Math.round((_.scrollViewSize - h[z]) / 2));
|
|
4091
4099
|
}
|
|
4092
4100
|
d = I, So(
|
|
4093
4101
|
f,
|
|
@@ -4108,7 +4116,7 @@ function qa({
|
|
|
4108
4116
|
for (let X = 0; X < M; ) {
|
|
4109
4117
|
for (G = U(z[X]), X++; X < M && z[X].classList.contains("q-virtual-scroll--with-prev") === !0; )
|
|
4110
4118
|
G += U(z[X]), X++;
|
|
4111
|
-
fe = G - h[J], fe !== 0 && (h[J] += fe, b[Math.floor(J /
|
|
4119
|
+
fe = G - h[J], fe !== 0 && (h[J] += fe, b[Math.floor(J / it)] += fe), J++;
|
|
4112
4120
|
}
|
|
4113
4121
|
}
|
|
4114
4122
|
}
|
|
@@ -4122,12 +4130,12 @@ function qa({
|
|
|
4122
4130
|
h.length = e.value;
|
|
4123
4131
|
for (let J = e.value - 1; J >= M; J--)
|
|
4124
4132
|
h[J] = z;
|
|
4125
|
-
const U = Math.floor((e.value - 1) /
|
|
4133
|
+
const U = Math.floor((e.value - 1) / it);
|
|
4126
4134
|
b = [];
|
|
4127
4135
|
for (let J = 0; J <= U; J++) {
|
|
4128
4136
|
let G = 0;
|
|
4129
|
-
const fe = Math.min((J + 1) *
|
|
4130
|
-
for (let X = J *
|
|
4137
|
+
const fe = Math.min((J + 1) * it, e.value);
|
|
4138
|
+
for (let X = J * it; X < fe; X++)
|
|
4131
4139
|
G += h[X];
|
|
4132
4140
|
b.push(G);
|
|
4133
4141
|
}
|
|
@@ -4307,7 +4315,7 @@ const hu = {
|
|
|
4307
4315
|
return t;
|
|
4308
4316
|
}
|
|
4309
4317
|
function x() {
|
|
4310
|
-
t =
|
|
4318
|
+
t = Dl(h(), e.scrollTarget), t.addEventListener("scroll", d, Ne.passive);
|
|
4311
4319
|
}
|
|
4312
4320
|
function y() {
|
|
4313
4321
|
t !== void 0 && (t.removeEventListener("scroll", d, Ne.passive), t = void 0);
|
|
@@ -4377,13 +4385,13 @@ const ko = 100, gu = /* @__PURE__ */ Te({
|
|
|
4377
4385
|
},
|
|
4378
4386
|
setup(e, { expose: n }) {
|
|
4379
4387
|
n();
|
|
4380
|
-
const l = un(() => import("./ObjectEntry-
|
|
4388
|
+
const l = un(() => import("./ObjectEntry-rx7WTb4N.js")), t = e, { copy: o, getIcon: i, getColor: a } = Qn(), r = et("quickview-expansion", null), c = et("quickview-dense", { value: !1 }), d = et("quickview-indent-width"), u = et(
|
|
4381
4389
|
"quickview-key-decorators",
|
|
4382
4390
|
{ value: [] }
|
|
4383
4391
|
), g = s(() => d?.value ?? 12), b = s(() => r ? t.context.path ? r.state.expandedPaths.value[t.context.path] === !0 : !0 : t.context.depth < 1), h = s(() => r ? r.state.highlightedPath.value === t.context.path : !1);
|
|
4384
4392
|
function p(q) {
|
|
4385
4393
|
if (!r) return !1;
|
|
4386
|
-
const w =
|
|
4394
|
+
const w = Ge(t.context.path, q);
|
|
4387
4395
|
return r.state.highlightedPath.value === w;
|
|
4388
4396
|
}
|
|
4389
4397
|
const x = s(
|
|
@@ -4405,14 +4413,14 @@ const ko = 100, gu = /* @__PURE__ */ Te({
|
|
|
4405
4413
|
}
|
|
4406
4414
|
function Y(q) {
|
|
4407
4415
|
if (!u.value.length) return [];
|
|
4408
|
-
const w =
|
|
4416
|
+
const w = Ge(t.context.path, q), R = x.value[q];
|
|
4409
4417
|
return u.value.map((P) => ({
|
|
4410
4418
|
decorator: P,
|
|
4411
4419
|
priority: P.tester(w, q, R)
|
|
4412
4420
|
})).filter(({ priority: P }) => P >= 0).sort((P, W) => W.priority - P.priority).map(({ decorator: P }) => P.render(w, q, R));
|
|
4413
4421
|
}
|
|
4414
4422
|
const Q = { ObjectEntry: l, props: t, copy: o, getIcon: i, getColor: a, expansion: r, isDense: c, indentWidthRef: d, keyDecorators: u, indentWidth: g, isExpanded: b, isHighlighted: h, isKeyHighlighted: p, objectValue: x, keys: y, keyCount: C, VIRTUAL_SCROLL_THRESHOLD: ko, useVirtualScroll: B, preview: V, toggle: A, expandSubtree: j, collapseSubtree: $, copyObject: K, getKeyDecorations: Y, get buildPath() {
|
|
4415
|
-
return
|
|
4423
|
+
return Ge;
|
|
4416
4424
|
} };
|
|
4417
4425
|
return Object.defineProperty(Q, "__isScriptSetup", { enumerable: !1, value: !0 }), Q;
|
|
4418
4426
|
}
|
|
@@ -4440,7 +4448,7 @@ function Su(e, n, l, t, o, i) {
|
|
|
4440
4448
|
class: "header-toggle qv-clickable",
|
|
4441
4449
|
onClick: t.toggle
|
|
4442
4450
|
}, [
|
|
4443
|
-
|
|
4451
|
+
D(me, {
|
|
4444
4452
|
name: t.isExpanded ? "expand_more" : "chevron_right",
|
|
4445
4453
|
size: "16px",
|
|
4446
4454
|
class: "expand-icon"
|
|
@@ -4479,9 +4487,9 @@ function Su(e, n, l, t, o, i) {
|
|
|
4479
4487
|
class: "header-action-btn",
|
|
4480
4488
|
onClick: t.collapseSubtree
|
|
4481
4489
|
}, {
|
|
4482
|
-
default:
|
|
4483
|
-
|
|
4484
|
-
default:
|
|
4490
|
+
default: H(() => [
|
|
4491
|
+
D(pe, null, {
|
|
4492
|
+
default: H(() => [...n[1] || (n[1] = [
|
|
4485
4493
|
ce(
|
|
4486
4494
|
"Collapse all",
|
|
4487
4495
|
-1
|
|
@@ -4505,9 +4513,9 @@ function Su(e, n, l, t, o, i) {
|
|
|
4505
4513
|
class: "header-action-btn",
|
|
4506
4514
|
onClick: t.expandSubtree
|
|
4507
4515
|
}, {
|
|
4508
|
-
default:
|
|
4509
|
-
|
|
4510
|
-
default:
|
|
4516
|
+
default: H(() => [
|
|
4517
|
+
D(pe, null, {
|
|
4518
|
+
default: H(() => [...n[2] || (n[2] = [
|
|
4511
4519
|
ce(
|
|
4512
4520
|
"Expand all",
|
|
4513
4521
|
-1
|
|
@@ -4532,9 +4540,9 @@ function Su(e, n, l, t, o, i) {
|
|
|
4532
4540
|
class: "header-action-btn",
|
|
4533
4541
|
onClick: t.copyObject
|
|
4534
4542
|
}, {
|
|
4535
|
-
default:
|
|
4536
|
-
|
|
4537
|
-
default:
|
|
4543
|
+
default: H(() => [
|
|
4544
|
+
D(pe, null, {
|
|
4545
|
+
default: H(() => [...n[3] || (n[3] = [
|
|
4538
4546
|
ce(
|
|
4539
4547
|
"Copy object",
|
|
4540
4548
|
-1
|
|
@@ -4568,8 +4576,8 @@ function Su(e, n, l, t, o, i) {
|
|
|
4568
4576
|
"virtual-scroll-item-size": 32,
|
|
4569
4577
|
class: "virtual-scroll-container"
|
|
4570
4578
|
}, {
|
|
4571
|
-
default:
|
|
4572
|
-
|
|
4579
|
+
default: H(({ item: a }) => [
|
|
4580
|
+
D(t.ObjectEntry, {
|
|
4573
4581
|
"key-name": a,
|
|
4574
4582
|
value: t.objectValue[a],
|
|
4575
4583
|
path: t.buildPath(l.context.path, a),
|
|
@@ -4585,12 +4593,12 @@ function Su(e, n, l, t, o, i) {
|
|
|
4585
4593
|
_: 1
|
|
4586
4594
|
/* STABLE */
|
|
4587
4595
|
}, 8, ["items"])) : (L(), Z(
|
|
4588
|
-
|
|
4596
|
+
Ze,
|
|
4589
4597
|
{ key: 1 },
|
|
4590
4598
|
[
|
|
4591
4599
|
ee(" Regular rendering for objects with fewer keys "),
|
|
4592
4600
|
(L(!0), Z(
|
|
4593
|
-
|
|
4601
|
+
Ze,
|
|
4594
4602
|
null,
|
|
4595
4603
|
bt(t.keys, (a) => (L(), be(t.ObjectEntry, {
|
|
4596
4604
|
key: a,
|
|
@@ -4649,7 +4657,7 @@ const ku = /* @__PURE__ */ Ae(gu, [["render", Su], ["__scopeId", "data-v-95f1d50
|
|
|
4649
4657
|
}, dt = _e({
|
|
4650
4658
|
name: "QChip",
|
|
4651
4659
|
props: {
|
|
4652
|
-
...
|
|
4660
|
+
...tt,
|
|
4653
4661
|
...cn,
|
|
4654
4662
|
dense: Boolean,
|
|
4655
4663
|
icon: String,
|
|
@@ -4681,7 +4689,7 @@ const ku = /* @__PURE__ */ Ae(gu, [["render", Su], ["__scopeId", "data-v-95f1d50
|
|
|
4681
4689
|
},
|
|
4682
4690
|
emits: ["update:modelValue", "update:selected", "remove", "click"],
|
|
4683
4691
|
setup(e, { slots: n, emit: l }) {
|
|
4684
|
-
const { proxy: { $q: t } } = ye(), o =
|
|
4692
|
+
const { proxy: { $q: t } } = ye(), o = nt(e, t), i = dn(e, qu), a = s(() => e.selected === !0 || e.icon !== void 0), r = s(() => e.selected === !0 ? e.iconSelected || t.iconSet.chip.selected : e.icon), c = s(() => e.iconRemove || t.iconSet.chip.remove), d = s(
|
|
4685
4693
|
() => e.disable === !1 && (e.clickable === !0 || e.selected !== null)
|
|
4686
4694
|
), u = s(() => {
|
|
4687
4695
|
const y = e.outline === !0 && e.color || e.textColor;
|
|
@@ -4848,7 +4856,7 @@ const ku = /* @__PURE__ */ Ae(gu, [["render", Su], ["__scopeId", "data-v-95f1d50
|
|
|
4848
4856
|
}, kl = _e({
|
|
4849
4857
|
name: "QSeparator",
|
|
4850
4858
|
props: {
|
|
4851
|
-
...
|
|
4859
|
+
...tt,
|
|
4852
4860
|
spaced: [Boolean, String],
|
|
4853
4861
|
inset: [Boolean, String],
|
|
4854
4862
|
vertical: Boolean,
|
|
@@ -4856,7 +4864,7 @@ const ku = /* @__PURE__ */ Ae(gu, [["render", Su], ["__scopeId", "data-v-95f1d50
|
|
|
4856
4864
|
size: String
|
|
4857
4865
|
},
|
|
4858
4866
|
setup(e) {
|
|
4859
|
-
const n = ye(), l =
|
|
4867
|
+
const n = ye(), l = nt(e, n.proxy.$q), t = s(() => e.vertical === !0 ? "vertical" : "horizontal"), o = s(() => ` q-separator--${t.value}`), i = s(() => e.inset !== !1 ? `${o.value}-${Pu[e.inset]}` : ""), a = s(
|
|
4860
4868
|
() => `q-separator${o.value}${i.value}` + (e.color !== void 0 ? ` bg-${e.color}` : "") + (l.value === !0 ? " q-separator--dark" : "")
|
|
4861
4869
|
), r = s(() => {
|
|
4862
4870
|
const c = {};
|
|
@@ -4891,7 +4899,7 @@ const ku = /* @__PURE__ */ Ae(gu, [["render", Su], ["__scopeId", "data-v-95f1d50
|
|
|
4891
4899
|
}), Ca = _e({
|
|
4892
4900
|
name: "QItem",
|
|
4893
4901
|
props: {
|
|
4894
|
-
...
|
|
4902
|
+
...tt,
|
|
4895
4903
|
...Nl,
|
|
4896
4904
|
tag: {
|
|
4897
4905
|
type: String,
|
|
@@ -4910,7 +4918,7 @@ const ku = /* @__PURE__ */ Ae(gu, [["render", Su], ["__scopeId", "data-v-95f1d50
|
|
|
4910
4918
|
},
|
|
4911
4919
|
emits: ["click", "keyup"],
|
|
4912
4920
|
setup(e, { slots: n, emit: l }) {
|
|
4913
|
-
const { proxy: { $q: t } } = ye(), o =
|
|
4921
|
+
const { proxy: { $q: t } } = ye(), o = nt(e, t), { hasLink: i, linkAttrs: a, linkClass: r, linkTag: c, navigateOnClick: d } = ga(), u = N(null), g = N(null), b = s(
|
|
4914
4922
|
() => e.clickable === !0 || i.value === !0 || e.tag === "label"
|
|
4915
4923
|
), h = s(
|
|
4916
4924
|
() => e.disable !== !0 && b.value === !0
|
|
@@ -5026,8 +5034,8 @@ const Mu = _e({
|
|
|
5026
5034
|
inheritAttrs: !1,
|
|
5027
5035
|
props: {
|
|
5028
5036
|
...Vr,
|
|
5029
|
-
...
|
|
5030
|
-
...
|
|
5037
|
+
...Dn,
|
|
5038
|
+
...tt,
|
|
5031
5039
|
...tn,
|
|
5032
5040
|
persistent: Boolean,
|
|
5033
5041
|
autoClose: Boolean,
|
|
@@ -5063,7 +5071,7 @@ const Mu = _e({
|
|
|
5063
5071
|
}
|
|
5064
5072
|
},
|
|
5065
5073
|
emits: [
|
|
5066
|
-
...
|
|
5074
|
+
...Hn,
|
|
5067
5075
|
"click",
|
|
5068
5076
|
"escapeKey"
|
|
5069
5077
|
],
|
|
@@ -5071,7 +5079,7 @@ const Mu = _e({
|
|
|
5071
5079
|
let o = null, i, a, r;
|
|
5072
5080
|
const c = ye(), { proxy: d } = c, { $q: u } = d, g = N(null), b = N(!1), h = s(
|
|
5073
5081
|
() => e.persistent !== !0 && e.noRouteDismiss !== !0
|
|
5074
|
-
), p =
|
|
5082
|
+
), p = nt(e, u), { registerTick: x, removeTick: y } = jl(), { registerTimeout: C } = Fl(), { transitionProps: B, transitionStyle: V } = zl(e), { localScrollTarget: A, changeScrollEvent: j, unconfigureScrollTarget: $ } = ia(e, z), { anchorEl: K, canShow: Y } = ra({ showing: b }), { hide: Q } = Nn({
|
|
5075
5083
|
showing: b,
|
|
5076
5084
|
canShow: Y,
|
|
5077
5085
|
handleShow: oe,
|
|
@@ -5132,7 +5140,7 @@ const Mu = _e({
|
|
|
5132
5140
|
i = void 0, a !== void 0 && (a(), a = void 0), (X === !0 || b.value === !0) && (Cl(U), $(), Bn(O), Ln(J)), X !== !0 && (o = null);
|
|
5133
5141
|
}
|
|
5134
5142
|
function z() {
|
|
5135
|
-
(K.value !== null || e.scrollTarget !== void 0) && (A.value =
|
|
5143
|
+
(K.value !== null || e.scrollTarget !== void 0) && (A.value = Dl(K.value, e.scrollTarget), j(A.value, G));
|
|
5136
5144
|
}
|
|
5137
5145
|
function M(X) {
|
|
5138
5146
|
r !== !0 ? (ua(d, X), l("click", X)) : r = !1;
|
|
@@ -5144,7 +5152,7 @@ const Mu = _e({
|
|
|
5144
5152
|
e.noEscDismiss !== !0 && (l("escapeKey"), Q(X));
|
|
5145
5153
|
}
|
|
5146
5154
|
function G() {
|
|
5147
|
-
|
|
5155
|
+
Hl({
|
|
5148
5156
|
targetEl: g.value,
|
|
5149
5157
|
offset: e.offset,
|
|
5150
5158
|
anchorEl: K.value,
|
|
@@ -5221,7 +5229,7 @@ function Po(e) {
|
|
|
5221
5229
|
const n = document.body, l = window.visualViewport !== void 0;
|
|
5222
5230
|
if (e === "add") {
|
|
5223
5231
|
const { overflowY: t, overflowX: o } = window.getComputedStyle(n);
|
|
5224
|
-
dl =
|
|
5232
|
+
dl = Hr(window), fl = Dr(window), qo = n.style.left, Co = n.style.top, Ro = window.location.href, n.style.left = `-${dl}px`, n.style.top = `-${fl}px`, o !== "hidden" && (o === "scroll" || n.scrollWidth > window.innerWidth) && n.classList.add("q-body--force-scrollbar-x"), t !== "hidden" && (t === "scroll" || n.scrollHeight > window.innerHeight) && n.classList.add("q-body--force-scrollbar-y"), n.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, Xe.is.ios === !0 && (l === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", wn, Ne.passiveCapture), window.visualViewport.addEventListener("scroll", wn, Ne.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", Eo, Ne.passiveCapture));
|
|
5225
5233
|
}
|
|
5226
5234
|
Xe.is.desktop === !0 && Xe.is.mac === !0 && window[`${e}EventListener`]("wheel", Lu, Ne.notPassive), e === "remove" && (Xe.is.ios === !0 && (l === !0 ? (window.visualViewport.removeEventListener("resize", wn, Ne.passiveCapture), window.visualViewport.removeEventListener("scroll", wn, Ne.passiveCapture)) : window.removeEventListener("scroll", Eo, Ne.passiveCapture)), n.classList.remove("q-body--prevent-scroll"), n.classList.remove("q-body--force-scrollbar-x"), n.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, n.style.left = qo, n.style.top = Co, window.location.href === Ro && window.scrollTo(dl, fl), en = void 0);
|
|
5227
5235
|
}
|
|
@@ -5269,7 +5277,7 @@ const Iu = {
|
|
|
5269
5277
|
name: "QDialog",
|
|
5270
5278
|
inheritAttrs: !1,
|
|
5271
5279
|
props: {
|
|
5272
|
-
...
|
|
5280
|
+
...Dn,
|
|
5273
5281
|
...tn,
|
|
5274
5282
|
transitionShow: String,
|
|
5275
5283
|
// override useTransitionProps
|
|
@@ -5297,7 +5305,7 @@ const Iu = {
|
|
|
5297
5305
|
}
|
|
5298
5306
|
},
|
|
5299
5307
|
emits: [
|
|
5300
|
-
...
|
|
5308
|
+
...Hn,
|
|
5301
5309
|
"shake",
|
|
5302
5310
|
"click",
|
|
5303
5311
|
"escapeKey"
|
|
@@ -5505,7 +5513,7 @@ function gt(e, n) {
|
|
|
5505
5513
|
}
|
|
5506
5514
|
return e !== e && n !== n;
|
|
5507
5515
|
}
|
|
5508
|
-
function
|
|
5516
|
+
function Du(e) {
|
|
5509
5517
|
return e !== null && typeof e == "object" && Array.isArray(e) !== !0;
|
|
5510
5518
|
}
|
|
5511
5519
|
function To(e) {
|
|
@@ -5521,7 +5529,7 @@ function Bo(e, n, l) {
|
|
|
5521
5529
|
let o = n + (e - n) % t;
|
|
5522
5530
|
return o < n && (o = t + o), o === 0 ? 0 : o;
|
|
5523
5531
|
}
|
|
5524
|
-
const Oo = (e) => ["add", "add-unique", "toggle"].includes(e),
|
|
5532
|
+
const Oo = (e) => ["add", "add-unique", "toggle"].includes(e), Hu = ".*+?^${}()|[]\\", Nu = Object.keys(Fn);
|
|
5525
5533
|
function hl(e, n) {
|
|
5526
5534
|
if (typeof e == "function") return e;
|
|
5527
5535
|
const l = e !== void 0 ? e : n;
|
|
@@ -5649,7 +5657,7 @@ const $u = _e({
|
|
|
5649
5657
|
() => (e.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (e.popupContentClass ? " " + e.popupContentClass : "")
|
|
5650
5658
|
), fe = s(() => R.value === 0), X = s(
|
|
5651
5659
|
() => _.value.map((m) => Se.value(m)).join(", ")
|
|
5652
|
-
), Re = s(() => e.displayValue !== void 0 ? e.displayValue : X.value), Fe = s(() => e.optionsHtml === !0 ? () => !0 : (m) => m?.html === !0), ut = s(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || _.value.some(Fe.value))),
|
|
5660
|
+
), Re = s(() => e.displayValue !== void 0 ? e.displayValue : X.value), Fe = s(() => e.optionsHtml === !0 ? () => !0 : (m) => m?.html === !0), ut = s(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || _.value.some(Fe.value))), He = s(() => f.focused.value === !0 ? e.tabindex : -1), ct = s(() => {
|
|
5653
5661
|
const m = {
|
|
5654
5662
|
tabindex: e.tabindex,
|
|
5655
5663
|
role: "combobox",
|
|
@@ -5670,14 +5678,14 @@ const $u = _e({
|
|
|
5670
5678
|
html: Fe.value(m),
|
|
5671
5679
|
selected: !0,
|
|
5672
5680
|
removeAtIndex: Xn,
|
|
5673
|
-
toggleOption:
|
|
5674
|
-
tabindex:
|
|
5675
|
-
}))),
|
|
5681
|
+
toggleOption: at,
|
|
5682
|
+
tabindex: He.value
|
|
5683
|
+
}))), lt = s(() => {
|
|
5676
5684
|
if (R.value === 0)
|
|
5677
5685
|
return [];
|
|
5678
5686
|
const { from: m, to: ne } = P.value;
|
|
5679
5687
|
return e.options.slice(m, ne).map((le, he) => {
|
|
5680
|
-
const we =
|
|
5688
|
+
const we = Ye.value(le) === !0, xe = Mt(le) === !0, Ie = m + he, Oe = {
|
|
5681
5689
|
clickable: !0,
|
|
5682
5690
|
active: xe,
|
|
5683
5691
|
activeClass: $e.value,
|
|
@@ -5691,7 +5699,7 @@ const $u = _e({
|
|
|
5691
5699
|
"aria-selected": xe === !0 ? "true" : "false",
|
|
5692
5700
|
id: `${f.targetUid.value}_${Ie}`,
|
|
5693
5701
|
onClick: () => {
|
|
5694
|
-
|
|
5702
|
+
at(le);
|
|
5695
5703
|
}
|
|
5696
5704
|
};
|
|
5697
5705
|
return we !== !0 && (r.value === Ie && (Oe.focused = !0), o.platform.is.desktop === !0 && (Oe.onMousemove = () => {
|
|
@@ -5703,14 +5711,14 @@ const $u = _e({
|
|
|
5703
5711
|
label: Se.value(le),
|
|
5704
5712
|
selected: Oe.active,
|
|
5705
5713
|
focused: Oe.focused,
|
|
5706
|
-
toggleOption:
|
|
5714
|
+
toggleOption: at,
|
|
5707
5715
|
setOptionIndex: Ke,
|
|
5708
5716
|
itemProps: Oe
|
|
5709
5717
|
};
|
|
5710
5718
|
});
|
|
5711
5719
|
}), I = s(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : o.iconSet.arrow.dropdown), ge = s(
|
|
5712
5720
|
() => e.optionsCover === !1 && e.outlined !== !0 && e.standout !== !0 && e.borderless !== !0 && e.rounded !== !0
|
|
5713
|
-
), $e = s(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), Be = s(() => hl(e.optionValue, "value")), Se = s(() => hl(e.optionLabel, "label")),
|
|
5721
|
+
), $e = s(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), Be = s(() => hl(e.optionValue, "value")), Se = s(() => hl(e.optionLabel, "label")), Ye = s(() => hl(e.optionDisable, "disable")), ot = s(() => _.value.map(Be.value)), Bt = s(() => {
|
|
5714
5722
|
const m = {
|
|
5715
5723
|
onInput: k,
|
|
5716
5724
|
// Safari < 10.2 & UIWebView doesn't fire compositionend when
|
|
@@ -5763,8 +5771,8 @@ const $u = _e({
|
|
|
5763
5771
|
const he = e.modelValue.slice();
|
|
5764
5772
|
l("add", { index: he.length, value: le }), he.push(le), l("update:modelValue", he);
|
|
5765
5773
|
}
|
|
5766
|
-
function
|
|
5767
|
-
if (f.editable.value !== !0 || m === void 0 ||
|
|
5774
|
+
function at(m, ne) {
|
|
5775
|
+
if (f.editable.value !== !0 || m === void 0 || Ye.value(m) === !0) return;
|
|
5768
5776
|
const le = Be.value(m);
|
|
5769
5777
|
if (e.multiple !== !0) {
|
|
5770
5778
|
ne !== !0 && (ue(
|
|
@@ -5779,7 +5787,7 @@ const $u = _e({
|
|
|
5779
5787
|
l("add", { index: 0, value: xe }), l("update:modelValue", e.multiple === !0 ? [xe] : xe);
|
|
5780
5788
|
return;
|
|
5781
5789
|
}
|
|
5782
|
-
const he = e.modelValue.slice(), we =
|
|
5790
|
+
const he = e.modelValue.slice(), we = ot.value.findIndex((xe) => gt(xe, le));
|
|
5783
5791
|
if (we !== -1)
|
|
5784
5792
|
l("remove", { index: we, value: he.splice(we, 1)[0] });
|
|
5785
5793
|
else {
|
|
@@ -5794,7 +5802,7 @@ const $u = _e({
|
|
|
5794
5802
|
const ne = m !== -1 && m < R.value ? m : -1;
|
|
5795
5803
|
r.value !== ne && (r.value = ne);
|
|
5796
5804
|
}
|
|
5797
|
-
function
|
|
5805
|
+
function rt(m = 1, ne) {
|
|
5798
5806
|
if (i.value === !0) {
|
|
5799
5807
|
let le = r.value;
|
|
5800
5808
|
do
|
|
@@ -5803,7 +5811,7 @@ const $u = _e({
|
|
|
5803
5811
|
-1,
|
|
5804
5812
|
R.value - 1
|
|
5805
5813
|
);
|
|
5806
|
-
while (le !== -1 && le !== r.value &&
|
|
5814
|
+
while (le !== -1 && le !== r.value && Ye.value(e.options[le]) === !0);
|
|
5807
5815
|
r.value !== le && (Ke(le), S(le), ne !== !0 && e.useInput === !0 && e.fillInput === !0 && te(
|
|
5808
5816
|
le >= 0 ? Se.value(e.options[le]) : C,
|
|
5809
5817
|
!0
|
|
@@ -5816,7 +5824,7 @@ const $u = _e({
|
|
|
5816
5824
|
}
|
|
5817
5825
|
function Mt(m) {
|
|
5818
5826
|
const ne = Be.value(m);
|
|
5819
|
-
return
|
|
5827
|
+
return ot.value.find((le) => gt(le, ne)) !== void 0;
|
|
5820
5828
|
}
|
|
5821
5829
|
function Qt(m) {
|
|
5822
5830
|
e.useInput === !0 && $.value !== null && (m === void 0 || $.value === m.target && m.target.value === X.value) && $.value.select();
|
|
@@ -5833,7 +5841,7 @@ const $u = _e({
|
|
|
5833
5841
|
if (m.target.value = "", g !== null && (clearTimeout(g), g = null), b !== null && (clearTimeout(b), b = null), Ft(), typeof ne == "string" && ne.length !== 0) {
|
|
5834
5842
|
const le = ne.toLocaleLowerCase(), he = (xe) => {
|
|
5835
5843
|
const Ie = e.options.find((Oe) => String(xe.value(Oe)).toLocaleLowerCase() === le);
|
|
5836
|
-
return Ie === void 0 ? !1 : (_.value.indexOf(Ie) === -1 ?
|
|
5844
|
+
return Ie === void 0 ? !1 : (_.value.indexOf(Ie) === -1 ? at(Ie) : St(), !0);
|
|
5837
5845
|
}, we = (xe) => {
|
|
5838
5846
|
he(Be) !== !0 && xe !== !0 && he(Se) !== !0 && se(ne, !0, () => we(!0));
|
|
5839
5847
|
};
|
|
@@ -5848,7 +5856,7 @@ const $u = _e({
|
|
|
5848
5856
|
if (l("keydown", m), Ml(m) === !0) return;
|
|
5849
5857
|
const ne = c.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), le = m.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (r.value !== -1 || ne === !0);
|
|
5850
5858
|
if (m.keyCode === 27) {
|
|
5851
|
-
|
|
5859
|
+
st(m);
|
|
5852
5860
|
return;
|
|
5853
5861
|
}
|
|
5854
5862
|
if (m.keyCode === 9 && le === !1) {
|
|
@@ -5864,24 +5872,24 @@ const $u = _e({
|
|
|
5864
5872
|
e.multiple === !0 && Array.isArray(e.modelValue) === !0 ? Ot(e.modelValue.length - 1) : e.multiple !== !0 && e.modelValue !== null && l("update:modelValue", null);
|
|
5865
5873
|
return;
|
|
5866
5874
|
}
|
|
5867
|
-
(m.keyCode === 35 || m.keyCode === 36) && (typeof c.value != "string" || c.value.length === 0) && (Me(m), r.value = -1,
|
|
5875
|
+
(m.keyCode === 35 || m.keyCode === 36) && (typeof c.value != "string" || c.value.length === 0) && (Me(m), r.value = -1, rt(m.keyCode === 36 ? 1 : -1, e.multiple)), (m.keyCode === 33 || m.keyCode === 34) && W.value !== void 0 && (Me(m), r.value = Math.max(
|
|
5868
5876
|
-1,
|
|
5869
5877
|
Math.min(
|
|
5870
5878
|
R.value,
|
|
5871
5879
|
r.value + (m.keyCode === 33 ? -1 : 1) * W.value.view
|
|
5872
5880
|
)
|
|
5873
|
-
),
|
|
5881
|
+
), rt(m.keyCode === 33 ? 1 : -1, e.multiple)), (m.keyCode === 38 || m.keyCode === 40) && (Me(m), rt(m.keyCode === 38 ? -1 : 1, e.multiple));
|
|
5874
5882
|
const he = R.value;
|
|
5875
5883
|
if ((V === void 0 || A < Date.now()) && (V = ""), he > 0 && e.useInput !== !0 && m.key !== void 0 && m.key.length === 1 && m.altKey === !1 && m.ctrlKey === !1 && m.metaKey === !1 && (m.keyCode !== 32 || V.length !== 0)) {
|
|
5876
5884
|
i.value !== !0 && jt(m);
|
|
5877
5885
|
const we = m.key.toLocaleLowerCase(), xe = V.length === 1 && V[0] === we;
|
|
5878
5886
|
A = Date.now() + 1500, xe === !1 && (Me(m), V += we);
|
|
5879
|
-
const Ie = new RegExp("^" + V.split("").map((nl) =>
|
|
5887
|
+
const Ie = new RegExp("^" + V.split("").map((nl) => Hu.indexOf(nl) !== -1 ? "\\" + nl : nl).join(".*"), "i");
|
|
5880
5888
|
let Oe = r.value;
|
|
5881
5889
|
if (xe === !0 || Oe < 0 || Ie.test(Se.value(e.options[Oe])) !== !0)
|
|
5882
5890
|
do
|
|
5883
5891
|
Oe = Bo(Oe + 1, -1, he - 1);
|
|
5884
|
-
while (Oe !== r.value && (
|
|
5892
|
+
while (Oe !== r.value && (Ye.value(e.options[Oe]) === !0 || Ie.test(Se.value(e.options[Oe])) !== !0));
|
|
5885
5893
|
r.value !== Oe && Ce(() => {
|
|
5886
5894
|
Ke(Oe), S(Oe), Oe >= 0 && e.useInput === !0 && e.fillInput === !0 && te(Se.value(e.options[Oe]), !0);
|
|
5887
5895
|
});
|
|
@@ -5889,7 +5897,7 @@ const $u = _e({
|
|
|
5889
5897
|
}
|
|
5890
5898
|
if (!(m.keyCode !== 13 && (m.keyCode !== 32 || e.useInput === !0 || V !== "") && (m.keyCode !== 9 || le === !1))) {
|
|
5891
5899
|
if (m.keyCode !== 9 && Me(m), r.value !== -1 && r.value < he) {
|
|
5892
|
-
|
|
5900
|
+
at(e.options[r.value]);
|
|
5893
5901
|
return;
|
|
5894
5902
|
}
|
|
5895
5903
|
if (ne === !0) {
|
|
@@ -5899,7 +5907,7 @@ const $u = _e({
|
|
|
5899
5907
|
} else
|
|
5900
5908
|
Ie = e.newValueMode;
|
|
5901
5909
|
if (ue("", e.multiple !== !0, !0), xe == null) return;
|
|
5902
|
-
(Ie === "toggle" ?
|
|
5910
|
+
(Ie === "toggle" ? at : vn)(xe, Ie === "add-unique"), e.multiple !== !0 && ($.value?.focus(), St());
|
|
5903
5911
|
};
|
|
5904
5912
|
if (e.onNewValue !== void 0 ? l("newValue", c.value, we) : we(c.value), e.multiple !== !0) return;
|
|
5905
5913
|
}
|
|
@@ -5915,10 +5923,10 @@ const $u = _e({
|
|
|
5915
5923
|
function Jn() {
|
|
5916
5924
|
return e.hideSelected === !0 ? [] : n["selected-item"] !== void 0 ? We.value.map((m) => n["selected-item"](m)).slice() : n.selected !== void 0 ? [].concat(n.selected()) : e.useChips === !0 ? We.value.map((m, ne) => v(dt, {
|
|
5917
5925
|
key: "option-" + ne,
|
|
5918
|
-
removable: f.editable.value === !0 &&
|
|
5926
|
+
removable: f.editable.value === !0 && Ye.value(m.opt) !== !0,
|
|
5919
5927
|
dense: !0,
|
|
5920
5928
|
textColor: e.color,
|
|
5921
|
-
tabindex:
|
|
5929
|
+
tabindex: He.value,
|
|
5922
5930
|
onRemove() {
|
|
5923
5931
|
m.removeAtIndex(ne);
|
|
5924
5932
|
}
|
|
@@ -5947,7 +5955,7 @@ const $u = _e({
|
|
|
5947
5955
|
})
|
|
5948
5956
|
)
|
|
5949
5957
|
));
|
|
5950
|
-
let ne = F("div",
|
|
5958
|
+
let ne = F("div", lt.value.map(m));
|
|
5951
5959
|
return n["before-options"] !== void 0 && (ne = n["before-options"]().concat(ne)), ht(n["after-options"], ne);
|
|
5952
5960
|
}
|
|
5953
5961
|
function Zn(m, ne) {
|
|
@@ -6076,7 +6084,7 @@ const $u = _e({
|
|
|
6076
6084
|
class: G.value + " scroll",
|
|
6077
6085
|
style: e.popupContentStyle,
|
|
6078
6086
|
...Ue.value,
|
|
6079
|
-
onClick:
|
|
6087
|
+
onClick: st,
|
|
6080
6088
|
onScrollPassive: E
|
|
6081
6089
|
}, gn())
|
|
6082
6090
|
), v(Ta, {
|
|
@@ -6153,23 +6161,23 @@ const $u = _e({
|
|
|
6153
6161
|
function Gl() {
|
|
6154
6162
|
p = o.platform.is.mobile !== !0 && e.behavior !== "dialog" ? !1 : e.behavior !== "menu" && (e.useInput === !0 ? n["no-option"] !== void 0 || e.onFilter !== void 0 || fe.value === !1 : !0), B = o.platform.is.ios === !0 && p === !0 && e.useInput === !0 ? "fade" : e.transitionShow;
|
|
6155
6163
|
}
|
|
6156
|
-
return
|
|
6164
|
+
return Ho(Gl), Ia(Kl), Gl(), ze(() => {
|
|
6157
6165
|
g !== null && clearTimeout(g), b !== null && clearTimeout(b);
|
|
6158
6166
|
}), Object.assign(t, {
|
|
6159
6167
|
showPopup: jt,
|
|
6160
6168
|
hidePopup: St,
|
|
6161
6169
|
removeAtIndex: Ot,
|
|
6162
6170
|
add: vn,
|
|
6163
|
-
toggleOption:
|
|
6171
|
+
toggleOption: at,
|
|
6164
6172
|
getOptionIndex: () => r.value,
|
|
6165
6173
|
setOptionIndex: Ke,
|
|
6166
|
-
moveOptionSelection:
|
|
6174
|
+
moveOptionSelection: rt,
|
|
6167
6175
|
filter: se,
|
|
6168
6176
|
updateMenuPosition: Kl,
|
|
6169
6177
|
updateInputValue: ue,
|
|
6170
6178
|
isOptionSelected: Mt,
|
|
6171
6179
|
getEmittingOptionValue: fn,
|
|
6172
|
-
isOptionDisabled: (...m) =>
|
|
6180
|
+
isOptionDisabled: (...m) => Ye.value.apply(null, m) === !0,
|
|
6173
6181
|
getOptionValue: (...m) => Be.value.apply(null, m),
|
|
6174
6182
|
getOptionLabel: (...m) => Se.value.apply(null, m)
|
|
6175
6183
|
}), Object.assign(f, {
|
|
@@ -6199,7 +6207,7 @@ const $u = _e({
|
|
|
6199
6207
|
});
|
|
6200
6208
|
},
|
|
6201
6209
|
onClick(m) {
|
|
6202
|
-
if (
|
|
6210
|
+
if (st(m), p !== !0 && i.value === !0) {
|
|
6203
6211
|
zt(), $.value?.focus();
|
|
6204
6212
|
return;
|
|
6205
6213
|
}
|
|
@@ -6235,8 +6243,8 @@ const $u = _e({
|
|
|
6235
6243
|
})
|
|
6236
6244
|
);
|
|
6237
6245
|
}
|
|
6238
|
-
if (q.value !== void 0 && e.disable !== !0 &&
|
|
6239
|
-
const we =
|
|
6246
|
+
if (q.value !== void 0 && e.disable !== !0 && ot.value.length !== 0) {
|
|
6247
|
+
const we = ot.value.map((xe) => v("option", { value: xe, selected: !0 }));
|
|
6240
6248
|
ne.push(
|
|
6241
6249
|
v("select", {
|
|
6242
6250
|
class: "hidden",
|
|
@@ -6275,7 +6283,7 @@ function Mo(e, n, l) {
|
|
|
6275
6283
|
const Wu = _e({
|
|
6276
6284
|
name: "QLinearProgress",
|
|
6277
6285
|
props: {
|
|
6278
|
-
...
|
|
6286
|
+
...tt,
|
|
6279
6287
|
...cn,
|
|
6280
6288
|
value: {
|
|
6281
6289
|
type: Number,
|
|
@@ -6296,7 +6304,7 @@ const Wu = _e({
|
|
|
6296
6304
|
instantFeedback: Boolean
|
|
6297
6305
|
},
|
|
6298
6306
|
setup(e, { slots: n }) {
|
|
6299
|
-
const { proxy: l } = ye(), t =
|
|
6307
|
+
const { proxy: l } = ye(), t = nt(e, l.$q), o = dn(e, Uu), i = s(() => e.indeterminate === !0 || e.query === !0), a = s(() => e.reverse !== e.query), r = s(() => ({
|
|
6300
6308
|
...o.value !== null ? o.value : {},
|
|
6301
6309
|
"--q-linear-progress-speed": `${e.animationSpeed}ms`
|
|
6302
6310
|
})), c = s(
|
|
@@ -6357,7 +6365,7 @@ const Qu = {
|
|
|
6357
6365
|
lg: 50,
|
|
6358
6366
|
xl: 60
|
|
6359
6367
|
}, Xu = {
|
|
6360
|
-
...
|
|
6368
|
+
...tt,
|
|
6361
6369
|
...cn,
|
|
6362
6370
|
...In,
|
|
6363
6371
|
modelValue: {
|
|
@@ -6385,7 +6393,7 @@ const Qu = {
|
|
|
6385
6393
|
tabindex: [String, Number]
|
|
6386
6394
|
}, Gu = ["update:modelValue"];
|
|
6387
6395
|
function Yu(e, n) {
|
|
6388
|
-
const { props: l, slots: t, emit: o, proxy: i } = ye(), { $q: a } = i, r =
|
|
6396
|
+
const { props: l, slots: t, emit: o, proxy: i } = ye(), { $q: a } = i, r = nt(l, a), c = N(null), { refocusTargetEl: d, refocusTarget: u } = Ku(l, c), g = dn(l, Qu), b = s(
|
|
6389
6397
|
() => l.val !== void 0 && Array.isArray(l.modelValue)
|
|
6390
6398
|
), h = s(() => {
|
|
6391
6399
|
const R = It(l.val);
|
|
@@ -6584,7 +6592,7 @@ function oc(e, n, l, t) {
|
|
|
6584
6592
|
});
|
|
6585
6593
|
function a(r) {
|
|
6586
6594
|
let c = e.columnSortOrder;
|
|
6587
|
-
if (
|
|
6595
|
+
if (Du(r) === !0)
|
|
6588
6596
|
r.sortOrder && (c = r.sortOrder), r = r.name;
|
|
6589
6597
|
else {
|
|
6590
6598
|
const g = l.value.find((b) => b.name === r);
|
|
@@ -6923,7 +6931,7 @@ const _c = _e({
|
|
|
6923
6931
|
onRowClick: Function,
|
|
6924
6932
|
onRowDblclick: Function,
|
|
6925
6933
|
onRowContextmenu: Function,
|
|
6926
|
-
...
|
|
6934
|
+
...tt,
|
|
6927
6935
|
...Zu,
|
|
6928
6936
|
...bc,
|
|
6929
6937
|
...ac,
|
|
@@ -6940,7 +6948,7 @@ const _c = _e({
|
|
|
6940
6948
|
...fc
|
|
6941
6949
|
],
|
|
6942
6950
|
setup(e, { slots: n, emit: l }) {
|
|
6943
|
-
const t = ye(), { proxy: { $q: o } } = t, i =
|
|
6951
|
+
const t = ye(), { proxy: { $q: o } } = t, i = nt(e, o), { inFullscreen: a, toggleFullscreen: r } = tc(), c = s(() => typeof e.rowKey == "function" ? e.rowKey : (k) => k[e.rowKey]), d = N(null), u = N(null), g = s(() => e.grid !== !0 && e.virtualScroll === !0), b = s(
|
|
6944
6952
|
() => " q-table__card" + (i.value === !0 ? " q-table__card--dark q-dark" : "") + (e.square === !0 ? " q-table--square" : "") + (e.flat === !0 ? " q-table--flat" : "") + (e.bordered === !0 ? " q-table--bordered" : "")
|
|
6945
6953
|
), h = s(
|
|
6946
6954
|
() => `q-table__container q-table--${e.separator}-separator column no-wrap` + (e.grid === !0 ? " q-table--grid" : b.value) + (i.value === !0 ? " q-table--dark" : "") + (e.dense === !0 ? " q-table--dense" : "") + (e.wrapCells === !1 ? " q-table--no-wrap" : "") + (a.value === !0 ? " fullscreen scroll" : "")
|
|
@@ -6992,11 +7000,11 @@ const _c = _e({
|
|
|
6992
7000
|
isLastPage: Re,
|
|
6993
7001
|
pagesNumber: Fe,
|
|
6994
7002
|
computedRowsPerPageOptions: ut,
|
|
6995
|
-
computedRowsNumber:
|
|
7003
|
+
computedRowsNumber: He,
|
|
6996
7004
|
firstPage: ct,
|
|
6997
7005
|
prevPage: Ue,
|
|
6998
7006
|
nextPage: We,
|
|
6999
|
-
lastPage:
|
|
7007
|
+
lastPage: lt
|
|
7000
7008
|
} = cc(t, x, y, C, V, Q), I = s(() => q.value.length === 0), ge = s(() => {
|
|
7001
7009
|
const k = {};
|
|
7002
7010
|
return ka.forEach((te) => {
|
|
@@ -7027,7 +7035,7 @@ const _c = _e({
|
|
|
7027
7035
|
items: q.value,
|
|
7028
7036
|
type: "__qtable",
|
|
7029
7037
|
tableColspan: z.value,
|
|
7030
|
-
onVirtualScroll:
|
|
7038
|
+
onVirtualScroll: Ye
|
|
7031
7039
|
}, de);
|
|
7032
7040
|
}
|
|
7033
7041
|
const te = [
|
|
@@ -7055,10 +7063,10 @@ const _c = _e({
|
|
|
7055
7063
|
});
|
|
7056
7064
|
}
|
|
7057
7065
|
}
|
|
7058
|
-
function
|
|
7066
|
+
function Ye(k) {
|
|
7059
7067
|
l("virtualScroll", k);
|
|
7060
7068
|
}
|
|
7061
|
-
function
|
|
7069
|
+
function ot() {
|
|
7062
7070
|
return [
|
|
7063
7071
|
v(Wu, {
|
|
7064
7072
|
class: "q-table__linear-progress",
|
|
@@ -7130,17 +7138,17 @@ const _c = _e({
|
|
|
7130
7138
|
return te !== void 0 && (se = te({ cols: f.value }).concat(se)), ue !== void 0 && (se = se.concat(ue({ cols: f.value }))), v("tbody", se);
|
|
7131
7139
|
}
|
|
7132
7140
|
function Ot(k) {
|
|
7133
|
-
return
|
|
7141
|
+
return at(k), k.cols = k.cols.map(
|
|
7134
7142
|
(te) => vt({ ...te }, "value", () => Ke(te, k.row))
|
|
7135
7143
|
), k;
|
|
7136
7144
|
}
|
|
7137
7145
|
function Xn(k) {
|
|
7138
|
-
return
|
|
7146
|
+
return at(k), vt(k, "value", () => Ke(k.col, k.row)), k;
|
|
7139
7147
|
}
|
|
7140
7148
|
function vn(k) {
|
|
7141
|
-
return
|
|
7149
|
+
return at(k), k;
|
|
7142
7150
|
}
|
|
7143
|
-
function
|
|
7151
|
+
function at(k) {
|
|
7144
7152
|
Object.assign(k, {
|
|
7145
7153
|
cols: f.value,
|
|
7146
7154
|
colsMap: _.value,
|
|
@@ -7169,7 +7177,7 @@ const _c = _e({
|
|
|
7169
7177
|
const ue = typeof k.field == "function" ? k.field(te) : te[k.field];
|
|
7170
7178
|
return k.format !== void 0 ? k.format(ue, te) : ue;
|
|
7171
7179
|
}
|
|
7172
|
-
const
|
|
7180
|
+
const rt = s(() => ({
|
|
7173
7181
|
pagination: y.value,
|
|
7174
7182
|
pagesNumber: Fe.value,
|
|
7175
7183
|
isFirstPage: X.value,
|
|
@@ -7177,18 +7185,18 @@ const _c = _e({
|
|
|
7177
7185
|
firstPage: ct,
|
|
7178
7186
|
prevPage: Ue,
|
|
7179
7187
|
nextPage: We,
|
|
7180
|
-
lastPage:
|
|
7188
|
+
lastPage: lt,
|
|
7181
7189
|
inFullscreen: a.value,
|
|
7182
7190
|
toggleFullscreen: r
|
|
7183
7191
|
}));
|
|
7184
7192
|
function Gn() {
|
|
7185
7193
|
const k = n.top, te = n["top-left"], ue = n["top-right"], se = n["top-selection"], de = w.value === !0 && se !== void 0 && ae.value > 0, Ee = "q-table__top relative-position row items-center";
|
|
7186
7194
|
if (k !== void 0)
|
|
7187
|
-
return v("div", { class: Ee }, [k(
|
|
7195
|
+
return v("div", { class: Ee }, [k(rt.value)]);
|
|
7188
7196
|
let ke;
|
|
7189
|
-
if (de === !0 ? ke = se(
|
|
7197
|
+
if (de === !0 ? ke = se(rt.value).slice() : (ke = [], te !== void 0 ? ke.push(
|
|
7190
7198
|
v("div", { class: "q-table__control" }, [
|
|
7191
|
-
te(
|
|
7199
|
+
te(rt.value)
|
|
7192
7200
|
])
|
|
7193
7201
|
) : e.title && ke.push(
|
|
7194
7202
|
v("div", { class: "q-table__control" }, [
|
|
@@ -7200,7 +7208,7 @@ const _c = _e({
|
|
|
7200
7208
|
v("div", { class: "q-table__separator col" })
|
|
7201
7209
|
), ke.push(
|
|
7202
7210
|
v("div", { class: "q-table__control" }, [
|
|
7203
|
-
ue(
|
|
7211
|
+
ue(rt.value)
|
|
7204
7212
|
])
|
|
7205
7213
|
)), ke.length !== 0)
|
|
7206
7214
|
return v("div", { class: Ee }, ke);
|
|
@@ -7213,7 +7221,7 @@ const _c = _e({
|
|
|
7213
7221
|
v("th", {
|
|
7214
7222
|
class: "relative-position",
|
|
7215
7223
|
colspan: z.value
|
|
7216
|
-
},
|
|
7224
|
+
}, ot())
|
|
7217
7225
|
])
|
|
7218
7226
|
), v("thead", k);
|
|
7219
7227
|
}
|
|
@@ -7301,7 +7309,7 @@ const _c = _e({
|
|
|
7301
7309
|
}
|
|
7302
7310
|
const k = n.bottom;
|
|
7303
7311
|
if (k !== void 0)
|
|
7304
|
-
return v("div", { class: kn }, [k(
|
|
7312
|
+
return v("div", { class: kn }, [k(rt.value)]);
|
|
7305
7313
|
const te = e.hideSelectedBanner !== !0 && w.value === !0 && ae.value > 0 ? [
|
|
7306
7314
|
v("div", { class: "q-table__control" }, [
|
|
7307
7315
|
v("div", [
|
|
@@ -7347,10 +7355,10 @@ const _c = _e({
|
|
|
7347
7355
|
})
|
|
7348
7356
|
])
|
|
7349
7357
|
), de !== void 0)
|
|
7350
|
-
te = de(
|
|
7358
|
+
te = de(rt.value);
|
|
7351
7359
|
else if (te = [
|
|
7352
7360
|
v("span", ue !== 0 ? { class: "q-table__bottom-item" } : {}, [
|
|
7353
|
-
ue ? se(G.value + 1, Math.min(fe.value,
|
|
7361
|
+
ue ? se(G.value + 1, Math.min(fe.value, He.value), He.value) : se(1, Q.value, He.value)
|
|
7354
7362
|
])
|
|
7355
7363
|
], ue !== 0 && Fe.value > 1) {
|
|
7356
7364
|
const ke = {
|
|
@@ -7392,7 +7400,7 @@ const _c = _e({
|
|
|
7392
7400
|
icon: wt.value[3],
|
|
7393
7401
|
disable: Re.value,
|
|
7394
7402
|
"aria-label": o.lang.pagination.last,
|
|
7395
|
-
onClick:
|
|
7403
|
+
onClick: lt
|
|
7396
7404
|
})
|
|
7397
7405
|
);
|
|
7398
7406
|
}
|
|
@@ -7405,7 +7413,7 @@ const _c = _e({
|
|
|
7405
7413
|
v("table", { class: "q-table" }, [
|
|
7406
7414
|
Qt()
|
|
7407
7415
|
])
|
|
7408
|
-
] : e.loading === !0 && n.loading === void 0 ?
|
|
7416
|
+
] : e.loading === !0 && n.loading === void 0 ? ot() : void 0;
|
|
7409
7417
|
return v("div", { class: "q-table__middle" }, k);
|
|
7410
7418
|
}
|
|
7411
7419
|
function Zn() {
|
|
@@ -7474,7 +7482,7 @@ const _c = _e({
|
|
|
7474
7482
|
firstPage: ct,
|
|
7475
7483
|
prevPage: Ue,
|
|
7476
7484
|
nextPage: We,
|
|
7477
|
-
lastPage:
|
|
7485
|
+
lastPage: lt,
|
|
7478
7486
|
isRowSelected: F,
|
|
7479
7487
|
clearSelection: E,
|
|
7480
7488
|
isRowExpanded: j,
|
|
@@ -7486,7 +7494,7 @@ const _c = _e({
|
|
|
7486
7494
|
}), $a(t.proxy, {
|
|
7487
7495
|
filteredSortedRows: () => Y.value,
|
|
7488
7496
|
computedRows: () => q.value,
|
|
7489
|
-
computedRowsNumber: () =>
|
|
7497
|
+
computedRowsNumber: () => He.value
|
|
7490
7498
|
}), () => {
|
|
7491
7499
|
const k = [Gn()], te = { ref: d, class: p.value };
|
|
7492
7500
|
return e.grid === !0 ? k.push(gn()) : Object.assign(te, {
|
|
@@ -7509,7 +7517,7 @@ const _c = _e({
|
|
|
7509
7517
|
n();
|
|
7510
7518
|
const l = un(
|
|
7511
7519
|
() => Promise.resolve().then(() => $n)
|
|
7512
|
-
), t = e, { copy: o, getIcon: i, getColor: a } = Qn(), r =
|
|
7520
|
+
), t = e, { copy: o, getIcon: i, getColor: a } = Qn(), r = et("quickview-expansion", null), c = et("quickview-dense", { value: !1 }), d = et("quickview-indent-width"), u = s(() => d?.value ?? 12), g = N(!1), b = s(() => {
|
|
7513
7521
|
const S = t.context.value;
|
|
7514
7522
|
if (S.length === 0 || !S.every(
|
|
7515
7523
|
(f) => typeof f == "object" && f !== null && !Array.isArray(f)
|
|
@@ -7522,12 +7530,12 @@ const _c = _e({
|
|
|
7522
7530
|
}), h = N("list"), p = s(() => r ? t.context.path ? r.state.expandedPaths.value[t.context.path] === !0 : !0 : t.context.depth < 1), x = s(() => r ? r.state.highlightedPath.value === t.context.path : !1);
|
|
7523
7531
|
function y(S) {
|
|
7524
7532
|
if (!r) return !1;
|
|
7525
|
-
const oe =
|
|
7533
|
+
const oe = Ge(t.context.path, S), f = r.state.highlightedPath.value;
|
|
7526
7534
|
return f === oe || (f?.startsWith(oe + ".") ?? !1);
|
|
7527
7535
|
}
|
|
7528
7536
|
function C(S, oe) {
|
|
7529
7537
|
if (!r) return !1;
|
|
7530
|
-
const f =
|
|
7538
|
+
const f = Ge(Ge(t.context.path, S), oe), _ = r.state.highlightedPath.value;
|
|
7531
7539
|
return _ === f || (_?.startsWith(f + ".") ?? !1) || (_?.startsWith(f + "[") ?? !1);
|
|
7532
7540
|
}
|
|
7533
7541
|
const B = s(() => t.context.value.map((oe, f) => typeof oe == "object" && oe !== null && !Array.isArray(oe) ? { ...oe, __qv_index: f } : { __qv_value: oe, __qv_index: f })), V = s(() => t.context.value.length), A = s(() => {
|
|
@@ -7582,7 +7590,7 @@ const _c = _e({
|
|
|
7582
7590
|
return S === null || typeof S != "object" && typeof S != "function";
|
|
7583
7591
|
}
|
|
7584
7592
|
const E = { SmartValue: l, props: t, copy: o, getIcon: i, getColor: a, expansion: r, isDense: c, indentWidthRef: d, indentWidth: u, showAll: g, maxDisplay: qn, isTableable: b, viewMode: h, isExpanded: p, isHighlighted: x, isIndexHighlighted: y, isCellHighlighted: C, arrayValue: B, length: V, preview: A, displayedItems: j, hasMore: $, VIRTUAL_SCROLL_THRESHOLD: zo, virtualItemSize: pc, useVirtualScroll: K, virtualScrollItems: Y, dataColumns: Q, tableColumns: q, toggle: w, expandSubtree: R, collapseSubtree: O, copyArray: P, copyRow: W, copyItem: ae, isPrimitive: F, get buildPath() {
|
|
7585
|
-
return
|
|
7593
|
+
return Ge;
|
|
7586
7594
|
} };
|
|
7587
7595
|
return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
|
|
7588
7596
|
}
|
|
@@ -7613,7 +7621,7 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7613
7621
|
class: "header-toggle qv-clickable",
|
|
7614
7622
|
onClick: t.toggle
|
|
7615
7623
|
}, [
|
|
7616
|
-
|
|
7624
|
+
D(me, {
|
|
7617
7625
|
name: t.isExpanded ? "expand_more" : "chevron_right",
|
|
7618
7626
|
size: "16px",
|
|
7619
7627
|
class: "expand-icon"
|
|
@@ -7633,14 +7641,14 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7633
7641
|
/* TEXT */
|
|
7634
7642
|
)) : ee("v-if", !0),
|
|
7635
7643
|
t.isExpanded ? ee("v-if", !0) : (L(), Z("span", qc, "]")),
|
|
7636
|
-
|
|
7644
|
+
D(dt, {
|
|
7637
7645
|
dense: "",
|
|
7638
7646
|
size: "sm",
|
|
7639
7647
|
color: "primary",
|
|
7640
7648
|
"text-color": "white",
|
|
7641
7649
|
class: "length-chip"
|
|
7642
7650
|
}, {
|
|
7643
|
-
default:
|
|
7651
|
+
default: H(() => [
|
|
7644
7652
|
ce(
|
|
7645
7653
|
re(t.length),
|
|
7646
7654
|
1
|
|
@@ -7657,8 +7665,8 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7657
7665
|
flat: "",
|
|
7658
7666
|
class: "view-toggle"
|
|
7659
7667
|
}, {
|
|
7660
|
-
default:
|
|
7661
|
-
|
|
7668
|
+
default: H(() => [
|
|
7669
|
+
D(ve, {
|
|
7662
7670
|
flat: "",
|
|
7663
7671
|
dense: "",
|
|
7664
7672
|
size: "xs",
|
|
@@ -7666,9 +7674,9 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7666
7674
|
icon: "list",
|
|
7667
7675
|
onClick: n[0] || (n[0] = (a) => t.viewMode = "list")
|
|
7668
7676
|
}, {
|
|
7669
|
-
default:
|
|
7670
|
-
|
|
7671
|
-
default:
|
|
7677
|
+
default: H(() => [
|
|
7678
|
+
D(pe, null, {
|
|
7679
|
+
default: H(() => [...n[4] || (n[4] = [
|
|
7672
7680
|
ce(
|
|
7673
7681
|
"List view",
|
|
7674
7682
|
-1
|
|
@@ -7682,7 +7690,7 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7682
7690
|
_: 1
|
|
7683
7691
|
/* STABLE */
|
|
7684
7692
|
}, 8, ["color"]),
|
|
7685
|
-
|
|
7693
|
+
D(ve, {
|
|
7686
7694
|
flat: "",
|
|
7687
7695
|
dense: "",
|
|
7688
7696
|
size: "xs",
|
|
@@ -7690,9 +7698,9 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7690
7698
|
icon: "table_chart",
|
|
7691
7699
|
onClick: n[1] || (n[1] = (a) => t.viewMode = "table")
|
|
7692
7700
|
}, {
|
|
7693
|
-
default:
|
|
7694
|
-
|
|
7695
|
-
default:
|
|
7701
|
+
default: H(() => [
|
|
7702
|
+
D(pe, null, {
|
|
7703
|
+
default: H(() => [...n[5] || (n[5] = [
|
|
7696
7704
|
ce(
|
|
7697
7705
|
"Table view",
|
|
7698
7706
|
-1
|
|
@@ -7720,9 +7728,9 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7720
7728
|
class: "header-action-btn",
|
|
7721
7729
|
onClick: t.collapseSubtree
|
|
7722
7730
|
}, {
|
|
7723
|
-
default:
|
|
7724
|
-
|
|
7725
|
-
default:
|
|
7731
|
+
default: H(() => [
|
|
7732
|
+
D(pe, null, {
|
|
7733
|
+
default: H(() => [...n[6] || (n[6] = [
|
|
7726
7734
|
ce(
|
|
7727
7735
|
"Collapse all",
|
|
7728
7736
|
-1
|
|
@@ -7746,9 +7754,9 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7746
7754
|
class: "header-action-btn",
|
|
7747
7755
|
onClick: t.expandSubtree
|
|
7748
7756
|
}, {
|
|
7749
|
-
default:
|
|
7750
|
-
|
|
7751
|
-
default:
|
|
7757
|
+
default: H(() => [
|
|
7758
|
+
D(pe, null, {
|
|
7759
|
+
default: H(() => [...n[7] || (n[7] = [
|
|
7752
7760
|
ce(
|
|
7753
7761
|
"Expand all",
|
|
7754
7762
|
-1
|
|
@@ -7773,9 +7781,9 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7773
7781
|
class: "header-action-btn",
|
|
7774
7782
|
onClick: t.copyArray
|
|
7775
7783
|
}, {
|
|
7776
|
-
default:
|
|
7777
|
-
|
|
7778
|
-
default:
|
|
7784
|
+
default: H(() => [
|
|
7785
|
+
D(pe, null, {
|
|
7786
|
+
default: H(() => [...n[8] || (n[8] = [
|
|
7779
7787
|
ce(
|
|
7780
7788
|
"Copy array",
|
|
7781
7789
|
-1
|
|
@@ -7792,12 +7800,12 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7792
7800
|
])
|
|
7793
7801
|
]),
|
|
7794
7802
|
t.isExpanded ? (L(), Z(
|
|
7795
|
-
|
|
7803
|
+
Ze,
|
|
7796
7804
|
{ key: 0 },
|
|
7797
7805
|
[
|
|
7798
7806
|
ee(" Table View "),
|
|
7799
7807
|
t.viewMode === "table" && t.isTableable ? (L(), Z("div", Rc, [
|
|
7800
|
-
|
|
7808
|
+
D(_c, {
|
|
7801
7809
|
flat: "",
|
|
7802
7810
|
dense: "",
|
|
7803
7811
|
rows: t.arrayValue,
|
|
@@ -7811,17 +7819,17 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7811
7819
|
class: Pe(["array-table", { "virtual-table": t.useVirtualScroll }]),
|
|
7812
7820
|
style: _t(t.useVirtualScroll ? "max-height: 500px" : "")
|
|
7813
7821
|
}, {
|
|
7814
|
-
body:
|
|
7815
|
-
|
|
7822
|
+
body: H((a) => [
|
|
7823
|
+
D(Ru, {
|
|
7816
7824
|
props: a,
|
|
7817
7825
|
"data-qv-path": t.buildPath(l.context.path, a.row.__qv_index),
|
|
7818
7826
|
class: Pe({
|
|
7819
7827
|
"is-highlighted": t.isIndexHighlighted(a.row.__qv_index)
|
|
7820
7828
|
})
|
|
7821
7829
|
}, {
|
|
7822
|
-
default:
|
|
7830
|
+
default: H(() => [
|
|
7823
7831
|
(L(!0), Z(
|
|
7824
|
-
|
|
7832
|
+
Ze,
|
|
7825
7833
|
null,
|
|
7826
7834
|
bt(t.tableColumns, (r) => (L(), be(Cu, {
|
|
7827
7835
|
key: r.name,
|
|
@@ -7835,7 +7843,7 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7835
7843
|
"row-actions": r.name === "__actions__"
|
|
7836
7844
|
})
|
|
7837
7845
|
}, {
|
|
7838
|
-
default:
|
|
7846
|
+
default: H(() => [
|
|
7839
7847
|
r.name === "__actions__" ? (L(), be(ve, {
|
|
7840
7848
|
key: 0,
|
|
7841
7849
|
flat: "",
|
|
@@ -7844,13 +7852,13 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7844
7852
|
color: t.getColor(`row-${a.row.__qv_index}`) ?? "grey-7",
|
|
7845
7853
|
onClick: yt((c) => t.copyRow(a.row.__qv_index), ["stop"])
|
|
7846
7854
|
}, {
|
|
7847
|
-
default:
|
|
7848
|
-
|
|
7855
|
+
default: H(() => [
|
|
7856
|
+
D(me, {
|
|
7849
7857
|
name: t.getIcon(`row-${a.row.__qv_index}`),
|
|
7850
7858
|
size: "14px"
|
|
7851
7859
|
}, null, 8, ["name"]),
|
|
7852
|
-
|
|
7853
|
-
default:
|
|
7860
|
+
D(pe, null, {
|
|
7861
|
+
default: H(() => [...n[9] || (n[9] = [
|
|
7854
7862
|
ce(
|
|
7855
7863
|
"Copy row",
|
|
7856
7864
|
-1
|
|
@@ -7889,7 +7897,7 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7889
7897
|
/* STABLE */
|
|
7890
7898
|
}, 8, ["rows", "columns", "rows-per-page-options", "virtual-scroll", "rows-per-page-label", "class", "style"])
|
|
7891
7899
|
])) : (L(), Z(
|
|
7892
|
-
|
|
7900
|
+
Ze,
|
|
7893
7901
|
{ key: 1 },
|
|
7894
7902
|
[
|
|
7895
7903
|
ee(" List View "),
|
|
@@ -7910,7 +7918,7 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7910
7918
|
"virtual-scroll-item-size": t.virtualItemSize,
|
|
7911
7919
|
class: "virtual-scroll-container"
|
|
7912
7920
|
}, {
|
|
7913
|
-
default:
|
|
7921
|
+
default: H(({ item: a }) => [
|
|
7914
7922
|
(L(), Z("div", {
|
|
7915
7923
|
key: a.__qv_original_index,
|
|
7916
7924
|
class: Pe(["array-item qv-copy-target", {
|
|
@@ -7931,7 +7939,7 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7931
7939
|
class: Pe(["item-value", { "is-primitive": t.isPrimitive(a.__qv_value) }])
|
|
7932
7940
|
},
|
|
7933
7941
|
[
|
|
7934
|
-
|
|
7942
|
+
D(t.SmartValue, {
|
|
7935
7943
|
value: a.__qv_value,
|
|
7936
7944
|
path: t.buildPath(l.context.path, a.__qv_original_index),
|
|
7937
7945
|
depth: l.context.depth + 1,
|
|
@@ -7954,9 +7962,9 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7954
7962
|
class: "item-copy-btn",
|
|
7955
7963
|
onClick: yt((r) => t.copyItem(a.__qv_original_index), ["stop"])
|
|
7956
7964
|
}, {
|
|
7957
|
-
default:
|
|
7958
|
-
|
|
7959
|
-
default:
|
|
7965
|
+
default: H(() => [
|
|
7966
|
+
D(pe, null, {
|
|
7967
|
+
default: H(() => [...n[10] || (n[10] = [
|
|
7960
7968
|
ce(
|
|
7961
7969
|
"Copy item",
|
|
7962
7970
|
-1
|
|
@@ -7975,12 +7983,12 @@ function Oc(e, n, l, t, o, i) {
|
|
|
7975
7983
|
_: 1
|
|
7976
7984
|
/* STABLE */
|
|
7977
7985
|
}, 8, ["items"])) : (L(), Z(
|
|
7978
|
-
|
|
7986
|
+
Ze,
|
|
7979
7987
|
{ key: 1 },
|
|
7980
7988
|
[
|
|
7981
7989
|
ee(" Regular rendering for small arrays "),
|
|
7982
7990
|
(L(!0), Z(
|
|
7983
|
-
|
|
7991
|
+
Ze,
|
|
7984
7992
|
null,
|
|
7985
7993
|
bt(t.displayedItems, (a, r) => (L(), Z("div", {
|
|
7986
7994
|
key: r,
|
|
@@ -8000,7 +8008,7 @@ function Oc(e, n, l, t, o, i) {
|
|
|
8000
8008
|
class: Pe(["item-value", { "is-primitive": t.isPrimitive(a) }])
|
|
8001
8009
|
},
|
|
8002
8010
|
[
|
|
8003
|
-
|
|
8011
|
+
D(t.SmartValue, {
|
|
8004
8012
|
value: a,
|
|
8005
8013
|
path: t.buildPath(l.context.path, r),
|
|
8006
8014
|
depth: l.context.depth + 1,
|
|
@@ -8023,9 +8031,9 @@ function Oc(e, n, l, t, o, i) {
|
|
|
8023
8031
|
class: "item-copy-btn",
|
|
8024
8032
|
onClick: yt((c) => t.copyItem(r), ["stop"])
|
|
8025
8033
|
}, {
|
|
8026
|
-
default:
|
|
8027
|
-
|
|
8028
|
-
default:
|
|
8034
|
+
default: H(() => [
|
|
8035
|
+
D(pe, null, {
|
|
8036
|
+
default: H(() => [...n[11] || (n[11] = [
|
|
8029
8037
|
ce(
|
|
8030
8038
|
"Copy item",
|
|
8031
8039
|
-1
|
|
@@ -8044,13 +8052,13 @@ function Oc(e, n, l, t, o, i) {
|
|
|
8044
8052
|
/* KEYED_FRAGMENT */
|
|
8045
8053
|
)),
|
|
8046
8054
|
t.hasMore ? (L(), Z("div", Bc, [
|
|
8047
|
-
|
|
8055
|
+
D(ve, {
|
|
8048
8056
|
flat: "",
|
|
8049
8057
|
dense: "",
|
|
8050
8058
|
size: "sm",
|
|
8051
8059
|
onClick: n[2] || (n[2] = (a) => t.showAll = !0)
|
|
8052
8060
|
}, {
|
|
8053
|
-
default:
|
|
8061
|
+
default: H(() => [
|
|
8054
8062
|
ce(
|
|
8055
8063
|
" Show " + re(t.length - t.maxDisplay) + " more items... ",
|
|
8056
8064
|
1
|
|
@@ -8163,12 +8171,12 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8163
8171
|
onLeave: p
|
|
8164
8172
|
}, n.default);
|
|
8165
8173
|
}
|
|
8166
|
-
}), qt =
|
|
8174
|
+
}), qt = Da({}), Ic = Object.keys(Nl), Ct = _e({
|
|
8167
8175
|
name: "QExpansionItem",
|
|
8168
8176
|
props: {
|
|
8169
8177
|
...Nl,
|
|
8170
|
-
...
|
|
8171
|
-
...
|
|
8178
|
+
...Dn,
|
|
8179
|
+
...tt,
|
|
8172
8180
|
icon: String,
|
|
8173
8181
|
label: String,
|
|
8174
8182
|
labelLines: [Number, String],
|
|
@@ -8194,13 +8202,13 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8194
8202
|
headerClass: [Array, String, Object]
|
|
8195
8203
|
},
|
|
8196
8204
|
emits: [
|
|
8197
|
-
...
|
|
8205
|
+
...Hn,
|
|
8198
8206
|
"click",
|
|
8199
8207
|
"afterShow",
|
|
8200
8208
|
"afterHide"
|
|
8201
8209
|
],
|
|
8202
8210
|
setup(e, { slots: n, emit: l }) {
|
|
8203
|
-
const { proxy: { $q: t } } = ye(), o =
|
|
8211
|
+
const { proxy: { $q: t } } = ye(), o = nt(e, t), i = N(
|
|
8204
8212
|
e.modelValue !== null ? e.modelValue : e.defaultOpened
|
|
8205
8213
|
), a = N(null), r = Yo(), { show: c, hide: d, toggle: u } = Nn({ showing: i });
|
|
8206
8214
|
let g, b;
|
|
@@ -8333,7 +8341,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8333
8341
|
id: r.value
|
|
8334
8342
|
}, Ve(n.default)),
|
|
8335
8343
|
[[
|
|
8336
|
-
|
|
8344
|
+
Ha,
|
|
8337
8345
|
i.value
|
|
8338
8346
|
]]
|
|
8339
8347
|
);
|
|
@@ -8364,14 +8372,14 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8364
8372
|
v("div", { class: "q-expansion-item__container relative-position" }, ae())
|
|
8365
8373
|
]);
|
|
8366
8374
|
}
|
|
8367
|
-
}),
|
|
8375
|
+
}), Dc = /* @__PURE__ */ Te({
|
|
8368
8376
|
__name: "HttpResponseRenderer",
|
|
8369
8377
|
props: {
|
|
8370
8378
|
context: { type: Object, required: !0 }
|
|
8371
8379
|
},
|
|
8372
8380
|
setup(e, { expose: n }) {
|
|
8373
8381
|
n();
|
|
8374
|
-
const l = un(() => Promise.resolve().then(() => $n)), t = e, { copy: o, getIcon: i, getColor: a } = Qn(), r =
|
|
8382
|
+
const l = un(() => Promise.resolve().then(() => $n)), t = e, { copy: o, getIcon: i, getColor: a } = Qn(), r = et("quickview-expansion", null), c = N(!1), d = N(!0), u = N(!1), g = N(!1), b = N(!1), h = N("smart"), p = N("smart"), x = N("smart");
|
|
8375
8383
|
ie(d, (I) => {
|
|
8376
8384
|
if (I && r) {
|
|
8377
8385
|
const ge = t.context.path || "", $e = ge ? `${ge}.body` : "body";
|
|
@@ -8387,10 +8395,10 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8387
8395
|
I.startsWith(Be) && (d.value = !0, p.value = "smart");
|
|
8388
8396
|
const Se = ge ? `${ge}.text` : "text";
|
|
8389
8397
|
I.startsWith(Se) && (u.value = !0);
|
|
8390
|
-
const
|
|
8391
|
-
I.startsWith(
|
|
8392
|
-
const
|
|
8393
|
-
(I.startsWith(
|
|
8398
|
+
const Ye = ge ? `${ge}.timings` : "timings";
|
|
8399
|
+
I.startsWith(Ye) && (g.value = !0);
|
|
8400
|
+
const ot = ge ? `${ge}.raw.request` : "raw.request", Bt = ge ? `${ge}.request` : "request";
|
|
8401
|
+
(I.startsWith(ot) || I.startsWith(Bt)) && (b.value = !0, x.value = "smart");
|
|
8394
8402
|
},
|
|
8395
8403
|
{ immediate: !0 }
|
|
8396
8404
|
), ie(
|
|
@@ -8405,8 +8413,8 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8405
8413
|
u.value = r.state.expandedPaths.value[Be] === !0;
|
|
8406
8414
|
const Se = I ? `${I}.timings` : "timings";
|
|
8407
8415
|
g.value = r.state.expandedPaths.value[Se] === !0;
|
|
8408
|
-
const
|
|
8409
|
-
b.value = r.state.expandedPaths.value[
|
|
8416
|
+
const Ye = I ? `${I}.raw.request` : "raw.request", ot = I ? `${I}.request` : "request";
|
|
8417
|
+
b.value = r.state.expandedPaths.value[Ye] === !0 || r.state.expandedPaths.value[ot] === !0;
|
|
8410
8418
|
}
|
|
8411
8419
|
);
|
|
8412
8420
|
const y = s(() => t.context.value), C = s(() => {
|
|
@@ -8424,7 +8432,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8424
8432
|
}), j = s(() => {
|
|
8425
8433
|
const I = t.context.path || "";
|
|
8426
8434
|
return y.value.raw?.request ? I ? `${I}.raw.request` : "raw.request" : I ? `${I}.request` : "request";
|
|
8427
|
-
}), $ = s(() => A.value !== null), K = s(() =>
|
|
8435
|
+
}), $ = s(() => A.value !== null), K = s(() => Ge(j.value, "body")), Y = s(() => Ge(j.value, "headers")), Q = s(() => A.value?.headers ? Object.keys(A.value.headers).length : 0), q = s(() => A.value?.headers && Object.keys(A.value.headers).length > 0), w = s(() => {
|
|
8428
8436
|
const I = A.value?.body;
|
|
8429
8437
|
return I != null && I !== "";
|
|
8430
8438
|
}), R = s(() => {
|
|
@@ -8436,7 +8444,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8436
8444
|
});
|
|
8437
8445
|
function P(I) {
|
|
8438
8446
|
if (!r) return !1;
|
|
8439
|
-
const ge =
|
|
8447
|
+
const ge = Ge(C.value, I);
|
|
8440
8448
|
return r.state.highlightedPath.value === ge;
|
|
8441
8449
|
}
|
|
8442
8450
|
const W = s(() => _s(y.value.status)), ae = s(() => {
|
|
@@ -8518,7 +8526,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8518
8526
|
function ut() {
|
|
8519
8527
|
o(U.value, "text");
|
|
8520
8528
|
}
|
|
8521
|
-
function
|
|
8529
|
+
function He() {
|
|
8522
8530
|
o(y.value.url || "", "url");
|
|
8523
8531
|
}
|
|
8524
8532
|
function ct() {
|
|
@@ -8530,12 +8538,12 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
|
|
|
8530
8538
|
function We() {
|
|
8531
8539
|
o(A.value?.url || "", "request-url");
|
|
8532
8540
|
}
|
|
8533
|
-
const
|
|
8534
|
-
return
|
|
8541
|
+
const lt = { SmartValue: l, props: t, copy: o, getIcon: i, getColor: a, expansion: r, headersExpanded: c, bodyExpanded: d, textExpanded: u, timingsExpanded: g, requestExpanded: b, headersViewMode: h, bodyViewMode: p, requestViewMode: x, response: y, headersPath: C, bodyPath: B, textPath: V, requestData: A, requestPath: j, hasRequestData: $, requestBodyPath: K, requestHeadersPath: Y, requestHeaderCount: Q, hasRequestHeaders: q, hasRequestBody: w, rawRequestHeaders: R, rawRequestBody: O, isHeaderHighlighted: P, statusColor: W, statusIcon: ae, statusLabel: F, hasHeaders: E, headerCount: S, contentType: oe, bodySize: f, rawBody: _, hasText: z, textSize: M, responseText: U, rawHeaders: J, timing: G, timingPhases: fe, formatHeaderValue: X, copyHeaders: Re, copyBody: Fe, copyText: ut, copyUrl: He, copyRequestHeaders: ct, copyRequestBody: Ue, copyRequestUrl: We, get buildPath() {
|
|
8542
|
+
return Ge;
|
|
8535
8543
|
} };
|
|
8536
|
-
return Object.defineProperty(
|
|
8544
|
+
return Object.defineProperty(lt, "__isScriptSetup", { enumerable: !1, value: !0 }), lt;
|
|
8537
8545
|
}
|
|
8538
|
-
}),
|
|
8546
|
+
}), Hc = ["data-qv-path"], Nc = { class: "http-status-bar" }, $c = { class: "status-row" }, Uc = {
|
|
8539
8547
|
key: 0,
|
|
8540
8548
|
class: "response-timing"
|
|
8541
8549
|
}, Wc = {
|
|
@@ -8571,14 +8579,14 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8571
8579
|
ee(" Status Bar "),
|
|
8572
8580
|
T("div", Nc, [
|
|
8573
8581
|
T("div", $c, [
|
|
8574
|
-
|
|
8582
|
+
D(dt, {
|
|
8575
8583
|
dense: "",
|
|
8576
8584
|
color: t.statusColor,
|
|
8577
8585
|
"text-color": "white",
|
|
8578
8586
|
class: "status-chip"
|
|
8579
8587
|
}, {
|
|
8580
|
-
default:
|
|
8581
|
-
|
|
8588
|
+
default: H(() => [
|
|
8589
|
+
D(me, {
|
|
8582
8590
|
name: t.statusIcon,
|
|
8583
8591
|
size: "14px",
|
|
8584
8592
|
class: "q-mr-xs"
|
|
@@ -8593,7 +8601,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8593
8601
|
/* STABLE */
|
|
8594
8602
|
}, 8, ["color"]),
|
|
8595
8603
|
t.timing ? (L(), Z("span", Uc, [
|
|
8596
|
-
|
|
8604
|
+
D(me, {
|
|
8597
8605
|
name: "timer",
|
|
8598
8606
|
size: "12px"
|
|
8599
8607
|
}),
|
|
@@ -8619,7 +8627,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8619
8627
|
1
|
|
8620
8628
|
/* TEXT */
|
|
8621
8629
|
),
|
|
8622
|
-
|
|
8630
|
+
D(ve, {
|
|
8623
8631
|
flat: "",
|
|
8624
8632
|
dense: "",
|
|
8625
8633
|
round: "",
|
|
@@ -8629,9 +8637,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8629
8637
|
class: "url-copy-btn",
|
|
8630
8638
|
onClick: t.copyUrl
|
|
8631
8639
|
}, {
|
|
8632
|
-
default:
|
|
8633
|
-
|
|
8634
|
-
default:
|
|
8640
|
+
default: H(() => [
|
|
8641
|
+
D(pe, null, {
|
|
8642
|
+
default: H(() => [...n[11] || (n[11] = [
|
|
8635
8643
|
ce(
|
|
8636
8644
|
"Copy URL",
|
|
8637
8645
|
-1
|
|
@@ -8648,11 +8656,11 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8648
8656
|
])) : ee("v-if", !0)
|
|
8649
8657
|
]),
|
|
8650
8658
|
ee(" Sections "),
|
|
8651
|
-
|
|
8659
|
+
D(pa, {
|
|
8652
8660
|
class: "http-sections",
|
|
8653
8661
|
dense: ""
|
|
8654
8662
|
}, {
|
|
8655
|
-
default:
|
|
8663
|
+
default: H(() => [
|
|
8656
8664
|
ee(" Headers Section "),
|
|
8657
8665
|
t.hasHeaders ? (L(), be(Ct, {
|
|
8658
8666
|
key: 0,
|
|
@@ -8662,9 +8670,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8662
8670
|
"header-class": "section-header",
|
|
8663
8671
|
"expand-icon-class": "expand-icon"
|
|
8664
8672
|
}, {
|
|
8665
|
-
header:
|
|
8673
|
+
header: H(() => [
|
|
8666
8674
|
T("div", Xc, [
|
|
8667
|
-
|
|
8675
|
+
D(me, {
|
|
8668
8676
|
name: "list_alt",
|
|
8669
8677
|
size: "16px"
|
|
8670
8678
|
}),
|
|
@@ -8675,13 +8683,13 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8675
8683
|
-1
|
|
8676
8684
|
/* CACHED */
|
|
8677
8685
|
)),
|
|
8678
|
-
|
|
8686
|
+
D(dt, {
|
|
8679
8687
|
dense: "",
|
|
8680
8688
|
size: "sm",
|
|
8681
8689
|
color: "grey-3",
|
|
8682
8690
|
"text-color": "grey-8"
|
|
8683
8691
|
}, {
|
|
8684
|
-
default:
|
|
8692
|
+
default: H(() => [
|
|
8685
8693
|
ce(
|
|
8686
8694
|
re(t.headerCount),
|
|
8687
8695
|
1
|
|
@@ -8693,7 +8701,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8693
8701
|
})
|
|
8694
8702
|
])
|
|
8695
8703
|
]),
|
|
8696
|
-
default:
|
|
8704
|
+
default: H(() => [
|
|
8697
8705
|
T("div", {
|
|
8698
8706
|
class: "headers-content",
|
|
8699
8707
|
"data-qv-path": t.headersPath
|
|
@@ -8721,7 +8729,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8721
8729
|
/* CLASS */
|
|
8722
8730
|
)
|
|
8723
8731
|
]),
|
|
8724
|
-
|
|
8732
|
+
D(ve, {
|
|
8725
8733
|
flat: "",
|
|
8726
8734
|
dense: "",
|
|
8727
8735
|
round: "",
|
|
@@ -8730,9 +8738,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8730
8738
|
color: t.getColor("headers"),
|
|
8731
8739
|
onClick: t.copyHeaders
|
|
8732
8740
|
}, {
|
|
8733
|
-
default:
|
|
8734
|
-
|
|
8735
|
-
default:
|
|
8741
|
+
default: H(() => [
|
|
8742
|
+
D(pe, null, {
|
|
8743
|
+
default: H(() => [...n[13] || (n[13] = [
|
|
8736
8744
|
ce(
|
|
8737
8745
|
"Copy headers",
|
|
8738
8746
|
-1
|
|
@@ -8748,7 +8756,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8748
8756
|
}, 8, ["icon", "color"])
|
|
8749
8757
|
]),
|
|
8750
8758
|
t.headersViewMode === "smart" ? (L(!0), Z(
|
|
8751
|
-
|
|
8759
|
+
Ze,
|
|
8752
8760
|
{ key: 0 },
|
|
8753
8761
|
bt(t.response.headers, (a, r) => (L(), Z("div", {
|
|
8754
8762
|
key: r,
|
|
@@ -8785,16 +8793,16 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8785
8793
|
/* STABLE */
|
|
8786
8794
|
}, 8, ["modelValue"])) : ee("v-if", !0),
|
|
8787
8795
|
ee(" Body Section "),
|
|
8788
|
-
|
|
8796
|
+
D(Ct, {
|
|
8789
8797
|
modelValue: t.bodyExpanded,
|
|
8790
8798
|
"onUpdate:modelValue": n[5] || (n[5] = (a) => t.bodyExpanded = a),
|
|
8791
8799
|
dense: "",
|
|
8792
8800
|
"header-class": "section-header",
|
|
8793
8801
|
"expand-icon-class": "expand-icon"
|
|
8794
8802
|
}, {
|
|
8795
|
-
header:
|
|
8803
|
+
header: H(() => [
|
|
8796
8804
|
T("div", ld, [
|
|
8797
|
-
|
|
8805
|
+
D(me, {
|
|
8798
8806
|
name: "code",
|
|
8799
8807
|
size: "16px"
|
|
8800
8808
|
}),
|
|
@@ -8812,7 +8820,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8812
8820
|
color: "grey-3",
|
|
8813
8821
|
"text-color": "grey-8"
|
|
8814
8822
|
}, {
|
|
8815
|
-
default:
|
|
8823
|
+
default: H(() => [
|
|
8816
8824
|
ce(
|
|
8817
8825
|
re(t.contentType),
|
|
8818
8826
|
1
|
|
@@ -8829,7 +8837,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8829
8837
|
color: "grey-3",
|
|
8830
8838
|
"text-color": "grey-8"
|
|
8831
8839
|
}, {
|
|
8832
|
-
default:
|
|
8840
|
+
default: H(() => [
|
|
8833
8841
|
ce(
|
|
8834
8842
|
re(t.bodySize),
|
|
8835
8843
|
1
|
|
@@ -8841,7 +8849,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8841
8849
|
})) : ee("v-if", !0)
|
|
8842
8850
|
])
|
|
8843
8851
|
]),
|
|
8844
|
-
default:
|
|
8852
|
+
default: H(() => [
|
|
8845
8853
|
T("div", od, [
|
|
8846
8854
|
T("div", ad, [
|
|
8847
8855
|
T("div", rd, [
|
|
@@ -8866,7 +8874,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8866
8874
|
/* CLASS */
|
|
8867
8875
|
)
|
|
8868
8876
|
]),
|
|
8869
|
-
|
|
8877
|
+
D(ve, {
|
|
8870
8878
|
flat: "",
|
|
8871
8879
|
dense: "",
|
|
8872
8880
|
round: "",
|
|
@@ -8875,9 +8883,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8875
8883
|
color: t.getColor("body"),
|
|
8876
8884
|
onClick: t.copyBody
|
|
8877
8885
|
}, {
|
|
8878
|
-
default:
|
|
8879
|
-
|
|
8880
|
-
default:
|
|
8886
|
+
default: H(() => [
|
|
8887
|
+
D(pe, null, {
|
|
8888
|
+
default: H(() => [...n[15] || (n[15] = [
|
|
8881
8889
|
ce(
|
|
8882
8890
|
"Copy body",
|
|
8883
8891
|
-1
|
|
@@ -8924,9 +8932,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8924
8932
|
"header-class": "section-header",
|
|
8925
8933
|
"expand-icon-class": "expand-icon"
|
|
8926
8934
|
}, {
|
|
8927
|
-
header:
|
|
8935
|
+
header: H(() => [
|
|
8928
8936
|
T("div", ud, [
|
|
8929
|
-
|
|
8937
|
+
D(me, {
|
|
8930
8938
|
name: "article",
|
|
8931
8939
|
size: "16px"
|
|
8932
8940
|
}),
|
|
@@ -8944,7 +8952,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8944
8952
|
color: "grey-3",
|
|
8945
8953
|
"text-color": "grey-8"
|
|
8946
8954
|
}, {
|
|
8947
|
-
default:
|
|
8955
|
+
default: H(() => [
|
|
8948
8956
|
ce(
|
|
8949
8957
|
re(t.textSize),
|
|
8950
8958
|
1
|
|
@@ -8956,7 +8964,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8956
8964
|
})) : ee("v-if", !0)
|
|
8957
8965
|
])
|
|
8958
8966
|
]),
|
|
8959
|
-
default:
|
|
8967
|
+
default: H(() => [
|
|
8960
8968
|
T("div", cd, [
|
|
8961
8969
|
T("div", dd, [
|
|
8962
8970
|
n[18] || (n[18] = T(
|
|
@@ -8966,7 +8974,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8966
8974
|
-1
|
|
8967
8975
|
/* CACHED */
|
|
8968
8976
|
)),
|
|
8969
|
-
|
|
8977
|
+
D(ve, {
|
|
8970
8978
|
flat: "",
|
|
8971
8979
|
dense: "",
|
|
8972
8980
|
round: "",
|
|
@@ -8975,9 +8983,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8975
8983
|
color: t.getColor("text"),
|
|
8976
8984
|
onClick: t.copyText
|
|
8977
8985
|
}, {
|
|
8978
|
-
default:
|
|
8979
|
-
|
|
8980
|
-
default:
|
|
8986
|
+
default: H(() => [
|
|
8987
|
+
D(pe, null, {
|
|
8988
|
+
default: H(() => [...n[17] || (n[17] = [
|
|
8981
8989
|
ce(
|
|
8982
8990
|
"Copy text",
|
|
8983
8991
|
-1
|
|
@@ -8996,7 +9004,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
8996
9004
|
class: "text-view",
|
|
8997
9005
|
"data-qv-path": t.textPath
|
|
8998
9006
|
}, [
|
|
8999
|
-
|
|
9007
|
+
D(t.SmartValue, {
|
|
9000
9008
|
value: t.response.text,
|
|
9001
9009
|
path: t.textPath,
|
|
9002
9010
|
depth: l.context.depth + 1,
|
|
@@ -9017,9 +9025,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9017
9025
|
"header-class": "section-header",
|
|
9018
9026
|
"expand-icon-class": "expand-icon"
|
|
9019
9027
|
}, {
|
|
9020
|
-
header:
|
|
9028
|
+
header: H(() => [
|
|
9021
9029
|
T("div", vd, [
|
|
9022
|
-
|
|
9030
|
+
D(me, {
|
|
9023
9031
|
name: "speed",
|
|
9024
9032
|
size: "16px"
|
|
9025
9033
|
}),
|
|
@@ -9032,11 +9040,11 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9032
9040
|
))
|
|
9033
9041
|
])
|
|
9034
9042
|
]),
|
|
9035
|
-
default:
|
|
9043
|
+
default: H(() => [
|
|
9036
9044
|
T("div", hd, [
|
|
9037
9045
|
T("div", md, [
|
|
9038
9046
|
(L(!0), Z(
|
|
9039
|
-
|
|
9047
|
+
Ze,
|
|
9040
9048
|
null,
|
|
9041
9049
|
bt(t.timingPhases, (a) => (L(), Z("div", {
|
|
9042
9050
|
key: a.name,
|
|
@@ -9050,7 +9058,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9050
9058
|
]),
|
|
9051
9059
|
T("div", bd, [
|
|
9052
9060
|
(L(!0), Z(
|
|
9053
|
-
|
|
9061
|
+
Ze,
|
|
9054
9062
|
null,
|
|
9055
9063
|
bt(t.timingPhases, (a) => (L(), Z("div", {
|
|
9056
9064
|
key: a.name,
|
|
@@ -9099,9 +9107,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9099
9107
|
"header-class": "section-header",
|
|
9100
9108
|
"expand-icon-class": "expand-icon"
|
|
9101
9109
|
}, {
|
|
9102
|
-
header:
|
|
9110
|
+
header: H(() => [
|
|
9103
9111
|
T("div", pd, [
|
|
9104
|
-
|
|
9112
|
+
D(me, {
|
|
9105
9113
|
name: "upload",
|
|
9106
9114
|
size: "16px"
|
|
9107
9115
|
}),
|
|
@@ -9119,7 +9127,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9119
9127
|
color: "grey-3",
|
|
9120
9128
|
"text-color": "grey-8"
|
|
9121
9129
|
}, {
|
|
9122
|
-
default:
|
|
9130
|
+
default: H(() => [
|
|
9123
9131
|
ce(
|
|
9124
9132
|
re(t.requestData.method),
|
|
9125
9133
|
1
|
|
@@ -9131,7 +9139,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9131
9139
|
})) : ee("v-if", !0)
|
|
9132
9140
|
])
|
|
9133
9141
|
]),
|
|
9134
|
-
default:
|
|
9142
|
+
default: H(() => [
|
|
9135
9143
|
T("div", {
|
|
9136
9144
|
class: "request-content",
|
|
9137
9145
|
"data-qv-path": t.requestPath
|
|
@@ -9145,7 +9153,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9145
9153
|
1
|
|
9146
9154
|
/* TEXT */
|
|
9147
9155
|
),
|
|
9148
|
-
|
|
9156
|
+
D(ve, {
|
|
9149
9157
|
flat: "",
|
|
9150
9158
|
dense: "",
|
|
9151
9159
|
round: "",
|
|
@@ -9155,9 +9163,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9155
9163
|
class: "url-copy-btn",
|
|
9156
9164
|
onClick: t.copyRequestUrl
|
|
9157
9165
|
}, {
|
|
9158
|
-
default:
|
|
9159
|
-
|
|
9160
|
-
default:
|
|
9166
|
+
default: H(() => [
|
|
9167
|
+
D(pe, null, {
|
|
9168
|
+
default: H(() => [...n[21] || (n[21] = [
|
|
9161
9169
|
ce(
|
|
9162
9170
|
"Copy request URL",
|
|
9163
9171
|
-1
|
|
@@ -9182,13 +9190,13 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9182
9190
|
-1
|
|
9183
9191
|
/* CACHED */
|
|
9184
9192
|
)),
|
|
9185
|
-
|
|
9193
|
+
D(dt, {
|
|
9186
9194
|
dense: "",
|
|
9187
9195
|
size: "sm",
|
|
9188
9196
|
color: "grey-3",
|
|
9189
9197
|
"text-color": "grey-8"
|
|
9190
9198
|
}, {
|
|
9191
|
-
default:
|
|
9199
|
+
default: H(() => [
|
|
9192
9200
|
ce(
|
|
9193
9201
|
re(t.requestHeaderCount),
|
|
9194
9202
|
1
|
|
@@ -9221,7 +9229,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9221
9229
|
/* CLASS */
|
|
9222
9230
|
)
|
|
9223
9231
|
]),
|
|
9224
|
-
|
|
9232
|
+
D(ve, {
|
|
9225
9233
|
flat: "",
|
|
9226
9234
|
dense: "",
|
|
9227
9235
|
round: "",
|
|
@@ -9230,9 +9238,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9230
9238
|
color: t.getColor("request-headers"),
|
|
9231
9239
|
onClick: t.copyRequestHeaders
|
|
9232
9240
|
}, {
|
|
9233
|
-
default:
|
|
9234
|
-
|
|
9235
|
-
default:
|
|
9241
|
+
default: H(() => [
|
|
9242
|
+
D(pe, null, {
|
|
9243
|
+
default: H(() => [...n[22] || (n[22] = [
|
|
9236
9244
|
ce(
|
|
9237
9245
|
"Copy request headers",
|
|
9238
9246
|
-1
|
|
@@ -9249,7 +9257,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9249
9257
|
])
|
|
9250
9258
|
]),
|
|
9251
9259
|
t.requestViewMode === "smart" ? (L(!0), Z(
|
|
9252
|
-
|
|
9260
|
+
Ze,
|
|
9253
9261
|
{ key: 0 },
|
|
9254
9262
|
bt(t.requestData?.headers, (a, r) => (L(), Z("div", {
|
|
9255
9263
|
key: r,
|
|
@@ -9292,7 +9300,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9292
9300
|
/* CACHED */
|
|
9293
9301
|
)),
|
|
9294
9302
|
T("div", Md, [
|
|
9295
|
-
|
|
9303
|
+
D(ve, {
|
|
9296
9304
|
flat: "",
|
|
9297
9305
|
dense: "",
|
|
9298
9306
|
round: "",
|
|
@@ -9301,9 +9309,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9301
9309
|
color: t.getColor("request-body"),
|
|
9302
9310
|
onClick: t.copyRequestBody
|
|
9303
9311
|
}, {
|
|
9304
|
-
default:
|
|
9305
|
-
|
|
9306
|
-
default:
|
|
9312
|
+
default: H(() => [
|
|
9313
|
+
D(pe, null, {
|
|
9314
|
+
default: H(() => [...n[24] || (n[24] = [
|
|
9307
9315
|
ce(
|
|
9308
9316
|
"Copy request body",
|
|
9309
9317
|
-1
|
|
@@ -9323,7 +9331,7 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9323
9331
|
class: "request-body-view",
|
|
9324
9332
|
"data-qv-path": t.requestBodyPath
|
|
9325
9333
|
}, [
|
|
9326
|
-
|
|
9334
|
+
D(t.SmartValue, {
|
|
9327
9335
|
value: t.requestData?.body,
|
|
9328
9336
|
path: t.requestBodyPath,
|
|
9329
9337
|
depth: l.context.depth + 1,
|
|
@@ -9340,9 +9348,9 @@ function Ld(e, n, l, t, o, i) {
|
|
|
9340
9348
|
_: 1
|
|
9341
9349
|
/* STABLE */
|
|
9342
9350
|
})
|
|
9343
|
-
], 8,
|
|
9351
|
+
], 8, Hc);
|
|
9344
9352
|
}
|
|
9345
|
-
const zd = /* @__PURE__ */ Ae(
|
|
9353
|
+
const zd = /* @__PURE__ */ Ae(Dc, [["render", Ld], ["__scopeId", "data-v-7227aa88"], ["__file", "/Users/zachsherbondy/src/github.com/quickview/renderers/domain/HttpResponseRenderer.vue"]]), jd = _e({
|
|
9346
9354
|
name: "QSpace",
|
|
9347
9355
|
setup() {
|
|
9348
9356
|
const e = v("div", { class: "q-space" });
|
|
@@ -9366,7 +9374,7 @@ const zd = /* @__PURE__ */ Ae(Hc, [["render", Ld], ["__scopeId", "data-v-7227aa8
|
|
|
9366
9374
|
}), Fd = _e({
|
|
9367
9375
|
name: "QCard",
|
|
9368
9376
|
props: {
|
|
9369
|
-
...
|
|
9377
|
+
...tt,
|
|
9370
9378
|
tag: {
|
|
9371
9379
|
type: String,
|
|
9372
9380
|
default: "div"
|
|
@@ -9376,7 +9384,7 @@ const zd = /* @__PURE__ */ Ae(Hc, [["render", Ld], ["__scopeId", "data-v-7227aa8
|
|
|
9376
9384
|
bordered: Boolean
|
|
9377
9385
|
},
|
|
9378
9386
|
setup(e, { slots: n }) {
|
|
9379
|
-
const { proxy: { $q: l } } = ye(), t =
|
|
9387
|
+
const { proxy: { $q: l } } = ye(), t = nt(e, l), o = s(
|
|
9380
9388
|
() => "q-card" + (t.value === !0 ? " q-card--dark q-dark" : "") + (e.bordered === !0 ? " q-card--bordered" : "") + (e.square === !0 ? " q-card--square no-border-radius" : "") + (e.flat === !0 ? " q-card--flat no-shadow" : "")
|
|
9381
9389
|
);
|
|
9382
9390
|
return () => v(e.tag, { class: o.value }, Ve(n.default));
|
|
@@ -9416,7 +9424,7 @@ const Id = $o(
|
|
|
9416
9424
|
e.removeEventListener("click", n.handler), e.removeEventListener("keyup", n.handlerKey), delete e.__qclosepopup;
|
|
9417
9425
|
}
|
|
9418
9426
|
}
|
|
9419
|
-
),
|
|
9427
|
+
), Dd = /* @__PURE__ */ Te({
|
|
9420
9428
|
__name: "FileObjectRenderer",
|
|
9421
9429
|
props: {
|
|
9422
9430
|
context: { type: Object, required: !0 }
|
|
@@ -9512,7 +9520,7 @@ const Id = $o(
|
|
|
9512
9520
|
const Y = { props: l, $q: t, showContent: o, showFullImage: i, isDownloading: a, file: r, fileName: c, fileSize: d, mimeType: u, mimeCategory: g, mimeLabel: b, mimeColor: h, fileIcon: p, truncatedUrl: x, canPreview: y, previewUrl: C, decodedContent: B, togglePreview: V, isCloudStorageUrl: A, canDownload: j, downloadFile: $, copyUrl: K };
|
|
9513
9521
|
return Object.defineProperty(Y, "__isScriptSetup", { enumerable: !1, value: !0 }), Y;
|
|
9514
9522
|
}
|
|
9515
|
-
}),
|
|
9523
|
+
}), Hd = ["data-qv-path"], Nd = { class: "file-card" }, $d = ["src"], Ud = { class: "file-info" }, Wd = ["title"], Kd = { class: "file-meta" }, Qd = {
|
|
9516
9524
|
key: 0,
|
|
9517
9525
|
class: "file-size"
|
|
9518
9526
|
}, Xd = ["title"], Gd = { class: "file-actions" }, Yd = {
|
|
@@ -9554,13 +9562,13 @@ function nf(e, n, l, t, o, i) {
|
|
|
9554
9562
|
title: t.fileName
|
|
9555
9563
|
}, re(t.fileName), 9, Wd),
|
|
9556
9564
|
T("div", Kd, [
|
|
9557
|
-
|
|
9565
|
+
D(dt, {
|
|
9558
9566
|
dense: "",
|
|
9559
9567
|
size: "sm",
|
|
9560
9568
|
color: t.mimeColor,
|
|
9561
9569
|
"text-color": "white"
|
|
9562
9570
|
}, {
|
|
9563
|
-
default:
|
|
9571
|
+
default: H(() => [
|
|
9564
9572
|
ce(
|
|
9565
9573
|
re(t.mimeLabel),
|
|
9566
9574
|
1
|
|
@@ -9596,9 +9604,9 @@ function nf(e, n, l, t, o, i) {
|
|
|
9596
9604
|
disable: t.isDownloading,
|
|
9597
9605
|
onClick: t.downloadFile
|
|
9598
9606
|
}, {
|
|
9599
|
-
default:
|
|
9607
|
+
default: H(() => [
|
|
9600
9608
|
t.isDownloading ? ee("v-if", !0) : (L(), be(pe, { key: 0 }, {
|
|
9601
|
-
default:
|
|
9609
|
+
default: H(() => [...n[3] || (n[3] = [
|
|
9602
9610
|
ce(
|
|
9603
9611
|
"Download",
|
|
9604
9612
|
-1
|
|
@@ -9620,9 +9628,9 @@ function nf(e, n, l, t, o, i) {
|
|
|
9620
9628
|
icon: "visibility",
|
|
9621
9629
|
onClick: t.togglePreview
|
|
9622
9630
|
}, {
|
|
9623
|
-
default:
|
|
9624
|
-
|
|
9625
|
-
default:
|
|
9631
|
+
default: H(() => [
|
|
9632
|
+
D(pe, null, {
|
|
9633
|
+
default: H(() => [
|
|
9626
9634
|
ce(
|
|
9627
9635
|
re(t.showContent ? "Hide" : "Preview"),
|
|
9628
9636
|
1
|
|
@@ -9644,9 +9652,9 @@ function nf(e, n, l, t, o, i) {
|
|
|
9644
9652
|
icon: "content_copy",
|
|
9645
9653
|
onClick: t.copyUrl
|
|
9646
9654
|
}, {
|
|
9647
|
-
default:
|
|
9648
|
-
|
|
9649
|
-
default:
|
|
9655
|
+
default: H(() => [
|
|
9656
|
+
D(pe, null, {
|
|
9657
|
+
default: H(() => [...n[4] || (n[4] = [
|
|
9650
9658
|
ce(
|
|
9651
9659
|
"Copy URL",
|
|
9652
9660
|
-1
|
|
@@ -9672,7 +9680,7 @@ function nf(e, n, l, t, o, i) {
|
|
|
9672
9680
|
-1
|
|
9673
9681
|
/* CACHED */
|
|
9674
9682
|
)),
|
|
9675
|
-
|
|
9683
|
+
D(ve, {
|
|
9676
9684
|
flat: "",
|
|
9677
9685
|
dense: "",
|
|
9678
9686
|
size: "xs",
|
|
@@ -9689,15 +9697,15 @@ function nf(e, n, l, t, o, i) {
|
|
|
9689
9697
|
)
|
|
9690
9698
|
])) : ee("v-if", !0),
|
|
9691
9699
|
ee(" Full Image Dialog "),
|
|
9692
|
-
|
|
9700
|
+
D(Ta, {
|
|
9693
9701
|
modelValue: t.showFullImage,
|
|
9694
9702
|
"onUpdate:modelValue": n[2] || (n[2] = (a) => t.showFullImage = a)
|
|
9695
9703
|
}, {
|
|
9696
|
-
default:
|
|
9697
|
-
|
|
9698
|
-
default:
|
|
9699
|
-
|
|
9700
|
-
default:
|
|
9704
|
+
default: H(() => [
|
|
9705
|
+
D(Fd, { class: "image-dialog" }, {
|
|
9706
|
+
default: H(() => [
|
|
9707
|
+
D(Fo, { class: "row items-center q-pb-none" }, {
|
|
9708
|
+
default: H(() => [
|
|
9701
9709
|
T(
|
|
9702
9710
|
"div",
|
|
9703
9711
|
ef,
|
|
@@ -9705,8 +9713,8 @@ function nf(e, n, l, t, o, i) {
|
|
|
9705
9713
|
1
|
|
9706
9714
|
/* TEXT */
|
|
9707
9715
|
),
|
|
9708
|
-
|
|
9709
|
-
zn(
|
|
9716
|
+
D(jd),
|
|
9717
|
+
zn(D(
|
|
9710
9718
|
ve,
|
|
9711
9719
|
{
|
|
9712
9720
|
icon: "close",
|
|
@@ -9724,8 +9732,8 @@ function nf(e, n, l, t, o, i) {
|
|
|
9724
9732
|
_: 1
|
|
9725
9733
|
/* STABLE */
|
|
9726
9734
|
}),
|
|
9727
|
-
|
|
9728
|
-
default:
|
|
9735
|
+
D(Fo, null, {
|
|
9736
|
+
default: H(() => [
|
|
9729
9737
|
T("img", {
|
|
9730
9738
|
src: t.previewUrl ?? void 0,
|
|
9731
9739
|
alt: t.fileName,
|
|
@@ -9743,16 +9751,16 @@ function nf(e, n, l, t, o, i) {
|
|
|
9743
9751
|
_: 1
|
|
9744
9752
|
/* STABLE */
|
|
9745
9753
|
}, 8, ["modelValue"])
|
|
9746
|
-
], 8,
|
|
9754
|
+
], 8, Hd);
|
|
9747
9755
|
}
|
|
9748
|
-
const lf = /* @__PURE__ */ Ae(
|
|
9756
|
+
const lf = /* @__PURE__ */ Ae(Dd, [["render", nf], ["__scopeId", "data-v-8c9554b5"], ["__file", "/Users/zachsherbondy/src/github.com/quickview/renderers/domain/FileObjectRenderer.vue"]]), of = /* @__PURE__ */ Te({
|
|
9749
9757
|
__name: "ErrorObjectRenderer",
|
|
9750
9758
|
props: {
|
|
9751
9759
|
context: { type: Object, required: !0 }
|
|
9752
9760
|
},
|
|
9753
9761
|
setup(e, { expose: n }) {
|
|
9754
9762
|
n();
|
|
9755
|
-
const l = un(() => Promise.resolve().then(() => $n)), t = e, o =
|
|
9763
|
+
const l = un(() => Promise.resolve().then(() => $n)), t = e, o = et("quickview-expansion", null), i = N(!1), a = N(!1), r = s(() => t.context.path || ""), c = s(() => {
|
|
9756
9764
|
const B = t.context.value;
|
|
9757
9765
|
return "details" in B && B.details != null ? r.value ? `${r.value}.details` : "details" : r.value;
|
|
9758
9766
|
}), d = s(() => o ? o.state.highlightedPath.value === r.value : !1);
|
|
@@ -9783,7 +9791,7 @@ function ff(e, n, l, t, o, i) {
|
|
|
9783
9791
|
"data-qv-path": l.context.path
|
|
9784
9792
|
}, [
|
|
9785
9793
|
T("div", rf, [
|
|
9786
|
-
|
|
9794
|
+
D(me, {
|
|
9787
9795
|
name: "error",
|
|
9788
9796
|
color: "negative",
|
|
9789
9797
|
size: "20px"
|
|
@@ -9818,7 +9826,7 @@ function ff(e, n, l, t, o, i) {
|
|
|
9818
9826
|
label: "Stack Trace",
|
|
9819
9827
|
"header-class": "stack-header"
|
|
9820
9828
|
}, {
|
|
9821
|
-
default:
|
|
9829
|
+
default: H(() => [
|
|
9822
9830
|
T(
|
|
9823
9831
|
"pre",
|
|
9824
9832
|
cf,
|
|
@@ -9838,9 +9846,9 @@ function ff(e, n, l, t, o, i) {
|
|
|
9838
9846
|
label: "Additional Details",
|
|
9839
9847
|
"header-class": "details-header"
|
|
9840
9848
|
}, {
|
|
9841
|
-
default:
|
|
9849
|
+
default: H(() => [
|
|
9842
9850
|
T("div", df, [
|
|
9843
|
-
|
|
9851
|
+
D(t.SmartValue, {
|
|
9844
9852
|
value: t.errorDetails,
|
|
9845
9853
|
path: t.detailsPath,
|
|
9846
9854
|
depth: l.context.depth + 1,
|
|
@@ -9857,7 +9865,7 @@ function ff(e, n, l, t, o, i) {
|
|
|
9857
9865
|
const vf = /* @__PURE__ */ Ae(of, [["render", ff], ["__scopeId", "data-v-3f124526"], ["__file", "/Users/zachsherbondy/src/github.com/quickview/renderers/domain/ErrorObjectRenderer.vue"]]);
|
|
9858
9866
|
function Oa() {
|
|
9859
9867
|
const e = new Un();
|
|
9860
|
-
return e.register("http-response", zd, Ai), e.register("file-object", lf, Li), e.register("error-object", vf, zi), e.register("url", us, qi), e.register("email", hs, Ci), e.register("date-string", xo, Ri), e.register("color", Ps, Pi), e.register("json-string", Js, Ti), e.register("html-string", su, Bi), e.register("base64", Us, Ei), e.register("long-string", As, Vi), e.register("empty-array", jo, Oi), e.register("empty-object", jo, Mi), e.register("array", Mc, bi), e.register("object", ku, _a), e.register("date-object", xo, ji), e.register("null",
|
|
9868
|
+
return e.register("http-response", zd, Ai), e.register("file-object", lf, Li), e.register("error-object", vf, zi), e.register("url", us, qi), e.register("email", hs, Ci), e.register("date-string", xo, Ri), e.register("color", Ps, Pi), e.register("json-string", Js, Ti), e.register("html-string", su, Bi), e.register("base64", Us, Ei), e.register("long-string", As, Vi), e.register("empty-array", jo, Oi), e.register("empty-object", jo, Mi), e.register("array", Mc, bi), e.register("object", ku, _a), e.register("date-object", xo, ji), e.register("null", Hi, fi), e.register("undefined", Wi, vi), e.register("boolean", Xi, hi), e.register("number", Zi, mi), e.register("string", os, gi), e;
|
|
9861
9869
|
}
|
|
9862
9870
|
Oa();
|
|
9863
9871
|
function hf(e = 2) {
|
|
@@ -9918,13 +9926,13 @@ function hf(e = 2) {
|
|
|
9918
9926
|
if (!(d >= u)) {
|
|
9919
9927
|
if (Array.isArray(r))
|
|
9920
9928
|
c && (g[c] = !0), r.forEach((b, h) => {
|
|
9921
|
-
const p = c
|
|
9929
|
+
const p = Ge(c, h);
|
|
9922
9930
|
a(b, p, d + 1, u, g);
|
|
9923
9931
|
});
|
|
9924
9932
|
else if (typeof r == "object" && r !== null) {
|
|
9925
9933
|
c && (g[c] = !0);
|
|
9926
9934
|
for (const b of Object.keys(r)) {
|
|
9927
|
-
const h = c
|
|
9935
|
+
const h = Ge(c, b);
|
|
9928
9936
|
a(r[b], h, d + 1, u, g);
|
|
9929
9937
|
}
|
|
9930
9938
|
}
|
|
@@ -10129,7 +10137,7 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10129
10137
|
T("div", yf, [
|
|
10130
10138
|
ee(" Search (on the left for primary access) "),
|
|
10131
10139
|
t.showSearch ? (L(), Z("div", _f, [
|
|
10132
|
-
|
|
10140
|
+
D(Pr, {
|
|
10133
10141
|
ref: "searchInputRef",
|
|
10134
10142
|
modelValue: t.searchQuery,
|
|
10135
10143
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.searchQuery = a),
|
|
@@ -10147,8 +10155,8 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10147
10155
|
n[4] || (n[4] = bn(yt((a) => t.navigateResults(-1), ["prevent"]), ["up"]))
|
|
10148
10156
|
]
|
|
10149
10157
|
}, Na({
|
|
10150
|
-
prepend:
|
|
10151
|
-
|
|
10158
|
+
prepend: H(() => [
|
|
10159
|
+
D(me, {
|
|
10152
10160
|
name: "search",
|
|
10153
10161
|
size: t.isDense ? "12px" : "18px"
|
|
10154
10162
|
}, null, 8, ["size"])
|
|
@@ -10158,8 +10166,8 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10158
10166
|
}, [
|
|
10159
10167
|
t.searchQuery ? {
|
|
10160
10168
|
name: "append",
|
|
10161
|
-
fn:
|
|
10162
|
-
|
|
10169
|
+
fn: H(() => [
|
|
10170
|
+
D(me, {
|
|
10163
10171
|
name: "close",
|
|
10164
10172
|
size: t.isDense ? "12px" : "18px",
|
|
10165
10173
|
class: "cursor-pointer",
|
|
@@ -10184,7 +10192,7 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10184
10192
|
Sf,
|
|
10185
10193
|
[
|
|
10186
10194
|
(L(!0), Z(
|
|
10187
|
-
|
|
10195
|
+
Ze,
|
|
10188
10196
|
null,
|
|
10189
10197
|
bt(t.searchResults.slice(0, 20), (a, r) => (L(), Z("div", {
|
|
10190
10198
|
key: a.path,
|
|
@@ -10219,7 +10227,7 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10219
10227
|
]),
|
|
10220
10228
|
ee(" Actions (right) "),
|
|
10221
10229
|
T("div", Rf, [
|
|
10222
|
-
|
|
10230
|
+
D(ve, {
|
|
10223
10231
|
flat: "",
|
|
10224
10232
|
dense: "",
|
|
10225
10233
|
size: t.isDense ? "sm" : "md",
|
|
@@ -10227,9 +10235,9 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10227
10235
|
color: t.getColor("__all__"),
|
|
10228
10236
|
onClick: t.copyAll
|
|
10229
10237
|
}, {
|
|
10230
|
-
default:
|
|
10231
|
-
|
|
10232
|
-
default:
|
|
10238
|
+
default: H(() => [
|
|
10239
|
+
D(pe, null, {
|
|
10240
|
+
default: H(() => [...n[5] || (n[5] = [
|
|
10233
10241
|
ce(
|
|
10234
10242
|
"Copy all",
|
|
10235
10243
|
-1
|
|
@@ -10243,16 +10251,16 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10243
10251
|
_: 1
|
|
10244
10252
|
/* STABLE */
|
|
10245
10253
|
}, 8, ["size", "icon", "color"]),
|
|
10246
|
-
|
|
10254
|
+
D(ve, {
|
|
10247
10255
|
flat: "",
|
|
10248
10256
|
dense: "",
|
|
10249
10257
|
size: t.isDense ? "sm" : "md",
|
|
10250
10258
|
icon: "unfold_less",
|
|
10251
10259
|
onClick: t.doCollapseAll
|
|
10252
10260
|
}, {
|
|
10253
|
-
default:
|
|
10254
|
-
|
|
10255
|
-
default:
|
|
10261
|
+
default: H(() => [
|
|
10262
|
+
D(pe, null, {
|
|
10263
|
+
default: H(() => [...n[6] || (n[6] = [
|
|
10256
10264
|
ce(
|
|
10257
10265
|
"Collapse all",
|
|
10258
10266
|
-1
|
|
@@ -10266,16 +10274,16 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10266
10274
|
_: 1
|
|
10267
10275
|
/* STABLE */
|
|
10268
10276
|
}, 8, ["size"]),
|
|
10269
|
-
|
|
10277
|
+
D(ve, {
|
|
10270
10278
|
flat: "",
|
|
10271
10279
|
dense: "",
|
|
10272
10280
|
size: t.isDense ? "sm" : "md",
|
|
10273
10281
|
icon: "unfold_more",
|
|
10274
10282
|
onClick: t.doExpandAll
|
|
10275
10283
|
}, {
|
|
10276
|
-
default:
|
|
10277
|
-
|
|
10278
|
-
default:
|
|
10284
|
+
default: H(() => [
|
|
10285
|
+
D(pe, null, {
|
|
10286
|
+
default: H(() => [...n[7] || (n[7] = [
|
|
10279
10287
|
ce(
|
|
10280
10288
|
"Expand all",
|
|
10281
10289
|
-1
|
|
@@ -10296,7 +10304,7 @@ function Pf(e, n, l, t, o, i) {
|
|
|
10296
10304
|
"div",
|
|
10297
10305
|
Ef,
|
|
10298
10306
|
[
|
|
10299
|
-
|
|
10307
|
+
D(t.SmartValue, {
|
|
10300
10308
|
value: l.value,
|
|
10301
10309
|
path: "",
|
|
10302
10310
|
depth: 0,
|
|
@@ -10329,7 +10337,7 @@ export {
|
|
|
10329
10337
|
Bi as K,
|
|
10330
10338
|
As as L,
|
|
10331
10339
|
Oi as M,
|
|
10332
|
-
|
|
10340
|
+
Hi as N,
|
|
10333
10341
|
ku as O,
|
|
10334
10342
|
Mf as P,
|
|
10335
10343
|
ve as Q,
|
|
@@ -10349,7 +10357,7 @@ export {
|
|
|
10349
10357
|
bs as a2,
|
|
10350
10358
|
Wn as a3,
|
|
10351
10359
|
Kn as a4,
|
|
10352
|
-
|
|
10360
|
+
Ge as a5,
|
|
10353
10361
|
Lf as a6,
|
|
10354
10362
|
Ut as a7,
|
|
10355
10363
|
ys as a8,
|