chore: 🎨 format
This commit is contained in:
parent
d9113cc62c
commit
648cc87823
@ -28,15 +28,8 @@
|
||||
i18n.ts.close
|
||||
}}</MkButton>
|
||||
</header>
|
||||
<VueDraggable
|
||||
v-model="widgets_"
|
||||
handle=".handle"
|
||||
animation="150"
|
||||
>
|
||||
<div
|
||||
v-for="element in widgets_"
|
||||
:key="element.id"
|
||||
>
|
||||
<VueDraggable v-model="widgets_" handle=".handle" animation="150">
|
||||
<div v-for="element in widgets_" :key="element.id">
|
||||
<div class="customize-container">
|
||||
<button
|
||||
class="config _button"
|
||||
|
@ -7,15 +7,15 @@
|
||||
animation="150"
|
||||
swap-threshold="0.5"
|
||||
>
|
||||
<component
|
||||
v-for="element in blocks"
|
||||
:key="element"
|
||||
:is="'x-' + element.type"
|
||||
:value="element"
|
||||
:hpml="hpml"
|
||||
@update:value="updateItem"
|
||||
@remove="() => removeItem(element)"
|
||||
/>
|
||||
<component
|
||||
v-for="element in blocks"
|
||||
:key="element"
|
||||
:is="'x-' + element.type"
|
||||
:value="element"
|
||||
:hpml="hpml"
|
||||
@update:value="updateItem"
|
||||
@remove="() => removeItem(element)"
|
||||
/>
|
||||
</VueDraggable>
|
||||
</template>
|
||||
|
||||
|
@ -128,17 +128,17 @@
|
||||
animation="150"
|
||||
swap-threshold="0.5"
|
||||
>
|
||||
<XVariable
|
||||
v-for="element in variables"
|
||||
:key="element.name"
|
||||
:model-value="element"
|
||||
:removable="true"
|
||||
:hpml="hpml"
|
||||
:name="element.name"
|
||||
:title="element.name"
|
||||
:draggable="true"
|
||||
@remove="() => removeVariable(element)"
|
||||
/>
|
||||
<XVariable
|
||||
v-for="element in variables"
|
||||
:key="element.name"
|
||||
:model-value="element"
|
||||
:removable="true"
|
||||
:hpml="hpml"
|
||||
:name="element.name"
|
||||
:title="element.name"
|
||||
:draggable="true"
|
||||
@remove="() => removeVariable(element)"
|
||||
/>
|
||||
</VueDraggable>
|
||||
|
||||
<MkButton
|
||||
|
@ -18,18 +18,18 @@
|
||||
@end="save"
|
||||
delay-on-touch-only="true"
|
||||
>
|
||||
<div
|
||||
v-for="item in reactions"
|
||||
:key="item"
|
||||
class="_button item"
|
||||
@click="remove(item, $event)"
|
||||
>
|
||||
<MkEmoji
|
||||
:emoji="item"
|
||||
style="height: 1.7em"
|
||||
class="emoji"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
v-for="item in reactions"
|
||||
:key="item"
|
||||
class="_button item"
|
||||
@click="remove(item, $event)"
|
||||
>
|
||||
<MkEmoji
|
||||
:emoji="item"
|
||||
style="height: 1.7em"
|
||||
class="emoji"
|
||||
/>
|
||||
</div>
|
||||
<template #footer>
|
||||
<button class="_button add" @click="chooseEmoji">
|
||||
<i class="ph-plus ph-bold ph-lg"></i>
|
||||
|
Loading…
Reference in New Issue
Block a user