@quoreadmin/ui 0.23.7 → 0.23.8

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
@@ -12019,6 +12019,8 @@ function pT(t, e, n, r, i, o) {
12019
12019
  key: 1,
12020
12020
  modelValue: t.showPopover,
12021
12021
  "onUpdate:modelValue": e[2] || (e[2] = (u) => t.showPopover = u),
12022
+ align: "right",
12023
+ position: "bottom",
12022
12024
  size: "sm"
12023
12025
  }, {
12024
12026
  trigger: G(({ onClick: u }) => [
@@ -12055,7 +12057,7 @@ function pT(t, e, n, r, i, o) {
12055
12057
  ], 2)
12056
12058
  ]);
12057
12059
  }
12058
- const mT = /* @__PURE__ */ we(lT, [["render", pT], ["__scopeId", "data-v-2b014962"]]), gT = ue({
12060
+ const mT = /* @__PURE__ */ we(lT, [["render", pT], ["__scopeId", "data-v-34e9271e"]]), gT = ue({
12059
12061
  name: "QCommentSection",
12060
12062
  components: {
12061
12063
  QComment: mT
@@ -17795,56 +17797,59 @@ function Zx(t, e, n, r, i, o) {
17795
17797
  _: 1
17796
17798
  }, 8, ["activeIndex", "visible", "value", "numVisible", "showItemNavigators", "showThumbnails", "showIndicators", "base-z-index"]),
17797
17799
  t.files ? (g(), C("div", Vx, [
17798
- (g(!0), C(ie, null, be(t.files, (u, c) => (g(), C("div", {
17799
- key: u.name,
17800
- class: "py-3 pr-4 relative",
17801
- onMouseover: (d) => u.isHovered = !0,
17802
- onMouseleave: (d) => u.isHovered = !1
17803
- }, [
17804
- u.type && u.type.includes("image") ? (g(), C("img", {
17805
- key: 0,
17806
- src: (u == null ? void 0 : u.thumbnailImageSrc) || (u == null ? void 0 : u.objectURL) || (u == null ? void 0 : u.thumbnail.url),
17807
- alt: u == null ? void 0 : u.alt,
17808
- class: "rounded-lg cursor-pointer w-20 h-20 object-cover",
17809
- onClick: (d) => t.onOpenCarousel(c, u)
17810
- }, null, 8, _x)) : (g(), C("div", {
17811
- key: 1,
17812
- class: "bg-gray-00 cursor-pointer p-3 w-20 h-20 max-w-20 rounded-lg border border-gray-20 flex flex-col flex-nowrap justify-center",
17813
- onClick: (d) => t.onOpenFile(u)
17800
+ (g(!0), C(ie, null, be(t.files, (u, c) => {
17801
+ var d;
17802
+ return g(), C("div", {
17803
+ key: u.name || ((d = u.original) == null ? void 0 : d.name) || c,
17804
+ class: "py-3 pr-4 relative",
17805
+ onMouseover: (f) => u.isHovered = !0,
17806
+ onMouseleave: (f) => u.isHovered = !1
17814
17807
  }, [
17815
- I(s, {
17816
- icon: "file-document",
17817
- size: "md",
17818
- color: "inkwell-30",
17819
- class: "mx-auto"
17820
- }),
17821
- E("p", {
17822
- class: "text-inkwell-30 text-sm leading-normal text-ellipsis overflow-hidden max-h-5 text-center",
17823
- title: u.name || u.original.name
17824
- }, q(u.name || u.original.name), 9, jx)
17825
- ], 8, zx)),
17826
- t.showRemove && (u.isHovered || !t.mq.md) ? (g(), D(l, {
17827
- key: 2,
17828
- color: "inkwell-30",
17829
- shape: "circle",
17830
- class: "cursor-pointer absolute top-1 right-2 shadow-solid",
17831
- onClick: (d) => t.onRemoveFile(u)
17832
- }, {
17833
- icon: G(() => [
17808
+ u.type && u.type.includes("image") ? (g(), C("img", {
17809
+ key: 0,
17810
+ src: (u == null ? void 0 : u.thumbnailImageSrc) || (u == null ? void 0 : u.objectURL) || (u == null ? void 0 : u.thumbnail.url),
17811
+ alt: u == null ? void 0 : u.alt,
17812
+ class: "rounded-lg cursor-pointer w-20 h-20 object-cover",
17813
+ onClick: (f) => t.onOpenCarousel(c, u)
17814
+ }, null, 8, _x)) : (g(), C("div", {
17815
+ key: 1,
17816
+ class: "bg-gray-00 cursor-pointer p-3 w-20 h-20 max-w-20 rounded-lg border border-gray-20 flex flex-col flex-nowrap justify-center",
17817
+ onClick: (f) => t.onOpenFile(u)
17818
+ }, [
17834
17819
  I(s, {
17835
- icon: "close",
17836
- size: "sm",
17837
- type: "line",
17838
- color: "white"
17839
- })
17840
- ]),
17841
- _: 2
17842
- }, 1032, ["onClick"])) : M("", !0)
17843
- ], 40, Hx))), 128))
17820
+ icon: "file-document",
17821
+ size: "md",
17822
+ color: "inkwell-30",
17823
+ class: "mx-auto"
17824
+ }),
17825
+ E("p", {
17826
+ class: "text-inkwell-30 text-sm leading-normal text-ellipsis overflow-hidden max-h-5 text-center",
17827
+ title: u.name || u.original.name
17828
+ }, q(u.name || u.original.name), 9, jx)
17829
+ ], 8, zx)),
17830
+ t.showRemove && (u.isHovered || !t.mq.md) ? (g(), D(l, {
17831
+ key: 2,
17832
+ color: "inkwell-30",
17833
+ shape: "circle",
17834
+ class: "cursor-pointer absolute top-1 right-2 shadow-solid",
17835
+ onClick: (f) => t.onRemoveFile(u)
17836
+ }, {
17837
+ icon: G(() => [
17838
+ I(s, {
17839
+ icon: "close",
17840
+ size: "sm",
17841
+ type: "line",
17842
+ color: "white"
17843
+ })
17844
+ ]),
17845
+ _: 2
17846
+ }, 1032, ["onClick"])) : M("", !0)
17847
+ ], 40, Hx);
17848
+ }), 128))
17844
17849
  ])) : M("", !0)
17845
17850
  ], 512);
17846
17851
  }
17847
- const Wx = /* @__PURE__ */ we(Rx, [["render", Zx], ["__scopeId", "data-v-98b83ee4"]]), Ux = ue({
17852
+ const Wx = /* @__PURE__ */ we(Rx, [["render", Zx], ["__scopeId", "data-v-09f9eb74"]]), Ux = ue({
17848
17853
  name: "QFileUpload",
17849
17854
  components: {
17850
17855
  FileUpload: tv,