comand-component-library 4.0.66 → 4.0.67
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
"tooltip": "Tooltip"
|
15
15
|
},
|
16
16
|
"type": "href",
|
17
|
-
"text": "
|
17
|
+
"text": "Fancybox content",
|
18
18
|
"path": "/content/fancybox-content.html",
|
19
19
|
"fancybox": true,
|
20
20
|
"children": [
|
@@ -45,7 +45,7 @@
|
|
45
45
|
},
|
46
46
|
"type": "href",
|
47
47
|
"text": "External link",
|
48
|
-
"path": "
|
48
|
+
"path": "https://www.comand-cms.com",
|
49
49
|
"target": "_blank",
|
50
50
|
"tooltip": "Open CoManD-Website in new tab"
|
51
51
|
}
|
@@ -4,7 +4,6 @@
|
|
4
4
|
<!-- begin CmdLink -->
|
5
5
|
<CmdLink
|
6
6
|
v-bind="link"
|
7
|
-
@click="executeLink()"
|
8
7
|
/>
|
9
8
|
<!-- end CmdLink -->
|
10
9
|
|
@@ -69,14 +68,6 @@ export default {
|
|
69
68
|
props.text = text
|
70
69
|
}
|
71
70
|
})
|
72
|
-
},
|
73
|
-
executeLink(event) {
|
74
|
-
if (this.link?.fancybox) {
|
75
|
-
event.preventDefault()
|
76
|
-
openFancyBox({url: this.link?.path, showSubmitButtons: this.link?.showSubmitButtons})
|
77
|
-
return
|
78
|
-
}
|
79
|
-
this.$emit("click", event)
|
80
71
|
}
|
81
72
|
}
|
82
73
|
}
|