comand-component-library 3.3.28 → 3.3.29
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.
|
@@ -1859,6 +1859,10 @@ const wl = {
|
|
|
1859
1859
|
type: Boolean,
|
|
1860
1860
|
default: !1
|
|
1861
1861
|
},
|
|
1862
|
+
largeIcons: {
|
|
1863
|
+
type: Boolean,
|
|
1864
|
+
default: !1
|
|
1865
|
+
},
|
|
1862
1866
|
contentType: {
|
|
1863
1867
|
type: String,
|
|
1864
1868
|
default: "image"
|
|
@@ -1928,7 +1932,7 @@ const wl = {
|
|
|
1928
1932
|
this.allowOpenFancyBox && Mt({ fancyBoxGallery: this.items, defaultGalleryIndex: e }), this.emitCurrentItemId(e);
|
|
1929
1933
|
},
|
|
1930
1934
|
emitCurrentItemId(e) {
|
|
1931
|
-
|
|
1935
|
+
this.$emit("click", this.items[e].id);
|
|
1932
1936
|
},
|
|
1933
1937
|
executeLink(e, i) {
|
|
1934
1938
|
this.executeOnClick === "emit" ? (i.preventDefault(), this.emitCurrentItemId(e)) : this.executeOnClick === "fancybox" && (i.preventDefault(), this.showFancyBox(e));
|
|
@@ -1949,7 +1953,7 @@ const wl = {
|
|
|
1949
1953
|
function xl(e, i, t, a, n, s) {
|
|
1950
1954
|
const u = St, d = Ie, r = E;
|
|
1951
1955
|
return l(), o("div", {
|
|
1952
|
-
class: _(["cmd-thumbnail-scroller", { "gallery-scroller": !t.allowOpenFancyBox, "full-width": t.fullWidth }])
|
|
1956
|
+
class: _(["cmd-thumbnail-scroller", { "gallery-scroller": !t.allowOpenFancyBox, "full-width": t.fullWidth, "large-icons": t.largeIcons }])
|
|
1953
1957
|
}, [
|
|
1954
1958
|
x(u, {
|
|
1955
1959
|
onClick: O(s.showPrevItem, ["prevent"]),
|