@quidgest/ui 0.9.7 → 0.9.9

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/index.d.ts CHANGED
@@ -2108,6 +2108,7 @@ export declare const QInputGroup: {
2108
2108
  prepend?(_: {}): any;
2109
2109
  default?(_: {}): any;
2110
2110
  append?(_: {}): any;
2111
+ extras?(_: {}): any;
2111
2112
  };
2112
2113
  });
2113
2114
 
package/dist/ui.css CHANGED
@@ -726,6 +726,7 @@ body *::-webkit-scrollbar-track {
726
726
  .q-overlay__underlay {
727
727
  position: fixed;
728
728
  inset: 0;
729
+ z-index: 1069;
729
730
  }
730
731
  .q-overlay__underlay--blur {
731
732
  -webkit-backdrop-filter: blur(2px);
package/dist/ui.esm.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getCurrentInstance as De, computed as w, ref as D, provide as ze, inject as Ce, watch as Y, defineComponent as x, openBlock as u, createElementBlock as m, normalizeClass as T, normalizeStyle as pe, createElementVNode as J, withModifiers as de, createVNode as F, unref as h, createCommentVNode as I, Fragment as te, createTextVNode as ue, toDisplayString as K, renderSlot as v, toRef as Ie, mergeModels as G, useModel as Z, createBlock as E, withCtx as k, renderList as be, resolveDynamicComponent as Ae, h as xe, normalizeProps as ne, mergeProps as se, reactive as Ne, onBeforeUnmount as He, onMounted as Qe, nextTick as H, Teleport as Ke, Transition as Ge, withKeys as We, createSlots as _e, withDirectives as je, vModelDynamic as Xe, guardReactiveProps as ie } from "vue";
2
- function ye(t) {
1
+ import { getCurrentInstance as De, computed as w, ref as D, provide as ze, inject as Ce, watch as Y, defineComponent as x, openBlock as u, createElementBlock as m, normalizeClass as T, normalizeStyle as pe, createElementVNode as J, withModifiers as de, createVNode as F, unref as h, createCommentVNode as I, Fragment as te, createTextVNode as ue, toDisplayString as K, renderSlot as v, toRef as Ie, mergeModels as G, useModel as Z, createBlock as E, withCtx as k, renderList as ye, resolveDynamicComponent as Ae, h as xe, normalizeProps as ne, mergeProps as se, reactive as Ne, onBeforeUnmount as He, onMounted as Qe, nextTick as H, Teleport as Ke, Transition as Ge, withKeys as We, createSlots as ve, withDirectives as je, vModelDynamic as Xe, guardReactiveProps as ie } from "vue";
2
+ function ge(t) {
3
3
  return t == null ? !0 : typeof t == "string" || Array.isArray(t) ? t.length === 0 : typeof t == "object" ? Object.keys(t).length === 0 : !1;
4
4
  }
5
5
  function Be(t) {
@@ -35,9 +35,9 @@ function Ye() {
35
35
  return w(() => ke(n, l));
36
36
  }
37
37
  function Me(t) {
38
- if (ye(t))
38
+ if (ge(t))
39
39
  return;
40
- const o = Oe(), e = D(t), n = w(() => ye(e.value) ? o.value : ke(o.value, e.value));
40
+ const o = Oe(), e = D(t), n = w(() => ge(e.value) ? o.value : ke(o.value, e.value));
41
41
  ze(we, n);
42
42
  }
43
43
  function Oe() {
@@ -245,7 +245,7 @@ function S(t) {
245
245
  const o = t.setup;
246
246
  return o && (t.setup = (e, n) => {
247
247
  const l = Ye();
248
- if (ye(l.value))
248
+ if (ge(l.value))
249
249
  return o(e, n);
250
250
  const s = De();
251
251
  if (s === null)
@@ -376,7 +376,7 @@ const $e = S(it), dt = ["disabled"], ut = {
376
376
  elevated: o.elevated
377
377
  }, {
378
378
  default: k(() => [
379
- (u(!0), m(te, null, be(o.options, (r) => (u(), E(h(fe), {
379
+ (u(!0), m(te, null, ye(o.options, (r) => (u(), E(h(fe), {
380
380
  key: r.key,
381
381
  title: r.title,
382
382
  label: r.label,
@@ -752,13 +752,13 @@ const $t = /* @__PURE__ */ x({
752
752
  onKeydown: U
753
753
  }, {
754
754
  default: k(() => [
755
- (u(!0), m(te, null, be(r.value, (q) => (u(), E(h(Qt), {
755
+ (u(!0), m(te, null, ye(r.value, (q) => (u(), E(h(Qt), {
756
756
  key: q.id,
757
757
  title: r.value.length === 1 ? void 0 : q.title,
758
758
  disabled: q.disabled
759
759
  }, {
760
760
  default: k(() => [
761
- (u(!0), m(te, null, be(ae(q.id), (d) => (u(), E(h(At), {
761
+ (u(!0), m(te, null, ye(ae(q.id), (d) => (u(), E(h(At), {
762
762
  key: d[e.itemValue],
763
763
  value: d[e.itemValue],
764
764
  label: d[e.itemLabel],
@@ -862,7 +862,7 @@ const St = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Vt = {
862
862
  function Mt(t, o, e = "right", n) {
863
863
  const l = t.getBoundingClientRect(), s = l.x + window.scrollX, r = l.y + window.scrollY, i = o == null ? void 0 : o.getBoundingClientRect(), f = (i == null ? void 0 : i.width) ?? 0, L = (i == null ? void 0 : i.height) ?? 0;
864
864
  let _ = e;
865
- i && ge(l, i, _) !== 0 && (_ = Ot(l, i, _));
865
+ i && _e(l, i, _) !== 0 && (_ = Ot(l, i, _));
866
866
  const y = { x: 0, y: 0, placement: _ };
867
867
  switch (_) {
868
868
  case "top":
@@ -880,7 +880,7 @@ function Mt(t, o, e = "right", n) {
880
880
  }
881
881
  return y.x = Math.max(0, y.x), y.y = Math.max(0, y.y), n === "anchor" && l.width >= f && (y.width = l.width), y;
882
882
  }
883
- function ge(t, o, e) {
883
+ function _e(t, o, e) {
884
884
  let n = 0, l = 0;
885
885
  switch (e) {
886
886
  case "top":
@@ -917,9 +917,9 @@ function Ot(t, o, e) {
917
917
  left: ["right", "top", "bottom"],
918
918
  right: ["left", "top", "bottom"]
919
919
  };
920
- let l = e, s = ge(t, o, e);
920
+ let l = e, s = _e(t, o, e);
921
921
  for (const r of n[e]) {
922
- const i = ge(t, o, r);
922
+ const i = _e(t, o, r);
923
923
  i > s && (s = i, l = r);
924
924
  }
925
925
  return l;
@@ -1147,7 +1147,7 @@ const Rt = ["role"], Ut = {
1147
1147
  }, 8, ["name"])
1148
1148
  ], 8, ["disabled", "to"]));
1149
1149
  }
1150
- }), ve = S(Nt), Ht = ["id"], Kt = {
1150
+ }), he = S(Nt), Ht = ["id"], Kt = {
1151
1151
  key: 0,
1152
1152
  class: "q-field__label"
1153
1153
  }, Gt = ["for"], Wt = {
@@ -1256,7 +1256,7 @@ const Rt = ["role"], Ut = {
1256
1256
  readonly: e.readonly,
1257
1257
  disabled: e.disabled,
1258
1258
  required: e.required
1259
- }, _e({
1259
+ }, ve({
1260
1260
  "label.prepend": k(() => [
1261
1261
  v(f.$slots, "label.prepend")
1262
1262
  ]),
@@ -1523,7 +1523,7 @@ const Rt = ["role"], Ut = {
1523
1523
  onClick: c,
1524
1524
  onFocusout: p,
1525
1525
  onKeydown: de(b, ["stop"])
1526
- }, _e({
1526
+ }, ve({
1527
1527
  "label.prepend": k(() => [
1528
1528
  v(a.$slots, "label.prepend")
1529
1529
  ]),
@@ -1577,7 +1577,7 @@ const Rt = ["role"], Ut = {
1577
1577
  key: "1"
1578
1578
  } : void 0
1579
1579
  ]), 1032, ["modelValue", "id", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
1580
- F(h(ve), {
1580
+ F(h(he), {
1581
1581
  modelValue: r.value,
1582
1582
  "onUpdate:modelValue": g[2] || (g[2] = (O) => r.value = O),
1583
1583
  spy: "",
@@ -1610,7 +1610,7 @@ const Rt = ["role"], Ut = {
1610
1610
  class: "q-select__items",
1611
1611
  modelValue: s.value,
1612
1612
  "onUpdate:modelValue": [
1613
- g[1] || (g[1] = (he) => s.value = he),
1613
+ g[1] || (g[1] = (be) => s.value = be),
1614
1614
  A
1615
1615
  ],
1616
1616
  highlighted: (O = W.value) == null ? void 0 : O[n.itemValue],
@@ -1620,8 +1620,8 @@ const Rt = ["role"], Ut = {
1620
1620
  "item-value": n.itemValue,
1621
1621
  onMouseup: R
1622
1622
  }, {
1623
- item: k(({ item: he }) => [
1624
- v(a.$slots, "item", { item: he })
1623
+ item: k(({ item: be }) => [
1624
+ v(a.$slots, "item", { item: be })
1625
1625
  ]),
1626
1626
  _: 3
1627
1627
  }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (u(), m("div", oo, K(a.texts.noData), 1)),
@@ -1663,7 +1663,7 @@ const Rt = ["role"], Ut = {
1663
1663
  label: o.label,
1664
1664
  required: o.required,
1665
1665
  size: o.size
1666
- }, {
1666
+ }, ve({
1667
1667
  default: k(() => [
1668
1668
  e.$slots.prepend || o.prependIcon ? (u(), m("div", so, [
1669
1669
  o.prependIcon ? (u(), m("span", io, [
@@ -1679,8 +1679,16 @@ const Rt = ["role"], Ut = {
1679
1679
  v(e.$slots, "append")
1680
1680
  ])) : I("", !0)
1681
1681
  ]),
1682
- _: 3
1683
- }, 8, ["id", "class", "label", "required", "size"]));
1682
+ _: 2
1683
+ }, [
1684
+ e.$slots.extras ? {
1685
+ name: "extras",
1686
+ fn: k(() => [
1687
+ v(e.$slots, "extras")
1688
+ ]),
1689
+ key: "0"
1690
+ } : void 0
1691
+ ]), 1032, ["id", "class", "label", "required", "size"]));
1684
1692
  }
1685
1693
  }), zo = S(co), fo = /* @__PURE__ */ x({
1686
1694
  __name: "QLineLoader",
@@ -1718,7 +1726,7 @@ const Rt = ["role"], Ut = {
1718
1726
  emits: ["update:modelValue"],
1719
1727
  setup(t) {
1720
1728
  const o = t, e = Z(t, "modelValue");
1721
- return (n, l) => (u(), E(h(ve), {
1729
+ return (n, l) => (u(), E(h(he), {
1722
1730
  "model-value": e.value,
1723
1731
  class: "q-popover",
1724
1732
  trigger: "click",
@@ -1889,7 +1897,7 @@ const Rt = ["role"], Ut = {
1889
1897
  size: e.size,
1890
1898
  onClick: W,
1891
1899
  onKeydown: de(N, ["stop"])
1892
- }, _e({
1900
+ }, ve({
1893
1901
  append: k(() => [
1894
1902
  v(d.$slots, "append"),
1895
1903
  z.value && l.value ? (u(), E(h(fe), {
@@ -1948,7 +1956,7 @@ const Rt = ["role"], Ut = {
1948
1956
  key: "1"
1949
1957
  } : void 0
1950
1958
  ]), 1032, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size"]),
1951
- F(h(ve), {
1959
+ F(h(he), {
1952
1960
  modelValue: s.value,
1953
1961
  "onUpdate:modelValue": $[1] || ($[1] = (R) => s.value = R),
1954
1962
  spy: "",
@@ -2042,7 +2050,7 @@ const Rt = ["role"], Ut = {
2042
2050
  v(l.$slots, "anchor", {
2043
2051
  props: { "aria-describedby": h(n) }
2044
2052
  }),
2045
- F(h(ve), {
2053
+ F(h(he), {
2046
2054
  "model-value": e.value,
2047
2055
  anchor: o.anchor,
2048
2056
  role: "tooltip",
@@ -2082,7 +2090,7 @@ export {
2082
2090
  Re as QList,
2083
2091
  At as QListItem,
2084
2092
  Qt as QListItemGroup,
2085
- ve as QOverlay,
2093
+ he as QOverlay,
2086
2094
  Ao as QPopover,
2087
2095
  Qo as QSelect,
2088
2096
  $e as QSpinnerLoader,