redmine-ui-kit 1.3.13 → 1.3.15

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.
@@ -497,7 +497,7 @@ const Lu = (e, t = 150) => {
497
497
  /* @__PURE__ */ E("path", { d: "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z" })
498
498
  ], -1), es = [
499
499
  Ju
500
- ], ts = ["id", "value", "placeholder", "readonly"], ns = { class: "rm-select-input-controls" }, rs = /* @__PURE__ */ E("svg", {
500
+ ], ts = ["id", "value", "placeholder", "readonly", "disabled"], ns = { class: "rm-select-input-controls" }, rs = /* @__PURE__ */ E("svg", {
501
501
  width: "16",
502
502
  height: "10",
503
503
  viewBox: "0 0 16 10",
@@ -546,7 +546,8 @@ const Lu = (e, t = 150) => {
546
546
  selectedOptions: { default: () => [] },
547
547
  filterable: { type: Boolean, default: !1 },
548
548
  maxHeight: { default: 300 },
549
- emptySelectLabel: { default: "No data to display" }
549
+ emptySelectLabel: { default: "No data to display" },
550
+ disabled: { type: Boolean, default: !1 }
550
551
  },
551
552
  emits: ["update:modelValue", "close", "clear", "select", "chips:remove"],
552
553
  setup(e, { emit: t }) {
@@ -593,7 +594,7 @@ const Lu = (e, t = 150) => {
593
594
  M > V || (l.value = V - M + 8);
594
595
  }
595
596
  return (M, V) => Ue((m(), w("div", {
596
- class: ye(["rm-select", { "rm-select--with-chips": e.useChips }])
597
+ class: ye(["rm-select", { "rm-select--with-chips": e.useChips, "rm-select--disabled": e.disabled }])
597
598
  }, [
598
599
  e.label ? (m(), w("label", {
599
600
  key: 0,
@@ -628,6 +629,7 @@ const Lu = (e, t = 150) => {
628
629
  type: "text",
629
630
  placeholder: e.placeholder,
630
631
  readonly: !e.searchable && !e.filterable,
632
+ disabled: e.disabled,
631
633
  autocomplete: "off",
632
634
  role: "presentation",
633
635
  onClick: V[0] || (V[0] = (R) => r.value = !0),