{"version":3,"file":"middleware.mjs","sources":["../../../../../../packages/hooks/use-floating/dom/middleware.ts"],"sourcesContent":["import {\n  arrow as arrowCore,\n  flip as flipCore,\n  limitShift as limitShiftCore,\n  shift as shiftCore,\n} from '@vuesax-alpha/hooks/use-floating/core'\nimport type { Coords } from '@vuesax-alpha/hooks/use-floating/utils'\nimport type {\n  Derivable,\n  LimitShiftOptions,\n} from '@vuesax-alpha/hooks/use-floating/core'\n\nimport type {\n  ArrowOptions,\n  FlipOptions,\n  Middleware,\n  MiddlewareState,\n  ShiftOptions,\n} from './types'\n\nexport { detectOverflow, offset } from '@vuesax-alpha/hooks/use-floating/core'\n\nexport const shift: (\n  options?: ShiftOptions | Derivable<ShiftOptions>\n) => Middleware = shiftCore\n\nexport const flip: (\n  options?: FlipOptions | Derivable<FlipOptions>\n) => Middleware = flipCore\n\nexport const arrow: (\n  options: ArrowOptions | Derivable<ArrowOptions>\n) => Middleware = arrowCore\n\nexport const limitShift: (\n  options?: LimitShiftOptions | Derivable<LimitShiftOptions>\n) => {\n  options: any\n  fn: (state: MiddlewareState) => Coords\n} = limitShiftCore\n"],"names":["shiftCore","flipCore","arrowCore","limitShiftCore"],"mappings":";;;;;;;AAsBO,MAAM,KAEK,GAAAA,QAAA;AAEX,MAAM,IAEK,GAAAC,OAAA;AAEX,MAAM,KAEK,GAAAC,QAAA;AAEX,MAAM,UAKT,GAAAC;;;;"}