@quickflo/quickview 1.4.0 → 1.4.2

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.
@@ -688,14 +688,14 @@ function Ol(e) {
688
688
  onFocusin: Q,
689
689
  onFocusout: q
690
690
  }), Object.assign(e, {
691
- clearValue: w,
691
+ clearValue: S,
692
692
  onControlFocusin: Q,
693
693
  onControlFocusout: q,
694
694
  focus: K
695
695
  }), e.computedCounter === void 0 && (e.computedCounter = s(() => {
696
696
  if (n.counter !== !1) {
697
- const E = typeof n.modelValue == "string" || typeof n.modelValue == "number" ? ("" + n.modelValue).length : Array.isArray(n.modelValue) === !0 ? n.modelValue.length : 0, S = n.maxlength !== void 0 ? n.maxlength : n.maxValues;
698
- return E + (S !== void 0 ? " / " + S : "");
697
+ const E = typeof n.modelValue == "string" || typeof n.modelValue == "number" ? ("" + n.modelValue).length : Array.isArray(n.modelValue) === !0 ? n.modelValue.length : 0, w = n.maxlength !== void 0 ? n.maxlength : n.maxValues;
698
+ return E + (w !== void 0 ? " / " + w : "");
699
699
  }
700
700
  }));
701
701
  const {
@@ -727,8 +727,8 @@ function Ol(e) {
727
727
  });
728
728
  function $() {
729
729
  const E = document.activeElement;
730
- let S = e.targetRef?.value;
731
- S && (E === null || E.id !== e.targetUid.value) && (S.hasAttribute("tabindex") === !0 || (S = S.querySelector("[tabindex]")), S !== E && S?.focus({ preventScroll: !0 }));
730
+ let w = e.targetRef?.value;
731
+ w && (E === null || E.id !== e.targetUid.value) && (w.hasAttribute("tabindex") === !0 || (w = w.querySelector("[tabindex]")), w !== E && w?.focus({ preventScroll: !0 }));
732
732
  }
733
733
  function K() {
734
734
  jn($);
@@ -741,19 +741,19 @@ function Ol(e) {
741
741
  function Q(E) {
742
742
  r !== null && (clearTimeout(r), r = null), e.editable.value === !0 && e.focused.value === !1 && (e.focused.value = !0, l("focus", E));
743
743
  }
744
- function q(E, S) {
744
+ function q(E, w) {
745
745
  r !== null && clearTimeout(r), r = setTimeout(() => {
746
- r = null, !(document.hasFocus() === !0 && (e.hasPopupOpen === !0 || e.controlRef === void 0 || e.controlRef.value === null || e.controlRef.value.contains(document.activeElement) !== !1)) && (e.focused.value === !0 && (e.focused.value = !1, l("blur", E)), S?.());
746
+ r = null, !(document.hasFocus() === !0 && (e.hasPopupOpen === !0 || e.controlRef === void 0 || e.controlRef.value === null || e.controlRef.value.contains(document.activeElement) !== !1)) && (e.focused.value === !0 && (e.focused.value = !1, l("blur", E)), w?.());
747
747
  });
748
748
  }
749
- function w(E) {
749
+ function S(E) {
750
750
  Me(E), a.platform.is.mobile !== !0 ? (e.targetRef?.value || e.rootRef.value).focus() : e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), n.type === "file" && (e.inputRef.value.value = null), l("update:modelValue", null), e.changeEvent === !0 && l("change", null), l("clear", n.modelValue), Ce(() => {
751
- const S = c.value;
752
- b(), c.value = S;
751
+ const w = c.value;
752
+ b(), c.value = w;
753
753
  });
754
754
  }
755
755
  function R(E) {
756
- [13, 32].includes(E.keyCode) && w(E);
756
+ [13, 32].includes(E.keyCode) && S(E);
757
757
  }
758
758
  function O() {
759
759
  const E = [];
@@ -786,7 +786,7 @@ function Ol(e) {
786
786
  "aria-hidden": "false",
787
787
  "aria-label": a.lang.label.clear,
788
788
  onKeyup: R,
789
- onClick: w
789
+ onClick: S
790
790
  })
791
791
  ])
792
792
  ), t.append !== void 0 && E.push(
@@ -828,12 +828,12 @@ function Ol(e) {
828
828
  ), E.concat(Ve(t.default));
829
829
  }
