comand-component-library 4.0.50 → 4.0.52

Sign up to get free protection for your applications and to get access to all the features.
@@ -4975,6 +4975,13 @@ const Xa = {
4975
4975
  type: Object,
4976
4976
  required: !1
4977
4977
  },
4978
+ /**
4979
+ * activate if image should be wrapped by figure-tag
4980
+ */
4981
+ useFigureTag: {
4982
+ type: Boolean,
4983
+ default: !0
4984
+ },
4978
4985
  /**
4979
4986
  * figcaption-object including visibility, position (top/bottom), text
4980
4987
  */
@@ -5237,7 +5244,7 @@ function cr(e, n, t, s, o, i) {
5237
5244
  ];
5238
5245
  }),
5239
5246
  _: 1
5240
- }, 8, ["componentProps", "componentPath", "allowDeleteComponent", "itemProvider"])) : (h = t.figcaption) != null && h.show ? (l(), a("figure", {
5247
+ }, 8, ["componentProps", "componentPath", "allowDeleteComponent", "itemProvider"])) : t.useFigureTag || (h = t.figcaption) != null && h.show ? (l(), a("figure", {
5241
5248
  key: 1,
5242
5249
  class: b(["cmd-image", i.textAlign])
5243
5250
  }, [
@@ -10921,7 +10928,7 @@ const bf = /* @__PURE__ */ L(hf, [["render", yf]]), Cf = {
10921
10928
  * properties for CmdSocialNetworks-component
10922
10929
  */
10923
10930
  cmdSocialNetworks: {
10924
- type: Array,
10931
+ type: Object,
10925
10932
  required: !1
10926
10933
  },
10927
10934
  /**
@@ -10958,15 +10965,12 @@ function kf(e, n, t, s, o, i) {
10958
10965
  return l(), a("footer", {
10959
10966
  class: b(["cmd-page-footer flex-container", { "small-buttons": t.useSmallButtons }])
10960
10967
  }, [
10961
- t.cmdSocialNetworks ? (l(), C(r, {
10962
- key: 0,
10963
- networks: t.cmdSocialNetworks
10964
- }, {
10968
+ t.cmdSocialNetworks ? (l(), C(r, j(M({ key: 0 }, t.cmdSocialNetworks)), {
10965
10969
  default: V(() => [
10966
10970
  A(e.$slots, "cmd-social-networks")
10967
10971
  ]),
10968
10972
  _: 3
10969
- }, 8, ["networks"])) : c("", !0),
10973
+ }, 16)) : c("", !0),
10970
10974
  f("div", _f, [
10971
10975
  A(e.$slots, "default"),
10972
10976
  t.buttonPrintView.show ? (l(), a("button", {
@@ -11596,7 +11600,7 @@ const Ny = /* @__PURE__ */ L(Uf, [["render", Wf]]), Gf = {
11596
11600
  }
11597
11601
  },
11598
11602
  buttonSearchDisabled() {
11599
- const e = !this.cmdFormElementInput1.required || this.searchValue1.trim(), n = !this.cmdFormElementInput2.show || !this.cmdFormElementInput2.required || this.searchValue2.trim(), t = !this.cmdFormElementRadius.show || !this.cmdFormElementRadius.required || this.radius;
11603
+ const e = !this.cmdFormElementInput1.required || this.searchValue1.trim(), n = !this.cmdFormElementInput2.show || !this.cmdFormElementInput2.required || this.searchValue2.trim(), t = !this.cmdFormElementRadiusOptions.show || !this.cmdFormElementRadiusOptions.required || this.radius;
11600
11604
  return !(e && n && t);
11601
11605
  }
11602
11606
  },
@@ -11620,7 +11624,7 @@ const Ny = /* @__PURE__ */ L(Uf, [["render", Wf]]), Gf = {
11620
11624
  cmdFormElementRadius: {
11621
11625
  handler() {
11622
11626
  var e, n;
11623
- (e = this.cmdFormElementRadius) != null && e.selectOptions && ((n = this.cmdFormElementRadius) != null && n.selectOptions.length) && this.modelValueRadius == null && (this.radius = this.cmdFormElementRadius.selectOptions[0].value);
11627
+ (e = this.cmdFormElementRadiusOptions) != null && e.selectOptions && ((n = this.cmdFormElementRadiusOptions) != null && n.selectOptions.length) && this.modelValueRadius == null && (this.radius = this.cmdFormElementRadiusOptions.selectOptions[0].value);
11624
11628
  },
11625
11629
  immediate: !0,
11626
11630
  deep: !0