comand-component-library 3.3.16 → 3.3.18
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/package.json
CHANGED
@@ -1,15 +1,18 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="cmd-company-logo">
|
3
|
-
<router-link v-if="link
|
3
|
+
<router-link v-if="link?.type === 'router'" :to="link?.path" :title="link?.tooltip">
|
4
4
|
<!-- begin CmdImage -->
|
5
5
|
<CmdImage :image="image" />
|
6
6
|
<!-- end CmdImage -->
|
7
7
|
</router-link>
|
8
|
-
<a v-else :href="link
|
8
|
+
<a v-else-if="link?.type === 'href'" :href="link?.path" :title="link?.tooltip">
|
9
9
|
<!-- begin CmdImage -->
|
10
10
|
<CmdImage :image="image" />
|
11
11
|
<!-- end CmdImage -->
|
12
12
|
</a>
|
13
|
+
<!-- begin CmdImage -->
|
14
|
+
<CmdImage v-else :image="image" />
|
15
|
+
<!-- end CmdImage -->
|
13
16
|
</div>
|
14
17
|
</template>
|
15
18
|
|
@@ -58,17 +58,17 @@
|
|
58
58
|
</span>
|
59
59
|
<!-- end label-text (+ required asterisk) -->
|
60
60
|
|
61
|
-
<span class="flex-container"><!-- container required to place inner icons correctly -->
|
61
|
+
<span v-if="$attrs.type !== 'checkbox' && $attrs.type !== 'radio'" class="flex-container"><!-- container required to place inner icons correctly -->
|
62
62
|
<!-- begin CmdIcon (for icon inside field) -->
|
63
63
|
<CmdIcon
|
64
|
-
v-if="
|
64
|
+
v-if="fieldIconClass"
|
65
65
|
class="place-inside"
|
66
66
|
:iconClass="fieldIconClass"
|
67
67
|
/>
|
68
68
|
<!-- end CmdIcon (for icon inside field) -->
|
69
69
|
|
70
70
|
<!-- begin inputfield -->
|
71
|
-
<template v-if="element === 'input' && $attrs.type !== '
|
71
|
+
<template v-if="element === 'input' && $attrs.type !== 'search'">
|
72
72
|
<input
|
73
73
|
v-bind="elementAttributes"
|
74
74
|
:id="htmlId"
|