|
|
@ -1,3 +1,10 @@ |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
|
|
|
|
import { IsFormInj, IsGridInj } from '~/context' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const isForm = inject(IsFormInj) |
|
|
|
|
|
|
|
const isGrid = inject(IsGridInj) |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="nc-table-toolbar w-full py-1 flex gap-1 items-center" style="z-index: 7"> |
|
|
|
<div class="nc-table-toolbar w-full py-1 flex gap-1 items-center" style="z-index: 7"> |
|
|
|
<SmartsheetToolbarSearchData class="flex-shrink" /> |
|
|
|
<SmartsheetToolbarSearchData class="flex-shrink" /> |
|
|
@ -8,7 +15,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<SmartsheetToolbarSortListMenu /> |
|
|
|
<SmartsheetToolbarSortListMenu /> |
|
|
|
|
|
|
|
|
|
|
|
<SmartsheetToolbarShareView /> |
|
|
|
<SmartsheetToolbarShareView v-if="isForm || isGrid" /> |
|
|
|
|
|
|
|
|
|
|
|
<SmartsheetToolbarMoreActions /> |
|
|
|
<SmartsheetToolbarMoreActions /> |
|
|
|
|
|
|
|
|
|
|
|