@unicef/material-ui 1.0.7 → 1.0.10
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/lib/dev.js +565 -574
- package/lib/dev.js.map +1 -1
- package/lib/prod.js +565 -574
- package/lib/prod.js.map +1 -1
- package/package.json +1 -1
package/lib/prod.js
CHANGED
|
@@ -2387,7 +2387,7 @@ var deepmerge = /*#__PURE__*/Object.freeze({
|
|
|
2387
2387
|
isPlainObject: isPlainObject
|
|
2388
2388
|
});
|
|
2389
2389
|
|
|
2390
|
-
const _excluded$
|
|
2390
|
+
const _excluded$2i = ["values", "unit", "step"];
|
|
2391
2391
|
const sortBreakpointsValues = values => {
|
|
2392
2392
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
2393
2393
|
key,
|
|
@@ -2421,7 +2421,7 @@ function createBreakpoints(breakpoints) {
|
|
|
2421
2421
|
unit = 'px',
|
|
2422
2422
|
step = 5
|
|
2423
2423
|
} = breakpoints,
|
|
2424
|
-
other = _objectWithoutPropertiesLoose$1(breakpoints, _excluded$
|
|
2424
|
+
other = _objectWithoutPropertiesLoose$1(breakpoints, _excluded$2i);
|
|
2425
2425
|
const sortedValues = sortBreakpointsValues(values);
|
|
2426
2426
|
const keys = Object.keys(sortedValues);
|
|
2427
2427
|
function up(key) {
|
|
@@ -3542,7 +3542,7 @@ function applyStyles$2(key, styles) {
|
|
|
3542
3542
|
return {};
|
|
3543
3543
|
}
|
|
3544
3544
|
|
|
3545
|
-
const _excluded$
|
|
3545
|
+
const _excluded$2h = ["breakpoints", "palette", "spacing", "shape"];
|
|
3546
3546
|
function createTheme$2(options = {}, ...args) {
|
|
3547
3547
|
const {
|
|
3548
3548
|
breakpoints: breakpointsInput = {},
|
|
@@ -3550,7 +3550,7 @@ function createTheme$2(options = {}, ...args) {
|
|
|
3550
3550
|
spacing: spacingInput,
|
|
3551
3551
|
shape: shapeInput = {}
|
|
3552
3552
|
} = options,
|
|
3553
|
-
other = _objectWithoutPropertiesLoose$1(options, _excluded$
|
|
3553
|
+
other = _objectWithoutPropertiesLoose$1(options, _excluded$2h);
|
|
3554
3554
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
3555
3555
|
const spacing = createSpacing(spacingInput);
|
|
3556
3556
|
let muiTheme = deepmerge$1({
|
|
@@ -3608,7 +3608,7 @@ function GlobalStyles$1({
|
|
|
3608
3608
|
});
|
|
3609
3609
|
}
|
|
3610
3610
|
|
|
3611
|
-
const _excluded$
|
|
3611
|
+
const _excluded$2g = ["sx"];
|
|
3612
3612
|
const splitProps = props => {
|
|
3613
3613
|
var _props$theme$unstable, _props$theme;
|
|
3614
3614
|
const result = {
|
|
@@ -3629,7 +3629,7 @@ function extendSxProp(props) {
|
|
|
3629
3629
|
const {
|
|
3630
3630
|
sx: inSx
|
|
3631
3631
|
} = props,
|
|
3632
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
3632
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$2g);
|
|
3633
3633
|
const {
|
|
3634
3634
|
systemProps,
|
|
3635
3635
|
otherProps
|
|
@@ -3681,7 +3681,7 @@ var ClassNameGenerator$1 = ClassNameGenerator;
|
|
|
3681
3681
|
|
|
3682
3682
|
function r$1(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r$1(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx$1(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
|
|
3683
3683
|
|
|
3684
|
-
const _excluded$
|
|
3684
|
+
const _excluded$2f = ["className", "component"];
|
|
3685
3685
|
function createBox(options = {}) {
|
|
3686
3686
|
const {
|
|
3687
3687
|
themeId,
|
|
@@ -3699,7 +3699,7 @@ function createBox(options = {}) {
|
|
|
3699
3699
|
className,
|
|
3700
3700
|
component = 'div'
|
|
3701
3701
|
} = _extendSxProp,
|
|
3702
|
-
other = _objectWithoutPropertiesLoose$1(_extendSxProp, _excluded$
|
|
3702
|
+
other = _objectWithoutPropertiesLoose$1(_extendSxProp, _excluded$2f);
|
|
3703
3703
|
return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$3({
|
|
3704
3704
|
as: component,
|
|
3705
3705
|
ref: ref,
|
|
@@ -3789,7 +3789,7 @@ var getDisplayName = /*#__PURE__*/Object.freeze({
|
|
|
3789
3789
|
getFunctionName: getFunctionName
|
|
3790
3790
|
});
|
|
3791
3791
|
|
|
3792
|
-
const _excluded$
|
|
3792
|
+
const _excluded$2e = ["ownerState"],
|
|
3793
3793
|
_excluded2$a = ["variants"],
|
|
3794
3794
|
_excluded3$3 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
3795
3795
|
function isEmpty$3(obj) {
|
|
@@ -3833,7 +3833,7 @@ function processStyleArg$1(callableStyle, _ref) {
|
|
|
3833
3833
|
let {
|
|
3834
3834
|
ownerState
|
|
3835
3835
|
} = _ref,
|
|
3836
|
-
props = _objectWithoutPropertiesLoose$1(_ref, _excluded$
|
|
3836
|
+
props = _objectWithoutPropertiesLoose$1(_ref, _excluded$2e);
|
|
3837
3837
|
const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle(_extends$3({
|
|
3838
3838
|
ownerState
|
|
3839
3839
|
}, props)) : callableStyle;
|
|
@@ -4966,13 +4966,13 @@ function ThemeProvider$2(props) {
|
|
|
4966
4966
|
});
|
|
4967
4967
|
}
|
|
4968
4968
|
|
|
4969
|
-
const _excluded$
|
|
4969
|
+
const _excluded$2d = ["value"];
|
|
4970
4970
|
const RtlContext = /*#__PURE__*/React__namespace.createContext();
|
|
4971
4971
|
function RtlProvider(_ref) {
|
|
4972
4972
|
let {
|
|
4973
4973
|
value
|
|
4974
4974
|
} = _ref,
|
|
4975
|
-
props = _objectWithoutPropertiesLoose$1(_ref, _excluded$
|
|
4975
|
+
props = _objectWithoutPropertiesLoose$1(_ref, _excluded$2d);
|
|
4976
4976
|
return /*#__PURE__*/jsxRuntimeExports.jsx(RtlContext.Provider, _extends$3({
|
|
4977
4977
|
value: value != null ? value : true
|
|
4978
4978
|
}, props));
|
|
@@ -5060,7 +5060,7 @@ function toPropertyKey(t) {
|
|
|
5060
5060
|
return "symbol" == _typeof$2(i) ? i : i + "";
|
|
5061
5061
|
}
|
|
5062
5062
|
|
|
5063
|
-
const _excluded$
|
|
5063
|
+
const _excluded$2c = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
|
|
5064
5064
|
const defaultTheme$4 = createTheme$2();
|
|
5065
5065
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
5066
5066
|
const defaultCreateStyledComponent = systemStyled('div', {
|
|
@@ -5193,7 +5193,7 @@ function createStack(options = {}) {
|
|
|
5193
5193
|
className,
|
|
5194
5194
|
useFlexGap = false
|
|
5195
5195
|
} = props,
|
|
5196
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
5196
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$2c);
|
|
5197
5197
|
const ownerState = {
|
|
5198
5198
|
direction,
|
|
5199
5199
|
spacing,
|
|
@@ -5745,7 +5745,7 @@ const green = {
|
|
|
5745
5745
|
};
|
|
5746
5746
|
var green$1 = green;
|
|
5747
5747
|
|
|
5748
|
-
const _excluded$
|
|
5748
|
+
const _excluded$2b = ["mode", "contrastThreshold", "tonalOffset"];
|
|
5749
5749
|
const light = {
|
|
5750
5750
|
// The colors used to style the text.
|
|
5751
5751
|
text: {
|
|
@@ -5914,7 +5914,7 @@ function createPalette(palette) {
|
|
|
5914
5914
|
contrastThreshold = 3,
|
|
5915
5915
|
tonalOffset = 0.2
|
|
5916
5916
|
} = palette,
|
|
5917
|
-
other = _objectWithoutPropertiesLoose$1(palette, _excluded$
|
|
5917
|
+
other = _objectWithoutPropertiesLoose$1(palette, _excluded$2b);
|
|
5918
5918
|
const primary = palette.primary || getDefaultPrimary(mode);
|
|
5919
5919
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
|
5920
5920
|
const error = palette.error || getDefaultError(mode);
|
|
@@ -6013,7 +6013,7 @@ function createPalette(palette) {
|
|
|
6013
6013
|
return paletteOutput;
|
|
6014
6014
|
}
|
|
6015
6015
|
|
|
6016
|
-
const _excluded$
|
|
6016
|
+
const _excluded$2a = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
6017
6017
|
function round$3(value) {
|
|
6018
6018
|
return Math.round(value * 1e5) / 1e5;
|
|
6019
6019
|
}
|
|
@@ -6044,7 +6044,7 @@ function createTypography(palette, typography) {
|
|
|
6044
6044
|
allVariants,
|
|
6045
6045
|
pxToRem: pxToRem2
|
|
6046
6046
|
} = _ref,
|
|
6047
|
-
other = _objectWithoutPropertiesLoose$1(_ref, _excluded$
|
|
6047
|
+
other = _objectWithoutPropertiesLoose$1(_ref, _excluded$2a);
|
|
6048
6048
|
const coef = fontSize / 14;
|
|
6049
6049
|
const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
|
|
6050
6050
|
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends$3({
|
|
@@ -6104,7 +6104,7 @@ function createShadow(...px) {
|
|
|
6104
6104
|
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)];
|
|
6105
6105
|
var shadows$1 = shadows;
|
|
6106
6106
|
|
|
6107
|
-
const _excluded$
|
|
6107
|
+
const _excluded$29 = ["duration", "easing", "delay"];
|
|
6108
6108
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
6109
6109
|
// to learn the context in which each easing should be used.
|
|
6110
6110
|
const easing = {
|
|
@@ -6155,7 +6155,7 @@ function createTransitions(inputTransitions) {
|
|
|
6155
6155
|
easing: easingOption = mergedEasing.easeInOut,
|
|
6156
6156
|
delay = 0
|
|
6157
6157
|
} = options;
|
|
6158
|
-
_objectWithoutPropertiesLoose$1(options, _excluded$
|
|
6158
|
+
_objectWithoutPropertiesLoose$1(options, _excluded$29);
|
|
6159
6159
|
return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
|
|
6160
6160
|
};
|
|
6161
6161
|
return _extends$3({
|
|
@@ -6181,7 +6181,7 @@ const zIndex = {
|
|
|
6181
6181
|
};
|
|
6182
6182
|
var zIndex$1 = zIndex;
|
|
6183
6183
|
|
|
6184
|
-
const _excluded$
|
|
6184
|
+
const _excluded$28 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
6185
6185
|
function createTheme(options = {}, ...args) {
|
|
6186
6186
|
const {
|
|
6187
6187
|
mixins: mixinsInput = {},
|
|
@@ -6189,7 +6189,7 @@ function createTheme(options = {}, ...args) {
|
|
|
6189
6189
|
transitions: transitionsInput = {},
|
|
6190
6190
|
typography: typographyInput = {}
|
|
6191
6191
|
} = options,
|
|
6192
|
-
other = _objectWithoutPropertiesLoose$1(options, _excluded$
|
|
6192
|
+
other = _objectWithoutPropertiesLoose$1(options, _excluded$28);
|
|
6193
6193
|
if (options.vars) {
|
|
6194
6194
|
throw new Error(formatMuiErrorMessage$1(18));
|
|
6195
6195
|
}
|
|
@@ -6325,7 +6325,7 @@ _interopRequireDefault$c(require$$5);
|
|
|
6325
6325
|
_interopRequireDefault$c(require$$6);
|
|
6326
6326
|
var _createTheme = _interopRequireDefault$c(require$$7);
|
|
6327
6327
|
var _styleFunctionSx = _interopRequireDefault$c(require$$8);
|
|
6328
|
-
const _excluded$
|
|
6328
|
+
const _excluded$27 = ["ownerState"],
|
|
6329
6329
|
_excluded2$9 = ["variants"],
|
|
6330
6330
|
_excluded3$2 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
6331
6331
|
/* eslint-disable no-underscore-dangle */
|
|
@@ -6372,7 +6372,7 @@ function processStyleArg(callableStyle, _ref) {
|
|
|
6372
6372
|
let {
|
|
6373
6373
|
ownerState
|
|
6374
6374
|
} = _ref,
|
|
6375
|
-
props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$
|
|
6375
|
+
props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$27);
|
|
6376
6376
|
const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({
|
|
6377
6377
|
ownerState
|
|
6378
6378
|
}, props)) : callableStyle;
|
|
@@ -6558,12 +6558,12 @@ const styled = _default({
|
|
|
6558
6558
|
});
|
|
6559
6559
|
var styled$1 = styled;
|
|
6560
6560
|
|
|
6561
|
-
const _excluded$
|
|
6561
|
+
const _excluded$26 = ["theme"];
|
|
6562
6562
|
function ThemeProvider(_ref) {
|
|
6563
6563
|
let {
|
|
6564
6564
|
theme: themeInput
|
|
6565
6565
|
} = _ref,
|
|
6566
|
-
props = _objectWithoutPropertiesLoose$1(_ref, _excluded$
|
|
6566
|
+
props = _objectWithoutPropertiesLoose$1(_ref, _excluded$26);
|
|
6567
6567
|
const scopedTheme = themeInput[THEME_ID];
|
|
6568
6568
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ThemeProvider$1, _extends$3({}, props, {
|
|
6569
6569
|
themeId: scopedTheme ? THEME_ID : undefined,
|
|
@@ -6668,7 +6668,7 @@ function getSvgIconUtilityClass(slot) {
|
|
|
6668
6668
|
}
|
|
6669
6669
|
generateUtilityClasses$1('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
|
|
6670
6670
|
|
|
6671
|
-
const _excluded$
|
|
6671
|
+
const _excluded$25 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
6672
6672
|
const useUtilityClasses$18 = ownerState => {
|
|
6673
6673
|
const {
|
|
6674
6674
|
color,
|
|
@@ -6736,7 +6736,7 @@ const SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProp
|
|
|
6736
6736
|
titleAccess,
|
|
6737
6737
|
viewBox = '0 0 24 24'
|
|
6738
6738
|
} = props,
|
|
6739
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
6739
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$25);
|
|
6740
6740
|
const hasSvgAsChild = /*#__PURE__*/React__namespace.isValidElement(children) && children.type === 'svg';
|
|
6741
6741
|
const ownerState = _extends$3({}, props, {
|
|
6742
6742
|
color,
|
|
@@ -7880,7 +7880,7 @@ function getPaperUtilityClass(slot) {
|
|
|
7880
7880
|
}
|
|
7881
7881
|
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']);
|
|
7882
7882
|
|
|
7883
|
-
const _excluded$
|
|
7883
|
+
const _excluded$24 = ["className", "component", "elevation", "square", "variant"];
|
|
7884
7884
|
const useUtilityClasses$17 = ownerState => {
|
|
7885
7885
|
const {
|
|
7886
7886
|
square,
|
|
@@ -7935,7 +7935,7 @@ const Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, r
|
|
|
7935
7935
|
square = false,
|
|
7936
7936
|
variant = 'elevation'
|
|
7937
7937
|
} = props,
|
|
7938
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
7938
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$24);
|
|
7939
7939
|
const ownerState = _extends$3({}, props, {
|
|
7940
7940
|
component,
|
|
7941
7941
|
elevation,
|
|
@@ -8118,7 +8118,7 @@ function mergeSlotProps(parameters) {
|
|
|
8118
8118
|
};
|
|
8119
8119
|
}
|
|
8120
8120
|
|
|
8121
|
-
const _excluded$
|
|
8121
|
+
const _excluded$23 = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
8122
8122
|
/**
|
|
8123
8123
|
* @ignore - do not document.
|
|
8124
8124
|
* Builds the props to be passed into the slot of an unstyled component.
|
|
@@ -8135,7 +8135,7 @@ function useSlotProps(parameters) {
|
|
|
8135
8135
|
ownerState,
|
|
8136
8136
|
skipResolvingSlotProps = false
|
|
8137
8137
|
} = parameters,
|
|
8138
|
-
rest = _objectWithoutPropertiesLoose$1(parameters, _excluded$
|
|
8138
|
+
rest = _objectWithoutPropertiesLoose$1(parameters, _excluded$23);
|
|
8139
8139
|
const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);
|
|
8140
8140
|
const {
|
|
8141
8141
|
props: mergedProps,
|
|
@@ -8150,7 +8150,7 @@ function useSlotProps(parameters) {
|
|
|
8150
8150
|
return props;
|
|
8151
8151
|
}
|
|
8152
8152
|
|
|
8153
|
-
const _excluded$
|
|
8153
|
+
const _excluded$22 = ["className", "elementType", "ownerState", "externalForwardedProps", "getSlotOwnerState", "internalForwardedProps"],
|
|
8154
8154
|
_excluded2$8 = ["component", "slots", "slotProps"],
|
|
8155
8155
|
_excluded3$1 = ["component"];
|
|
8156
8156
|
/**
|
|
@@ -8183,7 +8183,7 @@ name, parameters) {
|
|
|
8183
8183
|
getSlotOwnerState,
|
|
8184
8184
|
internalForwardedProps
|
|
8185
8185
|
} = parameters,
|
|
8186
|
-
useSlotPropsParams = _objectWithoutPropertiesLoose$1(parameters, _excluded$
|
|
8186
|
+
useSlotPropsParams = _objectWithoutPropertiesLoose$1(parameters, _excluded$22);
|
|
8187
8187
|
const {
|
|
8188
8188
|
component: rootComponent,
|
|
8189
8189
|
slots = {
|
|
@@ -8273,7 +8273,7 @@ function Ripple(props) {
|
|
|
8273
8273
|
const touchRippleClasses = generateUtilityClasses$1('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
|
|
8274
8274
|
var touchRippleClasses$1 = touchRippleClasses;
|
|
8275
8275
|
|
|
8276
|
-
const _excluded$
|
|
8276
|
+
const _excluded$21 = ["center", "classes", "className"];
|
|
8277
8277
|
let _$1 = t => t,
|
|
8278
8278
|
_t$1,
|
|
8279
8279
|
_t2$1,
|
|
@@ -8402,7 +8402,7 @@ const TouchRipple = /*#__PURE__*/React__namespace.forwardRef(function TouchRippl
|
|
|
8402
8402
|
classes = {},
|
|
8403
8403
|
className
|
|
8404
8404
|
} = props,
|
|
8405
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
8405
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$21);
|
|
8406
8406
|
const [ripples, setRipples] = React__namespace.useState([]);
|
|
8407
8407
|
const nextKey = React__namespace.useRef(0);
|
|
8408
8408
|
const rippleCallback = React__namespace.useRef(null);
|
|
@@ -8583,7 +8583,7 @@ function getButtonBaseUtilityClass(slot) {
|
|
|
8583
8583
|
const buttonBaseClasses = generateUtilityClasses$1('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
|
|
8584
8584
|
var buttonBaseClasses$1 = buttonBaseClasses;
|
|
8585
8585
|
|
|
8586
|
-
const _excluded$
|
|
8586
|
+
const _excluded$20 = ["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"];
|
|
8587
8587
|
const useUtilityClasses$16 = ownerState => {
|
|
8588
8588
|
const {
|
|
8589
8589
|
disabled,
|
|
@@ -8684,7 +8684,7 @@ const ButtonBase = /*#__PURE__*/React__namespace.forwardRef(function ButtonBase(
|
|
|
8684
8684
|
touchRippleRef,
|
|
8685
8685
|
type
|
|
8686
8686
|
} = props,
|
|
8687
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
8687
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$20);
|
|
8688
8688
|
const buttonRef = React__namespace.useRef(null);
|
|
8689
8689
|
const rippleRef = React__namespace.useRef(null);
|
|
8690
8690
|
const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
|
|
@@ -8888,7 +8888,7 @@ function getIconButtonUtilityClass(slot) {
|
|
|
8888
8888
|
const iconButtonClasses = generateUtilityClasses$1('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
|
|
8889
8889
|
var iconButtonClasses$1 = iconButtonClasses;
|
|
8890
8890
|
|
|
8891
|
-
const _excluded$
|
|
8891
|
+
const _excluded$1$ = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
8892
8892
|
const useUtilityClasses$15 = ownerState => {
|
|
8893
8893
|
const {
|
|
8894
8894
|
classes,
|
|
@@ -8989,7 +8989,7 @@ const IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(
|
|
|
8989
8989
|
disableFocusRipple = false,
|
|
8990
8990
|
size = 'medium'
|
|
8991
8991
|
} = props,
|
|
8992
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
8992
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1$);
|
|
8993
8993
|
const ownerState = _extends$3({}, props, {
|
|
8994
8994
|
edge,
|
|
8995
8995
|
color,
|
|
@@ -9031,7 +9031,7 @@ var ClearIcon = createSvgIcon$1( /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
|
9031
9031
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
9032
9032
|
}), 'Close');
|
|
9033
9033
|
|
|
9034
|
-
const _excluded$
|
|
9034
|
+
const _excluded$1_ = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"];
|
|
9035
9035
|
const useThemeProps$2 = createUseThemeProps();
|
|
9036
9036
|
const useUtilityClasses$14 = ownerState => {
|
|
9037
9037
|
const {
|
|
@@ -9178,7 +9178,7 @@ const Alert = /*#__PURE__*/React__namespace.forwardRef(function Alert(inProps, r
|
|
|
9178
9178
|
slots = {},
|
|
9179
9179
|
variant = 'standard'
|
|
9180
9180
|
} = props,
|
|
9181
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
9181
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1_);
|
|
9182
9182
|
const ownerState = _extends$3({}, props, {
|
|
9183
9183
|
color,
|
|
9184
9184
|
severity,
|
|
@@ -9246,7 +9246,7 @@ function getTypographyUtilityClass(slot) {
|
|
|
9246
9246
|
}
|
|
9247
9247
|
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']);
|
|
9248
9248
|
|
|
9249
|
-
const _excluded$
|
|
9249
|
+
const _excluded$1Z = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
|
|
9250
9250
|
const useUtilityClasses$13 = ownerState => {
|
|
9251
9251
|
const {
|
|
9252
9252
|
align,
|
|
@@ -9333,7 +9333,7 @@ const Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(
|
|
|
9333
9333
|
variant = 'body1',
|
|
9334
9334
|
variantMapping = defaultVariantMapping
|
|
9335
9335
|
} = props,
|
|
9336
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
9336
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1Z);
|
|
9337
9337
|
const ownerState = _extends$3({}, props, {
|
|
9338
9338
|
align,
|
|
9339
9339
|
color,
|
|
@@ -9361,7 +9361,7 @@ function getAppBarUtilityClass(slot) {
|
|
|
9361
9361
|
}
|
|
9362
9362
|
generateUtilityClasses$1('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);
|
|
9363
9363
|
|
|
9364
|
-
const _excluded$
|
|
9364
|
+
const _excluded$1Y = ["className", "color", "enableColorOnDark", "position"];
|
|
9365
9365
|
const useUtilityClasses$12 = ownerState => {
|
|
9366
9366
|
const {
|
|
9367
9367
|
color,
|
|
@@ -9467,7 +9467,7 @@ const AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps,
|
|
|
9467
9467
|
enableColorOnDark = false,
|
|
9468
9468
|
position = 'fixed'
|
|
9469
9469
|
} = props,
|
|
9470
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
9470
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1Y);
|
|
9471
9471
|
const ownerState = _extends$3({}, props, {
|
|
9472
9472
|
color,
|
|
9473
9473
|
position,
|
|
@@ -12427,7 +12427,7 @@ function getPopperUtilityClass(slot) {
|
|
|
12427
12427
|
}
|
|
12428
12428
|
generateUtilityClasses(COMPONENT_NAME, ['root']);
|
|
12429
12429
|
|
|
12430
|
-
const _excluded$
|
|
12430
|
+
const _excluded$1X = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
|
|
12431
12431
|
_excluded2$7 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
12432
12432
|
function flipPlacement(placement, direction) {
|
|
12433
12433
|
if (direction === 'ltr') {
|
|
@@ -12477,7 +12477,7 @@ const PopperTooltip = /*#__PURE__*/React__namespace.forwardRef(function PopperTo
|
|
|
12477
12477
|
// @ts-ignore internal logic
|
|
12478
12478
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
12479
12479
|
} = props,
|
|
12480
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
12480
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1X);
|
|
12481
12481
|
const tooltipRef = React__namespace.useRef(null);
|
|
12482
12482
|
const ownRef = useForkRef(tooltipRef, forwardedRef);
|
|
12483
12483
|
const popperRef = React__namespace.useRef(null);
|
|
@@ -12659,7 +12659,7 @@ const Popper$2 = /*#__PURE__*/React__namespace.forwardRef(function Popper(props,
|
|
|
12659
12659
|
});
|
|
12660
12660
|
});
|
|
12661
12661
|
|
|
12662
|
-
const _excluded$
|
|
12662
|
+
const _excluded$1W = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
12663
12663
|
function getStyleValue(value) {
|
|
12664
12664
|
return parseInt(value, 10) || 0;
|
|
12665
12665
|
}
|
|
@@ -12701,7 +12701,7 @@ const TextareaAutosize = /*#__PURE__*/React__namespace.forwardRef(function Texta
|
|
|
12701
12701
|
style,
|
|
12702
12702
|
value
|
|
12703
12703
|
} = props,
|
|
12704
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
12704
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1W);
|
|
12705
12705
|
const {
|
|
12706
12706
|
current: isControlled
|
|
12707
12707
|
} = React__namespace.useRef(value != null);
|
|
@@ -13795,7 +13795,7 @@ function useTheme(defaultTheme = null) {
|
|
|
13795
13795
|
}
|
|
13796
13796
|
default_1$9 = useThemeWithoutDefault.default = useTheme;
|
|
13797
13797
|
|
|
13798
|
-
const _excluded$
|
|
13798
|
+
const _excluded$1V = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
|
|
13799
13799
|
const PopperRoot = styled$1(Popper$2, {
|
|
13800
13800
|
name: 'MuiPopper',
|
|
13801
13801
|
slot: 'Root',
|
|
@@ -13838,7 +13838,7 @@ const Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps,
|
|
|
13838
13838
|
slots,
|
|
13839
13839
|
slotProps
|
|
13840
13840
|
} = props,
|
|
13841
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
13841
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1V);
|
|
13842
13842
|
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
13843
13843
|
const otherProps = _extends$3({
|
|
13844
13844
|
anchorEl,
|
|
@@ -13870,7 +13870,7 @@ function getListSubheaderUtilityClass(slot) {
|
|
|
13870
13870
|
}
|
|
13871
13871
|
generateUtilityClasses$1('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
|
|
13872
13872
|
|
|
13873
|
-
const _excluded$
|
|
13873
|
+
const _excluded$1U = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
|
|
13874
13874
|
const useUtilityClasses$10 = ownerState => {
|
|
13875
13875
|
const {
|
|
13876
13876
|
classes,
|
|
@@ -13932,7 +13932,7 @@ const ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubh
|
|
|
13932
13932
|
disableSticky = false,
|
|
13933
13933
|
inset = false
|
|
13934
13934
|
} = props,
|
|
13935
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
13935
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1U);
|
|
13936
13936
|
const ownerState = _extends$3({}, props, {
|
|
13937
13937
|
color,
|
|
13938
13938
|
component,
|
|
@@ -13961,7 +13961,7 @@ function getChipUtilityClass(slot) {
|
|
|
13961
13961
|
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']);
|
|
13962
13962
|
var chipClasses$1 = chipClasses;
|
|
13963
13963
|
|
|
13964
|
-
const _excluded$
|
|
13964
|
+
const _excluded$1T = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
|
|
13965
13965
|
const useUtilityClasses$$ = ownerState => {
|
|
13966
13966
|
const {
|
|
13967
13967
|
classes,
|
|
@@ -14247,7 +14247,7 @@ const Chip = /*#__PURE__*/React__namespace.forwardRef(function Chip(inProps, ref
|
|
|
14247
14247
|
tabIndex,
|
|
14248
14248
|
skipFocusWhenDisabled = false // TODO v6: Rename to `focusableWhenDisabled`.
|
|
14249
14249
|
} = props,
|
|
14250
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
14250
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1T);
|
|
14251
14251
|
const chipRef = React__namespace.useRef(null);
|
|
14252
14252
|
const handleRef = useForkRef(chipRef, ref);
|
|
14253
14253
|
const handleDeleteIconClick = event => {
|
|
@@ -14412,7 +14412,7 @@ function getInputBaseUtilityClass(slot) {
|
|
|
14412
14412
|
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']);
|
|
14413
14413
|
var inputBaseClasses$1 = inputBaseClasses;
|
|
14414
14414
|
|
|
14415
|
-
const _excluded$
|
|
14415
|
+
const _excluded$1S = ["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"];
|
|
14416
14416
|
const rootOverridesResolver = (props, styles) => {
|
|
14417
14417
|
const {
|
|
14418
14418
|
ownerState
|
|
@@ -14641,7 +14641,7 @@ const InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(in
|
|
|
14641
14641
|
type = 'text',
|
|
14642
14642
|
value: valueProp
|
|
14643
14643
|
} = props,
|
|
14644
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
14644
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1S);
|
|
14645
14645
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
14646
14646
|
const {
|
|
14647
14647
|
current: isControlled
|
|
@@ -14877,7 +14877,7 @@ const autocompleteClasses = generateUtilityClasses$1('MuiAutocomplete', ['root',
|
|
|
14877
14877
|
var autocompleteClasses$1 = autocompleteClasses;
|
|
14878
14878
|
|
|
14879
14879
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
14880
|
-
const _excluded$
|
|
14880
|
+
const _excluded$1R = ["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"],
|
|
14881
14881
|
_excluded2$6 = ["ref"];
|
|
14882
14882
|
const useThemeProps$1 = createUseThemeProps();
|
|
14883
14883
|
const useUtilityClasses$Z = ownerState => {
|
|
@@ -15303,7 +15303,7 @@ const Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocompl
|
|
|
15303
15303
|
size = 'medium',
|
|
15304
15304
|
slotProps = {}
|
|
15305
15305
|
} = props,
|
|
15306
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
15306
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1R);
|
|
15307
15307
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
15308
15308
|
|
|
15309
15309
|
const {
|
|
@@ -15547,7 +15547,7 @@ function getAvatarUtilityClass(slot) {
|
|
|
15547
15547
|
}
|
|
15548
15548
|
generateUtilityClasses$1('MuiAvatar', ['root', 'colorDefault', 'circular', 'rounded', 'square', 'img', 'fallback']);
|
|
15549
15549
|
|
|
15550
|
-
const _excluded$
|
|
15550
|
+
const _excluded$1Q = ["alt", "children", "className", "component", "slots", "slotProps", "imgProps", "sizes", "src", "srcSet", "variant"];
|
|
15551
15551
|
const useThemeProps = createUseThemeProps();
|
|
15552
15552
|
const useUtilityClasses$Y = ownerState => {
|
|
15553
15553
|
const {
|
|
@@ -15695,7 +15695,7 @@ const Avatar = /*#__PURE__*/React__namespace.forwardRef(function Avatar(inProps,
|
|
|
15695
15695
|
srcSet,
|
|
15696
15696
|
variant = 'circular'
|
|
15697
15697
|
} = props,
|
|
15698
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
15698
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1Q);
|
|
15699
15699
|
let children = null;
|
|
15700
15700
|
|
|
15701
15701
|
// Use a hook instead of onError on the img element to support server-side rendering.
|
|
@@ -15753,7 +15753,7 @@ const Avatar = /*#__PURE__*/React__namespace.forwardRef(function Avatar(inProps,
|
|
|
15753
15753
|
});
|
|
15754
15754
|
var Avatar$1 = Avatar;
|
|
15755
15755
|
|
|
15756
|
-
const _excluded$
|
|
15756
|
+
const _excluded$1P = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
15757
15757
|
const styles$5 = {
|
|
15758
15758
|
entering: {
|
|
15759
15759
|
opacity: 1
|
|
@@ -15790,7 +15790,7 @@ const Fade = /*#__PURE__*/React__namespace.forwardRef(function Fade(props, ref)
|
|
|
15790
15790
|
// eslint-disable-next-line react/prop-types
|
|
15791
15791
|
TransitionComponent = Transition$1
|
|
15792
15792
|
} = props,
|
|
15793
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
15793
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1P);
|
|
15794
15794
|
const nodeRef = React__namespace.useRef(null);
|
|
15795
15795
|
const handleRef = useForkRef(nodeRef, children.ref, ref);
|
|
15796
15796
|
const normalizedTransitionCallback = callback => maybeIsAppearing => {
|
|
@@ -15876,7 +15876,7 @@ function getBackdropUtilityClass(slot) {
|
|
|
15876
15876
|
}
|
|
15877
15877
|
generateUtilityClasses$1('MuiBackdrop', ['root', 'invisible']);
|
|
15878
15878
|
|
|
15879
|
-
const _excluded$
|
|
15879
|
+
const _excluded$1O = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
|
|
15880
15880
|
const useUtilityClasses$X = ownerState => {
|
|
15881
15881
|
const {
|
|
15882
15882
|
classes,
|
|
@@ -15931,7 +15931,7 @@ const Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inPr
|
|
|
15931
15931
|
TransitionComponent = Fade$1,
|
|
15932
15932
|
transitionDuration
|
|
15933
15933
|
} = props,
|
|
15934
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
15934
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1O);
|
|
15935
15935
|
const ownerState = _extends$3({}, props, {
|
|
15936
15936
|
component,
|
|
15937
15937
|
invisible
|
|
@@ -15972,7 +15972,7 @@ var MoreHorizIcon = createSvgIcon$1( /*#__PURE__*/jsxRuntimeExports.jsx("path",
|
|
|
15972
15972
|
d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
|
|
15973
15973
|
}), 'MoreHoriz');
|
|
15974
15974
|
|
|
15975
|
-
const _excluded$
|
|
15975
|
+
const _excluded$1N = ["slots", "slotProps"];
|
|
15976
15976
|
const BreadcrumbCollapsedButton = styled$1(ButtonBase$1)(({
|
|
15977
15977
|
theme
|
|
15978
15978
|
}) => _extends$3({
|
|
@@ -16013,7 +16013,7 @@ function BreadcrumbCollapsed(props) {
|
|
|
16013
16013
|
slots = {},
|
|
16014
16014
|
slotProps = {}
|
|
16015
16015
|
} = props,
|
|
16016
|
-
otherProps = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
16016
|
+
otherProps = _objectWithoutPropertiesLoose$1(props, _excluded$1N);
|
|
16017
16017
|
const ownerState = props;
|
|
16018
16018
|
return /*#__PURE__*/jsxRuntimeExports.jsx("li", {
|
|
16019
16019
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(BreadcrumbCollapsedButton, _extends$3({
|
|
@@ -16034,7 +16034,7 @@ function getBreadcrumbsUtilityClass(slot) {
|
|
|
16034
16034
|
const breadcrumbsClasses = generateUtilityClasses$1('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);
|
|
16035
16035
|
var breadcrumbsClasses$1 = breadcrumbsClasses;
|
|
16036
16036
|
|
|
16037
|
-
const _excluded$
|
|
16037
|
+
const _excluded$1M = ["children", "className", "component", "slots", "slotProps", "expandText", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "separator"];
|
|
16038
16038
|
const useUtilityClasses$W = ownerState => {
|
|
16039
16039
|
const {
|
|
16040
16040
|
classes
|
|
@@ -16110,7 +16110,7 @@ const Breadcrumbs = /*#__PURE__*/React__namespace.forwardRef(function Breadcrumb
|
|
|
16110
16110
|
maxItems = 8,
|
|
16111
16111
|
separator = '/'
|
|
16112
16112
|
} = props,
|
|
16113
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
16113
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1M);
|
|
16114
16114
|
const [expanded, setExpanded] = React__namespace.useState(false);
|
|
16115
16115
|
const ownerState = _extends$3({}, props, {
|
|
16116
16116
|
component,
|
|
@@ -16199,7 +16199,7 @@ var ButtonGroupContext$1 = ButtonGroupContext;
|
|
|
16199
16199
|
const ButtonGroupButtonContext = /*#__PURE__*/React__namespace.createContext(undefined);
|
|
16200
16200
|
var ButtonGroupButtonContext$1 = ButtonGroupButtonContext;
|
|
16201
16201
|
|
|
16202
|
-
const _excluded$
|
|
16202
|
+
const _excluded$1L = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
16203
16203
|
const useUtilityClasses$V = ownerState => {
|
|
16204
16204
|
const {
|
|
16205
16205
|
color,
|
|
@@ -16426,7 +16426,7 @@ const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps,
|
|
|
16426
16426
|
type,
|
|
16427
16427
|
variant = 'text'
|
|
16428
16428
|
} = props,
|
|
16429
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
16429
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1L);
|
|
16430
16430
|
const ownerState = _extends$3({}, props, {
|
|
16431
16431
|
color,
|
|
16432
16432
|
component,
|
|
@@ -16471,7 +16471,7 @@ function getSwitchBaseUtilityClass(slot) {
|
|
|
16471
16471
|
}
|
|
16472
16472
|
generateUtilityClasses$1('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
|
|
16473
16473
|
|
|
16474
|
-
const _excluded$
|
|
16474
|
+
const _excluded$1K = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
|
|
16475
16475
|
const useUtilityClasses$U = ownerState => {
|
|
16476
16476
|
const {
|
|
16477
16477
|
classes,
|
|
@@ -16537,7 +16537,7 @@ const SwitchBase = /*#__PURE__*/React__namespace.forwardRef(function SwitchBase(
|
|
|
16537
16537
|
type,
|
|
16538
16538
|
value
|
|
16539
16539
|
} = props,
|
|
16540
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
16540
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1K);
|
|
16541
16541
|
const [checked, setCheckedState] = useControlled({
|
|
16542
16542
|
controlled: checkedProp,
|
|
16543
16543
|
default: Boolean(defaultChecked),
|
|
@@ -16627,7 +16627,7 @@ function getCircularProgressUtilityClass(slot) {
|
|
|
16627
16627
|
}
|
|
16628
16628
|
generateUtilityClasses$1('MuiCircularProgress', ['root', 'determinate', 'indeterminate', 'colorPrimary', 'colorSecondary', 'svg', 'circle', 'circleDeterminate', 'circleIndeterminate', 'circleDisableShrink']);
|
|
16629
16629
|
|
|
16630
|
-
const _excluded$
|
|
16630
|
+
const _excluded$1J = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
|
|
16631
16631
|
let _ = t => t,
|
|
16632
16632
|
_t,
|
|
16633
16633
|
_t2,
|
|
@@ -16751,7 +16751,7 @@ const CircularProgress = /*#__PURE__*/React__namespace.forwardRef(function Circu
|
|
|
16751
16751
|
value = 0,
|
|
16752
16752
|
variant = 'indeterminate'
|
|
16753
16753
|
} = props,
|
|
16754
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
16754
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1J);
|
|
16755
16755
|
const ownerState = _extends$3({}, props, {
|
|
16756
16756
|
color,
|
|
16757
16757
|
disableShrink,
|
|
@@ -16882,7 +16882,7 @@ function getModalUtilityClass(slot) {
|
|
|
16882
16882
|
}
|
|
16883
16883
|
generateUtilityClasses$1('MuiModal', ['root', 'hidden', 'backdrop']);
|
|
16884
16884
|
|
|
16885
|
-
const _excluded$
|
|
16885
|
+
const _excluded$1I = ["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"];
|
|
16886
16886
|
const useUtilityClasses$S = ownerState => {
|
|
16887
16887
|
const {
|
|
16888
16888
|
open,
|
|
@@ -16970,7 +16970,7 @@ const Modal = /*#__PURE__*/React__namespace.forwardRef(function Modal(inProps, r
|
|
|
16970
16970
|
slots
|
|
16971
16971
|
// eslint-disable-next-line react/prop-types
|
|
16972
16972
|
} = props,
|
|
16973
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
16973
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1I);
|
|
16974
16974
|
const propsWithDefaults = _extends$3({}, props, {
|
|
16975
16975
|
closeAfterTransition,
|
|
16976
16976
|
disableAutoFocus,
|
|
@@ -17076,7 +17076,7 @@ var dialogClasses$1 = dialogClasses;
|
|
|
17076
17076
|
const DialogContext = /*#__PURE__*/React__namespace.createContext({});
|
|
17077
17077
|
var DialogContext$1 = DialogContext;
|
|
17078
17078
|
|
|
17079
|
-
const _excluded$
|
|
17079
|
+
const _excluded$1H = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
17080
17080
|
const DialogBackdrop = styled$1(Backdrop$1, {
|
|
17081
17081
|
name: 'MuiDialog',
|
|
17082
17082
|
slot: 'Backdrop',
|
|
@@ -17238,7 +17238,7 @@ const Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps,
|
|
|
17238
17238
|
transitionDuration = defaultTransitionDuration,
|
|
17239
17239
|
TransitionProps
|
|
17240
17240
|
} = props,
|
|
17241
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
17241
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1H);
|
|
17242
17242
|
const ownerState = _extends$3({}, props, {
|
|
17243
17243
|
disableEscapeKeyDown,
|
|
17244
17244
|
fullScreen,
|
|
@@ -17326,7 +17326,7 @@ function getDialogActionsUtilityClass(slot) {
|
|
|
17326
17326
|
}
|
|
17327
17327
|
generateUtilityClasses$1('MuiDialogActions', ['root', 'spacing']);
|
|
17328
17328
|
|
|
17329
|
-
const _excluded$
|
|
17329
|
+
const _excluded$1G = ["className", "disableSpacing"];
|
|
17330
17330
|
const useUtilityClasses$Q = ownerState => {
|
|
17331
17331
|
const {
|
|
17332
17332
|
classes,
|
|
@@ -17368,7 +17368,7 @@ const DialogActions = /*#__PURE__*/React__namespace.forwardRef(function DialogAc
|
|
|
17368
17368
|
className,
|
|
17369
17369
|
disableSpacing = false
|
|
17370
17370
|
} = props,
|
|
17371
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
17371
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1G);
|
|
17372
17372
|
const ownerState = _extends$3({}, props, {
|
|
17373
17373
|
disableSpacing
|
|
17374
17374
|
});
|
|
@@ -17389,7 +17389,7 @@ generateUtilityClasses$1('MuiDialogContent', ['root', 'dividers']);
|
|
|
17389
17389
|
const dialogTitleClasses = generateUtilityClasses$1('MuiDialogTitle', ['root']);
|
|
17390
17390
|
var dialogTitleClasses$1 = dialogTitleClasses;
|
|
17391
17391
|
|
|
17392
|
-
const _excluded$
|
|
17392
|
+
const _excluded$1F = ["className", "dividers"];
|
|
17393
17393
|
const useUtilityClasses$P = ownerState => {
|
|
17394
17394
|
const {
|
|
17395
17395
|
classes,
|
|
@@ -17436,7 +17436,7 @@ const DialogContent = /*#__PURE__*/React__namespace.forwardRef(function DialogCo
|
|
|
17436
17436
|
className,
|
|
17437
17437
|
dividers = false
|
|
17438
17438
|
} = props,
|
|
17439
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
17439
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1F);
|
|
17440
17440
|
const ownerState = _extends$3({}, props, {
|
|
17441
17441
|
dividers
|
|
17442
17442
|
});
|
|
@@ -17452,7 +17452,7 @@ var DialogContent$1 = DialogContent;
|
|
|
17452
17452
|
const dividerClasses = generateUtilityClasses$1('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
|
|
17453
17453
|
var dividerClasses$1 = dividerClasses;
|
|
17454
17454
|
|
|
17455
|
-
const _excluded$
|
|
17455
|
+
const _excluded$1E = ["addEndListener", "appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
17456
17456
|
function getTranslateValue(direction, node, resolvedContainer) {
|
|
17457
17457
|
const rect = node.getBoundingClientRect();
|
|
17458
17458
|
const containerRect = resolvedContainer && resolvedContainer.getBoundingClientRect();
|
|
@@ -17541,7 +17541,7 @@ const Slide = /*#__PURE__*/React__namespace.forwardRef(function Slide(props, ref
|
|
|
17541
17541
|
// eslint-disable-next-line react/prop-types
|
|
17542
17542
|
TransitionComponent = Transition$1
|
|
17543
17543
|
} = props,
|
|
17544
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
17544
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1E);
|
|
17545
17545
|
const childrenRef = React__namespace.useRef(null);
|
|
17546
17546
|
const handleRef = useForkRef(children.ref, childrenRef, ref);
|
|
17547
17547
|
const normalizedTransitionCallback = callback => isAppearing => {
|
|
@@ -17667,7 +17667,7 @@ function getDrawerUtilityClass(slot) {
|
|
|
17667
17667
|
}
|
|
17668
17668
|
generateUtilityClasses$1('MuiDrawer', ['root', 'docked', 'paper', 'paperAnchorLeft', 'paperAnchorRight', 'paperAnchorTop', 'paperAnchorBottom', 'paperAnchorDockedLeft', 'paperAnchorDockedRight', 'paperAnchorDockedTop', 'paperAnchorDockedBottom', 'modal']);
|
|
17669
17669
|
|
|
17670
|
-
const _excluded$
|
|
17670
|
+
const _excluded$1D = ["BackdropProps"],
|
|
17671
17671
|
_excluded2$5 = ["anchor", "BackdropProps", "children", "className", "elevation", "hideBackdrop", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"];
|
|
17672
17672
|
const overridesResolver$3 = (props, styles) => {
|
|
17673
17673
|
const {
|
|
@@ -17810,7 +17810,7 @@ const Drawer = /*#__PURE__*/React__namespace.forwardRef(function Drawer(inProps,
|
|
|
17810
17810
|
transitionDuration = defaultTransitionDuration,
|
|
17811
17811
|
variant = 'temporary'
|
|
17812
17812
|
} = props,
|
|
17813
|
-
ModalProps = _objectWithoutPropertiesLoose$1(props.ModalProps, _excluded$
|
|
17813
|
+
ModalProps = _objectWithoutPropertiesLoose$1(props.ModalProps, _excluded$1D),
|
|
17814
17814
|
other = _objectWithoutPropertiesLoose$1(props, _excluded2$5);
|
|
17815
17815
|
|
|
17816
17816
|
// Let's assume that the Drawer will always be rendered on user space.
|
|
@@ -17883,7 +17883,7 @@ const Drawer = /*#__PURE__*/React__namespace.forwardRef(function Drawer(inProps,
|
|
|
17883
17883
|
});
|
|
17884
17884
|
var Drawer$1 = Drawer;
|
|
17885
17885
|
|
|
17886
|
-
const _excluded$
|
|
17886
|
+
const _excluded$1C = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
17887
17887
|
const useUtilityClasses$N = ownerState => {
|
|
17888
17888
|
const {
|
|
17889
17889
|
classes,
|
|
@@ -18068,7 +18068,7 @@ const FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInpu
|
|
|
18068
18068
|
slots = {},
|
|
18069
18069
|
type = 'text'
|
|
18070
18070
|
} = props,
|
|
18071
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
18071
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1C);
|
|
18072
18072
|
const ownerState = _extends$3({}, props, {
|
|
18073
18073
|
fullWidth,
|
|
18074
18074
|
inputComponent,
|
|
@@ -18110,7 +18110,7 @@ function getFormControlUtilityClasses(slot) {
|
|
|
18110
18110
|
}
|
|
18111
18111
|
generateUtilityClasses$1('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
|
|
18112
18112
|
|
|
18113
|
-
const _excluded$
|
|
18113
|
+
const _excluded$1B = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
|
|
18114
18114
|
const useUtilityClasses$M = ownerState => {
|
|
18115
18115
|
const {
|
|
18116
18116
|
classes,
|
|
@@ -18196,7 +18196,7 @@ const FormControl = /*#__PURE__*/React__namespace.forwardRef(function FormContro
|
|
|
18196
18196
|
size = 'medium',
|
|
18197
18197
|
variant = 'outlined'
|
|
18198
18198
|
} = props,
|
|
18199
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
18199
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1B);
|
|
18200
18200
|
const ownerState = _extends$3({}, props, {
|
|
18201
18201
|
color,
|
|
18202
18202
|
component,
|
|
@@ -18311,7 +18311,7 @@ function getFormControlLabelUtilityClasses(slot) {
|
|
|
18311
18311
|
const formControlLabelClasses = generateUtilityClasses$1('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error', 'required', 'asterisk']);
|
|
18312
18312
|
var formControlLabelClasses$1 = formControlLabelClasses;
|
|
18313
18313
|
|
|
18314
|
-
const _excluded$
|
|
18314
|
+
const _excluded$1A = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"];
|
|
18315
18315
|
const useUtilityClasses$L = ownerState => {
|
|
18316
18316
|
const {
|
|
18317
18317
|
classes,
|
|
@@ -18405,7 +18405,7 @@ const FormControlLabel = /*#__PURE__*/React__namespace.forwardRef(function FormC
|
|
|
18405
18405
|
required: requiredProp,
|
|
18406
18406
|
slotProps = {}
|
|
18407
18407
|
} = props,
|
|
18408
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
18408
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1A);
|
|
18409
18409
|
const muiFormControl = useFormControl();
|
|
18410
18410
|
const disabled = (_ref = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref : muiFormControl == null ? void 0 : muiFormControl.disabled;
|
|
18411
18411
|
const required = requiredProp != null ? requiredProp : control.props.required;
|
|
@@ -18463,7 +18463,7 @@ function getFormGroupUtilityClass(slot) {
|
|
|
18463
18463
|
}
|
|
18464
18464
|
generateUtilityClasses$1('MuiFormGroup', ['root', 'row', 'error']);
|
|
18465
18465
|
|
|
18466
|
-
const _excluded$
|
|
18466
|
+
const _excluded$1z = ["className", "row"];
|
|
18467
18467
|
const useUtilityClasses$K = ownerState => {
|
|
18468
18468
|
const {
|
|
18469
18469
|
classes,
|
|
@@ -18508,7 +18508,7 @@ const FormGroup = /*#__PURE__*/React__namespace.forwardRef(function FormGroup(in
|
|
|
18508
18508
|
className,
|
|
18509
18509
|
row = false
|
|
18510
18510
|
} = props,
|
|
18511
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
18511
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1z);
|
|
18512
18512
|
const muiFormControl = useFormControl();
|
|
18513
18513
|
const fcs = formControlState({
|
|
18514
18514
|
props,
|
|
@@ -18535,7 +18535,7 @@ const formHelperTextClasses = generateUtilityClasses$1('MuiFormHelperText', ['ro
|
|
|
18535
18535
|
var formHelperTextClasses$1 = formHelperTextClasses;
|
|
18536
18536
|
|
|
18537
18537
|
var _span$3;
|
|
18538
|
-
const _excluded$
|
|
18538
|
+
const _excluded$1y = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
|
|
18539
18539
|
const useUtilityClasses$J = ownerState => {
|
|
18540
18540
|
const {
|
|
18541
18541
|
classes,
|
|
@@ -18594,7 +18594,7 @@ const FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHel
|
|
|
18594
18594
|
className,
|
|
18595
18595
|
component = 'p'
|
|
18596
18596
|
} = props,
|
|
18597
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
18597
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1y);
|
|
18598
18598
|
const muiFormControl = useFormControl();
|
|
18599
18599
|
const fcs = formControlState({
|
|
18600
18600
|
props,
|
|
@@ -18634,7 +18634,7 @@ function getFormLabelUtilityClasses(slot) {
|
|
|
18634
18634
|
const formLabelClasses = generateUtilityClasses$1('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);
|
|
18635
18635
|
var formLabelClasses$1 = formLabelClasses;
|
|
18636
18636
|
|
|
18637
|
-
const _excluded$
|
|
18637
|
+
const _excluded$1x = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
|
|
18638
18638
|
const useUtilityClasses$I = ownerState => {
|
|
18639
18639
|
const {
|
|
18640
18640
|
classes,
|
|
@@ -18699,7 +18699,7 @@ const FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(in
|
|
|
18699
18699
|
className,
|
|
18700
18700
|
component = 'label'
|
|
18701
18701
|
} = props,
|
|
18702
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
18702
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1x);
|
|
18703
18703
|
const muiFormControl = useFormControl();
|
|
18704
18704
|
const fcs = formControlState({
|
|
18705
18705
|
props,
|
|
@@ -18756,7 +18756,7 @@ const gridClasses = generateUtilityClasses$1('MuiGrid', ['root', 'container', 'i
|
|
|
18756
18756
|
...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}`)]);
|
|
18757
18757
|
var gridClasses$1 = gridClasses;
|
|
18758
18758
|
|
|
18759
|
-
const _excluded$
|
|
18759
|
+
const _excluded$1w = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
|
|
18760
18760
|
function getOffset(val) {
|
|
18761
18761
|
const parse = parseFloat(val);
|
|
18762
18762
|
return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
|
|
@@ -19116,7 +19116,7 @@ const Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref
|
|
|
19116
19116
|
wrap = 'wrap',
|
|
19117
19117
|
zeroMinWidth = false
|
|
19118
19118
|
} = props,
|
|
19119
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
19119
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1w);
|
|
19120
19120
|
const rowSpacing = rowSpacingProp || spacing;
|
|
19121
19121
|
const columnSpacing = columnSpacingProp || spacing;
|
|
19122
19122
|
const columnsContext = React__namespace.useContext(GridContext$1);
|
|
@@ -19157,7 +19157,7 @@ const Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref
|
|
|
19157
19157
|
});
|
|
19158
19158
|
var Grid$1 = Grid;
|
|
19159
19159
|
|
|
19160
|
-
const _excluded$
|
|
19160
|
+
const _excluded$1v = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
19161
19161
|
function getScale(value) {
|
|
19162
19162
|
return `scale(${value}, ${value ** 2})`;
|
|
19163
19163
|
}
|
|
@@ -19201,7 +19201,7 @@ const Grow = /*#__PURE__*/React__namespace.forwardRef(function Grow(props, ref)
|
|
|
19201
19201
|
// eslint-disable-next-line react/prop-types
|
|
19202
19202
|
TransitionComponent = Transition$1
|
|
19203
19203
|
} = props,
|
|
19204
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
19204
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1v);
|
|
19205
19205
|
const timer = useTimeout();
|
|
19206
19206
|
const autoTimeout = React__namespace.useRef();
|
|
19207
19207
|
const theme = useTheme$1();
|
|
@@ -19326,7 +19326,7 @@ const Grow = /*#__PURE__*/React__namespace.forwardRef(function Grow(props, ref)
|
|
|
19326
19326
|
Grow.muiSupportAuto = true;
|
|
19327
19327
|
var Grow$1 = Grow;
|
|
19328
19328
|
|
|
19329
|
-
const _excluded$
|
|
19329
|
+
const _excluded$1u = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
19330
19330
|
const useUtilityClasses$G = ownerState => {
|
|
19331
19331
|
const {
|
|
19332
19332
|
classes,
|
|
@@ -19437,7 +19437,7 @@ const Input$2 = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps,
|
|
|
19437
19437
|
slots = {},
|
|
19438
19438
|
type = 'text'
|
|
19439
19439
|
} = props,
|
|
19440
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
19440
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1u);
|
|
19441
19441
|
const classes = useUtilityClasses$G(props);
|
|
19442
19442
|
const ownerState = {
|
|
19443
19443
|
disableUnderline
|
|
@@ -19475,7 +19475,7 @@ const inputAdornmentClasses = generateUtilityClasses$1('MuiInputAdornment', ['ro
|
|
|
19475
19475
|
var inputAdornmentClasses$1 = inputAdornmentClasses;
|
|
19476
19476
|
|
|
19477
19477
|
var _span$2;
|
|
19478
|
-
const _excluded$
|
|
19478
|
+
const _excluded$1t = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"];
|
|
19479
19479
|
const overridesResolver$2 = (props, styles) => {
|
|
19480
19480
|
const {
|
|
19481
19481
|
ownerState
|
|
@@ -19540,7 +19540,7 @@ const InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAd
|
|
|
19540
19540
|
position,
|
|
19541
19541
|
variant: variantProp
|
|
19542
19542
|
} = props,
|
|
19543
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
19543
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1t);
|
|
19544
19544
|
const muiFormControl = useFormControl() || {};
|
|
19545
19545
|
let variant = variantProp;
|
|
19546
19546
|
if (variantProp && muiFormControl.variant) ;
|
|
@@ -19582,7 +19582,7 @@ function getInputLabelUtilityClasses(slot) {
|
|
|
19582
19582
|
}
|
|
19583
19583
|
generateUtilityClasses$1('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);
|
|
19584
19584
|
|
|
19585
|
-
const _excluded$
|
|
19585
|
+
const _excluded$1s = ["disableAnimation", "margin", "shrink", "variant", "className"];
|
|
19586
19586
|
const useUtilityClasses$E = ownerState => {
|
|
19587
19587
|
const {
|
|
19588
19588
|
classes,
|
|
@@ -19684,7 +19684,7 @@ const InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(
|
|
|
19684
19684
|
shrink: shrinkProp,
|
|
19685
19685
|
className
|
|
19686
19686
|
} = props,
|
|
19687
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
19687
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1s);
|
|
19688
19688
|
const muiFormControl = useFormControl();
|
|
19689
19689
|
let shrink = shrinkProp;
|
|
19690
19690
|
if (typeof shrink === 'undefined' && muiFormControl) {
|
|
@@ -19746,7 +19746,7 @@ const getTextDecoration = ({
|
|
|
19746
19746
|
};
|
|
19747
19747
|
var getTextDecoration$1 = getTextDecoration;
|
|
19748
19748
|
|
|
19749
|
-
const _excluded$
|
|
19749
|
+
const _excluded$1r = ["className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant", "sx"];
|
|
19750
19750
|
const useUtilityClasses$D = ownerState => {
|
|
19751
19751
|
const {
|
|
19752
19752
|
classes,
|
|
@@ -19834,7 +19834,7 @@ const Link = /*#__PURE__*/React__namespace.forwardRef(function Link(inProps, ref
|
|
|
19834
19834
|
variant = 'inherit',
|
|
19835
19835
|
sx
|
|
19836
19836
|
} = props,
|
|
19837
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
19837
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1r);
|
|
19838
19838
|
const {
|
|
19839
19839
|
isFocusVisibleRef,
|
|
19840
19840
|
onBlur: handleBlurVisible,
|
|
@@ -19897,7 +19897,7 @@ function getListUtilityClass(slot) {
|
|
|
19897
19897
|
}
|
|
19898
19898
|
generateUtilityClasses$1('MuiList', ['root', 'padding', 'dense', 'subheader']);
|
|
19899
19899
|
|
|
19900
|
-
const _excluded$
|
|
19900
|
+
const _excluded$1q = ["children", "className", "component", "dense", "disablePadding", "subheader"];
|
|
19901
19901
|
const useUtilityClasses$C = ownerState => {
|
|
19902
19902
|
const {
|
|
19903
19903
|
classes,
|
|
@@ -19945,7 +19945,7 @@ const List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref
|
|
|
19945
19945
|
disablePadding = false,
|
|
19946
19946
|
subheader
|
|
19947
19947
|
} = props,
|
|
19948
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
19948
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1q);
|
|
19949
19949
|
const context = React__namespace.useMemo(() => ({
|
|
19950
19950
|
dense
|
|
19951
19951
|
}), [dense]);
|
|
@@ -19975,7 +19975,7 @@ var listItemIconClasses$1 = listItemIconClasses;
|
|
|
19975
19975
|
const listItemTextClasses = generateUtilityClasses$1('MuiListItemText', ['root', 'multiline', 'dense', 'inset', 'primary', 'secondary']);
|
|
19976
19976
|
var listItemTextClasses$1 = listItemTextClasses;
|
|
19977
19977
|
|
|
19978
|
-
const _excluded$
|
|
19978
|
+
const _excluded$1p = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
|
|
19979
19979
|
function nextItem$1(list, item, disableListWrap) {
|
|
19980
19980
|
if (list === item) {
|
|
19981
19981
|
return list.firstChild;
|
|
@@ -20057,7 +20057,7 @@ const MenuList$1 = /*#__PURE__*/React__namespace.forwardRef(function MenuList(pr
|
|
|
20057
20057
|
onKeyDown,
|
|
20058
20058
|
variant = 'selectedMenu'
|
|
20059
20059
|
} = props,
|
|
20060
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
20060
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1p);
|
|
20061
20061
|
const listRef = React__namespace.useRef(null);
|
|
20062
20062
|
const textCriteriaRef = React__namespace.useRef({
|
|
20063
20063
|
keys: [],
|
|
@@ -20202,7 +20202,7 @@ function getPopoverUtilityClass(slot) {
|
|
|
20202
20202
|
}
|
|
20203
20203
|
generateUtilityClasses$1('MuiPopover', ['root', 'paper']);
|
|
20204
20204
|
|
|
20205
|
-
const _excluded$
|
|
20205
|
+
const _excluded$1o = ["onEntering"],
|
|
20206
20206
|
_excluded2$4 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"],
|
|
20207
20207
|
_excluded3 = ["slotProps"];
|
|
20208
20208
|
function getOffsetTop(rect, vertical) {
|
|
@@ -20300,7 +20300,7 @@ const Popover = /*#__PURE__*/React__namespace.forwardRef(function Popover(inProp
|
|
|
20300
20300
|
} = {},
|
|
20301
20301
|
disableScrollLock = false
|
|
20302
20302
|
} = props,
|
|
20303
|
-
TransitionProps = _objectWithoutPropertiesLoose$1(props.TransitionProps, _excluded$
|
|
20303
|
+
TransitionProps = _objectWithoutPropertiesLoose$1(props.TransitionProps, _excluded$1o),
|
|
20304
20304
|
other = _objectWithoutPropertiesLoose$1(props, _excluded2$4);
|
|
20305
20305
|
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
|
|
20306
20306
|
const paperRef = React__namespace.useRef();
|
|
@@ -20526,7 +20526,7 @@ function getMenuUtilityClass(slot) {
|
|
|
20526
20526
|
}
|
|
20527
20527
|
generateUtilityClasses$1('MuiMenu', ['root', 'paper', 'list']);
|
|
20528
20528
|
|
|
20529
|
-
const _excluded$
|
|
20529
|
+
const _excluded$1n = ["onEntering"],
|
|
20530
20530
|
_excluded2$3 = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"];
|
|
20531
20531
|
const RTL_ORIGIN = {
|
|
20532
20532
|
vertical: 'top',
|
|
@@ -20597,7 +20597,7 @@ const Menu$3 = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, r
|
|
|
20597
20597
|
slots = {},
|
|
20598
20598
|
slotProps = {}
|
|
20599
20599
|
} = props,
|
|
20600
|
-
TransitionProps = _objectWithoutPropertiesLoose$1(props.TransitionProps, _excluded$
|
|
20600
|
+
TransitionProps = _objectWithoutPropertiesLoose$1(props.TransitionProps, _excluded$1n),
|
|
20601
20601
|
other = _objectWithoutPropertiesLoose$1(props, _excluded2$3);
|
|
20602
20602
|
const isRtl = useRtl();
|
|
20603
20603
|
const ownerState = _extends$3({}, props, {
|
|
@@ -20711,7 +20711,7 @@ function getMenuItemUtilityClass(slot) {
|
|
|
20711
20711
|
const menuItemClasses = generateUtilityClasses$1('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);
|
|
20712
20712
|
var menuItemClasses$1 = menuItemClasses;
|
|
20713
20713
|
|
|
20714
|
-
const _excluded$
|
|
20714
|
+
const _excluded$1m = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"];
|
|
20715
20715
|
const overridesResolver$1 = (props, styles) => {
|
|
20716
20716
|
const {
|
|
20717
20717
|
ownerState
|
|
@@ -20833,7 +20833,7 @@ const MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inPr
|
|
|
20833
20833
|
tabIndex: tabIndexProp,
|
|
20834
20834
|
className
|
|
20835
20835
|
} = props,
|
|
20836
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
20836
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1m);
|
|
20837
20837
|
const context = React__namespace.useContext(ListContext$1);
|
|
20838
20838
|
const childContext = React__namespace.useMemo(() => ({
|
|
20839
20839
|
dense: dense || context.dense || false,
|
|
@@ -20881,7 +20881,7 @@ function getNativeSelectUtilityClasses(slot) {
|
|
|
20881
20881
|
const nativeSelectClasses = generateUtilityClasses$1('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
|
|
20882
20882
|
var nativeSelectClasses$1 = nativeSelectClasses;
|
|
20883
20883
|
|
|
20884
|
-
const _excluded$
|
|
20884
|
+
const _excluded$1l = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"];
|
|
20885
20885
|
const useUtilityClasses$y = ownerState => {
|
|
20886
20886
|
const {
|
|
20887
20887
|
classes,
|
|
@@ -21008,7 +21008,7 @@ const NativeSelectInput = /*#__PURE__*/React__namespace.forwardRef(function Nati
|
|
|
21008
21008
|
inputRef,
|
|
21009
21009
|
variant = 'standard'
|
|
21010
21010
|
} = props,
|
|
21011
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
21011
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1l);
|
|
21012
21012
|
const ownerState = _extends$3({}, props, {
|
|
21013
21013
|
disabled,
|
|
21014
21014
|
variant,
|
|
@@ -21031,7 +21031,7 @@ const NativeSelectInput = /*#__PURE__*/React__namespace.forwardRef(function Nati
|
|
|
21031
21031
|
var NativeSelectInput$1 = NativeSelectInput;
|
|
21032
21032
|
|
|
21033
21033
|
var _span$1;
|
|
21034
|
-
const _excluded$
|
|
21034
|
+
const _excluded$1k = ["children", "classes", "className", "label", "notched"];
|
|
21035
21035
|
const NotchedOutlineRoot$1 = styled$1('fieldset', {
|
|
21036
21036
|
shouldForwardProp: rootShouldForwardProp$1
|
|
21037
21037
|
})({
|
|
@@ -21108,7 +21108,7 @@ function NotchedOutline(props) {
|
|
|
21108
21108
|
label,
|
|
21109
21109
|
notched
|
|
21110
21110
|
} = props,
|
|
21111
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
21111
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1k);
|
|
21112
21112
|
const withLabel = label != null && label !== '';
|
|
21113
21113
|
const ownerState = _extends$3({}, props, {
|
|
21114
21114
|
notched,
|
|
@@ -21132,7 +21132,7 @@ function NotchedOutline(props) {
|
|
|
21132
21132
|
}));
|
|
21133
21133
|
}
|
|
21134
21134
|
|
|
21135
|
-
const _excluded$
|
|
21135
|
+
const _excluded$1j = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
|
|
21136
21136
|
const useUtilityClasses$x = ownerState => {
|
|
21137
21137
|
const {
|
|
21138
21138
|
classes
|
|
@@ -21251,7 +21251,7 @@ const OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function Outlined
|
|
|
21251
21251
|
slots = {},
|
|
21252
21252
|
type = 'text'
|
|
21253
21253
|
} = props,
|
|
21254
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
21254
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1j);
|
|
21255
21255
|
const classes = useUtilityClasses$x(props);
|
|
21256
21256
|
const muiFormControl = useFormControl();
|
|
21257
21257
|
const fcs = formControlState({
|
|
@@ -21380,7 +21380,7 @@ function getRadioUtilityClass(slot) {
|
|
|
21380
21380
|
const radioClasses = generateUtilityClasses$1('MuiRadio', ['root', 'checked', 'disabled', 'colorPrimary', 'colorSecondary', 'sizeSmall']);
|
|
21381
21381
|
var radioClasses$1 = radioClasses;
|
|
21382
21382
|
|
|
21383
|
-
const _excluded$
|
|
21383
|
+
const _excluded$1i = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className"];
|
|
21384
21384
|
const useUtilityClasses$w = ownerState => {
|
|
21385
21385
|
const {
|
|
21386
21386
|
classes,
|
|
@@ -21452,7 +21452,7 @@ const Radio = /*#__PURE__*/React__namespace.forwardRef(function Radio(inProps, r
|
|
|
21452
21452
|
size = 'medium',
|
|
21453
21453
|
className
|
|
21454
21454
|
} = props,
|
|
21455
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
21455
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1i);
|
|
21456
21456
|
const ownerState = _extends$3({}, props, {
|
|
21457
21457
|
color,
|
|
21458
21458
|
size
|
|
@@ -21489,7 +21489,7 @@ const Radio = /*#__PURE__*/React__namespace.forwardRef(function Radio(inProps, r
|
|
|
21489
21489
|
});
|
|
21490
21490
|
var Radio$1 = Radio;
|
|
21491
21491
|
|
|
21492
|
-
const _excluded$
|
|
21492
|
+
const _excluded$1h = ["actions", "children", "defaultValue", "name", "onChange", "value"];
|
|
21493
21493
|
const RadioGroup = /*#__PURE__*/React__namespace.forwardRef(function RadioGroup(props, ref) {
|
|
21494
21494
|
const {
|
|
21495
21495
|
// private
|
|
@@ -21501,7 +21501,7 @@ const RadioGroup = /*#__PURE__*/React__namespace.forwardRef(function RadioGroup(
|
|
|
21501
21501
|
onChange,
|
|
21502
21502
|
value: valueProp
|
|
21503
21503
|
} = props,
|
|
21504
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
21504
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1h);
|
|
21505
21505
|
const rootRef = React__namespace.useRef(null);
|
|
21506
21506
|
const [value, setValueState] = useControlled({
|
|
21507
21507
|
controlled: valueProp,
|
|
@@ -21550,7 +21550,7 @@ const selectClasses = generateUtilityClasses$1('MuiSelect', ['root', 'select', '
|
|
|
21550
21550
|
var selectClasses$1 = selectClasses;
|
|
21551
21551
|
|
|
21552
21552
|
var _span;
|
|
21553
|
-
const _excluded$
|
|
21553
|
+
const _excluded$1g = ["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"];
|
|
21554
21554
|
const SelectSelect = styled$1('div', {
|
|
21555
21555
|
name: 'MuiSelect',
|
|
21556
21556
|
slot: 'Select',
|
|
@@ -21673,7 +21673,7 @@ const SelectInput = /*#__PURE__*/React__namespace.forwardRef(function SelectInpu
|
|
|
21673
21673
|
value: valueProp,
|
|
21674
21674
|
variant = 'standard'
|
|
21675
21675
|
} = props,
|
|
21676
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
21676
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1g);
|
|
21677
21677
|
const [value, setValueState] = useControlled({
|
|
21678
21678
|
controlled: valueProp,
|
|
21679
21679
|
default: defaultValue,
|
|
@@ -22022,7 +22022,7 @@ const SelectInput = /*#__PURE__*/React__namespace.forwardRef(function SelectInpu
|
|
|
22022
22022
|
});
|
|
22023
22023
|
var SelectInput$1 = SelectInput;
|
|
22024
22024
|
|
|
22025
|
-
const _excluded$
|
|
22025
|
+
const _excluded$1f = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"],
|
|
22026
22026
|
_excluded2$2 = ["root"];
|
|
22027
22027
|
const useUtilityClasses$u = ownerState => {
|
|
22028
22028
|
const {
|
|
@@ -22067,7 +22067,7 @@ const Select$1 = /*#__PURE__*/React__namespace.forwardRef(function Select(inProp
|
|
|
22067
22067
|
SelectDisplayProps,
|
|
22068
22068
|
variant: variantProp = 'outlined'
|
|
22069
22069
|
} = props,
|
|
22070
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
22070
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1f);
|
|
22071
22071
|
const inputComponent = native ? NativeSelectInput$1 : SelectInput$1;
|
|
22072
22072
|
const muiFormControl = useFormControl();
|
|
22073
22073
|
const fcs = formControlState({
|
|
@@ -22145,7 +22145,7 @@ function getTooltipUtilityClass(slot) {
|
|
|
22145
22145
|
const tooltipClasses = generateUtilityClasses$1('MuiTooltip', ['popper', 'popperInteractive', 'popperArrow', 'popperClose', 'tooltip', 'tooltipArrow', 'touch', 'tooltipPlacementLeft', 'tooltipPlacementRight', 'tooltipPlacementTop', 'tooltipPlacementBottom', 'arrow']);
|
|
22146
22146
|
var tooltipClasses$1 = tooltipClasses;
|
|
22147
22147
|
|
|
22148
|
-
const _excluded$
|
|
22148
|
+
const _excluded$1e = ["arrow", "children", "classes", "components", "componentsProps", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "slotProps", "slots", "title", "TransitionComponent", "TransitionProps"];
|
|
22149
22149
|
function round(value) {
|
|
22150
22150
|
return Math.round(value * 1e5) / 1e5;
|
|
22151
22151
|
}
|
|
@@ -22367,7 +22367,7 @@ const Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProp
|
|
|
22367
22367
|
TransitionComponent: TransitionComponentProp = Grow$1,
|
|
22368
22368
|
TransitionProps
|
|
22369
22369
|
} = props,
|
|
22370
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
22370
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1e);
|
|
22371
22371
|
|
|
22372
22372
|
// to prevent runtime errors, developers will need to provide a child as a React element anyway.
|
|
22373
22373
|
const children = /*#__PURE__*/React__namespace.isValidElement(childrenProp) ? childrenProp : /*#__PURE__*/jsxRuntimeExports.jsx("span", {
|
|
@@ -22672,7 +22672,7 @@ function getTabUtilityClass(slot) {
|
|
|
22672
22672
|
const tabClasses = generateUtilityClasses$1('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped', 'iconWrapper']);
|
|
22673
22673
|
var tabClasses$1 = tabClasses;
|
|
22674
22674
|
|
|
22675
|
-
const _excluded$
|
|
22675
|
+
const _excluded$1d = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"];
|
|
22676
22676
|
const useUtilityClasses$s = ownerState => {
|
|
22677
22677
|
const {
|
|
22678
22678
|
classes,
|
|
@@ -22791,7 +22791,7 @@ const Tab = /*#__PURE__*/React__namespace.forwardRef(function Tab(inProps, ref)
|
|
|
22791
22791
|
value,
|
|
22792
22792
|
wrapped = false
|
|
22793
22793
|
} = props,
|
|
22794
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
22794
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1d);
|
|
22795
22795
|
const ownerState = _extends$3({}, props, {
|
|
22796
22796
|
disabled,
|
|
22797
22797
|
disableFocusRipple,
|
|
@@ -22849,7 +22849,7 @@ function getToolbarUtilityClass(slot) {
|
|
|
22849
22849
|
}
|
|
22850
22850
|
generateUtilityClasses$1('MuiToolbar', ['root', 'gutters', 'regular', 'dense']);
|
|
22851
22851
|
|
|
22852
|
-
const _excluded$
|
|
22852
|
+
const _excluded$1c = ["className", "component", "disableGutters", "variant"];
|
|
22853
22853
|
const useUtilityClasses$r = ownerState => {
|
|
22854
22854
|
const {
|
|
22855
22855
|
classes,
|
|
@@ -22901,7 +22901,7 @@ const Toolbar = /*#__PURE__*/React__namespace.forwardRef(function Toolbar(inProp
|
|
|
22901
22901
|
disableGutters = false,
|
|
22902
22902
|
variant = 'regular'
|
|
22903
22903
|
} = props,
|
|
22904
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
22904
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1c);
|
|
22905
22905
|
const ownerState = _extends$3({}, props, {
|
|
22906
22906
|
component,
|
|
22907
22907
|
disableGutters,
|
|
@@ -22965,7 +22965,7 @@ function animate(property, element, to, options = {}, cb = () => {}) {
|
|
|
22965
22965
|
return cancel;
|
|
22966
22966
|
}
|
|
22967
22967
|
|
|
22968
|
-
const _excluded$
|
|
22968
|
+
const _excluded$1b = ["onChange"];
|
|
22969
22969
|
const styles$2 = {
|
|
22970
22970
|
width: 99,
|
|
22971
22971
|
height: 99,
|
|
@@ -22983,7 +22983,7 @@ function ScrollbarSize(props) {
|
|
|
22983
22983
|
const {
|
|
22984
22984
|
onChange
|
|
22985
22985
|
} = props,
|
|
22986
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
22986
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1b);
|
|
22987
22987
|
const scrollbarHeight = React__namespace.useRef();
|
|
22988
22988
|
const nodeRef = React__namespace.useRef(null);
|
|
22989
22989
|
const setMeasurements = () => {
|
|
@@ -23020,7 +23020,7 @@ function getTabScrollButtonUtilityClass(slot) {
|
|
|
23020
23020
|
const tabScrollButtonClasses = generateUtilityClasses$1('MuiTabScrollButton', ['root', 'vertical', 'horizontal', 'disabled']);
|
|
23021
23021
|
var tabScrollButtonClasses$1 = tabScrollButtonClasses;
|
|
23022
23022
|
|
|
23023
|
-
const _excluded$
|
|
23023
|
+
const _excluded$1a = ["className", "slots", "slotProps", "direction", "orientation", "disabled"];
|
|
23024
23024
|
const useUtilityClasses$q = ownerState => {
|
|
23025
23025
|
const {
|
|
23026
23026
|
classes,
|
|
@@ -23069,7 +23069,7 @@ const TabScrollButton = /*#__PURE__*/React__namespace.forwardRef(function TabScr
|
|
|
23069
23069
|
slotProps = {},
|
|
23070
23070
|
direction
|
|
23071
23071
|
} = props,
|
|
23072
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
23072
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$1a);
|
|
23073
23073
|
const isRtl = useRtl();
|
|
23074
23074
|
const ownerState = _extends$3({
|
|
23075
23075
|
isRtl
|
|
@@ -23112,7 +23112,7 @@ function getTabsUtilityClass(slot) {
|
|
|
23112
23112
|
const tabsClasses = generateUtilityClasses$1('MuiTabs', ['root', 'vertical', 'flexContainer', 'flexContainerVertical', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);
|
|
23113
23113
|
var tabsClasses$1 = tabsClasses;
|
|
23114
23114
|
|
|
23115
|
-
const _excluded$
|
|
23115
|
+
const _excluded$19 = ["aria-label", "aria-labelledby", "action", "centered", "children", "className", "component", "allowScrollButtonsMobile", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "slots", "slotProps", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant", "visibleScrollbar"];
|
|
23116
23116
|
const nextItem = (list, item) => {
|
|
23117
23117
|
if (list === item) {
|
|
23118
23118
|
return list.firstChild;
|
|
@@ -23322,7 +23322,7 @@ const Tabs = /*#__PURE__*/React__namespace.forwardRef(function Tabs(inProps, ref
|
|
|
23322
23322
|
variant = 'standard',
|
|
23323
23323
|
visibleScrollbar = false
|
|
23324
23324
|
} = props,
|
|
23325
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
23325
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$19);
|
|
23326
23326
|
const scrollable = variant === 'scrollable';
|
|
23327
23327
|
const vertical = orientation === 'vertical';
|
|
23328
23328
|
const scrollStart = vertical ? 'scrollTop' : 'scrollLeft';
|
|
@@ -23756,7 +23756,7 @@ function getTextFieldUtilityClass(slot) {
|
|
|
23756
23756
|
}
|
|
23757
23757
|
generateUtilityClasses$1('MuiTextField', ['root']);
|
|
23758
23758
|
|
|
23759
|
-
const _excluded$
|
|
23759
|
+
const _excluded$18 = ["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"];
|
|
23760
23760
|
const variantComponent = {
|
|
23761
23761
|
standard: Input$3,
|
|
23762
23762
|
filled: FilledInput$1,
|
|
@@ -23848,7 +23848,7 @@ const TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(in
|
|
|
23848
23848
|
value,
|
|
23849
23849
|
variant = 'outlined'
|
|
23850
23850
|
} = props,
|
|
23851
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
23851
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$18);
|
|
23852
23852
|
const ownerState = _extends$3({}, props, {
|
|
23853
23853
|
autoFocus,
|
|
23854
23854
|
color,
|
|
@@ -24317,19 +24317,17 @@ default_1$8 = Menu$2.default = (0, _createSvgIcon$8.default)( /*#__PURE__*/(0, _
|
|
|
24317
24317
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
24318
24318
|
}), 'Menu');
|
|
24319
24319
|
|
|
24320
|
-
var _excluded$
|
|
24320
|
+
var _excluded$17 = ["bgcolor"];
|
|
24321
24321
|
|
|
24322
24322
|
/** Tabs organize and allow navigation between groups of content that are related and at the same level of hierarchy. */
|
|
24323
24323
|
function UHeaderMainMenu(props) {
|
|
24324
|
-
var bgcolor = props.bgcolor,
|
|
24325
|
-
|
|
24324
|
+
var _props$bgcolor = props.bgcolor,
|
|
24325
|
+
bgcolor = _props$bgcolor === void 0 ? 'white' : _props$bgcolor,
|
|
24326
|
+
others = _objectWithoutProperties$2(props, _excluded$17);
|
|
24326
24327
|
UHeaderMainMenu.propTypes = {
|
|
24327
24328
|
/** Background color of the UHeader Main Menu*/
|
|
24328
24329
|
bgcolor: PropTypes.string
|
|
24329
24330
|
};
|
|
24330
|
-
UHeaderMainMenu.defaultProps = {
|
|
24331
|
-
bgcolor: 'white'
|
|
24332
|
-
};
|
|
24333
24331
|
return /*#__PURE__*/React$1.createElement(Box$1, {
|
|
24334
24332
|
bgcolor: bgcolor
|
|
24335
24333
|
}, /*#__PURE__*/React$1.createElement(Tabs$1, others, props.children));
|
|
@@ -24564,7 +24562,7 @@ function ULayout(props) {
|
|
|
24564
24562
|
}, props.children);
|
|
24565
24563
|
}
|
|
24566
24564
|
|
|
24567
|
-
var _excluded$
|
|
24565
|
+
var _excluded$16 = ["headerHeight", "width", "children"];
|
|
24568
24566
|
var PREFIX$t = 'USideBar';
|
|
24569
24567
|
var classes$t = {
|
|
24570
24568
|
drawer: "".concat(PREFIX$t, "-drawer"),
|
|
@@ -24595,7 +24593,7 @@ function USideBar(_ref2) {
|
|
|
24595
24593
|
_ref2$width = _ref2.width,
|
|
24596
24594
|
width = _ref2$width === void 0 ? 300 : _ref2$width,
|
|
24597
24595
|
children = _ref2.children,
|
|
24598
|
-
others = _objectWithoutProperties$2(_ref2, _excluded$
|
|
24596
|
+
others = _objectWithoutProperties$2(_ref2, _excluded$16);
|
|
24599
24597
|
return /*#__PURE__*/React$1.createElement(StyledBox$k, {
|
|
24600
24598
|
display: {
|
|
24601
24599
|
xs: 'none',
|
|
@@ -24657,7 +24655,7 @@ UContent.propTypes = {
|
|
|
24657
24655
|
headerHeight: PropTypes.number
|
|
24658
24656
|
};
|
|
24659
24657
|
|
|
24660
|
-
var _excluded$
|
|
24658
|
+
var _excluded$15 = ["spinButton", "loading", "variant", "color", "children"];
|
|
24661
24659
|
var PREFIX$r = 'UButton';
|
|
24662
24660
|
var classes$r = {
|
|
24663
24661
|
root: "".concat(PREFIX$r, "-root"),
|
|
@@ -24693,7 +24691,8 @@ function UButton(_ref3) {
|
|
|
24693
24691
|
variant = _ref3$variant === void 0 ? 'contained' : _ref3$variant,
|
|
24694
24692
|
_ref3$color = _ref3.color,
|
|
24695
24693
|
color = _ref3$color === void 0 ? 'primary' : _ref3$color,
|
|
24696
|
-
|
|
24694
|
+
children = _ref3.children,
|
|
24695
|
+
others = _objectWithoutProperties$2(_ref3, _excluded$15);
|
|
24697
24696
|
function getVariant(variant) {
|
|
24698
24697
|
switch (variant) {
|
|
24699
24698
|
case 'uDefault':
|
|
@@ -24714,7 +24713,7 @@ function UButton(_ref3) {
|
|
|
24714
24713
|
variant: getVariant(variant),
|
|
24715
24714
|
color: color,
|
|
24716
24715
|
disableRipple: true
|
|
24717
|
-
}, others),
|
|
24716
|
+
}, others), children);
|
|
24718
24717
|
return !spinButton ? CustomButton : /*#__PURE__*/React$1.createElement(StyledBox$j, {
|
|
24719
24718
|
className: classes$r.root
|
|
24720
24719
|
}, /*#__PURE__*/React$1.createElement(Box$1, {
|
|
@@ -24849,7 +24848,7 @@ function _objectWithoutProperties$1(source, excluded) {
|
|
|
24849
24848
|
return target;
|
|
24850
24849
|
}
|
|
24851
24850
|
|
|
24852
|
-
var _excluded$
|
|
24851
|
+
var _excluded$14 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
24853
24852
|
function useStateManager(_ref) {
|
|
24854
24853
|
var _ref$defaultInputValu = _ref.defaultInputValue,
|
|
24855
24854
|
defaultInputValue = _ref$defaultInputValu === void 0 ? '' : _ref$defaultInputValu,
|
|
@@ -24864,7 +24863,7 @@ function useStateManager(_ref) {
|
|
|
24864
24863
|
propsOnMenuClose = _ref.onMenuClose,
|
|
24865
24864
|
propsOnMenuOpen = _ref.onMenuOpen,
|
|
24866
24865
|
propsValue = _ref.value,
|
|
24867
|
-
restSelectProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
24866
|
+
restSelectProps = _objectWithoutProperties$1(_ref, _excluded$14);
|
|
24868
24867
|
var _useState = React$1.useState(propsInputValue !== undefined ? propsInputValue : defaultInputValue),
|
|
24869
24868
|
_useState2 = _slicedToArray(_useState, 2),
|
|
24870
24869
|
stateInputValue = _useState2[0],
|
|
@@ -26087,7 +26086,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
26087
26086
|
};
|
|
26088
26087
|
var Group$1 = Group;
|
|
26089
26088
|
|
|
26090
|
-
var _excluded$
|
|
26089
|
+
var _excluded$13 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
|
|
26091
26090
|
var inputCSS = function inputCSS(_ref, unstyled) {
|
|
26092
26091
|
var isDisabled = _ref.isDisabled,
|
|
26093
26092
|
value = _ref.value,
|
|
@@ -26143,7 +26142,7 @@ var Input$1 = function Input(props) {
|
|
|
26143
26142
|
isDisabled = _cleanCommonProps.isDisabled,
|
|
26144
26143
|
isHidden = _cleanCommonProps.isHidden,
|
|
26145
26144
|
inputClassName = _cleanCommonProps.inputClassName,
|
|
26146
|
-
innerProps = _objectWithoutProperties$1(_cleanCommonProps, _excluded$
|
|
26145
|
+
innerProps = _objectWithoutProperties$1(_cleanCommonProps, _excluded$13);
|
|
26147
26146
|
return jsx("div", _extends$3({}, getStyleProps(props, 'input', {
|
|
26148
26147
|
'input-container': true
|
|
26149
26148
|
}), {
|
|
@@ -26956,10 +26955,10 @@ var createFilter = function createFilter(config) {
|
|
|
26956
26955
|
};
|
|
26957
26956
|
};
|
|
26958
26957
|
|
|
26959
|
-
var _excluded$
|
|
26958
|
+
var _excluded$12 = ["innerRef"];
|
|
26960
26959
|
function DummyInput(_ref) {
|
|
26961
26960
|
var innerRef = _ref.innerRef,
|
|
26962
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
26961
|
+
props = _objectWithoutProperties$1(_ref, _excluded$12);
|
|
26963
26962
|
// Remove animation props not meant for HTML elements
|
|
26964
26963
|
var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
26965
26964
|
return jsx("input", _extends$3({
|
|
@@ -29066,7 +29065,7 @@ default_1$7 = Cancel.default = (0, _createSvgIcon$7.default)( /*#__PURE__*/(0, _
|
|
|
29066
29065
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
|
|
29067
29066
|
}), 'Cancel');
|
|
29068
29067
|
|
|
29069
|
-
var _excluded
|
|
29068
|
+
var _excluded$11 = ["data", "children", "removeProps", "onClick", "selectProps"];
|
|
29070
29069
|
var PREFIX$q = 'MultiValue';
|
|
29071
29070
|
var classes$q = {
|
|
29072
29071
|
chip: "".concat(PREFIX$q, "-chip"),
|
|
@@ -29106,7 +29105,7 @@ function MultiValue(_ref3) {
|
|
|
29106
29105
|
removeProps = _ref3.removeProps;
|
|
29107
29106
|
_ref3.onClick;
|
|
29108
29107
|
var selectProps = _ref3.selectProps,
|
|
29109
|
-
props = _objectWithoutProperties$2(_ref3, _excluded
|
|
29108
|
+
props = _objectWithoutProperties$2(_ref3, _excluded$11);
|
|
29110
29109
|
var hideAvatar = selectProps && selectProps.TextFieldProps && selectProps.TextFieldProps.hideAvatar;
|
|
29111
29110
|
var readOnly = selectProps && selectProps.TextFieldProps && selectProps.TextFieldProps.readOnly;
|
|
29112
29111
|
return /*#__PURE__*/React$1.createElement(StyledChip, _extends$1({
|
|
@@ -29195,7 +29194,7 @@ SingleValue.propTypes = {
|
|
|
29195
29194
|
innerProps: PropTypes.any
|
|
29196
29195
|
};
|
|
29197
29196
|
|
|
29198
|
-
var _excluded$
|
|
29197
|
+
var _excluded$10 = ["isLoading"];
|
|
29199
29198
|
var PREFIX$o = 'Menu';
|
|
29200
29199
|
var classes$o = {
|
|
29201
29200
|
errorMessage: "".concat(PREFIX$o, "-errorMessage")
|
|
@@ -29209,7 +29208,7 @@ var StyledPaper = styled$1(Paper$1)(function (_ref) {
|
|
|
29209
29208
|
});
|
|
29210
29209
|
function Menu(_ref3) {
|
|
29211
29210
|
var isLoading = _ref3.isLoading,
|
|
29212
|
-
others = _objectWithoutProperties$2(_ref3, _excluded$
|
|
29211
|
+
others = _objectWithoutProperties$2(_ref3, _excluded$10);
|
|
29213
29212
|
var _others$selectProps = others.selectProps,
|
|
29214
29213
|
errorOptionsMessage = _others$selectProps.errorOptionsMessage,
|
|
29215
29214
|
loadingText = _others$selectProps.loadingText;
|
|
@@ -29240,10 +29239,10 @@ Menu.propTypes = {
|
|
|
29240
29239
|
isLoading: PropTypes.bool
|
|
29241
29240
|
};
|
|
29242
29241
|
|
|
29243
|
-
var _excluded
|
|
29242
|
+
var _excluded$$ = ["inputRef"];
|
|
29244
29243
|
function InputComponent(_ref) {
|
|
29245
29244
|
var inputRef = _ref.inputRef,
|
|
29246
|
-
props = _objectWithoutProperties$2(_ref, _excluded
|
|
29245
|
+
props = _objectWithoutProperties$2(_ref, _excluded$$);
|
|
29247
29246
|
return /*#__PURE__*/React$1.createElement("div", _extends$1({
|
|
29248
29247
|
ref: inputRef
|
|
29249
29248
|
}, props, {
|
|
@@ -30640,7 +30639,7 @@ var NumberFormat = /*@__PURE__*/(function (superclass) {
|
|
|
30640
30639
|
|
|
30641
30640
|
NumberFormat.defaultProps = defaultProps;
|
|
30642
30641
|
|
|
30643
|
-
var _excluded$
|
|
30642
|
+
var _excluded$_ = ["inputRef", "name", "value", "onChange", "onBlur", "thousandSeparator", "isNumericString", "allowNegative", "decimalScale", "fixedDecimalScale"];
|
|
30644
30643
|
function PositiveNumberFormat(_ref) {
|
|
30645
30644
|
var inputRef = _ref.inputRef,
|
|
30646
30645
|
name = _ref.name,
|
|
@@ -30657,7 +30656,7 @@ function PositiveNumberFormat(_ref) {
|
|
|
30657
30656
|
decimalScale = _ref$decimalScale === void 0 ? 0 : _ref$decimalScale,
|
|
30658
30657
|
_ref$fixedDecimalScal = _ref.fixedDecimalScale,
|
|
30659
30658
|
fixedDecimalScale = _ref$fixedDecimalScal === void 0 ? false : _ref$fixedDecimalScal,
|
|
30660
|
-
other = _objectWithoutProperties$2(_ref, _excluded$
|
|
30659
|
+
other = _objectWithoutProperties$2(_ref, _excluded$_);
|
|
30661
30660
|
return /*#__PURE__*/React$1.createElement(NumberFormat, _extends$1({}, other, {
|
|
30662
30661
|
value: value,
|
|
30663
30662
|
getInputRef: inputRef,
|
|
@@ -30689,7 +30688,7 @@ PositiveNumberFormat.propTypes = {
|
|
|
30689
30688
|
// field value
|
|
30690
30689
|
value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
30691
30690
|
// Input ref
|
|
30692
|
-
inputRef: PropTypes.func
|
|
30691
|
+
inputRef: PropTypes.func,
|
|
30693
30692
|
// On each onChange value will be formatted
|
|
30694
30693
|
onChange: PropTypes.func.isRequired,
|
|
30695
30694
|
// callback function to be called on blur
|
|
@@ -30777,7 +30776,6 @@ function InputLabelHelp(_ref3) {
|
|
|
30777
30776
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, inputLabel), /*#__PURE__*/React$1.createElement(StyledBox$i, {
|
|
30778
30777
|
className: classes$n.root
|
|
30779
30778
|
}, type === 'tooltip' ? /*#__PURE__*/React$1.createElement(Tooltip$1, {
|
|
30780
|
-
interactive: true,
|
|
30781
30779
|
title: /*#__PURE__*/React$1.createElement("div", {
|
|
30782
30780
|
dangerouslySetInnerHTML: {
|
|
30783
30781
|
__html: tooltipTitle
|
|
@@ -30818,7 +30816,7 @@ InputLabelHelp.propTypes = {
|
|
|
30818
30816
|
tooltipPlacement: PropTypes.string
|
|
30819
30817
|
};
|
|
30820
30818
|
|
|
30821
|
-
var _excluded$
|
|
30819
|
+
var _excluded$Z = ["showLabelHelp", "InputLabelHelpProps", "lineByLineOption", "hideAvatar"];
|
|
30822
30820
|
var styles$1 = {
|
|
30823
30821
|
labelRoot: {
|
|
30824
30822
|
pointerEvents: 'auto',
|
|
@@ -30851,7 +30849,7 @@ function Control(_ref) {
|
|
|
30851
30849
|
_ref2.InputLabelHelpProps;
|
|
30852
30850
|
_ref2.lineByLineOption;
|
|
30853
30851
|
_ref2.hideAvatar;
|
|
30854
|
-
var otherTextFieldProps = _objectWithoutProperties$2(_ref2, _excluded$
|
|
30852
|
+
var otherTextFieldProps = _objectWithoutProperties$2(_ref2, _excluded$Z);
|
|
30855
30853
|
return /*#__PURE__*/React$1.createElement(TextField$1, _extends$1({
|
|
30856
30854
|
fullWidth: true,
|
|
30857
30855
|
variant: "outlined",
|
|
@@ -31027,7 +31025,7 @@ Input.propTypes = {
|
|
|
31027
31025
|
props: PropTypes.object
|
|
31028
31026
|
};
|
|
31029
31027
|
|
|
31030
|
-
var _excluded$
|
|
31028
|
+
var _excluded$Y = ["label", "variant", "TextFieldProps", "showNoOptionsWithEmptyTextField", "onInputChange", "components", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "hideAvatar", "readOnly", "lineByLineOption", "isClearable", "isSearchable", "isDisabled", "menuIsOpen", "placeholder", "iconVariant", "isMulti", "noOptionsText", "loadingText"];
|
|
31031
31029
|
var PREFIX$k = 'USelectPicker';
|
|
31032
31030
|
var classes$k = {
|
|
31033
31031
|
input: "".concat(PREFIX$k, "-input"),
|
|
@@ -31110,27 +31108,47 @@ var ICON_VARIANTS = {
|
|
|
31110
31108
|
* * Clear current selection.
|
|
31111
31109
|
*
|
|
31112
31110
|
*/
|
|
31111
|
+
|
|
31113
31112
|
function USelectPicker(props) {
|
|
31114
31113
|
var theme = useTheme$1();
|
|
31115
31114
|
var label = props.label,
|
|
31116
|
-
variant = props.variant,
|
|
31115
|
+
_props$variant = props.variant,
|
|
31116
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
31117
31117
|
TextFieldProps = props.TextFieldProps,
|
|
31118
|
-
|
|
31118
|
+
_props$showNoOptionsW = props.showNoOptionsWithEmptyTextField,
|
|
31119
|
+
showNoOptionsWithEmptyTextField = _props$showNoOptionsW === void 0 ? true : _props$showNoOptionsW,
|
|
31119
31120
|
onInputChange = props.onInputChange,
|
|
31120
31121
|
components = props.components,
|
|
31121
|
-
showLabelHelp = props.showLabelHelp,
|
|
31122
|
+
_props$showLabelHelp = props.showLabelHelp,
|
|
31123
|
+
showLabelHelp = _props$showLabelHelp === void 0 ? false : _props$showLabelHelp,
|
|
31122
31124
|
InputLabelProps = props.InputLabelProps,
|
|
31123
|
-
|
|
31124
|
-
|
|
31125
|
-
|
|
31126
|
-
|
|
31127
|
-
|
|
31128
|
-
|
|
31129
|
-
|
|
31130
|
-
|
|
31131
|
-
|
|
31132
|
-
|
|
31133
|
-
|
|
31125
|
+
_props$InputLabelHelp = props.InputLabelHelpProps,
|
|
31126
|
+
InputLabelHelpProps = _props$InputLabelHelp === void 0 ? {} : _props$InputLabelHelp,
|
|
31127
|
+
_props$hideAvatar = props.hideAvatar,
|
|
31128
|
+
hideAvatar = _props$hideAvatar === void 0 ? true : _props$hideAvatar,
|
|
31129
|
+
_props$readOnly = props.readOnly,
|
|
31130
|
+
readOnly = _props$readOnly === void 0 ? false : _props$readOnly,
|
|
31131
|
+
_props$lineByLineOpti = props.lineByLineOption,
|
|
31132
|
+
lineByLineOption = _props$lineByLineOpti === void 0 ? false : _props$lineByLineOpti,
|
|
31133
|
+
_props$isClearable = props.isClearable,
|
|
31134
|
+
isClearable = _props$isClearable === void 0 ? undefined : _props$isClearable,
|
|
31135
|
+
_props$isSearchable = props.isSearchable,
|
|
31136
|
+
isSearchable = _props$isSearchable === void 0 ? true : _props$isSearchable,
|
|
31137
|
+
_props$isDisabled = props.isDisabled,
|
|
31138
|
+
isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
|
|
31139
|
+
_props$menuIsOpen = props.menuIsOpen,
|
|
31140
|
+
menuIsOpen = _props$menuIsOpen === void 0 ? undefined : _props$menuIsOpen,
|
|
31141
|
+
_props$placeholder = props.placeholder,
|
|
31142
|
+
placeholder = _props$placeholder === void 0 ? 'Select...' : _props$placeholder,
|
|
31143
|
+
_props$iconVariant = props.iconVariant,
|
|
31144
|
+
iconVariant = _props$iconVariant === void 0 ? ICON_VARIANTS.light : _props$iconVariant,
|
|
31145
|
+
_props$isMulti = props.isMulti,
|
|
31146
|
+
isMulti = _props$isMulti === void 0 ? false : _props$isMulti,
|
|
31147
|
+
_props$noOptionsText = props.noOptionsText,
|
|
31148
|
+
noOptionsText = _props$noOptionsText === void 0 ? 'No options' : _props$noOptionsText,
|
|
31149
|
+
_props$loadingText = props.loadingText,
|
|
31150
|
+
loadingText = _props$loadingText === void 0 ? 'Loading...' : _props$loadingText,
|
|
31151
|
+
others = _objectWithoutProperties$2(props, _excluded$Y);
|
|
31134
31152
|
var _useState = React$1.useState(true),
|
|
31135
31153
|
_useState2 = _slicedToArray$1(_useState, 2),
|
|
31136
31154
|
isTextFieldEmpty = _useState2[0],
|
|
@@ -31216,7 +31234,10 @@ function USelectPicker(props) {
|
|
|
31216
31234
|
isSearchable: readOnly ? false : isSearchable,
|
|
31217
31235
|
isDisabled: readOnly ? true : isDisabled,
|
|
31218
31236
|
menuIsOpen: readOnly ? false : menuIsOpen,
|
|
31219
|
-
placeholder: selectPlaceholder
|
|
31237
|
+
placeholder: selectPlaceholder,
|
|
31238
|
+
isMulti: isMulti,
|
|
31239
|
+
noOptionsText: noOptionsText,
|
|
31240
|
+
loadingText: loadingText
|
|
31220
31241
|
}, others)));
|
|
31221
31242
|
}
|
|
31222
31243
|
USelectPicker.propTypes = {
|
|
@@ -31295,25 +31316,8 @@ USelectPicker.propTypes = {
|
|
|
31295
31316
|
/** Loading text */
|
|
31296
31317
|
loadingText: PropTypes.string
|
|
31297
31318
|
};
|
|
31298
|
-
USelectPicker.defaultProps = {
|
|
31299
|
-
isMulti: false,
|
|
31300
|
-
placeholder: 'Select...',
|
|
31301
|
-
variant: 'outlined',
|
|
31302
|
-
showNoOptionsWithEmptyTextField: true,
|
|
31303
|
-
showLabelHelp: false,
|
|
31304
|
-
InputLabelHelpProps: {},
|
|
31305
|
-
hideAvatar: true,
|
|
31306
|
-
readOnly: false,
|
|
31307
|
-
isClearable: undefined,
|
|
31308
|
-
isSearchable: true,
|
|
31309
|
-
isDisabled: false,
|
|
31310
|
-
menuIsOpen: undefined,
|
|
31311
|
-
lineByLineOption: false,
|
|
31312
|
-
iconVariant: ICON_VARIANTS.light,
|
|
31313
|
-
noOptionsText: 'No options',
|
|
31314
|
-
loadingText: 'Loading...'
|
|
31315
|
-
};
|
|
31316
31319
|
|
|
31320
|
+
var _excluded$X = ["isMulti", "placeholder", "variant", "showNoOptionsWithEmptyTextField", "showLabelHelp", "InputLabelHelpProps"];
|
|
31317
31321
|
/**
|
|
31318
31322
|
* UPeoplePicker is a control for selecting people from a list. Has the features below:
|
|
31319
31323
|
*
|
|
@@ -31324,7 +31328,27 @@ USelectPicker.defaultProps = {
|
|
|
31324
31328
|
*
|
|
31325
31329
|
*/
|
|
31326
31330
|
function UPeoplePicker(props) {
|
|
31327
|
-
|
|
31331
|
+
var _props$isMulti = props.isMulti,
|
|
31332
|
+
isMulti = _props$isMulti === void 0 ? false : _props$isMulti,
|
|
31333
|
+
_props$placeholder = props.placeholder,
|
|
31334
|
+
placeholder = _props$placeholder === void 0 ? 'Select...' : _props$placeholder,
|
|
31335
|
+
_props$variant = props.variant,
|
|
31336
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
31337
|
+
_props$showNoOptionsW = props.showNoOptionsWithEmptyTextField,
|
|
31338
|
+
showNoOptionsWithEmptyTextField = _props$showNoOptionsW === void 0 ? true : _props$showNoOptionsW,
|
|
31339
|
+
_props$showLabelHelp = props.showLabelHelp,
|
|
31340
|
+
showLabelHelp = _props$showLabelHelp === void 0 ? false : _props$showLabelHelp,
|
|
31341
|
+
_props$InputLabelHelp = props.InputLabelHelpProps,
|
|
31342
|
+
InputLabelHelpProps = _props$InputLabelHelp === void 0 ? {} : _props$InputLabelHelp,
|
|
31343
|
+
rest = _objectWithoutProperties$2(props, _excluded$X);
|
|
31344
|
+
return /*#__PURE__*/React$1.createElement(USelectPicker, _extends$1({
|
|
31345
|
+
isMulti: isMulti,
|
|
31346
|
+
placeholder: placeholder,
|
|
31347
|
+
variant: variant,
|
|
31348
|
+
showNoOptionsWithEmptyTextField: showNoOptionsWithEmptyTextField,
|
|
31349
|
+
showLabelHelp: showLabelHelp,
|
|
31350
|
+
InputLabelHelpProps: InputLabelHelpProps
|
|
31351
|
+
}, rest, {
|
|
31328
31352
|
hideAvatar: false
|
|
31329
31353
|
}));
|
|
31330
31354
|
}
|
|
@@ -31384,14 +31408,6 @@ UPeoplePicker.propTypes = {
|
|
|
31384
31408
|
/** Props applied to the input label help element. E.g. InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
31385
31409
|
InputLabelHelpProps: PropTypes.object
|
|
31386
31410
|
};
|
|
31387
|
-
UPeoplePicker.defaultProps = {
|
|
31388
|
-
isMulti: false,
|
|
31389
|
-
placeholder: 'Select...',
|
|
31390
|
-
variant: 'outlined',
|
|
31391
|
-
showNoOptionsWithEmptyTextField: true,
|
|
31392
|
-
showLabelHelp: false,
|
|
31393
|
-
InputLabelHelpProps: {}
|
|
31394
|
-
};
|
|
31395
31411
|
|
|
31396
31412
|
/**
|
|
31397
31413
|
* UIconPicker is a control for selecting icon from a list. Has the features below:
|
|
@@ -31403,7 +31419,26 @@ UPeoplePicker.defaultProps = {
|
|
|
31403
31419
|
*
|
|
31404
31420
|
*/
|
|
31405
31421
|
function UIconPicker(props) {
|
|
31406
|
-
|
|
31422
|
+
var _props$isMulti = props.isMulti,
|
|
31423
|
+
isMulti = _props$isMulti === void 0 ? false : _props$isMulti,
|
|
31424
|
+
_props$placeholder = props.placeholder,
|
|
31425
|
+
placeholder = _props$placeholder === void 0 ? 'Select...' : _props$placeholder,
|
|
31426
|
+
_props$variant = props.variant,
|
|
31427
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
31428
|
+
_props$showNoOptionsW = props.showNoOptionsWithEmptyTextField,
|
|
31429
|
+
showNoOptionsWithEmptyTextField = _props$showNoOptionsW === void 0 ? true : _props$showNoOptionsW,
|
|
31430
|
+
_props$showLabelHelp = props.showLabelHelp,
|
|
31431
|
+
showLabelHelp = _props$showLabelHelp === void 0 ? false : _props$showLabelHelp,
|
|
31432
|
+
_props$InputLabelHelp = props.InputLabelHelpProps,
|
|
31433
|
+
InputLabelHelpProps = _props$InputLabelHelp === void 0 ? {} : _props$InputLabelHelp;
|
|
31434
|
+
return /*#__PURE__*/React$1.createElement(USelectPicker, _extends$1({
|
|
31435
|
+
isMulti: isMulti,
|
|
31436
|
+
placeholder: placeholder,
|
|
31437
|
+
variant: variant,
|
|
31438
|
+
showNoOptionsWithEmptyTextField: showNoOptionsWithEmptyTextField,
|
|
31439
|
+
showLabelHelp: showLabelHelp,
|
|
31440
|
+
InputLabelHelpProps: InputLabelHelpProps
|
|
31441
|
+
}, props, {
|
|
31407
31442
|
hideAvatar: false
|
|
31408
31443
|
}));
|
|
31409
31444
|
}
|
|
@@ -31463,14 +31498,6 @@ UIconPicker.propTypes = {
|
|
|
31463
31498
|
/** Props applied to the input label help element. E.g. InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
31464
31499
|
InputLabelHelpProps: PropTypes.object
|
|
31465
31500
|
};
|
|
31466
|
-
UIconPicker.defaultProps = {
|
|
31467
|
-
isMulti: false,
|
|
31468
|
-
placeholder: 'Select...',
|
|
31469
|
-
variant: 'outlined',
|
|
31470
|
-
showNoOptionsWithEmptyTextField: true,
|
|
31471
|
-
showLabelHelp: false,
|
|
31472
|
-
InputLabelHelpProps: {}
|
|
31473
|
-
};
|
|
31474
31501
|
|
|
31475
31502
|
function toInteger(dirtyNumber) {
|
|
31476
31503
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
@@ -39297,7 +39324,7 @@ function getDatePickerToolbarUtilityClass(slot) {
|
|
|
39297
39324
|
}
|
|
39298
39325
|
generateUtilityClasses$1('MuiDatePickerToolbar', ['root', 'title']);
|
|
39299
39326
|
|
|
39300
|
-
const _excluded$
|
|
39327
|
+
const _excluded$W = ["parsedValue", "isLandscape", "isMobileKeyboardViewOpen", "onChange", "toggleMobileKeyboardView", "toolbarFormat", "toolbarPlaceholder", "toolbarTitle", "views"];
|
|
39301
39328
|
|
|
39302
39329
|
const useUtilityClasses$m = ownerState => {
|
|
39303
39330
|
const {
|
|
@@ -39344,7 +39371,7 @@ const DatePickerToolbar = /*#__PURE__*/React__namespace.forwardRef(function Date
|
|
|
39344
39371
|
toolbarTitle: toolbarTitleProp,
|
|
39345
39372
|
views
|
|
39346
39373
|
} = props,
|
|
39347
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
39374
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$W);
|
|
39348
39375
|
|
|
39349
39376
|
const utils = useUtils();
|
|
39350
39377
|
const localeText = useLocaleText();
|
|
@@ -39397,7 +39424,7 @@ const DatePickerToolbar = /*#__PURE__*/React__namespace.forwardRef(function Date
|
|
|
39397
39424
|
*/
|
|
39398
39425
|
const WrapperVariantContext = /*#__PURE__*/React__namespace.createContext(null);
|
|
39399
39426
|
|
|
39400
|
-
const _excluded$
|
|
39427
|
+
const _excluded$V = ["onAccept", "onClear", "onCancel", "onSetToday", "actions"];
|
|
39401
39428
|
const PickersActionBar = props => {
|
|
39402
39429
|
const {
|
|
39403
39430
|
onAccept,
|
|
@@ -39406,7 +39433,7 @@ const PickersActionBar = props => {
|
|
|
39406
39433
|
onSetToday,
|
|
39407
39434
|
actions
|
|
39408
39435
|
} = props,
|
|
39409
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
39436
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$V);
|
|
39410
39437
|
|
|
39411
39438
|
const wrapperVariant = React__namespace.useContext(WrapperVariantContext);
|
|
39412
39439
|
const localeText = useLocaleText();
|
|
@@ -39491,7 +39518,7 @@ const getActiveElement = (root = document) => {
|
|
|
39491
39518
|
return activeEl;
|
|
39492
39519
|
};
|
|
39493
39520
|
|
|
39494
|
-
const _excluded$
|
|
39521
|
+
const _excluded$U = ["onClick", "onTouchStart"];
|
|
39495
39522
|
|
|
39496
39523
|
const useUtilityClasses$l = ownerState => {
|
|
39497
39524
|
const {
|
|
@@ -39714,7 +39741,7 @@ function PickersPopper(inProps) {
|
|
|
39714
39741
|
onClick: onPaperClickProp,
|
|
39715
39742
|
onTouchStart: onPaperTouchStartProp
|
|
39716
39743
|
} = PaperProps,
|
|
39717
|
-
otherPaperProps = _objectWithoutPropertiesLoose$1(PaperProps, _excluded$
|
|
39744
|
+
otherPaperProps = _objectWithoutPropertiesLoose$1(PaperProps, _excluded$U);
|
|
39718
39745
|
|
|
39719
39746
|
const handleKeyDown = event => {
|
|
39720
39747
|
if (event.key === 'Escape') {
|
|
@@ -39939,7 +39966,7 @@ function getClockPointerUtilityClass(slot) {
|
|
|
39939
39966
|
}
|
|
39940
39967
|
generateUtilityClasses$1('MuiClockPointer', ['root', 'thumb']);
|
|
39941
39968
|
|
|
39942
|
-
const _excluded$
|
|
39969
|
+
const _excluded$T = ["className", "hasSelected", "isInner", "type", "value"];
|
|
39943
39970
|
|
|
39944
39971
|
const useUtilityClasses$k = ownerState => {
|
|
39945
39972
|
const {
|
|
@@ -40005,7 +40032,7 @@ function ClockPointer(inProps) {
|
|
|
40005
40032
|
type,
|
|
40006
40033
|
value
|
|
40007
40034
|
} = props,
|
|
40008
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
40035
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$T);
|
|
40009
40036
|
|
|
40010
40037
|
const previousType = React__namespace.useRef(type);
|
|
40011
40038
|
React__namespace.useEffect(() => {
|
|
@@ -40385,7 +40412,7 @@ function getClockNumberUtilityClass(slot) {
|
|
|
40385
40412
|
}
|
|
40386
40413
|
const clockNumberClasses = generateUtilityClasses$1('MuiClockNumber', ['root', 'selected', 'disabled']);
|
|
40387
40414
|
|
|
40388
|
-
const _excluded$
|
|
40415
|
+
const _excluded$S = ["className", "disabled", "index", "inner", "label", "selected"];
|
|
40389
40416
|
|
|
40390
40417
|
const useUtilityClasses$i = ownerState => {
|
|
40391
40418
|
const {
|
|
@@ -40452,7 +40479,7 @@ function ClockNumber(inProps) {
|
|
|
40452
40479
|
label,
|
|
40453
40480
|
selected
|
|
40454
40481
|
} = props,
|
|
40455
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
40482
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$S);
|
|
40456
40483
|
|
|
40457
40484
|
const ownerState = props;
|
|
40458
40485
|
const classes = useUtilityClasses$i(ownerState);
|
|
@@ -40556,7 +40583,7 @@ function getPickersArrowSwitcherUtilityClass(slot) {
|
|
|
40556
40583
|
}
|
|
40557
40584
|
generateUtilityClasses$1('MuiPickersArrowSwitcher', ['root', 'spacer', 'button']);
|
|
40558
40585
|
|
|
40559
|
-
const _excluded$
|
|
40586
|
+
const _excluded$R = ["children", "className", "components", "componentsProps", "isLeftDisabled", "isLeftHidden", "isRightDisabled", "isRightHidden", "leftArrowButtonText", "onLeftClick", "onRightClick", "rightArrowButtonText"];
|
|
40560
40587
|
|
|
40561
40588
|
const useUtilityClasses$h = ownerState => {
|
|
40562
40589
|
const {
|
|
@@ -40615,7 +40642,7 @@ const PickersArrowSwitcher = /*#__PURE__*/React__namespace.forwardRef(function P
|
|
|
40615
40642
|
onRightClick,
|
|
40616
40643
|
rightArrowButtonText
|
|
40617
40644
|
} = props,
|
|
40618
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
40645
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$R);
|
|
40619
40646
|
|
|
40620
40647
|
const theme = useTheme$1();
|
|
40621
40648
|
const isRtl = theme.direction === 'rtl';
|
|
@@ -41044,7 +41071,7 @@ function getPickersMonthUtilityClass(slot) {
|
|
|
41044
41071
|
const pickersMonthClasses = generateUtilityClasses$1( // TODO v6 Rename 'PrivatePickersMonth' to 'MuiPickersMonth' to follow convention
|
|
41045
41072
|
'PrivatePickersMonth', ['root', 'selected']);
|
|
41046
41073
|
|
|
41047
|
-
const _excluded$
|
|
41074
|
+
const _excluded$Q = ["disabled", "onSelect", "selected", "value", "tabIndex", "hasFocus", "onFocus", "onBlur"];
|
|
41048
41075
|
|
|
41049
41076
|
const useUtilityClasses$f = ownerState => {
|
|
41050
41077
|
const {
|
|
@@ -41113,7 +41140,7 @@ const PickersMonth = props => {
|
|
|
41113
41140
|
onFocus = noop$3,
|
|
41114
41141
|
onBlur = noop$3
|
|
41115
41142
|
} = props,
|
|
41116
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
41143
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$Q);
|
|
41117
41144
|
|
|
41118
41145
|
const classes = useUtilityClasses$f(props);
|
|
41119
41146
|
|
|
@@ -41150,7 +41177,7 @@ function getMonthPickerUtilityClass(slot) {
|
|
|
41150
41177
|
}
|
|
41151
41178
|
generateUtilityClasses$1('MuiMonthPicker', ['root']);
|
|
41152
41179
|
|
|
41153
|
-
const _excluded$
|
|
41180
|
+
const _excluded$P = ["className", "date", "disabled", "disableFuture", "disablePast", "maxDate", "minDate", "onChange", "shouldDisableMonth", "readOnly", "disableHighlightToday", "autoFocus", "onMonthFocus", "hasFocus", "onFocusedViewChange"];
|
|
41154
41181
|
|
|
41155
41182
|
const useUtilityClasses$e = ownerState => {
|
|
41156
41183
|
const {
|
|
@@ -41210,7 +41237,7 @@ const MonthPicker = /*#__PURE__*/React__namespace.forwardRef(function MonthPicke
|
|
|
41210
41237
|
hasFocus,
|
|
41211
41238
|
onFocusedViewChange
|
|
41212
41239
|
} = props,
|
|
41213
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
41240
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$P);
|
|
41214
41241
|
|
|
41215
41242
|
const ownerState = props;
|
|
41216
41243
|
const classes = useUtilityClasses$e(ownerState);
|
|
@@ -41595,7 +41622,7 @@ function getPickersDayUtilityClass(slot) {
|
|
|
41595
41622
|
}
|
|
41596
41623
|
const pickersDayClasses = generateUtilityClasses$1('MuiPickersDay', ['root', 'dayWithMargin', 'dayOutsideMonth', 'hiddenDaySpacingFiller', 'today', 'selected', 'disabled']);
|
|
41597
41624
|
|
|
41598
|
-
const _excluded$
|
|
41625
|
+
const _excluded$O = ["autoFocus", "className", "day", "disabled", "disableHighlightToday", "disableMargin", "hidden", "isAnimating", "onClick", "onDaySelect", "onFocus", "onBlur", "onKeyDown", "onMouseDown", "outsideCurrentMonth", "selected", "showDaysOutsideCurrentMonth", "children", "today"];
|
|
41599
41626
|
|
|
41600
41627
|
const useUtilityClasses$c = ownerState => {
|
|
41601
41628
|
const {
|
|
@@ -41717,7 +41744,7 @@ const PickersDayRaw = /*#__PURE__*/React__namespace.forwardRef(function PickersD
|
|
|
41717
41744
|
children,
|
|
41718
41745
|
today: isToday = false
|
|
41719
41746
|
} = props,
|
|
41720
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
41747
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$O);
|
|
41721
41748
|
|
|
41722
41749
|
const ownerState = _extends$3({}, props, {
|
|
41723
41750
|
autoFocus,
|
|
@@ -41812,7 +41839,7 @@ generateUtilityClass$1('PrivatePickersSlideTransition', slot);
|
|
|
41812
41839
|
const pickersSlideTransitionClasses = generateUtilityClasses$1( // TODO v6: Rename 'PrivatePickersSlideTransition' to 'MuiPickersSlideTransition' to follow convention
|
|
41813
41840
|
'PrivatePickersSlideTransition', ['root', 'slideEnter-left', 'slideEnter-right', 'slideEnterActive', 'slideExit', 'slideExitActiveLeft-left', 'slideExitActiveLeft-right']);
|
|
41814
41841
|
|
|
41815
|
-
const _excluded$
|
|
41842
|
+
const _excluded$N = ["children", "className", "reduceAnimations", "slideDirection", "transKey"];
|
|
41816
41843
|
|
|
41817
41844
|
const useUtilityClasses$b = ownerState => {
|
|
41818
41845
|
const {
|
|
@@ -41902,7 +41929,7 @@ const PickersSlideTransition = props => {
|
|
|
41902
41929
|
slideDirection,
|
|
41903
41930
|
transKey
|
|
41904
41931
|
} = props,
|
|
41905
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
41932
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$N);
|
|
41906
41933
|
|
|
41907
41934
|
const classes = useUtilityClasses$b(props);
|
|
41908
41935
|
|
|
@@ -42466,7 +42493,7 @@ function getPickersYearUtilityClass(slot) {
|
|
|
42466
42493
|
|
|
42467
42494
|
const pickersYearClasses = generateUtilityClasses$1('PrivatePickersYear', ['root', 'modeDesktop', 'modeMobile', 'yearButton', 'selected', 'disabled']);
|
|
42468
42495
|
|
|
42469
|
-
const _excluded$
|
|
42496
|
+
const _excluded$M = ["autoFocus", "className", "children", "disabled", "onClick", "onKeyDown", "value", "tabIndex", "onFocus", "onBlur"];
|
|
42470
42497
|
|
|
42471
42498
|
const useUtilityClasses$8 = ownerState => {
|
|
42472
42499
|
const {
|
|
@@ -42556,7 +42583,7 @@ const PickersYear = /*#__PURE__*/React__namespace.forwardRef(function PickersYea
|
|
|
42556
42583
|
onFocus = noop$1,
|
|
42557
42584
|
onBlur = noop$1
|
|
42558
42585
|
} = props,
|
|
42559
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
42586
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$M);
|
|
42560
42587
|
|
|
42561
42588
|
const ref = React__namespace.useRef(null);
|
|
42562
42589
|
const refHandle = useForkRef(ref, forwardedRef);
|
|
@@ -42823,7 +42850,7 @@ const defaultReduceAnimations = typeof navigator !== 'undefined' && /(android)/i
|
|
|
42823
42850
|
const getCalendarPickerUtilityClass = slot => generateUtilityClass$1('MuiCalendarPicker', slot);
|
|
42824
42851
|
generateUtilityClasses$1('MuiCalendarPicker', ['root', 'viewTransitionContainer']);
|
|
42825
42852
|
|
|
42826
|
-
const _excluded$
|
|
42853
|
+
const _excluded$L = ["autoFocus", "onViewChange", "date", "disableFuture", "disablePast", "defaultCalendarMonth", "onChange", "onYearChange", "onMonthChange", "reduceAnimations", "shouldDisableDate", "shouldDisableMonth", "shouldDisableYear", "view", "views", "openTo", "className", "disabled", "readOnly", "minDate", "maxDate", "disableHighlightToday", "focusedView", "onFocusedViewChange", "classes"];
|
|
42827
42854
|
|
|
42828
42855
|
const useUtilityClasses$6 = ownerState => {
|
|
42829
42856
|
const {
|
|
@@ -42914,7 +42941,7 @@ const CalendarPicker = /*#__PURE__*/React__namespace.forwardRef(function Calenda
|
|
|
42914
42941
|
focusedView,
|
|
42915
42942
|
onFocusedViewChange
|
|
42916
42943
|
} = props,
|
|
42917
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
42944
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$L);
|
|
42918
42945
|
|
|
42919
42946
|
const {
|
|
42920
42947
|
openView,
|
|
@@ -43472,7 +43499,7 @@ const useMaskedInput = ({
|
|
|
43472
43499
|
}, TextFieldProps);
|
|
43473
43500
|
};
|
|
43474
43501
|
|
|
43475
|
-
const _excluded$
|
|
43502
|
+
const _excluded$K = ["className", "components", "disableOpenPicker", "getOpenDialogAriaText", "InputAdornmentProps", "InputProps", "inputRef", "openPicker", "OpenPickerButtonProps", "renderInput"];
|
|
43476
43503
|
const KeyboardDateInput = /*#__PURE__*/React__namespace.forwardRef(function KeyboardDateInput(props, ref) {
|
|
43477
43504
|
const {
|
|
43478
43505
|
className,
|
|
@@ -43486,7 +43513,7 @@ const KeyboardDateInput = /*#__PURE__*/React__namespace.forwardRef(function Keyb
|
|
|
43486
43513
|
OpenPickerButtonProps,
|
|
43487
43514
|
renderInput
|
|
43488
43515
|
} = props,
|
|
43489
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
43516
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$K);
|
|
43490
43517
|
|
|
43491
43518
|
const localeText = useLocaleText();
|
|
43492
43519
|
const getOpenDialogAriaText = getOpenDialogAriaTextProp != null ? getOpenDialogAriaTextProp : localeText.openDatePickerDialogue;
|
|
@@ -43578,7 +43605,7 @@ function getCalendarOrClockPickerUtilityClass(slot) {
|
|
|
43578
43605
|
}
|
|
43579
43606
|
generateUtilityClasses$1('MuiCalendarOrClockPicker', ['root', 'mobileKeyboardInputView']);
|
|
43580
43607
|
|
|
43581
|
-
const _excluded$
|
|
43608
|
+
const _excluded$J = ["autoFocus", "className", "parsedValue", "DateInputProps", "isMobileKeyboardViewOpen", "onDateChange", "onViewChange", "openTo", "orientation", "showToolbar", "toggleMobileKeyboardView", "ToolbarComponent", "toolbarFormat", "toolbarPlaceholder", "toolbarTitle", "views", "dateRangeIcon", "timeIcon", "hideTabs", "classes"];
|
|
43582
43609
|
|
|
43583
43610
|
const useUtilityClasses$5 = ownerState => {
|
|
43584
43611
|
const {
|
|
@@ -43645,7 +43672,7 @@ function CalendarOrClockPicker(inProps) {
|
|
|
43645
43672
|
timeIcon,
|
|
43646
43673
|
hideTabs
|
|
43647
43674
|
} = props,
|
|
43648
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
43675
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$J);
|
|
43649
43676
|
|
|
43650
43677
|
const TabsComponent = (_other$components = other.components) == null ? void 0 : _other$components.Tabs;
|
|
43651
43678
|
const isLandscape = useIsLandscape(views, orientation);
|
|
@@ -43988,7 +44015,7 @@ const usePickerState = (props, valueManager) => {
|
|
|
43988
44015
|
return pickerState;
|
|
43989
44016
|
};
|
|
43990
44017
|
|
|
43991
|
-
const _excluded$
|
|
44018
|
+
const _excluded$I = ["onChange", "PopperProps", "PaperProps", "ToolbarComponent", "TransitionComponent", "value", "components", "componentsProps"];
|
|
43992
44019
|
|
|
43993
44020
|
/**
|
|
43994
44021
|
*
|
|
@@ -44017,7 +44044,7 @@ const DesktopDatePicker = /*#__PURE__*/React__namespace.forwardRef(function Desk
|
|
|
44017
44044
|
components,
|
|
44018
44045
|
componentsProps
|
|
44019
44046
|
} = props,
|
|
44020
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
44047
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$I);
|
|
44021
44048
|
|
|
44022
44049
|
const AllDateInputProps = _extends$3({}, inputProps, other, {
|
|
44023
44050
|
components,
|
|
@@ -44091,7 +44118,7 @@ const PickersModalDialog = props => {
|
|
|
44091
44118
|
}));
|
|
44092
44119
|
};
|
|
44093
44120
|
|
|
44094
|
-
const _excluded$
|
|
44121
|
+
const _excluded$H = ["children", "DateInputProps", "DialogProps", "onAccept", "onClear", "onDismiss", "onCancel", "onSetToday", "open", "PureDateInputComponent", "components", "componentsProps"];
|
|
44095
44122
|
function MobileWrapper(props) {
|
|
44096
44123
|
const {
|
|
44097
44124
|
children,
|
|
@@ -44107,7 +44134,7 @@ function MobileWrapper(props) {
|
|
|
44107
44134
|
components,
|
|
44108
44135
|
componentsProps
|
|
44109
44136
|
} = props,
|
|
44110
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
44137
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$H);
|
|
44111
44138
|
|
|
44112
44139
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(WrapperVariantContext.Provider, {
|
|
44113
44140
|
value: "mobile",
|
|
@@ -44182,7 +44209,7 @@ const PureDateInput = /*#__PURE__*/React__namespace.forwardRef(function PureDate
|
|
|
44182
44209
|
}, TextFieldProps));
|
|
44183
44210
|
});
|
|
44184
44211
|
|
|
44185
|
-
const _excluded$
|
|
44212
|
+
const _excluded$G = ["ToolbarComponent", "value", "onChange", "components", "componentsProps"];
|
|
44186
44213
|
|
|
44187
44214
|
/**
|
|
44188
44215
|
*
|
|
@@ -44209,7 +44236,7 @@ const MobileDatePicker = /*#__PURE__*/React__namespace.forwardRef(function Mobil
|
|
|
44209
44236
|
components,
|
|
44210
44237
|
componentsProps
|
|
44211
44238
|
} = props,
|
|
44212
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
44239
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$G);
|
|
44213
44240
|
|
|
44214
44241
|
const DateInputProps = _extends$3({}, inputProps, other, {
|
|
44215
44242
|
components,
|
|
@@ -44234,7 +44261,7 @@ const MobileDatePicker = /*#__PURE__*/React__namespace.forwardRef(function Mobil
|
|
|
44234
44261
|
}));
|
|
44235
44262
|
});
|
|
44236
44263
|
|
|
44237
|
-
const _excluded$
|
|
44264
|
+
const _excluded$F = ["desktopModeMediaQuery", "DialogProps", "PopperProps", "TransitionComponent"];
|
|
44238
44265
|
|
|
44239
44266
|
/**
|
|
44240
44267
|
*
|
|
@@ -44259,7 +44286,7 @@ const DatePicker = /*#__PURE__*/React__namespace.forwardRef(function DatePicker(
|
|
|
44259
44286
|
PopperProps,
|
|
44260
44287
|
TransitionComponent
|
|
44261
44288
|
} = props,
|
|
44262
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
44289
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$F); // defaults to `true` in environments where `window.matchMedia` would not be available (i.e. test/jsdom)
|
|
44263
44290
|
|
|
44264
44291
|
|
|
44265
44292
|
const isDesktop = useMediaQuery(desktopModeMediaQuery, {
|
|
@@ -45614,7 +45641,7 @@ var defaultErrorMessages = {
|
|
|
45614
45641
|
isAlphanumeric: 'Only letters and numbers are allowed'
|
|
45615
45642
|
};
|
|
45616
45643
|
|
|
45617
|
-
var _excluded$
|
|
45644
|
+
var _excluded$E = ["variant", "error", "customErrorMessages", "validators", "requiredError", "helperText", "validatorListener", "withRequiredValidator", "onBlur", "maxLength", "counter", "counterClassName", "readOnly", "label", "InputProps", "InputLabelProps", "showLabelHelp", "InputLabelHelpProps", "select", "id", "SelectProps", "options", "children"];
|
|
45618
45645
|
|
|
45619
45646
|
// TODO - research how to use theme
|
|
45620
45647
|
var styles = {
|
|
@@ -45695,7 +45722,8 @@ var UTextField = /*#__PURE__*/function (_ValidatorComponent) {
|
|
|
45695
45722
|
var _this2 = this;
|
|
45696
45723
|
/* eslint-disable no-unused-vars */
|
|
45697
45724
|
var _this$props = this.props,
|
|
45698
|
-
variant = _this$props.variant,
|
|
45725
|
+
_this$props$variant = _this$props.variant,
|
|
45726
|
+
variant = _this$props$variant === void 0 ? 'outlined' : _this$props$variant,
|
|
45699
45727
|
error = _this$props.error;
|
|
45700
45728
|
_this$props.customErrorMessages;
|
|
45701
45729
|
_this$props.validators;
|
|
@@ -45707,18 +45735,23 @@ var UTextField = /*#__PURE__*/function (_ValidatorComponent) {
|
|
|
45707
45735
|
var maxLength = _this$props.maxLength,
|
|
45708
45736
|
counter = _this$props.counter;
|
|
45709
45737
|
_this$props.counterClassName;
|
|
45710
|
-
var readOnly = _this$props.readOnly,
|
|
45738
|
+
var _this$props$readOnly = _this$props.readOnly,
|
|
45739
|
+
readOnly = _this$props$readOnly === void 0 ? false : _this$props$readOnly,
|
|
45711
45740
|
label = _this$props.label,
|
|
45712
45741
|
InputProps = _this$props.InputProps,
|
|
45713
45742
|
InputLabelProps = _this$props.InputLabelProps,
|
|
45714
|
-
|
|
45715
|
-
|
|
45716
|
-
|
|
45743
|
+
_this$props$showLabel = _this$props.showLabelHelp,
|
|
45744
|
+
showLabelHelp = _this$props$showLabel === void 0 ? false : _this$props$showLabel,
|
|
45745
|
+
_this$props$InputLabe = _this$props.InputLabelHelpProps,
|
|
45746
|
+
InputLabelHelpProps = _this$props$InputLabe === void 0 ? {} : _this$props$InputLabe,
|
|
45747
|
+
_this$props$select = _this$props.select,
|
|
45748
|
+
select = _this$props$select === void 0 ? false : _this$props$select,
|
|
45717
45749
|
id = _this$props.id,
|
|
45718
|
-
|
|
45750
|
+
_this$props$SelectPro = _this$props.SelectProps,
|
|
45751
|
+
SelectProps = _this$props$SelectPro === void 0 ? {} : _this$props$SelectPro,
|
|
45719
45752
|
options = _this$props.options,
|
|
45720
45753
|
children = _this$props.children,
|
|
45721
|
-
rest = _objectWithoutProperties$2(_this$props, _excluded$
|
|
45754
|
+
rest = _objectWithoutProperties$2(_this$props, _excluded$E);
|
|
45722
45755
|
var _this$state = this.state,
|
|
45723
45756
|
isValid = _this$state.isValid,
|
|
45724
45757
|
isSelectOpen = _this$state.isSelectOpen;
|
|
@@ -45792,7 +45825,7 @@ UTextField.propTypes = {
|
|
|
45792
45825
|
*
|
|
45793
45826
|
* Ex: `customErrorMessages={{required: 'This field is required'}`
|
|
45794
45827
|
*/
|
|
45795
|
-
customErrorMessages: PropTypes.object,
|
|
45828
|
+
customErrorMessages: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
45796
45829
|
/** Name of input. */
|
|
45797
45830
|
name: PropTypes.string,
|
|
45798
45831
|
/** It triggers after each validation.It will return true or false. */
|
|
@@ -45802,10 +45835,10 @@ UTextField.propTypes = {
|
|
|
45802
45835
|
/** To make textfield to be select. See below examples section for select example and sample code */
|
|
45803
45836
|
select: PropTypes.bool,
|
|
45804
45837
|
/** Select options if the textfield is select */
|
|
45805
|
-
options: PropTypes.shape({
|
|
45838
|
+
options: PropTypes.arrayOf(PropTypes.shape({
|
|
45806
45839
|
value: PropTypes.any,
|
|
45807
45840
|
label: PropTypes.string
|
|
45808
|
-
}),
|
|
45841
|
+
})),
|
|
45809
45842
|
/** To enable character counter */
|
|
45810
45843
|
counter: PropTypes.bool,
|
|
45811
45844
|
/** Maximum length of characters */
|
|
@@ -45825,18 +45858,8 @@ UTextField.propTypes = {
|
|
|
45825
45858
|
/** If the field is select box and no options are passed, then this children will be used. */
|
|
45826
45859
|
children: PropTypes.node
|
|
45827
45860
|
};
|
|
45828
|
-
UTextField.defaultProps = {
|
|
45829
|
-
variant: 'outlined',
|
|
45830
|
-
readOnly: false,
|
|
45831
|
-
validatorListener: function validatorListener() {},
|
|
45832
|
-
withRequiredValidator: true,
|
|
45833
|
-
showLabelHelp: false,
|
|
45834
|
-
InputLabelHelpProps: {},
|
|
45835
|
-
select: false,
|
|
45836
|
-
SelectProps: {}
|
|
45837
|
-
};
|
|
45838
45861
|
|
|
45839
|
-
var _excluded$
|
|
45862
|
+
var _excluded$D = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
45840
45863
|
|
|
45841
45864
|
/**
|
|
45842
45865
|
* UDatePicker is a customized material ui Date picker.
|
|
@@ -45845,15 +45868,20 @@ var _excluded$C = ["inputFormat", "label", "onChange", "value", "showLabelHelp",
|
|
|
45845
45868
|
* Please have look at [Material UI Date Picker](https://mui.com/x/react-date-pickers/date-picker/#main-content) for more details
|
|
45846
45869
|
*/
|
|
45847
45870
|
function UDatePicker(_ref) {
|
|
45848
|
-
var inputFormat = _ref.inputFormat,
|
|
45871
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
45872
|
+
inputFormat = _ref$inputFormat === void 0 ? 'dd/MM/yyyy' : _ref$inputFormat,
|
|
45849
45873
|
label = _ref.label,
|
|
45850
45874
|
onChange = _ref.onChange,
|
|
45851
45875
|
value = _ref.value,
|
|
45852
45876
|
showLabelHelp = _ref.showLabelHelp,
|
|
45853
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
45877
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
45878
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
45879
|
+
shrink: true
|
|
45880
|
+
} : _ref$InputLabelProps,
|
|
45854
45881
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
45855
|
-
inputVariant = _ref.inputVariant,
|
|
45856
|
-
|
|
45882
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
45883
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
45884
|
+
others = _objectWithoutProperties$2(_ref, _excluded$D);
|
|
45857
45885
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
45858
45886
|
dateAdapter: AdapterDateFns
|
|
45859
45887
|
}, /*#__PURE__*/React$1.createElement(DatePicker, _extends$1({
|
|
@@ -45890,31 +45918,30 @@ UDatePicker.propTypes = {
|
|
|
45890
45918
|
/** Props applied to the InputLabel element.*/
|
|
45891
45919
|
InputLabelProps: PropTypes.object
|
|
45892
45920
|
};
|
|
45893
|
-
UDatePicker.defaultProps = {
|
|
45894
|
-
inputVariant: 'outlined',
|
|
45895
|
-
InputLabelProps: {
|
|
45896
|
-
shrink: true
|
|
45897
|
-
},
|
|
45898
|
-
inputFormat: 'dd/MM/yyyy'
|
|
45899
|
-
};
|
|
45900
45921
|
|
|
45901
|
-
var _excluded$
|
|
45922
|
+
var _excluded$C = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
45902
45923
|
|
|
45903
45924
|
/**
|
|
45904
45925
|
* UDesktopDatePicker is a customized material UI Desktop Date Picker.
|
|
45905
45926
|
* This component let's you access the calender to select particular dates.
|
|
45906
45927
|
* Please have look at [Material UI Desktop Date Picker](https://mui.com/x/api/date-pickers/desktop-date-picker/) for more details
|
|
45907
45928
|
*/
|
|
45929
|
+
|
|
45908
45930
|
function UDesktopDatePicker(_ref) {
|
|
45909
|
-
var inputFormat = _ref.inputFormat,
|
|
45931
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
45932
|
+
inputFormat = _ref$inputFormat === void 0 ? 'dd/MM/yyyy' : _ref$inputFormat,
|
|
45910
45933
|
label = _ref.label,
|
|
45911
45934
|
onChange = _ref.onChange,
|
|
45912
45935
|
value = _ref.value,
|
|
45913
45936
|
showLabelHelp = _ref.showLabelHelp,
|
|
45914
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
45937
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
45938
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
45939
|
+
shrink: true
|
|
45940
|
+
} : _ref$InputLabelProps,
|
|
45915
45941
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
45916
|
-
inputVariant = _ref.inputVariant,
|
|
45917
|
-
|
|
45942
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
45943
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
45944
|
+
others = _objectWithoutProperties$2(_ref, _excluded$C);
|
|
45918
45945
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
45919
45946
|
dateAdapter: AdapterDateFns
|
|
45920
45947
|
}, /*#__PURE__*/React$1.createElement(DesktopDatePicker, _extends$1({
|
|
@@ -45951,15 +45978,8 @@ UDesktopDatePicker.propTypes = {
|
|
|
45951
45978
|
/** Props applied to the InputLabel element.*/
|
|
45952
45979
|
InputLabelProps: PropTypes.object
|
|
45953
45980
|
};
|
|
45954
|
-
UDesktopDatePicker.defaultProps = {
|
|
45955
|
-
inputVariant: 'outlined',
|
|
45956
|
-
InputLabelProps: {
|
|
45957
|
-
shrink: true
|
|
45958
|
-
},
|
|
45959
|
-
inputFormat: 'dd/MM/yyyy'
|
|
45960
|
-
};
|
|
45961
45981
|
|
|
45962
|
-
var _excluded$
|
|
45982
|
+
var _excluded$B = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
45963
45983
|
|
|
45964
45984
|
/**
|
|
45965
45985
|
* UMobileDatePicker is a customized material UI Mobile Date Picker.
|
|
@@ -45967,15 +45987,20 @@ var _excluded$A = ["inputFormat", "label", "onChange", "value", "showLabelHelp",
|
|
|
45967
45987
|
* Please have look at [Material UI Mobile Date Picker](https://mui.com/x/api/date-pickers/mobile-date-picker/) for more details
|
|
45968
45988
|
*/
|
|
45969
45989
|
function UMobileDatePicker(_ref) {
|
|
45970
|
-
var inputFormat = _ref.inputFormat,
|
|
45990
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
45991
|
+
inputFormat = _ref$inputFormat === void 0 ? 'dd/MM/yyyy' : _ref$inputFormat,
|
|
45971
45992
|
label = _ref.label,
|
|
45972
45993
|
onChange = _ref.onChange,
|
|
45973
45994
|
value = _ref.value,
|
|
45974
45995
|
showLabelHelp = _ref.showLabelHelp,
|
|
45975
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
45996
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
45997
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
45998
|
+
shrink: true
|
|
45999
|
+
} : _ref$InputLabelProps,
|
|
45976
46000
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
45977
|
-
inputVariant = _ref.inputVariant,
|
|
45978
|
-
|
|
46001
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
46002
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
46003
|
+
others = _objectWithoutProperties$2(_ref, _excluded$B);
|
|
45979
46004
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
45980
46005
|
dateAdapter: AdapterDateFns
|
|
45981
46006
|
}, /*#__PURE__*/React$1.createElement(MobileDatePicker, _extends$1({
|
|
@@ -46012,13 +46037,6 @@ UMobileDatePicker.propTypes = {
|
|
|
46012
46037
|
/** Props applied to the InputLabel element.*/
|
|
46013
46038
|
InputLabelProps: PropTypes.object
|
|
46014
46039
|
};
|
|
46015
|
-
UMobileDatePicker.defaultProps = {
|
|
46016
|
-
inputVariant: 'outlined',
|
|
46017
|
-
InputLabelProps: {
|
|
46018
|
-
shrink: true
|
|
46019
|
-
},
|
|
46020
|
-
inputFormat: 'dd/MM/yyyy'
|
|
46021
|
-
};
|
|
46022
46040
|
|
|
46023
46041
|
function useTimePickerDefaultizedProps(props, name) {
|
|
46024
46042
|
var _themeProps$ampm;
|
|
@@ -46068,7 +46086,7 @@ function getPickersToolbarTextUtilityClass(slot) {
|
|
|
46068
46086
|
|
|
46069
46087
|
const pickersToolbarTextClasses = generateUtilityClasses$1('PrivatePickersToolbarText', ['root', 'selected']);
|
|
46070
46088
|
|
|
46071
|
-
const _excluded$
|
|
46089
|
+
const _excluded$A = ["className", "selected", "value"];
|
|
46072
46090
|
|
|
46073
46091
|
const useUtilityClasses$4 = ownerState => {
|
|
46074
46092
|
const {
|
|
@@ -46102,7 +46120,7 @@ const PickersToolbarText = /*#__PURE__*/React__namespace.forwardRef(function Pic
|
|
|
46102
46120
|
className,
|
|
46103
46121
|
value
|
|
46104
46122
|
} = props,
|
|
46105
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
46123
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$A);
|
|
46106
46124
|
|
|
46107
46125
|
const classes = useUtilityClasses$4(props);
|
|
46108
46126
|
return /*#__PURE__*/jsxRuntimeExports.jsx(PickersToolbarTextRoot, _extends$3({
|
|
@@ -46114,7 +46132,7 @@ const PickersToolbarText = /*#__PURE__*/React__namespace.forwardRef(function Pic
|
|
|
46114
46132
|
}));
|
|
46115
46133
|
});
|
|
46116
46134
|
|
|
46117
|
-
const _excluded$
|
|
46135
|
+
const _excluded$z = ["align", "className", "selected", "typographyClassName", "value", "variant"];
|
|
46118
46136
|
|
|
46119
46137
|
const useUtilityClasses$3 = ownerState => {
|
|
46120
46138
|
const {
|
|
@@ -46149,7 +46167,7 @@ const PickersToolbarButton = /*#__PURE__*/React__namespace.forwardRef(function P
|
|
|
46149
46167
|
value,
|
|
46150
46168
|
variant
|
|
46151
46169
|
} = props,
|
|
46152
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
46170
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$z);
|
|
46153
46171
|
|
|
46154
46172
|
const classes = useUtilityClasses$3(props);
|
|
46155
46173
|
return /*#__PURE__*/jsxRuntimeExports.jsx(PickersToolbarButtonRoot, _extends$3({
|
|
@@ -46172,7 +46190,7 @@ function getTimePickerToolbarUtilityClass(slot) {
|
|
|
46172
46190
|
}
|
|
46173
46191
|
const timePickerToolbarClasses = generateUtilityClasses$1('MuiTimePickerToolbar', ['root', 'separator', 'hourMinuteLabel', 'hourMinuteLabelLandscape', 'hourMinuteLabelReverse', 'ampmSelection', 'ampmLandscape', 'ampmLabel']);
|
|
46174
46192
|
|
|
46175
|
-
const _excluded$
|
|
46193
|
+
const _excluded$y = ["ampm", "ampmInClock", "parsedValue", "isLandscape", "isMobileKeyboardViewOpen", "onChange", "openView", "setOpenView", "toggleMobileKeyboardView", "toolbarTitle", "views", "disabled", "readOnly"];
|
|
46176
46194
|
|
|
46177
46195
|
const useUtilityClasses$2 = ownerState => {
|
|
46178
46196
|
const {
|
|
@@ -46277,7 +46295,7 @@ function TimePickerToolbar(inProps) {
|
|
|
46277
46295
|
disabled,
|
|
46278
46296
|
readOnly
|
|
46279
46297
|
} = props,
|
|
46280
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
46298
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$y);
|
|
46281
46299
|
|
|
46282
46300
|
const utils = useUtils();
|
|
46283
46301
|
const localeText = useLocaleText();
|
|
@@ -46409,7 +46427,7 @@ const isSameTimeError = (a, b) => a === b;
|
|
|
46409
46427
|
|
|
46410
46428
|
const useTimeValidation = props => useValidation(props, validateTime, isSameTimeError);
|
|
46411
46429
|
|
|
46412
|
-
const _excluded$
|
|
46430
|
+
const _excluded$x = ["onChange", "PaperProps", "PopperProps", "ToolbarComponent", "TransitionComponent", "value", "components", "componentsProps"];
|
|
46413
46431
|
|
|
46414
46432
|
/**
|
|
46415
46433
|
*
|
|
@@ -46438,7 +46456,7 @@ const DesktopTimePicker = /*#__PURE__*/React__namespace.forwardRef(function Desk
|
|
|
46438
46456
|
components,
|
|
46439
46457
|
componentsProps
|
|
46440
46458
|
} = props,
|
|
46441
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
46459
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$x);
|
|
46442
46460
|
|
|
46443
46461
|
const DateInputProps = _extends$3({}, inputProps, other, {
|
|
46444
46462
|
components,
|
|
@@ -46466,7 +46484,7 @@ const DesktopTimePicker = /*#__PURE__*/React__namespace.forwardRef(function Desk
|
|
|
46466
46484
|
}));
|
|
46467
46485
|
});
|
|
46468
46486
|
|
|
46469
|
-
const _excluded$
|
|
46487
|
+
const _excluded$w = ["ToolbarComponent", "value", "onChange", "components", "componentsProps"];
|
|
46470
46488
|
|
|
46471
46489
|
/**
|
|
46472
46490
|
*
|
|
@@ -46493,7 +46511,7 @@ const MobileTimePicker = /*#__PURE__*/React__namespace.forwardRef(function Mobil
|
|
|
46493
46511
|
components,
|
|
46494
46512
|
componentsProps
|
|
46495
46513
|
} = props,
|
|
46496
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
46514
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$w);
|
|
46497
46515
|
|
|
46498
46516
|
const DateInputProps = _extends$3({}, inputProps, other, {
|
|
46499
46517
|
components,
|
|
@@ -46518,7 +46536,7 @@ const MobileTimePicker = /*#__PURE__*/React__namespace.forwardRef(function Mobil
|
|
|
46518
46536
|
}));
|
|
46519
46537
|
});
|
|
46520
46538
|
|
|
46521
|
-
const _excluded$
|
|
46539
|
+
const _excluded$v = ["desktopModeMediaQuery", "DialogProps", "PopperProps", "TransitionComponent"];
|
|
46522
46540
|
|
|
46523
46541
|
/**
|
|
46524
46542
|
*
|
|
@@ -46543,7 +46561,7 @@ const TimePicker = /*#__PURE__*/React__namespace.forwardRef(function TimePicker(
|
|
|
46543
46561
|
PopperProps,
|
|
46544
46562
|
TransitionComponent
|
|
46545
46563
|
} = props,
|
|
46546
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
46564
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$v); // defaults to `true` in environments where `window.matchMedia` would not be available (i.e. test/jsdom)
|
|
46547
46565
|
|
|
46548
46566
|
|
|
46549
46567
|
const isDesktop = useMediaQuery(desktopModeMediaQuery, {
|
|
@@ -46564,7 +46582,7 @@ const TimePicker = /*#__PURE__*/React__namespace.forwardRef(function TimePicker(
|
|
|
46564
46582
|
}, other));
|
|
46565
46583
|
});
|
|
46566
46584
|
|
|
46567
|
-
var _excluded$
|
|
46585
|
+
var _excluded$u = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
46568
46586
|
|
|
46569
46587
|
/**
|
|
46570
46588
|
* UTimePicker is a customized material ui TimePicker.
|
|
@@ -46573,15 +46591,20 @@ var _excluded$t = ["inputFormat", "label", "onChange", "value", "showLabelHelp",
|
|
|
46573
46591
|
* Please have look at [Material Ui TimePicker](https://mui.com/x/api/date-pickers/time-picker/#main-content) for more details
|
|
46574
46592
|
*/
|
|
46575
46593
|
function UTimePicker(_ref) {
|
|
46576
|
-
var inputFormat = _ref.inputFormat,
|
|
46594
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
46595
|
+
inputFormat = _ref$inputFormat === void 0 ? 'hh:mm a' : _ref$inputFormat,
|
|
46577
46596
|
label = _ref.label,
|
|
46578
46597
|
onChange = _ref.onChange,
|
|
46579
46598
|
value = _ref.value,
|
|
46580
46599
|
showLabelHelp = _ref.showLabelHelp,
|
|
46581
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
46600
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
46601
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
46602
|
+
shrink: true
|
|
46603
|
+
} : _ref$InputLabelProps,
|
|
46582
46604
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
46583
|
-
inputVariant = _ref.inputVariant,
|
|
46584
|
-
|
|
46605
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
46606
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
46607
|
+
others = _objectWithoutProperties$2(_ref, _excluded$u);
|
|
46585
46608
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
46586
46609
|
dateAdapter: AdapterDateFns
|
|
46587
46610
|
}, /*#__PURE__*/React$1.createElement(TimePicker, _extends$1({
|
|
@@ -46618,31 +46641,30 @@ UTimePicker.propTypes = {
|
|
|
46618
46641
|
/** Props applied to the InputLabel element.*/
|
|
46619
46642
|
InputLabelProps: PropTypes.object
|
|
46620
46643
|
};
|
|
46621
|
-
UTimePicker.defaultProps = {
|
|
46622
|
-
inputVariant: 'outlined',
|
|
46623
|
-
InputLabelProps: {
|
|
46624
|
-
shrink: true
|
|
46625
|
-
},
|
|
46626
|
-
inputFormat: 'hh:mm a'
|
|
46627
|
-
};
|
|
46628
46644
|
|
|
46629
|
-
var _excluded$
|
|
46645
|
+
var _excluded$t = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
46630
46646
|
|
|
46631
46647
|
/**
|
|
46632
46648
|
* UDesktopTimePicker is a customized material UI Desktop Time Picker.
|
|
46633
46649
|
* This component let's you access the calender to select particular dates.
|
|
46634
46650
|
* Please have look at [Material UI Desktop Time Picker](https://mui.com/x/api/date-pickers/desktop-time-picker/) for more details
|
|
46635
46651
|
*/
|
|
46652
|
+
|
|
46636
46653
|
function UDesktopTimePicker(_ref) {
|
|
46637
|
-
var inputFormat = _ref.inputFormat,
|
|
46654
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
46655
|
+
inputFormat = _ref$inputFormat === void 0 ? 'hh:mm a' : _ref$inputFormat,
|
|
46638
46656
|
label = _ref.label,
|
|
46639
46657
|
onChange = _ref.onChange,
|
|
46640
46658
|
value = _ref.value,
|
|
46641
46659
|
showLabelHelp = _ref.showLabelHelp,
|
|
46642
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
46660
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
46661
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
46662
|
+
shrink: true
|
|
46663
|
+
} : _ref$InputLabelProps,
|
|
46643
46664
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
46644
|
-
inputVariant = _ref.inputVariant,
|
|
46645
|
-
|
|
46665
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
46666
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
46667
|
+
others = _objectWithoutProperties$2(_ref, _excluded$t);
|
|
46646
46668
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
46647
46669
|
dateAdapter: AdapterDateFns
|
|
46648
46670
|
}, /*#__PURE__*/React$1.createElement(DesktopTimePicker, _extends$1({
|
|
@@ -46679,15 +46701,8 @@ UDesktopTimePicker.propTypes = {
|
|
|
46679
46701
|
/** Props applied to the InputLabel element.*/
|
|
46680
46702
|
InputLabelProps: PropTypes.object
|
|
46681
46703
|
};
|
|
46682
|
-
UDesktopTimePicker.defaultProps = {
|
|
46683
|
-
inputVariant: 'outlined',
|
|
46684
|
-
InputLabelProps: {
|
|
46685
|
-
shrink: true
|
|
46686
|
-
},
|
|
46687
|
-
inputFormat: 'hh:mm a'
|
|
46688
|
-
};
|
|
46689
46704
|
|
|
46690
|
-
var _excluded$
|
|
46705
|
+
var _excluded$s = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
46691
46706
|
|
|
46692
46707
|
/**
|
|
46693
46708
|
* UMobileTimePicker is a customized material UI Mobile Time Picker.
|
|
@@ -46695,15 +46710,20 @@ var _excluded$r = ["inputFormat", "label", "onChange", "value", "showLabelHelp",
|
|
|
46695
46710
|
* Please have look at [Material UI Mobile Time Picker](https://mui.com/x/api/date-pickers/mobile-time-picker/) for more details
|
|
46696
46711
|
*/
|
|
46697
46712
|
function UMobileTimePicker(_ref) {
|
|
46698
|
-
var inputFormat = _ref.inputFormat,
|
|
46713
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
46714
|
+
inputFormat = _ref$inputFormat === void 0 ? 'hh:mm a' : _ref$inputFormat,
|
|
46699
46715
|
label = _ref.label,
|
|
46700
46716
|
onChange = _ref.onChange,
|
|
46701
46717
|
value = _ref.value,
|
|
46702
46718
|
showLabelHelp = _ref.showLabelHelp,
|
|
46703
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
46719
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
46720
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
46721
|
+
shrink: true
|
|
46722
|
+
} : _ref$InputLabelProps,
|
|
46704
46723
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
46705
|
-
inputVariant = _ref.inputVariant,
|
|
46706
|
-
|
|
46724
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
46725
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
46726
|
+
others = _objectWithoutProperties$2(_ref, _excluded$s);
|
|
46707
46727
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
46708
46728
|
dateAdapter: AdapterDateFns
|
|
46709
46729
|
}, /*#__PURE__*/React$1.createElement(MobileTimePicker, _extends$1({
|
|
@@ -46740,13 +46760,6 @@ UMobileTimePicker.propTypes = {
|
|
|
46740
46760
|
/** Props applied to the InputLabel element.*/
|
|
46741
46761
|
InputLabelProps: PropTypes.object
|
|
46742
46762
|
};
|
|
46743
|
-
UMobileTimePicker.defaultProps = {
|
|
46744
|
-
inputVariant: 'outlined',
|
|
46745
|
-
InputLabelProps: {
|
|
46746
|
-
shrink: true
|
|
46747
|
-
},
|
|
46748
|
-
inputFormat: 'hh:mm a'
|
|
46749
|
-
};
|
|
46750
46763
|
|
|
46751
46764
|
function useDateTimePickerDefaultizedProps(props, name) {
|
|
46752
46765
|
var _themeProps$ampm, _themeProps$minDateTi, _themeProps$maxDateTi, _themeProps$minDateTi2, _themeProps$maxDateTi2;
|
|
@@ -46807,7 +46820,7 @@ function getDateTimePickerToolbarUtilityClass(slot) {
|
|
|
46807
46820
|
}
|
|
46808
46821
|
generateUtilityClasses$1('MuiDateTimePickerToolbar', ['root', 'dateContainer', 'timeContainer', 'separator']);
|
|
46809
46822
|
|
|
46810
|
-
const _excluded$
|
|
46823
|
+
const _excluded$r = ["ampm", "parsedValue", "isMobileKeyboardViewOpen", "onChange", "openView", "setOpenView", "toggleMobileKeyboardView", "toolbarFormat", "toolbarPlaceholder", "toolbarTitle", "views"];
|
|
46811
46824
|
|
|
46812
46825
|
const useUtilityClasses$1 = ownerState => {
|
|
46813
46826
|
const {
|
|
@@ -46888,7 +46901,7 @@ function DateTimePickerToolbar(inProps) {
|
|
|
46888
46901
|
toolbarTitle: toolbarTitleProp,
|
|
46889
46902
|
views
|
|
46890
46903
|
} = props,
|
|
46891
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
46904
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$r);
|
|
46892
46905
|
|
|
46893
46906
|
const ownerState = props;
|
|
46894
46907
|
const utils = useUtils();
|
|
@@ -46971,7 +46984,7 @@ function DateTimePickerToolbar(inProps) {
|
|
|
46971
46984
|
}));
|
|
46972
46985
|
}
|
|
46973
46986
|
|
|
46974
|
-
const _excluded$
|
|
46987
|
+
const _excluded$q = ["minDate", "maxDate", "disableFuture", "shouldDisableDate", "disablePast"];
|
|
46975
46988
|
const validateDateTime = ({
|
|
46976
46989
|
props,
|
|
46977
46990
|
value,
|
|
@@ -46984,7 +46997,7 @@ const validateDateTime = ({
|
|
|
46984
46997
|
shouldDisableDate,
|
|
46985
46998
|
disablePast
|
|
46986
46999
|
} = props,
|
|
46987
|
-
timeValidationProps = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
47000
|
+
timeValidationProps = _objectWithoutPropertiesLoose$1(props, _excluded$q);
|
|
46988
47001
|
|
|
46989
47002
|
const dateValidationResult = validateDate({
|
|
46990
47003
|
adapter,
|
|
@@ -47110,7 +47123,7 @@ const DateTimePickerTabs = function DateTimePickerTabs(inProps) {
|
|
|
47110
47123
|
});
|
|
47111
47124
|
};
|
|
47112
47125
|
|
|
47113
|
-
const _excluded$
|
|
47126
|
+
const _excluded$p = ["onChange", "PaperProps", "PopperProps", "ToolbarComponent", "TransitionComponent", "value", "components", "componentsProps", "hideTabs"];
|
|
47114
47127
|
|
|
47115
47128
|
/**
|
|
47116
47129
|
*
|
|
@@ -47140,7 +47153,7 @@ const DesktopDateTimePicker = /*#__PURE__*/React__namespace.forwardRef(function
|
|
|
47140
47153
|
componentsProps,
|
|
47141
47154
|
hideTabs = true
|
|
47142
47155
|
} = props,
|
|
47143
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
47156
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$p);
|
|
47144
47157
|
|
|
47145
47158
|
const components = React__namespace.useMemo(() => _extends$3({
|
|
47146
47159
|
Tabs: DateTimePickerTabs
|
|
@@ -47173,7 +47186,7 @@ const DesktopDateTimePicker = /*#__PURE__*/React__namespace.forwardRef(function
|
|
|
47173
47186
|
}));
|
|
47174
47187
|
});
|
|
47175
47188
|
|
|
47176
|
-
const _excluded$
|
|
47189
|
+
const _excluded$o = ["ToolbarComponent", "value", "onChange", "components", "componentsProps", "hideTabs"];
|
|
47177
47190
|
|
|
47178
47191
|
/**
|
|
47179
47192
|
*
|
|
@@ -47201,7 +47214,7 @@ const MobileDateTimePicker = /*#__PURE__*/React__namespace.forwardRef(function M
|
|
|
47201
47214
|
componentsProps,
|
|
47202
47215
|
hideTabs = false
|
|
47203
47216
|
} = props,
|
|
47204
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
47217
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$o);
|
|
47205
47218
|
|
|
47206
47219
|
const components = React__namespace.useMemo(() => _extends$3({
|
|
47207
47220
|
Tabs: DateTimePickerTabs
|
|
@@ -47231,7 +47244,7 @@ const MobileDateTimePicker = /*#__PURE__*/React__namespace.forwardRef(function M
|
|
|
47231
47244
|
}));
|
|
47232
47245
|
});
|
|
47233
47246
|
|
|
47234
|
-
const _excluded$
|
|
47247
|
+
const _excluded$n = ["desktopModeMediaQuery", "DialogProps", "PopperProps", "TransitionComponent"];
|
|
47235
47248
|
|
|
47236
47249
|
/**
|
|
47237
47250
|
*
|
|
@@ -47256,7 +47269,7 @@ const DateTimePicker = /*#__PURE__*/React__namespace.forwardRef(function DateTim
|
|
|
47256
47269
|
PopperProps,
|
|
47257
47270
|
TransitionComponent
|
|
47258
47271
|
} = props,
|
|
47259
|
-
other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
47272
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$n); // defaults to `true` in environments where `window.matchMedia` would not be available (i.e. test/jsdom)
|
|
47260
47273
|
|
|
47261
47274
|
|
|
47262
47275
|
const isDesktop = useMediaQuery(desktopModeMediaQuery, {
|
|
@@ -47277,23 +47290,29 @@ const DateTimePicker = /*#__PURE__*/React__namespace.forwardRef(function DateTim
|
|
|
47277
47290
|
}, other));
|
|
47278
47291
|
});
|
|
47279
47292
|
|
|
47280
|
-
var _excluded$
|
|
47293
|
+
var _excluded$m = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
47281
47294
|
|
|
47282
47295
|
/**
|
|
47283
47296
|
* UDateTimePicker is a customized material UI Date Time Picker.
|
|
47284
47297
|
* This component let's you access the calender and clock to select the date and time.
|
|
47285
47298
|
* Please have look at [Material UI Date Time Picker](https://mui.com/x/api/date-pickers/date-time-picker/) for more details
|
|
47286
47299
|
*/
|
|
47300
|
+
|
|
47287
47301
|
function UDateTimePicker(_ref) {
|
|
47288
|
-
var inputFormat = _ref.inputFormat,
|
|
47302
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
47303
|
+
inputFormat = _ref$inputFormat === void 0 ? 'dd/MM/yyyy hh:mm a' : _ref$inputFormat,
|
|
47289
47304
|
label = _ref.label,
|
|
47290
47305
|
onChange = _ref.onChange,
|
|
47291
47306
|
value = _ref.value,
|
|
47292
47307
|
showLabelHelp = _ref.showLabelHelp,
|
|
47293
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
47308
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
47309
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
47310
|
+
shrink: true
|
|
47311
|
+
} : _ref$InputLabelProps,
|
|
47294
47312
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
47295
|
-
inputVariant = _ref.inputVariant,
|
|
47296
|
-
|
|
47313
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
47314
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
47315
|
+
others = _objectWithoutProperties$2(_ref, _excluded$m);
|
|
47297
47316
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
47298
47317
|
dateAdapter: AdapterDateFns
|
|
47299
47318
|
}, /*#__PURE__*/React$1.createElement(DateTimePicker, _extends$1({
|
|
@@ -47318,7 +47337,7 @@ UDateTimePicker.propTypes = {
|
|
|
47318
47337
|
/** Callback function when change the picker field */
|
|
47319
47338
|
onChange: PropTypes.func.isRequired,
|
|
47320
47339
|
/** Value of the picker field */
|
|
47321
|
-
value: PropTypes.string,
|
|
47340
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
47322
47341
|
/** Material ui textfield variant */
|
|
47323
47342
|
inputVariant: PropTypes.string,
|
|
47324
47343
|
/** Label text */
|
|
@@ -47330,15 +47349,8 @@ UDateTimePicker.propTypes = {
|
|
|
47330
47349
|
/** Props applied to the InputLabel element.*/
|
|
47331
47350
|
InputLabelProps: PropTypes.object
|
|
47332
47351
|
};
|
|
47333
|
-
UDateTimePicker.defaultProps = {
|
|
47334
|
-
inputVariant: 'outlined',
|
|
47335
|
-
InputLabelProps: {
|
|
47336
|
-
shrink: true
|
|
47337
|
-
},
|
|
47338
|
-
inputFormat: 'dd/MM/yyyy hh:mm a'
|
|
47339
|
-
};
|
|
47340
47352
|
|
|
47341
|
-
var _excluded$
|
|
47353
|
+
var _excluded$l = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
47342
47354
|
|
|
47343
47355
|
/**
|
|
47344
47356
|
* UDesktopDateTimePicker is a customized material UI Date Time Picker.
|
|
@@ -47346,15 +47358,20 @@ var _excluded$k = ["inputFormat", "label", "onChange", "value", "showLabelHelp",
|
|
|
47346
47358
|
* Please have look at [Material UI Date Time Picker](https://mui.com/x/api/date-pickers/date-time-picker/) for more details
|
|
47347
47359
|
*/
|
|
47348
47360
|
function UDesktopDateTimePicker(_ref) {
|
|
47349
|
-
var inputFormat = _ref.inputFormat,
|
|
47361
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
47362
|
+
inputFormat = _ref$inputFormat === void 0 ? 'dd/MM/yyyy hh:mm a' : _ref$inputFormat,
|
|
47350
47363
|
label = _ref.label,
|
|
47351
47364
|
onChange = _ref.onChange,
|
|
47352
47365
|
value = _ref.value,
|
|
47353
47366
|
showLabelHelp = _ref.showLabelHelp,
|
|
47354
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
47367
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
47368
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
47369
|
+
shrink: true
|
|
47370
|
+
} : _ref$InputLabelProps,
|
|
47355
47371
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
47356
|
-
inputVariant = _ref.inputVariant,
|
|
47357
|
-
|
|
47372
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
47373
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
47374
|
+
others = _objectWithoutProperties$2(_ref, _excluded$l);
|
|
47358
47375
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
47359
47376
|
dateAdapter: AdapterDateFns
|
|
47360
47377
|
}, /*#__PURE__*/React$1.createElement(DesktopDateTimePicker, _extends$1({
|
|
@@ -47391,15 +47408,8 @@ UDesktopDateTimePicker.propTypes = {
|
|
|
47391
47408
|
/** Props applied to the InputLabel element.*/
|
|
47392
47409
|
InputLabelProps: PropTypes.object
|
|
47393
47410
|
};
|
|
47394
|
-
UDesktopDateTimePicker.defaultProps = {
|
|
47395
|
-
inputVariant: 'outlined',
|
|
47396
|
-
InputLabelProps: {
|
|
47397
|
-
shrink: true
|
|
47398
|
-
},
|
|
47399
|
-
inputFormat: 'dd/MM/yyyy hh:mm a'
|
|
47400
|
-
};
|
|
47401
47411
|
|
|
47402
|
-
var _excluded$
|
|
47412
|
+
var _excluded$k = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant"];
|
|
47403
47413
|
|
|
47404
47414
|
/**
|
|
47405
47415
|
* UMobileDateTimePicker is a customized material UI Date Time Picker.
|
|
@@ -47407,15 +47417,20 @@ var _excluded$j = ["inputFormat", "label", "onChange", "value", "showLabelHelp",
|
|
|
47407
47417
|
* Please have look at [Material UI Date Time Picker](https://mui.com/x/api/date-pickers/date-time-picker/) for more details
|
|
47408
47418
|
*/
|
|
47409
47419
|
function UMobileDateTimePicker(_ref) {
|
|
47410
|
-
var inputFormat = _ref.inputFormat,
|
|
47420
|
+
var _ref$inputFormat = _ref.inputFormat,
|
|
47421
|
+
inputFormat = _ref$inputFormat === void 0 ? 'dd/MM/yyyy hh:mm a' : _ref$inputFormat,
|
|
47411
47422
|
label = _ref.label,
|
|
47412
47423
|
onChange = _ref.onChange,
|
|
47413
47424
|
value = _ref.value,
|
|
47414
47425
|
showLabelHelp = _ref.showLabelHelp,
|
|
47415
|
-
InputLabelProps = _ref.InputLabelProps,
|
|
47426
|
+
_ref$InputLabelProps = _ref.InputLabelProps,
|
|
47427
|
+
InputLabelProps = _ref$InputLabelProps === void 0 ? {
|
|
47428
|
+
shrink: true
|
|
47429
|
+
} : _ref$InputLabelProps,
|
|
47416
47430
|
InputLabelHelpProps = _ref.InputLabelHelpProps,
|
|
47417
|
-
inputVariant = _ref.inputVariant,
|
|
47418
|
-
|
|
47431
|
+
_ref$inputVariant = _ref.inputVariant,
|
|
47432
|
+
inputVariant = _ref$inputVariant === void 0 ? 'outlined' : _ref$inputVariant,
|
|
47433
|
+
others = _objectWithoutProperties$2(_ref, _excluded$k);
|
|
47419
47434
|
return /*#__PURE__*/React$1.createElement(LocalizationProvider, {
|
|
47420
47435
|
dateAdapter: AdapterDateFns
|
|
47421
47436
|
}, /*#__PURE__*/React$1.createElement(MobileDateTimePicker, _extends$1({
|
|
@@ -47452,13 +47467,6 @@ UMobileDateTimePicker.propTypes = {
|
|
|
47452
47467
|
/** Props applied to the InputLabel element.*/
|
|
47453
47468
|
InputLabelProps: PropTypes.object
|
|
47454
47469
|
};
|
|
47455
|
-
UMobileDateTimePicker.defaultProps = {
|
|
47456
|
-
inputVariant: 'outlined',
|
|
47457
|
-
InputLabelProps: {
|
|
47458
|
-
shrink: true
|
|
47459
|
-
},
|
|
47460
|
-
inputFormat: 'dd/MM/yyyy hh:mm a'
|
|
47461
|
-
};
|
|
47462
47470
|
|
|
47463
47471
|
//Extending the ValidatorComponent using class component, so taking an exclusion from our rule: functional components only.
|
|
47464
47472
|
/**
|
|
@@ -47517,6 +47525,8 @@ UValidatorComponent.propTypes = {
|
|
|
47517
47525
|
formHelperId: PropTypes.string
|
|
47518
47526
|
};
|
|
47519
47527
|
|
|
47528
|
+
var _excluded$j = ["instantValidate", "noValidate", "debounceTime", "onSubmit"];
|
|
47529
|
+
|
|
47520
47530
|
/**
|
|
47521
47531
|
* * UValidatorForm is a component as similar to Form, it also has some set of validations for form that contains textfield, checkboxes, select, choice buttons.
|
|
47522
47532
|
* * UValidatorForm has some features and functions like instantValidate, onSubmit, onError, debounceTime.
|
|
@@ -47526,6 +47536,15 @@ UValidatorComponent.propTypes = {
|
|
|
47526
47536
|
*/
|
|
47527
47537
|
|
|
47528
47538
|
function ForwardRefForm(props, ref) {
|
|
47539
|
+
var _props$instantValidat = props.instantValidate,
|
|
47540
|
+
instantValidate = _props$instantValidat === void 0 ? true : _props$instantValidat,
|
|
47541
|
+
_props$noValidate = props.noValidate,
|
|
47542
|
+
noValidate = _props$noValidate === void 0 ? true : _props$noValidate,
|
|
47543
|
+
_props$debounceTime = props.debounceTime,
|
|
47544
|
+
debounceTime = _props$debounceTime === void 0 ? 0 : _props$debounceTime,
|
|
47545
|
+
_props$onSubmit = props.onSubmit,
|
|
47546
|
+
onSubmit = _props$onSubmit === void 0 ? function () {} : _props$onSubmit,
|
|
47547
|
+
rest = _objectWithoutProperties$2(props, _excluded$j);
|
|
47529
47548
|
React$1.useEffect(function () {
|
|
47530
47549
|
ValidatorForm.addValidationRule('isUrl', function (value) {
|
|
47531
47550
|
return isUrlText(value);
|
|
@@ -47566,7 +47585,12 @@ function ForwardRefForm(props, ref) {
|
|
|
47566
47585
|
ValidatorForm.removeValidationRule('matchRegexpCaseInSensitive');
|
|
47567
47586
|
};
|
|
47568
47587
|
}, []);
|
|
47569
|
-
return /*#__PURE__*/React$1.createElement(ValidatorForm, _extends$1({
|
|
47588
|
+
return /*#__PURE__*/React$1.createElement(ValidatorForm, _extends$1({
|
|
47589
|
+
instantValidate: instantValidate,
|
|
47590
|
+
noValidate: noValidate,
|
|
47591
|
+
debounceTime: debounceTime,
|
|
47592
|
+
onSubmit: onSubmit
|
|
47593
|
+
}, rest, {
|
|
47570
47594
|
ref: ref
|
|
47571
47595
|
}));
|
|
47572
47596
|
}
|
|
@@ -47591,12 +47615,6 @@ UValidatorForm.propTypes = {
|
|
|
47591
47615
|
/** To prevent the browser's default validation or not */
|
|
47592
47616
|
noValidate: PropTypes.bool
|
|
47593
47617
|
};
|
|
47594
|
-
UValidatorForm.defaultProps = {
|
|
47595
|
-
instantValidate: true,
|
|
47596
|
-
noValidate: true,
|
|
47597
|
-
debounceTime: 0,
|
|
47598
|
-
onSubmit: function onSubmit() {}
|
|
47599
|
-
};
|
|
47600
47618
|
|
|
47601
47619
|
var _excluded$i = ["typographyVariant", "className", "variant", "readOnly", "placeholder", "interactiveMode", "InputLabelProps", "InputProps", "inputProps", "inputPadding"];
|
|
47602
47620
|
var PREFIX$j = 'ActiveFormTextField';
|
|
@@ -47610,7 +47628,7 @@ var classes$j = {
|
|
|
47610
47628
|
};
|
|
47611
47629
|
var StyledBox$g = styled$1(Box$1, {
|
|
47612
47630
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
47613
|
-
return prop !== 'typographyVariant' && prop !== 'inputPadding';
|
|
47631
|
+
return prop !== 'typographyVariant' && prop !== 'inputPadding' && prop !== 'errorMessages';
|
|
47614
47632
|
}
|
|
47615
47633
|
})(function (_ref) {
|
|
47616
47634
|
var theme = _ref.theme,
|
|
@@ -47649,10 +47667,13 @@ var StyledBox$g = styled$1(Box$1, {
|
|
|
47649
47667
|
function ActiveFormTextField(props) {
|
|
47650
47668
|
var typographyVariant = props.typographyVariant,
|
|
47651
47669
|
className = props.className,
|
|
47652
|
-
variant = props.variant,
|
|
47670
|
+
_props$variant = props.variant,
|
|
47671
|
+
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
47653
47672
|
readOnly = props.readOnly,
|
|
47654
|
-
placeholder = props.placeholder,
|
|
47655
|
-
|
|
47673
|
+
_props$placeholder = props.placeholder,
|
|
47674
|
+
placeholder = _props$placeholder === void 0 ? 'Type something' : _props$placeholder,
|
|
47675
|
+
_props$interactiveMod = props.interactiveMode,
|
|
47676
|
+
interactiveMode = _props$interactiveMod === void 0 ? false : _props$interactiveMod,
|
|
47656
47677
|
InputLabelProps = props.InputLabelProps,
|
|
47657
47678
|
InputProps = props.InputProps,
|
|
47658
47679
|
inputProps = props.inputProps,
|
|
@@ -47717,11 +47738,6 @@ ActiveFormTextField.propTypes = {
|
|
|
47717
47738
|
/** Allow to use required validator in any validation trigger, not only form submit. */
|
|
47718
47739
|
withRequiredValidator: PropTypes.bool
|
|
47719
47740
|
};
|
|
47720
|
-
ActiveFormTextField.defaultProps = {
|
|
47721
|
-
placeholder: 'Type something',
|
|
47722
|
-
interactiveMode: false,
|
|
47723
|
-
variant: 'outlined'
|
|
47724
|
-
};
|
|
47725
47741
|
|
|
47726
47742
|
var _excluded$h = ["select", "typographyVariant", "className", "interactiveMode", "placeholder", "readOnly", "InputLabelProps", "InputProps", "inputProps", "SelectProps"];
|
|
47727
47743
|
var PREFIX$i = 'ActiveFormSelect';
|
|
@@ -47775,8 +47791,10 @@ function ActiveFormSelect(props) {
|
|
|
47775
47791
|
props.select;
|
|
47776
47792
|
var typographyVariant = props.typographyVariant,
|
|
47777
47793
|
className = props.className,
|
|
47778
|
-
|
|
47779
|
-
|
|
47794
|
+
_props$interactiveMod = props.interactiveMode,
|
|
47795
|
+
interactiveMode = _props$interactiveMod === void 0 ? false : _props$interactiveMod,
|
|
47796
|
+
_props$placeholder = props.placeholder,
|
|
47797
|
+
placeholder = _props$placeholder === void 0 ? 'Select' : _props$placeholder,
|
|
47780
47798
|
readOnly = props.readOnly,
|
|
47781
47799
|
InputLabelProps = props.InputLabelProps,
|
|
47782
47800
|
InputProps = props.InputProps,
|
|
@@ -47864,16 +47882,12 @@ ActiveFormSelect.propTypes = {
|
|
|
47864
47882
|
/** Allow to use required validator in any validation trigger, not only form submit. */
|
|
47865
47883
|
withRequiredValidator: PropTypes.bool
|
|
47866
47884
|
};
|
|
47867
|
-
ActiveFormSelect.defaultProps = {
|
|
47868
|
-
placeholder: 'Select',
|
|
47869
|
-
interactiveMode: false
|
|
47870
|
-
};
|
|
47871
47885
|
|
|
47872
47886
|
var _excluded$g = ["readOnly", "InputProps"];
|
|
47873
47887
|
/**
|
|
47874
47888
|
* UPositiveInteger form input field that accepts positive integer values. It is a extended version of UTextField.
|
|
47875
47889
|
*/
|
|
47876
|
-
function
|
|
47890
|
+
function ForwardRefUPositiveInteger(_ref, ref) {
|
|
47877
47891
|
var readOnly = _ref.readOnly,
|
|
47878
47892
|
InputProps = _ref.InputProps,
|
|
47879
47893
|
props = _objectWithoutProperties$2(_ref, _excluded$g);
|
|
@@ -47884,10 +47898,11 @@ function UPositiveInteger(_ref) {
|
|
|
47884
47898
|
readOnly: readOnly
|
|
47885
47899
|
}, InputProps)
|
|
47886
47900
|
}, props, {
|
|
47887
|
-
fullWidth: true
|
|
47901
|
+
fullWidth: true,
|
|
47902
|
+
ref: ref
|
|
47888
47903
|
}));
|
|
47889
47904
|
}
|
|
47890
|
-
|
|
47905
|
+
var UPositiveInteger = /*#__PURE__*/React$1.forwardRef(ForwardRefUPositiveInteger);
|
|
47891
47906
|
// It accepts all the Material Ui TextField props
|
|
47892
47907
|
UPositiveInteger.propTypes = {
|
|
47893
47908
|
// To make Textfield read only
|
|
@@ -47918,10 +47933,14 @@ var _excluded$f = ["inputPrefix", "decimalScale", "fixedDecimalScale", "textAlig
|
|
|
47918
47933
|
* The UCurrencyField is for creating currency input fields. It accepts several props for customization, including "inputPrefix," "decimalScale," "fixedDecimalScale," "textAlign," and etc
|
|
47919
47934
|
*/
|
|
47920
47935
|
function UCurrencyField(_ref) {
|
|
47921
|
-
var inputPrefix = _ref.inputPrefix,
|
|
47922
|
-
|
|
47923
|
-
|
|
47924
|
-
|
|
47936
|
+
var _ref$inputPrefix = _ref.inputPrefix,
|
|
47937
|
+
inputPrefix = _ref$inputPrefix === void 0 ? '$ ' : _ref$inputPrefix,
|
|
47938
|
+
_ref$decimalScale = _ref.decimalScale,
|
|
47939
|
+
decimalScale = _ref$decimalScale === void 0 ? 2 : _ref$decimalScale,
|
|
47940
|
+
_ref$fixedDecimalScal = _ref.fixedDecimalScale,
|
|
47941
|
+
fixedDecimalScale = _ref$fixedDecimalScal === void 0 ? true : _ref$fixedDecimalScal,
|
|
47942
|
+
_ref$textAlign = _ref.textAlign,
|
|
47943
|
+
textAlign = _ref$textAlign === void 0 ? 'right' : _ref$textAlign,
|
|
47925
47944
|
inputProps = _ref.inputProps,
|
|
47926
47945
|
props = _objectWithoutProperties$2(_ref, _excluded$f);
|
|
47927
47946
|
return /*#__PURE__*/React$1.createElement(UPositiveInteger, _extends$1({
|
|
@@ -47970,12 +47989,6 @@ UCurrencyField.propTypes = {
|
|
|
47970
47989
|
// If true it add 0s to match given decimalScale.
|
|
47971
47990
|
fixedDecimalScale: PropTypes.bool
|
|
47972
47991
|
};
|
|
47973
|
-
UCurrencyField.defaultProps = {
|
|
47974
|
-
inputPrefix: '$ ',
|
|
47975
|
-
decimalScale: 2,
|
|
47976
|
-
fixedDecimalScale: true,
|
|
47977
|
-
textAlign: 'right'
|
|
47978
|
-
};
|
|
47979
47992
|
|
|
47980
47993
|
var _excluded$e = ["InputProps"];
|
|
47981
47994
|
|
|
@@ -48290,7 +48303,8 @@ function URadioButtons(_ref3) {
|
|
|
48290
48303
|
var value = _ref3.value,
|
|
48291
48304
|
onChange = _ref3.onChange,
|
|
48292
48305
|
isReadOnly = _ref3.isReadOnly,
|
|
48293
|
-
variant = _ref3.variant,
|
|
48306
|
+
_ref3$variant = _ref3.variant,
|
|
48307
|
+
variant = _ref3$variant === void 0 ? 'row' : _ref3$variant,
|
|
48294
48308
|
optionLabels = _ref3.optionLabels,
|
|
48295
48309
|
optionValues = _ref3.optionValues;
|
|
48296
48310
|
var handleOnChange = function handleOnChange(event) {
|
|
@@ -48332,9 +48346,6 @@ URadioButtons.propTypes = {
|
|
|
48332
48346
|
/**array of radio button values */
|
|
48333
48347
|
optionValues: PropTypes.array
|
|
48334
48348
|
};
|
|
48335
|
-
URadioButtons.defaultProps = {
|
|
48336
|
-
variant: 'row'
|
|
48337
|
-
};
|
|
48338
48349
|
|
|
48339
48350
|
var HighlightOff = {};
|
|
48340
48351
|
|
|
@@ -48492,7 +48503,8 @@ UPageLoadingProgress.propTypes = {
|
|
|
48492
48503
|
*/
|
|
48493
48504
|
function UErrorAlert(_ref) {
|
|
48494
48505
|
var error = _ref.error,
|
|
48495
|
-
preformatted = _ref.preformatted,
|
|
48506
|
+
_ref$preformatted = _ref.preformatted,
|
|
48507
|
+
preformatted = _ref$preformatted === void 0 ? false : _ref$preformatted,
|
|
48496
48508
|
_onClose = _ref.onClose;
|
|
48497
48509
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, error && /*#__PURE__*/React$1.createElement(Box$1, {
|
|
48498
48510
|
marginTop: 2,
|
|
@@ -48512,9 +48524,6 @@ UErrorAlert.propTypes = {
|
|
|
48512
48524
|
/** Triggers close action of error alert */
|
|
48513
48525
|
onClose: PropTypes.func
|
|
48514
48526
|
};
|
|
48515
|
-
UErrorAlert.defaultProps = {
|
|
48516
|
-
preformatted: false
|
|
48517
|
-
};
|
|
48518
48527
|
|
|
48519
48528
|
var PREFIX$d = 'UAutoComplete';
|
|
48520
48529
|
var classes$d = {
|
|
@@ -48547,9 +48556,12 @@ function UAutoComplete(_ref3) {
|
|
|
48547
48556
|
readOnly = _ref3.readOnly,
|
|
48548
48557
|
minLength = _ref3.minLength,
|
|
48549
48558
|
maxLength = _ref3.maxLength,
|
|
48550
|
-
usedItemIds = _ref3.usedItemIds,
|
|
48551
|
-
|
|
48552
|
-
|
|
48559
|
+
_ref3$usedItemIds = _ref3.usedItemIds,
|
|
48560
|
+
usedItemIds = _ref3$usedItemIds === void 0 ? [] : _ref3$usedItemIds,
|
|
48561
|
+
_ref3$allowContextSpe = _ref3.allowContextSpecific,
|
|
48562
|
+
allowContextSpecific = _ref3$allowContextSpe === void 0 ? false : _ref3$allowContextSpe,
|
|
48563
|
+
_ref3$counter = _ref3.counter,
|
|
48564
|
+
counter = _ref3$counter === void 0 ? false : _ref3$counter,
|
|
48553
48565
|
placeholder = _ref3.placeholder,
|
|
48554
48566
|
InputLabelProps = _ref3.InputLabelProps;
|
|
48555
48567
|
_ref3.props;
|
|
@@ -48667,7 +48679,7 @@ function UAutoComplete(_ref3) {
|
|
|
48667
48679
|
}
|
|
48668
48680
|
UAutoComplete.propTypes = {
|
|
48669
48681
|
/** selected value of the dropdown */
|
|
48670
|
-
value: PropTypes.
|
|
48682
|
+
value: PropTypes.any,
|
|
48671
48683
|
/** label */
|
|
48672
48684
|
label: PropTypes.string,
|
|
48673
48685
|
/** options to display */
|
|
@@ -48697,11 +48709,6 @@ UAutoComplete.propTypes = {
|
|
|
48697
48709
|
/** Label props applied to input field*/
|
|
48698
48710
|
InputLabelProps: PropTypes.object
|
|
48699
48711
|
};
|
|
48700
|
-
UAutoComplete.defaultProps = {
|
|
48701
|
-
allowContextSpecific: false,
|
|
48702
|
-
counter: false,
|
|
48703
|
-
usedItemIds: []
|
|
48704
|
-
};
|
|
48705
48712
|
|
|
48706
48713
|
var PREFIX$c = 'UBreadcrumbs';
|
|
48707
48714
|
var classes$c = {
|
|
@@ -48925,8 +48932,10 @@ function UGraphPeoplePicker(_ref) {
|
|
|
48925
48932
|
label = _ref.label,
|
|
48926
48933
|
options = _ref.options,
|
|
48927
48934
|
onBlur = _ref.onBlur,
|
|
48928
|
-
helpText = _ref.helpText,
|
|
48929
|
-
|
|
48935
|
+
_ref$helpText = _ref.helpText,
|
|
48936
|
+
helpText = _ref$helpText === void 0 ? '' : _ref$helpText,
|
|
48937
|
+
_ref$isMultiple = _ref.isMultiple,
|
|
48938
|
+
isMultiple = _ref$isMultiple === void 0 ? true : _ref$isMultiple,
|
|
48930
48939
|
searchUsers = _ref.searchUsers,
|
|
48931
48940
|
components = _ref.components,
|
|
48932
48941
|
props = _objectWithoutProperties$2(_ref, _excluded$c);
|
|
@@ -49032,10 +49041,6 @@ UGraphPeoplePicker.propTypes = {
|
|
|
49032
49041
|
/** Props applied to the input label help element. E.g. InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
49033
49042
|
InputLabelHelpProps: PropTypes.object
|
|
49034
49043
|
};
|
|
49035
|
-
UGraphPeoplePicker.defaultProps = {
|
|
49036
|
-
helpText: '',
|
|
49037
|
-
isMultiple: true
|
|
49038
|
-
};
|
|
49039
49044
|
|
|
49040
49045
|
var _excluded$b = ["InputProps", "decimalScale", "inputProps", "coordinateType", "validators"];
|
|
49041
49046
|
|
|
@@ -49055,7 +49060,8 @@ var _excluded$b = ["InputProps", "decimalScale", "inputProps", "coordinateType",
|
|
|
49055
49060
|
|
|
49056
49061
|
function ActiveFormCoordinateField(_ref) {
|
|
49057
49062
|
var InputProps = _ref.InputProps,
|
|
49058
|
-
decimalScale = _ref.decimalScale,
|
|
49063
|
+
_ref$decimalScale = _ref.decimalScale,
|
|
49064
|
+
decimalScale = _ref$decimalScale === void 0 ? 9 : _ref$decimalScale,
|
|
49059
49065
|
inputProps = _ref.inputProps,
|
|
49060
49066
|
coordinateType = _ref.coordinateType,
|
|
49061
49067
|
validators = _ref.validators,
|
|
@@ -49126,9 +49132,6 @@ ActiveFormCoordinateField.propTypes = {
|
|
|
49126
49132
|
/** Change to write mode by hiding textfield border and displays border on Hover */
|
|
49127
49133
|
interactiveMode: PropTypes.bool
|
|
49128
49134
|
};
|
|
49129
|
-
ActiveFormCoordinateField.defaultProps = {
|
|
49130
|
-
decimalScale: 9
|
|
49131
|
-
};
|
|
49132
49135
|
|
|
49133
49136
|
var _excluded$a = ["readOnly", "InputProps", "decimalScale", "inputProps", "coordinateType", "validators"];
|
|
49134
49137
|
|
|
@@ -49145,7 +49148,8 @@ var _excluded$a = ["readOnly", "InputProps", "decimalScale", "inputProps", "coor
|
|
|
49145
49148
|
function UCoordinateField(_ref) {
|
|
49146
49149
|
var readOnly = _ref.readOnly,
|
|
49147
49150
|
InputProps = _ref.InputProps,
|
|
49148
|
-
decimalScale = _ref.decimalScale,
|
|
49151
|
+
_ref$decimalScale = _ref.decimalScale,
|
|
49152
|
+
decimalScale = _ref$decimalScale === void 0 ? 9 : _ref$decimalScale,
|
|
49149
49153
|
inputProps = _ref.inputProps,
|
|
49150
49154
|
coordinateType = _ref.coordinateType,
|
|
49151
49155
|
validators = _ref.validators,
|
|
@@ -49206,9 +49210,6 @@ UCoordinateField.propTypes = {
|
|
|
49206
49210
|
/** Coordinate type */
|
|
49207
49211
|
coordinateType: PropTypes.oneOf(['latitude', 'longitude']).isRequired
|
|
49208
49212
|
};
|
|
49209
|
-
UCoordinateField.defaultProps = {
|
|
49210
|
-
decimalScale: 9
|
|
49211
|
-
};
|
|
49212
49213
|
|
|
49213
49214
|
var Search = {};
|
|
49214
49215
|
|
|
@@ -49268,10 +49269,12 @@ var StyledInputAdornment = styled$1(InputAdornment$1)(function (_ref) {
|
|
|
49268
49269
|
function USearchBox(_ref3) {
|
|
49269
49270
|
var value = _ref3.value,
|
|
49270
49271
|
onSearch = _ref3.onSearch,
|
|
49271
|
-
placeholder = _ref3.placeholder
|
|
49272
|
+
_ref3$placeholder = _ref3.placeholder,
|
|
49273
|
+
placeholder = _ref3$placeholder === void 0 ? 'Search' : _ref3$placeholder;
|
|
49272
49274
|
_ref3.inputProps;
|
|
49273
49275
|
var className = _ref3.className,
|
|
49274
|
-
showSeparator = _ref3.showSeparator,
|
|
49276
|
+
_ref3$showSeparator = _ref3.showSeparator,
|
|
49277
|
+
showSeparator = _ref3$showSeparator === void 0 ? true : _ref3$showSeparator,
|
|
49275
49278
|
iconLabel = _ref3.iconLabel,
|
|
49276
49279
|
rest = _objectWithoutProperties$2(_ref3, _excluded$9);
|
|
49277
49280
|
var _useState = React$1.useState(value),
|
|
@@ -49313,7 +49316,9 @@ function USearchBox(_ref3) {
|
|
|
49313
49316
|
shrink: false
|
|
49314
49317
|
},
|
|
49315
49318
|
InputProps: {
|
|
49316
|
-
endAdornment: /*#__PURE__*/React$1.createElement(StyledInputAdornment,
|
|
49319
|
+
endAdornment: /*#__PURE__*/React$1.createElement(StyledInputAdornment, {
|
|
49320
|
+
position: "end"
|
|
49321
|
+
}, searchValue ? /*#__PURE__*/React$1.createElement(IconButton$1, {
|
|
49317
49322
|
"aria-label": "Clear",
|
|
49318
49323
|
onClick: handleClear,
|
|
49319
49324
|
size: "large"
|
|
@@ -49350,10 +49355,6 @@ USearchBox.propTypes = {
|
|
|
49350
49355
|
/** Label next to the search icon */
|
|
49351
49356
|
iconLabel: PropTypes.string
|
|
49352
49357
|
};
|
|
49353
|
-
USearchBox.defaultProps = {
|
|
49354
|
-
placeholder: 'Search',
|
|
49355
|
-
showSeparator: true
|
|
49356
|
-
};
|
|
49357
49358
|
|
|
49358
49359
|
var _excluded$8 = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant", "interactiveMode", "readOnly"];
|
|
49359
49360
|
var PREFIX$9 = 'ActiveDatePicker';
|
|
@@ -49430,7 +49431,7 @@ ActiveDatePicker.propTypes = {
|
|
|
49430
49431
|
/** Callback function when change the picker field */
|
|
49431
49432
|
onChange: PropTypes.func.isRequired,
|
|
49432
49433
|
/** Value of the picker field */
|
|
49433
|
-
value: PropTypes.string,
|
|
49434
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
49434
49435
|
/** Material ui textfield variant */
|
|
49435
49436
|
inputVariant: PropTypes.string,
|
|
49436
49437
|
/** To make the content readOnly */
|
|
@@ -49476,14 +49477,19 @@ var StyledBox$9 = styled$1(Box$1, {
|
|
|
49476
49477
|
* Please have look at [Material UI Time Picker](https://mui.com/x/api/date-pickers/time-picker/) for more details
|
|
49477
49478
|
*/
|
|
49478
49479
|
function ActiveTimePicker(_ref5) {
|
|
49479
|
-
var inputFormat = _ref5.inputFormat,
|
|
49480
|
+
var _ref5$inputFormat = _ref5.inputFormat,
|
|
49481
|
+
inputFormat = _ref5$inputFormat === void 0 ? 'hh:mm a' : _ref5$inputFormat,
|
|
49480
49482
|
label = _ref5.label,
|
|
49481
49483
|
onChange = _ref5.onChange,
|
|
49482
49484
|
value = _ref5.value,
|
|
49483
49485
|
showLabelHelp = _ref5.showLabelHelp,
|
|
49484
|
-
InputLabelProps = _ref5.InputLabelProps,
|
|
49486
|
+
_ref5$InputLabelProps = _ref5.InputLabelProps,
|
|
49487
|
+
InputLabelProps = _ref5$InputLabelProps === void 0 ? {
|
|
49488
|
+
shrink: true
|
|
49489
|
+
} : _ref5$InputLabelProps,
|
|
49485
49490
|
InputLabelHelpProps = _ref5.InputLabelHelpProps,
|
|
49486
|
-
inputVariant = _ref5.inputVariant,
|
|
49491
|
+
_ref5$inputVariant = _ref5.inputVariant,
|
|
49492
|
+
inputVariant = _ref5$inputVariant === void 0 ? 'outlined' : _ref5$inputVariant,
|
|
49487
49493
|
interactiveMode = _ref5.interactiveMode,
|
|
49488
49494
|
readOnly = _ref5.readOnly,
|
|
49489
49495
|
others = _objectWithoutProperties$2(_ref5, _excluded$7);
|
|
@@ -49533,13 +49539,6 @@ ActiveTimePicker.propTypes = {
|
|
|
49533
49539
|
/** Props applied to the input label help element. E.g InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
49534
49540
|
InputLabelHelpProps: PropTypes.object
|
|
49535
49541
|
};
|
|
49536
|
-
ActiveTimePicker.defaultProps = {
|
|
49537
|
-
inputVariant: 'outlined',
|
|
49538
|
-
InputLabelProps: {
|
|
49539
|
-
shrink: true
|
|
49540
|
-
},
|
|
49541
|
-
inputFormat: 'hh:mm a'
|
|
49542
|
-
};
|
|
49543
49542
|
|
|
49544
49543
|
var _excluded$6 = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant", "interactiveMode", "readOnly"];
|
|
49545
49544
|
var PREFIX$7 = 'ActiveDateTimePicker';
|
|
@@ -49570,15 +49569,21 @@ var StyledBox$8 = styled$1(Box$1, {
|
|
|
49570
49569
|
* This component let's you access the calender and clock to select the date and time.
|
|
49571
49570
|
* Please have look at [Material UI Date Time Picker](https://mui.com/x/api/date-pickers/date-time-picker/) for more details
|
|
49572
49571
|
*/
|
|
49572
|
+
|
|
49573
49573
|
function ActiveDateTimePicker(_ref5) {
|
|
49574
|
-
var inputFormat = _ref5.inputFormat,
|
|
49574
|
+
var _ref5$inputFormat = _ref5.inputFormat,
|
|
49575
|
+
inputFormat = _ref5$inputFormat === void 0 ? 'dd/MM/yyyy hh:mm a' : _ref5$inputFormat,
|
|
49575
49576
|
label = _ref5.label,
|
|
49576
49577
|
onChange = _ref5.onChange,
|
|
49577
49578
|
value = _ref5.value,
|
|
49578
49579
|
showLabelHelp = _ref5.showLabelHelp,
|
|
49579
|
-
InputLabelProps = _ref5.InputLabelProps,
|
|
49580
|
+
_ref5$InputLabelProps = _ref5.InputLabelProps,
|
|
49581
|
+
InputLabelProps = _ref5$InputLabelProps === void 0 ? {
|
|
49582
|
+
shrink: true
|
|
49583
|
+
} : _ref5$InputLabelProps,
|
|
49580
49584
|
InputLabelHelpProps = _ref5.InputLabelHelpProps,
|
|
49581
|
-
inputVariant = _ref5.inputVariant,
|
|
49585
|
+
_ref5$inputVariant = _ref5.inputVariant,
|
|
49586
|
+
inputVariant = _ref5$inputVariant === void 0 ? 'outlined' : _ref5$inputVariant,
|
|
49582
49587
|
interactiveMode = _ref5.interactiveMode,
|
|
49583
49588
|
readOnly = _ref5.readOnly,
|
|
49584
49589
|
others = _objectWithoutProperties$2(_ref5, _excluded$6);
|
|
@@ -49628,13 +49633,6 @@ ActiveDateTimePicker.propTypes = {
|
|
|
49628
49633
|
/** Props applied to the input label help element. E.g InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
49629
49634
|
InputLabelHelpProps: PropTypes.object
|
|
49630
49635
|
};
|
|
49631
|
-
ActiveDateTimePicker.defaultProps = {
|
|
49632
|
-
inputVariant: 'outlined',
|
|
49633
|
-
InputLabelProps: {
|
|
49634
|
-
shrink: true
|
|
49635
|
-
},
|
|
49636
|
-
inputFormat: 'dd/MM/yyyy hh:mm a'
|
|
49637
|
-
};
|
|
49638
49636
|
|
|
49639
49637
|
var _excluded$5 = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant", "interactiveMode", "readOnly"];
|
|
49640
49638
|
var PREFIX$6 = 'ActiveDesktopDatePicker';
|
|
@@ -49664,15 +49662,21 @@ var StyledBox$7 = styled$1(Box$1, {
|
|
|
49664
49662
|
* This component let's you access the calender to select particular dates.
|
|
49665
49663
|
* Please have look at [Material UI Desktop Date Picker](https://mui.com/x/api/date-pickers/desktop-date-picker/) for more details
|
|
49666
49664
|
*/
|
|
49665
|
+
|
|
49667
49666
|
function ActiveDesktopDatePicker(_ref5) {
|
|
49668
|
-
var inputFormat = _ref5.inputFormat,
|
|
49667
|
+
var _ref5$inputFormat = _ref5.inputFormat,
|
|
49668
|
+
inputFormat = _ref5$inputFormat === void 0 ? 'dd/MM/yyyy' : _ref5$inputFormat,
|
|
49669
49669
|
label = _ref5.label,
|
|
49670
49670
|
onChange = _ref5.onChange,
|
|
49671
49671
|
value = _ref5.value,
|
|
49672
49672
|
showLabelHelp = _ref5.showLabelHelp,
|
|
49673
|
-
InputLabelProps = _ref5.InputLabelProps,
|
|
49673
|
+
_ref5$InputLabelProps = _ref5.InputLabelProps,
|
|
49674
|
+
InputLabelProps = _ref5$InputLabelProps === void 0 ? {
|
|
49675
|
+
shrink: true
|
|
49676
|
+
} : _ref5$InputLabelProps,
|
|
49674
49677
|
InputLabelHelpProps = _ref5.InputLabelHelpProps,
|
|
49675
|
-
inputVariant = _ref5.inputVariant,
|
|
49678
|
+
_ref5$inputVariant = _ref5.inputVariant,
|
|
49679
|
+
inputVariant = _ref5$inputVariant === void 0 ? 'outlined' : _ref5$inputVariant,
|
|
49676
49680
|
interactiveMode = _ref5.interactiveMode,
|
|
49677
49681
|
readOnly = _ref5.readOnly,
|
|
49678
49682
|
others = _objectWithoutProperties$2(_ref5, _excluded$5);
|
|
@@ -49722,13 +49726,6 @@ ActiveDesktopDatePicker.propTypes = {
|
|
|
49722
49726
|
/** Props applied to the input label help element. E.g InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
49723
49727
|
InputLabelHelpProps: PropTypes.object
|
|
49724
49728
|
};
|
|
49725
|
-
ActiveDesktopDatePicker.defaultProps = {
|
|
49726
|
-
inputVariant: 'outlined',
|
|
49727
|
-
InputLabelProps: {
|
|
49728
|
-
shrink: true
|
|
49729
|
-
},
|
|
49730
|
-
inputFormat: 'dd/MM/yyyy'
|
|
49731
|
-
};
|
|
49732
49729
|
|
|
49733
49730
|
var _excluded$4 = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant", "interactiveMode", "readOnly"];
|
|
49734
49731
|
var PREFIX$5 = 'ActiveDesktopDateTimePicker';
|
|
@@ -49759,14 +49756,19 @@ var StyledBox$6 = styled$1(Box$1, {
|
|
|
49759
49756
|
* Please have look at [Material UI Desktop Date Time Picker](https://mui.com/x/api/date-pickers/desktop-date-time-picker/) for more details
|
|
49760
49757
|
*/
|
|
49761
49758
|
function ActiveDesktopDateTimePicker(_ref5) {
|
|
49762
|
-
var inputFormat = _ref5.inputFormat,
|
|
49759
|
+
var _ref5$inputFormat = _ref5.inputFormat,
|
|
49760
|
+
inputFormat = _ref5$inputFormat === void 0 ? 'dd/MM/yyyy hh:mm a' : _ref5$inputFormat,
|
|
49763
49761
|
label = _ref5.label,
|
|
49764
49762
|
onChange = _ref5.onChange,
|
|
49765
49763
|
value = _ref5.value,
|
|
49766
49764
|
showLabelHelp = _ref5.showLabelHelp,
|
|
49767
|
-
InputLabelProps = _ref5.InputLabelProps,
|
|
49765
|
+
_ref5$InputLabelProps = _ref5.InputLabelProps,
|
|
49766
|
+
InputLabelProps = _ref5$InputLabelProps === void 0 ? {
|
|
49767
|
+
shrink: true
|
|
49768
|
+
} : _ref5$InputLabelProps,
|
|
49768
49769
|
InputLabelHelpProps = _ref5.InputLabelHelpProps,
|
|
49769
|
-
inputVariant = _ref5.inputVariant,
|
|
49770
|
+
_ref5$inputVariant = _ref5.inputVariant,
|
|
49771
|
+
inputVariant = _ref5$inputVariant === void 0 ? 'outlined' : _ref5$inputVariant,
|
|
49770
49772
|
interactiveMode = _ref5.interactiveMode,
|
|
49771
49773
|
readOnly = _ref5.readOnly,
|
|
49772
49774
|
others = _objectWithoutProperties$2(_ref5, _excluded$4);
|
|
@@ -49816,13 +49818,6 @@ ActiveDesktopDateTimePicker.propTypes = {
|
|
|
49816
49818
|
/** Props applied to the input label help element. E.g InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
49817
49819
|
InputLabelHelpProps: PropTypes.object
|
|
49818
49820
|
};
|
|
49819
|
-
ActiveDesktopDateTimePicker.defaultProps = {
|
|
49820
|
-
inputVariant: 'outlined',
|
|
49821
|
-
InputLabelProps: {
|
|
49822
|
-
shrink: true
|
|
49823
|
-
},
|
|
49824
|
-
inputFormat: 'dd/MM/yyyy hh:mm a'
|
|
49825
|
-
};
|
|
49826
49821
|
|
|
49827
49822
|
var _excluded$3 = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant", "interactiveMode", "readOnly"];
|
|
49828
49823
|
var PREFIX$4 = 'ActiveDesktopTimePicker';
|
|
@@ -49852,15 +49847,21 @@ var StyledBox$5 = styled$1(Box$1, {
|
|
|
49852
49847
|
* This component let's you access the clock to select the time.
|
|
49853
49848
|
* Please have look at [Material UI Desktop Time Picker](https://mui.com/x/api/date-pickers/desktop-time-picker/) for more details
|
|
49854
49849
|
*/
|
|
49850
|
+
|
|
49855
49851
|
function ActiveDesktopTimePicker(_ref5) {
|
|
49856
|
-
var inputFormat = _ref5.inputFormat,
|
|
49852
|
+
var _ref5$inputFormat = _ref5.inputFormat,
|
|
49853
|
+
inputFormat = _ref5$inputFormat === void 0 ? 'hh:mm a' : _ref5$inputFormat,
|
|
49857
49854
|
label = _ref5.label,
|
|
49858
49855
|
onChange = _ref5.onChange,
|
|
49859
49856
|
value = _ref5.value,
|
|
49860
49857
|
showLabelHelp = _ref5.showLabelHelp,
|
|
49861
|
-
InputLabelProps = _ref5.InputLabelProps,
|
|
49858
|
+
_ref5$InputLabelProps = _ref5.InputLabelProps,
|
|
49859
|
+
InputLabelProps = _ref5$InputLabelProps === void 0 ? {
|
|
49860
|
+
shrink: true
|
|
49861
|
+
} : _ref5$InputLabelProps,
|
|
49862
49862
|
InputLabelHelpProps = _ref5.InputLabelHelpProps,
|
|
49863
|
-
inputVariant = _ref5.inputVariant,
|
|
49863
|
+
_ref5$inputVariant = _ref5.inputVariant,
|
|
49864
|
+
inputVariant = _ref5$inputVariant === void 0 ? 'outlined' : _ref5$inputVariant,
|
|
49864
49865
|
interactiveMode = _ref5.interactiveMode,
|
|
49865
49866
|
readOnly = _ref5.readOnly,
|
|
49866
49867
|
others = _objectWithoutProperties$2(_ref5, _excluded$3);
|
|
@@ -49910,13 +49911,6 @@ ActiveDesktopTimePicker.propTypes = {
|
|
|
49910
49911
|
/** Props applied to the input label help element. E.g InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
49911
49912
|
InputLabelHelpProps: PropTypes.object
|
|
49912
49913
|
};
|
|
49913
|
-
ActiveDesktopTimePicker.defaultProps = {
|
|
49914
|
-
inputVariant: 'outlined',
|
|
49915
|
-
InputLabelProps: {
|
|
49916
|
-
shrink: true
|
|
49917
|
-
},
|
|
49918
|
-
inputFormat: 'hh:mm a'
|
|
49919
|
-
};
|
|
49920
49914
|
|
|
49921
49915
|
var _excluded$2 = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant", "interactiveMode", "readOnly"];
|
|
49922
49916
|
var PREFIX$3 = 'ActiveMobileTimePicker';
|
|
@@ -49946,15 +49940,21 @@ var StyledBox$4 = styled$1(Box$1, {
|
|
|
49946
49940
|
* This component let's you access the clock to select the time.
|
|
49947
49941
|
* Please have look at [Material UI Mobile Time Picker](https://mui.com/x/api/date-pickers/mobile-time-picker/) for more details
|
|
49948
49942
|
*/
|
|
49943
|
+
|
|
49949
49944
|
function ActiveMobileTimePicker(_ref5) {
|
|
49950
|
-
var inputFormat = _ref5.inputFormat,
|
|
49945
|
+
var _ref5$inputFormat = _ref5.inputFormat,
|
|
49946
|
+
inputFormat = _ref5$inputFormat === void 0 ? 'hh:mm a' : _ref5$inputFormat,
|
|
49951
49947
|
label = _ref5.label,
|
|
49952
49948
|
onChange = _ref5.onChange,
|
|
49953
49949
|
value = _ref5.value,
|
|
49954
49950
|
showLabelHelp = _ref5.showLabelHelp,
|
|
49955
|
-
InputLabelProps = _ref5.InputLabelProps,
|
|
49951
|
+
_ref5$InputLabelProps = _ref5.InputLabelProps,
|
|
49952
|
+
InputLabelProps = _ref5$InputLabelProps === void 0 ? {
|
|
49953
|
+
shrink: true
|
|
49954
|
+
} : _ref5$InputLabelProps,
|
|
49956
49955
|
InputLabelHelpProps = _ref5.InputLabelHelpProps,
|
|
49957
|
-
inputVariant = _ref5.inputVariant,
|
|
49956
|
+
_ref5$inputVariant = _ref5.inputVariant,
|
|
49957
|
+
inputVariant = _ref5$inputVariant === void 0 ? 'outlined' : _ref5$inputVariant,
|
|
49958
49958
|
interactiveMode = _ref5.interactiveMode,
|
|
49959
49959
|
readOnly = _ref5.readOnly,
|
|
49960
49960
|
others = _objectWithoutProperties$2(_ref5, _excluded$2);
|
|
@@ -50004,13 +50004,6 @@ ActiveMobileTimePicker.propTypes = {
|
|
|
50004
50004
|
/** Props applied to the input label help element. E.g InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
50005
50005
|
InputLabelHelpProps: PropTypes.object
|
|
50006
50006
|
};
|
|
50007
|
-
ActiveMobileTimePicker.defaultProps = {
|
|
50008
|
-
inputVariant: 'outlined',
|
|
50009
|
-
InputLabelProps: {
|
|
50010
|
-
shrink: true
|
|
50011
|
-
},
|
|
50012
|
-
inputFormat: 'hh:mm a'
|
|
50013
|
-
};
|
|
50014
50007
|
|
|
50015
50008
|
var _excluded$1 = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant", "interactiveMode", "readOnly"];
|
|
50016
50009
|
var PREFIX$2 = 'ActiveMobileDatePicker';
|
|
@@ -50040,15 +50033,21 @@ var StyledBox$3 = styled$1(Box$1, {
|
|
|
50040
50033
|
* This component let's you access the calender to select particular dates.
|
|
50041
50034
|
* Please have look at [Material UI Mobile Date Picker](https://mui.com/x/api/date-pickers/mobile-date-picker/) for more details
|
|
50042
50035
|
*/
|
|
50036
|
+
|
|
50043
50037
|
function ActiveMobileDatePicker(_ref5) {
|
|
50044
|
-
var inputFormat = _ref5.inputFormat,
|
|
50038
|
+
var _ref5$inputFormat = _ref5.inputFormat,
|
|
50039
|
+
inputFormat = _ref5$inputFormat === void 0 ? 'dd/MM/yyyy' : _ref5$inputFormat,
|
|
50045
50040
|
label = _ref5.label,
|
|
50046
50041
|
onChange = _ref5.onChange,
|
|
50047
50042
|
value = _ref5.value,
|
|
50048
50043
|
showLabelHelp = _ref5.showLabelHelp,
|
|
50049
|
-
InputLabelProps = _ref5.InputLabelProps,
|
|
50044
|
+
_ref5$InputLabelProps = _ref5.InputLabelProps,
|
|
50045
|
+
InputLabelProps = _ref5$InputLabelProps === void 0 ? {
|
|
50046
|
+
shrink: true
|
|
50047
|
+
} : _ref5$InputLabelProps,
|
|
50050
50048
|
InputLabelHelpProps = _ref5.InputLabelHelpProps,
|
|
50051
|
-
inputVariant = _ref5.inputVariant,
|
|
50049
|
+
_ref5$inputVariant = _ref5.inputVariant,
|
|
50050
|
+
inputVariant = _ref5$inputVariant === void 0 ? 'outlined' : _ref5$inputVariant,
|
|
50052
50051
|
interactiveMode = _ref5.interactiveMode,
|
|
50053
50052
|
readOnly = _ref5.readOnly,
|
|
50054
50053
|
others = _objectWithoutProperties$2(_ref5, _excluded$1);
|
|
@@ -50098,13 +50097,6 @@ ActiveMobileDatePicker.propTypes = {
|
|
|
50098
50097
|
/** Props applied to the input label help element. E.g InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
50099
50098
|
InputLabelHelpProps: PropTypes.object
|
|
50100
50099
|
};
|
|
50101
|
-
ActiveMobileDatePicker.defaultProps = {
|
|
50102
|
-
inputVariant: 'outlined',
|
|
50103
|
-
InputLabelProps: {
|
|
50104
|
-
shrink: true
|
|
50105
|
-
},
|
|
50106
|
-
inputFormat: 'dd/MM/yyyy'
|
|
50107
|
-
};
|
|
50108
50100
|
|
|
50109
50101
|
var _excluded = ["inputFormat", "label", "onChange", "value", "showLabelHelp", "InputLabelProps", "InputLabelHelpProps", "inputVariant", "interactiveMode", "readOnly"];
|
|
50110
50102
|
var PREFIX$1 = 'ActiveMobileDateTimePicker';
|
|
@@ -50134,15 +50126,21 @@ var StyledBox$2 = styled$1(Box$1, {
|
|
|
50134
50126
|
* This component let's you access the calender and clock to select the date and time.
|
|
50135
50127
|
* Please have look at [Material UI Mobile Date Time Picker](https://mui.com/x/api/date-pickers/mobile-date-time-picker/) for more details
|
|
50136
50128
|
*/
|
|
50129
|
+
|
|
50137
50130
|
function ActiveMobileDateTimePicker(_ref5) {
|
|
50138
|
-
var inputFormat = _ref5.inputFormat,
|
|
50131
|
+
var _ref5$inputFormat = _ref5.inputFormat,
|
|
50132
|
+
inputFormat = _ref5$inputFormat === void 0 ? 'dd/MM/yyyy hh:mm a' : _ref5$inputFormat,
|
|
50139
50133
|
label = _ref5.label,
|
|
50140
50134
|
onChange = _ref5.onChange,
|
|
50141
50135
|
value = _ref5.value,
|
|
50142
50136
|
showLabelHelp = _ref5.showLabelHelp,
|
|
50143
|
-
InputLabelProps = _ref5.InputLabelProps,
|
|
50137
|
+
_ref5$InputLabelProps = _ref5.InputLabelProps,
|
|
50138
|
+
InputLabelProps = _ref5$InputLabelProps === void 0 ? {
|
|
50139
|
+
shrink: true
|
|
50140
|
+
} : _ref5$InputLabelProps,
|
|
50144
50141
|
InputLabelHelpProps = _ref5.InputLabelHelpProps,
|
|
50145
|
-
inputVariant = _ref5.inputVariant,
|
|
50142
|
+
_ref5$inputVariant = _ref5.inputVariant,
|
|
50143
|
+
inputVariant = _ref5$inputVariant === void 0 ? 'outlined' : _ref5$inputVariant,
|
|
50146
50144
|
interactiveMode = _ref5.interactiveMode,
|
|
50147
50145
|
readOnly = _ref5.readOnly,
|
|
50148
50146
|
others = _objectWithoutProperties$2(_ref5, _excluded);
|
|
@@ -50192,13 +50190,6 @@ ActiveMobileDateTimePicker.propTypes = {
|
|
|
50192
50190
|
/** Props applied to the input label help element. E.g InputLabelHelpProps={{type:'link', label:'Help', link:'unicef.github.io', icon, tooltipTitle: 'Tooltip title', tooltipPlacement: 'bottom}} */
|
|
50193
50191
|
InputLabelHelpProps: PropTypes.object
|
|
50194
50192
|
};
|
|
50195
|
-
ActiveMobileDateTimePicker.defaultProps = {
|
|
50196
|
-
inputVariant: 'outlined',
|
|
50197
|
-
InputLabelProps: {
|
|
50198
|
-
shrink: true
|
|
50199
|
-
},
|
|
50200
|
-
inputFormat: 'dd/MM/yyyy hh:mm a'
|
|
50201
|
-
};
|
|
50202
50193
|
|
|
50203
50194
|
var PREFIX = 'ActiveAutoComplete';
|
|
50204
50195
|
var classes = {
|
|
@@ -50442,7 +50433,7 @@ UAriaLive.propTypes = {
|
|
|
50442
50433
|
/** Text to be announced by the screen reader */
|
|
50443
50434
|
text: PropTypes.string,
|
|
50444
50435
|
/** Used to set the priority with which screen reader should treat updates to live regions */
|
|
50445
|
-
type: PropTypes.oneOf(['off', 'polite', 'assertive']),
|
|
50436
|
+
type: PropTypes.oneOf(['alert', 'off', 'polite', 'assertive']),
|
|
50446
50437
|
/** Aria atomic */
|
|
50447
50438
|
ariaAtomic: PropTypes.bool,
|
|
50448
50439
|
/** Aria role */
|