worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
111
node_modules/@mui/material/Grid/Grid.d.ts
generated
vendored
Normal file
111
node_modules/@mui/material/Grid/Grid.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
import { SxProps, SystemProps } from '@mui/system';
|
||||
import { OverridableComponent, OverrideProps } from '@mui/types';
|
||||
import { Theme, Breakpoint } from "../styles/index.js";
|
||||
type ResponsiveStyleValue<T> = T | Array<T | null> | { [key in Breakpoint]?: T | null };
|
||||
export type GridDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
||||
export type GridSpacing = number | string;
|
||||
export type GridWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
||||
export type GridSize = 'auto' | 'grow' | number | false;
|
||||
export type GridOffset = 'auto' | number;
|
||||
export interface GridBaseProps {
|
||||
/**
|
||||
* The content of the component.
|
||||
*/
|
||||
children?: React.ReactNode;
|
||||
/**
|
||||
* The number of columns.
|
||||
* @default 12
|
||||
*/
|
||||
columns?: ResponsiveStyleValue<number>;
|
||||
/**
|
||||
* Defines the horizontal space between the type `item` components.
|
||||
* It overrides the value of the `spacing` prop.
|
||||
*/
|
||||
columnSpacing?: ResponsiveStyleValue<GridSpacing>;
|
||||
/**
|
||||
* If `true`, the component will have the flex *container* behavior.
|
||||
* You should be wrapping *items* with a *container*.
|
||||
* @default false
|
||||
*/
|
||||
container?: boolean;
|
||||
/**
|
||||
* Defines the `flex-direction` style property.
|
||||
* It is applied for all screen sizes.
|
||||
* @default 'row'
|
||||
*/
|
||||
direction?: ResponsiveStyleValue<GridDirection>;
|
||||
/**
|
||||
* Defines the offset value for the type `item` components.
|
||||
*/
|
||||
offset?: ResponsiveStyleValue<GridOffset>;
|
||||
/**
|
||||
* @internal
|
||||
* The level of the grid starts from `0` and increases when the grid nests
|
||||
* inside another grid. Nesting is defined as a container Grid being a direct
|
||||
* child of a container Grid.
|
||||
*
|
||||
* ```js
|
||||
* <Grid container> // level 0
|
||||
* <Grid container> // level 1
|
||||
* <Grid container> // level 2
|
||||
* ```
|
||||
*
|
||||
* Only consecutive grid is considered nesting. A grid container will start at
|
||||
* `0` if there are non-Grid container element above it.
|
||||
*
|
||||
* ```js
|
||||
* <Grid container> // level 0
|
||||
* <div>
|
||||
* <Grid container> // level 0
|
||||
* ```
|
||||
*
|
||||
* ```js
|
||||
* <Grid container> // level 0
|
||||
* <Grid>
|
||||
* <Grid container> // level 0
|
||||
* ```
|
||||
*/
|
||||
unstable_level?: number;
|
||||
/**
|
||||
* Defines the vertical space between the type `item` components.
|
||||
* It overrides the value of the `spacing` prop.
|
||||
*/
|
||||
rowSpacing?: ResponsiveStyleValue<GridSpacing>;
|
||||
/**
|
||||
* Defines the size of the the type `item` components.
|
||||
*/
|
||||
size?: ResponsiveStyleValue<GridSize>;
|
||||
/**
|
||||
* Defines the space between the type `item` components.
|
||||
* It can only be used on a type `container` component.
|
||||
* @default 0
|
||||
*/
|
||||
spacing?: ResponsiveStyleValue<GridSpacing> | undefined;
|
||||
/**
|
||||
* Defines the `flex-wrap` style property.
|
||||
* It's applied for all screen sizes.
|
||||
* @default 'wrap'
|
||||
*/
|
||||
wrap?: GridWrap;
|
||||
}
|
||||
export interface GridTypeMap<P = {}, D extends React.ElementType = 'div'> {
|
||||
props: P & GridBaseProps & {
|
||||
sx?: SxProps<Theme>;
|
||||
} & SystemProps<Theme>;
|
||||
defaultComponent: D;
|
||||
}
|
||||
export type GridProps<D extends React.ElementType = GridTypeMap['defaultComponent'], P = {
|
||||
component?: React.ElementType;
|
||||
}> = OverrideProps<GridTypeMap<P, D>, D>;
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Grid](https://mui.com/material-ui/react-grid/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [Grid API](https://mui.com/material-ui/api/grid/)
|
||||
*/
|
||||
declare const Grid: OverridableComponent<GridTypeMap>;
|
||||
export default Grid;
|
||||
144
node_modules/@mui/material/Grid/Grid.js
generated
vendored
Normal file
144
node_modules/@mui/material/Grid/Grid.js
generated
vendored
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
"use strict";
|
||||
'use client';
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _propTypes = _interopRequireDefault(require("prop-types"));
|
||||
var _Grid = require("@mui/system/Grid");
|
||||
var _requirePropFactory = _interopRequireDefault(require("../utils/requirePropFactory"));
|
||||
var _styles = require("../styles");
|
||||
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
||||
var _useTheme = _interopRequireDefault(require("../styles/useTheme"));
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Grid](https://mui.com/material-ui/react-grid/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [Grid API](https://mui.com/material-ui/api/grid/)
|
||||
*/
|
||||
const Grid = (0, _Grid.createGrid)({
|
||||
createStyledComponent: (0, _styles.styled)('div', {
|
||||
name: 'MuiGrid',
|
||||
slot: 'Root',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
ownerState
|
||||
} = props;
|
||||
return [styles.root, ownerState.container && styles.container];
|
||||
}
|
||||
}),
|
||||
componentName: 'MuiGrid',
|
||||
useThemeProps: inProps => (0, _DefaultPropsProvider.useDefaultProps)({
|
||||
props: inProps,
|
||||
name: 'MuiGrid'
|
||||
}),
|
||||
useTheme: _useTheme.default
|
||||
});
|
||||
process.env.NODE_ENV !== "production" ? Grid.propTypes /* remove-proptypes */ = {
|
||||
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
||||
// │ These PropTypes are generated from the TypeScript type definitions. │
|
||||
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
||||
// └─────────────────────────────────────────────────────────────────────┘
|
||||
/**
|
||||
* The content of the component.
|
||||
*/
|
||||
children: _propTypes.default.node,
|
||||
/**
|
||||
* The number of columns.
|
||||
* @default 12
|
||||
*/
|
||||
columns: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.arrayOf(_propTypes.default.number), _propTypes.default.number, _propTypes.default.object]),
|
||||
/**
|
||||
* Defines the horizontal space between the type `item` components.
|
||||
* It overrides the value of the `spacing` prop.
|
||||
*/
|
||||
columnSpacing: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.string]),
|
||||
/**
|
||||
* If `true`, the component will have the flex *container* behavior.
|
||||
* You should be wrapping *items* with a *container*.
|
||||
* @default false
|
||||
*/
|
||||
container: _propTypes.default.bool,
|
||||
/**
|
||||
* Defines the `flex-direction` style property.
|
||||
* It is applied for all screen sizes.
|
||||
* @default 'row'
|
||||
*/
|
||||
direction: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), _propTypes.default.arrayOf(_propTypes.default.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), _propTypes.default.object]),
|
||||
/**
|
||||
* Defines the offset value for the type `item` components.
|
||||
*/
|
||||
offset: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.string, _propTypes.default.number, _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number])), _propTypes.default.object]),
|
||||
/**
|
||||
* Defines the vertical space between the type `item` components.
|
||||
* It overrides the value of the `spacing` prop.
|
||||
*/
|
||||
rowSpacing: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.string]),
|
||||
/**
|
||||
* Defines the size of the the type `item` components.
|
||||
*/
|
||||
size: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.string, _propTypes.default.bool, _propTypes.default.number, _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool, _propTypes.default.number])), _propTypes.default.object]),
|
||||
/**
|
||||
* Defines the space between the type `item` components.
|
||||
* It can only be used on a type `container` component.
|
||||
* @default 0
|
||||
*/
|
||||
spacing: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.string]),
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
||||
/**
|
||||
* @internal
|
||||
* The level of the grid starts from `0` and increases when the grid nests
|
||||
* inside another grid. Nesting is defined as a container Grid being a direct
|
||||
* child of a container Grid.
|
||||
*
|
||||
* ```js
|
||||
* <Grid container> // level 0
|
||||
* <Grid container> // level 1
|
||||
* <Grid container> // level 2
|
||||
* ```
|
||||
*
|
||||
* Only consecutive grid is considered nesting. A grid container will start at
|
||||
* `0` if there are non-Grid container element above it.
|
||||
*
|
||||
* ```js
|
||||
* <Grid container> // level 0
|
||||
* <div>
|
||||
* <Grid container> // level 0
|
||||
* ```
|
||||
*
|
||||
* ```js
|
||||
* <Grid container> // level 0
|
||||
* <Grid>
|
||||
* <Grid container> // level 0
|
||||
* ```
|
||||
*/
|
||||
unstable_level: _propTypes.default.number,
|
||||
/**
|
||||
* Defines the `flex-wrap` style property.
|
||||
* It's applied for all screen sizes.
|
||||
* @default 'wrap'
|
||||
*/
|
||||
wrap: _propTypes.default.oneOf(['nowrap', 'wrap-reverse', 'wrap'])
|
||||
} : void 0;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
const Component = Grid;
|
||||
const requireProp = (0, _requirePropFactory.default)('Grid', Component);
|
||||
// eslint-disable-next-line no-useless-concat
|
||||
Component['propTypes' + ''] = {
|
||||
// eslint-disable-next-line react/forbid-foreign-prop-types
|
||||
...Component.propTypes,
|
||||
direction: requireProp('container'),
|
||||
spacing: requireProp('container'),
|
||||
wrap: requireProp('container')
|
||||
};
|
||||
}
|
||||
var _default = exports.default = Grid;
|
||||
10
node_modules/@mui/material/Grid/gridClasses.d.ts
generated
vendored
Normal file
10
node_modules/@mui/material/Grid/gridClasses.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export interface GridClasses {
|
||||
/** Styles applied to the root element. */
|
||||
root: string;
|
||||
/** Styles applied to the root element if `container={true}`. */
|
||||
container: string;
|
||||
}
|
||||
export type GridClassKey = keyof GridClasses;
|
||||
export declare function getGridUtilityClass(slot: string): string;
|
||||
declare const gridClasses: GridClasses;
|
||||
export default gridClasses;
|
||||
27
node_modules/@mui/material/Grid/gridClasses.js
generated
vendored
Normal file
27
node_modules/@mui/material/Grid/gridClasses.js
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
exports.getGridUtilityClass = getGridUtilityClass;
|
||||
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
||||
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
||||
function getGridUtilityClass(slot) {
|
||||
return (0, _generateUtilityClass.default)('MuiGrid', slot);
|
||||
}
|
||||
const SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
||||
const DIRECTIONS = ['column-reverse', 'column', 'row-reverse', 'row'];
|
||||
const WRAPS = ['nowrap', 'wrap-reverse', 'wrap'];
|
||||
const GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||
const gridClasses = (0, _generateUtilityClasses.default)('MuiGrid', ['root', 'container',
|
||||
// spacings
|
||||
...SPACINGS.map(spacing => `spacing-xs-${spacing}`),
|
||||
// direction values
|
||||
...DIRECTIONS.map(direction => `direction-xs-${direction}`),
|
||||
// wrap values
|
||||
...WRAPS.map(wrap => `wrap-xs-${wrap}`),
|
||||
// grid sizes for all breakpoints
|
||||
...GRID_SIZES.map(size => `grid-xs-${size}`), ...GRID_SIZES.map(size => `grid-sm-${size}`), ...GRID_SIZES.map(size => `grid-md-${size}`), ...GRID_SIZES.map(size => `grid-lg-${size}`), ...GRID_SIZES.map(size => `grid-xl-${size}`)]);
|
||||
var _default = exports.default = gridClasses;
|
||||
4
node_modules/@mui/material/Grid/index.d.ts
generated
vendored
Normal file
4
node_modules/@mui/material/Grid/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export { default } from "./Grid.js";
|
||||
export * from "./Grid.js";
|
||||
export { default as gridClasses } from "./gridClasses.js";
|
||||
export * from "./gridClasses.js";
|
||||
45
node_modules/@mui/material/Grid/index.js
generated
vendored
Normal file
45
node_modules/@mui/material/Grid/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
var _exportNames = {
|
||||
gridClasses: true
|
||||
};
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _Grid.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "gridClasses", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _gridClasses.default;
|
||||
}
|
||||
});
|
||||
var _Grid = _interopRequireWildcard(require("./Grid"));
|
||||
Object.keys(_Grid).forEach(function (key) {
|
||||
if (key === "default" || key === "__esModule") return;
|
||||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
||||
if (key in exports && exports[key] === _Grid[key]) return;
|
||||
Object.defineProperty(exports, key, {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _Grid[key];
|
||||
}
|
||||
});
|
||||
});
|
||||
var _gridClasses = _interopRequireWildcard(require("./gridClasses"));
|
||||
Object.keys(_gridClasses).forEach(function (key) {
|
||||
if (key === "default" || key === "__esModule") return;
|
||||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
||||
if (key in exports && exports[key] === _gridClasses[key]) return;
|
||||
Object.defineProperty(exports, key, {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _gridClasses[key];
|
||||
}
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue