|
|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="event"> |
|
|
<div class="event"> |
|
|
<div v-if="operation.isComplex && operation.fixedEntity !== ''" class="isComplex"> |
|
|
<div v-if="operation.isComplex && operation.fixedEntity !== ''" class="isComplex"> |
|
|
<img class="option__icon" :src="entity.icon"> |
|
|
|
|
|
|
|
|
<img class="option__icon" :src="entity.icon" alt=""> |
|
|
<span class="option__title option__title_single">{{ operation.triggerHint }}</span> |
|
|
<span class="option__title option__title_single">{{ operation.triggerHint }}</span> |
|
|
</div> |
|
|
</div> |
|
|
<Multiselect v-else |
|
|
<Multiselect v-else |
|
|
@ -14,12 +14,12 @@ |
|
|
@input="updateEvent"> |
|
|
@input="updateEvent"> |
|
|
<template slot="selection" slot-scope="{ values, isOpen }"> |
|
|
<template slot="selection" slot-scope="{ values, isOpen }"> |
|
|
<div v-if="values.length && !isOpen" class="eventlist"> |
|
|
<div v-if="values.length && !isOpen" class="eventlist"> |
|
|
<img class="option__icon" :src="values[0].entity.icon"> |
|
|
|
|
|
|
|
|
<img class="option__icon" :src="values[0].entity.icon" alt=""> |
|
|
<span v-for="(value, index) in values" :key="value.id" class="text option__title option__title_single">{{ value.displayName }} <span v-if="index+1 < values.length">, </span></span> |
|
|
<span v-for="(value, index) in values" :key="value.id" class="text option__title option__title_single">{{ value.displayName }} <span v-if="index+1 < values.length">, </span></span> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
<template slot="option" slot-scope="props"> |
|
|
<template slot="option" slot-scope="props"> |
|
|
<img class="option__icon" :src="props.option.entity.icon"> |
|
|
|
|
|
|
|
|
<img class="option__icon" :src="props.option.entity.icon" alt=""> |
|
|
<span class="option__title">{{ props.option.displayName }}</span> |
|
|
<span class="option__title">{{ props.option.displayName }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</Multiselect> |
|
|
</Multiselect> |
|
|
@ -131,6 +131,7 @@ export default { |
|
|
.option__icon { |
|
|
.option__icon { |
|
|
width: 16px; |
|
|
width: 16px; |
|
|
height: 16px; |
|
|
height: 16px; |
|
|
|
|
|
filter: var(--background-invert-if-dark); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.eventlist img, |
|
|
.eventlist img, |
|
|
|