@vitessce/vit-s 3.3.12 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +247 -172
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -2536,7 +2536,7 @@ function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
return target;
|
|
2538
2538
|
}
|
|
2539
|
-
function _objectWithoutProperties$
|
|
2539
|
+
function _objectWithoutProperties$3(source, excluded) {
|
|
2540
2540
|
if (source == null)
|
|
2541
2541
|
return {};
|
|
2542
2542
|
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
@@ -2576,7 +2576,7 @@ function createBreakpoints(breakpoints) {
|
|
|
2576
2576
|
md: 960,
|
|
2577
2577
|
lg: 1280,
|
|
2578
2578
|
xl: 1920
|
|
2579
|
-
} : _breakpoints$values, _breakpoints$unit = breakpoints.unit, unit = _breakpoints$unit === void 0 ? "px" : _breakpoints$unit, _breakpoints$step = breakpoints.step, step = _breakpoints$step === void 0 ? 5 : _breakpoints$step, other = _objectWithoutProperties$
|
|
2579
|
+
} : _breakpoints$values, _breakpoints$unit = breakpoints.unit, unit = _breakpoints$unit === void 0 ? "px" : _breakpoints$unit, _breakpoints$step = breakpoints.step, step = _breakpoints$step === void 0 ? 5 : _breakpoints$step, other = _objectWithoutProperties$3(breakpoints, ["values", "unit", "step"]);
|
|
2580
2580
|
function up2(key) {
|
|
2581
2581
|
var value = typeof values2[key] === "number" ? values2[key] : key;
|
|
2582
2582
|
return "@media (min-width:".concat(value).concat(unit, ")");
|
|
@@ -2748,7 +2748,7 @@ function createPalette(palette2) {
|
|
|
2748
2748
|
light: green$1[300],
|
|
2749
2749
|
main: green$1[500],
|
|
2750
2750
|
dark: green$1[700]
|
|
2751
|
-
} : _palette$success, _palette$type = palette2.type, type3 = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette2.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette2.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties$
|
|
2751
|
+
} : _palette$success, _palette$type = palette2.type, type3 = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette2.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette2.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties$3(palette2, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
|
|
2752
2752
|
function getContrastText(background) {
|
|
2753
2753
|
var contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
|
|
2754
2754
|
{
|
|
@@ -2840,7 +2840,7 @@ var caseAllCaps = {
|
|
|
2840
2840
|
};
|
|
2841
2841
|
var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2842
2842
|
function createTypography(palette2, typography2) {
|
|
2843
|
-
var _ref3 = typeof typography2 === "function" ? typography2(palette2) : typography2, _ref$fontFamily = _ref3.fontFamily, fontFamily2 = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref3.fontSize, fontSize2 = _ref$fontSize === void 0 ? 14 : _ref$fontSize, _ref$fontWeightLight = _ref3.fontWeightLight, fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, _ref$fontWeightRegula = _ref3.fontWeightRegular, fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, _ref$fontWeightMedium = _ref3.fontWeightMedium, fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, _ref$fontWeightBold = _ref3.fontWeightBold, fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, _ref$htmlFontSize = _ref3.htmlFontSize, htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, allVariants = _ref3.allVariants, pxToRem2 = _ref3.pxToRem, other = _objectWithoutProperties$
|
|
2843
|
+
var _ref3 = typeof typography2 === "function" ? typography2(palette2) : typography2, _ref$fontFamily = _ref3.fontFamily, fontFamily2 = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref3.fontSize, fontSize2 = _ref$fontSize === void 0 ? 14 : _ref$fontSize, _ref$fontWeightLight = _ref3.fontWeightLight, fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, _ref$fontWeightRegula = _ref3.fontWeightRegular, fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, _ref$fontWeightMedium = _ref3.fontWeightMedium, fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, _ref$fontWeightBold = _ref3.fontWeightBold, fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, _ref$htmlFontSize = _ref3.htmlFontSize, htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, allVariants = _ref3.allVariants, pxToRem2 = _ref3.pxToRem, other = _objectWithoutProperties$3(_ref3, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
|
|
2844
2844
|
{
|
|
2845
2845
|
if (typeof fontSize2 !== "number") {
|
|
2846
2846
|
console.error("Material-UI: `fontSize` is required to be a number.");
|
|
@@ -2912,9 +2912,8 @@ const responsivePropType$1 = responsivePropType;
|
|
|
2912
2912
|
function _arrayLikeToArray$3(arr, len) {
|
|
2913
2913
|
if (len == null || len > arr.length)
|
|
2914
2914
|
len = arr.length;
|
|
2915
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
2915
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
2916
2916
|
arr2[i] = arr[i];
|
|
2917
|
-
}
|
|
2918
2917
|
return arr2;
|
|
2919
2918
|
}
|
|
2920
2919
|
function _arrayWithoutHoles$2(arr) {
|
|
@@ -2944,14 +2943,6 @@ function _nonIterableSpread$2() {
|
|
|
2944
2943
|
function _toConsumableArray$2(arr) {
|
|
2945
2944
|
return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$3(arr) || _nonIterableSpread$2();
|
|
2946
2945
|
}
|
|
2947
|
-
function _typeof$7(obj) {
|
|
2948
|
-
"@babel/helpers - typeof";
|
|
2949
|
-
return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
2950
|
-
return typeof obj2;
|
|
2951
|
-
} : function(obj2) {
|
|
2952
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
2953
|
-
}, _typeof$7(obj);
|
|
2954
|
-
}
|
|
2955
2946
|
function merge(acc, item) {
|
|
2956
2947
|
if (!item) {
|
|
2957
2948
|
return acc;
|
|
@@ -2989,7 +2980,7 @@ function handleBreakpoints(props, propValue, styleFromPropValue) {
|
|
|
2989
2980
|
return acc;
|
|
2990
2981
|
}, {});
|
|
2991
2982
|
}
|
|
2992
|
-
if (_typeof$
|
|
2983
|
+
if (_typeof$8(propValue) === "object") {
|
|
2993
2984
|
var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
|
|
2994
2985
|
return Object.keys(propValue).reduce(function(acc, breakpoint) {
|
|
2995
2986
|
acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
|
|
@@ -3031,11 +3022,11 @@ function style$1(options) {
|
|
|
3031
3022
|
if (cssProperty === false) {
|
|
3032
3023
|
return value;
|
|
3033
3024
|
}
|
|
3034
|
-
return _defineProperty$
|
|
3025
|
+
return _defineProperty$b({}, cssProperty, value);
|
|
3035
3026
|
};
|
|
3036
3027
|
return handleBreakpoints(props, propValue, styleFromPropValue);
|
|
3037
3028
|
};
|
|
3038
|
-
fn.propTypes = _defineProperty$
|
|
3029
|
+
fn.propTypes = _defineProperty$b({}, prop, responsivePropType$1);
|
|
3039
3030
|
fn.filterProps = [prop];
|
|
3040
3031
|
return fn;
|
|
3041
3032
|
}
|
|
@@ -3053,7 +3044,7 @@ function compose() {
|
|
|
3053
3044
|
}, {});
|
|
3054
3045
|
};
|
|
3055
3046
|
fn.propTypes = styles20.reduce(function(acc, style) {
|
|
3056
|
-
return _extends$
|
|
3047
|
+
return _extends$6(acc, style.propTypes);
|
|
3057
3048
|
}, {});
|
|
3058
3049
|
fn.filterProps = styles20.reduce(function(acc, style) {
|
|
3059
3050
|
return acc.concat(style.filterProps);
|
|
@@ -3115,18 +3106,18 @@ function styleFunctionSx(styleFunction2) {
|
|
|
3115
3106
|
var newStyleFunction = function newStyleFunction2(props) {
|
|
3116
3107
|
var output = styleFunction2(props);
|
|
3117
3108
|
if (props.css) {
|
|
3118
|
-
return _extends$
|
|
3109
|
+
return _extends$6({}, merge(output, styleFunction2(_extends$6({
|
|
3119
3110
|
theme: props.theme
|
|
3120
3111
|
}, props.css))), omit$1(props.css, [styleFunction2.filterProps]));
|
|
3121
3112
|
}
|
|
3122
3113
|
if (props.sx) {
|
|
3123
|
-
return _extends$
|
|
3114
|
+
return _extends$6({}, merge(output, styleFunction2(_extends$6({
|
|
3124
3115
|
theme: props.theme
|
|
3125
3116
|
}, props.sx))), omit$1(props.sx, [styleFunction2.filterProps]));
|
|
3126
3117
|
}
|
|
3127
3118
|
return output;
|
|
3128
3119
|
};
|
|
3129
|
-
newStyleFunction.propTypes = _extends$
|
|
3120
|
+
newStyleFunction.propTypes = _extends$6({}, styleFunction2.propTypes, {
|
|
3130
3121
|
css: chainPropTypes(PropTypes.object, function(props) {
|
|
3131
3122
|
if (!warnedOnce && props.css !== void 0) {
|
|
3132
3123
|
warnedOnce = true;
|
|
@@ -3323,43 +3314,41 @@ var boxSizing = style$1({
|
|
|
3323
3314
|
});
|
|
3324
3315
|
var sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
|
|
3325
3316
|
const sizing$1 = sizing;
|
|
3326
|
-
function _arrayWithHoles$
|
|
3317
|
+
function _arrayWithHoles$3(arr) {
|
|
3327
3318
|
if (Array.isArray(arr))
|
|
3328
3319
|
return arr;
|
|
3329
3320
|
}
|
|
3330
|
-
function _iterableToArrayLimit$
|
|
3331
|
-
var _i =
|
|
3332
|
-
if (
|
|
3333
|
-
|
|
3334
|
-
var _arr = [];
|
|
3335
|
-
var _n = true;
|
|
3336
|
-
var _d = false;
|
|
3337
|
-
var _s, _e;
|
|
3338
|
-
try {
|
|
3339
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
3340
|
-
_arr.push(_s.value);
|
|
3341
|
-
if (i && _arr.length === i)
|
|
3342
|
-
break;
|
|
3343
|
-
}
|
|
3344
|
-
} catch (err) {
|
|
3345
|
-
_d = true;
|
|
3346
|
-
_e = err;
|
|
3347
|
-
} finally {
|
|
3321
|
+
function _iterableToArrayLimit$3(arr, i) {
|
|
3322
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
3323
|
+
if (null != _i) {
|
|
3324
|
+
var _s, _e, _x, _r, _arr = [], _n = true, _d = false;
|
|
3348
3325
|
try {
|
|
3349
|
-
if (
|
|
3350
|
-
_i
|
|
3326
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
3327
|
+
if (Object(_i) !== _i)
|
|
3328
|
+
return;
|
|
3329
|
+
_n = false;
|
|
3330
|
+
} else
|
|
3331
|
+
for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = true)
|
|
3332
|
+
;
|
|
3333
|
+
} catch (err) {
|
|
3334
|
+
_d = true, _e = err;
|
|
3351
3335
|
} finally {
|
|
3352
|
-
|
|
3353
|
-
|
|
3336
|
+
try {
|
|
3337
|
+
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r))
|
|
3338
|
+
return;
|
|
3339
|
+
} finally {
|
|
3340
|
+
if (_d)
|
|
3341
|
+
throw _e;
|
|
3342
|
+
}
|
|
3354
3343
|
}
|
|
3344
|
+
return _arr;
|
|
3355
3345
|
}
|
|
3356
|
-
return _arr;
|
|
3357
3346
|
}
|
|
3358
|
-
function _nonIterableRest$
|
|
3347
|
+
function _nonIterableRest$3() {
|
|
3359
3348
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3360
3349
|
}
|
|
3361
|
-
function _slicedToArray$
|
|
3362
|
-
return _arrayWithHoles$
|
|
3350
|
+
function _slicedToArray$3(arr, i) {
|
|
3351
|
+
return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i) || _unsupportedIterableToArray$3(arr, i) || _nonIterableRest$3();
|
|
3363
3352
|
}
|
|
3364
3353
|
function memoize$2(fn) {
|
|
3365
3354
|
var cache2 = {};
|
|
@@ -3396,7 +3385,7 @@ var getCssProperties = memoize$2(function(prop) {
|
|
|
3396
3385
|
return [prop];
|
|
3397
3386
|
}
|
|
3398
3387
|
}
|
|
3399
|
-
var _prop$split = prop.split(""), _prop$split2 = _slicedToArray$
|
|
3388
|
+
var _prop$split = prop.split(""), _prop$split2 = _slicedToArray$3(_prop$split, 2), a = _prop$split2[0], b = _prop$split2[1];
|
|
3400
3389
|
var property2 = properties[a];
|
|
3401
3390
|
var direction = directions[b] || "";
|
|
3402
3391
|
return Array.isArray(direction) ? direction.map(function(dir) {
|
|
@@ -3582,7 +3571,7 @@ const transitions = {
|
|
|
3582
3571
|
create: function create() {
|
|
3583
3572
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["all"];
|
|
3584
3573
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3585
|
-
var _options$duration = options.duration, durationOption = _options$duration === void 0 ? duration.standard : _options$duration, _options$easing = options.easing, easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing, _options$delay = options.delay, delay = _options$delay === void 0 ? 0 : _options$delay, other = _objectWithoutProperties$
|
|
3574
|
+
var _options$duration = options.duration, durationOption = _options$duration === void 0 ? duration.standard : _options$duration, _options$easing = options.easing, easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing, _options$delay = options.delay, delay = _options$delay === void 0 ? 0 : _options$delay, other = _objectWithoutProperties$3(options, ["duration", "easing", "delay"]);
|
|
3586
3575
|
{
|
|
3587
3576
|
var isString = function isString2(value) {
|
|
3588
3577
|
return typeof value === "string";
|
|
@@ -3630,7 +3619,7 @@ var zIndex = {
|
|
|
3630
3619
|
const zIndex$1 = zIndex;
|
|
3631
3620
|
function createTheme() {
|
|
3632
3621
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3633
|
-
var _options$breakpoints = options.breakpoints, breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints, _options$mixins = options.mixins, mixinsInput = _options$mixins === void 0 ? {} : _options$mixins, _options$palette = options.palette, paletteInput = _options$palette === void 0 ? {} : _options$palette, spacingInput = options.spacing, _options$typography = options.typography, typographyInput = _options$typography === void 0 ? {} : _options$typography, other = _objectWithoutProperties$
|
|
3622
|
+
var _options$breakpoints = options.breakpoints, breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints, _options$mixins = options.mixins, mixinsInput = _options$mixins === void 0 ? {} : _options$mixins, _options$palette = options.palette, paletteInput = _options$palette === void 0 ? {} : _options$palette, spacingInput = options.spacing, _options$typography = options.typography, typographyInput = _options$typography === void 0 ? {} : _options$typography, other = _objectWithoutProperties$3(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
|
|
3634
3623
|
var palette2 = createPalette(paletteInput);
|
|
3635
3624
|
var breakpoints = createBreakpoints(breakpointsInput);
|
|
3636
3625
|
var spacing2 = createSpacing(spacingInput);
|
|
@@ -3749,12 +3738,12 @@ function warning(condition, message) {
|
|
|
3749
3738
|
}
|
|
3750
3739
|
}
|
|
3751
3740
|
}
|
|
3752
|
-
var _typeof$
|
|
3741
|
+
var _typeof$7 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
|
3753
3742
|
return typeof obj;
|
|
3754
3743
|
} : function(obj) {
|
|
3755
3744
|
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
3756
3745
|
};
|
|
3757
|
-
var isBrowser$1 = (typeof window === "undefined" ? "undefined" : _typeof$
|
|
3746
|
+
var isBrowser$1 = (typeof window === "undefined" ? "undefined" : _typeof$7(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$7(document)) === "object" && document.nodeType === 9;
|
|
3758
3747
|
function _defineProperties$6(target, props) {
|
|
3759
3748
|
for (var i = 0; i < props.length; i++) {
|
|
3760
3749
|
var descriptor = props[i];
|
|
@@ -5759,40 +5748,6 @@ function defaultUnit(options) {
|
|
|
5759
5748
|
onChangeValue: onChangeValue2
|
|
5760
5749
|
};
|
|
5761
5750
|
}
|
|
5762
|
-
function _arrayLikeToArray$2(arr, len) {
|
|
5763
|
-
if (len == null || len > arr.length)
|
|
5764
|
-
len = arr.length;
|
|
5765
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
5766
|
-
arr2[i] = arr[i];
|
|
5767
|
-
return arr2;
|
|
5768
|
-
}
|
|
5769
|
-
function _arrayWithoutHoles$1(arr) {
|
|
5770
|
-
if (Array.isArray(arr))
|
|
5771
|
-
return _arrayLikeToArray$2(arr);
|
|
5772
|
-
}
|
|
5773
|
-
function _iterableToArray$1(iter) {
|
|
5774
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
5775
|
-
return Array.from(iter);
|
|
5776
|
-
}
|
|
5777
|
-
function _unsupportedIterableToArray$2(o, minLen) {
|
|
5778
|
-
if (!o)
|
|
5779
|
-
return;
|
|
5780
|
-
if (typeof o === "string")
|
|
5781
|
-
return _arrayLikeToArray$2(o, minLen);
|
|
5782
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
5783
|
-
if (n === "Object" && o.constructor)
|
|
5784
|
-
n = o.constructor.name;
|
|
5785
|
-
if (n === "Map" || n === "Set")
|
|
5786
|
-
return Array.from(o);
|
|
5787
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
5788
|
-
return _arrayLikeToArray$2(o, minLen);
|
|
5789
|
-
}
|
|
5790
|
-
function _nonIterableSpread$1() {
|
|
5791
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5792
|
-
}
|
|
5793
|
-
function _toConsumableArray$1(arr) {
|
|
5794
|
-
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$1();
|
|
5795
|
-
}
|
|
5796
5751
|
var js = "";
|
|
5797
5752
|
var css = "";
|
|
5798
5753
|
var vendor = "";
|
|
@@ -6063,7 +6018,7 @@ var propertyDetectors = plugins.filter(function(p) {
|
|
|
6063
6018
|
var noPrefill = plugins.filter(function(p) {
|
|
6064
6019
|
return p.noPrefill;
|
|
6065
6020
|
}).reduce(function(a, p) {
|
|
6066
|
-
a.push.apply(a, _toConsumableArray$
|
|
6021
|
+
a.push.apply(a, _toConsumableArray$2(p.noPrefill));
|
|
6067
6022
|
return a;
|
|
6068
6023
|
}, []);
|
|
6069
6024
|
var el;
|
|
@@ -6239,13 +6194,31 @@ function jssPreset() {
|
|
|
6239
6194
|
]
|
|
6240
6195
|
};
|
|
6241
6196
|
}
|
|
6197
|
+
function _objectWithoutProperties$2(source, excluded) {
|
|
6198
|
+
if (source == null)
|
|
6199
|
+
return {};
|
|
6200
|
+
var target = _objectWithoutPropertiesLoose$4(source, excluded);
|
|
6201
|
+
var key, i;
|
|
6202
|
+
if (Object.getOwnPropertySymbols) {
|
|
6203
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
6204
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
6205
|
+
key = sourceSymbolKeys[i];
|
|
6206
|
+
if (excluded.indexOf(key) >= 0)
|
|
6207
|
+
continue;
|
|
6208
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
6209
|
+
continue;
|
|
6210
|
+
target[key] = source[key];
|
|
6211
|
+
}
|
|
6212
|
+
}
|
|
6213
|
+
return target;
|
|
6214
|
+
}
|
|
6242
6215
|
function mergeClasses() {
|
|
6243
6216
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6244
6217
|
var baseClasses = options.baseClasses, newClasses = options.newClasses, Component = options.Component;
|
|
6245
6218
|
if (!newClasses) {
|
|
6246
6219
|
return baseClasses;
|
|
6247
6220
|
}
|
|
6248
|
-
var nextClasses = _extends$
|
|
6221
|
+
var nextClasses = _extends$6({}, baseClasses);
|
|
6249
6222
|
{
|
|
6250
6223
|
if (typeof newClasses === "string") {
|
|
6251
6224
|
console.error(["Material-UI: The value `".concat(newClasses, "` ") + "provided to the classes prop of ".concat(getDisplayName(Component), " is incorrect."), "You might want to use the className prop instead."].join("\n"));
|
|
@@ -6317,7 +6290,7 @@ var injectFirstNode;
|
|
|
6317
6290
|
function StylesProvider(props) {
|
|
6318
6291
|
var children2 = props.children, _props$injectFirst = props.injectFirst, injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst, _props$disableGenerat = props.disableGeneration, disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat, localOptions = _objectWithoutProperties$2(props, ["children", "injectFirst", "disableGeneration"]);
|
|
6319
6292
|
var outerOptions = React__default.useContext(StylesContext);
|
|
6320
|
-
var context = _extends$
|
|
6293
|
+
var context = _extends$6({}, outerOptions, {
|
|
6321
6294
|
disableGeneration
|
|
6322
6295
|
}, localOptions);
|
|
6323
6296
|
{
|
|
@@ -6422,7 +6395,7 @@ const noopTheme$1 = noopTheme;
|
|
|
6422
6395
|
function getStylesCreator(stylesOrCreator) {
|
|
6423
6396
|
var themingEnabled = typeof stylesOrCreator === "function";
|
|
6424
6397
|
{
|
|
6425
|
-
if (_typeof$
|
|
6398
|
+
if (_typeof$8(stylesOrCreator) !== "object" && !themingEnabled) {
|
|
6426
6399
|
console.error(["Material-UI: The `styles` argument provided is invalid.", "You need to provide a function generating the styles or a styles object."].join("\n"));
|
|
6427
6400
|
}
|
|
6428
6401
|
}
|
|
@@ -6443,7 +6416,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
6443
6416
|
return styles20;
|
|
6444
6417
|
}
|
|
6445
6418
|
var overrides = theme.overrides[name];
|
|
6446
|
-
var stylesWithOverrides = _extends$
|
|
6419
|
+
var stylesWithOverrides = _extends$6({}, styles20);
|
|
6447
6420
|
Object.keys(overrides).forEach(function(key) {
|
|
6448
6421
|
{
|
|
6449
6422
|
if (!stylesWithOverrides[key]) {
|
|
@@ -6504,7 +6477,7 @@ function attach(_ref22, props) {
|
|
|
6504
6477
|
};
|
|
6505
6478
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
6506
6479
|
}
|
|
6507
|
-
var options = _extends$
|
|
6480
|
+
var options = _extends$6({}, stylesCreator.options, stylesOptions, {
|
|
6508
6481
|
theme,
|
|
6509
6482
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
|
6510
6483
|
});
|
|
@@ -6517,7 +6490,7 @@ function attach(_ref22, props) {
|
|
|
6517
6490
|
}
|
|
6518
6491
|
var styles20 = stylesCreator.create(theme, name);
|
|
6519
6492
|
if (!staticSheet) {
|
|
6520
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles20, _extends$
|
|
6493
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles20, _extends$6({
|
|
6521
6494
|
link: false
|
|
6522
6495
|
}, options));
|
|
6523
6496
|
staticSheet.attach();
|
|
@@ -6532,7 +6505,7 @@ function attach(_ref22, props) {
|
|
|
6532
6505
|
sheetManager.dynamicStyles = getDynamicStyles(styles20);
|
|
6533
6506
|
}
|
|
6534
6507
|
if (sheetManager.dynamicStyles) {
|
|
6535
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$
|
|
6508
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$6({
|
|
6536
6509
|
link: true
|
|
6537
6510
|
}, options));
|
|
6538
6511
|
dynamicSheet.update(props);
|
|
@@ -6614,7 +6587,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
6614
6587
|
var useStyles2 = function useStyles3() {
|
|
6615
6588
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6616
6589
|
var theme = useTheme$1() || defaultTheme2;
|
|
6617
|
-
var stylesOptions = _extends$
|
|
6590
|
+
var stylesOptions = _extends$6({}, React__default.useContext(StylesContext), stylesOptions2);
|
|
6618
6591
|
var instance = React__default.useRef();
|
|
6619
6592
|
var shouldUpdate = React__default.useRef();
|
|
6620
6593
|
useSynchronousEffect(function() {
|
|
@@ -6646,31 +6619,6 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
6646
6619
|
};
|
|
6647
6620
|
return useStyles2;
|
|
6648
6621
|
}
|
|
6649
|
-
function _classCallCheck$5(instance, Constructor) {
|
|
6650
|
-
if (!(instance instanceof Constructor)) {
|
|
6651
|
-
throw new TypeError("Cannot call a class as a function");
|
|
6652
|
-
}
|
|
6653
|
-
}
|
|
6654
|
-
function _defineProperties$5(target, props) {
|
|
6655
|
-
for (var i = 0; i < props.length; i++) {
|
|
6656
|
-
var descriptor = props[i];
|
|
6657
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
6658
|
-
descriptor.configurable = true;
|
|
6659
|
-
if ("value" in descriptor)
|
|
6660
|
-
descriptor.writable = true;
|
|
6661
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
6662
|
-
}
|
|
6663
|
-
}
|
|
6664
|
-
function _createClass$5(Constructor, protoProps, staticProps) {
|
|
6665
|
-
if (protoProps)
|
|
6666
|
-
_defineProperties$5(Constructor.prototype, protoProps);
|
|
6667
|
-
if (staticProps)
|
|
6668
|
-
_defineProperties$5(Constructor, staticProps);
|
|
6669
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
6670
|
-
writable: false
|
|
6671
|
-
});
|
|
6672
|
-
return Constructor;
|
|
6673
|
-
}
|
|
6674
6622
|
function r(e) {
|
|
6675
6623
|
var t2, f, n = "";
|
|
6676
6624
|
if ("string" == typeof e || "number" == typeof e)
|
|
@@ -6804,7 +6752,7 @@ function styled$2(Component) {
|
|
|
6804
6752
|
var stylesOrCreator = typeof style === "function" ? function(theme) {
|
|
6805
6753
|
return {
|
|
6806
6754
|
root: function root2(props) {
|
|
6807
|
-
return style(_extends$
|
|
6755
|
+
return style(_extends$6({
|
|
6808
6756
|
theme
|
|
6809
6757
|
}, props));
|
|
6810
6758
|
}
|
|
@@ -6812,7 +6760,7 @@ function styled$2(Component) {
|
|
|
6812
6760
|
} : {
|
|
6813
6761
|
root: style
|
|
6814
6762
|
};
|
|
6815
|
-
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$
|
|
6763
|
+
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$6({
|
|
6816
6764
|
Component,
|
|
6817
6765
|
name: name || Component.displayName,
|
|
6818
6766
|
classNamePrefix
|
|
@@ -6836,22 +6784,22 @@ function styled$2(Component) {
|
|
|
6836
6784
|
spread = omit(spread, filterProps);
|
|
6837
6785
|
}
|
|
6838
6786
|
if (clone) {
|
|
6839
|
-
return /* @__PURE__ */ React__default.cloneElement(children2, _extends$
|
|
6787
|
+
return /* @__PURE__ */ React__default.cloneElement(children2, _extends$6({
|
|
6840
6788
|
className: clsx(children2.props.className, className)
|
|
6841
6789
|
}, spread));
|
|
6842
6790
|
}
|
|
6843
6791
|
if (typeof children2 === "function") {
|
|
6844
|
-
return children2(_extends$
|
|
6792
|
+
return children2(_extends$6({
|
|
6845
6793
|
className
|
|
6846
6794
|
}, spread));
|
|
6847
6795
|
}
|
|
6848
6796
|
var FinalComponent = ComponentProp || Component;
|
|
6849
|
-
return /* @__PURE__ */ React__default.createElement(FinalComponent, _extends$
|
|
6797
|
+
return /* @__PURE__ */ React__default.createElement(FinalComponent, _extends$6({
|
|
6850
6798
|
ref,
|
|
6851
6799
|
className
|
|
6852
6800
|
}, spread), children2);
|
|
6853
6801
|
});
|
|
6854
|
-
StyledComponent.propTypes = _extends$
|
|
6802
|
+
StyledComponent.propTypes = _extends$6({
|
|
6855
6803
|
/**
|
|
6856
6804
|
* A render function or node.
|
|
6857
6805
|
*/
|
|
@@ -6896,7 +6844,7 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
|
|
|
6896
6844
|
}
|
|
6897
6845
|
return mergedTheme;
|
|
6898
6846
|
}
|
|
6899
|
-
return _extends$
|
|
6847
|
+
return _extends$6({}, outerTheme, localTheme);
|
|
6900
6848
|
}
|
|
6901
6849
|
function ThemeProvider(props) {
|
|
6902
6850
|
var children2 = props.children, localTheme = props.theme;
|
|
@@ -6948,7 +6896,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
6948
6896
|
}
|
|
6949
6897
|
}
|
|
6950
6898
|
}
|
|
6951
|
-
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$
|
|
6899
|
+
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$6({
|
|
6952
6900
|
defaultTheme: defaultTheme2,
|
|
6953
6901
|
Component,
|
|
6954
6902
|
name: name || Component.displayName,
|
|
@@ -6957,7 +6905,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
6957
6905
|
var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props, ref) {
|
|
6958
6906
|
props.classes;
|
|
6959
6907
|
var innerRef = props.innerRef, other = _objectWithoutProperties$2(props, ["classes", "innerRef"]);
|
|
6960
|
-
var classes = useStyles2(_extends$
|
|
6908
|
+
var classes = useStyles2(_extends$6({}, Component.defaultProps, props));
|
|
6961
6909
|
var theme;
|
|
6962
6910
|
var more = other;
|
|
6963
6911
|
if (typeof name === "string" || withTheme) {
|
|
@@ -6973,7 +6921,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
6973
6921
|
more.theme = theme;
|
|
6974
6922
|
}
|
|
6975
6923
|
}
|
|
6976
|
-
return /* @__PURE__ */ React__default.createElement(Component, _extends$
|
|
6924
|
+
return /* @__PURE__ */ React__default.createElement(Component, _extends$6({
|
|
6977
6925
|
ref: innerRef || ref,
|
|
6978
6926
|
classes
|
|
6979
6927
|
}, more));
|
|
@@ -7115,7 +7063,7 @@ var styles$t = function styles(theme) {
|
|
|
7115
7063
|
};
|
|
7116
7064
|
};
|
|
7117
7065
|
var SvgIcon = /* @__PURE__ */ React$6.forwardRef(function SvgIcon2(props, ref) {
|
|
7118
|
-
var children2 = props.children, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize2 = _props$fontSize === void 0 ? "medium" : _props$fontSize, htmlColor = props.htmlColor, titleAccess = props.titleAccess, _props$viewBox = props.viewBox, viewBox = _props$viewBox === void 0 ? "0 0 24 24" : _props$viewBox, other = _objectWithoutProperties$
|
|
7066
|
+
var children2 = props.children, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize2 = _props$fontSize === void 0 ? "medium" : _props$fontSize, htmlColor = props.htmlColor, titleAccess = props.titleAccess, _props$viewBox = props.viewBox, viewBox = _props$viewBox === void 0 ? "0 0 24 24" : _props$viewBox, other = _objectWithoutProperties$3(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
|
7119
7067
|
return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
|
|
7120
7068
|
className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize$1(color2))], fontSize2 !== "default" && fontSize2 !== "medium" && classes["fontSize".concat(capitalize$1(fontSize2))]),
|
|
7121
7069
|
focusable: "false",
|
|
@@ -7381,6 +7329,69 @@ function useIsFocusVisible() {
|
|
|
7381
7329
|
ref
|
|
7382
7330
|
};
|
|
7383
7331
|
}
|
|
7332
|
+
function _arrayWithHoles$2(arr) {
|
|
7333
|
+
if (Array.isArray(arr))
|
|
7334
|
+
return arr;
|
|
7335
|
+
}
|
|
7336
|
+
function _iterableToArray$1(iter) {
|
|
7337
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
7338
|
+
return Array.from(iter);
|
|
7339
|
+
}
|
|
7340
|
+
function _arrayLikeToArray$2(arr, len) {
|
|
7341
|
+
if (len == null || len > arr.length)
|
|
7342
|
+
len = arr.length;
|
|
7343
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
7344
|
+
arr2[i] = arr[i];
|
|
7345
|
+
}
|
|
7346
|
+
return arr2;
|
|
7347
|
+
}
|
|
7348
|
+
function _unsupportedIterableToArray$2(o, minLen) {
|
|
7349
|
+
if (!o)
|
|
7350
|
+
return;
|
|
7351
|
+
if (typeof o === "string")
|
|
7352
|
+
return _arrayLikeToArray$2(o, minLen);
|
|
7353
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7354
|
+
if (n === "Object" && o.constructor)
|
|
7355
|
+
n = o.constructor.name;
|
|
7356
|
+
if (n === "Map" || n === "Set")
|
|
7357
|
+
return Array.from(o);
|
|
7358
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
7359
|
+
return _arrayLikeToArray$2(o, minLen);
|
|
7360
|
+
}
|
|
7361
|
+
function _nonIterableRest$2() {
|
|
7362
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7363
|
+
}
|
|
7364
|
+
function _iterableToArrayLimit$2(arr, i) {
|
|
7365
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
7366
|
+
if (_i == null)
|
|
7367
|
+
return;
|
|
7368
|
+
var _arr = [];
|
|
7369
|
+
var _n = true;
|
|
7370
|
+
var _d = false;
|
|
7371
|
+
var _s, _e;
|
|
7372
|
+
try {
|
|
7373
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
7374
|
+
_arr.push(_s.value);
|
|
7375
|
+
if (i && _arr.length === i)
|
|
7376
|
+
break;
|
|
7377
|
+
}
|
|
7378
|
+
} catch (err) {
|
|
7379
|
+
_d = true;
|
|
7380
|
+
_e = err;
|
|
7381
|
+
} finally {
|
|
7382
|
+
try {
|
|
7383
|
+
if (!_n && _i["return"] != null)
|
|
7384
|
+
_i["return"]();
|
|
7385
|
+
} finally {
|
|
7386
|
+
if (_d)
|
|
7387
|
+
throw _e;
|
|
7388
|
+
}
|
|
7389
|
+
}
|
|
7390
|
+
return _arr;
|
|
7391
|
+
}
|
|
7392
|
+
function _slicedToArray$2(arr, i) {
|
|
7393
|
+
return _arrayWithHoles$2(arr) || _iterableToArrayLimit$2(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest$2();
|
|
7394
|
+
}
|
|
7384
7395
|
const config = {
|
|
7385
7396
|
disabled: false
|
|
7386
7397
|
};
|
|
@@ -8094,7 +8105,7 @@ var styles$s = function styles2(theme) {
|
|
|
8094
8105
|
}, elevations);
|
|
8095
8106
|
};
|
|
8096
8107
|
var Paper = /* @__PURE__ */ React$6.forwardRef(function Paper2(props, ref) {
|
|
8097
|
-
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, _props$square = props.square, square = _props$square === void 0 ? false : _props$square, _props$elevation = props.elevation, elevation = _props$elevation === void 0 ? 1 : _props$elevation, _props$variant = props.variant, variant = _props$variant === void 0 ? "elevation" : _props$variant, other = _objectWithoutProperties$
|
|
8108
|
+
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, _props$square = props.square, square = _props$square === void 0 ? false : _props$square, _props$elevation = props.elevation, elevation = _props$elevation === void 0 ? 1 : _props$elevation, _props$variant = props.variant, variant = _props$variant === void 0 ? "elevation" : _props$variant, other = _objectWithoutProperties$3(props, ["classes", "className", "component", "square", "elevation", "variant"]);
|
|
8098
8109
|
return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
|
|
8099
8110
|
className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
|
|
8100
8111
|
ref
|
|
@@ -8149,6 +8160,16 @@ Paper.propTypes = {
|
|
|
8149
8160
|
const Paper$1 = withStyles2(styles$s, {
|
|
8150
8161
|
name: "MuiPaper"
|
|
8151
8162
|
})(Paper);
|
|
8163
|
+
function _arrayWithoutHoles$1(arr) {
|
|
8164
|
+
if (Array.isArray(arr))
|
|
8165
|
+
return _arrayLikeToArray$2(arr);
|
|
8166
|
+
}
|
|
8167
|
+
function _nonIterableSpread$1() {
|
|
8168
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8169
|
+
}
|
|
8170
|
+
function _toConsumableArray$1(arr) {
|
|
8171
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$1();
|
|
8172
|
+
}
|
|
8152
8173
|
var useEnhancedEffect$6 = typeof window === "undefined" ? React$6.useEffect : React$6.useLayoutEffect;
|
|
8153
8174
|
function Ripple(props) {
|
|
8154
8175
|
var classes = props.classes, _props$pulsate = props.pulsate, pulsate = _props$pulsate === void 0 ? false : _props$pulsate, rippleX = props.rippleX, rippleY = props.rippleY, rippleSize = props.rippleSize, inProp = props.in, _props$onExited = props.onExited, onExited = _props$onExited === void 0 ? function() {
|
|
@@ -8299,7 +8320,7 @@ var styles$r = function styles3(theme) {
|
|
|
8299
8320
|
};
|
|
8300
8321
|
};
|
|
8301
8322
|
var TouchRipple = /* @__PURE__ */ React$6.forwardRef(function TouchRipple2(props, ref) {
|
|
8302
|
-
var _props$center = props.center, centerProp = _props$center === void 0 ? false : _props$center, classes = props.classes, className = props.className, other = _objectWithoutProperties$
|
|
8323
|
+
var _props$center = props.center, centerProp = _props$center === void 0 ? false : _props$center, classes = props.classes, className = props.className, other = _objectWithoutProperties$3(props, ["center", "classes", "className"]);
|
|
8303
8324
|
var _React$useState = React$6.useState([]), ripples = _React$useState[0], setRipples = _React$useState[1];
|
|
8304
8325
|
var nextKey = React$6.useRef(0);
|
|
8305
8326
|
var rippleCallback = React$6.useRef(null);
|
|
@@ -8321,7 +8342,7 @@ var TouchRipple = /* @__PURE__ */ React$6.forwardRef(function TouchRipple2(props
|
|
|
8321
8342
|
var startCommit = React$6.useCallback(function(params) {
|
|
8322
8343
|
var pulsate2 = params.pulsate, rippleX = params.rippleX, rippleY = params.rippleY, rippleSize = params.rippleSize, cb = params.cb;
|
|
8323
8344
|
setRipples(function(oldRipples) {
|
|
8324
|
-
return [].concat(_toConsumableArray$
|
|
8345
|
+
return [].concat(_toConsumableArray$1(oldRipples), [/* @__PURE__ */ React$6.createElement(Ripple, {
|
|
8325
8346
|
key: nextKey.current,
|
|
8326
8347
|
classes,
|
|
8327
8348
|
timeout: DURATION,
|
|
@@ -8509,7 +8530,7 @@ var styles$q = {
|
|
|
8509
8530
|
focusVisible: {}
|
|
8510
8531
|
};
|
|
8511
8532
|
var ButtonBase = /* @__PURE__ */ React$6.forwardRef(function ButtonBase2(props, ref) {
|
|
8512
|
-
var action = props.action, buttonRefProp = props.buttonRef, _props$centerRipple = props.centerRipple, centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, children2 = props.children, classes = props.classes, className = props.className, _props$component = props.component, component = _props$component === void 0 ? "button" : _props$component, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableRipple = props.disableRipple, disableRipple = _props$disableRipple === void 0 ? false : _props$disableRipple, _props$disableTouchRi = props.disableTouchRipple, disableTouchRipple = _props$disableTouchRi === void 0 ? false : _props$disableTouchRi, _props$focusRipple = props.focusRipple, focusRipple = _props$focusRipple === void 0 ? false : _props$focusRipple, focusVisibleClassName = props.focusVisibleClassName, onBlur = props.onBlur, onClick = props.onClick, onFocus = props.onFocus, onFocusVisible = props.onFocusVisible, onKeyDown = props.onKeyDown, onKeyUp = props.onKeyUp, onMouseDown2 = props.onMouseDown, onMouseLeave = props.onMouseLeave, onMouseUp = props.onMouseUp, onTouchEnd = props.onTouchEnd, onTouchMove = props.onTouchMove, onTouchStart = props.onTouchStart, onDragLeave = props.onDragLeave, _props$tabIndex = props.tabIndex, tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, TouchRippleProps = props.TouchRippleProps, _props$type = props.type, type3 = _props$type === void 0 ? "button" : _props$type, other = _objectWithoutProperties$
|
|
8533
|
+
var action = props.action, buttonRefProp = props.buttonRef, _props$centerRipple = props.centerRipple, centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, children2 = props.children, classes = props.classes, className = props.className, _props$component = props.component, component = _props$component === void 0 ? "button" : _props$component, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableRipple = props.disableRipple, disableRipple = _props$disableRipple === void 0 ? false : _props$disableRipple, _props$disableTouchRi = props.disableTouchRipple, disableTouchRipple = _props$disableTouchRi === void 0 ? false : _props$disableTouchRi, _props$focusRipple = props.focusRipple, focusRipple = _props$focusRipple === void 0 ? false : _props$focusRipple, focusVisibleClassName = props.focusVisibleClassName, onBlur = props.onBlur, onClick = props.onClick, onFocus = props.onFocus, onFocusVisible = props.onFocusVisible, onKeyDown = props.onKeyDown, onKeyUp = props.onKeyUp, onMouseDown2 = props.onMouseDown, onMouseLeave = props.onMouseLeave, onMouseUp = props.onMouseUp, onTouchEnd = props.onTouchEnd, onTouchMove = props.onTouchMove, onTouchStart = props.onTouchStart, onDragLeave = props.onDragLeave, _props$tabIndex = props.tabIndex, tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, TouchRippleProps = props.TouchRippleProps, _props$type = props.type, type3 = _props$type === void 0 ? "button" : _props$type, other = _objectWithoutProperties$3(props, ["action", "buttonRef", "centerRipple", "children", "classes", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "onDragLeave", "tabIndex", "TouchRippleProps", "type"]);
|
|
8513
8534
|
var buttonRef = React$6.useRef(null);
|
|
8514
8535
|
function getButtonNode() {
|
|
8515
8536
|
return ReactDOM.findDOMNode(buttonRef.current);
|
|
@@ -8902,7 +8923,7 @@ var styles$p = function styles4(theme) {
|
|
|
8902
8923
|
};
|
|
8903
8924
|
};
|
|
8904
8925
|
var IconButton = /* @__PURE__ */ React$6.forwardRef(function IconButton2(props, ref) {
|
|
8905
|
-
var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children2 = props.children, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "default" : _props$color, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$
|
|
8926
|
+
var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children2 = props.children, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "default" : _props$color, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$3(props, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
|
|
8906
8927
|
return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$5({
|
|
8907
8928
|
className: clsx(classes.root, className, color2 !== "default" && classes["color".concat(capitalize$1(color2))], disabled && classes.disabled, size === "small" && classes["size".concat(capitalize$1(size))], {
|
|
8908
8929
|
"start": classes.edgeStart,
|
|
@@ -8983,7 +9004,7 @@ var defaultTimeout = {
|
|
|
8983
9004
|
exit: duration.leavingScreen
|
|
8984
9005
|
};
|
|
8985
9006
|
var Fade = /* @__PURE__ */ React$6.forwardRef(function Fade2(props, ref) {
|
|
8986
|
-
var children2 = props.children, _props$disableStrictM = props.disableStrictModeCompat, disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM, inProp = props.in, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, style = props.style, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? defaultTimeout : _props$timeout, other = _objectWithoutProperties$
|
|
9007
|
+
var children2 = props.children, _props$disableStrictM = props.disableStrictModeCompat, disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM, inProp = props.in, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, style = props.style, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? defaultTimeout : _props$timeout, other = _objectWithoutProperties$3(props, ["children", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "TransitionComponent", "timeout"]);
|
|
8987
9008
|
var theme = useTheme();
|
|
8988
9009
|
var enableStrictModeCompat = theme.unstable_strictMode && !disableStrictModeCompat;
|
|
8989
9010
|
var nodeRef = React$6.useRef(null);
|
|
@@ -9232,7 +9253,7 @@ var defaultVariantMapping = {
|
|
|
9232
9253
|
body2: "p"
|
|
9233
9254
|
};
|
|
9234
9255
|
var Typography = /* @__PURE__ */ React$6.forwardRef(function Typography2(props, ref) {
|
|
9235
|
-
var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "initial" : _props$color, component = props.component, _props$display = props.display, display2 = _props$display === void 0 ? "initial" : _props$display, _props$gutterBottom = props.gutterBottom, gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom, _props$noWrap = props.noWrap, noWrap = _props$noWrap === void 0 ? false : _props$noWrap, _props$paragraph = props.paragraph, paragraph = _props$paragraph === void 0 ? false : _props$paragraph, _props$variant = props.variant, variant = _props$variant === void 0 ? "body1" : _props$variant, _props$variantMapping = props.variantMapping, variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping, other = _objectWithoutProperties$
|
|
9256
|
+
var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "initial" : _props$color, component = props.component, _props$display = props.display, display2 = _props$display === void 0 ? "initial" : _props$display, _props$gutterBottom = props.gutterBottom, gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom, _props$noWrap = props.noWrap, noWrap = _props$noWrap === void 0 ? false : _props$noWrap, _props$paragraph = props.paragraph, paragraph = _props$paragraph === void 0 ? false : _props$paragraph, _props$variant = props.variant, variant = _props$variant === void 0 ? "body1" : _props$variant, _props$variantMapping = props.variantMapping, variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping, other = _objectWithoutProperties$3(props, ["align", "classes", "className", "color", "component", "display", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"]);
|
|
9236
9257
|
var Component = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
|
|
9237
9258
|
return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
|
|
9238
9259
|
className: clsx(classes.root, className, variant !== "inherit" && classes[variant], color2 !== "initial" && classes["color".concat(capitalize$1(color2))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align !== "inherit" && classes["align".concat(capitalize$1(align))], display2 !== "initial" && classes["display".concat(capitalize$1(display2))]),
|
|
@@ -9396,7 +9417,7 @@ var styles$m = function styles6(theme) {
|
|
|
9396
9417
|
};
|
|
9397
9418
|
};
|
|
9398
9419
|
var CircularProgress = /* @__PURE__ */ React$6.forwardRef(function CircularProgress2(props, ref) {
|
|
9399
|
-
var classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "primary" : _props$color, _props$disableShrink = props.disableShrink, disableShrink = _props$disableShrink === void 0 ? false : _props$disableShrink, _props$size = props.size, size = _props$size === void 0 ? 40 : _props$size, style = props.style, _props$thickness = props.thickness, thickness = _props$thickness === void 0 ? 3.6 : _props$thickness, _props$value = props.value, value = _props$value === void 0 ? 0 : _props$value, _props$variant = props.variant, variant = _props$variant === void 0 ? "indeterminate" : _props$variant, other = _objectWithoutProperties$
|
|
9420
|
+
var classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "primary" : _props$color, _props$disableShrink = props.disableShrink, disableShrink = _props$disableShrink === void 0 ? false : _props$disableShrink, _props$size = props.size, size = _props$size === void 0 ? 40 : _props$size, style = props.style, _props$thickness = props.thickness, thickness = _props$thickness === void 0 ? 3.6 : _props$thickness, _props$value = props.value, value = _props$value === void 0 ? 0 : _props$value, _props$variant = props.variant, variant = _props$variant === void 0 ? "indeterminate" : _props$variant, other = _objectWithoutProperties$3(props, ["classes", "className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"]);
|
|
9400
9421
|
var circleStyle = {};
|
|
9401
9422
|
var rootStyle = {};
|
|
9402
9423
|
var rootProps = {};
|
|
@@ -9693,6 +9714,31 @@ Portal.propTypes = {
|
|
|
9693
9714
|
Portal["propTypes"] = exactProp(Portal.propTypes);
|
|
9694
9715
|
}
|
|
9695
9716
|
const Portal$1 = Portal;
|
|
9717
|
+
function _classCallCheck$5(instance, Constructor) {
|
|
9718
|
+
if (!(instance instanceof Constructor)) {
|
|
9719
|
+
throw new TypeError("Cannot call a class as a function");
|
|
9720
|
+
}
|
|
9721
|
+
}
|
|
9722
|
+
function _defineProperties$5(target, props) {
|
|
9723
|
+
for (var i = 0; i < props.length; i++) {
|
|
9724
|
+
var descriptor = props[i];
|
|
9725
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
9726
|
+
descriptor.configurable = true;
|
|
9727
|
+
if ("value" in descriptor)
|
|
9728
|
+
descriptor.writable = true;
|
|
9729
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
9730
|
+
}
|
|
9731
|
+
}
|
|
9732
|
+
function _createClass$5(Constructor, protoProps, staticProps) {
|
|
9733
|
+
if (protoProps)
|
|
9734
|
+
_defineProperties$5(Constructor.prototype, protoProps);
|
|
9735
|
+
if (staticProps)
|
|
9736
|
+
_defineProperties$5(Constructor, staticProps);
|
|
9737
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
9738
|
+
writable: false
|
|
9739
|
+
});
|
|
9740
|
+
return Constructor;
|
|
9741
|
+
}
|
|
9696
9742
|
function getScrollbarSize() {
|
|
9697
9743
|
var scrollDiv = document.createElement("div");
|
|
9698
9744
|
scrollDiv.style.width = "99px";
|
|
@@ -9725,7 +9771,7 @@ function getPaddingRight(node) {
|
|
|
9725
9771
|
function ariaHiddenSiblings(container, mountNode, currentNode) {
|
|
9726
9772
|
var nodesToExclude = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : [];
|
|
9727
9773
|
var show = arguments.length > 4 ? arguments[4] : void 0;
|
|
9728
|
-
var blacklist = [mountNode, currentNode].concat(_toConsumableArray$
|
|
9774
|
+
var blacklist = [mountNode, currentNode].concat(_toConsumableArray$1(nodesToExclude));
|
|
9729
9775
|
var blacklistTagNames = ["TEMPLATE", "SCRIPT", "STYLE"];
|
|
9730
9776
|
[].forEach.call(container.children, function(node) {
|
|
9731
9777
|
if (node.nodeType === 1 && blacklist.indexOf(node) === -1 && blacklistTagNames.indexOf(node.tagName) === -1) {
|
|
@@ -10040,7 +10086,7 @@ var styles$l = {
|
|
|
10040
10086
|
}
|
|
10041
10087
|
};
|
|
10042
10088
|
var SimpleBackdrop = /* @__PURE__ */ React$6.forwardRef(function SimpleBackdrop2(props, ref) {
|
|
10043
|
-
var _props$invisible = props.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props.open, other = _objectWithoutProperties$
|
|
10089
|
+
var _props$invisible = props.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props.open, other = _objectWithoutProperties$3(props, ["invisible", "open"]);
|
|
10044
10090
|
return open ? /* @__PURE__ */ React$6.createElement("div", _extends$5({
|
|
10045
10091
|
"aria-hidden": true,
|
|
10046
10092
|
ref
|
|
@@ -10092,7 +10138,7 @@ var Modal = /* @__PURE__ */ React$6.forwardRef(function Modal2(inProps, ref) {
|
|
|
10092
10138
|
props: _extends$5({}, inProps),
|
|
10093
10139
|
theme
|
|
10094
10140
|
});
|
|
10095
|
-
var _props$BackdropCompon = props.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props.BackdropProps, children2 = props.children, _props$closeAfterTran = props.closeAfterTransition, closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran, container = props.container, _props$disableAutoFoc = props.disableAutoFocus, disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$disableBackdro = props.disableBackdropClick, disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro, _props$disableEnforce = props.disableEnforceFocus, disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce, _props$disableEscapeK = props.disableEscapeKeyDown, disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK, _props$disablePortal = props.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$disableRestore = props.disableRestoreFocus, disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore, _props$disableScrollL = props.disableScrollLock, disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL, _props$hideBackdrop = props.hideBackdrop, hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop, _props$keepMounted = props.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, _props$manager = props.manager, manager = _props$manager === void 0 ? defaultManager : _props$manager, onBackdropClick = props.onBackdropClick, onClose = props.onClose, onEscapeKeyDown = props.onEscapeKeyDown, onRendered = props.onRendered, open = props.open, other = _objectWithoutProperties$
|
|
10141
|
+
var _props$BackdropCompon = props.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props.BackdropProps, children2 = props.children, _props$closeAfterTran = props.closeAfterTransition, closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran, container = props.container, _props$disableAutoFoc = props.disableAutoFocus, disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$disableBackdro = props.disableBackdropClick, disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro, _props$disableEnforce = props.disableEnforceFocus, disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce, _props$disableEscapeK = props.disableEscapeKeyDown, disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK, _props$disablePortal = props.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$disableRestore = props.disableRestoreFocus, disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore, _props$disableScrollL = props.disableScrollLock, disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL, _props$hideBackdrop = props.hideBackdrop, hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop, _props$keepMounted = props.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, _props$manager = props.manager, manager = _props$manager === void 0 ? defaultManager : _props$manager, onBackdropClick = props.onBackdropClick, onClose = props.onClose, onEscapeKeyDown = props.onEscapeKeyDown, onRendered = props.onRendered, open = props.open, other = _objectWithoutProperties$3(props, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
|
|
10096
10142
|
var _React$useState = React$6.useState(true), exited = _React$useState[0], setExited = _React$useState[1];
|
|
10097
10143
|
var modal = React$6.useRef({});
|
|
10098
10144
|
var mountNodeRef = React$6.useRef(null);
|
|
@@ -10362,7 +10408,7 @@ var styles$j = {
|
|
|
10362
10408
|
}
|
|
10363
10409
|
};
|
|
10364
10410
|
var TextareaAutosize = /* @__PURE__ */ React$6.forwardRef(function TextareaAutosize2(props, ref) {
|
|
10365
|
-
var onChange = props.onChange, rows = props.rows, rowsMax = props.rowsMax, rowsMinProp = props.rowsMin, maxRowsProp = props.maxRows, _props$minRows = props.minRows, minRowsProp = _props$minRows === void 0 ? 1 : _props$minRows, style = props.style, value = props.value, other = _objectWithoutProperties$
|
|
10411
|
+
var onChange = props.onChange, rows = props.rows, rowsMax = props.rowsMax, rowsMinProp = props.rowsMin, maxRowsProp = props.maxRows, _props$minRows = props.minRows, minRowsProp = _props$minRows === void 0 ? 1 : _props$minRows, style = props.style, value = props.value, other = _objectWithoutProperties$3(props, ["onChange", "rows", "rowsMax", "rowsMin", "maxRows", "minRows", "style", "value"]);
|
|
10366
10412
|
var maxRows = maxRowsProp || rowsMax;
|
|
10367
10413
|
var minRows = rows || rowsMinProp || minRowsProp;
|
|
10368
10414
|
var _React$useRef = React$6.useRef(value != null), isControlled = _React$useRef.current;
|
|
@@ -10675,7 +10721,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props, re
|
|
|
10675
10721
|
props.error;
|
|
10676
10722
|
var _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, id = props.id, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$inputProps = props.inputProps, inputPropsProp = _props$inputProps === void 0 ? {} : _props$inputProps, inputRefProp = props.inputRef;
|
|
10677
10723
|
props.margin;
|
|
10678
|
-
var _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onClick = props.onClick, onFocus = props.onFocus, onKeyDown = props.onKeyDown, onKeyUp = props.onKeyUp, placeholder = props.placeholder, readOnly = props.readOnly, renderSuffix = props.renderSuffix, rows = props.rows, rowsMax = props.rowsMax, rowsMin = props.rowsMin, maxRows = props.maxRows, minRows = props.minRows, startAdornment = props.startAdornment, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, valueProp = props.value, other = _objectWithoutProperties$
|
|
10724
|
+
var _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onClick = props.onClick, onFocus = props.onFocus, onKeyDown = props.onKeyDown, onKeyUp = props.onKeyUp, placeholder = props.placeholder, readOnly = props.readOnly, renderSuffix = props.renderSuffix, rows = props.rows, rowsMax = props.rowsMax, rowsMin = props.rowsMin, maxRows = props.maxRows, minRows = props.minRows, startAdornment = props.startAdornment, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, valueProp = props.value, other = _objectWithoutProperties$3(props, ["aria-describedby", "autoComplete", "autoFocus", "classes", "className", "color", "defaultValue", "disabled", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "rowsMax", "rowsMin", "maxRows", "minRows", "startAdornment", "type", "value"]);
|
|
10679
10725
|
var value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
10680
10726
|
var _React$useRef = React$6.useRef(value != null), isControlled = _React$useRef.current;
|
|
10681
10727
|
var inputRef = React$6.useRef();
|
|
@@ -11176,7 +11222,7 @@ var styles$h = function styles9(theme) {
|
|
|
11176
11222
|
};
|
|
11177
11223
|
};
|
|
11178
11224
|
var FilledInput = /* @__PURE__ */ React$6.forwardRef(function FilledInput2(props, ref) {
|
|
11179
|
-
var disableUnderline = props.disableUnderline, classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$
|
|
11225
|
+
var disableUnderline = props.disableUnderline, classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
|
|
11180
11226
|
return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
|
|
11181
11227
|
classes: _extends$5({}, classes, {
|
|
11182
11228
|
root: clsx(classes.root, !disableUnderline && classes.underline),
|
|
@@ -11327,7 +11373,7 @@ var styles$g = {
|
|
|
11327
11373
|
}
|
|
11328
11374
|
};
|
|
11329
11375
|
var Grow = /* @__PURE__ */ React$6.forwardRef(function Grow2(props, ref) {
|
|
11330
|
-
var children2 = props.children, _props$disableStrictM = props.disableStrictModeCompat, disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM, inProp = props.in, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, style = props.style, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? "auto" : _props$timeout, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp, other = _objectWithoutProperties$
|
|
11376
|
+
var children2 = props.children, _props$disableStrictM = props.disableStrictModeCompat, disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM, inProp = props.in, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, style = props.style, _props$timeout = props.timeout, timeout2 = _props$timeout === void 0 ? "auto" : _props$timeout, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp, other = _objectWithoutProperties$3(props, ["children", "disableStrictModeCompat", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
|
|
11331
11377
|
var timer = React$6.useRef();
|
|
11332
11378
|
var autoTimeout = React$6.useRef();
|
|
11333
11379
|
var theme = useTheme();
|
|
@@ -11593,7 +11639,7 @@ var styles$f = function styles10(theme) {
|
|
|
11593
11639
|
};
|
|
11594
11640
|
};
|
|
11595
11641
|
var Input = /* @__PURE__ */ React$6.forwardRef(function Input2(props, ref) {
|
|
11596
|
-
var disableUnderline = props.disableUnderline, classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$
|
|
11642
|
+
var disableUnderline = props.disableUnderline, classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
|
|
11597
11643
|
return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
|
|
11598
11644
|
classes: _extends$5({}, classes, {
|
|
11599
11645
|
root: clsx(classes.root, !disableUnderline && classes.underline),
|
|
@@ -11782,7 +11828,7 @@ var styles$e = {
|
|
|
11782
11828
|
focusVisible: {}
|
|
11783
11829
|
};
|
|
11784
11830
|
var Link = /* @__PURE__ */ React$6.forwardRef(function Link2(props, ref) {
|
|
11785
|
-
var classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "primary" : _props$color, _props$component = props.component, component = _props$component === void 0 ? "a" : _props$component, onBlur = props.onBlur, onFocus = props.onFocus, TypographyClasses = props.TypographyClasses, _props$underline = props.underline, underline = _props$underline === void 0 ? "hover" : _props$underline, _props$variant = props.variant, variant = _props$variant === void 0 ? "inherit" : _props$variant, other = _objectWithoutProperties$
|
|
11831
|
+
var classes = props.classes, className = props.className, _props$color = props.color, color2 = _props$color === void 0 ? "primary" : _props$color, _props$component = props.component, component = _props$component === void 0 ? "a" : _props$component, onBlur = props.onBlur, onFocus = props.onFocus, TypographyClasses = props.TypographyClasses, _props$underline = props.underline, underline = _props$underline === void 0 ? "hover" : _props$underline, _props$variant = props.variant, variant = _props$variant === void 0 ? "inherit" : _props$variant, other = _objectWithoutProperties$3(props, ["classes", "className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant"]);
|
|
11786
11832
|
var _useIsFocusVisible = useIsFocusVisible(), isFocusVisible2 = _useIsFocusVisible.isFocusVisible, onBlurVisible = _useIsFocusVisible.onBlurVisible, focusVisibleRef = _useIsFocusVisible.ref;
|
|
11787
11833
|
var _React$useState = React$6.useState(false), focusVisible = _React$useState[0], setFocusVisible = _React$useState[1];
|
|
11788
11834
|
var handlerRef = useForkRef(ref, focusVisibleRef);
|
|
@@ -11887,7 +11933,7 @@ var styles$d = {
|
|
|
11887
11933
|
}
|
|
11888
11934
|
};
|
|
11889
11935
|
var List = /* @__PURE__ */ React$6.forwardRef(function List2(props, ref) {
|
|
11890
|
-
var children2 = props.children, classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "ul" : _props$component, _props$dense = props.dense, dense = _props$dense === void 0 ? false : _props$dense, _props$disablePadding = props.disablePadding, disablePadding = _props$disablePadding === void 0 ? false : _props$disablePadding, subheader = props.subheader, other = _objectWithoutProperties$
|
|
11936
|
+
var children2 = props.children, classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "ul" : _props$component, _props$dense = props.dense, dense = _props$dense === void 0 ? false : _props$dense, _props$disablePadding = props.disablePadding, disablePadding = _props$disablePadding === void 0 ? false : _props$disablePadding, subheader = props.subheader, other = _objectWithoutProperties$3(props, ["children", "classes", "className", "component", "dense", "disablePadding", "subheader"]);
|
|
11891
11937
|
var context = React$6.useMemo(function() {
|
|
11892
11938
|
return {
|
|
11893
11939
|
dense
|
|
@@ -12016,7 +12062,7 @@ var useEnhancedEffect$2 = typeof window === "undefined" ? React$6.useEffect : Re
|
|
|
12016
12062
|
var ListItem = /* @__PURE__ */ React$6.forwardRef(function ListItem2(props, ref) {
|
|
12017
12063
|
var _props$alignItems = props.alignItems, alignItems2 = _props$alignItems === void 0 ? "center" : _props$alignItems, _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus, _props$button = props.button, button = _props$button === void 0 ? false : _props$button, childrenProp = props.children, classes = props.classes, className = props.className, componentProp = props.component, _props$ContainerCompo = props.ContainerComponent, ContainerComponent = _props$ContainerCompo === void 0 ? "li" : _props$ContainerCompo, _props$ContainerProps = props.ContainerProps;
|
|
12018
12064
|
_props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;
|
|
12019
|
-
var ContainerClassName = _props$ContainerProps.className, ContainerProps = _objectWithoutProperties$
|
|
12065
|
+
var ContainerClassName = _props$ContainerProps.className, ContainerProps = _objectWithoutProperties$3(_props$ContainerProps, ["className"]), _props$dense = props.dense, dense = _props$dense === void 0 ? false : _props$dense, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableGutters = props.disableGutters, disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters, _props$divider = props.divider, divider = _props$divider === void 0 ? false : _props$divider, focusVisibleClassName = props.focusVisibleClassName, _props$selected = props.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$3(props, ["alignItems", "autoFocus", "button", "children", "classes", "className", "component", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "divider", "focusVisibleClassName", "selected"]);
|
|
12020
12066
|
var context = React$6.useContext(ListContext$1);
|
|
12021
12067
|
var childContext = {
|
|
12022
12068
|
dense: dense || context.dense || false,
|
|
@@ -12219,7 +12265,7 @@ var Popover = /* @__PURE__ */ React$6.forwardRef(function Popover2(props, ref) {
|
|
|
12219
12265
|
} : _props$anchorOrigin, anchorPosition = props.anchorPosition, _props$anchorReferenc = props.anchorReference, anchorReference = _props$anchorReferenc === void 0 ? "anchorEl" : _props$anchorReferenc, children2 = props.children, classes = props.classes, className = props.className, containerProp = props.container, _props$elevation = props.elevation, elevation = _props$elevation === void 0 ? 8 : _props$elevation, getContentAnchorEl = props.getContentAnchorEl, _props$marginThreshol = props.marginThreshold, marginThreshold = _props$marginThreshol === void 0 ? 16 : _props$marginThreshol, onEnter = props.onEnter, onEntered = props.onEntered, onEntering = props.onEntering, onExit = props.onExit, onExited = props.onExited, onExiting = props.onExiting, open = props.open, _props$PaperProps = props.PaperProps, PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps, _props$transformOrigi = props.transformOrigin, transformOrigin = _props$transformOrigi === void 0 ? {
|
|
12220
12266
|
vertical: "top",
|
|
12221
12267
|
horizontal: "left"
|
|
12222
|
-
} : _props$transformOrigi, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Grow$1 : _props$TransitionComp, _props$transitionDura = props.transitionDuration, transitionDurationProp = _props$transitionDura === void 0 ? "auto" : _props$transitionDura, _props$TransitionProp = props.TransitionProps, TransitionProps = _props$TransitionProp === void 0 ? {} : _props$TransitionProp, other = _objectWithoutProperties$
|
|
12268
|
+
} : _props$transformOrigi, _props$TransitionComp = props.TransitionComponent, TransitionComponent = _props$TransitionComp === void 0 ? Grow$1 : _props$TransitionComp, _props$transitionDura = props.transitionDuration, transitionDurationProp = _props$transitionDura === void 0 ? "auto" : _props$transitionDura, _props$TransitionProp = props.TransitionProps, TransitionProps = _props$TransitionProp === void 0 ? {} : _props$TransitionProp, other = _objectWithoutProperties$3(props, ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "classes", "className", "container", "elevation", "getContentAnchorEl", "marginThreshold", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"]);
|
|
12223
12269
|
var paperRef = React$6.useRef();
|
|
12224
12270
|
var getAnchorOffset = React$6.useCallback(function(contentAnchorOffset) {
|
|
12225
12271
|
if (anchorReference === "anchorPosition") {
|
|
@@ -12625,7 +12671,7 @@ function moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable,
|
|
|
12625
12671
|
}
|
|
12626
12672
|
var useEnhancedEffect$1 = typeof window === "undefined" ? React$6.useEffect : React$6.useLayoutEffect;
|
|
12627
12673
|
var MenuList = /* @__PURE__ */ React$6.forwardRef(function MenuList2(props, ref) {
|
|
12628
|
-
var actions = props.actions, _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus, _props$autoFocusItem = props.autoFocusItem, autoFocusItem = _props$autoFocusItem === void 0 ? false : _props$autoFocusItem, children2 = props.children, className = props.className, _props$disabledItemsF = props.disabledItemsFocusable, disabledItemsFocusable = _props$disabledItemsF === void 0 ? false : _props$disabledItemsF, _props$disableListWra = props.disableListWrap, disableListWrap = _props$disableListWra === void 0 ? false : _props$disableListWra, onKeyDown = props.onKeyDown, _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties$
|
|
12674
|
+
var actions = props.actions, _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus, _props$autoFocusItem = props.autoFocusItem, autoFocusItem = _props$autoFocusItem === void 0 ? false : _props$autoFocusItem, children2 = props.children, className = props.className, _props$disabledItemsF = props.disabledItemsFocusable, disabledItemsFocusable = _props$disabledItemsF === void 0 ? false : _props$disabledItemsF, _props$disableListWra = props.disableListWrap, disableListWrap = _props$disableListWra === void 0 ? false : _props$disableListWra, onKeyDown = props.onKeyDown, _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties$3(props, ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"]);
|
|
12629
12675
|
var listRef = React$6.useRef(null);
|
|
12630
12676
|
var textCriteriaRef = React$6.useRef({
|
|
12631
12677
|
keys: [],
|
|
@@ -12804,7 +12850,7 @@ var styles$a = {
|
|
|
12804
12850
|
var Menu = /* @__PURE__ */ React$6.forwardRef(function Menu2(props, ref) {
|
|
12805
12851
|
var _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus, children2 = props.children, classes = props.classes, _props$disableAutoFoc = props.disableAutoFocusItem, disableAutoFocusItem = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$MenuListProps = props.MenuListProps, MenuListProps = _props$MenuListProps === void 0 ? {} : _props$MenuListProps, onClose = props.onClose, onEnteringProp = props.onEntering, open = props.open, _props$PaperProps = props.PaperProps, PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps, PopoverClasses = props.PopoverClasses, _props$transitionDura = props.transitionDuration, transitionDuration = _props$transitionDura === void 0 ? "auto" : _props$transitionDura, _props$TransitionProp = props.TransitionProps;
|
|
12806
12852
|
_props$TransitionProp = _props$TransitionProp === void 0 ? {} : _props$TransitionProp;
|
|
12807
|
-
var onEntering = _props$TransitionProp.onEntering, TransitionProps = _objectWithoutProperties$
|
|
12853
|
+
var onEntering = _props$TransitionProp.onEntering, TransitionProps = _objectWithoutProperties$3(_props$TransitionProp, ["onEntering"]), _props$variant = props.variant, variant = _props$variant === void 0 ? "selectedMenu" : _props$variant, other = _objectWithoutProperties$3(props, ["autoFocus", "children", "classes", "disableAutoFocusItem", "MenuListProps", "onClose", "onEntering", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"]);
|
|
12808
12854
|
var theme = useTheme();
|
|
12809
12855
|
var autoFocusItem = autoFocus && !disableAutoFocusItem && open;
|
|
12810
12856
|
var menuListActionsRef = React$6.useRef(null);
|
|
@@ -13021,7 +13067,7 @@ var styles$9 = function styles12(theme) {
|
|
|
13021
13067
|
};
|
|
13022
13068
|
};
|
|
13023
13069
|
var MenuItem = /* @__PURE__ */ React$6.forwardRef(function MenuItem2(props, ref) {
|
|
13024
|
-
var classes = props.classes, className = props.className, _props$component = props.component, component = _props$component === void 0 ? "li" : _props$component, _props$disableGutters = props.disableGutters, disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters, ListItemClasses = props.ListItemClasses, _props$role = props.role, role = _props$role === void 0 ? "menuitem" : _props$role, selected = props.selected, tabIndexProp = props.tabIndex, other = _objectWithoutProperties$
|
|
13070
|
+
var classes = props.classes, className = props.className, _props$component = props.component, component = _props$component === void 0 ? "li" : _props$component, _props$disableGutters = props.disableGutters, disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters, ListItemClasses = props.ListItemClasses, _props$role = props.role, role = _props$role === void 0 ? "menuitem" : _props$role, selected = props.selected, tabIndexProp = props.tabIndex, other = _objectWithoutProperties$3(props, ["classes", "className", "component", "disableGutters", "ListItemClasses", "role", "selected", "tabIndex"]);
|
|
13025
13071
|
var tabIndex;
|
|
13026
13072
|
if (!props.disabled) {
|
|
13027
13073
|
tabIndex = tabIndexProp !== void 0 ? tabIndexProp : -1;
|
|
@@ -13092,7 +13138,7 @@ const MenuItem$1 = withStyles2(styles$9, {
|
|
|
13092
13138
|
name: "MuiMenuItem"
|
|
13093
13139
|
})(MenuItem);
|
|
13094
13140
|
var NativeSelectInput = /* @__PURE__ */ React$6.forwardRef(function NativeSelectInput2(props, ref) {
|
|
13095
|
-
var classes = props.classes, className = props.className, disabled = props.disabled, IconComponent = props.IconComponent, inputRef = props.inputRef, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$
|
|
13141
|
+
var classes = props.classes, className = props.className, disabled = props.disabled, IconComponent = props.IconComponent, inputRef = props.inputRef, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$3(props, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
|
|
13096
13142
|
return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("select", _extends$5({
|
|
13097
13143
|
className: clsx(
|
|
13098
13144
|
classes.root,
|
|
@@ -13272,7 +13318,7 @@ var defaultInput = /* @__PURE__ */ React$6.createElement(Input$1, null);
|
|
|
13272
13318
|
var NativeSelect = /* @__PURE__ */ React$6.forwardRef(function NativeSelect2(props, ref) {
|
|
13273
13319
|
var children2 = props.children, classes = props.classes, _props$IconComponent = props.IconComponent, IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon$1 : _props$IconComponent, _props$input = props.input, input = _props$input === void 0 ? defaultInput : _props$input, inputProps = props.inputProps;
|
|
13274
13320
|
props.variant;
|
|
13275
|
-
var other = _objectWithoutProperties$
|
|
13321
|
+
var other = _objectWithoutProperties$3(props, ["children", "classes", "IconComponent", "input", "inputProps", "variant"]);
|
|
13276
13322
|
var muiFormControl = useFormControl();
|
|
13277
13323
|
var fcs = formControlState({
|
|
13278
13324
|
props,
|
|
@@ -13402,7 +13448,7 @@ var styles$7 = function styles14(theme) {
|
|
|
13402
13448
|
};
|
|
13403
13449
|
var NotchedOutline = /* @__PURE__ */ React$6.forwardRef(function NotchedOutline2(props, ref) {
|
|
13404
13450
|
props.children;
|
|
13405
|
-
var classes = props.classes, className = props.className, label = props.label, labelWidthProp = props.labelWidth, notched = props.notched, style = props.style, other = _objectWithoutProperties$
|
|
13451
|
+
var classes = props.classes, className = props.className, label = props.label, labelWidthProp = props.labelWidth, notched = props.notched, style = props.style, other = _objectWithoutProperties$3(props, ["children", "classes", "className", "label", "labelWidth", "notched", "style"]);
|
|
13406
13452
|
var theme = useTheme();
|
|
13407
13453
|
var align = theme.direction === "rtl" ? "right" : "left";
|
|
13408
13454
|
if (label !== void 0) {
|
|
@@ -13564,7 +13610,7 @@ var styles$6 = function styles15(theme) {
|
|
|
13564
13610
|
};
|
|
13565
13611
|
};
|
|
13566
13612
|
var OutlinedInput = /* @__PURE__ */ React$6.forwardRef(function OutlinedInput2(props, ref) {
|
|
13567
|
-
var classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, label = props.label, _props$labelWidth = props.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, notched = props.notched, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$
|
|
13613
|
+
var classes = props.classes, _props$fullWidth = props.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, label = props.label, _props$labelWidth = props.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, _props$multiline = props.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, notched = props.notched, _props$type = props.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
|
|
13568
13614
|
return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$5({
|
|
13569
13615
|
renderSuffix: function renderSuffix(state) {
|
|
13570
13616
|
return /* @__PURE__ */ React$6.createElement(NotchedOutline$1, {
|
|
@@ -15284,7 +15330,7 @@ function getAnchorEl(anchorEl) {
|
|
|
15284
15330
|
var useEnhancedEffect = typeof window !== "undefined" ? React$6.useLayoutEffect : React$6.useEffect;
|
|
15285
15331
|
var defaultPopperOptions = {};
|
|
15286
15332
|
var Popper = /* @__PURE__ */ React$6.forwardRef(function Popper2(props, ref) {
|
|
15287
|
-
var anchorEl = props.anchorEl, children2 = props.children, container = props.container, _props$disablePortal = props.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$keepMounted = props.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, modifiers2 = props.modifiers, open = props.open, _props$placement = props.placement, initialPlacement = _props$placement === void 0 ? "bottom" : _props$placement, _props$popperOptions = props.popperOptions, popperOptions = _props$popperOptions === void 0 ? defaultPopperOptions : _props$popperOptions, popperRefProp = props.popperRef, style = props.style, _props$transition = props.transition, transition2 = _props$transition === void 0 ? false : _props$transition, other = _objectWithoutProperties$
|
|
15333
|
+
var anchorEl = props.anchorEl, children2 = props.children, container = props.container, _props$disablePortal = props.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$keepMounted = props.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, modifiers2 = props.modifiers, open = props.open, _props$placement = props.placement, initialPlacement = _props$placement === void 0 ? "bottom" : _props$placement, _props$popperOptions = props.popperOptions, popperOptions = _props$popperOptions === void 0 ? defaultPopperOptions : _props$popperOptions, popperRefProp = props.popperRef, style = props.style, _props$transition = props.transition, transition2 = _props$transition === void 0 ? false : _props$transition, other = _objectWithoutProperties$3(props, ["anchorEl", "children", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"]);
|
|
15288
15334
|
var tooltipRef = React$6.useRef(null);
|
|
15289
15335
|
var ownRef = useForkRef(tooltipRef, ref);
|
|
15290
15336
|
var popperRef = React$6.useRef(null);
|
|
@@ -15483,8 +15529,16 @@ Popper.propTypes = {
|
|
|
15483
15529
|
transition: PropTypes.bool
|
|
15484
15530
|
};
|
|
15485
15531
|
const Popper$1 = Popper;
|
|
15532
|
+
function _typeof$6(obj) {
|
|
15533
|
+
"@babel/helpers - typeof";
|
|
15534
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
15535
|
+
return typeof obj2;
|
|
15536
|
+
} : function(obj2) {
|
|
15537
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
15538
|
+
}, _typeof$6(obj);
|
|
15539
|
+
}
|
|
15486
15540
|
function areEqualValues(a, b) {
|
|
15487
|
-
if (_typeof$
|
|
15541
|
+
if (_typeof$6(b) === "object" && b !== null) {
|
|
15488
15542
|
return a === b;
|
|
15489
15543
|
}
|
|
15490
15544
|
return String(a) === String(b);
|
|
@@ -15495,7 +15549,7 @@ function isEmpty(display2) {
|
|
|
15495
15549
|
var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props, ref) {
|
|
15496
15550
|
var ariaLabel = props["aria-label"], autoFocus = props.autoFocus, autoWidth = props.autoWidth, children2 = props.children, classes = props.classes, className = props.className, defaultValue = props.defaultValue, disabled = props.disabled, displayEmpty = props.displayEmpty, IconComponent = props.IconComponent, inputRefProp = props.inputRef, labelId = props.labelId, _props$MenuProps = props.MenuProps, MenuProps = _props$MenuProps === void 0 ? {} : _props$MenuProps, multiple = props.multiple, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onClose = props.onClose, onFocus = props.onFocus, onOpen = props.onOpen, openProp = props.open, readOnly = props.readOnly, renderValue = props.renderValue, _props$SelectDisplayP = props.SelectDisplayProps, SelectDisplayProps = _props$SelectDisplayP === void 0 ? {} : _props$SelectDisplayP, tabIndexProp = props.tabIndex;
|
|
15497
15551
|
props.type;
|
|
15498
|
-
var valueProp = props.value, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$
|
|
15552
|
+
var valueProp = props.value, _props$variant = props.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$3(props, ["aria-label", "autoFocus", "autoWidth", "children", "classes", "className", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"]);
|
|
15499
15553
|
var _useControlled = useControlled({
|
|
15500
15554
|
controlled: valueProp,
|
|
15501
15555
|
default: defaultValue,
|
|
@@ -15932,7 +15986,7 @@ var styles$5 = styles$8;
|
|
|
15932
15986
|
var _ref = /* @__PURE__ */ React$6.createElement(Input$1, null);
|
|
15933
15987
|
var _ref2 = /* @__PURE__ */ React$6.createElement(FilledInput$1, null);
|
|
15934
15988
|
var Select = /* @__PURE__ */ React$6.forwardRef(function Select2(props, ref) {
|
|
15935
|
-
var _props$autoWidth = props.autoWidth, autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth, children2 = props.children, classes = props.classes, _props$displayEmpty = props.displayEmpty, displayEmpty = _props$displayEmpty === void 0 ? false : _props$displayEmpty, _props$IconComponent = props.IconComponent, IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon$1 : _props$IconComponent, id = props.id, input = props.input, inputProps = props.inputProps, label = props.label, labelId = props.labelId, _props$labelWidth = props.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, MenuProps = props.MenuProps, _props$multiple = props.multiple, multiple = _props$multiple === void 0 ? false : _props$multiple, _props$native = props.native, native2 = _props$native === void 0 ? false : _props$native, onClose = props.onClose, onOpen = props.onOpen, open = props.open, renderValue = props.renderValue, SelectDisplayProps = props.SelectDisplayProps, _props$variant = props.variant, variantProps = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$
|
|
15989
|
+
var _props$autoWidth = props.autoWidth, autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth, children2 = props.children, classes = props.classes, _props$displayEmpty = props.displayEmpty, displayEmpty = _props$displayEmpty === void 0 ? false : _props$displayEmpty, _props$IconComponent = props.IconComponent, IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon$1 : _props$IconComponent, id = props.id, input = props.input, inputProps = props.inputProps, label = props.label, labelId = props.labelId, _props$labelWidth = props.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, MenuProps = props.MenuProps, _props$multiple = props.multiple, multiple = _props$multiple === void 0 ? false : _props$multiple, _props$native = props.native, native2 = _props$native === void 0 ? false : _props$native, onClose = props.onClose, onOpen = props.onOpen, open = props.open, renderValue = props.renderValue, SelectDisplayProps = props.SelectDisplayProps, _props$variant = props.variant, variantProps = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$3(props, ["autoWidth", "children", "classes", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "labelWidth", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]);
|
|
15936
15990
|
var inputComponent = native2 ? NativeSelectInput$1 : SelectInput$1;
|
|
15937
15991
|
var muiFormControl = useFormControl();
|
|
15938
15992
|
var fcs = formControlState({
|
|
@@ -16144,7 +16198,7 @@ var styles$4 = function styles16(theme) {
|
|
|
16144
16198
|
};
|
|
16145
16199
|
var defaultComponent$2 = "table";
|
|
16146
16200
|
var Table = /* @__PURE__ */ React$6.forwardRef(function Table2(props, ref) {
|
|
16147
|
-
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent$2 : _props$component, _props$padding = props.padding, padding2 = _props$padding === void 0 ? "normal" : _props$padding, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, _props$stickyHeader = props.stickyHeader, stickyHeader = _props$stickyHeader === void 0 ? false : _props$stickyHeader, other = _objectWithoutProperties$
|
|
16201
|
+
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent$2 : _props$component, _props$padding = props.padding, padding2 = _props$padding === void 0 ? "normal" : _props$padding, _props$size = props.size, size = _props$size === void 0 ? "medium" : _props$size, _props$stickyHeader = props.stickyHeader, stickyHeader = _props$stickyHeader === void 0 ? false : _props$stickyHeader, other = _objectWithoutProperties$3(props, ["classes", "className", "component", "padding", "size", "stickyHeader"]);
|
|
16148
16202
|
var table = React$6.useMemo(function() {
|
|
16149
16203
|
return {
|
|
16150
16204
|
padding: padding2,
|
|
@@ -16219,7 +16273,7 @@ var tablelvl2 = {
|
|
|
16219
16273
|
};
|
|
16220
16274
|
var defaultComponent$1 = "tbody";
|
|
16221
16275
|
var TableBody = /* @__PURE__ */ React$6.forwardRef(function TableBody2(props, ref) {
|
|
16222
|
-
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent$1 : _props$component, other = _objectWithoutProperties$
|
|
16276
|
+
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent$1 : _props$component, other = _objectWithoutProperties$3(props, ["classes", "className", "component"]);
|
|
16223
16277
|
return /* @__PURE__ */ React$6.createElement(Tablelvl2Context$1.Provider, {
|
|
16224
16278
|
value: tablelvl2
|
|
16225
16279
|
}, /* @__PURE__ */ React$6.createElement(Component, _extends$5({
|
|
@@ -16343,7 +16397,7 @@ var styles$2 = function styles17(theme) {
|
|
|
16343
16397
|
};
|
|
16344
16398
|
};
|
|
16345
16399
|
var TableCell = /* @__PURE__ */ React$6.forwardRef(function TableCell2(props, ref) {
|
|
16346
|
-
var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, component = props.component, paddingProp = props.padding, scopeProp = props.scope, sizeProp = props.size, sortDirection = props.sortDirection, variantProp = props.variant, other = _objectWithoutProperties$
|
|
16400
|
+
var _props$align = props.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props.classes, className = props.className, component = props.component, paddingProp = props.padding, scopeProp = props.scope, sizeProp = props.size, sortDirection = props.sortDirection, variantProp = props.variant, other = _objectWithoutProperties$3(props, ["align", "classes", "className", "component", "padding", "scope", "size", "sortDirection", "variant"]);
|
|
16347
16401
|
var table = React$6.useContext(TableContext$1);
|
|
16348
16402
|
var tablelvl22 = React$6.useContext(Tablelvl2Context$1);
|
|
16349
16403
|
var isHeadCell = tablelvl22 && tablelvl22.variant === "head";
|
|
@@ -16441,7 +16495,7 @@ var styles$1 = {
|
|
|
16441
16495
|
}
|
|
16442
16496
|
};
|
|
16443
16497
|
var TableContainer = /* @__PURE__ */ React$6.forwardRef(function TableContainer2(props, ref) {
|
|
16444
|
-
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, other = _objectWithoutProperties$
|
|
16498
|
+
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, other = _objectWithoutProperties$3(props, ["classes", "className", "component"]);
|
|
16445
16499
|
return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
|
|
16446
16500
|
ref,
|
|
16447
16501
|
className: clsx(classes.root, className)
|
|
@@ -16498,7 +16552,7 @@ var styles18 = function styles19(theme) {
|
|
|
16498
16552
|
};
|
|
16499
16553
|
var defaultComponent = "tr";
|
|
16500
16554
|
var TableRow = /* @__PURE__ */ React$6.forwardRef(function TableRow2(props, ref) {
|
|
16501
|
-
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props.hover, hover = _props$hover === void 0 ? false : _props$hover, _props$selected = props.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$
|
|
16555
|
+
var classes = props.classes, className = props.className, _props$component = props.component, Component = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props.hover, hover = _props$hover === void 0 ? false : _props$hover, _props$selected = props.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$3(props, ["classes", "className", "component", "hover", "selected"]);
|
|
16502
16556
|
var tablelvl22 = React$6.useContext(Tablelvl2Context$1);
|
|
16503
16557
|
return /* @__PURE__ */ React$6.createElement(Component, _extends$5({
|
|
16504
16558
|
ref,
|
|
@@ -27774,7 +27828,8 @@ const ViewType$1 = {
|
|
|
27774
27828
|
OBS_SETS: "obsSets",
|
|
27775
27829
|
OBS_SET_SIZES: "obsSetSizes",
|
|
27776
27830
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "obsSetFeatureValueDistribution",
|
|
27777
|
-
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram"
|
|
27831
|
+
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
27832
|
+
FEATURE_BAR_PLOT: "featureBarPlot"
|
|
27778
27833
|
};
|
|
27779
27834
|
const DataType$1 = {
|
|
27780
27835
|
OBS_LABELS: "obsLabels",
|
|
@@ -27862,6 +27917,8 @@ const FileType$1 = {
|
|
|
27862
27917
|
// OME-TIFF
|
|
27863
27918
|
IMAGE_OME_TIFF: "image.ome-tiff",
|
|
27864
27919
|
OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
|
|
27920
|
+
// GLB
|
|
27921
|
+
OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
|
|
27865
27922
|
// New file types to support old file types:
|
|
27866
27923
|
// - cells.json
|
|
27867
27924
|
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
@@ -28077,10 +28134,10 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
|
|
|
28077
28134
|
CoordinationType$1.EMBEDDING_OBS_OPACITY
|
|
28078
28135
|
];
|
|
28079
28136
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
28080
|
-
const version = "3.
|
|
28081
|
-
const date = "2024-
|
|
28137
|
+
const version = "3.4.1";
|
|
28138
|
+
const date = "2024-05-07";
|
|
28082
28139
|
const branch = "changeset-release/main";
|
|
28083
|
-
const hash = "
|
|
28140
|
+
const hash = "57e3323e";
|
|
28084
28141
|
const META_VERSION = {
|
|
28085
28142
|
note,
|
|
28086
28143
|
version,
|
|
@@ -28476,6 +28533,24 @@ const obsSetsSpatialdataSchema = z.object({
|
|
|
28476
28533
|
tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
|
|
28477
28534
|
obsSets: annDataObsSets
|
|
28478
28535
|
});
|
|
28536
|
+
z.object({
|
|
28537
|
+
targetX: z.number(),
|
|
28538
|
+
targetY: z.number(),
|
|
28539
|
+
targetZ: z.number(),
|
|
28540
|
+
rotationX: z.number(),
|
|
28541
|
+
rotationY: z.number(),
|
|
28542
|
+
rotationZ: z.number(),
|
|
28543
|
+
scaleX: z.number(),
|
|
28544
|
+
scaleY: z.number(),
|
|
28545
|
+
scaleZ: z.number(),
|
|
28546
|
+
sceneRotationX: z.number(),
|
|
28547
|
+
sceneRotationY: z.number(),
|
|
28548
|
+
sceneRotationZ: z.number(),
|
|
28549
|
+
sceneScaleX: z.number(),
|
|
28550
|
+
sceneScaleY: z.number(),
|
|
28551
|
+
sceneScaleZ: z.number(),
|
|
28552
|
+
materialSide: z.enum(["front", "back"])
|
|
28553
|
+
}).partial().nullable();
|
|
28479
28554
|
z.object({
|
|
28480
28555
|
obsIndex: z.string(),
|
|
28481
28556
|
obsEmbedding: z.array(z.string()).length(2)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/vit-s",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"uuid": "^9.0.0",
|
|
30
30
|
"zustand": "^3.5.10",
|
|
31
31
|
"react-aria": "^3.28.0",
|
|
32
|
-
"@vitessce/constants-internal": "3.
|
|
33
|
-
"@vitessce/plugins": "3.
|
|
34
|
-
"@vitessce/schemas": "3.
|
|
35
|
-
"@vitessce/
|
|
36
|
-
"@vitessce/
|
|
32
|
+
"@vitessce/constants-internal": "3.4.1",
|
|
33
|
+
"@vitessce/plugins": "3.4.1",
|
|
34
|
+
"@vitessce/schemas": "3.4.1",
|
|
35
|
+
"@vitessce/config": "3.4.1",
|
|
36
|
+
"@vitessce/utils": "3.4.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@testing-library/jest-dom": "^5.16.4",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react": "^18.0.0",
|
|
42
42
|
"vite": "^4.3.0",
|
|
43
43
|
"vitest": "^0.32.2",
|
|
44
|
-
"@vitessce/types": "3.
|
|
44
|
+
"@vitessce/types": "3.4.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|