comand-component-library 3.3.54 → 3.3.56
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.
- package/dist/comand-component-library.js +12 -2
- package/dist/comand-component-library.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +5 -5
- package/src/assets/data/{share-buttons-page-by-json.json → social-networks-page-by-json.json} +4 -4
- package/src/assets/data/{share-buttons-page-by-property.json → social-networks-page-by-property.json} +4 -4
- package/src/components/CmdListOfLinks.vue +17 -2
- package/src/components/CmdSocialNetworks.vue +15 -40
- package/src/components/CmdSystemMessage.vue +26 -14
|
@@ -2376,6 +2376,7 @@ function Wl(e, i, t, a, n, s) {
|
|
|
2376
2376
|
const Ah = /* @__PURE__ */ N(Dl, [["render", Wl]]);
|
|
2377
2377
|
const Jl = {
|
|
2378
2378
|
name: "CmdListOfLinks",
|
|
2379
|
+
emits: ["click"],
|
|
2379
2380
|
props: {
|
|
2380
2381
|
sectionAnchors: {
|
|
2381
2382
|
type: Boolean,
|
|
@@ -2414,12 +2415,21 @@ const Jl = {
|
|
|
2414
2415
|
default: !1
|
|
2415
2416
|
}
|
|
2416
2417
|
},
|
|
2418
|
+
computed: {
|
|
2419
|
+
setStretchClass() {
|
|
2420
|
+
return this.largeIcons && this.orientation === "horizontal" ? "stretch" : null;
|
|
2421
|
+
}
|
|
2422
|
+
},
|
|
2417
2423
|
methods: {
|
|
2418
2424
|
getRoute(e) {
|
|
2419
2425
|
return me(e);
|
|
2420
2426
|
},
|
|
2421
2427
|
executeLink(e, i) {
|
|
2422
|
-
e.fancybox
|
|
2428
|
+
if (e.fancybox) {
|
|
2429
|
+
i.preventDefault(), Mt({ url: e.path, showSubmitButtons: e.showSubmitButtons });
|
|
2430
|
+
return;
|
|
2431
|
+
}
|
|
2432
|
+
this.$emit("click", { link: e, originalEvent: i });
|
|
2423
2433
|
}
|
|
2424
2434
|
}
|
|
2425
2435
|
}, Yl = ["href", "target", "onClick", "title"], Kl = { key: 1 }, Xl = { key: 1 };
|
|
@@ -2430,7 +2440,7 @@ function $l(e, i, t, a, n, s) {
|
|
|
2430
2440
|
}, [
|
|
2431
2441
|
t.cmdHeadline ? (l(), C(u, K(q({ key: 0 }, t.cmdHeadline)), null, 16)) : m("", !0),
|
|
2432
2442
|
h("ul", {
|
|
2433
|
-
class: _(["flex-container", { "no-gap": !t.useGap }, "align-" + t.align])
|
|
2443
|
+
class: _(["flex-container", { "no-gap": !t.useGap }, "align-" + t.align, s.setStretchClass])
|
|
2434
2444
|
}, [
|
|
2435
2445
|
(l(!0), o(k, null, F(t.links, (c, f) => (l(), o("li", {
|
|
2436
2446
|
key: f,
|