{"version":3,"sources":["../../src/dataview/index.ts","../../src/dataview/root/UIDataViewRoot.tsx"],"sourcesContent":["// Named runtime exports to maximize tree-shaking\nexport { defaultRootProps, DataViewProvider, useDataViewContext } from 'primereact/dataview';\nexport { UIDataViewRoot as DataView } from './root';\n","'use client';\nimport { Component } from '@primereact/core/component';\nimport { styles } from '@primereact/styles/dataview';\nimport { withComponent } from '@primereact/ui/base';\nimport { mergeDefaultProps } from '@primeuix/utils';\nimport { DataView, defaultRootProps } from 'primereact/dataview';\nimport * as React from 'react';\n\nexport const UIDataViewRoot = withComponent({\n    name: 'DataView.Root',\n    defaultProps: defaultRootProps,\n    render(instance) {\n        const rootProps = mergeDefaultProps({ styles }, instance.inProps);\n\n        return <Component as={DataView} attrs={rootProps} />;\n    }\n});\n"],"mappings":"AACA,OAAS,oBAAAA,EAAkB,oBAAAC,EAAkB,sBAAAC,MAA0B,sBCAvE,OAAS,aAAAC,MAAiB,6BAC1B,OAAS,UAAAC,MAAc,8BACvB,OAAS,iBAAAC,MAAqB,sBAC9B,OAAS,qBAAAC,MAAyB,kBAClC,OAAS,YAAAC,EAAU,oBAAAC,MAAwB,sBAC3C,UAAYC,MAAW,QAEhB,IAAMC,EAAiBL,EAAc,CACxC,KAAM,gBACN,aAAcG,EACd,OAAOG,EAAU,CACb,IAAMC,EAAYN,EAAkB,CAAE,OAAAF,CAAO,EAAGO,EAAS,OAAO,EAEhE,OAAO,gBAACR,EAAA,CAAU,GAAII,EAAU,MAAOK,EAAW,CACtD,CACJ,CAAC","names":["defaultRootProps","DataViewProvider","useDataViewContext","Component","styles","withComponent","mergeDefaultProps","DataView","defaultRootProps","React","UIDataViewRoot","instance","rootProps"]}