redmine-ui-kit 1.6.10 → 1.6.12
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/redmine-ui-kit.js
CHANGED
|
@@ -728,6 +728,7 @@ const Br = ["for"], Lr = { class: "rm-input-wrapper" }, Ir = ["id", "maxlength",
|
|
|
728
728
|
z("span", ro, ke(h.name), 1),
|
|
729
729
|
z("button", {
|
|
730
730
|
class: "rm-select-chip__btn",
|
|
731
|
+
type: "button",
|
|
731
732
|
onClick: Dt((ee) => P(h), ["stop"])
|
|
732
733
|
}, io, 8, oo)
|
|
733
734
|
]))), 128))
|
|
@@ -865,7 +866,8 @@ const Po = /* @__PURE__ */ bo(wo, [["render", To]]), xo = {
|
|
|
865
866
|
isAutoGrow: { type: Boolean, default: !0 },
|
|
866
867
|
saveLabel: { default: "Save" },
|
|
867
868
|
cancelLabel: { default: "Cancel" },
|
|
868
|
-
disabledSave: { type: Boolean, default: !1 }
|
|
869
|
+
disabledSave: { type: Boolean, default: !1 },
|
|
870
|
+
disabled: { type: Boolean, default: !1 }
|
|
869
871
|
},
|
|
870
872
|
emits: ["change"],
|
|
871
873
|
setup(e, { emit: a }) {
|
|
@@ -908,7 +910,7 @@ const Po = /* @__PURE__ */ bo(wo, [["render", To]]), xo = {
|
|
|
908
910
|
z("div", {
|
|
909
911
|
ref_key: "contentRef",
|
|
910
912
|
ref: l,
|
|
911
|
-
contenteditable: s.value,
|
|
913
|
+
contenteditable: s.value && !_.disabled,
|
|
912
914
|
class: ye([
|
|
913
915
|
"rm-editable__content-text",
|
|
914
916
|
{
|
|
@@ -934,7 +936,7 @@ const Po = /* @__PURE__ */ bo(wo, [["render", To]]), xo = {
|
|
|
934
936
|
})) : I("", !0)
|
|
935
937
|
])
|
|
936
938
|
]),
|
|
937
|
-
s.value ? (p(), A("div", Ao, [
|
|
939
|
+
s.value && !_.disabled ? (p(), A("div", Ao, [
|
|
938
940
|
_.$slots.footer ? ne(_.$slots, "footer", { key: 0 }) : I("", !0),
|
|
939
941
|
!_.$slots.footer && _.hasActions ? (p(), A("div", Ro, [
|
|
940
942
|
Ee(jt, {
|