{"version":3,"file":"types.mjs","sources":["../../../../../../packages/components/resizable/src/types.ts"],"sourcesContent":["export interface IState {\n  parentWidth: number\n  parentHeight: number\n  left: number\n  top: number\n  right: number\n  bottom: number\n  aspectFactor: number\n}\n\nexport interface IBeforeMoveState {\n  pointerX: number\n  pointerY: number\n  left: number\n  right: number\n  top: number\n  bottom: number\n  width: number\n  height: number\n}\n\nexport type ILimitValue = number | null\nexport interface ILimits {\n  left: { min: ILimitValue; max: ILimitValue }\n  right: { min: ILimitValue; max: ILimitValue }\n  top: { min: ILimitValue; max: ILimitValue }\n  bottom: { min: ILimitValue; max: ILimitValue }\n}\n\nexport interface IDelta {\n  x: number\n  y: number\n}\n\nexport const sticks = ['tl', 'tm', 'tr', 'mr', 'br', 'bm', 'bl', 'ml'] as const\nexport type IStick = (typeof sticks)[number]\n\nexport type IMoveType = 'stickMove' | 'targetMove'\n\nexport interface IStickStyle {\n  width: string\n  height: string\n  left?: string\n  marginLeft?: string\n  right?: string\n  top?: string\n  marginTop?: string\n  bottom?: string\n}\n\nexport interface IRect {\n  left: number\n  top: number\n  width: number\n  height: number\n}\n"],"names":[],"mappings":"AAkCa,MAAA,MAAA,GAAS,CAAC,IAAM,EAAA,IAAA,EAAM,MAAM,IAAM,EAAA,IAAA,EAAM,IAAM,EAAA,IAAA,EAAM,IAAI;;;;"}