comand-component-library 4.2.92 → 4.2.94

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.
@@ -168,19 +168,19 @@ function $l(e, t, n) {
168
168
  }
169
169
  return !1;
170
170
  }
171
- let Pe = !1;
171
+ let Me = !1;
172
172
  function ei(e) {
173
- return typeof e == "boolean" && (Pe = e), Pe;
173
+ return typeof e == "boolean" && (Me = e), Me;
174
174
  }
175
175
  function eo(e) {
176
- const t = typeof e == "string" ? Qe(e, !0, Pe) : e;
176
+ const t = typeof e == "string" ? Qe(e, !0, Me) : e;
177
177
  if (t) {
178
178
  const n = be(t.provider, t.prefix), s = t.name;
179
179
  return n.icons[s] || (n.missing.has(s) ? null : void 0);
180
180
  }
181
181
  }
182
182
  function to(e, t) {
183
- const n = Qe(e, !0, Pe);
183
+ const n = Qe(e, !0, Me);
184
184
  if (!n)
185
185
  return !1;
186
186
  const s = be(n.provider, n.prefix);
@@ -189,7 +189,7 @@ function to(e, t) {
189
189
  function ti(e, t) {
190
190
  if (typeof e != "object")
191
191
  return !1;
192
- if (typeof t != "string" && (t = e.provider || ""), Pe && !t && !e.prefix) {
192
+ if (typeof t != "string" && (t = e.provider || ""), Me && !t && !e.prefix) {
193
193
  let i = !1;
194
194
  return $n(e) && (e.prefix = "", Xn(e, (l, d) => {
195
195
  d && to(l, d) && (i = !0);
@@ -853,7 +853,7 @@ function Fo(e) {
853
853
  e.iconsLoaderFlag = !1, Co(e);
854
854
  }));
855
855
  }
856
- function Mo(e, t) {
856
+ function Po(e, t) {
857
857
  e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
858
858
  e.iconsQueueFlag = !1;
859
859
  const { provider: n, prefix: s } = e, i = e.iconsToLoad;
@@ -889,7 +889,7 @@ function Mo(e, t) {
889
889
  });
890
890
  }));
891
891
  }
892
- const Po = (e, t) => {
892
+ const Mo = (e, t) => {
893
893
  const n = wo(e, !0, ei()), s = xo(n);
894
894
  if (!s.pending.length) {
895
895
  let u = !0;
@@ -918,7 +918,7 @@ const Po = (e, t) => {
918
918
  I.has(b) || (I.add(b), i[h][p].push(b));
919
919
  }), l.forEach((u) => {
920
920
  const { provider: h, prefix: p } = u;
921
- i[h][p].length && Mo(u, i[h][p]);
921
+ i[h][p].length && Po(u, i[h][p]);
922
922
  }), t ? ko(t, s, l) : xn;
923
923
  };
924
924
  function Vo(e, t) {
@@ -1155,7 +1155,7 @@ const zo = {
1155
1155
  if (!s)
1156
1156
  return (!this._loadingIcon || this._loadingIcon.name !== e) && (this.abortLoading(), this._name = "", s !== null && (this._loadingIcon = {
1157
1157
  name: e,
1158
- abort: Po([n], () => {
1158
+ abort: Mo([n], () => {
1159
1159
  this.counter++;
1160
1160
  })
1161
1161
  })), null;
@@ -2212,7 +2212,7 @@ function Fa(e, t, n, s, i, l) {
2212
2212
  ], 64)) : m("", !0)
2213
2213
  ]);
2214
2214
  }
2215
- const Ma = /* @__PURE__ */ B(La, [["render", Fa]]), Pa = {
2215
+ const Pa = /* @__PURE__ */ B(La, [["render", Fa]]), Ma = {
2216
2216
  name: "CmdTooltipForFormElements",
2217
2217
  props: {
2218
2218
  /**
@@ -2273,7 +2273,7 @@ const Ma = /* @__PURE__ */ B(La, [["render", Fa]]), Pa = {
2273
2273
  }
2274
2274
  };
2275
2275
  function Va(e, t, n, s, i, l) {
2276
- const d = Ma, c = pi;
2276
+ const d = Pa, c = pi;
2277
2277
  return a(), C(c, {
2278
2278
  ref: "tooltip",
2279
2279
  class: x(["cmd-tooltip-for-form-elements box", n.validationStatus]),
@@ -2287,7 +2287,7 @@ function Va(e, t, n, s, i, l) {
2287
2287
  _: 1
2288
2288
  }, 8, ["class", "relatedId", "scrollContainer"]);
2289
2289
  }
2290
- const zt = /* @__PURE__ */ B(Pa, [["render", Va]]), Wt = {
2290
+ const zt = /* @__PURE__ */ B(Ma, [["render", Va]]), Wt = {
2291
2291
  data() {
2292
2292
  return {
2293
2293
  defaultMessageProperties: {
@@ -3549,7 +3549,7 @@ const K = /* @__PURE__ */ B(za, [["render", ks]]), ws = {
3549
3549
  }, Fs = {
3550
3550
  key: 1,
3551
3551
  class: "locality"
3552
- }, Ms = { key: 0 }, Ps = {
3552
+ }, Ps = { key: 0 }, Ms = {
3553
3553
  key: 3,
3554
3554
  class: "country-name"
3555
3555
  }, Vs = { class: "street-address" }, As = {
@@ -3629,9 +3629,9 @@ function qs(e, t, n, s, i, l) {
3629
3629
  t[7] || (t[7] = o("br", null, null, -1)),
3630
3630
  n.addressEntry.miscInfo ? (a(), r(w, { key: 2 }, [
3631
3631
  o("span", null, g(n.addressEntry.miscInfo), 1),
3632
- n.addressEntry.country ? (a(), r("br", Ms)) : m("", !0)
3632
+ n.addressEntry.country ? (a(), r("br", Ps)) : m("", !0)
3633
3633
  ], 64)) : m("", !0),
3634
- n.addressEntry.country ? (a(), r("span", Ps, g(n.addressEntry.country), 1)) : m("", !0)
3634
+ n.addressEntry.country ? (a(), r("span", Ms, g(n.addressEntry.country), 1)) : m("", !0)
3635
3635
  ], 8, Is)) : (a(), r(w, { key: 1 }, [
3636
3636
  e.editing ? (a(), r(w, { key: 1 }, [
3637
3637
  f(c, {
@@ -4771,7 +4771,7 @@ const Yt = /* @__PURE__ */ B(pr, [["render", wr]]), Tr = {
4771
4771
  }, Lr = ["id"], Ir = {
4772
4772
  key: 0,
4773
4773
  "aria-hidden": "true"
4774
- }, Br = ["title", "aria-errormessage", "id"], Dr = ["aria-expanded"], Fr = ["title"], Mr = ["src", "alt"], Pr = {
4774
+ }, Br = ["title", "aria-errormessage", "id"], Dr = ["aria-expanded"], Fr = ["title"], Pr = ["src", "alt"], Mr = {
4775
4775
  key: 3,
4776
4776
  class: "option-name"
4777
4777
  }, Vr = {
@@ -4843,7 +4843,7 @@ function Gr(e, t, n, s, i, l) {
4843
4843
  src: l.pathFlag(l.optionCountry),
4844
4844
  alt: l.optionCountry,
4845
4845
  class: x(["flag", l.optionCountry])
4846
- }, null, 10, Mr)) : n.type === "color" ? (a(), r("span", {
4846
+ }, null, 10, Pr)) : n.type === "color" ? (a(), r("span", {
4847
4847
  key: 1,
4848
4848
  style: Ke("background: " + l.optionColor)
4849
4849
  }, null, 4)) : m("", !0),
@@ -4852,7 +4852,7 @@ function Gr(e, t, n, s, i, l) {
4852
4852
  type: l.optionIcon?.iconType,
4853
4853
  iconClass: l.optionIcon?.iconClass
4854
4854
  }, null, 8, ["type", "iconClass"])) : m("", !0),
4855
- l.optionName ? (a(), r("span", Pr, g(l.optionName), 1)) : m("", !0),
4855
+ l.optionName ? (a(), r("span", Mr, g(l.optionName), 1)) : m("", !0),
4856
4856
  n.iconDropdown ? (a(), C(d, {
4857
4857
  key: 4,
4858
4858
  iconClass: n.iconDropdown.iconClass,
@@ -5536,7 +5536,7 @@ const gi = /* @__PURE__ */ B(Qr, [["render", ud]]), cd = {
5536
5536
  };
5537
5537
  }
5538
5538
  };
5539
- class Me {
5539
+ class Pe {
5540
5540
  static PATTERN_SURNAME = /^[a-züöäßáéíóàèìòêîô '-]+$/i;
5541
5541
  static PATTERN_EMAIL = /^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i;
5542
5542
  static PATTERN_MESSAGE = /^.{2,500}$/;
@@ -5545,7 +5545,7 @@ class Me {
5545
5545
  this.label = t;
5546
5546
  }
5547
5547
  validate(t) {
5548
- const n = this.validateRequired(t.lastName.value, Me.PATTERN_SURNAME, this.label("form_error_invalid_surname")), s = this.validateRequired(t.email.value, Me.PATTERN_EMAIL, this.label("form_error_invalid_email")), i = this.validateRequired(t.userMessage.value, Me.PATTERN_MESSAGE, this.label("form_error_invalid_message"));
5548
+ const n = this.validateRequired(t.lastName.value, Pe.PATTERN_SURNAME, this.label("form_error_invalid_surname")), s = this.validateRequired(t.email.value, Pe.PATTERN_EMAIL, this.label("form_error_invalid_email")), i = this.validateRequired(t.userMessage.value, Pe.PATTERN_MESSAGE, this.label("form_error_invalid_message"));
5549
5549
  return t.lastName.error = n[0], t.lastName.errorMessage = n[1], t.email.error = s[0], t.email.errorMessage = s[1], t.userMessage.error = i[0], t.userMessage.errorMessage = i[1], console.log("validate", t.email), t.acceptPrivacy.error = !1, t.error = t.lastName.error || t.email.error || t.userMessage.error, t;
5550
5550
  }
5551
5551
  validatePrivacy(t) {
@@ -6574,7 +6574,7 @@ const yi = /* @__PURE__ */ B(Od, [["render", Fd]]), re = (e) => {
6574
6574
  }));
6575
6575
  },
6576
6576
  async loadContent(e) {
6577
- (await Md(e)).startsWith("image/") ? this.fancyBoxImageUrl = e : fetch(e).then((n) => n.text()).then((n) => this.fancyBoxContent = n).catch((n) => console.error(`Error loading ${this.url}: ${n}`));
6577
+ (await Pd(e)).startsWith("image/") ? this.fancyBoxImageUrl = e : fetch(e).then((n) => n.text()).then((n) => this.fancyBoxContent = n).catch((n) => console.error(`Error loading ${this.url}: ${n}`));
6578
6578
  },
6579
6579
  // switch to previous-item (in fancybox-gallery)
6580
6580
  showPrevItem() {
@@ -6616,11 +6616,11 @@ const yi = /* @__PURE__ */ B(Od, [["render", Fd]]), re = (e) => {
6616
6616
  }
6617
6617
  }
6618
6618
  });
6619
- async function Md(e) {
6619
+ async function Pd(e) {
6620
6620
  const t = await fetch(e, { method: "HEAD" });
6621
6621
  return t.ok ? (t.headers.get("Content-Type") || "").split(";")[0] : "text/html";
6622
6622
  }
6623
- const Pd = bi, Vd = ["aria-label"], Ad = { class: "flex-container" }, Ed = {
6623
+ const Md = bi, Vd = ["aria-label"], Ad = { class: "flex-container" }, Ed = {
6624
6624
  key: 1,
6625
6625
  class: "button-wrapper flex-none"
6626
6626
  }, Hd = ["title"], qd = ["title"], Rd = ["title"], jd = {
@@ -6753,7 +6753,7 @@ function Qd(e, t, n, s, i, l) {
6753
6753
  }, null, 8, ["thumbnailScrollerItems", "onClick", "activeItemIndex"])) : m("", !0)
6754
6754
  ], 42, Vd);
6755
6755
  }
6756
- const Xd = /* @__PURE__ */ B(Pd, [["render", Qd]]), $d = {
6756
+ const Xd = /* @__PURE__ */ B(Md, [["render", Qd]]), $d = {
6757
6757
  emits: ["submit"],
6758
6758
  mixins: [
6759
6759
  X,
@@ -6767,7 +6767,7 @@ const Xd = /* @__PURE__ */ B(Pd, [["render", Qd]]), $d = {
6767
6767
  data() {
6768
6768
  return {
6769
6769
  sendSuccessfully: !1,
6770
- validator: new Me((e) => e),
6770
+ validator: new Pe((e) => e),
6771
6771
  formData: {
6772
6772
  salutation: { value: this.configuration.salutation.default },
6773
6773
  lastName: { value: "" },
@@ -7886,7 +7886,7 @@ const _u = /* @__PURE__ */ B(vu, [["render", Su]]), Ou = {
7886
7886
  watch: (() => {
7887
7887
  (void 0).updateActiveClass();
7888
7888
  })
7889
- }, Lu = { key: 1 }, Iu = ["href"], Bu = { key: 2 }, Du = { key: 0 }, Fu = { key: 1 }, Mu = { key: 1 }, Pu = { key: 1 };
7889
+ }, Lu = { key: 1 }, Iu = ["href"], Bu = { key: 2 }, Du = { key: 0 }, Fu = { key: 1 }, Pu = { key: 1 }, Mu = { key: 1 };
7890
7890
  function Vu(e, t, n, s, i, l) {
7891
7891
  const d = U, c = _u, u = Ce, h = oe, p = Ci, b = R, S = he;
7892
7892
  return a(), C(pe, { name: n.transition }, {
@@ -7988,12 +7988,12 @@ function Vu(e, t, n, s, i, l) {
7988
7988
  F(g(I.descriptionData.text), 1)
7989
7989
  ], 64))
7990
7990
  ]),
7991
- n.alignDescriptionTermRight ? (a(), r("dt", Mu, [
7991
+ n.alignDescriptionTermRight ? (a(), r("dt", Pu, [
7992
7992
  I.descriptionTerm?.cmdIcon?.iconClass ? (a(), C(b, T({
7993
7993
  key: 0,
7994
7994
  ref_for: !0
7995
7995
  }, I.descriptionTerm.cmdIcon), null, 16)) : m("", !0),
7996
- I.descriptionTerm?.text ? (a(), r("span", Pu, g(I.descriptionTerm?.text), 1)) : m("", !0)
7996
+ I.descriptionTerm?.text ? (a(), r("span", Mu, g(I.descriptionTerm?.text), 1)) : m("", !0)
7997
7997
  ])) : m("", !0)
7998
7998
  ], 64))), 128))
7999
7999
  ]))
@@ -8954,7 +8954,7 @@ const ki = /* @__PURE__ */ B(vc, [["render", Bc]]), Dc = {
8954
8954
  navigator.clipboard.writeText(t), alert(t + " was copied to clipboard");
8955
8955
  }
8956
8956
  }
8957
- }, Fc = ["title"], Mc = { key: 1 }, Pc = { ref: "code" }, Vc = {
8957
+ }, Fc = ["title"], Pc = { key: 1 }, Mc = { ref: "code" }, Vc = {
8958
8958
  key: 2,
8959
8959
  ref: "code"
8960
8960
  };
@@ -8975,8 +8975,8 @@ function Ac(e, t, n, s, i, l) {
8975
8975
  type: n.cmdIcon.iconType
8976
8976
  }, null, 8, ["iconClass", "type"])
8977
8977
  ], 8, Fc)) : m("", !0),
8978
- n.preformatted ? (a(), r("pre", Mc, [
8979
- o("code", Pc, [
8978
+ n.preformatted ? (a(), r("pre", Pc, [
8979
+ o("code", Mc, [
8980
8980
  t[1] || (t[1] = F(`
8981
8981
  `, -1)),
8982
8982
  D(e.$slots, "default"),
@@ -9776,7 +9776,7 @@ function Fm(e, t, n, s, i, l) {
9776
9776
  }))
9777
9777
  ]);
9778
9778
  }
9779
- const Oi = /* @__PURE__ */ B(Im, [["render", Fm]]), Mm = {
9779
+ const Oi = /* @__PURE__ */ B(Im, [["render", Fm]]), Pm = {
9780
9780
  name: "CmdImageGallery",
9781
9781
  mixins: [Z],
9782
9782
  props: {
@@ -9868,10 +9868,10 @@ const Oi = /* @__PURE__ */ B(Im, [["render", Fm]]), Mm = {
9868
9868
  });
9869
9869
  }
9870
9870
  }
9871
- }, Pm = { class: "cmd-image-gallery grid-container-create-columns" }, Vm = ["onClick", "title"];
9871
+ }, Mm = { class: "cmd-image-gallery grid-container-create-columns" }, Vm = ["onClick", "title"];
9872
9872
  function Am(e, t, n, s, i, l) {
9873
9873
  const d = U, c = oe;
9874
- return a(), r("div", Pm, [
9874
+ return a(), r("div", Mm, [
9875
9875
  n.cmdHeadline?.headlineText || e.editModeContext ? (a(), C(d, A(T({ key: 0 }, n.cmdHeadline)), null, 16)) : m("", !0),
9876
9876
  e.editModeContext ? n.images.length ? (a(!0), r(w, { key: 2 }, P(n.images, (u, h) => (a(), C(c, {
9877
9877
  key: h,
@@ -9912,7 +9912,7 @@ function Am(e, t, n, s, i, l) {
9912
9912
  ], 64))
9913
9913
  ]);
9914
9914
  }
9915
- const Em = /* @__PURE__ */ B(Mm, [["render", Am]]), Hm = {
9915
+ const Em = /* @__PURE__ */ B(Pm, [["render", Am]]), Hm = {
9916
9916
  name: "CmdImageZoom",
9917
9917
  props: {
9918
9918
  /**
@@ -10998,7 +10998,7 @@ function Fp(e, t, n, s, i, l) {
10998
10998
  ])
10999
10999
  ]);
11000
11000
  }
11001
- const Ii = /* @__PURE__ */ B(wp, [["render", Fp]]), Mp = {
11001
+ const Ii = /* @__PURE__ */ B(wp, [["render", Fp]]), Pp = {
11002
11002
  emits: ["click"],
11003
11003
  name: "CmdMultistepFormProgressBar",
11004
11004
  data() {
@@ -11125,7 +11125,7 @@ const Ii = /* @__PURE__ */ B(wp, [["render", Fp]]), Mp = {
11125
11125
  immediate: !0
11126
11126
  }
11127
11127
  }
11128
- }, Pp = {
11128
+ }, Mp = {
11129
11129
  key: 0,
11130
11130
  class: "number"
11131
11131
  }, Vp = { key: 2 }, Ap = {
@@ -11153,7 +11153,7 @@ function Hp(e, t, n, s, i, l) {
11153
11153
  onClick: (p) => l.clickedStep(p, h)
11154
11154
  }, {
11155
11155
  default: v(() => [
11156
- n.showStepNumber ? (a(), r("span", Pp, g(h + 1), 1)) : m("", !0),
11156
+ n.showStepNumber ? (a(), r("span", Mp, g(h + 1), 1)) : m("", !0),
11157
11157
  u.iconClass ? (a(), C(d, {
11158
11158
  key: 1,
11159
11159
  iconClass: u.iconClass,
@@ -11178,7 +11178,7 @@ function Hp(e, t, n, s, i, l) {
11178
11178
  ], 2))), 128))
11179
11179
  ], 2);
11180
11180
  }
11181
- const Bi = /* @__PURE__ */ B(Mp, [["render", Hp]]), qp = {
11181
+ const Bi = /* @__PURE__ */ B(Pp, [["render", Hp]]), qp = {
11182
11182
  name: "CmdMultistepFormWrapper",
11183
11183
  data() {
11184
11184
  return {
@@ -11189,6 +11189,10 @@ const Bi = /* @__PURE__ */ B(Mp, [["render", Hp]]), qp = {
11189
11189
  };
11190
11190
  },
11191
11191
  props: {
11192
+ requiredPages: {
11193
+ type: Array,
11194
+ default: []
11195
+ },
11192
11196
  /**
11193
11197
  * properties for CmdMultistepFormProgressBar-component
11194
11198
  */
@@ -11255,9 +11259,20 @@ const Bi = /* @__PURE__ */ B(Mp, [["render", Hp]]), qp = {
11255
11259
  }
11256
11260
  },
11257
11261
  computed: {
11258
- // check if at leat one step has status 'error'
11262
+ pagesWithError() {
11263
+ if (this.inputMade.length === 0)
11264
+ return this.requiredPages;
11265
+ let e = new Set(this.requiredPages).difference(new Set(this.inputMade));
11266
+ for (let t = 0; t < this.validationStatusForSteps.length; t++)
11267
+ e.add(this.validationStatusForSteps[t].page);
11268
+ return [...e].toSorted();
11269
+ },
11270
+ // check if at least one step has status 'error'
11259
11271
  atleastOneStepWithError() {
11260
- return this.validationStatusForSteps.length > 0 || this.inputMade.length === 0;
11272
+ if (this.validationStatusForSteps.length > 0 || this.inputMade.length === 0)
11273
+ return !0;
11274
+ const e = new Set(this.requiredPages), t = new Set(this.inputMade);
11275
+ return console.log("requiredPagesSet", e), console.log("inputMadeSet", t), !e.isSubsetOf(t);
11261
11276
  },
11262
11277
  // check if a page ha
11263
11278
  pageHasError() {
@@ -11336,9 +11351,9 @@ function Up(e, t, n, s, i, l) {
11336
11351
  class: x("multistep-page-" + h),
11337
11352
  key: p
11338
11353
  }, [
11339
- i.validationStatusForSteps.some((b) => b.page === h) ? (a(), C(c, {
11354
+ i.validationStatusForSteps.some((b) => b.page === i.currentPage) ? (a(), C(c, {
11340
11355
  key: 0,
11341
- systemMessage: l.getSystemMessage(h),
11356
+ systemMessage: l.getSystemMessage(i.currentPage),
11342
11357
  validationStatus: "error"
11343
11358
  }, null, 8, ["systemMessage"])) : m("", !0),
11344
11359
  D(e.$slots, "page-" + h, {
@@ -11352,10 +11367,20 @@ function Up(e, t, n, s, i, l) {
11352
11367
  [$, h === i.currentPage]
11353
11368
  ])), 128)),
11354
11369
  z(o("div", jp, [
11370
+ l.pagesWithError.length ? (a(), C(c, {
11371
+ key: 0,
11372
+ validationStatus: "error"
11373
+ }, {
11374
+ default: v(() => [
11375
+ o("p", null, "Please fill all required fields on the pages " + g(l.pagesWithError.join(", ")) + " correctly!", 1)
11376
+ ]),
11377
+ _: 1
11378
+ })) : m("", !0),
11355
11379
  D(e.$slots, "page-last", {
11356
11380
  setErrorOnPage: (h) => l.setErrorOnPage(e.step, h),
11357
11381
  removeErrorOnPage: () => l.removeErrorOnPage(e.step),
11358
- atleastOneStepWithError: l.atleastOneStepWithError
11382
+ atleastOneStepWithError: l.atleastOneStepWithError,
11383
+ formData: i.formData
11359
11384
  })
11360
11385
  ], 512), [
11361
11386
  [$, i.currentPage === l.numberOfPages]
@@ -12600,8 +12625,8 @@ const Di = /* @__PURE__ */ B(Lf, [["render", If]]), Bf = {
12600
12625
  });
12601
12626
  }
12602
12627
  }
12603
- }, Df = { class: "button-wrapper" }, Ff = ["title"], Mf = { key: 1 };
12604
- function Pf(e, t, n, s, i, l) {
12628
+ }, Df = { class: "button-wrapper" }, Ff = ["title"], Pf = { key: 1 };
12629
+ function Mf(e, t, n, s, i, l) {
12605
12630
  const d = Di;
12606
12631
  return a(), r("footer", {
12607
12632
  class: x(["cmd-page-footer flex-container", { "small-buttons": n.useSmallButtons }])
@@ -12625,12 +12650,12 @@ function Pf(e, t, n, s, i, l) {
12625
12650
  key: 0,
12626
12651
  class: x(l.buttonPrintViewOptions.icon?.iconClass)
12627
12652
  }, null, 2)) : m("", !0),
12628
- l.buttonPrintViewOptions.text ? (a(), r("span", Mf, g(l.buttonPrintViewOptions.text), 1)) : m("", !0)
12653
+ l.buttonPrintViewOptions.text ? (a(), r("span", Pf, g(l.buttonPrintViewOptions.text), 1)) : m("", !0)
12629
12654
  ], 10, Ff)) : m("", !0)
12630
12655
  ])
12631
12656
  ], 2);
12632
12657
  }
12633
- const Vf = /* @__PURE__ */ B(Bf, [["render", Pf]]), Af = {
12658
+ const Vf = /* @__PURE__ */ B(Bf, [["render", Mf]]), Af = {
12634
12659
  name: "CmdPageHeader",
12635
12660
  props: {
12636
12661
  /**
@@ -13857,7 +13882,7 @@ function Fh(e, t, n, s, i, l) {
13857
13882
  ])) : m("", !0)
13858
13883
  ], 2);
13859
13884
  }
13860
- const Mh = /* @__PURE__ */ B(Bh, [["render", Fh]]), Ph = {
13885
+ const Ph = /* @__PURE__ */ B(Bh, [["render", Fh]]), Mh = {
13861
13886
  name: "CmdSwitchLanguage",
13862
13887
  emits: ["click"],
13863
13888
  data() {
@@ -13938,7 +13963,7 @@ function qh(e, t, n, s, i, l) {
13938
13963
  ])
13939
13964
  ]);
13940
13965
  }
13941
- const Rh = /* @__PURE__ */ B(Ph, [["render", qh]]), jh = {
13966
+ const Rh = /* @__PURE__ */ B(Mh, [["render", qh]]), jh = {
13942
13967
  name: "CmdTable",
13943
13968
  data() {
13944
13969
  return {
@@ -14775,7 +14800,7 @@ const yg = /* @__PURE__ */ B(fg, [["render", gg]]), bg = {
14775
14800
  };
14776
14801
  }
14777
14802
  };
14778
- function Mi(e, t) {
14803
+ function Pi(e, t) {
14779
14804
  return function() {
14780
14805
  return e.apply(t, arguments);
14781
14806
  };
@@ -14787,10 +14812,10 @@ const { toString: xg } = Object.prototype, { getPrototypeOf: en } = Object, it =
14787
14812
  function Cg(e) {
14788
14813
  return e !== null && !Ee(e) && e.constructor !== null && !Ee(e.constructor) && ne(e.constructor.isBuffer) && e.constructor.isBuffer(e);
14789
14814
  }
14790
- const Pi = ae("ArrayBuffer");
14815
+ const Mi = ae("ArrayBuffer");
14791
14816
  function vg(e) {
14792
14817
  let t;
14793
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Pi(e.buffer), t;
14818
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Mi(e.buffer), t;
14794
14819
  }
14795
14820
  const kg = lt("string"), ne = lt("function"), Vi = lt("number"), ot = (e) => e !== null && typeof e == "object", wg = (e) => e === !0 || e === !1, We = (e) => {
14796
14821
  if (it(e) !== "object")
@@ -14801,7 +14826,7 @@ const kg = lt("string"), ne = lt("function"), Vi = lt("number"), ot = (e) => e !
14801
14826
  let t;
14802
14827
  return e && (typeof FormData == "function" && e instanceof FormData || ne(e.append) && ((t = it(e)) === "formdata" || // detect form-data instance
14803
14828
  t === "object" && ne(e.toString) && e.toString() === "[object FormData]"));
14804
- }, Bg = ae("URLSearchParams"), [Dg, Fg, Mg, Pg] = ["ReadableStream", "Request", "Response", "Headers"].map(ae), Vg = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
14829
+ }, Bg = ae("URLSearchParams"), [Dg, Fg, Pg, Mg] = ["ReadableStream", "Request", "Response", "Headers"].map(ae), Vg = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
14805
14830
  function He(e, t, { allOwnKeys: n = !1 } = {}) {
14806
14831
  if (e === null || typeof e > "u")
14807
14832
  return;
@@ -14836,7 +14861,7 @@ function It() {
14836
14861
  return t;
14837
14862
  }
14838
14863
  const Ag = (e, t, n, { allOwnKeys: s } = {}) => (He(t, (i, l) => {
14839
- n && ne(i) ? e[l] = Mi(i, n) : e[l] = i;
14864
+ n && ne(i) ? e[l] = Pi(i, n) : e[l] = i;
14840
14865
  }, { allOwnKeys: s }), e), Eg = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Hg = (e, t, n, s) => {
14841
14866
  e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
14842
14867
  value: t.prototype
@@ -14882,7 +14907,7 @@ const Ag = (e, t, n, { allOwnKeys: s } = {}) => (He(t, (i, l) => {
14882
14907
  function(n, s, i) {
14883
14908
  return s.toUpperCase() + i;
14884
14909
  }
14885
- ), Mn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Kg = ae("RegExp"), qi = (e, t) => {
14910
+ ), Pn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Kg = ae("RegExp"), qi = (e, t) => {
14886
14911
  const n = Object.getOwnPropertyDescriptors(e), s = {};
14887
14912
  He(n, (i, l) => {
14888
14913
  let d;
@@ -14911,10 +14936,10 @@ const Ag = (e, t, n, { allOwnKeys: s } = {}) => (He(t, (i, l) => {
14911
14936
  };
14912
14937
  return _e(e) ? s(e) : s(String(e).split(t)), n;
14913
14938
  }, Zg = () => {
14914
- }, Qg = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, gt = "abcdefghijklmnopqrstuvwxyz", Pn = "0123456789", Ri = {
14915
- DIGIT: Pn,
14939
+ }, Qg = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, gt = "abcdefghijklmnopqrstuvwxyz", Mn = "0123456789", Ri = {
14940
+ DIGIT: Mn,
14916
14941
  ALPHA: gt,
14917
- ALPHA_DIGIT: gt + gt.toUpperCase() + Pn
14942
+ ALPHA_DIGIT: gt + gt.toUpperCase() + Mn
14918
14943
  }, Xg = (e = 16, t = Ri.ALPHA_DIGIT) => {
14919
14944
  let n = "";
14920
14945
  const { length: s } = t;
@@ -14944,7 +14969,7 @@ const ey = (e) => {
14944
14969
  return n(e, 0);
14945
14970
  }, ty = ae("AsyncFunction"), ny = (e) => e && (ot(e) || ne(e)) && ne(e.then) && ne(e.catch), _ = {
14946
14971
  isArray: _e,
14947
- isArrayBuffer: Pi,
14972
+ isArrayBuffer: Mi,
14948
14973
  isBuffer: Cg,
14949
14974
  isFormData: Ig,
14950
14975
  isArrayBufferView: vg,
@@ -14955,8 +14980,8 @@ const ey = (e) => {
14955
14980
  isPlainObject: We,
14956
14981
  isReadableStream: Dg,
14957
14982
  isRequest: Fg,
14958
- isResponse: Mg,
14959
- isHeaders: Pg,
14983
+ isResponse: Pg,
14984
+ isHeaders: Mg,
14960
14985
  isUndefined: Ee,
14961
14986
  isDate: Tg,
14962
14987
  isFile: Sg,
@@ -14981,8 +15006,8 @@ const ey = (e) => {
14981
15006
  forEachEntry: Ng,
14982
15007
  matchAll: zg,
14983
15008
  isHTMLForm: Wg,
14984
- hasOwnProperty: Mn,
14985
- hasOwnProp: Mn,
15009
+ hasOwnProperty: Pn,
15010
+ hasOwnProp: Pn,
14986
15011
  // an alias to avoid ESLint no-prototype-builtins detection
14987
15012
  reduceDescriptors: qi,
14988
15013
  freezeMethods: Yg,
@@ -15783,7 +15808,7 @@ const Qi = (e) => {
15783
15808
  h && d.set(i, h);
15784
15809
  }
15785
15810
  return t;
15786
- }, Fy = typeof XMLHttpRequest < "u", My = Fy && function(e) {
15811
+ }, Fy = typeof XMLHttpRequest < "u", Py = Fy && function(e) {
15787
15812
  return new Promise(function(n, s) {
15788
15813
  const i = Qi(e);
15789
15814
  let l = i.data;
@@ -15840,7 +15865,7 @@ const Qi = (e) => {
15840
15865
  }
15841
15866
  p.send(l || null);
15842
15867
  });
15843
- }, Py = (e, t) => {
15868
+ }, My = (e, t) => {
15844
15869
  let n = new AbortController(), s;
15845
15870
  const i = function(u) {
15846
15871
  if (!s) {
@@ -15956,7 +15981,7 @@ const Hy = async (e) => {
15956
15981
  fetchOptions: S
15957
15982
  } = Qi(e);
15958
15983
  h = h ? (h + "").toLowerCase() : "text";
15959
- let [I, L] = i || l || d ? Py([i, l], d) : [], O, V;
15984
+ let [I, L] = i || l || d ? My([i, l], d) : [], O, V;
15960
15985
  const q = () => {
15961
15986
  !O && setTimeout(() => {
15962
15987
  I && I.unsubscribe();
@@ -16020,12 +16045,12 @@ const Hy = async (e) => {
16020
16045
  }
16021
16046
  ) : E.from(j, j && j.code, e, V);
16022
16047
  }
16023
- }), Mt = {
16048
+ }), Pt = {
16024
16049
  http: iy,
16025
- xhr: My,
16050
+ xhr: Py,
16026
16051
  fetch: Ry
16027
16052
  };
16028
- _.forEach(Mt, (e, t) => {
16053
+ _.forEach(Pt, (e, t) => {
16029
16054
  if (e) {
16030
16055
  try {
16031
16056
  Object.defineProperty(e, "name", { value: t });
@@ -16043,7 +16068,7 @@ const Nn = (e) => `- ${e}`, jy = (e) => _.isFunction(e) || e === null || e === !
16043
16068
  for (let l = 0; l < t; l++) {
16044
16069
  n = e[l];
16045
16070
  let d;
16046
- if (s = n, !jy(n) && (s = Mt[(d = String(n)).toLowerCase()], s === void 0))
16071
+ if (s = n, !jy(n) && (s = Pt[(d = String(n)).toLowerCase()], s === void 0))
16047
16072
  throw new E(`Unknown adapter '${d}'`);
16048
16073
  if (s)
16049
16074
  break;
@@ -16063,7 +16088,7 @@ const Nn = (e) => `- ${e}`, jy = (e) => _.isFunction(e) || e === null || e === !
16063
16088
  }
16064
16089
  return s;
16065
16090
  },
16066
- adapters: Mt
16091
+ adapters: Pt
16067
16092
  };
16068
16093
  function xt(e) {
16069
16094
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
@@ -16129,10 +16154,10 @@ function Uy(e, t, n) {
16129
16154
  throw new E("Unknown option " + l, E.ERR_BAD_OPTION);
16130
16155
  }
16131
16156
  }
16132
- const Pt = {
16157
+ const Mt = {
16133
16158
  assertOptions: Uy,
16134
16159
  validators: ln
16135
- }, ue = Pt.validators;
16160
+ }, ue = Mt.validators;
16136
16161
  let ye = class {
16137
16162
  constructor(t) {
16138
16163
  this.defaults = t, this.interceptors = {
@@ -16168,13 +16193,13 @@ let ye = class {
16168
16193
  _request(t, n) {
16169
16194
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = xe(this.defaults, n);
16170
16195
  const { transitional: s, paramsSerializer: i, headers: l } = n;
16171
- s !== void 0 && Pt.assertOptions(s, {
16196
+ s !== void 0 && Mt.assertOptions(s, {
16172
16197
  silentJSONParsing: ue.transitional(ue.boolean),
16173
16198
  forcedJSONParsing: ue.transitional(ue.boolean),
16174
16199
  clarifyTimeoutError: ue.transitional(ue.boolean)
16175
16200
  }, !1), i != null && (_.isFunction(i) ? n.paramsSerializer = {
16176
16201
  serialize: i
16177
- } : Pt.assertOptions(i, {
16202
+ } : Mt.assertOptions(i, {
16178
16203
  encode: ue.function,
16179
16204
  serialize: ue.function
16180
16205
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -16398,7 +16423,7 @@ Object.entries(Vt).forEach(([e, t]) => {
16398
16423
  Vt[t] = e;
16399
16424
  });
16400
16425
  function nl(e) {
16401
- const t = new ye(e), n = Mi(ye.prototype.request, t);
16426
+ const t = new ye(e), n = Pi(ye.prototype.request, t);
16402
16427
  return _.extend(n, ye.prototype, t, { allOwnKeys: !0 }), _.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(i) {
16403
16428
  return nl(xe(e, i));
16404
16429
  }, n;
@@ -17584,7 +17609,7 @@ function Fb(e, t, n, s, i, l) {
17584
17609
  ], 64))), 128))
17585
17610
  ]);
17586
17611
  }
17587
- const Mb = /* @__PURE__ */ B(Bb, [["render", Fb]]), Pb = {
17612
+ const Pb = /* @__PURE__ */ B(Bb, [["render", Fb]]), Mb = {
17588
17613
  name: "MultipleListsOfLinks",
17589
17614
  props: {
17590
17615
  segments: {
@@ -17607,7 +17632,7 @@ function Ab(e, t, n, s, i, l) {
17607
17632
  ], 64))), 128))
17608
17633
  ]);
17609
17634
  }
17610
- const Eb = /* @__PURE__ */ B(Pb, [["render", Ab]]), Hb = {
17635
+ const Eb = /* @__PURE__ */ B(Mb, [["render", Ab]]), Hb = {
17611
17636
  name: "ContactInformation",
17612
17637
  props: {
17613
17638
  /**
@@ -18215,7 +18240,7 @@ const Ub = /* @__PURE__ */ B(Hb, [["render", jb]]), ll = [
18215
18240
  }
18216
18241
  };
18217
18242
  function Yb(e, t, n, s, i, l) {
18218
- const d = Ub, c = il, u = Eb, h = Mb;
18243
+ const d = Ub, c = il, u = Eb, h = Pb;
18219
18244
  return a(), r(w, null, [
18220
18245
  f(c, null, {
18221
18246
  default: v(() => [
@@ -18326,10 +18351,10 @@ const Xb = /* @__PURE__ */ B(Jb, [["render", Qb]]), $b = {
18326
18351
  };
18327
18352
  }
18328
18353
  };
18329
- function Mk(e = !1) {
18354
+ function Pk(e = !1) {
18330
18355
  return e ? (/* @__PURE__ */ new Date()).toISOString() : (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
18331
18356
  }
18332
- function Pk() {
18357
+ function Mk() {
18333
18358
  const e = /* @__PURE__ */ new Date(), t = String(e.getHours()).padStart(2, "0"), n = String(e.getMinutes()).padStart(2, "0");
18334
18359
  return t + ":" + n;
18335
18360
  }
@@ -18860,7 +18885,7 @@ function Fx(e, t, n, s, i, l) {
18860
18885
  _: 1
18861
18886
  }, 16);
18862
18887
  }
18863
- const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
18888
+ const Px = /* @__PURE__ */ B(Dx, [["render", Fx]]), Mx = [
18864
18889
  {
18865
18890
  text: "Account owner:",
18866
18891
  value: "Company name",
@@ -19918,9 +19943,9 @@ const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
19918
19943
  ], IC = [{ id: 1, displayValue: "Option #1", icon: { iconClass: "icon-home" } }, { id: 2, displayValue: "Option #2", icon: { iconClass: "icon-company" } }, { id: 3, displayValue: "Option #3", icon: { iconClass: "icon-globe" } }], BC = { labelText: "Label for inputfield (search) with smart-search:" }, DC = {
19919
19944
  listOfRecommendations: IC,
19920
19945
  cmdFormElement: BC
19921
- }, FC = { toggleSwitch: !0, labelText: "I accept that anonymous data will be send to the platform I share this page on and accept the <a href='/content/fancybox-content.html' class='fancybox'>Data Privacy</a>!", required: !0 }, MC = [{ buttonClass: "social-network-facebook", path: "https://www.facebook.com/sharer/sharer.php?u=", tooltip: "Share this page on facebook", iconClass: "icon-facebook", linkText: "Share" }, { buttonClass: "social-network-x", path: "https://twitter.com/home?status=", tooltip: "Share this page on X", iconClass: "icon-x", linkText: "Share" }, { buttonClass: "social-network-xing", path: "https://www.xing.com/spi/shares/new?sc_p=b7910_cb&amp;url=", tooltip: "Share this page on xing", iconClass: "icon-xing", linkText: "Share" }, { buttonClass: "social-network-linkedin", path: "https://www.linkedin.com/cws/share?url=", tooltip: "Share this page on linkedin", iconClass: "icon-linkedin", linkText: "Share" }, { buttonClass: "social-network-instagram", path: "https://www.instagram.com/", tooltip: "Share this page on instagram", iconClass: "icon-instagram", linkText: "Share" }], PC = {
19946
+ }, FC = { toggleSwitch: !0, labelText: "I accept that anonymous data will be send to the platform I share this page on and accept the <a href='/content/fancybox-content.html' class='fancybox'>Data Privacy</a>!", required: !0 }, PC = [{ buttonClass: "social-network-facebook", path: "https://www.facebook.com/sharer/sharer.php?u=", tooltip: "Share this page on facebook", iconClass: "icon-facebook", linkText: "Share" }, { buttonClass: "social-network-x", path: "https://twitter.com/home?status=", tooltip: "Share this page on X", iconClass: "icon-x", linkText: "Share" }, { buttonClass: "social-network-xing", path: "https://www.xing.com/spi/shares/new?sc_p=b7910_cb&amp;url=", tooltip: "Share this page on xing", iconClass: "icon-xing", linkText: "Share" }, { buttonClass: "social-network-linkedin", path: "https://www.linkedin.com/cws/share?url=", tooltip: "Share this page on linkedin", iconClass: "icon-linkedin", linkText: "Share" }, { buttonClass: "social-network-instagram", path: "https://www.instagram.com/", tooltip: "Share this page on instagram", iconClass: "icon-instagram", linkText: "Share" }], MC = {
19922
19947
  cmdFormElement: FC,
19923
- networks: MC
19948
+ networks: PC
19924
19949
  }, VC = [
19925
19950
  {
19926
19951
  text: "Tab 1",
@@ -20892,7 +20917,7 @@ const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
20892
20917
  text: "Zimbabwe",
20893
20918
  value: "zw"
20894
20919
  }
20895
- ], QC = "comand-component-library", XC = "4.2.92", $C = "GPL-3.0-only", e1 = "CoManD-UI", t1 = "module", n1 = { prepublishOnly: "npm run build-lib", dev: "vite", build: "vite build", "build-lib": "vite build && gulp", preview: "vite preview" }, i1 = ["dist", "src"], l1 = { ".": "./dist/comand-component-library.js", "./css.js": "./src/css.js", "./comand-component-library.css": "./dist/comand-component-library.css", "./variables.scss": "./src/assets/styles/variables.scss", "./export-example-data.js": "./src/assets/data/export-example-data.js", "./countries.json": "./src/assets/lists-of-data/countries.json", "./currencies.json": "./src/assets/lists-of-data/currencies.json", "./dial-codes.json": "./src/assets/lists-of-data/dial-codes.json", "./us-cities.json": "./src/assets/lists-of-data/us-cities.json" }, o1 = { "clickout-event": "^1.1.2", "comand-frontend-framework": "^4.3.25", "comand-ui-iconfonts": "^1.0.19", "core-js": "^3.20.1", prismjs: "^1.27.0", vue: "^3.5.25", "vue-router": "^4.0.12", vuex: "^4.0.2" }, a1 = { "@iconify/vue": "^4.0.0", "@vitejs/plugin-vue": "^6.0.2", "@vue/test-utils": "^2.0.0-0", axios: "^1.7.2", gulp: "^4.0.2", sass: "^1.54.9", "unplugin-vue-components": "^0.24.0", vite: "^7.2.4", "vue-jest": "^5.0.0-0" }, s1 = {
20920
+ ], QC = "comand-component-library", XC = "4.2.94", $C = "GPL-3.0-only", e1 = "CoManD-UI", t1 = "module", n1 = { prepublishOnly: "npm run build-lib", dev: "vite", build: "vite build", "build-lib": "vite build && gulp", preview: "vite preview" }, i1 = ["dist", "src"], l1 = { ".": "./dist/comand-component-library.js", "./css.js": "./src/css.js", "./comand-component-library.css": "./dist/comand-component-library.css", "./variables.scss": "./src/assets/styles/variables.scss", "./export-example-data.js": "./src/assets/data/export-example-data.js", "./countries.json": "./src/assets/lists-of-data/countries.json", "./currencies.json": "./src/assets/lists-of-data/currencies.json", "./dial-codes.json": "./src/assets/lists-of-data/dial-codes.json", "./us-cities.json": "./src/assets/lists-of-data/us-cities.json" }, o1 = { "clickout-event": "^1.1.2", "comand-frontend-framework": "^4.3.25", "comand-ui-iconfonts": "^1.0.19", "core-js": "^3.20.1", prismjs: "^1.27.0", vue: "^3.5.25", "vue-router": "^4.0.12", vuex: "^4.0.2" }, a1 = { "@iconify/vue": "^4.0.0", "@vitejs/plugin-vue": "^6.0.2", "@vue/test-utils": "^2.0.0-0", axios: "^1.7.2", gulp: "^4.0.2", sass: "^1.54.9", "unplugin-vue-components": "^0.24.0", vite: "^7.2.4", "vue-jest": "^5.0.0-0" }, s1 = {
20896
20921
  name: QC,
20897
20922
  version: XC,
20898
20923
  license: $C,
@@ -22160,7 +22185,7 @@ const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
22160
22185
  },
22161
22186
  // assign data from json files to data-properties
22162
22187
  addressData: ll,
22163
- bankAccountData: Px,
22188
+ bankAccountData: Mx,
22164
22189
  boxProductData: Ax,
22165
22190
  boxUserData: Vx,
22166
22191
  breadcrumbsData: qx,
@@ -22188,7 +22213,7 @@ const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
22188
22213
  selectOptionsData: OC,
22189
22214
  slideshowData: LC,
22190
22215
  smartSearchData: DC,
22191
- socialNetworksData: PC,
22216
+ socialNetworksData: MC,
22192
22217
  tableDataSmall: RC,
22193
22218
  tableDataLarge: KC,
22194
22219
  tabsData: VC,
@@ -22431,7 +22456,7 @@ const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
22431
22456
  }, T1 = {
22432
22457
  class: "headline-demopage",
22433
22458
  id: "section-address-data"
22434
- }, S1 = { class: "flex-container" }, _1 = { class: "flex-container" }, O1 = { class: "list-status" }, L1 = { class: "error" }, I1 = { class: "flex-container" }, B1 = { class: "headline-demopage" }, D1 = { class: "flex-container" }, F1 = { class: "flex-container" }, M1 = { class: "flex-container" }, P1 = { class: "flex-container" }, V1 = { class: "flex-container" }, A1 = { class: "headline-demopage" }, E1 = { class: "flex-container" }, H1 = { class: "flex-container flex-items-flex-none" }, q1 = {
22459
+ }, S1 = { class: "flex-container" }, _1 = { class: "flex-container" }, O1 = { class: "list-status" }, L1 = { class: "error" }, I1 = { class: "flex-container" }, B1 = { class: "headline-demopage" }, D1 = { class: "flex-container" }, F1 = { class: "flex-container" }, P1 = { class: "flex-container" }, M1 = { class: "flex-container" }, V1 = { class: "flex-container" }, A1 = { class: "headline-demopage" }, E1 = { class: "flex-container" }, H1 = { class: "flex-container flex-items-flex-none" }, q1 = {
22435
22460
  class: "inline",
22436
22461
  for: "range-value"
22437
22462
  }, R1 = ["disabled"], j1 = { for: "range-slider" }, U1 = ["disabled"], N1 = { class: "label inline" }, z1 = { class: "flex-container flex-items-flex-none" }, W1 = { class: "label inline" }, G1 = { class: "flex-container flex-items-flex-none" }, K1 = { class: "label inline" }, Y1 = { class: "flex-container flex-items-flex-none" }, J1 = { class: "label inline" }, Z1 = { class: "flex-container flex-items-flex-none" }, Q1 = {
@@ -22482,7 +22507,7 @@ const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
22482
22507
  }, kv = {
22483
22508
  class: "headline-demopage",
22484
22509
  id: "section-multistep-form-wrapper"
22485
- }, wv = ["onClick"], Tv = ["onClick"], Sv = ["onClick"], _v = { class: "input-wrapper" }, Ov = { class: "flex-container" }, Lv = ["onClick"], Iv = { key: 0 }, Bv = ["onClick"], Dv = { key: 0 }, Fv = ["onClick"], Mv = { key: 0 }, Pv = { key: 0 }, Vv = { key: 0 }, Av = { class: "button-wrapper reverse justify-content-space-between" }, Ev = {
22510
+ }, wv = ["onClick"], Tv = ["onClick"], Sv = ["onClick"], _v = { class: "input-wrapper" }, Ov = { class: "flex-container" }, Lv = ["onClick"], Iv = { key: 0 }, Bv = ["onClick"], Dv = { key: 0 }, Fv = ["onClick"], Pv = { key: 0 }, Mv = { key: 0 }, Vv = { key: 0 }, Av = { class: "button-wrapper reverse justify-content-space-between" }, Ev = {
22486
22511
  class: "headline-demopage",
22487
22512
  id: "section-newsletter-subscription"
22488
22513
  }, Hv = {
@@ -22553,7 +22578,7 @@ const Mx = /* @__PURE__ */ B(Dx, [["render", Fx]]), Px = [
22553
22578
  id: "content"
22554
22579
  };
22555
22580
  function rk(e, t, n, s, i, l) {
22556
- const d = Xt, c = vi, u = lh, h = Zt, p = wi, b = mh, S = il, I = hi, L = Ti, O = K, V = Mh, q = Jt, N = Kf, j = Yt, Y = gi, ge = or, H = mr, W = xi, se = ki, ke = Ec, ee = Wc, dl = Cm, ul = Oi, Re = U, Le = R, on = oe, cl = Em, ml = Nm, te = he, pl = sp, fl = Mx, hl = Li, gl = de("router-view"), an = Bi, rt = ve, sn = Np, yl = Yp, bl = vf, xl = Vf, Cl = Rf, vl = Ii, kl = Xb, dt = Qf, rn = rh, wl = kh, Tl = Ih, Sl = Di, _l = Rh, dn = Qh, Ol = Fi, Ll = Ci, ut = pg, Il = yi, Bl = yg, ct = pi, Dl = kb, Fl = ol, Ml = hm, Pl = cm, Vl = Xd, Al = Ib, El = Ul("fancybox");
22581
+ const d = Xt, c = vi, u = lh, h = Zt, p = wi, b = mh, S = il, I = hi, L = Ti, O = K, V = Ph, q = Jt, N = Kf, j = Yt, Y = gi, ge = or, H = mr, W = xi, se = ki, ke = Ec, ee = Wc, dl = Cm, ul = Oi, Re = U, Le = R, on = oe, cl = Em, ml = Nm, te = he, pl = sp, fl = Px, hl = Li, gl = de("router-view"), an = Bi, rt = ve, sn = Np, yl = Yp, bl = vf, xl = Vf, Cl = Rf, vl = Ii, kl = Xb, dt = Qf, rn = rh, wl = kh, Tl = Ih, Sl = Di, _l = Rh, dn = Qh, Ol = Fi, Ll = Ci, ut = pg, Il = yi, Bl = yg, ct = pi, Dl = kb, Fl = ol, Pl = hm, Ml = cm, Vl = Xd, Al = Ib, El = Ul("fancybox");
22557
22582
  return z((a(), r("div", {
22558
22583
  class: "page-wrapper",
22559
22584
  id: l.templateId
@@ -22924,7 +22949,7 @@ function rk(e, t, n, s, i, l) {
22924
22949
  }, { useCustomTooltip: !1 }), null, 16, ["status", "disabled"])
22925
22950
  ]),
22926
22951
  t[163] || (t[163] = o("h3", null, "Inputfields in Columns", -1)),
22927
- o("div", M1, [
22952
+ o("div", P1, [
22928
22953
  f(O, {
22929
22954
  element: "input",
22930
22955
  type: "text",
@@ -22970,7 +22995,7 @@ function rk(e, t, n, s, i, l) {
22970
22995
  disabled: i.disabledStatus
22971
22996
  }, null, 8, ["modelValue", "status", "disabled"])
22972
22997
  ]),
22973
- o("div", P1, [
22998
+ o("div", M1, [
22974
22999
  f(O, {
22975
23000
  labelText: "Label for emailfield (with icon):",
22976
23001
  element: "input",
@@ -24650,7 +24675,7 @@ function rk(e, t, n, s, i, l) {
24650
24675
  })
24651
24676
  ]),
24652
24677
  t[278] || (t[278] = o("h3", null, "Data provided by property", -1)),
24653
- f(sn, null, {
24678
+ f(sn, { requiredPages: [1, 2] }, {
24654
24679
  "page-1": v((y) => [
24655
24680
  t[265] || (t[265] = o("h3", null, "Page 1 - all fields required", -1)),
24656
24681
  f(Y, {
@@ -24768,7 +24793,7 @@ function rk(e, t, n, s, i, l) {
24768
24793
  t[270] || (t[270] = o("h3", null, "Page 4", -1)),
24769
24794
  f(Y, {
24770
24795
  cmdHeadline: { headlineText: "Confirmation", headlineLevel: 3 },
24771
- submitButton: { disabled: y.atleastOneStepWithError, type: "button" },
24796
+ submitButton: { disabled: y.atleastOneStepWithError || !i.dataPrivacyChecked, type: "button" },
24772
24797
  cancelButton: { show: !1 },
24773
24798
  onSubmit: l.validateForm
24774
24799
  }, {
@@ -24782,15 +24807,11 @@ function rk(e, t, n, s, i, l) {
24782
24807
  id: "confirm-data-privac",
24783
24808
  required: !0,
24784
24809
  modelValue: i.dataPrivacyChecked,
24785
- "onUpdate:modelValue": [
24786
- t[99] || (t[99] = (M) => i.dataPrivacyChecked = M),
24787
- (M) => l.setValue(M, "confirm-data-privacy", y)
24788
- ],
24789
- onValidationStatusChange: (M) => l.setValidationStatusCheckbox(M, "confirm-data-privacy", y)
24790
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onValidationStatusChange"])
24810
+ "onUpdate:modelValue": t[99] || (t[99] = (M) => i.dataPrivacyChecked = M)
24811
+ }, null, 8, ["modelValue"])
24791
24812
  ]),
24792
- _: 2
24793
- }, 1032, ["submitButton", "onSubmit"])
24813
+ _: 1
24814
+ }, 8, ["submitButton", "onSubmit"])
24794
24815
  ], 64))
24795
24816
  ]),
24796
24817
  _: 1
@@ -24825,11 +24846,11 @@ function rk(e, t, n, s, i, l) {
24825
24846
  ]),
24826
24847
  "page-3": v((y) => [
24827
24848
  t[275] || (t[275] = F(" Content Page 3 ", -1)),
24828
- y.hasError ? (a(), r("span", Mv, "Error")) : m("", !0)
24849
+ y.hasError ? (a(), r("span", Pv, "Error")) : m("", !0)
24829
24850
  ]),
24830
24851
  "page-4": v((y) => [
24831
24852
  t[276] || (t[276] = F(" Content Page 4 ", -1)),
24832
- y.hasError ? (a(), r("span", Pv, "Error")) : m("", !0)
24853
+ y.hasError ? (a(), r("span", Mv, "Error")) : m("", !0)
24833
24854
  ]),
24834
24855
  "page-5": v((y) => [
24835
24856
  t[277] || (t[277] = F(" Content Page 5 ", -1)),
@@ -25500,7 +25521,7 @@ function rk(e, t, n, s, i, l) {
25500
25521
  ])]),
25501
25522
  _: 1
25502
25523
  }),
25503
- f(Ml),
25524
+ f(Pl),
25504
25525
  f(Vl, {
25505
25526
  show: i.fancyBoxCookieDisclaimer,
25506
25527
  fancyBoxOptions: { closeIcon: { show: !1 } },
@@ -25509,7 +25530,7 @@ function rk(e, t, n, s, i, l) {
25509
25530
  defaultAriaLabelText: "Cookie Disclaimer"
25510
25531
  }, {
25511
25532
  default: v(() => [
25512
- f(Pl, {
25533
+ f(Ml, {
25513
25534
  cookieOptions: i.cookieDisclaimerData,
25514
25535
  onCloseCookieDisclaimer: l.closeCookieDisclaimer,
25515
25536
  modelValue: i.acceptedCookies,
@@ -25698,7 +25719,7 @@ export {
25698
25719
  kh as CmdSiteSearch,
25699
25720
  nt as CmdSlideButton,
25700
25721
  Ih as CmdSlideshow,
25701
- Mh as CmdSmartSearch,
25722
+ Ph as CmdSmartSearch,
25702
25723
  Di as CmdSocialNetworks,
25703
25724
  Rh as CmdSwitchLanguage,
25704
25725
  ve as CmdSystemMessage,
@@ -25718,13 +25739,13 @@ export {
25718
25739
  qk as DirTelephone,
25719
25740
  Ce as EditComponentWrapper,
25720
25741
  X as I18n,
25721
- Mb as MultipleBoxWrapper,
25742
+ Pb as MultipleBoxWrapper,
25722
25743
  Eb as MultipleListsOfLinks,
25723
25744
  jk as capitalizeFirstLetter,
25724
25745
  fi as createHtmlId,
25725
25746
  Ae as createUuid,
25726
- Mk as currentDate,
25727
- Pk as currentTime,
25747
+ Pk as currentDate,
25748
+ Mk as currentTime,
25728
25749
  al as formatDate,
25729
25750
  ex as formatTime,
25730
25751
  Nk as fullName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.2.92",
3
+ "version": "4.2.94",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": "CoManD-UI",
6
6
  "private": false,
@@ -1318,7 +1318,7 @@
1318
1318
  </a>
1319
1319
  </h2>
1320
1320
  <h3>Data provided by property</h3>
1321
- <CmdMultistepFormWrapper>
1321
+ <CmdMultistepFormWrapper :requiredPages="[1, 2]">
1322
1322
  <template v-slot:page-1="props">
1323
1323
  <h3>Page 1 - all fields required</h3>
1324
1324
  <CmdForm
@@ -1408,7 +1408,7 @@
1408
1408
  <h3>Page 4</h3>
1409
1409
  <CmdForm
1410
1410
  :cmdHeadline=" { headlineText: 'Confirmation', headlineLevel: 3 }"
1411
- :submitButton="{ disabled : props.atleastOneStepWithError, type: 'button' }"
1411
+ :submitButton="{ disabled : props.atleastOneStepWithError || !dataPrivacyChecked, type: 'button' }"
1412
1412
  :cancelButton="{ show: false }"
1413
1413
  @submit="validateForm"
1414
1414
  >
@@ -1421,8 +1421,6 @@
1421
1421
  id="confirm-data-privac"
1422
1422
  :required="true"
1423
1423
  v-model="dataPrivacyChecked"
1424
- @update:modelValue="setValue($event, 'confirm-data-privacy', props)"
1425
- @validation-status-change="setValidationStatusCheckbox($event, 'confirm-data-privacy', props)"
1426
1424
  />
1427
1425
  </CmdForm>
1428
1426
  </template>
@@ -17,8 +17,11 @@
17
17
 
18
18
  <!-- begin main content for step -->
19
19
  <div v-show="step === currentPage" :class="'multistep-page-' + step" v-for="(step, index) in numberOfPages" :key="index">
20
- <CmdSystemMessage v-if="validationStatusForSteps.some(item => item.page === step)" :systemMessage="getSystemMessage(step)" validationStatus="error" />
21
-
20
+ <CmdSystemMessage
21
+ v-if="validationStatusForSteps.some(item => item.page === currentPage)"
22
+ :systemMessage="getSystemMessage(currentPage)"
23
+ validationStatus="error"
24
+ />
22
25
  <!-- begin slot for page content -->
23
26
  <slot
24
27
  :name="'page-' + step"
@@ -33,12 +36,17 @@
33
36
  <!-- end main content for step -->
34
37
 
35
38
  <div v-show="currentPage === numberOfPages" class="multistep-page-last">
39
+ <CmdSystemMessage v-if="pagesWithError.length" validationStatus="error">
40
+ <p>Please fill all required fields on the pages {{ pagesWithError.join(", ") }} correctly!</p>
41
+ </CmdSystemMessage>
42
+
36
43
  <!-- begin slot for last step -->
37
44
  <slot
38
45
  name="page-last"
39
46
  :setErrorOnPage="(message) => setErrorOnPage(step, message)"
40
47
  :removeErrorOnPage="() => removeErrorOnPage(step)"
41
48
  :atleastOneStepWithError="atleastOneStepWithError"
49
+ :formData="formData"
42
50
  />
43
51
  <!-- end slot for last step -->
44
52
  </div>
@@ -76,6 +84,10 @@ export default {
76
84
  }
77
85
  },
78
86
  props: {
87
+ requiredPages: {
88
+ type: Array,
89
+ default: []
90
+ },
79
91
  /**
80
92
  * properties for CmdMultistepFormProgressBar-component
81
93
  */
@@ -164,9 +176,29 @@ export default {
164
176
  }
165
177
  },
166
178
  computed: {
167
- // check if at leat one step has status 'error'
179
+ pagesWithError() {
180
+ if(this.inputMade.length === 0) {
181
+ return this.requiredPages
182
+ }
183
+ let errorPages = new Set(this.requiredPages).difference(new Set(this.inputMade))
184
+
185
+ for(let i = 0; i < this.validationStatusForSteps.length; i++) {
186
+ errorPages.add(this.validationStatusForSteps[i].page)
187
+ }
188
+
189
+ return [...errorPages].toSorted()
190
+ },
191
+ // check if at least one step has status 'error'
168
192
  atleastOneStepWithError() {
169
- return this.validationStatusForSteps.length > 0 || this.inputMade.length === 0
193
+ if(this.validationStatusForSteps.length > 0 || this.inputMade.length === 0) {
194
+ return true
195
+ }
196
+ const requiredPagesSet = new Set(this.requiredPages)
197
+ const inputMadeSet = new Set(this.inputMade)
198
+ console.log("requiredPagesSet", requiredPagesSet)
199
+ console.log("inputMadeSet", inputMadeSet)
200
+ return !requiredPagesSet.isSubsetOf(inputMadeSet) // check if all requiredPages are included in inputMade
201
+
170
202
  },
171
203
  // check if a page ha
172
204
  pageHasError() {