Files
nocodb/packages/nc-gui/composables/useActionPane.ts
mertmit 69a29568c7 chore: sync
Signed-off-by: mertmit <mertmit99@gmail.com>
2026-01-10 00:21:02 +03:00

31 lines
666 B
TypeScript

export const useActionPane = createSharedComposable(() => {
const isViewActionsEnabled = 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,
}
})