@eturnity/eturnity_reusable_components 7.12.6-EPDM-7951.5 → 7.12.6-EPDM-7951.7
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
@@ -117,7 +117,14 @@ const loadSvg = async (fileName = props.name) => {
|
|
117
117
|
}
|
118
118
|
}
|
119
119
|
|
120
|
-
onMounted(() =>
|
120
|
+
onMounted(async () => {
|
121
|
+
const iconPath = `../../assets/svgIcons/${props.name.toLowerCase()}.svg?raw`
|
122
|
+
const module = await import(/* @vite-ignore */ iconPath)
|
123
|
+
console.log(module.default)
|
124
|
+
icon.html = module.default
|
125
|
+
})
|
126
|
+
|
127
|
+
// onMounted(() => loadSvg())
|
121
128
|
|
122
129
|
watch(() => props.name, loadSvg)
|
123
130
|
</script>
|
@@ -721,9 +721,9 @@ export default {
|
|
721
721
|
},
|
722
722
|
isSelectDropdownShown() {
|
723
723
|
return (
|
724
|
-
this.isSearchable &&
|
725
724
|
this.isDropdownOpen &&
|
726
|
-
this.dropdownPosition.left !== null
|
725
|
+
this.dropdownPosition.left !== null &&
|
726
|
+
(!this.isSearchable || this.isSearchable)
|
727
727
|
)
|
728
728
|
}
|
729
729
|
},
|