comand-component-library 4.0.28 → 4.0.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +7 -6
- package/dist/comand-component-library.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/ComponentLibrary.vue +4 -6
- package/src/assets/data/address-data.json +1 -1
- package/src/assets/styles/component-library-global-styles.scss +1 -1
- package/src/components/CmdAddressData.vue +9 -0
- package/src/components/CmdAddressDataItem.vue +2 -1
- package/src/components/CmdSiteHeader.vue +1 -1
- package/src/components/CmdTooltip.vue +4 -4
- package/src/pages/PageWrapper.vue +7 -3
@@ -1895,11 +1895,11 @@ const G = /* @__PURE__ */ M(pl, [["render", wl]]), kl = {
|
|
1895
1895
|
}
|
1896
1896
|
},
|
1897
1897
|
/**
|
1898
|
-
*
|
1898
|
+
* selector of container that scrolls the content of the site
|
1899
1899
|
*/
|
1900
|
-
|
1900
|
+
scrollContainer: {
|
1901
1901
|
type: String,
|
1902
|
-
default: "page-wrapper"
|
1902
|
+
default: ".page-wrapper"
|
1903
1903
|
},
|
1904
1904
|
/**
|
1905
1905
|
* icon 'close'
|
@@ -1927,7 +1927,7 @@ const G = /* @__PURE__ */ M(pl, [["render", wl]]), kl = {
|
|
1927
1927
|
mounted() {
|
1928
1928
|
if (this.relatedId) {
|
1929
1929
|
const e = document.getElementById(this.relatedId);
|
1930
|
-
e && (document.
|
1930
|
+
e && (document.querySelector(this.scrollContainer).addEventListener("scroll", this.hideTooltip), document.addEventListener("keyup", this.hideTooltipOnEsc), this.toggleVisibilityByClick ? e.addEventListener("click", this.toggleTooltipVisibility) : (e.addEventListener("mouseenter", this.showTooltip), e.addEventListener("mouseleave", this.hideTooltip)));
|
1931
1931
|
}
|
1932
1932
|
},
|
1933
1933
|
methods: {
|
@@ -3415,6 +3415,7 @@ const ee = /* @__PURE__ */ M(jl, [["render", hs]]), ps = {
|
|
3415
3415
|
streetNo: this.addressEntry.streetNo,
|
3416
3416
|
zip: this.addressEntry.zip,
|
3417
3417
|
city: this.addressEntry.city,
|
3418
|
+
state: this.addressEntry.state,
|
3418
3419
|
miscInfo: this.addressEntry.miscInfo,
|
3419
3420
|
country: this.addressEntry.country
|
3420
3421
|
} : this.editableAddressEntry = (this.addressEntry.href == null ? this.addressEntry.data : this.addressEntry.href) || "";
|
@@ -3501,7 +3502,7 @@ function Ps(e, n, t, s, o, i) {
|
|
3501
3502
|
key: 1,
|
3502
3503
|
class: C(t.showCityBeforeZip ? "city-zip" : "zip-city")
|
3503
3504
|
}, [
|
3504
|
-
t.addressEntry.zip ? (l(), a("span", ks, g(t.addressEntry.zip)
|
3505
|
+
t.addressEntry.zip ? (l(), a("span", ks, g(t.addressEntry.zip), 1)) : c("", !0),
|
3505
3506
|
t.addressEntry.city ? (l(), a("span", vs, [
|
3506
3507
|
q(g(t.addressEntry.city), 1),
|
3507
3508
|
t.addressEntry.state ? (l(), a(x, { key: 0 }, [
|
@@ -10996,7 +10997,7 @@ const Hy = /* @__PURE__ */ M(Hf, [["render", Nf]]), jf = {
|
|
10996
10997
|
*/
|
10997
10998
|
scrollContainerToResizeHeader: {
|
10998
10999
|
type: String,
|
10999
|
-
default: "
|
11000
|
+
default: ".page-wrapper"
|
11000
11001
|
},
|
11001
11002
|
/**
|
11002
11003
|
* use a grid for positioning of inner-elements (else a flex-container will be used)
|