comand-component-library 4.1.11 → 4.1.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.
@@ -4270,11 +4270,11 @@ const tb = /* @__PURE__ */ N(Gy, [["render", eb]]), nb = {
4270
4270
  t.email.value,
4271
4271
  Ye.PATTERN_EMAIL,
4272
4272
  this.label("form_error_invalid_email")
4273
- )[t.additionalText.error, t.additionalText.errorMessage] = this.validateRequired(
4274
- t.additionalText.value,
4273
+ )[t.userMessage.error, t.userMessage.errorMessage] = this.validateRequired(
4274
+ t.userMessage.value,
4275
4275
  Ye.PATTERN_MESSAGE,
4276
4276
  this.label("form_error_invalid_message")
4277
- ), t.acceptPrivacy.error = !1, t.error = t.lastName.error || t.email.error || t.additionalText.error, t;
4277
+ ), t.acceptPrivacy.error = !1, t.error = t.lastName.error || t.email.error || t.userMessage.error, t;
4278
4278
  }
4279
4279
  validatePrivacy(t) {
4280
4280
  return t.acceptPrivacy.error = !t.acceptPrivacy.value, t.acceptPrivacy.errorMessage = t.acceptPrivacy.error ? this.label("form_error_missing_privacy_consent") : "", t.error = t.error || t.acceptPrivacy.error, t;
@@ -5664,7 +5664,7 @@ const qP = /* @__PURE__ */ N(Fb, [["render", Xb]]), Qb = {
5664
5664
  const t = new FormData(), n = Object.keys(this.configuration);
5665
5665
  for (let o = 0; o < n.length; o++)
5666
5666
  t.set(n[o], this.formData[n[o]].value);
5667
- fetch(this.formAction, { method: "POST", body: t }).then((o) => {
5667
+ fetch(this.formAction, { method: this.cmdForm.formMethod || "POST", body: t }).then((o) => {
5668
5668
  o.ok ? console.log("CmdBasicForm", "ok") : console.log("CmdBasicForm", "fail");
5669
5669
  }).catch((o) => {
5670
5670
  console.error(o);
@@ -5964,7 +5964,7 @@ const r0 = /* @__PURE__ */ N(Qb, [["render", i0]]), s0 = {
5964
5964
  }, a0 = ["title"], l0 = { key: 1 }, c0 = ["title"];
5965
5965
  function u0(e, t, n, o, i, r) {
5966
5966
  return d(), h(O, null, [
5967
- n.icon.iconClass && n.icon.position === "left" || n.icon.position === "top" ? (d(), h("span", {
5967
+ n.icon.iconClass && n.icon.position === "left" || n.icon.position === "top" || !n.icon.position ? (d(), h("span", {
5968
5968
  key: 0,
5969
5969
  class: T(n.icon.iconClass),
5970
5970
  title: n.icon.tooltip
@@ -7612,7 +7612,7 @@ const VP = /* @__PURE__ */ N(Pw, [["render", Dw]]), Nw = {
7612
7612
  },
7613
7613
  methods: {
7614
7614
  boxIsOpen(e) {
7615
- return console.log("boxOpen", this.openBoxes.includes(e)), console.log("cookieId", e), this.openBoxes.includes(e);
7615
+ return this.openBoxes.includes(e);
7616
7616
  },
7617
7617
  toggleBoxBody(e) {
7618
7618
  const t = this.openBoxes.indexOf(e);