830
830
  function W() {
831
- let E, S;
832
- u.value === !0 ? g.value !== null ? (E = [v("div", { role: "alert" }, g.value)], S = `q--slot-error-${g.value}`) : (E = Ve(t.error), S = "q--slot-error") : (n.hideHint !== !0 || e.focused.value === !0) && (n.hint !== void 0 ? (E = [v("div", n.hint)], S = `q--slot-hint-${n.hint}`) : (E = Ve(t.hint), S = "q--slot-hint"));
833
- const oe = n.counter === !0 || t.counter !== void 0;
834
- if (n.hideBottomSpace === !0 && oe === !1 && E === void 0) return;
831
+ let E, w;
832
+ u.value === !0 ? g.value !== null ? (E = [v("div", { role: "alert" }, g.value)], w = `q--slot-error-${g.value}`) : (E = Ve(t.error), w = "q--slot-error") : (n.hideHint !== !0 || e.focused.value === !0) && (n.hint !== void 0 ? (E = [v("div", n.hint)], w = `q--slot-hint-${n.hint}`) : (E = Ve(t.hint), w = "q--slot-hint"));
833
+ const ne = n.counter === !0 || t.counter !== void 0;
834
+ if (n.hideBottomSpace === !0 && ne === !1 && E === void 0) return;
835
835
  const f = v("div", {
836
- key: S,
836
+ key: w,
837
837
  class: "q-field__messages col"
838
838
  }, E);
839
839
  return v("div", {
@@ -841,16 +841,16 @@ function Ol(e) {
841
841
  onClick: st
842
842
  }, [
843
843
  n.hideBottomSpace === !0 ? f : v(Tt, { name: "q-transition--field-message" }, () => f),
844
- oe === !0 ? v("div", {
844
+ ne === !0 ? v("div", {
845
845
  class: "q-field__counter"
846
846
  }, t.counter !== void 0 ? t.counter() : e.computedCounter.value) : null
847
847
  ]);
848
848
  }
849
- function ae(E, S) {
850
- return S === null ? null : v("div", {
849
+ function ae(E, w) {
850
+ return w === null ? null : v("div", {
851
851
  key: E,
852
852
  class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
853
- }, S);
853
+ }, w);
854
854
  }
855
855
  let F = !1;
856
856
  return sn(() => {
@@ -862,7 +862,7 @@ function Ol(e) {
862
862
  }), ze(() => {
863
863
  r !== null && clearTimeout(r);
864
864
  }), Object.assign(i, { focus: K, blur: Y }), function() {
865
- const S = e.getControl === void 0 && t.control === void 0 ? {
865
+ const w = e.getControl === void 0 && t.control === void 0 ? {
866
866
  ...e.splitAttrs.attributes.value,
867
867
  "data-autofocus": n.autofocus === !0 || void 0,
868
868
  ...j.value
@@ -874,7 +874,7 @@ function Ol(e) {
874
874
  o.class
875
875
  ],
876
876
  style: o.style,
877
- ...S
877
+ ...w
878
878
  }, [
879
879
  t.before !== void 0 ? v("div", {
880
880
  class: "q-field__before q-field__marginal row no-wrap items-center",
@@ -948,13 +948,13 @@ function Sr(e, n, l, t) {
948
948
  tokenMap: so,
949
949
  tokenRegexMask: xr
950
950
  };
951
- const { tokenMap: q } = ea(e.maskTokens), w = {
951
+ const { tokenMap: q } = ea(e.maskTokens), S = {
952
952
  ...so,
953
953
  ...q
954
954
  };
955
955
  return {
956
- tokenMap: w,
957
- tokenRegexMask: ta(Object.keys(w))
956
+ tokenMap: S,
957
+ tokenRegexMask: ta(Object.keys(S))
958
958
  };
959
959
  }), g = N(null), b = N(_());
960
960
  function h() {
@@ -964,8 +964,8 @@ function Sr(e, n, l, t) {
964
964
  if (q !== void 0)
965
965
  C(b.value, !0);
966
966
  else {
967
- const w = Y(b.value);
968
- y(), e.modelValue !== w && n("update:modelValue", w);
967
+ const S = Y(b.value);
968
+ y(), e.modelValue !== S && n("update:modelValue", S);
969
969
  }
970
970
  }), ie(() => e.fillMask + e.reverseFillMask, () => {
971
971
  g.value === !0 && C(b.value, !0);
@@ -982,12 +982,12 @@ function Sr(e, n, l, t) {
982
982
  function x(q) {
983
983
  if (q < o.length)
984
984
  return o.slice(-q);
985
- let w = "", R = o;
985
+ let S = "", R = o;
986
986
  const O = R.indexOf(Le);
987
987
  if (O !== -1) {
988
988
  for (let P = q - R.length; P > 0; P--)
989
- w += Le;
990
- R = R.slice(0, O) + w + R.slice(O);
989
+ S += Le;
990
+ R = R.slice(0, O) + S + R.slice(O);
991
991
  }
992
992
  return R;
993
993
  }
@@ -996,7 +996,7 @@ function Sr(e, n, l, t) {
996
996
  r = void 0, o = "", i = "";
997
997
  return;
998
998
  }
999
- const q = io[e.mask] === void 0 ? e.mask : io[e.mask], w = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", R = w.replace(uo, "\\$&"), O = [], P = [], W = [];
999
+ const q = io[e.mask] === void 0 ? e.mask : io[e.mask], S = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", R = S.replace(uo, "\\$&"), O = [], P = [], W = [];
1000
1000
  let ae = e.reverseFillMask === !0, F = "", E = "";
1001
1001
  q.replace(u.value.tokenRegexMask, (p, z, M, U, J) => {
1002
1002
  if (U !== void 0) {
@@ -1009,13 +1009,13 @@ function Sr(e, n, l, t) {
1009
1009
  F = G === "\\" ? "\\\\\\\\" : G.replace(uo, "\\\\$&"), W.push(G), O.push("([^" + F + "]+)?" + F + "?");
1010
1010
  }
1011
1011
  });
1012
- const S = new RegExp(
1012
+ const w = new RegExp(
1013
1013
  "^" + O.join("") + "(" + (F === "" ? "." : "[^" + F + "]") + "+)?" + (F === "" ? "" : "[" + F + "]*") + "$"
1014
- ), oe = P.length - 1, f = P.map((p, z) => z === 0 && e.reverseFillMask === !0 ? new RegExp("^" + R + "*" + p) : z === oe ? new RegExp(
1014
+ ), ne = P.length - 1, f = P.map((p, z) => z === 0 && e.reverseFillMask === !0 ? new RegExp("^" + R + "*" + p) : z === ne ? new RegExp(
1015
1015
  "^" + p + "(" + (E === "" ? "." : E) + "+)?" + (e.reverseFillMask === !0 ? "$" : R + "*")
1016
1016
  ) : new RegExp("^" + p));
1017
1017
  a = W, r = (p) => {
1018
- const z = S.exec(e.reverseFillMask === !0 ? p : p.slice(0, W.length + 1));
1018
+ const z = w.exec(e.reverseFillMask === !0 ? p : p.slice(0, W.length + 1));
1019
1019
  z !== null && (p = z.slice(1).join(""));
1020
1020
  const M = [], U = f.length;
1021
1021
  for (let J = 0, G = p; J < U; J++) {
@@ -1025,13 +1025,13 @@ function Sr(e, n, l, t) {
1025
1025
  G = G.slice(fe.shift().length), M.push(...fe);
1026
1026
  }
1027
1027
  return M.length !== 0 ? M.join("") : p;
1028
- }, o = W.map((p) => typeof p == "string" ? p : Le).join(""), i = o.split(Le).join(w);
1028
+ }, o = W.map((p) => typeof p == "string" ? p : Le).join(""), i = o.split(Le).join(S);
1029
1029
  }
1030
- function C(q, w, R) {
1030
+ function C(q, S, R) {
1031
1031
  const O = t.value, P = O.selectionEnd, W = O.value.length - P, ae = Y(q);
1032
- w === !0 && y();
1033
- const F = $(ae, w), E = e.fillMask !== !1 ? Q(F) : F, S = b.value !== E;
1034
- O.value !== E && (O.value = E), S === !0 && (b.value = E), document.activeElement === O && Ce(() => {
1032
+ S === !0 && y();
1033
+ const F = $(ae, S), E = e.fillMask !== !1 ? Q(F) : F, w = b.value !== E;
1034
+ O.value !== E && (O.value = E), w === !0 && (b.value = E), document.activeElement === O && Ce(() => {
1035
1035
  if (E === i) {
1036
1036
  const f = e.reverseFillMask === !0 ? i.length : 0;
1037
1037
  O.setSelectionRange(f, f, "forward");
@@ -1051,14 +1051,14 @@ function Sr(e, n, l, t) {
1051
1051
  return;
1052
1052
  }
1053
1053
  if (e.reverseFillMask === !0)
1054
- if (S === !0) {
1054
+ if (w === !0) {
1055
1055
  const f = Math.max(0, E.length - (E === i ? 0 : Math.min(F.length, W + 1)));
1056
1056
  f === 1 && P === 1 ? O.setSelectionRange(f, f, "forward") : V.rightReverse(O, f);
1057
1057
  } else {
1058
1058
  const f = E.length - W;
1059
1059
  O.setSelectionRange(f, f, "backward");
1060
1060
  }
1061
- else if (S === !0) {
1061
+ else if (w === !0) {
1062
1062
  const f = Math.max(0, o.indexOf(Le), Math.min(F.length, P) - 1);
1063
1063
  V.right(O, f);
1064
1064
  } else {
@@ -1066,62 +1066,62 @@ function Sr(e, n, l, t) {
1066
1066
  V.right(O, f);
1067
1067
  }
1068
1068
  });
1069
- const oe = e.unmaskedValue === !0 ? Y(E) : E;
1070
- String(e.modelValue) !== oe && (e.modelValue !== null || oe !== "") && l(oe, !0);
1069
+ const ne = e.unmaskedValue === !0 ? Y(E) : E;
1070
+ String(e.modelValue) !== ne && (e.modelValue !== null || ne !== "") && l(ne, !0);
1071
1071
  }
1072
- function B(q, w, R) {
1072
+ function B(q, S, R) {
1073
1073
  const O = $(Y(q.value));
1074
- w = Math.max(0, o.indexOf(Le), Math.min(O.length, w)), c = w, q.setSelectionRange(w, R, "forward");
1074
+ S = Math.max(0, o.indexOf(Le), Math.min(O.length, S)), c = S, q.setSelectionRange(S, R, "forward");
1075
1075
  }
1076
1076
  const V = {
1077
- left(q, w) {
1078
- const R = o.slice(w - 1).indexOf(Le) === -1;
1079
- let O = Math.max(0, w - 1);
1077
+ left(q, S) {
1078
+ const R = o.slice(S - 1).indexOf(Le) === -1;
1079
+ let O = Math.max(0, S - 1);
1080
1080
  for (; O >= 0; O--)
1081
1081
  if (o[O] === Le) {
1082
- w = O, R === !0 && w++;
1082
+ S = O, R === !0 && S++;
1083
1083
  break;
1084
1084
  }
1085
- if (O < 0 && o[w] !== void 0 && o[w] !== Le)
1085
+ if (O < 0 && o[S] !== void 0 && o[S] !== Le)
1086
1086
  return V.right(q, 0);
1087
- w >= 0 && q.setSelectionRange(w, w, "backward");
1087
+ S >= 0 && q.setSelectionRange(S, S, "backward");
1088
1088
  },
1089
- right(q, w) {
1089
+ right(q, S) {
1090
1090
  const R = q.value.length;
1091
- let O = Math.min(R, w + 1);
1091
+ let O = Math.min(R, S + 1);
1092
1092
  for (; O <= R; O++)
1093
1093
  if (o[O] === Le) {
1094
- w = O;
1094
+ S = O;
1095
1095
  break;
1096
- } else o[O - 1] === Le && (w = O);
1097
- if (O > R && o[w - 1] !== void 0 && o[w - 1] !== Le)
1096
+ } else o[O - 1] === Le && (S = O);
1097
+ if (O > R && o[S - 1] !== void 0 && o[S - 1] !== Le)
1098
1098
  return V.left(q, R);
1099
- q.setSelectionRange(w, w, "forward");
1099
+ q.setSelectionRange(S, S, "forward");
1100
1100
  },
1101
- leftReverse(q, w) {
1101
+ leftReverse(q, S) {
1102
1102
  const R = x(q.value.length);
1103
- let O = Math.max(0, w - 1);
1103
+ let O = Math.max(0, S - 1);
1104
1104
  for (; O >= 0; O--)
1105
1105
  if (R[O - 1] === Le) {
1106
- w = O;
1106
+ S = O;
1107
1107
  break;
1108
- } else if (R[O] === Le && (w = O, O === 0))
1108
+ } else if (R[O] === Le && (S = O, O === 0))
1109
1109
  break;
1110
- if (O < 0 && R[w] !== void 0 && R[w] !== Le)
1110
+ if (O < 0 && R[S] !== void 0 && R[S] !== Le)
1111
1111
  return V.rightReverse(q, 0);
1112
- w >= 0 && q.setSelectionRange(w, w, "backward");
1112
+ S >= 0 && q.setSelectionRange(S, S, "backward");
1113
1113
  },
1114
- rightReverse(q, w) {
1115
- const R = q.value.length, O = x(R), P = O.slice(0, w + 1).indexOf(Le) === -1;
1116
- let W = Math.min(R, w + 1);
1114
+ rightReverse(q, S) {
1115
+ const R = q.value.length, O = x(R), P = O.slice(0, S + 1).indexOf(Le) === -1;
1116
+ let W = Math.min(R, S + 1);
1117
1117
  for (; W <= R; W++)
1118
1118
  if (O[W - 1] === Le) {
1119
- w = W, w > 0 && P === !0 && w--;
1119
+ S = W, S > 0 && P === !0 && S--;
1120
1120
  break;
1121
1121
  }
1122
- if (W > R && O[w - 1] !== void 0 && O[w - 1] !== Le)
1122
+ if (W > R && O[S - 1] !== void 0 && O[S - 1] !== Le)
1123
1123
  return V.leftReverse(q, R);
1124
- q.setSelectionRange(w, w, "forward");
1124
+ q.setSelectionRange(S, S, "forward");
1125
1125
  }
1126
1126
  };
1127
1127
  function A(q) {
@@ -1129,27 +1129,27 @@ function Sr(e, n, l, t) {
1129
1129
  }
1130
1130
  function j(q) {
1131
1131
  if (n("keydown", q), Ml(q) === !0 || q.altKey === !0) return;
1132
- const w = t.value, R = w.selectionStart, O = w.selectionEnd;
1132
+ const S = t.value, R = S.selectionStart, O = S.selectionEnd;
1133
1133
  if (q.shiftKey || (d = void 0), q.keyCode === 37 || q.keyCode === 39) {
1134
- q.shiftKey && d === void 0 && (d = w.selectionDirection === "forward" ? R : O);
1134
+ q.shiftKey && d === void 0 && (d = S.selectionDirection === "forward" ? R : O);
1135
1135
  const P = V[(q.keyCode === 39 ? "right" : "left") + (e.reverseFillMask === !0 ? "Reverse" : "")];
1136
- if (q.preventDefault(), P(w, d === R ? O : R), q.shiftKey) {
1137
- const W = w.selectionStart;
1138
- w.setSelectionRange(Math.min(d, W), Math.max(d, W), "forward");
1136
+ if (q.preventDefault(), P(S, d === R ? O : R), q.shiftKey) {
1137
+ const W = S.selectionStart;
1138
+ S.setSelectionRange(Math.min(d, W), Math.max(d, W), "forward");
1139
1139
  }
1140
- } else q.keyCode === 8 && e.reverseFillMask !== !0 && R === O ? (V.left(w, R), w.setSelectionRange(w.selectionStart, O, "backward")) : q.keyCode === 46 && e.reverseFillMask === !0 && R === O && (V.rightReverse(w, O), w.setSelectionRange(R, w.selectionEnd, "forward"));
1140
+ } else q.keyCode === 8 && e.reverseFillMask !== !0 && R === O ? (V.left(S, R), S.setSelectionRange(S.selectionStart, O, "backward")) : q.keyCode === 46 && e.reverseFillMask === !0 && R === O && (V.rightReverse(S, O), S.setSelectionRange(R, S.selectionEnd, "forward"));
1141
1141
  }
1142
- function $(q, w) {
1142
+ function $(q, S) {
1143
1143
  if (q == null || q === "")
1144
1144
  return "";
1145
1145
  if (e.reverseFillMask === !0)
1146
- return K(q, w);
1146
+ return K(q, S);
1147
1147
  const R = a;
1148
1148
  let O = 0, P = "";
1149
1149
  for (let W = 0; W < R.length; W++) {
1150
1150
  const ae = q[O], F = R[W];
1151
1151
  if (typeof F == "string")
1152
- P += F, w === !0 && ae === F && O++;
1152
+ P += F, S === !0 && ae === F && O++;
1153
1153
  else if (ae !== void 0 && F.regex.test(ae))
1154
1154
  P += F.transform !== void 0 ? F.transform(ae) : ae, O++;
1155
1155
  else
@@ -1157,14 +1157,14 @@ function Sr(e, n, l, t) {
1157
1157
  }
1158
1158
  return P;
1159
1159
  }
1160
- function K(q, w) {
1160
+ function K(q, S) {
1161
1161
  const R = a, O = o.indexOf(Le);
1162
1162
  let P = q.length - 1, W = "";
1163
1163
  for (let ae = R.length - 1; ae >= 0 && P !== -1; ae--) {
1164
1164
  const F = R[ae];
1165
1165
  let E = q[P];
1166
1166
  if (typeof F == "string")
1167
- W = F + W, w === !0 && E === F && P--;
1167
+ W = F + W, S === !0 && E === F && P--;
1168
1168
  else if (E !== void 0 && F.regex.test(E))
1169
1169
  do
1170
1170
  W = (F.transform !== void 0 ? F.transform(E) : E) + W, P--, E = q[P];
@@ -1289,7 +1289,7 @@ const Pr = pe({
1289
1289
  // this also fixes the issue where some browsers e.g. iOS Chrome
1290
1290
  // fires "change" instead of "input" on autocomplete.
1291
1291
  onChange: E,
1292
- onBlur: S,
1292
+ onBlur: w,
1293
1293
  onFocus: ft
1294
1294
  };
1295
1295
  return p.onCompositionstart = p.onCompositionupdate = p.onCompositionend = j, _.value === !0 && (p.onKeydown = C, p.onClick = B), e.autogrow === !0 && (p.onAnimationend = W), p;
@@ -1322,7 +1322,7 @@ const Pr = pe({
1322
1322
  }), ie(() => e.dense, () => {
1323
1323
  e.autogrow === !0 && Ce(F);
1324
1324
  });
1325
- function w() {
1325
+ function S() {
1326
1326
  jn(() => {
1327
1327
  const p = document.activeElement;
1328
1328
  g.value !== null && g.value !== p && (p === null || p.id !== $.targetUid.value) && g.value.focus({ preventScroll: !0 });
@@ -1381,16 +1381,16 @@ const Pr = pe({
1381
1381
  function E(p) {
1382
1382
  j(p), d !== null && (clearTimeout(d), d = null), u?.(), n("change", p.target.value);
1383
1383
  }
1384
- function S(p) {
1384
+ function w(p) {
1385
1385
  p !== void 0 && ft(p), d !== null && (clearTimeout(d), d = null), u?.(), r = !1, c = !1, delete i.value, e.type !== "file" && setTimeout(() => {
1386
1386
  g.value !== null && (g.value.value = h.value !== void 0 ? h.value : "");
1387
1387
  });
1388
1388
  }
1389
- function oe() {
1389
+ function ne() {
1390
1390
  return i.hasOwnProperty("value") === !0 ? i.value : h.value !== void 0 ? h.value : "";
1391
1391
  }
1392
1392
  ze(() => {
1393
- S();
1393
+ w();
1394
1394
  }), xt(() => {
1395
1395
  e.autogrow === !0 && F();
1396
1396
  }), Object.assign($, {
@@ -1416,18 +1416,18 @@ const Pr = pe({
1416
1416
  style: e.inputStyle,
1417
1417
  ...q.value,
1418
1418
  ...Q.value,
1419
- ...e.type !== "file" ? { value: oe() } : V.value
1419
+ ...e.type !== "file" ? { value: ne() } : V.value
1420
1420
  }),
1421
1421
  getShadowControl: () => v("div", {
1422
1422
  class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (K.value === !0 ? "" : " text-no-wrap")
1423
1423
  }, [
1424
- v("span", { class: "invisible" }, oe()),
1424
+ v("span", { class: "invisible" }, ne()),
1425
1425
  v("span", e.shadowText)
1426
1426
  ])
1427
1427
  });
1428
1428
  const f = Ol($);
1429
1429
  return Object.assign(t, {
1430
- focus: w,
1430
+ focus: S,
1431
1431
  select: R,
1432
1432
  getNativeElement: () => g.value
1433
1433
  // deprecated
@@ -2105,7 +2105,7 @@ const _e = pe({
2105
2105
  ],
2106
2106
  setup(e, { slots: n, emit: l, attrs: t }) {
2107
2107
  let o, i;
2108
- const a = ye(), { proxy: { $q: r } } = a, c = N(null), d = N(!1), u = s(() => Mn(e.anchor, r.lang.rtl)), g = s(() => Mn(e.self, r.lang.rtl)), b = s(() => e.persistent !== !0), { registerTick: h, removeTick: _ } = jl(), { registerTimeout: x } = Fl(), { transitionProps: y, transitionStyle: C } = zl(e), { localScrollTarget: B, changeScrollEvent: V, unconfigureScrollTarget: A } = ia(e, oe), { anchorEl: j, canShow: $, anchorEvents: K } = ra({ showing: d, configureAnchorEl: S }), { show: Y, hide: Q } = Nn({
2108
+ const a = ye(), { proxy: { $q: r } } = a, c = N(null), d = N(!1), u = s(() => Mn(e.anchor, r.lang.rtl)), g = s(() => Mn(e.self, r.lang.rtl)), b = s(() => e.persistent !== !0), { registerTick: h, removeTick: _ } = jl(), { registerTimeout: x } = Fl(), { transitionProps: y, transitionStyle: C } = zl(e), { localScrollTarget: B, changeScrollEvent: V, unconfigureScrollTarget: A } = ia(e, ne), { anchorEl: j, canShow: $, anchorEvents: K } = ra({ showing: d, configureAnchorEl: w }), { show: Y, hide: Q } = Nn({
2109
2109
  showing: d,
2110
2110
  canShow: $,
2111
2111
  handleShow: O,
@@ -2114,7 +2114,7 @@ const _e = pe({
2114
2114
  processOnMount: !0
2115
2115
  });
2116
2116
  Object.assign(K, { delayShow: F, delayHide: E });
2117
- const { showPortal: q, hidePortal: w, renderPortal: R } = Ll(a, c, p, "tooltip");
2117
+ const { showPortal: q, hidePortal: S, renderPortal: R } = Ll(a, c, p, "tooltip");
2118
2118
  if (r.platform.is.mobile === !0) {
2119
2119
  const z = {
2120
2120
  anchorEl: j,
@@ -2137,7 +2137,7 @@ const _e = pe({
2137
2137
  }
2138
2138
  function O(z) {
2139
2139
  q(), h(() => {
2140
- i = new MutationObserver(() => ae()), i.observe(c.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), ae(), oe();
2140
+ i = new MutationObserver(() => ae()), i.observe(c.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), ae(), ne();
2141
2141
  }), o === void 0 && (o = ie(
2142
2142
  () => r.screen.width + "|" + r.screen.height + "|" + e.self + "|" + e.anchor + "|" + r.lang.rtl,
2143
2143
  ae
@@ -2146,8 +2146,8 @@ const _e = pe({
2146
2146
  }, e.transitionDuration);
2147
2147
  }
2148
2148
  function P(z) {
2149
- _(), w(), W(), x(() => {
2150
- w(!0), l("hide", z);
2149
+ _(), S(), W(), x(() => {
2150
+ S(!0), l("hide", z);
2151
2151
  }, e.transitionDuration);
2152
2152
  }
2153
2153
  function W() {
@@ -2181,7 +2181,7 @@ const _e = pe({
2181
2181
  Q(z);
2182
2182
  }, e.hideDelay);
2183
2183
  }
2184
- function S() {
2184
+ function w() {
2185
2185
  if (e.noParentEvent === !0 || j.value === null) return;
2186
2186
  const z = r.platform.is.mobile === !0 ? [
2187
2187
  [j.value, "touchstart", "delayShow", "passive"]
@@ -2191,7 +2191,7 @@ const _e = pe({
2191
2191
  ];
2192
2192
  ln(K, "anchor", z);
2193
2193
  }
2194
- function oe() {
2194
+ function ne() {
2195
2195
  if (j.value !== null || e.scrollTarget !== void 0) {
2196
2196
  B.value = Dl(j.value, e.scrollTarget);
2197
2197
  const z = e.noParentEvent === !0 ? ae : Q;
@@ -2641,17 +2641,17 @@ const ve = pe({
2641
2641
  }
2642
2642
  }
2643
2643
  function Y(P) {
2644
- b.value !== null && (l("keydown", P), _t(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)));
2644
+ b.value !== null && (l("keydown", P), _t(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", S, !0), b.value.addEventListener("blur", S, Je)), Me(P)));
2645
2645
  }
2646
2646
  function Q(P) {
2647
- b.value !== null && (l("touchstart", P), P.defaultPrevented !== !0 && (Dt !== b.value && (Dt !== null && R(), Dt = b.value, _ = P.target, _.addEventListener("touchcancel", w, Je), _.addEventListener("touchend", w, Je)), x = !0, y !== null && clearTimeout(y), y = setTimeout(() => {
2647
+ b.value !== null && (l("touchstart", P), P.defaultPrevented !== !0 && (Dt !== b.value && (Dt !== null && R(), Dt = b.value, _ = P.target, _.addEventListener("touchcancel", S, Je), _.addEventListener("touchend", S, 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, Je)));
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", S, Je)));
2653
2653
  }
2654
- function w(P) {
2654
+ function S(P) {
2655
2655
  if (b.value !== null && !(P?.type === "blur" && document.activeElement === b.value)) {
2656
2656
  if (P?.type === "keyup") {
2657
2657
  if (Ht === b.value && _t(P, [13, 32]) === !0) {
@@ -2665,7 +2665,7 @@ const ve = pe({
2665
2665
  }
2666
2666
  function R(P) {
2667
2667
  const W = h.value;
2668
- P !== !0 && (Dt === b.value || Nt === b.value) && W !== null && W !== document.activeElement && (W.setAttribute("tabindex", -1), W.focus()), Dt === b.value && (_ !== null && (_.removeEventListener("touchcancel", w, Je), _.removeEventListener("touchend", w, Je)), Dt = _ = 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");
2668
+ P !== !0 && (Dt === b.value || Nt === b.value) && W !== null && W !== document.activeElement && (W.setAttribute("tabindex", -1), W.focus()), Dt === b.value && (_ !== null && (_.removeEventListener("touchcancel", S, Je), _.removeEventListener("touchend", S, Je)), Dt = _ = null), Nt === b.value && (document.removeEventListener("mouseup", S, Je), Nt = null), Ht === b.value && (document.removeEventListener("keyup", S, !0), b.value?.removeEventListener("blur", S, Je), Ht = null), b.value?.classList.remove("q-btn--active");
2669
2669
  }
2670
2670
  function O(P) {
2671
2671
  Me(P), P.qSkipRipple = !0;
@@ -4024,7 +4024,7 @@ function qa({
4024
4024
  fu.indexOf(p) !== -1 ? p : u !== -1 && f > u ? "end" : "start"
4025
4025
  );
4026
4026
  }
4027
- function w() {
4027
+ function S() {
4028
4028
  const f = n();
4029
4029
  if (f == null || f.nodeType === 8) return;
4030
4030
  const p = ul(
@@ -4141,7 +4141,7 @@ function qa({
4141
4141
  }
4142
4142
  u = -1, d = void 0, _.value = Yt(b, h, 0, A.value.from), x.value = Yt(b, h, A.value.to, e.value), f >= 0 ? (O(A.value.from), Ce(() => {
4143
4143
  q(f);
4144
- })) : S();
4144
+ })) : w();
4145
4145
  }
4146
4146
  function ae(f) {
4147
4147
  if (f === void 0 && typeof window < "u") {
@@ -4228,18 +4228,18 @@ function qa({
4228
4228
  }), u = f);
4229
4229
  }
4230
4230
  ae();
4231
- const S = Vl(
4232
- w,
4231
+ const w = Vl(
4232
+ S,
4233
4233
  c.platform.is.ios === !0 ? 120 : 35
4234
4234
  );
4235
4235
  Pl(() => {
4236
4236
  ae();
4237
4237
  });
4238
- let oe = !1;
4238
+ let ne = !1;
4239
4239
  return sn(() => {
4240
- oe = !0;
4240
+ ne = !0;
4241
4241
  }), El(() => {
4242
- if (oe !== !0) return;
4242
+ if (ne !== !0) return;
4243
4243
  const f = n();
4244
4244
  d !== void 0 && f !== void 0 && f !== null && f.nodeType !== 8 ? So(
4245
4245
  f,
@@ -4248,12 +4248,12 @@ function qa({
4248
4248
  c.lang.rtl
4249
4249
  ) : q(u);
4250
4250
  }), ze(() => {
4251
- S.cancel();
4251
+ w.cancel();
4252
4252
  }), Object.assign(r, { scrollTo: q, reset: Y, refresh: Q }), {
4253
4253
  virtualScrollSliceRange: A,
4254
4254
  virtualScrollSliceSizeComputed: y,
4255
4255
  setVirtualScrollSize: ae,
4256
- onVirtualScrollEvt: S,
4256
+ onVirtualScrollEvt: w,
4257
4257
  localResetVirtualScroll: W,
4258
4258
  padVirtualScroll: F,
4259
4259
  scrollTo: q,
@@ -4385,20 +4385,20 @@ const ko = 100, gu = /* @__PURE__ */ Te({
4385
4385
  },
4386
4386
  setup(e, { expose: n }) {
4387
4387
  n();
4388
- const l = un(() => import("./ObjectEntry-BI74yOA3.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(
4388
+ const l = un(() => import("./ObjectEntry-DCZcCoF0.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(
4389
4389
  "quickview-key-decorators",
4390
4390
  { value: [] }
4391
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);
4392
4392
  function _(q) {
4393
4393
  if (!r) return !1;
4394
- const w = Ge(t.context.path, q);
4395
- return r.state.highlightedPath.value === w;
4394
+ const S = Ge(t.context.path, q);
4395
+ return r.state.highlightedPath.value === S;
4396
4396
  }
4397
4397
  const x = s(
4398
4398
  () => t.context.value
4399
4399
  ), y = s(() => Object.keys(x.value)), C = s(() => y.value.length), B = s(
4400
4400
  () => C.value >= ko
4401
- ), V = s(() => y.value.slice(0, 3).map((w) => `${w}: ${Ut(x.value[w], 20)}`).join(", ") + (y.value.length > 3 ? ", ..." : ""));
4401
+ ), V = s(() => y.value.slice(0, 3).map((S) => `${S}: ${Ut(x.value[S], 20)}`).join(", ") + (y.value.length > 3 ? ", ..." : ""));
4402
4402
  function A() {
4403
4403
  r && t.context.path && r.actions.toggle(t.context.path);
4404
4404
  }
@@ -4413,11 +4413,11 @@ const ko = 100, gu = /* @__PURE__ */ Te({
4413
4413
  }
4414
4414
  function Y(q) {
4415
4415
  if (!u.value.length) return [];
4416
- const w = Ge(t.context.path, q), R = x.value[q];
4416
+ const S = Ge(t.context.path, q), R = x.value[q];
4417
4417
  return u.value.map((P) => ({
4418
4418
  decorator: P,
4419
- priority: P.tester(w, q, R)
4420
- })).filter(({ priority: P }) => P >= 0).sort((P, W) => W.priority - P.priority).map(({ decorator: P }) => P.render(w, q, R));
4419
+ priority: P.tester(S, q, R)
4420
+ })).filter(({ priority: P }) => P >= 0).sort((P, W) => W.priority - P.priority).map(({ decorator: P }) => P.render(S, q, R));
4421
4421
  }
4422
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: _, 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() {
4423
4423
  return Ge;
@@ -5082,11 +5082,11 @@ const Mu = pe({
5082
5082
  ), _ = 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({
5083
5083
  showing: b,
5084
5084
  canShow: Y,
5085
- handleShow: oe,
5085
+ handleShow: ne,
5086
5086
  handleHide: f,
5087
5087
  hideOnRouteChange: h,
5088
5088
  processOnMount: !0
5089
- }), { showPortal: q, hidePortal: w, renderPortal: R } = Ll(c, g, fe, "menu"), O = {
5089
+ }), { showPortal: q, hidePortal: S, renderPortal: R } = Ll(c, g, fe, "menu"), O = {
5090
5090
  anchorEl: K,
5091
5091
  innerRef: g,
5092
5092
  onClickOutside(X) {
@@ -5107,13 +5107,13 @@ const Mu = pe({
5107
5107
  ie(E, (X) => {
5108
5108
  X === !0 ? (Ea(J), da(O)) : (Ln(J), Bn(O));
5109
5109
  });
5110
- function S() {
5110
+ function w() {
5111
5111
  jn(() => {
5112
5112
  let X = g.value;
5113
5113
  X && X.contains(document.activeElement) !== !0 && (X = X.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || X.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || X.querySelector("[autofocus], [data-autofocus]") || X, X.focus({ preventScroll: !0 }));
5114
5114
  });
5115
5115
  }
5116
- function oe(X) {
5116
+ function ne(X) {
5117
5117
  if (o = e.noRefocus === !1 ? document.activeElement : null, Va(U), q(), z(), i = void 0, X !== void 0 && (e.touchPosition || e.contextMenu)) {
5118
5118
  const Re = Jo(X);
5119
5119
  if (Re.left !== void 0) {
@@ -5125,15 +5125,15 @@ const Mu = pe({
5125
5125
  () => u.screen.width + "|" + u.screen.height + "|" + e.self + "|" + e.anchor + "|" + u.lang.rtl,
5126
5126
  G
5127
5127
  )), e.noFocus !== !0 && document.activeElement.blur(), x(() => {
5128
- G(), e.noFocus !== !0 && S();
5128
+ G(), e.noFocus !== !0 && w();
5129
5129
  }), C(() => {
5130
5130
  u.platform.is.ios === !0 && (r = e.autoClose, g.value.click()), G(), q(!0), l("show", X);
5131
5131
  }, e.transitionDuration);
5132
5132
  }
5133
5133
  function f(X) {
5134
- y(), w(), p(!0), o !== null && // menu was hidden from code or ESC plugin
5134
+ y(), S(), p(!0), o !== null && // menu was hidden from code or ESC plugin
5135
5135
  (X === void 0 || X.qClickOutside !== !0) && (((X?.type.indexOf("key") === 0 ? o.closest('[tabindex]:not([tabindex^="-"])') : void 0) || o).focus(), o = null), C(() => {
5136
- w(!0), l("hide", X);
5136
+ S(!0), l("hide", X);
5137
5137
  }, e.transitionDuration);
5138
5138
  }
5139
5139
  function p(X) {
@@ -5146,7 +5146,7 @@ const Mu = pe({
5146
5146
  r !== !0 ? (ua(d, X), l("click", X)) : r = !1;
5147
5147
  }
5148
5148
  function U(X) {
5149
- E.value === !0 && e.noFocus !== !0 && ca(g.value, X.target) !== !0 && S();
5149
+ E.value === !0 && e.noFocus !== !0 && ca(g.value, X.target) !== !0 && w();
5150
5150
  }
5151
5151
  function J(X) {
5152
5152
  e.noEscDismiss !== !0 && (l("escapeKey"), Q(X));
@@ -5186,7 +5186,7 @@ const Mu = pe({
5186
5186
  }, Ve(n.default)) : null
5187
5187
  );
5188
5188
  }
5189
- return ze(p), Object.assign(d, { focus: S, updatePosition: G }), R;
5189
+ return ze(p), Object.assign(d, { focus: w, updatePosition: G }), R;
5190
5190
  }
5191
5191
  });
5192
5192
  function Au(e, n, l) {
@@ -5334,17 +5334,17 @@ const Iu = {
5334
5334
  Au(a);
5335
5335
  const Q = s(
5336
5336
  () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${Iu[e.position]}` + (r.value === !0 ? " q-dialog__inner--animating" : "") + (e.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (e.square === !0 ? " q-dialog__inner--square" : "")
5337
- ), q = s(() => a.value === !0 && e.seamless !== !0), w = s(() => e.autoClose === !0 ? { onClick: oe } : {}), R = s(() => [
5337
+ ), q = s(() => a.value === !0 && e.seamless !== !0), S = s(() => e.autoClose === !0 ? { onClick: ne } : {}), R = s(() => [
5338
5338
  `q-dialog fullscreen no-pointer-events q-dialog--${q.value === !0 ? "modal" : "seamless"}`,
5339
5339
  t.class
5340
5340
  ]);
5341
5341
  ie(() => e.maximized, (M) => {
5342
- a.value === !0 && S(M);
5342
+ a.value === !0 && w(M);
5343
5343
  }), ie(q, (M) => {
5344
5344
  h(M), M === !0 ? (Va(p), Ea(F)) : (Cl(p), Ln(F));
5345
5345
  });
5346
5346
  function O(M) {
5347
- d = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, S(e.maximized), A(), r.value = !0, e.noFocus !== !0 ? (document.activeElement?.blur(), x(W)) : y(), _(() => {
5347
+ d = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, w(e.maximized), A(), r.value = !0, e.noFocus !== !0 ? (document.activeElement?.blur(), x(W)) : y(), _(() => {
5348
5348
  if (o.proxy.$q.platform.is.ios === !0) {
5349
5349
  if (e.seamless !== !0 && document.activeElement) {
5350
5350
  const { top: U, bottom: J } = document.activeElement.getBoundingClientRect(), { innerHeight: G } = window, fe = window.visualViewport !== void 0 ? window.visualViewport.height : G;
@@ -5389,12 +5389,12 @@ const Iu = {
5389
5389
  e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && ae() : (l("escapeKey"), Y()));
5390
5390
  }
5391
5391
  function E(M) {
5392
- c !== null && (clearTimeout(c), c = null), (M === !0 || a.value === !0) && (S(!1), e.seamless !== !0 && (h(!1), Cl(p), Ln(F))), M !== !0 && (d = null);
5392
+ c !== null && (clearTimeout(c), c = null), (M === !0 || a.value === !0) && (w(!1), e.seamless !== !0 && (h(!1), Cl(p), Ln(F))), M !== !0 && (d = null);
5393
5393
  }
5394
- function S(M) {
5394
+ function w(M) {
5395
5395
  M === !0 ? u !== !0 && (Sn < 1 && document.body.classList.add("q-body--dialog"), Sn++, u = !0) : u === !0 && (Sn < 2 && document.body.classList.remove("q-body--dialog"), Sn--, u = !1);
5396
5396
  }
5397
- function oe(M) {
5397
+ function ne(M) {
5398
5398
  g !== !0 && (Y(M), l("click", M));
5399
5399
  }
5400
5400
  function f(M) {
@@ -5437,7 +5437,7 @@ const Iu = {
5437
5437
  class: Q.value,
5438
5438
  style: B.value,
5439
5439
  tabindex: -1,
5440
- ...w.value
5440
+ ...S.value
5441
5441
  }, Ve(n.default)) : null
5442
5442
  )
5443
5443
  ]);
@@ -5624,31 +5624,31 @@ const $u = pe({
5624
5624
  setup(e, { slots: n, emit: l }) {
5625
5625
  const { proxy: t } = ye(), { $q: o } = t, i = N(!1), a = N(!1), r = N(-1), c = N(""), d = N(!1), u = N(!1);
5626
5626
  let g = null, b = null, h, _, x, y = null, C, B, V, A;
5627
- const j = N(null), $ = N(null), K = N(null), Y = N(null), Q = N(null), q = la(e), w = oa(k), R = s(() => Array.isArray(e.options) ? e.options.length : 0), O = s(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
5627
+ const j = N(null), $ = N(null), K = N(null), Y = N(null), Q = N(null), q = la(e), S = oa(k), R = s(() => Array.isArray(e.options) ? e.options.length : 0), O = s(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
5628
5628
  virtualScrollSliceRange: P,
5629
5629
  virtualScrollSliceSizeComputed: W,
5630
5630
  localResetVirtualScroll: ae,
5631
5631
  padVirtualScroll: F,
5632
5632
  onVirtualScrollEvt: E,
5633
- scrollTo: S,
5634
- setVirtualScrollSize: oe
5633
+ scrollTo: w,
5634
+ setVirtualScrollSize: ne
5635
5635
  } = qa({
5636
5636
  virtualScrollLength: R,
5637
5637
  getVirtualScrollTarget: Yn,
5638
5638
  getVirtualScrollEl: mn,
5639
5639
  virtualScrollItemSizeComputed: O
5640
5640
  }), f = Bl(), p = s(() => {
5641
- const m = e.mapOptions === !0 && e.multiple !== !0, ne = e.modelValue !== void 0 && (e.modelValue !== null || m === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
5641
+ const m = e.mapOptions === !0 && e.multiple !== !0, le = e.modelValue !== void 0 && (e.modelValue !== null || m === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
5642
5642
  if (e.mapOptions === !0 && Array.isArray(e.options) === !0) {
5643
- const le = e.mapOptions === !0 && h !== void 0 ? h : [], he = ne.map((we) => Gn(we, le));
5643
+ const oe = e.mapOptions === !0 && h !== void 0 ? h : [], he = le.map((we) => Gn(we, oe));
5644
5644
  return e.modelValue === null && m === !0 ? he.filter((we) => we !== null) : he;
5645
5645
  }
5646
- return ne;
5646
+ return le;
5647
5647
  }), z = s(() => {
5648
5648
  const m = {};
5649
- return Nu.forEach((ne) => {
5650
- const le = e[ne];
5651
- le !== void 0 && (m[ne] = le);
5649
+ return Nu.forEach((le) => {
5650
+ const oe = e[le];
5651
+ oe !== void 0 && (m[le] = oe);
5652
5652
  }), m;
5653
5653
  }), M = s(() => e.optionsDark === null ? f.isDark.value : e.optionsDark), U = s(() => an(p.value)), J = s(() => {
5654
5654
  let m = "q-field__input q-placeholder col";
@@ -5672,8 +5672,8 @@ const $u = pe({
5672
5672
  id: `${f.targetUid.value}_lb`,
5673
5673
  role: "listbox",
5674
5674
  "aria-multiselectable": e.multiple === !0 ? "true" : "false"
5675
- })), We = s(() => p.value.map((m, ne) => ({
5676
- index: ne,
5675
+ })), We = s(() => p.value.map((m, le) => ({
5676
+ index: le,
5677
5677
  opt: m,
5678
5678
  html: Fe.value(m),
5679
5679
  selected: !0,
@@ -5683,9 +5683,9 @@ const $u = pe({
5683
5683
  }))), lt = s(() => {
5684
5684
  if (R.value === 0)
5685
5685
  return [];
5686
- const { from: m, to: ne } = P.value;
5687
- return e.options.slice(m, ne).map((le, he) => {
5688
- const we = Ye.value(le) === !0, xe = Mt(le) === !0, Ie = m + he, Oe = {
5686
+ const { from: m, to: le } = P.value;
5687
+ return e.options.slice(m, le).map((oe, he) => {
5688
+ const we = Ye.value(oe) === !0, xe = Mt(oe) === !0, Ie = m + he, Oe = {
5689
5689
  clickable: !0,
5690
5690
  active: xe,
5691
5691
  activeClass: $e.value,
@@ -5699,16 +5699,16 @@ const $u = pe({
5699
5699
  "aria-selected": xe === !0 ? "true" : "false",
5700
5700
  id: `${f.targetUid.value}_${Ie}`,
5701
5701
  onClick: () => {
5702
- at(le);
5702
+ at(oe);
5703
5703
  }
5704
5704
  };
5705
5705
  return we !== !0 && (r.value === Ie && (Oe.focused = !0), o.platform.is.desktop === !0 && (Oe.onMousemove = () => {
5706
5706
  i.value === !0 && Ke(Ie);
5707
5707
  })), {
5708
5708
  index: Ie,
5709
- opt: le,
5710
- html: Fe.value(le),
5711
- label: Se.value(le),
5709
+ opt: oe,
5710
+ html: Fe.value(oe),
5711
+ label: Se.value(oe),
5712
5712
  selected: Oe.active,
5713
5713
  focused: Oe.focused,
5714
5714
  toggleOption: at,
@@ -5725,16 +5725,16 @@ const $u = pe({
5725
5725
  // switching focus before confirming composition choice
5726
5726
  // this also fixes the issue where some browsers e.g. iOS Chrome
5727
5727
  // fires "change" instead of "input" on autocomplete.
5728
- onChange: w,
5728
+ onChange: S,
5729
5729
  onKeydown: wt,
5730
5730
  onKeyup: At,
5731
5731
  onKeypress: Xt,
5732
5732
  onFocus: Qt,
5733
- onClick(ne) {
5734
- _ === !0 && ft(ne);
5733
+ onClick(le) {
5734
+ _ === !0 && ft(le);
5735
5735
  }
5736
5736
  };
5737
- return m.onCompositionstart = m.onCompositionupdate = m.onCompositionend = w, m;
5737
+ return m.onCompositionstart = m.onCompositionupdate = m.onCompositionend = S, m;
5738
5738
  });
5739
5739
  ie(p, (m) => {
5740
5740
  h = m, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && f.innerLoading.value !== !0 && (a.value !== !0 && i.value !== !0 || U.value !== !0) && (x !== !0 && Ft(), (a.value === !0 || i.value === !0) && se(""));
@@ -5745,86 +5745,86 @@ const $u = pe({
5745
5745
  function Ot(m) {
5746
5746
  if (m !== -1 && m < p.value.length)
5747
5747
  if (e.multiple === !0) {
5748
- const ne = e.modelValue.slice();
5749
- l("remove", { index: m, value: ne.splice(m, 1)[0] }), l("update:modelValue", ne);
5748
+ const le = e.modelValue.slice();
5749
+ l("remove", { index: m, value: le.splice(m, 1)[0] }), l("update:modelValue", le);
5750
5750
  } else
5751
5751
  l("update:modelValue", null);
5752
5752
  }
5753
5753
  function Xn(m) {
5754
5754
  Ot(m), f.focus();
5755
5755
  }
5756
- function vn(m, ne) {
5757
- const le = fn(m);
5756
+ function vn(m, le) {
5757
+ const oe = fn(m);
5758
5758
  if (e.multiple !== !0) {
5759
5759
  e.fillInput === !0 && ue(
5760
5760
  Se.value(m),
5761
5761
  !0,
5762
5762
  !0
5763
- ), l("update:modelValue", le);
5763
+ ), l("update:modelValue", oe);
5764
5764
  return;
5765
5765
  }
5766
5766
  if (p.value.length === 0) {
5767
- l("add", { index: 0, value: le }), l("update:modelValue", e.multiple === !0 ? [le] : le);
5767
+ l("add", { index: 0, value: oe }), l("update:modelValue", e.multiple === !0 ? [oe] : oe);
5768
5768
  return;
5769
5769
  }
5770
- if (ne === !0 && Mt(m) === !0 || e.maxValues !== void 0 && e.modelValue.length >= e.maxValues) return;
5770
+ if (le === !0 && Mt(m) === !0 || e.maxValues !== void 0 && e.modelValue.length >= e.maxValues) return;
5771
5771
  const he = e.modelValue.slice();
5772
- l("add", { index: he.length, value: le }), he.push(le), l("update:modelValue", he);
5772
+ l("add", { index: he.length, value: oe }), he.push(oe), l("update:modelValue", he);
5773
5773
  }
5774
- function at(m, ne) {
5774
+ function at(m, le) {
5775
5775
  if (f.editable.value !== !0 || m === void 0 || Ye.value(m) === !0) return;
5776
- const le = Be.value(m);
5776
+ const oe = Be.value(m);
5777
5777
  if (e.multiple !== !0) {
5778
- ne !== !0 && (ue(
5778
+ le !== !0 && (ue(
5779
5779
  e.fillInput === !0 ? Se.value(m) : "",
5780
5780
  !0,
5781
5781
  !0
5782
- ), St()), $.value?.focus(), (p.value.length === 0 || gt(Be.value(p.value[0]), le) !== !0) && l("update:modelValue", e.emitValue === !0 ? le : m);
5782
+ ), St()), $.value?.focus(), (p.value.length === 0 || gt(Be.value(p.value[0]), oe) !== !0) && l("update:modelValue", e.emitValue === !0 ? oe : m);
5783
5783
  return;
5784
5784
  }
5785
5785
  if ((_ !== !0 || d.value === !0) && f.focus(), Qt(), p.value.length === 0) {
5786
- const xe = e.emitValue === !0 ? le : m;
5786
+ const xe = e.emitValue === !0 ? oe : m;
5787
5787
  l("add", { index: 0, value: xe }), l("update:modelValue", e.multiple === !0 ? [xe] : xe);
5788
5788
  return;
5789
5789
  }
5790
- const he = e.modelValue.slice(), we = ot.value.findIndex((xe) => gt(xe, le));
5790
+ const he = e.modelValue.slice(), we = ot.value.findIndex((xe) => gt(xe, oe));
5791
5791
  if (we !== -1)
5792
5792
  l("remove", { index: we, value: he.splice(we, 1)[0] });
5793
5793
  else {
5794
5794
  if (e.maxValues !== void 0 && he.length >= e.maxValues) return;
5795
- const xe = e.emitValue === !0 ? le : m;
5795
+ const xe = e.emitValue === !0 ? oe : m;
5796
5796
  l("add", { index: he.length, value: xe }), he.push(xe);
5797
5797
  }
5798
5798
  l("update:modelValue", he);
5799
5799
  }
5800
5800
  function Ke(m) {
5801
5801
  if (o.platform.is.desktop !== !0) return;
5802
- const ne = m !== -1 && m < R.value ? m : -1;
5803
- r.value !== ne && (r.value = ne);
5802
+ const le = m !== -1 && m < R.value ? m : -1;
5803
+ r.value !== le && (r.value = le);
5804
5804
  }
5805
- function rt(m = 1, ne) {
5805
+ function rt(m = 1, le) {
5806
5806
  if (i.value === !0) {
5807
- let le = r.value;
5807
+ let oe = r.value;
5808
5808
  do
5809
- le = Bo(
5810
- le + m,
5809
+ oe = Bo(
5810
+ oe + m,
5811
5811
  -1,
5812
5812
  R.value - 1
5813
5813
  );
5814
- while (le !== -1 && le !== r.value && Ye.value(e.options[le]) === !0);
5815
- r.value !== le && (Ke(le), S(le), ne !== !0 && e.useInput === !0 && e.fillInput === !0 && te(
5816
- le >= 0 ? Se.value(e.options[le]) : C,
5814
+ while (oe !== -1 && oe !== r.value && Ye.value(e.options[oe]) === !0);
5815
+ r.value !== oe && (Ke(oe), w(oe), le !== !0 && e.useInput === !0 && e.fillInput === !0 && te(
5816
+ oe >= 0 ? Se.value(e.options[oe]) : C,
5817
5817
  !0
5818
5818
  ));
5819
5819
  }
5820
5820
  }
5821
- function Gn(m, ne) {
5822
- const le = (he) => gt(Be.value(he), m);
5823
- return e.options.find(le) || ne.find(le) || m;
5821
+ function Gn(m, le) {
5822
+ const oe = (he) => gt(Be.value(he), m);
5823
+ return e.options.find(oe) || le.find(oe) || m;
5824
5824
  }
5825
5825
  function Mt(m) {
5826
- const ne = Be.value(m);
5827
- return ot.value.find((le) => gt(le, ne)) !== void 0;
5826
+ const le = Be.value(m);
5827
+ return ot.value.find((oe) => gt(oe, le)) !== void 0;
5828
5828
  }
5829
5829
  function Qt(m) {
5830
5830
  e.useInput === !0 && $.value !== null && (m === void 0 || $.value === m.target && m.target.value === X.value) && $.value.select();
@@ -5833,17 +5833,17 @@ const $u = pe({
5833
5833
  _t(m, 27) === !0 && i.value === !0 && (ft(m), St(), Ft()), l("keyup", m);
5834
5834
  }
5835
5835
  function At(m) {
5836
- const { value: ne } = m.target;
5836
+ const { value: le } = m.target;
5837
5837
  if (m.keyCode !== void 0) {
5838
5838
  hn(m);
5839
5839
  return;
5840
5840
  }
5841
- if (m.target.value = "", g !== null && (clearTimeout(g), g = null), b !== null && (clearTimeout(b), b = null), Ft(), typeof ne == "string" && ne.length !== 0) {
5842
- const le = ne.toLocaleLowerCase(), he = (xe) => {
5843
- const Ie = e.options.find((Oe) => String(xe.value(Oe)).toLocaleLowerCase() === le);
5841
+ if (m.target.value = "", g !== null && (clearTimeout(g), g = null), b !== null && (clearTimeout(b), b = null), Ft(), typeof le == "string" && le.length !== 0) {
5842
+ const oe = le.toLocaleLowerCase(), he = (xe) => {
5843
+ const Ie = e.options.find((Oe) => String(xe.value(Oe)).toLocaleLowerCase() === oe);
5844
5844
  return Ie === void 0 ? !1 : (p.value.indexOf(Ie) === -1 ? at(Ie) : St(), !0);
5845
5845
  }, we = (xe) => {
5846
- he(Be) !== !0 && xe !== !0 && he(Se) !== !0 && se(ne, !0, () => we(!0));
5846
+ he(Be) !== !0 && xe !== !0 && he(Se) !== !0 && se(le, !0, () => we(!0));
5847
5847
  };
5848
5848
  we();
5849
5849
  } else
@@ -5854,12 +5854,12 @@ const $u = pe({
5854
5854
  }
5855
5855
  function wt(m) {
5856
5856
  if (l("keydown", m), Ml(m) === !0) return;
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);
5857
+ const le = c.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), oe = m.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (r.value !== -1 || le === !0);
5858
5858
  if (m.keyCode === 27) {
5859
5859
  st(m);
5860
5860
  return;
5861
5861
  }
5862
- if (m.keyCode === 9 && le === !1) {
5862
+ if (m.keyCode === 9 && oe === !1) {
5863
5863
  zt();
5864
5864
  return;
5865
5865
  }
@@ -5891,16 +5891,16 @@ const $u = pe({
5891
5891
  Oe = Bo(Oe + 1, -1, he - 1);
5892
5892
  while (Oe !== r.value && (Ye.value(e.options[Oe]) === !0 || Ie.test(Se.value(e.options[Oe])) !== !0));
5893
5893
  r.value !== Oe && Ce(() => {
5894
- Ke(Oe), S(Oe), Oe >= 0 && e.useInput === !0 && e.fillInput === !0 && te(Se.value(e.options[Oe]), !0);
5894
+ Ke(Oe), w(Oe), Oe >= 0 && e.useInput === !0 && e.fillInput === !0 && te(Se.value(e.options[Oe]), !0);
5895
5895
  });
5896
5896
  return;
5897
5897
  }
5898
- if (!(m.keyCode !== 13 && (m.keyCode !== 32 || e.useInput === !0 || V !== "") && (m.keyCode !== 9 || le === !1))) {
5898
+ if (!(m.keyCode !== 13 && (m.keyCode !== 32 || e.useInput === !0 || V !== "") && (m.keyCode !== 9 || oe === !1))) {
5899
5899
  if (m.keyCode !== 9 && Me(m), r.value !== -1 && r.value < he) {
5900
5900
  at(e.options[r.value]);
5901
5901
  return;
5902
5902
  }
5903
- if (ne === !0) {
5903
+ if (le === !0) {
5904
5904
  const we = (xe, Ie) => {
5905
5905
  if (Ie) {
5906
5906
  if (Oo(Ie) !== !0) return;
@@ -5921,14 +5921,14 @@ const $u = pe({
5921
5921
  return mn();
5922
5922
  }
5923
5923
  function Jn() {
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, {
5925
- key: "option-" + ne,
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, le) => v(dt, {
5925
+ key: "option-" + le,
5926
5926
  removable: f.editable.value === !0 && Ye.value(m.opt) !== !0,
5927
5927
  dense: !0,
5928
5928
  textColor: e.color,
5929
5929
  tabindex: He.value,
5930
5930
  onRemove() {
5931
- m.removeAtIndex(ne);
5931
+ m.removeAtIndex(le);
5932
5932
  }
5933
5933
  }, () => v("span", {
5934
5934
  class: "ellipsis",
@@ -5943,32 +5943,32 @@ const $u = pe({
5943
5943
  function gn() {
5944
5944
  if (fe.value === !0)
5945
5945
  return n["no-option"] !== void 0 ? n["no-option"]({ inputValue: c.value }) : void 0;
5946
- const m = n.option !== void 0 ? n.option : (le) => v(Ca, {
5947
- key: le.index,
5948
- ...le.itemProps
5946
+ const m = n.option !== void 0 ? n.option : (oe) => v(Ca, {
5947
+ key: oe.index,
5948
+ ...oe.itemProps
5949
5949
  }, () => v(
5950
5950
  Rn,
5951
5951
  () => v(
5952
5952
  ql,
5953
5953
  () => v("span", {
5954
- [le.html === !0 ? "innerHTML" : "textContent"]: le.label
5954
+ [oe.html === !0 ? "innerHTML" : "textContent"]: oe.label
5955
5955
  })
5956
5956
  )
5957
5957
  ));
5958
- let ne = F("div", lt.value.map(m));
5959
- return n["before-options"] !== void 0 && (ne = n["before-options"]().concat(ne)), ht(n["after-options"], ne);
5958
+ let le = F("div", lt.value.map(m));
5959
+ return n["before-options"] !== void 0 && (le = n["before-options"]().concat(le)), ht(n["after-options"], le);
5960
5960
  }
5961
- function Zn(m, ne) {
5962
- const le = ne === !0 ? { ...ct.value, ...f.splitAttrs.attributes.value } : void 0, he = {
5963
- ref: ne === !0 ? $ : void 0,
5961
+ function Zn(m, le) {
5962
+ const oe = le === !0 ? { ...ct.value, ...f.splitAttrs.attributes.value } : void 0, he = {
5963
+ ref: le === !0 ? $ : void 0,
5964
5964
  key: "i_t",
5965
5965
  class: J.value,
5966
5966
  style: e.inputStyle,
5967
5967
  value: c.value !== void 0 ? c.value : "",
5968
5968
  // required for Android in order to show ENTER key when in form
5969
5969
  type: "search",
5970
- ...le,
5971
- id: ne === !0 ? f.targetUid.value : void 0,
5970
+ ...oe,
5971
+ id: le === !0 ? f.targetUid.value : void 0,
5972
5972
  maxlength: e.maxlength,
5973
5973
  autocomplete: e.autocomplete,
5974
5974
  "data-autofocus": m === !0 || e.autofocus === !0 || void 0,
@@ -5983,16 +5983,16 @@ const $u = pe({
5983
5983
  g = null, se(c.value);
5984
5984
  }, e.inputDebounce)));
5985
5985
  }
5986
- function te(m, ne) {
5987
- c.value !== m && (c.value = m, ne === !0 || e.inputDebounce === 0 || e.inputDebounce === "0" ? l("inputValue", m) : b = setTimeout(() => {
5986
+ function te(m, le) {
5987
+ c.value !== m && (c.value = m, le === !0 || e.inputDebounce === 0 || e.inputDebounce === "0" ? l("inputValue", m) : b = setTimeout(() => {
5988
5988
  b = null, l("inputValue", m);
5989
5989
  }, e.inputDebounce));
5990
5990
  }
5991
- function ue(m, ne, le) {
5992
- x = le !== !0, e.useInput === !0 && (te(m, !0), (ne === !0 || le !== !0) && (C = m), ne !== !0 && se(m));
5991
+ function ue(m, le, oe) {
5992
+ x = oe !== !0, e.useInput === !0 && (te(m, !0), (le === !0 || oe !== !0) && (C = m), le !== !0 && se(m));
5993
5993
  }
5994
- function se(m, ne, le) {
5995
- if (e.onFilter === void 0 || ne !== !0 && f.focused.value !== !0) return;
5994
+ function se(m, le, oe) {
5995
+ if (e.onFilter === void 0 || le !== !0 && f.focused.value !== !0) return;
5996
5996
  f.innerLoading.value === !0 ? l("filterAbort") : (f.innerLoading.value = !0, u.value = !0), m !== "" && e.multiple !== !0 && p.value.length !== 0 && x !== !0 && m === Se.value(p.value[0]) && (m = "");
5997
5997
  const he = setTimeout(() => {
5998
5998
  i.value === !0 && (i.value = !1);
@@ -6001,11 +6001,11 @@ const $u = pe({
6001
6001
  "filter",
6002
6002
  m,
6003
6003
  (we, xe) => {
6004
- (ne === !0 || f.focused.value === !0) && y === he && (clearTimeout(y), typeof we == "function" && we(), u.value = !1, Ce(() => {
6005
- f.innerLoading.value = !1, f.editable.value === !0 && (ne === !0 ? i.value === !0 && St() : i.value === !0 ? tl(!0) : i.value = !0), typeof xe == "function" && Ce(() => {
6004
+ (le === !0 || f.focused.value === !0) && y === he && (clearTimeout(y), typeof we == "function" && we(), u.value = !1, Ce(() => {
6005
+ f.innerLoading.value = !1, f.editable.value === !0 && (le === !0 ? i.value === !0 && St() : i.value === !0 ? tl(!0) : i.value = !0), typeof xe == "function" && Ce(() => {
6006
6006
  xe(t);
6007
- }), typeof le == "function" && Ce(() => {
6008
- le(t);
6007
+ }), typeof oe == "function" && Ce(() => {
6008
+ oe(t);
6009
6009
  });
6010
6010
  }));
6011
6011
  },
@@ -6046,7 +6046,7 @@ const $u = pe({
6046
6046
  Xl(m), zt();
6047
6047
  }
6048
6048
  function ke() {
6049
- oe();
6049
+ ne();
6050
6050
  }
6051
6051
  function Qe(m) {
6052
6052
  ft(m), $.value?.focus(), d.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
@@ -6113,7 +6113,7 @@ const $u = pe({
6113
6113
  }
6114
6114
  function Ma() {
6115
6115
  const m = document.activeElement;
6116
- (m === null || m.id !== f.targetUid.value) && $.value !== null && $.value !== m && $.value.focus(), oe();
6116
+ (m === null || m.id !== f.targetUid.value) && $.value !== null && $.value !== m && $.value.focus(), ne();
6117
6117
  }
6118
6118
  function zt() {
6119
6119
  a.value !== !0 && (r.value = -1, i.value === !0 && (i.value = !1), f.focused.value === !1 && (y !== null && (clearTimeout(y), y = null), f.innerLoading.value === !0 && (l("filterAbort"), f.innerLoading.value = !1, u.value = !1)));
@@ -6134,19 +6134,19 @@ const $u = pe({
6134
6134
  );
6135
6135
  }
6136
6136
  function tl(m) {
6137
- let ne = -1;
6137
+ let le = -1;
6138
6138
  if (m === !0) {
6139
6139
  if (p.value.length !== 0) {
6140
- const le = Be.value(p.value[0]);
6141
- ne = e.options.findIndex((he) => gt(Be.value(he), le));
6140
+ const oe = Be.value(p.value[0]);
6141
+ le = e.options.findIndex((he) => gt(Be.value(he), oe));
6142
6142
  }
6143
- ae(ne);
6143
+ ae(le);
6144
6144
  }
6145
- Ke(ne);
6145
+ Ke(le);
6146
6146
  }
6147
- function Aa(m, ne) {
6147
+ function Aa(m, le) {
6148
6148
  i.value === !0 && f.innerLoading.value === !1 && (ae(-1, !0), Ce(() => {
6149
- i.value === !0 && f.innerLoading.value === !1 && (m > ne ? ae() : tl(!0));
6149
+ i.value === !0 && f.innerLoading.value === !1 && (m > le ? ae() : tl(!0));
6150
6150
  }));
6151
6151
  }
6152
6152
  function Kl() {
@@ -6215,17 +6215,17 @@ const $u = pe({
6215
6215
  }
6216
6216
  },
6217
6217
  getControl: (m) => {
6218
- const ne = Jn(), le = m === !0 || a.value !== !0 || _ !== !0;
6218
+ const le = Jn(), oe = m === !0 || a.value !== !0 || _ !== !0;
6219
6219
  if (e.useInput === !0)
6220
- ne.push(Zn(m, le));
6220
+ le.push(Zn(m, oe));
6221
6221
  else if (f.editable.value === !0) {
6222
- const we = le === !0 ? ct.value : void 0;
6223
- ne.push(
6222
+ const we = oe === !0 ? ct.value : void 0;
6223
+ le.push(
6224
6224
  v("input", {
6225
- ref: le === !0 ? $ : void 0,
6225
+ ref: oe === !0 ? $ : void 0,
6226
6226
  key: "d_t",
6227
6227
  class: "q-select__focus-target",
6228
- id: le === !0 ? f.targetUid.value : void 0,
6228
+ id: oe === !0 ? f.targetUid.value : void 0,
6229
6229
  value: Re.value,
6230
6230
  readonly: !0,
6231
6231
  "data-autofocus": m === !0 || e.autofocus === !0 || void 0,
@@ -6234,7 +6234,7 @@ const $u = pe({
6234
6234
  onKeyup: hn,
6235
6235
  onKeypress: Xt
6236
6236
  })
6237
- ), le === !0 && typeof e.autocomplete == "string" && e.autocomplete.length !== 0 && ne.push(
6237
+ ), oe === !0 && typeof e.autocomplete == "string" && e.autocomplete.length !== 0 && le.push(
6238
6238
  v("input", {
6239
6239
  class: "q-select__autocomplete-input",
6240
6240
  autocomplete: e.autocomplete,
@@ -6245,7 +6245,7 @@ const $u = pe({
6245
6245
  }
6246
6246
  if (q.value !== void 0 && e.disable !== !0 && ot.value.length !== 0) {
6247
6247
  const we = ot.value.map((xe) => v("option", { value: xe, selected: !0 }));
6248
- ne.push(
6248
+ le.push(
6249
6249
  v("select", {
6250
6250
  class: "hidden",
6251
6251
  name: q.value,
@@ -6253,12 +6253,12 @@ const $u = pe({
6253
6253
  }, we)
6254
6254
  );
6255
6255
  }
6256
- const he = e.useInput === !0 || le !== !0 ? void 0 : f.splitAttrs.attributes.value;
6256
+ const he = e.useInput === !0 || oe !== !0 ? void 0 : f.splitAttrs.attributes.value;
6257
6257
  return v("div", {
6258
6258
  class: "q-field__native row items-center",
6259
6259
  ...he,
6260
6260
  ...f.splitAttrs.listeners.value
6261
- }, ne);
6261
+ }, le);
6262
6262
  },
6263
6263
  getInnerAppend: () => e.loading !== !0 && u.value !== !0 && e.hideDropdownIcon !== !0 ? [
6264
6264
  v(me, {
@@ -6450,9 +6450,9 @@ function Yu(e, n) {
6450
6450
  function q(R) {
6451
6451
  (R.keyCode === 13 || R.keyCode === 32) && K(R);
6452
6452
  }
6453
- const w = n(_, y);
6453
+ const S = n(_, y);
6454
6454
  return Object.assign(i, { toggle: K }), () => {
6455
- const R = w();
6455
+ const R = S();
6456
6456
  l.disable !== !0 && j(
6457
6457
  R,
6458
6458
  "unshift",
@@ -6984,7 +6984,7 @@ const pc = pe({
6984
6984
  const { rowsPerPage: te } = y.value;
6985
6985
  return te !== 0 && (G.value === 0 && e.rows !== k ? k.length > fe.value && (k = k.slice(0, fe.value)) : k = k.slice(G.value, fe.value)), k;
6986
6986
  }), {
6987
- hasSelectionMode: w,
6987
+ hasSelectionMode: S,
6988
6988
  singleSelection: R,
6989
6989
  multipleSelection: O,
6990
6990
  allRowsSelected: P,
@@ -6992,8 +6992,8 @@ const pc = pe({
6992
6992
  rowsSelectedNumber: ae,
6993
6993
  isRowSelected: F,
6994
6994
  clearSelection: E,
6995
- updateSelection: S
6996
- } = vc(e, l, q, c), { colList: oe, computedCols: f, computedColsMap: p, computedColspan: z } = yc(e, y, w), { columnToSort: M, computedSortMethod: U, sort: J } = oc(e, y, oe, V), {
6995
+ updateSelection: w
6996
+ } = vc(e, l, q, c), { colList: ne, computedCols: f, computedColsMap: p, computedColspan: z } = yc(e, y, S), { columnToSort: M, computedSortMethod: U, sort: J } = oc(e, y, ne, V), {
6997
6997
  firstRowIndex: G,
6998
6998
  lastRowIndex: fe,
6999
6999
  isFirstPage: X,
@@ -7101,7 +7101,7 @@ const pc = pe({
7101
7101
  style: qe.__tdStyle(k)
7102
7102
  }, Ke(qe, k));
7103
7103
  });
7104
- if (w.value === !0) {
7104
+ if (S.value === !0) {
7105
7105
  const qe = n["body-selection"], mt = qe !== void 0 ? qe(vn({ key: se, row: k, pageIndex: ue })) : [
7106
7106
  v(ml, {
7107
7107
  modelValue: de,
@@ -7109,7 +7109,7 @@ const pc = pe({
7109
7109
  dark: i.value,
7110
7110
  dense: e.dense,
7111
7111
  "onUpdate:modelValue": (Lt, el) => {
7112
- S([se], [k], Lt, el);
7112
+ w([se], [k], Lt, el);
7113
7113
  }
7114
7114
  })
7115
7115
  ];
@@ -7157,12 +7157,12 @@ const pc = pe({
7157
7157
  color: e.color,
7158
7158
  dark: i.value,
7159
7159
  dense: e.dense
7160
- }), w.value === !0 && vt(
7160
+ }), S.value === !0 && vt(
7161
7161
  k,
7162
7162
  "selected",
7163
7163
  () => F(k.key),
7164
7164
  (te, ue) => {
7165
- S([k.key], [k.row], te, ue);
7165
+ w([k.key], [k.row], te, ue);
7166
7166
  }
7167
7167
  ), vt(
7168
7168
  k,
@@ -7190,7 +7190,7 @@ const pc = pe({
7190
7190
  toggleFullscreen: r
7191
7191
  }));
7192
7192
  function Gn() {
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";
7193
+ const k = n.top, te = n["top-left"], ue = n["top-right"], se = n["top-selection"], de = S.value === !0 && se !== void 0 && ae.value > 0, Ee = "q-table__top relative-position row items-center";
7194
7194
  if (k !== void 0)
7195
7195
  return v("div", { class: Ee }, [k(rt.value)]);
7196
7196
  let ke;
@@ -7279,7 +7279,7 @@ const pc = pe({
7279
7279
  ), k;
7280
7280
  }
7281
7281
  function Xt(k) {
7282
- W.value === !0 && (k = !1), S(
7282
+ W.value === !0 && (k = !1), w(
7283
7283
  q.value.map(c.value),
7284
7284
  q.value,
7285
7285
  k
@@ -7310,7 +7310,7 @@ const pc = pe({
7310
7310
  const k = n.bottom;
7311
7311
  if (k !== void 0)
7312
7312
  return v("div", { class: kn }, [k(rt.value)]);
7313
- const te = e.hideSelectedBanner !== !0 && w.value === !0 && ae.value > 0 ? [
7313
+ const te = e.hideSelectedBanner !== !0 && S.value === !0 && ae.value > 0 ? [
7314
7314
  v("div", { class: "q-table__control" }, [
7315
7315
  v("div", [
7316
7316
  (e.selectedRowsLabel || o.lang.table.selectedRecords)(ae.value)
@@ -7424,7 +7424,7 @@ const pc = pe({
7424
7424
  v("div", { class: "q-table__grid-item-value" }, [de.value])
7425
7425
  ])
7426
7426
  );
7427
- if (w.value === !0) {
7427
+ if (S.value === !0) {
7428
7428
  const de = n["body-selection"], Ee = de !== void 0 ? de(te) : [
7429
7429
  v(ml, {
7430
7430
  modelValue: te.selected,
@@ -7432,7 +7432,7 @@ const pc = pe({
7432
7432
  dark: i.value,
7433
7433
  dense: e.dense,
7434
7434
  "onUpdate:modelValue": (ke, Qe) => {
7435
- S([te.key], [te.row], ke, Qe);
7435
+ w([te.key], [te.row], ke, Qe);
7436
7436
  }
7437
7437
  })
7438
7438
  ];
@@ -7518,38 +7518,38 @@ const pc = pe({
7518
7518
  const l = un(
7519
7519
  () => Promise.resolve().then(() => $n)
7520
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(() => {
7521
- const S = t.context.value;
7522
- if (S.length === 0 || !S.every(
7521
+ const w = t.context.value;
7522
+ if (w.length === 0 || !w.every(
7523
7523
  (f) => typeof f == "object" && f !== null && !Array.isArray(f)
7524
7524
  ))
7525
7525
  return !1;
7526
- const oe = Object.keys(S[0]).sort().join(",");
7527
- return S.every(
7528
- (f) => Object.keys(f).sort().join(",") === oe
7526
+ const ne = Object.keys(w[0]).sort().join(",");
7527
+ return w.every(
7528
+ (f) => Object.keys(f).sort().join(",") === ne
7529
7529
  );
7530
7530
  }), h = N("list"), _ = 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);
7531
- function y(S) {
7531
+ function y(w) {
7532
7532
  if (!r) return !1;
7533
- const oe = Ge(t.context.path, S), f = r.state.highlightedPath.value;
7534
- return f === oe || (f?.startsWith(oe + ".") ?? !1);
7533
+ const ne = Ge(t.context.path, w), f = r.state.highlightedPath.value;
7534
+ return f === ne || (f?.startsWith(ne + ".") ?? !1);
7535
7535
  }
7536
- function C(S, oe) {
7536
+ function C(w, ne) {
7537
7537
  if (!r) return !1;
7538
- const f = Ge(Ge(t.context.path, S), oe), p = r.state.highlightedPath.value;
7538
+ const f = Ge(Ge(t.context.path, w), ne), p = r.state.highlightedPath.value;
7539
7539
  return p === f || (p?.startsWith(f + ".") ?? !1) || (p?.startsWith(f + "[") ?? !1);
7540
7540
  }
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(() => {
7542
- const S = t.context.value;
7543
- return S.slice(0, 3).map((f) => Ut(f, 15)).join(", ") + (S.length > 3 ? ", ..." : "");
7541
+ const B = s(() => t.context.value.map((ne, f) => typeof ne == "object" && ne !== null && !Array.isArray(ne) ? { ...ne, __qv_index: f } : { __qv_value: ne, __qv_index: f })), V = s(() => t.context.value.length), A = s(() => {
7542
+ const w = t.context.value;
7543
+ return w.slice(0, 3).map((f) => Ut(f, 15)).join(", ") + (w.length > 3 ? ", ..." : "");
7544
7544
  }), j = s(() => {
7545
- const S = t.context.value;
7546
- return g.value || S.length <= qn ? S : S.slice(0, qn);
7547
- }), $ = s(() => !g.value && V.value > qn), K = s(() => V.value >= zo), Y = s(() => t.context.value.map((oe, f) => ({
7548
- __qv_value: oe,
7545
+ const w = t.context.value;
7546
+ return g.value || w.length <= qn ? w : w.slice(0, qn);
7547
+ }), $ = s(() => !g.value && V.value > qn), K = s(() => V.value >= zo), Y = s(() => t.context.value.map((ne, f) => ({
7548
+ __qv_value: ne,
7549
7549
  __qv_original_index: f
7550
7550
  }))), Q = s(() => {
7551
- const S = t.context.value;
7552
- return S.length === 0 ? [] : Object.keys(S[0]).filter((f) => f !== "__qv_index").map((f) => ({
7551
+ const w = t.context.value;
7552
+ return w.length === 0 ? [] : Object.keys(w[0]).filter((f) => f !== "__qv_index").map((f) => ({
7553
7553
  name: f,
7554
7554
  label: f,
7555
7555
  field: f,
@@ -7557,16 +7557,16 @@ const pc = pe({
7557
7557
  sortable: !0
7558
7558
  }));
7559
7559
  }), q = s(() => {
7560
- const S = [...Q.value];
7561
- return t.context.onCopy && S.push({
7560
+ const w = [...Q.value];
7561
+ return t.context.onCopy && w.push({
7562
7562
  name: "__actions__",
7563
7563
  label: "",
7564
7564
  field: "__actions__",
7565
7565
  align: "right",
7566
7566
  sortable: !1
7567
- }), S;
7567
+ }), w;
7568
7568
  });
7569
- function w() {
7569
+ function S() {
7570
7570
  r && t.context.path && r.actions.toggle(t.context.path);
7571
7571
  }
7572
7572
  function R() {
@@ -7578,18 +7578,18 @@ const pc = pe({
7578
7578
  function P() {
7579
7579
  o(JSON.stringify(t.context.value, null, 2), "__array__");
7580
7580
  }
7581
- function W(S) {
7582
- const oe = t.context.value;
7583
- o(JSON.stringify(oe[S], null, 2), `row-${S}`);
7581
+ function W(w) {
7582
+ const ne = t.context.value;
7583
+ o(JSON.stringify(ne[w], null, 2), `row-${w}`);
7584
7584
  }
7585
- function ae(S) {
7586
- const f = t.context.value[S], p = typeof f == "object" && f !== null ? JSON.stringify(f, null, 2) : String(f);
7587
- o(p, `item-${S}`);
7585
+ function ae(w) {
7586
+ const f = t.context.value[w], p = typeof f == "object" && f !== null ? JSON.stringify(f, null, 2) : String(f);
7587
+ o(p, `item-${w}`);
7588
7588
  }
7589
- function F(S) {
7590
- return S === null || typeof S != "object" && typeof S != "function";
7589
+ function F(w) {
7590
+ return w === null || typeof w != "object" && typeof w != "function";
7591
7591
  }
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: _, isHighlighted: x, isIndexHighlighted: y, isCellHighlighted: C, arrayValue: B, length: V, preview: A, displayedItems: j, hasMore: $, VIRTUAL_SCROLL_THRESHOLD: zo, virtualItemSize: _c, useVirtualScroll: K, virtualScrollItems: Y, dataColumns: Q, tableColumns: q, toggle: w, expandSubtree: R, collapseSubtree: O, copyArray: P, copyRow: W, copyItem: ae, isPrimitive: F, get buildPath() {
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: _, isHighlighted: x, isIndexHighlighted: y, isCellHighlighted: C, arrayValue: B, length: V, preview: A, displayedItems: j, hasMore: $, VIRTUAL_SCROLL_THRESHOLD: zo, virtualItemSize: _c, useVirtualScroll: K, virtualScrollItems: Y, dataColumns: Q, tableColumns: q, toggle: S, expandSubtree: R, collapseSubtree: O, copyArray: P, copyRow: W, copyItem: ae, isPrimitive: F, get buildPath() {
7593
7593
  return Ge;
7594
7594
  } };
7595
7595
  return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
@@ -8243,7 +8243,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
8243
8243
  };
8244
8244
  });
8245
8245
  ie(() => e.group, (F) => {
8246
- b?.(), F !== void 0 && w();
8246
+ b?.(), F !== void 0 && S();
8247
8247
  });
8248
8248
  function $(F) {
8249
8249
  x.value !== !0 && u(F), l("click", F);
@@ -8260,14 +8260,14 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
8260
8260
  function q() {
8261
8261
  l("afterHide");
8262
8262
  }
8263
- function w() {
8263
+ function S() {
8264
8264
  g === void 0 && (g = En()), i.value === !0 && (qt[e.group] = g);
8265
- const F = ie(i, (S) => {
8266
- S === !0 ? qt[e.group] = g : qt[e.group] === g && delete qt[e.group];
8265
+ const F = ie(i, (w) => {
8266
+ w === !0 ? qt[e.group] = g : qt[e.group] === g && delete qt[e.group];
8267
8267
  }), E = ie(
8268
8268
  () => qt[e.group],
8269
- (S, oe) => {
8270
- oe === g && S !== void 0 && S !== g && d();
8269
+ (w, ne) => {
8270
+ ne === g && w !== void 0 && w !== g && d();
8271
8271
  }
8272
8272
  );
8273
8273
  b = () => {
@@ -8366,7 +8366,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
8366
8366
  })
8367
8367
  ), F;
8368
8368
  }
8369
- return e.group !== void 0 && w(), ze(() => {
8369
+ return e.group !== void 0 && S(), ze(() => {
8370
8370
  b?.();
8371
8371
  }), () => v("div", { class: h.value }, [
8372
8372
  v("div", { class: "q-expansion-item__container relative-position" }, ae())
@@ -8432,7 +8432,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
8432
8432
  }), j = s(() => {
8433
8433
  const I = t.context.path || "";
8434
8434
  return y.value.raw?.request ? I ? `${I}.raw.request` : "raw.request" : I ? `${I}.request` : "request";
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(() => {
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), S = s(() => {
8436
8436
  const I = A.value?.body;
8437
8437
  return I != null && I !== "";
8438
8438
  }), R = s(() => {
@@ -8473,7 +8473,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
8473
8473
  default:
8474
8474
  return "";
8475
8475
  }
8476
- }), E = s(() => y.value.headers && Object.keys(y.value.headers).length > 0), S = s(() => y.value.headers ? Object.keys(y.value.headers).length : 0), oe = s(() => {
8476
+ }), E = s(() => y.value.headers && Object.keys(y.value.headers).length > 0), w = s(() => y.value.headers ? Object.keys(y.value.headers).length : 0), ne = s(() => {
8477
8477
  const I = y.value.headers || {}, ge = I["content-type"] || I["Content-Type"];
8478
8478
  return ge ? String(ge).split(";")[0].trim() : null;
8479
8479
  }), f = s(() => {
@@ -8538,7 +8538,7 @@ const jo = /* @__PURE__ */ Ae(Ac, [["render", jc], ["__scopeId", "data-v-ac41a1e
8538
8538
  function We() {
8539
8539
  o(A.value?.url || "", "request-url");
8540
8540
  }
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: _, 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: p, 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() {
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: _, requestViewMode: x, response: y, headersPath: C, bodyPath: B, textPath: V, requestData: A, requestPath: j, hasRequestData: $, requestBodyPath: K, requestHeadersPath: Y, requestHeaderCount: Q, hasRequestHeaders: q, hasRequestBody: S, rawRequestHeaders: R, rawRequestBody: O, isHeaderHighlighted: P, statusColor: W, statusIcon: ae, statusLabel: F, hasHeaders: E, headerCount: w, contentType: ne, bodySize: f, rawBody: p, 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
8542
  return Ge;
8543
8543
  } };
8544
8544
  return Object.defineProperty(lt, "__isScriptSetup", { enumerable: !1, value: !0 }), lt;
@@ -9961,9 +9961,15 @@ const gf = /* @__PURE__ */ Te({
9961
9961
  },
9962
9962
  setup(e, { expose: n }) {
9963
9963
  n();
9964
- const l = e, { copy: t, getIcon: o, getColor: i } = Qn(), a = N(null), r = N(null), c = s(
9965
- () => l.registry || Oa()
9966
- ), { state: d, actions: u } = hf(1);
9964
+ const l = e, { copy: t, getIcon: o, getColor: i } = Qn(), a = N(null), r = N(null), c = s(() => {
9965
+ const w = l.registry || Oa(), ne = l.options.renderers;
9966
+ if (!ne || ne.length === 0)
9967
+ return w;
9968
+ const f = w.clone();
9969
+ for (const p of ne)
9970
+ f.register(p.name, p.component, p.tester);
9971
+ return f;
9972
+ }), { state: d, actions: u } = hf(1);
9967
9973
  Gt("quickview-registry", c), Gt("quickview-expansion", {
9968
9974
  state: d,
9969
9975
  actions: u
@@ -9977,20 +9983,20 @@ const gf = /* @__PURE__ */ Te({
9977
9983
  "quickview-indent-width",
9978
9984
  s(() => l.options.indentWidth ?? 24)
9979
9985
  );
9980
- const g = N(""), b = N(""), h = N(!1), _ = N(0), x = Vl((S) => {
9981
- b.value = S;
9986
+ const g = N(""), b = N(""), h = N(!1), _ = N(0), x = Vl((w) => {
9987
+ b.value = w;
9982
9988
  }, 150);
9983
- ie(g, (S) => {
9984
- x(S);
9989
+ ie(g, (w) => {
9990
+ x(w);
9985
9991
  });
9986
9992
  const y = s(() => l.options.showToolbar !== void 0 ? l.options.showToolbar : l.options.showCopyButtons !== void 0 ? l.options.showCopyButtons : !0), C = s(() => !0), B = s(() => l.options.dense === !0), V = s(() => h.value && g.value.length >= 2 && A.value.length > 0), A = s(() => {
9987
9993
  if (!b.value || b.value.length < 2) return [];
9988
- const S = [], oe = /* @__PURE__ */ new Set(), f = b.value.toLowerCase();
9994
+ const w = [], ne = /* @__PURE__ */ new Set(), f = b.value.toLowerCase();
9989
9995
  function p(M, U, J) {
9990
- oe.has(M) || (oe.add(M), S.push({ path: M, preview: U, matchType: J }));
9996
+ ne.has(M) || (ne.add(M), w.push({ path: M, preview: U, matchType: J }));
9991
9997
  }
9992
9998
  function z(M, U) {
9993
- if (!(S.length >= 100) && (U && U.toLowerCase().includes(f) && p(U, Ut(M, 60), "path"), M != null)) {
9999
+ if (!(w.length >= 100) && (U && U.toLowerCase().includes(f) && p(U, Ut(M, 60), "path"), M != null)) {
9994
10000
  if (typeof M == "string")
9995
10001
  M.toLowerCase().includes(f) && p(U, Ut(M, 60), "value");
9996
10002
  else if (typeof M == "number" || typeof M == "boolean")
@@ -10002,29 +10008,29 @@ const gf = /* @__PURE__ */ Te({
10002
10008
  else if (typeof M == "object")
10003
10009
  for (const [J, G] of Object.entries(M)) {
10004
10010
  const fe = U ? `${U}.${J}` : J;
10005
- J.toLowerCase().includes(f) && !oe.has(fe) && p(fe, Ut(G, 60), "key"), z(G, fe);
10011
+ J.toLowerCase().includes(f) && !ne.has(fe) && p(fe, Ut(G, 60), "key"), z(G, fe);
10006
10012
  }
10007
10013
  }
10008
10014
  }
10009
- return z(l.value, ""), S;
10015
+ return z(l.value, ""), w;
10010
10016
  });
10011
- function j(S) {
10012
- u.jumpToPath(S), Q(), Ce(() => {
10017
+ function j(w) {
10018
+ u.jumpToPath(w), Q(), Ce(() => {
10013
10019
  setTimeout(() => {
10014
- $(S);
10020
+ $(w);
10015
10021
  }, 50);
10016
10022
  });
10017
10023
  }
10018
- function $(S) {
10024
+ function $(w) {
10019
10025
  if (!a.value) return;
10020
- const oe = S ? `[data-qv-path="${CSS.escape(S)}"]` : ".qv-content > *", f = a.value.querySelector(oe);
10026
+ const ne = w ? `[data-qv-path="${CSS.escape(w)}"]` : ".qv-content > *", f = a.value.querySelector(ne);
10021
10027
  f && f.scrollIntoView({ behavior: "smooth", block: "center" });
10022
10028
  }
10023
- function K(S) {
10024
- const oe = Math.min(A.value.length - 1, 19);
10029
+ function K(w) {
10030
+ const ne = Math.min(A.value.length - 1, 19);
10025
10031
  _.value = Math.max(
10026
10032
  0,
10027
- Math.min(oe, _.value + S)
10033
+ Math.min(ne, _.value + w)
10028
10034
  ), Ce(() => {
10029
10035
  const f = r.value;
10030
10036
  if (!f) return;
@@ -10044,21 +10050,21 @@ const gf = /* @__PURE__ */ Te({
10044
10050
  function q() {
10045
10051
  g.value = "", b.value = "", _.value = 0;
10046
10052
  }
10047
- function w(S) {
10048
- const f = S.relatedTarget, p = S.target?.closest(
10053
+ function S(w) {
10054
+ const f = w.relatedTarget, p = w.target?.closest(
10049
10055
  ".search-container"
10050
10056
  );
10051
10057
  f && p?.contains(f) || setTimeout(() => {
10052
10058
  h.value = !1;
10053
10059
  }, 200);
10054
10060
  }
10055
- function R(S, oe) {
10056
- const f = typeof S == "string" ? S : JSON.stringify(S, null, 2);
10057
- t(f, oe || "__root__");
10061
+ function R(w, ne) {
10062
+ const f = typeof w == "string" ? w : JSON.stringify(w, null, 2);
10063
+ t(f, ne || "__root__");
10058
10064
  }
10059
10065
  function O() {
10060
- const S = JSON.stringify(l.value, null, 2);
10061
- t(S, "__all__");
10066
+ const w = JSON.stringify(l.value, null, 2);
10067
+ t(w, "__all__");
10062
10068
  }
10063
10069
  function P() {
10064
10070
  u.expandAll(10, l.value);
@@ -10066,9 +10072,9 @@ const gf = /* @__PURE__ */ Te({
10066
10072
  function W() {
10067
10073
  u.collapseAll();
10068
10074
  }
10069
- function ae(S, oe) {
10070
- if (!oe.length) return;
10071
- const f = new Set(oe);
10075
+ function ae(w, ne) {
10076
+ if (!ne.length) return;
10077
+ const f = new Set(ne);
10072
10078
  function p(z, M) {
10073
10079
  if (z != null) {
10074
10080
  if (Array.isArray(z))
@@ -10083,27 +10089,27 @@ const gf = /* @__PURE__ */ Te({
10083
10089
  }
10084
10090
  }
10085
10091
  }
10086
- p(S, "");
10092
+ p(w, "");
10087
10093
  }
10088
- function F(S) {
10089
- const { expandAll: oe, defaultExpanded: f, maxAutoExpandDepth: p } = l.options;
10090
- if (oe) {
10094
+ function F(w) {
10095
+ const { expandAll: ne, defaultExpanded: f, maxAutoExpandDepth: p } = l.options;
10096
+ if (ne) {
10091
10097
  const z = p ?? 10;
10092
- u.expandAll(z, S);
10098
+ u.expandAll(z, w);
10093
10099
  } else
10094
- u.expandAll(1, S), f?.length && ae(S, f);
10100
+ u.expandAll(1, w), f?.length && ae(w, f);
10095
10101
  }
10096
10102
  F(l.value), ie(
10097
10103
  () => l.value,
10098
- (S) => {
10104
+ (w) => {
10099
10105
  u.collapseAll(), Ce(() => {
10100
- F(S);
10106
+ F(w);
10101
10107
  });
10102
10108
  }
10103
10109
  ), ie(A, () => {
10104
10110
  _.value = 0;
10105
10111
  });
10106
- const E = { props: l, copy: t, getIcon: o, getColor: i, contentRef: a, searchResultsListRef: r, activeRegistry: c, expansionState: d, expansionActions: u, searchQuery: g, debouncedSearchQuery: b, searchFocused: h, selectedResultIndex: _, updateDebouncedQuery: x, showToolbar: y, showSearch: C, isDense: B, showSearchResults: V, searchResults: A, jumpTo: j, scrollToPath: $, navigateResults: K, selectFirstResult: Y, closeSearch: Q, clearSearch: q, onSearchBlur: w, handleCopy: R, copyAll: O, doExpandAll: P, doCollapseAll: W, expandDefaultProperties: ae, initializeExpansion: F, SmartValue: ya };
10112
+ const E = { props: l, copy: t, getIcon: o, getColor: i, contentRef: a, searchResultsListRef: r, activeRegistry: c, expansionState: d, expansionActions: u, searchQuery: g, debouncedSearchQuery: b, searchFocused: h, selectedResultIndex: _, updateDebouncedQuery: x, showToolbar: y, showSearch: C, isDense: B, showSearchResults: V, searchResults: A, jumpTo: j, scrollToPath: $, navigateResults: K, selectFirstResult: Y, closeSearch: Q, clearSearch: q, onSearchBlur: S, handleCopy: R, copyAll: O, doExpandAll: P, doCollapseAll: W, expandDefaultProperties: ae, initializeExpansion: F, SmartValue: ya };
10107
10113
  return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
10108
10114
  }
10109
10115
  }), bf = {