comand-component-library 4.0.27 → 4.0.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.
- package/README.md +7 -2
- package/dist/comand-component-library.js +9 -8
- package/dist/comand-component-library.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -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/CmdBox.vue +10 -0
- package/src/components/CmdFancyBox.vue +1 -1
- package/src/components/CmdOpeningHours.vue +1 -0
- package/src/components/CmdSiteHeader.vue +1 -1
- package/src/components/CmdTooltip.vue +4 -4
- package/src/main.js +3 -3
- package/src/pages/PageWrapper.vue +7 -3
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# CoManD Component-Library
|
2
2
|
|
3
3
|
## Project description
|
4
4
|
```
|
@@ -15,7 +15,7 @@ npm install
|
|
15
15
|
|
16
16
|
### Compiles and hot-reloads for development
|
17
17
|
```
|
18
|
-
npm run
|
18
|
+
npm run dev
|
19
19
|
```
|
20
20
|
|
21
21
|
### Compiles and minifies for production
|
@@ -28,5 +28,10 @@ npm run build
|
|
28
28
|
npm run lint
|
29
29
|
```
|
30
30
|
|
31
|
+
### Required dependencies
|
32
|
+
```
|
33
|
+
comand-frontend-framework
|
34
|
+
comand-ui-iconfonts
|
35
|
+
|
31
36
|
### Customize configuration
|
32
37
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|
@@ -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 }, [
|
@@ -6458,7 +6459,7 @@ const fi = /* @__PURE__ */ M(Ur, [["render", Kr]]), Zr = {
|
|
6458
6459
|
}
|
6459
6460
|
}, In = () => {
|
6460
6461
|
Kn((e) => ({
|
6461
|
-
|
6462
|
+
"581acfb2": e.cutoffTextLines
|
6462
6463
|
}));
|
6463
6464
|
}, On = Zt.setup;
|
6464
6465
|
Zt.setup = On ? (e, n) => (In(), On(e, n)) : In;
|
@@ -6529,7 +6530,7 @@ function Id(e, n, t, s, o, i) {
|
|
6529
6530
|
}, [
|
6530
6531
|
(T = t.useSlots) != null && T.includes("body") ? (l(), a("div", {
|
6531
6532
|
key: 0,
|
6532
|
-
class: C({ "default-padding": t.useDefaultPadding, "allow-scroll": t.allowContentToScroll }),
|
6533
|
+
class: C(["inner-box-body-wrapper", { "default-padding": t.useDefaultPadding, "allow-scroll": t.allowContentToScroll }]),
|
6533
6534
|
ref: "boxBody",
|
6534
6535
|
style: et(t.allowContentToScroll ? "max-height: " + o.calculatedBodyHeight : null)
|
6535
6536
|
}, [
|
@@ -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)
|