@quoreadmin/ui 0.26.5 → 0.26.6

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
@@ -59972,6 +59972,12 @@ const Ioe = /* @__PURE__ */ Ve(Moe, [["render", xoe]]), Ooe = Me({
59972
59972
  type: Boolean,
59973
59973
  default: !1
59974
59974
  },
59975
+ /** Specify file types allowed */
59976
+ // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file
59977
+ filesAllowed: {
59978
+ type: String,
59979
+ default: "image/*,.pdf"
59980
+ },
59975
59981
  isStacked: {
59976
59982
  type: Boolean,
59977
59983
  default: !0
@@ -60203,6 +60209,7 @@ function joe(n, e, t, r, i, s) {
60203
60209
  key: 1,
60204
60210
  ref: "fileUploadRef",
60205
60211
  files: n.files,
60212
+ "files-allowed": n.filesAllowed,
60206
60213
  class: "rounded-t-lg grow",
60207
60214
  onFileList: n.onSelectFiles
60208
60215
  }, {
@@ -60214,7 +60221,7 @@ function joe(n, e, t, r, i, s) {
60214
60221
  }, null, 8, ["editor"])
60215
60222
  ]),
60216
60223
  _: 1
60217
- }, 8, ["files", "onFileList"])) : (C(), T("div", Poe, [
60224
+ }, 8, ["files", "files-allowed", "onFileList"])) : (C(), T("div", Poe, [
60218
60225
  L(a, {
60219
60226
  ref: "editorRef",
60220
60227
  editor: n.editor,
@@ -60279,7 +60286,7 @@ function joe(n, e, t, r, i, s) {
60279
60286
  ], 2)
60280
60287
  ], 34)) : $("", !0);
60281
60288
  }
60282
- const NN = /* @__PURE__ */ Ve(Ooe, [["render", joe], ["__scopeId", "data-v-e1b2810b"]]), Boe = {
60289
+ const NN = /* @__PURE__ */ Ve(Ooe, [["render", joe], ["__scopeId", "data-v-18274517"]]), Boe = {
60283
60290
  /** ID of the comment - maybe this will be in the data. We will need this for taking action on a comment */
60284
60291
  id: {
60285
60292
  type: [Number, String],
@@ -60676,6 +60683,10 @@ const eae = /* @__PURE__ */ Ve(zoe, [["render", Joe], ["__scopeId", "data-v-c6c6
60676
60683
  default: () => {
60677
60684
  }
60678
60685
  },
60686
+ filesAllowed: {
60687
+ type: String,
60688
+ default: "image/*,.pdf"
60689
+ },
60679
60690
  /**
60680
60691
  * updateCommentEvent handles the following events:
60681
60692
  * - update-comment
@@ -60766,6 +60777,7 @@ function aae(n, e, t, r, i, s) {
60766
60777
  "allow-attachments": n.allowAttachments,
60767
60778
  "allow-emojis": n.allowEmojis,
60768
60779
  "allow-formatting": n.allowFormatting,
60780
+ "files-allowed": n.filesAllowed,
60769
60781
  placeholder: n.placeholderText,
60770
60782
  processing: n.processing,
60771
60783
  "onUpdate:attachments": e[1] || (e[1] = (u) => n.files = u)
@@ -60785,11 +60797,11 @@ function aae(n, e, t, r, i, s) {
60785
60797
  }, 8, ["loading", "disabled", "onClick"])
60786
60798
  ]),
60787
60799
  _: 1
60788
- }, 8, ["modelValue", "attachments", "allow-attachments", "allow-emojis", "allow-formatting", "placeholder", "processing"])
60800
+ }, 8, ["modelValue", "attachments", "allow-attachments", "allow-emojis", "allow-formatting", "files-allowed", "placeholder", "processing"])
60789
60801
  ], !0)
60790
60802
  ]);
60791
60803
  }
60792
- const r1e = /* @__PURE__ */ Ve(tae, [["render", aae], ["__scopeId", "data-v-3f638ff6"]]), lae = Me({
60804
+ const r1e = /* @__PURE__ */ Ve(tae, [["render", aae], ["__scopeId", "data-v-82ce0d39"]]), lae = Me({
60793
60805
  name: "QCounter",
60794
60806
  props: {
60795
60807
  /** value of the counter */