1
0
Fork 0

worked on GarageApp stuff

This commit is contained in:
Techognito 2025-08-25 17:46:11 +02:00
parent 60aaf17af3
commit eb606572b0
51919 changed files with 2168177 additions and 18 deletions

25
node_modules/@mui/material/esm/NoSsr/NoSsr.d.ts generated vendored Normal file
View file

@ -0,0 +1,25 @@
import * as React from 'react';
import { NoSsrProps } from "./NoSsr.types.js";
/**
* NoSsr purposely removes components from the subject of Server Side Rendering (SSR).
*
* This component can be useful in a variety of situations:
*
* * Escape hatch for broken dependencies not supporting SSR.
* * Improve the time-to-first paint on the client by only rendering above the fold.
* * Reduce the rendering time on the server.
* * Under too heavy server load, you can turn on service degradation.
*
* Demos:
*
* - [No SSR](https://mui.com/material-ui/react-no-ssr/)
*
* API:
*
* - [NoSsr API](https://mui.com/material-ui/api/no-ssr/)
*/
declare function NoSsr(props: NoSsrProps): React.JSX.Element;
declare namespace NoSsr {
var propTypes: any;
}
export default NoSsr;

71
node_modules/@mui/material/esm/NoSsr/NoSsr.js generated vendored Normal file
View file

@ -0,0 +1,71 @@
'use client';
import * as React from 'react';
import PropTypes from 'prop-types';
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
import exactProp from '@mui/utils/exactProp';
/**
* NoSsr purposely removes components from the subject of Server Side Rendering (SSR).
*
* This component can be useful in a variety of situations:
*
* * Escape hatch for broken dependencies not supporting SSR.
* * Improve the time-to-first paint on the client by only rendering above the fold.
* * Reduce the rendering time on the server.
* * Under too heavy server load, you can turn on service degradation.
*
* Demos:
*
* - [No SSR](https://mui.com/material-ui/react-no-ssr/)
*
* API:
*
* - [NoSsr API](https://mui.com/material-ui/api/no-ssr/)
*/
function NoSsr(props) {
const {
children,
defer = false,
fallback = null
} = props;
const [mountedState, setMountedState] = React.useState(false);
useEnhancedEffect(() => {
if (!defer) {
setMountedState(true);
}
}, [defer]);
React.useEffect(() => {
if (defer) {
setMountedState(true);
}
}, [defer]);
// TODO casting won't be needed at one point https://github.com/DefinitelyTyped/DefinitelyTyped/pull/65135
return mountedState ? children : fallback;
}
process.env.NODE_ENV !== "production" ? NoSsr.propTypes /* remove-proptypes */ = {
// ┌────────────────────────────── Warning ──────────────────────────────┐
// │ These PropTypes are generated from the TypeScript type definitions. │
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
// └─────────────────────────────────────────────────────────────────────┘
/**
* You can wrap a node.
*/
children: PropTypes.node,
/**
* If `true`, the component will not only prevent server-side rendering.
* It will also defer the rendering of the children into a different screen frame.
* @default false
*/
defer: PropTypes.bool,
/**
* The fallback content to display.
* @default null
*/
fallback: PropTypes.node
} : void 0;
if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line
NoSsr['propTypes' + ''] = exactProp(NoSsr.propTypes);
}
export default NoSsr;

18
node_modules/@mui/material/esm/NoSsr/NoSsr.types.d.ts generated vendored Normal file
View file

@ -0,0 +1,18 @@
import * as React from 'react';
export interface NoSsrProps {
/**
* You can wrap a node.
*/
children?: React.ReactNode;
/**
* If `true`, the component will not only prevent server-side rendering.
* It will also defer the rendering of the children into a different screen frame.
* @default false
*/
defer?: boolean;
/**
* The fallback content to display.
* @default null
*/
fallback?: React.ReactNode;
}

1
node_modules/@mui/material/esm/NoSsr/NoSsr.types.js generated vendored Normal file
View file

@ -0,0 +1 @@
export {};

3
node_modules/@mui/material/esm/NoSsr/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,3 @@
export { default } from "./NoSsr.js";
export * from "./NoSsr.js";
export * from "./NoSsr.types.js";

1
node_modules/@mui/material/esm/NoSsr/index.js generated vendored Normal file
View file

@ -0,0 +1 @@
export { default } from "./NoSsr.js";