Remove support for Buefy 0.8

only Buefy 0.9 and greater are supported now
This commit is contained in:
Lance Edgar 2023-02-01 18:44:55 -06:00
parent 5f7fa33eb2
commit 8410419717
20 changed files with 1057 additions and 1625 deletions

View file

@ -99,83 +99,59 @@
<b-table
:data="tableColumns">
% if buefy_0_8:
<template slot-scope="props">
% endif
<b-table-column field="name"
label="Name"
% if not buefy_0_8:
v-slot="props"
% endif
>
{{ props.row.name }}
</b-table-column>
<b-table-column field="name"
label="Name"
v-slot="props">
{{ props.row.name }}
</b-table-column>
<b-table-column field="data_type"
label="Data Type"
% if not buefy_0_8:
v-slot="props"
% endif
>
{{ formatDataType(props.row.data_type) }}
</b-table-column>
<b-table-column field="data_type"
label="Data Type"
v-slot="props">
{{ formatDataType(props.row.data_type) }}
</b-table-column>
<b-table-column field="nullable"
label="Nullable"
% if not buefy_0_8:
v-slot="props"
% endif
>
{{ props.row.nullable ? "Yes" : "No" }}
</b-table-column>
<b-table-column field="nullable"
label="Nullable"
v-slot="props">
{{ props.row.nullable ? "Yes" : "No" }}
</b-table-column>
<b-table-column field="versioned"
label="Versioned"
:visible="tableVersioned"
% if not buefy_0_8:
v-slot="props"
% endif
>
{{ props.row.versioned ? "Yes" : "No" }}
</b-table-column>
<b-table-column field="versioned"
label="Versioned"
:visible="tableVersioned"
v-slot="props">
{{ props.row.versioned ? "Yes" : "No" }}
</b-table-column>
<b-table-column field="description"
label="Description"
% if not buefy_0_8:
v-slot="props"
% endif
>
{{ props.row.description }}
</b-table-column>
<b-table-column field="description"
label="Description"
v-slot="props">
{{ props.row.description }}
</b-table-column>
<b-table-column field="actions"
label="Actions"
% if not buefy_0_8:
v-slot="props"
% endif
>
<a v-if="props.row.name != 'uuid'"
href="#"
@click.prevent="tableEditColumn(props.row)">
<i class="fas fa-edit"></i>
Edit
</a>
&nbsp;
<b-table-column field="actions"
label="Actions"
v-slot="props">
<a v-if="props.row.name != 'uuid'"
href="#"
@click.prevent="tableEditColumn(props.row)">
<i class="fas fa-edit"></i>
Edit
</a>
&nbsp;
<a v-if="props.row.name != 'uuid'"
href="#"
class="has-text-danger"
@click.prevent="tableDeleteColumn(props.index)">
<i class="fas fa-trash"></i>
Delete
</a>
&nbsp;
</b-table-column>
<a v-if="props.row.name != 'uuid'"
href="#"
class="has-text-danger"
@click.prevent="tableDeleteColumn(props.index)">
<i class="fas fa-trash"></i>
Delete
</a>
&nbsp;
</b-table-column>
% if buefy_0_8:
</template>
% endif
</b-table>
<b-modal has-modal-card