1 line
2.7 KiB
JSON
1 line
2.7 KiB
JSON
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { useGridApiContext } from '../../hooks/utils/useGridApiContext';\nimport { useGridRootProps } from '../../hooks/utils/useGridRootProps';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function GridHeaderPlaceholder() {\n var _rootProps$components;\n const apiRef = useGridApiContext();\n const rootProps = useGridRootProps();\n const headerRef = React.useRef(null);\n apiRef.current.headerRef = headerRef;\n return /*#__PURE__*/_jsx(\"div\", {\n ref: headerRef,\n children: /*#__PURE__*/_jsx(rootProps.components.Header, _extends({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.header))\n });\n}","map":{"version":3,"names":["_extends","React","useGridApiContext","useGridRootProps","jsx","_jsx","GridHeaderPlaceholder","_rootProps$components","apiRef","rootProps","headerRef","useRef","current","ref","children","components","Header","componentsProps","header"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/@mui/x-data-grid/components/base/GridHeaderPlaceholder.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { useGridApiContext } from '../../hooks/utils/useGridApiContext';\nimport { useGridRootProps } from '../../hooks/utils/useGridRootProps';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function GridHeaderPlaceholder() {\n var _rootProps$components;\n\n const apiRef = useGridApiContext();\n const rootProps = useGridRootProps();\n const headerRef = React.useRef(null);\n apiRef.current.headerRef = headerRef;\n return /*#__PURE__*/_jsx(\"div\", {\n ref: headerRef,\n children: /*#__PURE__*/_jsx(rootProps.components.Header, _extends({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.header))\n });\n}"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,iBAAiB,QAAQ,qCAAqC;AACvE,SAASC,gBAAgB,QAAQ,oCAAoC;AACrE,SAASC,GAAG,IAAIC,IAAI,QAAQ,mBAAmB;AAC/C,OAAO,SAASC,qBAAqBA,CAAA,EAAG;EACtC,IAAIC,qBAAqB;EAEzB,MAAMC,MAAM,GAAGN,iBAAiB,CAAC,CAAC;EAClC,MAAMO,SAAS,GAAGN,gBAAgB,CAAC,CAAC;EACpC,MAAMO,SAAS,GAAGT,KAAK,CAACU,MAAM,CAAC,IAAI,CAAC;EACpCH,MAAM,CAACI,OAAO,CAACF,SAAS,GAAGA,SAAS;EACpC,OAAO,aAAaL,IAAI,CAAC,KAAK,EAAE;IAC9BQ,GAAG,EAAEH,SAAS;IACdI,QAAQ,EAAE,aAAaT,IAAI,CAACI,SAAS,CAACM,UAAU,CAACC,MAAM,EAAEhB,QAAQ,CAAC,CAAC,CAAC,EAAE,CAACO,qBAAqB,GAAGE,SAAS,CAACQ,eAAe,KAAK,IAAI,GAAG,KAAK,CAAC,GAAGV,qBAAqB,CAACW,MAAM,CAAC;EAC5K,CAAC,CAAC;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |