{"version":3,"sources":["../../../src/select/selection/UISelectSelection.tsx"],"sourcesContent":["'use client';\nimport { Component, withComponent } from '@primereact/core/component';\nimport { ListboxSelection } from '@primereact/ui/listbox';\nimport { mergeDefaultProps } from '@primeuix/utils';\nimport { SelectSelection, defaultSelectionProps } from 'primereact/select';\nimport * as React from 'react';\n\nexport const UISelectSelection = withComponent({\n    name: 'Select.Selection',\n    defaultProps: defaultSelectionProps,\n    render(instance) {\n        const rootProps = mergeDefaultProps({ as: ListboxSelection }, instance.inProps);\n\n        return <Component as={SelectSelection} attrs={rootProps} />;\n    }\n});\n"],"mappings":"AACA,OAAS,aAAAA,EAAW,iBAAAC,MAAqB,6BACzC,OAAS,oBAAAC,MAAwB,yBACjC,OAAS,qBAAAC,MAAyB,kBAClC,OAAS,mBAAAC,EAAiB,yBAAAC,MAA6B,oBACvD,UAAYC,MAAW,QAEhB,IAAMC,EAAoBN,EAAc,CAC3C,KAAM,mBACN,aAAcI,EACd,OAAOG,EAAU,CACb,IAAMC,EAAYN,EAAkB,CAAE,GAAID,CAAiB,EAAGM,EAAS,OAAO,EAE9E,OAAO,gBAACR,EAAA,CAAU,GAAII,EAAiB,MAAOK,EAAW,CAC7D,CACJ,CAAC","names":["Component","withComponent","ListboxSelection","mergeDefaultProps","SelectSelection","defaultSelectionProps","React","UISelectSelection","instance","rootProps"]}