worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
74
node_modules/@mui/material/Divider/Divider.d.ts
generated
vendored
Normal file
74
node_modules/@mui/material/Divider/Divider.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
import * as React from 'react';
|
||||
import { OverridableStringUnion } from '@mui/types';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { Theme } from "../styles/index.js";
|
||||
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
||||
import { DividerClasses } from "./dividerClasses.js";
|
||||
export interface DividerPropsVariantOverrides {}
|
||||
export interface DividerOwnProps {
|
||||
/**
|
||||
* Absolutely position the element.
|
||||
* @default false
|
||||
*/
|
||||
absolute?: boolean;
|
||||
/**
|
||||
* The content of the component.
|
||||
*/
|
||||
children?: React.ReactNode;
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes?: Partial<DividerClasses>;
|
||||
/**
|
||||
* If `true`, a vertical divider will have the correct height when used in flex container.
|
||||
* (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
|
||||
* @default false
|
||||
*/
|
||||
flexItem?: boolean;
|
||||
/**
|
||||
* If `true`, the divider will have a lighter color.
|
||||
* @default false
|
||||
* @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
||||
*/
|
||||
light?: boolean;
|
||||
/**
|
||||
* The component orientation.
|
||||
* @default 'horizontal'
|
||||
*/
|
||||
orientation?: 'horizontal' | 'vertical';
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
/**
|
||||
* The text alignment.
|
||||
* @default 'center'
|
||||
*/
|
||||
textAlign?: 'center' | 'right' | 'left';
|
||||
/**
|
||||
* The variant to use.
|
||||
* @default 'fullWidth'
|
||||
*/
|
||||
variant?: OverridableStringUnion<'fullWidth' | 'inset' | 'middle', DividerPropsVariantOverrides>;
|
||||
}
|
||||
export interface DividerTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'hr'> {
|
||||
props: AdditionalProps & DividerOwnProps;
|
||||
defaultComponent: RootComponent;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Divider](https://mui.com/material-ui/react-divider/)
|
||||
* - [Lists](https://mui.com/material-ui/react-list/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [Divider API](https://mui.com/material-ui/api/divider/)
|
||||
*/
|
||||
declare const Divider: OverridableComponent<DividerTypeMap>;
|
||||
export type DividerProps<RootComponent extends React.ElementType = DividerTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<DividerTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
||||
component?: React.ElementType;
|
||||
};
|
||||
export default Divider;
|
||||
320
node_modules/@mui/material/Divider/Divider.js
generated
vendored
Normal file
320
node_modules/@mui/material/Divider/Divider.js
generated
vendored
Normal file
|
|
@ -0,0 +1,320 @@
|
|||
"use strict";
|
||||
'use client';
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var React = _interopRequireWildcard(require("react"));
|
||||
var _propTypes = _interopRequireDefault(require("prop-types"));
|
||||
var _clsx = _interopRequireDefault(require("clsx"));
|
||||
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
||||
var _zeroStyled = require("../zero-styled");
|
||||
var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
||||
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
||||
var _dividerClasses = require("./dividerClasses");
|
||||
var _jsxRuntime = require("react/jsx-runtime");
|
||||
const useUtilityClasses = ownerState => {
|
||||
const {
|
||||
absolute,
|
||||
children,
|
||||
classes,
|
||||
flexItem,
|
||||
light,
|
||||
orientation,
|
||||
textAlign,
|
||||
variant
|
||||
} = ownerState;
|
||||
const slots = {
|
||||
root: ['root', absolute && 'absolute', variant, light && 'light', orientation === 'vertical' && 'vertical', flexItem && 'flexItem', children && 'withChildren', children && orientation === 'vertical' && 'withChildrenVertical', textAlign === 'right' && orientation !== 'vertical' && 'textAlignRight', textAlign === 'left' && orientation !== 'vertical' && 'textAlignLeft'],
|
||||
wrapper: ['wrapper', orientation === 'vertical' && 'wrapperVertical']
|
||||
};
|
||||
return (0, _composeClasses.default)(slots, _dividerClasses.getDividerUtilityClass, classes);
|
||||
};
|
||||
const DividerRoot = (0, _zeroStyled.styled)('div', {
|
||||
name: 'MuiDivider',
|
||||
slot: 'Root',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
ownerState
|
||||
} = props;
|
||||
return [styles.root, ownerState.absolute && styles.absolute, styles[ownerState.variant], ownerState.light && styles.light, ownerState.orientation === 'vertical' && styles.vertical, ownerState.flexItem && styles.flexItem, ownerState.children && styles.withChildren, ownerState.children && ownerState.orientation === 'vertical' && styles.withChildrenVertical, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && styles.textAlignRight, ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical' && styles.textAlignLeft];
|
||||
}
|
||||
})((0, _memoTheme.default)(({
|
||||
theme
|
||||
}) => ({
|
||||
margin: 0,
|
||||
// Reset browser default style.
|
||||
flexShrink: 0,
|
||||
borderWidth: 0,
|
||||
borderStyle: 'solid',
|
||||
borderColor: (theme.vars || theme).palette.divider,
|
||||
borderBottomWidth: 'thin',
|
||||
variants: [{
|
||||
props: {
|
||||
absolute: true
|
||||
},
|
||||
style: {
|
||||
position: 'absolute',
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
width: '100%'
|
||||
}
|
||||
}, {
|
||||
props: {
|
||||
light: true
|
||||
},
|
||||
style: {
|
||||
borderColor: theme.alpha((theme.vars || theme).palette.divider, 0.08)
|
||||
}
|
||||
}, {
|
||||
props: {
|
||||
variant: 'inset'
|
||||
},
|
||||
style: {
|
||||
marginLeft: 72
|
||||
}
|
||||
}, {
|
||||
props: {
|
||||
variant: 'middle',
|
||||
orientation: 'horizontal'
|
||||
},
|
||||
style: {
|
||||
marginLeft: theme.spacing(2),
|
||||
marginRight: theme.spacing(2)
|
||||
}
|
||||
}, {
|
||||
props: {
|
||||
variant: 'middle',
|
||||
orientation: 'vertical'
|
||||
},
|
||||
style: {
|
||||
marginTop: theme.spacing(1),
|
||||
marginBottom: theme.spacing(1)
|
||||
}
|
||||
}, {
|
||||
props: {
|
||||
orientation: 'vertical'
|
||||
},
|
||||
style: {
|
||||
height: '100%',
|
||||
borderBottomWidth: 0,
|
||||
borderRightWidth: 'thin'
|
||||
}
|
||||
}, {
|
||||
props: {
|
||||
flexItem: true
|
||||
},
|
||||
style: {
|
||||
alignSelf: 'stretch',
|
||||
height: 'auto'
|
||||
}
|
||||
}, {
|
||||
props: ({
|
||||
ownerState
|
||||
}) => !!ownerState.children,
|
||||
style: {
|
||||
display: 'flex',
|
||||
textAlign: 'center',
|
||||
border: 0,
|
||||
borderTopStyle: 'solid',
|
||||
borderLeftStyle: 'solid',
|
||||
'&::before, &::after': {
|
||||
content: '""',
|
||||
alignSelf: 'center'
|
||||
}
|
||||
}
|
||||
}, {
|
||||
props: ({
|
||||
ownerState
|
||||
}) => ownerState.children && ownerState.orientation !== 'vertical',
|
||||
style: {
|
||||
'&::before, &::after': {
|
||||
width: '100%',
|
||||
borderTop: `thin solid ${(theme.vars || theme).palette.divider}`,
|
||||
borderTopStyle: 'inherit'
|
||||
}
|
||||
}
|
||||
}, {
|
||||
props: ({
|
||||
ownerState
|
||||
}) => ownerState.orientation === 'vertical' && ownerState.children,
|
||||
style: {
|
||||
flexDirection: 'column',
|
||||
'&::before, &::after': {
|
||||
height: '100%',
|
||||
borderLeft: `thin solid ${(theme.vars || theme).palette.divider}`,
|
||||
borderLeftStyle: 'inherit'
|
||||
}
|
||||
}
|
||||
}, {
|
||||
props: ({
|
||||
ownerState
|
||||
}) => ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical',
|
||||
style: {
|
||||
'&::before': {
|
||||
width: '90%'
|
||||
},
|
||||
'&::after': {
|
||||
width: '10%'
|
||||
}
|
||||
}
|
||||
}, {
|
||||
props: ({
|
||||
ownerState
|
||||
}) => ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical',
|
||||
style: {
|
||||
'&::before': {
|
||||
width: '10%'
|
||||
},
|
||||
'&::after': {
|
||||
width: '90%'
|
||||
}
|
||||
}
|
||||
}]
|
||||
})));
|
||||
const DividerWrapper = (0, _zeroStyled.styled)('span', {
|
||||
name: 'MuiDivider',
|
||||
slot: 'Wrapper',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
ownerState
|
||||
} = props;
|
||||
return [styles.wrapper, ownerState.orientation === 'vertical' && styles.wrapperVertical];
|
||||
}
|
||||
})((0, _memoTheme.default)(({
|
||||
theme
|
||||
}) => ({
|
||||
display: 'inline-block',
|
||||
paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
|
||||
paddingRight: `calc(${theme.spacing(1)} * 1.2)`,
|
||||
whiteSpace: 'nowrap',
|
||||
variants: [{
|
||||
props: {
|
||||
orientation: 'vertical'
|
||||
},
|
||||
style: {
|
||||
paddingTop: `calc(${theme.spacing(1)} * 1.2)`,
|
||||
paddingBottom: `calc(${theme.spacing(1)} * 1.2)`
|
||||
}
|
||||
}]
|
||||
})));
|
||||
const Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {
|
||||
const props = (0, _DefaultPropsProvider.useDefaultProps)({
|
||||
props: inProps,
|
||||
name: 'MuiDivider'
|
||||
});
|
||||
const {
|
||||
absolute = false,
|
||||
children,
|
||||
className,
|
||||
orientation = 'horizontal',
|
||||
component = children || orientation === 'vertical' ? 'div' : 'hr',
|
||||
flexItem = false,
|
||||
light = false,
|
||||
role = component !== 'hr' ? 'separator' : undefined,
|
||||
textAlign = 'center',
|
||||
variant = 'fullWidth',
|
||||
...other
|
||||
} = props;
|
||||
const ownerState = {
|
||||
...props,
|
||||
absolute,
|
||||
component,
|
||||
flexItem,
|
||||
light,
|
||||
orientation,
|
||||
role,
|
||||
textAlign,
|
||||
variant
|
||||
};
|
||||
const classes = useUtilityClasses(ownerState);
|
||||
return /*#__PURE__*/(0, _jsxRuntime.jsx)(DividerRoot, {
|
||||
as: component,
|
||||
className: (0, _clsx.default)(classes.root, className),
|
||||
role: role,
|
||||
ref: ref,
|
||||
ownerState: ownerState,
|
||||
"aria-orientation": role === 'separator' && (component !== 'hr' || orientation === 'vertical') ? orientation : undefined,
|
||||
...other,
|
||||
children: children ? /*#__PURE__*/(0, _jsxRuntime.jsx)(DividerWrapper, {
|
||||
className: classes.wrapper,
|
||||
ownerState: ownerState,
|
||||
children: children
|
||||
}) : null
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* The following flag is used to ensure that this component isn't tabbable i.e.
|
||||
* does not get highlight/focus inside of MUI List.
|
||||
*/
|
||||
if (Divider) {
|
||||
Divider.muiSkipListHighlight = true;
|
||||
}
|
||||
process.env.NODE_ENV !== "production" ? Divider.propTypes /* remove-proptypes */ = {
|
||||
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
||||
// │ These PropTypes are generated from the TypeScript type definitions. │
|
||||
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
||||
// └─────────────────────────────────────────────────────────────────────┘
|
||||
/**
|
||||
* Absolutely position the element.
|
||||
* @default false
|
||||
*/
|
||||
absolute: _propTypes.default.bool,
|
||||
/**
|
||||
* The content of the component.
|
||||
*/
|
||||
children: _propTypes.default.node,
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes: _propTypes.default.object,
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
className: _propTypes.default.string,
|
||||
/**
|
||||
* The component used for the root node.
|
||||
* Either a string to use a HTML element or a component.
|
||||
*/
|
||||
component: _propTypes.default.elementType,
|
||||
/**
|
||||
* If `true`, a vertical divider will have the correct height when used in flex container.
|
||||
* (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
|
||||
* @default false
|
||||
*/
|
||||
flexItem: _propTypes.default.bool,
|
||||
/**
|
||||
* If `true`, the divider will have a lighter color.
|
||||
* @default false
|
||||
* @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
||||
*/
|
||||
light: _propTypes.default.bool,
|
||||
/**
|
||||
* The component orientation.
|
||||
* @default 'horizontal'
|
||||
*/
|
||||
orientation: _propTypes.default.oneOf(['horizontal', 'vertical']),
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
role: _propTypes.default /* @typescript-to-proptypes-ignore */.string,
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
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]),
|
||||
/**
|
||||
* The text alignment.
|
||||
* @default 'center'
|
||||
*/
|
||||
textAlign: _propTypes.default.oneOf(['center', 'left', 'right']),
|
||||
/**
|
||||
* The variant to use.
|
||||
* @default 'fullWidth'
|
||||
*/
|
||||
variant: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['fullWidth', 'inset', 'middle']), _propTypes.default.string])
|
||||
} : void 0;
|
||||
var _default = exports.default = Divider;
|
||||
38
node_modules/@mui/material/Divider/dividerClasses.d.ts
generated
vendored
Normal file
38
node_modules/@mui/material/Divider/dividerClasses.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
export interface DividerClasses {
|
||||
/** Styles applied to the root element. */
|
||||
root: string;
|
||||
/** Styles applied to the root element if `absolute={true}`. */
|
||||
absolute: string;
|
||||
/** Styles applied to the root element if `variant="inset"`. */
|
||||
inset: string;
|
||||
/** Styles applied to the root element if `variant="fullWidth"`. */
|
||||
fullWidth: string;
|
||||
/** Styles applied to the root element if `light={true}`.
|
||||
* @deprecated
|
||||
*/
|
||||
light: string;
|
||||
/** Styles applied to the root element if `variant="middle"`. */
|
||||
middle: string;
|
||||
/** Styles applied to the root element if `orientation="vertical"`. */
|
||||
vertical: string;
|
||||
/** Styles applied to the root element if `flexItem={true}`. */
|
||||
flexItem: string;
|
||||
/** Styles applied to the root element if divider have text. */
|
||||
withChildren: string;
|
||||
/** Styles applied to the root element if divider have text and `orientation="vertical"`.
|
||||
* @deprecated Combine the [.MuiDivider-withChildren](/material-ui/api/divider/#divider-classes-withChildren) and [.MuiDivider-vertical](/material-ui/api/divider/#divider-classes-vertical) classes instead.
|
||||
*/
|
||||
withChildrenVertical: string;
|
||||
/** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
|
||||
textAlignRight: string;
|
||||
/** Styles applied to the root element if `textAlign="left" orientation="horizontal"`. */
|
||||
textAlignLeft: string;
|
||||
/** Styles applied to the span children element if `orientation="horizontal"`. */
|
||||
wrapper: string;
|
||||
/** Styles applied to the span children element if `orientation="vertical"`. */
|
||||
wrapperVertical: string;
|
||||
}
|
||||
export type DividerClassKey = keyof DividerClasses;
|
||||
export declare function getDividerUtilityClass(slot: string): string;
|
||||
declare const dividerClasses: DividerClasses;
|
||||
export default dividerClasses;
|
||||
15
node_modules/@mui/material/Divider/dividerClasses.js
generated
vendored
Normal file
15
node_modules/@mui/material/Divider/dividerClasses.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
exports.getDividerUtilityClass = getDividerUtilityClass;
|
||||
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
||||
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
||||
function getDividerUtilityClass(slot) {
|
||||
return (0, _generateUtilityClass.default)('MuiDivider', slot);
|
||||
}
|
||||
const dividerClasses = (0, _generateUtilityClasses.default)('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
|
||||
var _default = exports.default = dividerClasses;
|
||||
4
node_modules/@mui/material/Divider/index.d.ts
generated
vendored
Normal file
4
node_modules/@mui/material/Divider/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export { default } from "./Divider.js";
|
||||
export * from "./Divider.js";
|
||||
export { default as dividerClasses } from "./dividerClasses.js";
|
||||
export * from "./dividerClasses.js";
|
||||
35
node_modules/@mui/material/Divider/index.js
generated
vendored
Normal file
35
node_modules/@mui/material/Divider/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
var _exportNames = {
|
||||
dividerClasses: true
|
||||
};
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _Divider.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "dividerClasses", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _dividerClasses.default;
|
||||
}
|
||||
});
|
||||
var _Divider = _interopRequireDefault(require("./Divider"));
|
||||
var _dividerClasses = _interopRequireWildcard(require("./dividerClasses"));
|
||||
Object.keys(_dividerClasses).forEach(function (key) {
|
||||
if (key === "default" || key === "__esModule") return;
|
||||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
||||
if (key in exports && exports[key] === _dividerClasses[key]) return;
|
||||
Object.defineProperty(exports, key, {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _dividerClasses[key];
|
||||
}
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue