comand-component-library 4.0.60 → 4.0.62
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.
@@ -7345,6 +7345,8 @@ const cc = /* @__PURE__ */ L(sc, [["render", dc]]), uc = {
|
|
7345
7345
|
/**
|
7346
7346
|
* define content-orientation
|
7347
7347
|
*
|
7348
|
+
* containerType-property must be set to "flex"
|
7349
|
+
*
|
7348
7350
|
* @allowedValues: "vertical", "horizontal"
|
7349
7351
|
*/
|
7350
7352
|
contentOrientation: {
|
@@ -7375,30 +7377,21 @@ const cc = /* @__PURE__ */ L(sc, [["render", dc]]), uc = {
|
|
7375
7377
|
},
|
7376
7378
|
computed: {
|
7377
7379
|
containerClass() {
|
7380
|
+
},
|
7381
|
+
setInnerClass() {
|
7378
7382
|
let e = null;
|
7379
7383
|
switch (this.containerType) {
|
7380
7384
|
case "grid":
|
7381
7385
|
e = "grid-container-create-columns";
|
7382
7386
|
break;
|
7383
7387
|
case "flex":
|
7384
|
-
e = "flex-container vertical";
|
7388
|
+
this.contentOrientation === "horizontal" ? e = "flex-container" : this.contentOrientation === "vertical" && (e = "flex-container vertical");
|
7385
7389
|
break;
|
7386
7390
|
default:
|
7387
7391
|
e = null;
|
7388
7392
|
break;
|
7389
7393
|
}
|
7390
7394
|
return e;
|
7391
|
-
},
|
7392
|
-
setInnerClass() {
|
7393
|
-
if (this.containerType === "grid")
|
7394
|
-
return "grid-container-create-columns";
|
7395
|
-
if (this.containerType === "flex") {
|
7396
|
-
if (this.contentOrientation === "horizontal")
|
7397
|
-
return "flex-container";
|
7398
|
-
if (this.contentOrientation === "vertical")
|
7399
|
-
return "flex-container vertical";
|
7400
|
-
}
|
7401
|
-
return "";
|
7402
7395
|
}
|
7403
7396
|
}
|
7404
7397
|
}, mc = { class: "cmd-container" }, fc = ["innerHTML"], hc = ["innerHTML"];
|