Files
ETB/ETB-FrontEnd/node_modules/.cache/babel-loader/cb8e635d5fca5844bd05c9d087348525fc9ca399077cf742cdf036440fb049c3.json
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

1 line
2.8 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 GridFooterPlaceholder() {\n var _rootProps$components;\n const apiRef = useGridApiContext();\n const rootProps = useGridRootProps();\n const footerRef = React.useRef(null);\n apiRef.current.footerRef = footerRef;\n if (rootProps.hideFooter) {\n return null;\n }\n return /*#__PURE__*/_jsx(\"div\", {\n ref: footerRef,\n children: /*#__PURE__*/_jsx(rootProps.components.Footer, _extends({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.footer))\n });\n}","map":{"version":3,"names":["_extends","React","useGridApiContext","useGridRootProps","jsx","_jsx","GridFooterPlaceholder","_rootProps$components","apiRef","rootProps","footerRef","useRef","current","hideFooter","ref","children","components","Footer","componentsProps","footer"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/@mui/x-data-grid/components/base/GridFooterPlaceholder.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 GridFooterPlaceholder() {\n var _rootProps$components;\n\n const apiRef = useGridApiContext();\n const rootProps = useGridRootProps();\n const footerRef = React.useRef(null);\n apiRef.current.footerRef = footerRef;\n\n if (rootProps.hideFooter) {\n return null;\n }\n\n return /*#__PURE__*/_jsx(\"div\", {\n ref: footerRef,\n children: /*#__PURE__*/_jsx(rootProps.components.Footer, _extends({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.footer))\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;EAEpC,IAAID,SAAS,CAACI,UAAU,EAAE;IACxB,OAAO,IAAI;EACb;EAEA,OAAO,aAAaR,IAAI,CAAC,KAAK,EAAE;IAC9BS,GAAG,EAAEJ,SAAS;IACdK,QAAQ,EAAE,aAAaV,IAAI,CAACI,SAAS,CAACO,UAAU,CAACC,MAAM,EAAEjB,QAAQ,CAAC,CAAC,CAAC,EAAE,CAACO,qBAAqB,GAAGE,SAAS,CAACS,eAAe,KAAK,IAAI,GAAG,KAAK,CAAC,GAAGX,qBAAqB,CAACY,MAAM,CAAC;EAC5K,CAAC,CAAC;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}