{"version":3,"sources":["../../../src/orgchart/root/UIOrgChartRoot.tsx"],"sourcesContent":["'use client';\nimport { Component } from '@primereact/core/component';\nimport { styles } from '@primereact/styles/orgchart';\nimport { withComponent } from '@primereact/ui/base';\nimport { mergeDefaultProps } from '@primeuix/utils';\nimport { OrgChartRoot, defaultRootProps } from 'primereact/orgchart';\nimport * as React from 'react';\n\nexport const UIOrgChartRoot = withComponent({\n    name: 'OrgChart.Root',\n    defaultProps: defaultRootProps,\n    render(instance) {\n        const rootProps = mergeDefaultProps({ styles }, instance.inProps);\n\n        return <Component as={OrgChartRoot} attrs={rootProps} />;\n    }\n});\n"],"mappings":"AACA,OAAS,aAAAA,MAAiB,6BAC1B,OAAS,UAAAC,MAAc,8BACvB,OAAS,iBAAAC,MAAqB,sBAC9B,OAAS,qBAAAC,MAAyB,kBAClC,OAAS,gBAAAC,EAAc,oBAAAC,MAAwB,sBAC/C,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,EAAc,MAAOK,EAAW,CAC1D,CACJ,CAAC","names":["Component","styles","withComponent","mergeDefaultProps","OrgChartRoot","defaultRootProps","React","UIOrgChartRoot","instance","rootProps"]}