@sysvale/cuida 3.77.0 → 3.78.0

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.
@@ -35722,6 +35722,13 @@ const qae = /* @__PURE__ */ he(jae, [["render", Uae], ["__scopeId", "data-v-59f3
35722
35722
  type: Boolean,
35723
35723
  default: !1
35724
35724
  },
35725
+ /**
35726
+ * Controla a ação de fechar o modal ao clicar no botão de cancelar.
35727
+ */
35728
+ noCloseCancelButton: {
35729
+ type: Boolean,
35730
+ default: !1
35731
+ },
35725
35732
  /**
35726
35733
  * Controla a exibição do botão de fechar do modal.
35727
35734
  */
@@ -35805,6 +35812,9 @@ const qae = /* @__PURE__ */ he(jae, [["render", Uae], ["__scopeId", "data-v-59f3
35805
35812
  },
35806
35813
  okHandle() {
35807
35814
  this.noCloseOkButton || (this.innerValue = !this.innerValue, this.$emit("update:modelValue", !1)), this.$emit("ok", !0);
35815
+ },
35816
+ cancelHandle() {
35817
+ this.noCloseCancelButton || (this.innerValue = !this.innerValue, this.$emit("close", !0), this.$emit("update:modelValue", !1)), this.$emit("cancel");
35808
35818
  }
35809
35819
  }
35810
35820
  }, coe = {
@@ -35863,7 +35873,7 @@ function poe(t, e, n, i, s, r) {
35863
35873
  text: n.cancelButtonText,
35864
35874
  secondary: "",
35865
35875
  disabled: n.disableCancelButton,
35866
- onClick: e[1] || (e[1] = (h) => n.disableCancelButton ? !1 : r.closeHandle())
35876
+ onClick: e[1] || (e[1] = (h) => n.disableCancelButton ? !1 : r.cancelHandle())
35867
35877
  }, null, 8, ["text", "disabled"])),
35868
35878
  Y(c, {
35869
35879
  class: "footer__ok-button",
@@ -35880,7 +35890,7 @@ function poe(t, e, n, i, s, r) {
35880
35890
  ]) : U("", !0)
35881
35891
  ])) : U("", !0);
35882
35892
  }
35883
- const r8 = /* @__PURE__ */ he(loe, [["render", poe], ["__scopeId", "data-v-99731c8f"]]);
35893
+ const r8 = /* @__PURE__ */ he(loe, [["render", poe], ["__scopeId", "data-v-f547a4b0"]]);
35884
35894
  function Hf(t) {
35885
35895
  return t === 0 ? !1 : Array.isArray(t) && t.length === 0 ? !0 : !t;
35886
35896
  }