@quoreadmin/ui 0.24.12 → 0.24.13

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
@@ -22338,11 +22338,16 @@ const lL = ue({
22338
22338
  openDirection: {
22339
22339
  type: String,
22340
22340
  default: "bottom"
22341
+ },
22342
+ // Use this with taggable = false, multiple = false, showTags = false to allow for adding options without tags.
22343
+ useAddTagsOnly: {
22344
+ type: Boolean,
22345
+ default: !1
22341
22346
  }
22342
22347
  },
22343
22348
  emits: ["update:model-value"],
22344
22349
  setup(t, { slots: e, emit: n }) {
22345
- const { t: r } = ds(), i = V(null), o = V(null), s = V(t.modelValue), a = V(""), l = z(() => t.noResultMessage || r("HC_PRESS_ENTER_TO_CREATE_A_TAG")), u = z(() => t.tagPlaceholder || r("HC_PRESS_ENTER_TO_CREATE_A_TAG")), c = z(() => !!e.action), d = z(() => t.taggable && t.showTags), f = (b) => {
22350
+ const { t: r } = ds(), i = V(null), o = V(null), s = V(t.modelValue), a = V(""), l = z(() => t.noResultMessage || r("HC_PRESS_ENTER_TO_CREATE_A_TAG")), u = z(() => t.tagPlaceholder || r("HC_PRESS_ENTER_TO_CREATE_A_TAG")), c = z(() => !!e.action), d = z(() => t.taggable || t.showTags), f = (b) => {
22346
22351
  n("update:model-value", b);
22347
22352
  }, h = (b) => {
22348
22353
  a.value = b;
@@ -22438,7 +22443,7 @@ function TL(t, e, n, r, i, o) {
22438
22443
  options: t.options,
22439
22444
  searchable: t.searchable,
22440
22445
  multiple: t.multiple,
22441
- taggable: t.taggable,
22446
+ taggable: t.taggable || t.useAddTagsOnly,
22442
22447
  label: t.label,
22443
22448
  "track-by": t.trackBy,
22444
22449
  "group-values": t.groupValues,
@@ -22654,7 +22659,7 @@ function TL(t, e, n, r, i, o) {
22654
22659
  }, 8, ["id", "modelValue", "options", "searchable", "multiple", "taggable", "label", "track-by", "group-values", "group-label", "group-select", "class", "disabled", "allow-empty", "close-on-select", "show-tags", "tag-placeholder", "placeholder", "open-direction", "onOpen", "onTag"])
22655
22660
  ], 8, uL);
22656
22661
  }
22657
- const nK = /* @__PURE__ */ we(lL, [["render", TL], ["__scopeId", "data-v-95b0d431"]]);
22662
+ const nK = /* @__PURE__ */ we(lL, [["render", TL], ["__scopeId", "data-v-66d758ed"]]);
22658
22663
  var nt = {
22659
22664
  STARTS_WITH: "startsWith",
22660
22665
  CONTAINS: "contains",