{"version":3,"sources":["../../src/Rectangle/index.ts"],"names":["handleComponent_default","MAPS"],"mappings":";;;;;;AAOA,IAAM,SAAA,GAAYA,0CAoBhB,CAACC,sBAAA,EAAM,WAAW,CAAG,EAAA,CAAC,QAAQ,CAAC,CAAA;AAEjC,IAAO,iBAAQ,GAAA","file":"chunk-GRIS3DA7.cjs","sourcesContent":["import type { ComponentProps } from 'react';\nimport type { GetValue, MouseHandlers } from '../types';\nimport handleComponent from '../utils/handleComponent';\nimport { MAPS } from '../utils/constants';\n\nexport type RectangleProps = ComponentProps<typeof Rectangle>;\n\nconst Rectangle = handleComponent<\n  google.maps.Rectangle,\n  {\n    onBoundsChanged: [bounds: GetValue<google.maps.Rectangle, 'bounds'>];\n  } & MouseHandlers,\n  {\n    bounds: true;\n    /**\n     * If set to `true`, the user can drag this rectangle over the map.\n     */\n    draggable: true;\n    /**\n     * If set to `true`, the user can edit this rectangle by dragging the control points shown at the corners and on each edge.\n     */\n    editable: true;\n    /**\n     * Whether this rectangle is visible on the map.\n     */\n    visible: true;\n  }\n>([MAPS, 'Rectangle'], ['bounds']);\n\nexport default Rectangle;\n"]}