@quoreadmin/ui 1.0.22 → 1.0.24

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.js CHANGED
@@ -27494,8 +27494,8 @@ const LW = /* @__PURE__ */ ze(xW, [["render", PW], ["__scopeId", "data-v-da5da0f
27494
27494
  type: Boolean,
27495
27495
  default: !1
27496
27496
  },
27497
- /** Ability to set the tooltip to show/hide */
27498
- show: {
27497
+ /** Controls if the tooltip is in controlled mode */
27498
+ controlled: {
27499
27499
  type: Boolean,
27500
27500
  default: !1
27501
27501
  },
@@ -27503,14 +27503,25 @@ const LW = /* @__PURE__ */ ze(xW, [["render", PW], ["__scopeId", "data-v-da5da0f
27503
27503
  tooltipClasses: {
27504
27504
  type: [String, Array, Object],
27505
27505
  default: ""
27506
+ },
27507
+ /** Controls visibility in controlled mode */
27508
+ visible: {
27509
+ type: Boolean,
27510
+ default: !1
27506
27511
  }
27512
+ },
27513
+ setup(n) {
27514
+ return {
27515
+ isVisible: Y(() => n.controlled ? n.visible : !1)
27516
+ };
27507
27517
  }
27508
27518
  }), RW = ["aria-describedby"], $W = ["id"];
27509
27519
  function FW(n, e, t, r, i, s) {
27510
27520
  return C(), E("div", {
27511
27521
  class: j([
27512
27522
  "tooltip-container",
27513
- n.show ? "show" : ""
27523
+ n.controlled ? "controlled" : "",
27524
+ n.isVisible ? "is-visible" : ""
27514
27525
  ]),
27515
27526
  "aria-describedby": n.id
27516
27527
  }, [
@@ -27532,7 +27543,7 @@ function FW(n, e, t, r, i, s) {
27532
27543
  ], 10, $W)
27533
27544
  ], 10, RW);
27534
27545
  }
27535
- const gp = /* @__PURE__ */ ze(_W, [["render", FW], ["__scopeId", "data-v-b63dd861"]]), yp = () => {
27546
+ const gp = /* @__PURE__ */ ze(_W, [["render", FW], ["__scopeId", "data-v-fac02047"]]), yp = () => {
27536
27547
  const n = B(""), e = navigator.userAgent;
27537
27548
  return e.match("/Android|webOS|iPhone|iPod|BlackBerry/i") ? n.value = "mobile" : e.match("/iPad|Tablet/i") || // IPad using iPadOS no longer shows iPad in the user agent so check touchPoints
27538
27549
  // Check if the device has touchpoints.
@@ -61201,7 +61212,7 @@ const toe = /* @__PURE__ */ ze(Xse, [["render", eoe], ["__scopeId", "data-v-320d
61201
61212
  l = l[c][d], u = u[c][d];
61202
61213
  } else
61203
61214
  l = l[r], u = u[r];
61204
- return typeof l == "string" && typeof u == "string" && (l = l.toLowerCase(), u = u.toLowerCase()), typeof l != "string" && typeof u != "string" && (l = parseInt(l), u = parseInt(u)), typeof l == "number" && typeof u == "string" ? -1 : (l === u ? 0 : l > u ? 1 : -1) * i;
61215
+ return typeof l == "string" && typeof u == "string" && (l = l.toLowerCase(), u = u.toLowerCase()), typeof l != "string" && typeof u != "string" && (l = parseInt(l), u = parseInt(u)), typeof l == "number" && typeof u == "string" ? -1 * i : typeof u == "number" && typeof l == "string" ? 1 * i : (l === u ? 0 : l > u ? 1 : -1) * i;
61205
61216
  })), n;
61206
61217
  }, noe = xe({
61207
61218
  name: "QDataFilter",