comand-component-library 4.0.53 → 4.0.54
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +17 -14
- package/dist/comand-component-library.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/styles/component-library-global-styles.scss +0 -1
- package/src/components/CmdBox.vue +2 -1
- package/src/components/CmdContainer.vue +4 -0
- package/src/components/CmdWidthLimitationWrapper.vue +9 -9
- package/src/main.js +5 -7
@@ -6428,7 +6428,7 @@ const pi = /* @__PURE__ */ L(Xr, [["render", nd]]), id = {
|
|
6428
6428
|
*/
|
6429
6429
|
fadeLastLine: {
|
6430
6430
|
type: Boolean,
|
6431
|
-
default: !
|
6431
|
+
default: !1
|
6432
6432
|
},
|
6433
6433
|
/**
|
6434
6434
|
* use transition to expand and collapse box-body
|
@@ -6637,7 +6637,7 @@ const pi = /* @__PURE__ */ L(Xr, [["render", nd]]), id = {
|
|
6637
6637
|
}
|
6638
6638
|
}, Mn = () => {
|
6639
6639
|
Yn((e) => ({
|
6640
|
-
"
|
6640
|
+
"1835879c": e.cutoffTextLines
|
6641
6641
|
}));
|
6642
6642
|
}, Ln = Zt.setup;
|
6643
6643
|
Zt.setup = Ln ? (e, n) => (Mn(), Ln(e, n)) : Mn;
|
@@ -6745,16 +6745,17 @@ function Hd(e, n, t, s, o, i) {
|
|
6745
6745
|
])) : c("", !0),
|
6746
6746
|
v(Ht, { name: i.toggleTransition }, {
|
6747
6747
|
default: V(() => [
|
6748
|
-
|
6748
|
+
t.textBody ? (l(), a("p", {
|
6749
|
+
key: 0,
|
6749
6750
|
class: b({
|
6750
6751
|
"cutoff-text": t.cutoffTextLines > 0,
|
6751
6752
|
"fade-last-line": t.fadeLastLine && !o.showCutOffText,
|
6752
6753
|
"show-text": o.showCutOffText
|
6753
6754
|
}),
|
6754
6755
|
innerHTML: t.textBody
|
6755
|
-
}, null, 10, rd),
|
6756
|
+
}, null, 10, rd)) : c("", !0),
|
6756
6757
|
t.cutoffTextLines > 0 ? (l(), a("a", {
|
6757
|
-
key:
|
6758
|
+
key: 1,
|
6758
6759
|
href: "#",
|
6759
6760
|
onClick: n[1] || (n[1] = O((...F) => i.toggleCutOffText && i.toggleCutOffText(...F), ["prevent"]))
|
6760
6761
|
}, g(o.showCutOffText ? e.getMessage("cmdbox.contentbox.collapse_text") : e.getMessage("cmdbox.contentbox.expand_text")), 1)) : c("", !0)
|
@@ -7378,6 +7379,8 @@ const rc = /* @__PURE__ */ L(oc, [["render", ac]]), dc = {
|
|
7378
7379
|
return "";
|
7379
7380
|
},
|
7380
7381
|
oneSlotItem() {
|
7382
|
+
if (!this.$slots.default)
|
7383
|
+
return !1;
|
7381
7384
|
const e = this.$slots.default();
|
7382
7385
|
return e.length === 1 && typeof e[0].type == "symbol" && Array.isArray(e[0].children) ? e[0].children.length === 1 : e.length === 1;
|
7383
7386
|
}
|
@@ -15546,6 +15549,15 @@ const Zy = /* @__PURE__ */ L(Mg, [["render", sy]]), ay = {
|
|
15546
15549
|
type: Boolean,
|
15547
15550
|
default: !0
|
15548
15551
|
},
|
15552
|
+
/**
|
15553
|
+
* set class to inner component
|
15554
|
+
*
|
15555
|
+
* useInnerSection-property must be true
|
15556
|
+
*/
|
15557
|
+
sectionClass: {
|
15558
|
+
type: String,
|
15559
|
+
required: !1
|
15560
|
+
},
|
15549
15561
|
/**
|
15550
15562
|
* activate if wrapper (and its content) should be sticky (=position remains the same if content below is scrolled)
|
15551
15563
|
*
|
@@ -15557,15 +15569,6 @@ const Zy = /* @__PURE__ */ L(Mg, [["render", sy]]), ay = {
|
|
15557
15569
|
type: Boolean,
|
15558
15570
|
default: !1
|
15559
15571
|
},
|
15560
|
-
/**
|
15561
|
-
* set class to inner component
|
15562
|
-
*
|
15563
|
-
* innerWrapper-property must be true
|
15564
|
-
*/
|
15565
|
-
sectionClass: {
|
15566
|
-
type: String,
|
15567
|
-
required: !1
|
15568
|
-
},
|
15569
15572
|
/**
|
15570
15573
|
* set id for (invisible) anchor to enable shortcuts
|
15571
15574
|
*/
|