comand-component-library 4.0.67 → 4.0.69

Sign up to get free protection for your applications and to get access to all the features.
@@ -7376,14 +7376,12 @@ const uc = /* @__PURE__ */ L(ac, [["render", cc]]), mc = {
7376
7376
  if (typeof this.$slots.default != "function")
7377
7377
  return !1;
7378
7378
  const e = this.$slots.default();
7379
- return e.length === 1 && typeof e[0].type == "symbol" && Array.isArray(e[0].children) ? e[0].children.length === 1 : e.length === 1;
7379
+ return e.length === 1 && typeof e[0].type == "symbol" && Array.isArray(e[0].children) ? e[0].children.length === 1 : e.length === 1 && typeof e[0].type == "object" && e[0].type.name === "RenderComponents" && typeof e[0].props == "object" && Array.isArray(e[0].props.components) ? e[0].props.components.length === 1 : e.length === 1;
7380
7380
  }
7381
7381
  },
7382
7382
  computed: {
7383
- containerClass() {
7384
- },
7385
7383
  setInnerClass() {
7386
- let e = this.innerClass;
7384
+ let e = this.innerClass || "";
7387
7385
  switch (this.containerType) {
7388
7386
  case "grid":
7389
7387
  e += " grid-container-create-columns";
@@ -12637,7 +12635,7 @@ const Zy = /* @__PURE__ */ L(Nh, [["render", Jh]]), Kh = {
12637
12635
  */
12638
12636
  paragraphTextAlign: {
12639
12637
  type: String,
12640
- required: !1,
12638
+ default: "left",
12641
12639
  validator(e) {
12642
12640
  return e === "left" || e === "center" || e === "right";
12643
12641
  }
@@ -12681,6 +12679,9 @@ const Zy = /* @__PURE__ */ L(Nh, [["render", Jh]]), Kh = {
12681
12679
  },
12682
12680
  textAlign() {
12683
12681
  return this.paragraphTextAlign ? "text-align-" + this.paragraphTextAlign : "";
12682
+ },
12683
+ setInnerClass() {
12684
+ return "inner-content-wrapper " + this.textAlign + " " + (this.innerClass || "");
12684
12685
  }
12685
12686
  },
12686
12687
  methods: {
@@ -12729,7 +12730,7 @@ function tp(e, n, t, s, o, i) {
12729
12730
  t.htmlContent ? (l(), a("div", {
12730
12731
  key: 1,
12731
12732
  innerHTML: t.htmlContent,
12732
- class: b(i.textAlign)
12733
+ class: b(i.setInnerClass)
12733
12734
  }, null, 10, Yh)) : c("", !0)
12734
12735
  ]),
12735
12736
  e.editModeContext ? (l(), C(u, {