export const basic = { ts: ` `, js: ` ` } export const cellSlot = { ts: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} `, js: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} ` } export const dense = { ts: ` `, js: ` ` } export const expandableRows = { ts: ` City: {{ slotProps.item.city }} Experience: {{ slotProps.item.experience }} Post: {{ slotProps.item.post }} {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} `, js: ` City: {{ slotProps.item.city }} Experience: {{ slotProps.item.experience }} Post: {{ slotProps.item.post }} {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} ` } export const externalPagination = { ts: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} `, js: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} ` } export const fixedHeader = { ts: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} `, js: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} ` } export const groupingRows = { ts: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ item.status }} {{ item.value }} ({{ count }}) `, js: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ item.status }} {{ item.value }} ({{ count }}) ` } export const kitchenSink = { ts: ` {{ item.product.name }} {{ item.product.brand }} {{ category.icon }} {{ item.product.category }} {{ item.buyer.name.slice(0, 2).toUpperCase() }} {{ item.buyer.name }} \${{ item.payment.paidAmount }} /{{ item.payment.total }} {{ item.payment.receivedPaymentStatus }} {{ item.payment.status }} `, js: ` {{ item.product.name }} {{ item.product.brand }} {{ category.icon }} {{ item.product.category }} {{ item.buyer.name.slice(0, 2).toUpperCase() }} {{ item.buyer.name }} \${{ item.payment.paidAmount }} /{{ item.payment.total }} {{ item.payment.receivedPaymentStatus }} {{ item.payment.status }} ` } export const rowEditingViaDialog = { ts: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} Name: {{ editedItem?.fullName }} Cancel Save Cancel OK `, js: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} Name: {{ editedItem?.fullName }} Cancel Save Cancel OK ` } export const rowSelection = { ts: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} `, js: ` {{ avatarText(item.fullName) }} {{ item.fullName }} {{ item.post }} {{ resolveStatusVariant(item.status).text }} ` }
City: {{ slotProps.item.city }}
Experience: {{ slotProps.item.experience }}
Post: {{ slotProps.item.post }}