redmine-ui-kit 1.6.10 → 1.6.11

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.
@@ -865,7 +865,8 @@ const Po = /* @__PURE__ */ bo(wo, [["render", To]]), xo = {
865
865
  isAutoGrow: { type: Boolean, default: !0 },
866
866
  saveLabel: { default: "Save" },
867
867
  cancelLabel: { default: "Cancel" },
868
- disabledSave: { type: Boolean, default: !1 }
868
+ disabledSave: { type: Boolean, default: !1 },
869
+ disabled: { type: Boolean, default: !1 }
869
870
  },
870
871
  emits: ["change"],
871
872
  setup(e, { emit: a }) {
@@ -908,7 +909,7 @@ const Po = /* @__PURE__ */ bo(wo, [["render", To]]), xo = {
908
909
  z("div", {
909
910
  ref_key: "contentRef",
910
911
  ref: l,
911
- contenteditable: s.value,
912
+ contenteditable: s.value && !_.disabled,
912
913
  class: ye([
913
914
  "rm-editable__content-text",
914
915
  {
@@ -934,7 +935,7 @@ const Po = /* @__PURE__ */ bo(wo, [["render", To]]), xo = {
934
935
  })) : I("", !0)
935
936
  ])
936
937
  ]),
937
- s.value ? (p(), A("div", Ao, [
938
+ s.value && !_.disabled ? (p(), A("div", Ao, [
938
939
  _.$slots.footer ? ne(_.$slots, "footer", { key: 0 }) : I("", !0),
939
940
  !_.$slots.footer && _.hasActions ? (p(), A("div", Ro, [
940
941
  Ee(jt, {