comand-component-library 3.3.25 → 3.3.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +215 -198
- package/dist/comand-component-library.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +38 -31
- package/src/assets/styles/logos-iconfont.css +3 -3
- package/src/components/CmdBox.vue +43 -19
- package/src/components/CmdBoxWrapper.vue +6 -2
- package/src/components/CmdListOfLinks.vue +29 -1
- package/src/components/CmdMainNavigation.vue +1 -1
- package/src/components/CmdMultistepFormProgressBar.vue +1 -1
- package/src/components/CmdThumbnailScroller.vue +3 -1
- package/src/components/CmdTooltip.vue +2 -2
- package/src/components/CmdWidthLimitationWrapper.vue +0 -1
- /package/src/assets/fonts/iconfonts/logos-iconfont/{icomoon.woff → icomoon-logos.woff} +0 -0
@@ -180,6 +180,8 @@ export default {
|
|
180
180
|
this.emitCurrentItemId(index)
|
181
181
|
},
|
182
182
|
emitCurrentItemId(index) {
|
183
|
+
console.log("index", index)
|
184
|
+
console.log("this.items[index]", this.items[index])
|
183
185
|
// emit id of current/clicked item
|
184
186
|
this.$emit("click", this.items[index].id)
|
185
187
|
},
|
@@ -205,7 +207,7 @@ export default {
|
|
205
207
|
newItem = {image: {...item.image}, figcaption: {...item.figcaption}}
|
206
208
|
newItem.image.src = newItem.image.srcImageSmall
|
207
209
|
} else {
|
208
|
-
newItem = {
|
210
|
+
newItem = {...item}
|
209
211
|
}
|
210
212
|
return newItem
|
211
213
|
})
|
@@ -157,8 +157,8 @@ export default {
|
|
157
157
|
this.$nextTick( () => {
|
158
158
|
const verticalOffset = 25
|
159
159
|
// this.$refs.tooltip.addEventListener("keyup", this.hideTooltip)
|
160
|
-
this.$refs.tooltip.style.left = this.pointerX /
|
161
|
-
this.$refs.tooltip.style.top = (this.pointerY + verticalOffset) /
|
160
|
+
this.$refs.tooltip.style.left = (this.pointerX / 10) + "rem"
|
161
|
+
this.$refs.tooltip.style.top = ((this.pointerY + verticalOffset) / 10) + "rem"
|
162
162
|
})
|
163
163
|
}
|
164
164
|
}
|
File without changes
|