@quoreadmin/ui 0.27.27 → 0.27.28

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
@@ -60060,7 +60060,7 @@ const _oe = /* @__PURE__ */ Ue(Ioe, [["render", Poe]]), Loe = ke({
60060
60060
  // default: () => [],
60061
60061
  // },
60062
60062
  },
60063
- emits: ["update:model-value", "update:attachments"],
60063
+ emits: ["update:model-value", "update:attachments", "keyboard-open"],
60064
60064
  setup(n, { emit: e }) {
60065
60065
  const t = z(), r = z(!1), i = z(""), s = z(), o = z(), a = z(!1), l = z(!1), u = z(!1), c = z([]), d = z(), f = z(), h = z(), p = z(!1), g = z(window.innerHeight), y = J(() => B.value.getAttributes("textStyle").color || "#121517"), v = J(() => n.attachments), b = J(() => n.isStacked || n.expands && (v.value.length > 0 || u.value || !B.value.isEmpty) || l.value), w = jA(WL).greaterOrEqual("md"), x = () => {
60066
60066
  const Z = window.prompt("URL");
@@ -60078,7 +60078,7 @@ const _oe = /* @__PURE__ */ Ue(Ioe, [["render", Poe]]), Loe = ke({
60078
60078
  B.value.chain().focus().insertContent(Z).run(), s.value.$el.click();
60079
60079
  }, R = () => {
60080
60080
  const Z = (visualViewport == null ? void 0 : visualViewport.height) || window.innerHeight;
60081
- p.value = g.value - Z > 0, p.value || (u.value = !1);
60081
+ p.value = g.value - Z > 0, p.value ? e("keyboard-open", !0) : (u.value = !1, e("keyboard-open", !1));
60082
60082
  }, H = (Z) => {
60083
60083
  B.value.chain().focus().insertContent(Z.i).run(), r.value = !1;
60084
60084
  }, Y = (Z) => {
@@ -60204,7 +60204,8 @@ function zoe(n, e, t, r, i, s) {
60204
60204
  "!rounded-2xl md:!rounded-lg expands": n.expands
60205
60205
  }
60206
60206
  ]),
60207
- onFocusin: e[11] || (e[11] = (c) => n.focused = !0)
60207
+ onFocusin: e[11] || (e[11] = (c) => n.focused = !0),
60208
+ onTouchstart: e[12] || (e[12] = (c) => n.focused = !0)
60208
60209
  }, [
60209
60210
  P("div", {
60210
60211
  class: V([
@@ -60379,7 +60380,7 @@ function zoe(n, e, t, r, i, s) {
60379
60380
  ], 2)
60380
60381
  ], 34)) : L("", !0);
60381
60382
  }
60382
- const RN = /* @__PURE__ */ Ue(Loe, [["render", zoe], ["__scopeId", "data-v-15d05e43"]]), Voe = {
60383
+ const RN = /* @__PURE__ */ Ue(Loe, [["render", zoe], ["__scopeId", "data-v-c8ffdaf5"]]), Voe = {
60383
60384
  /** ID of the comment - maybe this will be in the data. We will need this for taking action on a comment */
60384
60385
  id: {
60385
60386
  type: [Number, String],