Button updates

This commit is contained in:
Tuğçe Küçükoğlu 2023-03-03 15:15:20 +03:00
parent daa4e9fd77
commit 98f222cb90
47 changed files with 418 additions and 410 deletions

View file

@ -13,8 +13,8 @@
<DataTable v-model:expandedRows="expandedRows" :value="products" dataKey="id" @rowExpand="onRowExpand" @rowCollapse="onRowCollapse" tableStyle="min-width: 60rem">
<template #header>
<div class="flex flex-wrap justify-content-end gap-2">
<Button class="p-button-text" icon="pi pi-plus" label="Expand All" @click="expandAll" />
<Button class="p-button-text" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
<Button text icon="pi pi-plus" label="Expand All" @click="expandAll" />
<Button text icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
</div>
</template>
<Column expander style="width: 5rem" />
@ -84,8 +84,8 @@ export default {
@rowExpand="onRowExpand" @rowCollapse="onRowCollapse" tableStyle="min-width: 60rem">
<template #header>
<div class="flex flex-wrap justify-content-end gap-2">
<Button class="p-button-text" icon="pi pi-plus" label="Expand All" @click="expandAll" />
<Button class="p-button-text" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
<Button text icon="pi pi-plus" label="Expand All" @click="expandAll" />
<Button text icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
</div>
</template>
<Column expander style="width: 5rem" />
@ -144,8 +144,8 @@ export default {
@rowExpand="onRowExpand" @rowCollapse="onRowCollapse" tableStyle="min-width: 60rem">
<template #header>
<div class="flex flex-wrap justify-content-end gap-2">
<Button class="p-button-text" icon="pi pi-plus" label="Expand All" @click="expandAll" />
<Button class="p-button-text" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
<Button text icon="pi pi-plus" label="Expand All" @click="expandAll" />
<Button text icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
</div>
</template>
<Column expander style="width: 5rem" />
@ -273,8 +273,8 @@ export default {
@rowExpand="onRowExpand" @rowCollapse="onRowCollapse" tableStyle="min-width: 60rem">
<template #header>
<div class="flex flex-wrap justify-content-end gap-2">
<Button class="p-button-text" icon="pi pi-plus" label="Expand All" @click="expandAll" />
<Button class="p-button-text" icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
<Button text icon="pi pi-plus" label="Expand All" @click="expandAll" />
<Button text icon="pi pi-minus" label="Collapse All" @click="collapseAll" />
</div>
</template>
<Column expander style="width: 5rem" />