tp-react-elements-dev 1.5.6 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Form/FormRender.d.ts +9 -1
- package/dist/components/Form/Select/SingleSelectForPagination.d.ts +3 -1
- package/dist/components/Form/Select/SingleSelectSearchApi.d.ts +5 -0
- package/dist/index.esm.js +779 -257
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +779 -257
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.esm.js
CHANGED
|
@@ -8337,7 +8337,7 @@ var getDisplayName = /*#__PURE__*/Object.freeze({
|
|
|
8337
8337
|
|
|
8338
8338
|
var require$$6 = /*@__PURE__*/getAugmentedNamespace(getDisplayName);
|
|
8339
8339
|
|
|
8340
|
-
const _excluded$
|
|
8340
|
+
const _excluded$1o = ["values", "unit", "step"];
|
|
8341
8341
|
const sortBreakpointsValues = values => {
|
|
8342
8342
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
8343
8343
|
key,
|
|
@@ -8371,7 +8371,7 @@ function createBreakpoints(breakpoints) {
|
|
|
8371
8371
|
unit = 'px',
|
|
8372
8372
|
step = 5
|
|
8373
8373
|
} = breakpoints,
|
|
8374
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$
|
|
8374
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$1o);
|
|
8375
8375
|
const sortedValues = sortBreakpointsValues(values);
|
|
8376
8376
|
const keys = Object.keys(sortedValues);
|
|
8377
8377
|
function up(key) {
|
|
@@ -8494,6 +8494,11 @@ function removeUnusedBreakpoints(breakpointKeys, style) {
|
|
|
8494
8494
|
return acc;
|
|
8495
8495
|
}, style);
|
|
8496
8496
|
}
|
|
8497
|
+
function mergeBreakpointsInOrder(breakpointsInput, ...styles) {
|
|
8498
|
+
const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
|
|
8499
|
+
const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge$1(prev, next), {});
|
|
8500
|
+
return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
|
|
8501
|
+
}
|
|
8497
8502
|
|
|
8498
8503
|
// compute base for responsive values; e.g.,
|
|
8499
8504
|
// [1,2,3] => {xs: true, sm: true, md: true}
|
|
@@ -8578,7 +8583,7 @@ function getStyleValue$1(themeMapping, transform, propValueFinal, userValue = pr
|
|
|
8578
8583
|
}
|
|
8579
8584
|
return value;
|
|
8580
8585
|
}
|
|
8581
|
-
function style$
|
|
8586
|
+
function style$3(options) {
|
|
8582
8587
|
const {
|
|
8583
8588
|
prop,
|
|
8584
8589
|
cssProperty = options.prop,
|
|
@@ -8739,12 +8744,12 @@ function resolveCssProperty(props, keys, prop, transformer) {
|
|
|
8739
8744
|
const propValue = props[prop];
|
|
8740
8745
|
return handleBreakpoints(props, propValue, styleFromPropValue);
|
|
8741
8746
|
}
|
|
8742
|
-
function style$
|
|
8747
|
+
function style$2(props, keys) {
|
|
8743
8748
|
const transformer = createUnarySpacing(props.theme);
|
|
8744
8749
|
return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
|
|
8745
8750
|
}
|
|
8746
8751
|
function margin(props) {
|
|
8747
|
-
return style$
|
|
8752
|
+
return style$2(props, marginKeys);
|
|
8748
8753
|
}
|
|
8749
8754
|
margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {
|
|
8750
8755
|
obj[key] = responsivePropType;
|
|
@@ -8752,7 +8757,7 @@ margin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((ob
|
|
|
8752
8757
|
}, {}) : {};
|
|
8753
8758
|
margin.filterProps = marginKeys;
|
|
8754
8759
|
function padding(props) {
|
|
8755
|
-
return style$
|
|
8760
|
+
return style$2(props, paddingKeys);
|
|
8756
8761
|
}
|
|
8757
8762
|
padding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {
|
|
8758
8763
|
obj[key] = responsivePropType;
|
|
@@ -8825,7 +8830,7 @@ function borderTransform(value) {
|
|
|
8825
8830
|
return `${value}px solid`;
|
|
8826
8831
|
}
|
|
8827
8832
|
function createBorderStyle(prop, transform) {
|
|
8828
|
-
return style$
|
|
8833
|
+
return style$3({
|
|
8829
8834
|
prop,
|
|
8830
8835
|
themeKey: 'borders',
|
|
8831
8836
|
transform
|
|
@@ -8912,31 +8917,31 @@ rowGap.propTypes = process.env.NODE_ENV !== 'production' ? {
|
|
|
8912
8917
|
rowGap: responsivePropType
|
|
8913
8918
|
} : {};
|
|
8914
8919
|
rowGap.filterProps = ['rowGap'];
|
|
8915
|
-
const gridColumn = style$
|
|
8920
|
+
const gridColumn = style$3({
|
|
8916
8921
|
prop: 'gridColumn'
|
|
8917
8922
|
});
|
|
8918
|
-
const gridRow = style$
|
|
8923
|
+
const gridRow = style$3({
|
|
8919
8924
|
prop: 'gridRow'
|
|
8920
8925
|
});
|
|
8921
|
-
const gridAutoFlow = style$
|
|
8926
|
+
const gridAutoFlow = style$3({
|
|
8922
8927
|
prop: 'gridAutoFlow'
|
|
8923
8928
|
});
|
|
8924
|
-
const gridAutoColumns = style$
|
|
8929
|
+
const gridAutoColumns = style$3({
|
|
8925
8930
|
prop: 'gridAutoColumns'
|
|
8926
8931
|
});
|
|
8927
|
-
const gridAutoRows = style$
|
|
8932
|
+
const gridAutoRows = style$3({
|
|
8928
8933
|
prop: 'gridAutoRows'
|
|
8929
8934
|
});
|
|
8930
|
-
const gridTemplateColumns = style$
|
|
8935
|
+
const gridTemplateColumns = style$3({
|
|
8931
8936
|
prop: 'gridTemplateColumns'
|
|
8932
8937
|
});
|
|
8933
|
-
const gridTemplateRows = style$
|
|
8938
|
+
const gridTemplateRows = style$3({
|
|
8934
8939
|
prop: 'gridTemplateRows'
|
|
8935
8940
|
});
|
|
8936
|
-
const gridTemplateAreas = style$
|
|
8941
|
+
const gridTemplateAreas = style$3({
|
|
8937
8942
|
prop: 'gridTemplateAreas'
|
|
8938
8943
|
});
|
|
8939
|
-
const gridArea = style$
|
|
8944
|
+
const gridArea = style$3({
|
|
8940
8945
|
prop: 'gridArea'
|
|
8941
8946
|
});
|
|
8942
8947
|
compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
|
|
@@ -8947,18 +8952,18 @@ function paletteTransform(value, userValue) {
|
|
|
8947
8952
|
}
|
|
8948
8953
|
return value;
|
|
8949
8954
|
}
|
|
8950
|
-
const color = style$
|
|
8955
|
+
const color = style$3({
|
|
8951
8956
|
prop: 'color',
|
|
8952
8957
|
themeKey: 'palette',
|
|
8953
8958
|
transform: paletteTransform
|
|
8954
8959
|
});
|
|
8955
|
-
const bgcolor = style$
|
|
8960
|
+
const bgcolor = style$3({
|
|
8956
8961
|
prop: 'bgcolor',
|
|
8957
8962
|
cssProperty: 'backgroundColor',
|
|
8958
8963
|
themeKey: 'palette',
|
|
8959
8964
|
transform: paletteTransform
|
|
8960
8965
|
});
|
|
8961
|
-
const backgroundColor = style$
|
|
8966
|
+
const backgroundColor = style$3({
|
|
8962
8967
|
prop: 'backgroundColor',
|
|
8963
8968
|
themeKey: 'palette',
|
|
8964
8969
|
transform: paletteTransform
|
|
@@ -8968,7 +8973,7 @@ compose(color, bgcolor, backgroundColor);
|
|
|
8968
8973
|
function sizingTransform(value) {
|
|
8969
8974
|
return value <= 1 && value !== 0 ? `${value * 100}%` : value;
|
|
8970
8975
|
}
|
|
8971
|
-
const width = style$
|
|
8976
|
+
const width = style$3({
|
|
8972
8977
|
prop: 'width',
|
|
8973
8978
|
transform: sizingTransform
|
|
8974
8979
|
});
|
|
@@ -8996,33 +9001,33 @@ const maxWidth = props => {
|
|
|
8996
9001
|
return null;
|
|
8997
9002
|
};
|
|
8998
9003
|
maxWidth.filterProps = ['maxWidth'];
|
|
8999
|
-
const minWidth = style$
|
|
9004
|
+
const minWidth = style$3({
|
|
9000
9005
|
prop: 'minWidth',
|
|
9001
9006
|
transform: sizingTransform
|
|
9002
9007
|
});
|
|
9003
|
-
const height = style$
|
|
9008
|
+
const height = style$3({
|
|
9004
9009
|
prop: 'height',
|
|
9005
9010
|
transform: sizingTransform
|
|
9006
9011
|
});
|
|
9007
|
-
const maxHeight = style$
|
|
9012
|
+
const maxHeight = style$3({
|
|
9008
9013
|
prop: 'maxHeight',
|
|
9009
9014
|
transform: sizingTransform
|
|
9010
9015
|
});
|
|
9011
|
-
const minHeight = style$
|
|
9016
|
+
const minHeight = style$3({
|
|
9012
9017
|
prop: 'minHeight',
|
|
9013
9018
|
transform: sizingTransform
|
|
9014
9019
|
});
|
|
9015
|
-
style$
|
|
9020
|
+
style$3({
|
|
9016
9021
|
prop: 'size',
|
|
9017
9022
|
cssProperty: 'width',
|
|
9018
9023
|
transform: sizingTransform
|
|
9019
9024
|
});
|
|
9020
|
-
style$
|
|
9025
|
+
style$3({
|
|
9021
9026
|
prop: 'size',
|
|
9022
9027
|
cssProperty: 'height',
|
|
9023
9028
|
transform: sizingTransform
|
|
9024
9029
|
});
|
|
9025
|
-
const boxSizing = style$
|
|
9030
|
+
const boxSizing = style$3({
|
|
9026
9031
|
prop: 'boxSizing'
|
|
9027
9032
|
});
|
|
9028
9033
|
compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
|
|
@@ -9510,7 +9515,7 @@ function applyStyles$2(key, styles) {
|
|
|
9510
9515
|
return {};
|
|
9511
9516
|
}
|
|
9512
9517
|
|
|
9513
|
-
const _excluded$
|
|
9518
|
+
const _excluded$1n = ["breakpoints", "palette", "spacing", "shape"];
|
|
9514
9519
|
function createTheme$2(options = {}, ...args) {
|
|
9515
9520
|
const {
|
|
9516
9521
|
breakpoints: breakpointsInput = {},
|
|
@@ -9518,7 +9523,7 @@ function createTheme$2(options = {}, ...args) {
|
|
|
9518
9523
|
spacing: spacingInput,
|
|
9519
9524
|
shape: shapeInput = {}
|
|
9520
9525
|
} = options,
|
|
9521
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
9526
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$1n);
|
|
9522
9527
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
9523
9528
|
const spacing = createSpacing(spacingInput);
|
|
9524
9529
|
let muiTheme = deepmerge$1({
|
|
@@ -9553,7 +9558,7 @@ var createTheme$1 = /*#__PURE__*/Object.freeze({
|
|
|
9553
9558
|
|
|
9554
9559
|
var require$$7 = /*@__PURE__*/getAugmentedNamespace(createTheme$1);
|
|
9555
9560
|
|
|
9556
|
-
const _excluded$
|
|
9561
|
+
const _excluded$1m = ["sx"];
|
|
9557
9562
|
const splitProps = props => {
|
|
9558
9563
|
var _props$theme$unstable, _props$theme;
|
|
9559
9564
|
const result = {
|
|
@@ -9574,7 +9579,7 @@ function extendSxProp(props) {
|
|
|
9574
9579
|
const {
|
|
9575
9580
|
sx: inSx
|
|
9576
9581
|
} = props,
|
|
9577
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9582
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1m);
|
|
9578
9583
|
const {
|
|
9579
9584
|
systemProps,
|
|
9580
9585
|
otherProps
|
|
@@ -9623,7 +9628,7 @@ var _capitalize = _interopRequireDefault$6(require$$5);
|
|
|
9623
9628
|
var _getDisplayName = _interopRequireDefault$6(require$$6);
|
|
9624
9629
|
var _createTheme = _interopRequireDefault$6(require$$7);
|
|
9625
9630
|
var _styleFunctionSx = _interopRequireDefault$6(require$$8);
|
|
9626
|
-
const _excluded$
|
|
9631
|
+
const _excluded$1l = ["ownerState"],
|
|
9627
9632
|
_excluded2$d = ["variants"],
|
|
9628
9633
|
_excluded3$6 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
9629
9634
|
/* eslint-disable no-underscore-dangle */
|
|
@@ -9670,7 +9675,7 @@ function processStyleArg$1(callableStyle, _ref) {
|
|
|
9670
9675
|
let {
|
|
9671
9676
|
ownerState
|
|
9672
9677
|
} = _ref,
|
|
9673
|
-
props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$
|
|
9678
|
+
props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$1l);
|
|
9674
9679
|
const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({
|
|
9675
9680
|
ownerState
|
|
9676
9681
|
}, props)) : callableStyle;
|
|
@@ -10420,7 +10425,7 @@ const green = {
|
|
|
10420
10425
|
A700: '#00c853'
|
|
10421
10426
|
};
|
|
10422
10427
|
|
|
10423
|
-
const _excluded$
|
|
10428
|
+
const _excluded$1k = ["mode", "contrastThreshold", "tonalOffset"];
|
|
10424
10429
|
const light = {
|
|
10425
10430
|
// The colors used to style the text.
|
|
10426
10431
|
text: {
|
|
@@ -10589,7 +10594,7 @@ function createPalette(palette) {
|
|
|
10589
10594
|
contrastThreshold = 3,
|
|
10590
10595
|
tonalOffset = 0.2
|
|
10591
10596
|
} = palette,
|
|
10592
|
-
other = _objectWithoutPropertiesLoose(palette, _excluded$
|
|
10597
|
+
other = _objectWithoutPropertiesLoose(palette, _excluded$1k);
|
|
10593
10598
|
const primary = palette.primary || getDefaultPrimary(mode);
|
|
10594
10599
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
|
10595
10600
|
const error = palette.error || getDefaultError(mode);
|
|
@@ -10713,7 +10718,7 @@ const theme2 = createTheme({ palette: {
|
|
|
10713
10718
|
return paletteOutput;
|
|
10714
10719
|
}
|
|
10715
10720
|
|
|
10716
|
-
const _excluded$
|
|
10721
|
+
const _excluded$1j = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
10717
10722
|
function round$2(value) {
|
|
10718
10723
|
return Math.round(value * 1e5) / 1e5;
|
|
10719
10724
|
}
|
|
@@ -10744,7 +10749,7 @@ function createTypography(palette, typography) {
|
|
|
10744
10749
|
allVariants,
|
|
10745
10750
|
pxToRem: pxToRem2
|
|
10746
10751
|
} = _ref,
|
|
10747
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10752
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
|
|
10748
10753
|
if (process.env.NODE_ENV !== 'production') {
|
|
10749
10754
|
if (typeof fontSize !== 'number') {
|
|
10750
10755
|
console.error('MUI: `fontSize` is required to be a number.');
|
|
@@ -10811,7 +10816,7 @@ function createShadow(...px) {
|
|
|
10811
10816
|
// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
|
|
10812
10817
|
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
10813
10818
|
|
|
10814
|
-
const _excluded$
|
|
10819
|
+
const _excluded$1i = ["duration", "easing", "delay"];
|
|
10815
10820
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
10816
10821
|
// to learn the context in which each easing should be used.
|
|
10817
10822
|
const easing = {
|
|
@@ -10862,7 +10867,7 @@ function createTransitions(inputTransitions) {
|
|
|
10862
10867
|
easing: easingOption = mergedEasing.easeInOut,
|
|
10863
10868
|
delay = 0
|
|
10864
10869
|
} = options,
|
|
10865
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
10870
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$1i);
|
|
10866
10871
|
if (process.env.NODE_ENV !== 'production') {
|
|
10867
10872
|
const isString = value => typeof value === 'string';
|
|
10868
10873
|
// IE11 support, replace with Number.isNaN
|
|
@@ -10911,7 +10916,7 @@ const zIndex = {
|
|
|
10911
10916
|
tooltip: 1500
|
|
10912
10917
|
};
|
|
10913
10918
|
|
|
10914
|
-
const _excluded$
|
|
10919
|
+
const _excluded$1h = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
10915
10920
|
function createTheme(options = {}, ...args) {
|
|
10916
10921
|
const {
|
|
10917
10922
|
mixins: mixinsInput = {},
|
|
@@ -10919,7 +10924,7 @@ function createTheme(options = {}, ...args) {
|
|
|
10919
10924
|
transitions: transitionsInput = {},
|
|
10920
10925
|
typography: typographyInput = {}
|
|
10921
10926
|
} = options,
|
|
10922
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
10927
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$1h);
|
|
10923
10928
|
if (options.vars) {
|
|
10924
10929
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
|
|
10925
10930
|
Please use another name.` : formatMuiErrorMessage$1(18));
|
|
@@ -10977,7 +10982,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
10977
10982
|
return muiTheme;
|
|
10978
10983
|
}
|
|
10979
10984
|
|
|
10980
|
-
const defaultTheme$
|
|
10985
|
+
const defaultTheme$3 = createTheme();
|
|
10981
10986
|
|
|
10982
10987
|
var THEME_ID = '$$material';
|
|
10983
10988
|
|
|
@@ -10990,7 +10995,7 @@ const rootShouldForwardProp = prop => slotShouldForwardProp(prop) && prop !== 'c
|
|
|
10990
10995
|
|
|
10991
10996
|
const styled$1 = _default({
|
|
10992
10997
|
themeId: THEME_ID,
|
|
10993
|
-
defaultTheme: defaultTheme$
|
|
10998
|
+
defaultTheme: defaultTheme$3,
|
|
10994
10999
|
rootShouldForwardProp
|
|
10995
11000
|
});
|
|
10996
11001
|
|
|
@@ -11078,7 +11083,7 @@ function useThemeProps$1({
|
|
|
11078
11083
|
return useThemeProps$2({
|
|
11079
11084
|
props,
|
|
11080
11085
|
name,
|
|
11081
|
-
defaultTheme: defaultTheme$
|
|
11086
|
+
defaultTheme: defaultTheme$3,
|
|
11082
11087
|
themeId: THEME_ID
|
|
11083
11088
|
});
|
|
11084
11089
|
}
|
|
@@ -11865,7 +11870,7 @@ function mergeSlotProps(parameters) {
|
|
|
11865
11870
|
};
|
|
11866
11871
|
}
|
|
11867
11872
|
|
|
11868
|
-
const _excluded$
|
|
11873
|
+
const _excluded$1g = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
11869
11874
|
/**
|
|
11870
11875
|
* @ignore - do not document.
|
|
11871
11876
|
* Builds the props to be passed into the slot of an unstyled component.
|
|
@@ -11882,7 +11887,7 @@ function useSlotProps(parameters) {
|
|
|
11882
11887
|
ownerState,
|
|
11883
11888
|
skipResolvingSlotProps = false
|
|
11884
11889
|
} = parameters,
|
|
11885
|
-
rest = _objectWithoutPropertiesLoose(parameters, _excluded$
|
|
11890
|
+
rest = _objectWithoutPropertiesLoose(parameters, _excluded$1g);
|
|
11886
11891
|
const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);
|
|
11887
11892
|
const {
|
|
11888
11893
|
props: mergedProps,
|
|
@@ -14701,7 +14706,7 @@ function getPopperUtilityClass(slot) {
|
|
|
14701
14706
|
}
|
|
14702
14707
|
generateUtilityClasses(COMPONENT_NAME, ['root']);
|
|
14703
14708
|
|
|
14704
|
-
const _excluded$
|
|
14709
|
+
const _excluded$1f = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
|
|
14705
14710
|
_excluded2$c = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
14706
14711
|
function flipPlacement(placement, direction) {
|
|
14707
14712
|
if (direction === 'ltr') {
|
|
@@ -14729,7 +14734,7 @@ function isHTMLElement(element) {
|
|
|
14729
14734
|
function isVirtualElement(element) {
|
|
14730
14735
|
return !isHTMLElement(element);
|
|
14731
14736
|
}
|
|
14732
|
-
const useUtilityClasses$
|
|
14737
|
+
const useUtilityClasses$W = () => {
|
|
14733
14738
|
const slots = {
|
|
14734
14739
|
root: ['root']
|
|
14735
14740
|
};
|
|
@@ -14754,7 +14759,7 @@ const PopperTooltip = /*#__PURE__*/React$1.forwardRef(function PopperTooltip(pro
|
|
|
14754
14759
|
// @ts-ignore internal logic
|
|
14755
14760
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
14756
14761
|
} = props,
|
|
14757
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14762
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1f);
|
|
14758
14763
|
const tooltipRef = React$1.useRef(null);
|
|
14759
14764
|
const ownRef = useForkRef(tooltipRef, forwardedRef);
|
|
14760
14765
|
const popperRef = React$1.useRef(null);
|
|
@@ -14839,7 +14844,7 @@ const PopperTooltip = /*#__PURE__*/React$1.forwardRef(function PopperTooltip(pro
|
|
|
14839
14844
|
if (TransitionProps !== null) {
|
|
14840
14845
|
childProps.TransitionProps = TransitionProps;
|
|
14841
14846
|
}
|
|
14842
|
-
const classes = useUtilityClasses$
|
|
14847
|
+
const classes = useUtilityClasses$W();
|
|
14843
14848
|
const Root = (_slots$root = slots.root) != null ? _slots$root : 'div';
|
|
14844
14849
|
const rootProps = useSlotProps({
|
|
14845
14850
|
elementType: Root,
|
|
@@ -15065,7 +15070,7 @@ process.env.NODE_ENV !== "production" ? Popper$1.propTypes /* remove-proptypes *
|
|
|
15065
15070
|
transition: PropTypes.bool
|
|
15066
15071
|
} : void 0;
|
|
15067
15072
|
|
|
15068
|
-
const _excluded$
|
|
15073
|
+
const _excluded$1e = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
15069
15074
|
function getStyleValue(value) {
|
|
15070
15075
|
return parseInt(value, 10) || 0;
|
|
15071
15076
|
}
|
|
@@ -15107,7 +15112,7 @@ const TextareaAutosize = /*#__PURE__*/React$1.forwardRef(function TextareaAutosi
|
|
|
15107
15112
|
style,
|
|
15108
15113
|
value
|
|
15109
15114
|
} = props,
|
|
15110
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
15115
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1e);
|
|
15111
15116
|
const {
|
|
15112
15117
|
current: isControlled
|
|
15113
15118
|
} = React$1.useRef(value != null);
|
|
@@ -16321,7 +16326,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes /* remove-propt
|
|
|
16321
16326
|
themeId: PropTypes.string
|
|
16322
16327
|
} : void 0;
|
|
16323
16328
|
|
|
16324
|
-
const _excluded$
|
|
16329
|
+
const _excluded$1d = ["className", "component"];
|
|
16325
16330
|
function createBox(options = {}) {
|
|
16326
16331
|
const {
|
|
16327
16332
|
themeId,
|
|
@@ -16339,7 +16344,7 @@ function createBox(options = {}) {
|
|
|
16339
16344
|
className,
|
|
16340
16345
|
component = 'div'
|
|
16341
16346
|
} = _extendSxProp,
|
|
16342
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$
|
|
16347
|
+
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$1d);
|
|
16343
16348
|
return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$1({
|
|
16344
16349
|
as: component,
|
|
16345
16350
|
ref: ref,
|
|
@@ -16350,7 +16355,7 @@ function createBox(options = {}) {
|
|
|
16350
16355
|
return Box;
|
|
16351
16356
|
}
|
|
16352
16357
|
|
|
16353
|
-
const _excluded$
|
|
16358
|
+
const _excluded$1c = ["ownerState"],
|
|
16354
16359
|
_excluded2$b = ["variants"],
|
|
16355
16360
|
_excluded3$5 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
16356
16361
|
function isEmpty$2(obj) {
|
|
@@ -16394,7 +16399,7 @@ function processStyleArg(callableStyle, _ref) {
|
|
|
16394
16399
|
let {
|
|
16395
16400
|
ownerState
|
|
16396
16401
|
} = _ref,
|
|
16397
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
16402
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
|
|
16398
16403
|
const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle(_extends$1({
|
|
16399
16404
|
ownerState
|
|
16400
16405
|
}, props)) : callableStyle;
|
|
@@ -16885,9 +16890,9 @@ function toPropertyKey(t) {
|
|
|
16885
16890
|
return "symbol" == _typeof$1(i) ? i : i + "";
|
|
16886
16891
|
}
|
|
16887
16892
|
|
|
16888
|
-
const _excluded$
|
|
16889
|
-
const defaultTheme$
|
|
16890
|
-
const defaultCreateStyledComponent = styled('div', {
|
|
16893
|
+
const _excluded$1b = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
|
|
16894
|
+
const defaultTheme$2 = createTheme$2();
|
|
16895
|
+
const defaultCreateStyledComponent$1 = styled('div', {
|
|
16891
16896
|
name: 'MuiContainer',
|
|
16892
16897
|
slot: 'Root',
|
|
16893
16898
|
overridesResolver: (props, styles) => {
|
|
@@ -16897,12 +16902,12 @@ const defaultCreateStyledComponent = styled('div', {
|
|
|
16897
16902
|
return [styles.root, styles[`maxWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
|
|
16898
16903
|
}
|
|
16899
16904
|
});
|
|
16900
|
-
const useThemePropsDefault = inProps => useThemeProps$2({
|
|
16905
|
+
const useThemePropsDefault$1 = inProps => useThemeProps$2({
|
|
16901
16906
|
props: inProps,
|
|
16902
16907
|
name: 'MuiContainer',
|
|
16903
|
-
defaultTheme: defaultTheme$
|
|
16908
|
+
defaultTheme: defaultTheme$2
|
|
16904
16909
|
});
|
|
16905
|
-
const useUtilityClasses$
|
|
16910
|
+
const useUtilityClasses$V = (ownerState, componentName) => {
|
|
16906
16911
|
const getContainerUtilityClass = slot => {
|
|
16907
16912
|
return generateUtilityClass$1(componentName, slot);
|
|
16908
16913
|
};
|
|
@@ -16920,8 +16925,8 @@ const useUtilityClasses$U = (ownerState, componentName) => {
|
|
|
16920
16925
|
function createContainer(options = {}) {
|
|
16921
16926
|
const {
|
|
16922
16927
|
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
16923
|
-
createStyledComponent = defaultCreateStyledComponent,
|
|
16924
|
-
useThemeProps = useThemePropsDefault,
|
|
16928
|
+
createStyledComponent = defaultCreateStyledComponent$1,
|
|
16929
|
+
useThemeProps = useThemePropsDefault$1,
|
|
16925
16930
|
componentName = 'MuiContainer'
|
|
16926
16931
|
} = options;
|
|
16927
16932
|
const ContainerRoot = createStyledComponent(({
|
|
@@ -16981,7 +16986,7 @@ function createContainer(options = {}) {
|
|
|
16981
16986
|
fixed = false,
|
|
16982
16987
|
maxWidth = 'lg'
|
|
16983
16988
|
} = props,
|
|
16984
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
16989
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1b);
|
|
16985
16990
|
const ownerState = _extends$1({}, props, {
|
|
16986
16991
|
component,
|
|
16987
16992
|
disableGutters,
|
|
@@ -16990,7 +16995,7 @@ function createContainer(options = {}) {
|
|
|
16990
16995
|
});
|
|
16991
16996
|
|
|
16992
16997
|
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
16993
|
-
const classes = useUtilityClasses$
|
|
16998
|
+
const classes = useUtilityClasses$V(ownerState, componentName);
|
|
16994
16999
|
return (
|
|
16995
17000
|
/*#__PURE__*/
|
|
16996
17001
|
// @ts-ignore theme is injected by the styled util
|
|
@@ -17017,9 +17022,168 @@ function createContainer(options = {}) {
|
|
|
17017
17022
|
return Container;
|
|
17018
17023
|
}
|
|
17019
17024
|
|
|
17025
|
+
const _excluded$1a = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
|
|
17026
|
+
const defaultTheme$1 = createTheme$2();
|
|
17027
|
+
// widening Theme to any so that the consumer can own the theme structure.
|
|
17028
|
+
const defaultCreateStyledComponent = styled('div', {
|
|
17029
|
+
name: 'MuiStack',
|
|
17030
|
+
slot: 'Root',
|
|
17031
|
+
overridesResolver: (props, styles) => styles.root
|
|
17032
|
+
});
|
|
17033
|
+
function useThemePropsDefault(props) {
|
|
17034
|
+
return useThemeProps$2({
|
|
17035
|
+
props,
|
|
17036
|
+
name: 'MuiStack',
|
|
17037
|
+
defaultTheme: defaultTheme$1
|
|
17038
|
+
});
|
|
17039
|
+
}
|
|
17040
|
+
|
|
17041
|
+
/**
|
|
17042
|
+
* Return an array with the separator React element interspersed between
|
|
17043
|
+
* each React node of the input children.
|
|
17044
|
+
*
|
|
17045
|
+
* > joinChildren([1,2,3], 0)
|
|
17046
|
+
* [1,0,2,0,3]
|
|
17047
|
+
*/
|
|
17048
|
+
function joinChildren(children, separator) {
|
|
17049
|
+
const childrenArray = React$1.Children.toArray(children).filter(Boolean);
|
|
17050
|
+
return childrenArray.reduce((output, child, index) => {
|
|
17051
|
+
output.push(child);
|
|
17052
|
+
if (index < childrenArray.length - 1) {
|
|
17053
|
+
output.push( /*#__PURE__*/React$1.cloneElement(separator, {
|
|
17054
|
+
key: `separator-${index}`
|
|
17055
|
+
}));
|
|
17056
|
+
}
|
|
17057
|
+
return output;
|
|
17058
|
+
}, []);
|
|
17059
|
+
}
|
|
17060
|
+
const getSideFromDirection = direction => {
|
|
17061
|
+
return {
|
|
17062
|
+
row: 'Left',
|
|
17063
|
+
'row-reverse': 'Right',
|
|
17064
|
+
column: 'Top',
|
|
17065
|
+
'column-reverse': 'Bottom'
|
|
17066
|
+
}[direction];
|
|
17067
|
+
};
|
|
17068
|
+
const style$1 = ({
|
|
17069
|
+
ownerState,
|
|
17070
|
+
theme
|
|
17071
|
+
}) => {
|
|
17072
|
+
let styles = _extends$1({
|
|
17073
|
+
display: 'flex',
|
|
17074
|
+
flexDirection: 'column'
|
|
17075
|
+
}, handleBreakpoints({
|
|
17076
|
+
theme
|
|
17077
|
+
}, resolveBreakpointValues({
|
|
17078
|
+
values: ownerState.direction,
|
|
17079
|
+
breakpoints: theme.breakpoints.values
|
|
17080
|
+
}), propValue => ({
|
|
17081
|
+
flexDirection: propValue
|
|
17082
|
+
})));
|
|
17083
|
+
if (ownerState.spacing) {
|
|
17084
|
+
const transformer = createUnarySpacing(theme);
|
|
17085
|
+
const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
|
|
17086
|
+
if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {
|
|
17087
|
+
acc[breakpoint] = true;
|
|
17088
|
+
}
|
|
17089
|
+
return acc;
|
|
17090
|
+
}, {});
|
|
17091
|
+
const directionValues = resolveBreakpointValues({
|
|
17092
|
+
values: ownerState.direction,
|
|
17093
|
+
base
|
|
17094
|
+
});
|
|
17095
|
+
const spacingValues = resolveBreakpointValues({
|
|
17096
|
+
values: ownerState.spacing,
|
|
17097
|
+
base
|
|
17098
|
+
});
|
|
17099
|
+
if (typeof directionValues === 'object') {
|
|
17100
|
+
Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {
|
|
17101
|
+
const directionValue = directionValues[breakpoint];
|
|
17102
|
+
if (!directionValue) {
|
|
17103
|
+
const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';
|
|
17104
|
+
directionValues[breakpoint] = previousDirectionValue;
|
|
17105
|
+
}
|
|
17106
|
+
});
|
|
17107
|
+
}
|
|
17108
|
+
const styleFromPropValue = (propValue, breakpoint) => {
|
|
17109
|
+
if (ownerState.useFlexGap) {
|
|
17110
|
+
return {
|
|
17111
|
+
gap: getValue(transformer, propValue)
|
|
17112
|
+
};
|
|
17113
|
+
}
|
|
17114
|
+
return {
|
|
17115
|
+
// The useFlexGap={false} implement relies on each child to give up control of the margin.
|
|
17116
|
+
// We need to reset the margin to avoid double spacing.
|
|
17117
|
+
'& > :not(style):not(style)': {
|
|
17118
|
+
margin: 0
|
|
17119
|
+
},
|
|
17120
|
+
'& > :not(style) ~ :not(style)': {
|
|
17121
|
+
[`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)
|
|
17122
|
+
}
|
|
17123
|
+
};
|
|
17124
|
+
};
|
|
17125
|
+
styles = deepmerge$1(styles, handleBreakpoints({
|
|
17126
|
+
theme
|
|
17127
|
+
}, spacingValues, styleFromPropValue));
|
|
17128
|
+
}
|
|
17129
|
+
styles = mergeBreakpointsInOrder(theme.breakpoints, styles);
|
|
17130
|
+
return styles;
|
|
17131
|
+
};
|
|
17132
|
+
function createStack(options = {}) {
|
|
17133
|
+
const {
|
|
17134
|
+
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
17135
|
+
createStyledComponent = defaultCreateStyledComponent,
|
|
17136
|
+
useThemeProps = useThemePropsDefault,
|
|
17137
|
+
componentName = 'MuiStack'
|
|
17138
|
+
} = options;
|
|
17139
|
+
const useUtilityClasses = () => {
|
|
17140
|
+
const slots = {
|
|
17141
|
+
root: ['root']
|
|
17142
|
+
};
|
|
17143
|
+
return composeClasses(slots, slot => generateUtilityClass$1(componentName, slot), {});
|
|
17144
|
+
};
|
|
17145
|
+
const StackRoot = createStyledComponent(style$1);
|
|
17146
|
+
const Stack = /*#__PURE__*/React$1.forwardRef(function Grid(inProps, ref) {
|
|
17147
|
+
const themeProps = useThemeProps(inProps);
|
|
17148
|
+
const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.
|
|
17149
|
+
const {
|
|
17150
|
+
component = 'div',
|
|
17151
|
+
direction = 'column',
|
|
17152
|
+
spacing = 0,
|
|
17153
|
+
divider,
|
|
17154
|
+
children,
|
|
17155
|
+
className,
|
|
17156
|
+
useFlexGap = false
|
|
17157
|
+
} = props,
|
|
17158
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1a);
|
|
17159
|
+
const ownerState = {
|
|
17160
|
+
direction,
|
|
17161
|
+
spacing,
|
|
17162
|
+
useFlexGap
|
|
17163
|
+
};
|
|
17164
|
+
const classes = useUtilityClasses();
|
|
17165
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(StackRoot, _extends$1({
|
|
17166
|
+
as: component,
|
|
17167
|
+
ownerState: ownerState,
|
|
17168
|
+
ref: ref,
|
|
17169
|
+
className: clsx(classes.root, className)
|
|
17170
|
+
}, other, {
|
|
17171
|
+
children: divider ? joinChildren(children, divider) : children
|
|
17172
|
+
}));
|
|
17173
|
+
});
|
|
17174
|
+
process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ = {
|
|
17175
|
+
children: PropTypes.node,
|
|
17176
|
+
direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
17177
|
+
divider: PropTypes.node,
|
|
17178
|
+
spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
17179
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
17180
|
+
} : void 0;
|
|
17181
|
+
return Stack;
|
|
17182
|
+
}
|
|
17183
|
+
|
|
17020
17184
|
function GlobalStyles(props) {
|
|
17021
17185
|
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$1, _extends$1({}, props, {
|
|
17022
|
-
defaultTheme: defaultTheme$
|
|
17186
|
+
defaultTheme: defaultTheme$3,
|
|
17023
17187
|
themeId: THEME_ID
|
|
17024
17188
|
}));
|
|
17025
17189
|
}
|
|
@@ -17070,7 +17234,7 @@ function getInputBaseUtilityClass(slot) {
|
|
|
17070
17234
|
}
|
|
17071
17235
|
const inputBaseClasses = generateUtilityClasses$1('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
|
|
17072
17236
|
|
|
17073
|
-
const _excluded$
|
|
17237
|
+
const _excluded$19 = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
|
|
17074
17238
|
const rootOverridesResolver = (props, styles) => {
|
|
17075
17239
|
const {
|
|
17076
17240
|
ownerState
|
|
@@ -17083,7 +17247,7 @@ const inputOverridesResolver = (props, styles) => {
|
|
|
17083
17247
|
} = props;
|
|
17084
17248
|
return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
|
|
17085
17249
|
};
|
|
17086
|
-
const useUtilityClasses$
|
|
17250
|
+
const useUtilityClasses$U = ownerState => {
|
|
17087
17251
|
const {
|
|
17088
17252
|
classes,
|
|
17089
17253
|
color,
|
|
@@ -17299,7 +17463,7 @@ const InputBase = /*#__PURE__*/React$1.forwardRef(function InputBase(inProps, re
|
|
|
17299
17463
|
type = 'text',
|
|
17300
17464
|
value: valueProp
|
|
17301
17465
|
} = props,
|
|
17302
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
17466
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$19);
|
|
17303
17467
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
17304
17468
|
const {
|
|
17305
17469
|
current: isControlled
|
|
@@ -17473,7 +17637,7 @@ const InputBase = /*#__PURE__*/React$1.forwardRef(function InputBase(inProps, re
|
|
|
17473
17637
|
startAdornment,
|
|
17474
17638
|
type
|
|
17475
17639
|
});
|
|
17476
|
-
const classes = useUtilityClasses$
|
|
17640
|
+
const classes = useUtilityClasses$U(ownerState);
|
|
17477
17641
|
const Root = slots.root || components.Root || InputBaseRoot;
|
|
17478
17642
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
17479
17643
|
const Input = slots.input || components.Input || InputBaseComponent;
|
|
@@ -17760,8 +17924,8 @@ function getInputUtilityClass(slot) {
|
|
|
17760
17924
|
}
|
|
17761
17925
|
const inputClasses = _extends$1({}, inputBaseClasses, generateUtilityClasses$1('MuiInput', ['root', 'underline', 'input']));
|
|
17762
17926
|
|
|
17763
|
-
const _excluded$
|
|
17764
|
-
const useUtilityClasses$
|
|
17927
|
+
const _excluded$18 = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
17928
|
+
const useUtilityClasses$T = ownerState => {
|
|
17765
17929
|
const {
|
|
17766
17930
|
classes,
|
|
17767
17931
|
disableUnderline
|
|
@@ -17871,8 +18035,8 @@ const Input = /*#__PURE__*/React$1.forwardRef(function Input(inProps, ref) {
|
|
|
17871
18035
|
slots = {},
|
|
17872
18036
|
type = 'text'
|
|
17873
18037
|
} = props,
|
|
17874
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
17875
|
-
const classes = useUtilityClasses$
|
|
18038
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$18);
|
|
18039
|
+
const classes = useUtilityClasses$T(props);
|
|
17876
18040
|
const ownerState = {
|
|
17877
18041
|
disableUnderline
|
|
17878
18042
|
};
|
|
@@ -18092,8 +18256,8 @@ function getFilledInputUtilityClass(slot) {
|
|
|
18092
18256
|
}
|
|
18093
18257
|
const filledInputClasses = _extends$1({}, inputBaseClasses, generateUtilityClasses$1('MuiFilledInput', ['root', 'underline', 'input']));
|
|
18094
18258
|
|
|
18095
|
-
const _excluded$
|
|
18096
|
-
const useUtilityClasses$
|
|
18259
|
+
const _excluded$17 = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
18260
|
+
const useUtilityClasses$S = ownerState => {
|
|
18097
18261
|
const {
|
|
18098
18262
|
classes,
|
|
18099
18263
|
disableUnderline
|
|
@@ -18277,14 +18441,14 @@ const FilledInput = /*#__PURE__*/React$1.forwardRef(function FilledInput(inProps
|
|
|
18277
18441
|
slots = {},
|
|
18278
18442
|
type = 'text'
|
|
18279
18443
|
} = props,
|
|
18280
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
18444
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$17);
|
|
18281
18445
|
const ownerState = _extends$1({}, props, {
|
|
18282
18446
|
fullWidth,
|
|
18283
18447
|
inputComponent,
|
|
18284
18448
|
multiline,
|
|
18285
18449
|
type
|
|
18286
18450
|
});
|
|
18287
|
-
const classes = useUtilityClasses$
|
|
18451
|
+
const classes = useUtilityClasses$S(props);
|
|
18288
18452
|
const filledInputComponentsProps = {
|
|
18289
18453
|
root: {
|
|
18290
18454
|
ownerState
|
|
@@ -18507,7 +18671,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
|
|
|
18507
18671
|
FilledInput.muiName = 'Input';
|
|
18508
18672
|
|
|
18509
18673
|
var _span$3;
|
|
18510
|
-
const _excluded$
|
|
18674
|
+
const _excluded$16 = ["children", "classes", "className", "label", "notched"];
|
|
18511
18675
|
const NotchedOutlineRoot$1 = styled$1('fieldset', {
|
|
18512
18676
|
shouldForwardProp: rootShouldForwardProp
|
|
18513
18677
|
})({
|
|
@@ -18584,7 +18748,7 @@ function NotchedOutline(props) {
|
|
|
18584
18748
|
label,
|
|
18585
18749
|
notched
|
|
18586
18750
|
} = props,
|
|
18587
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
18751
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$16);
|
|
18588
18752
|
const withLabel = label != null && label !== '';
|
|
18589
18753
|
const ownerState = _extends$1({}, props, {
|
|
18590
18754
|
notched,
|
|
@@ -18639,8 +18803,8 @@ function getOutlinedInputUtilityClass(slot) {
|
|
|
18639
18803
|
}
|
|
18640
18804
|
const outlinedInputClasses = _extends$1({}, inputBaseClasses, generateUtilityClasses$1('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
|
|
18641
18805
|
|
|
18642
|
-
const _excluded$
|
|
18643
|
-
const useUtilityClasses$
|
|
18806
|
+
const _excluded$15 = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
|
|
18807
|
+
const useUtilityClasses$R = ownerState => {
|
|
18644
18808
|
const {
|
|
18645
18809
|
classes
|
|
18646
18810
|
} = ownerState;
|
|
@@ -18758,8 +18922,8 @@ const OutlinedInput = /*#__PURE__*/React$1.forwardRef(function OutlinedInput(inP
|
|
|
18758
18922
|
slots = {},
|
|
18759
18923
|
type = 'text'
|
|
18760
18924
|
} = props,
|
|
18761
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
18762
|
-
const classes = useUtilityClasses$
|
|
18925
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$15);
|
|
18926
|
+
const classes = useUtilityClasses$R(props);
|
|
18763
18927
|
const muiFormControl = useFormControl();
|
|
18764
18928
|
const fcs = formControlState({
|
|
18765
18929
|
props,
|
|
@@ -18977,8 +19141,8 @@ function getFormLabelUtilityClasses(slot) {
|
|
|
18977
19141
|
}
|
|
18978
19142
|
const formLabelClasses = generateUtilityClasses$1('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);
|
|
18979
19143
|
|
|
18980
|
-
const _excluded$
|
|
18981
|
-
const useUtilityClasses$
|
|
19144
|
+
const _excluded$14 = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
|
|
19145
|
+
const useUtilityClasses$Q = ownerState => {
|
|
18982
19146
|
const {
|
|
18983
19147
|
classes,
|
|
18984
19148
|
color,
|
|
@@ -19042,7 +19206,7 @@ const FormLabel = /*#__PURE__*/React$1.forwardRef(function FormLabel(inProps, re
|
|
|
19042
19206
|
className,
|
|
19043
19207
|
component = 'label'
|
|
19044
19208
|
} = props,
|
|
19045
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19209
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$14);
|
|
19046
19210
|
const muiFormControl = useFormControl();
|
|
19047
19211
|
const fcs = formControlState({
|
|
19048
19212
|
props,
|
|
@@ -19058,7 +19222,7 @@ const FormLabel = /*#__PURE__*/React$1.forwardRef(function FormLabel(inProps, re
|
|
|
19058
19222
|
focused: fcs.focused,
|
|
19059
19223
|
required: fcs.required
|
|
19060
19224
|
});
|
|
19061
|
-
const classes = useUtilityClasses$
|
|
19225
|
+
const classes = useUtilityClasses$Q(ownerState);
|
|
19062
19226
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(FormLabelRoot, _extends$1({
|
|
19063
19227
|
as: component,
|
|
19064
19228
|
ownerState: ownerState,
|
|
@@ -19132,8 +19296,8 @@ function getInputLabelUtilityClasses(slot) {
|
|
|
19132
19296
|
}
|
|
19133
19297
|
generateUtilityClasses$1('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);
|
|
19134
19298
|
|
|
19135
|
-
const _excluded$
|
|
19136
|
-
const useUtilityClasses$
|
|
19299
|
+
const _excluded$13 = ["disableAnimation", "margin", "shrink", "variant", "className"];
|
|
19300
|
+
const useUtilityClasses$P = ownerState => {
|
|
19137
19301
|
const {
|
|
19138
19302
|
classes,
|
|
19139
19303
|
formControl,
|
|
@@ -19234,7 +19398,7 @@ const InputLabel = /*#__PURE__*/React$1.forwardRef(function InputLabel(inProps,
|
|
|
19234
19398
|
shrink: shrinkProp,
|
|
19235
19399
|
className
|
|
19236
19400
|
} = props,
|
|
19237
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19401
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$13);
|
|
19238
19402
|
const muiFormControl = useFormControl();
|
|
19239
19403
|
let shrink = shrinkProp;
|
|
19240
19404
|
if (typeof shrink === 'undefined' && muiFormControl) {
|
|
@@ -19254,7 +19418,7 @@ const InputLabel = /*#__PURE__*/React$1.forwardRef(function InputLabel(inProps,
|
|
|
19254
19418
|
required: fcs.required,
|
|
19255
19419
|
focused: fcs.focused
|
|
19256
19420
|
});
|
|
19257
|
-
const classes = useUtilityClasses$
|
|
19421
|
+
const classes = useUtilityClasses$P(ownerState);
|
|
19258
19422
|
return /*#__PURE__*/jsxRuntimeExports.jsx(InputLabelRoot, _extends$1({
|
|
19259
19423
|
"data-shrink": shrink,
|
|
19260
19424
|
ownerState: ownerState,
|
|
@@ -19337,8 +19501,8 @@ function getFormControlUtilityClasses(slot) {
|
|
|
19337
19501
|
}
|
|
19338
19502
|
generateUtilityClasses$1('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
|
|
19339
19503
|
|
|
19340
|
-
const _excluded$
|
|
19341
|
-
const useUtilityClasses$
|
|
19504
|
+
const _excluded$12 = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
|
|
19505
|
+
const useUtilityClasses$O = ownerState => {
|
|
19342
19506
|
const {
|
|
19343
19507
|
classes,
|
|
19344
19508
|
margin,
|
|
@@ -19423,7 +19587,7 @@ const FormControl = /*#__PURE__*/React$1.forwardRef(function FormControl(inProps
|
|
|
19423
19587
|
size = 'medium',
|
|
19424
19588
|
variant = 'outlined'
|
|
19425
19589
|
} = props,
|
|
19426
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19590
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$12);
|
|
19427
19591
|
const ownerState = _extends$1({}, props, {
|
|
19428
19592
|
color,
|
|
19429
19593
|
component,
|
|
@@ -19436,7 +19600,7 @@ const FormControl = /*#__PURE__*/React$1.forwardRef(function FormControl(inProps
|
|
|
19436
19600
|
size,
|
|
19437
19601
|
variant
|
|
19438
19602
|
});
|
|
19439
|
-
const classes = useUtilityClasses$
|
|
19603
|
+
const classes = useUtilityClasses$O(ownerState);
|
|
19440
19604
|
const [adornedStart, setAdornedStart] = React$1.useState(() => {
|
|
19441
19605
|
// We need to iterate through the children and find the Input in order
|
|
19442
19606
|
// to fully support server-side rendering.
|
|
@@ -19617,8 +19781,8 @@ function getFormHelperTextUtilityClasses(slot) {
|
|
|
19617
19781
|
const formHelperTextClasses = generateUtilityClasses$1('MuiFormHelperText', ['root', 'error', 'disabled', 'sizeSmall', 'sizeMedium', 'contained', 'focused', 'filled', 'required']);
|
|
19618
19782
|
|
|
19619
19783
|
var _span$2;
|
|
19620
|
-
const _excluded$
|
|
19621
|
-
const useUtilityClasses$
|
|
19784
|
+
const _excluded$11 = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
|
|
19785
|
+
const useUtilityClasses$N = ownerState => {
|
|
19622
19786
|
const {
|
|
19623
19787
|
classes,
|
|
19624
19788
|
contained,
|
|
@@ -19676,7 +19840,7 @@ const FormHelperText = /*#__PURE__*/React$1.forwardRef(function FormHelperText(i
|
|
|
19676
19840
|
className,
|
|
19677
19841
|
component = 'p'
|
|
19678
19842
|
} = props,
|
|
19679
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19843
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$11);
|
|
19680
19844
|
const muiFormControl = useFormControl();
|
|
19681
19845
|
const fcs = formControlState({
|
|
19682
19846
|
props,
|
|
@@ -19694,7 +19858,7 @@ const FormHelperText = /*#__PURE__*/React$1.forwardRef(function FormHelperText(i
|
|
|
19694
19858
|
focused: fcs.focused,
|
|
19695
19859
|
required: fcs.required
|
|
19696
19860
|
});
|
|
19697
|
-
const classes = useUtilityClasses$
|
|
19861
|
+
const classes = useUtilityClasses$N(ownerState);
|
|
19698
19862
|
return /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperTextRoot, _extends$1({
|
|
19699
19863
|
as: component,
|
|
19700
19864
|
ownerState: ownerState,
|
|
@@ -20044,8 +20208,8 @@ function getListUtilityClass(slot) {
|
|
|
20044
20208
|
}
|
|
20045
20209
|
generateUtilityClasses$1('MuiList', ['root', 'padding', 'dense', 'subheader']);
|
|
20046
20210
|
|
|
20047
|
-
const _excluded
|
|
20048
|
-
const useUtilityClasses$
|
|
20211
|
+
const _excluded$10 = ["children", "className", "component", "dense", "disablePadding", "subheader"];
|
|
20212
|
+
const useUtilityClasses$M = ownerState => {
|
|
20049
20213
|
const {
|
|
20050
20214
|
classes,
|
|
20051
20215
|
disablePadding,
|
|
@@ -20092,7 +20256,7 @@ const List = /*#__PURE__*/React$1.forwardRef(function List(inProps, ref) {
|
|
|
20092
20256
|
disablePadding = false,
|
|
20093
20257
|
subheader
|
|
20094
20258
|
} = props,
|
|
20095
|
-
other = _objectWithoutPropertiesLoose(props, _excluded
|
|
20259
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$10);
|
|
20096
20260
|
const context = React$1.useMemo(() => ({
|
|
20097
20261
|
dense
|
|
20098
20262
|
}), [dense]);
|
|
@@ -20101,7 +20265,7 @@ const List = /*#__PURE__*/React$1.forwardRef(function List(inProps, ref) {
|
|
|
20101
20265
|
dense,
|
|
20102
20266
|
disablePadding
|
|
20103
20267
|
});
|
|
20104
|
-
const classes = useUtilityClasses$
|
|
20268
|
+
const classes = useUtilityClasses$M(ownerState);
|
|
20105
20269
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListContext.Provider, {
|
|
20106
20270
|
value: context,
|
|
20107
20271
|
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListRoot, _extends$1({
|
|
@@ -20158,7 +20322,7 @@ process.env.NODE_ENV !== "production" ? List.propTypes /* remove-proptypes */ =
|
|
|
20158
20322
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
20159
20323
|
} : void 0;
|
|
20160
20324
|
|
|
20161
|
-
const _excluded
|
|
20325
|
+
const _excluded$$ = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
|
|
20162
20326
|
function nextItem(list, item, disableListWrap) {
|
|
20163
20327
|
if (list === item) {
|
|
20164
20328
|
return list.firstChild;
|
|
@@ -20240,7 +20404,7 @@ const MenuList = /*#__PURE__*/React$1.forwardRef(function MenuList(props, ref) {
|
|
|
20240
20404
|
onKeyDown,
|
|
20241
20405
|
variant = 'selectedMenu'
|
|
20242
20406
|
} = props,
|
|
20243
|
-
other = _objectWithoutPropertiesLoose(props, _excluded
|
|
20407
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$$);
|
|
20244
20408
|
const listRef = React$1.useRef(null);
|
|
20245
20409
|
const textCriteriaRef = React$1.useRef({
|
|
20246
20410
|
keys: [],
|
|
@@ -21853,7 +22017,7 @@ TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
21853
22017
|
TransitionGroup.defaultProps = defaultProps;
|
|
21854
22018
|
|
|
21855
22019
|
function useTheme$2() {
|
|
21856
|
-
const theme = useTheme$4(defaultTheme$
|
|
22020
|
+
const theme = useTheme$4(defaultTheme$3);
|
|
21857
22021
|
if (process.env.NODE_ENV !== 'production') {
|
|
21858
22022
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
21859
22023
|
React$1.useDebugValue(theme);
|
|
@@ -21876,7 +22040,7 @@ function getTransitionProps(props, options) {
|
|
|
21876
22040
|
};
|
|
21877
22041
|
}
|
|
21878
22042
|
|
|
21879
|
-
const _excluded$
|
|
22043
|
+
const _excluded$_ = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
21880
22044
|
function getScale(value) {
|
|
21881
22045
|
return `scale(${value}, ${value ** 2})`;
|
|
21882
22046
|
}
|
|
@@ -21920,7 +22084,7 @@ const Grow = /*#__PURE__*/React$1.forwardRef(function Grow(props, ref) {
|
|
|
21920
22084
|
// eslint-disable-next-line react/prop-types
|
|
21921
22085
|
TransitionComponent = Transition
|
|
21922
22086
|
} = props,
|
|
21923
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
22087
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$_);
|
|
21924
22088
|
const timer = useTimeout();
|
|
21925
22089
|
const autoTimeout = React$1.useRef();
|
|
21926
22090
|
const theme = useTheme$2();
|
|
@@ -22118,7 +22282,7 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes /* remove-proptypes */ =
|
|
|
22118
22282
|
} : void 0;
|
|
22119
22283
|
Grow.muiSupportAuto = true;
|
|
22120
22284
|
|
|
22121
|
-
const _excluded$
|
|
22285
|
+
const _excluded$Z = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
22122
22286
|
const styles = {
|
|
22123
22287
|
entering: {
|
|
22124
22288
|
opacity: 1
|
|
@@ -22155,7 +22319,7 @@ const Fade = /*#__PURE__*/React$1.forwardRef(function Fade(props, ref) {
|
|
|
22155
22319
|
// eslint-disable-next-line react/prop-types
|
|
22156
22320
|
TransitionComponent = Transition
|
|
22157
22321
|
} = props,
|
|
22158
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
22322
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$Z);
|
|
22159
22323
|
const nodeRef = React$1.useRef(null);
|
|
22160
22324
|
const handleRef = useForkRef(nodeRef, children.ref, ref);
|
|
22161
22325
|
const normalizedTransitionCallback = callback => maybeIsAppearing => {
|
|
@@ -22315,8 +22479,8 @@ function getBackdropUtilityClass(slot) {
|
|
|
22315
22479
|
}
|
|
22316
22480
|
generateUtilityClasses$1('MuiBackdrop', ['root', 'invisible']);
|
|
22317
22481
|
|
|
22318
|
-
const _excluded$
|
|
22319
|
-
const useUtilityClasses$
|
|
22482
|
+
const _excluded$Y = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
|
|
22483
|
+
const useUtilityClasses$L = ownerState => {
|
|
22320
22484
|
const {
|
|
22321
22485
|
classes,
|
|
22322
22486
|
invisible
|
|
@@ -22370,12 +22534,12 @@ const Backdrop = /*#__PURE__*/React$1.forwardRef(function Backdrop(inProps, ref)
|
|
|
22370
22534
|
TransitionComponent = Fade,
|
|
22371
22535
|
transitionDuration
|
|
22372
22536
|
} = props,
|
|
22373
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
22537
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$Y);
|
|
22374
22538
|
const ownerState = _extends$1({}, props, {
|
|
22375
22539
|
component,
|
|
22376
22540
|
invisible
|
|
22377
22541
|
});
|
|
22378
|
-
const classes = useUtilityClasses$
|
|
22542
|
+
const classes = useUtilityClasses$L(ownerState);
|
|
22379
22543
|
const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
22380
22544
|
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$1({
|
|
22381
22545
|
in: open,
|
|
@@ -22495,8 +22659,8 @@ function getModalUtilityClass(slot) {
|
|
|
22495
22659
|
}
|
|
22496
22660
|
generateUtilityClasses$1('MuiModal', ['root', 'hidden', 'backdrop']);
|
|
22497
22661
|
|
|
22498
|
-
const _excluded$
|
|
22499
|
-
const useUtilityClasses$
|
|
22662
|
+
const _excluded$X = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"];
|
|
22663
|
+
const useUtilityClasses$K = ownerState => {
|
|
22500
22664
|
const {
|
|
22501
22665
|
open,
|
|
22502
22666
|
exited,
|
|
@@ -22583,7 +22747,7 @@ const Modal = /*#__PURE__*/React$1.forwardRef(function Modal(inProps, ref) {
|
|
|
22583
22747
|
slots
|
|
22584
22748
|
// eslint-disable-next-line react/prop-types
|
|
22585
22749
|
} = props,
|
|
22586
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
22750
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$X);
|
|
22587
22751
|
const propsWithDefaults = _extends$1({}, props, {
|
|
22588
22752
|
closeAfterTransition,
|
|
22589
22753
|
disableAutoFocus,
|
|
@@ -22609,7 +22773,7 @@ const Modal = /*#__PURE__*/React$1.forwardRef(function Modal(inProps, ref) {
|
|
|
22609
22773
|
const ownerState = _extends$1({}, propsWithDefaults, {
|
|
22610
22774
|
exited
|
|
22611
22775
|
});
|
|
22612
|
-
const classes = useUtilityClasses$
|
|
22776
|
+
const classes = useUtilityClasses$K(ownerState);
|
|
22613
22777
|
const childProps = {};
|
|
22614
22778
|
if (children.props.tabIndex === undefined) {
|
|
22615
22779
|
childProps.tabIndex = '-1';
|
|
@@ -22876,8 +23040,8 @@ function getPaperUtilityClass(slot) {
|
|
|
22876
23040
|
}
|
|
22877
23041
|
generateUtilityClasses$1('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
|
|
22878
23042
|
|
|
22879
|
-
const _excluded$
|
|
22880
|
-
const useUtilityClasses$
|
|
23043
|
+
const _excluded$W = ["className", "component", "elevation", "square", "variant"];
|
|
23044
|
+
const useUtilityClasses$J = ownerState => {
|
|
22881
23045
|
const {
|
|
22882
23046
|
square,
|
|
22883
23047
|
elevation,
|
|
@@ -22931,14 +23095,14 @@ const Paper = /*#__PURE__*/React$1.forwardRef(function Paper(inProps, ref) {
|
|
|
22931
23095
|
square = false,
|
|
22932
23096
|
variant = 'elevation'
|
|
22933
23097
|
} = props,
|
|
22934
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
23098
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$W);
|
|
22935
23099
|
const ownerState = _extends$1({}, props, {
|
|
22936
23100
|
component,
|
|
22937
23101
|
elevation,
|
|
22938
23102
|
square,
|
|
22939
23103
|
variant
|
|
22940
23104
|
});
|
|
22941
|
-
const classes = useUtilityClasses$
|
|
23105
|
+
const classes = useUtilityClasses$J(ownerState);
|
|
22942
23106
|
if (process.env.NODE_ENV !== 'production') {
|
|
22943
23107
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
22944
23108
|
const theme = useTheme$2();
|
|
@@ -23011,7 +23175,7 @@ function getPopoverUtilityClass(slot) {
|
|
|
23011
23175
|
}
|
|
23012
23176
|
generateUtilityClasses$1('MuiPopover', ['root', 'paper']);
|
|
23013
23177
|
|
|
23014
|
-
const _excluded$
|
|
23178
|
+
const _excluded$V = ["onEntering"],
|
|
23015
23179
|
_excluded2$a = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"],
|
|
23016
23180
|
_excluded3$4 = ["slotProps"];
|
|
23017
23181
|
function getOffsetTop(rect, vertical) {
|
|
@@ -23042,7 +23206,7 @@ function getTransformOriginValue(transformOrigin) {
|
|
|
23042
23206
|
function resolveAnchorEl(anchorEl) {
|
|
23043
23207
|
return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
|
|
23044
23208
|
}
|
|
23045
|
-
const useUtilityClasses$
|
|
23209
|
+
const useUtilityClasses$I = ownerState => {
|
|
23046
23210
|
const {
|
|
23047
23211
|
classes
|
|
23048
23212
|
} = ownerState;
|
|
@@ -23109,7 +23273,7 @@ const Popover = /*#__PURE__*/React$1.forwardRef(function Popover(inProps, ref) {
|
|
|
23109
23273
|
} = {},
|
|
23110
23274
|
disableScrollLock = false
|
|
23111
23275
|
} = props,
|
|
23112
|
-
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$
|
|
23276
|
+
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$V),
|
|
23113
23277
|
other = _objectWithoutPropertiesLoose(props, _excluded2$a);
|
|
23114
23278
|
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
|
|
23115
23279
|
const paperRef = React$1.useRef();
|
|
@@ -23125,7 +23289,7 @@ const Popover = /*#__PURE__*/React$1.forwardRef(function Popover(inProps, ref) {
|
|
|
23125
23289
|
transitionDuration: transitionDurationProp,
|
|
23126
23290
|
TransitionProps
|
|
23127
23291
|
});
|
|
23128
|
-
const classes = useUtilityClasses$
|
|
23292
|
+
const classes = useUtilityClasses$I(ownerState);
|
|
23129
23293
|
|
|
23130
23294
|
// Returns the top/left offset of the position
|
|
23131
23295
|
// to attach to on the anchor element (or body if none is provided)
|
|
@@ -23527,7 +23691,7 @@ function getMenuUtilityClass(slot) {
|
|
|
23527
23691
|
}
|
|
23528
23692
|
generateUtilityClasses$1('MuiMenu', ['root', 'paper', 'list']);
|
|
23529
23693
|
|
|
23530
|
-
const _excluded$
|
|
23694
|
+
const _excluded$U = ["onEntering"],
|
|
23531
23695
|
_excluded2$9 = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"];
|
|
23532
23696
|
const RTL_ORIGIN = {
|
|
23533
23697
|
vertical: 'top',
|
|
@@ -23537,7 +23701,7 @@ const LTR_ORIGIN = {
|
|
|
23537
23701
|
vertical: 'top',
|
|
23538
23702
|
horizontal: 'left'
|
|
23539
23703
|
};
|
|
23540
|
-
const useUtilityClasses$
|
|
23704
|
+
const useUtilityClasses$H = ownerState => {
|
|
23541
23705
|
const {
|
|
23542
23706
|
classes
|
|
23543
23707
|
} = ownerState;
|
|
@@ -23598,7 +23762,7 @@ const Menu$1 = /*#__PURE__*/React$1.forwardRef(function Menu(inProps, ref) {
|
|
|
23598
23762
|
slots = {},
|
|
23599
23763
|
slotProps = {}
|
|
23600
23764
|
} = props,
|
|
23601
|
-
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$
|
|
23765
|
+
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$U),
|
|
23602
23766
|
other = _objectWithoutPropertiesLoose(props, _excluded2$9);
|
|
23603
23767
|
const isRtl = useRtl();
|
|
23604
23768
|
const ownerState = _extends$1({}, props, {
|
|
@@ -23611,7 +23775,7 @@ const Menu$1 = /*#__PURE__*/React$1.forwardRef(function Menu(inProps, ref) {
|
|
|
23611
23775
|
TransitionProps,
|
|
23612
23776
|
variant
|
|
23613
23777
|
});
|
|
23614
|
-
const classes = useUtilityClasses$
|
|
23778
|
+
const classes = useUtilityClasses$H(ownerState);
|
|
23615
23779
|
const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
|
|
23616
23780
|
const menuListActionsRef = React$1.useRef(null);
|
|
23617
23781
|
const handleEntering = (element, isAppearing) => {
|
|
@@ -23821,8 +23985,8 @@ function getNativeSelectUtilityClasses(slot) {
|
|
|
23821
23985
|
}
|
|
23822
23986
|
const nativeSelectClasses = generateUtilityClasses$1('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
|
|
23823
23987
|
|
|
23824
|
-
const _excluded$
|
|
23825
|
-
const useUtilityClasses$
|
|
23988
|
+
const _excluded$T = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"];
|
|
23989
|
+
const useUtilityClasses$G = ownerState => {
|
|
23826
23990
|
const {
|
|
23827
23991
|
classes,
|
|
23828
23992
|
variant,
|
|
@@ -23948,13 +24112,13 @@ const NativeSelectInput = /*#__PURE__*/React$1.forwardRef(function NativeSelectI
|
|
|
23948
24112
|
inputRef,
|
|
23949
24113
|
variant = 'standard'
|
|
23950
24114
|
} = props,
|
|
23951
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
24115
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$T);
|
|
23952
24116
|
const ownerState = _extends$1({}, props, {
|
|
23953
24117
|
disabled,
|
|
23954
24118
|
variant,
|
|
23955
24119
|
error
|
|
23956
24120
|
});
|
|
23957
|
-
const classes = useUtilityClasses$
|
|
24121
|
+
const classes = useUtilityClasses$G(ownerState);
|
|
23958
24122
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(React$1.Fragment, {
|
|
23959
24123
|
children: [/*#__PURE__*/jsxRuntimeExports.jsx(NativeSelectSelect, _extends$1({
|
|
23960
24124
|
ownerState: ownerState,
|
|
@@ -24030,7 +24194,7 @@ function getSelectUtilityClasses(slot) {
|
|
|
24030
24194
|
const selectClasses = generateUtilityClasses$1('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
|
|
24031
24195
|
|
|
24032
24196
|
var _span$1;
|
|
24033
|
-
const _excluded$
|
|
24197
|
+
const _excluded$S = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
|
|
24034
24198
|
const SelectSelect = styled$1('div', {
|
|
24035
24199
|
name: 'MuiSelect',
|
|
24036
24200
|
slot: 'Select',
|
|
@@ -24097,7 +24261,7 @@ function areEqualValues(a, b) {
|
|
|
24097
24261
|
function isEmpty$1(display) {
|
|
24098
24262
|
return display == null || typeof display === 'string' && !display.trim();
|
|
24099
24263
|
}
|
|
24100
|
-
const useUtilityClasses$
|
|
24264
|
+
const useUtilityClasses$F = ownerState => {
|
|
24101
24265
|
const {
|
|
24102
24266
|
classes,
|
|
24103
24267
|
variant,
|
|
@@ -24153,7 +24317,7 @@ const SelectInput = /*#__PURE__*/React$1.forwardRef(function SelectInput(props,
|
|
|
24153
24317
|
value: valueProp,
|
|
24154
24318
|
variant = 'standard'
|
|
24155
24319
|
} = props,
|
|
24156
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
24320
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$S);
|
|
24157
24321
|
const [value, setValueState] = useControlled({
|
|
24158
24322
|
controlled: valueProp,
|
|
24159
24323
|
default: defaultValue,
|
|
@@ -24440,7 +24604,7 @@ const SelectInput = /*#__PURE__*/React$1.forwardRef(function SelectInput(props,
|
|
|
24440
24604
|
open,
|
|
24441
24605
|
error
|
|
24442
24606
|
});
|
|
24443
|
-
const classes = useUtilityClasses$
|
|
24607
|
+
const classes = useUtilityClasses$F(ownerState);
|
|
24444
24608
|
const paperProps = _extends$1({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
|
|
24445
24609
|
const listboxId = useId();
|
|
24446
24610
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(React$1.Fragment, {
|
|
@@ -24668,8 +24832,8 @@ function getSvgIconUtilityClass(slot) {
|
|
|
24668
24832
|
}
|
|
24669
24833
|
generateUtilityClasses$1('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
|
|
24670
24834
|
|
|
24671
|
-
const _excluded$
|
|
24672
|
-
const useUtilityClasses$
|
|
24835
|
+
const _excluded$R = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
24836
|
+
const useUtilityClasses$E = ownerState => {
|
|
24673
24837
|
const {
|
|
24674
24838
|
color,
|
|
24675
24839
|
fontSize,
|
|
@@ -24736,7 +24900,7 @@ const SvgIcon = /*#__PURE__*/React$1.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
24736
24900
|
titleAccess,
|
|
24737
24901
|
viewBox = '0 0 24 24'
|
|
24738
24902
|
} = props,
|
|
24739
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
24903
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$R);
|
|
24740
24904
|
const hasSvgAsChild = /*#__PURE__*/React$1.isValidElement(children) && children.type === 'svg';
|
|
24741
24905
|
const ownerState = _extends$1({}, props, {
|
|
24742
24906
|
color,
|
|
@@ -24751,7 +24915,7 @@ const SvgIcon = /*#__PURE__*/React$1.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
24751
24915
|
if (!inheritViewBox) {
|
|
24752
24916
|
more.viewBox = viewBox;
|
|
24753
24917
|
}
|
|
24754
|
-
const classes = useUtilityClasses$
|
|
24918
|
+
const classes = useUtilityClasses$E(ownerState);
|
|
24755
24919
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(SvgIconRoot, _extends$1({
|
|
24756
24920
|
as: component,
|
|
24757
24921
|
className: clsx(classes.root, className),
|
|
@@ -24863,9 +25027,9 @@ var ArrowDropDownIcon$1 = createSvgIcon$1( /*#__PURE__*/jsxRuntimeExports.jsx("p
|
|
|
24863
25027
|
d: "M7 10l5 5 5-5z"
|
|
24864
25028
|
}), 'ArrowDropDown');
|
|
24865
25029
|
|
|
24866
|
-
const _excluded$
|
|
25030
|
+
const _excluded$Q = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"],
|
|
24867
25031
|
_excluded2$8 = ["root"];
|
|
24868
|
-
const useUtilityClasses$
|
|
25032
|
+
const useUtilityClasses$D = ownerState => {
|
|
24869
25033
|
const {
|
|
24870
25034
|
classes
|
|
24871
25035
|
} = ownerState;
|
|
@@ -24908,7 +25072,7 @@ const Select = /*#__PURE__*/React$1.forwardRef(function Select(inProps, ref) {
|
|
|
24908
25072
|
SelectDisplayProps,
|
|
24909
25073
|
variant: variantProp = 'outlined'
|
|
24910
25074
|
} = props,
|
|
24911
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25075
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$Q);
|
|
24912
25076
|
const inputComponent = native ? NativeSelectInput : SelectInput;
|
|
24913
25077
|
const muiFormControl = useFormControl();
|
|
24914
25078
|
const fcs = formControlState({
|
|
@@ -24921,7 +25085,7 @@ const Select = /*#__PURE__*/React$1.forwardRef(function Select(inProps, ref) {
|
|
|
24921
25085
|
variant,
|
|
24922
25086
|
classes: classesProp
|
|
24923
25087
|
});
|
|
24924
|
-
const classes = useUtilityClasses$
|
|
25088
|
+
const classes = useUtilityClasses$D(ownerState);
|
|
24925
25089
|
const restOfClasses = _objectWithoutPropertiesLoose(classes, _excluded2$8);
|
|
24926
25090
|
const InputComponent = input || {
|
|
24927
25091
|
standard: /*#__PURE__*/jsxRuntimeExports.jsx(StyledInput, {
|
|
@@ -25131,13 +25295,13 @@ function getTextFieldUtilityClass(slot) {
|
|
|
25131
25295
|
}
|
|
25132
25296
|
generateUtilityClasses$1('MuiTextField', ['root']);
|
|
25133
25297
|
|
|
25134
|
-
const _excluded$
|
|
25298
|
+
const _excluded$P = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"];
|
|
25135
25299
|
const variantComponent = {
|
|
25136
25300
|
standard: Input,
|
|
25137
25301
|
filled: FilledInput,
|
|
25138
25302
|
outlined: OutlinedInput
|
|
25139
25303
|
};
|
|
25140
|
-
const useUtilityClasses$
|
|
25304
|
+
const useUtilityClasses$C = ownerState => {
|
|
25141
25305
|
const {
|
|
25142
25306
|
classes
|
|
25143
25307
|
} = ownerState;
|
|
@@ -25223,7 +25387,7 @@ const TextField = /*#__PURE__*/React$1.forwardRef(function TextField(inProps, re
|
|
|
25223
25387
|
value,
|
|
25224
25388
|
variant = 'outlined'
|
|
25225
25389
|
} = props,
|
|
25226
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25390
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$P);
|
|
25227
25391
|
const ownerState = _extends$1({}, props, {
|
|
25228
25392
|
autoFocus,
|
|
25229
25393
|
color,
|
|
@@ -25235,7 +25399,7 @@ const TextField = /*#__PURE__*/React$1.forwardRef(function TextField(inProps, re
|
|
|
25235
25399
|
select,
|
|
25236
25400
|
variant
|
|
25237
25401
|
});
|
|
25238
|
-
const classes = useUtilityClasses$
|
|
25402
|
+
const classes = useUtilityClasses$C(ownerState);
|
|
25239
25403
|
if (process.env.NODE_ENV !== 'production') {
|
|
25240
25404
|
if (select && !children) {
|
|
25241
25405
|
console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');
|
|
@@ -25485,6 +25649,18 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
25485
25649
|
variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])
|
|
25486
25650
|
} : void 0;
|
|
25487
25651
|
|
|
25652
|
+
// Ported from Compass
|
|
25653
|
+
// https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss
|
|
25654
|
+
// Emulate the sass function "unit"
|
|
25655
|
+
function getUnit(input) {
|
|
25656
|
+
return String(input).match(/[\d.\-+]*\s*(.*)/)[1] || '';
|
|
25657
|
+
}
|
|
25658
|
+
|
|
25659
|
+
// Emulate the sass function "unitless"
|
|
25660
|
+
function toUnitless(length) {
|
|
25661
|
+
return parseFloat(length);
|
|
25662
|
+
}
|
|
25663
|
+
|
|
25488
25664
|
const boxClasses = generateUtilityClasses$1('MuiBox', ['root']);
|
|
25489
25665
|
|
|
25490
25666
|
const defaultTheme = createTheme();
|
|
@@ -25634,15 +25810,15 @@ process.env.NODE_ENV !== "production" ? Ripple.propTypes = {
|
|
|
25634
25810
|
|
|
25635
25811
|
const touchRippleClasses = generateUtilityClasses$1('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
|
|
25636
25812
|
|
|
25637
|
-
const _excluded$
|
|
25638
|
-
let _ = t => t,
|
|
25639
|
-
_t,
|
|
25640
|
-
_t2,
|
|
25641
|
-
_t3,
|
|
25642
|
-
_t4;
|
|
25813
|
+
const _excluded$O = ["center", "classes", "className"];
|
|
25814
|
+
let _$1 = t => t,
|
|
25815
|
+
_t$1,
|
|
25816
|
+
_t2$1,
|
|
25817
|
+
_t3$1,
|
|
25818
|
+
_t4$1;
|
|
25643
25819
|
const DURATION = 550;
|
|
25644
25820
|
const DELAY_RIPPLE = 80;
|
|
25645
|
-
const enterKeyframe = keyframes(_t || (_t = _`
|
|
25821
|
+
const enterKeyframe = keyframes(_t$1 || (_t$1 = _$1`
|
|
25646
25822
|
0% {
|
|
25647
25823
|
transform: scale(0);
|
|
25648
25824
|
opacity: 0.1;
|
|
@@ -25653,7 +25829,7 @@ const enterKeyframe = keyframes(_t || (_t = _`
|
|
|
25653
25829
|
opacity: 0.3;
|
|
25654
25830
|
}
|
|
25655
25831
|
`));
|
|
25656
|
-
const exitKeyframe = keyframes(_t2 || (_t2 = _`
|
|
25832
|
+
const exitKeyframe = keyframes(_t2$1 || (_t2$1 = _$1`
|
|
25657
25833
|
0% {
|
|
25658
25834
|
opacity: 1;
|
|
25659
25835
|
}
|
|
@@ -25662,7 +25838,7 @@ const exitKeyframe = keyframes(_t2 || (_t2 = _`
|
|
|
25662
25838
|
opacity: 0;
|
|
25663
25839
|
}
|
|
25664
25840
|
`));
|
|
25665
|
-
const pulsateKeyframe = keyframes(_t3 || (_t3 = _`
|
|
25841
|
+
const pulsateKeyframe = keyframes(_t3$1 || (_t3$1 = _$1`
|
|
25666
25842
|
0% {
|
|
25667
25843
|
transform: scale(1);
|
|
25668
25844
|
}
|
|
@@ -25695,7 +25871,7 @@ const TouchRippleRoot = styled$1('span', {
|
|
|
25695
25871
|
const TouchRippleRipple = styled$1(Ripple, {
|
|
25696
25872
|
name: 'MuiTouchRipple',
|
|
25697
25873
|
slot: 'Ripple'
|
|
25698
|
-
})(_t4 || (_t4 = _`
|
|
25874
|
+
})(_t4$1 || (_t4$1 = _$1`
|
|
25699
25875
|
opacity: 0;
|
|
25700
25876
|
position: absolute;
|
|
25701
25877
|
|
|
@@ -25763,7 +25939,7 @@ const TouchRipple = /*#__PURE__*/React$1.forwardRef(function TouchRipple(inProps
|
|
|
25763
25939
|
classes = {},
|
|
25764
25940
|
className
|
|
25765
25941
|
} = props,
|
|
25766
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25942
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$O);
|
|
25767
25943
|
const [ripples, setRipples] = React$1.useState([]);
|
|
25768
25944
|
const nextKey = React$1.useRef(0);
|
|
25769
25945
|
const rippleCallback = React$1.useRef(null);
|
|
@@ -25957,8 +26133,8 @@ function getButtonBaseUtilityClass(slot) {
|
|
|
25957
26133
|
}
|
|
25958
26134
|
const buttonBaseClasses = generateUtilityClasses$1('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
|
|
25959
26135
|
|
|
25960
|
-
const _excluded$
|
|
25961
|
-
const useUtilityClasses$
|
|
26136
|
+
const _excluded$N = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
|
|
26137
|
+
const useUtilityClasses$B = ownerState => {
|
|
25962
26138
|
const {
|
|
25963
26139
|
disabled,
|
|
25964
26140
|
focusVisible,
|
|
@@ -26058,7 +26234,7 @@ const ButtonBase = /*#__PURE__*/React$1.forwardRef(function ButtonBase(inProps,
|
|
|
26058
26234
|
touchRippleRef,
|
|
26059
26235
|
type
|
|
26060
26236
|
} = props,
|
|
26061
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
26237
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$N);
|
|
26062
26238
|
const buttonRef = React$1.useRef(null);
|
|
26063
26239
|
const rippleRef = React$1.useRef(null);
|
|
26064
26240
|
const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
|
|
@@ -26225,7 +26401,7 @@ const ButtonBase = /*#__PURE__*/React$1.forwardRef(function ButtonBase(inProps,
|
|
|
26225
26401
|
tabIndex,
|
|
26226
26402
|
focusVisible
|
|
26227
26403
|
});
|
|
26228
|
-
const classes = useUtilityClasses$
|
|
26404
|
+
const classes = useUtilityClasses$B(ownerState);
|
|
26229
26405
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(ButtonBaseRoot, _extends$1({
|
|
26230
26406
|
as: ComponentProp,
|
|
26231
26407
|
className: clsx(classes.root, className),
|
|
@@ -26420,8 +26596,8 @@ function getIconButtonUtilityClass(slot) {
|
|
|
26420
26596
|
}
|
|
26421
26597
|
const iconButtonClasses = generateUtilityClasses$1('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
|
|
26422
26598
|
|
|
26423
|
-
const _excluded$
|
|
26424
|
-
const useUtilityClasses$
|
|
26599
|
+
const _excluded$M = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
26600
|
+
const useUtilityClasses$A = ownerState => {
|
|
26425
26601
|
const {
|
|
26426
26602
|
classes,
|
|
26427
26603
|
disabled,
|
|
@@ -26521,7 +26697,7 @@ const IconButton = /*#__PURE__*/React$1.forwardRef(function IconButton(inProps,
|
|
|
26521
26697
|
disableFocusRipple = false,
|
|
26522
26698
|
size = 'medium'
|
|
26523
26699
|
} = props,
|
|
26524
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
26700
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$M);
|
|
26525
26701
|
const ownerState = _extends$1({}, props, {
|
|
26526
26702
|
edge,
|
|
26527
26703
|
color,
|
|
@@ -26529,7 +26705,7 @@ const IconButton = /*#__PURE__*/React$1.forwardRef(function IconButton(inProps,
|
|
|
26529
26705
|
disableFocusRipple,
|
|
26530
26706
|
size
|
|
26531
26707
|
});
|
|
26532
|
-
const classes = useUtilityClasses$
|
|
26708
|
+
const classes = useUtilityClasses$A(ownerState);
|
|
26533
26709
|
return /*#__PURE__*/jsxRuntimeExports.jsx(IconButtonRoot, _extends$1({
|
|
26534
26710
|
className: clsx(classes.root, className),
|
|
26535
26711
|
centerRipple: true,
|
|
@@ -26618,8 +26794,8 @@ function getTypographyUtilityClass(slot) {
|
|
|
26618
26794
|
}
|
|
26619
26795
|
generateUtilityClasses$1('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
|
|
26620
26796
|
|
|
26621
|
-
const _excluded$
|
|
26622
|
-
const useUtilityClasses$
|
|
26797
|
+
const _excluded$L = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
|
|
26798
|
+
const useUtilityClasses$z = ownerState => {
|
|
26623
26799
|
const {
|
|
26624
26800
|
align,
|
|
26625
26801
|
gutterBottom,
|
|
@@ -26705,7 +26881,7 @@ const Typography = /*#__PURE__*/React$1.forwardRef(function Typography(inProps,
|
|
|
26705
26881
|
variant = 'body1',
|
|
26706
26882
|
variantMapping = defaultVariantMapping
|
|
26707
26883
|
} = props,
|
|
26708
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
26884
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$L);
|
|
26709
26885
|
const ownerState = _extends$1({}, props, {
|
|
26710
26886
|
align,
|
|
26711
26887
|
color,
|
|
@@ -26718,7 +26894,7 @@ const Typography = /*#__PURE__*/React$1.forwardRef(function Typography(inProps,
|
|
|
26718
26894
|
variantMapping
|
|
26719
26895
|
});
|
|
26720
26896
|
const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
|
|
26721
|
-
const classes = useUtilityClasses$
|
|
26897
|
+
const classes = useUtilityClasses$z(ownerState);
|
|
26722
26898
|
return /*#__PURE__*/jsxRuntimeExports.jsx(TypographyRoot, _extends$1({
|
|
26723
26899
|
as: Component,
|
|
26724
26900
|
ref: ref,
|
|
@@ -26821,7 +26997,7 @@ function useTheme$1(defaultTheme = null) {
|
|
|
26821
26997
|
}
|
|
26822
26998
|
default_1$5 = useThemeWithoutDefault.default = useTheme$1;
|
|
26823
26999
|
|
|
26824
|
-
const _excluded$
|
|
27000
|
+
const _excluded$K = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
|
|
26825
27001
|
const PopperRoot = styled$1(Popper$1, {
|
|
26826
27002
|
name: 'MuiPopper',
|
|
26827
27003
|
slot: 'Root',
|
|
@@ -26864,7 +27040,7 @@ const Popper = /*#__PURE__*/React$1.forwardRef(function Popper(inProps, ref) {
|
|
|
26864
27040
|
slots,
|
|
26865
27041
|
slotProps
|
|
26866
27042
|
} = props,
|
|
26867
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
27043
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$K);
|
|
26868
27044
|
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
26869
27045
|
const otherProps = _extends$1({
|
|
26870
27046
|
anchorEl,
|
|
@@ -27022,8 +27198,8 @@ function getListSubheaderUtilityClass(slot) {
|
|
|
27022
27198
|
}
|
|
27023
27199
|
generateUtilityClasses$1('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
|
|
27024
27200
|
|
|
27025
|
-
const _excluded$
|
|
27026
|
-
const useUtilityClasses$
|
|
27201
|
+
const _excluded$J = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
|
|
27202
|
+
const useUtilityClasses$y = ownerState => {
|
|
27027
27203
|
const {
|
|
27028
27204
|
classes,
|
|
27029
27205
|
color,
|
|
@@ -27084,7 +27260,7 @@ const ListSubheader = /*#__PURE__*/React$1.forwardRef(function ListSubheader(inP
|
|
|
27084
27260
|
disableSticky = false,
|
|
27085
27261
|
inset = false
|
|
27086
27262
|
} = props,
|
|
27087
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
27263
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$J);
|
|
27088
27264
|
const ownerState = _extends$1({}, props, {
|
|
27089
27265
|
color,
|
|
27090
27266
|
component,
|
|
@@ -27092,7 +27268,7 @@ const ListSubheader = /*#__PURE__*/React$1.forwardRef(function ListSubheader(inP
|
|
|
27092
27268
|
disableSticky,
|
|
27093
27269
|
inset
|
|
27094
27270
|
});
|
|
27095
|
-
const classes = useUtilityClasses$
|
|
27271
|
+
const classes = useUtilityClasses$y(ownerState);
|
|
27096
27272
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListSubheaderRoot, _extends$1({
|
|
27097
27273
|
as: component,
|
|
27098
27274
|
className: clsx(classes.root, className),
|
|
@@ -27158,8 +27334,8 @@ function getChipUtilityClass(slot) {
|
|
|
27158
27334
|
}
|
|
27159
27335
|
const chipClasses = generateUtilityClasses$1('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
|
|
27160
27336
|
|
|
27161
|
-
const _excluded$
|
|
27162
|
-
const useUtilityClasses$
|
|
27337
|
+
const _excluded$I = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
|
|
27338
|
+
const useUtilityClasses$x = ownerState => {
|
|
27163
27339
|
const {
|
|
27164
27340
|
classes,
|
|
27165
27341
|
disabled,
|
|
@@ -27444,7 +27620,7 @@ const Chip = /*#__PURE__*/React$1.forwardRef(function Chip(inProps, ref) {
|
|
|
27444
27620
|
tabIndex,
|
|
27445
27621
|
skipFocusWhenDisabled = false // TODO v6: Rename to `focusableWhenDisabled`.
|
|
27446
27622
|
} = props,
|
|
27447
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
27623
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$I);
|
|
27448
27624
|
const chipRef = React$1.useRef(null);
|
|
27449
27625
|
const handleRef = useForkRef(chipRef, ref);
|
|
27450
27626
|
const handleDeleteIconClick = event => {
|
|
@@ -27490,7 +27666,7 @@ const Chip = /*#__PURE__*/React$1.forwardRef(function Chip(inProps, ref) {
|
|
|
27490
27666
|
clickable,
|
|
27491
27667
|
variant
|
|
27492
27668
|
});
|
|
27493
|
-
const classes = useUtilityClasses$
|
|
27669
|
+
const classes = useUtilityClasses$x(ownerState);
|
|
27494
27670
|
const moreProps = component === ButtonBase ? _extends$1({
|
|
27495
27671
|
component: ComponentProp || 'div',
|
|
27496
27672
|
focusVisibleClassName: classes.focusVisible
|
|
@@ -27651,12 +27827,12 @@ function getAutocompleteUtilityClass(slot) {
|
|
|
27651
27827
|
const autocompleteClasses = generateUtilityClasses$1('MuiAutocomplete', ['root', 'expanded', 'fullWidth', 'focused', 'focusVisible', 'tag', 'tagSizeSmall', 'tagSizeMedium', 'hasPopupIcon', 'hasClearIcon', 'inputRoot', 'input', 'inputFocused', 'endAdornment', 'clearIndicator', 'popupIndicator', 'popupIndicatorOpen', 'popper', 'popperDisablePortal', 'paper', 'listbox', 'loading', 'noOptions', 'option', 'groupLabel', 'groupUl']);
|
|
27652
27828
|
|
|
27653
27829
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
27654
|
-
const _excluded$
|
|
27830
|
+
const _excluded$H = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionKey", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"],
|
|
27655
27831
|
_excluded2$7 = ["ref"],
|
|
27656
27832
|
_excluded3$3 = ["key"],
|
|
27657
27833
|
_excluded4 = ["key"];
|
|
27658
27834
|
const useThemeProps = createUseThemeProps();
|
|
27659
|
-
const useUtilityClasses$
|
|
27835
|
+
const useUtilityClasses$w = ownerState => {
|
|
27660
27836
|
const {
|
|
27661
27837
|
classes,
|
|
27662
27838
|
disablePortal,
|
|
@@ -28095,7 +28271,7 @@ const Autocomplete = /*#__PURE__*/React$1.forwardRef(function Autocomplete(inPro
|
|
|
28095
28271
|
size = 'medium',
|
|
28096
28272
|
slotProps = {}
|
|
28097
28273
|
} = props,
|
|
28098
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
28274
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$H);
|
|
28099
28275
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
28100
28276
|
|
|
28101
28277
|
const {
|
|
@@ -28154,7 +28330,7 @@ const Autocomplete = /*#__PURE__*/React$1.forwardRef(function Autocomplete(inPro
|
|
|
28154
28330
|
popupOpen,
|
|
28155
28331
|
size
|
|
28156
28332
|
});
|
|
28157
|
-
const classes = useUtilityClasses$
|
|
28333
|
+
const classes = useUtilityClasses$w(ownerState);
|
|
28158
28334
|
let startAdornment;
|
|
28159
28335
|
if (multiple && value.length > 0) {
|
|
28160
28336
|
const getCustomizedTagProps = params => _extends$1({
|
|
@@ -28788,8 +28964,8 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
28788
28964
|
ButtonGroupButtonContext.displayName = 'ButtonGroupButtonContext';
|
|
28789
28965
|
}
|
|
28790
28966
|
|
|
28791
|
-
const _excluded$
|
|
28792
|
-
const useUtilityClasses$
|
|
28967
|
+
const _excluded$G = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
28968
|
+
const useUtilityClasses$v = ownerState => {
|
|
28793
28969
|
const {
|
|
28794
28970
|
color,
|
|
28795
28971
|
disableElevation,
|
|
@@ -29015,7 +29191,7 @@ const Button = /*#__PURE__*/React$1.forwardRef(function Button(inProps, ref) {
|
|
|
29015
29191
|
type,
|
|
29016
29192
|
variant = 'text'
|
|
29017
29193
|
} = props,
|
|
29018
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
29194
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$G);
|
|
29019
29195
|
const ownerState = _extends$1({}, props, {
|
|
29020
29196
|
color,
|
|
29021
29197
|
component,
|
|
@@ -29027,7 +29203,7 @@ const Button = /*#__PURE__*/React$1.forwardRef(function Button(inProps, ref) {
|
|
|
29027
29203
|
type,
|
|
29028
29204
|
variant
|
|
29029
29205
|
});
|
|
29030
|
-
const classes = useUtilityClasses$
|
|
29206
|
+
const classes = useUtilityClasses$v(ownerState);
|
|
29031
29207
|
const startIcon = startIconProp && /*#__PURE__*/jsxRuntimeExports.jsx(ButtonStartIcon, {
|
|
29032
29208
|
className: classes.startIcon,
|
|
29033
29209
|
ownerState: ownerState,
|
|
@@ -29153,8 +29329,8 @@ function getSwitchBaseUtilityClass(slot) {
|
|
|
29153
29329
|
}
|
|
29154
29330
|
generateUtilityClasses$1('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
|
|
29155
29331
|
|
|
29156
|
-
const _excluded$
|
|
29157
|
-
const useUtilityClasses$
|
|
29332
|
+
const _excluded$F = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
|
|
29333
|
+
const useUtilityClasses$u = ownerState => {
|
|
29158
29334
|
const {
|
|
29159
29335
|
classes,
|
|
29160
29336
|
checked,
|
|
@@ -29219,7 +29395,7 @@ const SwitchBase = /*#__PURE__*/React$1.forwardRef(function SwitchBase(props, re
|
|
|
29219
29395
|
type,
|
|
29220
29396
|
value
|
|
29221
29397
|
} = props,
|
|
29222
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
29398
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$F);
|
|
29223
29399
|
const [checked, setCheckedState] = useControlled({
|
|
29224
29400
|
controlled: checkedProp,
|
|
29225
29401
|
default: Boolean(defaultChecked),
|
|
@@ -29268,7 +29444,7 @@ const SwitchBase = /*#__PURE__*/React$1.forwardRef(function SwitchBase(props, re
|
|
|
29268
29444
|
disableFocusRipple,
|
|
29269
29445
|
edge
|
|
29270
29446
|
});
|
|
29271
|
-
const classes = useUtilityClasses$
|
|
29447
|
+
const classes = useUtilityClasses$u(ownerState);
|
|
29272
29448
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(SwitchBaseRoot, _extends$1({
|
|
29273
29449
|
component: "span",
|
|
29274
29450
|
className: clsx(classes.root, className),
|
|
@@ -29426,8 +29602,8 @@ function getCheckboxUtilityClass(slot) {
|
|
|
29426
29602
|
}
|
|
29427
29603
|
const checkboxClasses = generateUtilityClasses$1('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium']);
|
|
29428
29604
|
|
|
29429
|
-
const _excluded$
|
|
29430
|
-
const useUtilityClasses$
|
|
29605
|
+
const _excluded$E = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
|
|
29606
|
+
const useUtilityClasses$t = ownerState => {
|
|
29431
29607
|
const {
|
|
29432
29608
|
classes,
|
|
29433
29609
|
indeterminate,
|
|
@@ -29490,7 +29666,7 @@ const Checkbox = /*#__PURE__*/React$1.forwardRef(function Checkbox(inProps, ref)
|
|
|
29490
29666
|
size = 'medium',
|
|
29491
29667
|
className
|
|
29492
29668
|
} = props,
|
|
29493
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
29669
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$E);
|
|
29494
29670
|
const icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
29495
29671
|
const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
29496
29672
|
const ownerState = _extends$1({}, props, {
|
|
@@ -29498,7 +29674,7 @@ const Checkbox = /*#__PURE__*/React$1.forwardRef(function Checkbox(inProps, ref)
|
|
|
29498
29674
|
indeterminate,
|
|
29499
29675
|
size
|
|
29500
29676
|
});
|
|
29501
|
-
const classes = useUtilityClasses$
|
|
29677
|
+
const classes = useUtilityClasses$t(ownerState);
|
|
29502
29678
|
return /*#__PURE__*/jsxRuntimeExports.jsx(CheckboxRoot, _extends$1({
|
|
29503
29679
|
type: "checkbox",
|
|
29504
29680
|
inputProps: _extends$1({
|
|
@@ -29689,7 +29865,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
29689
29865
|
DialogContext.displayName = 'DialogContext';
|
|
29690
29866
|
}
|
|
29691
29867
|
|
|
29692
|
-
const _excluded$
|
|
29868
|
+
const _excluded$D = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
29693
29869
|
const DialogBackdrop = styled$1(Backdrop, {
|
|
29694
29870
|
name: 'MuiDialog',
|
|
29695
29871
|
slot: 'Backdrop',
|
|
@@ -29698,7 +29874,7 @@ const DialogBackdrop = styled$1(Backdrop, {
|
|
|
29698
29874
|
// Improve scrollable dialog support.
|
|
29699
29875
|
zIndex: -1
|
|
29700
29876
|
});
|
|
29701
|
-
const useUtilityClasses$
|
|
29877
|
+
const useUtilityClasses$s = ownerState => {
|
|
29702
29878
|
const {
|
|
29703
29879
|
classes,
|
|
29704
29880
|
scroll,
|
|
@@ -29852,7 +30028,7 @@ const Dialog = /*#__PURE__*/React$1.forwardRef(function Dialog(inProps, ref) {
|
|
|
29852
30028
|
transitionDuration = defaultTransitionDuration,
|
|
29853
30029
|
TransitionProps
|
|
29854
30030
|
} = props,
|
|
29855
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
30031
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$D);
|
|
29856
30032
|
const ownerState = _extends$1({}, props, {
|
|
29857
30033
|
disableEscapeKeyDown,
|
|
29858
30034
|
fullScreen,
|
|
@@ -29860,7 +30036,7 @@ const Dialog = /*#__PURE__*/React$1.forwardRef(function Dialog(inProps, ref) {
|
|
|
29860
30036
|
maxWidth,
|
|
29861
30037
|
scroll
|
|
29862
30038
|
});
|
|
29863
|
-
const classes = useUtilityClasses$
|
|
30039
|
+
const classes = useUtilityClasses$s(ownerState);
|
|
29864
30040
|
const backdropClick = React$1.useRef();
|
|
29865
30041
|
const handleMouseDown = event => {
|
|
29866
30042
|
// We don't want to close the dialog when clicking the dialog content.
|
|
@@ -30075,8 +30251,8 @@ function getDialogActionsUtilityClass(slot) {
|
|
|
30075
30251
|
}
|
|
30076
30252
|
generateUtilityClasses$1('MuiDialogActions', ['root', 'spacing']);
|
|
30077
30253
|
|
|
30078
|
-
const _excluded$
|
|
30079
|
-
const useUtilityClasses$
|
|
30254
|
+
const _excluded$C = ["className", "disableSpacing"];
|
|
30255
|
+
const useUtilityClasses$r = ownerState => {
|
|
30080
30256
|
const {
|
|
30081
30257
|
classes,
|
|
30082
30258
|
disableSpacing
|
|
@@ -30117,11 +30293,11 @@ const DialogActions = /*#__PURE__*/React$1.forwardRef(function DialogActions(inP
|
|
|
30117
30293
|
className,
|
|
30118
30294
|
disableSpacing = false
|
|
30119
30295
|
} = props,
|
|
30120
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
30296
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$C);
|
|
30121
30297
|
const ownerState = _extends$1({}, props, {
|
|
30122
30298
|
disableSpacing
|
|
30123
30299
|
});
|
|
30124
|
-
const classes = useUtilityClasses$
|
|
30300
|
+
const classes = useUtilityClasses$r(ownerState);
|
|
30125
30301
|
return /*#__PURE__*/jsxRuntimeExports.jsx(DialogActionsRoot, _extends$1({
|
|
30126
30302
|
className: clsx(classes.root, className),
|
|
30127
30303
|
ownerState: ownerState,
|
|
@@ -30166,8 +30342,8 @@ function getDialogTitleUtilityClass(slot) {
|
|
|
30166
30342
|
}
|
|
30167
30343
|
const dialogTitleClasses = generateUtilityClasses$1('MuiDialogTitle', ['root']);
|
|
30168
30344
|
|
|
30169
|
-
const _excluded$
|
|
30170
|
-
const useUtilityClasses$
|
|
30345
|
+
const _excluded$B = ["className", "dividers"];
|
|
30346
|
+
const useUtilityClasses$q = ownerState => {
|
|
30171
30347
|
const {
|
|
30172
30348
|
classes,
|
|
30173
30349
|
dividers
|
|
@@ -30213,11 +30389,11 @@ const DialogContent = /*#__PURE__*/React$1.forwardRef(function DialogContent(inP
|
|
|
30213
30389
|
className,
|
|
30214
30390
|
dividers = false
|
|
30215
30391
|
} = props,
|
|
30216
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
30392
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$B);
|
|
30217
30393
|
const ownerState = _extends$1({}, props, {
|
|
30218
30394
|
dividers
|
|
30219
30395
|
});
|
|
30220
|
-
const classes = useUtilityClasses$
|
|
30396
|
+
const classes = useUtilityClasses$q(ownerState);
|
|
30221
30397
|
return /*#__PURE__*/jsxRuntimeExports.jsx(DialogContentRoot, _extends$1({
|
|
30222
30398
|
className: clsx(classes.root, className),
|
|
30223
30399
|
ownerState: ownerState,
|
|
@@ -30252,8 +30428,8 @@ process.env.NODE_ENV !== "production" ? DialogContent.propTypes /* remove-propty
|
|
|
30252
30428
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
30253
30429
|
} : void 0;
|
|
30254
30430
|
|
|
30255
|
-
const _excluded$
|
|
30256
|
-
const useUtilityClasses$
|
|
30431
|
+
const _excluded$A = ["className", "id"];
|
|
30432
|
+
const useUtilityClasses$p = ownerState => {
|
|
30257
30433
|
const {
|
|
30258
30434
|
classes
|
|
30259
30435
|
} = ownerState;
|
|
@@ -30279,9 +30455,9 @@ const DialogTitle = /*#__PURE__*/React$1.forwardRef(function DialogTitle(inProps
|
|
|
30279
30455
|
className,
|
|
30280
30456
|
id: idProp
|
|
30281
30457
|
} = props,
|
|
30282
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
30458
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$A);
|
|
30283
30459
|
const ownerState = props;
|
|
30284
|
-
const classes = useUtilityClasses$
|
|
30460
|
+
const classes = useUtilityClasses$p(ownerState);
|
|
30285
30461
|
const {
|
|
30286
30462
|
titleId = idProp
|
|
30287
30463
|
} = React$1.useContext(DialogContext);
|
|
@@ -30326,8 +30502,8 @@ function getDividerUtilityClass(slot) {
|
|
|
30326
30502
|
}
|
|
30327
30503
|
const dividerClasses = generateUtilityClasses$1('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
|
|
30328
30504
|
|
|
30329
|
-
const _excluded$
|
|
30330
|
-
const useUtilityClasses$
|
|
30505
|
+
const _excluded$z = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
|
|
30506
|
+
const useUtilityClasses$o = ownerState => {
|
|
30331
30507
|
const {
|
|
30332
30508
|
absolute,
|
|
30333
30509
|
children,
|
|
@@ -30468,7 +30644,7 @@ const Divider = /*#__PURE__*/React$1.forwardRef(function Divider(inProps, ref) {
|
|
|
30468
30644
|
textAlign = 'center',
|
|
30469
30645
|
variant = 'fullWidth'
|
|
30470
30646
|
} = props,
|
|
30471
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
30647
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$z);
|
|
30472
30648
|
const ownerState = _extends$1({}, props, {
|
|
30473
30649
|
absolute,
|
|
30474
30650
|
component,
|
|
@@ -30479,7 +30655,7 @@ const Divider = /*#__PURE__*/React$1.forwardRef(function Divider(inProps, ref) {
|
|
|
30479
30655
|
textAlign,
|
|
30480
30656
|
variant
|
|
30481
30657
|
});
|
|
30482
|
-
const classes = useUtilityClasses$
|
|
30658
|
+
const classes = useUtilityClasses$o(ownerState);
|
|
30483
30659
|
return /*#__PURE__*/jsxRuntimeExports.jsx(DividerRoot, _extends$1({
|
|
30484
30660
|
as: component,
|
|
30485
30661
|
className: clsx(classes.root, className),
|
|
@@ -30564,7 +30740,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes /* remove-proptypes */
|
|
|
30564
30740
|
variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['fullWidth', 'inset', 'middle']), PropTypes.string])
|
|
30565
30741
|
} : void 0;
|
|
30566
30742
|
|
|
30567
|
-
const _excluded$
|
|
30743
|
+
const _excluded$y = ["addEndListener", "appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
30568
30744
|
function getTranslateValue(direction, node, resolvedContainer) {
|
|
30569
30745
|
const rect = node.getBoundingClientRect();
|
|
30570
30746
|
const containerRect = resolvedContainer && resolvedContainer.getBoundingClientRect();
|
|
@@ -30653,7 +30829,7 @@ const Slide = /*#__PURE__*/React$1.forwardRef(function Slide(props, ref) {
|
|
|
30653
30829
|
// eslint-disable-next-line react/prop-types
|
|
30654
30830
|
TransitionComponent = Transition
|
|
30655
30831
|
} = props,
|
|
30656
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
30832
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$y);
|
|
30657
30833
|
const childrenRef = React$1.useRef(null);
|
|
30658
30834
|
const handleRef = useForkRef(children.ref, childrenRef, ref);
|
|
30659
30835
|
const normalizedTransitionCallback = callback => isAppearing => {
|
|
@@ -30875,6 +31051,62 @@ process.env.NODE_ENV !== "production" ? Slide.propTypes /* remove-proptypes */ =
|
|
|
30875
31051
|
})])
|
|
30876
31052
|
} : void 0;
|
|
30877
31053
|
|
|
31054
|
+
const Stack = createStack({
|
|
31055
|
+
createStyledComponent: styled$1('div', {
|
|
31056
|
+
name: 'MuiStack',
|
|
31057
|
+
slot: 'Root',
|
|
31058
|
+
overridesResolver: (props, styles) => styles.root
|
|
31059
|
+
}),
|
|
31060
|
+
useThemeProps: inProps => useThemeProps$1({
|
|
31061
|
+
props: inProps,
|
|
31062
|
+
name: 'MuiStack'
|
|
31063
|
+
})
|
|
31064
|
+
});
|
|
31065
|
+
process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ = {
|
|
31066
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
31067
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
31068
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
31069
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
31070
|
+
/**
|
|
31071
|
+
* The content of the component.
|
|
31072
|
+
*/
|
|
31073
|
+
children: PropTypes.node,
|
|
31074
|
+
/**
|
|
31075
|
+
* The component used for the root node.
|
|
31076
|
+
* Either a string to use a HTML element or a component.
|
|
31077
|
+
*/
|
|
31078
|
+
component: PropTypes.elementType,
|
|
31079
|
+
/**
|
|
31080
|
+
* Defines the `flex-direction` style property.
|
|
31081
|
+
* It is applied for all screen sizes.
|
|
31082
|
+
* @default 'column'
|
|
31083
|
+
*/
|
|
31084
|
+
direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
31085
|
+
/**
|
|
31086
|
+
* Add an element between each child.
|
|
31087
|
+
*/
|
|
31088
|
+
divider: PropTypes.node,
|
|
31089
|
+
/**
|
|
31090
|
+
* Defines the space between immediate children.
|
|
31091
|
+
* @default 0
|
|
31092
|
+
*/
|
|
31093
|
+
spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
31094
|
+
/**
|
|
31095
|
+
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
31096
|
+
*/
|
|
31097
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
31098
|
+
/**
|
|
31099
|
+
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
|
31100
|
+
*
|
|
31101
|
+
* While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
|
|
31102
|
+
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
|
31103
|
+
*
|
|
31104
|
+
* To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
|
|
31105
|
+
* @default false
|
|
31106
|
+
*/
|
|
31107
|
+
useFlexGap: PropTypes.bool
|
|
31108
|
+
} : void 0;
|
|
31109
|
+
|
|
30878
31110
|
/**
|
|
30879
31111
|
* @ignore - internal component.
|
|
30880
31112
|
*/
|
|
@@ -30900,7 +31132,7 @@ const gridClasses = generateUtilityClasses$1('MuiGrid', ['root', 'container', 'i
|
|
|
30900
31132
|
// grid sizes for all breakpoints
|
|
30901
31133
|
...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}`)]);
|
|
30902
31134
|
|
|
30903
|
-
const _excluded$
|
|
31135
|
+
const _excluded$x = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
|
|
30904
31136
|
function getOffset(val) {
|
|
30905
31137
|
const parse = parseFloat(val);
|
|
30906
31138
|
return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
|
|
@@ -31209,7 +31441,7 @@ function resolveSpacingClasses(spacing, breakpoints) {
|
|
|
31209
31441
|
});
|
|
31210
31442
|
return classes;
|
|
31211
31443
|
}
|
|
31212
|
-
const useUtilityClasses$
|
|
31444
|
+
const useUtilityClasses$n = ownerState => {
|
|
31213
31445
|
const {
|
|
31214
31446
|
classes,
|
|
31215
31447
|
container,
|
|
@@ -31260,7 +31492,7 @@ const Grid = /*#__PURE__*/React$1.forwardRef(function Grid(inProps, ref) {
|
|
|
31260
31492
|
wrap = 'wrap',
|
|
31261
31493
|
zeroMinWidth = false
|
|
31262
31494
|
} = props,
|
|
31263
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
31495
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$x);
|
|
31264
31496
|
const rowSpacing = rowSpacingProp || spacing;
|
|
31265
31497
|
const columnSpacing = columnSpacingProp || spacing;
|
|
31266
31498
|
const columnsContext = React$1.useContext(GridContext);
|
|
@@ -31288,7 +31520,7 @@ const Grid = /*#__PURE__*/React$1.forwardRef(function Grid(inProps, ref) {
|
|
|
31288
31520
|
}, breakpointsValues, {
|
|
31289
31521
|
breakpoints: breakpoints.keys
|
|
31290
31522
|
});
|
|
31291
|
-
const classes = useUtilityClasses$
|
|
31523
|
+
const classes = useUtilityClasses$n(ownerState);
|
|
31292
31524
|
return /*#__PURE__*/jsxRuntimeExports.jsx(GridContext.Provider, {
|
|
31293
31525
|
value: columns,
|
|
31294
31526
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(GridRoot, _extends$1({
|
|
@@ -31448,14 +31680,14 @@ function getInputAdornmentUtilityClass(slot) {
|
|
|
31448
31680
|
const inputAdornmentClasses = generateUtilityClasses$1('MuiInputAdornment', ['root', 'filled', 'standard', 'outlined', 'positionStart', 'positionEnd', 'disablePointerEvents', 'hiddenLabel', 'sizeSmall']);
|
|
31449
31681
|
|
|
31450
31682
|
var _span;
|
|
31451
|
-
const _excluded$
|
|
31683
|
+
const _excluded$w = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"];
|
|
31452
31684
|
const overridesResolver$3 = (props, styles) => {
|
|
31453
31685
|
const {
|
|
31454
31686
|
ownerState
|
|
31455
31687
|
} = props;
|
|
31456
31688
|
return [styles.root, styles[`position${capitalize$1(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
|
|
31457
31689
|
};
|
|
31458
|
-
const useUtilityClasses$
|
|
31690
|
+
const useUtilityClasses$m = ownerState => {
|
|
31459
31691
|
const {
|
|
31460
31692
|
classes,
|
|
31461
31693
|
disablePointerEvents,
|
|
@@ -31513,7 +31745,7 @@ const InputAdornment = /*#__PURE__*/React$1.forwardRef(function InputAdornment(i
|
|
|
31513
31745
|
position,
|
|
31514
31746
|
variant: variantProp
|
|
31515
31747
|
} = props,
|
|
31516
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
31748
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$w);
|
|
31517
31749
|
const muiFormControl = useFormControl() || {};
|
|
31518
31750
|
let variant = variantProp;
|
|
31519
31751
|
if (variantProp && muiFormControl.variant) {
|
|
@@ -31533,7 +31765,7 @@ const InputAdornment = /*#__PURE__*/React$1.forwardRef(function InputAdornment(i
|
|
|
31533
31765
|
position,
|
|
31534
31766
|
variant
|
|
31535
31767
|
});
|
|
31536
|
-
const classes = useUtilityClasses$
|
|
31768
|
+
const classes = useUtilityClasses$m(ownerState);
|
|
31537
31769
|
return /*#__PURE__*/jsxRuntimeExports.jsx(FormControlContext.Provider, {
|
|
31538
31770
|
value: null,
|
|
31539
31771
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(InputAdornmentRoot, _extends$1({
|
|
@@ -31615,8 +31847,8 @@ function getListItemSecondaryActionClassesUtilityClass(slot) {
|
|
|
31615
31847
|
}
|
|
31616
31848
|
generateUtilityClasses$1('MuiListItemSecondaryAction', ['root', 'disableGutters']);
|
|
31617
31849
|
|
|
31618
|
-
const _excluded$
|
|
31619
|
-
const useUtilityClasses$
|
|
31850
|
+
const _excluded$v = ["className"];
|
|
31851
|
+
const useUtilityClasses$l = ownerState => {
|
|
31620
31852
|
const {
|
|
31621
31853
|
disableGutters,
|
|
31622
31854
|
classes
|
|
@@ -31657,12 +31889,12 @@ const ListItemSecondaryAction = /*#__PURE__*/React$1.forwardRef(function ListIte
|
|
|
31657
31889
|
const {
|
|
31658
31890
|
className
|
|
31659
31891
|
} = props,
|
|
31660
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
31892
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$v);
|
|
31661
31893
|
const context = React$1.useContext(ListContext);
|
|
31662
31894
|
const ownerState = _extends$1({}, props, {
|
|
31663
31895
|
disableGutters: context.disableGutters
|
|
31664
31896
|
});
|
|
31665
|
-
const classes = useUtilityClasses$
|
|
31897
|
+
const classes = useUtilityClasses$l(ownerState);
|
|
31666
31898
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListItemSecondaryActionRoot, _extends$1({
|
|
31667
31899
|
className: clsx(classes.root, className),
|
|
31668
31900
|
ownerState: ownerState,
|
|
@@ -31693,7 +31925,7 @@ process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.propTypes /* rem
|
|
|
31693
31925
|
} : void 0;
|
|
31694
31926
|
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
|
31695
31927
|
|
|
31696
|
-
const _excluded$
|
|
31928
|
+
const _excluded$u = ["className"],
|
|
31697
31929
|
_excluded2$6 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"];
|
|
31698
31930
|
const overridesResolver$2 = (props, styles) => {
|
|
31699
31931
|
const {
|
|
@@ -31701,7 +31933,7 @@ const overridesResolver$2 = (props, styles) => {
|
|
|
31701
31933
|
} = props;
|
|
31702
31934
|
return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.button && styles.button, ownerState.hasSecondaryAction && styles.secondaryAction];
|
|
31703
31935
|
};
|
|
31704
|
-
const useUtilityClasses$
|
|
31936
|
+
const useUtilityClasses$k = ownerState => {
|
|
31705
31937
|
const {
|
|
31706
31938
|
alignItems,
|
|
31707
31939
|
button,
|
|
@@ -31835,7 +32067,7 @@ const ListItem = /*#__PURE__*/React$1.forwardRef(function ListItem(inProps, ref)
|
|
|
31835
32067
|
slotProps = {},
|
|
31836
32068
|
slots = {}
|
|
31837
32069
|
} = props,
|
|
31838
|
-
ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$
|
|
32070
|
+
ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$u),
|
|
31839
32071
|
other = _objectWithoutPropertiesLoose(props, _excluded2$6);
|
|
31840
32072
|
const context = React$1.useContext(ListContext);
|
|
31841
32073
|
const childContext = React$1.useMemo(() => ({
|
|
@@ -31869,7 +32101,7 @@ const ListItem = /*#__PURE__*/React$1.forwardRef(function ListItem(inProps, ref)
|
|
|
31869
32101
|
hasSecondaryAction,
|
|
31870
32102
|
selected
|
|
31871
32103
|
});
|
|
31872
|
-
const classes = useUtilityClasses$
|
|
32104
|
+
const classes = useUtilityClasses$k(ownerState);
|
|
31873
32105
|
const handleRef = useForkRef(listItemRef, ref);
|
|
31874
32106
|
const Root = slots.root || components.Root || ListItemRoot;
|
|
31875
32107
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
@@ -32098,8 +32330,8 @@ function getListItemTextUtilityClass(slot) {
|
|
|
32098
32330
|
}
|
|
32099
32331
|
const listItemTextClasses = generateUtilityClasses$1('MuiListItemText', ['root', 'multiline', 'dense', 'inset', 'primary', 'secondary']);
|
|
32100
32332
|
|
|
32101
|
-
const _excluded$
|
|
32102
|
-
const useUtilityClasses$
|
|
32333
|
+
const _excluded$t = ["children", "className", "disableTypography", "inset", "primary", "primaryTypographyProps", "secondary", "secondaryTypographyProps"];
|
|
32334
|
+
const useUtilityClasses$j = ownerState => {
|
|
32103
32335
|
const {
|
|
32104
32336
|
classes,
|
|
32105
32337
|
inset,
|
|
@@ -32155,7 +32387,7 @@ const ListItemText = /*#__PURE__*/React$1.forwardRef(function ListItemText(inPro
|
|
|
32155
32387
|
secondary: secondaryProp,
|
|
32156
32388
|
secondaryTypographyProps
|
|
32157
32389
|
} = props,
|
|
32158
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
32390
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$t);
|
|
32159
32391
|
const {
|
|
32160
32392
|
dense
|
|
32161
32393
|
} = React$1.useContext(ListContext);
|
|
@@ -32168,7 +32400,7 @@ const ListItemText = /*#__PURE__*/React$1.forwardRef(function ListItemText(inPro
|
|
|
32168
32400
|
secondary: !!secondary,
|
|
32169
32401
|
dense
|
|
32170
32402
|
});
|
|
32171
|
-
const classes = useUtilityClasses$
|
|
32403
|
+
const classes = useUtilityClasses$j(ownerState);
|
|
32172
32404
|
if (primary != null && primary.type !== Typography && !disableTypography) {
|
|
32173
32405
|
primary = /*#__PURE__*/jsxRuntimeExports.jsx(Typography, _extends$1({
|
|
32174
32406
|
variant: dense ? 'body2' : 'body1',
|
|
@@ -32257,14 +32489,14 @@ function getMenuItemUtilityClass(slot) {
|
|
|
32257
32489
|
}
|
|
32258
32490
|
const menuItemClasses = generateUtilityClasses$1('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);
|
|
32259
32491
|
|
|
32260
|
-
const _excluded$
|
|
32492
|
+
const _excluded$s = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"];
|
|
32261
32493
|
const overridesResolver$1 = (props, styles) => {
|
|
32262
32494
|
const {
|
|
32263
32495
|
ownerState
|
|
32264
32496
|
} = props;
|
|
32265
32497
|
return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
|
|
32266
32498
|
};
|
|
32267
|
-
const useUtilityClasses$
|
|
32499
|
+
const useUtilityClasses$i = ownerState => {
|
|
32268
32500
|
const {
|
|
32269
32501
|
disabled,
|
|
32270
32502
|
dense,
|
|
@@ -32379,7 +32611,7 @@ const MenuItem = /*#__PURE__*/React$1.forwardRef(function MenuItem(inProps, ref)
|
|
|
32379
32611
|
tabIndex: tabIndexProp,
|
|
32380
32612
|
className
|
|
32381
32613
|
} = props,
|
|
32382
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
32614
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$s);
|
|
32383
32615
|
const context = React$1.useContext(ListContext);
|
|
32384
32616
|
const childContext = React$1.useMemo(() => ({
|
|
32385
32617
|
dense: dense || context.dense || false,
|
|
@@ -32400,7 +32632,7 @@ const MenuItem = /*#__PURE__*/React$1.forwardRef(function MenuItem(inProps, ref)
|
|
|
32400
32632
|
divider,
|
|
32401
32633
|
disableGutters
|
|
32402
32634
|
});
|
|
32403
|
-
const classes = useUtilityClasses$
|
|
32635
|
+
const classes = useUtilityClasses$i(props);
|
|
32404
32636
|
const handleRef = useForkRef(menuItemRef, ref);
|
|
32405
32637
|
let tabIndex;
|
|
32406
32638
|
if (!props.disabled) {
|
|
@@ -32497,6 +32729,219 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes /* remove-proptypes *
|
|
|
32497
32729
|
tabIndex: PropTypes.number
|
|
32498
32730
|
} : void 0;
|
|
32499
32731
|
|
|
32732
|
+
function getSkeletonUtilityClass(slot) {
|
|
32733
|
+
return generateUtilityClass$1('MuiSkeleton', slot);
|
|
32734
|
+
}
|
|
32735
|
+
generateUtilityClasses$1('MuiSkeleton', ['root', 'text', 'rectangular', 'rounded', 'circular', 'pulse', 'wave', 'withChildren', 'fitContent', 'heightAuto']);
|
|
32736
|
+
|
|
32737
|
+
const _excluded$r = ["animation", "className", "component", "height", "style", "variant", "width"];
|
|
32738
|
+
let _ = t => t,
|
|
32739
|
+
_t,
|
|
32740
|
+
_t2,
|
|
32741
|
+
_t3,
|
|
32742
|
+
_t4;
|
|
32743
|
+
const useUtilityClasses$h = ownerState => {
|
|
32744
|
+
const {
|
|
32745
|
+
classes,
|
|
32746
|
+
variant,
|
|
32747
|
+
animation,
|
|
32748
|
+
hasChildren,
|
|
32749
|
+
width,
|
|
32750
|
+
height
|
|
32751
|
+
} = ownerState;
|
|
32752
|
+
const slots = {
|
|
32753
|
+
root: ['root', variant, animation, hasChildren && 'withChildren', hasChildren && !width && 'fitContent', hasChildren && !height && 'heightAuto']
|
|
32754
|
+
};
|
|
32755
|
+
return composeClasses(slots, getSkeletonUtilityClass, classes);
|
|
32756
|
+
};
|
|
32757
|
+
const pulseKeyframe = keyframes(_t || (_t = _`
|
|
32758
|
+
0% {
|
|
32759
|
+
opacity: 1;
|
|
32760
|
+
}
|
|
32761
|
+
|
|
32762
|
+
50% {
|
|
32763
|
+
opacity: 0.4;
|
|
32764
|
+
}
|
|
32765
|
+
|
|
32766
|
+
100% {
|
|
32767
|
+
opacity: 1;
|
|
32768
|
+
}
|
|
32769
|
+
`));
|
|
32770
|
+
const waveKeyframe = keyframes(_t2 || (_t2 = _`
|
|
32771
|
+
0% {
|
|
32772
|
+
transform: translateX(-100%);
|
|
32773
|
+
}
|
|
32774
|
+
|
|
32775
|
+
50% {
|
|
32776
|
+
/* +0.5s of delay between each loop */
|
|
32777
|
+
transform: translateX(100%);
|
|
32778
|
+
}
|
|
32779
|
+
|
|
32780
|
+
100% {
|
|
32781
|
+
transform: translateX(100%);
|
|
32782
|
+
}
|
|
32783
|
+
`));
|
|
32784
|
+
const SkeletonRoot = styled$1('span', {
|
|
32785
|
+
name: 'MuiSkeleton',
|
|
32786
|
+
slot: 'Root',
|
|
32787
|
+
overridesResolver: (props, styles) => {
|
|
32788
|
+
const {
|
|
32789
|
+
ownerState
|
|
32790
|
+
} = props;
|
|
32791
|
+
return [styles.root, styles[ownerState.variant], ownerState.animation !== false && styles[ownerState.animation], ownerState.hasChildren && styles.withChildren, ownerState.hasChildren && !ownerState.width && styles.fitContent, ownerState.hasChildren && !ownerState.height && styles.heightAuto];
|
|
32792
|
+
}
|
|
32793
|
+
})(({
|
|
32794
|
+
theme,
|
|
32795
|
+
ownerState
|
|
32796
|
+
}) => {
|
|
32797
|
+
const radiusUnit = getUnit(theme.shape.borderRadius) || 'px';
|
|
32798
|
+
const radiusValue = toUnitless(theme.shape.borderRadius);
|
|
32799
|
+
return _extends$1({
|
|
32800
|
+
display: 'block',
|
|
32801
|
+
// Create a "on paper" color with sufficient contrast retaining the color
|
|
32802
|
+
backgroundColor: theme.vars ? theme.vars.palette.Skeleton.bg : alpha(theme.palette.text.primary, theme.palette.mode === 'light' ? 0.11 : 0.13),
|
|
32803
|
+
height: '1.2em'
|
|
32804
|
+
}, ownerState.variant === 'text' && {
|
|
32805
|
+
marginTop: 0,
|
|
32806
|
+
marginBottom: 0,
|
|
32807
|
+
height: 'auto',
|
|
32808
|
+
transformOrigin: '0 55%',
|
|
32809
|
+
transform: 'scale(1, 0.60)',
|
|
32810
|
+
borderRadius: `${radiusValue}${radiusUnit}/${Math.round(radiusValue / 0.6 * 10) / 10}${radiusUnit}`,
|
|
32811
|
+
'&:empty:before': {
|
|
32812
|
+
content: '"\\00a0"'
|
|
32813
|
+
}
|
|
32814
|
+
}, ownerState.variant === 'circular' && {
|
|
32815
|
+
borderRadius: '50%'
|
|
32816
|
+
}, ownerState.variant === 'rounded' && {
|
|
32817
|
+
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
32818
|
+
}, ownerState.hasChildren && {
|
|
32819
|
+
'& > *': {
|
|
32820
|
+
visibility: 'hidden'
|
|
32821
|
+
}
|
|
32822
|
+
}, ownerState.hasChildren && !ownerState.width && {
|
|
32823
|
+
maxWidth: 'fit-content'
|
|
32824
|
+
}, ownerState.hasChildren && !ownerState.height && {
|
|
32825
|
+
height: 'auto'
|
|
32826
|
+
});
|
|
32827
|
+
}, ({
|
|
32828
|
+
ownerState
|
|
32829
|
+
}) => ownerState.animation === 'pulse' && css$1(_t3 || (_t3 = _`
|
|
32830
|
+
animation: ${0} 2s ease-in-out 0.5s infinite;
|
|
32831
|
+
`), pulseKeyframe), ({
|
|
32832
|
+
ownerState,
|
|
32833
|
+
theme
|
|
32834
|
+
}) => ownerState.animation === 'wave' && css$1(_t4 || (_t4 = _`
|
|
32835
|
+
position: relative;
|
|
32836
|
+
overflow: hidden;
|
|
32837
|
+
|
|
32838
|
+
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
|
|
32839
|
+
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
32840
|
+
|
|
32841
|
+
&::after {
|
|
32842
|
+
animation: ${0} 2s linear 0.5s infinite;
|
|
32843
|
+
background: linear-gradient(
|
|
32844
|
+
90deg,
|
|
32845
|
+
transparent,
|
|
32846
|
+
${0},
|
|
32847
|
+
transparent
|
|
32848
|
+
);
|
|
32849
|
+
content: '';
|
|
32850
|
+
position: absolute;
|
|
32851
|
+
transform: translateX(-100%); /* Avoid flash during server-side hydration */
|
|
32852
|
+
bottom: 0;
|
|
32853
|
+
left: 0;
|
|
32854
|
+
right: 0;
|
|
32855
|
+
top: 0;
|
|
32856
|
+
}
|
|
32857
|
+
`), waveKeyframe, (theme.vars || theme).palette.action.hover));
|
|
32858
|
+
const Skeleton = /*#__PURE__*/React$1.forwardRef(function Skeleton(inProps, ref) {
|
|
32859
|
+
const props = useThemeProps$1({
|
|
32860
|
+
props: inProps,
|
|
32861
|
+
name: 'MuiSkeleton'
|
|
32862
|
+
});
|
|
32863
|
+
const {
|
|
32864
|
+
animation = 'pulse',
|
|
32865
|
+
className,
|
|
32866
|
+
component = 'span',
|
|
32867
|
+
height,
|
|
32868
|
+
style,
|
|
32869
|
+
variant = 'text',
|
|
32870
|
+
width
|
|
32871
|
+
} = props,
|
|
32872
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$r);
|
|
32873
|
+
const ownerState = _extends$1({}, props, {
|
|
32874
|
+
animation,
|
|
32875
|
+
component,
|
|
32876
|
+
variant,
|
|
32877
|
+
hasChildren: Boolean(other.children)
|
|
32878
|
+
});
|
|
32879
|
+
const classes = useUtilityClasses$h(ownerState);
|
|
32880
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(SkeletonRoot, _extends$1({
|
|
32881
|
+
as: component,
|
|
32882
|
+
ref: ref,
|
|
32883
|
+
className: clsx(classes.root, className),
|
|
32884
|
+
ownerState: ownerState
|
|
32885
|
+
}, other, {
|
|
32886
|
+
style: _extends$1({
|
|
32887
|
+
width,
|
|
32888
|
+
height
|
|
32889
|
+
}, style)
|
|
32890
|
+
}));
|
|
32891
|
+
});
|
|
32892
|
+
process.env.NODE_ENV !== "production" ? Skeleton.propTypes /* remove-proptypes */ = {
|
|
32893
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
32894
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
32895
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
32896
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
32897
|
+
/**
|
|
32898
|
+
* The animation.
|
|
32899
|
+
* If `false` the animation effect is disabled.
|
|
32900
|
+
* @default 'pulse'
|
|
32901
|
+
*/
|
|
32902
|
+
animation: PropTypes.oneOf(['pulse', 'wave', false]),
|
|
32903
|
+
/**
|
|
32904
|
+
* Optional children to infer width and height from.
|
|
32905
|
+
*/
|
|
32906
|
+
children: PropTypes.node,
|
|
32907
|
+
/**
|
|
32908
|
+
* Override or extend the styles applied to the component.
|
|
32909
|
+
*/
|
|
32910
|
+
classes: PropTypes.object,
|
|
32911
|
+
/**
|
|
32912
|
+
* @ignore
|
|
32913
|
+
*/
|
|
32914
|
+
className: PropTypes.string,
|
|
32915
|
+
/**
|
|
32916
|
+
* The component used for the root node.
|
|
32917
|
+
* Either a string to use a HTML element or a component.
|
|
32918
|
+
*/
|
|
32919
|
+
component: PropTypes.elementType,
|
|
32920
|
+
/**
|
|
32921
|
+
* Height of the skeleton.
|
|
32922
|
+
* Useful when you don't want to adapt the skeleton to a text element but for instance a card.
|
|
32923
|
+
*/
|
|
32924
|
+
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
32925
|
+
/**
|
|
32926
|
+
* @ignore
|
|
32927
|
+
*/
|
|
32928
|
+
style: PropTypes.object,
|
|
32929
|
+
/**
|
|
32930
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32931
|
+
*/
|
|
32932
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
32933
|
+
/**
|
|
32934
|
+
* The type of content that will be rendered.
|
|
32935
|
+
* @default 'text'
|
|
32936
|
+
*/
|
|
32937
|
+
variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rectangular', 'rounded', 'text']), PropTypes.string]),
|
|
32938
|
+
/**
|
|
32939
|
+
* Width of the skeleton.
|
|
32940
|
+
* Useful when the skeleton is inside an inline element with no width of its own.
|
|
32941
|
+
*/
|
|
32942
|
+
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
32943
|
+
} : void 0;
|
|
32944
|
+
|
|
32500
32945
|
function getTooltipUtilityClass(slot) {
|
|
32501
32946
|
return generateUtilityClass$1('MuiTooltip', slot);
|
|
32502
32947
|
}
|
|
@@ -52010,7 +52455,7 @@ const DateRangePickerComponent = ({ props }) => {
|
|
|
52010
52455
|
} }, { children: jsxRuntimeExports.jsx(DateRangePickerExporter, { open: true, toggle: toggle, initialDateRange: dateRange, closeOnClickOutside: true, onChange: (range) => setDateRange(range) }) })) })))] })));
|
|
52011
52456
|
};
|
|
52012
52457
|
|
|
52013
|
-
const useStyles$
|
|
52458
|
+
const useStyles$2 = makeStyles((theme) => ({
|
|
52014
52459
|
option: {
|
|
52015
52460
|
fontSize: "11px",
|
|
52016
52461
|
fontFamily: "Roboto-Reg",
|
|
@@ -52023,7 +52468,7 @@ const useStyles$1 = makeStyles((theme) => ({
|
|
|
52023
52468
|
},
|
|
52024
52469
|
}));
|
|
52025
52470
|
const SingleSelect = ({ props }) => {
|
|
52026
|
-
const classes = useStyles$
|
|
52471
|
+
const classes = useStyles$2();
|
|
52027
52472
|
// const valueRender = props.item.options?.find(
|
|
52028
52473
|
// (item) => item.value === props.getValues(props.item.name)
|
|
52029
52474
|
// );
|
|
@@ -52287,7 +52732,7 @@ const FormRenderFileUpload = ({ props }) => {
|
|
|
52287
52732
|
}, sx: { width: "100%" } })] })), jsxRuntimeExports.jsx(ErrorMessageComponent, { children: jsxRuntimeExports.jsx(s, { errors: props.errors, name: props.item.name }) })] }));
|
|
52288
52733
|
};
|
|
52289
52734
|
|
|
52290
|
-
const useStyles = makeStyles((theme) => ({
|
|
52735
|
+
const useStyles$1 = makeStyles((theme) => ({
|
|
52291
52736
|
option: {
|
|
52292
52737
|
fontSize: "11px",
|
|
52293
52738
|
fontFamily: "Roboto-Reg",
|
|
@@ -52300,7 +52745,7 @@ const useStyles = makeStyles((theme) => ({
|
|
|
52300
52745
|
},
|
|
52301
52746
|
}));
|
|
52302
52747
|
const SingleSelectNonAutoComplete = ({ props }) => {
|
|
52303
|
-
useStyles();
|
|
52748
|
+
useStyles$1();
|
|
52304
52749
|
return (jsxRuntimeExports.jsxs(FormControl, Object.assign({ fullWidth: true, sx: { position: "relative" } }, { children: [jsxRuntimeExports.jsx(InputLabel, Object.assign({ id: "demo-simple-select-label" }, { children: props.item.label })), jsxRuntimeExports.jsx(Select, Object.assign({ labelId: "demo-simple-select-label", id: "demo-simple-select",
|
|
52305
52750
|
// {...props.register(props.item.name)}
|
|
52306
52751
|
value: props.getValues(props.item.name), label: `${props.item.label}${props.item.required ? " *" : ""}`, onChange: (e) => props.setValue(props.item.name, e.target.value), onBlur: (e) => {
|
|
@@ -52335,6 +52780,87 @@ const FormActiveSwitch = ({ props }) => {
|
|
|
52335
52780
|
return (jsxRuntimeExports.jsx("div", { children: jsxRuntimeExports.jsxs("div", Object.assign({ className: "m-form__input" }, { children: [item.label && (jsxRuntimeExports.jsx("span", Object.assign({ style: { fontSize: "12px", fontWeight: 400, paddingRight: 10 } }, { children: item.label }))), jsxRuntimeExports.jsxs("span", Object.assign({ className: "switch prestashop-switch fixed-width-lg" }, { children: [jsxRuntimeExports.jsx("input", { checked: active, id: `${item.name}_on`, name: item.name, type: "radio", value: "Active", onChange: handleSwitchChange }), jsxRuntimeExports.jsx("label", Object.assign({ htmlFor: `${item.name}_on`, style: { fontFamily: "Roboto-Reg", textTransform: "none" } }, { children: item.label1 ? item.label1 : "Active" })), jsxRuntimeExports.jsx("input", { checked: !active, id: `${item.name}_off`, name: item.name, type: "radio", value: "In Active", onChange: handleSwitchChange }), jsxRuntimeExports.jsx("label", Object.assign({ htmlFor: `${item.name}_off`, style: { fontFamily: "Roboto-Reg", textTransform: "none" } }, { children: item.label2 ? item.label2 : "In Active" })), jsxRuntimeExports.jsx("a", { className: "slide-button btn" })] }))] })) }));
|
|
52336
52781
|
};
|
|
52337
52782
|
|
|
52783
|
+
const useStyles = makeStyles((theme) => ({
|
|
52784
|
+
option: {
|
|
52785
|
+
fontSize: "11px",
|
|
52786
|
+
fontFamily: "Roboto-Reg",
|
|
52787
|
+
},
|
|
52788
|
+
option2: {
|
|
52789
|
+
fontSize: "14px",
|
|
52790
|
+
fontFamily: "Roboto-Reg",
|
|
52791
|
+
},
|
|
52792
|
+
}));
|
|
52793
|
+
const SingleSelectSearchApi = ({ props }) => {
|
|
52794
|
+
var _a, _b;
|
|
52795
|
+
const classes = useStyles();
|
|
52796
|
+
const [searchValue, setSearchValue] = useState("");
|
|
52797
|
+
const [optionsFetched, setOptionsFetched] = useState([]);
|
|
52798
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
52799
|
+
useEffect(() => {
|
|
52800
|
+
var _a;
|
|
52801
|
+
const controller = new AbortController();
|
|
52802
|
+
const signal = controller.signal;
|
|
52803
|
+
if (((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.autoFIll) && props.getValues(props.item.name)) {
|
|
52804
|
+
setSearchValue(props.getValues(props.item.name));
|
|
52805
|
+
setOptionsFetched([]);
|
|
52806
|
+
}
|
|
52807
|
+
else if (props.getValues(props.item.name)) {
|
|
52808
|
+
setSearchValue('');
|
|
52809
|
+
}
|
|
52810
|
+
setIsLoading(true);
|
|
52811
|
+
props.item.AxiosInstance
|
|
52812
|
+
.get(props.item.ApiInstance + `&${props.item.searchInstance}=${searchValue}`, { signal })
|
|
52813
|
+
.then((res) => {
|
|
52814
|
+
setOptionsFetched(res.data);
|
|
52815
|
+
setIsLoading(false);
|
|
52816
|
+
props.item.setLoadedPaginationOptions && props.item.setLoadedPaginationOptions(res.data);
|
|
52817
|
+
})
|
|
52818
|
+
.catch((err) => {
|
|
52819
|
+
console.log(err, "error");
|
|
52820
|
+
setIsLoading(false);
|
|
52821
|
+
});
|
|
52822
|
+
return () => controller.abort();
|
|
52823
|
+
}, [searchValue, props.item.ApiInstance, props.getValues(props.item.name), (_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.autoFIll]);
|
|
52824
|
+
useEffect(() => {
|
|
52825
|
+
setSearchValue("");
|
|
52826
|
+
}, [(_b = props.item) === null || _b === void 0 ? void 0 : _b.ApiInstanceReferal]);
|
|
52827
|
+
const isOptionEqualToValue = (option, value) => (option === null || option === void 0 ? void 0 : option.value) === (value === null || value === void 0 ? void 0 : value.value); // Assuming there's a 'value' property in your options
|
|
52828
|
+
return (jsxRuntimeExports.jsx(Controller, { control: props.control, name: props.item.name, render: ({ field }) => {
|
|
52829
|
+
var _a, _b;
|
|
52830
|
+
return (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(Autocomplete, Object.assign({}, field, { value: props.getValues(props.item.name)
|
|
52831
|
+
? optionsFetched === null || optionsFetched === void 0 ? void 0 : optionsFetched.find((item) => (item === null || item === void 0 ? void 0 : item.value) === props.getValues(props.item.name))
|
|
52832
|
+
: null, onChange: (_, newValue) => {
|
|
52833
|
+
var _a, _b;
|
|
52834
|
+
// field.onChange(newValue);
|
|
52835
|
+
props.setValue(props.item.name, newValue === null || newValue === void 0 ? void 0 : newValue.value);
|
|
52836
|
+
((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.onChangeFn) &&
|
|
52837
|
+
((_b = props === null || props === void 0 ? void 0 : props.item) === null || _b === void 0 ? void 0 : _b.onChangeFn(newValue === null || newValue === void 0 ? void 0 : newValue.value));
|
|
52838
|
+
(props === null || props === void 0 ? void 0 : props.clearErrors) && (props === null || props === void 0 ? void 0 : props.clearErrors(props.item.name));
|
|
52839
|
+
}, size: "small", sx: {
|
|
52840
|
+
"& .MuiAutocomplete-input": {
|
|
52841
|
+
padding: "0px 0px 0px 5px !important",
|
|
52842
|
+
},
|
|
52843
|
+
"& .css-erkti9-MuiFormLabel-root-MuiInputLabel-root ": {
|
|
52844
|
+
top: "-5px",
|
|
52845
|
+
},
|
|
52846
|
+
}, disabled: props.item.disable, options: optionsFetched, classes: {
|
|
52847
|
+
option: props.item.size === "extrasmall"
|
|
52848
|
+
? classes.option
|
|
52849
|
+
: classes.option2,
|
|
52850
|
+
}, getOptionLabel: (option) => option.label, renderInput: (params) => {
|
|
52851
|
+
return (jsxRuntimeExports.jsx(Tooltip, Object.assign({ title: params.inputProps.value && params.inputProps.value }, { children: jsxRuntimeExports.jsx(TextField, Object.assign({}, params, { onChange: (e) => {
|
|
52852
|
+
setSearchValue(e.target.value);
|
|
52853
|
+
}, placeholder: props.item.placeholder, label: props.item.label })) })));
|
|
52854
|
+
}, PaperComponent: ({ children }) => (jsxRuntimeExports.jsx("div", Object.assign({ style: {
|
|
52855
|
+
background: "#fff",
|
|
52856
|
+
} }, { children: isLoading ? (jsxRuntimeExports.jsxs(Stack, Object.assign({ padding: 2, spacing: 1 }, { children: [jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 }), jsxRuntimeExports.jsx(Skeleton, { variant: "rectangular", width: "100%", height: 20 })] }))) : (children) }))), isOptionEqualToValue: isOptionEqualToValue })), ((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.helperText) && (jsxRuntimeExports.jsxs("span", Object.assign({ style: {
|
|
52857
|
+
fontFamily: "Roboto-Reg",
|
|
52858
|
+
fontSize: "11px",
|
|
52859
|
+
color: "#3651d3",
|
|
52860
|
+
} }, { children: ["(", (_b = props === null || props === void 0 ? void 0 : props.item) === null || _b === void 0 ? void 0 : _b.helperText, ")"] }))), jsxRuntimeExports.jsx(ErrorMessageComponent, { children: jsxRuntimeExports.jsx(s, { errors: props.errors, name: props.item.name }) })] }));
|
|
52861
|
+
} }));
|
|
52862
|
+
};
|
|
52863
|
+
|
|
52338
52864
|
const renderLabel = (label, isRequired, alignRight) => {
|
|
52339
52865
|
return (jsxRuntimeExports.jsx(LabelComponent, Object.assign({ container: true, style: { justifyContent: "normal" } }, { children: jsxRuntimeExports.jsxs(Box, Object.assign({ fontSize: "12px", fontFamily: "Roboto-Reg" }, { children: [label, isRequired ? jsxRuntimeExports.jsx(ImportantMark, { children: " *" }) : ""] })) })));
|
|
52340
52866
|
};
|
|
@@ -52457,12 +52983,8 @@ const RenderForm = (props) => {
|
|
|
52457
52983
|
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: jsxRuntimeExports.jsx(SingleSelect, { props: props }) }));
|
|
52458
52984
|
case "select-v2":
|
|
52459
52985
|
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: jsxRuntimeExports.jsx(SingleSelectNonAutoComplete, { props: props }) }));
|
|
52460
|
-
|
|
52461
|
-
|
|
52462
|
-
// <>
|
|
52463
|
-
// <SingleSelectSearchApi props={props} />
|
|
52464
|
-
// </>
|
|
52465
|
-
// );
|
|
52986
|
+
case "select-search-api":
|
|
52987
|
+
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: jsxRuntimeExports.jsx(SingleSelectSearchApi, { props: props }) }));
|
|
52466
52988
|
case "number":
|
|
52467
52989
|
case "pincode":
|
|
52468
52990
|
case "phoneNumber":
|