{"version":3,"file":"constants.mjs","names":[],"sources":["../../../../../../packages/components/resizable-columns/src/constants.ts"],"sourcesContent":["import { InjectionKey } from 'vue'\n\nimport type { ComputedRef, Ref, Slots, UnwrapRef } from 'vue'\nimport type { ResizableColumnProps } from './resizable-column'\nimport type { ResizableColumnsProps } from './resizable-columns'\n\nexport type ResizableColumnContext = UnwrapRef<{\n  uid: number\n  slots: Slots\n  props: ResizableColumnProps\n  maxWidth: Ref<number>\n  index: Ref<number | undefined>\n  width: Ref<number | undefined>\n  left: Ref<number | undefined>\n  collapsed: ComputedRef<boolean>\n  collapsable: ComputedRef<boolean>\n}>\n\nexport interface ResizableColumnsRootContext {\n  props: ResizableColumnsProps\n  columns: any\n  registerColumn: (pane: ResizableColumnContext) => void\n  unregisterColumn: (uid: number) => void\n  handleCollapse: (column: ResizableColumnContext) => void\n  handleExpand: (column: ResizableColumnContext) => void\n  initColumnSize: () => void\n}\n\nexport const resizableColumnsRootContextKey: InjectionKey<ResizableColumnsRootContext> =\n  Symbol('resizableColumnsRootContextKey')\n"],"mappings":";AA4BA,MAAa,iCACX,OAAO,gCAAgC"}