Files
nocodb/packages/nc-gui/composables/useActionPane.ts
mertmit 36299e0d39 chore: sync changes
Signed-off-by: mertmit <mertmit99@gmail.com>
2025-08-21 12:54:10 +03:00

34 lines
744 B
TypeScript

export const useActionPane = createSharedComposable(() => {
const isViewActionsEnabled = computed(() => false)
const isRowActionsEnabled = computed(() => false)
const actionPanelSize = ref(40)
const isPanelExpanded = ref(false)
const toggleActionPanel = () => {}
const openActionPane = () => {}
const addScriptExecution = (..._args: any) => {}
const removeScriptExecution = (..._args: any) => {}
const clearAllExecutions = () => {}
const executions = computed(() => [])
return {
isPanelExpanded,
actionPanelSize,
toggleActionPanel,
openActionPane,
addScriptExecution,
removeScriptExecution,
clearAllExecutions,
executions,
isViewActionsEnabled,
isRowActionsEnabled,
}
})